diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..de65a5c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +# Reviewers for this repository. Enforce through branch protection ("Require review from Code +# Owners") on main, so the release-critical paths below cannot be changed unreviewed. +* @yunyingk diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..adf3948 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 +updates: + # Both workflows pin actions to commit SHAs, so nothing updates them implicitly — this is what + # keeps the pins from silently rotting, and it is the only reviewer-visible record of an action + # bump. + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + groups: + github-actions: + patterns: ["*"] + + - package-ecosystem: bun + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 5 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4563bbb..09e3c56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 with: bun-version: 1.3.14 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9486aa..a66f6a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,12 +25,40 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: fetch-depth: 0 + # The tag is the publish trigger, but on its own it says nothing about review: `contents: + # write` plus any pushed tag would ship binaries built from an unreviewed commit, and the + # manual dispatch input can name a tag that was never merged. Require the tagged commit to + # be an ancestor of origin/main, i.e. to have gone through the protected branch. + - name: Verify the release tag is on main + env: + TAG_NAME: ${{ github.event.inputs.tag || github.ref_name }} + run: | + if [ -z "${TAG_NAME}" ]; then + echo "::error::Could not resolve a release tag from this event." + exit 1 + fi + + git fetch --no-tags origin main + if ! git rev-parse --verify --quiet "refs/tags/${TAG_NAME}" >/dev/null; then + if ! git fetch --no-tags origin "refs/tags/${TAG_NAME}:refs/tags/${TAG_NAME}"; then + echo "::error::'${TAG_NAME}' is not a tag in this repository. Pass the release tag as the workflow input." + exit 1 + fi + fi + + TAG_COMMIT=$(git rev-list -n 1 "refs/tags/${TAG_NAME}") + if ! git merge-base --is-ancestor "${TAG_COMMIT}" origin/main; then + echo "::error::Tag ${TAG_NAME} (${TAG_COMMIT}) is not an ancestor of origin/main. Merge it through a PR first, then re-tag." + exit 1 + fi + echo "✓ ${TAG_NAME} -> ${TAG_COMMIT} is on main" + - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 with: bun-version: 1.3.14 @@ -75,7 +103,7 @@ jobs: gh release upload "${TAG_NAME}" dist/bin/seal-use-* dist/bin/checksums.txt --repo "${GITHUB_REPOSITORY}" --clobber - name: Upload binaries artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 continue-on-error: true with: name: release-binaries @@ -85,13 +113,15 @@ jobs: publish-gitea: name: 📦 Sync Gitea Mirror needs: build-and-publish-github - if: ${{ always() }} + # Mirror only a release that was actually published. `always()` also ran this after the + # tag-on-main guard refused to publish, so the mirror chased assets that were never built. + if: ${{ !cancelled() && needs.build-and-publish-github.result == 'success' }} runs-on: ubuntu-latest timeout-minutes: 60 continue-on-error: true steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: fetch-depth: 0 diff --git a/.gitignore b/.gitignore index 1a093b3..bb65593 100644 --- a/.gitignore +++ b/.gitignore @@ -17,5 +17,7 @@ enterprises/*.json exports/ scripts/export-*.ts -# Local custom linters -linters/ +# Local custom linters. Loaded and executed from /linters at runtime, so a fresh +# clone has none — README.md is tracked to explain the convention, the linters stay private. +linters/* +!linters/README.md diff --git a/AGENTS.md b/AGENTS.md index ff1727d..6076b92 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,7 +31,8 @@ Prefer small domain functions over broad utility modules. ## CLI & Agent Harness Protocol Guidelines -- **Machine Channel (`stdout`)**: CLI commands MUST output clean, parseable JSON on `stdout`. Never dump human prose, raw logs, or progress banners into `stdout`. The Agent Harness parses `stdout` directly into typed payloads. +- **Machine Channel (`stdout`)**: Data commands MUST output clean, parseable JSON on `stdout`. Never dump human prose, raw logs, or progress banners into `stdout`. The Agent Harness parses `stdout` directly into typed payloads. + - **Documented exception — document-output commands**: `seal-use --help` / `seal-use help ` (`src/cli/printer.ts`) and `seal-use doctor guide` (`src/cli/commands/doctor.ts`) intentionally write Markdown to `stdout`, because their output *is* the payload the caller redirects or reads (e.g. `seal-use doctor guide > guide.md`). Never add a new prose-on-stdout command outside this list: return structured JSON and put the readable rendering on `stderr` instead. `src/probe.ts` is a local developer probe script rather than a `bin` entry point, so its `[probe] …` lines are outside this contract. - **Guidance & Diagnostic Channel (`stderr`)**: Use `stderr` for runtime logs, network probing status, self-healing notifications, and explicit **Next-Step Command Suggestions** (e.g. `👉 Next action: seal-use deploy hosecloud sync `). - **Exit Code Contract**: - Successful executions MUST terminate with exit code `0`. @@ -82,11 +83,14 @@ Recent commits use concise imperative subjects, often `Add ...` or `Refine ...`, git push origin refs/tags/vX.Y.Z ``` - GitHub Actions will automatically extract the tag message, append commit notes via `--generate-notes`, cross-compile all 5 target binaries, and publish GitHub and Gitea releases. Wait for the workflow, then verify that both releases point to the intended tag commit and contain every expected asset exactly once. + - The workflow enforces the merge-before-tag rule rather than trusting the operator: `release.yml` refuses to publish unless the tagged commit is an ancestor of `origin/main`, and the Gitea mirror job runs only after a successful publish. Actions in both workflows are pinned to commit SHAs, so an action bump arrives as a Dependabot PR (`.github/dependabot.yml`) rather than silently. ## Security & Configuration Tips Never commit real enterprise credentials, Seal tokens, service logs, or local generated state. Use `enterprises/example.hose.json` or `enterprises/example.direct.json` as templates, then place real configs in `enterprises/local.json` or `~/.config/seal-use/enterprises` (with legacy fallback to `~/.config/seal-home/enterprises`). For auth or tenant changes, verify with `bun run probe` or `seal-use auth diagnose`. +Credential files are written `0600`; a config placed by hand keeps the `0o644` default, so run `seal-use doctor` and act on its `credential_permissions` check before sharing a machine or a backup. See `SECURITY.md` for the trust model (local HTTP adapter, self-update, custom linters). + ## Agent-Specific Instructions Do not create `.codex/skills`; Codex is compatible with `.agents/skills`, and this project treats `.agents/` as authoritative. At project scope, prefer `AGENT.md` instructions when present. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ff4e67..6bdff20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- **`x-implementation-status` on Every OpenAPI Operation, Gated by a Test**: the published contract and the adapter had drifted in **both** directions, and the CI sync gate only compared `openapi/openapi.yaml` against `dist/openapi.json`, so neither direction was visible. It advertised `/v1/approval/rules/{ruleId}` PATCH/DELETE, `/v1/approval/documents*`, `/v1/corps/current/switch` and `/v1/material-packages/upload` — none of which `src/http/routes.ts` routes, so a caller following the contract got 404 — while omitting `/v1/approval-runs/stats`, `/v1/preferences` and `/v1/preferences/decision`, which it does serve. All 46 operations now carry `implemented` (19) or `planned` (27); the three missing implemented endpoints are documented; and `src/http/openapi-implementation.test.ts` fails when an `implemented` operation has no matching route, when an exact `/v1` route is undocumented, or when either status goes unused. +- **Release Guard: the Tag Must Be on `main`**: `release.yml` published on any pushed `v*` tag with `contents: write`, so a tag on an unreviewed branch shipped binaries, and the `workflow_dispatch` tag input could name a tag that was never merged. A guard step now requires the tagged commit to be an ancestor of `origin/main` and fails loudly otherwise (verified against a real release tag, a nonexistent tag, and a branch name). The Gitea mirror job changed from `always()` to "the publish job succeeded", so it no longer chases assets after a refused publish. +- **`SECURITY.md`, `CODEOWNERS` and Dependabot**: the trust model was implicit in the code. `SECURITY.md` records how to report privately, which files hold credentials and their modes, and the three documented limitations (the local HTTP adapter does not authenticate; `update`/`install.sh` do not verify signatures; `linters/` is executed code). `.github/dependabot.yml` keeps dependencies and the newly SHA-pinned actions fresh, and `CODEOWNERS` gives branch protection something to require. - **`dist/mcp/server.js` Freshness Gate, Enabled by Pinning Bun**: CI now fails when the committed MCP bundle does not match a fresh build from `src/`, mirroring the `dist/openapi.json` gate. This needed `bun-version` pinned to `1.3.14` in both workflows first — previously `latest`, which resolved to 1.4.2 on the runner, and the minifier allocates identifiers differently across Bun releases, so an unpinned rebuild never matched the committed bytes (measured: identical code, only renamed minified variables). The pin also makes release binaries reproducible and matches the `@types/bun`/`bun-types` already declared in `package.json`. -- **CI Boots the Packaged MCP Bundle**: the MCP build step now starts the freshly built `dist/mcp/server.js` and completes a handshake, instead of only checking that it compiles. The artifact is the only thing that ships, so an unbootable bundle is now caught in CI rather than at runtime. Deliberately **not** a byte-for-byte freshness diff: the minifier allocates identifiers differently across platforms and Bun versions, so the bundle is not reproducible across runners — measured, an ubuntu rebuild of the macOS-built committed file differs only in renamed minified variables with identical code. +- **CI Boots the Packaged MCP Bundle**: the MCP build step now starts the freshly built `dist/mcp/server.js` and completes a handshake, instead of only checking that it compiles. The artifact is the only thing that ships, so an unbootable bundle is now caught in CI rather than at runtime. This runs *in addition to* the byte-for-byte freshness diff above, which is what the `bun-version` pin exists to keep meaningful; the handshake covers the failure the diff cannot see (a bundle that rebuilds identically but cannot start). ### Fixed +- **Credential Files Could Be Group/World-Readable**: the tool writes credentials `0600` (`core/config/loader.ts`, `cli/commands/corps.ts`, `core/auth/token-store.ts`), but `usage.json` used the `0o644` default and hand-placed enterprise configs kept it too — `enterprises/local.json` holds a plaintext Hose app key and password. `usage.json` is now written `0600`, and `seal-use doctor` gained a `credential_permissions` check that lists any credential file wider than `0600` (skipping the `example.*.json` templates) instead of leaving the mode to be discovered by hand. +- **`isSealHomeProcess` Matched Substrings Instead of the Daemon**: the pid file proves only that *some* process holds that pid, yet `service stop` accepted any command line containing `seal-use`, `service` and `run` as substrings anywhere — so a stale pid could look like our daemon and get signalled. Identity is now matched as argv tokens: an exact adjacent `service run` pair plus a path to this app root or a `seal-use`/`seal-home` launcher. +- **OpenAPI Described the Adapter as Unimplemented, and an Unauthenticated Header as "Optional"**: `info.description` said the contract applied "once the HTTP adapter is implemented" and `servers[0]` called itself "reserved for a future local HTTP adapter; the current service uses MCP stdio" — both false, since `seal-use http` and the `service start` daemon serve it. The `localSession` scheme was documented as an "optional" header that no code reads. The description now states what is served, and the scheme states plainly that requests are not authenticated and the port must stay on loopback. - **Read-Only MCP Refused Three Read-Only `approval-runs` Verbs**: `approval-runs search`, `approval-runs pick` and `approval-runs bridge` were refused by the read-only tool even though each only queries. The #117 note that `pick` had "moved into read-only" was true of the tool registry but not of the CLI allow-list, which is exactly the kind of split-brain the next entry prevents. - **Consistency Test Between the CLI Allow-List and the Tool Registry**: the two read/write classifications are maintained by hand in different files, and they had already disagreed twice (`analytics analyze` allow-listed while its tool POSTs; the three verbs above missing). A test now derives the pairing mechanically — every `action === "x"` in `src/cli/commands/*` that dispatches to a `runTool("seal_…")` — and fails when a CLI verb that reaches a read-only tool is itself refused. It asserts a minimum number of pairs so a change in dispatch shape cannot make it silently vacuous, and names its two exceptions explicitly: the `deploy ` short forms, which `deploy` rejects at runtime, and `approval-runs search`, an accepted alias of `list` with no help-registry row. - **MCP Server Bundle Could Not Start At All**: the plugin shipped `dist/mcp/server.js` as its MCP entry point, but that bundle threw `TypeError: ... is not a constructor` while loading and never answered a single request. Because MCP defaults to off, it failed silently — enabling it produced no `seal_cli` tool and no visible error. @@ -20,6 +26,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added a regression test that boots the packaged `dist/mcp/server.js` over stdio and completes a handshake. The existing tests exercise source rather than the shipped artifact, which is why this went unnoticed. ### Changed +- **`package.json` Can No Longer Be Published by Accident**: it had no `private` flag, no `files` list and none of `description`/`license`/`author`/`repository`, so an `npm publish` would have shipped 212 files including `.github/workflows`, `openapi/`, `docs/proposals`, `src/**/*.test.ts` and `dist/raw-seal-openapi.json` — and the `bin` entries point at `src/cli.ts`, which npm cannot execute, so the published package would have been broken on arrival. `private: true` makes the Release binaries the only distribution channel (the `bin` field stays for `npm link`, which the README recommends for development). Added the missing metadata. +- **`packageManager` and `engines` Now Match the Pinned CI Toolchain**: both workflows pin `bun-version: 1.3.14` because the MCP bundle's byte-for-byte freshness gate depends on it, but the repository declared nothing — so a contributor on a different Bun got a bundle that failed the gate for reasons unrelated to their change. `packageManager: "bun@1.3.14"` and `engines.bun` record the same pin, alongside the build instructions. +- **Documented Exception for Prose on `stdout`**: `AGENTS.md` required clean JSON on `stdout` without exception, yet `seal-use --help` and `seal-use doctor guide` deliberately write Markdown there — their output *is* the payload callers redirect (`seal-use doctor guide > guide.md`). Rather than break that, the contract now names the allowed document-output commands, keeps `src/probe.ts` out of scope as a developer script, and forbids adding new prose-on-stdout commands. +- **Actions Pinned to Commit SHAs**: `actions/checkout`, `oven-sh/setup-bun` and `actions/upload-artifact` were referenced by moving tags (`@v4`, `@v2`) in a workflow that cross-compiles the binaries users install. Both workflows now pin the commit each tag resolved to, with the version in a trailing comment for Dependabot to update. +- **`plugin-migration-plan.md` Archived to `docs/proposals/`**: a completed migration plan (status: code and release finished 2026-08-12) was sitting at the repository root next to `README.md` and `AGENTS.md`. +- **`linters/` Explains Itself**: the directory is gitignored in full and loaded at runtime from `/linters`, so a fresh clone silently had no custom linters and no way to learn the convention. `linters/README.md` is now tracked (the only tracked file there) and records the resolution order, the module shape, and the trust boundary — these files are imported and executed in the CLI process. - **Read-Only Coverage for `seal-use tool `, and a Misclassification Fixed**: the 98-entry internal tool registry now carries an exhaustive read/write classification (`SEAL_READ_ONLY_TOOLS` / `SEAL_MUTATING_TOOLS` in `src/domains/seal/tools.ts`), so the read-only MCP tool reaches read-only registry tools (66 of them) instead of refusing the whole `tool` area. A test asserts the two sets partition the registry exactly, so a newly added tool fails the suite until it is classified rather than silently defaulting. - This caught a mistake shipped in #115: `analytics analyze` was allow-listed as read-only, but it calls `seal_insight_record_analyze`, which issues a **POST** and starts an analysis server-side. Removed. The classification was cross-checked mechanically — every exported function in `src/domains/seal` that performs a mutating HTTP call was mapped to the tools invoking it — rather than by trusting tool names. - `approval-runs pick` moved the other way, into read-only: it is a query, not a local-state mutation. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..26a88d3 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,53 @@ +# Security Policy + +## Reporting a vulnerability + +Please report suspected vulnerabilities privately — do not open a public issue. + +- Preferred: GitHub private vulnerability reporting, via the **Security** tab of + . +- The maintainer listed in `package.json` is the fallback contact. + +Include the version (`seal-use version`), the platform, and a minimal reproduction. Expect an +initial response within a few business days — this is a small project, not a staffed security team. + +## What this tool holds + +`seal-use` keeps tenant credentials on the machine that runs it: + +| Path | Contents | Mode | +| --- | --- | --- | +| `~/.config/seal-use/seal_tokens.json` | Session tokens and derived keys | `0600` | +| `~/.config/seal-use/enterprises/*.json` | Per-enterprise Hose app key/password or Seal bearer token | `0600` | +| `enterprises/*.json` (working tree) | Same, for enterprises added from a checkout | `0600` | +| `~/.config/seal-use/usage.json` | Per-enterprise command counts | `0600` | + +The tool writes these `0600`; a config placed by hand can keep the `0o644` default, so +`seal-use doctor` reports any credential file whose mode is wider than `0600`. Real enterprise +configs are gitignored — never commit them. + +## Trust model and documented limitations + +These are deliberate trade-offs, not unknown bugs. Report them anyway if you can make one worse +than described here. + +- **The local HTTP adapter does not authenticate requests.** `seal-use http` and + `seal-use service start` serve `/api/cli`, `/v1/*` and `/shutdown` on `127.0.0.1:8787` with no + token check and `Access-Control-Allow-Origin: *`; the adapter acts with the credentials already + stored on the machine. It is a local automation surface. Keep it bound to loopback, and do not + run it on a shared or multi-user host. See the `securitySchemes.localSession` note in + `openapi/openapi.yaml`. +- **Self-update and the install script do not verify signatures.** `seal-use update` downloads a + release binary and replaces the running executable; `scripts/install.sh` compares + `checksums.txt` but only warns on a mismatch. Prefer the direct GitHub source + (`SEAL_USE_MIRROR=github`, which skips the third-party mirrors) and pass an explicit + `SEAL_USE_VERSION` when installing. +- **Custom rule linters are code that gets executed.** Files under `/linters/` and + `~/.config/seal-use/linters/` are imported into the CLI process by `seal-use rules lint`, with + that process's filesystem access and enterprise credentials. Treat those directories as trusted + code and do not run the CLI from an untrusted checkout. See `linters/README.md`. + +## Supported versions + +Fixes land on `main` and ship in the next tagged release; only the latest release is supported. +Release binaries are published to GitHub Releases and mirrored to Gitea. diff --git a/dist/mcp/server.js b/dist/mcp/server.js index 6d59067..4612795 100644 --- a/dist/mcp/server.js +++ b/dist/mcp/server.js @@ -1,133 +1,133 @@ -import{createRequire as Tg0}from"node:module";var Fg0=Object.create;var{getPrototypeOf:wg0,defineProperty:xT,getOwnPropertyNames:Mg0}=Object;var Og0=Object.prototype.hasOwnProperty;function Ng0($){return this[$]}var Dg0,Bg0,J6=($,Y,z)=>{var U=$!=null&&typeof $==="object";if(U){var Q=Y?Dg0??=new WeakMap:Bg0??=new WeakMap,J=Q.get($);if(J)return J}z=$!=null?Fg0(wg0($)):{};let I=Y||!$||!$.__esModule?xT(z,"default",{value:$,enumerable:!0}):z;for(let K of Mg0($))if(!Og0.call(I,K))xT(I,K,{get:Ng0.bind($,K),enumerable:!0});if(U)Q.set($,I);return I};var E=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports);var Pg0=($)=>$;function Ag0($,Y){this[$]=Pg0.bind(null,Y)}var x8=($,Y)=>{for(var z in Y)xT($,z,{get:Y[z],enumerable:!0,configurable:!0,set:Ag0.bind(Y,z)})};var o=($,Y)=>()=>($&&(Y=$($=0)),Y);var I0=Tg0(import.meta.url);var jg0,gq,Eg0,Cg0,Rg0,_g0,R0=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports),Ao=($,Y)=>{let z={};for(var U in $)gq(z,U,{get:$[U],enumerable:!0});if(Y)gq(z,Symbol.toStringTag,{value:"Module"});return z},vg0=($,Y,z,U)=>{if(Y&&typeof Y==="object"||typeof Y==="function"){for(var Q=Cg0(Y),J=0,I=Q.length,K;JY[G]).bind(null,K),enumerable:!(U=Eg0(Y,K))||U.enumerable})}return $},yq=($,Y,z)=>(z=$!=null?jg0(Rg0($)):{},vg0(Y||!$||!$.__esModule?gq(z,"default",{value:$,enumerable:!0}):z,$));var fT=o(()=>{jg0=Object.create,gq=Object.defineProperty,Eg0=Object.getOwnPropertyDescriptor,Cg0=Object.getOwnPropertyNames,Rg0=Object.getPrototypeOf,_g0=Object.prototype.hasOwnProperty});function jo($){return typeof $==="string"&&To.has($.replace(/#$/,""))}function Eo($,Y){if(!("$schema"in $)||typeof $.$schema!=="string")return"2020-12";let z=$.$schema.replace(/#$/,"");if(hg0.has(z))return"2020-12";if(To.has(z))return"2019-09";if(Sg0.has(z)||gg0.has(z))return"draft-7";throw Error(`JSON Schema declares an unsupported dialect ("$schema": "${$.$schema.slice(0,200)}"). The default validator supports JSON Schema 2020-12, 2019-09, draft-07, and draft-06; ${Y}`)}var hg0,To,Sg0,gg0;var uT=o(()=>{hg0=new Set(["https://json-schema.org/draft/2020-12/schema","http://json-schema.org/draft/2020-12/schema"]),To=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]),Sg0=new Set(["https://json-schema.org/draft-07/schema","http://json-schema.org/draft-07/schema"]),gg0=new Set(["https://json-schema.org/draft-06/schema","http://json-schema.org/draft-06/schema"])});function W0($,Y,z){function U(K,G){if(!K._zod)Object.defineProperty(K,"_zod",{value:{def:G,constr:I,traits:new Set},enumerable:!1});if(K._zod.traits.has($))return;K._zod.traits.add($),Y(K,G);let W=I.prototype,H=Object.keys(W);for(let X=0;X{if(z?.Parent&&K instanceof z.Parent)return!0;return K?._zod?.traits?.has($)}}),Object.defineProperty(I,"name",{value:$}),I}function a4($){if($)Object.assign(NY,$);return NY}var Co,pK,bT,x5,DY,NY;var BY=o(()=>{pK=Object.freeze({status:"aborted"});bT=Symbol("zod_brand");x5=class x5 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};DY=class DY extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}};(Co=globalThis).__zod_globalConfig??(Co.__zod_globalConfig={});NY=globalThis.__zod_globalConfig});var y0={};x8(y0,{unwrapMessage:()=>dK,uint8ArrayToHex:()=>Jy0,uint8ArrayToBase64url:()=>Uy0,uint8ArrayToBase64:()=>vo,stringifyPrimitive:()=>v0,slugify:()=>nT,shallowClone:()=>dT,safeExtend:()=>ag0,required:()=>$y0,randomString:()=>pg0,propertyKeyTypes:()=>oK,promiseAllObject:()=>ng0,primitiveTypes:()=>mT,prefixIssues:()=>f8,pick:()=>og0,partial:()=>eg0,parsedType:()=>S0,optionalKeys:()=>lT,omit:()=>rg0,objectClone:()=>bg0,numKeys:()=>dg0,nullish:()=>Q3,normalizeParams:()=>x0,mergeDefs:()=>b9,merge:()=>tg0,jsonStringifyReplacer:()=>fU,joinValues:()=>N0,issue:()=>bU,isPlainObject:()=>I3,isObject:()=>PY,hexToUint8Array:()=>Qy0,getSizableOrigin:()=>rK,getParsedType:()=>mg0,getLengthableOrigin:()=>sK,getEnumValues:()=>mK,getElementAtPath:()=>cg0,floatSafeRemainder:()=>cT,finalizeIssue:()=>B8,extend:()=>sg0,explicitlyAborted:()=>sT,escapeRegex:()=>N$,esc:()=>kq,defineLazy:()=>T1,createTransparentProxy:()=>lg0,cloneDef:()=>ig0,clone:()=>D8,cleanRegex:()=>lK,cleanEnum:()=>Yy0,captureStackTrace:()=>xq,cached:()=>uU,base64urlToUint8Array:()=>zy0,base64ToUint8Array:()=>_o,assignProp:()=>J3,assertNotEqual:()=>kg0,assertNever:()=>fg0,assertIs:()=>xg0,assertEqual:()=>yg0,assert:()=>ug0,allowsEval:()=>pT,aborted:()=>K3,NUMBER_FORMAT_RANGES:()=>oT,Class:()=>ho,BIGINT_FORMAT_RANGES:()=>rT});function yg0($){return $}function kg0($){return $}function xg0($){}function fg0($){throw Error("Unexpected value in exhaustive check")}function ug0($){}function mK($){let Y=Object.values($).filter((U)=>typeof U==="number");return Object.entries($).filter(([U,Q])=>Y.indexOf(+U)===-1).map(([U,Q])=>Q)}function N0($,Y="|"){return $.map((z)=>v0(z)).join(Y)}function fU($,Y){if(typeof Y==="bigint")return Y.toString();return Y}function uU($){return{get value(){{let z=$();return Object.defineProperty(this,"value",{value:z}),z}throw Error("cached value already set")}}}function Q3($){return $===null||$===void 0}function lK($){let Y=$.startsWith("^")?1:0,z=$.endsWith("$")?$.length-1:$.length;return $.slice(Y,z)}function cT($,Y){let z=$/Y,U=Math.round(z),Q=Number.EPSILON*Math.max(Math.abs(z),1);if(Math.abs(z-U)z?.[U],$)}function ng0($){let Y=Object.keys($),z=Y.map((U)=>$[U]);return Promise.all(z).then((U)=>{let Q={};for(let J=0;JY};if(Y?.message!==void 0){if(Y?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");Y.error=Y.message}if(delete Y.message,typeof Y.error==="string")return{...Y,error:()=>Y.error};return Y}function lg0($){let Y;return new Proxy({},{get(z,U,Q){return Y??(Y=$()),Reflect.get(Y,U,Q)},set(z,U,Q,J){return Y??(Y=$()),Reflect.set(Y,U,Q,J)},has(z,U){return Y??(Y=$()),Reflect.has(Y,U)},deleteProperty(z,U){return Y??(Y=$()),Reflect.deleteProperty(Y,U)},ownKeys(z){return Y??(Y=$()),Reflect.ownKeys(Y)},getOwnPropertyDescriptor(z,U){return Y??(Y=$()),Reflect.getOwnPropertyDescriptor(Y,U)},defineProperty(z,U,Q){return Y??(Y=$()),Reflect.defineProperty(Y,U,Q)}})}function v0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function lT($){return Object.keys($).filter((Y)=>{return $[Y]._zod.optin==="optional"&&$[Y]._zod.optout==="optional"})}function og0($,Y){let z=$._zod.def,U=z.checks;if(U&&U.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let J=b9($._zod.def,{get shape(){let I={};for(let K in Y){if(!(K in z.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;I[K]=z.shape[K]}return J3(this,"shape",I),I},checks:[]});return D8($,J)}function rg0($,Y){let z=$._zod.def,U=z.checks;if(U&&U.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let J=b9($._zod.def,{get shape(){let I={...$._zod.def.shape};for(let K in Y){if(!(K in z.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;delete I[K]}return J3(this,"shape",I),I},checks:[]});return D8($,J)}function sg0($,Y){if(!I3(Y))throw Error("Invalid input to extend: expected a plain object");let z=$._zod.def.checks;if(z&&z.length>0){let J=$._zod.def.shape;for(let I in Y)if(Object.getOwnPropertyDescriptor(J,I)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let Q=b9($._zod.def,{get shape(){let J={...$._zod.def.shape,...Y};return J3(this,"shape",J),J}});return D8($,Q)}function ag0($,Y){if(!I3(Y))throw Error("Invalid input to safeExtend: expected a plain object");let z=b9($._zod.def,{get shape(){let U={...$._zod.def.shape,...Y};return J3(this,"shape",U),U}});return D8($,z)}function tg0($,Y){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let z=b9($._zod.def,{get shape(){let U={...$._zod.def.shape,...Y._zod.def.shape};return J3(this,"shape",U),U},get catchall(){return Y._zod.def.catchall},checks:Y._zod.def.checks??[]});return D8($,z)}function eg0($,Y,z){let Q=Y._zod.def.checks;if(Q&&Q.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let I=b9(Y._zod.def,{get shape(){let K=Y._zod.def.shape,G={...K};if(z)for(let W in z){if(!(W in K))throw Error(`Unrecognized key: "${W}"`);if(!z[W])continue;G[W]=$?new $({type:"optional",innerType:K[W]}):K[W]}else for(let W in K)G[W]=$?new $({type:"optional",innerType:K[W]}):K[W];return J3(this,"shape",G),G},checks:[]});return D8(Y,I)}function $y0($,Y,z){let U=b9(Y._zod.def,{get shape(){let Q=Y._zod.def.shape,J={...Q};if(z)for(let I in z){if(!(I in J))throw Error(`Unrecognized key: "${I}"`);if(!z[I])continue;J[I]=new $({type:"nonoptional",innerType:Q[I]})}else for(let I in Q)J[I]=new $({type:"nonoptional",innerType:Q[I]});return J3(this,"shape",J),J}});return D8(Y,U)}function K3($,Y=0){if($.aborted===!0)return!0;for(let z=Y;z<$.issues.length;z++)if($.issues[z]?.continue!==!0)return!0;return!1}function sT($,Y=0){if($.aborted===!0)return!0;for(let z=Y;z<$.issues.length;z++)if($.issues[z]?.continue===!1)return!0;return!1}function f8($,Y){return Y.map((z)=>{var U;return(U=z).path??(U.path=[]),z.path.unshift($),z})}function dK($){return typeof $==="string"?$:$?.message}function B8($,Y,z){let U=$.message?$.message:dK($.inst?._zod.def?.error?.($))??dK(Y?.error?.($))??dK(z.customError?.($))??dK(z.localeError?.($))??"Invalid input",{inst:Q,continue:J,input:I,...K}=$;if(K.path??(K.path=[]),K.message=U,Y?.reportInput)K.input=I;return K}function rK($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function sK($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function S0($){let Y=typeof $;switch(Y){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let z=$;if(z&&Object.getPrototypeOf(z)!==Object.prototype&&"constructor"in z&&z.constructor)return z.constructor.name}}return Y}function bU(...$){let[Y,z,U]=$;if(typeof Y==="string")return{message:Y,code:"custom",input:z,inst:U};return{...Y}}function Yy0($){return Object.entries($).filter(([Y,z])=>{return Number.isNaN(Number.parseInt(Y,10))}).map((Y)=>Y[1])}function _o($){let Y=atob($),z=new Uint8Array(Y.length);for(let U=0;UY.toString(16).padStart(2,"0")).join("")}class ho{constructor(...$){}}var Ro,xq,pT,mg0=($)=>{let Y=typeof $;switch(Y){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${Y}`)}},oK,mT,oT,rT;var $1=o(()=>{BY();Ro=Symbol("evaluating");xq="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};pT=uU(()=>{if(NY.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});oK=new Set(["string","number","symbol"]),mT=new Set(["string","number","bigint","boolean","symbol","undefined"]);oT={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},rT={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]}});function tK($,Y=(z)=>z.message){let z={},U=[];for(let Q of $.issues)if(Q.path.length>0)z[Q.path[0]]=z[Q.path[0]]||[],z[Q.path[0]].push(Y(Q));else U.push(Y(Q));return{formErrors:U,fieldErrors:z}}function eK($,Y=(z)=>z.message){let z={_errors:[]},U=(Q,J=[])=>{for(let I of Q.issues)if(I.code==="invalid_union"&&I.errors.length)I.errors.map((K)=>U({issues:K},[...J,...I.path]));else if(I.code==="invalid_key")U({issues:I.issues},[...J,...I.path]);else if(I.code==="invalid_element")U({issues:I.issues},[...J,...I.path]);else{let K=[...J,...I.path];if(K.length===0)z._errors.push(Y(I));else{let G=z,W=0;while(Wz.message){let z={errors:[]},U=(Q,J=[])=>{var I,K;for(let G of Q.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((W)=>U({issues:W},[...J,...G.path]));else if(G.code==="invalid_key")U({issues:G.issues},[...J,...G.path]);else if(G.code==="invalid_element")U({issues:G.issues},[...J,...G.path]);else{let W=[...J,...G.path];if(W.length===0){z.errors.push(Y(G));continue}let H=z,X=0;while(Xtypeof U==="object"?U.key:U);for(let U of z)if(typeof U==="number")Y.push(`[${U}]`);else if(typeof U==="symbol")Y.push(`[${JSON.stringify(String(U))}]`);else if(/[^\w$]/.test(U))Y.push(`[${JSON.stringify(U)}]`);else{if(Y.length)Y.push(".");Y.push(U)}return Y.join("")}function tT($){let Y=[],z=[...$.issues].sort((U,Q)=>(U.path??[]).length-(Q.path??[]).length);for(let U of z)if(Y.push(`✖ ${U.message}`),U.path?.length)Y.push(` → at ${go(U.path)}`);return Y.join(` -`)}var So=($,Y)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:Y,enumerable:!1}),$.message=JSON.stringify(Y,fU,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},aK,u8;var eT=o(()=>{BY();$1();aK=W0("$ZodError",So),u8=W0("$ZodError",So,{Parent:Error})});var iU=($)=>(Y,z,U,Q)=>{let J=U?{...U,async:!1}:{async:!1},I=Y._zod.run({value:z,issues:[]},J);if(I instanceof Promise)throw new x5;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>B8(G,J,a4())));throw xq(K,Q?.callee),K}return I.value},fq,cU=($)=>async(Y,z,U,Q)=>{let J=U?{...U,async:!0}:{async:!0},I=Y._zod.run({value:z,issues:[]},J);if(I instanceof Promise)I=await I;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>B8(G,J,a4())));throw xq(K,Q?.callee),K}return I.value},uq,nU=($)=>(Y,z,U)=>{let Q=U?{...U,async:!1}:{async:!1},J=Y._zod.run({value:z,issues:[]},Q);if(J instanceof Promise)throw new x5;return J.issues.length?{success:!1,error:new($??aK)(J.issues.map((I)=>B8(I,Q,a4())))}:{success:!0,data:J.value}},$j,pU=($)=>async(Y,z,U)=>{let Q=U?{...U,async:!0}:{async:!0},J=Y._zod.run({value:z,issues:[]},Q);if(J instanceof Promise)J=await J;return J.issues.length?{success:!1,error:new $(J.issues.map((I)=>B8(I,Q,a4())))}:{success:!0,data:J.value}},Yj,bq=($)=>(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return iU($)(Y,z,Q)},Ky0,iq=($)=>(Y,z,U)=>{return iU($)(Y,z,U)},Gy0,cq=($)=>async(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return cU($)(Y,z,Q)},Wy0,nq=($)=>async(Y,z,U)=>{return cU($)(Y,z,U)},Hy0,pq=($)=>(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return nU($)(Y,z,Q)},Xy0,dq=($)=>(Y,z,U)=>{return nU($)(Y,z,U)},Zy0,mq=($)=>async(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return pU($)(Y,z,Q)},qy0,lq=($)=>async(Y,z,U)=>{return pU($)(Y,z,U)},Vy0;var zj=o(()=>{BY();eT();$1();fq=iU(u8),uq=cU(u8),$j=nU(u8),Yj=pU(u8),Ky0=bq(u8),Gy0=iq(u8),Wy0=cq(u8),Hy0=nq(u8),Xy0=pq(u8),Zy0=dq(u8),qy0=mq(u8),Vy0=lq(u8)});var Y$={};x8(Y$,{xid:()=>Ij,uuid7:()=>My0,uuid6:()=>wy0,uuid4:()=>Fy0,uuid:()=>AY,uppercase:()=>vj,unicodeEmail:()=>yo,undefined:()=>Rj,ulid:()=>Jj,time:()=>Bj,string:()=>Aj,sha512_hex:()=>uy0,sha512_base64url:()=>iy0,sha512_base64:()=>by0,sha384_hex:()=>ky0,sha384_base64url:()=>fy0,sha384_base64:()=>xy0,sha256_hex:()=>Sy0,sha256_base64url:()=>yy0,sha256_base64:()=>gy0,sha1_hex:()=>_y0,sha1_base64url:()=>hy0,sha1_base64:()=>vy0,rfc5322Email:()=>Ny0,number:()=>$G,null:()=>Cj,nanoid:()=>Gj,md5_hex:()=>Ey0,md5_base64url:()=>Ry0,md5_base64:()=>Cy0,mac:()=>Lj,lowercase:()=>_j,ksuid:()=>Kj,ipv6:()=>Vj,ipv4:()=>qj,integer:()=>jj,idnEmail:()=>Dy0,httpProtocol:()=>Oj,html5Email:()=>Oy0,hostname:()=>Ay0,hex:()=>jy0,guid:()=>Hj,extendedDuration:()=>Ly0,emoji:()=>Zj,email:()=>Xj,e164:()=>Nj,duration:()=>Wj,domain:()=>Ty0,datetime:()=>Pj,date:()=>Dj,cuid2:()=>Qj,cuid:()=>Uj,cidrv6:()=>wj,cidrv4:()=>Fj,browserEmail:()=>By0,boolean:()=>Ej,bigint:()=>Tj,base64url:()=>oq,base64:()=>Mj});function Zj(){return new RegExp(Py0,"u")}function xo($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Bj($){return new RegExp(`^${xo($)}$`)}function Pj($){let Y=xo({precision:$.precision}),z=["Z"];if($.local)z.push("");if($.offset)z.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let U=`${Y}(?:${z.join("|")})`;return new RegExp(`^${ko}T(?:${U})$`)}function YG($,Y){return new RegExp(`^[A-Za-z0-9+/]{${$}}${Y}$`)}function zG($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var Uj,Qj,Jj,Ij,Kj,Gj,Wj,Ly0,Hj,AY=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},Fy0,wy0,My0,Xj,Oy0,Ny0,yo,Dy0,By0,Py0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",qj,Vj,Lj=($)=>{let Y=N$($??":");return new RegExp(`^(?:[0-9A-F]{2}${Y}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${Y}){5}[0-9a-f]{2}$`)},Fj,wj,Mj,oq,Ay0,Ty0,Oj,Nj,ko="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Dj,Aj=($)=>{let Y=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${Y}$`)},Tj,jj,$G,Ej,Cj,Rj,_j,vj,jy0,Ey0,Cy0,Ry0,_y0,vy0,hy0,Sy0,gy0,yy0,ky0,xy0,fy0,uy0,by0,iy0;var rq=o(()=>{$1();Uj=/^[cC][0-9a-z]{6,}$/,Qj=/^[0-9a-z]+$/,Jj=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Ij=/^[0-9a-vA-V]{20}$/,Kj=/^[A-Za-z0-9]{27}$/,Gj=/^[a-zA-Z0-9_-]{21}$/,Wj=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Ly0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Hj=/^([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})$/,Fy0=AY(4),wy0=AY(6),My0=AY(7),Xj=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Oy0=/^[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])?)*$/,Ny0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,yo=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Dy0=yo,By0=/^[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])?)*$/;qj=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Vj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Fj=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,wj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Mj=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,oq=/^[A-Za-z0-9_-]*$/,Ay0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Ty0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Oj=/^https?$/,Nj=/^\+[1-9]\d{6,14}$/,Dj=new RegExp(`^${ko}$`);Tj=/^-?\d+n?$/,jj=/^-?\d+$/,$G=/^-?\d+(?:\.\d+)?$/,Ej=/^(?:true|false)$/i,Cj=/^null$/i,Rj=/^undefined$/i,_j=/^[^A-Z]*$/,vj=/^[^a-z]*$/,jy0=/^[0-9a-fA-F]*$/;Ey0=/^[0-9a-fA-F]{32}$/,Cy0=YG(22,"=="),Ry0=zG(22),_y0=/^[0-9a-fA-F]{40}$/,vy0=YG(27,"="),hy0=zG(27),Sy0=/^[0-9a-fA-F]{64}$/,gy0=YG(43,"="),yy0=zG(43),ky0=/^[0-9a-fA-F]{96}$/,xy0=YG(64,""),fy0=zG(64),uy0=/^[0-9a-fA-F]{128}$/,by0=YG(86,"=="),iy0=zG(86)});function fo($,Y,z){if($.issues.length)Y.issues.push(...f8(z,$.issues))}var V4,uo,sq,aq,hj,Sj,gj,yj,kj,xj,fj,uj,bj,dU,ij,cj,nj,pj,dj,mj,lj,oj,rj;var tq=o(()=>{BY();rq();$1();V4=W0("$ZodCheck",($,Y)=>{var z;$._zod??($._zod={}),$._zod.def=Y,(z=$._zod).onattach??(z.onattach=[])}),uo={number:"number",bigint:"bigint",object:"date"},sq=W0("$ZodCheckLessThan",($,Y)=>{V4.init($,Y);let z=uo[typeof Y.value];$._zod.onattach.push((U)=>{let Q=U._zod.bag,J=(Y.inclusive?Q.maximum:Q.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(Y.value{if(Y.inclusive?U.value<=Y.value:U.value{V4.init($,Y);let z=uo[typeof Y.value];$._zod.onattach.push((U)=>{let Q=U._zod.bag,J=(Y.inclusive?Q.minimum:Q.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(Y.value>J)if(Y.inclusive)Q.minimum=Y.value;else Q.exclusiveMinimum=Y.value}),$._zod.check=(U)=>{if(Y.inclusive?U.value>=Y.value:U.value>Y.value)return;U.issues.push({origin:z,code:"too_small",minimum:typeof Y.value==="object"?Y.value.getTime():Y.value,input:U.value,inclusive:Y.inclusive,inst:$,continue:!Y.abort})}}),hj=W0("$ZodCheckMultipleOf",($,Y)=>{V4.init($,Y),$._zod.onattach.push((z)=>{var U;(U=z._zod.bag).multipleOf??(U.multipleOf=Y.value)}),$._zod.check=(z)=>{if(typeof z.value!==typeof Y.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof z.value==="bigint"?z.value%Y.value===BigInt(0):cT(z.value,Y.value)===0)return;z.issues.push({origin:typeof z.value,code:"not_multiple_of",divisor:Y.value,input:z.value,inst:$,continue:!Y.abort})}}),Sj=W0("$ZodCheckNumberFormat",($,Y)=>{V4.init($,Y),Y.format=Y.format||"float64";let z=Y.format?.includes("int"),U=z?"int":"number",[Q,J]=oT[Y.format];$._zod.onattach.push((I)=>{let K=I._zod.bag;if(K.format=Y.format,K.minimum=Q,K.maximum=J,z)K.pattern=jj}),$._zod.check=(I)=>{let K=I.value;if(z){if(!Number.isInteger(K)){I.issues.push({expected:U,format:Y.format,code:"invalid_type",continue:!1,input:K,inst:$});return}if(!Number.isSafeInteger(K)){if(K>0)I.issues.push({input:K,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:U,inclusive:!0,continue:!Y.abort});else I.issues.push({input:K,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:U,inclusive:!0,continue:!Y.abort});return}}if(KJ)I.issues.push({origin:"number",input:K,code:"too_big",maximum:J,inclusive:!0,inst:$,continue:!Y.abort})}}),gj=W0("$ZodCheckBigIntFormat",($,Y)=>{V4.init($,Y);let[z,U]=rT[Y.format];$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.format=Y.format,J.minimum=z,J.maximum=U}),$._zod.check=(Q)=>{let J=Q.value;if(JU)Q.issues.push({origin:"bigint",input:J,code:"too_big",maximum:U,inclusive:!0,inst:$,continue:!Y.abort})}}),yj=W0("$ZodCheckMaxSize",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.size!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=U.value;if(Q.size<=Y.maximum)return;U.issues.push({origin:rK(Q),code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),kj=W0("$ZodCheckMinSize",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.size!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)U._zod.bag.minimum=Y.minimum}),$._zod.check=(U)=>{let Q=U.value;if(Q.size>=Y.minimum)return;U.issues.push({origin:rK(Q),code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),xj=W0("$ZodCheckSizeEquals",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.size!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.minimum=Y.size,Q.maximum=Y.size,Q.size=Y.size}),$._zod.check=(U)=>{let Q=U.value,J=Q.size;if(J===Y.size)return;let I=J>Y.size;U.issues.push({origin:rK(Q),...I?{code:"too_big",maximum:Y.size}:{code:"too_small",minimum:Y.size},inclusive:!0,exact:!0,input:U.value,inst:$,continue:!Y.abort})}}),fj=W0("$ZodCheckMaxLength",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.length!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=U.value;if(Q.length<=Y.maximum)return;let I=sK(Q);U.issues.push({origin:I,code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),uj=W0("$ZodCheckMinLength",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.length!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)U._zod.bag.minimum=Y.minimum}),$._zod.check=(U)=>{let Q=U.value;if(Q.length>=Y.minimum)return;let I=sK(Q);U.issues.push({origin:I,code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),bj=W0("$ZodCheckLengthEquals",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.length!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.minimum=Y.length,Q.maximum=Y.length,Q.length=Y.length}),$._zod.check=(U)=>{let Q=U.value,J=Q.length;if(J===Y.length)return;let I=sK(Q),K=J>Y.length;U.issues.push({origin:I,...K?{code:"too_big",maximum:Y.length}:{code:"too_small",minimum:Y.length},inclusive:!0,exact:!0,input:U.value,inst:$,continue:!Y.abort})}}),dU=W0("$ZodCheckStringFormat",($,Y)=>{var z,U;if(V4.init($,Y),$._zod.onattach.push((Q)=>{let J=Q._zod.bag;if(J.format=Y.format,Y.pattern)J.patterns??(J.patterns=new Set),J.patterns.add(Y.pattern)}),Y.pattern)(z=$._zod).check??(z.check=(Q)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(Q.value))return;Q.issues.push({origin:"string",code:"invalid_format",format:Y.format,input:Q.value,...Y.pattern?{pattern:Y.pattern.toString()}:{},inst:$,continue:!Y.abort})});else(U=$._zod).check??(U.check=()=>{})}),ij=W0("$ZodCheckRegex",($,Y)=>{dU.init($,Y),$._zod.check=(z)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(z.value))return;z.issues.push({origin:"string",code:"invalid_format",format:"regex",input:z.value,pattern:Y.pattern.toString(),inst:$,continue:!Y.abort})}}),cj=W0("$ZodCheckLowerCase",($,Y)=>{Y.pattern??(Y.pattern=_j),dU.init($,Y)}),nj=W0("$ZodCheckUpperCase",($,Y)=>{Y.pattern??(Y.pattern=vj),dU.init($,Y)}),pj=W0("$ZodCheckIncludes",($,Y)=>{V4.init($,Y);let z=N$(Y.includes),U=new RegExp(typeof Y.position==="number"?`^.{${Y.position}}${z}`:z);Y.pattern=U,$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Q)=>{if(Q.value.includes(Y.includes,Y.position))return;Q.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:Y.includes,input:Q.value,inst:$,continue:!Y.abort})}}),dj=W0("$ZodCheckStartsWith",($,Y)=>{V4.init($,Y);let z=new RegExp(`^${N$(Y.prefix)}.*`);Y.pattern??(Y.pattern=z),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(z)}),$._zod.check=(U)=>{if(U.value.startsWith(Y.prefix))return;U.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:Y.prefix,input:U.value,inst:$,continue:!Y.abort})}}),mj=W0("$ZodCheckEndsWith",($,Y)=>{V4.init($,Y);let z=new RegExp(`.*${N$(Y.suffix)}$`);Y.pattern??(Y.pattern=z),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(z)}),$._zod.check=(U)=>{if(U.value.endsWith(Y.suffix))return;U.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:Y.suffix,input:U.value,inst:$,continue:!Y.abort})}});lj=W0("$ZodCheckProperty",($,Y)=>{V4.init($,Y),$._zod.check=(z)=>{let U=Y.schema._zod.run({value:z.value[Y.property],issues:[]},{});if(U instanceof Promise)return U.then((Q)=>fo(Q,z,Y.property));fo(U,z,Y.property);return}}),oj=W0("$ZodCheckMimeType",($,Y)=>{V4.init($,Y);let z=new Set(Y.mime);$._zod.onattach.push((U)=>{U._zod.bag.mime=Y.mime}),$._zod.check=(U)=>{if(z.has(U.value.type))return;U.issues.push({code:"invalid_value",values:Y.mime,input:U.value.type,inst:$,continue:!Y.abort})}}),rj=W0("$ZodCheckOverwrite",($,Y)=>{V4.init($,Y),$._zod.check=(z)=>{z.value=Y.tx(z.value)}})});class eq{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let z=$.split(` +import{createRequire as Eg0}from"node:module";var Mg0=Object.create;var{getPrototypeOf:Og0,defineProperty:uT,getOwnPropertyNames:Ng0}=Object;var Dg0=Object.prototype.hasOwnProperty;function Bg0($){return this[$]}var Pg0,Ag0,J6=($,Y,z)=>{var U=$!=null&&typeof $==="object";if(U){var Q=Y?Pg0??=new WeakMap:Ag0??=new WeakMap,J=Q.get($);if(J)return J}z=$!=null?Mg0(Og0($)):{};let I=Y||!$||!$.__esModule?uT(z,"default",{value:$,enumerable:!0}):z;for(let K of Ng0($))if(!Dg0.call(I,K))uT(I,K,{get:Bg0.bind($,K),enumerable:!0});if(U)Q.set($,I);return I};var E=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports);var Tg0=($)=>$;function jg0($,Y){this[$]=Tg0.bind(null,Y)}var x8=($,Y)=>{for(var z in Y)uT($,z,{get:Y[z],enumerable:!0,configurable:!0,set:jg0.bind(Y,z)})};var o=($,Y)=>()=>($&&(Y=$($=0)),Y);var I0=Eg0(import.meta.url);var Cg0,yq,Rg0,_g0,vg0,hg0,R0=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports),Ao=($,Y)=>{let z={};for(var U in $)yq(z,U,{get:$[U],enumerable:!0});if(Y)yq(z,Symbol.toStringTag,{value:"Module"});return z},Sg0=($,Y,z,U)=>{if(Y&&typeof Y==="object"||typeof Y==="function"){for(var Q=_g0(Y),J=0,I=Q.length,K;JY[G]).bind(null,K),enumerable:!(U=Rg0(Y,K))||U.enumerable})}return $},kq=($,Y,z)=>(z=$!=null?Cg0(vg0($)):{},Sg0(Y||!$||!$.__esModule?yq(z,"default",{value:$,enumerable:!0}):z,$));var bT=o(()=>{Cg0=Object.create,yq=Object.defineProperty,Rg0=Object.getOwnPropertyDescriptor,_g0=Object.getOwnPropertyNames,vg0=Object.getPrototypeOf,hg0=Object.prototype.hasOwnProperty});function jo($){return typeof $==="string"&&To.has($.replace(/#$/,""))}function Eo($,Y){if(!("$schema"in $)||typeof $.$schema!=="string")return"2020-12";let z=$.$schema.replace(/#$/,"");if(gg0.has(z))return"2020-12";if(To.has(z))return"2019-09";if(yg0.has(z)||kg0.has(z))return"draft-7";throw Error(`JSON Schema declares an unsupported dialect ("$schema": "${$.$schema.slice(0,200)}"). The default validator supports JSON Schema 2020-12, 2019-09, draft-07, and draft-06; ${Y}`)}var gg0,To,yg0,kg0;var iT=o(()=>{gg0=new Set(["https://json-schema.org/draft/2020-12/schema","http://json-schema.org/draft/2020-12/schema"]),To=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]),yg0=new Set(["https://json-schema.org/draft-07/schema","http://json-schema.org/draft-07/schema"]),kg0=new Set(["https://json-schema.org/draft-06/schema","http://json-schema.org/draft-06/schema"])});function W0($,Y,z){function U(K,G){if(!K._zod)Object.defineProperty(K,"_zod",{value:{def:G,constr:I,traits:new Set},enumerable:!1});if(K._zod.traits.has($))return;K._zod.traits.add($),Y(K,G);let W=I.prototype,H=Object.keys(W);for(let X=0;X{if(z?.Parent&&K instanceof z.Parent)return!0;return K?._zod?.traits?.has($)}}),Object.defineProperty(I,"name",{value:$}),I}function a4($){if($)Object.assign(NY,$);return NY}var Co,pK,cT,f5,DY,NY;var BY=o(()=>{pK=Object.freeze({status:"aborted"});cT=Symbol("zod_brand");f5=class f5 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};DY=class DY extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}};(Co=globalThis).__zod_globalConfig??(Co.__zod_globalConfig={});NY=globalThis.__zod_globalConfig});var y0={};x8(y0,{unwrapMessage:()=>dK,uint8ArrayToHex:()=>Ky0,uint8ArrayToBase64url:()=>Jy0,uint8ArrayToBase64:()=>vo,stringifyPrimitive:()=>v0,slugify:()=>dT,shallowClone:()=>lT,safeExtend:()=>eg0,required:()=>zy0,randomString:()=>mg0,propertyKeyTypes:()=>oK,promiseAllObject:()=>dg0,primitiveTypes:()=>oT,prefixIssues:()=>f8,pick:()=>sg0,partial:()=>Yy0,parsedType:()=>S0,optionalKeys:()=>rT,omit:()=>ag0,objectClone:()=>cg0,numKeys:()=>lg0,nullish:()=>Q3,normalizeParams:()=>x0,mergeDefs:()=>i9,merge:()=>$y0,jsonStringifyReplacer:()=>fU,joinValues:()=>N0,issue:()=>bU,isPlainObject:()=>I3,isObject:()=>PY,hexToUint8Array:()=>Iy0,getSizableOrigin:()=>rK,getParsedType:()=>og0,getLengthableOrigin:()=>sK,getEnumValues:()=>mK,getElementAtPath:()=>pg0,floatSafeRemainder:()=>pT,finalizeIssue:()=>B8,extend:()=>tg0,explicitlyAborted:()=>tT,escapeRegex:()=>N$,esc:()=>xq,defineLazy:()=>T1,createTransparentProxy:()=>rg0,cloneDef:()=>ng0,clone:()=>D8,cleanRegex:()=>lK,cleanEnum:()=>Uy0,captureStackTrace:()=>fq,cached:()=>uU,base64urlToUint8Array:()=>Qy0,base64ToUint8Array:()=>_o,assignProp:()=>J3,assertNotEqual:()=>fg0,assertNever:()=>bg0,assertIs:()=>ug0,assertEqual:()=>xg0,assert:()=>ig0,allowsEval:()=>mT,aborted:()=>K3,NUMBER_FORMAT_RANGES:()=>sT,Class:()=>ho,BIGINT_FORMAT_RANGES:()=>aT});function xg0($){return $}function fg0($){return $}function ug0($){}function bg0($){throw Error("Unexpected value in exhaustive check")}function ig0($){}function mK($){let Y=Object.values($).filter((U)=>typeof U==="number");return Object.entries($).filter(([U,Q])=>Y.indexOf(+U)===-1).map(([U,Q])=>Q)}function N0($,Y="|"){return $.map((z)=>v0(z)).join(Y)}function fU($,Y){if(typeof Y==="bigint")return Y.toString();return Y}function uU($){return{get value(){{let z=$();return Object.defineProperty(this,"value",{value:z}),z}throw Error("cached value already set")}}}function Q3($){return $===null||$===void 0}function lK($){let Y=$.startsWith("^")?1:0,z=$.endsWith("$")?$.length-1:$.length;return $.slice(Y,z)}function pT($,Y){let z=$/Y,U=Math.round(z),Q=Number.EPSILON*Math.max(Math.abs(z),1);if(Math.abs(z-U)z?.[U],$)}function dg0($){let Y=Object.keys($),z=Y.map((U)=>$[U]);return Promise.all(z).then((U)=>{let Q={};for(let J=0;JY};if(Y?.message!==void 0){if(Y?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");Y.error=Y.message}if(delete Y.message,typeof Y.error==="string")return{...Y,error:()=>Y.error};return Y}function rg0($){let Y;return new Proxy({},{get(z,U,Q){return Y??(Y=$()),Reflect.get(Y,U,Q)},set(z,U,Q,J){return Y??(Y=$()),Reflect.set(Y,U,Q,J)},has(z,U){return Y??(Y=$()),Reflect.has(Y,U)},deleteProperty(z,U){return Y??(Y=$()),Reflect.deleteProperty(Y,U)},ownKeys(z){return Y??(Y=$()),Reflect.ownKeys(Y)},getOwnPropertyDescriptor(z,U){return Y??(Y=$()),Reflect.getOwnPropertyDescriptor(Y,U)},defineProperty(z,U,Q){return Y??(Y=$()),Reflect.defineProperty(Y,U,Q)}})}function v0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function rT($){return Object.keys($).filter((Y)=>{return $[Y]._zod.optin==="optional"&&$[Y]._zod.optout==="optional"})}function sg0($,Y){let z=$._zod.def,U=z.checks;if(U&&U.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let J=i9($._zod.def,{get shape(){let I={};for(let K in Y){if(!(K in z.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;I[K]=z.shape[K]}return J3(this,"shape",I),I},checks:[]});return D8($,J)}function ag0($,Y){let z=$._zod.def,U=z.checks;if(U&&U.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let J=i9($._zod.def,{get shape(){let I={...$._zod.def.shape};for(let K in Y){if(!(K in z.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;delete I[K]}return J3(this,"shape",I),I},checks:[]});return D8($,J)}function tg0($,Y){if(!I3(Y))throw Error("Invalid input to extend: expected a plain object");let z=$._zod.def.checks;if(z&&z.length>0){let J=$._zod.def.shape;for(let I in Y)if(Object.getOwnPropertyDescriptor(J,I)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let Q=i9($._zod.def,{get shape(){let J={...$._zod.def.shape,...Y};return J3(this,"shape",J),J}});return D8($,Q)}function eg0($,Y){if(!I3(Y))throw Error("Invalid input to safeExtend: expected a plain object");let z=i9($._zod.def,{get shape(){let U={...$._zod.def.shape,...Y};return J3(this,"shape",U),U}});return D8($,z)}function $y0($,Y){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let z=i9($._zod.def,{get shape(){let U={...$._zod.def.shape,...Y._zod.def.shape};return J3(this,"shape",U),U},get catchall(){return Y._zod.def.catchall},checks:Y._zod.def.checks??[]});return D8($,z)}function Yy0($,Y,z){let Q=Y._zod.def.checks;if(Q&&Q.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let I=i9(Y._zod.def,{get shape(){let K=Y._zod.def.shape,G={...K};if(z)for(let W in z){if(!(W in K))throw Error(`Unrecognized key: "${W}"`);if(!z[W])continue;G[W]=$?new $({type:"optional",innerType:K[W]}):K[W]}else for(let W in K)G[W]=$?new $({type:"optional",innerType:K[W]}):K[W];return J3(this,"shape",G),G},checks:[]});return D8(Y,I)}function zy0($,Y,z){let U=i9(Y._zod.def,{get shape(){let Q=Y._zod.def.shape,J={...Q};if(z)for(let I in z){if(!(I in J))throw Error(`Unrecognized key: "${I}"`);if(!z[I])continue;J[I]=new $({type:"nonoptional",innerType:Q[I]})}else for(let I in Q)J[I]=new $({type:"nonoptional",innerType:Q[I]});return J3(this,"shape",J),J}});return D8(Y,U)}function K3($,Y=0){if($.aborted===!0)return!0;for(let z=Y;z<$.issues.length;z++)if($.issues[z]?.continue!==!0)return!0;return!1}function tT($,Y=0){if($.aborted===!0)return!0;for(let z=Y;z<$.issues.length;z++)if($.issues[z]?.continue===!1)return!0;return!1}function f8($,Y){return Y.map((z)=>{var U;return(U=z).path??(U.path=[]),z.path.unshift($),z})}function dK($){return typeof $==="string"?$:$?.message}function B8($,Y,z){let U=$.message?$.message:dK($.inst?._zod.def?.error?.($))??dK(Y?.error?.($))??dK(z.customError?.($))??dK(z.localeError?.($))??"Invalid input",{inst:Q,continue:J,input:I,...K}=$;if(K.path??(K.path=[]),K.message=U,Y?.reportInput)K.input=I;return K}function rK($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function sK($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function S0($){let Y=typeof $;switch(Y){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let z=$;if(z&&Object.getPrototypeOf(z)!==Object.prototype&&"constructor"in z&&z.constructor)return z.constructor.name}}return Y}function bU(...$){let[Y,z,U]=$;if(typeof Y==="string")return{message:Y,code:"custom",input:z,inst:U};return{...Y}}function Uy0($){return Object.entries($).filter(([Y,z])=>{return Number.isNaN(Number.parseInt(Y,10))}).map((Y)=>Y[1])}function _o($){let Y=atob($),z=new Uint8Array(Y.length);for(let U=0;UY.toString(16).padStart(2,"0")).join("")}class ho{constructor(...$){}}var Ro,fq,mT,og0=($)=>{let Y=typeof $;switch(Y){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${Y}`)}},oK,oT,sT,aT;var $1=o(()=>{BY();Ro=Symbol("evaluating");fq="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};mT=uU(()=>{if(NY.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});oK=new Set(["string","number","symbol"]),oT=new Set(["string","number","bigint","boolean","symbol","undefined"]);sT={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},aT={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]}});function tK($,Y=(z)=>z.message){let z={},U=[];for(let Q of $.issues)if(Q.path.length>0)z[Q.path[0]]=z[Q.path[0]]||[],z[Q.path[0]].push(Y(Q));else U.push(Y(Q));return{formErrors:U,fieldErrors:z}}function eK($,Y=(z)=>z.message){let z={_errors:[]},U=(Q,J=[])=>{for(let I of Q.issues)if(I.code==="invalid_union"&&I.errors.length)I.errors.map((K)=>U({issues:K},[...J,...I.path]));else if(I.code==="invalid_key")U({issues:I.issues},[...J,...I.path]);else if(I.code==="invalid_element")U({issues:I.issues},[...J,...I.path]);else{let K=[...J,...I.path];if(K.length===0)z._errors.push(Y(I));else{let G=z,W=0;while(Wz.message){let z={errors:[]},U=(Q,J=[])=>{var I,K;for(let G of Q.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((W)=>U({issues:W},[...J,...G.path]));else if(G.code==="invalid_key")U({issues:G.issues},[...J,...G.path]);else if(G.code==="invalid_element")U({issues:G.issues},[...J,...G.path]);else{let W=[...J,...G.path];if(W.length===0){z.errors.push(Y(G));continue}let H=z,X=0;while(Xtypeof U==="object"?U.key:U);for(let U of z)if(typeof U==="number")Y.push(`[${U}]`);else if(typeof U==="symbol")Y.push(`[${JSON.stringify(String(U))}]`);else if(/[^\w$]/.test(U))Y.push(`[${JSON.stringify(U)}]`);else{if(Y.length)Y.push(".");Y.push(U)}return Y.join("")}function $j($){let Y=[],z=[...$.issues].sort((U,Q)=>(U.path??[]).length-(Q.path??[]).length);for(let U of z)if(Y.push(`✖ ${U.message}`),U.path?.length)Y.push(` → at ${go(U.path)}`);return Y.join(` +`)}var So=($,Y)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:Y,enumerable:!1}),$.message=JSON.stringify(Y,fU,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},aK,u8;var Yj=o(()=>{BY();$1();aK=W0("$ZodError",So),u8=W0("$ZodError",So,{Parent:Error})});var iU=($)=>(Y,z,U,Q)=>{let J=U?{...U,async:!1}:{async:!1},I=Y._zod.run({value:z,issues:[]},J);if(I instanceof Promise)throw new f5;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>B8(G,J,a4())));throw fq(K,Q?.callee),K}return I.value},uq,cU=($)=>async(Y,z,U,Q)=>{let J=U?{...U,async:!0}:{async:!0},I=Y._zod.run({value:z,issues:[]},J);if(I instanceof Promise)I=await I;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>B8(G,J,a4())));throw fq(K,Q?.callee),K}return I.value},bq,nU=($)=>(Y,z,U)=>{let Q=U?{...U,async:!1}:{async:!1},J=Y._zod.run({value:z,issues:[]},Q);if(J instanceof Promise)throw new f5;return J.issues.length?{success:!1,error:new($??aK)(J.issues.map((I)=>B8(I,Q,a4())))}:{success:!0,data:J.value}},zj,pU=($)=>async(Y,z,U)=>{let Q=U?{...U,async:!0}:{async:!0},J=Y._zod.run({value:z,issues:[]},Q);if(J instanceof Promise)J=await J;return J.issues.length?{success:!1,error:new $(J.issues.map((I)=>B8(I,Q,a4())))}:{success:!0,data:J.value}},Uj,iq=($)=>(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return iU($)(Y,z,Q)},Wy0,cq=($)=>(Y,z,U)=>{return iU($)(Y,z,U)},Hy0,nq=($)=>async(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return cU($)(Y,z,Q)},Xy0,pq=($)=>async(Y,z,U)=>{return cU($)(Y,z,U)},Zy0,dq=($)=>(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return nU($)(Y,z,Q)},qy0,mq=($)=>(Y,z,U)=>{return nU($)(Y,z,U)},Vy0,lq=($)=>async(Y,z,U)=>{let Q=U?{...U,direction:"backward"}:{direction:"backward"};return pU($)(Y,z,Q)},Ly0,oq=($)=>async(Y,z,U)=>{return pU($)(Y,z,U)},Fy0;var Qj=o(()=>{BY();Yj();$1();uq=iU(u8),bq=cU(u8),zj=nU(u8),Uj=pU(u8),Wy0=iq(u8),Hy0=cq(u8),Xy0=nq(u8),Zy0=pq(u8),qy0=dq(u8),Vy0=mq(u8),Ly0=lq(u8),Fy0=oq(u8)});var Y$={};x8(Y$,{xid:()=>Gj,uuid7:()=>Ny0,uuid6:()=>Oy0,uuid4:()=>My0,uuid:()=>AY,uppercase:()=>Sj,unicodeEmail:()=>yo,undefined:()=>vj,ulid:()=>Kj,time:()=>Aj,string:()=>jj,sha512_hex:()=>iy0,sha512_base64url:()=>ny0,sha512_base64:()=>cy0,sha384_hex:()=>fy0,sha384_base64url:()=>by0,sha384_base64:()=>uy0,sha256_hex:()=>yy0,sha256_base64url:()=>xy0,sha256_base64:()=>ky0,sha1_hex:()=>hy0,sha1_base64url:()=>gy0,sha1_base64:()=>Sy0,rfc5322Email:()=>By0,number:()=>$G,null:()=>_j,nanoid:()=>Hj,md5_hex:()=>Ry0,md5_base64url:()=>vy0,md5_base64:()=>_y0,mac:()=>wj,lowercase:()=>hj,ksuid:()=>Wj,ipv6:()=>Fj,ipv4:()=>Lj,integer:()=>Cj,idnEmail:()=>Py0,httpProtocol:()=>Dj,html5Email:()=>Dy0,hostname:()=>jy0,hex:()=>Cy0,guid:()=>Zj,extendedDuration:()=>wy0,emoji:()=>Vj,email:()=>qj,e164:()=>Bj,duration:()=>Xj,domain:()=>Ey0,datetime:()=>Tj,date:()=>Pj,cuid2:()=>Ij,cuid:()=>Jj,cidrv6:()=>Oj,cidrv4:()=>Mj,browserEmail:()=>Ay0,boolean:()=>Rj,bigint:()=>Ej,base64url:()=>rq,base64:()=>Nj});function Vj(){return new RegExp(Ty0,"u")}function xo($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Aj($){return new RegExp(`^${xo($)}$`)}function Tj($){let Y=xo({precision:$.precision}),z=["Z"];if($.local)z.push("");if($.offset)z.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let U=`${Y}(?:${z.join("|")})`;return new RegExp(`^${ko}T(?:${U})$`)}function YG($,Y){return new RegExp(`^[A-Za-z0-9+/]{${$}}${Y}$`)}function zG($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var Jj,Ij,Kj,Gj,Wj,Hj,Xj,wy0,Zj,AY=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},My0,Oy0,Ny0,qj,Dy0,By0,yo,Py0,Ay0,Ty0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Lj,Fj,wj=($)=>{let Y=N$($??":");return new RegExp(`^(?:[0-9A-F]{2}${Y}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${Y}){5}[0-9a-f]{2}$`)},Mj,Oj,Nj,rq,jy0,Ey0,Dj,Bj,ko="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Pj,jj=($)=>{let Y=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${Y}$`)},Ej,Cj,$G,Rj,_j,vj,hj,Sj,Cy0,Ry0,_y0,vy0,hy0,Sy0,gy0,yy0,ky0,xy0,fy0,uy0,by0,iy0,cy0,ny0;var sq=o(()=>{$1();Jj=/^[cC][0-9a-z]{6,}$/,Ij=/^[0-9a-z]+$/,Kj=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Gj=/^[0-9a-vA-V]{20}$/,Wj=/^[A-Za-z0-9]{27}$/,Hj=/^[a-zA-Z0-9_-]{21}$/,Xj=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,wy0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Zj=/^([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})$/,My0=AY(4),Oy0=AY(6),Ny0=AY(7),qj=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Dy0=/^[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])?)*$/,By0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,yo=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Py0=yo,Ay0=/^[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])?)*$/;Lj=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Fj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Mj=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Oj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Nj=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,rq=/^[A-Za-z0-9_-]*$/,jy0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Ey0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Dj=/^https?$/,Bj=/^\+[1-9]\d{6,14}$/,Pj=new RegExp(`^${ko}$`);Ej=/^-?\d+n?$/,Cj=/^-?\d+$/,$G=/^-?\d+(?:\.\d+)?$/,Rj=/^(?:true|false)$/i,_j=/^null$/i,vj=/^undefined$/i,hj=/^[^A-Z]*$/,Sj=/^[^a-z]*$/,Cy0=/^[0-9a-fA-F]*$/;Ry0=/^[0-9a-fA-F]{32}$/,_y0=YG(22,"=="),vy0=zG(22),hy0=/^[0-9a-fA-F]{40}$/,Sy0=YG(27,"="),gy0=zG(27),yy0=/^[0-9a-fA-F]{64}$/,ky0=YG(43,"="),xy0=zG(43),fy0=/^[0-9a-fA-F]{96}$/,uy0=YG(64,""),by0=zG(64),iy0=/^[0-9a-fA-F]{128}$/,cy0=YG(86,"=="),ny0=zG(86)});function fo($,Y,z){if($.issues.length)Y.issues.push(...f8(z,$.issues))}var V4,uo,aq,tq,gj,yj,kj,xj,fj,uj,bj,ij,cj,dU,nj,pj,dj,mj,lj,oj,rj,sj,aj;var eq=o(()=>{BY();sq();$1();V4=W0("$ZodCheck",($,Y)=>{var z;$._zod??($._zod={}),$._zod.def=Y,(z=$._zod).onattach??(z.onattach=[])}),uo={number:"number",bigint:"bigint",object:"date"},aq=W0("$ZodCheckLessThan",($,Y)=>{V4.init($,Y);let z=uo[typeof Y.value];$._zod.onattach.push((U)=>{let Q=U._zod.bag,J=(Y.inclusive?Q.maximum:Q.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(Y.value{if(Y.inclusive?U.value<=Y.value:U.value{V4.init($,Y);let z=uo[typeof Y.value];$._zod.onattach.push((U)=>{let Q=U._zod.bag,J=(Y.inclusive?Q.minimum:Q.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(Y.value>J)if(Y.inclusive)Q.minimum=Y.value;else Q.exclusiveMinimum=Y.value}),$._zod.check=(U)=>{if(Y.inclusive?U.value>=Y.value:U.value>Y.value)return;U.issues.push({origin:z,code:"too_small",minimum:typeof Y.value==="object"?Y.value.getTime():Y.value,input:U.value,inclusive:Y.inclusive,inst:$,continue:!Y.abort})}}),gj=W0("$ZodCheckMultipleOf",($,Y)=>{V4.init($,Y),$._zod.onattach.push((z)=>{var U;(U=z._zod.bag).multipleOf??(U.multipleOf=Y.value)}),$._zod.check=(z)=>{if(typeof z.value!==typeof Y.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof z.value==="bigint"?z.value%Y.value===BigInt(0):pT(z.value,Y.value)===0)return;z.issues.push({origin:typeof z.value,code:"not_multiple_of",divisor:Y.value,input:z.value,inst:$,continue:!Y.abort})}}),yj=W0("$ZodCheckNumberFormat",($,Y)=>{V4.init($,Y),Y.format=Y.format||"float64";let z=Y.format?.includes("int"),U=z?"int":"number",[Q,J]=sT[Y.format];$._zod.onattach.push((I)=>{let K=I._zod.bag;if(K.format=Y.format,K.minimum=Q,K.maximum=J,z)K.pattern=Cj}),$._zod.check=(I)=>{let K=I.value;if(z){if(!Number.isInteger(K)){I.issues.push({expected:U,format:Y.format,code:"invalid_type",continue:!1,input:K,inst:$});return}if(!Number.isSafeInteger(K)){if(K>0)I.issues.push({input:K,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:U,inclusive:!0,continue:!Y.abort});else I.issues.push({input:K,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:U,inclusive:!0,continue:!Y.abort});return}}if(KJ)I.issues.push({origin:"number",input:K,code:"too_big",maximum:J,inclusive:!0,inst:$,continue:!Y.abort})}}),kj=W0("$ZodCheckBigIntFormat",($,Y)=>{V4.init($,Y);let[z,U]=aT[Y.format];$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.format=Y.format,J.minimum=z,J.maximum=U}),$._zod.check=(Q)=>{let J=Q.value;if(JU)Q.issues.push({origin:"bigint",input:J,code:"too_big",maximum:U,inclusive:!0,inst:$,continue:!Y.abort})}}),xj=W0("$ZodCheckMaxSize",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.size!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=U.value;if(Q.size<=Y.maximum)return;U.issues.push({origin:rK(Q),code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),fj=W0("$ZodCheckMinSize",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.size!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)U._zod.bag.minimum=Y.minimum}),$._zod.check=(U)=>{let Q=U.value;if(Q.size>=Y.minimum)return;U.issues.push({origin:rK(Q),code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),uj=W0("$ZodCheckSizeEquals",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.size!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.minimum=Y.size,Q.maximum=Y.size,Q.size=Y.size}),$._zod.check=(U)=>{let Q=U.value,J=Q.size;if(J===Y.size)return;let I=J>Y.size;U.issues.push({origin:rK(Q),...I?{code:"too_big",maximum:Y.size}:{code:"too_small",minimum:Y.size},inclusive:!0,exact:!0,input:U.value,inst:$,continue:!Y.abort})}}),bj=W0("$ZodCheckMaxLength",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.length!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=U.value;if(Q.length<=Y.maximum)return;let I=sK(Q);U.issues.push({origin:I,code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),ij=W0("$ZodCheckMinLength",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.length!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)U._zod.bag.minimum=Y.minimum}),$._zod.check=(U)=>{let Q=U.value;if(Q.length>=Y.minimum)return;let I=sK(Q);U.issues.push({origin:I,code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),cj=W0("$ZodCheckLengthEquals",($,Y)=>{var z;V4.init($,Y),(z=$._zod.def).when??(z.when=(U)=>{let Q=U.value;return!Q3(Q)&&Q.length!==void 0}),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.minimum=Y.length,Q.maximum=Y.length,Q.length=Y.length}),$._zod.check=(U)=>{let Q=U.value,J=Q.length;if(J===Y.length)return;let I=sK(Q),K=J>Y.length;U.issues.push({origin:I,...K?{code:"too_big",maximum:Y.length}:{code:"too_small",minimum:Y.length},inclusive:!0,exact:!0,input:U.value,inst:$,continue:!Y.abort})}}),dU=W0("$ZodCheckStringFormat",($,Y)=>{var z,U;if(V4.init($,Y),$._zod.onattach.push((Q)=>{let J=Q._zod.bag;if(J.format=Y.format,Y.pattern)J.patterns??(J.patterns=new Set),J.patterns.add(Y.pattern)}),Y.pattern)(z=$._zod).check??(z.check=(Q)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(Q.value))return;Q.issues.push({origin:"string",code:"invalid_format",format:Y.format,input:Q.value,...Y.pattern?{pattern:Y.pattern.toString()}:{},inst:$,continue:!Y.abort})});else(U=$._zod).check??(U.check=()=>{})}),nj=W0("$ZodCheckRegex",($,Y)=>{dU.init($,Y),$._zod.check=(z)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(z.value))return;z.issues.push({origin:"string",code:"invalid_format",format:"regex",input:z.value,pattern:Y.pattern.toString(),inst:$,continue:!Y.abort})}}),pj=W0("$ZodCheckLowerCase",($,Y)=>{Y.pattern??(Y.pattern=hj),dU.init($,Y)}),dj=W0("$ZodCheckUpperCase",($,Y)=>{Y.pattern??(Y.pattern=Sj),dU.init($,Y)}),mj=W0("$ZodCheckIncludes",($,Y)=>{V4.init($,Y);let z=N$(Y.includes),U=new RegExp(typeof Y.position==="number"?`^.{${Y.position}}${z}`:z);Y.pattern=U,$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Q)=>{if(Q.value.includes(Y.includes,Y.position))return;Q.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:Y.includes,input:Q.value,inst:$,continue:!Y.abort})}}),lj=W0("$ZodCheckStartsWith",($,Y)=>{V4.init($,Y);let z=new RegExp(`^${N$(Y.prefix)}.*`);Y.pattern??(Y.pattern=z),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(z)}),$._zod.check=(U)=>{if(U.value.startsWith(Y.prefix))return;U.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:Y.prefix,input:U.value,inst:$,continue:!Y.abort})}}),oj=W0("$ZodCheckEndsWith",($,Y)=>{V4.init($,Y);let z=new RegExp(`.*${N$(Y.suffix)}$`);Y.pattern??(Y.pattern=z),$._zod.onattach.push((U)=>{let Q=U._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(z)}),$._zod.check=(U)=>{if(U.value.endsWith(Y.suffix))return;U.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:Y.suffix,input:U.value,inst:$,continue:!Y.abort})}});rj=W0("$ZodCheckProperty",($,Y)=>{V4.init($,Y),$._zod.check=(z)=>{let U=Y.schema._zod.run({value:z.value[Y.property],issues:[]},{});if(U instanceof Promise)return U.then((Q)=>fo(Q,z,Y.property));fo(U,z,Y.property);return}}),sj=W0("$ZodCheckMimeType",($,Y)=>{V4.init($,Y);let z=new Set(Y.mime);$._zod.onattach.push((U)=>{U._zod.bag.mime=Y.mime}),$._zod.check=(U)=>{if(z.has(U.value.type))return;U.issues.push({code:"invalid_value",values:Y.mime,input:U.value.type,inst:$,continue:!Y.abort})}}),aj=W0("$ZodCheckOverwrite",($,Y)=>{V4.init($,Y),$._zod.check=(z)=>{z.value=Y.tx(z.value)}})});class $V{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let z=$.split(` `).filter((J)=>J),U=Math.min(...z.map((J)=>J.length-J.trimStart().length)),Q=z.map((J)=>J.slice(U)).map((J)=>" ".repeat(this.indent*2)+J);for(let J of Q)this.content.push(J)}compile(){let $=Function,Y=this?.args,U=[...(this?.content??[""]).map((Q)=>` ${Q}`)];return new $(...Y,U.join(` -`))}}var sj;var aj=o(()=>{sj={major:4,minor:4,patch:3}});function OE($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}function zr($){if(!oq.test($))return!1;let Y=$.replace(/[-_]/g,(U)=>U==="-"?"+":"/"),z=Y.padEnd(Math.ceil(Y.length/4)*4,"=");return OE(z)}function Ur($,Y=null){try{let z=$.split(".");if(z.length!==3)return!1;let[U]=z;if(!U)return!1;let Q=JSON.parse(atob(U));if("typ"in Q&&Q?.typ!=="JWT")return!1;if(!Q.alg)return!1;if(Y&&(!("alg"in Q)||Q.alg!==Y))return!1;return!0}catch{return!1}}function io($,Y,z){if($.issues.length)Y.issues.push(...f8(z,$.issues));Y.value[z]=$.value}function UV($,Y,z,U,Q,J){let I=z in U;if($.issues.length){if(Q&&J&&!I)return;Y.issues.push(...f8(z,$.issues))}if(!I&&!Q){if(!$.issues.length)Y.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[z]});return}if($.value===void 0){if(I)Y.value[z]=void 0}else Y.value[z]=$.value}function Qr($){let Y=Object.keys($.shape);for(let U of Y)if(!$.shape?.[U]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${U}": expected a Zod schema`);let z=lT($.shape);return{...$,keys:Y,keySet:new Set(Y),numKeys:Y.length,optionalKeys:new Set(z)}}function Jr($,Y,z,U,Q,J){let I=[],K=Q.keySet,G=Q.catchall._zod,W=G.def.type,H=G.optin==="optional",X=G.optout==="optional";for(let Z in Y){if(Z==="__proto__")continue;if(K.has(Z))continue;if(W==="never"){I.push(Z);continue}let q=G.run({value:Y[Z],issues:[]},U);if(q instanceof Promise)$.push(q.then((V)=>UV(V,z,Z,Y,H,X)));else UV(q,z,Z,Y,H,X)}if(I.length)z.issues.push({code:"unrecognized_keys",keys:I,input:Y,inst:J});if(!$.length)return z;return Promise.all($).then(()=>{return z})}function co($,Y,z,U){for(let J of $)if(J.issues.length===0)return Y.value=J.value,Y;let Q=$.filter((J)=>!K3(J));if(Q.length===1)return Y.value=Q[0].value,Q[0];return Y.issues.push({code:"invalid_union",input:Y.value,inst:z,errors:$.map((J)=>J.issues.map((I)=>B8(I,U,a4())))}),Y}function no($,Y,z,U){let Q=$.filter((J)=>J.issues.length===0);if(Q.length===1)return Y.value=Q[0].value,Y;if(Q.length===0)Y.issues.push({code:"invalid_union",input:Y.value,inst:z,errors:$.map((J)=>J.issues.map((I)=>B8(I,U,a4())))});else Y.issues.push({code:"invalid_union",input:Y.value,inst:z,errors:[],inclusive:!1});return Y}function tj($,Y){if($===Y)return{valid:!0,data:$};if($ instanceof Date&&Y instanceof Date&&+$===+Y)return{valid:!0,data:$};if(I3($)&&I3(Y)){let z=Object.keys(Y),U=Object.keys($).filter((J)=>z.indexOf(J)!==-1),Q={...$,...Y};for(let J of U){let I=tj($[J],Y[J]);if(!I.valid)return{valid:!1,mergeErrorPath:[J,...I.mergeErrorPath]};Q[J]=I.data}return{valid:!0,data:Q}}if(Array.isArray($)&&Array.isArray(Y)){if($.length!==Y.length)return{valid:!1,mergeErrorPath:[]};let z=[];for(let U=0;U<$.length;U++){let Q=$[U],J=Y[U],I=tj(Q,J);if(!I.valid)return{valid:!1,mergeErrorPath:[U,...I.mergeErrorPath]};z.push(I.data)}return{valid:!0,data:z}}return{valid:!1,mergeErrorPath:[]}}function po($,Y,z){let U=new Map,Q;for(let K of Y.issues)if(K.code==="unrecognized_keys"){Q??(Q=K);for(let G of K.keys){if(!U.has(G))U.set(G,{});U.get(G).l=!0}}else $.issues.push(K);for(let K of z.issues)if(K.code==="unrecognized_keys")for(let G of K.keys){if(!U.has(G))U.set(G,{});U.get(G).r=!0}else $.issues.push(K);let J=[...U].filter(([,K])=>K.l&&K.r).map(([K])=>K);if(J.length&&Q)$.issues.push({...Q,keys:J});if(K3($))return $;let I=tj(Y.value,z.value);if(!I.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(I.mergeErrorPath)}`);return $.value=I.data,$}function mo($,Y){for(let z=$.length-1;z>=0;z--)if($[z]._zod[Y]!=="optional")return z+1;return 0}function lo($,Y,z){if($.issues.length)Y.issues.push(...f8(z,$.issues));Y.value[z]=$.value}function oo($,Y,z,U,Q){for(let J=0;J=Q){Y.value.length=J;break}Y.issues.push(...f8(J,I.issues))}Y.value[J]=I.value}for(let J=Y.value.length-1;J>=U.length;J--)if(z[J]._zod.optout==="optional"&&Y.value[J]===void 0)Y.value.length=J;else break;return Y}function ro($,Y,z,U,Q,J,I){if($.issues.length)if(oK.has(typeof U))z.issues.push(...f8(U,$.issues));else z.issues.push({code:"invalid_key",origin:"map",input:Q,inst:J,issues:$.issues.map((K)=>B8(K,I,a4()))});if(Y.issues.length)if(oK.has(typeof U))z.issues.push(...f8(U,Y.issues));else z.issues.push({origin:"map",code:"invalid_element",input:Q,inst:J,key:U,issues:Y.issues.map((K)=>B8(K,I,a4()))});z.value.set($.value,Y.value)}function so($,Y){if($.issues.length)Y.issues.push(...$.issues);Y.value.add($.value)}function ao($,Y){if(Y===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}function to($,Y){if($.value===void 0)$.value=Y.defaultValue;return $}function eo($,Y){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:Y});return $}function $V($,Y,z){if($.issues.length)return $.aborted=!0,$;return Y._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},z)}function YV($,Y,z){if($.issues.length)return $.aborted=!0,$;if((z.direction||"forward")==="forward"){let Q=Y.transform($.value,$);if(Q instanceof Promise)return Q.then((J)=>zV($,J,Y.out,z));return zV($,Q,Y.out,z)}else{let Q=Y.reverseTransform($.value,$);if(Q instanceof Promise)return Q.then((J)=>zV($,J,Y.in,z));return zV($,Q,Y.in,z)}}function zV($,Y,z,U){if($.issues.length)return $.aborted=!0,$;return z._zod.run({value:Y,issues:$.issues},U)}function $r($){return $.value=Object.freeze($.value),$}function Yr($,Y,z,U){if(!$){let Q={code:"custom",input:z,inst:U,path:[...U._zod.def.path??[]],continue:!U._zod.def.abort};if(U._zod.def.params)Q.params=U._zod.def.params;Y.issues.push(bU(Q))}}var q1,TY,X4,ej,$E,YE,zE,UE,QE,JE,IE,KE,GE,WE,HE,XE,ZE,qE,VE,LE,FE,wE,ME,NE,DE,BE,PE,AE,QV,TE,UG,JV,jE,EE,CE,RE,_E,vE,hE,SE,gE,yE,Ir,kE,QG,xE,fE,uE,IV,bE,iE,cE,nE,pE,dE,mE,KV,lE,oE,rE,sE,aE,tE,eE,$C,GV,JG,YC,zC,UC,QC,JC,IC,KC;var GC=o(()=>{tq();BY();zj();rq();$1();aj();$1();q1=W0("$ZodType",($,Y)=>{var z;$??($={}),$._zod.def=Y,$._zod.bag=$._zod.bag||{},$._zod.version=sj;let U=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))U.unshift($);for(let Q of U)for(let J of Q._zod.onattach)J($);if(U.length===0)(z=$._zod).deferred??(z.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let Q=(I,K,G)=>{let W=K3(I),H;for(let X of K){if(X._zod.def.when){if(sT(I))continue;if(!X._zod.def.when(I))continue}else if(W)continue;let Z=I.issues.length,q=X._zod.check(I);if(q instanceof Promise&&G?.async===!1)throw new x5;if(H||q instanceof Promise)H=(H??Promise.resolve()).then(async()=>{if(await q,I.issues.length===Z)return;if(!W)W=K3(I,Z)});else{if(I.issues.length===Z)continue;if(!W)W=K3(I,Z)}}if(H)return H.then(()=>{return I});return I},J=(I,K,G)=>{if(K3(I))return I.aborted=!0,I;let W=Q(K,U,G);if(W instanceof Promise){if(G.async===!1)throw new x5;return W.then((H)=>$._zod.parse(H,G))}return $._zod.parse(W,G)};$._zod.run=(I,K)=>{if(K.skipChecks)return $._zod.parse(I,K);if(K.direction==="backward"){let W=$._zod.parse({value:I.value,issues:[]},{...K,skipChecks:!0});if(W instanceof Promise)return W.then((H)=>{return J(H,I,K)});return J(W,I,K)}let G=$._zod.parse(I,K);if(G instanceof Promise){if(K.async===!1)throw new x5;return G.then((W)=>Q(W,U,K))}return Q(G,U,K)}}T1($,"~standard",()=>({validate:(Q)=>{try{let J=$j($,Q);return J.success?{value:J.data}:{issues:J.error?.issues}}catch(J){return Yj($,Q).then((I)=>I.success?{value:I.data}:{issues:I.error?.issues})}},vendor:"zod",version:1}))}),TY=W0("$ZodString",($,Y)=>{q1.init($,Y),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??Aj($._zod.bag),$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=String(z.value)}catch(Q){}if(typeof z.value==="string")return z;return z.issues.push({expected:"string",code:"invalid_type",input:z.value,inst:$}),z}}),X4=W0("$ZodStringFormat",($,Y)=>{dU.init($,Y),TY.init($,Y)}),ej=W0("$ZodGUID",($,Y)=>{Y.pattern??(Y.pattern=Hj),X4.init($,Y)}),$E=W0("$ZodUUID",($,Y)=>{if(Y.version){let U={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[Y.version];if(U===void 0)throw Error(`Invalid UUID version: "${Y.version}"`);Y.pattern??(Y.pattern=AY(U))}else Y.pattern??(Y.pattern=AY());X4.init($,Y)}),YE=W0("$ZodEmail",($,Y)=>{Y.pattern??(Y.pattern=Xj),X4.init($,Y)}),zE=W0("$ZodURL",($,Y)=>{X4.init($,Y),$._zod.check=(z)=>{try{let U=z.value.trim();if(!Y.normalize&&Y.protocol?.source===Oj.source){if(!/^https?:\/\//i.test(U)){z.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:z.value,inst:$,continue:!Y.abort});return}}let Q=new URL(U);if(Y.hostname){if(Y.hostname.lastIndex=0,!Y.hostname.test(Q.hostname))z.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Y.hostname.source,input:z.value,inst:$,continue:!Y.abort})}if(Y.protocol){if(Y.protocol.lastIndex=0,!Y.protocol.test(Q.protocol.endsWith(":")?Q.protocol.slice(0,-1):Q.protocol))z.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:Y.protocol.source,input:z.value,inst:$,continue:!Y.abort})}if(Y.normalize)z.value=Q.href;else z.value=U;return}catch(U){z.issues.push({code:"invalid_format",format:"url",input:z.value,inst:$,continue:!Y.abort})}}}),UE=W0("$ZodEmoji",($,Y)=>{Y.pattern??(Y.pattern=Zj()),X4.init($,Y)}),QE=W0("$ZodNanoID",($,Y)=>{Y.pattern??(Y.pattern=Gj),X4.init($,Y)}),JE=W0("$ZodCUID",($,Y)=>{Y.pattern??(Y.pattern=Uj),X4.init($,Y)}),IE=W0("$ZodCUID2",($,Y)=>{Y.pattern??(Y.pattern=Qj),X4.init($,Y)}),KE=W0("$ZodULID",($,Y)=>{Y.pattern??(Y.pattern=Jj),X4.init($,Y)}),GE=W0("$ZodXID",($,Y)=>{Y.pattern??(Y.pattern=Ij),X4.init($,Y)}),WE=W0("$ZodKSUID",($,Y)=>{Y.pattern??(Y.pattern=Kj),X4.init($,Y)}),HE=W0("$ZodISODateTime",($,Y)=>{Y.pattern??(Y.pattern=Pj(Y)),X4.init($,Y)}),XE=W0("$ZodISODate",($,Y)=>{Y.pattern??(Y.pattern=Dj),X4.init($,Y)}),ZE=W0("$ZodISOTime",($,Y)=>{Y.pattern??(Y.pattern=Bj(Y)),X4.init($,Y)}),qE=W0("$ZodISODuration",($,Y)=>{Y.pattern??(Y.pattern=Wj),X4.init($,Y)}),VE=W0("$ZodIPv4",($,Y)=>{Y.pattern??(Y.pattern=qj),X4.init($,Y),$._zod.bag.format="ipv4"}),LE=W0("$ZodIPv6",($,Y)=>{Y.pattern??(Y.pattern=Vj),X4.init($,Y),$._zod.bag.format="ipv6",$._zod.check=(z)=>{try{new URL(`http://[${z.value}]`)}catch{z.issues.push({code:"invalid_format",format:"ipv6",input:z.value,inst:$,continue:!Y.abort})}}}),FE=W0("$ZodMAC",($,Y)=>{Y.pattern??(Y.pattern=Lj(Y.delimiter)),X4.init($,Y),$._zod.bag.format="mac"}),wE=W0("$ZodCIDRv4",($,Y)=>{Y.pattern??(Y.pattern=Fj),X4.init($,Y)}),ME=W0("$ZodCIDRv6",($,Y)=>{Y.pattern??(Y.pattern=wj),X4.init($,Y),$._zod.check=(z)=>{let U=z.value.split("/");try{if(U.length!==2)throw Error();let[Q,J]=U;if(!J)throw Error();let I=Number(J);if(`${I}`!==J)throw Error();if(I<0||I>128)throw Error();new URL(`http://[${Q}]`)}catch{z.issues.push({code:"invalid_format",format:"cidrv6",input:z.value,inst:$,continue:!Y.abort})}}});NE=W0("$ZodBase64",($,Y)=>{Y.pattern??(Y.pattern=Mj),X4.init($,Y),$._zod.bag.contentEncoding="base64",$._zod.check=(z)=>{if(OE(z.value))return;z.issues.push({code:"invalid_format",format:"base64",input:z.value,inst:$,continue:!Y.abort})}});DE=W0("$ZodBase64URL",($,Y)=>{Y.pattern??(Y.pattern=oq),X4.init($,Y),$._zod.bag.contentEncoding="base64url",$._zod.check=(z)=>{if(zr(z.value))return;z.issues.push({code:"invalid_format",format:"base64url",input:z.value,inst:$,continue:!Y.abort})}}),BE=W0("$ZodE164",($,Y)=>{Y.pattern??(Y.pattern=Nj),X4.init($,Y)});PE=W0("$ZodJWT",($,Y)=>{X4.init($,Y),$._zod.check=(z)=>{if(Ur(z.value,Y.alg))return;z.issues.push({code:"invalid_format",format:"jwt",input:z.value,inst:$,continue:!Y.abort})}}),AE=W0("$ZodCustomStringFormat",($,Y)=>{X4.init($,Y),$._zod.check=(z)=>{if(Y.fn(z.value))return;z.issues.push({code:"invalid_format",format:Y.format,input:z.value,inst:$,continue:!Y.abort})}}),QV=W0("$ZodNumber",($,Y)=>{q1.init($,Y),$._zod.pattern=$._zod.bag.pattern??$G,$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=Number(z.value)}catch(I){}let Q=z.value;if(typeof Q==="number"&&!Number.isNaN(Q)&&Number.isFinite(Q))return z;let J=typeof Q==="number"?Number.isNaN(Q)?"NaN":!Number.isFinite(Q)?"Infinity":void 0:void 0;return z.issues.push({expected:"number",code:"invalid_type",input:Q,inst:$,...J?{received:J}:{}}),z}}),TE=W0("$ZodNumberFormat",($,Y)=>{Sj.init($,Y),QV.init($,Y)}),UG=W0("$ZodBoolean",($,Y)=>{q1.init($,Y),$._zod.pattern=Ej,$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=Boolean(z.value)}catch(J){}let Q=z.value;if(typeof Q==="boolean")return z;return z.issues.push({expected:"boolean",code:"invalid_type",input:Q,inst:$}),z}}),JV=W0("$ZodBigInt",($,Y)=>{q1.init($,Y),$._zod.pattern=Tj,$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=BigInt(z.value)}catch(Q){}if(typeof z.value==="bigint")return z;return z.issues.push({expected:"bigint",code:"invalid_type",input:z.value,inst:$}),z}}),jE=W0("$ZodBigIntFormat",($,Y)=>{gj.init($,Y),JV.init($,Y)}),EE=W0("$ZodSymbol",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(typeof Q==="symbol")return z;return z.issues.push({expected:"symbol",code:"invalid_type",input:Q,inst:$}),z}}),CE=W0("$ZodUndefined",($,Y)=>{q1.init($,Y),$._zod.pattern=Rj,$._zod.values=new Set([void 0]),$._zod.parse=(z,U)=>{let Q=z.value;if(typeof Q>"u")return z;return z.issues.push({expected:"undefined",code:"invalid_type",input:Q,inst:$}),z}}),RE=W0("$ZodNull",($,Y)=>{q1.init($,Y),$._zod.pattern=Cj,$._zod.values=new Set([null]),$._zod.parse=(z,U)=>{let Q=z.value;if(Q===null)return z;return z.issues.push({expected:"null",code:"invalid_type",input:Q,inst:$}),z}}),_E=W0("$ZodAny",($,Y)=>{q1.init($,Y),$._zod.parse=(z)=>z}),vE=W0("$ZodUnknown",($,Y)=>{q1.init($,Y),$._zod.parse=(z)=>z}),hE=W0("$ZodNever",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{return z.issues.push({expected:"never",code:"invalid_type",input:z.value,inst:$}),z}}),SE=W0("$ZodVoid",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(typeof Q>"u")return z;return z.issues.push({expected:"void",code:"invalid_type",input:Q,inst:$}),z}}),gE=W0("$ZodDate",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=new Date(z.value)}catch(K){}let Q=z.value,J=Q instanceof Date;if(J&&!Number.isNaN(Q.getTime()))return z;return z.issues.push({expected:"date",code:"invalid_type",input:Q,...J?{received:"Invalid Date"}:{},inst:$}),z}});yE=W0("$ZodArray",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!Array.isArray(Q))return z.issues.push({expected:"array",code:"invalid_type",input:Q,inst:$}),z;z.value=Array(Q.length);let J=[];for(let I=0;Iio(W,z,I)));else io(G,z,I)}if(J.length)return Promise.all(J).then(()=>z);return z}});Ir=W0("$ZodObject",($,Y)=>{if(q1.init($,Y),!Object.getOwnPropertyDescriptor(Y,"shape")?.get){let K=Y.shape;Object.defineProperty(Y,"shape",{get:()=>{let G={...K};return Object.defineProperty(Y,"shape",{value:G}),G}})}let U=uU(()=>Qr(Y));T1($._zod,"propValues",()=>{let K=Y.shape,G={};for(let W in K){let H=K[W]._zod;if(H.values){G[W]??(G[W]=new Set);for(let X of H.values)G[W].add(X)}}return G});let Q=PY,J=Y.catchall,I;$._zod.parse=(K,G)=>{I??(I=U.value);let W=K.value;if(!Q(W))return K.issues.push({expected:"object",code:"invalid_type",input:W,inst:$}),K;K.value={};let H=[],X=I.shape;for(let Z of I.keys){let q=X[Z],V=q._zod.optin==="optional",F=q._zod.optout==="optional",M=q._zod.run({value:W[Z],issues:[]},G);if(M instanceof Promise)H.push(M.then((w)=>UV(w,K,Z,W,V,F)));else UV(M,K,Z,W,V,F)}if(!J)return H.length?Promise.all(H).then(()=>K):K;return Jr(H,W,K,G,U.value,$)}}),kE=W0("$ZodObjectJIT",($,Y)=>{Ir.init($,Y);let z=$._zod.parse,U=uU(()=>Qr(Y)),Q=(Z)=>{let q=new eq(["shape","payload","ctx"]),V=U.value,F=(D)=>{let N=kq(D);return`shape[${N}]._zod.run({ value: input[${N}], issues: [] }, ctx)`};q.write("const input = payload.value;");let M=Object.create(null),w=0;for(let D of V.keys)M[D]=`key_${w++}`;q.write("const newResult = {};");for(let D of V.keys){let N=M[D],A=kq(D),T=Z[D],B=T?._zod?.optin==="optional",j=T?._zod?.optout==="optional";if(q.write(`const ${N} = ${F(D)};`),B&&j)q.write(` - if (${N}.issues.length) { - if (${A} in input) { - payload.issues = payload.issues.concat(${N}.issues.map(iss => ({ +`))}}var tj;var ej=o(()=>{tj={major:4,minor:4,patch:3}});function DE($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}function zr($){if(!rq.test($))return!1;let Y=$.replace(/[-_]/g,(U)=>U==="-"?"+":"/"),z=Y.padEnd(Math.ceil(Y.length/4)*4,"=");return DE(z)}function Ur($,Y=null){try{let z=$.split(".");if(z.length!==3)return!1;let[U]=z;if(!U)return!1;let Q=JSON.parse(atob(U));if("typ"in Q&&Q?.typ!=="JWT")return!1;if(!Q.alg)return!1;if(Y&&(!("alg"in Q)||Q.alg!==Y))return!1;return!0}catch{return!1}}function io($,Y,z){if($.issues.length)Y.issues.push(...f8(z,$.issues));Y.value[z]=$.value}function QV($,Y,z,U,Q,J){let I=z in U;if($.issues.length){if(Q&&J&&!I)return;Y.issues.push(...f8(z,$.issues))}if(!I&&!Q){if(!$.issues.length)Y.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[z]});return}if($.value===void 0){if(I)Y.value[z]=void 0}else Y.value[z]=$.value}function Qr($){let Y=Object.keys($.shape);for(let U of Y)if(!$.shape?.[U]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${U}": expected a Zod schema`);let z=rT($.shape);return{...$,keys:Y,keySet:new Set(Y),numKeys:Y.length,optionalKeys:new Set(z)}}function Jr($,Y,z,U,Q,J){let I=[],K=Q.keySet,G=Q.catchall._zod,W=G.def.type,H=G.optin==="optional",X=G.optout==="optional";for(let Z in Y){if(Z==="__proto__")continue;if(K.has(Z))continue;if(W==="never"){I.push(Z);continue}let q=G.run({value:Y[Z],issues:[]},U);if(q instanceof Promise)$.push(q.then((V)=>QV(V,z,Z,Y,H,X)));else QV(q,z,Z,Y,H,X)}if(I.length)z.issues.push({code:"unrecognized_keys",keys:I,input:Y,inst:J});if(!$.length)return z;return Promise.all($).then(()=>{return z})}function co($,Y,z,U){for(let J of $)if(J.issues.length===0)return Y.value=J.value,Y;let Q=$.filter((J)=>!K3(J));if(Q.length===1)return Y.value=Q[0].value,Q[0];return Y.issues.push({code:"invalid_union",input:Y.value,inst:z,errors:$.map((J)=>J.issues.map((I)=>B8(I,U,a4())))}),Y}function no($,Y,z,U){let Q=$.filter((J)=>J.issues.length===0);if(Q.length===1)return Y.value=Q[0].value,Y;if(Q.length===0)Y.issues.push({code:"invalid_union",input:Y.value,inst:z,errors:$.map((J)=>J.issues.map((I)=>B8(I,U,a4())))});else Y.issues.push({code:"invalid_union",input:Y.value,inst:z,errors:[],inclusive:!1});return Y}function $E($,Y){if($===Y)return{valid:!0,data:$};if($ instanceof Date&&Y instanceof Date&&+$===+Y)return{valid:!0,data:$};if(I3($)&&I3(Y)){let z=Object.keys(Y),U=Object.keys($).filter((J)=>z.indexOf(J)!==-1),Q={...$,...Y};for(let J of U){let I=$E($[J],Y[J]);if(!I.valid)return{valid:!1,mergeErrorPath:[J,...I.mergeErrorPath]};Q[J]=I.data}return{valid:!0,data:Q}}if(Array.isArray($)&&Array.isArray(Y)){if($.length!==Y.length)return{valid:!1,mergeErrorPath:[]};let z=[];for(let U=0;U<$.length;U++){let Q=$[U],J=Y[U],I=$E(Q,J);if(!I.valid)return{valid:!1,mergeErrorPath:[U,...I.mergeErrorPath]};z.push(I.data)}return{valid:!0,data:z}}return{valid:!1,mergeErrorPath:[]}}function po($,Y,z){let U=new Map,Q;for(let K of Y.issues)if(K.code==="unrecognized_keys"){Q??(Q=K);for(let G of K.keys){if(!U.has(G))U.set(G,{});U.get(G).l=!0}}else $.issues.push(K);for(let K of z.issues)if(K.code==="unrecognized_keys")for(let G of K.keys){if(!U.has(G))U.set(G,{});U.get(G).r=!0}else $.issues.push(K);let J=[...U].filter(([,K])=>K.l&&K.r).map(([K])=>K);if(J.length&&Q)$.issues.push({...Q,keys:J});if(K3($))return $;let I=$E(Y.value,z.value);if(!I.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(I.mergeErrorPath)}`);return $.value=I.data,$}function mo($,Y){for(let z=$.length-1;z>=0;z--)if($[z]._zod[Y]!=="optional")return z+1;return 0}function lo($,Y,z){if($.issues.length)Y.issues.push(...f8(z,$.issues));Y.value[z]=$.value}function oo($,Y,z,U,Q){for(let J=0;J=Q){Y.value.length=J;break}Y.issues.push(...f8(J,I.issues))}Y.value[J]=I.value}for(let J=Y.value.length-1;J>=U.length;J--)if(z[J]._zod.optout==="optional"&&Y.value[J]===void 0)Y.value.length=J;else break;return Y}function ro($,Y,z,U,Q,J,I){if($.issues.length)if(oK.has(typeof U))z.issues.push(...f8(U,$.issues));else z.issues.push({code:"invalid_key",origin:"map",input:Q,inst:J,issues:$.issues.map((K)=>B8(K,I,a4()))});if(Y.issues.length)if(oK.has(typeof U))z.issues.push(...f8(U,Y.issues));else z.issues.push({origin:"map",code:"invalid_element",input:Q,inst:J,key:U,issues:Y.issues.map((K)=>B8(K,I,a4()))});z.value.set($.value,Y.value)}function so($,Y){if($.issues.length)Y.issues.push(...$.issues);Y.value.add($.value)}function ao($,Y){if(Y===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}function to($,Y){if($.value===void 0)$.value=Y.defaultValue;return $}function eo($,Y){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:Y});return $}function YV($,Y,z){if($.issues.length)return $.aborted=!0,$;return Y._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},z)}function zV($,Y,z){if($.issues.length)return $.aborted=!0,$;if((z.direction||"forward")==="forward"){let Q=Y.transform($.value,$);if(Q instanceof Promise)return Q.then((J)=>UV($,J,Y.out,z));return UV($,Q,Y.out,z)}else{let Q=Y.reverseTransform($.value,$);if(Q instanceof Promise)return Q.then((J)=>UV($,J,Y.in,z));return UV($,Q,Y.in,z)}}function UV($,Y,z,U){if($.issues.length)return $.aborted=!0,$;return z._zod.run({value:Y,issues:$.issues},U)}function $r($){return $.value=Object.freeze($.value),$}function Yr($,Y,z,U){if(!$){let Q={code:"custom",input:z,inst:U,path:[...U._zod.def.path??[]],continue:!U._zod.def.abort};if(U._zod.def.params)Q.params=U._zod.def.params;Y.issues.push(bU(Q))}}var q1,TY,X4,YE,zE,UE,QE,JE,IE,KE,GE,WE,HE,XE,ZE,qE,VE,LE,FE,wE,ME,OE,NE,BE,PE,AE,TE,jE,JV,EE,UG,IV,CE,RE,_E,vE,hE,SE,gE,yE,kE,xE,Ir,fE,QG,uE,bE,iE,KV,cE,nE,pE,dE,mE,lE,oE,GV,rE,sE,aE,tE,eE,$C,YC,zC,WV,JG,UC,QC,JC,IC,KC,GC,WC;var HC=o(()=>{eq();BY();Qj();sq();$1();ej();$1();q1=W0("$ZodType",($,Y)=>{var z;$??($={}),$._zod.def=Y,$._zod.bag=$._zod.bag||{},$._zod.version=tj;let U=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))U.unshift($);for(let Q of U)for(let J of Q._zod.onattach)J($);if(U.length===0)(z=$._zod).deferred??(z.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let Q=(I,K,G)=>{let W=K3(I),H;for(let X of K){if(X._zod.def.when){if(tT(I))continue;if(!X._zod.def.when(I))continue}else if(W)continue;let Z=I.issues.length,q=X._zod.check(I);if(q instanceof Promise&&G?.async===!1)throw new f5;if(H||q instanceof Promise)H=(H??Promise.resolve()).then(async()=>{if(await q,I.issues.length===Z)return;if(!W)W=K3(I,Z)});else{if(I.issues.length===Z)continue;if(!W)W=K3(I,Z)}}if(H)return H.then(()=>{return I});return I},J=(I,K,G)=>{if(K3(I))return I.aborted=!0,I;let W=Q(K,U,G);if(W instanceof Promise){if(G.async===!1)throw new f5;return W.then((H)=>$._zod.parse(H,G))}return $._zod.parse(W,G)};$._zod.run=(I,K)=>{if(K.skipChecks)return $._zod.parse(I,K);if(K.direction==="backward"){let W=$._zod.parse({value:I.value,issues:[]},{...K,skipChecks:!0});if(W instanceof Promise)return W.then((H)=>{return J(H,I,K)});return J(W,I,K)}let G=$._zod.parse(I,K);if(G instanceof Promise){if(K.async===!1)throw new f5;return G.then((W)=>Q(W,U,K))}return Q(G,U,K)}}T1($,"~standard",()=>({validate:(Q)=>{try{let J=zj($,Q);return J.success?{value:J.data}:{issues:J.error?.issues}}catch(J){return Uj($,Q).then((I)=>I.success?{value:I.data}:{issues:I.error?.issues})}},vendor:"zod",version:1}))}),TY=W0("$ZodString",($,Y)=>{q1.init($,Y),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??jj($._zod.bag),$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=String(z.value)}catch(Q){}if(typeof z.value==="string")return z;return z.issues.push({expected:"string",code:"invalid_type",input:z.value,inst:$}),z}}),X4=W0("$ZodStringFormat",($,Y)=>{dU.init($,Y),TY.init($,Y)}),YE=W0("$ZodGUID",($,Y)=>{Y.pattern??(Y.pattern=Zj),X4.init($,Y)}),zE=W0("$ZodUUID",($,Y)=>{if(Y.version){let U={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[Y.version];if(U===void 0)throw Error(`Invalid UUID version: "${Y.version}"`);Y.pattern??(Y.pattern=AY(U))}else Y.pattern??(Y.pattern=AY());X4.init($,Y)}),UE=W0("$ZodEmail",($,Y)=>{Y.pattern??(Y.pattern=qj),X4.init($,Y)}),QE=W0("$ZodURL",($,Y)=>{X4.init($,Y),$._zod.check=(z)=>{try{let U=z.value.trim();if(!Y.normalize&&Y.protocol?.source===Dj.source){if(!/^https?:\/\//i.test(U)){z.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:z.value,inst:$,continue:!Y.abort});return}}let Q=new URL(U);if(Y.hostname){if(Y.hostname.lastIndex=0,!Y.hostname.test(Q.hostname))z.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Y.hostname.source,input:z.value,inst:$,continue:!Y.abort})}if(Y.protocol){if(Y.protocol.lastIndex=0,!Y.protocol.test(Q.protocol.endsWith(":")?Q.protocol.slice(0,-1):Q.protocol))z.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:Y.protocol.source,input:z.value,inst:$,continue:!Y.abort})}if(Y.normalize)z.value=Q.href;else z.value=U;return}catch(U){z.issues.push({code:"invalid_format",format:"url",input:z.value,inst:$,continue:!Y.abort})}}}),JE=W0("$ZodEmoji",($,Y)=>{Y.pattern??(Y.pattern=Vj()),X4.init($,Y)}),IE=W0("$ZodNanoID",($,Y)=>{Y.pattern??(Y.pattern=Hj),X4.init($,Y)}),KE=W0("$ZodCUID",($,Y)=>{Y.pattern??(Y.pattern=Jj),X4.init($,Y)}),GE=W0("$ZodCUID2",($,Y)=>{Y.pattern??(Y.pattern=Ij),X4.init($,Y)}),WE=W0("$ZodULID",($,Y)=>{Y.pattern??(Y.pattern=Kj),X4.init($,Y)}),HE=W0("$ZodXID",($,Y)=>{Y.pattern??(Y.pattern=Gj),X4.init($,Y)}),XE=W0("$ZodKSUID",($,Y)=>{Y.pattern??(Y.pattern=Wj),X4.init($,Y)}),ZE=W0("$ZodISODateTime",($,Y)=>{Y.pattern??(Y.pattern=Tj(Y)),X4.init($,Y)}),qE=W0("$ZodISODate",($,Y)=>{Y.pattern??(Y.pattern=Pj),X4.init($,Y)}),VE=W0("$ZodISOTime",($,Y)=>{Y.pattern??(Y.pattern=Aj(Y)),X4.init($,Y)}),LE=W0("$ZodISODuration",($,Y)=>{Y.pattern??(Y.pattern=Xj),X4.init($,Y)}),FE=W0("$ZodIPv4",($,Y)=>{Y.pattern??(Y.pattern=Lj),X4.init($,Y),$._zod.bag.format="ipv4"}),wE=W0("$ZodIPv6",($,Y)=>{Y.pattern??(Y.pattern=Fj),X4.init($,Y),$._zod.bag.format="ipv6",$._zod.check=(z)=>{try{new URL(`http://[${z.value}]`)}catch{z.issues.push({code:"invalid_format",format:"ipv6",input:z.value,inst:$,continue:!Y.abort})}}}),ME=W0("$ZodMAC",($,Y)=>{Y.pattern??(Y.pattern=wj(Y.delimiter)),X4.init($,Y),$._zod.bag.format="mac"}),OE=W0("$ZodCIDRv4",($,Y)=>{Y.pattern??(Y.pattern=Mj),X4.init($,Y)}),NE=W0("$ZodCIDRv6",($,Y)=>{Y.pattern??(Y.pattern=Oj),X4.init($,Y),$._zod.check=(z)=>{let U=z.value.split("/");try{if(U.length!==2)throw Error();let[Q,J]=U;if(!J)throw Error();let I=Number(J);if(`${I}`!==J)throw Error();if(I<0||I>128)throw Error();new URL(`http://[${Q}]`)}catch{z.issues.push({code:"invalid_format",format:"cidrv6",input:z.value,inst:$,continue:!Y.abort})}}});BE=W0("$ZodBase64",($,Y)=>{Y.pattern??(Y.pattern=Nj),X4.init($,Y),$._zod.bag.contentEncoding="base64",$._zod.check=(z)=>{if(DE(z.value))return;z.issues.push({code:"invalid_format",format:"base64",input:z.value,inst:$,continue:!Y.abort})}});PE=W0("$ZodBase64URL",($,Y)=>{Y.pattern??(Y.pattern=rq),X4.init($,Y),$._zod.bag.contentEncoding="base64url",$._zod.check=(z)=>{if(zr(z.value))return;z.issues.push({code:"invalid_format",format:"base64url",input:z.value,inst:$,continue:!Y.abort})}}),AE=W0("$ZodE164",($,Y)=>{Y.pattern??(Y.pattern=Bj),X4.init($,Y)});TE=W0("$ZodJWT",($,Y)=>{X4.init($,Y),$._zod.check=(z)=>{if(Ur(z.value,Y.alg))return;z.issues.push({code:"invalid_format",format:"jwt",input:z.value,inst:$,continue:!Y.abort})}}),jE=W0("$ZodCustomStringFormat",($,Y)=>{X4.init($,Y),$._zod.check=(z)=>{if(Y.fn(z.value))return;z.issues.push({code:"invalid_format",format:Y.format,input:z.value,inst:$,continue:!Y.abort})}}),JV=W0("$ZodNumber",($,Y)=>{q1.init($,Y),$._zod.pattern=$._zod.bag.pattern??$G,$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=Number(z.value)}catch(I){}let Q=z.value;if(typeof Q==="number"&&!Number.isNaN(Q)&&Number.isFinite(Q))return z;let J=typeof Q==="number"?Number.isNaN(Q)?"NaN":!Number.isFinite(Q)?"Infinity":void 0:void 0;return z.issues.push({expected:"number",code:"invalid_type",input:Q,inst:$,...J?{received:J}:{}}),z}}),EE=W0("$ZodNumberFormat",($,Y)=>{yj.init($,Y),JV.init($,Y)}),UG=W0("$ZodBoolean",($,Y)=>{q1.init($,Y),$._zod.pattern=Rj,$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=Boolean(z.value)}catch(J){}let Q=z.value;if(typeof Q==="boolean")return z;return z.issues.push({expected:"boolean",code:"invalid_type",input:Q,inst:$}),z}}),IV=W0("$ZodBigInt",($,Y)=>{q1.init($,Y),$._zod.pattern=Ej,$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=BigInt(z.value)}catch(Q){}if(typeof z.value==="bigint")return z;return z.issues.push({expected:"bigint",code:"invalid_type",input:z.value,inst:$}),z}}),CE=W0("$ZodBigIntFormat",($,Y)=>{kj.init($,Y),IV.init($,Y)}),RE=W0("$ZodSymbol",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(typeof Q==="symbol")return z;return z.issues.push({expected:"symbol",code:"invalid_type",input:Q,inst:$}),z}}),_E=W0("$ZodUndefined",($,Y)=>{q1.init($,Y),$._zod.pattern=vj,$._zod.values=new Set([void 0]),$._zod.parse=(z,U)=>{let Q=z.value;if(typeof Q>"u")return z;return z.issues.push({expected:"undefined",code:"invalid_type",input:Q,inst:$}),z}}),vE=W0("$ZodNull",($,Y)=>{q1.init($,Y),$._zod.pattern=_j,$._zod.values=new Set([null]),$._zod.parse=(z,U)=>{let Q=z.value;if(Q===null)return z;return z.issues.push({expected:"null",code:"invalid_type",input:Q,inst:$}),z}}),hE=W0("$ZodAny",($,Y)=>{q1.init($,Y),$._zod.parse=(z)=>z}),SE=W0("$ZodUnknown",($,Y)=>{q1.init($,Y),$._zod.parse=(z)=>z}),gE=W0("$ZodNever",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{return z.issues.push({expected:"never",code:"invalid_type",input:z.value,inst:$}),z}}),yE=W0("$ZodVoid",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(typeof Q>"u")return z;return z.issues.push({expected:"void",code:"invalid_type",input:Q,inst:$}),z}}),kE=W0("$ZodDate",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{if(Y.coerce)try{z.value=new Date(z.value)}catch(K){}let Q=z.value,J=Q instanceof Date;if(J&&!Number.isNaN(Q.getTime()))return z;return z.issues.push({expected:"date",code:"invalid_type",input:Q,...J?{received:"Invalid Date"}:{},inst:$}),z}});xE=W0("$ZodArray",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!Array.isArray(Q))return z.issues.push({expected:"array",code:"invalid_type",input:Q,inst:$}),z;z.value=Array(Q.length);let J=[];for(let I=0;Iio(W,z,I)));else io(G,z,I)}if(J.length)return Promise.all(J).then(()=>z);return z}});Ir=W0("$ZodObject",($,Y)=>{if(q1.init($,Y),!Object.getOwnPropertyDescriptor(Y,"shape")?.get){let K=Y.shape;Object.defineProperty(Y,"shape",{get:()=>{let G={...K};return Object.defineProperty(Y,"shape",{value:G}),G}})}let U=uU(()=>Qr(Y));T1($._zod,"propValues",()=>{let K=Y.shape,G={};for(let W in K){let H=K[W]._zod;if(H.values){G[W]??(G[W]=new Set);for(let X of H.values)G[W].add(X)}}return G});let Q=PY,J=Y.catchall,I;$._zod.parse=(K,G)=>{I??(I=U.value);let W=K.value;if(!Q(W))return K.issues.push({expected:"object",code:"invalid_type",input:W,inst:$}),K;K.value={};let H=[],X=I.shape;for(let Z of I.keys){let q=X[Z],V=q._zod.optin==="optional",F=q._zod.optout==="optional",M=q._zod.run({value:W[Z],issues:[]},G);if(M instanceof Promise)H.push(M.then((w)=>QV(w,K,Z,W,V,F)));else QV(M,K,Z,W,V,F)}if(!J)return H.length?Promise.all(H).then(()=>K):K;return Jr(H,W,K,G,U.value,$)}}),fE=W0("$ZodObjectJIT",($,Y)=>{Ir.init($,Y);let z=$._zod.parse,U=uU(()=>Qr(Y)),Q=(Z)=>{let q=new $V(["shape","payload","ctx"]),V=U.value,F=(N)=>{let D=xq(N);return`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`};q.write("const input = payload.value;");let M=Object.create(null),w=0;for(let N of V.keys)M[N]=`key_${w++}`;q.write("const newResult = {};");for(let N of V.keys){let D=M[N],T=xq(N),A=Z[N],B=A?._zod?.optin==="optional",j=A?._zod?.optout==="optional";if(q.write(`const ${D} = ${F(N)};`),B&&j)q.write(` + if (${D}.issues.length) { + if (${T} in input) { + payload.issues = payload.issues.concat(${D}.issues.map(iss => ({ ...iss, - path: iss.path ? [${A}, ...iss.path] : [${A}] + path: iss.path ? [${T}, ...iss.path] : [${T}] }))); } } - if (${N}.value === undefined) { - if (${A} in input) { - newResult[${A}] = undefined; + if (${D}.value === undefined) { + if (${T} in input) { + newResult[${T}] = undefined; } } else { - newResult[${A}] = ${N}.value; + newResult[${T}] = ${D}.value; } `);else if(!B)q.write(` - const ${N}_present = ${A} in input; - if (${N}.issues.length) { - payload.issues = payload.issues.concat(${N}.issues.map(iss => ({ + const ${D}_present = ${T} in input; + if (${D}.issues.length) { + payload.issues = payload.issues.concat(${D}.issues.map(iss => ({ ...iss, - path: iss.path ? [${A}, ...iss.path] : [${A}] + path: iss.path ? [${T}, ...iss.path] : [${T}] }))); } - if (!${N}_present && !${N}.issues.length) { + if (!${D}_present && !${D}.issues.length) { payload.issues.push({ code: "invalid_type", expected: "nonoptional", input: undefined, - path: [${A}] + path: [${T}] }); } - if (${N}_present) { - if (${N}.value === undefined) { - newResult[${A}] = undefined; + if (${D}_present) { + if (${D}.value === undefined) { + newResult[${T}] = undefined; } else { - newResult[${A}] = ${N}.value; + newResult[${T}] = ${D}.value; } } `);else q.write(` - if (${N}.issues.length) { - payload.issues = payload.issues.concat(${N}.issues.map(iss => ({ + if (${D}.issues.length) { + payload.issues = payload.issues.concat(${D}.issues.map(iss => ({ ...iss, - path: iss.path ? [${A}, ...iss.path] : [${A}] + path: iss.path ? [${T}, ...iss.path] : [${T}] }))); } - if (${N}.value === undefined) { - if (${A} in input) { - newResult[${A}] = undefined; + if (${D}.value === undefined) { + if (${T} in input) { + newResult[${T}] = undefined; } } else { - newResult[${A}] = ${N}.value; + newResult[${T}] = ${D}.value; } - `)}q.write("payload.value = newResult;"),q.write("return payload;");let O=q.compile();return(D,N)=>O(Z,D,N)},J,I=PY,K=!NY.jitless,W=K&&pT.value,H=Y.catchall,X;$._zod.parse=(Z,q)=>{X??(X=U.value);let V=Z.value;if(!I(V))return Z.issues.push({expected:"object",code:"invalid_type",input:V,inst:$}),Z;if(K&&W&&q?.async===!1&&q.jitless!==!0){if(!J)J=Q(Y.shape);if(Z=J(Z,q),!H)return Z;return Jr([],V,Z,q,X,$)}return z(Z,q)}});QG=W0("$ZodUnion",($,Y)=>{q1.init($,Y),T1($._zod,"optin",()=>Y.options.some((U)=>U._zod.optin==="optional")?"optional":void 0),T1($._zod,"optout",()=>Y.options.some((U)=>U._zod.optout==="optional")?"optional":void 0),T1($._zod,"values",()=>{if(Y.options.every((U)=>U._zod.values))return new Set(Y.options.flatMap((U)=>Array.from(U._zod.values)));return}),T1($._zod,"pattern",()=>{if(Y.options.every((U)=>U._zod.pattern)){let U=Y.options.map((Q)=>Q._zod.pattern);return new RegExp(`^(${U.map((Q)=>lK(Q.source)).join("|")})$`)}return});let z=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(U,Q)=>{if(z)return z(U,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:U.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else{if(G.issues.length===0)return G;I.push(G)}}if(!J)return co(I,U,$,Q);return Promise.all(I).then((K)=>{return co(K,U,$,Q)})}});xE=W0("$ZodXor",($,Y)=>{QG.init($,Y),Y.inclusive=!1;let z=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(U,Q)=>{if(z)return z(U,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:U.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else I.push(G)}if(!J)return no(I,U,$,Q);return Promise.all(I).then((K)=>{return no(K,U,$,Q)})}}),fE=W0("$ZodDiscriminatedUnion",($,Y)=>{Y.inclusive=!1,QG.init($,Y);let z=$._zod.parse;T1($._zod,"propValues",()=>{let Q={};for(let J of Y.options){let I=J._zod.propValues;if(!I||Object.keys(I).length===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(J)}"`);for(let[K,G]of Object.entries(I)){if(!Q[K])Q[K]=new Set;for(let W of G)Q[K].add(W)}}return Q});let U=uU(()=>{let Q=Y.options,J=new Map;for(let I of Q){let K=I._zod.propValues?.[Y.discriminator];if(!K||K.size===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(I)}"`);for(let G of K){if(J.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);J.set(G,I)}}return J});$._zod.parse=(Q,J)=>{let I=Q.value;if(!PY(I))return Q.issues.push({code:"invalid_type",expected:"object",input:I,inst:$}),Q;let K=U.value.get(I?.[Y.discriminator]);if(K)return K._zod.run(Q,J);if(Y.unionFallback||J.direction==="backward")return z(Q,J);return Q.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:Y.discriminator,options:Array.from(U.value.keys()),input:I,path:[Y.discriminator],inst:$}),Q}}),uE=W0("$ZodIntersection",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value,J=Y.left._zod.run({value:Q,issues:[]},U),I=Y.right._zod.run({value:Q,issues:[]},U);if(J instanceof Promise||I instanceof Promise)return Promise.all([J,I]).then(([G,W])=>{return po(z,G,W)});return po(z,J,I)}});IV=W0("$ZodTuple",($,Y)=>{q1.init($,Y);let z=Y.items;$._zod.parse=(U,Q)=>{let J=U.value;if(!Array.isArray(J))return U.issues.push({input:J,inst:$,expected:"tuple",code:"invalid_type"}),U;U.value=[];let I=[],K=mo(z,"optin"),G=mo(z,"optout");if(!Y.rest){if(J.lengthz.length)U.issues.push({code:"too_big",maximum:z.length,inclusive:!0,input:J,inst:$,origin:"array"})}let W=Array(z.length);for(let H=0;H{W[H]=Z}));else W[H]=X}if(Y.rest){let H=z.length-1,X=J.slice(z.length);for(let Z of X){H++;let q=Y.rest._zod.run({value:Z,issues:[]},Q);if(q instanceof Promise)I.push(q.then((V)=>lo(V,U,H)));else lo(q,U,H)}}if(I.length)return Promise.all(I).then(()=>oo(W,U,z,J,G));return oo(W,U,z,J,G)}});bE=W0("$ZodRecord",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!I3(Q))return z.issues.push({expected:"record",code:"invalid_type",input:Q,inst:$}),z;let J=[],I=Y.keyType._zod.values;if(I){z.value={};let K=new Set;for(let W of I)if(typeof W==="string"||typeof W==="number"||typeof W==="symbol"){K.add(typeof W==="number"?W.toString():W);let H=Y.keyType._zod.run({value:W,issues:[]},U);if(H instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(H.issues.length){z.issues.push({code:"invalid_key",origin:"record",issues:H.issues.map((q)=>B8(q,U,a4())),input:W,path:[W],inst:$});continue}let X=H.value,Z=Y.valueType._zod.run({value:Q[W],issues:[]},U);if(Z instanceof Promise)J.push(Z.then((q)=>{if(q.issues.length)z.issues.push(...f8(W,q.issues));z.value[X]=q.value}));else{if(Z.issues.length)z.issues.push(...f8(W,Z.issues));z.value[X]=Z.value}}let G;for(let W in Q)if(!K.has(W))G=G??[],G.push(W);if(G&&G.length>0)z.issues.push({code:"unrecognized_keys",input:Q,inst:$,keys:G})}else{z.value={};for(let K of Reflect.ownKeys(Q)){if(K==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(Q,K))continue;let G=Y.keyType._zod.run({value:K,issues:[]},U);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof K==="string"&&$G.test(K)&&G.issues.length){let X=Y.keyType._zod.run({value:Number(K),issues:[]},U);if(X instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(X.issues.length===0)G=X}if(G.issues.length){if(Y.mode==="loose")z.value[K]=Q[K];else z.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((X)=>B8(X,U,a4())),input:K,path:[K],inst:$});continue}let H=Y.valueType._zod.run({value:Q[K],issues:[]},U);if(H instanceof Promise)J.push(H.then((X)=>{if(X.issues.length)z.issues.push(...f8(K,X.issues));z.value[G.value]=X.value}));else{if(H.issues.length)z.issues.push(...f8(K,H.issues));z.value[G.value]=H.value}}}if(J.length)return Promise.all(J).then(()=>z);return z}}),iE=W0("$ZodMap",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!(Q instanceof Map))return z.issues.push({expected:"map",code:"invalid_type",input:Q,inst:$}),z;let J=[];z.value=new Map;for(let[I,K]of Q){let G=Y.keyType._zod.run({value:I,issues:[]},U),W=Y.valueType._zod.run({value:K,issues:[]},U);if(G instanceof Promise||W instanceof Promise)J.push(Promise.all([G,W]).then(([H,X])=>{ro(H,X,z,I,Q,$,U)}));else ro(G,W,z,I,Q,$,U)}if(J.length)return Promise.all(J).then(()=>z);return z}});cE=W0("$ZodSet",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!(Q instanceof Set))return z.issues.push({input:Q,inst:$,expected:"set",code:"invalid_type"}),z;let J=[];z.value=new Set;for(let I of Q){let K=Y.valueType._zod.run({value:I,issues:[]},U);if(K instanceof Promise)J.push(K.then((G)=>so(G,z)));else so(K,z)}if(J.length)return Promise.all(J).then(()=>z);return z}});nE=W0("$ZodEnum",($,Y)=>{q1.init($,Y);let z=mK(Y.entries),U=new Set(z);$._zod.values=U,$._zod.pattern=new RegExp(`^(${z.filter((Q)=>oK.has(typeof Q)).map((Q)=>typeof Q==="string"?N$(Q):Q.toString()).join("|")})$`),$._zod.parse=(Q,J)=>{let I=Q.value;if(U.has(I))return Q;return Q.issues.push({code:"invalid_value",values:z,input:I,inst:$}),Q}}),pE=W0("$ZodLiteral",($,Y)=>{if(q1.init($,Y),Y.values.length===0)throw Error("Cannot create literal schema with no valid values");let z=new Set(Y.values);$._zod.values=z,$._zod.pattern=new RegExp(`^(${Y.values.map((U)=>typeof U==="string"?N$(U):U?N$(U.toString()):String(U)).join("|")})$`),$._zod.parse=(U,Q)=>{let J=U.value;if(z.has(J))return U;return U.issues.push({code:"invalid_value",values:Y.values,input:J,inst:$}),U}}),dE=W0("$ZodFile",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(Q instanceof File)return z;return z.issues.push({expected:"file",code:"invalid_type",input:Q,inst:$}),z}}),mE=W0("$ZodTransform",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.parse=(z,U)=>{if(U.direction==="backward")throw new DY($.constructor.name);let Q=Y.transform(z.value,z);if(U.async)return(Q instanceof Promise?Q:Promise.resolve(Q)).then((I)=>{return z.value=I,z.fallback=!0,z});if(Q instanceof Promise)throw new x5;return z.value=Q,z.fallback=!0,z}});KV=W0("$ZodOptional",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.optout="optional",T1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,void 0]):void 0}),T1($._zod,"pattern",()=>{let z=Y.innerType._zod.pattern;return z?new RegExp(`^(${lK(z.source)})?$`):void 0}),$._zod.parse=(z,U)=>{if(Y.innerType._zod.optin==="optional"){let Q=z.value,J=Y.innerType._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>ao(I,Q));return ao(J,Q)}if(z.value===void 0)return z;return Y.innerType._zod.run(z,U)}}),lE=W0("$ZodExactOptional",($,Y)=>{KV.init($,Y),T1($._zod,"values",()=>Y.innerType._zod.values),T1($._zod,"pattern",()=>Y.innerType._zod.pattern),$._zod.parse=(z,U)=>{return Y.innerType._zod.run(z,U)}}),oE=W0("$ZodNullable",($,Y)=>{q1.init($,Y),T1($._zod,"optin",()=>Y.innerType._zod.optin),T1($._zod,"optout",()=>Y.innerType._zod.optout),T1($._zod,"pattern",()=>{let z=Y.innerType._zod.pattern;return z?new RegExp(`^(${lK(z.source)}|null)$`):void 0}),T1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,null]):void 0}),$._zod.parse=(z,U)=>{if(z.value===null)return z;return Y.innerType._zod.run(z,U)}}),rE=W0("$ZodDefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",T1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);if(z.value===void 0)return z.value=Y.defaultValue,z;let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>to(J,Y));return to(Q,Y)}});sE=W0("$ZodPrefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",T1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);if(z.value===void 0)z.value=Y.defaultValue;return Y.innerType._zod.run(z,U)}}),aE=W0("$ZodNonOptional",($,Y)=>{q1.init($,Y),T1($._zod,"values",()=>{let z=Y.innerType._zod.values;return z?new Set([...z].filter((U)=>U!==void 0)):void 0}),$._zod.parse=(z,U)=>{let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>eo(J,$));return eo(Q,$)}});tE=W0("$ZodSuccess",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{if(U.direction==="backward")throw new DY("ZodSuccess");let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>{return z.value=J.issues.length===0,z});return z.value=Q.issues.length===0,z}}),eE=W0("$ZodCatch",($,Y)=>{q1.init($,Y),$._zod.optin="optional",T1($._zod,"optout",()=>Y.innerType._zod.optout),T1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>{if(z.value=J.value,J.issues.length)z.value=Y.catchValue({...z,error:{issues:J.issues.map((I)=>B8(I,U,a4()))},input:z.value}),z.issues=[],z.fallback=!0;return z});if(z.value=Q.value,Q.issues.length)z.value=Y.catchValue({...z,error:{issues:Q.issues.map((J)=>B8(J,U,a4()))},input:z.value}),z.issues=[],z.fallback=!0;return z}}),$C=W0("$ZodNaN",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{if(typeof z.value!=="number"||!Number.isNaN(z.value))return z.issues.push({input:z.value,inst:$,expected:"nan",code:"invalid_type"}),z;return z}}),GV=W0("$ZodPipe",($,Y)=>{q1.init($,Y),T1($._zod,"values",()=>Y.in._zod.values),T1($._zod,"optin",()=>Y.in._zod.optin),T1($._zod,"optout",()=>Y.out._zod.optout),T1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(z,U)=>{if(U.direction==="backward"){let J=Y.out._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>$V(I,Y.in,U));return $V(J,Y.in,U)}let Q=Y.in._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>$V(J,Y.out,U));return $V(Q,Y.out,U)}});JG=W0("$ZodCodec",($,Y)=>{q1.init($,Y),T1($._zod,"values",()=>Y.in._zod.values),T1($._zod,"optin",()=>Y.in._zod.optin),T1($._zod,"optout",()=>Y.out._zod.optout),T1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(z,U)=>{if((U.direction||"forward")==="forward"){let J=Y.in._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>YV(I,Y,U));return YV(J,Y,U)}else{let J=Y.out._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>YV(I,Y,U));return YV(J,Y,U)}}});YC=W0("$ZodPreprocess",($,Y)=>{GV.init($,Y)}),zC=W0("$ZodReadonly",($,Y)=>{q1.init($,Y),T1($._zod,"propValues",()=>Y.innerType._zod.propValues),T1($._zod,"values",()=>Y.innerType._zod.values),T1($._zod,"optin",()=>Y.innerType?._zod?.optin),T1($._zod,"optout",()=>Y.innerType?._zod?.optout),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then($r);return $r(Q)}});UC=W0("$ZodTemplateLiteral",($,Y)=>{q1.init($,Y);let z=[];for(let U of Y.parts)if(typeof U==="object"&&U!==null){if(!U._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...U._zod.traits].shift()}`);let Q=U._zod.pattern instanceof RegExp?U._zod.pattern.source:U._zod.pattern;if(!Q)throw Error(`Invalid template literal part: ${U._zod.traits}`);let J=Q.startsWith("^")?1:0,I=Q.endsWith("$")?Q.length-1:Q.length;z.push(Q.slice(J,I))}else if(U===null||mT.has(typeof U))z.push(N$(`${U}`));else throw Error(`Invalid template literal part: ${U}`);$._zod.pattern=new RegExp(`^${z.join("")}$`),$._zod.parse=(U,Q)=>{if(typeof U.value!=="string")return U.issues.push({input:U.value,inst:$,expected:"string",code:"invalid_type"}),U;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(U.value))return U.issues.push({input:U.value,inst:$,code:"invalid_format",format:Y.format??"template_literal",pattern:$._zod.pattern.source}),U;return U}}),QC=W0("$ZodFunction",($,Y)=>{return q1.init($,Y),$._def=Y,$._zod.def=Y,$.implement=(z)=>{if(typeof z!=="function")throw Error("implement() must be called with a function");return function(...U){let Q=$._def.input?fq($._def.input,U):U,J=Reflect.apply(z,this,Q);if($._def.output)return fq($._def.output,J);return J}},$.implementAsync=(z)=>{if(typeof z!=="function")throw Error("implementAsync() must be called with a function");return async function(...U){let Q=$._def.input?await uq($._def.input,U):U,J=await Reflect.apply(z,this,Q);if($._def.output)return await uq($._def.output,J);return J}},$._zod.parse=(z,U)=>{if(typeof z.value!=="function")return z.issues.push({code:"invalid_type",expected:"function",input:z.value,inst:$}),z;if($._def.output&&$._def.output._zod.def.type==="promise")z.value=$.implementAsync(z.value);else z.value=$.implement(z.value);return z},$.input=(...z)=>{let U=$.constructor;if(Array.isArray(z[0]))return new U({type:"function",input:new IV({type:"tuple",items:z[0],rest:z[1]}),output:$._def.output});return new U({type:"function",input:z[0],output:$._def.output})},$.output=(z)=>{return new $.constructor({type:"function",input:$._def.input,output:z})},$}),JC=W0("$ZodPromise",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{return Promise.resolve(z.value).then((Q)=>Y.innerType._zod.run({value:Q,issues:[]},U))}}),IC=W0("$ZodLazy",($,Y)=>{q1.init($,Y),T1($._zod,"innerType",()=>{let z=Y;if(!z._cachedInner)z._cachedInner=Y.getter();return z._cachedInner}),T1($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),T1($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),T1($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),T1($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(z,U)=>{return $._zod.innerType._zod.run(z,U)}}),KC=W0("$ZodCustom",($,Y)=>{V4.init($,Y),q1.init($,Y),$._zod.parse=(z,U)=>{return z},$._zod.check=(z)=>{let U=z.value,Q=Y.fn(U);if(Q instanceof Promise)return Q.then((J)=>Yr(J,z,U,$));Yr(Q,z,U,$);return}})});function WC(){return{localeError:ny0()}}var ny0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function Y(Q){return $[Q]??null}let z={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${Q.expected}، ولكن تم إدخال ${K}`;return`مدخلات غير مقبولة: يفترض إدخال ${J}، ولكن تم إدخال ${K}`}case"invalid_value":if(Q.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${v0(Q.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return` أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()} ${I.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()} ${I.unit}`;return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${Q.prefix}"`;if(J.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${J.suffix}"`;if(J.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${J.includes}"`;if(J.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${J.pattern}`;return`${z[J.format]??Q.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${Q.divisor}`;case"unrecognized_keys":return`معرف${Q.keys.length>1?"ات":""} غريب${Q.keys.length>1?"ة":""}: ${N0(Q.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${Q.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${Q.origin}`;default:return"مدخل غير مقبول"}}};var Kr=o(()=>{$1()});function HC(){return{localeError:py0()}}var py0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Yanlış dəyər: gözlənilən instanceof ${Q.expected}, daxil olan ${K}`;return`Yanlış dəyər: gözlənilən ${J}, daxil olan ${K}`}case"invalid_value":if(Q.values.length===1)return`Yanlış dəyər: gözlənilən ${v0(Q.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Yanlış mətn: "${J.prefix}" ilə başlamalıdır`;if(J.format==="ends_with")return`Yanlış mətn: "${J.suffix}" ilə bitməlidir`;if(J.format==="includes")return`Yanlış mətn: "${J.includes}" daxil olmalıdır`;if(J.format==="regex")return`Yanlış mətn: ${J.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${z[J.format]??Q.format}`}case"not_multiple_of":return`Yanlış ədəd: ${Q.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${Q.keys.length>1?"lar":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${Q.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};var Gr=o(()=>{$1()});function Wr($,Y,z,U){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return U;if(J===1)return Y;if(J>=2&&J<=4)return z;return U}function XC(){return{localeError:dy0()}}var dy0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function Y(Q){return $[Q]??null}let z={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},U={nan:"NaN",number:"лік",array:"масіў"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Няправільны ўвод: чакаўся instanceof ${Q.expected}, атрымана ${K}`;return`Няправільны ўвод: чакаўся ${J}, атрымана ${K}`}case"invalid_value":if(Q.values.length===1)return`Няправільны ўвод: чакалася ${v0(Q.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=Wr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна ${I.verb} ${J}${Q.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна быць ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=Wr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта малы: чакалася, што ${Q.origin} павінна ${I.verb} ${J}${Q.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${Q.origin} павінна быць ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${J.prefix}"`;if(J.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${J.suffix}"`;if(J.format==="includes")return`Няправільны радок: павінен змяшчаць "${J.includes}"`;if(J.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${J.pattern}`;return`Няправільны ${z[J.format]??Q.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${Q.keys.length>1?"ключы":"ключ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${Q.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${Q.origin}`;default:return"Няправільны ўвод"}}};var Hr=o(()=>{$1()});function ZC(){return{localeError:my0()}}var my0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function Y(Q){return $[Q]??null}let z={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},U={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Невалиден вход: очакван instanceof ${Q.expected}, получен ${K}`;return`Невалиден вход: очакван ${J}, получен ${K}`}case"invalid_value":if(Q.values.length===1)return`Невалиден вход: очакван ${v0(Q.values[0])}`;return`Невалидна опция: очаквано едно от ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Твърде голямо: очаква се ${Q.origin??"стойност"} да съдържа ${J}${Q.maximum.toString()} ${I.unit??"елемента"}`;return`Твърде голямо: очаква се ${Q.origin??"стойност"} да бъде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Твърде малко: очаква се ${Q.origin} да съдържа ${J}${Q.minimum.toString()} ${I.unit}`;return`Твърде малко: очаква се ${Q.origin} да бъде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Невалиден низ: трябва да започва с "${J.prefix}"`;if(J.format==="ends_with")return`Невалиден низ: трябва да завършва с "${J.suffix}"`;if(J.format==="includes")return`Невалиден низ: трябва да включва "${J.includes}"`;if(J.format==="regex")return`Невалиден низ: трябва да съвпада с ${J.pattern}`;let I="Невалиден";if(J.format==="emoji")I="Невалидно";if(J.format==="datetime")I="Невалидно";if(J.format==="date")I="Невалидна";if(J.format==="time")I="Невалидно";if(J.format==="duration")I="Невалидна";return`${I} ${z[J.format]??Q.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${Q.divisor}`;case"unrecognized_keys":return`Неразпознат${Q.keys.length>1?"и":""} ключ${Q.keys.length>1?"ове":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${Q.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${Q.origin}`;default:return"Невалиден вход"}}};var Xr=o(()=>{$1()});function qC(){return{localeError:ly0()}}var ly0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function Y(Q){return $[Q]??null}let z={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipus invàlid: s'esperava instanceof ${Q.expected}, s'ha rebut ${K}`;return`Tipus invàlid: s'esperava ${J}, s'ha rebut ${K}`}case"invalid_value":if(Q.values.length===1)return`Valor invàlid: s'esperava ${v0(Q.values[0])}`;return`Opció invàlida: s'esperava una de ${N0(Q.values," o ")}`;case"too_big":{let J=Q.inclusive?"com a màxim":"menys de",I=Y(Q.origin);if(I)return`Massa gran: s'esperava que ${Q.origin??"el valor"} contingués ${J} ${Q.maximum.toString()} ${I.unit??"elements"}`;return`Massa gran: s'esperava que ${Q.origin??"el valor"} fos ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"com a mínim":"més de",I=Y(Q.origin);if(I)return`Massa petit: s'esperava que ${Q.origin} contingués ${J} ${Q.minimum.toString()} ${I.unit}`;return`Massa petit: s'esperava que ${Q.origin} fos ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Format invàlid: ha de començar amb "${J.prefix}"`;if(J.format==="ends_with")return`Format invàlid: ha d'acabar amb "${J.suffix}"`;if(J.format==="includes")return`Format invàlid: ha d'incloure "${J.includes}"`;if(J.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${J.pattern}`;return`Format invàlid per a ${z[J.format]??Q.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${Q.divisor}`;case"unrecognized_keys":return`Clau${Q.keys.length>1?"s":""} no reconeguda${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${Q.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${Q.origin}`;default:return"Entrada invàlida"}}};var Zr=o(()=>{$1()});function VC(){return{localeError:oy0()}}var oy0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function Y(Q){return $[Q]??null}let z={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},U={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neplatný vstup: očekáváno instanceof ${Q.expected}, obdrženo ${K}`;return`Neplatný vstup: očekáváno ${J}, obdrženo ${K}`}case"invalid_value":if(Q.values.length===1)return`Neplatný vstup: očekáváno ${v0(Q.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí mít ${J}${Q.maximum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí být ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí mít ${J}${Q.minimum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí být ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neplatný řetězec: musí začínat na "${J.prefix}"`;if(J.format==="ends_with")return`Neplatný řetězec: musí končit na "${J.suffix}"`;if(J.format==="includes")return`Neplatný řetězec: musí obsahovat "${J.includes}"`;if(J.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${J.pattern}`;return`Neplatný formát ${z[J.format]??Q.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${Q.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${N0(Q.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${Q.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${Q.origin}`;default:return"Neplatný vstup"}}};var qr=o(()=>{$1()});function LC(){return{localeError:ry0()}}var ry0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},U={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldigt input: forventede instanceof ${Q.expected}, fik ${K}`;return`Ugyldigt input: forventede ${J}, fik ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig værdi: forventede ${v0(Q.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`For stor: forventede ${K??"value"} ${I.verb} ${J} ${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor: forventede ${K??"value"} havde ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`For lille: forventede ${K} ${I.verb} ${J} ${Q.minimum.toString()} ${I.unit}`;return`For lille: forventede ${K} havde ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: skal starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: skal ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: skal indeholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: skal matche mønsteret ${J.pattern}`;return`Ugyldig ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${Q.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${Q.origin}`;default:return"Ugyldigt input"}}};var Vr=o(()=>{$1()});function FC(){return{localeError:sy0()}}var sy0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function Y(Q){return $[Q]??null}let z={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},U={nan:"NaN",number:"Zahl",array:"Array"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ungültige Eingabe: erwartet instanceof ${Q.expected}, erhalten ${K}`;return`Ungültige Eingabe: erwartet ${J}, erhalten ${K}`}case"invalid_value":if(Q.values.length===1)return`Ungültige Eingabe: erwartet ${v0(Q.values[0])}`;return`Ungültige Option: erwartet eine von ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ${I.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ist`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} hat`;return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ist`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ungültiger String: muss mit "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ungültiger String: muss mit "${J.suffix}" enden`;if(J.format==="includes")return`Ungültiger String: muss "${J.includes}" enthalten`;if(J.format==="regex")return`Ungültiger String: muss dem Muster ${J.pattern} entsprechen`;return`Ungültig: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${Q.divisor} sein`;case"unrecognized_keys":return`${Q.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${Q.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${Q.origin}`;default:return"Ungültige Eingabe"}}};var Lr=o(()=>{$1()});function wC(){return{localeError:ay0()}}var ay0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function Y(Q){return $[Q]??null}let z={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(typeof Q.expected==="string"&&/^[A-Z]/.test(Q.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${Q.expected}, λήφθηκε ${K}`;return`Μη έγκυρη είσοδος: αναμενόταν ${J}, λήφθηκε ${K}`}case"invalid_value":if(Q.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${v0(Q.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να έχει ${J}${Q.maximum.toString()} ${I.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να είναι ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Πολύ μικρό: αναμενόταν ${Q.origin} να έχει ${J}${Q.minimum.toString()} ${I.unit}`;return`Πολύ μικρό: αναμενόταν ${Q.origin} να είναι ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${J.prefix}"`;if(J.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${J.suffix}"`;if(J.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${J.includes}"`;if(J.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${J.pattern}`;return`Μη έγκυρο: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${Q.divisor}`;case"unrecognized_keys":return`Άγνωστ${Q.keys.length>1?"α":"ο"} κλειδ${Q.keys.length>1?"ιά":"ί"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${Q.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${Q.origin}`;default:return"Μη έγκυρη είσοδος"}}};var Fr=o(()=>{$1()});function IG(){return{localeError:ty0()}}var ty0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;return`Invalid input: expected ${J}, received ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Invalid option: expected one of ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Too big: expected ${Q.origin??"value"} to have ${J}${Q.maximum.toString()} ${I.unit??"elements"}`;return`Too big: expected ${Q.origin??"value"} to be ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Too small: expected ${Q.origin} to have ${J}${Q.minimum.toString()} ${I.unit}`;return`Too small: expected ${Q.origin} to be ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Invalid string: must start with "${J.prefix}"`;if(J.format==="ends_with")return`Invalid string: must end with "${J.suffix}"`;if(J.format==="includes")return`Invalid string: must include "${J.includes}"`;if(J.format==="regex")return`Invalid string: must match pattern ${J.pattern}`;return`Invalid ${z[J.format]??Q.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${Q.divisor}`;case"unrecognized_keys":return`Unrecognized key${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Invalid key in ${Q.origin}`;case"invalid_union":if(Q.options&&Array.isArray(Q.options)&&Q.options.length>0)return`Invalid discriminator value. Expected ${Q.options.map((I)=>`'${I}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${Q.origin}`;default:return"Invalid input"}}};var MC=o(()=>{$1()});function OC(){return{localeError:ey0()}}var ey0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function Y(Q){return $[Q]??null}let z={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},U={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nevalida enigo: atendiĝis instanceof ${Q.expected}, riceviĝis ${K}`;return`Nevalida enigo: atendiĝis ${J}, riceviĝis ${K}`}case"invalid_value":if(Q.values.length===1)return`Nevalida enigo: atendiĝis ${v0(Q.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()} ${I.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Tro malgranda: atendiĝis ke ${Q.origin} havu ${J}${Q.minimum.toString()} ${I.unit}`;return`Tro malgranda: atendiĝis ke ${Q.origin} estu ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${J.prefix}"`;if(J.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${J.suffix}"`;if(J.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${J.includes}"`;if(J.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${J.pattern}`;return`Nevalida ${z[J.format]??Q.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${Q.divisor}`;case"unrecognized_keys":return`Nekonata${Q.keys.length>1?"j":""} ŝlosilo${Q.keys.length>1?"j":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${Q.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${Q.origin}`;default:return"Nevalida enigo"}}};var wr=o(()=>{$1()});function NC(){return{localeError:$k0()}}var $k0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function Y(Q){return $[Q]??null}let z={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},U={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrada inválida: se esperaba instanceof ${Q.expected}, recibido ${K}`;return`Entrada inválida: se esperaba ${J}, recibido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: se esperaba ${v0(Q.values[0])}`;return`Opción inválida: se esperaba una de ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Demasiado grande: se esperaba que ${K??"valor"} tuviera ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${K??"valor"} fuera ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Demasiado pequeño: se esperaba que ${K} tuviera ${J}${Q.minimum.toString()} ${I.unit}`;return`Demasiado pequeño: se esperaba que ${K} fuera ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Cadena inválida: debe comenzar con "${J.prefix}"`;if(J.format==="ends_with")return`Cadena inválida: debe terminar en "${J.suffix}"`;if(J.format==="includes")return`Cadena inválida: debe incluir "${J.includes}"`;if(J.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${J.pattern}`;return`Inválido ${z[J.format]??Q.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Llave${Q.keys.length>1?"s":""} desconocida${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Llave inválida en ${U[Q.origin]??Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${U[Q.origin]??Q.origin}`;default:return"Entrada inválida"}}};var Mr=o(()=>{$1()});function DC(){return{localeError:Yk0()}}var Yk0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function Y(Q){return $[Q]??null}let z={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},U={nan:"NaN",number:"عدد",array:"آرایه"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ورودی نامعتبر: می‌بایست instanceof ${Q.expected} می‌بود، ${K} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${J} می‌بود، ${K} دریافت شد`}case"invalid_value":if(Q.values.length===1)return`ورودی نامعتبر: می‌بایست ${v0(Q.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${N0(Q.values,"|")} می‌بود`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} باشد`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} باشد`;return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} باشد`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`رشته نامعتبر: باید با "${J.prefix}" شروع شود`;if(J.format==="ends_with")return`رشته نامعتبر: باید با "${J.suffix}" تمام شود`;if(J.format==="includes")return`رشته نامعتبر: باید شامل "${J.includes}" باشد`;if(J.format==="regex")return`رشته نامعتبر: باید با الگوی ${J.pattern} مطابقت داشته باشد`;return`${z[J.format]??Q.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${Q.divisor} باشد`;case"unrecognized_keys":return`کلید${Q.keys.length>1?"های":""} ناشناس: ${N0(Q.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${Q.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${Q.origin}`;default:return"ورودی نامعتبر"}}};var Or=o(()=>{$1()});function BC(){return{localeError:zk0()}}var zk0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function Y(Q){return $[Q]??null}let z={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Virheellinen tyyppi: odotettiin instanceof ${Q.expected}, oli ${K}`;return`Virheellinen tyyppi: odotettiin ${J}, oli ${K}`}case"invalid_value":if(Q.values.length===1)return`Virheellinen syöte: täytyy olla ${v0(Q.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Liian suuri: ${I.subject} täytyy olla ${J}${Q.maximum.toString()} ${I.unit}`.trim();return`Liian suuri: arvon täytyy olla ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Liian pieni: ${I.subject} täytyy olla ${J}${Q.minimum.toString()} ${I.unit}`.trim();return`Liian pieni: arvon täytyy olla ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${J.prefix}"`;if(J.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${J.suffix}"`;if(J.format==="includes")return`Virheellinen syöte: täytyy sisältää "${J.includes}"`;if(J.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${J.pattern}`;return`Virheellinen ${z[J.format]??Q.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${Q.divisor} monikerta`;case"unrecognized_keys":return`${Q.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${N0(Q.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};var Nr=o(()=>{$1()});function PC(){return{localeError:Uk0()}}var Uk0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let z={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},U={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : instanceof ${Q.expected} attendu, ${K} reçu`;return`Entrée invalide : ${J} attendu, ${K} reçu`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : ${v0(Q.values[0])} attendu`;return`Option invalide : une valeur parmi ${N0(Q.values,"|")} attendue`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Trop grand : ${U[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"élément(s)"}`;return`Trop grand : ${U[Q.origin]??"valeur"} doit être ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Trop petit : ${U[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : ${U[Q.origin]??"valeur"} doit être ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${J.pattern}`;return`${z[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${N0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var Dr=o(()=>{$1()});function AC(){return{localeError:Qk0()}}var Qk0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let z={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : attendu instanceof ${Q.expected}, reçu ${K}`;return`Entrée invalide : attendu ${J}, reçu ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : attendu ${v0(Q.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"≤":"<",I=Y(Q.origin);if(I)return`Trop grand : attendu que ${Q.origin??"la valeur"} ait ${J}${Q.maximum.toString()} ${I.unit}`;return`Trop grand : attendu que ${Q.origin??"la valeur"} soit ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"≥":">",I=Y(Q.origin);if(I)return`Trop petit : attendu que ${Q.origin} ait ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : attendu que ${Q.origin} soit ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au motif ${J.pattern}`;return`${z[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${N0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var Br=o(()=>{$1()});function TC(){return{localeError:Jk0()}}var Jk0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},Y={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},z=(W)=>W?$[W]:void 0,U=(W)=>{let H=z(W);if(H)return H.label;return W??$.unknown.label},Q=(W)=>`ה${U(W)}`,J=(W)=>{return(z(W)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},I=(W)=>{if(!W)return null;return Y[W]??null},K={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},G={nan:"NaN"};return(W)=>{switch(W.code){case"invalid_type":{let H=W.expected,X=G[H??""]??U(H),Z=S0(W.input),q=G[Z]??$[Z]?.label??Z;if(/^[A-Z]/.test(W.expected))return`קלט לא תקין: צריך להיות instanceof ${W.expected}, התקבל ${q}`;return`קלט לא תקין: צריך להיות ${X}, התקבל ${q}`}case"invalid_value":{if(W.values.length===1)return`ערך לא תקין: הערך חייב להיות ${v0(W.values[0])}`;let H=W.values.map((q)=>v0(q));if(W.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${H[0]} או ${H[1]}`;let X=H[H.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${H.slice(0,-1).join(", ")} או ${X}`}case"too_big":{let H=I(W.origin),X=Q(W.origin??"value");if(W.origin==="string")return`${H?.longLabel??"ארוך"} מדי: ${X} צריכה להכיל ${W.maximum.toString()} ${H?.unit??""} ${W.inclusive?"או פחות":"לכל היותר"}`.trim();if(W.origin==="number"){let V=W.inclusive?`קטן או שווה ל-${W.maximum}`:`קטן מ-${W.maximum}`;return`גדול מדי: ${X} צריך להיות ${V}`}if(W.origin==="array"||W.origin==="set"){let V=W.origin==="set"?"צריכה":"צריך",F=W.inclusive?`${W.maximum} ${H?.unit??""} או פחות`:`פחות מ-${W.maximum} ${H?.unit??""}`;return`גדול מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=W.inclusive?"<=":"<",q=J(W.origin??"value");if(H?.unit)return`${H.longLabel} מדי: ${X} ${q} ${Z}${W.maximum.toString()} ${H.unit}`;return`${H?.longLabel??"גדול"} מדי: ${X} ${q} ${Z}${W.maximum.toString()}`}case"too_small":{let H=I(W.origin),X=Q(W.origin??"value");if(W.origin==="string")return`${H?.shortLabel??"קצר"} מדי: ${X} צריכה להכיל ${W.minimum.toString()} ${H?.unit??""} ${W.inclusive?"או יותר":"לפחות"}`.trim();if(W.origin==="number"){let V=W.inclusive?`גדול או שווה ל-${W.minimum}`:`גדול מ-${W.minimum}`;return`קטן מדי: ${X} צריך להיות ${V}`}if(W.origin==="array"||W.origin==="set"){let V=W.origin==="set"?"צריכה":"צריך";if(W.minimum===1&&W.inclusive){let M=W.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${X} ${V} להכיל ${M}`}let F=W.inclusive?`${W.minimum} ${H?.unit??""} או יותר`:`יותר מ-${W.minimum} ${H?.unit??""}`;return`קטן מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=W.inclusive?">=":">",q=J(W.origin??"value");if(H?.unit)return`${H.shortLabel} מדי: ${X} ${q} ${Z}${W.minimum.toString()} ${H.unit}`;return`${H?.shortLabel??"קטן"} מדי: ${X} ${q} ${Z}${W.minimum.toString()}`}case"invalid_format":{let H=W;if(H.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${H.prefix}"`;if(H.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${H.suffix}"`;if(H.format==="includes")return`המחרוזת חייבת לכלול "${H.includes}"`;if(H.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${H.pattern}`;let X=K[H.format],Z=X?.label??H.format,V=(X?.gender??"m")==="f"?"תקינה":"תקין";return`${Z} לא ${V}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${W.divisor}`;case"unrecognized_keys":return`מפתח${W.keys.length>1?"ות":""} לא מזוה${W.keys.length>1?"ים":"ה"}: ${N0(W.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${Q(W.origin??"array")}`;default:return"קלט לא תקין"}}};var Pr=o(()=>{$1()});function jC(){return{localeError:Ik0()}}var Ik0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function Y(Q){return $[Q]??null}let z={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},U={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neispravan unos: očekuje se instanceof ${Q.expected}, a primljeno je ${K}`;return`Neispravan unos: očekuje se ${J}, a primljeno je ${K}`}case"invalid_value":if(Q.values.length===1)return`Neispravna vrijednost: očekivano ${v0(Q.values[0])}`;return`Neispravna opcija: očekivano jedno od ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Preveliko: očekivano da ${K??"vrijednost"} ima ${J}${Q.maximum.toString()} ${I.unit??"elemenata"}`;return`Preveliko: očekivano da ${K??"vrijednost"} bude ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Premalo: očekivano da ${K} ima ${J}${Q.minimum.toString()} ${I.unit}`;return`Premalo: očekivano da ${K} bude ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neispravan tekst: mora započinjati s "${J.prefix}"`;if(J.format==="ends_with")return`Neispravan tekst: mora završavati s "${J.suffix}"`;if(J.format==="includes")return`Neispravan tekst: mora sadržavati "${J.includes}"`;if(J.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${J.pattern}`;return`Neispravna ${z[J.format]??Q.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznat${Q.keys.length>1?"i ključevi":" ključ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${U[Q.origin]??Q.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${U[Q.origin]??Q.origin}`;default:return"Neispravan unos"}}};var Ar=o(()=>{$1()});function EC(){return{localeError:Kk0()}}var Kk0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function Y(Q){return $[Q]??null}let z={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},U={nan:"NaN",number:"szám",array:"tömb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Érvénytelen bemenet: a várt érték instanceof ${Q.expected}, a kapott érték ${K}`;return`Érvénytelen bemenet: a várt érték ${J}, a kapott érték ${K}`}case"invalid_value":if(Q.values.length===1)return`Érvénytelen bemenet: a várt érték ${v0(Q.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Túl nagy: ${Q.origin??"érték"} mérete túl nagy ${J}${Q.maximum.toString()} ${I.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${Q.origin??"érték"} túl nagy: ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Túl kicsi: a bemeneti érték ${Q.origin} mérete túl kicsi ${J}${Q.minimum.toString()} ${I.unit}`;return`Túl kicsi: a bemeneti érték ${Q.origin} túl kicsi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Érvénytelen string: "${J.prefix}" értékkel kell kezdődnie`;if(J.format==="ends_with")return`Érvénytelen string: "${J.suffix}" értékkel kell végződnie`;if(J.format==="includes")return`Érvénytelen string: "${J.includes}" értéket kell tartalmaznia`;if(J.format==="regex")return`Érvénytelen string: ${J.pattern} mintának kell megfelelnie`;return`Érvénytelen ${z[J.format]??Q.format}`}case"not_multiple_of":return`Érvénytelen szám: ${Q.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${Q.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${Q.origin}`;default:return"Érvénytelen bemenet"}}};var Tr=o(()=>{$1()});function jr($,Y,z){return Math.abs($)===1?Y:z}function mU($){if(!$)return"";let Y=["ա","ե","ը","ի","ո","ու","օ"],z=$[$.length-1];return $+(Y.includes(z)?"ն":"ը")}function CC(){return{localeError:Gk0()}}var Gk0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function Y(Q){return $[Q]??null}let z={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},U={nan:"NaN",number:"թիվ",array:"զանգված"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${Q.expected}, ստացվել է ${K}`;return`Սխալ մուտքագրում․ սպասվում էր ${J}, ստացվել է ${K}`}case"invalid_value":if(Q.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${v0(Q.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=jr(K,I.unit.one,I.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mU(Q.origin??"արժեք")} կունենա ${J}${Q.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mU(Q.origin??"արժեք")} լինի ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=jr(K,I.unit.one,I.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mU(Q.origin)} կունենա ${J}${Q.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mU(Q.origin)} լինի ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${J.prefix}"-ով`;if(J.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${J.suffix}"-ով`;if(J.format==="includes")return`Սխալ տող․ պետք է պարունակի "${J.includes}"`;if(J.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${J.pattern} ձևաչափին`;return`Սխալ ${z[J.format]??Q.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${Q.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${Q.keys.length>1?"ներ":""}. ${N0(Q.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${mU(Q.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${mU(Q.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};var Er=o(()=>{$1()});function RC(){return{localeError:Wk0()}}var Wk0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak valid: diharapkan instanceof ${Q.expected}, diterima ${K}`;return`Input tidak valid: diharapkan ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak valid: diharapkan ${v0(Q.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: diharapkan ${Q.origin??"value"} memiliki ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: diharapkan ${Q.origin??"value"} menjadi ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: diharapkan ${Q.origin} memiliki ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: diharapkan ${Q.origin} menjadi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak valid: harus dimulai dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak valid: harus berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak valid: harus menyertakan "${J.includes}"`;if(J.format==="regex")return`String tidak valid: harus sesuai pola ${J.pattern}`;return`${z[J.format]??Q.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${Q.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${Q.origin}`;default:return"Input tidak valid"}}};var Cr=o(()=>{$1()});function _C(){return{localeError:Hk0()}}var Hk0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function Y(Q){return $[Q]??null}let z={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},U={nan:"NaN",number:"númer",array:"fylki"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera instanceof ${Q.expected}`;return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera ${J}`}case"invalid_value":if(Q.values.length===1)return`Rangt gildi: gert ráð fyrir ${v0(Q.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} hafi ${J}${Q.maximum.toString()} ${I.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} sé ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Of lítið: gert er ráð fyrir að ${Q.origin} hafi ${J}${Q.minimum.toString()} ${I.unit}`;return`Of lítið: gert er ráð fyrir að ${Q.origin} sé ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ógildur strengur: verður að byrja á "${J.prefix}"`;if(J.format==="ends_with")return`Ógildur strengur: verður að enda á "${J.suffix}"`;if(J.format==="includes")return`Ógildur strengur: verður að innihalda "${J.includes}"`;if(J.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${J.pattern}`;return`Rangt ${z[J.format]??Q.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${Q.divisor}`;case"unrecognized_keys":return`Óþekkt ${Q.keys.length>1?"ir lyklar":"ur lykill"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${Q.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${Q.origin}`;default:return"Rangt gildi"}}};var Rr=o(()=>{$1()});function vC(){return{localeError:Xk0()}}var Xk0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"numero",array:"vettore"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input non valido: atteso instanceof ${Q.expected}, ricevuto ${K}`;return`Input non valido: atteso ${J}, ricevuto ${K}`}case"invalid_value":if(Q.values.length===1)return`Input non valido: atteso ${v0(Q.values[0])}`;return`Opzione non valida: atteso uno tra ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Troppo grande: ${Q.origin??"valore"} deve avere ${J}${Q.maximum.toString()} ${I.unit??"elementi"}`;return`Troppo grande: ${Q.origin??"valore"} deve essere ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Troppo piccolo: ${Q.origin} deve avere ${J}${Q.minimum.toString()} ${I.unit}`;return`Troppo piccolo: ${Q.origin} deve essere ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Stringa non valida: deve iniziare con "${J.prefix}"`;if(J.format==="ends_with")return`Stringa non valida: deve terminare con "${J.suffix}"`;if(J.format==="includes")return`Stringa non valida: deve includere "${J.includes}"`;if(J.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${J.pattern}`;return`Input non valido: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${Q.divisor}`;case"unrecognized_keys":return`Chiav${Q.keys.length>1?"i":"e"} non riconosciut${Q.keys.length>1?"e":"a"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${Q.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${Q.origin}`;default:return"Input non valido"}}};var _r=o(()=>{$1()});function hC(){return{localeError:Zk0()}}var Zk0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function Y(Q){return $[Q]??null}let z={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},U={nan:"NaN",number:"数値",array:"配列"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`無効な入力: instanceof ${Q.expected}が期待されましたが、${K}が入力されました`;return`無効な入力: ${J}が期待されましたが、${K}が入力されました`}case"invalid_value":if(Q.values.length===1)return`無効な入力: ${v0(Q.values[0])}が期待されました`;return`無効な選択: ${N0(Q.values,"、")}のいずれかである必要があります`;case"too_big":{let J=Q.inclusive?"以下である":"より小さい",I=Y(Q.origin);if(I)return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${I.unit??"要素"}${J}必要があります`;return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${J}必要があります`}case"too_small":{let J=Q.inclusive?"以上である":"より大きい",I=Y(Q.origin);if(I)return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${I.unit}${J}必要があります`;return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${J}必要があります`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無効な文字列: "${J.prefix}"で始まる必要があります`;if(J.format==="ends_with")return`無効な文字列: "${J.suffix}"で終わる必要があります`;if(J.format==="includes")return`無効な文字列: "${J.includes}"を含む必要があります`;if(J.format==="regex")return`無効な文字列: パターン${J.pattern}に一致する必要があります`;return`無効な${z[J.format]??Q.format}`}case"not_multiple_of":return`無効な数値: ${Q.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${Q.keys.length>1?"群":""}: ${N0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${Q.origin}内の無効な値`;default:return"無効な入力"}}};var vr=o(()=>{$1()});function SC(){return{localeError:qk0()}}var qk0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function Y(Q){return $[Q]??null}let z={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},U={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${Q.expected}, მიღებული ${K}`;return`არასწორი შეყვანა: მოსალოდნელი ${J}, მიღებული ${K}`}case"invalid_value":if(Q.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${v0(Q.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${N0(Q.values,"|")}-დან`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} იყოს ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} იყოს ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${J.prefix}"-ით`;if(J.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${J.suffix}"-ით`;if(J.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${J.includes}"-ს`;if(J.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${J.pattern}`;return`არასწორი ${z[J.format]??Q.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${Q.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${Q.keys.length>1?"ები":"ი"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${Q.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${Q.origin}-ში`;default:return"არასწორი შეყვანა"}}};var hr=o(()=>{$1()});function KG(){return{localeError:Vk0()}}var Vk0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function Y(Q){return $[Q]??null}let z={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},U={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${Q.expected} ប៉ុន្តែទទួលបាន ${K}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${J} ប៉ុន្តែទទួលបាន ${K}`}case"invalid_value":if(Q.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${v0(Q.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()} ${I.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()} ${I.unit}`;return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${J.prefix}"`;if(J.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${J.suffix}"`;if(J.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${J.includes}"`;if(J.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${J.pattern}`;return`មិនត្រឹមត្រូវ៖ ${z[J.format]??Q.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${Q.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${N0(Q.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};var gC=o(()=>{$1()});function yC(){return KG()}var Sr=o(()=>{gC()});function kC(){return{localeError:Lk0()}}var Lk0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function Y(Q){return $[Q]??null}let z={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`잘못된 입력: 예상 타입은 instanceof ${Q.expected}, 받은 타입은 ${K}입니다`;return`잘못된 입력: 예상 타입은 ${J}, 받은 타입은 ${K}입니다`}case"invalid_value":if(Q.values.length===1)return`잘못된 입력: 값은 ${v0(Q.values[0])} 이어야 합니다`;return`잘못된 옵션: ${N0(Q.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let J=Q.inclusive?"이하":"미만",I=J==="미만"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()} ${J}${I}`}case"too_small":{let J=Q.inclusive?"이상":"초과",I=J==="이상"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()} ${J}${I}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`잘못된 문자열: "${J.prefix}"(으)로 시작해야 합니다`;if(J.format==="ends_with")return`잘못된 문자열: "${J.suffix}"(으)로 끝나야 합니다`;if(J.format==="includes")return`잘못된 문자열: "${J.includes}"을(를) 포함해야 합니다`;if(J.format==="regex")return`잘못된 문자열: 정규식 ${J.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${z[J.format]??Q.format}`}case"not_multiple_of":return`잘못된 숫자: ${Q.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${N0(Q.keys,", ")}`;case"invalid_key":return`잘못된 키: ${Q.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${Q.origin}`;default:return"잘못된 입력"}}};var gr=o(()=>{$1()});function yr($){let Y=Math.abs($),z=Y%10,U=Y%100;if(U>=11&&U<=19||z===0)return"many";if(z===1)return"one";return"few"}function xC(){return{localeError:Fk0()}}var GG=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)},Fk0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function Y(Q,J,I,K){let G=$[Q]??null;if(G===null)return G;return{unit:G.unit[J],verb:G.verb[K][I?"inclusive":"notInclusive"]}}let z={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},U={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Gautas tipas ${K}, o tikėtasi - instanceof ${Q.expected}`;return`Gautas tipas ${K}, o tikėtasi - ${J}`}case"invalid_value":if(Q.values.length===1)return`Privalo būti ${v0(Q.values[0])}`;return`Privalo būti vienas iš ${N0(Q.values,"|")} pasirinkimų`;case"too_big":{let J=U[Q.origin]??Q.origin,I=Y(Q.origin,yr(Number(Q.maximum)),Q.inclusive??!1,"smaller");if(I?.verb)return`${GG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.maximum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${GG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.maximum.toString()} ${I?.unit}`}case"too_small":{let J=U[Q.origin]??Q.origin,I=Y(Q.origin,yr(Number(Q.minimum)),Q.inclusive??!1,"bigger");if(I?.verb)return`${GG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.minimum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${GG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.minimum.toString()} ${I?.unit}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Eilutė privalo prasidėti "${J.prefix}"`;if(J.format==="ends_with")return`Eilutė privalo pasibaigti "${J.suffix}"`;if(J.format==="includes")return`Eilutė privalo įtraukti "${J.includes}"`;if(J.format==="regex")return`Eilutė privalo atitikti ${J.pattern}`;return`Neteisingas ${z[J.format]??Q.format}`}case"not_multiple_of":return`Skaičius privalo būti ${Q.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${Q.keys.length>1?"i":"as"} rakt${Q.keys.length>1?"ai":"as"}: ${N0(Q.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let J=U[Q.origin]??Q.origin;return`${GG(J??Q.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};var kr=o(()=>{$1()});function fC(){return{localeError:wk0()}}var wk0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function Y(Q){return $[Q]??null}let z={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},U={nan:"NaN",number:"број",array:"низа"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Грешен внес: се очекува instanceof ${Q.expected}, примено ${K}`;return`Грешен внес: се очекува ${J}, примено ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Грешана опција: се очекува една ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Премногу голем: се очекува ${Q.origin??"вредноста"} да има ${J}${Q.maximum.toString()} ${I.unit??"елементи"}`;return`Премногу голем: се очекува ${Q.origin??"вредноста"} да биде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Премногу мал: се очекува ${Q.origin} да има ${J}${Q.minimum.toString()} ${I.unit}`;return`Премногу мал: се очекува ${Q.origin} да биде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неважечка низа: мора да започнува со "${J.prefix}"`;if(J.format==="ends_with")return`Неважечка низа: мора да завршува со "${J.suffix}"`;if(J.format==="includes")return`Неважечка низа: мора да вклучува "${J.includes}"`;if(J.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${J.pattern}`;return`Invalid ${z[J.format]??Q.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${Q.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${Q.origin}`;default:return"Грешен внес"}}};var xr=o(()=>{$1()});function uC(){return{localeError:Mk0()}}var Mk0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"nombor"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak sah: dijangka instanceof ${Q.expected}, diterima ${K}`;return`Input tidak sah: dijangka ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak sah: dijangka ${v0(Q.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: dijangka ${Q.origin??"nilai"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: dijangka ${Q.origin??"nilai"} adalah ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: dijangka ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: dijangka ${Q.origin} adalah ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak sah: mesti bermula dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak sah: mesti mengandungi "${J.includes}"`;if(J.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${J.pattern}`;return`${z[J.format]??Q.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${N0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${Q.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${Q.origin}`;default:return"Input tidak sah"}}};var fr=o(()=>{$1()});function bC(){return{localeError:Ok0()}}var Ok0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function Y(Q){return $[Q]??null}let z={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},U={nan:"NaN",number:"getal"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ongeldige invoer: verwacht instanceof ${Q.expected}, ontving ${K}`;return`Ongeldige invoer: verwacht ${J}, ontving ${K}`}case"invalid_value":if(Q.values.length===1)return`Ongeldige invoer: verwacht ${v0(Q.values[0])}`;return`Ongeldige optie: verwacht één van ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=Q.origin==="date"?"laat":Q.origin==="string"?"lang":"groot";if(I)return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} ${I.unit??"elementen"} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} is`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=Q.origin==="date"?"vroeg":Q.origin==="string"?"kort":"klein";if(I)return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} is`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ongeldige tekst: moet met "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ongeldige tekst: moet op "${J.suffix}" eindigen`;if(J.format==="includes")return`Ongeldige tekst: moet "${J.includes}" bevatten`;if(J.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${J.pattern}`;return`Ongeldig: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${Q.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${Q.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${Q.origin}`;default:return"Ongeldige invoer"}}};var ur=o(()=>{$1()});function iC(){return{localeError:Nk0()}}var Nk0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"tall",array:"liste"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldig input: forventet instanceof ${Q.expected}, fikk ${K}`;return`Ugyldig input: forventet ${J}, fikk ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig verdi: forventet ${v0(Q.values[0])}`;return`Ugyldig valg: forventet en av ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()} ${I.unit}`;return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: må starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: må ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: må inneholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: må matche mønsteret ${J.pattern}`;return`Ugyldig ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${Q.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${Q.origin}`;default:return"Ugyldig input"}}};var br=o(()=>{$1()});function cC(){return{localeError:Dk0()}}var Dk0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let z={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},U={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Fâsit giren: umulan instanceof ${Q.expected}, alınan ${K}`;return`Fâsit giren: umulan ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Fâsit giren: umulan ${v0(Q.values[0])}`;return`Fâsit tercih: mûteberler ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} ${I.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} olmalıydı.`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} ${I.unit} sahip olmalıydı.`;return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} olmalıydı.`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Fâsit metin: "${J.prefix}" ile başlamalı.`;if(J.format==="ends_with")return`Fâsit metin: "${J.suffix}" ile bitmeli.`;if(J.format==="includes")return`Fâsit metin: "${J.includes}" ihtivâ etmeli.`;if(J.format==="regex")return`Fâsit metin: ${J.pattern} nakşına uymalı.`;return`Fâsit ${z[J.format]??Q.format}`}case"not_multiple_of":return`Fâsit sayı: ${Q.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${Q.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};var ir=o(()=>{$1()});function nC(){return{localeError:Bk0()}}var Bk0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function Y(Q){return $[Q]??null}let z={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},U={nan:"NaN",number:"عدد",array:"ارې"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ناسم ورودي: باید instanceof ${Q.expected} وای, مګر ${K} ترلاسه شو`;return`ناسم ورودي: باید ${J} وای, مګر ${K} ترلاسه شو`}case"invalid_value":if(Q.values.length===1)return`ناسم ورودي: باید ${v0(Q.values[0])} وای`;return`ناسم انتخاب: باید یو له ${N0(Q.values,"|")} څخه وای`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} وي`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} ولري`;return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} وي`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ناسم متن: باید د "${J.prefix}" سره پیل شي`;if(J.format==="ends_with")return`ناسم متن: باید د "${J.suffix}" سره پای ته ورسيږي`;if(J.format==="includes")return`ناسم متن: باید "${J.includes}" ولري`;if(J.format==="regex")return`ناسم متن: باید د ${J.pattern} سره مطابقت ولري`;return`${z[J.format]??Q.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${Q.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${Q.keys.length>1?"کلیډونه":"کلیډ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${Q.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${Q.origin} کې`;default:return"ناسمه ورودي"}}};var cr=o(()=>{$1()});function pC(){return{localeError:Pk0()}}var Pk0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function Y(Q){return $[Q]??null}let z={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},U={nan:"NaN",number:"liczba",array:"tablica"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${Q.expected}, otrzymano ${K}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${J}, otrzymano ${K}`}case"invalid_value":if(Q.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${v0(Q.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Za duża wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.maximum.toString()} ${I.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Za mała wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.minimum.toString()} ${I.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${J.prefix}"`;if(J.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${J.suffix}"`;if(J.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${J.includes}"`;if(J.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${J.pattern}`;return`Nieprawidłow(y/a/e) ${z[J.format]??Q.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${Q.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${Q.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${Q.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};var nr=o(()=>{$1()});function dC(){return{localeError:Ak0()}}var Ak0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function Y(Q){return $[Q]??null}let z={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},U={nan:"NaN",number:"número",null:"nulo"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipo inválido: esperado instanceof ${Q.expected}, recebido ${K}`;return`Tipo inválido: esperado ${J}, recebido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: esperado ${v0(Q.values[0])}`;return`Opção inválida: esperada uma das ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Muito grande: esperado que ${Q.origin??"valor"} tivesse ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Muito grande: esperado que ${Q.origin??"valor"} fosse ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Muito pequeno: esperado que ${Q.origin} tivesse ${J}${Q.minimum.toString()} ${I.unit}`;return`Muito pequeno: esperado que ${Q.origin} fosse ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Texto inválido: deve começar com "${J.prefix}"`;if(J.format==="ends_with")return`Texto inválido: deve terminar com "${J.suffix}"`;if(J.format==="includes")return`Texto inválido: deve incluir "${J.includes}"`;if(J.format==="regex")return`Texto inválido: deve corresponder ao padrão ${J.pattern}`;return`${z[J.format]??Q.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Chave${Q.keys.length>1?"s":""} desconhecida${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Chave inválida em ${Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${Q.origin}`;default:return"Campo inválido"}}};var pr=o(()=>{$1()});function mC(){return{localeError:Tk0()}}var Tk0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function Y(Q){return $[Q]??null}let z={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},U={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;return`Intrare invalidă: așteptat ${J}, primit ${K}`}case"invalid_value":if(Q.values.length===1)return`Intrare invalidă: așteptat ${v0(Q.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Prea mare: așteptat ca ${Q.origin??"valoarea"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemente"}`;return`Prea mare: așteptat ca ${Q.origin??"valoarea"} să fie ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Prea mic: așteptat ca ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Prea mic: așteptat ca ${Q.origin} să fie ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${J.prefix}"`;if(J.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${J.suffix}"`;if(J.format==="includes")return`Șir invalid: trebuie să includă "${J.includes}"`;if(J.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${J.pattern}`;return`Format invalid: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${Q.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${N0(Q.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${Q.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${Q.origin}`;default:return"Intrare invalidă"}}};var dr=o(()=>{$1()});function mr($,Y,z,U){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return U;if(J===1)return Y;if(J>=2&&J<=4)return z;return U}function lC(){return{localeError:jk0()}}var jk0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function Y(Q){return $[Q]??null}let z={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},U={nan:"NaN",number:"число",array:"массив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неверный ввод: ожидалось instanceof ${Q.expected}, получено ${K}`;return`Неверный ввод: ожидалось ${J}, получено ${K}`}case"invalid_value":if(Q.values.length===1)return`Неверный ввод: ожидалось ${v0(Q.values[0])}`;return`Неверный вариант: ожидалось одно из ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=mr(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет иметь ${J}${Q.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=mr(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет иметь ${J}${Q.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неверная строка: должна начинаться с "${J.prefix}"`;if(J.format==="ends_with")return`Неверная строка: должна заканчиваться на "${J.suffix}"`;if(J.format==="includes")return`Неверная строка: должна содержать "${J.includes}"`;if(J.format==="regex")return`Неверная строка: должна соответствовать шаблону ${J.pattern}`;return`Неверный ${z[J.format]??Q.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспознанн${Q.keys.length>1?"ые":"ый"} ключ${Q.keys.length>1?"и":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${Q.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${Q.origin}`;default:return"Неверные входные данные"}}};var lr=o(()=>{$1()});function oC(){return{localeError:Ek0()}}var Ek0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function Y(Q){return $[Q]??null}let z={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},U={nan:"NaN",number:"število",array:"tabela"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neveljaven vnos: pričakovano instanceof ${Q.expected}, prejeto ${K}`;return`Neveljaven vnos: pričakovano ${J}, prejeto ${K}`}case"invalid_value":if(Q.values.length===1)return`Neveljaven vnos: pričakovano ${v0(Q.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} imelo ${J}${Q.maximum.toString()} ${I.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Premajhno: pričakovano, da bo ${Q.origin} imelo ${J}${Q.minimum.toString()} ${I.unit}`;return`Premajhno: pričakovano, da bo ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neveljaven niz: mora se začeti z "${J.prefix}"`;if(J.format==="ends_with")return`Neveljaven niz: mora se končati z "${J.suffix}"`;if(J.format==="includes")return`Neveljaven niz: mora vsebovati "${J.includes}"`;if(J.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${J.pattern}`;return`Neveljaven ${z[J.format]??Q.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznan${Q.keys.length>1?"i ključi":" ključ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${Q.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${Q.origin}`;default:return"Neveljaven vnos"}}};var or=o(()=>{$1()});function rC(){return{localeError:Ck0()}}var Ck0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function Y(Q){return $[Q]??null}let z={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},U={nan:"NaN",number:"antal",array:"lista"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ogiltig inmatning: förväntat instanceof ${Q.expected}, fick ${K}`;return`Ogiltig inmatning: förväntat ${J}, fick ${K}`}case"invalid_value":if(Q.values.length===1)return`Ogiltig inmatning: förväntat ${v0(Q.values[0])}`;return`Ogiltigt val: förväntade en av ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`För stor(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`För stor(t): förväntat ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()} ${I.unit}`;return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ogiltig sträng: måste börja med "${J.prefix}"`;if(J.format==="ends_with")return`Ogiltig sträng: måste sluta med "${J.suffix}"`;if(J.format==="includes")return`Ogiltig sträng: måste innehålla "${J.includes}"`;if(J.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${J.pattern}"`;return`Ogiltig(t) ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${Q.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${Q.origin??"värdet"}`;default:return"Ogiltig input"}}};var rr=o(()=>{$1()});function sC(){return{localeError:Rk0()}}var Rk0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function Y(Q){return $[Q]??null}let z={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${Q.expected}, பெறப்பட்டது ${K}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${J}, பெறப்பட்டது ${K}`}case"invalid_value":if(Q.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${v0(Q.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${N0(Q.values,"|")} இல் ஒன்று`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ${I.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`தவறான சரம்: "${J.prefix}" இல் தொடங்க வேண்டும்`;if(J.format==="ends_with")return`தவறான சரம்: "${J.suffix}" இல் முடிவடைய வேண்டும்`;if(J.format==="includes")return`தவறான சரம்: "${J.includes}" ஐ உள்ளடக்க வேண்டும்`;if(J.format==="regex")return`தவறான சரம்: ${J.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${z[J.format]??Q.format}`}case"not_multiple_of":return`தவறான எண்: ${Q.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${Q.keys.length>1?"கள்":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${Q.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};var sr=o(()=>{$1()});function aC(){return{localeError:_k0()}}var _k0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function Y(Q){return $[Q]??null}let z={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},U={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${Q.expected} แต่ได้รับ ${K}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${J} แต่ได้รับ ${K}`}case"invalid_value":if(Q.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${v0(Q.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"ไม่เกิน":"น้อยกว่า",I=Y(Q.origin);if(I)return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()} ${I.unit??"รายการ"}`;return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"อย่างน้อย":"มากกว่า",I=Y(Q.origin);if(I)return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()} ${I.unit}`;return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${J.prefix}"`;if(J.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${J.suffix}"`;if(J.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${J.includes}" อยู่ในข้อความ`;if(J.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${J.pattern}`;return`รูปแบบไม่ถูกต้อง: ${z[J.format]??Q.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${Q.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${N0(Q.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${Q.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${Q.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};var ar=o(()=>{$1()});function tC(){return{localeError:vk0()}}var vk0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function Y(Q){return $[Q]??null}let z={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Geçersiz değer: beklenen instanceof ${Q.expected}, alınan ${K}`;return`Geçersiz değer: beklenen ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Geçersiz değer: beklenen ${v0(Q.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()} ${I.unit??"öğe"}`;return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Geçersiz metin: "${J.prefix}" ile başlamalı`;if(J.format==="ends_with")return`Geçersiz metin: "${J.suffix}" ile bitmeli`;if(J.format==="includes")return`Geçersiz metin: "${J.includes}" içermeli`;if(J.format==="regex")return`Geçersiz metin: ${J.pattern} desenine uymalı`;return`Geçersiz ${z[J.format]??Q.format}`}case"not_multiple_of":return`Geçersiz sayı: ${Q.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${Q.keys.length>1?"lar":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${Q.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};var tr=o(()=>{$1()});function WG(){return{localeError:hk0()}}var hk0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function Y(Q){return $[Q]??null}let z={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},U={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неправильні вхідні дані: очікується instanceof ${Q.expected}, отримано ${K}`;return`Неправильні вхідні дані: очікується ${J}, отримано ${K}`}case"invalid_value":if(Q.values.length===1)return`Неправильні вхідні дані: очікується ${v0(Q.values[0])}`;return`Неправильна опція: очікується одне з ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Занадто велике: очікується, що ${Q.origin??"значення"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"елементів"}`;return`Занадто велике: очікується, що ${Q.origin??"значення"} буде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Занадто мале: очікується, що ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Занадто мале: очікується, що ${Q.origin} буде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неправильний рядок: повинен починатися з "${J.prefix}"`;if(J.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${J.suffix}"`;if(J.format==="includes")return`Неправильний рядок: повинен містити "${J.includes}"`;if(J.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${J.pattern}`;return`Неправильний ${z[J.format]??Q.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${Q.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${Q.keys.length>1?"і":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${Q.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${Q.origin}`;default:return"Неправильні вхідні дані"}}};var eC=o(()=>{$1()});function $R(){return WG()}var er=o(()=>{eC()});function YR(){return{localeError:Sk0()}}var Sk0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function Y(Q){return $[Q]??null}let z={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},U={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`غلط ان پٹ: instanceof ${Q.expected} متوقع تھا، ${K} موصول ہوا`;return`غلط ان پٹ: ${J} متوقع تھا، ${K} موصول ہوا`}case"invalid_value":if(Q.values.length===1)return`غلط ان پٹ: ${v0(Q.values[0])} متوقع تھا`;return`غلط آپشن: ${N0(Q.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`بہت بڑا: ${Q.origin??"ویلیو"} کے ${J}${Q.maximum.toString()} ${I.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${Q.origin??"ویلیو"} کا ${J}${Q.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`بہت چھوٹا: ${Q.origin} کے ${J}${Q.minimum.toString()} ${I.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${Q.origin} کا ${J}${Q.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`غلط سٹرنگ: "${J.prefix}" سے شروع ہونا چاہیے`;if(J.format==="ends_with")return`غلط سٹرنگ: "${J.suffix}" پر ختم ہونا چاہیے`;if(J.format==="includes")return`غلط سٹرنگ: "${J.includes}" شامل ہونا چاہیے`;if(J.format==="regex")return`غلط سٹرنگ: پیٹرن ${J.pattern} سے میچ ہونا چاہیے`;return`غلط ${z[J.format]??Q.format}`}case"not_multiple_of":return`غلط نمبر: ${Q.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${Q.keys.length>1?"ز":""}: ${N0(Q.keys,"، ")}`;case"invalid_key":return`${Q.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${Q.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};var $s=o(()=>{$1()});function zR(){return{localeError:gk0()}}var gk0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function Y(Q){return $[Q]??null}let z={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},U={nan:"NaN",number:"raqam",array:"massiv"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${Q.expected}, qabul qilingan ${K}`;return`Noto‘g‘ri kirish: kutilgan ${J}, qabul qilingan ${K}`}case"invalid_value":if(Q.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${v0(Q.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()} ${I.unit} ${I.verb}`;return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Noto‘g‘ri satr: "${J.prefix}" bilan boshlanishi kerak`;if(J.format==="ends_with")return`Noto‘g‘ri satr: "${J.suffix}" bilan tugashi kerak`;if(J.format==="includes")return`Noto‘g‘ri satr: "${J.includes}" ni o‘z ichiga olishi kerak`;if(J.format==="regex")return`Noto‘g‘ri satr: ${J.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${z[J.format]??Q.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${Q.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${Q.keys.length>1?"lar":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${Q.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};var Ys=o(()=>{$1()});function UR(){return{localeError:yk0()}}var yk0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function Y(Q){return $[Q]??null}let z={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},U={nan:"NaN",number:"số",array:"mảng"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${Q.expected}, nhận được ${K}`;return`Đầu vào không hợp lệ: mong đợi ${J}, nhận được ${K}`}case"invalid_value":if(Q.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${v0(Q.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"phần tử"}`;return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Quá nhỏ: mong đợi ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Quá nhỏ: mong đợi ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${J.prefix}"`;if(J.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${J.suffix}"`;if(J.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${J.includes}"`;if(J.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${J.pattern}`;return`${z[J.format]??Q.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${Q.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${N0(Q.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${Q.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${Q.origin}`;default:return"Đầu vào không hợp lệ"}}};var zs=o(()=>{$1()});function QR(){return{localeError:kk0()}}var kk0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function Y(Q){return $[Q]??null}let z={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},U={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`无效输入:期望 instanceof ${Q.expected},实际接收 ${K}`;return`无效输入:期望 ${J},实际接收 ${K}`}case"invalid_value":if(Q.values.length===1)return`无效输入:期望 ${v0(Q.values[0])}`;return`无效选项:期望以下之一 ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()} ${I.unit??"个元素"}`;return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`无效字符串:必须以 "${J.prefix}" 开头`;if(J.format==="ends_with")return`无效字符串:必须以 "${J.suffix}" 结尾`;if(J.format==="includes")return`无效字符串:必须包含 "${J.includes}"`;if(J.format==="regex")return`无效字符串:必须满足正则表达式 ${J.pattern}`;return`无效${z[J.format]??Q.format}`}case"not_multiple_of":return`无效数字:必须是 ${Q.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${Q.origin} 中包含无效值(value)`;default:return"无效输入"}}};var Us=o(()=>{$1()});function JR(){return{localeError:xk0()}}var xk0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function Y(Q){return $[Q]??null}let z={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`無效的輸入值:預期為 instanceof ${Q.expected},但收到 ${K}`;return`無效的輸入值:預期為 ${J},但收到 ${K}`}case"invalid_value":if(Q.values.length===1)return`無效的輸入值:預期為 ${v0(Q.values[0])}`;return`無效的選項:預期為以下其中之一 ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()} ${I.unit??"個元素"}`;return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()} ${I.unit}`;return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無效的字串:必須以 "${J.prefix}" 開頭`;if(J.format==="ends_with")return`無效的字串:必須以 "${J.suffix}" 結尾`;if(J.format==="includes")return`無效的字串:必須包含 "${J.includes}"`;if(J.format==="regex")return`無效的字串:必須符合格式 ${J.pattern}`;return`無效的 ${z[J.format]??Q.format}`}case"not_multiple_of":return`無效的數字:必須為 ${Q.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${Q.keys.length>1?"們":""}:${N0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${Q.origin} 中有無效的值`;default:return"無效的輸入值"}}};var Qs=o(()=>{$1()});function IR(){return{localeError:fk0()}}var fk0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function Y(Q){return $[Q]??null}let z={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},U={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${Q.expected}, àmọ̀ a rí ${K}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${J}, àmọ̀ a rí ${K}`}case"invalid_value":if(Q.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${v0(Q.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${Q.origin??"iye"} ${I.verb} ${J}${Q.maximum} ${I.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${J}${Q.maximum}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Kéré ju: a ní láti jẹ́ pé ${Q.origin} ${I.verb} ${J}${Q.minimum} ${I.unit}`;return`Kéré ju: a ní láti jẹ́ ${J}${Q.minimum}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${J.prefix}"`;if(J.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${J.suffix}"`;if(J.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${J.includes}"`;if(J.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${J.pattern}`;return`Aṣìṣe: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${Q.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${N0(Q.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${Q.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${Q.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};var Js=o(()=>{$1()});var HG={};x8(HG,{zhTW:()=>JR,zhCN:()=>QR,yo:()=>IR,vi:()=>UR,uz:()=>zR,ur:()=>YR,uk:()=>WG,ua:()=>$R,tr:()=>tC,th:()=>aC,ta:()=>sC,sv:()=>rC,sl:()=>oC,ru:()=>lC,ro:()=>mC,pt:()=>dC,ps:()=>nC,pl:()=>pC,ota:()=>cC,no:()=>iC,nl:()=>bC,ms:()=>uC,mk:()=>fC,lt:()=>xC,ko:()=>kC,km:()=>KG,kh:()=>yC,ka:()=>SC,ja:()=>hC,it:()=>vC,is:()=>_C,id:()=>RC,hy:()=>CC,hu:()=>EC,hr:()=>jC,he:()=>TC,frCA:()=>AC,fr:()=>PC,fi:()=>BC,fa:()=>DC,es:()=>NC,eo:()=>OC,en:()=>IG,el:()=>wC,de:()=>FC,da:()=>LC,cs:()=>VC,ca:()=>qC,bg:()=>ZC,be:()=>XC,az:()=>HC,ar:()=>WC});var KR=o(()=>{Kr();Gr();Hr();Xr();Zr();qr();Vr();Lr();Fr();MC();wr();Mr();Or();Nr();Dr();Br();Pr();Ar();Tr();Er();Cr();Rr();_r();vr();hr();Sr();gC();gr();kr();xr();fr();ur();br();ir();cr();nr();pr();dr();lr();or();rr();sr();ar();tr();er();eC();$s();Ys();zs();Us();Qs();Js()});class HR{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...Y){let z=Y[0];if(this._map.set($,z),z&&typeof z==="object"&&"id"in z)this._idmap.set(z.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let Y=this._map.get($);if(Y&&typeof Y==="object"&&"id"in Y)this._idmap.delete(Y.id);return this._map.delete($),this}get($){let Y=$._zod.parent;if(Y){let z={...this.get(Y)??{}};delete z.id;let U={...z,...this._map.get($)};return Object.keys(U).length?U:void 0}return this._map.get($)}has($){return this._map.has($)}}function WV(){return new HR}var Is,GR,WR,c6;var XG=o(()=>{GR=Symbol("ZodOutput"),WR=Symbol("ZodInput");(Is=globalThis).__zod_globalRegistry??(Is.__zod_globalRegistry=WV());c6=globalThis.__zod_globalRegistry});function XR($,Y){return new $({type:"string",...x0(Y)})}function ZR($,Y){return new $({type:"string",coerce:!0,...x0(Y)})}function HV($,Y){return new $({type:"string",format:"email",check:"string_format",abort:!1,...x0(Y)})}function ZG($,Y){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...x0(Y)})}function XV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...x0(Y)})}function ZV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...x0(Y)})}function qV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...x0(Y)})}function VV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...x0(Y)})}function qG($,Y){return new $({type:"string",format:"url",check:"string_format",abort:!1,...x0(Y)})}function LV($,Y){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...x0(Y)})}function FV($,Y){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...x0(Y)})}function wV($,Y){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...x0(Y)})}function MV($,Y){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...x0(Y)})}function OV($,Y){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...x0(Y)})}function NV($,Y){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...x0(Y)})}function DV($,Y){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...x0(Y)})}function BV($,Y){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...x0(Y)})}function PV($,Y){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...x0(Y)})}function qR($,Y){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...x0(Y)})}function AV($,Y){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...x0(Y)})}function TV($,Y){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...x0(Y)})}function jV($,Y){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...x0(Y)})}function EV($,Y){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...x0(Y)})}function CV($,Y){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...x0(Y)})}function RV($,Y){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...x0(Y)})}function LR($,Y){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...x0(Y)})}function FR($,Y){return new $({type:"string",format:"date",check:"string_format",...x0(Y)})}function wR($,Y){return new $({type:"string",format:"time",check:"string_format",precision:null,...x0(Y)})}function MR($,Y){return new $({type:"string",format:"duration",check:"string_format",...x0(Y)})}function OR($,Y){return new $({type:"number",checks:[],...x0(Y)})}function NR($,Y){return new $({type:"number",coerce:!0,checks:[],...x0(Y)})}function DR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...x0(Y)})}function BR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...x0(Y)})}function PR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...x0(Y)})}function AR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...x0(Y)})}function TR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...x0(Y)})}function jR($,Y){return new $({type:"boolean",...x0(Y)})}function ER($,Y){return new $({type:"boolean",coerce:!0,...x0(Y)})}function CR($,Y){return new $({type:"bigint",...x0(Y)})}function RR($,Y){return new $({type:"bigint",coerce:!0,...x0(Y)})}function _R($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...x0(Y)})}function vR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...x0(Y)})}function hR($,Y){return new $({type:"symbol",...x0(Y)})}function SR($,Y){return new $({type:"undefined",...x0(Y)})}function gR($,Y){return new $({type:"null",...x0(Y)})}function yR($){return new $({type:"any"})}function kR($){return new $({type:"unknown"})}function xR($,Y){return new $({type:"never",...x0(Y)})}function fR($,Y){return new $({type:"void",...x0(Y)})}function uR($,Y){return new $({type:"date",...x0(Y)})}function bR($,Y){return new $({type:"date",coerce:!0,...x0(Y)})}function iR($,Y){return new $({type:"nan",...x0(Y)})}function f5($,Y){return new sq({check:"less_than",...x0(Y),value:$,inclusive:!1})}function z$($,Y){return new sq({check:"less_than",...x0(Y),value:$,inclusive:!0})}function u5($,Y){return new aq({check:"greater_than",...x0(Y),value:$,inclusive:!1})}function P8($,Y){return new aq({check:"greater_than",...x0(Y),value:$,inclusive:!0})}function _V($){return u5(0,$)}function vV($){return f5(0,$)}function hV($){return z$(0,$)}function SV($){return P8(0,$)}function G3($,Y){return new hj({check:"multiple_of",...x0(Y),value:$})}function W3($,Y){return new yj({check:"max_size",...x0(Y),maximum:$})}function b5($,Y){return new kj({check:"min_size",...x0(Y),minimum:$})}function jY($,Y){return new xj({check:"size_equals",...x0(Y),size:$})}function EY($,Y){return new fj({check:"max_length",...x0(Y),maximum:$})}function i9($,Y){return new uj({check:"min_length",...x0(Y),minimum:$})}function CY($,Y){return new bj({check:"length_equals",...x0(Y),length:$})}function lU($,Y){return new ij({check:"string_format",format:"regex",...x0(Y),pattern:$})}function oU($){return new cj({check:"string_format",format:"lowercase",...x0($)})}function rU($){return new nj({check:"string_format",format:"uppercase",...x0($)})}function sU($,Y){return new pj({check:"string_format",format:"includes",...x0(Y),includes:$})}function aU($,Y){return new dj({check:"string_format",format:"starts_with",...x0(Y),prefix:$})}function tU($,Y){return new mj({check:"string_format",format:"ends_with",...x0(Y),suffix:$})}function gV($,Y,z){return new lj({check:"property",property:$,schema:Y,...x0(z)})}function eU($,Y){return new oj({check:"mime_type",mime:$,...x0(Y)})}function Y5($){return new rj({check:"overwrite",tx:$})}function $Q($){return Y5((Y)=>Y.normalize($))}function YQ(){return Y5(($)=>$.trim())}function zQ(){return Y5(($)=>$.toLowerCase())}function UQ(){return Y5(($)=>$.toUpperCase())}function QQ(){return Y5(($)=>nT($))}function cR($,Y,z){return new $({type:"array",element:Y,...x0(z)})}function bk0($,Y,z){return new $({type:"union",options:Y,...x0(z)})}function ik0($,Y,z){return new $({type:"union",options:Y,inclusive:!1,...x0(z)})}function ck0($,Y,z,U){return new $({type:"union",options:z,discriminator:Y,...x0(U)})}function nk0($,Y,z){return new $({type:"intersection",left:Y,right:z})}function pk0($,Y,z,U){let Q=z instanceof q1;return new $({type:"tuple",items:Y,rest:Q?z:null,...x0(Q?U:z)})}function dk0($,Y,z,U){return new $({type:"record",keyType:Y,valueType:z,...x0(U)})}function mk0($,Y,z,U){return new $({type:"map",keyType:Y,valueType:z,...x0(U)})}function lk0($,Y,z){return new $({type:"set",valueType:Y,...x0(z)})}function ok0($,Y,z){let U=Array.isArray(Y)?Object.fromEntries(Y.map((Q)=>[Q,Q])):Y;return new $({type:"enum",entries:U,...x0(z)})}function rk0($,Y,z){return new $({type:"enum",entries:Y,...x0(z)})}function sk0($,Y,z){return new $({type:"literal",values:Array.isArray(Y)?Y:[Y],...x0(z)})}function nR($,Y){return new $({type:"file",...x0(Y)})}function ak0($,Y){return new $({type:"transform",transform:Y})}function tk0($,Y){return new $({type:"optional",innerType:Y})}function ek0($,Y){return new $({type:"nullable",innerType:Y})}function $x0($,Y,z){return new $({type:"default",innerType:Y,get defaultValue(){return typeof z==="function"?z():dT(z)}})}function Yx0($,Y,z){return new $({type:"nonoptional",innerType:Y,...x0(z)})}function zx0($,Y){return new $({type:"success",innerType:Y})}function Ux0($,Y,z){return new $({type:"catch",innerType:Y,catchValue:typeof z==="function"?z:()=>z})}function Qx0($,Y,z){return new $({type:"pipe",in:Y,out:z})}function Jx0($,Y){return new $({type:"readonly",innerType:Y})}function Ix0($,Y,z){return new $({type:"template_literal",parts:Y,...x0(z)})}function Kx0($,Y){return new $({type:"lazy",getter:Y})}function Gx0($,Y){return new $({type:"promise",innerType:Y})}function pR($,Y,z){let U=x0(z);return U.abort??(U.abort=!0),new $({type:"custom",check:"custom",fn:Y,...U})}function dR($,Y,z){return new $({type:"custom",check:"custom",fn:Y,...x0(z)})}function mR($,Y){let z=Ks((U)=>{return U.addIssue=(Q)=>{if(typeof Q==="string")U.issues.push(bU(Q,U.value,z._zod.def));else{let J=Q;if(J.fatal)J.continue=!1;J.code??(J.code="custom"),J.input??(J.input=U.value),J.inst??(J.inst=z),J.continue??(J.continue=!z._zod.def.abort),U.issues.push(bU(J))}},$(U.value,U)},Y);return z}function Ks($,Y){let z=new V4({check:"custom",...x0(Y)});return z._zod.check=$,z}function lR($){let Y=new V4({check:"describe"});return Y._zod.onattach=[(z)=>{let U=c6.get(z)??{};c6.add(z,{...U,description:$})}],Y._zod.check=()=>{},Y}function oR($){let Y=new V4({check:"meta"});return Y._zod.onattach=[(z)=>{let U=c6.get(z)??{};c6.add(z,{...U,...$})}],Y._zod.check=()=>{},Y}function rR($,Y){let z=x0(Y),U=z.truthy??["true","1","yes","on","y","enabled"],Q=z.falsy??["false","0","no","off","n","disabled"];if(z.case!=="sensitive")U=U.map((q)=>typeof q==="string"?q.toLowerCase():q),Q=Q.map((q)=>typeof q==="string"?q.toLowerCase():q);let J=new Set(U),I=new Set(Q),K=$.Codec??JG,G=$.Boolean??UG,H=new($.String??TY)({type:"string",error:z.error}),X=new G({type:"boolean",error:z.error}),Z=new K({type:"pipe",in:H,out:X,transform:(q,V)=>{let F=q;if(z.case!=="sensitive")F=F.toLowerCase();if(J.has(F))return!0;else if(I.has(F))return!1;else return V.issues.push({code:"invalid_value",expected:"stringbool",values:[...J,...I],input:V.value,inst:Z,continue:!1}),{}},reverseTransform:(q,V)=>{if(q===!0)return U[0]||"true";else return Q[0]||"false"},error:z.error});return Z}function JQ($,Y,z,U={}){let Q=x0(U),J={...x0(U),check:"string_format",type:"string",format:Y,fn:typeof z==="function"?z:(K)=>z.test(K),...Q};if(z instanceof RegExp)J.pattern=z;return new $(J)}var VR;var Gs=o(()=>{tq();XG();GC();$1();VR={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function H3($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??c6,target:Y,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function I4($,Y,z={path:[],schemaPath:[]}){var U;let Q=$._zod.def,J=Y.seen.get($);if(J){if(J.count++,z.schemaPath.includes($))J.cycle=z.path;return J.schema}let I={schema:{},count:1,cycle:void 0,path:z.path};Y.seen.set($,I);let K=$._zod.toJSONSchema?.();if(K)I.schema=K;else{let H={...z,schemaPath:[...z.schemaPath,$],path:z.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(Y,I.schema,H);else{let Z=I.schema,q=Y.processors[Q.type];if(!q)throw Error(`[toJSONSchema]: Non-representable type encountered: ${Q.type}`);q($,Y,Z,H)}let X=$._zod.parent;if(X){if(!I.ref)I.ref=X;I4(X,Y,H),Y.seen.get(X).isParent=!0}}let G=Y.metadataRegistry.get($);if(G)Object.assign(I.schema,G);if(Y.io==="input"&&A8($))delete I.schema.examples,delete I.schema.default;if(Y.io==="input"&&"_prefault"in I.schema)(U=I.schema).default??(U.default=I.schema._prefault);return delete I.schema._prefault,Y.seen.get($).schema}function X3($,Y){let z=$.seen.get(Y);if(!z)throw Error("Unprocessed schema. This is a bug in Zod.");let U=new Map;for(let I of $.seen.entries()){let K=$.metadataRegistry.get(I[0])?.id;if(K){let G=U.get(K);if(G&&G!==I[0])throw Error(`Duplicate schema id "${K}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);U.set(K,I[0])}}let Q=(I)=>{let K=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let X=$.external.registry.get(I[0])?.id,Z=$.external.uri??((V)=>V);if(X)return{ref:Z(X)};let q=I[1].defId??I[1].schema.id??`schema${$.counter++}`;return I[1].defId=q,{defId:q,ref:`${Z("__shared")}#/${K}/${q}`}}if(I[1]===z)return{ref:"#"};let W=`${"#"}/${K}/`,H=I[1].schema.id??`__schema${$.counter++}`;return{defId:H,ref:W+H}},J=(I)=>{if(I[1].schema.$ref)return;let K=I[1],{ref:G,defId:W}=Q(I);if(K.def={...K.schema},W)K.defId=W;let H=K.schema;for(let X in H)delete H[X];H.$ref=G};if($.cycles==="throw")for(let I of $.seen.entries()){let K=I[1];if(K.cycle)throw Error(`Cycle detected: #/${K.cycle?.join("/")}/ + `)}q.write("payload.value = newResult;"),q.write("return payload;");let O=q.compile();return(N,D)=>O(Z,N,D)},J,I=PY,K=!NY.jitless,W=K&&mT.value,H=Y.catchall,X;$._zod.parse=(Z,q)=>{X??(X=U.value);let V=Z.value;if(!I(V))return Z.issues.push({expected:"object",code:"invalid_type",input:V,inst:$}),Z;if(K&&W&&q?.async===!1&&q.jitless!==!0){if(!J)J=Q(Y.shape);if(Z=J(Z,q),!H)return Z;return Jr([],V,Z,q,X,$)}return z(Z,q)}});QG=W0("$ZodUnion",($,Y)=>{q1.init($,Y),T1($._zod,"optin",()=>Y.options.some((U)=>U._zod.optin==="optional")?"optional":void 0),T1($._zod,"optout",()=>Y.options.some((U)=>U._zod.optout==="optional")?"optional":void 0),T1($._zod,"values",()=>{if(Y.options.every((U)=>U._zod.values))return new Set(Y.options.flatMap((U)=>Array.from(U._zod.values)));return}),T1($._zod,"pattern",()=>{if(Y.options.every((U)=>U._zod.pattern)){let U=Y.options.map((Q)=>Q._zod.pattern);return new RegExp(`^(${U.map((Q)=>lK(Q.source)).join("|")})$`)}return});let z=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(U,Q)=>{if(z)return z(U,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:U.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else{if(G.issues.length===0)return G;I.push(G)}}if(!J)return co(I,U,$,Q);return Promise.all(I).then((K)=>{return co(K,U,$,Q)})}});uE=W0("$ZodXor",($,Y)=>{QG.init($,Y),Y.inclusive=!1;let z=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(U,Q)=>{if(z)return z(U,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:U.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else I.push(G)}if(!J)return no(I,U,$,Q);return Promise.all(I).then((K)=>{return no(K,U,$,Q)})}}),bE=W0("$ZodDiscriminatedUnion",($,Y)=>{Y.inclusive=!1,QG.init($,Y);let z=$._zod.parse;T1($._zod,"propValues",()=>{let Q={};for(let J of Y.options){let I=J._zod.propValues;if(!I||Object.keys(I).length===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(J)}"`);for(let[K,G]of Object.entries(I)){if(!Q[K])Q[K]=new Set;for(let W of G)Q[K].add(W)}}return Q});let U=uU(()=>{let Q=Y.options,J=new Map;for(let I of Q){let K=I._zod.propValues?.[Y.discriminator];if(!K||K.size===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(I)}"`);for(let G of K){if(J.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);J.set(G,I)}}return J});$._zod.parse=(Q,J)=>{let I=Q.value;if(!PY(I))return Q.issues.push({code:"invalid_type",expected:"object",input:I,inst:$}),Q;let K=U.value.get(I?.[Y.discriminator]);if(K)return K._zod.run(Q,J);if(Y.unionFallback||J.direction==="backward")return z(Q,J);return Q.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:Y.discriminator,options:Array.from(U.value.keys()),input:I,path:[Y.discriminator],inst:$}),Q}}),iE=W0("$ZodIntersection",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value,J=Y.left._zod.run({value:Q,issues:[]},U),I=Y.right._zod.run({value:Q,issues:[]},U);if(J instanceof Promise||I instanceof Promise)return Promise.all([J,I]).then(([G,W])=>{return po(z,G,W)});return po(z,J,I)}});KV=W0("$ZodTuple",($,Y)=>{q1.init($,Y);let z=Y.items;$._zod.parse=(U,Q)=>{let J=U.value;if(!Array.isArray(J))return U.issues.push({input:J,inst:$,expected:"tuple",code:"invalid_type"}),U;U.value=[];let I=[],K=mo(z,"optin"),G=mo(z,"optout");if(!Y.rest){if(J.lengthz.length)U.issues.push({code:"too_big",maximum:z.length,inclusive:!0,input:J,inst:$,origin:"array"})}let W=Array(z.length);for(let H=0;H{W[H]=Z}));else W[H]=X}if(Y.rest){let H=z.length-1,X=J.slice(z.length);for(let Z of X){H++;let q=Y.rest._zod.run({value:Z,issues:[]},Q);if(q instanceof Promise)I.push(q.then((V)=>lo(V,U,H)));else lo(q,U,H)}}if(I.length)return Promise.all(I).then(()=>oo(W,U,z,J,G));return oo(W,U,z,J,G)}});cE=W0("$ZodRecord",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!I3(Q))return z.issues.push({expected:"record",code:"invalid_type",input:Q,inst:$}),z;let J=[],I=Y.keyType._zod.values;if(I){z.value={};let K=new Set;for(let W of I)if(typeof W==="string"||typeof W==="number"||typeof W==="symbol"){K.add(typeof W==="number"?W.toString():W);let H=Y.keyType._zod.run({value:W,issues:[]},U);if(H instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(H.issues.length){z.issues.push({code:"invalid_key",origin:"record",issues:H.issues.map((q)=>B8(q,U,a4())),input:W,path:[W],inst:$});continue}let X=H.value,Z=Y.valueType._zod.run({value:Q[W],issues:[]},U);if(Z instanceof Promise)J.push(Z.then((q)=>{if(q.issues.length)z.issues.push(...f8(W,q.issues));z.value[X]=q.value}));else{if(Z.issues.length)z.issues.push(...f8(W,Z.issues));z.value[X]=Z.value}}let G;for(let W in Q)if(!K.has(W))G=G??[],G.push(W);if(G&&G.length>0)z.issues.push({code:"unrecognized_keys",input:Q,inst:$,keys:G})}else{z.value={};for(let K of Reflect.ownKeys(Q)){if(K==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(Q,K))continue;let G=Y.keyType._zod.run({value:K,issues:[]},U);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof K==="string"&&$G.test(K)&&G.issues.length){let X=Y.keyType._zod.run({value:Number(K),issues:[]},U);if(X instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(X.issues.length===0)G=X}if(G.issues.length){if(Y.mode==="loose")z.value[K]=Q[K];else z.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((X)=>B8(X,U,a4())),input:K,path:[K],inst:$});continue}let H=Y.valueType._zod.run({value:Q[K],issues:[]},U);if(H instanceof Promise)J.push(H.then((X)=>{if(X.issues.length)z.issues.push(...f8(K,X.issues));z.value[G.value]=X.value}));else{if(H.issues.length)z.issues.push(...f8(K,H.issues));z.value[G.value]=H.value}}}if(J.length)return Promise.all(J).then(()=>z);return z}}),nE=W0("$ZodMap",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!(Q instanceof Map))return z.issues.push({expected:"map",code:"invalid_type",input:Q,inst:$}),z;let J=[];z.value=new Map;for(let[I,K]of Q){let G=Y.keyType._zod.run({value:I,issues:[]},U),W=Y.valueType._zod.run({value:K,issues:[]},U);if(G instanceof Promise||W instanceof Promise)J.push(Promise.all([G,W]).then(([H,X])=>{ro(H,X,z,I,Q,$,U)}));else ro(G,W,z,I,Q,$,U)}if(J.length)return Promise.all(J).then(()=>z);return z}});pE=W0("$ZodSet",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(!(Q instanceof Set))return z.issues.push({input:Q,inst:$,expected:"set",code:"invalid_type"}),z;let J=[];z.value=new Set;for(let I of Q){let K=Y.valueType._zod.run({value:I,issues:[]},U);if(K instanceof Promise)J.push(K.then((G)=>so(G,z)));else so(K,z)}if(J.length)return Promise.all(J).then(()=>z);return z}});dE=W0("$ZodEnum",($,Y)=>{q1.init($,Y);let z=mK(Y.entries),U=new Set(z);$._zod.values=U,$._zod.pattern=new RegExp(`^(${z.filter((Q)=>oK.has(typeof Q)).map((Q)=>typeof Q==="string"?N$(Q):Q.toString()).join("|")})$`),$._zod.parse=(Q,J)=>{let I=Q.value;if(U.has(I))return Q;return Q.issues.push({code:"invalid_value",values:z,input:I,inst:$}),Q}}),mE=W0("$ZodLiteral",($,Y)=>{if(q1.init($,Y),Y.values.length===0)throw Error("Cannot create literal schema with no valid values");let z=new Set(Y.values);$._zod.values=z,$._zod.pattern=new RegExp(`^(${Y.values.map((U)=>typeof U==="string"?N$(U):U?N$(U.toString()):String(U)).join("|")})$`),$._zod.parse=(U,Q)=>{let J=U.value;if(z.has(J))return U;return U.issues.push({code:"invalid_value",values:Y.values,input:J,inst:$}),U}}),lE=W0("$ZodFile",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{let Q=z.value;if(Q instanceof File)return z;return z.issues.push({expected:"file",code:"invalid_type",input:Q,inst:$}),z}}),oE=W0("$ZodTransform",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.parse=(z,U)=>{if(U.direction==="backward")throw new DY($.constructor.name);let Q=Y.transform(z.value,z);if(U.async)return(Q instanceof Promise?Q:Promise.resolve(Q)).then((I)=>{return z.value=I,z.fallback=!0,z});if(Q instanceof Promise)throw new f5;return z.value=Q,z.fallback=!0,z}});GV=W0("$ZodOptional",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.optout="optional",T1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,void 0]):void 0}),T1($._zod,"pattern",()=>{let z=Y.innerType._zod.pattern;return z?new RegExp(`^(${lK(z.source)})?$`):void 0}),$._zod.parse=(z,U)=>{if(Y.innerType._zod.optin==="optional"){let Q=z.value,J=Y.innerType._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>ao(I,Q));return ao(J,Q)}if(z.value===void 0)return z;return Y.innerType._zod.run(z,U)}}),rE=W0("$ZodExactOptional",($,Y)=>{GV.init($,Y),T1($._zod,"values",()=>Y.innerType._zod.values),T1($._zod,"pattern",()=>Y.innerType._zod.pattern),$._zod.parse=(z,U)=>{return Y.innerType._zod.run(z,U)}}),sE=W0("$ZodNullable",($,Y)=>{q1.init($,Y),T1($._zod,"optin",()=>Y.innerType._zod.optin),T1($._zod,"optout",()=>Y.innerType._zod.optout),T1($._zod,"pattern",()=>{let z=Y.innerType._zod.pattern;return z?new RegExp(`^(${lK(z.source)}|null)$`):void 0}),T1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,null]):void 0}),$._zod.parse=(z,U)=>{if(z.value===null)return z;return Y.innerType._zod.run(z,U)}}),aE=W0("$ZodDefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",T1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);if(z.value===void 0)return z.value=Y.defaultValue,z;let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>to(J,Y));return to(Q,Y)}});tE=W0("$ZodPrefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",T1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);if(z.value===void 0)z.value=Y.defaultValue;return Y.innerType._zod.run(z,U)}}),eE=W0("$ZodNonOptional",($,Y)=>{q1.init($,Y),T1($._zod,"values",()=>{let z=Y.innerType._zod.values;return z?new Set([...z].filter((U)=>U!==void 0)):void 0}),$._zod.parse=(z,U)=>{let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>eo(J,$));return eo(Q,$)}});$C=W0("$ZodSuccess",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{if(U.direction==="backward")throw new DY("ZodSuccess");let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>{return z.value=J.issues.length===0,z});return z.value=Q.issues.length===0,z}}),YC=W0("$ZodCatch",($,Y)=>{q1.init($,Y),$._zod.optin="optional",T1($._zod,"optout",()=>Y.innerType._zod.optout),T1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>{if(z.value=J.value,J.issues.length)z.value=Y.catchValue({...z,error:{issues:J.issues.map((I)=>B8(I,U,a4()))},input:z.value}),z.issues=[],z.fallback=!0;return z});if(z.value=Q.value,Q.issues.length)z.value=Y.catchValue({...z,error:{issues:Q.issues.map((J)=>B8(J,U,a4()))},input:z.value}),z.issues=[],z.fallback=!0;return z}}),zC=W0("$ZodNaN",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{if(typeof z.value!=="number"||!Number.isNaN(z.value))return z.issues.push({input:z.value,inst:$,expected:"nan",code:"invalid_type"}),z;return z}}),WV=W0("$ZodPipe",($,Y)=>{q1.init($,Y),T1($._zod,"values",()=>Y.in._zod.values),T1($._zod,"optin",()=>Y.in._zod.optin),T1($._zod,"optout",()=>Y.out._zod.optout),T1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(z,U)=>{if(U.direction==="backward"){let J=Y.out._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>YV(I,Y.in,U));return YV(J,Y.in,U)}let Q=Y.in._zod.run(z,U);if(Q instanceof Promise)return Q.then((J)=>YV(J,Y.out,U));return YV(Q,Y.out,U)}});JG=W0("$ZodCodec",($,Y)=>{q1.init($,Y),T1($._zod,"values",()=>Y.in._zod.values),T1($._zod,"optin",()=>Y.in._zod.optin),T1($._zod,"optout",()=>Y.out._zod.optout),T1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(z,U)=>{if((U.direction||"forward")==="forward"){let J=Y.in._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>zV(I,Y,U));return zV(J,Y,U)}else{let J=Y.out._zod.run(z,U);if(J instanceof Promise)return J.then((I)=>zV(I,Y,U));return zV(J,Y,U)}}});UC=W0("$ZodPreprocess",($,Y)=>{WV.init($,Y)}),QC=W0("$ZodReadonly",($,Y)=>{q1.init($,Y),T1($._zod,"propValues",()=>Y.innerType._zod.propValues),T1($._zod,"values",()=>Y.innerType._zod.values),T1($._zod,"optin",()=>Y.innerType?._zod?.optin),T1($._zod,"optout",()=>Y.innerType?._zod?.optout),$._zod.parse=(z,U)=>{if(U.direction==="backward")return Y.innerType._zod.run(z,U);let Q=Y.innerType._zod.run(z,U);if(Q instanceof Promise)return Q.then($r);return $r(Q)}});JC=W0("$ZodTemplateLiteral",($,Y)=>{q1.init($,Y);let z=[];for(let U of Y.parts)if(typeof U==="object"&&U!==null){if(!U._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...U._zod.traits].shift()}`);let Q=U._zod.pattern instanceof RegExp?U._zod.pattern.source:U._zod.pattern;if(!Q)throw Error(`Invalid template literal part: ${U._zod.traits}`);let J=Q.startsWith("^")?1:0,I=Q.endsWith("$")?Q.length-1:Q.length;z.push(Q.slice(J,I))}else if(U===null||oT.has(typeof U))z.push(N$(`${U}`));else throw Error(`Invalid template literal part: ${U}`);$._zod.pattern=new RegExp(`^${z.join("")}$`),$._zod.parse=(U,Q)=>{if(typeof U.value!=="string")return U.issues.push({input:U.value,inst:$,expected:"string",code:"invalid_type"}),U;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(U.value))return U.issues.push({input:U.value,inst:$,code:"invalid_format",format:Y.format??"template_literal",pattern:$._zod.pattern.source}),U;return U}}),IC=W0("$ZodFunction",($,Y)=>{return q1.init($,Y),$._def=Y,$._zod.def=Y,$.implement=(z)=>{if(typeof z!=="function")throw Error("implement() must be called with a function");return function(...U){let Q=$._def.input?uq($._def.input,U):U,J=Reflect.apply(z,this,Q);if($._def.output)return uq($._def.output,J);return J}},$.implementAsync=(z)=>{if(typeof z!=="function")throw Error("implementAsync() must be called with a function");return async function(...U){let Q=$._def.input?await bq($._def.input,U):U,J=await Reflect.apply(z,this,Q);if($._def.output)return await bq($._def.output,J);return J}},$._zod.parse=(z,U)=>{if(typeof z.value!=="function")return z.issues.push({code:"invalid_type",expected:"function",input:z.value,inst:$}),z;if($._def.output&&$._def.output._zod.def.type==="promise")z.value=$.implementAsync(z.value);else z.value=$.implement(z.value);return z},$.input=(...z)=>{let U=$.constructor;if(Array.isArray(z[0]))return new U({type:"function",input:new KV({type:"tuple",items:z[0],rest:z[1]}),output:$._def.output});return new U({type:"function",input:z[0],output:$._def.output})},$.output=(z)=>{return new $.constructor({type:"function",input:$._def.input,output:z})},$}),KC=W0("$ZodPromise",($,Y)=>{q1.init($,Y),$._zod.parse=(z,U)=>{return Promise.resolve(z.value).then((Q)=>Y.innerType._zod.run({value:Q,issues:[]},U))}}),GC=W0("$ZodLazy",($,Y)=>{q1.init($,Y),T1($._zod,"innerType",()=>{let z=Y;if(!z._cachedInner)z._cachedInner=Y.getter();return z._cachedInner}),T1($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),T1($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),T1($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),T1($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(z,U)=>{return $._zod.innerType._zod.run(z,U)}}),WC=W0("$ZodCustom",($,Y)=>{V4.init($,Y),q1.init($,Y),$._zod.parse=(z,U)=>{return z},$._zod.check=(z)=>{let U=z.value,Q=Y.fn(U);if(Q instanceof Promise)return Q.then((J)=>Yr(J,z,U,$));Yr(Q,z,U,$);return}})});function XC(){return{localeError:dy0()}}var dy0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function Y(Q){return $[Q]??null}let z={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${Q.expected}، ولكن تم إدخال ${K}`;return`مدخلات غير مقبولة: يفترض إدخال ${J}، ولكن تم إدخال ${K}`}case"invalid_value":if(Q.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${v0(Q.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return` أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()} ${I.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()} ${I.unit}`;return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${Q.prefix}"`;if(J.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${J.suffix}"`;if(J.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${J.includes}"`;if(J.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${J.pattern}`;return`${z[J.format]??Q.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${Q.divisor}`;case"unrecognized_keys":return`معرف${Q.keys.length>1?"ات":""} غريب${Q.keys.length>1?"ة":""}: ${N0(Q.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${Q.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${Q.origin}`;default:return"مدخل غير مقبول"}}};var Kr=o(()=>{$1()});function ZC(){return{localeError:my0()}}var my0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Yanlış dəyər: gözlənilən instanceof ${Q.expected}, daxil olan ${K}`;return`Yanlış dəyər: gözlənilən ${J}, daxil olan ${K}`}case"invalid_value":if(Q.values.length===1)return`Yanlış dəyər: gözlənilən ${v0(Q.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Yanlış mətn: "${J.prefix}" ilə başlamalıdır`;if(J.format==="ends_with")return`Yanlış mətn: "${J.suffix}" ilə bitməlidir`;if(J.format==="includes")return`Yanlış mətn: "${J.includes}" daxil olmalıdır`;if(J.format==="regex")return`Yanlış mətn: ${J.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${z[J.format]??Q.format}`}case"not_multiple_of":return`Yanlış ədəd: ${Q.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${Q.keys.length>1?"lar":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${Q.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};var Gr=o(()=>{$1()});function Wr($,Y,z,U){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return U;if(J===1)return Y;if(J>=2&&J<=4)return z;return U}function qC(){return{localeError:ly0()}}var ly0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function Y(Q){return $[Q]??null}let z={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},U={nan:"NaN",number:"лік",array:"масіў"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Няправільны ўвод: чакаўся instanceof ${Q.expected}, атрымана ${K}`;return`Няправільны ўвод: чакаўся ${J}, атрымана ${K}`}case"invalid_value":if(Q.values.length===1)return`Няправільны ўвод: чакалася ${v0(Q.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=Wr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна ${I.verb} ${J}${Q.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна быць ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=Wr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта малы: чакалася, што ${Q.origin} павінна ${I.verb} ${J}${Q.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${Q.origin} павінна быць ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${J.prefix}"`;if(J.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${J.suffix}"`;if(J.format==="includes")return`Няправільны радок: павінен змяшчаць "${J.includes}"`;if(J.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${J.pattern}`;return`Няправільны ${z[J.format]??Q.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${Q.keys.length>1?"ключы":"ключ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${Q.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${Q.origin}`;default:return"Няправільны ўвод"}}};var Hr=o(()=>{$1()});function VC(){return{localeError:oy0()}}var oy0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function Y(Q){return $[Q]??null}let z={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},U={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Невалиден вход: очакван instanceof ${Q.expected}, получен ${K}`;return`Невалиден вход: очакван ${J}, получен ${K}`}case"invalid_value":if(Q.values.length===1)return`Невалиден вход: очакван ${v0(Q.values[0])}`;return`Невалидна опция: очаквано едно от ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Твърде голямо: очаква се ${Q.origin??"стойност"} да съдържа ${J}${Q.maximum.toString()} ${I.unit??"елемента"}`;return`Твърде голямо: очаква се ${Q.origin??"стойност"} да бъде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Твърде малко: очаква се ${Q.origin} да съдържа ${J}${Q.minimum.toString()} ${I.unit}`;return`Твърде малко: очаква се ${Q.origin} да бъде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Невалиден низ: трябва да започва с "${J.prefix}"`;if(J.format==="ends_with")return`Невалиден низ: трябва да завършва с "${J.suffix}"`;if(J.format==="includes")return`Невалиден низ: трябва да включва "${J.includes}"`;if(J.format==="regex")return`Невалиден низ: трябва да съвпада с ${J.pattern}`;let I="Невалиден";if(J.format==="emoji")I="Невалидно";if(J.format==="datetime")I="Невалидно";if(J.format==="date")I="Невалидна";if(J.format==="time")I="Невалидно";if(J.format==="duration")I="Невалидна";return`${I} ${z[J.format]??Q.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${Q.divisor}`;case"unrecognized_keys":return`Неразпознат${Q.keys.length>1?"и":""} ключ${Q.keys.length>1?"ове":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${Q.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${Q.origin}`;default:return"Невалиден вход"}}};var Xr=o(()=>{$1()});function LC(){return{localeError:ry0()}}var ry0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function Y(Q){return $[Q]??null}let z={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipus invàlid: s'esperava instanceof ${Q.expected}, s'ha rebut ${K}`;return`Tipus invàlid: s'esperava ${J}, s'ha rebut ${K}`}case"invalid_value":if(Q.values.length===1)return`Valor invàlid: s'esperava ${v0(Q.values[0])}`;return`Opció invàlida: s'esperava una de ${N0(Q.values," o ")}`;case"too_big":{let J=Q.inclusive?"com a màxim":"menys de",I=Y(Q.origin);if(I)return`Massa gran: s'esperava que ${Q.origin??"el valor"} contingués ${J} ${Q.maximum.toString()} ${I.unit??"elements"}`;return`Massa gran: s'esperava que ${Q.origin??"el valor"} fos ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"com a mínim":"més de",I=Y(Q.origin);if(I)return`Massa petit: s'esperava que ${Q.origin} contingués ${J} ${Q.minimum.toString()} ${I.unit}`;return`Massa petit: s'esperava que ${Q.origin} fos ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Format invàlid: ha de començar amb "${J.prefix}"`;if(J.format==="ends_with")return`Format invàlid: ha d'acabar amb "${J.suffix}"`;if(J.format==="includes")return`Format invàlid: ha d'incloure "${J.includes}"`;if(J.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${J.pattern}`;return`Format invàlid per a ${z[J.format]??Q.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${Q.divisor}`;case"unrecognized_keys":return`Clau${Q.keys.length>1?"s":""} no reconeguda${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${Q.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${Q.origin}`;default:return"Entrada invàlida"}}};var Zr=o(()=>{$1()});function FC(){return{localeError:sy0()}}var sy0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function Y(Q){return $[Q]??null}let z={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},U={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neplatný vstup: očekáváno instanceof ${Q.expected}, obdrženo ${K}`;return`Neplatný vstup: očekáváno ${J}, obdrženo ${K}`}case"invalid_value":if(Q.values.length===1)return`Neplatný vstup: očekáváno ${v0(Q.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí mít ${J}${Q.maximum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí být ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí mít ${J}${Q.minimum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí být ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neplatný řetězec: musí začínat na "${J.prefix}"`;if(J.format==="ends_with")return`Neplatný řetězec: musí končit na "${J.suffix}"`;if(J.format==="includes")return`Neplatný řetězec: musí obsahovat "${J.includes}"`;if(J.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${J.pattern}`;return`Neplatný formát ${z[J.format]??Q.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${Q.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${N0(Q.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${Q.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${Q.origin}`;default:return"Neplatný vstup"}}};var qr=o(()=>{$1()});function wC(){return{localeError:ay0()}}var ay0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},U={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldigt input: forventede instanceof ${Q.expected}, fik ${K}`;return`Ugyldigt input: forventede ${J}, fik ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig værdi: forventede ${v0(Q.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`For stor: forventede ${K??"value"} ${I.verb} ${J} ${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor: forventede ${K??"value"} havde ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`For lille: forventede ${K} ${I.verb} ${J} ${Q.minimum.toString()} ${I.unit}`;return`For lille: forventede ${K} havde ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: skal starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: skal ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: skal indeholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: skal matche mønsteret ${J.pattern}`;return`Ugyldig ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${Q.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${Q.origin}`;default:return"Ugyldigt input"}}};var Vr=o(()=>{$1()});function MC(){return{localeError:ty0()}}var ty0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function Y(Q){return $[Q]??null}let z={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},U={nan:"NaN",number:"Zahl",array:"Array"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ungültige Eingabe: erwartet instanceof ${Q.expected}, erhalten ${K}`;return`Ungültige Eingabe: erwartet ${J}, erhalten ${K}`}case"invalid_value":if(Q.values.length===1)return`Ungültige Eingabe: erwartet ${v0(Q.values[0])}`;return`Ungültige Option: erwartet eine von ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ${I.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ist`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} hat`;return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ist`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ungültiger String: muss mit "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ungültiger String: muss mit "${J.suffix}" enden`;if(J.format==="includes")return`Ungültiger String: muss "${J.includes}" enthalten`;if(J.format==="regex")return`Ungültiger String: muss dem Muster ${J.pattern} entsprechen`;return`Ungültig: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${Q.divisor} sein`;case"unrecognized_keys":return`${Q.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${Q.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${Q.origin}`;default:return"Ungültige Eingabe"}}};var Lr=o(()=>{$1()});function OC(){return{localeError:ey0()}}var ey0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function Y(Q){return $[Q]??null}let z={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(typeof Q.expected==="string"&&/^[A-Z]/.test(Q.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${Q.expected}, λήφθηκε ${K}`;return`Μη έγκυρη είσοδος: αναμενόταν ${J}, λήφθηκε ${K}`}case"invalid_value":if(Q.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${v0(Q.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να έχει ${J}${Q.maximum.toString()} ${I.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να είναι ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Πολύ μικρό: αναμενόταν ${Q.origin} να έχει ${J}${Q.minimum.toString()} ${I.unit}`;return`Πολύ μικρό: αναμενόταν ${Q.origin} να είναι ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${J.prefix}"`;if(J.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${J.suffix}"`;if(J.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${J.includes}"`;if(J.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${J.pattern}`;return`Μη έγκυρο: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${Q.divisor}`;case"unrecognized_keys":return`Άγνωστ${Q.keys.length>1?"α":"ο"} κλειδ${Q.keys.length>1?"ιά":"ί"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${Q.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${Q.origin}`;default:return"Μη έγκυρη είσοδος"}}};var Fr=o(()=>{$1()});function IG(){return{localeError:$k0()}}var $k0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;return`Invalid input: expected ${J}, received ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Invalid option: expected one of ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Too big: expected ${Q.origin??"value"} to have ${J}${Q.maximum.toString()} ${I.unit??"elements"}`;return`Too big: expected ${Q.origin??"value"} to be ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Too small: expected ${Q.origin} to have ${J}${Q.minimum.toString()} ${I.unit}`;return`Too small: expected ${Q.origin} to be ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Invalid string: must start with "${J.prefix}"`;if(J.format==="ends_with")return`Invalid string: must end with "${J.suffix}"`;if(J.format==="includes")return`Invalid string: must include "${J.includes}"`;if(J.format==="regex")return`Invalid string: must match pattern ${J.pattern}`;return`Invalid ${z[J.format]??Q.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${Q.divisor}`;case"unrecognized_keys":return`Unrecognized key${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Invalid key in ${Q.origin}`;case"invalid_union":if(Q.options&&Array.isArray(Q.options)&&Q.options.length>0)return`Invalid discriminator value. Expected ${Q.options.map((I)=>`'${I}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${Q.origin}`;default:return"Invalid input"}}};var NC=o(()=>{$1()});function DC(){return{localeError:Yk0()}}var Yk0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function Y(Q){return $[Q]??null}let z={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},U={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nevalida enigo: atendiĝis instanceof ${Q.expected}, riceviĝis ${K}`;return`Nevalida enigo: atendiĝis ${J}, riceviĝis ${K}`}case"invalid_value":if(Q.values.length===1)return`Nevalida enigo: atendiĝis ${v0(Q.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()} ${I.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Tro malgranda: atendiĝis ke ${Q.origin} havu ${J}${Q.minimum.toString()} ${I.unit}`;return`Tro malgranda: atendiĝis ke ${Q.origin} estu ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${J.prefix}"`;if(J.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${J.suffix}"`;if(J.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${J.includes}"`;if(J.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${J.pattern}`;return`Nevalida ${z[J.format]??Q.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${Q.divisor}`;case"unrecognized_keys":return`Nekonata${Q.keys.length>1?"j":""} ŝlosilo${Q.keys.length>1?"j":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${Q.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${Q.origin}`;default:return"Nevalida enigo"}}};var wr=o(()=>{$1()});function BC(){return{localeError:zk0()}}var zk0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function Y(Q){return $[Q]??null}let z={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},U={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrada inválida: se esperaba instanceof ${Q.expected}, recibido ${K}`;return`Entrada inválida: se esperaba ${J}, recibido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: se esperaba ${v0(Q.values[0])}`;return`Opción inválida: se esperaba una de ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Demasiado grande: se esperaba que ${K??"valor"} tuviera ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${K??"valor"} fuera ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Demasiado pequeño: se esperaba que ${K} tuviera ${J}${Q.minimum.toString()} ${I.unit}`;return`Demasiado pequeño: se esperaba que ${K} fuera ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Cadena inválida: debe comenzar con "${J.prefix}"`;if(J.format==="ends_with")return`Cadena inválida: debe terminar en "${J.suffix}"`;if(J.format==="includes")return`Cadena inválida: debe incluir "${J.includes}"`;if(J.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${J.pattern}`;return`Inválido ${z[J.format]??Q.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Llave${Q.keys.length>1?"s":""} desconocida${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Llave inválida en ${U[Q.origin]??Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${U[Q.origin]??Q.origin}`;default:return"Entrada inválida"}}};var Mr=o(()=>{$1()});function PC(){return{localeError:Uk0()}}var Uk0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function Y(Q){return $[Q]??null}let z={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},U={nan:"NaN",number:"عدد",array:"آرایه"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ورودی نامعتبر: می‌بایست instanceof ${Q.expected} می‌بود، ${K} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${J} می‌بود، ${K} دریافت شد`}case"invalid_value":if(Q.values.length===1)return`ورودی نامعتبر: می‌بایست ${v0(Q.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${N0(Q.values,"|")} می‌بود`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} باشد`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} باشد`;return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} باشد`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`رشته نامعتبر: باید با "${J.prefix}" شروع شود`;if(J.format==="ends_with")return`رشته نامعتبر: باید با "${J.suffix}" تمام شود`;if(J.format==="includes")return`رشته نامعتبر: باید شامل "${J.includes}" باشد`;if(J.format==="regex")return`رشته نامعتبر: باید با الگوی ${J.pattern} مطابقت داشته باشد`;return`${z[J.format]??Q.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${Q.divisor} باشد`;case"unrecognized_keys":return`کلید${Q.keys.length>1?"های":""} ناشناس: ${N0(Q.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${Q.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${Q.origin}`;default:return"ورودی نامعتبر"}}};var Or=o(()=>{$1()});function AC(){return{localeError:Qk0()}}var Qk0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function Y(Q){return $[Q]??null}let z={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Virheellinen tyyppi: odotettiin instanceof ${Q.expected}, oli ${K}`;return`Virheellinen tyyppi: odotettiin ${J}, oli ${K}`}case"invalid_value":if(Q.values.length===1)return`Virheellinen syöte: täytyy olla ${v0(Q.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Liian suuri: ${I.subject} täytyy olla ${J}${Q.maximum.toString()} ${I.unit}`.trim();return`Liian suuri: arvon täytyy olla ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Liian pieni: ${I.subject} täytyy olla ${J}${Q.minimum.toString()} ${I.unit}`.trim();return`Liian pieni: arvon täytyy olla ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${J.prefix}"`;if(J.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${J.suffix}"`;if(J.format==="includes")return`Virheellinen syöte: täytyy sisältää "${J.includes}"`;if(J.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${J.pattern}`;return`Virheellinen ${z[J.format]??Q.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${Q.divisor} monikerta`;case"unrecognized_keys":return`${Q.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${N0(Q.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};var Nr=o(()=>{$1()});function TC(){return{localeError:Jk0()}}var Jk0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let z={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},U={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : instanceof ${Q.expected} attendu, ${K} reçu`;return`Entrée invalide : ${J} attendu, ${K} reçu`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : ${v0(Q.values[0])} attendu`;return`Option invalide : une valeur parmi ${N0(Q.values,"|")} attendue`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Trop grand : ${U[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"élément(s)"}`;return`Trop grand : ${U[Q.origin]??"valeur"} doit être ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Trop petit : ${U[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : ${U[Q.origin]??"valeur"} doit être ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${J.pattern}`;return`${z[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${N0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var Dr=o(()=>{$1()});function jC(){return{localeError:Ik0()}}var Ik0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let z={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : attendu instanceof ${Q.expected}, reçu ${K}`;return`Entrée invalide : attendu ${J}, reçu ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : attendu ${v0(Q.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"≤":"<",I=Y(Q.origin);if(I)return`Trop grand : attendu que ${Q.origin??"la valeur"} ait ${J}${Q.maximum.toString()} ${I.unit}`;return`Trop grand : attendu que ${Q.origin??"la valeur"} soit ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"≥":">",I=Y(Q.origin);if(I)return`Trop petit : attendu que ${Q.origin} ait ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : attendu que ${Q.origin} soit ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au motif ${J.pattern}`;return`${z[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${N0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var Br=o(()=>{$1()});function EC(){return{localeError:Kk0()}}var Kk0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},Y={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},z=(W)=>W?$[W]:void 0,U=(W)=>{let H=z(W);if(H)return H.label;return W??$.unknown.label},Q=(W)=>`ה${U(W)}`,J=(W)=>{return(z(W)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},I=(W)=>{if(!W)return null;return Y[W]??null},K={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},G={nan:"NaN"};return(W)=>{switch(W.code){case"invalid_type":{let H=W.expected,X=G[H??""]??U(H),Z=S0(W.input),q=G[Z]??$[Z]?.label??Z;if(/^[A-Z]/.test(W.expected))return`קלט לא תקין: צריך להיות instanceof ${W.expected}, התקבל ${q}`;return`קלט לא תקין: צריך להיות ${X}, התקבל ${q}`}case"invalid_value":{if(W.values.length===1)return`ערך לא תקין: הערך חייב להיות ${v0(W.values[0])}`;let H=W.values.map((q)=>v0(q));if(W.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${H[0]} או ${H[1]}`;let X=H[H.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${H.slice(0,-1).join(", ")} או ${X}`}case"too_big":{let H=I(W.origin),X=Q(W.origin??"value");if(W.origin==="string")return`${H?.longLabel??"ארוך"} מדי: ${X} צריכה להכיל ${W.maximum.toString()} ${H?.unit??""} ${W.inclusive?"או פחות":"לכל היותר"}`.trim();if(W.origin==="number"){let V=W.inclusive?`קטן או שווה ל-${W.maximum}`:`קטן מ-${W.maximum}`;return`גדול מדי: ${X} צריך להיות ${V}`}if(W.origin==="array"||W.origin==="set"){let V=W.origin==="set"?"צריכה":"צריך",F=W.inclusive?`${W.maximum} ${H?.unit??""} או פחות`:`פחות מ-${W.maximum} ${H?.unit??""}`;return`גדול מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=W.inclusive?"<=":"<",q=J(W.origin??"value");if(H?.unit)return`${H.longLabel} מדי: ${X} ${q} ${Z}${W.maximum.toString()} ${H.unit}`;return`${H?.longLabel??"גדול"} מדי: ${X} ${q} ${Z}${W.maximum.toString()}`}case"too_small":{let H=I(W.origin),X=Q(W.origin??"value");if(W.origin==="string")return`${H?.shortLabel??"קצר"} מדי: ${X} צריכה להכיל ${W.minimum.toString()} ${H?.unit??""} ${W.inclusive?"או יותר":"לפחות"}`.trim();if(W.origin==="number"){let V=W.inclusive?`גדול או שווה ל-${W.minimum}`:`גדול מ-${W.minimum}`;return`קטן מדי: ${X} צריך להיות ${V}`}if(W.origin==="array"||W.origin==="set"){let V=W.origin==="set"?"צריכה":"צריך";if(W.minimum===1&&W.inclusive){let M=W.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${X} ${V} להכיל ${M}`}let F=W.inclusive?`${W.minimum} ${H?.unit??""} או יותר`:`יותר מ-${W.minimum} ${H?.unit??""}`;return`קטן מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=W.inclusive?">=":">",q=J(W.origin??"value");if(H?.unit)return`${H.shortLabel} מדי: ${X} ${q} ${Z}${W.minimum.toString()} ${H.unit}`;return`${H?.shortLabel??"קטן"} מדי: ${X} ${q} ${Z}${W.minimum.toString()}`}case"invalid_format":{let H=W;if(H.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${H.prefix}"`;if(H.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${H.suffix}"`;if(H.format==="includes")return`המחרוזת חייבת לכלול "${H.includes}"`;if(H.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${H.pattern}`;let X=K[H.format],Z=X?.label??H.format,V=(X?.gender??"m")==="f"?"תקינה":"תקין";return`${Z} לא ${V}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${W.divisor}`;case"unrecognized_keys":return`מפתח${W.keys.length>1?"ות":""} לא מזוה${W.keys.length>1?"ים":"ה"}: ${N0(W.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${Q(W.origin??"array")}`;default:return"קלט לא תקין"}}};var Pr=o(()=>{$1()});function CC(){return{localeError:Gk0()}}var Gk0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function Y(Q){return $[Q]??null}let z={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},U={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neispravan unos: očekuje se instanceof ${Q.expected}, a primljeno je ${K}`;return`Neispravan unos: očekuje se ${J}, a primljeno je ${K}`}case"invalid_value":if(Q.values.length===1)return`Neispravna vrijednost: očekivano ${v0(Q.values[0])}`;return`Neispravna opcija: očekivano jedno od ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Preveliko: očekivano da ${K??"vrijednost"} ima ${J}${Q.maximum.toString()} ${I.unit??"elemenata"}`;return`Preveliko: očekivano da ${K??"vrijednost"} bude ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=U[Q.origin]??Q.origin;if(I)return`Premalo: očekivano da ${K} ima ${J}${Q.minimum.toString()} ${I.unit}`;return`Premalo: očekivano da ${K} bude ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neispravan tekst: mora započinjati s "${J.prefix}"`;if(J.format==="ends_with")return`Neispravan tekst: mora završavati s "${J.suffix}"`;if(J.format==="includes")return`Neispravan tekst: mora sadržavati "${J.includes}"`;if(J.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${J.pattern}`;return`Neispravna ${z[J.format]??Q.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznat${Q.keys.length>1?"i ključevi":" ključ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${U[Q.origin]??Q.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${U[Q.origin]??Q.origin}`;default:return"Neispravan unos"}}};var Ar=o(()=>{$1()});function RC(){return{localeError:Wk0()}}var Wk0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function Y(Q){return $[Q]??null}let z={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},U={nan:"NaN",number:"szám",array:"tömb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Érvénytelen bemenet: a várt érték instanceof ${Q.expected}, a kapott érték ${K}`;return`Érvénytelen bemenet: a várt érték ${J}, a kapott érték ${K}`}case"invalid_value":if(Q.values.length===1)return`Érvénytelen bemenet: a várt érték ${v0(Q.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Túl nagy: ${Q.origin??"érték"} mérete túl nagy ${J}${Q.maximum.toString()} ${I.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${Q.origin??"érték"} túl nagy: ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Túl kicsi: a bemeneti érték ${Q.origin} mérete túl kicsi ${J}${Q.minimum.toString()} ${I.unit}`;return`Túl kicsi: a bemeneti érték ${Q.origin} túl kicsi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Érvénytelen string: "${J.prefix}" értékkel kell kezdődnie`;if(J.format==="ends_with")return`Érvénytelen string: "${J.suffix}" értékkel kell végződnie`;if(J.format==="includes")return`Érvénytelen string: "${J.includes}" értéket kell tartalmaznia`;if(J.format==="regex")return`Érvénytelen string: ${J.pattern} mintának kell megfelelnie`;return`Érvénytelen ${z[J.format]??Q.format}`}case"not_multiple_of":return`Érvénytelen szám: ${Q.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${Q.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${Q.origin}`;default:return"Érvénytelen bemenet"}}};var Tr=o(()=>{$1()});function jr($,Y,z){return Math.abs($)===1?Y:z}function mU($){if(!$)return"";let Y=["ա","ե","ը","ի","ո","ու","օ"],z=$[$.length-1];return $+(Y.includes(z)?"ն":"ը")}function _C(){return{localeError:Hk0()}}var Hk0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function Y(Q){return $[Q]??null}let z={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},U={nan:"NaN",number:"թիվ",array:"զանգված"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${Q.expected}, ստացվել է ${K}`;return`Սխալ մուտքագրում․ սպասվում էր ${J}, ստացվել է ${K}`}case"invalid_value":if(Q.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${v0(Q.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=jr(K,I.unit.one,I.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mU(Q.origin??"արժեք")} կունենա ${J}${Q.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mU(Q.origin??"արժեք")} լինի ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=jr(K,I.unit.one,I.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mU(Q.origin)} կունենա ${J}${Q.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mU(Q.origin)} լինի ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${J.prefix}"-ով`;if(J.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${J.suffix}"-ով`;if(J.format==="includes")return`Սխալ տող․ պետք է պարունակի "${J.includes}"`;if(J.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${J.pattern} ձևաչափին`;return`Սխալ ${z[J.format]??Q.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${Q.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${Q.keys.length>1?"ներ":""}. ${N0(Q.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${mU(Q.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${mU(Q.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};var Er=o(()=>{$1()});function vC(){return{localeError:Xk0()}}var Xk0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak valid: diharapkan instanceof ${Q.expected}, diterima ${K}`;return`Input tidak valid: diharapkan ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak valid: diharapkan ${v0(Q.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: diharapkan ${Q.origin??"value"} memiliki ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: diharapkan ${Q.origin??"value"} menjadi ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: diharapkan ${Q.origin} memiliki ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: diharapkan ${Q.origin} menjadi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak valid: harus dimulai dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak valid: harus berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak valid: harus menyertakan "${J.includes}"`;if(J.format==="regex")return`String tidak valid: harus sesuai pola ${J.pattern}`;return`${z[J.format]??Q.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${Q.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${Q.origin}`;default:return"Input tidak valid"}}};var Cr=o(()=>{$1()});function hC(){return{localeError:Zk0()}}var Zk0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function Y(Q){return $[Q]??null}let z={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},U={nan:"NaN",number:"númer",array:"fylki"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera instanceof ${Q.expected}`;return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera ${J}`}case"invalid_value":if(Q.values.length===1)return`Rangt gildi: gert ráð fyrir ${v0(Q.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} hafi ${J}${Q.maximum.toString()} ${I.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} sé ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Of lítið: gert er ráð fyrir að ${Q.origin} hafi ${J}${Q.minimum.toString()} ${I.unit}`;return`Of lítið: gert er ráð fyrir að ${Q.origin} sé ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ógildur strengur: verður að byrja á "${J.prefix}"`;if(J.format==="ends_with")return`Ógildur strengur: verður að enda á "${J.suffix}"`;if(J.format==="includes")return`Ógildur strengur: verður að innihalda "${J.includes}"`;if(J.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${J.pattern}`;return`Rangt ${z[J.format]??Q.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${Q.divisor}`;case"unrecognized_keys":return`Óþekkt ${Q.keys.length>1?"ir lyklar":"ur lykill"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${Q.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${Q.origin}`;default:return"Rangt gildi"}}};var Rr=o(()=>{$1()});function SC(){return{localeError:qk0()}}var qk0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"numero",array:"vettore"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input non valido: atteso instanceof ${Q.expected}, ricevuto ${K}`;return`Input non valido: atteso ${J}, ricevuto ${K}`}case"invalid_value":if(Q.values.length===1)return`Input non valido: atteso ${v0(Q.values[0])}`;return`Opzione non valida: atteso uno tra ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Troppo grande: ${Q.origin??"valore"} deve avere ${J}${Q.maximum.toString()} ${I.unit??"elementi"}`;return`Troppo grande: ${Q.origin??"valore"} deve essere ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Troppo piccolo: ${Q.origin} deve avere ${J}${Q.minimum.toString()} ${I.unit}`;return`Troppo piccolo: ${Q.origin} deve essere ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Stringa non valida: deve iniziare con "${J.prefix}"`;if(J.format==="ends_with")return`Stringa non valida: deve terminare con "${J.suffix}"`;if(J.format==="includes")return`Stringa non valida: deve includere "${J.includes}"`;if(J.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${J.pattern}`;return`Input non valido: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${Q.divisor}`;case"unrecognized_keys":return`Chiav${Q.keys.length>1?"i":"e"} non riconosciut${Q.keys.length>1?"e":"a"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${Q.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${Q.origin}`;default:return"Input non valido"}}};var _r=o(()=>{$1()});function gC(){return{localeError:Vk0()}}var Vk0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function Y(Q){return $[Q]??null}let z={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},U={nan:"NaN",number:"数値",array:"配列"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`無効な入力: instanceof ${Q.expected}が期待されましたが、${K}が入力されました`;return`無効な入力: ${J}が期待されましたが、${K}が入力されました`}case"invalid_value":if(Q.values.length===1)return`無効な入力: ${v0(Q.values[0])}が期待されました`;return`無効な選択: ${N0(Q.values,"、")}のいずれかである必要があります`;case"too_big":{let J=Q.inclusive?"以下である":"より小さい",I=Y(Q.origin);if(I)return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${I.unit??"要素"}${J}必要があります`;return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${J}必要があります`}case"too_small":{let J=Q.inclusive?"以上である":"より大きい",I=Y(Q.origin);if(I)return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${I.unit}${J}必要があります`;return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${J}必要があります`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無効な文字列: "${J.prefix}"で始まる必要があります`;if(J.format==="ends_with")return`無効な文字列: "${J.suffix}"で終わる必要があります`;if(J.format==="includes")return`無効な文字列: "${J.includes}"を含む必要があります`;if(J.format==="regex")return`無効な文字列: パターン${J.pattern}に一致する必要があります`;return`無効な${z[J.format]??Q.format}`}case"not_multiple_of":return`無効な数値: ${Q.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${Q.keys.length>1?"群":""}: ${N0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${Q.origin}内の無効な値`;default:return"無効な入力"}}};var vr=o(()=>{$1()});function yC(){return{localeError:Lk0()}}var Lk0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function Y(Q){return $[Q]??null}let z={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},U={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${Q.expected}, მიღებული ${K}`;return`არასწორი შეყვანა: მოსალოდნელი ${J}, მიღებული ${K}`}case"invalid_value":if(Q.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${v0(Q.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${N0(Q.values,"|")}-დან`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} იყოს ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} იყოს ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${J.prefix}"-ით`;if(J.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${J.suffix}"-ით`;if(J.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${J.includes}"-ს`;if(J.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${J.pattern}`;return`არასწორი ${z[J.format]??Q.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${Q.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${Q.keys.length>1?"ები":"ი"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${Q.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${Q.origin}-ში`;default:return"არასწორი შეყვანა"}}};var hr=o(()=>{$1()});function KG(){return{localeError:Fk0()}}var Fk0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function Y(Q){return $[Q]??null}let z={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},U={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${Q.expected} ប៉ុន្តែទទួលបាន ${K}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${J} ប៉ុន្តែទទួលបាន ${K}`}case"invalid_value":if(Q.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${v0(Q.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()} ${I.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()} ${I.unit}`;return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${J.prefix}"`;if(J.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${J.suffix}"`;if(J.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${J.includes}"`;if(J.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${J.pattern}`;return`មិនត្រឹមត្រូវ៖ ${z[J.format]??Q.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${Q.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${N0(Q.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};var kC=o(()=>{$1()});function xC(){return KG()}var Sr=o(()=>{kC()});function fC(){return{localeError:wk0()}}var wk0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function Y(Q){return $[Q]??null}let z={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`잘못된 입력: 예상 타입은 instanceof ${Q.expected}, 받은 타입은 ${K}입니다`;return`잘못된 입력: 예상 타입은 ${J}, 받은 타입은 ${K}입니다`}case"invalid_value":if(Q.values.length===1)return`잘못된 입력: 값은 ${v0(Q.values[0])} 이어야 합니다`;return`잘못된 옵션: ${N0(Q.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let J=Q.inclusive?"이하":"미만",I=J==="미만"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()} ${J}${I}`}case"too_small":{let J=Q.inclusive?"이상":"초과",I=J==="이상"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()} ${J}${I}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`잘못된 문자열: "${J.prefix}"(으)로 시작해야 합니다`;if(J.format==="ends_with")return`잘못된 문자열: "${J.suffix}"(으)로 끝나야 합니다`;if(J.format==="includes")return`잘못된 문자열: "${J.includes}"을(를) 포함해야 합니다`;if(J.format==="regex")return`잘못된 문자열: 정규식 ${J.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${z[J.format]??Q.format}`}case"not_multiple_of":return`잘못된 숫자: ${Q.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${N0(Q.keys,", ")}`;case"invalid_key":return`잘못된 키: ${Q.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${Q.origin}`;default:return"잘못된 입력"}}};var gr=o(()=>{$1()});function yr($){let Y=Math.abs($),z=Y%10,U=Y%100;if(U>=11&&U<=19||z===0)return"many";if(z===1)return"one";return"few"}function uC(){return{localeError:Mk0()}}var GG=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)},Mk0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function Y(Q,J,I,K){let G=$[Q]??null;if(G===null)return G;return{unit:G.unit[J],verb:G.verb[K][I?"inclusive":"notInclusive"]}}let z={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},U={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Gautas tipas ${K}, o tikėtasi - instanceof ${Q.expected}`;return`Gautas tipas ${K}, o tikėtasi - ${J}`}case"invalid_value":if(Q.values.length===1)return`Privalo būti ${v0(Q.values[0])}`;return`Privalo būti vienas iš ${N0(Q.values,"|")} pasirinkimų`;case"too_big":{let J=U[Q.origin]??Q.origin,I=Y(Q.origin,yr(Number(Q.maximum)),Q.inclusive??!1,"smaller");if(I?.verb)return`${GG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.maximum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${GG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.maximum.toString()} ${I?.unit}`}case"too_small":{let J=U[Q.origin]??Q.origin,I=Y(Q.origin,yr(Number(Q.minimum)),Q.inclusive??!1,"bigger");if(I?.verb)return`${GG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.minimum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${GG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.minimum.toString()} ${I?.unit}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Eilutė privalo prasidėti "${J.prefix}"`;if(J.format==="ends_with")return`Eilutė privalo pasibaigti "${J.suffix}"`;if(J.format==="includes")return`Eilutė privalo įtraukti "${J.includes}"`;if(J.format==="regex")return`Eilutė privalo atitikti ${J.pattern}`;return`Neteisingas ${z[J.format]??Q.format}`}case"not_multiple_of":return`Skaičius privalo būti ${Q.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${Q.keys.length>1?"i":"as"} rakt${Q.keys.length>1?"ai":"as"}: ${N0(Q.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let J=U[Q.origin]??Q.origin;return`${GG(J??Q.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};var kr=o(()=>{$1()});function bC(){return{localeError:Ok0()}}var Ok0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function Y(Q){return $[Q]??null}let z={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},U={nan:"NaN",number:"број",array:"низа"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Грешен внес: се очекува instanceof ${Q.expected}, примено ${K}`;return`Грешен внес: се очекува ${J}, примено ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Грешана опција: се очекува една ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Премногу голем: се очекува ${Q.origin??"вредноста"} да има ${J}${Q.maximum.toString()} ${I.unit??"елементи"}`;return`Премногу голем: се очекува ${Q.origin??"вредноста"} да биде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Премногу мал: се очекува ${Q.origin} да има ${J}${Q.minimum.toString()} ${I.unit}`;return`Премногу мал: се очекува ${Q.origin} да биде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неважечка низа: мора да започнува со "${J.prefix}"`;if(J.format==="ends_with")return`Неважечка низа: мора да завршува со "${J.suffix}"`;if(J.format==="includes")return`Неважечка низа: мора да вклучува "${J.includes}"`;if(J.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${J.pattern}`;return`Invalid ${z[J.format]??Q.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${Q.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${Q.origin}`;default:return"Грешен внес"}}};var xr=o(()=>{$1()});function iC(){return{localeError:Nk0()}}var Nk0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"nombor"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak sah: dijangka instanceof ${Q.expected}, diterima ${K}`;return`Input tidak sah: dijangka ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak sah: dijangka ${v0(Q.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: dijangka ${Q.origin??"nilai"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: dijangka ${Q.origin??"nilai"} adalah ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: dijangka ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: dijangka ${Q.origin} adalah ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak sah: mesti bermula dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak sah: mesti mengandungi "${J.includes}"`;if(J.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${J.pattern}`;return`${z[J.format]??Q.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${N0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${Q.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${Q.origin}`;default:return"Input tidak sah"}}};var fr=o(()=>{$1()});function cC(){return{localeError:Dk0()}}var Dk0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function Y(Q){return $[Q]??null}let z={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},U={nan:"NaN",number:"getal"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ongeldige invoer: verwacht instanceof ${Q.expected}, ontving ${K}`;return`Ongeldige invoer: verwacht ${J}, ontving ${K}`}case"invalid_value":if(Q.values.length===1)return`Ongeldige invoer: verwacht ${v0(Q.values[0])}`;return`Ongeldige optie: verwacht één van ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=Q.origin==="date"?"laat":Q.origin==="string"?"lang":"groot";if(I)return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} ${I.unit??"elementen"} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} is`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=Q.origin==="date"?"vroeg":Q.origin==="string"?"kort":"klein";if(I)return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} is`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ongeldige tekst: moet met "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ongeldige tekst: moet op "${J.suffix}" eindigen`;if(J.format==="includes")return`Ongeldige tekst: moet "${J.includes}" bevatten`;if(J.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${J.pattern}`;return`Ongeldig: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${Q.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${Q.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${Q.origin}`;default:return"Ongeldige invoer"}}};var ur=o(()=>{$1()});function nC(){return{localeError:Bk0()}}var Bk0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function Y(Q){return $[Q]??null}let z={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"tall",array:"liste"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldig input: forventet instanceof ${Q.expected}, fikk ${K}`;return`Ugyldig input: forventet ${J}, fikk ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig verdi: forventet ${v0(Q.values[0])}`;return`Ugyldig valg: forventet en av ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()} ${I.unit}`;return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: må starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: må ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: må inneholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: må matche mønsteret ${J.pattern}`;return`Ugyldig ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${Q.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${Q.origin}`;default:return"Ugyldig input"}}};var br=o(()=>{$1()});function pC(){return{localeError:Pk0()}}var Pk0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let z={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},U={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Fâsit giren: umulan instanceof ${Q.expected}, alınan ${K}`;return`Fâsit giren: umulan ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Fâsit giren: umulan ${v0(Q.values[0])}`;return`Fâsit tercih: mûteberler ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} ${I.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} olmalıydı.`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} ${I.unit} sahip olmalıydı.`;return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} olmalıydı.`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Fâsit metin: "${J.prefix}" ile başlamalı.`;if(J.format==="ends_with")return`Fâsit metin: "${J.suffix}" ile bitmeli.`;if(J.format==="includes")return`Fâsit metin: "${J.includes}" ihtivâ etmeli.`;if(J.format==="regex")return`Fâsit metin: ${J.pattern} nakşına uymalı.`;return`Fâsit ${z[J.format]??Q.format}`}case"not_multiple_of":return`Fâsit sayı: ${Q.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${Q.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};var ir=o(()=>{$1()});function dC(){return{localeError:Ak0()}}var Ak0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function Y(Q){return $[Q]??null}let z={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},U={nan:"NaN",number:"عدد",array:"ارې"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ناسم ورودي: باید instanceof ${Q.expected} وای, مګر ${K} ترلاسه شو`;return`ناسم ورودي: باید ${J} وای, مګر ${K} ترلاسه شو`}case"invalid_value":if(Q.values.length===1)return`ناسم ورودي: باید ${v0(Q.values[0])} وای`;return`ناسم انتخاب: باید یو له ${N0(Q.values,"|")} څخه وای`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} وي`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} ولري`;return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} وي`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ناسم متن: باید د "${J.prefix}" سره پیل شي`;if(J.format==="ends_with")return`ناسم متن: باید د "${J.suffix}" سره پای ته ورسيږي`;if(J.format==="includes")return`ناسم متن: باید "${J.includes}" ولري`;if(J.format==="regex")return`ناسم متن: باید د ${J.pattern} سره مطابقت ولري`;return`${z[J.format]??Q.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${Q.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${Q.keys.length>1?"کلیډونه":"کلیډ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${Q.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${Q.origin} کې`;default:return"ناسمه ورودي"}}};var cr=o(()=>{$1()});function mC(){return{localeError:Tk0()}}var Tk0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function Y(Q){return $[Q]??null}let z={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},U={nan:"NaN",number:"liczba",array:"tablica"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${Q.expected}, otrzymano ${K}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${J}, otrzymano ${K}`}case"invalid_value":if(Q.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${v0(Q.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Za duża wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.maximum.toString()} ${I.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Za mała wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.minimum.toString()} ${I.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${J.prefix}"`;if(J.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${J.suffix}"`;if(J.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${J.includes}"`;if(J.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${J.pattern}`;return`Nieprawidłow(y/a/e) ${z[J.format]??Q.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${Q.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${Q.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${Q.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};var nr=o(()=>{$1()});function lC(){return{localeError:jk0()}}var jk0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function Y(Q){return $[Q]??null}let z={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},U={nan:"NaN",number:"número",null:"nulo"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipo inválido: esperado instanceof ${Q.expected}, recebido ${K}`;return`Tipo inválido: esperado ${J}, recebido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: esperado ${v0(Q.values[0])}`;return`Opção inválida: esperada uma das ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Muito grande: esperado que ${Q.origin??"valor"} tivesse ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Muito grande: esperado que ${Q.origin??"valor"} fosse ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Muito pequeno: esperado que ${Q.origin} tivesse ${J}${Q.minimum.toString()} ${I.unit}`;return`Muito pequeno: esperado que ${Q.origin} fosse ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Texto inválido: deve começar com "${J.prefix}"`;if(J.format==="ends_with")return`Texto inválido: deve terminar com "${J.suffix}"`;if(J.format==="includes")return`Texto inválido: deve incluir "${J.includes}"`;if(J.format==="regex")return`Texto inválido: deve corresponder ao padrão ${J.pattern}`;return`${z[J.format]??Q.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Chave${Q.keys.length>1?"s":""} desconhecida${Q.keys.length>1?"s":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Chave inválida em ${Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${Q.origin}`;default:return"Campo inválido"}}};var pr=o(()=>{$1()});function oC(){return{localeError:Ek0()}}var Ek0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function Y(Q){return $[Q]??null}let z={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},U={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;return`Intrare invalidă: așteptat ${J}, primit ${K}`}case"invalid_value":if(Q.values.length===1)return`Intrare invalidă: așteptat ${v0(Q.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Prea mare: așteptat ca ${Q.origin??"valoarea"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemente"}`;return`Prea mare: așteptat ca ${Q.origin??"valoarea"} să fie ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Prea mic: așteptat ca ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Prea mic: așteptat ca ${Q.origin} să fie ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${J.prefix}"`;if(J.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${J.suffix}"`;if(J.format==="includes")return`Șir invalid: trebuie să includă "${J.includes}"`;if(J.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${J.pattern}`;return`Format invalid: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${Q.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${N0(Q.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${Q.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${Q.origin}`;default:return"Intrare invalidă"}}};var dr=o(()=>{$1()});function mr($,Y,z,U){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return U;if(J===1)return Y;if(J>=2&&J<=4)return z;return U}function rC(){return{localeError:Ck0()}}var Ck0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function Y(Q){return $[Q]??null}let z={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},U={nan:"NaN",number:"число",array:"массив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неверный ввод: ожидалось instanceof ${Q.expected}, получено ${K}`;return`Неверный ввод: ожидалось ${J}, получено ${K}`}case"invalid_value":if(Q.values.length===1)return`Неверный ввод: ожидалось ${v0(Q.values[0])}`;return`Неверный вариант: ожидалось одно из ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=mr(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет иметь ${J}${Q.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=mr(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет иметь ${J}${Q.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неверная строка: должна начинаться с "${J.prefix}"`;if(J.format==="ends_with")return`Неверная строка: должна заканчиваться на "${J.suffix}"`;if(J.format==="includes")return`Неверная строка: должна содержать "${J.includes}"`;if(J.format==="regex")return`Неверная строка: должна соответствовать шаблону ${J.pattern}`;return`Неверный ${z[J.format]??Q.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспознанн${Q.keys.length>1?"ые":"ый"} ключ${Q.keys.length>1?"и":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${Q.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${Q.origin}`;default:return"Неверные входные данные"}}};var lr=o(()=>{$1()});function sC(){return{localeError:Rk0()}}var Rk0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function Y(Q){return $[Q]??null}let z={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},U={nan:"NaN",number:"število",array:"tabela"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neveljaven vnos: pričakovano instanceof ${Q.expected}, prejeto ${K}`;return`Neveljaven vnos: pričakovano ${J}, prejeto ${K}`}case"invalid_value":if(Q.values.length===1)return`Neveljaven vnos: pričakovano ${v0(Q.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} imelo ${J}${Q.maximum.toString()} ${I.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Premajhno: pričakovano, da bo ${Q.origin} imelo ${J}${Q.minimum.toString()} ${I.unit}`;return`Premajhno: pričakovano, da bo ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neveljaven niz: mora se začeti z "${J.prefix}"`;if(J.format==="ends_with")return`Neveljaven niz: mora se končati z "${J.suffix}"`;if(J.format==="includes")return`Neveljaven niz: mora vsebovati "${J.includes}"`;if(J.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${J.pattern}`;return`Neveljaven ${z[J.format]??Q.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznan${Q.keys.length>1?"i ključi":" ključ"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${Q.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${Q.origin}`;default:return"Neveljaven vnos"}}};var or=o(()=>{$1()});function aC(){return{localeError:_k0()}}var _k0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function Y(Q){return $[Q]??null}let z={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},U={nan:"NaN",number:"antal",array:"lista"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ogiltig inmatning: förväntat instanceof ${Q.expected}, fick ${K}`;return`Ogiltig inmatning: förväntat ${J}, fick ${K}`}case"invalid_value":if(Q.values.length===1)return`Ogiltig inmatning: förväntat ${v0(Q.values[0])}`;return`Ogiltigt val: förväntade en av ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`För stor(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`För stor(t): förväntat ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()} ${I.unit}`;return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ogiltig sträng: måste börja med "${J.prefix}"`;if(J.format==="ends_with")return`Ogiltig sträng: måste sluta med "${J.suffix}"`;if(J.format==="includes")return`Ogiltig sträng: måste innehålla "${J.includes}"`;if(J.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${J.pattern}"`;return`Ogiltig(t) ${z[J.format]??Q.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${Q.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${Q.origin??"värdet"}`;default:return"Ogiltig input"}}};var rr=o(()=>{$1()});function tC(){return{localeError:vk0()}}var vk0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function Y(Q){return $[Q]??null}let z={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},U={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${Q.expected}, பெறப்பட்டது ${K}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${J}, பெறப்பட்டது ${K}`}case"invalid_value":if(Q.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${v0(Q.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${N0(Q.values,"|")} இல் ஒன்று`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ${I.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`தவறான சரம்: "${J.prefix}" இல் தொடங்க வேண்டும்`;if(J.format==="ends_with")return`தவறான சரம்: "${J.suffix}" இல் முடிவடைய வேண்டும்`;if(J.format==="includes")return`தவறான சரம்: "${J.includes}" ஐ உள்ளடக்க வேண்டும்`;if(J.format==="regex")return`தவறான சரம்: ${J.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${z[J.format]??Q.format}`}case"not_multiple_of":return`தவறான எண்: ${Q.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${Q.keys.length>1?"கள்":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${Q.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};var sr=o(()=>{$1()});function eC(){return{localeError:hk0()}}var hk0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function Y(Q){return $[Q]??null}let z={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},U={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${Q.expected} แต่ได้รับ ${K}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${J} แต่ได้รับ ${K}`}case"invalid_value":if(Q.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${v0(Q.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"ไม่เกิน":"น้อยกว่า",I=Y(Q.origin);if(I)return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()} ${I.unit??"รายการ"}`;return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"อย่างน้อย":"มากกว่า",I=Y(Q.origin);if(I)return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()} ${I.unit}`;return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${J.prefix}"`;if(J.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${J.suffix}"`;if(J.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${J.includes}" อยู่ในข้อความ`;if(J.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${J.pattern}`;return`รูปแบบไม่ถูกต้อง: ${z[J.format]??Q.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${Q.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${N0(Q.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${Q.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${Q.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};var ar=o(()=>{$1()});function $R(){return{localeError:Sk0()}}var Sk0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function Y(Q){return $[Q]??null}let z={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Geçersiz değer: beklenen instanceof ${Q.expected}, alınan ${K}`;return`Geçersiz değer: beklenen ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Geçersiz değer: beklenen ${v0(Q.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()} ${I.unit??"öğe"}`;return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Geçersiz metin: "${J.prefix}" ile başlamalı`;if(J.format==="ends_with")return`Geçersiz metin: "${J.suffix}" ile bitmeli`;if(J.format==="includes")return`Geçersiz metin: "${J.includes}" içermeli`;if(J.format==="regex")return`Geçersiz metin: ${J.pattern} desenine uymalı`;return`Geçersiz ${z[J.format]??Q.format}`}case"not_multiple_of":return`Geçersiz sayı: ${Q.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${Q.keys.length>1?"lar":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${Q.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};var tr=o(()=>{$1()});function WG(){return{localeError:gk0()}}var gk0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function Y(Q){return $[Q]??null}let z={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},U={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неправильні вхідні дані: очікується instanceof ${Q.expected}, отримано ${K}`;return`Неправильні вхідні дані: очікується ${J}, отримано ${K}`}case"invalid_value":if(Q.values.length===1)return`Неправильні вхідні дані: очікується ${v0(Q.values[0])}`;return`Неправильна опція: очікується одне з ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Занадто велике: очікується, що ${Q.origin??"значення"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"елементів"}`;return`Занадто велике: очікується, що ${Q.origin??"значення"} буде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Занадто мале: очікується, що ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Занадто мале: очікується, що ${Q.origin} буде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неправильний рядок: повинен починатися з "${J.prefix}"`;if(J.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${J.suffix}"`;if(J.format==="includes")return`Неправильний рядок: повинен містити "${J.includes}"`;if(J.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${J.pattern}`;return`Неправильний ${z[J.format]??Q.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${Q.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${Q.keys.length>1?"і":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${Q.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${Q.origin}`;default:return"Неправильні вхідні дані"}}};var YR=o(()=>{$1()});function zR(){return WG()}var er=o(()=>{YR()});function UR(){return{localeError:yk0()}}var yk0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function Y(Q){return $[Q]??null}let z={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},U={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`غلط ان پٹ: instanceof ${Q.expected} متوقع تھا، ${K} موصول ہوا`;return`غلط ان پٹ: ${J} متوقع تھا، ${K} موصول ہوا`}case"invalid_value":if(Q.values.length===1)return`غلط ان پٹ: ${v0(Q.values[0])} متوقع تھا`;return`غلط آپشن: ${N0(Q.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`بہت بڑا: ${Q.origin??"ویلیو"} کے ${J}${Q.maximum.toString()} ${I.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${Q.origin??"ویلیو"} کا ${J}${Q.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`بہت چھوٹا: ${Q.origin} کے ${J}${Q.minimum.toString()} ${I.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${Q.origin} کا ${J}${Q.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`غلط سٹرنگ: "${J.prefix}" سے شروع ہونا چاہیے`;if(J.format==="ends_with")return`غلط سٹرنگ: "${J.suffix}" پر ختم ہونا چاہیے`;if(J.format==="includes")return`غلط سٹرنگ: "${J.includes}" شامل ہونا چاہیے`;if(J.format==="regex")return`غلط سٹرنگ: پیٹرن ${J.pattern} سے میچ ہونا چاہیے`;return`غلط ${z[J.format]??Q.format}`}case"not_multiple_of":return`غلط نمبر: ${Q.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${Q.keys.length>1?"ز":""}: ${N0(Q.keys,"، ")}`;case"invalid_key":return`${Q.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${Q.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};var $s=o(()=>{$1()});function QR(){return{localeError:kk0()}}var kk0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function Y(Q){return $[Q]??null}let z={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},U={nan:"NaN",number:"raqam",array:"massiv"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${Q.expected}, qabul qilingan ${K}`;return`Noto‘g‘ri kirish: kutilgan ${J}, qabul qilingan ${K}`}case"invalid_value":if(Q.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${v0(Q.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()} ${I.unit} ${I.verb}`;return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Noto‘g‘ri satr: "${J.prefix}" bilan boshlanishi kerak`;if(J.format==="ends_with")return`Noto‘g‘ri satr: "${J.suffix}" bilan tugashi kerak`;if(J.format==="includes")return`Noto‘g‘ri satr: "${J.includes}" ni o‘z ichiga olishi kerak`;if(J.format==="regex")return`Noto‘g‘ri satr: ${J.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${z[J.format]??Q.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${Q.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${Q.keys.length>1?"lar":""}: ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${Q.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};var Ys=o(()=>{$1()});function JR(){return{localeError:xk0()}}var xk0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function Y(Q){return $[Q]??null}let z={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},U={nan:"NaN",number:"số",array:"mảng"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${Q.expected}, nhận được ${K}`;return`Đầu vào không hợp lệ: mong đợi ${J}, nhận được ${K}`}case"invalid_value":if(Q.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${v0(Q.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"phần tử"}`;return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Quá nhỏ: mong đợi ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Quá nhỏ: mong đợi ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${J.prefix}"`;if(J.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${J.suffix}"`;if(J.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${J.includes}"`;if(J.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${J.pattern}`;return`${z[J.format]??Q.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${Q.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${N0(Q.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${Q.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${Q.origin}`;default:return"Đầu vào không hợp lệ"}}};var zs=o(()=>{$1()});function IR(){return{localeError:fk0()}}var fk0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function Y(Q){return $[Q]??null}let z={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},U={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`无效输入:期望 instanceof ${Q.expected},实际接收 ${K}`;return`无效输入:期望 ${J},实际接收 ${K}`}case"invalid_value":if(Q.values.length===1)return`无效输入:期望 ${v0(Q.values[0])}`;return`无效选项:期望以下之一 ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()} ${I.unit??"个元素"}`;return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`无效字符串:必须以 "${J.prefix}" 开头`;if(J.format==="ends_with")return`无效字符串:必须以 "${J.suffix}" 结尾`;if(J.format==="includes")return`无效字符串:必须包含 "${J.includes}"`;if(J.format==="regex")return`无效字符串:必须满足正则表达式 ${J.pattern}`;return`无效${z[J.format]??Q.format}`}case"not_multiple_of":return`无效数字:必须是 ${Q.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${N0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${Q.origin} 中包含无效值(value)`;default:return"无效输入"}}};var Us=o(()=>{$1()});function KR(){return{localeError:uk0()}}var uk0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function Y(Q){return $[Q]??null}let z={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},U={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`無效的輸入值:預期為 instanceof ${Q.expected},但收到 ${K}`;return`無效的輸入值:預期為 ${J},但收到 ${K}`}case"invalid_value":if(Q.values.length===1)return`無效的輸入值:預期為 ${v0(Q.values[0])}`;return`無效的選項:預期為以下其中之一 ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()} ${I.unit??"個元素"}`;return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()} ${I.unit}`;return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無效的字串:必須以 "${J.prefix}" 開頭`;if(J.format==="ends_with")return`無效的字串:必須以 "${J.suffix}" 結尾`;if(J.format==="includes")return`無效的字串:必須包含 "${J.includes}"`;if(J.format==="regex")return`無效的字串:必須符合格式 ${J.pattern}`;return`無效的 ${z[J.format]??Q.format}`}case"not_multiple_of":return`無效的數字:必須為 ${Q.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${Q.keys.length>1?"們":""}:${N0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${Q.origin} 中有無效的值`;default:return"無效的輸入值"}}};var Qs=o(()=>{$1()});function GR(){return{localeError:bk0()}}var bk0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function Y(Q){return $[Q]??null}let z={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},U={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=U[Q.expected]??Q.expected,I=S0(Q.input),K=U[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${Q.expected}, àmọ̀ a rí ${K}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${J}, àmọ̀ a rí ${K}`}case"invalid_value":if(Q.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${v0(Q.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${N0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${Q.origin??"iye"} ${I.verb} ${J}${Q.maximum} ${I.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${J}${Q.maximum}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Kéré ju: a ní láti jẹ́ pé ${Q.origin} ${I.verb} ${J}${Q.minimum} ${I.unit}`;return`Kéré ju: a ní láti jẹ́ ${J}${Q.minimum}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${J.prefix}"`;if(J.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${J.suffix}"`;if(J.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${J.includes}"`;if(J.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${J.pattern}`;return`Aṣìṣe: ${z[J.format]??Q.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${Q.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${N0(Q.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${Q.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${Q.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};var Js=o(()=>{$1()});var HG={};x8(HG,{zhTW:()=>KR,zhCN:()=>IR,yo:()=>GR,vi:()=>JR,uz:()=>QR,ur:()=>UR,uk:()=>WG,ua:()=>zR,tr:()=>$R,th:()=>eC,ta:()=>tC,sv:()=>aC,sl:()=>sC,ru:()=>rC,ro:()=>oC,pt:()=>lC,ps:()=>dC,pl:()=>mC,ota:()=>pC,no:()=>nC,nl:()=>cC,ms:()=>iC,mk:()=>bC,lt:()=>uC,ko:()=>fC,km:()=>KG,kh:()=>xC,ka:()=>yC,ja:()=>gC,it:()=>SC,is:()=>hC,id:()=>vC,hy:()=>_C,hu:()=>RC,hr:()=>CC,he:()=>EC,frCA:()=>jC,fr:()=>TC,fi:()=>AC,fa:()=>PC,es:()=>BC,eo:()=>DC,en:()=>IG,el:()=>OC,de:()=>MC,da:()=>wC,cs:()=>FC,ca:()=>LC,bg:()=>VC,be:()=>qC,az:()=>ZC,ar:()=>XC});var WR=o(()=>{Kr();Gr();Hr();Xr();Zr();qr();Vr();Lr();Fr();NC();wr();Mr();Or();Nr();Dr();Br();Pr();Ar();Tr();Er();Cr();Rr();_r();vr();hr();Sr();kC();gr();kr();xr();fr();ur();br();ir();cr();nr();pr();dr();lr();or();rr();sr();ar();tr();er();YR();$s();Ys();zs();Us();Qs();Js()});class ZR{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...Y){let z=Y[0];if(this._map.set($,z),z&&typeof z==="object"&&"id"in z)this._idmap.set(z.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let Y=this._map.get($);if(Y&&typeof Y==="object"&&"id"in Y)this._idmap.delete(Y.id);return this._map.delete($),this}get($){let Y=$._zod.parent;if(Y){let z={...this.get(Y)??{}};delete z.id;let U={...z,...this._map.get($)};return Object.keys(U).length?U:void 0}return this._map.get($)}has($){return this._map.has($)}}function HV(){return new ZR}var Is,HR,XR,n6;var XG=o(()=>{HR=Symbol("ZodOutput"),XR=Symbol("ZodInput");(Is=globalThis).__zod_globalRegistry??(Is.__zod_globalRegistry=HV());n6=globalThis.__zod_globalRegistry});function qR($,Y){return new $({type:"string",...x0(Y)})}function VR($,Y){return new $({type:"string",coerce:!0,...x0(Y)})}function XV($,Y){return new $({type:"string",format:"email",check:"string_format",abort:!1,...x0(Y)})}function ZG($,Y){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...x0(Y)})}function ZV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...x0(Y)})}function qV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...x0(Y)})}function VV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...x0(Y)})}function LV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...x0(Y)})}function qG($,Y){return new $({type:"string",format:"url",check:"string_format",abort:!1,...x0(Y)})}function FV($,Y){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...x0(Y)})}function wV($,Y){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...x0(Y)})}function MV($,Y){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...x0(Y)})}function OV($,Y){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...x0(Y)})}function NV($,Y){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...x0(Y)})}function DV($,Y){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...x0(Y)})}function BV($,Y){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...x0(Y)})}function PV($,Y){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...x0(Y)})}function AV($,Y){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...x0(Y)})}function LR($,Y){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...x0(Y)})}function TV($,Y){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...x0(Y)})}function jV($,Y){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...x0(Y)})}function EV($,Y){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...x0(Y)})}function CV($,Y){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...x0(Y)})}function RV($,Y){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...x0(Y)})}function _V($,Y){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...x0(Y)})}function wR($,Y){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...x0(Y)})}function MR($,Y){return new $({type:"string",format:"date",check:"string_format",...x0(Y)})}function OR($,Y){return new $({type:"string",format:"time",check:"string_format",precision:null,...x0(Y)})}function NR($,Y){return new $({type:"string",format:"duration",check:"string_format",...x0(Y)})}function DR($,Y){return new $({type:"number",checks:[],...x0(Y)})}function BR($,Y){return new $({type:"number",coerce:!0,checks:[],...x0(Y)})}function PR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...x0(Y)})}function AR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...x0(Y)})}function TR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...x0(Y)})}function jR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...x0(Y)})}function ER($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...x0(Y)})}function CR($,Y){return new $({type:"boolean",...x0(Y)})}function RR($,Y){return new $({type:"boolean",coerce:!0,...x0(Y)})}function _R($,Y){return new $({type:"bigint",...x0(Y)})}function vR($,Y){return new $({type:"bigint",coerce:!0,...x0(Y)})}function hR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...x0(Y)})}function SR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...x0(Y)})}function gR($,Y){return new $({type:"symbol",...x0(Y)})}function yR($,Y){return new $({type:"undefined",...x0(Y)})}function kR($,Y){return new $({type:"null",...x0(Y)})}function xR($){return new $({type:"any"})}function fR($){return new $({type:"unknown"})}function uR($,Y){return new $({type:"never",...x0(Y)})}function bR($,Y){return new $({type:"void",...x0(Y)})}function iR($,Y){return new $({type:"date",...x0(Y)})}function cR($,Y){return new $({type:"date",coerce:!0,...x0(Y)})}function nR($,Y){return new $({type:"nan",...x0(Y)})}function u5($,Y){return new aq({check:"less_than",...x0(Y),value:$,inclusive:!1})}function z$($,Y){return new aq({check:"less_than",...x0(Y),value:$,inclusive:!0})}function b5($,Y){return new tq({check:"greater_than",...x0(Y),value:$,inclusive:!1})}function P8($,Y){return new tq({check:"greater_than",...x0(Y),value:$,inclusive:!0})}function vV($){return b5(0,$)}function hV($){return u5(0,$)}function SV($){return z$(0,$)}function gV($){return P8(0,$)}function G3($,Y){return new gj({check:"multiple_of",...x0(Y),value:$})}function W3($,Y){return new xj({check:"max_size",...x0(Y),maximum:$})}function i5($,Y){return new fj({check:"min_size",...x0(Y),minimum:$})}function jY($,Y){return new uj({check:"size_equals",...x0(Y),size:$})}function EY($,Y){return new bj({check:"max_length",...x0(Y),maximum:$})}function c9($,Y){return new ij({check:"min_length",...x0(Y),minimum:$})}function CY($,Y){return new cj({check:"length_equals",...x0(Y),length:$})}function lU($,Y){return new nj({check:"string_format",format:"regex",...x0(Y),pattern:$})}function oU($){return new pj({check:"string_format",format:"lowercase",...x0($)})}function rU($){return new dj({check:"string_format",format:"uppercase",...x0($)})}function sU($,Y){return new mj({check:"string_format",format:"includes",...x0(Y),includes:$})}function aU($,Y){return new lj({check:"string_format",format:"starts_with",...x0(Y),prefix:$})}function tU($,Y){return new oj({check:"string_format",format:"ends_with",...x0(Y),suffix:$})}function yV($,Y,z){return new rj({check:"property",property:$,schema:Y,...x0(z)})}function eU($,Y){return new sj({check:"mime_type",mime:$,...x0(Y)})}function Y5($){return new aj({check:"overwrite",tx:$})}function $Q($){return Y5((Y)=>Y.normalize($))}function YQ(){return Y5(($)=>$.trim())}function zQ(){return Y5(($)=>$.toLowerCase())}function UQ(){return Y5(($)=>$.toUpperCase())}function QQ(){return Y5(($)=>dT($))}function pR($,Y,z){return new $({type:"array",element:Y,...x0(z)})}function ck0($,Y,z){return new $({type:"union",options:Y,...x0(z)})}function nk0($,Y,z){return new $({type:"union",options:Y,inclusive:!1,...x0(z)})}function pk0($,Y,z,U){return new $({type:"union",options:z,discriminator:Y,...x0(U)})}function dk0($,Y,z){return new $({type:"intersection",left:Y,right:z})}function mk0($,Y,z,U){let Q=z instanceof q1;return new $({type:"tuple",items:Y,rest:Q?z:null,...x0(Q?U:z)})}function lk0($,Y,z,U){return new $({type:"record",keyType:Y,valueType:z,...x0(U)})}function ok0($,Y,z,U){return new $({type:"map",keyType:Y,valueType:z,...x0(U)})}function rk0($,Y,z){return new $({type:"set",valueType:Y,...x0(z)})}function sk0($,Y,z){let U=Array.isArray(Y)?Object.fromEntries(Y.map((Q)=>[Q,Q])):Y;return new $({type:"enum",entries:U,...x0(z)})}function ak0($,Y,z){return new $({type:"enum",entries:Y,...x0(z)})}function tk0($,Y,z){return new $({type:"literal",values:Array.isArray(Y)?Y:[Y],...x0(z)})}function dR($,Y){return new $({type:"file",...x0(Y)})}function ek0($,Y){return new $({type:"transform",transform:Y})}function $x0($,Y){return new $({type:"optional",innerType:Y})}function Yx0($,Y){return new $({type:"nullable",innerType:Y})}function zx0($,Y,z){return new $({type:"default",innerType:Y,get defaultValue(){return typeof z==="function"?z():lT(z)}})}function Ux0($,Y,z){return new $({type:"nonoptional",innerType:Y,...x0(z)})}function Qx0($,Y){return new $({type:"success",innerType:Y})}function Jx0($,Y,z){return new $({type:"catch",innerType:Y,catchValue:typeof z==="function"?z:()=>z})}function Ix0($,Y,z){return new $({type:"pipe",in:Y,out:z})}function Kx0($,Y){return new $({type:"readonly",innerType:Y})}function Gx0($,Y,z){return new $({type:"template_literal",parts:Y,...x0(z)})}function Wx0($,Y){return new $({type:"lazy",getter:Y})}function Hx0($,Y){return new $({type:"promise",innerType:Y})}function mR($,Y,z){let U=x0(z);return U.abort??(U.abort=!0),new $({type:"custom",check:"custom",fn:Y,...U})}function lR($,Y,z){return new $({type:"custom",check:"custom",fn:Y,...x0(z)})}function oR($,Y){let z=Ks((U)=>{return U.addIssue=(Q)=>{if(typeof Q==="string")U.issues.push(bU(Q,U.value,z._zod.def));else{let J=Q;if(J.fatal)J.continue=!1;J.code??(J.code="custom"),J.input??(J.input=U.value),J.inst??(J.inst=z),J.continue??(J.continue=!z._zod.def.abort),U.issues.push(bU(J))}},$(U.value,U)},Y);return z}function Ks($,Y){let z=new V4({check:"custom",...x0(Y)});return z._zod.check=$,z}function rR($){let Y=new V4({check:"describe"});return Y._zod.onattach=[(z)=>{let U=n6.get(z)??{};n6.add(z,{...U,description:$})}],Y._zod.check=()=>{},Y}function sR($){let Y=new V4({check:"meta"});return Y._zod.onattach=[(z)=>{let U=n6.get(z)??{};n6.add(z,{...U,...$})}],Y._zod.check=()=>{},Y}function aR($,Y){let z=x0(Y),U=z.truthy??["true","1","yes","on","y","enabled"],Q=z.falsy??["false","0","no","off","n","disabled"];if(z.case!=="sensitive")U=U.map((q)=>typeof q==="string"?q.toLowerCase():q),Q=Q.map((q)=>typeof q==="string"?q.toLowerCase():q);let J=new Set(U),I=new Set(Q),K=$.Codec??JG,G=$.Boolean??UG,H=new($.String??TY)({type:"string",error:z.error}),X=new G({type:"boolean",error:z.error}),Z=new K({type:"pipe",in:H,out:X,transform:(q,V)=>{let F=q;if(z.case!=="sensitive")F=F.toLowerCase();if(J.has(F))return!0;else if(I.has(F))return!1;else return V.issues.push({code:"invalid_value",expected:"stringbool",values:[...J,...I],input:V.value,inst:Z,continue:!1}),{}},reverseTransform:(q,V)=>{if(q===!0)return U[0]||"true";else return Q[0]||"false"},error:z.error});return Z}function JQ($,Y,z,U={}){let Q=x0(U),J={...x0(U),check:"string_format",type:"string",format:Y,fn:typeof z==="function"?z:(K)=>z.test(K),...Q};if(z instanceof RegExp)J.pattern=z;return new $(J)}var FR;var Gs=o(()=>{eq();XG();HC();$1();FR={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function H3($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??n6,target:Y,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function I4($,Y,z={path:[],schemaPath:[]}){var U;let Q=$._zod.def,J=Y.seen.get($);if(J){if(J.count++,z.schemaPath.includes($))J.cycle=z.path;return J.schema}let I={schema:{},count:1,cycle:void 0,path:z.path};Y.seen.set($,I);let K=$._zod.toJSONSchema?.();if(K)I.schema=K;else{let H={...z,schemaPath:[...z.schemaPath,$],path:z.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(Y,I.schema,H);else{let Z=I.schema,q=Y.processors[Q.type];if(!q)throw Error(`[toJSONSchema]: Non-representable type encountered: ${Q.type}`);q($,Y,Z,H)}let X=$._zod.parent;if(X){if(!I.ref)I.ref=X;I4(X,Y,H),Y.seen.get(X).isParent=!0}}let G=Y.metadataRegistry.get($);if(G)Object.assign(I.schema,G);if(Y.io==="input"&&A8($))delete I.schema.examples,delete I.schema.default;if(Y.io==="input"&&"_prefault"in I.schema)(U=I.schema).default??(U.default=I.schema._prefault);return delete I.schema._prefault,Y.seen.get($).schema}function X3($,Y){let z=$.seen.get(Y);if(!z)throw Error("Unprocessed schema. This is a bug in Zod.");let U=new Map;for(let I of $.seen.entries()){let K=$.metadataRegistry.get(I[0])?.id;if(K){let G=U.get(K);if(G&&G!==I[0])throw Error(`Duplicate schema id "${K}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);U.set(K,I[0])}}let Q=(I)=>{let K=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let X=$.external.registry.get(I[0])?.id,Z=$.external.uri??((V)=>V);if(X)return{ref:Z(X)};let q=I[1].defId??I[1].schema.id??`schema${$.counter++}`;return I[1].defId=q,{defId:q,ref:`${Z("__shared")}#/${K}/${q}`}}if(I[1]===z)return{ref:"#"};let W=`${"#"}/${K}/`,H=I[1].schema.id??`__schema${$.counter++}`;return{defId:H,ref:W+H}},J=(I)=>{if(I[1].schema.$ref)return;let K=I[1],{ref:G,defId:W}=Q(I);if(K.def={...K.schema},W)K.defId=W;let H=K.schema;for(let X in H)delete H[X];H.$ref=G};if($.cycles==="throw")for(let I of $.seen.entries()){let K=I[1];if(K.cycle)throw Error(`Cycle detected: #/${K.cycle?.join("/")}/ -Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let I of $.seen.entries()){let K=I[1];if(Y===I[0]){J(I);continue}if($.external){let W=$.external.registry.get(I[0])?.id;if(Y!==I[0]&&W){J(I);continue}}if($.metadataRegistry.get(I[0])?.id){J(I);continue}if(K.cycle){J(I);continue}if(K.count>1){if($.reused==="ref"){J(I);continue}}}}function Z3($,Y){let z=$.seen.get(Y);if(!z)throw Error("Unprocessed schema. This is a bug in Zod.");let U=(K)=>{let G=$.seen.get(K);if(G.ref===null)return;let W=G.def??G.schema,H={...W},X=G.ref;if(G.ref=null,X){U(X);let q=$.seen.get(X),V=q.schema;if(V.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))W.allOf=W.allOf??[],W.allOf.push(V);else Object.assign(W,V);if(Object.assign(W,H),K._zod.parent===X)for(let M in W){if(M==="$ref"||M==="allOf")continue;if(!(M in H))delete W[M]}if(V.$ref&&q.def)for(let M in W){if(M==="$ref"||M==="allOf")continue;if(M in q.def&&JSON.stringify(W[M])===JSON.stringify(q.def[M]))delete W[M]}}let Z=K._zod.parent;if(Z&&Z!==X){U(Z);let q=$.seen.get(Z);if(q?.schema.$ref){if(W.$ref=q.schema.$ref,q.def)for(let V in W){if(V==="$ref"||V==="allOf")continue;if(V in q.def&&JSON.stringify(W[V])===JSON.stringify(q.def[V]))delete W[V]}}}$.override({zodSchema:K,jsonSchema:W,path:G.path??[]})};for(let K of[...$.seen.entries()].reverse())U(K[0]);let Q={};if($.target==="draft-2020-12")Q.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")Q.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")Q.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let K=$.external.registry.get(Y)?.id;if(!K)throw Error("Schema is missing an `id` property");Q.$id=$.external.uri(K)}Object.assign(Q,z.def??z.schema);let J=$.metadataRegistry.get(Y)?.id;if(J!==void 0&&Q.id===J)delete Q.id;let I=$.external?.defs??{};for(let K of $.seen.entries()){let G=K[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;I[G.defId]=G.def}}if($.external);else if(Object.keys(I).length>0)if($.target==="draft-2020-12")Q.$defs=I;else Q.definitions=I;try{let K=JSON.parse(JSON.stringify(Q));return Object.defineProperty(K,"~standard",{value:{...Y["~standard"],jsonSchema:{input:IQ(Y,"input",$.processors),output:IQ(Y,"output",$.processors)}},enumerable:!1,writable:!1}),K}catch(K){throw Error("Error converting schema to JSON.")}}function A8($,Y){let z=Y??{seen:new Set};if(z.seen.has($))return!1;z.seen.add($);let U=$._zod.def;if(U.type==="transform")return!0;if(U.type==="array")return A8(U.element,z);if(U.type==="set")return A8(U.valueType,z);if(U.type==="lazy")return A8(U.getter(),z);if(U.type==="promise"||U.type==="optional"||U.type==="nonoptional"||U.type==="nullable"||U.type==="readonly"||U.type==="default"||U.type==="prefault")return A8(U.innerType,z);if(U.type==="intersection")return A8(U.left,z)||A8(U.right,z);if(U.type==="record"||U.type==="map")return A8(U.keyType,z)||A8(U.valueType,z);if(U.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return A8(U.in,z)||A8(U.out,z)}if(U.type==="object"){for(let Q in U.shape)if(A8(U.shape[Q],z))return!0;return!1}if(U.type==="union"){for(let Q of U.options)if(A8(Q,z))return!0;return!1}if(U.type==="tuple"){for(let Q of U.items)if(A8(Q,z))return!0;if(U.rest&&A8(U.rest,z))return!0;return!1}return!1}var sR=($,Y={})=>(z)=>{let U=H3({...z,processors:Y});return I4($,U),X3(U,$),Z3(U,$)},IQ=($,Y,z={})=>(U)=>{let{libraryOptions:Q,target:J}=U??{},I=H3({...Q??{},target:J,io:Y,processors:z});return I4($,I),X3(I,$),Z3(I,$)};var VG=o(()=>{XG()});function RY($,Y){if("_idmap"in $){let U=$,Q=H3({...Y,processors:yV}),J={};for(let G of U._idmap.entries()){let[W,H]=G;I4(H,Q)}let I={},K={registry:U,uri:Y?.uri,defs:J};Q.external=K;for(let G of U._idmap.entries()){let[W,H]=G;X3(Q,H),I[W]=Z3(Q,H)}if(Object.keys(J).length>0){let G=Q.target==="draft-2020-12"?"$defs":"definitions";I.__shared={[G]:J}}return{schemas:I}}let z=H3({...Y,processors:yV});return I4($,z),X3(z,$),Z3(z,$)}var Wx0,aR=($,Y,z,U)=>{let Q=z;Q.type="string";let{minimum:J,maximum:I,format:K,patterns:G,contentEncoding:W}=$._zod.bag;if(typeof J==="number")Q.minLength=J;if(typeof I==="number")Q.maxLength=I;if(K){if(Q.format=Wx0[K]??K,Q.format==="")delete Q.format;if(K==="time")delete Q.format}if(W)Q.contentEncoding=W;if(G&&G.size>0){let H=[...G];if(H.length===1)Q.pattern=H[0].source;else if(H.length>1)Q.allOf=[...H.map((X)=>({...Y.target==="draft-07"||Y.target==="draft-04"||Y.target==="openapi-3.0"?{type:"string"}:{},pattern:X.source}))]}},tR=($,Y,z,U)=>{let Q=z,{minimum:J,maximum:I,format:K,multipleOf:G,exclusiveMaximum:W,exclusiveMinimum:H}=$._zod.bag;if(typeof K==="string"&&K.includes("int"))Q.type="integer";else Q.type="number";let X=typeof H==="number"&&H>=(J??Number.NEGATIVE_INFINITY),Z=typeof W==="number"&&W<=(I??Number.POSITIVE_INFINITY),q=Y.target==="draft-04"||Y.target==="openapi-3.0";if(X)if(q)Q.minimum=H,Q.exclusiveMinimum=!0;else Q.exclusiveMinimum=H;else if(typeof J==="number")Q.minimum=J;if(Z)if(q)Q.maximum=W,Q.exclusiveMaximum=!0;else Q.exclusiveMaximum=W;else if(typeof I==="number")Q.maximum=I;if(typeof G==="number")Q.multipleOf=G},eR=($,Y,z,U)=>{z.type="boolean"},$_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},Y_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},z_=($,Y,z,U)=>{if(Y.target==="openapi-3.0")z.type="string",z.nullable=!0,z.enum=[null];else z.type="null"},U_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},Q_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},J_=($,Y,z,U)=>{z.not={}},I_=($,Y,z,U)=>{},K_=($,Y,z,U)=>{},G_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},W_=($,Y,z,U)=>{let Q=$._zod.def,J=mK(Q.entries);if(J.every((I)=>typeof I==="number"))z.type="number";if(J.every((I)=>typeof I==="string"))z.type="string";z.enum=J},H_=($,Y,z,U)=>{let Q=$._zod.def,J=[];for(let I of Q.values)if(I===void 0){if(Y.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof I==="bigint")if(Y.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else J.push(Number(I));else J.push(I);if(J.length===0);else if(J.length===1){let I=J[0];if(z.type=I===null?"null":typeof I,Y.target==="draft-04"||Y.target==="openapi-3.0")z.enum=[I];else z.const=I}else{if(J.every((I)=>typeof I==="number"))z.type="number";if(J.every((I)=>typeof I==="string"))z.type="string";if(J.every((I)=>typeof I==="boolean"))z.type="boolean";if(J.every((I)=>I===null))z.type="null";z.enum=J}},X_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},Z_=($,Y,z,U)=>{let Q=z,J=$._zod.pattern;if(!J)throw Error("Pattern not found in template literal");Q.type="string",Q.pattern=J.source},q_=($,Y,z,U)=>{let Q=z,J={type:"string",format:"binary",contentEncoding:"binary"},{minimum:I,maximum:K,mime:G}=$._zod.bag;if(I!==void 0)J.minLength=I;if(K!==void 0)J.maxLength=K;if(G)if(G.length===1)J.contentMediaType=G[0],Object.assign(Q,J);else Object.assign(Q,J),Q.anyOf=G.map((W)=>({contentMediaType:W}));else Object.assign(Q,J)},V_=($,Y,z,U)=>{z.type="boolean"},L_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},F_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},w_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},M_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},O_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},N_=($,Y,z,U)=>{let Q=z,J=$._zod.def,{minimum:I,maximum:K}=$._zod.bag;if(typeof I==="number")Q.minItems=I;if(typeof K==="number")Q.maxItems=K;Q.type="array",Q.items=I4(J.element,Y,{...U,path:[...U.path,"items"]})},D_=($,Y,z,U)=>{let Q=z,J=$._zod.def;Q.type="object",Q.properties={};let I=J.shape;for(let W in I)Q.properties[W]=I4(I[W],Y,{...U,path:[...U.path,"properties",W]});let K=new Set(Object.keys(I)),G=new Set([...K].filter((W)=>{let H=J.shape[W]._zod;if(Y.io==="input")return H.optin===void 0;else return H.optout===void 0}));if(G.size>0)Q.required=Array.from(G);if(J.catchall?._zod.def.type==="never")Q.additionalProperties=!1;else if(!J.catchall){if(Y.io==="output")Q.additionalProperties=!1}else if(J.catchall)Q.additionalProperties=I4(J.catchall,Y,{...U,path:[...U.path,"additionalProperties"]})},kV=($,Y,z,U)=>{let Q=$._zod.def,J=Q.inclusive===!1,I=Q.options.map((K,G)=>I4(K,Y,{...U,path:[...U.path,J?"oneOf":"anyOf",G]}));if(J)z.oneOf=I;else z.anyOf=I},B_=($,Y,z,U)=>{let Q=$._zod.def,J=I4(Q.left,Y,{...U,path:[...U.path,"allOf",0]}),I=I4(Q.right,Y,{...U,path:[...U.path,"allOf",1]}),K=(W)=>("allOf"in W)&&Object.keys(W).length===1,G=[...K(J)?J.allOf:[J],...K(I)?I.allOf:[I]];z.allOf=G},P_=($,Y,z,U)=>{let Q=z,J=$._zod.def;Q.type="array";let I=Y.target==="draft-2020-12"?"prefixItems":"items",K=Y.target==="draft-2020-12"?"items":Y.target==="openapi-3.0"?"items":"additionalItems",G=J.items.map((Z,q)=>I4(Z,Y,{...U,path:[...U.path,I,q]})),W=J.rest?I4(J.rest,Y,{...U,path:[...U.path,K,...Y.target==="openapi-3.0"?[J.items.length]:[]]}):null;if(Y.target==="draft-2020-12"){if(Q.prefixItems=G,W)Q.items=W}else if(Y.target==="openapi-3.0"){if(Q.items={anyOf:G},W)Q.items.anyOf.push(W);if(Q.minItems=G.length,!W)Q.maxItems=G.length}else if(Q.items=G,W)Q.additionalItems=W;let{minimum:H,maximum:X}=$._zod.bag;if(typeof H==="number")Q.minItems=H;if(typeof X==="number")Q.maxItems=X},A_=($,Y,z,U)=>{let Q=z,J=$._zod.def;Q.type="object";let I=J.keyType,G=I._zod.bag?.patterns;if(J.mode==="loose"&&G&&G.size>0){let H=I4(J.valueType,Y,{...U,path:[...U.path,"patternProperties","*"]});Q.patternProperties={};for(let X of G)Q.patternProperties[X.source]=H}else{if(Y.target==="draft-07"||Y.target==="draft-2020-12")Q.propertyNames=I4(J.keyType,Y,{...U,path:[...U.path,"propertyNames"]});Q.additionalProperties=I4(J.valueType,Y,{...U,path:[...U.path,"additionalProperties"]})}let W=I._zod.values;if(W){let H=[...W].filter((X)=>typeof X==="string"||typeof X==="number");if(H.length>0)Q.required=H}},T_=($,Y,z,U)=>{let Q=$._zod.def,J=I4(Q.innerType,Y,U),I=Y.seen.get($);if(Y.target==="openapi-3.0")I.ref=Q.innerType,z.nullable=!0;else z.anyOf=[J,{type:"null"}]},j_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType},E_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType,z.default=JSON.parse(JSON.stringify(Q.defaultValue))},C_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);if(J.ref=Q.innerType,Y.io==="input")z._prefault=JSON.parse(JSON.stringify(Q.defaultValue))},R_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType;let I;try{I=Q.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}z.default=I},__=($,Y,z,U)=>{let Q=$._zod.def,J=Q.in._zod.traits.has("$ZodTransform"),I=Y.io==="input"?J?Q.out:Q.in:Q.out;I4(I,Y,U);let K=Y.seen.get($);K.ref=I},v_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType,z.readOnly=!0},h_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType},xV=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType},S_=($,Y,z,U)=>{let Q=$._zod.innerType;I4(Q,Y,U);let J=Y.seen.get($);J.ref=Q},yV;var LG=o(()=>{VG();$1();Wx0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},yV={string:aR,number:tR,boolean:eR,bigint:$_,symbol:Y_,null:z_,undefined:U_,void:Q_,never:J_,any:I_,unknown:K_,date:G_,enum:W_,literal:H_,nan:X_,template_literal:Z_,file:q_,success:V_,custom:L_,function:F_,transform:w_,map:M_,set:O_,array:N_,object:D_,union:kV,intersection:B_,tuple:P_,record:A_,nullable:T_,nonoptional:j_,default:E_,prefault:C_,catch:R_,pipe:__,readonly:v_,promise:h_,optional:xV,lazy:S_}});class g_{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";this.ctx=H3({processors:yV,target:Y,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,Y={path:[],schemaPath:[]}){return I4($,this.ctx,Y)}emit($,Y){if(Y){if(Y.cycles)this.ctx.cycles=Y.cycles;if(Y.reused)this.ctx.reused=Y.reused;if(Y.external)this.ctx.external=Y.external}X3(this.ctx,$);let z=Z3(this.ctx,$),{"~standard":U,...Q}=z;return Q}}var Ws=o(()=>{LG();VG()});var Hs={};var Xs=()=>{};var c9={};x8(c9,{version:()=>sj,util:()=>y0,treeifyError:()=>aT,toJSONSchema:()=>RY,toDotPath:()=>go,safeParseAsync:()=>Yj,safeParse:()=>$j,safeEncodeAsync:()=>qy0,safeEncode:()=>Xy0,safeDecodeAsync:()=>Vy0,safeDecode:()=>Zy0,registry:()=>WV,regexes:()=>Y$,process:()=>I4,prettifyError:()=>tT,parseAsync:()=>uq,parse:()=>fq,meta:()=>oR,locales:()=>HG,isValidJWT:()=>Ur,isValidBase64URL:()=>zr,isValidBase64:()=>OE,initializeContext:()=>H3,globalRegistry:()=>c6,globalConfig:()=>NY,formatError:()=>eK,flattenError:()=>tK,finalize:()=>Z3,extractDefs:()=>X3,encodeAsync:()=>Wy0,encode:()=>Ky0,describe:()=>lR,decodeAsync:()=>Hy0,decode:()=>Gy0,createToJSONSchemaMethod:()=>sR,createStandardJSONSchemaMethod:()=>IQ,config:()=>a4,clone:()=>D8,_xor:()=>ik0,_xid:()=>NV,_void:()=>fR,_uuidv7:()=>VV,_uuidv6:()=>qV,_uuidv4:()=>ZV,_uuid:()=>XV,_url:()=>qG,_uppercase:()=>rU,_unknown:()=>kR,_union:()=>bk0,_undefined:()=>SR,_ulid:()=>OV,_uint64:()=>vR,_uint32:()=>TR,_tuple:()=>pk0,_trim:()=>YQ,_transform:()=>ak0,_toUpperCase:()=>UQ,_toLowerCase:()=>zQ,_templateLiteral:()=>Ix0,_symbol:()=>hR,_superRefine:()=>mR,_success:()=>zx0,_stringbool:()=>rR,_stringFormat:()=>JQ,_string:()=>XR,_startsWith:()=>aU,_slugify:()=>QQ,_size:()=>jY,_set:()=>lk0,_safeParseAsync:()=>pU,_safeParse:()=>nU,_safeEncodeAsync:()=>mq,_safeEncode:()=>pq,_safeDecodeAsync:()=>lq,_safeDecode:()=>dq,_regex:()=>lU,_refine:()=>dR,_record:()=>dk0,_readonly:()=>Jx0,_property:()=>gV,_promise:()=>Gx0,_positive:()=>_V,_pipe:()=>Qx0,_parseAsync:()=>cU,_parse:()=>iU,_overwrite:()=>Y5,_optional:()=>tk0,_number:()=>OR,_nullable:()=>ek0,_null:()=>gR,_normalize:()=>$Q,_nonpositive:()=>hV,_nonoptional:()=>Yx0,_nonnegative:()=>SV,_never:()=>xR,_negative:()=>vV,_nativeEnum:()=>rk0,_nanoid:()=>FV,_nan:()=>iR,_multipleOf:()=>G3,_minSize:()=>b5,_minLength:()=>i9,_min:()=>P8,_mime:()=>eU,_maxSize:()=>W3,_maxLength:()=>EY,_max:()=>z$,_map:()=>mk0,_mac:()=>qR,_lte:()=>z$,_lt:()=>f5,_lowercase:()=>oU,_literal:()=>sk0,_length:()=>CY,_lazy:()=>Kx0,_ksuid:()=>DV,_jwt:()=>RV,_isoTime:()=>wR,_isoDuration:()=>MR,_isoDateTime:()=>LR,_isoDate:()=>FR,_ipv6:()=>PV,_ipv4:()=>BV,_intersection:()=>nk0,_int64:()=>_R,_int32:()=>AR,_int:()=>DR,_includes:()=>sU,_guid:()=>ZG,_gte:()=>P8,_gt:()=>u5,_float64:()=>PR,_float32:()=>BR,_file:()=>nR,_enum:()=>ok0,_endsWith:()=>tU,_encodeAsync:()=>cq,_encode:()=>bq,_emoji:()=>LV,_email:()=>HV,_e164:()=>CV,_discriminatedUnion:()=>ck0,_default:()=>$x0,_decodeAsync:()=>nq,_decode:()=>iq,_date:()=>uR,_custom:()=>pR,_cuid2:()=>MV,_cuid:()=>wV,_coercedString:()=>ZR,_coercedNumber:()=>NR,_coercedDate:()=>bR,_coercedBoolean:()=>ER,_coercedBigint:()=>RR,_cidrv6:()=>TV,_cidrv4:()=>AV,_check:()=>Ks,_catch:()=>Ux0,_boolean:()=>jR,_bigint:()=>CR,_base64url:()=>EV,_base64:()=>jV,_array:()=>cR,_any:()=>yR,TimePrecision:()=>VR,NEVER:()=>pK,JSONSchemaGenerator:()=>g_,JSONSchema:()=>Hs,Doc:()=>eq,$output:()=>GR,$input:()=>WR,$constructor:()=>W0,$brand:()=>bT,$ZodXor:()=>xE,$ZodXID:()=>GE,$ZodVoid:()=>SE,$ZodUnknown:()=>vE,$ZodUnion:()=>QG,$ZodUndefined:()=>CE,$ZodUUID:()=>$E,$ZodURL:()=>zE,$ZodULID:()=>KE,$ZodType:()=>q1,$ZodTuple:()=>IV,$ZodTransform:()=>mE,$ZodTemplateLiteral:()=>UC,$ZodSymbol:()=>EE,$ZodSuccess:()=>tE,$ZodStringFormat:()=>X4,$ZodString:()=>TY,$ZodSet:()=>cE,$ZodRegistry:()=>HR,$ZodRecord:()=>bE,$ZodRealError:()=>u8,$ZodReadonly:()=>zC,$ZodPromise:()=>JC,$ZodPreprocess:()=>YC,$ZodPrefault:()=>sE,$ZodPipe:()=>GV,$ZodOptional:()=>KV,$ZodObjectJIT:()=>kE,$ZodObject:()=>Ir,$ZodNumberFormat:()=>TE,$ZodNumber:()=>QV,$ZodNullable:()=>oE,$ZodNull:()=>RE,$ZodNonOptional:()=>aE,$ZodNever:()=>hE,$ZodNanoID:()=>QE,$ZodNaN:()=>$C,$ZodMap:()=>iE,$ZodMAC:()=>FE,$ZodLiteral:()=>pE,$ZodLazy:()=>IC,$ZodKSUID:()=>WE,$ZodJWT:()=>PE,$ZodIntersection:()=>uE,$ZodISOTime:()=>ZE,$ZodISODuration:()=>qE,$ZodISODateTime:()=>HE,$ZodISODate:()=>XE,$ZodIPv6:()=>LE,$ZodIPv4:()=>VE,$ZodGUID:()=>ej,$ZodFunction:()=>QC,$ZodFile:()=>dE,$ZodExactOptional:()=>lE,$ZodError:()=>aK,$ZodEnum:()=>nE,$ZodEncodeError:()=>DY,$ZodEmoji:()=>UE,$ZodEmail:()=>YE,$ZodE164:()=>BE,$ZodDiscriminatedUnion:()=>fE,$ZodDefault:()=>rE,$ZodDate:()=>gE,$ZodCustomStringFormat:()=>AE,$ZodCustom:()=>KC,$ZodCodec:()=>JG,$ZodCheckUpperCase:()=>nj,$ZodCheckStringFormat:()=>dU,$ZodCheckStartsWith:()=>dj,$ZodCheckSizeEquals:()=>xj,$ZodCheckRegex:()=>ij,$ZodCheckProperty:()=>lj,$ZodCheckOverwrite:()=>rj,$ZodCheckNumberFormat:()=>Sj,$ZodCheckMultipleOf:()=>hj,$ZodCheckMinSize:()=>kj,$ZodCheckMinLength:()=>uj,$ZodCheckMimeType:()=>oj,$ZodCheckMaxSize:()=>yj,$ZodCheckMaxLength:()=>fj,$ZodCheckLowerCase:()=>cj,$ZodCheckLessThan:()=>sq,$ZodCheckLengthEquals:()=>bj,$ZodCheckIncludes:()=>pj,$ZodCheckGreaterThan:()=>aq,$ZodCheckEndsWith:()=>mj,$ZodCheckBigIntFormat:()=>gj,$ZodCheck:()=>V4,$ZodCatch:()=>eE,$ZodCUID2:()=>IE,$ZodCUID:()=>JE,$ZodCIDRv6:()=>ME,$ZodCIDRv4:()=>wE,$ZodBoolean:()=>UG,$ZodBigIntFormat:()=>jE,$ZodBigInt:()=>JV,$ZodBase64URL:()=>DE,$ZodBase64:()=>NE,$ZodAsyncError:()=>x5,$ZodArray:()=>yE,$ZodAny:()=>_E});var U$=o(()=>{$1();rq();KR();LG();Ws();Xs();BY();zj();eT();GC();tq();aj();XG();Gs();VG()});var fV={};x8(fV,{uppercase:()=>rU,trim:()=>YQ,toUpperCase:()=>UQ,toLowerCase:()=>zQ,startsWith:()=>aU,slugify:()=>QQ,size:()=>jY,regex:()=>lU,property:()=>gV,positive:()=>_V,overwrite:()=>Y5,normalize:()=>$Q,nonpositive:()=>hV,nonnegative:()=>SV,negative:()=>vV,multipleOf:()=>G3,minSize:()=>b5,minLength:()=>i9,mime:()=>eU,maxSize:()=>W3,maxLength:()=>EY,lte:()=>z$,lt:()=>f5,lowercase:()=>oU,length:()=>CY,includes:()=>sU,gte:()=>P8,gt:()=>u5,endsWith:()=>tU});var uV=o(()=>{U$()});var Q$={};x8(Q$,{time:()=>x_,duration:()=>f_,datetime:()=>y_,date:()=>k_,ZodISOTime:()=>cV,ZodISODuration:()=>nV,ZodISODateTime:()=>bV,ZodISODate:()=>iV});function y_($){return LR(bV,$)}function k_($){return FR(iV,$)}function x_($){return wR(cV,$)}function f_($){return MR(nV,$)}var bV,iV,cV,nV;var FG=o(()=>{U$();MG();bV=W0("ZodISODateTime",($,Y)=>{HE.init($,Y),Z4.init($,Y)});iV=W0("ZodISODate",($,Y)=>{XE.init($,Y),Z4.init($,Y)});cV=W0("ZodISOTime",($,Y)=>{ZE.init($,Y),Z4.init($,Y)});nV=W0("ZodISODuration",($,Y)=>{qE.init($,Y),Z4.init($,Y)})});var Zs=($,Y)=>{aK.init($,Y),$.name="ZodError",Object.defineProperties($,{format:{value:(z)=>eK($,z)},flatten:{value:(z)=>tK($,z)},addIssue:{value:(z)=>{$.issues.push(z),$.message=JSON.stringify($.issues,fU,2)}},addIssues:{value:(z)=>{$.issues.push(...z),$.message=JSON.stringify($.issues,fU,2)}},isEmpty:{get(){return $.issues.length===0}}})},Xx0,b8;var u_=o(()=>{U$();U$();$1();Xx0=W0("ZodError",Zs),b8=W0("ZodError",Zs,{Parent:Error})});var b_,i_,OG,c_,n_,p_,d_,m_,l_,o_,r_,s_;var a_=o(()=>{U$();u_();b_=iU(b8),i_=cU(b8),OG=nU(b8),c_=pU(b8),n_=bq(b8),p_=iq(b8),d_=cq(b8),m_=nq(b8),l_=pq(b8),o_=dq(b8),r_=mq(b8),s_=lq(b8)});var wG={};x8(wG,{xor:()=>es,xid:()=>Ts,void:()=>rs,uuidv7:()=>Ms,uuidv6:()=>ws,uuidv4:()=>Fs,uuid:()=>Ls,url:()=>HQ,unknown:()=>a0,union:()=>o0,undefined:()=>os,ulid:()=>As,uint64:()=>ms,uint32:()=>ns,tuple:()=>Xv,transform:()=>qL,templateLiteral:()=>Xa,symbol:()=>ls,superRefine:()=>xv,success:()=>Ka,stringbool:()=>Oa,stringFormat:()=>ks,string:()=>R,strictObject:()=>ts,set:()=>Ua,refine:()=>kv,record:()=>p0,readonly:()=>vv,promise:()=>Za,preprocess:()=>n9,prefault:()=>Pv,pipe:()=>dV,partialRecord:()=>$a,optional:()=>t0,object:()=>z0,number:()=>_0,nullish:()=>Ia,nullable:()=>DG,null:()=>c5,nonoptional:()=>Av,never:()=>ZL,nativeEnum:()=>Qa,nanoid:()=>Ds,nan:()=>Ga,meta:()=>wa,map:()=>za,mac:()=>Cs,looseRecord:()=>Ya,looseObject:()=>Q1,literal:()=>V0,lazy:()=>V3,ksuid:()=>js,keyof:()=>as,jwt:()=>ys,json:()=>Na,ipv6:()=>Rs,ipv4:()=>Es,invertCodec:()=>Ha,intersection:()=>z5,int64:()=>ds,int32:()=>cs,int:()=>pV,instanceof:()=>Ma,httpUrl:()=>Os,hostname:()=>xs,hex:()=>fs,hash:()=>us,guid:()=>Vs,function:()=>qa,float64:()=>is,float32:()=>bs,file:()=>Ja,exactOptional:()=>Mv,enum:()=>H1,emoji:()=>Ns,email:()=>oV,e164:()=>gs,discriminatedUnion:()=>q3,describe:()=>Fa,date:()=>ss,custom:()=>La,cuid2:()=>Ps,cuid:()=>Bs,codec:()=>Wa,cidrv6:()=>vs,cidrv4:()=>_s,check:()=>Va,catch:()=>Ev,boolean:()=>m0,bigint:()=>ps,base64url:()=>Ss,base64:()=>hs,array:()=>q0,any:()=>XL,_function:()=>qa,_default:()=>Dv,_ZodString:()=>mV,ZodXor:()=>Kv,ZodXID:()=>$L,ZodVoid:()=>Jv,ZodUnknown:()=>Uv,ZodUnion:()=>jG,ZodUndefined:()=>$v,ZodUUID:()=>i5,ZodURL:()=>PG,ZodULID:()=>eV,ZodType:()=>w1,ZodTuple:()=>Hv,ZodTransform:()=>Fv,ZodTemplateLiteral:()=>hv,ZodSymbol:()=>e_,ZodSuccess:()=>Tv,ZodStringFormat:()=>Z4,ZodString:()=>WQ,ZodSet:()=>qv,ZodRecord:()=>KQ,ZodReadonly:()=>_v,ZodPromise:()=>gv,ZodPreprocess:()=>Rv,ZodPrefault:()=>Bv,ZodPipe:()=>EG,ZodOptional:()=>VL,ZodObject:()=>TG,ZodNumberFormat:()=>_Y,ZodNumber:()=>ZQ,ZodNullable:()=>Ov,ZodNull:()=>Yv,ZodNonOptional:()=>LL,ZodNever:()=>Qv,ZodNanoID:()=>sV,ZodNaN:()=>Cv,ZodMap:()=>Zv,ZodMAC:()=>t_,ZodLiteral:()=>Vv,ZodLazy:()=>Sv,ZodKSUID:()=>YL,ZodJWT:()=>WL,ZodIntersection:()=>Wv,ZodIPv6:()=>UL,ZodIPv4:()=>zL,ZodGUID:()=>NG,ZodFunction:()=>yv,ZodFile:()=>Lv,ZodExactOptional:()=>wv,ZodEnum:()=>GQ,ZodEmoji:()=>rV,ZodEmail:()=>lV,ZodE164:()=>GL,ZodDiscriminatedUnion:()=>Gv,ZodDefault:()=>Nv,ZodDate:()=>AG,ZodCustomStringFormat:()=>XQ,ZodCustom:()=>RG,ZodCodec:()=>CG,ZodCatch:()=>jv,ZodCUID2:()=>tV,ZodCUID:()=>aV,ZodCIDRv6:()=>JL,ZodCIDRv4:()=>QL,ZodBoolean:()=>qQ,ZodBigIntFormat:()=>HL,ZodBigInt:()=>VQ,ZodBase64URL:()=>KL,ZodBase64:()=>IL,ZodArray:()=>Iv,ZodAny:()=>zv});function BG($,Y,z){let U=Object.getPrototypeOf($),Q=qs.get(U);if(!Q)Q=new Set,qs.set(U,Q);if(Q.has(Y))return;Q.add(Y);for(let J in z){let I=z[J];Object.defineProperty(U,J,{configurable:!0,enumerable:!1,get(){let K=I.bind(this);return Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K}),K},set(K){Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K})}})}}function R($){return XR(WQ,$)}function oV($){return HV(lV,$)}function Vs($){return ZG(NG,$)}function Ls($){return XV(i5,$)}function Fs($){return ZV(i5,$)}function ws($){return qV(i5,$)}function Ms($){return VV(i5,$)}function HQ($){return qG(PG,$)}function Os($){return qG(PG,{protocol:Y$.httpProtocol,hostname:Y$.domain,...y0.normalizeParams($)})}function Ns($){return LV(rV,$)}function Ds($){return FV(sV,$)}function Bs($){return wV(aV,$)}function Ps($){return MV(tV,$)}function As($){return OV(eV,$)}function Ts($){return NV($L,$)}function js($){return DV(YL,$)}function Es($){return BV(zL,$)}function Cs($){return qR(t_,$)}function Rs($){return PV(UL,$)}function _s($){return AV(QL,$)}function vs($){return TV(JL,$)}function hs($){return jV(IL,$)}function Ss($){return EV(KL,$)}function gs($){return CV(GL,$)}function ys($){return RV(WL,$)}function ks($,Y,z={}){return JQ(XQ,$,Y,z)}function xs($){return JQ(XQ,"hostname",Y$.hostname,$)}function fs($){return JQ(XQ,"hex",Y$.hex,$)}function us($,Y){let z=Y?.enc??"hex",U=`${$}_${z}`,Q=Y$[U];if(!Q)throw Error(`Unrecognized hash format: ${U}`);return JQ(XQ,U,Q,Y)}function _0($){return OR(ZQ,$)}function pV($){return DR(_Y,$)}function bs($){return BR(_Y,$)}function is($){return PR(_Y,$)}function cs($){return AR(_Y,$)}function ns($){return TR(_Y,$)}function m0($){return jR(qQ,$)}function ps($){return CR(VQ,$)}function ds($){return _R(HL,$)}function ms($){return vR(HL,$)}function ls($){return hR(e_,$)}function os($){return SR($v,$)}function c5($){return gR(Yv,$)}function XL(){return yR(zv)}function a0(){return kR(Uv)}function ZL($){return xR(Qv,$)}function rs($){return fR(Jv,$)}function ss($){return uR(AG,$)}function q0($,Y){return cR(Iv,$,Y)}function as($){let Y=$._zod.def.shape;return H1(Object.keys(Y))}function z0($,Y){let z={type:"object",shape:$??{},...y0.normalizeParams(Y)};return new TG(z)}function ts($,Y){return new TG({type:"object",shape:$,catchall:ZL(),...y0.normalizeParams(Y)})}function Q1($,Y){return new TG({type:"object",shape:$,catchall:a0(),...y0.normalizeParams(Y)})}function o0($,Y){return new jG({type:"union",options:$,...y0.normalizeParams(Y)})}function es($,Y){return new Kv({type:"union",options:$,inclusive:!1,...y0.normalizeParams(Y)})}function q3($,Y,z){return new Gv({type:"union",options:Y,discriminator:$,...y0.normalizeParams(z)})}function z5($,Y){return new Wv({type:"intersection",left:$,right:Y})}function Xv($,Y,z){let U=Y instanceof q1,Q=U?z:Y;return new Hv({type:"tuple",items:$,rest:U?Y:null,...y0.normalizeParams(Q)})}function p0($,Y,z){if(!Y||!Y._zod)return new KQ({type:"record",keyType:R(),valueType:$,...y0.normalizeParams(Y)});return new KQ({type:"record",keyType:$,valueType:Y,...y0.normalizeParams(z)})}function $a($,Y,z){let U=D8($);return U._zod.values=void 0,new KQ({type:"record",keyType:U,valueType:Y,...y0.normalizeParams(z)})}function Ya($,Y,z){return new KQ({type:"record",keyType:$,valueType:Y,mode:"loose",...y0.normalizeParams(z)})}function za($,Y,z){return new Zv({type:"map",keyType:$,valueType:Y,...y0.normalizeParams(z)})}function Ua($,Y){return new qv({type:"set",valueType:$,...y0.normalizeParams(Y)})}function H1($,Y){let z=Array.isArray($)?Object.fromEntries($.map((U)=>[U,U])):$;return new GQ({type:"enum",entries:z,...y0.normalizeParams(Y)})}function Qa($,Y){return new GQ({type:"enum",entries:$,...y0.normalizeParams(Y)})}function V0($,Y){return new Vv({type:"literal",values:Array.isArray($)?$:[$],...y0.normalizeParams(Y)})}function Ja($){return nR(Lv,$)}function qL($){return new Fv({type:"transform",transform:$})}function t0($){return new VL({type:"optional",innerType:$})}function Mv($){return new wv({type:"optional",innerType:$})}function DG($){return new Ov({type:"nullable",innerType:$})}function Ia($){return t0(DG($))}function Dv($,Y){return new Nv({type:"default",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function Pv($,Y){return new Bv({type:"prefault",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function Av($,Y){return new LL({type:"nonoptional",innerType:$,...y0.normalizeParams(Y)})}function Ka($){return new Tv({type:"success",innerType:$})}function Ev($,Y){return new jv({type:"catch",innerType:$,catchValue:typeof Y==="function"?Y:()=>Y})}function Ga($){return iR(Cv,$)}function dV($,Y){return new EG({type:"pipe",in:$,out:Y})}function Wa($,Y,z){return new CG({type:"pipe",in:$,out:Y,transform:z.decode,reverseTransform:z.encode})}function Ha($){let Y=$._zod.def;return new CG({type:"pipe",in:Y.out,out:Y.in,transform:Y.reverseTransform,reverseTransform:Y.transform})}function vv($){return new _v({type:"readonly",innerType:$})}function Xa($,Y){return new hv({type:"template_literal",parts:$,...y0.normalizeParams(Y)})}function V3($){return new Sv({type:"lazy",getter:$})}function Za($){return new gv({type:"promise",innerType:$})}function qa($){return new yv({type:"function",input:Array.isArray($?.input)?Xv($?.input):$?.input??q0(a0()),output:$?.output??a0()})}function Va($){let Y=new V4({check:"custom"});return Y._zod.check=$,Y}function La($,Y){return pR(RG,$??(()=>!0),Y)}function kv($,Y={}){return dR(RG,$,Y)}function xv($,Y){return mR($,Y)}function Ma($,Y={}){let z=new RG({type:"custom",check:"custom",fn:(U)=>U instanceof $,abort:!0,...y0.normalizeParams(Y)});return z._zod.bag.Class=$,z._zod.check=(U)=>{if(!(U.value instanceof $))U.issues.push({code:"invalid_type",expected:$.name,input:U.value,inst:z,path:[...z._zod.def.path??[]]})},z}function Na($){let Y=V3(()=>{return o0([R($),_0(),m0(),c5(),q0(Y),p0(R(),Y)])});return Y}function n9($,Y){return new Rv({type:"pipe",in:qL($),out:Y})}var qs,w1,mV,WQ,Z4,lV,NG,i5,PG,rV,sV,aV,tV,eV,$L,YL,zL,t_,UL,QL,JL,IL,KL,GL,WL,XQ,ZQ,_Y,qQ,VQ,HL,e_,$v,Yv,zv,Uv,Qv,Jv,AG,Iv,TG,jG,Kv,Gv,Wv,Hv,KQ,Zv,qv,GQ,Vv,Lv,Fv,VL,wv,Ov,Nv,Bv,LL,Tv,jv,Cv,EG,CG,Rv,_v,hv,Sv,gv,yv,RG,Fa,wa,Oa=(...$)=>rR({Codec:CG,Boolean:qQ,String:WQ},...$);var MG=o(()=>{U$();U$();LG();VG();uV();FG();a_();qs=new WeakMap;w1=W0("ZodType",($,Y)=>{return q1.init($,Y),Object.assign($["~standard"],{jsonSchema:{input:IQ($,"input"),output:IQ($,"output")}}),$.toJSONSchema=sR($,{}),$.def=Y,$.type=Y.type,Object.defineProperty($,"_def",{value:Y}),$.parse=(z,U)=>b_($,z,U,{callee:$.parse}),$.safeParse=(z,U)=>OG($,z,U),$.parseAsync=async(z,U)=>i_($,z,U,{callee:$.parseAsync}),$.safeParseAsync=async(z,U)=>c_($,z,U),$.spa=$.safeParseAsync,$.encode=(z,U)=>n_($,z,U),$.decode=(z,U)=>p_($,z,U),$.encodeAsync=async(z,U)=>d_($,z,U),$.decodeAsync=async(z,U)=>m_($,z,U),$.safeEncode=(z,U)=>l_($,z,U),$.safeDecode=(z,U)=>o_($,z,U),$.safeEncodeAsync=async(z,U)=>r_($,z,U),$.safeDecodeAsync=async(z,U)=>s_($,z,U),BG($,"ZodType",{check(...z){let U=this.def;return this.clone(y0.mergeDefs(U,{checks:[...U.checks??[],...z.map((Q)=>typeof Q==="function"?{_zod:{check:Q,def:{check:"custom"},onattach:[]}}:Q)]}),{parent:!0})},with(...z){return this.check(...z)},clone(z,U){return D8(this,z,U)},brand(){return this},register(z,U){return z.add(this,U),this},refine(z,U){return this.check(kv(z,U))},superRefine(z,U){return this.check(xv(z,U))},overwrite(z){return this.check(Y5(z))},optional(){return t0(this)},exactOptional(){return Mv(this)},nullable(){return DG(this)},nullish(){return t0(DG(this))},nonoptional(z){return Av(this,z)},array(){return q0(this)},or(z){return o0([this,z])},and(z){return z5(this,z)},transform(z){return dV(this,qL(z))},default(z){return Dv(this,z)},prefault(z){return Pv(this,z)},catch(z){return Ev(this,z)},pipe(z){return dV(this,z)},readonly(){return vv(this)},describe(z){let U=this.clone();return c6.add(U,{description:z}),U},meta(...z){if(z.length===0)return c6.get(this);let U=this.clone();return c6.add(U,z[0]),U},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(z){return z(this)}}),Object.defineProperty($,"description",{get(){return c6.get($)?.description},configurable:!0}),$}),mV=W0("_ZodString",($,Y)=>{TY.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>aR($,U,Q,J);let z=$._zod.bag;$.format=z.format??null,$.minLength=z.minimum??null,$.maxLength=z.maximum??null,BG($,"_ZodString",{regex(...U){return this.check(lU(...U))},includes(...U){return this.check(sU(...U))},startsWith(...U){return this.check(aU(...U))},endsWith(...U){return this.check(tU(...U))},min(...U){return this.check(i9(...U))},max(...U){return this.check(EY(...U))},length(...U){return this.check(CY(...U))},nonempty(...U){return this.check(i9(1,...U))},lowercase(U){return this.check(oU(U))},uppercase(U){return this.check(rU(U))},trim(){return this.check(YQ())},normalize(...U){return this.check($Q(...U))},toLowerCase(){return this.check(zQ())},toUpperCase(){return this.check(UQ())},slugify(){return this.check(QQ())}})}),WQ=W0("ZodString",($,Y)=>{TY.init($,Y),mV.init($,Y),$.email=(z)=>$.check(HV(lV,z)),$.url=(z)=>$.check(qG(PG,z)),$.jwt=(z)=>$.check(RV(WL,z)),$.emoji=(z)=>$.check(LV(rV,z)),$.guid=(z)=>$.check(ZG(NG,z)),$.uuid=(z)=>$.check(XV(i5,z)),$.uuidv4=(z)=>$.check(ZV(i5,z)),$.uuidv6=(z)=>$.check(qV(i5,z)),$.uuidv7=(z)=>$.check(VV(i5,z)),$.nanoid=(z)=>$.check(FV(sV,z)),$.guid=(z)=>$.check(ZG(NG,z)),$.cuid=(z)=>$.check(wV(aV,z)),$.cuid2=(z)=>$.check(MV(tV,z)),$.ulid=(z)=>$.check(OV(eV,z)),$.base64=(z)=>$.check(jV(IL,z)),$.base64url=(z)=>$.check(EV(KL,z)),$.xid=(z)=>$.check(NV($L,z)),$.ksuid=(z)=>$.check(DV(YL,z)),$.ipv4=(z)=>$.check(BV(zL,z)),$.ipv6=(z)=>$.check(PV(UL,z)),$.cidrv4=(z)=>$.check(AV(QL,z)),$.cidrv6=(z)=>$.check(TV(JL,z)),$.e164=(z)=>$.check(CV(GL,z)),$.datetime=(z)=>$.check(y_(z)),$.date=(z)=>$.check(k_(z)),$.time=(z)=>$.check(x_(z)),$.duration=(z)=>$.check(f_(z))});Z4=W0("ZodStringFormat",($,Y)=>{X4.init($,Y),mV.init($,Y)}),lV=W0("ZodEmail",($,Y)=>{YE.init($,Y),Z4.init($,Y)});NG=W0("ZodGUID",($,Y)=>{ej.init($,Y),Z4.init($,Y)});i5=W0("ZodUUID",($,Y)=>{$E.init($,Y),Z4.init($,Y)});PG=W0("ZodURL",($,Y)=>{zE.init($,Y),Z4.init($,Y)});rV=W0("ZodEmoji",($,Y)=>{UE.init($,Y),Z4.init($,Y)});sV=W0("ZodNanoID",($,Y)=>{QE.init($,Y),Z4.init($,Y)});aV=W0("ZodCUID",($,Y)=>{JE.init($,Y),Z4.init($,Y)});tV=W0("ZodCUID2",($,Y)=>{IE.init($,Y),Z4.init($,Y)});eV=W0("ZodULID",($,Y)=>{KE.init($,Y),Z4.init($,Y)});$L=W0("ZodXID",($,Y)=>{GE.init($,Y),Z4.init($,Y)});YL=W0("ZodKSUID",($,Y)=>{WE.init($,Y),Z4.init($,Y)});zL=W0("ZodIPv4",($,Y)=>{VE.init($,Y),Z4.init($,Y)});t_=W0("ZodMAC",($,Y)=>{FE.init($,Y),Z4.init($,Y)});UL=W0("ZodIPv6",($,Y)=>{LE.init($,Y),Z4.init($,Y)});QL=W0("ZodCIDRv4",($,Y)=>{wE.init($,Y),Z4.init($,Y)});JL=W0("ZodCIDRv6",($,Y)=>{ME.init($,Y),Z4.init($,Y)});IL=W0("ZodBase64",($,Y)=>{NE.init($,Y),Z4.init($,Y)});KL=W0("ZodBase64URL",($,Y)=>{DE.init($,Y),Z4.init($,Y)});GL=W0("ZodE164",($,Y)=>{BE.init($,Y),Z4.init($,Y)});WL=W0("ZodJWT",($,Y)=>{PE.init($,Y),Z4.init($,Y)});XQ=W0("ZodCustomStringFormat",($,Y)=>{AE.init($,Y),Z4.init($,Y)});ZQ=W0("ZodNumber",($,Y)=>{QV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>tR($,U,Q,J),BG($,"ZodNumber",{gt(U,Q){return this.check(u5(U,Q))},gte(U,Q){return this.check(P8(U,Q))},min(U,Q){return this.check(P8(U,Q))},lt(U,Q){return this.check(f5(U,Q))},lte(U,Q){return this.check(z$(U,Q))},max(U,Q){return this.check(z$(U,Q))},int(U){return this.check(pV(U))},safe(U){return this.check(pV(U))},positive(U){return this.check(u5(0,U))},nonnegative(U){return this.check(P8(0,U))},negative(U){return this.check(f5(0,U))},nonpositive(U){return this.check(z$(0,U))},multipleOf(U,Q){return this.check(G3(U,Q))},step(U,Q){return this.check(G3(U,Q))},finite(){return this}});let z=$._zod.bag;$.minValue=Math.max(z.minimum??Number.NEGATIVE_INFINITY,z.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(z.maximum??Number.POSITIVE_INFINITY,z.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(z.format??"").includes("int")||Number.isSafeInteger(z.multipleOf??0.5),$.isFinite=!0,$.format=z.format??null});_Y=W0("ZodNumberFormat",($,Y)=>{TE.init($,Y),ZQ.init($,Y)});qQ=W0("ZodBoolean",($,Y)=>{UG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>eR($,z,U,Q)});VQ=W0("ZodBigInt",($,Y)=>{JV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>$_($,U,Q,J),$.gte=(U,Q)=>$.check(P8(U,Q)),$.min=(U,Q)=>$.check(P8(U,Q)),$.gt=(U,Q)=>$.check(u5(U,Q)),$.gte=(U,Q)=>$.check(P8(U,Q)),$.min=(U,Q)=>$.check(P8(U,Q)),$.lt=(U,Q)=>$.check(f5(U,Q)),$.lte=(U,Q)=>$.check(z$(U,Q)),$.max=(U,Q)=>$.check(z$(U,Q)),$.positive=(U)=>$.check(u5(BigInt(0),U)),$.negative=(U)=>$.check(f5(BigInt(0),U)),$.nonpositive=(U)=>$.check(z$(BigInt(0),U)),$.nonnegative=(U)=>$.check(P8(BigInt(0),U)),$.multipleOf=(U,Q)=>$.check(G3(U,Q));let z=$._zod.bag;$.minValue=z.minimum??null,$.maxValue=z.maximum??null,$.format=z.format??null});HL=W0("ZodBigIntFormat",($,Y)=>{jE.init($,Y),VQ.init($,Y)});e_=W0("ZodSymbol",($,Y)=>{EE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>Y_($,z,U,Q)});$v=W0("ZodUndefined",($,Y)=>{CE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>U_($,z,U,Q)});Yv=W0("ZodNull",($,Y)=>{RE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>z_($,z,U,Q)});zv=W0("ZodAny",($,Y)=>{_E.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>I_($,z,U,Q)});Uv=W0("ZodUnknown",($,Y)=>{vE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>K_($,z,U,Q)});Qv=W0("ZodNever",($,Y)=>{hE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>J_($,z,U,Q)});Jv=W0("ZodVoid",($,Y)=>{SE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>Q_($,z,U,Q)});AG=W0("ZodDate",($,Y)=>{gE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>G_($,U,Q,J),$.min=(U,Q)=>$.check(P8(U,Q)),$.max=(U,Q)=>$.check(z$(U,Q));let z=$._zod.bag;$.minDate=z.minimum?new Date(z.minimum):null,$.maxDate=z.maximum?new Date(z.maximum):null});Iv=W0("ZodArray",($,Y)=>{yE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>N_($,z,U,Q),$.element=Y.element,BG($,"ZodArray",{min(z,U){return this.check(i9(z,U))},nonempty(z){return this.check(i9(1,z))},max(z,U){return this.check(EY(z,U))},length(z,U){return this.check(CY(z,U))},unwrap(){return this.element}})});TG=W0("ZodObject",($,Y)=>{kE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>D_($,z,U,Q),y0.defineLazy($,"shape",()=>{return Y.shape}),BG($,"ZodObject",{keyof(){return H1(Object.keys(this._zod.def.shape))},catchall(z){return this.clone({...this._zod.def,catchall:z})},passthrough(){return this.clone({...this._zod.def,catchall:a0()})},loose(){return this.clone({...this._zod.def,catchall:a0()})},strict(){return this.clone({...this._zod.def,catchall:ZL()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(z){return y0.extend(this,z)},safeExtend(z){return y0.safeExtend(this,z)},merge(z){return y0.merge(this,z)},pick(z){return y0.pick(this,z)},omit(z){return y0.omit(this,z)},partial(...z){return y0.partial(VL,this,z[0])},required(...z){return y0.required(LL,this,z[0])}})});jG=W0("ZodUnion",($,Y)=>{QG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>kV($,z,U,Q),$.options=Y.options});Kv=W0("ZodXor",($,Y)=>{jG.init($,Y),xE.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>kV($,z,U,Q),$.options=Y.options});Gv=W0("ZodDiscriminatedUnion",($,Y)=>{jG.init($,Y),fE.init($,Y)});Wv=W0("ZodIntersection",($,Y)=>{uE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>B_($,z,U,Q)});Hv=W0("ZodTuple",($,Y)=>{IV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>P_($,z,U,Q),$.rest=(z)=>$.clone({...$._zod.def,rest:z})});KQ=W0("ZodRecord",($,Y)=>{bE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>A_($,z,U,Q),$.keyType=Y.keyType,$.valueType=Y.valueType});Zv=W0("ZodMap",($,Y)=>{iE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>M_($,z,U,Q),$.keyType=Y.keyType,$.valueType=Y.valueType,$.min=(...z)=>$.check(b5(...z)),$.nonempty=(z)=>$.check(b5(1,z)),$.max=(...z)=>$.check(W3(...z)),$.size=(...z)=>$.check(jY(...z))});qv=W0("ZodSet",($,Y)=>{cE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>O_($,z,U,Q),$.min=(...z)=>$.check(b5(...z)),$.nonempty=(z)=>$.check(b5(1,z)),$.max=(...z)=>$.check(W3(...z)),$.size=(...z)=>$.check(jY(...z))});GQ=W0("ZodEnum",($,Y)=>{nE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>W_($,U,Q,J),$.enum=Y.entries,$.options=Object.values(Y.entries);let z=new Set(Object.keys(Y.entries));$.extract=(U,Q)=>{let J={};for(let I of U)if(z.has(I))J[I]=Y.entries[I];else throw Error(`Key ${I} not found in enum`);return new GQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})},$.exclude=(U,Q)=>{let J={...Y.entries};for(let I of U)if(z.has(I))delete J[I];else throw Error(`Key ${I} not found in enum`);return new GQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})}});Vv=W0("ZodLiteral",($,Y)=>{pE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>H_($,z,U,Q),$.values=new Set(Y.values),Object.defineProperty($,"value",{get(){if(Y.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return Y.values[0]}})});Lv=W0("ZodFile",($,Y)=>{dE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>q_($,z,U,Q),$.min=(z,U)=>$.check(b5(z,U)),$.max=(z,U)=>$.check(W3(z,U)),$.mime=(z,U)=>$.check(eU(Array.isArray(z)?z:[z],U))});Fv=W0("ZodTransform",($,Y)=>{mE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>w_($,z,U,Q),$._zod.parse=(z,U)=>{if(U.direction==="backward")throw new DY($.constructor.name);z.addIssue=(J)=>{if(typeof J==="string")z.issues.push(y0.issue(J,z.value,Y));else{let I=J;if(I.fatal)I.continue=!1;I.code??(I.code="custom"),I.input??(I.input=z.value),I.inst??(I.inst=$),z.issues.push(y0.issue(I))}};let Q=Y.transform(z.value,z);if(Q instanceof Promise)return Q.then((J)=>{return z.value=J,z.fallback=!0,z});return z.value=Q,z.fallback=!0,z}});VL=W0("ZodOptional",($,Y)=>{KV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>xV($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});wv=W0("ZodExactOptional",($,Y)=>{lE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>xV($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Ov=W0("ZodNullable",($,Y)=>{oE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>T_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Nv=W0("ZodDefault",($,Y)=>{rE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>E_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});Bv=W0("ZodPrefault",($,Y)=>{sE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>C_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});LL=W0("ZodNonOptional",($,Y)=>{aE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>j_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Tv=W0("ZodSuccess",($,Y)=>{tE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>V_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});jv=W0("ZodCatch",($,Y)=>{eE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>R_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});Cv=W0("ZodNaN",($,Y)=>{$C.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>X_($,z,U,Q)});EG=W0("ZodPipe",($,Y)=>{GV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>__($,z,U,Q),$.in=Y.in,$.out=Y.out});CG=W0("ZodCodec",($,Y)=>{EG.init($,Y),JG.init($,Y)});Rv=W0("ZodPreprocess",($,Y)=>{EG.init($,Y),YC.init($,Y)}),_v=W0("ZodReadonly",($,Y)=>{zC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>v_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});hv=W0("ZodTemplateLiteral",($,Y)=>{UC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>Z_($,z,U,Q)});Sv=W0("ZodLazy",($,Y)=>{IC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>S_($,z,U,Q),$.unwrap=()=>$._zod.def.getter()});gv=W0("ZodPromise",($,Y)=>{JC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>h_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});yv=W0("ZodFunction",($,Y)=>{QC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>F_($,z,U,Q)});RG=W0("ZodCustom",($,Y)=>{KC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>L_($,z,U,Q)});Fa=lR,wa=oR});function qx0($){a4({customError:$})}function Vx0(){return a4().customError}var uv,fv;var Da=o(()=>{U$();uv={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};(function($){})(fv||(fv={}))});function Fx0($,Y){let z=$.$schema;if(z==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(z==="http://json-schema.org/draft-07/schema#")return"draft-7";if(z==="http://json-schema.org/draft-04/schema#")return"draft-4";return Y??"draft-2020-12"}function wx0($,Y){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let z=$.slice(1).split("/").filter(Boolean);if(z.length===0)return Y.rootSchema;let U=Y.version==="draft-2020-12"?"$defs":"definitions";if(z[0]===U){let Q=z[1];if(!Q||!Y.defs[Q])throw Error(`Reference not found: ${$}`);return Y.defs[Q]}throw Error(`Reference not found: ${$}`)}function Ba($,Y){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return l0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let Q=$.$ref;if(Y.refs.has(Q))return Y.refs.get(Q);if(Y.processing.has(Q))return l0.lazy(()=>{if(!Y.refs.has(Q))throw Error(`Circular reference not resolved: ${Q}`);return Y.refs.get(Q)});Y.processing.add(Q);let J=wx0(Q,Y),I=I8(J,Y);return Y.refs.set(Q,I),Y.processing.delete(Q),I}if($.enum!==void 0){let Q=$.enum;if(Y.version==="openapi-3.0"&&$.nullable===!0&&Q.length===1&&Q[0]===null)return l0.null();if(Q.length===0)return l0.never();if(Q.length===1)return l0.literal(Q[0]);if(Q.every((I)=>typeof I==="string"))return l0.enum(Q);let J=Q.map((I)=>l0.literal(I));if(J.length<2)return J[0];return l0.union([J[0],J[1],...J.slice(2)])}if($.const!==void 0)return l0.literal($.const);let z=$.type;if(Array.isArray(z)){let Q=z.map((J)=>{let I={...$,type:J};return Ba(I,Y)});if(Q.length===0)return l0.never();if(Q.length===1)return Q[0];return l0.union(Q)}if(!z)return l0.any();let U;switch(z){case"string":{let Q=l0.string();if($.format){let J=$.format;if(J==="email")Q=Q.check(l0.email());else if(J==="uri"||J==="uri-reference")Q=Q.check(l0.url());else if(J==="uuid"||J==="guid")Q=Q.check(l0.uuid());else if(J==="date-time")Q=Q.check(l0.iso.datetime());else if(J==="date")Q=Q.check(l0.iso.date());else if(J==="time")Q=Q.check(l0.iso.time());else if(J==="duration")Q=Q.check(l0.iso.duration());else if(J==="ipv4")Q=Q.check(l0.ipv4());else if(J==="ipv6")Q=Q.check(l0.ipv6());else if(J==="mac")Q=Q.check(l0.mac());else if(J==="cidr")Q=Q.check(l0.cidrv4());else if(J==="cidr-v6")Q=Q.check(l0.cidrv6());else if(J==="base64")Q=Q.check(l0.base64());else if(J==="base64url")Q=Q.check(l0.base64url());else if(J==="e164")Q=Q.check(l0.e164());else if(J==="jwt")Q=Q.check(l0.jwt());else if(J==="emoji")Q=Q.check(l0.emoji());else if(J==="nanoid")Q=Q.check(l0.nanoid());else if(J==="cuid")Q=Q.check(l0.cuid());else if(J==="cuid2")Q=Q.check(l0.cuid2());else if(J==="ulid")Q=Q.check(l0.ulid());else if(J==="xid")Q=Q.check(l0.xid());else if(J==="ksuid")Q=Q.check(l0.ksuid())}if(typeof $.minLength==="number")Q=Q.min($.minLength);if(typeof $.maxLength==="number")Q=Q.max($.maxLength);if($.pattern)Q=Q.regex(new RegExp($.pattern));U=Q;break}case"number":case"integer":{let Q=z==="integer"?l0.number().int():l0.number();if(typeof $.minimum==="number")Q=Q.min($.minimum);if(typeof $.maximum==="number")Q=Q.max($.maximum);if(typeof $.exclusiveMinimum==="number")Q=Q.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")Q=Q.gt($.minimum);if(typeof $.exclusiveMaximum==="number")Q=Q.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")Q=Q.lt($.maximum);if(typeof $.multipleOf==="number")Q=Q.multipleOf($.multipleOf);U=Q;break}case"boolean":{U=l0.boolean();break}case"null":{U=l0.null();break}case"object":{let Q={},J=$.properties||{},I=new Set($.required||[]);for(let[G,W]of Object.entries(J)){let H=I8(W,Y);Q[G]=I.has(G)?H:H.optional()}if($.propertyNames){let G=I8($.propertyNames,Y),W=$.additionalProperties&&typeof $.additionalProperties==="object"?I8($.additionalProperties,Y):l0.any();if(Object.keys(Q).length===0){U=l0.record(G,W);break}let H=l0.object(Q).passthrough(),X=l0.looseRecord(G,W);U=l0.intersection(H,X);break}if($.patternProperties){let G=$.patternProperties,W=Object.keys(G),H=[];for(let Z of W){let q=I8(G[Z],Y),V=l0.string().regex(new RegExp(Z));H.push(l0.looseRecord(V,q))}let X=[];if(Object.keys(Q).length>0)X.push(l0.object(Q).passthrough());if(X.push(...H),X.length===0)U=l0.object({}).passthrough();else if(X.length===1)U=X[0];else{let Z=l0.intersection(X[0],X[1]);for(let q=2;qI8(G,Y)),K=J&&typeof J==="object"&&!Array.isArray(J)?I8(J,Y):void 0;if(K)U=l0.tuple(I).rest(K);else U=l0.tuple(I);if(typeof $.minItems==="number")U=U.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")U=U.check(l0.maxLength($.maxItems))}else if(Array.isArray(J)){let I=J.map((G)=>I8(G,Y)),K=$.additionalItems&&typeof $.additionalItems==="object"?I8($.additionalItems,Y):void 0;if(K)U=l0.tuple(I).rest(K);else U=l0.tuple(I);if(typeof $.minItems==="number")U=U.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")U=U.check(l0.maxLength($.maxItems))}else if(J!==void 0){let I=I8(J,Y),K=l0.array(I);if(typeof $.minItems==="number")K=K.min($.minItems);if(typeof $.maxItems==="number")K=K.max($.maxItems);U=K}else U=l0.array(l0.any());break}default:throw Error(`Unsupported type: ${z}`)}return U}function I8($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let z=Ba($,Y),U=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let K=$.anyOf.map((W)=>I8(W,Y)),G=l0.union(K);z=U?l0.intersection(z,G):G}if($.oneOf&&Array.isArray($.oneOf)){let K=$.oneOf.map((W)=>I8(W,Y)),G=l0.xor(K);z=U?l0.intersection(z,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)z=U?z:l0.any();else{let K=U?z:I8($.allOf[0],Y),G=U?0:1;for(let W=G;W<$.allOf.length;W++)K=l0.intersection(K,I8($.allOf[W],Y));z=K}if($.nullable===!0&&Y.version==="openapi-3.0")z=l0.nullable(z);if($.readOnly===!0)z=l0.readonly(z);if($.default!==void 0)z=z.default($.default);let Q={},J=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let K of J)if(K in $)Q[K]=$[K];let I=["contentEncoding","contentMediaType","contentSchema"];for(let K of I)if(K in $)Q[K]=$[K];for(let K of Object.keys($))if(!Lx0.has(K))Q[K]=$[K];if(Object.keys(Q).length>0)Y.registry.add(z,Q);if($.description)z=z.describe($.description);return z}function Pa($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let z;try{z=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let U=Fx0(z,Y?.defaultTarget),Q=z.$defs||z.definitions||{},J={version:U,defs:Q,refs:new Map,processing:new Set,rootSchema:z,registry:Y?.registry??c6};return I8(z,J)}var l0,Lx0;var Aa=o(()=>{XG();uV();FG();MG();l0={...wG,...fV,iso:Q$},Lx0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var _G={};x8(_G,{string:()=>Mx0,number:()=>Ox0,date:()=>Bx0,boolean:()=>Nx0,bigint:()=>Dx0});function Mx0($){return ZR(WQ,$)}function Ox0($){return NR(ZQ,$)}function Nx0($){return ER(qQ,$)}function Dx0($){return RR(VQ,$)}function Bx0($){return bR(AG,$)}var Ta=o(()=>{U$();MG()});var L={};x8(L,{xor:()=>es,xid:()=>Ts,void:()=>rs,uuidv7:()=>Ms,uuidv6:()=>ws,uuidv4:()=>Fs,uuid:()=>Ls,util:()=>y0,url:()=>HQ,uppercase:()=>rU,unknown:()=>a0,union:()=>o0,undefined:()=>os,ulid:()=>As,uint64:()=>ms,uint32:()=>ns,tuple:()=>Xv,trim:()=>YQ,treeifyError:()=>aT,transform:()=>qL,toUpperCase:()=>UQ,toLowerCase:()=>zQ,toJSONSchema:()=>RY,templateLiteral:()=>Xa,symbol:()=>ls,superRefine:()=>xv,success:()=>Ka,stringbool:()=>Oa,stringFormat:()=>ks,string:()=>R,strictObject:()=>ts,startsWith:()=>aU,slugify:()=>QQ,size:()=>jY,setErrorMap:()=>qx0,set:()=>Ua,safeParseAsync:()=>c_,safeParse:()=>OG,safeEncodeAsync:()=>r_,safeEncode:()=>l_,safeDecodeAsync:()=>s_,safeDecode:()=>o_,registry:()=>WV,regexes:()=>Y$,regex:()=>lU,refine:()=>kv,record:()=>p0,readonly:()=>vv,property:()=>gV,promise:()=>Za,prettifyError:()=>tT,preprocess:()=>n9,prefault:()=>Pv,positive:()=>_V,pipe:()=>dV,partialRecord:()=>$a,parseAsync:()=>i_,parse:()=>b_,overwrite:()=>Y5,optional:()=>t0,object:()=>z0,number:()=>_0,nullish:()=>Ia,nullable:()=>DG,null:()=>c5,normalize:()=>$Q,nonpositive:()=>hV,nonoptional:()=>Av,nonnegative:()=>SV,never:()=>ZL,negative:()=>vV,nativeEnum:()=>Qa,nanoid:()=>Ds,nan:()=>Ga,multipleOf:()=>G3,minSize:()=>b5,minLength:()=>i9,mime:()=>eU,meta:()=>wa,maxSize:()=>W3,maxLength:()=>EY,map:()=>za,mac:()=>Cs,lte:()=>z$,lt:()=>f5,lowercase:()=>oU,looseRecord:()=>Ya,looseObject:()=>Q1,locales:()=>HG,literal:()=>V0,length:()=>CY,lazy:()=>V3,ksuid:()=>js,keyof:()=>as,jwt:()=>ys,json:()=>Na,iso:()=>Q$,ipv6:()=>Rs,ipv4:()=>Es,invertCodec:()=>Ha,intersection:()=>z5,int64:()=>ds,int32:()=>cs,int:()=>pV,instanceof:()=>Ma,includes:()=>sU,httpUrl:()=>Os,hostname:()=>xs,hex:()=>fs,hash:()=>us,guid:()=>Vs,gte:()=>P8,gt:()=>u5,globalRegistry:()=>c6,getErrorMap:()=>Vx0,function:()=>qa,fromJSONSchema:()=>Pa,formatError:()=>eK,float64:()=>is,float32:()=>bs,flattenError:()=>tK,file:()=>Ja,exactOptional:()=>Mv,enum:()=>H1,endsWith:()=>tU,encodeAsync:()=>d_,encode:()=>n_,emoji:()=>Ns,email:()=>oV,e164:()=>gs,discriminatedUnion:()=>q3,describe:()=>Fa,decodeAsync:()=>m_,decode:()=>p_,date:()=>ss,custom:()=>La,cuid2:()=>Ps,cuid:()=>Bs,core:()=>c9,config:()=>a4,coerce:()=>_G,codec:()=>Wa,clone:()=>D8,cidrv6:()=>vs,cidrv4:()=>_s,check:()=>Va,catch:()=>Ev,boolean:()=>m0,bigint:()=>ps,base64url:()=>Ss,base64:()=>hs,array:()=>q0,any:()=>XL,_function:()=>qa,_default:()=>Dv,_ZodString:()=>mV,ZodXor:()=>Kv,ZodXID:()=>$L,ZodVoid:()=>Jv,ZodUnknown:()=>Uv,ZodUnion:()=>jG,ZodUndefined:()=>$v,ZodUUID:()=>i5,ZodURL:()=>PG,ZodULID:()=>eV,ZodType:()=>w1,ZodTuple:()=>Hv,ZodTransform:()=>Fv,ZodTemplateLiteral:()=>hv,ZodSymbol:()=>e_,ZodSuccess:()=>Tv,ZodStringFormat:()=>Z4,ZodString:()=>WQ,ZodSet:()=>qv,ZodRecord:()=>KQ,ZodRealError:()=>b8,ZodReadonly:()=>_v,ZodPromise:()=>gv,ZodPreprocess:()=>Rv,ZodPrefault:()=>Bv,ZodPipe:()=>EG,ZodOptional:()=>VL,ZodObject:()=>TG,ZodNumberFormat:()=>_Y,ZodNumber:()=>ZQ,ZodNullable:()=>Ov,ZodNull:()=>Yv,ZodNonOptional:()=>LL,ZodNever:()=>Qv,ZodNanoID:()=>sV,ZodNaN:()=>Cv,ZodMap:()=>Zv,ZodMAC:()=>t_,ZodLiteral:()=>Vv,ZodLazy:()=>Sv,ZodKSUID:()=>YL,ZodJWT:()=>WL,ZodIssueCode:()=>uv,ZodIntersection:()=>Wv,ZodISOTime:()=>cV,ZodISODuration:()=>nV,ZodISODateTime:()=>bV,ZodISODate:()=>iV,ZodIPv6:()=>UL,ZodIPv4:()=>zL,ZodGUID:()=>NG,ZodFunction:()=>yv,ZodFirstPartyTypeKind:()=>fv,ZodFile:()=>Lv,ZodExactOptional:()=>wv,ZodError:()=>Xx0,ZodEnum:()=>GQ,ZodEmoji:()=>rV,ZodEmail:()=>lV,ZodE164:()=>GL,ZodDiscriminatedUnion:()=>Gv,ZodDefault:()=>Nv,ZodDate:()=>AG,ZodCustomStringFormat:()=>XQ,ZodCustom:()=>RG,ZodCodec:()=>CG,ZodCatch:()=>jv,ZodCUID2:()=>tV,ZodCUID:()=>aV,ZodCIDRv6:()=>JL,ZodCIDRv4:()=>QL,ZodBoolean:()=>qQ,ZodBigIntFormat:()=>HL,ZodBigInt:()=>VQ,ZodBase64URL:()=>KL,ZodBase64:()=>IL,ZodArray:()=>Iv,ZodAny:()=>zv,TimePrecision:()=>VR,NEVER:()=>pK,$output:()=>GR,$input:()=>WR,$brand:()=>bT});var FL=o(()=>{U$();U$();MC();U$();LG();Aa();KR();FG();FG();Ta();MG();uV();u_();a_();Da();a4(IG())});var ja=o(()=>{FL()});var bv=o(()=>{ja()});var hY="2025-11-25",wL,ML="io.modelcontextprotocol/related-task",d9="io.modelcontextprotocol/protocolVersion",LQ="io.modelcontextprotocol/clientInfo",n5="io.modelcontextprotocol/serverInfo",m9="io.modelcontextprotocol/clientCapabilities",SY="io.modelcontextprotocol/subscriptionId",F3="io.modelcontextprotocol/logLevel",gY="2.0",L3,t4,cv,vG,hG,OL,NL,SG,S6,yY,e4,K8,G8,gG,$6,w3,yG,kG,FQ,wQ,xG,nv,fG,DL,uG,BL,M3,p9,MQ,Px0,Ax0,PL,AL,TL,jL,EL,bG,CL,RL,_L,vL,iG,hL,SL,cG,gL,O3,N3,nG,pG,pv,dG,D3,l9,mG,yL,kL,xL,fL,uL,OQ,bL,iL,cL,nL,pL,dL,mL,lL,lG,oL,rL,sL,aL,tL,eL,$F,YF,zF,UF,QF,JF,IF,KF,NQ,DQ,BQ,GF,WF,HF,PQ,XF,ZF,qF,VF,LF,oG,FF,wF,rG,dv,MF,OF,NF,mv,B3,DF,BF,PF,AF,TF,jF,EF,CF,RF,vY,_F,vF,hF,SF,gF,sG,AQ,TQ,aG,tG,eG,yF,$W,YW,kF,xF,zW,jQ,fF,uF,bF,iF,cF,nF,pF,dF,mF,lF,oF,rF,sF,aF,tF,lv,eF,P3,ov,$w,rv,sv,av,tv,ev,$h,Yh,zh,Uh,Qh,Jh,Ih,Kh,Gh,Wh,h6,Hh,Yw,zw,Xh,Zh,qh,Vh,iv,Uw,Qw,Lh,Fh,wh;var Ca=o(()=>{bv();wL=[hY,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],L3=V3(()=>o0([R(),_0(),m0(),c5(),p0(R(),L3),q0(L3)])),t4=p0(R(),L3),cv=q0(L3),vG=o0([R(),_0().int()]),hG=R(),OL=z0({ttl:_0().optional()}),NL=z0({taskId:R()}),SG=Q1({progressToken:vG.optional(),[ML]:NL.optional()}),S6=z0({_meta:SG.optional()}),yY=S6.extend({task:OL.optional()}),e4=z0({method:R(),params:S6.loose().optional()}),K8=z0({_meta:SG.optional()}),G8=z0({method:R(),params:K8.loose().optional()}),gG=Q1({get[n5](){return MQ.optional().catch(void 0)}}),$6=Q1({_meta:gG.optional()}),w3=o0([R(),_0().int()]),yG=z0({jsonrpc:V0(gY),id:w3,...e4.shape}).strict(),kG=z0({jsonrpc:V0(gY),...G8.shape}).strict(),FQ=z0({jsonrpc:V0(gY),id:w3,result:$6}).strict(),wQ=z0({jsonrpc:V0(gY),id:w3.optional(),error:z0({code:_0().int(),message:R(),data:a0().optional()})}).strict(),xG=o0([yG,kG,FQ,wQ]),nv=o0([FQ,wQ]),fG=$6.strict(),DL=K8.extend({requestId:w3.optional(),reason:R().optional()}),uG=G8.extend({method:V0("notifications/cancelled"),params:DL}),BL=z0({src:R(),mimeType:R().optional(),sizes:q0(R()).optional(),theme:H1(["light","dark"]).optional()}),M3=z0({icons:q0(BL).optional()}),p9=z0({name:R(),title:R().optional()}),MQ=p9.extend({...p9.shape,...M3.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),Px0=z5(z0({applyDefaults:m0().optional()}),t4),Ax0=n9(($)=>{if($&&typeof $==="object"&&!Array.isArray($)&&Object.keys($).length===0)return{form:{}};return $},z5(z0({form:Px0.optional(),url:t4.optional()}),t4.optional())),PL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({sampling:Q1({createMessage:t4.optional()}).optional(),elicitation:Q1({create:t4.optional()}).optional()}).optional()}),AL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({tools:Q1({call:t4.optional()}).optional()}).optional()}),TL=z0({experimental:p0(R(),t4).optional(),sampling:z0({context:t4.optional(),tools:t4.optional()}).optional(),elicitation:Ax0.optional(),roots:z0({listChanged:m0().optional()}).optional(),tasks:PL.optional(),extensions:p0(R(),t4).optional()}),jL=S6.extend({protocolVersion:R(),capabilities:TL,clientInfo:MQ}),EL=e4.extend({method:V0("initialize"),params:jL}),bG=z0({experimental:p0(R(),t4).optional(),logging:t4.optional(),completions:t4.optional(),prompts:z0({listChanged:m0().optional()}).optional(),resources:z0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:z0({listChanged:m0().optional()}).optional(),tasks:AL.optional(),extensions:p0(R(),t4).optional()}),CL=$6.extend({protocolVersion:R(),capabilities:bG,serverInfo:MQ,instructions:R().optional()}),RL=G8.extend({method:V0("notifications/initialized"),params:K8.optional()}),_L=e4.extend({method:V0("server/discover"),params:S6.optional()}),vL=$6.extend({supportedVersions:q0(R()),capabilities:bG,instructions:R().optional()}),iG=e4.extend({method:V0("ping"),params:S6.optional()}),hL=z0({progress:_0(),total:t0(_0()),message:t0(R())}),SL=z0({...K8.shape,...hL.shape,progressToken:vG}),cG=G8.extend({method:V0("notifications/progress"),params:SL}),gL=S6.extend({cursor:hG.optional()}),O3=e4.extend({params:gL.optional()}),N3=$6.extend({nextCursor:hG.optional()}),nG=z0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),pG=nG.extend({text:R()}),pv=R().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),dG=nG.extend({blob:pv}),D3=H1(["user","assistant"]),l9=z0({audience:q0(D3).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),mG=z0({...p9.shape,...M3.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:l9.optional(),_meta:t0(Q1({}))}),yL=z0({...p9.shape,...M3.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:l9.optional(),_meta:t0(Q1({}))}),kL=O3.extend({method:V0("resources/list")}),xL=N3.extend({resources:q0(mG)}),fL=O3.extend({method:V0("resources/templates/list")}),uL=N3.extend({resourceTemplates:q0(yL)}),OQ=S6.extend({uri:R()}),bL=OQ,iL=e4.extend({method:V0("resources/read"),params:bL}),cL=$6.extend({contents:q0(o0([pG,dG]))}),nL=G8.extend({method:V0("notifications/resources/list_changed"),params:K8.optional()}),pL=OQ,dL=e4.extend({method:V0("resources/subscribe"),params:pL}),mL=OQ,lL=e4.extend({method:V0("resources/unsubscribe"),params:mL}),lG=z0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:q0(R()).optional()}),oL=S6.extend({notifications:lG}),rL=e4.extend({method:V0("subscriptions/listen"),params:oL}),sL=K8.extend({notifications:lG}),aL=G8.extend({method:V0("notifications/subscriptions/acknowledged"),params:sL}),tL=gG.extend({[SY]:w3}),eL=$6.extend({_meta:tL}),$F=K8.extend({uri:R()}),YF=G8.extend({method:V0("notifications/resources/updated"),params:$F}),zF=z0({name:R(),description:t0(R()),required:t0(m0())}),UF=z0({...p9.shape,...M3.shape,description:t0(R()),arguments:t0(q0(zF)),_meta:t0(Q1({}))}),QF=O3.extend({method:V0("prompts/list")}),JF=N3.extend({prompts:q0(UF)}),IF=S6.extend({name:R(),arguments:p0(R(),R()).optional()}),KF=e4.extend({method:V0("prompts/get"),params:IF}),NQ=z0({type:V0("text"),text:R(),annotations:l9.optional(),_meta:p0(R(),a0()).optional()}),DQ=z0({type:V0("image"),data:pv,mimeType:R(),annotations:l9.optional(),_meta:p0(R(),a0()).optional()}),BQ=z0({type:V0("audio"),data:pv,mimeType:R(),annotations:l9.optional(),_meta:p0(R(),a0()).optional()}),GF=z0({type:V0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),WF=z0({type:V0("resource"),resource:o0([pG,dG]),annotations:l9.optional(),_meta:p0(R(),a0()).optional()}),HF=mG.extend({type:V0("resource_link")}),PQ=o0([NQ,DQ,BQ,HF,WF]),XF=z0({role:D3,content:PQ}),ZF=$6.extend({description:R().optional(),messages:q0(XF)}),qF=G8.extend({method:V0("notifications/prompts/list_changed"),params:K8.optional()}),VF=z0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),LF=z0({taskSupport:H1(["required","optional","forbidden"]).optional()}),oG=z0({...p9.shape,...M3.shape,description:R().optional(),inputSchema:z0({type:V0("object"),properties:p0(R(),L3).optional(),required:q0(R()).optional()}).catchall(a0()),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:VF.optional(),execution:LF.optional(),_meta:p0(R(),a0()).optional()}),FF=O3.extend({method:V0("tools/list")}),wF=N3.extend({tools:q0(oG)}),rG=$6.extend({content:q0(PQ).default([]),structuredContent:a0().optional(),isError:m0().optional()}),dv=rG.or($6.extend({toolResult:a0()})),MF=yY.extend({name:R(),arguments:p0(R(),a0()).optional()}),OF=e4.extend({method:V0("tools/call"),params:MF}),NF=G8.extend({method:V0("notifications/tools/list_changed"),params:K8.optional()}),mv=z0({autoRefresh:m0().default(!0),debounceMs:_0().int().nonnegative().default(300)}),B3=H1(["debug","info","notice","warning","error","critical","alert","emergency"]),DF=S6.extend({level:B3}),BF=e4.extend({method:V0("logging/setLevel"),params:DF}),PF=K8.extend({level:B3,logger:R().optional(),data:a0()}),AF=G8.extend({method:V0("notifications/message"),params:PF}),TF=z0({name:R().optional()}),jF=z0({hints:q0(TF).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),EF=z0({mode:H1(["auto","required","none"]).optional()}),CF=z0({type:V0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:q0(PQ),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),RF=q3("type",[NQ,DQ,BQ]),vY=q3("type",[NQ,DQ,BQ,GF,CF]),_F=z0({role:D3,content:o0([vY,q0(vY)]),_meta:p0(R(),a0()).optional()}),vF=yY.extend({messages:q0(_F),modelPreferences:jF.optional(),systemPrompt:R().optional(),includeContext:H1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:q0(R()).optional(),metadata:t4.optional(),tools:q0(oG).optional(),toolChoice:EF.optional()}),hF=e4.extend({method:V0("sampling/createMessage"),params:vF}),SF=$6.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens"]).or(R())),role:D3,content:RF}),gF=$6.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:D3,content:o0([vY,q0(vY)])}),sG=z0({type:V0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),AQ=z0({type:V0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:H1(["email","uri","date","date-time"]).optional(),default:R().optional()}),TQ=z0({type:H1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),aG=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),default:R().optional()}),tG=z0({type:V0("string"),title:R().optional(),description:R().optional(),oneOf:q0(z0({const:R(),title:R()})),default:R().optional()}),eG=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),enumNames:q0(R()).optional(),default:R().optional()}),yF=o0([aG,tG]),$W=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({type:V0("string"),enum:q0(R())}),default:q0(R()).optional()}),YW=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({anyOf:q0(z0({const:R(),title:R()}))}),default:q0(R()).optional()}),kF=o0([$W,YW]),xF=o0([eG,yF,kF]),zW=o0([xF,sG,AQ,TQ]),jQ=yY.extend({mode:V0("form").optional(),message:R(),requestedSchema:z0({type:V0("object"),properties:p0(R(),zW),required:q0(R()).optional()}).catchall(a0())}),fF=yY.extend({mode:V0("url"),message:R(),elicitationId:R(),url:R().url()}),uF=o0([jQ,fF]),bF=e4.extend({method:V0("elicitation/create"),params:uF}),iF=K8.extend({elicitationId:R()}),cF=G8.extend({method:V0("notifications/elicitation/complete"),params:iF}),nF=$6.extend({action:H1(["accept","decline","cancel"]),content:n9(($)=>$===null?void 0:$,p0(R(),o0([R(),_0(),m0(),q0(R())])).optional())}),pF=z0({type:V0("ref/resource"),uri:R()}),dF=z0({type:V0("ref/prompt"),name:R()}),mF=S6.extend({ref:o0([dF,pF]),argument:z0({name:R(),value:R()}),context:z0({arguments:p0(R(),R()).optional()}).optional()}),lF=e4.extend({method:V0("completion/complete"),params:mF}),oF=$6.extend({completion:Q1({values:q0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),rF=z0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),sF=e4.extend({method:V0("roots/list"),params:S6.optional()}),aF=$6.extend({roots:q0(rF)}),tF=G8.extend({method:V0("notifications/roots/list_changed"),params:K8.optional()}),lv=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),eF=H1(["working","input_required","completed","failed","cancelled"]),P3=z0({taskId:R(),status:eF,ttl:o0([_0(),c5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),ov=$6.extend({task:P3}),$w=K8.merge(P3),rv=G8.extend({method:V0("notifications/tasks/status"),params:$w}),sv=e4.extend({method:V0("tasks/get"),params:S6.extend({taskId:R()})}),av=$6.merge(P3),tv=e4.extend({method:V0("tasks/result"),params:S6.extend({taskId:R()})}),ev=$6.loose(),$h=O3.extend({method:V0("tasks/list")}),Yh=N3.extend({tasks:q0(P3)}),zh=e4.extend({method:V0("tasks/cancel"),params:S6.extend({taskId:R()})}),Uh=$6.merge(P3),Qh=o0([iG,EL,_L,lF,BF,KF,QF,kL,fL,iL,dL,lL,rL,OF,FF]),Jh=o0([uG,cG,RL,tF]),Ih=o0([fG,SF,gF,nF,aF]),Kh=o0([iG,hF,bF,sF]),Gh=o0([uG,cG,AF,YF,nL,NF,qF,aL,cF]),Wh=o0([fG,CL,vL,oF,ZF,JF,xL,uL,cL,rG,wF,eL]),h6=HQ().superRefine(($,Y)=>{if(!URL.canParse($))return Y.addIssue({code:uv.custom,message:"URL must be parseable",fatal:!0}),pK}).refine(($)=>{let Y=new URL($);return Y.protocol!=="javascript:"&&Y.protocol!=="data:"&&Y.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Hh=Q1({resource:R().url(),authorization_servers:q0(h6).optional(),jwks_uri:R().url().optional(),scopes_supported:q0(R()).optional(),bearer_methods_supported:q0(R()).optional(),resource_signing_alg_values_supported:q0(R()).optional(),resource_name:R().optional(),resource_documentation:R().optional(),resource_policy_uri:R().url().optional(),resource_tos_uri:R().url().optional(),tls_client_certificate_bound_access_tokens:m0().optional(),authorization_details_types_supported:q0(R()).optional(),dpop_signing_alg_values_supported:q0(R()).optional(),dpop_bound_access_tokens_required:m0().optional()}),Yw=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,registration_endpoint:h6.optional(),scopes_supported:q0(R()).optional(),response_types_supported:q0(R()),response_modes_supported:q0(R()).optional(),grant_types_supported:q0(R()).optional(),token_endpoint_auth_methods_supported:q0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),service_documentation:h6.optional(),revocation_endpoint:h6.optional(),revocation_endpoint_auth_methods_supported:q0(R()).optional(),revocation_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),introspection_endpoint:R().optional(),introspection_endpoint_auth_methods_supported:q0(R()).optional(),introspection_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),code_challenge_methods_supported:q0(R()).optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),zw=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,userinfo_endpoint:h6.optional(),jwks_uri:h6,registration_endpoint:h6.optional(),scopes_supported:q0(R()).optional(),response_types_supported:q0(R()),response_modes_supported:q0(R()).optional(),grant_types_supported:q0(R()).optional(),acr_values_supported:q0(R()).optional(),subject_types_supported:q0(R()),id_token_signing_alg_values_supported:q0(R()),id_token_encryption_alg_values_supported:q0(R()).optional(),id_token_encryption_enc_values_supported:q0(R()).optional(),userinfo_signing_alg_values_supported:q0(R()).optional(),userinfo_encryption_alg_values_supported:q0(R()).optional(),userinfo_encryption_enc_values_supported:q0(R()).optional(),request_object_signing_alg_values_supported:q0(R()).optional(),request_object_encryption_alg_values_supported:q0(R()).optional(),request_object_encryption_enc_values_supported:q0(R()).optional(),token_endpoint_auth_methods_supported:q0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),display_values_supported:q0(R()).optional(),claim_types_supported:q0(R()).optional(),claims_supported:q0(R()).optional(),service_documentation:R().optional(),claims_locales_supported:q0(R()).optional(),ui_locales_supported:q0(R()).optional(),claims_parameter_supported:m0().optional(),request_parameter_supported:m0().optional(),request_uri_parameter_supported:m0().optional(),require_request_uri_registration:m0().optional(),op_policy_uri:h6.optional(),op_tos_uri:h6.optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),Xh=z0({...zw.shape,...Yw.pick({code_challenge_methods_supported:!0}).shape}),Zh=z0({access_token:R(),id_token:R().optional(),token_type:R(),expires_in:_G.number().optional(),scope:R().optional(),refresh_token:R().optional()}).strip(),qh=z0({issued_token_type:V0("urn:ietf:params:oauth:token-type:id-jag"),access_token:R(),token_type:R().optional(),expires_in:_0().optional(),scope:R().optional()}).strip(),Vh=z0({error:R(),error_description:R().optional(),error_uri:R().optional()}),iv=h6.optional().or(V0("").transform(()=>{return})),Uw=z0({redirect_uris:q0(h6),token_endpoint_auth_method:R().optional(),grant_types:q0(R()).optional(),response_types:q0(R()).optional(),application_type:R().optional(),client_name:R().optional(),client_uri:h6.optional(),logo_uri:iv,scope:R().optional(),contacts:q0(R()).optional(),tos_uri:iv,policy_uri:R().optional(),jwks_uri:h6.optional(),jwks:XL().optional(),software_id:R().optional(),software_version:R().optional(),software_statement:R().optional()}).strip(),Qw=z0({client_id:R(),client_secret:R().optional(),client_id_issued_at:_0().optional(),client_secret_expires_at:_0().optional()}).strip(),Lh=Uw.merge(Qw),Fh=z0({error:R(),error_description:R().optional()}).strip(),wh=z0({token:R(),token_type_hint:R().optional()}).strip()});var fa=o(()=>{Ca()});function Th($,Y){let z=new Set,U=Y;while(typeof U==="function"){let Q=U.mcpBrand;if(Object.prototype.hasOwnProperty.call(U,"mcpBrand")&&typeof Q==="string")z.add(Q);U=Object.getPrototypeOf(U)}if(z.size===0)return;Object.defineProperty($,Dh,{value:z,enumerable:!1,configurable:!0})}function CQ($,Y){try{if(typeof Y==="object"&&Y!==null&&Object.prototype.hasOwnProperty.call($,"mcpBrand")&&typeof $.mcpBrand==="string"&&Object.prototype.hasOwnProperty.call(Y,Dh)){let z=Y[Dh];if(z&&typeof z.has==="function"&&z.has($.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call($,Y)}function ua($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Ex0($,Y,z){return $==="elicitation"&&Y==="form"&&z.form===void 0&&z.url===void 0}function ta($){switch($.method){case"elicitation/create":if($.params?.mode==="url")return{elicitation:{url:{}}};return{elicitation:{form:{}}};case"sampling/createMessage":{let Y=$.params;if(Y!==void 0&&(Y.tools!==void 0||Y.toolChoice!==void 0))return{sampling:{tools:{}}};return{sampling:{}}}case"roots/list":return{roots:{}};default:return}}function Zw($,Y){let z={};for(let[U,Q]of Object.entries($)){if(Q===void 0)continue;let J=Y===void 0?void 0:Y[U];if(J===void 0){z[U]=Q;continue}if(ua(Q)&&ua(J)){let I={};for(let[K,G]of Object.entries(Q))if(G!==void 0&&J[K]===void 0&&!Ex0(U,K,J))I[K]=G;if(Object.keys(I).length>0)z[U]=I}}return Object.keys(z).length>0?z:void 0}function _Q($){return $>=ea}function $t($){return $.filter((Y)=>!_Q(Y))}function jh($){return $.filter((Y)=>_Q(Y))}function Yt($){let Y=$.structuredContent;if(Y===void 0)return $;if(!(typeof Y!=="object"||Y===null||Array.isArray(Y)))return $;if($.content?.some((z)=>z.type==="text")??!1)return $;return{...$,content:[...$.content??[],{type:"text",text:JSON.stringify(Y)}]}}function Eh($){if($===null||typeof $!=="object"||Array.isArray($)||$.content!==void 0||zt.some((Y)=>(Y in $)))return $;return{...$,content:[]}}function Cx0(){let $=V3(()=>o0([R(),_0(),m0(),c5(),p0(R(),$),q0($)])),Y=p0(R(),$),z=o0([R(),_0().int()]),U=R(),Q=z0({ttl:_0().optional()}),J=z0({taskId:R()}),I=Q1({progressToken:z.optional(),"io.modelcontextprotocol/related-task":J.optional()}),K=z0({_meta:I.optional()}),G=K.extend({task:Q.optional()}),W=z0({method:R(),params:K.loose().optional()}),H=z0({_meta:I.optional()}),X=z0({method:R(),params:H.loose().optional()}),Z=Q1({_meta:I.optional()}),q=o0([R(),_0().int()]),V=Z.strict(),F=H.extend({requestId:q.optional(),reason:R().optional()}),M=X.extend({method:V0("notifications/cancelled"),params:F}),w=z0({src:R(),mimeType:R().optional(),sizes:q0(R()).optional(),theme:H1(["light","dark"]).optional()}),O=z0({icons:q0(w).optional()}),D=z0({name:R(),title:R().optional()}),N=D.extend({...D.shape,...O.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),A=z5(z0({applyDefaults:m0().optional()}),Y),T=n9((N6)=>{if(N6&&typeof N6==="object"&&!Array.isArray(N6)&&Object.keys(N6).length===0)return{form:{}};return N6},z5(z0({form:A.optional(),url:Y.optional()}),Y.optional())),B=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),j=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),C=z0({experimental:p0(R(),Y).optional(),sampling:z0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:T.optional(),roots:z0({listChanged:m0().optional()}).optional(),tasks:B.optional(),extensions:p0(R(),Y).optional()}),b=K.extend({protocolVersion:R(),capabilities:C,clientInfo:N}),k=W.extend({method:V0("initialize"),params:b}),h=z0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:z0({listChanged:m0().optional()}).optional(),resources:z0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:z0({listChanged:m0().optional()}).optional(),tasks:j.optional(),extensions:p0(R(),Y).optional()}),i=Z.extend({protocolVersion:R(),capabilities:h,serverInfo:N,instructions:R().optional()}),c=X.extend({method:V0("notifications/initialized"),params:H.optional()}),U0=W.extend({method:V0("ping"),params:K.optional()}),x=z0({progress:_0(),total:t0(_0()),message:t0(R())}),d=z0({...H.shape,...x.shape,progressToken:z}),t=X.extend({method:V0("notifications/progress"),params:d}),$0=K.extend({cursor:U.optional()}),g=W.extend({params:$0.optional()}),p=Z.extend({nextCursor:U.optional()}),e=z0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),y=e.extend({text:R()}),s=R().refine((N6)=>{try{return atob(N6),!0}catch{return!1}},{message:"Invalid Base64 string"}),Y0=e.extend({blob:s}),M0=H1(["user","assistant"]),E0=z0({audience:q0(M0).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),G0=z0({...D.shape,...O.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:E0.optional(),_meta:t0(Q1({}))}),T0=z0({...D.shape,...O.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:E0.optional(),_meta:t0(Q1({}))}),b0=g.extend({method:V0("resources/list")}),Y1=p.extend({resources:q0(G0)}),a=g.extend({method:V0("resources/templates/list")}),H0=p.extend({resourceTemplates:q0(T0)}),L0=K.extend({uri:R()}),f0=L0,u0=W.extend({method:V0("resources/read"),params:f0}),i0=Z.extend({contents:q0(o0([y,Y0]))}),D1=X.extend({method:V0("notifications/resources/list_changed"),params:H.optional()}),k1=L0,u1=W.extend({method:V0("resources/subscribe"),params:k1}),b1=L0,B0=W.extend({method:V0("resources/unsubscribe"),params:b1}),Q0=H.extend({uri:R()}),P=X.extend({method:V0("notifications/resources/updated"),params:Q0}),v=z0({name:R(),description:t0(R()),required:t0(m0())}),u=z0({...D.shape,...O.shape,description:t0(R()),arguments:t0(q0(v)),_meta:t0(Q1({}))}),r=g.extend({method:V0("prompts/list")}),X0=p.extend({prompts:q0(u)}),J0=K.extend({name:R(),arguments:p0(R(),R()).optional()}),Z0=W.extend({method:V0("prompts/get"),params:J0}),O0=z0({type:V0("text"),text:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),P0=z0({type:V0("image"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),r0=z0({type:V0("audio"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),I1=z0({type:V0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),U1=z0({type:V0("resource"),resource:o0([y,Y0]),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),N1=G0.extend({type:V0("resource_link")}),S1=o0([O0,P0,r0,N1,U1]),f4=z0({role:M0,content:S1}),N8=Z.extend({description:R().optional(),messages:q0(f4)}),e8=X.extend({method:V0("notifications/prompts/list_changed"),params:H.optional()}),j5=z0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),l7=z0({taskSupport:H1(["required","optional","forbidden"]).optional()}),w$=z0({...D.shape,...O.shape,description:R().optional(),inputSchema:z0({type:V0("object"),properties:p0(R(),$).optional(),required:q0(R()).optional()}).catchall(a0()),outputSchema:z0({type:V0("object"),properties:p0(R(),$).optional(),required:q0(R()).optional()}).catchall(a0()).optional(),annotations:j5.optional(),execution:l7.optional(),_meta:p0(R(),a0()).optional()}),v9=g.extend({method:V0("tools/list")}),h9=p.extend({tools:q0(w$)}),o7=Z.extend({content:q0(S1),structuredContent:p0(R(),a0()).optional(),isError:m0().optional()}),s4=G.extend({name:R(),arguments:p0(R(),a0()).optional()}),r7=W.extend({method:V0("tools/call"),params:s4}),a2=X.extend({method:V0("notifications/tools/list_changed"),params:H.optional()}),s7=H1(["debug","info","notice","warning","error","critical","alert","emergency"]),E5=K.extend({level:s7}),t2=W.extend({method:V0("logging/setLevel"),params:E5}),t$=H.extend({level:s7,logger:R().optional(),data:a0()}),e2=X.extend({method:V0("notifications/message"),params:t$}),e$=z0({name:R().optional()}),S9=z0({hints:q0(e$).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),$Y=z0({mode:H1(["auto","required","none"]).optional()}),g9=z0({type:V0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:q0(S1),structuredContent:z0({}).loose().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),YY=q3("type",[O0,P0,r0]),$$=q3("type",[O0,P0,r0,I1,g9]),zY=z0({role:M0,content:o0([$$,q0($$)]),_meta:p0(R(),a0()).optional()}),C5=G.extend({messages:q0(zY),modelPreferences:S9.optional(),systemPrompt:R().optional(),includeContext:H1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:q0(R()).optional(),metadata:Y.optional(),tools:q0(w$).optional(),toolChoice:$Y.optional()}),UY=W.extend({method:V0("sampling/createMessage"),params:C5}),QY=Z.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens"]).or(R())),role:M0,content:YY}),R5=Z.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:M0,content:o0([$$,q0($$)])}),JY=z0({type:V0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),_5=z0({type:V0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:H1(["email","uri","date","date-time"]).optional(),default:R().optional()}),IY=z0({type:H1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),v5=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),default:R().optional()}),KY=z0({type:V0("string"),title:R().optional(),description:R().optional(),oneOf:q0(z0({const:R(),title:R()})),default:R().optional()}),h5=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),enumNames:q0(R()).optional(),default:R().optional()}),GY=o0([v5,KY]),S5=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({type:V0("string"),enum:q0(R())}),default:q0(R()).optional()}),y9=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({anyOf:q0(z0({const:R(),title:R()}))}),default:q0(R()).optional()}),k9=o0([S5,y9]),WY=o0([h5,GY,k9]),U8=o0([WY,JY,_5,IY]),Q8=G.extend({mode:V0("form").optional(),message:R(),requestedSchema:z0({type:V0("object"),properties:p0(R(),U8),required:q0(R()).optional()}).catchall(a0())}),HY=G.extend({mode:V0("url"),message:R(),elicitationId:R(),url:R().url()}),J8=o0([Q8,HY]),XY=W.extend({method:V0("elicitation/create"),params:J8}),ZY=H.extend({elicitationId:R()}),qY=X.extend({method:V0("notifications/elicitation/complete"),params:ZY}),x9=Z.extend({action:H1(["accept","decline","cancel"]),content:n9((N6)=>N6===null?void 0:N6,p0(R(),o0([R(),_0(),m0(),q0(R())])).optional())}),VY=z0({type:V0("ref/resource"),uri:R()}),a7=z0({type:V0("ref/prompt"),name:R()}),LY=K.extend({ref:o0([a7,VY]),argument:z0({name:R(),value:R()}),context:z0({arguments:p0(R(),R()).optional()}).optional()}),t7=W.extend({method:V0("completion/complete"),params:LY}),e7=Z.extend({completion:Q1({values:q0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),FY=z0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),$3=W.extend({method:V0("roots/list"),params:K.optional()}),Y3=Z.extend({roots:q0(FY)}),z3=X.extend({method:V0("notifications/roots/list_changed"),params:H.optional()}),wY=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),yU=H1(["working","input_required","completed","failed","cancelled"]),$5=z0({taskId:R(),status:yU,ttl:o0([_0(),c5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),O6=Z.extend({task:$5}),f9=H.merge($5),g5=X.extend({method:V0("notifications/tasks/status"),params:f9}),y5=W.extend({method:V0("tasks/get"),params:K.extend({taskId:R()})}),U3=Z.merge($5),u9=W.extend({method:V0("tasks/result"),params:K.extend({taskId:R()})}),fK=Z.loose(),i6=g.extend({method:V0("tasks/list")}),u4=p.extend({tasks:q0($5)}),k5=W.extend({method:V0("tasks/cancel"),params:K.extend({taskId:R()})});return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:z,CursorSchema:U,TaskMetadataSchema:Q,RelatedTaskMetadataSchema:J,RequestMetaSchema:I,BaseRequestParamsSchema:K,TaskAugmentedRequestParamsSchema:G,RequestSchema:W,NotificationsParamsSchema:H,NotificationSchema:X,ResultSchema:Z,RequestIdSchema:q,EmptyResultSchema:V,CancelledNotificationParamsSchema:F,CancelledNotificationSchema:M,IconSchema:w,IconsSchema:O,BaseMetadataSchema:D,ImplementationSchema:N,ClientTasksCapabilitySchema:B,ServerTasksCapabilitySchema:j,ClientCapabilitiesSchema:C,InitializeRequestParamsSchema:b,InitializeRequestSchema:k,ServerCapabilitiesSchema:h,InitializeResultSchema:i,InitializedNotificationSchema:c,PingRequestSchema:U0,ProgressSchema:x,ProgressNotificationParamsSchema:d,ProgressNotificationSchema:t,PaginatedRequestParamsSchema:$0,PaginatedRequestSchema:g,PaginatedResultSchema:p,ResourceContentsSchema:e,TextResourceContentsSchema:y,BlobResourceContentsSchema:Y0,RoleSchema:M0,AnnotationsSchema:E0,ResourceSchema:G0,ResourceTemplateSchema:T0,ListResourcesRequestSchema:b0,ListResourcesResultSchema:Y1,ListResourceTemplatesRequestSchema:a,ListResourceTemplatesResultSchema:H0,ResourceRequestParamsSchema:L0,ReadResourceRequestParamsSchema:f0,ReadResourceRequestSchema:u0,ReadResourceResultSchema:i0,ResourceListChangedNotificationSchema:D1,SubscribeRequestParamsSchema:k1,SubscribeRequestSchema:u1,UnsubscribeRequestParamsSchema:b1,UnsubscribeRequestSchema:B0,ResourceUpdatedNotificationParamsSchema:Q0,ResourceUpdatedNotificationSchema:P,PromptArgumentSchema:v,PromptSchema:u,ListPromptsRequestSchema:r,ListPromptsResultSchema:X0,GetPromptRequestParamsSchema:J0,GetPromptRequestSchema:Z0,TextContentSchema:O0,ImageContentSchema:P0,AudioContentSchema:r0,ToolUseContentSchema:I1,EmbeddedResourceSchema:U1,ResourceLinkSchema:N1,ContentBlockSchema:S1,PromptMessageSchema:f4,GetPromptResultSchema:N8,PromptListChangedNotificationSchema:e8,ToolAnnotationsSchema:j5,ToolExecutionSchema:l7,ToolSchema:w$,ListToolsRequestSchema:v9,ListToolsResultSchema:h9,CallToolResultSchema:o7,CallToolRequestParamsSchema:s4,CallToolRequestSchema:r7,ToolListChangedNotificationSchema:a2,LoggingLevelSchema:s7,SetLevelRequestParamsSchema:E5,SetLevelRequestSchema:t2,LoggingMessageNotificationParamsSchema:t$,LoggingMessageNotificationSchema:e2,ModelHintSchema:e$,ModelPreferencesSchema:S9,ToolChoiceSchema:$Y,ToolResultContentSchema:g9,SamplingContentSchema:YY,SamplingMessageContentBlockSchema:$$,SamplingMessageSchema:zY,CreateMessageRequestParamsSchema:C5,CreateMessageRequestSchema:UY,CreateMessageResultSchema:QY,CreateMessageResultWithToolsSchema:R5,BooleanSchemaSchema:JY,StringSchemaSchema:_5,NumberSchemaSchema:IY,UntitledSingleSelectEnumSchemaSchema:v5,TitledSingleSelectEnumSchemaSchema:KY,LegacyTitledEnumSchemaSchema:h5,SingleSelectEnumSchemaSchema:GY,UntitledMultiSelectEnumSchemaSchema:S5,TitledMultiSelectEnumSchemaSchema:y9,MultiSelectEnumSchemaSchema:k9,EnumSchemaSchema:WY,PrimitiveSchemaDefinitionSchema:U8,ElicitRequestFormParamsSchema:Q8,ElicitRequestURLParamsSchema:HY,ElicitRequestParamsSchema:J8,ElicitRequestSchema:XY,ElicitationCompleteNotificationParamsSchema:ZY,ElicitationCompleteNotificationSchema:qY,ElicitResultSchema:x9,ResourceTemplateReferenceSchema:VY,PromptReferenceSchema:a7,CompleteRequestParamsSchema:LY,CompleteRequestSchema:t7,CompleteResultSchema:e7,RootSchema:FY,ListRootsRequestSchema:$3,ListRootsResultSchema:Y3,RootsListChangedNotificationSchema:z3,TaskCreationParamsSchema:wY,TaskStatusSchema:yU,TaskSchema:$5,CreateTaskResultSchema:O6,TaskStatusNotificationParamsSchema:f9,TaskStatusNotificationSchema:g5,GetTaskRequestSchema:y5,GetTaskResultSchema:U3,GetTaskPayloadRequestSchema:u9,GetTaskPayloadResultSchema:fK,ListTasksRequestSchema:i6,ListTasksResultSchema:u4,CancelTaskRequestSchema:k5,CancelTaskResultSchema:Z.merge($5),ClientRequestSchema:o0([U0,k,t7,t2,Z0,r,b0,a,u0,u1,B0,r7,v9,y5,u9,i6,k5]),ClientNotificationSchema:o0([M,t,c,z3,g5]),ClientResultSchema:o0([V,QY,R5,x9,Y3,U3,u4,O6]),ServerRequestSchema:o0([U0,UY,XY,$3,y5,u9,i6,k5]),ServerNotificationSchema:o0([M,t,e2,P,D1,a2,e8,g5,qY]),ServerResultSchema:o0([V,i,e7,N8,X0,Y1,H0,i0,o7,h9,U3,u4,O6]),CallToolResultWireSchema:a0().superRefine((N6,uK)=>{if(typeof N6!=="object"||N6===null||Array.isArray(N6)||N6.content!==void 0)return;for(let bK of zt)if(bK in N6){uK.addIssue({code:"custom",message:`content is required when the body carries '${bK}' — another result family cannot default into an empty tools/call success`});return}}).transform(Eh).pipe(o7)}}function Ut(){return Rx0??=Cx0()}function Qt($){return $.type!=="object"}function ba($){return $!==void 0&&!(typeof $==="string"&&$.startsWith("#"))}function hx0($){let Y=typeof $.$schema==="string"?$.$schema:void 0;if(ba($.$id))return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:$},required:["result"]};let z=jo($.$schema)&&$.$recursiveAnchor!==!0,U=(Q,J)=>{if(Array.isArray(Q))return Q.map((G)=>U(G,!1));if(Q===null||typeof Q!=="object")return Q;if(!J&&ba(Q.$id))return Q;let I={},K=!1;for(let[G,W]of Object.entries(Q))if(J)I[G]=U(W,!1);else if((G==="$ref"||G==="$dynamicRef")&&typeof W==="string")I[G]=W==="#"?"#/properties/result":W.startsWith("#/")?`#/properties/result${W.slice(1)}`:W;else if(G==="$recursiveRef"&&W==="#"&&z)K=!0;else if(_x0.has(G))I[G]=W;else if(vx0.has(G))I[G]=U(W,!0);else I[G]=U(W,!1);if(K)if("$ref"in I)I.allOf=[...Array.isArray(I.allOf)?I.allOf:[],{$ref:"#/properties/result"}];else I.$ref="#/properties/result";return I};return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:U($,!1)},required:["result"]}}function Ch(){if(Jw)return Jw;let $=Ut();return Jw={requestSchemas:{ping:$.PingRequestSchema,initialize:$.InitializeRequestSchema,"completion/complete":$.CompleteRequestSchema,"logging/setLevel":$.SetLevelRequestSchema,"prompts/get":$.GetPromptRequestSchema,"prompts/list":$.ListPromptsRequestSchema,"resources/list":$.ListResourcesRequestSchema,"resources/templates/list":$.ListResourceTemplatesRequestSchema,"resources/read":$.ReadResourceRequestSchema,"resources/subscribe":$.SubscribeRequestSchema,"resources/unsubscribe":$.UnsubscribeRequestSchema,"tools/call":$.CallToolRequestSchema,"tools/list":$.ListToolsRequestSchema,"tasks/get":$.GetTaskRequestSchema,"tasks/result":$.GetTaskPayloadRequestSchema,"tasks/list":$.ListTasksRequestSchema,"tasks/cancel":$.CancelTaskRequestSchema,"sampling/createMessage":$.CreateMessageRequestSchema,"elicitation/create":$.ElicitRequestSchema,"roots/list":$.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":$.CancelledNotificationSchema,"notifications/progress":$.ProgressNotificationSchema,"notifications/initialized":$.InitializedNotificationSchema,"notifications/roots/list_changed":$.RootsListChangedNotificationSchema,"notifications/tasks/status":$.TaskStatusNotificationSchema,"notifications/message":$.LoggingMessageNotificationSchema,"notifications/resources/updated":$.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":$.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":$.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":$.PromptListChangedNotificationSchema,"notifications/elicitation/complete":$.ElicitationCompleteNotificationSchema},resultSchemas:{ping:$.EmptyResultSchema,initialize:$.InitializeResultSchema,"completion/complete":$.CompleteResultSchema,"logging/setLevel":$.EmptyResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"resources/subscribe":$.EmptyResultSchema,"resources/unsubscribe":$.EmptyResultSchema,"tools/call":$.CallToolResultWireSchema,"tools/list":$.ListToolsResultSchema,"sampling/createMessage":$.CreateMessageResultWithToolsSchema,"elicitation/create":$.ElicitResultSchema,"roots/list":$.ListRootsResultSchema}},Jw}function Kt($){return Object.prototype.hasOwnProperty.call(Jt,$)}function Gt($){return Object.prototype.hasOwnProperty.call(It,$)}function gx0($){return Object.prototype.hasOwnProperty.call(Sx0,$)}function yx0($){return gx0($)?Ch().resultSchemas[$]:void 0}function kx0($){return Kt($)?Ch().requestSchemas[$]:void 0}function xx0($){return Gt($)?Ch().notificationSchemas[$]:void 0}function Bh($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Iw($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let z=$.safeParse(Y);return z.success?{ok:!0,value:z.data}:{ok:!1,reason:"invalid",message:String(z.error)}}function ca($){return Bh($)&&Bh($.outputSchema)&&Qt($.outputSchema)}function na($){return $}function fx0(){let $=V3(()=>o0([R(),_0(),m0(),c5(),p0(R(),$),q0($)])),Y=p0(R(),$),z=o0([R(),_0().int()]),U=R(),Q=o0([R(),_0().int()]),J=H1(["user","assistant"]),I=H1(["debug","info","notice","warning","error","critical","alert","emergency"]),K=R().refine((u4)=>{try{return atob(u4),!0}catch{return!1}},{message:"Invalid Base64 string"}),G=z0({ttl:_0().optional()}),W=z0({taskId:R()}),H=Q1({progressToken:z.optional(),"io.modelcontextprotocol/related-task":W.optional()}),X=z0({_meta:H.optional()}),Z=X.extend({task:G.optional()}),q=z0({_meta:H.optional()}),V=z0({method:R(),params:q.loose().optional()}),F=z0({src:R(),mimeType:R().optional(),sizes:q0(R()).optional(),theme:H1(["light","dark"]).optional()}),M=z0({icons:q0(F).optional()}),w=z0({name:R(),title:R().optional()}),O=w.extend({...w.shape,...M.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),D=z5(z0({applyDefaults:m0().optional()}),Y),N=n9((u4)=>{if(u4&&typeof u4==="object"&&!Array.isArray(u4)&&Object.keys(u4).length===0)return{form:{}};return u4},z5(z0({form:D.optional(),url:Y.optional()}),Y.optional())),A=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),T=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),B=z0({experimental:p0(R(),Y).optional(),sampling:z0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:N.optional(),roots:z0({listChanged:m0().optional()}).optional(),tasks:A.optional(),extensions:p0(R(),Y).optional()}),j=z0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:z0({listChanged:m0().optional()}).optional(),resources:z0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:z0({listChanged:m0().optional()}).optional(),tasks:T.optional(),extensions:p0(R(),Y).optional()}),C=z0({progress:_0(),total:t0(_0()),message:t0(R())}),b=z0({...q.shape,...C.shape,progressToken:z}),k=V.extend({method:V0("notifications/progress"),params:b}),h=q.extend({level:I,logger:R().optional(),data:a0()}),i=V.extend({method:V0("notifications/message"),params:h}),c=z0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),U0=c.extend({text:R()}),x=c.extend({blob:K}),d=z0({audience:q0(J).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),t=z0({...w.shape,...M.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:d.optional(),_meta:t0(Q1({}))}),$0=z0({...w.shape,...M.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:d.optional(),_meta:t0(Q1({}))}),g=V.extend({method:V0("notifications/resources/list_changed"),params:q.optional()}),p=q.extend({uri:R()}),e=V.extend({method:V0("notifications/resources/updated"),params:p}),y=z0({name:R(),description:t0(R()),required:t0(m0())}),s=z0({...w.shape,...M.shape,description:t0(R()),arguments:t0(q0(y)),_meta:t0(Q1({}))}),Y0=V.extend({method:V0("notifications/prompts/list_changed"),params:q.optional()}),M0=z0({type:V0("text"),text:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),E0=z0({type:V0("image"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),G0=z0({type:V0("audio"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),T0=z0({type:V0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),b0=z0({type:V0("resource"),resource:o0([U0,x]),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),Y1=t.extend({type:V0("resource_link")}),a=o0([M0,E0,G0,Y1,b0]),H0=z0({role:J,content:a}),L0=z0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),f0=V.extend({method:V0("notifications/tools/list_changed"),params:q.optional()}),u0=z0({name:R().optional()}),i0=z0({hints:q0(u0).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),D1=z0({mode:H1(["auto","required","none"]).optional()}),k1=z0({type:V0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),u1=z0({type:V0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:H1(["email","uri","date","date-time"]).optional(),default:R().optional()}),b1=z0({type:H1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),B0=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),default:R().optional()}),Q0=z0({type:V0("string"),title:R().optional(),description:R().optional(),oneOf:q0(z0({const:R(),title:R()})),default:R().optional()}),P=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),enumNames:q0(R()).optional(),default:R().optional()}),v=o0([B0,Q0]),u=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({type:V0("string"),enum:q0(R())}),default:q0(R()).optional()}),r=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({anyOf:q0(z0({const:R(),title:R()}))}),default:q0(R()).optional()}),X0=o0([u,r]),J0=o0([P,v,X0]),Z0=o0([J0,k1,u1,b1]),O0=Z.extend({mode:V0("form").optional(),message:R(),requestedSchema:z0({type:V0("object"),properties:p0(R(),Z0),required:q0(R()).optional()}).catchall(a0())}),P0=z0({type:V0("ref/resource"),uri:R()}),r0=z0({type:V0("ref/prompt"),name:R()}),I1=z0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),U1=B.shape,N1=z0({experimental:U1.experimental,sampling:U1.sampling,elicitation:U1.elicitation,roots:U1.roots,extensions:U1.extensions}),S1=j.shape,f4=z0({experimental:S1.experimental,logging:S1.logging,completions:S1.completions,prompts:S1.prompts,resources:S1.resources,tools:S1.tools,extensions:S1.extensions}),N8=Q1({progressToken:z.optional(),[d9]:R(),[LQ]:O.optional(),[m9]:N1,[F3]:I.optional()}),e8=z0({...w.shape,...M.shape,description:R().optional(),inputSchema:Q1({$schema:R().optional(),type:V0("object")}),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:L0.optional(),_meta:p0(R(),a0()).optional()}),j5=z0({type:V0("tool_result"),toolUseId:R(),content:q0(a),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),l7=o0([M0,E0,G0,T0,j5]),w$=z0({role:J,content:o0([l7,q0(l7)]),_meta:p0(R(),a0()).optional()}),v9=R(),h9=Q1({[n5]:O.optional().catch(void 0)}),o7=h9.optional();function s4(u4){return Q1({_meta:o7,resultType:v9.default("complete"),...u4})}let r7=s4({}),a2=s4({nextCursor:U.optional()}),s7=s4({content:q0(a),structuredContent:a0().optional(),isError:m0().optional()}),E5=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),tools:q0(e8),nextCursor:U.optional()}),t2=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),prompts:q0(s),nextCursor:U.optional()}),t$=s4({description:R().optional(),messages:q0(H0)}),e2=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resources:q0(t),nextCursor:U.optional()}),e$=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resourceTemplates:q0($0),nextCursor:U.optional()}),S9=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),contents:q0(o0([U0,x]))}),$Y=s4({completion:z0({values:q0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),g9=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"])}),YY=s4({ttlMs:_0().int().min(0).catch(0),cacheScope:H1(["public","private"]).catch("private"),supportedVersions:q0(R()),capabilities:f4,instructions:R().optional()}),$$=z0({messages:q0(w$),modelPreferences:i0.optional(),systemPrompt:R().optional(),includeContext:H1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:q0(R()).optional(),metadata:Y.optional(),tools:q0(e8).optional(),toolChoice:D1.optional()}),zY=z0({method:V0("sampling/createMessage"),params:$$}),C5=z0({method:V0("roots/list"),params:z0({_meta:p0(R(),a0()).optional()}).optional()}),UY=z0({...w$.shape,model:R(),stopReason:R().optional()}),QY=z0({roots:q0(I1)}),R5=z0({action:H1(["accept","decline","cancel"]),content:p0(R(),o0([R(),_0(),m0(),q0(R())])).optional()}),JY=z0({mode:V0("url"),message:R(),url:R().url()}),_5=o0([O0,JY]),IY=z0({method:V0("elicitation/create"),params:_5}),v5=o0([zY,C5,IY]),KY=o0([UY,QY,R5]),h5=p0(R(),v5),GY=p0(R(),KY),S5=s4({inputRequests:h5.optional(),requestState:R().optional()}),y9={inputResponses:GY.optional(),requestState:R().optional()},k9=z0({_meta:N8,...y9}),WY=Q1({progressToken:z.optional()});function U8(u4,k5){return z0({method:V0(u4),params:z0({_meta:N8,...k5})})}function Q8(u4,k5){return z0({method:V0(u4),params:z0({_meta:WY.optional(),...k5}).optional()})}let HY={name:R(),arguments:p0(R(),a0()).optional(),...y9},J8={cursor:U.optional()},XY=U8("tools/call",HY),ZY=U8("tools/list",J8),qY=U8("prompts/list",J8),x9=U8("prompts/get",{name:R(),arguments:p0(R(),R()).optional(),...y9}),VY=U8("resources/list",J8),a7=U8("resources/templates/list",J8),LY=U8("resources/read",{uri:R(),...y9}),t7={ref:o0([r0,P0]),argument:z0({name:R(),value:R()}),context:z0({arguments:p0(R(),R()).optional()}).optional()},e7=U8("completion/complete",t7),FY=U8("server/discover",{}),$3=z0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:q0(R()).optional()}),Y3={notifications:$3},z3=U8("subscriptions/listen",Y3),wY=h9.extend({"io.modelcontextprotocol/subscriptionId":Q}),yU=Q1({_meta:wY,resultType:v9.default("complete")}),$5={"tools/call":Q8("tools/call",HY),"tools/list":Q8("tools/list",J8),"prompts/get":Q8("prompts/get",{name:R(),arguments:p0(R(),R()).optional()}),"prompts/list":Q8("prompts/list",J8),"resources/list":Q8("resources/list",J8),"resources/templates/list":Q8("resources/templates/list",J8),"resources/read":Q8("resources/read",{uri:R()}),"completion/complete":Q8("completion/complete",t7),"server/discover":Q8("server/discover",{}),"subscriptions/listen":Q8("subscriptions/listen",Y3)};function O6(u4){return Q1({_meta:o7,...u4})}let f9={"tools/call":O6({content:q0(a),structuredContent:a0().optional(),isError:m0().optional()}),"tools/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),tools:q0(e8),nextCursor:U.optional()}),"prompts/get":O6({description:R().optional(),messages:q0(H0)}),"prompts/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),prompts:q0(s),nextCursor:U.optional()}),"resources/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resources:q0(t),nextCursor:U.optional()}),"resources/templates/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resourceTemplates:q0($0),nextCursor:U.optional()}),"resources/read":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),contents:q0(o0([U0,x]))}),"completion/complete":O6({completion:z0({values:q0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),"server/discover":O6({ttlMs:_0().int().min(0).catch(0),cacheScope:H1(["public","private"]).catch("private"),supportedVersions:q0(R()),capabilities:f4,instructions:R().optional()}),"subscriptions/listen":O6({})},g5=Q1({"io.modelcontextprotocol/subscriptionId":Q.optional()}),y5=z0({method:V0("notifications/subscriptions/acknowledged"),params:z0({_meta:g5.optional(),notifications:$3})}),U3=z0({_meta:g5.optional(),requestId:Q,reason:R().optional()}),u9=z0({method:V0("notifications/cancelled"),params:U3}),fK={"notifications/cancelled":u9,"notifications/progress":k,"notifications/message":i,"notifications/resources/updated":e,"notifications/resources/list_changed":g,"notifications/tools/list_changed":f0,"notifications/prompts/list_changed":Y0,"notifications/subscriptions/acknowledged":y5},i6=(u4)=>z0({jsonrpc:V0("2.0"),id:o0([R(),_0().int()]),result:u4}).strict();return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:z,CursorSchema:U,RequestIdSchema:Q,RoleSchema:J,LoggingLevelSchema:I,TaskMetadataSchema:G,RelatedTaskMetadataSchema:W,RequestMetaSchema:H,BaseRequestParamsSchema:X,TaskAugmentedRequestParamsSchema:Z,NotificationsParamsSchema:q,NotificationSchema:V,IconSchema:F,IconsSchema:M,BaseMetadataSchema:w,ImplementationSchema:O,ClientTasksCapabilitySchema:A,ServerTasksCapabilitySchema:T,ClientCapabilitiesSchema:B,ServerCapabilitiesSchema:j,ProgressSchema:C,ProgressNotificationParamsSchema:b,ProgressNotificationSchema:k,LoggingMessageNotificationParamsSchema:h,LoggingMessageNotificationSchema:i,ResourceContentsSchema:c,TextResourceContentsSchema:U0,BlobResourceContentsSchema:x,AnnotationsSchema:d,ResourceSchema:t,ResourceTemplateSchema:$0,ResourceListChangedNotificationSchema:g,ResourceUpdatedNotificationParamsSchema:p,ResourceUpdatedNotificationSchema:e,PromptArgumentSchema:y,PromptSchema:s,PromptListChangedNotificationSchema:Y0,TextContentSchema:M0,ImageContentSchema:E0,AudioContentSchema:G0,ToolUseContentSchema:T0,EmbeddedResourceSchema:b0,ResourceLinkSchema:Y1,ContentBlockSchema:a,PromptMessageSchema:H0,ToolAnnotationsSchema:L0,ToolListChangedNotificationSchema:f0,ModelHintSchema:u0,ModelPreferencesSchema:i0,ToolChoiceSchema:D1,BooleanSchemaSchema:k1,StringSchemaSchema:u1,NumberSchemaSchema:b1,UntitledSingleSelectEnumSchemaSchema:B0,TitledSingleSelectEnumSchemaSchema:Q0,LegacyTitledEnumSchemaSchema:P,SingleSelectEnumSchemaSchema:v,UntitledMultiSelectEnumSchemaSchema:u,TitledMultiSelectEnumSchemaSchema:r,MultiSelectEnumSchemaSchema:X0,EnumSchemaSchema:J0,PrimitiveSchemaDefinitionSchema:Z0,ElicitRequestFormParamsSchema:O0,ResourceTemplateReferenceSchema:P0,PromptReferenceSchema:r0,RootSchema:I1,ClientCapabilities2026Schema:N1,ServerCapabilities2026Schema:f4,RequestMetaEnvelopeSchema:N8,ToolSchema:e8,ToolResultContentSchema:j5,SamplingMessageContentBlockSchema:l7,SamplingMessageSchema:w$,ResultTypeSchema:v9,ResultMetaSchema:h9,ResultSchema:r7,PaginatedResultSchema:a2,CallToolResultSchema:s7,ListToolsResultSchema:E5,ListPromptsResultSchema:t2,GetPromptResultSchema:t$,ListResourcesResultSchema:e2,ListResourceTemplatesResultSchema:e$,ReadResourceResultSchema:S9,CompleteResultSchema:$Y,CacheableResultSchema:g9,DiscoverResultSchema:YY,CreateMessageRequestParamsSchema:$$,CreateMessageRequestSchema:zY,ListRootsRequestSchema:C5,CreateMessageResultSchema:UY,ListRootsResultSchema:QY,ElicitResultSchema:R5,ElicitRequestURLParamsSchema:JY,ElicitRequestParamsSchema:_5,ElicitRequestSchema:IY,InputRequestSchema:v5,InputResponseSchema:KY,InputRequestsSchema:h5,InputResponsesSchema:GY,InputRequiredResultSchema:S5,InputResponseRequestParamsSchema:k9,CallToolRequestSchema:XY,ListToolsRequestSchema:ZY,ListPromptsRequestSchema:qY,GetPromptRequestSchema:x9,ListResourcesRequestSchema:VY,ListResourceTemplatesRequestSchema:a7,ReadResourceRequestSchema:LY,CompleteRequestSchema:e7,DiscoverRequestSchema:FY,SubscriptionFilterSchema:$3,SubscriptionsListenRequestSchema:z3,SubscriptionsListenResultMetaSchema:wY,SubscriptionsListenResultSchema:yU,dispatchRequestSchemas:$5,dispatchResultSchemas:f9,NotificationMetaSchema:g5,SubscriptionsAcknowledgedNotificationSchema:y5,CancelledNotificationParamsSchema:U3,CancelledNotificationSchema:u9,notificationSchemas2026:fK,JSONRPCResultResponseSchema:i6(r7),CallToolResultResponseSchema:i6(o0([s7,S5])),ListToolsResultResponseSchema:i6(E5),ListPromptsResultResponseSchema:i6(t2),GetPromptResultResponseSchema:i6(o0([t$,S5])),ListResourcesResultResponseSchema:i6(e2),ListResourceTemplatesResultResponseSchema:i6(e$),ReadResourceResultResponseSchema:i6(o0([S9,S5])),CompleteResultResponseSchema:i6($Y),DiscoverResultResponseSchema:i6(YY)}}function xY(){return ux0??=fx0()}function ix0($){return bx0.includes($)}function qw($,Y){if(Y===void 0)return $;let z=$[EQ];if(z===void 0)return{...$,[EQ]:Y};let U={},Q=z.ttlMs??Y.ttlMs;if(Q!==void 0)U.ttlMs=Q;let J=z.cacheScope??Y.cacheScope;if(J!==void 0)U.cacheScope=J;return{...$,[EQ]:U}}function cx0($){return $[EQ]}function _h($){return typeof $==="number"&&Number.isSafeInteger($)&&$>=0}function vh($){return $==="public"||$==="private"}function hh($,Y){if($.ttlMs!==void 0&&!_h($.ttlMs))throw RangeError(`Invalid cache hint for ${Y}: ttlMs must be a non-negative safe integer (got ${String($.ttlMs)})`);if($.cacheScope!==void 0&&!vh($.cacheScope))throw RangeError(`Invalid cache hint for ${Y}: cacheScope must be 'public' or 'private' (got ${String($.cacheScope)})`)}function mx0($,Y){let z=Y.resultType;if(z===void 0)return{...Y,resultType:"complete"};if(z==="complete")return Y;if(dx0.includes($))return Y;throw new J1(n0.InternalError,`Handler for ${$} returned resultType '${String(z)}', but results of ${$} only support 'complete' on protocol revision 2026-07-28`)}function lx0($,Y){let z=cx0(Y);if(Y.resultType!=="complete"||!ix0($))return z===void 0?Y:tx0(Y);let U=Y,Q=_h(U.ttlMs)?U.ttlMs:sx0(z),J=vh(U.cacheScope)?U.cacheScope:ax0(z),I={...U,ttlMs:Q,cacheScope:J};return delete I[EQ],I}function ox0($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function rx0($,Y){if(Y===void 0)return $;let z=$._meta;if(z===void 0)return{...$,_meta:{[n5]:Y}};if(!ox0(z))return $;if(z[n5]!==void 0)return $;return{...$,_meta:{...z,[n5]:Y}}}function sx0($){return $!==void 0&&_h($.ttlMs)?$.ttlMs:nx0}function ax0($){return $!==void 0&&vh($.cacheScope)?$.cacheScope:px0}function tx0($){let Y={...$};return delete Y[EQ],Y}function Ht(){if(Kw)return Kw;let $=xY();return Kw={request:{"elicitation/create":z0({method:V0("elicitation/create"),params:$.ElicitRequestParamsSchema}),"sampling/createMessage":z0({method:V0("sampling/createMessage"),params:$.CreateMessageRequestParamsSchema}),"roots/list":z0({method:V0("roots/list"),params:Q1({}).optional()})},response:{"elicitation/create":$.ElicitResultSchema,"sampling/createMessage":$.CreateMessageResultSchema,"roots/list":$.ListRootsResultSchema}},Kw}function Xt($){return ex0.includes($)}function Mh($){return Xt($)?Ht().request[$]:void 0}function $f0($){return Xt($)?Ht().response[$]:void 0}function qt($){return Object.prototype.hasOwnProperty.call(Sh,$)}function Vt($){return Object.prototype.hasOwnProperty.call(Zt,$)}function Yf0($){return Object.prototype.hasOwnProperty.call(Sh,$)}function zf0($){return qt($)?xY().dispatchRequestSchemas[$]:void 0}function Uf0($){return Yf0($)?xY().dispatchResultSchemas[$]:void 0}function Qf0($){return Vt($)?xY().notificationSchemas2026[$]:void 0}function JW($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function UW($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let z=$.safeParse(Y);return z.success?{ok:!0,value:z.data}:{ok:!1,reason:"invalid",message:String(z.error)}}function Kf0($,Y){let z=Y,U=!1,Q=()=>{if(!U)z={...z},U=!0;return z},J=Y.tools;if($==="tools/list"&&Array.isArray(J)&&J.some((K)=>JW(K)&&("execution"in K)))Q().tools=J.map((K)=>{if(!JW(K)||!("execution"in K))return K;let G={...K};return delete G.execution,G});let I=Y.capabilities;if(JW(I)&&"tasks"in I){let K={...I};delete K.tasks,Q().capabilities=K}return z}function Gf0(){if(Gw)return Gw;let $=xY();return Gw={"tools/call":$.CallToolResultSchema,"tools/list":$.ListToolsResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"completion/complete":$.CompleteResultSchema,"server/discover":$.DiscoverResultSchema},Gw}function A3($){return $!==void 0&&_Q($)?gh:Rh}function pa($){if($.revision!==void 0)return A3($.revision).era;return $.era==="modern"?gh.era:Rh.era}function Oh($){return Lt.some((Y)=>Y.hasRequestMethod($))}function Nh($){return Lt.some((Y)=>Y.hasNotificationMethod($))}function da($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function fY($){if(!da($))return;let Y=$._meta;return da(Y)?Y:void 0}function Fw($){let Y=fY($);return Y!==void 0&&d9 in Y}function ww($){let Y=fY($)?.[d9];return typeof Y==="string"?Y:void 0}function Mw($){return A3(WW).validateEnvelopeMeta($)}function yh($){if($.params.ref.type!=="ref/prompt")throw TypeError(`Expected CompleteRequestPrompt, but got ${$.params.ref.type}`)}function kh($){if($.params.ref.type!=="ref/resource")throw TypeError(`Expected CompleteRequestResourceTemplate, but got ${$.params.ref.type}`)}function xh($){let Y=[],z=new Map,U=(J,I,K)=>{if(J===null||typeof J!=="object")return;let G=J;if(ma in G){if(!K||I.length===0)return`${Ww(I)}: x-mcp-header is only permitted on properties statically reachable via a chain of 'properties' keys (not under items, additionalProperties, oneOf/anyOf/allOf/not, if/then/else, or $ref)`;let H=G[ma];if(typeof H!=="string"||H.length===0)return`${Ww(I)}: x-mcp-header MUST be a non-empty string`;if(!Hf0.test(H))return`${Ww(I)}: x-mcp-header '${H}' is not a valid RFC 9110 token (no spaces, control characters or HTTP delimiters)`;let X=typeof G.type==="string"?G.type:void 0;if(X===void 0||!Xf0.has(X))return`${Ww(I)}: x-mcp-header is only permitted on primitive-typed properties (string, integer, boolean); got ${X??""}`;let Z=H.toLowerCase(),q=z.get(Z);if(q!==void 0)return`x-mcp-header '${H}' is not case-insensitively unique (also declared as '${q}')`;z.set(Z,H),Y.push({path:I,headerName:H,type:X})}let W=G.properties;if(W!==null&&typeof W==="object")for(let[H,X]of Object.entries(W)){let Z=U(X,[...I,H],K);if(Z!==void 0)return Z}for(let H of Zf0){let X=G[H];if(X===void 0)continue;let Z=Array.isArray(X)?X:X!==null&&typeof X==="object"&&qf0.has(H)?Object.values(X):[X];for(let q of Z){let V=U(q,[...I,`<${H}>`],!1);if(V!==void 0)return V}}},Q=U($,[],!0);return Q===void 0?{valid:!0,declarations:Y}:{valid:!1,reason:Q}}function Ww($){return $.length===0?"":$.join(".")}function Hw($,Y,z,U,Q){return{kind:"reject",rung:$,cell:Y,httpStatus:z,code:U.code,message:U.message,...U.data!==void 0&&{data:U.data},settled:Q}}function fh($){if(!Fw($))return!1;let Y=ww($);if(Y===void 0||!_Q(Y))return!1;let z=fY($);return z!==void 0&&Mw(z).length===0}function uh($,Y){switch($.reason){case"http-method":return Hw("http-method","modern-only-method-not-allowed",405,new J1(-32000,"Method not allowed."),!0);case"batch":return Hw("jsonrpc-shape","modern-only-batch-not-supported",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC batches are not supported by this endpoint"),!0);case"response":return Hw("jsonrpc-shape","modern-only-response-post",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC responses cannot be posted to this endpoint"),!0);case"notification":return;case"initialize":case"no-claim":{let z=$.requestedVersion;return Hw("era-classification","modern-only-missing-envelope",400,z===void 0?new J1(n0.UnsupportedProtocolVersion,"Unsupported protocol version: the request did not name a protocol version",{supported:[...Y]}):new vQ({supported:[...Y],requested:z}),!0)}}}function Nw($,Y){return OG($,Y)}function QW($){return new Set($.flatMap((Y)=>Object.keys(Y.shape)))}function RQ($){if($==null)return!1;let Y=typeof $;if(Y!=="object"&&Y!=="function")return!1;if(!("~standard"in $))return!1;return typeof $["~standard"]?.validate==="function"}function E3($,Y="input"){let z=$["~standard"],U;if(z.jsonSchema)U=z.jsonSchema[Y]({target:Ph});else if(z.vendor==="zod"){if(!("_zod"in $))throw Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");if(!la)la=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.");U=RY($,{target:Ph,io:Y})}else throw Error(`Schema library "${z.vendor}" does not implement StandardJSONSchemaV1 (\`~standard.jsonSchema\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(Y==="output"){if(U.type!==void 0)return U;return Ft(U)?{type:"object",...U}:U}if(U.type!==void 0&&U.type!=="object")throw Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(U.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...U}}function Ft($){if("properties"in $||"patternProperties"in $||"additionalProperties"in $||"required"in $)return!0;for(let Y of["oneOf","anyOf","allOf"]){let z=$[Y];if(Array.isArray(z)&&z.length>0)return z.every((U)=>U!==null&&typeof U==="object"&&(U.type==="object"||Ft(U)))}return!1}function Lf0($){if(!$.path?.length)return $.message;return`${$.path.map((Y)=>String(typeof Y==="object"?Y.key:Y)).join(".")}: ${$.message}`}async function kY($,Y){let z=await $["~standard"].validate(Y);if(z.issues&&z.issues.length>0)return{success:!1,error:z.issues.map((U)=>Lf0(U)).join(", ")};return{success:!0,data:z.value}}function Ff0($){let Y=RY($,{target:Ph,io:"input"});return typeof Y.pattern==="string"?Y.pattern:void 0}function Mf0($){let Y=wf0.exec($),z=[void 0,-1,0];if(Y)z.push(Number(Y[1]));return[!1,!0].flatMap((U)=>[!1,!0].flatMap((Q)=>z.map((J)=>Q$.datetime({local:U,offset:Q,precision:J}))))}function Of0($,Y){let z;switch($){case"email":z=[oV()];break;case"uri":z=[HQ()];break;case"date":z=[Q$.date()];break;case"date-time":z=Mf0(Y);break}return new Set(z.map((U)=>Ff0(U)).filter((U)=>U!==void 0))}function Nf0($,Y,z){if(z!=="zod")return!0;return Of0($,Y).has(Y)}function wt($){let Y=E3($,"input"),z=Y.properties||{},U=Y.required||[];return Object.entries(z).map(([Q,J])=>({name:Q,description:J?.description,required:U.includes(Q)}))}function GW($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Df0($){try{return E3($,"input")}catch(Y){let z=Y instanceof Error?Y.message:String(Y);throw new J1(n0.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${z}`)}}function bh($){return Bf0.has($)||$.startsWith("x-")}function Tf0($,Y,z,U){if(!GW($))return $;let Q=typeof $.type==="string"&&Object.hasOwn(oa,$.type)?oa[$.type]:void 0;if(Q===void 0)return $;let J={};for(let[I,K]of Object.entries($))if(Q.has(I)||bh(I))J[I]=K;else if(I==="pattern"&&$.type==="string"&&typeof $.format==="string"){if(!Af0.has($.format))J[I]=K;else if(typeof K!=="string"||!Nf0($.format,K,z))U.push(`${Y}.${I}`)}else U.push(`${Y}.${I}`);return J}function jf0($,Y){let z={},U=[];for(let[Q,J]of Object.entries($))if(Q==="properties"&&GW(J))z[Q]=Object.fromEntries(Object.entries(J).map(([I,K])=>[I,Tf0(K,`properties.${I}`,Y,U)]));else if(Pf0.has(Q))z[Q]=J;else if(!bh(Q))U.push(Q);if(U.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${U.join(", ")}`);return z}function Ef0($,Y){if(!GW($.properties))return Y;let z=Object.entries($.properties).filter(([,U])=>!Nw(zW,U).success).map(([U])=>`properties.${U}`);return z.length>0?z.join(", "):Y}function Ah($,Y,z=""){if(Array.isArray($)&&Array.isArray(Y))return $.flatMap((U,Q)=>Ah(U,Y[Q],`${z}[${Q}]`));if(!GW($)||!GW(Y))return[];return Object.entries($).flatMap(([U,Q])=>{let J=z?`${z}.${U}`:U;if(!Object.prototype.hasOwnProperty.call(Y,U))return bh(U)?[]:[J];return Ah(Q,Y[U],J)})}function Cf0($){if(!RQ($.requestedSchema))return{...$,mode:"form",requestedSchema:$.requestedSchema};let Y=$.requestedSchema["~standard"].vendor,z=jf0(Df0($.requestedSchema),Y),U=Nw(jQ.shape.requestedSchema,z);if(!U.success)throw new J1(n0.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${Ef0(z,U.error.message)}`);let Q=Ah(z,U.data);if(Q.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${Q.join(", ")}`);let J=(U.data.required??[]).filter((I)=>!Object.prototype.hasOwnProperty.call(U.data.properties,I));if(J.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${J.join(", ")}`);return{...$,mode:"form",requestedSchema:U.data}}function Rf0($){let Y=$.inputRequests!==void 0&&Object.keys($.inputRequests).length>0,z=typeof $.requestState==="string";if(!Y&&!z)throw TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...$.inputRequests!==void 0&&{inputRequests:$.inputRequests},...$.requestState!==void 0&&{requestState:$.requestState}}}function Ot($,Y){return`Multi-round-trip request '${$}' still required input after ${Y} rounds (inputRequired.maxRounds)`}function Nt($,Y){return new Promise((z,U)=>{if(Y?.aborted){U(Y.reason instanceof V1?Y.reason:new V1(B1.RequestTimeout,String(Y.reason)));return}let Q=setTimeout(()=>{Y?.removeEventListener("abort",J),z()},$),J=()=>{clearTimeout(Q),U(Y?.reason instanceof V1?Y.reason:new V1(B1.RequestTimeout,String(Y?.reason)))};Y?.addEventListener("abort",J,{once:!0})})}function Dt($){let Y=new AbortController,z=()=>Y.abort($?.reason);if($?.addEventListener("abort",z,{once:!0}),$?.aborted)Y.abort($.reason);return{signal:Y.signal,abort:(U)=>Y.abort(U),dispose:()=>$?.removeEventListener("abort",z)}}function At($,Y){let z=$.slice(0,-6);Bt[z]=Y,Pt[z]=(U)=>Y.safeParse(U).success}function yf0($){switch($){case"initialize":case"notifications/initialized":return A3(void 0);case"server/discover":return A3(WW);default:return}}function ra($,Y){let z=$.params;if(!IW(z))return{message:$,lifted:{}};let U=z._meta,Q=IW(U)?kf0.filter((G)=>(G in U)):[],J=Y==="request"?xf0.filter((G)=>(G in z)):[];if(Q.length===0&&J.length===0)return{message:$,lifted:{}};let I={},K={...z};if(Q.length>0&&IW(U)){let G={},W={...U};for(let H of Q)G[H]=U[H],delete W[H];if(I.envelope=G,Object.keys(W).length>0)K._meta=W;else delete K._meta}for(let G of J){if(G==="inputResponses")I.inputResponses=K[G];if(G==="requestState")I.requestState=K[G];delete K[G]}return{message:{...$,params:K},lifted:I}}function sa($,Y){let z=$.validateResult(Y,void 0);if(!z.ok&&z.reason==="not-in-era")return;return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(U){let Q=$.validateResult(Y,U);if(Q.ok)return{value:Q.value};return{issues:[{message:Q.reason==="invalid"?Q.message:`not-in-era: ${Y}`}]}}}}}function HW($){return()=>$}function ih($,Y){return{...$,mcpReq:{...$.mcpReq,requestState:HW(Y)}}}function ch($,Y){jt($,Y)}function IW($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function ph($,Y){let z={...$};for(let U in Y){let Q=U,J=Y[Q];if(J===void 0)continue;let I=z[Q];z[Q]=IW(I)&&IW(J)?{...I,...J}:J}return z}function aa($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function uf0($){let Y={},z=[];if(!aa($))return{accepted:Y,droppedKeys:z};for(let[U,Q]of Object.entries($)){if(!aa(Q)||"method"in Q||"result"in Q){z.push(U);continue}Y[U]=Q}return{accepted:Y,droppedKeys:z}}function bf0($){return{resultType:"input_required",inputRequests:$.inputRequests,...$.requestState!==void 0&&{requestState:$.requestState}}}function Ct($){return xG.parse(JSON.parse($))}function mh($){return JSON.stringify($)+` -`}function nf0($){let Y=[];if($.length===0)return{isValid:!1,warnings:["Tool name cannot be empty"]};if($.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${$.length})`]};if($.includes(" "))Y.push("Tool name contains spaces, which may cause parsing issues");if($.includes(","))Y.push("Tool name contains commas, which may cause parsing issues");if($.startsWith("-")||$.endsWith("-"))Y.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts");if($.startsWith(".")||$.endsWith("."))Y.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts");if(!cf0.test($)){let z=[...$].filter((U)=>!/[A-Za-z0-9._-]/.test(U)).filter((U,Q,J)=>J.indexOf(U)===Q);return Y.push(`Tool name contains invalid characters: ${z.map((U)=>`"${U}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:Y}}return{isValid:!0,warnings:Y}}function pf0($,Y){if(Y.length>0){console.warn(`Tool name validation warning for "${$}":`);for(let z of Y)console.warn(` - ${z}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}function lh($){let Y=nf0($);return pf0($,Y.warnings),Y.isValid}function df0($){return typeof $==="object"&&$!==null&&"_zod"in $}function mf0($){return typeof $==="object"&&$!==null&&!("_zod"in $)&&"_def"in $&&typeof $._def?.typeName==="string"}function lf0($){if(typeof $!=="object"||$===null)return!1;if(RQ($))return!1;let Y=Object.getPrototypeOf($);if(Y!==Object.prototype&&Y!==null)return!1;return Object.values($).every((z)=>df0(z))}function Dw($){if($===void 0)return;if(lf0($))return z0($);if(typeof $==="object"&&$!==null&&!RQ($)&&Object.values($).some((Y)=>mf0(Y)))throw TypeError("Raw-shape inputSchema/outputSchema/argsSchema fields must be Zod v4 schemas. Got a Zod v3 field schema. Import from `zod/v4` (or upgrade your zod import), or wrap with `z.object({...})` yourself.");if(!RQ($))throw TypeError("inputSchema/outputSchema/argsSchema must be a Standard Schema (e.g. z.object({...})) or a raw Zod shape ({ field: z.string() }).");return $}var Dh,Tx0,B1,V1,jx0,ea="2026-07-28",T3,zt,Rx0,_x0,vx0,Jt,It,Sx0,Jw,Ax1,Tx1,ia,Rh,ux0,bx0,EQ,n0,J1,Vw,Wt,vQ,Lw,nx0=0,px0="private",dx0,ex0,Kw,Sh,Zt,jx1,Ex1,Jf0,If0,gh,Gw,WW="2026-07-28",Lt,Wf0,D$=($)=>yG.safeParse($).success,j3=($)=>kG.safeParse($).success,KW=($)=>FQ.safeParse($).success,Ow=($)=>wQ.safeParse($).success,o9=($)=>typeof $==="object"&&$!==null&&!Array.isArray($)&&$.resultType==="input_required",ma="x-mcp-header",Hf0,Xf0,Zf0,qf0,Xw=-32020,Cx1,Vf0,la=!1,Ph="draft-2020-12",wf0,Bf0,Pf0,oa,Af0,_f0,Mt=250,vf0,hf0,Bt,Pt,Sf0,gf0,Tt=60000,kf0,xf0,ff0,jt,nh,if0,Rx1,Et=10485760,dh=class{_buffer;_maxBufferSize;constructor($){this._maxBufferSize=$?.maxBufferSize??Et}append($){if((this._buffer?.length??0)+$.length>this._maxBufferSize)throw this.clear(),Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){while(this._buffer){let $=this._buffer.indexOf(` -`);if($===-1)return null;let Y=this._buffer.toString("utf8",0,$).replace(/\r$/,"");this._buffer=this._buffer.subarray($+1);try{return Ct(Y)}catch(z){if(z instanceof SyntaxError)continue;throw z}}return null}clear(){this._buffer=void 0}},cf0;var Bw=o(()=>{fT();uT();fa();bv();Dh=Symbol.for("mcp.sdk.errorBrands");Tx0=class $ extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthError"})}static[Symbol.hasInstance](Y){return CQ(this,Y)}static isInstance(Y){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return CQ(this,Y)}constructor(Y,z,U){super(z);this.code=Y,this.errorUri=U,this.name="OAuthError",Th(this,new.target)}toResponseObject(){let Y={error:this.code,error_description:this.message};if(this.errorUri)Y.error_uri=this.errorUri;return Y}static fromResponse(Y){return new $(Y.error,Y.error_description??Y.error,Y.error_uri)}},B1=function($){return $.NotConnected="NOT_CONNECTED",$.AlreadyConnected="ALREADY_CONNECTED",$.NotInitialized="NOT_INITIALIZED",$.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",$.RequestTimeout="REQUEST_TIMEOUT",$.ConnectionClosed="CONNECTION_CLOSED",$.SendFailed="SEND_FAILED",$.InvalidResult="INVALID_RESULT",$.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",$.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",$.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",$.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",$.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",$.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",$.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",$.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",$.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",$.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",$.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",$}({}),V1=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkError"})}static[Symbol.hasInstance]($){return CQ(this,$)}static isInstance($){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return CQ(this,$)}constructor($,Y,z){super(Y);this.code=$,this.data=z,this.name="SdkError",Th(this,new.target)}},jx0=class extends V1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkHttpError"})}constructor($,Y,z){super($,Y,z);this.name="SdkHttpError"}get status(){return this.data.status}get statusText(){return this.data.statusText}};T3=[ea];zt=["task","inputRequests","requestState"];_x0=new Set(["const","enum","default","examples"]),vx0=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);Jt={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},It={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},Sx0={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null};Ax1=Object.keys(Jt),Tx1=Object.keys(It);ia={ok:!1,reason:"not-in-era"};Rh={era:"2025-11-25",hasRequestMethod:Kt,hasNotificationMethod:Gt,validateRequest:($,Y)=>Iw(kx0($),Y),validateResult:($,Y)=>Iw(yx0($),Y),validateNotification:($,Y)=>Iw(xx0($),Y),hasInputRequestMethod:()=>!1,validateInputRequest:()=>ia,validateInputResponse:()=>ia,samplingResultVariant:($,Y)=>{let z=Ut();return Iw($?z.CreateMessageResultWithToolsSchema:z.CreateMessageResultSchema,Y)},outboundEnvelope:($)=>{return},validateEnvelopeMeta:($)=>[],projectCallToolResult($,Y){let z=Yt($),U=z.structuredContent;if(U===void 0)return z;let Q=typeof U!=="object"||U===null||Array.isArray(U),J=Y!==void 0&&Qt(Y);if(!Q&&!J)return z;return{...z,structuredContent:{result:U}}},decodeResult($,Y){if(Bh(Y)&&"resultType"in Y){let z={...Y};return delete z.resultType,{kind:"complete",result:na(z)}}return{kind:"complete",result:na(Y)}},encodeResult($,Y){if($!=="tools/list")return Y;let z=Y.tools;if(!Array.isArray(z)||!z.some((U)=>ca(U)))return Y;return{...Y,tools:z.map((U)=>ca(U)?{...U,outputSchema:hx0(U.outputSchema)}:U)}},encodeErrorCode:($)=>$===-32002?-32602:$,checkInboundEnvelope:($)=>{return}};bx0=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];EQ=Symbol("modelcontextprotocol.resultCacheHintFallback");n0=function($){return $[$.ParseError=-32700]="ParseError",$[$.InvalidRequest=-32600]="InvalidRequest",$[$.MethodNotFound=-32601]="MethodNotFound",$[$.InvalidParams=-32602]="InvalidParams",$[$.InternalError=-32603]="InternalError",$[$.ResourceNotFound=-32002]="ResourceNotFound",$[$.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",$[$.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",$[$.UrlElicitationRequired=-32042]="UrlElicitationRequired",$}({}),J1=class $ extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ProtocolError"})}static[Symbol.hasInstance](Y){return CQ(this,Y)}static isInstance(Y){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return CQ(this,Y)}constructor(Y,z,U){super(z);this.code=Y,this.data=U,this.name="ProtocolError",Th(this,new.target)}static fromError(Y,z,U){if(Y===n0.UrlElicitationRequired&&U){let Q=U;if(Q.elicitations)return new Wt(Q.elicitations,z)}if(Y===n0.UnsupportedProtocolVersion&&U){let Q=U;if(Array.isArray(Q.supported)&&typeof Q.requested==="string")return new vQ({supported:Q.supported,requested:Q.requested},z)}if(Y===n0.InvalidParams||Y===n0.ResourceNotFound){let Q=U;if(typeof Q?.uri==="string"&&(Y===n0.ResourceNotFound||Object.keys(Q).length===1))return new Vw(Q.uri,z)}if(Y===n0.MissingRequiredClientCapability&&U){let Q=U;if(Q.requiredCapabilities!==null&&typeof Q.requiredCapabilities==="object"&&!Array.isArray(Q.requiredCapabilities))return new Lw({requiredCapabilities:Q.requiredCapabilities},z)}return new $(Y,z,U)}},Vw=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ResourceNotFoundError"})}constructor($,Y=`Resource not found: ${$}`){super(n0.InvalidParams,Y,{uri:$})}get uri(){return this.data.uri}},Wt=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"})}constructor($,Y=`URL elicitation${$.length>1?"s":""} required`){super(n0.UrlElicitationRequired,Y,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}},vQ=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"})}constructor($,Y=`Unsupported protocol version: ${$.requested}`){super(n0.UnsupportedProtocolVersion,Y,$)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Lw=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"})}constructor($,Y=`Missing required client capabilities: ${Object.keys($.requiredCapabilities).join(", ")}`){super(n0.MissingRequiredClientCapability,Y,$)}get requiredCapabilities(){return this.data.requiredCapabilities}},dx0=["tools/call","prompts/get","resources/read"];ex0=["elicitation/create","sampling/createMessage","roots/list"];Sh={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},Zt={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};jx1=Object.keys(Sh),Ex1=Object.keys(Zt);Jf0={ok:!1,reason:"not-in-era"},If0=[d9,m9];gh={era:"2026-07-28",hasRequestMethod:qt,hasNotificationMethod:Vt,hasInputRequestMethod:($)=>Mh($)!==void 0,validateRequest:($,Y)=>UW(zf0($),Y),validateResult:($,Y)=>UW(Uf0($),Y),validateNotification:($,Y)=>UW(Qf0($),Y),validateInputRequest:($,Y)=>UW(Mh($),Y),validateInputResponse:($,Y)=>UW($f0($),Y),samplingResultVariant:()=>Jf0,outboundEnvelope($){return{[d9]:$.protocolVersion,[LQ]:$.clientInfo,[m9]:$.clientCapabilities,...$.logLevel!==void 0&&{[F3]:$.logLevel}}},validateEnvelopeMeta($){let Y=[];for(let U of If0)if(!(U in $))Y.push({key:U,problem:"missing"});let z=xY().RequestMetaEnvelopeSchema.safeParse($);if(!z.success)for(let U of z.error.issues){let Q=U.path.map(String),J=Q.length>0?Q.join("."):"_meta";if(Q.length===1&&Y.some((I)=>I.key===J&&I.problem==="missing"))continue;Y.push({key:J,problem:U.message})}return Y},projectCallToolResult:($)=>Yt($),inputRequestSchema:Mh,decodeResult($,Y){if(!JW(Y))return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: not an object`,{method:$})};let z=Y.resultType;if(z===void 0)return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: missing required resultType — servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:$,violation:"missing-resultType"})};if(typeof z!=="string")return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: non-string resultType`,{method:$,resultType:z})};if(z==="input_required"){let I=Y.inputRequests,K=JW(I)?I:{},G=Y.requestState;if(Object.keys(K).length===0&&typeof G!=="string")return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:$,violation:"input-required-missing-both"})};return{kind:"input_required",inputRequests:K,...typeof G==="string"&&{requestState:G}}}if(z!=="complete")return{kind:"invalid",error:new V1(B1.UnsupportedResultType,`Unsupported result type '${z}' for ${$}`,{resultType:z,method:$})};let U=Gf0(),Q=Object.hasOwn(U,$)?U[$]:void 0;if(Q!==void 0){let I=Q.safeParse(Y);if(!I.success)return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: ${I.error}`,{method:$})}}let J={...Y};return delete J.resultType,{kind:"complete",result:J}},encodeResult($,Y,z){return rx0(lx0($,mx0($,Kf0($,Y))),z)},encodeErrorCode:($)=>$===-32002?-32602:$,checkInboundEnvelope($){if($.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";let Y=xY().RequestMetaEnvelopeSchema.safeParse($.envelope);if(!Y.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${Y.error.issues.map((z)=>z.message).join("; ")}`}};Lt=[Rh,gh];Wf0=Ao({AnnotationsSchema:()=>l9,AudioContentSchema:()=>BQ,BaseMetadataSchema:()=>p9,BaseRequestParamsSchema:()=>S6,BlobResourceContentsSchema:()=>dG,BooleanSchemaSchema:()=>sG,CallToolRequestParamsSchema:()=>MF,CallToolRequestSchema:()=>OF,CallToolResultSchema:()=>rG,CancelTaskRequestSchema:()=>zh,CancelTaskResultSchema:()=>Uh,CancelledNotificationParamsSchema:()=>DL,CancelledNotificationSchema:()=>uG,ClientCapabilitiesSchema:()=>TL,ClientNotificationSchema:()=>Jh,ClientRequestSchema:()=>Qh,ClientResultSchema:()=>Ih,ClientTasksCapabilitySchema:()=>PL,CompatibilityCallToolResultSchema:()=>dv,CompleteRequestParamsSchema:()=>mF,CompleteRequestSchema:()=>lF,CompleteResultSchema:()=>oF,ContentBlockSchema:()=>PQ,CreateMessageRequestParamsSchema:()=>vF,CreateMessageRequestSchema:()=>hF,CreateMessageResultSchema:()=>SF,CreateMessageResultWithToolsSchema:()=>gF,CreateTaskResultSchema:()=>ov,CursorSchema:()=>hG,DiscoverRequestSchema:()=>_L,DiscoverResultSchema:()=>vL,ElicitRequestFormParamsSchema:()=>jQ,ElicitRequestParamsSchema:()=>uF,ElicitRequestSchema:()=>bF,ElicitRequestURLParamsSchema:()=>fF,ElicitResultSchema:()=>nF,ElicitationCompleteNotificationParamsSchema:()=>iF,ElicitationCompleteNotificationSchema:()=>cF,EmbeddedResourceSchema:()=>WF,EmptyResultSchema:()=>fG,EnumSchemaSchema:()=>xF,GetPromptRequestParamsSchema:()=>IF,GetPromptRequestSchema:()=>KF,GetPromptResultSchema:()=>ZF,GetTaskPayloadRequestSchema:()=>tv,GetTaskPayloadResultSchema:()=>ev,GetTaskRequestSchema:()=>sv,GetTaskResultSchema:()=>av,IconSchema:()=>BL,IconsSchema:()=>M3,ImageContentSchema:()=>DQ,ImplementationSchema:()=>MQ,InitializeRequestParamsSchema:()=>jL,InitializeRequestSchema:()=>EL,InitializeResultSchema:()=>CL,InitializedNotificationSchema:()=>RL,JSONArraySchema:()=>cv,JSONObjectSchema:()=>t4,JSONRPCErrorResponseSchema:()=>wQ,JSONRPCMessageSchema:()=>xG,JSONRPCNotificationSchema:()=>kG,JSONRPCRequestSchema:()=>yG,JSONRPCResponseSchema:()=>nv,JSONRPCResultResponseSchema:()=>FQ,JSONValueSchema:()=>L3,LegacyTitledEnumSchemaSchema:()=>eG,ListChangedOptionsBaseSchema:()=>mv,ListPromptsRequestSchema:()=>QF,ListPromptsResultSchema:()=>JF,ListResourceTemplatesRequestSchema:()=>fL,ListResourceTemplatesResultSchema:()=>uL,ListResourcesRequestSchema:()=>kL,ListResourcesResultSchema:()=>xL,ListRootsRequestSchema:()=>sF,ListRootsResultSchema:()=>aF,ListTasksRequestSchema:()=>$h,ListTasksResultSchema:()=>Yh,ListToolsRequestSchema:()=>FF,ListToolsResultSchema:()=>wF,LoggingLevelSchema:()=>B3,LoggingMessageNotificationParamsSchema:()=>PF,LoggingMessageNotificationSchema:()=>AF,ModelHintSchema:()=>TF,ModelPreferencesSchema:()=>jF,MultiSelectEnumSchemaSchema:()=>kF,NotificationSchema:()=>G8,NotificationsParamsSchema:()=>K8,NumberSchemaSchema:()=>TQ,PaginatedRequestParamsSchema:()=>gL,PaginatedRequestSchema:()=>O3,PaginatedResultSchema:()=>N3,PingRequestSchema:()=>iG,PrimitiveSchemaDefinitionSchema:()=>zW,ProgressNotificationParamsSchema:()=>SL,ProgressNotificationSchema:()=>cG,ProgressSchema:()=>hL,ProgressTokenSchema:()=>vG,PromptArgumentSchema:()=>zF,PromptListChangedNotificationSchema:()=>qF,PromptMessageSchema:()=>XF,PromptReferenceSchema:()=>dF,PromptSchema:()=>UF,ReadResourceRequestParamsSchema:()=>bL,ReadResourceRequestSchema:()=>iL,ReadResourceResultSchema:()=>cL,RelatedTaskMetadataSchema:()=>NL,RequestIdSchema:()=>w3,RequestMetaSchema:()=>SG,RequestSchema:()=>e4,ResourceContentsSchema:()=>nG,ResourceLinkSchema:()=>HF,ResourceListChangedNotificationSchema:()=>nL,ResourceRequestParamsSchema:()=>OQ,ResourceSchema:()=>mG,ResourceTemplateReferenceSchema:()=>pF,ResourceTemplateSchema:()=>yL,ResourceUpdatedNotificationParamsSchema:()=>$F,ResourceUpdatedNotificationSchema:()=>YF,ResultMetaObjectSchema:()=>gG,ResultSchema:()=>$6,RoleSchema:()=>D3,RootSchema:()=>rF,RootsListChangedNotificationSchema:()=>tF,SamplingContentSchema:()=>RF,SamplingMessageContentBlockSchema:()=>vY,SamplingMessageSchema:()=>_F,ServerCapabilitiesSchema:()=>bG,ServerNotificationSchema:()=>Gh,ServerRequestSchema:()=>Kh,ServerResultSchema:()=>Wh,ServerTasksCapabilitySchema:()=>AL,SetLevelRequestParamsSchema:()=>DF,SetLevelRequestSchema:()=>BF,SingleSelectEnumSchemaSchema:()=>yF,StringSchemaSchema:()=>AQ,SubscribeRequestParamsSchema:()=>pL,SubscribeRequestSchema:()=>dL,SubscriptionFilterSchema:()=>lG,SubscriptionsAcknowledgedNotificationParamsSchema:()=>sL,SubscriptionsAcknowledgedNotificationSchema:()=>aL,SubscriptionsListenRequestParamsSchema:()=>oL,SubscriptionsListenRequestSchema:()=>rL,SubscriptionsListenResultMetaSchema:()=>tL,SubscriptionsListenResultSchema:()=>eL,TaskAugmentedRequestParamsSchema:()=>yY,TaskCreationParamsSchema:()=>lv,TaskMetadataSchema:()=>OL,TaskSchema:()=>P3,TaskStatusNotificationParamsSchema:()=>$w,TaskStatusNotificationSchema:()=>rv,TaskStatusSchema:()=>eF,TextContentSchema:()=>NQ,TextResourceContentsSchema:()=>pG,TitledMultiSelectEnumSchemaSchema:()=>YW,TitledSingleSelectEnumSchemaSchema:()=>tG,ToolAnnotationsSchema:()=>VF,ToolChoiceSchema:()=>EF,ToolExecutionSchema:()=>LF,ToolListChangedNotificationSchema:()=>NF,ToolResultContentSchema:()=>CF,ToolSchema:()=>oG,ToolUseContentSchema:()=>GF,UnsubscribeRequestParamsSchema:()=>mL,UnsubscribeRequestSchema:()=>lL,UntitledMultiSelectEnumSchemaSchema:()=>$W,UntitledSingleSelectEnumSchemaSchema:()=>aG});Hf0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Xf0=new Set(["string","integer","boolean","number"]);Zf0=["items","prefixItems","contains","additionalProperties","unevaluatedProperties","unevaluatedItems","propertyNames","patternProperties","dependentSchemas","oneOf","anyOf","allOf","not","if","then","else","$defs","definitions"],qf0=new Set(["patternProperties","dependentSchemas","$defs","definitions"]);Cx1=[{rung:"http-method",order:1,evaluatedAt:"edge",codes:[-32000],conformance:[],rationale:"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read."},{rung:"jsonrpc-shape",order:2,evaluatedAt:"edge",codes:[n0.InvalidRequest],conformance:["server-stateless"],rationale:"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic."},{rung:"era-classification",order:3,evaluatedAt:"edge",codes:[Xw,n0.UnsupportedProtocolVersion],conformance:["server-stateless","http-header-validation","http-custom-header-server-validation"],rationale:"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions."},{rung:"envelope",order:4,evaluatedAt:"edge",codes:[n0.InvalidParams],conformance:["server-stateless"],rationale:"A present envelope claim with a malformed envelope — and a missing envelope on a request whose protocol-version header names a modern revision — is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400."},{rung:"method-registry",order:5,evaluatedAt:"dispatch",codes:[n0.MethodNotFound],conformance:["server-stateless"],rationale:"Method existence outranks parameter validity: a method absent from the negotiated revision’s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at."},{rung:"request-params",order:6,evaluatedAt:"dispatch",codes:[n0.InvalidParams],conformance:[],rationale:"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table."},{rung:"standard-header-validation",order:7,evaluatedAt:"pre-dispatch",codes:[Xw],conformance:["http-header-validation"],rationale:"SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."},{rung:"client-capabilities",order:8,evaluatedAt:"pre-dispatch",codes:[n0.MissingRequiredClientCapability],conformance:["server-stateless"],rationale:"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced — pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable."},{rung:"param-header-validation",order:9,evaluatedAt:"pre-dispatch",codes:[Xw],conformance:["http-custom-header-server-validation"],rationale:"SEP-2243 `Mcp-Param-*` headers are validated against the named tool’s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung."}],Vf0={[n0.ParseError]:400,[n0.InvalidRequest]:400,[n0.MethodNotFound]:404,[n0.UnsupportedProtocolVersion]:400,[n0.MissingRequiredClientCapability]:400,[Xw]:400};wf0=/\\\.\\d\{(\d+)\}/;Bf0=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);Pf0=new Set(["$schema",...Object.keys(jQ.shape.requestedSchema.shape)]),oa={string:QW([AQ,aG,tG,eG]),number:QW([TQ]),integer:QW([TQ]),boolean:QW([sG]),array:QW([$W,YW])},Af0=new Set(AQ.shape.format.unwrap().options);_f0=Object.assign(Rf0,{elicit($){try{return{method:"elicitation/create",params:Cf0($)}}catch(Y){throw Y instanceof J1?TypeError(Y.message,{cause:Y}):Y}},elicitUrl($){return{method:"elicitation/create",params:{...$,mode:"url"}}},createMessage($){return{method:"sampling/createMessage",params:$}},listRoots(){return{method:"roots/list"}}});vf0=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],hf0={IdJagTokenExchangeResponseSchema:qh,OAuthClientInformationFullSchema:Lh,OAuthClientInformationSchema:Qw,OAuthClientMetadataSchema:Uw,OAuthClientRegistrationErrorSchema:Fh,OAuthErrorResponseSchema:Vh,OAuthMetadataSchema:Yw,OAuthProtectedResourceMetadataSchema:Hh,OAuthTokenRevocationRequestSchema:wh,OAuthTokensSchema:Zh,OpenIdProviderDiscoveryMetadataSchema:Xh,OpenIdProviderMetadataSchema:zw},Bt={},Pt={};for(let $ of vf0)At($,Wf0[$]);for(let[$,Y]of Object.entries(hf0))At($,Y);Sf0=Object.freeze(Bt),gf0=Object.freeze(Pt);kf0=[d9,LQ,m9,F3],xf0=["inputResponses","requestState"];ff0=HW(void 0);nh=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{jt=($,Y)=>{$._negotiatedProtocolVersion=Y}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor($){this._options=$,this._supportedProtocolVersions=$?.supportedProtocolVersions??wL,this.setNotificationHandler("notifications/cancelled",(Y)=>{this._oncancel(Y)}),this.setNotificationHandler("notifications/progress",(Y)=>{this._onprogress(Y)}),this.setRequestHandler("ping",(Y)=>({}))}_shouldDropInbound($){}_outboundMetaEnvelope(){}_envelopeOutbound($){let Y=this._outboundMetaEnvelope();if(Y===void 0)return $;let z=$.params??{};return{...$,params:{...z,_meta:{...Y,...z._meta}}}}_resolveNonCompleteResult($,Y){return Promise.reject(new V1(B1.UnsupportedResultType,`Unsupported result type '${$.kind}' for ${Y.request.method}`,{resultType:$.kind,method:Y.request.method}))}_getRequestHandler($){return this._requestHandlers.get($)}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,Y,z,U,Q=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(U,Y),startTime:Date.now(),timeout:Y,maxTotalTimeout:z,resetTimeoutOnProgress:Q,onTimeout:U})}_resetTimeout($){let Y=this._timeoutInfo.get($);if(!Y)return!1;let z=Date.now()-Y.startTime;if(Y.maxTotalTimeout&&z>=Y.maxTotalTimeout)throw this._timeoutInfo.delete($),new V1(B1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:Y.maxTotalTimeout,totalElapsed:z});return clearTimeout(Y.timeoutId),Y.timeoutId=setTimeout(Y.onTimeout,Y.timeout),!0}_cleanupTimeout($){let Y=this._timeoutInfo.get($);if(Y)clearTimeout(Y.timeoutId),this._timeoutInfo.delete($)}async connect($){this._transport=$;let Y=this.transport?.onclose;this._transport.onclose=()=>{try{Y?.()}finally{this._onclose()}};let z=this.transport?.onerror;this._transport.onerror=(Q)=>{z?.(Q),this._onerror(Q)};let U=this._transport?.onmessage;this._transport.onmessage=(Q,J)=>{if(U?.(Q,J),KW(Q)||Ow(Q))this._onresponse(Q);else if(D$(Q))this._onrequest(Q,J);else if(j3(Q))this._onnotification(Q,J);else this._onerror(Error(`Unknown message type: ${JSON.stringify(Q)}`))},$.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let $=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let U of this._timeoutInfo.values())clearTimeout(U.timeoutId);this._timeoutInfo.clear();let Y=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let z=new V1(B1.ConnectionClosed,"Connection closed");this._transport=void 0;try{this.onclose?.()}finally{for(let U of $.values())U(z);for(let U of Y.values())U.abort(z)}}_onerror($){this.onerror?.($)}_onnotification($,Y){let{message:z}=ra($,"notification"),U=this._negotiatedWireCodec();if(Y?.classification===void 0&&this._shouldDropInbound($)==="drop")return;if(Y?.classification!==void 0){let I=pa(Y.classification);if(I!==U.era){this._onerror(Error(`Era mismatch on inbound notification '${z.method}': classified as ${I} but this instance serves ${U.era}`));return}}if(Nh(z.method)&&!U.hasNotificationMethod(z.method))return;let Q=this._notificationHandlers.get(z.method),J=this.fallbackNotificationHandler;if(Q===void 0&&J===void 0)return;Promise.resolve().then(()=>Q===void 0?J(z):Q(z,U)).catch((I)=>this._onerror(Error(`Uncaught error in notification handler: ${I}`)))}_onrequest($,Y){let{message:z,lifted:U}=ra($,"request"),Q=this._negotiatedWireCodec();if(Y?.classification===void 0&&this._shouldDropInbound($)==="drop"){this._onerror(Error(`Dropped inbound request '${$.method}': not servable on this connection's protocol era`));return}let J=this._transport,I=(F,M,w)=>{let O={jsonrpc:"2.0",id:z.id,error:{code:F,message:M,...w!==void 0&&{data:w}}};J?.send(O).catch((D)=>this._onerror(Error(`Failed to send an error response: ${D}`)))};if(Y?.classification!==void 0){let F=pa(Y.classification);if(F!==Q.era){this._onerror(Error(`Era mismatch on inbound request '${z.method}': classified as ${F} but this instance serves ${Q.era}`));let M=Y.classification.revision??F;I(n0.UnsupportedProtocolVersion,`Unsupported protocol version: ${M}`,{supported:this._supportedProtocolVersions,requested:M});return}}if(Oh(z.method)&&!Q.hasRequestMethod(z.method)){I(n0.MethodNotFound,"Method not found");return}let K=this._requestHandlers.get(z.method)??this.fallbackRequestHandler;if(K===void 0){I(n0.MethodNotFound,"Method not found");return}let G=Q.checkInboundEnvelope(U);if(G!==void 0){I(n0.InvalidParams,G);return}let W=(F,M)=>this._notificationViaCodec(this._resolveOutboundCodec(F.method),F,{...M,relatedRequestId:z.id}),H=(F,M,w)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(F.method),F,M,{...w,relatedRequestId:z.id}),X=new AbortController;this._requestHandlerAbortControllers.set(z.id,X);let Z=U.inputResponses===void 0?void 0:uf0(U.inputResponses),q={sessionId:J?.sessionId,mcpReq:{id:z.id,method:z.method,_meta:z.params?._meta,...U.envelope!==void 0&&{envelope:U.envelope},...Z!==void 0&&{inputResponses:Z.accepted},...Z!==void 0&&Z.droppedKeys.length>0&&{droppedInputResponseKeys:Z.droppedKeys},requestState:U.requestState===void 0?ff0:HW(U.requestState),signal:X.signal,send:(F,M,w)=>{let O=this._resolveOutboundCodec(F.method);if(this._assertOutboundRequestInEra(O,F.method),RQ(M))return H(F,M,w);let D=sa(O,F.method);if(D===void 0)throw TypeError(`'${F.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return H(F,D,M)},notify:W},http:Y?.authInfo?{authInfo:Y.authInfo}:void 0},V=this.buildContext(q,Y);Promise.resolve().then(()=>K(z,V)).then(async(F)=>{if(X.signal.aborted)return;let M;try{M=Q.encodeResult(z.method,F,this._outboundServerInfo())}catch(O){this._onerror(Error(`Failed to encode result for ${z.method}: ${O}`)),I(n0.InternalError,"Internal error");return}let w={result:M,jsonrpc:"2.0",id:z.id};await J?.send(w)},async(F)=>{if(X.signal.aborted)return;let M=Number.isSafeInteger(F.code)?F.code:n0.InternalError,w={jsonrpc:"2.0",id:z.id,error:{code:Q.encodeErrorCode(M),message:F.message??"Internal error",...F.data!==void 0&&{data:F.data}}};await J?.send(w)}).catch((F)=>this._onerror(Error(`Failed to send response: ${F}`))).finally(()=>{if(this._requestHandlerAbortControllers.get(z.id)===X)this._requestHandlerAbortControllers.delete(z.id)})}_onprogress($){let{progressToken:Y,...z}=$.params,U=Number(Y),Q=this._progressHandlers.get(U);if(!Q){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let J=this._responseHandlers.get(U),I=this._timeoutInfo.get(U);if(I&&J&&I.resetTimeoutOnProgress)try{this._resetTimeout(U)}catch(K){this._responseHandlers.delete(U),this._progressHandlers.delete(U),this._cleanupTimeout(U),J(K);return}Q(z)}_onresponse($){let Y=Number($.id),z=this._responseHandlers.get(Y);if(z===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}if(this._responseHandlers.delete(Y),this._cleanupTimeout(Y),this._progressHandlers.delete(Y),KW($))z($);else z(J1.fromError($.error.code,$.error.message,$.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request($,Y,z){let U=this._resolveOutboundCodec($.method);if(this._assertOutboundRequestInEra(U,$.method),RQ(Y))return this._requestWithSchemaViaCodec(U,$,Y,z);let Q=sa(U,$.method);if(Q===void 0)throw TypeError(`'${$.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(U,$,Q,Y)}_negotiatedWireCodec(){return A3(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec($){if(this._negotiatedProtocolVersion===void 0){let Y=yf0($);if(Y)return Y}return this._negotiatedWireCodec()}_assertOutboundRequestInEra($,Y){if(Oh(Y)&&!$.hasRequestMethod(Y))throw new V1(B1.MethodNotSupportedByProtocolVersion,`Method '${Y}' is not supported by the negotiated protocol version (wire era ${$.era})`,{method:Y,era:$.era})}_requestWithSchema($,Y,z){let U=this._resolveOutboundCodec($.method);return this._assertOutboundRequestInEra(U,$.method),this._requestWithSchemaViaCodec(U,$,Y,z)}_requestWithSchemaViaCodec($,Y,z,U){let{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I,headers:K}=U??{},G=Date.now(),W,H;return new Promise((X,Z)=>{let q=(T)=>{Z(T)};if(!this._transport){q(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(Y.method)}catch(T){q(T);return}if(U?.signal?.aborted){let T=U.signal.reason;throw T instanceof V1?T:new V1(B1.RequestTimeout,String(T))}let V=$.era===WW&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,F=this._requestMessageId++;H=F;let M={...Y,jsonrpc:"2.0",id:F};if(U?.onprogress)this._progressHandlers.set(F,U.onprogress),M.params={...Y.params,_meta:{...Y.params?._meta,progressToken:F}};let w=this._envelopeOutbound(M),O=!1,D=(T)=>{if(O)return;if(this._progressHandlers.delete(F),V===void 0)this._transport?.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:F,reason:String(T)}}),{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I}).catch((B)=>this._onerror(Error(`Failed to send cancellation: ${B}`)));else V.abort();Z(T instanceof V1?T:new V1(B1.RequestTimeout,String(T)))};this._responseHandlers.set(F,(T)=>{if(U?.signal?.aborted)return;if(O=!0,T instanceof Error)return Z(T);let B;try{B=$.decodeResult(Y.method,T.result)}catch(C){return Z(C instanceof Error?C:Error(String(C)))}if(B.kind==="invalid")return Z(B.error);if(B.kind==="input_required"){if(U?.allowInputRequired===!0)return X(bf0(B));let C={codec:$,request:Y,resultSchema:z,options:U,flowStartedAt:G,retry:(b,k)=>this._requestWithSchemaViaCodec($,b===void 0?{method:Y.method}:{method:Y.method,params:b},z,k)};return X(this._resolveNonCompleteResult(B,C))}let j=B.result;kY(z,j).then((C)=>{if(C.success)X(C.data);else Z(new V1(B1.InvalidResult,`Invalid result for ${Y.method}: ${C.error}`))},Z)}),W=()=>D(U?.signal?.reason),U?.signal?.addEventListener("abort",W,{once:!0});let N=U?.timeout??Tt,A=()=>D(new V1(B1.RequestTimeout,"Request timed out",{timeout:N}));this._setupTimeout(F,N,U?.maxTotalTimeout,A,U?.resetTimeoutOnProgress??!1),this._transport.send(w,{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I,headers:K,requestSignal:V?.signal}).catch((T)=>{this._progressHandlers.delete(F),Z(T)})}).finally(()=>{if(W)U?.signal?.removeEventListener("abort",W);if(H!==void 0)this._responseHandlers.delete(H),this._cleanupTimeout(H)})}async notification($,Y){return this._notificationViaCodec(this._resolveOutboundCodec($.method),$,Y)}async _notificationViaCodec($,Y,z){if(!this._transport)throw new V1(B1.NotConnected,"Not connected");if(Nh(Y.method)&&!$.hasNotificationMethod(Y.method))throw new V1(B1.MethodNotSupportedByProtocolVersion,`Notification '${Y.method}' is not supported by the negotiated protocol version (wire era ${$.era})`,{method:Y.method,era:$.era});this.assertNotificationCapability(Y.method);let U=this._envelopeOutbound({jsonrpc:"2.0",...Y});if((this._options?.debouncedNotificationMethods??[]).includes(Y.method)&&!Y.params&&!z?.relatedRequestId){if(this._pendingDebouncedNotifications.has(Y.method))return;this._pendingDebouncedNotifications.add(Y.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(Y.method),!this._transport)return;this._transport?.send(U,z).catch((Q)=>this._onerror(Q))});return}await this._transport.send(U,z)}setRequestHandler($,Y,z){this.assertRequestHandlerCapability($);let U;if(typeof Y==="function"){if(!Oh($))throw TypeError(`'${$}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);U=(Q,J)=>{let I=this._negotiatedWireCodec(),K=I.validateRequest($,Q);if(!K.ok&&K.reason==="not-in-era")K=I.validateInputRequest($,Q);if(!K.ok){if(K.reason==="not-in-era")throw new J1(n0.InternalError,`No wire schema for ${$} in the resolved era`);throw Error(K.message)}return Promise.resolve(Y(K.value,J))}}else if(z)U=async(Q,J)=>{let I=await kY(Y.params,{...Q.params});if(!I.success)throw new J1(n0.InvalidParams,`Invalid params for ${$}: ${I.error}`);return z(I.data,J)};else throw TypeError("setRequestHandler: handler is required");this._requestHandlers.set($,this._wrapHandler($,U))}_wrapHandler($,Y){return Y}_outboundServerInfo(){}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,Y,z){if(typeof Y==="function"){if(!Nh($))throw TypeError(`'${$}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set($,(U,Q)=>{let J=Q.validateNotification($,U);if(!J.ok){if(J.reason==="not-in-era")throw new J1(n0.InternalError,`No wire schema for ${$} in the resolved era`);throw Error(J.message)}return Promise.resolve(Y(J.value))});return}if(!z)throw TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set($,async(U)=>{let Q=await kY(Y.params,{...U.params});if(!Q.success)throw new J1(n0.InvalidParams,`Invalid params for notification ${$}: ${Q.error}`);await z(Q.data,U)})}removeNotificationHandler($){this._notificationHandlers.delete($)}};/*! +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let I of $.seen.entries()){let K=I[1];if(Y===I[0]){J(I);continue}if($.external){let W=$.external.registry.get(I[0])?.id;if(Y!==I[0]&&W){J(I);continue}}if($.metadataRegistry.get(I[0])?.id){J(I);continue}if(K.cycle){J(I);continue}if(K.count>1){if($.reused==="ref"){J(I);continue}}}}function Z3($,Y){let z=$.seen.get(Y);if(!z)throw Error("Unprocessed schema. This is a bug in Zod.");let U=(K)=>{let G=$.seen.get(K);if(G.ref===null)return;let W=G.def??G.schema,H={...W},X=G.ref;if(G.ref=null,X){U(X);let q=$.seen.get(X),V=q.schema;if(V.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))W.allOf=W.allOf??[],W.allOf.push(V);else Object.assign(W,V);if(Object.assign(W,H),K._zod.parent===X)for(let M in W){if(M==="$ref"||M==="allOf")continue;if(!(M in H))delete W[M]}if(V.$ref&&q.def)for(let M in W){if(M==="$ref"||M==="allOf")continue;if(M in q.def&&JSON.stringify(W[M])===JSON.stringify(q.def[M]))delete W[M]}}let Z=K._zod.parent;if(Z&&Z!==X){U(Z);let q=$.seen.get(Z);if(q?.schema.$ref){if(W.$ref=q.schema.$ref,q.def)for(let V in W){if(V==="$ref"||V==="allOf")continue;if(V in q.def&&JSON.stringify(W[V])===JSON.stringify(q.def[V]))delete W[V]}}}$.override({zodSchema:K,jsonSchema:W,path:G.path??[]})};for(let K of[...$.seen.entries()].reverse())U(K[0]);let Q={};if($.target==="draft-2020-12")Q.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")Q.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")Q.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let K=$.external.registry.get(Y)?.id;if(!K)throw Error("Schema is missing an `id` property");Q.$id=$.external.uri(K)}Object.assign(Q,z.def??z.schema);let J=$.metadataRegistry.get(Y)?.id;if(J!==void 0&&Q.id===J)delete Q.id;let I=$.external?.defs??{};for(let K of $.seen.entries()){let G=K[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;I[G.defId]=G.def}}if($.external);else if(Object.keys(I).length>0)if($.target==="draft-2020-12")Q.$defs=I;else Q.definitions=I;try{let K=JSON.parse(JSON.stringify(Q));return Object.defineProperty(K,"~standard",{value:{...Y["~standard"],jsonSchema:{input:IQ(Y,"input",$.processors),output:IQ(Y,"output",$.processors)}},enumerable:!1,writable:!1}),K}catch(K){throw Error("Error converting schema to JSON.")}}function A8($,Y){let z=Y??{seen:new Set};if(z.seen.has($))return!1;z.seen.add($);let U=$._zod.def;if(U.type==="transform")return!0;if(U.type==="array")return A8(U.element,z);if(U.type==="set")return A8(U.valueType,z);if(U.type==="lazy")return A8(U.getter(),z);if(U.type==="promise"||U.type==="optional"||U.type==="nonoptional"||U.type==="nullable"||U.type==="readonly"||U.type==="default"||U.type==="prefault")return A8(U.innerType,z);if(U.type==="intersection")return A8(U.left,z)||A8(U.right,z);if(U.type==="record"||U.type==="map")return A8(U.keyType,z)||A8(U.valueType,z);if(U.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return A8(U.in,z)||A8(U.out,z)}if(U.type==="object"){for(let Q in U.shape)if(A8(U.shape[Q],z))return!0;return!1}if(U.type==="union"){for(let Q of U.options)if(A8(Q,z))return!0;return!1}if(U.type==="tuple"){for(let Q of U.items)if(A8(Q,z))return!0;if(U.rest&&A8(U.rest,z))return!0;return!1}return!1}var tR=($,Y={})=>(z)=>{let U=H3({...z,processors:Y});return I4($,U),X3(U,$),Z3(U,$)},IQ=($,Y,z={})=>(U)=>{let{libraryOptions:Q,target:J}=U??{},I=H3({...Q??{},target:J,io:Y,processors:z});return I4($,I),X3(I,$),Z3(I,$)};var VG=o(()=>{XG()});function RY($,Y){if("_idmap"in $){let U=$,Q=H3({...Y,processors:kV}),J={};for(let G of U._idmap.entries()){let[W,H]=G;I4(H,Q)}let I={},K={registry:U,uri:Y?.uri,defs:J};Q.external=K;for(let G of U._idmap.entries()){let[W,H]=G;X3(Q,H),I[W]=Z3(Q,H)}if(Object.keys(J).length>0){let G=Q.target==="draft-2020-12"?"$defs":"definitions";I.__shared={[G]:J}}return{schemas:I}}let z=H3({...Y,processors:kV});return I4($,z),X3(z,$),Z3(z,$)}var Xx0,eR=($,Y,z,U)=>{let Q=z;Q.type="string";let{minimum:J,maximum:I,format:K,patterns:G,contentEncoding:W}=$._zod.bag;if(typeof J==="number")Q.minLength=J;if(typeof I==="number")Q.maxLength=I;if(K){if(Q.format=Xx0[K]??K,Q.format==="")delete Q.format;if(K==="time")delete Q.format}if(W)Q.contentEncoding=W;if(G&&G.size>0){let H=[...G];if(H.length===1)Q.pattern=H[0].source;else if(H.length>1)Q.allOf=[...H.map((X)=>({...Y.target==="draft-07"||Y.target==="draft-04"||Y.target==="openapi-3.0"?{type:"string"}:{},pattern:X.source}))]}},$_=($,Y,z,U)=>{let Q=z,{minimum:J,maximum:I,format:K,multipleOf:G,exclusiveMaximum:W,exclusiveMinimum:H}=$._zod.bag;if(typeof K==="string"&&K.includes("int"))Q.type="integer";else Q.type="number";let X=typeof H==="number"&&H>=(J??Number.NEGATIVE_INFINITY),Z=typeof W==="number"&&W<=(I??Number.POSITIVE_INFINITY),q=Y.target==="draft-04"||Y.target==="openapi-3.0";if(X)if(q)Q.minimum=H,Q.exclusiveMinimum=!0;else Q.exclusiveMinimum=H;else if(typeof J==="number")Q.minimum=J;if(Z)if(q)Q.maximum=W,Q.exclusiveMaximum=!0;else Q.exclusiveMaximum=W;else if(typeof I==="number")Q.maximum=I;if(typeof G==="number")Q.multipleOf=G},Y_=($,Y,z,U)=>{z.type="boolean"},z_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},U_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},Q_=($,Y,z,U)=>{if(Y.target==="openapi-3.0")z.type="string",z.nullable=!0,z.enum=[null];else z.type="null"},J_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},I_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},K_=($,Y,z,U)=>{z.not={}},G_=($,Y,z,U)=>{},W_=($,Y,z,U)=>{},H_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},X_=($,Y,z,U)=>{let Q=$._zod.def,J=mK(Q.entries);if(J.every((I)=>typeof I==="number"))z.type="number";if(J.every((I)=>typeof I==="string"))z.type="string";z.enum=J},Z_=($,Y,z,U)=>{let Q=$._zod.def,J=[];for(let I of Q.values)if(I===void 0){if(Y.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof I==="bigint")if(Y.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else J.push(Number(I));else J.push(I);if(J.length===0);else if(J.length===1){let I=J[0];if(z.type=I===null?"null":typeof I,Y.target==="draft-04"||Y.target==="openapi-3.0")z.enum=[I];else z.const=I}else{if(J.every((I)=>typeof I==="number"))z.type="number";if(J.every((I)=>typeof I==="string"))z.type="string";if(J.every((I)=>typeof I==="boolean"))z.type="boolean";if(J.every((I)=>I===null))z.type="null";z.enum=J}},q_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},V_=($,Y,z,U)=>{let Q=z,J=$._zod.pattern;if(!J)throw Error("Pattern not found in template literal");Q.type="string",Q.pattern=J.source},L_=($,Y,z,U)=>{let Q=z,J={type:"string",format:"binary",contentEncoding:"binary"},{minimum:I,maximum:K,mime:G}=$._zod.bag;if(I!==void 0)J.minLength=I;if(K!==void 0)J.maxLength=K;if(G)if(G.length===1)J.contentMediaType=G[0],Object.assign(Q,J);else Object.assign(Q,J),Q.anyOf=G.map((W)=>({contentMediaType:W}));else Object.assign(Q,J)},F_=($,Y,z,U)=>{z.type="boolean"},w_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},M_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},O_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},N_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},D_=($,Y,z,U)=>{if(Y.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},B_=($,Y,z,U)=>{let Q=z,J=$._zod.def,{minimum:I,maximum:K}=$._zod.bag;if(typeof I==="number")Q.minItems=I;if(typeof K==="number")Q.maxItems=K;Q.type="array",Q.items=I4(J.element,Y,{...U,path:[...U.path,"items"]})},P_=($,Y,z,U)=>{let Q=z,J=$._zod.def;Q.type="object",Q.properties={};let I=J.shape;for(let W in I)Q.properties[W]=I4(I[W],Y,{...U,path:[...U.path,"properties",W]});let K=new Set(Object.keys(I)),G=new Set([...K].filter((W)=>{let H=J.shape[W]._zod;if(Y.io==="input")return H.optin===void 0;else return H.optout===void 0}));if(G.size>0)Q.required=Array.from(G);if(J.catchall?._zod.def.type==="never")Q.additionalProperties=!1;else if(!J.catchall){if(Y.io==="output")Q.additionalProperties=!1}else if(J.catchall)Q.additionalProperties=I4(J.catchall,Y,{...U,path:[...U.path,"additionalProperties"]})},xV=($,Y,z,U)=>{let Q=$._zod.def,J=Q.inclusive===!1,I=Q.options.map((K,G)=>I4(K,Y,{...U,path:[...U.path,J?"oneOf":"anyOf",G]}));if(J)z.oneOf=I;else z.anyOf=I},A_=($,Y,z,U)=>{let Q=$._zod.def,J=I4(Q.left,Y,{...U,path:[...U.path,"allOf",0]}),I=I4(Q.right,Y,{...U,path:[...U.path,"allOf",1]}),K=(W)=>("allOf"in W)&&Object.keys(W).length===1,G=[...K(J)?J.allOf:[J],...K(I)?I.allOf:[I]];z.allOf=G},T_=($,Y,z,U)=>{let Q=z,J=$._zod.def;Q.type="array";let I=Y.target==="draft-2020-12"?"prefixItems":"items",K=Y.target==="draft-2020-12"?"items":Y.target==="openapi-3.0"?"items":"additionalItems",G=J.items.map((Z,q)=>I4(Z,Y,{...U,path:[...U.path,I,q]})),W=J.rest?I4(J.rest,Y,{...U,path:[...U.path,K,...Y.target==="openapi-3.0"?[J.items.length]:[]]}):null;if(Y.target==="draft-2020-12"){if(Q.prefixItems=G,W)Q.items=W}else if(Y.target==="openapi-3.0"){if(Q.items={anyOf:G},W)Q.items.anyOf.push(W);if(Q.minItems=G.length,!W)Q.maxItems=G.length}else if(Q.items=G,W)Q.additionalItems=W;let{minimum:H,maximum:X}=$._zod.bag;if(typeof H==="number")Q.minItems=H;if(typeof X==="number")Q.maxItems=X},j_=($,Y,z,U)=>{let Q=z,J=$._zod.def;Q.type="object";let I=J.keyType,G=I._zod.bag?.patterns;if(J.mode==="loose"&&G&&G.size>0){let H=I4(J.valueType,Y,{...U,path:[...U.path,"patternProperties","*"]});Q.patternProperties={};for(let X of G)Q.patternProperties[X.source]=H}else{if(Y.target==="draft-07"||Y.target==="draft-2020-12")Q.propertyNames=I4(J.keyType,Y,{...U,path:[...U.path,"propertyNames"]});Q.additionalProperties=I4(J.valueType,Y,{...U,path:[...U.path,"additionalProperties"]})}let W=I._zod.values;if(W){let H=[...W].filter((X)=>typeof X==="string"||typeof X==="number");if(H.length>0)Q.required=H}},E_=($,Y,z,U)=>{let Q=$._zod.def,J=I4(Q.innerType,Y,U),I=Y.seen.get($);if(Y.target==="openapi-3.0")I.ref=Q.innerType,z.nullable=!0;else z.anyOf=[J,{type:"null"}]},C_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType},R_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType,z.default=JSON.parse(JSON.stringify(Q.defaultValue))},__=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);if(J.ref=Q.innerType,Y.io==="input")z._prefault=JSON.parse(JSON.stringify(Q.defaultValue))},v_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType;let I;try{I=Q.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}z.default=I},h_=($,Y,z,U)=>{let Q=$._zod.def,J=Q.in._zod.traits.has("$ZodTransform"),I=Y.io==="input"?J?Q.out:Q.in:Q.out;I4(I,Y,U);let K=Y.seen.get($);K.ref=I},S_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType,z.readOnly=!0},g_=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType},fV=($,Y,z,U)=>{let Q=$._zod.def;I4(Q.innerType,Y,U);let J=Y.seen.get($);J.ref=Q.innerType},y_=($,Y,z,U)=>{let Q=$._zod.innerType;I4(Q,Y,U);let J=Y.seen.get($);J.ref=Q},kV;var LG=o(()=>{VG();$1();Xx0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},kV={string:eR,number:$_,boolean:Y_,bigint:z_,symbol:U_,null:Q_,undefined:J_,void:I_,never:K_,any:G_,unknown:W_,date:H_,enum:X_,literal:Z_,nan:q_,template_literal:V_,file:L_,success:F_,custom:w_,function:M_,transform:O_,map:N_,set:D_,array:B_,object:P_,union:xV,intersection:A_,tuple:T_,record:j_,nullable:E_,nonoptional:C_,default:R_,prefault:__,catch:v_,pipe:h_,readonly:S_,promise:g_,optional:fV,lazy:y_}});class k_{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";this.ctx=H3({processors:kV,target:Y,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,Y={path:[],schemaPath:[]}){return I4($,this.ctx,Y)}emit($,Y){if(Y){if(Y.cycles)this.ctx.cycles=Y.cycles;if(Y.reused)this.ctx.reused=Y.reused;if(Y.external)this.ctx.external=Y.external}X3(this.ctx,$);let z=Z3(this.ctx,$),{"~standard":U,...Q}=z;return Q}}var Ws=o(()=>{LG();VG()});var Hs={};var Xs=()=>{};var n9={};x8(n9,{version:()=>tj,util:()=>y0,treeifyError:()=>eT,toJSONSchema:()=>RY,toDotPath:()=>go,safeParseAsync:()=>Uj,safeParse:()=>zj,safeEncodeAsync:()=>Ly0,safeEncode:()=>qy0,safeDecodeAsync:()=>Fy0,safeDecode:()=>Vy0,registry:()=>HV,regexes:()=>Y$,process:()=>I4,prettifyError:()=>$j,parseAsync:()=>bq,parse:()=>uq,meta:()=>sR,locales:()=>HG,isValidJWT:()=>Ur,isValidBase64URL:()=>zr,isValidBase64:()=>DE,initializeContext:()=>H3,globalRegistry:()=>n6,globalConfig:()=>NY,formatError:()=>eK,flattenError:()=>tK,finalize:()=>Z3,extractDefs:()=>X3,encodeAsync:()=>Xy0,encode:()=>Wy0,describe:()=>rR,decodeAsync:()=>Zy0,decode:()=>Hy0,createToJSONSchemaMethod:()=>tR,createStandardJSONSchemaMethod:()=>IQ,config:()=>a4,clone:()=>D8,_xor:()=>nk0,_xid:()=>DV,_void:()=>bR,_uuidv7:()=>LV,_uuidv6:()=>VV,_uuidv4:()=>qV,_uuid:()=>ZV,_url:()=>qG,_uppercase:()=>rU,_unknown:()=>fR,_union:()=>ck0,_undefined:()=>yR,_ulid:()=>NV,_uint64:()=>SR,_uint32:()=>ER,_tuple:()=>mk0,_trim:()=>YQ,_transform:()=>ek0,_toUpperCase:()=>UQ,_toLowerCase:()=>zQ,_templateLiteral:()=>Gx0,_symbol:()=>gR,_superRefine:()=>oR,_success:()=>Qx0,_stringbool:()=>aR,_stringFormat:()=>JQ,_string:()=>qR,_startsWith:()=>aU,_slugify:()=>QQ,_size:()=>jY,_set:()=>rk0,_safeParseAsync:()=>pU,_safeParse:()=>nU,_safeEncodeAsync:()=>lq,_safeEncode:()=>dq,_safeDecodeAsync:()=>oq,_safeDecode:()=>mq,_regex:()=>lU,_refine:()=>lR,_record:()=>lk0,_readonly:()=>Kx0,_property:()=>yV,_promise:()=>Hx0,_positive:()=>vV,_pipe:()=>Ix0,_parseAsync:()=>cU,_parse:()=>iU,_overwrite:()=>Y5,_optional:()=>$x0,_number:()=>DR,_nullable:()=>Yx0,_null:()=>kR,_normalize:()=>$Q,_nonpositive:()=>SV,_nonoptional:()=>Ux0,_nonnegative:()=>gV,_never:()=>uR,_negative:()=>hV,_nativeEnum:()=>ak0,_nanoid:()=>wV,_nan:()=>nR,_multipleOf:()=>G3,_minSize:()=>i5,_minLength:()=>c9,_min:()=>P8,_mime:()=>eU,_maxSize:()=>W3,_maxLength:()=>EY,_max:()=>z$,_map:()=>ok0,_mac:()=>LR,_lte:()=>z$,_lt:()=>u5,_lowercase:()=>oU,_literal:()=>tk0,_length:()=>CY,_lazy:()=>Wx0,_ksuid:()=>BV,_jwt:()=>_V,_isoTime:()=>OR,_isoDuration:()=>NR,_isoDateTime:()=>wR,_isoDate:()=>MR,_ipv6:()=>AV,_ipv4:()=>PV,_intersection:()=>dk0,_int64:()=>hR,_int32:()=>jR,_int:()=>PR,_includes:()=>sU,_guid:()=>ZG,_gte:()=>P8,_gt:()=>b5,_float64:()=>TR,_float32:()=>AR,_file:()=>dR,_enum:()=>sk0,_endsWith:()=>tU,_encodeAsync:()=>nq,_encode:()=>iq,_emoji:()=>FV,_email:()=>XV,_e164:()=>RV,_discriminatedUnion:()=>pk0,_default:()=>zx0,_decodeAsync:()=>pq,_decode:()=>cq,_date:()=>iR,_custom:()=>mR,_cuid2:()=>OV,_cuid:()=>MV,_coercedString:()=>VR,_coercedNumber:()=>BR,_coercedDate:()=>cR,_coercedBoolean:()=>RR,_coercedBigint:()=>vR,_cidrv6:()=>jV,_cidrv4:()=>TV,_check:()=>Ks,_catch:()=>Jx0,_boolean:()=>CR,_bigint:()=>_R,_base64url:()=>CV,_base64:()=>EV,_array:()=>pR,_any:()=>xR,TimePrecision:()=>FR,NEVER:()=>pK,JSONSchemaGenerator:()=>k_,JSONSchema:()=>Hs,Doc:()=>$V,$output:()=>HR,$input:()=>XR,$constructor:()=>W0,$brand:()=>cT,$ZodXor:()=>uE,$ZodXID:()=>HE,$ZodVoid:()=>yE,$ZodUnknown:()=>SE,$ZodUnion:()=>QG,$ZodUndefined:()=>_E,$ZodUUID:()=>zE,$ZodURL:()=>QE,$ZodULID:()=>WE,$ZodType:()=>q1,$ZodTuple:()=>KV,$ZodTransform:()=>oE,$ZodTemplateLiteral:()=>JC,$ZodSymbol:()=>RE,$ZodSuccess:()=>$C,$ZodStringFormat:()=>X4,$ZodString:()=>TY,$ZodSet:()=>pE,$ZodRegistry:()=>ZR,$ZodRecord:()=>cE,$ZodRealError:()=>u8,$ZodReadonly:()=>QC,$ZodPromise:()=>KC,$ZodPreprocess:()=>UC,$ZodPrefault:()=>tE,$ZodPipe:()=>WV,$ZodOptional:()=>GV,$ZodObjectJIT:()=>fE,$ZodObject:()=>Ir,$ZodNumberFormat:()=>EE,$ZodNumber:()=>JV,$ZodNullable:()=>sE,$ZodNull:()=>vE,$ZodNonOptional:()=>eE,$ZodNever:()=>gE,$ZodNanoID:()=>IE,$ZodNaN:()=>zC,$ZodMap:()=>nE,$ZodMAC:()=>ME,$ZodLiteral:()=>mE,$ZodLazy:()=>GC,$ZodKSUID:()=>XE,$ZodJWT:()=>TE,$ZodIntersection:()=>iE,$ZodISOTime:()=>VE,$ZodISODuration:()=>LE,$ZodISODateTime:()=>ZE,$ZodISODate:()=>qE,$ZodIPv6:()=>wE,$ZodIPv4:()=>FE,$ZodGUID:()=>YE,$ZodFunction:()=>IC,$ZodFile:()=>lE,$ZodExactOptional:()=>rE,$ZodError:()=>aK,$ZodEnum:()=>dE,$ZodEncodeError:()=>DY,$ZodEmoji:()=>JE,$ZodEmail:()=>UE,$ZodE164:()=>AE,$ZodDiscriminatedUnion:()=>bE,$ZodDefault:()=>aE,$ZodDate:()=>kE,$ZodCustomStringFormat:()=>jE,$ZodCustom:()=>WC,$ZodCodec:()=>JG,$ZodCheckUpperCase:()=>dj,$ZodCheckStringFormat:()=>dU,$ZodCheckStartsWith:()=>lj,$ZodCheckSizeEquals:()=>uj,$ZodCheckRegex:()=>nj,$ZodCheckProperty:()=>rj,$ZodCheckOverwrite:()=>aj,$ZodCheckNumberFormat:()=>yj,$ZodCheckMultipleOf:()=>gj,$ZodCheckMinSize:()=>fj,$ZodCheckMinLength:()=>ij,$ZodCheckMimeType:()=>sj,$ZodCheckMaxSize:()=>xj,$ZodCheckMaxLength:()=>bj,$ZodCheckLowerCase:()=>pj,$ZodCheckLessThan:()=>aq,$ZodCheckLengthEquals:()=>cj,$ZodCheckIncludes:()=>mj,$ZodCheckGreaterThan:()=>tq,$ZodCheckEndsWith:()=>oj,$ZodCheckBigIntFormat:()=>kj,$ZodCheck:()=>V4,$ZodCatch:()=>YC,$ZodCUID2:()=>GE,$ZodCUID:()=>KE,$ZodCIDRv6:()=>NE,$ZodCIDRv4:()=>OE,$ZodBoolean:()=>UG,$ZodBigIntFormat:()=>CE,$ZodBigInt:()=>IV,$ZodBase64URL:()=>PE,$ZodBase64:()=>BE,$ZodAsyncError:()=>f5,$ZodArray:()=>xE,$ZodAny:()=>hE});var U$=o(()=>{$1();sq();WR();LG();Ws();Xs();BY();Qj();Yj();HC();eq();ej();XG();Gs();VG()});var uV={};x8(uV,{uppercase:()=>rU,trim:()=>YQ,toUpperCase:()=>UQ,toLowerCase:()=>zQ,startsWith:()=>aU,slugify:()=>QQ,size:()=>jY,regex:()=>lU,property:()=>yV,positive:()=>vV,overwrite:()=>Y5,normalize:()=>$Q,nonpositive:()=>SV,nonnegative:()=>gV,negative:()=>hV,multipleOf:()=>G3,minSize:()=>i5,minLength:()=>c9,mime:()=>eU,maxSize:()=>W3,maxLength:()=>EY,lte:()=>z$,lt:()=>u5,lowercase:()=>oU,length:()=>CY,includes:()=>sU,gte:()=>P8,gt:()=>b5,endsWith:()=>tU});var bV=o(()=>{U$()});var Q$={};x8(Q$,{time:()=>u_,duration:()=>b_,datetime:()=>x_,date:()=>f_,ZodISOTime:()=>nV,ZodISODuration:()=>pV,ZodISODateTime:()=>iV,ZodISODate:()=>cV});function x_($){return wR(iV,$)}function f_($){return MR(cV,$)}function u_($){return OR(nV,$)}function b_($){return NR(pV,$)}var iV,cV,nV,pV;var FG=o(()=>{U$();MG();iV=W0("ZodISODateTime",($,Y)=>{ZE.init($,Y),Z4.init($,Y)});cV=W0("ZodISODate",($,Y)=>{qE.init($,Y),Z4.init($,Y)});nV=W0("ZodISOTime",($,Y)=>{VE.init($,Y),Z4.init($,Y)});pV=W0("ZodISODuration",($,Y)=>{LE.init($,Y),Z4.init($,Y)})});var Zs=($,Y)=>{aK.init($,Y),$.name="ZodError",Object.defineProperties($,{format:{value:(z)=>eK($,z)},flatten:{value:(z)=>tK($,z)},addIssue:{value:(z)=>{$.issues.push(z),$.message=JSON.stringify($.issues,fU,2)}},addIssues:{value:(z)=>{$.issues.push(...z),$.message=JSON.stringify($.issues,fU,2)}},isEmpty:{get(){return $.issues.length===0}}})},qx0,b8;var i_=o(()=>{U$();U$();$1();qx0=W0("ZodError",Zs),b8=W0("ZodError",Zs,{Parent:Error})});var c_,n_,OG,p_,d_,m_,l_,o_,r_,s_,a_,t_;var e_=o(()=>{U$();i_();c_=iU(b8),n_=cU(b8),OG=nU(b8),p_=pU(b8),d_=iq(b8),m_=cq(b8),l_=nq(b8),o_=pq(b8),r_=dq(b8),s_=mq(b8),a_=lq(b8),t_=oq(b8)});var wG={};x8(wG,{xor:()=>es,xid:()=>Ts,void:()=>rs,uuidv7:()=>Ms,uuidv6:()=>ws,uuidv4:()=>Fs,uuid:()=>Ls,url:()=>HQ,unknown:()=>a0,union:()=>o0,undefined:()=>os,ulid:()=>As,uint64:()=>ms,uint32:()=>ns,tuple:()=>qv,transform:()=>VL,templateLiteral:()=>Xa,symbol:()=>ls,superRefine:()=>uv,success:()=>Ka,stringbool:()=>Oa,stringFormat:()=>ks,string:()=>R,strictObject:()=>ts,set:()=>Ua,refine:()=>fv,record:()=>p0,readonly:()=>Sv,promise:()=>Za,preprocess:()=>p9,prefault:()=>Tv,pipe:()=>mV,partialRecord:()=>$a,optional:()=>t0,object:()=>z0,number:()=>_0,nullish:()=>Ia,nullable:()=>DG,null:()=>n5,nonoptional:()=>jv,never:()=>qL,nativeEnum:()=>Qa,nanoid:()=>Ds,nan:()=>Ga,meta:()=>wa,map:()=>za,mac:()=>Cs,looseRecord:()=>Ya,looseObject:()=>Q1,literal:()=>V0,lazy:()=>V3,ksuid:()=>js,keyof:()=>as,jwt:()=>ys,json:()=>Na,ipv6:()=>Rs,ipv4:()=>Es,invertCodec:()=>Ha,intersection:()=>z5,int64:()=>ds,int32:()=>cs,int:()=>dV,instanceof:()=>Ma,httpUrl:()=>Os,hostname:()=>xs,hex:()=>fs,hash:()=>us,guid:()=>Vs,function:()=>qa,float64:()=>is,float32:()=>bs,file:()=>Ja,exactOptional:()=>Nv,enum:()=>H1,emoji:()=>Ns,email:()=>rV,e164:()=>gs,discriminatedUnion:()=>q3,describe:()=>Fa,date:()=>ss,custom:()=>La,cuid2:()=>Ps,cuid:()=>Bs,codec:()=>Wa,cidrv6:()=>vs,cidrv4:()=>_s,check:()=>Va,catch:()=>Rv,boolean:()=>m0,bigint:()=>ps,base64url:()=>Ss,base64:()=>hs,array:()=>q0,any:()=>ZL,_function:()=>qa,_default:()=>Pv,_ZodString:()=>lV,ZodXor:()=>Wv,ZodXID:()=>YL,ZodVoid:()=>Kv,ZodUnknown:()=>Jv,ZodUnion:()=>jG,ZodUndefined:()=>zv,ZodUUID:()=>c5,ZodURL:()=>PG,ZodULID:()=>$L,ZodType:()=>w1,ZodTuple:()=>Zv,ZodTransform:()=>Mv,ZodTemplateLiteral:()=>gv,ZodSymbol:()=>Yv,ZodSuccess:()=>Ev,ZodStringFormat:()=>Z4,ZodString:()=>WQ,ZodSet:()=>Lv,ZodRecord:()=>KQ,ZodReadonly:()=>hv,ZodPromise:()=>kv,ZodPreprocess:()=>vv,ZodPrefault:()=>Av,ZodPipe:()=>EG,ZodOptional:()=>LL,ZodObject:()=>TG,ZodNumberFormat:()=>_Y,ZodNumber:()=>ZQ,ZodNullable:()=>Dv,ZodNull:()=>Uv,ZodNonOptional:()=>FL,ZodNever:()=>Iv,ZodNanoID:()=>aV,ZodNaN:()=>_v,ZodMap:()=>Vv,ZodMAC:()=>$v,ZodLiteral:()=>Fv,ZodLazy:()=>yv,ZodKSUID:()=>zL,ZodJWT:()=>HL,ZodIntersection:()=>Xv,ZodIPv6:()=>QL,ZodIPv4:()=>UL,ZodGUID:()=>NG,ZodFunction:()=>xv,ZodFile:()=>wv,ZodExactOptional:()=>Ov,ZodEnum:()=>GQ,ZodEmoji:()=>sV,ZodEmail:()=>oV,ZodE164:()=>WL,ZodDiscriminatedUnion:()=>Hv,ZodDefault:()=>Bv,ZodDate:()=>AG,ZodCustomStringFormat:()=>XQ,ZodCustom:()=>RG,ZodCodec:()=>CG,ZodCatch:()=>Cv,ZodCUID2:()=>eV,ZodCUID:()=>tV,ZodCIDRv6:()=>IL,ZodCIDRv4:()=>JL,ZodBoolean:()=>qQ,ZodBigIntFormat:()=>XL,ZodBigInt:()=>VQ,ZodBase64URL:()=>GL,ZodBase64:()=>KL,ZodArray:()=>Gv,ZodAny:()=>Qv});function BG($,Y,z){let U=Object.getPrototypeOf($),Q=qs.get(U);if(!Q)Q=new Set,qs.set(U,Q);if(Q.has(Y))return;Q.add(Y);for(let J in z){let I=z[J];Object.defineProperty(U,J,{configurable:!0,enumerable:!1,get(){let K=I.bind(this);return Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K}),K},set(K){Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K})}})}}function R($){return qR(WQ,$)}function rV($){return XV(oV,$)}function Vs($){return ZG(NG,$)}function Ls($){return ZV(c5,$)}function Fs($){return qV(c5,$)}function ws($){return VV(c5,$)}function Ms($){return LV(c5,$)}function HQ($){return qG(PG,$)}function Os($){return qG(PG,{protocol:Y$.httpProtocol,hostname:Y$.domain,...y0.normalizeParams($)})}function Ns($){return FV(sV,$)}function Ds($){return wV(aV,$)}function Bs($){return MV(tV,$)}function Ps($){return OV(eV,$)}function As($){return NV($L,$)}function Ts($){return DV(YL,$)}function js($){return BV(zL,$)}function Es($){return PV(UL,$)}function Cs($){return LR($v,$)}function Rs($){return AV(QL,$)}function _s($){return TV(JL,$)}function vs($){return jV(IL,$)}function hs($){return EV(KL,$)}function Ss($){return CV(GL,$)}function gs($){return RV(WL,$)}function ys($){return _V(HL,$)}function ks($,Y,z={}){return JQ(XQ,$,Y,z)}function xs($){return JQ(XQ,"hostname",Y$.hostname,$)}function fs($){return JQ(XQ,"hex",Y$.hex,$)}function us($,Y){let z=Y?.enc??"hex",U=`${$}_${z}`,Q=Y$[U];if(!Q)throw Error(`Unrecognized hash format: ${U}`);return JQ(XQ,U,Q,Y)}function _0($){return DR(ZQ,$)}function dV($){return PR(_Y,$)}function bs($){return AR(_Y,$)}function is($){return TR(_Y,$)}function cs($){return jR(_Y,$)}function ns($){return ER(_Y,$)}function m0($){return CR(qQ,$)}function ps($){return _R(VQ,$)}function ds($){return hR(XL,$)}function ms($){return SR(XL,$)}function ls($){return gR(Yv,$)}function os($){return yR(zv,$)}function n5($){return kR(Uv,$)}function ZL(){return xR(Qv)}function a0(){return fR(Jv)}function qL($){return uR(Iv,$)}function rs($){return bR(Kv,$)}function ss($){return iR(AG,$)}function q0($,Y){return pR(Gv,$,Y)}function as($){let Y=$._zod.def.shape;return H1(Object.keys(Y))}function z0($,Y){let z={type:"object",shape:$??{},...y0.normalizeParams(Y)};return new TG(z)}function ts($,Y){return new TG({type:"object",shape:$,catchall:qL(),...y0.normalizeParams(Y)})}function Q1($,Y){return new TG({type:"object",shape:$,catchall:a0(),...y0.normalizeParams(Y)})}function o0($,Y){return new jG({type:"union",options:$,...y0.normalizeParams(Y)})}function es($,Y){return new Wv({type:"union",options:$,inclusive:!1,...y0.normalizeParams(Y)})}function q3($,Y,z){return new Hv({type:"union",options:Y,discriminator:$,...y0.normalizeParams(z)})}function z5($,Y){return new Xv({type:"intersection",left:$,right:Y})}function qv($,Y,z){let U=Y instanceof q1,Q=U?z:Y;return new Zv({type:"tuple",items:$,rest:U?Y:null,...y0.normalizeParams(Q)})}function p0($,Y,z){if(!Y||!Y._zod)return new KQ({type:"record",keyType:R(),valueType:$,...y0.normalizeParams(Y)});return new KQ({type:"record",keyType:$,valueType:Y,...y0.normalizeParams(z)})}function $a($,Y,z){let U=D8($);return U._zod.values=void 0,new KQ({type:"record",keyType:U,valueType:Y,...y0.normalizeParams(z)})}function Ya($,Y,z){return new KQ({type:"record",keyType:$,valueType:Y,mode:"loose",...y0.normalizeParams(z)})}function za($,Y,z){return new Vv({type:"map",keyType:$,valueType:Y,...y0.normalizeParams(z)})}function Ua($,Y){return new Lv({type:"set",valueType:$,...y0.normalizeParams(Y)})}function H1($,Y){let z=Array.isArray($)?Object.fromEntries($.map((U)=>[U,U])):$;return new GQ({type:"enum",entries:z,...y0.normalizeParams(Y)})}function Qa($,Y){return new GQ({type:"enum",entries:$,...y0.normalizeParams(Y)})}function V0($,Y){return new Fv({type:"literal",values:Array.isArray($)?$:[$],...y0.normalizeParams(Y)})}function Ja($){return dR(wv,$)}function VL($){return new Mv({type:"transform",transform:$})}function t0($){return new LL({type:"optional",innerType:$})}function Nv($){return new Ov({type:"optional",innerType:$})}function DG($){return new Dv({type:"nullable",innerType:$})}function Ia($){return t0(DG($))}function Pv($,Y){return new Bv({type:"default",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function Tv($,Y){return new Av({type:"prefault",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function jv($,Y){return new FL({type:"nonoptional",innerType:$,...y0.normalizeParams(Y)})}function Ka($){return new Ev({type:"success",innerType:$})}function Rv($,Y){return new Cv({type:"catch",innerType:$,catchValue:typeof Y==="function"?Y:()=>Y})}function Ga($){return nR(_v,$)}function mV($,Y){return new EG({type:"pipe",in:$,out:Y})}function Wa($,Y,z){return new CG({type:"pipe",in:$,out:Y,transform:z.decode,reverseTransform:z.encode})}function Ha($){let Y=$._zod.def;return new CG({type:"pipe",in:Y.out,out:Y.in,transform:Y.reverseTransform,reverseTransform:Y.transform})}function Sv($){return new hv({type:"readonly",innerType:$})}function Xa($,Y){return new gv({type:"template_literal",parts:$,...y0.normalizeParams(Y)})}function V3($){return new yv({type:"lazy",getter:$})}function Za($){return new kv({type:"promise",innerType:$})}function qa($){return new xv({type:"function",input:Array.isArray($?.input)?qv($?.input):$?.input??q0(a0()),output:$?.output??a0()})}function Va($){let Y=new V4({check:"custom"});return Y._zod.check=$,Y}function La($,Y){return mR(RG,$??(()=>!0),Y)}function fv($,Y={}){return lR(RG,$,Y)}function uv($,Y){return oR($,Y)}function Ma($,Y={}){let z=new RG({type:"custom",check:"custom",fn:(U)=>U instanceof $,abort:!0,...y0.normalizeParams(Y)});return z._zod.bag.Class=$,z._zod.check=(U)=>{if(!(U.value instanceof $))U.issues.push({code:"invalid_type",expected:$.name,input:U.value,inst:z,path:[...z._zod.def.path??[]]})},z}function Na($){let Y=V3(()=>{return o0([R($),_0(),m0(),n5(),q0(Y),p0(R(),Y)])});return Y}function p9($,Y){return new vv({type:"pipe",in:VL($),out:Y})}var qs,w1,lV,WQ,Z4,oV,NG,c5,PG,sV,aV,tV,eV,$L,YL,zL,UL,$v,QL,JL,IL,KL,GL,WL,HL,XQ,ZQ,_Y,qQ,VQ,XL,Yv,zv,Uv,Qv,Jv,Iv,Kv,AG,Gv,TG,jG,Wv,Hv,Xv,Zv,KQ,Vv,Lv,GQ,Fv,wv,Mv,LL,Ov,Dv,Bv,Av,FL,Ev,Cv,_v,EG,CG,vv,hv,gv,yv,kv,xv,RG,Fa,wa,Oa=(...$)=>aR({Codec:CG,Boolean:qQ,String:WQ},...$);var MG=o(()=>{U$();U$();LG();VG();bV();FG();e_();qs=new WeakMap;w1=W0("ZodType",($,Y)=>{return q1.init($,Y),Object.assign($["~standard"],{jsonSchema:{input:IQ($,"input"),output:IQ($,"output")}}),$.toJSONSchema=tR($,{}),$.def=Y,$.type=Y.type,Object.defineProperty($,"_def",{value:Y}),$.parse=(z,U)=>c_($,z,U,{callee:$.parse}),$.safeParse=(z,U)=>OG($,z,U),$.parseAsync=async(z,U)=>n_($,z,U,{callee:$.parseAsync}),$.safeParseAsync=async(z,U)=>p_($,z,U),$.spa=$.safeParseAsync,$.encode=(z,U)=>d_($,z,U),$.decode=(z,U)=>m_($,z,U),$.encodeAsync=async(z,U)=>l_($,z,U),$.decodeAsync=async(z,U)=>o_($,z,U),$.safeEncode=(z,U)=>r_($,z,U),$.safeDecode=(z,U)=>s_($,z,U),$.safeEncodeAsync=async(z,U)=>a_($,z,U),$.safeDecodeAsync=async(z,U)=>t_($,z,U),BG($,"ZodType",{check(...z){let U=this.def;return this.clone(y0.mergeDefs(U,{checks:[...U.checks??[],...z.map((Q)=>typeof Q==="function"?{_zod:{check:Q,def:{check:"custom"},onattach:[]}}:Q)]}),{parent:!0})},with(...z){return this.check(...z)},clone(z,U){return D8(this,z,U)},brand(){return this},register(z,U){return z.add(this,U),this},refine(z,U){return this.check(fv(z,U))},superRefine(z,U){return this.check(uv(z,U))},overwrite(z){return this.check(Y5(z))},optional(){return t0(this)},exactOptional(){return Nv(this)},nullable(){return DG(this)},nullish(){return t0(DG(this))},nonoptional(z){return jv(this,z)},array(){return q0(this)},or(z){return o0([this,z])},and(z){return z5(this,z)},transform(z){return mV(this,VL(z))},default(z){return Pv(this,z)},prefault(z){return Tv(this,z)},catch(z){return Rv(this,z)},pipe(z){return mV(this,z)},readonly(){return Sv(this)},describe(z){let U=this.clone();return n6.add(U,{description:z}),U},meta(...z){if(z.length===0)return n6.get(this);let U=this.clone();return n6.add(U,z[0]),U},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(z){return z(this)}}),Object.defineProperty($,"description",{get(){return n6.get($)?.description},configurable:!0}),$}),lV=W0("_ZodString",($,Y)=>{TY.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>eR($,U,Q,J);let z=$._zod.bag;$.format=z.format??null,$.minLength=z.minimum??null,$.maxLength=z.maximum??null,BG($,"_ZodString",{regex(...U){return this.check(lU(...U))},includes(...U){return this.check(sU(...U))},startsWith(...U){return this.check(aU(...U))},endsWith(...U){return this.check(tU(...U))},min(...U){return this.check(c9(...U))},max(...U){return this.check(EY(...U))},length(...U){return this.check(CY(...U))},nonempty(...U){return this.check(c9(1,...U))},lowercase(U){return this.check(oU(U))},uppercase(U){return this.check(rU(U))},trim(){return this.check(YQ())},normalize(...U){return this.check($Q(...U))},toLowerCase(){return this.check(zQ())},toUpperCase(){return this.check(UQ())},slugify(){return this.check(QQ())}})}),WQ=W0("ZodString",($,Y)=>{TY.init($,Y),lV.init($,Y),$.email=(z)=>$.check(XV(oV,z)),$.url=(z)=>$.check(qG(PG,z)),$.jwt=(z)=>$.check(_V(HL,z)),$.emoji=(z)=>$.check(FV(sV,z)),$.guid=(z)=>$.check(ZG(NG,z)),$.uuid=(z)=>$.check(ZV(c5,z)),$.uuidv4=(z)=>$.check(qV(c5,z)),$.uuidv6=(z)=>$.check(VV(c5,z)),$.uuidv7=(z)=>$.check(LV(c5,z)),$.nanoid=(z)=>$.check(wV(aV,z)),$.guid=(z)=>$.check(ZG(NG,z)),$.cuid=(z)=>$.check(MV(tV,z)),$.cuid2=(z)=>$.check(OV(eV,z)),$.ulid=(z)=>$.check(NV($L,z)),$.base64=(z)=>$.check(EV(KL,z)),$.base64url=(z)=>$.check(CV(GL,z)),$.xid=(z)=>$.check(DV(YL,z)),$.ksuid=(z)=>$.check(BV(zL,z)),$.ipv4=(z)=>$.check(PV(UL,z)),$.ipv6=(z)=>$.check(AV(QL,z)),$.cidrv4=(z)=>$.check(TV(JL,z)),$.cidrv6=(z)=>$.check(jV(IL,z)),$.e164=(z)=>$.check(RV(WL,z)),$.datetime=(z)=>$.check(x_(z)),$.date=(z)=>$.check(f_(z)),$.time=(z)=>$.check(u_(z)),$.duration=(z)=>$.check(b_(z))});Z4=W0("ZodStringFormat",($,Y)=>{X4.init($,Y),lV.init($,Y)}),oV=W0("ZodEmail",($,Y)=>{UE.init($,Y),Z4.init($,Y)});NG=W0("ZodGUID",($,Y)=>{YE.init($,Y),Z4.init($,Y)});c5=W0("ZodUUID",($,Y)=>{zE.init($,Y),Z4.init($,Y)});PG=W0("ZodURL",($,Y)=>{QE.init($,Y),Z4.init($,Y)});sV=W0("ZodEmoji",($,Y)=>{JE.init($,Y),Z4.init($,Y)});aV=W0("ZodNanoID",($,Y)=>{IE.init($,Y),Z4.init($,Y)});tV=W0("ZodCUID",($,Y)=>{KE.init($,Y),Z4.init($,Y)});eV=W0("ZodCUID2",($,Y)=>{GE.init($,Y),Z4.init($,Y)});$L=W0("ZodULID",($,Y)=>{WE.init($,Y),Z4.init($,Y)});YL=W0("ZodXID",($,Y)=>{HE.init($,Y),Z4.init($,Y)});zL=W0("ZodKSUID",($,Y)=>{XE.init($,Y),Z4.init($,Y)});UL=W0("ZodIPv4",($,Y)=>{FE.init($,Y),Z4.init($,Y)});$v=W0("ZodMAC",($,Y)=>{ME.init($,Y),Z4.init($,Y)});QL=W0("ZodIPv6",($,Y)=>{wE.init($,Y),Z4.init($,Y)});JL=W0("ZodCIDRv4",($,Y)=>{OE.init($,Y),Z4.init($,Y)});IL=W0("ZodCIDRv6",($,Y)=>{NE.init($,Y),Z4.init($,Y)});KL=W0("ZodBase64",($,Y)=>{BE.init($,Y),Z4.init($,Y)});GL=W0("ZodBase64URL",($,Y)=>{PE.init($,Y),Z4.init($,Y)});WL=W0("ZodE164",($,Y)=>{AE.init($,Y),Z4.init($,Y)});HL=W0("ZodJWT",($,Y)=>{TE.init($,Y),Z4.init($,Y)});XQ=W0("ZodCustomStringFormat",($,Y)=>{jE.init($,Y),Z4.init($,Y)});ZQ=W0("ZodNumber",($,Y)=>{JV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>$_($,U,Q,J),BG($,"ZodNumber",{gt(U,Q){return this.check(b5(U,Q))},gte(U,Q){return this.check(P8(U,Q))},min(U,Q){return this.check(P8(U,Q))},lt(U,Q){return this.check(u5(U,Q))},lte(U,Q){return this.check(z$(U,Q))},max(U,Q){return this.check(z$(U,Q))},int(U){return this.check(dV(U))},safe(U){return this.check(dV(U))},positive(U){return this.check(b5(0,U))},nonnegative(U){return this.check(P8(0,U))},negative(U){return this.check(u5(0,U))},nonpositive(U){return this.check(z$(0,U))},multipleOf(U,Q){return this.check(G3(U,Q))},step(U,Q){return this.check(G3(U,Q))},finite(){return this}});let z=$._zod.bag;$.minValue=Math.max(z.minimum??Number.NEGATIVE_INFINITY,z.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(z.maximum??Number.POSITIVE_INFINITY,z.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(z.format??"").includes("int")||Number.isSafeInteger(z.multipleOf??0.5),$.isFinite=!0,$.format=z.format??null});_Y=W0("ZodNumberFormat",($,Y)=>{EE.init($,Y),ZQ.init($,Y)});qQ=W0("ZodBoolean",($,Y)=>{UG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>Y_($,z,U,Q)});VQ=W0("ZodBigInt",($,Y)=>{IV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>z_($,U,Q,J),$.gte=(U,Q)=>$.check(P8(U,Q)),$.min=(U,Q)=>$.check(P8(U,Q)),$.gt=(U,Q)=>$.check(b5(U,Q)),$.gte=(U,Q)=>$.check(P8(U,Q)),$.min=(U,Q)=>$.check(P8(U,Q)),$.lt=(U,Q)=>$.check(u5(U,Q)),$.lte=(U,Q)=>$.check(z$(U,Q)),$.max=(U,Q)=>$.check(z$(U,Q)),$.positive=(U)=>$.check(b5(BigInt(0),U)),$.negative=(U)=>$.check(u5(BigInt(0),U)),$.nonpositive=(U)=>$.check(z$(BigInt(0),U)),$.nonnegative=(U)=>$.check(P8(BigInt(0),U)),$.multipleOf=(U,Q)=>$.check(G3(U,Q));let z=$._zod.bag;$.minValue=z.minimum??null,$.maxValue=z.maximum??null,$.format=z.format??null});XL=W0("ZodBigIntFormat",($,Y)=>{CE.init($,Y),VQ.init($,Y)});Yv=W0("ZodSymbol",($,Y)=>{RE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>U_($,z,U,Q)});zv=W0("ZodUndefined",($,Y)=>{_E.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>J_($,z,U,Q)});Uv=W0("ZodNull",($,Y)=>{vE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>Q_($,z,U,Q)});Qv=W0("ZodAny",($,Y)=>{hE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>G_($,z,U,Q)});Jv=W0("ZodUnknown",($,Y)=>{SE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>W_($,z,U,Q)});Iv=W0("ZodNever",($,Y)=>{gE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>K_($,z,U,Q)});Kv=W0("ZodVoid",($,Y)=>{yE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>I_($,z,U,Q)});AG=W0("ZodDate",($,Y)=>{kE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>H_($,U,Q,J),$.min=(U,Q)=>$.check(P8(U,Q)),$.max=(U,Q)=>$.check(z$(U,Q));let z=$._zod.bag;$.minDate=z.minimum?new Date(z.minimum):null,$.maxDate=z.maximum?new Date(z.maximum):null});Gv=W0("ZodArray",($,Y)=>{xE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>B_($,z,U,Q),$.element=Y.element,BG($,"ZodArray",{min(z,U){return this.check(c9(z,U))},nonempty(z){return this.check(c9(1,z))},max(z,U){return this.check(EY(z,U))},length(z,U){return this.check(CY(z,U))},unwrap(){return this.element}})});TG=W0("ZodObject",($,Y)=>{fE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>P_($,z,U,Q),y0.defineLazy($,"shape",()=>{return Y.shape}),BG($,"ZodObject",{keyof(){return H1(Object.keys(this._zod.def.shape))},catchall(z){return this.clone({...this._zod.def,catchall:z})},passthrough(){return this.clone({...this._zod.def,catchall:a0()})},loose(){return this.clone({...this._zod.def,catchall:a0()})},strict(){return this.clone({...this._zod.def,catchall:qL()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(z){return y0.extend(this,z)},safeExtend(z){return y0.safeExtend(this,z)},merge(z){return y0.merge(this,z)},pick(z){return y0.pick(this,z)},omit(z){return y0.omit(this,z)},partial(...z){return y0.partial(LL,this,z[0])},required(...z){return y0.required(FL,this,z[0])}})});jG=W0("ZodUnion",($,Y)=>{QG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>xV($,z,U,Q),$.options=Y.options});Wv=W0("ZodXor",($,Y)=>{jG.init($,Y),uE.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>xV($,z,U,Q),$.options=Y.options});Hv=W0("ZodDiscriminatedUnion",($,Y)=>{jG.init($,Y),bE.init($,Y)});Xv=W0("ZodIntersection",($,Y)=>{iE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>A_($,z,U,Q)});Zv=W0("ZodTuple",($,Y)=>{KV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>T_($,z,U,Q),$.rest=(z)=>$.clone({...$._zod.def,rest:z})});KQ=W0("ZodRecord",($,Y)=>{cE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>j_($,z,U,Q),$.keyType=Y.keyType,$.valueType=Y.valueType});Vv=W0("ZodMap",($,Y)=>{nE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>N_($,z,U,Q),$.keyType=Y.keyType,$.valueType=Y.valueType,$.min=(...z)=>$.check(i5(...z)),$.nonempty=(z)=>$.check(i5(1,z)),$.max=(...z)=>$.check(W3(...z)),$.size=(...z)=>$.check(jY(...z))});Lv=W0("ZodSet",($,Y)=>{pE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>D_($,z,U,Q),$.min=(...z)=>$.check(i5(...z)),$.nonempty=(z)=>$.check(i5(1,z)),$.max=(...z)=>$.check(W3(...z)),$.size=(...z)=>$.check(jY(...z))});GQ=W0("ZodEnum",($,Y)=>{dE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,Q,J)=>X_($,U,Q,J),$.enum=Y.entries,$.options=Object.values(Y.entries);let z=new Set(Object.keys(Y.entries));$.extract=(U,Q)=>{let J={};for(let I of U)if(z.has(I))J[I]=Y.entries[I];else throw Error(`Key ${I} not found in enum`);return new GQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})},$.exclude=(U,Q)=>{let J={...Y.entries};for(let I of U)if(z.has(I))delete J[I];else throw Error(`Key ${I} not found in enum`);return new GQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})}});Fv=W0("ZodLiteral",($,Y)=>{mE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>Z_($,z,U,Q),$.values=new Set(Y.values),Object.defineProperty($,"value",{get(){if(Y.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return Y.values[0]}})});wv=W0("ZodFile",($,Y)=>{lE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>L_($,z,U,Q),$.min=(z,U)=>$.check(i5(z,U)),$.max=(z,U)=>$.check(W3(z,U)),$.mime=(z,U)=>$.check(eU(Array.isArray(z)?z:[z],U))});Mv=W0("ZodTransform",($,Y)=>{oE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>O_($,z,U,Q),$._zod.parse=(z,U)=>{if(U.direction==="backward")throw new DY($.constructor.name);z.addIssue=(J)=>{if(typeof J==="string")z.issues.push(y0.issue(J,z.value,Y));else{let I=J;if(I.fatal)I.continue=!1;I.code??(I.code="custom"),I.input??(I.input=z.value),I.inst??(I.inst=$),z.issues.push(y0.issue(I))}};let Q=Y.transform(z.value,z);if(Q instanceof Promise)return Q.then((J)=>{return z.value=J,z.fallback=!0,z});return z.value=Q,z.fallback=!0,z}});LL=W0("ZodOptional",($,Y)=>{GV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>fV($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Ov=W0("ZodExactOptional",($,Y)=>{rE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>fV($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Dv=W0("ZodNullable",($,Y)=>{sE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>E_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Bv=W0("ZodDefault",($,Y)=>{aE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>R_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});Av=W0("ZodPrefault",($,Y)=>{tE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>__($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});FL=W0("ZodNonOptional",($,Y)=>{eE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>C_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Ev=W0("ZodSuccess",($,Y)=>{$C.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>F_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});Cv=W0("ZodCatch",($,Y)=>{YC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>v_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});_v=W0("ZodNaN",($,Y)=>{zC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>q_($,z,U,Q)});EG=W0("ZodPipe",($,Y)=>{WV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>h_($,z,U,Q),$.in=Y.in,$.out=Y.out});CG=W0("ZodCodec",($,Y)=>{EG.init($,Y),JG.init($,Y)});vv=W0("ZodPreprocess",($,Y)=>{EG.init($,Y),UC.init($,Y)}),hv=W0("ZodReadonly",($,Y)=>{QC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>S_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});gv=W0("ZodTemplateLiteral",($,Y)=>{JC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>V_($,z,U,Q)});yv=W0("ZodLazy",($,Y)=>{GC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>y_($,z,U,Q),$.unwrap=()=>$._zod.def.getter()});kv=W0("ZodPromise",($,Y)=>{KC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>g_($,z,U,Q),$.unwrap=()=>$._zod.def.innerType});xv=W0("ZodFunction",($,Y)=>{IC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>M_($,z,U,Q)});RG=W0("ZodCustom",($,Y)=>{WC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,U,Q)=>w_($,z,U,Q)});Fa=rR,wa=sR});function Lx0($){a4({customError:$})}function Fx0(){return a4().customError}var iv,bv;var Da=o(()=>{U$();iv={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};(function($){})(bv||(bv={}))});function Mx0($,Y){let z=$.$schema;if(z==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(z==="http://json-schema.org/draft-07/schema#")return"draft-7";if(z==="http://json-schema.org/draft-04/schema#")return"draft-4";return Y??"draft-2020-12"}function Ox0($,Y){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let z=$.slice(1).split("/").filter(Boolean);if(z.length===0)return Y.rootSchema;let U=Y.version==="draft-2020-12"?"$defs":"definitions";if(z[0]===U){let Q=z[1];if(!Q||!Y.defs[Q])throw Error(`Reference not found: ${$}`);return Y.defs[Q]}throw Error(`Reference not found: ${$}`)}function Ba($,Y){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return l0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let Q=$.$ref;if(Y.refs.has(Q))return Y.refs.get(Q);if(Y.processing.has(Q))return l0.lazy(()=>{if(!Y.refs.has(Q))throw Error(`Circular reference not resolved: ${Q}`);return Y.refs.get(Q)});Y.processing.add(Q);let J=Ox0(Q,Y),I=K8(J,Y);return Y.refs.set(Q,I),Y.processing.delete(Q),I}if($.enum!==void 0){let Q=$.enum;if(Y.version==="openapi-3.0"&&$.nullable===!0&&Q.length===1&&Q[0]===null)return l0.null();if(Q.length===0)return l0.never();if(Q.length===1)return l0.literal(Q[0]);if(Q.every((I)=>typeof I==="string"))return l0.enum(Q);let J=Q.map((I)=>l0.literal(I));if(J.length<2)return J[0];return l0.union([J[0],J[1],...J.slice(2)])}if($.const!==void 0)return l0.literal($.const);let z=$.type;if(Array.isArray(z)){let Q=z.map((J)=>{let I={...$,type:J};return Ba(I,Y)});if(Q.length===0)return l0.never();if(Q.length===1)return Q[0];return l0.union(Q)}if(!z)return l0.any();let U;switch(z){case"string":{let Q=l0.string();if($.format){let J=$.format;if(J==="email")Q=Q.check(l0.email());else if(J==="uri"||J==="uri-reference")Q=Q.check(l0.url());else if(J==="uuid"||J==="guid")Q=Q.check(l0.uuid());else if(J==="date-time")Q=Q.check(l0.iso.datetime());else if(J==="date")Q=Q.check(l0.iso.date());else if(J==="time")Q=Q.check(l0.iso.time());else if(J==="duration")Q=Q.check(l0.iso.duration());else if(J==="ipv4")Q=Q.check(l0.ipv4());else if(J==="ipv6")Q=Q.check(l0.ipv6());else if(J==="mac")Q=Q.check(l0.mac());else if(J==="cidr")Q=Q.check(l0.cidrv4());else if(J==="cidr-v6")Q=Q.check(l0.cidrv6());else if(J==="base64")Q=Q.check(l0.base64());else if(J==="base64url")Q=Q.check(l0.base64url());else if(J==="e164")Q=Q.check(l0.e164());else if(J==="jwt")Q=Q.check(l0.jwt());else if(J==="emoji")Q=Q.check(l0.emoji());else if(J==="nanoid")Q=Q.check(l0.nanoid());else if(J==="cuid")Q=Q.check(l0.cuid());else if(J==="cuid2")Q=Q.check(l0.cuid2());else if(J==="ulid")Q=Q.check(l0.ulid());else if(J==="xid")Q=Q.check(l0.xid());else if(J==="ksuid")Q=Q.check(l0.ksuid())}if(typeof $.minLength==="number")Q=Q.min($.minLength);if(typeof $.maxLength==="number")Q=Q.max($.maxLength);if($.pattern)Q=Q.regex(new RegExp($.pattern));U=Q;break}case"number":case"integer":{let Q=z==="integer"?l0.number().int():l0.number();if(typeof $.minimum==="number")Q=Q.min($.minimum);if(typeof $.maximum==="number")Q=Q.max($.maximum);if(typeof $.exclusiveMinimum==="number")Q=Q.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")Q=Q.gt($.minimum);if(typeof $.exclusiveMaximum==="number")Q=Q.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")Q=Q.lt($.maximum);if(typeof $.multipleOf==="number")Q=Q.multipleOf($.multipleOf);U=Q;break}case"boolean":{U=l0.boolean();break}case"null":{U=l0.null();break}case"object":{let Q={},J=$.properties||{},I=new Set($.required||[]);for(let[G,W]of Object.entries(J)){let H=K8(W,Y);Q[G]=I.has(G)?H:H.optional()}if($.propertyNames){let G=K8($.propertyNames,Y),W=$.additionalProperties&&typeof $.additionalProperties==="object"?K8($.additionalProperties,Y):l0.any();if(Object.keys(Q).length===0){U=l0.record(G,W);break}let H=l0.object(Q).passthrough(),X=l0.looseRecord(G,W);U=l0.intersection(H,X);break}if($.patternProperties){let G=$.patternProperties,W=Object.keys(G),H=[];for(let Z of W){let q=K8(G[Z],Y),V=l0.string().regex(new RegExp(Z));H.push(l0.looseRecord(V,q))}let X=[];if(Object.keys(Q).length>0)X.push(l0.object(Q).passthrough());if(X.push(...H),X.length===0)U=l0.object({}).passthrough();else if(X.length===1)U=X[0];else{let Z=l0.intersection(X[0],X[1]);for(let q=2;qK8(G,Y)),K=J&&typeof J==="object"&&!Array.isArray(J)?K8(J,Y):void 0;if(K)U=l0.tuple(I).rest(K);else U=l0.tuple(I);if(typeof $.minItems==="number")U=U.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")U=U.check(l0.maxLength($.maxItems))}else if(Array.isArray(J)){let I=J.map((G)=>K8(G,Y)),K=$.additionalItems&&typeof $.additionalItems==="object"?K8($.additionalItems,Y):void 0;if(K)U=l0.tuple(I).rest(K);else U=l0.tuple(I);if(typeof $.minItems==="number")U=U.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")U=U.check(l0.maxLength($.maxItems))}else if(J!==void 0){let I=K8(J,Y),K=l0.array(I);if(typeof $.minItems==="number")K=K.min($.minItems);if(typeof $.maxItems==="number")K=K.max($.maxItems);U=K}else U=l0.array(l0.any());break}default:throw Error(`Unsupported type: ${z}`)}return U}function K8($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let z=Ba($,Y),U=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let K=$.anyOf.map((W)=>K8(W,Y)),G=l0.union(K);z=U?l0.intersection(z,G):G}if($.oneOf&&Array.isArray($.oneOf)){let K=$.oneOf.map((W)=>K8(W,Y)),G=l0.xor(K);z=U?l0.intersection(z,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)z=U?z:l0.any();else{let K=U?z:K8($.allOf[0],Y),G=U?0:1;for(let W=G;W<$.allOf.length;W++)K=l0.intersection(K,K8($.allOf[W],Y));z=K}if($.nullable===!0&&Y.version==="openapi-3.0")z=l0.nullable(z);if($.readOnly===!0)z=l0.readonly(z);if($.default!==void 0)z=z.default($.default);let Q={},J=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let K of J)if(K in $)Q[K]=$[K];let I=["contentEncoding","contentMediaType","contentSchema"];for(let K of I)if(K in $)Q[K]=$[K];for(let K of Object.keys($))if(!wx0.has(K))Q[K]=$[K];if(Object.keys(Q).length>0)Y.registry.add(z,Q);if($.description)z=z.describe($.description);return z}function Pa($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let z;try{z=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let U=Mx0(z,Y?.defaultTarget),Q=z.$defs||z.definitions||{},J={version:U,defs:Q,refs:new Map,processing:new Set,rootSchema:z,registry:Y?.registry??n6};return K8(z,J)}var l0,wx0;var Aa=o(()=>{XG();bV();FG();MG();l0={...wG,...uV,iso:Q$},wx0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var _G={};x8(_G,{string:()=>Nx0,number:()=>Dx0,date:()=>Ax0,boolean:()=>Bx0,bigint:()=>Px0});function Nx0($){return VR(WQ,$)}function Dx0($){return BR(ZQ,$)}function Bx0($){return RR(qQ,$)}function Px0($){return vR(VQ,$)}function Ax0($){return cR(AG,$)}var Ta=o(()=>{U$();MG()});var L={};x8(L,{xor:()=>es,xid:()=>Ts,void:()=>rs,uuidv7:()=>Ms,uuidv6:()=>ws,uuidv4:()=>Fs,uuid:()=>Ls,util:()=>y0,url:()=>HQ,uppercase:()=>rU,unknown:()=>a0,union:()=>o0,undefined:()=>os,ulid:()=>As,uint64:()=>ms,uint32:()=>ns,tuple:()=>qv,trim:()=>YQ,treeifyError:()=>eT,transform:()=>VL,toUpperCase:()=>UQ,toLowerCase:()=>zQ,toJSONSchema:()=>RY,templateLiteral:()=>Xa,symbol:()=>ls,superRefine:()=>uv,success:()=>Ka,stringbool:()=>Oa,stringFormat:()=>ks,string:()=>R,strictObject:()=>ts,startsWith:()=>aU,slugify:()=>QQ,size:()=>jY,setErrorMap:()=>Lx0,set:()=>Ua,safeParseAsync:()=>p_,safeParse:()=>OG,safeEncodeAsync:()=>a_,safeEncode:()=>r_,safeDecodeAsync:()=>t_,safeDecode:()=>s_,registry:()=>HV,regexes:()=>Y$,regex:()=>lU,refine:()=>fv,record:()=>p0,readonly:()=>Sv,property:()=>yV,promise:()=>Za,prettifyError:()=>$j,preprocess:()=>p9,prefault:()=>Tv,positive:()=>vV,pipe:()=>mV,partialRecord:()=>$a,parseAsync:()=>n_,parse:()=>c_,overwrite:()=>Y5,optional:()=>t0,object:()=>z0,number:()=>_0,nullish:()=>Ia,nullable:()=>DG,null:()=>n5,normalize:()=>$Q,nonpositive:()=>SV,nonoptional:()=>jv,nonnegative:()=>gV,never:()=>qL,negative:()=>hV,nativeEnum:()=>Qa,nanoid:()=>Ds,nan:()=>Ga,multipleOf:()=>G3,minSize:()=>i5,minLength:()=>c9,mime:()=>eU,meta:()=>wa,maxSize:()=>W3,maxLength:()=>EY,map:()=>za,mac:()=>Cs,lte:()=>z$,lt:()=>u5,lowercase:()=>oU,looseRecord:()=>Ya,looseObject:()=>Q1,locales:()=>HG,literal:()=>V0,length:()=>CY,lazy:()=>V3,ksuid:()=>js,keyof:()=>as,jwt:()=>ys,json:()=>Na,iso:()=>Q$,ipv6:()=>Rs,ipv4:()=>Es,invertCodec:()=>Ha,intersection:()=>z5,int64:()=>ds,int32:()=>cs,int:()=>dV,instanceof:()=>Ma,includes:()=>sU,httpUrl:()=>Os,hostname:()=>xs,hex:()=>fs,hash:()=>us,guid:()=>Vs,gte:()=>P8,gt:()=>b5,globalRegistry:()=>n6,getErrorMap:()=>Fx0,function:()=>qa,fromJSONSchema:()=>Pa,formatError:()=>eK,float64:()=>is,float32:()=>bs,flattenError:()=>tK,file:()=>Ja,exactOptional:()=>Nv,enum:()=>H1,endsWith:()=>tU,encodeAsync:()=>l_,encode:()=>d_,emoji:()=>Ns,email:()=>rV,e164:()=>gs,discriminatedUnion:()=>q3,describe:()=>Fa,decodeAsync:()=>o_,decode:()=>m_,date:()=>ss,custom:()=>La,cuid2:()=>Ps,cuid:()=>Bs,core:()=>n9,config:()=>a4,coerce:()=>_G,codec:()=>Wa,clone:()=>D8,cidrv6:()=>vs,cidrv4:()=>_s,check:()=>Va,catch:()=>Rv,boolean:()=>m0,bigint:()=>ps,base64url:()=>Ss,base64:()=>hs,array:()=>q0,any:()=>ZL,_function:()=>qa,_default:()=>Pv,_ZodString:()=>lV,ZodXor:()=>Wv,ZodXID:()=>YL,ZodVoid:()=>Kv,ZodUnknown:()=>Jv,ZodUnion:()=>jG,ZodUndefined:()=>zv,ZodUUID:()=>c5,ZodURL:()=>PG,ZodULID:()=>$L,ZodType:()=>w1,ZodTuple:()=>Zv,ZodTransform:()=>Mv,ZodTemplateLiteral:()=>gv,ZodSymbol:()=>Yv,ZodSuccess:()=>Ev,ZodStringFormat:()=>Z4,ZodString:()=>WQ,ZodSet:()=>Lv,ZodRecord:()=>KQ,ZodRealError:()=>b8,ZodReadonly:()=>hv,ZodPromise:()=>kv,ZodPreprocess:()=>vv,ZodPrefault:()=>Av,ZodPipe:()=>EG,ZodOptional:()=>LL,ZodObject:()=>TG,ZodNumberFormat:()=>_Y,ZodNumber:()=>ZQ,ZodNullable:()=>Dv,ZodNull:()=>Uv,ZodNonOptional:()=>FL,ZodNever:()=>Iv,ZodNanoID:()=>aV,ZodNaN:()=>_v,ZodMap:()=>Vv,ZodMAC:()=>$v,ZodLiteral:()=>Fv,ZodLazy:()=>yv,ZodKSUID:()=>zL,ZodJWT:()=>HL,ZodIssueCode:()=>iv,ZodIntersection:()=>Xv,ZodISOTime:()=>nV,ZodISODuration:()=>pV,ZodISODateTime:()=>iV,ZodISODate:()=>cV,ZodIPv6:()=>QL,ZodIPv4:()=>UL,ZodGUID:()=>NG,ZodFunction:()=>xv,ZodFirstPartyTypeKind:()=>bv,ZodFile:()=>wv,ZodExactOptional:()=>Ov,ZodError:()=>qx0,ZodEnum:()=>GQ,ZodEmoji:()=>sV,ZodEmail:()=>oV,ZodE164:()=>WL,ZodDiscriminatedUnion:()=>Hv,ZodDefault:()=>Bv,ZodDate:()=>AG,ZodCustomStringFormat:()=>XQ,ZodCustom:()=>RG,ZodCodec:()=>CG,ZodCatch:()=>Cv,ZodCUID2:()=>eV,ZodCUID:()=>tV,ZodCIDRv6:()=>IL,ZodCIDRv4:()=>JL,ZodBoolean:()=>qQ,ZodBigIntFormat:()=>XL,ZodBigInt:()=>VQ,ZodBase64URL:()=>GL,ZodBase64:()=>KL,ZodArray:()=>Gv,ZodAny:()=>Qv,TimePrecision:()=>FR,NEVER:()=>pK,$output:()=>HR,$input:()=>XR,$brand:()=>cT});var wL=o(()=>{U$();U$();NC();U$();LG();Aa();WR();FG();FG();Ta();MG();bV();i_();e_();Da();a4(IG())});var ja=o(()=>{wL()});var cv=o(()=>{ja()});var hY="2025-11-25",ML,OL="io.modelcontextprotocol/related-task",m9="io.modelcontextprotocol/protocolVersion",LQ="io.modelcontextprotocol/clientInfo",p5="io.modelcontextprotocol/serverInfo",l9="io.modelcontextprotocol/clientCapabilities",SY="io.modelcontextprotocol/subscriptionId",F3="io.modelcontextprotocol/logLevel",gY="2.0",L3,t4,pv,vG,hG,NL,DL,SG,S6,yY,e4,G8,W8,gG,$6,w3,yG,kG,FQ,wQ,xG,dv,fG,BL,uG,PL,M3,d9,MQ,Tx0,jx0,AL,TL,jL,EL,CL,bG,RL,_L,vL,hL,iG,SL,gL,cG,yL,O3,N3,nG,pG,mv,dG,D3,o9,mG,kL,xL,fL,uL,bL,OQ,iL,cL,nL,pL,dL,mL,lL,oL,lG,rL,sL,aL,tL,eL,$F,YF,zF,UF,QF,JF,IF,KF,GF,NQ,DQ,BQ,WF,HF,XF,PQ,ZF,qF,VF,LF,FF,oG,wF,MF,rG,lv,OF,NF,DF,ov,B3,BF,PF,AF,TF,jF,EF,CF,RF,_F,vY,vF,hF,SF,gF,yF,sG,AQ,TQ,aG,tG,eG,kF,$W,YW,xF,fF,zW,jQ,uF,bF,iF,cF,nF,pF,dF,mF,lF,oF,rF,sF,aF,tF,eF,rv,$w,P3,sv,Yw,av,tv,ev,$h,Yh,zh,Uh,Qh,Jh,Ih,Kh,Gh,Wh,Hh,Xh,h6,Zh,zw,Uw,qh,Vh,Lh,Fh,nv,Qw,Jw,wh,Mh,Oh;var Ca=o(()=>{cv();ML=[hY,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],L3=V3(()=>o0([R(),_0(),m0(),n5(),p0(R(),L3),q0(L3)])),t4=p0(R(),L3),pv=q0(L3),vG=o0([R(),_0().int()]),hG=R(),NL=z0({ttl:_0().optional()}),DL=z0({taskId:R()}),SG=Q1({progressToken:vG.optional(),[OL]:DL.optional()}),S6=z0({_meta:SG.optional()}),yY=S6.extend({task:NL.optional()}),e4=z0({method:R(),params:S6.loose().optional()}),G8=z0({_meta:SG.optional()}),W8=z0({method:R(),params:G8.loose().optional()}),gG=Q1({get[p5](){return MQ.optional().catch(void 0)}}),$6=Q1({_meta:gG.optional()}),w3=o0([R(),_0().int()]),yG=z0({jsonrpc:V0(gY),id:w3,...e4.shape}).strict(),kG=z0({jsonrpc:V0(gY),...W8.shape}).strict(),FQ=z0({jsonrpc:V0(gY),id:w3,result:$6}).strict(),wQ=z0({jsonrpc:V0(gY),id:w3.optional(),error:z0({code:_0().int(),message:R(),data:a0().optional()})}).strict(),xG=o0([yG,kG,FQ,wQ]),dv=o0([FQ,wQ]),fG=$6.strict(),BL=G8.extend({requestId:w3.optional(),reason:R().optional()}),uG=W8.extend({method:V0("notifications/cancelled"),params:BL}),PL=z0({src:R(),mimeType:R().optional(),sizes:q0(R()).optional(),theme:H1(["light","dark"]).optional()}),M3=z0({icons:q0(PL).optional()}),d9=z0({name:R(),title:R().optional()}),MQ=d9.extend({...d9.shape,...M3.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),Tx0=z5(z0({applyDefaults:m0().optional()}),t4),jx0=p9(($)=>{if($&&typeof $==="object"&&!Array.isArray($)&&Object.keys($).length===0)return{form:{}};return $},z5(z0({form:Tx0.optional(),url:t4.optional()}),t4.optional())),AL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({sampling:Q1({createMessage:t4.optional()}).optional(),elicitation:Q1({create:t4.optional()}).optional()}).optional()}),TL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({tools:Q1({call:t4.optional()}).optional()}).optional()}),jL=z0({experimental:p0(R(),t4).optional(),sampling:z0({context:t4.optional(),tools:t4.optional()}).optional(),elicitation:jx0.optional(),roots:z0({listChanged:m0().optional()}).optional(),tasks:AL.optional(),extensions:p0(R(),t4).optional()}),EL=S6.extend({protocolVersion:R(),capabilities:jL,clientInfo:MQ}),CL=e4.extend({method:V0("initialize"),params:EL}),bG=z0({experimental:p0(R(),t4).optional(),logging:t4.optional(),completions:t4.optional(),prompts:z0({listChanged:m0().optional()}).optional(),resources:z0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:z0({listChanged:m0().optional()}).optional(),tasks:TL.optional(),extensions:p0(R(),t4).optional()}),RL=$6.extend({protocolVersion:R(),capabilities:bG,serverInfo:MQ,instructions:R().optional()}),_L=W8.extend({method:V0("notifications/initialized"),params:G8.optional()}),vL=e4.extend({method:V0("server/discover"),params:S6.optional()}),hL=$6.extend({supportedVersions:q0(R()),capabilities:bG,instructions:R().optional()}),iG=e4.extend({method:V0("ping"),params:S6.optional()}),SL=z0({progress:_0(),total:t0(_0()),message:t0(R())}),gL=z0({...G8.shape,...SL.shape,progressToken:vG}),cG=W8.extend({method:V0("notifications/progress"),params:gL}),yL=S6.extend({cursor:hG.optional()}),O3=e4.extend({params:yL.optional()}),N3=$6.extend({nextCursor:hG.optional()}),nG=z0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),pG=nG.extend({text:R()}),mv=R().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),dG=nG.extend({blob:mv}),D3=H1(["user","assistant"]),o9=z0({audience:q0(D3).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),mG=z0({...d9.shape,...M3.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:o9.optional(),_meta:t0(Q1({}))}),kL=z0({...d9.shape,...M3.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:o9.optional(),_meta:t0(Q1({}))}),xL=O3.extend({method:V0("resources/list")}),fL=N3.extend({resources:q0(mG)}),uL=O3.extend({method:V0("resources/templates/list")}),bL=N3.extend({resourceTemplates:q0(kL)}),OQ=S6.extend({uri:R()}),iL=OQ,cL=e4.extend({method:V0("resources/read"),params:iL}),nL=$6.extend({contents:q0(o0([pG,dG]))}),pL=W8.extend({method:V0("notifications/resources/list_changed"),params:G8.optional()}),dL=OQ,mL=e4.extend({method:V0("resources/subscribe"),params:dL}),lL=OQ,oL=e4.extend({method:V0("resources/unsubscribe"),params:lL}),lG=z0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:q0(R()).optional()}),rL=S6.extend({notifications:lG}),sL=e4.extend({method:V0("subscriptions/listen"),params:rL}),aL=G8.extend({notifications:lG}),tL=W8.extend({method:V0("notifications/subscriptions/acknowledged"),params:aL}),eL=gG.extend({[SY]:w3}),$F=$6.extend({_meta:eL}),YF=G8.extend({uri:R()}),zF=W8.extend({method:V0("notifications/resources/updated"),params:YF}),UF=z0({name:R(),description:t0(R()),required:t0(m0())}),QF=z0({...d9.shape,...M3.shape,description:t0(R()),arguments:t0(q0(UF)),_meta:t0(Q1({}))}),JF=O3.extend({method:V0("prompts/list")}),IF=N3.extend({prompts:q0(QF)}),KF=S6.extend({name:R(),arguments:p0(R(),R()).optional()}),GF=e4.extend({method:V0("prompts/get"),params:KF}),NQ=z0({type:V0("text"),text:R(),annotations:o9.optional(),_meta:p0(R(),a0()).optional()}),DQ=z0({type:V0("image"),data:mv,mimeType:R(),annotations:o9.optional(),_meta:p0(R(),a0()).optional()}),BQ=z0({type:V0("audio"),data:mv,mimeType:R(),annotations:o9.optional(),_meta:p0(R(),a0()).optional()}),WF=z0({type:V0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),HF=z0({type:V0("resource"),resource:o0([pG,dG]),annotations:o9.optional(),_meta:p0(R(),a0()).optional()}),XF=mG.extend({type:V0("resource_link")}),PQ=o0([NQ,DQ,BQ,XF,HF]),ZF=z0({role:D3,content:PQ}),qF=$6.extend({description:R().optional(),messages:q0(ZF)}),VF=W8.extend({method:V0("notifications/prompts/list_changed"),params:G8.optional()}),LF=z0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),FF=z0({taskSupport:H1(["required","optional","forbidden"]).optional()}),oG=z0({...d9.shape,...M3.shape,description:R().optional(),inputSchema:z0({type:V0("object"),properties:p0(R(),L3).optional(),required:q0(R()).optional()}).catchall(a0()),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:LF.optional(),execution:FF.optional(),_meta:p0(R(),a0()).optional()}),wF=O3.extend({method:V0("tools/list")}),MF=N3.extend({tools:q0(oG)}),rG=$6.extend({content:q0(PQ).default([]),structuredContent:a0().optional(),isError:m0().optional()}),lv=rG.or($6.extend({toolResult:a0()})),OF=yY.extend({name:R(),arguments:p0(R(),a0()).optional()}),NF=e4.extend({method:V0("tools/call"),params:OF}),DF=W8.extend({method:V0("notifications/tools/list_changed"),params:G8.optional()}),ov=z0({autoRefresh:m0().default(!0),debounceMs:_0().int().nonnegative().default(300)}),B3=H1(["debug","info","notice","warning","error","critical","alert","emergency"]),BF=S6.extend({level:B3}),PF=e4.extend({method:V0("logging/setLevel"),params:BF}),AF=G8.extend({level:B3,logger:R().optional(),data:a0()}),TF=W8.extend({method:V0("notifications/message"),params:AF}),jF=z0({name:R().optional()}),EF=z0({hints:q0(jF).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),CF=z0({mode:H1(["auto","required","none"]).optional()}),RF=z0({type:V0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:q0(PQ),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),_F=q3("type",[NQ,DQ,BQ]),vY=q3("type",[NQ,DQ,BQ,WF,RF]),vF=z0({role:D3,content:o0([vY,q0(vY)]),_meta:p0(R(),a0()).optional()}),hF=yY.extend({messages:q0(vF),modelPreferences:EF.optional(),systemPrompt:R().optional(),includeContext:H1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:q0(R()).optional(),metadata:t4.optional(),tools:q0(oG).optional(),toolChoice:CF.optional()}),SF=e4.extend({method:V0("sampling/createMessage"),params:hF}),gF=$6.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens"]).or(R())),role:D3,content:_F}),yF=$6.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:D3,content:o0([vY,q0(vY)])}),sG=z0({type:V0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),AQ=z0({type:V0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:H1(["email","uri","date","date-time"]).optional(),default:R().optional()}),TQ=z0({type:H1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),aG=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),default:R().optional()}),tG=z0({type:V0("string"),title:R().optional(),description:R().optional(),oneOf:q0(z0({const:R(),title:R()})),default:R().optional()}),eG=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),enumNames:q0(R()).optional(),default:R().optional()}),kF=o0([aG,tG]),$W=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({type:V0("string"),enum:q0(R())}),default:q0(R()).optional()}),YW=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({anyOf:q0(z0({const:R(),title:R()}))}),default:q0(R()).optional()}),xF=o0([$W,YW]),fF=o0([eG,kF,xF]),zW=o0([fF,sG,AQ,TQ]),jQ=yY.extend({mode:V0("form").optional(),message:R(),requestedSchema:z0({type:V0("object"),properties:p0(R(),zW),required:q0(R()).optional()}).catchall(a0())}),uF=yY.extend({mode:V0("url"),message:R(),elicitationId:R(),url:R().url()}),bF=o0([jQ,uF]),iF=e4.extend({method:V0("elicitation/create"),params:bF}),cF=G8.extend({elicitationId:R()}),nF=W8.extend({method:V0("notifications/elicitation/complete"),params:cF}),pF=$6.extend({action:H1(["accept","decline","cancel"]),content:p9(($)=>$===null?void 0:$,p0(R(),o0([R(),_0(),m0(),q0(R())])).optional())}),dF=z0({type:V0("ref/resource"),uri:R()}),mF=z0({type:V0("ref/prompt"),name:R()}),lF=S6.extend({ref:o0([mF,dF]),argument:z0({name:R(),value:R()}),context:z0({arguments:p0(R(),R()).optional()}).optional()}),oF=e4.extend({method:V0("completion/complete"),params:lF}),rF=$6.extend({completion:Q1({values:q0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),sF=z0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),aF=e4.extend({method:V0("roots/list"),params:S6.optional()}),tF=$6.extend({roots:q0(sF)}),eF=W8.extend({method:V0("notifications/roots/list_changed"),params:G8.optional()}),rv=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),$w=H1(["working","input_required","completed","failed","cancelled"]),P3=z0({taskId:R(),status:$w,ttl:o0([_0(),n5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),sv=$6.extend({task:P3}),Yw=G8.merge(P3),av=W8.extend({method:V0("notifications/tasks/status"),params:Yw}),tv=e4.extend({method:V0("tasks/get"),params:S6.extend({taskId:R()})}),ev=$6.merge(P3),$h=e4.extend({method:V0("tasks/result"),params:S6.extend({taskId:R()})}),Yh=$6.loose(),zh=O3.extend({method:V0("tasks/list")}),Uh=N3.extend({tasks:q0(P3)}),Qh=e4.extend({method:V0("tasks/cancel"),params:S6.extend({taskId:R()})}),Jh=$6.merge(P3),Ih=o0([iG,CL,vL,oF,PF,GF,JF,xL,uL,cL,mL,oL,sL,NF,wF]),Kh=o0([uG,cG,_L,eF]),Gh=o0([fG,gF,yF,pF,tF]),Wh=o0([iG,SF,iF,aF]),Hh=o0([uG,cG,TF,zF,pL,DF,VF,tL,nF]),Xh=o0([fG,RL,hL,rF,qF,IF,fL,bL,nL,rG,MF,$F]),h6=HQ().superRefine(($,Y)=>{if(!URL.canParse($))return Y.addIssue({code:iv.custom,message:"URL must be parseable",fatal:!0}),pK}).refine(($)=>{let Y=new URL($);return Y.protocol!=="javascript:"&&Y.protocol!=="data:"&&Y.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Zh=Q1({resource:R().url(),authorization_servers:q0(h6).optional(),jwks_uri:R().url().optional(),scopes_supported:q0(R()).optional(),bearer_methods_supported:q0(R()).optional(),resource_signing_alg_values_supported:q0(R()).optional(),resource_name:R().optional(),resource_documentation:R().optional(),resource_policy_uri:R().url().optional(),resource_tos_uri:R().url().optional(),tls_client_certificate_bound_access_tokens:m0().optional(),authorization_details_types_supported:q0(R()).optional(),dpop_signing_alg_values_supported:q0(R()).optional(),dpop_bound_access_tokens_required:m0().optional()}),zw=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,registration_endpoint:h6.optional(),scopes_supported:q0(R()).optional(),response_types_supported:q0(R()),response_modes_supported:q0(R()).optional(),grant_types_supported:q0(R()).optional(),token_endpoint_auth_methods_supported:q0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),service_documentation:h6.optional(),revocation_endpoint:h6.optional(),revocation_endpoint_auth_methods_supported:q0(R()).optional(),revocation_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),introspection_endpoint:R().optional(),introspection_endpoint_auth_methods_supported:q0(R()).optional(),introspection_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),code_challenge_methods_supported:q0(R()).optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),Uw=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,userinfo_endpoint:h6.optional(),jwks_uri:h6,registration_endpoint:h6.optional(),scopes_supported:q0(R()).optional(),response_types_supported:q0(R()),response_modes_supported:q0(R()).optional(),grant_types_supported:q0(R()).optional(),acr_values_supported:q0(R()).optional(),subject_types_supported:q0(R()),id_token_signing_alg_values_supported:q0(R()),id_token_encryption_alg_values_supported:q0(R()).optional(),id_token_encryption_enc_values_supported:q0(R()).optional(),userinfo_signing_alg_values_supported:q0(R()).optional(),userinfo_encryption_alg_values_supported:q0(R()).optional(),userinfo_encryption_enc_values_supported:q0(R()).optional(),request_object_signing_alg_values_supported:q0(R()).optional(),request_object_encryption_alg_values_supported:q0(R()).optional(),request_object_encryption_enc_values_supported:q0(R()).optional(),token_endpoint_auth_methods_supported:q0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:q0(R()).optional(),display_values_supported:q0(R()).optional(),claim_types_supported:q0(R()).optional(),claims_supported:q0(R()).optional(),service_documentation:R().optional(),claims_locales_supported:q0(R()).optional(),ui_locales_supported:q0(R()).optional(),claims_parameter_supported:m0().optional(),request_parameter_supported:m0().optional(),request_uri_parameter_supported:m0().optional(),require_request_uri_registration:m0().optional(),op_policy_uri:h6.optional(),op_tos_uri:h6.optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),qh=z0({...Uw.shape,...zw.pick({code_challenge_methods_supported:!0}).shape}),Vh=z0({access_token:R(),id_token:R().optional(),token_type:R(),expires_in:_G.number().optional(),scope:R().optional(),refresh_token:R().optional()}).strip(),Lh=z0({issued_token_type:V0("urn:ietf:params:oauth:token-type:id-jag"),access_token:R(),token_type:R().optional(),expires_in:_0().optional(),scope:R().optional()}).strip(),Fh=z0({error:R(),error_description:R().optional(),error_uri:R().optional()}),nv=h6.optional().or(V0("").transform(()=>{return})),Qw=z0({redirect_uris:q0(h6),token_endpoint_auth_method:R().optional(),grant_types:q0(R()).optional(),response_types:q0(R()).optional(),application_type:R().optional(),client_name:R().optional(),client_uri:h6.optional(),logo_uri:nv,scope:R().optional(),contacts:q0(R()).optional(),tos_uri:nv,policy_uri:R().optional(),jwks_uri:h6.optional(),jwks:ZL().optional(),software_id:R().optional(),software_version:R().optional(),software_statement:R().optional()}).strip(),Jw=z0({client_id:R(),client_secret:R().optional(),client_id_issued_at:_0().optional(),client_secret_expires_at:_0().optional()}).strip(),wh=Qw.merge(Jw),Mh=z0({error:R(),error_description:R().optional()}).strip(),Oh=z0({token:R(),token_type_hint:R().optional()}).strip()});var fa=o(()=>{Ca()});function Eh($,Y){let z=new Set,U=Y;while(typeof U==="function"){let Q=U.mcpBrand;if(Object.prototype.hasOwnProperty.call(U,"mcpBrand")&&typeof Q==="string")z.add(Q);U=Object.getPrototypeOf(U)}if(z.size===0)return;Object.defineProperty($,Ph,{value:z,enumerable:!1,configurable:!0})}function CQ($,Y){try{if(typeof Y==="object"&&Y!==null&&Object.prototype.hasOwnProperty.call($,"mcpBrand")&&typeof $.mcpBrand==="string"&&Object.prototype.hasOwnProperty.call(Y,Ph)){let z=Y[Ph];if(z&&typeof z.has==="function"&&z.has($.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call($,Y)}function ua($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Rx0($,Y,z){return $==="elicitation"&&Y==="form"&&z.form===void 0&&z.url===void 0}function ta($){switch($.method){case"elicitation/create":if($.params?.mode==="url")return{elicitation:{url:{}}};return{elicitation:{form:{}}};case"sampling/createMessage":{let Y=$.params;if(Y!==void 0&&(Y.tools!==void 0||Y.toolChoice!==void 0))return{sampling:{tools:{}}};return{sampling:{}}}case"roots/list":return{roots:{}};default:return}}function qw($,Y){let z={};for(let[U,Q]of Object.entries($)){if(Q===void 0)continue;let J=Y===void 0?void 0:Y[U];if(J===void 0){z[U]=Q;continue}if(ua(Q)&&ua(J)){let I={};for(let[K,G]of Object.entries(Q))if(G!==void 0&&J[K]===void 0&&!Rx0(U,K,J))I[K]=G;if(Object.keys(I).length>0)z[U]=I}}return Object.keys(z).length>0?z:void 0}function _Q($){return $>=ea}function $t($){return $.filter((Y)=>!_Q(Y))}function Ch($){return $.filter((Y)=>_Q(Y))}function Yt($){let Y=$.structuredContent;if(Y===void 0)return $;if(!(typeof Y!=="object"||Y===null||Array.isArray(Y)))return $;if($.content?.some((z)=>z.type==="text")??!1)return $;return{...$,content:[...$.content??[],{type:"text",text:JSON.stringify(Y)}]}}function Rh($){if($===null||typeof $!=="object"||Array.isArray($)||$.content!==void 0||zt.some((Y)=>(Y in $)))return $;return{...$,content:[]}}function _x0(){let $=V3(()=>o0([R(),_0(),m0(),n5(),p0(R(),$),q0($)])),Y=p0(R(),$),z=o0([R(),_0().int()]),U=R(),Q=z0({ttl:_0().optional()}),J=z0({taskId:R()}),I=Q1({progressToken:z.optional(),"io.modelcontextprotocol/related-task":J.optional()}),K=z0({_meta:I.optional()}),G=K.extend({task:Q.optional()}),W=z0({method:R(),params:K.loose().optional()}),H=z0({_meta:I.optional()}),X=z0({method:R(),params:H.loose().optional()}),Z=Q1({_meta:I.optional()}),q=o0([R(),_0().int()]),V=Z.strict(),F=H.extend({requestId:q.optional(),reason:R().optional()}),M=X.extend({method:V0("notifications/cancelled"),params:F}),w=z0({src:R(),mimeType:R().optional(),sizes:q0(R()).optional(),theme:H1(["light","dark"]).optional()}),O=z0({icons:q0(w).optional()}),N=z0({name:R(),title:R().optional()}),D=N.extend({...N.shape,...O.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),T=z5(z0({applyDefaults:m0().optional()}),Y),A=p9((N6)=>{if(N6&&typeof N6==="object"&&!Array.isArray(N6)&&Object.keys(N6).length===0)return{form:{}};return N6},z5(z0({form:T.optional(),url:Y.optional()}),Y.optional())),B=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),j=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),C=z0({experimental:p0(R(),Y).optional(),sampling:z0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:A.optional(),roots:z0({listChanged:m0().optional()}).optional(),tasks:B.optional(),extensions:p0(R(),Y).optional()}),b=K.extend({protocolVersion:R(),capabilities:C,clientInfo:D}),k=W.extend({method:V0("initialize"),params:b}),h=z0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:z0({listChanged:m0().optional()}).optional(),resources:z0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:z0({listChanged:m0().optional()}).optional(),tasks:j.optional(),extensions:p0(R(),Y).optional()}),i=Z.extend({protocolVersion:R(),capabilities:h,serverInfo:D,instructions:R().optional()}),c=X.extend({method:V0("notifications/initialized"),params:H.optional()}),U0=W.extend({method:V0("ping"),params:K.optional()}),x=z0({progress:_0(),total:t0(_0()),message:t0(R())}),d=z0({...H.shape,...x.shape,progressToken:z}),t=X.extend({method:V0("notifications/progress"),params:d}),$0=K.extend({cursor:U.optional()}),g=W.extend({params:$0.optional()}),p=Z.extend({nextCursor:U.optional()}),e=z0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),y=e.extend({text:R()}),s=R().refine((N6)=>{try{return atob(N6),!0}catch{return!1}},{message:"Invalid Base64 string"}),Y0=e.extend({blob:s}),M0=H1(["user","assistant"]),E0=z0({audience:q0(M0).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),G0=z0({...N.shape,...O.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:E0.optional(),_meta:t0(Q1({}))}),T0=z0({...N.shape,...O.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:E0.optional(),_meta:t0(Q1({}))}),b0=g.extend({method:V0("resources/list")}),Y1=p.extend({resources:q0(G0)}),a=g.extend({method:V0("resources/templates/list")}),H0=p.extend({resourceTemplates:q0(T0)}),L0=K.extend({uri:R()}),f0=L0,u0=W.extend({method:V0("resources/read"),params:f0}),i0=Z.extend({contents:q0(o0([y,Y0]))}),D1=X.extend({method:V0("notifications/resources/list_changed"),params:H.optional()}),k1=L0,u1=W.extend({method:V0("resources/subscribe"),params:k1}),b1=L0,B0=W.extend({method:V0("resources/unsubscribe"),params:b1}),Q0=H.extend({uri:R()}),P=X.extend({method:V0("notifications/resources/updated"),params:Q0}),v=z0({name:R(),description:t0(R()),required:t0(m0())}),u=z0({...N.shape,...O.shape,description:t0(R()),arguments:t0(q0(v)),_meta:t0(Q1({}))}),r=g.extend({method:V0("prompts/list")}),X0=p.extend({prompts:q0(u)}),J0=K.extend({name:R(),arguments:p0(R(),R()).optional()}),Z0=W.extend({method:V0("prompts/get"),params:J0}),O0=z0({type:V0("text"),text:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),P0=z0({type:V0("image"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),r0=z0({type:V0("audio"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),I1=z0({type:V0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),U1=z0({type:V0("resource"),resource:o0([y,Y0]),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),N1=G0.extend({type:V0("resource_link")}),S1=o0([O0,P0,r0,N1,U1]),f4=z0({role:M0,content:S1}),N8=Z.extend({description:R().optional(),messages:q0(f4)}),e8=X.extend({method:V0("notifications/prompts/list_changed"),params:H.optional()}),E5=z0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),l7=z0({taskSupport:H1(["required","optional","forbidden"]).optional()}),w$=z0({...N.shape,...O.shape,description:R().optional(),inputSchema:z0({type:V0("object"),properties:p0(R(),$).optional(),required:q0(R()).optional()}).catchall(a0()),outputSchema:z0({type:V0("object"),properties:p0(R(),$).optional(),required:q0(R()).optional()}).catchall(a0()).optional(),annotations:E5.optional(),execution:l7.optional(),_meta:p0(R(),a0()).optional()}),h9=g.extend({method:V0("tools/list")}),S9=p.extend({tools:q0(w$)}),o7=Z.extend({content:q0(S1),structuredContent:p0(R(),a0()).optional(),isError:m0().optional()}),s4=G.extend({name:R(),arguments:p0(R(),a0()).optional()}),r7=W.extend({method:V0("tools/call"),params:s4}),a2=X.extend({method:V0("notifications/tools/list_changed"),params:H.optional()}),s7=H1(["debug","info","notice","warning","error","critical","alert","emergency"]),C5=K.extend({level:s7}),t2=W.extend({method:V0("logging/setLevel"),params:C5}),t$=H.extend({level:s7,logger:R().optional(),data:a0()}),e2=X.extend({method:V0("notifications/message"),params:t$}),e$=z0({name:R().optional()}),g9=z0({hints:q0(e$).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),$Y=z0({mode:H1(["auto","required","none"]).optional()}),y9=z0({type:V0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:q0(S1),structuredContent:z0({}).loose().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),YY=q3("type",[O0,P0,r0]),$$=q3("type",[O0,P0,r0,I1,y9]),zY=z0({role:M0,content:o0([$$,q0($$)]),_meta:p0(R(),a0()).optional()}),R5=G.extend({messages:q0(zY),modelPreferences:g9.optional(),systemPrompt:R().optional(),includeContext:H1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:q0(R()).optional(),metadata:Y.optional(),tools:q0(w$).optional(),toolChoice:$Y.optional()}),UY=W.extend({method:V0("sampling/createMessage"),params:R5}),QY=Z.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens"]).or(R())),role:M0,content:YY}),_5=Z.extend({model:R(),stopReason:t0(H1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:M0,content:o0([$$,q0($$)])}),JY=z0({type:V0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),v5=z0({type:V0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:H1(["email","uri","date","date-time"]).optional(),default:R().optional()}),IY=z0({type:H1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),h5=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),default:R().optional()}),KY=z0({type:V0("string"),title:R().optional(),description:R().optional(),oneOf:q0(z0({const:R(),title:R()})),default:R().optional()}),S5=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),enumNames:q0(R()).optional(),default:R().optional()}),GY=o0([h5,KY]),g5=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({type:V0("string"),enum:q0(R())}),default:q0(R()).optional()}),k9=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({anyOf:q0(z0({const:R(),title:R()}))}),default:q0(R()).optional()}),x9=o0([g5,k9]),WY=o0([S5,GY,x9]),Q8=o0([WY,JY,v5,IY]),J8=G.extend({mode:V0("form").optional(),message:R(),requestedSchema:z0({type:V0("object"),properties:p0(R(),Q8),required:q0(R()).optional()}).catchall(a0())}),HY=G.extend({mode:V0("url"),message:R(),elicitationId:R(),url:R().url()}),I8=o0([J8,HY]),XY=W.extend({method:V0("elicitation/create"),params:I8}),ZY=H.extend({elicitationId:R()}),qY=X.extend({method:V0("notifications/elicitation/complete"),params:ZY}),f9=Z.extend({action:H1(["accept","decline","cancel"]),content:p9((N6)=>N6===null?void 0:N6,p0(R(),o0([R(),_0(),m0(),q0(R())])).optional())}),VY=z0({type:V0("ref/resource"),uri:R()}),a7=z0({type:V0("ref/prompt"),name:R()}),LY=K.extend({ref:o0([a7,VY]),argument:z0({name:R(),value:R()}),context:z0({arguments:p0(R(),R()).optional()}).optional()}),t7=W.extend({method:V0("completion/complete"),params:LY}),e7=Z.extend({completion:Q1({values:q0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),FY=z0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),$3=W.extend({method:V0("roots/list"),params:K.optional()}),Y3=Z.extend({roots:q0(FY)}),z3=X.extend({method:V0("notifications/roots/list_changed"),params:H.optional()}),wY=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),yU=H1(["working","input_required","completed","failed","cancelled"]),$5=z0({taskId:R(),status:yU,ttl:o0([_0(),n5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),O6=Z.extend({task:$5}),u9=H.merge($5),y5=X.extend({method:V0("notifications/tasks/status"),params:u9}),k5=W.extend({method:V0("tasks/get"),params:K.extend({taskId:R()})}),U3=Z.merge($5),b9=W.extend({method:V0("tasks/result"),params:K.extend({taskId:R()})}),fK=Z.loose(),c6=g.extend({method:V0("tasks/list")}),u4=p.extend({tasks:q0($5)}),x5=W.extend({method:V0("tasks/cancel"),params:K.extend({taskId:R()})});return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:z,CursorSchema:U,TaskMetadataSchema:Q,RelatedTaskMetadataSchema:J,RequestMetaSchema:I,BaseRequestParamsSchema:K,TaskAugmentedRequestParamsSchema:G,RequestSchema:W,NotificationsParamsSchema:H,NotificationSchema:X,ResultSchema:Z,RequestIdSchema:q,EmptyResultSchema:V,CancelledNotificationParamsSchema:F,CancelledNotificationSchema:M,IconSchema:w,IconsSchema:O,BaseMetadataSchema:N,ImplementationSchema:D,ClientTasksCapabilitySchema:B,ServerTasksCapabilitySchema:j,ClientCapabilitiesSchema:C,InitializeRequestParamsSchema:b,InitializeRequestSchema:k,ServerCapabilitiesSchema:h,InitializeResultSchema:i,InitializedNotificationSchema:c,PingRequestSchema:U0,ProgressSchema:x,ProgressNotificationParamsSchema:d,ProgressNotificationSchema:t,PaginatedRequestParamsSchema:$0,PaginatedRequestSchema:g,PaginatedResultSchema:p,ResourceContentsSchema:e,TextResourceContentsSchema:y,BlobResourceContentsSchema:Y0,RoleSchema:M0,AnnotationsSchema:E0,ResourceSchema:G0,ResourceTemplateSchema:T0,ListResourcesRequestSchema:b0,ListResourcesResultSchema:Y1,ListResourceTemplatesRequestSchema:a,ListResourceTemplatesResultSchema:H0,ResourceRequestParamsSchema:L0,ReadResourceRequestParamsSchema:f0,ReadResourceRequestSchema:u0,ReadResourceResultSchema:i0,ResourceListChangedNotificationSchema:D1,SubscribeRequestParamsSchema:k1,SubscribeRequestSchema:u1,UnsubscribeRequestParamsSchema:b1,UnsubscribeRequestSchema:B0,ResourceUpdatedNotificationParamsSchema:Q0,ResourceUpdatedNotificationSchema:P,PromptArgumentSchema:v,PromptSchema:u,ListPromptsRequestSchema:r,ListPromptsResultSchema:X0,GetPromptRequestParamsSchema:J0,GetPromptRequestSchema:Z0,TextContentSchema:O0,ImageContentSchema:P0,AudioContentSchema:r0,ToolUseContentSchema:I1,EmbeddedResourceSchema:U1,ResourceLinkSchema:N1,ContentBlockSchema:S1,PromptMessageSchema:f4,GetPromptResultSchema:N8,PromptListChangedNotificationSchema:e8,ToolAnnotationsSchema:E5,ToolExecutionSchema:l7,ToolSchema:w$,ListToolsRequestSchema:h9,ListToolsResultSchema:S9,CallToolResultSchema:o7,CallToolRequestParamsSchema:s4,CallToolRequestSchema:r7,ToolListChangedNotificationSchema:a2,LoggingLevelSchema:s7,SetLevelRequestParamsSchema:C5,SetLevelRequestSchema:t2,LoggingMessageNotificationParamsSchema:t$,LoggingMessageNotificationSchema:e2,ModelHintSchema:e$,ModelPreferencesSchema:g9,ToolChoiceSchema:$Y,ToolResultContentSchema:y9,SamplingContentSchema:YY,SamplingMessageContentBlockSchema:$$,SamplingMessageSchema:zY,CreateMessageRequestParamsSchema:R5,CreateMessageRequestSchema:UY,CreateMessageResultSchema:QY,CreateMessageResultWithToolsSchema:_5,BooleanSchemaSchema:JY,StringSchemaSchema:v5,NumberSchemaSchema:IY,UntitledSingleSelectEnumSchemaSchema:h5,TitledSingleSelectEnumSchemaSchema:KY,LegacyTitledEnumSchemaSchema:S5,SingleSelectEnumSchemaSchema:GY,UntitledMultiSelectEnumSchemaSchema:g5,TitledMultiSelectEnumSchemaSchema:k9,MultiSelectEnumSchemaSchema:x9,EnumSchemaSchema:WY,PrimitiveSchemaDefinitionSchema:Q8,ElicitRequestFormParamsSchema:J8,ElicitRequestURLParamsSchema:HY,ElicitRequestParamsSchema:I8,ElicitRequestSchema:XY,ElicitationCompleteNotificationParamsSchema:ZY,ElicitationCompleteNotificationSchema:qY,ElicitResultSchema:f9,ResourceTemplateReferenceSchema:VY,PromptReferenceSchema:a7,CompleteRequestParamsSchema:LY,CompleteRequestSchema:t7,CompleteResultSchema:e7,RootSchema:FY,ListRootsRequestSchema:$3,ListRootsResultSchema:Y3,RootsListChangedNotificationSchema:z3,TaskCreationParamsSchema:wY,TaskStatusSchema:yU,TaskSchema:$5,CreateTaskResultSchema:O6,TaskStatusNotificationParamsSchema:u9,TaskStatusNotificationSchema:y5,GetTaskRequestSchema:k5,GetTaskResultSchema:U3,GetTaskPayloadRequestSchema:b9,GetTaskPayloadResultSchema:fK,ListTasksRequestSchema:c6,ListTasksResultSchema:u4,CancelTaskRequestSchema:x5,CancelTaskResultSchema:Z.merge($5),ClientRequestSchema:o0([U0,k,t7,t2,Z0,r,b0,a,u0,u1,B0,r7,h9,k5,b9,c6,x5]),ClientNotificationSchema:o0([M,t,c,z3,y5]),ClientResultSchema:o0([V,QY,_5,f9,Y3,U3,u4,O6]),ServerRequestSchema:o0([U0,UY,XY,$3,k5,b9,c6,x5]),ServerNotificationSchema:o0([M,t,e2,P,D1,a2,e8,y5,qY]),ServerResultSchema:o0([V,i,e7,N8,X0,Y1,H0,i0,o7,S9,U3,u4,O6]),CallToolResultWireSchema:a0().superRefine((N6,uK)=>{if(typeof N6!=="object"||N6===null||Array.isArray(N6)||N6.content!==void 0)return;for(let bK of zt)if(bK in N6){uK.addIssue({code:"custom",message:`content is required when the body carries '${bK}' — another result family cannot default into an empty tools/call success`});return}}).transform(Rh).pipe(o7)}}function Ut(){return vx0??=_x0()}function Qt($){return $.type!=="object"}function ba($){return $!==void 0&&!(typeof $==="string"&&$.startsWith("#"))}function gx0($){let Y=typeof $.$schema==="string"?$.$schema:void 0;if(ba($.$id))return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:$},required:["result"]};let z=jo($.$schema)&&$.$recursiveAnchor!==!0,U=(Q,J)=>{if(Array.isArray(Q))return Q.map((G)=>U(G,!1));if(Q===null||typeof Q!=="object")return Q;if(!J&&ba(Q.$id))return Q;let I={},K=!1;for(let[G,W]of Object.entries(Q))if(J)I[G]=U(W,!1);else if((G==="$ref"||G==="$dynamicRef")&&typeof W==="string")I[G]=W==="#"?"#/properties/result":W.startsWith("#/")?`#/properties/result${W.slice(1)}`:W;else if(G==="$recursiveRef"&&W==="#"&&z)K=!0;else if(hx0.has(G))I[G]=W;else if(Sx0.has(G))I[G]=U(W,!0);else I[G]=U(W,!1);if(K)if("$ref"in I)I.allOf=[...Array.isArray(I.allOf)?I.allOf:[],{$ref:"#/properties/result"}];else I.$ref="#/properties/result";return I};return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:U($,!1)},required:["result"]}}function _h(){if(Iw)return Iw;let $=Ut();return Iw={requestSchemas:{ping:$.PingRequestSchema,initialize:$.InitializeRequestSchema,"completion/complete":$.CompleteRequestSchema,"logging/setLevel":$.SetLevelRequestSchema,"prompts/get":$.GetPromptRequestSchema,"prompts/list":$.ListPromptsRequestSchema,"resources/list":$.ListResourcesRequestSchema,"resources/templates/list":$.ListResourceTemplatesRequestSchema,"resources/read":$.ReadResourceRequestSchema,"resources/subscribe":$.SubscribeRequestSchema,"resources/unsubscribe":$.UnsubscribeRequestSchema,"tools/call":$.CallToolRequestSchema,"tools/list":$.ListToolsRequestSchema,"tasks/get":$.GetTaskRequestSchema,"tasks/result":$.GetTaskPayloadRequestSchema,"tasks/list":$.ListTasksRequestSchema,"tasks/cancel":$.CancelTaskRequestSchema,"sampling/createMessage":$.CreateMessageRequestSchema,"elicitation/create":$.ElicitRequestSchema,"roots/list":$.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":$.CancelledNotificationSchema,"notifications/progress":$.ProgressNotificationSchema,"notifications/initialized":$.InitializedNotificationSchema,"notifications/roots/list_changed":$.RootsListChangedNotificationSchema,"notifications/tasks/status":$.TaskStatusNotificationSchema,"notifications/message":$.LoggingMessageNotificationSchema,"notifications/resources/updated":$.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":$.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":$.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":$.PromptListChangedNotificationSchema,"notifications/elicitation/complete":$.ElicitationCompleteNotificationSchema},resultSchemas:{ping:$.EmptyResultSchema,initialize:$.InitializeResultSchema,"completion/complete":$.CompleteResultSchema,"logging/setLevel":$.EmptyResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"resources/subscribe":$.EmptyResultSchema,"resources/unsubscribe":$.EmptyResultSchema,"tools/call":$.CallToolResultWireSchema,"tools/list":$.ListToolsResultSchema,"sampling/createMessage":$.CreateMessageResultWithToolsSchema,"elicitation/create":$.ElicitResultSchema,"roots/list":$.ListRootsResultSchema}},Iw}function Kt($){return Object.prototype.hasOwnProperty.call(Jt,$)}function Gt($){return Object.prototype.hasOwnProperty.call(It,$)}function kx0($){return Object.prototype.hasOwnProperty.call(yx0,$)}function xx0($){return kx0($)?_h().resultSchemas[$]:void 0}function fx0($){return Kt($)?_h().requestSchemas[$]:void 0}function ux0($){return Gt($)?_h().notificationSchemas[$]:void 0}function Ah($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Kw($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let z=$.safeParse(Y);return z.success?{ok:!0,value:z.data}:{ok:!1,reason:"invalid",message:String(z.error)}}function ca($){return Ah($)&&Ah($.outputSchema)&&Qt($.outputSchema)}function na($){return $}function bx0(){let $=V3(()=>o0([R(),_0(),m0(),n5(),p0(R(),$),q0($)])),Y=p0(R(),$),z=o0([R(),_0().int()]),U=R(),Q=o0([R(),_0().int()]),J=H1(["user","assistant"]),I=H1(["debug","info","notice","warning","error","critical","alert","emergency"]),K=R().refine((u4)=>{try{return atob(u4),!0}catch{return!1}},{message:"Invalid Base64 string"}),G=z0({ttl:_0().optional()}),W=z0({taskId:R()}),H=Q1({progressToken:z.optional(),"io.modelcontextprotocol/related-task":W.optional()}),X=z0({_meta:H.optional()}),Z=X.extend({task:G.optional()}),q=z0({_meta:H.optional()}),V=z0({method:R(),params:q.loose().optional()}),F=z0({src:R(),mimeType:R().optional(),sizes:q0(R()).optional(),theme:H1(["light","dark"]).optional()}),M=z0({icons:q0(F).optional()}),w=z0({name:R(),title:R().optional()}),O=w.extend({...w.shape,...M.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),N=z5(z0({applyDefaults:m0().optional()}),Y),D=p9((u4)=>{if(u4&&typeof u4==="object"&&!Array.isArray(u4)&&Object.keys(u4).length===0)return{form:{}};return u4},z5(z0({form:N.optional(),url:Y.optional()}),Y.optional())),T=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),A=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),B=z0({experimental:p0(R(),Y).optional(),sampling:z0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:D.optional(),roots:z0({listChanged:m0().optional()}).optional(),tasks:T.optional(),extensions:p0(R(),Y).optional()}),j=z0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:z0({listChanged:m0().optional()}).optional(),resources:z0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:z0({listChanged:m0().optional()}).optional(),tasks:A.optional(),extensions:p0(R(),Y).optional()}),C=z0({progress:_0(),total:t0(_0()),message:t0(R())}),b=z0({...q.shape,...C.shape,progressToken:z}),k=V.extend({method:V0("notifications/progress"),params:b}),h=q.extend({level:I,logger:R().optional(),data:a0()}),i=V.extend({method:V0("notifications/message"),params:h}),c=z0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),U0=c.extend({text:R()}),x=c.extend({blob:K}),d=z0({audience:q0(J).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),t=z0({...w.shape,...M.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:d.optional(),_meta:t0(Q1({}))}),$0=z0({...w.shape,...M.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:d.optional(),_meta:t0(Q1({}))}),g=V.extend({method:V0("notifications/resources/list_changed"),params:q.optional()}),p=q.extend({uri:R()}),e=V.extend({method:V0("notifications/resources/updated"),params:p}),y=z0({name:R(),description:t0(R()),required:t0(m0())}),s=z0({...w.shape,...M.shape,description:t0(R()),arguments:t0(q0(y)),_meta:t0(Q1({}))}),Y0=V.extend({method:V0("notifications/prompts/list_changed"),params:q.optional()}),M0=z0({type:V0("text"),text:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),E0=z0({type:V0("image"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),G0=z0({type:V0("audio"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),T0=z0({type:V0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),b0=z0({type:V0("resource"),resource:o0([U0,x]),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),Y1=t.extend({type:V0("resource_link")}),a=o0([M0,E0,G0,Y1,b0]),H0=z0({role:J,content:a}),L0=z0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),f0=V.extend({method:V0("notifications/tools/list_changed"),params:q.optional()}),u0=z0({name:R().optional()}),i0=z0({hints:q0(u0).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),D1=z0({mode:H1(["auto","required","none"]).optional()}),k1=z0({type:V0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),u1=z0({type:V0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:H1(["email","uri","date","date-time"]).optional(),default:R().optional()}),b1=z0({type:H1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),B0=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),default:R().optional()}),Q0=z0({type:V0("string"),title:R().optional(),description:R().optional(),oneOf:q0(z0({const:R(),title:R()})),default:R().optional()}),P=z0({type:V0("string"),title:R().optional(),description:R().optional(),enum:q0(R()),enumNames:q0(R()).optional(),default:R().optional()}),v=o0([B0,Q0]),u=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({type:V0("string"),enum:q0(R())}),default:q0(R()).optional()}),r=z0({type:V0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:z0({anyOf:q0(z0({const:R(),title:R()}))}),default:q0(R()).optional()}),X0=o0([u,r]),J0=o0([P,v,X0]),Z0=o0([J0,k1,u1,b1]),O0=Z.extend({mode:V0("form").optional(),message:R(),requestedSchema:z0({type:V0("object"),properties:p0(R(),Z0),required:q0(R()).optional()}).catchall(a0())}),P0=z0({type:V0("ref/resource"),uri:R()}),r0=z0({type:V0("ref/prompt"),name:R()}),I1=z0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),U1=B.shape,N1=z0({experimental:U1.experimental,sampling:U1.sampling,elicitation:U1.elicitation,roots:U1.roots,extensions:U1.extensions}),S1=j.shape,f4=z0({experimental:S1.experimental,logging:S1.logging,completions:S1.completions,prompts:S1.prompts,resources:S1.resources,tools:S1.tools,extensions:S1.extensions}),N8=Q1({progressToken:z.optional(),[m9]:R(),[LQ]:O.optional(),[l9]:N1,[F3]:I.optional()}),e8=z0({...w.shape,...M.shape,description:R().optional(),inputSchema:Q1({$schema:R().optional(),type:V0("object")}),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:L0.optional(),_meta:p0(R(),a0()).optional()}),E5=z0({type:V0("tool_result"),toolUseId:R(),content:q0(a),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),l7=o0([M0,E0,G0,T0,E5]),w$=z0({role:J,content:o0([l7,q0(l7)]),_meta:p0(R(),a0()).optional()}),h9=R(),S9=Q1({[p5]:O.optional().catch(void 0)}),o7=S9.optional();function s4(u4){return Q1({_meta:o7,resultType:h9.default("complete"),...u4})}let r7=s4({}),a2=s4({nextCursor:U.optional()}),s7=s4({content:q0(a),structuredContent:a0().optional(),isError:m0().optional()}),C5=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),tools:q0(e8),nextCursor:U.optional()}),t2=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),prompts:q0(s),nextCursor:U.optional()}),t$=s4({description:R().optional(),messages:q0(H0)}),e2=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resources:q0(t),nextCursor:U.optional()}),e$=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resourceTemplates:q0($0),nextCursor:U.optional()}),g9=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),contents:q0(o0([U0,x]))}),$Y=s4({completion:z0({values:q0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),y9=s4({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"])}),YY=s4({ttlMs:_0().int().min(0).catch(0),cacheScope:H1(["public","private"]).catch("private"),supportedVersions:q0(R()),capabilities:f4,instructions:R().optional()}),$$=z0({messages:q0(w$),modelPreferences:i0.optional(),systemPrompt:R().optional(),includeContext:H1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:q0(R()).optional(),metadata:Y.optional(),tools:q0(e8).optional(),toolChoice:D1.optional()}),zY=z0({method:V0("sampling/createMessage"),params:$$}),R5=z0({method:V0("roots/list"),params:z0({_meta:p0(R(),a0()).optional()}).optional()}),UY=z0({...w$.shape,model:R(),stopReason:R().optional()}),QY=z0({roots:q0(I1)}),_5=z0({action:H1(["accept","decline","cancel"]),content:p0(R(),o0([R(),_0(),m0(),q0(R())])).optional()}),JY=z0({mode:V0("url"),message:R(),url:R().url()}),v5=o0([O0,JY]),IY=z0({method:V0("elicitation/create"),params:v5}),h5=o0([zY,R5,IY]),KY=o0([UY,QY,_5]),S5=p0(R(),h5),GY=p0(R(),KY),g5=s4({inputRequests:S5.optional(),requestState:R().optional()}),k9={inputResponses:GY.optional(),requestState:R().optional()},x9=z0({_meta:N8,...k9}),WY=Q1({progressToken:z.optional()});function Q8(u4,x5){return z0({method:V0(u4),params:z0({_meta:N8,...x5})})}function J8(u4,x5){return z0({method:V0(u4),params:z0({_meta:WY.optional(),...x5}).optional()})}let HY={name:R(),arguments:p0(R(),a0()).optional(),...k9},I8={cursor:U.optional()},XY=Q8("tools/call",HY),ZY=Q8("tools/list",I8),qY=Q8("prompts/list",I8),f9=Q8("prompts/get",{name:R(),arguments:p0(R(),R()).optional(),...k9}),VY=Q8("resources/list",I8),a7=Q8("resources/templates/list",I8),LY=Q8("resources/read",{uri:R(),...k9}),t7={ref:o0([r0,P0]),argument:z0({name:R(),value:R()}),context:z0({arguments:p0(R(),R()).optional()}).optional()},e7=Q8("completion/complete",t7),FY=Q8("server/discover",{}),$3=z0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:q0(R()).optional()}),Y3={notifications:$3},z3=Q8("subscriptions/listen",Y3),wY=S9.extend({"io.modelcontextprotocol/subscriptionId":Q}),yU=Q1({_meta:wY,resultType:h9.default("complete")}),$5={"tools/call":J8("tools/call",HY),"tools/list":J8("tools/list",I8),"prompts/get":J8("prompts/get",{name:R(),arguments:p0(R(),R()).optional()}),"prompts/list":J8("prompts/list",I8),"resources/list":J8("resources/list",I8),"resources/templates/list":J8("resources/templates/list",I8),"resources/read":J8("resources/read",{uri:R()}),"completion/complete":J8("completion/complete",t7),"server/discover":J8("server/discover",{}),"subscriptions/listen":J8("subscriptions/listen",Y3)};function O6(u4){return Q1({_meta:o7,...u4})}let u9={"tools/call":O6({content:q0(a),structuredContent:a0().optional(),isError:m0().optional()}),"tools/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),tools:q0(e8),nextCursor:U.optional()}),"prompts/get":O6({description:R().optional(),messages:q0(H0)}),"prompts/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),prompts:q0(s),nextCursor:U.optional()}),"resources/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resources:q0(t),nextCursor:U.optional()}),"resources/templates/list":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),resourceTemplates:q0($0),nextCursor:U.optional()}),"resources/read":O6({ttlMs:_0().int().min(0),cacheScope:H1(["public","private"]),contents:q0(o0([U0,x]))}),"completion/complete":O6({completion:z0({values:q0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),"server/discover":O6({ttlMs:_0().int().min(0).catch(0),cacheScope:H1(["public","private"]).catch("private"),supportedVersions:q0(R()),capabilities:f4,instructions:R().optional()}),"subscriptions/listen":O6({})},y5=Q1({"io.modelcontextprotocol/subscriptionId":Q.optional()}),k5=z0({method:V0("notifications/subscriptions/acknowledged"),params:z0({_meta:y5.optional(),notifications:$3})}),U3=z0({_meta:y5.optional(),requestId:Q,reason:R().optional()}),b9=z0({method:V0("notifications/cancelled"),params:U3}),fK={"notifications/cancelled":b9,"notifications/progress":k,"notifications/message":i,"notifications/resources/updated":e,"notifications/resources/list_changed":g,"notifications/tools/list_changed":f0,"notifications/prompts/list_changed":Y0,"notifications/subscriptions/acknowledged":k5},c6=(u4)=>z0({jsonrpc:V0("2.0"),id:o0([R(),_0().int()]),result:u4}).strict();return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:z,CursorSchema:U,RequestIdSchema:Q,RoleSchema:J,LoggingLevelSchema:I,TaskMetadataSchema:G,RelatedTaskMetadataSchema:W,RequestMetaSchema:H,BaseRequestParamsSchema:X,TaskAugmentedRequestParamsSchema:Z,NotificationsParamsSchema:q,NotificationSchema:V,IconSchema:F,IconsSchema:M,BaseMetadataSchema:w,ImplementationSchema:O,ClientTasksCapabilitySchema:T,ServerTasksCapabilitySchema:A,ClientCapabilitiesSchema:B,ServerCapabilitiesSchema:j,ProgressSchema:C,ProgressNotificationParamsSchema:b,ProgressNotificationSchema:k,LoggingMessageNotificationParamsSchema:h,LoggingMessageNotificationSchema:i,ResourceContentsSchema:c,TextResourceContentsSchema:U0,BlobResourceContentsSchema:x,AnnotationsSchema:d,ResourceSchema:t,ResourceTemplateSchema:$0,ResourceListChangedNotificationSchema:g,ResourceUpdatedNotificationParamsSchema:p,ResourceUpdatedNotificationSchema:e,PromptArgumentSchema:y,PromptSchema:s,PromptListChangedNotificationSchema:Y0,TextContentSchema:M0,ImageContentSchema:E0,AudioContentSchema:G0,ToolUseContentSchema:T0,EmbeddedResourceSchema:b0,ResourceLinkSchema:Y1,ContentBlockSchema:a,PromptMessageSchema:H0,ToolAnnotationsSchema:L0,ToolListChangedNotificationSchema:f0,ModelHintSchema:u0,ModelPreferencesSchema:i0,ToolChoiceSchema:D1,BooleanSchemaSchema:k1,StringSchemaSchema:u1,NumberSchemaSchema:b1,UntitledSingleSelectEnumSchemaSchema:B0,TitledSingleSelectEnumSchemaSchema:Q0,LegacyTitledEnumSchemaSchema:P,SingleSelectEnumSchemaSchema:v,UntitledMultiSelectEnumSchemaSchema:u,TitledMultiSelectEnumSchemaSchema:r,MultiSelectEnumSchemaSchema:X0,EnumSchemaSchema:J0,PrimitiveSchemaDefinitionSchema:Z0,ElicitRequestFormParamsSchema:O0,ResourceTemplateReferenceSchema:P0,PromptReferenceSchema:r0,RootSchema:I1,ClientCapabilities2026Schema:N1,ServerCapabilities2026Schema:f4,RequestMetaEnvelopeSchema:N8,ToolSchema:e8,ToolResultContentSchema:E5,SamplingMessageContentBlockSchema:l7,SamplingMessageSchema:w$,ResultTypeSchema:h9,ResultMetaSchema:S9,ResultSchema:r7,PaginatedResultSchema:a2,CallToolResultSchema:s7,ListToolsResultSchema:C5,ListPromptsResultSchema:t2,GetPromptResultSchema:t$,ListResourcesResultSchema:e2,ListResourceTemplatesResultSchema:e$,ReadResourceResultSchema:g9,CompleteResultSchema:$Y,CacheableResultSchema:y9,DiscoverResultSchema:YY,CreateMessageRequestParamsSchema:$$,CreateMessageRequestSchema:zY,ListRootsRequestSchema:R5,CreateMessageResultSchema:UY,ListRootsResultSchema:QY,ElicitResultSchema:_5,ElicitRequestURLParamsSchema:JY,ElicitRequestParamsSchema:v5,ElicitRequestSchema:IY,InputRequestSchema:h5,InputResponseSchema:KY,InputRequestsSchema:S5,InputResponsesSchema:GY,InputRequiredResultSchema:g5,InputResponseRequestParamsSchema:x9,CallToolRequestSchema:XY,ListToolsRequestSchema:ZY,ListPromptsRequestSchema:qY,GetPromptRequestSchema:f9,ListResourcesRequestSchema:VY,ListResourceTemplatesRequestSchema:a7,ReadResourceRequestSchema:LY,CompleteRequestSchema:e7,DiscoverRequestSchema:FY,SubscriptionFilterSchema:$3,SubscriptionsListenRequestSchema:z3,SubscriptionsListenResultMetaSchema:wY,SubscriptionsListenResultSchema:yU,dispatchRequestSchemas:$5,dispatchResultSchemas:u9,NotificationMetaSchema:y5,SubscriptionsAcknowledgedNotificationSchema:k5,CancelledNotificationParamsSchema:U3,CancelledNotificationSchema:b9,notificationSchemas2026:fK,JSONRPCResultResponseSchema:c6(r7),CallToolResultResponseSchema:c6(o0([s7,g5])),ListToolsResultResponseSchema:c6(C5),ListPromptsResultResponseSchema:c6(t2),GetPromptResultResponseSchema:c6(o0([t$,g5])),ListResourcesResultResponseSchema:c6(e2),ListResourceTemplatesResultResponseSchema:c6(e$),ReadResourceResultResponseSchema:c6(o0([g9,g5])),CompleteResultResponseSchema:c6($Y),DiscoverResultResponseSchema:c6(YY)}}function xY(){return ix0??=bx0()}function nx0($){return cx0.includes($)}function Vw($,Y){if(Y===void 0)return $;let z=$[EQ];if(z===void 0)return{...$,[EQ]:Y};let U={},Q=z.ttlMs??Y.ttlMs;if(Q!==void 0)U.ttlMs=Q;let J=z.cacheScope??Y.cacheScope;if(J!==void 0)U.cacheScope=J;return{...$,[EQ]:U}}function px0($){return $[EQ]}function hh($){return typeof $==="number"&&Number.isSafeInteger($)&&$>=0}function Sh($){return $==="public"||$==="private"}function gh($,Y){if($.ttlMs!==void 0&&!hh($.ttlMs))throw RangeError(`Invalid cache hint for ${Y}: ttlMs must be a non-negative safe integer (got ${String($.ttlMs)})`);if($.cacheScope!==void 0&&!Sh($.cacheScope))throw RangeError(`Invalid cache hint for ${Y}: cacheScope must be 'public' or 'private' (got ${String($.cacheScope)})`)}function ox0($,Y){let z=Y.resultType;if(z===void 0)return{...Y,resultType:"complete"};if(z==="complete")return Y;if(lx0.includes($))return Y;throw new J1(n0.InternalError,`Handler for ${$} returned resultType '${String(z)}', but results of ${$} only support 'complete' on protocol revision 2026-07-28`)}function rx0($,Y){let z=px0(Y);if(Y.resultType!=="complete"||!nx0($))return z===void 0?Y:$f0(Y);let U=Y,Q=hh(U.ttlMs)?U.ttlMs:tx0(z),J=Sh(U.cacheScope)?U.cacheScope:ex0(z),I={...U,ttlMs:Q,cacheScope:J};return delete I[EQ],I}function sx0($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function ax0($,Y){if(Y===void 0)return $;let z=$._meta;if(z===void 0)return{...$,_meta:{[p5]:Y}};if(!sx0(z))return $;if(z[p5]!==void 0)return $;return{...$,_meta:{...z,[p5]:Y}}}function tx0($){return $!==void 0&&hh($.ttlMs)?$.ttlMs:dx0}function ex0($){return $!==void 0&&Sh($.cacheScope)?$.cacheScope:mx0}function $f0($){let Y={...$};return delete Y[EQ],Y}function Ht(){if(Gw)return Gw;let $=xY();return Gw={request:{"elicitation/create":z0({method:V0("elicitation/create"),params:$.ElicitRequestParamsSchema}),"sampling/createMessage":z0({method:V0("sampling/createMessage"),params:$.CreateMessageRequestParamsSchema}),"roots/list":z0({method:V0("roots/list"),params:Q1({}).optional()})},response:{"elicitation/create":$.ElicitResultSchema,"sampling/createMessage":$.CreateMessageResultSchema,"roots/list":$.ListRootsResultSchema}},Gw}function Xt($){return Yf0.includes($)}function Nh($){return Xt($)?Ht().request[$]:void 0}function zf0($){return Xt($)?Ht().response[$]:void 0}function qt($){return Object.prototype.hasOwnProperty.call(yh,$)}function Vt($){return Object.prototype.hasOwnProperty.call(Zt,$)}function Uf0($){return Object.prototype.hasOwnProperty.call(yh,$)}function Qf0($){return qt($)?xY().dispatchRequestSchemas[$]:void 0}function Jf0($){return Uf0($)?xY().dispatchResultSchemas[$]:void 0}function If0($){return Vt($)?xY().notificationSchemas2026[$]:void 0}function JW($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function UW($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let z=$.safeParse(Y);return z.success?{ok:!0,value:z.data}:{ok:!1,reason:"invalid",message:String(z.error)}}function Wf0($,Y){let z=Y,U=!1,Q=()=>{if(!U)z={...z},U=!0;return z},J=Y.tools;if($==="tools/list"&&Array.isArray(J)&&J.some((K)=>JW(K)&&("execution"in K)))Q().tools=J.map((K)=>{if(!JW(K)||!("execution"in K))return K;let G={...K};return delete G.execution,G});let I=Y.capabilities;if(JW(I)&&"tasks"in I){let K={...I};delete K.tasks,Q().capabilities=K}return z}function Hf0(){if(Ww)return Ww;let $=xY();return Ww={"tools/call":$.CallToolResultSchema,"tools/list":$.ListToolsResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"completion/complete":$.CompleteResultSchema,"server/discover":$.DiscoverResultSchema},Ww}function A3($){return $!==void 0&&_Q($)?kh:vh}function pa($){if($.revision!==void 0)return A3($.revision).era;return $.era==="modern"?kh.era:vh.era}function Dh($){return Lt.some((Y)=>Y.hasRequestMethod($))}function Bh($){return Lt.some((Y)=>Y.hasNotificationMethod($))}function da($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function fY($){if(!da($))return;let Y=$._meta;return da(Y)?Y:void 0}function ww($){let Y=fY($);return Y!==void 0&&m9 in Y}function Mw($){let Y=fY($)?.[m9];return typeof Y==="string"?Y:void 0}function Ow($){return A3(WW).validateEnvelopeMeta($)}function xh($){if($.params.ref.type!=="ref/prompt")throw TypeError(`Expected CompleteRequestPrompt, but got ${$.params.ref.type}`)}function fh($){if($.params.ref.type!=="ref/resource")throw TypeError(`Expected CompleteRequestResourceTemplate, but got ${$.params.ref.type}`)}function uh($){let Y=[],z=new Map,U=(J,I,K)=>{if(J===null||typeof J!=="object")return;let G=J;if(ma in G){if(!K||I.length===0)return`${Hw(I)}: x-mcp-header is only permitted on properties statically reachable via a chain of 'properties' keys (not under items, additionalProperties, oneOf/anyOf/allOf/not, if/then/else, or $ref)`;let H=G[ma];if(typeof H!=="string"||H.length===0)return`${Hw(I)}: x-mcp-header MUST be a non-empty string`;if(!Zf0.test(H))return`${Hw(I)}: x-mcp-header '${H}' is not a valid RFC 9110 token (no spaces, control characters or HTTP delimiters)`;let X=typeof G.type==="string"?G.type:void 0;if(X===void 0||!qf0.has(X))return`${Hw(I)}: x-mcp-header is only permitted on primitive-typed properties (string, integer, boolean); got ${X??""}`;let Z=H.toLowerCase(),q=z.get(Z);if(q!==void 0)return`x-mcp-header '${H}' is not case-insensitively unique (also declared as '${q}')`;z.set(Z,H),Y.push({path:I,headerName:H,type:X})}let W=G.properties;if(W!==null&&typeof W==="object")for(let[H,X]of Object.entries(W)){let Z=U(X,[...I,H],K);if(Z!==void 0)return Z}for(let H of Vf0){let X=G[H];if(X===void 0)continue;let Z=Array.isArray(X)?X:X!==null&&typeof X==="object"&&Lf0.has(H)?Object.values(X):[X];for(let q of Z){let V=U(q,[...I,`<${H}>`],!1);if(V!==void 0)return V}}},Q=U($,[],!0);return Q===void 0?{valid:!0,declarations:Y}:{valid:!1,reason:Q}}function Hw($){return $.length===0?"":$.join(".")}function Xw($,Y,z,U,Q){return{kind:"reject",rung:$,cell:Y,httpStatus:z,code:U.code,message:U.message,...U.data!==void 0&&{data:U.data},settled:Q}}function bh($){if(!ww($))return!1;let Y=Mw($);if(Y===void 0||!_Q(Y))return!1;let z=fY($);return z!==void 0&&Ow(z).length===0}function ih($,Y){switch($.reason){case"http-method":return Xw("http-method","modern-only-method-not-allowed",405,new J1(-32000,"Method not allowed."),!0);case"batch":return Xw("jsonrpc-shape","modern-only-batch-not-supported",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC batches are not supported by this endpoint"),!0);case"response":return Xw("jsonrpc-shape","modern-only-response-post",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC responses cannot be posted to this endpoint"),!0);case"notification":return;case"initialize":case"no-claim":{let z=$.requestedVersion;return Xw("era-classification","modern-only-missing-envelope",400,z===void 0?new J1(n0.UnsupportedProtocolVersion,"Unsupported protocol version: the request did not name a protocol version",{supported:[...Y]}):new vQ({supported:[...Y],requested:z}),!0)}}}function Dw($,Y){return OG($,Y)}function QW($){return new Set($.flatMap((Y)=>Object.keys(Y.shape)))}function RQ($){if($==null)return!1;let Y=typeof $;if(Y!=="object"&&Y!=="function")return!1;if(!("~standard"in $))return!1;return typeof $["~standard"]?.validate==="function"}function E3($,Y="input"){let z=$["~standard"],U;if(z.jsonSchema)U=z.jsonSchema[Y]({target:Th});else if(z.vendor==="zod"){if(!("_zod"in $))throw Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");if(!la)la=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.");U=RY($,{target:Th,io:Y})}else throw Error(`Schema library "${z.vendor}" does not implement StandardJSONSchemaV1 (\`~standard.jsonSchema\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(Y==="output"){if(U.type!==void 0)return U;return Ft(U)?{type:"object",...U}:U}if(U.type!==void 0&&U.type!=="object")throw Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(U.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...U}}function Ft($){if("properties"in $||"patternProperties"in $||"additionalProperties"in $||"required"in $)return!0;for(let Y of["oneOf","anyOf","allOf"]){let z=$[Y];if(Array.isArray(z)&&z.length>0)return z.every((U)=>U!==null&&typeof U==="object"&&(U.type==="object"||Ft(U)))}return!1}function wf0($){if(!$.path?.length)return $.message;return`${$.path.map((Y)=>String(typeof Y==="object"?Y.key:Y)).join(".")}: ${$.message}`}async function kY($,Y){let z=await $["~standard"].validate(Y);if(z.issues&&z.issues.length>0)return{success:!1,error:z.issues.map((U)=>wf0(U)).join(", ")};return{success:!0,data:z.value}}function Mf0($){let Y=RY($,{target:Th,io:"input"});return typeof Y.pattern==="string"?Y.pattern:void 0}function Nf0($){let Y=Of0.exec($),z=[void 0,-1,0];if(Y)z.push(Number(Y[1]));return[!1,!0].flatMap((U)=>[!1,!0].flatMap((Q)=>z.map((J)=>Q$.datetime({local:U,offset:Q,precision:J}))))}function Df0($,Y){let z;switch($){case"email":z=[rV()];break;case"uri":z=[HQ()];break;case"date":z=[Q$.date()];break;case"date-time":z=Nf0(Y);break}return new Set(z.map((U)=>Mf0(U)).filter((U)=>U!==void 0))}function Bf0($,Y,z){if(z!=="zod")return!0;return Df0($,Y).has(Y)}function wt($){let Y=E3($,"input"),z=Y.properties||{},U=Y.required||[];return Object.entries(z).map(([Q,J])=>({name:Q,description:J?.description,required:U.includes(Q)}))}function GW($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Pf0($){try{return E3($,"input")}catch(Y){let z=Y instanceof Error?Y.message:String(Y);throw new J1(n0.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${z}`)}}function ch($){return Af0.has($)||$.startsWith("x-")}function Ef0($,Y,z,U){if(!GW($))return $;let Q=typeof $.type==="string"&&Object.hasOwn(oa,$.type)?oa[$.type]:void 0;if(Q===void 0)return $;let J={};for(let[I,K]of Object.entries($))if(Q.has(I)||ch(I))J[I]=K;else if(I==="pattern"&&$.type==="string"&&typeof $.format==="string"){if(!jf0.has($.format))J[I]=K;else if(typeof K!=="string"||!Bf0($.format,K,z))U.push(`${Y}.${I}`)}else U.push(`${Y}.${I}`);return J}function Cf0($,Y){let z={},U=[];for(let[Q,J]of Object.entries($))if(Q==="properties"&&GW(J))z[Q]=Object.fromEntries(Object.entries(J).map(([I,K])=>[I,Ef0(K,`properties.${I}`,Y,U)]));else if(Tf0.has(Q))z[Q]=J;else if(!ch(Q))U.push(Q);if(U.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${U.join(", ")}`);return z}function Rf0($,Y){if(!GW($.properties))return Y;let z=Object.entries($.properties).filter(([,U])=>!Dw(zW,U).success).map(([U])=>`properties.${U}`);return z.length>0?z.join(", "):Y}function jh($,Y,z=""){if(Array.isArray($)&&Array.isArray(Y))return $.flatMap((U,Q)=>jh(U,Y[Q],`${z}[${Q}]`));if(!GW($)||!GW(Y))return[];return Object.entries($).flatMap(([U,Q])=>{let J=z?`${z}.${U}`:U;if(!Object.prototype.hasOwnProperty.call(Y,U))return ch(U)?[]:[J];return jh(Q,Y[U],J)})}function _f0($){if(!RQ($.requestedSchema))return{...$,mode:"form",requestedSchema:$.requestedSchema};let Y=$.requestedSchema["~standard"].vendor,z=Cf0(Pf0($.requestedSchema),Y),U=Dw(jQ.shape.requestedSchema,z);if(!U.success)throw new J1(n0.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${Rf0(z,U.error.message)}`);let Q=jh(z,U.data);if(Q.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${Q.join(", ")}`);let J=(U.data.required??[]).filter((I)=>!Object.prototype.hasOwnProperty.call(U.data.properties,I));if(J.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${J.join(", ")}`);return{...$,mode:"form",requestedSchema:U.data}}function vf0($){let Y=$.inputRequests!==void 0&&Object.keys($.inputRequests).length>0,z=typeof $.requestState==="string";if(!Y&&!z)throw TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...$.inputRequests!==void 0&&{inputRequests:$.inputRequests},...$.requestState!==void 0&&{requestState:$.requestState}}}function Ot($,Y){return`Multi-round-trip request '${$}' still required input after ${Y} rounds (inputRequired.maxRounds)`}function Nt($,Y){return new Promise((z,U)=>{if(Y?.aborted){U(Y.reason instanceof V1?Y.reason:new V1(B1.RequestTimeout,String(Y.reason)));return}let Q=setTimeout(()=>{Y?.removeEventListener("abort",J),z()},$),J=()=>{clearTimeout(Q),U(Y?.reason instanceof V1?Y.reason:new V1(B1.RequestTimeout,String(Y?.reason)))};Y?.addEventListener("abort",J,{once:!0})})}function Dt($){let Y=new AbortController,z=()=>Y.abort($?.reason);if($?.addEventListener("abort",z,{once:!0}),$?.aborted)Y.abort($.reason);return{signal:Y.signal,abort:(U)=>Y.abort(U),dispose:()=>$?.removeEventListener("abort",z)}}function At($,Y){let z=$.slice(0,-6);Bt[z]=Y,Pt[z]=(U)=>Y.safeParse(U).success}function xf0($){switch($){case"initialize":case"notifications/initialized":return A3(void 0);case"server/discover":return A3(WW);default:return}}function ra($,Y){let z=$.params;if(!IW(z))return{message:$,lifted:{}};let U=z._meta,Q=IW(U)?ff0.filter((G)=>(G in U)):[],J=Y==="request"?uf0.filter((G)=>(G in z)):[];if(Q.length===0&&J.length===0)return{message:$,lifted:{}};let I={},K={...z};if(Q.length>0&&IW(U)){let G={},W={...U};for(let H of Q)G[H]=U[H],delete W[H];if(I.envelope=G,Object.keys(W).length>0)K._meta=W;else delete K._meta}for(let G of J){if(G==="inputResponses")I.inputResponses=K[G];if(G==="requestState")I.requestState=K[G];delete K[G]}return{message:{...$,params:K},lifted:I}}function sa($,Y){let z=$.validateResult(Y,void 0);if(!z.ok&&z.reason==="not-in-era")return;return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(U){let Q=$.validateResult(Y,U);if(Q.ok)return{value:Q.value};return{issues:[{message:Q.reason==="invalid"?Q.message:`not-in-era: ${Y}`}]}}}}}function HW($){return()=>$}function nh($,Y){return{...$,mcpReq:{...$.mcpReq,requestState:HW(Y)}}}function ph($,Y){jt($,Y)}function IW($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function mh($,Y){let z={...$};for(let U in Y){let Q=U,J=Y[Q];if(J===void 0)continue;let I=z[Q];z[Q]=IW(I)&&IW(J)?{...I,...J}:J}return z}function aa($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function if0($){let Y={},z=[];if(!aa($))return{accepted:Y,droppedKeys:z};for(let[U,Q]of Object.entries($)){if(!aa(Q)||"method"in Q||"result"in Q){z.push(U);continue}Y[U]=Q}return{accepted:Y,droppedKeys:z}}function cf0($){return{resultType:"input_required",inputRequests:$.inputRequests,...$.requestState!==void 0&&{requestState:$.requestState}}}function Ct($){return xG.parse(JSON.parse($))}function oh($){return JSON.stringify($)+` +`}function df0($){let Y=[];if($.length===0)return{isValid:!1,warnings:["Tool name cannot be empty"]};if($.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${$.length})`]};if($.includes(" "))Y.push("Tool name contains spaces, which may cause parsing issues");if($.includes(","))Y.push("Tool name contains commas, which may cause parsing issues");if($.startsWith("-")||$.endsWith("-"))Y.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts");if($.startsWith(".")||$.endsWith("."))Y.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts");if(!pf0.test($)){let z=[...$].filter((U)=>!/[A-Za-z0-9._-]/.test(U)).filter((U,Q,J)=>J.indexOf(U)===Q);return Y.push(`Tool name contains invalid characters: ${z.map((U)=>`"${U}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:Y}}return{isValid:!0,warnings:Y}}function mf0($,Y){if(Y.length>0){console.warn(`Tool name validation warning for "${$}":`);for(let z of Y)console.warn(` - ${z}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}function rh($){let Y=df0($);return mf0($,Y.warnings),Y.isValid}function lf0($){return typeof $==="object"&&$!==null&&"_zod"in $}function of0($){return typeof $==="object"&&$!==null&&!("_zod"in $)&&"_def"in $&&typeof $._def?.typeName==="string"}function rf0($){if(typeof $!=="object"||$===null)return!1;if(RQ($))return!1;let Y=Object.getPrototypeOf($);if(Y!==Object.prototype&&Y!==null)return!1;return Object.values($).every((z)=>lf0(z))}function Bw($){if($===void 0)return;if(rf0($))return z0($);if(typeof $==="object"&&$!==null&&!RQ($)&&Object.values($).some((Y)=>of0(Y)))throw TypeError("Raw-shape inputSchema/outputSchema/argsSchema fields must be Zod v4 schemas. Got a Zod v3 field schema. Import from `zod/v4` (or upgrade your zod import), or wrap with `z.object({...})` yourself.");if(!RQ($))throw TypeError("inputSchema/outputSchema/argsSchema must be a Standard Schema (e.g. z.object({...})) or a raw Zod shape ({ field: z.string() }).");return $}var Ph,Ex0,B1,V1,Cx0,ea="2026-07-28",T3,zt,vx0,hx0,Sx0,Jt,It,yx0,Iw,Ex1,Cx1,ia,vh,ix0,cx0,EQ,n0,J1,Lw,Wt,vQ,Fw,dx0=0,mx0="private",lx0,Yf0,Gw,yh,Zt,Rx1,_x1,Kf0,Gf0,kh,Ww,WW="2026-07-28",Lt,Xf0,D$=($)=>yG.safeParse($).success,j3=($)=>kG.safeParse($).success,KW=($)=>FQ.safeParse($).success,Nw=($)=>wQ.safeParse($).success,r9=($)=>typeof $==="object"&&$!==null&&!Array.isArray($)&&$.resultType==="input_required",ma="x-mcp-header",Zf0,qf0,Vf0,Lf0,Zw=-32020,vx1,Ff0,la=!1,Th="draft-2020-12",Of0,Af0,Tf0,oa,jf0,hf0,Mt=250,Sf0,gf0,Bt,Pt,yf0,kf0,Tt=60000,ff0,uf0,bf0,jt,dh,nf0,hx1,Et=10485760,lh=class{_buffer;_maxBufferSize;constructor($){this._maxBufferSize=$?.maxBufferSize??Et}append($){if((this._buffer?.length??0)+$.length>this._maxBufferSize)throw this.clear(),Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){while(this._buffer){let $=this._buffer.indexOf(` +`);if($===-1)return null;let Y=this._buffer.toString("utf8",0,$).replace(/\r$/,"");this._buffer=this._buffer.subarray($+1);try{return Ct(Y)}catch(z){if(z instanceof SyntaxError)continue;throw z}}return null}clear(){this._buffer=void 0}},pf0;var Pw=o(()=>{bT();iT();fa();cv();Ph=Symbol.for("mcp.sdk.errorBrands");Ex0=class $ extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthError"})}static[Symbol.hasInstance](Y){return CQ(this,Y)}static isInstance(Y){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return CQ(this,Y)}constructor(Y,z,U){super(z);this.code=Y,this.errorUri=U,this.name="OAuthError",Eh(this,new.target)}toResponseObject(){let Y={error:this.code,error_description:this.message};if(this.errorUri)Y.error_uri=this.errorUri;return Y}static fromResponse(Y){return new $(Y.error,Y.error_description??Y.error,Y.error_uri)}},B1=function($){return $.NotConnected="NOT_CONNECTED",$.AlreadyConnected="ALREADY_CONNECTED",$.NotInitialized="NOT_INITIALIZED",$.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",$.RequestTimeout="REQUEST_TIMEOUT",$.ConnectionClosed="CONNECTION_CLOSED",$.SendFailed="SEND_FAILED",$.InvalidResult="INVALID_RESULT",$.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",$.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",$.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",$.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",$.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",$.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",$.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",$.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",$.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",$.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",$.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",$}({}),V1=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkError"})}static[Symbol.hasInstance]($){return CQ(this,$)}static isInstance($){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return CQ(this,$)}constructor($,Y,z){super(Y);this.code=$,this.data=z,this.name="SdkError",Eh(this,new.target)}},Cx0=class extends V1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkHttpError"})}constructor($,Y,z){super($,Y,z);this.name="SdkHttpError"}get status(){return this.data.status}get statusText(){return this.data.statusText}};T3=[ea];zt=["task","inputRequests","requestState"];hx0=new Set(["const","enum","default","examples"]),Sx0=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);Jt={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},It={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},yx0={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null};Ex1=Object.keys(Jt),Cx1=Object.keys(It);ia={ok:!1,reason:"not-in-era"};vh={era:"2025-11-25",hasRequestMethod:Kt,hasNotificationMethod:Gt,validateRequest:($,Y)=>Kw(fx0($),Y),validateResult:($,Y)=>Kw(xx0($),Y),validateNotification:($,Y)=>Kw(ux0($),Y),hasInputRequestMethod:()=>!1,validateInputRequest:()=>ia,validateInputResponse:()=>ia,samplingResultVariant:($,Y)=>{let z=Ut();return Kw($?z.CreateMessageResultWithToolsSchema:z.CreateMessageResultSchema,Y)},outboundEnvelope:($)=>{return},validateEnvelopeMeta:($)=>[],projectCallToolResult($,Y){let z=Yt($),U=z.structuredContent;if(U===void 0)return z;let Q=typeof U!=="object"||U===null||Array.isArray(U),J=Y!==void 0&&Qt(Y);if(!Q&&!J)return z;return{...z,structuredContent:{result:U}}},decodeResult($,Y){if(Ah(Y)&&"resultType"in Y){let z={...Y};return delete z.resultType,{kind:"complete",result:na(z)}}return{kind:"complete",result:na(Y)}},encodeResult($,Y){if($!=="tools/list")return Y;let z=Y.tools;if(!Array.isArray(z)||!z.some((U)=>ca(U)))return Y;return{...Y,tools:z.map((U)=>ca(U)?{...U,outputSchema:gx0(U.outputSchema)}:U)}},encodeErrorCode:($)=>$===-32002?-32602:$,checkInboundEnvelope:($)=>{return}};cx0=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];EQ=Symbol("modelcontextprotocol.resultCacheHintFallback");n0=function($){return $[$.ParseError=-32700]="ParseError",$[$.InvalidRequest=-32600]="InvalidRequest",$[$.MethodNotFound=-32601]="MethodNotFound",$[$.InvalidParams=-32602]="InvalidParams",$[$.InternalError=-32603]="InternalError",$[$.ResourceNotFound=-32002]="ResourceNotFound",$[$.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",$[$.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",$[$.UrlElicitationRequired=-32042]="UrlElicitationRequired",$}({}),J1=class $ extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ProtocolError"})}static[Symbol.hasInstance](Y){return CQ(this,Y)}static isInstance(Y){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return CQ(this,Y)}constructor(Y,z,U){super(z);this.code=Y,this.data=U,this.name="ProtocolError",Eh(this,new.target)}static fromError(Y,z,U){if(Y===n0.UrlElicitationRequired&&U){let Q=U;if(Q.elicitations)return new Wt(Q.elicitations,z)}if(Y===n0.UnsupportedProtocolVersion&&U){let Q=U;if(Array.isArray(Q.supported)&&typeof Q.requested==="string")return new vQ({supported:Q.supported,requested:Q.requested},z)}if(Y===n0.InvalidParams||Y===n0.ResourceNotFound){let Q=U;if(typeof Q?.uri==="string"&&(Y===n0.ResourceNotFound||Object.keys(Q).length===1))return new Lw(Q.uri,z)}if(Y===n0.MissingRequiredClientCapability&&U){let Q=U;if(Q.requiredCapabilities!==null&&typeof Q.requiredCapabilities==="object"&&!Array.isArray(Q.requiredCapabilities))return new Fw({requiredCapabilities:Q.requiredCapabilities},z)}return new $(Y,z,U)}},Lw=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ResourceNotFoundError"})}constructor($,Y=`Resource not found: ${$}`){super(n0.InvalidParams,Y,{uri:$})}get uri(){return this.data.uri}},Wt=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"})}constructor($,Y=`URL elicitation${$.length>1?"s":""} required`){super(n0.UrlElicitationRequired,Y,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}},vQ=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"})}constructor($,Y=`Unsupported protocol version: ${$.requested}`){super(n0.UnsupportedProtocolVersion,Y,$)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Fw=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"})}constructor($,Y=`Missing required client capabilities: ${Object.keys($.requiredCapabilities).join(", ")}`){super(n0.MissingRequiredClientCapability,Y,$)}get requiredCapabilities(){return this.data.requiredCapabilities}},lx0=["tools/call","prompts/get","resources/read"];Yf0=["elicitation/create","sampling/createMessage","roots/list"];yh={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},Zt={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};Rx1=Object.keys(yh),_x1=Object.keys(Zt);Kf0={ok:!1,reason:"not-in-era"},Gf0=[m9,l9];kh={era:"2026-07-28",hasRequestMethod:qt,hasNotificationMethod:Vt,hasInputRequestMethod:($)=>Nh($)!==void 0,validateRequest:($,Y)=>UW(Qf0($),Y),validateResult:($,Y)=>UW(Jf0($),Y),validateNotification:($,Y)=>UW(If0($),Y),validateInputRequest:($,Y)=>UW(Nh($),Y),validateInputResponse:($,Y)=>UW(zf0($),Y),samplingResultVariant:()=>Kf0,outboundEnvelope($){return{[m9]:$.protocolVersion,[LQ]:$.clientInfo,[l9]:$.clientCapabilities,...$.logLevel!==void 0&&{[F3]:$.logLevel}}},validateEnvelopeMeta($){let Y=[];for(let U of Gf0)if(!(U in $))Y.push({key:U,problem:"missing"});let z=xY().RequestMetaEnvelopeSchema.safeParse($);if(!z.success)for(let U of z.error.issues){let Q=U.path.map(String),J=Q.length>0?Q.join("."):"_meta";if(Q.length===1&&Y.some((I)=>I.key===J&&I.problem==="missing"))continue;Y.push({key:J,problem:U.message})}return Y},projectCallToolResult:($)=>Yt($),inputRequestSchema:Nh,decodeResult($,Y){if(!JW(Y))return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: not an object`,{method:$})};let z=Y.resultType;if(z===void 0)return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: missing required resultType — servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:$,violation:"missing-resultType"})};if(typeof z!=="string")return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: non-string resultType`,{method:$,resultType:z})};if(z==="input_required"){let I=Y.inputRequests,K=JW(I)?I:{},G=Y.requestState;if(Object.keys(K).length===0&&typeof G!=="string")return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:$,violation:"input-required-missing-both"})};return{kind:"input_required",inputRequests:K,...typeof G==="string"&&{requestState:G}}}if(z!=="complete")return{kind:"invalid",error:new V1(B1.UnsupportedResultType,`Unsupported result type '${z}' for ${$}`,{resultType:z,method:$})};let U=Hf0(),Q=Object.hasOwn(U,$)?U[$]:void 0;if(Q!==void 0){let I=Q.safeParse(Y);if(!I.success)return{kind:"invalid",error:new V1(B1.InvalidResult,`Invalid result for ${$}: ${I.error}`,{method:$})}}let J={...Y};return delete J.resultType,{kind:"complete",result:J}},encodeResult($,Y,z){return ax0(rx0($,ox0($,Wf0($,Y))),z)},encodeErrorCode:($)=>$===-32002?-32602:$,checkInboundEnvelope($){if($.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";let Y=xY().RequestMetaEnvelopeSchema.safeParse($.envelope);if(!Y.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${Y.error.issues.map((z)=>z.message).join("; ")}`}};Lt=[vh,kh];Xf0=Ao({AnnotationsSchema:()=>o9,AudioContentSchema:()=>BQ,BaseMetadataSchema:()=>d9,BaseRequestParamsSchema:()=>S6,BlobResourceContentsSchema:()=>dG,BooleanSchemaSchema:()=>sG,CallToolRequestParamsSchema:()=>OF,CallToolRequestSchema:()=>NF,CallToolResultSchema:()=>rG,CancelTaskRequestSchema:()=>Qh,CancelTaskResultSchema:()=>Jh,CancelledNotificationParamsSchema:()=>BL,CancelledNotificationSchema:()=>uG,ClientCapabilitiesSchema:()=>jL,ClientNotificationSchema:()=>Kh,ClientRequestSchema:()=>Ih,ClientResultSchema:()=>Gh,ClientTasksCapabilitySchema:()=>AL,CompatibilityCallToolResultSchema:()=>lv,CompleteRequestParamsSchema:()=>lF,CompleteRequestSchema:()=>oF,CompleteResultSchema:()=>rF,ContentBlockSchema:()=>PQ,CreateMessageRequestParamsSchema:()=>hF,CreateMessageRequestSchema:()=>SF,CreateMessageResultSchema:()=>gF,CreateMessageResultWithToolsSchema:()=>yF,CreateTaskResultSchema:()=>sv,CursorSchema:()=>hG,DiscoverRequestSchema:()=>vL,DiscoverResultSchema:()=>hL,ElicitRequestFormParamsSchema:()=>jQ,ElicitRequestParamsSchema:()=>bF,ElicitRequestSchema:()=>iF,ElicitRequestURLParamsSchema:()=>uF,ElicitResultSchema:()=>pF,ElicitationCompleteNotificationParamsSchema:()=>cF,ElicitationCompleteNotificationSchema:()=>nF,EmbeddedResourceSchema:()=>HF,EmptyResultSchema:()=>fG,EnumSchemaSchema:()=>fF,GetPromptRequestParamsSchema:()=>KF,GetPromptRequestSchema:()=>GF,GetPromptResultSchema:()=>qF,GetTaskPayloadRequestSchema:()=>$h,GetTaskPayloadResultSchema:()=>Yh,GetTaskRequestSchema:()=>tv,GetTaskResultSchema:()=>ev,IconSchema:()=>PL,IconsSchema:()=>M3,ImageContentSchema:()=>DQ,ImplementationSchema:()=>MQ,InitializeRequestParamsSchema:()=>EL,InitializeRequestSchema:()=>CL,InitializeResultSchema:()=>RL,InitializedNotificationSchema:()=>_L,JSONArraySchema:()=>pv,JSONObjectSchema:()=>t4,JSONRPCErrorResponseSchema:()=>wQ,JSONRPCMessageSchema:()=>xG,JSONRPCNotificationSchema:()=>kG,JSONRPCRequestSchema:()=>yG,JSONRPCResponseSchema:()=>dv,JSONRPCResultResponseSchema:()=>FQ,JSONValueSchema:()=>L3,LegacyTitledEnumSchemaSchema:()=>eG,ListChangedOptionsBaseSchema:()=>ov,ListPromptsRequestSchema:()=>JF,ListPromptsResultSchema:()=>IF,ListResourceTemplatesRequestSchema:()=>uL,ListResourceTemplatesResultSchema:()=>bL,ListResourcesRequestSchema:()=>xL,ListResourcesResultSchema:()=>fL,ListRootsRequestSchema:()=>aF,ListRootsResultSchema:()=>tF,ListTasksRequestSchema:()=>zh,ListTasksResultSchema:()=>Uh,ListToolsRequestSchema:()=>wF,ListToolsResultSchema:()=>MF,LoggingLevelSchema:()=>B3,LoggingMessageNotificationParamsSchema:()=>AF,LoggingMessageNotificationSchema:()=>TF,ModelHintSchema:()=>jF,ModelPreferencesSchema:()=>EF,MultiSelectEnumSchemaSchema:()=>xF,NotificationSchema:()=>W8,NotificationsParamsSchema:()=>G8,NumberSchemaSchema:()=>TQ,PaginatedRequestParamsSchema:()=>yL,PaginatedRequestSchema:()=>O3,PaginatedResultSchema:()=>N3,PingRequestSchema:()=>iG,PrimitiveSchemaDefinitionSchema:()=>zW,ProgressNotificationParamsSchema:()=>gL,ProgressNotificationSchema:()=>cG,ProgressSchema:()=>SL,ProgressTokenSchema:()=>vG,PromptArgumentSchema:()=>UF,PromptListChangedNotificationSchema:()=>VF,PromptMessageSchema:()=>ZF,PromptReferenceSchema:()=>mF,PromptSchema:()=>QF,ReadResourceRequestParamsSchema:()=>iL,ReadResourceRequestSchema:()=>cL,ReadResourceResultSchema:()=>nL,RelatedTaskMetadataSchema:()=>DL,RequestIdSchema:()=>w3,RequestMetaSchema:()=>SG,RequestSchema:()=>e4,ResourceContentsSchema:()=>nG,ResourceLinkSchema:()=>XF,ResourceListChangedNotificationSchema:()=>pL,ResourceRequestParamsSchema:()=>OQ,ResourceSchema:()=>mG,ResourceTemplateReferenceSchema:()=>dF,ResourceTemplateSchema:()=>kL,ResourceUpdatedNotificationParamsSchema:()=>YF,ResourceUpdatedNotificationSchema:()=>zF,ResultMetaObjectSchema:()=>gG,ResultSchema:()=>$6,RoleSchema:()=>D3,RootSchema:()=>sF,RootsListChangedNotificationSchema:()=>eF,SamplingContentSchema:()=>_F,SamplingMessageContentBlockSchema:()=>vY,SamplingMessageSchema:()=>vF,ServerCapabilitiesSchema:()=>bG,ServerNotificationSchema:()=>Hh,ServerRequestSchema:()=>Wh,ServerResultSchema:()=>Xh,ServerTasksCapabilitySchema:()=>TL,SetLevelRequestParamsSchema:()=>BF,SetLevelRequestSchema:()=>PF,SingleSelectEnumSchemaSchema:()=>kF,StringSchemaSchema:()=>AQ,SubscribeRequestParamsSchema:()=>dL,SubscribeRequestSchema:()=>mL,SubscriptionFilterSchema:()=>lG,SubscriptionsAcknowledgedNotificationParamsSchema:()=>aL,SubscriptionsAcknowledgedNotificationSchema:()=>tL,SubscriptionsListenRequestParamsSchema:()=>rL,SubscriptionsListenRequestSchema:()=>sL,SubscriptionsListenResultMetaSchema:()=>eL,SubscriptionsListenResultSchema:()=>$F,TaskAugmentedRequestParamsSchema:()=>yY,TaskCreationParamsSchema:()=>rv,TaskMetadataSchema:()=>NL,TaskSchema:()=>P3,TaskStatusNotificationParamsSchema:()=>Yw,TaskStatusNotificationSchema:()=>av,TaskStatusSchema:()=>$w,TextContentSchema:()=>NQ,TextResourceContentsSchema:()=>pG,TitledMultiSelectEnumSchemaSchema:()=>YW,TitledSingleSelectEnumSchemaSchema:()=>tG,ToolAnnotationsSchema:()=>LF,ToolChoiceSchema:()=>CF,ToolExecutionSchema:()=>FF,ToolListChangedNotificationSchema:()=>DF,ToolResultContentSchema:()=>RF,ToolSchema:()=>oG,ToolUseContentSchema:()=>WF,UnsubscribeRequestParamsSchema:()=>lL,UnsubscribeRequestSchema:()=>oL,UntitledMultiSelectEnumSchemaSchema:()=>$W,UntitledSingleSelectEnumSchemaSchema:()=>aG});Zf0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,qf0=new Set(["string","integer","boolean","number"]);Vf0=["items","prefixItems","contains","additionalProperties","unevaluatedProperties","unevaluatedItems","propertyNames","patternProperties","dependentSchemas","oneOf","anyOf","allOf","not","if","then","else","$defs","definitions"],Lf0=new Set(["patternProperties","dependentSchemas","$defs","definitions"]);vx1=[{rung:"http-method",order:1,evaluatedAt:"edge",codes:[-32000],conformance:[],rationale:"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read."},{rung:"jsonrpc-shape",order:2,evaluatedAt:"edge",codes:[n0.InvalidRequest],conformance:["server-stateless"],rationale:"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic."},{rung:"era-classification",order:3,evaluatedAt:"edge",codes:[Zw,n0.UnsupportedProtocolVersion],conformance:["server-stateless","http-header-validation","http-custom-header-server-validation"],rationale:"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions."},{rung:"envelope",order:4,evaluatedAt:"edge",codes:[n0.InvalidParams],conformance:["server-stateless"],rationale:"A present envelope claim with a malformed envelope — and a missing envelope on a request whose protocol-version header names a modern revision — is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400."},{rung:"method-registry",order:5,evaluatedAt:"dispatch",codes:[n0.MethodNotFound],conformance:["server-stateless"],rationale:"Method existence outranks parameter validity: a method absent from the negotiated revision’s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at."},{rung:"request-params",order:6,evaluatedAt:"dispatch",codes:[n0.InvalidParams],conformance:[],rationale:"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table."},{rung:"standard-header-validation",order:7,evaluatedAt:"pre-dispatch",codes:[Zw],conformance:["http-header-validation"],rationale:"SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."},{rung:"client-capabilities",order:8,evaluatedAt:"pre-dispatch",codes:[n0.MissingRequiredClientCapability],conformance:["server-stateless"],rationale:"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced — pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable."},{rung:"param-header-validation",order:9,evaluatedAt:"pre-dispatch",codes:[Zw],conformance:["http-custom-header-server-validation"],rationale:"SEP-2243 `Mcp-Param-*` headers are validated against the named tool’s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung."}],Ff0={[n0.ParseError]:400,[n0.InvalidRequest]:400,[n0.MethodNotFound]:404,[n0.UnsupportedProtocolVersion]:400,[n0.MissingRequiredClientCapability]:400,[Zw]:400};Of0=/\\\.\\d\{(\d+)\}/;Af0=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);Tf0=new Set(["$schema",...Object.keys(jQ.shape.requestedSchema.shape)]),oa={string:QW([AQ,aG,tG,eG]),number:QW([TQ]),integer:QW([TQ]),boolean:QW([sG]),array:QW([$W,YW])},jf0=new Set(AQ.shape.format.unwrap().options);hf0=Object.assign(vf0,{elicit($){try{return{method:"elicitation/create",params:_f0($)}}catch(Y){throw Y instanceof J1?TypeError(Y.message,{cause:Y}):Y}},elicitUrl($){return{method:"elicitation/create",params:{...$,mode:"url"}}},createMessage($){return{method:"sampling/createMessage",params:$}},listRoots(){return{method:"roots/list"}}});Sf0=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],gf0={IdJagTokenExchangeResponseSchema:Lh,OAuthClientInformationFullSchema:wh,OAuthClientInformationSchema:Jw,OAuthClientMetadataSchema:Qw,OAuthClientRegistrationErrorSchema:Mh,OAuthErrorResponseSchema:Fh,OAuthMetadataSchema:zw,OAuthProtectedResourceMetadataSchema:Zh,OAuthTokenRevocationRequestSchema:Oh,OAuthTokensSchema:Vh,OpenIdProviderDiscoveryMetadataSchema:qh,OpenIdProviderMetadataSchema:Uw},Bt={},Pt={};for(let $ of Sf0)At($,Xf0[$]);for(let[$,Y]of Object.entries(gf0))At($,Y);yf0=Object.freeze(Bt),kf0=Object.freeze(Pt);ff0=[m9,LQ,l9,F3],uf0=["inputResponses","requestState"];bf0=HW(void 0);dh=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{jt=($,Y)=>{$._negotiatedProtocolVersion=Y}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor($){this._options=$,this._supportedProtocolVersions=$?.supportedProtocolVersions??ML,this.setNotificationHandler("notifications/cancelled",(Y)=>{this._oncancel(Y)}),this.setNotificationHandler("notifications/progress",(Y)=>{this._onprogress(Y)}),this.setRequestHandler("ping",(Y)=>({}))}_shouldDropInbound($){}_outboundMetaEnvelope(){}_envelopeOutbound($){let Y=this._outboundMetaEnvelope();if(Y===void 0)return $;let z=$.params??{};return{...$,params:{...z,_meta:{...Y,...z._meta}}}}_resolveNonCompleteResult($,Y){return Promise.reject(new V1(B1.UnsupportedResultType,`Unsupported result type '${$.kind}' for ${Y.request.method}`,{resultType:$.kind,method:Y.request.method}))}_getRequestHandler($){return this._requestHandlers.get($)}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,Y,z,U,Q=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(U,Y),startTime:Date.now(),timeout:Y,maxTotalTimeout:z,resetTimeoutOnProgress:Q,onTimeout:U})}_resetTimeout($){let Y=this._timeoutInfo.get($);if(!Y)return!1;let z=Date.now()-Y.startTime;if(Y.maxTotalTimeout&&z>=Y.maxTotalTimeout)throw this._timeoutInfo.delete($),new V1(B1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:Y.maxTotalTimeout,totalElapsed:z});return clearTimeout(Y.timeoutId),Y.timeoutId=setTimeout(Y.onTimeout,Y.timeout),!0}_cleanupTimeout($){let Y=this._timeoutInfo.get($);if(Y)clearTimeout(Y.timeoutId),this._timeoutInfo.delete($)}async connect($){this._transport=$;let Y=this.transport?.onclose;this._transport.onclose=()=>{try{Y?.()}finally{this._onclose()}};let z=this.transport?.onerror;this._transport.onerror=(Q)=>{z?.(Q),this._onerror(Q)};let U=this._transport?.onmessage;this._transport.onmessage=(Q,J)=>{if(U?.(Q,J),KW(Q)||Nw(Q))this._onresponse(Q);else if(D$(Q))this._onrequest(Q,J);else if(j3(Q))this._onnotification(Q,J);else this._onerror(Error(`Unknown message type: ${JSON.stringify(Q)}`))},$.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let $=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let U of this._timeoutInfo.values())clearTimeout(U.timeoutId);this._timeoutInfo.clear();let Y=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let z=new V1(B1.ConnectionClosed,"Connection closed");this._transport=void 0;try{this.onclose?.()}finally{for(let U of $.values())U(z);for(let U of Y.values())U.abort(z)}}_onerror($){this.onerror?.($)}_onnotification($,Y){let{message:z}=ra($,"notification"),U=this._negotiatedWireCodec();if(Y?.classification===void 0&&this._shouldDropInbound($)==="drop")return;if(Y?.classification!==void 0){let I=pa(Y.classification);if(I!==U.era){this._onerror(Error(`Era mismatch on inbound notification '${z.method}': classified as ${I} but this instance serves ${U.era}`));return}}if(Bh(z.method)&&!U.hasNotificationMethod(z.method))return;let Q=this._notificationHandlers.get(z.method),J=this.fallbackNotificationHandler;if(Q===void 0&&J===void 0)return;Promise.resolve().then(()=>Q===void 0?J(z):Q(z,U)).catch((I)=>this._onerror(Error(`Uncaught error in notification handler: ${I}`)))}_onrequest($,Y){let{message:z,lifted:U}=ra($,"request"),Q=this._negotiatedWireCodec();if(Y?.classification===void 0&&this._shouldDropInbound($)==="drop"){this._onerror(Error(`Dropped inbound request '${$.method}': not servable on this connection's protocol era`));return}let J=this._transport,I=(F,M,w)=>{let O={jsonrpc:"2.0",id:z.id,error:{code:F,message:M,...w!==void 0&&{data:w}}};J?.send(O).catch((N)=>this._onerror(Error(`Failed to send an error response: ${N}`)))};if(Y?.classification!==void 0){let F=pa(Y.classification);if(F!==Q.era){this._onerror(Error(`Era mismatch on inbound request '${z.method}': classified as ${F} but this instance serves ${Q.era}`));let M=Y.classification.revision??F;I(n0.UnsupportedProtocolVersion,`Unsupported protocol version: ${M}`,{supported:this._supportedProtocolVersions,requested:M});return}}if(Dh(z.method)&&!Q.hasRequestMethod(z.method)){I(n0.MethodNotFound,"Method not found");return}let K=this._requestHandlers.get(z.method)??this.fallbackRequestHandler;if(K===void 0){I(n0.MethodNotFound,"Method not found");return}let G=Q.checkInboundEnvelope(U);if(G!==void 0){I(n0.InvalidParams,G);return}let W=(F,M)=>this._notificationViaCodec(this._resolveOutboundCodec(F.method),F,{...M,relatedRequestId:z.id}),H=(F,M,w)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(F.method),F,M,{...w,relatedRequestId:z.id}),X=new AbortController;this._requestHandlerAbortControllers.set(z.id,X);let Z=U.inputResponses===void 0?void 0:if0(U.inputResponses),q={sessionId:J?.sessionId,mcpReq:{id:z.id,method:z.method,_meta:z.params?._meta,...U.envelope!==void 0&&{envelope:U.envelope},...Z!==void 0&&{inputResponses:Z.accepted},...Z!==void 0&&Z.droppedKeys.length>0&&{droppedInputResponseKeys:Z.droppedKeys},requestState:U.requestState===void 0?bf0:HW(U.requestState),signal:X.signal,send:(F,M,w)=>{let O=this._resolveOutboundCodec(F.method);if(this._assertOutboundRequestInEra(O,F.method),RQ(M))return H(F,M,w);let N=sa(O,F.method);if(N===void 0)throw TypeError(`'${F.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return H(F,N,M)},notify:W},http:Y?.authInfo?{authInfo:Y.authInfo}:void 0},V=this.buildContext(q,Y);Promise.resolve().then(()=>K(z,V)).then(async(F)=>{if(X.signal.aborted)return;let M;try{M=Q.encodeResult(z.method,F,this._outboundServerInfo())}catch(O){this._onerror(Error(`Failed to encode result for ${z.method}: ${O}`)),I(n0.InternalError,"Internal error");return}let w={result:M,jsonrpc:"2.0",id:z.id};await J?.send(w)},async(F)=>{if(X.signal.aborted)return;let M=Number.isSafeInteger(F.code)?F.code:n0.InternalError,w={jsonrpc:"2.0",id:z.id,error:{code:Q.encodeErrorCode(M),message:F.message??"Internal error",...F.data!==void 0&&{data:F.data}}};await J?.send(w)}).catch((F)=>this._onerror(Error(`Failed to send response: ${F}`))).finally(()=>{if(this._requestHandlerAbortControllers.get(z.id)===X)this._requestHandlerAbortControllers.delete(z.id)})}_onprogress($){let{progressToken:Y,...z}=$.params,U=Number(Y),Q=this._progressHandlers.get(U);if(!Q){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let J=this._responseHandlers.get(U),I=this._timeoutInfo.get(U);if(I&&J&&I.resetTimeoutOnProgress)try{this._resetTimeout(U)}catch(K){this._responseHandlers.delete(U),this._progressHandlers.delete(U),this._cleanupTimeout(U),J(K);return}Q(z)}_onresponse($){let Y=Number($.id),z=this._responseHandlers.get(Y);if(z===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}if(this._responseHandlers.delete(Y),this._cleanupTimeout(Y),this._progressHandlers.delete(Y),KW($))z($);else z(J1.fromError($.error.code,$.error.message,$.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request($,Y,z){let U=this._resolveOutboundCodec($.method);if(this._assertOutboundRequestInEra(U,$.method),RQ(Y))return this._requestWithSchemaViaCodec(U,$,Y,z);let Q=sa(U,$.method);if(Q===void 0)throw TypeError(`'${$.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(U,$,Q,Y)}_negotiatedWireCodec(){return A3(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec($){if(this._negotiatedProtocolVersion===void 0){let Y=xf0($);if(Y)return Y}return this._negotiatedWireCodec()}_assertOutboundRequestInEra($,Y){if(Dh(Y)&&!$.hasRequestMethod(Y))throw new V1(B1.MethodNotSupportedByProtocolVersion,`Method '${Y}' is not supported by the negotiated protocol version (wire era ${$.era})`,{method:Y,era:$.era})}_requestWithSchema($,Y,z){let U=this._resolveOutboundCodec($.method);return this._assertOutboundRequestInEra(U,$.method),this._requestWithSchemaViaCodec(U,$,Y,z)}_requestWithSchemaViaCodec($,Y,z,U){let{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I,headers:K}=U??{},G=Date.now(),W,H;return new Promise((X,Z)=>{let q=(A)=>{Z(A)};if(!this._transport){q(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(Y.method)}catch(A){q(A);return}if(U?.signal?.aborted){let A=U.signal.reason;throw A instanceof V1?A:new V1(B1.RequestTimeout,String(A))}let V=$.era===WW&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,F=this._requestMessageId++;H=F;let M={...Y,jsonrpc:"2.0",id:F};if(U?.onprogress)this._progressHandlers.set(F,U.onprogress),M.params={...Y.params,_meta:{...Y.params?._meta,progressToken:F}};let w=this._envelopeOutbound(M),O=!1,N=(A)=>{if(O)return;if(this._progressHandlers.delete(F),V===void 0)this._transport?.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:F,reason:String(A)}}),{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I}).catch((B)=>this._onerror(Error(`Failed to send cancellation: ${B}`)));else V.abort();Z(A instanceof V1?A:new V1(B1.RequestTimeout,String(A)))};this._responseHandlers.set(F,(A)=>{if(U?.signal?.aborted)return;if(O=!0,A instanceof Error)return Z(A);let B;try{B=$.decodeResult(Y.method,A.result)}catch(C){return Z(C instanceof Error?C:Error(String(C)))}if(B.kind==="invalid")return Z(B.error);if(B.kind==="input_required"){if(U?.allowInputRequired===!0)return X(cf0(B));let C={codec:$,request:Y,resultSchema:z,options:U,flowStartedAt:G,retry:(b,k)=>this._requestWithSchemaViaCodec($,b===void 0?{method:Y.method}:{method:Y.method,params:b},z,k)};return X(this._resolveNonCompleteResult(B,C))}let j=B.result;kY(z,j).then((C)=>{if(C.success)X(C.data);else Z(new V1(B1.InvalidResult,`Invalid result for ${Y.method}: ${C.error}`))},Z)}),W=()=>N(U?.signal?.reason),U?.signal?.addEventListener("abort",W,{once:!0});let D=U?.timeout??Tt,T=()=>N(new V1(B1.RequestTimeout,"Request timed out",{timeout:D}));this._setupTimeout(F,D,U?.maxTotalTimeout,T,U?.resetTimeoutOnProgress??!1),this._transport.send(w,{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I,headers:K,requestSignal:V?.signal}).catch((A)=>{this._progressHandlers.delete(F),Z(A)})}).finally(()=>{if(W)U?.signal?.removeEventListener("abort",W);if(H!==void 0)this._responseHandlers.delete(H),this._cleanupTimeout(H)})}async notification($,Y){return this._notificationViaCodec(this._resolveOutboundCodec($.method),$,Y)}async _notificationViaCodec($,Y,z){if(!this._transport)throw new V1(B1.NotConnected,"Not connected");if(Bh(Y.method)&&!$.hasNotificationMethod(Y.method))throw new V1(B1.MethodNotSupportedByProtocolVersion,`Notification '${Y.method}' is not supported by the negotiated protocol version (wire era ${$.era})`,{method:Y.method,era:$.era});this.assertNotificationCapability(Y.method);let U=this._envelopeOutbound({jsonrpc:"2.0",...Y});if((this._options?.debouncedNotificationMethods??[]).includes(Y.method)&&!Y.params&&!z?.relatedRequestId){if(this._pendingDebouncedNotifications.has(Y.method))return;this._pendingDebouncedNotifications.add(Y.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(Y.method),!this._transport)return;this._transport?.send(U,z).catch((Q)=>this._onerror(Q))});return}await this._transport.send(U,z)}setRequestHandler($,Y,z){this.assertRequestHandlerCapability($);let U;if(typeof Y==="function"){if(!Dh($))throw TypeError(`'${$}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);U=(Q,J)=>{let I=this._negotiatedWireCodec(),K=I.validateRequest($,Q);if(!K.ok&&K.reason==="not-in-era")K=I.validateInputRequest($,Q);if(!K.ok){if(K.reason==="not-in-era")throw new J1(n0.InternalError,`No wire schema for ${$} in the resolved era`);throw Error(K.message)}return Promise.resolve(Y(K.value,J))}}else if(z)U=async(Q,J)=>{let I=await kY(Y.params,{...Q.params});if(!I.success)throw new J1(n0.InvalidParams,`Invalid params for ${$}: ${I.error}`);return z(I.data,J)};else throw TypeError("setRequestHandler: handler is required");this._requestHandlers.set($,this._wrapHandler($,U))}_wrapHandler($,Y){return Y}_outboundServerInfo(){}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,Y,z){if(typeof Y==="function"){if(!Bh($))throw TypeError(`'${$}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set($,(U,Q)=>{let J=Q.validateNotification($,U);if(!J.ok){if(J.reason==="not-in-era")throw new J1(n0.InternalError,`No wire schema for ${$} in the resolved era`);throw Error(J.message)}return Promise.resolve(Y(J.value))});return}if(!z)throw TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set($,async(U)=>{let Q=await kY(Y.params,{...U.params});if(!Q.success)throw new J1(n0.InvalidParams,`Invalid params for notification ${$}: ${Q.error}`);await z(Q.data,U)})}removeNotificationHandler($){this._notificationHandlers.delete($)}};/*! * content-type * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed -*/if0=R0(($)=>{var Y=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,z=/\\([\u000b\u0020-\u00ff])/g,U=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;$.parse=Q;function Q(K){if(!K)throw TypeError("argument string is required");var G=typeof K==="object"?J(K):K;if(typeof G!=="string")throw TypeError("argument string is required to be a string");var W=G.indexOf(";"),H=W!==-1?G.slice(0,W).trim():G.trim();if(!U.test(H))throw TypeError("invalid media type");var X=new I(H.toLowerCase());if(W!==-1){var Z,q,V;Y.lastIndex=W;while(q=Y.exec(G)){if(q.index!==W)throw TypeError("invalid parameter format");if(W+=q[0].length,Z=q[1].toLowerCase(),V=q[2],V.charCodeAt(0)===34){if(V=V.slice(1,-1),V.indexOf("\\")!==-1)V=V.replace(z,"$1")}X.parameters[Z]=V}if(W!==G.length)throw TypeError("invalid parameter format")}return X}function J(K){var G;if(typeof K.getHeader==="function")G=K.getHeader("content-type");else if(typeof K.headers==="object")G=K.headers&&K.headers["content-type"];if(typeof G!=="string")throw TypeError("content-type header is missing from object");return G}function I(K){this.parameters=Object.create(null),this.type=K}}),Rx1=yq(if0(),1);cf0=/^[A-Za-z0-9._-]{1,128}$/});function oh($){let Y=new $({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return Wb0(Y),Y}var Pw,Rt,L1,v1,U5,Tw,of0,_t,vt,Aw,rf0,Q5,sf0,af0,ht,tf0,jw,hQ,XW,SQ,Ew,ef0,St,$u0,Yu0,zu0,rh,Uu0,sh,gt,Qu0,Ju0,Iu0,Ku0,Gu0,Wu0,Hu0,Xu0,ah,Zu0,qu0,Vu0,yt,kt,xt,Lu0,Fu0,wu0,th,Mu0,ft,Ou0,Nu0,Du0,Bu0,Pu0,Au0,Tu0,ju0,ut,Eu0,bt,it,ct,Cu0,eh,Ru0,nt,pt,dt,_u0,vu0,mt,hu0,Su0,gu0,lt,yu0,ku0,ot,xu0,fu0,uu0,bu0,iu0,cu0,nu0,pu0,du0,mu0,lu0,ou0,ru0,su0,au0,tu0,eu0,$b0,Yb0,zb0,Ub0,Qb0,Jb0,rt,Ib0,Kb0,Gb0,Wb0,Cw=class{_ajv;_ajvDraft7;_ajv2019;_userAjv;constructor($){this._userAjv=$!==void 0,this._ajv=$}get ajv(){return this._ajv??=oh(Kb0.Ajv2020)}_engineFor($){if(this._userAjv)return this.ajv;let Y=Eo($,"pass a pre-configured Ajv instance to AjvJsonSchemaValidator(ajv) to validate other dialects.");if(Y==="2020-12")return this.ajv;if(Y==="2019-09")return this._ajv2019??=oh(Ib0.Ajv2019);return this._ajvDraft7??=oh(rt.Ajv)}getValidator($){let Y=this._engineFor($),z="$id"in $&&typeof $.$id==="string"?Y.getSchema($.$id)??Y.compile($):Y.compile($);return(U)=>{return z(U)?{valid:!0,data:U,errorMessage:void 0}:{valid:!1,data:void 0,errorMessage:Y.errorsText(z.errors)}}}},ix1;var st=o(()=>{fT();uT();Pw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.regexpCode=$.getEsmExportName=$.getProperty=$.safeStringify=$.stringify=$.strConcat=$.addCodeArg=$.str=$._=$.nil=$._Code=$.Name=$.IDENTIFIER=$._CodeOrName=void 0;var Y=class{};$._CodeOrName=Y,$.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var z=class extends Y{constructor(w){super();if(!$.IDENTIFIER.test(w))throw Error("CodeGen: name must be a valid identifier");this.str=w}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};$.Name=z;var U=class extends Y{constructor(w){super();this._items=typeof w==="string"?[w]:w}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let w=this._items[0];return w===""||w==='""'}get str(){var w;return(w=this._str)!==null&&w!==void 0?w:this._str=this._items.reduce((O,D)=>`${O}${D}`,"")}get names(){var w;return(w=this._names)!==null&&w!==void 0?w:this._names=this._items.reduce((O,D)=>{if(D instanceof z)O[D.str]=(O[D.str]||0)+1;return O},{})}};$._Code=U,$.nil=new U("");function Q(w,...O){let D=[w[0]],N=0;while(N{Object.defineProperty($,"__esModule",{value:!0}),$.ValueScope=$.ValueScopeName=$.Scope=$.varKinds=$.UsedValueState=void 0;let Y=Pw();var z=class extends Error{constructor(G){super(`CodeGen: "code" for ${G} not defined`);this.value=G.value}},U;(function(G){G[G.Started=0]="Started",G[G.Completed=1]="Completed"})(U||($.UsedValueState=U={})),$.varKinds={const:new Y.Name("const"),let:new Y.Name("let"),var:new Y.Name("var")};var Q=class{constructor({prefixes:G,parent:W}={}){this._names={},this._prefixes=G,this._parent=W}toName(G){return G instanceof Y.Name?G:this.name(G)}name(G){return new Y.Name(this._newName(G))}_newName(G){let W=this._names[G]||this._nameGroup(G);return`${G}${W.index++}`}_nameGroup(G){var W,H;if(((H=(W=this._parent)===null||W===void 0?void 0:W._prefixes)===null||H===void 0?void 0:H.has(G))||this._prefixes&&!this._prefixes.has(G))throw Error(`CodeGen: prefix "${G}" is not allowed in this scope`);return this._names[G]={prefix:G,index:0}}};$.Scope=Q;var J=class extends Y.Name{constructor(G,W){super(W);this.prefix=G}setValue(G,{property:W,itemIndex:H}){this.value=G,this.scopePath=Y._`.${new Y.Name(W)}[${H}]`}};$.ValueScopeName=J;let I=Y._`\n`;var K=class extends Q{constructor(G){super(G);this._values={},this._scope=G.scope,this.opts={...G,_n:G.lines?I:Y.nil}}get(){return this._scope}name(G){return new J(G,this._newName(G))}value(G,W){var H;if(W.ref===void 0)throw Error("CodeGen: ref must be passed in value");let X=this.toName(G),{prefix:Z}=X,q=(H=W.key)!==null&&H!==void 0?H:W.ref,V=this._values[Z];if(V){let w=V.get(q);if(w)return w}else V=this._values[Z]=new Map;V.set(q,X);let F=this._scope[Z]||(this._scope[Z]=[]),M=F.length;return F[M]=W.ref,X.setValue(W,{property:Z,itemIndex:M}),X}getValue(G,W){let H=this._values[G];if(!H)return;return H.get(W)}scopeRefs(G,W=this._values){return this._reduceValues(W,(H)=>{if(H.scopePath===void 0)throw Error(`CodeGen: name "${H}" has no value`);return Y._`${G}${H.scopePath}`})}scopeCode(G=this._values,W,H){return this._reduceValues(G,(X)=>{if(X.value===void 0)throw Error(`CodeGen: name "${X}" has no value`);return X.value.code},W,H)}_reduceValues(G,W,H={},X){let Z=Y.nil;for(let q in G){let V=G[q];if(!V)continue;let F=H[q]=H[q]||new Map;V.forEach((M)=>{if(F.has(M))return;F.set(M,U.Started);let w=W(M);if(w){let O=this.opts.es5?$.varKinds.var:$.varKinds.const;Z=Y._`${Z}${O} ${M} = ${w};${this.opts._n}`}else if(w=X===null||X===void 0?void 0:X(M))Z=Y._`${Z}${w}${this.opts._n}`;else throw new z(M);F.set(M,U.Completed)})}return Z}};$.ValueScope=K}),L1=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.or=$.and=$.not=$.CodeGen=$.operators=$.varKinds=$.ValueScopeName=$.ValueScope=$.Scope=$.Name=$.regexpCode=$.stringify=$.getProperty=$.nil=$.strConcat=$.str=$._=void 0;let Y=Pw(),z=Rt();var U=Pw();Object.defineProperty($,"_",{enumerable:!0,get:function(){return U._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return U.str}}),Object.defineProperty($,"strConcat",{enumerable:!0,get:function(){return U.strConcat}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return U.nil}}),Object.defineProperty($,"getProperty",{enumerable:!0,get:function(){return U.getProperty}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return U.stringify}}),Object.defineProperty($,"regexpCode",{enumerable:!0,get:function(){return U.regexpCode}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return U.Name}});var Q=Rt();Object.defineProperty($,"Scope",{enumerable:!0,get:function(){return Q.Scope}}),Object.defineProperty($,"ValueScope",{enumerable:!0,get:function(){return Q.ValueScope}}),Object.defineProperty($,"ValueScopeName",{enumerable:!0,get:function(){return Q.ValueScopeName}}),Object.defineProperty($,"varKinds",{enumerable:!0,get:function(){return Q.varKinds}}),$.operators={GT:new Y._Code(">"),GTE:new Y._Code(">="),LT:new Y._Code("<"),LTE:new Y._Code("<="),EQ:new Y._Code("==="),NEQ:new Y._Code("!=="),NOT:new Y._Code("!"),OR:new Y._Code("||"),AND:new Y._Code("&&"),ADD:new Y._Code("+")};var J=class{optimizeNodes(){return this}optimizeNames(y,s){return this}},I=class extends J{constructor(y,s,Y0){super();this.varKind=y,this.name=s,this.rhs=Y0}render({es5:y,_n:s}){let Y0=y?z.varKinds.var:this.varKind,M0=this.rhs===void 0?"":` = ${this.rhs}`;return`${Y0} ${this.name}${M0};`+s}optimizeNames(y,s){if(!y[this.name.str])return;if(this.rhs)this.rhs=c(this.rhs,y,s);return this}get names(){return this.rhs instanceof Y._CodeOrName?this.rhs.names:{}}},K=class extends J{constructor(y,s,Y0){super();this.lhs=y,this.rhs=s,this.sideEffects=Y0}render({_n:y}){return`${this.lhs} = ${this.rhs};`+y}optimizeNames(y,s){if(this.lhs instanceof Y.Name&&!y[this.lhs.str]&&!this.sideEffects)return;return this.rhs=c(this.rhs,y,s),this}get names(){return i(this.lhs instanceof Y.Name?{}:{...this.lhs.names},this.rhs)}},G=class extends K{constructor(y,s,Y0,M0){super(y,Y0,M0);this.op=s}render({_n:y}){return`${this.lhs} ${this.op}= ${this.rhs};`+y}},W=class extends J{constructor(y){super();this.label=y,this.names={}}render({_n:y}){return`${this.label}:`+y}},H=class extends J{constructor(y){super();this.label=y,this.names={}}render({_n:y}){return`break${this.label?` ${this.label}`:""};`+y}},X=class extends J{constructor(y){super();this.error=y}render({_n:y}){return`throw ${this.error};`+y}get names(){return this.error.names}},Z=class extends J{constructor(y){super();this.code=y}render({_n:y}){return`${this.code};`+y}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(y,s){return this.code=c(this.code,y,s),this}get names(){return this.code instanceof Y._CodeOrName?this.code.names:{}}},q=class extends J{constructor(y=[]){super();this.nodes=y}render(y){return this.nodes.reduce((s,Y0)=>s+Y0.render(y),"")}optimizeNodes(){let{nodes:y}=this,s=y.length;while(s--){let Y0=y[s].optimizeNodes();if(Array.isArray(Y0))y.splice(s,1,...Y0);else if(Y0)y[s]=Y0;else y.splice(s,1)}return y.length>0?this:void 0}optimizeNames(y,s){let{nodes:Y0}=this,M0=Y0.length;while(M0--){let E0=Y0[M0];if(E0.optimizeNames(y,s))continue;U0(y,E0.names),Y0.splice(M0,1)}return Y0.length>0?this:void 0}get names(){return this.nodes.reduce((y,s)=>h(y,s.names),{})}},V=class extends q{render(y){return"{"+y._n+super.render(y)+"}"+y._n}},F=class extends q{},M=class extends V{};M.kind="else";var w=class y extends V{constructor(s,Y0){super(Y0);this.condition=s}render(s){let Y0=`if(${this.condition})`+super.render(s);if(this.else)Y0+="else "+this.else.render(s);return Y0}optimizeNodes(){super.optimizeNodes();let s=this.condition;if(s===!0)return this.nodes;let Y0=this.else;if(Y0){let M0=Y0.optimizeNodes();Y0=this.else=Array.isArray(M0)?new M(M0):M0}if(Y0){if(s===!1)return Y0 instanceof y?Y0:Y0.nodes;if(this.nodes.length)return this;return new y(x(s),Y0 instanceof y?[Y0]:Y0.nodes)}if(s===!1||!this.nodes.length)return;return this}optimizeNames(s,Y0){var M0;if(this.else=(M0=this.else)===null||M0===void 0?void 0:M0.optimizeNames(s,Y0),!(super.optimizeNames(s,Y0)||this.else))return;return this.condition=c(this.condition,s,Y0),this}get names(){let s=super.names;if(i(s,this.condition),this.else)h(s,this.else.names);return s}};w.kind="if";var O=class extends V{};O.kind="for";var D=class extends O{constructor(y){super();this.iteration=y}render(y){return`for(${this.iteration})`+super.render(y)}optimizeNames(y,s){if(!super.optimizeNames(y,s))return;return this.iteration=c(this.iteration,y,s),this}get names(){return h(super.names,this.iteration.names)}},N=class extends O{constructor(y,s,Y0,M0){super();this.varKind=y,this.name=s,this.from=Y0,this.to=M0}render(y){let s=y.es5?z.varKinds.var:this.varKind,{name:Y0,from:M0,to:E0}=this;return`for(${s} ${Y0}=${M0}; ${Y0}<${E0}; ${Y0}++)`+super.render(y)}get names(){return i(i(super.names,this.from),this.to)}},A=class extends O{constructor(y,s,Y0,M0){super();this.loop=y,this.varKind=s,this.name=Y0,this.iterable=M0}render(y){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(y)}optimizeNames(y,s){if(!super.optimizeNames(y,s))return;return this.iterable=c(this.iterable,y,s),this}get names(){return h(super.names,this.iterable.names)}},T=class extends V{constructor(y,s,Y0){super();this.name=y,this.args=s,this.async=Y0}render(y){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(y)}};T.kind="func";var B=class extends q{render(y){return"return "+super.render(y)}};B.kind="return";var j=class extends V{render(y){let s="try"+super.render(y);if(this.catch)s+=this.catch.render(y);if(this.finally)s+=this.finally.render(y);return s}optimizeNodes(){var y,s;return super.optimizeNodes(),(y=this.catch)===null||y===void 0||y.optimizeNodes(),(s=this.finally)===null||s===void 0||s.optimizeNodes(),this}optimizeNames(y,s){var Y0,M0;return super.optimizeNames(y,s),(Y0=this.catch)===null||Y0===void 0||Y0.optimizeNames(y,s),(M0=this.finally)===null||M0===void 0||M0.optimizeNames(y,s),this}get names(){let y=super.names;if(this.catch)h(y,this.catch.names);if(this.finally)h(y,this.finally.names);return y}},C=class extends V{constructor(y){super();this.error=y}render(y){return`catch(${this.error})`+super.render(y)}};C.kind="catch";var b=class extends V{render(y){return"finally"+super.render(y)}};b.kind="finally";var k=class{constructor(y,s={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...s,_n:s.lines?` -`:""},this._extScope=y,this._scope=new z.Scope({parent:y}),this._nodes=[new F]}toString(){return this._root.render(this.opts)}name(y){return this._scope.name(y)}scopeName(y){return this._extScope.name(y)}scopeValue(y,s){let Y0=this._extScope.value(y,s);return(this._values[Y0.prefix]||(this._values[Y0.prefix]=new Set)).add(Y0),Y0}getScopeValue(y,s){return this._extScope.getValue(y,s)}scopeRefs(y){return this._extScope.scopeRefs(y,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(y,s,Y0,M0){let E0=this._scope.toName(s);if(Y0!==void 0&&M0)this._constants[E0.str]=Y0;return this._leafNode(new I(y,E0,Y0)),E0}const(y,s,Y0){return this._def(z.varKinds.const,y,s,Y0)}let(y,s,Y0){return this._def(z.varKinds.let,y,s,Y0)}var(y,s,Y0){return this._def(z.varKinds.var,y,s,Y0)}assign(y,s,Y0){return this._leafNode(new K(y,s,Y0))}add(y,s){return this._leafNode(new G(y,$.operators.ADD,s))}code(y){if(typeof y=="function")y();else if(y!==Y.nil)this._leafNode(new Z(y));return this}object(...y){let s=["{"];for(let[Y0,M0]of y){if(s.length>1)s.push(",");if(s.push(Y0),Y0!==M0||this.opts.es5)s.push(":"),(0,Y.addCodeArg)(s,M0)}return s.push("}"),new Y._Code(s)}if(y,s,Y0){if(this._blockNode(new w(y)),s&&Y0)this.code(s).else().code(Y0).endIf();else if(s)this.code(s).endIf();else if(Y0)throw Error('CodeGen: "else" body without "then" body');return this}elseIf(y){return this._elseNode(new w(y))}else(){return this._elseNode(new M)}endIf(){return this._endBlockNode(w,M)}_for(y,s){if(this._blockNode(y),s)this.code(s).endFor();return this}for(y,s){return this._for(new D(y),s)}forRange(y,s,Y0,M0,E0=this.opts.es5?z.varKinds.var:z.varKinds.let){let G0=this._scope.toName(y);return this._for(new N(E0,G0,s,Y0),()=>M0(G0))}forOf(y,s,Y0,M0=z.varKinds.const){let E0=this._scope.toName(y);if(this.opts.es5){let G0=s instanceof Y.Name?s:this.var("_arr",s);return this.forRange("_i",0,Y._`${G0}.length`,(T0)=>{this.var(E0,Y._`${G0}[${T0}]`),Y0(E0)})}return this._for(new A("of",M0,E0,s),()=>Y0(E0))}forIn(y,s,Y0,M0=this.opts.es5?z.varKinds.var:z.varKinds.const){if(this.opts.ownProperties)return this.forOf(y,Y._`Object.keys(${s})`,Y0);let E0=this._scope.toName(y);return this._for(new A("in",M0,E0,s),()=>Y0(E0))}endFor(){return this._endBlockNode(O)}label(y){return this._leafNode(new W(y))}break(y){return this._leafNode(new H(y))}return(y){let s=new B;if(this._blockNode(s),this.code(y),s.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(B)}try(y,s,Y0){if(!s&&!Y0)throw Error('CodeGen: "try" without "catch" and "finally"');let M0=new j;if(this._blockNode(M0),this.code(y),s){let E0=this.name("e");this._currNode=M0.catch=new C(E0),s(E0)}if(Y0)this._currNode=M0.finally=new b,this.code(Y0);return this._endBlockNode(C,b)}throw(y){return this._leafNode(new X(y))}block(y,s){if(this._blockStarts.push(this._nodes.length),y)this.code(y).endBlock(s);return this}endBlock(y){let s=this._blockStarts.pop();if(s===void 0)throw Error("CodeGen: not in self-balancing block");let Y0=this._nodes.length-s;if(Y0<0||y!==void 0&&Y0!==y)throw Error(`CodeGen: wrong number of nodes: ${Y0} vs ${y} expected`);return this._nodes.length=s,this}func(y,s=Y.nil,Y0,M0){if(this._blockNode(new T(y,s,Y0)),M0)this.code(M0).endFunc();return this}endFunc(){return this._endBlockNode(T)}optimize(y=1){while(y-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(y){return this._currNode.nodes.push(y),this}_blockNode(y){this._currNode.nodes.push(y),this._nodes.push(y)}_endBlockNode(y,s){let Y0=this._currNode;if(Y0 instanceof y||s&&Y0 instanceof s)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${s?`${y.kind}/${s.kind}`:y.kind}"`)}_elseNode(y){let s=this._currNode;if(!(s instanceof w))throw Error('CodeGen: "else" without "if"');return this._currNode=s.else=y,this}get _root(){return this._nodes[0]}get _currNode(){let y=this._nodes;return y[y.length-1]}set _currNode(y){let s=this._nodes;s[s.length-1]=y}};$.CodeGen=k;function h(y,s){for(let Y0 in s)y[Y0]=(y[Y0]||0)+(s[Y0]||0);return y}function i(y,s){return s instanceof Y._CodeOrName?h(y,s.names):y}function c(y,s,Y0){if(y instanceof Y.Name)return M0(y);if(!E0(y))return y;return new Y._Code(y._items.reduce((G0,T0)=>{if(T0 instanceof Y.Name)T0=M0(T0);if(T0 instanceof Y._Code)G0.push(...T0._items);else G0.push(T0);return G0},[]));function M0(G0){let T0=Y0[G0.str];if(T0===void 0||s[G0.str]!==1)return G0;return delete s[G0.str],T0}function E0(G0){return G0 instanceof Y._Code&&G0._items.some((T0)=>T0 instanceof Y.Name&&s[T0.str]===1&&Y0[T0.str]!==void 0)}}function U0(y,s){for(let Y0 in s)y[Y0]=(y[Y0]||0)-(s[Y0]||0)}function x(y){return typeof y=="boolean"||typeof y=="number"||y===null?!y:Y._`!${e(y)}`}$.not=x;let d=p($.operators.AND);function t(...y){return y.reduce(d)}$.and=t;let $0=p($.operators.OR);function g(...y){return y.reduce($0)}$.or=g;function p(y){return(s,Y0)=>s===Y.nil?Y0:Y0===Y.nil?s:Y._`${e(s)} ${y} ${e(Y0)}`}function e(y){return y instanceof Y.Name?y:Y._`(${y})`}}),v1=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.checkStrictMode=$.getErrorPath=$.Type=$.useFunc=$.setEvaluated=$.evaluatedPropsToName=$.mergeEvaluated=$.eachItem=$.unescapeJsonPointer=$.escapeJsonPointer=$.escapeFragment=$.unescapeFragment=$.schemaRefOrVal=$.schemaHasRulesButRef=$.schemaHasRules=$.checkUnknownRules=$.alwaysValidSchema=$.toHash=void 0;let Y=L1(),z=Pw();function U(T){let B={};for(let j of T)B[j]=!0;return B}$.toHash=U;function Q(T,B){if(typeof B=="boolean")return B;if(Object.keys(B).length===0)return!0;return J(T,B),!I(B,T.self.RULES.all)}$.alwaysValidSchema=Q;function J(T,B=T.schema){let{opts:j,self:C}=T;if(!j.strictSchema)return;if(typeof B==="boolean")return;let b=C.RULES.keywords;for(let k in B)if(!b[k])A(T,`unknown keyword: "${k}"`)}$.checkUnknownRules=J;function I(T,B){if(typeof T=="boolean")return!T;for(let j in T)if(B[j])return!0;return!1}$.schemaHasRules=I;function K(T,B){if(typeof T=="boolean")return!T;for(let j in T)if(j!=="$ref"&&B.all[j])return!0;return!1}$.schemaHasRulesButRef=K;function G({topSchemaRef:T,schemaPath:B},j,C,b){if(!b){if(typeof j=="number"||typeof j=="boolean")return j;if(typeof j=="string")return Y._`${j}`}return Y._`${T}${B}${(0,Y.getProperty)(C)}`}$.schemaRefOrVal=G;function W(T){return Z(decodeURIComponent(T))}$.unescapeFragment=W;function H(T){return encodeURIComponent(X(T))}$.escapeFragment=H;function X(T){if(typeof T=="number")return`${T}`;return T.replace(/~/g,"~0").replace(/\//g,"~1")}$.escapeJsonPointer=X;function Z(T){return T.replace(/~1/g,"/").replace(/~0/g,"~")}$.unescapeJsonPointer=Z;function q(T,B){if(Array.isArray(T))for(let j of T)B(j);else B(T)}$.eachItem=q;function V({mergeNames:T,mergeToName:B,mergeValues:j,resultToName:C}){return(b,k,h,i)=>{let c=h===void 0?k:h instanceof Y.Name?(k instanceof Y.Name?T(b,k,h):B(b,k,h),h):k instanceof Y.Name?(B(b,h,k),k):j(k,h);return i===Y.Name&&!(c instanceof Y.Name)?C(b,c):c}}$.mergeEvaluated={props:V({mergeNames:(T,B,j)=>T.if(Y._`${j} !== true && ${B} !== undefined`,()=>{T.if(Y._`${B} === true`,()=>T.assign(j,!0),()=>T.assign(j,Y._`${j} || {}`).code(Y._`Object.assign(${j}, ${B})`))}),mergeToName:(T,B,j)=>T.if(Y._`${j} !== true`,()=>{if(B===!0)T.assign(j,!0);else T.assign(j,Y._`${j} || {}`),M(T,j,B)}),mergeValues:(T,B)=>T===!0?!0:{...T,...B},resultToName:F}),items:V({mergeNames:(T,B,j)=>T.if(Y._`${j} !== true && ${B} !== undefined`,()=>T.assign(j,Y._`${B} === true ? true : ${j} > ${B} ? ${j} : ${B}`)),mergeToName:(T,B,j)=>T.if(Y._`${j} !== true`,()=>T.assign(j,B===!0?!0:Y._`${j} > ${B} ? ${j} : ${B}`)),mergeValues:(T,B)=>T===!0?!0:Math.max(T,B),resultToName:(T,B)=>T.var("items",B)})};function F(T,B){if(B===!0)return T.var("props",!0);let j=T.var("props",Y._`{}`);if(B!==void 0)M(T,j,B);return j}$.evaluatedPropsToName=F;function M(T,B,j){Object.keys(j).forEach((C)=>T.assign(Y._`${B}${(0,Y.getProperty)(C)}`,!0))}$.setEvaluated=M;let w={};function O(T,B){return T.scopeValue("func",{ref:B,code:w[B.code]||(w[B.code]=new z._Code(B.code))})}$.useFunc=O;var D;(function(T){T[T.Num=0]="Num",T[T.Str=1]="Str"})(D||($.Type=D={}));function N(T,B,j){if(T instanceof Y.Name){let C=B===D.Num;return j?C?Y._`"[" + ${T} + "]"`:Y._`"['" + ${T} + "']"`:C?Y._`"/" + ${T}`:Y._`"/" + ${T}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return j?(0,Y.getProperty)(T).toString():"/"+X(T)}$.getErrorPath=N;function A(T,B,j=T.opts.strictSchema){if(!j)return;if(B=`strict mode: ${B}`,j===!0)throw Error(B);T.self.logger.warn(B)}$.checkStrictMode=A}),U5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={data:new Y.Name("data"),valCxt:new Y.Name("valCxt"),instancePath:new Y.Name("instancePath"),parentData:new Y.Name("parentData"),parentDataProperty:new Y.Name("parentDataProperty"),rootData:new Y.Name("rootData"),dynamicAnchors:new Y.Name("dynamicAnchors"),vErrors:new Y.Name("vErrors"),errors:new Y.Name("errors"),this:new Y.Name("this"),self:new Y.Name("self"),scope:new Y.Name("scope"),json:new Y.Name("json"),jsonPos:new Y.Name("jsonPos"),jsonLen:new Y.Name("jsonLen"),jsonPart:new Y.Name("jsonPart")};$.default=z}),Tw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendErrors=$.resetErrorsCount=$.reportExtraError=$.reportError=$.keyword$DataError=$.keywordError=void 0;let Y=L1(),z=v1(),U=U5();$.keywordError={message:({keyword:M})=>Y.str`must pass "${M}" keyword validation`},$.keyword$DataError={message:({keyword:M,schemaType:w})=>w?Y.str`"${M}" keyword must be ${w} ($data)`:Y.str`"${M}" keyword is invalid ($data)`};function Q(M,w=$.keywordError,O,D){let{it:N}=M,{gen:A,compositeRule:T,allErrors:B}=N,j=X(M,w,O);if(D!==null&&D!==void 0?D:T||B)G(A,j);else W(N,Y._`[${j}]`)}$.reportError=Q;function J(M,w=$.keywordError,O){let{it:D}=M,{gen:N,compositeRule:A,allErrors:T}=D;if(G(N,X(M,w,O)),!(A||T))W(D,U.default.vErrors)}$.reportExtraError=J;function I(M,w){M.assign(U.default.errors,w),M.if(Y._`${U.default.vErrors} !== null`,()=>M.if(w,()=>M.assign(Y._`${U.default.vErrors}.length`,w),()=>M.assign(U.default.vErrors,null)))}$.resetErrorsCount=I;function K({gen:M,keyword:w,schemaValue:O,data:D,errsCount:N,it:A}){if(N===void 0)throw Error("ajv implementation error");let T=M.name("err");M.forRange("i",N,U.default.errors,(B)=>{if(M.const(T,Y._`${U.default.vErrors}[${B}]`),M.if(Y._`${T}.instancePath === undefined`,()=>M.assign(Y._`${T}.instancePath`,(0,Y.strConcat)(U.default.instancePath,A.errorPath))),M.assign(Y._`${T}.schemaPath`,Y.str`${A.errSchemaPath}/${w}`),A.opts.verbose)M.assign(Y._`${T}.schema`,O),M.assign(Y._`${T}.data`,D)})}$.extendErrors=K;function G(M,w){let O=M.const("err",w);M.if(Y._`${U.default.vErrors} === null`,()=>M.assign(U.default.vErrors,Y._`[${O}]`),Y._`${U.default.vErrors}.push(${O})`),M.code(Y._`${U.default.errors}++`)}function W(M,w){let{gen:O,validateName:D,schemaEnv:N}=M;if(N.$async)O.throw(Y._`new ${M.ValidationError}(${w})`);else O.assign(Y._`${D}.errors`,w),O.return(!1)}let H={keyword:new Y.Name("keyword"),schemaPath:new Y.Name("schemaPath"),params:new Y.Name("params"),propertyName:new Y.Name("propertyName"),message:new Y.Name("message"),schema:new Y.Name("schema"),parentSchema:new Y.Name("parentSchema")};function X(M,w,O){let{createErrors:D}=M.it;if(D===!1)return Y._`{}`;return Z(M,w,O)}function Z(M,w,O={}){let{gen:D,it:N}=M,A=[q(N,O),V(M,O)];return F(M,w,A),D.object(...A)}function q({errorPath:M},{instancePath:w}){let O=w?Y.str`${M}${(0,z.getErrorPath)(w,z.Type.Str)}`:M;return[U.default.instancePath,(0,Y.strConcat)(U.default.instancePath,O)]}function V({keyword:M,it:{errSchemaPath:w}},{schemaPath:O,parentSchema:D}){let N=D?w:Y.str`${w}/${M}`;if(O)N=Y.str`${N}${(0,z.getErrorPath)(O,z.Type.Str)}`;return[H.schemaPath,N]}function F(M,{params:w,message:O},D){let{keyword:N,data:A,schemaValue:T,it:B}=M,{opts:j,propertyName:C,topSchemaRef:b,schemaPath:k}=B;if(D.push([H.keyword,N],[H.params,typeof w=="function"?w(M):w||Y._`{}`]),j.messages)D.push([H.message,typeof O=="function"?O(M):O]);if(j.verbose)D.push([H.schema,T],[H.parentSchema,Y._`${b}${k}`],[U.default.data,A]);if(C)D.push([H.propertyName,C])}}),of0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.boolOrEmptySchema=$.topBoolOrEmptySchema=void 0;let Y=Tw(),z=L1(),U=U5(),Q={message:"boolean schema is false"};function J(G){let{gen:W,schema:H,validateName:X}=G;if(H===!1)K(G,!1);else if(typeof H=="object"&&H.$async===!0)W.return(U.default.data);else W.assign(z._`${X}.errors`,null),W.return(!0)}$.topBoolOrEmptySchema=J;function I(G,W){let{gen:H,schema:X}=G;if(X===!1)H.var(W,!1),K(G);else H.var(W,!0)}$.boolOrEmptySchema=I;function K(G,W){let{gen:H,data:X}=G,Z={gen:H,keyword:"false schema",data:X,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:G};(0,Y.reportError)(Z,Q,void 0,W)}}),_t=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getRules=$.isJSONType=void 0;let Y=new Set(["string","number","integer","boolean","null","object","array"]);function z(Q){return typeof Q=="string"&&Y.has(Q)}$.isJSONType=z;function U(){let Q={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...Q,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},Q.number,Q.string,Q.array,Q.object],post:{rules:[]},all:{},keywords:{}}}$.getRules=U}),vt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.shouldUseRule=$.shouldUseGroup=$.schemaHasRulesForType=void 0;function Y({schema:Q,self:J},I){let K=J.RULES.types[I];return K&&K!==!0&&z(Q,K)}$.schemaHasRulesForType=Y;function z(Q,J){return J.rules.some((I)=>U(Q,I))}$.shouldUseGroup=z;function U(Q,J){var I;return Q[J.keyword]!==void 0||((I=J.definition.implements)===null||I===void 0?void 0:I.some((K)=>Q[K]!==void 0))}$.shouldUseRule=U}),Aw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.reportTypeError=$.checkDataTypes=$.checkDataType=$.coerceAndCheckDataType=$.getJSONTypes=$.getSchemaTypes=$.DataType=void 0;let Y=_t(),z=vt(),U=Tw(),Q=L1(),J=v1();var I;(function(D){D[D.Correct=0]="Correct",D[D.Wrong=1]="Wrong"})(I||($.DataType=I={}));function K(D){let N=G(D.type);if(N.includes("null")){if(D.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!N.length&&D.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if(D.nullable===!0)N.push("null")}return N}$.getSchemaTypes=K;function G(D){let N=Array.isArray(D)?D:D?[D]:[];if(N.every(Y.isJSONType))return N;throw Error("type must be JSONType or JSONType[]: "+N.join(","))}$.getJSONTypes=G;function W(D,N){let{gen:A,data:T,opts:B}=D,j=X(N,B.coerceTypes),C=N.length>0&&!(j.length===0&&N.length===1&&(0,z.schemaHasRulesForType)(D,N[0]));if(C){let b=F(N,T,B.strictNumbers,I.Wrong);A.if(b,()=>{if(j.length)Z(D,N,j);else w(D)})}return C}$.coerceAndCheckDataType=W;let H=new Set(["string","number","integer","boolean","null"]);function X(D,N){return N?D.filter((A)=>H.has(A)||N==="array"&&A==="array"):[]}function Z(D,N,A){let{gen:T,data:B,opts:j}=D,C=T.let("dataType",Q._`typeof ${B}`),b=T.let("coerced",Q._`undefined`);if(j.coerceTypes==="array")T.if(Q._`${C} == 'object' && Array.isArray(${B}) && ${B}.length == 1`,()=>T.assign(B,Q._`${B}[0]`).assign(C,Q._`typeof ${B}`).if(F(N,B,j.strictNumbers),()=>T.assign(b,B)));T.if(Q._`${b} !== undefined`);for(let h of A)if(H.has(h)||h==="array"&&j.coerceTypes==="array")k(h);T.else(),w(D),T.endIf(),T.if(Q._`${b} !== undefined`,()=>{T.assign(B,b),q(D,b)});function k(h){switch(h){case"string":T.elseIf(Q._`${C} == "number" || ${C} == "boolean"`).assign(b,Q._`"" + ${B}`).elseIf(Q._`${B} === null`).assign(b,Q._`""`);return;case"number":T.elseIf(Q._`${C} == "boolean" || ${B} === null - || (${C} == "string" && ${B} && ${B} == +${B})`).assign(b,Q._`+${B}`);return;case"integer":T.elseIf(Q._`${C} === "boolean" || ${B} === null - || (${C} === "string" && ${B} && ${B} == +${B} && !(${B} % 1))`).assign(b,Q._`+${B}`);return;case"boolean":T.elseIf(Q._`${B} === "false" || ${B} === 0 || ${B} === null`).assign(b,!1).elseIf(Q._`${B} === "true" || ${B} === 1`).assign(b,!0);return;case"null":T.elseIf(Q._`${B} === "" || ${B} === 0 || ${B} === false`),T.assign(b,null);return;case"array":T.elseIf(Q._`${C} === "string" || ${C} === "number" - || ${C} === "boolean" || ${B} === null`).assign(b,Q._`[${B}]`)}}}function q({gen:D,parentData:N,parentDataProperty:A},T){D.if(Q._`${N} !== undefined`,()=>D.assign(Q._`${N}[${A}]`,T))}function V(D,N,A,T=I.Correct){let B=T===I.Correct?Q.operators.EQ:Q.operators.NEQ,j;switch(D){case"null":return Q._`${N} ${B} null`;case"array":j=Q._`Array.isArray(${N})`;break;case"object":j=Q._`${N} && typeof ${N} == "object" && !Array.isArray(${N})`;break;case"integer":j=C(Q._`!(${N} % 1) && !isNaN(${N})`);break;case"number":j=C();break;default:return Q._`typeof ${N} ${B} ${D}`}return T===I.Correct?j:(0,Q.not)(j);function C(b=Q.nil){return(0,Q.and)(Q._`typeof ${N} == "number"`,b,A?Q._`isFinite(${N})`:Q.nil)}}$.checkDataType=V;function F(D,N,A,T){if(D.length===1)return V(D[0],N,A,T);let B,j=(0,J.toHash)(D);if(j.array&&j.object){let C=Q._`typeof ${N} != "object"`;B=j.null?C:Q._`!${N} || ${C}`,delete j.null,delete j.array,delete j.object}else B=Q.nil;if(j.number)delete j.integer;for(let C in j)B=(0,Q.and)(B,V(C,N,A,T));return B}$.checkDataTypes=F;let M={message:({schema:D})=>`must be ${D}`,params:({schema:D,schemaValue:N})=>typeof D=="string"?Q._`{type: ${D}}`:Q._`{type: ${N}}`};function w(D){let N=O(D);(0,U.reportError)(N,M)}$.reportTypeError=w;function O(D){let{gen:N,data:A,schema:T}=D,B=(0,J.schemaRefOrVal)(D,T,"type");return{gen:N,keyword:"type",data:A,schema:T.type,schemaCode:B,schemaValue:B,parentSchema:T,params:{},it:D}}}),rf0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.assignDefaults=void 0;let Y=L1(),z=v1();function U(J,I){let{properties:K,items:G}=J.schema;if(I==="object"&&K)for(let W in K)Q(J,W,K[W].default);else if(I==="array"&&Array.isArray(G))G.forEach((W,H)=>Q(J,H,W.default))}$.assignDefaults=U;function Q(J,I,K){let{gen:G,compositeRule:W,data:H,opts:X}=J;if(K===void 0)return;let Z=Y._`${H}${(0,Y.getProperty)(I)}`;if(W){(0,z.checkStrictMode)(J,`default is ignored for: ${Z}`);return}let q=Y._`${Z} === undefined`;if(X.useDefaults==="empty")q=Y._`${q} || ${Z} === null || ${Z} === ""`;G.if(q,Y._`${Z} = ${(0,Y.stringify)(K)}`)}}),Q5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateUnion=$.validateArray=$.usePattern=$.callValidateCode=$.schemaProperties=$.allSchemaProperties=$.noPropertyInData=$.propertyInData=$.isOwnProperty=$.hasPropFunc=$.reportMissingProp=$.checkMissingProp=$.checkReportMissingProp=void 0;let Y=L1(),z=v1(),U=U5(),Q=v1();function J(D,N){let{gen:A,data:T,it:B}=D;A.if(X(A,T,N,B.opts.ownProperties),()=>{D.setParams({missingProperty:Y._`${N}`},!0),D.error()})}$.checkReportMissingProp=J;function I({gen:D,data:N,it:{opts:A}},T,B){return(0,Y.or)(...T.map((j)=>(0,Y.and)(X(D,N,j,A.ownProperties),Y._`${B} = ${j}`)))}$.checkMissingProp=I;function K(D,N){D.setParams({missingProperty:N},!0),D.error()}$.reportMissingProp=K;function G(D){return D.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Y._`Object.prototype.hasOwnProperty`})}$.hasPropFunc=G;function W(D,N,A){return Y._`${G(D)}.call(${N}, ${A})`}$.isOwnProperty=W;function H(D,N,A,T){let B=Y._`${N}${(0,Y.getProperty)(A)} !== undefined`;return T?Y._`${B} && ${W(D,N,A)}`:B}$.propertyInData=H;function X(D,N,A,T){let B=Y._`${N}${(0,Y.getProperty)(A)} === undefined`;return T?(0,Y.or)(B,(0,Y.not)(W(D,N,A))):B}$.noPropertyInData=X;function Z(D){return D?Object.keys(D).filter((N)=>N!=="__proto__"):[]}$.allSchemaProperties=Z;function q(D,N){return Z(N).filter((A)=>!(0,z.alwaysValidSchema)(D,N[A]))}$.schemaProperties=q;function V({schemaCode:D,data:N,it:{gen:A,topSchemaRef:T,schemaPath:B,errorPath:j},it:C},b,k,h){let i=h?Y._`${D}, ${N}, ${T}${B}`:N,c=[[U.default.instancePath,(0,Y.strConcat)(U.default.instancePath,j)],[U.default.parentData,C.parentData],[U.default.parentDataProperty,C.parentDataProperty],[U.default.rootData,U.default.rootData]];if(C.opts.dynamicRef)c.push([U.default.dynamicAnchors,U.default.dynamicAnchors]);let U0=Y._`${i}, ${A.object(...c)}`;return k!==Y.nil?Y._`${b}.call(${k}, ${U0})`:Y._`${b}(${U0})`}$.callValidateCode=V;let F=Y._`new RegExp`;function M({gen:D,it:{opts:N}},A){let T=N.unicodeRegExp?"u":"",{regExp:B}=N.code,j=B(A,T);return D.scopeValue("pattern",{key:j.toString(),ref:j,code:Y._`${B.code==="new RegExp"?F:(0,Q.useFunc)(D,B)}(${A}, ${T})`})}$.usePattern=M;function w(D){let{gen:N,data:A,keyword:T,it:B}=D,j=N.name("valid");if(B.allErrors){let b=N.let("valid",!0);return C(()=>N.assign(b,!1)),b}return N.var(j,!0),C(()=>N.break()),j;function C(b){let k=N.const("len",Y._`${A}.length`);N.forRange("i",0,k,(h)=>{D.subschema({keyword:T,dataProp:h,dataPropType:z.Type.Num},j),N.if((0,Y.not)(j),b)})}}$.validateArray=w;function O(D){let{gen:N,schema:A,keyword:T,it:B}=D;if(!Array.isArray(A))throw Error("ajv implementation error");if(A.some((b)=>(0,z.alwaysValidSchema)(B,b))&&!B.opts.unevaluated)return;let j=N.let("valid",!1),C=N.name("_valid");N.block(()=>A.forEach((b,k)=>{let h=D.subschema({keyword:T,schemaProp:k,compositeRule:!0},C);if(N.assign(j,Y._`${j} || ${C}`),!D.mergeValidEvaluated(h,C))N.if((0,Y.not)(j))})),D.result(j,()=>D.reset(),()=>D.error(!0))}$.validateUnion=O}),sf0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateKeywordUsage=$.validSchemaType=$.funcKeywordCode=$.macroKeywordCode=void 0;let Y=L1(),z=U5(),U=Q5(),Q=Tw();function J(q,V){let{gen:F,keyword:M,schema:w,parentSchema:O,it:D}=q,N=V.macro.call(D.self,w,O,D),A=H(F,M,N);if(D.opts.validateSchema!==!1)D.self.validateSchema(N,!0);let T=F.name("valid");q.subschema({schema:N,schemaPath:Y.nil,errSchemaPath:`${D.errSchemaPath}/${M}`,topSchemaRef:A,compositeRule:!0},T),q.pass(T,()=>q.error(!0))}$.macroKeywordCode=J;function I(q,V){var F;let{gen:M,keyword:w,schema:O,parentSchema:D,$data:N,it:A}=q;W(A,V);let T=H(M,w,!N&&V.compile?V.compile.call(A.self,O,D,A):V.validate),B=M.let("valid");q.block$data(B,j),q.ok((F=V.valid)!==null&&F!==void 0?F:B);function j(){if(V.errors===!1){if(k(),V.modifying)K(q);h(()=>q.error())}else{let i=V.async?C():b();if(V.modifying)K(q);h(()=>G(q,i))}}function C(){let i=M.let("ruleErrs",null);return M.try(()=>k(Y._`await `),(c)=>M.assign(B,!1).if(Y._`${c} instanceof ${A.ValidationError}`,()=>M.assign(i,Y._`${c}.errors`),()=>M.throw(c))),i}function b(){let i=Y._`${T}.errors`;return M.assign(i,null),k(Y.nil),i}function k(i=V.async?Y._`await `:Y.nil){let c=A.opts.passContext?z.default.this:z.default.self,U0=!(("compile"in V)&&!N||V.schema===!1);M.assign(B,Y._`${i}${(0,U.callValidateCode)(q,T,c,U0)}`,V.modifying)}function h(i){var c;M.if((0,Y.not)((c=V.valid)!==null&&c!==void 0?c:B),i)}}$.funcKeywordCode=I;function K(q){let{gen:V,data:F,it:M}=q;V.if(M.parentData,()=>V.assign(F,Y._`${M.parentData}[${M.parentDataProperty}]`))}function G(q,V){let{gen:F}=q;F.if(Y._`Array.isArray(${V})`,()=>{F.assign(z.default.vErrors,Y._`${z.default.vErrors} === null ? ${V} : ${z.default.vErrors}.concat(${V})`).assign(z.default.errors,Y._`${z.default.vErrors}.length`),(0,Q.extendErrors)(q)},()=>q.error())}function W({schemaEnv:q},V){if(V.async&&!q.$async)throw Error("async keyword in sync schema")}function H(q,V,F){if(F===void 0)throw Error(`keyword "${V}" failed to compile`);return q.scopeValue("keyword",typeof F=="function"?{ref:F}:{ref:F,code:(0,Y.stringify)(F)})}function X(q,V,F=!1){return!V.length||V.some((M)=>M==="array"?Array.isArray(q):M==="object"?q&&typeof q=="object"&&!Array.isArray(q):typeof q==M||F&&typeof q>"u")}$.validSchemaType=X;function Z({schema:q,opts:V,self:F,errSchemaPath:M},w,O){if(Array.isArray(w.keyword)?!w.keyword.includes(O):w.keyword!==O)throw Error("ajv implementation error");let D=w.dependencies;if(D===null||D===void 0?void 0:D.some((N)=>!Object.prototype.hasOwnProperty.call(q,N)))throw Error(`parent schema must have dependencies of ${O}: ${D.join(",")}`);if(w.validateSchema){if(!w.validateSchema(q[O])){let N=`keyword "${O}" value is invalid at path "${M}": `+F.errorsText(w.validateSchema.errors);if(V.validateSchema==="log")F.logger.error(N);else throw Error(N)}}}$.validateKeywordUsage=Z}),af0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendSubschemaMode=$.extendSubschemaData=$.getSubschema=void 0;let Y=L1(),z=v1();function U(I,{keyword:K,schemaProp:G,schema:W,schemaPath:H,errSchemaPath:X,topSchemaRef:Z}){if(K!==void 0&&W!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(K!==void 0){let q=I.schema[K];return G===void 0?{schema:q,schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}`,errSchemaPath:`${I.errSchemaPath}/${K}`}:{schema:q[G],schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}${(0,Y.getProperty)(G)}`,errSchemaPath:`${I.errSchemaPath}/${K}/${(0,z.escapeFragment)(G)}`}}if(W!==void 0){if(H===void 0||X===void 0||Z===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:W,schemaPath:H,topSchemaRef:Z,errSchemaPath:X}}throw Error('either "keyword" or "schema" must be passed')}$.getSubschema=U;function Q(I,K,{dataProp:G,dataPropType:W,data:H,dataTypes:X,propertyName:Z}){if(H!==void 0&&G!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=K;if(G!==void 0){let{errorPath:F,dataPathArr:M,opts:w}=K;V(q.let("data",Y._`${K.data}${(0,Y.getProperty)(G)}`,!0)),I.errorPath=Y.str`${F}${(0,z.getErrorPath)(G,W,w.jsPropertySyntax)}`,I.parentDataProperty=Y._`${G}`,I.dataPathArr=[...M,I.parentDataProperty]}if(H!==void 0){if(V(H instanceof Y.Name?H:q.let("data",H,!0)),Z!==void 0)I.propertyName=Z}if(X)I.dataTypes=X;function V(F){I.data=F,I.dataLevel=K.dataLevel+1,I.dataTypes=[],K.definedProperties=new Set,I.parentData=K.data,I.dataNames=[...K.dataNames,F]}}$.extendSubschemaData=Q;function J(I,{jtdDiscriminator:K,jtdMetadata:G,compositeRule:W,createErrors:H,allErrors:X}){if(W!==void 0)I.compositeRule=W;if(H!==void 0)I.createErrors=H;if(X!==void 0)I.allErrors=X;I.jtdDiscriminator=K,I.jtdMetadata=G}$.extendSubschemaMode=J}),ht=R0(($,Y)=>{Y.exports=function z(U,Q){if(U===Q)return!0;if(U&&Q&&typeof U=="object"&&typeof Q=="object"){if(U.constructor!==Q.constructor)return!1;var J,I,K;if(Array.isArray(U)){if(J=U.length,J!=Q.length)return!1;for(I=J;I--!==0;)if(!z(U[I],Q[I]))return!1;return!0}if(U.constructor===RegExp)return U.source===Q.source&&U.flags===Q.flags;if(U.valueOf!==Object.prototype.valueOf)return U.valueOf()===Q.valueOf();if(U.toString!==Object.prototype.toString)return U.toString()===Q.toString();if(K=Object.keys(U),J=K.length,J!==Object.keys(Q).length)return!1;for(I=J;I--!==0;)if(!Object.prototype.hasOwnProperty.call(Q,K[I]))return!1;for(I=J;I--!==0;){var G=K[I];if(!z(U[G],Q[G]))return!1}return!0}return U!==U&&Q!==Q}}),tf0=R0(($,Y)=>{var z=Y.exports=function(J,I,K){if(typeof I=="function")K=I,I={};K=I.cb||K;var G=typeof K=="function"?K:K.pre||function(){},W=K.post||function(){};U(I,G,W,J,"",J)};z.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},z.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},z.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},z.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function U(J,I,K,G,W,H,X,Z,q,V){if(G&&typeof G=="object"&&!Array.isArray(G)){I(G,W,H,X,Z,q,V);for(var F in G){var M=G[F];if(Array.isArray(M)){if(F in z.arrayKeywords)for(var w=0;w{Object.defineProperty($,"__esModule",{value:!0}),$.getSchemaRefs=$.resolveUrl=$.normalizeId=$._getFullPath=$.getFullPath=$.inlineRef=void 0;let Y=v1(),z=ht(),U=tf0(),Q=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function J(M,w=!0){if(typeof M=="boolean")return!0;if(w===!0)return!K(M);if(!w)return!1;return G(M)<=w}$.inlineRef=J;let I=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function K(M){for(let w in M){if(I.has(w))return!0;let O=M[w];if(Array.isArray(O)&&O.some(K))return!0;if(typeof O=="object"&&K(O))return!0}return!1}function G(M){let w=0;for(let O in M){if(O==="$ref")return 1/0;if(w++,Q.has(O))continue;if(typeof M[O]=="object")(0,Y.eachItem)(M[O],(D)=>w+=G(D));if(w===1/0)return 1/0}return w}function W(M,w="",O){if(O!==!1)w=Z(w);return H(M,M.parse(w))}$.getFullPath=W;function H(M,w){return M.serialize(w).split("#")[0]+"#"}$._getFullPath=H;let X=/#\/?$/;function Z(M){return M?M.replace(X,""):""}$.normalizeId=Z;function q(M,w,O){return O=Z(O),M.resolve(w,O)}$.resolveUrl=q;let V=/^[a-z_][-a-z0-9._]*$/i;function F(M,w){if(typeof M=="boolean")return{};let{schemaId:O,uriResolver:D}=this.opts,N=Z(M[O]||w),A={"":N},T=W(D,N,!1),B={},j=new Set;return U(M,{allKeys:!0},(k,h,i,c)=>{if(c===void 0)return;let U0=T+h,x=A[c];if(typeof k[O]=="string")x=d.call(this,k[O]);t.call(this,k.$anchor),t.call(this,k.$dynamicAnchor),A[h]=x;function d($0){let g=this.opts.uriResolver.resolve;if($0=Z(x?g(x,$0):$0),j.has($0))throw b($0);j.add($0);let p=this.refs[$0];if(typeof p=="string")p=this.refs[p];if(typeof p=="object")C(k,p.schema,$0);else if($0!==Z(U0))if($0[0]==="#")C(k,B[$0],$0),B[$0]=k;else this.refs[$0]=U0;return $0}function t($0){if(typeof $0=="string"){if(!V.test($0))throw Error(`invalid anchor "${$0}"`);d.call(this,`#${$0}`)}}}),B;function C(k,h,i){if(h!==void 0&&!z(k,h))throw b(i)}function b(k){return Error(`reference "${k}" resolves to more than one schema`)}}$.getSchemaRefs=F}),hQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getData=$.KeywordCxt=$.validateFunctionCode=void 0;let Y=of0(),z=Aw(),U=vt(),Q=Aw(),J=rf0(),I=sf0(),K=af0(),G=L1(),W=U5(),H=jw(),X=v1(),Z=Tw();function q(a){if(T(a)){if(j(a),A(a)){w(a);return}}V(a,()=>(0,Y.topBoolOrEmptySchema)(a))}$.validateFunctionCode=q;function V({gen:a,validateName:H0,schema:L0,schemaEnv:f0,opts:u0},i0){if(u0.code.es5)a.func(H0,G._`${W.default.data}, ${W.default.valCxt}`,f0.$async,()=>{a.code(G._`"use strict"; ${D(L0,u0)}`),M(a,u0),a.code(i0)});else a.func(H0,G._`${W.default.data}, ${F(u0)}`,f0.$async,()=>a.code(D(L0,u0)).code(i0))}function F(a){return G._`{${W.default.instancePath}="", ${W.default.parentData}, ${W.default.parentDataProperty}, ${W.default.rootData}=${W.default.data}${a.dynamicRef?G._`, ${W.default.dynamicAnchors}={}`:G.nil}}={}`}function M(a,H0){a.if(W.default.valCxt,()=>{if(a.var(W.default.instancePath,G._`${W.default.valCxt}.${W.default.instancePath}`),a.var(W.default.parentData,G._`${W.default.valCxt}.${W.default.parentData}`),a.var(W.default.parentDataProperty,G._`${W.default.valCxt}.${W.default.parentDataProperty}`),a.var(W.default.rootData,G._`${W.default.valCxt}.${W.default.rootData}`),H0.dynamicRef)a.var(W.default.dynamicAnchors,G._`${W.default.valCxt}.${W.default.dynamicAnchors}`)},()=>{if(a.var(W.default.instancePath,G._`""`),a.var(W.default.parentData,G._`undefined`),a.var(W.default.parentDataProperty,G._`undefined`),a.var(W.default.rootData,W.default.data),H0.dynamicRef)a.var(W.default.dynamicAnchors,G._`{}`)})}function w(a){let{schema:H0,opts:L0,gen:f0}=a;V(a,()=>{if(L0.$comment&&H0.$comment)c(a);if(k(a),f0.let(W.default.vErrors,null),f0.let(W.default.errors,0),L0.unevaluated)O(a);C(a),U0(a)})}function O(a){let{gen:H0,validateName:L0}=a;a.evaluated=H0.const("evaluated",G._`${L0}.evaluated`),H0.if(G._`${a.evaluated}.dynamicProps`,()=>H0.assign(G._`${a.evaluated}.props`,G._`undefined`)),H0.if(G._`${a.evaluated}.dynamicItems`,()=>H0.assign(G._`${a.evaluated}.items`,G._`undefined`))}function D(a,H0){let L0=typeof a=="object"&&a[H0.schemaId];return L0&&(H0.code.source||H0.code.process)?G._`/*# sourceURL=${L0} */`:G.nil}function N(a,H0){if(T(a)){if(j(a),A(a)){B(a,H0);return}}(0,Y.boolOrEmptySchema)(a,H0)}function A({schema:a,self:H0}){if(typeof a=="boolean")return!a;for(let L0 in a)if(H0.RULES.all[L0])return!0;return!1}function T(a){return typeof a.schema!="boolean"}function B(a,H0){let{schema:L0,gen:f0,opts:u0}=a;if(u0.$comment&&L0.$comment)c(a);h(a),i(a);let i0=f0.const("_errs",W.default.errors);C(a,i0),f0.var(H0,G._`${i0} === ${W.default.errors}`)}function j(a){(0,X.checkUnknownRules)(a),b(a)}function C(a,H0){if(a.opts.jtd)return d(a,[],!1,H0);let L0=(0,z.getSchemaTypes)(a.schema);d(a,L0,!(0,z.coerceAndCheckDataType)(a,L0),H0)}function b(a){let{schema:H0,errSchemaPath:L0,opts:f0,self:u0}=a;if(H0.$ref&&f0.ignoreKeywordsWithRef&&(0,X.schemaHasRulesButRef)(H0,u0.RULES))u0.logger.warn(`$ref: keywords ignored in schema at path "${L0}"`)}function k(a){let{schema:H0,opts:L0}=a;if(H0.default!==void 0&&L0.useDefaults&&L0.strictSchema)(0,X.checkStrictMode)(a,"default is ignored in the schema root")}function h(a){let H0=a.schema[a.opts.schemaId];if(H0)a.baseId=(0,H.resolveUrl)(a.opts.uriResolver,a.baseId,H0)}function i(a){if(a.schema.$async&&!a.schemaEnv.$async)throw Error("async schema in sync schema")}function c({gen:a,schemaEnv:H0,schema:L0,errSchemaPath:f0,opts:u0}){let i0=L0.$comment;if(u0.$comment===!0)a.code(G._`${W.default.self}.logger.log(${i0})`);else if(typeof u0.$comment=="function"){let D1=G.str`${f0}/$comment`,k1=a.scopeValue("root",{ref:H0.root});a.code(G._`${W.default.self}.opts.$comment(${i0}, ${D1}, ${k1}.schema)`)}}function U0(a){let{gen:H0,schemaEnv:L0,validateName:f0,ValidationError:u0,opts:i0}=a;if(L0.$async)H0.if(G._`${W.default.errors} === 0`,()=>H0.return(W.default.data),()=>H0.throw(G._`new ${u0}(${W.default.vErrors})`));else{if(H0.assign(G._`${f0}.errors`,W.default.vErrors),i0.unevaluated)x(a);H0.return(G._`${W.default.errors} === 0`)}}function x({gen:a,evaluated:H0,props:L0,items:f0}){if(L0 instanceof G.Name)a.assign(G._`${H0}.props`,L0);if(f0 instanceof G.Name)a.assign(G._`${H0}.items`,f0)}function d(a,H0,L0,f0){let{gen:u0,schema:i0,data:D1,allErrors:k1,opts:u1,self:b1}=a,{RULES:B0}=b1;if(i0.$ref&&(u1.ignoreKeywordsWithRef||!(0,X.schemaHasRulesButRef)(i0,B0))){u0.block(()=>G0(a,"$ref",B0.all.$ref.definition));return}if(!u1.jtd)$0(a,H0);u0.block(()=>{for(let P of B0.rules)Q0(P);Q0(B0.post)});function Q0(P){if(!(0,U.shouldUseGroup)(i0,P))return;if(P.type){if(u0.if((0,Q.checkDataType)(P.type,D1,u1.strictNumbers)),t(a,P),H0.length===1&&H0[0]===P.type&&L0)u0.else(),(0,Q.reportTypeError)(a);u0.endIf()}else t(a,P);if(!k1)u0.if(G._`${W.default.errors} === ${f0||0}`)}}function t(a,H0){let{gen:L0,schema:f0,opts:{useDefaults:u0}}=a;if(u0)(0,J.assignDefaults)(a,H0.type);L0.block(()=>{for(let i0 of H0.rules)if((0,U.shouldUseRule)(f0,i0))G0(a,i0.keyword,i0.definition,H0.type)})}function $0(a,H0){if(a.schemaEnv.meta||!a.opts.strictTypes)return;if(g(a,H0),!a.opts.allowUnionTypes)p(a,H0);e(a,a.dataTypes)}function g(a,H0){if(!H0.length)return;if(!a.dataTypes.length){a.dataTypes=H0;return}H0.forEach((L0)=>{if(!s(a.dataTypes,L0))M0(a,`type "${L0}" not allowed by context "${a.dataTypes.join(",")}"`)}),Y0(a,H0)}function p(a,H0){if(H0.length>1&&!(H0.length===2&&H0.includes("null")))M0(a,"use allowUnionTypes to allow union type keyword")}function e(a,H0){let L0=a.self.RULES.all;for(let f0 in L0){let u0=L0[f0];if(typeof u0=="object"&&(0,U.shouldUseRule)(a.schema,u0)){let{type:i0}=u0.definition;if(i0.length&&!i0.some((D1)=>y(H0,D1)))M0(a,`missing type "${i0.join(",")}" for keyword "${f0}"`)}}}function y(a,H0){return a.includes(H0)||H0==="number"&&a.includes("integer")}function s(a,H0){return a.includes(H0)||H0==="integer"&&a.includes("number")}function Y0(a,H0){let L0=[];for(let f0 of a.dataTypes)if(s(H0,f0))L0.push(f0);else if(H0.includes("integer")&&f0==="number")L0.push("integer");a.dataTypes=L0}function M0(a,H0){let L0=a.schemaEnv.baseId+a.errSchemaPath;H0+=` at "${L0}" (strictTypes)`,(0,X.checkStrictMode)(a,H0,a.opts.strictTypes)}var E0=class{constructor(a,H0,L0){if((0,I.validateKeywordUsage)(a,H0,L0),this.gen=a.gen,this.allErrors=a.allErrors,this.keyword=L0,this.data=a.data,this.schema=a.schema[L0],this.$data=H0.$data&&a.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,X.schemaRefOrVal)(a,this.schema,L0,this.$data),this.schemaType=H0.schemaType,this.parentSchema=a.schema,this.params={},this.it=a,this.def=H0,this.$data)this.schemaCode=a.gen.const("vSchema",Y1(this.$data,a));else if(this.schemaCode=this.schemaValue,!(0,I.validSchemaType)(this.schema,H0.schemaType,H0.allowUndefined))throw Error(`${L0} value must be ${JSON.stringify(H0.schemaType)}`);if("code"in H0?H0.trackErrors:H0.errors!==!1)this.errsCount=a.gen.const("_errs",W.default.errors)}result(a,H0,L0){this.failResult((0,G.not)(a),H0,L0)}failResult(a,H0,L0){if(this.gen.if(a),L0)L0();else this.error();if(H0){if(this.gen.else(),H0(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass(a,H0){this.failResult((0,G.not)(a),void 0,H0)}fail(a){if(a===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if(a),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(a){if(!this.$data)return this.fail(a);let{schemaCode:H0}=this;this.fail(G._`${H0} !== undefined && (${(0,G.or)(this.invalid$data(),a)})`)}error(a,H0,L0){if(H0){this.setParams(H0),this._error(a,L0),this.setParams({});return}this._error(a,L0)}_error(a,H0){(a?Z.reportExtraError:Z.reportError)(this,this.def.error,H0)}$dataError(){(0,Z.reportError)(this,this.def.$dataError||Z.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,Z.resetErrorsCount)(this.gen,this.errsCount)}ok(a){if(!this.allErrors)this.gen.if(a)}setParams(a,H0){if(H0)Object.assign(this.params,a);else this.params=a}block$data(a,H0,L0=G.nil){this.gen.block(()=>{this.check$data(a,L0),H0()})}check$data(a=G.nil,H0=G.nil){if(!this.$data)return;let{gen:L0,schemaCode:f0,schemaType:u0,def:i0}=this;if(L0.if((0,G.or)(G._`${f0} === undefined`,H0)),a!==G.nil)L0.assign(a,!0);if(u0.length||i0.validateSchema){if(L0.elseIf(this.invalid$data()),this.$dataError(),a!==G.nil)L0.assign(a,!1)}L0.else()}invalid$data(){let{gen:a,schemaCode:H0,schemaType:L0,def:f0,it:u0}=this;return(0,G.or)(i0(),D1());function i0(){if(L0.length){if(!(H0 instanceof G.Name))throw Error("ajv implementation error");let k1=Array.isArray(L0)?L0:[L0];return G._`${(0,Q.checkDataTypes)(k1,H0,u0.opts.strictNumbers,Q.DataType.Wrong)}`}return G.nil}function D1(){if(f0.validateSchema){let k1=a.scopeValue("validate$data",{ref:f0.validateSchema});return G._`!${k1}(${H0})`}return G.nil}}subschema(a,H0){let L0=(0,K.getSubschema)(this.it,a);(0,K.extendSubschemaData)(L0,this.it,a),(0,K.extendSubschemaMode)(L0,a);let f0={...this.it,...L0,items:void 0,props:void 0};return N(f0,H0),f0}mergeEvaluated(a,H0){let{it:L0,gen:f0}=this;if(!L0.opts.unevaluated)return;if(L0.props!==!0&&a.props!==void 0)L0.props=X.mergeEvaluated.props(f0,a.props,L0.props,H0);if(L0.items!==!0&&a.items!==void 0)L0.items=X.mergeEvaluated.items(f0,a.items,L0.items,H0)}mergeValidEvaluated(a,H0){let{it:L0,gen:f0}=this;if(L0.opts.unevaluated&&(L0.props!==!0||L0.items!==!0))return f0.if(H0,()=>this.mergeEvaluated(a,G.Name)),!0}};$.KeywordCxt=E0;function G0(a,H0,L0,f0){let u0=new E0(a,L0,H0);if("code"in L0)L0.code(u0,f0);else if(u0.$data&&L0.validate)(0,I.funcKeywordCode)(u0,L0);else if("macro"in L0)(0,I.macroKeywordCode)(u0,L0);else if(L0.compile||L0.validate)(0,I.funcKeywordCode)(u0,L0)}let T0=/^\/(?:[^~]|~0|~1)*$/,b0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y1(a,{dataLevel:H0,dataNames:L0,dataPathArr:f0}){let u0,i0;if(a==="")return W.default.rootData;if(a[0]==="/"){if(!T0.test(a))throw Error(`Invalid JSON-pointer: ${a}`);u0=a,i0=W.default.rootData}else{let b1=b0.exec(a);if(!b1)throw Error(`Invalid JSON-pointer: ${a}`);let B0=+b1[1];if(u0=b1[2],u0==="#"){if(B0>=H0)throw Error(u1("property/index",B0));return f0[H0-B0]}if(B0>H0)throw Error(u1("data",B0));if(i0=L0[H0-B0],!u0)return i0}let D1=i0,k1=u0.split("/");for(let b1 of k1)if(b1)i0=G._`${i0}${(0,G.getProperty)((0,X.unescapeJsonPointer)(b1))}`,D1=G._`${D1} && ${i0}`;return D1;function u1(b1,B0){return`Cannot access ${b1} ${B0} levels up, current level is ${H0}`}}$.getData=Y1}),XW=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});var Y=class extends Error{constructor(z){super("validation failed");this.errors=z,this.ajv=this.validation=!0}};$.default=Y}),SQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=jw();var z=class extends Error{constructor(U,Q,J,I){super(I||`can't resolve reference ${J} from id ${Q}`);this.missingRef=(0,Y.resolveUrl)(U,Q,J),this.missingSchema=(0,Y.normalizeId)((0,Y.getFullPath)(U,this.missingRef))}};$.default=z}),Ew=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.resolveSchema=$.getCompilingSchema=$.resolveRef=$.compileSchema=$.SchemaEnv=void 0;let Y=L1(),z=XW(),U=U5(),Q=jw(),J=v1(),I=hQ();var K=class{constructor(w){var O;this.refs={},this.dynamicAnchors={};let D;if(typeof w.schema=="object")D=w.schema;this.schema=w.schema,this.schemaId=w.schemaId,this.root=w.root||this,this.baseId=(O=w.baseId)!==null&&O!==void 0?O:(0,Q.normalizeId)(D===null||D===void 0?void 0:D[w.schemaId||"$id"]),this.schemaPath=w.schemaPath,this.localRefs=w.localRefs,this.meta=w.meta,this.$async=D===null||D===void 0?void 0:D.$async,this.refs={}}};$.SchemaEnv=K;function G(w){let O=X.call(this,w);if(O)return O;let D=(0,Q.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:N,lines:A}=this.opts.code,{ownProperties:T}=this.opts,B=new Y.CodeGen(this.scope,{es5:N,lines:A,ownProperties:T}),j;if(w.$async)j=B.scopeValue("Error",{ref:z.default,code:Y._`require("ajv/dist/runtime/validation_error").default`});let C=B.scopeName("validate");w.validateName=C;let b={gen:B,allErrors:this.opts.allErrors,data:U.default.data,parentData:U.default.parentData,parentDataProperty:U.default.parentDataProperty,dataNames:[U.default.data],dataPathArr:[Y.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:B.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,Y.stringify)(w.schema)}:{ref:w.schema}),validateName:C,ValidationError:j,schema:w.schema,schemaEnv:w,rootId:D,baseId:w.baseId||D,schemaPath:Y.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:Y._`""`,opts:this.opts,self:this},k;try{this._compilations.add(w),(0,I.validateFunctionCode)(b),B.optimize(this.opts.code.optimize);let h=B.toString();if(k=`${B.scopeRefs(U.default.scope)}return ${h}`,this.opts.code.process)k=this.opts.code.process(k,w);let i=Function(`${U.default.self}`,`${U.default.scope}`,k)(this,this.scope.get());if(this.scope.value(C,{ref:i}),i.errors=null,i.schema=w.schema,i.schemaEnv=w,w.$async)i.$async=!0;if(this.opts.code.source===!0)i.source={validateName:C,validateCode:h,scopeValues:B._values};if(this.opts.unevaluated){let{props:c,items:U0}=b;if(i.evaluated={props:c instanceof Y.Name?void 0:c,items:U0 instanceof Y.Name?void 0:U0,dynamicProps:c instanceof Y.Name,dynamicItems:U0 instanceof Y.Name},i.source)i.source.evaluated=(0,Y.stringify)(i.evaluated)}return w.validate=i,w}catch(h){if(delete w.validate,delete w.validateName,k)this.logger.error("Error compiling schema, function code:",k);throw h}finally{this._compilations.delete(w)}}$.compileSchema=G;function W(w,O,D){var N;D=(0,Q.resolveUrl)(this.opts.uriResolver,O,D);let A=w.refs[D];if(A)return A;let T=q.call(this,w,D);if(T===void 0){let B=(N=w.localRefs)===null||N===void 0?void 0:N[D],{schemaId:j}=this.opts;if(B)T=new K({schema:B,schemaId:j,root:w,baseId:O})}if(T===void 0)return;return w.refs[D]=H.call(this,T)}$.resolveRef=W;function H(w){if((0,Q.inlineRef)(w.schema,this.opts.inlineRefs))return w.schema;return w.validate?w:G.call(this,w)}function X(w){for(let O of this._compilations)if(Z(O,w))return O}$.getCompilingSchema=X;function Z(w,O){return w.schema===O.schema&&w.root===O.root&&w.baseId===O.baseId}function q(w,O){let D;while(typeof(D=this.refs[O])=="string")O=D;return D||this.schemas[O]||V.call(this,w,O)}function V(w,O){let D=this.opts.uriResolver.parse(O),N=(0,Q._getFullPath)(this.opts.uriResolver,D),A=(0,Q.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&N===A)return M.call(this,D,w);let T=(0,Q.normalizeId)(N),B=this.refs[T]||this.schemas[T];if(typeof B=="string"){let j=V.call(this,w,B);if(typeof(j===null||j===void 0?void 0:j.schema)!=="object")return;return M.call(this,D,j)}if(typeof(B===null||B===void 0?void 0:B.schema)!=="object")return;if(!B.validate)G.call(this,B);if(T===(0,Q.normalizeId)(O)){let{schema:j}=B,{schemaId:C}=this.opts,b=j[C];if(b)A=(0,Q.resolveUrl)(this.opts.uriResolver,A,b);return new K({schema:j,schemaId:C,root:w,baseId:A})}return M.call(this,D,B)}$.resolveSchema=V;let F=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function M(w,{baseId:O,schema:D,root:N}){var A;if(((A=w.fragment)===null||A===void 0?void 0:A[0])!=="/")return;for(let j of w.fragment.slice(1).split("/")){if(typeof D==="boolean")return;let C=D[(0,J.unescapeFragment)(j)];if(C===void 0)return;D=C;let b=typeof D==="object"&&D[this.opts.schemaId];if(!F.has(j)&&b)O=(0,Q.resolveUrl)(this.opts.uriResolver,O,b)}let T;if(typeof D!="boolean"&&D.$ref&&!(0,J.schemaHasRulesButRef)(D,this.RULES)){let j=(0,Q.resolveUrl)(this.opts.uriResolver,O,D.$ref);T=V.call(this,N,j)}let{schemaId:B}=this.opts;if(T=T||new K({schema:D,schemaId:B,root:N,baseId:O}),T.schema!==T.root.schema)return T}}),ef0=R0(($,Y)=>{Y.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}}),St=R0(($,Y)=>{let z=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),U=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function Q(V){let F="",M=0,w=0;for(w=0;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w];break}for(w+=1;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w]}return F}let J=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function I(V){return V.length=0,!0}function K(V,F,M){if(V.length){let w=Q(V);if(w!=="")F.push(w);else return M.error=!0,!1;V.length=0}return!0}function G(V){let F=0,M={error:!1,address:"",zone:""},w=[],O=[],D=!1,N=!1,A=K;for(let T=0;T7){M.error=!0;break}if(T>0&&V[T-1]===":")D=!0;w.push(":");continue}else if(B==="%"){if(!A(O,w,M))break;A=I}else{O.push(B);continue}}if(O.length)if(A===I)M.zone=O.join("");else if(N)w.push(O.join(""));else w.push(Q(O));return M.address=w.join(""),M}function W(V){if(H(V,":")<2)return{host:V,isIPV6:!1};let F=G(V);if(!F.error){let{address:M,address:w}=F;if(F.zone)M+="%"+F.zone,w+="%25"+F.zone;return{host:M,isIPV6:!0,escapedHost:w}}else return{host:V,isIPV6:!1}}function H(V,F){let M=0;for(let w=0;w{let{isUUID:z}=St(),U=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,Q=["http","https","ws","wss","urn","urn:uuid"];function J(B){return Q.indexOf(B)!==-1}function I(B){if(B.secure===!0)return!0;else if(B.secure===!1)return!1;else if(B.scheme)return B.scheme.length===3&&(B.scheme[0]==="w"||B.scheme[0]==="W")&&(B.scheme[1]==="s"||B.scheme[1]==="S")&&(B.scheme[2]==="s"||B.scheme[2]==="S");else return!1}function K(B){if(!B.host)B.error=B.error||"HTTP URIs must have a host.";return B}function G(B){let j=String(B.scheme).toLowerCase()==="https";if(B.port===(j?443:80)||B.port==="")B.port=void 0;if(!B.path)B.path="/";return B}function W(B){return B.secure=I(B),B.resourceName=(B.path||"/")+(B.query?"?"+B.query:""),B.path=void 0,B.query=void 0,B}function H(B){if(B.port===(I(B)?443:80)||B.port==="")B.port=void 0;if(typeof B.secure==="boolean")B.scheme=B.secure?"wss":"ws",B.secure=void 0;if(B.resourceName){let[j,C]=B.resourceName.split("?");B.path=j&&j!=="/"?j:void 0,B.query=C,B.resourceName=void 0}return B.fragment=void 0,B}function X(B,j){if(!B.path)return B.error="URN can not be parsed",B;let C=B.path.match(U);if(C){let b=j.scheme||B.scheme||"urn";B.nid=C[1].toLowerCase(),B.nss=C[2];let k=T(`${b}:${j.nid||B.nid}`);if(B.path=void 0,k)B=k.parse(B,j)}else B.error=B.error||"URN can not be parsed.";return B}function Z(B,j){if(B.nid===void 0)throw Error("URN without nid cannot be serialized");let C=j.scheme||B.scheme||"urn",b=B.nid.toLowerCase(),k=T(`${C}:${j.nid||b}`);if(k)B=k.serialize(B,j);let h=B,i=B.nss;return h.path=`${b||j.nid}:${i}`,j.skipEscape=!0,h}function q(B,j){let C=B;if(C.uuid=C.nss,C.nss=void 0,!j.tolerant&&(!C.uuid||!z(C.uuid)))C.error=C.error||"UUID is not valid.";return C}function V(B){let j=B;return j.nss=(B.uuid||"").toLowerCase(),j}let F={scheme:"http",domainHost:!0,parse:K,serialize:G},M={scheme:"https",domainHost:F.domainHost,parse:K,serialize:G},w={scheme:"ws",domainHost:!0,parse:W,serialize:H},O={scheme:"wss",domainHost:w.domainHost,parse:w.parse,serialize:w.serialize},A={http:F,https:M,ws:w,wss:O,urn:{scheme:"urn",parse:X,serialize:Z,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:q,serialize:V,skipNormalize:!0}};Object.setPrototypeOf(A,null);function T(B){return B&&(A[B]||A[B.toLowerCase()])||void 0}Y.exports={wsIsSecure:I,SCHEMES:A,isValidSchemeName:J,getSchemeHandler:T}}),Yu0=R0(($,Y)=>{let{normalizeIPv6:z,removeDotSegments:U,recomposeAuthority:Q,normalizeComponentEncoding:J,isIPv4:I,nonSimpleDomain:K}=St(),{SCHEMES:G,getSchemeHandler:W}=$u0();function H(O,D){if(typeof O==="string")O=V(M(O,D),D);else if(typeof O==="object")O=M(V(O,D),D);return O}function X(O,D,N){let A=N?Object.assign({scheme:"null"},N):{scheme:"null"},T=Z(M(O,A),M(D,A),A,!0);return A.skipEscape=!0,V(T,A)}function Z(O,D,N,A){let T={};if(!A)O=M(V(O,N),N),D=M(V(D,N),N);if(N=N||{},!N.tolerant&&D.scheme)T.scheme=D.scheme,T.userinfo=D.userinfo,T.host=D.host,T.port=D.port,T.path=U(D.path||""),T.query=D.query;else{if(D.userinfo!==void 0||D.host!==void 0||D.port!==void 0)T.userinfo=D.userinfo,T.host=D.host,T.port=D.port,T.path=U(D.path||""),T.query=D.query;else{if(!D.path)if(T.path=O.path,D.query!==void 0)T.query=D.query;else T.query=O.query;else{if(D.path[0]==="/")T.path=U(D.path);else{if((O.userinfo!==void 0||O.host!==void 0||O.port!==void 0)&&!O.path)T.path="/"+D.path;else if(!O.path)T.path=D.path;else T.path=O.path.slice(0,O.path.lastIndexOf("/")+1)+D.path;T.path=U(T.path)}T.query=D.query}T.userinfo=O.userinfo,T.host=O.host,T.port=O.port}T.scheme=O.scheme}return T.fragment=D.fragment,T}function q(O,D,N){if(typeof O==="string")O=unescape(O),O=V(J(M(O,N),!0),{...N,skipEscape:!0});else if(typeof O==="object")O=V(J(O,!0),{...N,skipEscape:!0});if(typeof D==="string")D=unescape(D),D=V(J(M(D,N),!0),{...N,skipEscape:!0});else if(typeof D==="object")D=V(J(D,!0),{...N,skipEscape:!0});return O.toLowerCase()===D.toLowerCase()}function V(O,D){let N={host:O.host,scheme:O.scheme,userinfo:O.userinfo,port:O.port,path:O.path,query:O.query,nid:O.nid,nss:O.nss,uuid:O.uuid,fragment:O.fragment,reference:O.reference,resourceName:O.resourceName,secure:O.secure,error:""},A=Object.assign({},D),T=[],B=W(A.scheme||N.scheme);if(B&&B.serialize)B.serialize(N,A);if(N.path!==void 0)if(!A.skipEscape){if(N.path=escape(N.path),N.scheme!==void 0)N.path=N.path.split("%3A").join(":")}else N.path=unescape(N.path);if(A.reference!=="suffix"&&N.scheme)T.push(N.scheme,":");let j=Q(N);if(j!==void 0){if(A.reference!=="suffix")T.push("//");if(T.push(j),N.path&&N.path[0]!=="/")T.push("/")}if(N.path!==void 0){let C=N.path;if(!A.absolutePath&&(!B||!B.absolutePath))C=U(C);if(j===void 0&&C[0]==="/"&&C[1]==="/")C="/%2F"+C.slice(2);T.push(C)}if(N.query!==void 0)T.push("?",N.query);if(N.fragment!==void 0)T.push("#",N.fragment);return T.join("")}let F=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function M(O,D){let N=Object.assign({},D),A={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},T=!1;if(N.reference==="suffix")if(N.scheme)O=N.scheme+":"+O;else O="//"+O;let B=O.match(F);if(B){if(A.scheme=B[1],A.userinfo=B[3],A.host=B[4],A.port=parseInt(B[5],10),A.path=B[6]||"",A.query=B[7],A.fragment=B[8],isNaN(A.port))A.port=B[5];if(A.host)if(I(A.host)===!1){let C=z(A.host);A.host=C.host.toLowerCase(),T=C.isIPV6}else T=!0;if(A.scheme===void 0&&A.userinfo===void 0&&A.host===void 0&&A.port===void 0&&A.query===void 0&&!A.path)A.reference="same-document";else if(A.scheme===void 0)A.reference="relative";else if(A.fragment===void 0)A.reference="absolute";else A.reference="uri";if(N.reference&&N.reference!=="suffix"&&N.reference!==A.reference)A.error=A.error||"URI is not a "+N.reference+" reference.";let j=W(N.scheme||A.scheme);if(!N.unicodeSupport&&(!j||!j.unicodeSupport)){if(A.host&&(N.domainHost||j&&j.domainHost)&&T===!1&&K(A.host))try{A.host=URL.domainToASCII(A.host.toLowerCase())}catch(C){A.error=A.error||"Host's domain name can not be converted to ASCII: "+C}}if(!j||j&&!j.skipNormalize){if(O.indexOf("%")!==-1){if(A.scheme!==void 0)A.scheme=unescape(A.scheme);if(A.host!==void 0)A.host=unescape(A.host)}if(A.path)A.path=escape(unescape(A.path));if(A.fragment)A.fragment=encodeURI(decodeURIComponent(A.fragment))}if(j&&j.parse)j.parse(A,N)}else A.error=A.error||"URI can not be parsed.";return A}let w={SCHEMES:G,normalize:H,resolve:X,resolveComponent:Z,equal:q,serialize:V,parse:M};Y.exports=w,Y.exports.default=w,Y.exports.fastUri=w}),zu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Yu0();Y.code='require("ajv/dist/runtime/uri").default',$.default=Y}),rh=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=void 0;var Y=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return Y.KeywordCxt}});var z=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return z._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return z.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return z.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return z.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return z.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return z.CodeGen}});let U=XW(),Q=SQ(),J=_t(),I=Ew(),K=L1(),G=jw(),W=Aw(),H=v1(),X=ef0(),Z=zu0(),q=(g,p)=>new RegExp(g,p);q.code="new RegExp";let V=["removeAdditional","useDefaults","coerceTypes"],F=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),M={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},w={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},O=200;function D(g){var p,e,y,s,Y0,M0,E0,G0,T0,b0,Y1,a,H0,L0,f0,u0,i0,D1,k1,u1,b1,B0,Q0,P,v;let u=g.strict,r=(p=g.code)===null||p===void 0?void 0:p.optimize,X0=r===!0||r===void 0?1:r||0,J0=(y=(e=g.code)===null||e===void 0?void 0:e.regExp)!==null&&y!==void 0?y:q,Z0=(s=g.uriResolver)!==null&&s!==void 0?s:Z.default;return{strictSchema:(M0=(Y0=g.strictSchema)!==null&&Y0!==void 0?Y0:u)!==null&&M0!==void 0?M0:!0,strictNumbers:(G0=(E0=g.strictNumbers)!==null&&E0!==void 0?E0:u)!==null&&G0!==void 0?G0:!0,strictTypes:(b0=(T0=g.strictTypes)!==null&&T0!==void 0?T0:u)!==null&&b0!==void 0?b0:"log",strictTuples:(a=(Y1=g.strictTuples)!==null&&Y1!==void 0?Y1:u)!==null&&a!==void 0?a:"log",strictRequired:(L0=(H0=g.strictRequired)!==null&&H0!==void 0?H0:u)!==null&&L0!==void 0?L0:!1,code:g.code?{...g.code,optimize:X0,regExp:J0}:{optimize:X0,regExp:J0},loopRequired:(f0=g.loopRequired)!==null&&f0!==void 0?f0:O,loopEnum:(u0=g.loopEnum)!==null&&u0!==void 0?u0:O,meta:(i0=g.meta)!==null&&i0!==void 0?i0:!0,messages:(D1=g.messages)!==null&&D1!==void 0?D1:!0,inlineRefs:(k1=g.inlineRefs)!==null&&k1!==void 0?k1:!0,schemaId:(u1=g.schemaId)!==null&&u1!==void 0?u1:"$id",addUsedSchema:(b1=g.addUsedSchema)!==null&&b1!==void 0?b1:!0,validateSchema:(B0=g.validateSchema)!==null&&B0!==void 0?B0:!0,validateFormats:(Q0=g.validateFormats)!==null&&Q0!==void 0?Q0:!0,unicodeRegExp:(P=g.unicodeRegExp)!==null&&P!==void 0?P:!0,int32range:(v=g.int32range)!==null&&v!==void 0?v:!0,uriResolver:Z0}}var N=class{constructor(g={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,g=this.opts={...g,...D(g)};let{es5:p,lines:e}=this.opts.code;this.scope=new K.ValueScope({scope:{},prefixes:F,es5:p,lines:e}),this.logger=h(g.logger);let y=g.validateFormats;if(g.validateFormats=!1,this.RULES=(0,J.getRules)(),A.call(this,M,g,"NOT SUPPORTED"),A.call(this,w,g,"DEPRECATED","warn"),this._metaOpts=b.call(this),g.formats)j.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),g.keywords)C.call(this,g.keywords);if(typeof g.meta=="object")this.addMetaSchema(g.meta);B.call(this),g.validateFormats=y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:g,meta:p,schemaId:e}=this.opts,y=X;if(e==="id")y={...X},y.id=y.$id,delete y.$id;if(p&&g)this.addMetaSchema(y,y[e],!1)}defaultMeta(){let{meta:g,schemaId:p}=this.opts;return this.opts.defaultMeta=typeof g=="object"?g[p]||g:void 0}validate(g,p){let e;if(typeof g=="string"){if(e=this.getSchema(g),!e)throw Error(`no schema with key or ref "${g}"`)}else e=this.compile(g);let y=e(p);if(!("$async"in e))this.errors=e.errors;return y}compile(g,p){let e=this._addSchema(g,p);return e.validate||this._compileSchemaEnv(e)}compileAsync(g,p){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:e}=this.opts;return y.call(this,g,p);async function y(T0,b0){await s.call(this,T0.$schema);let Y1=this._addSchema(T0,b0);return Y1.validate||Y0.call(this,Y1)}async function s(T0){if(T0&&!this.getSchema(T0))await y.call(this,{$ref:T0},!0)}async function Y0(T0){try{return this._compileSchemaEnv(T0)}catch(b0){if(!(b0 instanceof Q.default))throw b0;return M0.call(this,b0),await E0.call(this,b0.missingSchema),Y0.call(this,T0)}}function M0({missingSchema:T0,missingRef:b0}){if(this.refs[T0])throw Error(`AnySchema ${T0} is loaded but ${b0} cannot be resolved`)}async function E0(T0){let b0=await G0.call(this,T0);if(!this.refs[T0])await s.call(this,b0.$schema);if(!this.refs[T0])this.addSchema(b0,T0,p)}async function G0(T0){let b0=this._loading[T0];if(b0)return b0;try{return await(this._loading[T0]=e(T0))}finally{delete this._loading[T0]}}}addSchema(g,p,e,y=this.opts.validateSchema){if(Array.isArray(g)){for(let Y0 of g)this.addSchema(Y0,void 0,e,y);return this}let s;if(typeof g==="object"){let{schemaId:Y0}=this.opts;if(s=g[Y0],s!==void 0&&typeof s!="string")throw Error(`schema ${Y0} must be string`)}return p=(0,G.normalizeId)(p||s),this._checkUnique(p),this.schemas[p]=this._addSchema(g,e,p,y,!0),this}addMetaSchema(g,p,e=this.opts.validateSchema){return this.addSchema(g,p,!0,e),this}validateSchema(g,p){if(typeof g=="boolean")return!0;let e;if(e=g.$schema,e!==void 0&&typeof e!="string")throw Error("$schema must be a string");if(e=e||this.opts.defaultMeta||this.defaultMeta(),!e)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let y=this.validate(e,g);if(!y&&p){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw Error(s)}return y}getSchema(g){let p;while(typeof(p=T.call(this,g))=="string")g=p;if(p===void 0){let{schemaId:e}=this.opts,y=new I.SchemaEnv({schema:{},schemaId:e});if(p=I.resolveSchema.call(this,y,g),!p)return;this.refs[g]=p}return p.validate||this._compileSchemaEnv(p)}removeSchema(g){if(g instanceof RegExp)return this._removeAllSchemas(this.schemas,g),this._removeAllSchemas(this.refs,g),this;switch(typeof g){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let p=T.call(this,g);if(typeof p=="object")this._cache.delete(p.schema);return delete this.schemas[g],delete this.refs[g],this}case"object":{let p=g;this._cache.delete(p);let e=g[this.opts.schemaId];if(e)e=(0,G.normalizeId)(e),delete this.schemas[e],delete this.refs[e];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(g){for(let p of g)this.addKeyword(p);return this}addKeyword(g,p){let e;if(typeof g=="string"){if(e=g,typeof p=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),p.keyword=e}else if(typeof g=="object"&&p===void 0){if(p=g,e=p.keyword,Array.isArray(e)&&!e.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(c.call(this,e,p),!p)return(0,H.eachItem)(e,(s)=>U0.call(this,s)),this;d.call(this,p);let y={...p,type:(0,W.getJSONTypes)(p.type),schemaType:(0,W.getJSONTypes)(p.schemaType)};return(0,H.eachItem)(e,y.type.length===0?(s)=>U0.call(this,s,y):(s)=>y.type.forEach((Y0)=>U0.call(this,s,y,Y0))),this}getKeyword(g){let p=this.RULES.all[g];return typeof p=="object"?p.definition:!!p}removeKeyword(g){let{RULES:p}=this;delete p.keywords[g],delete p.all[g];for(let e of p.rules){let y=e.rules.findIndex((s)=>s.keyword===g);if(y>=0)e.rules.splice(y,1)}return this}addFormat(g,p){if(typeof p=="string")p=new RegExp(p);return this.formats[g]=p,this}errorsText(g=this.errors,{separator:p=", ",dataVar:e="data"}={}){if(!g||g.length===0)return"No errors";return g.map((y)=>`${e}${y.instancePath} ${y.message}`).reduce((y,s)=>y+p+s)}$dataMetaSchema(g,p){let e=this.RULES.all;g=JSON.parse(JSON.stringify(g));for(let y of p){let s=y.split("/").slice(1),Y0=g;for(let M0 of s)Y0=Y0[M0];for(let M0 in e){let E0=e[M0];if(typeof E0!="object")continue;let{$data:G0}=E0.definition,T0=Y0[M0];if(G0&&T0)Y0[M0]=$0(T0)}}return g}_removeAllSchemas(g,p){for(let e in g){let y=g[e];if(!p||p.test(e)){if(typeof y=="string")delete g[e];else if(y&&!y.meta)this._cache.delete(y.schema),delete g[e]}}}_addSchema(g,p,e,y=this.opts.validateSchema,s=this.opts.addUsedSchema){let Y0,{schemaId:M0}=this.opts;if(typeof g=="object")Y0=g[M0];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof g!="boolean")throw Error("schema must be object or boolean");let E0=this._cache.get(g);if(E0!==void 0)return E0;e=(0,G.normalizeId)(Y0||e);let G0=G.getSchemaRefs.call(this,g,e);if(E0=new I.SchemaEnv({schema:g,schemaId:M0,meta:p,baseId:e,localRefs:G0}),this._cache.set(E0.schema,E0),s&&!e.startsWith("#")){if(e)this._checkUnique(e);this.refs[e]=E0}if(y)this.validateSchema(g,!0);return E0}_checkUnique(g){if(this.schemas[g]||this.refs[g])throw Error(`schema with key or id "${g}" already exists`)}_compileSchemaEnv(g){if(g.meta)this._compileMetaSchema(g);else I.compileSchema.call(this,g);if(!g.validate)throw Error("ajv implementation error");return g.validate}_compileMetaSchema(g){let p=this.opts;this.opts=this._metaOpts;try{I.compileSchema.call(this,g)}finally{this.opts=p}}};N.ValidationError=U.default,N.MissingRefError=Q.default,$.default=N;function A(g,p,e,y="error"){for(let s in g){let Y0=s;if(Y0 in p)this.logger[y](`${e}: option ${s}. ${g[Y0]}`)}}function T(g){return g=(0,G.normalizeId)(g),this.schemas[g]||this.refs[g]}function B(){let g=this.opts.schemas;if(!g)return;if(Array.isArray(g))this.addSchema(g);else for(let p in g)this.addSchema(g[p],p)}function j(){for(let g in this.opts.formats){let p=this.opts.formats[g];if(p)this.addFormat(g,p)}}function C(g){if(Array.isArray(g)){this.addVocabulary(g);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let p in g){let e=g[p];if(!e.keyword)e.keyword=p;this.addKeyword(e)}}function b(){let g={...this.opts};for(let p of V)delete g[p];return g}let k={log(){},warn(){},error(){}};function h(g){if(g===!1)return k;if(g===void 0)return console;if(g.log&&g.warn&&g.error)return g;throw Error("logger must implement log, warn and error methods")}let i=/^[a-z_$][a-z0-9_$:-]*$/i;function c(g,p){let{RULES:e}=this;if((0,H.eachItem)(g,(y)=>{if(e.keywords[y])throw Error(`Keyword ${y} is already defined`);if(!i.test(y))throw Error(`Keyword ${y} has invalid name`)}),!p)return;if(p.$data&&!(("code"in p)||("validate"in p)))throw Error('$data keyword must have "code" or "validate" function')}function U0(g,p,e){var y;let s=p===null||p===void 0?void 0:p.post;if(e&&s)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Y0}=this,M0=s?Y0.post:Y0.rules.find(({type:G0})=>G0===e);if(!M0)M0={type:e,rules:[]},Y0.rules.push(M0);if(Y0.keywords[g]=!0,!p)return;let E0={keyword:g,definition:{...p,type:(0,W.getJSONTypes)(p.type),schemaType:(0,W.getJSONTypes)(p.schemaType)}};if(p.before)x.call(this,M0,E0,p.before);else M0.rules.push(E0);Y0.all[g]=E0,(y=p.implements)===null||y===void 0||y.forEach((G0)=>this.addKeyword(G0))}function x(g,p,e){let y=g.rules.findIndex((s)=>s.keyword===e);if(y>=0)g.rules.splice(y,0,p);else g.rules.push(p),this.logger.warn(`rule ${e} is not defined`)}function d(g){let{metaSchema:p}=g;if(p===void 0)return;if(g.$data&&this.opts.$data)p=$0(p);g.validateSchema=this.compile(p,!0)}let t={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function $0(g){return{anyOf:[g,t]}}}),Uu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};$.default=Y}),sh=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.callRef=$.getValidate=void 0;let Y=SQ(),z=Q5(),U=L1(),Q=U5(),J=Ew(),I=v1(),K={keyword:"$ref",schemaType:"string",code(H){let{gen:X,schema:Z,it:q}=H,{baseId:V,schemaEnv:F,validateName:M,opts:w,self:O}=q,{root:D}=F;if((Z==="#"||Z==="#/")&&V===D.baseId)return A();let N=J.resolveRef.call(O,D,V,Z);if(N===void 0)throw new Y.default(q.opts.uriResolver,V,Z);if(N instanceof J.SchemaEnv)return T(N);return B(N);function A(){if(F===D)return W(H,M,F,F.$async);let j=X.scopeValue("root",{ref:D});return W(H,U._`${j}.validate`,D,D.$async)}function T(j){W(H,G(H,j),j,j.$async)}function B(j){let C=X.scopeValue("schema",w.code.source===!0?{ref:j,code:(0,U.stringify)(j)}:{ref:j}),b=X.name("valid"),k=H.subschema({schema:j,dataTypes:[],schemaPath:U.nil,topSchemaRef:C,errSchemaPath:Z},b);H.mergeEvaluated(k),H.ok(b)}}};function G(H,X){let{gen:Z}=H;return X.validate?Z.scopeValue("validate",{ref:X.validate}):U._`${Z.scopeValue("wrapper",{ref:X})}.validate`}$.getValidate=G;function W(H,X,Z,q){let{gen:V,it:F}=H,{allErrors:M,schemaEnv:w,opts:O}=F,D=O.passContext?Q.default.this:U.nil;if(q)N();else A();function N(){if(!w.$async)throw Error("async schema referenced by sync schema");let j=V.let("valid");V.try(()=>{if(V.code(U._`await ${(0,z.callValidateCode)(H,X,D)}`),B(X),!M)V.assign(j,!0)},(C)=>{if(V.if(U._`!(${C} instanceof ${F.ValidationError})`,()=>V.throw(C)),T(C),!M)V.assign(j,!1)}),H.ok(j)}function A(){H.result((0,z.callValidateCode)(H,X,D),()=>B(X),()=>T(X))}function T(j){let C=U._`${j}.errors`;V.assign(Q.default.vErrors,U._`${Q.default.vErrors} === null ? ${C} : ${Q.default.vErrors}.concat(${C})`),V.assign(Q.default.errors,U._`${Q.default.vErrors}.length`)}function B(j){var C;if(!F.opts.unevaluated)return;let b=(C=Z===null||Z===void 0?void 0:Z.validate)===null||C===void 0?void 0:C.evaluated;if(F.props!==!0)if(b&&!b.dynamicProps){if(b.props!==void 0)F.props=I.mergeEvaluated.props(V,b.props,F.props)}else{let k=V.var("props",U._`${j}.evaluated.props`);F.props=I.mergeEvaluated.props(V,k,F.props,U.Name)}if(F.items!==!0)if(b&&!b.dynamicItems){if(b.items!==void 0)F.items=I.mergeEvaluated.items(V,b.items,F.items)}else{let k=V.var("items",U._`${j}.evaluated.items`);F.items=I.mergeEvaluated.items(V,k,F.items,U.Name)}}}$.callRef=W,$.default=K}),gt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Uu0(),z=sh(),U=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Y.default,z.default];$.default=U}),Qu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=Y.operators,U={maximum:{okStr:"<=",ok:z.LTE,fail:z.GT},minimum:{okStr:">=",ok:z.GTE,fail:z.LT},exclusiveMaximum:{okStr:"<",ok:z.LT,fail:z.GTE},exclusiveMinimum:{okStr:">",ok:z.GT,fail:z.LTE}},Q={keyword:Object.keys(U),type:"number",schemaType:"number",$data:!0,error:{message:({keyword:J,schemaCode:I})=>Y.str`must be ${U[J].okStr} ${I}`,params:({keyword:J,schemaCode:I})=>Y._`{comparison: ${U[J].okStr}, limit: ${I}}`},code(J){let{keyword:I,data:K,schemaCode:G}=J;J.fail$data(Y._`${K} ${U[I].fail} ${G} || isNaN(${K})`)}};$.default=Q}),Ju0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:U})=>Y.str`must be multiple of ${U}`,params:({schemaCode:U})=>Y._`{multipleOf: ${U}}`},code(U){let{gen:Q,data:J,schemaCode:I,it:K}=U,G=K.opts.multipleOfPrecision,W=Q.let("res"),H=G?Y._`Math.abs(Math.round(${W}) - ${W}) > 1e-${G}`:Y._`${W} !== parseInt(${W})`;U.fail$data(Y._`(${I} === 0 || (${W} = ${J}/${I}, ${H}))`)}};$.default=z}),Iu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});function Y(z){let U=z.length,Q=0,J=0,I;while(J=55296&&I<=56319&&J{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=Iu0(),Q={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:J,schemaCode:I}){let K=J==="maxLength"?"more":"fewer";return Y.str`must NOT have ${K} than ${I} characters`},params:({schemaCode:J})=>Y._`{limit: ${J}}`},code(J){let{keyword:I,data:K,schemaCode:G,it:W}=J,H=I==="maxLength"?Y.operators.GT:Y.operators.LT,X=W.opts.unicode===!1?Y._`${K}.length`:Y._`${(0,z.useFunc)(J.gen,U.default)}(${K})`;J.fail$data(Y._`${X} ${H} ${G}`)}};$.default=Q}),Gu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=v1(),U=L1(),Q={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:J})=>U.str`must match pattern "${J}"`,params:({schemaCode:J})=>U._`{pattern: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:W,schemaCode:H,it:X}=J,Z=X.opts.unicodeRegExp?"u":"";if(G){let{regExp:q}=X.opts.code,V=q.code==="new RegExp"?U._`new RegExp`:(0,z.useFunc)(I,q),F=I.let("valid");I.try(()=>I.assign(F,U._`${V}(${H}, ${Z}).test(${K})`),()=>I.assign(F,!1)),J.fail$data(U._`!${F}`)}else{let q=(0,Y.usePattern)(J,W);J.fail$data(U._`!${q}.test(${K})`)}}};$.default=Q}),Wu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:U,schemaCode:Q}){let J=U==="maxProperties"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} properties`},params:({schemaCode:U})=>Y._`{limit: ${U}}`},code(U){let{keyword:Q,data:J,schemaCode:I}=U,K=Q==="maxProperties"?Y.operators.GT:Y.operators.LT;U.fail$data(Y._`Object.keys(${J}).length ${K} ${I}`)}};$.default=z}),Hu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=L1(),U=v1(),Q={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:J}})=>z.str`must have required property '${J}'`,params:({params:{missingProperty:J}})=>z._`{missingProperty: ${J}}`},code(J){let{gen:I,schema:K,schemaCode:G,data:W,$data:H,it:X}=J,{opts:Z}=X;if(!H&&K.length===0)return;let q=K.length>=Z.loopRequired;if(X.allErrors)V();else F();if(Z.strictRequired){let O=J.parentSchema.properties,{definedProperties:D}=J.it;for(let N of K)if((O===null||O===void 0?void 0:O[N])===void 0&&!D.has(N)){let A=`required property "${N}" is not defined at "${X.schemaEnv.baseId+X.errSchemaPath}" (strictRequired)`;(0,U.checkStrictMode)(X,A,X.opts.strictRequired)}}function V(){if(q||H)J.block$data(z.nil,M);else for(let O of K)(0,Y.checkReportMissingProp)(J,O)}function F(){let O=I.let("missing");if(q||H){let D=I.let("valid",!0);J.block$data(D,()=>w(O,D)),J.ok(D)}else I.if((0,Y.checkMissingProp)(J,K,O)),(0,Y.reportMissingProp)(J,O),I.else()}function M(){I.forOf("prop",G,(O)=>{J.setParams({missingProperty:O}),I.if((0,Y.noPropertyInData)(I,W,O,Z.ownProperties),()=>J.error())})}function w(O,D){J.setParams({missingProperty:O}),I.forOf(O,G,()=>{I.assign(D,(0,Y.propertyInData)(I,W,O,Z.ownProperties)),I.if((0,z.not)(D),()=>{J.error(),I.break()})},z.nil)}}};$.default=Q}),Xu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:U,schemaCode:Q}){let J=U==="maxItems"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} items`},params:({schemaCode:U})=>Y._`{limit: ${U}}`},code(U){let{keyword:Q,data:J,schemaCode:I}=U,K=Q==="maxItems"?Y.operators.GT:Y.operators.LT;U.fail$data(Y._`${J}.length ${K} ${I}`)}};$.default=z}),ah=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=ht();Y.code='require("ajv/dist/runtime/equal").default',$.default=Y}),Zu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Aw(),z=L1(),U=v1(),Q=ah(),J={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:I,j:K}})=>z.str`must NOT have duplicate items (items ## ${K} and ${I} are identical)`,params:({params:{i:I,j:K}})=>z._`{i: ${I}, j: ${K}}`},code(I){let{gen:K,data:G,$data:W,schema:H,parentSchema:X,schemaCode:Z,it:q}=I;if(!W&&!H)return;let V=K.let("valid"),F=X.items?(0,Y.getSchemaTypes)(X.items):[];I.block$data(V,M,z._`${Z} === false`),I.ok(V);function M(){let N=K.let("i",z._`${G}.length`),A=K.let("j");I.setParams({i:N,j:A}),K.assign(V,!0),K.if(z._`${N} > 1`,()=>(w()?O:D)(N,A))}function w(){return F.length>0&&!F.some((N)=>N==="object"||N==="array")}function O(N,A){let T=K.name("item"),B=(0,Y.checkDataTypes)(F,T,q.opts.strictNumbers,Y.DataType.Wrong),j=K.const("indices",z._`{}`);K.for(z._`;${N}--;`,()=>{if(K.let(T,z._`${G}[${N}]`),K.if(B,z._`continue`),F.length>1)K.if(z._`typeof ${T} == "string"`,z._`${T} += "_"`);K.if(z._`typeof ${j}[${T}] == "number"`,()=>{K.assign(A,z._`${j}[${T}]`),I.error(),K.assign(V,!1).break()}).code(z._`${j}[${T}] = ${N}`)})}function D(N,A){let T=(0,U.useFunc)(K,Q.default),B=K.name("outer");K.label(B).for(z._`;${N}--;`,()=>K.for(z._`${A} = ${N}; ${A}--;`,()=>K.if(z._`${T}(${G}[${N}], ${G}[${A}])`,()=>{I.error(),K.assign(V,!1).break(B)})))}}};$.default=J}),qu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=ah(),Q={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:J})=>Y._`{allowedValue: ${J}}`},code(J){let{gen:I,data:K,$data:G,schemaCode:W,schema:H}=J;if(G||H&&typeof H=="object")J.fail$data(Y._`!${(0,z.useFunc)(I,U.default)}(${K}, ${W})`);else J.fail(Y._`${H} !== ${K}`)}};$.default=Q}),Vu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=ah(),Q={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:J})=>Y._`{allowedValues: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:W,schemaCode:H,it:X}=J;if(!G&&W.length===0)throw Error("enum must have non-empty array");let Z=W.length>=X.opts.loopEnum,q,V=()=>q!==null&&q!==void 0?q:q=(0,z.useFunc)(I,U.default),F;if(Z||G)F=I.let("valid"),J.block$data(F,M);else{if(!Array.isArray(W))throw Error("ajv implementation error");let O=I.const("vSchema",H);F=(0,Y.or)(...W.map((D,N)=>w(O,N)))}J.pass(F);function M(){I.assign(F,!1),I.forOf("v",H,(O)=>I.if(Y._`${V()}(${K}, ${O})`,()=>I.assign(F,!0).break()))}function w(O,D){let N=W[D];return typeof N==="object"&&N!==null?Y._`${V()}(${K}, ${O}[${D}])`:Y._`${K} === ${N}`}}};$.default=Q}),yt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Qu0(),z=Ju0(),U=Ku0(),Q=Gu0(),J=Wu0(),I=Hu0(),K=Xu0(),G=Zu0(),W=qu0(),H=Vu0(),X=[Y.default,z.default,U.default,Q.default,J.default,I.default,K.default,G.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},W.default,H.default];$.default=X}),kt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateAdditionalItems=void 0;let Y=L1(),z=v1(),U={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:J}})=>Y.str`must NOT have more than ${J} items`,params:({params:{len:J}})=>Y._`{limit: ${J}}`},code(J){let{parentSchema:I,it:K}=J,{items:G}=I;if(!Array.isArray(G)){(0,z.checkStrictMode)(K,'"additionalItems" is ignored when "items" is not an array of schemas');return}Q(J,G)}};function Q(J,I){let{gen:K,schema:G,data:W,keyword:H,it:X}=J;X.items=!0;let Z=K.const("len",Y._`${W}.length`);if(G===!1)J.setParams({len:I.length}),J.pass(Y._`${Z} <= ${I.length}`);else if(typeof G=="object"&&!(0,z.alwaysValidSchema)(X,G)){let V=K.var("valid",Y._`${Z} <= ${I.length}`);K.if((0,Y.not)(V),()=>q(V)),J.ok(V)}function q(V){K.forRange("i",I.length,Z,(F)=>{if(J.subschema({keyword:H,dataProp:F,dataPropType:z.Type.Num},V),!X.allErrors)K.if((0,Y.not)(V),()=>K.break())})}}$.validateAdditionalItems=Q,$.default=U}),xt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateTuple=void 0;let Y=L1(),z=v1(),U=Q5(),Q={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(I){let{schema:K,it:G}=I;if(Array.isArray(K))return J(I,"additionalItems",K);if(G.items=!0,(0,z.alwaysValidSchema)(G,K))return;I.ok((0,U.validateArray)(I))}};function J(I,K,G=I.schema){let{gen:W,parentSchema:H,data:X,keyword:Z,it:q}=I;if(M(H),q.opts.unevaluated&&G.length&&q.items!==!0)q.items=z.mergeEvaluated.items(W,G.length,q.items);let V=W.name("valid"),F=W.const("len",Y._`${X}.length`);G.forEach((w,O)=>{if((0,z.alwaysValidSchema)(q,w))return;W.if(Y._`${F} > ${O}`,()=>I.subschema({keyword:Z,schemaProp:O,dataProp:O},V)),I.ok(V)});function M(w){let{opts:O,errSchemaPath:D}=q,N=G.length,A=N===w.minItems&&(N===w.maxItems||w[K]===!1);if(O.strictTuples&&!A){let T=`"${Z}" is ${N}-tuple, but minItems or maxItems/${K} are not specified or different at path "${D}"`;(0,z.checkStrictMode)(q,T,O.strictTuples)}}}$.validateTuple=J,$.default=Q}),Lu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=xt(),z={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:(U)=>(0,Y.validateTuple)(U,"items")};$.default=z}),Fu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=Q5(),Q=kt(),J={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:I}})=>Y.str`must NOT have more than ${I} items`,params:({params:{len:I}})=>Y._`{limit: ${I}}`},code(I){let{schema:K,parentSchema:G,it:W}=I,{prefixItems:H}=G;if(W.items=!0,(0,z.alwaysValidSchema)(W,K))return;if(H)(0,Q.validateAdditionalItems)(I,H);else I.ok((0,U.validateArray)(I))}};$.default=J}),wu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:Q,max:J}})=>J===void 0?Y.str`must contain at least ${Q} valid item(s)`:Y.str`must contain at least ${Q} and no more than ${J} valid item(s)`,params:({params:{min:Q,max:J}})=>J===void 0?Y._`{minContains: ${Q}}`:Y._`{minContains: ${Q}, maxContains: ${J}}`},code(Q){let{gen:J,schema:I,parentSchema:K,data:G,it:W}=Q,H,X,{minContains:Z,maxContains:q}=K;if(W.opts.next)H=Z===void 0?1:Z,X=q;else H=1;let V=J.const("len",Y._`${G}.length`);if(Q.setParams({min:H,max:X}),X===void 0&&H===0){(0,z.checkStrictMode)(W,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(X!==void 0&&H>X){(0,z.checkStrictMode)(W,'"minContains" > "maxContains" is always invalid'),Q.fail();return}if((0,z.alwaysValidSchema)(W,I)){let D=Y._`${V} >= ${H}`;if(X!==void 0)D=Y._`${D} && ${V} <= ${X}`;Q.pass(D);return}W.items=!0;let F=J.name("valid");if(X===void 0&&H===1)w(F,()=>J.if(F,()=>J.break()));else if(H===0){if(J.let(F,!0),X!==void 0)J.if(Y._`${G}.length > 0`,M)}else J.let(F,!1),M();Q.result(F,()=>Q.reset());function M(){let D=J.name("_valid"),N=J.let("count",0);w(D,()=>J.if(D,()=>O(N)))}function w(D,N){J.forRange("i",0,V,(A)=>{Q.subschema({keyword:"contains",dataProp:A,dataPropType:z.Type.Num,compositeRule:!0},D),N()})}function O(D){if(J.code(Y._`${D}++`),X===void 0)J.if(Y._`${D} >= ${H}`,()=>J.assign(F,!0).break());else if(J.if(Y._`${D} > ${X}`,()=>J.assign(F,!1).break()),H===1)J.assign(F,!0);else J.if(Y._`${D} >= ${H}`,()=>J.assign(F,!0))}}};$.default=U}),th=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateSchemaDeps=$.validatePropertyDeps=$.error=void 0;let Y=L1(),z=v1(),U=Q5();$.error={message:({params:{property:G,depsCount:W,deps:H}})=>{let X=W===1?"property":"properties";return Y.str`must have ${X} ${H} when property ${G} is present`},params:({params:{property:G,depsCount:W,deps:H,missingProperty:X}})=>Y._`{property: ${G}, +*/nf0=R0(($)=>{var Y=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,z=/\\([\u000b\u0020-\u00ff])/g,U=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;$.parse=Q;function Q(K){if(!K)throw TypeError("argument string is required");var G=typeof K==="object"?J(K):K;if(typeof G!=="string")throw TypeError("argument string is required to be a string");var W=G.indexOf(";"),H=W!==-1?G.slice(0,W).trim():G.trim();if(!U.test(H))throw TypeError("invalid media type");var X=new I(H.toLowerCase());if(W!==-1){var Z,q,V;Y.lastIndex=W;while(q=Y.exec(G)){if(q.index!==W)throw TypeError("invalid parameter format");if(W+=q[0].length,Z=q[1].toLowerCase(),V=q[2],V.charCodeAt(0)===34){if(V=V.slice(1,-1),V.indexOf("\\")!==-1)V=V.replace(z,"$1")}X.parameters[Z]=V}if(W!==G.length)throw TypeError("invalid parameter format")}return X}function J(K){var G;if(typeof K.getHeader==="function")G=K.getHeader("content-type");else if(typeof K.headers==="object")G=K.headers&&K.headers["content-type"];if(typeof G!=="string")throw TypeError("content-type header is missing from object");return G}function I(K){this.parameters=Object.create(null),this.type=K}}),hx1=kq(nf0(),1);pf0=/^[A-Za-z0-9._-]{1,128}$/});function sh($){let Y=new $({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return Xb0(Y),Y}var Aw,Rt,L1,v1,U5,jw,sf0,_t,vt,Tw,af0,Q5,tf0,ef0,ht,$u0,Ew,hQ,XW,SQ,Cw,Yu0,St,zu0,Uu0,Qu0,ah,Ju0,th,gt,Iu0,Ku0,Gu0,Wu0,Hu0,Xu0,Zu0,qu0,eh,Vu0,Lu0,Fu0,yt,kt,xt,wu0,Mu0,Ou0,$S,Nu0,ft,Du0,Bu0,Pu0,Au0,Tu0,ju0,Eu0,Cu0,ut,Ru0,bt,it,ct,_u0,YS,vu0,nt,pt,dt,hu0,Su0,mt,gu0,yu0,ku0,lt,xu0,fu0,ot,uu0,bu0,iu0,cu0,nu0,pu0,du0,mu0,lu0,ou0,ru0,su0,au0,tu0,eu0,$b0,Yb0,zb0,Ub0,Qb0,Jb0,Ib0,Kb0,rt,Gb0,Wb0,Hb0,Xb0,Rw=class{_ajv;_ajvDraft7;_ajv2019;_userAjv;constructor($){this._userAjv=$!==void 0,this._ajv=$}get ajv(){return this._ajv??=sh(Wb0.Ajv2020)}_engineFor($){if(this._userAjv)return this.ajv;let Y=Eo($,"pass a pre-configured Ajv instance to AjvJsonSchemaValidator(ajv) to validate other dialects.");if(Y==="2020-12")return this.ajv;if(Y==="2019-09")return this._ajv2019??=sh(Gb0.Ajv2019);return this._ajvDraft7??=sh(rt.Ajv)}getValidator($){let Y=this._engineFor($),z="$id"in $&&typeof $.$id==="string"?Y.getSchema($.$id)??Y.compile($):Y.compile($);return(U)=>{return z(U)?{valid:!0,data:U,errorMessage:void 0}:{valid:!1,data:void 0,errorMessage:Y.errorsText(z.errors)}}}},px1;var st=o(()=>{bT();iT();Aw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.regexpCode=$.getEsmExportName=$.getProperty=$.safeStringify=$.stringify=$.strConcat=$.addCodeArg=$.str=$._=$.nil=$._Code=$.Name=$.IDENTIFIER=$._CodeOrName=void 0;var Y=class{};$._CodeOrName=Y,$.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var z=class extends Y{constructor(w){super();if(!$.IDENTIFIER.test(w))throw Error("CodeGen: name must be a valid identifier");this.str=w}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};$.Name=z;var U=class extends Y{constructor(w){super();this._items=typeof w==="string"?[w]:w}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let w=this._items[0];return w===""||w==='""'}get str(){var w;return(w=this._str)!==null&&w!==void 0?w:this._str=this._items.reduce((O,N)=>`${O}${N}`,"")}get names(){var w;return(w=this._names)!==null&&w!==void 0?w:this._names=this._items.reduce((O,N)=>{if(N instanceof z)O[N.str]=(O[N.str]||0)+1;return O},{})}};$._Code=U,$.nil=new U("");function Q(w,...O){let N=[w[0]],D=0;while(D{Object.defineProperty($,"__esModule",{value:!0}),$.ValueScope=$.ValueScopeName=$.Scope=$.varKinds=$.UsedValueState=void 0;let Y=Aw();var z=class extends Error{constructor(G){super(`CodeGen: "code" for ${G} not defined`);this.value=G.value}},U;(function(G){G[G.Started=0]="Started",G[G.Completed=1]="Completed"})(U||($.UsedValueState=U={})),$.varKinds={const:new Y.Name("const"),let:new Y.Name("let"),var:new Y.Name("var")};var Q=class{constructor({prefixes:G,parent:W}={}){this._names={},this._prefixes=G,this._parent=W}toName(G){return G instanceof Y.Name?G:this.name(G)}name(G){return new Y.Name(this._newName(G))}_newName(G){let W=this._names[G]||this._nameGroup(G);return`${G}${W.index++}`}_nameGroup(G){var W,H;if(((H=(W=this._parent)===null||W===void 0?void 0:W._prefixes)===null||H===void 0?void 0:H.has(G))||this._prefixes&&!this._prefixes.has(G))throw Error(`CodeGen: prefix "${G}" is not allowed in this scope`);return this._names[G]={prefix:G,index:0}}};$.Scope=Q;var J=class extends Y.Name{constructor(G,W){super(W);this.prefix=G}setValue(G,{property:W,itemIndex:H}){this.value=G,this.scopePath=Y._`.${new Y.Name(W)}[${H}]`}};$.ValueScopeName=J;let I=Y._`\n`;var K=class extends Q{constructor(G){super(G);this._values={},this._scope=G.scope,this.opts={...G,_n:G.lines?I:Y.nil}}get(){return this._scope}name(G){return new J(G,this._newName(G))}value(G,W){var H;if(W.ref===void 0)throw Error("CodeGen: ref must be passed in value");let X=this.toName(G),{prefix:Z}=X,q=(H=W.key)!==null&&H!==void 0?H:W.ref,V=this._values[Z];if(V){let w=V.get(q);if(w)return w}else V=this._values[Z]=new Map;V.set(q,X);let F=this._scope[Z]||(this._scope[Z]=[]),M=F.length;return F[M]=W.ref,X.setValue(W,{property:Z,itemIndex:M}),X}getValue(G,W){let H=this._values[G];if(!H)return;return H.get(W)}scopeRefs(G,W=this._values){return this._reduceValues(W,(H)=>{if(H.scopePath===void 0)throw Error(`CodeGen: name "${H}" has no value`);return Y._`${G}${H.scopePath}`})}scopeCode(G=this._values,W,H){return this._reduceValues(G,(X)=>{if(X.value===void 0)throw Error(`CodeGen: name "${X}" has no value`);return X.value.code},W,H)}_reduceValues(G,W,H={},X){let Z=Y.nil;for(let q in G){let V=G[q];if(!V)continue;let F=H[q]=H[q]||new Map;V.forEach((M)=>{if(F.has(M))return;F.set(M,U.Started);let w=W(M);if(w){let O=this.opts.es5?$.varKinds.var:$.varKinds.const;Z=Y._`${Z}${O} ${M} = ${w};${this.opts._n}`}else if(w=X===null||X===void 0?void 0:X(M))Z=Y._`${Z}${w}${this.opts._n}`;else throw new z(M);F.set(M,U.Completed)})}return Z}};$.ValueScope=K}),L1=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.or=$.and=$.not=$.CodeGen=$.operators=$.varKinds=$.ValueScopeName=$.ValueScope=$.Scope=$.Name=$.regexpCode=$.stringify=$.getProperty=$.nil=$.strConcat=$.str=$._=void 0;let Y=Aw(),z=Rt();var U=Aw();Object.defineProperty($,"_",{enumerable:!0,get:function(){return U._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return U.str}}),Object.defineProperty($,"strConcat",{enumerable:!0,get:function(){return U.strConcat}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return U.nil}}),Object.defineProperty($,"getProperty",{enumerable:!0,get:function(){return U.getProperty}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return U.stringify}}),Object.defineProperty($,"regexpCode",{enumerable:!0,get:function(){return U.regexpCode}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return U.Name}});var Q=Rt();Object.defineProperty($,"Scope",{enumerable:!0,get:function(){return Q.Scope}}),Object.defineProperty($,"ValueScope",{enumerable:!0,get:function(){return Q.ValueScope}}),Object.defineProperty($,"ValueScopeName",{enumerable:!0,get:function(){return Q.ValueScopeName}}),Object.defineProperty($,"varKinds",{enumerable:!0,get:function(){return Q.varKinds}}),$.operators={GT:new Y._Code(">"),GTE:new Y._Code(">="),LT:new Y._Code("<"),LTE:new Y._Code("<="),EQ:new Y._Code("==="),NEQ:new Y._Code("!=="),NOT:new Y._Code("!"),OR:new Y._Code("||"),AND:new Y._Code("&&"),ADD:new Y._Code("+")};var J=class{optimizeNodes(){return this}optimizeNames(y,s){return this}},I=class extends J{constructor(y,s,Y0){super();this.varKind=y,this.name=s,this.rhs=Y0}render({es5:y,_n:s}){let Y0=y?z.varKinds.var:this.varKind,M0=this.rhs===void 0?"":` = ${this.rhs}`;return`${Y0} ${this.name}${M0};`+s}optimizeNames(y,s){if(!y[this.name.str])return;if(this.rhs)this.rhs=c(this.rhs,y,s);return this}get names(){return this.rhs instanceof Y._CodeOrName?this.rhs.names:{}}},K=class extends J{constructor(y,s,Y0){super();this.lhs=y,this.rhs=s,this.sideEffects=Y0}render({_n:y}){return`${this.lhs} = ${this.rhs};`+y}optimizeNames(y,s){if(this.lhs instanceof Y.Name&&!y[this.lhs.str]&&!this.sideEffects)return;return this.rhs=c(this.rhs,y,s),this}get names(){return i(this.lhs instanceof Y.Name?{}:{...this.lhs.names},this.rhs)}},G=class extends K{constructor(y,s,Y0,M0){super(y,Y0,M0);this.op=s}render({_n:y}){return`${this.lhs} ${this.op}= ${this.rhs};`+y}},W=class extends J{constructor(y){super();this.label=y,this.names={}}render({_n:y}){return`${this.label}:`+y}},H=class extends J{constructor(y){super();this.label=y,this.names={}}render({_n:y}){return`break${this.label?` ${this.label}`:""};`+y}},X=class extends J{constructor(y){super();this.error=y}render({_n:y}){return`throw ${this.error};`+y}get names(){return this.error.names}},Z=class extends J{constructor(y){super();this.code=y}render({_n:y}){return`${this.code};`+y}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(y,s){return this.code=c(this.code,y,s),this}get names(){return this.code instanceof Y._CodeOrName?this.code.names:{}}},q=class extends J{constructor(y=[]){super();this.nodes=y}render(y){return this.nodes.reduce((s,Y0)=>s+Y0.render(y),"")}optimizeNodes(){let{nodes:y}=this,s=y.length;while(s--){let Y0=y[s].optimizeNodes();if(Array.isArray(Y0))y.splice(s,1,...Y0);else if(Y0)y[s]=Y0;else y.splice(s,1)}return y.length>0?this:void 0}optimizeNames(y,s){let{nodes:Y0}=this,M0=Y0.length;while(M0--){let E0=Y0[M0];if(E0.optimizeNames(y,s))continue;U0(y,E0.names),Y0.splice(M0,1)}return Y0.length>0?this:void 0}get names(){return this.nodes.reduce((y,s)=>h(y,s.names),{})}},V=class extends q{render(y){return"{"+y._n+super.render(y)+"}"+y._n}},F=class extends q{},M=class extends V{};M.kind="else";var w=class y extends V{constructor(s,Y0){super(Y0);this.condition=s}render(s){let Y0=`if(${this.condition})`+super.render(s);if(this.else)Y0+="else "+this.else.render(s);return Y0}optimizeNodes(){super.optimizeNodes();let s=this.condition;if(s===!0)return this.nodes;let Y0=this.else;if(Y0){let M0=Y0.optimizeNodes();Y0=this.else=Array.isArray(M0)?new M(M0):M0}if(Y0){if(s===!1)return Y0 instanceof y?Y0:Y0.nodes;if(this.nodes.length)return this;return new y(x(s),Y0 instanceof y?[Y0]:Y0.nodes)}if(s===!1||!this.nodes.length)return;return this}optimizeNames(s,Y0){var M0;if(this.else=(M0=this.else)===null||M0===void 0?void 0:M0.optimizeNames(s,Y0),!(super.optimizeNames(s,Y0)||this.else))return;return this.condition=c(this.condition,s,Y0),this}get names(){let s=super.names;if(i(s,this.condition),this.else)h(s,this.else.names);return s}};w.kind="if";var O=class extends V{};O.kind="for";var N=class extends O{constructor(y){super();this.iteration=y}render(y){return`for(${this.iteration})`+super.render(y)}optimizeNames(y,s){if(!super.optimizeNames(y,s))return;return this.iteration=c(this.iteration,y,s),this}get names(){return h(super.names,this.iteration.names)}},D=class extends O{constructor(y,s,Y0,M0){super();this.varKind=y,this.name=s,this.from=Y0,this.to=M0}render(y){let s=y.es5?z.varKinds.var:this.varKind,{name:Y0,from:M0,to:E0}=this;return`for(${s} ${Y0}=${M0}; ${Y0}<${E0}; ${Y0}++)`+super.render(y)}get names(){return i(i(super.names,this.from),this.to)}},T=class extends O{constructor(y,s,Y0,M0){super();this.loop=y,this.varKind=s,this.name=Y0,this.iterable=M0}render(y){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(y)}optimizeNames(y,s){if(!super.optimizeNames(y,s))return;return this.iterable=c(this.iterable,y,s),this}get names(){return h(super.names,this.iterable.names)}},A=class extends V{constructor(y,s,Y0){super();this.name=y,this.args=s,this.async=Y0}render(y){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(y)}};A.kind="func";var B=class extends q{render(y){return"return "+super.render(y)}};B.kind="return";var j=class extends V{render(y){let s="try"+super.render(y);if(this.catch)s+=this.catch.render(y);if(this.finally)s+=this.finally.render(y);return s}optimizeNodes(){var y,s;return super.optimizeNodes(),(y=this.catch)===null||y===void 0||y.optimizeNodes(),(s=this.finally)===null||s===void 0||s.optimizeNodes(),this}optimizeNames(y,s){var Y0,M0;return super.optimizeNames(y,s),(Y0=this.catch)===null||Y0===void 0||Y0.optimizeNames(y,s),(M0=this.finally)===null||M0===void 0||M0.optimizeNames(y,s),this}get names(){let y=super.names;if(this.catch)h(y,this.catch.names);if(this.finally)h(y,this.finally.names);return y}},C=class extends V{constructor(y){super();this.error=y}render(y){return`catch(${this.error})`+super.render(y)}};C.kind="catch";var b=class extends V{render(y){return"finally"+super.render(y)}};b.kind="finally";var k=class{constructor(y,s={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...s,_n:s.lines?` +`:""},this._extScope=y,this._scope=new z.Scope({parent:y}),this._nodes=[new F]}toString(){return this._root.render(this.opts)}name(y){return this._scope.name(y)}scopeName(y){return this._extScope.name(y)}scopeValue(y,s){let Y0=this._extScope.value(y,s);return(this._values[Y0.prefix]||(this._values[Y0.prefix]=new Set)).add(Y0),Y0}getScopeValue(y,s){return this._extScope.getValue(y,s)}scopeRefs(y){return this._extScope.scopeRefs(y,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(y,s,Y0,M0){let E0=this._scope.toName(s);if(Y0!==void 0&&M0)this._constants[E0.str]=Y0;return this._leafNode(new I(y,E0,Y0)),E0}const(y,s,Y0){return this._def(z.varKinds.const,y,s,Y0)}let(y,s,Y0){return this._def(z.varKinds.let,y,s,Y0)}var(y,s,Y0){return this._def(z.varKinds.var,y,s,Y0)}assign(y,s,Y0){return this._leafNode(new K(y,s,Y0))}add(y,s){return this._leafNode(new G(y,$.operators.ADD,s))}code(y){if(typeof y=="function")y();else if(y!==Y.nil)this._leafNode(new Z(y));return this}object(...y){let s=["{"];for(let[Y0,M0]of y){if(s.length>1)s.push(",");if(s.push(Y0),Y0!==M0||this.opts.es5)s.push(":"),(0,Y.addCodeArg)(s,M0)}return s.push("}"),new Y._Code(s)}if(y,s,Y0){if(this._blockNode(new w(y)),s&&Y0)this.code(s).else().code(Y0).endIf();else if(s)this.code(s).endIf();else if(Y0)throw Error('CodeGen: "else" body without "then" body');return this}elseIf(y){return this._elseNode(new w(y))}else(){return this._elseNode(new M)}endIf(){return this._endBlockNode(w,M)}_for(y,s){if(this._blockNode(y),s)this.code(s).endFor();return this}for(y,s){return this._for(new N(y),s)}forRange(y,s,Y0,M0,E0=this.opts.es5?z.varKinds.var:z.varKinds.let){let G0=this._scope.toName(y);return this._for(new D(E0,G0,s,Y0),()=>M0(G0))}forOf(y,s,Y0,M0=z.varKinds.const){let E0=this._scope.toName(y);if(this.opts.es5){let G0=s instanceof Y.Name?s:this.var("_arr",s);return this.forRange("_i",0,Y._`${G0}.length`,(T0)=>{this.var(E0,Y._`${G0}[${T0}]`),Y0(E0)})}return this._for(new T("of",M0,E0,s),()=>Y0(E0))}forIn(y,s,Y0,M0=this.opts.es5?z.varKinds.var:z.varKinds.const){if(this.opts.ownProperties)return this.forOf(y,Y._`Object.keys(${s})`,Y0);let E0=this._scope.toName(y);return this._for(new T("in",M0,E0,s),()=>Y0(E0))}endFor(){return this._endBlockNode(O)}label(y){return this._leafNode(new W(y))}break(y){return this._leafNode(new H(y))}return(y){let s=new B;if(this._blockNode(s),this.code(y),s.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(B)}try(y,s,Y0){if(!s&&!Y0)throw Error('CodeGen: "try" without "catch" and "finally"');let M0=new j;if(this._blockNode(M0),this.code(y),s){let E0=this.name("e");this._currNode=M0.catch=new C(E0),s(E0)}if(Y0)this._currNode=M0.finally=new b,this.code(Y0);return this._endBlockNode(C,b)}throw(y){return this._leafNode(new X(y))}block(y,s){if(this._blockStarts.push(this._nodes.length),y)this.code(y).endBlock(s);return this}endBlock(y){let s=this._blockStarts.pop();if(s===void 0)throw Error("CodeGen: not in self-balancing block");let Y0=this._nodes.length-s;if(Y0<0||y!==void 0&&Y0!==y)throw Error(`CodeGen: wrong number of nodes: ${Y0} vs ${y} expected`);return this._nodes.length=s,this}func(y,s=Y.nil,Y0,M0){if(this._blockNode(new A(y,s,Y0)),M0)this.code(M0).endFunc();return this}endFunc(){return this._endBlockNode(A)}optimize(y=1){while(y-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(y){return this._currNode.nodes.push(y),this}_blockNode(y){this._currNode.nodes.push(y),this._nodes.push(y)}_endBlockNode(y,s){let Y0=this._currNode;if(Y0 instanceof y||s&&Y0 instanceof s)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${s?`${y.kind}/${s.kind}`:y.kind}"`)}_elseNode(y){let s=this._currNode;if(!(s instanceof w))throw Error('CodeGen: "else" without "if"');return this._currNode=s.else=y,this}get _root(){return this._nodes[0]}get _currNode(){let y=this._nodes;return y[y.length-1]}set _currNode(y){let s=this._nodes;s[s.length-1]=y}};$.CodeGen=k;function h(y,s){for(let Y0 in s)y[Y0]=(y[Y0]||0)+(s[Y0]||0);return y}function i(y,s){return s instanceof Y._CodeOrName?h(y,s.names):y}function c(y,s,Y0){if(y instanceof Y.Name)return M0(y);if(!E0(y))return y;return new Y._Code(y._items.reduce((G0,T0)=>{if(T0 instanceof Y.Name)T0=M0(T0);if(T0 instanceof Y._Code)G0.push(...T0._items);else G0.push(T0);return G0},[]));function M0(G0){let T0=Y0[G0.str];if(T0===void 0||s[G0.str]!==1)return G0;return delete s[G0.str],T0}function E0(G0){return G0 instanceof Y._Code&&G0._items.some((T0)=>T0 instanceof Y.Name&&s[T0.str]===1&&Y0[T0.str]!==void 0)}}function U0(y,s){for(let Y0 in s)y[Y0]=(y[Y0]||0)-(s[Y0]||0)}function x(y){return typeof y=="boolean"||typeof y=="number"||y===null?!y:Y._`!${e(y)}`}$.not=x;let d=p($.operators.AND);function t(...y){return y.reduce(d)}$.and=t;let $0=p($.operators.OR);function g(...y){return y.reduce($0)}$.or=g;function p(y){return(s,Y0)=>s===Y.nil?Y0:Y0===Y.nil?s:Y._`${e(s)} ${y} ${e(Y0)}`}function e(y){return y instanceof Y.Name?y:Y._`(${y})`}}),v1=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.checkStrictMode=$.getErrorPath=$.Type=$.useFunc=$.setEvaluated=$.evaluatedPropsToName=$.mergeEvaluated=$.eachItem=$.unescapeJsonPointer=$.escapeJsonPointer=$.escapeFragment=$.unescapeFragment=$.schemaRefOrVal=$.schemaHasRulesButRef=$.schemaHasRules=$.checkUnknownRules=$.alwaysValidSchema=$.toHash=void 0;let Y=L1(),z=Aw();function U(A){let B={};for(let j of A)B[j]=!0;return B}$.toHash=U;function Q(A,B){if(typeof B=="boolean")return B;if(Object.keys(B).length===0)return!0;return J(A,B),!I(B,A.self.RULES.all)}$.alwaysValidSchema=Q;function J(A,B=A.schema){let{opts:j,self:C}=A;if(!j.strictSchema)return;if(typeof B==="boolean")return;let b=C.RULES.keywords;for(let k in B)if(!b[k])T(A,`unknown keyword: "${k}"`)}$.checkUnknownRules=J;function I(A,B){if(typeof A=="boolean")return!A;for(let j in A)if(B[j])return!0;return!1}$.schemaHasRules=I;function K(A,B){if(typeof A=="boolean")return!A;for(let j in A)if(j!=="$ref"&&B.all[j])return!0;return!1}$.schemaHasRulesButRef=K;function G({topSchemaRef:A,schemaPath:B},j,C,b){if(!b){if(typeof j=="number"||typeof j=="boolean")return j;if(typeof j=="string")return Y._`${j}`}return Y._`${A}${B}${(0,Y.getProperty)(C)}`}$.schemaRefOrVal=G;function W(A){return Z(decodeURIComponent(A))}$.unescapeFragment=W;function H(A){return encodeURIComponent(X(A))}$.escapeFragment=H;function X(A){if(typeof A=="number")return`${A}`;return A.replace(/~/g,"~0").replace(/\//g,"~1")}$.escapeJsonPointer=X;function Z(A){return A.replace(/~1/g,"/").replace(/~0/g,"~")}$.unescapeJsonPointer=Z;function q(A,B){if(Array.isArray(A))for(let j of A)B(j);else B(A)}$.eachItem=q;function V({mergeNames:A,mergeToName:B,mergeValues:j,resultToName:C}){return(b,k,h,i)=>{let c=h===void 0?k:h instanceof Y.Name?(k instanceof Y.Name?A(b,k,h):B(b,k,h),h):k instanceof Y.Name?(B(b,h,k),k):j(k,h);return i===Y.Name&&!(c instanceof Y.Name)?C(b,c):c}}$.mergeEvaluated={props:V({mergeNames:(A,B,j)=>A.if(Y._`${j} !== true && ${B} !== undefined`,()=>{A.if(Y._`${B} === true`,()=>A.assign(j,!0),()=>A.assign(j,Y._`${j} || {}`).code(Y._`Object.assign(${j}, ${B})`))}),mergeToName:(A,B,j)=>A.if(Y._`${j} !== true`,()=>{if(B===!0)A.assign(j,!0);else A.assign(j,Y._`${j} || {}`),M(A,j,B)}),mergeValues:(A,B)=>A===!0?!0:{...A,...B},resultToName:F}),items:V({mergeNames:(A,B,j)=>A.if(Y._`${j} !== true && ${B} !== undefined`,()=>A.assign(j,Y._`${B} === true ? true : ${j} > ${B} ? ${j} : ${B}`)),mergeToName:(A,B,j)=>A.if(Y._`${j} !== true`,()=>A.assign(j,B===!0?!0:Y._`${j} > ${B} ? ${j} : ${B}`)),mergeValues:(A,B)=>A===!0?!0:Math.max(A,B),resultToName:(A,B)=>A.var("items",B)})};function F(A,B){if(B===!0)return A.var("props",!0);let j=A.var("props",Y._`{}`);if(B!==void 0)M(A,j,B);return j}$.evaluatedPropsToName=F;function M(A,B,j){Object.keys(j).forEach((C)=>A.assign(Y._`${B}${(0,Y.getProperty)(C)}`,!0))}$.setEvaluated=M;let w={};function O(A,B){return A.scopeValue("func",{ref:B,code:w[B.code]||(w[B.code]=new z._Code(B.code))})}$.useFunc=O;var N;(function(A){A[A.Num=0]="Num",A[A.Str=1]="Str"})(N||($.Type=N={}));function D(A,B,j){if(A instanceof Y.Name){let C=B===N.Num;return j?C?Y._`"[" + ${A} + "]"`:Y._`"['" + ${A} + "']"`:C?Y._`"/" + ${A}`:Y._`"/" + ${A}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return j?(0,Y.getProperty)(A).toString():"/"+X(A)}$.getErrorPath=D;function T(A,B,j=A.opts.strictSchema){if(!j)return;if(B=`strict mode: ${B}`,j===!0)throw Error(B);A.self.logger.warn(B)}$.checkStrictMode=T}),U5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={data:new Y.Name("data"),valCxt:new Y.Name("valCxt"),instancePath:new Y.Name("instancePath"),parentData:new Y.Name("parentData"),parentDataProperty:new Y.Name("parentDataProperty"),rootData:new Y.Name("rootData"),dynamicAnchors:new Y.Name("dynamicAnchors"),vErrors:new Y.Name("vErrors"),errors:new Y.Name("errors"),this:new Y.Name("this"),self:new Y.Name("self"),scope:new Y.Name("scope"),json:new Y.Name("json"),jsonPos:new Y.Name("jsonPos"),jsonLen:new Y.Name("jsonLen"),jsonPart:new Y.Name("jsonPart")};$.default=z}),jw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendErrors=$.resetErrorsCount=$.reportExtraError=$.reportError=$.keyword$DataError=$.keywordError=void 0;let Y=L1(),z=v1(),U=U5();$.keywordError={message:({keyword:M})=>Y.str`must pass "${M}" keyword validation`},$.keyword$DataError={message:({keyword:M,schemaType:w})=>w?Y.str`"${M}" keyword must be ${w} ($data)`:Y.str`"${M}" keyword is invalid ($data)`};function Q(M,w=$.keywordError,O,N){let{it:D}=M,{gen:T,compositeRule:A,allErrors:B}=D,j=X(M,w,O);if(N!==null&&N!==void 0?N:A||B)G(T,j);else W(D,Y._`[${j}]`)}$.reportError=Q;function J(M,w=$.keywordError,O){let{it:N}=M,{gen:D,compositeRule:T,allErrors:A}=N;if(G(D,X(M,w,O)),!(T||A))W(N,U.default.vErrors)}$.reportExtraError=J;function I(M,w){M.assign(U.default.errors,w),M.if(Y._`${U.default.vErrors} !== null`,()=>M.if(w,()=>M.assign(Y._`${U.default.vErrors}.length`,w),()=>M.assign(U.default.vErrors,null)))}$.resetErrorsCount=I;function K({gen:M,keyword:w,schemaValue:O,data:N,errsCount:D,it:T}){if(D===void 0)throw Error("ajv implementation error");let A=M.name("err");M.forRange("i",D,U.default.errors,(B)=>{if(M.const(A,Y._`${U.default.vErrors}[${B}]`),M.if(Y._`${A}.instancePath === undefined`,()=>M.assign(Y._`${A}.instancePath`,(0,Y.strConcat)(U.default.instancePath,T.errorPath))),M.assign(Y._`${A}.schemaPath`,Y.str`${T.errSchemaPath}/${w}`),T.opts.verbose)M.assign(Y._`${A}.schema`,O),M.assign(Y._`${A}.data`,N)})}$.extendErrors=K;function G(M,w){let O=M.const("err",w);M.if(Y._`${U.default.vErrors} === null`,()=>M.assign(U.default.vErrors,Y._`[${O}]`),Y._`${U.default.vErrors}.push(${O})`),M.code(Y._`${U.default.errors}++`)}function W(M,w){let{gen:O,validateName:N,schemaEnv:D}=M;if(D.$async)O.throw(Y._`new ${M.ValidationError}(${w})`);else O.assign(Y._`${N}.errors`,w),O.return(!1)}let H={keyword:new Y.Name("keyword"),schemaPath:new Y.Name("schemaPath"),params:new Y.Name("params"),propertyName:new Y.Name("propertyName"),message:new Y.Name("message"),schema:new Y.Name("schema"),parentSchema:new Y.Name("parentSchema")};function X(M,w,O){let{createErrors:N}=M.it;if(N===!1)return Y._`{}`;return Z(M,w,O)}function Z(M,w,O={}){let{gen:N,it:D}=M,T=[q(D,O),V(M,O)];return F(M,w,T),N.object(...T)}function q({errorPath:M},{instancePath:w}){let O=w?Y.str`${M}${(0,z.getErrorPath)(w,z.Type.Str)}`:M;return[U.default.instancePath,(0,Y.strConcat)(U.default.instancePath,O)]}function V({keyword:M,it:{errSchemaPath:w}},{schemaPath:O,parentSchema:N}){let D=N?w:Y.str`${w}/${M}`;if(O)D=Y.str`${D}${(0,z.getErrorPath)(O,z.Type.Str)}`;return[H.schemaPath,D]}function F(M,{params:w,message:O},N){let{keyword:D,data:T,schemaValue:A,it:B}=M,{opts:j,propertyName:C,topSchemaRef:b,schemaPath:k}=B;if(N.push([H.keyword,D],[H.params,typeof w=="function"?w(M):w||Y._`{}`]),j.messages)N.push([H.message,typeof O=="function"?O(M):O]);if(j.verbose)N.push([H.schema,A],[H.parentSchema,Y._`${b}${k}`],[U.default.data,T]);if(C)N.push([H.propertyName,C])}}),sf0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.boolOrEmptySchema=$.topBoolOrEmptySchema=void 0;let Y=jw(),z=L1(),U=U5(),Q={message:"boolean schema is false"};function J(G){let{gen:W,schema:H,validateName:X}=G;if(H===!1)K(G,!1);else if(typeof H=="object"&&H.$async===!0)W.return(U.default.data);else W.assign(z._`${X}.errors`,null),W.return(!0)}$.topBoolOrEmptySchema=J;function I(G,W){let{gen:H,schema:X}=G;if(X===!1)H.var(W,!1),K(G);else H.var(W,!0)}$.boolOrEmptySchema=I;function K(G,W){let{gen:H,data:X}=G,Z={gen:H,keyword:"false schema",data:X,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:G};(0,Y.reportError)(Z,Q,void 0,W)}}),_t=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getRules=$.isJSONType=void 0;let Y=new Set(["string","number","integer","boolean","null","object","array"]);function z(Q){return typeof Q=="string"&&Y.has(Q)}$.isJSONType=z;function U(){let Q={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...Q,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},Q.number,Q.string,Q.array,Q.object],post:{rules:[]},all:{},keywords:{}}}$.getRules=U}),vt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.shouldUseRule=$.shouldUseGroup=$.schemaHasRulesForType=void 0;function Y({schema:Q,self:J},I){let K=J.RULES.types[I];return K&&K!==!0&&z(Q,K)}$.schemaHasRulesForType=Y;function z(Q,J){return J.rules.some((I)=>U(Q,I))}$.shouldUseGroup=z;function U(Q,J){var I;return Q[J.keyword]!==void 0||((I=J.definition.implements)===null||I===void 0?void 0:I.some((K)=>Q[K]!==void 0))}$.shouldUseRule=U}),Tw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.reportTypeError=$.checkDataTypes=$.checkDataType=$.coerceAndCheckDataType=$.getJSONTypes=$.getSchemaTypes=$.DataType=void 0;let Y=_t(),z=vt(),U=jw(),Q=L1(),J=v1();var I;(function(N){N[N.Correct=0]="Correct",N[N.Wrong=1]="Wrong"})(I||($.DataType=I={}));function K(N){let D=G(N.type);if(D.includes("null")){if(N.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!D.length&&N.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if(N.nullable===!0)D.push("null")}return D}$.getSchemaTypes=K;function G(N){let D=Array.isArray(N)?N:N?[N]:[];if(D.every(Y.isJSONType))return D;throw Error("type must be JSONType or JSONType[]: "+D.join(","))}$.getJSONTypes=G;function W(N,D){let{gen:T,data:A,opts:B}=N,j=X(D,B.coerceTypes),C=D.length>0&&!(j.length===0&&D.length===1&&(0,z.schemaHasRulesForType)(N,D[0]));if(C){let b=F(D,A,B.strictNumbers,I.Wrong);T.if(b,()=>{if(j.length)Z(N,D,j);else w(N)})}return C}$.coerceAndCheckDataType=W;let H=new Set(["string","number","integer","boolean","null"]);function X(N,D){return D?N.filter((T)=>H.has(T)||D==="array"&&T==="array"):[]}function Z(N,D,T){let{gen:A,data:B,opts:j}=N,C=A.let("dataType",Q._`typeof ${B}`),b=A.let("coerced",Q._`undefined`);if(j.coerceTypes==="array")A.if(Q._`${C} == 'object' && Array.isArray(${B}) && ${B}.length == 1`,()=>A.assign(B,Q._`${B}[0]`).assign(C,Q._`typeof ${B}`).if(F(D,B,j.strictNumbers),()=>A.assign(b,B)));A.if(Q._`${b} !== undefined`);for(let h of T)if(H.has(h)||h==="array"&&j.coerceTypes==="array")k(h);A.else(),w(N),A.endIf(),A.if(Q._`${b} !== undefined`,()=>{A.assign(B,b),q(N,b)});function k(h){switch(h){case"string":A.elseIf(Q._`${C} == "number" || ${C} == "boolean"`).assign(b,Q._`"" + ${B}`).elseIf(Q._`${B} === null`).assign(b,Q._`""`);return;case"number":A.elseIf(Q._`${C} == "boolean" || ${B} === null + || (${C} == "string" && ${B} && ${B} == +${B})`).assign(b,Q._`+${B}`);return;case"integer":A.elseIf(Q._`${C} === "boolean" || ${B} === null + || (${C} === "string" && ${B} && ${B} == +${B} && !(${B} % 1))`).assign(b,Q._`+${B}`);return;case"boolean":A.elseIf(Q._`${B} === "false" || ${B} === 0 || ${B} === null`).assign(b,!1).elseIf(Q._`${B} === "true" || ${B} === 1`).assign(b,!0);return;case"null":A.elseIf(Q._`${B} === "" || ${B} === 0 || ${B} === false`),A.assign(b,null);return;case"array":A.elseIf(Q._`${C} === "string" || ${C} === "number" + || ${C} === "boolean" || ${B} === null`).assign(b,Q._`[${B}]`)}}}function q({gen:N,parentData:D,parentDataProperty:T},A){N.if(Q._`${D} !== undefined`,()=>N.assign(Q._`${D}[${T}]`,A))}function V(N,D,T,A=I.Correct){let B=A===I.Correct?Q.operators.EQ:Q.operators.NEQ,j;switch(N){case"null":return Q._`${D} ${B} null`;case"array":j=Q._`Array.isArray(${D})`;break;case"object":j=Q._`${D} && typeof ${D} == "object" && !Array.isArray(${D})`;break;case"integer":j=C(Q._`!(${D} % 1) && !isNaN(${D})`);break;case"number":j=C();break;default:return Q._`typeof ${D} ${B} ${N}`}return A===I.Correct?j:(0,Q.not)(j);function C(b=Q.nil){return(0,Q.and)(Q._`typeof ${D} == "number"`,b,T?Q._`isFinite(${D})`:Q.nil)}}$.checkDataType=V;function F(N,D,T,A){if(N.length===1)return V(N[0],D,T,A);let B,j=(0,J.toHash)(N);if(j.array&&j.object){let C=Q._`typeof ${D} != "object"`;B=j.null?C:Q._`!${D} || ${C}`,delete j.null,delete j.array,delete j.object}else B=Q.nil;if(j.number)delete j.integer;for(let C in j)B=(0,Q.and)(B,V(C,D,T,A));return B}$.checkDataTypes=F;let M={message:({schema:N})=>`must be ${N}`,params:({schema:N,schemaValue:D})=>typeof N=="string"?Q._`{type: ${N}}`:Q._`{type: ${D}}`};function w(N){let D=O(N);(0,U.reportError)(D,M)}$.reportTypeError=w;function O(N){let{gen:D,data:T,schema:A}=N,B=(0,J.schemaRefOrVal)(N,A,"type");return{gen:D,keyword:"type",data:T,schema:A.type,schemaCode:B,schemaValue:B,parentSchema:A,params:{},it:N}}}),af0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.assignDefaults=void 0;let Y=L1(),z=v1();function U(J,I){let{properties:K,items:G}=J.schema;if(I==="object"&&K)for(let W in K)Q(J,W,K[W].default);else if(I==="array"&&Array.isArray(G))G.forEach((W,H)=>Q(J,H,W.default))}$.assignDefaults=U;function Q(J,I,K){let{gen:G,compositeRule:W,data:H,opts:X}=J;if(K===void 0)return;let Z=Y._`${H}${(0,Y.getProperty)(I)}`;if(W){(0,z.checkStrictMode)(J,`default is ignored for: ${Z}`);return}let q=Y._`${Z} === undefined`;if(X.useDefaults==="empty")q=Y._`${q} || ${Z} === null || ${Z} === ""`;G.if(q,Y._`${Z} = ${(0,Y.stringify)(K)}`)}}),Q5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateUnion=$.validateArray=$.usePattern=$.callValidateCode=$.schemaProperties=$.allSchemaProperties=$.noPropertyInData=$.propertyInData=$.isOwnProperty=$.hasPropFunc=$.reportMissingProp=$.checkMissingProp=$.checkReportMissingProp=void 0;let Y=L1(),z=v1(),U=U5(),Q=v1();function J(N,D){let{gen:T,data:A,it:B}=N;T.if(X(T,A,D,B.opts.ownProperties),()=>{N.setParams({missingProperty:Y._`${D}`},!0),N.error()})}$.checkReportMissingProp=J;function I({gen:N,data:D,it:{opts:T}},A,B){return(0,Y.or)(...A.map((j)=>(0,Y.and)(X(N,D,j,T.ownProperties),Y._`${B} = ${j}`)))}$.checkMissingProp=I;function K(N,D){N.setParams({missingProperty:D},!0),N.error()}$.reportMissingProp=K;function G(N){return N.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Y._`Object.prototype.hasOwnProperty`})}$.hasPropFunc=G;function W(N,D,T){return Y._`${G(N)}.call(${D}, ${T})`}$.isOwnProperty=W;function H(N,D,T,A){let B=Y._`${D}${(0,Y.getProperty)(T)} !== undefined`;return A?Y._`${B} && ${W(N,D,T)}`:B}$.propertyInData=H;function X(N,D,T,A){let B=Y._`${D}${(0,Y.getProperty)(T)} === undefined`;return A?(0,Y.or)(B,(0,Y.not)(W(N,D,T))):B}$.noPropertyInData=X;function Z(N){return N?Object.keys(N).filter((D)=>D!=="__proto__"):[]}$.allSchemaProperties=Z;function q(N,D){return Z(D).filter((T)=>!(0,z.alwaysValidSchema)(N,D[T]))}$.schemaProperties=q;function V({schemaCode:N,data:D,it:{gen:T,topSchemaRef:A,schemaPath:B,errorPath:j},it:C},b,k,h){let i=h?Y._`${N}, ${D}, ${A}${B}`:D,c=[[U.default.instancePath,(0,Y.strConcat)(U.default.instancePath,j)],[U.default.parentData,C.parentData],[U.default.parentDataProperty,C.parentDataProperty],[U.default.rootData,U.default.rootData]];if(C.opts.dynamicRef)c.push([U.default.dynamicAnchors,U.default.dynamicAnchors]);let U0=Y._`${i}, ${T.object(...c)}`;return k!==Y.nil?Y._`${b}.call(${k}, ${U0})`:Y._`${b}(${U0})`}$.callValidateCode=V;let F=Y._`new RegExp`;function M({gen:N,it:{opts:D}},T){let A=D.unicodeRegExp?"u":"",{regExp:B}=D.code,j=B(T,A);return N.scopeValue("pattern",{key:j.toString(),ref:j,code:Y._`${B.code==="new RegExp"?F:(0,Q.useFunc)(N,B)}(${T}, ${A})`})}$.usePattern=M;function w(N){let{gen:D,data:T,keyword:A,it:B}=N,j=D.name("valid");if(B.allErrors){let b=D.let("valid",!0);return C(()=>D.assign(b,!1)),b}return D.var(j,!0),C(()=>D.break()),j;function C(b){let k=D.const("len",Y._`${T}.length`);D.forRange("i",0,k,(h)=>{N.subschema({keyword:A,dataProp:h,dataPropType:z.Type.Num},j),D.if((0,Y.not)(j),b)})}}$.validateArray=w;function O(N){let{gen:D,schema:T,keyword:A,it:B}=N;if(!Array.isArray(T))throw Error("ajv implementation error");if(T.some((b)=>(0,z.alwaysValidSchema)(B,b))&&!B.opts.unevaluated)return;let j=D.let("valid",!1),C=D.name("_valid");D.block(()=>T.forEach((b,k)=>{let h=N.subschema({keyword:A,schemaProp:k,compositeRule:!0},C);if(D.assign(j,Y._`${j} || ${C}`),!N.mergeValidEvaluated(h,C))D.if((0,Y.not)(j))})),N.result(j,()=>N.reset(),()=>N.error(!0))}$.validateUnion=O}),tf0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateKeywordUsage=$.validSchemaType=$.funcKeywordCode=$.macroKeywordCode=void 0;let Y=L1(),z=U5(),U=Q5(),Q=jw();function J(q,V){let{gen:F,keyword:M,schema:w,parentSchema:O,it:N}=q,D=V.macro.call(N.self,w,O,N),T=H(F,M,D);if(N.opts.validateSchema!==!1)N.self.validateSchema(D,!0);let A=F.name("valid");q.subschema({schema:D,schemaPath:Y.nil,errSchemaPath:`${N.errSchemaPath}/${M}`,topSchemaRef:T,compositeRule:!0},A),q.pass(A,()=>q.error(!0))}$.macroKeywordCode=J;function I(q,V){var F;let{gen:M,keyword:w,schema:O,parentSchema:N,$data:D,it:T}=q;W(T,V);let A=H(M,w,!D&&V.compile?V.compile.call(T.self,O,N,T):V.validate),B=M.let("valid");q.block$data(B,j),q.ok((F=V.valid)!==null&&F!==void 0?F:B);function j(){if(V.errors===!1){if(k(),V.modifying)K(q);h(()=>q.error())}else{let i=V.async?C():b();if(V.modifying)K(q);h(()=>G(q,i))}}function C(){let i=M.let("ruleErrs",null);return M.try(()=>k(Y._`await `),(c)=>M.assign(B,!1).if(Y._`${c} instanceof ${T.ValidationError}`,()=>M.assign(i,Y._`${c}.errors`),()=>M.throw(c))),i}function b(){let i=Y._`${A}.errors`;return M.assign(i,null),k(Y.nil),i}function k(i=V.async?Y._`await `:Y.nil){let c=T.opts.passContext?z.default.this:z.default.self,U0=!(("compile"in V)&&!D||V.schema===!1);M.assign(B,Y._`${i}${(0,U.callValidateCode)(q,A,c,U0)}`,V.modifying)}function h(i){var c;M.if((0,Y.not)((c=V.valid)!==null&&c!==void 0?c:B),i)}}$.funcKeywordCode=I;function K(q){let{gen:V,data:F,it:M}=q;V.if(M.parentData,()=>V.assign(F,Y._`${M.parentData}[${M.parentDataProperty}]`))}function G(q,V){let{gen:F}=q;F.if(Y._`Array.isArray(${V})`,()=>{F.assign(z.default.vErrors,Y._`${z.default.vErrors} === null ? ${V} : ${z.default.vErrors}.concat(${V})`).assign(z.default.errors,Y._`${z.default.vErrors}.length`),(0,Q.extendErrors)(q)},()=>q.error())}function W({schemaEnv:q},V){if(V.async&&!q.$async)throw Error("async keyword in sync schema")}function H(q,V,F){if(F===void 0)throw Error(`keyword "${V}" failed to compile`);return q.scopeValue("keyword",typeof F=="function"?{ref:F}:{ref:F,code:(0,Y.stringify)(F)})}function X(q,V,F=!1){return!V.length||V.some((M)=>M==="array"?Array.isArray(q):M==="object"?q&&typeof q=="object"&&!Array.isArray(q):typeof q==M||F&&typeof q>"u")}$.validSchemaType=X;function Z({schema:q,opts:V,self:F,errSchemaPath:M},w,O){if(Array.isArray(w.keyword)?!w.keyword.includes(O):w.keyword!==O)throw Error("ajv implementation error");let N=w.dependencies;if(N===null||N===void 0?void 0:N.some((D)=>!Object.prototype.hasOwnProperty.call(q,D)))throw Error(`parent schema must have dependencies of ${O}: ${N.join(",")}`);if(w.validateSchema){if(!w.validateSchema(q[O])){let D=`keyword "${O}" value is invalid at path "${M}": `+F.errorsText(w.validateSchema.errors);if(V.validateSchema==="log")F.logger.error(D);else throw Error(D)}}}$.validateKeywordUsage=Z}),ef0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendSubschemaMode=$.extendSubschemaData=$.getSubschema=void 0;let Y=L1(),z=v1();function U(I,{keyword:K,schemaProp:G,schema:W,schemaPath:H,errSchemaPath:X,topSchemaRef:Z}){if(K!==void 0&&W!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(K!==void 0){let q=I.schema[K];return G===void 0?{schema:q,schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}`,errSchemaPath:`${I.errSchemaPath}/${K}`}:{schema:q[G],schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}${(0,Y.getProperty)(G)}`,errSchemaPath:`${I.errSchemaPath}/${K}/${(0,z.escapeFragment)(G)}`}}if(W!==void 0){if(H===void 0||X===void 0||Z===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:W,schemaPath:H,topSchemaRef:Z,errSchemaPath:X}}throw Error('either "keyword" or "schema" must be passed')}$.getSubschema=U;function Q(I,K,{dataProp:G,dataPropType:W,data:H,dataTypes:X,propertyName:Z}){if(H!==void 0&&G!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=K;if(G!==void 0){let{errorPath:F,dataPathArr:M,opts:w}=K;V(q.let("data",Y._`${K.data}${(0,Y.getProperty)(G)}`,!0)),I.errorPath=Y.str`${F}${(0,z.getErrorPath)(G,W,w.jsPropertySyntax)}`,I.parentDataProperty=Y._`${G}`,I.dataPathArr=[...M,I.parentDataProperty]}if(H!==void 0){if(V(H instanceof Y.Name?H:q.let("data",H,!0)),Z!==void 0)I.propertyName=Z}if(X)I.dataTypes=X;function V(F){I.data=F,I.dataLevel=K.dataLevel+1,I.dataTypes=[],K.definedProperties=new Set,I.parentData=K.data,I.dataNames=[...K.dataNames,F]}}$.extendSubschemaData=Q;function J(I,{jtdDiscriminator:K,jtdMetadata:G,compositeRule:W,createErrors:H,allErrors:X}){if(W!==void 0)I.compositeRule=W;if(H!==void 0)I.createErrors=H;if(X!==void 0)I.allErrors=X;I.jtdDiscriminator=K,I.jtdMetadata=G}$.extendSubschemaMode=J}),ht=R0(($,Y)=>{Y.exports=function z(U,Q){if(U===Q)return!0;if(U&&Q&&typeof U=="object"&&typeof Q=="object"){if(U.constructor!==Q.constructor)return!1;var J,I,K;if(Array.isArray(U)){if(J=U.length,J!=Q.length)return!1;for(I=J;I--!==0;)if(!z(U[I],Q[I]))return!1;return!0}if(U.constructor===RegExp)return U.source===Q.source&&U.flags===Q.flags;if(U.valueOf!==Object.prototype.valueOf)return U.valueOf()===Q.valueOf();if(U.toString!==Object.prototype.toString)return U.toString()===Q.toString();if(K=Object.keys(U),J=K.length,J!==Object.keys(Q).length)return!1;for(I=J;I--!==0;)if(!Object.prototype.hasOwnProperty.call(Q,K[I]))return!1;for(I=J;I--!==0;){var G=K[I];if(!z(U[G],Q[G]))return!1}return!0}return U!==U&&Q!==Q}}),$u0=R0(($,Y)=>{var z=Y.exports=function(J,I,K){if(typeof I=="function")K=I,I={};K=I.cb||K;var G=typeof K=="function"?K:K.pre||function(){},W=K.post||function(){};U(I,G,W,J,"",J)};z.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},z.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},z.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},z.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function U(J,I,K,G,W,H,X,Z,q,V){if(G&&typeof G=="object"&&!Array.isArray(G)){I(G,W,H,X,Z,q,V);for(var F in G){var M=G[F];if(Array.isArray(M)){if(F in z.arrayKeywords)for(var w=0;w{Object.defineProperty($,"__esModule",{value:!0}),$.getSchemaRefs=$.resolveUrl=$.normalizeId=$._getFullPath=$.getFullPath=$.inlineRef=void 0;let Y=v1(),z=ht(),U=$u0(),Q=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function J(M,w=!0){if(typeof M=="boolean")return!0;if(w===!0)return!K(M);if(!w)return!1;return G(M)<=w}$.inlineRef=J;let I=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function K(M){for(let w in M){if(I.has(w))return!0;let O=M[w];if(Array.isArray(O)&&O.some(K))return!0;if(typeof O=="object"&&K(O))return!0}return!1}function G(M){let w=0;for(let O in M){if(O==="$ref")return 1/0;if(w++,Q.has(O))continue;if(typeof M[O]=="object")(0,Y.eachItem)(M[O],(N)=>w+=G(N));if(w===1/0)return 1/0}return w}function W(M,w="",O){if(O!==!1)w=Z(w);return H(M,M.parse(w))}$.getFullPath=W;function H(M,w){return M.serialize(w).split("#")[0]+"#"}$._getFullPath=H;let X=/#\/?$/;function Z(M){return M?M.replace(X,""):""}$.normalizeId=Z;function q(M,w,O){return O=Z(O),M.resolve(w,O)}$.resolveUrl=q;let V=/^[a-z_][-a-z0-9._]*$/i;function F(M,w){if(typeof M=="boolean")return{};let{schemaId:O,uriResolver:N}=this.opts,D=Z(M[O]||w),T={"":D},A=W(N,D,!1),B={},j=new Set;return U(M,{allKeys:!0},(k,h,i,c)=>{if(c===void 0)return;let U0=A+h,x=T[c];if(typeof k[O]=="string")x=d.call(this,k[O]);t.call(this,k.$anchor),t.call(this,k.$dynamicAnchor),T[h]=x;function d($0){let g=this.opts.uriResolver.resolve;if($0=Z(x?g(x,$0):$0),j.has($0))throw b($0);j.add($0);let p=this.refs[$0];if(typeof p=="string")p=this.refs[p];if(typeof p=="object")C(k,p.schema,$0);else if($0!==Z(U0))if($0[0]==="#")C(k,B[$0],$0),B[$0]=k;else this.refs[$0]=U0;return $0}function t($0){if(typeof $0=="string"){if(!V.test($0))throw Error(`invalid anchor "${$0}"`);d.call(this,`#${$0}`)}}}),B;function C(k,h,i){if(h!==void 0&&!z(k,h))throw b(i)}function b(k){return Error(`reference "${k}" resolves to more than one schema`)}}$.getSchemaRefs=F}),hQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getData=$.KeywordCxt=$.validateFunctionCode=void 0;let Y=sf0(),z=Tw(),U=vt(),Q=Tw(),J=af0(),I=tf0(),K=ef0(),G=L1(),W=U5(),H=Ew(),X=v1(),Z=jw();function q(a){if(A(a)){if(j(a),T(a)){w(a);return}}V(a,()=>(0,Y.topBoolOrEmptySchema)(a))}$.validateFunctionCode=q;function V({gen:a,validateName:H0,schema:L0,schemaEnv:f0,opts:u0},i0){if(u0.code.es5)a.func(H0,G._`${W.default.data}, ${W.default.valCxt}`,f0.$async,()=>{a.code(G._`"use strict"; ${N(L0,u0)}`),M(a,u0),a.code(i0)});else a.func(H0,G._`${W.default.data}, ${F(u0)}`,f0.$async,()=>a.code(N(L0,u0)).code(i0))}function F(a){return G._`{${W.default.instancePath}="", ${W.default.parentData}, ${W.default.parentDataProperty}, ${W.default.rootData}=${W.default.data}${a.dynamicRef?G._`, ${W.default.dynamicAnchors}={}`:G.nil}}={}`}function M(a,H0){a.if(W.default.valCxt,()=>{if(a.var(W.default.instancePath,G._`${W.default.valCxt}.${W.default.instancePath}`),a.var(W.default.parentData,G._`${W.default.valCxt}.${W.default.parentData}`),a.var(W.default.parentDataProperty,G._`${W.default.valCxt}.${W.default.parentDataProperty}`),a.var(W.default.rootData,G._`${W.default.valCxt}.${W.default.rootData}`),H0.dynamicRef)a.var(W.default.dynamicAnchors,G._`${W.default.valCxt}.${W.default.dynamicAnchors}`)},()=>{if(a.var(W.default.instancePath,G._`""`),a.var(W.default.parentData,G._`undefined`),a.var(W.default.parentDataProperty,G._`undefined`),a.var(W.default.rootData,W.default.data),H0.dynamicRef)a.var(W.default.dynamicAnchors,G._`{}`)})}function w(a){let{schema:H0,opts:L0,gen:f0}=a;V(a,()=>{if(L0.$comment&&H0.$comment)c(a);if(k(a),f0.let(W.default.vErrors,null),f0.let(W.default.errors,0),L0.unevaluated)O(a);C(a),U0(a)})}function O(a){let{gen:H0,validateName:L0}=a;a.evaluated=H0.const("evaluated",G._`${L0}.evaluated`),H0.if(G._`${a.evaluated}.dynamicProps`,()=>H0.assign(G._`${a.evaluated}.props`,G._`undefined`)),H0.if(G._`${a.evaluated}.dynamicItems`,()=>H0.assign(G._`${a.evaluated}.items`,G._`undefined`))}function N(a,H0){let L0=typeof a=="object"&&a[H0.schemaId];return L0&&(H0.code.source||H0.code.process)?G._`/*# sourceURL=${L0} */`:G.nil}function D(a,H0){if(A(a)){if(j(a),T(a)){B(a,H0);return}}(0,Y.boolOrEmptySchema)(a,H0)}function T({schema:a,self:H0}){if(typeof a=="boolean")return!a;for(let L0 in a)if(H0.RULES.all[L0])return!0;return!1}function A(a){return typeof a.schema!="boolean"}function B(a,H0){let{schema:L0,gen:f0,opts:u0}=a;if(u0.$comment&&L0.$comment)c(a);h(a),i(a);let i0=f0.const("_errs",W.default.errors);C(a,i0),f0.var(H0,G._`${i0} === ${W.default.errors}`)}function j(a){(0,X.checkUnknownRules)(a),b(a)}function C(a,H0){if(a.opts.jtd)return d(a,[],!1,H0);let L0=(0,z.getSchemaTypes)(a.schema);d(a,L0,!(0,z.coerceAndCheckDataType)(a,L0),H0)}function b(a){let{schema:H0,errSchemaPath:L0,opts:f0,self:u0}=a;if(H0.$ref&&f0.ignoreKeywordsWithRef&&(0,X.schemaHasRulesButRef)(H0,u0.RULES))u0.logger.warn(`$ref: keywords ignored in schema at path "${L0}"`)}function k(a){let{schema:H0,opts:L0}=a;if(H0.default!==void 0&&L0.useDefaults&&L0.strictSchema)(0,X.checkStrictMode)(a,"default is ignored in the schema root")}function h(a){let H0=a.schema[a.opts.schemaId];if(H0)a.baseId=(0,H.resolveUrl)(a.opts.uriResolver,a.baseId,H0)}function i(a){if(a.schema.$async&&!a.schemaEnv.$async)throw Error("async schema in sync schema")}function c({gen:a,schemaEnv:H0,schema:L0,errSchemaPath:f0,opts:u0}){let i0=L0.$comment;if(u0.$comment===!0)a.code(G._`${W.default.self}.logger.log(${i0})`);else if(typeof u0.$comment=="function"){let D1=G.str`${f0}/$comment`,k1=a.scopeValue("root",{ref:H0.root});a.code(G._`${W.default.self}.opts.$comment(${i0}, ${D1}, ${k1}.schema)`)}}function U0(a){let{gen:H0,schemaEnv:L0,validateName:f0,ValidationError:u0,opts:i0}=a;if(L0.$async)H0.if(G._`${W.default.errors} === 0`,()=>H0.return(W.default.data),()=>H0.throw(G._`new ${u0}(${W.default.vErrors})`));else{if(H0.assign(G._`${f0}.errors`,W.default.vErrors),i0.unevaluated)x(a);H0.return(G._`${W.default.errors} === 0`)}}function x({gen:a,evaluated:H0,props:L0,items:f0}){if(L0 instanceof G.Name)a.assign(G._`${H0}.props`,L0);if(f0 instanceof G.Name)a.assign(G._`${H0}.items`,f0)}function d(a,H0,L0,f0){let{gen:u0,schema:i0,data:D1,allErrors:k1,opts:u1,self:b1}=a,{RULES:B0}=b1;if(i0.$ref&&(u1.ignoreKeywordsWithRef||!(0,X.schemaHasRulesButRef)(i0,B0))){u0.block(()=>G0(a,"$ref",B0.all.$ref.definition));return}if(!u1.jtd)$0(a,H0);u0.block(()=>{for(let P of B0.rules)Q0(P);Q0(B0.post)});function Q0(P){if(!(0,U.shouldUseGroup)(i0,P))return;if(P.type){if(u0.if((0,Q.checkDataType)(P.type,D1,u1.strictNumbers)),t(a,P),H0.length===1&&H0[0]===P.type&&L0)u0.else(),(0,Q.reportTypeError)(a);u0.endIf()}else t(a,P);if(!k1)u0.if(G._`${W.default.errors} === ${f0||0}`)}}function t(a,H0){let{gen:L0,schema:f0,opts:{useDefaults:u0}}=a;if(u0)(0,J.assignDefaults)(a,H0.type);L0.block(()=>{for(let i0 of H0.rules)if((0,U.shouldUseRule)(f0,i0))G0(a,i0.keyword,i0.definition,H0.type)})}function $0(a,H0){if(a.schemaEnv.meta||!a.opts.strictTypes)return;if(g(a,H0),!a.opts.allowUnionTypes)p(a,H0);e(a,a.dataTypes)}function g(a,H0){if(!H0.length)return;if(!a.dataTypes.length){a.dataTypes=H0;return}H0.forEach((L0)=>{if(!s(a.dataTypes,L0))M0(a,`type "${L0}" not allowed by context "${a.dataTypes.join(",")}"`)}),Y0(a,H0)}function p(a,H0){if(H0.length>1&&!(H0.length===2&&H0.includes("null")))M0(a,"use allowUnionTypes to allow union type keyword")}function e(a,H0){let L0=a.self.RULES.all;for(let f0 in L0){let u0=L0[f0];if(typeof u0=="object"&&(0,U.shouldUseRule)(a.schema,u0)){let{type:i0}=u0.definition;if(i0.length&&!i0.some((D1)=>y(H0,D1)))M0(a,`missing type "${i0.join(",")}" for keyword "${f0}"`)}}}function y(a,H0){return a.includes(H0)||H0==="number"&&a.includes("integer")}function s(a,H0){return a.includes(H0)||H0==="integer"&&a.includes("number")}function Y0(a,H0){let L0=[];for(let f0 of a.dataTypes)if(s(H0,f0))L0.push(f0);else if(H0.includes("integer")&&f0==="number")L0.push("integer");a.dataTypes=L0}function M0(a,H0){let L0=a.schemaEnv.baseId+a.errSchemaPath;H0+=` at "${L0}" (strictTypes)`,(0,X.checkStrictMode)(a,H0,a.opts.strictTypes)}var E0=class{constructor(a,H0,L0){if((0,I.validateKeywordUsage)(a,H0,L0),this.gen=a.gen,this.allErrors=a.allErrors,this.keyword=L0,this.data=a.data,this.schema=a.schema[L0],this.$data=H0.$data&&a.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,X.schemaRefOrVal)(a,this.schema,L0,this.$data),this.schemaType=H0.schemaType,this.parentSchema=a.schema,this.params={},this.it=a,this.def=H0,this.$data)this.schemaCode=a.gen.const("vSchema",Y1(this.$data,a));else if(this.schemaCode=this.schemaValue,!(0,I.validSchemaType)(this.schema,H0.schemaType,H0.allowUndefined))throw Error(`${L0} value must be ${JSON.stringify(H0.schemaType)}`);if("code"in H0?H0.trackErrors:H0.errors!==!1)this.errsCount=a.gen.const("_errs",W.default.errors)}result(a,H0,L0){this.failResult((0,G.not)(a),H0,L0)}failResult(a,H0,L0){if(this.gen.if(a),L0)L0();else this.error();if(H0){if(this.gen.else(),H0(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass(a,H0){this.failResult((0,G.not)(a),void 0,H0)}fail(a){if(a===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if(a),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(a){if(!this.$data)return this.fail(a);let{schemaCode:H0}=this;this.fail(G._`${H0} !== undefined && (${(0,G.or)(this.invalid$data(),a)})`)}error(a,H0,L0){if(H0){this.setParams(H0),this._error(a,L0),this.setParams({});return}this._error(a,L0)}_error(a,H0){(a?Z.reportExtraError:Z.reportError)(this,this.def.error,H0)}$dataError(){(0,Z.reportError)(this,this.def.$dataError||Z.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,Z.resetErrorsCount)(this.gen,this.errsCount)}ok(a){if(!this.allErrors)this.gen.if(a)}setParams(a,H0){if(H0)Object.assign(this.params,a);else this.params=a}block$data(a,H0,L0=G.nil){this.gen.block(()=>{this.check$data(a,L0),H0()})}check$data(a=G.nil,H0=G.nil){if(!this.$data)return;let{gen:L0,schemaCode:f0,schemaType:u0,def:i0}=this;if(L0.if((0,G.or)(G._`${f0} === undefined`,H0)),a!==G.nil)L0.assign(a,!0);if(u0.length||i0.validateSchema){if(L0.elseIf(this.invalid$data()),this.$dataError(),a!==G.nil)L0.assign(a,!1)}L0.else()}invalid$data(){let{gen:a,schemaCode:H0,schemaType:L0,def:f0,it:u0}=this;return(0,G.or)(i0(),D1());function i0(){if(L0.length){if(!(H0 instanceof G.Name))throw Error("ajv implementation error");let k1=Array.isArray(L0)?L0:[L0];return G._`${(0,Q.checkDataTypes)(k1,H0,u0.opts.strictNumbers,Q.DataType.Wrong)}`}return G.nil}function D1(){if(f0.validateSchema){let k1=a.scopeValue("validate$data",{ref:f0.validateSchema});return G._`!${k1}(${H0})`}return G.nil}}subschema(a,H0){let L0=(0,K.getSubschema)(this.it,a);(0,K.extendSubschemaData)(L0,this.it,a),(0,K.extendSubschemaMode)(L0,a);let f0={...this.it,...L0,items:void 0,props:void 0};return D(f0,H0),f0}mergeEvaluated(a,H0){let{it:L0,gen:f0}=this;if(!L0.opts.unevaluated)return;if(L0.props!==!0&&a.props!==void 0)L0.props=X.mergeEvaluated.props(f0,a.props,L0.props,H0);if(L0.items!==!0&&a.items!==void 0)L0.items=X.mergeEvaluated.items(f0,a.items,L0.items,H0)}mergeValidEvaluated(a,H0){let{it:L0,gen:f0}=this;if(L0.opts.unevaluated&&(L0.props!==!0||L0.items!==!0))return f0.if(H0,()=>this.mergeEvaluated(a,G.Name)),!0}};$.KeywordCxt=E0;function G0(a,H0,L0,f0){let u0=new E0(a,L0,H0);if("code"in L0)L0.code(u0,f0);else if(u0.$data&&L0.validate)(0,I.funcKeywordCode)(u0,L0);else if("macro"in L0)(0,I.macroKeywordCode)(u0,L0);else if(L0.compile||L0.validate)(0,I.funcKeywordCode)(u0,L0)}let T0=/^\/(?:[^~]|~0|~1)*$/,b0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y1(a,{dataLevel:H0,dataNames:L0,dataPathArr:f0}){let u0,i0;if(a==="")return W.default.rootData;if(a[0]==="/"){if(!T0.test(a))throw Error(`Invalid JSON-pointer: ${a}`);u0=a,i0=W.default.rootData}else{let b1=b0.exec(a);if(!b1)throw Error(`Invalid JSON-pointer: ${a}`);let B0=+b1[1];if(u0=b1[2],u0==="#"){if(B0>=H0)throw Error(u1("property/index",B0));return f0[H0-B0]}if(B0>H0)throw Error(u1("data",B0));if(i0=L0[H0-B0],!u0)return i0}let D1=i0,k1=u0.split("/");for(let b1 of k1)if(b1)i0=G._`${i0}${(0,G.getProperty)((0,X.unescapeJsonPointer)(b1))}`,D1=G._`${D1} && ${i0}`;return D1;function u1(b1,B0){return`Cannot access ${b1} ${B0} levels up, current level is ${H0}`}}$.getData=Y1}),XW=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});var Y=class extends Error{constructor(z){super("validation failed");this.errors=z,this.ajv=this.validation=!0}};$.default=Y}),SQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Ew();var z=class extends Error{constructor(U,Q,J,I){super(I||`can't resolve reference ${J} from id ${Q}`);this.missingRef=(0,Y.resolveUrl)(U,Q,J),this.missingSchema=(0,Y.normalizeId)((0,Y.getFullPath)(U,this.missingRef))}};$.default=z}),Cw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.resolveSchema=$.getCompilingSchema=$.resolveRef=$.compileSchema=$.SchemaEnv=void 0;let Y=L1(),z=XW(),U=U5(),Q=Ew(),J=v1(),I=hQ();var K=class{constructor(w){var O;this.refs={},this.dynamicAnchors={};let N;if(typeof w.schema=="object")N=w.schema;this.schema=w.schema,this.schemaId=w.schemaId,this.root=w.root||this,this.baseId=(O=w.baseId)!==null&&O!==void 0?O:(0,Q.normalizeId)(N===null||N===void 0?void 0:N[w.schemaId||"$id"]),this.schemaPath=w.schemaPath,this.localRefs=w.localRefs,this.meta=w.meta,this.$async=N===null||N===void 0?void 0:N.$async,this.refs={}}};$.SchemaEnv=K;function G(w){let O=X.call(this,w);if(O)return O;let N=(0,Q.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:D,lines:T}=this.opts.code,{ownProperties:A}=this.opts,B=new Y.CodeGen(this.scope,{es5:D,lines:T,ownProperties:A}),j;if(w.$async)j=B.scopeValue("Error",{ref:z.default,code:Y._`require("ajv/dist/runtime/validation_error").default`});let C=B.scopeName("validate");w.validateName=C;let b={gen:B,allErrors:this.opts.allErrors,data:U.default.data,parentData:U.default.parentData,parentDataProperty:U.default.parentDataProperty,dataNames:[U.default.data],dataPathArr:[Y.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:B.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,Y.stringify)(w.schema)}:{ref:w.schema}),validateName:C,ValidationError:j,schema:w.schema,schemaEnv:w,rootId:N,baseId:w.baseId||N,schemaPath:Y.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:Y._`""`,opts:this.opts,self:this},k;try{this._compilations.add(w),(0,I.validateFunctionCode)(b),B.optimize(this.opts.code.optimize);let h=B.toString();if(k=`${B.scopeRefs(U.default.scope)}return ${h}`,this.opts.code.process)k=this.opts.code.process(k,w);let i=Function(`${U.default.self}`,`${U.default.scope}`,k)(this,this.scope.get());if(this.scope.value(C,{ref:i}),i.errors=null,i.schema=w.schema,i.schemaEnv=w,w.$async)i.$async=!0;if(this.opts.code.source===!0)i.source={validateName:C,validateCode:h,scopeValues:B._values};if(this.opts.unevaluated){let{props:c,items:U0}=b;if(i.evaluated={props:c instanceof Y.Name?void 0:c,items:U0 instanceof Y.Name?void 0:U0,dynamicProps:c instanceof Y.Name,dynamicItems:U0 instanceof Y.Name},i.source)i.source.evaluated=(0,Y.stringify)(i.evaluated)}return w.validate=i,w}catch(h){if(delete w.validate,delete w.validateName,k)this.logger.error("Error compiling schema, function code:",k);throw h}finally{this._compilations.delete(w)}}$.compileSchema=G;function W(w,O,N){var D;N=(0,Q.resolveUrl)(this.opts.uriResolver,O,N);let T=w.refs[N];if(T)return T;let A=q.call(this,w,N);if(A===void 0){let B=(D=w.localRefs)===null||D===void 0?void 0:D[N],{schemaId:j}=this.opts;if(B)A=new K({schema:B,schemaId:j,root:w,baseId:O})}if(A===void 0)return;return w.refs[N]=H.call(this,A)}$.resolveRef=W;function H(w){if((0,Q.inlineRef)(w.schema,this.opts.inlineRefs))return w.schema;return w.validate?w:G.call(this,w)}function X(w){for(let O of this._compilations)if(Z(O,w))return O}$.getCompilingSchema=X;function Z(w,O){return w.schema===O.schema&&w.root===O.root&&w.baseId===O.baseId}function q(w,O){let N;while(typeof(N=this.refs[O])=="string")O=N;return N||this.schemas[O]||V.call(this,w,O)}function V(w,O){let N=this.opts.uriResolver.parse(O),D=(0,Q._getFullPath)(this.opts.uriResolver,N),T=(0,Q.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&D===T)return M.call(this,N,w);let A=(0,Q.normalizeId)(D),B=this.refs[A]||this.schemas[A];if(typeof B=="string"){let j=V.call(this,w,B);if(typeof(j===null||j===void 0?void 0:j.schema)!=="object")return;return M.call(this,N,j)}if(typeof(B===null||B===void 0?void 0:B.schema)!=="object")return;if(!B.validate)G.call(this,B);if(A===(0,Q.normalizeId)(O)){let{schema:j}=B,{schemaId:C}=this.opts,b=j[C];if(b)T=(0,Q.resolveUrl)(this.opts.uriResolver,T,b);return new K({schema:j,schemaId:C,root:w,baseId:T})}return M.call(this,N,B)}$.resolveSchema=V;let F=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function M(w,{baseId:O,schema:N,root:D}){var T;if(((T=w.fragment)===null||T===void 0?void 0:T[0])!=="/")return;for(let j of w.fragment.slice(1).split("/")){if(typeof N==="boolean")return;let C=N[(0,J.unescapeFragment)(j)];if(C===void 0)return;N=C;let b=typeof N==="object"&&N[this.opts.schemaId];if(!F.has(j)&&b)O=(0,Q.resolveUrl)(this.opts.uriResolver,O,b)}let A;if(typeof N!="boolean"&&N.$ref&&!(0,J.schemaHasRulesButRef)(N,this.RULES)){let j=(0,Q.resolveUrl)(this.opts.uriResolver,O,N.$ref);A=V.call(this,D,j)}let{schemaId:B}=this.opts;if(A=A||new K({schema:N,schemaId:B,root:D,baseId:O}),A.schema!==A.root.schema)return A}}),Yu0=R0(($,Y)=>{Y.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}}),St=R0(($,Y)=>{let z=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),U=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function Q(V){let F="",M=0,w=0;for(w=0;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w];break}for(w+=1;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w]}return F}let J=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function I(V){return V.length=0,!0}function K(V,F,M){if(V.length){let w=Q(V);if(w!=="")F.push(w);else return M.error=!0,!1;V.length=0}return!0}function G(V){let F=0,M={error:!1,address:"",zone:""},w=[],O=[],N=!1,D=!1,T=K;for(let A=0;A7){M.error=!0;break}if(A>0&&V[A-1]===":")N=!0;w.push(":");continue}else if(B==="%"){if(!T(O,w,M))break;T=I}else{O.push(B);continue}}if(O.length)if(T===I)M.zone=O.join("");else if(D)w.push(O.join(""));else w.push(Q(O));return M.address=w.join(""),M}function W(V){if(H(V,":")<2)return{host:V,isIPV6:!1};let F=G(V);if(!F.error){let{address:M,address:w}=F;if(F.zone)M+="%"+F.zone,w+="%25"+F.zone;return{host:M,isIPV6:!0,escapedHost:w}}else return{host:V,isIPV6:!1}}function H(V,F){let M=0;for(let w=0;w{let{isUUID:z}=St(),U=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,Q=["http","https","ws","wss","urn","urn:uuid"];function J(B){return Q.indexOf(B)!==-1}function I(B){if(B.secure===!0)return!0;else if(B.secure===!1)return!1;else if(B.scheme)return B.scheme.length===3&&(B.scheme[0]==="w"||B.scheme[0]==="W")&&(B.scheme[1]==="s"||B.scheme[1]==="S")&&(B.scheme[2]==="s"||B.scheme[2]==="S");else return!1}function K(B){if(!B.host)B.error=B.error||"HTTP URIs must have a host.";return B}function G(B){let j=String(B.scheme).toLowerCase()==="https";if(B.port===(j?443:80)||B.port==="")B.port=void 0;if(!B.path)B.path="/";return B}function W(B){return B.secure=I(B),B.resourceName=(B.path||"/")+(B.query?"?"+B.query:""),B.path=void 0,B.query=void 0,B}function H(B){if(B.port===(I(B)?443:80)||B.port==="")B.port=void 0;if(typeof B.secure==="boolean")B.scheme=B.secure?"wss":"ws",B.secure=void 0;if(B.resourceName){let[j,C]=B.resourceName.split("?");B.path=j&&j!=="/"?j:void 0,B.query=C,B.resourceName=void 0}return B.fragment=void 0,B}function X(B,j){if(!B.path)return B.error="URN can not be parsed",B;let C=B.path.match(U);if(C){let b=j.scheme||B.scheme||"urn";B.nid=C[1].toLowerCase(),B.nss=C[2];let k=A(`${b}:${j.nid||B.nid}`);if(B.path=void 0,k)B=k.parse(B,j)}else B.error=B.error||"URN can not be parsed.";return B}function Z(B,j){if(B.nid===void 0)throw Error("URN without nid cannot be serialized");let C=j.scheme||B.scheme||"urn",b=B.nid.toLowerCase(),k=A(`${C}:${j.nid||b}`);if(k)B=k.serialize(B,j);let h=B,i=B.nss;return h.path=`${b||j.nid}:${i}`,j.skipEscape=!0,h}function q(B,j){let C=B;if(C.uuid=C.nss,C.nss=void 0,!j.tolerant&&(!C.uuid||!z(C.uuid)))C.error=C.error||"UUID is not valid.";return C}function V(B){let j=B;return j.nss=(B.uuid||"").toLowerCase(),j}let F={scheme:"http",domainHost:!0,parse:K,serialize:G},M={scheme:"https",domainHost:F.domainHost,parse:K,serialize:G},w={scheme:"ws",domainHost:!0,parse:W,serialize:H},O={scheme:"wss",domainHost:w.domainHost,parse:w.parse,serialize:w.serialize},T={http:F,https:M,ws:w,wss:O,urn:{scheme:"urn",parse:X,serialize:Z,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:q,serialize:V,skipNormalize:!0}};Object.setPrototypeOf(T,null);function A(B){return B&&(T[B]||T[B.toLowerCase()])||void 0}Y.exports={wsIsSecure:I,SCHEMES:T,isValidSchemeName:J,getSchemeHandler:A}}),Uu0=R0(($,Y)=>{let{normalizeIPv6:z,removeDotSegments:U,recomposeAuthority:Q,normalizeComponentEncoding:J,isIPv4:I,nonSimpleDomain:K}=St(),{SCHEMES:G,getSchemeHandler:W}=zu0();function H(O,N){if(typeof O==="string")O=V(M(O,N),N);else if(typeof O==="object")O=M(V(O,N),N);return O}function X(O,N,D){let T=D?Object.assign({scheme:"null"},D):{scheme:"null"},A=Z(M(O,T),M(N,T),T,!0);return T.skipEscape=!0,V(A,T)}function Z(O,N,D,T){let A={};if(!T)O=M(V(O,D),D),N=M(V(N,D),D);if(D=D||{},!D.tolerant&&N.scheme)A.scheme=N.scheme,A.userinfo=N.userinfo,A.host=N.host,A.port=N.port,A.path=U(N.path||""),A.query=N.query;else{if(N.userinfo!==void 0||N.host!==void 0||N.port!==void 0)A.userinfo=N.userinfo,A.host=N.host,A.port=N.port,A.path=U(N.path||""),A.query=N.query;else{if(!N.path)if(A.path=O.path,N.query!==void 0)A.query=N.query;else A.query=O.query;else{if(N.path[0]==="/")A.path=U(N.path);else{if((O.userinfo!==void 0||O.host!==void 0||O.port!==void 0)&&!O.path)A.path="/"+N.path;else if(!O.path)A.path=N.path;else A.path=O.path.slice(0,O.path.lastIndexOf("/")+1)+N.path;A.path=U(A.path)}A.query=N.query}A.userinfo=O.userinfo,A.host=O.host,A.port=O.port}A.scheme=O.scheme}return A.fragment=N.fragment,A}function q(O,N,D){if(typeof O==="string")O=unescape(O),O=V(J(M(O,D),!0),{...D,skipEscape:!0});else if(typeof O==="object")O=V(J(O,!0),{...D,skipEscape:!0});if(typeof N==="string")N=unescape(N),N=V(J(M(N,D),!0),{...D,skipEscape:!0});else if(typeof N==="object")N=V(J(N,!0),{...D,skipEscape:!0});return O.toLowerCase()===N.toLowerCase()}function V(O,N){let D={host:O.host,scheme:O.scheme,userinfo:O.userinfo,port:O.port,path:O.path,query:O.query,nid:O.nid,nss:O.nss,uuid:O.uuid,fragment:O.fragment,reference:O.reference,resourceName:O.resourceName,secure:O.secure,error:""},T=Object.assign({},N),A=[],B=W(T.scheme||D.scheme);if(B&&B.serialize)B.serialize(D,T);if(D.path!==void 0)if(!T.skipEscape){if(D.path=escape(D.path),D.scheme!==void 0)D.path=D.path.split("%3A").join(":")}else D.path=unescape(D.path);if(T.reference!=="suffix"&&D.scheme)A.push(D.scheme,":");let j=Q(D);if(j!==void 0){if(T.reference!=="suffix")A.push("//");if(A.push(j),D.path&&D.path[0]!=="/")A.push("/")}if(D.path!==void 0){let C=D.path;if(!T.absolutePath&&(!B||!B.absolutePath))C=U(C);if(j===void 0&&C[0]==="/"&&C[1]==="/")C="/%2F"+C.slice(2);A.push(C)}if(D.query!==void 0)A.push("?",D.query);if(D.fragment!==void 0)A.push("#",D.fragment);return A.join("")}let F=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function M(O,N){let D=Object.assign({},N),T={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},A=!1;if(D.reference==="suffix")if(D.scheme)O=D.scheme+":"+O;else O="//"+O;let B=O.match(F);if(B){if(T.scheme=B[1],T.userinfo=B[3],T.host=B[4],T.port=parseInt(B[5],10),T.path=B[6]||"",T.query=B[7],T.fragment=B[8],isNaN(T.port))T.port=B[5];if(T.host)if(I(T.host)===!1){let C=z(T.host);T.host=C.host.toLowerCase(),A=C.isIPV6}else A=!0;if(T.scheme===void 0&&T.userinfo===void 0&&T.host===void 0&&T.port===void 0&&T.query===void 0&&!T.path)T.reference="same-document";else if(T.scheme===void 0)T.reference="relative";else if(T.fragment===void 0)T.reference="absolute";else T.reference="uri";if(D.reference&&D.reference!=="suffix"&&D.reference!==T.reference)T.error=T.error||"URI is not a "+D.reference+" reference.";let j=W(D.scheme||T.scheme);if(!D.unicodeSupport&&(!j||!j.unicodeSupport)){if(T.host&&(D.domainHost||j&&j.domainHost)&&A===!1&&K(T.host))try{T.host=URL.domainToASCII(T.host.toLowerCase())}catch(C){T.error=T.error||"Host's domain name can not be converted to ASCII: "+C}}if(!j||j&&!j.skipNormalize){if(O.indexOf("%")!==-1){if(T.scheme!==void 0)T.scheme=unescape(T.scheme);if(T.host!==void 0)T.host=unescape(T.host)}if(T.path)T.path=escape(unescape(T.path));if(T.fragment)T.fragment=encodeURI(decodeURIComponent(T.fragment))}if(j&&j.parse)j.parse(T,D)}else T.error=T.error||"URI can not be parsed.";return T}let w={SCHEMES:G,normalize:H,resolve:X,resolveComponent:Z,equal:q,serialize:V,parse:M};Y.exports=w,Y.exports.default=w,Y.exports.fastUri=w}),Qu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Uu0();Y.code='require("ajv/dist/runtime/uri").default',$.default=Y}),ah=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=void 0;var Y=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return Y.KeywordCxt}});var z=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return z._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return z.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return z.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return z.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return z.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return z.CodeGen}});let U=XW(),Q=SQ(),J=_t(),I=Cw(),K=L1(),G=Ew(),W=Tw(),H=v1(),X=Yu0(),Z=Qu0(),q=(g,p)=>new RegExp(g,p);q.code="new RegExp";let V=["removeAdditional","useDefaults","coerceTypes"],F=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),M={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},w={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},O=200;function N(g){var p,e,y,s,Y0,M0,E0,G0,T0,b0,Y1,a,H0,L0,f0,u0,i0,D1,k1,u1,b1,B0,Q0,P,v;let u=g.strict,r=(p=g.code)===null||p===void 0?void 0:p.optimize,X0=r===!0||r===void 0?1:r||0,J0=(y=(e=g.code)===null||e===void 0?void 0:e.regExp)!==null&&y!==void 0?y:q,Z0=(s=g.uriResolver)!==null&&s!==void 0?s:Z.default;return{strictSchema:(M0=(Y0=g.strictSchema)!==null&&Y0!==void 0?Y0:u)!==null&&M0!==void 0?M0:!0,strictNumbers:(G0=(E0=g.strictNumbers)!==null&&E0!==void 0?E0:u)!==null&&G0!==void 0?G0:!0,strictTypes:(b0=(T0=g.strictTypes)!==null&&T0!==void 0?T0:u)!==null&&b0!==void 0?b0:"log",strictTuples:(a=(Y1=g.strictTuples)!==null&&Y1!==void 0?Y1:u)!==null&&a!==void 0?a:"log",strictRequired:(L0=(H0=g.strictRequired)!==null&&H0!==void 0?H0:u)!==null&&L0!==void 0?L0:!1,code:g.code?{...g.code,optimize:X0,regExp:J0}:{optimize:X0,regExp:J0},loopRequired:(f0=g.loopRequired)!==null&&f0!==void 0?f0:O,loopEnum:(u0=g.loopEnum)!==null&&u0!==void 0?u0:O,meta:(i0=g.meta)!==null&&i0!==void 0?i0:!0,messages:(D1=g.messages)!==null&&D1!==void 0?D1:!0,inlineRefs:(k1=g.inlineRefs)!==null&&k1!==void 0?k1:!0,schemaId:(u1=g.schemaId)!==null&&u1!==void 0?u1:"$id",addUsedSchema:(b1=g.addUsedSchema)!==null&&b1!==void 0?b1:!0,validateSchema:(B0=g.validateSchema)!==null&&B0!==void 0?B0:!0,validateFormats:(Q0=g.validateFormats)!==null&&Q0!==void 0?Q0:!0,unicodeRegExp:(P=g.unicodeRegExp)!==null&&P!==void 0?P:!0,int32range:(v=g.int32range)!==null&&v!==void 0?v:!0,uriResolver:Z0}}var D=class{constructor(g={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,g=this.opts={...g,...N(g)};let{es5:p,lines:e}=this.opts.code;this.scope=new K.ValueScope({scope:{},prefixes:F,es5:p,lines:e}),this.logger=h(g.logger);let y=g.validateFormats;if(g.validateFormats=!1,this.RULES=(0,J.getRules)(),T.call(this,M,g,"NOT SUPPORTED"),T.call(this,w,g,"DEPRECATED","warn"),this._metaOpts=b.call(this),g.formats)j.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),g.keywords)C.call(this,g.keywords);if(typeof g.meta=="object")this.addMetaSchema(g.meta);B.call(this),g.validateFormats=y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:g,meta:p,schemaId:e}=this.opts,y=X;if(e==="id")y={...X},y.id=y.$id,delete y.$id;if(p&&g)this.addMetaSchema(y,y[e],!1)}defaultMeta(){let{meta:g,schemaId:p}=this.opts;return this.opts.defaultMeta=typeof g=="object"?g[p]||g:void 0}validate(g,p){let e;if(typeof g=="string"){if(e=this.getSchema(g),!e)throw Error(`no schema with key or ref "${g}"`)}else e=this.compile(g);let y=e(p);if(!("$async"in e))this.errors=e.errors;return y}compile(g,p){let e=this._addSchema(g,p);return e.validate||this._compileSchemaEnv(e)}compileAsync(g,p){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:e}=this.opts;return y.call(this,g,p);async function y(T0,b0){await s.call(this,T0.$schema);let Y1=this._addSchema(T0,b0);return Y1.validate||Y0.call(this,Y1)}async function s(T0){if(T0&&!this.getSchema(T0))await y.call(this,{$ref:T0},!0)}async function Y0(T0){try{return this._compileSchemaEnv(T0)}catch(b0){if(!(b0 instanceof Q.default))throw b0;return M0.call(this,b0),await E0.call(this,b0.missingSchema),Y0.call(this,T0)}}function M0({missingSchema:T0,missingRef:b0}){if(this.refs[T0])throw Error(`AnySchema ${T0} is loaded but ${b0} cannot be resolved`)}async function E0(T0){let b0=await G0.call(this,T0);if(!this.refs[T0])await s.call(this,b0.$schema);if(!this.refs[T0])this.addSchema(b0,T0,p)}async function G0(T0){let b0=this._loading[T0];if(b0)return b0;try{return await(this._loading[T0]=e(T0))}finally{delete this._loading[T0]}}}addSchema(g,p,e,y=this.opts.validateSchema){if(Array.isArray(g)){for(let Y0 of g)this.addSchema(Y0,void 0,e,y);return this}let s;if(typeof g==="object"){let{schemaId:Y0}=this.opts;if(s=g[Y0],s!==void 0&&typeof s!="string")throw Error(`schema ${Y0} must be string`)}return p=(0,G.normalizeId)(p||s),this._checkUnique(p),this.schemas[p]=this._addSchema(g,e,p,y,!0),this}addMetaSchema(g,p,e=this.opts.validateSchema){return this.addSchema(g,p,!0,e),this}validateSchema(g,p){if(typeof g=="boolean")return!0;let e;if(e=g.$schema,e!==void 0&&typeof e!="string")throw Error("$schema must be a string");if(e=e||this.opts.defaultMeta||this.defaultMeta(),!e)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let y=this.validate(e,g);if(!y&&p){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw Error(s)}return y}getSchema(g){let p;while(typeof(p=A.call(this,g))=="string")g=p;if(p===void 0){let{schemaId:e}=this.opts,y=new I.SchemaEnv({schema:{},schemaId:e});if(p=I.resolveSchema.call(this,y,g),!p)return;this.refs[g]=p}return p.validate||this._compileSchemaEnv(p)}removeSchema(g){if(g instanceof RegExp)return this._removeAllSchemas(this.schemas,g),this._removeAllSchemas(this.refs,g),this;switch(typeof g){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let p=A.call(this,g);if(typeof p=="object")this._cache.delete(p.schema);return delete this.schemas[g],delete this.refs[g],this}case"object":{let p=g;this._cache.delete(p);let e=g[this.opts.schemaId];if(e)e=(0,G.normalizeId)(e),delete this.schemas[e],delete this.refs[e];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(g){for(let p of g)this.addKeyword(p);return this}addKeyword(g,p){let e;if(typeof g=="string"){if(e=g,typeof p=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),p.keyword=e}else if(typeof g=="object"&&p===void 0){if(p=g,e=p.keyword,Array.isArray(e)&&!e.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(c.call(this,e,p),!p)return(0,H.eachItem)(e,(s)=>U0.call(this,s)),this;d.call(this,p);let y={...p,type:(0,W.getJSONTypes)(p.type),schemaType:(0,W.getJSONTypes)(p.schemaType)};return(0,H.eachItem)(e,y.type.length===0?(s)=>U0.call(this,s,y):(s)=>y.type.forEach((Y0)=>U0.call(this,s,y,Y0))),this}getKeyword(g){let p=this.RULES.all[g];return typeof p=="object"?p.definition:!!p}removeKeyword(g){let{RULES:p}=this;delete p.keywords[g],delete p.all[g];for(let e of p.rules){let y=e.rules.findIndex((s)=>s.keyword===g);if(y>=0)e.rules.splice(y,1)}return this}addFormat(g,p){if(typeof p=="string")p=new RegExp(p);return this.formats[g]=p,this}errorsText(g=this.errors,{separator:p=", ",dataVar:e="data"}={}){if(!g||g.length===0)return"No errors";return g.map((y)=>`${e}${y.instancePath} ${y.message}`).reduce((y,s)=>y+p+s)}$dataMetaSchema(g,p){let e=this.RULES.all;g=JSON.parse(JSON.stringify(g));for(let y of p){let s=y.split("/").slice(1),Y0=g;for(let M0 of s)Y0=Y0[M0];for(let M0 in e){let E0=e[M0];if(typeof E0!="object")continue;let{$data:G0}=E0.definition,T0=Y0[M0];if(G0&&T0)Y0[M0]=$0(T0)}}return g}_removeAllSchemas(g,p){for(let e in g){let y=g[e];if(!p||p.test(e)){if(typeof y=="string")delete g[e];else if(y&&!y.meta)this._cache.delete(y.schema),delete g[e]}}}_addSchema(g,p,e,y=this.opts.validateSchema,s=this.opts.addUsedSchema){let Y0,{schemaId:M0}=this.opts;if(typeof g=="object")Y0=g[M0];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof g!="boolean")throw Error("schema must be object or boolean");let E0=this._cache.get(g);if(E0!==void 0)return E0;e=(0,G.normalizeId)(Y0||e);let G0=G.getSchemaRefs.call(this,g,e);if(E0=new I.SchemaEnv({schema:g,schemaId:M0,meta:p,baseId:e,localRefs:G0}),this._cache.set(E0.schema,E0),s&&!e.startsWith("#")){if(e)this._checkUnique(e);this.refs[e]=E0}if(y)this.validateSchema(g,!0);return E0}_checkUnique(g){if(this.schemas[g]||this.refs[g])throw Error(`schema with key or id "${g}" already exists`)}_compileSchemaEnv(g){if(g.meta)this._compileMetaSchema(g);else I.compileSchema.call(this,g);if(!g.validate)throw Error("ajv implementation error");return g.validate}_compileMetaSchema(g){let p=this.opts;this.opts=this._metaOpts;try{I.compileSchema.call(this,g)}finally{this.opts=p}}};D.ValidationError=U.default,D.MissingRefError=Q.default,$.default=D;function T(g,p,e,y="error"){for(let s in g){let Y0=s;if(Y0 in p)this.logger[y](`${e}: option ${s}. ${g[Y0]}`)}}function A(g){return g=(0,G.normalizeId)(g),this.schemas[g]||this.refs[g]}function B(){let g=this.opts.schemas;if(!g)return;if(Array.isArray(g))this.addSchema(g);else for(let p in g)this.addSchema(g[p],p)}function j(){for(let g in this.opts.formats){let p=this.opts.formats[g];if(p)this.addFormat(g,p)}}function C(g){if(Array.isArray(g)){this.addVocabulary(g);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let p in g){let e=g[p];if(!e.keyword)e.keyword=p;this.addKeyword(e)}}function b(){let g={...this.opts};for(let p of V)delete g[p];return g}let k={log(){},warn(){},error(){}};function h(g){if(g===!1)return k;if(g===void 0)return console;if(g.log&&g.warn&&g.error)return g;throw Error("logger must implement log, warn and error methods")}let i=/^[a-z_$][a-z0-9_$:-]*$/i;function c(g,p){let{RULES:e}=this;if((0,H.eachItem)(g,(y)=>{if(e.keywords[y])throw Error(`Keyword ${y} is already defined`);if(!i.test(y))throw Error(`Keyword ${y} has invalid name`)}),!p)return;if(p.$data&&!(("code"in p)||("validate"in p)))throw Error('$data keyword must have "code" or "validate" function')}function U0(g,p,e){var y;let s=p===null||p===void 0?void 0:p.post;if(e&&s)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Y0}=this,M0=s?Y0.post:Y0.rules.find(({type:G0})=>G0===e);if(!M0)M0={type:e,rules:[]},Y0.rules.push(M0);if(Y0.keywords[g]=!0,!p)return;let E0={keyword:g,definition:{...p,type:(0,W.getJSONTypes)(p.type),schemaType:(0,W.getJSONTypes)(p.schemaType)}};if(p.before)x.call(this,M0,E0,p.before);else M0.rules.push(E0);Y0.all[g]=E0,(y=p.implements)===null||y===void 0||y.forEach((G0)=>this.addKeyword(G0))}function x(g,p,e){let y=g.rules.findIndex((s)=>s.keyword===e);if(y>=0)g.rules.splice(y,0,p);else g.rules.push(p),this.logger.warn(`rule ${e} is not defined`)}function d(g){let{metaSchema:p}=g;if(p===void 0)return;if(g.$data&&this.opts.$data)p=$0(p);g.validateSchema=this.compile(p,!0)}let t={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function $0(g){return{anyOf:[g,t]}}}),Ju0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};$.default=Y}),th=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.callRef=$.getValidate=void 0;let Y=SQ(),z=Q5(),U=L1(),Q=U5(),J=Cw(),I=v1(),K={keyword:"$ref",schemaType:"string",code(H){let{gen:X,schema:Z,it:q}=H,{baseId:V,schemaEnv:F,validateName:M,opts:w,self:O}=q,{root:N}=F;if((Z==="#"||Z==="#/")&&V===N.baseId)return T();let D=J.resolveRef.call(O,N,V,Z);if(D===void 0)throw new Y.default(q.opts.uriResolver,V,Z);if(D instanceof J.SchemaEnv)return A(D);return B(D);function T(){if(F===N)return W(H,M,F,F.$async);let j=X.scopeValue("root",{ref:N});return W(H,U._`${j}.validate`,N,N.$async)}function A(j){W(H,G(H,j),j,j.$async)}function B(j){let C=X.scopeValue("schema",w.code.source===!0?{ref:j,code:(0,U.stringify)(j)}:{ref:j}),b=X.name("valid"),k=H.subschema({schema:j,dataTypes:[],schemaPath:U.nil,topSchemaRef:C,errSchemaPath:Z},b);H.mergeEvaluated(k),H.ok(b)}}};function G(H,X){let{gen:Z}=H;return X.validate?Z.scopeValue("validate",{ref:X.validate}):U._`${Z.scopeValue("wrapper",{ref:X})}.validate`}$.getValidate=G;function W(H,X,Z,q){let{gen:V,it:F}=H,{allErrors:M,schemaEnv:w,opts:O}=F,N=O.passContext?Q.default.this:U.nil;if(q)D();else T();function D(){if(!w.$async)throw Error("async schema referenced by sync schema");let j=V.let("valid");V.try(()=>{if(V.code(U._`await ${(0,z.callValidateCode)(H,X,N)}`),B(X),!M)V.assign(j,!0)},(C)=>{if(V.if(U._`!(${C} instanceof ${F.ValidationError})`,()=>V.throw(C)),A(C),!M)V.assign(j,!1)}),H.ok(j)}function T(){H.result((0,z.callValidateCode)(H,X,N),()=>B(X),()=>A(X))}function A(j){let C=U._`${j}.errors`;V.assign(Q.default.vErrors,U._`${Q.default.vErrors} === null ? ${C} : ${Q.default.vErrors}.concat(${C})`),V.assign(Q.default.errors,U._`${Q.default.vErrors}.length`)}function B(j){var C;if(!F.opts.unevaluated)return;let b=(C=Z===null||Z===void 0?void 0:Z.validate)===null||C===void 0?void 0:C.evaluated;if(F.props!==!0)if(b&&!b.dynamicProps){if(b.props!==void 0)F.props=I.mergeEvaluated.props(V,b.props,F.props)}else{let k=V.var("props",U._`${j}.evaluated.props`);F.props=I.mergeEvaluated.props(V,k,F.props,U.Name)}if(F.items!==!0)if(b&&!b.dynamicItems){if(b.items!==void 0)F.items=I.mergeEvaluated.items(V,b.items,F.items)}else{let k=V.var("items",U._`${j}.evaluated.items`);F.items=I.mergeEvaluated.items(V,k,F.items,U.Name)}}}$.callRef=W,$.default=K}),gt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Ju0(),z=th(),U=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Y.default,z.default];$.default=U}),Iu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=Y.operators,U={maximum:{okStr:"<=",ok:z.LTE,fail:z.GT},minimum:{okStr:">=",ok:z.GTE,fail:z.LT},exclusiveMaximum:{okStr:"<",ok:z.LT,fail:z.GTE},exclusiveMinimum:{okStr:">",ok:z.GT,fail:z.LTE}},Q={keyword:Object.keys(U),type:"number",schemaType:"number",$data:!0,error:{message:({keyword:J,schemaCode:I})=>Y.str`must be ${U[J].okStr} ${I}`,params:({keyword:J,schemaCode:I})=>Y._`{comparison: ${U[J].okStr}, limit: ${I}}`},code(J){let{keyword:I,data:K,schemaCode:G}=J;J.fail$data(Y._`${K} ${U[I].fail} ${G} || isNaN(${K})`)}};$.default=Q}),Ku0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:U})=>Y.str`must be multiple of ${U}`,params:({schemaCode:U})=>Y._`{multipleOf: ${U}}`},code(U){let{gen:Q,data:J,schemaCode:I,it:K}=U,G=K.opts.multipleOfPrecision,W=Q.let("res"),H=G?Y._`Math.abs(Math.round(${W}) - ${W}) > 1e-${G}`:Y._`${W} !== parseInt(${W})`;U.fail$data(Y._`(${I} === 0 || (${W} = ${J}/${I}, ${H}))`)}};$.default=z}),Gu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});function Y(z){let U=z.length,Q=0,J=0,I;while(J=55296&&I<=56319&&J{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=Gu0(),Q={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:J,schemaCode:I}){let K=J==="maxLength"?"more":"fewer";return Y.str`must NOT have ${K} than ${I} characters`},params:({schemaCode:J})=>Y._`{limit: ${J}}`},code(J){let{keyword:I,data:K,schemaCode:G,it:W}=J,H=I==="maxLength"?Y.operators.GT:Y.operators.LT,X=W.opts.unicode===!1?Y._`${K}.length`:Y._`${(0,z.useFunc)(J.gen,U.default)}(${K})`;J.fail$data(Y._`${X} ${H} ${G}`)}};$.default=Q}),Hu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=v1(),U=L1(),Q={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:J})=>U.str`must match pattern "${J}"`,params:({schemaCode:J})=>U._`{pattern: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:W,schemaCode:H,it:X}=J,Z=X.opts.unicodeRegExp?"u":"";if(G){let{regExp:q}=X.opts.code,V=q.code==="new RegExp"?U._`new RegExp`:(0,z.useFunc)(I,q),F=I.let("valid");I.try(()=>I.assign(F,U._`${V}(${H}, ${Z}).test(${K})`),()=>I.assign(F,!1)),J.fail$data(U._`!${F}`)}else{let q=(0,Y.usePattern)(J,W);J.fail$data(U._`!${q}.test(${K})`)}}};$.default=Q}),Xu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:U,schemaCode:Q}){let J=U==="maxProperties"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} properties`},params:({schemaCode:U})=>Y._`{limit: ${U}}`},code(U){let{keyword:Q,data:J,schemaCode:I}=U,K=Q==="maxProperties"?Y.operators.GT:Y.operators.LT;U.fail$data(Y._`Object.keys(${J}).length ${K} ${I}`)}};$.default=z}),Zu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=L1(),U=v1(),Q={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:J}})=>z.str`must have required property '${J}'`,params:({params:{missingProperty:J}})=>z._`{missingProperty: ${J}}`},code(J){let{gen:I,schema:K,schemaCode:G,data:W,$data:H,it:X}=J,{opts:Z}=X;if(!H&&K.length===0)return;let q=K.length>=Z.loopRequired;if(X.allErrors)V();else F();if(Z.strictRequired){let O=J.parentSchema.properties,{definedProperties:N}=J.it;for(let D of K)if((O===null||O===void 0?void 0:O[D])===void 0&&!N.has(D)){let T=`required property "${D}" is not defined at "${X.schemaEnv.baseId+X.errSchemaPath}" (strictRequired)`;(0,U.checkStrictMode)(X,T,X.opts.strictRequired)}}function V(){if(q||H)J.block$data(z.nil,M);else for(let O of K)(0,Y.checkReportMissingProp)(J,O)}function F(){let O=I.let("missing");if(q||H){let N=I.let("valid",!0);J.block$data(N,()=>w(O,N)),J.ok(N)}else I.if((0,Y.checkMissingProp)(J,K,O)),(0,Y.reportMissingProp)(J,O),I.else()}function M(){I.forOf("prop",G,(O)=>{J.setParams({missingProperty:O}),I.if((0,Y.noPropertyInData)(I,W,O,Z.ownProperties),()=>J.error())})}function w(O,N){J.setParams({missingProperty:O}),I.forOf(O,G,()=>{I.assign(N,(0,Y.propertyInData)(I,W,O,Z.ownProperties)),I.if((0,z.not)(N),()=>{J.error(),I.break()})},z.nil)}}};$.default=Q}),qu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:U,schemaCode:Q}){let J=U==="maxItems"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} items`},params:({schemaCode:U})=>Y._`{limit: ${U}}`},code(U){let{keyword:Q,data:J,schemaCode:I}=U,K=Q==="maxItems"?Y.operators.GT:Y.operators.LT;U.fail$data(Y._`${J}.length ${K} ${I}`)}};$.default=z}),eh=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=ht();Y.code='require("ajv/dist/runtime/equal").default',$.default=Y}),Vu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Tw(),z=L1(),U=v1(),Q=eh(),J={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:I,j:K}})=>z.str`must NOT have duplicate items (items ## ${K} and ${I} are identical)`,params:({params:{i:I,j:K}})=>z._`{i: ${I}, j: ${K}}`},code(I){let{gen:K,data:G,$data:W,schema:H,parentSchema:X,schemaCode:Z,it:q}=I;if(!W&&!H)return;let V=K.let("valid"),F=X.items?(0,Y.getSchemaTypes)(X.items):[];I.block$data(V,M,z._`${Z} === false`),I.ok(V);function M(){let D=K.let("i",z._`${G}.length`),T=K.let("j");I.setParams({i:D,j:T}),K.assign(V,!0),K.if(z._`${D} > 1`,()=>(w()?O:N)(D,T))}function w(){return F.length>0&&!F.some((D)=>D==="object"||D==="array")}function O(D,T){let A=K.name("item"),B=(0,Y.checkDataTypes)(F,A,q.opts.strictNumbers,Y.DataType.Wrong),j=K.const("indices",z._`{}`);K.for(z._`;${D}--;`,()=>{if(K.let(A,z._`${G}[${D}]`),K.if(B,z._`continue`),F.length>1)K.if(z._`typeof ${A} == "string"`,z._`${A} += "_"`);K.if(z._`typeof ${j}[${A}] == "number"`,()=>{K.assign(T,z._`${j}[${A}]`),I.error(),K.assign(V,!1).break()}).code(z._`${j}[${A}] = ${D}`)})}function N(D,T){let A=(0,U.useFunc)(K,Q.default),B=K.name("outer");K.label(B).for(z._`;${D}--;`,()=>K.for(z._`${T} = ${D}; ${T}--;`,()=>K.if(z._`${A}(${G}[${D}], ${G}[${T}])`,()=>{I.error(),K.assign(V,!1).break(B)})))}}};$.default=J}),Lu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=eh(),Q={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:J})=>Y._`{allowedValue: ${J}}`},code(J){let{gen:I,data:K,$data:G,schemaCode:W,schema:H}=J;if(G||H&&typeof H=="object")J.fail$data(Y._`!${(0,z.useFunc)(I,U.default)}(${K}, ${W})`);else J.fail(Y._`${H} !== ${K}`)}};$.default=Q}),Fu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=eh(),Q={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:J})=>Y._`{allowedValues: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:W,schemaCode:H,it:X}=J;if(!G&&W.length===0)throw Error("enum must have non-empty array");let Z=W.length>=X.opts.loopEnum,q,V=()=>q!==null&&q!==void 0?q:q=(0,z.useFunc)(I,U.default),F;if(Z||G)F=I.let("valid"),J.block$data(F,M);else{if(!Array.isArray(W))throw Error("ajv implementation error");let O=I.const("vSchema",H);F=(0,Y.or)(...W.map((N,D)=>w(O,D)))}J.pass(F);function M(){I.assign(F,!1),I.forOf("v",H,(O)=>I.if(Y._`${V()}(${K}, ${O})`,()=>I.assign(F,!0).break()))}function w(O,N){let D=W[N];return typeof D==="object"&&D!==null?Y._`${V()}(${K}, ${O}[${N}])`:Y._`${K} === ${D}`}}};$.default=Q}),yt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Iu0(),z=Ku0(),U=Wu0(),Q=Hu0(),J=Xu0(),I=Zu0(),K=qu0(),G=Vu0(),W=Lu0(),H=Fu0(),X=[Y.default,z.default,U.default,Q.default,J.default,I.default,K.default,G.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},W.default,H.default];$.default=X}),kt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateAdditionalItems=void 0;let Y=L1(),z=v1(),U={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:J}})=>Y.str`must NOT have more than ${J} items`,params:({params:{len:J}})=>Y._`{limit: ${J}}`},code(J){let{parentSchema:I,it:K}=J,{items:G}=I;if(!Array.isArray(G)){(0,z.checkStrictMode)(K,'"additionalItems" is ignored when "items" is not an array of schemas');return}Q(J,G)}};function Q(J,I){let{gen:K,schema:G,data:W,keyword:H,it:X}=J;X.items=!0;let Z=K.const("len",Y._`${W}.length`);if(G===!1)J.setParams({len:I.length}),J.pass(Y._`${Z} <= ${I.length}`);else if(typeof G=="object"&&!(0,z.alwaysValidSchema)(X,G)){let V=K.var("valid",Y._`${Z} <= ${I.length}`);K.if((0,Y.not)(V),()=>q(V)),J.ok(V)}function q(V){K.forRange("i",I.length,Z,(F)=>{if(J.subschema({keyword:H,dataProp:F,dataPropType:z.Type.Num},V),!X.allErrors)K.if((0,Y.not)(V),()=>K.break())})}}$.validateAdditionalItems=Q,$.default=U}),xt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateTuple=void 0;let Y=L1(),z=v1(),U=Q5(),Q={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(I){let{schema:K,it:G}=I;if(Array.isArray(K))return J(I,"additionalItems",K);if(G.items=!0,(0,z.alwaysValidSchema)(G,K))return;I.ok((0,U.validateArray)(I))}};function J(I,K,G=I.schema){let{gen:W,parentSchema:H,data:X,keyword:Z,it:q}=I;if(M(H),q.opts.unevaluated&&G.length&&q.items!==!0)q.items=z.mergeEvaluated.items(W,G.length,q.items);let V=W.name("valid"),F=W.const("len",Y._`${X}.length`);G.forEach((w,O)=>{if((0,z.alwaysValidSchema)(q,w))return;W.if(Y._`${F} > ${O}`,()=>I.subschema({keyword:Z,schemaProp:O,dataProp:O},V)),I.ok(V)});function M(w){let{opts:O,errSchemaPath:N}=q,D=G.length,T=D===w.minItems&&(D===w.maxItems||w[K]===!1);if(O.strictTuples&&!T){let A=`"${Z}" is ${D}-tuple, but minItems or maxItems/${K} are not specified or different at path "${N}"`;(0,z.checkStrictMode)(q,A,O.strictTuples)}}}$.validateTuple=J,$.default=Q}),wu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=xt(),z={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:(U)=>(0,Y.validateTuple)(U,"items")};$.default=z}),Mu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=Q5(),Q=kt(),J={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:I}})=>Y.str`must NOT have more than ${I} items`,params:({params:{len:I}})=>Y._`{limit: ${I}}`},code(I){let{schema:K,parentSchema:G,it:W}=I,{prefixItems:H}=G;if(W.items=!0,(0,z.alwaysValidSchema)(W,K))return;if(H)(0,Q.validateAdditionalItems)(I,H);else I.ok((0,U.validateArray)(I))}};$.default=J}),Ou0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:Q,max:J}})=>J===void 0?Y.str`must contain at least ${Q} valid item(s)`:Y.str`must contain at least ${Q} and no more than ${J} valid item(s)`,params:({params:{min:Q,max:J}})=>J===void 0?Y._`{minContains: ${Q}}`:Y._`{minContains: ${Q}, maxContains: ${J}}`},code(Q){let{gen:J,schema:I,parentSchema:K,data:G,it:W}=Q,H,X,{minContains:Z,maxContains:q}=K;if(W.opts.next)H=Z===void 0?1:Z,X=q;else H=1;let V=J.const("len",Y._`${G}.length`);if(Q.setParams({min:H,max:X}),X===void 0&&H===0){(0,z.checkStrictMode)(W,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(X!==void 0&&H>X){(0,z.checkStrictMode)(W,'"minContains" > "maxContains" is always invalid'),Q.fail();return}if((0,z.alwaysValidSchema)(W,I)){let N=Y._`${V} >= ${H}`;if(X!==void 0)N=Y._`${N} && ${V} <= ${X}`;Q.pass(N);return}W.items=!0;let F=J.name("valid");if(X===void 0&&H===1)w(F,()=>J.if(F,()=>J.break()));else if(H===0){if(J.let(F,!0),X!==void 0)J.if(Y._`${G}.length > 0`,M)}else J.let(F,!1),M();Q.result(F,()=>Q.reset());function M(){let N=J.name("_valid"),D=J.let("count",0);w(N,()=>J.if(N,()=>O(D)))}function w(N,D){J.forRange("i",0,V,(T)=>{Q.subschema({keyword:"contains",dataProp:T,dataPropType:z.Type.Num,compositeRule:!0},N),D()})}function O(N){if(J.code(Y._`${N}++`),X===void 0)J.if(Y._`${N} >= ${H}`,()=>J.assign(F,!0).break());else if(J.if(Y._`${N} > ${X}`,()=>J.assign(F,!1).break()),H===1)J.assign(F,!0);else J.if(Y._`${N} >= ${H}`,()=>J.assign(F,!0))}}};$.default=U}),$S=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateSchemaDeps=$.validatePropertyDeps=$.error=void 0;let Y=L1(),z=v1(),U=Q5();$.error={message:({params:{property:G,depsCount:W,deps:H}})=>{let X=W===1?"property":"properties";return Y.str`must have ${X} ${H} when property ${G} is present`},params:({params:{property:G,depsCount:W,deps:H,missingProperty:X}})=>Y._`{property: ${G}, missingProperty: ${X}, depsCount: ${W}, - deps: ${H}}`};let Q={keyword:"dependencies",type:"object",schemaType:"object",error:$.error,code(G){let[W,H]=J(G);I(G,W),K(G,H)}};function J({schema:G}){let W={},H={};for(let X in G){if(X==="__proto__")continue;let Z=Array.isArray(G[X])?W:H;Z[X]=G[X]}return[W,H]}function I(G,W=G.schema){let{gen:H,data:X,it:Z}=G;if(Object.keys(W).length===0)return;let q=H.let("missing");for(let V in W){let F=W[V];if(F.length===0)continue;let M=(0,U.propertyInData)(H,X,V,Z.opts.ownProperties);if(G.setParams({property:V,depsCount:F.length,deps:F.join(", ")}),Z.allErrors)H.if(M,()=>{for(let w of F)(0,U.checkReportMissingProp)(G,w)});else H.if(Y._`${M} && (${(0,U.checkMissingProp)(G,F,q)})`),(0,U.reportMissingProp)(G,q),H.else()}}$.validatePropertyDeps=I;function K(G,W=G.schema){let{gen:H,data:X,keyword:Z,it:q}=G,V=H.name("valid");for(let F in W){if((0,z.alwaysValidSchema)(q,W[F]))continue;H.if((0,U.propertyInData)(H,X,F,q.opts.ownProperties),()=>{let M=G.subschema({keyword:Z,schemaProp:F},V);G.mergeValidEvaluated(M,V)},()=>H.var(V,!0)),G.ok(V)}}$.validateSchemaDeps=K,$.default=Q}),Mu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:Q})=>Y._`{propertyName: ${Q.propertyName}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q;if((0,z.alwaysValidSchema)(G,I))return;let W=J.name("valid");J.forIn("key",K,(H)=>{Q.setParams({propertyName:H}),Q.subschema({keyword:"propertyNames",data:H,dataTypes:["string"],propertyName:H,compositeRule:!0},W),J.if((0,Y.not)(W),()=>{if(Q.error(!0),!G.allErrors)J.break()})}),Q.ok(W)}};$.default=U}),ft=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=L1(),U=U5(),Q=v1(),J={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:I})=>z._`{additionalProperty: ${I.additionalProperty}}`},code(I){let{gen:K,schema:G,parentSchema:W,data:H,errsCount:X,it:Z}=I;if(!X)throw Error("ajv implementation error");let{allErrors:q,opts:V}=Z;if(Z.props=!0,V.removeAdditional!=="all"&&(0,Q.alwaysValidSchema)(Z,G))return;let F=(0,Y.allSchemaProperties)(W.properties),M=(0,Y.allSchemaProperties)(W.patternProperties);w(),I.ok(z._`${X} === ${U.default.errors}`);function w(){K.forIn("key",H,(T)=>{if(!F.length&&!M.length)N(T);else K.if(O(T),()=>N(T))})}function O(T){let B;if(F.length>8){let j=(0,Q.schemaRefOrVal)(Z,W.properties,"properties");B=(0,Y.isOwnProperty)(K,j,T)}else if(F.length)B=(0,z.or)(...F.map((j)=>z._`${T} === ${j}`));else B=z.nil;if(M.length)B=(0,z.or)(B,...M.map((j)=>z._`${(0,Y.usePattern)(I,j)}.test(${T})`));return(0,z.not)(B)}function D(T){K.code(z._`delete ${H}[${T}]`)}function N(T){if(V.removeAdditional==="all"||V.removeAdditional&&G===!1){D(T);return}if(G===!1){if(I.setParams({additionalProperty:T}),I.error(),!q)K.break();return}if(typeof G=="object"&&!(0,Q.alwaysValidSchema)(Z,G)){let B=K.name("valid");if(V.removeAdditional==="failing")A(T,B,!1),K.if((0,z.not)(B),()=>{I.reset(),D(T)});else if(A(T,B),!q)K.if((0,z.not)(B),()=>K.break())}}function A(T,B,j){let C={keyword:"additionalProperties",dataProp:T,dataPropType:Q.Type.Str};if(j===!1)Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1});I.subschema(C,B)}}};$.default=J}),Ou0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=hQ(),z=Q5(),U=v1(),Q=ft(),J={keyword:"properties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,parentSchema:W,data:H,it:X}=I;if(X.opts.removeAdditional==="all"&&W.additionalProperties===void 0)Q.default.code(new Y.KeywordCxt(X,Q.default,"additionalProperties"));let Z=(0,z.allSchemaProperties)(G);for(let w of Z)X.definedProperties.add(w);if(X.opts.unevaluated&&Z.length&&X.props!==!0)X.props=U.mergeEvaluated.props(K,(0,U.toHash)(Z),X.props);let q=Z.filter((w)=>!(0,U.alwaysValidSchema)(X,G[w]));if(q.length===0)return;let V=K.name("valid");for(let w of q){if(F(w))M(w);else{if(K.if((0,z.propertyInData)(K,H,w,X.opts.ownProperties)),M(w),!X.allErrors)K.else().var(V,!0);K.endIf()}I.it.definedProperties.add(w),I.ok(V)}function F(w){return X.opts.useDefaults&&!X.compositeRule&&G[w].default!==void 0}function M(w){I.subschema({keyword:"properties",schemaProp:w,dataProp:w},V)}}};$.default=J}),Nu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=L1(),U=v1(),Q=v1(),J={keyword:"patternProperties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,data:W,parentSchema:H,it:X}=I,{opts:Z}=X,q=(0,Y.allSchemaProperties)(G),V=q.filter((A)=>(0,U.alwaysValidSchema)(X,G[A]));if(q.length===0||V.length===q.length&&(!X.opts.unevaluated||X.props===!0))return;let F=Z.strictSchema&&!Z.allowMatchingProperties&&H.properties,M=K.name("valid");if(X.props!==!0&&!(X.props instanceof z.Name))X.props=(0,Q.evaluatedPropsToName)(K,X.props);let{props:w}=X;O();function O(){for(let A of q){if(F)D(A);if(X.allErrors)N(A);else K.var(M,!0),N(A),K.if(M)}}function D(A){for(let T in F)if(new RegExp(A).test(T))(0,U.checkStrictMode)(X,`property ${T} matches pattern ${A} (use allowMatchingProperties)`)}function N(A){K.forIn("key",W,(T)=>{K.if(z._`${(0,Y.usePattern)(I,A)}.test(${T})`,()=>{let B=V.includes(A);if(!B)I.subschema({keyword:"patternProperties",schemaProp:A,dataProp:T,dataPropType:Q.Type.Str},M);if(X.opts.unevaluated&&w!==!0)K.assign(z._`${w}[${T}]`,!0);else if(!B&&!X.allErrors)K.if((0,z.not)(M),()=>K.break())})})}}};$.default=J}),Du0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(U){let{gen:Q,schema:J,it:I}=U;if((0,Y.alwaysValidSchema)(I,J)){U.fail();return}let K=Q.name("valid");U.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},K),U.failResult(K,()=>U.reset(),()=>U.error())},error:{message:"must NOT be valid"}};$.default=z}),Bu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Q5().validateUnion,error:{message:"must match a schema in anyOf"}};$.default=Y}),Pu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:Q})=>Y._`{passingSchemas: ${Q.passing}}`},code(Q){let{gen:J,schema:I,parentSchema:K,it:G}=Q;if(!Array.isArray(I))throw Error("ajv implementation error");if(G.opts.discriminator&&K.discriminator)return;let W=I,H=J.let("valid",!1),X=J.let("passing",null),Z=J.name("_valid");Q.setParams({passing:X}),J.block(q),Q.result(H,()=>Q.reset(),()=>Q.error(!0));function q(){W.forEach((V,F)=>{let M;if((0,z.alwaysValidSchema)(G,V))J.var(Z,!0);else M=Q.subschema({keyword:"oneOf",schemaProp:F,compositeRule:!0},Z);if(F>0)J.if(Y._`${Z} && ${H}`).assign(H,!1).assign(X,Y._`[${X}, ${F}]`).else();J.if(Z,()=>{if(J.assign(H,!0),J.assign(X,F),M)Q.mergeEvaluated(M,Y.Name)})})}}};$.default=U}),Au0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:"allOf",schemaType:"array",code(U){let{gen:Q,schema:J,it:I}=U;if(!Array.isArray(J))throw Error("ajv implementation error");let K=Q.name("valid");J.forEach((G,W)=>{if((0,Y.alwaysValidSchema)(I,G))return;let H=U.subschema({keyword:"allOf",schemaProp:W},K);U.ok(K),U.mergeEvaluated(H)})}};$.default=z}),Tu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:J})=>Y.str`must match "${J.ifClause}" schema`,params:({params:J})=>Y._`{failingKeyword: ${J.ifClause}}`},code(J){let{gen:I,parentSchema:K,it:G}=J;if(K.then===void 0&&K.else===void 0)(0,z.checkStrictMode)(G,'"if" without "then" and "else" is ignored');let W=Q(G,"then"),H=Q(G,"else");if(!W&&!H)return;let X=I.let("valid",!0),Z=I.name("_valid");if(q(),J.reset(),W&&H){let F=I.let("ifClause");J.setParams({ifClause:F}),I.if(Z,V("then",F),V("else",F))}else if(W)I.if(Z,V("then"));else I.if((0,Y.not)(Z),V("else"));J.pass(X,()=>J.error(!0));function q(){let F=J.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},Z);J.mergeEvaluated(F)}function V(F,M){return()=>{let w=J.subschema({keyword:F},Z);if(I.assign(X,Z),J.mergeValidEvaluated(w,X),M)I.assign(M,Y._`${F}`);else J.setParams({ifClause:F})}}}};function Q(J,I){let K=J.schema[I];return K!==void 0&&!(0,z.alwaysValidSchema)(J,K)}$.default=U}),ju0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:U,parentSchema:Q,it:J}){if(Q.if===void 0)(0,Y.checkStrictMode)(J,`"${U}" without "if" is ignored`)}};$.default=z}),ut=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=kt(),z=Lu0(),U=xt(),Q=Fu0(),J=wu0(),I=th(),K=Mu0(),G=ft(),W=Ou0(),H=Nu0(),X=Du0(),Z=Bu0(),q=Pu0(),V=Au0(),F=Tu0(),M=ju0();function w(O=!1){let D=[X.default,Z.default,q.default,V.default,F.default,M.default,K.default,G.default,I.default,W.default,H.default];if(O)D.push(z.default,Q.default);else D.push(Y.default,U.default);return D.push(J.default),D}$.default=w}),Eu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:U})=>Y.str`must match format "${U}"`,params:({schemaCode:U})=>Y._`{format: ${U}}`},code(U,Q){let{gen:J,data:I,$data:K,schema:G,schemaCode:W,it:H}=U,{opts:X,errSchemaPath:Z,schemaEnv:q,self:V}=H;if(!X.validateFormats)return;if(K)F();else M();function F(){let w=J.scopeValue("formats",{ref:V.formats,code:X.code.formats}),O=J.const("fDef",Y._`${w}[${W}]`),D=J.let("fType"),N=J.let("format");J.if(Y._`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>J.assign(D,Y._`${O}.type || "string"`).assign(N,Y._`${O}.validate`),()=>J.assign(D,Y._`"string"`).assign(N,O)),U.fail$data((0,Y.or)(A(),T()));function A(){if(X.strictSchema===!1)return Y.nil;return Y._`${W} && !${N}`}function T(){let B=q.$async?Y._`(${O}.async ? await ${N}(${I}) : ${N}(${I}))`:Y._`${N}(${I})`,j=Y._`(typeof ${N} == "function" ? ${B} : ${N}.test(${I}))`;return Y._`${N} && ${N} !== true && ${D} === ${Q} && !${j}`}}function M(){let w=V.formats[G];if(!w){A();return}if(w===!0)return;let[O,D,N]=T(w);if(O===Q)U.pass(B());function A(){if(X.strictSchema===!1){V.logger.warn(j());return}throw Error(j());function j(){return`unknown format "${G}" ignored in schema at path "${Z}"`}}function T(j){let C=j instanceof RegExp?(0,Y.regexpCode)(j):X.code.formats?Y._`${X.code.formats}${(0,Y.getProperty)(G)}`:void 0,b=J.scopeValue("formats",{key:G,ref:j,code:C});if(typeof j=="object"&&!(j instanceof RegExp))return[j.type||"string",j.validate,Y._`${b}.validate`];return["string",j,b]}function B(){if(typeof w=="object"&&!(w instanceof RegExp)&&w.async){if(!q.$async)throw Error("async format in sync schema");return Y._`await ${N}(${I})`}return typeof D=="function"?Y._`${N}(${I})`:Y._`${N}.test(${I})`}}}};$.default=z}),bt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=[Eu0().default];$.default=Y}),it=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.contentVocabulary=$.metadataVocabulary=void 0,$.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],$.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}),ct=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gt(),z=yt(),U=ut(),Q=bt(),J=it(),I=[Y.default,z.default,(0,U.default)(),Q.default,J.metadataVocabulary,J.contentVocabulary];$.default=I}),Cu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.DiscrError=void 0;var Y;(function(z){z.Tag="tag",z.Mapping="mapping"})(Y||($.DiscrError=Y={}))}),eh=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=Cu0(),U=Ew(),Q=SQ(),J=v1(),I={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:K,tagName:G}})=>K===z.DiscrError.Tag?`tag "${G}" must be string`:`value of tag "${G}" must be in oneOf`,params:({params:{discrError:K,tag:G,tagName:W}})=>Y._`{error: ${K}, tag: ${W}, tagValue: ${G}}`},code(K){let{gen:G,data:W,schema:H,parentSchema:X,it:Z}=K,{oneOf:q}=X;if(!Z.opts.discriminator)throw Error("discriminator: requires discriminator option");let V=H.propertyName;if(typeof V!="string")throw Error("discriminator: requires propertyName");if(H.mapping)throw Error("discriminator: mapping is not supported");if(!q)throw Error("discriminator: requires oneOf keyword");let F=G.let("valid",!1),M=G.const("tag",Y._`${W}${(0,Y.getProperty)(V)}`);G.if(Y._`typeof ${M} == "string"`,()=>w(),()=>K.error(!1,{discrError:z.DiscrError.Tag,tag:M,tagName:V})),K.ok(F);function w(){let N=D();G.if(!1);for(let A in N)G.elseIf(Y._`${M} === ${A}`),G.assign(F,O(N[A]));G.else(),K.error(!1,{discrError:z.DiscrError.Mapping,tag:M,tagName:V}),G.endIf()}function O(N){let A=G.name("valid"),T=K.subschema({keyword:"oneOf",schemaProp:N},A);return K.mergeEvaluated(T,Y.Name),A}function D(){var N;let A={},T=j(X),B=!0;for(let k=0;k{Y.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}),nt=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv=void 0;let z=rh(),U=ct(),Q=eh(),J=Ru0(),I=["/properties"],K="http://json-schema.org/draft-07/schema";var G=class extends z.default{_addVocabularies(){if(super._addVocabularies(),U.default.forEach((q)=>this.addVocabulary(q)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let q=this.opts.$data?this.$dataMetaSchema(J,I):J;this.addMetaSchema(q,K,!1),this.refs["http://json-schema.org/schema"]=K}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(K)?K:void 0)}};$.Ajv=G,Y.exports=$=G,Y.exports.Ajv=G,Object.defineProperty($,"__esModule",{value:!0}),$.default=G;var W=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return W.KeywordCxt}});var H=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return H._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return H.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return H.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return H.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return H.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return H.CodeGen}});var X=XW();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return X.default}});var Z=SQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return Z.default}})}),pt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicAnchor=void 0;let Y=L1(),z=U5(),U=Ew(),Q=sh(),J={keyword:"$dynamicAnchor",schemaType:"string",code:(G)=>I(G,G.schema)};function I(G,W){let{gen:H,it:X}=G;X.schemaEnv.root.dynamicAnchors[W]=!0;let Z=Y._`${z.default.dynamicAnchors}${(0,Y.getProperty)(W)}`,q=X.errSchemaPath==="#"?X.validateName:K(G);H.if(Y._`!${Z}`,()=>H.assign(Z,q))}$.dynamicAnchor=I;function K(G){let{schemaEnv:W,schema:H,self:X}=G.it,{root:Z,baseId:q,localRefs:V,meta:F}=W.root,{schemaId:M}=X.opts,w=new U.SchemaEnv({schema:H,schemaId:M,root:Z,baseId:q,localRefs:V,meta:F});return U.compileSchema.call(X,w),(0,Q.getValidate)(G,w)}$.default=J}),dt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicRef=void 0;let Y=L1(),z=U5(),U=sh(),Q={keyword:"$dynamicRef",schemaType:"string",code:(I)=>J(I,I.schema)};function J(I,K){let{gen:G,keyword:W,it:H}=I;if(K[0]!=="#")throw Error(`"${W}" only supports hash fragment reference`);let X=K.slice(1);if(H.allErrors)Z();else{let V=G.let("valid",!1);Z(V),I.ok(V)}function Z(V){if(H.schemaEnv.root.dynamicAnchors[X]){let F=G.let("_v",Y._`${z.default.dynamicAnchors}${(0,Y.getProperty)(X)}`);G.if(F,q(F,V),q(H.validateName,V))}else q(H.validateName,V)()}function q(V,F){return F?()=>G.block(()=>{(0,U.callRef)(I,V),G.let(F,!0)}):()=>(0,U.callRef)(I,V)}}$.dynamicRef=J,$.default=Q}),_u0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=pt(),z=v1(),U={keyword:"$recursiveAnchor",schemaType:"boolean",code(Q){if(Q.schema)(0,Y.dynamicAnchor)(Q,"");else(0,z.checkStrictMode)(Q.it,"$recursiveAnchor: false is ignored")}};$.default=U}),vu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=dt(),z={keyword:"$recursiveRef",schemaType:"string",code:(U)=>(0,Y.dynamicRef)(U,U.schema)};$.default=z}),mt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=pt(),z=dt(),U=_u0(),Q=vu0(),J=[Y.default,z.default,U.default,Q.default];$.default=J}),hu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=th(),z={keyword:"dependentRequired",type:"object",schemaType:"object",error:Y.error,code:(U)=>(0,Y.validatePropertyDeps)(U)};$.default=z}),Su0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=th(),z={keyword:"dependentSchemas",type:"object",schemaType:"object",code:(U)=>(0,Y.validateSchemaDeps)(U)};$.default=z}),gu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:U,parentSchema:Q,it:J}){if(Q.contains===void 0)(0,Y.checkStrictMode)(J,`"${U}" without "contains" is ignored`)}};$.default=z}),lt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=hu0(),z=Su0(),U=gu0(),Q=[Y.default,z.default,U.default];$.default=Q}),yu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=U5(),Q={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:J})=>Y._`{unevaluatedProperty: ${J.unevaluatedProperty}}`},code(J){let{gen:I,schema:K,data:G,errsCount:W,it:H}=J;if(!W)throw Error("ajv implementation error");let{allErrors:X,props:Z}=H;if(Z instanceof Y.Name)I.if(Y._`${Z} !== true`,()=>I.forIn("key",G,(M)=>I.if(V(Z,M),()=>q(M))));else if(Z!==!0)I.forIn("key",G,(M)=>Z===void 0?q(M):I.if(F(Z,M),()=>q(M)));H.props=!0,J.ok(Y._`${W} === ${U.default.errors}`);function q(M){if(K===!1){if(J.setParams({unevaluatedProperty:M}),J.error(),!X)I.break();return}if(!(0,z.alwaysValidSchema)(H,K)){let w=I.name("valid");if(J.subschema({keyword:"unevaluatedProperties",dataProp:M,dataPropType:z.Type.Str},w),!X)I.if((0,Y.not)(w),()=>I.break())}}function V(M,w){return Y._`!${M} || !${M}[${w}]`}function F(M,w){let O=[];for(let D in M)if(M[D]===!0)O.push(Y._`${w} !== ${D}`);return(0,Y.and)(...O)}}};$.default=Q}),ku0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:Q}})=>Y.str`must NOT have more than ${Q} items`,params:({params:{len:Q}})=>Y._`{limit: ${Q}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q,W=G.items||0;if(W===!0)return;let H=J.const("len",Y._`${K}.length`);if(I===!1)Q.setParams({len:W}),Q.fail(Y._`${H} > ${W}`);else if(typeof I=="object"&&!(0,z.alwaysValidSchema)(G,I)){let Z=J.var("valid",Y._`${H} <= ${W}`);J.if((0,Y.not)(Z),()=>X(Z,W)),Q.ok(Z)}G.items=!0;function X(Z,q){J.forRange("i",q,H,(V)=>{if(Q.subschema({keyword:"unevaluatedItems",dataProp:V,dataPropType:z.Type.Num},Z),!G.allErrors)J.if((0,Y.not)(Z),()=>J.break())})}}};$.default=U}),ot=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=yu0(),z=ku0(),U=[Y.default,z.default];$.default=U}),xu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/schema",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],type:["object","boolean"],properties:{definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}}}}),fu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/applicator":!0},$recursiveAnchor:!0,title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}}}}),uu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/content",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}}}}),bu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/core",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0},$recursiveAnchor:!0,title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}}}}),iu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/format",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/format":!0},$recursiveAnchor:!0,title:"Format vocabulary meta-schema",type:["object","boolean"],properties:{format:{type:"string"}}}}),cu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},$recursiveAnchor:!0,title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),nu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/validation",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/validation":!0},$recursiveAnchor:!0,title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),pu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=xu0(),z=fu0(),U=uu0(),Q=bu0(),J=iu0(),I=cu0(),K=nu0(),G=["/properties"];function W(H){return[Y,z,U,Q,X(this,J),I,X(this,K)].forEach((Z)=>this.addMetaSchema(Z,void 0,!1)),this;function X(Z,q){return H?Z.$dataMetaSchema(q,G):q}}$.default=W}),du0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2019=void 0;let z=rh(),U=ct(),Q=mt(),J=lt(),I=ot(),K=eh(),G=pu0(),W="https://json-schema.org/draft/2019-09/schema";var H=class extends z.default{constructor(F={}){super({...F,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),this.addVocabulary(Q.default),U.default.forEach((F)=>this.addVocabulary(F)),this.addVocabulary(J.default),this.addVocabulary(I.default),this.opts.discriminator)this.addKeyword(K.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:F,meta:M}=this.opts;if(!M)return;G.default.call(this,F),this.refs["http://json-schema.org/schema"]=W}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(W)?W:void 0)}};$.Ajv2019=H,Y.exports=$=H,Y.exports.Ajv2019=H,Object.defineProperty($,"__esModule",{value:!0}),$.default=H;var X=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return X.KeywordCxt}});var Z=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return Z._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return Z.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return Z.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return Z.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return Z.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return Z.CodeGen}});var q=XW();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return q.default}});var V=SQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return V.default}})}),mu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gt(),z=yt(),U=ut(),Q=mt(),J=lt(),I=ot(),K=bt(),G=it(),W=[Q.default,Y.default,z.default,(0,U.default)(!0),K.default,G.metadataVocabulary,G.contentVocabulary,J.default,I.default];$.default=W}),lu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}}}),ou0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}}}),ru0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}}}),su0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}}}),au0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}}}),tu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}}}),eu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),$b0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),Yb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=lu0(),z=ou0(),U=ru0(),Q=su0(),J=au0(),I=tu0(),K=eu0(),G=$b0(),W=["/properties"];function H(X){return[Y,z,U,Q,J,Z(this,I),K,Z(this,G)].forEach((q)=>this.addMetaSchema(q,void 0,!1)),this;function Z(q,V){return X?q.$dataMetaSchema(V,W):V}}$.default=H}),zb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2020=void 0;let z=rh(),U=mu0(),Q=eh(),J=Yb0(),I="https://json-schema.org/draft/2020-12/schema";var K=class extends z.default{constructor(Z={}){super({...Z,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),U.default.forEach((Z)=>this.addVocabulary(Z)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:Z,meta:q}=this.opts;if(!q)return;J.default.call(this,Z),this.refs["http://json-schema.org/schema"]=I}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(I)?I:void 0)}};$.Ajv2020=K,Y.exports=$=K,Y.exports.Ajv2020=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K;var G=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return G.KeywordCxt}});var W=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return W._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return W.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return W.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return W.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return W.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return W.CodeGen}});var H=XW();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return H.default}});var X=SQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return X.default}})}),Ub0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatNames=$.fastFormats=$.fullFormats=void 0;function Y(k,h){return{validate:k,compare:h}}$.fullFormats={date:Y(J,I),time:Y(G(!0),W),"date-time":Y(Z(!0),q),"iso-time":Y(G(),H),"iso-date-time":Y(Z(),V),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:w,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:b,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:D,int32:{type:"number",validate:T},int64:{type:"number",validate:B},float:{type:"number",validate:j},double:{type:"number",validate:j},password:!0,binary:!0},$.fastFormats={...$.fullFormats,date:Y(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,I),time:Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,W),"date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,q),"iso-time":Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,H),"iso-date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,V),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},$.formatNames=Object.keys($.fullFormats);function z(k){return k%4===0&&(k%100!==0||k%400===0)}let U=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Q=[0,31,28,31,30,31,30,31,31,30,31,30,31];function J(k){let h=U.exec(k);if(!h)return!1;let i=+h[1],c=+h[2],U0=+h[3];return c>=1&&c<=12&&U0>=1&&U0<=(c===2&&z(i)?29:Q[c])}function I(k,h){if(!(k&&h))return;if(k>h)return 1;if(k23||p>59||k&&!t)return!1;if(U0<=23&&x<=59&&d<60)return!0;let e=x-p*$0,y=U0-g*$0-(e<0?1:0);return(y===23||y===-1)&&(e===59||e===-1)&&d<61}}function W(k,h){if(!(k&&h))return;let i=new Date("2020-01-01T"+k).valueOf(),c=new Date("2020-01-01T"+h).valueOf();if(!(i&&c))return;return i-c}function H(k,h){if(!(k&&h))return;let i=K.exec(k),c=K.exec(h);if(!(i&&c))return;if(k=i[1]+i[2]+i[3],h=c[1]+c[2]+c[3],k>h)return 1;if(k=N}function B(k){return Number.isInteger(k)}function j(){return!0}let C=/[^\\]\\Z/;function b(k){if(C.test(k))return!1;try{return new RegExp(k),!0}catch(h){return!1}}}),Qb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatLimitDefinition=void 0;let Y=nt(),z=L1(),U=z.operators,Q={formatMaximum:{okStr:"<=",ok:U.LTE,fail:U.GT},formatMinimum:{okStr:">=",ok:U.GTE,fail:U.LT},formatExclusiveMaximum:{okStr:"<",ok:U.LT,fail:U.GTE},formatExclusiveMinimum:{okStr:">",ok:U.GT,fail:U.LTE}},J={message:({keyword:K,schemaCode:G})=>z.str`should be ${Q[K].okStr} ${G}`,params:({keyword:K,schemaCode:G})=>z._`{comparison: ${Q[K].okStr}, limit: ${G}}`};$.formatLimitDefinition={keyword:Object.keys(Q),type:"string",schemaType:"string",$data:!0,error:J,code(K){let{gen:G,data:W,schemaCode:H,keyword:X,it:Z}=K,{opts:q,self:V}=Z;if(!q.validateFormats)return;let F=new Y.KeywordCxt(Z,V.RULES.all.format.definition,"format");if(F.$data)M();else w();function M(){let D=G.scopeValue("formats",{ref:V.formats,code:q.code.formats}),N=G.const("fmt",z._`${D}[${F.schemaCode}]`);K.fail$data((0,z.or)(z._`typeof ${N} != "object"`,z._`${N} instanceof RegExp`,z._`typeof ${N}.compare != "function"`,O(N)))}function w(){let D=F.schema,N=V.formats[D];if(!N||N===!0)return;if(typeof N!="object"||N instanceof RegExp||typeof N.compare!="function")throw Error(`"${X}": format "${D}" does not define "compare" function`);let A=G.scopeValue("formats",{key:D,ref:N,code:q.code.formats?z._`${q.code.formats}${(0,z.getProperty)(D)}`:void 0});K.fail$data(O(A))}function O(D){return z._`${D}.compare(${W}, ${H}) ${Q[X].fail} 0`}},dependencies:["format"]};let I=(K)=>{return K.addKeyword($.formatLimitDefinition),K};$.default=I}),Jb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0});let z=Ub0(),U=Qb0(),Q=L1(),J=new Q.Name("fullFormats"),I=new Q.Name("fastFormats"),K=(W,H={keywords:!0})=>{if(Array.isArray(H))return G(W,H,z.fullFormats,J),W;let[X,Z]=H.mode==="fast"?[z.fastFormats,I]:[z.fullFormats,J];if(G(W,H.formats||z.formatNames,X,Z),H.keywords)(0,U.default)(W);return W};K.get=(W,H="full")=>{let X=(H==="fast"?z.fastFormats:z.fullFormats)[W];if(!X)throw Error(`Unknown format "${W}"`);return X};function G(W,H,X,Z){var q,V;(q=(V=W.opts.code).formats)!==null&&q!==void 0||(V.formats=Q._`require("ajv-formats/dist/formats").${Z}`);for(let F of H)W.addFormat(F,X[F])}Y.exports=$=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K}),rt=nt(),Ib0=du0(),Kb0=zb0(),Gb0=yq(Jb0(),1),Wb0=Gb0.default;ix1=rt.Ajv});import $S from"node:process";var Rw=o(()=>{st()});function zS($){return!!$&&typeof $==="object"&&Je in $}function Xb0($){return $[Je]?.complete}function Zb0($,Y){switch(Y.kind){case"tools_list_changed":return $.toolsListChanged===!0;case"prompts_list_changed":return $.promptsListChanged===!0;case"resources_list_changed":return $.resourcesListChanged===!0;case"resource_updated":return $.resourceSubscriptions!==void 0&&$.resourceSubscriptions.includes(Y.uri)}}function qb0($,Y){let z={},U=(Q)=>Y===void 0||Q===!0;if($.toolsListChanged===!0&&U(Y?.tools?.listChanged))z.toolsListChanged=!0;if($.promptsListChanged===!0&&U(Y?.prompts?.listChanged))z.promptsListChanged=!0;if($.resourcesListChanged===!0&&U(Y?.resources?.listChanged))z.resourcesListChanged=!0;if($.resourceSubscriptions!==void 0&&$.resourceSubscriptions.length>0&&U(Y?.resources?.subscribe))z.resourceSubscriptions=[...$.resourceSubscriptions];return z}function at($,Y){return{method:$.method,params:{...$.params,_meta:{...$.params?._meta,[SY]:Y}}}}function Vb0($){let Y=A3(WW).validateRequest("subscriptions/listen",$);return Y.ok?Y.value.params?.notifications:void 0}function Fb0($,Y){switch($){case"notifications/tools/list_changed":return{kind:"tools_list_changed"};case"notifications/prompts/list_changed":return{kind:"prompts_list_changed"};case"notifications/resources/list_changed":return{kind:"resources_list_changed"};default:return{kind:"resource_updated",uri:Y??""}}}function Ob0($){if($?.maxRounds!==void 0&&(!Number.isInteger($.maxRounds)||$.maxRounds<1))throw RangeError(`inputRequired.maxRounds must be a positive integer (got ${$.maxRounds})`);if($?.roundTimeoutMs!==void 0&&(!Number.isFinite($.roundTimeoutMs)||$.roundTimeoutMs<=0))throw RangeError(`inputRequired.roundTimeoutMs must be a positive number (got ${$.roundTimeoutMs})`);return{maxRounds:$?.maxRounds??wb0,roundTimeoutMs:$?.roundTimeoutMs??Mb0,legacyShim:$?.legacyShim??!0}}function Ke($,Y,z){if(z===null||typeof z!=="object"||typeof z.method!=="string")throw new J1(n0.InternalError,`Handler for ${$} returned an invalid input request '${Y}': each inputRequests entry must be an embedded elicitation/create, sampling/createMessage, or roots/list request`);let U=z,Q=ta(U);if(Q===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${Y}' of kind '${U.method}', which is not an embedded request the 2026-07-28 revision defines`);return{embedded:U,required:Q}}function Nb0(){let $=globalThis.crypto;if($?.randomUUID!==void 0)return $.randomUUID();let Y=new Uint8Array(16);$.getRandomValues(Y),Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128;let z=[...Y].map((U)=>U.toString(16).padStart(2,"0")).join("");return`${z.slice(0,8)}-${z.slice(8,12)}-${z.slice(12,16)}-${z.slice(16,20)}-${z.slice(20)}`}function YS($,Y){if($==="tools/call")return{content:[{type:"text",text:Y}],isError:!0};throw new J1(n0.InternalError,Y)}function US($,Y){Ge($,Y)}function QS($){return We($)}function Ab0($){return{...$}}function tt($,Y){if($){let U=Y;return async(Q,J)=>U(Q,J)}let z=Y;return async(U,Q)=>z(Q)}function $e($){if($===void 0)return;try{return E3($,"output")}catch{return}}function Ye($,Y,z){if(Y){let U=z;return async(Q,J)=>{let I=await kY(Y,Q);if(!I.success)throw new J1(n0.InvalidParams,`Invalid arguments for prompt ${$}: ${I.error}`);return U(I.data,J)}}else{let U=z;return async(Q,J)=>{return U(J)}}}function ze($){return{completion:{values:$.map(String).slice(0,100),total:$.length,hasMore:$.length>100}}}function Ue($){let Y=$;if(Y.shape&&typeof Y.shape==="object")return Y.shape}function Tb0($){return $?.type==="optional"}function Qe($){if(!Tb0($))return $;return $.def?.innerType??$}var Je,_w=1024,Lb0,Ie=class{_subs=new Map;_serverCapabilities;_serverInfo;constructor($=_w,Y,z){this._maxSubscriptions=$,this._serverCapabilities=Y,this._serverInfo=z}setServerCapabilities($,Y){if(this._serverCapabilities=$,Y!==void 0)this._serverInfo=Y}has($){return this._subs.has($)}serve($){if(this._serverCapabilities===void 0)throw Error("StdioListenRouter.serve() called before setServerCapabilities(); refusing to honor a filter without capabilities");if(this._subs.size>=this._maxSubscriptions)return{jsonrpc:"2.0",id:$.id,error:{code:-32603,message:"Subscription limit reached"}};let Y=Vb0($);if(Y===void 0)return{jsonrpc:"2.0",id:$.id,error:{code:-32602,message:"Invalid params: 'notifications' is required and must be a valid SubscriptionFilter"}};let z=qb0(Y,this._serverCapabilities);return this._subs.set($.id,z),at({method:"notifications/subscriptions/acknowledged",params:{notifications:z}},$.id)}cancel($){return this._subs.delete($)}routeOutbound($){if(!Lb0.has($.method))return"passthrough";let Y=$.params?.uri,z=typeof Y==="string"?Y:void 0,U=Fb0($.method,z),Q=[];for(let[J,I]of this._subs)if(Zb0(I,U))Q.push(at({method:$.method,params:$.params??{}},J));return Q}teardownAll(){let $=[];for(let Y of this._subs.keys())$.push({jsonrpc:"2.0",id:Y,result:{resultType:"complete",_meta:{[SY]:Y,...this._serverInfo!==void 0&&{[n5]:this._serverInfo}}}});return this._subs.clear(),$}},wb0=8,Mb0=600000,Db0=class{constructor($){this._host=$}async fulfill($,Y,z,U,Q){let{maxRounds:J,roundTimeoutMs:I}=this._host,K=U.mcpReq.signal,G=Q,W=0;while(!0){if(W+=1,W>J)return YS($,Ot($,J));let H=G.inputRequests,X=H!=null&&Object.keys(H).length>0,Z=typeof G.requestState==="string"?G.requestState:void 0;if(!X&&Z===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);let q;if(X){let M=this._host.resolvedClientCapabilities(U),w=[];for(let[D,N]of Object.entries(H)){let{embedded:A,required:T}=Ke($,D,N);if(A.method!=="roots/list"&&A.params===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${D}' of kind '${A.method}' without params`);if(Zw(T,M)!==void 0)return YS($,`Cannot request input '${D}' (${A.method}): the client on this 2025-era connection did not declare the required capability${M===void 0?" (no client capabilities are available on this connection — per-request legacy serving cannot receive server-to-client requests)":""}`);w.push([D,A])}let O=Dt(K);try{let D={relatedRequestId:U.mcpReq.id,timeout:I,resetTimeoutOnProgress:!0,onprogress:()=>{},signal:O.signal},N=await Promise.all(w.map(async([A,T])=>{try{return[A,await this._dispatchLeg(T,D)]}catch(B){throw O.abort(B),B}}));q=Object.fromEntries(N)}catch(D){if(K.aborted)throw D;return YS($,`Fulfilling input required by '${$}' failed: ${D instanceof Error?D.message:String(D)}`)}finally{O.dispose()}}else await Nt(Mt,K);let V={...U,mcpReq:{...U.mcpReq,inputResponses:q,droppedInputResponseKeys:void 0,requestState:HW(Z)}};if(Z!==void 0){let M=await this._host.verifyRequestState(Z,V,$);if(M!==void 0)V=ih(V,M)}let F=await Y(z,V);if(!o9(F))return F;G=F}}async _dispatchLeg($,Y){switch($.method){case"elicitation/create":{let z=$.params;if(z.mode==="url"&&z.elicitationId===void 0)z={...z,elicitationId:Nb0()};return await this._host.sendElicitation(z,Y)}case"sampling/createMessage":return await this._host.sendSampling($.params,Y);case"roots/list":return await this._host.listRoots($.params,Y)}}},Bb0,Pb0,Ge,We,He,qW=class{server;_registeredResources={};_registeredResourceTemplates={};_registeredTools={};_registeredPrompts={};_toolInputSchemaJson={};toolInputSchemaJson($){let Y=this._registeredTools[$];if(Y===void 0||!Y.enabled)return;if(Object.hasOwn(this._toolInputSchemaJson,$))return this._toolInputSchemaJson[$];if(Y.inputSchema===void 0)return et;try{let z=E3(Y.inputSchema,"input");return this._toolInputSchemaJson[$]=z,z}catch{return}}constructor($,Y){if(this.server=new He($,Y),Y?.capabilities?.tools)this.setToolRequestHandlers();if(Y?.capabilities?.resources)this.setResourceRequestHandlers();if(Y?.capabilities?.prompts)this.setPromptRequestHandlers()}async connect($){return await this.server.connect($)}async close(){await this.server.close()}_toolHandlersInitialized=!1;setToolRequestHandlers(){if(this._toolHandlersInitialized)return;this.server.assertCanSetRequestHandler("tools/list"),this.server.assertCanSetRequestHandler("tools/call"),this.server.registerCapabilities({tools:{listChanged:this.server.getCapabilities().tools?.listChanged??!0}}),this.server.setRequestHandler("tools/list",()=>({tools:Object.entries(this._registeredTools).filter(([,$])=>$.enabled).map(([$,Y])=>{let z={name:$,title:Y.title,description:Y.description,inputSchema:Y.inputSchema?E3(Y.inputSchema,"input"):et,annotations:Y.annotations,icons:Y.icons,execution:Y.execution,_meta:Y._meta};if(Y.outputSchema)z.outputSchema=E3(Y.outputSchema,"output");return z})})),this.server.setRequestHandler("tools/call",async($,Y)=>{let z=this._registeredTools[$.params.name];if(!z)throw new J1(n0.InvalidParams,`Tool ${$.params.name} not found`);if(!z.enabled)throw new J1(n0.InvalidParams,`Tool ${$.params.name} disabled`);try{let U=await this.validateToolInput(z,$.params.arguments,$.params.name),Q=await this.executeToolHandler(z,U,Y);if(await this.validateToolOutput(z,Q,$.params.name),o9(Q))return Q;return this.server.projectCallToolResult(Q,z.outputSchemaJson)}catch(U){if(U instanceof J1&&U.code===n0.UrlElicitationRequired)throw U;return this.createToolError(U instanceof Error?U.message:String(U))}}),this._toolHandlersInitialized=!0}createToolError($){return{content:[{type:"text",text:$}],isError:!0}}async validateToolInput($,Y,z){if(!$.inputSchema)return;let U=await kY($.inputSchema,Y??{});if(!U.success)throw new J1(n0.InvalidParams,`Input validation error: Invalid arguments for tool ${z}: ${U.error}`);return U.data}async validateToolOutput($,Y,z){if(!$.outputSchema)return;if(o9(Y))return;if(Y.isError)return;if(Y.structuredContent===void 0)throw new J1(n0.InvalidParams,`Output validation error: Tool ${z} has an output schema but no structured content was provided`);let U=await kY($.outputSchema,Y.structuredContent);if(!U.success)throw new J1(n0.InvalidParams,`Output validation error: Invalid structured content for tool ${z}: ${U.error}`)}async executeToolHandler($,Y,z){return $.executor(Y,z)}_completionHandlerInitialized=!1;setCompletionRequestHandler(){if(this._completionHandlerInitialized)return;this.server.assertCanSetRequestHandler("completion/complete"),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler("completion/complete",async($)=>{switch($.params.ref.type){case"ref/prompt":return yh($),this.handlePromptCompletion($,$.params.ref);case"ref/resource":return kh($),this.handleResourceCompletion($,$.params.ref);default:throw new J1(n0.InvalidParams,`Invalid completion reference: ${$.params.ref}`)}}),this._completionHandlerInitialized=!0}async handlePromptCompletion($,Y){let z=this._registeredPrompts[Y.name];if(!z)throw new J1(n0.InvalidParams,`Prompt ${Y.name} not found`);if(!z.enabled)throw new J1(n0.InvalidParams,`Prompt ${Y.name} disabled`);if(!z.argsSchema)return ZW;let U=Qe(Ue(z.argsSchema)?.[$.params.argument.name]);if(!zS(U))return ZW;let Q=Xb0(U);if(!Q)return ZW;return ze(await Q($.params.argument.value,$.params.context))}async handleResourceCompletion($,Y){let z=Object.values(this._registeredResourceTemplates).find((Q)=>Q.resourceTemplate.uriTemplate.toString()===Y.uri);if(!z){if(this._registeredResources[Y.uri])return ZW;throw new J1(n0.InvalidParams,`Resource template ${$.params.ref.uri} not found`)}let U=z.resourceTemplate.completeCallback($.params.argument.name);if(!U)return ZW;return ze(await U($.params.argument.value,$.params.context))}_resourceHandlersInitialized=!1;setResourceRequestHandlers(){if(this._resourceHandlersInitialized)return;this.server.assertCanSetRequestHandler("resources/list"),this.server.assertCanSetRequestHandler("resources/templates/list"),this.server.assertCanSetRequestHandler("resources/read"),this.server.registerCapabilities({resources:{listChanged:this.server.getCapabilities().resources?.listChanged??!0}}),this.server.setRequestHandler("resources/list",async($,Y)=>{let z=Object.entries(this._registeredResources).filter(([Q,J])=>J.enabled).map(([Q,J])=>({uri:Q,name:J.name,...J.metadata})),U=[];for(let Q of Object.values(this._registeredResourceTemplates)){if(!Q.resourceTemplate.listCallback)continue;let J=await Q.resourceTemplate.listCallback(Y);for(let I of J.resources)U.push({...Q.metadata,...I})}return{resources:[...z,...U]}}),this.server.setRequestHandler("resources/templates/list",async()=>{return{resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([$,Y])=>({name:$,uriTemplate:Y.resourceTemplate.uriTemplate.toString(),...Y.metadata}))}}),this.server.setRequestHandler("resources/read",async($,Y)=>{let z;try{z=new URL($.params.uri)}catch{throw new J1(n0.InvalidParams,`Resource URI ${$.params.uri} is invalid`,{uri:$.params.uri,reason:"invalid_uri"})}let U=this._registeredResources[z.toString()];if(U){if(!U.enabled)throw new J1(n0.InvalidParams,`Resource ${z} disabled`);return qw(await U.readCallback(z,Y),U.cacheHint)}for(let Q of Object.values(this._registeredResourceTemplates)){let J=Q.resourceTemplate.uriTemplate.match(z.toString());if(J)return qw(await Q.readCallback(z,J,Y),Q.cacheHint)}throw new Vw($.params.uri)}),this._resourceHandlersInitialized=!0}_promptHandlersInitialized=!1;setPromptRequestHandlers(){if(this._promptHandlersInitialized)return;this.server.assertCanSetRequestHandler("prompts/list"),this.server.assertCanSetRequestHandler("prompts/get"),this.server.registerCapabilities({prompts:{listChanged:this.server.getCapabilities().prompts?.listChanged??!0}}),this.server.setRequestHandler("prompts/list",()=>({prompts:Object.entries(this._registeredPrompts).filter(([,$])=>$.enabled).map(([$,Y])=>{return{name:$,title:Y.title,description:Y.description,arguments:Y.argsSchema?wt(Y.argsSchema):void 0,icons:Y.icons,_meta:Y._meta}})})),this.server.setRequestHandler("prompts/get",async($,Y)=>{let z=this._registeredPrompts[$.params.name];if(!z)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} not found`);if(!z.enabled)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} disabled`);return z.handler($.params.arguments,Y)}),this._promptHandlersInitialized=!0}registerResource($,Y,z,U){let Q=z.cacheHint,J=z;if(Q!==void 0){hh(Q,`resource ${$}`);let I={...z};delete I.cacheHint,J=I}if(typeof Y==="string"){if(this._registeredResources[Y])throw Error(`Resource ${Y} is already registered`);let I=this._createRegisteredResource($,z.title,Y,J,U);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}else{if(this._registeredResourceTemplates[$])throw Error(`Resource template ${$} is already registered`);let I=this._createRegisteredResourceTemplate($,z.title,Y,J,U);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}}_createRegisteredResource($,Y,z,U,Q){let J={name:$,title:Y,metadata:U,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({uri:null}),update:(I)=>{if(I.uri!==void 0&&I.uri!==z){if(delete this._registeredResources[z],I.uri)this._registeredResources[I.uri]=J}if(I.name!==void 0)J.name=I.name;if(I.title!==void 0)J.title=I.title;if(I.metadata!==void 0)J.metadata=I.metadata;if(I.callback!==void 0)J.readCallback=I.callback;if(I.enabled!==void 0)J.enabled=I.enabled;this.sendResourceListChanged()}};return this._registeredResources[z]=J,J}_createRegisteredResourceTemplate($,Y,z,U,Q){let J={resourceTemplate:z,title:Y,metadata:U,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({name:null}),update:(K)=>{if(K.name!==void 0&&K.name!==$){if(delete this._registeredResourceTemplates[$],K.name)this._registeredResourceTemplates[K.name]=J}if(K.title!==void 0)J.title=K.title;if(K.template!==void 0)J.resourceTemplate=K.template;if(K.metadata!==void 0)J.metadata=K.metadata;if(K.callback!==void 0)J.readCallback=K.callback;if(K.enabled!==void 0)J.enabled=K.enabled;this.sendResourceListChanged()}};this._registeredResourceTemplates[$]=J;let I=z.uriTemplate.variableNames;if(Array.isArray(I)&&I.some((K)=>!!z.completeCallback(K)))this.setCompletionRequestHandler();return J}_createRegisteredPrompt($,Y,z,U,Q,J,I){let K=U,G=Q,W={title:Y,description:z,argsSchema:U,icons:J,_meta:I,handler:Ye($,U,Q),enabled:!0,disable:()=>W.update({enabled:!1}),enable:()=>W.update({enabled:!0}),remove:()=>W.update({name:null}),update:(H)=>{if(H.name!==void 0&&H.name!==$){if(delete this._registeredPrompts[$],H.name)this._registeredPrompts[H.name]=W}if(H.title!==void 0)W.title=H.title;if(H.description!==void 0)W.description=H.description;if(H.icons!==void 0)W.icons=H.icons;if(H._meta!==void 0)W._meta=H._meta;let X=!1;if(H.argsSchema!==void 0)W.argsSchema=H.argsSchema,K=H.argsSchema,X=!0;if(H.callback!==void 0)G=H.callback,X=!0;if(X)W.handler=Ye($,K,G);if(H.enabled!==void 0)W.enabled=H.enabled;this.sendPromptListChanged()}};if(this._registeredPrompts[$]=W,U){let H=Ue(U);if(H){if(Object.values(H).some((X)=>{return zS(Qe(X))}))this.setCompletionRequestHandler()}}return W}_createRegisteredTool($,Y,z,U,Q,J,I,K,G,W){if(lh($),U!==void 0)try{let Z=E3(U,"input");this._toolInputSchemaJson[$]=Z;let q=xh(Z);if(!q.valid)console.warn(`[mcp-sdk] tool '${$}' carries an invalid x-mcp-header declaration and will be excluded by conforming Streamable HTTP clients: ${q.reason}`)}catch{}let H=W,X={title:Y,description:z,inputSchema:U,outputSchema:Q,outputSchemaJson:$e(Q),annotations:J,icons:I,execution:K,_meta:G,handler:W,executor:tt(U,W),enabled:!0,disable:()=>X.update({enabled:!1}),enable:()=>X.update({enabled:!0}),remove:()=>X.update({name:null}),update:(Z)=>{if(Z.name!==void 0&&Z.name!==$){if(typeof Z.name==="string")lh(Z.name);if(delete this._registeredTools[$],delete this._toolInputSchemaJson[$],Z.name)delete this._toolInputSchemaJson[Z.name],this._registeredTools[Z.name]=X,$=Z.name}if(Z.title!==void 0)X.title=Z.title;if(Z.description!==void 0)X.description=Z.description;let q=!1;if(Z.paramsSchema!==void 0)X.inputSchema=Z.paramsSchema,delete this._toolInputSchemaJson[$],q=!0;if(Z.callback!==void 0)X.handler=Z.callback,H=Z.callback,q=!0;if(q)X.executor=tt(X.inputSchema,H);if(Z.outputSchema!==void 0)X.outputSchema=Z.outputSchema,X.outputSchemaJson=$e(Z.outputSchema);if(Z.annotations!==void 0)X.annotations=Z.annotations;if(Z.icons!==void 0)X.icons=Z.icons;if(Z._meta!==void 0)X._meta=Z._meta;if(Z.enabled!==void 0)X.enabled=Z.enabled;this.sendToolListChanged()}};return this._registeredTools[$]=X,this.setToolRequestHandlers(),this.sendToolListChanged(),X}registerTool($,Y,z){if(this._registeredTools[$])throw Error(`Tool ${$} is already registered`);let{title:U,description:Q,inputSchema:J,outputSchema:I,annotations:K,icons:G,_meta:W}=Y;return this._createRegisteredTool($,U,Q,Dw(J),Dw(I),K,G,void 0,W,z)}registerPrompt($,Y,z){if(this._registeredPrompts[$])throw Error(`Prompt ${$} is already registered`);let{title:U,description:Q,argsSchema:J,icons:I,_meta:K}=Y,G=this._createRegisteredPrompt($,U,Q,Dw(J),z,I,K);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),G}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage($,Y){return this.server.sendLoggingMessage($,Y)}sendResourceListChanged(){if(this.isConnected())this.server.sendResourceListChanged()}sendToolListChanged(){if(this.isConnected())this.server.sendToolListChanged()}sendPromptListChanged(){if(this.isConnected())this.server.sendPromptListChanged()}},et,ZW;var JS=o(()=>{Bw();Rw();Je=Symbol.for("mcp.completable");Lb0=new Set(["notifications/tools/list_changed","notifications/prompts/list_changed","notifications/resources/list_changed","notifications/resources/updated"]);Bb0=new Set(["tools/call","prompts/get","resources/read"]);He=class extends nh{_clientCapabilities;_clientVersion;static{Pb0=($,Y)=>{if(Y.clientCapabilities!==void 0)$._clientCapabilities=Y.clientCapabilities;if(Y.clientInfo!==void 0)$._clientVersion=Y.clientInfo},Ge=($,Y)=>{let z=Y.filter((U)=>!$._supportedProtocolVersions.includes(U));if(z.length>0)$._supportedProtocolVersions=[...$._supportedProtocolVersions,...z];$.setRequestHandler("server/discover",()=>$._ondiscover())},We=($)=>$._serverInfo}_capabilities;_instructions;_jsonSchemaValidator;_cacheHints;_requestStateVerify;_inputRequiredServing;_legacyShim;_legacyInputRequiredShim(){return this._legacyShim??=new Db0({maxRounds:this._inputRequiredServing.maxRounds,roundTimeoutMs:this._inputRequiredServing.roundTimeoutMs,resolvedClientCapabilities:($)=>this._inputRequestCapabilityView($),verifyRequestState:($,Y,z)=>this._verifyRequestState($,Y,z),sendElicitation:($,Y)=>this._sendElicitationLeg($,Y,{validateAcceptedContent:!1}),sendSampling:($,Y)=>this.createMessage($,Y),listRoots:($,Y)=>this.listRoots($,Y)})}oninitialized;constructor($,Y){super(Y);if(this._serverInfo=$,this._capabilities=Y?.capabilities?{...Y.capabilities}:{},this._instructions=Y?.instructions,this._jsonSchemaValidator=Y?.jsonSchemaValidator??new Cw,this._requestStateVerify=Y?.requestState?.verify,this._inputRequiredServing=Ob0(Y?.inputRequired),Y?.cacheHints!==void 0){for(let[z,U]of Object.entries(Y.cacheHints))if(U!==void 0)hh(U,`cacheHints['${z}']`);this._cacheHints=Y.cacheHints}if(this.setRequestHandler("initialize",(z)=>this._oninitialize(z)),this.setNotificationHandler("notifications/initialized",()=>this.oninitialized?.()),jh(this._supportedProtocolVersions).length>0)this.setRequestHandler("server/discover",()=>this._ondiscover());if(this._capabilities.logging)this._registerLoggingHandler()}_registerLoggingHandler(){this.setRequestHandler("logging/setLevel",async($,Y)=>{let z=Y.sessionId||Y.http?.req?.headers.get("mcp-session-id")||void 0,{level:U}=$.params,Q=Nw(B3,U);if(Q.success)this._loggingLevels.set(z,Q.data);return{}})}buildContext($,Y){let z=$.http||Y?.request||Y?.closeSSEStream||Y?.closeStandaloneSSEStream;return{...$,mcpReq:{...$.mcpReq,log:(U,Q,J)=>{if(!this._capabilities.logging)return Promise.resolve();let I;if(this._servedModernEra()){if(I=$.mcpReq.envelope?.[F3],I===void 0)return Promise.resolve()}else I=this._loggingLevels.get($.sessionId)??this._loggingLevels.get(void 0);if(I!==void 0&&this.LOG_LEVEL_SEVERITY.get(U)this.elicitInput(U,Q),requestSampling:(U,Q)=>this.createMessage(U,Q)},http:z?{...$.http,req:Y?.request,closeSSE:Y?.closeSSEStream,closeStandaloneSSE:Y?.closeStandaloneSSEStream}:void 0}}_loggingLevels=new Map;LOG_LEVEL_SEVERITY=new Map(B3.options.map(($,Y)=>[$,Y]));isMessageIgnored=($,Y)=>{let z=this._loggingLevels.get(Y);return z?this.LOG_LEVEL_SEVERITY.get($){let I=await Y(Q,J);if(o9(I))throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I};return async(Q,J)=>{let I=U?await this._invokeInputRequiredCapableHandler($,Y,Q,J):await Y(Q,J);if(o9(I)){if(!U)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I}return z===void 0?I:qw(I,z)}}return async(z,U)=>{let Q=A3(this._negotiatedProtocolVersion),J=Q.validateRequest("tools/call",z);if(!J.ok)throw new J1(J.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,J.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call request: ${J.message}`);let I=await this._invokeInputRequiredCapableHandler("tools/call",Y,z,U);if(o9(I))return I;let K=Eh(I),G=Q.validateResult("tools/call",K);if(!G.ok)throw new J1(G.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,G.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call result: ${G.message}`);return G.value}}_servedModernEra(){return this._negotiatedProtocolVersion!==void 0&&_Q(this._negotiatedProtocolVersion)}async _invokeInputRequiredCapableHandler($,Y,z,U){let Q=this._servedModernEra(),J=U.mcpReq.requestState();if(J!==void 0&&typeof J!=="string")throw new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"});let I=U;if(typeof J==="string"){let X=await this._verifyRequestState(J,U,$);if(X!==void 0)I=ih(U,X)}let K;try{K=await Y(z,I)}catch(X){if(X instanceof J1&&X.code===n0.UrlElicitationRequired){if(!Q)throw X;throw new J1(n0.InternalError,`URL elicitation cannot be signalled by throwing UrlElicitationRequiredError on protocol revision ${this._negotiatedProtocolVersion}: return inputRequired({ inputRequests: { …: inputRequired.elicitUrl(...) } }) from the handler instead. The urlElicitationRequired error (-32042) of earlier revisions is not available on this revision.`)}throw X}if(!o9(K))return K;if(!Q){if(!this._inputRequiredServing.legacyShim)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but this request is served on protocol revision ${this._negotiatedProtocolVersion??hY}, which has no input_required vocabulary`);return await this._legacyInputRequiredShim().fulfill($,Y,z,I,K)}let G=K.inputRequests,W=G!=null&&Object.keys(G).length>0,H=typeof K.requestState==="string";if(!W&&!H)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);if(W){let X=this._inputRequestCapabilityView(U);for(let[Z,q]of Object.entries(G)){let{embedded:V,required:F}=Ke($,Z,q),M=Zw(F,X);if(M!==void 0)throw new Lw({requiredCapabilities:M},`Cannot request input '${Z}' (${V.method}): the request's client capabilities do not declare the required capability`)}}return K}async _verifyRequestState($,Y,z){if(this._requestStateVerify===void 0)return;try{return await this._requestStateVerify($,Y)}catch(U){throw this.onerror?.(Error(`requestState verification rejected ${z}: ${U instanceof Error?U.message:String(U)}`)),new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"})}}_inputRequestCapabilityView($){return this._servedModernEra()?$.mcpReq.envelope?.[m9]:this._clientCapabilities}_assertPushApiInServedEra($){if(this._servedModernEra())throw new V1(B1.MethodNotSupportedByProtocolVersion,`Server-to-client requests are not available on protocol revision ${this._negotiatedProtocolVersion}: '${$}' cannot be sent while serving a request on that revision. Return inputRequired({ ... }) from the handler instead — the client fulfils the embedded requests and retries the original request (multi round-trip requests).`,{method:$,era:"2026-07-28"})}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw new V1(B1.CapabilityNotSupported,`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw new V1(B1.CapabilityNotSupported,`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw new V1(B1.CapabilityNotSupported,`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw new V1(B1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new V1(B1.CapabilityNotSupported,`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new V1(B1.CapabilityNotSupported,`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new V1(B1.CapabilityNotSupported,`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw new V1(B1.CapabilityNotSupported,`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){switch($){case"completion/complete":if(!this._capabilities.completions)throw new V1(B1.CapabilityNotSupported,`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new V1(B1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new V1(B1.CapabilityNotSupported,`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new V1(B1.CapabilityNotSupported,`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new V1(B1.CapabilityNotSupported,`Server does not support tools (required for ${$})`);break;case"ping":case"initialize":break}}async _oninitialize($){let Y=$.params.protocolVersion;this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo;let z=$t(this._supportedProtocolVersions),U=z.includes(Y)?Y:z[0]??hY;return this._negotiatedProtocolVersion=U,this.transport?.setProtocolVersion?.(U),{protocolVersion:U,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}_ondiscover(){return{supportedVersions:jh(this._supportedProtocolVersions),capabilities:Ab0(this.getCapabilities()),...this._instructions&&{instructions:this._instructions}}}_outboundServerInfo(){return this._serverInfo}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getNegotiatedProtocolVersion(){return this._negotiatedProtocolVersion}projectCallToolResult($,Y){return this._wireCodec().projectCallToolResult($,Y)}getCapabilities(){return this._capabilities}async ping(){return this._assertPushApiInServedEra("ping"),this.request({method:"ping"})}async createMessage($,Y){if(this._assertPushApiInServedEra("sampling/createMessage"),($.tools||$.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw new V1(B1.CapabilityNotSupported,"Client does not support sampling tools capability.");if($.messages.length>0){let J=$.messages.at(-1),I=Array.isArray(J.content)?J.content:[J.content],K=I.some((X)=>X.type==="tool_result"),G=$.messages.length>1?$.messages.at(-2):void 0,W=G?Array.isArray(G.content)?G.content:[G.content]:[],H=W.some((X)=>X.type==="tool_use");if(K){if(I.some((X)=>X.type!=="tool_result"))throw new J1(n0.InvalidParams,"The last message must contain only tool_result content if any is present");if(!H)throw new J1(n0.InvalidParams,"tool_result blocks are not matching any tool_use from the previous message")}if(H){let X=new Set(W.filter((q)=>q.type==="tool_use").map((q)=>q.id)),Z=new Set(I.filter((q)=>q.type==="tool_result").map((q)=>q.toolUseId));if(X.size!==Z.size||![...X].every((q)=>Z.has(q)))throw new J1(n0.InvalidParams,"ids of tool_result blocks and tool_use blocks from previous message do not match")}}let z=Boolean($.tools||$.toolChoice),U=await this.request({method:"sampling/createMessage",params:$},Y),Q=this._wireCodec().samplingResultVariant(z,U);if(!Q.ok)throw new V1(B1.InvalidResult,`Invalid sampling/createMessage result: ${Q.reason==="invalid"?Q.message:Q.reason}`);return Q.value}async elicitInput($,Y){switch(this._assertPushApiInServedEra("elicitation/create"),$.mode??"form"){case"url":if(!this._clientCapabilities?.elicitation?.url)throw new V1(B1.CapabilityNotSupported,"Client does not support url elicitation.");break;case"form":if(!this._clientCapabilities?.elicitation?.form)throw new V1(B1.CapabilityNotSupported,"Client does not support form elicitation.");break}return this._sendElicitationLeg($,Y)}async _sendElicitationLeg($,Y,z){let U=$.mode??"form",Q=z?.validateAcceptedContent??!0;switch(U){case"url":{let J=$;return this.request({method:"elicitation/create",params:J},Y)}case"form":{let J=$.mode==="form"?$:{...$,mode:"form"},I=await this.request({method:"elicitation/create",params:J},Y);if(Q&&I.action==="accept"&&I.content&&J.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(J.requestedSchema)(I.content);if(!K.valid)throw new J1(n0.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(K){if(K instanceof J1)throw K;throw new J1(n0.InternalError,`Error validating elicitation response: ${K instanceof Error?K.message:String(K)}`)}return I}}}createElicitationCompletionNotifier($,Y){if(!this._clientCapabilities?.elicitation?.url)throw new V1(B1.CapabilityNotSupported,"Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},Y)}async listRoots($,Y){return this._assertPushApiInServedEra("roots/list"),this.request({method:"roots/list",params:$},Y)}async sendLoggingMessage($,Y){if(this._capabilities.logging&&!this.isMessageIgnored($.level,Y))return this.notification({method:"notifications/message",params:$})}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};et={type:"object",properties:{}};ZW={completion:{values:[],hasMore:!1}}});var Xe=o(()=>{JS();Bw();Rw()});function Cb0($){let Y=$.params;if($.method==="initialize"&&!fh(Y)){let J=Y!==null&&typeof Y==="object"&&typeof Y.protocolVersion==="string"?Y.protocolVersion:void 0;return{kind:"legacy",reason:"initialize",...J!==void 0&&{requestedVersion:J}}}if(!Fw(Y))return{kind:"legacy",reason:"no-claim"};let z=fY(Y),U=(z===void 0?[]:Mw(z))[0];if(U!==void 0)return{kind:"invalid-envelope",issue:U};let Q=ww(Y);if(Q===void 0||!T3.includes(Q))return{kind:"unsupported-revision",requested:Q??"unknown"};return{kind:"modern",revision:Q,classification:{era:"modern",revision:Q}}}function qe($,Y={}){let z=Y.legacy??"serve",U=Y.transport??new jb0,Q={phase:"opening"},J,I=!1,K=()=>I||Q.phase==="closed",G=(j)=>{try{Y.onerror?.(j)}catch{}},W=(j,C,b,k)=>U.send({jsonrpc:"2.0",id:j,error:{code:C,message:b,...k!==void 0&&{data:k}}}).catch((h)=>G(J5(h))),H=new Ie(Y.maxSubscriptions??_w),X=(j)=>{if(!j3(j))return;let C=H.routeOutbound(j);if(C==="passthrough")return;for(let b of C)U.send({jsonrpc:"2.0",...b}).catch((k)=>G(J5(k)));return"handled"},Z=async(j)=>{if(D$(j)&&j.method==="subscriptions/listen"){let C=fY(j.params),b=Fw(j.params)?(C===void 0?[]:Mw(C))[0]:{key:"_meta",problem:"the per-request envelope is required on protocol revision 2026-07-28"},k=ww(j.params),h;if(b!==void 0)h={jsonrpc:"2.0",id:j.id,error:{code:-32602,message:`Invalid _meta envelope: ${b.key}: ${b.problem}`}};else if(k===void 0||!T3.includes(k)){let i=new vQ({supported:[...T3],requested:k??"unknown"});h={jsonrpc:"2.0",id:j.id,error:{code:i.code,message:i.message,data:i.data}}}else h=H.serve(j);return await U.send("error"in h?h:{jsonrpc:"2.0",method:h.method,params:h.params}).catch((i)=>G(J5(i))),!0}if(j3(j)&&j.method==="notifications/cancelled"){let C=j.params?.requestId;if(C!==void 0&&H.cancel(C))return!0}return!1},q=(j,C,b)=>{let k=uh({kind:"legacy",reason:C,...b!==void 0&&{requestedVersion:b}},T3);if(k===void 0)return Promise.resolve();return G(Error(`Rejected 2025-era request on a modern-only stdio connection (${k.cell}): ${k.message}`)),W(j.id,k.code,k.message,k.data)},V=(j)=>{if(I||j===J)return;T()},F=async(j,C)=>{let b=await $({era:j}),k=b instanceof qW?b.server:b;if(j==="modern")ch(k,C),US(k,T3),H.setServerCapabilities(k.getCapabilities(),QS(k));let h=new Eb0(U,()=>V(h),j==="modern"?X:void 0);return await b.connect(h),{product:b,channel:h}},M=(j)=>j.product.close().catch((C)=>G(J5(C))),w=async(j)=>{J=j.channel;try{if(!await j.channel.whenRequestsAnswered(Ze))G(Error(`Discarded the probe instance with requests still unanswered after ${Ze}ms; continuing with the fallback`));await j.product.close()}catch(C){G(J5(C))}finally{J=void 0}},O=async(j)=>{if(Q.phase==="closed")return;if(Q.phase==="pinned"){if(Q.era==="modern"&&D$(j)&&j.method==="initialize"&&!fh(j.params)){await q(j,"initialize",j.params!==null&&typeof j.params==="object"&&typeof j.params.protocolVersion==="string"?j.params.protocolVersion:void 0);return}if(Q.era==="modern"&&await Z(j))return;Q.instance.channel.deliver(j);return}if(!D$(j)&&!j3(j)){G(Error("Discarded a JSON-RPC response received before the connection negotiated an era"));return}let C=Cb0(j);switch(C.kind){case"invalid-envelope":{let b=`Invalid _meta envelope for protocol revision 2026-07-28: ${C.issue.key}: ${C.issue.problem}`;if(D$(j))await W(j.id,n0.InvalidParams,b,{envelope:C.issue});else G(Error(`Discarded a notification with a malformed envelope: ${b}`));return}case"unsupported-revision":if(D$(j)){let b=new vQ({supported:[...T3],requested:C.requested});G(b),await W(j.id,b.code,b.message,b.data)}else G(Error(`Discarded a notification claiming unsupported protocol revision ${C.requested}`));return;case"modern":if(D$(j)&&j.method==="server/discover"){if(Q.phase==="probe"){Q.instance.channel.deliver(j,{classification:C.classification});return}let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"probe",instance:b},b.channel.deliver(j,{classification:C.classification});return}if(Q.phase==="probe"){if(j3(j)){Q.instance.channel.deliver(j,{classification:C.classification});return}Q={phase:"pinned",era:"modern",instance:Q.instance}}else{let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"pinned",era:"modern",instance:b}}if(await Z(j))return;Q.instance.channel.deliver(j,{classification:C.classification});return;case"legacy":{if(z==="reject"){if(D$(j))await q(j,C.reason,C.requestedVersion);return}if(Q.phase==="probe"){if(await w(Q.instance),K())return;Q={phase:"opening"}}let b=await F("legacy");if(K()){await M(b);return}Q={phase:"pinned",era:"legacy",instance:b},Q.instance.channel.deliver(j);return}}},D=[],N=!1,A=async()=>{if(N)return;N=!0;try{while(D.length>0){let j=D.shift();try{await O(j)}catch(C){if(D$(j))await W(j.id,n0.InternalError,"Internal server error");G(J5(C))}}}finally{N=!1}},T=async()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;Q={phase:"closed"};for(let C of H.teardownAll())await U.send(C).catch((b)=>G(J5(b)));if(j.phase==="probe"||j.phase==="pinned")await j.instance.product.close().catch((C)=>G(J5(C)));await U.close().catch((C)=>G(J5(C)))};U.onmessage=(j)=>{D.push(j),A()},U.onerror=(j)=>{if(G(j),Q.phase==="probe"||Q.phase==="pinned")Q.instance.channel.onerror?.(j)},U.onclose=()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;if(Q={phase:"closed"},j.phase==="probe"||j.phase==="pinned")j.instance.product.close().catch((C)=>G(J5(C)))};let B=U.start().catch((j)=>{throw G(J5(j)),j});return B.catch(()=>{}),{close:async()=>{await B.catch(()=>{}),await T()}}}function J5($){return $ instanceof Error?$:Error(String($))}var jb0=class{_readBuffer;_started=!1;_closed=!1;constructor($=$S.stdin,Y=$S.stdout,z){this._stdin=$,this._stdout=Y,this._readBuffer=new dh({maxBufferSize:z?.maxBufferSize})}onclose;onerror;onmessage;_ondata=($)=>{try{this._readBuffer.append($),this.processReadBuffer()}catch(Y){this.onerror?.(Y),this.close().catch(()=>{})}};_onerror=($)=>{this.onerror?.($)};_onstdouterror=($)=>{this.onerror?.($),this.close().catch(()=>{})};async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror),this._stdout.on("error",this._onstdouterror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._closed)return;if(this._closed=!0,this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdout.off("error",this._onstdouterror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){if(this._closed)return Promise.reject(Error("StdioServerTransport is closed"));return new Promise((Y,z)=>{let U=mh($),Q=!1,J=(K)=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),z(K)},I=()=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),Y()};if(this._stdout.once("error",J),this._stdout.write(U)){if(Q)return;Q=!0,this._stdout.off("error",J),Y()}else if(!Q)this._stdout.once("drain",I)})}},Ze=3000,Eb0=class{onclose;onerror;onmessage;_closed=!1;_pendingRequests=new Set;_drainWaiters=[];constructor($,Y,z){this._wire=$,this._onInstanceClose=Y,this._outboundIntercept=z}async start(){}async send($,Y){if(KW($)||Ow($)){let{id:z}=$;if(z!==void 0)this._settle(z)}if(this._closed)return;if(this._outboundIntercept?.($)==="handled")return;return this._wire.send($,Y)}setProtocolVersion=($)=>{this._wire.setProtocolVersion?.($)};deliver($,Y){if(this._closed)return;if(D$($))this._pendingRequests.add($.id);else if(j3($)&&$.method==="notifications/cancelled"){let z=$.params?.requestId;if(z!==void 0)this._settle(z)}this.onmessage?.($,Y)}async whenRequestsAnswered($){if(this._closed||this._pendingRequests.size===0)return!0;return await new Promise((Y)=>{let z=()=>{clearTimeout(U),Y(!0)},U=setTimeout(()=>{this._drainWaiters=this._drainWaiters.filter((Q)=>Q!==z),Y(!1)},$);this._drainWaiters.push(z)})}async close(){if(this._closed)return;this._closed=!0,this._pendingRequests.clear(),this._releaseDrainWaiters();try{this._onInstanceClose()}finally{this.onclose?.()}}_settle($){if(this._pendingRequests.delete($),this._pendingRequests.size===0)this._releaseDrainWaiters()}_releaseDrainWaiters(){let $=this._drainWaiters;this._drainWaiters=[];for(let Y of $)Y()}};var Ve=o(()=>{JS();Bw();Rw()});var B$=o(()=>{FL();FL()});var r9;var VW=o(()=>{r9=class r9 extends Error{name="KyError";get isKyError(){return!0}}});var D6;var vw=o(()=>{VW();D6=class D6 extends r9{name="HTTPError";response;request;options;data;constructor($,Y,z){let U=$.status||$.status===0?$.status:"",Q=$.statusText??"",J=`${U} ${Q}`.trim(),I=J?`status code ${J}`:"an unknown error";super(`Request failed with ${I}: ${Y.method} ${Y.url}`);this.response=$,this.request=Y,this.options=z}}});var LW;var IS=o(()=>{VW();LW=class LW extends r9{name="NetworkError";request;constructor($,Y){super(`Request failed due to a network error: ${$.method} ${$.url}`,Y);this.request=$}}});var FW;var KS=o(()=>{FW=class FW extends Error{name="NonError";value;constructor($){let Y="Non-error value was thrown";try{if(typeof $==="string")Y=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")Y=$.message}catch{}super(Y);this.value=$}}});var gQ;var Le=o(()=>{VW();KS();gQ=class gQ extends r9{name="ForceRetryError";customDelay;code;customRequest;constructor($){let Y=$?.cause?$.cause instanceof Error?$.cause:new FW($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",Y?{cause:Y}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}});var GS;var Fe=o(()=>{GS=class GS extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}});var I5;var hw=o(()=>{VW();I5=class I5 extends r9{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}});class kw{options;constructor($){this.options=$}}var WS,we,Sw,Me,Oe,gw,Rb0=()=>{return},Ne,yQ=2147483647,De=40,yw,Be=($)=>new kw($),Pe,Ae;var uY=o(()=>{WS=(()=>{let $=!1,Y=!1,z=typeof globalThis.ReadableStream==="function",U=typeof globalThis.Request==="function";if(z&&U)try{Y=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(Q){if(Q instanceof Error&&Q.message==="unsupported BodyInit type")return!1;throw Q}return $&&!Y})(),we=typeof globalThis.AbortController==="function",Sw=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",Me=typeof globalThis.ReadableStream==="function",Oe=typeof globalThis.FormData==="function",gw=["get","post","put","patch","head","delete"];Rb0();Ne={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},yw=Symbol("stop");Pe={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},Ae={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0}});var xw,_b0=($)=>{if(!$)return 0;if($ instanceof FormData){let Y=0;for(let[z,U]of $)Y+=De,Y+=xw.encode(`Content-Disposition: form-data; name="${z}"`).byteLength,Y+=typeof U==="string"?xw.encode(U).byteLength:U.size;return Y}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return xw.encode($).byteLength;if($ instanceof URLSearchParams)return xw.encode($.toString()).byteLength;return 0},Te=($,Y,z)=>{let U,Q=0;return $.pipeThrough(new TransformStream({transform(J,I){if(I.enqueue(J),U){Q+=U.byteLength;let K=Y===0?0:Q/Y;if(K>=1)K=1-Number.EPSILON;z?.({percent:K,totalBytes:Math.max(Y,Q),transferredBytes:Q},U)}U=J},flush(){if(U)Q+=U.byteLength,z?.({percent:1,totalBytes:Math.max(Y,Q),transferredBytes:Q},U)}}))},je=($,Y)=>{if(!$.body)return $;let z={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,z);let U=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(Te($.body,U,Y),z)},Ee=($,Y,z)=>{if(!$.body)return $;let U=_b0(z??$.body);return new Request($,{duplex:"half",body:Te($.body,U,Y)})};var Ce=o(()=>{uY();xw=new TextEncoder});var p5=($)=>$!==null&&typeof $==="object";function wW($,Y,z){return Object.hasOwn(Y,z)&&Y[z]===void 0?[]:qS($[z]??[],Y[z]??[])}var vb0,HS=($)=>p5($)&&$[vb0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$},MW=(...$)=>{for(let Y of $)if((!p5(Y)||Array.isArray(Y))&&Y!==void 0)throw TypeError("The `options` argument must be an object");return qS({},...$)},ZS=($={},Y={})=>{let z=new globalThis.Headers($),U=Y instanceof globalThis.Headers,Q=new globalThis.Headers(Y);for(let[J,I]of Q.entries())if(U&&I==="undefined"||I===void 0)z.delete(J);else z.set(J,I);return z},XS=($)=>{if(!p5($)||Array.isArray($))return!1;let Y=Object.getPrototypeOf($);return Y===Object.prototype||Y===null},kQ=($)=>{if($ instanceof URLSearchParams){let Y=new URLSearchParams($),z=$[C3];if(z)Y[C3]=new Set(z);return Y}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(XS($))return{...$};return $},hb0=($)=>Object.fromEntries(Object.entries($).filter((Y)=>Y[1]!==void 0)),Sb0=($,Y)=>{if(XS($)&&XS(Y))return hb0({...$,...Y});return ZS($,Y)},fw=($={},Y={})=>({init:wW($,Y,"init"),beforeRequest:wW($,Y,"beforeRequest"),beforeRetry:wW($,Y,"beforeRetry"),beforeError:wW($,Y,"beforeError"),afterResponse:wW($,Y,"afterResponse")}),C3,gb0=($,Y)=>{let z=new URLSearchParams,U=new Set;for(let Q of[$,Y]){if(Q===void 0)continue;if(Q instanceof URLSearchParams){for(let[I,K]of Q.entries())z.append(I,K),U.delete(I);let J=Q[C3];if(J)for(let I of J)z.delete(I),U.add(I)}else if(Array.isArray(Q))for(let J of Q){if(!Array.isArray(J)||J.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");z.append(String(J[0]),String(J[1])),U.delete(String(J[0]))}else if(p5(Q))for(let[J,I]of Object.entries(Q))if(I===void 0)z.delete(J),U.add(J);else z.append(J,String(I)),U.delete(J);else{let J=new URLSearchParams(Q);for(let[I,K]of J.entries())z.append(I,K),U.delete(I)}}if(U.size>0)z[C3]=U;return z},qS=(...$)=>{let Y={},z={},U={},Q,J=[];for(let I of $)if(Array.isArray(I)){if(!Array.isArray(Y))Y=[];Y=[...Y,...I]}else if(p5(I)){for(let[K,G]of Object.entries(I)){if(K==="signal"&&G instanceof globalThis.AbortSignal){J.push(G);continue}let W=HS(G),{isReplace:H}=W;if(G=W.value,K==="context"){if(G!==void 0&&G!==null&&(!p5(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");Y={...Y,context:G===void 0||G===null?{}:H?{...G}:{...Y.context,...G}};continue}if(K==="searchParams"){if(G===void 0||G===null)Q=void 0;else if(H)Q=G;else Q=Q===void 0?G:gb0(Q,G);continue}if(p5(G)&&!H&&K in Y)G=qS(Y[K],G);Y={...Y,[K]:G}}if(p5(I.hooks)){let{value:K,isReplace:G}=HS(I.hooks);U=G?fw({},K):fw(U,K),Y.hooks=U}if(p5(I.headers)){let{value:K,isReplace:G}=HS(I.headers);z=G?kQ(K):Sb0(z,K),Y.headers=z}}if(Q!==void 0)Y.searchParams=Q;if(J.length>0)if(J.length===1)Y.signal=J[0];else if(Sw)Y.signal=AbortSignal.any(J);else Y.signal=J.at(-1);return Y};var uw=o(()=>{uY();vb0=Symbol("replaceOption");C3=Symbol("deletedParameters")});var _e=($)=>gw.includes($)?$.toUpperCase():$,yb0,kb0,xb0,Re,ve=($={})=>{if(typeof $==="number")return{...Re,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let Y=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((z)=>z.toLowerCase())}).filter(([,z])=>z!==void 0));return{...Re,...Y}};var he=o(()=>{uY();yb0=["get","put","head","delete","options","trace"],kb0=[408,413,429,500,502,503,504],xb0=[413,429,503],Re={limit:2,methods:yb0,statusCodes:kb0,afterStatusCodes:xb0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1}});async function VS($,Y,z,U){return new Promise((Q,J)=>{let I=setTimeout(()=>{if(z)z.abort();J(new I5($))},U.timeout);U.fetch($,Y).then(Q).catch(J).then(()=>{clearTimeout(I)})})}var Se=o(()=>{hw()});async function bw($,{signal:Y}){return new Promise((z,U)=>{if(Y)Y.throwIfAborted(),Y.addEventListener("abort",Q,{once:!0});function Q(){clearTimeout(J),U(Y.reason)}let J=setTimeout(()=>{Y?.removeEventListener("abort",Q),z()},$)})}var ge=($)=>{let Y={};for(let z in $){if(!Object.hasOwn($,z))continue;if(!(z in Ae)&&!(z in Pe))Y[z]=$[z]}return Y},ye=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[C3]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var ke=o(()=>{uY();uw()});function LS($){if(!($&&ub0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:z,stack:U}=$;if(z==="Load failed")return U===void 0||"__sentry_captured__"in $;if(z.startsWith("error sending request for url"))return!0;if(z==="Failed to fetch"||z.startsWith("Failed to fetch (")&&z.endsWith(")"))return!0;return bb0.has(z)}var fb0,ub0=($)=>fb0.call($)==="[object Error]",bb0;var xe=o(()=>{fb0=Object.prototype.toString,bb0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"])});function fe($){return FS($,D6)}function ue($){return FS($,LW)}function be($){return FS($,I5)}var FS=($,Y)=>$ instanceof Y||$?.name===Y.name;var ie=o(()=>{vw();IS();hw()});function mb0($){let Y={...$,json:kQ($.json),context:kQ($.context),headers:kQ($.headers),searchParams:db0($.searchParams)};if($.retry!==void 0)Y.retry=pb0($.retry);return Y}class xQ{static create($,Y){let z=Y.hooks?.init??[],U=z.length>0?mb0(Y):Y;for(let K of z)K(U);let Q=new xQ($,U),J=async()=>{if(typeof Q.#$.timeout==="number"&&Q.#$.timeout>yQ)throw RangeError(`The \`timeout\` option cannot be greater than ${yQ}`);if(typeof Q.#$.totalTimeout==="number"&&Q.#$.totalTimeout>yQ)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${yQ}`);await Promise.resolve();let K=await Q.#g(),G=K??await Q.#h(async()=>Q.#R()),W=K!==void 0||Q.#C();for(;;){if(G===void 0)return G;if(NW(G))try{G=await Q.#y(G)}catch(X){if(!(X instanceof gQ))throw X;let Z=await Q.#E(X,async()=>Q.#R());if(Z===void 0)return Z;G=Z,W=Q.#C();continue}let H=G;if(!H.ok&&H.type!=="opaque"&&(typeof Q.#$.throwHttpErrors==="function"?Q.#$.throwHttpErrors(H.status):Q.#$.throwHttpErrors)){let X=new D6(H,Q.#O(H),Q.#M()),Z=X;if(X.data=await Q.#L(H),W)throw Z;let q=await Q.#E(X,async()=>Q.#R());if(q===void 0)return q;G=q,W=Q.#C();continue}break}if(!NW(G))return G;if(Q.#V(G),Q.#$.onDownloadProgress){if(typeof Q.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!Me)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let H=G.clone();return Q.#K(G),je(H,Q.#$.onDownloadProgress)}return G},I=(async()=>{try{return await J()}catch(K){if(!(K instanceof Error))throw K;if(Q.#X.has(K))throw K;let G=K;for(let W of Q.#$.hooks.beforeError){let H=await W({request:Q.request,options:Q.#M(),error:G,retryCount:Q.#Q});if(H instanceof Error)G=H}throw G}finally{let K=Q.#H;if(Q.#F(K?.body??void 0),Q.request!==K)Q.#F(Q.request.body??void 0)}})();for(let[K,G]of Object.entries(Ne)){if(K==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;I[K]=async(W)=>{Q.request.headers.set("accept",Q.request.headers.get("accept")||G);let H=await I;if(K!=="json")return H[K]();let X=await H.text();if(X===""){if(W!==void 0)return pe(void 0,W);return JSON.parse(X)}let Z=U.parseJson?await U.parseJson(X,{request:Q.#O(H),response:H}):JSON.parse(X);return W===void 0?Z:pe(Z,W)}}return I}static#U($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0));return $}request;#z;#Q=0;#Y;#$;#H;#W;#X=new WeakSet;#J;#I;#Z=!1;#N=new WeakMap;constructor($,Y={}){if(this.#Y=$,Object.hasOwn(Y,"prefixUrl"))throw Error(cb0);if(this.#$={...Y,headers:ZS(this.#Y.headers,Y.headers),hooks:fw({},Y.hooks),method:_e(Y.method??this.#Y.method??"GET"),prefix:String(Y.prefix||""),retry:ve(Y.retry),throwHttpErrors:Y.throwHttpErrors??!0,timeout:Y.timeout??1e4,totalTimeout:Y.totalTimeout??!1,fetch:Y.fetch??globalThis.fetch.bind(globalThis),context:Y.context??{}},typeof this.#Y!=="string"&&!(this.#Y instanceof URL||this.#Y instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#Y==="string"){if(this.#$.prefix){let U=this.#$.prefix.replace(/\/+$/,""),Q=this.#Y.replace(/^\/+/,"");this.#Y=`${U}/${Q}`}if(this.#$.baseUrl){let U;try{U=new URL(this.#Y)}catch{}if(!U)this.#Y=new URL(this.#Y,new Request(this.#$.baseUrl).url)}}if(we&&Sw)this.#W=this.#$.signal??this.#Y.signal,this.#z=new globalThis.AbortController,this.#$.signal=this.#w();if(WS)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let z=Y.headers&&new globalThis.Headers(Y.headers).has("content-type");if(this.#Y instanceof globalThis.Request&&(Oe&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!z)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#Y,this.#$),ye(this.#$.searchParams)){let U=new URL(this.request.url),Q=this.#$.searchParams?.[C3];if(Q)for(let J of Q)U.searchParams.delete(J);if(typeof this.#$.searchParams==="string"){let J=this.#$.searchParams.replace(/^\?/,"");if(J!=="")U.search=U.search?`${U.search}&${J}`:`?${J}`}else{let J=new URLSearchParams(xQ.#U(this.#$.searchParams));for(let[I,K]of J.entries())U.searchParams.append(I,K)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[J,I]of Object.entries(this.#$.searchParams))if(I===void 0)U.searchParams.delete(J)}this.request=new globalThis.Request(U,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#I=typeof this.#$.totalTimeout==="number"?this.#S():void 0}#G(){let $=this.#$.retry.delay(this.#Q+1),Y=$;if(this.#$.retry.jitter===!0)Y=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(Y=this.#$.retry.jitter($),!Number.isFinite(Y)||Y<0)Y=$}return Math.min(this.#$.retry.backoffLimit,Y)}async#A($){if(this.#Q>=this.#$.retry.limit)throw $;let Y=$ instanceof Error?$:new FW($);if(Y instanceof gQ)return Y.customDelay??this.#G();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let z=await this.#$.retry.shouldRetry({error:Y,retryCount:this.#Q+1});if(z===!1)throw $;if(z===!0)return this.#G()}if(be($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#G()}if(fe($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let z=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(z&&this.#$.retry.afterStatusCodes.includes($.response.status)){let U=Number(z)*1000;if(Number.isNaN(U))U=Date.parse(z)-Date.now();else if(U>=Date.parse("2024-01-01"))U-=Date.now();if(!Number.isFinite(U))return Math.min(this.#$.retry.maxRetryAfter,this.#G());return U=Math.max(0,U),Math.min(this.#$.retry.maxRetryAfter,U)}if($.response.status===413)throw $;return this.#G()}if(!ue($))throw $;return this.#G()}#V($){let Y=this.#O($);if(this.#$.parseJson)$.json=async()=>{let z=await $.text();if(z==="")return JSON.parse(z);return this.#$.parseJson(z,{request:Y,response:$})};return $}async#L($){let Y=await this.#T($,this.#D());if(Y===OW){this.#q();return}if(!Y)return;if(!this.#B($.headers.get("content-type")??""))return Y;let z=await this.#j(Y,$,this.#D(),this.#O($));if(z===OW){this.#q();return}return z}#D(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,Y=this.#P();if(Y===void 0)return $;if(Y<=0)throw new I5(this.request);return Math.min($,Y)}#B($){let Y=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(Y)}async#T($,Y){let{body:z}=$;if(!z)try{return await $.text()}catch{return}let U;try{U=z.getReader()}catch{return}let Q=nb0($.headers.get("content-type")??""),J=[],I=0,K=(async()=>{try{for(;;){let{done:H,value:X}=await U.read();if(H)break;if(I+=X.byteLength,I>ib0){U.cancel().catch(()=>{return});return}J.push(Q.decode(X,{stream:!0}))}}catch{return}return J.push(Q.decode()),J.join("")})(),G=new Promise((H)=>{let X=setTimeout(()=>{H(OW)},Y);K.finally(()=>{clearTimeout(X)})}),W=await Promise.race([K,G]);if(W===OW)U.cancel().catch(()=>{return});return W}async#j($,Y,z,U){let Q;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:U,response:Y}):JSON.parse($)),new Promise((J)=>{Q=setTimeout(()=>{J(OW)},z)})])}catch{return}finally{clearTimeout(Q)}}#F($){if(!$)return;$.cancel().catch(()=>{return})}#K($){this.#F($.body??void 0)}#w(){return this.#W?AbortSignal.any([this.#W,this.#z.signal]):this.#z.signal}#q(){let $=this.#P();if($!==void 0&&$<=0)throw new I5(this.request)}async#g(){for(let $ of this.#$.hooks.beforeRequest){let Y=await $({request:this.request,options:this.#M(),retryCount:0});if(ne(Y))this.#_(Y);else if(NW(Y))return Y}return}async#y($){let Y=this.#O($);for(let z of this.#$.hooks.afterResponse){let U=this.#v($.clone(),Y);this.#V(U);let Q;try{Q=await z({request:this.request,options:this.#M(),response:U,retryCount:this.#Q})}catch(I){if(U!==$)this.#K(U);throw this.#K($),I}if(Q instanceof kw){if(U!==$)this.#K(U);throw this.#K($),new gQ(Q.options)}let J=NW(Q)?this.#v(Q,Y):$;if(U!==$&&U!==J&&U.body!==J.body)this.#K(U);if($!==J&&$.body!==J.body)this.#K($);$=J}return $}async#h($){try{return await $()}catch(Y){return this.#E(Y,$)}}async#E($,Y){this.#Z=!1;let z=Math.min(await this.#A($),yQ),U={signal:this.#W},Q=this.#P();if(Q!==void 0){if(Q<=0)throw new I5(this.request);if(z>=Q)throw await bw(Q,U),new I5(this.request)}if(await bw(z,U),this.#q(),$ instanceof gQ&&$.customRequest){let J=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#_(J)}for(let J of this.#$.hooks.beforeRetry){let I;try{I=await J({request:this.request,options:this.#M(),error:$,retryCount:this.#Q+1})}catch(K){if(K instanceof Error&&K!==$)this.#X.add(K);throw K}if(ne(I)){this.#_(I);break}if(NW(I))return this.#Z=!0,this.#Q++,I;if(I===yw)return}return this.#q(),this.#Q++,this.#h(Y)}#C(){let $=this.#Z;return this.#Z=!1,$}async#R(){if(this.#z?.signal.aborted)this.#z=new globalThis.AbortController,this.#$.signal=this.#w(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=ge(this.#$),Y=this.#$.retry.limit>0?this.request.clone():void 0,z=this.#k(this.request,this.#$.body??void 0);if(this.#H=z,Y)this.request=Y;try{let U=this.#P();if(U!==void 0&&U<=0)throw new I5(this.request);let Q=this.#$.timeout===!1?U:U===void 0?this.#$.timeout:Math.min(this.#$.timeout,U),J=Q===void 0?await this.#$.fetch(z,$):await VS(z,$,this.#z,{timeout:Q,fetch:this.#$.fetch});return this.#v(J,z)}catch(U){if(LS(U))throw new LW(this.request,{cause:U});throw U}}#P(){if(this.#I===void 0)return;let $=this.#S()-this.#I;return Math.max(0,this.#$.totalTimeout-$)}#S(){return globalThis.performance?.now()??Date.now()}#M(){if(!this.#J){let{hooks:$,json:Y,parseJson:z,stringifyJson:U,searchParams:Q,timeout:J,totalTimeout:I,throwHttpErrors:K,fetch:G,...W}=this.#$;this.#J=Object.freeze(W)}return this.#J}#_($){this.#J=void 0,this.request=$}#O($){return this.#N.get($)??this.request}#v($,Y){return this.#N.set($,Y),$}#k($,Y){if(!this.#$.onUploadProgress||!$.body||!WS)return $;return Ee($,this.#$.onUploadProgress,Y??this.#$.body??void 0)}}var ib0=10485760,cb0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",OW,nb0=($)=>{let Y=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),z=Y?.[1]??Y?.[2];if(z)try{return new TextDecoder(z)}catch{}return new TextDecoder},ce="The `schema` argument must follow the Standard Schema specification",pb0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},de,ne=($)=>$ instanceof globalThis.Request||de.call($)==="[object Request]",NW=($)=>$ instanceof globalThis.Response||de.call($)==="[object Response]",db0=($)=>{if(Array.isArray($))return $.map((Y)=>[...Y]);return kQ($)},pe=async($,Y)=>{if(typeof Y!=="object"&&typeof Y!=="function"||Y===null)throw TypeError(ce);let z=Y["~standard"];if(typeof z!=="object"||z===null||typeof z.validate!=="function")throw TypeError(ce);let U=await z.validate($);if(U.issues)throw new GS(U.issues);return U.value};var me=o(()=>{vw();IS();KS();Le();Fe();hw();Ce();uw();he();Se();ke();xe();ie();uY();OW=Symbol("timedOutResponseData"),de=Object.prototype.toString});var wS=($)=>{let Y=(z,U)=>xQ.create(z,MW($,U));for(let z of gw)Y[z]=(U,Q)=>xQ.create(U,MW($,Q,{method:z}));return Y.create=(z)=>wS(MW(z)),Y.extend=(z)=>{if(typeof z==="function")z=z($??{});return wS(MW($,z))},Y.stop=yw,Y.retry=Be,Y},lb0,K5;var fQ=o(()=>{me();uY();uw();vw();/*! MIT License © Sindre Sorhus */lb0=wS(),K5=lb0});async function le($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.seal.url??$.source.sealUrl,z=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:z?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:Y,tenantId:z?.tenantId,tenantSlug:$.seal.tenantSlug??z?.tenantSlug,tenantName:z?.tenantName,raw:{sourceType:$.source.type}}}}function ob0($){let Y=Object.entries($??{}).map(([z,U])=>`${z}=${U}`);return Y.length?Y.join("; "):void 0}function B6($){let Y={...$?.headers??{}},z=ob0($?.cookies);if(z)Y.Cookie=z;return Y}var oe,rb0,sb0,ab0,tb0,re;var se=o(()=>{B$();oe=L.object({token:L.string(),expiresAt:L.number(),url:L.string().url().optional()}),rb0=L.object({provider:L.string(),corpId:L.string().optional(),staffId:L.string(),sealUrl:L.string().url(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),raw:L.unknown().optional()}),sb0=L.object({token:L.string(),expiresAt:L.number(),enterprise:rb0}),ab0=L.object({openapi:oe.optional(),closeapi:oe.optional()}),tb0=L.object({seal:sb0.optional(),hose:ab0.optional()}),re=L.record(L.string(),tb0)});import{existsSync as MS,mkdirSync as eb0,readFileSync as $i0,writeFileSync as Yi0}from"node:fs";import{dirname as zi0,join as te}from"node:path";import{homedir as ee}from"node:os";function Ui0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(MS(iw))return iw;if(MS(ae))return ae;return iw}function Qi0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return iw}function uQ(){let $=Ui0();if(!MS($))return{};try{return re.parse(JSON.parse($i0($,"utf-8")))}catch{return{}}}function cw($){let Y=Qi0();eb0(zi0(Y),{recursive:!0,mode:448}),Yi0(Y,JSON.stringify($,null,2),{mode:384})}function $00($){return uQ()[$]?.seal}function Y00($,Y){let z=uQ();cw({...z,[$]:{...z[$],seal:Y}})}function z00($){let Y=uQ(),z=Y[$];if(!z)return;cw({...Y,[$]:{...z,seal:void 0}})}function bQ($){return uQ()[$]?.hose??{}}function OS($,Y){let z=uQ();cw({...z,[$]:{...z[$],hose:Y}})}function nw($){let Y=uQ();delete Y[$],cw(Y)}var iw,ae;var DW=o(()=>{se();iw=te(ee(),".config","seal-use","seal_tokens.json"),ae=te(ee(),".config","seal-home","seal_tokens.json")});function P$($){return $.replace(/\/+$/,"")}function J00($){let Y;try{Y=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(Y.protocol!=="https:"||Y.port||!Gi0(Y.hostname)||Y.pathname.replace(/\/+$/,"")!==Ki0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let z=Y.searchParams.getAll("accessToken").filter(Boolean),U=Y.searchParams.getAll("ekbCorpId").filter(Boolean);if(z.length!==1||U.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let Q=U[0].trim().toLowerCase();if(!Q00.test(Q))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:Q,accessToken:z[0],baseUrl:Y.origin}}async function pw($,Y){let z=typeof $==="string"?J00($):I00($),U=`https://${z.corpId}.sealai.cc`,J=await T8(U,void 0,Y?.customHeaders).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:z.accessToken,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600;return{corpId:z.corpId,sealUrl:U,token:I,expiresIn:Number.isFinite(K)&&K>0?K:3600}}function dw($,Y){let z=Y.hoseCorpConfig&&typeof Y.hoseCorpConfig==="object"?Y.hoseCorpConfig:void 0,U=[Y.tenantSlug,z?.corporationId].filter((I)=>typeof I==="string"&&Boolean(I)),Q=$.trim().toLowerCase(),J=U.map((I)=>I.trim().toLowerCase()).filter(Boolean);if(J.length===0||J.some((I)=>I!==Q))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function Gi0($){let Y=$.toLowerCase();return Ii0.some((z)=>Y.endsWith(z))}function I00($){let Y=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",z=typeof $?.accessToken==="string"?$.accessToken.trim():"",U=typeof $?.baseUrl==="string"&&$.baseUrl.trim()?$.baseUrl.trim():void 0;if(!Q00.test(Y)||!z)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:Y,accessToken:z,...U?{baseUrl:U}:{}}}function BS($,Y=60){return Boolean($&&Date.now()<$.expiresAt-Y*1000)}function R3($,Y){if($.seal.url)return $.seal.url;if(Y.sealUrl)return Y.sealUrl;return`https://${Y.corpId.toLowerCase()}.sealai.cc`}function Wi0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function K00($){return K5.create({prefix:P$($.domain),timeout:30000,hooks:{beforeError:[async({error:Y})=>{let z=Y instanceof D6?await Y.response.text().catch(()=>""):"";return Y.message=`${Y.message}${z?`: ${z}`:""}`,Y}]}})}async function Hi0($){let Y=K00($),z=$.appKey??$.key,U=$.appSecurity??$.password;if(!z||!U)throw Error("Hose source requires appKey/key and appSecurity/password");let Q=await Y.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:z,appSecurity:U}}).json(),J=Q.value?.accessToken??Q.accessToken??Q.token;if(!J)throw Error("Hose login did not return an access token");return{token:J,expiresAt:Date.now()+3600000}}async function iQ($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=bQ($.id);if(BS(Y.openapi))return Y.openapi.token;let z=NS.get($.id);if(z)return z;let U=Hi0($.source).then((Q)=>{return OS($.id,{...bQ($.id),openapi:Q}),Q.token}).finally(()=>NS.delete($.id));return NS.set($.id,U),U}async function mw($,Y,z=7200){let U=K00($),Q=Wi0($),I=(await U.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:Y},json:{uid:Q,pageType:"home",expireDate:z}}).json()).value?.message;if(!I)throw Error("Hose CloseAPI did not return a provisional auth URL");let K=new URL(I).searchParams.get("accessToken");if(!K)throw Error("Hose provisional auth URL did not include accessToken");return{token:K,url:I,expiresAt:Date.now()+z*1000}}async function PS($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.source,z=bQ($.id);if(BS(z.closeapi)&&z.closeapi.url)return z.closeapi;let U=DS.get($.id);if(U)return U;let Q=iQ($).then((J)=>mw(Y,J)).then((J)=>{return OS($.id,{...bQ($.id),closeapi:J}),J}).finally(()=>DS.delete($.id));return DS.set($.id,Q),Q}async function G00($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=(await PS($)).url;if(!Y)throw Error("Hose provisional auth URL was not available");return Y}async function lw($,Y=7200){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let z=bQ($.id);if(BS(z.closeapi)&&z.closeapi.url&&z.closeapi.token){let J=Math.max(60,Math.floor((z.closeapi.expiresAt-Date.now())/1000));return{corpId:$.source.corpId,staffId:$.source.staffId,url:z.closeapi.url,token:z.closeapi.token,expiresIn:Math.min(Y,J)}}let U=await iQ($),Q=await mw($.source,U,Y);if(!Q.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Q.url,token:Q.token,expiresIn:Y}}async function W00($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=await PS($),z=R3($,$.source),U=B6($.seal),J=await T8(z,void 0,U).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:Y.token,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600,G={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:P$(z),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:P$($.source.domain)}};return{token:I,expiresAt:Date.now()+K*1000,enterprise:G}}async function cQ($,Y,z){if(z){let I=P$(z),K=await U00(I,$,Y);if(!K)throw Error(`Failed to authenticate on specified domain: ${I}. Please verify appKey/appSecurity and domain connectivity.`);return K}let U=Ji0.map(async(I)=>{try{return await U00(I,$,Y)}catch{return}}),J=(await Promise.all(U)).filter((I)=>Boolean(I));if(J.length>0&&J[0])return J[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function U00($,Y,z){try{let U=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:Y,appSecurity:z}),signal:AbortSignal.timeout(8000)});if(!U.ok)return;let Q=await U.json();if(Q.value?.errorCode)return;let J=Q.value?.accessToken??Q.accessToken,I=Q.value?.corporationId??Q.value?.corporation?.id;if(!J||!I)return;return{domain:$,corpId:I,corpName:Q.value?.corporation?.name,openapiToken:J,expireTime:Q.value?.expireTime}}catch{return}}async function ow($,Y){let z=`${P$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(Y)}`,U=await fetch(z,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!U.ok){let I=await U.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${U.status} ${I}`)}return((await U.json()).items??[]).map((I)=>({id:I.id,name:I.name,enName:I.enName,roleDefs:(I.roleDefs??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,sourceType:K.sourceType,sourceTypeValue:K.sourceTypeValue,groupId:I.id,groupName:I.name}))}))}async function AS($,Y,z,U="id"){let Q=z.startsWith("$")?z.slice(1):z,J=`${P$($)}/api/openapi/v1/roledefs/$${Q}?accessToken=${encodeURIComponent(Y)}&staffBy=${encodeURIComponent(U)}&pathType=name`,I=await fetch(J,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!I.ok){let H=await I.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${Q}: ${I.status} ${H}`)}let G=(await I.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${Q}`);let W=[];for(let H of G.contents??[])for(let X of H.staffs??[])if(X&&!W.includes(X))W.push(X);return{id:G.id??Q,name:G.name??"",count:G.count??W.length,staffs:W}}async function TS($,Y,z){if(z.length===0)return[];let U=`${P$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(Y)}`,Q=await fetch(U,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:z.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!Q.ok){let I=await Q.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${Q.status} ${I}`)}return(await Q.json()).items??[]}function jS($){if(!$)return"-";if($.length<=12)return"******";return`${$.slice(0,8)}...${$.slice(-4)}`}async function Xi0($){let Y=typeof $==="string"?J00($):I00($),z=Y.baseUrl||"https://app.ekuaibao.com",U,Q,J,I,K,G={accesstoken:Y.accessToken,corpid:Y.corpId};try{let W=await K5.get(`${z}/api/engine/realm/$UNITY/actions/jwt`,{searchParams:{corpId:Y.corpId},headers:G,timeout:1e4}).json(),H=W.id||W.value;if(H){let X=H.split(".");if(X.length>=2){let Z=X[1].replace(/-/g,"+").replace(/_/g,"/"),q=JSON.parse(Buffer.from(Z,"base64").toString("utf-8"));if(typeof q.staffId==="string")U=q.staffId;if(typeof q.corporationName==="string")Q=q.corporationName;if(typeof q.staffName==="string")J=q.staffName;if(typeof q.cellphone==="string")K=q.cellphone;if(q.isAdmin!==void 0)I=q.isAdmin===!0||q.isAdmin==="true"}}}catch{}if(!U||!Q)try{let H=(await K5.get(`${z}/api/account/v2/session`,{headers:{...G,...U?{staffid:U}:{}},timeout:1e4}).json())?.value;if(H){if(!U&&H.loginStaffId)U=H.loginStaffId;if(!Q&&H.corporationName)Q=H.corporationName;if(!J&&H.privilege)J=H.privilege}}catch{}if(!U)U=`${Y.corpId}:admin`;return{corpId:Y.corpId,baseUrl:z,accessToken:Y.accessToken,staffId:U,corpName:Q,staffName:J,isAdmin:I,cellphone:K}}async function ES($){let Y=await Xi0($),z={accesstoken:Y.accessToken,corpid:Y.corpId,staffid:Y.staffId},U;try{U=await(await K5.get(`${Y.baseUrl}/api/innerapi/v1/key`,{searchParams:{corpId:Y.corpId},headers:z,timeout:15000})).json()}catch(I){let K=I instanceof Error?I.message:String(I);throw Error(`Failed to query Hose OpenAPI keys from assistance link: ${K}`)}let Q=U.items??[],J=[];for(let I of Q)if(typeof I==="object"&&I!==null){let K=I;if(typeof K.appKey==="string"&&typeof K.appSecurity==="string")J.push({id:String(K.id??K.appKey),name:typeof K.name==="string"?K.name:void 0,appKey:K.appKey,appSecurity:K.appSecurity,active:typeof K.active==="boolean"?K.active:!0,corporationId:typeof K.corporationId==="string"?K.corporationId:Y.corpId,createTime:typeof K.createTime==="number"?K.createTime:void 0,updateTime:typeof K.updateTime==="number"?K.updateTime:void 0})}return{corpId:Y.corpId,corpName:Y.corpName,baseUrl:Y.baseUrl,staffId:Y.staffId,keys:J}}var Ji0,Ii0,Ki0="/web/thirdparty.html",Q00,NS,DS;var s9=o(()=>{fQ();i8();DW();Ji0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],Ii0=[".ekuaibao.com",".hosecloud.com"],Q00=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,NS=new Map,DS=new Map});function H00($,Y){return Date.now()>=$.expiresAt-Y*1000}async function Zi0($){switch($.source.type){case"hose":return W00($);case"direct":case"seal":return le($)}}async function sw($){let Y=$.auth.refreshTtl,z=rw.get($.id);if(z&&!H00(z,Y))return z;let U=$00($.id);if(U&&!H00(U,Y))return rw.set($.id,U),U;let Q=await Zi0($);return rw.set($.id,Q),Y00($.id,Q),Q}async function X00($){return(await sw($)).enterprise}function Z00($){rw.delete($),z00($)}var rw;var CS=o(()=>{s9();DW();rw=new Map});var V00={};x8(V00,{createSealClientForUrl:()=>T8,createSealClientForToken:()=>RS,createSealClient:()=>j1});function qi0($){if($===void 0||$===null||$==="")return"";if(typeof $==="string")return $;try{return JSON.stringify($)}catch{return String($)}}function Vi0($){if(!($ instanceof D6))return $;let Y=qi0($.data);if(Y)$.message=`${$.message}: ${Y}`;return $}function q00($){return async({error:Y})=>{if($&&Y instanceof D6&&Y.response.status===401)Z00($);return Vi0(Y)}}async function j1($){let Y=await sw($);return K5.create({prefix:Y.enterprise.sealUrl,timeout:30000,headers:{...B6($.seal),Authorization:`Bearer ${Y.token}`},hooks:{beforeError:[q00($.id)]}})}async function RS($,Y){let z=await sw($);return T8(z.enterprise.sealUrl,Y,B6($.seal))}function T8($,Y,z={}){let U={...z};if(Y)U.Authorization=`Bearer ${Y}`;return K5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:U,hooks:{beforeError:[q00()]}})}var i8=o(()=>{fQ();CS()});var BW;var L00=o(()=>{BW={name:"seal-use",version:"0.10.24",type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","dev:override":"bun run scripts/dev-override.ts","dev:link":"bun run scripts/dev-override.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test"},dependencies:{"@modelcontextprotocol/server":"^2.0.0",archiver:"^8.0.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@modelcontextprotocol/client":"^2.0.0","@types/archiver":"^8.0.0","@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}}});import{spawnSync as F00}from"node:child_process";function Fi0($,Y=BW.version){let z=$.trim();if(!z)return null;let U=z.endsWith("-dirty"),Q=U?z.slice(0,-6):z,J=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)-(\d+)-g([0-9a-f]+)$/);if(J&&J[1]&&J[2]&&J[3])return{baseVersion:J[1],commitsAhead:Number.parseInt(J[2],10),commit:J[3],dirty:U,describe:z};let I=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)$/);if(I&&I[1])return{baseVersion:I[1],commitsAhead:0,commit:"",dirty:U,describe:z};let K=Q.match(/^([0-9a-f]{7,40})$/);if(K&&K[1])return{baseVersion:Y,commitsAhead:0,commit:K[1],dirty:U,describe:z};return null}function wi0($,Y,z,U){let J=z?`+g${z}${U?".dirty":""}`:U?"+dirty":"";return`${$}-dev.${Y}${J}`}function Mi0($){let Y=$?.env,z=Y?.SEAL_BUILD_VERSION??process.env.SEAL_BUILD_VERSION,U=Y?.SEAL_BUILD_IS_RELEASE??process.env.SEAL_BUILD_IS_RELEASE,Q=Y?.SEAL_BUILD_CHANNEL??process.env.SEAL_BUILD_CHANNEL,J=Y?.SEAL_BUILD_GIT_BASE??process.env.SEAL_BUILD_GIT_BASE,I=Y?.SEAL_BUILD_GIT_COMMITS_AHEAD??process.env.SEAL_BUILD_GIT_COMMITS_AHEAD,K=Y?.SEAL_BUILD_GIT_COMMIT??process.env.SEAL_BUILD_GIT_COMMIT,G=Y?.SEAL_BUILD_GIT_DIRTY??process.env.SEAL_BUILD_GIT_DIRTY,W=Y?.SEAL_BUILD_GIT_DESCRIBE??process.env.SEAL_BUILD_GIT_DESCRIBE,H=Y?.SEAL_FORCE_RELEASE??process.env.SEAL_FORCE_RELEASE,X=$?.cwd;if(z){let Z=U==="true",V={name:"seal-use",version:z,channel:Q||(Z?"release":"dev"),isRelease:Z};if(J)V.git={baseVersion:J,commitsAhead:Number.parseInt(I||"0",10),commit:K||"",dirty:G==="true",describe:W||z};return V}if(U==="true"||H==="1")return{name:"seal-use",version:BW.version,channel:"release",isRelease:!0};try{let Z=F00("git",["describe","--tags","--long","--dirty","--always"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(Z.status===0&&Z.stdout){let q=Fi0(Z.stdout.trim(),BW.version);if(q){if(!q.commit){let F=F00("git",["rev-parse","--short","HEAD"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(F.status===0&&F.stdout)q.commit=F.stdout.trim()}return{name:"seal-use",version:wi0(q.baseVersion,q.commitsAhead,q.commit,q.dirty),channel:"dev",isRelease:!1,git:q}}}}catch{}return{name:"seal-use",version:`${BW.version}-dev.0+local`,channel:"dev",isRelease:!1}}var PW,P1,_S,Yi1;var a9=o(()=>{L00();PW=Mi0(),P1=PW.version,_S=PW.isRelease,Yi1=PW.channel});function nQ($=void 0){return hS.parse($??{})}function O00($,Y){return nQ({...nQ($),...Y})}var w00,vS,M00,hS,SS;var pQ=o(()=>{B$();w00=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],vS={minFileSizeBytes:500,allowedExtensions:[...w00]},M00=L.string().trim().min(1).transform(($)=>{let Y=$.toLowerCase();return Y.startsWith(".")?Y:`.${Y}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),hS=L.object({minFileSizeBytes:L.number().int().min(0).default(vS.minFileSizeBytes),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(M00).min(1).default([...w00]).transform(($)=>[...new Set($)])}).superRefine(($,Y)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)Y.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),SS=L.object({minFileSizeBytes:L.number().int().min(0).optional(),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(M00).min(1).transform(($)=>[...new Set($)])}).optional()});var Oi0,Ni0,Di0,Bi0,D00,Pi0,Ai0,B00,aw,P00,Ti0,tw,A00,TW,T00,ji0,Ei0,Ci0,N00,jW,j00,Ri0,_i0,ew,gS,E00,C00,R00,_00,$M,v00,yS,kS,h00,S00,vi0,g00,hi0,y00,AW,k00,x00,f00,u00,b00,i00,c00,n00,p00,d00,m00,Si0,l00,gi0,yi0,ki0,xS,fS,xi0,o00,r00,s00,a00,fi0,uS,Ki1,Gi1,t00,Wi1;var bS=o(()=>{B$();pQ();Oi0=L.object({staffId:L.string(),name:L.string().optional(),code:L.string().default(""),bindTime:L.number().optional()}),Ni0=L.object({id:L.string(),tenantId:L.string(),name:L.string(),isAdmin:L.boolean().default(!1),permissions:L.array(L.string()).default([]),providerUserId:L.string().optional(),hosecloudStaff:Oi0.optional()}),Di0=L.object({apiKey:L.string().optional(),corporationId:L.string().optional(),corporationName:L.string().optional()}),Bi0=L.object({id:L.string(),name:L.string(),tenantSlug:L.string().optional(),isDemo:L.boolean().default(!1),logoUrl:L.string().nullable().optional(),hoseCorpConfig:Di0.optional()}),D00=L.object({user:Ni0,tenant:Bi0}),Pi0=L.object({id:L.string(),name:L.string(),email:L.string().nullable().optional(),emailVerified:L.boolean().optional(),image:L.string().nullable().optional(),tenantId:L.string().optional(),provider:L.string().optional(),providerUserId:L.string().optional(),mobile:L.string().nullable().optional(),status:L.string().optional(),permissions:L.array(L.string()).default([]),isAdmin:L.boolean().default(!1),hosecloudStaff:L.unknown().optional()}).passthrough(),Ai0=L.object({id:L.string(),token:L.string().optional(),expiresAt:L.string(),createdAt:L.string().optional(),updatedAt:L.string().optional(),ipAddress:L.string().optional(),userAgent:L.string().optional(),userId:L.string(),delegationId:L.string().nullable().optional()}).passthrough(),B00=L.object({user:Pi0,session:Ai0}),aw=L.object({id:L.string(),tenantId:L.string().optional(),code:L.number().optional(),description:L.string(),scope:L.string(),strictness:L.string(),status:L.string().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional()}),P00=L.object({rules:L.array(aw),hasPendingDeletes:L.boolean().default(!1)}),Ti0=L.object({code:L.string().optional(),description:L.string(),scope:L.string(),strictness:L.string()}),tw=L.object({id:L.string(),tenantId:L.string().optional(),versionNumber:L.number(),versionName:L.string().nullable().optional(),publishedBy:L.string().nullable().optional(),publishedByName:L.string().nullable().optional(),rules:L.array(Ti0).default([]),publishedAt:L.number().optional(),createdAt:L.number().optional()}),A00=L.object({version:tw,rulesCount:L.number()}),TW=L.object({id:L.string(),tenantId:L.string().optional(),title:L.string(),purpose:L.string().default(""),contentType:L.string().default("policy"),content:L.string(),status:L.string().default("published"),enabled:L.boolean().default(!0),scenarios:L.array(L.string()).default([]),tags:L.array(L.string()).default([]),category:L.string().nullable().optional(),categoryTags:L.array(L.string()).default([]),createdBy:L.string().nullable().optional(),createdByName:L.string().nullable().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional(),updatedBy:L.string().nullable().optional(),updatedByName:L.string().nullable().optional(),isDeleted:L.boolean().default(!1)}),T00=L.object({articles:L.array(TW),total:L.number().optional()}),ji0=L.object({explicitApprove:L.string().default(""),explicitReject:L.string().default(""),exemptApprove:L.string().default(""),review:L.string().default("")}).passthrough(),Ei0=L.object({type:L.string(),signKey:L.string().optional(),outboundName:L.string().optional(),mode:L.string().optional(),autoApprovalRate:L.number().optional(),apiKey:L.string().optional(),apiSecret:L.string().optional(),apiOrigin:L.string().optional(),corporationId:L.string().optional(),ebotSignKey:L.string().optional(),completionSignKey:L.string().optional(),outboundMessageId:L.string().optional(),completionMessageId:L.string().optional()}).passthrough(),Ci0=L.enum(["assisted","semi_automatic","fully_automatic"]),N00=L.object({id:L.string(),url:L.string().url()}).passthrough(),jW=L.object({type:L.literal("webhook"),id:L.string(),name:L.string(),mode:Ci0,incomingDocumentWebhook:N00,outgoingResultWebhook:L.string().url(),incomingManualResultWebhook:N00,secret:L.string().min(1),autoApprovalRate:L.number().int().min(0).max(100).optional(),materialPackFilePolicy:hS.default(vS)}).passthrough(),j00=L.object({id:L.string().optional(),tenantId:L.string().optional(),tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).default([]),prohibitedPhrases:L.array(L.string()).default([]),customInstructions:L.string().optional(),updatedAt:L.number().optional(),decisionPreferences:ji0.optional(),integrationSystem:L.string().optional(),integrations:L.array(Ei0).default([])}).passthrough(),Ri0=L.object({id:L.string().optional(),sn:L.string().optional(),title:L.string().optional(),name:L.string().optional(),fields:L.array(L.unknown()).optional()}).passthrough(),_i0=L.object({_langfuseTraceId:L.string().optional(),simulation_batch_id:L.string().optional()}).passthrough(),ew=L.object({id:L.string(),tenantId:L.string().optional(),agentId:L.string().optional(),status:L.string().optional(),taskMode:L.string().optional(),finalExecutionMode:L.string().optional(),sourceSystem:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),documentId:L.string().optional(),document:Ri0.optional(),result:L.unknown().optional(),pipelineData:L.unknown().optional(),sourceExtendData:_i0.optional(),ruleSetVersionNumber:L.number().optional(),ruleSetPublishedAt:L.number().optional(),ruleSetPublishedByName:L.string().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),gS=L.object({records:L.array(ew).default([]),total:L.number().optional(),page:L.number().optional(),pageSize:L.number().optional()}).passthrough(),E00=L.object({id:L.string(),expiresAt:L.number().nullable().optional(),revokedAt:L.number().nullable().optional(),createdAt:L.number().nullable().optional(),lastUsedAt:L.number().nullable().optional(),useCount:L.number().default(0),note:L.string().nullable().optional(),link:L.string()}).passthrough(),C00=L.object({id:L.string(),token:L.string(),link:L.string()}).passthrough(),R00=L.object({userId:L.string(),password:L.string()}).passthrough(),_00=L.object({password:L.string()}).passthrough(),$M=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string(),mobile:L.string().optional(),email:L.string().optional(),departmentIds:L.array(L.string()).default([]),status:L.string().optional(),permissions:L.array(L.string()).default([]),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),v00=L.object({departments:L.array(L.record(L.string(),L.unknown())).default([]),users:L.array($M).default([])}).passthrough(),yS=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),parentId:L.string().nullable().optional(),ancestors:L.array(L.string()).default([]),provider:L.string().optional(),permissions:L.array(L.string()).default([]),isDeleted:L.boolean().optional(),syncedAt:L.string().optional(),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),kS=L.object({items:L.array(yS).default([])}).passthrough(),h00=L.object({items:L.array($M).default([])}).passthrough(),S00=L.object({lastSyncTime:L.union([L.string(),L.number(),L.null()])}).passthrough(),vi0=L.object({tagId:L.string().optional(),tagName:L.string().optional(),tagPath:L.string().optional(),count:L.number().default(0),avgConfidence:L.number().default(0),errorCount:L.number().default(0),warningCount:L.number().default(0)}).passthrough(),g00=L.object({tagStats:L.array(vi0).default([]),totalRisks:L.number().default(0),analyzedRisks:L.number().default(0),pendingRisks:L.number().default(0)}).passthrough(),hi0=L.object({riskId:L.string().optional(),recordId:L.string().optional(),riskDetails:L.string().default(""),riskLevel:L.string().default("warning"),documentType:L.string().default(""),documentSN:L.string().default(""),sourceSystem:L.string().default(""),sourceDocumentURL:L.string().nullable().optional(),confidence:L.number().default(0),reasoning:L.string().default(""),createdAt:L.union([L.string(),L.number(),L.date()]).optional()}).passthrough(),y00=L.object({tagId:L.string(),tagName:L.string().default(""),tagPath:L.string().default(""),tagDescription:L.string().default(""),risks:L.array(hi0).default([]),total:L.number().default(0)}).passthrough(),AW=L.object({value:L.number().default(0),trend:L.number().default(0)}).passthrough(),k00=L.object({metrics:L.object({approvalCount:AW.optional(),accuracy:AW.optional(),automationRate:AW.optional(),riskCount:AW.optional(),avgDuration:AW.optional()}).passthrough().default({}),sankeyData:L.object({nodes:L.array(L.object({id:L.string()}).passthrough()).default([]),links:L.array(L.object({source:L.string(),target:L.string(),value:L.number().default(0)}).passthrough()).default([])}).passthrough().default({nodes:[],links:[]})}).passthrough(),x00=L.record(L.string(),L.unknown()),f00=L.object({expenses:L.array(x00).default([]),total:L.number().optional()}).passthrough(),u00=L.object({invoices:L.array(x00).default([]),total:L.number().optional(),feishuApprovalAppId:L.string().nullable().optional()}).passthrough(),b00=L.record(L.string(),L.unknown()),i00=L.object({provider:L.string(),config:L.record(L.string(),L.unknown()).default({})}).passthrough(),c00=L.object({id:L.string(),name:L.string(),description:L.string().optional(),available:L.boolean().default(!0),fields:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),n00=L.object({permissions:L.array(L.object({key:L.string(),name:L.string(),description:L.string().optional()}).passthrough()).default([])}).passthrough(),p00=L.object({configs:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),d00=L.object({subscriptions:L.array(L.record(L.string(),L.unknown())).default([]),features:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),m00=L.object({key:L.string(),type:L.string(),label:L.string(),column:L.string(),mask:L.string().optional()}).passthrough(),Si0=L.object({columns:L.array(m00).default([]),fieldKey:L.string().optional(),keyColumn:L.string().optional(),sheetName:L.string().optional(),fieldLabel:L.string().optional()}).passthrough(),l00=L.object({id:L.string().optional(),listSheets:L.array(Si0).default([]),mainColumns:L.array(m00).default([]),workbookName:L.string().optional(),mainKeyColumn:L.string().optional(),mainSheetName:L.string().optional(),titleColumn:L.string().optional(),statusColumn:L.string().optional(),applicationDateColumn:L.string().optional(),updatedDateColumn:L.string().optional(),attachmentFieldKey:L.string().optional(),attachmentFieldLabel:L.string().optional()}).passthrough(),gi0=L.object({approvalCode:L.string(),nodeId:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),limit:L.number().int().positive().max(100).optional(),dataCollectionMode:L.string().optional(),signKey:L.string().optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional(),disableAttachmentCache:L.boolean().optional(),thinkingDepthOverride:L.enum(["default","medium","high"]).optional(),startTime:L.number().optional(),endTime:L.number().optional(),templateId:L.string().optional(),packageIds:L.array(L.string()).optional(),packageLabel:L.string().optional(),runMode:L.string().optional(),schemaConfig:l00.optional()}).passthrough(),yi0=L.object({mode:L.string().optional(),conditions:L.array(L.object({label:L.string(),value:L.string()}).passthrough()).default([])}).passthrough(),ki0=L.object({kind:L.string().optional(),stage:L.string().optional(),code:L.string().optional(),message:L.string().optional()}).passthrough(),xS=L.object({id:L.string(),tenantId:L.string().optional(),approvalCode:L.string().optional(),nodeId:L.string().optional(),sourceSystem:L.string().optional(),status:L.string().optional(),totalCount:L.number().default(0),processedCount:L.number().default(0),successCount:L.number().default(0),failedCount:L.number().default(0),createdCount:L.number().default(0),createFailedCount:L.number().default(0),params:gi0.optional(),requestSummary:yi0.nullable().optional(),resultSummary:ki0.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),fS=L.object({batchId:L.string()}).passthrough(),xi0=L.object({dataCollectionMode:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional()}).passthrough(),o00=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),description:L.string().optional(),approvalSystem:L.string().optional(),hosecloudConfig:xi0.optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),r00=L.object({hasFeishu:L.boolean().default(!1),hasHosecloud:L.boolean().default(!1),hasWeaver:L.boolean().default(!1),hasHelios:L.boolean().default(!1),hasMaycur:L.boolean().default(!1),hasMaycurStandard:L.boolean().default(!1)}).passthrough(),s00=L.object({signKey:L.string().optional(),displayName:L.string().optional(),corporationId:L.string().optional()}).passthrough(),a00=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),templateId:L.string().optional(),originalFileName:L.string().optional(),status:L.string().optional(),documentCount:L.number().optional(),attachmentCount:L.number().optional(),uploadedBy:L.string().optional(),schemaConfig:l00.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),fi0=L.object({hitScopes:L.array(L.string()).default([]),hitRuleIds:L.array(L.string()).default([]),notHitScopes:L.array(L.string()).default([]),notHitRuleIds:L.array(L.string()).default([])}).passthrough(),uS=L.object({id:L.string().min(1),name:L.string().min(1),enabled:L.boolean().default(!0),description:L.string().default(""),condition:fi0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:L.enum(["medium","high"])}).passthrough(),Ki1=L.object({defaultLevel:L.enum(["medium","high"]).default("medium"),routingPolicies:L.array(uS).default([])}).passthrough(),Gi1=L.object({dryRun:L.boolean().optional(),signKey:L.string().min(1).optional(),outboundName:L.string().optional(),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiKey:L.string().min(1),apiSecret:L.string().min(1),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional()}).passthrough(),t00=L.object({id:L.string().optional(),code:L.string().optional(),name:L.string().optional(),approvalSystem:L.string().optional()}).passthrough(),Wi1=L.object({total:L.number(),dedupeBy:L.string(),unique:L.number(),byStatus:L.record(L.string(),L.number()),bySourceSystem:L.record(L.string(),L.number())}).passthrough()});import{randomBytes as Y10}from"node:crypto";async function M1($,Y){let z=await $.json();return Y.parse(z.data??z)}async function W8($){return M1(await $.get("api/v1/auth/me"),D00)}async function U10($){return M1(await $.get("api/auth/get-session"),B00)}async function n6($){return M1(await $.get("api/v1/rules"),P00)}async function CW($,Y){return M1(await $.post("api/v1/rules",{json:Y}),aw)}async function iS($,Y,z){return M1(await $.put(`api/v1/rules/${Y}`,{json:z}),aw)}async function mQ($,Y){await $.delete(`api/v1/rules/${Y}`)}async function QM($){let Y=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),z=await Y.json().catch(()=>({}));return L.object({ok:L.boolean(),status:L.number(),body:L.unknown()}).parse({ok:Y.ok,status:Y.status,body:z})}async function A$($){return M1(await $.get("api/v1/rule-set-versions"),L.array(tw))}async function RW($,Y){return M1(await $.get(`api/v1/rule-set-versions/${Y}`),tw)}async function _W($,Y){return M1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:Y}}),A00)}async function _3($,Y={}){let z=new URLSearchParams;return z.set("offset",String(Y.offset??0)),z.set("limit",String(Y.limit??20)),z.set("sortBy",Y.sortBy??"createdAt"),z.set("sortOrder",Y.sortOrder??"desc"),Y.scenarios?.forEach((U,Q)=>{z.set(`filter[scenarios][${Q}]`,U)}),M1(await $.get("api/v1/knowledge/articles",{searchParams:z}),T00)}async function Q10($,Y){return M1(await $.get(`api/v1/knowledge/articles/${Y}`),TW)}async function JM($,Y){return M1(await $.post("api/v1/knowledge/articles",{json:{...Y,contentType:Y.contentType??"policy",status:Y.status??"published",enabled:Y.enabled??!0,scenarios:Y.scenarios&&Y.scenarios.length>0?Y.scenarios:["audit"],tags:Y.tags??[]}}),TW)}async function IM($,Y,z){let U=Object.fromEntries(Object.entries(z).filter(([,Q])=>Q!==void 0));return M1(await $.patch(`api/v1/knowledge/articles/${Y}`,{json:{attributes:U}}),TW)}async function KM($,Y){return await $.delete(`api/v1/knowledge/articles/${Y}`),{success:!0,id:Y}}async function o1($,Y="api/v1/agent/ai-approval/config"){return M1(await $.get(Y),j00)}async function d5($,Y,z="api/v1/agent/ai-approval/config"){return await $.post(z,{json:Y}),o1($,z)}async function cS($,Y,z="api/v1/agent/ai-approval/config"){let U=await $.post(z,{json:Y}),Q=await U.json().catch(()=>({})),J=UM.safeParse(Q.data??Q);return J.success?J.data.success??U.ok:U.ok}async function J$($,Y="api/v1/agent/ai-approval/config"){let z=await o1($,Y);return nS(z.integrations)}async function GM($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=nS(Q.integrations),I=X10(Y,J,z);if(!await cS($,{...Q,integrations:[...Q.integrations,I]},U))throw Error("Seal did not confirm saving the Webhook integration");return I}async function J10($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=nS(Q.integrations),I=X10(Y,J,z);return{before:Q,after:{...Q,integrations:[...Q.integrations,I]},integration:I}}async function I10($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=WM(Q.integrations),I=HM(J,Y),K=Z10(I.integration,z);if(!await cS($,{...Q,integrations:Q.integrations.map((W,H)=>H===I.index?K:W)},U))throw Error("Seal did not confirm saving the Webhook integration");return K}async function K10($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=WM(Q.integrations),I=HM(J,Y),K=Z10(I.integration,z);return{before:Q,after:{...Q,integrations:Q.integrations.map((G,W)=>W===I.index?K:G)},integration:K}}async function G10($,Y,z="api/v1/agent/ai-approval/config"){let U=await o1($,z),Q=WM(U.integrations),J=HM(Q,Y);if(!await cS($,{...U,integrations:U.integrations.filter((K,G)=>G!==J.index)},z))throw Error("Seal did not confirm deleting the Webhook integration");return J.integration}async function W10($,Y,z="api/v1/agent/ai-approval/config"){let U=await o1($,z),Q=WM(U.integrations),J=HM(Q,Y);return{before:U,after:{...U,integrations:U.integrations.filter((I,K)=>K!==J.index)},integration:J.integration}}function v3($,Y){let z=Y.trim();if(!z)throw Error("Webhook selector must not be empty");let U=$.find((J)=>J.id===z);if(U)return U;let Q=$.filter((J)=>J.name===z);if(Q.length===1)return Q[0];if(Q.length>1)throw Error(`Multiple Webhook integrations match name: ${z}. Use the integration ID.`);throw Error(`Webhook integration not found: ${z}`)}function H10($,Y){let z=Y?.trim().toLowerCase();if(!z)return $;return $.filter((U)=>[U.id,U.name,U.mode,U.outgoingResultWebhook,U.incomingDocumentWebhook.url,U.incomingManualResultWebhook.url].some((Q)=>Q.toLowerCase().includes(z)))}function nS($){return $.filter((Y)=>Y.type==="webhook").map((Y)=>jW.parse(Y))}function WM($){return $.flatMap((Y,z)=>{if(Y.type!=="webhook")return[];return[{index:z,integration:jW.parse(Y)}]})}function HM($,Y){let z=v3($.map((U)=>U.integration),Y);return $.find((U)=>U.integration.id===z.id)}function X10($,Y,z){let U=EW(z.name,"name"),Q=z.mode??"assisted",J=V10(z.outgoingResultWebhook,"outgoingResultWebhook"),I=L10(z.autoApprovalRate??60),K=ii0(Y),G=`wh_${K}_${Y10(8).toString("hex").slice(0,7)}`,W=P$($);return jW.parse({type:"webhook",id:`integration-${K}`,name:U,mode:Q,incomingDocumentWebhook:{id:G,url:`${W}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:J,incomingManualResultWebhook:{id:G,url:`${W}/api/v1/integrations/webhook/${G}/manual-result`},secret:z.secret?EW(z.secret,"secret"):q10(),autoApprovalRate:I,materialPackFilePolicy:nQ(z.materialPackFilePolicy)})}function Z10($,Y){return jW.parse({...$,...Y.name===void 0?{}:{name:EW(Y.name,"name")},...Y.mode===void 0?{}:{mode:Y.mode},...Y.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:V10(Y.outgoingResultWebhook,"outgoingResultWebhook")},...Y.autoApprovalRate===void 0?{}:{autoApprovalRate:L10(Y.autoApprovalRate)},...Y.rotateSecret||Y.secret!==void 0?{secret:Y.rotateSecret?q10():EW(Y.secret??"","secret")}:{},...Y.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:O00($.materialPackFilePolicy,Y.materialPackFilePolicy)}})}function ii0($){let Y=new Set($.map((U)=>U.id)),z=Date.now();while(Y.has(`integration-${z}`))z+=1;return z}function q10(){return Y10(16).toString("hex")}function EW($,Y){let z=$.trim();if(!z)throw Error(`Webhook ${Y} must not be empty`);return z}function V10($,Y){let z=EW($,Y);try{return new URL(z).toString()}catch{throw Error(`Webhook ${Y} must be a valid URL`)}}function L10($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function XM($,Y={}){let[z,U,Q]=await Promise.all([n6($),_3($,{limit:Y.documentLimit??50}),o1($,Y.stylePreferencesEndpoint).then((J)=>({ok:!0,data:J}),(J)=>({ok:!1,error:J instanceof Error?J.message:String(J)}))]);return{rules:z,documents:U,stylePreferences:Q}}async function b4($,Y={}){let z=new URLSearchParams;return z.set("offset",String(Y.offset??0)),z.set("limit",String(Y.limit??50)),c8(z,"fromTimestamp",Y.fromTimestamp),c8(z,"toTimestamp",Y.toTimestamp),c8(z,"startDate",Y.startDate),c8(z,"endDate",Y.endDate),e00(z,"status",Y.status),c8(z,"sourceSystem",Y.sourceSystem),c8(z,"taskMode",Y.taskMode),c8(z,"search",Y.search),c8(z,"sourceDocumentSN",Y.sourceDocumentSN),c8(z,"sourceDocumentId",Y.sourceDocumentId),e00(z,"manualApprovalStatus",Y.manualApprovalStatus),M1(await $.get("api/v1/approvals",{searchParams:z}),gS)}async function G4($,Y){return M1(await $.get(`api/v1/approvals/${Y}`),ew)}async function pS($,Y){let z=await $.get(`api/v1/simulation/batch/${Y}/records`).json(),U=z.data??z;if(Array.isArray(U))return L.array(ew).parse(U);return gS.parse(U).records}async function F10($,Y){return M1(await $.post("api/v1/simulation/create-batch",{json:Y}),fS)}async function w10($,Y){return M1(await $.post("api/v1/simulation/create-material-pack-batch",{json:Y}),fS)}async function M10($,Y={}){let z=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(Y.limit??50)}}).json(),U=z.data??z;return L.array(xS).parse(U)}async function ZM($,Y){return M1(await $.get(`api/v1/simulation/batch/${Y}`),xS)}async function O10($){let Y=await $.get("api/v1/simulation/templates").json(),z=Y.data??Y;return L.array(o00).parse(z)}async function dS($){return M1(await $.get("api/v1/simulation/integration-status"),r00)}async function mS($){let Y=await $.get("api/v1/simulation/hosecloud-integrations").json(),z=Y.data??Y;return L.array(s00).parse(z)}async function N10($,Y){let U=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(Y)}/data`)).json().catch(()=>({}));return U.data??U}async function D10($,Y){let z=Y?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",U=Y?new URLSearchParams({signKey:Y}):void 0,Q=await $.get(z,{searchParams:U}).json(),J=Q.data??Q;return L.array(t00).parse(J)}async function B10($,Y){let z=await $.post("api/hosecloud/corporation",{json:Y}).json(),U=z.data??z;return L.object({corporationId:L.string()}).parse(U)}async function P10($,Y){let U=await(await $.post("api/hosecloud/outbound-config/sync",{json:Y})).json().catch(()=>({}));return U.data??U}async function A10($,Y){let z=new FormData;return z.append("file",new Blob([new Uint8Array(Y.fileBuffer)]),Y.fileName),M1(await $.post("api/v1/material-packages/upload",{body:z}),a00)}function c8($,Y,z){if(z)$.set(Y,z)}function e00($,Y,z){if(!z)return;(Array.isArray(z)?z:[z]).map((Q)=>Q.trim()).filter(Boolean).forEach((Q,J)=>{$.set(`${Y}[${J}]`,Q)})}async function T10($){return M1(await $.get("api/v1/delegation/list"),L.array(E00))}async function dQ($,Y){return M1(await $.post("api/v1/delegation/create",{json:Y??{}}),C00)}async function j10($,Y){let z=await $.post("api/v1/delegation/revoke",{json:{tokenId:Y}}),U=await z.json(),Q=UM.safeParse(U.data??U);return Q.success?Q.data.success??z.ok:z.ok}async function E10($,Y){let z=Y.departmentIds&&Y.departmentIds.length>0?Y.departmentIds:void 0;if(!z){let U=await $.get("api/v1/contacts/departments/root/children").json(),Q=ui0.safeParse(U.data??U),J=Q.success?Q.data.items?.[0]?._id:void 0;if(J)z=[J]}return M1(await $.post("api/v1/contacts/local/users",{json:{name:Y.name,phone:Y.phone,permissions:Y.permissions??[],departmentIds:z??[]}}),R00)}async function lS($,Y){return M1(await $.post(`api/v1/contacts/local/users/${Y}/reset-password`,{json:{}}),_00)}async function YM($,Y){return M1(await $.get(`api/v1/contacts/users/${Y}`),$M)}async function zM($,Y=""){return M1(await $.get("api/v1/contacts/search",{searchParams:{query:Y}}),v00)}async function C10($){return M1(await $.get("api/v1/contacts/departments/root/children"),kS)}async function R10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}`),yS)}async function _10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/children`),kS)}async function v10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/users`),h00)}async function h10($){return M1(await $.get("api/v1/contacts/last-sync-time"),S00)}async function qM($,Y={}){let z=oS(),U=new URLSearchParams;if(c8(U,"startDate",Y.startDate??z.startDate),c8(U,"endDate",Y.endDate??z.endDate),Y.limit!==void 0)U.set("limit",String(Y.limit));return M1(await $.get("api/v1/insight/stats",{searchParams:U}),g00)}async function VM($,Y){let z=oS(),U=new URLSearchParams;return U.set("tagId",Y.tagId),U.set("startDate",Y.startDate??z.startDate),U.set("endDate",Y.endDate??z.endDate),M1(await $.get("api/v1/insight/risks-by-tag",{searchParams:U}),y00)}async function LM($,Y={}){let z=oS(),U=$10(Y.startDate??z.startDate),Q=$10(Y.endDate??z.endDate),J=new URLSearchParams;return J.set("startDate",String(U)),J.set("endDate",String(Q)),M1(await $.get("api/v1/insight/performance",{searchParams:J}),k00)}async function S10($,Y){return await $.post(`api/v1/insight/analyze/${encodeURIComponent(Y)}`),{success:!0,recordId:Y}}function $10($){if(typeof $==="number")return $<100000000000?$*1000:$;let Y=Number($);if(!isNaN(Y)&&$.trim()!=="")return Y<100000000000?Y*1000:Y;let z=new Date($);if(isNaN(z.getTime()))throw Error(`Invalid date format: ${$}`);return z.getTime()}function oS(){let $=new Date,Y=new Date($.getFullYear(),$.getMonth(),1),z=new Date($.getFullYear(),$.getMonth()+1,0,23,59,59,999);return{startDate:Y.toISOString(),endDate:z.toISOString()}}function g10($){let Y=new URLSearchParams;return c8(Y,"filter[startDate]",$.startDate),c8(Y,"filter[endDate]",$.endDate),c8(Y,"filter[search]",$.search),Y.set("offset",String($.offset??0)),Y.set("limit",String($.limit??50)),Y}async function y10($,Y={}){return M1(await $.get("api/v1/expenses/list",{searchParams:g10(Y)}),f00)}async function k10($,Y={}){return M1(await $.get("api/v1/invoice/list",{searchParams:g10(Y)}),u00)}async function x10($){return M1(await $.get("api/v1/integrations/feishu/simulation/approval-definitions"),L.array(b00))}async function f10($,Y){let z=await $.delete(`api/v1/contacts/local/users/${Y}`),U=await z.json(),Q=UM.safeParse(U.data??U);return Q.success?Q.data.success??z.ok:z.ok}async function rS($,Y){let z=await $.post(`api/v1/contacts/local/users/${Y}/activate`,{json:{}}),U=await z.json(),Q=UM.safeParse(U.data??U);return Q.success?Q.data.success??z.ok:z.ok}async function ci0($,Y){let z=await $.post("api/auth/sms-otp/sign-in-password",{json:Y}),U=z.headers.get("set-auth-token"),Q=bi0.parse(await z.json()),J=U??Q.session?.token;if(!J)throw Error("Failed to retrieve authentication token from login response");return{token:J,user:Q.user}}async function u10($,Y,z,U){let Q;if(Y.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(Y.userIdOrPhone)){let q=await zM($,Y.userIdOrPhone),V=q.users.find((F)=>F.mobile?.includes(Y.userIdOrPhone)||F._id===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found with phone/ID: ${Y.userIdOrPhone}`);Q=V}else Q=await YM($,Y.userIdOrPhone).catch(async()=>{let q=await zM($,Y.userIdOrPhone),V=q.users.find((F)=>F.name===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found: ${Y.userIdOrPhone}`);return V});if(Q.status==="resigned")await rS($,Q._id),Q=await YM($,Q._id);let J=Q,I=Array.isArray(J.identities)&&J.identities.some((q)=>q.provider&&q.provider!=="local")||!!J.apps?.hosecloud;if(I&&U&&U.source.type==="hose"){let V=(Q.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,""),F=J.identities?.find((w)=>w.provider==="hosecloud")?.providerId,M=J.apps?.hosecloud?.boundId||F||(V?`${U.source.corpId}:${V}`:void 0);if(M){let w=await iQ(U),D=(await mw({...U.source,staffId:M},w)).token,N=R3(U,U.source),A=B6(U.seal),T=T8(N,void 0,A),B;try{B=await T.get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:D,returnToken:"1"}}).json()}catch(C){if(C instanceof D6&&C.response.status===400)throw Error(`Seal AI 用户“${Q.name}”未绑定合思账号,无法生成个人协助链接。`);throw C}let j=B.token??B.accessToken??B.data?.token;if(j){let C=await z(j),b=await dQ(C,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let K;try{K=await lS($,Q._id)}catch(q){if(I)throw Error(`用户 "${Q.name}" (${Q.mobile||Q._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw q}let W=(Q.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!W)throw Error(`User ${Q.name} has no associated phone number for password login`);let{token:H}=await ci0($,{phone:W,password:K.password}),X=await z(H),Z=await dQ(X,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:Z,temporaryPassword:K.password}}async function b10($){return M1(await $.get("api/v1/llm/config"),i00)}async function i10($){return M1(await $.get("api/v1/llm/providers"),L.array(c00))}async function c10($){return M1(await $.get("api/v1/permissions/available"),n00)}async function n10($){return M1(await $.get("api/v1/permissions/configs"),p00)}async function bY($){return M1(await $.get("api/v1/billing/status"),d00)}async function p10($){let z=await(await $.get("api/v1/billing/plans")).json();return z10.parse(z.data??z)}async function d10($){let z=await(await $.get("api/v1/billing/features")).json();return z10.parse(z.data??z)}var UM,ui0,bi0,z10;var X6=o(()=>{fQ();B$();pQ();s9();i8();bS();UM=L.object({success:L.boolean().optional()}).passthrough(),ui0=L.object({items:L.array(L.object({_id:L.string()})).optional()}).passthrough(),bi0=L.object({user:L.unknown().optional(),session:L.object({token:L.string().optional()}).optional()}).passthrough(),z10=L.json()});var Y6=E((Hc1,l10)=>{var{toString:m10}=Object.prototype,ni0=/["&<>]/,t9={each:function(Y,z){if(Y)if(Array.isArray(Y))Y.forEach(z);else Object.keys(Y).forEach((U)=>{z(Y[U],U)})},some:function(Y,z){if(Y){if(Array.isArray(Y))return Y.some(z);return Object.keys(Y).some((U)=>z(Y[U],U))}return!1},every:function(Y,z){if(Y){if(Array.isArray(Y))return Y.every(z);return Object.keys(Y).every((U)=>z(Y[U],U))}return!0},map:function(Y,z){if(Y){if(Array.isArray(Y))return Y.map(z);return Object.keys(Y).map((U)=>z(Y[U],U))}return[]},keyBy($,Y){return $.reduce((z,U)=>{return z[U[Y]]=U,z},{})},isEqual:function(Y,z){let U=typeof Y,Q=typeof z,J=Array.isArray(Y),I=Array.isArray(z),K;if(U!==Q)return!1;switch(typeof Y){case"object":if(J||I){if(J&&I)return Y.length===z.length&&Y.every((G,W)=>{let H=z[W];return t9.isEqual(G,H)});return!1}if(Y===null||z===null)return Y===z;if(K=Object.keys(Y),Object.keys(z).length!==K.length)return!1;for(let G of K)if(!z.hasOwnProperty(G))return!1;return t9.every(Y,(G,W)=>{let H=z[W];return t9.isEqual(G,H)});default:return Y===z}},escapeHtml($){let Y=ni0.exec($);if(!Y)return $;let z="",U="",Q=0,J=Y.index;for(;J<$.length;J++){switch($.charAt(J)){case'"':U=""";break;case"&":U="&";break;case"'":U="'";break;case"<":U="<";break;case">":U=">";break;default:continue}if(Q!==J)z+=$.substring(Q,J);Q=J+1,z+=U}if(Q!==J)return z+$.substring(Q,J);return z},strcmp($,Y){if($Y)return 1;return 0},isUndefined($){return m10.call($)==="[object Undefined]"},isObject($){return m10.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:Y}=arguments,z,U,Q;function J(I,K){if(z=$[K],Q=Array.isArray(I),t9.isObject(I)||Q){if(Q)Q=!1,U=z&&Array.isArray(z)?z:[];else U=z&&t9.isObject(z)?z:{};$[K]=t9.deepMerge(U,I)}else if(!t9.isUndefined(I))$[K]=I}for(let I=0;I{var pi0=/^[A-Z]+\d+$/,vW={_dictionary:["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"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let Y,z,U,Q,J,I=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(I<=26)Y=this._dictionary[I-1],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){I=27;while(I<=702)z=I-27,U=z%26,Q=Math.floor(z/26),Y=this._dictionary[Q]+this._dictionary[U],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){I=703;while(I<=16384)z=I-703,U=z%26,Q=Math.floor(z/26)%26,J=Math.floor(z/676),Y=this._dictionary[J]+this._dictionary[Q]+this._dictionary[U],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!pi0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let Y=$.length<5&&this._hash[$];if(Y)return Y;let z=!1,U="",Q=0,J=!1,I="",K=0;for(let W=0,H;W<$.length;W++)if(H=$.charCodeAt(W),!J&&H>=65&&H<=90)z=!0,U+=$[W],Q=Q*26+H-64;else if(H>=48&&H<=57)J=!0,I+=$[W],K=K*10+H-48;else if(J&&z&&H!==36)break;if(!z)Q=void 0;else if(Q>16384)throw Error(`Out of bounds. Invalid column letter: ${U}`);if(!J)K=void 0;$=U+I;let G={address:$,col:Q,row:K,$col$row:`$${U}$${I}`};if(Q<=100&&K<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,Y){if(Y){let z=this.n2l(Y)+$;return this.decodeAddress(z)}return this.decodeAddress($)},decode($){let Y=$.split(":");if(Y.length===2){let z=this.decodeAddress(Y[0]),U=this.decodeAddress(Y[1]),Q={top:Math.min(z.row,U.row),left:Math.min(z.col,U.col),bottom:Math.max(z.row,U.row),right:Math.max(z.col,U.col)};return Q.tl=this.n2l(Q.left)+Q.top,Q.br=this.n2l(Q.right)+Q.bottom,Q.dimensions=`${Q.tl}:${Q.br}`,Q}return this.decodeAddress($)},decodeEx($){let Y=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),z=Y[1]||Y[2],U=Y[3],Q=U.split(":");if(Q.length>1){let I=this.decodeAddress(Q[0]),K=this.decodeAddress(Q[1]),G=Math.min(I.row,K.row),W=Math.min(I.col,K.col),H=Math.max(I.row,K.row),X=Math.max(I.col,K.col);return I=this.n2l(W)+G,K=this.n2l(X)+H,{top:G,left:W,bottom:H,right:X,sheetName:z,tl:{address:I,col:W,row:G,$col$row:`$${this.n2l(W)}$${G}`,sheetName:z},br:{address:K,col:X,row:H,$col$row:`$${this.n2l(X)}$${H}`,sheetName:z},dimensions:`${I}:${K}`}}if(U.startsWith("#"))return z?{sheetName:z,error:U}:{error:U};let J=this.decodeAddress(U);return z?{sheetName:z,...J}:J},encodeAddress($,Y){return vW.n2l(Y)+$},encode(){switch(arguments.length){case 2:return vW.encodeAddress(arguments[0],arguments[1]);case 4:return`${vW.encodeAddress(arguments[0],arguments[1])}:${vW.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,Y){let[z,U,,Q,J]=$,[I,K]=Y;return I>=z&&I<=Q&&K>=U&&K<=J}};o10.exports=vW});var e9=E((Zc1,r10)=>{var m5=i4();class sS{constructor(){this.decode(arguments)}setTLBR($,Y,z,U,Q){if(arguments.length<4){let J=m5.decodeAddress($),I=m5.decodeAddress(Y);this.model={top:Math.min(J.row,I.row),left:Math.min(J.col,I.col),bottom:Math.max(J.row,I.row),right:Math.max(J.col,I.col),sheetName:z},this.setTLBR(J.row,J.col,I.row,I.col,Q)}else this.model={top:Math.min($,z),left:Math.min(Y,U),bottom:Math.max($,z),right:Math.max(Y,U),sheetName:Q}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let Y=$[0];if(Y instanceof sS)this.model={top:Y.model.top,left:Y.model.left,bottom:Y.model.bottom,right:Y.model.right,sheetName:Y.sheetName};else if(Y instanceof Array)this.decode(Y);else if(Y.top&&Y.left&&Y.bottom&&Y.right)this.model={top:Y.top,left:Y.left,bottom:Y.bottom,right:Y.right,sheetName:Y.sheetName};else{let z=m5.decodeEx(Y);if(z.top)this.model={top:z.top,left:z.left,bottom:z.bottom,right:z.right,sheetName:z.sheetName};else this.model={top:z.row,left:z.col,bottom:z.row,right:z.col,sheetName:z.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,Y,z,U){if(!this.model.top||$this.bottom)this.bottom=z;if(!this.model.right||U>this.right)this.right=U}expandRow($){if($){let{dimensions:Y,number:z}=$;if(Y)this.expand(z,Y.min,z,Y.max)}}expandToAddress($){let Y=m5.decodeEx($);this.expand(Y.row,Y.col,Y.row,Y.col)}get tl(){return m5.n2l(this.left)+this.top}get $t$l(){return`$${m5.n2l(this.left)}$${this.top}`}get br(){return m5.n2l(this.right)+this.bottom}get $b$r(){return`$${m5.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottomthis.bottom)return!1;if($.rightthis.right)return!1;return!0}contains($){let Y=m5.decodeEx($);return this.containsEx(Y)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let Y=this.left;Y<=this.right;Y++)for(let z=this.top;z<=this.bottom;z++)$(m5.encodeAddress(z,Y),z,Y)}}r10.exports=sS});var G5=E((qc1,s10)=>{s10.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var t10=E((Vc1,a10)=>{var FM=i4(),di0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,mi0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function li0($,Y,z){let U=FM.decode(Y),Q=FM.decode(z);return $.replace(di0,(J,I,K,G,W)=>{if(W)return J;let H=mi0.exec(G);if(H){let X=H[1],Z=H[2].toUpperCase(),q=H[3],V=H[4];if(Z.length>3||Z.length===3&&Z>"XFD")return J;let F=FM.l2n(Z),M=parseInt(V,10);if(!X)F+=Q.col-U.col;if(!q)M+=Q.row-U.row;return(I||"")+(X||"")+FM.n2l(F)+(q||"")+M}return J})}a10.exports={slideFormula:li0}});var $40=E((Lc1,e10)=>{var oi0=Y6();class hW{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return oi0.deepMerge({},hW.DEFAULT_CONFIGS,$)}set model($){let{note:Y}=$,{texts:z}=Y;if(z.length===1&&Object.keys(z[0]).length===1)this.note=z[0].text;else this.note=Y}static fromModel($){let Y=new hW;return Y.model=$,Y}}hW.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};e10.exports=hW});var L40=E((Fc1,V40)=>{var ri0=i4(),si0=Y6(),W5=G5(),{slideFormula:ai0}=t10(),Y40=$40();class d0{constructor($,Y,z){if(!$||!Y)throw Error("A Cell needs a Row");this._row=$,this._column=Y,ri0.validateAddress(z),this._address=z,this._value=h3.create(d0.Types.Null,this),this.style=this._mergeStyle($.style,Y.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,Y,z){let U=$&&$.numFmt||Y&&Y.numFmt;if(U)z.numFmt=U;let Q=$&&$.font||Y&&Y.font;if(Q)z.font=Q;let J=$&&$.alignment||Y&&Y.alignment;if(J)z.alignment=J;let I=$&&$.border||Y&&Y.border;if(I)z.border=I;let K=$&&$.fill||Y&&Y.fill;if(K)z.fill=K;let G=$&&$.protection||Y&&Y.protection;if(G)z.protection=G;return z}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===d0.Types.Merge}merge($,Y){if(this._value.release(),this._value=h3.create(d0.Types.Merge,this,$),!Y)this.style=$.style}unmerge(){if(this.type===d0.Types.Merge)this._value.release(),this._value=h3.create(d0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==d0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===d0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===d0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===d0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=h3.create(h3.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new Y40($)}get text(){return this._value.toString()}get html(){return si0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===d0.Types.String)this._value=h3.create(d0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:Y}=this.workbook;Y.removeAllNames(this.fullAddress),$.forEach((z)=>{Y.addEx(this.fullAddress,z)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=h3.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=Y40.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}d0.Types=W5.ValueType;class z40{constructor($){this.model={address:$.address,type:d0.Types.Null}}get value(){return null}set value($){}get type(){return d0.Types.Null}get effectiveType(){return d0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class U40{constructor($,Y){this.model={address:$.address,type:d0.Types.Number,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Number}get effectiveType(){return d0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class Q40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class J40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return d0.Types.RichText}get effectiveType(){return d0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class I40{constructor($,Y){this.model={address:$.address,type:d0.Types.Date,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Date}get effectiveType(){return d0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class K40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Hyperlink,text:Y?Y.text:void 0,hyperlink:Y?Y.hyperlink:void 0},Y&&Y.tooltip)this.model.tooltip=Y.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return d0.Types.Hyperlink}get effectiveType(){return d0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class G40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Merge,master:Y?Y.address:void 0},this._master=Y,Y)Y.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof d0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return d0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class W40{constructor($,Y){this.cell=$,this.model={address:$.address,type:d0.Types.Formula,shareType:Y?Y.shareType:void 0,ref:Y?Y.ref:void 0,formula:Y?Y.formula:void 0,sharedFormula:Y?Y.sharedFormula:void 0,result:Y?Y.result:void 0}}_copyModel($){let Y={},z=(U)=>{let Q=$[U];if(Q)Y[U]=Q};return z("formula"),z("result"),z("ref"),z("shareType"),z("sharedFormula"),Y}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(h3.getType($)){case d0.Types.Null:case d0.Types.String:case d0.Types.Number:case d0.Types.Date:break;case d0.Types.Hyperlink:case d0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),Y=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:Y}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return W5.FormulaType.Master;if(this.model.sharedFormula)return W5.FormulaType.Shared;return W5.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return d0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return W5.ValueType.Null;if($ instanceof String||typeof $==="string")return W5.ValueType.String;if(typeof $==="number")return W5.ValueType.Number;if($ instanceof Date)return W5.ValueType.Date;if($.text&&$.hyperlink)return W5.ValueType.Hyperlink;if($.formula)return W5.ValueType.Formula;return W5.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,Y=$.findCell(this.model.sharedFormula);this._translatedFormula=Y&&ai0(Y.formula,Y.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class H40{constructor($,Y){this.model={address:$.address,type:d0.Types.SharedString,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.SharedString}get effectiveType(){return d0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class X40{constructor($,Y){this.model={address:$.address,type:d0.Types.Boolean,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Boolean}get effectiveType(){return d0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class Z40{constructor($,Y){this.model={address:$.address,type:d0.Types.Error,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Error}get effectiveType(){return d0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class q40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:JSON.stringify(Y),rawValue:Y}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var h3={getType($){if($===null||$===void 0)return d0.Types.Null;if($ instanceof String||typeof $==="string")return d0.Types.String;if(typeof $==="number")return d0.Types.Number;if(typeof $==="boolean")return d0.Types.Boolean;if($ instanceof Date)return d0.Types.Date;if($.text&&$.hyperlink)return d0.Types.Hyperlink;if($.formula||$.sharedFormula)return d0.Types.Formula;if($.richText)return d0.Types.RichText;if($.sharedString)return d0.Types.SharedString;if($.error)return d0.Types.Error;return d0.Types.JSON},types:[{t:d0.Types.Null,f:z40},{t:d0.Types.Number,f:U40},{t:d0.Types.String,f:Q40},{t:d0.Types.Date,f:I40},{t:d0.Types.Hyperlink,f:K40},{t:d0.Types.Formula,f:W40},{t:d0.Types.Merge,f:G40},{t:d0.Types.JSON,f:q40},{t:d0.Types.SharedString,f:H40},{t:d0.Types.RichText,f:J40},{t:d0.Types.Boolean,f:X40},{t:d0.Types.Error,f:Z40}].reduce(($,Y)=>{return $[Y.t]=Y.f,$},[]),create($,Y,z){let U=this.types[$];if(!U)throw Error(`Could not create Value of type ${$}`);return new U(Y,z)}};V40.exports=d0});var MM=E((wc1,M40)=>{var ti0=Y6(),wM=G5(),iY=i4(),F40=L40();class w40{constructor($,Y){this._worksheet=$,this._number=Y,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let Y=this._cells[$.col-1];if(!Y){let z=this._worksheet.getColumn($.col);Y=new F40(this,z,$.address),this._cells[$.col-1]=Y}return Y}getCell($){if(typeof $==="string"){let Y=this._worksheet.getColumnKey($);if(Y)$=Y.number;else $=iY.l2n($)}return this._cells[$-1]||this.getCellEx({address:iY.encodeAddress(this._number,$),row:this._number,col:$})}splice($,Y,...z){let U=$+Y,Q=z.length-Y,J=this._cells.length,I,K,G;if(Q<0){for(I=$+z.length;I<=J;I++)if(G=this._cells[I-1],K=this._cells[I-Q-1],K)G=this.getCell(I),G.value=K.value,G.style=K.style,G._comment=K._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(Q>0)for(I=J;I>=U;I--)if(K=this._cells[I-1],K)G=this.getCell(I+Q),G.value=K.value,G.style=K.style,G._comment=K._comment;else this._cells[I+Q-1]=void 0;for(I=0;I{if(z&&z.type!==wM.ValueType.Null)Y(z,U+1)})}addPageBreak($,Y){let z=this._worksheet,U=Math.max(0,$-1)||0,Q=Math.max(0,Y-1)||16838,J={id:this._number,max:Q,man:1};if(U)J.min=U;z.rowBreaks.push(J)}get values(){let $=[];return this._cells.forEach((Y)=>{if(Y&&Y.type!==wM.ValueType.Null)$[Y.col]=Y.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let Y=0;if($.hasOwnProperty("0"))Y=1;$.forEach((z,U)=>{if(z!==void 0)this.getCellEx({address:iY.encodeAddress(this._number,U+Y),row:this._number,col:U+Y}).value=z})}else this._worksheet.eachColumnKey((Y,z)=>{if($[z]!==void 0)this.getCellEx({address:iY.encodeAddress(this._number,Y.number),row:this._number,col:Y.number}).value=$[z]})}get hasValues(){return ti0.some(this._cells,($)=>$&&$.type!==wM.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,Y=0;return this._cells.forEach((z)=>{if(z&&z.type!==wM.ValueType.Null){if(!$||$>z.col)$=z.col;if(Y0?{min:$,max:Y}:null}_applyStyle($,Y){return this.style[$]=Y,this._cells.forEach((z)=>{if(z)z[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],Y=0,z=0;return this._cells.forEach((U)=>{if(U){let Q=U.model;if(Q){if(!Y||Y>U.col)Y=U.col;if(z{switch(z.type){case F40.Types.Merge:break;default:{let U;if(z.address)U=iY.decodeAddress(z.address);else if(Y){let{row:J}=Y,I=Y.col+1;U={row:J,col:I,address:iY.encodeAddress(J,I),$col$row:`$${iY.n2l(I)}$${J}`}}Y=U;let Q=this.getCellEx(U);Q.model=z;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}M40.exports=w40});var NM=E((Mc1,O40)=>{var ei0=Y6(),$c0=G5(),Yc0=i4();class OM{constructor($,Y,z){if(this._worksheet=$,this._number=Y,z!==!1)this.defn=z}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return Yc0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((Y,z)=>{this._worksheet.getCell(z+1,this.number).value=Y});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&ei0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,Y){let z=this.number;if(!Y)Y=$,$=null;this._worksheet.eachRow($,(U,Q)=>{Y(U.getCell(z),Q)})}get values(){let $=[];return this.eachCell((Y,z)=>{if(Y&&Y.type!==$c0.ValueType.Null)$[z]=Y.value}),$}set values($){if(!$)return;let Y=this.number,z=0;if($.hasOwnProperty("0"))z=1;$.forEach((U,Q)=>{this._worksheet.getCell(Q+z,Y).value=U})}_applyStyle($,Y){return this.style[$]=Y,this.eachCell((z)=>{z[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let Y=[],z=null;if($)$.forEach((U,Q)=>{if(U.isDefault){if(z)z=null}else if(!z||!U.equivalentTo(z))z={min:Q+1,max:Q+1,width:U.width!==void 0?U.width:9,style:U.style,isCustomWidth:U.isCustomWidth,hidden:U.hidden,outlineLevel:U.outlineLevel,collapsed:U.collapsed},Y.push(z);else z.max=Q+1});return Y.length?Y:void 0}static fromModel($,Y){Y=Y||[];let z=[],U=1,Q=0;Y=Y.sort(function(J,I){return J.min-I.min});while(Q{var zc0=i4();class DM{constructor($,Y,z=0){if(this.worksheet=$,!Y)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof Y==="string"){let U=zc0.decodeAddress(Y);this.nativeCol=U.col+z,this.nativeColOff=0,this.nativeRow=U.row+z,this.nativeRowOff=0}else if(Y.nativeCol!==void 0)this.nativeCol=Y.nativeCol||0,this.nativeColOff=Y.nativeColOff||0,this.nativeRow=Y.nativeRow||0,this.nativeRowOff=Y.nativeRowOff||0;else if(Y.col!==void 0)this.col=Y.col+z,this.row=Y.row+z;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof DM||$==null?$:new DM($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}N40.exports=DM});var A40=E((Nc1,P40)=>{var Uc0=i4(),BM=D40();class B40{constructor($,Y){this.worksheet=$,this.model=Y}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:Y,range:z,hyperlinks:U}){if(this.type=$,this.imageId=Y,$==="image")if(typeof z==="string"){let Q=Uc0.decode(z);this.range={tl:new BM(this.worksheet,{col:Q.left,row:Q.top},-1),br:new BM(this.worksheet,{col:Q.right,row:Q.bottom},0),editAs:"oneCell"}}else this.range={tl:new BM(this.worksheet,z.tl,0),br:z.br&&new BM(this.worksheet,z.br,0),ext:z.ext,editAs:z.editAs,hyperlinks:U||z.hyperlinks}}}P40.exports=B40});var C40=E((Dc1,E40)=>{var PM=i4();class T40{constructor($,Y,z){this.table=$,this.column=Y,this.index=z}_set($,Y){this.table.cacheState(),this.column[$]=Y}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class j40{constructor($,Y){if(this.worksheet=$,Y)this.table=Y,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,Y=(G,W,H)=>{if(G[W]===void 0)G[W]=H};Y($,"headerRow",!0),Y($,"totalsRow",!1),Y($,"style",{}),Y($.style,"theme","TableStyleMedium2"),Y($.style,"showFirstColumn",!1),Y($.style,"showLastColumn",!1),Y($.style,"showRowStripes",!1),Y($.style,"showColumnStripes",!1);let z=(G,W)=>{if(!G)throw Error(W)};z($.ref,"Table must have ref"),z($.columns,"Table must have column definitions"),z($.rows,"Table must have row definitions"),$.tl=PM.decodeAddress($.ref);let{row:U,col:Q}=$.tl;z(U>0,"Table must be on valid row"),z(Q>0,"Table must be on valid col");let{width:J,filterHeight:I,tableHeight:K}=this;$.autoFilterRef=PM.encode(U,Q,U+I-1,Q+J-1),$.tableRef=PM.encode(U,Q,U+K-1,Q+J-1),$.columns.forEach((G,W)=>{if(z(G.name,`Column ${W} must have a name`),W===0)Y(G,"totalsRowLabel","Total");else Y(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(I,K)=>{if(K)Object.keys(K).forEach((G)=>{I[G]=K[G]})},{worksheet:Y,table:z}=this,{row:U,col:Q}=z.tl,J=0;if(z.headerRow){let I=Y.getRow(U+J++);z.columns.forEach((K,G)=>{let{style:W,name:H}=K,X=I.getCell(Q+G);X.value=H,$(X,W)})}if(z.rows.forEach((I)=>{let K=Y.getRow(U+J++);I.forEach((G,W)=>{let H=K.getCell(Q+W);H.value=G,$(H,z.columns[W].style)})}),z.totalsRow){let I=Y.getRow(U+J++);z.columns.forEach((K,G)=>{let W=I.getCell(Q+G);if(G===0)W.value=K.totalsRowLabel;else if(this.getFormula(K))W.value={formula:K.totalsRowFormula,result:K.totalsRowResult};else W.value=null;$(W,K.style)})}}load($){let{table:Y}=this,{row:z,col:U}=Y.tl,Q=0;if(Y.headerRow){let J=$.getRow(z+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(U+K);G.value=I.name})}if(Y.rows.forEach((J)=>{let I=$.getRow(z+Q++);J.forEach((K,G)=>{let W=I.getCell(U+G);W.value=K})}),Y.totalsRow){let J=$.getRow(z+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(U+K);if(K===0)G.value=I.totalsRowLabel;else if(this.getFormula(I))G.value={formula:I.totalsRowFormula,result:I.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=PM.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let Y=0;Y{U.push(Y[Q])});else this.table.columns.splice(z,0,$),this.table.rows.forEach((U,Q)=>{U.splice(z,0,Y[Q])})}removeColumns($,Y=1){this.cacheState(),this.table.columns.splice($,Y),this.table.rows.forEach((z)=>{z.splice($,Y)})}_assign($,Y,z){this.cacheState(),$[Y]=z}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}E40.exports=j40});var aS=E((Bc1,_40)=>{class R40{constructor($){this.model=$||{}}add($,Y){return this.model[$]=Y}find($){return this.model[$]}remove($){this.model[$]=void 0}}_40.exports=R40});var eS=E((Pc1,v40)=>{var tS=I0("crypto"),Qc0={hash($,...Y){let z=tS.createHash($);return z.update(Buffer.concat(Y)),z.digest()},convertPasswordToHash($,Y,z,U){if(Y=Y.toLowerCase(),tS.getHashes().indexOf(Y)<0)throw Error(`Hash algorithm '${Y}' not supported!`);let J=Buffer.from($,"utf16le"),I=this.hash(Y,Buffer.from(z,"base64"),J);for(let K=0;K{var h40=($,Y)=>({...$,...Y.reduce((z,U)=>{if($[U])z[U]={...$[U]};return z},{})}),l5=($,Y,z,U=[])=>{if($[z])Y[z]=h40($[z],U)},Jc0=($)=>Object.keys($).length===0,Ic0=($)=>{if(!$)return $;if(Jc0($))return{};let Y={...$};if(l5($,Y,"font",["color"]),l5($,Y,"alignment"),l5($,Y,"protection"),$.border)l5($,Y,"border"),l5($.border,Y.border,"top",["color"]),l5($.border,Y.border,"left",["color"]),l5($.border,Y.border,"bottom",["color"]),l5($.border,Y.border,"right",["color"]),l5($.border,Y.border,"diagonal",["color"]);if($.fill){if(l5($,Y,"fill",["fgColor","bgColor","center"]),$.fill.stops)Y.fill.stops=$.fill.stops.map((z)=>h40(z,["color"]))}return Y};Kc0.copyStyle=Ic0});var i40=E((Tc1,b40)=>{var SW=Y6(),gW=i4(),yW=e9(),g40=MM(),AM=NM(),Wc0=G5(),$g=A40(),y40=C40(),k40=aS(),x40=eS(),{copyStyle:f40}=S40();class u40{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new k40,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((Y)=>Y&&Y.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new yW;return this._rows.forEach((Y)=>{if(Y){let z=Y.dimensions;if(z)$.expand(Y.number,z.min,Y.number,z.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((U,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(U,J)},0);let Y=1,z=this._columns=[];$.forEach((U)=>{let Q=new AM(this,Y++,!1);z.push(Q),Q.defn=U})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){SW.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=gW.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new AM(this,Y++))}return this._columns[$-1]}spliceColumns($,Y,...z){let Q=this._rows.length;if(z.length>0)for(let G=0;G{W.push(X[G]||null)});let H=this.getRow(G+1);H.splice.apply(H,W)}else this._rows.forEach((G)=>{if(G)G.splice($,Y)});let J=z.length-Y,I=$+Y,K=this._columns.length;if(J<0)for(let G=$+z.length;G<=K;G++)this.getColumn(G).defn=this.getColumn(G-J).defn;else if(J>0)for(let G=K;G>=I;G--)this.getColumn(G+J).defn=this.getColumn(G).defn;for(let G=$;G<$+z.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,Y,z.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((Y)=>{$=Math.max($,Y.cellCount)}),$}get actualColumnCount(){let $=[],Y=0;return this.eachRow((z)=>{z.eachCell(({col:U})=>{if(!$[U])$[U]=!0,Y++})}),Y}_commitRow(){}get _lastRowNumber(){let $=this._rows,Y=$.length;while(Y>0&&$[Y-1]===void 0)Y--;return Y}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,Y){return this._rows.slice($-1,$-1+Y)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let Y=this._rows[$-1];if(!Y)Y=this._rows[$-1]=new g40(this,$);return Y}getRows($,Y){if(Y<1)return;let z=[];for(let U=$;U<$+Y;U++)z.push(this.getRow(U));return z}addRow($,Y="n"){let z=this._nextRow,U=this.getRow(z);return U.values=$,this._setStyleOption(z,Y[0]==="i"?Y:"n"),U}addRows($,Y="n"){let z=[];return $.forEach((U)=>{z.push(this.addRow(U,Y))}),z}insertRow($,Y,z="n"){return this.spliceRows($,0,Y),this._setStyleOption($,z),this.getRow($)}insertRows($,Y,z="n"){if(this.spliceRows($,0,...Y),z!=="n"){for(let U=0;U{Q.getCell(I).style=f40(J.style)}),Q.height=U.height}duplicateRow($,Y,z=!1){let U=this._rows[$-1],Q=Array(Y).fill(U.values);this.spliceRows($+1,z?0:Y,...Q);for(let J=0;J{I.getCell(G).style=K.style})}}spliceRows($,Y,...z){let U=$+Y,Q=z.length,J=Q-Y,I=this._rows.length,K,G;if(J<0){if($===I)this._rows[I-1]=void 0;for(K=U;K<=I;K++)if(G=this._rows[K-1],G){let W=this.getRow(K+J);W.values=G.values,W.style=G.style,W.height=G.height,G.eachCell({includeEmpty:!0},(H,X)=>{W.getCell(X).style=H.style}),this._rows[K-1]=void 0}else this._rows[K+J-1]=void 0}else if(J>0)for(K=I;K>=U;K--)if(G=this._rows[K-1],G){let W=this.getRow(K+J);W.values=G.values,W.style=G.style,W.height=G.height,G.eachCell({includeEmpty:!0},(H,X)=>{if(W.getCell(X).style=H.style,H._value.constructor.name==="MergeValue"){let Z=this.getRow(H._row._number+Q).getCell(X),q=H._value._master,V=this.getRow(q._row._number+Q).getCell(q._column._number);Z.merge(V)}})}else this._rows[K+J-1]=void 0;for(K=0;K{if(z&&z.hasValues)Y(z,z.number)})}getSheetValues(){let $=[];return this._rows.forEach((Y)=>{if(Y)$[Y.number]=Y.values}),$}findCell($,Y){let z=gW.getAddress($,Y),U=this._rows[z.row-1];return U?U.findCell(z.col):void 0}getCell($,Y){let z=gW.getAddress($,Y);return this.getRow(z.row).getCellEx(z)}mergeCells(...$){let Y=new yW($);this._mergeCellsInternal(Y)}mergeCellsWithoutStyle(...$){let Y=new yW($);this._mergeCellsInternal(Y,!0)}_mergeCellsInternal($,Y){SW.each(this._merges,(U)=>{if(U.intersects($))throw Error("Cannot merge already merged cells")});let z=this.getCell($.top,$.left);for(let U=$.top;U<=$.bottom;U++)for(let Q=$.left;Q<=$.right;Q++)if(U>$.top||Q>$.left)this.getCell(U,Q).merge(z,Y);this._merges[z.address]=$}_unMergeMaster($){let Y=this._merges[$.address];if(Y){for(let z=Y.top;z<=Y.bottom;z++)for(let U=Y.left;U<=Y.right;U++)this.getCell(z,U).unmerge();delete this._merges[$.address]}}get hasMerges(){return SW.some(this._merges,Boolean)}unMergeCells(...$){let Y=new yW($);for(let z=Y.top;z<=Y.bottom;z++)for(let U=Y.left;U<=Y.right;U++){let Q=this.findCell(z,U);if(Q){if(Q.type===Wc0.ValueType.Merge)this._unMergeMaster(Q.master);else if(this._merges[Q.address])this._unMergeMaster(Q)}}}fillFormula($,Y,z,U="shared"){let Q=gW.decode($),{top:J,left:I,bottom:K,right:G}=Q,W=G-I+1,H=gW.encodeAddress(J,I),X=U==="shared",Z;if(typeof z==="function")Z=z;else if(Array.isArray(z))if(Array.isArray(z[0]))Z=(V,F)=>z[V-J][F-I];else Z=(V,F)=>z[(V-J)*W+(F-I)];else Z=()=>{return};let q=!0;for(let V=J;V<=K;V++)for(let F=I;F<=G;F++)if(q)this.getCell(V,F).value={shareType:U,formula:Y,ref:$,result:Z(V,F)},q=!1;else this.getCell(V,F).value=X?{sharedFormula:H,result:Z(V,F)}:Z(V,F)}addImage($,Y){let z={type:"image",imageId:$,range:Y};this._media.push(new $g(this,z))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let Y={type:"background",imageId:$};this._media.push(new $g(this,Y))}getBackgroundImageId(){let $=this._media.find((Y)=>Y.type==="background");return $&&$.imageId}protect($,Y){return new Promise((z)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=x40.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=x40.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}z()})}unprotect(){this.sheetProtection=null}addTable($){let Y=new y40(this,$);return this.tables[$.name]=Y,Y}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((U)=>U.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((U)=>U.model),conditionalFormattings:this.conditionalFormattings};$.cols=AM.toModel(this.columns);let Y=$.rows=[],z=$.dimensions=new yW;return this._rows.forEach((U)=>{let Q=U&&U.model;if(Q)z.expand(Q.number,Q.min,Q.number,Q.max),Y.push(Q)}),$.merges=[],SW.each(this._merges,(U)=>{$.merges.push(U.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((Y)=>{let z=new g40(this,Y.number);this._rows[z.number-1]=z,z.model=Y})}_parseMergeCells($){SW.each($.mergeCells,(Y)=>{this.mergeCellsWithoutStyle(Y)})}set model($){this.name=$.name,this._columns=AM.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new k40($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((Y)=>new $g(this,Y)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((Y,z)=>{let U=new y40;return U.model=z,Y[z.name]=U,Y},{}),this.conditionalFormattings=$.conditionalFormattings}}b40.exports=u40});var d40=E((jc1,p40)=>{var c40=Y6(),TM=i4();class n40{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(TM.decodeEx($))}getCell($){return this.findCellEx(TM.decodeEx($),!0)}findCell($){return this.findCellEx(TM.decodeEx($),!1)}findCellAt($,Y,z){let U=this.sheets[$],Q=U&&U[Y];return Q&&Q[z]}addCellEx($){if($.top)for(let Y=$.top;Y<=$.bottom;Y++)for(let z=$.left;z<=$.right;z++)this.getCellAt($.sheetName,Y,z);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,Y){let z=this.findSheet($,Y),U=this.findSheetRow(z,$,Y);return this.findRowCell(U,$,Y)}getCellAt($,Y,z){let U=this.sheets[$]||(this.sheets[$]=[]),Q=U[Y]||(U[Y]=[]);return Q[z]||(Q[z]={sheetName:$,address:TM.n2l(z)+Y,row:Y,col:z})}removeCellEx($){let Y=this.findSheet($);if(!Y)return;let z=this.findSheetRow(Y,$);if(!z)return;delete z[$.col]}forEachInSheet($,Y){let z=this.sheets[$];if(z)z.forEach((U,Q)=>{if(U)U.forEach((J,I)=>{if(J)Y(J,Q,I)})})}forEach($){c40.each(this.sheets,(Y,z)=>{this.forEachInSheet(z,$)})}map($){let Y=[];return this.forEach((z)=>{Y.push($(z))}),Y}findSheet($,Y){let z=$.sheetName;if(this.sheets[z])return this.sheets[z];if(Y)return this.sheets[z]=[];return}findSheetRow($,Y,z){let{row:U}=Y;if($&&$[U])return $[U];if(z)return $[U]=[];return}findRowCell($,Y,z){let{col:U}=Y;if($&&$[U])return $[U];if(z)return $[U]=this.template?Object.assign(Y,JSON.parse(JSON.stringify(this.template))):Y;return}spliceRows($,Y,z,U){let Q=this.sheets[$];if(Q){let J=[];for(let I=0;I{I.splice(Y,z,...J)})}}}p40.exports=n40});var Yg=E((Ec1,o40)=>{var lQ=Y6(),kW=i4(),m40=d40(),Hc0=e9(),Xc0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class l40{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new m40)}add($,Y){let z=kW.decodeEx($);this.addEx(z,Y)}addEx($,Y){let z=this.getMatrix(Y);if($.top)for(let U=$.left;U<=$.right;U++)for(let Q=$.top;Q<=$.bottom;Q++){let J={sheetName:$.sheetName,address:kW.n2l(U)+Q,row:Q,col:U};z.addCellEx(J)}else z.addCellEx($)}remove($,Y){let z=kW.decodeEx($);this.removeEx(z,Y)}removeEx($,Y){this.getMatrix(Y).removeCellEx($)}removeAllNames($){lQ.each(this.matrixMap,(Y)=>{Y.removeCellEx($)})}forEach($){lQ.each(this.matrixMap,(Y,z)=>{Y.forEach((U)=>{$(z,U)})})}getNames($){return this.getNamesEx(kW.decodeEx($))}getNamesEx($){return lQ.map(this.matrixMap,(Y,z)=>Y.findCellEx($)&&z).filter(Boolean)}_explore($,Y){Y.mark=!1;let{sheetName:z}=Y,U=new Hc0(Y.row,Y.col,Y.row,Y.col,z),Q,J;function I(G,W){let H=$.findCellAt(z,G,Y.col);if(!H||!H.mark)return!1;return U[W]=G,H.mark=!1,!0}for(J=Y.row-1;I(J,"top");J--);for(J=Y.row+1;I(J,"bottom");J++);function K(G,W){let H=[];for(J=U.top;J<=U.bottom;J++){let X=$.findCellAt(z,J,G);if(X&&X.mark)H.push(X);else return!1}U[W]=G;for(let X=0;X{U.mark=!0});let z=Y.map((U)=>U.mark&&this._explore(Y,U)).filter(Boolean).map((U)=>U.$shortRange);return{name:$,ranges:z}}normaliseMatrix($,Y){$.forEachInSheet(Y,(z,U,Q)=>{if(z){if(z.row!==U||z.col!==Q)z.row=U,z.col=Q,z.address=kW.n2l(Q)+U}})}spliceRows($,Y,z,U){lQ.each(this.matrixMap,(Q)=>{Q.spliceRows($,Y,z,U),this.normaliseMatrix(Q,$)})}spliceColumns($,Y,z,U){lQ.each(this.matrixMap,(Q)=>{Q.spliceColumns($,Y,z,U),this.normaliseMatrix(Q,$)})}get model(){return lQ.map(this.matrixMap,($,Y)=>this.getRanges(Y,$)).filter(($)=>$.ranges.length)}set model($){let Y=this.matrixMap={};$.forEach((z)=>{let U=Y[z.name]=new m40;z.ranges.forEach((Q)=>{if(Xc0.test(Q.split("!").pop()||""))U.addCell(Q)})})}}o40.exports=l40});var I6=E((Cc1,zg)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)zg.exports={nextTick:Zc0};else zg.exports=process;function Zc0($,Y,z,U){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var Q=arguments.length,J,I;switch(Q){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,Y)});case 3:return process.nextTick(function(){$.call(null,Y,z)});case 4:return process.nextTick(function(){$.call(null,Y,z,U)});default:J=Array(Q-1),I=0;while(I{var qc0={}.toString;r40.exports=Array.isArray||function($){return qc0.call($)=="[object Array]"}});var K6=E((Ug,a40)=>{var jM=I0("buffer"),$7=jM.Buffer;function s40($,Y){for(var z in $)Y[z]=$[z]}if($7.from&&$7.alloc&&$7.allocUnsafe&&$7.allocUnsafeSlow)a40.exports=jM;else s40(jM,Ug),Ug.Buffer=rQ;function rQ($,Y,z){return $7($,Y,z)}s40($7,rQ);rQ.from=function($,Y,z){if(typeof $==="number")throw TypeError("Argument must not be a number");return $7($,Y,z)};rQ.alloc=function($,Y,z){if(typeof $!=="number")throw TypeError("Argument must be a number");var U=$7($);if(Y!==void 0)if(typeof z==="string")U.fill(Y,z);else U.fill(Y);else U.fill(0);return U};rQ.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return $7($)};rQ.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return jM.SlowBuffer($)}});var M4=E((Cc0)=>{function Vc0($){if(Array.isArray)return Array.isArray($);return EM($)==="[object Array]"}Cc0.isArray=Vc0;function Lc0($){return typeof $==="boolean"}Cc0.isBoolean=Lc0;function Fc0($){return $===null}Cc0.isNull=Fc0;function wc0($){return $==null}Cc0.isNullOrUndefined=wc0;function Mc0($){return typeof $==="number"}Cc0.isNumber=Mc0;function Oc0($){return typeof $==="string"}Cc0.isString=Oc0;function Nc0($){return typeof $==="symbol"}Cc0.isSymbol=Nc0;function Dc0($){return $===void 0}Cc0.isUndefined=Dc0;function Bc0($){return EM($)==="[object RegExp]"}Cc0.isRegExp=Bc0;function Pc0($){return typeof $==="object"&&$!==null}Cc0.isObject=Pc0;function Ac0($){return EM($)==="[object Date]"}Cc0.isDate=Ac0;function Tc0($){return EM($)==="[object Error]"||$ instanceof Error}Cc0.isError=Tc0;function jc0($){return typeof $==="function"}Cc0.isFunction=jc0;function Ec0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}Cc0.isPrimitive=Ec0;Cc0.isBuffer=I0("buffer").Buffer.isBuffer;function EM($){return Object.prototype.toString.call($)}});var t40=E((vc1,Qg)=>{if(typeof Object.create==="function")Qg.exports=function(Y,z){if(z)Y.super_=z,Y.prototype=Object.create(z.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else Qg.exports=function(Y,z){if(z){Y.super_=z;var U=function(){};U.prototype=z.prototype,Y.prototype=new U,Y.prototype.constructor=Y}}});var X1=E((hc1,Jg)=>{try{if(CM=I0("util"),typeof CM.inherits!=="function")throw"";Jg.exports=CM.inherits}catch($){Jg.exports=t40()}var CM});var $60=E((Sc1,Ig)=>{function pc0($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var e40=K6().Buffer,xW=I0("util");function dc0($,Y,z){$.copy(Y,z)}Ig.exports=function(){function $(){pc0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return e40.alloc(0);var U=e40.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)dc0(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(xW&&xW.inspect&&xW.inspect.custom)Ig.exports.prototype[xW.inspect.custom]=function(){var $=xW.inspect({length:this.length});return this.constructor.name+" "+$}});var Kg=E((gc1,Y60)=>{var RM=I6();function mc0($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)RM.nextTick(_M,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,RM.nextTick(_M,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)RM.nextTick(_M,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,RM.nextTick(_M,z,J)}else if(Y)Y(J)}),this}function lc0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function _M($,Y){$.emit("error",Y)}Y60.exports={destroy:mc0,undestroy:lc0}});var S3=E((yc1,z60)=>{z60.exports=I0("util").deprecate});var Wg=E((kc1,H60)=>{var cY=I6();H60.exports=Z6;function Q60($){var Y=this;this.next=null,this.entry=null,this.finish=function(){Xn0(Y,$)}}var oc0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:cY.nextTick,sQ;Z6.WritableState=uW;var J60=Object.create(M4());J60.inherits=X1();var rc0={deprecate:S3()},I60=I0("stream"),hM=K6().Buffer,sc0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ac0($){return hM.from($)}function tc0($){return hM.isBuffer($)||$ instanceof sc0}var K60=Kg();J60.inherits(Z6,I60);function ec0(){}function uW($,Y){sQ=sQ||nY(),$=$||{};var z=Y instanceof sQ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){In0(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Q60(this)}uW.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(uW.prototype,"buffer",{get:rc0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var vM;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")vM=Function.prototype[Symbol.hasInstance],Object.defineProperty(Z6,Symbol.hasInstance,{value:function($){if(vM.call(this,$))return!0;if(this!==Z6)return!1;return $&&$._writableState instanceof uW}});else vM=function($){return $ instanceof this};function Z6($){if(sQ=sQ||nY(),!vM.call(Z6,this)&&!(this instanceof sQ))return new Z6($);if(this._writableState=new uW($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}I60.call(this)}Z6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function $n0($,Y){var z=Error("write after end");$.emit("error",z),cY.nextTick(Y,z)}function Yn0($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),cY.nextTick(U,J),Q=!1;return Q}Z6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&tc0($);if(J&&!hM.isBuffer($))$=ac0($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=ec0;if(U.ended)$n0(this,z);else if(J||Yn0(this,U,$,z))U.pendingcb++,Q=Un0(this,U,J,$,Y,z);return Q};Z6.prototype.cork=function(){var $=this._writableState;$.corked++};Z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)G60(this,$)}};Z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function zn0($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=hM.from(Y,z);return Y}Object.defineProperty(Z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Un0($,Y,z,U,Q,J){if(!z){var I=zn0(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var X60=I6(),Zn0=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};V60.exports=Y7;var Z60=Object.create(M4());Z60.inherits=X1();var q60=Xg(),Hg=Wg();Z60.inherits(Y7,q60);{SM=Zn0(Hg.prototype);for(bW=0;bW{var qg=K6().Buffer,L60=qg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ln0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Fn0($){var Y=Ln0($);if(typeof Y!=="string"&&(qg.isEncoding===L60||!L60($)))throw Error("Unknown encoding: "+$);return Y||$}Cn0.StringDecoder=cW;function cW($){this.encoding=Fn0($);var Y;switch(this.encoding){case"utf16le":this.text=Bn0,this.end=Pn0,Y=4;break;case"utf8":this.fillLast=On0,Y=4;break;case"base64":this.text=An0,this.end=Tn0,Y=3;break;default:this.write=jn0,this.end=En0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=qg.allocUnsafe(Y)}cW.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};cW.prototype.end=Dn0;cW.prototype.text=Nn0;cW.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Zg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function wn0($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function Mn0($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function On0($){var Y=this.lastTotal-this.lastNeed,z=Mn0(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function Nn0($,Y){var z=wn0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function Dn0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function Bn0($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function Pn0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function An0($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function Tn0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function jn0($){return $.toString(this.encoding)}function En0($){return $&&$.length?this.write($):""}});var Xg=E((bc1,E60)=>{var tQ=I6();E60.exports=P4;var _n0=oQ(),nW;P4.ReadableState=B60;var uc1=I0("events").EventEmitter,O60=function($,Y){return $.listeners(Y).length},Og=I0("stream"),pW=K6().Buffer,vn0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function hn0($){return pW.from($)}function Sn0($){return pW.isBuffer($)||$ instanceof vn0}var N60=Object.create(M4());N60.inherits=X1();var Lg=I0("util"),t1=void 0;if(Lg&&Lg.debuglog)t1=Lg.debuglog("stream");else t1=function(){};var gn0=$60(),D60=Kg(),aQ;N60.inherits(P4,Og);var Fg=["error","close","destroy","pause","resume"];function yn0($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(_n0($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function B60($,Y){nW=nW||nY(),$=$||{};var z=Y instanceof nW;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new gn0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!aQ)aQ=Vg().StringDecoder;this.decoder=new aQ($.encoding),this.encoding=$.encoding}}function P4($){if(nW=nW||nY(),!(this instanceof P4))return new P4($);if(this._readableState=new B60($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Og.call(this)}Object.defineProperty(P4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});P4.prototype.destroy=D60.destroy;P4.prototype._undestroy=D60.undestroy;P4.prototype._destroy=function($,Y){this.push(null),Y($)};P4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=pW.from($,Y),Y="";U=!0}}else U=!0;return P60(this,$,Y,!1,U)};P4.prototype.unshift=function($){return P60(this,$,null,!0,!1)};function P60($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,un0($,J);else{var I;if(!Q)I=kn0(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==pW.prototype)Y=hn0(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else wg($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)wg($,J,Y,!1);else A60($,J);else wg($,J,Y,!1)}else if(!U)J.reading=!1}return xn0(J)}function wg($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)gM($)}A60($,Y)}function kn0($,Y){var z;if(!Sn0(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function xn0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}P4.prototype.isPaused=function(){return this._readableState.flowing===!1};P4.prototype.setEncoding=function($){if(!aQ)aQ=Vg().StringDecoder;return this._readableState.decoder=new aQ($),this._readableState.encoding=$,this};var F60=8388608;function fn0($){if($>=F60)$=F60;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function w60($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=fn0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}P4.prototype.read=function($){t1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(t1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Mg(this);else gM(this);return null}if($=w60($,Y),$===0&&Y.ended){if(Y.length===0)Mg(this);return null}var U=Y.needReadable;if(t1("need readable",U),Y.length===0||Y.length-$0)Q=T60($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Mg(this)}if(Q!==null)this.emit("data",Q);return Q};function un0($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,gM($)}function gM($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(t1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)tQ.nextTick(M60,$);else M60($)}function M60($){t1("emit readable"),$.emit("readable"),Ng($)}function A60($,Y){if(!Y.readingMore)Y.readingMore=!0,tQ.nextTick(bn0,$,Y)}function bn0($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&j60(U.pipes,$)!==-1)&&!W)t1("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(t1("onerror",w),M(),$.removeListener("error",q),O60($,"error")===0)$.emit("error",w)}yn0($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){t1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){t1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)t1("pipe resume"),z.resume();return $};function in0($){return function(){var Y=$._readableState;if(t1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&O60($,"data"))Y.flowing=!0,Ng($)}}P4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=dn0($,Y.buffer,Y.decoder);return z}function dn0($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function ln0($,Y){var z=pW.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function Mg($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,tQ.nextTick(on0,Y,$)}function on0($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function j60($,Y){for(var z=0,U=$.length;z{_60.exports=z7;var yM=nY(),R60=Object.create(M4());R60.inherits=X1();R60.inherits(z7,yM);function rn0($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{S60.exports=dW;var v60=Dg(),h60=Object.create(M4());h60.inherits=X1();h60.inherits(dW,v60);function dW($){if(!(this instanceof dW))return new dW($);v60.call(this,$)}dW.prototype._transform=function($,Y,z){z(null,$)}});var Bg=E((p6,kM)=>{var o5=I0("stream");if(process.env.READABLE_STREAM==="disable"&&o5)kM.exports=o5,p6=kM.exports=o5.Readable,p6.Readable=o5.Readable,p6.Writable=o5.Writable,p6.Duplex=o5.Duplex,p6.Transform=o5.Transform,p6.PassThrough=o5.PassThrough,p6.Stream=o5;else p6=kM.exports=Xg(),p6.Stream=o5||p6,p6.Readable=p6,p6.Writable=Wg(),p6.Duplex=nY(),p6.Transform=Dg(),p6.PassThrough=g60()});var U7=E((tn0)=>{tn0.base64=!0;tn0.array=!0;tn0.string=!0;tn0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";tn0.nodebuffer=typeof Buffer<"u";tn0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")tn0.blob=!1;else{xM=new ArrayBuffer(0);try{tn0.blob=new Blob([xM],{type:"application/zip"}).size===0}catch($){try{Ag=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,fM=new Ag,fM.append(xM),tn0.blob=fM.getBlob("application/zip").size===0}catch(Y){tn0.blob=!1}}}var xM,Ag,fM;try{tn0.nodestream=!!Bg().Readable}catch($){tn0.nodestream=!1}});var Tg=E((Kp0)=>{var Jp0=c4(),Ip0=U7(),r5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Kp0.encode=function($){var Y=[],z,U,Q,J,I,K,G,W=0,H=$.length,X=H,Z=Jp0.getTypeOf($)!=="string";while(W<$.length){if(X=H-W,!Z)z=$.charCodeAt(W++),U=W>2,I=(z&3)<<4|U>>4,K=X>1?(U&15)<<2|Q>>6:64,G=X>2?Q&63:64,Y.push(r5.charAt(J)+r5.charAt(I)+r5.charAt(K)+r5.charAt(G))}return Y.join("")};Kp0.decode=function($){var Y,z,U,Q,J,I,K,G=0,W=0,H="data:";if($.substr(0,H.length)===H)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var X=$.length*3/4;if($.charAt($.length-1)===r5.charAt(64))X--;if($.charAt($.length-2)===r5.charAt(64))X--;if(X%1!==0)throw Error("Invalid base64 input, bad content length.");var Z;if(Ip0.uint8array)Z=new Uint8Array(X|0);else Z=Array(X|0);while(G<$.length){if(Q=r5.indexOf($.charAt(G++)),J=r5.indexOf($.charAt(G++)),I=r5.indexOf($.charAt(G++)),K=r5.indexOf($.charAt(G++)),Y=Q<<2|J>>4,z=(J&15)<<4|I>>2,U=(I&3)<<6|K,Z[W++]=Y,I!==64)Z[W++]=z;if(K!==64)Z[W++]=U}return Z}});var mW=E((dc1,y60)=>{y60.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,Y){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,Y);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,Y)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var Y=new Buffer($);return Y.fill(0),Y}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var f60=E((lc1,x60)=>{var mc1=global.MutationObserver||global.WebKitMutationObserver,k60;k60=function(){process.nextTick(Vp0)};var Hp0,Xp0,Zp0,qp0,jg,lW=[];function Vp0(){jg=!0;var $,Y,z=lW.length;while(z){Y=lW,lW=[],$=-1;while(++${var u60=f60();function $J(){}var H8={},b60=["REJECTED"],Eg=["FULFILLED"],i60=["PENDING"];eQ=["UNHANDLED"];var eQ;p60.exports=g3;function g3($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=i60,this.queue=[],this.outcome=void 0,this.handled=eQ,$!==$J)c60(this,$)}g3.prototype.finally=function($){if(typeof $!=="function")return this;var Y=this.constructor;return this.then(z,U);function z(Q){function J(){return Q}return Y.resolve($()).then(J)}function U(Q){function J(){throw Q}return Y.resolve($()).then(J)}};g3.prototype.catch=function($){return this.then(null,$)};g3.prototype.then=function($,Y){if(typeof $!=="function"&&this.state===Eg||typeof Y!=="function"&&this.state===b60)return this;var z=new this.constructor($J);if(this.handled===eQ)this.handled=null;if(this.state!==i60){var U=this.state===Eg?$:Y;Cg(z,U,this.outcome)}else this.queue.push(new oW(z,$,Y));return z};function oW($,Y,z){if(this.promise=$,typeof Y==="function")this.onFulfilled=Y,this.callFulfilled=this.otherCallFulfilled;if(typeof z==="function")this.onRejected=z,this.callRejected=this.otherCallRejected}oW.prototype.callFulfilled=function($){H8.resolve(this.promise,$)};oW.prototype.otherCallFulfilled=function($){Cg(this.promise,this.onFulfilled,$)};oW.prototype.callRejected=function($){H8.reject(this.promise,$)};oW.prototype.otherCallRejected=function($){Cg(this.promise,this.onRejected,$)};function Cg($,Y,z){u60(function(){var U;try{U=Y(z)}catch(Q){return H8.reject($,Q)}if(U===$)H8.reject($,TypeError("Cannot resolve promise with itself"));else H8.resolve($,U)})}H8.resolve=function($,Y){var z=n60(Fp0,Y);if(z.status==="error")return H8.reject($,z.value);var U=z.value;if(U)c60($,U);else{$.state=Eg,$.outcome=Y;var Q=-1,J=$.queue.length;while(++Q{var Rg=null;if(typeof Promise<"u")Rg=Promise;else Rg=d60();m60.exports={Promise:Rg}});var _g=E((l60)=>{(function($,Y){if($.setImmediate)return;var z=1,U={},Q=!1,J=$.document,I;function K(O){if(typeof O!=="function")O=Function(""+O);var D=Array(arguments.length-1);for(var N=0;N"u"?typeof global>"u"?l60:global:self)});var c4=E((Pp0)=>{var y3=U7(),Dp0=Tg(),zJ=mW(),vg=YJ();_g();function Bp0($){var Y=null;if(y3.uint8array)Y=new Uint8Array($.length);else Y=Array($.length);return bM($,Y)}Pp0.newBlob=function($,Y){Pp0.checkSupport("blob");try{return new Blob([$],{type:Y})}catch(Q){try{var z=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,U=new z;return U.append($),U.getBlob(Y)}catch(J){throw Error("Bug : can't construct the Blob.")}}};function rW($){return $}function bM($,Y){for(var z=0;z<$.length;++z)Y[z]=$.charCodeAt(z)&255;return Y}var uM={stringifyByChunk:function($,Y,z){var U=[],Q=0,J=$.length;if(J<=z)return String.fromCharCode.apply(null,$);while(Q1)try{return uM.stringifyByChunk($,z,Y)}catch(Q){Y=Math.floor(Y/2)}return uM.stringifyByChar($)}Pp0.applyFromCharCode=sW;function iM($,Y){for(var z=0;z<$.length;z++)Y[z]=$[z];return Y}var k3={};k3.string={string:rW,array:function($){return bM($,Array($.length))},arraybuffer:function($){return k3.string.uint8array($).buffer},uint8array:function($){return bM($,new Uint8Array($.length))},nodebuffer:function($){return bM($,zJ.allocBuffer($.length))}};k3.array={string:sW,array:rW,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return zJ.newBufferFrom($)}};k3.arraybuffer={string:function($){return sW(new Uint8Array($))},array:function($){return iM(new Uint8Array($),Array($.byteLength))},arraybuffer:rW,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return zJ.newBufferFrom(new Uint8Array($))}};k3.uint8array={string:sW,array:function($){return iM($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:rW,nodebuffer:function($){return zJ.newBufferFrom($)}};k3.nodebuffer={string:sW,array:function($){return iM($,Array($.length))},arraybuffer:function($){return k3.nodebuffer.uint8array($).buffer},uint8array:function($){return iM($,new Uint8Array($.length))},nodebuffer:rW};Pp0.transformTo=function($,Y){if(!Y)Y="";if(!$)return Y;Pp0.checkSupport($);var z=Pp0.getTypeOf(Y),U=k3[z][$](Y);return U};Pp0.resolve=function($){var Y=$.split("/"),z=[];for(var U=0;U"u")$[z]=arguments[Y][z];return $};Pp0.prepareContent=function($,Y,z,U,Q){var J=vg.Promise.resolve(Y).then(function(I){var K=y3.blob&&(I instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(I))!==-1);if(K&&typeof FileReader<"u")return new vg.Promise(function(G,W){var H=new FileReader;H.onload=function(X){G(X.target.result)},H.onerror=function(X){W(X.target.error)},H.readAsArrayBuffer(I)});else return I});return J.then(function(I){var K=Pp0.getTypeOf(I);if(!K)return vg.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(K==="arraybuffer")I=Pp0.transformTo("uint8array",I);else if(K==="string"){if(Q)I=Dp0.decode(I);else if(z){if(U!==!0)I=Bp0(I)}}return I})}});var I$=E((tc1,a60)=>{function s60($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}s60.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,Y){return this._listeners[$].push(Y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,Y){if(this._listeners[$])for(var z=0;z "+$;else return $}};a60.exports=s60});var QJ=E((fp0)=>{var UJ=c4(),pY=U7(),gp0=mW(),cM=I$(),aW=Array(256);for(s5=0;s5<256;s5++)aW[s5]=s5>=252?6:s5>=248?5:s5>=240?4:s5>=224?3:s5>=192?2:1;var s5;aW[254]=aW[254]=1;var yp0=function($){var Y,z,U,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|z&63;else if(z<65536)Y[J++]=224|z>>>12,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63;else Y[J++]=240|z>>>18,Y[J++]=128|z>>>12&63,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63}return Y},kp0=function($,Y){var z;if(Y=Y||$.length,Y>$.length)Y=$.length;z=Y-1;while(z>=0&&($[z]&192)===128)z--;if(z<0)return Y;if(z===0)return Y;return z+aW[$[z]]>Y?z:Y},xp0=function($){var Y,z,U,Q,J=$.length,I=Array(J*2);for(z=0,Y=0;Y4){I[z++]=65533,Y+=Q-1;continue}U&=Q===2?31:Q===3?15:7;while(Q>1&&Y1){I[z++]=65533;continue}if(U<65536)I[z++]=U;else U-=65536,I[z++]=55296|U>>10&1023,I[z++]=56320|U&1023}if(I.length!==z)if(I.subarray)I=I.subarray(0,z);else I.length=z;return UJ.applyFromCharCode(I)};fp0.utf8encode=function(Y){if(pY.nodebuffer)return gp0.newBufferFrom(Y,"utf-8");return yp0(Y)};fp0.utf8decode=function(Y){if(pY.nodebuffer)return UJ.transformTo("nodebuffer",Y).toString("utf-8");return Y=UJ.transformTo(pY.uint8array?"uint8array":"array",Y),xp0(Y)};function nM(){cM.call(this,"utf-8 decode"),this.leftOver=null}UJ.inherits(nM,cM);nM.prototype.processChunk=function($){var Y=UJ.transformTo(pY.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(pY.uint8array){var z=Y;Y=new Uint8Array(z.length+this.leftOver.length),Y.set(this.leftOver,0),Y.set(z,this.leftOver.length)}else Y=this.leftOver.concat(Y);this.leftOver=null}var U=kp0(Y),Q=Y;if(U!==Y.length)if(pY.uint8array)Q=Y.subarray(0,U),this.leftOver=Y.subarray(U,Y.length);else Q=Y.slice(0,U),this.leftOver=Y.slice(U,Y.length);this.push({data:fp0.utf8decode(Q),meta:$.meta})};nM.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:fp0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};fp0.Utf8DecodeWorker=nM;function Sg(){cM.call(this,"utf-8 encode")}UJ.inherits(Sg,cM);Sg.prototype.processChunk=function($){this.push({data:fp0.utf8encode($.data),meta:$.meta})};fp0.Utf8EncodeWorker=Sg});var z80=E(($n1,Y80)=>{var e60=I$(),$80=c4();function yg($){e60.call(this,"ConvertWorker to "+$),this.destType=$}$80.inherits(yg,e60);yg.prototype.processChunk=function($){this.push({data:$80.transformTo(this.destType,$.data),meta:$.meta})};Y80.exports=yg});var J80=E((Yn1,Q80)=>{var U80=Bg().Readable,ip0=c4();ip0.inherits(kg,U80);function kg($,Y,z){U80.call(this,Y),this._helper=$;var U=this;$.on("data",function(Q,J){if(!U.push(Q))U._helper.pause();if(z)z(J)}).on("error",function(Q){U.emit("error",Q)}).on("end",function(){U.push(null)})}kg.prototype._read=function(){this._helper.resume()};Q80.exports=kg});var xg=E((zn1,G80)=>{var dY=c4(),cp0=z80(),np0=I$(),pp0=Tg(),dp0=U7(),mp0=YJ(),I80=null;if(dp0.nodestream)try{I80=J80()}catch($){}function lp0($,Y,z){switch($){case"blob":return dY.newBlob(dY.transformTo("arraybuffer",Y),z);case"base64":return pp0.encode(Y);default:return dY.transformTo($,Y)}}function op0($,Y){var z,U=0,Q=null,J=0;for(z=0;z{sp0.base64=!1;sp0.binary=!1;sp0.dir=!1;sp0.createFolders=!0;sp0.date=null;sp0.compression=null;sp0.compressionOptions=null;sp0.comment=null;sp0.unixPermissions=null;sp0.dosPermissions=null});var ug=E((Qn1,W80)=>{var pM=c4(),dM=I$(),Kd0=16384;function JJ($){dM.call(this,"DataWorker");var Y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(z){if(Y.dataIsReady=!0,Y.data=z,Y.max=z&&z.length||0,Y.type=pM.getTypeOf(z),!Y.isPaused)Y._tickAndRepeat()},function(z){Y.error(z)})}pM.inherits(JJ,dM);JJ.prototype.cleanUp=function(){dM.prototype.cleanUp.call(this),this.data=null};JJ.prototype.resume=function(){if(!dM.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,pM.delay(this._tickAndRepeat,[],this);return!0};JJ.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)pM.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};JJ.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=Kd0,Y=null,z=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":Y=this.data.substring(this.index,z);break;case"uint8array":Y=this.data.subarray(this.index,z);break;case"array":case"nodebuffer":Y=this.data.slice(this.index,z);break}return this.index=z,this.push({data:Y,meta:{percent:this.max?this.index/this.max*100:0}})}};W80.exports=JJ});var mM=E((Jn1,X80)=>{var Gd0=c4();function Wd0(){var $,Y=[];for(var z=0;z<256;z++){$=z;for(var U=0;U<8;U++)$=$&1?3988292384^$>>>1:$>>>1;Y[z]=$}return Y}var H80=Wd0();function Hd0($,Y,z,U){var Q=H80,J=U+z;$=$^-1;for(var I=U;I>>8^Q[($^Y[I])&255];return $^-1}function Xd0($,Y,z,U){var Q=H80,J=U+z;$=$^-1;for(var I=U;I>>8^Q[($^Y.charCodeAt(I))&255];return $^-1}X80.exports=function(Y,z){if(typeof Y>"u"||!Y.length)return 0;var U=Gd0.getTypeOf(Y)!=="string";if(U)return Hd0(z|0,Y,Y.length,0);else return Xd0(z|0,Y,Y.length,0)}});var ig=E((In1,q80)=>{var Z80=I$(),Zd0=mM(),qd0=c4();function bg(){Z80.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}qd0.inherits(bg,Z80);bg.prototype.processChunk=function($){this.streamInfo.crc32=Zd0($.data,this.streamInfo.crc32||0),this.push($)};q80.exports=bg});var L80=E((Kn1,V80)=>{var Vd0=c4(),cg=I$();function ng($){cg.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}Vd0.inherits(ng,cg);ng.prototype.processChunk=function($){if($){var Y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=Y+$.data.length}cg.prototype.processChunk.call(this,$)};V80.exports=ng});var lM=E((Gn1,M80)=>{var F80=YJ(),w80=ug(),Ld0=ig(),pg=L80();function dg($,Y,z,U,Q){this.compressedSize=$,this.uncompressedSize=Y,this.crc32=z,this.compression=U,this.compressedContent=Q}dg.prototype={getContentWorker:function(){var $=new w80(F80.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new pg("data_length")),Y=this;return $.on("end",function(){if(this.streamInfo.data_length!==Y.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new w80(F80.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};dg.createWorkerFrom=function($,Y,z){return $.pipe(new Ld0).pipe(new pg("uncompressedSize")).pipe(Y.compressWorker(z)).pipe(new pg("compressedSize")).withStreamInfo("compression",Y)};M80.exports=dg});var B80=E((Wn1,D80)=>{var Fd0=xg(),wd0=ug(),mg=QJ(),lg=lM(),O80=I$(),og=function($,Y,z){this.name=$,this.dir=z.dir,this.date=z.date,this.comment=z.comment,this.unixPermissions=z.unixPermissions,this.dosPermissions=z.dosPermissions,this._data=Y,this._dataBinary=z.binary,this.options={compression:z.compression,compressionOptions:z.compressionOptions}};og.prototype={internalStream:function($){var Y=null,z="string";try{if(!$)throw Error("No output type specified.");z=$.toLowerCase();var U=z==="string"||z==="text";if(z==="binarystring"||z==="text")z="string";Y=this._decompressWorker();var Q=!this._dataBinary;if(Q&&!U)Y=Y.pipe(new mg.Utf8EncodeWorker);if(!Q&&U)Y=Y.pipe(new mg.Utf8DecodeWorker)}catch(J){Y=new O80("error"),Y.error(J)}return new Fd0(Y,z,"")},async:function($,Y){return this.internalStream($).accumulate(Y)},nodeStream:function($,Y){return this.internalStream($||"nodebuffer").toNodejsStream(Y)},_compressWorker:function($,Y){if(this._data instanceof lg&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var z=this._decompressWorker();if(!this._dataBinary)z=z.pipe(new mg.Utf8EncodeWorker);return lg.createWorkerFrom(z,$,Y)}},_decompressWorker:function(){if(this._data instanceof lg)return this._data.getContentWorker();else if(this._data instanceof O80)return this._data;else return new wd0(this._data)}};var N80=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Md0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(tW=0;tW{var Bd0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function Pd0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}rg.assign=function($){var Y=Array.prototype.slice.call(arguments,1);while(Y.length){var z=Y.shift();if(!z)continue;if(typeof z!=="object")throw TypeError(z+"must be non-object");for(var U in z)if(Pd0(z,U))$[U]=z[U]}return $};rg.shrinkBuf=function($,Y){if($.length===Y)return $;if($.subarray)return $.subarray(0,Y);return $.length=Y,$};var Ad0={arraySet:function($,Y,z,U,Q){if(Y.subarray&&$.subarray){$.set(Y.subarray(z,z+U),Q);return}for(var J=0;J{var Ed0=Q7(),Cd0=4,A80=0,T80=1,Rd0=2;function KJ($){var Y=$.length;while(--Y>=0)$[Y]=0}var _d0=0,v80=1,vd0=2,hd0=3,Sd0=258,Uy=29,QH=256,$H=QH+1+Uy,IJ=30,Qy=19,h80=2*$H+1,mY=15,ag=16,gd0=7,Jy=256,S80=16,g80=17,y80=18,Yy=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],oM=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],yd0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k80=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],kd0=512,J7=Array(($H+2)*2);KJ(J7);var eW=Array(IJ*2);KJ(eW);var YH=Array(kd0);KJ(YH);var zH=Array(Sd0-hd0+1);KJ(zH);var Iy=Array(Uy);KJ(Iy);var rM=Array(IJ);KJ(rM);function tg($,Y,z,U,Q){this.static_tree=$,this.extra_bits=Y,this.extra_base=z,this.elems=U,this.max_length=Q,this.has_stree=$&&$.length}var x80,f80,u80;function eg($,Y){this.dyn_tree=$,this.max_code=0,this.stat_desc=Y}function b80($){return $<256?YH[$]:YH[256+($>>>7)]}function UH($,Y){$.pending_buf[$.pending++]=Y&255,$.pending_buf[$.pending++]=Y>>>8&255}function n8($,Y,z){if($.bi_valid>ag-z)$.bi_buf|=Y<<$.bi_valid&65535,UH($,$.bi_buf),$.bi_buf=Y>>ag-$.bi_valid,$.bi_valid+=z-ag;else $.bi_buf|=Y<<$.bi_valid&65535,$.bi_valid+=z}function a5($,Y,z){n8($,z[Y*2],z[Y*2+1])}function i80($,Y){var z=0;do z|=$&1,$>>>=1,z<<=1;while(--Y>0);return z>>>1}function xd0($){if($.bi_valid===16)UH($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function fd0($,Y){var{dyn_tree:z,max_code:U}=Y,Q=Y.stat_desc.static_tree,J=Y.stat_desc.has_stree,I=Y.stat_desc.extra_bits,K=Y.stat_desc.extra_base,G=Y.stat_desc.max_length,W,H,X,Z,q,V,F=0;for(Z=0;Z<=mY;Z++)$.bl_count[Z]=0;z[$.heap[$.heap_max]*2+1]=0;for(W=$.heap_max+1;WG)Z=G,F++;if(z[H*2+1]=Z,H>U)continue;if($.bl_count[Z]++,q=0,H>=K)q=I[H-K];if(V=z[H*2],$.opt_len+=V*(Z+q),J)$.static_len+=V*(Q[H*2+1]+q)}if(F===0)return;do{Z=G-1;while($.bl_count[Z]===0)Z--;$.bl_count[Z]--,$.bl_count[Z+1]+=2,$.bl_count[G]--,F-=2}while(F>0);for(Z=G;Z!==0;Z--){H=$.bl_count[Z];while(H!==0){if(X=$.heap[--W],X>U)continue;if(z[X*2+1]!==Z)$.opt_len+=(Z-z[X*2+1])*z[X*2],z[X*2+1]=Z;H--}}}function c80($,Y,z){var U=Array(mY+1),Q=0,J,I;for(J=1;J<=mY;J++)U[J]=Q=Q+z[J-1]<<1;for(I=0;I<=Y;I++){var K=$[I*2+1];if(K===0)continue;$[I*2]=i80(U[K]++,K)}}function ud0(){var $,Y,z,U,Q,J=Array(mY+1);z=0;for(U=0;U>=7;for(;U8)UH($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function bd0($,Y,z,U){if(p80($),U)UH($,z),UH($,~z);Ed0.arraySet($.pending_buf,$.window,Y,z,$.pending),$.pending+=z}function j80($,Y,z,U){var Q=Y*2,J=z*2;return $[Q]<$[J]||$[Q]===$[J]&&U[Y]<=U[z]}function $y($,Y,z){var U=$.heap[z],Q=z<<1;while(Q<=$.heap_len){if(Q<$.heap_len&&j80(Y,$.heap[Q+1],$.heap[Q],$.depth))Q++;if(j80(Y,U,$.heap[Q],$.depth))break;$.heap[z]=$.heap[Q],z=Q,Q<<=1}$.heap[z]=U}function E80($,Y,z){var U,Q,J=0,I,K;if($.last_lit!==0)do if(U=$.pending_buf[$.d_buf+J*2]<<8|$.pending_buf[$.d_buf+J*2+1],Q=$.pending_buf[$.l_buf+J],J++,U===0)a5($,Q,Y);else{if(I=zH[Q],a5($,I+QH+1,Y),K=Yy[I],K!==0)Q-=Iy[I],n8($,Q,K);if(U--,I=b80(U),a5($,I,z),K=oM[I],K!==0)U-=rM[I],n8($,U,K)}while(J<$.last_lit);a5($,Jy,Y)}function zy($,Y){var z=Y.dyn_tree,U=Y.stat_desc.static_tree,Q=Y.stat_desc.has_stree,J=Y.stat_desc.elems,I,K,G=-1,W;$.heap_len=0,$.heap_max=h80;for(I=0;I>1;I>=1;I--)$y($,z,I);W=J;do I=$.heap[1],$.heap[1]=$.heap[$.heap_len--],$y($,z,1),K=$.heap[1],$.heap[--$.heap_max]=I,$.heap[--$.heap_max]=K,z[W*2]=z[I*2]+z[K*2],$.depth[W]=($.depth[I]>=$.depth[K]?$.depth[I]:$.depth[K])+1,z[I*2+1]=z[K*2+1]=W,$.heap[1]=W++,$y($,z,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],fd0($,Y),c80(z,G,$.bl_count)}function C80($,Y,z){var U,Q=-1,J,I=Y[1],K=0,G=7,W=4;if(I===0)G=138,W=3;Y[(z+1)*2+1]=65535;for(U=0;U<=z;U++){if(J=I,I=Y[(U+1)*2+1],++K=3;Y--)if($.bl_tree[k80[Y]*2+1]!==0)break;return $.opt_len+=3*(Y+1)+5+5+4,Y}function cd0($,Y,z,U){var Q;n8($,Y-257,5),n8($,z-1,5),n8($,U-4,4);for(Q=0;Q>>=1)if(Y&1&&$.dyn_ltree[z*2]!==0)return A80;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return T80;for(z=32;z0){if($.strm.data_type===Rd0)$.strm.data_type=nd0($);if(zy($,$.l_desc),zy($,$.d_desc),I=id0($),Q=$.opt_len+3+7>>>3,J=$.static_len+3+7>>>3,J<=Q)Q=J}else Q=J=z+5;if(z+4<=Q&&Y!==-1)d80($,Y,z,U);else if($.strategy===Cd0||J===Q)n8($,(v80<<1)+(U?1:0),3),E80($,J7,eW);else n8($,(vd0<<1)+(U?1:0),3),cd0($,$.l_desc.max_code+1,$.d_desc.max_code+1,I+1),E80($,$.dyn_ltree,$.dyn_dtree);if(n80($),U)p80($)}function ld0($,Y,z){if($.pending_buf[$.d_buf+$.last_lit*2]=Y>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=Y&255,$.pending_buf[$.l_buf+$.last_lit]=z&255,$.last_lit++,Y===0)$.dyn_ltree[z*2]++;else $.matches++,Y--,$.dyn_ltree[(zH[z]+QH+1)*2]++,$.dyn_dtree[b80(Y)*2]++;return $.last_lit===$.lit_bufsize-1}od0._tr_init=pd0;od0._tr_stored_block=d80;od0._tr_flush_block=md0;od0._tr_tally=ld0;od0._tr_align=dd0});var Ky=E((Zn1,l80)=>{function $m0($,Y,z,U){var Q=$&65535|0,J=$>>>16&65535|0,I=0;while(z!==0){I=z>2000?2000:z,z-=I;do Q=Q+Y[U++]|0,J=J+Q|0;while(--I);Q%=65521,J%=65521}return Q|J<<16|0}l80.exports=$m0});var Gy=E((qn1,o80)=>{function Ym0(){var $,Y=[];for(var z=0;z<256;z++){$=z;for(var U=0;U<8;U++)$=$&1?3988292384^$>>>1:$>>>1;Y[z]=$}return Y}var zm0=Ym0();function Um0($,Y,z,U){var Q=zm0,J=U+z;$^=-1;for(var I=U;I>>8^Q[($^Y[I])&255];return $^-1}o80.exports=Um0});var sM=E((Vn1,r80)=>{r80.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var Q$0=E((km0)=>{var j8=Q7(),j$=m80(),e80=Ky(),x3=Gy(),Qm0=sM(),sY=0,Jm0=1,Im0=3,c3=4,s80=5,e5=0,a80=1,E$=-2,Km0=-3,Wy=-5,Gm0=-1,Wm0=1,aM=2,Hm0=3,Xm0=4,Zm0=0,qm0=2,YO=8,Vm0=9,Lm0=15,Fm0=8,wm0=29,Mm0=256,Xy=Mm0+1+wm0,Om0=30,Nm0=19,Dm0=2*Xy+1,Bm0=15,f1=3,b3=258,H5=b3+f1+1,Pm0=32,zO=42,Zy=69,tM=73,eM=91,$O=103,lY=113,IH=666,P6=1,KH=2,oY=3,HJ=4,Am0=3;function i3($,Y){return $.msg=Qm0[Y],Y}function t80($){return($<<1)-($>4?9:0)}function u3($){var Y=$.length;while(--Y>=0)$[Y]=0}function f3($){var Y=$.state,z=Y.pending;if(z>$.avail_out)z=$.avail_out;if(z===0)return;if(j8.arraySet($.output,Y.pending_buf,Y.pending_out,z,$.next_out),$.next_out+=z,Y.pending_out+=z,$.total_out+=z,$.avail_out-=z,Y.pending-=z,Y.pending===0)Y.pending_out=0}function d6($,Y){j$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,Y),$.block_start=$.strstart,f3($.strm)}function r1($,Y){$.pending_buf[$.pending++]=Y}function JH($,Y){$.pending_buf[$.pending++]=Y>>>8&255,$.pending_buf[$.pending++]=Y&255}function Tm0($,Y,z,U){var Q=$.avail_in;if(Q>U)Q=U;if(Q===0)return 0;if($.avail_in-=Q,j8.arraySet(Y,$.input,$.next_in,Q,z),$.state.wrap===1)$.adler=e80($.adler,Y,Q,z);else if($.state.wrap===2)$.adler=x3($.adler,Y,Q,z);return $.next_in+=Q,$.total_in+=Q,Q}function $$0($,Y){var{max_chain_length:z,strstart:U}=$,Q,J,I=$.prev_length,K=$.nice_match,G=$.strstart>$.w_size-H5?$.strstart-($.w_size-H5):0,W=$.window,H=$.w_mask,X=$.prev,Z=$.strstart+b3,q=W[U+I-1],V=W[U+I];if($.prev_length>=$.good_match)z>>=2;if(K>$.lookahead)K=$.lookahead;do{if(Q=Y,W[Q+I]!==V||W[Q+I-1]!==q||W[Q]!==W[U]||W[++Q]!==W[U+1])continue;U+=2,Q++;do;while(W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&UI){if($.match_start=Y,I=J,J>=K)break;q=W[U+I-1],V=W[U+I]}}while((Y=X[Y&H])>G&&--z!==0);if(I<=$.lookahead)return I;return $.lookahead}function rY($){var Y=$.w_size,z,U,Q,J,I;do{if(J=$.window_size-$.lookahead-$.strstart,$.strstart>=Y+(Y-H5)){j8.arraySet($.window,$.window,Y,Y,0),$.match_start-=Y,$.strstart-=Y,$.block_start-=Y,U=$.hash_size,z=U;do Q=$.head[--z],$.head[z]=Q>=Y?Q-Y:0;while(--U);U=Y,z=U;do Q=$.prev[--z],$.prev[z]=Q>=Y?Q-Y:0;while(--U);J+=Y}if($.strm.avail_in===0)break;if(U=Tm0($.strm,$.window,$.strstart+$.lookahead,J),$.lookahead+=U,$.lookahead+$.insert>=f1){I=$.strstart-$.insert,$.ins_h=$.window[I],$.ins_h=($.ins_h<<$.hash_shift^$.window[I+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[I+f1-1])&$.hash_mask,$.prev[I&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=I,I++,$.insert--,$.lookahead+$.insert$.pending_buf_size-5)z=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(rY($),$.lookahead===0&&Y===sY)return P6;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var U=$.block_start+z;if($.strstart===0||$.strstart>=U){if($.lookahead=$.strstart-U,$.strstart=U,d6($,!1),$.strm.avail_out===0)return P6}if($.strstart-$.block_start>=$.w_size-H5){if(d6($,!1),$.strm.avail_out===0)return P6}}if($.insert=0,Y===c3){if(d6($,!0),$.strm.avail_out===0)return oY;return HJ}if($.strstart>$.block_start){if(d6($,!1),$.strm.avail_out===0)return P6}return P6}function Hy($,Y){var z,U;for(;;){if($.lookahead=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(z!==0&&$.strstart-z<=$.w_size-H5)$.match_length=$$0($,z);if($.match_length>=f1)if(U=j$._tr_tally($,$.strstart-$.match_start,$.match_length-f1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=f1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else U=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(d6($,!1),$.strm.avail_out===0)return P6}}if($.insert=$.strstart=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=f1-1,z!==0&&$.prev_length<$.max_lazy_match&&$.strstart-z<=$.w_size-H5){if($.match_length=$$0($,z),$.match_length<=5&&($.strategy===Wm0||$.match_length===f1&&$.strstart-$.match_start>4096))$.match_length=f1-1}if($.prev_length>=f1&&$.match_length<=$.prev_length){Q=$.strstart+$.lookahead-f1,U=j$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-f1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=Q)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=f1-1,$.strstart++,U){if(d6($,!1),$.strm.avail_out===0)return P6}}else if($.match_available){if(U=j$._tr_tally($,0,$.window[$.strstart-1]),U)d6($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return P6}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)U=j$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart=f1&&$.strstart>0){if(Q=$.strstart-1,U=I[Q],U===I[++Q]&&U===I[++Q]&&U===I[++Q]){J=$.strstart+b3;do;while(U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&Q$.lookahead)$.match_length=$.lookahead}}if($.match_length>=f1)z=j$._tr_tally($,1,$.match_length-f1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else z=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(z){if(d6($,!1),$.strm.avail_out===0)return P6}}if($.insert=0,Y===c3){if(d6($,!0),$.strm.avail_out===0)return oY;return HJ}if($.last_lit){if(d6($,!1),$.strm.avail_out===0)return P6}return KH}function Cm0($,Y){var z;for(;;){if($.lookahead===0){if(rY($),$.lookahead===0){if(Y===sY)return P6;break}}if($.match_length=0,z=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,z){if(d6($,!1),$.strm.avail_out===0)return P6}}if($.insert=0,Y===c3){if(d6($,!0),$.strm.avail_out===0)return oY;return HJ}if($.last_lit){if(d6($,!1),$.strm.avail_out===0)return P6}return KH}function t5($,Y,z,U,Q){this.good_length=$,this.max_lazy=Y,this.nice_length=z,this.max_chain=U,this.func=Q}var WJ;WJ=[new t5(0,0,0,0,jm0),new t5(4,4,8,4,Hy),new t5(4,5,16,8,Hy),new t5(4,6,32,32,Hy),new t5(4,4,16,16,GJ),new t5(8,16,32,32,GJ),new t5(8,16,128,128,GJ),new t5(8,32,128,256,GJ),new t5(32,128,258,1024,GJ),new t5(32,258,258,4096,GJ)];function Rm0($){$.window_size=2*$.w_size,u3($.head),$.max_lazy_match=WJ[$.level].max_lazy,$.good_match=WJ[$.level].good_length,$.nice_match=WJ[$.level].nice_length,$.max_chain_length=WJ[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=f1-1,$.match_available=0,$.ins_h=0}function _m0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=YO,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new j8.Buf16(Dm0*2),this.dyn_dtree=new j8.Buf16((2*Om0+1)*2),this.bl_tree=new j8.Buf16((2*Nm0+1)*2),u3(this.dyn_ltree),u3(this.dyn_dtree),u3(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new j8.Buf16(Bm0+1),this.heap=new j8.Buf16(2*Xy+1),u3(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new j8.Buf16(2*Xy+1),u3(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Y$0($){var Y;if(!$||!$.state)return i3($,E$);if($.total_in=$.total_out=0,$.data_type=qm0,Y=$.state,Y.pending=0,Y.pending_out=0,Y.wrap<0)Y.wrap=-Y.wrap;return Y.status=Y.wrap?zO:lY,$.adler=Y.wrap===2?0:1,Y.last_flush=sY,j$._tr_init(Y),e5}function z$0($){var Y=Y$0($);if(Y===e5)Rm0($.state);return Y}function vm0($,Y){if(!$||!$.state)return E$;if($.state.wrap!==2)return E$;return $.state.gzhead=Y,e5}function U$0($,Y,z,U,Q,J){if(!$)return E$;var I=1;if(Y===Gm0)Y=6;if(U<0)I=0,U=-U;else if(U>15)I=2,U-=16;if(Q<1||Q>Vm0||z!==YO||U<8||U>15||Y<0||Y>9||J<0||J>Xm0)return i3($,E$);if(U===8)U=9;var K=new _m0;return $.state=K,K.strm=$,K.wrap=I,K.gzhead=null,K.w_bits=U,K.w_size=1<s80||Y<0)return $?i3($,E$):E$;if(U=$.state,!$.output||!$.input&&$.avail_in!==0||U.status===IH&&Y!==c3)return i3($,$.avail_out===0?Wy:E$);if(U.strm=$,z=U.last_flush,U.last_flush=Y,U.status===zO)if(U.wrap===2)if($.adler=0,r1(U,31),r1(U,139),r1(U,8),!U.gzhead)r1(U,0),r1(U,0),r1(U,0),r1(U,0),r1(U,0),r1(U,U.level===9?2:U.strategy>=aM||U.level<2?4:0),r1(U,Am0),U.status=lY;else{if(r1(U,(U.gzhead.text?1:0)+(U.gzhead.hcrc?2:0)+(!U.gzhead.extra?0:4)+(!U.gzhead.name?0:8)+(!U.gzhead.comment?0:16)),r1(U,U.gzhead.time&255),r1(U,U.gzhead.time>>8&255),r1(U,U.gzhead.time>>16&255),r1(U,U.gzhead.time>>24&255),r1(U,U.level===9?2:U.strategy>=aM||U.level<2?4:0),r1(U,U.gzhead.os&255),U.gzhead.extra&&U.gzhead.extra.length)r1(U,U.gzhead.extra.length&255),r1(U,U.gzhead.extra.length>>8&255);if(U.gzhead.hcrc)$.adler=x3($.adler,U.pending_buf,U.pending,0);U.gzindex=0,U.status=Zy}else{var I=YO+(U.w_bits-8<<4)<<8,K=-1;if(U.strategy>=aM||U.level<2)K=0;else if(U.level<6)K=1;else if(U.level===6)K=2;else K=3;if(I|=K<<6,U.strstart!==0)I|=Pm0;if(I+=31-I%31,U.status=lY,JH(U,I),U.strstart!==0)JH(U,$.adler>>>16),JH(U,$.adler&65535);$.adler=1}if(U.status===Zy)if(U.gzhead.extra){Q=U.pending;while(U.gzindex<(U.gzhead.extra.length&65535)){if(U.pending===U.pending_buf_size){if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(f3($),Q=U.pending,U.pending===U.pending_buf_size)break}r1(U,U.gzhead.extra[U.gzindex]&255),U.gzindex++}if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(U.gzindex===U.gzhead.extra.length)U.gzindex=0,U.status=tM}else U.status=tM;if(U.status===tM)if(U.gzhead.name){Q=U.pending;do{if(U.pending===U.pending_buf_size){if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(f3($),Q=U.pending,U.pending===U.pending_buf_size){J=1;break}}if(U.gzindexQ)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(J===0)U.gzindex=0,U.status=eM}else U.status=eM;if(U.status===eM)if(U.gzhead.comment){Q=U.pending;do{if(U.pending===U.pending_buf_size){if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(f3($),Q=U.pending,U.pending===U.pending_buf_size){J=1;break}}if(U.gzindexQ)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(J===0)U.status=$O}else U.status=$O;if(U.status===$O)if(U.gzhead.hcrc){if(U.pending+2>U.pending_buf_size)f3($);if(U.pending+2<=U.pending_buf_size)r1(U,$.adler&255),r1(U,$.adler>>8&255),$.adler=0,U.status=lY}else U.status=lY;if(U.pending!==0){if(f3($),$.avail_out===0)return U.last_flush=-1,e5}else if($.avail_in===0&&t80(Y)<=t80(z)&&Y!==c3)return i3($,Wy);if(U.status===IH&&$.avail_in!==0)return i3($,Wy);if($.avail_in!==0||U.lookahead!==0||Y!==sY&&U.status!==IH){var G=U.strategy===aM?Cm0(U,Y):U.strategy===Hm0?Em0(U,Y):WJ[U.level].func(U,Y);if(G===oY||G===HJ)U.status=IH;if(G===P6||G===oY){if($.avail_out===0)U.last_flush=-1;return e5}if(G===KH){if(Y===Jm0)j$._tr_align(U);else if(Y!==s80){if(j$._tr_stored_block(U,0,0,!1),Y===Im0){if(u3(U.head),U.lookahead===0)U.strstart=0,U.block_start=0,U.insert=0}}if(f3($),$.avail_out===0)return U.last_flush=-1,e5}}if(Y!==c3)return e5;if(U.wrap<=0)return a80;if(U.wrap===2)r1(U,$.adler&255),r1(U,$.adler>>8&255),r1(U,$.adler>>16&255),r1(U,$.adler>>24&255),r1(U,$.total_in&255),r1(U,$.total_in>>8&255),r1(U,$.total_in>>16&255),r1(U,$.total_in>>24&255);else JH(U,$.adler>>>16),JH(U,$.adler&65535);if(f3($),U.wrap>0)U.wrap=-U.wrap;return U.pending!==0?e5:a80}function gm0($){var Y;if(!$||!$.state)return E$;if(Y=$.state.status,Y!==zO&&Y!==Zy&&Y!==tM&&Y!==eM&&Y!==$O&&Y!==lY&&Y!==IH)return i3($,E$);return $.state=null,Y===lY?i3($,Km0):e5}function ym0($,Y){var z=Y.length,U,Q,J,I,K,G,W,H;if(!$||!$.state)return E$;if(U=$.state,I=U.wrap,I===2||I===1&&U.status!==zO||U.lookahead)return E$;if(I===1)$.adler=e80($.adler,Y,z,0);if(U.wrap=0,z>=U.w_size){if(I===0)u3(U.head),U.strstart=0,U.block_start=0,U.insert=0;H=new j8.Buf8(U.w_size),j8.arraySet(H,Y,z-U.w_size,U.w_size,0),Y=H,z=U.w_size}K=$.avail_in,G=$.next_in,W=$.input,$.avail_in=z,$.next_in=0,$.input=Y,rY(U);while(U.lookahead>=f1){Q=U.strstart,J=U.lookahead-(f1-1);do U.ins_h=(U.ins_h<{var UO=Q7(),J$0=!0,I$0=!0;try{String.fromCharCode.apply(null,[0])}catch($){J$0=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){I$0=!1}var GH=new UO.Buf8(256);for($9=0;$9<256;$9++)GH[$9]=$9>=252?6:$9>=248?5:$9>=240?4:$9>=224?3:$9>=192?2:1;var $9;GH[254]=GH[254]=1;mm0.string2buf=function($){var Y,z,U,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|z&63;else if(z<65536)Y[J++]=224|z>>>12,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63;else Y[J++]=240|z>>>18,Y[J++]=128|z>>>12&63,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63}return Y};function K$0($,Y){if(Y<65534){if($.subarray&&I$0||!$.subarray&&J$0)return String.fromCharCode.apply(null,UO.shrinkBuf($,Y))}var z="";for(var U=0;U4){K[U++]=65533,z+=J-1;continue}Q&=J===2?31:J===3?15:7;while(J>1&&z1){K[U++]=65533;continue}if(Q<65536)K[U++]=Q;else Q-=65536,K[U++]=55296|Q>>10&1023,K[U++]=56320|Q&1023}return K$0(K,U)};mm0.utf8border=function($,Y){var z;if(Y=Y||$.length,Y>$.length)Y=$.length;z=Y-1;while(z>=0&&($[z]&192)===128)z--;if(z<0)return Y;if(z===0)return Y;return z+GH[$[z]]>Y?z:Y}});var Vy=E((wn1,G$0)=>{function tm0(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}G$0.exports=tm0});var Z$0=E((Il0)=>{var WH=Q$0(),HH=Q7(),Fy=qy(),wy=sM(),em0=Vy(),X$0=Object.prototype.toString,$l0=0,Ly=4,XJ=0,W$0=1,H$0=2,Yl0=-1,zl0=0,Ul0=8;function aY($){if(!(this instanceof aY))return new aY($);this.options=HH.assign({level:Yl0,method:Ul0,chunkSize:16384,windowBits:15,memLevel:8,strategy:zl0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>0)Y.windowBits=-Y.windowBits;else if(Y.gzip&&Y.windowBits>0&&Y.windowBits<16)Y.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new em0,this.strm.avail_out=0;var z=WH.deflateInit2(this.strm,Y.level,Y.method,Y.windowBits,Y.memLevel,Y.strategy);if(z!==XJ)throw Error(wy[z]);if(Y.header)WH.deflateSetHeader(this.strm,Y.header);if(Y.dictionary){var U;if(typeof Y.dictionary==="string")U=Fy.string2buf(Y.dictionary);else if(X$0.call(Y.dictionary)==="[object ArrayBuffer]")U=new Uint8Array(Y.dictionary);else U=Y.dictionary;if(z=WH.deflateSetDictionary(this.strm,U),z!==XJ)throw Error(wy[z]);this._dict_set=!0}}aY.prototype.push=function($,Y){var z=this.strm,U=this.options.chunkSize,Q,J;if(this.ended)return!1;if(J=Y===~~Y?Y:Y===!0?Ly:$l0,typeof $==="string")z.input=Fy.string2buf($);else if(X$0.call($)==="[object ArrayBuffer]")z.input=new Uint8Array($);else z.input=$;z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0)z.output=new HH.Buf8(U),z.next_out=0,z.avail_out=U;if(Q=WH.deflate(z,J),Q!==W$0&&Q!==XJ)return this.onEnd(Q),this.ended=!0,!1;if(z.avail_out===0||z.avail_in===0&&(J===Ly||J===H$0))if(this.options.to==="string")this.onData(Fy.buf2binstring(HH.shrinkBuf(z.output,z.next_out)));else this.onData(HH.shrinkBuf(z.output,z.next_out))}while((z.avail_in>0||z.avail_out===0)&&Q!==W$0);if(J===Ly)return Q=WH.deflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===XJ;if(J===H$0)return this.onEnd(XJ),z.avail_out=0,!0;return!0};aY.prototype.onData=function($){this.chunks.push($)};aY.prototype.onEnd=function($){if($===XJ)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=HH.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function My($,Y){var z=new aY(Y);if(z.push($,!0),z.err)throw z.msg||wy[z.err];return z.result}function Ql0($,Y){return Y=Y||{},Y.raw=!0,My($,Y)}function Jl0($,Y){return Y=Y||{},Y.gzip=!0,My($,Y)}Il0.Deflate=aY;Il0.deflate=My;Il0.deflateRaw=Ql0;Il0.gzip=Jl0});var V$0=E((On1,q$0)=>{var QO=30,Xl0=12;q$0.exports=function(Y,z){var U,Q,J,I,K,G,W,H,X,Z,q,V,F,M,w,O,D,N,A,T,B,j,C,b,k;U=Y.state,Q=Y.next_in,b=Y.input,J=Q+(Y.avail_in-5),I=Y.next_out,k=Y.output,K=I-(z-Y.avail_out),G=I+(Y.avail_out-257),W=U.dmax,H=U.wsize,X=U.whave,Z=U.wnext,q=U.window,V=U.hold,F=U.bits,M=U.lencode,w=U.distcode,O=(1<>>24,V>>>=A,F-=A,A=N>>>16&255,A===0)k[I++]=N&65535;else if(A&16){if(T=N&65535,A&=15,A){if(F>>=A,F-=A}if(F<15)V+=b[Q++]<>>24,V>>>=A,F-=A,A=N>>>16&255,A&16){if(B=N&65535,A&=15,FW){Y.msg="invalid distance too far back",U.mode=QO;break $}if(V>>>=A,F-=A,A=I-K,B>A){if(A=B-A,A>X){if(U.sane){Y.msg="invalid distance too far back",U.mode=QO;break $}}if(j=0,C=q,Z===0){if(j+=H-A,A2)k[I++]=C[j++],k[I++]=C[j++],k[I++]=C[j++],T-=3;if(T){if(k[I++]=C[j++],T>1)k[I++]=C[j++]}}else{j=I-B;do k[I++]=k[j++],k[I++]=k[j++],k[I++]=k[j++],T-=3;while(T>2);if(T){if(k[I++]=k[j++],T>1)k[I++]=k[j++]}}}else if((A&64)===0){N=w[(N&65535)+(V&(1<>3,Q-=T,F-=T<<3,V&=(1<{var L$0=Q7(),ZJ=15,F$0=852,w$0=592,M$0=0,Oy=1,O$0=2,Zl0=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],ql0=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Vl0=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Ll0=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];N$0.exports=function(Y,z,U,Q,J,I,K,G){var W=G.bits,H=0,X=0,Z=0,q=0,V=0,F=0,M=0,w=0,O=0,D=0,N,A,T,B,j,C=null,b=0,k,h=new L$0.Buf16(ZJ+1),i=new L$0.Buf16(ZJ+1),c=null,U0=0,x,d,t;for(H=0;H<=ZJ;H++)h[H]=0;for(X=0;X=1;q--)if(h[q]!==0)break;if(V>q)V=q;if(q===0)return J[I++]=20971520,J[I++]=20971520,G.bits=1,0;for(Z=1;Z0&&(Y===M$0||q!==1))return-1;i[1]=0;for(H=1;HF$0||Y===O$0&&O>w$0)return 1;for(;;){if(x=H-M,K[X]k)d=c[U0+K[X]],t=C[b+K[X]];else d=96,t=0;N=1<>M)+A]=x<<24|d<<16|t|0;while(A!==0);N=1<>=1;if(N!==0)D&=N-1,D+=N;else D=0;if(X++,--h[H]===0){if(H===q)break;H=z[U+K[X]]}if(H>V&&(D&B)!==T){if(M===0)M=V;j+=Z,F=H-M,w=1<F$0||Y===O$0&&O>w$0)return 1;T=D&B,J[T]=V<<24|F<<16|j-I|0}}if(D!==0)J[j+D]=H-M<<24|4194304|0;return G.bits=V,0}});var z50=E((gl0)=>{var K$=Q7(),Ty=Ky(),Y9=Gy(),Fl0=V$0(),XH=D$0(),wl0=0,l$0=1,o$0=2,B$0=4,Ml0=5,JO=6,tY=0,Ol0=1,Nl0=2,C$=-2,r$0=-3,jy=-4,Dl0=-5,P$0=8,s$0=1,A$0=2,T$0=3,j$0=4,E$0=5,C$0=6,R$0=7,_$0=8,v$0=9,h$0=10,GO=11,I7=12,Ny=13,S$0=14,Dy=15,g$0=16,y$0=17,k$0=18,x$0=19,IO=20,KO=21,f$0=22,u$0=23,b$0=24,i$0=25,c$0=26,By=27,n$0=28,p$0=29,y4=30,Ey=31,Bl0=32,Pl0=852,Al0=592,Tl0=15,jl0=Tl0;function d$0($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function El0(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new K$.Buf16(320),this.work=new K$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a$0($){var Y;if(!$||!$.state)return C$;if(Y=$.state,$.total_in=$.total_out=Y.total=0,$.msg="",Y.wrap)$.adler=Y.wrap&1;return Y.mode=s$0,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new K$.Buf32(Pl0),Y.distcode=Y.distdyn=new K$.Buf32(Al0),Y.sane=1,Y.back=-1,tY}function t$0($){var Y;if(!$||!$.state)return C$;return Y=$.state,Y.wsize=0,Y.whave=0,Y.wnext=0,a$0($)}function e$0($,Y){var z,U;if(!$||!$.state)return C$;if(U=$.state,Y<0)z=0,Y=-Y;else if(z=(Y>>4)+1,Y<48)Y&=15;if(Y&&(Y<8||Y>15))return C$;if(U.window!==null&&U.wbits!==Y)U.window=null;return U.wrap=z,U.wbits=Y,t$0($)}function $50($,Y){var z,U;if(!$)return C$;if(U=new El0,$.state=U,U.window=null,z=e$0($,Y),z!==tY)$.state=null;return z}function Cl0($){return $50($,jl0)}var m$0=!0,Py,Ay;function Rl0($){if(m$0){var Y;Py=new K$.Buf32(512),Ay=new K$.Buf32(32),Y=0;while(Y<144)$.lens[Y++]=8;while(Y<256)$.lens[Y++]=9;while(Y<280)$.lens[Y++]=7;while(Y<288)$.lens[Y++]=8;XH(l$0,$.lens,0,288,Py,0,$.work,{bits:9}),Y=0;while(Y<32)$.lens[Y++]=5;XH(o$0,$.lens,0,32,Ay,0,$.work,{bits:5}),m$0=!1}$.lencode=Py,$.lenbits=9,$.distcode=Ay,$.distbits=5}function Y50($,Y,z,U){var Q,J=$.state;if(J.window===null)J.wsize=1<=J.wsize)K$.arraySet(J.window,Y,z-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize;else{if(Q=J.wsize-J.wnext,Q>U)Q=U;if(K$.arraySet(J.window,Y,z-U,Q,J.wnext),U-=Q,U)K$.arraySet(J.window,Y,z-U,U,0),J.wnext=U,J.whave=J.wsize;else{if(J.wnext+=Q,J.wnext===J.wsize)J.wnext=0;if(J.whave>>8&255,z.check=Y9(z.check,C,2,0),W=0,H=0,z.mode=A$0;break}if(z.flags=0,z.head)z.head.done=!1;if(!(z.wrap&1)||(((W&255)<<8)+(W>>8))%31){$.msg="incorrect header check",z.mode=y4;break}if((W&15)!==P$0){$.msg="unknown compression method",z.mode=y4;break}if(W>>>=4,H-=4,B=(W&15)+8,z.wbits===0)z.wbits=B;else if(B>z.wbits){$.msg="invalid window size",z.mode=y4;break}z.dmax=1<>8&1;if(z.flags&512)C[0]=W&255,C[1]=W>>>8&255,z.check=Y9(z.check,C,2,0);W=0,H=0,z.mode=T$0;case T$0:while(H<32){if(K===0)break $;K--,W+=U[J++]<>>8&255,C[2]=W>>>16&255,C[3]=W>>>24&255,z.check=Y9(z.check,C,4,0);W=0,H=0,z.mode=j$0;case j$0:while(H<16){if(K===0)break $;K--,W+=U[J++]<>8;if(z.flags&512)C[0]=W&255,C[1]=W>>>8&255,z.check=Y9(z.check,C,2,0);W=0,H=0,z.mode=E$0;case E$0:if(z.flags&1024){while(H<16){if(K===0)break $;K--,W+=U[J++]<>>8&255,z.check=Y9(z.check,C,2,0);W=0,H=0}else if(z.head)z.head.extra=null;z.mode=C$0;case C$0:if(z.flags&1024){if(q=z.length,q>K)q=K;if(q){if(z.head){if(B=z.head.extra_len-z.length,!z.head.extra)z.head.extra=Array(z.head.extra_len);K$.arraySet(z.head.extra,U,J,q,B)}if(z.flags&512)z.check=Y9(z.check,U,q,J);K-=q,J+=q,z.length-=q}if(z.length)break $}z.length=0,z.mode=R$0;case R$0:if(z.flags&2048){if(K===0)break $;q=0;do if(B=U[J+q++],z.head&&B&&z.length<65536)z.head.name+=String.fromCharCode(B);while(B&&q>9&1,z.head.done=!0;$.adler=z.check=0,z.mode=I7;break;case h$0:while(H<32){if(K===0)break $;K--,W+=U[J++]<>>=H&7,H-=H&7,z.mode=By;break}while(H<3){if(K===0)break $;K--,W+=U[J++]<>>=1,H-=1,W&3){case 0:z.mode=S$0;break;case 1:if(Rl0(z),z.mode=IO,Y===JO){W>>>=2,H-=2;break $}break;case 2:z.mode=y$0;break;case 3:$.msg="invalid block type",z.mode=y4}W>>>=2,H-=2;break;case S$0:W>>>=H&7,H-=H&7;while(H<32){if(K===0)break $;K--,W+=U[J++]<>>16^65535)){$.msg="invalid stored block lengths",z.mode=y4;break}if(z.length=W&65535,W=0,H=0,z.mode=Dy,Y===JO)break $;case Dy:z.mode=g$0;case g$0:if(q=z.length,q){if(q>K)q=K;if(q>G)q=G;if(q===0)break $;K$.arraySet(Q,U,J,q,I),K-=q,J+=q,G-=q,I+=q,z.length-=q;break}z.mode=I7;break;case y$0:while(H<14){if(K===0)break $;K--,W+=U[J++]<>>=5,H-=5,z.ndist=(W&31)+1,W>>>=5,H-=5,z.ncode=(W&15)+4,W>>>=4,H-=4,z.nlen>286||z.ndist>30){$.msg="too many length or distance symbols",z.mode=y4;break}z.have=0,z.mode=k$0;case k$0:while(z.have>>=3,H-=3}while(z.have<19)z.lens[h[z.have++]]=0;if(z.lencode=z.lendyn,z.lenbits=7,b={bits:z.lenbits},j=XH(wl0,z.lens,0,19,z.lencode,0,z.work,b),z.lenbits=b.bits,j){$.msg="invalid code lengths set",z.mode=y4;break}z.have=0,z.mode=x$0;case x$0:while(z.have>>24,O=M>>>16&255,D=M&65535,w<=H)break;if(K===0)break $;K--,W+=U[J++]<>>=w,H-=w,z.lens[z.have++]=D;else{if(D===16){k=w+2;while(H>>=w,H-=w,z.have===0){$.msg="invalid bit length repeat",z.mode=y4;break}B=z.lens[z.have-1],q=3+(W&3),W>>>=2,H-=2}else if(D===17){k=w+3;while(H>>=w,H-=w,B=0,q=3+(W&7),W>>>=3,H-=3}else{k=w+7;while(H>>=w,H-=w,B=0,q=11+(W&127),W>>>=7,H-=7}if(z.have+q>z.nlen+z.ndist){$.msg="invalid bit length repeat",z.mode=y4;break}while(q--)z.lens[z.have++]=B}}if(z.mode===y4)break;if(z.lens[256]===0){$.msg="invalid code -- missing end-of-block",z.mode=y4;break}if(z.lenbits=9,b={bits:z.lenbits},j=XH(l$0,z.lens,0,z.nlen,z.lencode,0,z.work,b),z.lenbits=b.bits,j){$.msg="invalid literal/lengths set",z.mode=y4;break}if(z.distbits=6,z.distcode=z.distdyn,b={bits:z.distbits},j=XH(o$0,z.lens,z.nlen,z.ndist,z.distcode,0,z.work,b),z.distbits=b.bits,j){$.msg="invalid distances set",z.mode=y4;break}if(z.mode=IO,Y===JO)break $;case IO:z.mode=KO;case KO:if(K>=6&&G>=258){if($.next_out=I,$.avail_out=G,$.next_in=J,$.avail_in=K,z.hold=W,z.bits=H,Fl0($,Z),I=$.next_out,Q=$.output,G=$.avail_out,J=$.next_in,U=$.input,K=$.avail_in,W=z.hold,H=z.bits,z.mode===I7)z.back=-1;break}z.back=0;for(;;){if(M=z.lencode[W&(1<>>24,O=M>>>16&255,D=M&65535,w<=H)break;if(K===0)break $;K--,W+=U[J++]<>N)],w=M>>>24,O=M>>>16&255,D=M&65535,N+w<=H)break;if(K===0)break $;K--,W+=U[J++]<>>=N,H-=N,z.back+=N}if(W>>>=w,H-=w,z.back+=w,z.length=D,O===0){z.mode=c$0;break}if(O&32){z.back=-1,z.mode=I7;break}if(O&64){$.msg="invalid literal/length code",z.mode=y4;break}z.extra=O&15,z.mode=f$0;case f$0:if(z.extra){k=z.extra;while(H>>=z.extra,H-=z.extra,z.back+=z.extra}z.was=z.length,z.mode=u$0;case u$0:for(;;){if(M=z.distcode[W&(1<>>24,O=M>>>16&255,D=M&65535,w<=H)break;if(K===0)break $;K--,W+=U[J++]<>N)],w=M>>>24,O=M>>>16&255,D=M&65535,N+w<=H)break;if(K===0)break $;K--,W+=U[J++]<>>=N,H-=N,z.back+=N}if(W>>>=w,H-=w,z.back+=w,O&64){$.msg="invalid distance code",z.mode=y4;break}z.offset=D,z.extra=O&15,z.mode=b$0;case b$0:if(z.extra){k=z.extra;while(H>>=z.extra,H-=z.extra,z.back+=z.extra}if(z.offset>z.dmax){$.msg="invalid distance too far back",z.mode=y4;break}z.mode=i$0;case i$0:if(G===0)break $;if(q=Z-G,z.offset>q){if(q=z.offset-q,q>z.whave){if(z.sane){$.msg="invalid distance too far back",z.mode=y4;break}}if(q>z.wnext)q-=z.wnext,V=z.wsize-q;else V=z.wnext-q;if(q>z.length)q=z.length;F=z.window}else F=Q,V=I-z.offset,q=z.length;if(q>G)q=G;G-=q,z.length-=q;do Q[I++]=F[V++];while(--q);if(z.length===0)z.mode=KO;break;case c$0:if(G===0)break $;Q[I++]=z.length,G--,z.mode=KO;break;case By:if(z.wrap){while(H<32){if(K===0)break $;K--,W|=U[J++]<{U50.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var J50=E((Pn1,Q50)=>{function dl0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}Q50.exports=dl0});var K50=E((rl0)=>{var qJ=z50(),ZH=Q7(),WO=qy(),G6=Cy(),Ry=sM(),ml0=Vy(),ll0=J50(),I50=Object.prototype.toString;function eY($){if(!(this instanceof eY))return new eY($);this.options=ZH.assign({chunkSize:16384,windowBits:0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>=0&&Y.windowBits<16){if(Y.windowBits=-Y.windowBits,Y.windowBits===0)Y.windowBits=-15}if(Y.windowBits>=0&&Y.windowBits<16&&!($&&$.windowBits))Y.windowBits+=32;if(Y.windowBits>15&&Y.windowBits<48){if((Y.windowBits&15)===0)Y.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ml0,this.strm.avail_out=0;var z=qJ.inflateInit2(this.strm,Y.windowBits);if(z!==G6.Z_OK)throw Error(Ry[z]);if(this.header=new ll0,qJ.inflateGetHeader(this.strm,this.header),Y.dictionary){if(typeof Y.dictionary==="string")Y.dictionary=WO.string2buf(Y.dictionary);else if(I50.call(Y.dictionary)==="[object ArrayBuffer]")Y.dictionary=new Uint8Array(Y.dictionary);if(Y.raw){if(z=qJ.inflateSetDictionary(this.strm,Y.dictionary),z!==G6.Z_OK)throw Error(Ry[z])}}}eY.prototype.push=function($,Y){var z=this.strm,U=this.options.chunkSize,Q=this.options.dictionary,J,I,K,G,W,H=!1;if(this.ended)return!1;if(I=Y===~~Y?Y:Y===!0?G6.Z_FINISH:G6.Z_NO_FLUSH,typeof $==="string")z.input=WO.binstring2buf($);else if(I50.call($)==="[object ArrayBuffer]")z.input=new Uint8Array($);else z.input=$;z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0)z.output=new ZH.Buf8(U),z.next_out=0,z.avail_out=U;if(J=qJ.inflate(z,G6.Z_NO_FLUSH),J===G6.Z_NEED_DICT&&Q)J=qJ.inflateSetDictionary(this.strm,Q);if(J===G6.Z_BUF_ERROR&&H===!0)J=G6.Z_OK,H=!1;if(J!==G6.Z_STREAM_END&&J!==G6.Z_OK)return this.onEnd(J),this.ended=!0,!1;if(z.next_out){if(z.avail_out===0||J===G6.Z_STREAM_END||z.avail_in===0&&(I===G6.Z_FINISH||I===G6.Z_SYNC_FLUSH))if(this.options.to==="string"){if(K=WO.utf8border(z.output,z.next_out),G=z.next_out-K,W=WO.buf2string(z.output,K),z.next_out=G,z.avail_out=U-G,G)ZH.arraySet(z.output,z.output,K,G,0);this.onData(W)}else this.onData(ZH.shrinkBuf(z.output,z.next_out))}if(z.avail_in===0&&z.avail_out===0)H=!0}while((z.avail_in>0||z.avail_out===0)&&J!==G6.Z_STREAM_END);if(J===G6.Z_STREAM_END)I=G6.Z_FINISH;if(I===G6.Z_FINISH)return J=qJ.inflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===G6.Z_OK;if(I===G6.Z_SYNC_FLUSH)return this.onEnd(G6.Z_OK),z.avail_out=0,!0;return!0};eY.prototype.onData=function($){this.chunks.push($)};eY.prototype.onEnd=function($){if($===G6.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=ZH.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function _y($,Y){var z=new eY(Y);if(z.push($,!0),z.err)throw z.msg||Ry[z.err];return z.result}function ol0($,Y){return Y=Y||{},Y.raw=!0,_y($,Y)}rl0.Inflate=eY;rl0.inflate=_y;rl0.inflateRaw=ol0;rl0.ungzip=_y});var H50=E((Tn1,W50)=>{var $o0=Q7().assign,Yo0=Z$0(),zo0=K50(),Uo0=Cy(),G50={};$o0(G50,Yo0,zo0,Uo0);W50.exports=G50});var Z50=E((Ko0)=>{var Qo0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Jo0=H50(),X50=c4(),HO=I$(),Io0=Qo0?"uint8array":"array";Ko0.magic="\b\x00";function $z($,Y){HO.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=Y,this.meta={}}X50.inherits($z,HO);$z.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(X50.transformTo(Io0,$.data),!1)};$z.prototype.flush=function(){if(HO.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};$z.prototype.cleanUp=function(){HO.prototype.cleanUp.call(this),this._pako=null};$z.prototype._createPako=function(){this._pako=new Jo0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(Y){$.push({data:Y,meta:$.meta})}};Ko0.compressWorker=function($){return new $z("Deflate",$)};Ko0.uncompressWorker=function(){return new $z("Inflate",{})}});var vy=E((Xo0)=>{var q50=I$();Xo0.STORE={magic:"\x00\x00",compressWorker:function(){return new q50("STORE compression")},uncompressWorker:function(){return new q50("STORE decompression")}};Xo0.DEFLATE=Z50()});var hy=E((Vo0)=>{Vo0.LOCAL_FILE_HEADER="PK\x03\x04";Vo0.CENTRAL_FILE_HEADER="PK\x01\x02";Vo0.CENTRAL_DIRECTORY_END="PK\x05\x06";Vo0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";Vo0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";Vo0.DATA_DESCRIPTOR="PK\x07\b"});var w50=E((Rn1,F50)=>{var VJ=c4(),LJ=I$(),Sy=QJ(),V50=mM(),XO=hy(),O4=function($,Y){var z="",U;for(U=0;U>>8;return z},Do0=function($,Y){var z=$;if(!$)z=Y?16893:33204;return(z&65535)<<16},Bo0=function($){return($||0)&63},L50=function($,Y,z,U,Q,J){var{file:I,compression:K}=$,G=J!==Sy.utf8encode,W=VJ.transformTo("string",J(I.name)),H=VJ.transformTo("string",Sy.utf8encode(I.name)),X=I.comment,Z=VJ.transformTo("string",J(X)),q=VJ.transformTo("string",Sy.utf8encode(X)),V=H.length!==I.name.length,F=q.length!==X.length,M,w,O="",D="",N="",A=I.dir,T=I.date,B={crc32:0,compressedSize:0,uncompressedSize:0};if(!Y||z)B.crc32=$.crc32,B.compressedSize=$.compressedSize,B.uncompressedSize=$.uncompressedSize;var j=0;if(Y)j|=8;if(!G&&(V||F))j|=2048;var C=0,b=0;if(A)C|=16;if(Q==="UNIX")b=798,C|=Do0(I.unixPermissions,A);else b=20,C|=Bo0(I.dosPermissions,A);if(M=T.getUTCHours(),M=M<<6,M=M|T.getUTCMinutes(),M=M<<5,M=M|T.getUTCSeconds()/2,w=T.getUTCFullYear()-1980,w=w<<4,w=w|T.getUTCMonth()+1,w=w<<5,w=w|T.getUTCDate(),V)D=O4(1,1)+O4(V50(W),4)+H,O+="up"+O4(D.length,2)+D;if(F)N=O4(1,1)+O4(V50(Z),4)+q,O+="uc"+O4(N.length,2)+N;var k="";k+=` -\x00`,k+=O4(j,2),k+=K.magic,k+=O4(M,2),k+=O4(w,2),k+=O4(B.crc32,4),k+=O4(B.compressedSize,4),k+=O4(B.uncompressedSize,4),k+=O4(W.length,2),k+=O4(O.length,2);var h=XO.LOCAL_FILE_HEADER+k+W+O,i=XO.CENTRAL_FILE_HEADER+O4(b,2)+k+O4(Z.length,2)+"\x00\x00\x00\x00"+O4(C,4)+O4(U,4)+W+O+Z;return{fileRecord:h,dirRecord:i}},Po0=function($,Y,z,U,Q){var J="",I=VJ.transformTo("string",Q(U));return J=XO.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+O4($,2)+O4($,2)+O4(Y,4)+O4(z,4)+O4(I.length,2)+I,J},Ao0=function($){var Y="";return Y=XO.DATA_DESCRIPTOR+O4($.crc32,4)+O4($.compressedSize,4)+O4($.uncompressedSize,4),Y};function X5($,Y,z,U){LJ.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Y,this.zipPlatform=z,this.encodeFileName=U,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}VJ.inherits(X5,LJ);X5.prototype.push=function($){var Y=$.meta.percent||0,z=this.entriesCount,U=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,LJ.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:z?(Y+100*(z-U-1))/z:100}})};X5.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var Y=this.streamFiles&&!$.file.dir;if(Y){var z=L50($,Y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:z.fileRecord,meta:{percent:0}})}else this.accumulate=!0};X5.prototype.closedSource=function($){this.accumulate=!1;var Y=this.streamFiles&&!$.file.dir,z=L50($,Y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(z.dirRecord),Y)this.push({data:Ao0($),meta:{percent:100}});else{this.push({data:z.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};X5.prototype.flush=function(){var $=this.bytesWritten;for(var Y=0;Y{var To0=vy(),jo0=w50(),Eo0=function($,Y){var z=$||Y,U=To0[z];if(!U)throw Error(z+" is not a valid compression method !");return U};Co0.generateWorker=function($,Y,z){var U=new jo0(Y.streamFiles,z,Y.platform,Y.encodeFileName),Q=0;try{$.forEach(function(J,I){Q++;var K=Eo0(I.options.compression,Y.compression),G=I.options.compressionOptions||Y.compressionOptions||{},W=I.dir,H=I.date;I._compressWorker(K,G).withStreamInfo("file",{name:J,dir:W,date:H,comment:I.comment||"",unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions}).pipe(U)}),U.entriesCount=Q}catch(J){U.error(J)}return U}});var N50=E((vn1,O50)=>{var _o0=c4(),ZO=I$();function qH($,Y){ZO.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(Y)}_o0.inherits(qH,ZO);qH.prototype._bindStream=function($){var Y=this;this._stream=$,$.pause(),$.on("data",function(z){Y.push({data:z,meta:{percent:0}})}).on("error",function(z){if(Y.isPaused)this.generatedError=z;else Y.error(z)}).on("end",function(){if(Y.isPaused)Y._upstreamEnded=!0;else Y.end()})};qH.prototype.pause=function(){if(!ZO.prototype.pause.call(this))return!1;return this._stream.pause(),!0};qH.prototype.resume=function(){if(!ZO.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};O50.exports=qH});var _50=E((hn1,R50)=>{var vo0=QJ(),VH=c4(),A50=I$(),ho0=xg(),T50=fg(),D50=lM(),So0=B80(),go0=M50(),B50=mW(),yo0=N50(),j50=function($,Y,z){var U=VH.getTypeOf(Y),Q,J=VH.extend(z||{},T50);if(J.date=J.date||new Date,J.compression!==null)J.compression=J.compression.toUpperCase();if(typeof J.unixPermissions==="string")J.unixPermissions=parseInt(J.unixPermissions,8);if(J.unixPermissions&&J.unixPermissions&16384)J.dir=!0;if(J.dosPermissions&&J.dosPermissions&16)J.dir=!0;if(J.dir)$=E50($);if(J.createFolders&&(Q=ko0($)))C50.call(this,Q,!0);var I=U==="string"&&J.binary===!1&&J.base64===!1;if(!z||typeof z.binary>"u")J.binary=!I;var K=Y instanceof D50&&Y.uncompressedSize===0;if(K||J.dir||!Y||Y.length===0)J.base64=!1,J.binary=!0,Y="",J.compression="STORE",U="string";var G=null;if(Y instanceof D50||Y instanceof A50)G=Y;else if(B50.isNode&&B50.isStream(Y))G=new yo0($,Y);else G=VH.prepareContent($,Y,J.binary,J.optimizedBinaryString,J.base64);var W=new So0($,G,J);this.files[$]=W},ko0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var Y=$.lastIndexOf("/");return Y>0?$.substring(0,Y):""},E50=function($){if($.slice(-1)!=="/")$+="/";return $},C50=function($,Y){if(Y=typeof Y<"u"?Y:T50.createFolders,$=E50($),!this.files[$])j50.call(this,$,null,{dir:!0,createFolders:Y});return this.files[$]};function P50($){return Object.prototype.toString.call($)==="[object RegExp]"}var xo0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var Y,z,U;for(Y in this.files)if(U=this.files[Y],z=Y.slice(this.root.length,Y.length),z&&Y.slice(0,this.root.length)===this.root)$(z,U)},filter:function($){var Y=[];return this.forEach(function(z,U){if($(z,U))Y.push(U)}),Y},file:function($,Y,z){if(arguments.length===1)if(P50($)){var U=$;return this.filter(function(J,I){return!I.dir&&U.test(J)})}else{var Q=this.files[this.root+$];if(Q&&!Q.dir)return Q;else return null}else $=this.root+$,j50.call(this,$,Y,z);return this},folder:function($){if(!$)return this;if(P50($))return this.filter(function(Q,J){return J.dir&&$.test(Q)});var Y=this.root+$,z=C50.call(this,Y),U=this.clone();return U.root=z.name,U},remove:function($){$=this.root+$;var Y=this.files[$];if(!Y){if($.slice(-1)!=="/")$+="/";Y=this.files[$]}if(Y&&!Y.dir)delete this.files[$];else{var z=this.filter(function(Q,J){return J.name.slice(0,$.length)===$});for(var U=0;U{var fo0=c4();function v50($){this.data=$,this.length=$.length,this.index=0,this.zero=0}v50.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length=this.index;z--)Y=(Y<<8)+this.byteAt(z);return this.index+=$,Y},readString:function($){return fo0.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};h50.exports=v50});var yy=E((gn1,g50)=>{var S50=gy(),uo0=c4();function FJ($){S50.call(this,$);for(var Y=0;Y=0;--J)if(this.data[J]===Y&&this.data[J+1]===z&&this.data[J+2]===U&&this.data[J+3]===Q)return J-this.zero;return-1};FJ.prototype.readAndCheckSignature=function($){var Y=$.charCodeAt(0),z=$.charCodeAt(1),U=$.charCodeAt(2),Q=$.charCodeAt(3),J=this.readData(4);return Y===J[0]&&z===J[1]&&U===J[2]&&Q===J[3]};FJ.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};g50.exports=FJ});var x50=E((yn1,k50)=>{var y50=gy(),bo0=c4();function wJ($){y50.call(this,$)}bo0.inherits(wJ,y50);wJ.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};wJ.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};wJ.prototype.readAndCheckSignature=function($){var Y=this.readData(4);return $===Y};wJ.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};k50.exports=wJ});var xy=E((kn1,u50)=>{var f50=yy(),io0=c4();function ky($){f50.call(this,$)}io0.inherits(ky,f50);ky.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var Y=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};u50.exports=ky});var c50=E((xn1,i50)=>{var b50=xy(),co0=c4();function fy($){b50.call(this,$)}co0.inherits(fy,b50);fy.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};i50.exports=fy});var uy=E((fn1,p50)=>{var qO=c4(),n50=U7(),no0=yy(),po0=x50(),do0=c50(),mo0=xy();p50.exports=function($){var Y=qO.getTypeOf($);if(qO.checkSupport(Y),Y==="string"&&!n50.uint8array)return new po0($);if(Y==="nodebuffer")return new do0($);if(n50.uint8array)return new mo0(qO.transformTo("uint8array",$));return new no0(qO.transformTo("array",$))}});var o50=E((un1,l50)=>{var by=uy(),n3=c4(),lo0=lM(),d50=mM(),VO=QJ(),LO=vy(),oo0=U7(),ro0=0,so0=3,ao0=function($){for(var Y in LO){if(!Object.prototype.hasOwnProperty.call(LO,Y))continue;if(LO[Y].magic===$)return LO[Y]}return null};function m50($,Y){this.options=$,this.loadOptions=Y}m50.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var Y,z;if($.skip(22),this.fileNameLength=$.readInt(2),z=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(z),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(Y=ao0(this.compressionMethod),Y===null)throw Error("Corrupted zip : compression "+n3.pretty(this.compressionMethod)+" unknown (inner file : "+n3.transformTo("string",this.fileName)+")");this.decompressed=new lo0(this.compressedSize,this.uncompressedSize,this.crc32,Y,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var Y=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(Y),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===ro0)this.dosPermissions=this.externalFileAttributes&63;if($===so0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=by(this.extraFields[1].value);if(this.uncompressedSize===n3.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===n3.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===n3.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===n3.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var Y=$.index+this.extraFieldsLength,z,U,Q;if(!this.extraFields)this.extraFields={};while($.index+4{var to0=uy(),K7=c4(),Z5=hy(),eo0=o50(),$r0=U7();function r50($){this.files=[],this.loadOptions=$}r50.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var Y=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+K7.pretty(Y)+", expected "+K7.pretty($)+")")}},isSignature:function($,Y){var z=this.reader.index;this.reader.setIndex($);var U=this.reader.readString(4),Q=U===Y;return this.reader.setIndex(z),Q},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),Y=$r0.uint8array?"uint8array":"array",z=K7.transformTo(Y,$);this.zipComment=this.loadOptions.decodeFileName(z)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,Y=0,z,U,Q;while(Y<$)z=this.reader.readInt(2),U=this.reader.readInt(4),Q=this.reader.readData(U),this.zip64ExtensibleData[z]={id:z,length:U,value:Q}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,Y;for($=0;$0)if(this.isSignature(z,Z5.CENTRAL_FILE_HEADER));else this.reader.zero=Q;else if(Q<0)throw Error("Corrupted zip: missing "+Math.abs(Q)+" bytes.")},prepareReader:function($){this.reader=to0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};s50.exports=r50});var $90=E((in1,e50)=>{var iy=c4(),FO=YJ(),Yr0=QJ(),zr0=a50(),Ur0=ig(),t50=mW();function Qr0($){return new FO.Promise(function(Y,z){var U=$.decompressed.getContentWorker().pipe(new Ur0);U.on("error",function(Q){z(Q)}).on("end",function(){if(U.streamInfo.crc32!==$.decompressed.crc32)z(Error("Corrupted zip : CRC32 mismatch"));else Y()}).resume()})}e50.exports=function($,Y){var z=this;if(Y=iy.extend(Y||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Yr0.utf8decode}),t50.isNode&&t50.isStream($))return FO.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return iy.prepareContent("the loaded zip file",$,!0,Y.optimizedBinaryString,Y.base64).then(function(U){var Q=new zr0(Y);return Q.load(U),Q}).then(function(Q){var J=[FO.Promise.resolve(Q)],I=Q.files;if(Y.checkCRC32)for(var K=0;K{function R$(){if(!(this instanceof R$))return new R$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new R$;for(var Y in this)if(typeof this[Y]!=="function")$[Y]=this[Y];return $}}R$.prototype=_50();R$.prototype.loadAsync=$90();R$.support=U7();R$.defaults=fg();R$.version="3.10.1";R$.loadAsync=function($,Y){return new R$().loadAsync($,Y)};R$.external=YJ();Y90.exports=R$});var K90=E((nn1,I90)=>{function z90($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function U90($){for(var Y=1;Y0)this.tail.next=U;else this.head=U;this.tail=U,++this.length}},{key:"unshift",value:function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q}},{key:"concat",value:function(z){if(this.length===0)return wO.alloc(0);var U=wO.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)Zr0(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U}},{key:"consume",value:function(z,U){var Q;if(zI.length?I.length:z;if(K===I.length)J+=I;else J+=I.slice(0,z);if(z-=K,z===0){if(K===I.length)if(++Q,U.next)this.head=U.next;else this.head=this.tail=null;else this.head=U,U.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(z){var U=wO.allocUnsafe(z),Q=this.head,J=1;Q.data.copy(U),z-=Q.data.length;while(Q=Q.next){var I=Q.data,K=z>I.length?I.length:z;if(I.copy(U,U.length-z,0,K),z-=K,z===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,U}},{key:Xr0,value:function(z,U){return ny(this,U90(U90({},U),{},{depth:0,customInspect:!1}))}}]),$}()});var dy=E((pn1,W90)=>{function qr0($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(py,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(py,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!z._writableState)process.nextTick(G90,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,process.nextTick(G90,z,J);else process.nextTick(MO,z);else if(Y)process.nextTick(MO,z),Y(J);else process.nextTick(MO,z)}),this}function G90($,Y){py($,Y),MO($)}function MO($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function Vr0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function py($,Y){$.emit("error",Y)}function Lr0($,Y){var{_readableState:z,_writableState:U}=$;if(z&&z.autoDestroy||U&&U.autoDestroy)$.destroy(Y);else $.emit("error",Y)}W90.exports={destroy:qr0,undestroy:Vr0,errorOrDestroy:Lr0}});var p3=E((Or0,Z90)=>{var X90={};function _$($,Y,z){if(!z)z=Error;function U(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends z{constructor(J,I,K){super(U(J,I,K))}}Q.prototype.name=z.name,Q.prototype.code=$,X90[$]=Q}function H90($,Y){if(Array.isArray($)){let z=$.length;if($=$.map((U)=>String(U)),z>2)return`one of ${Y} ${$.slice(0,z-1).join(", ")}, or `+$[z-1];else if(z===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function Fr0($,Y,z){return $.substr(!z||z<0?0:+z,Y.length)===Y}function wr0($,Y,z){if(z===void 0||z>$.length)z=$.length;return $.substring(z-Y.length,z)===Y}function Mr0($,Y,z){if(typeof z!=="number")z=0;if(z+Y.length>$.length)return!1;else return $.indexOf(Y,z)!==-1}_$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);_$("ERR_INVALID_ARG_TYPE",function($,Y,z){let U;if(typeof Y==="string"&&Fr0(Y,"not "))U="must not be",Y=Y.replace(/^not /,"");else U="must be";let Q;if(wr0($," argument"))Q=`The ${$} ${U} ${H90(Y,"type")}`;else{let J=Mr0($,".")?"property":"argument";Q=`The "${$}" ${J} ${U} ${H90(Y,"type")}`}return Q+=`. Received type ${typeof z}`,Q},TypeError);_$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");_$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});_$("ERR_STREAM_PREMATURE_CLOSE","Premature close");_$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});_$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");_$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");_$("ERR_STREAM_WRITE_AFTER_END","write after end");_$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);_$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);_$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Or0.codes=X90});var my=E((dn1,q90)=>{var Dr0=p3().codes.ERR_INVALID_OPT_VALUE;function Br0($,Y,z){return $.highWaterMark!=null?$.highWaterMark:Y?$[z]:null}function Pr0($,Y,z,U){var Q=Br0(Y,U,z);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=U?z:"highWaterMark";throw new Dr0(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}q90.exports={getHighWaterMark:Pr0}});var ry=E((mn1,O90)=>{O90.exports=z6;function L90($){var Y=this;this.next=null,this.entry=null,this.finish=function(){sr0(Y,$)}}var MJ;z6.WritableState=FH;var Ar0={deprecate:S3()},F90=I0("stream"),NO=I0("buffer").Buffer,Tr0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function jr0($){return NO.from($)}function Er0($){return NO.isBuffer($)||$ instanceof Tr0}var oy=dy(),Cr0=my(),Rr0=Cr0.getHighWaterMark,d3=p3().codes,_r0=d3.ERR_INVALID_ARG_TYPE,vr0=d3.ERR_METHOD_NOT_IMPLEMENTED,hr0=d3.ERR_MULTIPLE_CALLBACK,Sr0=d3.ERR_STREAM_CANNOT_PIPE,gr0=d3.ERR_STREAM_DESTROYED,yr0=d3.ERR_STREAM_NULL_VALUES,kr0=d3.ERR_STREAM_WRITE_AFTER_END,xr0=d3.ERR_UNKNOWN_ENCODING,OJ=oy.errorOrDestroy;X1()(z6,F90);function fr0(){}function FH($,Y,z){if(MJ=MJ||Yz(),$=$||{},typeof z!=="boolean")z=Y instanceof MJ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=Rr0(this,$,"writableHighWaterMark",z),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var U=$.decodeStrings===!1;this.decodeStrings=!U,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){dr0(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new L90(this)}FH.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(FH.prototype,"buffer",{get:Ar0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var OO;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")OO=Function.prototype[Symbol.hasInstance],Object.defineProperty(z6,Symbol.hasInstance,{value:function(Y){if(OO.call(this,Y))return!0;if(this!==z6)return!1;return Y&&Y._writableState instanceof FH}});else OO=function(Y){return Y instanceof this};function z6($){MJ=MJ||Yz();var Y=this instanceof MJ;if(!Y&&!OO.call(z6,this))return new z6($);if(this._writableState=new FH($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}F90.call(this)}z6.prototype.pipe=function(){OJ(this,new Sr0)};function ur0($,Y){var z=new kr0;OJ($,z),process.nextTick(Y,z)}function br0($,Y,z,U){var Q;if(z===null)Q=new yr0;else if(typeof z!=="string"&&!Y.objectMode)Q=new _r0("chunk",["string","Buffer"],z);if(Q)return OJ($,Q),process.nextTick(U,Q),!1;return!0}z6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&Er0($);if(J&&!NO.isBuffer($))$=jr0($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=fr0;if(U.ending)ur0(this,z);else if(J||br0(this,U,$,z))U.pendingcb++,Q=cr0(this,U,J,$,Y,z);return Q};z6.prototype.cork=function(){this._writableState.corked++};z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)w90(this,$)}};z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new xr0(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(z6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ir0($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=NO.from(Y,z);return Y}Object.defineProperty(z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function cr0($,Y,z,U,Q,J){if(!z){var I=ir0(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var ar0=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};D90.exports=z9;var N90=ay(),sy=ry();X1()(z9,N90);{DO=ar0(sy.prototype);for(wH=0;wH{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var BO=I0("buffer"),U9=BO.Buffer;function B90($,Y){for(var z in $)Y[z]=$[z]}if(U9.from&&U9.alloc&&U9.allocUnsafe&&U9.allocUnsafeSlow)P90.exports=BO;else B90(BO,ty),ty.Buffer=zz;function zz($,Y,z){return U9($,Y,z)}zz.prototype=Object.create(U9.prototype);B90(U9,zz);zz.from=function($,Y,z){if(typeof $==="number")throw TypeError("Argument must not be a number");return U9($,Y,z)};zz.alloc=function($,Y,z){if(typeof $!=="number")throw TypeError("Argument must be a number");var U=U9($);if(Y!==void 0)if(typeof z==="string")U.fill(Y,z);else U.fill(Y);else U.fill(0);return U};zz.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return U9($)};zz.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return BO.SlowBuffer($)}});var NJ=E((qs0)=>{var $k=A90().Buffer,T90=$k.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function $s0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Ys0($){var Y=$s0($);if(typeof Y!=="string"&&($k.isEncoding===T90||!T90($)))throw Error("Unknown encoding: "+$);return Y||$}qs0.StringDecoder=OH;function OH($){this.encoding=Ys0($);var Y;switch(this.encoding){case"utf16le":this.text=Ks0,this.end=Gs0,Y=4;break;case"utf8":this.fillLast=Qs0,Y=4;break;case"base64":this.text=Ws0,this.end=Hs0,Y=3;break;default:this.write=Xs0,this.end=Zs0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=$k.allocUnsafe(Y)}OH.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};OH.prototype.end=Is0;OH.prototype.text=Js0;OH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function ey($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function zs0($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function Us0($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function Qs0($){var Y=this.lastTotal-this.lastNeed,z=Us0(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function Js0($,Y){var z=zs0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function Is0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function Ks0($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function Gs0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function Ws0($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function Hs0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function Xs0($){return $.toString(this.encoding)}function Zs0($){return $&&$.length?this.write($):""}});var PO=E((rn1,C90)=>{var j90=p3().codes.ERR_STREAM_PREMATURE_CLOSE;function Ls0($){var Y=!1;return function(){if(Y)return;Y=!0;for(var z=arguments.length,U=Array(z),Q=0;Q{var AO;function m3($,Y,z){if(Y=Ms0(Y),Y in $)Object.defineProperty($,Y,{value:z,enumerable:!0,configurable:!0,writable:!0});else $[Y]=z;return $}function Ms0($){var Y=Os0($,"string");return typeof Y==="symbol"?Y:String(Y)}function Os0($,Y){if(typeof $!=="object"||$===null)return $;var z=$[Symbol.toPrimitive];if(z!==void 0){var U=z.call($,Y||"default");if(typeof U!=="object")return U;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var Ns0=PO(),l3=Symbol("lastResolve"),Uz=Symbol("lastReject"),NH=Symbol("error"),TO=Symbol("ended"),Qz=Symbol("lastPromise"),Yk=Symbol("handlePromise"),Jz=Symbol("stream");function o3($,Y){return{value:$,done:Y}}function Ds0($){var Y=$[l3];if(Y!==null){var z=$[Jz].read();if(z!==null)$[Qz]=null,$[l3]=null,$[Uz]=null,Y(o3(z,!1))}}function Bs0($){process.nextTick(Ds0,$)}function Ps0($,Y){return function(z,U){$.then(function(){if(Y[TO]){z(o3(void 0,!0));return}Y[Yk](z,U)},U)}}var As0=Object.getPrototypeOf(function(){}),Ts0=Object.setPrototypeOf((AO={get stream(){return this[Jz]},next:function(){var Y=this,z=this[NH];if(z!==null)return Promise.reject(z);if(this[TO])return Promise.resolve(o3(void 0,!0));if(this[Jz].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[NH])K(Y[NH]);else I(o3(void 0,!0))})});var U=this[Qz],Q;if(U)Q=new Promise(Ps0(U,this));else{var J=this[Jz].read();if(J!==null)return Promise.resolve(o3(J,!1));Q=new Promise(this[Yk])}return this[Qz]=Q,Q}},m3(AO,Symbol.asyncIterator,function(){return this}),m3(AO,"return",function(){var Y=this;return new Promise(function(z,U){Y[Jz].destroy(null,function(Q){if(Q){U(Q);return}z(o3(void 0,!0))})})}),AO),As0),js0=function(Y){var z,U=Object.create(Ts0,(z={},m3(z,Jz,{value:Y,writable:!0}),m3(z,l3,{value:null,writable:!0}),m3(z,Uz,{value:null,writable:!0}),m3(z,NH,{value:null,writable:!0}),m3(z,TO,{value:Y._readableState.endEmitted,writable:!0}),m3(z,Yk,{value:function(J,I){var K=U[Jz].read();if(K)U[Qz]=null,U[l3]=null,U[Uz]=null,J(o3(K,!1));else U[l3]=J,U[Uz]=I},writable:!0}),z));return U[Qz]=null,Ns0(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=U[Uz];if(J!==null)U[Qz]=null,U[l3]=null,U[Uz]=null,J(Q);U[NH]=Q;return}var I=U[l3];if(I!==null)U[Qz]=null,U[l3]=null,U[Uz]=null,I(o3(void 0,!0));U[TO]=!0}),Y.on("readable",Bs0.bind(null,U)),U};R90.exports=js0});var g90=E((an1,S90)=>{function v90($,Y,z,U,Q,J,I){try{var K=$[J](I),G=K.value}catch(W){z(W);return}if(K.done)Y(G);else Promise.resolve(G).then(U,Q)}function Es0($){return function(){var Y=this,z=arguments;return new Promise(function(U,Q){var J=$.apply(Y,z);function I(G){v90(J,U,Q,I,K,"next",G)}function K(G){v90(J,U,Q,I,K,"throw",G)}I(void 0)})}}function h90($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function Cs0($){for(var Y=1;Y{p90.exports=p1;var DJ;p1.ReadableState=f90;var tn1=I0("events").EventEmitter,x90=function(Y,z){return Y.listeners(z).length},BH=I0("stream"),jO=I0("buffer").Buffer,gs0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ys0($){return jO.from($)}function ks0($){return jO.isBuffer($)||$ instanceof gs0}var zk=I0("util"),C1;if(zk&&zk.debuglog)C1=zk.debuglog("stream");else C1=function(){};var xs0=K90(),Wk=dy(),fs0=my(),us0=fs0.getHighWaterMark,EO=p3().codes,bs0=EO.ERR_INVALID_ARG_TYPE,is0=EO.ERR_STREAM_PUSH_AFTER_EOF,cs0=EO.ERR_METHOD_NOT_IMPLEMENTED,ns0=EO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,BJ,Uk,Qk;X1()(p1,BH);var DH=Wk.errorOrDestroy,Jk=["error","close","destroy","pause","resume"];function ps0($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(Array.isArray($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function f90($,Y,z){if(DJ=DJ||Yz(),$=$||{},typeof z!=="boolean")z=Y instanceof DJ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=us0(this,$,"readableHighWaterMark",z),this.buffer=new xs0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!BJ)BJ=NJ().StringDecoder;this.decoder=new BJ($.encoding),this.encoding=$.encoding}}function p1($){if(DJ=DJ||Yz(),!(this instanceof p1))return new p1($);var Y=this instanceof DJ;if(this._readableState=new f90($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}BH.call(this)}Object.defineProperty(p1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});p1.prototype.destroy=Wk.destroy;p1.prototype._undestroy=Wk.undestroy;p1.prototype._destroy=function($,Y){Y($)};p1.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=jO.from($,Y),Y="";U=!0}}else U=!0;return u90(this,$,Y,!1,U)};p1.prototype.unshift=function($){return u90(this,$,null,!0,!1)};function u90($,Y,z,U,Q){C1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,ls0($,J);else{var I;if(!Q)I=ds0(J,Y);if(I)DH($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==jO.prototype)Y=ys0(Y);if(U)if(J.endEmitted)DH($,new ns0);else Ik($,J,Y,!0);else if(J.ended)DH($,new is0);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Ik($,J,Y,!1);else Gk($,J);else Ik($,J,Y,!1)}else if(!U)J.reading=!1,Gk($,J)}return!J.ended&&(J.length=y90)$=y90;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function k90($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=ms0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}p1.prototype.read=function($){C1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(C1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Kk(this);else CO(this);return null}if($=k90($,Y),$===0&&Y.ended){if(Y.length===0)Kk(this);return null}var U=Y.needReadable;if(C1("need readable",U),Y.length===0||Y.length-$0)Q=c90($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Kk(this)}if(Q!==null)this.emit("data",Q);return Q};function ls0($,Y){if(C1("onEofChunk"),Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}if(Y.ended=!0,Y.sync)CO($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,b90($)}function CO($){var Y=$._readableState;if(C1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)C1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(b90,$)}function b90($){var Y=$._readableState;if(C1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Hk($)}function Gk($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(os0,$,Y)}function os0($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&n90(U.pipes,$)!==-1)&&!W)C1("false write response, pause",U.awaitDrain),U.awaitDrain++;z.pause()}}function Z(M){if(C1("onerror",M),F(),$.removeListener("error",Z),x90($,"error")===0)DH($,M)}ps0($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){C1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){C1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)C1("pipe resume"),z.resume();return $};function rs0($){return function(){var z=$._readableState;if(C1("pipeOnDrain",z.awaitDrain),z.awaitDrain)z.awaitDrain--;if(z.awaitDrain===0&&x90($,"data"))z.flowing=!0,Hk($)}}p1.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,U.flowing!==!1)this.resume()}else if($==="readable"){if(!U.endEmitted&&!U.readableListening){if(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,C1("on readable",U.length,U.reading),U.length)CO(this);else if(!U.reading)process.nextTick(ss0,this)}}return z};p1.prototype.addListener=p1.prototype.on;p1.prototype.removeListener=function($,Y){var z=BH.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(i90,this);return z};p1.prototype.removeAllListeners=function($){var Y=BH.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(i90,this);return Y};function i90($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function ss0($){C1("readable nexttick read 0"),$.read(0)}p1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)C1("resume"),$.flowing=!$.readableListening,as0(this,$);return $.paused=!1,this};function as0($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(ts0,$,Y)}function ts0($,Y){if(C1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Hk($),Y.flowing&&!Y.reading)$.read(0)}p1.prototype.pause=function(){if(C1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)C1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Hk($){var Y=$._readableState;C1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}p1.prototype.wrap=function($){var Y=this,z=this._readableState,U=!1;$.on("end",function(){if(C1("wrapped end"),z.decoder&&!z.ended){var I=z.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(C1("wrapped data"),z.decoder)I=z.decoder.write(I);if(z.objectMode&&(I===null||I===void 0))return;else if(!z.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)U=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.first();else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=Y.buffer.consume($,Y.decoder);return z}function Kk($){var Y=$._readableState;if(C1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(es0,Y,$)}function es0($,Y){if(C1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var z=Y._writableState;if(!z||z.autoDestroy&&z.finished)Y.destroy()}}}if(typeof Symbol==="function")p1.from=function($,Y){if(Qk===void 0)Qk=g90();return Qk(p1,$,Y)};function n90($,Y){for(var z=0,U=$.length;z{m90.exports=G7;var RO=p3().codes,$a0=RO.ERR_METHOD_NOT_IMPLEMENTED,Ya0=RO.ERR_MULTIPLE_CALLBACK,za0=RO.ERR_TRANSFORM_ALREADY_TRANSFORMING,Ua0=RO.ERR_TRANSFORM_WITH_LENGTH_0,_O=Yz();X1()(G7,_O);function Qa0($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(U===null)return this.emit("error",new Ya0);if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{o90.exports=PH;var l90=Xk();X1()(PH,l90);function PH($){if(!(this instanceof PH))return new PH($);l90.call(this,$)}PH.prototype._transform=function($,Y,z){z(null,$)}});var $70=E((zp1,e90)=>{var Zk;function Ia0($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var t90=p3().codes,Ka0=t90.ERR_MISSING_ARGS,Ga0=t90.ERR_STREAM_DESTROYED;function s90($){if($)throw $}function Wa0($){return $.setHeader&&typeof $.abort==="function"}function Ha0($,Y,z,U){U=Ia0(U);var Q=!1;if($.on("close",function(){Q=!0}),Zk===void 0)Zk=PO();Zk($,{readable:Y,writable:z},function(I){if(I)return U(I);Q=!0,U()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,Wa0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();U(I||new Ga0("pipe"))}}function a90($){$()}function Xa0($,Y){return $.pipe(Y)}function Za0($){if(!$.length)return s90;if(typeof $[$.length-1]!=="function")return s90;return $.pop()}function qa0(){for(var $=arguments.length,Y=Array($),z=0;z<$;z++)Y[z]=arguments[z];var U=Za0(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new Ka0("streams");var Q,J=Y.map(function(I,K){var G=K0;return Ha0(I,G,W,function(H){if(!Q)Q=H;if(H)J.forEach(a90);if(G)return;J.forEach(a90),U(Q)})});return Y.reduce(Xa0)}e90.exports=qa0});var E8=E((v$,TH)=>{var AH=I0("stream");if(process.env.READABLE_STREAM==="disable"&&AH)TH.exports=AH.Readable,Object.assign(TH.exports,AH),TH.exports.Stream=AH;else v$=TH.exports=ay(),v$.Stream=AH||v$,v$.Readable=v$,v$.Writable=ry(),v$.Duplex=Yz(),v$.Transform=Xk(),v$.PassThrough=r90(),v$.finished=PO(),v$.pipeline=$70()});var X8=E((Up1,U70)=>{var Y70=I0("fs"),Va0=function($,Y,z,U){if($.super_=Y,!U)U=z,z=null;if(z)Object.keys(z).forEach((J)=>{Object.defineProperty($,J,Object.getOwnPropertyDescriptor(z,J))});let Q={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(U)Object.keys(U).forEach((J)=>{Q[J]=Object.getOwnPropertyDescriptor(U,J)});$.prototype=Object.create(Y.prototype,Q)},La0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,z70={nop(){},promiseImmediate($){return new Promise((Y)=>{if(global.setImmediate)setImmediate(()=>{Y($)});else setTimeout(()=>{Y($)},1)})},inherits:Va0,dateToExcel($,Y){return 25569+$.getTime()/86400000-(Y?1462:0)},excelToDate($,Y){let z=Math.round(($-25569+(Y?1462:0))*24*3600*1000);return new Date(z)},parsePath($){let Y=$.lastIndexOf("/");return{path:$.substring(0,Y),name:$.substring(Y+1)}},getRelsPath($){let Y=z70.parsePath($);return`${Y.path}/_rels/${Y.name}.rels`},xmlEncode($){let Y=La0.exec($);if(!Y)return $;let z="",U="",Q=0,J=Y.index;for(;J<$.length;J++){let I=$.charCodeAt(J);switch(I){case 34:U=""";break;case 38:U="&";break;case 39:U="'";break;case 60:U="<";break;case 62:U=">";break;case 127:U="";break;default:{if(I<=31&&(I<=8||I>=11&&I!==13)){U="";break}continue}}if(Q!==J)z+=$.substring(Q,J);if(Q=J+1,U)z+=U}if(Q!==J)return z+$.substring(Q,J);return z},xmlDecode($){return $.replace(/&([a-z]*);/g,(Y)=>{switch(Y){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return Y}})},validInt($){let Y=parseInt($,10);return!Number.isNaN(Y)?Y:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((Y)=>{Y70.access($,Y70.constants.F_OK,(z)=>{Y(!z)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};U70.exports=z70});var qk=E((Qp1,J70)=>{class Q70{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let Y=this._buf.length*2;while(Y<$)Y*=2;let z=Buffer.alloc(Y);this._buf.copy(z,0),this._buf=z}addText($){this._buffer=void 0;let Y=this._inPos+this._buf.write($,this._inPos,this._encoding);while(Y>=this._buf.length-4)this._grow(this._inPos+$.length),Y=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=Y}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}J70.exports=Q70});var jH=E((Jp1,Z70)=>{var Fa0=E8(),I70=X8(),wa0=qk();class K70{constructor($,Y){this._data=$,this._encoding=Y}get length(){return this.toBuffer().length}copy($,Y,z,U){return this.toBuffer().copy($,Y,z,U)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class G70{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,z,U){return this._data._buf.copy($,Y,z,U)}toBuffer(){return this._data.toBuffer()}}class W70{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,z,U){this._data.copy($,Y,z,U)}toBuffer(){return this._data}}class H70{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let Y;if($===0)return null;if($===void 0||$>=this.length)return Y=this.toBuffer(),this.iRead=this.iWrite,Y;return Y=Buffer.alloc($),this.buffer.copy(Y,0,this.iRead,$),this.iRead+=$,Y}write($,Y,z){let U=Math.min(z,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,Y,Y+U),this.iWrite+=U,U}}var X70=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};I70.inherits(X70,Fa0.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let Y=this.buffers[this.buffers.length-1];if(!Y.full)return Y}let $=new H70(this.bufSize);return this.buffers.push($),$},async _pipe($){let Y=function(z){return new Promise((U)=>{z.write($.toBuffer(),()=>{U()})})};await Promise.all(this.pipes.map(Y))},_writeToBuffers($){let Y=0,z=$.length;while(Y1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(U),z();else this._writeToBuffers(U),process.nextTick(z);else{if(!this.paused)this.emit("data",U.toBuffer());this._writeToBuffers(U),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,Y,z){let U=(Q)=>{if(Q)z(Q);else this._flush(),this.pipes.forEach((J)=>{J.end()}),this.emit("finish")};if($)this.write($,Y,U);else U()},read($){let Y;if($){Y=[];while($&&this.buffers.length&&!this.buffers[0].eod){let z=this.buffers[0],U=z.read($);if($-=U.length,Y.push(U),z.eod&&z.full)this.buffers.shift()}return Buffer.concat(Y)}return Y=this.buffers.map((z)=>z.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(Y)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((Y)=>Y!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});Z70.exports=X70});var L70=E((Oa0)=>{var q70=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:V70}=I0("buffer");function Ma0($){if(typeof $!=="string")return $;if(q70)return V70.from(q70.encode($).buffer);return V70.from($)}Oa0.stringToBuffer=Ma0});var M70=E((Gp1,w70)=>{var Da0=I0("events"),Ba0=cy(),Pa0=jH(),{stringToBuffer:Kp1}=L70();class F70 extends Da0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new Ba0,this.stream=new Pa0}append($,Y){if(Y.hasOwnProperty("base64")&&Y.base64)this.zip.file(Y.name,$,{base64:!0});else this.zip.file(Y.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,Y){return this.stream.pipe($,Y)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}w70.exports={ZipWriter:F70}});var m6=E((Wp1,D70)=>{var Aa0=Y6(),O70=X8();function N70($,Y,z){$.push(` ${Y}="${O70.xmlEncode(z.toString())}"`)}function Vk($,Y){if(Y){let z=[];Aa0.each(Y,(U,Q)=>{if(U!==void 0)N70(z,Q,U)}),$.push(z.join(""))}}class Lk{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let Y=this._xml;Y.push(" -`)}openNode($,Y){let z=this.tos,U=this._xml;if(z&&this.open)U.push(">");this._stack.push($),U.push("<"),U.push($),Vk(U,Y),this.leaf=!0,this.open=!0}addAttribute($,Y){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(Y!==void 0)N70(this._xml,$,Y)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");Vk(this._xml,$)}writeText($){let Y=this._xml;if(this.open)Y.push(">"),this.open=!1;this.leaf=!1,Y.push(O70.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),Y=this._xml;if(this.leaf)Y.push("/>");else Y.push("");this.open=!1,this.leaf=!1}leafNode($,Y,z){if(this.openNode($,Y),z!==void 0)this.writeText(z);this.closeNode()}closeAll(){while(this._stack.length)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let $=this._rollbacks.pop();if(this._xml.length>$.xml)this._xml.splice($.xml,this._xml.length-$.xml);if(this._stack.length>$.stack)this._stack.splice($.stack,this._stack.length-$.stack);this.leaf=$.leaf,this.open=$.open}get xml(){return this.closeAll(),this._xml.join("")}}Lk.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};D70.exports=Lk});var Fk=E((ja0)=>{var B70=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function Ta0($){if(typeof $==="string")return $;if(B70)return B70.decode($);return $.toString()}ja0.bufferToString=Ta0});var E70=E((A70)=>{Object.defineProperty(A70,"__esModule",{value:!0});A70.CHAR=` + deps: ${H}}`};let Q={keyword:"dependencies",type:"object",schemaType:"object",error:$.error,code(G){let[W,H]=J(G);I(G,W),K(G,H)}};function J({schema:G}){let W={},H={};for(let X in G){if(X==="__proto__")continue;let Z=Array.isArray(G[X])?W:H;Z[X]=G[X]}return[W,H]}function I(G,W=G.schema){let{gen:H,data:X,it:Z}=G;if(Object.keys(W).length===0)return;let q=H.let("missing");for(let V in W){let F=W[V];if(F.length===0)continue;let M=(0,U.propertyInData)(H,X,V,Z.opts.ownProperties);if(G.setParams({property:V,depsCount:F.length,deps:F.join(", ")}),Z.allErrors)H.if(M,()=>{for(let w of F)(0,U.checkReportMissingProp)(G,w)});else H.if(Y._`${M} && (${(0,U.checkMissingProp)(G,F,q)})`),(0,U.reportMissingProp)(G,q),H.else()}}$.validatePropertyDeps=I;function K(G,W=G.schema){let{gen:H,data:X,keyword:Z,it:q}=G,V=H.name("valid");for(let F in W){if((0,z.alwaysValidSchema)(q,W[F]))continue;H.if((0,U.propertyInData)(H,X,F,q.opts.ownProperties),()=>{let M=G.subschema({keyword:Z,schemaProp:F},V);G.mergeValidEvaluated(M,V)},()=>H.var(V,!0)),G.ok(V)}}$.validateSchemaDeps=K,$.default=Q}),Nu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:Q})=>Y._`{propertyName: ${Q.propertyName}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q;if((0,z.alwaysValidSchema)(G,I))return;let W=J.name("valid");J.forIn("key",K,(H)=>{Q.setParams({propertyName:H}),Q.subschema({keyword:"propertyNames",data:H,dataTypes:["string"],propertyName:H,compositeRule:!0},W),J.if((0,Y.not)(W),()=>{if(Q.error(!0),!G.allErrors)J.break()})}),Q.ok(W)}};$.default=U}),ft=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=L1(),U=U5(),Q=v1(),J={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:I})=>z._`{additionalProperty: ${I.additionalProperty}}`},code(I){let{gen:K,schema:G,parentSchema:W,data:H,errsCount:X,it:Z}=I;if(!X)throw Error("ajv implementation error");let{allErrors:q,opts:V}=Z;if(Z.props=!0,V.removeAdditional!=="all"&&(0,Q.alwaysValidSchema)(Z,G))return;let F=(0,Y.allSchemaProperties)(W.properties),M=(0,Y.allSchemaProperties)(W.patternProperties);w(),I.ok(z._`${X} === ${U.default.errors}`);function w(){K.forIn("key",H,(A)=>{if(!F.length&&!M.length)D(A);else K.if(O(A),()=>D(A))})}function O(A){let B;if(F.length>8){let j=(0,Q.schemaRefOrVal)(Z,W.properties,"properties");B=(0,Y.isOwnProperty)(K,j,A)}else if(F.length)B=(0,z.or)(...F.map((j)=>z._`${A} === ${j}`));else B=z.nil;if(M.length)B=(0,z.or)(B,...M.map((j)=>z._`${(0,Y.usePattern)(I,j)}.test(${A})`));return(0,z.not)(B)}function N(A){K.code(z._`delete ${H}[${A}]`)}function D(A){if(V.removeAdditional==="all"||V.removeAdditional&&G===!1){N(A);return}if(G===!1){if(I.setParams({additionalProperty:A}),I.error(),!q)K.break();return}if(typeof G=="object"&&!(0,Q.alwaysValidSchema)(Z,G)){let B=K.name("valid");if(V.removeAdditional==="failing")T(A,B,!1),K.if((0,z.not)(B),()=>{I.reset(),N(A)});else if(T(A,B),!q)K.if((0,z.not)(B),()=>K.break())}}function T(A,B,j){let C={keyword:"additionalProperties",dataProp:A,dataPropType:Q.Type.Str};if(j===!1)Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1});I.subschema(C,B)}}};$.default=J}),Du0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=hQ(),z=Q5(),U=v1(),Q=ft(),J={keyword:"properties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,parentSchema:W,data:H,it:X}=I;if(X.opts.removeAdditional==="all"&&W.additionalProperties===void 0)Q.default.code(new Y.KeywordCxt(X,Q.default,"additionalProperties"));let Z=(0,z.allSchemaProperties)(G);for(let w of Z)X.definedProperties.add(w);if(X.opts.unevaluated&&Z.length&&X.props!==!0)X.props=U.mergeEvaluated.props(K,(0,U.toHash)(Z),X.props);let q=Z.filter((w)=>!(0,U.alwaysValidSchema)(X,G[w]));if(q.length===0)return;let V=K.name("valid");for(let w of q){if(F(w))M(w);else{if(K.if((0,z.propertyInData)(K,H,w,X.opts.ownProperties)),M(w),!X.allErrors)K.else().var(V,!0);K.endIf()}I.it.definedProperties.add(w),I.ok(V)}function F(w){return X.opts.useDefaults&&!X.compositeRule&&G[w].default!==void 0}function M(w){I.subschema({keyword:"properties",schemaProp:w,dataProp:w},V)}}};$.default=J}),Bu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),z=L1(),U=v1(),Q=v1(),J={keyword:"patternProperties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,data:W,parentSchema:H,it:X}=I,{opts:Z}=X,q=(0,Y.allSchemaProperties)(G),V=q.filter((T)=>(0,U.alwaysValidSchema)(X,G[T]));if(q.length===0||V.length===q.length&&(!X.opts.unevaluated||X.props===!0))return;let F=Z.strictSchema&&!Z.allowMatchingProperties&&H.properties,M=K.name("valid");if(X.props!==!0&&!(X.props instanceof z.Name))X.props=(0,Q.evaluatedPropsToName)(K,X.props);let{props:w}=X;O();function O(){for(let T of q){if(F)N(T);if(X.allErrors)D(T);else K.var(M,!0),D(T),K.if(M)}}function N(T){for(let A in F)if(new RegExp(T).test(A))(0,U.checkStrictMode)(X,`property ${A} matches pattern ${T} (use allowMatchingProperties)`)}function D(T){K.forIn("key",W,(A)=>{K.if(z._`${(0,Y.usePattern)(I,T)}.test(${A})`,()=>{let B=V.includes(T);if(!B)I.subschema({keyword:"patternProperties",schemaProp:T,dataProp:A,dataPropType:Q.Type.Str},M);if(X.opts.unevaluated&&w!==!0)K.assign(z._`${w}[${A}]`,!0);else if(!B&&!X.allErrors)K.if((0,z.not)(M),()=>K.break())})})}}};$.default=J}),Pu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(U){let{gen:Q,schema:J,it:I}=U;if((0,Y.alwaysValidSchema)(I,J)){U.fail();return}let K=Q.name("valid");U.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},K),U.failResult(K,()=>U.reset(),()=>U.error())},error:{message:"must NOT be valid"}};$.default=z}),Au0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Q5().validateUnion,error:{message:"must match a schema in anyOf"}};$.default=Y}),Tu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:Q})=>Y._`{passingSchemas: ${Q.passing}}`},code(Q){let{gen:J,schema:I,parentSchema:K,it:G}=Q;if(!Array.isArray(I))throw Error("ajv implementation error");if(G.opts.discriminator&&K.discriminator)return;let W=I,H=J.let("valid",!1),X=J.let("passing",null),Z=J.name("_valid");Q.setParams({passing:X}),J.block(q),Q.result(H,()=>Q.reset(),()=>Q.error(!0));function q(){W.forEach((V,F)=>{let M;if((0,z.alwaysValidSchema)(G,V))J.var(Z,!0);else M=Q.subschema({keyword:"oneOf",schemaProp:F,compositeRule:!0},Z);if(F>0)J.if(Y._`${Z} && ${H}`).assign(H,!1).assign(X,Y._`[${X}, ${F}]`).else();J.if(Z,()=>{if(J.assign(H,!0),J.assign(X,F),M)Q.mergeEvaluated(M,Y.Name)})})}}};$.default=U}),ju0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:"allOf",schemaType:"array",code(U){let{gen:Q,schema:J,it:I}=U;if(!Array.isArray(J))throw Error("ajv implementation error");let K=Q.name("valid");J.forEach((G,W)=>{if((0,Y.alwaysValidSchema)(I,G))return;let H=U.subschema({keyword:"allOf",schemaProp:W},K);U.ok(K),U.mergeEvaluated(H)})}};$.default=z}),Eu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:J})=>Y.str`must match "${J.ifClause}" schema`,params:({params:J})=>Y._`{failingKeyword: ${J.ifClause}}`},code(J){let{gen:I,parentSchema:K,it:G}=J;if(K.then===void 0&&K.else===void 0)(0,z.checkStrictMode)(G,'"if" without "then" and "else" is ignored');let W=Q(G,"then"),H=Q(G,"else");if(!W&&!H)return;let X=I.let("valid",!0),Z=I.name("_valid");if(q(),J.reset(),W&&H){let F=I.let("ifClause");J.setParams({ifClause:F}),I.if(Z,V("then",F),V("else",F))}else if(W)I.if(Z,V("then"));else I.if((0,Y.not)(Z),V("else"));J.pass(X,()=>J.error(!0));function q(){let F=J.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},Z);J.mergeEvaluated(F)}function V(F,M){return()=>{let w=J.subschema({keyword:F},Z);if(I.assign(X,Z),J.mergeValidEvaluated(w,X),M)I.assign(M,Y._`${F}`);else J.setParams({ifClause:F})}}}};function Q(J,I){let K=J.schema[I];return K!==void 0&&!(0,z.alwaysValidSchema)(J,K)}$.default=U}),Cu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:U,parentSchema:Q,it:J}){if(Q.if===void 0)(0,Y.checkStrictMode)(J,`"${U}" without "if" is ignored`)}};$.default=z}),ut=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=kt(),z=wu0(),U=xt(),Q=Mu0(),J=Ou0(),I=$S(),K=Nu0(),G=ft(),W=Du0(),H=Bu0(),X=Pu0(),Z=Au0(),q=Tu0(),V=ju0(),F=Eu0(),M=Cu0();function w(O=!1){let N=[X.default,Z.default,q.default,V.default,F.default,M.default,K.default,G.default,I.default,W.default,H.default];if(O)N.push(z.default,Q.default);else N.push(Y.default,U.default);return N.push(J.default),N}$.default=w}),Ru0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:U})=>Y.str`must match format "${U}"`,params:({schemaCode:U})=>Y._`{format: ${U}}`},code(U,Q){let{gen:J,data:I,$data:K,schema:G,schemaCode:W,it:H}=U,{opts:X,errSchemaPath:Z,schemaEnv:q,self:V}=H;if(!X.validateFormats)return;if(K)F();else M();function F(){let w=J.scopeValue("formats",{ref:V.formats,code:X.code.formats}),O=J.const("fDef",Y._`${w}[${W}]`),N=J.let("fType"),D=J.let("format");J.if(Y._`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>J.assign(N,Y._`${O}.type || "string"`).assign(D,Y._`${O}.validate`),()=>J.assign(N,Y._`"string"`).assign(D,O)),U.fail$data((0,Y.or)(T(),A()));function T(){if(X.strictSchema===!1)return Y.nil;return Y._`${W} && !${D}`}function A(){let B=q.$async?Y._`(${O}.async ? await ${D}(${I}) : ${D}(${I}))`:Y._`${D}(${I})`,j=Y._`(typeof ${D} == "function" ? ${B} : ${D}.test(${I}))`;return Y._`${D} && ${D} !== true && ${N} === ${Q} && !${j}`}}function M(){let w=V.formats[G];if(!w){T();return}if(w===!0)return;let[O,N,D]=A(w);if(O===Q)U.pass(B());function T(){if(X.strictSchema===!1){V.logger.warn(j());return}throw Error(j());function j(){return`unknown format "${G}" ignored in schema at path "${Z}"`}}function A(j){let C=j instanceof RegExp?(0,Y.regexpCode)(j):X.code.formats?Y._`${X.code.formats}${(0,Y.getProperty)(G)}`:void 0,b=J.scopeValue("formats",{key:G,ref:j,code:C});if(typeof j=="object"&&!(j instanceof RegExp))return[j.type||"string",j.validate,Y._`${b}.validate`];return["string",j,b]}function B(){if(typeof w=="object"&&!(w instanceof RegExp)&&w.async){if(!q.$async)throw Error("async format in sync schema");return Y._`await ${D}(${I})`}return typeof N=="function"?Y._`${D}(${I})`:Y._`${D}.test(${I})`}}}};$.default=z}),bt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=[Ru0().default];$.default=Y}),it=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.contentVocabulary=$.metadataVocabulary=void 0,$.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],$.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}),ct=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gt(),z=yt(),U=ut(),Q=bt(),J=it(),I=[Y.default,z.default,(0,U.default)(),Q.default,J.metadataVocabulary,J.contentVocabulary];$.default=I}),_u0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.DiscrError=void 0;var Y;(function(z){z.Tag="tag",z.Mapping="mapping"})(Y||($.DiscrError=Y={}))}),YS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=_u0(),U=Cw(),Q=SQ(),J=v1(),I={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:K,tagName:G}})=>K===z.DiscrError.Tag?`tag "${G}" must be string`:`value of tag "${G}" must be in oneOf`,params:({params:{discrError:K,tag:G,tagName:W}})=>Y._`{error: ${K}, tag: ${W}, tagValue: ${G}}`},code(K){let{gen:G,data:W,schema:H,parentSchema:X,it:Z}=K,{oneOf:q}=X;if(!Z.opts.discriminator)throw Error("discriminator: requires discriminator option");let V=H.propertyName;if(typeof V!="string")throw Error("discriminator: requires propertyName");if(H.mapping)throw Error("discriminator: mapping is not supported");if(!q)throw Error("discriminator: requires oneOf keyword");let F=G.let("valid",!1),M=G.const("tag",Y._`${W}${(0,Y.getProperty)(V)}`);G.if(Y._`typeof ${M} == "string"`,()=>w(),()=>K.error(!1,{discrError:z.DiscrError.Tag,tag:M,tagName:V})),K.ok(F);function w(){let D=N();G.if(!1);for(let T in D)G.elseIf(Y._`${M} === ${T}`),G.assign(F,O(D[T]));G.else(),K.error(!1,{discrError:z.DiscrError.Mapping,tag:M,tagName:V}),G.endIf()}function O(D){let T=G.name("valid"),A=K.subschema({keyword:"oneOf",schemaProp:D},T);return K.mergeEvaluated(A,Y.Name),T}function N(){var D;let T={},A=j(X),B=!0;for(let k=0;k{Y.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}),nt=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv=void 0;let z=ah(),U=ct(),Q=YS(),J=vu0(),I=["/properties"],K="http://json-schema.org/draft-07/schema";var G=class extends z.default{_addVocabularies(){if(super._addVocabularies(),U.default.forEach((q)=>this.addVocabulary(q)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let q=this.opts.$data?this.$dataMetaSchema(J,I):J;this.addMetaSchema(q,K,!1),this.refs["http://json-schema.org/schema"]=K}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(K)?K:void 0)}};$.Ajv=G,Y.exports=$=G,Y.exports.Ajv=G,Object.defineProperty($,"__esModule",{value:!0}),$.default=G;var W=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return W.KeywordCxt}});var H=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return H._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return H.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return H.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return H.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return H.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return H.CodeGen}});var X=XW();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return X.default}});var Z=SQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return Z.default}})}),pt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicAnchor=void 0;let Y=L1(),z=U5(),U=Cw(),Q=th(),J={keyword:"$dynamicAnchor",schemaType:"string",code:(G)=>I(G,G.schema)};function I(G,W){let{gen:H,it:X}=G;X.schemaEnv.root.dynamicAnchors[W]=!0;let Z=Y._`${z.default.dynamicAnchors}${(0,Y.getProperty)(W)}`,q=X.errSchemaPath==="#"?X.validateName:K(G);H.if(Y._`!${Z}`,()=>H.assign(Z,q))}$.dynamicAnchor=I;function K(G){let{schemaEnv:W,schema:H,self:X}=G.it,{root:Z,baseId:q,localRefs:V,meta:F}=W.root,{schemaId:M}=X.opts,w=new U.SchemaEnv({schema:H,schemaId:M,root:Z,baseId:q,localRefs:V,meta:F});return U.compileSchema.call(X,w),(0,Q.getValidate)(G,w)}$.default=J}),dt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicRef=void 0;let Y=L1(),z=U5(),U=th(),Q={keyword:"$dynamicRef",schemaType:"string",code:(I)=>J(I,I.schema)};function J(I,K){let{gen:G,keyword:W,it:H}=I;if(K[0]!=="#")throw Error(`"${W}" only supports hash fragment reference`);let X=K.slice(1);if(H.allErrors)Z();else{let V=G.let("valid",!1);Z(V),I.ok(V)}function Z(V){if(H.schemaEnv.root.dynamicAnchors[X]){let F=G.let("_v",Y._`${z.default.dynamicAnchors}${(0,Y.getProperty)(X)}`);G.if(F,q(F,V),q(H.validateName,V))}else q(H.validateName,V)()}function q(V,F){return F?()=>G.block(()=>{(0,U.callRef)(I,V),G.let(F,!0)}):()=>(0,U.callRef)(I,V)}}$.dynamicRef=J,$.default=Q}),hu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=pt(),z=v1(),U={keyword:"$recursiveAnchor",schemaType:"boolean",code(Q){if(Q.schema)(0,Y.dynamicAnchor)(Q,"");else(0,z.checkStrictMode)(Q.it,"$recursiveAnchor: false is ignored")}};$.default=U}),Su0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=dt(),z={keyword:"$recursiveRef",schemaType:"string",code:(U)=>(0,Y.dynamicRef)(U,U.schema)};$.default=z}),mt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=pt(),z=dt(),U=hu0(),Q=Su0(),J=[Y.default,z.default,U.default,Q.default];$.default=J}),gu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=$S(),z={keyword:"dependentRequired",type:"object",schemaType:"object",error:Y.error,code:(U)=>(0,Y.validatePropertyDeps)(U)};$.default=z}),yu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=$S(),z={keyword:"dependentSchemas",type:"object",schemaType:"object",code:(U)=>(0,Y.validateSchemaDeps)(U)};$.default=z}),ku0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),z={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:U,parentSchema:Q,it:J}){if(Q.contains===void 0)(0,Y.checkStrictMode)(J,`"${U}" without "contains" is ignored`)}};$.default=z}),lt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gu0(),z=yu0(),U=ku0(),Q=[Y.default,z.default,U.default];$.default=Q}),xu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U=U5(),Q={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:J})=>Y._`{unevaluatedProperty: ${J.unevaluatedProperty}}`},code(J){let{gen:I,schema:K,data:G,errsCount:W,it:H}=J;if(!W)throw Error("ajv implementation error");let{allErrors:X,props:Z}=H;if(Z instanceof Y.Name)I.if(Y._`${Z} !== true`,()=>I.forIn("key",G,(M)=>I.if(V(Z,M),()=>q(M))));else if(Z!==!0)I.forIn("key",G,(M)=>Z===void 0?q(M):I.if(F(Z,M),()=>q(M)));H.props=!0,J.ok(Y._`${W} === ${U.default.errors}`);function q(M){if(K===!1){if(J.setParams({unevaluatedProperty:M}),J.error(),!X)I.break();return}if(!(0,z.alwaysValidSchema)(H,K)){let w=I.name("valid");if(J.subschema({keyword:"unevaluatedProperties",dataProp:M,dataPropType:z.Type.Str},w),!X)I.if((0,Y.not)(w),()=>I.break())}}function V(M,w){return Y._`!${M} || !${M}[${w}]`}function F(M,w){let O=[];for(let N in M)if(M[N]===!0)O.push(Y._`${w} !== ${N}`);return(0,Y.and)(...O)}}};$.default=Q}),fu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),z=v1(),U={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:Q}})=>Y.str`must NOT have more than ${Q} items`,params:({params:{len:Q}})=>Y._`{limit: ${Q}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q,W=G.items||0;if(W===!0)return;let H=J.const("len",Y._`${K}.length`);if(I===!1)Q.setParams({len:W}),Q.fail(Y._`${H} > ${W}`);else if(typeof I=="object"&&!(0,z.alwaysValidSchema)(G,I)){let Z=J.var("valid",Y._`${H} <= ${W}`);J.if((0,Y.not)(Z),()=>X(Z,W)),Q.ok(Z)}G.items=!0;function X(Z,q){J.forRange("i",q,H,(V)=>{if(Q.subschema({keyword:"unevaluatedItems",dataProp:V,dataPropType:z.Type.Num},Z),!G.allErrors)J.if((0,Y.not)(Z),()=>J.break())})}}};$.default=U}),ot=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=xu0(),z=fu0(),U=[Y.default,z.default];$.default=U}),uu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/schema",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],type:["object","boolean"],properties:{definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}}}}),bu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/applicator":!0},$recursiveAnchor:!0,title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}}}}),iu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/content",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}}}}),cu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/core",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0},$recursiveAnchor:!0,title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}}}}),nu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/format",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/format":!0},$recursiveAnchor:!0,title:"Format vocabulary meta-schema",type:["object","boolean"],properties:{format:{type:"string"}}}}),pu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},$recursiveAnchor:!0,title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),du0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/validation",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/validation":!0},$recursiveAnchor:!0,title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),mu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=uu0(),z=bu0(),U=iu0(),Q=cu0(),J=nu0(),I=pu0(),K=du0(),G=["/properties"];function W(H){return[Y,z,U,Q,X(this,J),I,X(this,K)].forEach((Z)=>this.addMetaSchema(Z,void 0,!1)),this;function X(Z,q){return H?Z.$dataMetaSchema(q,G):q}}$.default=W}),lu0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2019=void 0;let z=ah(),U=ct(),Q=mt(),J=lt(),I=ot(),K=YS(),G=mu0(),W="https://json-schema.org/draft/2019-09/schema";var H=class extends z.default{constructor(F={}){super({...F,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),this.addVocabulary(Q.default),U.default.forEach((F)=>this.addVocabulary(F)),this.addVocabulary(J.default),this.addVocabulary(I.default),this.opts.discriminator)this.addKeyword(K.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:F,meta:M}=this.opts;if(!M)return;G.default.call(this,F),this.refs["http://json-schema.org/schema"]=W}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(W)?W:void 0)}};$.Ajv2019=H,Y.exports=$=H,Y.exports.Ajv2019=H,Object.defineProperty($,"__esModule",{value:!0}),$.default=H;var X=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return X.KeywordCxt}});var Z=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return Z._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return Z.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return Z.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return Z.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return Z.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return Z.CodeGen}});var q=XW();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return q.default}});var V=SQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return V.default}})}),ou0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gt(),z=yt(),U=ut(),Q=mt(),J=lt(),I=ot(),K=bt(),G=it(),W=[Q.default,Y.default,z.default,(0,U.default)(!0),K.default,G.metadataVocabulary,G.contentVocabulary,J.default,I.default];$.default=W}),ru0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}}}),su0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}}}),au0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}}}),tu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}}}),eu0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}}}),$b0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}}}),Yb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),zb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),Ub0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=ru0(),z=su0(),U=au0(),Q=tu0(),J=eu0(),I=$b0(),K=Yb0(),G=zb0(),W=["/properties"];function H(X){return[Y,z,U,Q,J,Z(this,I),K,Z(this,G)].forEach((q)=>this.addMetaSchema(q,void 0,!1)),this;function Z(q,V){return X?q.$dataMetaSchema(V,W):V}}$.default=H}),Qb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2020=void 0;let z=ah(),U=ou0(),Q=YS(),J=Ub0(),I="https://json-schema.org/draft/2020-12/schema";var K=class extends z.default{constructor(Z={}){super({...Z,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),U.default.forEach((Z)=>this.addVocabulary(Z)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:Z,meta:q}=this.opts;if(!q)return;J.default.call(this,Z),this.refs["http://json-schema.org/schema"]=I}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(I)?I:void 0)}};$.Ajv2020=K,Y.exports=$=K,Y.exports.Ajv2020=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K;var G=hQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return G.KeywordCxt}});var W=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return W._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return W.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return W.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return W.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return W.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return W.CodeGen}});var H=XW();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return H.default}});var X=SQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return X.default}})}),Jb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatNames=$.fastFormats=$.fullFormats=void 0;function Y(k,h){return{validate:k,compare:h}}$.fullFormats={date:Y(J,I),time:Y(G(!0),W),"date-time":Y(Z(!0),q),"iso-time":Y(G(),H),"iso-date-time":Y(Z(),V),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:w,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:b,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:N,int32:{type:"number",validate:A},int64:{type:"number",validate:B},float:{type:"number",validate:j},double:{type:"number",validate:j},password:!0,binary:!0},$.fastFormats={...$.fullFormats,date:Y(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,I),time:Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,W),"date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,q),"iso-time":Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,H),"iso-date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,V),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},$.formatNames=Object.keys($.fullFormats);function z(k){return k%4===0&&(k%100!==0||k%400===0)}let U=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Q=[0,31,28,31,30,31,30,31,31,30,31,30,31];function J(k){let h=U.exec(k);if(!h)return!1;let i=+h[1],c=+h[2],U0=+h[3];return c>=1&&c<=12&&U0>=1&&U0<=(c===2&&z(i)?29:Q[c])}function I(k,h){if(!(k&&h))return;if(k>h)return 1;if(k23||p>59||k&&!t)return!1;if(U0<=23&&x<=59&&d<60)return!0;let e=x-p*$0,y=U0-g*$0-(e<0?1:0);return(y===23||y===-1)&&(e===59||e===-1)&&d<61}}function W(k,h){if(!(k&&h))return;let i=new Date("2020-01-01T"+k).valueOf(),c=new Date("2020-01-01T"+h).valueOf();if(!(i&&c))return;return i-c}function H(k,h){if(!(k&&h))return;let i=K.exec(k),c=K.exec(h);if(!(i&&c))return;if(k=i[1]+i[2]+i[3],h=c[1]+c[2]+c[3],k>h)return 1;if(k=D}function B(k){return Number.isInteger(k)}function j(){return!0}let C=/[^\\]\\Z/;function b(k){if(C.test(k))return!1;try{return new RegExp(k),!0}catch(h){return!1}}}),Ib0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatLimitDefinition=void 0;let Y=nt(),z=L1(),U=z.operators,Q={formatMaximum:{okStr:"<=",ok:U.LTE,fail:U.GT},formatMinimum:{okStr:">=",ok:U.GTE,fail:U.LT},formatExclusiveMaximum:{okStr:"<",ok:U.LT,fail:U.GTE},formatExclusiveMinimum:{okStr:">",ok:U.GT,fail:U.LTE}},J={message:({keyword:K,schemaCode:G})=>z.str`should be ${Q[K].okStr} ${G}`,params:({keyword:K,schemaCode:G})=>z._`{comparison: ${Q[K].okStr}, limit: ${G}}`};$.formatLimitDefinition={keyword:Object.keys(Q),type:"string",schemaType:"string",$data:!0,error:J,code(K){let{gen:G,data:W,schemaCode:H,keyword:X,it:Z}=K,{opts:q,self:V}=Z;if(!q.validateFormats)return;let F=new Y.KeywordCxt(Z,V.RULES.all.format.definition,"format");if(F.$data)M();else w();function M(){let N=G.scopeValue("formats",{ref:V.formats,code:q.code.formats}),D=G.const("fmt",z._`${N}[${F.schemaCode}]`);K.fail$data((0,z.or)(z._`typeof ${D} != "object"`,z._`${D} instanceof RegExp`,z._`typeof ${D}.compare != "function"`,O(D)))}function w(){let N=F.schema,D=V.formats[N];if(!D||D===!0)return;if(typeof D!="object"||D instanceof RegExp||typeof D.compare!="function")throw Error(`"${X}": format "${N}" does not define "compare" function`);let T=G.scopeValue("formats",{key:N,ref:D,code:q.code.formats?z._`${q.code.formats}${(0,z.getProperty)(N)}`:void 0});K.fail$data(O(T))}function O(N){return z._`${N}.compare(${W}, ${H}) ${Q[X].fail} 0`}},dependencies:["format"]};let I=(K)=>{return K.addKeyword($.formatLimitDefinition),K};$.default=I}),Kb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0});let z=Jb0(),U=Ib0(),Q=L1(),J=new Q.Name("fullFormats"),I=new Q.Name("fastFormats"),K=(W,H={keywords:!0})=>{if(Array.isArray(H))return G(W,H,z.fullFormats,J),W;let[X,Z]=H.mode==="fast"?[z.fastFormats,I]:[z.fullFormats,J];if(G(W,H.formats||z.formatNames,X,Z),H.keywords)(0,U.default)(W);return W};K.get=(W,H="full")=>{let X=(H==="fast"?z.fastFormats:z.fullFormats)[W];if(!X)throw Error(`Unknown format "${W}"`);return X};function G(W,H,X,Z){var q,V;(q=(V=W.opts.code).formats)!==null&&q!==void 0||(V.formats=Q._`require("ajv-formats/dist/formats").${Z}`);for(let F of H)W.addFormat(F,X[F])}Y.exports=$=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K}),rt=nt(),Gb0=lu0(),Wb0=Qb0(),Hb0=kq(Kb0(),1),Xb0=Hb0.default;px1=rt.Ajv});import zS from"node:process";var _w=o(()=>{st()});function QS($){return!!$&&typeof $==="object"&&Je in $}function qb0($){return $[Je]?.complete}function Vb0($,Y){switch(Y.kind){case"tools_list_changed":return $.toolsListChanged===!0;case"prompts_list_changed":return $.promptsListChanged===!0;case"resources_list_changed":return $.resourcesListChanged===!0;case"resource_updated":return $.resourceSubscriptions!==void 0&&$.resourceSubscriptions.includes(Y.uri)}}function Lb0($,Y){let z={},U=(Q)=>Y===void 0||Q===!0;if($.toolsListChanged===!0&&U(Y?.tools?.listChanged))z.toolsListChanged=!0;if($.promptsListChanged===!0&&U(Y?.prompts?.listChanged))z.promptsListChanged=!0;if($.resourcesListChanged===!0&&U(Y?.resources?.listChanged))z.resourcesListChanged=!0;if($.resourceSubscriptions!==void 0&&$.resourceSubscriptions.length>0&&U(Y?.resources?.subscribe))z.resourceSubscriptions=[...$.resourceSubscriptions];return z}function at($,Y){return{method:$.method,params:{...$.params,_meta:{...$.params?._meta,[SY]:Y}}}}function Fb0($){let Y=A3(WW).validateRequest("subscriptions/listen",$);return Y.ok?Y.value.params?.notifications:void 0}function Mb0($,Y){switch($){case"notifications/tools/list_changed":return{kind:"tools_list_changed"};case"notifications/prompts/list_changed":return{kind:"prompts_list_changed"};case"notifications/resources/list_changed":return{kind:"resources_list_changed"};default:return{kind:"resource_updated",uri:Y??""}}}function Db0($){if($?.maxRounds!==void 0&&(!Number.isInteger($.maxRounds)||$.maxRounds<1))throw RangeError(`inputRequired.maxRounds must be a positive integer (got ${$.maxRounds})`);if($?.roundTimeoutMs!==void 0&&(!Number.isFinite($.roundTimeoutMs)||$.roundTimeoutMs<=0))throw RangeError(`inputRequired.roundTimeoutMs must be a positive number (got ${$.roundTimeoutMs})`);return{maxRounds:$?.maxRounds??Ob0,roundTimeoutMs:$?.roundTimeoutMs??Nb0,legacyShim:$?.legacyShim??!0}}function Ke($,Y,z){if(z===null||typeof z!=="object"||typeof z.method!=="string")throw new J1(n0.InternalError,`Handler for ${$} returned an invalid input request '${Y}': each inputRequests entry must be an embedded elicitation/create, sampling/createMessage, or roots/list request`);let U=z,Q=ta(U);if(Q===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${Y}' of kind '${U.method}', which is not an embedded request the 2026-07-28 revision defines`);return{embedded:U,required:Q}}function Bb0(){let $=globalThis.crypto;if($?.randomUUID!==void 0)return $.randomUUID();let Y=new Uint8Array(16);$.getRandomValues(Y),Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128;let z=[...Y].map((U)=>U.toString(16).padStart(2,"0")).join("");return`${z.slice(0,8)}-${z.slice(8,12)}-${z.slice(12,16)}-${z.slice(16,20)}-${z.slice(20)}`}function US($,Y){if($==="tools/call")return{content:[{type:"text",text:Y}],isError:!0};throw new J1(n0.InternalError,Y)}function JS($,Y){Ge($,Y)}function IS($){return We($)}function jb0($){return{...$}}function tt($,Y){if($){let U=Y;return async(Q,J)=>U(Q,J)}let z=Y;return async(U,Q)=>z(Q)}function $e($){if($===void 0)return;try{return E3($,"output")}catch{return}}function Ye($,Y,z){if(Y){let U=z;return async(Q,J)=>{let I=await kY(Y,Q);if(!I.success)throw new J1(n0.InvalidParams,`Invalid arguments for prompt ${$}: ${I.error}`);return U(I.data,J)}}else{let U=z;return async(Q,J)=>{return U(J)}}}function ze($){return{completion:{values:$.map(String).slice(0,100),total:$.length,hasMore:$.length>100}}}function Ue($){let Y=$;if(Y.shape&&typeof Y.shape==="object")return Y.shape}function Eb0($){return $?.type==="optional"}function Qe($){if(!Eb0($))return $;return $.def?.innerType??$}var Je,vw=1024,wb0,Ie=class{_subs=new Map;_serverCapabilities;_serverInfo;constructor($=vw,Y,z){this._maxSubscriptions=$,this._serverCapabilities=Y,this._serverInfo=z}setServerCapabilities($,Y){if(this._serverCapabilities=$,Y!==void 0)this._serverInfo=Y}has($){return this._subs.has($)}serve($){if(this._serverCapabilities===void 0)throw Error("StdioListenRouter.serve() called before setServerCapabilities(); refusing to honor a filter without capabilities");if(this._subs.size>=this._maxSubscriptions)return{jsonrpc:"2.0",id:$.id,error:{code:-32603,message:"Subscription limit reached"}};let Y=Fb0($);if(Y===void 0)return{jsonrpc:"2.0",id:$.id,error:{code:-32602,message:"Invalid params: 'notifications' is required and must be a valid SubscriptionFilter"}};let z=Lb0(Y,this._serverCapabilities);return this._subs.set($.id,z),at({method:"notifications/subscriptions/acknowledged",params:{notifications:z}},$.id)}cancel($){return this._subs.delete($)}routeOutbound($){if(!wb0.has($.method))return"passthrough";let Y=$.params?.uri,z=typeof Y==="string"?Y:void 0,U=Mb0($.method,z),Q=[];for(let[J,I]of this._subs)if(Vb0(I,U))Q.push(at({method:$.method,params:$.params??{}},J));return Q}teardownAll(){let $=[];for(let Y of this._subs.keys())$.push({jsonrpc:"2.0",id:Y,result:{resultType:"complete",_meta:{[SY]:Y,...this._serverInfo!==void 0&&{[p5]:this._serverInfo}}}});return this._subs.clear(),$}},Ob0=8,Nb0=600000,Pb0=class{constructor($){this._host=$}async fulfill($,Y,z,U,Q){let{maxRounds:J,roundTimeoutMs:I}=this._host,K=U.mcpReq.signal,G=Q,W=0;while(!0){if(W+=1,W>J)return US($,Ot($,J));let H=G.inputRequests,X=H!=null&&Object.keys(H).length>0,Z=typeof G.requestState==="string"?G.requestState:void 0;if(!X&&Z===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);let q;if(X){let M=this._host.resolvedClientCapabilities(U),w=[];for(let[N,D]of Object.entries(H)){let{embedded:T,required:A}=Ke($,N,D);if(T.method!=="roots/list"&&T.params===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${N}' of kind '${T.method}' without params`);if(qw(A,M)!==void 0)return US($,`Cannot request input '${N}' (${T.method}): the client on this 2025-era connection did not declare the required capability${M===void 0?" (no client capabilities are available on this connection — per-request legacy serving cannot receive server-to-client requests)":""}`);w.push([N,T])}let O=Dt(K);try{let N={relatedRequestId:U.mcpReq.id,timeout:I,resetTimeoutOnProgress:!0,onprogress:()=>{},signal:O.signal},D=await Promise.all(w.map(async([T,A])=>{try{return[T,await this._dispatchLeg(A,N)]}catch(B){throw O.abort(B),B}}));q=Object.fromEntries(D)}catch(N){if(K.aborted)throw N;return US($,`Fulfilling input required by '${$}' failed: ${N instanceof Error?N.message:String(N)}`)}finally{O.dispose()}}else await Nt(Mt,K);let V={...U,mcpReq:{...U.mcpReq,inputResponses:q,droppedInputResponseKeys:void 0,requestState:HW(Z)}};if(Z!==void 0){let M=await this._host.verifyRequestState(Z,V,$);if(M!==void 0)V=nh(V,M)}let F=await Y(z,V);if(!r9(F))return F;G=F}}async _dispatchLeg($,Y){switch($.method){case"elicitation/create":{let z=$.params;if(z.mode==="url"&&z.elicitationId===void 0)z={...z,elicitationId:Bb0()};return await this._host.sendElicitation(z,Y)}case"sampling/createMessage":return await this._host.sendSampling($.params,Y);case"roots/list":return await this._host.listRoots($.params,Y)}}},Ab0,Tb0,Ge,We,He,qW=class{server;_registeredResources={};_registeredResourceTemplates={};_registeredTools={};_registeredPrompts={};_toolInputSchemaJson={};toolInputSchemaJson($){let Y=this._registeredTools[$];if(Y===void 0||!Y.enabled)return;if(Object.hasOwn(this._toolInputSchemaJson,$))return this._toolInputSchemaJson[$];if(Y.inputSchema===void 0)return et;try{let z=E3(Y.inputSchema,"input");return this._toolInputSchemaJson[$]=z,z}catch{return}}constructor($,Y){if(this.server=new He($,Y),Y?.capabilities?.tools)this.setToolRequestHandlers();if(Y?.capabilities?.resources)this.setResourceRequestHandlers();if(Y?.capabilities?.prompts)this.setPromptRequestHandlers()}async connect($){return await this.server.connect($)}async close(){await this.server.close()}_toolHandlersInitialized=!1;setToolRequestHandlers(){if(this._toolHandlersInitialized)return;this.server.assertCanSetRequestHandler("tools/list"),this.server.assertCanSetRequestHandler("tools/call"),this.server.registerCapabilities({tools:{listChanged:this.server.getCapabilities().tools?.listChanged??!0}}),this.server.setRequestHandler("tools/list",()=>({tools:Object.entries(this._registeredTools).filter(([,$])=>$.enabled).map(([$,Y])=>{let z={name:$,title:Y.title,description:Y.description,inputSchema:Y.inputSchema?E3(Y.inputSchema,"input"):et,annotations:Y.annotations,icons:Y.icons,execution:Y.execution,_meta:Y._meta};if(Y.outputSchema)z.outputSchema=E3(Y.outputSchema,"output");return z})})),this.server.setRequestHandler("tools/call",async($,Y)=>{let z=this._registeredTools[$.params.name];if(!z)throw new J1(n0.InvalidParams,`Tool ${$.params.name} not found`);if(!z.enabled)throw new J1(n0.InvalidParams,`Tool ${$.params.name} disabled`);try{let U=await this.validateToolInput(z,$.params.arguments,$.params.name),Q=await this.executeToolHandler(z,U,Y);if(await this.validateToolOutput(z,Q,$.params.name),r9(Q))return Q;return this.server.projectCallToolResult(Q,z.outputSchemaJson)}catch(U){if(U instanceof J1&&U.code===n0.UrlElicitationRequired)throw U;return this.createToolError(U instanceof Error?U.message:String(U))}}),this._toolHandlersInitialized=!0}createToolError($){return{content:[{type:"text",text:$}],isError:!0}}async validateToolInput($,Y,z){if(!$.inputSchema)return;let U=await kY($.inputSchema,Y??{});if(!U.success)throw new J1(n0.InvalidParams,`Input validation error: Invalid arguments for tool ${z}: ${U.error}`);return U.data}async validateToolOutput($,Y,z){if(!$.outputSchema)return;if(r9(Y))return;if(Y.isError)return;if(Y.structuredContent===void 0)throw new J1(n0.InvalidParams,`Output validation error: Tool ${z} has an output schema but no structured content was provided`);let U=await kY($.outputSchema,Y.structuredContent);if(!U.success)throw new J1(n0.InvalidParams,`Output validation error: Invalid structured content for tool ${z}: ${U.error}`)}async executeToolHandler($,Y,z){return $.executor(Y,z)}_completionHandlerInitialized=!1;setCompletionRequestHandler(){if(this._completionHandlerInitialized)return;this.server.assertCanSetRequestHandler("completion/complete"),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler("completion/complete",async($)=>{switch($.params.ref.type){case"ref/prompt":return xh($),this.handlePromptCompletion($,$.params.ref);case"ref/resource":return fh($),this.handleResourceCompletion($,$.params.ref);default:throw new J1(n0.InvalidParams,`Invalid completion reference: ${$.params.ref}`)}}),this._completionHandlerInitialized=!0}async handlePromptCompletion($,Y){let z=this._registeredPrompts[Y.name];if(!z)throw new J1(n0.InvalidParams,`Prompt ${Y.name} not found`);if(!z.enabled)throw new J1(n0.InvalidParams,`Prompt ${Y.name} disabled`);if(!z.argsSchema)return ZW;let U=Qe(Ue(z.argsSchema)?.[$.params.argument.name]);if(!QS(U))return ZW;let Q=qb0(U);if(!Q)return ZW;return ze(await Q($.params.argument.value,$.params.context))}async handleResourceCompletion($,Y){let z=Object.values(this._registeredResourceTemplates).find((Q)=>Q.resourceTemplate.uriTemplate.toString()===Y.uri);if(!z){if(this._registeredResources[Y.uri])return ZW;throw new J1(n0.InvalidParams,`Resource template ${$.params.ref.uri} not found`)}let U=z.resourceTemplate.completeCallback($.params.argument.name);if(!U)return ZW;return ze(await U($.params.argument.value,$.params.context))}_resourceHandlersInitialized=!1;setResourceRequestHandlers(){if(this._resourceHandlersInitialized)return;this.server.assertCanSetRequestHandler("resources/list"),this.server.assertCanSetRequestHandler("resources/templates/list"),this.server.assertCanSetRequestHandler("resources/read"),this.server.registerCapabilities({resources:{listChanged:this.server.getCapabilities().resources?.listChanged??!0}}),this.server.setRequestHandler("resources/list",async($,Y)=>{let z=Object.entries(this._registeredResources).filter(([Q,J])=>J.enabled).map(([Q,J])=>({uri:Q,name:J.name,...J.metadata})),U=[];for(let Q of Object.values(this._registeredResourceTemplates)){if(!Q.resourceTemplate.listCallback)continue;let J=await Q.resourceTemplate.listCallback(Y);for(let I of J.resources)U.push({...Q.metadata,...I})}return{resources:[...z,...U]}}),this.server.setRequestHandler("resources/templates/list",async()=>{return{resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([$,Y])=>({name:$,uriTemplate:Y.resourceTemplate.uriTemplate.toString(),...Y.metadata}))}}),this.server.setRequestHandler("resources/read",async($,Y)=>{let z;try{z=new URL($.params.uri)}catch{throw new J1(n0.InvalidParams,`Resource URI ${$.params.uri} is invalid`,{uri:$.params.uri,reason:"invalid_uri"})}let U=this._registeredResources[z.toString()];if(U){if(!U.enabled)throw new J1(n0.InvalidParams,`Resource ${z} disabled`);return Vw(await U.readCallback(z,Y),U.cacheHint)}for(let Q of Object.values(this._registeredResourceTemplates)){let J=Q.resourceTemplate.uriTemplate.match(z.toString());if(J)return Vw(await Q.readCallback(z,J,Y),Q.cacheHint)}throw new Lw($.params.uri)}),this._resourceHandlersInitialized=!0}_promptHandlersInitialized=!1;setPromptRequestHandlers(){if(this._promptHandlersInitialized)return;this.server.assertCanSetRequestHandler("prompts/list"),this.server.assertCanSetRequestHandler("prompts/get"),this.server.registerCapabilities({prompts:{listChanged:this.server.getCapabilities().prompts?.listChanged??!0}}),this.server.setRequestHandler("prompts/list",()=>({prompts:Object.entries(this._registeredPrompts).filter(([,$])=>$.enabled).map(([$,Y])=>{return{name:$,title:Y.title,description:Y.description,arguments:Y.argsSchema?wt(Y.argsSchema):void 0,icons:Y.icons,_meta:Y._meta}})})),this.server.setRequestHandler("prompts/get",async($,Y)=>{let z=this._registeredPrompts[$.params.name];if(!z)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} not found`);if(!z.enabled)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} disabled`);return z.handler($.params.arguments,Y)}),this._promptHandlersInitialized=!0}registerResource($,Y,z,U){let Q=z.cacheHint,J=z;if(Q!==void 0){gh(Q,`resource ${$}`);let I={...z};delete I.cacheHint,J=I}if(typeof Y==="string"){if(this._registeredResources[Y])throw Error(`Resource ${Y} is already registered`);let I=this._createRegisteredResource($,z.title,Y,J,U);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}else{if(this._registeredResourceTemplates[$])throw Error(`Resource template ${$} is already registered`);let I=this._createRegisteredResourceTemplate($,z.title,Y,J,U);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}}_createRegisteredResource($,Y,z,U,Q){let J={name:$,title:Y,metadata:U,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({uri:null}),update:(I)=>{if(I.uri!==void 0&&I.uri!==z){if(delete this._registeredResources[z],I.uri)this._registeredResources[I.uri]=J}if(I.name!==void 0)J.name=I.name;if(I.title!==void 0)J.title=I.title;if(I.metadata!==void 0)J.metadata=I.metadata;if(I.callback!==void 0)J.readCallback=I.callback;if(I.enabled!==void 0)J.enabled=I.enabled;this.sendResourceListChanged()}};return this._registeredResources[z]=J,J}_createRegisteredResourceTemplate($,Y,z,U,Q){let J={resourceTemplate:z,title:Y,metadata:U,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({name:null}),update:(K)=>{if(K.name!==void 0&&K.name!==$){if(delete this._registeredResourceTemplates[$],K.name)this._registeredResourceTemplates[K.name]=J}if(K.title!==void 0)J.title=K.title;if(K.template!==void 0)J.resourceTemplate=K.template;if(K.metadata!==void 0)J.metadata=K.metadata;if(K.callback!==void 0)J.readCallback=K.callback;if(K.enabled!==void 0)J.enabled=K.enabled;this.sendResourceListChanged()}};this._registeredResourceTemplates[$]=J;let I=z.uriTemplate.variableNames;if(Array.isArray(I)&&I.some((K)=>!!z.completeCallback(K)))this.setCompletionRequestHandler();return J}_createRegisteredPrompt($,Y,z,U,Q,J,I){let K=U,G=Q,W={title:Y,description:z,argsSchema:U,icons:J,_meta:I,handler:Ye($,U,Q),enabled:!0,disable:()=>W.update({enabled:!1}),enable:()=>W.update({enabled:!0}),remove:()=>W.update({name:null}),update:(H)=>{if(H.name!==void 0&&H.name!==$){if(delete this._registeredPrompts[$],H.name)this._registeredPrompts[H.name]=W}if(H.title!==void 0)W.title=H.title;if(H.description!==void 0)W.description=H.description;if(H.icons!==void 0)W.icons=H.icons;if(H._meta!==void 0)W._meta=H._meta;let X=!1;if(H.argsSchema!==void 0)W.argsSchema=H.argsSchema,K=H.argsSchema,X=!0;if(H.callback!==void 0)G=H.callback,X=!0;if(X)W.handler=Ye($,K,G);if(H.enabled!==void 0)W.enabled=H.enabled;this.sendPromptListChanged()}};if(this._registeredPrompts[$]=W,U){let H=Ue(U);if(H){if(Object.values(H).some((X)=>{return QS(Qe(X))}))this.setCompletionRequestHandler()}}return W}_createRegisteredTool($,Y,z,U,Q,J,I,K,G,W){if(rh($),U!==void 0)try{let Z=E3(U,"input");this._toolInputSchemaJson[$]=Z;let q=uh(Z);if(!q.valid)console.warn(`[mcp-sdk] tool '${$}' carries an invalid x-mcp-header declaration and will be excluded by conforming Streamable HTTP clients: ${q.reason}`)}catch{}let H=W,X={title:Y,description:z,inputSchema:U,outputSchema:Q,outputSchemaJson:$e(Q),annotations:J,icons:I,execution:K,_meta:G,handler:W,executor:tt(U,W),enabled:!0,disable:()=>X.update({enabled:!1}),enable:()=>X.update({enabled:!0}),remove:()=>X.update({name:null}),update:(Z)=>{if(Z.name!==void 0&&Z.name!==$){if(typeof Z.name==="string")rh(Z.name);if(delete this._registeredTools[$],delete this._toolInputSchemaJson[$],Z.name)delete this._toolInputSchemaJson[Z.name],this._registeredTools[Z.name]=X,$=Z.name}if(Z.title!==void 0)X.title=Z.title;if(Z.description!==void 0)X.description=Z.description;let q=!1;if(Z.paramsSchema!==void 0)X.inputSchema=Z.paramsSchema,delete this._toolInputSchemaJson[$],q=!0;if(Z.callback!==void 0)X.handler=Z.callback,H=Z.callback,q=!0;if(q)X.executor=tt(X.inputSchema,H);if(Z.outputSchema!==void 0)X.outputSchema=Z.outputSchema,X.outputSchemaJson=$e(Z.outputSchema);if(Z.annotations!==void 0)X.annotations=Z.annotations;if(Z.icons!==void 0)X.icons=Z.icons;if(Z._meta!==void 0)X._meta=Z._meta;if(Z.enabled!==void 0)X.enabled=Z.enabled;this.sendToolListChanged()}};return this._registeredTools[$]=X,this.setToolRequestHandlers(),this.sendToolListChanged(),X}registerTool($,Y,z){if(this._registeredTools[$])throw Error(`Tool ${$} is already registered`);let{title:U,description:Q,inputSchema:J,outputSchema:I,annotations:K,icons:G,_meta:W}=Y;return this._createRegisteredTool($,U,Q,Bw(J),Bw(I),K,G,void 0,W,z)}registerPrompt($,Y,z){if(this._registeredPrompts[$])throw Error(`Prompt ${$} is already registered`);let{title:U,description:Q,argsSchema:J,icons:I,_meta:K}=Y,G=this._createRegisteredPrompt($,U,Q,Bw(J),z,I,K);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),G}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage($,Y){return this.server.sendLoggingMessage($,Y)}sendResourceListChanged(){if(this.isConnected())this.server.sendResourceListChanged()}sendToolListChanged(){if(this.isConnected())this.server.sendToolListChanged()}sendPromptListChanged(){if(this.isConnected())this.server.sendPromptListChanged()}},et,ZW;var KS=o(()=>{Pw();_w();Je=Symbol.for("mcp.completable");wb0=new Set(["notifications/tools/list_changed","notifications/prompts/list_changed","notifications/resources/list_changed","notifications/resources/updated"]);Ab0=new Set(["tools/call","prompts/get","resources/read"]);He=class extends dh{_clientCapabilities;_clientVersion;static{Tb0=($,Y)=>{if(Y.clientCapabilities!==void 0)$._clientCapabilities=Y.clientCapabilities;if(Y.clientInfo!==void 0)$._clientVersion=Y.clientInfo},Ge=($,Y)=>{let z=Y.filter((U)=>!$._supportedProtocolVersions.includes(U));if(z.length>0)$._supportedProtocolVersions=[...$._supportedProtocolVersions,...z];$.setRequestHandler("server/discover",()=>$._ondiscover())},We=($)=>$._serverInfo}_capabilities;_instructions;_jsonSchemaValidator;_cacheHints;_requestStateVerify;_inputRequiredServing;_legacyShim;_legacyInputRequiredShim(){return this._legacyShim??=new Pb0({maxRounds:this._inputRequiredServing.maxRounds,roundTimeoutMs:this._inputRequiredServing.roundTimeoutMs,resolvedClientCapabilities:($)=>this._inputRequestCapabilityView($),verifyRequestState:($,Y,z)=>this._verifyRequestState($,Y,z),sendElicitation:($,Y)=>this._sendElicitationLeg($,Y,{validateAcceptedContent:!1}),sendSampling:($,Y)=>this.createMessage($,Y),listRoots:($,Y)=>this.listRoots($,Y)})}oninitialized;constructor($,Y){super(Y);if(this._serverInfo=$,this._capabilities=Y?.capabilities?{...Y.capabilities}:{},this._instructions=Y?.instructions,this._jsonSchemaValidator=Y?.jsonSchemaValidator??new Rw,this._requestStateVerify=Y?.requestState?.verify,this._inputRequiredServing=Db0(Y?.inputRequired),Y?.cacheHints!==void 0){for(let[z,U]of Object.entries(Y.cacheHints))if(U!==void 0)gh(U,`cacheHints['${z}']`);this._cacheHints=Y.cacheHints}if(this.setRequestHandler("initialize",(z)=>this._oninitialize(z)),this.setNotificationHandler("notifications/initialized",()=>this.oninitialized?.()),Ch(this._supportedProtocolVersions).length>0)this.setRequestHandler("server/discover",()=>this._ondiscover());if(this._capabilities.logging)this._registerLoggingHandler()}_registerLoggingHandler(){this.setRequestHandler("logging/setLevel",async($,Y)=>{let z=Y.sessionId||Y.http?.req?.headers.get("mcp-session-id")||void 0,{level:U}=$.params,Q=Dw(B3,U);if(Q.success)this._loggingLevels.set(z,Q.data);return{}})}buildContext($,Y){let z=$.http||Y?.request||Y?.closeSSEStream||Y?.closeStandaloneSSEStream;return{...$,mcpReq:{...$.mcpReq,log:(U,Q,J)=>{if(!this._capabilities.logging)return Promise.resolve();let I;if(this._servedModernEra()){if(I=$.mcpReq.envelope?.[F3],I===void 0)return Promise.resolve()}else I=this._loggingLevels.get($.sessionId)??this._loggingLevels.get(void 0);if(I!==void 0&&this.LOG_LEVEL_SEVERITY.get(U)this.elicitInput(U,Q),requestSampling:(U,Q)=>this.createMessage(U,Q)},http:z?{...$.http,req:Y?.request,closeSSE:Y?.closeSSEStream,closeStandaloneSSE:Y?.closeStandaloneSSEStream}:void 0}}_loggingLevels=new Map;LOG_LEVEL_SEVERITY=new Map(B3.options.map(($,Y)=>[$,Y]));isMessageIgnored=($,Y)=>{let z=this._loggingLevels.get(Y);return z?this.LOG_LEVEL_SEVERITY.get($){let I=await Y(Q,J);if(r9(I))throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I};return async(Q,J)=>{let I=U?await this._invokeInputRequiredCapableHandler($,Y,Q,J):await Y(Q,J);if(r9(I)){if(!U)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I}return z===void 0?I:Vw(I,z)}}return async(z,U)=>{let Q=A3(this._negotiatedProtocolVersion),J=Q.validateRequest("tools/call",z);if(!J.ok)throw new J1(J.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,J.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call request: ${J.message}`);let I=await this._invokeInputRequiredCapableHandler("tools/call",Y,z,U);if(r9(I))return I;let K=Rh(I),G=Q.validateResult("tools/call",K);if(!G.ok)throw new J1(G.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,G.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call result: ${G.message}`);return G.value}}_servedModernEra(){return this._negotiatedProtocolVersion!==void 0&&_Q(this._negotiatedProtocolVersion)}async _invokeInputRequiredCapableHandler($,Y,z,U){let Q=this._servedModernEra(),J=U.mcpReq.requestState();if(J!==void 0&&typeof J!=="string")throw new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"});let I=U;if(typeof J==="string"){let X=await this._verifyRequestState(J,U,$);if(X!==void 0)I=nh(U,X)}let K;try{K=await Y(z,I)}catch(X){if(X instanceof J1&&X.code===n0.UrlElicitationRequired){if(!Q)throw X;throw new J1(n0.InternalError,`URL elicitation cannot be signalled by throwing UrlElicitationRequiredError on protocol revision ${this._negotiatedProtocolVersion}: return inputRequired({ inputRequests: { …: inputRequired.elicitUrl(...) } }) from the handler instead. The urlElicitationRequired error (-32042) of earlier revisions is not available on this revision.`)}throw X}if(!r9(K))return K;if(!Q){if(!this._inputRequiredServing.legacyShim)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but this request is served on protocol revision ${this._negotiatedProtocolVersion??hY}, which has no input_required vocabulary`);return await this._legacyInputRequiredShim().fulfill($,Y,z,I,K)}let G=K.inputRequests,W=G!=null&&Object.keys(G).length>0,H=typeof K.requestState==="string";if(!W&&!H)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);if(W){let X=this._inputRequestCapabilityView(U);for(let[Z,q]of Object.entries(G)){let{embedded:V,required:F}=Ke($,Z,q),M=qw(F,X);if(M!==void 0)throw new Fw({requiredCapabilities:M},`Cannot request input '${Z}' (${V.method}): the request's client capabilities do not declare the required capability`)}}return K}async _verifyRequestState($,Y,z){if(this._requestStateVerify===void 0)return;try{return await this._requestStateVerify($,Y)}catch(U){throw this.onerror?.(Error(`requestState verification rejected ${z}: ${U instanceof Error?U.message:String(U)}`)),new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"})}}_inputRequestCapabilityView($){return this._servedModernEra()?$.mcpReq.envelope?.[l9]:this._clientCapabilities}_assertPushApiInServedEra($){if(this._servedModernEra())throw new V1(B1.MethodNotSupportedByProtocolVersion,`Server-to-client requests are not available on protocol revision ${this._negotiatedProtocolVersion}: '${$}' cannot be sent while serving a request on that revision. Return inputRequired({ ... }) from the handler instead — the client fulfils the embedded requests and retries the original request (multi round-trip requests).`,{method:$,era:"2026-07-28"})}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw new V1(B1.CapabilityNotSupported,`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw new V1(B1.CapabilityNotSupported,`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw new V1(B1.CapabilityNotSupported,`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw new V1(B1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new V1(B1.CapabilityNotSupported,`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new V1(B1.CapabilityNotSupported,`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new V1(B1.CapabilityNotSupported,`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw new V1(B1.CapabilityNotSupported,`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){switch($){case"completion/complete":if(!this._capabilities.completions)throw new V1(B1.CapabilityNotSupported,`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new V1(B1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new V1(B1.CapabilityNotSupported,`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new V1(B1.CapabilityNotSupported,`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new V1(B1.CapabilityNotSupported,`Server does not support tools (required for ${$})`);break;case"ping":case"initialize":break}}async _oninitialize($){let Y=$.params.protocolVersion;this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo;let z=$t(this._supportedProtocolVersions),U=z.includes(Y)?Y:z[0]??hY;return this._negotiatedProtocolVersion=U,this.transport?.setProtocolVersion?.(U),{protocolVersion:U,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}_ondiscover(){return{supportedVersions:Ch(this._supportedProtocolVersions),capabilities:jb0(this.getCapabilities()),...this._instructions&&{instructions:this._instructions}}}_outboundServerInfo(){return this._serverInfo}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getNegotiatedProtocolVersion(){return this._negotiatedProtocolVersion}projectCallToolResult($,Y){return this._wireCodec().projectCallToolResult($,Y)}getCapabilities(){return this._capabilities}async ping(){return this._assertPushApiInServedEra("ping"),this.request({method:"ping"})}async createMessage($,Y){if(this._assertPushApiInServedEra("sampling/createMessage"),($.tools||$.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw new V1(B1.CapabilityNotSupported,"Client does not support sampling tools capability.");if($.messages.length>0){let J=$.messages.at(-1),I=Array.isArray(J.content)?J.content:[J.content],K=I.some((X)=>X.type==="tool_result"),G=$.messages.length>1?$.messages.at(-2):void 0,W=G?Array.isArray(G.content)?G.content:[G.content]:[],H=W.some((X)=>X.type==="tool_use");if(K){if(I.some((X)=>X.type!=="tool_result"))throw new J1(n0.InvalidParams,"The last message must contain only tool_result content if any is present");if(!H)throw new J1(n0.InvalidParams,"tool_result blocks are not matching any tool_use from the previous message")}if(H){let X=new Set(W.filter((q)=>q.type==="tool_use").map((q)=>q.id)),Z=new Set(I.filter((q)=>q.type==="tool_result").map((q)=>q.toolUseId));if(X.size!==Z.size||![...X].every((q)=>Z.has(q)))throw new J1(n0.InvalidParams,"ids of tool_result blocks and tool_use blocks from previous message do not match")}}let z=Boolean($.tools||$.toolChoice),U=await this.request({method:"sampling/createMessage",params:$},Y),Q=this._wireCodec().samplingResultVariant(z,U);if(!Q.ok)throw new V1(B1.InvalidResult,`Invalid sampling/createMessage result: ${Q.reason==="invalid"?Q.message:Q.reason}`);return Q.value}async elicitInput($,Y){switch(this._assertPushApiInServedEra("elicitation/create"),$.mode??"form"){case"url":if(!this._clientCapabilities?.elicitation?.url)throw new V1(B1.CapabilityNotSupported,"Client does not support url elicitation.");break;case"form":if(!this._clientCapabilities?.elicitation?.form)throw new V1(B1.CapabilityNotSupported,"Client does not support form elicitation.");break}return this._sendElicitationLeg($,Y)}async _sendElicitationLeg($,Y,z){let U=$.mode??"form",Q=z?.validateAcceptedContent??!0;switch(U){case"url":{let J=$;return this.request({method:"elicitation/create",params:J},Y)}case"form":{let J=$.mode==="form"?$:{...$,mode:"form"},I=await this.request({method:"elicitation/create",params:J},Y);if(Q&&I.action==="accept"&&I.content&&J.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(J.requestedSchema)(I.content);if(!K.valid)throw new J1(n0.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(K){if(K instanceof J1)throw K;throw new J1(n0.InternalError,`Error validating elicitation response: ${K instanceof Error?K.message:String(K)}`)}return I}}}createElicitationCompletionNotifier($,Y){if(!this._clientCapabilities?.elicitation?.url)throw new V1(B1.CapabilityNotSupported,"Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},Y)}async listRoots($,Y){return this._assertPushApiInServedEra("roots/list"),this.request({method:"roots/list",params:$},Y)}async sendLoggingMessage($,Y){if(this._capabilities.logging&&!this.isMessageIgnored($.level,Y))return this.notification({method:"notifications/message",params:$})}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};et={type:"object",properties:{}};ZW={completion:{values:[],hasMore:!1}}});var Xe=o(()=>{KS();Pw();_w()});function _b0($){let Y=$.params;if($.method==="initialize"&&!bh(Y)){let J=Y!==null&&typeof Y==="object"&&typeof Y.protocolVersion==="string"?Y.protocolVersion:void 0;return{kind:"legacy",reason:"initialize",...J!==void 0&&{requestedVersion:J}}}if(!ww(Y))return{kind:"legacy",reason:"no-claim"};let z=fY(Y),U=(z===void 0?[]:Ow(z))[0];if(U!==void 0)return{kind:"invalid-envelope",issue:U};let Q=Mw(Y);if(Q===void 0||!T3.includes(Q))return{kind:"unsupported-revision",requested:Q??"unknown"};return{kind:"modern",revision:Q,classification:{era:"modern",revision:Q}}}function qe($,Y={}){let z=Y.legacy??"serve",U=Y.transport??new Cb0,Q={phase:"opening"},J,I=!1,K=()=>I||Q.phase==="closed",G=(j)=>{try{Y.onerror?.(j)}catch{}},W=(j,C,b,k)=>U.send({jsonrpc:"2.0",id:j,error:{code:C,message:b,...k!==void 0&&{data:k}}}).catch((h)=>G(J5(h))),H=new Ie(Y.maxSubscriptions??vw),X=(j)=>{if(!j3(j))return;let C=H.routeOutbound(j);if(C==="passthrough")return;for(let b of C)U.send({jsonrpc:"2.0",...b}).catch((k)=>G(J5(k)));return"handled"},Z=async(j)=>{if(D$(j)&&j.method==="subscriptions/listen"){let C=fY(j.params),b=ww(j.params)?(C===void 0?[]:Ow(C))[0]:{key:"_meta",problem:"the per-request envelope is required on protocol revision 2026-07-28"},k=Mw(j.params),h;if(b!==void 0)h={jsonrpc:"2.0",id:j.id,error:{code:-32602,message:`Invalid _meta envelope: ${b.key}: ${b.problem}`}};else if(k===void 0||!T3.includes(k)){let i=new vQ({supported:[...T3],requested:k??"unknown"});h={jsonrpc:"2.0",id:j.id,error:{code:i.code,message:i.message,data:i.data}}}else h=H.serve(j);return await U.send("error"in h?h:{jsonrpc:"2.0",method:h.method,params:h.params}).catch((i)=>G(J5(i))),!0}if(j3(j)&&j.method==="notifications/cancelled"){let C=j.params?.requestId;if(C!==void 0&&H.cancel(C))return!0}return!1},q=(j,C,b)=>{let k=ih({kind:"legacy",reason:C,...b!==void 0&&{requestedVersion:b}},T3);if(k===void 0)return Promise.resolve();return G(Error(`Rejected 2025-era request on a modern-only stdio connection (${k.cell}): ${k.message}`)),W(j.id,k.code,k.message,k.data)},V=(j)=>{if(I||j===J)return;A()},F=async(j,C)=>{let b=await $({era:j}),k=b instanceof qW?b.server:b;if(j==="modern")ph(k,C),JS(k,T3),H.setServerCapabilities(k.getCapabilities(),IS(k));let h=new Rb0(U,()=>V(h),j==="modern"?X:void 0);return await b.connect(h),{product:b,channel:h}},M=(j)=>j.product.close().catch((C)=>G(J5(C))),w=async(j)=>{J=j.channel;try{if(!await j.channel.whenRequestsAnswered(Ze))G(Error(`Discarded the probe instance with requests still unanswered after ${Ze}ms; continuing with the fallback`));await j.product.close()}catch(C){G(J5(C))}finally{J=void 0}},O=async(j)=>{if(Q.phase==="closed")return;if(Q.phase==="pinned"){if(Q.era==="modern"&&D$(j)&&j.method==="initialize"&&!bh(j.params)){await q(j,"initialize",j.params!==null&&typeof j.params==="object"&&typeof j.params.protocolVersion==="string"?j.params.protocolVersion:void 0);return}if(Q.era==="modern"&&await Z(j))return;Q.instance.channel.deliver(j);return}if(!D$(j)&&!j3(j)){G(Error("Discarded a JSON-RPC response received before the connection negotiated an era"));return}let C=_b0(j);switch(C.kind){case"invalid-envelope":{let b=`Invalid _meta envelope for protocol revision 2026-07-28: ${C.issue.key}: ${C.issue.problem}`;if(D$(j))await W(j.id,n0.InvalidParams,b,{envelope:C.issue});else G(Error(`Discarded a notification with a malformed envelope: ${b}`));return}case"unsupported-revision":if(D$(j)){let b=new vQ({supported:[...T3],requested:C.requested});G(b),await W(j.id,b.code,b.message,b.data)}else G(Error(`Discarded a notification claiming unsupported protocol revision ${C.requested}`));return;case"modern":if(D$(j)&&j.method==="server/discover"){if(Q.phase==="probe"){Q.instance.channel.deliver(j,{classification:C.classification});return}let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"probe",instance:b},b.channel.deliver(j,{classification:C.classification});return}if(Q.phase==="probe"){if(j3(j)){Q.instance.channel.deliver(j,{classification:C.classification});return}Q={phase:"pinned",era:"modern",instance:Q.instance}}else{let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"pinned",era:"modern",instance:b}}if(await Z(j))return;Q.instance.channel.deliver(j,{classification:C.classification});return;case"legacy":{if(z==="reject"){if(D$(j))await q(j,C.reason,C.requestedVersion);return}if(Q.phase==="probe"){if(await w(Q.instance),K())return;Q={phase:"opening"}}let b=await F("legacy");if(K()){await M(b);return}Q={phase:"pinned",era:"legacy",instance:b},Q.instance.channel.deliver(j);return}}},N=[],D=!1,T=async()=>{if(D)return;D=!0;try{while(N.length>0){let j=N.shift();try{await O(j)}catch(C){if(D$(j))await W(j.id,n0.InternalError,"Internal server error");G(J5(C))}}}finally{D=!1}},A=async()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;Q={phase:"closed"};for(let C of H.teardownAll())await U.send(C).catch((b)=>G(J5(b)));if(j.phase==="probe"||j.phase==="pinned")await j.instance.product.close().catch((C)=>G(J5(C)));await U.close().catch((C)=>G(J5(C)))};U.onmessage=(j)=>{N.push(j),T()},U.onerror=(j)=>{if(G(j),Q.phase==="probe"||Q.phase==="pinned")Q.instance.channel.onerror?.(j)},U.onclose=()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;if(Q={phase:"closed"},j.phase==="probe"||j.phase==="pinned")j.instance.product.close().catch((C)=>G(J5(C)))};let B=U.start().catch((j)=>{throw G(J5(j)),j});return B.catch(()=>{}),{close:async()=>{await B.catch(()=>{}),await A()}}}function J5($){return $ instanceof Error?$:Error(String($))}var Cb0=class{_readBuffer;_started=!1;_closed=!1;constructor($=zS.stdin,Y=zS.stdout,z){this._stdin=$,this._stdout=Y,this._readBuffer=new lh({maxBufferSize:z?.maxBufferSize})}onclose;onerror;onmessage;_ondata=($)=>{try{this._readBuffer.append($),this.processReadBuffer()}catch(Y){this.onerror?.(Y),this.close().catch(()=>{})}};_onerror=($)=>{this.onerror?.($)};_onstdouterror=($)=>{this.onerror?.($),this.close().catch(()=>{})};async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror),this._stdout.on("error",this._onstdouterror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._closed)return;if(this._closed=!0,this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdout.off("error",this._onstdouterror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){if(this._closed)return Promise.reject(Error("StdioServerTransport is closed"));return new Promise((Y,z)=>{let U=oh($),Q=!1,J=(K)=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),z(K)},I=()=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),Y()};if(this._stdout.once("error",J),this._stdout.write(U)){if(Q)return;Q=!0,this._stdout.off("error",J),Y()}else if(!Q)this._stdout.once("drain",I)})}},Ze=3000,Rb0=class{onclose;onerror;onmessage;_closed=!1;_pendingRequests=new Set;_drainWaiters=[];constructor($,Y,z){this._wire=$,this._onInstanceClose=Y,this._outboundIntercept=z}async start(){}async send($,Y){if(KW($)||Nw($)){let{id:z}=$;if(z!==void 0)this._settle(z)}if(this._closed)return;if(this._outboundIntercept?.($)==="handled")return;return this._wire.send($,Y)}setProtocolVersion=($)=>{this._wire.setProtocolVersion?.($)};deliver($,Y){if(this._closed)return;if(D$($))this._pendingRequests.add($.id);else if(j3($)&&$.method==="notifications/cancelled"){let z=$.params?.requestId;if(z!==void 0)this._settle(z)}this.onmessage?.($,Y)}async whenRequestsAnswered($){if(this._closed||this._pendingRequests.size===0)return!0;return await new Promise((Y)=>{let z=()=>{clearTimeout(U),Y(!0)},U=setTimeout(()=>{this._drainWaiters=this._drainWaiters.filter((Q)=>Q!==z),Y(!1)},$);this._drainWaiters.push(z)})}async close(){if(this._closed)return;this._closed=!0,this._pendingRequests.clear(),this._releaseDrainWaiters();try{this._onInstanceClose()}finally{this.onclose?.()}}_settle($){if(this._pendingRequests.delete($),this._pendingRequests.size===0)this._releaseDrainWaiters()}_releaseDrainWaiters(){let $=this._drainWaiters;this._drainWaiters=[];for(let Y of $)Y()}};var Ve=o(()=>{KS();Pw();_w()});var B$=o(()=>{wL();wL()});var s9;var VW=o(()=>{s9=class s9 extends Error{name="KyError";get isKyError(){return!0}}});var D6;var hw=o(()=>{VW();D6=class D6 extends s9{name="HTTPError";response;request;options;data;constructor($,Y,z){let U=$.status||$.status===0?$.status:"",Q=$.statusText??"",J=`${U} ${Q}`.trim(),I=J?`status code ${J}`:"an unknown error";super(`Request failed with ${I}: ${Y.method} ${Y.url}`);this.response=$,this.request=Y,this.options=z}}});var LW;var GS=o(()=>{VW();LW=class LW extends s9{name="NetworkError";request;constructor($,Y){super(`Request failed due to a network error: ${$.method} ${$.url}`,Y);this.request=$}}});var FW;var WS=o(()=>{FW=class FW extends Error{name="NonError";value;constructor($){let Y="Non-error value was thrown";try{if(typeof $==="string")Y=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")Y=$.message}catch{}super(Y);this.value=$}}});var gQ;var Le=o(()=>{VW();WS();gQ=class gQ extends s9{name="ForceRetryError";customDelay;code;customRequest;constructor($){let Y=$?.cause?$.cause instanceof Error?$.cause:new FW($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",Y?{cause:Y}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}});var HS;var Fe=o(()=>{HS=class HS extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}});var I5;var Sw=o(()=>{VW();I5=class I5 extends s9{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}});class xw{options;constructor($){this.options=$}}var XS,we,gw,Me,Oe,yw,vb0=()=>{return},Ne,yQ=2147483647,De=40,kw,Be=($)=>new xw($),Pe,Ae;var uY=o(()=>{XS=(()=>{let $=!1,Y=!1,z=typeof globalThis.ReadableStream==="function",U=typeof globalThis.Request==="function";if(z&&U)try{Y=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(Q){if(Q instanceof Error&&Q.message==="unsupported BodyInit type")return!1;throw Q}return $&&!Y})(),we=typeof globalThis.AbortController==="function",gw=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",Me=typeof globalThis.ReadableStream==="function",Oe=typeof globalThis.FormData==="function",yw=["get","post","put","patch","head","delete"];vb0();Ne={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},kw=Symbol("stop");Pe={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},Ae={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0}});var fw,hb0=($)=>{if(!$)return 0;if($ instanceof FormData){let Y=0;for(let[z,U]of $)Y+=De,Y+=fw.encode(`Content-Disposition: form-data; name="${z}"`).byteLength,Y+=typeof U==="string"?fw.encode(U).byteLength:U.size;return Y}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return fw.encode($).byteLength;if($ instanceof URLSearchParams)return fw.encode($.toString()).byteLength;return 0},Te=($,Y,z)=>{let U,Q=0;return $.pipeThrough(new TransformStream({transform(J,I){if(I.enqueue(J),U){Q+=U.byteLength;let K=Y===0?0:Q/Y;if(K>=1)K=1-Number.EPSILON;z?.({percent:K,totalBytes:Math.max(Y,Q),transferredBytes:Q},U)}U=J},flush(){if(U)Q+=U.byteLength,z?.({percent:1,totalBytes:Math.max(Y,Q),transferredBytes:Q},U)}}))},je=($,Y)=>{if(!$.body)return $;let z={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,z);let U=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(Te($.body,U,Y),z)},Ee=($,Y,z)=>{if(!$.body)return $;let U=hb0(z??$.body);return new Request($,{duplex:"half",body:Te($.body,U,Y)})};var Ce=o(()=>{uY();fw=new TextEncoder});var d5=($)=>$!==null&&typeof $==="object";function wW($,Y,z){return Object.hasOwn(Y,z)&&Y[z]===void 0?[]:LS($[z]??[],Y[z]??[])}var Sb0,ZS=($)=>d5($)&&$[Sb0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$},MW=(...$)=>{for(let Y of $)if((!d5(Y)||Array.isArray(Y))&&Y!==void 0)throw TypeError("The `options` argument must be an object");return LS({},...$)},VS=($={},Y={})=>{let z=new globalThis.Headers($),U=Y instanceof globalThis.Headers,Q=new globalThis.Headers(Y);for(let[J,I]of Q.entries())if(U&&I==="undefined"||I===void 0)z.delete(J);else z.set(J,I);return z},qS=($)=>{if(!d5($)||Array.isArray($))return!1;let Y=Object.getPrototypeOf($);return Y===Object.prototype||Y===null},kQ=($)=>{if($ instanceof URLSearchParams){let Y=new URLSearchParams($),z=$[C3];if(z)Y[C3]=new Set(z);return Y}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(qS($))return{...$};return $},gb0=($)=>Object.fromEntries(Object.entries($).filter((Y)=>Y[1]!==void 0)),yb0=($,Y)=>{if(qS($)&&qS(Y))return gb0({...$,...Y});return VS($,Y)},uw=($={},Y={})=>({init:wW($,Y,"init"),beforeRequest:wW($,Y,"beforeRequest"),beforeRetry:wW($,Y,"beforeRetry"),beforeError:wW($,Y,"beforeError"),afterResponse:wW($,Y,"afterResponse")}),C3,kb0=($,Y)=>{let z=new URLSearchParams,U=new Set;for(let Q of[$,Y]){if(Q===void 0)continue;if(Q instanceof URLSearchParams){for(let[I,K]of Q.entries())z.append(I,K),U.delete(I);let J=Q[C3];if(J)for(let I of J)z.delete(I),U.add(I)}else if(Array.isArray(Q))for(let J of Q){if(!Array.isArray(J)||J.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");z.append(String(J[0]),String(J[1])),U.delete(String(J[0]))}else if(d5(Q))for(let[J,I]of Object.entries(Q))if(I===void 0)z.delete(J),U.add(J);else z.append(J,String(I)),U.delete(J);else{let J=new URLSearchParams(Q);for(let[I,K]of J.entries())z.append(I,K),U.delete(I)}}if(U.size>0)z[C3]=U;return z},LS=(...$)=>{let Y={},z={},U={},Q,J=[];for(let I of $)if(Array.isArray(I)){if(!Array.isArray(Y))Y=[];Y=[...Y,...I]}else if(d5(I)){for(let[K,G]of Object.entries(I)){if(K==="signal"&&G instanceof globalThis.AbortSignal){J.push(G);continue}let W=ZS(G),{isReplace:H}=W;if(G=W.value,K==="context"){if(G!==void 0&&G!==null&&(!d5(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");Y={...Y,context:G===void 0||G===null?{}:H?{...G}:{...Y.context,...G}};continue}if(K==="searchParams"){if(G===void 0||G===null)Q=void 0;else if(H)Q=G;else Q=Q===void 0?G:kb0(Q,G);continue}if(d5(G)&&!H&&K in Y)G=LS(Y[K],G);Y={...Y,[K]:G}}if(d5(I.hooks)){let{value:K,isReplace:G}=ZS(I.hooks);U=G?uw({},K):uw(U,K),Y.hooks=U}if(d5(I.headers)){let{value:K,isReplace:G}=ZS(I.headers);z=G?kQ(K):yb0(z,K),Y.headers=z}}if(Q!==void 0)Y.searchParams=Q;if(J.length>0)if(J.length===1)Y.signal=J[0];else if(gw)Y.signal=AbortSignal.any(J);else Y.signal=J.at(-1);return Y};var bw=o(()=>{uY();Sb0=Symbol("replaceOption");C3=Symbol("deletedParameters")});var _e=($)=>yw.includes($)?$.toUpperCase():$,xb0,fb0,ub0,Re,ve=($={})=>{if(typeof $==="number")return{...Re,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let Y=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((z)=>z.toLowerCase())}).filter(([,z])=>z!==void 0));return{...Re,...Y}};var he=o(()=>{uY();xb0=["get","put","head","delete","options","trace"],fb0=[408,413,429,500,502,503,504],ub0=[413,429,503],Re={limit:2,methods:xb0,statusCodes:fb0,afterStatusCodes:ub0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1}});async function FS($,Y,z,U){return new Promise((Q,J)=>{let I=setTimeout(()=>{if(z)z.abort();J(new I5($))},U.timeout);U.fetch($,Y).then(Q).catch(J).then(()=>{clearTimeout(I)})})}var Se=o(()=>{Sw()});async function iw($,{signal:Y}){return new Promise((z,U)=>{if(Y)Y.throwIfAborted(),Y.addEventListener("abort",Q,{once:!0});function Q(){clearTimeout(J),U(Y.reason)}let J=setTimeout(()=>{Y?.removeEventListener("abort",Q),z()},$)})}var ge=($)=>{let Y={};for(let z in $){if(!Object.hasOwn($,z))continue;if(!(z in Ae)&&!(z in Pe))Y[z]=$[z]}return Y},ye=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[C3]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var ke=o(()=>{uY();bw()});function wS($){if(!($&&ib0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:z,stack:U}=$;if(z==="Load failed")return U===void 0||"__sentry_captured__"in $;if(z.startsWith("error sending request for url"))return!0;if(z==="Failed to fetch"||z.startsWith("Failed to fetch (")&&z.endsWith(")"))return!0;return cb0.has(z)}var bb0,ib0=($)=>bb0.call($)==="[object Error]",cb0;var xe=o(()=>{bb0=Object.prototype.toString,cb0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"])});function fe($){return MS($,D6)}function ue($){return MS($,LW)}function be($){return MS($,I5)}var MS=($,Y)=>$ instanceof Y||$?.name===Y.name;var ie=o(()=>{hw();GS();Sw()});function ob0($){let Y={...$,json:kQ($.json),context:kQ($.context),headers:kQ($.headers),searchParams:lb0($.searchParams)};if($.retry!==void 0)Y.retry=mb0($.retry);return Y}class xQ{static create($,Y){let z=Y.hooks?.init??[],U=z.length>0?ob0(Y):Y;for(let K of z)K(U);let Q=new xQ($,U),J=async()=>{if(typeof Q.#$.timeout==="number"&&Q.#$.timeout>yQ)throw RangeError(`The \`timeout\` option cannot be greater than ${yQ}`);if(typeof Q.#$.totalTimeout==="number"&&Q.#$.totalTimeout>yQ)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${yQ}`);await Promise.resolve();let K=await Q.#g(),G=K??await Q.#h(async()=>Q.#R()),W=K!==void 0||Q.#C();for(;;){if(G===void 0)return G;if(NW(G))try{G=await Q.#y(G)}catch(X){if(!(X instanceof gQ))throw X;let Z=await Q.#E(X,async()=>Q.#R());if(Z===void 0)return Z;G=Z,W=Q.#C();continue}let H=G;if(!H.ok&&H.type!=="opaque"&&(typeof Q.#$.throwHttpErrors==="function"?Q.#$.throwHttpErrors(H.status):Q.#$.throwHttpErrors)){let X=new D6(H,Q.#O(H),Q.#M()),Z=X;if(X.data=await Q.#L(H),W)throw Z;let q=await Q.#E(X,async()=>Q.#R());if(q===void 0)return q;G=q,W=Q.#C();continue}break}if(!NW(G))return G;if(Q.#V(G),Q.#$.onDownloadProgress){if(typeof Q.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!Me)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let H=G.clone();return Q.#K(G),je(H,Q.#$.onDownloadProgress)}return G},I=(async()=>{try{return await J()}catch(K){if(!(K instanceof Error))throw K;if(Q.#X.has(K))throw K;let G=K;for(let W of Q.#$.hooks.beforeError){let H=await W({request:Q.request,options:Q.#M(),error:G,retryCount:Q.#Q});if(H instanceof Error)G=H}throw G}finally{let K=Q.#H;if(Q.#F(K?.body??void 0),Q.request!==K)Q.#F(Q.request.body??void 0)}})();for(let[K,G]of Object.entries(Ne)){if(K==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;I[K]=async(W)=>{Q.request.headers.set("accept",Q.request.headers.get("accept")||G);let H=await I;if(K!=="json")return H[K]();let X=await H.text();if(X===""){if(W!==void 0)return pe(void 0,W);return JSON.parse(X)}let Z=U.parseJson?await U.parseJson(X,{request:Q.#O(H),response:H}):JSON.parse(X);return W===void 0?Z:pe(Z,W)}}return I}static#U($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0));return $}request;#z;#Q=0;#Y;#$;#H;#W;#X=new WeakSet;#J;#I;#Z=!1;#N=new WeakMap;constructor($,Y={}){if(this.#Y=$,Object.hasOwn(Y,"prefixUrl"))throw Error(pb0);if(this.#$={...Y,headers:VS(this.#Y.headers,Y.headers),hooks:uw({},Y.hooks),method:_e(Y.method??this.#Y.method??"GET"),prefix:String(Y.prefix||""),retry:ve(Y.retry),throwHttpErrors:Y.throwHttpErrors??!0,timeout:Y.timeout??1e4,totalTimeout:Y.totalTimeout??!1,fetch:Y.fetch??globalThis.fetch.bind(globalThis),context:Y.context??{}},typeof this.#Y!=="string"&&!(this.#Y instanceof URL||this.#Y instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#Y==="string"){if(this.#$.prefix){let U=this.#$.prefix.replace(/\/+$/,""),Q=this.#Y.replace(/^\/+/,"");this.#Y=`${U}/${Q}`}if(this.#$.baseUrl){let U;try{U=new URL(this.#Y)}catch{}if(!U)this.#Y=new URL(this.#Y,new Request(this.#$.baseUrl).url)}}if(we&&gw)this.#W=this.#$.signal??this.#Y.signal,this.#z=new globalThis.AbortController,this.#$.signal=this.#w();if(XS)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let z=Y.headers&&new globalThis.Headers(Y.headers).has("content-type");if(this.#Y instanceof globalThis.Request&&(Oe&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!z)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#Y,this.#$),ye(this.#$.searchParams)){let U=new URL(this.request.url),Q=this.#$.searchParams?.[C3];if(Q)for(let J of Q)U.searchParams.delete(J);if(typeof this.#$.searchParams==="string"){let J=this.#$.searchParams.replace(/^\?/,"");if(J!=="")U.search=U.search?`${U.search}&${J}`:`?${J}`}else{let J=new URLSearchParams(xQ.#U(this.#$.searchParams));for(let[I,K]of J.entries())U.searchParams.append(I,K)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[J,I]of Object.entries(this.#$.searchParams))if(I===void 0)U.searchParams.delete(J)}this.request=new globalThis.Request(U,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#I=typeof this.#$.totalTimeout==="number"?this.#S():void 0}#G(){let $=this.#$.retry.delay(this.#Q+1),Y=$;if(this.#$.retry.jitter===!0)Y=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(Y=this.#$.retry.jitter($),!Number.isFinite(Y)||Y<0)Y=$}return Math.min(this.#$.retry.backoffLimit,Y)}async#A($){if(this.#Q>=this.#$.retry.limit)throw $;let Y=$ instanceof Error?$:new FW($);if(Y instanceof gQ)return Y.customDelay??this.#G();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let z=await this.#$.retry.shouldRetry({error:Y,retryCount:this.#Q+1});if(z===!1)throw $;if(z===!0)return this.#G()}if(be($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#G()}if(fe($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let z=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(z&&this.#$.retry.afterStatusCodes.includes($.response.status)){let U=Number(z)*1000;if(Number.isNaN(U))U=Date.parse(z)-Date.now();else if(U>=Date.parse("2024-01-01"))U-=Date.now();if(!Number.isFinite(U))return Math.min(this.#$.retry.maxRetryAfter,this.#G());return U=Math.max(0,U),Math.min(this.#$.retry.maxRetryAfter,U)}if($.response.status===413)throw $;return this.#G()}if(!ue($))throw $;return this.#G()}#V($){let Y=this.#O($);if(this.#$.parseJson)$.json=async()=>{let z=await $.text();if(z==="")return JSON.parse(z);return this.#$.parseJson(z,{request:Y,response:$})};return $}async#L($){let Y=await this.#T($,this.#D());if(Y===OW){this.#q();return}if(!Y)return;if(!this.#B($.headers.get("content-type")??""))return Y;let z=await this.#j(Y,$,this.#D(),this.#O($));if(z===OW){this.#q();return}return z}#D(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,Y=this.#P();if(Y===void 0)return $;if(Y<=0)throw new I5(this.request);return Math.min($,Y)}#B($){let Y=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(Y)}async#T($,Y){let{body:z}=$;if(!z)try{return await $.text()}catch{return}let U;try{U=z.getReader()}catch{return}let Q=db0($.headers.get("content-type")??""),J=[],I=0,K=(async()=>{try{for(;;){let{done:H,value:X}=await U.read();if(H)break;if(I+=X.byteLength,I>nb0){U.cancel().catch(()=>{return});return}J.push(Q.decode(X,{stream:!0}))}}catch{return}return J.push(Q.decode()),J.join("")})(),G=new Promise((H)=>{let X=setTimeout(()=>{H(OW)},Y);K.finally(()=>{clearTimeout(X)})}),W=await Promise.race([K,G]);if(W===OW)U.cancel().catch(()=>{return});return W}async#j($,Y,z,U){let Q;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:U,response:Y}):JSON.parse($)),new Promise((J)=>{Q=setTimeout(()=>{J(OW)},z)})])}catch{return}finally{clearTimeout(Q)}}#F($){if(!$)return;$.cancel().catch(()=>{return})}#K($){this.#F($.body??void 0)}#w(){return this.#W?AbortSignal.any([this.#W,this.#z.signal]):this.#z.signal}#q(){let $=this.#P();if($!==void 0&&$<=0)throw new I5(this.request)}async#g(){for(let $ of this.#$.hooks.beforeRequest){let Y=await $({request:this.request,options:this.#M(),retryCount:0});if(ne(Y))this.#_(Y);else if(NW(Y))return Y}return}async#y($){let Y=this.#O($);for(let z of this.#$.hooks.afterResponse){let U=this.#v($.clone(),Y);this.#V(U);let Q;try{Q=await z({request:this.request,options:this.#M(),response:U,retryCount:this.#Q})}catch(I){if(U!==$)this.#K(U);throw this.#K($),I}if(Q instanceof xw){if(U!==$)this.#K(U);throw this.#K($),new gQ(Q.options)}let J=NW(Q)?this.#v(Q,Y):$;if(U!==$&&U!==J&&U.body!==J.body)this.#K(U);if($!==J&&$.body!==J.body)this.#K($);$=J}return $}async#h($){try{return await $()}catch(Y){return this.#E(Y,$)}}async#E($,Y){this.#Z=!1;let z=Math.min(await this.#A($),yQ),U={signal:this.#W},Q=this.#P();if(Q!==void 0){if(Q<=0)throw new I5(this.request);if(z>=Q)throw await iw(Q,U),new I5(this.request)}if(await iw(z,U),this.#q(),$ instanceof gQ&&$.customRequest){let J=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#_(J)}for(let J of this.#$.hooks.beforeRetry){let I;try{I=await J({request:this.request,options:this.#M(),error:$,retryCount:this.#Q+1})}catch(K){if(K instanceof Error&&K!==$)this.#X.add(K);throw K}if(ne(I)){this.#_(I);break}if(NW(I))return this.#Z=!0,this.#Q++,I;if(I===kw)return}return this.#q(),this.#Q++,this.#h(Y)}#C(){let $=this.#Z;return this.#Z=!1,$}async#R(){if(this.#z?.signal.aborted)this.#z=new globalThis.AbortController,this.#$.signal=this.#w(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=ge(this.#$),Y=this.#$.retry.limit>0?this.request.clone():void 0,z=this.#k(this.request,this.#$.body??void 0);if(this.#H=z,Y)this.request=Y;try{let U=this.#P();if(U!==void 0&&U<=0)throw new I5(this.request);let Q=this.#$.timeout===!1?U:U===void 0?this.#$.timeout:Math.min(this.#$.timeout,U),J=Q===void 0?await this.#$.fetch(z,$):await FS(z,$,this.#z,{timeout:Q,fetch:this.#$.fetch});return this.#v(J,z)}catch(U){if(wS(U))throw new LW(this.request,{cause:U});throw U}}#P(){if(this.#I===void 0)return;let $=this.#S()-this.#I;return Math.max(0,this.#$.totalTimeout-$)}#S(){return globalThis.performance?.now()??Date.now()}#M(){if(!this.#J){let{hooks:$,json:Y,parseJson:z,stringifyJson:U,searchParams:Q,timeout:J,totalTimeout:I,throwHttpErrors:K,fetch:G,...W}=this.#$;this.#J=Object.freeze(W)}return this.#J}#_($){this.#J=void 0,this.request=$}#O($){return this.#N.get($)??this.request}#v($,Y){return this.#N.set($,Y),$}#k($,Y){if(!this.#$.onUploadProgress||!$.body||!XS)return $;return Ee($,this.#$.onUploadProgress,Y??this.#$.body??void 0)}}var nb0=10485760,pb0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",OW,db0=($)=>{let Y=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),z=Y?.[1]??Y?.[2];if(z)try{return new TextDecoder(z)}catch{}return new TextDecoder},ce="The `schema` argument must follow the Standard Schema specification",mb0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},de,ne=($)=>$ instanceof globalThis.Request||de.call($)==="[object Request]",NW=($)=>$ instanceof globalThis.Response||de.call($)==="[object Response]",lb0=($)=>{if(Array.isArray($))return $.map((Y)=>[...Y]);return kQ($)},pe=async($,Y)=>{if(typeof Y!=="object"&&typeof Y!=="function"||Y===null)throw TypeError(ce);let z=Y["~standard"];if(typeof z!=="object"||z===null||typeof z.validate!=="function")throw TypeError(ce);let U=await z.validate($);if(U.issues)throw new HS(U.issues);return U.value};var me=o(()=>{hw();GS();WS();Le();Fe();Sw();Ce();bw();he();Se();ke();xe();ie();uY();OW=Symbol("timedOutResponseData"),de=Object.prototype.toString});var OS=($)=>{let Y=(z,U)=>xQ.create(z,MW($,U));for(let z of yw)Y[z]=(U,Q)=>xQ.create(U,MW($,Q,{method:z}));return Y.create=(z)=>OS(MW(z)),Y.extend=(z)=>{if(typeof z==="function")z=z($??{});return OS(MW($,z))},Y.stop=kw,Y.retry=Be,Y},rb0,K5;var fQ=o(()=>{me();uY();bw();hw();/*! MIT License © Sindre Sorhus */rb0=OS(),K5=rb0});async function le($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.seal.url??$.source.sealUrl,z=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:z?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:Y,tenantId:z?.tenantId,tenantSlug:$.seal.tenantSlug??z?.tenantSlug,tenantName:z?.tenantName,raw:{sourceType:$.source.type}}}}function sb0($){let Y=Object.entries($??{}).map(([z,U])=>`${z}=${U}`);return Y.length?Y.join("; "):void 0}function B6($){let Y={...$?.headers??{}},z=sb0($?.cookies);if(z)Y.Cookie=z;return Y}var oe,ab0,tb0,eb0,$i0,re;var se=o(()=>{B$();oe=L.object({token:L.string(),expiresAt:L.number(),url:L.string().url().optional()}),ab0=L.object({provider:L.string(),corpId:L.string().optional(),staffId:L.string(),sealUrl:L.string().url(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),raw:L.unknown().optional()}),tb0=L.object({token:L.string(),expiresAt:L.number(),enterprise:ab0}),eb0=L.object({openapi:oe.optional(),closeapi:oe.optional()}),$i0=L.object({seal:tb0.optional(),hose:eb0.optional()}),re=L.record(L.string(),$i0)});import{existsSync as NS,mkdirSync as Yi0,readFileSync as zi0,writeFileSync as Ui0}from"node:fs";import{dirname as Qi0,join as te}from"node:path";import{homedir as ee}from"node:os";function Ji0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(NS(cw))return cw;if(NS(ae))return ae;return cw}function Ii0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return cw}function uQ(){let $=Ji0();if(!NS($))return{};try{return re.parse(JSON.parse(zi0($,"utf-8")))}catch{return{}}}function nw($){let Y=Ii0();Yi0(Qi0(Y),{recursive:!0,mode:448}),Ui0(Y,JSON.stringify($,null,2),{mode:384})}function $00($){return uQ()[$]?.seal}function Y00($,Y){let z=uQ();nw({...z,[$]:{...z[$],seal:Y}})}function z00($){let Y=uQ(),z=Y[$];if(!z)return;nw({...Y,[$]:{...z,seal:void 0}})}function bQ($){return uQ()[$]?.hose??{}}function DS($,Y){let z=uQ();nw({...z,[$]:{...z[$],hose:Y}})}function pw($){let Y=uQ();delete Y[$],nw(Y)}var cw,ae;var DW=o(()=>{se();cw=te(ee(),".config","seal-use","seal_tokens.json"),ae=te(ee(),".config","seal-home","seal_tokens.json")});function P$($){return $.replace(/\/+$/,"")}function J00($){let Y;try{Y=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(Y.protocol!=="https:"||Y.port||!Hi0(Y.hostname)||Y.pathname.replace(/\/+$/,"")!==Wi0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let z=Y.searchParams.getAll("accessToken").filter(Boolean),U=Y.searchParams.getAll("ekbCorpId").filter(Boolean);if(z.length!==1||U.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let Q=U[0].trim().toLowerCase();if(!Q00.test(Q))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:Q,accessToken:z[0],baseUrl:Y.origin}}async function dw($,Y){let z=typeof $==="string"?J00($):I00($),U=`https://${z.corpId}.sealai.cc`,J=await T8(U,void 0,Y?.customHeaders).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:z.accessToken,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600;return{corpId:z.corpId,sealUrl:U,token:I,expiresIn:Number.isFinite(K)&&K>0?K:3600}}function mw($,Y){let z=Y.hoseCorpConfig&&typeof Y.hoseCorpConfig==="object"?Y.hoseCorpConfig:void 0,U=[Y.tenantSlug,z?.corporationId].filter((I)=>typeof I==="string"&&Boolean(I)),Q=$.trim().toLowerCase(),J=U.map((I)=>I.trim().toLowerCase()).filter(Boolean);if(J.length===0||J.some((I)=>I!==Q))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function Hi0($){let Y=$.toLowerCase();return Gi0.some((z)=>Y.endsWith(z))}function I00($){let Y=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",z=typeof $?.accessToken==="string"?$.accessToken.trim():"",U=typeof $?.baseUrl==="string"&&$.baseUrl.trim()?$.baseUrl.trim():void 0;if(!Q00.test(Y)||!z)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:Y,accessToken:z,...U?{baseUrl:U}:{}}}function AS($,Y=60){return Boolean($&&Date.now()<$.expiresAt-Y*1000)}function R3($,Y){if($.seal.url)return $.seal.url;if(Y.sealUrl)return Y.sealUrl;return`https://${Y.corpId.toLowerCase()}.sealai.cc`}function Xi0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function K00($){return K5.create({prefix:P$($.domain),timeout:30000,hooks:{beforeError:[async({error:Y})=>{let z=Y instanceof D6?await Y.response.text().catch(()=>""):"";return Y.message=`${Y.message}${z?`: ${z}`:""}`,Y}]}})}async function Zi0($){let Y=K00($),z=$.appKey??$.key,U=$.appSecurity??$.password;if(!z||!U)throw Error("Hose source requires appKey/key and appSecurity/password");let Q=await Y.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:z,appSecurity:U}}).json(),J=Q.value?.accessToken??Q.accessToken??Q.token;if(!J)throw Error("Hose login did not return an access token");return{token:J,expiresAt:Date.now()+3600000}}async function iQ($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=bQ($.id);if(AS(Y.openapi))return Y.openapi.token;let z=BS.get($.id);if(z)return z;let U=Zi0($.source).then((Q)=>{return DS($.id,{...bQ($.id),openapi:Q}),Q.token}).finally(()=>BS.delete($.id));return BS.set($.id,U),U}async function lw($,Y,z=7200){let U=K00($),Q=Xi0($),I=(await U.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:Y},json:{uid:Q,pageType:"home",expireDate:z}}).json()).value?.message;if(!I)throw Error("Hose CloseAPI did not return a provisional auth URL");let K=new URL(I).searchParams.get("accessToken");if(!K)throw Error("Hose provisional auth URL did not include accessToken");return{token:K,url:I,expiresAt:Date.now()+z*1000}}async function TS($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.source,z=bQ($.id);if(AS(z.closeapi)&&z.closeapi.url)return z.closeapi;let U=PS.get($.id);if(U)return U;let Q=iQ($).then((J)=>lw(Y,J)).then((J)=>{return DS($.id,{...bQ($.id),closeapi:J}),J}).finally(()=>PS.delete($.id));return PS.set($.id,Q),Q}async function G00($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=(await TS($)).url;if(!Y)throw Error("Hose provisional auth URL was not available");return Y}async function ow($,Y=7200){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let z=bQ($.id);if(AS(z.closeapi)&&z.closeapi.url&&z.closeapi.token){let J=Math.max(60,Math.floor((z.closeapi.expiresAt-Date.now())/1000));return{corpId:$.source.corpId,staffId:$.source.staffId,url:z.closeapi.url,token:z.closeapi.token,expiresIn:Math.min(Y,J)}}let U=await iQ($),Q=await lw($.source,U,Y);if(!Q.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Q.url,token:Q.token,expiresIn:Y}}async function W00($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=await TS($),z=R3($,$.source),U=B6($.seal),J=await T8(z,void 0,U).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:Y.token,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600,G={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:P$(z),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:P$($.source.domain)}};return{token:I,expiresAt:Date.now()+K*1000,enterprise:G}}async function cQ($,Y,z){if(z){let I=P$(z),K=await U00(I,$,Y);if(!K)throw Error(`Failed to authenticate on specified domain: ${I}. Please verify appKey/appSecurity and domain connectivity.`);return K}let U=Ki0.map(async(I)=>{try{return await U00(I,$,Y)}catch{return}}),J=(await Promise.all(U)).filter((I)=>Boolean(I));if(J.length>0&&J[0])return J[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function U00($,Y,z){try{let U=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:Y,appSecurity:z}),signal:AbortSignal.timeout(8000)});if(!U.ok)return;let Q=await U.json();if(Q.value?.errorCode)return;let J=Q.value?.accessToken??Q.accessToken,I=Q.value?.corporationId??Q.value?.corporation?.id;if(!J||!I)return;return{domain:$,corpId:I,corpName:Q.value?.corporation?.name,openapiToken:J,expireTime:Q.value?.expireTime}}catch{return}}async function rw($,Y){let z=`${P$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(Y)}`,U=await fetch(z,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!U.ok){let I=await U.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${U.status} ${I}`)}return((await U.json()).items??[]).map((I)=>({id:I.id,name:I.name,enName:I.enName,roleDefs:(I.roleDefs??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,sourceType:K.sourceType,sourceTypeValue:K.sourceTypeValue,groupId:I.id,groupName:I.name}))}))}async function jS($,Y,z,U="id"){let Q=z.startsWith("$")?z.slice(1):z,J=`${P$($)}/api/openapi/v1/roledefs/$${Q}?accessToken=${encodeURIComponent(Y)}&staffBy=${encodeURIComponent(U)}&pathType=name`,I=await fetch(J,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!I.ok){let H=await I.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${Q}: ${I.status} ${H}`)}let G=(await I.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${Q}`);let W=[];for(let H of G.contents??[])for(let X of H.staffs??[])if(X&&!W.includes(X))W.push(X);return{id:G.id??Q,name:G.name??"",count:G.count??W.length,staffs:W}}async function ES($,Y,z){if(z.length===0)return[];let U=`${P$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(Y)}`,Q=await fetch(U,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:z.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!Q.ok){let I=await Q.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${Q.status} ${I}`)}return(await Q.json()).items??[]}function CS($){if(!$)return"-";if($.length<=12)return"******";return`${$.slice(0,8)}...${$.slice(-4)}`}async function qi0($){let Y=typeof $==="string"?J00($):I00($),z=Y.baseUrl||"https://app.ekuaibao.com",U,Q,J,I,K,G={accesstoken:Y.accessToken,corpid:Y.corpId};try{let W=await K5.get(`${z}/api/engine/realm/$UNITY/actions/jwt`,{searchParams:{corpId:Y.corpId},headers:G,timeout:1e4}).json(),H=W.id||W.value;if(H){let X=H.split(".");if(X.length>=2){let Z=X[1].replace(/-/g,"+").replace(/_/g,"/"),q=JSON.parse(Buffer.from(Z,"base64").toString("utf-8"));if(typeof q.staffId==="string")U=q.staffId;if(typeof q.corporationName==="string")Q=q.corporationName;if(typeof q.staffName==="string")J=q.staffName;if(typeof q.cellphone==="string")K=q.cellphone;if(q.isAdmin!==void 0)I=q.isAdmin===!0||q.isAdmin==="true"}}}catch{}if(!U||!Q)try{let H=(await K5.get(`${z}/api/account/v2/session`,{headers:{...G,...U?{staffid:U}:{}},timeout:1e4}).json())?.value;if(H){if(!U&&H.loginStaffId)U=H.loginStaffId;if(!Q&&H.corporationName)Q=H.corporationName;if(!J&&H.privilege)J=H.privilege}}catch{}if(!U)U=`${Y.corpId}:admin`;return{corpId:Y.corpId,baseUrl:z,accessToken:Y.accessToken,staffId:U,corpName:Q,staffName:J,isAdmin:I,cellphone:K}}async function RS($){let Y=await qi0($),z={accesstoken:Y.accessToken,corpid:Y.corpId,staffid:Y.staffId},U;try{U=await(await K5.get(`${Y.baseUrl}/api/innerapi/v1/key`,{searchParams:{corpId:Y.corpId},headers:z,timeout:15000})).json()}catch(I){let K=I instanceof Error?I.message:String(I);throw Error(`Failed to query Hose OpenAPI keys from assistance link: ${K}`)}let Q=U.items??[],J=[];for(let I of Q)if(typeof I==="object"&&I!==null){let K=I;if(typeof K.appKey==="string"&&typeof K.appSecurity==="string")J.push({id:String(K.id??K.appKey),name:typeof K.name==="string"?K.name:void 0,appKey:K.appKey,appSecurity:K.appSecurity,active:typeof K.active==="boolean"?K.active:!0,corporationId:typeof K.corporationId==="string"?K.corporationId:Y.corpId,createTime:typeof K.createTime==="number"?K.createTime:void 0,updateTime:typeof K.updateTime==="number"?K.updateTime:void 0})}return{corpId:Y.corpId,corpName:Y.corpName,baseUrl:Y.baseUrl,staffId:Y.staffId,keys:J}}var Ki0,Gi0,Wi0="/web/thirdparty.html",Q00,BS,PS;var a9=o(()=>{fQ();i8();DW();Ki0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],Gi0=[".ekuaibao.com",".hosecloud.com"],Q00=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,BS=new Map,PS=new Map});function H00($,Y){return Date.now()>=$.expiresAt-Y*1000}async function Vi0($){switch($.source.type){case"hose":return W00($);case"direct":case"seal":return le($)}}async function aw($){let Y=$.auth.refreshTtl,z=sw.get($.id);if(z&&!H00(z,Y))return z;let U=$00($.id);if(U&&!H00(U,Y))return sw.set($.id,U),U;let Q=await Vi0($);return sw.set($.id,Q),Y00($.id,Q),Q}async function X00($){return(await aw($)).enterprise}function Z00($){sw.delete($),z00($)}var sw;var _S=o(()=>{a9();DW();sw=new Map});var V00={};x8(V00,{createSealClientForUrl:()=>T8,createSealClientForToken:()=>vS,createSealClient:()=>j1});function Li0($){if($===void 0||$===null||$==="")return"";if(typeof $==="string")return $;try{return JSON.stringify($)}catch{return String($)}}function Fi0($){if(!($ instanceof D6))return $;let Y=Li0($.data);if(Y)$.message=`${$.message}: ${Y}`;return $}function q00($){return async({error:Y})=>{if($&&Y instanceof D6&&Y.response.status===401)Z00($);return Fi0(Y)}}async function j1($){let Y=await aw($);return K5.create({prefix:Y.enterprise.sealUrl,timeout:30000,headers:{...B6($.seal),Authorization:`Bearer ${Y.token}`},hooks:{beforeError:[q00($.id)]}})}async function vS($,Y){let z=await aw($);return T8(z.enterprise.sealUrl,Y,B6($.seal))}function T8($,Y,z={}){let U={...z};if(Y)U.Authorization=`Bearer ${Y}`;return K5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:U,hooks:{beforeError:[q00()]}})}var i8=o(()=>{fQ();_S()});var BW;var L00=o(()=>{BW={name:"seal-use",version:"0.10.24",private:!0,description:"Seal tenant operations toolkit: approval-run diagnosis, rule remediation, Hose/合思 auth, plus a CLI and an optional MCP server.",license:"MIT",author:{name:"yingqing"},repository:{type:"git",url:"git+https://github.com/yunyingk/seal-use.git"},type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},packageManager:"bun@1.3.14",engines:{bun:">=1.3.14"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","dev:override":"bun run scripts/dev-override.ts","dev:link":"bun run scripts/dev-override.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test"},dependencies:{"@modelcontextprotocol/server":"^2.0.0",archiver:"^8.0.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@modelcontextprotocol/client":"^2.0.0","@types/archiver":"^8.0.0","@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}}});import{spawnSync as F00}from"node:child_process";function Mi0($,Y=BW.version){let z=$.trim();if(!z)return null;let U=z.endsWith("-dirty"),Q=U?z.slice(0,-6):z,J=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)-(\d+)-g([0-9a-f]+)$/);if(J&&J[1]&&J[2]&&J[3])return{baseVersion:J[1],commitsAhead:Number.parseInt(J[2],10),commit:J[3],dirty:U,describe:z};let I=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)$/);if(I&&I[1])return{baseVersion:I[1],commitsAhead:0,commit:"",dirty:U,describe:z};let K=Q.match(/^([0-9a-f]{7,40})$/);if(K&&K[1])return{baseVersion:Y,commitsAhead:0,commit:K[1],dirty:U,describe:z};return null}function Oi0($,Y,z,U){let J=z?`+g${z}${U?".dirty":""}`:U?"+dirty":"";return`${$}-dev.${Y}${J}`}function Ni0($){let Y=$?.env,z=Y?.SEAL_BUILD_VERSION??process.env.SEAL_BUILD_VERSION,U=Y?.SEAL_BUILD_IS_RELEASE??process.env.SEAL_BUILD_IS_RELEASE,Q=Y?.SEAL_BUILD_CHANNEL??process.env.SEAL_BUILD_CHANNEL,J=Y?.SEAL_BUILD_GIT_BASE??process.env.SEAL_BUILD_GIT_BASE,I=Y?.SEAL_BUILD_GIT_COMMITS_AHEAD??process.env.SEAL_BUILD_GIT_COMMITS_AHEAD,K=Y?.SEAL_BUILD_GIT_COMMIT??process.env.SEAL_BUILD_GIT_COMMIT,G=Y?.SEAL_BUILD_GIT_DIRTY??process.env.SEAL_BUILD_GIT_DIRTY,W=Y?.SEAL_BUILD_GIT_DESCRIBE??process.env.SEAL_BUILD_GIT_DESCRIBE,H=Y?.SEAL_FORCE_RELEASE??process.env.SEAL_FORCE_RELEASE,X=$?.cwd;if(z){let Z=U==="true",V={name:"seal-use",version:z,channel:Q||(Z?"release":"dev"),isRelease:Z};if(J)V.git={baseVersion:J,commitsAhead:Number.parseInt(I||"0",10),commit:K||"",dirty:G==="true",describe:W||z};return V}if(U==="true"||H==="1")return{name:"seal-use",version:BW.version,channel:"release",isRelease:!0};try{let Z=F00("git",["describe","--tags","--long","--dirty","--always"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(Z.status===0&&Z.stdout){let q=Mi0(Z.stdout.trim(),BW.version);if(q){if(!q.commit){let F=F00("git",["rev-parse","--short","HEAD"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(F.status===0&&F.stdout)q.commit=F.stdout.trim()}return{name:"seal-use",version:Oi0(q.baseVersion,q.commitsAhead,q.commit,q.dirty),channel:"dev",isRelease:!1,git:q}}}}catch{}return{name:"seal-use",version:`${BW.version}-dev.0+local`,channel:"dev",isRelease:!1}}var PW,P1,hS,Qi1;var t9=o(()=>{L00();PW=Ni0(),P1=PW.version,hS=PW.isRelease,Qi1=PW.channel});function nQ($=void 0){return gS.parse($??{})}function O00($,Y){return nQ({...nQ($),...Y})}var w00,SS,M00,gS,yS;var pQ=o(()=>{B$();w00=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],SS={minFileSizeBytes:500,allowedExtensions:[...w00]},M00=L.string().trim().min(1).transform(($)=>{let Y=$.toLowerCase();return Y.startsWith(".")?Y:`.${Y}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),gS=L.object({minFileSizeBytes:L.number().int().min(0).default(SS.minFileSizeBytes),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(M00).min(1).default([...w00]).transform(($)=>[...new Set($)])}).superRefine(($,Y)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)Y.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),yS=L.object({minFileSizeBytes:L.number().int().min(0).optional(),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(M00).min(1).transform(($)=>[...new Set($)])}).optional()});var Di0,Bi0,Pi0,Ai0,D00,Ti0,ji0,B00,tw,P00,Ei0,ew,A00,TW,T00,Ci0,Ri0,_i0,N00,jW,j00,vi0,hi0,$M,kS,E00,C00,R00,_00,YM,v00,xS,fS,h00,S00,Si0,g00,gi0,y00,AW,k00,x00,f00,u00,b00,i00,c00,n00,p00,d00,m00,yi0,l00,ki0,xi0,fi0,uS,bS,ui0,o00,r00,s00,a00,bi0,iS,Hi1,Xi1,t00,Zi1;var cS=o(()=>{B$();pQ();Di0=L.object({staffId:L.string(),name:L.string().optional(),code:L.string().default(""),bindTime:L.number().optional()}),Bi0=L.object({id:L.string(),tenantId:L.string(),name:L.string(),isAdmin:L.boolean().default(!1),permissions:L.array(L.string()).default([]),providerUserId:L.string().optional(),hosecloudStaff:Di0.optional()}),Pi0=L.object({apiKey:L.string().optional(),corporationId:L.string().optional(),corporationName:L.string().optional()}),Ai0=L.object({id:L.string(),name:L.string(),tenantSlug:L.string().optional(),isDemo:L.boolean().default(!1),logoUrl:L.string().nullable().optional(),hoseCorpConfig:Pi0.optional()}),D00=L.object({user:Bi0,tenant:Ai0}),Ti0=L.object({id:L.string(),name:L.string(),email:L.string().nullable().optional(),emailVerified:L.boolean().optional(),image:L.string().nullable().optional(),tenantId:L.string().optional(),provider:L.string().optional(),providerUserId:L.string().optional(),mobile:L.string().nullable().optional(),status:L.string().optional(),permissions:L.array(L.string()).default([]),isAdmin:L.boolean().default(!1),hosecloudStaff:L.unknown().optional()}).passthrough(),ji0=L.object({id:L.string(),token:L.string().optional(),expiresAt:L.string(),createdAt:L.string().optional(),updatedAt:L.string().optional(),ipAddress:L.string().optional(),userAgent:L.string().optional(),userId:L.string(),delegationId:L.string().nullable().optional()}).passthrough(),B00=L.object({user:Ti0,session:ji0}),tw=L.object({id:L.string(),tenantId:L.string().optional(),code:L.number().optional(),description:L.string(),scope:L.string(),strictness:L.string(),status:L.string().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional()}),P00=L.object({rules:L.array(tw),hasPendingDeletes:L.boolean().default(!1)}),Ei0=L.object({code:L.string().optional(),description:L.string(),scope:L.string(),strictness:L.string()}),ew=L.object({id:L.string(),tenantId:L.string().optional(),versionNumber:L.number(),versionName:L.string().nullable().optional(),publishedBy:L.string().nullable().optional(),publishedByName:L.string().nullable().optional(),rules:L.array(Ei0).default([]),publishedAt:L.number().optional(),createdAt:L.number().optional()}),A00=L.object({version:ew,rulesCount:L.number()}),TW=L.object({id:L.string(),tenantId:L.string().optional(),title:L.string(),purpose:L.string().default(""),contentType:L.string().default("policy"),content:L.string(),status:L.string().default("published"),enabled:L.boolean().default(!0),scenarios:L.array(L.string()).default([]),tags:L.array(L.string()).default([]),category:L.string().nullable().optional(),categoryTags:L.array(L.string()).default([]),createdBy:L.string().nullable().optional(),createdByName:L.string().nullable().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional(),updatedBy:L.string().nullable().optional(),updatedByName:L.string().nullable().optional(),isDeleted:L.boolean().default(!1)}),T00=L.object({articles:L.array(TW),total:L.number().optional()}),Ci0=L.object({explicitApprove:L.string().default(""),explicitReject:L.string().default(""),exemptApprove:L.string().default(""),review:L.string().default("")}).passthrough(),Ri0=L.object({type:L.string(),signKey:L.string().optional(),outboundName:L.string().optional(),mode:L.string().optional(),autoApprovalRate:L.number().optional(),apiKey:L.string().optional(),apiSecret:L.string().optional(),apiOrigin:L.string().optional(),corporationId:L.string().optional(),ebotSignKey:L.string().optional(),completionSignKey:L.string().optional(),outboundMessageId:L.string().optional(),completionMessageId:L.string().optional()}).passthrough(),_i0=L.enum(["assisted","semi_automatic","fully_automatic"]),N00=L.object({id:L.string(),url:L.string().url()}).passthrough(),jW=L.object({type:L.literal("webhook"),id:L.string(),name:L.string(),mode:_i0,incomingDocumentWebhook:N00,outgoingResultWebhook:L.string().url(),incomingManualResultWebhook:N00,secret:L.string().min(1),autoApprovalRate:L.number().int().min(0).max(100).optional(),materialPackFilePolicy:gS.default(SS)}).passthrough(),j00=L.object({id:L.string().optional(),tenantId:L.string().optional(),tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).default([]),prohibitedPhrases:L.array(L.string()).default([]),customInstructions:L.string().optional(),updatedAt:L.number().optional(),decisionPreferences:Ci0.optional(),integrationSystem:L.string().optional(),integrations:L.array(Ri0).default([])}).passthrough(),vi0=L.object({id:L.string().optional(),sn:L.string().optional(),title:L.string().optional(),name:L.string().optional(),fields:L.array(L.unknown()).optional()}).passthrough(),hi0=L.object({_langfuseTraceId:L.string().optional(),simulation_batch_id:L.string().optional()}).passthrough(),$M=L.object({id:L.string(),tenantId:L.string().optional(),agentId:L.string().optional(),status:L.string().optional(),taskMode:L.string().optional(),finalExecutionMode:L.string().optional(),sourceSystem:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),documentId:L.string().optional(),document:vi0.optional(),result:L.unknown().optional(),pipelineData:L.unknown().optional(),sourceExtendData:hi0.optional(),ruleSetVersionNumber:L.number().optional(),ruleSetPublishedAt:L.number().optional(),ruleSetPublishedByName:L.string().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),kS=L.object({records:L.array($M).default([]),total:L.number().optional(),page:L.number().optional(),pageSize:L.number().optional()}).passthrough(),E00=L.object({id:L.string(),expiresAt:L.number().nullable().optional(),revokedAt:L.number().nullable().optional(),createdAt:L.number().nullable().optional(),lastUsedAt:L.number().nullable().optional(),useCount:L.number().default(0),note:L.string().nullable().optional(),link:L.string()}).passthrough(),C00=L.object({id:L.string(),token:L.string(),link:L.string()}).passthrough(),R00=L.object({userId:L.string(),password:L.string()}).passthrough(),_00=L.object({password:L.string()}).passthrough(),YM=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string(),mobile:L.string().optional(),email:L.string().optional(),departmentIds:L.array(L.string()).default([]),status:L.string().optional(),permissions:L.array(L.string()).default([]),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),v00=L.object({departments:L.array(L.record(L.string(),L.unknown())).default([]),users:L.array(YM).default([])}).passthrough(),xS=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),parentId:L.string().nullable().optional(),ancestors:L.array(L.string()).default([]),provider:L.string().optional(),permissions:L.array(L.string()).default([]),isDeleted:L.boolean().optional(),syncedAt:L.string().optional(),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),fS=L.object({items:L.array(xS).default([])}).passthrough(),h00=L.object({items:L.array(YM).default([])}).passthrough(),S00=L.object({lastSyncTime:L.union([L.string(),L.number(),L.null()])}).passthrough(),Si0=L.object({tagId:L.string().optional(),tagName:L.string().optional(),tagPath:L.string().optional(),count:L.number().default(0),avgConfidence:L.number().default(0),errorCount:L.number().default(0),warningCount:L.number().default(0)}).passthrough(),g00=L.object({tagStats:L.array(Si0).default([]),totalRisks:L.number().default(0),analyzedRisks:L.number().default(0),pendingRisks:L.number().default(0)}).passthrough(),gi0=L.object({riskId:L.string().optional(),recordId:L.string().optional(),riskDetails:L.string().default(""),riskLevel:L.string().default("warning"),documentType:L.string().default(""),documentSN:L.string().default(""),sourceSystem:L.string().default(""),sourceDocumentURL:L.string().nullable().optional(),confidence:L.number().default(0),reasoning:L.string().default(""),createdAt:L.union([L.string(),L.number(),L.date()]).optional()}).passthrough(),y00=L.object({tagId:L.string(),tagName:L.string().default(""),tagPath:L.string().default(""),tagDescription:L.string().default(""),risks:L.array(gi0).default([]),total:L.number().default(0)}).passthrough(),AW=L.object({value:L.number().default(0),trend:L.number().default(0)}).passthrough(),k00=L.object({metrics:L.object({approvalCount:AW.optional(),accuracy:AW.optional(),automationRate:AW.optional(),riskCount:AW.optional(),avgDuration:AW.optional()}).passthrough().default({}),sankeyData:L.object({nodes:L.array(L.object({id:L.string()}).passthrough()).default([]),links:L.array(L.object({source:L.string(),target:L.string(),value:L.number().default(0)}).passthrough()).default([])}).passthrough().default({nodes:[],links:[]})}).passthrough(),x00=L.record(L.string(),L.unknown()),f00=L.object({expenses:L.array(x00).default([]),total:L.number().optional()}).passthrough(),u00=L.object({invoices:L.array(x00).default([]),total:L.number().optional(),feishuApprovalAppId:L.string().nullable().optional()}).passthrough(),b00=L.record(L.string(),L.unknown()),i00=L.object({provider:L.string(),config:L.record(L.string(),L.unknown()).default({})}).passthrough(),c00=L.object({id:L.string(),name:L.string(),description:L.string().optional(),available:L.boolean().default(!0),fields:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),n00=L.object({permissions:L.array(L.object({key:L.string(),name:L.string(),description:L.string().optional()}).passthrough()).default([])}).passthrough(),p00=L.object({configs:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),d00=L.object({subscriptions:L.array(L.record(L.string(),L.unknown())).default([]),features:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),m00=L.object({key:L.string(),type:L.string(),label:L.string(),column:L.string(),mask:L.string().optional()}).passthrough(),yi0=L.object({columns:L.array(m00).default([]),fieldKey:L.string().optional(),keyColumn:L.string().optional(),sheetName:L.string().optional(),fieldLabel:L.string().optional()}).passthrough(),l00=L.object({id:L.string().optional(),listSheets:L.array(yi0).default([]),mainColumns:L.array(m00).default([]),workbookName:L.string().optional(),mainKeyColumn:L.string().optional(),mainSheetName:L.string().optional(),titleColumn:L.string().optional(),statusColumn:L.string().optional(),applicationDateColumn:L.string().optional(),updatedDateColumn:L.string().optional(),attachmentFieldKey:L.string().optional(),attachmentFieldLabel:L.string().optional()}).passthrough(),ki0=L.object({approvalCode:L.string(),nodeId:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),limit:L.number().int().positive().max(100).optional(),dataCollectionMode:L.string().optional(),signKey:L.string().optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional(),disableAttachmentCache:L.boolean().optional(),thinkingDepthOverride:L.enum(["default","medium","high"]).optional(),startTime:L.number().optional(),endTime:L.number().optional(),templateId:L.string().optional(),packageIds:L.array(L.string()).optional(),packageLabel:L.string().optional(),runMode:L.string().optional(),schemaConfig:l00.optional()}).passthrough(),xi0=L.object({mode:L.string().optional(),conditions:L.array(L.object({label:L.string(),value:L.string()}).passthrough()).default([])}).passthrough(),fi0=L.object({kind:L.string().optional(),stage:L.string().optional(),code:L.string().optional(),message:L.string().optional()}).passthrough(),uS=L.object({id:L.string(),tenantId:L.string().optional(),approvalCode:L.string().optional(),nodeId:L.string().optional(),sourceSystem:L.string().optional(),status:L.string().optional(),totalCount:L.number().default(0),processedCount:L.number().default(0),successCount:L.number().default(0),failedCount:L.number().default(0),createdCount:L.number().default(0),createFailedCount:L.number().default(0),params:ki0.optional(),requestSummary:xi0.nullable().optional(),resultSummary:fi0.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),bS=L.object({batchId:L.string()}).passthrough(),ui0=L.object({dataCollectionMode:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional()}).passthrough(),o00=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),description:L.string().optional(),approvalSystem:L.string().optional(),hosecloudConfig:ui0.optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),r00=L.object({hasFeishu:L.boolean().default(!1),hasHosecloud:L.boolean().default(!1),hasWeaver:L.boolean().default(!1),hasHelios:L.boolean().default(!1),hasMaycur:L.boolean().default(!1),hasMaycurStandard:L.boolean().default(!1)}).passthrough(),s00=L.object({signKey:L.string().optional(),displayName:L.string().optional(),corporationId:L.string().optional()}).passthrough(),a00=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),templateId:L.string().optional(),originalFileName:L.string().optional(),status:L.string().optional(),documentCount:L.number().optional(),attachmentCount:L.number().optional(),uploadedBy:L.string().optional(),schemaConfig:l00.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),bi0=L.object({hitScopes:L.array(L.string()).default([]),hitRuleIds:L.array(L.string()).default([]),notHitScopes:L.array(L.string()).default([]),notHitRuleIds:L.array(L.string()).default([])}).passthrough(),iS=L.object({id:L.string().min(1),name:L.string().min(1),enabled:L.boolean().default(!0),description:L.string().default(""),condition:bi0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:L.enum(["medium","high"])}).passthrough(),Hi1=L.object({defaultLevel:L.enum(["medium","high"]).default("medium"),routingPolicies:L.array(iS).default([])}).passthrough(),Xi1=L.object({dryRun:L.boolean().optional(),signKey:L.string().min(1).optional(),outboundName:L.string().optional(),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiKey:L.string().min(1),apiSecret:L.string().min(1),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional()}).passthrough(),t00=L.object({id:L.string().optional(),code:L.string().optional(),name:L.string().optional(),approvalSystem:L.string().optional()}).passthrough(),Zi1=L.object({total:L.number(),dedupeBy:L.string(),unique:L.number(),byStatus:L.record(L.string(),L.number()),bySourceSystem:L.record(L.string(),L.number())}).passthrough()});import{randomBytes as Y10}from"node:crypto";async function M1($,Y){let z=await $.json();return Y.parse(z.data??z)}async function H8($){return M1(await $.get("api/v1/auth/me"),D00)}async function U10($){return M1(await $.get("api/auth/get-session"),B00)}async function p6($){return M1(await $.get("api/v1/rules"),P00)}async function CW($,Y){return M1(await $.post("api/v1/rules",{json:Y}),tw)}async function nS($,Y,z){return M1(await $.put(`api/v1/rules/${Y}`,{json:z}),tw)}async function mQ($,Y){await $.delete(`api/v1/rules/${Y}`)}async function JM($){let Y=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),z=await Y.json().catch(()=>({}));return L.object({ok:L.boolean(),status:L.number(),body:L.unknown()}).parse({ok:Y.ok,status:Y.status,body:z})}async function A$($){return M1(await $.get("api/v1/rule-set-versions"),L.array(ew))}async function RW($,Y){return M1(await $.get(`api/v1/rule-set-versions/${Y}`),ew)}async function _W($,Y){return M1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:Y}}),A00)}async function _3($,Y={}){let z=new URLSearchParams;return z.set("offset",String(Y.offset??0)),z.set("limit",String(Y.limit??20)),z.set("sortBy",Y.sortBy??"createdAt"),z.set("sortOrder",Y.sortOrder??"desc"),Y.scenarios?.forEach((U,Q)=>{z.set(`filter[scenarios][${Q}]`,U)}),M1(await $.get("api/v1/knowledge/articles",{searchParams:z}),T00)}async function Q10($,Y){return M1(await $.get(`api/v1/knowledge/articles/${Y}`),TW)}async function IM($,Y){return M1(await $.post("api/v1/knowledge/articles",{json:{...Y,contentType:Y.contentType??"policy",status:Y.status??"published",enabled:Y.enabled??!0,scenarios:Y.scenarios&&Y.scenarios.length>0?Y.scenarios:["audit"],tags:Y.tags??[]}}),TW)}async function KM($,Y,z){let U=Object.fromEntries(Object.entries(z).filter(([,Q])=>Q!==void 0));return M1(await $.patch(`api/v1/knowledge/articles/${Y}`,{json:{attributes:U}}),TW)}async function GM($,Y){return await $.delete(`api/v1/knowledge/articles/${Y}`),{success:!0,id:Y}}async function o1($,Y="api/v1/agent/ai-approval/config"){return M1(await $.get(Y),j00)}async function m5($,Y,z="api/v1/agent/ai-approval/config"){return await $.post(z,{json:Y}),o1($,z)}async function pS($,Y,z="api/v1/agent/ai-approval/config"){let U=await $.post(z,{json:Y}),Q=await U.json().catch(()=>({})),J=QM.safeParse(Q.data??Q);return J.success?J.data.success??U.ok:U.ok}async function J$($,Y="api/v1/agent/ai-approval/config"){let z=await o1($,Y);return dS(z.integrations)}async function WM($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=dS(Q.integrations),I=X10(Y,J,z);if(!await pS($,{...Q,integrations:[...Q.integrations,I]},U))throw Error("Seal did not confirm saving the Webhook integration");return I}async function J10($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=dS(Q.integrations),I=X10(Y,J,z);return{before:Q,after:{...Q,integrations:[...Q.integrations,I]},integration:I}}async function I10($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=HM(Q.integrations),I=XM(J,Y),K=Z10(I.integration,z);if(!await pS($,{...Q,integrations:Q.integrations.map((W,H)=>H===I.index?K:W)},U))throw Error("Seal did not confirm saving the Webhook integration");return K}async function K10($,Y,z,U="api/v1/agent/ai-approval/config"){let Q=await o1($,U),J=HM(Q.integrations),I=XM(J,Y),K=Z10(I.integration,z);return{before:Q,after:{...Q,integrations:Q.integrations.map((G,W)=>W===I.index?K:G)},integration:K}}async function G10($,Y,z="api/v1/agent/ai-approval/config"){let U=await o1($,z),Q=HM(U.integrations),J=XM(Q,Y);if(!await pS($,{...U,integrations:U.integrations.filter((K,G)=>G!==J.index)},z))throw Error("Seal did not confirm deleting the Webhook integration");return J.integration}async function W10($,Y,z="api/v1/agent/ai-approval/config"){let U=await o1($,z),Q=HM(U.integrations),J=XM(Q,Y);return{before:U,after:{...U,integrations:U.integrations.filter((I,K)=>K!==J.index)},integration:J.integration}}function v3($,Y){let z=Y.trim();if(!z)throw Error("Webhook selector must not be empty");let U=$.find((J)=>J.id===z);if(U)return U;let Q=$.filter((J)=>J.name===z);if(Q.length===1)return Q[0];if(Q.length>1)throw Error(`Multiple Webhook integrations match name: ${z}. Use the integration ID.`);throw Error(`Webhook integration not found: ${z}`)}function H10($,Y){let z=Y?.trim().toLowerCase();if(!z)return $;return $.filter((U)=>[U.id,U.name,U.mode,U.outgoingResultWebhook,U.incomingDocumentWebhook.url,U.incomingManualResultWebhook.url].some((Q)=>Q.toLowerCase().includes(z)))}function dS($){return $.filter((Y)=>Y.type==="webhook").map((Y)=>jW.parse(Y))}function HM($){return $.flatMap((Y,z)=>{if(Y.type!=="webhook")return[];return[{index:z,integration:jW.parse(Y)}]})}function XM($,Y){let z=v3($.map((U)=>U.integration),Y);return $.find((U)=>U.integration.id===z.id)}function X10($,Y,z){let U=EW(z.name,"name"),Q=z.mode??"assisted",J=V10(z.outgoingResultWebhook,"outgoingResultWebhook"),I=L10(z.autoApprovalRate??60),K=ni0(Y),G=`wh_${K}_${Y10(8).toString("hex").slice(0,7)}`,W=P$($);return jW.parse({type:"webhook",id:`integration-${K}`,name:U,mode:Q,incomingDocumentWebhook:{id:G,url:`${W}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:J,incomingManualResultWebhook:{id:G,url:`${W}/api/v1/integrations/webhook/${G}/manual-result`},secret:z.secret?EW(z.secret,"secret"):q10(),autoApprovalRate:I,materialPackFilePolicy:nQ(z.materialPackFilePolicy)})}function Z10($,Y){return jW.parse({...$,...Y.name===void 0?{}:{name:EW(Y.name,"name")},...Y.mode===void 0?{}:{mode:Y.mode},...Y.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:V10(Y.outgoingResultWebhook,"outgoingResultWebhook")},...Y.autoApprovalRate===void 0?{}:{autoApprovalRate:L10(Y.autoApprovalRate)},...Y.rotateSecret||Y.secret!==void 0?{secret:Y.rotateSecret?q10():EW(Y.secret??"","secret")}:{},...Y.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:O00($.materialPackFilePolicy,Y.materialPackFilePolicy)}})}function ni0($){let Y=new Set($.map((U)=>U.id)),z=Date.now();while(Y.has(`integration-${z}`))z+=1;return z}function q10(){return Y10(16).toString("hex")}function EW($,Y){let z=$.trim();if(!z)throw Error(`Webhook ${Y} must not be empty`);return z}function V10($,Y){let z=EW($,Y);try{return new URL(z).toString()}catch{throw Error(`Webhook ${Y} must be a valid URL`)}}function L10($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function ZM($,Y={}){let[z,U,Q]=await Promise.all([p6($),_3($,{limit:Y.documentLimit??50}),o1($,Y.stylePreferencesEndpoint).then((J)=>({ok:!0,data:J}),(J)=>({ok:!1,error:J instanceof Error?J.message:String(J)}))]);return{rules:z,documents:U,stylePreferences:Q}}async function b4($,Y={}){let z=new URLSearchParams;return z.set("offset",String(Y.offset??0)),z.set("limit",String(Y.limit??50)),c8(z,"fromTimestamp",Y.fromTimestamp),c8(z,"toTimestamp",Y.toTimestamp),c8(z,"startDate",Y.startDate),c8(z,"endDate",Y.endDate),e00(z,"status",Y.status),c8(z,"sourceSystem",Y.sourceSystem),c8(z,"taskMode",Y.taskMode),c8(z,"search",Y.search),c8(z,"sourceDocumentSN",Y.sourceDocumentSN),c8(z,"sourceDocumentId",Y.sourceDocumentId),e00(z,"manualApprovalStatus",Y.manualApprovalStatus),M1(await $.get("api/v1/approvals",{searchParams:z}),kS)}async function G4($,Y){return M1(await $.get(`api/v1/approvals/${Y}`),$M)}async function mS($,Y){let z=await $.get(`api/v1/simulation/batch/${Y}/records`).json(),U=z.data??z;if(Array.isArray(U))return L.array($M).parse(U);return kS.parse(U).records}async function F10($,Y){return M1(await $.post("api/v1/simulation/create-batch",{json:Y}),bS)}async function w10($,Y){return M1(await $.post("api/v1/simulation/create-material-pack-batch",{json:Y}),bS)}async function M10($,Y={}){let z=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(Y.limit??50)}}).json(),U=z.data??z;return L.array(uS).parse(U)}async function qM($,Y){return M1(await $.get(`api/v1/simulation/batch/${Y}`),uS)}async function O10($){let Y=await $.get("api/v1/simulation/templates").json(),z=Y.data??Y;return L.array(o00).parse(z)}async function lS($){return M1(await $.get("api/v1/simulation/integration-status"),r00)}async function oS($){let Y=await $.get("api/v1/simulation/hosecloud-integrations").json(),z=Y.data??Y;return L.array(s00).parse(z)}async function N10($,Y){let U=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(Y)}/data`)).json().catch(()=>({}));return U.data??U}async function D10($,Y){let z=Y?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",U=Y?new URLSearchParams({signKey:Y}):void 0,Q=await $.get(z,{searchParams:U}).json(),J=Q.data??Q;return L.array(t00).parse(J)}async function B10($,Y){let z=await $.post("api/hosecloud/corporation",{json:Y}).json(),U=z.data??z;return L.object({corporationId:L.string()}).parse(U)}async function P10($,Y){let U=await(await $.post("api/hosecloud/outbound-config/sync",{json:Y})).json().catch(()=>({}));return U.data??U}async function A10($,Y){let z=new FormData;return z.append("file",new Blob([new Uint8Array(Y.fileBuffer)]),Y.fileName),M1(await $.post("api/v1/material-packages/upload",{body:z}),a00)}function c8($,Y,z){if(z)$.set(Y,z)}function e00($,Y,z){if(!z)return;(Array.isArray(z)?z:[z]).map((Q)=>Q.trim()).filter(Boolean).forEach((Q,J)=>{$.set(`${Y}[${J}]`,Q)})}async function T10($){return M1(await $.get("api/v1/delegation/list"),L.array(E00))}async function dQ($,Y){return M1(await $.post("api/v1/delegation/create",{json:Y??{}}),C00)}async function j10($,Y){let z=await $.post("api/v1/delegation/revoke",{json:{tokenId:Y}}),U=await z.json(),Q=QM.safeParse(U.data??U);return Q.success?Q.data.success??z.ok:z.ok}async function E10($,Y){let z=Y.departmentIds&&Y.departmentIds.length>0?Y.departmentIds:void 0;if(!z){let U=await $.get("api/v1/contacts/departments/root/children").json(),Q=ii0.safeParse(U.data??U),J=Q.success?Q.data.items?.[0]?._id:void 0;if(J)z=[J]}return M1(await $.post("api/v1/contacts/local/users",{json:{name:Y.name,phone:Y.phone,permissions:Y.permissions??[],departmentIds:z??[]}}),R00)}async function rS($,Y){return M1(await $.post(`api/v1/contacts/local/users/${Y}/reset-password`,{json:{}}),_00)}async function zM($,Y){return M1(await $.get(`api/v1/contacts/users/${Y}`),YM)}async function UM($,Y=""){return M1(await $.get("api/v1/contacts/search",{searchParams:{query:Y}}),v00)}async function C10($){return M1(await $.get("api/v1/contacts/departments/root/children"),fS)}async function R10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}`),xS)}async function _10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/children`),fS)}async function v10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/users`),h00)}async function h10($){return M1(await $.get("api/v1/contacts/last-sync-time"),S00)}async function VM($,Y={}){let z=sS(),U=new URLSearchParams;if(c8(U,"startDate",Y.startDate??z.startDate),c8(U,"endDate",Y.endDate??z.endDate),Y.limit!==void 0)U.set("limit",String(Y.limit));return M1(await $.get("api/v1/insight/stats",{searchParams:U}),g00)}async function LM($,Y){let z=sS(),U=new URLSearchParams;return U.set("tagId",Y.tagId),U.set("startDate",Y.startDate??z.startDate),U.set("endDate",Y.endDate??z.endDate),M1(await $.get("api/v1/insight/risks-by-tag",{searchParams:U}),y00)}async function FM($,Y={}){let z=sS(),U=$10(Y.startDate??z.startDate),Q=$10(Y.endDate??z.endDate),J=new URLSearchParams;return J.set("startDate",String(U)),J.set("endDate",String(Q)),M1(await $.get("api/v1/insight/performance",{searchParams:J}),k00)}async function S10($,Y){return await $.post(`api/v1/insight/analyze/${encodeURIComponent(Y)}`),{success:!0,recordId:Y}}function $10($){if(typeof $==="number")return $<100000000000?$*1000:$;let Y=Number($);if(!isNaN(Y)&&$.trim()!=="")return Y<100000000000?Y*1000:Y;let z=new Date($);if(isNaN(z.getTime()))throw Error(`Invalid date format: ${$}`);return z.getTime()}function sS(){let $=new Date,Y=new Date($.getFullYear(),$.getMonth(),1),z=new Date($.getFullYear(),$.getMonth()+1,0,23,59,59,999);return{startDate:Y.toISOString(),endDate:z.toISOString()}}function g10($){let Y=new URLSearchParams;return c8(Y,"filter[startDate]",$.startDate),c8(Y,"filter[endDate]",$.endDate),c8(Y,"filter[search]",$.search),Y.set("offset",String($.offset??0)),Y.set("limit",String($.limit??50)),Y}async function y10($,Y={}){return M1(await $.get("api/v1/expenses/list",{searchParams:g10(Y)}),f00)}async function k10($,Y={}){return M1(await $.get("api/v1/invoice/list",{searchParams:g10(Y)}),u00)}async function x10($){return M1(await $.get("api/v1/integrations/feishu/simulation/approval-definitions"),L.array(b00))}async function f10($,Y){let z=await $.delete(`api/v1/contacts/local/users/${Y}`),U=await z.json(),Q=QM.safeParse(U.data??U);return Q.success?Q.data.success??z.ok:z.ok}async function aS($,Y){let z=await $.post(`api/v1/contacts/local/users/${Y}/activate`,{json:{}}),U=await z.json(),Q=QM.safeParse(U.data??U);return Q.success?Q.data.success??z.ok:z.ok}async function pi0($,Y){let z=await $.post("api/auth/sms-otp/sign-in-password",{json:Y}),U=z.headers.get("set-auth-token"),Q=ci0.parse(await z.json()),J=U??Q.session?.token;if(!J)throw Error("Failed to retrieve authentication token from login response");return{token:J,user:Q.user}}async function u10($,Y,z,U){let Q;if(Y.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(Y.userIdOrPhone)){let q=await UM($,Y.userIdOrPhone),V=q.users.find((F)=>F.mobile?.includes(Y.userIdOrPhone)||F._id===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found with phone/ID: ${Y.userIdOrPhone}`);Q=V}else Q=await zM($,Y.userIdOrPhone).catch(async()=>{let q=await UM($,Y.userIdOrPhone),V=q.users.find((F)=>F.name===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found: ${Y.userIdOrPhone}`);return V});if(Q.status==="resigned")await aS($,Q._id),Q=await zM($,Q._id);let J=Q,I=Array.isArray(J.identities)&&J.identities.some((q)=>q.provider&&q.provider!=="local")||!!J.apps?.hosecloud;if(I&&U&&U.source.type==="hose"){let V=(Q.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,""),F=J.identities?.find((w)=>w.provider==="hosecloud")?.providerId,M=J.apps?.hosecloud?.boundId||F||(V?`${U.source.corpId}:${V}`:void 0);if(M){let w=await iQ(U),N=(await lw({...U.source,staffId:M},w)).token,D=R3(U,U.source),T=B6(U.seal),A=T8(D,void 0,T),B;try{B=await A.get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:N,returnToken:"1"}}).json()}catch(C){if(C instanceof D6&&C.response.status===400)throw Error(`Seal AI 用户“${Q.name}”未绑定合思账号,无法生成个人协助链接。`);throw C}let j=B.token??B.accessToken??B.data?.token;if(j){let C=await z(j),b=await dQ(C,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let K;try{K=await rS($,Q._id)}catch(q){if(I)throw Error(`用户 "${Q.name}" (${Q.mobile||Q._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw q}let W=(Q.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!W)throw Error(`User ${Q.name} has no associated phone number for password login`);let{token:H}=await pi0($,{phone:W,password:K.password}),X=await z(H),Z=await dQ(X,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:Z,temporaryPassword:K.password}}async function b10($){return M1(await $.get("api/v1/llm/config"),i00)}async function i10($){return M1(await $.get("api/v1/llm/providers"),L.array(c00))}async function c10($){return M1(await $.get("api/v1/permissions/available"),n00)}async function n10($){return M1(await $.get("api/v1/permissions/configs"),p00)}async function bY($){return M1(await $.get("api/v1/billing/status"),d00)}async function p10($){let z=await(await $.get("api/v1/billing/plans")).json();return z10.parse(z.data??z)}async function d10($){let z=await(await $.get("api/v1/billing/features")).json();return z10.parse(z.data??z)}var QM,ii0,ci0,z10;var X6=o(()=>{fQ();B$();pQ();a9();i8();cS();QM=L.object({success:L.boolean().optional()}).passthrough(),ii0=L.object({items:L.array(L.object({_id:L.string()})).optional()}).passthrough(),ci0=L.object({user:L.unknown().optional(),session:L.object({token:L.string().optional()}).optional()}).passthrough(),z10=L.json()});var Y6=E((qc1,l10)=>{var{toString:m10}=Object.prototype,di0=/["&<>]/,e9={each:function(Y,z){if(Y)if(Array.isArray(Y))Y.forEach(z);else Object.keys(Y).forEach((U)=>{z(Y[U],U)})},some:function(Y,z){if(Y){if(Array.isArray(Y))return Y.some(z);return Object.keys(Y).some((U)=>z(Y[U],U))}return!1},every:function(Y,z){if(Y){if(Array.isArray(Y))return Y.every(z);return Object.keys(Y).every((U)=>z(Y[U],U))}return!0},map:function(Y,z){if(Y){if(Array.isArray(Y))return Y.map(z);return Object.keys(Y).map((U)=>z(Y[U],U))}return[]},keyBy($,Y){return $.reduce((z,U)=>{return z[U[Y]]=U,z},{})},isEqual:function(Y,z){let U=typeof Y,Q=typeof z,J=Array.isArray(Y),I=Array.isArray(z),K;if(U!==Q)return!1;switch(typeof Y){case"object":if(J||I){if(J&&I)return Y.length===z.length&&Y.every((G,W)=>{let H=z[W];return e9.isEqual(G,H)});return!1}if(Y===null||z===null)return Y===z;if(K=Object.keys(Y),Object.keys(z).length!==K.length)return!1;for(let G of K)if(!z.hasOwnProperty(G))return!1;return e9.every(Y,(G,W)=>{let H=z[W];return e9.isEqual(G,H)});default:return Y===z}},escapeHtml($){let Y=di0.exec($);if(!Y)return $;let z="",U="",Q=0,J=Y.index;for(;J<$.length;J++){switch($.charAt(J)){case'"':U=""";break;case"&":U="&";break;case"'":U="'";break;case"<":U="<";break;case">":U=">";break;default:continue}if(Q!==J)z+=$.substring(Q,J);Q=J+1,z+=U}if(Q!==J)return z+$.substring(Q,J);return z},strcmp($,Y){if($Y)return 1;return 0},isUndefined($){return m10.call($)==="[object Undefined]"},isObject($){return m10.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:Y}=arguments,z,U,Q;function J(I,K){if(z=$[K],Q=Array.isArray(I),e9.isObject(I)||Q){if(Q)Q=!1,U=z&&Array.isArray(z)?z:[];else U=z&&e9.isObject(z)?z:{};$[K]=e9.deepMerge(U,I)}else if(!e9.isUndefined(I))$[K]=I}for(let I=0;I{var mi0=/^[A-Z]+\d+$/,vW={_dictionary:["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"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let Y,z,U,Q,J,I=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(I<=26)Y=this._dictionary[I-1],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){I=27;while(I<=702)z=I-27,U=z%26,Q=Math.floor(z/26),Y=this._dictionary[Q]+this._dictionary[U],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){I=703;while(I<=16384)z=I-703,U=z%26,Q=Math.floor(z/26)%26,J=Math.floor(z/676),Y=this._dictionary[J]+this._dictionary[Q]+this._dictionary[U],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!mi0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let Y=$.length<5&&this._hash[$];if(Y)return Y;let z=!1,U="",Q=0,J=!1,I="",K=0;for(let W=0,H;W<$.length;W++)if(H=$.charCodeAt(W),!J&&H>=65&&H<=90)z=!0,U+=$[W],Q=Q*26+H-64;else if(H>=48&&H<=57)J=!0,I+=$[W],K=K*10+H-48;else if(J&&z&&H!==36)break;if(!z)Q=void 0;else if(Q>16384)throw Error(`Out of bounds. Invalid column letter: ${U}`);if(!J)K=void 0;$=U+I;let G={address:$,col:Q,row:K,$col$row:`$${U}$${I}`};if(Q<=100&&K<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,Y){if(Y){let z=this.n2l(Y)+$;return this.decodeAddress(z)}return this.decodeAddress($)},decode($){let Y=$.split(":");if(Y.length===2){let z=this.decodeAddress(Y[0]),U=this.decodeAddress(Y[1]),Q={top:Math.min(z.row,U.row),left:Math.min(z.col,U.col),bottom:Math.max(z.row,U.row),right:Math.max(z.col,U.col)};return Q.tl=this.n2l(Q.left)+Q.top,Q.br=this.n2l(Q.right)+Q.bottom,Q.dimensions=`${Q.tl}:${Q.br}`,Q}return this.decodeAddress($)},decodeEx($){let Y=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),z=Y[1]||Y[2],U=Y[3],Q=U.split(":");if(Q.length>1){let I=this.decodeAddress(Q[0]),K=this.decodeAddress(Q[1]),G=Math.min(I.row,K.row),W=Math.min(I.col,K.col),H=Math.max(I.row,K.row),X=Math.max(I.col,K.col);return I=this.n2l(W)+G,K=this.n2l(X)+H,{top:G,left:W,bottom:H,right:X,sheetName:z,tl:{address:I,col:W,row:G,$col$row:`$${this.n2l(W)}$${G}`,sheetName:z},br:{address:K,col:X,row:H,$col$row:`$${this.n2l(X)}$${H}`,sheetName:z},dimensions:`${I}:${K}`}}if(U.startsWith("#"))return z?{sheetName:z,error:U}:{error:U};let J=this.decodeAddress(U);return z?{sheetName:z,...J}:J},encodeAddress($,Y){return vW.n2l(Y)+$},encode(){switch(arguments.length){case 2:return vW.encodeAddress(arguments[0],arguments[1]);case 4:return`${vW.encodeAddress(arguments[0],arguments[1])}:${vW.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,Y){let[z,U,,Q,J]=$,[I,K]=Y;return I>=z&&I<=Q&&K>=U&&K<=J}};o10.exports=vW});var $7=E((Lc1,r10)=>{var l5=i4();class tS{constructor(){this.decode(arguments)}setTLBR($,Y,z,U,Q){if(arguments.length<4){let J=l5.decodeAddress($),I=l5.decodeAddress(Y);this.model={top:Math.min(J.row,I.row),left:Math.min(J.col,I.col),bottom:Math.max(J.row,I.row),right:Math.max(J.col,I.col),sheetName:z},this.setTLBR(J.row,J.col,I.row,I.col,Q)}else this.model={top:Math.min($,z),left:Math.min(Y,U),bottom:Math.max($,z),right:Math.max(Y,U),sheetName:Q}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let Y=$[0];if(Y instanceof tS)this.model={top:Y.model.top,left:Y.model.left,bottom:Y.model.bottom,right:Y.model.right,sheetName:Y.sheetName};else if(Y instanceof Array)this.decode(Y);else if(Y.top&&Y.left&&Y.bottom&&Y.right)this.model={top:Y.top,left:Y.left,bottom:Y.bottom,right:Y.right,sheetName:Y.sheetName};else{let z=l5.decodeEx(Y);if(z.top)this.model={top:z.top,left:z.left,bottom:z.bottom,right:z.right,sheetName:z.sheetName};else this.model={top:z.row,left:z.col,bottom:z.row,right:z.col,sheetName:z.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,Y,z,U){if(!this.model.top||$this.bottom)this.bottom=z;if(!this.model.right||U>this.right)this.right=U}expandRow($){if($){let{dimensions:Y,number:z}=$;if(Y)this.expand(z,Y.min,z,Y.max)}}expandToAddress($){let Y=l5.decodeEx($);this.expand(Y.row,Y.col,Y.row,Y.col)}get tl(){return l5.n2l(this.left)+this.top}get $t$l(){return`$${l5.n2l(this.left)}$${this.top}`}get br(){return l5.n2l(this.right)+this.bottom}get $b$r(){return`$${l5.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottomthis.bottom)return!1;if($.rightthis.right)return!1;return!0}contains($){let Y=l5.decodeEx($);return this.containsEx(Y)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let Y=this.left;Y<=this.right;Y++)for(let z=this.top;z<=this.bottom;z++)$(l5.encodeAddress(z,Y),z,Y)}}r10.exports=tS});var G5=E((Fc1,s10)=>{s10.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var t10=E((wc1,a10)=>{var wM=i4(),li0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,oi0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function ri0($,Y,z){let U=wM.decode(Y),Q=wM.decode(z);return $.replace(li0,(J,I,K,G,W)=>{if(W)return J;let H=oi0.exec(G);if(H){let X=H[1],Z=H[2].toUpperCase(),q=H[3],V=H[4];if(Z.length>3||Z.length===3&&Z>"XFD")return J;let F=wM.l2n(Z),M=parseInt(V,10);if(!X)F+=Q.col-U.col;if(!q)M+=Q.row-U.row;return(I||"")+(X||"")+wM.n2l(F)+(q||"")+M}return J})}a10.exports={slideFormula:ri0}});var $40=E((Mc1,e10)=>{var si0=Y6();class hW{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return si0.deepMerge({},hW.DEFAULT_CONFIGS,$)}set model($){let{note:Y}=$,{texts:z}=Y;if(z.length===1&&Object.keys(z[0]).length===1)this.note=z[0].text;else this.note=Y}static fromModel($){let Y=new hW;return Y.model=$,Y}}hW.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};e10.exports=hW});var L40=E((Oc1,V40)=>{var ai0=i4(),ti0=Y6(),W5=G5(),{slideFormula:ei0}=t10(),Y40=$40();class d0{constructor($,Y,z){if(!$||!Y)throw Error("A Cell needs a Row");this._row=$,this._column=Y,ai0.validateAddress(z),this._address=z,this._value=h3.create(d0.Types.Null,this),this.style=this._mergeStyle($.style,Y.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,Y,z){let U=$&&$.numFmt||Y&&Y.numFmt;if(U)z.numFmt=U;let Q=$&&$.font||Y&&Y.font;if(Q)z.font=Q;let J=$&&$.alignment||Y&&Y.alignment;if(J)z.alignment=J;let I=$&&$.border||Y&&Y.border;if(I)z.border=I;let K=$&&$.fill||Y&&Y.fill;if(K)z.fill=K;let G=$&&$.protection||Y&&Y.protection;if(G)z.protection=G;return z}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===d0.Types.Merge}merge($,Y){if(this._value.release(),this._value=h3.create(d0.Types.Merge,this,$),!Y)this.style=$.style}unmerge(){if(this.type===d0.Types.Merge)this._value.release(),this._value=h3.create(d0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==d0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===d0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===d0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===d0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=h3.create(h3.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new Y40($)}get text(){return this._value.toString()}get html(){return ti0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===d0.Types.String)this._value=h3.create(d0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:Y}=this.workbook;Y.removeAllNames(this.fullAddress),$.forEach((z)=>{Y.addEx(this.fullAddress,z)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=h3.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=Y40.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}d0.Types=W5.ValueType;class z40{constructor($){this.model={address:$.address,type:d0.Types.Null}}get value(){return null}set value($){}get type(){return d0.Types.Null}get effectiveType(){return d0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class U40{constructor($,Y){this.model={address:$.address,type:d0.Types.Number,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Number}get effectiveType(){return d0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class Q40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class J40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return d0.Types.RichText}get effectiveType(){return d0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class I40{constructor($,Y){this.model={address:$.address,type:d0.Types.Date,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Date}get effectiveType(){return d0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class K40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Hyperlink,text:Y?Y.text:void 0,hyperlink:Y?Y.hyperlink:void 0},Y&&Y.tooltip)this.model.tooltip=Y.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return d0.Types.Hyperlink}get effectiveType(){return d0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class G40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Merge,master:Y?Y.address:void 0},this._master=Y,Y)Y.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof d0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return d0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class W40{constructor($,Y){this.cell=$,this.model={address:$.address,type:d0.Types.Formula,shareType:Y?Y.shareType:void 0,ref:Y?Y.ref:void 0,formula:Y?Y.formula:void 0,sharedFormula:Y?Y.sharedFormula:void 0,result:Y?Y.result:void 0}}_copyModel($){let Y={},z=(U)=>{let Q=$[U];if(Q)Y[U]=Q};return z("formula"),z("result"),z("ref"),z("shareType"),z("sharedFormula"),Y}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(h3.getType($)){case d0.Types.Null:case d0.Types.String:case d0.Types.Number:case d0.Types.Date:break;case d0.Types.Hyperlink:case d0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),Y=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:Y}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return W5.FormulaType.Master;if(this.model.sharedFormula)return W5.FormulaType.Shared;return W5.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return d0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return W5.ValueType.Null;if($ instanceof String||typeof $==="string")return W5.ValueType.String;if(typeof $==="number")return W5.ValueType.Number;if($ instanceof Date)return W5.ValueType.Date;if($.text&&$.hyperlink)return W5.ValueType.Hyperlink;if($.formula)return W5.ValueType.Formula;return W5.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,Y=$.findCell(this.model.sharedFormula);this._translatedFormula=Y&&ei0(Y.formula,Y.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class H40{constructor($,Y){this.model={address:$.address,type:d0.Types.SharedString,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.SharedString}get effectiveType(){return d0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class X40{constructor($,Y){this.model={address:$.address,type:d0.Types.Boolean,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Boolean}get effectiveType(){return d0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class Z40{constructor($,Y){this.model={address:$.address,type:d0.Types.Error,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Error}get effectiveType(){return d0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class q40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:JSON.stringify(Y),rawValue:Y}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var h3={getType($){if($===null||$===void 0)return d0.Types.Null;if($ instanceof String||typeof $==="string")return d0.Types.String;if(typeof $==="number")return d0.Types.Number;if(typeof $==="boolean")return d0.Types.Boolean;if($ instanceof Date)return d0.Types.Date;if($.text&&$.hyperlink)return d0.Types.Hyperlink;if($.formula||$.sharedFormula)return d0.Types.Formula;if($.richText)return d0.Types.RichText;if($.sharedString)return d0.Types.SharedString;if($.error)return d0.Types.Error;return d0.Types.JSON},types:[{t:d0.Types.Null,f:z40},{t:d0.Types.Number,f:U40},{t:d0.Types.String,f:Q40},{t:d0.Types.Date,f:I40},{t:d0.Types.Hyperlink,f:K40},{t:d0.Types.Formula,f:W40},{t:d0.Types.Merge,f:G40},{t:d0.Types.JSON,f:q40},{t:d0.Types.SharedString,f:H40},{t:d0.Types.RichText,f:J40},{t:d0.Types.Boolean,f:X40},{t:d0.Types.Error,f:Z40}].reduce(($,Y)=>{return $[Y.t]=Y.f,$},[]),create($,Y,z){let U=this.types[$];if(!U)throw Error(`Could not create Value of type ${$}`);return new U(Y,z)}};V40.exports=d0});var OM=E((Nc1,M40)=>{var $c0=Y6(),MM=G5(),iY=i4(),F40=L40();class w40{constructor($,Y){this._worksheet=$,this._number=Y,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let Y=this._cells[$.col-1];if(!Y){let z=this._worksheet.getColumn($.col);Y=new F40(this,z,$.address),this._cells[$.col-1]=Y}return Y}getCell($){if(typeof $==="string"){let Y=this._worksheet.getColumnKey($);if(Y)$=Y.number;else $=iY.l2n($)}return this._cells[$-1]||this.getCellEx({address:iY.encodeAddress(this._number,$),row:this._number,col:$})}splice($,Y,...z){let U=$+Y,Q=z.length-Y,J=this._cells.length,I,K,G;if(Q<0){for(I=$+z.length;I<=J;I++)if(G=this._cells[I-1],K=this._cells[I-Q-1],K)G=this.getCell(I),G.value=K.value,G.style=K.style,G._comment=K._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(Q>0)for(I=J;I>=U;I--)if(K=this._cells[I-1],K)G=this.getCell(I+Q),G.value=K.value,G.style=K.style,G._comment=K._comment;else this._cells[I+Q-1]=void 0;for(I=0;I{if(z&&z.type!==MM.ValueType.Null)Y(z,U+1)})}addPageBreak($,Y){let z=this._worksheet,U=Math.max(0,$-1)||0,Q=Math.max(0,Y-1)||16838,J={id:this._number,max:Q,man:1};if(U)J.min=U;z.rowBreaks.push(J)}get values(){let $=[];return this._cells.forEach((Y)=>{if(Y&&Y.type!==MM.ValueType.Null)$[Y.col]=Y.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let Y=0;if($.hasOwnProperty("0"))Y=1;$.forEach((z,U)=>{if(z!==void 0)this.getCellEx({address:iY.encodeAddress(this._number,U+Y),row:this._number,col:U+Y}).value=z})}else this._worksheet.eachColumnKey((Y,z)=>{if($[z]!==void 0)this.getCellEx({address:iY.encodeAddress(this._number,Y.number),row:this._number,col:Y.number}).value=$[z]})}get hasValues(){return $c0.some(this._cells,($)=>$&&$.type!==MM.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,Y=0;return this._cells.forEach((z)=>{if(z&&z.type!==MM.ValueType.Null){if(!$||$>z.col)$=z.col;if(Y0?{min:$,max:Y}:null}_applyStyle($,Y){return this.style[$]=Y,this._cells.forEach((z)=>{if(z)z[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],Y=0,z=0;return this._cells.forEach((U)=>{if(U){let Q=U.model;if(Q){if(!Y||Y>U.col)Y=U.col;if(z{switch(z.type){case F40.Types.Merge:break;default:{let U;if(z.address)U=iY.decodeAddress(z.address);else if(Y){let{row:J}=Y,I=Y.col+1;U={row:J,col:I,address:iY.encodeAddress(J,I),$col$row:`$${iY.n2l(I)}$${J}`}}Y=U;let Q=this.getCellEx(U);Q.model=z;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}M40.exports=w40});var DM=E((Dc1,O40)=>{var Yc0=Y6(),zc0=G5(),Uc0=i4();class NM{constructor($,Y,z){if(this._worksheet=$,this._number=Y,z!==!1)this.defn=z}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return Uc0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((Y,z)=>{this._worksheet.getCell(z+1,this.number).value=Y});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&Yc0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,Y){let z=this.number;if(!Y)Y=$,$=null;this._worksheet.eachRow($,(U,Q)=>{Y(U.getCell(z),Q)})}get values(){let $=[];return this.eachCell((Y,z)=>{if(Y&&Y.type!==zc0.ValueType.Null)$[z]=Y.value}),$}set values($){if(!$)return;let Y=this.number,z=0;if($.hasOwnProperty("0"))z=1;$.forEach((U,Q)=>{this._worksheet.getCell(Q+z,Y).value=U})}_applyStyle($,Y){return this.style[$]=Y,this.eachCell((z)=>{z[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let Y=[],z=null;if($)$.forEach((U,Q)=>{if(U.isDefault){if(z)z=null}else if(!z||!U.equivalentTo(z))z={min:Q+1,max:Q+1,width:U.width!==void 0?U.width:9,style:U.style,isCustomWidth:U.isCustomWidth,hidden:U.hidden,outlineLevel:U.outlineLevel,collapsed:U.collapsed},Y.push(z);else z.max=Q+1});return Y.length?Y:void 0}static fromModel($,Y){Y=Y||[];let z=[],U=1,Q=0;Y=Y.sort(function(J,I){return J.min-I.min});while(Q{var Qc0=i4();class BM{constructor($,Y,z=0){if(this.worksheet=$,!Y)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof Y==="string"){let U=Qc0.decodeAddress(Y);this.nativeCol=U.col+z,this.nativeColOff=0,this.nativeRow=U.row+z,this.nativeRowOff=0}else if(Y.nativeCol!==void 0)this.nativeCol=Y.nativeCol||0,this.nativeColOff=Y.nativeColOff||0,this.nativeRow=Y.nativeRow||0,this.nativeRowOff=Y.nativeRowOff||0;else if(Y.col!==void 0)this.col=Y.col+z,this.row=Y.row+z;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof BM||$==null?$:new BM($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}N40.exports=BM});var A40=E((Pc1,P40)=>{var Jc0=i4(),PM=D40();class B40{constructor($,Y){this.worksheet=$,this.model=Y}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:Y,range:z,hyperlinks:U}){if(this.type=$,this.imageId=Y,$==="image")if(typeof z==="string"){let Q=Jc0.decode(z);this.range={tl:new PM(this.worksheet,{col:Q.left,row:Q.top},-1),br:new PM(this.worksheet,{col:Q.right,row:Q.bottom},0),editAs:"oneCell"}}else this.range={tl:new PM(this.worksheet,z.tl,0),br:z.br&&new PM(this.worksheet,z.br,0),ext:z.ext,editAs:z.editAs,hyperlinks:U||z.hyperlinks}}}P40.exports=B40});var C40=E((Ac1,E40)=>{var AM=i4();class T40{constructor($,Y,z){this.table=$,this.column=Y,this.index=z}_set($,Y){this.table.cacheState(),this.column[$]=Y}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class j40{constructor($,Y){if(this.worksheet=$,Y)this.table=Y,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,Y=(G,W,H)=>{if(G[W]===void 0)G[W]=H};Y($,"headerRow",!0),Y($,"totalsRow",!1),Y($,"style",{}),Y($.style,"theme","TableStyleMedium2"),Y($.style,"showFirstColumn",!1),Y($.style,"showLastColumn",!1),Y($.style,"showRowStripes",!1),Y($.style,"showColumnStripes",!1);let z=(G,W)=>{if(!G)throw Error(W)};z($.ref,"Table must have ref"),z($.columns,"Table must have column definitions"),z($.rows,"Table must have row definitions"),$.tl=AM.decodeAddress($.ref);let{row:U,col:Q}=$.tl;z(U>0,"Table must be on valid row"),z(Q>0,"Table must be on valid col");let{width:J,filterHeight:I,tableHeight:K}=this;$.autoFilterRef=AM.encode(U,Q,U+I-1,Q+J-1),$.tableRef=AM.encode(U,Q,U+K-1,Q+J-1),$.columns.forEach((G,W)=>{if(z(G.name,`Column ${W} must have a name`),W===0)Y(G,"totalsRowLabel","Total");else Y(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(I,K)=>{if(K)Object.keys(K).forEach((G)=>{I[G]=K[G]})},{worksheet:Y,table:z}=this,{row:U,col:Q}=z.tl,J=0;if(z.headerRow){let I=Y.getRow(U+J++);z.columns.forEach((K,G)=>{let{style:W,name:H}=K,X=I.getCell(Q+G);X.value=H,$(X,W)})}if(z.rows.forEach((I)=>{let K=Y.getRow(U+J++);I.forEach((G,W)=>{let H=K.getCell(Q+W);H.value=G,$(H,z.columns[W].style)})}),z.totalsRow){let I=Y.getRow(U+J++);z.columns.forEach((K,G)=>{let W=I.getCell(Q+G);if(G===0)W.value=K.totalsRowLabel;else if(this.getFormula(K))W.value={formula:K.totalsRowFormula,result:K.totalsRowResult};else W.value=null;$(W,K.style)})}}load($){let{table:Y}=this,{row:z,col:U}=Y.tl,Q=0;if(Y.headerRow){let J=$.getRow(z+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(U+K);G.value=I.name})}if(Y.rows.forEach((J)=>{let I=$.getRow(z+Q++);J.forEach((K,G)=>{let W=I.getCell(U+G);W.value=K})}),Y.totalsRow){let J=$.getRow(z+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(U+K);if(K===0)G.value=I.totalsRowLabel;else if(this.getFormula(I))G.value={formula:I.totalsRowFormula,result:I.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=AM.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let Y=0;Y{U.push(Y[Q])});else this.table.columns.splice(z,0,$),this.table.rows.forEach((U,Q)=>{U.splice(z,0,Y[Q])})}removeColumns($,Y=1){this.cacheState(),this.table.columns.splice($,Y),this.table.rows.forEach((z)=>{z.splice($,Y)})}_assign($,Y,z){this.cacheState(),$[Y]=z}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}E40.exports=j40});var eS=E((Tc1,_40)=>{class R40{constructor($){this.model=$||{}}add($,Y){return this.model[$]=Y}find($){return this.model[$]}remove($){this.model[$]=void 0}}_40.exports=R40});var Yg=E((jc1,v40)=>{var $g=I0("crypto"),Ic0={hash($,...Y){let z=$g.createHash($);return z.update(Buffer.concat(Y)),z.digest()},convertPasswordToHash($,Y,z,U){if(Y=Y.toLowerCase(),$g.getHashes().indexOf(Y)<0)throw Error(`Hash algorithm '${Y}' not supported!`);let J=Buffer.from($,"utf16le"),I=this.hash(Y,Buffer.from(z,"base64"),J);for(let K=0;K{var h40=($,Y)=>({...$,...Y.reduce((z,U)=>{if($[U])z[U]={...$[U]};return z},{})}),o5=($,Y,z,U=[])=>{if($[z])Y[z]=h40($[z],U)},Kc0=($)=>Object.keys($).length===0,Gc0=($)=>{if(!$)return $;if(Kc0($))return{};let Y={...$};if(o5($,Y,"font",["color"]),o5($,Y,"alignment"),o5($,Y,"protection"),$.border)o5($,Y,"border"),o5($.border,Y.border,"top",["color"]),o5($.border,Y.border,"left",["color"]),o5($.border,Y.border,"bottom",["color"]),o5($.border,Y.border,"right",["color"]),o5($.border,Y.border,"diagonal",["color"]);if($.fill){if(o5($,Y,"fill",["fgColor","bgColor","center"]),$.fill.stops)Y.fill.stops=$.fill.stops.map((z)=>h40(z,["color"]))}return Y};Wc0.copyStyle=Gc0});var i40=E((Cc1,b40)=>{var SW=Y6(),gW=i4(),yW=$7(),g40=OM(),TM=DM(),Xc0=G5(),zg=A40(),y40=C40(),k40=eS(),x40=Yg(),{copyStyle:f40}=S40();class u40{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new k40,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((Y)=>Y&&Y.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new yW;return this._rows.forEach((Y)=>{if(Y){let z=Y.dimensions;if(z)$.expand(Y.number,z.min,Y.number,z.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((U,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(U,J)},0);let Y=1,z=this._columns=[];$.forEach((U)=>{let Q=new TM(this,Y++,!1);z.push(Q),Q.defn=U})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){SW.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=gW.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new TM(this,Y++))}return this._columns[$-1]}spliceColumns($,Y,...z){let Q=this._rows.length;if(z.length>0)for(let G=0;G{W.push(X[G]||null)});let H=this.getRow(G+1);H.splice.apply(H,W)}else this._rows.forEach((G)=>{if(G)G.splice($,Y)});let J=z.length-Y,I=$+Y,K=this._columns.length;if(J<0)for(let G=$+z.length;G<=K;G++)this.getColumn(G).defn=this.getColumn(G-J).defn;else if(J>0)for(let G=K;G>=I;G--)this.getColumn(G+J).defn=this.getColumn(G).defn;for(let G=$;G<$+z.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,Y,z.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((Y)=>{$=Math.max($,Y.cellCount)}),$}get actualColumnCount(){let $=[],Y=0;return this.eachRow((z)=>{z.eachCell(({col:U})=>{if(!$[U])$[U]=!0,Y++})}),Y}_commitRow(){}get _lastRowNumber(){let $=this._rows,Y=$.length;while(Y>0&&$[Y-1]===void 0)Y--;return Y}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,Y){return this._rows.slice($-1,$-1+Y)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let Y=this._rows[$-1];if(!Y)Y=this._rows[$-1]=new g40(this,$);return Y}getRows($,Y){if(Y<1)return;let z=[];for(let U=$;U<$+Y;U++)z.push(this.getRow(U));return z}addRow($,Y="n"){let z=this._nextRow,U=this.getRow(z);return U.values=$,this._setStyleOption(z,Y[0]==="i"?Y:"n"),U}addRows($,Y="n"){let z=[];return $.forEach((U)=>{z.push(this.addRow(U,Y))}),z}insertRow($,Y,z="n"){return this.spliceRows($,0,Y),this._setStyleOption($,z),this.getRow($)}insertRows($,Y,z="n"){if(this.spliceRows($,0,...Y),z!=="n"){for(let U=0;U{Q.getCell(I).style=f40(J.style)}),Q.height=U.height}duplicateRow($,Y,z=!1){let U=this._rows[$-1],Q=Array(Y).fill(U.values);this.spliceRows($+1,z?0:Y,...Q);for(let J=0;J{I.getCell(G).style=K.style})}}spliceRows($,Y,...z){let U=$+Y,Q=z.length,J=Q-Y,I=this._rows.length,K,G;if(J<0){if($===I)this._rows[I-1]=void 0;for(K=U;K<=I;K++)if(G=this._rows[K-1],G){let W=this.getRow(K+J);W.values=G.values,W.style=G.style,W.height=G.height,G.eachCell({includeEmpty:!0},(H,X)=>{W.getCell(X).style=H.style}),this._rows[K-1]=void 0}else this._rows[K+J-1]=void 0}else if(J>0)for(K=I;K>=U;K--)if(G=this._rows[K-1],G){let W=this.getRow(K+J);W.values=G.values,W.style=G.style,W.height=G.height,G.eachCell({includeEmpty:!0},(H,X)=>{if(W.getCell(X).style=H.style,H._value.constructor.name==="MergeValue"){let Z=this.getRow(H._row._number+Q).getCell(X),q=H._value._master,V=this.getRow(q._row._number+Q).getCell(q._column._number);Z.merge(V)}})}else this._rows[K+J-1]=void 0;for(K=0;K{if(z&&z.hasValues)Y(z,z.number)})}getSheetValues(){let $=[];return this._rows.forEach((Y)=>{if(Y)$[Y.number]=Y.values}),$}findCell($,Y){let z=gW.getAddress($,Y),U=this._rows[z.row-1];return U?U.findCell(z.col):void 0}getCell($,Y){let z=gW.getAddress($,Y);return this.getRow(z.row).getCellEx(z)}mergeCells(...$){let Y=new yW($);this._mergeCellsInternal(Y)}mergeCellsWithoutStyle(...$){let Y=new yW($);this._mergeCellsInternal(Y,!0)}_mergeCellsInternal($,Y){SW.each(this._merges,(U)=>{if(U.intersects($))throw Error("Cannot merge already merged cells")});let z=this.getCell($.top,$.left);for(let U=$.top;U<=$.bottom;U++)for(let Q=$.left;Q<=$.right;Q++)if(U>$.top||Q>$.left)this.getCell(U,Q).merge(z,Y);this._merges[z.address]=$}_unMergeMaster($){let Y=this._merges[$.address];if(Y){for(let z=Y.top;z<=Y.bottom;z++)for(let U=Y.left;U<=Y.right;U++)this.getCell(z,U).unmerge();delete this._merges[$.address]}}get hasMerges(){return SW.some(this._merges,Boolean)}unMergeCells(...$){let Y=new yW($);for(let z=Y.top;z<=Y.bottom;z++)for(let U=Y.left;U<=Y.right;U++){let Q=this.findCell(z,U);if(Q){if(Q.type===Xc0.ValueType.Merge)this._unMergeMaster(Q.master);else if(this._merges[Q.address])this._unMergeMaster(Q)}}}fillFormula($,Y,z,U="shared"){let Q=gW.decode($),{top:J,left:I,bottom:K,right:G}=Q,W=G-I+1,H=gW.encodeAddress(J,I),X=U==="shared",Z;if(typeof z==="function")Z=z;else if(Array.isArray(z))if(Array.isArray(z[0]))Z=(V,F)=>z[V-J][F-I];else Z=(V,F)=>z[(V-J)*W+(F-I)];else Z=()=>{return};let q=!0;for(let V=J;V<=K;V++)for(let F=I;F<=G;F++)if(q)this.getCell(V,F).value={shareType:U,formula:Y,ref:$,result:Z(V,F)},q=!1;else this.getCell(V,F).value=X?{sharedFormula:H,result:Z(V,F)}:Z(V,F)}addImage($,Y){let z={type:"image",imageId:$,range:Y};this._media.push(new zg(this,z))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let Y={type:"background",imageId:$};this._media.push(new zg(this,Y))}getBackgroundImageId(){let $=this._media.find((Y)=>Y.type==="background");return $&&$.imageId}protect($,Y){return new Promise((z)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=x40.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=x40.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}z()})}unprotect(){this.sheetProtection=null}addTable($){let Y=new y40(this,$);return this.tables[$.name]=Y,Y}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((U)=>U.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((U)=>U.model),conditionalFormattings:this.conditionalFormattings};$.cols=TM.toModel(this.columns);let Y=$.rows=[],z=$.dimensions=new yW;return this._rows.forEach((U)=>{let Q=U&&U.model;if(Q)z.expand(Q.number,Q.min,Q.number,Q.max),Y.push(Q)}),$.merges=[],SW.each(this._merges,(U)=>{$.merges.push(U.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((Y)=>{let z=new g40(this,Y.number);this._rows[z.number-1]=z,z.model=Y})}_parseMergeCells($){SW.each($.mergeCells,(Y)=>{this.mergeCellsWithoutStyle(Y)})}set model($){this.name=$.name,this._columns=TM.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new k40($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((Y)=>new zg(this,Y)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((Y,z)=>{let U=new y40;return U.model=z,Y[z.name]=U,Y},{}),this.conditionalFormattings=$.conditionalFormattings}}b40.exports=u40});var d40=E((Rc1,p40)=>{var c40=Y6(),jM=i4();class n40{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(jM.decodeEx($))}getCell($){return this.findCellEx(jM.decodeEx($),!0)}findCell($){return this.findCellEx(jM.decodeEx($),!1)}findCellAt($,Y,z){let U=this.sheets[$],Q=U&&U[Y];return Q&&Q[z]}addCellEx($){if($.top)for(let Y=$.top;Y<=$.bottom;Y++)for(let z=$.left;z<=$.right;z++)this.getCellAt($.sheetName,Y,z);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,Y){let z=this.findSheet($,Y),U=this.findSheetRow(z,$,Y);return this.findRowCell(U,$,Y)}getCellAt($,Y,z){let U=this.sheets[$]||(this.sheets[$]=[]),Q=U[Y]||(U[Y]=[]);return Q[z]||(Q[z]={sheetName:$,address:jM.n2l(z)+Y,row:Y,col:z})}removeCellEx($){let Y=this.findSheet($);if(!Y)return;let z=this.findSheetRow(Y,$);if(!z)return;delete z[$.col]}forEachInSheet($,Y){let z=this.sheets[$];if(z)z.forEach((U,Q)=>{if(U)U.forEach((J,I)=>{if(J)Y(J,Q,I)})})}forEach($){c40.each(this.sheets,(Y,z)=>{this.forEachInSheet(z,$)})}map($){let Y=[];return this.forEach((z)=>{Y.push($(z))}),Y}findSheet($,Y){let z=$.sheetName;if(this.sheets[z])return this.sheets[z];if(Y)return this.sheets[z]=[];return}findSheetRow($,Y,z){let{row:U}=Y;if($&&$[U])return $[U];if(z)return $[U]=[];return}findRowCell($,Y,z){let{col:U}=Y;if($&&$[U])return $[U];if(z)return $[U]=this.template?Object.assign(Y,JSON.parse(JSON.stringify(this.template))):Y;return}spliceRows($,Y,z,U){let Q=this.sheets[$];if(Q){let J=[];for(let I=0;I{I.splice(Y,z,...J)})}}}p40.exports=n40});var Ug=E((_c1,o40)=>{var lQ=Y6(),kW=i4(),m40=d40(),Zc0=$7(),qc0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class l40{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new m40)}add($,Y){let z=kW.decodeEx($);this.addEx(z,Y)}addEx($,Y){let z=this.getMatrix(Y);if($.top)for(let U=$.left;U<=$.right;U++)for(let Q=$.top;Q<=$.bottom;Q++){let J={sheetName:$.sheetName,address:kW.n2l(U)+Q,row:Q,col:U};z.addCellEx(J)}else z.addCellEx($)}remove($,Y){let z=kW.decodeEx($);this.removeEx(z,Y)}removeEx($,Y){this.getMatrix(Y).removeCellEx($)}removeAllNames($){lQ.each(this.matrixMap,(Y)=>{Y.removeCellEx($)})}forEach($){lQ.each(this.matrixMap,(Y,z)=>{Y.forEach((U)=>{$(z,U)})})}getNames($){return this.getNamesEx(kW.decodeEx($))}getNamesEx($){return lQ.map(this.matrixMap,(Y,z)=>Y.findCellEx($)&&z).filter(Boolean)}_explore($,Y){Y.mark=!1;let{sheetName:z}=Y,U=new Zc0(Y.row,Y.col,Y.row,Y.col,z),Q,J;function I(G,W){let H=$.findCellAt(z,G,Y.col);if(!H||!H.mark)return!1;return U[W]=G,H.mark=!1,!0}for(J=Y.row-1;I(J,"top");J--);for(J=Y.row+1;I(J,"bottom");J++);function K(G,W){let H=[];for(J=U.top;J<=U.bottom;J++){let X=$.findCellAt(z,J,G);if(X&&X.mark)H.push(X);else return!1}U[W]=G;for(let X=0;X{U.mark=!0});let z=Y.map((U)=>U.mark&&this._explore(Y,U)).filter(Boolean).map((U)=>U.$shortRange);return{name:$,ranges:z}}normaliseMatrix($,Y){$.forEachInSheet(Y,(z,U,Q)=>{if(z){if(z.row!==U||z.col!==Q)z.row=U,z.col=Q,z.address=kW.n2l(Q)+U}})}spliceRows($,Y,z,U){lQ.each(this.matrixMap,(Q)=>{Q.spliceRows($,Y,z,U),this.normaliseMatrix(Q,$)})}spliceColumns($,Y,z,U){lQ.each(this.matrixMap,(Q)=>{Q.spliceColumns($,Y,z,U),this.normaliseMatrix(Q,$)})}get model(){return lQ.map(this.matrixMap,($,Y)=>this.getRanges(Y,$)).filter(($)=>$.ranges.length)}set model($){let Y=this.matrixMap={};$.forEach((z)=>{let U=Y[z.name]=new m40;z.ranges.forEach((Q)=>{if(qc0.test(Q.split("!").pop()||""))U.addCell(Q)})})}}o40.exports=l40});var I6=E((vc1,Qg)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)Qg.exports={nextTick:Vc0};else Qg.exports=process;function Vc0($,Y,z,U){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var Q=arguments.length,J,I;switch(Q){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,Y)});case 3:return process.nextTick(function(){$.call(null,Y,z)});case 4:return process.nextTick(function(){$.call(null,Y,z,U)});default:J=Array(Q-1),I=0;while(I{var Lc0={}.toString;r40.exports=Array.isArray||function($){return Lc0.call($)=="[object Array]"}});var K6=E((Jg,a40)=>{var EM=I0("buffer"),Y7=EM.Buffer;function s40($,Y){for(var z in $)Y[z]=$[z]}if(Y7.from&&Y7.alloc&&Y7.allocUnsafe&&Y7.allocUnsafeSlow)a40.exports=EM;else s40(EM,Jg),Jg.Buffer=rQ;function rQ($,Y,z){return Y7($,Y,z)}s40(Y7,rQ);rQ.from=function($,Y,z){if(typeof $==="number")throw TypeError("Argument must not be a number");return Y7($,Y,z)};rQ.alloc=function($,Y,z){if(typeof $!=="number")throw TypeError("Argument must be a number");var U=Y7($);if(Y!==void 0)if(typeof z==="string")U.fill(Y,z);else U.fill(Y);else U.fill(0);return U};rQ.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return Y7($)};rQ.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return EM.SlowBuffer($)}});var M4=E((_c0)=>{function Fc0($){if(Array.isArray)return Array.isArray($);return CM($)==="[object Array]"}_c0.isArray=Fc0;function wc0($){return typeof $==="boolean"}_c0.isBoolean=wc0;function Mc0($){return $===null}_c0.isNull=Mc0;function Oc0($){return $==null}_c0.isNullOrUndefined=Oc0;function Nc0($){return typeof $==="number"}_c0.isNumber=Nc0;function Dc0($){return typeof $==="string"}_c0.isString=Dc0;function Bc0($){return typeof $==="symbol"}_c0.isSymbol=Bc0;function Pc0($){return $===void 0}_c0.isUndefined=Pc0;function Ac0($){return CM($)==="[object RegExp]"}_c0.isRegExp=Ac0;function Tc0($){return typeof $==="object"&&$!==null}_c0.isObject=Tc0;function jc0($){return CM($)==="[object Date]"}_c0.isDate=jc0;function Ec0($){return CM($)==="[object Error]"||$ instanceof Error}_c0.isError=Ec0;function Cc0($){return typeof $==="function"}_c0.isFunction=Cc0;function Rc0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}_c0.isPrimitive=Rc0;_c0.isBuffer=I0("buffer").Buffer.isBuffer;function CM($){return Object.prototype.toString.call($)}});var t40=E((gc1,Ig)=>{if(typeof Object.create==="function")Ig.exports=function(Y,z){if(z)Y.super_=z,Y.prototype=Object.create(z.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else Ig.exports=function(Y,z){if(z){Y.super_=z;var U=function(){};U.prototype=z.prototype,Y.prototype=new U,Y.prototype.constructor=Y}}});var X1=E((yc1,Kg)=>{try{if(RM=I0("util"),typeof RM.inherits!=="function")throw"";Kg.exports=RM.inherits}catch($){Kg.exports=t40()}var RM});var $60=E((kc1,Gg)=>{function mc0($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var e40=K6().Buffer,xW=I0("util");function lc0($,Y,z){$.copy(Y,z)}Gg.exports=function(){function $(){mc0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return e40.alloc(0);var U=e40.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)lc0(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(xW&&xW.inspect&&xW.inspect.custom)Gg.exports.prototype[xW.inspect.custom]=function(){var $=xW.inspect({length:this.length});return this.constructor.name+" "+$}});var Wg=E((xc1,Y60)=>{var _M=I6();function oc0($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)_M.nextTick(vM,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,_M.nextTick(vM,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)_M.nextTick(vM,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,_M.nextTick(vM,z,J)}else if(Y)Y(J)}),this}function rc0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function vM($,Y){$.emit("error",Y)}Y60.exports={destroy:oc0,undestroy:rc0}});var S3=E((fc1,z60)=>{z60.exports=I0("util").deprecate});var Xg=E((uc1,H60)=>{var cY=I6();H60.exports=Z6;function Q60($){var Y=this;this.next=null,this.entry=null,this.finish=function(){qn0(Y,$)}}var sc0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:cY.nextTick,sQ;Z6.WritableState=uW;var J60=Object.create(M4());J60.inherits=X1();var ac0={deprecate:S3()},I60=I0("stream"),SM=K6().Buffer,tc0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ec0($){return SM.from($)}function $n0($){return SM.isBuffer($)||$ instanceof tc0}var K60=Wg();J60.inherits(Z6,I60);function Yn0(){}function uW($,Y){sQ=sQ||nY(),$=$||{};var z=Y instanceof sQ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){Gn0(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Q60(this)}uW.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(uW.prototype,"buffer",{get:ac0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var hM;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")hM=Function.prototype[Symbol.hasInstance],Object.defineProperty(Z6,Symbol.hasInstance,{value:function($){if(hM.call(this,$))return!0;if(this!==Z6)return!1;return $&&$._writableState instanceof uW}});else hM=function($){return $ instanceof this};function Z6($){if(sQ=sQ||nY(),!hM.call(Z6,this)&&!(this instanceof sQ))return new Z6($);if(this._writableState=new uW($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}I60.call(this)}Z6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function zn0($,Y){var z=Error("write after end");$.emit("error",z),cY.nextTick(Y,z)}function Un0($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),cY.nextTick(U,J),Q=!1;return Q}Z6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&$n0($);if(J&&!SM.isBuffer($))$=ec0($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=Yn0;if(U.ended)zn0(this,z);else if(J||Un0(this,U,$,z))U.pendingcb++,Q=Jn0(this,U,J,$,Y,z);return Q};Z6.prototype.cork=function(){var $=this._writableState;$.corked++};Z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)G60(this,$)}};Z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function Qn0($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=SM.from(Y,z);return Y}Object.defineProperty(Z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Jn0($,Y,z,U,Q,J){if(!z){var I=Qn0(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var X60=I6(),Vn0=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};V60.exports=z7;var Z60=Object.create(M4());Z60.inherits=X1();var q60=qg(),Zg=Xg();Z60.inherits(z7,q60);{gM=Vn0(Zg.prototype);for(bW=0;bW{var Lg=K6().Buffer,L60=Lg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function wn0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Mn0($){var Y=wn0($);if(typeof Y!=="string"&&(Lg.isEncoding===L60||!L60($)))throw Error("Unknown encoding: "+$);return Y||$}_n0.StringDecoder=cW;function cW($){this.encoding=Mn0($);var Y;switch(this.encoding){case"utf16le":this.text=An0,this.end=Tn0,Y=4;break;case"utf8":this.fillLast=Dn0,Y=4;break;case"base64":this.text=jn0,this.end=En0,Y=3;break;default:this.write=Cn0,this.end=Rn0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Lg.allocUnsafe(Y)}cW.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};cW.prototype.end=Pn0;cW.prototype.text=Bn0;cW.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Vg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function On0($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function Nn0($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function Dn0($){var Y=this.lastTotal-this.lastNeed,z=Nn0(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function Bn0($,Y){var z=On0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function Pn0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function An0($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function Tn0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function jn0($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function En0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function Cn0($){return $.toString(this.encoding)}function Rn0($){return $&&$.length?this.write($):""}});var qg=E((nc1,E60)=>{var tQ=I6();E60.exports=P4;var hn0=oQ(),nW;P4.ReadableState=B60;var cc1=I0("events").EventEmitter,O60=function($,Y){return $.listeners(Y).length},Dg=I0("stream"),pW=K6().Buffer,Sn0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function gn0($){return pW.from($)}function yn0($){return pW.isBuffer($)||$ instanceof Sn0}var N60=Object.create(M4());N60.inherits=X1();var wg=I0("util"),t1=void 0;if(wg&&wg.debuglog)t1=wg.debuglog("stream");else t1=function(){};var kn0=$60(),D60=Wg(),aQ;N60.inherits(P4,Dg);var Mg=["error","close","destroy","pause","resume"];function xn0($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(hn0($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function B60($,Y){nW=nW||nY(),$=$||{};var z=Y instanceof nW;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new kn0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!aQ)aQ=Fg().StringDecoder;this.decoder=new aQ($.encoding),this.encoding=$.encoding}}function P4($){if(nW=nW||nY(),!(this instanceof P4))return new P4($);if(this._readableState=new B60($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Dg.call(this)}Object.defineProperty(P4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});P4.prototype.destroy=D60.destroy;P4.prototype._undestroy=D60.undestroy;P4.prototype._destroy=function($,Y){this.push(null),Y($)};P4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=pW.from($,Y),Y="";U=!0}}else U=!0;return P60(this,$,Y,!1,U)};P4.prototype.unshift=function($){return P60(this,$,null,!0,!1)};function P60($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,in0($,J);else{var I;if(!Q)I=fn0(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==pW.prototype)Y=gn0(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Og($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Og($,J,Y,!1);else A60($,J);else Og($,J,Y,!1)}else if(!U)J.reading=!1}return un0(J)}function Og($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)yM($)}A60($,Y)}function fn0($,Y){var z;if(!yn0(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function un0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}P4.prototype.isPaused=function(){return this._readableState.flowing===!1};P4.prototype.setEncoding=function($){if(!aQ)aQ=Fg().StringDecoder;return this._readableState.decoder=new aQ($),this._readableState.encoding=$,this};var F60=8388608;function bn0($){if($>=F60)$=F60;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function w60($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=bn0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}P4.prototype.read=function($){t1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(t1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Ng(this);else yM(this);return null}if($=w60($,Y),$===0&&Y.ended){if(Y.length===0)Ng(this);return null}var U=Y.needReadable;if(t1("need readable",U),Y.length===0||Y.length-$0)Q=T60($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Ng(this)}if(Q!==null)this.emit("data",Q);return Q};function in0($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,yM($)}function yM($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(t1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)tQ.nextTick(M60,$);else M60($)}function M60($){t1("emit readable"),$.emit("readable"),Bg($)}function A60($,Y){if(!Y.readingMore)Y.readingMore=!0,tQ.nextTick(cn0,$,Y)}function cn0($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&j60(U.pipes,$)!==-1)&&!W)t1("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(t1("onerror",w),M(),$.removeListener("error",q),O60($,"error")===0)$.emit("error",w)}xn0($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){t1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){t1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)t1("pipe resume"),z.resume();return $};function nn0($){return function(){var Y=$._readableState;if(t1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&O60($,"data"))Y.flowing=!0,Bg($)}}P4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=ln0($,Y.buffer,Y.decoder);return z}function ln0($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function rn0($,Y){var z=pW.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function Ng($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,tQ.nextTick(sn0,Y,$)}function sn0($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function j60($,Y){for(var z=0,U=$.length;z{_60.exports=U7;var kM=nY(),R60=Object.create(M4());R60.inherits=X1();R60.inherits(U7,kM);function an0($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{S60.exports=dW;var v60=Pg(),h60=Object.create(M4());h60.inherits=X1();h60.inherits(dW,v60);function dW($){if(!(this instanceof dW))return new dW($);v60.call(this,$)}dW.prototype._transform=function($,Y,z){z(null,$)}});var Ag=E((d6,xM)=>{var r5=I0("stream");if(process.env.READABLE_STREAM==="disable"&&r5)xM.exports=r5,d6=xM.exports=r5.Readable,d6.Readable=r5.Readable,d6.Writable=r5.Writable,d6.Duplex=r5.Duplex,d6.Transform=r5.Transform,d6.PassThrough=r5.PassThrough,d6.Stream=r5;else d6=xM.exports=qg(),d6.Stream=r5||d6,d6.Readable=d6,d6.Writable=Xg(),d6.Duplex=nY(),d6.Transform=Pg(),d6.PassThrough=g60()});var Q7=E(($p0)=>{$p0.base64=!0;$p0.array=!0;$p0.string=!0;$p0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";$p0.nodebuffer=typeof Buffer<"u";$p0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")$p0.blob=!1;else{fM=new ArrayBuffer(0);try{$p0.blob=new Blob([fM],{type:"application/zip"}).size===0}catch($){try{jg=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,uM=new jg,uM.append(fM),$p0.blob=uM.getBlob("application/zip").size===0}catch(Y){$p0.blob=!1}}}var fM,jg,uM;try{$p0.nodestream=!!Ag().Readable}catch($){$p0.nodestream=!1}});var Eg=E((Wp0)=>{var Kp0=c4(),Gp0=Q7(),s5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Wp0.encode=function($){var Y=[],z,U,Q,J,I,K,G,W=0,H=$.length,X=H,Z=Kp0.getTypeOf($)!=="string";while(W<$.length){if(X=H-W,!Z)z=$.charCodeAt(W++),U=W>2,I=(z&3)<<4|U>>4,K=X>1?(U&15)<<2|Q>>6:64,G=X>2?Q&63:64,Y.push(s5.charAt(J)+s5.charAt(I)+s5.charAt(K)+s5.charAt(G))}return Y.join("")};Wp0.decode=function($){var Y,z,U,Q,J,I,K,G=0,W=0,H="data:";if($.substr(0,H.length)===H)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var X=$.length*3/4;if($.charAt($.length-1)===s5.charAt(64))X--;if($.charAt($.length-2)===s5.charAt(64))X--;if(X%1!==0)throw Error("Invalid base64 input, bad content length.");var Z;if(Gp0.uint8array)Z=new Uint8Array(X|0);else Z=Array(X|0);while(G<$.length){if(Q=s5.indexOf($.charAt(G++)),J=s5.indexOf($.charAt(G++)),I=s5.indexOf($.charAt(G++)),K=s5.indexOf($.charAt(G++)),Y=Q<<2|J>>4,z=(J&15)<<4|I>>2,U=(I&3)<<6|K,Z[W++]=Y,I!==64)Z[W++]=z;if(K!==64)Z[W++]=U}return Z}});var mW=E((oc1,y60)=>{y60.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,Y){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,Y);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,Y)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var Y=new Buffer($);return Y.fill(0),Y}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var f60=E((sc1,x60)=>{var rc1=global.MutationObserver||global.WebKitMutationObserver,k60;k60=function(){process.nextTick(Fp0)};var Zp0,qp0,Vp0,Lp0,Cg,lW=[];function Fp0(){Cg=!0;var $,Y,z=lW.length;while(z){Y=lW,lW=[],$=-1;while(++${var u60=f60();function $J(){}var X8={},b60=["REJECTED"],Rg=["FULFILLED"],i60=["PENDING"];eQ=["UNHANDLED"];var eQ;p60.exports=g3;function g3($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=i60,this.queue=[],this.outcome=void 0,this.handled=eQ,$!==$J)c60(this,$)}g3.prototype.finally=function($){if(typeof $!=="function")return this;var Y=this.constructor;return this.then(z,U);function z(Q){function J(){return Q}return Y.resolve($()).then(J)}function U(Q){function J(){throw Q}return Y.resolve($()).then(J)}};g3.prototype.catch=function($){return this.then(null,$)};g3.prototype.then=function($,Y){if(typeof $!=="function"&&this.state===Rg||typeof Y!=="function"&&this.state===b60)return this;var z=new this.constructor($J);if(this.handled===eQ)this.handled=null;if(this.state!==i60){var U=this.state===Rg?$:Y;_g(z,U,this.outcome)}else this.queue.push(new oW(z,$,Y));return z};function oW($,Y,z){if(this.promise=$,typeof Y==="function")this.onFulfilled=Y,this.callFulfilled=this.otherCallFulfilled;if(typeof z==="function")this.onRejected=z,this.callRejected=this.otherCallRejected}oW.prototype.callFulfilled=function($){X8.resolve(this.promise,$)};oW.prototype.otherCallFulfilled=function($){_g(this.promise,this.onFulfilled,$)};oW.prototype.callRejected=function($){X8.reject(this.promise,$)};oW.prototype.otherCallRejected=function($){_g(this.promise,this.onRejected,$)};function _g($,Y,z){u60(function(){var U;try{U=Y(z)}catch(Q){return X8.reject($,Q)}if(U===$)X8.reject($,TypeError("Cannot resolve promise with itself"));else X8.resolve($,U)})}X8.resolve=function($,Y){var z=n60(Mp0,Y);if(z.status==="error")return X8.reject($,z.value);var U=z.value;if(U)c60($,U);else{$.state=Rg,$.outcome=Y;var Q=-1,J=$.queue.length;while(++Q{var vg=null;if(typeof Promise<"u")vg=Promise;else vg=d60();m60.exports={Promise:vg}});var hg=E((l60)=>{(function($,Y){if($.setImmediate)return;var z=1,U={},Q=!1,J=$.document,I;function K(O){if(typeof O!=="function")O=Function(""+O);var N=Array(arguments.length-1);for(var D=0;D"u"?typeof global>"u"?l60:global:self)});var c4=E((Tp0)=>{var y3=Q7(),Pp0=Eg(),zJ=mW(),Sg=YJ();hg();function Ap0($){var Y=null;if(y3.uint8array)Y=new Uint8Array($.length);else Y=Array($.length);return iM($,Y)}Tp0.newBlob=function($,Y){Tp0.checkSupport("blob");try{return new Blob([$],{type:Y})}catch(Q){try{var z=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,U=new z;return U.append($),U.getBlob(Y)}catch(J){throw Error("Bug : can't construct the Blob.")}}};function rW($){return $}function iM($,Y){for(var z=0;z<$.length;++z)Y[z]=$.charCodeAt(z)&255;return Y}var bM={stringifyByChunk:function($,Y,z){var U=[],Q=0,J=$.length;if(J<=z)return String.fromCharCode.apply(null,$);while(Q1)try{return bM.stringifyByChunk($,z,Y)}catch(Q){Y=Math.floor(Y/2)}return bM.stringifyByChar($)}Tp0.applyFromCharCode=sW;function cM($,Y){for(var z=0;z<$.length;z++)Y[z]=$[z];return Y}var k3={};k3.string={string:rW,array:function($){return iM($,Array($.length))},arraybuffer:function($){return k3.string.uint8array($).buffer},uint8array:function($){return iM($,new Uint8Array($.length))},nodebuffer:function($){return iM($,zJ.allocBuffer($.length))}};k3.array={string:sW,array:rW,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return zJ.newBufferFrom($)}};k3.arraybuffer={string:function($){return sW(new Uint8Array($))},array:function($){return cM(new Uint8Array($),Array($.byteLength))},arraybuffer:rW,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return zJ.newBufferFrom(new Uint8Array($))}};k3.uint8array={string:sW,array:function($){return cM($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:rW,nodebuffer:function($){return zJ.newBufferFrom($)}};k3.nodebuffer={string:sW,array:function($){return cM($,Array($.length))},arraybuffer:function($){return k3.nodebuffer.uint8array($).buffer},uint8array:function($){return cM($,new Uint8Array($.length))},nodebuffer:rW};Tp0.transformTo=function($,Y){if(!Y)Y="";if(!$)return Y;Tp0.checkSupport($);var z=Tp0.getTypeOf(Y),U=k3[z][$](Y);return U};Tp0.resolve=function($){var Y=$.split("/"),z=[];for(var U=0;U"u")$[z]=arguments[Y][z];return $};Tp0.prepareContent=function($,Y,z,U,Q){var J=Sg.Promise.resolve(Y).then(function(I){var K=y3.blob&&(I instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(I))!==-1);if(K&&typeof FileReader<"u")return new Sg.Promise(function(G,W){var H=new FileReader;H.onload=function(X){G(X.target.result)},H.onerror=function(X){W(X.target.error)},H.readAsArrayBuffer(I)});else return I});return J.then(function(I){var K=Tp0.getTypeOf(I);if(!K)return Sg.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(K==="arraybuffer")I=Tp0.transformTo("uint8array",I);else if(K==="string"){if(Q)I=Pp0.decode(I);else if(z){if(U!==!0)I=Ap0(I)}}return I})}});var I$=E((Yn1,a60)=>{function s60($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}s60.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,Y){return this._listeners[$].push(Y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,Y){if(this._listeners[$])for(var z=0;z "+$;else return $}};a60.exports=s60});var QJ=E((bp0)=>{var UJ=c4(),pY=Q7(),kp0=mW(),nM=I$(),aW=Array(256);for(a5=0;a5<256;a5++)aW[a5]=a5>=252?6:a5>=248?5:a5>=240?4:a5>=224?3:a5>=192?2:1;var a5;aW[254]=aW[254]=1;var xp0=function($){var Y,z,U,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|z&63;else if(z<65536)Y[J++]=224|z>>>12,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63;else Y[J++]=240|z>>>18,Y[J++]=128|z>>>12&63,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63}return Y},fp0=function($,Y){var z;if(Y=Y||$.length,Y>$.length)Y=$.length;z=Y-1;while(z>=0&&($[z]&192)===128)z--;if(z<0)return Y;if(z===0)return Y;return z+aW[$[z]]>Y?z:Y},up0=function($){var Y,z,U,Q,J=$.length,I=Array(J*2);for(z=0,Y=0;Y4){I[z++]=65533,Y+=Q-1;continue}U&=Q===2?31:Q===3?15:7;while(Q>1&&Y1){I[z++]=65533;continue}if(U<65536)I[z++]=U;else U-=65536,I[z++]=55296|U>>10&1023,I[z++]=56320|U&1023}if(I.length!==z)if(I.subarray)I=I.subarray(0,z);else I.length=z;return UJ.applyFromCharCode(I)};bp0.utf8encode=function(Y){if(pY.nodebuffer)return kp0.newBufferFrom(Y,"utf-8");return xp0(Y)};bp0.utf8decode=function(Y){if(pY.nodebuffer)return UJ.transformTo("nodebuffer",Y).toString("utf-8");return Y=UJ.transformTo(pY.uint8array?"uint8array":"array",Y),up0(Y)};function pM(){nM.call(this,"utf-8 decode"),this.leftOver=null}UJ.inherits(pM,nM);pM.prototype.processChunk=function($){var Y=UJ.transformTo(pY.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(pY.uint8array){var z=Y;Y=new Uint8Array(z.length+this.leftOver.length),Y.set(this.leftOver,0),Y.set(z,this.leftOver.length)}else Y=this.leftOver.concat(Y);this.leftOver=null}var U=fp0(Y),Q=Y;if(U!==Y.length)if(pY.uint8array)Q=Y.subarray(0,U),this.leftOver=Y.subarray(U,Y.length);else Q=Y.slice(0,U),this.leftOver=Y.slice(U,Y.length);this.push({data:bp0.utf8decode(Q),meta:$.meta})};pM.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:bp0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};bp0.Utf8DecodeWorker=pM;function yg(){nM.call(this,"utf-8 encode")}UJ.inherits(yg,nM);yg.prototype.processChunk=function($){this.push({data:bp0.utf8encode($.data),meta:$.meta})};bp0.Utf8EncodeWorker=yg});var z80=E((Un1,Y80)=>{var e60=I$(),$80=c4();function xg($){e60.call(this,"ConvertWorker to "+$),this.destType=$}$80.inherits(xg,e60);xg.prototype.processChunk=function($){this.push({data:$80.transformTo(this.destType,$.data),meta:$.meta})};Y80.exports=xg});var J80=E((Qn1,Q80)=>{var U80=Ag().Readable,np0=c4();np0.inherits(fg,U80);function fg($,Y,z){U80.call(this,Y),this._helper=$;var U=this;$.on("data",function(Q,J){if(!U.push(Q))U._helper.pause();if(z)z(J)}).on("error",function(Q){U.emit("error",Q)}).on("end",function(){U.push(null)})}fg.prototype._read=function(){this._helper.resume()};Q80.exports=fg});var ug=E((Jn1,G80)=>{var dY=c4(),pp0=z80(),dp0=I$(),mp0=Eg(),lp0=Q7(),op0=YJ(),I80=null;if(lp0.nodestream)try{I80=J80()}catch($){}function rp0($,Y,z){switch($){case"blob":return dY.newBlob(dY.transformTo("arraybuffer",Y),z);case"base64":return mp0.encode(Y);default:return dY.transformTo($,Y)}}function sp0($,Y){var z,U=0,Q=null,J=0;for(z=0;z{tp0.base64=!1;tp0.binary=!1;tp0.dir=!1;tp0.createFolders=!0;tp0.date=null;tp0.compression=null;tp0.compressionOptions=null;tp0.comment=null;tp0.unixPermissions=null;tp0.dosPermissions=null});var ig=E((Kn1,W80)=>{var dM=c4(),mM=I$(),Wd0=16384;function JJ($){mM.call(this,"DataWorker");var Y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(z){if(Y.dataIsReady=!0,Y.data=z,Y.max=z&&z.length||0,Y.type=dM.getTypeOf(z),!Y.isPaused)Y._tickAndRepeat()},function(z){Y.error(z)})}dM.inherits(JJ,mM);JJ.prototype.cleanUp=function(){mM.prototype.cleanUp.call(this),this.data=null};JJ.prototype.resume=function(){if(!mM.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,dM.delay(this._tickAndRepeat,[],this);return!0};JJ.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)dM.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};JJ.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=Wd0,Y=null,z=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":Y=this.data.substring(this.index,z);break;case"uint8array":Y=this.data.subarray(this.index,z);break;case"array":case"nodebuffer":Y=this.data.slice(this.index,z);break}return this.index=z,this.push({data:Y,meta:{percent:this.max?this.index/this.max*100:0}})}};W80.exports=JJ});var lM=E((Gn1,X80)=>{var Hd0=c4();function Xd0(){var $,Y=[];for(var z=0;z<256;z++){$=z;for(var U=0;U<8;U++)$=$&1?3988292384^$>>>1:$>>>1;Y[z]=$}return Y}var H80=Xd0();function Zd0($,Y,z,U){var Q=H80,J=U+z;$=$^-1;for(var I=U;I>>8^Q[($^Y[I])&255];return $^-1}function qd0($,Y,z,U){var Q=H80,J=U+z;$=$^-1;for(var I=U;I>>8^Q[($^Y.charCodeAt(I))&255];return $^-1}X80.exports=function(Y,z){if(typeof Y>"u"||!Y.length)return 0;var U=Hd0.getTypeOf(Y)!=="string";if(U)return Zd0(z|0,Y,Y.length,0);else return qd0(z|0,Y,Y.length,0)}});var ng=E((Wn1,q80)=>{var Z80=I$(),Vd0=lM(),Ld0=c4();function cg(){Z80.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Ld0.inherits(cg,Z80);cg.prototype.processChunk=function($){this.streamInfo.crc32=Vd0($.data,this.streamInfo.crc32||0),this.push($)};q80.exports=cg});var L80=E((Hn1,V80)=>{var Fd0=c4(),pg=I$();function dg($){pg.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}Fd0.inherits(dg,pg);dg.prototype.processChunk=function($){if($){var Y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=Y+$.data.length}pg.prototype.processChunk.call(this,$)};V80.exports=dg});var oM=E((Xn1,M80)=>{var F80=YJ(),w80=ig(),wd0=ng(),mg=L80();function lg($,Y,z,U,Q){this.compressedSize=$,this.uncompressedSize=Y,this.crc32=z,this.compression=U,this.compressedContent=Q}lg.prototype={getContentWorker:function(){var $=new w80(F80.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new mg("data_length")),Y=this;return $.on("end",function(){if(this.streamInfo.data_length!==Y.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new w80(F80.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};lg.createWorkerFrom=function($,Y,z){return $.pipe(new wd0).pipe(new mg("uncompressedSize")).pipe(Y.compressWorker(z)).pipe(new mg("compressedSize")).withStreamInfo("compression",Y)};M80.exports=lg});var B80=E((Zn1,D80)=>{var Md0=ug(),Od0=ig(),og=QJ(),rg=oM(),O80=I$(),sg=function($,Y,z){this.name=$,this.dir=z.dir,this.date=z.date,this.comment=z.comment,this.unixPermissions=z.unixPermissions,this.dosPermissions=z.dosPermissions,this._data=Y,this._dataBinary=z.binary,this.options={compression:z.compression,compressionOptions:z.compressionOptions}};sg.prototype={internalStream:function($){var Y=null,z="string";try{if(!$)throw Error("No output type specified.");z=$.toLowerCase();var U=z==="string"||z==="text";if(z==="binarystring"||z==="text")z="string";Y=this._decompressWorker();var Q=!this._dataBinary;if(Q&&!U)Y=Y.pipe(new og.Utf8EncodeWorker);if(!Q&&U)Y=Y.pipe(new og.Utf8DecodeWorker)}catch(J){Y=new O80("error"),Y.error(J)}return new Md0(Y,z,"")},async:function($,Y){return this.internalStream($).accumulate(Y)},nodeStream:function($,Y){return this.internalStream($||"nodebuffer").toNodejsStream(Y)},_compressWorker:function($,Y){if(this._data instanceof rg&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var z=this._decompressWorker();if(!this._dataBinary)z=z.pipe(new og.Utf8EncodeWorker);return rg.createWorkerFrom(z,$,Y)}},_decompressWorker:function(){if(this._data instanceof rg)return this._data.getContentWorker();else if(this._data instanceof O80)return this._data;else return new Od0(this._data)}};var N80=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Nd0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(tW=0;tW{var Ad0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function Td0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}ag.assign=function($){var Y=Array.prototype.slice.call(arguments,1);while(Y.length){var z=Y.shift();if(!z)continue;if(typeof z!=="object")throw TypeError(z+"must be non-object");for(var U in z)if(Td0(z,U))$[U]=z[U]}return $};ag.shrinkBuf=function($,Y){if($.length===Y)return $;if($.subarray)return $.subarray(0,Y);return $.length=Y,$};var jd0={arraySet:function($,Y,z,U,Q){if(Y.subarray&&$.subarray){$.set(Y.subarray(z,z+U),Q);return}for(var J=0;J{var Rd0=J7(),_d0=4,A80=0,T80=1,vd0=2;function KJ($){var Y=$.length;while(--Y>=0)$[Y]=0}var hd0=0,v80=1,Sd0=2,gd0=3,yd0=258,Jy=29,QH=256,$H=QH+1+Jy,IJ=30,Iy=19,h80=2*$H+1,mY=15,eg=16,kd0=7,Ky=256,S80=16,g80=17,y80=18,Uy=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],rM=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],xd0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k80=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],fd0=512,I7=Array(($H+2)*2);KJ(I7);var eW=Array(IJ*2);KJ(eW);var YH=Array(fd0);KJ(YH);var zH=Array(yd0-gd0+1);KJ(zH);var Gy=Array(Jy);KJ(Gy);var sM=Array(IJ);KJ(sM);function $y($,Y,z,U,Q){this.static_tree=$,this.extra_bits=Y,this.extra_base=z,this.elems=U,this.max_length=Q,this.has_stree=$&&$.length}var x80,f80,u80;function Yy($,Y){this.dyn_tree=$,this.max_code=0,this.stat_desc=Y}function b80($){return $<256?YH[$]:YH[256+($>>>7)]}function UH($,Y){$.pending_buf[$.pending++]=Y&255,$.pending_buf[$.pending++]=Y>>>8&255}function n8($,Y,z){if($.bi_valid>eg-z)$.bi_buf|=Y<<$.bi_valid&65535,UH($,$.bi_buf),$.bi_buf=Y>>eg-$.bi_valid,$.bi_valid+=z-eg;else $.bi_buf|=Y<<$.bi_valid&65535,$.bi_valid+=z}function t5($,Y,z){n8($,z[Y*2],z[Y*2+1])}function i80($,Y){var z=0;do z|=$&1,$>>>=1,z<<=1;while(--Y>0);return z>>>1}function ud0($){if($.bi_valid===16)UH($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function bd0($,Y){var{dyn_tree:z,max_code:U}=Y,Q=Y.stat_desc.static_tree,J=Y.stat_desc.has_stree,I=Y.stat_desc.extra_bits,K=Y.stat_desc.extra_base,G=Y.stat_desc.max_length,W,H,X,Z,q,V,F=0;for(Z=0;Z<=mY;Z++)$.bl_count[Z]=0;z[$.heap[$.heap_max]*2+1]=0;for(W=$.heap_max+1;WG)Z=G,F++;if(z[H*2+1]=Z,H>U)continue;if($.bl_count[Z]++,q=0,H>=K)q=I[H-K];if(V=z[H*2],$.opt_len+=V*(Z+q),J)$.static_len+=V*(Q[H*2+1]+q)}if(F===0)return;do{Z=G-1;while($.bl_count[Z]===0)Z--;$.bl_count[Z]--,$.bl_count[Z+1]+=2,$.bl_count[G]--,F-=2}while(F>0);for(Z=G;Z!==0;Z--){H=$.bl_count[Z];while(H!==0){if(X=$.heap[--W],X>U)continue;if(z[X*2+1]!==Z)$.opt_len+=(Z-z[X*2+1])*z[X*2],z[X*2+1]=Z;H--}}}function c80($,Y,z){var U=Array(mY+1),Q=0,J,I;for(J=1;J<=mY;J++)U[J]=Q=Q+z[J-1]<<1;for(I=0;I<=Y;I++){var K=$[I*2+1];if(K===0)continue;$[I*2]=i80(U[K]++,K)}}function id0(){var $,Y,z,U,Q,J=Array(mY+1);z=0;for(U=0;U>=7;for(;U8)UH($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function cd0($,Y,z,U){if(p80($),U)UH($,z),UH($,~z);Rd0.arraySet($.pending_buf,$.window,Y,z,$.pending),$.pending+=z}function j80($,Y,z,U){var Q=Y*2,J=z*2;return $[Q]<$[J]||$[Q]===$[J]&&U[Y]<=U[z]}function zy($,Y,z){var U=$.heap[z],Q=z<<1;while(Q<=$.heap_len){if(Q<$.heap_len&&j80(Y,$.heap[Q+1],$.heap[Q],$.depth))Q++;if(j80(Y,U,$.heap[Q],$.depth))break;$.heap[z]=$.heap[Q],z=Q,Q<<=1}$.heap[z]=U}function E80($,Y,z){var U,Q,J=0,I,K;if($.last_lit!==0)do if(U=$.pending_buf[$.d_buf+J*2]<<8|$.pending_buf[$.d_buf+J*2+1],Q=$.pending_buf[$.l_buf+J],J++,U===0)t5($,Q,Y);else{if(I=zH[Q],t5($,I+QH+1,Y),K=Uy[I],K!==0)Q-=Gy[I],n8($,Q,K);if(U--,I=b80(U),t5($,I,z),K=rM[I],K!==0)U-=sM[I],n8($,U,K)}while(J<$.last_lit);t5($,Ky,Y)}function Qy($,Y){var z=Y.dyn_tree,U=Y.stat_desc.static_tree,Q=Y.stat_desc.has_stree,J=Y.stat_desc.elems,I,K,G=-1,W;$.heap_len=0,$.heap_max=h80;for(I=0;I>1;I>=1;I--)zy($,z,I);W=J;do I=$.heap[1],$.heap[1]=$.heap[$.heap_len--],zy($,z,1),K=$.heap[1],$.heap[--$.heap_max]=I,$.heap[--$.heap_max]=K,z[W*2]=z[I*2]+z[K*2],$.depth[W]=($.depth[I]>=$.depth[K]?$.depth[I]:$.depth[K])+1,z[I*2+1]=z[K*2+1]=W,$.heap[1]=W++,zy($,z,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],bd0($,Y),c80(z,G,$.bl_count)}function C80($,Y,z){var U,Q=-1,J,I=Y[1],K=0,G=7,W=4;if(I===0)G=138,W=3;Y[(z+1)*2+1]=65535;for(U=0;U<=z;U++){if(J=I,I=Y[(U+1)*2+1],++K=3;Y--)if($.bl_tree[k80[Y]*2+1]!==0)break;return $.opt_len+=3*(Y+1)+5+5+4,Y}function pd0($,Y,z,U){var Q;n8($,Y-257,5),n8($,z-1,5),n8($,U-4,4);for(Q=0;Q>>=1)if(Y&1&&$.dyn_ltree[z*2]!==0)return A80;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return T80;for(z=32;z0){if($.strm.data_type===vd0)$.strm.data_type=dd0($);if(Qy($,$.l_desc),Qy($,$.d_desc),I=nd0($),Q=$.opt_len+3+7>>>3,J=$.static_len+3+7>>>3,J<=Q)Q=J}else Q=J=z+5;if(z+4<=Q&&Y!==-1)d80($,Y,z,U);else if($.strategy===_d0||J===Q)n8($,(v80<<1)+(U?1:0),3),E80($,I7,eW);else n8($,(Sd0<<1)+(U?1:0),3),pd0($,$.l_desc.max_code+1,$.d_desc.max_code+1,I+1),E80($,$.dyn_ltree,$.dyn_dtree);if(n80($),U)p80($)}function rd0($,Y,z){if($.pending_buf[$.d_buf+$.last_lit*2]=Y>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=Y&255,$.pending_buf[$.l_buf+$.last_lit]=z&255,$.last_lit++,Y===0)$.dyn_ltree[z*2]++;else $.matches++,Y--,$.dyn_ltree[(zH[z]+QH+1)*2]++,$.dyn_dtree[b80(Y)*2]++;return $.last_lit===$.lit_bufsize-1}sd0._tr_init=md0;sd0._tr_stored_block=d80;sd0._tr_flush_block=od0;sd0._tr_tally=rd0;sd0._tr_align=ld0});var Wy=E((Ln1,l80)=>{function zm0($,Y,z,U){var Q=$&65535|0,J=$>>>16&65535|0,I=0;while(z!==0){I=z>2000?2000:z,z-=I;do Q=Q+Y[U++]|0,J=J+Q|0;while(--I);Q%=65521,J%=65521}return Q|J<<16|0}l80.exports=zm0});var Hy=E((Fn1,o80)=>{function Um0(){var $,Y=[];for(var z=0;z<256;z++){$=z;for(var U=0;U<8;U++)$=$&1?3988292384^$>>>1:$>>>1;Y[z]=$}return Y}var Qm0=Um0();function Jm0($,Y,z,U){var Q=Qm0,J=U+z;$^=-1;for(var I=U;I>>8^Q[($^Y[I])&255];return $^-1}o80.exports=Jm0});var aM=E((wn1,r80)=>{r80.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var Q$0=E((fm0)=>{var j8=J7(),j$=m80(),e80=Wy(),x3=Hy(),Im0=aM(),sY=0,Km0=1,Gm0=3,c3=4,s80=5,$9=0,a80=1,E$=-2,Wm0=-3,Xy=-5,Hm0=-1,Xm0=1,tM=2,Zm0=3,qm0=4,Vm0=0,Lm0=2,zO=8,Fm0=9,wm0=15,Mm0=8,Om0=29,Nm0=256,qy=Nm0+1+Om0,Dm0=30,Bm0=19,Pm0=2*qy+1,Am0=15,f1=3,b3=258,H5=b3+f1+1,Tm0=32,UO=42,Vy=69,eM=73,$O=91,YO=103,lY=113,IH=666,P6=1,KH=2,oY=3,HJ=4,jm0=3;function i3($,Y){return $.msg=Im0[Y],Y}function t80($){return($<<1)-($>4?9:0)}function u3($){var Y=$.length;while(--Y>=0)$[Y]=0}function f3($){var Y=$.state,z=Y.pending;if(z>$.avail_out)z=$.avail_out;if(z===0)return;if(j8.arraySet($.output,Y.pending_buf,Y.pending_out,z,$.next_out),$.next_out+=z,Y.pending_out+=z,$.total_out+=z,$.avail_out-=z,Y.pending-=z,Y.pending===0)Y.pending_out=0}function m6($,Y){j$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,Y),$.block_start=$.strstart,f3($.strm)}function r1($,Y){$.pending_buf[$.pending++]=Y}function JH($,Y){$.pending_buf[$.pending++]=Y>>>8&255,$.pending_buf[$.pending++]=Y&255}function Em0($,Y,z,U){var Q=$.avail_in;if(Q>U)Q=U;if(Q===0)return 0;if($.avail_in-=Q,j8.arraySet(Y,$.input,$.next_in,Q,z),$.state.wrap===1)$.adler=e80($.adler,Y,Q,z);else if($.state.wrap===2)$.adler=x3($.adler,Y,Q,z);return $.next_in+=Q,$.total_in+=Q,Q}function $$0($,Y){var{max_chain_length:z,strstart:U}=$,Q,J,I=$.prev_length,K=$.nice_match,G=$.strstart>$.w_size-H5?$.strstart-($.w_size-H5):0,W=$.window,H=$.w_mask,X=$.prev,Z=$.strstart+b3,q=W[U+I-1],V=W[U+I];if($.prev_length>=$.good_match)z>>=2;if(K>$.lookahead)K=$.lookahead;do{if(Q=Y,W[Q+I]!==V||W[Q+I-1]!==q||W[Q]!==W[U]||W[++Q]!==W[U+1])continue;U+=2,Q++;do;while(W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&W[++U]===W[++Q]&&UI){if($.match_start=Y,I=J,J>=K)break;q=W[U+I-1],V=W[U+I]}}while((Y=X[Y&H])>G&&--z!==0);if(I<=$.lookahead)return I;return $.lookahead}function rY($){var Y=$.w_size,z,U,Q,J,I;do{if(J=$.window_size-$.lookahead-$.strstart,$.strstart>=Y+(Y-H5)){j8.arraySet($.window,$.window,Y,Y,0),$.match_start-=Y,$.strstart-=Y,$.block_start-=Y,U=$.hash_size,z=U;do Q=$.head[--z],$.head[z]=Q>=Y?Q-Y:0;while(--U);U=Y,z=U;do Q=$.prev[--z],$.prev[z]=Q>=Y?Q-Y:0;while(--U);J+=Y}if($.strm.avail_in===0)break;if(U=Em0($.strm,$.window,$.strstart+$.lookahead,J),$.lookahead+=U,$.lookahead+$.insert>=f1){I=$.strstart-$.insert,$.ins_h=$.window[I],$.ins_h=($.ins_h<<$.hash_shift^$.window[I+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[I+f1-1])&$.hash_mask,$.prev[I&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=I,I++,$.insert--,$.lookahead+$.insert$.pending_buf_size-5)z=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(rY($),$.lookahead===0&&Y===sY)return P6;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var U=$.block_start+z;if($.strstart===0||$.strstart>=U){if($.lookahead=$.strstart-U,$.strstart=U,m6($,!1),$.strm.avail_out===0)return P6}if($.strstart-$.block_start>=$.w_size-H5){if(m6($,!1),$.strm.avail_out===0)return P6}}if($.insert=0,Y===c3){if(m6($,!0),$.strm.avail_out===0)return oY;return HJ}if($.strstart>$.block_start){if(m6($,!1),$.strm.avail_out===0)return P6}return P6}function Zy($,Y){var z,U;for(;;){if($.lookahead=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(z!==0&&$.strstart-z<=$.w_size-H5)$.match_length=$$0($,z);if($.match_length>=f1)if(U=j$._tr_tally($,$.strstart-$.match_start,$.match_length-f1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=f1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else U=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(m6($,!1),$.strm.avail_out===0)return P6}}if($.insert=$.strstart=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=f1-1,z!==0&&$.prev_length<$.max_lazy_match&&$.strstart-z<=$.w_size-H5){if($.match_length=$$0($,z),$.match_length<=5&&($.strategy===Xm0||$.match_length===f1&&$.strstart-$.match_start>4096))$.match_length=f1-1}if($.prev_length>=f1&&$.match_length<=$.prev_length){Q=$.strstart+$.lookahead-f1,U=j$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-f1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=Q)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,z=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=f1-1,$.strstart++,U){if(m6($,!1),$.strm.avail_out===0)return P6}}else if($.match_available){if(U=j$._tr_tally($,0,$.window[$.strstart-1]),U)m6($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return P6}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)U=j$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart=f1&&$.strstart>0){if(Q=$.strstart-1,U=I[Q],U===I[++Q]&&U===I[++Q]&&U===I[++Q]){J=$.strstart+b3;do;while(U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&U===I[++Q]&&Q$.lookahead)$.match_length=$.lookahead}}if($.match_length>=f1)z=j$._tr_tally($,1,$.match_length-f1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else z=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(z){if(m6($,!1),$.strm.avail_out===0)return P6}}if($.insert=0,Y===c3){if(m6($,!0),$.strm.avail_out===0)return oY;return HJ}if($.last_lit){if(m6($,!1),$.strm.avail_out===0)return P6}return KH}function _m0($,Y){var z;for(;;){if($.lookahead===0){if(rY($),$.lookahead===0){if(Y===sY)return P6;break}}if($.match_length=0,z=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,z){if(m6($,!1),$.strm.avail_out===0)return P6}}if($.insert=0,Y===c3){if(m6($,!0),$.strm.avail_out===0)return oY;return HJ}if($.last_lit){if(m6($,!1),$.strm.avail_out===0)return P6}return KH}function e5($,Y,z,U,Q){this.good_length=$,this.max_lazy=Y,this.nice_length=z,this.max_chain=U,this.func=Q}var WJ;WJ=[new e5(0,0,0,0,Cm0),new e5(4,4,8,4,Zy),new e5(4,5,16,8,Zy),new e5(4,6,32,32,Zy),new e5(4,4,16,16,GJ),new e5(8,16,32,32,GJ),new e5(8,16,128,128,GJ),new e5(8,32,128,256,GJ),new e5(32,128,258,1024,GJ),new e5(32,258,258,4096,GJ)];function vm0($){$.window_size=2*$.w_size,u3($.head),$.max_lazy_match=WJ[$.level].max_lazy,$.good_match=WJ[$.level].good_length,$.nice_match=WJ[$.level].nice_length,$.max_chain_length=WJ[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=f1-1,$.match_available=0,$.ins_h=0}function hm0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=zO,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new j8.Buf16(Pm0*2),this.dyn_dtree=new j8.Buf16((2*Dm0+1)*2),this.bl_tree=new j8.Buf16((2*Bm0+1)*2),u3(this.dyn_ltree),u3(this.dyn_dtree),u3(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new j8.Buf16(Am0+1),this.heap=new j8.Buf16(2*qy+1),u3(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new j8.Buf16(2*qy+1),u3(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Y$0($){var Y;if(!$||!$.state)return i3($,E$);if($.total_in=$.total_out=0,$.data_type=Lm0,Y=$.state,Y.pending=0,Y.pending_out=0,Y.wrap<0)Y.wrap=-Y.wrap;return Y.status=Y.wrap?UO:lY,$.adler=Y.wrap===2?0:1,Y.last_flush=sY,j$._tr_init(Y),$9}function z$0($){var Y=Y$0($);if(Y===$9)vm0($.state);return Y}function Sm0($,Y){if(!$||!$.state)return E$;if($.state.wrap!==2)return E$;return $.state.gzhead=Y,$9}function U$0($,Y,z,U,Q,J){if(!$)return E$;var I=1;if(Y===Hm0)Y=6;if(U<0)I=0,U=-U;else if(U>15)I=2,U-=16;if(Q<1||Q>Fm0||z!==zO||U<8||U>15||Y<0||Y>9||J<0||J>qm0)return i3($,E$);if(U===8)U=9;var K=new hm0;return $.state=K,K.strm=$,K.wrap=I,K.gzhead=null,K.w_bits=U,K.w_size=1<s80||Y<0)return $?i3($,E$):E$;if(U=$.state,!$.output||!$.input&&$.avail_in!==0||U.status===IH&&Y!==c3)return i3($,$.avail_out===0?Xy:E$);if(U.strm=$,z=U.last_flush,U.last_flush=Y,U.status===UO)if(U.wrap===2)if($.adler=0,r1(U,31),r1(U,139),r1(U,8),!U.gzhead)r1(U,0),r1(U,0),r1(U,0),r1(U,0),r1(U,0),r1(U,U.level===9?2:U.strategy>=tM||U.level<2?4:0),r1(U,jm0),U.status=lY;else{if(r1(U,(U.gzhead.text?1:0)+(U.gzhead.hcrc?2:0)+(!U.gzhead.extra?0:4)+(!U.gzhead.name?0:8)+(!U.gzhead.comment?0:16)),r1(U,U.gzhead.time&255),r1(U,U.gzhead.time>>8&255),r1(U,U.gzhead.time>>16&255),r1(U,U.gzhead.time>>24&255),r1(U,U.level===9?2:U.strategy>=tM||U.level<2?4:0),r1(U,U.gzhead.os&255),U.gzhead.extra&&U.gzhead.extra.length)r1(U,U.gzhead.extra.length&255),r1(U,U.gzhead.extra.length>>8&255);if(U.gzhead.hcrc)$.adler=x3($.adler,U.pending_buf,U.pending,0);U.gzindex=0,U.status=Vy}else{var I=zO+(U.w_bits-8<<4)<<8,K=-1;if(U.strategy>=tM||U.level<2)K=0;else if(U.level<6)K=1;else if(U.level===6)K=2;else K=3;if(I|=K<<6,U.strstart!==0)I|=Tm0;if(I+=31-I%31,U.status=lY,JH(U,I),U.strstart!==0)JH(U,$.adler>>>16),JH(U,$.adler&65535);$.adler=1}if(U.status===Vy)if(U.gzhead.extra){Q=U.pending;while(U.gzindex<(U.gzhead.extra.length&65535)){if(U.pending===U.pending_buf_size){if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(f3($),Q=U.pending,U.pending===U.pending_buf_size)break}r1(U,U.gzhead.extra[U.gzindex]&255),U.gzindex++}if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(U.gzindex===U.gzhead.extra.length)U.gzindex=0,U.status=eM}else U.status=eM;if(U.status===eM)if(U.gzhead.name){Q=U.pending;do{if(U.pending===U.pending_buf_size){if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(f3($),Q=U.pending,U.pending===U.pending_buf_size){J=1;break}}if(U.gzindexQ)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(J===0)U.gzindex=0,U.status=$O}else U.status=$O;if(U.status===$O)if(U.gzhead.comment){Q=U.pending;do{if(U.pending===U.pending_buf_size){if(U.gzhead.hcrc&&U.pending>Q)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(f3($),Q=U.pending,U.pending===U.pending_buf_size){J=1;break}}if(U.gzindexQ)$.adler=x3($.adler,U.pending_buf,U.pending-Q,Q);if(J===0)U.status=YO}else U.status=YO;if(U.status===YO)if(U.gzhead.hcrc){if(U.pending+2>U.pending_buf_size)f3($);if(U.pending+2<=U.pending_buf_size)r1(U,$.adler&255),r1(U,$.adler>>8&255),$.adler=0,U.status=lY}else U.status=lY;if(U.pending!==0){if(f3($),$.avail_out===0)return U.last_flush=-1,$9}else if($.avail_in===0&&t80(Y)<=t80(z)&&Y!==c3)return i3($,Xy);if(U.status===IH&&$.avail_in!==0)return i3($,Xy);if($.avail_in!==0||U.lookahead!==0||Y!==sY&&U.status!==IH){var G=U.strategy===tM?_m0(U,Y):U.strategy===Zm0?Rm0(U,Y):WJ[U.level].func(U,Y);if(G===oY||G===HJ)U.status=IH;if(G===P6||G===oY){if($.avail_out===0)U.last_flush=-1;return $9}if(G===KH){if(Y===Km0)j$._tr_align(U);else if(Y!==s80){if(j$._tr_stored_block(U,0,0,!1),Y===Gm0){if(u3(U.head),U.lookahead===0)U.strstart=0,U.block_start=0,U.insert=0}}if(f3($),$.avail_out===0)return U.last_flush=-1,$9}}if(Y!==c3)return $9;if(U.wrap<=0)return a80;if(U.wrap===2)r1(U,$.adler&255),r1(U,$.adler>>8&255),r1(U,$.adler>>16&255),r1(U,$.adler>>24&255),r1(U,$.total_in&255),r1(U,$.total_in>>8&255),r1(U,$.total_in>>16&255),r1(U,$.total_in>>24&255);else JH(U,$.adler>>>16),JH(U,$.adler&65535);if(f3($),U.wrap>0)U.wrap=-U.wrap;return U.pending!==0?$9:a80}function km0($){var Y;if(!$||!$.state)return E$;if(Y=$.state.status,Y!==UO&&Y!==Vy&&Y!==eM&&Y!==$O&&Y!==YO&&Y!==lY&&Y!==IH)return i3($,E$);return $.state=null,Y===lY?i3($,Wm0):$9}function xm0($,Y){var z=Y.length,U,Q,J,I,K,G,W,H;if(!$||!$.state)return E$;if(U=$.state,I=U.wrap,I===2||I===1&&U.status!==UO||U.lookahead)return E$;if(I===1)$.adler=e80($.adler,Y,z,0);if(U.wrap=0,z>=U.w_size){if(I===0)u3(U.head),U.strstart=0,U.block_start=0,U.insert=0;H=new j8.Buf8(U.w_size),j8.arraySet(H,Y,z-U.w_size,U.w_size,0),Y=H,z=U.w_size}K=$.avail_in,G=$.next_in,W=$.input,$.avail_in=z,$.next_in=0,$.input=Y,rY(U);while(U.lookahead>=f1){Q=U.strstart,J=U.lookahead-(f1-1);do U.ins_h=(U.ins_h<{var QO=J7(),J$0=!0,I$0=!0;try{String.fromCharCode.apply(null,[0])}catch($){J$0=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){I$0=!1}var GH=new QO.Buf8(256);for(Y9=0;Y9<256;Y9++)GH[Y9]=Y9>=252?6:Y9>=248?5:Y9>=240?4:Y9>=224?3:Y9>=192?2:1;var Y9;GH[254]=GH[254]=1;om0.string2buf=function($){var Y,z,U,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|z&63;else if(z<65536)Y[J++]=224|z>>>12,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63;else Y[J++]=240|z>>>18,Y[J++]=128|z>>>12&63,Y[J++]=128|z>>>6&63,Y[J++]=128|z&63}return Y};function K$0($,Y){if(Y<65534){if($.subarray&&I$0||!$.subarray&&J$0)return String.fromCharCode.apply(null,QO.shrinkBuf($,Y))}var z="";for(var U=0;U4){K[U++]=65533,z+=J-1;continue}Q&=J===2?31:J===3?15:7;while(J>1&&z1){K[U++]=65533;continue}if(Q<65536)K[U++]=Q;else Q-=65536,K[U++]=55296|Q>>10&1023,K[U++]=56320|Q&1023}return K$0(K,U)};om0.utf8border=function($,Y){var z;if(Y=Y||$.length,Y>$.length)Y=$.length;z=Y-1;while(z>=0&&($[z]&192)===128)z--;if(z<0)return Y;if(z===0)return Y;return z+GH[$[z]]>Y?z:Y}});var Fy=E((Nn1,G$0)=>{function $l0(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}G$0.exports=$l0});var Z$0=E((Gl0)=>{var WH=Q$0(),HH=J7(),My=Ly(),Oy=aM(),Yl0=Fy(),X$0=Object.prototype.toString,zl0=0,wy=4,XJ=0,W$0=1,H$0=2,Ul0=-1,Ql0=0,Jl0=8;function aY($){if(!(this instanceof aY))return new aY($);this.options=HH.assign({level:Ul0,method:Jl0,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ql0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>0)Y.windowBits=-Y.windowBits;else if(Y.gzip&&Y.windowBits>0&&Y.windowBits<16)Y.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Yl0,this.strm.avail_out=0;var z=WH.deflateInit2(this.strm,Y.level,Y.method,Y.windowBits,Y.memLevel,Y.strategy);if(z!==XJ)throw Error(Oy[z]);if(Y.header)WH.deflateSetHeader(this.strm,Y.header);if(Y.dictionary){var U;if(typeof Y.dictionary==="string")U=My.string2buf(Y.dictionary);else if(X$0.call(Y.dictionary)==="[object ArrayBuffer]")U=new Uint8Array(Y.dictionary);else U=Y.dictionary;if(z=WH.deflateSetDictionary(this.strm,U),z!==XJ)throw Error(Oy[z]);this._dict_set=!0}}aY.prototype.push=function($,Y){var z=this.strm,U=this.options.chunkSize,Q,J;if(this.ended)return!1;if(J=Y===~~Y?Y:Y===!0?wy:zl0,typeof $==="string")z.input=My.string2buf($);else if(X$0.call($)==="[object ArrayBuffer]")z.input=new Uint8Array($);else z.input=$;z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0)z.output=new HH.Buf8(U),z.next_out=0,z.avail_out=U;if(Q=WH.deflate(z,J),Q!==W$0&&Q!==XJ)return this.onEnd(Q),this.ended=!0,!1;if(z.avail_out===0||z.avail_in===0&&(J===wy||J===H$0))if(this.options.to==="string")this.onData(My.buf2binstring(HH.shrinkBuf(z.output,z.next_out)));else this.onData(HH.shrinkBuf(z.output,z.next_out))}while((z.avail_in>0||z.avail_out===0)&&Q!==W$0);if(J===wy)return Q=WH.deflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===XJ;if(J===H$0)return this.onEnd(XJ),z.avail_out=0,!0;return!0};aY.prototype.onData=function($){this.chunks.push($)};aY.prototype.onEnd=function($){if($===XJ)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=HH.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Ny($,Y){var z=new aY(Y);if(z.push($,!0),z.err)throw z.msg||Oy[z.err];return z.result}function Il0($,Y){return Y=Y||{},Y.raw=!0,Ny($,Y)}function Kl0($,Y){return Y=Y||{},Y.gzip=!0,Ny($,Y)}Gl0.Deflate=aY;Gl0.deflate=Ny;Gl0.deflateRaw=Il0;Gl0.gzip=Kl0});var V$0=E((Bn1,q$0)=>{var JO=30,ql0=12;q$0.exports=function(Y,z){var U,Q,J,I,K,G,W,H,X,Z,q,V,F,M,w,O,N,D,T,A,B,j,C,b,k;U=Y.state,Q=Y.next_in,b=Y.input,J=Q+(Y.avail_in-5),I=Y.next_out,k=Y.output,K=I-(z-Y.avail_out),G=I+(Y.avail_out-257),W=U.dmax,H=U.wsize,X=U.whave,Z=U.wnext,q=U.window,V=U.hold,F=U.bits,M=U.lencode,w=U.distcode,O=(1<>>24,V>>>=T,F-=T,T=D>>>16&255,T===0)k[I++]=D&65535;else if(T&16){if(A=D&65535,T&=15,T){if(F>>=T,F-=T}if(F<15)V+=b[Q++]<>>24,V>>>=T,F-=T,T=D>>>16&255,T&16){if(B=D&65535,T&=15,FW){Y.msg="invalid distance too far back",U.mode=JO;break $}if(V>>>=T,F-=T,T=I-K,B>T){if(T=B-T,T>X){if(U.sane){Y.msg="invalid distance too far back",U.mode=JO;break $}}if(j=0,C=q,Z===0){if(j+=H-T,T2)k[I++]=C[j++],k[I++]=C[j++],k[I++]=C[j++],A-=3;if(A){if(k[I++]=C[j++],A>1)k[I++]=C[j++]}}else{j=I-B;do k[I++]=k[j++],k[I++]=k[j++],k[I++]=k[j++],A-=3;while(A>2);if(A){if(k[I++]=k[j++],A>1)k[I++]=k[j++]}}}else if((T&64)===0){D=w[(D&65535)+(V&(1<>3,Q-=A,F-=A<<3,V&=(1<{var L$0=J7(),ZJ=15,F$0=852,w$0=592,M$0=0,Dy=1,O$0=2,Vl0=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Ll0=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Fl0=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],wl0=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];N$0.exports=function(Y,z,U,Q,J,I,K,G){var W=G.bits,H=0,X=0,Z=0,q=0,V=0,F=0,M=0,w=0,O=0,N=0,D,T,A,B,j,C=null,b=0,k,h=new L$0.Buf16(ZJ+1),i=new L$0.Buf16(ZJ+1),c=null,U0=0,x,d,t;for(H=0;H<=ZJ;H++)h[H]=0;for(X=0;X=1;q--)if(h[q]!==0)break;if(V>q)V=q;if(q===0)return J[I++]=20971520,J[I++]=20971520,G.bits=1,0;for(Z=1;Z0&&(Y===M$0||q!==1))return-1;i[1]=0;for(H=1;HF$0||Y===O$0&&O>w$0)return 1;for(;;){if(x=H-M,K[X]k)d=c[U0+K[X]],t=C[b+K[X]];else d=96,t=0;D=1<>M)+T]=x<<24|d<<16|t|0;while(T!==0);D=1<>=1;if(D!==0)N&=D-1,N+=D;else N=0;if(X++,--h[H]===0){if(H===q)break;H=z[U+K[X]]}if(H>V&&(N&B)!==A){if(M===0)M=V;j+=Z,F=H-M,w=1<F$0||Y===O$0&&O>w$0)return 1;A=N&B,J[A]=V<<24|F<<16|j-I|0}}if(N!==0)J[j+N]=H-M<<24|4194304|0;return G.bits=V,0}});var z50=E((kl0)=>{var K$=J7(),Ey=Wy(),z9=Hy(),Ml0=V$0(),XH=D$0(),Ol0=0,l$0=1,o$0=2,B$0=4,Nl0=5,IO=6,tY=0,Dl0=1,Bl0=2,C$=-2,r$0=-3,Cy=-4,Pl0=-5,P$0=8,s$0=1,A$0=2,T$0=3,j$0=4,E$0=5,C$0=6,R$0=7,_$0=8,v$0=9,h$0=10,WO=11,K7=12,By=13,S$0=14,Py=15,g$0=16,y$0=17,k$0=18,x$0=19,KO=20,GO=21,f$0=22,u$0=23,b$0=24,i$0=25,c$0=26,Ay=27,n$0=28,p$0=29,y4=30,Ry=31,Al0=32,Tl0=852,jl0=592,El0=15,Cl0=El0;function d$0($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function Rl0(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new K$.Buf16(320),this.work=new K$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a$0($){var Y;if(!$||!$.state)return C$;if(Y=$.state,$.total_in=$.total_out=Y.total=0,$.msg="",Y.wrap)$.adler=Y.wrap&1;return Y.mode=s$0,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new K$.Buf32(Tl0),Y.distcode=Y.distdyn=new K$.Buf32(jl0),Y.sane=1,Y.back=-1,tY}function t$0($){var Y;if(!$||!$.state)return C$;return Y=$.state,Y.wsize=0,Y.whave=0,Y.wnext=0,a$0($)}function e$0($,Y){var z,U;if(!$||!$.state)return C$;if(U=$.state,Y<0)z=0,Y=-Y;else if(z=(Y>>4)+1,Y<48)Y&=15;if(Y&&(Y<8||Y>15))return C$;if(U.window!==null&&U.wbits!==Y)U.window=null;return U.wrap=z,U.wbits=Y,t$0($)}function $50($,Y){var z,U;if(!$)return C$;if(U=new Rl0,$.state=U,U.window=null,z=e$0($,Y),z!==tY)$.state=null;return z}function _l0($){return $50($,Cl0)}var m$0=!0,Ty,jy;function vl0($){if(m$0){var Y;Ty=new K$.Buf32(512),jy=new K$.Buf32(32),Y=0;while(Y<144)$.lens[Y++]=8;while(Y<256)$.lens[Y++]=9;while(Y<280)$.lens[Y++]=7;while(Y<288)$.lens[Y++]=8;XH(l$0,$.lens,0,288,Ty,0,$.work,{bits:9}),Y=0;while(Y<32)$.lens[Y++]=5;XH(o$0,$.lens,0,32,jy,0,$.work,{bits:5}),m$0=!1}$.lencode=Ty,$.lenbits=9,$.distcode=jy,$.distbits=5}function Y50($,Y,z,U){var Q,J=$.state;if(J.window===null)J.wsize=1<=J.wsize)K$.arraySet(J.window,Y,z-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize;else{if(Q=J.wsize-J.wnext,Q>U)Q=U;if(K$.arraySet(J.window,Y,z-U,Q,J.wnext),U-=Q,U)K$.arraySet(J.window,Y,z-U,U,0),J.wnext=U,J.whave=J.wsize;else{if(J.wnext+=Q,J.wnext===J.wsize)J.wnext=0;if(J.whave>>8&255,z.check=z9(z.check,C,2,0),W=0,H=0,z.mode=A$0;break}if(z.flags=0,z.head)z.head.done=!1;if(!(z.wrap&1)||(((W&255)<<8)+(W>>8))%31){$.msg="incorrect header check",z.mode=y4;break}if((W&15)!==P$0){$.msg="unknown compression method",z.mode=y4;break}if(W>>>=4,H-=4,B=(W&15)+8,z.wbits===0)z.wbits=B;else if(B>z.wbits){$.msg="invalid window size",z.mode=y4;break}z.dmax=1<>8&1;if(z.flags&512)C[0]=W&255,C[1]=W>>>8&255,z.check=z9(z.check,C,2,0);W=0,H=0,z.mode=T$0;case T$0:while(H<32){if(K===0)break $;K--,W+=U[J++]<>>8&255,C[2]=W>>>16&255,C[3]=W>>>24&255,z.check=z9(z.check,C,4,0);W=0,H=0,z.mode=j$0;case j$0:while(H<16){if(K===0)break $;K--,W+=U[J++]<>8;if(z.flags&512)C[0]=W&255,C[1]=W>>>8&255,z.check=z9(z.check,C,2,0);W=0,H=0,z.mode=E$0;case E$0:if(z.flags&1024){while(H<16){if(K===0)break $;K--,W+=U[J++]<>>8&255,z.check=z9(z.check,C,2,0);W=0,H=0}else if(z.head)z.head.extra=null;z.mode=C$0;case C$0:if(z.flags&1024){if(q=z.length,q>K)q=K;if(q){if(z.head){if(B=z.head.extra_len-z.length,!z.head.extra)z.head.extra=Array(z.head.extra_len);K$.arraySet(z.head.extra,U,J,q,B)}if(z.flags&512)z.check=z9(z.check,U,q,J);K-=q,J+=q,z.length-=q}if(z.length)break $}z.length=0,z.mode=R$0;case R$0:if(z.flags&2048){if(K===0)break $;q=0;do if(B=U[J+q++],z.head&&B&&z.length<65536)z.head.name+=String.fromCharCode(B);while(B&&q>9&1,z.head.done=!0;$.adler=z.check=0,z.mode=K7;break;case h$0:while(H<32){if(K===0)break $;K--,W+=U[J++]<>>=H&7,H-=H&7,z.mode=Ay;break}while(H<3){if(K===0)break $;K--,W+=U[J++]<>>=1,H-=1,W&3){case 0:z.mode=S$0;break;case 1:if(vl0(z),z.mode=KO,Y===IO){W>>>=2,H-=2;break $}break;case 2:z.mode=y$0;break;case 3:$.msg="invalid block type",z.mode=y4}W>>>=2,H-=2;break;case S$0:W>>>=H&7,H-=H&7;while(H<32){if(K===0)break $;K--,W+=U[J++]<>>16^65535)){$.msg="invalid stored block lengths",z.mode=y4;break}if(z.length=W&65535,W=0,H=0,z.mode=Py,Y===IO)break $;case Py:z.mode=g$0;case g$0:if(q=z.length,q){if(q>K)q=K;if(q>G)q=G;if(q===0)break $;K$.arraySet(Q,U,J,q,I),K-=q,J+=q,G-=q,I+=q,z.length-=q;break}z.mode=K7;break;case y$0:while(H<14){if(K===0)break $;K--,W+=U[J++]<>>=5,H-=5,z.ndist=(W&31)+1,W>>>=5,H-=5,z.ncode=(W&15)+4,W>>>=4,H-=4,z.nlen>286||z.ndist>30){$.msg="too many length or distance symbols",z.mode=y4;break}z.have=0,z.mode=k$0;case k$0:while(z.have>>=3,H-=3}while(z.have<19)z.lens[h[z.have++]]=0;if(z.lencode=z.lendyn,z.lenbits=7,b={bits:z.lenbits},j=XH(Ol0,z.lens,0,19,z.lencode,0,z.work,b),z.lenbits=b.bits,j){$.msg="invalid code lengths set",z.mode=y4;break}z.have=0,z.mode=x$0;case x$0:while(z.have>>24,O=M>>>16&255,N=M&65535,w<=H)break;if(K===0)break $;K--,W+=U[J++]<>>=w,H-=w,z.lens[z.have++]=N;else{if(N===16){k=w+2;while(H>>=w,H-=w,z.have===0){$.msg="invalid bit length repeat",z.mode=y4;break}B=z.lens[z.have-1],q=3+(W&3),W>>>=2,H-=2}else if(N===17){k=w+3;while(H>>=w,H-=w,B=0,q=3+(W&7),W>>>=3,H-=3}else{k=w+7;while(H>>=w,H-=w,B=0,q=11+(W&127),W>>>=7,H-=7}if(z.have+q>z.nlen+z.ndist){$.msg="invalid bit length repeat",z.mode=y4;break}while(q--)z.lens[z.have++]=B}}if(z.mode===y4)break;if(z.lens[256]===0){$.msg="invalid code -- missing end-of-block",z.mode=y4;break}if(z.lenbits=9,b={bits:z.lenbits},j=XH(l$0,z.lens,0,z.nlen,z.lencode,0,z.work,b),z.lenbits=b.bits,j){$.msg="invalid literal/lengths set",z.mode=y4;break}if(z.distbits=6,z.distcode=z.distdyn,b={bits:z.distbits},j=XH(o$0,z.lens,z.nlen,z.ndist,z.distcode,0,z.work,b),z.distbits=b.bits,j){$.msg="invalid distances set",z.mode=y4;break}if(z.mode=KO,Y===IO)break $;case KO:z.mode=GO;case GO:if(K>=6&&G>=258){if($.next_out=I,$.avail_out=G,$.next_in=J,$.avail_in=K,z.hold=W,z.bits=H,Ml0($,Z),I=$.next_out,Q=$.output,G=$.avail_out,J=$.next_in,U=$.input,K=$.avail_in,W=z.hold,H=z.bits,z.mode===K7)z.back=-1;break}z.back=0;for(;;){if(M=z.lencode[W&(1<>>24,O=M>>>16&255,N=M&65535,w<=H)break;if(K===0)break $;K--,W+=U[J++]<>D)],w=M>>>24,O=M>>>16&255,N=M&65535,D+w<=H)break;if(K===0)break $;K--,W+=U[J++]<>>=D,H-=D,z.back+=D}if(W>>>=w,H-=w,z.back+=w,z.length=N,O===0){z.mode=c$0;break}if(O&32){z.back=-1,z.mode=K7;break}if(O&64){$.msg="invalid literal/length code",z.mode=y4;break}z.extra=O&15,z.mode=f$0;case f$0:if(z.extra){k=z.extra;while(H>>=z.extra,H-=z.extra,z.back+=z.extra}z.was=z.length,z.mode=u$0;case u$0:for(;;){if(M=z.distcode[W&(1<>>24,O=M>>>16&255,N=M&65535,w<=H)break;if(K===0)break $;K--,W+=U[J++]<>D)],w=M>>>24,O=M>>>16&255,N=M&65535,D+w<=H)break;if(K===0)break $;K--,W+=U[J++]<>>=D,H-=D,z.back+=D}if(W>>>=w,H-=w,z.back+=w,O&64){$.msg="invalid distance code",z.mode=y4;break}z.offset=N,z.extra=O&15,z.mode=b$0;case b$0:if(z.extra){k=z.extra;while(H>>=z.extra,H-=z.extra,z.back+=z.extra}if(z.offset>z.dmax){$.msg="invalid distance too far back",z.mode=y4;break}z.mode=i$0;case i$0:if(G===0)break $;if(q=Z-G,z.offset>q){if(q=z.offset-q,q>z.whave){if(z.sane){$.msg="invalid distance too far back",z.mode=y4;break}}if(q>z.wnext)q-=z.wnext,V=z.wsize-q;else V=z.wnext-q;if(q>z.length)q=z.length;F=z.window}else F=Q,V=I-z.offset,q=z.length;if(q>G)q=G;G-=q,z.length-=q;do Q[I++]=F[V++];while(--q);if(z.length===0)z.mode=GO;break;case c$0:if(G===0)break $;Q[I++]=z.length,G--,z.mode=GO;break;case Ay:if(z.wrap){while(H<32){if(K===0)break $;K--,W|=U[J++]<{U50.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var J50=E((jn1,Q50)=>{function ll0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}Q50.exports=ll0});var K50=E((al0)=>{var qJ=z50(),ZH=J7(),HO=Ly(),G6=_y(),vy=aM(),ol0=Fy(),rl0=J50(),I50=Object.prototype.toString;function eY($){if(!(this instanceof eY))return new eY($);this.options=ZH.assign({chunkSize:16384,windowBits:0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>=0&&Y.windowBits<16){if(Y.windowBits=-Y.windowBits,Y.windowBits===0)Y.windowBits=-15}if(Y.windowBits>=0&&Y.windowBits<16&&!($&&$.windowBits))Y.windowBits+=32;if(Y.windowBits>15&&Y.windowBits<48){if((Y.windowBits&15)===0)Y.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ol0,this.strm.avail_out=0;var z=qJ.inflateInit2(this.strm,Y.windowBits);if(z!==G6.Z_OK)throw Error(vy[z]);if(this.header=new rl0,qJ.inflateGetHeader(this.strm,this.header),Y.dictionary){if(typeof Y.dictionary==="string")Y.dictionary=HO.string2buf(Y.dictionary);else if(I50.call(Y.dictionary)==="[object ArrayBuffer]")Y.dictionary=new Uint8Array(Y.dictionary);if(Y.raw){if(z=qJ.inflateSetDictionary(this.strm,Y.dictionary),z!==G6.Z_OK)throw Error(vy[z])}}}eY.prototype.push=function($,Y){var z=this.strm,U=this.options.chunkSize,Q=this.options.dictionary,J,I,K,G,W,H=!1;if(this.ended)return!1;if(I=Y===~~Y?Y:Y===!0?G6.Z_FINISH:G6.Z_NO_FLUSH,typeof $==="string")z.input=HO.binstring2buf($);else if(I50.call($)==="[object ArrayBuffer]")z.input=new Uint8Array($);else z.input=$;z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0)z.output=new ZH.Buf8(U),z.next_out=0,z.avail_out=U;if(J=qJ.inflate(z,G6.Z_NO_FLUSH),J===G6.Z_NEED_DICT&&Q)J=qJ.inflateSetDictionary(this.strm,Q);if(J===G6.Z_BUF_ERROR&&H===!0)J=G6.Z_OK,H=!1;if(J!==G6.Z_STREAM_END&&J!==G6.Z_OK)return this.onEnd(J),this.ended=!0,!1;if(z.next_out){if(z.avail_out===0||J===G6.Z_STREAM_END||z.avail_in===0&&(I===G6.Z_FINISH||I===G6.Z_SYNC_FLUSH))if(this.options.to==="string"){if(K=HO.utf8border(z.output,z.next_out),G=z.next_out-K,W=HO.buf2string(z.output,K),z.next_out=G,z.avail_out=U-G,G)ZH.arraySet(z.output,z.output,K,G,0);this.onData(W)}else this.onData(ZH.shrinkBuf(z.output,z.next_out))}if(z.avail_in===0&&z.avail_out===0)H=!0}while((z.avail_in>0||z.avail_out===0)&&J!==G6.Z_STREAM_END);if(J===G6.Z_STREAM_END)I=G6.Z_FINISH;if(I===G6.Z_FINISH)return J=qJ.inflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===G6.Z_OK;if(I===G6.Z_SYNC_FLUSH)return this.onEnd(G6.Z_OK),z.avail_out=0,!0;return!0};eY.prototype.onData=function($){this.chunks.push($)};eY.prototype.onEnd=function($){if($===G6.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=ZH.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function hy($,Y){var z=new eY(Y);if(z.push($,!0),z.err)throw z.msg||vy[z.err];return z.result}function sl0($,Y){return Y=Y||{},Y.raw=!0,hy($,Y)}al0.Inflate=eY;al0.inflate=hy;al0.inflateRaw=sl0;al0.ungzip=hy});var H50=E((Cn1,W50)=>{var zo0=J7().assign,Uo0=Z$0(),Qo0=K50(),Jo0=_y(),G50={};zo0(G50,Uo0,Qo0,Jo0);W50.exports=G50});var Z50=E((Wo0)=>{var Io0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Ko0=H50(),X50=c4(),XO=I$(),Go0=Io0?"uint8array":"array";Wo0.magic="\b\x00";function $z($,Y){XO.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=Y,this.meta={}}X50.inherits($z,XO);$z.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(X50.transformTo(Go0,$.data),!1)};$z.prototype.flush=function(){if(XO.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};$z.prototype.cleanUp=function(){XO.prototype.cleanUp.call(this),this._pako=null};$z.prototype._createPako=function(){this._pako=new Ko0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(Y){$.push({data:Y,meta:$.meta})}};Wo0.compressWorker=function($){return new $z("Deflate",$)};Wo0.uncompressWorker=function(){return new $z("Inflate",{})}});var Sy=E((qo0)=>{var q50=I$();qo0.STORE={magic:"\x00\x00",compressWorker:function(){return new q50("STORE compression")},uncompressWorker:function(){return new q50("STORE decompression")}};qo0.DEFLATE=Z50()});var gy=E((Fo0)=>{Fo0.LOCAL_FILE_HEADER="PK\x03\x04";Fo0.CENTRAL_FILE_HEADER="PK\x01\x02";Fo0.CENTRAL_DIRECTORY_END="PK\x05\x06";Fo0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";Fo0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";Fo0.DATA_DESCRIPTOR="PK\x07\b"});var w50=E((hn1,F50)=>{var VJ=c4(),LJ=I$(),yy=QJ(),V50=lM(),ZO=gy(),O4=function($,Y){var z="",U;for(U=0;U>>8;return z},Po0=function($,Y){var z=$;if(!$)z=Y?16893:33204;return(z&65535)<<16},Ao0=function($){return($||0)&63},L50=function($,Y,z,U,Q,J){var{file:I,compression:K}=$,G=J!==yy.utf8encode,W=VJ.transformTo("string",J(I.name)),H=VJ.transformTo("string",yy.utf8encode(I.name)),X=I.comment,Z=VJ.transformTo("string",J(X)),q=VJ.transformTo("string",yy.utf8encode(X)),V=H.length!==I.name.length,F=q.length!==X.length,M,w,O="",N="",D="",T=I.dir,A=I.date,B={crc32:0,compressedSize:0,uncompressedSize:0};if(!Y||z)B.crc32=$.crc32,B.compressedSize=$.compressedSize,B.uncompressedSize=$.uncompressedSize;var j=0;if(Y)j|=8;if(!G&&(V||F))j|=2048;var C=0,b=0;if(T)C|=16;if(Q==="UNIX")b=798,C|=Po0(I.unixPermissions,T);else b=20,C|=Ao0(I.dosPermissions,T);if(M=A.getUTCHours(),M=M<<6,M=M|A.getUTCMinutes(),M=M<<5,M=M|A.getUTCSeconds()/2,w=A.getUTCFullYear()-1980,w=w<<4,w=w|A.getUTCMonth()+1,w=w<<5,w=w|A.getUTCDate(),V)N=O4(1,1)+O4(V50(W),4)+H,O+="up"+O4(N.length,2)+N;if(F)D=O4(1,1)+O4(V50(Z),4)+q,O+="uc"+O4(D.length,2)+D;var k="";k+=` +\x00`,k+=O4(j,2),k+=K.magic,k+=O4(M,2),k+=O4(w,2),k+=O4(B.crc32,4),k+=O4(B.compressedSize,4),k+=O4(B.uncompressedSize,4),k+=O4(W.length,2),k+=O4(O.length,2);var h=ZO.LOCAL_FILE_HEADER+k+W+O,i=ZO.CENTRAL_FILE_HEADER+O4(b,2)+k+O4(Z.length,2)+"\x00\x00\x00\x00"+O4(C,4)+O4(U,4)+W+O+Z;return{fileRecord:h,dirRecord:i}},To0=function($,Y,z,U,Q){var J="",I=VJ.transformTo("string",Q(U));return J=ZO.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+O4($,2)+O4($,2)+O4(Y,4)+O4(z,4)+O4(I.length,2)+I,J},jo0=function($){var Y="";return Y=ZO.DATA_DESCRIPTOR+O4($.crc32,4)+O4($.compressedSize,4)+O4($.uncompressedSize,4),Y};function X5($,Y,z,U){LJ.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Y,this.zipPlatform=z,this.encodeFileName=U,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}VJ.inherits(X5,LJ);X5.prototype.push=function($){var Y=$.meta.percent||0,z=this.entriesCount,U=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,LJ.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:z?(Y+100*(z-U-1))/z:100}})};X5.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var Y=this.streamFiles&&!$.file.dir;if(Y){var z=L50($,Y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:z.fileRecord,meta:{percent:0}})}else this.accumulate=!0};X5.prototype.closedSource=function($){this.accumulate=!1;var Y=this.streamFiles&&!$.file.dir,z=L50($,Y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(z.dirRecord),Y)this.push({data:jo0($),meta:{percent:100}});else{this.push({data:z.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};X5.prototype.flush=function(){var $=this.bytesWritten;for(var Y=0;Y{var Eo0=Sy(),Co0=w50(),Ro0=function($,Y){var z=$||Y,U=Eo0[z];if(!U)throw Error(z+" is not a valid compression method !");return U};_o0.generateWorker=function($,Y,z){var U=new Co0(Y.streamFiles,z,Y.platform,Y.encodeFileName),Q=0;try{$.forEach(function(J,I){Q++;var K=Ro0(I.options.compression,Y.compression),G=I.options.compressionOptions||Y.compressionOptions||{},W=I.dir,H=I.date;I._compressWorker(K,G).withStreamInfo("file",{name:J,dir:W,date:H,comment:I.comment||"",unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions}).pipe(U)}),U.entriesCount=Q}catch(J){U.error(J)}return U}});var N50=E((gn1,O50)=>{var ho0=c4(),qO=I$();function qH($,Y){qO.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(Y)}ho0.inherits(qH,qO);qH.prototype._bindStream=function($){var Y=this;this._stream=$,$.pause(),$.on("data",function(z){Y.push({data:z,meta:{percent:0}})}).on("error",function(z){if(Y.isPaused)this.generatedError=z;else Y.error(z)}).on("end",function(){if(Y.isPaused)Y._upstreamEnded=!0;else Y.end()})};qH.prototype.pause=function(){if(!qO.prototype.pause.call(this))return!1;return this._stream.pause(),!0};qH.prototype.resume=function(){if(!qO.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};O50.exports=qH});var _50=E((yn1,R50)=>{var So0=QJ(),VH=c4(),A50=I$(),go0=ug(),T50=bg(),D50=oM(),yo0=B80(),ko0=M50(),B50=mW(),xo0=N50(),j50=function($,Y,z){var U=VH.getTypeOf(Y),Q,J=VH.extend(z||{},T50);if(J.date=J.date||new Date,J.compression!==null)J.compression=J.compression.toUpperCase();if(typeof J.unixPermissions==="string")J.unixPermissions=parseInt(J.unixPermissions,8);if(J.unixPermissions&&J.unixPermissions&16384)J.dir=!0;if(J.dosPermissions&&J.dosPermissions&16)J.dir=!0;if(J.dir)$=E50($);if(J.createFolders&&(Q=fo0($)))C50.call(this,Q,!0);var I=U==="string"&&J.binary===!1&&J.base64===!1;if(!z||typeof z.binary>"u")J.binary=!I;var K=Y instanceof D50&&Y.uncompressedSize===0;if(K||J.dir||!Y||Y.length===0)J.base64=!1,J.binary=!0,Y="",J.compression="STORE",U="string";var G=null;if(Y instanceof D50||Y instanceof A50)G=Y;else if(B50.isNode&&B50.isStream(Y))G=new xo0($,Y);else G=VH.prepareContent($,Y,J.binary,J.optimizedBinaryString,J.base64);var W=new yo0($,G,J);this.files[$]=W},fo0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var Y=$.lastIndexOf("/");return Y>0?$.substring(0,Y):""},E50=function($){if($.slice(-1)!=="/")$+="/";return $},C50=function($,Y){if(Y=typeof Y<"u"?Y:T50.createFolders,$=E50($),!this.files[$])j50.call(this,$,null,{dir:!0,createFolders:Y});return this.files[$]};function P50($){return Object.prototype.toString.call($)==="[object RegExp]"}var uo0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var Y,z,U;for(Y in this.files)if(U=this.files[Y],z=Y.slice(this.root.length,Y.length),z&&Y.slice(0,this.root.length)===this.root)$(z,U)},filter:function($){var Y=[];return this.forEach(function(z,U){if($(z,U))Y.push(U)}),Y},file:function($,Y,z){if(arguments.length===1)if(P50($)){var U=$;return this.filter(function(J,I){return!I.dir&&U.test(J)})}else{var Q=this.files[this.root+$];if(Q&&!Q.dir)return Q;else return null}else $=this.root+$,j50.call(this,$,Y,z);return this},folder:function($){if(!$)return this;if(P50($))return this.filter(function(Q,J){return J.dir&&$.test(Q)});var Y=this.root+$,z=C50.call(this,Y),U=this.clone();return U.root=z.name,U},remove:function($){$=this.root+$;var Y=this.files[$];if(!Y){if($.slice(-1)!=="/")$+="/";Y=this.files[$]}if(Y&&!Y.dir)delete this.files[$];else{var z=this.filter(function(Q,J){return J.name.slice(0,$.length)===$});for(var U=0;U{var bo0=c4();function v50($){this.data=$,this.length=$.length,this.index=0,this.zero=0}v50.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length=this.index;z--)Y=(Y<<8)+this.byteAt(z);return this.index+=$,Y},readString:function($){return bo0.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};h50.exports=v50});var xy=E((xn1,g50)=>{var S50=ky(),io0=c4();function FJ($){S50.call(this,$);for(var Y=0;Y=0;--J)if(this.data[J]===Y&&this.data[J+1]===z&&this.data[J+2]===U&&this.data[J+3]===Q)return J-this.zero;return-1};FJ.prototype.readAndCheckSignature=function($){var Y=$.charCodeAt(0),z=$.charCodeAt(1),U=$.charCodeAt(2),Q=$.charCodeAt(3),J=this.readData(4);return Y===J[0]&&z===J[1]&&U===J[2]&&Q===J[3]};FJ.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};g50.exports=FJ});var x50=E((fn1,k50)=>{var y50=ky(),co0=c4();function wJ($){y50.call(this,$)}co0.inherits(wJ,y50);wJ.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};wJ.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};wJ.prototype.readAndCheckSignature=function($){var Y=this.readData(4);return $===Y};wJ.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};k50.exports=wJ});var uy=E((un1,u50)=>{var f50=xy(),no0=c4();function fy($){f50.call(this,$)}no0.inherits(fy,f50);fy.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var Y=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};u50.exports=fy});var c50=E((bn1,i50)=>{var b50=uy(),po0=c4();function by($){b50.call(this,$)}po0.inherits(by,b50);by.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};i50.exports=by});var iy=E((in1,p50)=>{var VO=c4(),n50=Q7(),do0=xy(),mo0=x50(),lo0=c50(),oo0=uy();p50.exports=function($){var Y=VO.getTypeOf($);if(VO.checkSupport(Y),Y==="string"&&!n50.uint8array)return new mo0($);if(Y==="nodebuffer")return new lo0($);if(n50.uint8array)return new oo0(VO.transformTo("uint8array",$));return new do0(VO.transformTo("array",$))}});var o50=E((cn1,l50)=>{var cy=iy(),n3=c4(),ro0=oM(),d50=lM(),LO=QJ(),FO=Sy(),so0=Q7(),ao0=0,to0=3,eo0=function($){for(var Y in FO){if(!Object.prototype.hasOwnProperty.call(FO,Y))continue;if(FO[Y].magic===$)return FO[Y]}return null};function m50($,Y){this.options=$,this.loadOptions=Y}m50.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var Y,z;if($.skip(22),this.fileNameLength=$.readInt(2),z=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(z),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(Y=eo0(this.compressionMethod),Y===null)throw Error("Corrupted zip : compression "+n3.pretty(this.compressionMethod)+" unknown (inner file : "+n3.transformTo("string",this.fileName)+")");this.decompressed=new ro0(this.compressedSize,this.uncompressedSize,this.crc32,Y,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var Y=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(Y),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===ao0)this.dosPermissions=this.externalFileAttributes&63;if($===to0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=cy(this.extraFields[1].value);if(this.uncompressedSize===n3.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===n3.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===n3.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===n3.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var Y=$.index+this.extraFieldsLength,z,U,Q;if(!this.extraFields)this.extraFields={};while($.index+4{var $r0=iy(),G7=c4(),Z5=gy(),Yr0=o50(),zr0=Q7();function r50($){this.files=[],this.loadOptions=$}r50.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var Y=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+G7.pretty(Y)+", expected "+G7.pretty($)+")")}},isSignature:function($,Y){var z=this.reader.index;this.reader.setIndex($);var U=this.reader.readString(4),Q=U===Y;return this.reader.setIndex(z),Q},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),Y=zr0.uint8array?"uint8array":"array",z=G7.transformTo(Y,$);this.zipComment=this.loadOptions.decodeFileName(z)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,Y=0,z,U,Q;while(Y<$)z=this.reader.readInt(2),U=this.reader.readInt(4),Q=this.reader.readData(U),this.zip64ExtensibleData[z]={id:z,length:U,value:Q}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,Y;for($=0;$0)if(this.isSignature(z,Z5.CENTRAL_FILE_HEADER));else this.reader.zero=Q;else if(Q<0)throw Error("Corrupted zip: missing "+Math.abs(Q)+" bytes.")},prepareReader:function($){this.reader=$r0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};s50.exports=r50});var $90=E((pn1,e50)=>{var ny=c4(),wO=YJ(),Ur0=QJ(),Qr0=a50(),Jr0=ng(),t50=mW();function Ir0($){return new wO.Promise(function(Y,z){var U=$.decompressed.getContentWorker().pipe(new Jr0);U.on("error",function(Q){z(Q)}).on("end",function(){if(U.streamInfo.crc32!==$.decompressed.crc32)z(Error("Corrupted zip : CRC32 mismatch"));else Y()}).resume()})}e50.exports=function($,Y){var z=this;if(Y=ny.extend(Y||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Ur0.utf8decode}),t50.isNode&&t50.isStream($))return wO.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return ny.prepareContent("the loaded zip file",$,!0,Y.optimizedBinaryString,Y.base64).then(function(U){var Q=new Qr0(Y);return Q.load(U),Q}).then(function(Q){var J=[wO.Promise.resolve(Q)],I=Q.files;if(Y.checkCRC32)for(var K=0;K{function R$(){if(!(this instanceof R$))return new R$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new R$;for(var Y in this)if(typeof this[Y]!=="function")$[Y]=this[Y];return $}}R$.prototype=_50();R$.prototype.loadAsync=$90();R$.support=Q7();R$.defaults=bg();R$.version="3.10.1";R$.loadAsync=function($,Y){return new R$().loadAsync($,Y)};R$.external=YJ();Y90.exports=R$});var K90=E((mn1,I90)=>{function z90($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function U90($){for(var Y=1;Y0)this.tail.next=U;else this.head=U;this.tail=U,++this.length}},{key:"unshift",value:function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q}},{key:"concat",value:function(z){if(this.length===0)return MO.alloc(0);var U=MO.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)Vr0(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U}},{key:"consume",value:function(z,U){var Q;if(zI.length?I.length:z;if(K===I.length)J+=I;else J+=I.slice(0,z);if(z-=K,z===0){if(K===I.length)if(++Q,U.next)this.head=U.next;else this.head=this.tail=null;else this.head=U,U.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(z){var U=MO.allocUnsafe(z),Q=this.head,J=1;Q.data.copy(U),z-=Q.data.length;while(Q=Q.next){var I=Q.data,K=z>I.length?I.length:z;if(I.copy(U,U.length-z,0,K),z-=K,z===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,U}},{key:qr0,value:function(z,U){return dy(this,U90(U90({},U),{},{depth:0,customInspect:!1}))}}]),$}()});var ly=E((ln1,W90)=>{function Lr0($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(my,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(my,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!z._writableState)process.nextTick(G90,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,process.nextTick(G90,z,J);else process.nextTick(OO,z);else if(Y)process.nextTick(OO,z),Y(J);else process.nextTick(OO,z)}),this}function G90($,Y){my($,Y),OO($)}function OO($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function Fr0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function my($,Y){$.emit("error",Y)}function wr0($,Y){var{_readableState:z,_writableState:U}=$;if(z&&z.autoDestroy||U&&U.autoDestroy)$.destroy(Y);else $.emit("error",Y)}W90.exports={destroy:Lr0,undestroy:Fr0,errorOrDestroy:wr0}});var p3=E((Dr0,Z90)=>{var X90={};function _$($,Y,z){if(!z)z=Error;function U(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends z{constructor(J,I,K){super(U(J,I,K))}}Q.prototype.name=z.name,Q.prototype.code=$,X90[$]=Q}function H90($,Y){if(Array.isArray($)){let z=$.length;if($=$.map((U)=>String(U)),z>2)return`one of ${Y} ${$.slice(0,z-1).join(", ")}, or `+$[z-1];else if(z===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function Mr0($,Y,z){return $.substr(!z||z<0?0:+z,Y.length)===Y}function Or0($,Y,z){if(z===void 0||z>$.length)z=$.length;return $.substring(z-Y.length,z)===Y}function Nr0($,Y,z){if(typeof z!=="number")z=0;if(z+Y.length>$.length)return!1;else return $.indexOf(Y,z)!==-1}_$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);_$("ERR_INVALID_ARG_TYPE",function($,Y,z){let U;if(typeof Y==="string"&&Mr0(Y,"not "))U="must not be",Y=Y.replace(/^not /,"");else U="must be";let Q;if(Or0($," argument"))Q=`The ${$} ${U} ${H90(Y,"type")}`;else{let J=Nr0($,".")?"property":"argument";Q=`The "${$}" ${J} ${U} ${H90(Y,"type")}`}return Q+=`. Received type ${typeof z}`,Q},TypeError);_$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");_$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});_$("ERR_STREAM_PREMATURE_CLOSE","Premature close");_$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});_$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");_$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");_$("ERR_STREAM_WRITE_AFTER_END","write after end");_$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);_$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);_$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Dr0.codes=X90});var oy=E((on1,q90)=>{var Pr0=p3().codes.ERR_INVALID_OPT_VALUE;function Ar0($,Y,z){return $.highWaterMark!=null?$.highWaterMark:Y?$[z]:null}function Tr0($,Y,z,U){var Q=Ar0(Y,U,z);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=U?z:"highWaterMark";throw new Pr0(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}q90.exports={getHighWaterMark:Tr0}});var ay=E((rn1,O90)=>{O90.exports=z6;function L90($){var Y=this;this.next=null,this.entry=null,this.finish=function(){tr0(Y,$)}}var MJ;z6.WritableState=FH;var jr0={deprecate:S3()},F90=I0("stream"),DO=I0("buffer").Buffer,Er0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Cr0($){return DO.from($)}function Rr0($){return DO.isBuffer($)||$ instanceof Er0}var sy=ly(),_r0=oy(),vr0=_r0.getHighWaterMark,d3=p3().codes,hr0=d3.ERR_INVALID_ARG_TYPE,Sr0=d3.ERR_METHOD_NOT_IMPLEMENTED,gr0=d3.ERR_MULTIPLE_CALLBACK,yr0=d3.ERR_STREAM_CANNOT_PIPE,kr0=d3.ERR_STREAM_DESTROYED,xr0=d3.ERR_STREAM_NULL_VALUES,fr0=d3.ERR_STREAM_WRITE_AFTER_END,ur0=d3.ERR_UNKNOWN_ENCODING,OJ=sy.errorOrDestroy;X1()(z6,F90);function br0(){}function FH($,Y,z){if(MJ=MJ||Yz(),$=$||{},typeof z!=="boolean")z=Y instanceof MJ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=vr0(this,$,"writableHighWaterMark",z),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var U=$.decodeStrings===!1;this.decodeStrings=!U,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){lr0(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new L90(this)}FH.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(FH.prototype,"buffer",{get:jr0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var NO;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")NO=Function.prototype[Symbol.hasInstance],Object.defineProperty(z6,Symbol.hasInstance,{value:function(Y){if(NO.call(this,Y))return!0;if(this!==z6)return!1;return Y&&Y._writableState instanceof FH}});else NO=function(Y){return Y instanceof this};function z6($){MJ=MJ||Yz();var Y=this instanceof MJ;if(!Y&&!NO.call(z6,this))return new z6($);if(this._writableState=new FH($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}F90.call(this)}z6.prototype.pipe=function(){OJ(this,new yr0)};function ir0($,Y){var z=new fr0;OJ($,z),process.nextTick(Y,z)}function cr0($,Y,z,U){var Q;if(z===null)Q=new xr0;else if(typeof z!=="string"&&!Y.objectMode)Q=new hr0("chunk",["string","Buffer"],z);if(Q)return OJ($,Q),process.nextTick(U,Q),!1;return!0}z6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&Rr0($);if(J&&!DO.isBuffer($))$=Cr0($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=br0;if(U.ending)ir0(this,z);else if(J||cr0(this,U,$,z))U.pendingcb++,Q=pr0(this,U,J,$,Y,z);return Q};z6.prototype.cork=function(){this._writableState.corked++};z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)w90(this,$)}};z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new ur0(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(z6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function nr0($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=DO.from(Y,z);return Y}Object.defineProperty(z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function pr0($,Y,z,U,Q,J){if(!z){var I=nr0(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var er0=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};D90.exports=U9;var N90=ey(),ty=ay();X1()(U9,N90);{BO=er0(ty.prototype);for(wH=0;wH{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var PO=I0("buffer"),Q9=PO.Buffer;function B90($,Y){for(var z in $)Y[z]=$[z]}if(Q9.from&&Q9.alloc&&Q9.allocUnsafe&&Q9.allocUnsafeSlow)P90.exports=PO;else B90(PO,$k),$k.Buffer=zz;function zz($,Y,z){return Q9($,Y,z)}zz.prototype=Object.create(Q9.prototype);B90(Q9,zz);zz.from=function($,Y,z){if(typeof $==="number")throw TypeError("Argument must not be a number");return Q9($,Y,z)};zz.alloc=function($,Y,z){if(typeof $!=="number")throw TypeError("Argument must be a number");var U=Q9($);if(Y!==void 0)if(typeof z==="string")U.fill(Y,z);else U.fill(Y);else U.fill(0);return U};zz.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return Q9($)};zz.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return PO.SlowBuffer($)}});var NJ=E((Ls0)=>{var zk=A90().Buffer,T90=zk.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function zs0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Us0($){var Y=zs0($);if(typeof Y!=="string"&&(zk.isEncoding===T90||!T90($)))throw Error("Unknown encoding: "+$);return Y||$}Ls0.StringDecoder=OH;function OH($){this.encoding=Us0($);var Y;switch(this.encoding){case"utf16le":this.text=Ws0,this.end=Hs0,Y=4;break;case"utf8":this.fillLast=Is0,Y=4;break;case"base64":this.text=Xs0,this.end=Zs0,Y=3;break;default:this.write=qs0,this.end=Vs0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=zk.allocUnsafe(Y)}OH.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};OH.prototype.end=Gs0;OH.prototype.text=Ks0;OH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Yk($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Qs0($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function Js0($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function Is0($){var Y=this.lastTotal-this.lastNeed,z=Js0(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function Ks0($,Y){var z=Qs0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function Gs0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function Ws0($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function Hs0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function Xs0($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function Zs0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function qs0($){return $.toString(this.encoding)}function Vs0($){return $&&$.length?this.write($):""}});var AO=E((tn1,C90)=>{var j90=p3().codes.ERR_STREAM_PREMATURE_CLOSE;function ws0($){var Y=!1;return function(){if(Y)return;Y=!0;for(var z=arguments.length,U=Array(z),Q=0;Q{var TO;function m3($,Y,z){if(Y=Ns0(Y),Y in $)Object.defineProperty($,Y,{value:z,enumerable:!0,configurable:!0,writable:!0});else $[Y]=z;return $}function Ns0($){var Y=Ds0($,"string");return typeof Y==="symbol"?Y:String(Y)}function Ds0($,Y){if(typeof $!=="object"||$===null)return $;var z=$[Symbol.toPrimitive];if(z!==void 0){var U=z.call($,Y||"default");if(typeof U!=="object")return U;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var Bs0=AO(),l3=Symbol("lastResolve"),Uz=Symbol("lastReject"),NH=Symbol("error"),jO=Symbol("ended"),Qz=Symbol("lastPromise"),Uk=Symbol("handlePromise"),Jz=Symbol("stream");function o3($,Y){return{value:$,done:Y}}function Ps0($){var Y=$[l3];if(Y!==null){var z=$[Jz].read();if(z!==null)$[Qz]=null,$[l3]=null,$[Uz]=null,Y(o3(z,!1))}}function As0($){process.nextTick(Ps0,$)}function Ts0($,Y){return function(z,U){$.then(function(){if(Y[jO]){z(o3(void 0,!0));return}Y[Uk](z,U)},U)}}var js0=Object.getPrototypeOf(function(){}),Es0=Object.setPrototypeOf((TO={get stream(){return this[Jz]},next:function(){var Y=this,z=this[NH];if(z!==null)return Promise.reject(z);if(this[jO])return Promise.resolve(o3(void 0,!0));if(this[Jz].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[NH])K(Y[NH]);else I(o3(void 0,!0))})});var U=this[Qz],Q;if(U)Q=new Promise(Ts0(U,this));else{var J=this[Jz].read();if(J!==null)return Promise.resolve(o3(J,!1));Q=new Promise(this[Uk])}return this[Qz]=Q,Q}},m3(TO,Symbol.asyncIterator,function(){return this}),m3(TO,"return",function(){var Y=this;return new Promise(function(z,U){Y[Jz].destroy(null,function(Q){if(Q){U(Q);return}z(o3(void 0,!0))})})}),TO),js0),Cs0=function(Y){var z,U=Object.create(Es0,(z={},m3(z,Jz,{value:Y,writable:!0}),m3(z,l3,{value:null,writable:!0}),m3(z,Uz,{value:null,writable:!0}),m3(z,NH,{value:null,writable:!0}),m3(z,jO,{value:Y._readableState.endEmitted,writable:!0}),m3(z,Uk,{value:function(J,I){var K=U[Jz].read();if(K)U[Qz]=null,U[l3]=null,U[Uz]=null,J(o3(K,!1));else U[l3]=J,U[Uz]=I},writable:!0}),z));return U[Qz]=null,Bs0(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=U[Uz];if(J!==null)U[Qz]=null,U[l3]=null,U[Uz]=null,J(Q);U[NH]=Q;return}var I=U[l3];if(I!==null)U[Qz]=null,U[l3]=null,U[Uz]=null,I(o3(void 0,!0));U[jO]=!0}),Y.on("readable",As0.bind(null,U)),U};R90.exports=Cs0});var g90=E(($p1,S90)=>{function v90($,Y,z,U,Q,J,I){try{var K=$[J](I),G=K.value}catch(W){z(W);return}if(K.done)Y(G);else Promise.resolve(G).then(U,Q)}function Rs0($){return function(){var Y=this,z=arguments;return new Promise(function(U,Q){var J=$.apply(Y,z);function I(G){v90(J,U,Q,I,K,"next",G)}function K(G){v90(J,U,Q,I,K,"throw",G)}I(void 0)})}}function h90($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function _s0($){for(var Y=1;Y{p90.exports=p1;var DJ;p1.ReadableState=f90;var Yp1=I0("events").EventEmitter,x90=function(Y,z){return Y.listeners(z).length},BH=I0("stream"),EO=I0("buffer").Buffer,ks0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function xs0($){return EO.from($)}function fs0($){return EO.isBuffer($)||$ instanceof ks0}var Qk=I0("util"),C1;if(Qk&&Qk.debuglog)C1=Qk.debuglog("stream");else C1=function(){};var us0=K90(),Xk=ly(),bs0=oy(),is0=bs0.getHighWaterMark,CO=p3().codes,cs0=CO.ERR_INVALID_ARG_TYPE,ns0=CO.ERR_STREAM_PUSH_AFTER_EOF,ps0=CO.ERR_METHOD_NOT_IMPLEMENTED,ds0=CO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,BJ,Jk,Ik;X1()(p1,BH);var DH=Xk.errorOrDestroy,Kk=["error","close","destroy","pause","resume"];function ms0($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(Array.isArray($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function f90($,Y,z){if(DJ=DJ||Yz(),$=$||{},typeof z!=="boolean")z=Y instanceof DJ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=is0(this,$,"readableHighWaterMark",z),this.buffer=new us0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!BJ)BJ=NJ().StringDecoder;this.decoder=new BJ($.encoding),this.encoding=$.encoding}}function p1($){if(DJ=DJ||Yz(),!(this instanceof p1))return new p1($);var Y=this instanceof DJ;if(this._readableState=new f90($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}BH.call(this)}Object.defineProperty(p1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});p1.prototype.destroy=Xk.destroy;p1.prototype._undestroy=Xk.undestroy;p1.prototype._destroy=function($,Y){Y($)};p1.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=EO.from($,Y),Y="";U=!0}}else U=!0;return u90(this,$,Y,!1,U)};p1.prototype.unshift=function($){return u90(this,$,null,!0,!1)};function u90($,Y,z,U,Q){C1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,rs0($,J);else{var I;if(!Q)I=ls0(J,Y);if(I)DH($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==EO.prototype)Y=xs0(Y);if(U)if(J.endEmitted)DH($,new ds0);else Gk($,J,Y,!0);else if(J.ended)DH($,new ns0);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Gk($,J,Y,!1);else Hk($,J);else Gk($,J,Y,!1)}else if(!U)J.reading=!1,Hk($,J)}return!J.ended&&(J.length=y90)$=y90;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function k90($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=os0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}p1.prototype.read=function($){C1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(C1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Wk(this);else RO(this);return null}if($=k90($,Y),$===0&&Y.ended){if(Y.length===0)Wk(this);return null}var U=Y.needReadable;if(C1("need readable",U),Y.length===0||Y.length-$0)Q=c90($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Wk(this)}if(Q!==null)this.emit("data",Q);return Q};function rs0($,Y){if(C1("onEofChunk"),Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}if(Y.ended=!0,Y.sync)RO($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,b90($)}function RO($){var Y=$._readableState;if(C1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)C1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(b90,$)}function b90($){var Y=$._readableState;if(C1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Zk($)}function Hk($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(ss0,$,Y)}function ss0($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&n90(U.pipes,$)!==-1)&&!W)C1("false write response, pause",U.awaitDrain),U.awaitDrain++;z.pause()}}function Z(M){if(C1("onerror",M),F(),$.removeListener("error",Z),x90($,"error")===0)DH($,M)}ms0($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){C1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){C1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)C1("pipe resume"),z.resume();return $};function as0($){return function(){var z=$._readableState;if(C1("pipeOnDrain",z.awaitDrain),z.awaitDrain)z.awaitDrain--;if(z.awaitDrain===0&&x90($,"data"))z.flowing=!0,Zk($)}}p1.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,U.flowing!==!1)this.resume()}else if($==="readable"){if(!U.endEmitted&&!U.readableListening){if(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,C1("on readable",U.length,U.reading),U.length)RO(this);else if(!U.reading)process.nextTick(ts0,this)}}return z};p1.prototype.addListener=p1.prototype.on;p1.prototype.removeListener=function($,Y){var z=BH.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(i90,this);return z};p1.prototype.removeAllListeners=function($){var Y=BH.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(i90,this);return Y};function i90($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function ts0($){C1("readable nexttick read 0"),$.read(0)}p1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)C1("resume"),$.flowing=!$.readableListening,es0(this,$);return $.paused=!1,this};function es0($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick($a0,$,Y)}function $a0($,Y){if(C1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Zk($),Y.flowing&&!Y.reading)$.read(0)}p1.prototype.pause=function(){if(C1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)C1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Zk($){var Y=$._readableState;C1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}p1.prototype.wrap=function($){var Y=this,z=this._readableState,U=!1;$.on("end",function(){if(C1("wrapped end"),z.decoder&&!z.ended){var I=z.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(C1("wrapped data"),z.decoder)I=z.decoder.write(I);if(z.objectMode&&(I===null||I===void 0))return;else if(!z.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)U=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.first();else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=Y.buffer.consume($,Y.decoder);return z}function Wk($){var Y=$._readableState;if(C1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(Ya0,Y,$)}function Ya0($,Y){if(C1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var z=Y._writableState;if(!z||z.autoDestroy&&z.finished)Y.destroy()}}}if(typeof Symbol==="function")p1.from=function($,Y){if(Ik===void 0)Ik=g90();return Ik(p1,$,Y)};function n90($,Y){for(var z=0,U=$.length;z{m90.exports=W7;var _O=p3().codes,za0=_O.ERR_METHOD_NOT_IMPLEMENTED,Ua0=_O.ERR_MULTIPLE_CALLBACK,Qa0=_O.ERR_TRANSFORM_ALREADY_TRANSFORMING,Ja0=_O.ERR_TRANSFORM_WITH_LENGTH_0,vO=Yz();X1()(W7,vO);function Ia0($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(U===null)return this.emit("error",new Ua0);if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{o90.exports=PH;var l90=qk();X1()(PH,l90);function PH($){if(!(this instanceof PH))return new PH($);l90.call(this,$)}PH.prototype._transform=function($,Y,z){z(null,$)}});var $70=E((Jp1,e90)=>{var Vk;function Ga0($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var t90=p3().codes,Wa0=t90.ERR_MISSING_ARGS,Ha0=t90.ERR_STREAM_DESTROYED;function s90($){if($)throw $}function Xa0($){return $.setHeader&&typeof $.abort==="function"}function Za0($,Y,z,U){U=Ga0(U);var Q=!1;if($.on("close",function(){Q=!0}),Vk===void 0)Vk=AO();Vk($,{readable:Y,writable:z},function(I){if(I)return U(I);Q=!0,U()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,Xa0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();U(I||new Ha0("pipe"))}}function a90($){$()}function qa0($,Y){return $.pipe(Y)}function Va0($){if(!$.length)return s90;if(typeof $[$.length-1]!=="function")return s90;return $.pop()}function La0(){for(var $=arguments.length,Y=Array($),z=0;z<$;z++)Y[z]=arguments[z];var U=Va0(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new Wa0("streams");var Q,J=Y.map(function(I,K){var G=K0;return Za0(I,G,W,function(H){if(!Q)Q=H;if(H)J.forEach(a90);if(G)return;J.forEach(a90),U(Q)})});return Y.reduce(qa0)}e90.exports=La0});var E8=E((v$,TH)=>{var AH=I0("stream");if(process.env.READABLE_STREAM==="disable"&&AH)TH.exports=AH.Readable,Object.assign(TH.exports,AH),TH.exports.Stream=AH;else v$=TH.exports=ey(),v$.Stream=AH||v$,v$.Readable=v$,v$.Writable=ay(),v$.Duplex=Yz(),v$.Transform=qk(),v$.PassThrough=r90(),v$.finished=AO(),v$.pipeline=$70()});var Z8=E((Ip1,U70)=>{var Y70=I0("fs"),Fa0=function($,Y,z,U){if($.super_=Y,!U)U=z,z=null;if(z)Object.keys(z).forEach((J)=>{Object.defineProperty($,J,Object.getOwnPropertyDescriptor(z,J))});let Q={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(U)Object.keys(U).forEach((J)=>{Q[J]=Object.getOwnPropertyDescriptor(U,J)});$.prototype=Object.create(Y.prototype,Q)},wa0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,z70={nop(){},promiseImmediate($){return new Promise((Y)=>{if(global.setImmediate)setImmediate(()=>{Y($)});else setTimeout(()=>{Y($)},1)})},inherits:Fa0,dateToExcel($,Y){return 25569+$.getTime()/86400000-(Y?1462:0)},excelToDate($,Y){let z=Math.round(($-25569+(Y?1462:0))*24*3600*1000);return new Date(z)},parsePath($){let Y=$.lastIndexOf("/");return{path:$.substring(0,Y),name:$.substring(Y+1)}},getRelsPath($){let Y=z70.parsePath($);return`${Y.path}/_rels/${Y.name}.rels`},xmlEncode($){let Y=wa0.exec($);if(!Y)return $;let z="",U="",Q=0,J=Y.index;for(;J<$.length;J++){let I=$.charCodeAt(J);switch(I){case 34:U=""";break;case 38:U="&";break;case 39:U="'";break;case 60:U="<";break;case 62:U=">";break;case 127:U="";break;default:{if(I<=31&&(I<=8||I>=11&&I!==13)){U="";break}continue}}if(Q!==J)z+=$.substring(Q,J);if(Q=J+1,U)z+=U}if(Q!==J)return z+$.substring(Q,J);return z},xmlDecode($){return $.replace(/&([a-z]*);/g,(Y)=>{switch(Y){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return Y}})},validInt($){let Y=parseInt($,10);return!Number.isNaN(Y)?Y:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((Y)=>{Y70.access($,Y70.constants.F_OK,(z)=>{Y(!z)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};U70.exports=z70});var Lk=E((Kp1,J70)=>{class Q70{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let Y=this._buf.length*2;while(Y<$)Y*=2;let z=Buffer.alloc(Y);this._buf.copy(z,0),this._buf=z}addText($){this._buffer=void 0;let Y=this._inPos+this._buf.write($,this._inPos,this._encoding);while(Y>=this._buf.length-4)this._grow(this._inPos+$.length),Y=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=Y}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}J70.exports=Q70});var jH=E((Gp1,Z70)=>{var Ma0=E8(),I70=Z8(),Oa0=Lk();class K70{constructor($,Y){this._data=$,this._encoding=Y}get length(){return this.toBuffer().length}copy($,Y,z,U){return this.toBuffer().copy($,Y,z,U)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class G70{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,z,U){return this._data._buf.copy($,Y,z,U)}toBuffer(){return this._data.toBuffer()}}class W70{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,z,U){this._data.copy($,Y,z,U)}toBuffer(){return this._data}}class H70{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let Y;if($===0)return null;if($===void 0||$>=this.length)return Y=this.toBuffer(),this.iRead=this.iWrite,Y;return Y=Buffer.alloc($),this.buffer.copy(Y,0,this.iRead,$),this.iRead+=$,Y}write($,Y,z){let U=Math.min(z,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,Y,Y+U),this.iWrite+=U,U}}var X70=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};I70.inherits(X70,Ma0.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let Y=this.buffers[this.buffers.length-1];if(!Y.full)return Y}let $=new H70(this.bufSize);return this.buffers.push($),$},async _pipe($){let Y=function(z){return new Promise((U)=>{z.write($.toBuffer(),()=>{U()})})};await Promise.all(this.pipes.map(Y))},_writeToBuffers($){let Y=0,z=$.length;while(Y1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(U),z();else this._writeToBuffers(U),process.nextTick(z);else{if(!this.paused)this.emit("data",U.toBuffer());this._writeToBuffers(U),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,Y,z){let U=(Q)=>{if(Q)z(Q);else this._flush(),this.pipes.forEach((J)=>{J.end()}),this.emit("finish")};if($)this.write($,Y,U);else U()},read($){let Y;if($){Y=[];while($&&this.buffers.length&&!this.buffers[0].eod){let z=this.buffers[0],U=z.read($);if($-=U.length,Y.push(U),z.eod&&z.full)this.buffers.shift()}return Buffer.concat(Y)}return Y=this.buffers.map((z)=>z.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(Y)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((Y)=>Y!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});Z70.exports=X70});var L70=E((Da0)=>{var q70=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:V70}=I0("buffer");function Na0($){if(typeof $!=="string")return $;if(q70)return V70.from(q70.encode($).buffer);return V70.from($)}Da0.stringToBuffer=Na0});var M70=E((Xp1,w70)=>{var Pa0=I0("events"),Aa0=py(),Ta0=jH(),{stringToBuffer:Hp1}=L70();class F70 extends Pa0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new Aa0,this.stream=new Ta0}append($,Y){if(Y.hasOwnProperty("base64")&&Y.base64)this.zip.file(Y.name,$,{base64:!0});else this.zip.file(Y.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,Y){return this.stream.pipe($,Y)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}w70.exports={ZipWriter:F70}});var l6=E((Zp1,D70)=>{var ja0=Y6(),O70=Z8();function N70($,Y,z){$.push(` ${Y}="${O70.xmlEncode(z.toString())}"`)}function Fk($,Y){if(Y){let z=[];ja0.each(Y,(U,Q)=>{if(U!==void 0)N70(z,Q,U)}),$.push(z.join(""))}}class wk{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let Y=this._xml;Y.push(" +`)}openNode($,Y){let z=this.tos,U=this._xml;if(z&&this.open)U.push(">");this._stack.push($),U.push("<"),U.push($),Fk(U,Y),this.leaf=!0,this.open=!0}addAttribute($,Y){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(Y!==void 0)N70(this._xml,$,Y)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");Fk(this._xml,$)}writeText($){let Y=this._xml;if(this.open)Y.push(">"),this.open=!1;this.leaf=!1,Y.push(O70.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),Y=this._xml;if(this.leaf)Y.push("/>");else Y.push("");this.open=!1,this.leaf=!1}leafNode($,Y,z){if(this.openNode($,Y),z!==void 0)this.writeText(z);this.closeNode()}closeAll(){while(this._stack.length)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let $=this._rollbacks.pop();if(this._xml.length>$.xml)this._xml.splice($.xml,this._xml.length-$.xml);if(this._stack.length>$.stack)this._stack.splice($.stack,this._stack.length-$.stack);this.leaf=$.leaf,this.open=$.open}get xml(){return this.closeAll(),this._xml.join("")}}wk.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};D70.exports=wk});var Mk=E((Ca0)=>{var B70=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function Ea0($){if(typeof $==="string")return $;if(B70)return B70.decode($);return $.toString()}Ca0.bufferToString=Ea0});var E70=E((A70)=>{Object.defineProperty(A70,"__esModule",{value:!0});A70.CHAR=` \r -퟿-�\uD800\uDC00-\uDBFF\uDFFF`;A70.S=` \r -`;A70.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";A70.NAME_CHAR="-"+A70.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";A70.CHAR_RE=new RegExp("^["+A70.CHAR+"]$","u");A70.S_RE=new RegExp("^["+A70.S+"]+$","u");A70.NAME_START_CHAR_RE=new RegExp("^["+A70.NAME_START_CHAR+"]$","u");A70.NAME_CHAR_RE=new RegExp("^["+A70.NAME_CHAR+"]$","u");A70.NAME_RE=new RegExp("^["+A70.NAME_START_CHAR+"]["+A70.NAME_CHAR+"]*$","u");A70.NMTOKEN_RE=new RegExp("^["+A70.NAME_CHAR+"]+$","u");var wk=9,Mk=10,Ok=13,Nk=32;A70.S_LIST=[Nk,Mk,Ok,wk];function Ca0($){return $>=Nk&&$<=55295||$===Mk||$===Ok||$===wk||$>=57344&&$<=65533||$>=65536&&$<=1114111}A70.isChar=Ca0;function Ra0($){return $===Nk||$===Mk||$===Ok||$===wk}A70.isS=Ra0;function P70($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}A70.isNameStartChar=P70;function _a0($){return P70($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}A70.isNameChar=_a0});var x70=E((S70)=>{Object.defineProperty(S70,"__esModule",{value:!0});S70.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";S70.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";S70.S=` \r -`;S70.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";S70.NAME_CHAR="-"+S70.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";S70.CHAR_RE=new RegExp("^["+S70.CHAR+"]$","u");S70.RESTRICTED_CHAR_RE=new RegExp("^["+S70.RESTRICTED_CHAR+"]$","u");S70.S_RE=new RegExp("^["+S70.S+"]+$","u");S70.NAME_START_CHAR_RE=new RegExp("^["+S70.NAME_START_CHAR+"]$","u");S70.NAME_CHAR_RE=new RegExp("^["+S70.NAME_CHAR+"]$","u");S70.NAME_RE=new RegExp("^["+S70.NAME_START_CHAR+"]["+S70.NAME_CHAR+"]*$","u");S70.NMTOKEN_RE=new RegExp("^["+S70.NAME_CHAR+"]+$","u");var C70=9,R70=10,_70=13,v70=32;S70.S_LIST=[v70,R70,_70,C70];function ca0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}S70.isChar=ca0;function na0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}S70.isRestrictedChar=na0;function pa0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}S70.isCharAndNotRestricted=pa0;function da0($){return $===v70||$===R70||$===_70||$===C70}S70.isS=da0;function h70($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}S70.isNameStartChar=h70;function ma0($){return h70($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}S70.isNameChar=ma0});var b70=E((u70)=>{Object.defineProperty(u70,"__esModule",{value:!0});u70.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";u70.NC_NAME_CHAR="-"+u70.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";u70.NC_NAME_START_CHAR_RE=new RegExp("^["+u70.NC_NAME_START_CHAR+"]$","u");u70.NC_NAME_CHAR_RE=new RegExp("^["+u70.NC_NAME_CHAR+"]$","u");u70.NC_NAME_RE=new RegExp("^["+u70.NC_NAME_START_CHAR+"]["+u70.NC_NAME_CHAR+"]*$","u");function f70($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}u70.isNCNameStartChar=f70;function Kt0($){return f70($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}u70.isNCNameChar=Kt0});var G30=E((K30)=>{Object.defineProperty(K30,"__esModule",{value:!0});var EJ=E70(),qt0=x70(),gk=b70(),p8=EJ.isS,Vt0=EJ.isChar,EH=EJ.isNameStartChar,i70=EJ.isNameChar,Y30=EJ.S_LIST,Lt0=EJ.NAME_RE,Ft0=qt0.isChar,wt0=gk.isNCNameStartChar,Mt0=gk.isNCNameChar,Ot0=gk.NC_NAME_RE,iO="http://www.w3.org/XML/1998/namespace",jJ="http://www.w3.org/2000/xmlns/",Nt0={__proto__:null,xml:iO,xmlns:jJ},Dt0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},k4=-1,Q9=-2,c70=0,Bt0=1,Bk=2,Pt0=3,PJ=4,At0=5,Tt0=6,jt0=7,Pk=8,Et0=9,Ct0=10,Rt0=11,_t0=12,C8=13,kO=14,Ak=15,vt0=16,Tk=17,ht0=18,St0=19,jk=20,gt0=21,yt0=22,kt0=23,n70=24,Ek=25,xO=26,p70=27,xt0=28,ft0=29,d70=30,ut0=31,bt0=32,Iz=33,it0=34,Ck=35,CH=36,Rk=37,ct0=38,m70=39,l70=40,nt0=41,o70=42,pt0=43,dt0=44,_k=9,q5=10,vk=13,r70=32,s70=33,z30=34,RH=38,U30=39,fO=45,uO=47,mt0=59,r3=60,AJ=61,A6=62,l6=63,Q30=91,TJ=93,a70=133,t70=8232,bO=($)=>$===z30||$===U30,J30=[z30,U30],lt0=[...J30,Q30,A6],ot0=[...J30,r3,TJ],rt0=[AJ,l6,...Y30],st0=[...Y30,A6,RH,r3];function Sk($,Y,z){switch(Y){case"xml":if(z!==iO)$.fail(`xml prefix must be bound to ${iO}.`);break;case"xmlns":if(z!==jJ)$.fail(`xmlns prefix must be bound to ${jJ}.`);break;default:}switch(z){case jJ:$.fail(Y===""?`the default namespace may not be set to ${z}.`:`may not assign a prefix (even "xmlns") to the URI ${jJ}.`);break;case iO:switch(Y){case"xml":break;case"":$.fail(`the default namespace may not be set to ${z}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function at0($,Y){for(let z of Object.keys(Y))Sk($,z,Y[z])}var tt0=($)=>Ot0.test($),et0=($)=>Lt0.test($),Kz=0,e70=1,hk=2;K30.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var $30={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class I30{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let Y=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,Y){this.nameStartCheck=wt0,this.nameCheck=Mt0,this.isName=tt0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},Nt0);let z=this.opt.additionalNamespaces;if(z!=null)at0(this,z),Object.assign(this.ns,z)}else this.nameStartCheck=EH,this.nameCheck=i70,this.isName=et0,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=Kz,this.attribList=[];let{fragmentOpt:Y}=this;this.state=Y?C8:c70,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=Y,this.xmlDeclPossible=!Y,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:z}=this.opt;if(z===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");z="1.0"}this.setXMLVersion(z),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Dt0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,Y){this[$30[$]]=Y}off($){this[$30[$]]=void 0}makeError($){var Y;let z=(Y=this.fileName)!==null&&Y!==void 0?Y:"";if(this.trackPosition){if(z.length>0)z+=":";z+=`${this.line}:${this.column}`}if(z.length>0)z+=": ";return Error(z+$)}fail($){let Y=this.makeError($),z=this.errorHandler;if(z===void 0)throw Y;else z(Y);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let Y=!1;if($===null)Y=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let z=$.length,U=$.charCodeAt(z-1);if(!Y&&(U===vk||U>=55296&&U<=56319))this.carriedFromPrevious=$[z-1],z--,$=$.slice(0,z);let{stateTable:Q}=this;this.chunk=$,this.i=0;while(this.i=$.length)return k4;let z=$.charCodeAt(Y);if(this.column++,z<55296){if(z>=r70||z===_k)return z;switch(z){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case vk:if($.charCodeAt(Y+1)===q5)this.i=Y+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,Q9;default:return this.fail("disallowed character."),z}}if(z>56319){if(!(z>=57344&&z<=65533))this.fail("disallowed character.");return z}let U=65536+(z-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,U>1114111)this.fail("disallowed character.");return U}getCode11(){let{chunk:$,i:Y}=this;if(this.prevI=Y,this.i=Y+1,Y>=$.length)return k4;let z=$.charCodeAt(Y);if(this.column++,z<55296){if(z>31&&z<127||z>159&&z!==t70||z===_k)return z;switch(z){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case vk:{let Q=$.charCodeAt(Y+1);if(Q===q5||Q===a70)this.i=Y+2}case a70:case t70:return this.line++,this.column=0,this.positionAtNewLine=this.position,Q9;default:return this.fail("disallowed character."),z}}if(z>56319){if(!(z>=57344&&z<=65533))this.fail("disallowed character.");return z}let U=65536+(z-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,U>1114111)this.fail("disallowed character.");return U}getCodeNorm(){let $=this.getCode();return $===Q9?q5:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:Y}=this,{chunk:z}=this;while(!0){let U=this.getCode(),Q=U===Q9,J=Q?q5:U;if(J===k4||$.includes(J))return this.text+=z.slice(Y,this.prevI),J;if(Q)this.text+=`${z.slice(Y,this.prevI)} -`,Y=this.i}}captureToChar($){let{i:Y}=this,{chunk:z}=this;while(!0){let U=this.getCode();switch(U){case Q9:this.text+=`${z.slice(Y,this.prevI)} -`,Y=this.i,U=q5;break;case k4:return this.text+=z.slice(Y),!1;default:}if(U===$)return this.text+=z.slice(Y,this.prevI),!0}}captureNameChars(){let{chunk:$,i:Y}=this;while(!0){let z=this.getCode();if(z===k4)return this.name+=$.slice(Y),k4;if(!i70(z))return this.name+=$.slice(Y,this.prevI),z===Q9?q5:z}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===k4||!p8($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=Vt0,this.getCode=this.getCode10;else this.isChar=Ft0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=Bt0}sBeginWhitespace(){let $=this.i,Y=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(Y){case r3:if(this.state=Ak,this.text.length!==0)throw Error("no-empty text at start");break;case k4:break;default:this.unget(),this.state=C8,this.xmlDeclPossible=!1}}sDoctype(){var $;let Y=this.captureTo(lt0);switch(Y){case A6:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8,this.doctype=!0;break}case k4:break;default:if(this.text+=String.fromCodePoint(Y),Y===Q30)this.state=PJ;else if(bO(Y))this.state=Pt0,this.q=Y}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=Bk}sDTD(){let $=this.captureTo(ot0);if($===k4)return;if(this.text+=String.fromCodePoint($),$===TJ)this.state=Bk;else if($===r3)this.state=Tt0;else if(bO($))this.state=At0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=PJ,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case s70:this.state=jt0,this.openWakaBang="";break;case l6:this.state=Rt0;break;default:this.state=PJ}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),Y=this.openWakaBang+=$;if(this.text+=$,Y!=="-")this.state=Y==="--"?Pk:PJ,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(fO))this.text+="-",this.state=Et0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===fO?Ct0:Pk}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===A6)this.state=PJ;else this.fail("malformed comment."),this.state=Pk}sDTDPI(){if(this.captureToChar(l6))this.text+="?",this.state=_t0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===A6)this.state=PJ}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:Y}=this;$:while(!0)switch(this.getCode()){case Q9:this.entity+=`${Y.slice($,this.prevI)} -`,$=this.i;break;case mt0:{let{entityReturnState:z}=this,U=this.entity+Y.slice($,this.prevI);this.state=z;let Q;if(U==="")this.fail("empty entity name."),Q="&;";else Q=this.parseEntity(U),this.entity="";if(z!==C8||this.textHandler!==void 0)this.text+=Q;break $}case k4:this.entity+=Y.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(EH($))this.state=it0,this.unget(),this.xmlDeclPossible=!1;else switch($){case uO:this.state=pt0,this.xmlDeclPossible=!1;break;case s70:this.state=vt0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case l6:this.state=kt0;break;default:this.fail("disallowed character in tag name"),this.state=C8,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=jk,this.openWakaBang="";break;case"--":this.state=Tk,this.openWakaBang="";break;case"DOCTYPE":if(this.state=Bk,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(fO))this.state=ht0}sCommentEnding(){var $;let Y=this.getCodeNorm();if(Y===fO)this.state=St0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(Y)}`,this.state=Tk}sCommentEnded(){let $=this.getCodeNorm();if($!==A6)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=Tk;else this.state=C8}sCData(){if(this.captureToChar(TJ))this.state=gt0}sCDataEnding(){let $=this.getCodeNorm();if($===TJ)this.state=yt0;else this.text+=`]${String.fromCodePoint($)}`,this.state=jk}sCDataEnding2(){var $;let Y=this.getCodeNorm();switch(Y){case A6:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8;break}case TJ:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(Y)}`,this.state=jk}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=n70;else if($===l6||p8($))this.fail("processing instruction without a target."),this.state=$===l6?xO:Ek;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=n70}sPIRest(){let{chunk:$,i:Y}=this;while(!0){let z=this.getCodeNorm();if(z===k4){this.piTarget+=$.slice(Y);return}if(!this.nameCheck(z)){this.piTarget+=$.slice(Y,this.prevI);let U=z===l6;if(U||p8(z))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=U?Iz:p70}else this.state=U?xO:Ek;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(z);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===l6)this.state=xO;else if(!p8($))this.text=String.fromCodePoint($)}else if(this.captureToChar(l6))this.state=xO}sPIEnding(){var $;let Y=this.getCodeNorm();if(Y===A6){let{piTarget:z}=this;if(z.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:z,body:this.text}),this.piTarget=this.text="",this.state=C8}else if(Y===l6)this.text+="?";else this.text+=`?${String.fromCodePoint(Y)}`,this.state=Ek;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===l6){this.state=Iz;return}if($!==k4)this.state=xt0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(rt0);if($===l6){this.state=Iz,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p8($)||$===AJ))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===AJ?d70:ft0}sXMLDeclEq(){let $=this.getCodeNorm();if($===l6){this.state=Iz,this.fail("XML declaration is incomplete.");return}if(p8($))return;if($!==AJ)this.fail("value required.");this.state=d70}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===l6){this.state=Iz,this.fail("XML declaration is incomplete.");return}if(p8($))return;if(!bO($))this.fail("value must be quoted."),this.q=r70;else this.q=$;this.state=ut0}sXMLDeclValue(){let $=this.captureTo([this.q,l6]);if($===l6){this.state=Iz,this.text="",this.fail("XML declaration is incomplete.");return}if($===k4)return;let Y=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let z=Y;if(this.xmlDecl.version=z,!/^1\.[0-9]+$/.test(z))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(z);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(Y))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=Y;break;case"standalone":if(Y!=="yes"&&Y!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=Y;break;default:}this.name="",this.state=bt0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===l6){this.state=Iz;return}if(!p8($))this.fail("whitespace required."),this.unget();this.state=p70}sXMLDeclEnding(){var $;if(this.getCodeNorm()===A6){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=C8}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let Y=this.captureNameChars();if(Y===k4)return;let z=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=z.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,z),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(Y){case A6:this.openTag();break;case uO:this.state=Ck;break;default:if(!p8(Y))this.fail("disallowed character in tag name.");this.state=CH}}sOpenTagSlash(){if(this.getCode()===A6)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=CH}sAttrib(){let $=this.skipSpaces();if($===k4)return;if(EH($))this.unget(),this.state=Rk;else if($===A6)this.openTag();else if($===uO)this.state=Ck;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===AJ)this.state=m70;else if(p8($))this.state=ct0;else if($===A6)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==k4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case k4:return;case AJ:this.state=m70;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===A6)this.openTag();else if(EH($))this.unget(),this.state=Rk;else this.fail("disallowed character in attribute name."),this.state=CH}}sAttribValue(){let $=this.getCodeNorm();if(bO($))this.q=$,this.state=l70;else if(!p8($))this.fail("unquoted attribute value."),this.state=o70,this.unget()}sAttribValueQuoted(){let{q:$,chunk:Y}=this,{i:z}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+Y.slice(z,this.prevI)),this.name=this.text="",this.q=null,this.state=nt0;return;case RH:this.text+=Y.slice(z,this.prevI),this.state=kO,this.entityReturnState=l70;return;case q5:case Q9:case _k:this.text+=`${Y.slice(z,this.prevI)} `,z=this.i;break;case r3:this.text+=Y.slice(z,this.prevI),this.fail("disallowed character.");return;case k4:this.text+=Y.slice(z);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p8($))this.state=CH;else if($===A6)this.openTag();else if($===uO)this.state=Ck;else if(EH($))this.fail("no whitespace between attributes."),this.unget(),this.state=Rk;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(st0);switch($){case RH:this.state=kO,this.entityReturnState=o70;break;case r3:this.fail("disallowed character.");break;case k4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===A6)this.openTag();else this.state=CH}}sCloseTag(){let $=this.captureNameChars();if($===A6)this.closeTag();else if(p8($))this.state=dt0;else if($!==k4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case A6:this.closeTag();break;case k4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:Y}=this,{chunk:z,textHandler:U}=this;$:while(!0)switch(this.getCode()){case r3:{if(this.state=Ak,U!==void 0){let{text:Q}=this,J=z.slice($,this.prevI);if(Q.length!==0)U(Q+J),this.text="";else if(J.length!==0)U(J)}Y=Kz;break $}case RH:if(this.state=kO,this.entityReturnState=C8,U!==void 0)this.text+=z.slice($,this.prevI);Y=Kz;break $;case TJ:switch(Y){case Kz:Y=e70;break;case e70:Y=hk;break;case hk:break;default:throw Error("impossible state")}break;case A6:if(Y===hk)this.fail('the string "]]>" is disallowed in char data.');Y=Kz;break;case Q9:if(U!==void 0)this.text+=`${z.slice($,this.prevI)} -`;$=this.i,Y=Kz;break;case k4:if(U!==void 0)this.text+=z.slice($);break $;default:Y=Kz}this.forbiddenState=Y}handleTextOutsideRoot(){let{i:$}=this,{chunk:Y,textHandler:z}=this,U=!1;$:while(!0){let Q=this.getCode();switch(Q){case r3:{if(this.state=Ak,z!==void 0){let{text:J}=this,I=Y.slice($,this.prevI);if(J.length!==0)z(J+I),this.text="";else if(I.length!==0)z(I)}break $}case RH:if(this.state=kO,this.entityReturnState=C8,z!==void 0)this.text+=Y.slice($,this.prevI);U=!0;break $;case Q9:if(z!==void 0)this.text+=`${Y.slice($,this.prevI)} -`;$=this.i;break;case k4:if(z!==void 0)this.text+=Y.slice($);break $;default:if(!p8(Q))U=!0}}if(!U)return;if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0}pushAttribNS($,Y){var z;let{prefix:U,local:Q}=this.qname($),J={name:$,prefix:U,local:Q,value:Y};if(this.attribList.push(J),(z=this.attributeHandler)===null||z===void 0||z.call(this,J),U==="xmlns"){let I=Y.trim();if(this.currentXMLVersion==="1.0"&&I==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[Q]=I,Sk(this,Q,I)}else if($==="xmlns"){let I=Y.trim();this.topNS[""]=I,Sk(this,"",I)}}pushAttribPlain($,Y){var z;let U={name:$,value:Y};this.attribList.push(U),(z=this.attributeHandler)===null||z===void 0||z.call(this,U)}end(){var $,Y;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:z}=this;while(z.length>0){let Q=z.pop();this.fail(`unclosed tag: ${Q.name}`)}if(this.state!==c70&&this.state!==C8)this.fail("unexpected end.");let{text:U}=this;if(U.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,U),this.text="";return this._closed=!0,(Y=this.endHandler)===null||Y===void 0||Y.call(this),this._init(),this}resolve($){var Y,z;let U=this.topNS[$];if(U!==void 0)return U;let{tags:Q}=this;for(let J=Q.length-1;J>=0;J--)if(U=Q[J].ns[$],U!==void 0)return U;if(U=this.ns[$],U!==void 0)return U;return(z=(Y=this.opt).resolvePrefix)===null||z===void 0?void 0:z.call(Y,$)}qname($){let Y=$.indexOf(":");if(Y===-1)return{prefix:"",local:$};let z=$.slice(Y+1),U=$.slice(0,Y);if(U===""||z===""||z.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:U,local:z}}processAttribsNS(){var $;let{attribList:Y}=this,z=this.tag;{let{prefix:J,local:I}=this.qname(z.name);z.prefix=J,z.local=I;let K=z.uri=($=this.resolve(J))!==null&&$!==void 0?$:"";if(J!==""){if(J==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(K==="")this.fail(`unbound namespace prefix: ${JSON.stringify(J)}.`),z.uri=J}}if(Y.length===0)return;let{attributes:U}=z,Q=new Set;for(let J of Y){let{name:I,prefix:K,local:G}=J,W,H;if(K==="")W=I==="xmlns"?jJ:"",H=I;else{if(W=this.resolve(K),W===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(K)}.`),W=K;H=`{${W}}${G}`}if(Q.has(H))this.fail(`duplicate attribute: ${H}.`);Q.add(H),J.uri=W,U[I]=J}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,Y=this.tag.attributes;for(let{name:z,value:U}of $){if(Y[z]!==void 0)this.fail(`duplicate attribute: ${z}.`);Y[z]=U}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:Y}=this,z=this.tag;z.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,z),Y.push(z),this.state=C8,this.name=""}openSelfClosingTag(){var $,Y,z;this.processAttribs();let{tags:U}=this,Q=this.tag;if(Q.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,Q),(Y=this.closeTagHandler)===null||Y===void 0||Y.call(this,Q),(this.tag=(z=U[U.length-1])!==null&&z!==void 0?z:null)===null)this.closedRoot=!0;this.state=C8,this.name=""}closeTag(){let{tags:$,name:Y}=this;if(this.state=C8,this.name="",Y===""){this.fail("weird empty close tag."),this.text+="";return}let z=this.closeTagHandler,U=$.length;while(U-- >0){let Q=this.tag=$.pop();if(this.topNS=Q.ns,z===null||z===void 0||z(Q),Q.name===Y)break;this.fail("unexpected close tag.")}if(U===0)this.closedRoot=!0;else if(U<0)this.fail(`unmatched closing tag: ${Y}.`),this.text+=``}parseEntity($){if($[0]!=="#"){let z=this.ENTITIES[$];if(z!==void 0)return z;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let Y=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))Y=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))Y=parseInt($.slice(1),10);if(!this.isChar(Y))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(Y)}}K30.SaxesParser=I30});var _H=E((Lp1,W30)=>{var{SaxesParser:ze0}=G30(),{PassThrough:Ue0}=E8(),{bufferToString:Qe0}=Fk();W30.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new Ue0);let Y=new ze0,z;Y.on("error",(Q)=>{z=Q});let U=[];Y.on("opentag",(Q)=>U.push({eventType:"opentag",value:Q})),Y.on("text",(Q)=>U.push({eventType:"text",value:Q})),Y.on("closetag",(Q)=>U.push({eventType:"closetag",value:Q}));for await(let Q of $){if(Y.write(Qe0(Q)),z)throw z;yield U,U=[]}}});var g0=E((Fp1,H30)=>{var Je0=_H(),Ie0=m6();class CJ{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,Y){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof CJ)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let Y of $)for(let{eventType:z,value:U}of Y)if(z==="opentag")this.parseOpen(U);else if(z==="text")this.parseText(U);else if(z==="closetag"){if(!this.parseClose(U.name))return this.model}return this.model}async parseStream($){return this.parse(Je0($))}get xml(){return this.toXml(this.model)}toXml($){let Y=new Ie0;return this.render(Y,$),Y.xml}static toAttribute($,Y,z=!1){if($===void 0){if(z)return Y}else if(z||$!==Y)return $.toString();return}static toStringAttribute($,Y,z=!1){return CJ.toAttribute($,Y,z)}static toStringValue($,Y){return $===void 0?Y:$}static toBoolAttribute($,Y,z=!1){if($===void 0){if(z)return Y}else if(z||$!==Y)return $?"1":"0";return}static toBoolValue($,Y){return $===void 0?Y:$==="1"}static toIntAttribute($,Y,z=!1){return CJ.toAttribute($,Y,z)}static toIntValue($,Y){return $===void 0?Y:parseInt($,10)}static toFloatAttribute($,Y,z=!1){return CJ.toAttribute($,Y,z)}static toFloatValue($,Y){return $===void 0?Y:parseFloat($)}}H30.exports=CJ});var RJ=E((wp1,q30)=>{var Ke0=g0(),Ge0=m6();function X30($,Y){if($.openNode(Y.tag,Y.$),Y.c)Y.c.forEach((z)=>{X30($,z)});if(Y.t)$.writeText(Y.t);$.closeNode()}class Z30 extends Ke0{constructor($){super();this._model=$}render($){if(!this._xml){let Y=new Ge0;X30(Y,this._model),this._xml=Y.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}q30.exports=Z30});var s3=E((Mp1,L30)=>{var We0=g0();class V30 extends We0{constructor($){super();this.tag=$.tag,this.always=!!$.always,this.count=$.count,this.empty=$.empty,this.$count=$.$count||"count",this.$=$.$,this.childXform=$.childXform,this.maxItems=$.maxItems}prepare($,Y){let{childXform:z}=this;if($)$.forEach((U,Q)=>{Y.index=Q,z.prepare(U,Y)})}render($,Y){if(this.always||Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y&&Y.length||0);let{childXform:z}=this;(Y||[]).forEach((U,Q)=>{z.render($,U,Q)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model=[],!0;default:if(this.childXform.parseOpen($))return this.parser=this.childXform,!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems)throw Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`)}return!0}return!1}reconcile($,Y){if($){let{childXform:z}=this;$.forEach((U)=>{z.reconcile(U,Y)})}}}L30.exports=V30});var a3=E((Op1,w30)=>{var He0=g0();class F30 extends He0{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,Y){if(Y){if($.openNode(this.name),Y.argb)$.addAttribute("rgb",Y.argb);else if(Y.theme!==void 0){if($.addAttribute("theme",Y.theme),Y.tint!==void 0)$.addAttribute("tint",Y.tint)}else if(Y.indexed!==void 0)$.addAttribute("indexed",Y.indexed);else $.addAttribute("auto","1");return $.closeNode(),!0}return!1}parseOpen($){if($.name===this.name){if($.attributes.rgb)this.model={argb:$.attributes.rgb};else if($.attributes.theme){if(this.model={theme:parseInt($.attributes.theme,10)},$.attributes.tint)this.model.tint=parseFloat($.attributes.tint)}else if($.attributes.indexed)this.model={indexed:parseInt($.attributes.indexed,10)};else this.model=void 0;return!0}return!1}parseText(){}parseClose(){return!1}}w30.exports=F30});var N30=E((Np1,O30)=>{var Xe0=g0();class M30 extends Xe0{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,Y){if(Y)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}O30.exports=M30});var cO=E((Dp1,B30)=>{var Ze0=g0();class D30 extends Ze0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,Y){if(Y||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag){if(this.attr)this.model=parseInt($.attributes[this.attr],10);else this.text=[];return!0}return!1}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=parseInt(this.text.join("")||0,10);return!1}}B30.exports=D30});var nO=E((Bp1,A30)=>{var qe0=g0();class P30 extends qe0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,Y){if(Y!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=$.attributes[this.attr];else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this.text.join("");return!1}}A30.exports=P30});var j30=E((Pp1,T30)=>{var Ve0=g0();class pO extends Ve0{constructor($){super();this.model=$}get tag(){return"u"}render($,Y){if(Y=Y||this.model,Y===!0)$.leafNode("u");else{let z=pO.Attributes[Y];if(z)$.leafNode("u",z)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}pO.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};T30.exports=pO});var mO=E((Ap1,E30)=>{var Le0=a3(),Gz=N30(),yk=cO(),kk=nO(),Fe0=j30(),we0=Y6(),Me0=g0();class dO extends Me0{constructor($){super();this.options=$||dO.OPTIONS,this.map={b:{prop:"bold",xform:new Gz({tag:"b",attr:"val"})},i:{prop:"italic",xform:new Gz({tag:"i",attr:"val"})},u:{prop:"underline",xform:new Fe0},charset:{prop:"charset",xform:new yk({tag:"charset",attr:"val"})},color:{prop:"color",xform:new Le0},condense:{prop:"condense",xform:new Gz({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new Gz({tag:"extend",attr:"val"})},family:{prop:"family",xform:new yk({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new Gz({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new kk({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new kk({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new Gz({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new Gz({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new yk({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new kk({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,Y){let{map:z}=this;$.openNode(this.options.tagName),we0.each(this.map,(U,Q)=>{z[Q].xform.render($,Y[U.prop])}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if(this.map[$.name])return this.parser=this.map[$.name].xform,this.parser.parseOpen($);switch($.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser&&!this.parser.parseClose($)){let Y=this.map[$];if(this.parser.model)this.model[Y.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}dO.OPTIONS={tagName:"font",fontNameTag:"name"};E30.exports=dO});var ik=E((Tp1,C30)=>{var lO=g0(),xk=a3();class fk extends lO{constructor(){super();this.map={color:new xk}}get tag(){return"stop"}render($,Y){$.openNode("stop"),$.addAttribute("position",Y.position),this.map.color.render($,Y.color),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"stop":return this.model={position:parseFloat($.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.color=this.parser.model,this.parser=void 0;return!0}return!1}}class uk extends lO{constructor(){super();this.map={fgColor:new xk("fgColor"),bgColor:new xk("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,Y){if($.openNode("patternFill"),$.addAttribute("patternType",Y.pattern),Y.fgColor)this.map.fgColor.render($,Y.fgColor);if(Y.bgColor)this.map.bgColor.render($,Y.bgColor);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"patternFill":return this.model={type:"pattern",pattern:$.attributes.patternType},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.parser.model)this.model[$]=this.parser.model;this.parser=void 0}return!0}return!1}}class bk extends lO{constructor(){super();this.map={stop:new fk}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,Y){switch($.openNode("gradientFill"),Y.gradient){case"angle":$.addAttribute("degree",Y.degree);break;case"path":if($.addAttribute("type","path"),Y.center.left){if($.addAttribute("left",Y.center.left),Y.center.right===void 0)$.addAttribute("right",Y.center.left)}if(Y.center.right)$.addAttribute("right",Y.center.right);if(Y.center.top){if($.addAttribute("top",Y.center.top),Y.center.bottom===void 0)$.addAttribute("bottom",Y.center.top)}if(Y.center.bottom)$.addAttribute("bottom",Y.center.bottom);break;default:break}let z=this.map.stop;Y.stops.forEach((U)=>{z.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let Y=this.model={stops:[]};if($.attributes.degree)Y.gradient="angle",Y.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(Y.gradient="path",Y.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)Y.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)Y.center.bottom=$.attributes.bottom?parseFloat($.attributes.bottom):0}return!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.stops.push(this.parser.model),this.parser=void 0;return!0}return!1}}class Wz extends lO{constructor(){super();this.map={patternFill:new uk,gradientFill:new bk}}get tag(){return"fill"}render($,Y){switch($.addRollback(),$.openNode("fill"),Y.type){case"pattern":this.map.patternFill.render($,Y);break;case"gradient":this.map.gradientFill.render($,Y);break;default:$.rollback();return}$.closeNode(),$.commit()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"fill":return this.model={},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0;return!0}return!1}validStyle($){return Wz.validPatternValues[$]}}Wz.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,Y)=>{return $[Y]=!0,$},{});Wz.StopXform=fk;Wz.PatternFillXform=uk;Wz.GradientFillXform=bk;C30.exports=Wz});var ck=E((jp1,h30)=>{var _30=g0(),R30=X8(),Oe0=a3();class t3 extends _30{constructor($){super();this.name=$,this.map={color:new Oe0}}get tag(){return this.name}render($,Y,z){let U=Y&&Y.color||z||this.defaultColor;if($.openNode(this.name),Y&&Y.style){if($.addAttribute("style",Y.style),U)this.map.color.render($,U)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:Y}=$.attributes;if(Y)this.model={style:Y};else this.model=void 0;return!0}case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.name){if(this.map.color.model){if(!this.model)this.model={};this.model.color=this.map.color.model}}return!1}validStyle($){return t3.validStyleValues[$]}}t3.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,Y)=>{return $[Y]=!0,$},{});class v30 extends _30{constructor(){super();this.map={top:new t3("top"),left:new t3("left"),bottom:new t3("bottom"),right:new t3("right"),diagonal:new t3("diagonal")}}render($,Y){let{color:z}=Y;if($.openNode("border"),Y.diagonal&&Y.diagonal.style){if(Y.diagonal.up)$.addAttribute("diagonalUp","1");if(Y.diagonal.down)$.addAttribute("diagonalDown","1")}function U(Q,J){if(Q&&!Q.color&&Y.color)Q={...Q,color:Y.color};J.render($,Q,z)}U(Y.left,this.map.left),U(Y.right,this.map.right),U(Y.top,this.map.top),U(Y.bottom,this.map.bottom),U(Y.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=R30.parseBoolean($.attributes.diagonalUp),this.diagonalDown=R30.parseBoolean($.attributes.diagonalDown),!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($==="border"){let Y=this.model={},z=function(U,Q,J){if(Q){if(J)Object.assign(Q,J);Y[U]=Q}};z("left",this.map.left.model),z("right",this.map.right.model),z("top",this.map.top.model),z("bottom",this.map.bottom.model),z("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}h30.exports=v30});var g30=E((Ep1,S30)=>{S30.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}});var pk=E((Cp1,y30)=>{var Ne0=Y6(),nk=g30(),De0=g0();function Be0(){let $={};return Ne0.each(nk,(Y,z)=>{if(Y.f)$[Y.f]=parseInt(z,10)}),$}var Pe0=Be0();class oO extends De0{constructor($,Y){super();this.id=$,this.formatCode=Y}get tag(){return"numFmt"}render($,Y){$.leafNode("numFmt",{numFmtId:Y.id,formatCode:Y.formatCode})}parseOpen($){switch($.name){case"numFmt":return this.model={id:parseInt($.attributes.numFmtId,10),formatCode:$.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}oO.getDefaultFmtId=function(Y){return Pe0[Y]};oO.getDefaultFmtCode=function(Y){return nk[Y]&&nk[Y].f};y30.exports=oO});var dk=E((Rp1,u30)=>{var k30=G5(),vH=X8(),Ae0=g0(),Hz={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),vertical($){if($==="middle")return"center";return this.verticalValues[$]?$:void 0},wrapText($){return $?!0:void 0},shrinkToFit($){return $?!0:void 0},textRotation($){switch($){case"vertical":return $;default:return $=vH.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=vH.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return k30.ReadingOrder.LeftToRight;case"rtl":return k30.ReadingOrder.RightToLeft;default:return}}},x30={toXml($){if($=Hz.textRotation($),$){if($==="vertical")return 255;let Y=Math.round($);if(Y>=0&&Y<=90)return Y;if(Y<0&&Y>=-90)return 90-Y}return},toModel($){let Y=vH.validInt($);if(Y!==void 0){if(Y===255)return"vertical";if(Y>=0&&Y<=90)return Y;if(Y>90&&Y<=180)return 90-Y}return}};class f30 extends Ae0{get tag(){return"alignment"}render($,Y){$.addRollback(),$.openNode("alignment");let z=!1;function U(Q,J){if(J)$.addAttribute(Q,J),z=!0}if(U("horizontal",Hz.horizontal(Y.horizontal)),U("vertical",Hz.vertical(Y.vertical)),U("wrapText",Hz.wrapText(Y.wrapText)?"1":!1),U("shrinkToFit",Hz.shrinkToFit(Y.shrinkToFit)?"1":!1),U("indent",Hz.indent(Y.indent)),U("textRotation",x30.toXml(Y.textRotation)),U("readingOrder",Hz.readingOrder(Y.readingOrder)),$.closeNode(),z)$.commit();else $.rollback()}parseOpen($){let Y={},z=!1;function U(Q,J,I){if(Q)Y[J]=I,z=!0}U($.attributes.horizontal,"horizontal",$.attributes.horizontal),U($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),U($.attributes.wrapText,"wrapText",vH.parseBoolean($.attributes.wrapText)),U($.attributes.shrinkToFit,"shrinkToFit",vH.parseBoolean($.attributes.shrinkToFit)),U($.attributes.indent,"indent",parseInt($.attributes.indent,10)),U($.attributes.textRotation,"textRotation",x30.toModel($.attributes.textRotation)),U($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=z?Y:null}parseText(){}parseClose(){return!1}}u30.exports=f30});var mk=E((_p1,c30)=>{var Te0=g0(),b30={boolean($,Y){if($===void 0)return Y;return $}};class i30 extends Te0{get tag(){return"protection"}render($,Y){$.addRollback(),$.openNode("protection");let z=!1;function U(Q,J){if(J!==void 0)$.addAttribute(Q,J),z=!0}if(U("locked",b30.boolean(Y.locked,!0)?void 0:"0"),U("hidden",b30.boolean(Y.hidden,!1)?"1":void 0),$.closeNode(),z)$.commit();else $.rollback()}parseOpen($){let Y={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},z=!Y.locked||Y.hidden;this.model=z?Y:null}parseText(){}parseClose(){return!1}}c30.exports=i30});var d30=E((vp1,p30)=>{var je0=g0(),Ee0=dk(),Ce0=mk();class n30 extends je0{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new Ee0,protection:new Ce0}}get tag(){return"xf"}render($,Y){if($.openNode("xf",{numFmtId:Y.numFmtId||0,fontId:Y.fontId||0,fillId:Y.fillId||0,borderId:Y.borderId||0}),this.xfId)$.addAttribute("xfId",Y.xfId||0);if(Y.numFmtId)$.addAttribute("applyNumberFormat","1");if(Y.fontId)$.addAttribute("applyFont","1");if(Y.fillId)$.addAttribute("applyFill","1");if(Y.borderId)$.addAttribute("applyBorder","1");if(Y.alignment)$.addAttribute("applyAlignment","1");if(Y.protection)$.addAttribute("applyProtection","1");if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"xf":if(this.model={numFmtId:parseInt($.attributes.numFmtId,10),fontId:parseInt($.attributes.fontId,10),fillId:parseInt($.attributes.fillId,10),borderId:parseInt($.attributes.borderId,10)},this.xfId)this.model.xfId=parseInt($.attributes.xfId,10);return!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen($),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.map.protection===this.parser)this.model.protection=this.parser.model;else this.model.alignment=this.parser.model;this.parser=void 0}return!0}return $!=="xf"}}p30.exports=n30});var o30=E((hp1,l30)=>{var Re0=g0(),_e0=dk(),ve0=ck(),he0=ik(),Se0=mO(),ge0=pk(),ye0=mk();class m30 extends Re0{constructor(){super();this.map={alignment:new _e0,border:new ve0,fill:new he0,font:new Se0,numFmt:new ge0,protection:new ye0}}get tag(){return"dxf"}render($,Y){if($.openNode(this.tag),Y.font)this.map.font.render($,Y.font);if(Y.numFmt&&Y.numFmtId){let z={id:Y.numFmtId,formatCode:Y.numFmt};this.map.numFmt.render($,z)}if(Y.fill)this.map.fill.render($,Y.fill);if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.border)this.map.border.render($,Y.border);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.reset(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.tag)return this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1;return!0}}l30.exports=m30});var aO=E((Sp1,e30)=>{var sO=G5(),ke0=m6(),xe0=g0(),rO=RJ(),Xz=s3(),r30=mO(),s30=ik(),a30=ck(),hH=pk(),lk=d30(),fe0=o30();class G$ extends xe0{constructor($){super();if(this.map={numFmts:new Xz({tag:"numFmts",count:!0,childXform:new hH}),fonts:new Xz({tag:"fonts",count:!0,childXform:new r30,$:{"x14ac:knownFonts":1}}),fills:new Xz({tag:"fills",count:!0,childXform:new s30}),borders:new Xz({tag:"borders",count:!0,childXform:new a30}),cellStyleXfs:new Xz({tag:"cellStyleXfs",count:!0,childXform:new lk}),cellXfs:new Xz({tag:"cellXfs",count:!0,childXform:new lk({xfId:!0})}),dxfs:new Xz({tag:"dxfs",always:!0,count:!0,childXform:new fe0}),numFmt:new hH,font:new r30,fill:new s30,border:new a30,style:new lk({xfId:!0}),cellStyles:G$.STATIC_XFORMS.cellStyles,tableStyles:G$.STATIC_XFORMS.tableStyles,extLst:G$.STATIC_XFORMS.extLst},$)this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render($,Y){if(Y=Y||this.model,$.openXml(ke0.StdDocAttributes),$.openNode("styleSheet",G$.STYLESHEET_ATTRIBUTES),this.index){if(Y.numFmts&&Y.numFmts.length)$.openNode("numFmts",{count:Y.numFmts.length}),Y.numFmts.forEach((z)=>{$.writeXml(z)}),$.closeNode();if(!Y.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:Y.fonts.length,"x14ac:knownFonts":1}),Y.fonts.forEach((z)=>{$.writeXml(z)}),$.closeNode(),$.openNode("fills",{count:Y.fills.length}),Y.fills.forEach((z)=>{$.writeXml(z)}),$.closeNode(),$.openNode("borders",{count:Y.borders.length}),Y.borders.forEach((z)=>{$.writeXml(z)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:Y.styles.length}),Y.styles.forEach((z)=>{$.writeXml(z)}),$.closeNode()}else this.map.numFmts.render($,Y.numFmts),this.map.fonts.render($,Y.fonts),this.map.fills.render($,Y.fills),this.map.borders.render($,Y.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,Y.styles);G$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,Y.dxfs),G$.STATIC_XFORMS.tableStyles.render($),G$.STATIC_XFORMS.extLst.render($),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"styleSheet":return this.initIndex(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"styleSheet":{this.model={};let Y=(z,U)=>{if(U.model&&U.model.length)this.model[z]=U.model};if(Y("numFmts",this.map.numFmts),Y("fonts",this.map.fonts),Y("fills",this.map.fills),Y("borders",this.map.borders),Y("styles",this.map.cellXfs),Y("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let z=this.index.numFmt;this.model.numFmts.forEach((U)=>{z[U.id]=U.formatCode})}return!1}default:return!0}}addStyleModel($,Y){if(!$)return 0;if(!this.model.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});if(this.weakMap&&this.weakMap.has($))return this.weakMap.get($);let z={};if(Y=Y||sO.ValueType.Number,$.numFmt)z.numFmtId=this._addNumFmtStr($.numFmt);else switch(Y){case sO.ValueType.Number:z.numFmtId=this._addNumFmtStr("General");break;case sO.ValueType.Date:z.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)z.fontId=this._addFont($.font);if($.border)z.borderId=this._addBorder($.border);if($.fill)z.fillId=this._addFill($.fill);if($.alignment)z.alignment=$.alignment;if($.protection)z.protection=$.protection;let U=this._addStyle(z);if(this.weakMap)this.weakMap.set($,U);return U}getStyleModel($){let Y=this.model.styles[$];if(!Y)return null;let z=this.index.model[$];if(z)return z;if(z=this.index.model[$]={},Y.numFmtId){let Q=this.index.numFmt[Y.numFmtId]||hH.getDefaultFmtCode(Y.numFmtId);if(Q)z.numFmt=Q}function U(Q,J,I){if(I||I===0){let K=J[I];if(K)z[Q]=K}}if(U("font",this.model.fonts,Y.fontId),U("border",this.model.borders,Y.borderId),U("fill",this.model.fills,Y.fillId),Y.alignment)z.alignment=Y.alignment;if(Y.protection)z.protection=Y.protection;return z}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let Y=this.map.style.toXml($),z=this.index.style[Y];if(z===void 0)z=this.index.style[Y]=this.model.styles.length,this.model.styles.push(Y);return z}_addNumFmtStr($){let Y=hH.getDefaultFmtId($);if(Y!==void 0)return Y;if(Y=this.index.numFmt[$],Y!==void 0)return Y;Y=this.index.numFmt[$]=164+this.model.numFmts.length;let z=this.map.numFmt.toXml({id:Y,formatCode:$});return this.model.numFmts.push(z),Y}_addFont($){let Y=this.map.font.toXml($),z=this.index.font[Y];if(z===void 0)z=this.index.font[Y]=this.model.fonts.length,this.model.fonts.push(Y);return z}_addBorder($){let Y=this.map.border.toXml($),z=this.index.border[Y];if(z===void 0)z=this.index.border[Y]=this.model.borders.length,this.model.borders.push(Y);return z}_addFill($){let Y=this.map.fill.toXml($),z=this.index.fill[Y];if(z===void 0)z=this.index.fill[Y]=this.model.fills.length,this.model.fills.push(Y);return z}}G$.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"};G$.STATIC_XFORMS={cellStyles:new rO({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new rO({tag:"dxfs",$:{count:0}}),tableStyles:new rO({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new rO({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};class t30 extends G${constructor(){super();this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream($){return $.autodrain(),Promise.resolve()}addStyleModel($,Y){switch(Y){case sO.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:hH.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}G$.Mock=t30;e30.exports=G$});var z20=E((gp1,Y20)=>{var ue0=g0();class $20 extends ue0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(Y){try{if(Number.isNaN(Y.getTime()))return"";return Y.toISOString()}catch(z){return""}},this._parse=$.parse||function(Y){return new Date(Y)}}render($,Y){if(Y){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(Y));else $.writeText(this._format(Y));$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=this._parse($.attributes[this.attr]);else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this._parse(this.text.join(""));return!1}}Y20.exports=$20});var rk=E((yp1,U20)=>{var be0=m6(),ie0=g0(),ok=z20(),h$=nO(),ce0=cO();class V5 extends ie0{constructor(){super();this.map={"dc:creator":new h$({tag:"dc:creator"}),"dc:title":new h$({tag:"dc:title"}),"dc:subject":new h$({tag:"dc:subject"}),"dc:description":new h$({tag:"dc:description"}),"dc:identifier":new h$({tag:"dc:identifier"}),"dc:language":new h$({tag:"dc:language"}),"cp:keywords":new h$({tag:"cp:keywords"}),"cp:category":new h$({tag:"cp:category"}),"cp:lastModifiedBy":new h$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new ok({tag:"cp:lastPrinted",format:V5.DateFormat}),"cp:revision":new ce0({tag:"cp:revision"}),"cp:version":new h$({tag:"cp:version"}),"cp:contentStatus":new h$({tag:"cp:contentStatus"}),"cp:contentType":new h$({tag:"cp:contentType"}),"dcterms:created":new ok({tag:"dcterms:created",attrs:V5.DateAttrs,format:V5.DateFormat}),"dcterms:modified":new ok({tag:"dcterms:modified",attrs:V5.DateAttrs,format:V5.DateFormat})}}render($,Y){$.openXml(be0.StdDocAttributes),$.openNode("cp:coreProperties",V5.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,Y.creator),this.map["dc:title"].render($,Y.title),this.map["dc:subject"].render($,Y.subject),this.map["dc:description"].render($,Y.description),this.map["dc:identifier"].render($,Y.identifier),this.map["dc:language"].render($,Y.language),this.map["cp:keywords"].render($,Y.keywords),this.map["cp:category"].render($,Y.category),this.map["cp:lastModifiedBy"].render($,Y.lastModifiedBy),this.map["cp:lastPrinted"].render($,Y.lastPrinted),this.map["cp:revision"].render($,Y.revision),this.map["cp:version"].render($,Y.version),this.map["cp:contentStatus"].render($,Y.contentStatus),this.map["cp:contentType"].render($,Y.contentType),this.map["dcterms:created"].render($,Y.created),this.map["dcterms:modified"].render($,Y.modified),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}V5.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};V5.DateAttrs={"xsi:type":"dcterms:W3CDTF"};V5.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"};U20.exports=V5});var tO=E((kp1,J20)=>{var ne0=g0();class Q20 extends ne0{get tag(){return"t"}render($,Y){if($.openNode("t"),/^\s|\n|\s$/.test(Y))$.addAttribute("xml:space","preserve");$.writeText(Y),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,Y)=>String.fromCharCode(parseInt(Y,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}J20.exports=Q20});var SH=E((xp1,I20)=>{var pe0=tO(),de0=mO(),me0=g0();class eO extends me0{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new pe0)}get fontXform(){return this._fontXform||(this._fontXform=new de0(eO.FONT_OPTIONS))}render($,Y){if(Y=Y||this.model,$.openNode("r"),Y.font)this.fontXform.render($,Y.font);this.textXform.render($,Y.text),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen($),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){switch($){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}}eO.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};I20.exports=eO});var W20=E((fp1,G20)=>{var le0=tO(),oe0=SH(),re0=g0();class K20 extends re0{constructor(){super();this.map={r:new oe0,t:new le0}}get tag(){return"rPh"}render($,Y){if($.openNode(this.tag,{sb:Y.sb||0,eb:Y.eb||0}),Y&&Y.hasOwnProperty("richText")&&Y.richText){let{r:z}=this.map;Y.richText.forEach((U)=>{z.render($,U)})}else if(Y)this.map.t.render($,Y.text);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}G20.exports=K20});var Z20=E((up1,X20)=>{var se0=tO(),ae0=SH(),te0=W20(),ee0=g0();class H20 extends ee0{constructor($){super();this.model=$,this.map={r:new ae0,t:new se0,rPh:new te0}}get tag(){return"si"}render($,Y){if($.openNode(this.tag),Y&&Y.hasOwnProperty("richText")&&Y.richText)if(Y.richText.length)Y.richText.forEach((z)=>{this.map.r.render($,z)});else this.map.t.render($,"");else if(Y!==void 0&&Y!==null)this.map.t.render($,Y);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}X20.exports=H20});var sk=E((bp1,V20)=>{var $01=m6(),Y01=g0(),z01=Z20();class q20 extends Y01{constructor($){super();this.model=$||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new z01)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString($){return this.model.values[$]}add($){return $.richText?this.addRichText($):this.addText($)}addText($){let Y=this.hash[$];if(Y===void 0)Y=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,Y}addRichText($){let Y=this.sharedStringXform.toXml($),z=this.rich[Y];if(z===void 0)z=this.rich[Y]=this.model.values.length,this.model.values.push($);return this.model.count++,z}render($,Y){Y=Y||this._values,$.openXml($01.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:Y.count,uniqueCount:Y.values.length});let z=this.sharedStringXform;Y.values.forEach((U)=>{z.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen($),!0;default:throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0;return!0}switch($){case"sst":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}V20.exports=q20});var w20=E((ip1,F20)=>{var U01=g0();class L20 extends U01{render($,Y){$.leafNode("Relationship",Y)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}F20.exports=L20});var YN=E((cp1,M20)=>{var Q01=m6(),J01=g0(),I01=w20();class $N extends J01{constructor(){super();this.map={Relationship:new I01}}render($,Y){Y=Y||this._values,$.openXml(Q01.StdDocAttributes),$.openNode("Relationships",$N.RELATIONSHIPS_ATTRIBUTES),Y.forEach((z)=>{this.map.Relationship.render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.push(this.parser.model),this.parser=void 0;return!0}switch($){case"Relationships":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}$N.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};M20.exports=$N});var ak=E((np1,O20)=>{var K01=m6(),G01=g0();class zN extends G01{render($,Y){$.openXml(K01.StdDocAttributes),$.openNode("Types",zN.PROPERTY_ATTRIBUTES);let z={};if((Y.media||[]).forEach((Q)=>{if(Q.type==="image"){let J=Q.extension;if(!z[J])z[J]=!0,$.leafNode("Default",{Extension:J,ContentType:`image/${J}`})}}),$.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),$.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),$.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),Y.worksheets.forEach((Q)=>{let J=`/xl/worksheets/sheet${Q.id}.xml`;$.leafNode("Override",{PartName:J,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),$.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),$.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),Y.sharedStrings&&Y.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(Y.tables)Y.tables.forEach((Q)=>{$.leafNode("Override",{PartName:`/xl/tables/${Q.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(Y.drawings)Y.drawings.forEach((Q)=>{$.leafNode("Override",{PartName:`/xl/drawings/${Q.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(Y.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),Y.commentRefs.forEach(({commentName:Q})=>{$.leafNode("Override",{PartName:`/xl/${Q}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})});$.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),$.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),$.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}zN.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};O20.exports=zN});var B20=E((pp1,D20)=>{var W01=g0();class N20 extends W01{render($,Y){$.openNode("HeadingPairs"),$.openNode("vt:vector",{size:2,baseType:"variant"}),$.openNode("vt:variant"),$.leafNode("vt:lpstr",void 0,"Worksheets"),$.closeNode(),$.openNode("vt:variant"),$.leafNode("vt:i4",void 0,Y.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}D20.exports=N20});var T20=E((dp1,A20)=>{var H01=g0();class P20 extends H01{render($,Y){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:Y.length,baseType:"lpstr"}),Y.forEach((z)=>{$.leafNode("vt:lpstr",void 0,z.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}A20.exports=P20});var tk=E((mp1,E20)=>{var X01=m6(),Z01=g0(),j20=nO(),q01=B20(),V01=T20();class _J extends Z01{constructor(){super();this.map={Company:new j20({tag:"Company"}),Manager:new j20({tag:"Manager"}),HeadingPairs:new q01,TitleOfParts:new V01}}render($,Y){$.openXml(X01.StdDocAttributes),$.openNode("Properties",_J.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,Y.worksheets),this.map.TitleOfParts.render($,Y.worksheets),this.map.Company.render($,Y.company||""),this.map.Manager.render($,Y.manager),$.leafNode("LinksUpToDate",void 0,"false"),$.leafNode("SharedDoc",void 0,"false"),$.leafNode("HyperlinksChanged",void 0,"false"),$.leafNode("AppVersion",void 0,"16.0300"),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Properties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}_J.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};_J.DateAttrs={"xsi:type":"dcterms:W3CDTF"};_J.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};E20.exports=_J});var _20=E((lp1,R20)=>{var L01=g0(),F01=i4();class C20 extends L01{render($,Y){$.openNode("definedName",{name:Y.name,localSheetId:Y.localSheetId}),$.writeText(Y.ranges.join(",")),$.closeNode()}parseOpen($){switch($.name){case"definedName":return this._parsedName=$.attributes.name,this._parsedLocalSheetId=$.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText($){this._parsedText.push($)}parseClose(){if(this.model={name:this._parsedName,ranges:w01(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function ek($){try{return F01.decodeEx($),!0}catch(Y){return!1}}function w01($){let Y=[],z=!1,U="";return $.split(",").forEach((Q)=>{if(!Q)return;let J=(Q.match(/'/g)||[]).length;if(!J){if(z)U+=`${Q},`;else if(ek(Q))Y.push(Q);return}let I=J%2===0;if(!z&&I&&ek(Q))Y.push(Q);else if(z&&!I){if(z=!1,ek(U+Q))Y.push(U+Q);U=""}else z=!0,U+=`${Q},`}),Y}R20.exports=C20});var S20=E((op1,h20)=>{var M01=X8(),O01=g0();class v20 extends O01{render($,Y){$.leafNode("sheet",{sheetId:Y.id,name:Y.name,state:Y.state,"r:id":Y.rId})}parseOpen($){if($.name==="sheet")return this.model={name:M01.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}h20.exports=v20});var k20=E((rp1,y20)=>{var N01=g0();class g20 extends N01{render($,Y){let z={xWindow:Y.x||0,yWindow:Y.y||0,windowWidth:Y.width||12000,windowHeight:Y.height||24000,firstSheet:Y.firstSheet,activeTab:Y.activeTab};if(Y.visibility&&Y.visibility!=="visible")z.visibility=Y.visibility;$.leafNode("workbookView",z)}parseOpen($){if($.name==="workbookView"){let Y=this.model={},z=function(Q,J,I){let K=J!==void 0?Y[Q]=J:I;if(K!==void 0)Y[Q]=K},U=function(Q,J,I){let K=J!==void 0?Y[Q]=parseInt(J,10):I;if(K!==void 0)Y[Q]=K};return U("x",$.attributes.xWindow,0),U("y",$.attributes.yWindow,0),U("width",$.attributes.windowWidth,25000),U("height",$.attributes.windowHeight,1e4),z("visibility",$.attributes.visibility,"visible"),U("activeTab",$.attributes.activeTab,void 0),U("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}y20.exports=g20});var u20=E((sp1,f20)=>{var D01=g0();class x20 extends D01{render($,Y){$.leafNode("workbookPr",{date1904:Y.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen($){if($.name==="workbookPr")return this.model={date1904:$.attributes.date1904==="1"},!0;return!1}parseText(){}parseClose(){return!1}}f20.exports=x20});var c20=E((ap1,i20)=>{var B01=g0();class b20 extends B01{render($,Y){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:Y.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}i20.exports=b20});var UN=E((tp1,n20)=>{var P01=Y6(),A01=i4(),T01=m6(),j01=g0(),E01=RJ(),$x=s3(),C01=_20(),R01=S20(),_01=k20(),v01=u20(),h01=c20();class vJ extends j01{constructor(){super();this.map={fileVersion:vJ.STATIC_XFORMS.fileVersion,workbookPr:new v01,bookViews:new $x({tag:"bookViews",count:!1,childXform:new _01}),sheets:new $x({tag:"sheets",count:!1,childXform:new R01}),definedNames:new $x({tag:"definedNames",count:!1,childXform:new C01}),calcPr:new h01}}prepare($){$.sheets=$.worksheets;let Y=[],z=0;if($.sheets.forEach((U)=>{if(U.pageSetup&&U.pageSetup.printArea)U.pageSetup.printArea.split("&&").forEach((Q)=>{let J=Q.split(":"),I={name:"_xlnm.Print_Area",ranges:[`'${U.name}'!$${J[0]}:$${J[1]}`],localSheetId:z};Y.push(I)});if(U.pageSetup&&(U.pageSetup.printTitlesRow||U.pageSetup.printTitlesColumn)){let Q=[];if(U.pageSetup.printTitlesColumn){let I=U.pageSetup.printTitlesColumn.split(":");Q.push(`'${U.name}'!$${I[0]}:$${I[1]}`)}if(U.pageSetup.printTitlesRow){let I=U.pageSetup.printTitlesRow.split(":");Q.push(`'${U.name}'!$${I[0]}:$${I[1]}`)}let J={name:"_xlnm.Print_Titles",ranges:Q,localSheetId:z};Y.push(J)}z++}),Y.length)$.definedNames=$.definedNames.concat(Y);($.media||[]).forEach((U,Q)=>{U.name=U.type+(Q+1)})}render($,Y){$.openXml(T01.StdDocAttributes),$.openNode("workbook",vJ.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,Y.properties),this.map.bookViews.render($,Y.views),this.map.sheets.render($,Y.sheets),this.map.definedNames.render($,Y.definedNames),this.map.calcPr.render($,Y.calcProperties),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"workbook":return!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"workbook":if(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model)this.model.definedNames=this.map.definedNames.model;return!1;default:return!0}}reconcile($){let Y=($.workbookRels||[]).reduce((I,K)=>{return I[K.Id]=K,I},{}),z=[],U,Q=0;($.sheets||[]).forEach((I)=>{let K=Y[I.rId];if(!K)return;if(U=$.worksheetHash[`xl/${K.Target.replace(/^(\s|\/xl\/)+/,"")}`],U)U.name=I.name,U.id=I.id,U.state=I.state,z[Q++]=U});let J=[];P01.each($.definedNames,(I)=>{if(I.name==="_xlnm.Print_Area"){if(U=z[I.localSheetId],U){if(!U.pageSetup)U.pageSetup={};let K=A01.decodeEx(I.ranges[0]);U.pageSetup.printArea=U.pageSetup.printArea?`${U.pageSetup.printArea}&&${K.dimensions}`:K.dimensions}}else if(I.name==="_xlnm.Print_Titles"){if(U=z[I.localSheetId],U){if(!U.pageSetup)U.pageSetup={};let K=I.ranges.join(","),G=/\$/g,W=/\$\d+:\$\d+/,H=K.match(W);if(H&&H.length){let q=H[0];U.pageSetup.printTitlesRow=q.replace(G,"")}let X=/\$[A-Z]+:\$[A-Z]+/,Z=K.match(X);if(Z&&Z.length){let q=Z[0];U.pageSetup.printTitlesColumn=q.replace(G,"")}}}else J.push(I)}),$.definedNames=J,$.media.forEach((I,K)=>{I.index=K})}}vJ.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"};vJ.STATIC_XFORMS={fileVersion:new E01({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};n20.exports=vJ});var e3=E((ep1,p20)=>{p20.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}});var s20=E(($d1,r20)=>{var d20=Y6(),S01=e9(),m20=i4(),l20=G5();class o20{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let Y=`${$.master}:${$.address}`;this.merges[$.master]=new S01(Y)}}get mergeCells(){return d20.map(this.merges,($)=>$.range)}reconcile($,Y){d20.each($,(z)=>{let U=m20.decode(z);for(let Q=U.top;Q<=U.bottom;Q++){let J=Y[Q-1];for(let I=U.left;I<=U.right;I++){let K=J.cells[I-1];if(!K)J.cells[I]={type:l20.ValueType.Null,address:m20.encodeAddress(Q,I)};else if(K.type===l20.ValueType.Merge)K.master=U.tl}}})}getMasterAddress($){let Y=this.hash[$];return Y&&Y.tl}}r20.exports=o20});var $Y0=E((Yd1,e20)=>{var $2=X8(),g01=g0(),y01=e9(),Z1=G5(),k01=SH();function a20($){if($===null||$===void 0)return Z1.ValueType.Null;if($ instanceof String||typeof $==="string")return Z1.ValueType.String;if(typeof $==="number")return Z1.ValueType.Number;if(typeof $==="boolean")return Z1.ValueType.Boolean;if($ instanceof Date)return Z1.ValueType.Date;if($.text&&$.hyperlink)return Z1.ValueType.Hyperlink;if($.formula)return Z1.ValueType.Formula;if($.error)return Z1.ValueType.Error;throw Error("I could not understand type of value")}function x01($){switch($.type){case Z1.ValueType.Formula:return a20($.result);default:return $.type}}class t20 extends g01{constructor(){super();this.richTextXForm=new k01}get tag(){return"c"}prepare($,Y){let z=Y.styles.addStyleModel($.style||{},x01($));if(z)$.styleId=z;if($.comment)Y.comments.push({...$.comment,ref:$.address});switch($.type){case Z1.ValueType.String:case Z1.ValueType.RichText:if(Y.sharedStrings)$.ssId=Y.sharedStrings.add($.value);break;case Z1.ValueType.Date:if(Y.date1904)$.date1904=!0;break;case Z1.ValueType.Hyperlink:if(Y.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=Y.sharedStrings.add($.text);Y.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case Z1.ValueType.Merge:Y.merges.add($);break;case Z1.ValueType.Formula:if(Y.date1904)$.date1904=!0;if($.shareType==="shared")$.si=Y.siFormulae++;if($.formula)Y.formulae[$.address]=$;else if($.sharedFormula){let U=Y.formulae[$.sharedFormula];if(!U)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(U.si===void 0)U.shareType="shared",U.si=Y.siFormulae++,U.range=new y01(U.address,$.address);else if(U.range)U.range.expandToAddress($.address);$.si=U.si}break;default:break}}renderFormula($,Y){let z=null;switch(Y.shareType){case"shared":z={t:"shared",ref:Y.ref||Y.range.range,si:Y.si};break;case"array":z={t:"array",ref:Y.ref};break;default:if(Y.si!==void 0)z={t:"shared",si:Y.si};break}switch(a20(Y.result)){case Z1.ValueType.Null:$.leafNode("f",z,Y.formula);break;case Z1.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result);break;case Z1.ValueType.Number:$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result);break;case Z1.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result?1:0);break;case Z1.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result.error);break;case Z1.ValueType.Date:$.leafNode("f",z,Y.formula),$.leafNode("v",null,$2.dateToExcel(Y.result,Y.date1904));break;default:throw Error("I could not understand type of value")}}render($,Y){if(Y.type===Z1.ValueType.Null&&!Y.styleId)return;if($.openNode("c"),$.addAttribute("r",Y.address),Y.styleId)$.addAttribute("s",Y.styleId);switch(Y.type){case Z1.ValueType.Null:break;case Z1.ValueType.Number:$.leafNode("v",null,Y.value);break;case Z1.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,Y.value?"1":"0");break;case Z1.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,Y.value.error);break;case Z1.ValueType.String:case Z1.ValueType.RichText:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else if(Y.value&&Y.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),Y.value.richText.forEach((z)=>{this.richTextXForm.render($,z)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,Y.value);break;case Z1.ValueType.Date:$.leafNode("v",null,$2.dateToExcel(Y.value,Y.date1904));break;case Z1.ValueType.Hyperlink:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,Y.text);break;case Z1.ValueType.Formula:this.renderFormula($,Y);break;case Z1.ValueType.Merge:break;default:break}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"c":if(this.model={address:$.attributes.r},this.t=$.attributes.t,$.attributes.s)this.model.styleId=parseInt($.attributes.s,10);return!0;case"f":return this.currentNode="f",this.model.si=$.attributes.si,this.model.shareType=$.attributes.t,this.model.ref=$.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser){this.parser.parseText($);return}switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+$:$;break;case"v":case"t":if(this.model.value&&this.model.value.richText)this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+$:$;else this.model.value=this.model.value?this.model.value+$:$;break;default:break}}parseClose($){switch($){case"c":{let{model:Y}=this;if(Y.formula||Y.shareType){if(Y.type=Z1.ValueType.Formula,Y.value){if(this.t==="str")Y.result=$2.xmlDecode(Y.value);else if(this.t==="b")Y.result=parseInt(Y.value,10)!==0;else if(this.t==="e")Y.result={error:Y.value};else Y.result=parseFloat(Y.value);Y.value=void 0}}else if(Y.value!==void 0)switch(this.t){case"s":Y.type=Z1.ValueType.String,Y.value=parseInt(Y.value,10);break;case"str":Y.type=Z1.ValueType.String,Y.value=$2.xmlDecode(Y.value);break;case"inlineStr":Y.type=Z1.ValueType.String;break;case"b":Y.type=Z1.ValueType.Boolean,Y.value=parseInt(Y.value,10)!==0;break;case"e":Y.type=Z1.ValueType.Error,Y.value={error:Y.value};break;default:Y.type=Z1.ValueType.Number,Y.value=parseFloat(Y.value);break}else if(Y.styleId)Y.type=Z1.ValueType.Null;else Y.type=Z1.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":if(this.parser)return this.parser.parseClose($),!0;return this.currentNode=void 0,!0;case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:if(this.parser)return this.parser.parseClose($),!0;return!1}}reconcile($,Y){let z=$.styleId&&Y.styles&&Y.styles.getStyleModel($.styleId);if(z)$.style=z;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case Z1.ValueType.String:if(typeof $.value==="number"){if(Y.sharedStrings)$.value=Y.sharedStrings.getString($.value)}if($.value.richText)$.type=Z1.ValueType.RichText;break;case Z1.ValueType.Number:if(z&&$2.isDateFmt(z.numFmt))$.type=Z1.ValueType.Date,$.value=$2.excelToDate($.value,Y.date1904);break;case Z1.ValueType.Formula:if($.result!==void 0&&z&&$2.isDateFmt(z.numFmt))$.result=$2.excelToDate($.result,Y.date1904);if($.shareType==="shared"){if($.ref)Y.formulae[$.si]=$.address;else $.sharedFormula=Y.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let U=Y.hyperlinkMap[$.address];if(U){if($.type===Z1.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=Z1.ValueType.Hyperlink,$.hyperlink=U}let Q=Y.commentsMap&&Y.commentsMap[$.address];if(Q)$.comment=Q}}e20.exports=t20});var zx=E((zd1,zY0)=>{var f01=g0(),Yx=X8(),u01=$Y0();class YY0 extends f01{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new u01}}get tag(){return"row"}prepare($,Y){let z=Y.styles.addStyleModel($.style);if(z)$.styleId=z;let U=this.map.c;$.cells.forEach((Q)=>{U.prepare(Q,Y)})}render($,Y,z){if($.openNode("row"),$.addAttribute("r",Y.number),Y.height)$.addAttribute("ht",Y.height),$.addAttribute("customHeight","1");if(Y.hidden)$.addAttribute("hidden","1");if(Y.min>0&&Y.max>0&&Y.min<=Y.max)$.addAttribute("spans",`${Y.min}:${Y.max}`);if(Y.styleId)$.addAttribute("s",Y.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");let U=this.map.c;Y.cells.forEach((Q)=>{U.render($,Q,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let Y=$.attributes.spans?$.attributes.spans.split(":").map((U)=>parseInt(U,10)):[void 0,void 0],z=this.model={number:parseInt($.attributes.r,10),min:Y[0],max:Y[1],cells:[]};if($.attributes.s)z.styleId=parseInt($.attributes.s,10);if(Yx.parseBoolean($.attributes.hidden))z.hidden=!0;if(Yx.parseBoolean($.attributes.bestFit))z.bestFit=!0;if($.attributes.ht)z.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)z.outlineLevel=parseInt($.attributes.outlineLevel,10);if(Yx.parseBoolean($.attributes.collapsed))z.collapsed=!0;return!0}if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile($,Y){if($.style=$.styleId?Y.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let z=this.map.c;$.cells.forEach((U)=>{z.reconcile(U,Y)})}}zY0.exports=YY0});var Qx=E((Ud1,QY0)=>{var Ux=X8(),b01=g0();class UY0 extends b01{get tag(){return"col"}prepare($,Y){let z=Y.styles.addStyleModel($.style||{});if(z)$.styleId=z}render($,Y){if($.openNode("col"),$.addAttribute("min",Y.min),$.addAttribute("max",Y.max),Y.width)$.addAttribute("width",Y.width);if(Y.styleId)$.addAttribute("style",Y.styleId);if(Y.hidden)$.addAttribute("hidden","1");if(Y.bestFit)$.addAttribute("bestFit","1");if(Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let Y=this.model={min:parseInt($.attributes.min||"0",10),max:parseInt($.attributes.max||"0",10),width:$.attributes.width===void 0?void 0:parseFloat($.attributes.width||"0")};if($.attributes.style)Y.styleId=parseInt($.attributes.style,10);if(Ux.parseBoolean($.attributes.hidden))Y.hidden=!0;if(Ux.parseBoolean($.attributes.bestFit))Y.bestFit=!0;if($.attributes.outlineLevel)Y.outlineLevel=parseInt($.attributes.outlineLevel,10);if(Ux.parseBoolean($.attributes.collapsed))Y.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,Y){if($.styleId)$.style=Y.styles.getStyleModel($.styleId)}}QY0.exports=UY0});var KY0=E((Qd1,IY0)=>{var i01=g0();class JY0 extends i01{get tag(){return"dimension"}render($,Y){if(Y)$.leafNode("dimension",{ref:Y})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}IY0.exports=JY0});var Jx=E((Jd1,WY0)=>{var c01=g0();class GY0 extends c01{get tag(){return"hyperlink"}render($,Y){if(this.isInternalLink(Y))$.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip,location:Y.target});else $.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip})}parseOpen($){if($.name==="hyperlink"){if(this.model={address:$.attributes.ref,rId:$.attributes["r:id"],tooltip:$.attributes.tooltip},$.attributes.location)this.model.target=$.attributes.location;return!0}return!1}parseText(){}parseClose(){return!1}isInternalLink($){return $.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test($.target)}}WY0.exports=GY0});var ZY0=E((Id1,XY0)=>{var n01=g0();class HY0 extends n01{get tag(){return"mergeCell"}render($,Y){$.leafNode("mergeCell",{ref:Y})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}XY0.exports=HY0});var Gx=E((Kd1,VY0)=>{var gH=Y6(),Kx=X8(),hJ=i4(),p01=g0(),d01=e9();function SJ($,Y,z,U){let Q=Y[z];if(Q!==void 0)$[z]=Q;else if(U!==void 0)$[z]=U}function Ix($,Y,z,U){let Q=Y[z];if(Q!==void 0)$[z]=Kx.parseBoolean(Q);else if(U!==void 0)$[z]=U}function m01($){let Y=gH.map($,(Q,J)=>({address:J,dataValidation:Q,marked:!1})).sort((Q,J)=>gH.strcmp(Q.address,J.address)),z=gH.keyBy(Y,"address"),U=(Q,J,I)=>{for(let K=0;K{if(!Q.marked){let J=hJ.decodeEx(Q.address);if(J.dimensions)return z[J.dimensions].marked=!0,{...Q.dataValidation,sqref:Q.address};let I=1,K=hJ.encodeAddress(J.row+I,J.col);while($[K]&&gH.isEqual(Q.dataValidation,$[K]))I++,K=hJ.encodeAddress(J.row+I,J.col);let G=1;while(U(J,I,J.col+G))G++;for(let W=0;W1||G>1){let W=J.row+(I-1),H=J.col+(G-1);return{...Q.dataValidation,sqref:`${Q.address}:${hJ.encodeAddress(W,H)}`}}return{...Q.dataValidation,sqref:Q.address}}return null}).filter(Boolean)}class qY0 extends p01{get tag(){return"dataValidations"}render($,Y){let z=m01(Y);if(z.length)$.openNode("dataValidations",{count:z.length}),z.forEach((U)=>{if($.openNode("dataValidation"),U.type!=="any"){if($.addAttribute("type",U.type),U.operator&&U.type!=="list"&&U.operator!=="between")$.addAttribute("operator",U.operator);if(U.allowBlank)$.addAttribute("allowBlank","1")}if(U.showInputMessage)$.addAttribute("showInputMessage","1");if(U.promptTitle)$.addAttribute("promptTitle",U.promptTitle);if(U.prompt)$.addAttribute("prompt",U.prompt);if(U.showErrorMessage)$.addAttribute("showErrorMessage","1");if(U.errorStyle)$.addAttribute("errorStyle",U.errorStyle);if(U.errorTitle)$.addAttribute("errorTitle",U.errorTitle);if(U.error)$.addAttribute("error",U.error);$.addAttribute("sqref",U.sqref),(U.formulae||[]).forEach((Q,J)=>{if($.openNode(`formula${J+1}`),U.type==="date")$.writeText(Kx.dateToExcel(new Date(Q)));else $.writeText(Q);$.closeNode()}),$.closeNode()}),$.closeNode()}parseOpen($){switch($.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=$.attributes.sqref;let Y={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)Ix(Y,$.attributes,"allowBlank");switch(Ix(Y,$.attributes,"showInputMessage"),Ix(Y,$.attributes,"showErrorMessage"),Y.type){case"any":case"list":case"custom":break;default:SJ(Y,$.attributes,"operator","between");break}return SJ(Y,$.attributes,"promptTitle"),SJ(Y,$.attributes,"prompt"),SJ(Y,$.attributes,"errorStyle"),SJ(Y,$.attributes,"errorTitle"),SJ(Y,$.attributes,"error"),this._dataValidation=Y,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText($){if(this._formula)this._formula.push($)}parseClose($){switch($){case"dataValidations":return!1;case"dataValidation":{if(!this._dataValidation.formulae||!this._dataValidation.formulae.length)delete this._dataValidation.formulae,delete this._dataValidation.operator;return(this._address.split(/\s+/g)||[]).forEach((z)=>{if(z.includes(":"))new d01(z).forEachAddress((Q)=>{this.model[Q]=this._dataValidation});else this.model[z]=this._dataValidation}),!0}case"formula1":case"formula2":{let Y=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":Y=parseInt(Y,10);break;case"decimal":Y=parseFloat(Y);break;case"date":Y=Kx.excelToDate(parseFloat(Y));break;default:break}return this._dataValidation.formulae.push(Y),this._formula=void 0,!0}default:return!0}}}VY0.exports=qY0});var wY0=E((Gd1,FY0)=>{var l01=g0();class LY0 extends l01{get tag(){return"pageSetUpPr"}render($,Y){if(Y&&Y.fitToPage)return $.leafNode(this.tag,{fitToPage:Y.fitToPage?"1":void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={fitToPage:$.attributes.fitToPage==="1"},!0;return!1}parseText(){}parseClose(){return!1}}FY0.exports=LY0});var NY0=E((Wd1,OY0)=>{var o01=g0(),gJ=($)=>typeof $<"u";class MY0 extends o01{get tag(){return"outlinePr"}render($,Y){if(Y&&(gJ(Y.summaryBelow)||gJ(Y.summaryRight)))return $.leafNode(this.tag,{summaryBelow:gJ(Y.summaryBelow)?Number(Y.summaryBelow):void 0,summaryRight:gJ(Y.summaryRight)?Number(Y.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:gJ($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:gJ($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}OY0.exports=MY0});var Wx=E((Hd1,BY0)=>{var r01=g0(),s01=a3(),a01=wY0(),t01=NY0();class DY0 extends r01{constructor(){super();this.map={tabColor:new s01("tabColor"),pageSetUpPr:new a01,outlinePr:new t01}}get tag(){return"sheetPr"}render($,Y){if(Y){$.addRollback(),$.openNode("sheetPr");let z=!1;if(z=this.map.tabColor.render($,Y.tabColor)||z,z=this.map.pageSetUpPr.render($,Y.pageSetup)||z,z=this.map.outlinePr.render($,Y.outlineProperties)||z,z)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.reset(),!0;if(this.map[$.name])return this.parser=this.map[$.name],this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)return this.parser.parseText($),!0;return!1}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model){if(this.model={},this.map.tabColor.model)this.model.tabColor=this.map.tabColor.model;if(this.map.pageSetUpPr.model)this.model.pageSetup=this.map.pageSetUpPr.model;if(this.map.outlinePr.model)this.model.outlineProperties=this.map.outlinePr.model}else this.model=null;return!1}}BY0.exports=DY0});var Hx=E((Xd1,AY0)=>{var e01=Y6(),$11=g0();class PY0 extends $11{get tag(){return"sheetFormatPr"}render($,Y){if(Y){let z={defaultRowHeight:Y.defaultRowHeight,outlineLevelRow:Y.outlineLevelRow,outlineLevelCol:Y.outlineLevelCol,"x14ac:dyDescent":Y.dyDescent};if(Y.defaultColWidth)z.defaultColWidth=Y.defaultColWidth;if(!Y.defaultRowHeight||Y.defaultRowHeight!==15)z.customHeight="1";if(e01.some(z,(U)=>U!==void 0))$.leafNode("sheetFormatPr",z)}}parseOpen($){if($.name==="sheetFormatPr"){if(this.model={defaultRowHeight:parseFloat($.attributes.defaultRowHeight||"0"),dyDescent:parseFloat($.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt($.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt($.attributes.outlineLevelCol||"0",10)},$.attributes.defaultColWidth)this.model.defaultColWidth=parseFloat($.attributes.defaultColWidth);return!0}return!1}parseText(){}parseClose(){return!1}}AY0.exports=PY0});var Xx=E((Zd1,jY0)=>{var Y11=i4(),z11=g0(),U11={frozen:"frozen",frozenSplit:"frozen",split:"split"};class TY0 extends z11{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,Y){$.openNode("sheetView",{workbookViewId:Y.workbookViewId||0});let z=function(K,G,W){if(W)$.addAttribute(K,G)};z("rightToLeft","1",Y.rightToLeft===!0),z("tabSelected","1",Y.tabSelected),z("showRuler","0",Y.showRuler===!1),z("showRowColHeaders","0",Y.showRowColHeaders===!1),z("showGridLines","0",Y.showGridLines===!1),z("zoomScale",Y.zoomScale,Y.zoomScale),z("zoomScaleNormal",Y.zoomScaleNormal,Y.zoomScaleNormal),z("view",Y.style,Y.style);let U,Q,J,I;switch(Y.state){case"frozen":Q=Y.xSplit||0,J=Y.ySplit||0,U=Y.topLeftCell||Y11.getAddress(J+1,Q+1).address,I=Y.xSplit&&Y.ySplit&&"bottomRight"||Y.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:U,activePane:I,state:"frozen"}),$.leafNode("selection",{pane:I,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"split":if(Y.activePane==="topLeft")Y.activePane=void 0;$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:Y.topLeftCell,activePane:Y.activePane}),$.leafNode("selection",{pane:Y.activePane,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"normal":if(Y.activeCell)$.leafNode("selection",{activeCell:Y.activeCell,sqref:Y.activeCell});break;default:break}$.closeNode()}parseOpen($){switch($.name){case"sheetView":return this.sheetView={workbookViewId:parseInt($.attributes.workbookViewId,10),rightToLeft:$.attributes.rightToLeft==="1",tabSelected:$.attributes.tabSelected==="1",showRuler:$.attributes.showRuler!=="0",showRowColHeaders:$.attributes.showRowColHeaders!=="0",showGridLines:$.attributes.showGridLines!=="0",zoomScale:parseInt($.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt($.attributes.zoomScaleNormal||"100",10),style:$.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt($.attributes.xSplit||"0",10),ySplit:parseInt($.attributes.ySplit||"0",10),topLeftCell:$.attributes.topLeftCell,activePane:$.attributes.activePane||"topLeft",state:$.attributes.state},!0;case"selection":{let Y=$.attributes.pane||"topLeft";return this.selections[Y]={pane:Y,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let Y,z;switch($){case"sheetView":if(this.sheetView&&this.pane){if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:U11[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split")Y.activePane=this.pane.activePane;if(z=this.selections[this.pane.activePane],z&&z.activeCell)Y.activeCell=z.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}else{if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},z=this.selections.topLeft,z&&z.activeCell)Y.activeCell=z.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}jY0.exports=TY0});var Zx=E((qd1,CY0)=>{var Q11=Y6(),J11=g0();function d8($,Y){return $?Y:void 0}function S$($,Y){return $===Y?!0:void 0}class EY0 extends J11{get tag(){return"sheetProtection"}render($,Y){if(Y){let z={sheet:d8(Y.sheet,"1"),selectLockedCells:Y.selectLockedCells===!1?"1":void 0,selectUnlockedCells:Y.selectUnlockedCells===!1?"1":void 0,formatCells:d8(Y.formatCells,"0"),formatColumns:d8(Y.formatColumns,"0"),formatRows:d8(Y.formatRows,"0"),insertColumns:d8(Y.insertColumns,"0"),insertRows:d8(Y.insertRows,"0"),insertHyperlinks:d8(Y.insertHyperlinks,"0"),deleteColumns:d8(Y.deleteColumns,"0"),deleteRows:d8(Y.deleteRows,"0"),sort:d8(Y.sort,"0"),autoFilter:d8(Y.autoFilter,"0"),pivotTables:d8(Y.pivotTables,"0")};if(Y.sheet)z.algorithmName=Y.algorithmName,z.hashValue=Y.hashValue,z.saltValue=Y.saltValue,z.spinCount=Y.spinCount,z.objects=d8(Y.objects===!1,"1"),z.scenarios=d8(Y.scenarios===!1,"1");if(Q11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:S$($.attributes.sheet,"1"),objects:$.attributes.objects==="1"?!1:void 0,scenarios:$.attributes.scenarios==="1"?!1:void 0,selectLockedCells:$.attributes.selectLockedCells==="1"?!1:void 0,selectUnlockedCells:$.attributes.selectUnlockedCells==="1"?!1:void 0,formatCells:S$($.attributes.formatCells,"0"),formatColumns:S$($.attributes.formatColumns,"0"),formatRows:S$($.attributes.formatRows,"0"),insertColumns:S$($.attributes.insertColumns,"0"),insertRows:S$($.attributes.insertRows,"0"),insertHyperlinks:S$($.attributes.insertHyperlinks,"0"),deleteColumns:S$($.attributes.deleteColumns,"0"),deleteRows:S$($.attributes.deleteRows,"0"),sort:S$($.attributes.sort,"0"),autoFilter:S$($.attributes.autoFilter,"0"),pivotTables:S$($.attributes.pivotTables,"0")},$.attributes.algorithmName)this.model.algorithmName=$.attributes.algorithmName,this.model.hashValue=$.attributes.hashValue,this.model.saltValue=$.attributes.saltValue,this.model.spinCount=parseInt($.attributes.spinCount,10);return!0;default:return!1}}parseText(){}parseClose(){return!1}}CY0.exports=EY0});var qx=E((Vd1,_Y0)=>{var I11=Y6(),K11=g0();class RY0 extends K11{get tag(){return"pageMargins"}render($,Y){if(Y){let z={left:Y.left,right:Y.right,top:Y.top,bottom:Y.bottom,header:Y.header,footer:Y.footer};if(I11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:return this.model={left:parseFloat($.attributes.left||0.7),right:parseFloat($.attributes.right||0.7),top:parseFloat($.attributes.top||0.75),bottom:parseFloat($.attributes.bottom||0.75),header:parseFloat($.attributes.header||0.3),footer:parseFloat($.attributes.footer||0.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}_Y0.exports=RY0});var Vx=E((Ld1,hY0)=>{var G11=Y6(),W11=g0();function QN($){return $?"1":void 0}function H11($){switch($){case"overThenDown":return $;default:return}}function X11($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function Z11($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function q11($){return $!==void 0?parseInt($,10):void 0}class vY0 extends W11{get tag(){return"pageSetup"}render($,Y){if(Y){let z={paperSize:Y.paperSize,orientation:Y.orientation,horizontalDpi:Y.horizontalDpi,verticalDpi:Y.verticalDpi,pageOrder:H11(Y.pageOrder),blackAndWhite:QN(Y.blackAndWhite),draft:QN(Y.draft),cellComments:X11(Y.cellComments),errors:Z11(Y.errors),scale:Y.scale,fitToWidth:Y.fitToWidth,fitToHeight:Y.fitToHeight,firstPageNumber:Y.firstPageNumber,useFirstPageNumber:QN(Y.firstPageNumber),usePrinterDefaults:QN(Y.usePrinterDefaults),copies:Y.copies};if(G11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:q11($.attributes.paperSize),orientation:$.attributes.orientation||"portrait",horizontalDpi:parseInt($.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt($.attributes.verticalDpi||"4294967295",10),pageOrder:$.attributes.pageOrder||"downThenOver",blackAndWhite:$.attributes.blackAndWhite==="1",draft:$.attributes.draft==="1",cellComments:$.attributes.cellComments||"None",errors:$.attributes.errors||"displayed",scale:parseInt($.attributes.scale||"100",10),fitToWidth:parseInt($.attributes.fitToWidth||"1",10),fitToHeight:parseInt($.attributes.fitToHeight||"1",10),firstPageNumber:parseInt($.attributes.firstPageNumber||"1",10),useFirstPageNumber:$.attributes.useFirstPageNumber==="1",usePrinterDefaults:$.attributes.usePrinterDefaults==="1",copies:parseInt($.attributes.copies||"1",10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}hY0.exports=vY0});var yY0=E((Fd1,gY0)=>{var V11=Y6(),L11=g0();function JN($){return $?"1":void 0}class SY0 extends L11{get tag(){return"printOptions"}render($,Y){if(Y){let z={headings:JN(Y.showRowColHeaders),gridLines:JN(Y.showGridLines),horizontalCentered:JN(Y.horizontalCentered),verticalCentered:JN(Y.verticalCentered)};if(V11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:return this.model={showRowColHeaders:$.attributes.headings==="1",showGridLines:$.attributes.gridLines==="1",horizontalCentered:$.attributes.horizontalCentered==="1",verticalCentered:$.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}gY0.exports=SY0});var Lx=E((wd1,xY0)=>{var F11=i4(),w11=g0();class kY0 extends w11{get tag(){return"autoFilter"}render($,Y){if(Y)if(typeof Y==="string")$.leafNode("autoFilter",{ref:Y});else{let z=function(J){if(typeof J==="string")return J;return F11.getAddress(J.row,J.column).address},U=z(Y.from),Q=z(Y.to);if(U&&Q)$.leafNode("autoFilter",{ref:`${U}:${Q}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}xY0.exports=kY0});var Fx=E((Md1,uY0)=>{var M11=g0();class fY0 extends M11{get tag(){return"picture"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}uY0.exports=fY0});var cY0=E((Od1,iY0)=>{var O11=g0();class bY0 extends O11{get tag(){return"drawing"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}iY0.exports=bY0});var dY0=E((Nd1,pY0)=>{var N11=g0();class nY0 extends N11{get tag(){return"tablePart"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}pY0.exports=nY0});var oY0=E((Dd1,lY0)=>{var D11=g0();class mY0 extends D11{get tag(){return"brk"}render($,Y){$.leafNode("brk",Y)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}lY0.exports=mY0});var wx=E((Bd1,sY0)=>{var B11=oY0(),P11=s3();class rY0 extends P11{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new B11};super($)}render($,Y){if(Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y.length),$.addAttribute("manualBreakCount",Y.length);let{childXform:z}=this;Y.forEach((U)=>{z.render($,U)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}sY0.exports=rY0});var Mx=E((Pd1,tY0)=>{var A11=g0();class aY0 extends A11{get tag(){return"headerFooter"}render($,Y){if(Y){$.addRollback();let z=!1;if($.openNode("headerFooter"),Y.differentFirst)$.addAttribute("differentFirst","1"),z=!0;if(Y.differentOddEven)$.addAttribute("differentOddEven","1"),z=!0;if(Y.oddHeader&&typeof Y.oddHeader==="string")$.leafNode("oddHeader",null,Y.oddHeader),z=!0;if(Y.oddFooter&&typeof Y.oddFooter==="string")$.leafNode("oddFooter",null,Y.oddFooter),z=!0;if(Y.evenHeader&&typeof Y.evenHeader==="string")$.leafNode("evenHeader",null,Y.evenHeader),z=!0;if(Y.evenFooter&&typeof Y.evenFooter==="string")$.leafNode("evenFooter",null,Y.evenFooter),z=!0;if(Y.firstHeader&&typeof Y.firstHeader==="string")$.leafNode("firstHeader",null,Y.firstHeader),z=!0;if(Y.firstFooter&&typeof Y.firstFooter==="string")$.leafNode("firstFooter",null,Y.firstFooter),z=!0;if(z)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){switch($.name){case"headerFooter":if(this.model={},$.attributes.differentFirst)this.model.differentFirst=parseInt($.attributes.differentFirst,0)===1;if($.attributes.differentOddEven)this.model.differentOddEven=parseInt($.attributes.differentOddEven,0)===1;return!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText($){switch(this.currentNode){case"oddHeader":this.model.oddHeader=$;break;case"oddFooter":this.model.oddFooter=$;break;case"evenHeader":this.model.evenHeader=$;break;case"evenFooter":this.model.evenFooter=$;break;case"firstHeader":this.model.firstHeader=$;break;case"firstFooter":this.model.firstFooter=$;break;default:break}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}tY0.exports=aY0});var m8=E((Ad1,$z0)=>{var T11=g0();class eY0 extends T11{createNewModel($){return{}}parseOpen($){if(this.parser=this.parser||this.map[$.name],this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.model=this.createNewModel($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}onParserClose($,Y){this.model[$]=Y.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}$z0.exports=eY0});var IN=E((Td1,Uz0)=>{var Yz0=g0();class zz0 extends Yz0{get tag(){return"cfvo"}render($,Y){$.leafNode(this.tag,{type:Y.type,val:Y.value})}parseOpen($){this.model={type:$.attributes.type,value:Yz0.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}Uz0.exports=zz0});var Iz0=E((jd1,Jz0)=>{var j11=m8(),E11=a3(),C11=IN();class Qz0 extends j11{constructor(){super();this.map={cfvo:this.cfvoXform=new C11,color:this.colorXform=new E11}}get tag(){return"dataBar"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),this.colorXform.render($,Y.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,Y){switch($){case"cfvo":this.model.cfvo.push(Y.model);break;case"color":this.model.color=Y.model;break}}}Jz0.exports=Qz0});var Zz0=E((Ed1,Xz0)=>{var R11=g0(),Kz0=m8();class Gz0 extends R11{get tag(){return"x14:id"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class Wz0 extends Kz0{constructor(){super();this.map={"x14:id":this.idXform=new Gz0}}get tag(){return"ext"}render($,Y){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,Y.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model.x14Id=Y.model}}class Hz0 extends Kz0{constructor(){super();this.map={ext:new Wz0}}get tag(){return"extLst"}render($,Y){$.openNode(this.tag),this.map.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}Xz0.exports=Hz0});var Lz0=E((Cd1,Vz0)=>{var _11=g0();class qz0 extends _11{get tag(){return"formula"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}Vz0.exports=qz0});var Mz0=E((Rd1,wz0)=>{var v11=m8(),h11=a3(),S11=IN();class Fz0 extends v11{constructor(){super();this.map={cfvo:this.cfvoXform=new S11,color:this.colorXform=new h11}}get tag(){return"colorScale"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),Y.color.forEach((z)=>{this.colorXform.render($,z)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}wz0.exports=Fz0});var Dz0=E((_d1,Nz0)=>{var yJ=g0(),g11=m8(),y11=IN();class Oz0 extends g11{constructor(){super();this.map={cfvo:this.cfvoXform=new y11}}get tag(){return"iconSet"}render($,Y){$.openNode(this.tag,{iconSet:yJ.toStringAttribute(Y.iconSet,"3TrafficLights"),reverse:yJ.toBoolAttribute(Y.reverse,!1),showValue:yJ.toBoolAttribute(Y.showValue,!0)}),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:yJ.toStringValue($.iconSet,"3TrafficLights"),reverse:yJ.toBoolValue($.reverse),showValue:yJ.toBoolValue($.showValue),cfvo:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}Nz0.exports=Oz0});var Az0=E((vd1,Pz0)=>{var L5=g0(),k11=m8(),Bz0=e9(),x11=Iz0(),f11=Zz0(),u11=Lz0(),b11=Mz0(),i11=Dz0(),c11={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},n11=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new Bz0($.ref),{tl:z}=Y;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${z})))`;case"containsBlanks":return`LEN(TRIM(${z}))=0`;case"notContainsBlanks":return`LEN(TRIM(${z}))>0`;case"containsErrors":return`ISERROR(${z})`;case"notContainsErrors":return`NOT(ISERROR(${z}))`;default:return}},p11=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new Bz0($.ref),{tl:z}=Y;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${z},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${z},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${z},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${z},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${z},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${z},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${z},1)=TODAY()-1`;case"today":return`FLOOR(${z},1)=TODAY()`;case"tomorrow":return`FLOOR(${z},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${z},1)<=6,FLOOR(${z},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${z})=MONTH(EDATE(TODAY(),0-1)),YEAR(${z})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${z})=MONTH(TODAY()),YEAR(${z})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${z})=MONTH(EDATE(TODAY(),0+1)),YEAR(${z})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},d11=($)=>{let{type:Y,operator:z}=$;switch(Y){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:Y};default:return{type:Y,operator:z}}};class Ox extends k11{constructor(){super();this.map={dataBar:this.databarXform=new x11,extLst:this.extLstRefXform=new f11,formula:this.formulaXform=new u11,colorScale:this.colorScaleXform=new b11,iconSet:this.iconSetXform=new i11}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||c11[$.iconSet])return!1}return!0}render($,Y){switch(Y.type){case"expression":this.renderExpression($,Y);break;case"cellIs":this.renderCellIs($,Y);break;case"top10":this.renderTop10($,Y);break;case"aboveAverage":this.renderAboveAverage($,Y);break;case"dataBar":this.renderDataBar($,Y);break;case"colorScale":this.renderColorScale($,Y);break;case"iconSet":this.renderIconSet($,Y);break;case"containsText":this.renderText($,Y);break;case"timePeriod":this.renderTimePeriod($,Y);break}}renderExpression($,Y){$.openNode(this.tag,{type:"expression",dxfId:Y.dxfId,priority:Y.priority}),this.formulaXform.render($,Y.formulae[0]),$.closeNode()}renderCellIs($,Y){$.openNode(this.tag,{type:"cellIs",dxfId:Y.dxfId,priority:Y.priority,operator:Y.operator}),Y.formulae.forEach((z)=>{this.formulaXform.render($,z)}),$.closeNode()}renderTop10($,Y){$.leafNode(this.tag,{type:"top10",dxfId:Y.dxfId,priority:Y.priority,percent:L5.toBoolAttribute(Y.percent,!1),bottom:L5.toBoolAttribute(Y.bottom,!1),rank:L5.toIntValue(Y.rank,10,!0)})}renderAboveAverage($,Y){$.leafNode(this.tag,{type:"aboveAverage",dxfId:Y.dxfId,priority:Y.priority,aboveAverage:L5.toBoolAttribute(Y.aboveAverage,!0)})}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",priority:Y.priority}),this.databarXform.render($,Y),this.extLstRefXform.render($,Y),$.closeNode()}renderColorScale($,Y){$.openNode(this.tag,{type:"colorScale",priority:Y.priority}),this.colorScaleXform.render($,Y),$.closeNode()}renderIconSet($,Y){if(!Ox.isPrimitive(Y))return;$.openNode(this.tag,{type:"iconSet",priority:Y.priority}),this.iconSetXform.render($,Y),$.closeNode()}renderText($,Y){$.openNode(this.tag,{type:Y.operator,dxfId:Y.dxfId,priority:Y.priority,operator:L5.toStringAttribute(Y.operator,"containsText")});let z=n11(Y);if(z)this.formulaXform.render($,z);$.closeNode()}renderTimePeriod($,Y){$.openNode(this.tag,{type:"timePeriod",dxfId:Y.dxfId,priority:Y.priority,timePeriod:Y.timePeriod});let z=p11(Y);if(z)this.formulaXform.render($,z);$.closeNode()}createNewModel({attributes:$}){return{...d11($),dxfId:L5.toIntValue($.dxfId),priority:L5.toIntValue($.priority),timePeriod:$.timePeriod,percent:L5.toBoolValue($.percent),bottom:L5.toBoolValue($.bottom),rank:L5.toIntValue($.rank),aboveAverage:L5.toBoolValue($.aboveAverage)}}onParserClose($,Y){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,Y.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(Y.model);break}}}Pz0.exports=Ox});var Ez0=E((hd1,jz0)=>{var m11=m8(),Nx=Az0();class Tz0 extends m11{constructor(){super();this.map={cfRule:new Nx}}get tag(){return"conditionalFormatting"}render($,Y){if(!Y.rules.some(Nx.isPrimitive))return;$.openNode(this.tag,{sqref:Y.ref}),Y.rules.forEach((z)=>{if(Nx.isPrimitive(z))z.ref=Y.ref,this.map.cfRule.render($,z)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,Y){this.model.rules.push(Y.model)}}jz0.exports=Tz0});var Dx=E((Sd1,Rz0)=>{var l11=g0(),o11=Ez0();class Cz0 extends l11{constructor(){super();this.cfXform=new o11}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,Y){let z=$.reduce((U,Q)=>Math.max(U,...Q.rules.map((J)=>J.priority||0)),1);$.forEach((U)=>{U.rules.forEach((Q)=>{if(!Q.priority)Q.priority=z++;if(Q.style)Q.dxfId=Y.styles.addDxfStyle(Q.style)})})}render($,Y){Y.forEach((z)=>{this.cfXform.render($,z)})}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))return this.model.push(this.parser.model),this.parser=void 0,!1;return!0}return!1}reconcile($,Y){$.forEach((z)=>{z.rules.forEach((U)=>{if(U.dxfId!==void 0)U.style=Y.styles.getDxfStyle(U.dxfId),delete U.dxfId})})}}Rz0.exports=Cz0});var Bx=E((_z0)=>{Object.defineProperty(_z0,"__esModule",{value:!0});_z0.default=a11;var r11=s11(I0("crypto"));function s11($){return $&&$.__esModule?$:{default:$}}var GN=new Uint8Array(256),KN=GN.length;function a11(){if(KN>GN.length-16)r11.default.randomFillSync(GN),KN=0;return GN.slice(KN,KN+=16)}});var Sz0=E((vz0)=>{Object.defineProperty(vz0,"__esModule",{value:!0});vz0.default=void 0;var e11=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;vz0.default=e11});var yH=E((gz0)=>{Object.defineProperty(gz0,"__esModule",{value:!0});gz0.default=void 0;var $41=Y41(Sz0());function Y41($){return $&&$.__esModule?$:{default:$}}function z41($){return typeof $==="string"&&$41.default.test($)}var U41=z41;gz0.default=U41});var kH=E((kz0)=>{Object.defineProperty(kz0,"__esModule",{value:!0});kz0.default=void 0;var Q41=J41(yH());function J41($){return $&&$.__esModule?$:{default:$}}var o6=[];for(let $=0;$<256;++$)o6.push(($+256).toString(16).substr(1));function I41($,Y=0){let z=(o6[$[Y+0]]+o6[$[Y+1]]+o6[$[Y+2]]+o6[$[Y+3]]+"-"+o6[$[Y+4]]+o6[$[Y+5]]+"-"+o6[$[Y+6]]+o6[$[Y+7]]+"-"+o6[$[Y+8]]+o6[$[Y+9]]+"-"+o6[$[Y+10]]+o6[$[Y+11]]+o6[$[Y+12]]+o6[$[Y+13]]+o6[$[Y+14]]+o6[$[Y+15]]).toLowerCase();if(!(0,Q41.default)(z))throw TypeError("Stringified UUID is invalid");return z}var K41=I41;kz0.default=K41});var cz0=E((bz0)=>{Object.defineProperty(bz0,"__esModule",{value:!0});bz0.default=void 0;var G41=uz0(Bx()),W41=uz0(kH());function uz0($){return $&&$.__esModule?$:{default:$}}var fz0,Px,Ax=0,Tx=0;function H41($,Y,z){let U=Y&&z||0,Q=Y||Array(16);$=$||{};let J=$.node||fz0,I=$.clockseq!==void 0?$.clockseq:Px;if(J==null||I==null){let Z=$.random||($.rng||G41.default)();if(J==null)J=fz0=[Z[0]|1,Z[1],Z[2],Z[3],Z[4],Z[5]];if(I==null)I=Px=(Z[6]<<8|Z[7])&16383}let K=$.msecs!==void 0?$.msecs:Date.now(),G=$.nsecs!==void 0?$.nsecs:Tx+1,W=K-Ax+(G-Tx)/1e4;if(W<0&&$.clockseq===void 0)I=I+1&16383;if((W<0||K>Ax)&&$.nsecs===void 0)G=0;if(G>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Ax=K,Tx=G,Px=I,K+=12219292800000;let H=((K&268435455)*1e4+G)%4294967296;Q[U++]=H>>>24&255,Q[U++]=H>>>16&255,Q[U++]=H>>>8&255,Q[U++]=H&255;let X=K/4294967296*1e4&268435455;Q[U++]=X>>>8&255,Q[U++]=X&255,Q[U++]=X>>>24&15|16,Q[U++]=X>>>16&255,Q[U++]=I>>>8|128,Q[U++]=I&255;for(let Z=0;Z<6;++Z)Q[U+Z]=J[Z];return Y||(0,W41.default)(Q)}var X41=H41;bz0.default=X41});var jx=E((nz0)=>{Object.defineProperty(nz0,"__esModule",{value:!0});nz0.default=void 0;var Z41=q41(yH());function q41($){return $&&$.__esModule?$:{default:$}}function V41($){if(!(0,Z41.default)($))throw TypeError("Invalid UUID");let Y,z=new Uint8Array(16);return z[0]=(Y=parseInt($.slice(0,8),16))>>>24,z[1]=Y>>>16&255,z[2]=Y>>>8&255,z[3]=Y&255,z[4]=(Y=parseInt($.slice(9,13),16))>>>8,z[5]=Y&255,z[6]=(Y=parseInt($.slice(14,18),16))>>>8,z[7]=Y&255,z[8]=(Y=parseInt($.slice(19,23),16))>>>8,z[9]=Y&255,z[10]=(Y=parseInt($.slice(24,36),16))/1099511627776&255,z[11]=Y/4294967296&255,z[12]=Y>>>24&255,z[13]=Y>>>16&255,z[14]=Y>>>8&255,z[15]=Y&255,z}var L41=V41;nz0.default=L41});var Ex=E((oz0)=>{Object.defineProperty(oz0,"__esModule",{value:!0});oz0.default=O41;oz0.URL=oz0.DNS=void 0;var F41=dz0(kH()),w41=dz0(jx());function dz0($){return $&&$.__esModule?$:{default:$}}function M41($){$=unescape(encodeURIComponent($));let Y=[];for(let z=0;z<$.length;++z)Y.push($.charCodeAt(z));return Y}var mz0="6ba7b810-9dad-11d1-80b4-00c04fd430c8";oz0.DNS=mz0;var lz0="6ba7b811-9dad-11d1-80b4-00c04fd430c8";oz0.URL=lz0;function O41($,Y,z){function U(Q,J,I,K){if(typeof Q==="string")Q=M41(Q);if(typeof J==="string")J=(0,w41.default)(J);if(J.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let G=new Uint8Array(16+Q.length);if(G.set(J),G.set(Q,J.length),G=z(G),G[6]=G[6]&15|Y,G[8]=G[8]&63|128,I){K=K||0;for(let W=0;W<16;++W)I[K+W]=G[W];return I}return(0,F41.default)(G)}try{U.name=$}catch(Q){}return U.DNS=mz0,U.URL=lz0,U}});var tz0=E((sz0)=>{Object.defineProperty(sz0,"__esModule",{value:!0});sz0.default=void 0;var B41=P41(I0("crypto"));function P41($){return $&&$.__esModule?$:{default:$}}function A41($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return B41.default.createHash("md5").update($).digest()}var T41=A41;sz0.default=T41});var zU0=E(($U0)=>{Object.defineProperty($U0,"__esModule",{value:!0});$U0.default=void 0;var j41=ez0(Ex()),E41=ez0(tz0());function ez0($){return $&&$.__esModule?$:{default:$}}var C41=(0,j41.default)("v3",48,E41.default),R41=C41;$U0.default=R41});var IU0=E((QU0)=>{Object.defineProperty(QU0,"__esModule",{value:!0});QU0.default=void 0;var _41=UU0(Bx()),v41=UU0(kH());function UU0($){return $&&$.__esModule?$:{default:$}}function h41($,Y,z){$=$||{};let U=$.random||($.rng||_41.default)();if(U[6]=U[6]&15|64,U[8]=U[8]&63|128,Y){z=z||0;for(let Q=0;Q<16;++Q)Y[z+Q]=U[Q];return Y}return(0,v41.default)(U)}var S41=h41;QU0.default=S41});var WU0=E((KU0)=>{Object.defineProperty(KU0,"__esModule",{value:!0});KU0.default=void 0;var g41=y41(I0("crypto"));function y41($){return $&&$.__esModule?$:{default:$}}function k41($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return g41.default.createHash("sha1").update($).digest()}var x41=k41;KU0.default=x41});var qU0=E((XU0)=>{Object.defineProperty(XU0,"__esModule",{value:!0});XU0.default=void 0;var f41=HU0(Ex()),u41=HU0(WU0());function HU0($){return $&&$.__esModule?$:{default:$}}var b41=(0,f41.default)("v5",80,u41.default),i41=b41;XU0.default=i41});var FU0=E((VU0)=>{Object.defineProperty(VU0,"__esModule",{value:!0});VU0.default=void 0;var c41="00000000-0000-0000-0000-000000000000";VU0.default=c41});var OU0=E((wU0)=>{Object.defineProperty(wU0,"__esModule",{value:!0});wU0.default=void 0;var n41=p41(yH());function p41($){return $&&$.__esModule?$:{default:$}}function d41($){if(!(0,n41.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var m41=d41;wU0.default=m41});var NU0=E((F5)=>{Object.defineProperty(F5,"__esModule",{value:!0});Object.defineProperty(F5,"v1",{enumerable:!0,get:function(){return l41.default}});Object.defineProperty(F5,"v3",{enumerable:!0,get:function(){return o41.default}});Object.defineProperty(F5,"v4",{enumerable:!0,get:function(){return r41.default}});Object.defineProperty(F5,"v5",{enumerable:!0,get:function(){return s41.default}});Object.defineProperty(F5,"NIL",{enumerable:!0,get:function(){return a41.default}});Object.defineProperty(F5,"version",{enumerable:!0,get:function(){return t41.default}});Object.defineProperty(F5,"validate",{enumerable:!0,get:function(){return e41.default}});Object.defineProperty(F5,"stringify",{enumerable:!0,get:function(){return $61.default}});Object.defineProperty(F5,"parse",{enumerable:!0,get:function(){return Y61.default}});var l41=W7(cz0()),o41=W7(zU0()),r41=W7(IU0()),s41=W7(qU0()),a41=W7(FU0()),t41=W7(OU0()),e41=W7(yH()),$61=W7(kH()),Y61=W7(jx());function W7($){return $&&$.__esModule?$:{default:$}}});var PU0=E((rd1,BU0)=>{var z61=g0();class DU0 extends z61{get tag(){return"xm:f"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}BU0.exports=DU0});var Cx=E((sd1,TU0)=>{var U61=m8(),Q61=PU0();class AU0 extends U61{constructor(){super();this.map={"xm:f":this.fExtXform=new Q61}}get tag(){return"x14:cfvo"}render($,Y){if($.openNode(this.tag,{type:Y.type}),Y.value!==void 0)this.fExtXform.render($,Y.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,Y){switch($){case"xm:f":this.model.value=Y.model?parseFloat(Y.model):0;break}}}TU0.exports=AU0});var CU0=E((ad1,EU0)=>{var Z8=g0(),J61=m8(),WN=a3(),I61=Cx();class jU0 extends J61{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new I61,"x14:borderColor":this.borderColorXform=new WN("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new WN("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new WN("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new WN("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,Y){$.openNode(this.tag,{minLength:Z8.toIntAttribute(Y.minLength,0,!0),maxLength:Z8.toIntAttribute(Y.maxLength,100,!0),border:Z8.toBoolAttribute(Y.border,!1),gradient:Z8.toBoolAttribute(Y.gradient,!0),negativeBarColorSameAsPositive:Z8.toBoolAttribute(Y.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:Z8.toBoolAttribute(Y.negativeBarBorderColorSameAsPositive,!0),axisPosition:Z8.toAttribute(Y.axisPosition,"auto"),direction:Z8.toAttribute(Y.direction,"leftToRight")}),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),this.borderColorXform.render($,Y.borderColor),this.negativeBorderColorXform.render($,Y.negativeBorderColor),this.negativeFillColorXform.render($,Y.negativeFillColor),this.axisColorXform.render($,Y.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:Z8.toIntValue($.minLength,0),maxLength:Z8.toIntValue($.maxLength,100),border:Z8.toBoolValue($.border,!1),gradient:Z8.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:Z8.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:Z8.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:Z8.toStringValue($.axisPosition,"auto"),direction:Z8.toStringValue($.direction,"leftToRight")}}onParserClose($,Y){let[,z]=$.split(":");switch(z){case"cfvo":this.model.cfvo.push(Y.model);break;default:this.model[z]=Y.model;break}}}EU0.exports=jU0});var hU0=E((td1,vU0)=>{var RU0=g0();class _U0 extends RU0{get tag(){return"x14:cfIcon"}render($,Y){$.leafNode(this.tag,{iconSet:Y.iconSet,iconId:Y.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:RU0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}vU0.exports=_U0});var yU0=E((ed1,gU0)=>{var Zz=g0(),K61=m8(),G61=Cx(),W61=hU0();class SU0 extends K61{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new G61,"x14:cfIcon":this.cfIconXform=new W61}}get tag(){return"x14:iconSet"}render($,Y){if($.openNode(this.tag,{iconSet:Zz.toStringAttribute(Y.iconSet),reverse:Zz.toBoolAttribute(Y.reverse,!1),showValue:Zz.toBoolAttribute(Y.showValue,!0),custom:Zz.toBoolAttribute(Y.icons,!1)}),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),Y.icons)Y.icons.forEach((z,U)=>{z.iconId=U,this.cfIconXform.render($,z)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:Zz.toStringValue($.iconSet,"3TrafficLights"),reverse:Zz.toBoolValue($.reverse,!1),showValue:Zz.toBoolValue($.showValue,!0)}}onParserClose($,Y){let[,z]=$.split(":");switch(z){case"cfvo":this.model.cfvo.push(Y.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(Y.model);break;default:this.model[z]=Y.model;break}}}gU0.exports=SU0});var Rx=E(($m1,fU0)=>{var{v4:kU0}=NU0(),H61=g0(),X61=m8(),xU0=CU0(),Z61=yU0(),q61={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class HN extends X61{constructor(){super();this.map={"x14:dataBar":this.databarXform=new xU0,"x14:iconSet":this.iconSetXform=new Z61}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return xU0.isExt($);if($.type==="iconSet"){if($.custom||q61[$.iconSet])return!0}return!1}prepare($){if(HN.isExt($))$.x14Id=`{${kU0()}}`.toUpperCase()}render($,Y){if(!HN.isExt(Y))return;switch(Y.type){case"dataBar":this.renderDataBar($,Y);break;case"iconSet":this.renderIconSet($,Y);break}}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",id:Y.x14Id}),this.databarXform.render($,Y),$.closeNode()}renderIconSet($,Y){$.openNode(this.tag,{type:"iconSet",priority:Y.priority,id:Y.x14Id||`{${kU0()}}`}),this.iconSetXform.render($,Y),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:H61.toIntValue($.priority)}}onParserClose($,Y){Object.assign(this.model,Y.model)}}fU0.exports=HN});var iU0=E((Ym1,bU0)=>{var V61=g0();class uU0 extends V61{get tag(){return"xm:sqref"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}bU0.exports=uU0});var pU0=E((zm1,nU0)=>{var L61=m8(),F61=iU0(),_x=Rx();class cU0 extends L61{constructor(){super();this.map={"xm:sqref":this.sqRef=new F61,"x14:cfRule":this.cfRule=new _x}}get tag(){return"x14:conditionalFormatting"}prepare($,Y){$.rules.forEach((z)=>{this.cfRule.prepare(z,Y)})}render($,Y){if(!Y.rules.some(_x.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),Y.rules.filter(_x.isExt).forEach((z)=>this.cfRule.render($,z)),this.sqRef.render($,Y.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,Y){switch($){case"xm:sqref":this.model.ref=Y.model;break;case"x14:cfRule":this.model.rules.push(Y.model);break}}}nU0.exports=cU0});var lU0=E((Um1,mU0)=>{var w61=m8(),M61=Rx(),O61=pU0();class dU0 extends w61{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new O61}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((Y)=>Y.rules.some(M61.isExt));return $.hasExtContent}prepare($,Y){$.forEach((z)=>{this.cfXform.prepare(z,Y)})}render($,Y){if(this.hasContent(Y))$.openNode(this.tag),Y.forEach((z)=>this.cfXform.render($,z)),$.closeNode()}createNewModel(){return[]}onParserClose($,Y){this.model.push(Y.model)}}mU0.exports=dU0});var tU0=E((Qm1,aU0)=>{var oU0=m8(),N61=lU0();class rU0 extends oU0{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new N61}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,Y){this.conditionalFormattings.prepare($.conditionalFormattings,Y)}render($,Y){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,Y.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model[$]=Y.model}}class sU0 extends oU0{constructor(){super();this.map={ext:this.ext=new rU0}}get tag(){return"extLst"}prepare($,Y){this.ext.prepare($,Y)}hasContent($){return this.ext.hasContent($)}render($,Y){if(!this.hasContent(Y))return;$.openNode("extLst"),this.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}aU0.exports=sU0});var $Q0=E((Jm1,eU0)=>{var D61=Y6(),B61=i4(),P61=m6(),H7=e3(),A61=s20(),T61=g0(),kJ=s3(),j61=zx(),E61=Qx(),C61=KY0(),R61=Jx(),_61=ZY0(),v61=Gx(),h61=Wx(),S61=Hx(),g61=Xx(),y61=Zx(),k61=qx(),x61=Vx(),f61=yY0(),u61=Lx(),b61=Fx(),i61=cY0(),c61=dY0(),n61=wx(),p61=Mx(),d61=Dx(),m61=tU0(),l61=($,Y)=>{Object.keys(Y).forEach((z)=>{let U=$[z],Q=Y[z];if(U===void 0&&Q!==void 0)$[z]=Q})},o61=($,Y)=>{if(!Y||!Y.length)return $;if(!$||!$.length)return Y;let z={},U={};return $.forEach((Q)=>{z[Q.ref]=Q,Q.rules.forEach((J)=>{let{x14Id:I}=J;if(I)U[I]=J})}),Y.forEach((Q)=>{Q.rules.forEach((J)=>{let I=U[J.x14Id];if(I)l61(I,J);else if(z[Q.ref])z[Q.ref].rules.push(J);else $.push({ref:Q.ref,rules:[J]})})}),$};class XN extends T61{constructor($){super();let{maxRows:Y,maxCols:z,ignoreNodes:U}=$||{};this.ignoreNodes=U||[],this.map={sheetPr:new h61,dimension:new C61,sheetViews:new kJ({tag:"sheetViews",count:!1,childXform:new g61}),sheetFormatPr:new S61,cols:new kJ({tag:"cols",count:!1,childXform:new E61}),sheetData:new kJ({tag:"sheetData",count:!1,empty:!0,childXform:new j61({maxItems:z}),maxItems:Y}),autoFilter:new u61,mergeCells:new kJ({tag:"mergeCells",count:!0,childXform:new _61}),rowBreaks:new n61,hyperlinks:new kJ({tag:"hyperlinks",count:!1,childXform:new R61}),pageMargins:new k61,dataValidations:new v61,pageSetup:new x61,headerFooter:new p61,printOptions:new f61,picture:new b61,drawing:new i61,sheetProtection:new y61,tableParts:new kJ({tag:"tableParts",count:!0,childXform:new c61}),conditionalFormatting:new d61,extLst:new m61}}prepare($,Y){Y.merges=new A61,$.hyperlinks=Y.hyperlinks=[],$.comments=Y.comments=[],Y.formulae={},Y.siFormulae=0,this.map.cols.prepare($.cols,Y),this.map.sheetData.prepare($.rows,Y),this.map.conditionalFormatting.prepare($.conditionalFormattings,Y),$.mergeCells=Y.merges.mergeCells;let z=$.rels=[];function U(I){return`rId${I.length+1}`}if($.hyperlinks.forEach((I)=>{let K=U(z);I.rId=K,z.push({Id:K,Type:H7.Hyperlink,Target:I.target,TargetMode:"External"})}),$.comments.length>0){let I={Id:U(z),Type:H7.Comments,Target:`../comments${$.id}.xml`};z.push(I);let K={Id:U(z),Type:H7.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};z.push(K),$.comments.forEach((G)=>{G.refAddress=B61.decodeAddress(G.ref)}),Y.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let Q=[],J;$.media.forEach((I)=>{if(I.type==="background"){let K=U(z);J=Y.media[I.imageId],z.push({Id:K,Type:H7.Image,Target:`../media/${J.name}.${J.extension}`}),$.background={rId:K},$.image=Y.media[I.imageId]}else if(I.type==="image"){let{drawing:K}=$;if(J=Y.media[I.imageId],!K)K=$.drawing={rId:U(z),name:`drawing${++Y.drawingsCount}`,anchors:[],rels:[]},Y.drawings.push(K),z.push({Id:K.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${K.name}.xml`});let G=this.preImageId===I.imageId?Q[I.imageId]:Q[K.rels.length];if(!G)G=U(K.rels),Q[K.rels.length]=G,K.rels.push({Id:G,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${J.name}.${J.extension}`});let W={picture:{rId:G},range:I.range};if(I.hyperlinks&&I.hyperlinks.hyperlink){let H=U(K.rels);Q[K.rels.length]=H,W.picture.hyperlinks={tooltip:I.hyperlinks.tooltip,rId:H},K.rels.push({Id:H,Type:H7.Hyperlink,Target:I.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=I.imageId,K.anchors.push(W)}}),$.tables.forEach((I)=>{let K=U(z);I.rId=K,z.push({Id:K,Type:H7.Table,Target:`../tables/${I.target}`}),I.columns.forEach((G)=>{let{style:W}=G;if(W)G.dxfId=Y.styles.addDxfStyle(W)})}),this.map.extLst.prepare($,Y)}render($,Y){$.openXml(P61.StdDocAttributes),$.openNode("worksheet",XN.WORKSHEET_ATTRIBUTES);let z=Y.properties?{defaultRowHeight:Y.properties.defaultRowHeight,dyDescent:Y.properties.dyDescent,outlineLevelCol:Y.properties.outlineLevelCol,outlineLevelRow:Y.properties.outlineLevelRow}:void 0;if(Y.properties&&Y.properties.defaultColWidth)z.defaultColWidth=Y.properties.defaultColWidth;let U={outlineProperties:Y.properties&&Y.properties.outlineProperties,tabColor:Y.properties&&Y.properties.tabColor,pageSetup:Y.pageSetup&&Y.pageSetup.fitToPage?{fitToPage:Y.pageSetup.fitToPage}:void 0},Q=Y.pageSetup&&Y.pageSetup.margins,J={showRowColHeaders:Y.pageSetup&&Y.pageSetup.showRowColHeaders,showGridLines:Y.pageSetup&&Y.pageSetup.showGridLines,horizontalCentered:Y.pageSetup&&Y.pageSetup.horizontalCentered,verticalCentered:Y.pageSetup&&Y.pageSetup.verticalCentered},I=Y.sheetProtection;if(this.map.sheetPr.render($,U),this.map.dimension.render($,Y.dimensions),this.map.sheetViews.render($,Y.views),this.map.sheetFormatPr.render($,z),this.map.cols.render($,Y.cols),this.map.sheetData.render($,Y.rows),this.map.sheetProtection.render($,I),this.map.autoFilter.render($,Y.autoFilter),this.map.mergeCells.render($,Y.mergeCells),this.map.conditionalFormatting.render($,Y.conditionalFormattings),this.map.dataValidations.render($,Y.dataValidations),this.map.hyperlinks.render($,Y.hyperlinks),this.map.printOptions.render($,J),this.map.pageMargins.render($,Q),this.map.pageSetup.render($,Y.pageSetup),this.map.headerFooter.render($,Y.headerFooter),this.map.rowBreaks.render($,Y.rowBreaks),this.map.drawing.render($,Y.drawing),this.map.picture.render($,Y.background),this.map.tableParts.render($,Y.tables),this.map.extLst.render($,Y),Y.rels)Y.rels.forEach((K)=>{if(K.Type===H7.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":K.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return D61.each(this.map,(Y)=>{Y.reset()}),!0;if(this.map[$.name]&&!this.ignoreNodes.includes($.name))this.parser=this.map[$.name],this.parser.parseOpen($);return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"worksheet":{let Y=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)Y.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)Y.outlineProperties=this.map.sheetPr.model.outlineProperties;let z={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},U=Object.assign(z,this.map.pageSetup.model,this.map.printOptions.model),Q=o61(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);if(this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:Y,views:this.map.sheetViews.model,pageSetup:U,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:Q},this.map.autoFilter.model)this.model.autoFilter=this.map.autoFilter.model;if(this.map.sheetProtection.model)this.model.sheetProtection=this.map.sheetProtection.model;return!1}default:return!0}}reconcile($,Y){let z=($.relationships||[]).reduce((Q,J)=>{if(Q[J.Id]=J,J.Type===H7.Comments)$.comments=Y.comments[J.Target].comments;if(J.Type===H7.VmlDrawing&&$.comments&&$.comments.length){let I=Y.vmlDrawings[J.Target].comments;$.comments.forEach((K,G)=>{K.note=Object.assign({},K.note,I[G])})}return Q},{});if(Y.commentsMap=($.comments||[]).reduce((Q,J)=>{if(J.ref)Q[J.ref]=J;return Q},{}),Y.hyperlinkMap=($.hyperlinks||[]).reduce((Q,J)=>{if(J.rId)Q[J.address]=z[J.rId].Target;return Q},{}),Y.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((Q)=>{Q.cells=Q.cells&&Q.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,Y),this.map.sheetData.reconcile($.rows,Y),this.map.conditionalFormatting.reconcile($.conditionalFormattings,Y),$.media=[],$.drawing){let J=z[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(J){let I=J[1];Y.drawings[I].anchors.forEach((G)=>{if(G.medium){let W={type:"image",imageId:G.medium.index,range:G.range,hyperlinks:G.picture.hyperlinks};$.media.push(W)}})}}let U=$.background&&z[$.background.rId];if(U){let Q=U.Target.split("/media/")[1],J=Y.mediaIndex&&Y.mediaIndex[Q];if(J!==void 0)$.media.push({type:"background",imageId:J})}$.tables=($.tables||[]).map((Q)=>{let J=z[Q.rId];return Y.tables[J.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}XN.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"};eU0.exports=XN});var vx=E((Im1,zQ0)=>{var r61=g0();class YQ0 extends r61{parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={range:{editAs:$.attributes.editAs||"oneCell"}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}reconcilePicture($,Y){if($&&$.rId){let U=Y.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(U){let Q=U[1],J=Y.mediaIndex[Q];return Y.media[J]}}return}}zQ0.exports=YQ0});var hx=E((Km1,QQ0)=>{var s61=g0(),ZN=cO();class UQ0 extends s61{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new ZN({tag:"xdr:col",zero:!0}),"xdr:colOff":new ZN({tag:"xdr:colOff",zero:!0}),"xdr:row":new ZN({tag:"xdr:row",zero:!0}),"xdr:rowOff":new ZN({tag:"xdr:rowOff",zero:!0})}}render($,Y){$.openNode(this.tag),this.map["xdr:col"].render($,Y.nativeCol),this.map["xdr:colOff"].render($,Y.nativeColOff),this.map["xdr:row"].render($,Y.nativeRow),this.map["xdr:rowOff"].render($,Y.nativeRowOff),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}QQ0.exports=UQ0});var KQ0=E((Gm1,IQ0)=>{var a61=g0();class JQ0 extends a61{get tag(){return"a:blip"}render($,Y){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":Y.rId,cstate:"print"})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}IQ0.exports=JQ0});var HQ0=E((Wm1,WQ0)=>{var t61=g0(),e61=KQ0();class GQ0 extends t61{constructor(){super();this.map={"a:blip":new e61}}get tag(){return"xdr:blipFill"}render($,Y){$.openNode(this.tag),this.map["a:blip"].render($,Y),$.openNode("a:stretch"),$.leafNode("a:fillRect"),$.closeNode(),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}WQ0.exports=GQ0});var qQ0=E((Hm1,ZQ0)=>{var $81=g0();class XQ0 extends $81{get tag(){return"a:hlinkClick"}render($,Y){if(!(Y.hyperlinks&&Y.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":Y.hyperlinks.rId,tooltip:Y.hyperlinks.tooltip})}parseOpen($){switch($.name){case this.tag:return this.model={hyperlinks:{rId:$.attributes["r:id"],tooltip:$.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}ZQ0.exports=XQ0});var FQ0=E((Xm1,LQ0)=>{var Y81=g0();class VQ0 extends Y81{get tag(){return"a:extLst"}render($){$.openNode(this.tag),$.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),$.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),$.closeNode(),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}LQ0.exports=VQ0});var OQ0=E((Zm1,MQ0)=>{var z81=g0(),U81=qQ0(),Q81=FQ0();class wQ0 extends z81{constructor(){super();this.map={"a:hlinkClick":new U81,"a:extLst":new Q81}}get tag(){return"xdr:cNvPr"}render($,Y){$.openNode(this.tag,{id:Y.index,name:`Picture ${Y.index}`}),this.map["a:hlinkClick"].render($,Y),this.map["a:extLst"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}MQ0.exports=wQ0});var BQ0=E((qm1,DQ0)=>{var J81=g0();class NQ0 extends J81{get tag(){return"xdr:cNvPicPr"}render($){$.openNode(this.tag),$.leafNode("a:picLocks",{noChangeAspect:"1"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}DQ0.exports=NQ0});var TQ0=E((Vm1,AQ0)=>{var I81=g0(),K81=OQ0(),G81=BQ0();class PQ0 extends I81{constructor(){super();this.map={"xdr:cNvPr":new K81,"xdr:cNvPicPr":new G81}}get tag(){return"xdr:nvPicPr"}render($,Y){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,Y),this.map["xdr:cNvPicPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}AQ0.exports=PQ0});var EQ0=E((Lm1,jQ0)=>{jQ0.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}});var Sx=E((Fm1,RQ0)=>{var W81=g0(),H81=RJ(),X81=HQ0(),Z81=TQ0(),q81=EQ0();class CQ0 extends W81{constructor(){super();this.map={"xdr:nvPicPr":new Z81,"xdr:blipFill":new X81,"xdr:spPr":new H81(q81)}}get tag(){return"xdr:pic"}prepare($,Y){$.index=Y.index+1}render($,Y){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,Y),this.map["xdr:blipFill"].render($,Y),this.map["xdr:spPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.mergeModel(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}}RQ0.exports=CQ0});var SQ0=E((wm1,hQ0)=>{var V81=vx(),L81=RJ(),_Q0=hx(),F81=Sx();class vQ0 extends V81{constructor(){super();this.map={"xdr:from":new _Q0({tag:"xdr:from"}),"xdr:to":new _Q0({tag:"xdr:to"}),"xdr:pic":new F81,"xdr:clientData":new L81({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:to"].render($,Y.range.br),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}hQ0.exports=vQ0});var kQ0=E((Mm1,yQ0)=>{var w81=g0();class gQ0 extends w81{constructor($){super();this.tag=$.tag,this.map={}}render($,Y){$.openNode(this.tag);let z=Math.floor(Y.width*9525),U=Math.floor(Y.height*9525);$.addAttribute("cx",z),$.addAttribute("cy",U),$.closeNode()}parseOpen($){if($.name===this.tag)return this.model={width:parseInt($.attributes.cx||"0",10)/9525,height:parseInt($.attributes.cy||"0",10)/9525},!0;return!1}parseText(){}parseClose(){return!1}}yQ0.exports=gQ0});var uQ0=E((Om1,fQ0)=>{var M81=vx(),O81=RJ(),N81=hx(),D81=kQ0(),B81=Sx();class xQ0 extends M81{constructor(){super();this.map={"xdr:from":new N81({tag:"xdr:from"}),"xdr:ext":new D81({tag:"xdr:ext"}),"xdr:pic":new B81,"xdr:clientData":new O81({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:ext"].render($,Y.range.ext),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}fQ0.exports=xQ0});var iQ0=E((Nm1,bQ0)=>{var P81=i4(),A81=m6(),T81=g0(),j81=SQ0(),E81=uQ0();function C81($){return(typeof $.range==="string"?P81.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class qN extends T81{constructor(){super();this.map={"xdr:twoCellAnchor":new j81,"xdr:oneCellAnchor":new E81}}prepare($){$.anchors.forEach((Y,z)=>{Y.anchorType=C81(Y),this.map[Y.anchorType].prepare(Y,{index:z})})}get tag(){return"xdr:wsDr"}render($,Y){$.openXml(A81.StdDocAttributes),$.openNode(this.tag,qN.DRAWING_ATTRIBUTES),Y.anchors.forEach((z)=>{this.map[z.anchorType].render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.anchors.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((z)=>{if(z.br)this.map["xdr:twoCellAnchor"].reconcile(z,Y);else this.map["xdr:oneCellAnchor"].reconcile(z,Y)})}}qN.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};bQ0.exports=qN});var pQ0=E((Dm1,nQ0)=>{var R81=g0();class cQ0 extends R81{get tag(){return"customFilter"}render($,Y){$.leafNode(this.tag,{val:Y.val,operator:Y.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}nQ0.exports=cQ0});var lQ0=E((Bm1,mQ0)=>{var _81=g0();class dQ0 extends _81{get tag(){return"filter"}render($,Y){$.leafNode(this.tag,{val:Y.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}mQ0.exports=dQ0});var aQ0=E((Pm1,sQ0)=>{var v81=g0(),oQ0=s3(),h81=pQ0(),S81=lQ0();class rQ0 extends v81{constructor(){super();this.map={customFilters:new oQ0({tag:"customFilters",count:!1,empty:!0,childXform:new h81}),filters:new oQ0({tag:"filters",count:!1,empty:!0,childXform:new S81})}}get tag(){return"filterColumn"}prepare($,Y){$.colId=Y.index.toString()}render($,Y){if(Y.customFilters)return $.openNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),this.map.customFilters.render($,Y.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:Y}=$;switch($.name){case this.tag:return this.model={filterButton:Y.hiddenButton==="0"},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}sQ0.exports=rQ0});var $J0=E((Am1,eQ0)=>{var g81=g0(),y81=aQ0();class tQ0 extends g81{constructor(){super();this.map={filterColumn:new y81}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((Y,z)=>{this.map.filterColumn.prepare(Y,{index:z})})}render($,Y){return $.openNode(this.tag,{ref:Y.autoFilterRef}),Y.columns.forEach((z)=>{this.map.filterColumn.render($,z)}),$.closeNode(),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model={autoFilterRef:$.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.columns.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}eQ0.exports=tQ0});var UJ0=E((Tm1,zJ0)=>{var k81=g0();class YJ0 extends k81{get tag(){return"tableColumn"}prepare($,Y){$.id=Y.index+1}render($,Y){return $.leafNode(this.tag,{id:Y.id.toString(),name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}zJ0.exports=YJ0});var IJ0=E((jm1,JJ0)=>{var x81=g0();class QJ0 extends x81{get tag(){return"tableStyleInfo"}render($,Y){return $.leafNode(this.tag,{name:Y.theme?Y.theme:void 0,showFirstColumn:Y.showFirstColumn?"1":"0",showLastColumn:Y.showLastColumn?"1":"0",showRowStripes:Y.showRowStripes?"1":"0",showColumnStripes:Y.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={theme:Y.name?Y.name:null,showFirstColumn:Y.showFirstColumn==="1",showLastColumn:Y.showLastColumn==="1",showRowStripes:Y.showRowStripes==="1",showColumnStripes:Y.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}JJ0.exports=QJ0});var GJ0=E((Em1,KJ0)=>{var f81=m6(),u81=g0(),b81=s3(),i81=$J0(),c81=UJ0(),n81=IJ0();class VN extends u81{constructor(){super();this.map={autoFilter:new i81,tableColumns:new b81({tag:"tableColumns",count:!0,empty:!0,childXform:new c81}),tableStyleInfo:new n81}}prepare($,Y){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,Y)}get tag(){return"table"}render($,Y){$.openXml(f81.StdDocAttributes),$.openNode(this.tag,{...VN.TABLE_ATTRIBUTES,id:Y.id,name:Y.name,displayName:Y.displayName||Y.name,ref:Y.tableRef,totalsRowCount:Y.totalsRow?"1":void 0,totalsRowShown:Y.totalsRow?void 0:"1",headerRowCount:Y.headerRow?"1":"0"}),this.map.autoFilter.render($,Y),this.map.tableColumns.render($,Y.columns),this.map.tableStyleInfo.render($,Y.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:Y,attributes:z}=$;switch(Y){case this.tag:this.reset(),this.model={name:z.name,displayName:z.displayName||z.name,tableRef:z.ref,totalsRow:z.totalsRowCount==="1",headerRow:z.headerRowCount==="1"};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:if(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model)this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((Y,z)=>{this.model.columns[z].filterButton=Y.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,Y){$.columns.forEach((z)=>{if(z.dxfId!==void 0)z.style=Y.styles.getDxfStyle(z.dxfId)})}}VN.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"};KJ0.exports=VN});var gx=E((Cm1,WJ0)=>{var p81=SH(),d81=X8(),m81=g0(),l81=WJ0.exports=function($){this.model=$};d81.inherits(l81,m81,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new p81;return this._richTextXform},render($,Y){if(Y=Y||this.model,$.openNode("comment",{ref:Y.ref,authorId:0}),$.openNode("text"),Y&&Y.note&&Y.note.texts)Y.note.texts.forEach((z)=>{this.richTextXform.render($,z)});$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"comment":return this.model={type:"note",note:{texts:[]},...$.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var ZJ0=E((Rm1,XJ0)=>{var o81=m6(),r81=X8(),s81=g0(),a81=gx(),HJ0=XJ0.exports=function(){this.map={comment:new a81}};r81.inherits(HJ0,s81,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,Y){Y=Y||this.model,$.openXml(o81.StdDocAttributes),$.openNode("comments",HJ0.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),Y.comments.forEach((z)=>{this.map.comment.render($,z)}),$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var LJ0=E((_m1,VJ0)=>{var t81=g0();class qJ0 extends t81{get tag(){return"v:textbox"}conversionUnit($,Y,z){return`${parseFloat($)*Y.toFixed(2)}${z}`}reverseConversionUnit($){return($||"").split(",").map((Y)=>{return Number(parseFloat(this.conversionUnit(parseFloat(Y),0.1,"")).toFixed(2))})}render($,Y){let z={style:"mso-direction-alt:auto"};if(Y&&Y.note){let{inset:U}=Y.note&&Y.note.margins;if(Array.isArray(U))U=U.map((Q)=>{return this.conversionUnit(Q,10,"mm")}).join(",");if(U)z.inset=U}$.openNode("v:textbox",z),$.leafNode("div",{style:"text-align:left"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return this.model={inset:this.reverseConversionUnit($.attributes.inset)},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}VJ0.exports=qJ0});var MJ0=E((vm1,wJ0)=>{var e81=g0();class FJ0 extends e81{get tag(){return"x:Anchor"}getAnchorRect($){let Y=Math.floor($.left),z=Math.floor(($.left-Y)*68),U=Math.floor($.top),Q=Math.floor(($.top-U)*18),J=Math.floor($.right),I=Math.floor(($.right-J)*68),K=Math.floor($.bottom),G=Math.floor(($.bottom-K)*18);return[Y,z,U,Q,J,I,K,G]}getDefaultRect($){let Y=$.col,z=6,U=Math.max($.row-2,0),Q=14,J=Y+2,I=2,K=U+4,G=16;return[Y,6,U,14,J,2,K,16]}render($,Y){let z=Y.anchor?this.getAnchorRect(Y.anchor):this.getDefaultRect(Y.refAddress);$.leafNode("x:Anchor",null,z.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}wJ0.exports=FJ0});var DJ0=E((hm1,NJ0)=>{var $$1=g0();class OJ0 extends $$1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}NJ0.exports=OJ0});var AJ0=E((Sm1,PJ0)=>{var Y$1=g0();class BJ0 extends Y$1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y,z){if(Y===z[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&Y===z[1])$.leafNode(this.tag)}parseOpen($){switch($.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}PJ0.exports=BJ0});var RJ0=E((gm1,CJ0)=>{var z$1=g0(),U$1=MJ0(),TJ0=DJ0(),jJ0=AJ0(),yx=["twoCells","oneCells","absolute"];class EJ0 extends z$1{constructor(){super();this.map={"x:Anchor":new U$1,"x:Locked":new TJ0({tag:"x:Locked"}),"x:LockText":new TJ0({tag:"x:LockText"}),"x:SizeWithCells":new jJ0({tag:"x:SizeWithCells"}),"x:MoveWithCells":new jJ0({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,Y){let{protection:z,editAs:U}=Y.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,U,yx),this.map["x:SizeWithCells"].render($,U,yx),this.map["x:Anchor"].render($,Y),this.map["x:Locked"].render($,z.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,z.lockText),$.leafNode("x:Row",null,Y.refAddress.row-1),$.leafNode("x:Column",null,Y.refAddress.col-1),$.closeNode()}parseOpen($){switch($.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let $=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),Y=Object.keys($).length;this.model.editAs=yx[Y],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}CJ0.exports=EJ0});var kx=E((ym1,_J0)=>{var Q$1=g0(),J$1=LJ0(),I$1=RJ0();class LN extends Q$1{constructor(){super();this.map={"v:textbox":new J$1,"x:ClientData":new I$1}}get tag(){return"v:shape"}render($,Y,z){$.openNode("v:shape",LN.V_SHAPE_ATTRIBUTES(Y,z)),$.leafNode("v:fill",{color2:"infoBackground [80]"}),$.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),$.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render($,Y),this.map["x:ClientData"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={margins:{insetmode:$.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}LN.V_SHAPE_ATTRIBUTES=($,Y)=>({id:`_x0000_s${1025+Y}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":$.note.margins&&$.note.margins.insetmode});_J0.exports=LN});var hJ0=E((km1,vJ0)=>{var K$1=m6(),G$1=g0(),W$1=kx();class FN extends G$1{constructor(){super();this.map={"v:shape":new W$1}}get tag(){return"xml"}render($,Y){$.openXml(K$1.StdDocAttributes),$.openNode(this.tag,FN.DRAWING_ATTRIBUTES),$.openNode("o:shapelayout",{"v:ext":"edit"}),$.leafNode("o:idmap",{"v:ext":"edit",data:1}),$.closeNode(),$.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),$.leafNode("v:stroke",{joinstyle:"miter"}),$.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),$.closeNode(),Y.comments.forEach((z,U)=>{this.map["v:shape"].render($,z,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={comments:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.comments.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((z)=>{if(z.br)this.map["xdr:twoCellAnchor"].reconcile(z,Y);else this.map["xdr:oneCellAnchor"].reconcile(z,Y)})}}FN.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"};vJ0.exports=FN});var xx=E((xm1,SJ0)=>{SJ0.exports=` - `});var dx=E((um1,fJ0)=>{var px=I0("fs"),H$1=cy(),{PassThrough:fx}=E8(),X$1=M70(),ux=jH(),Z$1=X8(),wN=m6(),{bufferToString:fm1}=Fk(),bx=aO(),gJ0=rk(),ix=sk(),qz=YN(),q$1=ak(),yJ0=tk(),MN=UN(),ON=$Q0(),cx=iQ0(),nx=GJ0(),kJ0=ZJ0(),xJ0=hJ0(),V$1=xx();function L$1($,Y){return new Promise((z,U)=>{px.readFile($,Y,(Q,J)=>{if(Q)U(Q);else z(J)})})}class J9{constructor($){this.workbook=$}async readFile($,Y){if(!await Z$1.fs.exists($))throw Error(`File not found: ${$}`);let z=px.createReadStream($);try{let U=await this.read(z,Y);return z.close(),U}catch(U){throw z.close(),U}}parseRels($){return new qz().parseStream($)}parseWorkbook($){return new MN().parseStream($)}parseSharedStrings($){return new ix().parseStream($)}reconcile($,Y){let z=new MN,U=new ON(Y),Q=new cx,J=new nx;z.reconcile($);let I={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((W)=>{let H=$.drawings[W],X=$.drawingRels[W];if(X)I.rels=X.reduce((Z,q)=>{return Z[q.Id]=q,Z},{}),(H.anchors||[]).forEach((Z)=>{let q=Z.picture&&Z.picture.hyperlinks;if(q&&I.rels[q.rId])q.hyperlink=I.rels[q.rId].Target,delete q.rId}),Q.reconcile(H,I)});let K={styles:$.styles};Object.values($.tables).forEach((W)=>{J.reconcile(W,K)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((W)=>{W.relationships=$.worksheetRels[W.sheetNo],U.reconcile(W,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,Y,z,U,Q){let I=await new ON(U).parseStream($);I.sheetNo=z,Y.worksheetHash[Q]=I,Y.worksheets.push(I)}async _processCommentEntry($,Y,z){let Q=await new kJ0().parseStream($);Y.comments[`../${z}.xml`]=Q}async _processTableEntry($,Y,z){let Q=await new nx().parseStream($);Y.tables[`../tables/${z}.xml`]=Q}async _processWorksheetRelsEntry($,Y,z){let Q=await new qz().parseStream($);Y.worksheetRels[z]=Q}async _processMediaEntry($,Y,z){let U=z.lastIndexOf(".");if(U>=1){let Q=z.substr(U+1),J=z.substr(0,U);await new Promise((I,K)=>{let G=new ux;G.on("finish",()=>{Y.mediaIndex[z]=Y.media.length,Y.mediaIndex[J]=Y.media.length;let W={type:"image",name:J,extension:Q,buffer:G.toBuffer()};Y.media.push(W),I()}),$.on("error",(W)=>{K(W)}),$.pipe(G)})}}async _processDrawingEntry($,Y,z){let Q=await new cx().parseStream($);Y.drawings[z]=Q}async _processDrawingRelsEntry($,Y,z){let Q=await new qz().parseStream($);Y.drawingRels[z]=Q}async _processVmlDrawingEntry($,Y,z){let Q=await new xJ0().parseStream($);Y.vmlDrawings[`../drawings/${z}.vml`]=Q}async _processThemeEntry($,Y,z){await new Promise((U,Q)=>{let J=new ux;$.on("error",Q),J.on("error",Q),J.on("finish",()=>{Y.themes[z]=J.read().toString(),U()}),$.pipe(J)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,Y){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new fx);let z=[];for await(let U of $)z.push(U);return this.load(Buffer.concat(z),Y)}async load($,Y){let z;if(Y&&Y.base64)z=Buffer.from($.toString(),"base64");else z=$;let U={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},Q=await H$1.loadAsync(z);for(let J of Object.values(Q.files))if(!J.dir){let I=J.name;if(I[0]==="/")I=I.substr(1);let K;if(I.match(/xl\/media\//)||I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))K=new fx,K.write(await J.async("nodebuffer"));else{K=new fx({writableObjectMode:!0,readableObjectMode:!0});let G;G=await J.async("string");let W=16384;for(let H=0;H{if(z.type==="image"){let U=`xl/media/${z.name}.${z.extension}`;if(z.filename){let Q=await L$1(z.filename);return $.append(Q,{name:U})}if(z.buffer)return $.append(z.buffer,{name:U});if(z.base64){let Q=z.base64,J=Q.substring(Q.indexOf(",")+1);return $.append(J,{name:U,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,Y){let z=new cx,U=new qz;Y.worksheets.forEach((Q)=>{let{drawing:J}=Q;if(J){z.prepare(J,{});let I=z.toXml(J);$.append(I,{name:`xl/drawings/${J.name}.xml`}),I=U.toXml(J.rels),$.append(I,{name:`xl/drawings/_rels/${J.name}.xml.rels`})}})}addTables($,Y){let z=new nx;Y.worksheets.forEach((U)=>{let{tables:Q}=U;Q.forEach((J)=>{z.prepare(J,{});let I=z.toXml(J);$.append(I,{name:`xl/tables/${J.target}`})})})}async addContentTypes($,Y){let U=new q$1().toXml(Y);$.append(U,{name:"[Content_Types].xml"})}async addApp($,Y){let U=new yJ0().toXml(Y);$.append(U,{name:"docProps/app.xml"})}async addCore($,Y){let z=new gJ0;$.append(z.toXml(Y),{name:"docProps/core.xml"})}async addThemes($,Y){let z=Y.themes||{theme1:V$1};Object.keys(z).forEach((U)=>{let Q=z[U],J=`xl/theme/${U}.xml`;$.append(Q,{name:J})})}async addOfficeRels($){let z=new qz().toXml([{Id:"rId1",Type:J9.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:J9.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:J9.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(z,{name:"_rels/.rels"})}async addWorkbookRels($,Y){let z=1,U=[{Id:`rId${z++}`,Type:J9.RelType.Styles,Target:"styles.xml"},{Id:`rId${z++}`,Type:J9.RelType.Theme,Target:"theme/theme1.xml"}];if(Y.sharedStrings.count)U.push({Id:`rId${z++}`,Type:J9.RelType.SharedStrings,Target:"sharedStrings.xml"});Y.worksheets.forEach((I)=>{I.rId=`rId${z++}`,U.push({Id:I.rId,Type:J9.RelType.Worksheet,Target:`worksheets/sheet${I.id}.xml`})});let J=new qz().toXml(U);$.append(J,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,Y){if(Y.sharedStrings&&Y.sharedStrings.count)$.append(Y.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,Y){let{xml:z}=Y.styles;if(z)$.append(z,{name:"xl/styles.xml"})}async addWorkbook($,Y){let z=new MN;$.append(z.toXml(Y),{name:"xl/workbook.xml"})}async addWorksheets($,Y){let z=new ON,U=new qz,Q=new kJ0,J=new xJ0;Y.worksheets.forEach((I)=>{let K=new wN;if(z.render(K,I),$.append(K.xml,{name:`xl/worksheets/sheet${I.id}.xml`}),I.rels&&I.rels.length)K=new wN,U.render(K,I.rels),$.append(K.xml,{name:`xl/worksheets/_rels/sheet${I.id}.xml.rels`});if(I.comments.length>0)K=new wN,Q.render(K,I),$.append(K.xml,{name:`xl/comments${I.id}.xml`}),K=new wN,J.render(K,I),$.append(K.xml,{name:`xl/drawings/vmlDrawing${I.id}.vml`})})}_finalize($){return new Promise((Y,z)=>{$.on("finish",()=>{Y(this)}),$.on("error",z),$.finalize()})}prepareModel($,Y){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=Y.useSharedStrings!==void 0?Y.useSharedStrings:!0,$.useStyles=Y.useStyles!==void 0?Y.useStyles:!0,$.sharedStrings=new ix,$.styles=$.useStyles?new bx(!0):new bx.Mock;let z=new MN,U=new ON;z.prepare($);let Q={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};Q.drawings=$.drawings=[],Q.commentRefs=$.commentRefs=[];let J=0;$.tables=[],$.worksheets.forEach((I)=>{I.tables.forEach((K)=>{J++,K.target=`table${J}.xml`,K.id=J,$.tables.push(K)}),U.prepare(I,Q)})}async write($,Y){Y=Y||{};let{model:z}=this.workbook,U=new X$1.ZipWriter(Y.zip);return U.pipe($),this.prepareModel(z,Y),await this.addContentTypes(U,z),await this.addOfficeRels(U,z),await this.addWorkbookRels(U,z),await this.addWorksheets(U,z),await this.addSharedStrings(U,z),await this.addDrawings(U,z),await this.addTables(U,z),await Promise.all([this.addThemes(U,z),this.addStyles(U,z)]),await this.addMedia(U,z),await Promise.all([this.addApp(U,z),this.addCore(U,z)]),await this.addWorkbook(U,z),this._finalize(U)}writeFile($,Y){let z=px.createWriteStream($);return new Promise((U,Q)=>{z.on("finish",()=>{U()}),z.on("error",(J)=>{Q(J)}),this.write(z,Y).then(()=>{z.end()}).catch((J)=>{Q(J)})})}async writeBuffer($){let Y=new ux;return await this.write(Y,$),Y.read()}}J9.RelType=e3();fJ0.exports=J9});var mx=E((bJ0)=>{Object.defineProperty(bJ0,"__esModule",{value:!0});bJ0.FormatterOptions=void 0;class uJ0{constructor($={}){var Y;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` -`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((Y=$.writeHeaders)!==null&&Y!==void 0?Y:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}bJ0.FormatterOptions=uJ0});var NN=E((im1,dJ0)=>{var F$1="[object AsyncFunction]",w$1="[object Function]",M$1="[object GeneratorFunction]",O$1="[object Null]",N$1="[object Proxy]",D$1="[object Undefined]",B$1=typeof global=="object"&&global&&global.Object===Object&&global,P$1=typeof self=="object"&&self&&self.Object===Object&&self,A$1=B$1||P$1||Function("return this")(),nJ0=Object.prototype,T$1=nJ0.hasOwnProperty,pJ0=nJ0.toString,cJ0=A$1.Symbol,Vz=cJ0?cJ0.toStringTag:void 0;function j$1($){if($==null)return $===void 0?D$1:O$1;return Vz&&Vz in Object($)?E$1($):C$1($)}function E$1($){var Y=T$1.call($,Vz),z=$[Vz];try{$[Vz]=void 0;var U=!0}catch(J){}var Q=pJ0.call($);if(U)if(Y)$[Vz]=z;else delete $[Vz];return Q}function C$1($){return pJ0.call($)}function R$1($){if(!_$1($))return!1;var Y=j$1($);return Y==w$1||Y==M$1||Y==F$1||Y==N$1}function _$1($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}dJ0.exports=R$1});var jI0=E((DN,fJ)=>{var v$1=200,Uf="__lodash_hash_undefined__",RN=1,UI0=2,QI0=9007199254740991,BN="[object Arguments]",sx="[object Array]",h$1="[object AsyncFunction]",JI0="[object Boolean]",II0="[object Date]",KI0="[object Error]",GI0="[object Function]",S$1="[object GeneratorFunction]",PN="[object Map]",WI0="[object Number]",g$1="[object Null]",xJ="[object Object]",mJ0="[object Promise]",y$1="[object Proxy]",HI0="[object RegExp]",AN="[object Set]",XI0="[object String]",k$1="[object Symbol]",x$1="[object Undefined]",ax="[object WeakMap]",ZI0="[object ArrayBuffer]",TN="[object DataView]",f$1="[object Float32Array]",u$1="[object Float64Array]",b$1="[object Int8Array]",i$1="[object Int16Array]",c$1="[object Int32Array]",n$1="[object Uint8Array]",p$1="[object Uint8ClampedArray]",d$1="[object Uint16Array]",m$1="[object Uint32Array]",l$1=/[\\^$.*+?()[\]{}|]/g,o$1=/^\[object .+?Constructor\]$/,r$1=/^(?:0|[1-9]\d*)$/,A4={};A4[f$1]=A4[u$1]=A4[b$1]=A4[i$1]=A4[c$1]=A4[n$1]=A4[p$1]=A4[d$1]=A4[m$1]=!0;A4[BN]=A4[sx]=A4[ZI0]=A4[JI0]=A4[TN]=A4[II0]=A4[KI0]=A4[GI0]=A4[PN]=A4[WI0]=A4[xJ]=A4[HI0]=A4[AN]=A4[XI0]=A4[ax]=!1;var qI0=typeof global=="object"&&global&&global.Object===Object&&global,s$1=typeof self=="object"&&self&&self.Object===Object&&self,X7=qI0||s$1||Function("return this")(),VI0=typeof DN=="object"&&DN&&!DN.nodeType&&DN,lJ0=VI0&&typeof fJ=="object"&&fJ&&!fJ.nodeType&&fJ,LI0=lJ0&&lJ0.exports===VI0,lx=LI0&&qI0.process,oJ0=function(){try{return lx&&lx.binding&&lx.binding("util")}catch($){}}(),rJ0=oJ0&&oJ0.isTypedArray;function a$1($,Y){var z=-1,U=$==null?0:$.length,Q=0,J=[];while(++z-1}function E51($,Y){var z=this.__data__,U=vN(z,$);if(U<0)++this.size,z.push([$,Y]);else z[U][1]=Y;return this}Z7.prototype.clear=P51;Z7.prototype.delete=A51;Z7.prototype.get=T51;Z7.prototype.has=j51;Z7.prototype.set=E51;function wz($){var Y=-1,z=$==null?0:$.length;this.clear();while(++YK))return!1;var W=J.get($);if(W&&J.get(Y))return W==Y;var H=-1,X=!0,Z=z&UI0?new EN:void 0;J.set($,Y),J.set(Y,$);while(++H-1&&$%1==0&&$-1&&$%1==0&&$<=QI0}function AI0($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}function uH($){return $!=null&&typeof $=="object"}var TI0=rJ0?Y51(rJ0):p51;function Q91($){return z91($)?b51($):d51($)}function J91(){return[]}function I91(){return!1}fJ.exports=U91});var CI0=E((nm1,EI0)=>{var K91="[object Boolean]",G91=Object.prototype,W91=G91.toString;function H91($){return $===!0||$===!1||X91($)&&W91.call($)==K91}function X91($){return!!$&&typeof $=="object"}EI0.exports=H91});var Qf=E((pm1,RI0)=>{function Z91($){return $==null}RI0.exports=Z91});var Jf=E((dm1,gI0)=>{var q91=1/0,V91="[object Symbol]",SI0=/[\\^$.*+?()[\]{}|]/g,L91=RegExp(SI0.source),F91=typeof global=="object"&&global&&global.Object===Object&&global,w91=typeof self=="object"&&self&&self.Object===Object&&self,M91=F91||w91||Function("return this")(),O91=Object.prototype,N91=O91.toString,_I0=M91.Symbol,vI0=_I0?_I0.prototype:void 0,hI0=vI0?vI0.toString:void 0;function D91($){if(typeof $=="string")return $;if(P91($))return hI0?hI0.call($):"";var Y=$+"";return Y=="0"&&1/$==-q91?"-0":Y}function B91($){return!!$&&typeof $=="object"}function P91($){return typeof $=="symbol"||B91($)&&N91.call($)==V91}function A91($){return $==null?"":D91($)}function T91($){return $=A91($),$&&L91.test($)?$.replace(SI0,"\\$&"):$}gI0.exports=T91});var Kf=E((bJ)=>{var If=bJ&&bJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(bJ,"__esModule",{value:!0});bJ.FieldFormatter=void 0;var j91=If(CI0()),E91=If(Qf()),C91=If(Jf());class yI0{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let Y=`[${$.delimiter}${C91.default($.rowDelimiter)}|\r| -]`;this.ESCAPE_REGEXP=new RegExp(Y)}set headers($){this._headers=$}shouldQuote($,Y){let z=Y?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(j91.default(z))return z;if(Array.isArray(z))return z[$];if(this._headers!==null)return z[this._headers[$]];return!1}format($,Y,z){let U=`${E91.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:Q}=this;if(Q.quote!==""){if(U.indexOf(Q.quote)!==-1)return this.quoteField(U.replace(this.REPLACE_REGEXP,Q.escapedQuote))}if(U.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(Y,z))return this.quoteField(U);return U}quoteField($){let{quote:Y}=this.formatterOptions;return`${Y}${$}${Y}`}}bJ.FieldFormatter=yI0});var Gf=E((kI0)=>{Object.defineProperty(kI0,"__esModule",{value:!0});kI0.isSyncTransform=void 0;kI0.isSyncTransform=($)=>$.length===1});var uI0=E((iJ)=>{var fI0=iJ&&iJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(iJ,"__esModule",{value:!0});iJ.RowFormatter=void 0;var R91=fI0(NN()),_91=fI0(jI0()),v91=Kf(),h91=Gf();class Oz{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new v91.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(Oz.isRowHashArray($))return $.map((Y)=>Y[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(h91.isSyncTransform($))return(Y,z)=>{let U=null;try{U=$(Y)}catch(Q){return z(Q)}return z(null,U)};return(Y,z)=>{$(Y,z)}}set rowTransform($){if(!R91.default($))throw TypeError("The transform should be a function");this._rowTransform=Oz.createTransform($)}format($,Y){this.callTransformer($,(z,U)=>{if(z)return Y(z);if(!$)return Y(null);let Q=[];if(U){let{shouldFormatColumns:J,headers:I}=this.checkHeaders(U);if(this.shouldWriteHeaders&&I&&!this.hasWrittenHeaders)Q.push(this.formatColumns(I,!0)),this.hasWrittenHeaders=!0;if(J){let K=this.gatherColumns(U);Q.push(this.formatColumns(K,!1))}}return Y(null,Q)})}finish($){let Y=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));Y.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)Y.push(this.formatterOptions.rowDelimiter);return $(null,Y)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let Y=Oz.gatherHeaders($);if(this.headers=Y,this.fieldFormatter.headers=Y,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!_91.default(Y,$),headers:Y}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((Y)=>$[Y]);if(Oz.isRowHashArray($))return this.headers.map((Y,z)=>{let U=$[z];if(U)return U[1];return""});if(Oz.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((Y,z)=>$[z])}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}formatColumns($,Y){let z=$.map((Q,J)=>this.fieldFormatter.format(Q,J,Y)).join(this.formatterOptions.delimiter),{rowCount:U}=this;if(this.rowCount+=1,U)return[this.formatterOptions.rowDelimiter,z].join("");return z}}iJ.RowFormatter=Oz});var bI0=E((SN)=>{Object.defineProperty(SN,"__esModule",{value:!0});SN.FieldFormatter=SN.RowFormatter=void 0;var S91=uI0();Object.defineProperty(SN,"RowFormatter",{enumerable:!0,get:function(){return S91.RowFormatter}});var g91=Kf();Object.defineProperty(SN,"FieldFormatter",{enumerable:!0,get:function(){return g91.FieldFormatter}})});var Wf=E((cI0)=>{Object.defineProperty(cI0,"__esModule",{value:!0});cI0.CsvFormatterStream=void 0;var k91=I0("stream"),x91=bI0();class iI0 extends k91.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new x91.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,Y,z){let U=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(Q,J)=>{if(Q)return U=!0,z(Q);if(J)J.forEach((I)=>{this.push(Buffer.from(I,"utf8"))});return U=!0,z()})}catch(Q){if(U)throw Q;z(Q)}}_flush($){this.rowFormatter.finish((Y,z)=>{if(Y)return $(Y);if(z)z.forEach((U)=>{this.push(Buffer.from(U,"utf8"))});return $()})}}cI0.CsvFormatterStream=iI0});var dI0=E((s1)=>{var pI0=s1&&s1.__createBinding||(Object.create?function($,Y,z,U){if(U===void 0)U=z;Object.defineProperty($,U,{enumerable:!0,get:function(){return Y[z]}})}:function($,Y,z,U){if(U===void 0)U=z;$[U]=Y[z]}),f91=s1&&s1.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),u91=s1&&s1.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var z in $)if(z!=="default"&&Object.prototype.hasOwnProperty.call($,z))pI0(Y,$,z)}return f91(Y,$),Y},b91=s1&&s1.__exportStar||function($,Y){for(var z in $)if(z!=="default"&&!Object.prototype.hasOwnProperty.call(Y,z))pI0(Y,$,z)};Object.defineProperty(s1,"__esModule",{value:!0});s1.writeToPath=s1.writeToString=s1.writeToBuffer=s1.writeToStream=s1.write=s1.format=s1.FormatterOptions=s1.CsvFormatterStream=void 0;var i91=I0("util"),c91=I0("stream"),n91=u91(I0("fs")),p91=mx(),d91=Wf();b91(Gf(),s1);var m91=Wf();Object.defineProperty(s1,"CsvFormatterStream",{enumerable:!0,get:function(){return m91.CsvFormatterStream}});var l91=mx();Object.defineProperty(s1,"FormatterOptions",{enumerable:!0,get:function(){return l91.FormatterOptions}});s1.format=($)=>new d91.CsvFormatterStream(new p91.FormatterOptions($));s1.write=($,Y)=>{let z=s1.format(Y),U=i91.promisify((Q,J)=>{z.write(Q,void 0,J)});return $.reduce((Q,J)=>Q.then(()=>U(J)),Promise.resolve()).then(()=>z.end()).catch((Q)=>{z.emit("error",Q)}),z};s1.writeToStream=($,Y,z)=>s1.write(Y,z).pipe($);s1.writeToBuffer=($,Y={})=>{let z=[],U=new c91.Writable({write(Q,J,I){z.push(Q),I()}});return new Promise((Q,J)=>{U.on("error",J).on("finish",()=>Q(Buffer.concat(z))),s1.write($,Y).pipe(U)})};s1.writeToString=($,Y)=>s1.writeToBuffer($,Y).then((z)=>z.toString());s1.writeToPath=($,Y,z)=>{let U=n91.createWriteStream($,{encoding:"utf8"});return s1.write(Y,z).pipe(U)}});var Hf=E((cJ)=>{var mI0=cJ&&cJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(cJ,"__esModule",{value:!0});cJ.ParserOptions=void 0;var o91=mI0(Jf()),r91=mI0(Qf());class lI0{constructor($){var Y;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=o91.default(this.delimiter),this.escapeChar=(Y=this.escape)!==null&&Y!==void 0?Y:this.quote,this.supportsComments=!r91.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}cJ.ParserOptions=lI0});var Xf=E((oI0)=>{Object.defineProperty(oI0,"__esModule",{value:!0});oI0.isSyncValidate=oI0.isSyncTransform=void 0;oI0.isSyncTransform=($)=>$.length===1;oI0.isSyncValidate=($)=>$.length===1});var tI0=E((nJ)=>{var a91=nJ&&nJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(nJ,"__esModule",{value:!0});nJ.RowTransformerValidator=void 0;var sI0=a91(NN()),aI0=Xf();class gN{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(aI0.isSyncTransform($))return(Y,z)=>{let U=null;try{U=$(Y)}catch(Q){return z(Q)}return z(null,U)};return $}static createValidator($){if(aI0.isSyncValidate($))return(Y,z)=>{z(null,{row:Y,isValid:$(Y)})};return(Y,z)=>{$(Y,(U,Q,J)=>{if(U)return z(U);if(Q)return z(null,{row:Y,isValid:Q,reason:J});return z(null,{row:Y,isValid:!1,reason:J})})}}set rowTransform($){if(!sI0.default($))throw TypeError("The transform should be a function");this._rowTransform=gN.createTransform($)}set rowValidator($){if(!sI0.default($))throw TypeError("The validate should be a function");this._rowValidator=gN.createValidator($)}transformAndValidate($,Y){return this.callTransformer($,(z,U)=>{if(z)return Y(z);if(!U)return Y(null,{row:null,isValid:!0});return this.callValidator(U,(Q,J)=>{if(Q)return Y(Q);if(J&&!J.isValid)return Y(null,{row:U,isValid:!1,reason:J.reason});return Y(null,{row:U,isValid:!0})})})}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}callValidator($,Y){if(!this._rowValidator)return Y(null,{row:$,isValid:!0});return this._rowValidator($,Y)}}nJ.RowTransformerValidator=gN});var $K0=E((zl1,eI0)=>{function t91($){return $===void 0}eI0.exports=t91});var KK0=E((Ul1,IK0)=>{var e91=200,Vf="__lodash_hash_undefined__",$71=1/0,Y71="[object Function]",z71="[object GeneratorFunction]",U71=/[\\^$.*+?()[\]{}|]/g,Q71=/^\[object .+?Constructor\]$/,J71=typeof global=="object"&&global&&global.Object===Object&&global,I71=typeof self=="object"&&self&&self.Object===Object&&self,Lf=J71||I71||Function("return this")();function K71($,Y){var z=$?$.length:0;return!!z&&H71($,Y,0)>-1}function G71($,Y,z){var U=-1,Q=$?$.length:0;while(++U-1}function _71($,Y){var z=this.__data__,U=kN(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}pJ.prototype.clear=j71;pJ.prototype.delete=E71;pJ.prototype.get=C71;pJ.prototype.has=R71;pJ.prototype.set=_71;function dJ($){var Y=-1,z=$?$.length:0;this.clear();while(++Y=e91){var W=Y?null:b71($);if(W)return zK0(W);I=!1,Q=Z71,G=new yN}else G=Y?[]:K;$:while(++U{var o71=200,r71="Expected a function",Ef="__lodash_hash_undefined__",mN=1,oJ=2,wK0=1/0,MK0=9007199254740991,uN="[object Arguments]",Nf="[object Array]",OK0="[object Boolean]",NK0="[object Date]",DK0="[object Error]",BK0="[object Function]",s71="[object GeneratorFunction]",bN="[object Map]",PK0="[object Number]",mJ="[object Object]",GK0="[object Promise]",AK0="[object RegExp]",iN="[object Set]",TK0="[object String]",jK0="[object Symbol]",Df="[object WeakMap]",EK0="[object ArrayBuffer]",cN="[object DataView]",a71="[object Float32Array]",t71="[object Float64Array]",e71="[object Int8Array]",$31="[object Int16Array]",Y31="[object Int32Array]",z31="[object Uint8Array]",U31="[object Uint8ClampedArray]",Q31="[object Uint16Array]",J31="[object Uint32Array]",I31=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K31=/^\w*$/,G31=/^\./,W31=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H31=/[\\^$.*+?()[\]{}|]/g,X31=/\\(\\)?/g,Z31=/^\[object .+?Constructor\]$/,q31=/^(?:0|[1-9]\d*)$/,T4={};T4[a71]=T4[t71]=T4[e71]=T4[$31]=T4[Y31]=T4[z31]=T4[U31]=T4[Q31]=T4[J31]=!0;T4[uN]=T4[Nf]=T4[EK0]=T4[OK0]=T4[cN]=T4[NK0]=T4[DK0]=T4[BK0]=T4[bN]=T4[PK0]=T4[mJ]=T4[AK0]=T4[iN]=T4[TK0]=T4[Df]=!1;var CK0=typeof global=="object"&&global&&global.Object===Object&&global,V31=typeof self=="object"&&self&&self.Object===Object&&self,J2=CK0||V31||Function("return this")(),RK0=typeof fN=="object"&&fN&&!fN.nodeType&&fN,WK0=RK0&&typeof lJ=="object"&&lJ&&!lJ.nodeType&&lJ,L31=WK0&&WK0.exports===RK0,HK0=L31&&CK0.process,XK0=function(){try{return HK0&&HK0.binding("util")}catch($){}}(),ZK0=XK0&&XK0.isTypedArray;function F31($,Y,z,U){var Q=-1,J=$?$.length:0;while(++Q-1}function d31($,Y){var z=this.__data__,U=oN(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}V7.prototype.clear=i31;V7.prototype.delete=c31;V7.prototype.get=n31;V7.prototype.has=p31;V7.prototype.set=d31;function L7($){var Y=-1,z=$?$.length:0;this.clear();while(++YK))return!1;var W=J.get($);if(W&&J.get(Y))return W==Y;var H=-1,X=!0,Z=Q&mN?new pN:void 0;J.set($,Y),J.set(Y,$);while(++H-1&&$%1==0&&$-1&&$%1==0&&$<=MK0}function tN($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function eN($){return!!$&&typeof $=="object"}function hf($){return typeof $=="symbol"||eN($)&&rJ.call($)==jK0}var g21=ZK0?N31(ZK0):V21;function y21($){return $==null?"":N21($)}function k21($,Y,z){var U=$==null?void 0:vK0($,Y);return U===void 0?z:U}function x21($,Y){return $!=null&&E21($,Y,H21)}function dN($){return _f($)?Q21($):F21($)}function f21($){return $}function u21($){return sN($)?M31(aN($)):O21($)}lJ.exports=h21});var nK0=E((aJ)=>{var $D=aJ&&aJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(aJ,"__esModule",{value:!0});aJ.HeaderTransformer=void 0;var iK0=$D($K0()),b21=$D(NN()),i21=$D(KK0()),c21=$D(bK0());class cK0{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(b21.default($.headers))this.headersTransform=$.headers}transform($,Y){if(!this.shouldMapRow($))return Y(null,{row:null,isValid:!0});return Y(null,this.processRow($))}shouldMapRow($){let{parserOptions:Y}=this;if(!this.headersTransform&&Y.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:Y}=this;if(!Y.discardUnmappedColumns&&$.length>this.headersLength){if(!Y.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(Y.strictColumnHandling&&$.length!!U);if(i21.default(z).length!==z.length){let U=c21.default(z),Q=Object.keys(U).filter((J)=>U[J].length>1);throw Error(`Duplicate headers found ${JSON.stringify(Q)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((Y=this.headers)===null||Y===void 0?void 0:Y.length)||0}}aJ.HeaderTransformer=cK0});var pK0=E((YD)=>{Object.defineProperty(YD,"__esModule",{value:!0});YD.HeaderTransformer=YD.RowTransformerValidator=void 0;var n21=tI0();Object.defineProperty(YD,"RowTransformerValidator",{enumerable:!0,get:function(){return n21.RowTransformerValidator}});var p21=nK0();Object.defineProperty(YD,"HeaderTransformer",{enumerable:!0,get:function(){return p21.HeaderTransformer}})});var I2=E((mK0)=>{Object.defineProperty(mK0,"__esModule",{value:!0});mK0.Token=void 0;class dK0{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let Y=$.token;return Y==="\r"||Y===` +`;A70.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";A70.NAME_CHAR="-"+A70.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";A70.CHAR_RE=new RegExp("^["+A70.CHAR+"]$","u");A70.S_RE=new RegExp("^["+A70.S+"]+$","u");A70.NAME_START_CHAR_RE=new RegExp("^["+A70.NAME_START_CHAR+"]$","u");A70.NAME_CHAR_RE=new RegExp("^["+A70.NAME_CHAR+"]$","u");A70.NAME_RE=new RegExp("^["+A70.NAME_START_CHAR+"]["+A70.NAME_CHAR+"]*$","u");A70.NMTOKEN_RE=new RegExp("^["+A70.NAME_CHAR+"]+$","u");var Ok=9,Nk=10,Dk=13,Bk=32;A70.S_LIST=[Bk,Nk,Dk,Ok];function _a0($){return $>=Bk&&$<=55295||$===Nk||$===Dk||$===Ok||$>=57344&&$<=65533||$>=65536&&$<=1114111}A70.isChar=_a0;function va0($){return $===Bk||$===Nk||$===Dk||$===Ok}A70.isS=va0;function P70($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}A70.isNameStartChar=P70;function ha0($){return P70($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}A70.isNameChar=ha0});var x70=E((S70)=>{Object.defineProperty(S70,"__esModule",{value:!0});S70.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";S70.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";S70.S=` \r +`;S70.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";S70.NAME_CHAR="-"+S70.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";S70.CHAR_RE=new RegExp("^["+S70.CHAR+"]$","u");S70.RESTRICTED_CHAR_RE=new RegExp("^["+S70.RESTRICTED_CHAR+"]$","u");S70.S_RE=new RegExp("^["+S70.S+"]+$","u");S70.NAME_START_CHAR_RE=new RegExp("^["+S70.NAME_START_CHAR+"]$","u");S70.NAME_CHAR_RE=new RegExp("^["+S70.NAME_CHAR+"]$","u");S70.NAME_RE=new RegExp("^["+S70.NAME_START_CHAR+"]["+S70.NAME_CHAR+"]*$","u");S70.NMTOKEN_RE=new RegExp("^["+S70.NAME_CHAR+"]+$","u");var C70=9,R70=10,_70=13,v70=32;S70.S_LIST=[v70,R70,_70,C70];function pa0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}S70.isChar=pa0;function da0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}S70.isRestrictedChar=da0;function ma0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}S70.isCharAndNotRestricted=ma0;function la0($){return $===v70||$===R70||$===_70||$===C70}S70.isS=la0;function h70($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}S70.isNameStartChar=h70;function oa0($){return h70($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}S70.isNameChar=oa0});var b70=E((u70)=>{Object.defineProperty(u70,"__esModule",{value:!0});u70.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";u70.NC_NAME_CHAR="-"+u70.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";u70.NC_NAME_START_CHAR_RE=new RegExp("^["+u70.NC_NAME_START_CHAR+"]$","u");u70.NC_NAME_CHAR_RE=new RegExp("^["+u70.NC_NAME_CHAR+"]$","u");u70.NC_NAME_RE=new RegExp("^["+u70.NC_NAME_START_CHAR+"]["+u70.NC_NAME_CHAR+"]*$","u");function f70($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}u70.isNCNameStartChar=f70;function Wt0($){return f70($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}u70.isNCNameChar=Wt0});var G30=E((K30)=>{Object.defineProperty(K30,"__esModule",{value:!0});var EJ=E70(),Lt0=x70(),kk=b70(),p8=EJ.isS,Ft0=EJ.isChar,EH=EJ.isNameStartChar,i70=EJ.isNameChar,Y30=EJ.S_LIST,wt0=EJ.NAME_RE,Mt0=Lt0.isChar,Ot0=kk.isNCNameStartChar,Nt0=kk.isNCNameChar,Dt0=kk.NC_NAME_RE,cO="http://www.w3.org/XML/1998/namespace",jJ="http://www.w3.org/2000/xmlns/",Bt0={__proto__:null,xml:cO,xmlns:jJ},Pt0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},k4=-1,J9=-2,c70=0,At0=1,Ak=2,Tt0=3,PJ=4,jt0=5,Et0=6,Ct0=7,Tk=8,Rt0=9,_t0=10,vt0=11,ht0=12,C8=13,xO=14,jk=15,St0=16,Ek=17,gt0=18,yt0=19,Ck=20,kt0=21,xt0=22,ft0=23,n70=24,Rk=25,fO=26,p70=27,ut0=28,bt0=29,d70=30,it0=31,ct0=32,Iz=33,nt0=34,_k=35,CH=36,vk=37,pt0=38,m70=39,l70=40,dt0=41,o70=42,mt0=43,lt0=44,hk=9,q5=10,Sk=13,r70=32,s70=33,z30=34,RH=38,U30=39,uO=45,bO=47,ot0=59,r3=60,AJ=61,A6=62,o6=63,Q30=91,TJ=93,a70=133,t70=8232,iO=($)=>$===z30||$===U30,J30=[z30,U30],rt0=[...J30,Q30,A6],st0=[...J30,r3,TJ],at0=[AJ,o6,...Y30],tt0=[...Y30,A6,RH,r3];function yk($,Y,z){switch(Y){case"xml":if(z!==cO)$.fail(`xml prefix must be bound to ${cO}.`);break;case"xmlns":if(z!==jJ)$.fail(`xmlns prefix must be bound to ${jJ}.`);break;default:}switch(z){case jJ:$.fail(Y===""?`the default namespace may not be set to ${z}.`:`may not assign a prefix (even "xmlns") to the URI ${jJ}.`);break;case cO:switch(Y){case"xml":break;case"":$.fail(`the default namespace may not be set to ${z}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function et0($,Y){for(let z of Object.keys(Y))yk($,z,Y[z])}var $e0=($)=>Dt0.test($),Ye0=($)=>wt0.test($),Kz=0,e70=1,gk=2;K30.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var $30={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class I30{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let Y=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,Y){this.nameStartCheck=Ot0,this.nameCheck=Nt0,this.isName=$e0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},Bt0);let z=this.opt.additionalNamespaces;if(z!=null)et0(this,z),Object.assign(this.ns,z)}else this.nameStartCheck=EH,this.nameCheck=i70,this.isName=Ye0,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=Kz,this.attribList=[];let{fragmentOpt:Y}=this;this.state=Y?C8:c70,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=Y,this.xmlDeclPossible=!Y,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:z}=this.opt;if(z===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");z="1.0"}this.setXMLVersion(z),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Pt0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,Y){this[$30[$]]=Y}off($){this[$30[$]]=void 0}makeError($){var Y;let z=(Y=this.fileName)!==null&&Y!==void 0?Y:"";if(this.trackPosition){if(z.length>0)z+=":";z+=`${this.line}:${this.column}`}if(z.length>0)z+=": ";return Error(z+$)}fail($){let Y=this.makeError($),z=this.errorHandler;if(z===void 0)throw Y;else z(Y);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let Y=!1;if($===null)Y=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let z=$.length,U=$.charCodeAt(z-1);if(!Y&&(U===Sk||U>=55296&&U<=56319))this.carriedFromPrevious=$[z-1],z--,$=$.slice(0,z);let{stateTable:Q}=this;this.chunk=$,this.i=0;while(this.i=$.length)return k4;let z=$.charCodeAt(Y);if(this.column++,z<55296){if(z>=r70||z===hk)return z;switch(z){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case Sk:if($.charCodeAt(Y+1)===q5)this.i=Y+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,J9;default:return this.fail("disallowed character."),z}}if(z>56319){if(!(z>=57344&&z<=65533))this.fail("disallowed character.");return z}let U=65536+(z-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,U>1114111)this.fail("disallowed character.");return U}getCode11(){let{chunk:$,i:Y}=this;if(this.prevI=Y,this.i=Y+1,Y>=$.length)return k4;let z=$.charCodeAt(Y);if(this.column++,z<55296){if(z>31&&z<127||z>159&&z!==t70||z===hk)return z;switch(z){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case Sk:{let Q=$.charCodeAt(Y+1);if(Q===q5||Q===a70)this.i=Y+2}case a70:case t70:return this.line++,this.column=0,this.positionAtNewLine=this.position,J9;default:return this.fail("disallowed character."),z}}if(z>56319){if(!(z>=57344&&z<=65533))this.fail("disallowed character.");return z}let U=65536+(z-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,U>1114111)this.fail("disallowed character.");return U}getCodeNorm(){let $=this.getCode();return $===J9?q5:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:Y}=this,{chunk:z}=this;while(!0){let U=this.getCode(),Q=U===J9,J=Q?q5:U;if(J===k4||$.includes(J))return this.text+=z.slice(Y,this.prevI),J;if(Q)this.text+=`${z.slice(Y,this.prevI)} +`,Y=this.i}}captureToChar($){let{i:Y}=this,{chunk:z}=this;while(!0){let U=this.getCode();switch(U){case J9:this.text+=`${z.slice(Y,this.prevI)} +`,Y=this.i,U=q5;break;case k4:return this.text+=z.slice(Y),!1;default:}if(U===$)return this.text+=z.slice(Y,this.prevI),!0}}captureNameChars(){let{chunk:$,i:Y}=this;while(!0){let z=this.getCode();if(z===k4)return this.name+=$.slice(Y),k4;if(!i70(z))return this.name+=$.slice(Y,this.prevI),z===J9?q5:z}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===k4||!p8($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=Ft0,this.getCode=this.getCode10;else this.isChar=Mt0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=At0}sBeginWhitespace(){let $=this.i,Y=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(Y){case r3:if(this.state=jk,this.text.length!==0)throw Error("no-empty text at start");break;case k4:break;default:this.unget(),this.state=C8,this.xmlDeclPossible=!1}}sDoctype(){var $;let Y=this.captureTo(rt0);switch(Y){case A6:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8,this.doctype=!0;break}case k4:break;default:if(this.text+=String.fromCodePoint(Y),Y===Q30)this.state=PJ;else if(iO(Y))this.state=Tt0,this.q=Y}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=Ak}sDTD(){let $=this.captureTo(st0);if($===k4)return;if(this.text+=String.fromCodePoint($),$===TJ)this.state=Ak;else if($===r3)this.state=Et0;else if(iO($))this.state=jt0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=PJ,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case s70:this.state=Ct0,this.openWakaBang="";break;case o6:this.state=vt0;break;default:this.state=PJ}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),Y=this.openWakaBang+=$;if(this.text+=$,Y!=="-")this.state=Y==="--"?Tk:PJ,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(uO))this.text+="-",this.state=Rt0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===uO?_t0:Tk}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===A6)this.state=PJ;else this.fail("malformed comment."),this.state=Tk}sDTDPI(){if(this.captureToChar(o6))this.text+="?",this.state=ht0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===A6)this.state=PJ}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:Y}=this;$:while(!0)switch(this.getCode()){case J9:this.entity+=`${Y.slice($,this.prevI)} +`,$=this.i;break;case ot0:{let{entityReturnState:z}=this,U=this.entity+Y.slice($,this.prevI);this.state=z;let Q;if(U==="")this.fail("empty entity name."),Q="&;";else Q=this.parseEntity(U),this.entity="";if(z!==C8||this.textHandler!==void 0)this.text+=Q;break $}case k4:this.entity+=Y.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(EH($))this.state=nt0,this.unget(),this.xmlDeclPossible=!1;else switch($){case bO:this.state=mt0,this.xmlDeclPossible=!1;break;case s70:this.state=St0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case o6:this.state=ft0;break;default:this.fail("disallowed character in tag name"),this.state=C8,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=Ck,this.openWakaBang="";break;case"--":this.state=Ek,this.openWakaBang="";break;case"DOCTYPE":if(this.state=Ak,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(uO))this.state=gt0}sCommentEnding(){var $;let Y=this.getCodeNorm();if(Y===uO)this.state=yt0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(Y)}`,this.state=Ek}sCommentEnded(){let $=this.getCodeNorm();if($!==A6)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=Ek;else this.state=C8}sCData(){if(this.captureToChar(TJ))this.state=kt0}sCDataEnding(){let $=this.getCodeNorm();if($===TJ)this.state=xt0;else this.text+=`]${String.fromCodePoint($)}`,this.state=Ck}sCDataEnding2(){var $;let Y=this.getCodeNorm();switch(Y){case A6:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8;break}case TJ:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(Y)}`,this.state=Ck}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=n70;else if($===o6||p8($))this.fail("processing instruction without a target."),this.state=$===o6?fO:Rk;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=n70}sPIRest(){let{chunk:$,i:Y}=this;while(!0){let z=this.getCodeNorm();if(z===k4){this.piTarget+=$.slice(Y);return}if(!this.nameCheck(z)){this.piTarget+=$.slice(Y,this.prevI);let U=z===o6;if(U||p8(z))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=U?Iz:p70}else this.state=U?fO:Rk;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(z);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===o6)this.state=fO;else if(!p8($))this.text=String.fromCodePoint($)}else if(this.captureToChar(o6))this.state=fO}sPIEnding(){var $;let Y=this.getCodeNorm();if(Y===A6){let{piTarget:z}=this;if(z.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:z,body:this.text}),this.piTarget=this.text="",this.state=C8}else if(Y===o6)this.text+="?";else this.text+=`?${String.fromCodePoint(Y)}`,this.state=Rk;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===o6){this.state=Iz;return}if($!==k4)this.state=ut0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(at0);if($===o6){this.state=Iz,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p8($)||$===AJ))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===AJ?d70:bt0}sXMLDeclEq(){let $=this.getCodeNorm();if($===o6){this.state=Iz,this.fail("XML declaration is incomplete.");return}if(p8($))return;if($!==AJ)this.fail("value required.");this.state=d70}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===o6){this.state=Iz,this.fail("XML declaration is incomplete.");return}if(p8($))return;if(!iO($))this.fail("value must be quoted."),this.q=r70;else this.q=$;this.state=it0}sXMLDeclValue(){let $=this.captureTo([this.q,o6]);if($===o6){this.state=Iz,this.text="",this.fail("XML declaration is incomplete.");return}if($===k4)return;let Y=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let z=Y;if(this.xmlDecl.version=z,!/^1\.[0-9]+$/.test(z))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(z);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(Y))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=Y;break;case"standalone":if(Y!=="yes"&&Y!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=Y;break;default:}this.name="",this.state=ct0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===o6){this.state=Iz;return}if(!p8($))this.fail("whitespace required."),this.unget();this.state=p70}sXMLDeclEnding(){var $;if(this.getCodeNorm()===A6){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=C8}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let Y=this.captureNameChars();if(Y===k4)return;let z=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=z.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,z),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(Y){case A6:this.openTag();break;case bO:this.state=_k;break;default:if(!p8(Y))this.fail("disallowed character in tag name.");this.state=CH}}sOpenTagSlash(){if(this.getCode()===A6)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=CH}sAttrib(){let $=this.skipSpaces();if($===k4)return;if(EH($))this.unget(),this.state=vk;else if($===A6)this.openTag();else if($===bO)this.state=_k;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===AJ)this.state=m70;else if(p8($))this.state=pt0;else if($===A6)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==k4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case k4:return;case AJ:this.state=m70;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===A6)this.openTag();else if(EH($))this.unget(),this.state=vk;else this.fail("disallowed character in attribute name."),this.state=CH}}sAttribValue(){let $=this.getCodeNorm();if(iO($))this.q=$,this.state=l70;else if(!p8($))this.fail("unquoted attribute value."),this.state=o70,this.unget()}sAttribValueQuoted(){let{q:$,chunk:Y}=this,{i:z}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+Y.slice(z,this.prevI)),this.name=this.text="",this.q=null,this.state=dt0;return;case RH:this.text+=Y.slice(z,this.prevI),this.state=xO,this.entityReturnState=l70;return;case q5:case J9:case hk:this.text+=`${Y.slice(z,this.prevI)} `,z=this.i;break;case r3:this.text+=Y.slice(z,this.prevI),this.fail("disallowed character.");return;case k4:this.text+=Y.slice(z);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p8($))this.state=CH;else if($===A6)this.openTag();else if($===bO)this.state=_k;else if(EH($))this.fail("no whitespace between attributes."),this.unget(),this.state=vk;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(tt0);switch($){case RH:this.state=xO,this.entityReturnState=o70;break;case r3:this.fail("disallowed character.");break;case k4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===A6)this.openTag();else this.state=CH}}sCloseTag(){let $=this.captureNameChars();if($===A6)this.closeTag();else if(p8($))this.state=lt0;else if($!==k4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case A6:this.closeTag();break;case k4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:Y}=this,{chunk:z,textHandler:U}=this;$:while(!0)switch(this.getCode()){case r3:{if(this.state=jk,U!==void 0){let{text:Q}=this,J=z.slice($,this.prevI);if(Q.length!==0)U(Q+J),this.text="";else if(J.length!==0)U(J)}Y=Kz;break $}case RH:if(this.state=xO,this.entityReturnState=C8,U!==void 0)this.text+=z.slice($,this.prevI);Y=Kz;break $;case TJ:switch(Y){case Kz:Y=e70;break;case e70:Y=gk;break;case gk:break;default:throw Error("impossible state")}break;case A6:if(Y===gk)this.fail('the string "]]>" is disallowed in char data.');Y=Kz;break;case J9:if(U!==void 0)this.text+=`${z.slice($,this.prevI)} +`;$=this.i,Y=Kz;break;case k4:if(U!==void 0)this.text+=z.slice($);break $;default:Y=Kz}this.forbiddenState=Y}handleTextOutsideRoot(){let{i:$}=this,{chunk:Y,textHandler:z}=this,U=!1;$:while(!0){let Q=this.getCode();switch(Q){case r3:{if(this.state=jk,z!==void 0){let{text:J}=this,I=Y.slice($,this.prevI);if(J.length!==0)z(J+I),this.text="";else if(I.length!==0)z(I)}break $}case RH:if(this.state=xO,this.entityReturnState=C8,z!==void 0)this.text+=Y.slice($,this.prevI);U=!0;break $;case J9:if(z!==void 0)this.text+=`${Y.slice($,this.prevI)} +`;$=this.i;break;case k4:if(z!==void 0)this.text+=Y.slice($);break $;default:if(!p8(Q))U=!0}}if(!U)return;if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0}pushAttribNS($,Y){var z;let{prefix:U,local:Q}=this.qname($),J={name:$,prefix:U,local:Q,value:Y};if(this.attribList.push(J),(z=this.attributeHandler)===null||z===void 0||z.call(this,J),U==="xmlns"){let I=Y.trim();if(this.currentXMLVersion==="1.0"&&I==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[Q]=I,yk(this,Q,I)}else if($==="xmlns"){let I=Y.trim();this.topNS[""]=I,yk(this,"",I)}}pushAttribPlain($,Y){var z;let U={name:$,value:Y};this.attribList.push(U),(z=this.attributeHandler)===null||z===void 0||z.call(this,U)}end(){var $,Y;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:z}=this;while(z.length>0){let Q=z.pop();this.fail(`unclosed tag: ${Q.name}`)}if(this.state!==c70&&this.state!==C8)this.fail("unexpected end.");let{text:U}=this;if(U.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,U),this.text="";return this._closed=!0,(Y=this.endHandler)===null||Y===void 0||Y.call(this),this._init(),this}resolve($){var Y,z;let U=this.topNS[$];if(U!==void 0)return U;let{tags:Q}=this;for(let J=Q.length-1;J>=0;J--)if(U=Q[J].ns[$],U!==void 0)return U;if(U=this.ns[$],U!==void 0)return U;return(z=(Y=this.opt).resolvePrefix)===null||z===void 0?void 0:z.call(Y,$)}qname($){let Y=$.indexOf(":");if(Y===-1)return{prefix:"",local:$};let z=$.slice(Y+1),U=$.slice(0,Y);if(U===""||z===""||z.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:U,local:z}}processAttribsNS(){var $;let{attribList:Y}=this,z=this.tag;{let{prefix:J,local:I}=this.qname(z.name);z.prefix=J,z.local=I;let K=z.uri=($=this.resolve(J))!==null&&$!==void 0?$:"";if(J!==""){if(J==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(K==="")this.fail(`unbound namespace prefix: ${JSON.stringify(J)}.`),z.uri=J}}if(Y.length===0)return;let{attributes:U}=z,Q=new Set;for(let J of Y){let{name:I,prefix:K,local:G}=J,W,H;if(K==="")W=I==="xmlns"?jJ:"",H=I;else{if(W=this.resolve(K),W===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(K)}.`),W=K;H=`{${W}}${G}`}if(Q.has(H))this.fail(`duplicate attribute: ${H}.`);Q.add(H),J.uri=W,U[I]=J}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,Y=this.tag.attributes;for(let{name:z,value:U}of $){if(Y[z]!==void 0)this.fail(`duplicate attribute: ${z}.`);Y[z]=U}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:Y}=this,z=this.tag;z.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,z),Y.push(z),this.state=C8,this.name=""}openSelfClosingTag(){var $,Y,z;this.processAttribs();let{tags:U}=this,Q=this.tag;if(Q.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,Q),(Y=this.closeTagHandler)===null||Y===void 0||Y.call(this,Q),(this.tag=(z=U[U.length-1])!==null&&z!==void 0?z:null)===null)this.closedRoot=!0;this.state=C8,this.name=""}closeTag(){let{tags:$,name:Y}=this;if(this.state=C8,this.name="",Y===""){this.fail("weird empty close tag."),this.text+="";return}let z=this.closeTagHandler,U=$.length;while(U-- >0){let Q=this.tag=$.pop();if(this.topNS=Q.ns,z===null||z===void 0||z(Q),Q.name===Y)break;this.fail("unexpected close tag.")}if(U===0)this.closedRoot=!0;else if(U<0)this.fail(`unmatched closing tag: ${Y}.`),this.text+=``}parseEntity($){if($[0]!=="#"){let z=this.ENTITIES[$];if(z!==void 0)return z;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let Y=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))Y=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))Y=parseInt($.slice(1),10);if(!this.isChar(Y))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(Y)}}K30.SaxesParser=I30});var _H=E((Mp1,W30)=>{var{SaxesParser:Qe0}=G30(),{PassThrough:Je0}=E8(),{bufferToString:Ie0}=Mk();W30.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new Je0);let Y=new Qe0,z;Y.on("error",(Q)=>{z=Q});let U=[];Y.on("opentag",(Q)=>U.push({eventType:"opentag",value:Q})),Y.on("text",(Q)=>U.push({eventType:"text",value:Q})),Y.on("closetag",(Q)=>U.push({eventType:"closetag",value:Q}));for await(let Q of $){if(Y.write(Ie0(Q)),z)throw z;yield U,U=[]}}});var g0=E((Op1,H30)=>{var Ke0=_H(),Ge0=l6();class CJ{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,Y){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof CJ)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let Y of $)for(let{eventType:z,value:U}of Y)if(z==="opentag")this.parseOpen(U);else if(z==="text")this.parseText(U);else if(z==="closetag"){if(!this.parseClose(U.name))return this.model}return this.model}async parseStream($){return this.parse(Ke0($))}get xml(){return this.toXml(this.model)}toXml($){let Y=new Ge0;return this.render(Y,$),Y.xml}static toAttribute($,Y,z=!1){if($===void 0){if(z)return Y}else if(z||$!==Y)return $.toString();return}static toStringAttribute($,Y,z=!1){return CJ.toAttribute($,Y,z)}static toStringValue($,Y){return $===void 0?Y:$}static toBoolAttribute($,Y,z=!1){if($===void 0){if(z)return Y}else if(z||$!==Y)return $?"1":"0";return}static toBoolValue($,Y){return $===void 0?Y:$==="1"}static toIntAttribute($,Y,z=!1){return CJ.toAttribute($,Y,z)}static toIntValue($,Y){return $===void 0?Y:parseInt($,10)}static toFloatAttribute($,Y,z=!1){return CJ.toAttribute($,Y,z)}static toFloatValue($,Y){return $===void 0?Y:parseFloat($)}}H30.exports=CJ});var RJ=E((Np1,q30)=>{var We0=g0(),He0=l6();function X30($,Y){if($.openNode(Y.tag,Y.$),Y.c)Y.c.forEach((z)=>{X30($,z)});if(Y.t)$.writeText(Y.t);$.closeNode()}class Z30 extends We0{constructor($){super();this._model=$}render($){if(!this._xml){let Y=new He0;X30(Y,this._model),this._xml=Y.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}q30.exports=Z30});var s3=E((Dp1,L30)=>{var Xe0=g0();class V30 extends Xe0{constructor($){super();this.tag=$.tag,this.always=!!$.always,this.count=$.count,this.empty=$.empty,this.$count=$.$count||"count",this.$=$.$,this.childXform=$.childXform,this.maxItems=$.maxItems}prepare($,Y){let{childXform:z}=this;if($)$.forEach((U,Q)=>{Y.index=Q,z.prepare(U,Y)})}render($,Y){if(this.always||Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y&&Y.length||0);let{childXform:z}=this;(Y||[]).forEach((U,Q)=>{z.render($,U,Q)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model=[],!0;default:if(this.childXform.parseOpen($))return this.parser=this.childXform,!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems)throw Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`)}return!0}return!1}reconcile($,Y){if($){let{childXform:z}=this;$.forEach((U)=>{z.reconcile(U,Y)})}}}L30.exports=V30});var a3=E((Bp1,w30)=>{var Ze0=g0();class F30 extends Ze0{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,Y){if(Y){if($.openNode(this.name),Y.argb)$.addAttribute("rgb",Y.argb);else if(Y.theme!==void 0){if($.addAttribute("theme",Y.theme),Y.tint!==void 0)$.addAttribute("tint",Y.tint)}else if(Y.indexed!==void 0)$.addAttribute("indexed",Y.indexed);else $.addAttribute("auto","1");return $.closeNode(),!0}return!1}parseOpen($){if($.name===this.name){if($.attributes.rgb)this.model={argb:$.attributes.rgb};else if($.attributes.theme){if(this.model={theme:parseInt($.attributes.theme,10)},$.attributes.tint)this.model.tint=parseFloat($.attributes.tint)}else if($.attributes.indexed)this.model={indexed:parseInt($.attributes.indexed,10)};else this.model=void 0;return!0}return!1}parseText(){}parseClose(){return!1}}w30.exports=F30});var N30=E((Pp1,O30)=>{var qe0=g0();class M30 extends qe0{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,Y){if(Y)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}O30.exports=M30});var nO=E((Ap1,B30)=>{var Ve0=g0();class D30 extends Ve0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,Y){if(Y||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag){if(this.attr)this.model=parseInt($.attributes[this.attr],10);else this.text=[];return!0}return!1}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=parseInt(this.text.join("")||0,10);return!1}}B30.exports=D30});var pO=E((Tp1,A30)=>{var Le0=g0();class P30 extends Le0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,Y){if(Y!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=$.attributes[this.attr];else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this.text.join("");return!1}}A30.exports=P30});var j30=E((jp1,T30)=>{var Fe0=g0();class dO extends Fe0{constructor($){super();this.model=$}get tag(){return"u"}render($,Y){if(Y=Y||this.model,Y===!0)$.leafNode("u");else{let z=dO.Attributes[Y];if(z)$.leafNode("u",z)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}dO.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};T30.exports=dO});var lO=E((Ep1,E30)=>{var we0=a3(),Gz=N30(),xk=nO(),fk=pO(),Me0=j30(),Oe0=Y6(),Ne0=g0();class mO extends Ne0{constructor($){super();this.options=$||mO.OPTIONS,this.map={b:{prop:"bold",xform:new Gz({tag:"b",attr:"val"})},i:{prop:"italic",xform:new Gz({tag:"i",attr:"val"})},u:{prop:"underline",xform:new Me0},charset:{prop:"charset",xform:new xk({tag:"charset",attr:"val"})},color:{prop:"color",xform:new we0},condense:{prop:"condense",xform:new Gz({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new Gz({tag:"extend",attr:"val"})},family:{prop:"family",xform:new xk({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new Gz({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new fk({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new fk({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new Gz({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new Gz({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new xk({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new fk({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,Y){let{map:z}=this;$.openNode(this.options.tagName),Oe0.each(this.map,(U,Q)=>{z[Q].xform.render($,Y[U.prop])}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if(this.map[$.name])return this.parser=this.map[$.name].xform,this.parser.parseOpen($);switch($.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser&&!this.parser.parseClose($)){let Y=this.map[$];if(this.parser.model)this.model[Y.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}mO.OPTIONS={tagName:"font",fontNameTag:"name"};E30.exports=mO});var nk=E((Cp1,C30)=>{var oO=g0(),uk=a3();class bk extends oO{constructor(){super();this.map={color:new uk}}get tag(){return"stop"}render($,Y){$.openNode("stop"),$.addAttribute("position",Y.position),this.map.color.render($,Y.color),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"stop":return this.model={position:parseFloat($.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.color=this.parser.model,this.parser=void 0;return!0}return!1}}class ik extends oO{constructor(){super();this.map={fgColor:new uk("fgColor"),bgColor:new uk("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,Y){if($.openNode("patternFill"),$.addAttribute("patternType",Y.pattern),Y.fgColor)this.map.fgColor.render($,Y.fgColor);if(Y.bgColor)this.map.bgColor.render($,Y.bgColor);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"patternFill":return this.model={type:"pattern",pattern:$.attributes.patternType},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.parser.model)this.model[$]=this.parser.model;this.parser=void 0}return!0}return!1}}class ck extends oO{constructor(){super();this.map={stop:new bk}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,Y){switch($.openNode("gradientFill"),Y.gradient){case"angle":$.addAttribute("degree",Y.degree);break;case"path":if($.addAttribute("type","path"),Y.center.left){if($.addAttribute("left",Y.center.left),Y.center.right===void 0)$.addAttribute("right",Y.center.left)}if(Y.center.right)$.addAttribute("right",Y.center.right);if(Y.center.top){if($.addAttribute("top",Y.center.top),Y.center.bottom===void 0)$.addAttribute("bottom",Y.center.top)}if(Y.center.bottom)$.addAttribute("bottom",Y.center.bottom);break;default:break}let z=this.map.stop;Y.stops.forEach((U)=>{z.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let Y=this.model={stops:[]};if($.attributes.degree)Y.gradient="angle",Y.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(Y.gradient="path",Y.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)Y.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)Y.center.bottom=$.attributes.bottom?parseFloat($.attributes.bottom):0}return!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.stops.push(this.parser.model),this.parser=void 0;return!0}return!1}}class Wz extends oO{constructor(){super();this.map={patternFill:new ik,gradientFill:new ck}}get tag(){return"fill"}render($,Y){switch($.addRollback(),$.openNode("fill"),Y.type){case"pattern":this.map.patternFill.render($,Y);break;case"gradient":this.map.gradientFill.render($,Y);break;default:$.rollback();return}$.closeNode(),$.commit()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"fill":return this.model={},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0;return!0}return!1}validStyle($){return Wz.validPatternValues[$]}}Wz.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,Y)=>{return $[Y]=!0,$},{});Wz.StopXform=bk;Wz.PatternFillXform=ik;Wz.GradientFillXform=ck;C30.exports=Wz});var pk=E((Rp1,h30)=>{var _30=g0(),R30=Z8(),De0=a3();class t3 extends _30{constructor($){super();this.name=$,this.map={color:new De0}}get tag(){return this.name}render($,Y,z){let U=Y&&Y.color||z||this.defaultColor;if($.openNode(this.name),Y&&Y.style){if($.addAttribute("style",Y.style),U)this.map.color.render($,U)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:Y}=$.attributes;if(Y)this.model={style:Y};else this.model=void 0;return!0}case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.name){if(this.map.color.model){if(!this.model)this.model={};this.model.color=this.map.color.model}}return!1}validStyle($){return t3.validStyleValues[$]}}t3.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,Y)=>{return $[Y]=!0,$},{});class v30 extends _30{constructor(){super();this.map={top:new t3("top"),left:new t3("left"),bottom:new t3("bottom"),right:new t3("right"),diagonal:new t3("diagonal")}}render($,Y){let{color:z}=Y;if($.openNode("border"),Y.diagonal&&Y.diagonal.style){if(Y.diagonal.up)$.addAttribute("diagonalUp","1");if(Y.diagonal.down)$.addAttribute("diagonalDown","1")}function U(Q,J){if(Q&&!Q.color&&Y.color)Q={...Q,color:Y.color};J.render($,Q,z)}U(Y.left,this.map.left),U(Y.right,this.map.right),U(Y.top,this.map.top),U(Y.bottom,this.map.bottom),U(Y.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=R30.parseBoolean($.attributes.diagonalUp),this.diagonalDown=R30.parseBoolean($.attributes.diagonalDown),!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($==="border"){let Y=this.model={},z=function(U,Q,J){if(Q){if(J)Object.assign(Q,J);Y[U]=Q}};z("left",this.map.left.model),z("right",this.map.right.model),z("top",this.map.top.model),z("bottom",this.map.bottom.model),z("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}h30.exports=v30});var g30=E((_p1,S30)=>{S30.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}});var mk=E((vp1,y30)=>{var Be0=Y6(),dk=g30(),Pe0=g0();function Ae0(){let $={};return Be0.each(dk,(Y,z)=>{if(Y.f)$[Y.f]=parseInt(z,10)}),$}var Te0=Ae0();class rO extends Pe0{constructor($,Y){super();this.id=$,this.formatCode=Y}get tag(){return"numFmt"}render($,Y){$.leafNode("numFmt",{numFmtId:Y.id,formatCode:Y.formatCode})}parseOpen($){switch($.name){case"numFmt":return this.model={id:parseInt($.attributes.numFmtId,10),formatCode:$.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}rO.getDefaultFmtId=function(Y){return Te0[Y]};rO.getDefaultFmtCode=function(Y){return dk[Y]&&dk[Y].f};y30.exports=rO});var lk=E((hp1,u30)=>{var k30=G5(),vH=Z8(),je0=g0(),Hz={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),vertical($){if($==="middle")return"center";return this.verticalValues[$]?$:void 0},wrapText($){return $?!0:void 0},shrinkToFit($){return $?!0:void 0},textRotation($){switch($){case"vertical":return $;default:return $=vH.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=vH.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return k30.ReadingOrder.LeftToRight;case"rtl":return k30.ReadingOrder.RightToLeft;default:return}}},x30={toXml($){if($=Hz.textRotation($),$){if($==="vertical")return 255;let Y=Math.round($);if(Y>=0&&Y<=90)return Y;if(Y<0&&Y>=-90)return 90-Y}return},toModel($){let Y=vH.validInt($);if(Y!==void 0){if(Y===255)return"vertical";if(Y>=0&&Y<=90)return Y;if(Y>90&&Y<=180)return 90-Y}return}};class f30 extends je0{get tag(){return"alignment"}render($,Y){$.addRollback(),$.openNode("alignment");let z=!1;function U(Q,J){if(J)$.addAttribute(Q,J),z=!0}if(U("horizontal",Hz.horizontal(Y.horizontal)),U("vertical",Hz.vertical(Y.vertical)),U("wrapText",Hz.wrapText(Y.wrapText)?"1":!1),U("shrinkToFit",Hz.shrinkToFit(Y.shrinkToFit)?"1":!1),U("indent",Hz.indent(Y.indent)),U("textRotation",x30.toXml(Y.textRotation)),U("readingOrder",Hz.readingOrder(Y.readingOrder)),$.closeNode(),z)$.commit();else $.rollback()}parseOpen($){let Y={},z=!1;function U(Q,J,I){if(Q)Y[J]=I,z=!0}U($.attributes.horizontal,"horizontal",$.attributes.horizontal),U($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),U($.attributes.wrapText,"wrapText",vH.parseBoolean($.attributes.wrapText)),U($.attributes.shrinkToFit,"shrinkToFit",vH.parseBoolean($.attributes.shrinkToFit)),U($.attributes.indent,"indent",parseInt($.attributes.indent,10)),U($.attributes.textRotation,"textRotation",x30.toModel($.attributes.textRotation)),U($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=z?Y:null}parseText(){}parseClose(){return!1}}u30.exports=f30});var ok=E((Sp1,c30)=>{var Ee0=g0(),b30={boolean($,Y){if($===void 0)return Y;return $}};class i30 extends Ee0{get tag(){return"protection"}render($,Y){$.addRollback(),$.openNode("protection");let z=!1;function U(Q,J){if(J!==void 0)$.addAttribute(Q,J),z=!0}if(U("locked",b30.boolean(Y.locked,!0)?void 0:"0"),U("hidden",b30.boolean(Y.hidden,!1)?"1":void 0),$.closeNode(),z)$.commit();else $.rollback()}parseOpen($){let Y={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},z=!Y.locked||Y.hidden;this.model=z?Y:null}parseText(){}parseClose(){return!1}}c30.exports=i30});var d30=E((gp1,p30)=>{var Ce0=g0(),Re0=lk(),_e0=ok();class n30 extends Ce0{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new Re0,protection:new _e0}}get tag(){return"xf"}render($,Y){if($.openNode("xf",{numFmtId:Y.numFmtId||0,fontId:Y.fontId||0,fillId:Y.fillId||0,borderId:Y.borderId||0}),this.xfId)$.addAttribute("xfId",Y.xfId||0);if(Y.numFmtId)$.addAttribute("applyNumberFormat","1");if(Y.fontId)$.addAttribute("applyFont","1");if(Y.fillId)$.addAttribute("applyFill","1");if(Y.borderId)$.addAttribute("applyBorder","1");if(Y.alignment)$.addAttribute("applyAlignment","1");if(Y.protection)$.addAttribute("applyProtection","1");if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"xf":if(this.model={numFmtId:parseInt($.attributes.numFmtId,10),fontId:parseInt($.attributes.fontId,10),fillId:parseInt($.attributes.fillId,10),borderId:parseInt($.attributes.borderId,10)},this.xfId)this.model.xfId=parseInt($.attributes.xfId,10);return!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen($),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.map.protection===this.parser)this.model.protection=this.parser.model;else this.model.alignment=this.parser.model;this.parser=void 0}return!0}return $!=="xf"}}p30.exports=n30});var o30=E((yp1,l30)=>{var ve0=g0(),he0=lk(),Se0=pk(),ge0=nk(),ye0=lO(),ke0=mk(),xe0=ok();class m30 extends ve0{constructor(){super();this.map={alignment:new he0,border:new Se0,fill:new ge0,font:new ye0,numFmt:new ke0,protection:new xe0}}get tag(){return"dxf"}render($,Y){if($.openNode(this.tag),Y.font)this.map.font.render($,Y.font);if(Y.numFmt&&Y.numFmtId){let z={id:Y.numFmtId,formatCode:Y.numFmt};this.map.numFmt.render($,z)}if(Y.fill)this.map.fill.render($,Y.fill);if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.border)this.map.border.render($,Y.border);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.reset(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.tag)return this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1;return!0}}l30.exports=m30});var tO=E((kp1,e30)=>{var aO=G5(),fe0=l6(),ue0=g0(),sO=RJ(),Xz=s3(),r30=lO(),s30=nk(),a30=pk(),hH=mk(),rk=d30(),be0=o30();class G$ extends ue0{constructor($){super();if(this.map={numFmts:new Xz({tag:"numFmts",count:!0,childXform:new hH}),fonts:new Xz({tag:"fonts",count:!0,childXform:new r30,$:{"x14ac:knownFonts":1}}),fills:new Xz({tag:"fills",count:!0,childXform:new s30}),borders:new Xz({tag:"borders",count:!0,childXform:new a30}),cellStyleXfs:new Xz({tag:"cellStyleXfs",count:!0,childXform:new rk}),cellXfs:new Xz({tag:"cellXfs",count:!0,childXform:new rk({xfId:!0})}),dxfs:new Xz({tag:"dxfs",always:!0,count:!0,childXform:new be0}),numFmt:new hH,font:new r30,fill:new s30,border:new a30,style:new rk({xfId:!0}),cellStyles:G$.STATIC_XFORMS.cellStyles,tableStyles:G$.STATIC_XFORMS.tableStyles,extLst:G$.STATIC_XFORMS.extLst},$)this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render($,Y){if(Y=Y||this.model,$.openXml(fe0.StdDocAttributes),$.openNode("styleSheet",G$.STYLESHEET_ATTRIBUTES),this.index){if(Y.numFmts&&Y.numFmts.length)$.openNode("numFmts",{count:Y.numFmts.length}),Y.numFmts.forEach((z)=>{$.writeXml(z)}),$.closeNode();if(!Y.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:Y.fonts.length,"x14ac:knownFonts":1}),Y.fonts.forEach((z)=>{$.writeXml(z)}),$.closeNode(),$.openNode("fills",{count:Y.fills.length}),Y.fills.forEach((z)=>{$.writeXml(z)}),$.closeNode(),$.openNode("borders",{count:Y.borders.length}),Y.borders.forEach((z)=>{$.writeXml(z)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:Y.styles.length}),Y.styles.forEach((z)=>{$.writeXml(z)}),$.closeNode()}else this.map.numFmts.render($,Y.numFmts),this.map.fonts.render($,Y.fonts),this.map.fills.render($,Y.fills),this.map.borders.render($,Y.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,Y.styles);G$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,Y.dxfs),G$.STATIC_XFORMS.tableStyles.render($),G$.STATIC_XFORMS.extLst.render($),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"styleSheet":return this.initIndex(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"styleSheet":{this.model={};let Y=(z,U)=>{if(U.model&&U.model.length)this.model[z]=U.model};if(Y("numFmts",this.map.numFmts),Y("fonts",this.map.fonts),Y("fills",this.map.fills),Y("borders",this.map.borders),Y("styles",this.map.cellXfs),Y("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let z=this.index.numFmt;this.model.numFmts.forEach((U)=>{z[U.id]=U.formatCode})}return!1}default:return!0}}addStyleModel($,Y){if(!$)return 0;if(!this.model.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});if(this.weakMap&&this.weakMap.has($))return this.weakMap.get($);let z={};if(Y=Y||aO.ValueType.Number,$.numFmt)z.numFmtId=this._addNumFmtStr($.numFmt);else switch(Y){case aO.ValueType.Number:z.numFmtId=this._addNumFmtStr("General");break;case aO.ValueType.Date:z.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)z.fontId=this._addFont($.font);if($.border)z.borderId=this._addBorder($.border);if($.fill)z.fillId=this._addFill($.fill);if($.alignment)z.alignment=$.alignment;if($.protection)z.protection=$.protection;let U=this._addStyle(z);if(this.weakMap)this.weakMap.set($,U);return U}getStyleModel($){let Y=this.model.styles[$];if(!Y)return null;let z=this.index.model[$];if(z)return z;if(z=this.index.model[$]={},Y.numFmtId){let Q=this.index.numFmt[Y.numFmtId]||hH.getDefaultFmtCode(Y.numFmtId);if(Q)z.numFmt=Q}function U(Q,J,I){if(I||I===0){let K=J[I];if(K)z[Q]=K}}if(U("font",this.model.fonts,Y.fontId),U("border",this.model.borders,Y.borderId),U("fill",this.model.fills,Y.fillId),Y.alignment)z.alignment=Y.alignment;if(Y.protection)z.protection=Y.protection;return z}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let Y=this.map.style.toXml($),z=this.index.style[Y];if(z===void 0)z=this.index.style[Y]=this.model.styles.length,this.model.styles.push(Y);return z}_addNumFmtStr($){let Y=hH.getDefaultFmtId($);if(Y!==void 0)return Y;if(Y=this.index.numFmt[$],Y!==void 0)return Y;Y=this.index.numFmt[$]=164+this.model.numFmts.length;let z=this.map.numFmt.toXml({id:Y,formatCode:$});return this.model.numFmts.push(z),Y}_addFont($){let Y=this.map.font.toXml($),z=this.index.font[Y];if(z===void 0)z=this.index.font[Y]=this.model.fonts.length,this.model.fonts.push(Y);return z}_addBorder($){let Y=this.map.border.toXml($),z=this.index.border[Y];if(z===void 0)z=this.index.border[Y]=this.model.borders.length,this.model.borders.push(Y);return z}_addFill($){let Y=this.map.fill.toXml($),z=this.index.fill[Y];if(z===void 0)z=this.index.fill[Y]=this.model.fills.length,this.model.fills.push(Y);return z}}G$.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"};G$.STATIC_XFORMS={cellStyles:new sO({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new sO({tag:"dxfs",$:{count:0}}),tableStyles:new sO({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new sO({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};class t30 extends G${constructor(){super();this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream($){return $.autodrain(),Promise.resolve()}addStyleModel($,Y){switch(Y){case aO.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:hH.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}G$.Mock=t30;e30.exports=G$});var z20=E((xp1,Y20)=>{var ie0=g0();class $20 extends ie0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(Y){try{if(Number.isNaN(Y.getTime()))return"";return Y.toISOString()}catch(z){return""}},this._parse=$.parse||function(Y){return new Date(Y)}}render($,Y){if(Y){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(Y));else $.writeText(this._format(Y));$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=this._parse($.attributes[this.attr]);else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this._parse(this.text.join(""));return!1}}Y20.exports=$20});var ak=E((fp1,U20)=>{var ce0=l6(),ne0=g0(),sk=z20(),h$=pO(),pe0=nO();class V5 extends ne0{constructor(){super();this.map={"dc:creator":new h$({tag:"dc:creator"}),"dc:title":new h$({tag:"dc:title"}),"dc:subject":new h$({tag:"dc:subject"}),"dc:description":new h$({tag:"dc:description"}),"dc:identifier":new h$({tag:"dc:identifier"}),"dc:language":new h$({tag:"dc:language"}),"cp:keywords":new h$({tag:"cp:keywords"}),"cp:category":new h$({tag:"cp:category"}),"cp:lastModifiedBy":new h$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new sk({tag:"cp:lastPrinted",format:V5.DateFormat}),"cp:revision":new pe0({tag:"cp:revision"}),"cp:version":new h$({tag:"cp:version"}),"cp:contentStatus":new h$({tag:"cp:contentStatus"}),"cp:contentType":new h$({tag:"cp:contentType"}),"dcterms:created":new sk({tag:"dcterms:created",attrs:V5.DateAttrs,format:V5.DateFormat}),"dcterms:modified":new sk({tag:"dcterms:modified",attrs:V5.DateAttrs,format:V5.DateFormat})}}render($,Y){$.openXml(ce0.StdDocAttributes),$.openNode("cp:coreProperties",V5.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,Y.creator),this.map["dc:title"].render($,Y.title),this.map["dc:subject"].render($,Y.subject),this.map["dc:description"].render($,Y.description),this.map["dc:identifier"].render($,Y.identifier),this.map["dc:language"].render($,Y.language),this.map["cp:keywords"].render($,Y.keywords),this.map["cp:category"].render($,Y.category),this.map["cp:lastModifiedBy"].render($,Y.lastModifiedBy),this.map["cp:lastPrinted"].render($,Y.lastPrinted),this.map["cp:revision"].render($,Y.revision),this.map["cp:version"].render($,Y.version),this.map["cp:contentStatus"].render($,Y.contentStatus),this.map["cp:contentType"].render($,Y.contentType),this.map["dcterms:created"].render($,Y.created),this.map["dcterms:modified"].render($,Y.modified),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}V5.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};V5.DateAttrs={"xsi:type":"dcterms:W3CDTF"};V5.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"};U20.exports=V5});var eO=E((up1,J20)=>{var de0=g0();class Q20 extends de0{get tag(){return"t"}render($,Y){if($.openNode("t"),/^\s|\n|\s$/.test(Y))$.addAttribute("xml:space","preserve");$.writeText(Y),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,Y)=>String.fromCharCode(parseInt(Y,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}J20.exports=Q20});var SH=E((bp1,I20)=>{var me0=eO(),le0=lO(),oe0=g0();class $N extends oe0{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new me0)}get fontXform(){return this._fontXform||(this._fontXform=new le0($N.FONT_OPTIONS))}render($,Y){if(Y=Y||this.model,$.openNode("r"),Y.font)this.fontXform.render($,Y.font);this.textXform.render($,Y.text),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen($),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){switch($){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}}$N.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};I20.exports=$N});var W20=E((ip1,G20)=>{var re0=eO(),se0=SH(),ae0=g0();class K20 extends ae0{constructor(){super();this.map={r:new se0,t:new re0}}get tag(){return"rPh"}render($,Y){if($.openNode(this.tag,{sb:Y.sb||0,eb:Y.eb||0}),Y&&Y.hasOwnProperty("richText")&&Y.richText){let{r:z}=this.map;Y.richText.forEach((U)=>{z.render($,U)})}else if(Y)this.map.t.render($,Y.text);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}G20.exports=K20});var Z20=E((cp1,X20)=>{var te0=eO(),ee0=SH(),$01=W20(),Y01=g0();class H20 extends Y01{constructor($){super();this.model=$,this.map={r:new ee0,t:new te0,rPh:new $01}}get tag(){return"si"}render($,Y){if($.openNode(this.tag),Y&&Y.hasOwnProperty("richText")&&Y.richText)if(Y.richText.length)Y.richText.forEach((z)=>{this.map.r.render($,z)});else this.map.t.render($,"");else if(Y!==void 0&&Y!==null)this.map.t.render($,Y);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}X20.exports=H20});var tk=E((np1,V20)=>{var z01=l6(),U01=g0(),Q01=Z20();class q20 extends U01{constructor($){super();this.model=$||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new Q01)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString($){return this.model.values[$]}add($){return $.richText?this.addRichText($):this.addText($)}addText($){let Y=this.hash[$];if(Y===void 0)Y=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,Y}addRichText($){let Y=this.sharedStringXform.toXml($),z=this.rich[Y];if(z===void 0)z=this.rich[Y]=this.model.values.length,this.model.values.push($);return this.model.count++,z}render($,Y){Y=Y||this._values,$.openXml(z01.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:Y.count,uniqueCount:Y.values.length});let z=this.sharedStringXform;Y.values.forEach((U)=>{z.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen($),!0;default:throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0;return!0}switch($){case"sst":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}V20.exports=q20});var w20=E((pp1,F20)=>{var J01=g0();class L20 extends J01{render($,Y){$.leafNode("Relationship",Y)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}F20.exports=L20});var zN=E((dp1,M20)=>{var I01=l6(),K01=g0(),G01=w20();class YN extends K01{constructor(){super();this.map={Relationship:new G01}}render($,Y){Y=Y||this._values,$.openXml(I01.StdDocAttributes),$.openNode("Relationships",YN.RELATIONSHIPS_ATTRIBUTES),Y.forEach((z)=>{this.map.Relationship.render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.push(this.parser.model),this.parser=void 0;return!0}switch($){case"Relationships":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}YN.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};M20.exports=YN});var ek=E((mp1,O20)=>{var W01=l6(),H01=g0();class UN extends H01{render($,Y){$.openXml(W01.StdDocAttributes),$.openNode("Types",UN.PROPERTY_ATTRIBUTES);let z={};if((Y.media||[]).forEach((Q)=>{if(Q.type==="image"){let J=Q.extension;if(!z[J])z[J]=!0,$.leafNode("Default",{Extension:J,ContentType:`image/${J}`})}}),$.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),$.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),$.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),Y.worksheets.forEach((Q)=>{let J=`/xl/worksheets/sheet${Q.id}.xml`;$.leafNode("Override",{PartName:J,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),$.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),$.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),Y.sharedStrings&&Y.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(Y.tables)Y.tables.forEach((Q)=>{$.leafNode("Override",{PartName:`/xl/tables/${Q.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(Y.drawings)Y.drawings.forEach((Q)=>{$.leafNode("Override",{PartName:`/xl/drawings/${Q.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(Y.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),Y.commentRefs.forEach(({commentName:Q})=>{$.leafNode("Override",{PartName:`/xl/${Q}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})});$.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),$.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),$.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}UN.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};O20.exports=UN});var B20=E((lp1,D20)=>{var X01=g0();class N20 extends X01{render($,Y){$.openNode("HeadingPairs"),$.openNode("vt:vector",{size:2,baseType:"variant"}),$.openNode("vt:variant"),$.leafNode("vt:lpstr",void 0,"Worksheets"),$.closeNode(),$.openNode("vt:variant"),$.leafNode("vt:i4",void 0,Y.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}D20.exports=N20});var T20=E((op1,A20)=>{var Z01=g0();class P20 extends Z01{render($,Y){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:Y.length,baseType:"lpstr"}),Y.forEach((z)=>{$.leafNode("vt:lpstr",void 0,z.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}A20.exports=P20});var $x=E((rp1,E20)=>{var q01=l6(),V01=g0(),j20=pO(),L01=B20(),F01=T20();class _J extends V01{constructor(){super();this.map={Company:new j20({tag:"Company"}),Manager:new j20({tag:"Manager"}),HeadingPairs:new L01,TitleOfParts:new F01}}render($,Y){$.openXml(q01.StdDocAttributes),$.openNode("Properties",_J.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,Y.worksheets),this.map.TitleOfParts.render($,Y.worksheets),this.map.Company.render($,Y.company||""),this.map.Manager.render($,Y.manager),$.leafNode("LinksUpToDate",void 0,"false"),$.leafNode("SharedDoc",void 0,"false"),$.leafNode("HyperlinksChanged",void 0,"false"),$.leafNode("AppVersion",void 0,"16.0300"),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Properties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}_J.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};_J.DateAttrs={"xsi:type":"dcterms:W3CDTF"};_J.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};E20.exports=_J});var _20=E((sp1,R20)=>{var w01=g0(),M01=i4();class C20 extends w01{render($,Y){$.openNode("definedName",{name:Y.name,localSheetId:Y.localSheetId}),$.writeText(Y.ranges.join(",")),$.closeNode()}parseOpen($){switch($.name){case"definedName":return this._parsedName=$.attributes.name,this._parsedLocalSheetId=$.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText($){this._parsedText.push($)}parseClose(){if(this.model={name:this._parsedName,ranges:O01(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function Yx($){try{return M01.decodeEx($),!0}catch(Y){return!1}}function O01($){let Y=[],z=!1,U="";return $.split(",").forEach((Q)=>{if(!Q)return;let J=(Q.match(/'/g)||[]).length;if(!J){if(z)U+=`${Q},`;else if(Yx(Q))Y.push(Q);return}let I=J%2===0;if(!z&&I&&Yx(Q))Y.push(Q);else if(z&&!I){if(z=!1,Yx(U+Q))Y.push(U+Q);U=""}else z=!0,U+=`${Q},`}),Y}R20.exports=C20});var S20=E((ap1,h20)=>{var N01=Z8(),D01=g0();class v20 extends D01{render($,Y){$.leafNode("sheet",{sheetId:Y.id,name:Y.name,state:Y.state,"r:id":Y.rId})}parseOpen($){if($.name==="sheet")return this.model={name:N01.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}h20.exports=v20});var k20=E((tp1,y20)=>{var B01=g0();class g20 extends B01{render($,Y){let z={xWindow:Y.x||0,yWindow:Y.y||0,windowWidth:Y.width||12000,windowHeight:Y.height||24000,firstSheet:Y.firstSheet,activeTab:Y.activeTab};if(Y.visibility&&Y.visibility!=="visible")z.visibility=Y.visibility;$.leafNode("workbookView",z)}parseOpen($){if($.name==="workbookView"){let Y=this.model={},z=function(Q,J,I){let K=J!==void 0?Y[Q]=J:I;if(K!==void 0)Y[Q]=K},U=function(Q,J,I){let K=J!==void 0?Y[Q]=parseInt(J,10):I;if(K!==void 0)Y[Q]=K};return U("x",$.attributes.xWindow,0),U("y",$.attributes.yWindow,0),U("width",$.attributes.windowWidth,25000),U("height",$.attributes.windowHeight,1e4),z("visibility",$.attributes.visibility,"visible"),U("activeTab",$.attributes.activeTab,void 0),U("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}y20.exports=g20});var u20=E((ep1,f20)=>{var P01=g0();class x20 extends P01{render($,Y){$.leafNode("workbookPr",{date1904:Y.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen($){if($.name==="workbookPr")return this.model={date1904:$.attributes.date1904==="1"},!0;return!1}parseText(){}parseClose(){return!1}}f20.exports=x20});var c20=E(($d1,i20)=>{var A01=g0();class b20 extends A01{render($,Y){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:Y.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}i20.exports=b20});var QN=E((Yd1,n20)=>{var T01=Y6(),j01=i4(),E01=l6(),C01=g0(),R01=RJ(),zx=s3(),_01=_20(),v01=S20(),h01=k20(),S01=u20(),g01=c20();class vJ extends C01{constructor(){super();this.map={fileVersion:vJ.STATIC_XFORMS.fileVersion,workbookPr:new S01,bookViews:new zx({tag:"bookViews",count:!1,childXform:new h01}),sheets:new zx({tag:"sheets",count:!1,childXform:new v01}),definedNames:new zx({tag:"definedNames",count:!1,childXform:new _01}),calcPr:new g01}}prepare($){$.sheets=$.worksheets;let Y=[],z=0;if($.sheets.forEach((U)=>{if(U.pageSetup&&U.pageSetup.printArea)U.pageSetup.printArea.split("&&").forEach((Q)=>{let J=Q.split(":"),I={name:"_xlnm.Print_Area",ranges:[`'${U.name}'!$${J[0]}:$${J[1]}`],localSheetId:z};Y.push(I)});if(U.pageSetup&&(U.pageSetup.printTitlesRow||U.pageSetup.printTitlesColumn)){let Q=[];if(U.pageSetup.printTitlesColumn){let I=U.pageSetup.printTitlesColumn.split(":");Q.push(`'${U.name}'!$${I[0]}:$${I[1]}`)}if(U.pageSetup.printTitlesRow){let I=U.pageSetup.printTitlesRow.split(":");Q.push(`'${U.name}'!$${I[0]}:$${I[1]}`)}let J={name:"_xlnm.Print_Titles",ranges:Q,localSheetId:z};Y.push(J)}z++}),Y.length)$.definedNames=$.definedNames.concat(Y);($.media||[]).forEach((U,Q)=>{U.name=U.type+(Q+1)})}render($,Y){$.openXml(E01.StdDocAttributes),$.openNode("workbook",vJ.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,Y.properties),this.map.bookViews.render($,Y.views),this.map.sheets.render($,Y.sheets),this.map.definedNames.render($,Y.definedNames),this.map.calcPr.render($,Y.calcProperties),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"workbook":return!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"workbook":if(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model)this.model.definedNames=this.map.definedNames.model;return!1;default:return!0}}reconcile($){let Y=($.workbookRels||[]).reduce((I,K)=>{return I[K.Id]=K,I},{}),z=[],U,Q=0;($.sheets||[]).forEach((I)=>{let K=Y[I.rId];if(!K)return;if(U=$.worksheetHash[`xl/${K.Target.replace(/^(\s|\/xl\/)+/,"")}`],U)U.name=I.name,U.id=I.id,U.state=I.state,z[Q++]=U});let J=[];T01.each($.definedNames,(I)=>{if(I.name==="_xlnm.Print_Area"){if(U=z[I.localSheetId],U){if(!U.pageSetup)U.pageSetup={};let K=j01.decodeEx(I.ranges[0]);U.pageSetup.printArea=U.pageSetup.printArea?`${U.pageSetup.printArea}&&${K.dimensions}`:K.dimensions}}else if(I.name==="_xlnm.Print_Titles"){if(U=z[I.localSheetId],U){if(!U.pageSetup)U.pageSetup={};let K=I.ranges.join(","),G=/\$/g,W=/\$\d+:\$\d+/,H=K.match(W);if(H&&H.length){let q=H[0];U.pageSetup.printTitlesRow=q.replace(G,"")}let X=/\$[A-Z]+:\$[A-Z]+/,Z=K.match(X);if(Z&&Z.length){let q=Z[0];U.pageSetup.printTitlesColumn=q.replace(G,"")}}}else J.push(I)}),$.definedNames=J,$.media.forEach((I,K)=>{I.index=K})}}vJ.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"};vJ.STATIC_XFORMS={fileVersion:new R01({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};n20.exports=vJ});var e3=E((zd1,p20)=>{p20.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}});var s20=E((Ud1,r20)=>{var d20=Y6(),y01=$7(),m20=i4(),l20=G5();class o20{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let Y=`${$.master}:${$.address}`;this.merges[$.master]=new y01(Y)}}get mergeCells(){return d20.map(this.merges,($)=>$.range)}reconcile($,Y){d20.each($,(z)=>{let U=m20.decode(z);for(let Q=U.top;Q<=U.bottom;Q++){let J=Y[Q-1];for(let I=U.left;I<=U.right;I++){let K=J.cells[I-1];if(!K)J.cells[I]={type:l20.ValueType.Null,address:m20.encodeAddress(Q,I)};else if(K.type===l20.ValueType.Merge)K.master=U.tl}}})}getMasterAddress($){let Y=this.hash[$];return Y&&Y.tl}}r20.exports=o20});var $Y0=E((Qd1,e20)=>{var $2=Z8(),k01=g0(),x01=$7(),Z1=G5(),f01=SH();function a20($){if($===null||$===void 0)return Z1.ValueType.Null;if($ instanceof String||typeof $==="string")return Z1.ValueType.String;if(typeof $==="number")return Z1.ValueType.Number;if(typeof $==="boolean")return Z1.ValueType.Boolean;if($ instanceof Date)return Z1.ValueType.Date;if($.text&&$.hyperlink)return Z1.ValueType.Hyperlink;if($.formula)return Z1.ValueType.Formula;if($.error)return Z1.ValueType.Error;throw Error("I could not understand type of value")}function u01($){switch($.type){case Z1.ValueType.Formula:return a20($.result);default:return $.type}}class t20 extends k01{constructor(){super();this.richTextXForm=new f01}get tag(){return"c"}prepare($,Y){let z=Y.styles.addStyleModel($.style||{},u01($));if(z)$.styleId=z;if($.comment)Y.comments.push({...$.comment,ref:$.address});switch($.type){case Z1.ValueType.String:case Z1.ValueType.RichText:if(Y.sharedStrings)$.ssId=Y.sharedStrings.add($.value);break;case Z1.ValueType.Date:if(Y.date1904)$.date1904=!0;break;case Z1.ValueType.Hyperlink:if(Y.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=Y.sharedStrings.add($.text);Y.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case Z1.ValueType.Merge:Y.merges.add($);break;case Z1.ValueType.Formula:if(Y.date1904)$.date1904=!0;if($.shareType==="shared")$.si=Y.siFormulae++;if($.formula)Y.formulae[$.address]=$;else if($.sharedFormula){let U=Y.formulae[$.sharedFormula];if(!U)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(U.si===void 0)U.shareType="shared",U.si=Y.siFormulae++,U.range=new x01(U.address,$.address);else if(U.range)U.range.expandToAddress($.address);$.si=U.si}break;default:break}}renderFormula($,Y){let z=null;switch(Y.shareType){case"shared":z={t:"shared",ref:Y.ref||Y.range.range,si:Y.si};break;case"array":z={t:"array",ref:Y.ref};break;default:if(Y.si!==void 0)z={t:"shared",si:Y.si};break}switch(a20(Y.result)){case Z1.ValueType.Null:$.leafNode("f",z,Y.formula);break;case Z1.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result);break;case Z1.ValueType.Number:$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result);break;case Z1.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result?1:0);break;case Z1.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",z,Y.formula),$.leafNode("v",null,Y.result.error);break;case Z1.ValueType.Date:$.leafNode("f",z,Y.formula),$.leafNode("v",null,$2.dateToExcel(Y.result,Y.date1904));break;default:throw Error("I could not understand type of value")}}render($,Y){if(Y.type===Z1.ValueType.Null&&!Y.styleId)return;if($.openNode("c"),$.addAttribute("r",Y.address),Y.styleId)$.addAttribute("s",Y.styleId);switch(Y.type){case Z1.ValueType.Null:break;case Z1.ValueType.Number:$.leafNode("v",null,Y.value);break;case Z1.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,Y.value?"1":"0");break;case Z1.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,Y.value.error);break;case Z1.ValueType.String:case Z1.ValueType.RichText:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else if(Y.value&&Y.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),Y.value.richText.forEach((z)=>{this.richTextXForm.render($,z)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,Y.value);break;case Z1.ValueType.Date:$.leafNode("v",null,$2.dateToExcel(Y.value,Y.date1904));break;case Z1.ValueType.Hyperlink:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,Y.text);break;case Z1.ValueType.Formula:this.renderFormula($,Y);break;case Z1.ValueType.Merge:break;default:break}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"c":if(this.model={address:$.attributes.r},this.t=$.attributes.t,$.attributes.s)this.model.styleId=parseInt($.attributes.s,10);return!0;case"f":return this.currentNode="f",this.model.si=$.attributes.si,this.model.shareType=$.attributes.t,this.model.ref=$.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser){this.parser.parseText($);return}switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+$:$;break;case"v":case"t":if(this.model.value&&this.model.value.richText)this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+$:$;else this.model.value=this.model.value?this.model.value+$:$;break;default:break}}parseClose($){switch($){case"c":{let{model:Y}=this;if(Y.formula||Y.shareType){if(Y.type=Z1.ValueType.Formula,Y.value){if(this.t==="str")Y.result=$2.xmlDecode(Y.value);else if(this.t==="b")Y.result=parseInt(Y.value,10)!==0;else if(this.t==="e")Y.result={error:Y.value};else Y.result=parseFloat(Y.value);Y.value=void 0}}else if(Y.value!==void 0)switch(this.t){case"s":Y.type=Z1.ValueType.String,Y.value=parseInt(Y.value,10);break;case"str":Y.type=Z1.ValueType.String,Y.value=$2.xmlDecode(Y.value);break;case"inlineStr":Y.type=Z1.ValueType.String;break;case"b":Y.type=Z1.ValueType.Boolean,Y.value=parseInt(Y.value,10)!==0;break;case"e":Y.type=Z1.ValueType.Error,Y.value={error:Y.value};break;default:Y.type=Z1.ValueType.Number,Y.value=parseFloat(Y.value);break}else if(Y.styleId)Y.type=Z1.ValueType.Null;else Y.type=Z1.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":if(this.parser)return this.parser.parseClose($),!0;return this.currentNode=void 0,!0;case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:if(this.parser)return this.parser.parseClose($),!0;return!1}}reconcile($,Y){let z=$.styleId&&Y.styles&&Y.styles.getStyleModel($.styleId);if(z)$.style=z;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case Z1.ValueType.String:if(typeof $.value==="number"){if(Y.sharedStrings)$.value=Y.sharedStrings.getString($.value)}if($.value.richText)$.type=Z1.ValueType.RichText;break;case Z1.ValueType.Number:if(z&&$2.isDateFmt(z.numFmt))$.type=Z1.ValueType.Date,$.value=$2.excelToDate($.value,Y.date1904);break;case Z1.ValueType.Formula:if($.result!==void 0&&z&&$2.isDateFmt(z.numFmt))$.result=$2.excelToDate($.result,Y.date1904);if($.shareType==="shared"){if($.ref)Y.formulae[$.si]=$.address;else $.sharedFormula=Y.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let U=Y.hyperlinkMap[$.address];if(U){if($.type===Z1.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=Z1.ValueType.Hyperlink,$.hyperlink=U}let Q=Y.commentsMap&&Y.commentsMap[$.address];if(Q)$.comment=Q}}e20.exports=t20});var Qx=E((Jd1,zY0)=>{var b01=g0(),Ux=Z8(),i01=$Y0();class YY0 extends b01{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new i01}}get tag(){return"row"}prepare($,Y){let z=Y.styles.addStyleModel($.style);if(z)$.styleId=z;let U=this.map.c;$.cells.forEach((Q)=>{U.prepare(Q,Y)})}render($,Y,z){if($.openNode("row"),$.addAttribute("r",Y.number),Y.height)$.addAttribute("ht",Y.height),$.addAttribute("customHeight","1");if(Y.hidden)$.addAttribute("hidden","1");if(Y.min>0&&Y.max>0&&Y.min<=Y.max)$.addAttribute("spans",`${Y.min}:${Y.max}`);if(Y.styleId)$.addAttribute("s",Y.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");let U=this.map.c;Y.cells.forEach((Q)=>{U.render($,Q,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let Y=$.attributes.spans?$.attributes.spans.split(":").map((U)=>parseInt(U,10)):[void 0,void 0],z=this.model={number:parseInt($.attributes.r,10),min:Y[0],max:Y[1],cells:[]};if($.attributes.s)z.styleId=parseInt($.attributes.s,10);if(Ux.parseBoolean($.attributes.hidden))z.hidden=!0;if(Ux.parseBoolean($.attributes.bestFit))z.bestFit=!0;if($.attributes.ht)z.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)z.outlineLevel=parseInt($.attributes.outlineLevel,10);if(Ux.parseBoolean($.attributes.collapsed))z.collapsed=!0;return!0}if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile($,Y){if($.style=$.styleId?Y.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let z=this.map.c;$.cells.forEach((U)=>{z.reconcile(U,Y)})}}zY0.exports=YY0});var Ix=E((Id1,QY0)=>{var Jx=Z8(),c01=g0();class UY0 extends c01{get tag(){return"col"}prepare($,Y){let z=Y.styles.addStyleModel($.style||{});if(z)$.styleId=z}render($,Y){if($.openNode("col"),$.addAttribute("min",Y.min),$.addAttribute("max",Y.max),Y.width)$.addAttribute("width",Y.width);if(Y.styleId)$.addAttribute("style",Y.styleId);if(Y.hidden)$.addAttribute("hidden","1");if(Y.bestFit)$.addAttribute("bestFit","1");if(Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let Y=this.model={min:parseInt($.attributes.min||"0",10),max:parseInt($.attributes.max||"0",10),width:$.attributes.width===void 0?void 0:parseFloat($.attributes.width||"0")};if($.attributes.style)Y.styleId=parseInt($.attributes.style,10);if(Jx.parseBoolean($.attributes.hidden))Y.hidden=!0;if(Jx.parseBoolean($.attributes.bestFit))Y.bestFit=!0;if($.attributes.outlineLevel)Y.outlineLevel=parseInt($.attributes.outlineLevel,10);if(Jx.parseBoolean($.attributes.collapsed))Y.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,Y){if($.styleId)$.style=Y.styles.getStyleModel($.styleId)}}QY0.exports=UY0});var KY0=E((Kd1,IY0)=>{var n01=g0();class JY0 extends n01{get tag(){return"dimension"}render($,Y){if(Y)$.leafNode("dimension",{ref:Y})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}IY0.exports=JY0});var Kx=E((Gd1,WY0)=>{var p01=g0();class GY0 extends p01{get tag(){return"hyperlink"}render($,Y){if(this.isInternalLink(Y))$.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip,location:Y.target});else $.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip})}parseOpen($){if($.name==="hyperlink"){if(this.model={address:$.attributes.ref,rId:$.attributes["r:id"],tooltip:$.attributes.tooltip},$.attributes.location)this.model.target=$.attributes.location;return!0}return!1}parseText(){}parseClose(){return!1}isInternalLink($){return $.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test($.target)}}WY0.exports=GY0});var ZY0=E((Wd1,XY0)=>{var d01=g0();class HY0 extends d01{get tag(){return"mergeCell"}render($,Y){$.leafNode("mergeCell",{ref:Y})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}XY0.exports=HY0});var Hx=E((Hd1,VY0)=>{var gH=Y6(),Wx=Z8(),hJ=i4(),m01=g0(),l01=$7();function SJ($,Y,z,U){let Q=Y[z];if(Q!==void 0)$[z]=Q;else if(U!==void 0)$[z]=U}function Gx($,Y,z,U){let Q=Y[z];if(Q!==void 0)$[z]=Wx.parseBoolean(Q);else if(U!==void 0)$[z]=U}function o01($){let Y=gH.map($,(Q,J)=>({address:J,dataValidation:Q,marked:!1})).sort((Q,J)=>gH.strcmp(Q.address,J.address)),z=gH.keyBy(Y,"address"),U=(Q,J,I)=>{for(let K=0;K{if(!Q.marked){let J=hJ.decodeEx(Q.address);if(J.dimensions)return z[J.dimensions].marked=!0,{...Q.dataValidation,sqref:Q.address};let I=1,K=hJ.encodeAddress(J.row+I,J.col);while($[K]&&gH.isEqual(Q.dataValidation,$[K]))I++,K=hJ.encodeAddress(J.row+I,J.col);let G=1;while(U(J,I,J.col+G))G++;for(let W=0;W1||G>1){let W=J.row+(I-1),H=J.col+(G-1);return{...Q.dataValidation,sqref:`${Q.address}:${hJ.encodeAddress(W,H)}`}}return{...Q.dataValidation,sqref:Q.address}}return null}).filter(Boolean)}class qY0 extends m01{get tag(){return"dataValidations"}render($,Y){let z=o01(Y);if(z.length)$.openNode("dataValidations",{count:z.length}),z.forEach((U)=>{if($.openNode("dataValidation"),U.type!=="any"){if($.addAttribute("type",U.type),U.operator&&U.type!=="list"&&U.operator!=="between")$.addAttribute("operator",U.operator);if(U.allowBlank)$.addAttribute("allowBlank","1")}if(U.showInputMessage)$.addAttribute("showInputMessage","1");if(U.promptTitle)$.addAttribute("promptTitle",U.promptTitle);if(U.prompt)$.addAttribute("prompt",U.prompt);if(U.showErrorMessage)$.addAttribute("showErrorMessage","1");if(U.errorStyle)$.addAttribute("errorStyle",U.errorStyle);if(U.errorTitle)$.addAttribute("errorTitle",U.errorTitle);if(U.error)$.addAttribute("error",U.error);$.addAttribute("sqref",U.sqref),(U.formulae||[]).forEach((Q,J)=>{if($.openNode(`formula${J+1}`),U.type==="date")$.writeText(Wx.dateToExcel(new Date(Q)));else $.writeText(Q);$.closeNode()}),$.closeNode()}),$.closeNode()}parseOpen($){switch($.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=$.attributes.sqref;let Y={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)Gx(Y,$.attributes,"allowBlank");switch(Gx(Y,$.attributes,"showInputMessage"),Gx(Y,$.attributes,"showErrorMessage"),Y.type){case"any":case"list":case"custom":break;default:SJ(Y,$.attributes,"operator","between");break}return SJ(Y,$.attributes,"promptTitle"),SJ(Y,$.attributes,"prompt"),SJ(Y,$.attributes,"errorStyle"),SJ(Y,$.attributes,"errorTitle"),SJ(Y,$.attributes,"error"),this._dataValidation=Y,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText($){if(this._formula)this._formula.push($)}parseClose($){switch($){case"dataValidations":return!1;case"dataValidation":{if(!this._dataValidation.formulae||!this._dataValidation.formulae.length)delete this._dataValidation.formulae,delete this._dataValidation.operator;return(this._address.split(/\s+/g)||[]).forEach((z)=>{if(z.includes(":"))new l01(z).forEachAddress((Q)=>{this.model[Q]=this._dataValidation});else this.model[z]=this._dataValidation}),!0}case"formula1":case"formula2":{let Y=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":Y=parseInt(Y,10);break;case"decimal":Y=parseFloat(Y);break;case"date":Y=Wx.excelToDate(parseFloat(Y));break;default:break}return this._dataValidation.formulae.push(Y),this._formula=void 0,!0}default:return!0}}}VY0.exports=qY0});var wY0=E((Xd1,FY0)=>{var r01=g0();class LY0 extends r01{get tag(){return"pageSetUpPr"}render($,Y){if(Y&&Y.fitToPage)return $.leafNode(this.tag,{fitToPage:Y.fitToPage?"1":void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={fitToPage:$.attributes.fitToPage==="1"},!0;return!1}parseText(){}parseClose(){return!1}}FY0.exports=LY0});var NY0=E((Zd1,OY0)=>{var s01=g0(),gJ=($)=>typeof $<"u";class MY0 extends s01{get tag(){return"outlinePr"}render($,Y){if(Y&&(gJ(Y.summaryBelow)||gJ(Y.summaryRight)))return $.leafNode(this.tag,{summaryBelow:gJ(Y.summaryBelow)?Number(Y.summaryBelow):void 0,summaryRight:gJ(Y.summaryRight)?Number(Y.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:gJ($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:gJ($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}OY0.exports=MY0});var Xx=E((qd1,BY0)=>{var a01=g0(),t01=a3(),e01=wY0(),$11=NY0();class DY0 extends a01{constructor(){super();this.map={tabColor:new t01("tabColor"),pageSetUpPr:new e01,outlinePr:new $11}}get tag(){return"sheetPr"}render($,Y){if(Y){$.addRollback(),$.openNode("sheetPr");let z=!1;if(z=this.map.tabColor.render($,Y.tabColor)||z,z=this.map.pageSetUpPr.render($,Y.pageSetup)||z,z=this.map.outlinePr.render($,Y.outlineProperties)||z,z)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.reset(),!0;if(this.map[$.name])return this.parser=this.map[$.name],this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)return this.parser.parseText($),!0;return!1}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model){if(this.model={},this.map.tabColor.model)this.model.tabColor=this.map.tabColor.model;if(this.map.pageSetUpPr.model)this.model.pageSetup=this.map.pageSetUpPr.model;if(this.map.outlinePr.model)this.model.outlineProperties=this.map.outlinePr.model}else this.model=null;return!1}}BY0.exports=DY0});var Zx=E((Vd1,AY0)=>{var Y11=Y6(),z11=g0();class PY0 extends z11{get tag(){return"sheetFormatPr"}render($,Y){if(Y){let z={defaultRowHeight:Y.defaultRowHeight,outlineLevelRow:Y.outlineLevelRow,outlineLevelCol:Y.outlineLevelCol,"x14ac:dyDescent":Y.dyDescent};if(Y.defaultColWidth)z.defaultColWidth=Y.defaultColWidth;if(!Y.defaultRowHeight||Y.defaultRowHeight!==15)z.customHeight="1";if(Y11.some(z,(U)=>U!==void 0))$.leafNode("sheetFormatPr",z)}}parseOpen($){if($.name==="sheetFormatPr"){if(this.model={defaultRowHeight:parseFloat($.attributes.defaultRowHeight||"0"),dyDescent:parseFloat($.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt($.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt($.attributes.outlineLevelCol||"0",10)},$.attributes.defaultColWidth)this.model.defaultColWidth=parseFloat($.attributes.defaultColWidth);return!0}return!1}parseText(){}parseClose(){return!1}}AY0.exports=PY0});var qx=E((Ld1,jY0)=>{var U11=i4(),Q11=g0(),J11={frozen:"frozen",frozenSplit:"frozen",split:"split"};class TY0 extends Q11{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,Y){$.openNode("sheetView",{workbookViewId:Y.workbookViewId||0});let z=function(K,G,W){if(W)$.addAttribute(K,G)};z("rightToLeft","1",Y.rightToLeft===!0),z("tabSelected","1",Y.tabSelected),z("showRuler","0",Y.showRuler===!1),z("showRowColHeaders","0",Y.showRowColHeaders===!1),z("showGridLines","0",Y.showGridLines===!1),z("zoomScale",Y.zoomScale,Y.zoomScale),z("zoomScaleNormal",Y.zoomScaleNormal,Y.zoomScaleNormal),z("view",Y.style,Y.style);let U,Q,J,I;switch(Y.state){case"frozen":Q=Y.xSplit||0,J=Y.ySplit||0,U=Y.topLeftCell||U11.getAddress(J+1,Q+1).address,I=Y.xSplit&&Y.ySplit&&"bottomRight"||Y.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:U,activePane:I,state:"frozen"}),$.leafNode("selection",{pane:I,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"split":if(Y.activePane==="topLeft")Y.activePane=void 0;$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:Y.topLeftCell,activePane:Y.activePane}),$.leafNode("selection",{pane:Y.activePane,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"normal":if(Y.activeCell)$.leafNode("selection",{activeCell:Y.activeCell,sqref:Y.activeCell});break;default:break}$.closeNode()}parseOpen($){switch($.name){case"sheetView":return this.sheetView={workbookViewId:parseInt($.attributes.workbookViewId,10),rightToLeft:$.attributes.rightToLeft==="1",tabSelected:$.attributes.tabSelected==="1",showRuler:$.attributes.showRuler!=="0",showRowColHeaders:$.attributes.showRowColHeaders!=="0",showGridLines:$.attributes.showGridLines!=="0",zoomScale:parseInt($.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt($.attributes.zoomScaleNormal||"100",10),style:$.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt($.attributes.xSplit||"0",10),ySplit:parseInt($.attributes.ySplit||"0",10),topLeftCell:$.attributes.topLeftCell,activePane:$.attributes.activePane||"topLeft",state:$.attributes.state},!0;case"selection":{let Y=$.attributes.pane||"topLeft";return this.selections[Y]={pane:Y,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let Y,z;switch($){case"sheetView":if(this.sheetView&&this.pane){if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:J11[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split")Y.activePane=this.pane.activePane;if(z=this.selections[this.pane.activePane],z&&z.activeCell)Y.activeCell=z.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}else{if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},z=this.selections.topLeft,z&&z.activeCell)Y.activeCell=z.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}jY0.exports=TY0});var Vx=E((Fd1,CY0)=>{var I11=Y6(),K11=g0();function d8($,Y){return $?Y:void 0}function S$($,Y){return $===Y?!0:void 0}class EY0 extends K11{get tag(){return"sheetProtection"}render($,Y){if(Y){let z={sheet:d8(Y.sheet,"1"),selectLockedCells:Y.selectLockedCells===!1?"1":void 0,selectUnlockedCells:Y.selectUnlockedCells===!1?"1":void 0,formatCells:d8(Y.formatCells,"0"),formatColumns:d8(Y.formatColumns,"0"),formatRows:d8(Y.formatRows,"0"),insertColumns:d8(Y.insertColumns,"0"),insertRows:d8(Y.insertRows,"0"),insertHyperlinks:d8(Y.insertHyperlinks,"0"),deleteColumns:d8(Y.deleteColumns,"0"),deleteRows:d8(Y.deleteRows,"0"),sort:d8(Y.sort,"0"),autoFilter:d8(Y.autoFilter,"0"),pivotTables:d8(Y.pivotTables,"0")};if(Y.sheet)z.algorithmName=Y.algorithmName,z.hashValue=Y.hashValue,z.saltValue=Y.saltValue,z.spinCount=Y.spinCount,z.objects=d8(Y.objects===!1,"1"),z.scenarios=d8(Y.scenarios===!1,"1");if(I11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:S$($.attributes.sheet,"1"),objects:$.attributes.objects==="1"?!1:void 0,scenarios:$.attributes.scenarios==="1"?!1:void 0,selectLockedCells:$.attributes.selectLockedCells==="1"?!1:void 0,selectUnlockedCells:$.attributes.selectUnlockedCells==="1"?!1:void 0,formatCells:S$($.attributes.formatCells,"0"),formatColumns:S$($.attributes.formatColumns,"0"),formatRows:S$($.attributes.formatRows,"0"),insertColumns:S$($.attributes.insertColumns,"0"),insertRows:S$($.attributes.insertRows,"0"),insertHyperlinks:S$($.attributes.insertHyperlinks,"0"),deleteColumns:S$($.attributes.deleteColumns,"0"),deleteRows:S$($.attributes.deleteRows,"0"),sort:S$($.attributes.sort,"0"),autoFilter:S$($.attributes.autoFilter,"0"),pivotTables:S$($.attributes.pivotTables,"0")},$.attributes.algorithmName)this.model.algorithmName=$.attributes.algorithmName,this.model.hashValue=$.attributes.hashValue,this.model.saltValue=$.attributes.saltValue,this.model.spinCount=parseInt($.attributes.spinCount,10);return!0;default:return!1}}parseText(){}parseClose(){return!1}}CY0.exports=EY0});var Lx=E((wd1,_Y0)=>{var G11=Y6(),W11=g0();class RY0 extends W11{get tag(){return"pageMargins"}render($,Y){if(Y){let z={left:Y.left,right:Y.right,top:Y.top,bottom:Y.bottom,header:Y.header,footer:Y.footer};if(G11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:return this.model={left:parseFloat($.attributes.left||0.7),right:parseFloat($.attributes.right||0.7),top:parseFloat($.attributes.top||0.75),bottom:parseFloat($.attributes.bottom||0.75),header:parseFloat($.attributes.header||0.3),footer:parseFloat($.attributes.footer||0.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}_Y0.exports=RY0});var Fx=E((Md1,hY0)=>{var H11=Y6(),X11=g0();function JN($){return $?"1":void 0}function Z11($){switch($){case"overThenDown":return $;default:return}}function q11($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function V11($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function L11($){return $!==void 0?parseInt($,10):void 0}class vY0 extends X11{get tag(){return"pageSetup"}render($,Y){if(Y){let z={paperSize:Y.paperSize,orientation:Y.orientation,horizontalDpi:Y.horizontalDpi,verticalDpi:Y.verticalDpi,pageOrder:Z11(Y.pageOrder),blackAndWhite:JN(Y.blackAndWhite),draft:JN(Y.draft),cellComments:q11(Y.cellComments),errors:V11(Y.errors),scale:Y.scale,fitToWidth:Y.fitToWidth,fitToHeight:Y.fitToHeight,firstPageNumber:Y.firstPageNumber,useFirstPageNumber:JN(Y.firstPageNumber),usePrinterDefaults:JN(Y.usePrinterDefaults),copies:Y.copies};if(H11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:L11($.attributes.paperSize),orientation:$.attributes.orientation||"portrait",horizontalDpi:parseInt($.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt($.attributes.verticalDpi||"4294967295",10),pageOrder:$.attributes.pageOrder||"downThenOver",blackAndWhite:$.attributes.blackAndWhite==="1",draft:$.attributes.draft==="1",cellComments:$.attributes.cellComments||"None",errors:$.attributes.errors||"displayed",scale:parseInt($.attributes.scale||"100",10),fitToWidth:parseInt($.attributes.fitToWidth||"1",10),fitToHeight:parseInt($.attributes.fitToHeight||"1",10),firstPageNumber:parseInt($.attributes.firstPageNumber||"1",10),useFirstPageNumber:$.attributes.useFirstPageNumber==="1",usePrinterDefaults:$.attributes.usePrinterDefaults==="1",copies:parseInt($.attributes.copies||"1",10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}hY0.exports=vY0});var yY0=E((Od1,gY0)=>{var F11=Y6(),w11=g0();function IN($){return $?"1":void 0}class SY0 extends w11{get tag(){return"printOptions"}render($,Y){if(Y){let z={headings:IN(Y.showRowColHeaders),gridLines:IN(Y.showGridLines),horizontalCentered:IN(Y.horizontalCentered),verticalCentered:IN(Y.verticalCentered)};if(F11.some(z,(U)=>U!==void 0))$.leafNode(this.tag,z)}}parseOpen($){switch($.name){case this.tag:return this.model={showRowColHeaders:$.attributes.headings==="1",showGridLines:$.attributes.gridLines==="1",horizontalCentered:$.attributes.horizontalCentered==="1",verticalCentered:$.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}gY0.exports=SY0});var wx=E((Nd1,xY0)=>{var M11=i4(),O11=g0();class kY0 extends O11{get tag(){return"autoFilter"}render($,Y){if(Y)if(typeof Y==="string")$.leafNode("autoFilter",{ref:Y});else{let z=function(J){if(typeof J==="string")return J;return M11.getAddress(J.row,J.column).address},U=z(Y.from),Q=z(Y.to);if(U&&Q)$.leafNode("autoFilter",{ref:`${U}:${Q}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}xY0.exports=kY0});var Mx=E((Dd1,uY0)=>{var N11=g0();class fY0 extends N11{get tag(){return"picture"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}uY0.exports=fY0});var cY0=E((Bd1,iY0)=>{var D11=g0();class bY0 extends D11{get tag(){return"drawing"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}iY0.exports=bY0});var dY0=E((Pd1,pY0)=>{var B11=g0();class nY0 extends B11{get tag(){return"tablePart"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}pY0.exports=nY0});var oY0=E((Ad1,lY0)=>{var P11=g0();class mY0 extends P11{get tag(){return"brk"}render($,Y){$.leafNode("brk",Y)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}lY0.exports=mY0});var Ox=E((Td1,sY0)=>{var A11=oY0(),T11=s3();class rY0 extends T11{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new A11};super($)}render($,Y){if(Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y.length),$.addAttribute("manualBreakCount",Y.length);let{childXform:z}=this;Y.forEach((U)=>{z.render($,U)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}sY0.exports=rY0});var Nx=E((jd1,tY0)=>{var j11=g0();class aY0 extends j11{get tag(){return"headerFooter"}render($,Y){if(Y){$.addRollback();let z=!1;if($.openNode("headerFooter"),Y.differentFirst)$.addAttribute("differentFirst","1"),z=!0;if(Y.differentOddEven)$.addAttribute("differentOddEven","1"),z=!0;if(Y.oddHeader&&typeof Y.oddHeader==="string")$.leafNode("oddHeader",null,Y.oddHeader),z=!0;if(Y.oddFooter&&typeof Y.oddFooter==="string")$.leafNode("oddFooter",null,Y.oddFooter),z=!0;if(Y.evenHeader&&typeof Y.evenHeader==="string")$.leafNode("evenHeader",null,Y.evenHeader),z=!0;if(Y.evenFooter&&typeof Y.evenFooter==="string")$.leafNode("evenFooter",null,Y.evenFooter),z=!0;if(Y.firstHeader&&typeof Y.firstHeader==="string")$.leafNode("firstHeader",null,Y.firstHeader),z=!0;if(Y.firstFooter&&typeof Y.firstFooter==="string")$.leafNode("firstFooter",null,Y.firstFooter),z=!0;if(z)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){switch($.name){case"headerFooter":if(this.model={},$.attributes.differentFirst)this.model.differentFirst=parseInt($.attributes.differentFirst,0)===1;if($.attributes.differentOddEven)this.model.differentOddEven=parseInt($.attributes.differentOddEven,0)===1;return!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText($){switch(this.currentNode){case"oddHeader":this.model.oddHeader=$;break;case"oddFooter":this.model.oddFooter=$;break;case"evenHeader":this.model.evenHeader=$;break;case"evenFooter":this.model.evenFooter=$;break;case"firstHeader":this.model.firstHeader=$;break;case"firstFooter":this.model.firstFooter=$;break;default:break}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}tY0.exports=aY0});var m8=E((Ed1,$z0)=>{var E11=g0();class eY0 extends E11{createNewModel($){return{}}parseOpen($){if(this.parser=this.parser||this.map[$.name],this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.model=this.createNewModel($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}onParserClose($,Y){this.model[$]=Y.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}$z0.exports=eY0});var KN=E((Cd1,Uz0)=>{var Yz0=g0();class zz0 extends Yz0{get tag(){return"cfvo"}render($,Y){$.leafNode(this.tag,{type:Y.type,val:Y.value})}parseOpen($){this.model={type:$.attributes.type,value:Yz0.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}Uz0.exports=zz0});var Iz0=E((Rd1,Jz0)=>{var C11=m8(),R11=a3(),_11=KN();class Qz0 extends C11{constructor(){super();this.map={cfvo:this.cfvoXform=new _11,color:this.colorXform=new R11}}get tag(){return"dataBar"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),this.colorXform.render($,Y.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,Y){switch($){case"cfvo":this.model.cfvo.push(Y.model);break;case"color":this.model.color=Y.model;break}}}Jz0.exports=Qz0});var Zz0=E((_d1,Xz0)=>{var v11=g0(),Kz0=m8();class Gz0 extends v11{get tag(){return"x14:id"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class Wz0 extends Kz0{constructor(){super();this.map={"x14:id":this.idXform=new Gz0}}get tag(){return"ext"}render($,Y){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,Y.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model.x14Id=Y.model}}class Hz0 extends Kz0{constructor(){super();this.map={ext:new Wz0}}get tag(){return"extLst"}render($,Y){$.openNode(this.tag),this.map.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}Xz0.exports=Hz0});var Lz0=E((vd1,Vz0)=>{var h11=g0();class qz0 extends h11{get tag(){return"formula"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}Vz0.exports=qz0});var Mz0=E((hd1,wz0)=>{var S11=m8(),g11=a3(),y11=KN();class Fz0 extends S11{constructor(){super();this.map={cfvo:this.cfvoXform=new y11,color:this.colorXform=new g11}}get tag(){return"colorScale"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),Y.color.forEach((z)=>{this.colorXform.render($,z)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}wz0.exports=Fz0});var Dz0=E((Sd1,Nz0)=>{var yJ=g0(),k11=m8(),x11=KN();class Oz0 extends k11{constructor(){super();this.map={cfvo:this.cfvoXform=new x11}}get tag(){return"iconSet"}render($,Y){$.openNode(this.tag,{iconSet:yJ.toStringAttribute(Y.iconSet,"3TrafficLights"),reverse:yJ.toBoolAttribute(Y.reverse,!1),showValue:yJ.toBoolAttribute(Y.showValue,!0)}),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:yJ.toStringValue($.iconSet,"3TrafficLights"),reverse:yJ.toBoolValue($.reverse),showValue:yJ.toBoolValue($.showValue),cfvo:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}Nz0.exports=Oz0});var Az0=E((gd1,Pz0)=>{var L5=g0(),f11=m8(),Bz0=$7(),u11=Iz0(),b11=Zz0(),i11=Lz0(),c11=Mz0(),n11=Dz0(),p11={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},d11=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new Bz0($.ref),{tl:z}=Y;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${z})))`;case"containsBlanks":return`LEN(TRIM(${z}))=0`;case"notContainsBlanks":return`LEN(TRIM(${z}))>0`;case"containsErrors":return`ISERROR(${z})`;case"notContainsErrors":return`NOT(ISERROR(${z}))`;default:return}},m11=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new Bz0($.ref),{tl:z}=Y;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${z},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${z},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${z},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${z},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${z},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${z},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${z},1)=TODAY()-1`;case"today":return`FLOOR(${z},1)=TODAY()`;case"tomorrow":return`FLOOR(${z},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${z},1)<=6,FLOOR(${z},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${z})=MONTH(EDATE(TODAY(),0-1)),YEAR(${z})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${z})=MONTH(TODAY()),YEAR(${z})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${z})=MONTH(EDATE(TODAY(),0+1)),YEAR(${z})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},l11=($)=>{let{type:Y,operator:z}=$;switch(Y){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:Y};default:return{type:Y,operator:z}}};class Dx extends f11{constructor(){super();this.map={dataBar:this.databarXform=new u11,extLst:this.extLstRefXform=new b11,formula:this.formulaXform=new i11,colorScale:this.colorScaleXform=new c11,iconSet:this.iconSetXform=new n11}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||p11[$.iconSet])return!1}return!0}render($,Y){switch(Y.type){case"expression":this.renderExpression($,Y);break;case"cellIs":this.renderCellIs($,Y);break;case"top10":this.renderTop10($,Y);break;case"aboveAverage":this.renderAboveAverage($,Y);break;case"dataBar":this.renderDataBar($,Y);break;case"colorScale":this.renderColorScale($,Y);break;case"iconSet":this.renderIconSet($,Y);break;case"containsText":this.renderText($,Y);break;case"timePeriod":this.renderTimePeriod($,Y);break}}renderExpression($,Y){$.openNode(this.tag,{type:"expression",dxfId:Y.dxfId,priority:Y.priority}),this.formulaXform.render($,Y.formulae[0]),$.closeNode()}renderCellIs($,Y){$.openNode(this.tag,{type:"cellIs",dxfId:Y.dxfId,priority:Y.priority,operator:Y.operator}),Y.formulae.forEach((z)=>{this.formulaXform.render($,z)}),$.closeNode()}renderTop10($,Y){$.leafNode(this.tag,{type:"top10",dxfId:Y.dxfId,priority:Y.priority,percent:L5.toBoolAttribute(Y.percent,!1),bottom:L5.toBoolAttribute(Y.bottom,!1),rank:L5.toIntValue(Y.rank,10,!0)})}renderAboveAverage($,Y){$.leafNode(this.tag,{type:"aboveAverage",dxfId:Y.dxfId,priority:Y.priority,aboveAverage:L5.toBoolAttribute(Y.aboveAverage,!0)})}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",priority:Y.priority}),this.databarXform.render($,Y),this.extLstRefXform.render($,Y),$.closeNode()}renderColorScale($,Y){$.openNode(this.tag,{type:"colorScale",priority:Y.priority}),this.colorScaleXform.render($,Y),$.closeNode()}renderIconSet($,Y){if(!Dx.isPrimitive(Y))return;$.openNode(this.tag,{type:"iconSet",priority:Y.priority}),this.iconSetXform.render($,Y),$.closeNode()}renderText($,Y){$.openNode(this.tag,{type:Y.operator,dxfId:Y.dxfId,priority:Y.priority,operator:L5.toStringAttribute(Y.operator,"containsText")});let z=d11(Y);if(z)this.formulaXform.render($,z);$.closeNode()}renderTimePeriod($,Y){$.openNode(this.tag,{type:"timePeriod",dxfId:Y.dxfId,priority:Y.priority,timePeriod:Y.timePeriod});let z=m11(Y);if(z)this.formulaXform.render($,z);$.closeNode()}createNewModel({attributes:$}){return{...l11($),dxfId:L5.toIntValue($.dxfId),priority:L5.toIntValue($.priority),timePeriod:$.timePeriod,percent:L5.toBoolValue($.percent),bottom:L5.toBoolValue($.bottom),rank:L5.toIntValue($.rank),aboveAverage:L5.toBoolValue($.aboveAverage)}}onParserClose($,Y){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,Y.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(Y.model);break}}}Pz0.exports=Dx});var Ez0=E((yd1,jz0)=>{var o11=m8(),Bx=Az0();class Tz0 extends o11{constructor(){super();this.map={cfRule:new Bx}}get tag(){return"conditionalFormatting"}render($,Y){if(!Y.rules.some(Bx.isPrimitive))return;$.openNode(this.tag,{sqref:Y.ref}),Y.rules.forEach((z)=>{if(Bx.isPrimitive(z))z.ref=Y.ref,this.map.cfRule.render($,z)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,Y){this.model.rules.push(Y.model)}}jz0.exports=Tz0});var Px=E((kd1,Rz0)=>{var r11=g0(),s11=Ez0();class Cz0 extends r11{constructor(){super();this.cfXform=new s11}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,Y){let z=$.reduce((U,Q)=>Math.max(U,...Q.rules.map((J)=>J.priority||0)),1);$.forEach((U)=>{U.rules.forEach((Q)=>{if(!Q.priority)Q.priority=z++;if(Q.style)Q.dxfId=Y.styles.addDxfStyle(Q.style)})})}render($,Y){Y.forEach((z)=>{this.cfXform.render($,z)})}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))return this.model.push(this.parser.model),this.parser=void 0,!1;return!0}return!1}reconcile($,Y){$.forEach((z)=>{z.rules.forEach((U)=>{if(U.dxfId!==void 0)U.style=Y.styles.getDxfStyle(U.dxfId),delete U.dxfId})})}}Rz0.exports=Cz0});var Ax=E((_z0)=>{Object.defineProperty(_z0,"__esModule",{value:!0});_z0.default=e11;var a11=t11(I0("crypto"));function t11($){return $&&$.__esModule?$:{default:$}}var WN=new Uint8Array(256),GN=WN.length;function e11(){if(GN>WN.length-16)a11.default.randomFillSync(WN),GN=0;return WN.slice(GN,GN+=16)}});var Sz0=E((vz0)=>{Object.defineProperty(vz0,"__esModule",{value:!0});vz0.default=void 0;var Y41=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;vz0.default=Y41});var yH=E((gz0)=>{Object.defineProperty(gz0,"__esModule",{value:!0});gz0.default=void 0;var z41=U41(Sz0());function U41($){return $&&$.__esModule?$:{default:$}}function Q41($){return typeof $==="string"&&z41.default.test($)}var J41=Q41;gz0.default=J41});var kH=E((kz0)=>{Object.defineProperty(kz0,"__esModule",{value:!0});kz0.default=void 0;var I41=K41(yH());function K41($){return $&&$.__esModule?$:{default:$}}var r6=[];for(let $=0;$<256;++$)r6.push(($+256).toString(16).substr(1));function G41($,Y=0){let z=(r6[$[Y+0]]+r6[$[Y+1]]+r6[$[Y+2]]+r6[$[Y+3]]+"-"+r6[$[Y+4]]+r6[$[Y+5]]+"-"+r6[$[Y+6]]+r6[$[Y+7]]+"-"+r6[$[Y+8]]+r6[$[Y+9]]+"-"+r6[$[Y+10]]+r6[$[Y+11]]+r6[$[Y+12]]+r6[$[Y+13]]+r6[$[Y+14]]+r6[$[Y+15]]).toLowerCase();if(!(0,I41.default)(z))throw TypeError("Stringified UUID is invalid");return z}var W41=G41;kz0.default=W41});var cz0=E((bz0)=>{Object.defineProperty(bz0,"__esModule",{value:!0});bz0.default=void 0;var H41=uz0(Ax()),X41=uz0(kH());function uz0($){return $&&$.__esModule?$:{default:$}}var fz0,Tx,jx=0,Ex=0;function Z41($,Y,z){let U=Y&&z||0,Q=Y||Array(16);$=$||{};let J=$.node||fz0,I=$.clockseq!==void 0?$.clockseq:Tx;if(J==null||I==null){let Z=$.random||($.rng||H41.default)();if(J==null)J=fz0=[Z[0]|1,Z[1],Z[2],Z[3],Z[4],Z[5]];if(I==null)I=Tx=(Z[6]<<8|Z[7])&16383}let K=$.msecs!==void 0?$.msecs:Date.now(),G=$.nsecs!==void 0?$.nsecs:Ex+1,W=K-jx+(G-Ex)/1e4;if(W<0&&$.clockseq===void 0)I=I+1&16383;if((W<0||K>jx)&&$.nsecs===void 0)G=0;if(G>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");jx=K,Ex=G,Tx=I,K+=12219292800000;let H=((K&268435455)*1e4+G)%4294967296;Q[U++]=H>>>24&255,Q[U++]=H>>>16&255,Q[U++]=H>>>8&255,Q[U++]=H&255;let X=K/4294967296*1e4&268435455;Q[U++]=X>>>8&255,Q[U++]=X&255,Q[U++]=X>>>24&15|16,Q[U++]=X>>>16&255,Q[U++]=I>>>8|128,Q[U++]=I&255;for(let Z=0;Z<6;++Z)Q[U+Z]=J[Z];return Y||(0,X41.default)(Q)}var q41=Z41;bz0.default=q41});var Cx=E((nz0)=>{Object.defineProperty(nz0,"__esModule",{value:!0});nz0.default=void 0;var V41=L41(yH());function L41($){return $&&$.__esModule?$:{default:$}}function F41($){if(!(0,V41.default)($))throw TypeError("Invalid UUID");let Y,z=new Uint8Array(16);return z[0]=(Y=parseInt($.slice(0,8),16))>>>24,z[1]=Y>>>16&255,z[2]=Y>>>8&255,z[3]=Y&255,z[4]=(Y=parseInt($.slice(9,13),16))>>>8,z[5]=Y&255,z[6]=(Y=parseInt($.slice(14,18),16))>>>8,z[7]=Y&255,z[8]=(Y=parseInt($.slice(19,23),16))>>>8,z[9]=Y&255,z[10]=(Y=parseInt($.slice(24,36),16))/1099511627776&255,z[11]=Y/4294967296&255,z[12]=Y>>>24&255,z[13]=Y>>>16&255,z[14]=Y>>>8&255,z[15]=Y&255,z}var w41=F41;nz0.default=w41});var Rx=E((oz0)=>{Object.defineProperty(oz0,"__esModule",{value:!0});oz0.default=D41;oz0.URL=oz0.DNS=void 0;var M41=dz0(kH()),O41=dz0(Cx());function dz0($){return $&&$.__esModule?$:{default:$}}function N41($){$=unescape(encodeURIComponent($));let Y=[];for(let z=0;z<$.length;++z)Y.push($.charCodeAt(z));return Y}var mz0="6ba7b810-9dad-11d1-80b4-00c04fd430c8";oz0.DNS=mz0;var lz0="6ba7b811-9dad-11d1-80b4-00c04fd430c8";oz0.URL=lz0;function D41($,Y,z){function U(Q,J,I,K){if(typeof Q==="string")Q=N41(Q);if(typeof J==="string")J=(0,O41.default)(J);if(J.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let G=new Uint8Array(16+Q.length);if(G.set(J),G.set(Q,J.length),G=z(G),G[6]=G[6]&15|Y,G[8]=G[8]&63|128,I){K=K||0;for(let W=0;W<16;++W)I[K+W]=G[W];return I}return(0,M41.default)(G)}try{U.name=$}catch(Q){}return U.DNS=mz0,U.URL=lz0,U}});var tz0=E((sz0)=>{Object.defineProperty(sz0,"__esModule",{value:!0});sz0.default=void 0;var A41=T41(I0("crypto"));function T41($){return $&&$.__esModule?$:{default:$}}function j41($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return A41.default.createHash("md5").update($).digest()}var E41=j41;sz0.default=E41});var zU0=E(($U0)=>{Object.defineProperty($U0,"__esModule",{value:!0});$U0.default=void 0;var C41=ez0(Rx()),R41=ez0(tz0());function ez0($){return $&&$.__esModule?$:{default:$}}var _41=(0,C41.default)("v3",48,R41.default),v41=_41;$U0.default=v41});var IU0=E((QU0)=>{Object.defineProperty(QU0,"__esModule",{value:!0});QU0.default=void 0;var h41=UU0(Ax()),S41=UU0(kH());function UU0($){return $&&$.__esModule?$:{default:$}}function g41($,Y,z){$=$||{};let U=$.random||($.rng||h41.default)();if(U[6]=U[6]&15|64,U[8]=U[8]&63|128,Y){z=z||0;for(let Q=0;Q<16;++Q)Y[z+Q]=U[Q];return Y}return(0,S41.default)(U)}var y41=g41;QU0.default=y41});var WU0=E((KU0)=>{Object.defineProperty(KU0,"__esModule",{value:!0});KU0.default=void 0;var k41=x41(I0("crypto"));function x41($){return $&&$.__esModule?$:{default:$}}function f41($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return k41.default.createHash("sha1").update($).digest()}var u41=f41;KU0.default=u41});var qU0=E((XU0)=>{Object.defineProperty(XU0,"__esModule",{value:!0});XU0.default=void 0;var b41=HU0(Rx()),i41=HU0(WU0());function HU0($){return $&&$.__esModule?$:{default:$}}var c41=(0,b41.default)("v5",80,i41.default),n41=c41;XU0.default=n41});var FU0=E((VU0)=>{Object.defineProperty(VU0,"__esModule",{value:!0});VU0.default=void 0;var p41="00000000-0000-0000-0000-000000000000";VU0.default=p41});var OU0=E((wU0)=>{Object.defineProperty(wU0,"__esModule",{value:!0});wU0.default=void 0;var d41=m41(yH());function m41($){return $&&$.__esModule?$:{default:$}}function l41($){if(!(0,d41.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var o41=l41;wU0.default=o41});var NU0=E((F5)=>{Object.defineProperty(F5,"__esModule",{value:!0});Object.defineProperty(F5,"v1",{enumerable:!0,get:function(){return r41.default}});Object.defineProperty(F5,"v3",{enumerable:!0,get:function(){return s41.default}});Object.defineProperty(F5,"v4",{enumerable:!0,get:function(){return a41.default}});Object.defineProperty(F5,"v5",{enumerable:!0,get:function(){return t41.default}});Object.defineProperty(F5,"NIL",{enumerable:!0,get:function(){return e41.default}});Object.defineProperty(F5,"version",{enumerable:!0,get:function(){return $61.default}});Object.defineProperty(F5,"validate",{enumerable:!0,get:function(){return Y61.default}});Object.defineProperty(F5,"stringify",{enumerable:!0,get:function(){return z61.default}});Object.defineProperty(F5,"parse",{enumerable:!0,get:function(){return U61.default}});var r41=H7(cz0()),s41=H7(zU0()),a41=H7(IU0()),t41=H7(qU0()),e41=H7(FU0()),$61=H7(OU0()),Y61=H7(yH()),z61=H7(kH()),U61=H7(Cx());function H7($){return $&&$.__esModule?$:{default:$}}});var PU0=E((td1,BU0)=>{var Q61=g0();class DU0 extends Q61{get tag(){return"xm:f"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}BU0.exports=DU0});var _x=E((ed1,TU0)=>{var J61=m8(),I61=PU0();class AU0 extends J61{constructor(){super();this.map={"xm:f":this.fExtXform=new I61}}get tag(){return"x14:cfvo"}render($,Y){if($.openNode(this.tag,{type:Y.type}),Y.value!==void 0)this.fExtXform.render($,Y.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,Y){switch($){case"xm:f":this.model.value=Y.model?parseFloat(Y.model):0;break}}}TU0.exports=AU0});var CU0=E(($m1,EU0)=>{var q8=g0(),K61=m8(),HN=a3(),G61=_x();class jU0 extends K61{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new G61,"x14:borderColor":this.borderColorXform=new HN("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new HN("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new HN("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new HN("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,Y){$.openNode(this.tag,{minLength:q8.toIntAttribute(Y.minLength,0,!0),maxLength:q8.toIntAttribute(Y.maxLength,100,!0),border:q8.toBoolAttribute(Y.border,!1),gradient:q8.toBoolAttribute(Y.gradient,!0),negativeBarColorSameAsPositive:q8.toBoolAttribute(Y.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:q8.toBoolAttribute(Y.negativeBarBorderColorSameAsPositive,!0),axisPosition:q8.toAttribute(Y.axisPosition,"auto"),direction:q8.toAttribute(Y.direction,"leftToRight")}),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),this.borderColorXform.render($,Y.borderColor),this.negativeBorderColorXform.render($,Y.negativeBorderColor),this.negativeFillColorXform.render($,Y.negativeFillColor),this.axisColorXform.render($,Y.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:q8.toIntValue($.minLength,0),maxLength:q8.toIntValue($.maxLength,100),border:q8.toBoolValue($.border,!1),gradient:q8.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:q8.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:q8.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:q8.toStringValue($.axisPosition,"auto"),direction:q8.toStringValue($.direction,"leftToRight")}}onParserClose($,Y){let[,z]=$.split(":");switch(z){case"cfvo":this.model.cfvo.push(Y.model);break;default:this.model[z]=Y.model;break}}}EU0.exports=jU0});var hU0=E((Ym1,vU0)=>{var RU0=g0();class _U0 extends RU0{get tag(){return"x14:cfIcon"}render($,Y){$.leafNode(this.tag,{iconSet:Y.iconSet,iconId:Y.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:RU0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}vU0.exports=_U0});var yU0=E((zm1,gU0)=>{var Zz=g0(),W61=m8(),H61=_x(),X61=hU0();class SU0 extends W61{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new H61,"x14:cfIcon":this.cfIconXform=new X61}}get tag(){return"x14:iconSet"}render($,Y){if($.openNode(this.tag,{iconSet:Zz.toStringAttribute(Y.iconSet),reverse:Zz.toBoolAttribute(Y.reverse,!1),showValue:Zz.toBoolAttribute(Y.showValue,!0),custom:Zz.toBoolAttribute(Y.icons,!1)}),Y.cfvo.forEach((z)=>{this.cfvoXform.render($,z)}),Y.icons)Y.icons.forEach((z,U)=>{z.iconId=U,this.cfIconXform.render($,z)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:Zz.toStringValue($.iconSet,"3TrafficLights"),reverse:Zz.toBoolValue($.reverse,!1),showValue:Zz.toBoolValue($.showValue,!0)}}onParserClose($,Y){let[,z]=$.split(":");switch(z){case"cfvo":this.model.cfvo.push(Y.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(Y.model);break;default:this.model[z]=Y.model;break}}}gU0.exports=SU0});var vx=E((Um1,fU0)=>{var{v4:kU0}=NU0(),Z61=g0(),q61=m8(),xU0=CU0(),V61=yU0(),L61={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class XN extends q61{constructor(){super();this.map={"x14:dataBar":this.databarXform=new xU0,"x14:iconSet":this.iconSetXform=new V61}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return xU0.isExt($);if($.type==="iconSet"){if($.custom||L61[$.iconSet])return!0}return!1}prepare($){if(XN.isExt($))$.x14Id=`{${kU0()}}`.toUpperCase()}render($,Y){if(!XN.isExt(Y))return;switch(Y.type){case"dataBar":this.renderDataBar($,Y);break;case"iconSet":this.renderIconSet($,Y);break}}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",id:Y.x14Id}),this.databarXform.render($,Y),$.closeNode()}renderIconSet($,Y){$.openNode(this.tag,{type:"iconSet",priority:Y.priority,id:Y.x14Id||`{${kU0()}}`}),this.iconSetXform.render($,Y),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:Z61.toIntValue($.priority)}}onParserClose($,Y){Object.assign(this.model,Y.model)}}fU0.exports=XN});var iU0=E((Qm1,bU0)=>{var F61=g0();class uU0 extends F61{get tag(){return"xm:sqref"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}bU0.exports=uU0});var pU0=E((Jm1,nU0)=>{var w61=m8(),M61=iU0(),hx=vx();class cU0 extends w61{constructor(){super();this.map={"xm:sqref":this.sqRef=new M61,"x14:cfRule":this.cfRule=new hx}}get tag(){return"x14:conditionalFormatting"}prepare($,Y){$.rules.forEach((z)=>{this.cfRule.prepare(z,Y)})}render($,Y){if(!Y.rules.some(hx.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),Y.rules.filter(hx.isExt).forEach((z)=>this.cfRule.render($,z)),this.sqRef.render($,Y.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,Y){switch($){case"xm:sqref":this.model.ref=Y.model;break;case"x14:cfRule":this.model.rules.push(Y.model);break}}}nU0.exports=cU0});var lU0=E((Im1,mU0)=>{var O61=m8(),N61=vx(),D61=pU0();class dU0 extends O61{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new D61}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((Y)=>Y.rules.some(N61.isExt));return $.hasExtContent}prepare($,Y){$.forEach((z)=>{this.cfXform.prepare(z,Y)})}render($,Y){if(this.hasContent(Y))$.openNode(this.tag),Y.forEach((z)=>this.cfXform.render($,z)),$.closeNode()}createNewModel(){return[]}onParserClose($,Y){this.model.push(Y.model)}}mU0.exports=dU0});var tU0=E((Km1,aU0)=>{var oU0=m8(),B61=lU0();class rU0 extends oU0{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new B61}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,Y){this.conditionalFormattings.prepare($.conditionalFormattings,Y)}render($,Y){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,Y.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model[$]=Y.model}}class sU0 extends oU0{constructor(){super();this.map={ext:this.ext=new rU0}}get tag(){return"extLst"}prepare($,Y){this.ext.prepare($,Y)}hasContent($){return this.ext.hasContent($)}render($,Y){if(!this.hasContent(Y))return;$.openNode("extLst"),this.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}aU0.exports=sU0});var $Q0=E((Gm1,eU0)=>{var P61=Y6(),A61=i4(),T61=l6(),X7=e3(),j61=s20(),E61=g0(),kJ=s3(),C61=Qx(),R61=Ix(),_61=KY0(),v61=Kx(),h61=ZY0(),S61=Hx(),g61=Xx(),y61=Zx(),k61=qx(),x61=Vx(),f61=Lx(),u61=Fx(),b61=yY0(),i61=wx(),c61=Mx(),n61=cY0(),p61=dY0(),d61=Ox(),m61=Nx(),l61=Px(),o61=tU0(),r61=($,Y)=>{Object.keys(Y).forEach((z)=>{let U=$[z],Q=Y[z];if(U===void 0&&Q!==void 0)$[z]=Q})},s61=($,Y)=>{if(!Y||!Y.length)return $;if(!$||!$.length)return Y;let z={},U={};return $.forEach((Q)=>{z[Q.ref]=Q,Q.rules.forEach((J)=>{let{x14Id:I}=J;if(I)U[I]=J})}),Y.forEach((Q)=>{Q.rules.forEach((J)=>{let I=U[J.x14Id];if(I)r61(I,J);else if(z[Q.ref])z[Q.ref].rules.push(J);else $.push({ref:Q.ref,rules:[J]})})}),$};class ZN extends E61{constructor($){super();let{maxRows:Y,maxCols:z,ignoreNodes:U}=$||{};this.ignoreNodes=U||[],this.map={sheetPr:new g61,dimension:new _61,sheetViews:new kJ({tag:"sheetViews",count:!1,childXform:new k61}),sheetFormatPr:new y61,cols:new kJ({tag:"cols",count:!1,childXform:new R61}),sheetData:new kJ({tag:"sheetData",count:!1,empty:!0,childXform:new C61({maxItems:z}),maxItems:Y}),autoFilter:new i61,mergeCells:new kJ({tag:"mergeCells",count:!0,childXform:new h61}),rowBreaks:new d61,hyperlinks:new kJ({tag:"hyperlinks",count:!1,childXform:new v61}),pageMargins:new f61,dataValidations:new S61,pageSetup:new u61,headerFooter:new m61,printOptions:new b61,picture:new c61,drawing:new n61,sheetProtection:new x61,tableParts:new kJ({tag:"tableParts",count:!0,childXform:new p61}),conditionalFormatting:new l61,extLst:new o61}}prepare($,Y){Y.merges=new j61,$.hyperlinks=Y.hyperlinks=[],$.comments=Y.comments=[],Y.formulae={},Y.siFormulae=0,this.map.cols.prepare($.cols,Y),this.map.sheetData.prepare($.rows,Y),this.map.conditionalFormatting.prepare($.conditionalFormattings,Y),$.mergeCells=Y.merges.mergeCells;let z=$.rels=[];function U(I){return`rId${I.length+1}`}if($.hyperlinks.forEach((I)=>{let K=U(z);I.rId=K,z.push({Id:K,Type:X7.Hyperlink,Target:I.target,TargetMode:"External"})}),$.comments.length>0){let I={Id:U(z),Type:X7.Comments,Target:`../comments${$.id}.xml`};z.push(I);let K={Id:U(z),Type:X7.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};z.push(K),$.comments.forEach((G)=>{G.refAddress=A61.decodeAddress(G.ref)}),Y.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let Q=[],J;$.media.forEach((I)=>{if(I.type==="background"){let K=U(z);J=Y.media[I.imageId],z.push({Id:K,Type:X7.Image,Target:`../media/${J.name}.${J.extension}`}),$.background={rId:K},$.image=Y.media[I.imageId]}else if(I.type==="image"){let{drawing:K}=$;if(J=Y.media[I.imageId],!K)K=$.drawing={rId:U(z),name:`drawing${++Y.drawingsCount}`,anchors:[],rels:[]},Y.drawings.push(K),z.push({Id:K.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${K.name}.xml`});let G=this.preImageId===I.imageId?Q[I.imageId]:Q[K.rels.length];if(!G)G=U(K.rels),Q[K.rels.length]=G,K.rels.push({Id:G,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${J.name}.${J.extension}`});let W={picture:{rId:G},range:I.range};if(I.hyperlinks&&I.hyperlinks.hyperlink){let H=U(K.rels);Q[K.rels.length]=H,W.picture.hyperlinks={tooltip:I.hyperlinks.tooltip,rId:H},K.rels.push({Id:H,Type:X7.Hyperlink,Target:I.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=I.imageId,K.anchors.push(W)}}),$.tables.forEach((I)=>{let K=U(z);I.rId=K,z.push({Id:K,Type:X7.Table,Target:`../tables/${I.target}`}),I.columns.forEach((G)=>{let{style:W}=G;if(W)G.dxfId=Y.styles.addDxfStyle(W)})}),this.map.extLst.prepare($,Y)}render($,Y){$.openXml(T61.StdDocAttributes),$.openNode("worksheet",ZN.WORKSHEET_ATTRIBUTES);let z=Y.properties?{defaultRowHeight:Y.properties.defaultRowHeight,dyDescent:Y.properties.dyDescent,outlineLevelCol:Y.properties.outlineLevelCol,outlineLevelRow:Y.properties.outlineLevelRow}:void 0;if(Y.properties&&Y.properties.defaultColWidth)z.defaultColWidth=Y.properties.defaultColWidth;let U={outlineProperties:Y.properties&&Y.properties.outlineProperties,tabColor:Y.properties&&Y.properties.tabColor,pageSetup:Y.pageSetup&&Y.pageSetup.fitToPage?{fitToPage:Y.pageSetup.fitToPage}:void 0},Q=Y.pageSetup&&Y.pageSetup.margins,J={showRowColHeaders:Y.pageSetup&&Y.pageSetup.showRowColHeaders,showGridLines:Y.pageSetup&&Y.pageSetup.showGridLines,horizontalCentered:Y.pageSetup&&Y.pageSetup.horizontalCentered,verticalCentered:Y.pageSetup&&Y.pageSetup.verticalCentered},I=Y.sheetProtection;if(this.map.sheetPr.render($,U),this.map.dimension.render($,Y.dimensions),this.map.sheetViews.render($,Y.views),this.map.sheetFormatPr.render($,z),this.map.cols.render($,Y.cols),this.map.sheetData.render($,Y.rows),this.map.sheetProtection.render($,I),this.map.autoFilter.render($,Y.autoFilter),this.map.mergeCells.render($,Y.mergeCells),this.map.conditionalFormatting.render($,Y.conditionalFormattings),this.map.dataValidations.render($,Y.dataValidations),this.map.hyperlinks.render($,Y.hyperlinks),this.map.printOptions.render($,J),this.map.pageMargins.render($,Q),this.map.pageSetup.render($,Y.pageSetup),this.map.headerFooter.render($,Y.headerFooter),this.map.rowBreaks.render($,Y.rowBreaks),this.map.drawing.render($,Y.drawing),this.map.picture.render($,Y.background),this.map.tableParts.render($,Y.tables),this.map.extLst.render($,Y),Y.rels)Y.rels.forEach((K)=>{if(K.Type===X7.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":K.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return P61.each(this.map,(Y)=>{Y.reset()}),!0;if(this.map[$.name]&&!this.ignoreNodes.includes($.name))this.parser=this.map[$.name],this.parser.parseOpen($);return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"worksheet":{let Y=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)Y.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)Y.outlineProperties=this.map.sheetPr.model.outlineProperties;let z={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},U=Object.assign(z,this.map.pageSetup.model,this.map.printOptions.model),Q=s61(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);if(this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:Y,views:this.map.sheetViews.model,pageSetup:U,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:Q},this.map.autoFilter.model)this.model.autoFilter=this.map.autoFilter.model;if(this.map.sheetProtection.model)this.model.sheetProtection=this.map.sheetProtection.model;return!1}default:return!0}}reconcile($,Y){let z=($.relationships||[]).reduce((Q,J)=>{if(Q[J.Id]=J,J.Type===X7.Comments)$.comments=Y.comments[J.Target].comments;if(J.Type===X7.VmlDrawing&&$.comments&&$.comments.length){let I=Y.vmlDrawings[J.Target].comments;$.comments.forEach((K,G)=>{K.note=Object.assign({},K.note,I[G])})}return Q},{});if(Y.commentsMap=($.comments||[]).reduce((Q,J)=>{if(J.ref)Q[J.ref]=J;return Q},{}),Y.hyperlinkMap=($.hyperlinks||[]).reduce((Q,J)=>{if(J.rId)Q[J.address]=z[J.rId].Target;return Q},{}),Y.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((Q)=>{Q.cells=Q.cells&&Q.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,Y),this.map.sheetData.reconcile($.rows,Y),this.map.conditionalFormatting.reconcile($.conditionalFormattings,Y),$.media=[],$.drawing){let J=z[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(J){let I=J[1];Y.drawings[I].anchors.forEach((G)=>{if(G.medium){let W={type:"image",imageId:G.medium.index,range:G.range,hyperlinks:G.picture.hyperlinks};$.media.push(W)}})}}let U=$.background&&z[$.background.rId];if(U){let Q=U.Target.split("/media/")[1],J=Y.mediaIndex&&Y.mediaIndex[Q];if(J!==void 0)$.media.push({type:"background",imageId:J})}$.tables=($.tables||[]).map((Q)=>{let J=z[Q.rId];return Y.tables[J.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}ZN.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"};eU0.exports=ZN});var Sx=E((Wm1,zQ0)=>{var a61=g0();class YQ0 extends a61{parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={range:{editAs:$.attributes.editAs||"oneCell"}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}reconcilePicture($,Y){if($&&$.rId){let U=Y.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(U){let Q=U[1],J=Y.mediaIndex[Q];return Y.media[J]}}return}}zQ0.exports=YQ0});var gx=E((Hm1,QQ0)=>{var t61=g0(),qN=nO();class UQ0 extends t61{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new qN({tag:"xdr:col",zero:!0}),"xdr:colOff":new qN({tag:"xdr:colOff",zero:!0}),"xdr:row":new qN({tag:"xdr:row",zero:!0}),"xdr:rowOff":new qN({tag:"xdr:rowOff",zero:!0})}}render($,Y){$.openNode(this.tag),this.map["xdr:col"].render($,Y.nativeCol),this.map["xdr:colOff"].render($,Y.nativeColOff),this.map["xdr:row"].render($,Y.nativeRow),this.map["xdr:rowOff"].render($,Y.nativeRowOff),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}QQ0.exports=UQ0});var KQ0=E((Xm1,IQ0)=>{var e61=g0();class JQ0 extends e61{get tag(){return"a:blip"}render($,Y){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":Y.rId,cstate:"print"})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}IQ0.exports=JQ0});var HQ0=E((Zm1,WQ0)=>{var $81=g0(),Y81=KQ0();class GQ0 extends $81{constructor(){super();this.map={"a:blip":new Y81}}get tag(){return"xdr:blipFill"}render($,Y){$.openNode(this.tag),this.map["a:blip"].render($,Y),$.openNode("a:stretch"),$.leafNode("a:fillRect"),$.closeNode(),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}WQ0.exports=GQ0});var qQ0=E((qm1,ZQ0)=>{var z81=g0();class XQ0 extends z81{get tag(){return"a:hlinkClick"}render($,Y){if(!(Y.hyperlinks&&Y.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":Y.hyperlinks.rId,tooltip:Y.hyperlinks.tooltip})}parseOpen($){switch($.name){case this.tag:return this.model={hyperlinks:{rId:$.attributes["r:id"],tooltip:$.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}ZQ0.exports=XQ0});var FQ0=E((Vm1,LQ0)=>{var U81=g0();class VQ0 extends U81{get tag(){return"a:extLst"}render($){$.openNode(this.tag),$.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),$.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),$.closeNode(),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}LQ0.exports=VQ0});var OQ0=E((Lm1,MQ0)=>{var Q81=g0(),J81=qQ0(),I81=FQ0();class wQ0 extends Q81{constructor(){super();this.map={"a:hlinkClick":new J81,"a:extLst":new I81}}get tag(){return"xdr:cNvPr"}render($,Y){$.openNode(this.tag,{id:Y.index,name:`Picture ${Y.index}`}),this.map["a:hlinkClick"].render($,Y),this.map["a:extLst"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}MQ0.exports=wQ0});var BQ0=E((Fm1,DQ0)=>{var K81=g0();class NQ0 extends K81{get tag(){return"xdr:cNvPicPr"}render($){$.openNode(this.tag),$.leafNode("a:picLocks",{noChangeAspect:"1"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}DQ0.exports=NQ0});var TQ0=E((wm1,AQ0)=>{var G81=g0(),W81=OQ0(),H81=BQ0();class PQ0 extends G81{constructor(){super();this.map={"xdr:cNvPr":new W81,"xdr:cNvPicPr":new H81}}get tag(){return"xdr:nvPicPr"}render($,Y){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,Y),this.map["xdr:cNvPicPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}AQ0.exports=PQ0});var EQ0=E((Mm1,jQ0)=>{jQ0.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}});var yx=E((Om1,RQ0)=>{var X81=g0(),Z81=RJ(),q81=HQ0(),V81=TQ0(),L81=EQ0();class CQ0 extends X81{constructor(){super();this.map={"xdr:nvPicPr":new V81,"xdr:blipFill":new q81,"xdr:spPr":new Z81(L81)}}get tag(){return"xdr:pic"}prepare($,Y){$.index=Y.index+1}render($,Y){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,Y),this.map["xdr:blipFill"].render($,Y),this.map["xdr:spPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.mergeModel(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}}RQ0.exports=CQ0});var SQ0=E((Nm1,hQ0)=>{var F81=Sx(),w81=RJ(),_Q0=gx(),M81=yx();class vQ0 extends F81{constructor(){super();this.map={"xdr:from":new _Q0({tag:"xdr:from"}),"xdr:to":new _Q0({tag:"xdr:to"}),"xdr:pic":new M81,"xdr:clientData":new w81({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:to"].render($,Y.range.br),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}hQ0.exports=vQ0});var kQ0=E((Dm1,yQ0)=>{var O81=g0();class gQ0 extends O81{constructor($){super();this.tag=$.tag,this.map={}}render($,Y){$.openNode(this.tag);let z=Math.floor(Y.width*9525),U=Math.floor(Y.height*9525);$.addAttribute("cx",z),$.addAttribute("cy",U),$.closeNode()}parseOpen($){if($.name===this.tag)return this.model={width:parseInt($.attributes.cx||"0",10)/9525,height:parseInt($.attributes.cy||"0",10)/9525},!0;return!1}parseText(){}parseClose(){return!1}}yQ0.exports=gQ0});var uQ0=E((Bm1,fQ0)=>{var N81=Sx(),D81=RJ(),B81=gx(),P81=kQ0(),A81=yx();class xQ0 extends N81{constructor(){super();this.map={"xdr:from":new B81({tag:"xdr:from"}),"xdr:ext":new P81({tag:"xdr:ext"}),"xdr:pic":new A81,"xdr:clientData":new D81({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:ext"].render($,Y.range.ext),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}fQ0.exports=xQ0});var iQ0=E((Pm1,bQ0)=>{var T81=i4(),j81=l6(),E81=g0(),C81=SQ0(),R81=uQ0();function _81($){return(typeof $.range==="string"?T81.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class VN extends E81{constructor(){super();this.map={"xdr:twoCellAnchor":new C81,"xdr:oneCellAnchor":new R81}}prepare($){$.anchors.forEach((Y,z)=>{Y.anchorType=_81(Y),this.map[Y.anchorType].prepare(Y,{index:z})})}get tag(){return"xdr:wsDr"}render($,Y){$.openXml(j81.StdDocAttributes),$.openNode(this.tag,VN.DRAWING_ATTRIBUTES),Y.anchors.forEach((z)=>{this.map[z.anchorType].render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.anchors.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((z)=>{if(z.br)this.map["xdr:twoCellAnchor"].reconcile(z,Y);else this.map["xdr:oneCellAnchor"].reconcile(z,Y)})}}VN.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};bQ0.exports=VN});var pQ0=E((Am1,nQ0)=>{var v81=g0();class cQ0 extends v81{get tag(){return"customFilter"}render($,Y){$.leafNode(this.tag,{val:Y.val,operator:Y.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}nQ0.exports=cQ0});var lQ0=E((Tm1,mQ0)=>{var h81=g0();class dQ0 extends h81{get tag(){return"filter"}render($,Y){$.leafNode(this.tag,{val:Y.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}mQ0.exports=dQ0});var aQ0=E((jm1,sQ0)=>{var S81=g0(),oQ0=s3(),g81=pQ0(),y81=lQ0();class rQ0 extends S81{constructor(){super();this.map={customFilters:new oQ0({tag:"customFilters",count:!1,empty:!0,childXform:new g81}),filters:new oQ0({tag:"filters",count:!1,empty:!0,childXform:new y81})}}get tag(){return"filterColumn"}prepare($,Y){$.colId=Y.index.toString()}render($,Y){if(Y.customFilters)return $.openNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),this.map.customFilters.render($,Y.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:Y}=$;switch($.name){case this.tag:return this.model={filterButton:Y.hiddenButton==="0"},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}sQ0.exports=rQ0});var $J0=E((Em1,eQ0)=>{var k81=g0(),x81=aQ0();class tQ0 extends k81{constructor(){super();this.map={filterColumn:new x81}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((Y,z)=>{this.map.filterColumn.prepare(Y,{index:z})})}render($,Y){return $.openNode(this.tag,{ref:Y.autoFilterRef}),Y.columns.forEach((z)=>{this.map.filterColumn.render($,z)}),$.closeNode(),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model={autoFilterRef:$.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.columns.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}eQ0.exports=tQ0});var UJ0=E((Cm1,zJ0)=>{var f81=g0();class YJ0 extends f81{get tag(){return"tableColumn"}prepare($,Y){$.id=Y.index+1}render($,Y){return $.leafNode(this.tag,{id:Y.id.toString(),name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}zJ0.exports=YJ0});var IJ0=E((Rm1,JJ0)=>{var u81=g0();class QJ0 extends u81{get tag(){return"tableStyleInfo"}render($,Y){return $.leafNode(this.tag,{name:Y.theme?Y.theme:void 0,showFirstColumn:Y.showFirstColumn?"1":"0",showLastColumn:Y.showLastColumn?"1":"0",showRowStripes:Y.showRowStripes?"1":"0",showColumnStripes:Y.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={theme:Y.name?Y.name:null,showFirstColumn:Y.showFirstColumn==="1",showLastColumn:Y.showLastColumn==="1",showRowStripes:Y.showRowStripes==="1",showColumnStripes:Y.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}JJ0.exports=QJ0});var GJ0=E((_m1,KJ0)=>{var b81=l6(),i81=g0(),c81=s3(),n81=$J0(),p81=UJ0(),d81=IJ0();class LN extends i81{constructor(){super();this.map={autoFilter:new n81,tableColumns:new c81({tag:"tableColumns",count:!0,empty:!0,childXform:new p81}),tableStyleInfo:new d81}}prepare($,Y){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,Y)}get tag(){return"table"}render($,Y){$.openXml(b81.StdDocAttributes),$.openNode(this.tag,{...LN.TABLE_ATTRIBUTES,id:Y.id,name:Y.name,displayName:Y.displayName||Y.name,ref:Y.tableRef,totalsRowCount:Y.totalsRow?"1":void 0,totalsRowShown:Y.totalsRow?void 0:"1",headerRowCount:Y.headerRow?"1":"0"}),this.map.autoFilter.render($,Y),this.map.tableColumns.render($,Y.columns),this.map.tableStyleInfo.render($,Y.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:Y,attributes:z}=$;switch(Y){case this.tag:this.reset(),this.model={name:z.name,displayName:z.displayName||z.name,tableRef:z.ref,totalsRow:z.totalsRowCount==="1",headerRow:z.headerRowCount==="1"};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:if(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model)this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((Y,z)=>{this.model.columns[z].filterButton=Y.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,Y){$.columns.forEach((z)=>{if(z.dxfId!==void 0)z.style=Y.styles.getDxfStyle(z.dxfId)})}}LN.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"};KJ0.exports=LN});var kx=E((vm1,WJ0)=>{var m81=SH(),l81=Z8(),o81=g0(),r81=WJ0.exports=function($){this.model=$};l81.inherits(r81,o81,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new m81;return this._richTextXform},render($,Y){if(Y=Y||this.model,$.openNode("comment",{ref:Y.ref,authorId:0}),$.openNode("text"),Y&&Y.note&&Y.note.texts)Y.note.texts.forEach((z)=>{this.richTextXform.render($,z)});$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"comment":return this.model={type:"note",note:{texts:[]},...$.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var ZJ0=E((hm1,XJ0)=>{var s81=l6(),a81=Z8(),t81=g0(),e81=kx(),HJ0=XJ0.exports=function(){this.map={comment:new e81}};a81.inherits(HJ0,t81,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,Y){Y=Y||this.model,$.openXml(s81.StdDocAttributes),$.openNode("comments",HJ0.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),Y.comments.forEach((z)=>{this.map.comment.render($,z)}),$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var LJ0=E((Sm1,VJ0)=>{var $$1=g0();class qJ0 extends $$1{get tag(){return"v:textbox"}conversionUnit($,Y,z){return`${parseFloat($)*Y.toFixed(2)}${z}`}reverseConversionUnit($){return($||"").split(",").map((Y)=>{return Number(parseFloat(this.conversionUnit(parseFloat(Y),0.1,"")).toFixed(2))})}render($,Y){let z={style:"mso-direction-alt:auto"};if(Y&&Y.note){let{inset:U}=Y.note&&Y.note.margins;if(Array.isArray(U))U=U.map((Q)=>{return this.conversionUnit(Q,10,"mm")}).join(",");if(U)z.inset=U}$.openNode("v:textbox",z),$.leafNode("div",{style:"text-align:left"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return this.model={inset:this.reverseConversionUnit($.attributes.inset)},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}VJ0.exports=qJ0});var MJ0=E((gm1,wJ0)=>{var Y$1=g0();class FJ0 extends Y$1{get tag(){return"x:Anchor"}getAnchorRect($){let Y=Math.floor($.left),z=Math.floor(($.left-Y)*68),U=Math.floor($.top),Q=Math.floor(($.top-U)*18),J=Math.floor($.right),I=Math.floor(($.right-J)*68),K=Math.floor($.bottom),G=Math.floor(($.bottom-K)*18);return[Y,z,U,Q,J,I,K,G]}getDefaultRect($){let Y=$.col,z=6,U=Math.max($.row-2,0),Q=14,J=Y+2,I=2,K=U+4,G=16;return[Y,6,U,14,J,2,K,16]}render($,Y){let z=Y.anchor?this.getAnchorRect(Y.anchor):this.getDefaultRect(Y.refAddress);$.leafNode("x:Anchor",null,z.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}wJ0.exports=FJ0});var DJ0=E((ym1,NJ0)=>{var z$1=g0();class OJ0 extends z$1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}NJ0.exports=OJ0});var AJ0=E((km1,PJ0)=>{var U$1=g0();class BJ0 extends U$1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y,z){if(Y===z[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&Y===z[1])$.leafNode(this.tag)}parseOpen($){switch($.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}PJ0.exports=BJ0});var RJ0=E((xm1,CJ0)=>{var Q$1=g0(),J$1=MJ0(),TJ0=DJ0(),jJ0=AJ0(),xx=["twoCells","oneCells","absolute"];class EJ0 extends Q$1{constructor(){super();this.map={"x:Anchor":new J$1,"x:Locked":new TJ0({tag:"x:Locked"}),"x:LockText":new TJ0({tag:"x:LockText"}),"x:SizeWithCells":new jJ0({tag:"x:SizeWithCells"}),"x:MoveWithCells":new jJ0({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,Y){let{protection:z,editAs:U}=Y.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,U,xx),this.map["x:SizeWithCells"].render($,U,xx),this.map["x:Anchor"].render($,Y),this.map["x:Locked"].render($,z.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,z.lockText),$.leafNode("x:Row",null,Y.refAddress.row-1),$.leafNode("x:Column",null,Y.refAddress.col-1),$.closeNode()}parseOpen($){switch($.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let $=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),Y=Object.keys($).length;this.model.editAs=xx[Y],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}CJ0.exports=EJ0});var fx=E((fm1,_J0)=>{var I$1=g0(),K$1=LJ0(),G$1=RJ0();class FN extends I$1{constructor(){super();this.map={"v:textbox":new K$1,"x:ClientData":new G$1}}get tag(){return"v:shape"}render($,Y,z){$.openNode("v:shape",FN.V_SHAPE_ATTRIBUTES(Y,z)),$.leafNode("v:fill",{color2:"infoBackground [80]"}),$.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),$.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render($,Y),this.map["x:ClientData"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={margins:{insetmode:$.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}FN.V_SHAPE_ATTRIBUTES=($,Y)=>({id:`_x0000_s${1025+Y}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":$.note.margins&&$.note.margins.insetmode});_J0.exports=FN});var hJ0=E((um1,vJ0)=>{var W$1=l6(),H$1=g0(),X$1=fx();class wN extends H$1{constructor(){super();this.map={"v:shape":new X$1}}get tag(){return"xml"}render($,Y){$.openXml(W$1.StdDocAttributes),$.openNode(this.tag,wN.DRAWING_ATTRIBUTES),$.openNode("o:shapelayout",{"v:ext":"edit"}),$.leafNode("o:idmap",{"v:ext":"edit",data:1}),$.closeNode(),$.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),$.leafNode("v:stroke",{joinstyle:"miter"}),$.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),$.closeNode(),Y.comments.forEach((z,U)=>{this.map["v:shape"].render($,z,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={comments:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.comments.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((z)=>{if(z.br)this.map["xdr:twoCellAnchor"].reconcile(z,Y);else this.map["xdr:oneCellAnchor"].reconcile(z,Y)})}}wN.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"};vJ0.exports=wN});var ux=E((bm1,SJ0)=>{SJ0.exports=` + `});var lx=E((cm1,fJ0)=>{var mx=I0("fs"),Z$1=py(),{PassThrough:bx}=E8(),q$1=M70(),ix=jH(),V$1=Z8(),MN=l6(),{bufferToString:im1}=Mk(),cx=tO(),gJ0=ak(),nx=tk(),qz=zN(),L$1=ek(),yJ0=$x(),ON=QN(),NN=$Q0(),px=iQ0(),dx=GJ0(),kJ0=ZJ0(),xJ0=hJ0(),F$1=ux();function w$1($,Y){return new Promise((z,U)=>{mx.readFile($,Y,(Q,J)=>{if(Q)U(Q);else z(J)})})}class I9{constructor($){this.workbook=$}async readFile($,Y){if(!await V$1.fs.exists($))throw Error(`File not found: ${$}`);let z=mx.createReadStream($);try{let U=await this.read(z,Y);return z.close(),U}catch(U){throw z.close(),U}}parseRels($){return new qz().parseStream($)}parseWorkbook($){return new ON().parseStream($)}parseSharedStrings($){return new nx().parseStream($)}reconcile($,Y){let z=new ON,U=new NN(Y),Q=new px,J=new dx;z.reconcile($);let I={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((W)=>{let H=$.drawings[W],X=$.drawingRels[W];if(X)I.rels=X.reduce((Z,q)=>{return Z[q.Id]=q,Z},{}),(H.anchors||[]).forEach((Z)=>{let q=Z.picture&&Z.picture.hyperlinks;if(q&&I.rels[q.rId])q.hyperlink=I.rels[q.rId].Target,delete q.rId}),Q.reconcile(H,I)});let K={styles:$.styles};Object.values($.tables).forEach((W)=>{J.reconcile(W,K)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((W)=>{W.relationships=$.worksheetRels[W.sheetNo],U.reconcile(W,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,Y,z,U,Q){let I=await new NN(U).parseStream($);I.sheetNo=z,Y.worksheetHash[Q]=I,Y.worksheets.push(I)}async _processCommentEntry($,Y,z){let Q=await new kJ0().parseStream($);Y.comments[`../${z}.xml`]=Q}async _processTableEntry($,Y,z){let Q=await new dx().parseStream($);Y.tables[`../tables/${z}.xml`]=Q}async _processWorksheetRelsEntry($,Y,z){let Q=await new qz().parseStream($);Y.worksheetRels[z]=Q}async _processMediaEntry($,Y,z){let U=z.lastIndexOf(".");if(U>=1){let Q=z.substr(U+1),J=z.substr(0,U);await new Promise((I,K)=>{let G=new ix;G.on("finish",()=>{Y.mediaIndex[z]=Y.media.length,Y.mediaIndex[J]=Y.media.length;let W={type:"image",name:J,extension:Q,buffer:G.toBuffer()};Y.media.push(W),I()}),$.on("error",(W)=>{K(W)}),$.pipe(G)})}}async _processDrawingEntry($,Y,z){let Q=await new px().parseStream($);Y.drawings[z]=Q}async _processDrawingRelsEntry($,Y,z){let Q=await new qz().parseStream($);Y.drawingRels[z]=Q}async _processVmlDrawingEntry($,Y,z){let Q=await new xJ0().parseStream($);Y.vmlDrawings[`../drawings/${z}.vml`]=Q}async _processThemeEntry($,Y,z){await new Promise((U,Q)=>{let J=new ix;$.on("error",Q),J.on("error",Q),J.on("finish",()=>{Y.themes[z]=J.read().toString(),U()}),$.pipe(J)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,Y){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new bx);let z=[];for await(let U of $)z.push(U);return this.load(Buffer.concat(z),Y)}async load($,Y){let z;if(Y&&Y.base64)z=Buffer.from($.toString(),"base64");else z=$;let U={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},Q=await Z$1.loadAsync(z);for(let J of Object.values(Q.files))if(!J.dir){let I=J.name;if(I[0]==="/")I=I.substr(1);let K;if(I.match(/xl\/media\//)||I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))K=new bx,K.write(await J.async("nodebuffer"));else{K=new bx({writableObjectMode:!0,readableObjectMode:!0});let G;G=await J.async("string");let W=16384;for(let H=0;H{if(z.type==="image"){let U=`xl/media/${z.name}.${z.extension}`;if(z.filename){let Q=await w$1(z.filename);return $.append(Q,{name:U})}if(z.buffer)return $.append(z.buffer,{name:U});if(z.base64){let Q=z.base64,J=Q.substring(Q.indexOf(",")+1);return $.append(J,{name:U,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,Y){let z=new px,U=new qz;Y.worksheets.forEach((Q)=>{let{drawing:J}=Q;if(J){z.prepare(J,{});let I=z.toXml(J);$.append(I,{name:`xl/drawings/${J.name}.xml`}),I=U.toXml(J.rels),$.append(I,{name:`xl/drawings/_rels/${J.name}.xml.rels`})}})}addTables($,Y){let z=new dx;Y.worksheets.forEach((U)=>{let{tables:Q}=U;Q.forEach((J)=>{z.prepare(J,{});let I=z.toXml(J);$.append(I,{name:`xl/tables/${J.target}`})})})}async addContentTypes($,Y){let U=new L$1().toXml(Y);$.append(U,{name:"[Content_Types].xml"})}async addApp($,Y){let U=new yJ0().toXml(Y);$.append(U,{name:"docProps/app.xml"})}async addCore($,Y){let z=new gJ0;$.append(z.toXml(Y),{name:"docProps/core.xml"})}async addThemes($,Y){let z=Y.themes||{theme1:F$1};Object.keys(z).forEach((U)=>{let Q=z[U],J=`xl/theme/${U}.xml`;$.append(Q,{name:J})})}async addOfficeRels($){let z=new qz().toXml([{Id:"rId1",Type:I9.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:I9.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:I9.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(z,{name:"_rels/.rels"})}async addWorkbookRels($,Y){let z=1,U=[{Id:`rId${z++}`,Type:I9.RelType.Styles,Target:"styles.xml"},{Id:`rId${z++}`,Type:I9.RelType.Theme,Target:"theme/theme1.xml"}];if(Y.sharedStrings.count)U.push({Id:`rId${z++}`,Type:I9.RelType.SharedStrings,Target:"sharedStrings.xml"});Y.worksheets.forEach((I)=>{I.rId=`rId${z++}`,U.push({Id:I.rId,Type:I9.RelType.Worksheet,Target:`worksheets/sheet${I.id}.xml`})});let J=new qz().toXml(U);$.append(J,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,Y){if(Y.sharedStrings&&Y.sharedStrings.count)$.append(Y.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,Y){let{xml:z}=Y.styles;if(z)$.append(z,{name:"xl/styles.xml"})}async addWorkbook($,Y){let z=new ON;$.append(z.toXml(Y),{name:"xl/workbook.xml"})}async addWorksheets($,Y){let z=new NN,U=new qz,Q=new kJ0,J=new xJ0;Y.worksheets.forEach((I)=>{let K=new MN;if(z.render(K,I),$.append(K.xml,{name:`xl/worksheets/sheet${I.id}.xml`}),I.rels&&I.rels.length)K=new MN,U.render(K,I.rels),$.append(K.xml,{name:`xl/worksheets/_rels/sheet${I.id}.xml.rels`});if(I.comments.length>0)K=new MN,Q.render(K,I),$.append(K.xml,{name:`xl/comments${I.id}.xml`}),K=new MN,J.render(K,I),$.append(K.xml,{name:`xl/drawings/vmlDrawing${I.id}.vml`})})}_finalize($){return new Promise((Y,z)=>{$.on("finish",()=>{Y(this)}),$.on("error",z),$.finalize()})}prepareModel($,Y){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=Y.useSharedStrings!==void 0?Y.useSharedStrings:!0,$.useStyles=Y.useStyles!==void 0?Y.useStyles:!0,$.sharedStrings=new nx,$.styles=$.useStyles?new cx(!0):new cx.Mock;let z=new ON,U=new NN;z.prepare($);let Q={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};Q.drawings=$.drawings=[],Q.commentRefs=$.commentRefs=[];let J=0;$.tables=[],$.worksheets.forEach((I)=>{I.tables.forEach((K)=>{J++,K.target=`table${J}.xml`,K.id=J,$.tables.push(K)}),U.prepare(I,Q)})}async write($,Y){Y=Y||{};let{model:z}=this.workbook,U=new q$1.ZipWriter(Y.zip);return U.pipe($),this.prepareModel(z,Y),await this.addContentTypes(U,z),await this.addOfficeRels(U,z),await this.addWorkbookRels(U,z),await this.addWorksheets(U,z),await this.addSharedStrings(U,z),await this.addDrawings(U,z),await this.addTables(U,z),await Promise.all([this.addThemes(U,z),this.addStyles(U,z)]),await this.addMedia(U,z),await Promise.all([this.addApp(U,z),this.addCore(U,z)]),await this.addWorkbook(U,z),this._finalize(U)}writeFile($,Y){let z=mx.createWriteStream($);return new Promise((U,Q)=>{z.on("finish",()=>{U()}),z.on("error",(J)=>{Q(J)}),this.write(z,Y).then(()=>{z.end()}).catch((J)=>{Q(J)})})}async writeBuffer($){let Y=new ix;return await this.write(Y,$),Y.read()}}I9.RelType=e3();fJ0.exports=I9});var ox=E((bJ0)=>{Object.defineProperty(bJ0,"__esModule",{value:!0});bJ0.FormatterOptions=void 0;class uJ0{constructor($={}){var Y;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` +`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((Y=$.writeHeaders)!==null&&Y!==void 0?Y:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}bJ0.FormatterOptions=uJ0});var DN=E((pm1,dJ0)=>{var M$1="[object AsyncFunction]",O$1="[object Function]",N$1="[object GeneratorFunction]",D$1="[object Null]",B$1="[object Proxy]",P$1="[object Undefined]",A$1=typeof global=="object"&&global&&global.Object===Object&&global,T$1=typeof self=="object"&&self&&self.Object===Object&&self,j$1=A$1||T$1||Function("return this")(),nJ0=Object.prototype,E$1=nJ0.hasOwnProperty,pJ0=nJ0.toString,cJ0=j$1.Symbol,Vz=cJ0?cJ0.toStringTag:void 0;function C$1($){if($==null)return $===void 0?P$1:D$1;return Vz&&Vz in Object($)?R$1($):_$1($)}function R$1($){var Y=E$1.call($,Vz),z=$[Vz];try{$[Vz]=void 0;var U=!0}catch(J){}var Q=pJ0.call($);if(U)if(Y)$[Vz]=z;else delete $[Vz];return Q}function _$1($){return pJ0.call($)}function v$1($){if(!h$1($))return!1;var Y=C$1($);return Y==O$1||Y==N$1||Y==M$1||Y==B$1}function h$1($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}dJ0.exports=v$1});var jI0=E((BN,fJ)=>{var S$1=200,Jf="__lodash_hash_undefined__",_N=1,UI0=2,QI0=9007199254740991,PN="[object Arguments]",tx="[object Array]",g$1="[object AsyncFunction]",JI0="[object Boolean]",II0="[object Date]",KI0="[object Error]",GI0="[object Function]",y$1="[object GeneratorFunction]",AN="[object Map]",WI0="[object Number]",k$1="[object Null]",xJ="[object Object]",mJ0="[object Promise]",x$1="[object Proxy]",HI0="[object RegExp]",TN="[object Set]",XI0="[object String]",f$1="[object Symbol]",u$1="[object Undefined]",ex="[object WeakMap]",ZI0="[object ArrayBuffer]",jN="[object DataView]",b$1="[object Float32Array]",i$1="[object Float64Array]",c$1="[object Int8Array]",n$1="[object Int16Array]",p$1="[object Int32Array]",d$1="[object Uint8Array]",m$1="[object Uint8ClampedArray]",l$1="[object Uint16Array]",o$1="[object Uint32Array]",r$1=/[\\^$.*+?()[\]{}|]/g,s$1=/^\[object .+?Constructor\]$/,a$1=/^(?:0|[1-9]\d*)$/,A4={};A4[b$1]=A4[i$1]=A4[c$1]=A4[n$1]=A4[p$1]=A4[d$1]=A4[m$1]=A4[l$1]=A4[o$1]=!0;A4[PN]=A4[tx]=A4[ZI0]=A4[JI0]=A4[jN]=A4[II0]=A4[KI0]=A4[GI0]=A4[AN]=A4[WI0]=A4[xJ]=A4[HI0]=A4[TN]=A4[XI0]=A4[ex]=!1;var qI0=typeof global=="object"&&global&&global.Object===Object&&global,t$1=typeof self=="object"&&self&&self.Object===Object&&self,Z7=qI0||t$1||Function("return this")(),VI0=typeof BN=="object"&&BN&&!BN.nodeType&&BN,lJ0=VI0&&typeof fJ=="object"&&fJ&&!fJ.nodeType&&fJ,LI0=lJ0&&lJ0.exports===VI0,rx=LI0&&qI0.process,oJ0=function(){try{return rx&&rx.binding&&rx.binding("util")}catch($){}}(),rJ0=oJ0&&oJ0.isTypedArray;function e$1($,Y){var z=-1,U=$==null?0:$.length,Q=0,J=[];while(++z-1}function R51($,Y){var z=this.__data__,U=hN(z,$);if(U<0)++this.size,z.push([$,Y]);else z[U][1]=Y;return this}q7.prototype.clear=T51;q7.prototype.delete=j51;q7.prototype.get=E51;q7.prototype.has=C51;q7.prototype.set=R51;function wz($){var Y=-1,z=$==null?0:$.length;this.clear();while(++YK))return!1;var W=J.get($);if(W&&J.get(Y))return W==Y;var H=-1,X=!0,Z=z&UI0?new CN:void 0;J.set($,Y),J.set(Y,$);while(++H-1&&$%1==0&&$-1&&$%1==0&&$<=QI0}function AI0($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}function uH($){return $!=null&&typeof $=="object"}var TI0=rJ0?U51(rJ0):m51;function I91($){return Q91($)?c51($):l51($)}function K91(){return[]}function G91(){return!1}fJ.exports=J91});var CI0=E((mm1,EI0)=>{var W91="[object Boolean]",H91=Object.prototype,X91=H91.toString;function Z91($){return $===!0||$===!1||q91($)&&X91.call($)==W91}function q91($){return!!$&&typeof $=="object"}EI0.exports=Z91});var If=E((lm1,RI0)=>{function V91($){return $==null}RI0.exports=V91});var Kf=E((om1,gI0)=>{var L91=1/0,F91="[object Symbol]",SI0=/[\\^$.*+?()[\]{}|]/g,w91=RegExp(SI0.source),M91=typeof global=="object"&&global&&global.Object===Object&&global,O91=typeof self=="object"&&self&&self.Object===Object&&self,N91=M91||O91||Function("return this")(),D91=Object.prototype,B91=D91.toString,_I0=N91.Symbol,vI0=_I0?_I0.prototype:void 0,hI0=vI0?vI0.toString:void 0;function P91($){if(typeof $=="string")return $;if(T91($))return hI0?hI0.call($):"";var Y=$+"";return Y=="0"&&1/$==-L91?"-0":Y}function A91($){return!!$&&typeof $=="object"}function T91($){return typeof $=="symbol"||A91($)&&B91.call($)==F91}function j91($){return $==null?"":P91($)}function E91($){return $=j91($),$&&w91.test($)?$.replace(SI0,"\\$&"):$}gI0.exports=E91});var Wf=E((bJ)=>{var Gf=bJ&&bJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(bJ,"__esModule",{value:!0});bJ.FieldFormatter=void 0;var C91=Gf(CI0()),R91=Gf(If()),_91=Gf(Kf());class yI0{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let Y=`[${$.delimiter}${_91.default($.rowDelimiter)}|\r| +]`;this.ESCAPE_REGEXP=new RegExp(Y)}set headers($){this._headers=$}shouldQuote($,Y){let z=Y?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(C91.default(z))return z;if(Array.isArray(z))return z[$];if(this._headers!==null)return z[this._headers[$]];return!1}format($,Y,z){let U=`${R91.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:Q}=this;if(Q.quote!==""){if(U.indexOf(Q.quote)!==-1)return this.quoteField(U.replace(this.REPLACE_REGEXP,Q.escapedQuote))}if(U.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(Y,z))return this.quoteField(U);return U}quoteField($){let{quote:Y}=this.formatterOptions;return`${Y}${$}${Y}`}}bJ.FieldFormatter=yI0});var Hf=E((kI0)=>{Object.defineProperty(kI0,"__esModule",{value:!0});kI0.isSyncTransform=void 0;kI0.isSyncTransform=($)=>$.length===1});var uI0=E((iJ)=>{var fI0=iJ&&iJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(iJ,"__esModule",{value:!0});iJ.RowFormatter=void 0;var v91=fI0(DN()),h91=fI0(jI0()),S91=Wf(),g91=Hf();class Oz{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new S91.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(Oz.isRowHashArray($))return $.map((Y)=>Y[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(g91.isSyncTransform($))return(Y,z)=>{let U=null;try{U=$(Y)}catch(Q){return z(Q)}return z(null,U)};return(Y,z)=>{$(Y,z)}}set rowTransform($){if(!v91.default($))throw TypeError("The transform should be a function");this._rowTransform=Oz.createTransform($)}format($,Y){this.callTransformer($,(z,U)=>{if(z)return Y(z);if(!$)return Y(null);let Q=[];if(U){let{shouldFormatColumns:J,headers:I}=this.checkHeaders(U);if(this.shouldWriteHeaders&&I&&!this.hasWrittenHeaders)Q.push(this.formatColumns(I,!0)),this.hasWrittenHeaders=!0;if(J){let K=this.gatherColumns(U);Q.push(this.formatColumns(K,!1))}}return Y(null,Q)})}finish($){let Y=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));Y.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)Y.push(this.formatterOptions.rowDelimiter);return $(null,Y)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let Y=Oz.gatherHeaders($);if(this.headers=Y,this.fieldFormatter.headers=Y,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!h91.default(Y,$),headers:Y}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((Y)=>$[Y]);if(Oz.isRowHashArray($))return this.headers.map((Y,z)=>{let U=$[z];if(U)return U[1];return""});if(Oz.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((Y,z)=>$[z])}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}formatColumns($,Y){let z=$.map((Q,J)=>this.fieldFormatter.format(Q,J,Y)).join(this.formatterOptions.delimiter),{rowCount:U}=this;if(this.rowCount+=1,U)return[this.formatterOptions.rowDelimiter,z].join("");return z}}iJ.RowFormatter=Oz});var bI0=E((gN)=>{Object.defineProperty(gN,"__esModule",{value:!0});gN.FieldFormatter=gN.RowFormatter=void 0;var y91=uI0();Object.defineProperty(gN,"RowFormatter",{enumerable:!0,get:function(){return y91.RowFormatter}});var k91=Wf();Object.defineProperty(gN,"FieldFormatter",{enumerable:!0,get:function(){return k91.FieldFormatter}})});var Xf=E((cI0)=>{Object.defineProperty(cI0,"__esModule",{value:!0});cI0.CsvFormatterStream=void 0;var f91=I0("stream"),u91=bI0();class iI0 extends f91.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new u91.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,Y,z){let U=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(Q,J)=>{if(Q)return U=!0,z(Q);if(J)J.forEach((I)=>{this.push(Buffer.from(I,"utf8"))});return U=!0,z()})}catch(Q){if(U)throw Q;z(Q)}}_flush($){this.rowFormatter.finish((Y,z)=>{if(Y)return $(Y);if(z)z.forEach((U)=>{this.push(Buffer.from(U,"utf8"))});return $()})}}cI0.CsvFormatterStream=iI0});var dI0=E((s1)=>{var pI0=s1&&s1.__createBinding||(Object.create?function($,Y,z,U){if(U===void 0)U=z;Object.defineProperty($,U,{enumerable:!0,get:function(){return Y[z]}})}:function($,Y,z,U){if(U===void 0)U=z;$[U]=Y[z]}),b91=s1&&s1.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),i91=s1&&s1.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var z in $)if(z!=="default"&&Object.prototype.hasOwnProperty.call($,z))pI0(Y,$,z)}return b91(Y,$),Y},c91=s1&&s1.__exportStar||function($,Y){for(var z in $)if(z!=="default"&&!Object.prototype.hasOwnProperty.call(Y,z))pI0(Y,$,z)};Object.defineProperty(s1,"__esModule",{value:!0});s1.writeToPath=s1.writeToString=s1.writeToBuffer=s1.writeToStream=s1.write=s1.format=s1.FormatterOptions=s1.CsvFormatterStream=void 0;var n91=I0("util"),p91=I0("stream"),d91=i91(I0("fs")),m91=ox(),l91=Xf();c91(Hf(),s1);var o91=Xf();Object.defineProperty(s1,"CsvFormatterStream",{enumerable:!0,get:function(){return o91.CsvFormatterStream}});var r91=ox();Object.defineProperty(s1,"FormatterOptions",{enumerable:!0,get:function(){return r91.FormatterOptions}});s1.format=($)=>new l91.CsvFormatterStream(new m91.FormatterOptions($));s1.write=($,Y)=>{let z=s1.format(Y),U=n91.promisify((Q,J)=>{z.write(Q,void 0,J)});return $.reduce((Q,J)=>Q.then(()=>U(J)),Promise.resolve()).then(()=>z.end()).catch((Q)=>{z.emit("error",Q)}),z};s1.writeToStream=($,Y,z)=>s1.write(Y,z).pipe($);s1.writeToBuffer=($,Y={})=>{let z=[],U=new p91.Writable({write(Q,J,I){z.push(Q),I()}});return new Promise((Q,J)=>{U.on("error",J).on("finish",()=>Q(Buffer.concat(z))),s1.write($,Y).pipe(U)})};s1.writeToString=($,Y)=>s1.writeToBuffer($,Y).then((z)=>z.toString());s1.writeToPath=($,Y,z)=>{let U=d91.createWriteStream($,{encoding:"utf8"});return s1.write(Y,z).pipe(U)}});var Zf=E((cJ)=>{var mI0=cJ&&cJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(cJ,"__esModule",{value:!0});cJ.ParserOptions=void 0;var s91=mI0(Kf()),a91=mI0(If());class lI0{constructor($){var Y;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=s91.default(this.delimiter),this.escapeChar=(Y=this.escape)!==null&&Y!==void 0?Y:this.quote,this.supportsComments=!a91.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}cJ.ParserOptions=lI0});var qf=E((oI0)=>{Object.defineProperty(oI0,"__esModule",{value:!0});oI0.isSyncValidate=oI0.isSyncTransform=void 0;oI0.isSyncTransform=($)=>$.length===1;oI0.isSyncValidate=($)=>$.length===1});var tI0=E((nJ)=>{var e91=nJ&&nJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(nJ,"__esModule",{value:!0});nJ.RowTransformerValidator=void 0;var sI0=e91(DN()),aI0=qf();class yN{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(aI0.isSyncTransform($))return(Y,z)=>{let U=null;try{U=$(Y)}catch(Q){return z(Q)}return z(null,U)};return $}static createValidator($){if(aI0.isSyncValidate($))return(Y,z)=>{z(null,{row:Y,isValid:$(Y)})};return(Y,z)=>{$(Y,(U,Q,J)=>{if(U)return z(U);if(Q)return z(null,{row:Y,isValid:Q,reason:J});return z(null,{row:Y,isValid:!1,reason:J})})}}set rowTransform($){if(!sI0.default($))throw TypeError("The transform should be a function");this._rowTransform=yN.createTransform($)}set rowValidator($){if(!sI0.default($))throw TypeError("The validate should be a function");this._rowValidator=yN.createValidator($)}transformAndValidate($,Y){return this.callTransformer($,(z,U)=>{if(z)return Y(z);if(!U)return Y(null,{row:null,isValid:!0});return this.callValidator(U,(Q,J)=>{if(Q)return Y(Q);if(J&&!J.isValid)return Y(null,{row:U,isValid:!1,reason:J.reason});return Y(null,{row:U,isValid:!0})})})}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}callValidator($,Y){if(!this._rowValidator)return Y(null,{row:$,isValid:!0});return this._rowValidator($,Y)}}nJ.RowTransformerValidator=yN});var $K0=E((Jl1,eI0)=>{function $71($){return $===void 0}eI0.exports=$71});var KK0=E((Il1,IK0)=>{var Y71=200,Ff="__lodash_hash_undefined__",z71=1/0,U71="[object Function]",Q71="[object GeneratorFunction]",J71=/[\\^$.*+?()[\]{}|]/g,I71=/^\[object .+?Constructor\]$/,K71=typeof global=="object"&&global&&global.Object===Object&&global,G71=typeof self=="object"&&self&&self.Object===Object&&self,wf=K71||G71||Function("return this")();function W71($,Y){var z=$?$.length:0;return!!z&&Z71($,Y,0)>-1}function H71($,Y,z){var U=-1,Q=$?$.length:0;while(++U-1}function h71($,Y){var z=this.__data__,U=xN(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}pJ.prototype.clear=C71;pJ.prototype.delete=R71;pJ.prototype.get=_71;pJ.prototype.has=v71;pJ.prototype.set=h71;function dJ($){var Y=-1,z=$?$.length:0;this.clear();while(++Y=Y71){var W=Y?null:c71($);if(W)return zK0(W);I=!1,Q=V71,G=new kN}else G=Y?[]:K;$:while(++U{var s71=200,a71="Expected a function",Rf="__lodash_hash_undefined__",lN=1,oJ=2,wK0=1/0,MK0=9007199254740991,bN="[object Arguments]",Bf="[object Array]",OK0="[object Boolean]",NK0="[object Date]",DK0="[object Error]",BK0="[object Function]",t71="[object GeneratorFunction]",iN="[object Map]",PK0="[object Number]",mJ="[object Object]",GK0="[object Promise]",AK0="[object RegExp]",cN="[object Set]",TK0="[object String]",jK0="[object Symbol]",Pf="[object WeakMap]",EK0="[object ArrayBuffer]",nN="[object DataView]",e71="[object Float32Array]",$31="[object Float64Array]",Y31="[object Int8Array]",z31="[object Int16Array]",U31="[object Int32Array]",Q31="[object Uint8Array]",J31="[object Uint8ClampedArray]",I31="[object Uint16Array]",K31="[object Uint32Array]",G31=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W31=/^\w*$/,H31=/^\./,X31=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z31=/[\\^$.*+?()[\]{}|]/g,q31=/\\(\\)?/g,V31=/^\[object .+?Constructor\]$/,L31=/^(?:0|[1-9]\d*)$/,T4={};T4[e71]=T4[$31]=T4[Y31]=T4[z31]=T4[U31]=T4[Q31]=T4[J31]=T4[I31]=T4[K31]=!0;T4[bN]=T4[Bf]=T4[EK0]=T4[OK0]=T4[nN]=T4[NK0]=T4[DK0]=T4[BK0]=T4[iN]=T4[PK0]=T4[mJ]=T4[AK0]=T4[cN]=T4[TK0]=T4[Pf]=!1;var CK0=typeof global=="object"&&global&&global.Object===Object&&global,F31=typeof self=="object"&&self&&self.Object===Object&&self,J2=CK0||F31||Function("return this")(),RK0=typeof uN=="object"&&uN&&!uN.nodeType&&uN,WK0=RK0&&typeof lJ=="object"&&lJ&&!lJ.nodeType&&lJ,w31=WK0&&WK0.exports===RK0,HK0=w31&&CK0.process,XK0=function(){try{return HK0&&HK0.binding("util")}catch($){}}(),ZK0=XK0&&XK0.isTypedArray;function M31($,Y,z,U){var Q=-1,J=$?$.length:0;while(++Q-1}function l31($,Y){var z=this.__data__,U=rN(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}L7.prototype.clear=n31;L7.prototype.delete=p31;L7.prototype.get=d31;L7.prototype.has=m31;L7.prototype.set=l31;function F7($){var Y=-1,z=$?$.length:0;this.clear();while(++YK))return!1;var W=J.get($);if(W&&J.get(Y))return W==Y;var H=-1,X=!0,Z=Q&lN?new dN:void 0;J.set($,Y),J.set(Y,$);while(++H-1&&$%1==0&&$-1&&$%1==0&&$<=MK0}function eN($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function $D($){return!!$&&typeof $=="object"}function gf($){return typeof $=="symbol"||$D($)&&rJ.call($)==jK0}var k21=ZK0?B31(ZK0):F21;function x21($){return $==null?"":B21($)}function f21($,Y,z){var U=$==null?void 0:vK0($,Y);return U===void 0?z:U}function u21($,Y){return $!=null&&R21($,Y,Z21)}function mN($){return hf($)?I21($):M21($)}function b21($){return $}function i21($){return aN($)?N31(tN($)):D21($)}lJ.exports=g21});var nK0=E((aJ)=>{var YD=aJ&&aJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(aJ,"__esModule",{value:!0});aJ.HeaderTransformer=void 0;var iK0=YD($K0()),c21=YD(DN()),n21=YD(KK0()),p21=YD(bK0());class cK0{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(c21.default($.headers))this.headersTransform=$.headers}transform($,Y){if(!this.shouldMapRow($))return Y(null,{row:null,isValid:!0});return Y(null,this.processRow($))}shouldMapRow($){let{parserOptions:Y}=this;if(!this.headersTransform&&Y.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:Y}=this;if(!Y.discardUnmappedColumns&&$.length>this.headersLength){if(!Y.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(Y.strictColumnHandling&&$.length!!U);if(n21.default(z).length!==z.length){let U=p21.default(z),Q=Object.keys(U).filter((J)=>U[J].length>1);throw Error(`Duplicate headers found ${JSON.stringify(Q)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((Y=this.headers)===null||Y===void 0?void 0:Y.length)||0}}aJ.HeaderTransformer=cK0});var pK0=E((zD)=>{Object.defineProperty(zD,"__esModule",{value:!0});zD.HeaderTransformer=zD.RowTransformerValidator=void 0;var d21=tI0();Object.defineProperty(zD,"RowTransformerValidator",{enumerable:!0,get:function(){return d21.RowTransformerValidator}});var m21=nK0();Object.defineProperty(zD,"HeaderTransformer",{enumerable:!0,get:function(){return m21.HeaderTransformer}})});var I2=E((mK0)=>{Object.defineProperty(mK0,"__esModule",{value:!0});mK0.Token=void 0;class dK0{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let Y=$.token;return Y==="\r"||Y===` `||Y===`\r -`}static isTokenCarriageReturn($,Y){return $.token===Y.carriageReturn}static isTokenComment($,Y){return Y.supportsComments&&!!$&&$.token===Y.comment}static isTokenEscapeCharacter($,Y){return $.token===Y.escapeChar}static isTokenQuote($,Y){return $.token===Y.quote}static isTokenDelimiter($,Y){return $.token===Y.delimiter}}mK0.Token=dK0});var Sf=E((sK0)=>{Object.defineProperty(sK0,"__esModule",{value:!0});sK0.Scanner=void 0;var oK0=I2(),m21=/((?:\r\n)|\n|\r)/;class rK0{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,Y=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(Y)===-1)return null;let z=Y.exec($);if(z==null)return null;let U=z[1],Q=this.cursor+(z.index||0);return new oK0.Token({token:U,startCursor:Q,endCursor:Q+U.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:Y}=this;if(Y<=$)return null;return new oK0.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=m21.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}sK0.Scanner=rK0});var zD=E((eK0)=>{Object.defineProperty(eK0,"__esModule",{value:!0});eK0.ColumnFormatter=void 0;class tK0{constructor($){if($.trim)this.format=(Y)=>Y.trim();else if($.ltrim)this.format=(Y)=>Y.trimLeft();else if($.rtrim)this.format=(Y)=>Y.trimRight();else this.format=(Y)=>Y}}eK0.ColumnFormatter=tK0});var gf=E((UG0)=>{Object.defineProperty(UG0,"__esModule",{value:!0});UG0.NonQuotedColumnParser=void 0;var l21=zD(),YG0=I2();class zG0{constructor($){this.parserOptions=$,this.columnFormatter=new l21.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:Y}=this,z=[],U=$.nextCharacterToken;for(;U;U=$.nextCharacterToken){if(YG0.Token.isTokenDelimiter(U,Y)||YG0.Token.isTokenRowDelimiter(U))break;z.push(U.token),$.advancePastToken(U)}return this.columnFormatter.format(z.join(""))}}UG0.NonQuotedColumnParser=zG0});var yf=E((IG0)=>{Object.defineProperty(IG0,"__esModule",{value:!0});IG0.QuotedColumnParser=void 0;var o21=zD(),tJ=I2();class JG0{constructor($){this.parserOptions=$,this.columnFormatter=new o21.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let Y=$.cursor,{foundClosingQuote:z,col:U}=this.gatherDataBetweenQuotes($);if(!z){if($.advanceTo(Y),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),U}gatherDataBetweenQuotes($){let{parserOptions:Y}=this,z=!1,U=!1,Q=[],J=$.nextCharacterToken;for(;!U&&J!==null;J=$.nextCharacterToken){let I=tJ.Token.isTokenQuote(J,Y);if(!z&&I)z=!0;else if(z)if(tJ.Token.isTokenEscapeCharacter(J,Y)){$.advancePastToken(J);let K=$.nextCharacterToken;if(K!==null&&(tJ.Token.isTokenQuote(K,Y)||tJ.Token.isTokenEscapeCharacter(K,Y)))Q.push(K.token),J=K;else if(I)U=!0;else Q.push(J.token)}else if(I)U=!0;else Q.push(J.token);$.advancePastToken(J)}return{col:this.columnFormatter.format(Q.join("")),foundClosingQuote:U}}checkForMalformedColumn($){let{parserOptions:Y}=this,{nextNonSpaceToken:z}=$;if(z){let U=tJ.Token.isTokenDelimiter(z,Y),Q=tJ.Token.isTokenRowDelimiter(z);if(!(U||Q)){let J=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${Y.escapedDelimiter}' OR new line got: '${z.token}'. at '${J}`)}$.advanceToToken(z)}else if(!$.hasMoreData)$.advancePastLine()}}IG0.QuotedColumnParser=JG0});var XG0=E((WG0)=>{Object.defineProperty(WG0,"__esModule",{value:!0});WG0.ColumnParser=void 0;var r21=gf(),s21=yf(),a21=I2();class GG0{constructor($){this.parserOptions=$,this.quotedColumnParser=new s21.QuotedColumnParser($),this.nonQuotedColumnParser=new r21.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:Y}=$;if(Y!==null&&a21.Token.isTokenQuote(Y,this.parserOptions))return $.advanceToToken(Y),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}WG0.ColumnParser=GG0});var kf=E((eJ)=>{Object.defineProperty(eJ,"__esModule",{value:!0});eJ.ColumnFormatter=eJ.QuotedColumnParser=eJ.NonQuotedColumnParser=eJ.ColumnParser=void 0;var t21=XG0();Object.defineProperty(eJ,"ColumnParser",{enumerable:!0,get:function(){return t21.ColumnParser}});var e21=gf();Object.defineProperty(eJ,"NonQuotedColumnParser",{enumerable:!0,get:function(){return e21.NonQuotedColumnParser}});var $Y1=yf();Object.defineProperty(eJ,"QuotedColumnParser",{enumerable:!0,get:function(){return $Y1.QuotedColumnParser}});var YY1=zD();Object.defineProperty(eJ,"ColumnFormatter",{enumerable:!0,get:function(){return YY1.ColumnFormatter}})});var ff=E((qG0)=>{Object.defineProperty(qG0,"__esModule",{value:!0});qG0.RowParser=void 0;var UY1=kf(),$I=I2(),xf="";class ZG0{constructor($){this.parserOptions=$,this.columnParser=new UY1.ColumnParser($)}static isEmptyRow($){return $.join(xf).replace(/\s+/g,xf)===xf}parse($){let{parserOptions:Y}=this,{hasMoreData:z}=$,U=$,Q=[],J=this.getStartToken(U,Q);while(J){if($I.Token.isTokenRowDelimiter(J)){if(U.advancePastToken(J),!U.hasMoreCharacters&&$I.Token.isTokenCarriageReturn(J,Y)&&z)return null;return U.truncateToCursor(),Q}if(!this.shouldSkipColumnParse(U,J,Q)){let I=this.columnParser.parse(U);if(I===null)return null;Q.push(I)}J=U.nextNonSpaceToken}if(!z)return U.truncateToCursor(),Q;return null}getStartToken($,Y){let z=$.nextNonSpaceToken;if(z!==null&&$I.Token.isTokenDelimiter(z,this.parserOptions))return Y.push(""),$.nextNonSpaceToken;return z}shouldSkipColumnParse($,Y,z){let{parserOptions:U}=this;if($I.Token.isTokenDelimiter(Y,U)){$.advancePastToken(Y);let Q=$.nextCharacterToken;if(!$.hasMoreCharacters||Q!==null&&$I.Token.isTokenRowDelimiter(Q))return z.push(""),!0;if(Q!==null&&$I.Token.isTokenDelimiter(Q,U))return z.push(""),!0}return!1}}qG0.RowParser=ZG0});var MG0=E((FG0)=>{Object.defineProperty(FG0,"__esModule",{value:!0});FG0.Parser=void 0;var QY1=Sf(),LG0=ff(),JY1=I2();class uf{constructor($){this.parserOptions=$,this.rowParser=new LG0.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,Y){let z=new QY1.Scanner({line:uf.removeBOM($),parserOptions:this.parserOptions,hasMoreData:Y});if(this.parserOptions.supportsComments)return this.parseWithComments(z);return this.parseWithoutComments(z)}parseWithoutComments($){let Y=[],z=!0;while(z)z=this.parseRow($,Y);return{line:$.line,rows:Y}}parseWithComments($){let{parserOptions:Y}=this,z=[];for(let U=$.nextCharacterToken;U!==null;U=$.nextCharacterToken)if(JY1.Token.isTokenComment(U,Y)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:z};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:z};$.truncateToCursor()}else if(!this.parseRow($,z))break;return{line:$.line,rows:z}}parseRow($,Y){if(!$.nextNonSpaceToken)return!1;let U=this.rowParser.parse($);if(U===null)return!1;if(this.parserOptions.ignoreEmpty&&LG0.RowParser.isEmptyRow(U))return!0;return Y.push(U),!0}}FG0.Parser=uf});var OG0=E((F7)=>{Object.defineProperty(F7,"__esModule",{value:!0});F7.QuotedColumnParser=F7.NonQuotedColumnParser=F7.ColumnParser=F7.Token=F7.Scanner=F7.RowParser=F7.Parser=void 0;var IY1=MG0();Object.defineProperty(F7,"Parser",{enumerable:!0,get:function(){return IY1.Parser}});var KY1=ff();Object.defineProperty(F7,"RowParser",{enumerable:!0,get:function(){return KY1.RowParser}});var GY1=Sf();Object.defineProperty(F7,"Scanner",{enumerable:!0,get:function(){return GY1.Scanner}});var WY1=I2();Object.defineProperty(F7,"Token",{enumerable:!0,get:function(){return WY1.Token}});var bf=kf();Object.defineProperty(F7,"ColumnParser",{enumerable:!0,get:function(){return bf.ColumnParser}});Object.defineProperty(F7,"NonQuotedColumnParser",{enumerable:!0,get:function(){return bf.NonQuotedColumnParser}});Object.defineProperty(F7,"QuotedColumnParser",{enumerable:!0,get:function(){return bf.QuotedColumnParser}})});var cf=E((DG0)=>{Object.defineProperty(DG0,"__esModule",{value:!0});DG0.CsvParserStream=void 0;var XY1=I0("string_decoder"),ZY1=I0("stream"),NG0=pK0(),qY1=OG0();class UD extends ZY1.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new qY1.Parser($),this.headerTransformer=new NG0.HeaderTransformer($),this.decoder=new XY1.StringDecoder($.encoding),this.rowTransformerValidator=new NG0.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...Y){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...Y)}_transform($,Y,z){if(this.hasHitRowLimit)return z();let U=UD.wrapDoneCallback(z);try{let{lines:Q}=this,J=Q+this.decoder.write($),I=this.parse(J,!0);return this.processRows(I,U)}catch(Q){return U(Q)}}_flush($){let Y=UD.wrapDoneCallback($);if(this.hasHitRowLimit)return Y();try{let z=this.lines+this.decoder.end(),U=this.parse(z,!1);return this.processRows(U,Y)}catch(z){return Y(z)}}parse($,Y){if(!$)return[];let{line:z,rows:U}=this.parser.parse($,Y);return this.lines=z,U}processRows($,Y){let z=$.length,U=(Q)=>{let J=(G)=>{if(G)return Y(G);if(Q%100===0){setImmediate(()=>U(Q+1));return}return U(Q+1)};if(this.checkAndEmitHeaders(),Q>=z||this.hasHitRowLimit)return Y();if(this.parsedLineCount+=1,this.shouldSkipLine)return J();let I=$[Q];this.rowCount+=1,this.parsedRowCount+=1;let K=this.rowCount;return this.transformRow(I,(G,W)=>{if(G)return this.rowCount-=1,J(G);if(!W)return J(Error("expected transform result"));if(!W.isValid)this.emit("data-invalid",W.row,K,W.reason);else if(W.row)return this.pushRow(W.row,J);return J()})};U(0)}transformRow($,Y){try{this.headerTransformer.transform($,(z,U)=>{if(z)return Y(z);if(!U)return Y(Error("Expected result from header transform"));if(!U.isValid){if(this.shouldEmitRows)return Y(null,{isValid:!1,row:$});return this.skipRow(Y)}if(U.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(U.row,Y);return this.skipRow(Y)}return this.rowCount-=1,this.parsedRowCount-=1,Y(null,{row:null,isValid:!0})})}catch(z){Y(z)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,Y){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);Y()}catch(z){Y(z)}}static wrapDoneCallback($){let Y=!1;return(z,...U)=>{if(z){if(Y)throw z;Y=!0,$(z);return}$(...U)}}}DG0.CsvParserStream=UD});var AG0=E((n4)=>{var PG0=n4&&n4.__createBinding||(Object.create?function($,Y,z,U){if(U===void 0)U=z;Object.defineProperty($,U,{enumerable:!0,get:function(){return Y[z]}})}:function($,Y,z,U){if(U===void 0)U=z;$[U]=Y[z]}),VY1=n4&&n4.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),LY1=n4&&n4.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var z in $)if(z!=="default"&&Object.prototype.hasOwnProperty.call($,z))PG0(Y,$,z)}return VY1(Y,$),Y},FY1=n4&&n4.__exportStar||function($,Y){for(var z in $)if(z!=="default"&&!Object.prototype.hasOwnProperty.call(Y,z))PG0(Y,$,z)};Object.defineProperty(n4,"__esModule",{value:!0});n4.parseString=n4.parseFile=n4.parseStream=n4.parse=n4.ParserOptions=n4.CsvParserStream=void 0;var wY1=LY1(I0("fs")),MY1=I0("stream"),QD=Hf(),JD=cf();FY1(Xf(),n4);var OY1=cf();Object.defineProperty(n4,"CsvParserStream",{enumerable:!0,get:function(){return OY1.CsvParserStream}});var NY1=Hf();Object.defineProperty(n4,"ParserOptions",{enumerable:!0,get:function(){return NY1.ParserOptions}});n4.parse=($)=>new JD.CsvParserStream(new QD.ParserOptions($));n4.parseStream=($,Y)=>$.pipe(new JD.CsvParserStream(new QD.ParserOptions(Y)));n4.parseFile=($,Y={})=>wY1.createReadStream($).pipe(new JD.CsvParserStream(new QD.ParserOptions(Y)));n4.parseString=($,Y)=>{let z=new MY1.Readable;return z.push($),z.push(null),z.pipe(new JD.CsvParserStream(new QD.ParserOptions(Y)))}});var TG0=E((q8)=>{Object.defineProperty(q8,"__esModule",{value:!0});q8.CsvParserStream=q8.ParserOptions=q8.parseFile=q8.parseStream=q8.parseString=q8.parse=q8.FormatterOptions=q8.CsvFormatterStream=q8.writeToPath=q8.writeToString=q8.writeToBuffer=q8.writeToStream=q8.write=q8.format=void 0;var K2=dI0();Object.defineProperty(q8,"format",{enumerable:!0,get:function(){return K2.format}});Object.defineProperty(q8,"write",{enumerable:!0,get:function(){return K2.write}});Object.defineProperty(q8,"writeToStream",{enumerable:!0,get:function(){return K2.writeToStream}});Object.defineProperty(q8,"writeToBuffer",{enumerable:!0,get:function(){return K2.writeToBuffer}});Object.defineProperty(q8,"writeToString",{enumerable:!0,get:function(){return K2.writeToString}});Object.defineProperty(q8,"writeToPath",{enumerable:!0,get:function(){return K2.writeToPath}});Object.defineProperty(q8,"CsvFormatterStream",{enumerable:!0,get:function(){return K2.CsvFormatterStream}});Object.defineProperty(q8,"FormatterOptions",{enumerable:!0,get:function(){return K2.FormatterOptions}});var YI=AG0();Object.defineProperty(q8,"parse",{enumerable:!0,get:function(){return YI.parse}});Object.defineProperty(q8,"parseString",{enumerable:!0,get:function(){return YI.parseString}});Object.defineProperty(q8,"parseStream",{enumerable:!0,get:function(){return YI.parseStream}});Object.defineProperty(q8,"parseFile",{enumerable:!0,get:function(){return YI.parseFile}});Object.defineProperty(q8,"ParserOptions",{enumerable:!0,get:function(){return YI.ParserOptions}});Object.defineProperty(q8,"CsvParserStream",{enumerable:!0,get:function(){return YI.CsvParserStream}})});var jG0=E((nf,pf)=>{(function($,Y){typeof nf=="object"&&typeof pf<"u"?pf.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=Y()})(nf,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Y=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,z=/\d/,U=/\d\d/,Q=/\d\d?/,J=/\d*[^-_:/,()\s\d]+/,I={},K=function(V){return(V=+V)+(V>68?1900:2000)},G=function(V){return function(F){this[V]=+F}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(V){(this.zone||(this.zone={})).offset=function(F){if(!F)return 0;if(F==="Z")return 0;var M=F.match(/([+-]|\d\d)/g),w=60*M[1]+(+M[2]||0);return w===0?0:M[0]==="+"?-w:w}(V)}],H=function(V){var F=I[V];return F&&(F.indexOf?F:F.s.concat(F.f))},X=function(V,F){var M,w=I.meridiem;if(w){for(var O=1;O<=24;O+=1)if(V.indexOf(w(O,0,F))>-1){M=O>12;break}}else M=V===(F?"pm":"PM");return M},Z={A:[J,function(V){this.afternoon=X(V,!1)}],a:[J,function(V){this.afternoon=X(V,!0)}],Q:[z,function(V){this.month=3*(V-1)+1}],S:[z,function(V){this.milliseconds=100*+V}],SS:[U,function(V){this.milliseconds=10*+V}],SSS:[/\d{3}/,function(V){this.milliseconds=+V}],s:[Q,G("seconds")],ss:[Q,G("seconds")],m:[Q,G("minutes")],mm:[Q,G("minutes")],H:[Q,G("hours")],h:[Q,G("hours")],HH:[Q,G("hours")],hh:[Q,G("hours")],D:[Q,G("day")],DD:[U,G("day")],Do:[J,function(V){var F=I.ordinal,M=V.match(/\d+/);if(this.day=M[0],F)for(var w=1;w<=31;w+=1)F(w).replace(/\[|\]/g,"")===V&&(this.day=w)}],w:[Q,G("week")],ww:[U,G("week")],M:[Q,G("month")],MM:[U,G("month")],MMM:[J,function(V){var F=H("months"),M=(H("monthsShort")||F.map(function(w){return w.slice(0,3)})).indexOf(V)+1;if(M<1)throw Error();this.month=M%12||M}],MMMM:[J,function(V){var F=H("months").indexOf(V)+1;if(F<1)throw Error();this.month=F%12||F}],Y:[/[+-]?\d+/,G("year")],YY:[U,function(V){this.year=K(V)}],YYYY:[/\d{4}/,G("year")],Z:W,ZZ:W};function q(V){var F,M;F=V,M=I&&I.formats;for(var w=(V=F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(j,C,b){var k=b&&b.toUpperCase();return C||M[b]||$[b]||M[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(h,i,c){return i||c.slice(1)})})).match(Y),O=w.length,D=0;D-1)return new Date((x==="X"?1000:1)*U0);var $0=q(x)(U0),g=$0.year,p=$0.month,e=$0.day,y=$0.hours,s=$0.minutes,Y0=$0.seconds,M0=$0.milliseconds,E0=$0.zone,G0=$0.week,T0=new Date,b0=e||(g||p?1:T0.getDate()),Y1=g||T0.getFullYear(),a=0;g&&!p||(a=p>0?p-1:T0.getMonth());var H0,L0=y||0,f0=s||0,u0=Y0||0,i0=M0||0;return E0?new Date(Date.UTC(Y1,a,b0,L0,f0,u0,i0+60*E0.offset*1000)):d?new Date(Date.UTC(Y1,a,b0,L0,f0,u0,i0)):(H0=new Date(Y1,a,b0,L0,f0,u0,i0),G0&&(H0=t(H0).week(G0).toDate()),H0)}catch(D1){return new Date("")}}(N,B,A,M),this.init(),k&&k!==!0&&(this.$L=this.locale(k).$L),b&&N!=this.format(B)&&(this.$d=new Date("")),I={}}else if(B instanceof Array)for(var h=B.length,i=1;i<=h;i+=1){T[1]=B[i-1];var c=M.apply(this,T);if(c.isValid()){this.$d=c.$d,this.$L=c.$L,this.init();break}i===h&&(this.$d=new Date(""))}else O.call(this,D)}}})});var EG0=E((df,mf)=>{(function($,Y){typeof df=="object"&&typeof mf<"u"?mf.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=Y()})(df,function(){var $="minute",Y=/[+-]\d\d(?::?\d\d)?/g,z=/([+-]|\d\d)/g;return function(U,Q,J){var I=Q.prototype;J.utc=function(q){var V={date:q,utc:!0,args:arguments};return new Q(V)},I.utc=function(q){var V=J(this.toDate(),{locale:this.$L,utc:!0});return q?V.add(this.utcOffset(),$):V},I.local=function(){return J(this.toDate(),{locale:this.$L,utc:!1})};var K=I.parse;I.parse=function(q){q.utc&&(this.$u=!0),this.$utils().u(q.$offset)||(this.$offset=q.$offset),K.call(this,q)};var G=I.init;I.init=function(){if(this.$u){var q=this.$d;this.$y=q.getUTCFullYear(),this.$M=q.getUTCMonth(),this.$D=q.getUTCDate(),this.$W=q.getUTCDay(),this.$H=q.getUTCHours(),this.$m=q.getUTCMinutes(),this.$s=q.getUTCSeconds(),this.$ms=q.getUTCMilliseconds()}else G.call(this)};var W=I.utcOffset;I.utcOffset=function(q,V){var F=this.$utils().u;if(F(q))return this.$u?0:F(this.$offset)?W.call(this):this.$offset;if(typeof q=="string"&&(q=function(D){D===void 0&&(D="");var N=D.match(Y);if(!N)return null;var A=(""+N[0]).match(z)||["-",0,0],T=A[0],B=60*+A[1]+ +A[2];return B===0?0:T==="+"?B:-B}(q),q===null))return this;var M=Math.abs(q)<=16?60*q:q;if(M===0)return this.utc(V);var w=this.clone();if(V)return w.$offset=M,w.$u=!1,w;var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(w=this.local().add(M+O,$)).$offset=M,w.$x.$localOffset=O,w};var H=I.format;I.format=function(q){var V=q||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return H.call(this,V)},I.valueOf=function(){var q=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*q},I.isUTC=function(){return!!this.$u},I.toISOString=function(){return this.toDate().toISOString()},I.toString=function(){return this.toDate().toUTCString()};var X=I.toDate;I.toDate=function(q){return q==="s"&&this.$offset?J(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():X.call(this)};var Z=I.diff;I.diff=function(q,V,F){if(q&&this.$u===q.$u)return Z.call(this,q,V,F);var M=this.local(),w=J(q).local();return Z.call(M,w,V,F)}}})});var CG0=E((lf,of)=>{(function($,Y){typeof lf=="object"&&typeof of<"u"?of.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs=Y()})(lf,function(){var $=1000,Y=60000,z=3600000,U="millisecond",Q="second",J="minute",I="hour",K="day",G="week",W="month",H="quarter",X="year",Z="date",q="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var i=["th","st","nd","rd"],c=h%100;return"["+h+(i[(c-20)%10]||i[c]||i[0])+"]"}},w=function(h,i,c){var U0=String(h);return!U0||U0.length>=i?h:""+Array(i+1-U0.length).join(c)+h},O={s:w,z:function(h){var i=-h.utcOffset(),c=Math.abs(i),U0=Math.floor(c/60),x=c%60;return(i<=0?"+":"-")+w(U0,2,"0")+":"+w(x,2,"0")},m:function h(i,c){if(i.date()1)return h(t[0])}else{var $0=i.name;N[$0]=i,x=$0}return!U0&&x&&(D=x),x||!U0&&D},j=function(h,i){if(T(h))return h.clone();var c=typeof i=="object"?i:{};return c.date=h,c.args=arguments,new b(c)},C=O;C.l=B,C.i=T,C.w=function(h,i){return j(h,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var b=function(){function h(c){this.$L=B(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[A]=!0}var i=h.prototype;return i.parse=function(c){this.$d=function(U0){var{date:x,utc:d}=U0;if(x===null)return new Date(NaN);if(C.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var t=x.match(V);if(t){var $0=t[2]-1||0,g=(t[7]||"0").substring(0,3);return d?new Date(Date.UTC(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)):new Date(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)}}return new Date(x)}(c),this.init()},i.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},i.$utils=function(){return C},i.isValid=function(){return this.$d.toString()!==q},i.isSame=function(c,U0){var x=j(c);return this.startOf(U0)<=x&&x<=this.endOf(U0)},i.isAfter=function(c,U0){return j(c){var RG0=I0("fs"),_G0=TG0(),BY1=jG0(),PY1=EG0(),pH=CG0().extend(BY1).extend(PY1),AY1=jH(),{fs:{exists:TY1}}=X8(),jY1={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class vG0{constructor($){this.workbook=$,this.worksheet=null}async readFile($,Y){if(Y=Y||{},!await TY1($))throw Error(`File not found: ${$}`);let z=RG0.createReadStream($),U=await this.read(z,Y);return z.close(),U}read($,Y){return Y=Y||{},new Promise((z,U)=>{let Q=this.workbook.addWorksheet(Y.sheetName),J=Y.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=Y.map||function(G){if(G==="")return null;let W=Number(G);if(!Number.isNaN(W)&&W!==1/0)return W;let H=J.reduce((Z,q)=>{if(Z)return Z;let V=pH(G,q,!0);if(V.isValid())return V;return null},null);if(H)return new Date(H.valueOf());let X=jY1[G];if(X!==void 0)return X;return G},K=_G0.parse(Y.parserOptions).on("data",(G)=>{Q.addRow(G.map(I))}).on("end",()=>{K.emit("worksheet",Q)});K.on("worksheet",z).on("error",U),$.pipe(K)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,Y){return new Promise((z,U)=>{Y=Y||{};let Q=this.workbook.getWorksheet(Y.sheetName||Y.sheetId),J=_G0.format(Y.formatterOptions);$.on("finish",()=>{z()}),J.on("error",U),J.pipe($);let{dateFormat:I,dateUTC:K}=Y,G=Y.map||((X)=>{if(X){if(X.text||X.hyperlink)return X.hyperlink||X.text||"";if(X.formula||X.result)return X.result||"";if(X instanceof Date){if(I)return K?pH.utc(X).format(I):pH(X).format(I);return K?pH.utc(X).format():pH(X).format()}if(X.error)return X.error;if(typeof X==="object")return JSON.stringify(X)}return X}),W=Y.includeEmptyRows===void 0||Y.includeEmptyRows,H=1;if(Q)Q.eachRow((X,Z)=>{if(W)while(H++{var gG0=i40(),EY1=Yg(),CY1=dx(),RY1=SG0();class yG0{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new EY1}get xlsx(){if(!this._xlsx)this._xlsx=new CY1(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new RY1(this);return this._csv}get nextId(){for(let $=1;$(K&&K.orderNo)>I?K.orderNo:I,0),Q=Object.assign({},Y,{id:z,name:$,orderNo:U+1,workbook:this}),J=new gG0(Q);return this._worksheets[z]=J,J}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let Y=this.getWorksheet($);if(Y)Y.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,Y)=>$.orderNo-Y.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((Y)=>{$(Y,Y.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let Y=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),Y}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((Y)=>{let{id:z,name:U,state:Q}=Y,J=$.sheets&&$.sheets.findIndex((K)=>K.id===z),I=this._worksheets[z]=new gG0({id:z,name:U,orderNo:J,state:Q,workbook:this});I.model=Y}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}kG0.exports=yG0});var bG0=E((dl1,uG0)=>{var _Y1=dx();class fG0{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new _Y1(this);return this._xlsx}}uG0.exports=fG0});var cG0=E((ml1,iG0)=>{var vY1=typeof process==="object"&&process&&process.platform==="win32";iG0.exports=vY1?{sep:"\\"}:{sep:"/"}});var lG0=E((ll1,mG0)=>{mG0.exports=pG0;function pG0($,Y,z){if($ instanceof RegExp)$=nG0($,z);if(Y instanceof RegExp)Y=nG0(Y,z);var U=dG0($,Y,z);return U&&{start:U[0],end:U[1],pre:z.slice(0,U[0]),body:z.slice(U[0]+$.length,U[1]),post:z.slice(U[1]+Y.length)}}function nG0($,Y){var z=Y.match($);return z?z[0]:null}pG0.range=dG0;function dG0($,Y,z){var U,Q,J,I,K,G=z.indexOf($),W=z.indexOf(Y,G+1),H=G;if(G>=0&&W>0){if($===Y)return[G,W];U=[],J=z.length;while(H>=0&&!K){if(H==G)U.push(H),G=z.indexOf($,H+1);else if(U.length==1)K=[U.pop(),W];else{if(Q=U.pop(),Q=0?G:W}if(U.length)K=[J,I]}return K}});var YW0=E((ol1,$W0)=>{var oG0=lG0();$W0.exports=kY1;var rG0="\x00SLASH"+Math.random()+"\x00",sG0="\x00OPEN"+Math.random()+"\x00",af="\x00CLOSE"+Math.random()+"\x00",aG0="\x00COMMA"+Math.random()+"\x00",tG0="\x00PERIOD"+Math.random()+"\x00",hY1=1e5,SY1=4000000;function rf($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function gY1($){return $.split("\\\\").join(rG0).split("\\{").join(sG0).split("\\}").join(af).split("\\,").join(aG0).split("\\.").join(tG0)}function yY1($){return $.split(rG0).join("\\").split(sG0).join("{").split(af).join("}").split(aG0).join(",").split(tG0).join(".")}function eG0($){if(!$)return[""];var Y=[],z=oG0("{","}",$);if(!z)return $.split(",");var{pre:U,body:Q,post:J}=z,I=U.split(",");I[I.length-1]+="{"+Q+"}";var K=eG0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function kY1($,Y){if(!$)return[];Y=Y||{};var z=Y.max==null?hY1:Y.max,U=Y.maxLength==null?SY1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return sf(gY1($),z,U,!0).map(yY1)}function xY1($){return"{"+$+"}"}function fY1($){return/^-?0\d/.test($)}function uY1($,Y){return $<=Y}function bY1($,Y){return $>=Y}function dH($,Y,z,U,Q,J){var I=[],K=0;for(var G=0;G<$.length;G++)for(var W=0;W=U)return I;var H=$[G]+Y+z[W];if(J&&!H)continue;if(K+H.length>Q)return I;I.push(H),K+=H.length}return I}function iY1($,Y,z,U){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=rf(Q[0]),K=rf(Q[1]),G=Math.max(Q[0].length,Q[1].length),W=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(rf(Q[2])),1):1,H=uY1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>U)break;J.push(F),q+=F.length}return J}function sf($,Y,z,U){var Q=[""],J=!1,I=!0;for(;;){let N=oG0("{","}",$);if(!N)return dH(Q,$,[""],Y,z,J);let A=N.pre;if(/\$$/.test(A)){if(Q=dH(Q,A+"{"+N.body+"}",[""],Y,z,J&&!N.post.length),I=!1,!N.post.length)break;$=N.post;continue}var K=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(N.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(N.body),W=K||G,H=N.body.indexOf(",")>=0;if(!W&&!H){if(N.post.match(/,(?!,).*\}/)){$=N.pre+"{"+N.body+af+N.post,U=!0;continue}return dH(Q,A+"{"+N.body+"}"+N.post,[""],Y,z,J)}if(I)J=U&&!W,I=!1;var X;if(W)X=iY1(N.body,G,Y,z);else{var Z=eG0(N.body);if(Z.length===1&&Z[0]!==void 0){if(Z=sf(Z[0],Y,z,!1).map(xY1),Z.length===1){if(Q=dH(Q,A+Z[0],[""],Y,z,J&&!N.post.length),!N.post.length)break;$=N.post;continue}}var q=J&&!N.post.length&&!A;for(var V=0;q&&V=Y||F+D.length>z)break $;X.push(D),F+=D.length}}}if(Q=dH(Q,A,X,Y,z,J&&!N.post.length),!N.post.length)break;$=N.post}return Q}});var KW0=E((rl1,zu)=>{var W$=zu.exports=($,Y,z={})=>{if(ID(Y),!z.nocomment&&Y.charAt(0)==="#")return!1;return new mH(Y,z).match($)};zu.exports=W$;var $u=cG0();W$.sep=$u.sep;var R8=Symbol("globstar **");W$.GLOBSTAR=R8;var cY1=YW0(),zW0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Yu="[^/]",tf=Yu+"*?",nY1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",pY1="(?:(?!(?:\\/|^)\\.).)*?",JW0=($)=>$.split("").reduce((Y,z)=>{return Y[z]=!0,Y},{}),UW0=JW0("().*{}+?[]^$\\!"),dY1=JW0("[.("),QW0=/\/+/;W$.filter=($,Y={})=>(z,U,Q)=>W$(z,$,Y);var G2=($,Y={})=>{let z={};return Object.keys($).forEach((U)=>z[U]=$[U]),Object.keys(Y).forEach((U)=>z[U]=Y[U]),z};W$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return W$;let Y=W$,z=(U,Q,J)=>Y(U,Q,G2($,J));return z.Minimatch=class extends Y.Minimatch{constructor(Q,J){super(Q,G2($,J))}},z.Minimatch.defaults=(U)=>Y.defaults(G2($,U)).Minimatch,z.filter=(U,Q)=>Y.filter(U,G2($,Q)),z.defaults=(U)=>Y.defaults(G2($,U)),z.makeRe=(U,Q)=>Y.makeRe(U,G2($,Q)),z.braceExpand=(U,Q)=>Y.braceExpand(U,G2($,Q)),z.match=(U,Q,J)=>Y.match(U,Q,G2($,J)),z};W$.braceExpand=($,Y)=>IW0($,Y);var IW0=($,Y={})=>{if(ID($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return cY1($)},mY1=65536,ID=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>mY1)throw TypeError("pattern is too long")},ef=Symbol("subparse");W$.makeRe=($,Y)=>new mH($,Y||{}).makeRe();W$.match=($,Y,z={})=>{let U=new mH(Y,z);if($=$.filter((Q)=>U.match(Q)),U.options.nonull&&!$.length)$.push(Y);return $};var lY1=($)=>$.replace(/\\(.)/g,"$1"),oY1=($)=>$.replace(/\\([^-\]])/g,"$1"),rY1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),sY1=($)=>$.replace(/[[\]\\]/g,"\\$&");class mH{constructor($,Y){if(ID($),!Y)Y={};if(this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}debug(){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let z=this.globSet=this.braceExpand();if(Y.debug)this.debug=(...U)=>console.error(...U);this.debug(this.pattern,z),z=this.globParts=z.map((U)=>U.split(QW0)),this.debug(this.pattern,z),z=z.map((U,Q,J)=>U.map(this.parse,this)),this.debug(this.pattern,z),z=z.filter((U)=>U.indexOf(!1)===-1),this.debug(this.pattern,z),this.set=z}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,Y=!1,z=0;for(let U=0;U<$.length&&$.charAt(U)==="!";U++)Y=!Y,z++;if(z)this.pattern=$.slice(z);this.negate=Y}matchOne($,Y,z){if(Y.indexOf(R8)!==-1)return this._matchGlobstar($,Y,z,0,0);return this._matchOne($,Y,z,0,0)}_matchGlobstar($,Y,z,U,Q){let J=-1;for(let w=Q;w=0;w--)if(Y[w]===R8){I=w;break}let K=Y.slice(Q,J),G=z?Y.slice(J+1):Y.slice(J+1,I),W=z?[]:Y.slice(I+1);if(K.length){let w=$.slice(U,U+K.length);if(!this._matchOne(w,K,z,0,0))return!1;U+=K.length}let H=0;if(W.length){if(W.length+U>$.length)return!1;let w=$.length-W.length;if(this._matchOne($,W,z,w,0))H=W.length;else{if($[$.length-1]!==""||U+W.length===$.length)return!1;if(!this._matchOne($,W,z,w-1,0))return!1;H=W.length+1}}if(!G.length){let w=!!H;for(let O=U;O<$.length-H;O++){let D=String($[O]);if(w=!0,D==="."||D===".."||!this.options.dot&&D.charAt(0)===".")return!1}return z||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===R8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-H;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this._matchGlobStarBodySections($,X,U,0,z,0,!!H)}_matchGlobStarBodySections($,Y,z,U,Q,J,I){let K=Y[U];if(!K){for(let H=z;H<$.length;H++){I=!0;let X=$[H];if(X==="."||X===".."||!this.options.dot&&X.charAt(0)===".")return!1}return I}let[G,W]=K;while(z<=W){if(this._matchOne($.slice(0,z+G.length),G,Q,z,0)&&JF?"":M?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",O=(T)=>T.charAt(0)==="."?"":z.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",D=()=>{if(G){switch(G){case"*":U+=tf,Q=!0;break;case"?":U+=Yu,Q=!0;break;default:U+="\\"+G;break}this.debug("clearStateChar %j %j",G,U),G=!1}};for(let T=0,B;T<$.length&&(B=$.charAt(T));T++){if(this.debug("%s\t%s %s %j",$,T,U,B),J){if(B==="/")return!1;if(UW0[B])U+="\\";U+=B,J=!1;continue}switch(B){case"/":return!1;case"\\":if(W&&$.charAt(T+1)==="-"){U+=B;continue}D(),J=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,T,U,B),W){if(this.debug(" in class"),B==="!"&&T===X+1)B="^";U+=B;continue}if(B==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),D(),G=B,z.noext)D();continue;case"(":{if(W){U+="(";continue}if(!G){U+="\\(";continue}let j={type:G,start:T-1,reStart:U.length,open:zW0[G].open,close:zW0[G].close};if(this.debug(this.pattern,"\t",j),I.push(j),U+=j.open,j.start===0&&j.type!=="!")F=!0,U+=O($.slice(T+1));this.debug("plType %j %j",G,U),G=!1;continue}case")":{let j=I[I.length-1];if(W||!j){U+="\\)";continue}if(I.pop(),D(),Q=!0,q=j,U+=q.close,q.type==="!")K.push(Object.assign(q,{reEnd:U.length}));continue}case"|":{let j=I[I.length-1];if(W||!j){U+="\\|";continue}if(D(),U+="|",j.start===0&&j.type!=="!")F=!0,U+=O($.slice(T+1));continue}case"[":if(D(),W){U+="\\"+B;continue}W=!0,X=T,H=U.length,U+=B;continue;case"]":if(T===X+1||!W){U+="\\"+B;continue}Z=$.substring(X+1,T);try{RegExp("["+sY1(oY1(Z))+"]"),U+=B}catch(j){U=U.substring(0,H)+"(?:$.)"}Q=!0,W=!1;continue;default:if(D(),UW0[B]&&!(B==="^"&&W))U+="\\";U+=B;break}}if(W)Z=$.slice(X+1),V=this.parse(Z,ef),U=U.substring(0,H)+"\\["+V[0],Q=Q||V[1];for(q=I.pop();q;q=I.pop()){let T;T=U.slice(q.reStart+q.open.length),this.debug("setting tail",U,q),T=T.replace(/((?:\\{2}){0,64})(\\?)\|/g,(j,C,b)=>{if(!b)b="\\";return C+C+b+"|"}),this.debug(`tail=%j - %s`,T,T,q,U);let B=q.type==="*"?tf:q.type==="?"?Yu:"\\"+q.type;Q=!0,U=U.slice(0,q.reStart)+B+"\\("+T}if(D(),J)U+="\\\\";let N=dY1[U.charAt(0)];for(let T=K.length-1;T>-1;T--){let B=K[T],j=U.slice(0,B.reStart),C=U.slice(B.reStart,B.reEnd-8),b=U.slice(B.reEnd),k=U.slice(B.reEnd-8,B.reEnd)+b,h=j.split(")").length,i=j.split("(").length-h,c=b;for(let x=0;x{return J=J.map((I)=>typeof I==="string"?rY1(I):I===R8?R8:I._src).reduce((I,K)=>{if(!(I[I.length-1]===R8&&K===R8))I.push(K);return I},[]),J.forEach((I,K)=>{if(I!==R8||J[K-1]===R8)return;if(K===0)if(J.length>1)J[K+1]="(?:\\/|"+z+"\\/)?"+J[K+1];else J[K]=z;else if(K===J.length-1)J[K-1]+="(?:\\/|"+z+")?";else J[K-1]+="(?:\\/|\\/"+z+"\\/)"+J[K+1],J[K+1]=R8}),J.filter((I)=>I!==R8).join("/")}).join("|");if(Q="^(?:"+Q+")$",this.negate)Q="^(?!"+Q+").*$";try{this.regexp=new RegExp(Q,U)}catch(J){this.regexp=!1}return this.regexp}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let z=this.options;if($u.sep!=="/")$=$.split($u.sep).join("/");$=$.split(QW0),this.debug(this.pattern,"split",$);let U=this.set;this.debug(this.pattern,"set",U);let Q;for(let J=$.length-1;J>=0;J--)if(Q=$[J],Q)break;for(let J=0;J{XW0.exports=HW0;var Qu=I0("fs"),{EventEmitter:aY1}=I0("events"),{Minimatch:Uu}=KW0(),{resolve:tY1}=I0("path");function eY1($,Y){return new Promise((z,U)=>{Qu.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)U(Q);else z([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":z([]);break;case"ELOOP":default:U(Q);break}else z(J)})})}function GW0($,Y){return new Promise((z,U)=>{(Y?Qu.stat:Qu.lstat)($,(J,I)=>{if(J)switch(J.code){case"ENOENT":if(Y)z(GW0($,!1));else z(null);break;default:z(null);break}else z(I)})})}async function*WW0($,Y,z,U,Q,J){let I=await eY1(Y+$,J);for(let K of I){let G=K.name;if(G===void 0)G=K,U=!0;let W=$+"/"+G,H=W.slice(1),X=Y+"/"+H,Z=null;if(U||z)Z=await GW0(X,z);if(!Z&&K.name!==void 0)Z=K;if(Z===null)Z={isDirectory:()=>!1};if(Z.isDirectory()){if(!Q(H))yield{relative:H,absolute:X,stats:Z},yield*WW0(W,Y,z,U,Q,!1)}else yield{relative:H,absolute:X,stats:Z}}}async function*$z1($,Y,z,U){yield*WW0("",$,Y,z,U,!0)}function Yz1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class Ju extends aY1{constructor($,Y,z){super();if(typeof Y==="function")z=Y,Y=null;if(this.options=Yz1(Y||{}),this.matchers=[],this.options.pattern){let U=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=U.map((Q)=>new Uu(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let U=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=U.map((Q)=>new Uu(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let U=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=U.map((Q)=>new Uu(Q,{dot:!0}))}if(this.iterator=$z1(tY1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,z)this._matches=[],this.on("match",(U)=>this._matches.push(this.options.absolute?U.absolute:U.relative)),this.on("error",(U)=>z(U)),this.on("end",()=>z(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let z=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((U)=>U.match(z)))&&!this.ignoreMatchers.some((U)=>U.match(z))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,Y)){let z=$.value.relative,U=$.value.absolute;if(this.options.mark&&Y)z+="/",U+="/";if(this.options.stat)this.emit("match",{relative:z,absolute:U,stat:$.value.stats});else this.emit("match",{relative:z,absolute:U})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function HW0($,Y,z){return new Ju($,Y,z)}HW0.ReaddirGlob=Ju});var Iu=E((KD,qW0)=>{(function($,Y){typeof KD==="object"&&typeof qW0<"u"?Y(KD):typeof define==="function"&&define.amd?define(["exports"],Y):($=typeof globalThis<"u"?globalThis:$||self,Y($.async={}))})(KD,function($){function Y(f,...n){return(...m)=>f(...n,...m)}function z(f){return function(...n){var m=n.pop();return f.call(this,n,m)}}var U=typeof queueMicrotask==="function"&&queueMicrotask,Q=typeof setImmediate==="function"&&setImmediate,J=typeof process==="object"&&typeof process.nextTick==="function";function I(f){setTimeout(f,0)}function K(f){return(n,...m)=>f(()=>n(...m))}var G;if(U)G=queueMicrotask;else if(Q)G=setImmediate;else if(J)G=process.nextTick;else G=I;var W=K(G);function H(f){if(q(f))return function(...n){let m=n.pop(),K0=f.apply(this,n);return X(K0,m)};return z(function(n,m){var K0;try{K0=f.apply(this,n)}catch(w0){return m(w0)}if(K0&&typeof K0.then==="function")return X(K0,m);else m(null,K0)})}function X(f,n){return f.then((m)=>{Z(n,null,m)},(m)=>{Z(n,m&&(m instanceof Error||m.message)?m:Error(m))})}function Z(f,n,m){try{f(n,m)}catch(K0){W((w0)=>{throw w0},K0)}}function q(f){return f[Symbol.toStringTag]==="AsyncFunction"}function V(f){return f[Symbol.toStringTag]==="AsyncGenerator"}function F(f){return typeof f[Symbol.asyncIterator]==="function"}function M(f){if(typeof f!=="function")throw Error("expected a function");return q(f)?H(f):f}function w(f,n){if(!n)n=f.length;if(!n)throw Error("arity is undefined");function m(...K0){if(typeof K0[n-1]==="function")return f.apply(this,K0);return new Promise((w0,D0)=>{K0[n-1]=(A0,...j0)=>{if(A0)return D0(A0);w0(j0.length>1?j0:j0[0])},f.apply(this,K0)})}return m}function O(f){return function(m,...K0){return w(function(D0){var A0=this;return f(m,(j0,h0)=>{M(j0).apply(A0,K0.concat(h0))},D0)})}}function D(f,n,m,K0){n=n||[];var w0=[],D0=0,A0=M(m);return f(n,(j0,h0,z1)=>{var x1=D0++;A0(j0,(m1,i1)=>{w0[x1]=i1,z1(m1)})},(j0)=>{K0(j0,w0)})}function N(f){return f&&typeof f.length==="number"&&f.length>=0&&f.length%1===0}let A={};function T(f){function n(...m){if(f===null)return;var K0=f;f=null,K0.apply(this,m)}return Object.assign(n,f),n}function B(f){return f[Symbol.iterator]&&f[Symbol.iterator]()}function j(f){var n=-1,m=f.length;return function(){return++n=n||A0||w0)return;A0=!0,f.next().then(({value:i1,done:M$})=>{if(D0||w0)return;if(A0=!1,M$){if(w0=!0,j0<=0)K0(null);return}j0++,m(i1,h0,x1),h0++,z1()}).catch(m1)}function x1(i1,M$){if(j0-=1,D0)return;if(i1)return m1(i1);if(i1===!1){w0=!0,D0=!0;return}if(M$===A||w0&&j0<=0)return w0=!0,K0(null);z1()}function m1(i1){if(D0)return;A0=!1,w0=!0,K0(i1)}z1()}var c=(f)=>{return(n,m,K0)=>{if(K0=T(K0),f<=0)throw RangeError("concurrency limit cannot be less than 1");if(!n)return K0(null);if(V(n))return i(n,f,m,K0);if(F(n))return i(n[Symbol.asyncIterator](),f,m,K0);var w0=k(n),D0=!1,A0=!1,j0=0,h0=!1;function z1(m1,i1){if(A0)return;if(j0-=1,m1)D0=!0,K0(m1);else if(m1===!1)D0=!0,A0=!0;else if(i1===A||D0&&j0<=0)return D0=!0,K0(null);else if(!h0)x1()}function x1(){h0=!0;while(j01?w0:w0[0])}return m[T0]=new Promise((K0,w0)=>{f=K0,n=w0}),m}function Y1(f,n,m){if(typeof n!=="number")m=n,n=null;m=T(m||b0());var K0=Object.keys(f).length;if(!K0)return m(null);if(!n)n=K0;var w0={},D0=0,A0=!1,j0=!1,h0=Object.create(null),z1=[],x1=[],m1={};Object.keys(f).forEach((e0)=>{var W1=f[e0];if(!Array.isArray(W1)){i1(e0,[W1]),x1.push(e0);return}var c1=W1.slice(0,W1.length-1),g4=c1.length;if(g4===0){i1(e0,W1),x1.push(e0);return}m1[e0]=g4,c1.forEach((v6)=>{if(!f[v6])throw Error("async.auto task `"+e0+"` has a non-existent dependency `"+v6+"` in "+c1.join(", "));kU(v6,()=>{if(g4--,g4===0)i1(e0,W1)})})}),l1(),M$();function i1(e0,W1){z1.push(()=>cK(e0,W1))}function M$(){if(A0)return;if(z1.length===0&&D0===0)return m(null,w0);while(z1.length&&D0c1()),M$()}function cK(e0,W1){if(j0)return;var c1=h((v6,...O$)=>{if(D0--,v6===!1){A0=!0;return}if(O$.length<2)[O$]=O$;if(v6){var xU={};if(Object.keys(w0).forEach((OY)=>{xU[OY]=w0[OY]}),xU[e0]=O$,j0=!0,h0=Object.create(null),A0)return;m(v6,xU)}else w0[e0]=O$,MY(e0)});D0++;var g4=M(W1[W1.length-1]);if(W1.length>1)g4(w0,c1);else g4(c1)}function l1(){var e0,W1=0;while(x1.length)e0=x1.pop(),W1++,G1(e0).forEach((c1)=>{if(--m1[c1]===0)x1.push(c1)});if(W1!==K0)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function G1(e0){var W1=[];return Object.keys(f).forEach((c1)=>{let g4=f[c1];if(Array.isArray(g4)&&g4.indexOf(e0)>=0)W1.push(c1)}),W1}return m[T0]}var a=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,H0=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,L0=/,/,f0=/(=.+)?(\s*)$/;function u0(f){let n="",m=0,K0=f.indexOf("*/");while(m{Object.defineProperty(sK0,"__esModule",{value:!0});sK0.Scanner=void 0;var oK0=I2(),o21=/((?:\r\n)|\n|\r)/;class rK0{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,Y=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(Y)===-1)return null;let z=Y.exec($);if(z==null)return null;let U=z[1],Q=this.cursor+(z.index||0);return new oK0.Token({token:U,startCursor:Q,endCursor:Q+U.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:Y}=this;if(Y<=$)return null;return new oK0.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=o21.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}sK0.Scanner=rK0});var UD=E((eK0)=>{Object.defineProperty(eK0,"__esModule",{value:!0});eK0.ColumnFormatter=void 0;class tK0{constructor($){if($.trim)this.format=(Y)=>Y.trim();else if($.ltrim)this.format=(Y)=>Y.trimLeft();else if($.rtrim)this.format=(Y)=>Y.trimRight();else this.format=(Y)=>Y}}eK0.ColumnFormatter=tK0});var kf=E((UG0)=>{Object.defineProperty(UG0,"__esModule",{value:!0});UG0.NonQuotedColumnParser=void 0;var r21=UD(),YG0=I2();class zG0{constructor($){this.parserOptions=$,this.columnFormatter=new r21.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:Y}=this,z=[],U=$.nextCharacterToken;for(;U;U=$.nextCharacterToken){if(YG0.Token.isTokenDelimiter(U,Y)||YG0.Token.isTokenRowDelimiter(U))break;z.push(U.token),$.advancePastToken(U)}return this.columnFormatter.format(z.join(""))}}UG0.NonQuotedColumnParser=zG0});var xf=E((IG0)=>{Object.defineProperty(IG0,"__esModule",{value:!0});IG0.QuotedColumnParser=void 0;var s21=UD(),tJ=I2();class JG0{constructor($){this.parserOptions=$,this.columnFormatter=new s21.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let Y=$.cursor,{foundClosingQuote:z,col:U}=this.gatherDataBetweenQuotes($);if(!z){if($.advanceTo(Y),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),U}gatherDataBetweenQuotes($){let{parserOptions:Y}=this,z=!1,U=!1,Q=[],J=$.nextCharacterToken;for(;!U&&J!==null;J=$.nextCharacterToken){let I=tJ.Token.isTokenQuote(J,Y);if(!z&&I)z=!0;else if(z)if(tJ.Token.isTokenEscapeCharacter(J,Y)){$.advancePastToken(J);let K=$.nextCharacterToken;if(K!==null&&(tJ.Token.isTokenQuote(K,Y)||tJ.Token.isTokenEscapeCharacter(K,Y)))Q.push(K.token),J=K;else if(I)U=!0;else Q.push(J.token)}else if(I)U=!0;else Q.push(J.token);$.advancePastToken(J)}return{col:this.columnFormatter.format(Q.join("")),foundClosingQuote:U}}checkForMalformedColumn($){let{parserOptions:Y}=this,{nextNonSpaceToken:z}=$;if(z){let U=tJ.Token.isTokenDelimiter(z,Y),Q=tJ.Token.isTokenRowDelimiter(z);if(!(U||Q)){let J=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${Y.escapedDelimiter}' OR new line got: '${z.token}'. at '${J}`)}$.advanceToToken(z)}else if(!$.hasMoreData)$.advancePastLine()}}IG0.QuotedColumnParser=JG0});var XG0=E((WG0)=>{Object.defineProperty(WG0,"__esModule",{value:!0});WG0.ColumnParser=void 0;var a21=kf(),t21=xf(),e21=I2();class GG0{constructor($){this.parserOptions=$,this.quotedColumnParser=new t21.QuotedColumnParser($),this.nonQuotedColumnParser=new a21.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:Y}=$;if(Y!==null&&e21.Token.isTokenQuote(Y,this.parserOptions))return $.advanceToToken(Y),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}WG0.ColumnParser=GG0});var ff=E((eJ)=>{Object.defineProperty(eJ,"__esModule",{value:!0});eJ.ColumnFormatter=eJ.QuotedColumnParser=eJ.NonQuotedColumnParser=eJ.ColumnParser=void 0;var $Y1=XG0();Object.defineProperty(eJ,"ColumnParser",{enumerable:!0,get:function(){return $Y1.ColumnParser}});var YY1=kf();Object.defineProperty(eJ,"NonQuotedColumnParser",{enumerable:!0,get:function(){return YY1.NonQuotedColumnParser}});var zY1=xf();Object.defineProperty(eJ,"QuotedColumnParser",{enumerable:!0,get:function(){return zY1.QuotedColumnParser}});var UY1=UD();Object.defineProperty(eJ,"ColumnFormatter",{enumerable:!0,get:function(){return UY1.ColumnFormatter}})});var bf=E((qG0)=>{Object.defineProperty(qG0,"__esModule",{value:!0});qG0.RowParser=void 0;var JY1=ff(),$I=I2(),uf="";class ZG0{constructor($){this.parserOptions=$,this.columnParser=new JY1.ColumnParser($)}static isEmptyRow($){return $.join(uf).replace(/\s+/g,uf)===uf}parse($){let{parserOptions:Y}=this,{hasMoreData:z}=$,U=$,Q=[],J=this.getStartToken(U,Q);while(J){if($I.Token.isTokenRowDelimiter(J)){if(U.advancePastToken(J),!U.hasMoreCharacters&&$I.Token.isTokenCarriageReturn(J,Y)&&z)return null;return U.truncateToCursor(),Q}if(!this.shouldSkipColumnParse(U,J,Q)){let I=this.columnParser.parse(U);if(I===null)return null;Q.push(I)}J=U.nextNonSpaceToken}if(!z)return U.truncateToCursor(),Q;return null}getStartToken($,Y){let z=$.nextNonSpaceToken;if(z!==null&&$I.Token.isTokenDelimiter(z,this.parserOptions))return Y.push(""),$.nextNonSpaceToken;return z}shouldSkipColumnParse($,Y,z){let{parserOptions:U}=this;if($I.Token.isTokenDelimiter(Y,U)){$.advancePastToken(Y);let Q=$.nextCharacterToken;if(!$.hasMoreCharacters||Q!==null&&$I.Token.isTokenRowDelimiter(Q))return z.push(""),!0;if(Q!==null&&$I.Token.isTokenDelimiter(Q,U))return z.push(""),!0}return!1}}qG0.RowParser=ZG0});var MG0=E((FG0)=>{Object.defineProperty(FG0,"__esModule",{value:!0});FG0.Parser=void 0;var IY1=yf(),LG0=bf(),KY1=I2();class cf{constructor($){this.parserOptions=$,this.rowParser=new LG0.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,Y){let z=new IY1.Scanner({line:cf.removeBOM($),parserOptions:this.parserOptions,hasMoreData:Y});if(this.parserOptions.supportsComments)return this.parseWithComments(z);return this.parseWithoutComments(z)}parseWithoutComments($){let Y=[],z=!0;while(z)z=this.parseRow($,Y);return{line:$.line,rows:Y}}parseWithComments($){let{parserOptions:Y}=this,z=[];for(let U=$.nextCharacterToken;U!==null;U=$.nextCharacterToken)if(KY1.Token.isTokenComment(U,Y)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:z};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:z};$.truncateToCursor()}else if(!this.parseRow($,z))break;return{line:$.line,rows:z}}parseRow($,Y){if(!$.nextNonSpaceToken)return!1;let U=this.rowParser.parse($);if(U===null)return!1;if(this.parserOptions.ignoreEmpty&&LG0.RowParser.isEmptyRow(U))return!0;return Y.push(U),!0}}FG0.Parser=cf});var OG0=E((w7)=>{Object.defineProperty(w7,"__esModule",{value:!0});w7.QuotedColumnParser=w7.NonQuotedColumnParser=w7.ColumnParser=w7.Token=w7.Scanner=w7.RowParser=w7.Parser=void 0;var GY1=MG0();Object.defineProperty(w7,"Parser",{enumerable:!0,get:function(){return GY1.Parser}});var WY1=bf();Object.defineProperty(w7,"RowParser",{enumerable:!0,get:function(){return WY1.RowParser}});var HY1=yf();Object.defineProperty(w7,"Scanner",{enumerable:!0,get:function(){return HY1.Scanner}});var XY1=I2();Object.defineProperty(w7,"Token",{enumerable:!0,get:function(){return XY1.Token}});var nf=ff();Object.defineProperty(w7,"ColumnParser",{enumerable:!0,get:function(){return nf.ColumnParser}});Object.defineProperty(w7,"NonQuotedColumnParser",{enumerable:!0,get:function(){return nf.NonQuotedColumnParser}});Object.defineProperty(w7,"QuotedColumnParser",{enumerable:!0,get:function(){return nf.QuotedColumnParser}})});var pf=E((DG0)=>{Object.defineProperty(DG0,"__esModule",{value:!0});DG0.CsvParserStream=void 0;var qY1=I0("string_decoder"),VY1=I0("stream"),NG0=pK0(),LY1=OG0();class QD extends VY1.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new LY1.Parser($),this.headerTransformer=new NG0.HeaderTransformer($),this.decoder=new qY1.StringDecoder($.encoding),this.rowTransformerValidator=new NG0.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...Y){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...Y)}_transform($,Y,z){if(this.hasHitRowLimit)return z();let U=QD.wrapDoneCallback(z);try{let{lines:Q}=this,J=Q+this.decoder.write($),I=this.parse(J,!0);return this.processRows(I,U)}catch(Q){return U(Q)}}_flush($){let Y=QD.wrapDoneCallback($);if(this.hasHitRowLimit)return Y();try{let z=this.lines+this.decoder.end(),U=this.parse(z,!1);return this.processRows(U,Y)}catch(z){return Y(z)}}parse($,Y){if(!$)return[];let{line:z,rows:U}=this.parser.parse($,Y);return this.lines=z,U}processRows($,Y){let z=$.length,U=(Q)=>{let J=(G)=>{if(G)return Y(G);if(Q%100===0){setImmediate(()=>U(Q+1));return}return U(Q+1)};if(this.checkAndEmitHeaders(),Q>=z||this.hasHitRowLimit)return Y();if(this.parsedLineCount+=1,this.shouldSkipLine)return J();let I=$[Q];this.rowCount+=1,this.parsedRowCount+=1;let K=this.rowCount;return this.transformRow(I,(G,W)=>{if(G)return this.rowCount-=1,J(G);if(!W)return J(Error("expected transform result"));if(!W.isValid)this.emit("data-invalid",W.row,K,W.reason);else if(W.row)return this.pushRow(W.row,J);return J()})};U(0)}transformRow($,Y){try{this.headerTransformer.transform($,(z,U)=>{if(z)return Y(z);if(!U)return Y(Error("Expected result from header transform"));if(!U.isValid){if(this.shouldEmitRows)return Y(null,{isValid:!1,row:$});return this.skipRow(Y)}if(U.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(U.row,Y);return this.skipRow(Y)}return this.rowCount-=1,this.parsedRowCount-=1,Y(null,{row:null,isValid:!0})})}catch(z){Y(z)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,Y){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);Y()}catch(z){Y(z)}}static wrapDoneCallback($){let Y=!1;return(z,...U)=>{if(z){if(Y)throw z;Y=!0,$(z);return}$(...U)}}}DG0.CsvParserStream=QD});var AG0=E((n4)=>{var PG0=n4&&n4.__createBinding||(Object.create?function($,Y,z,U){if(U===void 0)U=z;Object.defineProperty($,U,{enumerable:!0,get:function(){return Y[z]}})}:function($,Y,z,U){if(U===void 0)U=z;$[U]=Y[z]}),FY1=n4&&n4.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),wY1=n4&&n4.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var z in $)if(z!=="default"&&Object.prototype.hasOwnProperty.call($,z))PG0(Y,$,z)}return FY1(Y,$),Y},MY1=n4&&n4.__exportStar||function($,Y){for(var z in $)if(z!=="default"&&!Object.prototype.hasOwnProperty.call(Y,z))PG0(Y,$,z)};Object.defineProperty(n4,"__esModule",{value:!0});n4.parseString=n4.parseFile=n4.parseStream=n4.parse=n4.ParserOptions=n4.CsvParserStream=void 0;var OY1=wY1(I0("fs")),NY1=I0("stream"),JD=Zf(),ID=pf();MY1(qf(),n4);var DY1=pf();Object.defineProperty(n4,"CsvParserStream",{enumerable:!0,get:function(){return DY1.CsvParserStream}});var BY1=Zf();Object.defineProperty(n4,"ParserOptions",{enumerable:!0,get:function(){return BY1.ParserOptions}});n4.parse=($)=>new ID.CsvParserStream(new JD.ParserOptions($));n4.parseStream=($,Y)=>$.pipe(new ID.CsvParserStream(new JD.ParserOptions(Y)));n4.parseFile=($,Y={})=>OY1.createReadStream($).pipe(new ID.CsvParserStream(new JD.ParserOptions(Y)));n4.parseString=($,Y)=>{let z=new NY1.Readable;return z.push($),z.push(null),z.pipe(new ID.CsvParserStream(new JD.ParserOptions(Y)))}});var TG0=E((V8)=>{Object.defineProperty(V8,"__esModule",{value:!0});V8.CsvParserStream=V8.ParserOptions=V8.parseFile=V8.parseStream=V8.parseString=V8.parse=V8.FormatterOptions=V8.CsvFormatterStream=V8.writeToPath=V8.writeToString=V8.writeToBuffer=V8.writeToStream=V8.write=V8.format=void 0;var K2=dI0();Object.defineProperty(V8,"format",{enumerable:!0,get:function(){return K2.format}});Object.defineProperty(V8,"write",{enumerable:!0,get:function(){return K2.write}});Object.defineProperty(V8,"writeToStream",{enumerable:!0,get:function(){return K2.writeToStream}});Object.defineProperty(V8,"writeToBuffer",{enumerable:!0,get:function(){return K2.writeToBuffer}});Object.defineProperty(V8,"writeToString",{enumerable:!0,get:function(){return K2.writeToString}});Object.defineProperty(V8,"writeToPath",{enumerable:!0,get:function(){return K2.writeToPath}});Object.defineProperty(V8,"CsvFormatterStream",{enumerable:!0,get:function(){return K2.CsvFormatterStream}});Object.defineProperty(V8,"FormatterOptions",{enumerable:!0,get:function(){return K2.FormatterOptions}});var YI=AG0();Object.defineProperty(V8,"parse",{enumerable:!0,get:function(){return YI.parse}});Object.defineProperty(V8,"parseString",{enumerable:!0,get:function(){return YI.parseString}});Object.defineProperty(V8,"parseStream",{enumerable:!0,get:function(){return YI.parseStream}});Object.defineProperty(V8,"parseFile",{enumerable:!0,get:function(){return YI.parseFile}});Object.defineProperty(V8,"ParserOptions",{enumerable:!0,get:function(){return YI.ParserOptions}});Object.defineProperty(V8,"CsvParserStream",{enumerable:!0,get:function(){return YI.CsvParserStream}})});var jG0=E((df,mf)=>{(function($,Y){typeof df=="object"&&typeof mf<"u"?mf.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=Y()})(df,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Y=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,z=/\d/,U=/\d\d/,Q=/\d\d?/,J=/\d*[^-_:/,()\s\d]+/,I={},K=function(V){return(V=+V)+(V>68?1900:2000)},G=function(V){return function(F){this[V]=+F}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(V){(this.zone||(this.zone={})).offset=function(F){if(!F)return 0;if(F==="Z")return 0;var M=F.match(/([+-]|\d\d)/g),w=60*M[1]+(+M[2]||0);return w===0?0:M[0]==="+"?-w:w}(V)}],H=function(V){var F=I[V];return F&&(F.indexOf?F:F.s.concat(F.f))},X=function(V,F){var M,w=I.meridiem;if(w){for(var O=1;O<=24;O+=1)if(V.indexOf(w(O,0,F))>-1){M=O>12;break}}else M=V===(F?"pm":"PM");return M},Z={A:[J,function(V){this.afternoon=X(V,!1)}],a:[J,function(V){this.afternoon=X(V,!0)}],Q:[z,function(V){this.month=3*(V-1)+1}],S:[z,function(V){this.milliseconds=100*+V}],SS:[U,function(V){this.milliseconds=10*+V}],SSS:[/\d{3}/,function(V){this.milliseconds=+V}],s:[Q,G("seconds")],ss:[Q,G("seconds")],m:[Q,G("minutes")],mm:[Q,G("minutes")],H:[Q,G("hours")],h:[Q,G("hours")],HH:[Q,G("hours")],hh:[Q,G("hours")],D:[Q,G("day")],DD:[U,G("day")],Do:[J,function(V){var F=I.ordinal,M=V.match(/\d+/);if(this.day=M[0],F)for(var w=1;w<=31;w+=1)F(w).replace(/\[|\]/g,"")===V&&(this.day=w)}],w:[Q,G("week")],ww:[U,G("week")],M:[Q,G("month")],MM:[U,G("month")],MMM:[J,function(V){var F=H("months"),M=(H("monthsShort")||F.map(function(w){return w.slice(0,3)})).indexOf(V)+1;if(M<1)throw Error();this.month=M%12||M}],MMMM:[J,function(V){var F=H("months").indexOf(V)+1;if(F<1)throw Error();this.month=F%12||F}],Y:[/[+-]?\d+/,G("year")],YY:[U,function(V){this.year=K(V)}],YYYY:[/\d{4}/,G("year")],Z:W,ZZ:W};function q(V){var F,M;F=V,M=I&&I.formats;for(var w=(V=F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(j,C,b){var k=b&&b.toUpperCase();return C||M[b]||$[b]||M[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(h,i,c){return i||c.slice(1)})})).match(Y),O=w.length,N=0;N-1)return new Date((x==="X"?1000:1)*U0);var $0=q(x)(U0),g=$0.year,p=$0.month,e=$0.day,y=$0.hours,s=$0.minutes,Y0=$0.seconds,M0=$0.milliseconds,E0=$0.zone,G0=$0.week,T0=new Date,b0=e||(g||p?1:T0.getDate()),Y1=g||T0.getFullYear(),a=0;g&&!p||(a=p>0?p-1:T0.getMonth());var H0,L0=y||0,f0=s||0,u0=Y0||0,i0=M0||0;return E0?new Date(Date.UTC(Y1,a,b0,L0,f0,u0,i0+60*E0.offset*1000)):d?new Date(Date.UTC(Y1,a,b0,L0,f0,u0,i0)):(H0=new Date(Y1,a,b0,L0,f0,u0,i0),G0&&(H0=t(H0).week(G0).toDate()),H0)}catch(D1){return new Date("")}}(D,B,T,M),this.init(),k&&k!==!0&&(this.$L=this.locale(k).$L),b&&D!=this.format(B)&&(this.$d=new Date("")),I={}}else if(B instanceof Array)for(var h=B.length,i=1;i<=h;i+=1){A[1]=B[i-1];var c=M.apply(this,A);if(c.isValid()){this.$d=c.$d,this.$L=c.$L,this.init();break}i===h&&(this.$d=new Date(""))}else O.call(this,N)}}})});var EG0=E((lf,of)=>{(function($,Y){typeof lf=="object"&&typeof of<"u"?of.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=Y()})(lf,function(){var $="minute",Y=/[+-]\d\d(?::?\d\d)?/g,z=/([+-]|\d\d)/g;return function(U,Q,J){var I=Q.prototype;J.utc=function(q){var V={date:q,utc:!0,args:arguments};return new Q(V)},I.utc=function(q){var V=J(this.toDate(),{locale:this.$L,utc:!0});return q?V.add(this.utcOffset(),$):V},I.local=function(){return J(this.toDate(),{locale:this.$L,utc:!1})};var K=I.parse;I.parse=function(q){q.utc&&(this.$u=!0),this.$utils().u(q.$offset)||(this.$offset=q.$offset),K.call(this,q)};var G=I.init;I.init=function(){if(this.$u){var q=this.$d;this.$y=q.getUTCFullYear(),this.$M=q.getUTCMonth(),this.$D=q.getUTCDate(),this.$W=q.getUTCDay(),this.$H=q.getUTCHours(),this.$m=q.getUTCMinutes(),this.$s=q.getUTCSeconds(),this.$ms=q.getUTCMilliseconds()}else G.call(this)};var W=I.utcOffset;I.utcOffset=function(q,V){var F=this.$utils().u;if(F(q))return this.$u?0:F(this.$offset)?W.call(this):this.$offset;if(typeof q=="string"&&(q=function(N){N===void 0&&(N="");var D=N.match(Y);if(!D)return null;var T=(""+D[0]).match(z)||["-",0,0],A=T[0],B=60*+T[1]+ +T[2];return B===0?0:A==="+"?B:-B}(q),q===null))return this;var M=Math.abs(q)<=16?60*q:q;if(M===0)return this.utc(V);var w=this.clone();if(V)return w.$offset=M,w.$u=!1,w;var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(w=this.local().add(M+O,$)).$offset=M,w.$x.$localOffset=O,w};var H=I.format;I.format=function(q){var V=q||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return H.call(this,V)},I.valueOf=function(){var q=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*q},I.isUTC=function(){return!!this.$u},I.toISOString=function(){return this.toDate().toISOString()},I.toString=function(){return this.toDate().toUTCString()};var X=I.toDate;I.toDate=function(q){return q==="s"&&this.$offset?J(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():X.call(this)};var Z=I.diff;I.diff=function(q,V,F){if(q&&this.$u===q.$u)return Z.call(this,q,V,F);var M=this.local(),w=J(q).local();return Z.call(M,w,V,F)}}})});var CG0=E((rf,sf)=>{(function($,Y){typeof rf=="object"&&typeof sf<"u"?sf.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs=Y()})(rf,function(){var $=1000,Y=60000,z=3600000,U="millisecond",Q="second",J="minute",I="hour",K="day",G="week",W="month",H="quarter",X="year",Z="date",q="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var i=["th","st","nd","rd"],c=h%100;return"["+h+(i[(c-20)%10]||i[c]||i[0])+"]"}},w=function(h,i,c){var U0=String(h);return!U0||U0.length>=i?h:""+Array(i+1-U0.length).join(c)+h},O={s:w,z:function(h){var i=-h.utcOffset(),c=Math.abs(i),U0=Math.floor(c/60),x=c%60;return(i<=0?"+":"-")+w(U0,2,"0")+":"+w(x,2,"0")},m:function h(i,c){if(i.date()1)return h(t[0])}else{var $0=i.name;D[$0]=i,x=$0}return!U0&&x&&(N=x),x||!U0&&N},j=function(h,i){if(A(h))return h.clone();var c=typeof i=="object"?i:{};return c.date=h,c.args=arguments,new b(c)},C=O;C.l=B,C.i=A,C.w=function(h,i){return j(h,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var b=function(){function h(c){this.$L=B(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[T]=!0}var i=h.prototype;return i.parse=function(c){this.$d=function(U0){var{date:x,utc:d}=U0;if(x===null)return new Date(NaN);if(C.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var t=x.match(V);if(t){var $0=t[2]-1||0,g=(t[7]||"0").substring(0,3);return d?new Date(Date.UTC(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)):new Date(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)}}return new Date(x)}(c),this.init()},i.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},i.$utils=function(){return C},i.isValid=function(){return this.$d.toString()!==q},i.isSame=function(c,U0){var x=j(c);return this.startOf(U0)<=x&&x<=this.endOf(U0)},i.isAfter=function(c,U0){return j(c){var RG0=I0("fs"),_G0=TG0(),AY1=jG0(),TY1=EG0(),pH=CG0().extend(AY1).extend(TY1),jY1=jH(),{fs:{exists:EY1}}=Z8(),CY1={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class vG0{constructor($){this.workbook=$,this.worksheet=null}async readFile($,Y){if(Y=Y||{},!await EY1($))throw Error(`File not found: ${$}`);let z=RG0.createReadStream($),U=await this.read(z,Y);return z.close(),U}read($,Y){return Y=Y||{},new Promise((z,U)=>{let Q=this.workbook.addWorksheet(Y.sheetName),J=Y.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=Y.map||function(G){if(G==="")return null;let W=Number(G);if(!Number.isNaN(W)&&W!==1/0)return W;let H=J.reduce((Z,q)=>{if(Z)return Z;let V=pH(G,q,!0);if(V.isValid())return V;return null},null);if(H)return new Date(H.valueOf());let X=CY1[G];if(X!==void 0)return X;return G},K=_G0.parse(Y.parserOptions).on("data",(G)=>{Q.addRow(G.map(I))}).on("end",()=>{K.emit("worksheet",Q)});K.on("worksheet",z).on("error",U),$.pipe(K)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,Y){return new Promise((z,U)=>{Y=Y||{};let Q=this.workbook.getWorksheet(Y.sheetName||Y.sheetId),J=_G0.format(Y.formatterOptions);$.on("finish",()=>{z()}),J.on("error",U),J.pipe($);let{dateFormat:I,dateUTC:K}=Y,G=Y.map||((X)=>{if(X){if(X.text||X.hyperlink)return X.hyperlink||X.text||"";if(X.formula||X.result)return X.result||"";if(X instanceof Date){if(I)return K?pH.utc(X).format(I):pH(X).format(I);return K?pH.utc(X).format():pH(X).format()}if(X.error)return X.error;if(typeof X==="object")return JSON.stringify(X)}return X}),W=Y.includeEmptyRows===void 0||Y.includeEmptyRows,H=1;if(Q)Q.eachRow((X,Z)=>{if(W)while(H++{var gG0=i40(),RY1=Ug(),_Y1=lx(),vY1=SG0();class yG0{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new RY1}get xlsx(){if(!this._xlsx)this._xlsx=new _Y1(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new vY1(this);return this._csv}get nextId(){for(let $=1;$(K&&K.orderNo)>I?K.orderNo:I,0),Q=Object.assign({},Y,{id:z,name:$,orderNo:U+1,workbook:this}),J=new gG0(Q);return this._worksheets[z]=J,J}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let Y=this.getWorksheet($);if(Y)Y.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,Y)=>$.orderNo-Y.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((Y)=>{$(Y,Y.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let Y=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),Y}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((Y)=>{let{id:z,name:U,state:Q}=Y,J=$.sheets&&$.sheets.findIndex((K)=>K.id===z),I=this._worksheets[z]=new gG0({id:z,name:U,orderNo:J,state:Q,workbook:this});I.model=Y}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}kG0.exports=yG0});var bG0=E((ol1,uG0)=>{var hY1=lx();class fG0{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new hY1(this);return this._xlsx}}uG0.exports=fG0});var cG0=E((rl1,iG0)=>{var SY1=typeof process==="object"&&process&&process.platform==="win32";iG0.exports=SY1?{sep:"\\"}:{sep:"/"}});var lG0=E((sl1,mG0)=>{mG0.exports=pG0;function pG0($,Y,z){if($ instanceof RegExp)$=nG0($,z);if(Y instanceof RegExp)Y=nG0(Y,z);var U=dG0($,Y,z);return U&&{start:U[0],end:U[1],pre:z.slice(0,U[0]),body:z.slice(U[0]+$.length,U[1]),post:z.slice(U[1]+Y.length)}}function nG0($,Y){var z=Y.match($);return z?z[0]:null}pG0.range=dG0;function dG0($,Y,z){var U,Q,J,I,K,G=z.indexOf($),W=z.indexOf(Y,G+1),H=G;if(G>=0&&W>0){if($===Y)return[G,W];U=[],J=z.length;while(H>=0&&!K){if(H==G)U.push(H),G=z.indexOf($,H+1);else if(U.length==1)K=[U.pop(),W];else{if(Q=U.pop(),Q=0?G:W}if(U.length)K=[J,I]}return K}});var YW0=E((al1,$W0)=>{var oG0=lG0();$W0.exports=fY1;var rG0="\x00SLASH"+Math.random()+"\x00",sG0="\x00OPEN"+Math.random()+"\x00",ef="\x00CLOSE"+Math.random()+"\x00",aG0="\x00COMMA"+Math.random()+"\x00",tG0="\x00PERIOD"+Math.random()+"\x00",gY1=1e5,yY1=4000000;function af($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function kY1($){return $.split("\\\\").join(rG0).split("\\{").join(sG0).split("\\}").join(ef).split("\\,").join(aG0).split("\\.").join(tG0)}function xY1($){return $.split(rG0).join("\\").split(sG0).join("{").split(ef).join("}").split(aG0).join(",").split(tG0).join(".")}function eG0($){if(!$)return[""];var Y=[],z=oG0("{","}",$);if(!z)return $.split(",");var{pre:U,body:Q,post:J}=z,I=U.split(",");I[I.length-1]+="{"+Q+"}";var K=eG0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function fY1($,Y){if(!$)return[];Y=Y||{};var z=Y.max==null?gY1:Y.max,U=Y.maxLength==null?yY1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return tf(kY1($),z,U,!0).map(xY1)}function uY1($){return"{"+$+"}"}function bY1($){return/^-?0\d/.test($)}function iY1($,Y){return $<=Y}function cY1($,Y){return $>=Y}function dH($,Y,z,U,Q,J){var I=[],K=0;for(var G=0;G<$.length;G++)for(var W=0;W=U)return I;var H=$[G]+Y+z[W];if(J&&!H)continue;if(K+H.length>Q)return I;I.push(H),K+=H.length}return I}function nY1($,Y,z,U){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=af(Q[0]),K=af(Q[1]),G=Math.max(Q[0].length,Q[1].length),W=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(af(Q[2])),1):1,H=iY1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>U)break;J.push(F),q+=F.length}return J}function tf($,Y,z,U){var Q=[""],J=!1,I=!0;for(;;){let D=oG0("{","}",$);if(!D)return dH(Q,$,[""],Y,z,J);let T=D.pre;if(/\$$/.test(T)){if(Q=dH(Q,T+"{"+D.body+"}",[""],Y,z,J&&!D.post.length),I=!1,!D.post.length)break;$=D.post;continue}var K=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(D.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(D.body),W=K||G,H=D.body.indexOf(",")>=0;if(!W&&!H){if(D.post.match(/,(?!,).*\}/)){$=D.pre+"{"+D.body+ef+D.post,U=!0;continue}return dH(Q,T+"{"+D.body+"}"+D.post,[""],Y,z,J)}if(I)J=U&&!W,I=!1;var X;if(W)X=nY1(D.body,G,Y,z);else{var Z=eG0(D.body);if(Z.length===1&&Z[0]!==void 0){if(Z=tf(Z[0],Y,z,!1).map(uY1),Z.length===1){if(Q=dH(Q,T+Z[0],[""],Y,z,J&&!D.post.length),!D.post.length)break;$=D.post;continue}}var q=J&&!D.post.length&&!T;for(var V=0;q&&V=Y||F+N.length>z)break $;X.push(N),F+=N.length}}}if(Q=dH(Q,T,X,Y,z,J&&!D.post.length),!D.post.length)break;$=D.post}return Q}});var KW0=E((tl1,Qu)=>{var W$=Qu.exports=($,Y,z={})=>{if(KD(Y),!z.nocomment&&Y.charAt(0)==="#")return!1;return new mH(Y,z).match($)};Qu.exports=W$;var zu=cG0();W$.sep=zu.sep;var R8=Symbol("globstar **");W$.GLOBSTAR=R8;var pY1=YW0(),zW0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Uu="[^/]",$u=Uu+"*?",dY1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",mY1="(?:(?!(?:\\/|^)\\.).)*?",JW0=($)=>$.split("").reduce((Y,z)=>{return Y[z]=!0,Y},{}),UW0=JW0("().*{}+?[]^$\\!"),lY1=JW0("[.("),QW0=/\/+/;W$.filter=($,Y={})=>(z,U,Q)=>W$(z,$,Y);var G2=($,Y={})=>{let z={};return Object.keys($).forEach((U)=>z[U]=$[U]),Object.keys(Y).forEach((U)=>z[U]=Y[U]),z};W$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return W$;let Y=W$,z=(U,Q,J)=>Y(U,Q,G2($,J));return z.Minimatch=class extends Y.Minimatch{constructor(Q,J){super(Q,G2($,J))}},z.Minimatch.defaults=(U)=>Y.defaults(G2($,U)).Minimatch,z.filter=(U,Q)=>Y.filter(U,G2($,Q)),z.defaults=(U)=>Y.defaults(G2($,U)),z.makeRe=(U,Q)=>Y.makeRe(U,G2($,Q)),z.braceExpand=(U,Q)=>Y.braceExpand(U,G2($,Q)),z.match=(U,Q,J)=>Y.match(U,Q,G2($,J)),z};W$.braceExpand=($,Y)=>IW0($,Y);var IW0=($,Y={})=>{if(KD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return pY1($)},oY1=65536,KD=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>oY1)throw TypeError("pattern is too long")},Yu=Symbol("subparse");W$.makeRe=($,Y)=>new mH($,Y||{}).makeRe();W$.match=($,Y,z={})=>{let U=new mH(Y,z);if($=$.filter((Q)=>U.match(Q)),U.options.nonull&&!$.length)$.push(Y);return $};var rY1=($)=>$.replace(/\\(.)/g,"$1"),sY1=($)=>$.replace(/\\([^-\]])/g,"$1"),aY1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),tY1=($)=>$.replace(/[[\]\\]/g,"\\$&");class mH{constructor($,Y){if(KD($),!Y)Y={};if(this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}debug(){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let z=this.globSet=this.braceExpand();if(Y.debug)this.debug=(...U)=>console.error(...U);this.debug(this.pattern,z),z=this.globParts=z.map((U)=>U.split(QW0)),this.debug(this.pattern,z),z=z.map((U,Q,J)=>U.map(this.parse,this)),this.debug(this.pattern,z),z=z.filter((U)=>U.indexOf(!1)===-1),this.debug(this.pattern,z),this.set=z}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,Y=!1,z=0;for(let U=0;U<$.length&&$.charAt(U)==="!";U++)Y=!Y,z++;if(z)this.pattern=$.slice(z);this.negate=Y}matchOne($,Y,z){if(Y.indexOf(R8)!==-1)return this._matchGlobstar($,Y,z,0,0);return this._matchOne($,Y,z,0,0)}_matchGlobstar($,Y,z,U,Q){let J=-1;for(let w=Q;w=0;w--)if(Y[w]===R8){I=w;break}let K=Y.slice(Q,J),G=z?Y.slice(J+1):Y.slice(J+1,I),W=z?[]:Y.slice(I+1);if(K.length){let w=$.slice(U,U+K.length);if(!this._matchOne(w,K,z,0,0))return!1;U+=K.length}let H=0;if(W.length){if(W.length+U>$.length)return!1;let w=$.length-W.length;if(this._matchOne($,W,z,w,0))H=W.length;else{if($[$.length-1]!==""||U+W.length===$.length)return!1;if(!this._matchOne($,W,z,w-1,0))return!1;H=W.length+1}}if(!G.length){let w=!!H;for(let O=U;O<$.length-H;O++){let N=String($[O]);if(w=!0,N==="."||N===".."||!this.options.dot&&N.charAt(0)===".")return!1}return z||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===R8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-H;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this._matchGlobStarBodySections($,X,U,0,z,0,!!H)}_matchGlobStarBodySections($,Y,z,U,Q,J,I){let K=Y[U];if(!K){for(let H=z;H<$.length;H++){I=!0;let X=$[H];if(X==="."||X===".."||!this.options.dot&&X.charAt(0)===".")return!1}return I}let[G,W]=K;while(z<=W){if(this._matchOne($.slice(0,z+G.length),G,Q,z,0)&&JF?"":M?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",O=(A)=>A.charAt(0)==="."?"":z.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=()=>{if(G){switch(G){case"*":U+=$u,Q=!0;break;case"?":U+=Uu,Q=!0;break;default:U+="\\"+G;break}this.debug("clearStateChar %j %j",G,U),G=!1}};for(let A=0,B;A<$.length&&(B=$.charAt(A));A++){if(this.debug("%s\t%s %s %j",$,A,U,B),J){if(B==="/")return!1;if(UW0[B])U+="\\";U+=B,J=!1;continue}switch(B){case"/":return!1;case"\\":if(W&&$.charAt(A+1)==="-"){U+=B;continue}N(),J=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,A,U,B),W){if(this.debug(" in class"),B==="!"&&A===X+1)B="^";U+=B;continue}if(B==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),N(),G=B,z.noext)N();continue;case"(":{if(W){U+="(";continue}if(!G){U+="\\(";continue}let j={type:G,start:A-1,reStart:U.length,open:zW0[G].open,close:zW0[G].close};if(this.debug(this.pattern,"\t",j),I.push(j),U+=j.open,j.start===0&&j.type!=="!")F=!0,U+=O($.slice(A+1));this.debug("plType %j %j",G,U),G=!1;continue}case")":{let j=I[I.length-1];if(W||!j){U+="\\)";continue}if(I.pop(),N(),Q=!0,q=j,U+=q.close,q.type==="!")K.push(Object.assign(q,{reEnd:U.length}));continue}case"|":{let j=I[I.length-1];if(W||!j){U+="\\|";continue}if(N(),U+="|",j.start===0&&j.type!=="!")F=!0,U+=O($.slice(A+1));continue}case"[":if(N(),W){U+="\\"+B;continue}W=!0,X=A,H=U.length,U+=B;continue;case"]":if(A===X+1||!W){U+="\\"+B;continue}Z=$.substring(X+1,A);try{RegExp("["+tY1(sY1(Z))+"]"),U+=B}catch(j){U=U.substring(0,H)+"(?:$.)"}Q=!0,W=!1;continue;default:if(N(),UW0[B]&&!(B==="^"&&W))U+="\\";U+=B;break}}if(W)Z=$.slice(X+1),V=this.parse(Z,Yu),U=U.substring(0,H)+"\\["+V[0],Q=Q||V[1];for(q=I.pop();q;q=I.pop()){let A;A=U.slice(q.reStart+q.open.length),this.debug("setting tail",U,q),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(j,C,b)=>{if(!b)b="\\";return C+C+b+"|"}),this.debug(`tail=%j + %s`,A,A,q,U);let B=q.type==="*"?$u:q.type==="?"?Uu:"\\"+q.type;Q=!0,U=U.slice(0,q.reStart)+B+"\\("+A}if(N(),J)U+="\\\\";let D=lY1[U.charAt(0)];for(let A=K.length-1;A>-1;A--){let B=K[A],j=U.slice(0,B.reStart),C=U.slice(B.reStart,B.reEnd-8),b=U.slice(B.reEnd),k=U.slice(B.reEnd-8,B.reEnd)+b,h=j.split(")").length,i=j.split("(").length-h,c=b;for(let x=0;x{return J=J.map((I)=>typeof I==="string"?aY1(I):I===R8?R8:I._src).reduce((I,K)=>{if(!(I[I.length-1]===R8&&K===R8))I.push(K);return I},[]),J.forEach((I,K)=>{if(I!==R8||J[K-1]===R8)return;if(K===0)if(J.length>1)J[K+1]="(?:\\/|"+z+"\\/)?"+J[K+1];else J[K]=z;else if(K===J.length-1)J[K-1]+="(?:\\/|"+z+")?";else J[K-1]+="(?:\\/|\\/"+z+"\\/)"+J[K+1],J[K+1]=R8}),J.filter((I)=>I!==R8).join("/")}).join("|");if(Q="^(?:"+Q+")$",this.negate)Q="^(?!"+Q+").*$";try{this.regexp=new RegExp(Q,U)}catch(J){this.regexp=!1}return this.regexp}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let z=this.options;if(zu.sep!=="/")$=$.split(zu.sep).join("/");$=$.split(QW0),this.debug(this.pattern,"split",$);let U=this.set;this.debug(this.pattern,"set",U);let Q;for(let J=$.length-1;J>=0;J--)if(Q=$[J],Q)break;for(let J=0;J{XW0.exports=HW0;var Iu=I0("fs"),{EventEmitter:eY1}=I0("events"),{Minimatch:Ju}=KW0(),{resolve:$z1}=I0("path");function Yz1($,Y){return new Promise((z,U)=>{Iu.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)U(Q);else z([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":z([]);break;case"ELOOP":default:U(Q);break}else z(J)})})}function GW0($,Y){return new Promise((z,U)=>{(Y?Iu.stat:Iu.lstat)($,(J,I)=>{if(J)switch(J.code){case"ENOENT":if(Y)z(GW0($,!1));else z(null);break;default:z(null);break}else z(I)})})}async function*WW0($,Y,z,U,Q,J){let I=await Yz1(Y+$,J);for(let K of I){let G=K.name;if(G===void 0)G=K,U=!0;let W=$+"/"+G,H=W.slice(1),X=Y+"/"+H,Z=null;if(U||z)Z=await GW0(X,z);if(!Z&&K.name!==void 0)Z=K;if(Z===null)Z={isDirectory:()=>!1};if(Z.isDirectory()){if(!Q(H))yield{relative:H,absolute:X,stats:Z},yield*WW0(W,Y,z,U,Q,!1)}else yield{relative:H,absolute:X,stats:Z}}}async function*zz1($,Y,z,U){yield*WW0("",$,Y,z,U,!0)}function Uz1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class Ku extends eY1{constructor($,Y,z){super();if(typeof Y==="function")z=Y,Y=null;if(this.options=Uz1(Y||{}),this.matchers=[],this.options.pattern){let U=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=U.map((Q)=>new Ju(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let U=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=U.map((Q)=>new Ju(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let U=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=U.map((Q)=>new Ju(Q,{dot:!0}))}if(this.iterator=zz1($z1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,z)this._matches=[],this.on("match",(U)=>this._matches.push(this.options.absolute?U.absolute:U.relative)),this.on("error",(U)=>z(U)),this.on("end",()=>z(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let z=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((U)=>U.match(z)))&&!this.ignoreMatchers.some((U)=>U.match(z))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,Y)){let z=$.value.relative,U=$.value.absolute;if(this.options.mark&&Y)z+="/",U+="/";if(this.options.stat)this.emit("match",{relative:z,absolute:U,stat:$.value.stats});else this.emit("match",{relative:z,absolute:U})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function HW0($,Y,z){return new Ku($,Y,z)}HW0.ReaddirGlob=Ku});var Gu=E((GD,qW0)=>{(function($,Y){typeof GD==="object"&&typeof qW0<"u"?Y(GD):typeof define==="function"&&define.amd?define(["exports"],Y):($=typeof globalThis<"u"?globalThis:$||self,Y($.async={}))})(GD,function($){function Y(f,...n){return(...m)=>f(...n,...m)}function z(f){return function(...n){var m=n.pop();return f.call(this,n,m)}}var U=typeof queueMicrotask==="function"&&queueMicrotask,Q=typeof setImmediate==="function"&&setImmediate,J=typeof process==="object"&&typeof process.nextTick==="function";function I(f){setTimeout(f,0)}function K(f){return(n,...m)=>f(()=>n(...m))}var G;if(U)G=queueMicrotask;else if(Q)G=setImmediate;else if(J)G=process.nextTick;else G=I;var W=K(G);function H(f){if(q(f))return function(...n){let m=n.pop(),K0=f.apply(this,n);return X(K0,m)};return z(function(n,m){var K0;try{K0=f.apply(this,n)}catch(w0){return m(w0)}if(K0&&typeof K0.then==="function")return X(K0,m);else m(null,K0)})}function X(f,n){return f.then((m)=>{Z(n,null,m)},(m)=>{Z(n,m&&(m instanceof Error||m.message)?m:Error(m))})}function Z(f,n,m){try{f(n,m)}catch(K0){W((w0)=>{throw w0},K0)}}function q(f){return f[Symbol.toStringTag]==="AsyncFunction"}function V(f){return f[Symbol.toStringTag]==="AsyncGenerator"}function F(f){return typeof f[Symbol.asyncIterator]==="function"}function M(f){if(typeof f!=="function")throw Error("expected a function");return q(f)?H(f):f}function w(f,n){if(!n)n=f.length;if(!n)throw Error("arity is undefined");function m(...K0){if(typeof K0[n-1]==="function")return f.apply(this,K0);return new Promise((w0,D0)=>{K0[n-1]=(A0,...j0)=>{if(A0)return D0(A0);w0(j0.length>1?j0:j0[0])},f.apply(this,K0)})}return m}function O(f){return function(m,...K0){return w(function(D0){var A0=this;return f(m,(j0,h0)=>{M(j0).apply(A0,K0.concat(h0))},D0)})}}function N(f,n,m,K0){n=n||[];var w0=[],D0=0,A0=M(m);return f(n,(j0,h0,z1)=>{var x1=D0++;A0(j0,(m1,i1)=>{w0[x1]=i1,z1(m1)})},(j0)=>{K0(j0,w0)})}function D(f){return f&&typeof f.length==="number"&&f.length>=0&&f.length%1===0}let T={};function A(f){function n(...m){if(f===null)return;var K0=f;f=null,K0.apply(this,m)}return Object.assign(n,f),n}function B(f){return f[Symbol.iterator]&&f[Symbol.iterator]()}function j(f){var n=-1,m=f.length;return function(){return++n=n||A0||w0)return;A0=!0,f.next().then(({value:i1,done:M$})=>{if(D0||w0)return;if(A0=!1,M$){if(w0=!0,j0<=0)K0(null);return}j0++,m(i1,h0,x1),h0++,z1()}).catch(m1)}function x1(i1,M$){if(j0-=1,D0)return;if(i1)return m1(i1);if(i1===!1){w0=!0,D0=!0;return}if(M$===T||w0&&j0<=0)return w0=!0,K0(null);z1()}function m1(i1){if(D0)return;A0=!1,w0=!0,K0(i1)}z1()}var c=(f)=>{return(n,m,K0)=>{if(K0=A(K0),f<=0)throw RangeError("concurrency limit cannot be less than 1");if(!n)return K0(null);if(V(n))return i(n,f,m,K0);if(F(n))return i(n[Symbol.asyncIterator](),f,m,K0);var w0=k(n),D0=!1,A0=!1,j0=0,h0=!1;function z1(m1,i1){if(A0)return;if(j0-=1,m1)D0=!0,K0(m1);else if(m1===!1)D0=!0,A0=!0;else if(i1===T||D0&&j0<=0)return D0=!0,K0(null);else if(!h0)x1()}function x1(){h0=!0;while(j01?w0:w0[0])}return m[T0]=new Promise((K0,w0)=>{f=K0,n=w0}),m}function Y1(f,n,m){if(typeof n!=="number")m=n,n=null;m=A(m||b0());var K0=Object.keys(f).length;if(!K0)return m(null);if(!n)n=K0;var w0={},D0=0,A0=!1,j0=!1,h0=Object.create(null),z1=[],x1=[],m1={};Object.keys(f).forEach((e0)=>{var W1=f[e0];if(!Array.isArray(W1)){i1(e0,[W1]),x1.push(e0);return}var c1=W1.slice(0,W1.length-1),g4=c1.length;if(g4===0){i1(e0,W1),x1.push(e0);return}m1[e0]=g4,c1.forEach((v6)=>{if(!f[v6])throw Error("async.auto task `"+e0+"` has a non-existent dependency `"+v6+"` in "+c1.join(", "));kU(v6,()=>{if(g4--,g4===0)i1(e0,W1)})})}),l1(),M$();function i1(e0,W1){z1.push(()=>cK(e0,W1))}function M$(){if(A0)return;if(z1.length===0&&D0===0)return m(null,w0);while(z1.length&&D0c1()),M$()}function cK(e0,W1){if(j0)return;var c1=h((v6,...O$)=>{if(D0--,v6===!1){A0=!0;return}if(O$.length<2)[O$]=O$;if(v6){var xU={};if(Object.keys(w0).forEach((OY)=>{xU[OY]=w0[OY]}),xU[e0]=O$,j0=!0,h0=Object.create(null),A0)return;m(v6,xU)}else w0[e0]=O$,MY(e0)});D0++;var g4=M(W1[W1.length-1]);if(W1.length>1)g4(w0,c1);else g4(c1)}function l1(){var e0,W1=0;while(x1.length)e0=x1.pop(),W1++,G1(e0).forEach((c1)=>{if(--m1[c1]===0)x1.push(c1)});if(W1!==K0)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function G1(e0){var W1=[];return Object.keys(f).forEach((c1)=>{let g4=f[c1];if(Array.isArray(g4)&&g4.indexOf(e0)>=0)W1.push(c1)}),W1}return m[T0]}var a=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,H0=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,L0=/,/,f0=/(=.+)?(\s*)$/;function u0(f){let n="",m=0,K0=f.indexOf("*/");while(mw0.replace(f0,"").trim())}function D1(f,n){var m={};return Object.keys(f).forEach((K0)=>{var w0=f[K0],D0,A0=q(w0),j0=!A0&&w0.length===1||A0&&w0.length===0;if(Array.isArray(w0))D0=[...w0],w0=D0.pop(),m[K0]=D0.concat(D0.length>0?h0:w0);else if(j0)m[K0]=w0;else{if(D0=i0(w0),w0.length===0&&!A0&&D0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!A0)D0.pop();m[K0]=D0.concat(h0)}function h0(z1,x1){var m1=D0.map((i1)=>z1[i1]);m1.push(x1),M(w0)(...m1)}}),Y1(m,n)}class k1{constructor(){this.head=this.tail=null,this.length=0}removeLink(f){if(f.prev)f.prev.next=f.next;else this.head=f.next;if(f.next)f.next.prev=f.prev;else this.tail=f.prev;return f.prev=f.next=null,this.length-=1,f}empty(){while(this.head)this.shift();return this}insertAfter(f,n){if(n.prev=f,n.next=f.next,f.next)f.next.prev=n;else this.tail=n;f.next=n,this.length+=1}insertBefore(f,n){if(n.prev=f.prev,n.next=f,f.prev)f.prev.next=n;else this.head=n;f.prev=n,this.length+=1}unshift(f){if(this.head)this.insertBefore(this.head,f);else u1(this,f)}push(f){if(this.tail)this.insertAfter(this.tail,f);else u1(this,f)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var f=this.head;while(f)yield f.data,f=f.next}remove(f){var n=this.head;while(n){var{next:m}=n;if(f(n))this.removeLink(n);n=m}return this}}function u1(f,n){f.length=1,f.head=f.tail=n}function b1(f,n,m){if(n==null)n=1;else if(n===0)throw RangeError("Concurrency must not be zero");var K0=M(f),w0=0,D0=[];let A0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function j0(G1,e0){A0[G1].push(e0)}function h0(G1,e0){let W1=(...c1)=>{z1(G1,W1),e0(...c1)};A0[G1].push(W1)}function z1(G1,e0){if(!G1)return Object.keys(A0).forEach((W1)=>A0[W1]=[]);if(!e0)return A0[G1]=[];A0[G1]=A0[G1].filter((W1)=>W1!==e0)}function x1(G1,...e0){A0[G1].forEach((W1)=>W1(...e0))}var m1=!1;function i1(G1,e0,W1,c1){if(c1!=null&&typeof c1!=="function")throw Error("task callback must be a function");l1.started=!0;var g4,v6;function O$(OY,...nK){if(OY)return W1?v6(OY):g4();if(nK.length<=1)return g4(nK[0]);g4(nK)}var xU=l1._createTaskItem(G1,W1?O$:c1||O$);if(e0)l1._tasks.unshift(xU);else l1._tasks.push(xU);if(!m1)m1=!0,W(()=>{m1=!1,l1.process()});if(W1||!c1)return new Promise((OY,nK)=>{g4=OY,v6=nK})}function M$(G1){return function(e0,...W1){w0-=1;for(var c1=0,g4=G1.length;c10)D0.splice(O$,1);if(v6.callback(e0,...W1),e0!=null)x1("error",e0,v6.data)}if(w0<=l1.concurrency-l1.buffer)x1("unsaturated");if(l1.idle())x1("drain");l1.process()}}function kU(G1){if(G1.length===0&&l1.idle())return W(()=>x1("drain")),!0;return!1}let MY=(G1)=>(e0)=>{if(!e0)return new Promise((W1,c1)=>{h0(G1,(g4,v6)=>{if(g4)return c1(g4);W1(v6)})});z1(G1),j0(G1,e0)};var cK=!1,l1={_tasks:new k1,_createTaskItem(G1,e0){return{data:G1,callback:e0}},*[Symbol.iterator](){yield*l1._tasks[Symbol.iterator]()},concurrency:n,payload:m,buffer:n/4,started:!1,paused:!1,push(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!1,!1,e0))}return i1(G1,!1,!1,e0)},pushAsync(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!1,!0,e0))}return i1(G1,!1,!0,e0)},kill(){z1(),l1._tasks.empty()},unshift(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!0,!1,e0))}return i1(G1,!0,!1,e0)},unshiftAsync(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!0,!0,e0))}return i1(G1,!0,!0,e0)},remove(G1){l1._tasks.remove(G1)},process(){if(cK)return;cK=!0;while(!l1.paused&&w0{w0(n,D0,(h0,z1)=>{n=z1,j0(h0)})},(D0)=>K0(D0,n))}var v=w(P,4);function u(...f){var n=f.map(M);return function(...m){var K0=this,w0=m[m.length-1];if(typeof w0=="function")m.pop();else w0=b0();return v(n,m,(D0,A0,j0)=>{A0.apply(K0,D0.concat((h0,...z1)=>{j0(h0,z1)}))},(D0,A0)=>w0(D0,...A0)),w0[T0]}}function r(...f){return u(...f.reverse())}function X0(f,n,m,K0){return D(c(n),f,m,K0)}var J0=w(X0,4);function Z0(f,n,m,K0){var w0=M(m);return J0(f,n,(D0,A0)=>{w0(D0,(j0,...h0)=>{if(j0)return A0(j0);return A0(j0,h0)})},(D0,A0)=>{var j0=[];for(var h0=0;h0{var A0=!1,j0;let h0=M(w0);m(K0,(z1,x1,m1)=>{h0(z1,(i1,M$)=>{if(i1||i1===!1)return m1(i1);if(f(M$)&&!j0)return A0=!0,j0=n(!0,z1),m1(null,A);m1()})},(z1)=>{if(z1)return D0(z1);D0(null,A0?j0:n(!1))})}}function f4(f,n,m){return S1((K0)=>K0,(K0,w0)=>w0)(g,f,n,m)}var N8=w(f4,3);function e8(f,n,m,K0){return S1((w0)=>w0,(w0,D0)=>D0)(c(n),f,m,K0)}var j5=w(e8,4);function l7(f,n,m){return S1((K0)=>K0,(K0,w0)=>w0)(c(1),f,n,m)}var w$=w(l7,3);function v9(f){return(n,...m)=>M(n)(...m,(K0,...w0)=>{if(typeof console==="object"){if(K0){if(console.error)console.error(K0)}else if(console[f])w0.forEach((D0)=>console[f](D0))}})}var h9=v9("dir");function o7(f,n,m){m=h(m);var K0=M(f),w0=M(n),D0;function A0(h0,...z1){if(h0)return m(h0);if(h0===!1)return;D0=z1,w0(...z1,j0)}function j0(h0,z1){if(h0)return m(h0);if(h0===!1)return;if(!z1)return m(null,...D0);K0(A0)}return j0(null,!0)}var s4=w(o7,3);function r7(f,n,m){let K0=M(n);return s4(f,(...w0)=>{let D0=w0.pop();K0(...w0,(A0,j0)=>D0(A0,!j0))},m)}function a2(f){return(n,m,K0)=>f(n,K0)}function s7(f,n,m){return g(f,a2(M(n)),m)}var E5=w(s7,3);function t2(f,n,m,K0){return c(n)(f,a2(M(m)),K0)}var t$=w(t2,4);function e2(f,n,m){return t$(f,1,n,m)}var e$=w(e2,3);function S9(f){if(q(f))return f;return function(...n){var m=n.pop(),K0=!0;n.push((...w0)=>{if(K0)W(()=>m(...w0));else m(...w0)}),f.apply(this,n),K0=!1}}function $Y(f,n,m){return S1((K0)=>!K0,(K0)=>!K0)(g,f,n,m)}var g9=w($Y,3);function YY(f,n,m,K0){return S1((w0)=>!w0,(w0)=>!w0)(c(n),f,m,K0)}var $$=w(YY,4);function zY(f,n,m){return S1((K0)=>!K0,(K0)=>!K0)(Y0,f,n,m)}var C5=w(zY,3);function UY(f,n,m,K0){var w0=Array(n.length);f(n,(D0,A0,j0)=>{m(D0,(h0,z1)=>{w0[A0]=!!z1,j0(h0)})},(D0)=>{if(D0)return K0(D0);var A0=[];for(var j0=0;j0{m(D0,(h0,z1)=>{if(h0)return j0(h0);if(z1)w0.push({index:A0,value:D0});j0(h0)})},(D0)=>{if(D0)return K0(D0);K0(null,w0.sort((A0,j0)=>A0.index-j0.index).map((A0)=>A0.value))})}function R5(f,n,m,K0){var w0=N(n)?UY:QY;return w0(f,n,M(m),K0)}function JY(f,n,m){return R5(g,f,n,m)}var _5=w(JY,3);function IY(f,n,m,K0){return R5(c(n),f,m,K0)}var v5=w(IY,4);function KY(f,n,m){return R5(Y0,f,n,m)}var h5=w(KY,3);function GY(f,n){var m=h(n),K0=M(S9(f));function w0(D0){if(D0)return m(D0);if(D0===!1)return;K0(w0)}return w0()}var S5=w(GY,2);function y9(f,n,m,K0){var w0=M(m);return J0(f,n,(D0,A0)=>{w0(D0,(j0,h0)=>{if(j0)return A0(j0);return A0(j0,{key:h0,val:D0})})},(D0,A0)=>{var j0={},{hasOwnProperty:h0}=Object.prototype;for(var z1=0;z1{D0(A0,j0,(z1,x1)=>{if(z1)return h0(z1);w0[j0]=x1,h0(z1)})},(A0)=>K0(A0,w0))}var J8=w(HY,4);function XY(f,n,m){return J8(f,1/0,n,m)}function ZY(f,n,m){return J8(f,1,n,m)}function qY(f,n=(m)=>m){var m=Object.create(null),K0=Object.create(null),w0=M(f),D0=z((A0,j0)=>{var h0=n(...A0);if(h0 in m)W(()=>j0(null,...m[h0]));else if(h0 in K0)K0[h0].push(j0);else K0[h0]=[j0],w0(...A0,(z1,...x1)=>{if(!z1)m[h0]=x1;var m1=K0[h0];delete K0[h0];for(var i1=0,M$=m1.length;i1{var K0=N(n)?[]:{};f(n,(w0,D0,A0)=>{M(w0)((j0,...h0)=>{if(h0.length<2)[h0]=h0;K0[D0]=h0,A0(j0)})},(w0)=>m(w0,K0))},3);function LY(f,n){return a7(g,f,n)}function t7(f,n,m){return a7(c(n),f,m)}function e7(f,n){var m=M(f);return b1((K0,w0)=>{m(K0[0],w0)},n,1)}class FY{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(f){let n;while(f>0&&z3(this.heap[f],this.heap[n=Y3(f)])){let m=this.heap[f];this.heap[f]=this.heap[n],this.heap[n]=m,f=n}}percDown(f){let n;while((n=$3(f))=0;m--)this.percDown(m);return this}}function $3(f){return(f<<1)+1}function Y3(f){return(f+1>>1)-1}function z3(f,n){if(f.priority!==n.priority)return f.priority{return{data:A0,priority:j0,callback:h0}};function D0(A0,j0){if(!Array.isArray(A0))return{data:A0,priority:j0};return A0.map((h0)=>{return{data:h0,priority:j0}})}return m.push=function(A0,j0=0,h0){return K0(D0(A0,j0),h0)},m.pushAsync=function(A0,j0=0,h0){return w0(D0(A0,j0),h0)},delete m.unshift,delete m.unshiftAsync,m}function yU(f,n){if(n=T(n),!Array.isArray(f))return n(TypeError("First argument to race must be an array of functions"));if(!f.length)return n();for(var m=0,K0=f.length;m{let j0={};if(D0)j0.error=D0;if(A0.length>0){var h0=A0;if(A0.length<=1)[h0]=A0;j0.value=h0}w0(null,j0)}),n.apply(this,K0)})}function g5(f){var n;if(Array.isArray(f))n=f.map(f9);else n={},Object.keys(f).forEach((m)=>{n[m]=f9.call(this,f[m])});return n}function y5(f,n,m,K0){let w0=M(m);return R5(f,n,(D0,A0)=>{w0(D0,(j0,h0)=>{A0(j0,!h0)})},K0)}function U3(f,n,m){return y5(g,f,n,m)}var u9=w(U3,3);function fK(f,n,m,K0){return y5(c(n),f,m,K0)}var i6=w(fK,4);function u4(f,n,m){return y5(Y0,f,n,m)}var k5=w(u4,3);function N6(f){return function(){return f}}let uK=5,bK=0;function Rq(f,n,m){var K0={times:uK,intervalFunc:N6(bK)};if(arguments.length<3&&typeof f==="function")m=n||b0(),n=f;else Ig0(K0,f),m=m||b0();if(typeof n!=="function")throw Error("Invalid arguments for async.retry");var w0=M(n),D0=1;function A0(){w0((j0,...h0)=>{if(j0===!1)return;if(j0&&D0++{if(w0.lengthK0)(g,f,n,m)}var _q=w(Kg0,3);function Gg0(f,n,m,K0){return S1(Boolean,(w0)=>w0)(c(n),f,m,K0)}var vq=w(Gg0,4);function Wg0(f,n,m){return S1(Boolean,(K0)=>K0)(Y0,f,n,m)}var hq=w(Wg0,3);function Hg0(f,n,m){var K0=M(n);return e(f,(D0,A0)=>{K0(D0,(j0,h0)=>{if(j0)return A0(j0);A0(j0,{value:D0,criteria:h0})})},(D0,A0)=>{if(D0)return m(D0);m(null,A0.sort(w0).map((j0)=>j0.value))});function w0(D0,A0){var j0=D0.criteria,h0=A0.criteria;return j0h0?1:0}}var Lo=w(Hg0,3);function Fo(f,n,m){var K0=M(f);return z((w0,D0)=>{var A0=!1,j0;function h0(){var z1=f.name||"anonymous",x1=Error('Callback function "'+z1+'" timed out.');if(x1.code="ETIMEDOUT",m)x1.info=m;A0=!0,D0(x1)}w0.push((...z1)=>{if(!A0)D0(...z1),clearTimeout(j0)}),j0=setTimeout(h0,n),K0(...w0)})}function Xg0(f){var n=Array(f);while(f--)n[f]=f;return n}function Sq(f,n,m,K0){var w0=M(m);return J0(Xg0(f),n,w0,K0)}function wo(f,n,m){return Sq(f,1/0,n,m)}function Mo(f,n,m){return Sq(f,1,n,m)}function Oo(f,n,m,K0){if(arguments.length<=3&&typeof n==="function")K0=m,m=n,n=Array.isArray(f)?[]:{};K0=T(K0||b0());var w0=M(m);return g(f,(D0,A0,j0)=>{w0(n,D0,A0,j0)},(D0)=>K0(D0,n)),K0[T0]}function Zg0(f,n){var m=null,K0;return e$(f,(w0,D0)=>{M(w0)((A0,...j0)=>{if(A0===!1)return D0(A0);if(j0.length<2)[K0]=j0;else K0=j0;m=A0,D0(A0?null:{})})},()=>n(m,K0))}var No=w(Zg0);function Do(f){return(...n)=>{return(f.unmemoized||f)(...n)}}function qg0(f,n,m){m=h(m);var K0=M(n),w0=M(f),D0=[];function A0(h0,...z1){if(h0)return m(h0);if(D0=z1,h0===!1)return;w0(j0)}function j0(h0,z1){if(h0)return m(h0);if(h0===!1)return;if(!z1)return m(null,...D0);K0(A0)}return w0(j0)}var iK=w(qg0,3);function Bo(f,n,m){let K0=M(f);return iK((w0)=>K0((D0,A0)=>w0(D0,!A0)),n,m)}function Vg0(f,n){if(n=T(n),!Array.isArray(f))return n(Error("First argument to waterfall must be an array of functions"));if(!f.length)return n();var m=0;function K0(D0){var A0=M(f[m++]);A0(...D0,h(w0))}function w0(D0,...A0){if(D0===!1)return;if(D0||m===f.length)return n(D0,...A0);K0(A0)}K0([])}var Po=w(Vg0),Lg0={apply:Y,applyEach:y,applyEachSeries:G0,asyncify:H,auto:Y1,autoInject:D1,cargo:B0,cargoQueue:Q0,compose:r,concat:r0,concatLimit:O0,concatSeries:U1,constant:N1,detect:N8,detectLimit:j5,detectSeries:w$,dir:h9,doUntil:r7,doWhilst:s4,each:E5,eachLimit:t$,eachOf:g,eachOfLimit:x,eachOfSeries:Y0,eachSeries:e$,ensureAsync:S9,every:g9,everyLimit:$$,everySeries:C5,filter:_5,filterLimit:v5,filterSeries:h5,forever:S5,groupBy:WY,groupByLimit:k9,groupBySeries:U8,log:Q8,map:e,mapLimit:J0,mapSeries:E0,mapValues:XY,mapValuesLimit:J8,mapValuesSeries:ZY,memoize:qY,nextTick:VY,parallel:LY,parallelLimit:t7,priorityQueue:wY,queue:e7,race:$5,reduce:v,reduceRight:O6,reflect:f9,reflectAll:g5,reject:u9,rejectLimit:i6,rejectSeries:k5,retry:Rq,retryable:qo,seq:u,series:Vo,setImmediate:W,some:_q,someLimit:vq,someSeries:hq,sortBy:Lo,timeout:Fo,times:wo,timesLimit:Sq,timesSeries:Mo,transform:Oo,tryEach:No,unmemoize:Do,until:Bo,waterfall:Po,whilst:iK,all:g9,allLimit:$$,allSeries:C5,any:_q,anyLimit:vq,anySeries:hq,find:N8,findLimit:j5,findSeries:w$,flatMap:r0,flatMapLimit:O0,flatMapSeries:U1,forEach:E5,forEachSeries:e$,forEachLimit:t$,forEachOf:g,forEachOfSeries:Y0,forEachOfLimit:x,inject:v,foldl:v,foldr:O6,select:_5,selectLimit:v5,selectSeries:h5,wrapSync:H,during:iK,doDuring:s4};$.all=g9,$.allLimit=$$,$.allSeries=C5,$.any=_q,$.anyLimit=vq,$.anySeries=hq,$.apply=Y,$.applyEach=y,$.applyEachSeries=G0,$.asyncify=H,$.auto=Y1,$.autoInject=D1,$.cargo=B0,$.cargoQueue=Q0,$.compose=r,$.concat=r0,$.concatLimit=O0,$.concatSeries=U1,$.constant=N1,$.default=Lg0,$.detect=N8,$.detectLimit=j5,$.detectSeries=w$,$.dir=h9,$.doDuring=s4,$.doUntil=r7,$.doWhilst=s4,$.during=iK,$.each=E5,$.eachLimit=t$,$.eachOf=g,$.eachOfLimit=x,$.eachOfSeries=Y0,$.eachSeries=e$,$.ensureAsync=S9,$.every=g9,$.everyLimit=$$,$.everySeries=C5,$.filter=_5,$.filterLimit=v5,$.filterSeries=h5,$.find=N8,$.findLimit=j5,$.findSeries=w$,$.flatMap=r0,$.flatMapLimit=O0,$.flatMapSeries=U1,$.foldl=v,$.foldr=O6,$.forEach=E5,$.forEachLimit=t$,$.forEachOf=g,$.forEachOfLimit=x,$.forEachOfSeries=Y0,$.forEachSeries=e$,$.forever=S5,$.groupBy=WY,$.groupByLimit=k9,$.groupBySeries=U8,$.inject=v,$.log=Q8,$.map=e,$.mapLimit=J0,$.mapSeries=E0,$.mapValues=XY,$.mapValuesLimit=J8,$.mapValuesSeries=ZY,$.memoize=qY,$.nextTick=VY,$.parallel=LY,$.parallelLimit=t7,$.priorityQueue=wY,$.queue=e7,$.race=$5,$.reduce=v,$.reduceRight=O6,$.reflect=f9,$.reflectAll=g5,$.reject=u9,$.rejectLimit=i6,$.rejectSeries=k5,$.retry=Rq,$.retryable=qo,$.select=_5,$.selectLimit=v5,$.selectSeries=h5,$.seq=u,$.series=Vo,$.setImmediate=W,$.some=_q,$.someLimit=vq,$.someSeries=hq,$.sortBy=Lo,$.timeout=Fo,$.times=wo,$.timesLimit=Sq,$.timesSeries=Mo,$.transform=Oo,$.tryEach=No,$.unmemoize=Do,$.until=Bo,$.waterfall=Po,$.whilst=iK,$.wrapSync=H,Object.defineProperty($,"__esModule",{value:!0})})});var LW0=E((al1,VW0)=>{var W2=I0("constants"),zz1=process.cwd,GD=null,Uz1=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!GD)GD=zz1.call(process);return GD};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(WD=process.chdir,process.chdir=function($){GD=null,WD.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,WD)}var WD;VW0.exports=Qz1;function Qz1($){if(W2.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))Y($);if(!$.lutimes)z($);if($.chown=J($.chown),$.fchown=J($.fchown),$.lchown=J($.lchown),$.chmod=U($.chmod),$.fchmod=U($.fchmod),$.lchmod=U($.lchmod),$.chownSync=I($.chownSync),$.fchownSync=I($.fchownSync),$.lchownSync=I($.lchownSync),$.chmodSync=Q($.chmodSync),$.fchmodSync=Q($.fchmodSync),$.lchmodSync=Q($.lchmodSync),$.stat=K($.stat),$.fstat=K($.fstat),$.lstat=K($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(H,X,Z){if(Z)process.nextTick(Z)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(H,X,Z,q){if(q)process.nextTick(q)},$.lchownSync=function(){};if(Uz1==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(H){function X(Z,q,V){var F=Date.now(),M=0;H(Z,q,function w(O){if(O&&(O.code==="EACCES"||O.code==="EPERM"||O.code==="EBUSY")&&Date.now()-F<60000){if(setTimeout(function(){$.stat(q,function(D,N){if(D&&D.code==="ENOENT")H(Z,q,w);else V(O)})},M),M<100)M+=10;return}if(V)V(O)})}if(Object.setPrototypeOf)Object.setPrototypeOf(X,H);return X}($.rename);$.read=typeof $.read!=="function"?$.read:function(H){function X(Z,q,V,F,M,w){var O;if(w&&typeof w==="function"){var D=0;O=function(N,A,T){if(N&&N.code==="EAGAIN"&&D<10)return D++,H.call($,Z,q,V,F,M,O);w.apply(this,arguments)}}return H.call($,Z,q,V,F,M,O)}if(Object.setPrototypeOf)Object.setPrototypeOf(X,H);return X}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(H){return function(X,Z,q,V,F){var M=0;while(!0)try{return H.call($,X,Z,q,V,F)}catch(w){if(w.code==="EAGAIN"&&M<10){M++;continue}throw w}}}($.readSync);function Y(H){H.lchmod=function(X,Z,q){H.open(X,W2.O_WRONLY|W2.O_SYMLINK,Z,function(V,F){if(V){if(q)q(V);return}H.fchmod(F,Z,function(M){H.close(F,function(w){if(q)q(M||w)})})})},H.lchmodSync=function(X,Z){var q=H.openSync(X,W2.O_WRONLY|W2.O_SYMLINK,Z),V=!0,F;try{F=H.fchmodSync(q,Z),V=!1}finally{if(V)try{H.closeSync(q)}catch(M){}else H.closeSync(q)}return F}}function z(H){if(W2.hasOwnProperty("O_SYMLINK")&&H.futimes)H.lutimes=function(X,Z,q,V){H.open(X,W2.O_SYMLINK,function(F,M){if(F){if(V)V(F);return}H.futimes(M,Z,q,function(w){H.close(M,function(O){if(V)V(w||O)})})})},H.lutimesSync=function(X,Z,q){var V=H.openSync(X,W2.O_SYMLINK),F,M=!0;try{F=H.futimesSync(V,Z,q),M=!1}finally{if(M)try{H.closeSync(V)}catch(w){}else H.closeSync(V)}return F};else if(H.futimes)H.lutimes=function(X,Z,q,V){if(V)process.nextTick(V)},H.lutimesSync=function(){}}function U(H){if(!H)return H;return function(X,Z,q){return H.call($,X,Z,function(V){if(W(V))V=null;if(q)q.apply(this,arguments)})}}function Q(H){if(!H)return H;return function(X,Z){try{return H.call($,X,Z)}catch(q){if(!W(q))throw q}}}function J(H){if(!H)return H;return function(X,Z,q,V){return H.call($,X,Z,q,function(F){if(W(F))F=null;if(V)V.apply(this,arguments)})}}function I(H){if(!H)return H;return function(X,Z,q){try{return H.call($,X,Z,q)}catch(V){if(!W(V))throw V}}}function K(H){if(!H)return H;return function(X,Z,q){if(typeof Z==="function")q=Z,Z=null;function V(F,M){if(M){if(M.uid<0)M.uid+=4294967296;if(M.gid<0)M.gid+=4294967296}if(q)q.apply(this,arguments)}return Z?H.call($,X,Z,V):H.call($,X,V)}}function G(H){if(!H)return H;return function(X,Z){var q=Z?H.call($,X,Z):H.call($,X);if(q){if(q.uid<0)q.uid+=4294967296;if(q.gid<0)q.gid+=4294967296}return q}}function W(H){if(!H)return!0;if(H.code==="ENOSYS")return!0;var X=!process.getuid||process.getuid()!==0;if(X){if(H.code==="EINVAL"||H.code==="EPERM")return!0}return!1}}});var MW0=E((tl1,wW0)=>{var FW0=I0("stream").Stream;wW0.exports=Jz1;function Jz1($){return{ReadStream:Y,WriteStream:z};function Y(U,Q){if(!(this instanceof Y))return new Y(U,Q);FW0.call(this);var J=this;this.path=U,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,Q=Q||{};var I=Object.keys(Q);for(var K=0,G=I.length;Kthis.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){J._read()});return}$.open(this.path,this.flags,this.mode,function(H,X){if(H){J.emit("error",H),J.readable=!1;return}J.fd=X,J.emit("open",X),J._read()})}function z(U,Q){if(!(this instanceof z))return new z(U,Q);FW0.call(this),this.path=U,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,Q=Q||{};var J=Object.keys(Q);for(var I=0,K=J.length;I= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var NW0=E((el1,OW0)=>{OW0.exports=Kz1;var Iz1=Object.getPrototypeOf||function($){return $.__proto__};function Kz1($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var Y={__proto__:Iz1($)};else var Y=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(z){Object.defineProperty(Y,z,Object.getOwnPropertyDescriptor($,z))}),Y}});var l8=E(($o1,Hu)=>{var p4=I0("fs"),Gz1=LW0(),Wz1=MW0(),Hz1=NW0(),HD=I0("util"),r6,ZD;if(typeof Symbol==="function"&&typeof Symbol.for==="function")r6=Symbol.for("graceful-fs.queue"),ZD=Symbol.for("graceful-fs.previous");else r6="___graceful-fs.queue",ZD="___graceful-fs.previous";function Xz1(){}function BW0($,Y){Object.defineProperty($,r6,{get:function(){return Y}})}var Pz=Xz1;if(HD.debuglog)Pz=HD.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))Pz=function(){var $=HD.format.apply(HD,arguments);$="GFS4: "+$.split(/\n/).join(` -GFS4: `),console.error($)};if(!p4[r6]){if(Ku=global[r6]||[],BW0(p4,Ku),p4.close=function($){function Y(z,U){return $.call(p4,z,function(Q){if(!Q)DW0();if(typeof U==="function")U.apply(this,arguments)})}return Object.defineProperty(Y,ZD,{value:$}),Y}(p4.close),p4.closeSync=function($){function Y(z){$.apply(p4,arguments),DW0()}return Object.defineProperty(Y,ZD,{value:$}),Y}(p4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){Pz(p4[r6]),I0("assert").equal(p4[r6].length,0)})}var Ku;if(!global[r6])BW0(global,p4[r6]);Hu.exports=Gu(Hz1(p4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!p4.__patched)Hu.exports=Gu(p4),p4.__patched=!0;function Gu($){Gz1($),$.gracefulify=Gu,$.createReadStream=A,$.createWriteStream=T;var Y=$.readFile;$.readFile=z;function z(C,b,k){if(typeof b==="function")k=b,b=null;return h(C,b,k);function h(i,c,U0,x){return Y(i,c,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))zI([h,[i,c,U0],d,x||Date.now(),Date.now()]);else if(typeof U0==="function")U0.apply(this,arguments)})}}var U=$.writeFile;$.writeFile=Q;function Q(C,b,k,h){if(typeof k==="function")h=k,k=null;return i(C,b,k,h);function i(c,U0,x,d,t){return U(c,U0,x,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var J=$.appendFile;if(J)$.appendFile=I;function I(C,b,k,h){if(typeof k==="function")h=k,k=null;return i(C,b,k,h);function i(c,U0,x,d,t){return J(c,U0,x,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var K=$.copyFile;if(K)$.copyFile=G;function G(C,b,k,h){if(typeof k==="function")h=k,k=0;return i(C,b,k,h);function i(c,U0,x,d,t){return K(c,U0,x,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var W=$.readdir;$.readdir=X;var H=/^v[0-5]\./;function X(C,b,k){if(typeof b==="function")k=b,b=null;var h=H.test(process.version)?function(U0,x,d,t){return W(U0,i(U0,x,d,t))}:function(U0,x,d,t){return W(U0,x,i(U0,x,d,t))};return h(C,b,k);function i(c,U0,x,d){return function(t,$0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))zI([h,[c,U0,x],t,d||Date.now(),Date.now()]);else{if($0&&$0.sort)$0.sort();if(typeof x==="function")x.call(this,t,$0)}}}}if(process.version.substr(0,4)==="v0.8"){var Z=Wz1($);w=Z.ReadStream,D=Z.WriteStream}var q=$.ReadStream;if(q)w.prototype=Object.create(q.prototype),w.prototype.open=O;var V=$.WriteStream;if(V)D.prototype=Object.create(V.prototype),D.prototype.open=N;Object.defineProperty($,"ReadStream",{get:function(){return w},set:function(C){w=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return D},set:function(C){D=C},enumerable:!0,configurable:!0});var F=w;Object.defineProperty($,"FileReadStream",{get:function(){return F},set:function(C){F=C},enumerable:!0,configurable:!0});var M=D;Object.defineProperty($,"FileWriteStream",{get:function(){return M},set:function(C){M=C},enumerable:!0,configurable:!0});function w(C,b){if(this instanceof w)return q.apply(this,arguments),this;else return w.apply(Object.create(w.prototype),arguments)}function O(){var C=this;j(C.path,C.flags,C.mode,function(b,k){if(b){if(C.autoClose)C.destroy();C.emit("error",b)}else C.fd=k,C.emit("open",k),C.read()})}function D(C,b){if(this instanceof D)return V.apply(this,arguments),this;else return D.apply(Object.create(D.prototype),arguments)}function N(){var C=this;j(C.path,C.flags,C.mode,function(b,k){if(b)C.destroy(),C.emit("error",b);else C.fd=k,C.emit("open",k)})}function A(C,b){return new $.ReadStream(C,b)}function T(C,b){return new $.WriteStream(C,b)}var B=$.open;$.open=j;function j(C,b,k,h){if(typeof k==="function")h=k,k=null;return i(C,b,k,h);function i(c,U0,x,d,t){return B(c,U0,x,function($0,g){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}return $}function zI($){Pz("ENQUEUE",$[0].name,$[1]),p4[r6].push($),Wu()}var XD;function DW0(){var $=Date.now();for(var Y=0;Y2)p4[r6][Y][3]=$,p4[r6][Y][4]=$;Wu()}function Wu(){if(clearTimeout(XD),XD=void 0,p4[r6].length===0)return;var $=p4[r6].shift(),Y=$[0],z=$[1],U=$[2],Q=$[3],J=$[4];if(Q===void 0)Pz("RETRY",Y.name,z),Y.apply(null,z);else if(Date.now()-Q>=60000){Pz("TIMEOUT",Y.name,z);var I=z.pop();if(typeof I==="function")I.call(null,U)}else{var K=Date.now()-J,G=Math.max(J-Q,1),W=Math.min(G*1.2,100);if(K>=W)Pz("RETRY",Y.name,z),Y.apply(null,z.concat([Q]));else p4[r6].push($)}if(XD===void 0)XD=setTimeout(Wu,0)}});var AW0=E((Yo1,Xu)=>{function Zz1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var PW0=K6().Buffer,lH=I0("util");function qz1($,Y,z){$.copy(Y,z)}Xu.exports=function(){function $(){Zz1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return PW0.alloc(0);var U=PW0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)qz1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(lH&&lH.inspect&&lH.inspect.custom)Xu.exports.prototype[lH.inspect.custom]=function(){var $=lH.inspect({length:this.length});return this.constructor.name+" "+$}});var Zu=E((zo1,TW0)=>{var qD=I6();function Vz1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)qD.nextTick(VD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,qD.nextTick(VD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)qD.nextTick(VD,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,qD.nextTick(VD,z,J)}else if(Y)Y(J)}),this}function Lz1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function VD($,Y){$.emit("error",Y)}TW0.exports={destroy:Vz1,undestroy:Lz1}});var Vu=E((Uo1,SW0)=>{var Az=I6();SW0.exports=q6;function EW0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){Sz1(Y,$)}}var Fz1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Az.nextTick,UI;q6.WritableState=rH;var CW0=Object.create(M4());CW0.inherits=X1();var wz1={deprecate:S3()},RW0=I0("stream"),FD=K6().Buffer,Mz1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Oz1($){return FD.from($)}function Nz1($){return FD.isBuffer($)||$ instanceof Mz1}var _W0=Zu();CW0.inherits(q6,RW0);function Dz1(){}function rH($,Y){UI=UI||Tz(),$=$||{};var z=Y instanceof UI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){Cz1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new EW0(this)}rH.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(rH.prototype,"buffer",{get:wz1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var LD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")LD=Function.prototype[Symbol.hasInstance],Object.defineProperty(q6,Symbol.hasInstance,{value:function($){if(LD.call(this,$))return!0;if(this!==q6)return!1;return $&&$._writableState instanceof rH}});else LD=function($){return $ instanceof this};function q6($){if(UI=UI||Tz(),!LD.call(q6,this)&&!(this instanceof UI))return new q6($);if(this._writableState=new rH($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}RW0.call(this)}q6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Bz1($,Y){var z=Error("write after end");$.emit("error",z),Az.nextTick(Y,z)}function Pz1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),Az.nextTick(U,J),Q=!1;return Q}q6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&Nz1($);if(J&&!FD.isBuffer($))$=Oz1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=Dz1;if(U.ended)Bz1(this,z);else if(J||Pz1(this,U,$,z))U.pendingcb++,Q=Tz1(this,U,J,$,Y,z);return Q};q6.prototype.cork=function(){var $=this._writableState;$.corked++};q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)vW0(this,$)}};q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function Az1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=FD.from(Y,z);return Y}Object.defineProperty(q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Tz1($,Y,z,U,Q,J){if(!z){var I=Az1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var gW0=I6(),gz1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};xW0.exports=w7;var yW0=Object.create(M4());yW0.inherits=X1();var kW0=Fu(),Lu=Vu();yW0.inherits(w7,kW0);{wD=gz1(Lu.prototype);for(sH=0;sH{var Mu=K6().Buffer,fW0=Mu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function xz1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function fz1($){var Y=xz1($);if(typeof Y!=="string"&&(Mu.isEncoding===fW0||!fW0($)))throw Error("Unknown encoding: "+$);return Y||$}sz1.StringDecoder=tH;function tH($){this.encoding=fz1($);var Y;switch(this.encoding){case"utf16le":this.text=pz1,this.end=dz1,Y=4;break;case"utf8":this.fillLast=iz1,Y=4;break;case"base64":this.text=mz1,this.end=lz1,Y=3;break;default:this.write=oz1,this.end=rz1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Mu.allocUnsafe(Y)}tH.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};tH.prototype.end=nz1;tH.prototype.text=cz1;tH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function wu($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function uz1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function bz1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function iz1($){var Y=this.lastTotal-this.lastNeed,z=bz1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function cz1($,Y){var z=uz1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function nz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function pz1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function dz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function mz1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function lz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function oz1($){return $.toString(this.encoding)}function rz1($){return $&&$.length?this.write($):""}});var Fu=E((Ko1,sW0)=>{var JI=I6();sW0.exports=j4;var tz1=oQ(),eH;j4.ReadableState=dW0;var Io1=I0("events").EventEmitter,cW0=function($,Y){return $.listeners(Y).length},Au=I0("stream"),$X=K6().Buffer,ez1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function $U1($){return $X.from($)}function YU1($){return $X.isBuffer($)||$ instanceof ez1}var nW0=Object.create(M4());nW0.inherits=X1();var Nu=I0("util"),e1=void 0;if(Nu&&Nu.debuglog)e1=Nu.debuglog("stream");else e1=function(){};var zU1=AW0(),pW0=Zu(),QI;nW0.inherits(j4,Au);var Du=["error","close","destroy","pause","resume"];function UU1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(tz1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function dW0($,Y){eH=eH||Tz(),$=$||{};var z=Y instanceof eH;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new zU1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!QI)QI=Ou().StringDecoder;this.decoder=new QI($.encoding),this.encoding=$.encoding}}function j4($){if(eH=eH||Tz(),!(this instanceof j4))return new j4($);if(this._readableState=new dW0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Au.call(this)}Object.defineProperty(j4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});j4.prototype.destroy=pW0.destroy;j4.prototype._undestroy=pW0.undestroy;j4.prototype._destroy=function($,Y){this.push(null),Y($)};j4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=$X.from($,Y),Y="";U=!0}}else U=!0;return mW0(this,$,Y,!1,U)};j4.prototype.unshift=function($){return mW0(this,$,null,!0,!1)};function mW0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,KU1($,J);else{var I;if(!Q)I=QU1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==$X.prototype)Y=$U1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Bu($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Bu($,J,Y,!1);else lW0($,J);else Bu($,J,Y,!1)}else if(!U)J.reading=!1}return JU1(J)}function Bu($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)MD($)}lW0($,Y)}function QU1($,Y){var z;if(!YU1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function JU1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}j4.prototype.isPaused=function(){return this._readableState.flowing===!1};j4.prototype.setEncoding=function($){if(!QI)QI=Ou().StringDecoder;return this._readableState.decoder=new QI($),this._readableState.encoding=$,this};var uW0=8388608;function IU1($){if($>=uW0)$=uW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function bW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=IU1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}j4.prototype.read=function($){e1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(e1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Pu(this);else MD(this);return null}if($=bW0($,Y),$===0&&Y.ended){if(Y.length===0)Pu(this);return null}var U=Y.needReadable;if(e1("need readable",U),Y.length===0||Y.length-$0)Q=oW0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Pu(this)}if(Q!==null)this.emit("data",Q);return Q};function KU1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,MD($)}function MD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(e1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)JI.nextTick(iW0,$);else iW0($)}function iW0($){e1("emit readable"),$.emit("readable"),Tu($)}function lW0($,Y){if(!Y.readingMore)Y.readingMore=!0,JI.nextTick(GU1,$,Y)}function GU1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&rW0(U.pipes,$)!==-1)&&!W)e1("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(e1("onerror",w),M(),$.removeListener("error",q),cW0($,"error")===0)$.emit("error",w)}UU1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){e1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){e1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)e1("pipe resume"),z.resume();return $};function WU1($){return function(){var Y=$._readableState;if(e1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&cW0($,"data"))Y.flowing=!0,Tu($)}}j4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=qU1($,Y.buffer,Y.decoder);return z}function qU1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function LU1($,Y){var z=$X.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function Pu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,JI.nextTick(FU1,Y,$)}function FU1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function rW0($,Y){for(var z=0,U=$.length;z{eW0.exports=M7;var OD=Tz(),tW0=Object.create(M4());tW0.inherits=X1();tW0.inherits(M7,OD);function wU1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{zH0.exports=YX;var $H0=ju(),YH0=Object.create(M4());YH0.inherits=X1();YH0.inherits(YX,$H0);function YX($){if(!(this instanceof YX))return new YX($);$H0.call(this,$)}YX.prototype._transform=function($,Y,z){z(null,$)}});var QH0=E((s6,ND)=>{var G9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&G9)ND.exports=G9,s6=ND.exports=G9.Readable,s6.Readable=G9.Readable,s6.Writable=G9.Writable,s6.Duplex=G9.Duplex,s6.Transform=G9.Transform,s6.PassThrough=G9.PassThrough,s6.Stream=G9;else s6=ND.exports=Fu(),s6.Stream=G9||s6,s6.Readable=s6,s6.Writable=Vu(),s6.Duplex=Tz(),s6.Transform=ju(),s6.PassThrough=UH0()});var IH0=E((Ho1,JH0)=>{JH0.exports=QH0().PassThrough});var AD=E((Xo1,WH0)=>{var KH0=I0("util"),PD=IH0();WH0.exports={Readable:DD,Writable:BD};KH0.inherits(DD,PD);KH0.inherits(BD,PD);function GH0($,Y,z){$[Y]=function(){return delete $[Y],z.apply(this,arguments),this[Y].apply(this,arguments)}}function DD($,Y){if(!(this instanceof DD))return new DD($,Y);PD.call(this,Y),GH0(this,"_read",function(){var z=$.call(this,Y),U=this.emit.bind(this,"error");z.on("error",U),z.pipe(this)}),this.emit("readable")}function BD($,Y){if(!(this instanceof BD))return new BD($,Y);PD.call(this,Y),GH0(this,"_write",function(){var z=$.call(this,Y),U=this.emit.bind(this,"error");z.on("error",U),this.pipe(z)}),this.emit("writable")}});var jz=E((Zo1,HH0)=>{/*! +`+n);let[,K0]=m;return K0.replace(/\s/g,"").split(L0).map((w0)=>w0.replace(f0,"").trim())}function D1(f,n){var m={};return Object.keys(f).forEach((K0)=>{var w0=f[K0],D0,A0=q(w0),j0=!A0&&w0.length===1||A0&&w0.length===0;if(Array.isArray(w0))D0=[...w0],w0=D0.pop(),m[K0]=D0.concat(D0.length>0?h0:w0);else if(j0)m[K0]=w0;else{if(D0=i0(w0),w0.length===0&&!A0&&D0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!A0)D0.pop();m[K0]=D0.concat(h0)}function h0(z1,x1){var m1=D0.map((i1)=>z1[i1]);m1.push(x1),M(w0)(...m1)}}),Y1(m,n)}class k1{constructor(){this.head=this.tail=null,this.length=0}removeLink(f){if(f.prev)f.prev.next=f.next;else this.head=f.next;if(f.next)f.next.prev=f.prev;else this.tail=f.prev;return f.prev=f.next=null,this.length-=1,f}empty(){while(this.head)this.shift();return this}insertAfter(f,n){if(n.prev=f,n.next=f.next,f.next)f.next.prev=n;else this.tail=n;f.next=n,this.length+=1}insertBefore(f,n){if(n.prev=f.prev,n.next=f,f.prev)f.prev.next=n;else this.head=n;f.prev=n,this.length+=1}unshift(f){if(this.head)this.insertBefore(this.head,f);else u1(this,f)}push(f){if(this.tail)this.insertAfter(this.tail,f);else u1(this,f)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var f=this.head;while(f)yield f.data,f=f.next}remove(f){var n=this.head;while(n){var{next:m}=n;if(f(n))this.removeLink(n);n=m}return this}}function u1(f,n){f.length=1,f.head=f.tail=n}function b1(f,n,m){if(n==null)n=1;else if(n===0)throw RangeError("Concurrency must not be zero");var K0=M(f),w0=0,D0=[];let A0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function j0(G1,e0){A0[G1].push(e0)}function h0(G1,e0){let W1=(...c1)=>{z1(G1,W1),e0(...c1)};A0[G1].push(W1)}function z1(G1,e0){if(!G1)return Object.keys(A0).forEach((W1)=>A0[W1]=[]);if(!e0)return A0[G1]=[];A0[G1]=A0[G1].filter((W1)=>W1!==e0)}function x1(G1,...e0){A0[G1].forEach((W1)=>W1(...e0))}var m1=!1;function i1(G1,e0,W1,c1){if(c1!=null&&typeof c1!=="function")throw Error("task callback must be a function");l1.started=!0;var g4,v6;function O$(OY,...nK){if(OY)return W1?v6(OY):g4();if(nK.length<=1)return g4(nK[0]);g4(nK)}var xU=l1._createTaskItem(G1,W1?O$:c1||O$);if(e0)l1._tasks.unshift(xU);else l1._tasks.push(xU);if(!m1)m1=!0,W(()=>{m1=!1,l1.process()});if(W1||!c1)return new Promise((OY,nK)=>{g4=OY,v6=nK})}function M$(G1){return function(e0,...W1){w0-=1;for(var c1=0,g4=G1.length;c10)D0.splice(O$,1);if(v6.callback(e0,...W1),e0!=null)x1("error",e0,v6.data)}if(w0<=l1.concurrency-l1.buffer)x1("unsaturated");if(l1.idle())x1("drain");l1.process()}}function kU(G1){if(G1.length===0&&l1.idle())return W(()=>x1("drain")),!0;return!1}let MY=(G1)=>(e0)=>{if(!e0)return new Promise((W1,c1)=>{h0(G1,(g4,v6)=>{if(g4)return c1(g4);W1(v6)})});z1(G1),j0(G1,e0)};var cK=!1,l1={_tasks:new k1,_createTaskItem(G1,e0){return{data:G1,callback:e0}},*[Symbol.iterator](){yield*l1._tasks[Symbol.iterator]()},concurrency:n,payload:m,buffer:n/4,started:!1,paused:!1,push(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!1,!1,e0))}return i1(G1,!1,!1,e0)},pushAsync(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!1,!0,e0))}return i1(G1,!1,!0,e0)},kill(){z1(),l1._tasks.empty()},unshift(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!0,!1,e0))}return i1(G1,!0,!1,e0)},unshiftAsync(G1,e0){if(Array.isArray(G1)){if(kU(G1))return;return G1.map((W1)=>i1(W1,!0,!0,e0))}return i1(G1,!0,!0,e0)},remove(G1){l1._tasks.remove(G1)},process(){if(cK)return;cK=!0;while(!l1.paused&&w0{w0(n,D0,(h0,z1)=>{n=z1,j0(h0)})},(D0)=>K0(D0,n))}var v=w(P,4);function u(...f){var n=f.map(M);return function(...m){var K0=this,w0=m[m.length-1];if(typeof w0=="function")m.pop();else w0=b0();return v(n,m,(D0,A0,j0)=>{A0.apply(K0,D0.concat((h0,...z1)=>{j0(h0,z1)}))},(D0,A0)=>w0(D0,...A0)),w0[T0]}}function r(...f){return u(...f.reverse())}function X0(f,n,m,K0){return N(c(n),f,m,K0)}var J0=w(X0,4);function Z0(f,n,m,K0){var w0=M(m);return J0(f,n,(D0,A0)=>{w0(D0,(j0,...h0)=>{if(j0)return A0(j0);return A0(j0,h0)})},(D0,A0)=>{var j0=[];for(var h0=0;h0{var A0=!1,j0;let h0=M(w0);m(K0,(z1,x1,m1)=>{h0(z1,(i1,M$)=>{if(i1||i1===!1)return m1(i1);if(f(M$)&&!j0)return A0=!0,j0=n(!0,z1),m1(null,T);m1()})},(z1)=>{if(z1)return D0(z1);D0(null,A0?j0:n(!1))})}}function f4(f,n,m){return S1((K0)=>K0,(K0,w0)=>w0)(g,f,n,m)}var N8=w(f4,3);function e8(f,n,m,K0){return S1((w0)=>w0,(w0,D0)=>D0)(c(n),f,m,K0)}var E5=w(e8,4);function l7(f,n,m){return S1((K0)=>K0,(K0,w0)=>w0)(c(1),f,n,m)}var w$=w(l7,3);function h9(f){return(n,...m)=>M(n)(...m,(K0,...w0)=>{if(typeof console==="object"){if(K0){if(console.error)console.error(K0)}else if(console[f])w0.forEach((D0)=>console[f](D0))}})}var S9=h9("dir");function o7(f,n,m){m=h(m);var K0=M(f),w0=M(n),D0;function A0(h0,...z1){if(h0)return m(h0);if(h0===!1)return;D0=z1,w0(...z1,j0)}function j0(h0,z1){if(h0)return m(h0);if(h0===!1)return;if(!z1)return m(null,...D0);K0(A0)}return j0(null,!0)}var s4=w(o7,3);function r7(f,n,m){let K0=M(n);return s4(f,(...w0)=>{let D0=w0.pop();K0(...w0,(A0,j0)=>D0(A0,!j0))},m)}function a2(f){return(n,m,K0)=>f(n,K0)}function s7(f,n,m){return g(f,a2(M(n)),m)}var C5=w(s7,3);function t2(f,n,m,K0){return c(n)(f,a2(M(m)),K0)}var t$=w(t2,4);function e2(f,n,m){return t$(f,1,n,m)}var e$=w(e2,3);function g9(f){if(q(f))return f;return function(...n){var m=n.pop(),K0=!0;n.push((...w0)=>{if(K0)W(()=>m(...w0));else m(...w0)}),f.apply(this,n),K0=!1}}function $Y(f,n,m){return S1((K0)=>!K0,(K0)=>!K0)(g,f,n,m)}var y9=w($Y,3);function YY(f,n,m,K0){return S1((w0)=>!w0,(w0)=>!w0)(c(n),f,m,K0)}var $$=w(YY,4);function zY(f,n,m){return S1((K0)=>!K0,(K0)=>!K0)(Y0,f,n,m)}var R5=w(zY,3);function UY(f,n,m,K0){var w0=Array(n.length);f(n,(D0,A0,j0)=>{m(D0,(h0,z1)=>{w0[A0]=!!z1,j0(h0)})},(D0)=>{if(D0)return K0(D0);var A0=[];for(var j0=0;j0{m(D0,(h0,z1)=>{if(h0)return j0(h0);if(z1)w0.push({index:A0,value:D0});j0(h0)})},(D0)=>{if(D0)return K0(D0);K0(null,w0.sort((A0,j0)=>A0.index-j0.index).map((A0)=>A0.value))})}function _5(f,n,m,K0){var w0=D(n)?UY:QY;return w0(f,n,M(m),K0)}function JY(f,n,m){return _5(g,f,n,m)}var v5=w(JY,3);function IY(f,n,m,K0){return _5(c(n),f,m,K0)}var h5=w(IY,4);function KY(f,n,m){return _5(Y0,f,n,m)}var S5=w(KY,3);function GY(f,n){var m=h(n),K0=M(g9(f));function w0(D0){if(D0)return m(D0);if(D0===!1)return;K0(w0)}return w0()}var g5=w(GY,2);function k9(f,n,m,K0){var w0=M(m);return J0(f,n,(D0,A0)=>{w0(D0,(j0,h0)=>{if(j0)return A0(j0);return A0(j0,{key:h0,val:D0})})},(D0,A0)=>{var j0={},{hasOwnProperty:h0}=Object.prototype;for(var z1=0;z1{D0(A0,j0,(z1,x1)=>{if(z1)return h0(z1);w0[j0]=x1,h0(z1)})},(A0)=>K0(A0,w0))}var I8=w(HY,4);function XY(f,n,m){return I8(f,1/0,n,m)}function ZY(f,n,m){return I8(f,1,n,m)}function qY(f,n=(m)=>m){var m=Object.create(null),K0=Object.create(null),w0=M(f),D0=z((A0,j0)=>{var h0=n(...A0);if(h0 in m)W(()=>j0(null,...m[h0]));else if(h0 in K0)K0[h0].push(j0);else K0[h0]=[j0],w0(...A0,(z1,...x1)=>{if(!z1)m[h0]=x1;var m1=K0[h0];delete K0[h0];for(var i1=0,M$=m1.length;i1{var K0=D(n)?[]:{};f(n,(w0,D0,A0)=>{M(w0)((j0,...h0)=>{if(h0.length<2)[h0]=h0;K0[D0]=h0,A0(j0)})},(w0)=>m(w0,K0))},3);function LY(f,n){return a7(g,f,n)}function t7(f,n,m){return a7(c(n),f,m)}function e7(f,n){var m=M(f);return b1((K0,w0)=>{m(K0[0],w0)},n,1)}class FY{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(f){let n;while(f>0&&z3(this.heap[f],this.heap[n=Y3(f)])){let m=this.heap[f];this.heap[f]=this.heap[n],this.heap[n]=m,f=n}}percDown(f){let n;while((n=$3(f))=0;m--)this.percDown(m);return this}}function $3(f){return(f<<1)+1}function Y3(f){return(f+1>>1)-1}function z3(f,n){if(f.priority!==n.priority)return f.priority{return{data:A0,priority:j0,callback:h0}};function D0(A0,j0){if(!Array.isArray(A0))return{data:A0,priority:j0};return A0.map((h0)=>{return{data:h0,priority:j0}})}return m.push=function(A0,j0=0,h0){return K0(D0(A0,j0),h0)},m.pushAsync=function(A0,j0=0,h0){return w0(D0(A0,j0),h0)},delete m.unshift,delete m.unshiftAsync,m}function yU(f,n){if(n=A(n),!Array.isArray(f))return n(TypeError("First argument to race must be an array of functions"));if(!f.length)return n();for(var m=0,K0=f.length;m{let j0={};if(D0)j0.error=D0;if(A0.length>0){var h0=A0;if(A0.length<=1)[h0]=A0;j0.value=h0}w0(null,j0)}),n.apply(this,K0)})}function y5(f){var n;if(Array.isArray(f))n=f.map(u9);else n={},Object.keys(f).forEach((m)=>{n[m]=u9.call(this,f[m])});return n}function k5(f,n,m,K0){let w0=M(m);return _5(f,n,(D0,A0)=>{w0(D0,(j0,h0)=>{A0(j0,!h0)})},K0)}function U3(f,n,m){return k5(g,f,n,m)}var b9=w(U3,3);function fK(f,n,m,K0){return k5(c(n),f,m,K0)}var c6=w(fK,4);function u4(f,n,m){return k5(Y0,f,n,m)}var x5=w(u4,3);function N6(f){return function(){return f}}let uK=5,bK=0;function _q(f,n,m){var K0={times:uK,intervalFunc:N6(bK)};if(arguments.length<3&&typeof f==="function")m=n||b0(),n=f;else Gg0(K0,f),m=m||b0();if(typeof n!=="function")throw Error("Invalid arguments for async.retry");var w0=M(n),D0=1;function A0(){w0((j0,...h0)=>{if(j0===!1)return;if(j0&&D0++{if(w0.lengthK0)(g,f,n,m)}var vq=w(Wg0,3);function Hg0(f,n,m,K0){return S1(Boolean,(w0)=>w0)(c(n),f,m,K0)}var hq=w(Hg0,4);function Xg0(f,n,m){return S1(Boolean,(K0)=>K0)(Y0,f,n,m)}var Sq=w(Xg0,3);function Zg0(f,n,m){var K0=M(n);return e(f,(D0,A0)=>{K0(D0,(j0,h0)=>{if(j0)return A0(j0);A0(j0,{value:D0,criteria:h0})})},(D0,A0)=>{if(D0)return m(D0);m(null,A0.sort(w0).map((j0)=>j0.value))});function w0(D0,A0){var j0=D0.criteria,h0=A0.criteria;return j0h0?1:0}}var Lo=w(Zg0,3);function Fo(f,n,m){var K0=M(f);return z((w0,D0)=>{var A0=!1,j0;function h0(){var z1=f.name||"anonymous",x1=Error('Callback function "'+z1+'" timed out.');if(x1.code="ETIMEDOUT",m)x1.info=m;A0=!0,D0(x1)}w0.push((...z1)=>{if(!A0)D0(...z1),clearTimeout(j0)}),j0=setTimeout(h0,n),K0(...w0)})}function qg0(f){var n=Array(f);while(f--)n[f]=f;return n}function gq(f,n,m,K0){var w0=M(m);return J0(qg0(f),n,w0,K0)}function wo(f,n,m){return gq(f,1/0,n,m)}function Mo(f,n,m){return gq(f,1,n,m)}function Oo(f,n,m,K0){if(arguments.length<=3&&typeof n==="function")K0=m,m=n,n=Array.isArray(f)?[]:{};K0=A(K0||b0());var w0=M(m);return g(f,(D0,A0,j0)=>{w0(n,D0,A0,j0)},(D0)=>K0(D0,n)),K0[T0]}function Vg0(f,n){var m=null,K0;return e$(f,(w0,D0)=>{M(w0)((A0,...j0)=>{if(A0===!1)return D0(A0);if(j0.length<2)[K0]=j0;else K0=j0;m=A0,D0(A0?null:{})})},()=>n(m,K0))}var No=w(Vg0);function Do(f){return(...n)=>{return(f.unmemoized||f)(...n)}}function Lg0(f,n,m){m=h(m);var K0=M(n),w0=M(f),D0=[];function A0(h0,...z1){if(h0)return m(h0);if(D0=z1,h0===!1)return;w0(j0)}function j0(h0,z1){if(h0)return m(h0);if(h0===!1)return;if(!z1)return m(null,...D0);K0(A0)}return w0(j0)}var iK=w(Lg0,3);function Bo(f,n,m){let K0=M(f);return iK((w0)=>K0((D0,A0)=>w0(D0,!A0)),n,m)}function Fg0(f,n){if(n=A(n),!Array.isArray(f))return n(Error("First argument to waterfall must be an array of functions"));if(!f.length)return n();var m=0;function K0(D0){var A0=M(f[m++]);A0(...D0,h(w0))}function w0(D0,...A0){if(D0===!1)return;if(D0||m===f.length)return n(D0,...A0);K0(A0)}K0([])}var Po=w(Fg0),wg0={apply:Y,applyEach:y,applyEachSeries:G0,asyncify:H,auto:Y1,autoInject:D1,cargo:B0,cargoQueue:Q0,compose:r,concat:r0,concatLimit:O0,concatSeries:U1,constant:N1,detect:N8,detectLimit:E5,detectSeries:w$,dir:S9,doUntil:r7,doWhilst:s4,each:C5,eachLimit:t$,eachOf:g,eachOfLimit:x,eachOfSeries:Y0,eachSeries:e$,ensureAsync:g9,every:y9,everyLimit:$$,everySeries:R5,filter:v5,filterLimit:h5,filterSeries:S5,forever:g5,groupBy:WY,groupByLimit:x9,groupBySeries:Q8,log:J8,map:e,mapLimit:J0,mapSeries:E0,mapValues:XY,mapValuesLimit:I8,mapValuesSeries:ZY,memoize:qY,nextTick:VY,parallel:LY,parallelLimit:t7,priorityQueue:wY,queue:e7,race:$5,reduce:v,reduceRight:O6,reflect:u9,reflectAll:y5,reject:b9,rejectLimit:c6,rejectSeries:x5,retry:_q,retryable:qo,seq:u,series:Vo,setImmediate:W,some:vq,someLimit:hq,someSeries:Sq,sortBy:Lo,timeout:Fo,times:wo,timesLimit:gq,timesSeries:Mo,transform:Oo,tryEach:No,unmemoize:Do,until:Bo,waterfall:Po,whilst:iK,all:y9,allLimit:$$,allSeries:R5,any:vq,anyLimit:hq,anySeries:Sq,find:N8,findLimit:E5,findSeries:w$,flatMap:r0,flatMapLimit:O0,flatMapSeries:U1,forEach:C5,forEachSeries:e$,forEachLimit:t$,forEachOf:g,forEachOfSeries:Y0,forEachOfLimit:x,inject:v,foldl:v,foldr:O6,select:v5,selectLimit:h5,selectSeries:S5,wrapSync:H,during:iK,doDuring:s4};$.all=y9,$.allLimit=$$,$.allSeries=R5,$.any=vq,$.anyLimit=hq,$.anySeries=Sq,$.apply=Y,$.applyEach=y,$.applyEachSeries=G0,$.asyncify=H,$.auto=Y1,$.autoInject=D1,$.cargo=B0,$.cargoQueue=Q0,$.compose=r,$.concat=r0,$.concatLimit=O0,$.concatSeries=U1,$.constant=N1,$.default=wg0,$.detect=N8,$.detectLimit=E5,$.detectSeries=w$,$.dir=S9,$.doDuring=s4,$.doUntil=r7,$.doWhilst=s4,$.during=iK,$.each=C5,$.eachLimit=t$,$.eachOf=g,$.eachOfLimit=x,$.eachOfSeries=Y0,$.eachSeries=e$,$.ensureAsync=g9,$.every=y9,$.everyLimit=$$,$.everySeries=R5,$.filter=v5,$.filterLimit=h5,$.filterSeries=S5,$.find=N8,$.findLimit=E5,$.findSeries=w$,$.flatMap=r0,$.flatMapLimit=O0,$.flatMapSeries=U1,$.foldl=v,$.foldr=O6,$.forEach=C5,$.forEachLimit=t$,$.forEachOf=g,$.forEachOfLimit=x,$.forEachOfSeries=Y0,$.forEachSeries=e$,$.forever=g5,$.groupBy=WY,$.groupByLimit=x9,$.groupBySeries=Q8,$.inject=v,$.log=J8,$.map=e,$.mapLimit=J0,$.mapSeries=E0,$.mapValues=XY,$.mapValuesLimit=I8,$.mapValuesSeries=ZY,$.memoize=qY,$.nextTick=VY,$.parallel=LY,$.parallelLimit=t7,$.priorityQueue=wY,$.queue=e7,$.race=$5,$.reduce=v,$.reduceRight=O6,$.reflect=u9,$.reflectAll=y5,$.reject=b9,$.rejectLimit=c6,$.rejectSeries=x5,$.retry=_q,$.retryable=qo,$.select=v5,$.selectLimit=h5,$.selectSeries=S5,$.seq=u,$.series=Vo,$.setImmediate=W,$.some=vq,$.someLimit=hq,$.someSeries=Sq,$.sortBy=Lo,$.timeout=Fo,$.times=wo,$.timesLimit=gq,$.timesSeries=Mo,$.transform=Oo,$.tryEach=No,$.unmemoize=Do,$.until=Bo,$.waterfall=Po,$.whilst=iK,$.wrapSync=H,Object.defineProperty($,"__esModule",{value:!0})})});var LW0=E(($o1,VW0)=>{var W2=I0("constants"),Qz1=process.cwd,WD=null,Jz1=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!WD)WD=Qz1.call(process);return WD};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(HD=process.chdir,process.chdir=function($){WD=null,HD.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,HD)}var HD;VW0.exports=Iz1;function Iz1($){if(W2.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))Y($);if(!$.lutimes)z($);if($.chown=J($.chown),$.fchown=J($.fchown),$.lchown=J($.lchown),$.chmod=U($.chmod),$.fchmod=U($.fchmod),$.lchmod=U($.lchmod),$.chownSync=I($.chownSync),$.fchownSync=I($.fchownSync),$.lchownSync=I($.lchownSync),$.chmodSync=Q($.chmodSync),$.fchmodSync=Q($.fchmodSync),$.lchmodSync=Q($.lchmodSync),$.stat=K($.stat),$.fstat=K($.fstat),$.lstat=K($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(H,X,Z){if(Z)process.nextTick(Z)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(H,X,Z,q){if(q)process.nextTick(q)},$.lchownSync=function(){};if(Jz1==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(H){function X(Z,q,V){var F=Date.now(),M=0;H(Z,q,function w(O){if(O&&(O.code==="EACCES"||O.code==="EPERM"||O.code==="EBUSY")&&Date.now()-F<60000){if(setTimeout(function(){$.stat(q,function(N,D){if(N&&N.code==="ENOENT")H(Z,q,w);else V(O)})},M),M<100)M+=10;return}if(V)V(O)})}if(Object.setPrototypeOf)Object.setPrototypeOf(X,H);return X}($.rename);$.read=typeof $.read!=="function"?$.read:function(H){function X(Z,q,V,F,M,w){var O;if(w&&typeof w==="function"){var N=0;O=function(D,T,A){if(D&&D.code==="EAGAIN"&&N<10)return N++,H.call($,Z,q,V,F,M,O);w.apply(this,arguments)}}return H.call($,Z,q,V,F,M,O)}if(Object.setPrototypeOf)Object.setPrototypeOf(X,H);return X}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(H){return function(X,Z,q,V,F){var M=0;while(!0)try{return H.call($,X,Z,q,V,F)}catch(w){if(w.code==="EAGAIN"&&M<10){M++;continue}throw w}}}($.readSync);function Y(H){H.lchmod=function(X,Z,q){H.open(X,W2.O_WRONLY|W2.O_SYMLINK,Z,function(V,F){if(V){if(q)q(V);return}H.fchmod(F,Z,function(M){H.close(F,function(w){if(q)q(M||w)})})})},H.lchmodSync=function(X,Z){var q=H.openSync(X,W2.O_WRONLY|W2.O_SYMLINK,Z),V=!0,F;try{F=H.fchmodSync(q,Z),V=!1}finally{if(V)try{H.closeSync(q)}catch(M){}else H.closeSync(q)}return F}}function z(H){if(W2.hasOwnProperty("O_SYMLINK")&&H.futimes)H.lutimes=function(X,Z,q,V){H.open(X,W2.O_SYMLINK,function(F,M){if(F){if(V)V(F);return}H.futimes(M,Z,q,function(w){H.close(M,function(O){if(V)V(w||O)})})})},H.lutimesSync=function(X,Z,q){var V=H.openSync(X,W2.O_SYMLINK),F,M=!0;try{F=H.futimesSync(V,Z,q),M=!1}finally{if(M)try{H.closeSync(V)}catch(w){}else H.closeSync(V)}return F};else if(H.futimes)H.lutimes=function(X,Z,q,V){if(V)process.nextTick(V)},H.lutimesSync=function(){}}function U(H){if(!H)return H;return function(X,Z,q){return H.call($,X,Z,function(V){if(W(V))V=null;if(q)q.apply(this,arguments)})}}function Q(H){if(!H)return H;return function(X,Z){try{return H.call($,X,Z)}catch(q){if(!W(q))throw q}}}function J(H){if(!H)return H;return function(X,Z,q,V){return H.call($,X,Z,q,function(F){if(W(F))F=null;if(V)V.apply(this,arguments)})}}function I(H){if(!H)return H;return function(X,Z,q){try{return H.call($,X,Z,q)}catch(V){if(!W(V))throw V}}}function K(H){if(!H)return H;return function(X,Z,q){if(typeof Z==="function")q=Z,Z=null;function V(F,M){if(M){if(M.uid<0)M.uid+=4294967296;if(M.gid<0)M.gid+=4294967296}if(q)q.apply(this,arguments)}return Z?H.call($,X,Z,V):H.call($,X,V)}}function G(H){if(!H)return H;return function(X,Z){var q=Z?H.call($,X,Z):H.call($,X);if(q){if(q.uid<0)q.uid+=4294967296;if(q.gid<0)q.gid+=4294967296}return q}}function W(H){if(!H)return!0;if(H.code==="ENOSYS")return!0;var X=!process.getuid||process.getuid()!==0;if(X){if(H.code==="EINVAL"||H.code==="EPERM")return!0}return!1}}});var MW0=E((Yo1,wW0)=>{var FW0=I0("stream").Stream;wW0.exports=Kz1;function Kz1($){return{ReadStream:Y,WriteStream:z};function Y(U,Q){if(!(this instanceof Y))return new Y(U,Q);FW0.call(this);var J=this;this.path=U,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,Q=Q||{};var I=Object.keys(Q);for(var K=0,G=I.length;Kthis.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){J._read()});return}$.open(this.path,this.flags,this.mode,function(H,X){if(H){J.emit("error",H),J.readable=!1;return}J.fd=X,J.emit("open",X),J._read()})}function z(U,Q){if(!(this instanceof z))return new z(U,Q);FW0.call(this),this.path=U,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,Q=Q||{};var J=Object.keys(Q);for(var I=0,K=J.length;I= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var NW0=E((zo1,OW0)=>{OW0.exports=Wz1;var Gz1=Object.getPrototypeOf||function($){return $.__proto__};function Wz1($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var Y={__proto__:Gz1($)};else var Y=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(z){Object.defineProperty(Y,z,Object.getOwnPropertyDescriptor($,z))}),Y}});var l8=E((Uo1,Zu)=>{var p4=I0("fs"),Hz1=LW0(),Xz1=MW0(),Zz1=NW0(),XD=I0("util"),s6,qD;if(typeof Symbol==="function"&&typeof Symbol.for==="function")s6=Symbol.for("graceful-fs.queue"),qD=Symbol.for("graceful-fs.previous");else s6="___graceful-fs.queue",qD="___graceful-fs.previous";function qz1(){}function BW0($,Y){Object.defineProperty($,s6,{get:function(){return Y}})}var Pz=qz1;if(XD.debuglog)Pz=XD.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))Pz=function(){var $=XD.format.apply(XD,arguments);$="GFS4: "+$.split(/\n/).join(` +GFS4: `),console.error($)};if(!p4[s6]){if(Wu=global[s6]||[],BW0(p4,Wu),p4.close=function($){function Y(z,U){return $.call(p4,z,function(Q){if(!Q)DW0();if(typeof U==="function")U.apply(this,arguments)})}return Object.defineProperty(Y,qD,{value:$}),Y}(p4.close),p4.closeSync=function($){function Y(z){$.apply(p4,arguments),DW0()}return Object.defineProperty(Y,qD,{value:$}),Y}(p4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){Pz(p4[s6]),I0("assert").equal(p4[s6].length,0)})}var Wu;if(!global[s6])BW0(global,p4[s6]);Zu.exports=Hu(Zz1(p4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!p4.__patched)Zu.exports=Hu(p4),p4.__patched=!0;function Hu($){Hz1($),$.gracefulify=Hu,$.createReadStream=T,$.createWriteStream=A;var Y=$.readFile;$.readFile=z;function z(C,b,k){if(typeof b==="function")k=b,b=null;return h(C,b,k);function h(i,c,U0,x){return Y(i,c,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))zI([h,[i,c,U0],d,x||Date.now(),Date.now()]);else if(typeof U0==="function")U0.apply(this,arguments)})}}var U=$.writeFile;$.writeFile=Q;function Q(C,b,k,h){if(typeof k==="function")h=k,k=null;return i(C,b,k,h);function i(c,U0,x,d,t){return U(c,U0,x,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var J=$.appendFile;if(J)$.appendFile=I;function I(C,b,k,h){if(typeof k==="function")h=k,k=null;return i(C,b,k,h);function i(c,U0,x,d,t){return J(c,U0,x,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var K=$.copyFile;if(K)$.copyFile=G;function G(C,b,k,h){if(typeof k==="function")h=k,k=0;return i(C,b,k,h);function i(c,U0,x,d,t){return K(c,U0,x,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var W=$.readdir;$.readdir=X;var H=/^v[0-5]\./;function X(C,b,k){if(typeof b==="function")k=b,b=null;var h=H.test(process.version)?function(U0,x,d,t){return W(U0,i(U0,x,d,t))}:function(U0,x,d,t){return W(U0,x,i(U0,x,d,t))};return h(C,b,k);function i(c,U0,x,d){return function(t,$0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))zI([h,[c,U0,x],t,d||Date.now(),Date.now()]);else{if($0&&$0.sort)$0.sort();if(typeof x==="function")x.call(this,t,$0)}}}}if(process.version.substr(0,4)==="v0.8"){var Z=Xz1($);w=Z.ReadStream,N=Z.WriteStream}var q=$.ReadStream;if(q)w.prototype=Object.create(q.prototype),w.prototype.open=O;var V=$.WriteStream;if(V)N.prototype=Object.create(V.prototype),N.prototype.open=D;Object.defineProperty($,"ReadStream",{get:function(){return w},set:function(C){w=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return N},set:function(C){N=C},enumerable:!0,configurable:!0});var F=w;Object.defineProperty($,"FileReadStream",{get:function(){return F},set:function(C){F=C},enumerable:!0,configurable:!0});var M=N;Object.defineProperty($,"FileWriteStream",{get:function(){return M},set:function(C){M=C},enumerable:!0,configurable:!0});function w(C,b){if(this instanceof w)return q.apply(this,arguments),this;else return w.apply(Object.create(w.prototype),arguments)}function O(){var C=this;j(C.path,C.flags,C.mode,function(b,k){if(b){if(C.autoClose)C.destroy();C.emit("error",b)}else C.fd=k,C.emit("open",k),C.read()})}function N(C,b){if(this instanceof N)return V.apply(this,arguments),this;else return N.apply(Object.create(N.prototype),arguments)}function D(){var C=this;j(C.path,C.flags,C.mode,function(b,k){if(b)C.destroy(),C.emit("error",b);else C.fd=k,C.emit("open",k)})}function T(C,b){return new $.ReadStream(C,b)}function A(C,b){return new $.WriteStream(C,b)}var B=$.open;$.open=j;function j(C,b,k,h){if(typeof k==="function")h=k,k=null;return i(C,b,k,h);function i(c,U0,x,d,t){return B(c,U0,x,function($0,g){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))zI([i,[c,U0,x,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}return $}function zI($){Pz("ENQUEUE",$[0].name,$[1]),p4[s6].push($),Xu()}var ZD;function DW0(){var $=Date.now();for(var Y=0;Y2)p4[s6][Y][3]=$,p4[s6][Y][4]=$;Xu()}function Xu(){if(clearTimeout(ZD),ZD=void 0,p4[s6].length===0)return;var $=p4[s6].shift(),Y=$[0],z=$[1],U=$[2],Q=$[3],J=$[4];if(Q===void 0)Pz("RETRY",Y.name,z),Y.apply(null,z);else if(Date.now()-Q>=60000){Pz("TIMEOUT",Y.name,z);var I=z.pop();if(typeof I==="function")I.call(null,U)}else{var K=Date.now()-J,G=Math.max(J-Q,1),W=Math.min(G*1.2,100);if(K>=W)Pz("RETRY",Y.name,z),Y.apply(null,z.concat([Q]));else p4[s6].push($)}if(ZD===void 0)ZD=setTimeout(Xu,0)}});var AW0=E((Qo1,qu)=>{function Vz1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var PW0=K6().Buffer,lH=I0("util");function Lz1($,Y,z){$.copy(Y,z)}qu.exports=function(){function $(){Vz1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return PW0.alloc(0);var U=PW0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)Lz1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(lH&&lH.inspect&&lH.inspect.custom)qu.exports.prototype[lH.inspect.custom]=function(){var $=lH.inspect({length:this.length});return this.constructor.name+" "+$}});var Vu=E((Jo1,TW0)=>{var VD=I6();function Fz1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)VD.nextTick(LD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,VD.nextTick(LD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)VD.nextTick(LD,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,VD.nextTick(LD,z,J)}else if(Y)Y(J)}),this}function wz1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function LD($,Y){$.emit("error",Y)}TW0.exports={destroy:Fz1,undestroy:wz1}});var Fu=E((Io1,SW0)=>{var Az=I6();SW0.exports=q6;function EW0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){yz1(Y,$)}}var Mz1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Az.nextTick,UI;q6.WritableState=rH;var CW0=Object.create(M4());CW0.inherits=X1();var Oz1={deprecate:S3()},RW0=I0("stream"),wD=K6().Buffer,Nz1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Dz1($){return wD.from($)}function Bz1($){return wD.isBuffer($)||$ instanceof Nz1}var _W0=Vu();CW0.inherits(q6,RW0);function Pz1(){}function rH($,Y){UI=UI||Tz(),$=$||{};var z=Y instanceof UI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){_z1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new EW0(this)}rH.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(rH.prototype,"buffer",{get:Oz1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var FD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")FD=Function.prototype[Symbol.hasInstance],Object.defineProperty(q6,Symbol.hasInstance,{value:function($){if(FD.call(this,$))return!0;if(this!==q6)return!1;return $&&$._writableState instanceof rH}});else FD=function($){return $ instanceof this};function q6($){if(UI=UI||Tz(),!FD.call(q6,this)&&!(this instanceof UI))return new q6($);if(this._writableState=new rH($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}RW0.call(this)}q6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Az1($,Y){var z=Error("write after end");$.emit("error",z),Az.nextTick(Y,z)}function Tz1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),Az.nextTick(U,J),Q=!1;return Q}q6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&Bz1($);if(J&&!wD.isBuffer($))$=Dz1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=Pz1;if(U.ended)Az1(this,z);else if(J||Tz1(this,U,$,z))U.pendingcb++,Q=Ez1(this,U,J,$,Y,z);return Q};q6.prototype.cork=function(){var $=this._writableState;$.corked++};q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)vW0(this,$)}};q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function jz1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=wD.from(Y,z);return Y}Object.defineProperty(q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ez1($,Y,z,U,Q,J){if(!z){var I=jz1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var gW0=I6(),kz1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};xW0.exports=M7;var yW0=Object.create(M4());yW0.inherits=X1();var kW0=Mu(),wu=Fu();yW0.inherits(M7,kW0);{MD=kz1(wu.prototype);for(sH=0;sH{var Nu=K6().Buffer,fW0=Nu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function uz1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function bz1($){var Y=uz1($);if(typeof Y!=="string"&&(Nu.isEncoding===fW0||!fW0($)))throw Error("Unknown encoding: "+$);return Y||$}tz1.StringDecoder=tH;function tH($){this.encoding=bz1($);var Y;switch(this.encoding){case"utf16le":this.text=mz1,this.end=lz1,Y=4;break;case"utf8":this.fillLast=nz1,Y=4;break;case"base64":this.text=oz1,this.end=rz1,Y=3;break;default:this.write=sz1,this.end=az1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Nu.allocUnsafe(Y)}tH.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};tH.prototype.end=dz1;tH.prototype.text=pz1;tH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Ou($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function iz1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function cz1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function nz1($){var Y=this.lastTotal-this.lastNeed,z=cz1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function pz1($,Y){var z=iz1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function dz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function mz1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function lz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function oz1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function rz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function sz1($){return $.toString(this.encoding)}function az1($){return $&&$.length?this.write($):""}});var Mu=E((Ho1,sW0)=>{var JI=I6();sW0.exports=j4;var $U1=oQ(),eH;j4.ReadableState=dW0;var Wo1=I0("events").EventEmitter,cW0=function($,Y){return $.listeners(Y).length},ju=I0("stream"),$X=K6().Buffer,YU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zU1($){return $X.from($)}function UU1($){return $X.isBuffer($)||$ instanceof YU1}var nW0=Object.create(M4());nW0.inherits=X1();var Bu=I0("util"),e1=void 0;if(Bu&&Bu.debuglog)e1=Bu.debuglog("stream");else e1=function(){};var QU1=AW0(),pW0=Vu(),QI;nW0.inherits(j4,ju);var Pu=["error","close","destroy","pause","resume"];function JU1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if($U1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function dW0($,Y){eH=eH||Tz(),$=$||{};var z=Y instanceof eH;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new QU1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!QI)QI=Du().StringDecoder;this.decoder=new QI($.encoding),this.encoding=$.encoding}}function j4($){if(eH=eH||Tz(),!(this instanceof j4))return new j4($);if(this._readableState=new dW0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}ju.call(this)}Object.defineProperty(j4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});j4.prototype.destroy=pW0.destroy;j4.prototype._undestroy=pW0.undestroy;j4.prototype._destroy=function($,Y){this.push(null),Y($)};j4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=$X.from($,Y),Y="";U=!0}}else U=!0;return mW0(this,$,Y,!1,U)};j4.prototype.unshift=function($){return mW0(this,$,null,!0,!1)};function mW0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,WU1($,J);else{var I;if(!Q)I=IU1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==$X.prototype)Y=zU1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Au($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Au($,J,Y,!1);else lW0($,J);else Au($,J,Y,!1)}else if(!U)J.reading=!1}return KU1(J)}function Au($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)OD($)}lW0($,Y)}function IU1($,Y){var z;if(!UU1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function KU1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}j4.prototype.isPaused=function(){return this._readableState.flowing===!1};j4.prototype.setEncoding=function($){if(!QI)QI=Du().StringDecoder;return this._readableState.decoder=new QI($),this._readableState.encoding=$,this};var uW0=8388608;function GU1($){if($>=uW0)$=uW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function bW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=GU1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}j4.prototype.read=function($){e1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(e1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Tu(this);else OD(this);return null}if($=bW0($,Y),$===0&&Y.ended){if(Y.length===0)Tu(this);return null}var U=Y.needReadable;if(e1("need readable",U),Y.length===0||Y.length-$0)Q=oW0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Tu(this)}if(Q!==null)this.emit("data",Q);return Q};function WU1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,OD($)}function OD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(e1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)JI.nextTick(iW0,$);else iW0($)}function iW0($){e1("emit readable"),$.emit("readable"),Eu($)}function lW0($,Y){if(!Y.readingMore)Y.readingMore=!0,JI.nextTick(HU1,$,Y)}function HU1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&rW0(U.pipes,$)!==-1)&&!W)e1("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(e1("onerror",w),M(),$.removeListener("error",q),cW0($,"error")===0)$.emit("error",w)}JU1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){e1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){e1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)e1("pipe resume"),z.resume();return $};function XU1($){return function(){var Y=$._readableState;if(e1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&cW0($,"data"))Y.flowing=!0,Eu($)}}j4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=LU1($,Y.buffer,Y.decoder);return z}function LU1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function wU1($,Y){var z=$X.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function Tu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,JI.nextTick(MU1,Y,$)}function MU1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function rW0($,Y){for(var z=0,U=$.length;z{eW0.exports=O7;var ND=Tz(),tW0=Object.create(M4());tW0.inherits=X1();tW0.inherits(O7,ND);function OU1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{zH0.exports=YX;var $H0=Cu(),YH0=Object.create(M4());YH0.inherits=X1();YH0.inherits(YX,$H0);function YX($){if(!(this instanceof YX))return new YX($);$H0.call(this,$)}YX.prototype._transform=function($,Y,z){z(null,$)}});var QH0=E((a6,DD)=>{var W9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&W9)DD.exports=W9,a6=DD.exports=W9.Readable,a6.Readable=W9.Readable,a6.Writable=W9.Writable,a6.Duplex=W9.Duplex,a6.Transform=W9.Transform,a6.PassThrough=W9.PassThrough,a6.Stream=W9;else a6=DD.exports=Mu(),a6.Stream=W9||a6,a6.Readable=a6,a6.Writable=Fu(),a6.Duplex=Tz(),a6.Transform=Cu(),a6.PassThrough=UH0()});var IH0=E((qo1,JH0)=>{JH0.exports=QH0().PassThrough});var TD=E((Vo1,WH0)=>{var KH0=I0("util"),AD=IH0();WH0.exports={Readable:BD,Writable:PD};KH0.inherits(BD,AD);KH0.inherits(PD,AD);function GH0($,Y,z){$[Y]=function(){return delete $[Y],z.apply(this,arguments),this[Y].apply(this,arguments)}}function BD($,Y){if(!(this instanceof BD))return new BD($,Y);AD.call(this,Y),GH0(this,"_read",function(){var z=$.call(this,Y),U=this.emit.bind(this,"error");z.on("error",U),z.pipe(this)}),this.emit("readable")}function PD($,Y){if(!(this instanceof PD))return new PD($,Y);AD.call(this,Y),GH0(this,"_write",function(){var z=$.call(this,Y),U=this.emit.bind(this,"error");z.on("error",U),this.pipe(z)}),this.emit("writable")}});var jz=E((Lo1,HH0)=>{/*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. - */HH0.exports=function($,Y){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var z=$.length;if(z<=1)return $;var U="";if(z>4&&$[3]==="\\"){var Q=$[2];if((Q==="?"||Q===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),U="//"}var J=$.split(/[/\\]+/);if(Y!==!1&&J[J.length-1]==="")J.pop();return U+J.join("/")}});var _u=E((qo1,wH0)=>{var ZH0=9007199254740991,OU1="[object Arguments]",NU1="[object Function]",DU1="[object GeneratorFunction]",BU1=/^(?:0|[1-9]\d*)$/;function qH0($,Y,z){switch(z.length){case 0:return $.call(Y);case 1:return $.call(Y,z[0]);case 2:return $.call(Y,z[0],z[1]);case 3:return $.call(Y,z[0],z[1],z[2])}return $.apply(Y,z)}function PU1($,Y){var z=-1,U=Array($);while(++z<$)U[z]=Y(z);return U}var zX=Object.prototype,UX=zX.hasOwnProperty,VH0=zX.toString,AU1=zX.propertyIsEnumerable,XH0=Math.max;function TU1($,Y){var z=yU1($)||gU1($)?PU1($.length,String):[],U=z.length,Q=!!U;for(var J in $)if((Y||UX.call($,J))&&!(Q&&(J=="length"||FH0(J,U))))z.push(J);return z}function jU1($,Y,z,U){if($===void 0||Eu($,zX[z])&&!UX.call(U,z))return Y;return $}function EU1($,Y,z){var U=$[Y];if(!(UX.call($,Y)&&Eu(U,z))||z===void 0&&!(Y in $))$[Y]=z}function CU1($){if(!Ru($))return SU1($);var Y=hU1($),z=[];for(var U in $)if(!(U=="constructor"&&(Y||!UX.call($,U))))z.push(U);return z}function LH0($,Y){return Y=XH0(Y===void 0?$.length-1:Y,0),function(){var z=arguments,U=-1,Q=XH0(z.length-Y,0),J=Array(Q);while(++U1?z[Q-1]:void 0,I=Q>2?z[2]:void 0;if(J=$.length>3&&typeof J=="function"?(Q--,J):void 0,I&&vU1(z[0],z[1],I))J=Q<3?void 0:J,Q=1;Y=Object(Y);while(++U-1&&$%1==0&&$-1&&$%1==0&&$<=ZH0}function Ru($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function uU1($){return!!$&&typeof $=="object"}var bU1=_U1(function($,Y,z,U){RU1(Y,cU1(Y),$,U)}),iU1=LH0(function($){return $.push(void 0,jU1),qH0(bU1,void 0,$)});function cU1($){return Cu($)?TU1($,!0):CU1($)}wH0.exports=iU1});var OH0=E((Vo1,vu)=>{function nU1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var MH0=K6().Buffer,QX=I0("util");function pU1($,Y,z){$.copy(Y,z)}vu.exports=function(){function $(){nU1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return MH0.alloc(0);var U=MH0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)pU1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(QX&&QX.inspect&&QX.inspect.custom)vu.exports.prototype[QX.inspect.custom]=function(){var $=QX.inspect({length:this.length});return this.constructor.name+" "+$}});var hu=E((Lo1,NH0)=>{var TD=I6();function dU1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)TD.nextTick(jD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,TD.nextTick(jD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)TD.nextTick(jD,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,TD.nextTick(jD,z,J)}else if(Y)Y(J)}),this}function mU1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function jD($,Y){$.emit("error",Y)}NH0.exports={destroy:dU1,undestroy:mU1}});var gu=E((Fo1,CH0)=>{var Ez=I6();CH0.exports=V6;function BH0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){HQ1(Y,$)}}var lU1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ez.nextTick,II;V6.WritableState=IX;var PH0=Object.create(M4());PH0.inherits=X1();var oU1={deprecate:S3()},AH0=I0("stream"),CD=K6().Buffer,rU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function sU1($){return CD.from($)}function aU1($){return CD.isBuffer($)||$ instanceof rU1}var TH0=hu();PH0.inherits(V6,AH0);function tU1(){}function IX($,Y){II=II||Cz(),$=$||{};var z=Y instanceof II;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){JQ1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new BH0(this)}IX.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(IX.prototype,"buffer",{get:oU1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var ED;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")ED=Function.prototype[Symbol.hasInstance],Object.defineProperty(V6,Symbol.hasInstance,{value:function($){if(ED.call(this,$))return!0;if(this!==V6)return!1;return $&&$._writableState instanceof IX}});else ED=function($){return $ instanceof this};function V6($){if(II=II||Cz(),!ED.call(V6,this)&&!(this instanceof II))return new V6($);if(this._writableState=new IX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}AH0.call(this)}V6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function eU1($,Y){var z=Error("write after end");$.emit("error",z),Ez.nextTick(Y,z)}function $Q1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),Ez.nextTick(U,J),Q=!1;return Q}V6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&aU1($);if(J&&!CD.isBuffer($))$=sU1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=tU1;if(U.ended)eU1(this,z);else if(J||$Q1(this,U,$,z))U.pendingcb++,Q=zQ1(this,U,J,$,Y,z);return Q};V6.prototype.cork=function(){var $=this._writableState;$.corked++};V6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)jH0(this,$)}};V6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function YQ1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=CD.from(Y,z);return Y}Object.defineProperty(V6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function zQ1($,Y,z,U,Q,J){if(!z){var I=YQ1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var RH0=I6(),XQ1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};hH0.exports=O7;var _H0=Object.create(M4());_H0.inherits=X1();var vH0=ku(),yu=gu();_H0.inherits(O7,vH0);{RD=XQ1(yu.prototype);for(KX=0;KX{var fu=K6().Buffer,SH0=fu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function VQ1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function LQ1($){var Y=VQ1($);if(typeof Y!=="string"&&(fu.isEncoding===SH0||!SH0($)))throw Error("Unknown encoding: "+$);return Y||$}EQ1.StringDecoder=WX;function WX($){this.encoding=LQ1($);var Y;switch(this.encoding){case"utf16le":this.text=DQ1,this.end=BQ1,Y=4;break;case"utf8":this.fillLast=MQ1,Y=4;break;case"base64":this.text=PQ1,this.end=AQ1,Y=3;break;default:this.write=TQ1,this.end=jQ1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=fu.allocUnsafe(Y)}WX.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};WX.prototype.end=NQ1;WX.prototype.text=OQ1;WX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function xu($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function FQ1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function wQ1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function MQ1($){var Y=this.lastTotal-this.lastNeed,z=wQ1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function OQ1($,Y){var z=FQ1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function NQ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function DQ1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function BQ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function PQ1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function AQ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function TQ1($){return $.toString(this.encoding)}function jQ1($){return $&&$.length?this.write($):""}});var ku=E((No1,dH0)=>{var GI=I6();dH0.exports=E4;var RQ1=oQ(),HX;E4.ReadableState=bH0;var Oo1=I0("events").EventEmitter,xH0=function($,Y){return $.listeners(Y).length},pu=I0("stream"),XX=K6().Buffer,_Q1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function vQ1($){return XX.from($)}function hQ1($){return XX.isBuffer($)||$ instanceof _Q1}var fH0=Object.create(M4());fH0.inherits=X1();var bu=I0("util"),$4=void 0;if(bu&&bu.debuglog)$4=bu.debuglog("stream");else $4=function(){};var SQ1=OH0(),uH0=hu(),KI;fH0.inherits(E4,pu);var iu=["error","close","destroy","pause","resume"];function gQ1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(RQ1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function bH0($,Y){HX=HX||Cz(),$=$||{};var z=Y instanceof HX;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new SQ1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!KI)KI=uu().StringDecoder;this.decoder=new KI($.encoding),this.encoding=$.encoding}}function E4($){if(HX=HX||Cz(),!(this instanceof E4))return new E4($);if(this._readableState=new bH0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}pu.call(this)}Object.defineProperty(E4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});E4.prototype.destroy=uH0.destroy;E4.prototype._undestroy=uH0.undestroy;E4.prototype._destroy=function($,Y){this.push(null),Y($)};E4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=XX.from($,Y),Y="";U=!0}}else U=!0;return iH0(this,$,Y,!1,U)};E4.prototype.unshift=function($){return iH0(this,$,null,!0,!1)};function iH0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,fQ1($,J);else{var I;if(!Q)I=yQ1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==XX.prototype)Y=vQ1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else cu($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)cu($,J,Y,!1);else cH0($,J);else cu($,J,Y,!1)}else if(!U)J.reading=!1}return kQ1(J)}function cu($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)_D($)}cH0($,Y)}function yQ1($,Y){var z;if(!hQ1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function kQ1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}E4.prototype.isPaused=function(){return this._readableState.flowing===!1};E4.prototype.setEncoding=function($){if(!KI)KI=uu().StringDecoder;return this._readableState.decoder=new KI($),this._readableState.encoding=$,this};var gH0=8388608;function xQ1($){if($>=gH0)$=gH0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function yH0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=xQ1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}E4.prototype.read=function($){$4("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if($4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)nu(this);else _D(this);return null}if($=yH0($,Y),$===0&&Y.ended){if(Y.length===0)nu(this);return null}var U=Y.needReadable;if($4("need readable",U),Y.length===0||Y.length-$0)Q=nH0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)nu(this)}if(Q!==null)this.emit("data",Q);return Q};function fQ1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,_D($)}function _D($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if($4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)GI.nextTick(kH0,$);else kH0($)}function kH0($){$4("emit readable"),$.emit("readable"),du($)}function cH0($,Y){if(!Y.readingMore)Y.readingMore=!0,GI.nextTick(uQ1,$,Y)}function uQ1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&pH0(U.pipes,$)!==-1)&&!W)$4("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if($4("onerror",w),M(),$.removeListener("error",q),xH0($,"error")===0)$.emit("error",w)}gQ1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){$4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){$4("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)$4("pipe resume"),z.resume();return $};function bQ1($){return function(){var Y=$._readableState;if($4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&xH0($,"data"))Y.flowing=!0,du($)}}E4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=pQ1($,Y.buffer,Y.decoder);return z}function pQ1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function mQ1($,Y){var z=XX.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function nu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,GI.nextTick(lQ1,Y,$)}function lQ1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function pH0($,Y){for(var z=0,U=$.length;z{oH0.exports=N7;var vD=Cz(),lH0=Object.create(M4());lH0.inherits=X1();lH0.inherits(N7,vD);function oQ1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{aH0.exports=ZX;var rH0=mu(),sH0=Object.create(M4());sH0.inherits=X1();sH0.inherits(ZX,rH0);function ZX($){if(!(this instanceof ZX))return new ZX($);rH0.call(this,$)}ZX.prototype._transform=function($,Y,z){z(null,$)}});var eH0=E((a6,hD)=>{var W9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&W9)hD.exports=W9,a6=hD.exports=W9.Readable,a6.Readable=W9.Readable,a6.Writable=W9.Writable,a6.Duplex=W9.Duplex,a6.Transform=W9.Transform,a6.PassThrough=W9.PassThrough,a6.Stream=W9;else a6=hD.exports=ku(),a6.Stream=W9||a6,a6.Readable=a6,a6.Writable=gu(),a6.Duplex=Cz(),a6.Transform=mu(),a6.PassThrough=tH0()});var ou=E((Po1,QX0)=>{var sQ1=9007199254740991,aQ1="[object Arguments]",tQ1="[object Function]",eQ1="[object GeneratorFunction]",$J1=typeof global=="object"&&global&&global.Object===Object&&global,YJ1=typeof self=="object"&&self&&self.Object===Object&&self,zJ1=$J1||YJ1||Function("return this")();function UJ1($,Y){var z=-1,U=Y.length,Q=$.length;while(++z0&&z(K))if(Y>1)UX0(K,Y-1,z,U,Q);else UJ1(Q,K);else if(!U)Q[Q.length]=K}return Q}function IJ1($){return WJ1($)||GJ1($)||!!(YX0&&$&&$[YX0])}function KJ1($){var Y=$?$.length:0;return Y?UX0($,1):[]}function GJ1($){return XJ1($)&&QJ1.call($,"callee")&&(!JJ1.call($,"callee")||zX0.call($)==aQ1)}var WJ1=Array.isArray;function HJ1($){return $!=null&&qJ1($.length)&&!ZJ1($)}function XJ1($){return LJ1($)&&HJ1($)}function ZJ1($){var Y=VJ1($)?zX0.call($):"";return Y==tQ1||Y==eQ1}function qJ1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=sQ1}function VJ1($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function LJ1($){return!!$&&typeof $=="object"}QX0.exports=KJ1});var $b=E((Ao1,LX0)=>{var FJ1=200,au="__lodash_hash_undefined__",wJ1=9007199254740991,MJ1="[object Arguments]",OJ1="[object Function]",NJ1="[object GeneratorFunction]",DJ1=/[\\^$.*+?()[\]{}|]/g,BJ1=/^\[object .+?Constructor\]$/,PJ1=typeof global=="object"&&global&&global.Object===Object&&global,AJ1=typeof self=="object"&&self&&self.Object===Object&&self,tu=PJ1||AJ1||Function("return this")();function TJ1($,Y,z){switch(z.length){case 0:return $.call(Y);case 1:return $.call(Y,z[0]);case 2:return $.call(Y,z[0],z[1]);case 3:return $.call(Y,z[0],z[1],z[2])}return $.apply(Y,z)}function jJ1($,Y){var z=$?$.length:0;return!!z&&vJ1($,Y,0)>-1}function EJ1($,Y,z){var U=-1,Q=$?$.length:0;while(++U-1}function tJ1($,Y){var z=this.__data__,U=yD(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}WI.prototype.clear=oJ1;WI.prototype.delete=rJ1;WI.prototype.get=sJ1;WI.prototype.has=aJ1;WI.prototype.set=tJ1;function HI($){var Y=-1,z=$?$.length:0;this.clear();while(++Y=FJ1)J=gJ1,I=!1,Y=new SD(Y);$:while(++Q0&&z(K))if(Y>1)XX0(K,Y-1,z,U,Q);else RJ1(Q,K);else if(!U)Q[Q.length]=K}return Q}function KI1($){if(!VX0($)||XI1($))return!1;var Y=qX0($)||kJ1($)?uJ1:BJ1;return Y.test(ZI1($))}function GI1($,Y){return Y=GX0(Y===void 0?$.length-1:Y,0),function(){var z=arguments,U=-1,Q=GX0(z.length-Y,0),J=Array(Q);while(++U-1&&$%1==0&&$<=wJ1}function VX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function OI1($){return!!$&&typeof $=="object"}LX0.exports=qI1});var Ib=E((To1,EX0)=>{var NI1=200,Ub="__lodash_hash_undefined__",DI1=1/0,BI1=9007199254740991,PI1="[object Arguments]",AI1="[object Function]",TI1="[object GeneratorFunction]",jI1=/[\\^$.*+?()[\]{}|]/g,EI1=/^\[object .+?Constructor\]$/,CI1=typeof global=="object"&&global&&global.Object===Object&&global,RI1=typeof self=="object"&&self&&self.Object===Object&&self,fD=CI1||RI1||Function("return this")();function _I1($,Y,z){switch(z.length){case 0:return $.call(Y);case 1:return $.call(Y,z[0]);case 2:return $.call(Y,z[0],z[1]);case 3:return $.call(Y,z[0],z[1],z[2])}return $.apply(Y,z)}function vI1($,Y){var z=$?$.length:0;return!!z&&yI1($,Y,0)>-1}function hI1($,Y,z){var U=-1,Q=$?$.length:0;while(++U-1}function YK1($,Y){var z=this.__data__,U=bD(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}XI.prototype.clear=aI1;XI.prototype.delete=tI1;XI.prototype.get=eI1;XI.prototype.has=$K1;XI.prototype.set=YK1;function ZI($){var Y=-1,z=$?$.length:0;this.clear();while(++Y0&&z(K))if(Y>1)PX0(K,Y-1,z,U,Q);else SI1(Q,K);else if(!U)Q[Q.length]=K}return Q}function WK1($){if(!jX0($)||LK1($))return!1;var Y=TX0($)||uI1($)?cI1:EI1;return Y.test(FK1($))}function HK1($,Y){return Y=OX0(Y===void 0?$.length-1:Y,0),function(){var z=arguments,U=-1,Q=OX0(z.length-Y,0),J=Array(Q);while(++U=NI1){var W=Y?null:ZK1($);if(W)return NX0(W);I=!1,Q=xI1,G=new xD}else G=Y?[]:K;$:while(++U-1&&$%1==0&&$<=BI1}function jX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function PK1($){return!!$&&typeof $=="object"}function AK1(){}EX0.exports=wK1});var Kb=E((jo1,_X0)=>{var TK1="[object Object]";function jK1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(z){}return Y}function EK1($,Y){return function(z){return $(Y(z))}}var CK1=Function.prototype,CX0=Object.prototype,RX0=CK1.toString,RK1=CX0.hasOwnProperty,_K1=RX0.call(Object),vK1=CX0.toString,hK1=EK1(Object.getPrototypeOf,Object);function SK1($){return!!$&&typeof $=="object"}function gK1($){if(!SK1($)||vK1.call($)!=TK1||jK1($))return!1;var Y=hK1($);if(Y===null)return!0;var z=RK1.call(Y,"constructor")&&Y.constructor;return typeof z=="function"&&z instanceof z&&RX0.call(z)==_K1}_X0.exports=gK1});var vX0=E((fK1)=>{var vz=I0("path"),X2=process.platform==="win32",H2=I0("fs"),yK1=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function kK1(){var $;if(yK1){var Y=Error();$=z}else $=U;return $;function z(Q){if(Q)Y.message=Q.message,Q=Y,U(Q)}function U(Q){if(Q){if(process.throwDeprecation)throw Q;else if(!process.noDeprecation){var J="fs: missing callback "+(Q.stack||Q.message);if(process.traceDeprecation)console.trace(J);else console.error(J)}}}}function xK1($){return typeof $==="function"?$:kK1()}var Eo1=vz.normalize;if(X2)H9=/(.*?)(?:[\/\\]+|$)/g;else H9=/(.*?)(?:[\/]+|$)/g;var H9;if(X2)qI=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else qI=/^[\/]*/;var qI;fK1.realpathSync=function(Y,z){if(Y=vz.resolve(Y),z&&Object.prototype.hasOwnProperty.call(z,Y))return z[Y];var U=Y,Q={},J={},I,K,G,W;H();function H(){var M=qI.exec(Y);if(I=M[0].length,K=M[0],G=M[0],W="",X2&&!J[G])H2.lstatSync(G),J[G]=!0}while(I=Y.length){if(z)z[Q]=Y;return U(null,Y)}H9.lastIndex=K;var M=H9.exec(Y);if(H=G,G+=M[0],W=H+M[1],K=H9.lastIndex,I[W]||z&&z[W]===W)return process.nextTick(Z);if(z&&Object.prototype.hasOwnProperty.call(z,W))return F(z[W]);return H2.lstat(W,q)}function q(M,w){if(M)return U(M);if(!w.isSymbolicLink()){if(I[W]=!0,z)z[W]=W;return process.nextTick(Z)}if(!X2){var O=w.dev.toString(32)+":"+w.ino.toString(32);if(J.hasOwnProperty(O))return V(null,J[O],W)}H2.stat(W,function(D){if(D)return U(D);H2.readlink(W,function(N,A){if(!X2)J[O]=A;V(N,A)})})}function V(M,w,O){if(M)return U(M);var D=vz.resolve(H,w);if(z)z[O]=D;F(D)}function F(M){Y=vz.resolve(M,Y.slice(K)),X()}}});var Xb=E((Ro1,yX0)=>{yX0.exports=Z2;Z2.realpath=Z2;Z2.sync=Hb;Z2.realpathSync=Hb;Z2.monkeypatch=cK1;Z2.unmonkeypatch=nK1;var VI=I0("fs"),Gb=VI.realpath,Wb=VI.realpathSync,iK1=process.version,hX0=/^v[0-5]\./.test(iK1),SX0=vX0();function gX0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function Z2($,Y,z){if(hX0)return Gb($,Y,z);if(typeof Y==="function")z=Y,Y=null;Gb($,Y,function(U,Q){if(gX0(U))SX0.realpath($,Y,z);else z(U,Q)})}function Hb($,Y){if(hX0)return Wb($,Y);try{return Wb($,Y)}catch(z){if(gX0(z))return SX0.realpathSync($,Y);else throw z}}function cK1(){VI.realpath=Z2,VI.realpathSync=Hb}function nK1(){VI.realpath=Gb,VI.realpathSync=Wb}});var xX0=E((_o1,kX0)=>{kX0.exports=function($,Y){var z=[];for(var U=0;U<$.length;U++){var Q=Y($[U],U);if(pK1(Q))z.push.apply(z,Q);else z.push(Q)}return z};var pK1=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var cX0=E((vo1,iX0)=>{iX0.exports=uX0;function uX0($,Y,z){if($ instanceof RegExp)$=fX0($,z);if(Y instanceof RegExp)Y=fX0(Y,z);var U=bX0($,Y,z);return U&&{start:U[0],end:U[1],pre:z.slice(0,U[0]),body:z.slice(U[0]+$.length,U[1]),post:z.slice(U[1]+Y.length)}}function fX0($,Y){var z=Y.match($);return z?z[0]:null}uX0.range=bX0;function bX0($,Y,z){var U,Q,J,I,K,G=z.indexOf($),W=z.indexOf(Y,G+1),H=G;if(G>=0&&W>0){if($===Y)return[G,W];U=[],J=z.length;while(H>=0&&!K){if(H==G)U.push(H),G=z.indexOf($,H+1);else if(U.length==1)K=[U.pop(),W];else{if(Q=U.pop(),Q=0?G:W}if(U.length)K=[J,I]}return K}});var sX0=E((So1,rX0)=>{var ho1=xX0(),nX0=cX0();rX0.exports=rK1;var pX0="\x00SLASH"+Math.random()+"\x00",dX0="\x00OPEN"+Math.random()+"\x00",Vb="\x00CLOSE"+Math.random()+"\x00",mX0="\x00COMMA"+Math.random()+"\x00",lX0="\x00PERIOD"+Math.random()+"\x00",dK1=1e5,mK1=4000000;function Zb($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function lK1($){return $.split("\\\\").join(pX0).split("\\{").join(dX0).split("\\}").join(Vb).split("\\,").join(mX0).split("\\.").join(lX0)}function oK1($){return $.split(pX0).join("\\").split(dX0).join("{").split(Vb).join("}").split(mX0).join(",").split(lX0).join(".")}function oX0($){if(!$)return[""];var Y=[],z=nX0("{","}",$);if(!z)return $.split(",");var{pre:U,body:Q,post:J}=z,I=U.split(",");I[I.length-1]+="{"+Q+"}";var K=oX0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function rK1($,Y){if(!$)return[];Y=Y||{};var z=Y.max==null?dK1:Y.max,U=Y.maxLength==null?mK1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return qb(lK1($),z,U,!0).map(oK1)}function sK1($){return"{"+$+"}"}function aK1($){return/^-?0\d/.test($)}function tK1($,Y){return $<=Y}function eK1($,Y){return $>=Y}function LX($,Y,z,U,Q,J,I,K){var G=[],W=0;for(var H=0;H<$.length;H++)for(var X=0;X=Q)return G;var Z=$[H]+z+U[X];if(I&&Z.length===Y[H])continue;if(W+Z.length>J)return G;G.push(Z),K.push(Y[H]),W+=Z.length}return G}function $G1($,Y,z,U){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=Zb(Q[0]),K=Zb(Q[1]),G=Math.max(Q[0].length,Q[1].length),W=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Zb(Q[2])),1):1,H=tK1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>U)break;J.push(F),q+=F.length}return J}function qb($,Y,z,U){var Q=[""],J=[0],I=!1,K=!0,G;for(;;){var W=nX0("{","}",$);if(!W)return LX(Q,J,$,[""],Y,z,I,[]);var H=W.pre;if(/\$$/.test(H))return LX(Q,J,$,[""],Y,z,I,[]);var X=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(W.body),Z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(W.body),q=X||Z,V=W.body.indexOf(",")>=0;if(!q&&!V){if(W.post.match(/,(?!,).*\}/)){$=W.pre+"{"+W.body+Vb+W.post,U=!0,K=!0,I=!1,J=[];for(var F=0;F=Y||N+j.length>z)break $;M.push(j),N+=j.length}}}if(G=[],Q=LX(Q,J,H,M,Y,z,I&&!W.post.length,G),J=G,!W.post.length)break;$=W.post}return Q}});var pD=E((go1,YZ0)=>{YZ0.exports=H$;H$.Minimatch=L6;var FX=function(){try{return I0("path")}catch($){}}()||{sep:"/"};H$.sep=FX.sep;var hz=H$.GLOBSTAR=L6.GLOBSTAR={},YG1=sX0(),aX0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Lb="[^/]",Fb=Lb+"*?",zG1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",UG1="(?:(?!(?:\\/|^)\\.).)*?",tX0=QG1("().*{}+?[]^$\\!");function QG1($){return $.split("").reduce(function(Y,z){return Y[z]=!0,Y},{})}var eX0=/\/+/;H$.filter=JG1;function JG1($,Y){return Y=Y||{},function(z,U,Q){return H$(z,$,Y)}}function q2($,Y){Y=Y||{};var z={};return Object.keys($).forEach(function(U){z[U]=$[U]}),Object.keys(Y).forEach(function(U){z[U]=Y[U]}),z}H$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return H$;var Y=H$,z=function(Q,J,I){return Y(Q,J,q2($,I))};return z.Minimatch=function(Q,J){return new Y.Minimatch(Q,q2($,J))},z.Minimatch.defaults=function(Q){return Y.defaults(q2($,Q)).Minimatch},z.filter=function(Q,J){return Y.filter(Q,q2($,J))},z.defaults=function(Q){return Y.defaults(q2($,Q))},z.makeRe=function(Q,J){return Y.makeRe(Q,q2($,J))},z.braceExpand=function(Q,J){return Y.braceExpand(Q,q2($,J))},z.match=function(U,Q,J){return Y.match(U,Q,q2($,J))},z};L6.defaults=function($){return H$.defaults($).Minimatch};function H$($,Y,z){if(nD(Y),!z)z={};if(!z.nocomment&&Y.charAt(0)==="#")return!1;return new L6(Y,z).match($)}function L6($,Y){if(!(this instanceof L6))return new L6($,Y);if(nD($),!Y)Y={};if($=$.trim(),!Y.allowWindowsEscape&&FX.sep!=="/")$=$.split(FX.sep).join("/");this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}L6.prototype.debug=function(){};L6.prototype.make=IG1;function IG1(){var $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var z=this.globSet=this.braceExpand();if(Y.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,z),z=this.globParts=z.map(function(U){return U.split(eX0)}),this.debug(this.pattern,z),z=z.map(function(U,Q,J){return U.map(this.parse,this)},this),this.debug(this.pattern,z),z=z.filter(function(U){return U.indexOf(!1)===-1}),this.debug(this.pattern,z),this.set=z}L6.prototype.parseNegate=KG1;function KG1(){var $=this.pattern,Y=!1,z=this.options,U=0;if(z.nonegate)return;for(var Q=0,J=$.length;Q"u"?this.pattern:$,nD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return YG1($)}var GG1=65536,nD=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>GG1)throw TypeError("pattern is too long")};L6.prototype.parse=WG1;var cD={};function WG1($,Y){nD($);var z=this.options;if($==="**")if(!z.noglobstar)return hz;else $="*";if($==="")return"";var U="",Q=!!z.nocase,J=!1,I=[],K=[],G,W=!1,H=-1,X=-1,Z=$.charAt(0)==="."?"":z.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",q=this;function V(){if(G){switch(G){case"*":U+=Fb,Q=!0;break;case"?":U+=Lb,Q=!0;break;default:U+="\\"+G;break}q.debug("clearStateChar %j %j",G,U),G=!1}}for(var F=0,M=$.length,w;F-1;j--){var C=K[j],b=U.slice(0,C.reStart),k=U.slice(C.reStart,C.reEnd-8),h=U.slice(C.reEnd-8,C.reEnd),i=U.slice(C.reEnd);h+=i;var c=b.split("(").length-1,U0=i;for(F=0;F"u")z=this.partial;if(this.debug("match",Y,this.pattern),this.comment)return!1;if(this.empty)return Y==="";if(Y==="/"&&z)return!0;var U=this.options;if(FX.sep!=="/")Y=Y.split(FX.sep).join("/");Y=Y.split(eX0),this.debug(this.pattern,"split",Y);var Q=this.set;this.debug(this.pattern,"set",Q);var J,I;for(I=Y.length-1;I>=0;I--)if(J=Y[I],J)break;for(I=0;I=0;J--)if(Y[J]===hz){K=J;break}var G=Y.slice(Q,I),W=z?Y.slice(I+1):Y.slice(I+1,K),H=z?[]:Y.slice(K+1);if(G.length){var X=$.slice(U,U+G.length);if(!this._matchOne(X,G,z,0,0))return!1;U+=G.length}var Z=0;if(H.length){if(H.length+U>$.length)return!1;var q=$.length-H.length;if(this._matchOne($,H,z,q,0))Z=H.length;else{if($[$.length-1]!==""||U+H.length===$.length)return!1;if(q--,!this._matchOne($,H,z,q,0))return!1;Z=H.length+1}}if(!W.length){var V=!!Z;for(J=U;J<$.length-Z;J++){var F=String($[J]);if(V=!0,F==="."||F===".."||!this.options.dot&&F.charAt(0)===".")return!1}return z||V}var M=[[[],0]],w=M[0],O=0,D=[0];for(var N=0;N{function zZ0($){return $.charAt(0)==="/"}function UZ0($){var Y=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,z=Y.exec($),U=z[1]||"",Q=Boolean(U&&U.charAt(1)!==":");return Boolean(z[2]||Q)}dD.exports=process.platform==="win32"?UZ0:zZ0;dD.exports.posix=zZ0;dD.exports.win32=UZ0});var Mb=E((BG1)=>{BG1.setopts=MG1;BG1.ownProp=QZ0;BG1.makeAbs=wX;BG1.finish=OG1;BG1.mark=NG1;BG1.isIgnored=IZ0;BG1.childrenIgnored=DG1;function QZ0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}var qG1=I0("fs"),LI=I0("path"),VG1=pD(),JZ0=mD(),wb=VG1.Minimatch;function LG1($,Y){return $.localeCompare(Y,"en")}function FG1($,Y){if($.ignore=Y.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(wG1)}function wG1($){var Y=null;if($.slice(-3)==="/**"){var z=$.replace(/(\/\*\*)+$/,"");Y=new wb(z,{dot:!0})}return{matcher:new wb($,{dot:!0}),gmatcher:Y}}function MG1($,Y,z){if(!z)z={};if(z.matchBase&&Y.indexOf("/")===-1){if(z.noglobstar)throw Error("base matching requires globstar");Y="**/"+Y}if($.silent=!!z.silent,$.pattern=Y,$.strict=z.strict!==!1,$.realpath=!!z.realpath,$.realpathCache=z.realpathCache||Object.create(null),$.follow=!!z.follow,$.dot=!!z.dot,$.mark=!!z.mark,$.nodir=!!z.nodir,$.nodir)$.mark=!0;$.sync=!!z.sync,$.nounique=!!z.nounique,$.nonull=!!z.nonull,$.nosort=!!z.nosort,$.nocase=!!z.nocase,$.stat=!!z.stat,$.noprocess=!!z.noprocess,$.absolute=!!z.absolute,$.fs=z.fs||qG1,$.maxLength=z.maxLength||1/0,$.cache=z.cache||Object.create(null),$.statCache=z.statCache||Object.create(null),$.symlinks=z.symlinks||Object.create(null),FG1($,z),$.changedCwd=!1;var U=process.cwd();if(!QZ0(z,"cwd"))$.cwd=U;else $.cwd=LI.resolve(z.cwd),$.changedCwd=$.cwd!==U;if($.root=z.root||LI.resolve($.cwd,"/"),$.root=LI.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=JZ0($.cwd)?$.cwd:wX($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!z.nomount,z.nonegate=!0,z.nocomment=!0,z.allowWindowsEscape=!1,$.minimatch=new wb(Y,z),$.options=$.minimatch.options}function OG1($){var Y=$.nounique,z=Y?[]:Object.create(null);for(var U=0,Q=$.matches.length;U{HZ0.exports=WZ0;WZ0.GlobSync=T6;var _G1=Xb(),KZ0=pD(),xo1=KZ0.Minimatch,fo1=MX().Glob,uo1=I0("util"),Ob=I0("path"),GZ0=I0("assert"),lD=mD(),Sz=Mb(),vG1=Sz.setopts,Nb=Sz.ownProp,hG1=Sz.childrenIgnored,SG1=Sz.isIgnored;function WZ0($,Y){if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob + */HH0.exports=function($,Y){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var z=$.length;if(z<=1)return $;var U="";if(z>4&&$[3]==="\\"){var Q=$[2];if((Q==="?"||Q===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),U="//"}var J=$.split(/[/\\]+/);if(Y!==!1&&J[J.length-1]==="")J.pop();return U+J.join("/")}});var hu=E((Fo1,wH0)=>{var ZH0=9007199254740991,DU1="[object Arguments]",BU1="[object Function]",PU1="[object GeneratorFunction]",AU1=/^(?:0|[1-9]\d*)$/;function qH0($,Y,z){switch(z.length){case 0:return $.call(Y);case 1:return $.call(Y,z[0]);case 2:return $.call(Y,z[0],z[1]);case 3:return $.call(Y,z[0],z[1],z[2])}return $.apply(Y,z)}function TU1($,Y){var z=-1,U=Array($);while(++z<$)U[z]=Y(z);return U}var zX=Object.prototype,UX=zX.hasOwnProperty,VH0=zX.toString,jU1=zX.propertyIsEnumerable,XH0=Math.max;function EU1($,Y){var z=xU1($)||kU1($)?TU1($.length,String):[],U=z.length,Q=!!U;for(var J in $)if((Y||UX.call($,J))&&!(Q&&(J=="length"||FH0(J,U))))z.push(J);return z}function CU1($,Y,z,U){if($===void 0||Ru($,zX[z])&&!UX.call(U,z))return Y;return $}function RU1($,Y,z){var U=$[Y];if(!(UX.call($,Y)&&Ru(U,z))||z===void 0&&!(Y in $))$[Y]=z}function _U1($){if(!vu($))return yU1($);var Y=gU1($),z=[];for(var U in $)if(!(U=="constructor"&&(Y||!UX.call($,U))))z.push(U);return z}function LH0($,Y){return Y=XH0(Y===void 0?$.length-1:Y,0),function(){var z=arguments,U=-1,Q=XH0(z.length-Y,0),J=Array(Q);while(++U1?z[Q-1]:void 0,I=Q>2?z[2]:void 0;if(J=$.length>3&&typeof J=="function"?(Q--,J):void 0,I&&SU1(z[0],z[1],I))J=Q<3?void 0:J,Q=1;Y=Object(Y);while(++U-1&&$%1==0&&$-1&&$%1==0&&$<=ZH0}function vu($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function iU1($){return!!$&&typeof $=="object"}var cU1=hU1(function($,Y,z,U){vU1(Y,pU1(Y),$,U)}),nU1=LH0(function($){return $.push(void 0,CU1),qH0(cU1,void 0,$)});function pU1($){return _u($)?EU1($,!0):_U1($)}wH0.exports=nU1});var OH0=E((wo1,Su)=>{function dU1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var MH0=K6().Buffer,QX=I0("util");function mU1($,Y,z){$.copy(Y,z)}Su.exports=function(){function $(){dU1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return MH0.alloc(0);var U=MH0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)mU1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(QX&&QX.inspect&&QX.inspect.custom)Su.exports.prototype[QX.inspect.custom]=function(){var $=QX.inspect({length:this.length});return this.constructor.name+" "+$}});var gu=E((Mo1,NH0)=>{var jD=I6();function lU1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)jD.nextTick(ED,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,jD.nextTick(ED,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)jD.nextTick(ED,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,jD.nextTick(ED,z,J)}else if(Y)Y(J)}),this}function oU1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function ED($,Y){$.emit("error",Y)}NH0.exports={destroy:lU1,undestroy:oU1}});var ku=E((Oo1,CH0)=>{var Ez=I6();CH0.exports=V6;function BH0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){ZQ1(Y,$)}}var rU1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ez.nextTick,II;V6.WritableState=IX;var PH0=Object.create(M4());PH0.inherits=X1();var sU1={deprecate:S3()},AH0=I0("stream"),RD=K6().Buffer,aU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tU1($){return RD.from($)}function eU1($){return RD.isBuffer($)||$ instanceof aU1}var TH0=gu();PH0.inherits(V6,AH0);function $Q1(){}function IX($,Y){II=II||Cz(),$=$||{};var z=Y instanceof II;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){KQ1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new BH0(this)}IX.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(IX.prototype,"buffer",{get:sU1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var CD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")CD=Function.prototype[Symbol.hasInstance],Object.defineProperty(V6,Symbol.hasInstance,{value:function($){if(CD.call(this,$))return!0;if(this!==V6)return!1;return $&&$._writableState instanceof IX}});else CD=function($){return $ instanceof this};function V6($){if(II=II||Cz(),!CD.call(V6,this)&&!(this instanceof II))return new V6($);if(this._writableState=new IX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}AH0.call(this)}V6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function YQ1($,Y){var z=Error("write after end");$.emit("error",z),Ez.nextTick(Y,z)}function zQ1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),Ez.nextTick(U,J),Q=!1;return Q}V6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&eU1($);if(J&&!RD.isBuffer($))$=tU1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=$Q1;if(U.ended)YQ1(this,z);else if(J||zQ1(this,U,$,z))U.pendingcb++,Q=QQ1(this,U,J,$,Y,z);return Q};V6.prototype.cork=function(){var $=this._writableState;$.corked++};V6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)jH0(this,$)}};V6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function UQ1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=RD.from(Y,z);return Y}Object.defineProperty(V6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function QQ1($,Y,z,U,Q,J){if(!z){var I=UQ1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var RH0=I6(),qQ1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};hH0.exports=N7;var _H0=Object.create(M4());_H0.inherits=X1();var vH0=fu(),xu=ku();_H0.inherits(N7,vH0);{_D=qQ1(xu.prototype);for(KX=0;KX<_D.length;KX++)if(GX=_D[KX],!N7.prototype[GX])N7.prototype[GX]=xu.prototype[GX]}var _D,GX,KX;function N7($){if(!(this instanceof N7))return new N7($);if(vH0.call(this,$),xu.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",VQ1)}Object.defineProperty(N7.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function VQ1(){if(this.allowHalfOpen||this._writableState.ended)return;RH0.nextTick(LQ1,this)}function LQ1($){$.end()}Object.defineProperty(N7.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});N7.prototype._destroy=function($,Y){this.push(null),this.end(),RH0.nextTick(Y,$)}});var iu=E((RQ1)=>{var bu=K6().Buffer,SH0=bu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function FQ1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function wQ1($){var Y=FQ1($);if(typeof Y!=="string"&&(bu.isEncoding===SH0||!SH0($)))throw Error("Unknown encoding: "+$);return Y||$}RQ1.StringDecoder=WX;function WX($){this.encoding=wQ1($);var Y;switch(this.encoding){case"utf16le":this.text=PQ1,this.end=AQ1,Y=4;break;case"utf8":this.fillLast=NQ1,Y=4;break;case"base64":this.text=TQ1,this.end=jQ1,Y=3;break;default:this.write=EQ1,this.end=CQ1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=bu.allocUnsafe(Y)}WX.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};WX.prototype.end=BQ1;WX.prototype.text=DQ1;WX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function uu($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function MQ1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function OQ1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function NQ1($){var Y=this.lastTotal-this.lastNeed,z=OQ1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function DQ1($,Y){var z=MQ1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function BQ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function PQ1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function AQ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function TQ1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function jQ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function EQ1($){return $.toString(this.encoding)}function CQ1($){return $&&$.length?this.write($):""}});var fu=E((Po1,dH0)=>{var GI=I6();dH0.exports=E4;var vQ1=oQ(),HX;E4.ReadableState=bH0;var Bo1=I0("events").EventEmitter,xH0=function($,Y){return $.listeners(Y).length},mu=I0("stream"),XX=K6().Buffer,hQ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function SQ1($){return XX.from($)}function gQ1($){return XX.isBuffer($)||$ instanceof hQ1}var fH0=Object.create(M4());fH0.inherits=X1();var cu=I0("util"),$4=void 0;if(cu&&cu.debuglog)$4=cu.debuglog("stream");else $4=function(){};var yQ1=OH0(),uH0=gu(),KI;fH0.inherits(E4,mu);var nu=["error","close","destroy","pause","resume"];function kQ1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(vQ1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function bH0($,Y){HX=HX||Cz(),$=$||{};var z=Y instanceof HX;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new yQ1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!KI)KI=iu().StringDecoder;this.decoder=new KI($.encoding),this.encoding=$.encoding}}function E4($){if(HX=HX||Cz(),!(this instanceof E4))return new E4($);if(this._readableState=new bH0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}mu.call(this)}Object.defineProperty(E4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});E4.prototype.destroy=uH0.destroy;E4.prototype._undestroy=uH0.undestroy;E4.prototype._destroy=function($,Y){this.push(null),Y($)};E4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=XX.from($,Y),Y="";U=!0}}else U=!0;return iH0(this,$,Y,!1,U)};E4.prototype.unshift=function($){return iH0(this,$,null,!0,!1)};function iH0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,bQ1($,J);else{var I;if(!Q)I=xQ1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==XX.prototype)Y=SQ1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else pu($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)pu($,J,Y,!1);else cH0($,J);else pu($,J,Y,!1)}else if(!U)J.reading=!1}return fQ1(J)}function pu($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)vD($)}cH0($,Y)}function xQ1($,Y){var z;if(!gQ1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function fQ1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}E4.prototype.isPaused=function(){return this._readableState.flowing===!1};E4.prototype.setEncoding=function($){if(!KI)KI=iu().StringDecoder;return this._readableState.decoder=new KI($),this._readableState.encoding=$,this};var gH0=8388608;function uQ1($){if($>=gH0)$=gH0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function yH0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=uQ1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}E4.prototype.read=function($){$4("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if($4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)du(this);else vD(this);return null}if($=yH0($,Y),$===0&&Y.ended){if(Y.length===0)du(this);return null}var U=Y.needReadable;if($4("need readable",U),Y.length===0||Y.length-$0)Q=nH0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)du(this)}if(Q!==null)this.emit("data",Q);return Q};function bQ1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,vD($)}function vD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if($4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)GI.nextTick(kH0,$);else kH0($)}function kH0($){$4("emit readable"),$.emit("readable"),lu($)}function cH0($,Y){if(!Y.readingMore)Y.readingMore=!0,GI.nextTick(iQ1,$,Y)}function iQ1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&pH0(U.pipes,$)!==-1)&&!W)$4("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if($4("onerror",w),M(),$.removeListener("error",q),xH0($,"error")===0)$.emit("error",w)}kQ1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){$4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){$4("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)$4("pipe resume"),z.resume();return $};function cQ1($){return function(){var Y=$._readableState;if($4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&xH0($,"data"))Y.flowing=!0,lu($)}}E4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=mQ1($,Y.buffer,Y.decoder);return z}function mQ1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function oQ1($,Y){var z=XX.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function du($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,GI.nextTick(rQ1,Y,$)}function rQ1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function pH0($,Y){for(var z=0,U=$.length;z{oH0.exports=D7;var hD=Cz(),lH0=Object.create(M4());lH0.inherits=X1();lH0.inherits(D7,hD);function sQ1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{aH0.exports=ZX;var rH0=ou(),sH0=Object.create(M4());sH0.inherits=X1();sH0.inherits(ZX,rH0);function ZX($){if(!(this instanceof ZX))return new ZX($);rH0.call(this,$)}ZX.prototype._transform=function($,Y,z){z(null,$)}});var eH0=E((t6,SD)=>{var H9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&H9)SD.exports=H9,t6=SD.exports=H9.Readable,t6.Readable=H9.Readable,t6.Writable=H9.Writable,t6.Duplex=H9.Duplex,t6.Transform=H9.Transform,t6.PassThrough=H9.PassThrough,t6.Stream=H9;else t6=SD.exports=fu(),t6.Stream=H9||t6,t6.Readable=t6,t6.Writable=ku(),t6.Duplex=Cz(),t6.Transform=ou(),t6.PassThrough=tH0()});var su=E((jo1,QX0)=>{var tQ1=9007199254740991,eQ1="[object Arguments]",$J1="[object Function]",YJ1="[object GeneratorFunction]",zJ1=typeof global=="object"&&global&&global.Object===Object&&global,UJ1=typeof self=="object"&&self&&self.Object===Object&&self,QJ1=zJ1||UJ1||Function("return this")();function JJ1($,Y){var z=-1,U=Y.length,Q=$.length;while(++z0&&z(K))if(Y>1)UX0(K,Y-1,z,U,Q);else JJ1(Q,K);else if(!U)Q[Q.length]=K}return Q}function GJ1($){return XJ1($)||HJ1($)||!!(YX0&&$&&$[YX0])}function WJ1($){var Y=$?$.length:0;return Y?UX0($,1):[]}function HJ1($){return qJ1($)&&IJ1.call($,"callee")&&(!KJ1.call($,"callee")||zX0.call($)==eQ1)}var XJ1=Array.isArray;function ZJ1($){return $!=null&&LJ1($.length)&&!VJ1($)}function qJ1($){return wJ1($)&&ZJ1($)}function VJ1($){var Y=FJ1($)?zX0.call($):"";return Y==$J1||Y==YJ1}function LJ1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=tQ1}function FJ1($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function wJ1($){return!!$&&typeof $=="object"}QX0.exports=WJ1});var zb=E((Eo1,LX0)=>{var MJ1=200,eu="__lodash_hash_undefined__",OJ1=9007199254740991,NJ1="[object Arguments]",DJ1="[object Function]",BJ1="[object GeneratorFunction]",PJ1=/[\\^$.*+?()[\]{}|]/g,AJ1=/^\[object .+?Constructor\]$/,TJ1=typeof global=="object"&&global&&global.Object===Object&&global,jJ1=typeof self=="object"&&self&&self.Object===Object&&self,$b=TJ1||jJ1||Function("return this")();function EJ1($,Y,z){switch(z.length){case 0:return $.call(Y);case 1:return $.call(Y,z[0]);case 2:return $.call(Y,z[0],z[1]);case 3:return $.call(Y,z[0],z[1],z[2])}return $.apply(Y,z)}function CJ1($,Y){var z=$?$.length:0;return!!z&&SJ1($,Y,0)>-1}function RJ1($,Y,z){var U=-1,Q=$?$.length:0;while(++U-1}function $I1($,Y){var z=this.__data__,U=kD(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}WI.prototype.clear=sJ1;WI.prototype.delete=aJ1;WI.prototype.get=tJ1;WI.prototype.has=eJ1;WI.prototype.set=$I1;function HI($){var Y=-1,z=$?$.length:0;this.clear();while(++Y=MJ1)J=kJ1,I=!1,Y=new gD(Y);$:while(++Q0&&z(K))if(Y>1)XX0(K,Y-1,z,U,Q);else vJ1(Q,K);else if(!U)Q[Q.length]=K}return Q}function WI1($){if(!VX0($)||qI1($))return!1;var Y=qX0($)||fJ1($)?iJ1:AJ1;return Y.test(VI1($))}function HI1($,Y){return Y=GX0(Y===void 0?$.length-1:Y,0),function(){var z=arguments,U=-1,Q=GX0(z.length-Y,0),J=Array(Q);while(++U-1&&$%1==0&&$<=OJ1}function VX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function DI1($){return!!$&&typeof $=="object"}LX0.exports=LI1});var Gb=E((Co1,EX0)=>{var BI1=200,Jb="__lodash_hash_undefined__",PI1=1/0,AI1=9007199254740991,TI1="[object Arguments]",jI1="[object Function]",EI1="[object GeneratorFunction]",CI1=/[\\^$.*+?()[\]{}|]/g,RI1=/^\[object .+?Constructor\]$/,_I1=typeof global=="object"&&global&&global.Object===Object&&global,vI1=typeof self=="object"&&self&&self.Object===Object&&self,uD=_I1||vI1||Function("return this")();function hI1($,Y,z){switch(z.length){case 0:return $.call(Y);case 1:return $.call(Y,z[0]);case 2:return $.call(Y,z[0],z[1]);case 3:return $.call(Y,z[0],z[1],z[2])}return $.apply(Y,z)}function SI1($,Y){var z=$?$.length:0;return!!z&&xI1($,Y,0)>-1}function gI1($,Y,z){var U=-1,Q=$?$.length:0;while(++U-1}function UK1($,Y){var z=this.__data__,U=iD(z,$);if(U<0)z.push([$,Y]);else z[U][1]=Y;return this}XI.prototype.clear=eI1;XI.prototype.delete=$K1;XI.prototype.get=YK1;XI.prototype.has=zK1;XI.prototype.set=UK1;function ZI($){var Y=-1,z=$?$.length:0;this.clear();while(++Y0&&z(K))if(Y>1)PX0(K,Y-1,z,U,Q);else yI1(Q,K);else if(!U)Q[Q.length]=K}return Q}function XK1($){if(!jX0($)||wK1($))return!1;var Y=TX0($)||iI1($)?pI1:RI1;return Y.test(MK1($))}function ZK1($,Y){return Y=OX0(Y===void 0?$.length-1:Y,0),function(){var z=arguments,U=-1,Q=OX0(z.length-Y,0),J=Array(Q);while(++U=BI1){var W=Y?null:VK1($);if(W)return NX0(W);I=!1,Q=uI1,G=new fD}else G=Y?[]:K;$:while(++U-1&&$%1==0&&$<=AI1}function jX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function TK1($){return!!$&&typeof $=="object"}function jK1(){}EX0.exports=OK1});var Wb=E((Ro1,_X0)=>{var EK1="[object Object]";function CK1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(z){}return Y}function RK1($,Y){return function(z){return $(Y(z))}}var _K1=Function.prototype,CX0=Object.prototype,RX0=_K1.toString,vK1=CX0.hasOwnProperty,hK1=RX0.call(Object),SK1=CX0.toString,gK1=RK1(Object.getPrototypeOf,Object);function yK1($){return!!$&&typeof $=="object"}function kK1($){if(!yK1($)||SK1.call($)!=EK1||CK1($))return!1;var Y=gK1($);if(Y===null)return!0;var z=vK1.call(Y,"constructor")&&Y.constructor;return typeof z=="function"&&z instanceof z&&RX0.call(z)==hK1}_X0.exports=kK1});var vX0=E((bK1)=>{var vz=I0("path"),X2=process.platform==="win32",H2=I0("fs"),xK1=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function fK1(){var $;if(xK1){var Y=Error();$=z}else $=U;return $;function z(Q){if(Q)Y.message=Q.message,Q=Y,U(Q)}function U(Q){if(Q){if(process.throwDeprecation)throw Q;else if(!process.noDeprecation){var J="fs: missing callback "+(Q.stack||Q.message);if(process.traceDeprecation)console.trace(J);else console.error(J)}}}}function uK1($){return typeof $==="function"?$:fK1()}var _o1=vz.normalize;if(X2)X9=/(.*?)(?:[\/\\]+|$)/g;else X9=/(.*?)(?:[\/]+|$)/g;var X9;if(X2)qI=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else qI=/^[\/]*/;var qI;bK1.realpathSync=function(Y,z){if(Y=vz.resolve(Y),z&&Object.prototype.hasOwnProperty.call(z,Y))return z[Y];var U=Y,Q={},J={},I,K,G,W;H();function H(){var M=qI.exec(Y);if(I=M[0].length,K=M[0],G=M[0],W="",X2&&!J[G])H2.lstatSync(G),J[G]=!0}while(I=Y.length){if(z)z[Q]=Y;return U(null,Y)}X9.lastIndex=K;var M=X9.exec(Y);if(H=G,G+=M[0],W=H+M[1],K=X9.lastIndex,I[W]||z&&z[W]===W)return process.nextTick(Z);if(z&&Object.prototype.hasOwnProperty.call(z,W))return F(z[W]);return H2.lstat(W,q)}function q(M,w){if(M)return U(M);if(!w.isSymbolicLink()){if(I[W]=!0,z)z[W]=W;return process.nextTick(Z)}if(!X2){var O=w.dev.toString(32)+":"+w.ino.toString(32);if(J.hasOwnProperty(O))return V(null,J[O],W)}H2.stat(W,function(N){if(N)return U(N);H2.readlink(W,function(D,T){if(!X2)J[O]=T;V(D,T)})})}function V(M,w,O){if(M)return U(M);var N=vz.resolve(H,w);if(z)z[O]=N;F(N)}function F(M){Y=vz.resolve(M,Y.slice(K)),X()}}});var qb=E((ho1,yX0)=>{yX0.exports=Z2;Z2.realpath=Z2;Z2.sync=Zb;Z2.realpathSync=Zb;Z2.monkeypatch=pK1;Z2.unmonkeypatch=dK1;var VI=I0("fs"),Hb=VI.realpath,Xb=VI.realpathSync,nK1=process.version,hX0=/^v[0-5]\./.test(nK1),SX0=vX0();function gX0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function Z2($,Y,z){if(hX0)return Hb($,Y,z);if(typeof Y==="function")z=Y,Y=null;Hb($,Y,function(U,Q){if(gX0(U))SX0.realpath($,Y,z);else z(U,Q)})}function Zb($,Y){if(hX0)return Xb($,Y);try{return Xb($,Y)}catch(z){if(gX0(z))return SX0.realpathSync($,Y);else throw z}}function pK1(){VI.realpath=Z2,VI.realpathSync=Zb}function dK1(){VI.realpath=Hb,VI.realpathSync=Xb}});var xX0=E((So1,kX0)=>{kX0.exports=function($,Y){var z=[];for(var U=0;U<$.length;U++){var Q=Y($[U],U);if(mK1(Q))z.push.apply(z,Q);else z.push(Q)}return z};var mK1=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var cX0=E((go1,iX0)=>{iX0.exports=uX0;function uX0($,Y,z){if($ instanceof RegExp)$=fX0($,z);if(Y instanceof RegExp)Y=fX0(Y,z);var U=bX0($,Y,z);return U&&{start:U[0],end:U[1],pre:z.slice(0,U[0]),body:z.slice(U[0]+$.length,U[1]),post:z.slice(U[1]+Y.length)}}function fX0($,Y){var z=Y.match($);return z?z[0]:null}uX0.range=bX0;function bX0($,Y,z){var U,Q,J,I,K,G=z.indexOf($),W=z.indexOf(Y,G+1),H=G;if(G>=0&&W>0){if($===Y)return[G,W];U=[],J=z.length;while(H>=0&&!K){if(H==G)U.push(H),G=z.indexOf($,H+1);else if(U.length==1)K=[U.pop(),W];else{if(Q=U.pop(),Q=0?G:W}if(U.length)K=[J,I]}return K}});var sX0=E((ko1,rX0)=>{var yo1=xX0(),nX0=cX0();rX0.exports=aK1;var pX0="\x00SLASH"+Math.random()+"\x00",dX0="\x00OPEN"+Math.random()+"\x00",Fb="\x00CLOSE"+Math.random()+"\x00",mX0="\x00COMMA"+Math.random()+"\x00",lX0="\x00PERIOD"+Math.random()+"\x00",lK1=1e5,oK1=4000000;function Vb($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function rK1($){return $.split("\\\\").join(pX0).split("\\{").join(dX0).split("\\}").join(Fb).split("\\,").join(mX0).split("\\.").join(lX0)}function sK1($){return $.split(pX0).join("\\").split(dX0).join("{").split(Fb).join("}").split(mX0).join(",").split(lX0).join(".")}function oX0($){if(!$)return[""];var Y=[],z=nX0("{","}",$);if(!z)return $.split(",");var{pre:U,body:Q,post:J}=z,I=U.split(",");I[I.length-1]+="{"+Q+"}";var K=oX0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function aK1($,Y){if(!$)return[];Y=Y||{};var z=Y.max==null?lK1:Y.max,U=Y.maxLength==null?oK1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return Lb(rK1($),z,U,!0).map(sK1)}function tK1($){return"{"+$+"}"}function eK1($){return/^-?0\d/.test($)}function $G1($,Y){return $<=Y}function YG1($,Y){return $>=Y}function LX($,Y,z,U,Q,J,I,K){var G=[],W=0;for(var H=0;H<$.length;H++)for(var X=0;X=Q)return G;var Z=$[H]+z+U[X];if(I&&Z.length===Y[H])continue;if(W+Z.length>J)return G;G.push(Z),K.push(Y[H]),W+=Z.length}return G}function zG1($,Y,z,U){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=Vb(Q[0]),K=Vb(Q[1]),G=Math.max(Q[0].length,Q[1].length),W=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Vb(Q[2])),1):1,H=$G1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>U)break;J.push(F),q+=F.length}return J}function Lb($,Y,z,U){var Q=[""],J=[0],I=!1,K=!0,G;for(;;){var W=nX0("{","}",$);if(!W)return LX(Q,J,$,[""],Y,z,I,[]);var H=W.pre;if(/\$$/.test(H))return LX(Q,J,$,[""],Y,z,I,[]);var X=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(W.body),Z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(W.body),q=X||Z,V=W.body.indexOf(",")>=0;if(!q&&!V){if(W.post.match(/,(?!,).*\}/)){$=W.pre+"{"+W.body+Fb+W.post,U=!0,K=!0,I=!1,J=[];for(var F=0;F=Y||D+j.length>z)break $;M.push(j),D+=j.length}}}if(G=[],Q=LX(Q,J,H,M,Y,z,I&&!W.post.length,G),J=G,!W.post.length)break;$=W.post}return Q}});var dD=E((xo1,YZ0)=>{YZ0.exports=H$;H$.Minimatch=L6;var FX=function(){try{return I0("path")}catch($){}}()||{sep:"/"};H$.sep=FX.sep;var hz=H$.GLOBSTAR=L6.GLOBSTAR={},UG1=sX0(),aX0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},wb="[^/]",Mb=wb+"*?",QG1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",JG1="(?:(?!(?:\\/|^)\\.).)*?",tX0=IG1("().*{}+?[]^$\\!");function IG1($){return $.split("").reduce(function(Y,z){return Y[z]=!0,Y},{})}var eX0=/\/+/;H$.filter=KG1;function KG1($,Y){return Y=Y||{},function(z,U,Q){return H$(z,$,Y)}}function q2($,Y){Y=Y||{};var z={};return Object.keys($).forEach(function(U){z[U]=$[U]}),Object.keys(Y).forEach(function(U){z[U]=Y[U]}),z}H$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return H$;var Y=H$,z=function(Q,J,I){return Y(Q,J,q2($,I))};return z.Minimatch=function(Q,J){return new Y.Minimatch(Q,q2($,J))},z.Minimatch.defaults=function(Q){return Y.defaults(q2($,Q)).Minimatch},z.filter=function(Q,J){return Y.filter(Q,q2($,J))},z.defaults=function(Q){return Y.defaults(q2($,Q))},z.makeRe=function(Q,J){return Y.makeRe(Q,q2($,J))},z.braceExpand=function(Q,J){return Y.braceExpand(Q,q2($,J))},z.match=function(U,Q,J){return Y.match(U,Q,q2($,J))},z};L6.defaults=function($){return H$.defaults($).Minimatch};function H$($,Y,z){if(pD(Y),!z)z={};if(!z.nocomment&&Y.charAt(0)==="#")return!1;return new L6(Y,z).match($)}function L6($,Y){if(!(this instanceof L6))return new L6($,Y);if(pD($),!Y)Y={};if($=$.trim(),!Y.allowWindowsEscape&&FX.sep!=="/")$=$.split(FX.sep).join("/");this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}L6.prototype.debug=function(){};L6.prototype.make=GG1;function GG1(){var $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var z=this.globSet=this.braceExpand();if(Y.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,z),z=this.globParts=z.map(function(U){return U.split(eX0)}),this.debug(this.pattern,z),z=z.map(function(U,Q,J){return U.map(this.parse,this)},this),this.debug(this.pattern,z),z=z.filter(function(U){return U.indexOf(!1)===-1}),this.debug(this.pattern,z),this.set=z}L6.prototype.parseNegate=WG1;function WG1(){var $=this.pattern,Y=!1,z=this.options,U=0;if(z.nonegate)return;for(var Q=0,J=$.length;Q"u"?this.pattern:$,pD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return UG1($)}var HG1=65536,pD=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>HG1)throw TypeError("pattern is too long")};L6.prototype.parse=XG1;var nD={};function XG1($,Y){pD($);var z=this.options;if($==="**")if(!z.noglobstar)return hz;else $="*";if($==="")return"";var U="",Q=!!z.nocase,J=!1,I=[],K=[],G,W=!1,H=-1,X=-1,Z=$.charAt(0)==="."?"":z.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",q=this;function V(){if(G){switch(G){case"*":U+=Mb,Q=!0;break;case"?":U+=wb,Q=!0;break;default:U+="\\"+G;break}q.debug("clearStateChar %j %j",G,U),G=!1}}for(var F=0,M=$.length,w;F-1;j--){var C=K[j],b=U.slice(0,C.reStart),k=U.slice(C.reStart,C.reEnd-8),h=U.slice(C.reEnd-8,C.reEnd),i=U.slice(C.reEnd);h+=i;var c=b.split("(").length-1,U0=i;for(F=0;F"u")z=this.partial;if(this.debug("match",Y,this.pattern),this.comment)return!1;if(this.empty)return Y==="";if(Y==="/"&&z)return!0;var U=this.options;if(FX.sep!=="/")Y=Y.split(FX.sep).join("/");Y=Y.split(eX0),this.debug(this.pattern,"split",Y);var Q=this.set;this.debug(this.pattern,"set",Q);var J,I;for(I=Y.length-1;I>=0;I--)if(J=Y[I],J)break;for(I=0;I=0;J--)if(Y[J]===hz){K=J;break}var G=Y.slice(Q,I),W=z?Y.slice(I+1):Y.slice(I+1,K),H=z?[]:Y.slice(K+1);if(G.length){var X=$.slice(U,U+G.length);if(!this._matchOne(X,G,z,0,0))return!1;U+=G.length}var Z=0;if(H.length){if(H.length+U>$.length)return!1;var q=$.length-H.length;if(this._matchOne($,H,z,q,0))Z=H.length;else{if($[$.length-1]!==""||U+H.length===$.length)return!1;if(q--,!this._matchOne($,H,z,q,0))return!1;Z=H.length+1}}if(!W.length){var V=!!Z;for(J=U;J<$.length-Z;J++){var F=String($[J]);if(V=!0,F==="."||F===".."||!this.options.dot&&F.charAt(0)===".")return!1}return z||V}var M=[[[],0]],w=M[0],O=0,N=[0];for(var D=0;D{function zZ0($){return $.charAt(0)==="/"}function UZ0($){var Y=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,z=Y.exec($),U=z[1]||"",Q=Boolean(U&&U.charAt(1)!==":");return Boolean(z[2]||Q)}mD.exports=process.platform==="win32"?UZ0:zZ0;mD.exports.posix=zZ0;mD.exports.win32=UZ0});var Nb=E((AG1)=>{AG1.setopts=NG1;AG1.ownProp=QZ0;AG1.makeAbs=wX;AG1.finish=DG1;AG1.mark=BG1;AG1.isIgnored=IZ0;AG1.childrenIgnored=PG1;function QZ0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}var LG1=I0("fs"),LI=I0("path"),FG1=dD(),JZ0=lD(),Ob=FG1.Minimatch;function wG1($,Y){return $.localeCompare(Y,"en")}function MG1($,Y){if($.ignore=Y.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(OG1)}function OG1($){var Y=null;if($.slice(-3)==="/**"){var z=$.replace(/(\/\*\*)+$/,"");Y=new Ob(z,{dot:!0})}return{matcher:new Ob($,{dot:!0}),gmatcher:Y}}function NG1($,Y,z){if(!z)z={};if(z.matchBase&&Y.indexOf("/")===-1){if(z.noglobstar)throw Error("base matching requires globstar");Y="**/"+Y}if($.silent=!!z.silent,$.pattern=Y,$.strict=z.strict!==!1,$.realpath=!!z.realpath,$.realpathCache=z.realpathCache||Object.create(null),$.follow=!!z.follow,$.dot=!!z.dot,$.mark=!!z.mark,$.nodir=!!z.nodir,$.nodir)$.mark=!0;$.sync=!!z.sync,$.nounique=!!z.nounique,$.nonull=!!z.nonull,$.nosort=!!z.nosort,$.nocase=!!z.nocase,$.stat=!!z.stat,$.noprocess=!!z.noprocess,$.absolute=!!z.absolute,$.fs=z.fs||LG1,$.maxLength=z.maxLength||1/0,$.cache=z.cache||Object.create(null),$.statCache=z.statCache||Object.create(null),$.symlinks=z.symlinks||Object.create(null),MG1($,z),$.changedCwd=!1;var U=process.cwd();if(!QZ0(z,"cwd"))$.cwd=U;else $.cwd=LI.resolve(z.cwd),$.changedCwd=$.cwd!==U;if($.root=z.root||LI.resolve($.cwd,"/"),$.root=LI.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=JZ0($.cwd)?$.cwd:wX($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!z.nomount,z.nonegate=!0,z.nocomment=!0,z.allowWindowsEscape=!1,$.minimatch=new Ob(Y,z),$.options=$.minimatch.options}function DG1($){var Y=$.nounique,z=Y?[]:Object.create(null);for(var U=0,Q=$.matches.length;U{HZ0.exports=WZ0;WZ0.GlobSync=T6;var hG1=qb(),KZ0=dD(),bo1=KZ0.Minimatch,io1=MX().Glob,co1=I0("util"),Db=I0("path"),GZ0=I0("assert"),oD=lD(),Sz=Nb(),SG1=Sz.setopts,Bb=Sz.ownProp,gG1=Sz.childrenIgnored,yG1=Sz.isIgnored;function WZ0($,Y){if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob See: https://github.com/isaacs/node-glob/issues/167`);return new T6($,Y).found}function T6($,Y){if(!$)throw Error("must provide pattern");if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob -See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))return new T6($,Y);if(vG1(this,$,Y),this.noprocess)return this;var z=this.minimatch.set.length;this.matches=Array(z);for(var U=0;Uthis.maxLength)return!1;if(!this.stat&&Nb(this.cache,Y)){var I=this.cache[Y];if(Array.isArray(I))I="DIR";if(!z||I==="DIR")return I;if(z&&I==="FILE")return!1}var U,Q=this.statCache[Y];if(!Q){var J;try{J=this.fs.lstatSync(Y)}catch(K){if(K&&(K.code==="ENOENT"||K.code==="ENOTDIR"))return this.statCache[Y]=!1,!1}if(J&&J.isSymbolicLink())try{Q=this.fs.statSync(Y)}catch(K){Q=J}else Q=J}this.statCache[Y]=Q;var I=!0;if(Q)I=Q.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,z&&I==="FILE")return!1;return I};T6.prototype._mark=function($){return Sz.mark(this,$)};T6.prototype._makeAbs=function($){return Sz.makeAbs(this,$)}});var Db=E((io1,qZ0)=>{qZ0.exports=ZZ0;function ZZ0($,Y){if($&&Y)return ZZ0($)(Y);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(U){z[U]=$[U]}),z;function z(){var U=Array(arguments.length);for(var Q=0;Q{var VZ0=Db();Bb.exports=VZ0(oD);Bb.exports.strict=VZ0(LZ0);oD.proto=oD(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return oD(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return LZ0(this)},configurable:!0})});function oD($){var Y=function(){if(Y.called)return Y.value;return Y.called=!0,Y.value=$.apply(this,arguments)};return Y.called=!1,Y}function LZ0($){var Y=function(){if(Y.called)throw Error(Y.onceError);return Y.called=!0,Y.value=$.apply(this,arguments)},z=$.name||"Function wrapped with `once`";return Y.onceError=z+" shouldn't be called more than once",Y.called=!1,Y}});var wZ0=E((no1,FZ0)=>{var gG1=Db(),OX=Object.create(null),yG1=rD();FZ0.exports=gG1(kG1);function kG1($,Y){if(OX[$])return OX[$].push(Y),null;else return OX[$]=[Y],xG1($)}function xG1($){return yG1(function Y(){var z=OX[$],U=z.length,Q=fG1(arguments);try{for(var J=0;JU)z.splice(0,U),process.nextTick(function(){Y.apply(null,Q)});else delete OX[$]}})}function fG1($){var Y=$.length,z=[];for(var U=0;U{OZ0.exports=gz;var uG1=Xb(),MZ0=pD(),po1=MZ0.Minimatch,bG1=X1(),iG1=I0("events").EventEmitter,Pb=I0("path"),Ab=I0("assert"),NX=mD(),jb=XZ0(),yz=Mb(),cG1=yz.setopts,Tb=yz.ownProp,Eb=wZ0(),do1=I0("util"),nG1=yz.childrenIgnored,pG1=yz.isIgnored,dG1=rD();function gz($,Y,z){if(typeof Y==="function")z=Y,Y={};if(!Y)Y={};if(Y.sync){if(z)throw TypeError("callback provided to sync glob");return jb($,Y)}return new K4($,Y,z)}gz.sync=jb;var mG1=gz.GlobSync=jb.GlobSync;gz.glob=gz;function lG1($,Y){if(Y===null||typeof Y!=="object")return $;var z=Object.keys(Y),U=z.length;while(U--)$[z[U]]=Y[z[U]];return $}gz.hasMagic=function($,Y){var z=lG1({},Y);z.noprocess=!0;var U=new K4($,z),Q=U.minimatch.set;if(!$)return!1;if(Q.length>1)return!0;for(var J=0;Jthis.maxLength)return Y();if(!this.stat&&Tb(this.cache,z)){var Q=this.cache[z];if(Array.isArray(Q))Q="DIR";if(!U||Q==="DIR")return Y(null,Q);if(U&&Q==="FILE")return Y()}var J,I=this.statCache[z];if(I!==void 0)if(I===!1)return Y(null,I);else{var K=I.isDirectory()?"DIR":"FILE";if(U&&K==="FILE")return Y();else return Y(null,K,I)}var G=this,W=Eb("stat\x00"+z,H);if(W)G.fs.lstat(z,W);function H(X,Z){if(Z&&Z.isSymbolicLink())return G.fs.stat(z,function(q,V){if(q)G._stat2($,z,null,Z,Y);else G._stat2($,z,q,V,Y)});else G._stat2($,z,X,Z,Y)}};K4.prototype._stat2=function($,Y,z,U,Q){if(z&&(z.code==="ENOENT"||z.code==="ENOTDIR"))return this.statCache[Y]=!1,Q();var J=$.slice(-1)==="/";if(this.statCache[Y]=U,Y.slice(-1)==="/"&&U&&!U.isDirectory())return Q(null,!1,U);var I=!0;if(U)I=U.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,J&&I==="FILE")return Q();return Q(null,I,U)}});var PZ0=E((lo1,BZ0)=>{var DZ0=l8(),FI=I0("path"),Cb=ou(),rG1=$b(),sG1=Ib(),aG1=Kb(),tG1=MX(),kz=BZ0.exports={},NZ0=/[\/\\]/g,eG1=function($,Y){var z=[];return Cb($).forEach(function(U){var Q=U.indexOf("!")===0;if(Q)U=U.slice(1);var J=Y(U);if(Q)z=rG1(z,J);else z=sG1(z,J)}),z};kz.exists=function(){var $=FI.join.apply(FI,arguments);return DZ0.existsSync($)};kz.expand=function(...$){var Y=aG1($[0])?$.shift():{},z=Array.isArray($[0])?$[0]:$;if(z.length===0)return[];var U=eG1(z,function(Q){return tG1.sync(Q,Y)});if(Y.filter)U=U.filter(function(Q){Q=FI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return DZ0.statSync(Q)[Y.filter]()}catch(J){return!1}});return U};kz.expandMapping=function($,Y,z){z=Object.assign({rename:function(J,I){return FI.join(J||"",I)}},z);var U=[],Q={};return kz.expand(z,$).forEach(function(J){var I=J;if(z.flatten)I=FI.basename(I);if(z.ext)I=I.replace(/(\.[^\/]*)?$/,z.ext);var K=z.rename(Y,I,z);if(z.cwd)J=FI.join(z.cwd,J);if(K=K.replace(NZ0,"/"),J=J.replace(NZ0,"/"),Q[K])Q[K].src.push(J);else U.push({src:[J],dest:K}),Q[K]=U[U.length-1]}),U};kz.normalizeFilesArray=function($){var Y=[];if($.forEach(function(z){var U;if("src"in z||"dest"in z)Y.push(z)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(z){if(!("src"in z)||!z.src)return;if(Array.isArray(z.src))z.src=Cb(z.src);else z.src=[z.src]}).map(function(z){var U=Object.assign({},z);if(delete U.src,delete U.dest,z.expand)return kz.expandMapping(z.src,z.dest,U).map(function(J){var I=Object.assign({},z);return I.orig=Object.assign({},z),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},z);if(Q.orig=Object.assign({},z),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=z.src,I=Array.isArray(I)?Cb(I):[I],J.result=kz.expand(U,I);return J.result}});if("dest"in Q)Q.dest=z.dest;return Q}).flatten().value(),Y}});var DX=E((ro1,jZ0)=>{var Rb=l8(),AZ0=I0("path"),oo1=I0("util"),$W1=AD(),TZ0=jz(),YW1=_u(),zW1=I0("stream").Stream,UW1=eH0().PassThrough,X$=jZ0.exports={};X$.file=PZ0();X$.collectStream=function($,Y){var z=[],U=0;$.on("error",Y),$.on("data",function(Q){z.push(Q),U+=Q.length}),$.on("end",function(){var Q=new Buffer(U),J=0;z.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};X$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};X$.defaults=function($,Y,z){var U=arguments;return U[0]=U[0]||{},YW1(...U)};X$.isStream=function($){return $ instanceof zW1};X$.lazyReadStream=function($){return new $W1.Readable(function(){return Rb.createReadStream($)})};X$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(X$.isStream($)&&!$._readableState){var Y=new UW1;return $.pipe(Y),Y}return $};X$.sanitizePath=function($){return TZ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};X$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};X$.unixifyPath=function($){return TZ0($,!1).replace(/^\w+:/,"")};X$.walkdir=function($,Y,z){var U=[];if(typeof Y==="function")z=Y,Y=$;Rb.readdir($,function(Q,J){var I=0,K,G;if(Q)return z(Q);(function W(){if(K=J[I++],!K)return z(null,U);G=AZ0.join($,K),Rb.stat(G,function(H,X){if(U.push({path:G,relative:AZ0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())X$.walkdir(G,Y,function(Z,q){q.forEach(function(V){U.push(V)}),W()});else W()})})()})}});var _Z0=E((CZ0,RZ0)=>{var QW1=I0("util"),JW1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function EZ0($,Y){Error.captureStackTrace(this,this.constructor),this.message=JW1[$]||$,this.code=$,this.data=Y}QW1.inherits(EZ0,Error);CZ0=RZ0.exports=EZ0});var yZ0=E((so1,gZ0)=>{var hb=I0("fs"),hZ0=ZW0(),vZ0=Iu(),_b=I0("path"),X9=DX(),IW1=I0("util").inherits,U6=_Z0(),SZ0=E8().Transform,vb=process.platform==="win32",a1=function($,Y){if(!(this instanceof a1))return new a1($,Y);if(typeof $!=="string")Y=$,$="zip";Y=this.options=X9.defaults(Y,{highWaterMark:1048576,statConcurrency:4}),SZ0.call(this,Y),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=vZ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=vZ0.queue(this._onStatQueueTask.bind(this),Y.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};IW1(a1,SZ0);a1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};a1.prototype._append=function($,Y){Y=Y||{};var z={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,z.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof hb.Stats){if(z=this._updateQueueTaskWithStats(z,Y.stats),z){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(z)}}else this._statQueue.push(z)};a1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};a1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};a1.prototype._moduleAppend=function($,Y,z){if(this._state.aborted){z();return}this._module.append($,Y,function(U){if(this._task=null,this._state.aborted){this._shutdown();return}if(U){this.emit("error",U),setImmediate(z);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(z)}.bind(this))};a1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new U6("NOENDMETHOD"))};a1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};a1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};a1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};a1.prototype._normalizeEntryData=function($,Y){if($=X9.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),Y&&$.stats===!1)$.stats=Y;var z=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=X9.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")z=!0,$.type="directory";else if(z)$.name+="/"}if(typeof $.mode==="number")if(vb)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(vb)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(vb&&z)$.mode=493}else if($.mode===null)$.mode=z?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=X9.dateify($.date);return $};a1.prototype._onModuleError=function($){this.emit("error",$)};a1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};a1.prototype._onQueueTask=function($,Y){var z=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){z();return}this._task=$,this._moduleAppend($.source,$.data,z)};a1.prototype._onStatQueueTask=function($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}hb.lstat($.filepath,function(z,U){if(this._state.aborted){setImmediate(Y);return}if(z){this._entriesCount--,this.emit("warning",z),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,U),$){if(U.size)this._fsEntriesTotalBytes+=U.size;this._queue.push($)}setImmediate(Y)}.bind(this))};a1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};a1.prototype._transform=function($,Y,z){if($)this._pointer+=$.length;z(null,$)};a1.prototype._updateQueueTaskWithStats=function($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=X9.lazyReadStream($.filepath);else if(Y.isDirectory()&&this._moduleSupports("directory"))$.data.name=X9.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=X9.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._moduleSupports("symlink")){var z=hb.readlinkSync($.filepath),U=_b.dirname($.filepath);$.data.type="symlink",$.data.linkname=_b.relative(U,_b.resolve(U,z)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new U6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new U6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new U6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$};a1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};a1.prototype.append=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new U6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new U6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=X9.normalizeInputSource($),Buffer.isBuffer($))Y.sourceType="buffer";else if(X9.isStream($))Y.sourceType="stream";else return this.emit("error",new U6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this};a1.prototype.directory=function($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new U6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var U=!1;if(typeof z==="function")U=z,z={};else if(typeof z!=="object")z={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(W){this.emit("error",W)}function K(W){G.pause();var H=!1,X=Object.assign({},z);X.name=W.relative,X.prefix=Y,X.stats=W.stat,X.callback=G.resume.bind(G);try{if(U){if(X=U(X),X===!1)H=!0;else if(typeof X!=="object")throw new U6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(H){G.resume();return}this._append(W.absolute,X)}var G=hZ0($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this};a1.prototype.file=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new U6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this};a1.prototype.glob=function($,Y,z){this._pending++,Y=X9.defaults(Y,{stat:!0,pattern:$});function U(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();var G=Object.assign({},z);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}var I=hZ0(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",U.bind(this)),this};a1.prototype.finalize=function(){if(this._state.aborted){var $=new U6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new U6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var z=this;return new Promise(function(U,Q){var J;z._module.on("end",function(){if(!J)U()}),z._module.on("error",function(I){J=!0,Q(I)})})};a1.prototype.setFormat=function($){if(this._format)return this.emit("error",new U6("FORMATSET")),this;return this._format=$,this};a1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new U6("ABORTED")),this;if(this._state.module)return this.emit("error",new U6("MODULESET")),this;return this._module=$,this._modulePipe(),this};a1.prototype.symlink=function($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new U6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new U6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new U6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var U={};if(U.type="symlink",U.name=$.replace(/\\/g,"/"),U.linkname=Y.replace(/\\/g,"/"),U.sourceType="buffer",typeof z==="number")U.mode=z;return this._entriesCount++,this._queue.push({data:U,source:Buffer.concat([])}),this};a1.prototype.pointer=function(){return this._pointer};a1.prototype.use=function($){return this._streams.push($),this};gZ0.exports=a1});var aD=E((ao1,kZ0)=>{var sD=kZ0.exports=function(){};sD.prototype.getName=function(){};sD.prototype.getSize=function(){};sD.prototype.getLastModifiedDate=function(){};sD.prototype.isDirectory=function(){}});var tD=E((to1,xZ0)=>{var g$=xZ0.exports={};g$.dateToDos=function($,Y){Y=Y||!1;var z=Y?$.getFullYear():$.getUTCFullYear();if(z<1980)return 2162688;else if(z>=2044)return 2141175677;var U={year:z,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return U.year-1980<<25|U.month+1<<21|U.date<<16|U.hours<<11|U.minutes<<5|U.seconds/2};g$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};g$.fromDosTime=function($){return g$.dosToDate($.readUInt32LE(0))};g$.getEightBytes=function($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y};g$.getShortBytes=function($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y};g$.getShortBytesValue=function($,Y){return $.readUInt16LE(Y)};g$.getLongBytes=function($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y};g$.getLongBytesValue=function($,Y){return $.readUInt32LE(Y)};g$.toDosTime=function($){return g$.getLongBytes(g$.dateToDos($))}});var Sb=E((eo1,nZ0)=>{var fZ0=tD(),uZ0=8,bZ0=1,KW1=4,GW1=2,iZ0=64,cZ0=2048,t6=nZ0.exports=function(){if(!(this instanceof t6))return new t6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};t6.prototype.encode=function(){return fZ0.getShortBytes((this.descriptor?uZ0:0)|(this.utf8?cZ0:0)|(this.encryption?bZ0:0)|(this.strongEncryption?iZ0:0))};t6.prototype.parse=function($,Y){var z=fZ0.getShortBytesValue($,Y),U=new t6;return U.useDataDescriptor((z&uZ0)!==0),U.useUTF8ForNames((z&cZ0)!==0),U.useStrongEncryption((z&iZ0)!==0),U.useEncryption((z&bZ0)!==0),U.setSlidingDictionarySize((z&GW1)!==0?8192:4096),U.setNumberOfShannonFanoTrees((z&KW1)!==0?3:2),U};t6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};t6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};t6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};t6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};t6.prototype.useDataDescriptor=function($){this.descriptor=$};t6.prototype.usesDataDescriptor=function(){return this.descriptor};t6.prototype.useEncryption=function($){this.encryption=$};t6.prototype.usesEncryption=function(){return this.encryption};t6.prototype.useStrongEncryption=function($){this.strongEncryption=$};t6.prototype.usesStrongEncryption=function(){return this.strongEncryption};t6.prototype.useUTF8ForNames=function($){this.utf8=$};t6.prototype.usesUTF8ForNames=function(){return this.utf8}});var dZ0=E(($r1,pZ0)=>{pZ0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var gb=E((Yr1,mZ0)=>{mZ0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var yb=E((zr1,aZ0)=>{var WW1=I0("util").inherits,HW1=jz(),oZ0=aD(),rZ0=Sb(),lZ0=dZ0(),_8=gb(),sZ0=tD(),R1=aZ0.exports=function($){if(!(this instanceof R1))return new R1($);if(oZ0.call(this),this.platform=_8.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new rZ0,this.crc=0,this.time=-1,this.minver=_8.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};WW1(R1,oZ0);R1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};R1.prototype.getComment=function(){return this.comment!==null?this.comment:""};R1.prototype.getCompressedSize=function(){return this.csize};R1.prototype.getCrc=function(){return this.crc};R1.prototype.getExternalAttributes=function(){return this.exattr};R1.prototype.getExtra=function(){return this.extra!==null?this.extra:_8.EMPTY};R1.prototype.getGeneralPurposeBit=function(){return this.gpb};R1.prototype.getInternalAttributes=function(){return this.inattr};R1.prototype.getLastModifiedDate=function(){return this.getTime()};R1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};R1.prototype.getMethod=function(){return this.method};R1.prototype.getName=function(){return this.name};R1.prototype.getPlatform=function(){return this.platform};R1.prototype.getSize=function(){return this.size};R1.prototype.getTime=function(){return this.time!==-1?sZ0.dosToDate(this.time):-1};R1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};R1.prototype.getUnixMode=function(){return this.platform!==_8.PLATFORM_UNIX?0:this.getExternalAttributes()>>_8.SHORT_SHIFT&_8.SHORT_MASK};R1.prototype.getVersionNeededToExtract=function(){return this.minver};R1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};R1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};R1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};R1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};R1.prototype.setExtra=function($){this.extra=$};R1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof rZ0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};R1.prototype.setInternalAttributes=function($){this.inattr=$};R1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};R1.prototype.setName=function($,Y=!1){if($=HW1($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};R1.prototype.setPlatform=function($){this.platform=$};R1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};R1.prototype.setTime=function($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=sZ0.dateToDos($,Y)};R1.prototype.setUnixMode=function($){$|=this.isDirectory()?_8.S_IFDIR:_8.S_IFREG;var Y=0;Y|=$<<_8.SHORT_SHIFT|(this.isDirectory()?_8.S_DOS_D:_8.S_DOS_A),this.setExternalAttributes(Y),this.mode=$&_8.MODE_MASK,this.platform=_8.PLATFORM_UNIX};R1.prototype.setVersionNeededToExtract=function($){this.minver=$};R1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};R1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&lZ0.FILE_TYPE_FLAG)===lZ0.LINK_FLAG};R1.prototype.isZip64=function(){return this.csize>_8.ZIP64_MAGIC||this.size>_8.ZIP64_MAGIC}});var xb=E((Ur1,tZ0)=>{var XW1=I0("stream").Stream,ZW1=E8().PassThrough,kb=tZ0.exports={};kb.isStream=function($){return $ instanceof XW1};kb.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(kb.isStream($)&&!$._readableState){var Y=new ZW1;return $.pipe(Y),Y}return $}});var ub=E((Qr1,$q0)=>{var qW1=I0("util").inherits,fb=E8().Transform,VW1=aD(),eZ0=xb(),Z$=$q0.exports=function($){if(!(this instanceof Z$))return new Z$($);fb.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};qW1(Z$,fb);Z$.prototype._appendBuffer=function($,Y,z){};Z$.prototype._appendStream=function($,Y,z){};Z$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};Z$.prototype._finish=function($){};Z$.prototype._normalizeEntry=function($){};Z$.prototype._transform=function($,Y,z){z(null,$)};Z$.prototype.entry=function($,Y,z){if(Y=Y||null,typeof z!=="function")z=this._emitErrorCallback.bind(this);if(!($ instanceof VW1)){z(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){z(Error("unacceptable entry after finish"));return}if(this._archive.processing){z(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=eZ0.normalizeInputSource(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,z);else if(eZ0.isStream(Y))this._appendStream($,Y,z);else{this._archive.processing=!1,z(Error("input source must be valid Stream or Buffer instance"));return}return this};Z$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Z$.prototype.getBytesWritten=function(){return this.offset};Z$.prototype.write=function($,Y){if($)this.offset+=$.length;return fb.prototype.write.call(this,$,Y)}});var nb=E((Jr1,zq0)=>{var V2=I0("buffer").Buffer,bb=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")bb=new Int32Array(bb);function Yq0($){if(V2.isBuffer($))return $;var Y=typeof V2.alloc==="function"&&typeof V2.from==="function";if(typeof $==="number")return Y?V2.alloc($):new V2($);else if(typeof $==="string")return Y?V2.from($):new V2($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function LW1($){var Y=Yq0(4);return Y.writeInt32BE($,0),Y}function ib($,Y){if($=Yq0($),V2.isBuffer(Y))Y=Y.readUInt32BE(0);var z=~~Y^-1;for(var U=0;U<$.length;U++)z=bb[(z^$[U])&255]^z>>>8;return z^-1}function cb(){return LW1(ib.apply(null,arguments))}cb.signed=function(){return ib.apply(null,arguments)};cb.unsigned=function(){return ib.apply(null,arguments)>>>0};zq0.exports=cb});var wI=E((pb)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var Uq0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof pb==="object")$(pb);else if(typeof define==="function"&&define.amd)define(function(){var Y={};return $(Y),Y});else $(Uq0={});else $(Uq0={})})(function($){$.version="1.2.2";function Y(){var B=0,j=Array(256);for(var C=0;C!=256;++C)B=C,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,j[C]=B;return typeof Int32Array<"u"?new Int32Array(j):j}var z=Y();function U(B){var j=0,C=0,b=0,k=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(b=0;b!=256;++b)k[b]=B[b];for(b=0;b!=256;++b){C=B[b];for(j=256+b;j<4096;j+=256)C=k[j]=C>>>8^B[C&255]}var h=[];for(b=1;b!=16;++b)h[b-1]=typeof Int32Array<"u"?k.subarray(b*256,b*256+256):k.slice(b*256,b*256+256);return h}var Q=U(z),J=Q[0],I=Q[1],K=Q[2],G=Q[3],W=Q[4],H=Q[5],X=Q[6],Z=Q[7],q=Q[8],V=Q[9],F=Q[10],M=Q[11],w=Q[12],O=Q[13],D=Q[14];function N(B,j){var C=j^-1;for(var b=0,k=B.length;b>>8^z[(C^B.charCodeAt(b++))&255];return~C}function A(B,j){var C=j^-1,b=B.length-15,k=0;for(;k>8&255]^w[B[k++]^C>>16&255]^M[B[k++]^C>>>24]^F[B[k++]]^V[B[k++]]^q[B[k++]]^Z[B[k++]]^X[B[k++]]^H[B[k++]]^W[B[k++]]^G[B[k++]]^K[B[k++]]^I[B[k++]]^J[B[k++]]^z[B[k++]];b+=15;while(k>>8^z[(C^B[k++])&255];return~C}function T(B,j){var C=j^-1;for(var b=0,k=B.length,h=0,i=0;b>>8^z[(C^h)&255];else if(h<2048)C=C>>>8^z[(C^(192|h>>6&31))&255],C=C>>>8^z[(C^(128|h&63))&255];else if(h>=55296&&h<57344)h=(h&1023)+64,i=B.charCodeAt(b++)&1023,C=C>>>8^z[(C^(240|h>>8&7))&255],C=C>>>8^z[(C^(128|h>>2&63))&255],C=C>>>8^z[(C^(128|i>>6&15|(h&3)<<4))&255],C=C>>>8^z[(C^(128|i&63))&255];else C=C>>>8^z[(C^(224|h>>12&15))&255],C=C>>>8^z[(C^(128|h>>6&63))&255],C=C>>>8^z[(C^(128|h&63))&255];return~C}$.table=z,$.bstr=N,$.buf=A,$.str=T})});var Iq0=E((Kr1,Jq0)=>{var{Transform:FW1}=E8(),wW1=wI();class Qq0 extends FW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,z){if($)this.checksum=wW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;z(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}Jq0.exports=Qq0});var Wq0=E((Gr1,Gq0)=>{var{DeflateRaw:MW1}=I0("zlib"),OW1=wI();class Kq0 extends MW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,z){if($)this.checksum=OW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,z)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}Gq0.exports=Kq0});var db=E((Wr1,Hq0)=>{Hq0.exports={CRC32Stream:Iq0(),DeflateCRC32Stream:Wq0()}});var qq0=E((qr1,Zq0)=>{var NW1=I0("util").inherits,DW1=nb(),{CRC32Stream:BW1}=db(),{DeflateCRC32Stream:PW1}=db(),Xq0=ub(),Hr1=yb(),Xr1=Sb(),O1=gb(),Zr1=xb(),K1=tD(),g6=Zq0.exports=function($){if(!(this instanceof g6))return new g6($);$=this.options=this._defaults($),Xq0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};NW1(g6,Xq0);g6.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};g6.prototype._appendBuffer=function($,Y,z){if(Y.length===0)$.setMethod(O1.METHOD_STORED);var U=$.getMethod();if(U===O1.METHOD_STORED)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(DW1.unsigned(Y));if(this._writeLocalFileHeader($),U===O1.METHOD_STORED){this.write(Y),this._afterAppend($),z(null,$);return}else if(U===O1.METHOD_DEFLATED){this._smartStream($,z).end(Y);return}else{z(Error("compression method "+U+" not implemented"));return}};g6.prototype._appendStream=function($,Y,z){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var U=this._smartStream($,z);Y.once("error",function(Q){U.emit("error",Q),U.end()}),Y.pipe(U)};g6.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=O1.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};g6.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};g6.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(O1.METHOD_DEFLATED);if($.getMethod()===O1.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};g6.prototype._smartStream=function($,Y){var z=$.getMethod()===O1.METHOD_DEFLATED,U=z?new PW1(this.options.zlib):new BW1,Q=null;function J(){var I=U.digest().readUInt32BE(0);$.setCrc(I),$.setSize(U.size()),$.setCompressedSize(U.size(!0)),this._afterAppend($),Y(Q,$)}return U.once("end",J.bind(this)),U.once("error",function(I){Q=I}),U.pipe(this,{end:!1}),U};g6.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,Y=this._archive.centralLength,z=this._archive.centralOffset;if(this.isZip64())$=O1.ZIP64_MAGIC_SHORT,Y=O1.ZIP64_MAGIC,z=O1.ZIP64_MAGIC;this.write(K1.getLongBytes(O1.SIG_EOCD)),this.write(O1.SHORT_ZERO),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($)),this.write(K1.getShortBytes($)),this.write(K1.getLongBytes(Y)),this.write(K1.getLongBytes(z));var U=this.getComment(),Q=Buffer.byteLength(U);this.write(K1.getShortBytes(Q)),this.write(U)};g6.prototype._writeCentralDirectoryZip64=function(){this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD)),this.write(K1.getEightBytes(44)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._archive.centralLength)),this.write(K1.getEightBytes(this._archive.centralOffset)),this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD_LOC)),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(K1.getLongBytes(1))};g6.prototype._writeCentralFileHeader=function($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$._offsets,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||U.file>O1.ZIP64_MAGIC){Q=O1.ZIP64_MAGIC,J=O1.ZIP64_MAGIC,$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);var I=Buffer.concat([K1.getShortBytes(O1.ZIP64_EXTRA_ID),K1.getShortBytes(24),K1.getEightBytes($.getSize()),K1.getEightBytes($.getCompressedSize()),K1.getEightBytes(U.file)],28);$.setExtra(I)}this.write(K1.getLongBytes(O1.SIG_CFH)),this.write(K1.getShortBytes($.getPlatform()<<8|O1.VERSION_MADEBY)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(z)),this.write(K1.getLongBytes($.getTimeDos())),this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes(J)),this.write(K1.getLongBytes(Q));var K=$.getName(),G=$.getComment(),W=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);if(this.write(K1.getShortBytes(K.length)),this.write(K1.getShortBytes(W.length)),this.write(K1.getShortBytes(G.length)),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($.getInternalAttributes())),this.write(K1.getLongBytes($.getExternalAttributes())),U.file>O1.ZIP64_MAGIC)this.write(K1.getLongBytes(O1.ZIP64_MAGIC));else this.write(K1.getLongBytes(U.file));this.write(K),this.write(W),this.write(G)};g6.prototype._writeDataDescriptor=function($){if(this.write(K1.getLongBytes(O1.SIG_DD)),this.write(K1.getLongBytes($.getCrc())),$.isZip64())this.write(K1.getEightBytes($.getCompressedSize())),this.write(K1.getEightBytes($.getSize()));else this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()))};g6.prototype._writeLocalFileHeader=function($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);if(Y.usesUTF8ForNames())U=Buffer.from(U);if($._offsets.file=this.offset,this.write(K1.getLongBytes(O1.SIG_LFH)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(z)),this.write(K1.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO);else this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()));this.write(K1.getShortBytes(U.length)),this.write(K1.getShortBytes(Q.length)),this.write(U),this.write(Q),$._offsets.contents=this.offset};g6.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};g6.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>O1.ZIP64_MAGIC_SHORT||this._archive.centralLength>O1.ZIP64_MAGIC||this._archive.centralOffset>O1.ZIP64_MAGIC};g6.prototype.setComment=function($){this._archive.comment=$}});var mb=E((Vr1,Vq0)=>{Vq0.exports={ArchiveEntry:aD(),ZipArchiveEntry:yb(),ArchiveOutputStream:ub(),ZipArchiveOutputStream:qq0()}});var Mq0=E((Lr1,wq0)=>{var Fq0=l8(),MI=I0("path"),lb=ou(),AW1=$b(),TW1=Ib(),jW1=Kb(),EW1=MX(),xz=wq0.exports={},Lq0=/[\/\\]/g,CW1=function($,Y){var z=[];return lb($).forEach(function(U){var Q=U.indexOf("!")===0;if(Q)U=U.slice(1);var J=Y(U);if(Q)z=AW1(z,J);else z=TW1(z,J)}),z};xz.exists=function(){var $=MI.join.apply(MI,arguments);return Fq0.existsSync($)};xz.expand=function(...$){var Y=jW1($[0])?$.shift():{},z=Array.isArray($[0])?$[0]:$;if(z.length===0)return[];var U=CW1(z,function(Q){return EW1.sync(Q,Y)});if(Y.filter)U=U.filter(function(Q){Q=MI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return Fq0.statSync(Q)[Y.filter]()}catch(J){return!1}});return U};xz.expandMapping=function($,Y,z){z=Object.assign({rename:function(J,I){return MI.join(J||"",I)}},z);var U=[],Q={};return xz.expand(z,$).forEach(function(J){var I=J;if(z.flatten)I=MI.basename(I);if(z.ext)I=I.replace(/(\.[^\/]*)?$/,z.ext);var K=z.rename(Y,I,z);if(z.cwd)J=MI.join(z.cwd,J);if(K=K.replace(Lq0,"/"),J=J.replace(Lq0,"/"),Q[K])Q[K].src.push(J);else U.push({src:[J],dest:K}),Q[K]=U[U.length-1]}),U};xz.normalizeFilesArray=function($){var Y=[];if($.forEach(function(z){var U;if("src"in z||"dest"in z)Y.push(z)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(z){if(!("src"in z)||!z.src)return;if(Array.isArray(z.src))z.src=lb(z.src);else z.src=[z.src]}).map(function(z){var U=Object.assign({},z);if(delete U.src,delete U.dest,z.expand)return xz.expandMapping(z.src,z.dest,U).map(function(J){var I=Object.assign({},z);return I.orig=Object.assign({},z),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},z);if(Q.orig=Object.assign({},z),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=z.src,I=Array.isArray(I)?lb(I):[I],J.result=xz.expand(U,I);return J.result}});if("dest"in Q)Q.dest=z.dest;return Q}).flatten().value(),Y}});var Bq0=E((Fr1,Dq0)=>{var ob=l8(),Oq0=I0("path"),RW1=AD(),Nq0=jz(),_W1=_u(),vW1=I0("stream").Stream,hW1=E8().PassThrough,q$=Dq0.exports={};q$.file=Mq0();q$.collectStream=function($,Y){var z=[],U=0;$.on("error",Y),$.on("data",function(Q){z.push(Q),U+=Q.length}),$.on("end",function(){var Q=Buffer.alloc(U),J=0;z.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};q$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};q$.defaults=function($,Y,z){var U=arguments;return U[0]=U[0]||{},_W1(...U)};q$.isStream=function($){return $ instanceof vW1};q$.lazyReadStream=function($){return new RW1.Readable(function(){return ob.createReadStream($)})};q$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(q$.isStream($))return $.pipe(new hW1);return $};q$.sanitizePath=function($){return Nq0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};q$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};q$.unixifyPath=function($){return Nq0($,!1).replace(/^\w+:/,"")};q$.walkdir=function($,Y,z){var U=[];if(typeof Y==="function")z=Y,Y=$;ob.readdir($,function(Q,J){var I=0,K,G;if(Q)return z(Q);(function W(){if(K=J[I++],!K)return z(null,U);G=Oq0.join($,K),ob.stat(G,function(H,X){if(U.push({path:G,relative:Oq0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())q$.walkdir(G,Y,function(Z,q){q.forEach(function(V){U.push(V)}),W()});else W()})})()})}});var Aq0=E((wr1,Pq0)=>{var SW1=I0("util").inherits,sb=mb().ZipArchiveOutputStream,gW1=mb().ZipArchiveEntry,rb=Bq0(),OI=Pq0.exports=function($){if(!(this instanceof OI))return new OI($);if($=this.options=$||{},$.zlib=$.zlib||{},sb.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};SW1(OI,sb);OI.prototype._normalizeFileData=function($){$=rb.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var Y=$.type==="directory",z=$.type==="symlink";if($.name){if($.name=rb.sanitizePath($.name),!z&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||z)$.store=!0;return $.date=rb.dateify($.date),$};OI.prototype.entry=function($,Y,z){if(typeof z!=="function")z=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){z(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){z(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){z(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var U=new gW1(Y.name);if(U.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)U.setName(Y.name,!0);if(Y.store)U.setMethod(0);if(Y.comment.length>0)U.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;U.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return sb.prototype.entry.call(this,U,$,z)};OI.prototype.finalize=function(){this.finish()}});var jq0=E((Mr1,Tq0)=>{var yW1=Aq0(),kW1=DX(),L2=function($){if(!(this instanceof L2))return new L2($);$=this.options=kW1.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new yW1($)};L2.prototype.append=function($,Y,z){this.engine.entry($,Y,z)};L2.prototype.finalize=function(){this.engine.finalize()};L2.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};L2.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};L2.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};Tq0.exports=L2});var hq0=E((Or1,vq0)=>{function Eq0($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function Cq0($){for(var Y=1;Y0)this.tail.next=U;else this.head=U;this.tail=U,++this.length}},{key:"unshift",value:function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q}},{key:"concat",value:function(z){if(this.length===0)return eD.alloc(0);var U=eD.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)pW1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U}},{key:"consume",value:function(z,U){var Q;if(zI.length?I.length:z;if(K===I.length)J+=I;else J+=I.slice(0,z);if(z-=K,z===0){if(K===I.length)if(++Q,U.next)this.head=U.next;else this.head=this.tail=null;else this.head=U,U.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(z){var U=eD.allocUnsafe(z),Q=this.head,J=1;Q.data.copy(U),z-=Q.data.length;while(Q=Q.next){var I=Q.data,K=z>I.length?I.length:z;if(I.copy(U,U.length-z,0,K),z-=K,z===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,U}},{key:nW1,value:function(z,U){return ab(this,Cq0(Cq0({},U),{},{depth:0,customInspect:!1}))}}]),$}()});var eb=E((Nr1,gq0)=>{function dW1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(tb,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(tb,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!z._writableState)process.nextTick(Sq0,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,process.nextTick(Sq0,z,J);else process.nextTick($B,z);else if(Y)process.nextTick($B,z),Y(J);else process.nextTick($B,z)}),this}function Sq0($,Y){tb($,Y),$B($)}function $B($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function mW1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function tb($,Y){$.emit("error",Y)}function lW1($,Y){var{_readableState:z,_writableState:U}=$;if(z&&z.autoDestroy||U&&U.autoDestroy)$.destroy(Y);else $.emit("error",Y)}gq0.exports={destroy:dW1,undestroy:mW1,errorOrDestroy:lW1}});var F2=E((aW1,xq0)=>{var kq0={};function y$($,Y,z){if(!z)z=Error;function U(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends z{constructor(J,I,K){super(U(J,I,K))}}Q.prototype.name=z.name,Q.prototype.code=$,kq0[$]=Q}function yq0($,Y){if(Array.isArray($)){let z=$.length;if($=$.map((U)=>String(U)),z>2)return`one of ${Y} ${$.slice(0,z-1).join(", ")}, or `+$[z-1];else if(z===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function oW1($,Y,z){return $.substr(!z||z<0?0:+z,Y.length)===Y}function rW1($,Y,z){if(z===void 0||z>$.length)z=$.length;return $.substring(z-Y.length,z)===Y}function sW1($,Y,z){if(typeof z!=="number")z=0;if(z+Y.length>$.length)return!1;else return $.indexOf(Y,z)!==-1}y$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);y$("ERR_INVALID_ARG_TYPE",function($,Y,z){let U;if(typeof Y==="string"&&oW1(Y,"not "))U="must not be",Y=Y.replace(/^not /,"");else U="must be";let Q;if(rW1($," argument"))Q=`The ${$} ${U} ${yq0(Y,"type")}`;else{let J=sW1($,".")?"property":"argument";Q=`The "${$}" ${J} ${U} ${yq0(Y,"type")}`}return Q+=`. Received type ${typeof z}`,Q},TypeError);y$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");y$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});y$("ERR_STREAM_PREMATURE_CLOSE","Premature close");y$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});y$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");y$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");y$("ERR_STREAM_WRITE_AFTER_END","write after end");y$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);y$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);y$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");aW1.codes=kq0});var $i=E((Dr1,fq0)=>{var eW1=F2().codes.ERR_INVALID_OPT_VALUE;function $H1($,Y,z){return $.highWaterMark!=null?$.highWaterMark:Y?$[z]:null}function YH1($,Y,z,U){var Q=$H1(Y,U,z);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=U?z:"highWaterMark";throw new eW1(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}fq0.exports={getHighWaterMark:YH1}});var Ui=E((Br1,pq0)=>{pq0.exports=Q6;function bq0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){CH1(Y,$)}}var NI;Q6.WritableState=PX;var zH1={deprecate:S3()},iq0=I0("stream"),zB=I0("buffer").Buffer,UH1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function QH1($){return zB.from($)}function JH1($){return zB.isBuffer($)||$ instanceof UH1}var zi=eb(),IH1=$i(),KH1=IH1.getHighWaterMark,w2=F2().codes,GH1=w2.ERR_INVALID_ARG_TYPE,WH1=w2.ERR_METHOD_NOT_IMPLEMENTED,HH1=w2.ERR_MULTIPLE_CALLBACK,XH1=w2.ERR_STREAM_CANNOT_PIPE,ZH1=w2.ERR_STREAM_DESTROYED,qH1=w2.ERR_STREAM_NULL_VALUES,VH1=w2.ERR_STREAM_WRITE_AFTER_END,LH1=w2.ERR_UNKNOWN_ENCODING,DI=zi.errorOrDestroy;X1()(Q6,iq0);function FH1(){}function PX($,Y,z){if(NI=NI||fz(),$=$||{},typeof z!=="boolean")z=Y instanceof NI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=KH1(this,$,"writableHighWaterMark",z),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var U=$.decodeStrings===!1;this.decodeStrings=!U,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){PH1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new bq0(this)}PX.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(PX.prototype,"buffer",{get:zH1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var YB;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")YB=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q6,Symbol.hasInstance,{value:function(Y){if(YB.call(this,Y))return!0;if(this!==Q6)return!1;return Y&&Y._writableState instanceof PX}});else YB=function(Y){return Y instanceof this};function Q6($){NI=NI||fz();var Y=this instanceof NI;if(!Y&&!YB.call(Q6,this))return new Q6($);if(this._writableState=new PX($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}iq0.call(this)}Q6.prototype.pipe=function(){DI(this,new XH1)};function wH1($,Y){var z=new VH1;DI($,z),process.nextTick(Y,z)}function MH1($,Y,z,U){var Q;if(z===null)Q=new qH1;else if(typeof z!=="string"&&!Y.objectMode)Q=new GH1("chunk",["string","Buffer"],z);if(Q)return DI($,Q),process.nextTick(U,Q),!1;return!0}Q6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&JH1($);if(J&&!zB.isBuffer($))$=QH1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=FH1;if(U.ending)wH1(this,z);else if(J||MH1(this,U,$,z))U.pendingcb++,Q=NH1(this,U,J,$,Y,z);return Q};Q6.prototype.cork=function(){this._writableState.corked++};Q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)cq0(this,$)}};Q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new LH1(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(Q6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function OH1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=zB.from(Y,z);return Y}Object.defineProperty(Q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function NH1($,Y,z,U,Q,J){if(!z){var I=OH1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var RH1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};mq0.exports=Z9;var dq0=Ji(),Qi=Ui();X1()(Z9,dq0);{UB=RH1(Qi.prototype);for(AX=0;AX{var lq0=F2().codes.ERR_STREAM_PREMATURE_CLOSE;function hH1($){var Y=!1;return function(){if(Y)return;Y=!0;for(var z=arguments.length,U=Array(z),Q=0;Q{var JB;function M2($,Y,z){if(Y=yH1(Y),Y in $)Object.defineProperty($,Y,{value:z,enumerable:!0,configurable:!0,writable:!0});else $[Y]=z;return $}function yH1($){var Y=kH1($,"string");return typeof Y==="symbol"?Y:String(Y)}function kH1($,Y){if(typeof $!=="object"||$===null)return $;var z=$[Symbol.toPrimitive];if(z!==void 0){var U=z.call($,Y||"default");if(typeof U!=="object")return U;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var xH1=QB(),O2=Symbol("lastResolve"),uz=Symbol("lastReject"),jX=Symbol("error"),IB=Symbol("ended"),bz=Symbol("lastPromise"),Ii=Symbol("handlePromise"),iz=Symbol("stream");function N2($,Y){return{value:$,done:Y}}function fH1($){var Y=$[O2];if(Y!==null){var z=$[iz].read();if(z!==null)$[bz]=null,$[O2]=null,$[uz]=null,Y(N2(z,!1))}}function uH1($){process.nextTick(fH1,$)}function bH1($,Y){return function(z,U){$.then(function(){if(Y[IB]){z(N2(void 0,!0));return}Y[Ii](z,U)},U)}}var iH1=Object.getPrototypeOf(function(){}),cH1=Object.setPrototypeOf((JB={get stream(){return this[iz]},next:function(){var Y=this,z=this[jX];if(z!==null)return Promise.reject(z);if(this[IB])return Promise.resolve(N2(void 0,!0));if(this[iz].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[jX])K(Y[jX]);else I(N2(void 0,!0))})});var U=this[bz],Q;if(U)Q=new Promise(bH1(U,this));else{var J=this[iz].read();if(J!==null)return Promise.resolve(N2(J,!1));Q=new Promise(this[Ii])}return this[bz]=Q,Q}},M2(JB,Symbol.asyncIterator,function(){return this}),M2(JB,"return",function(){var Y=this;return new Promise(function(z,U){Y[iz].destroy(null,function(Q){if(Q){U(Q);return}z(N2(void 0,!0))})})}),JB),iH1),nH1=function(Y){var z,U=Object.create(cH1,(z={},M2(z,iz,{value:Y,writable:!0}),M2(z,O2,{value:null,writable:!0}),M2(z,uz,{value:null,writable:!0}),M2(z,jX,{value:null,writable:!0}),M2(z,IB,{value:Y._readableState.endEmitted,writable:!0}),M2(z,Ii,{value:function(J,I){var K=U[iz].read();if(K)U[bz]=null,U[O2]=null,U[uz]=null,J(N2(K,!1));else U[O2]=J,U[uz]=I},writable:!0}),z));return U[bz]=null,xH1(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=U[uz];if(J!==null)U[bz]=null,U[O2]=null,U[uz]=null,J(Q);U[jX]=Q;return}var I=U[O2];if(I!==null)U[bz]=null,U[O2]=null,U[uz]=null,I(N2(void 0,!0));U[IB]=!0}),Y.on("readable",uH1.bind(null,U)),U};sq0.exports=nH1});var YV0=E((jr1,$V0)=>{function tq0($,Y,z,U,Q,J,I){try{var K=$[J](I),G=K.value}catch(W){z(W);return}if(K.done)Y(G);else Promise.resolve(G).then(U,Q)}function pH1($){return function(){var Y=this,z=arguments;return new Promise(function(U,Q){var J=$.apply(Y,z);function I(G){tq0(J,U,Q,I,K,"next",G)}function K(G){tq0(J,U,Q,I,K,"throw",G)}I(void 0)})}}function eq0($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function dH1($){for(var Y=1;Y{XV0.exports=d1;var BI;d1.ReadableState=JV0;var Er1=I0("events").EventEmitter,QV0=function(Y,z){return Y.listeners(z).length},CX=I0("stream"),KB=I0("buffer").Buffer,aH1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tH1($){return KB.from($)}function eH1($){return KB.isBuffer($)||$ instanceof aH1}var Ki=I0("util"),_1;if(Ki&&Ki.debuglog)_1=Ki.debuglog("stream");else _1=function(){};var $X1=hq0(),Vi=eb(),YX1=$i(),zX1=YX1.getHighWaterMark,GB=F2().codes,UX1=GB.ERR_INVALID_ARG_TYPE,QX1=GB.ERR_STREAM_PUSH_AFTER_EOF,JX1=GB.ERR_METHOD_NOT_IMPLEMENTED,IX1=GB.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,PI,Gi,Wi;X1()(d1,CX);var EX=Vi.errorOrDestroy,Hi=["error","close","destroy","pause","resume"];function KX1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(Array.isArray($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function JV0($,Y,z){if(BI=BI||fz(),$=$||{},typeof z!=="boolean")z=Y instanceof BI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=zX1(this,$,"readableHighWaterMark",z),this.buffer=new $X1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!PI)PI=NJ().StringDecoder;this.decoder=new PI($.encoding),this.encoding=$.encoding}}function d1($){if(BI=BI||fz(),!(this instanceof d1))return new d1($);var Y=this instanceof BI;if(this._readableState=new JV0($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}CX.call(this)}Object.defineProperty(d1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});d1.prototype.destroy=Vi.destroy;d1.prototype._undestroy=Vi.undestroy;d1.prototype._destroy=function($,Y){Y($)};d1.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=KB.from($,Y),Y="";U=!0}}else U=!0;return IV0(this,$,Y,!1,U)};d1.prototype.unshift=function($){return IV0(this,$,null,!0,!1)};function IV0($,Y,z,U,Q){_1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,HX1($,J);else{var I;if(!Q)I=GX1(J,Y);if(I)EX($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==KB.prototype)Y=tH1(Y);if(U)if(J.endEmitted)EX($,new IX1);else Xi($,J,Y,!0);else if(J.ended)EX($,new QX1);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Xi($,J,Y,!1);else qi($,J);else Xi($,J,Y,!1)}else if(!U)J.reading=!1,qi($,J)}return!J.ended&&(J.length=zV0)$=zV0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function UV0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=WX1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}d1.prototype.read=function($){_1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(_1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Zi(this);else WB(this);return null}if($=UV0($,Y),$===0&&Y.ended){if(Y.length===0)Zi(this);return null}var U=Y.needReadable;if(_1("need readable",U),Y.length===0||Y.length-$0)Q=WV0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Zi(this)}if(Q!==null)this.emit("data",Q);return Q};function HX1($,Y){if(_1("onEofChunk"),Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}if(Y.ended=!0,Y.sync)WB($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,KV0($)}function WB($){var Y=$._readableState;if(_1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)_1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(KV0,$)}function KV0($){var Y=$._readableState;if(_1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Li($)}function qi($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(XX1,$,Y)}function XX1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&HV0(U.pipes,$)!==-1)&&!W)_1("false write response, pause",U.awaitDrain),U.awaitDrain++;z.pause()}}function Z(M){if(_1("onerror",M),F(),$.removeListener("error",Z),QV0($,"error")===0)EX($,M)}KX1($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){_1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){_1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)_1("pipe resume"),z.resume();return $};function ZX1($){return function(){var z=$._readableState;if(_1("pipeOnDrain",z.awaitDrain),z.awaitDrain)z.awaitDrain--;if(z.awaitDrain===0&&QV0($,"data"))z.flowing=!0,Li($)}}d1.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,U.flowing!==!1)this.resume()}else if($==="readable"){if(!U.endEmitted&&!U.readableListening){if(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,_1("on readable",U.length,U.reading),U.length)WB(this);else if(!U.reading)process.nextTick(qX1,this)}}return z};d1.prototype.addListener=d1.prototype.on;d1.prototype.removeListener=function($,Y){var z=CX.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(GV0,this);return z};d1.prototype.removeAllListeners=function($){var Y=CX.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(GV0,this);return Y};function GV0($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function qX1($){_1("readable nexttick read 0"),$.read(0)}d1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)_1("resume"),$.flowing=!$.readableListening,VX1(this,$);return $.paused=!1,this};function VX1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(LX1,$,Y)}function LX1($,Y){if(_1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Li($),Y.flowing&&!Y.reading)$.read(0)}d1.prototype.pause=function(){if(_1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)_1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Li($){var Y=$._readableState;_1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}d1.prototype.wrap=function($){var Y=this,z=this._readableState,U=!1;$.on("end",function(){if(_1("wrapped end"),z.decoder&&!z.ended){var I=z.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(_1("wrapped data"),z.decoder)I=z.decoder.write(I);if(z.objectMode&&(I===null||I===void 0))return;else if(!z.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)U=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.first();else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=Y.buffer.consume($,Y.decoder);return z}function Zi($){var Y=$._readableState;if(_1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(FX1,Y,$)}function FX1($,Y){if(_1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var z=Y._writableState;if(!z||z.autoDestroy&&z.finished)Y.destroy()}}}if(typeof Symbol==="function")d1.from=function($,Y){if(Wi===void 0)Wi=YV0();return Wi(d1,$,Y)};function HV0($,Y){for(var z=0,U=$.length;z{qV0.exports=D7;var HB=F2().codes,wX1=HB.ERR_METHOD_NOT_IMPLEMENTED,MX1=HB.ERR_MULTIPLE_CALLBACK,OX1=HB.ERR_TRANSFORM_ALREADY_TRANSFORMING,NX1=HB.ERR_TRANSFORM_WITH_LENGTH_0,XB=fz();X1()(D7,XB);function DX1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(U===null)return this.emit("error",new MX1);if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{LV0.exports=RX;var VV0=Fi();X1()(RX,VV0);function RX($){if(!(this instanceof RX))return new RX($);VV0.call(this,$)}RX.prototype._transform=function($,Y,z){z(null,$)}});var DV0=E((vr1,NV0)=>{var wi;function PX1($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var OV0=F2().codes,AX1=OV0.ERR_MISSING_ARGS,TX1=OV0.ERR_STREAM_DESTROYED;function wV0($){if($)throw $}function jX1($){return $.setHeader&&typeof $.abort==="function"}function EX1($,Y,z,U){U=PX1(U);var Q=!1;if($.on("close",function(){Q=!0}),wi===void 0)wi=QB();wi($,{readable:Y,writable:z},function(I){if(I)return U(I);Q=!0,U()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,jX1($))return $.abort();if(typeof $.destroy==="function")return $.destroy();U(I||new TX1("pipe"))}}function MV0($){$()}function CX1($,Y){return $.pipe(Y)}function RX1($){if(!$.length)return wV0;if(typeof $[$.length-1]!=="function")return wV0;return $.pop()}function _X1(){for(var $=arguments.length,Y=Array($),z=0;z<$;z++)Y[z]=arguments[z];var U=RX1(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new AX1("streams");var Q,J=Y.map(function(I,K){var G=K0;return EX1(I,G,W,function(H){if(!Q)Q=H;if(H)J.forEach(MV0);if(G)return;J.forEach(MV0),U(Q)})});return Y.reduce(CX1)}NV0.exports=_X1});var BV0=E((k$,vX)=>{var _X=I0("stream");if(process.env.READABLE_STREAM==="disable"&&_X)vX.exports=_X.Readable,Object.assign(vX.exports,_X),vX.exports.Stream=_X;else k$=vX.exports=Ji(),k$.Stream=_X||k$,k$.Readable=k$,k$.Writable=Ui(),k$.Duplex=fz(),k$.Transform=Fi(),k$.PassThrough=FV0(),k$.finished=QB(),k$.pipeline=DV0()});var TV0=E((hr1,AV0)=>{var{Buffer:w5}=I0("buffer"),PV0=Symbol.for("BufferList");function N4($){if(!(this instanceof N4))return new N4($);N4._init.call(this,$)}N4._init=function(Y){if(Object.defineProperty(this,PV0,{value:!0}),this._bufs=[],this.length=0,Y)this.append(Y)};N4.prototype._new=function(Y){return new N4(Y)};N4.prototype._offset=function(Y){if(Y===0)return[0,0];let z=0;for(let U=0;Uthis.length||Y<0)return;let z=this._offset(Y);return this._bufs[z[0]][z[1]]};N4.prototype.slice=function(Y,z){if(typeof Y==="number"&&Y<0)Y+=this.length;if(typeof z==="number"&&z<0)z+=this.length;return this.copy(null,0,Y,z)};N4.prototype.copy=function(Y,z,U,Q){if(typeof U!=="number"||U<0)U=0;if(typeof Q!=="number"||Q>this.length)Q=this.length;if(U>=this.length)return Y||w5.alloc(0);if(Q<=0)return Y||w5.alloc(0);let J=!!Y,I=this._offset(U),K=Q-U,G=K,W=J&&z||0,H=I[1];if(U===0&&Q===this.length){if(!J)return this._bufs.length===1?this._bufs[0]:w5.concat(this._bufs,this.length);for(let X=0;XZ)this._bufs[X].copy(Y,W,H),W+=Z;else{this._bufs[X].copy(Y,W,H,H+G),W+=Z;break}if(G-=Z,H)H=0}if(Y.length>W)return Y.slice(0,W);return Y};N4.prototype.shallowSlice=function(Y,z){if(Y=Y||0,z=typeof z!=="number"?this.length:z,Y<0)Y+=this.length;if(z<0)z+=this.length;if(Y===z)return this._new();let U=this._offset(Y),Q=this._offset(z),J=this._bufs.slice(U[0],Q[0]+1);if(Q[1]===0)J.pop();else J[J.length-1]=J[J.length-1].slice(0,Q[1]);if(U[1]!==0)J[0]=J[0].slice(U[1]);return this._new(J)};N4.prototype.toString=function(Y,z,U){return this.slice(z,U).toString(Y)};N4.prototype.consume=function(Y){if(Y=Math.trunc(Y),Number.isNaN(Y)||Y<=0)return this;while(this._bufs.length)if(Y>=this._bufs[0].length)Y-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(Y),this.length-=Y;break}return this};N4.prototype.duplicate=function(){let Y=this._new();for(let z=0;zthis.length?this.length:Y;let U=this._offset(Y),Q=U[0],J=U[1];for(;Q=$.length){let G=I.indexOf($,J);if(G!==-1)return this._reverseOffset([Q,G]);J=I.length-$.length+1}else{let G=this._reverseOffset([Q,J]);if(this._match(G,$))return G;J++}J=0}return-1};N4.prototype._match=function($,Y){if(this.length-${var Mi=BV0().Duplex,vX1=X1(),hX=TV0();function V8($){if(!(this instanceof V8))return new V8($);if(typeof $==="function"){this._callback=$;let Y=function(U){if(this._callback)this._callback(U),this._callback=null}.bind(this);this.on("pipe",function(U){U.on("error",Y)}),this.on("unpipe",function(U){U.removeListener("error",Y)}),$=null}hX._init.call(this,$),Mi.call(this)}vX1(V8,Mi);Object.assign(V8.prototype,hX.prototype);V8.prototype._new=function(Y){return new V8(Y)};V8.prototype._write=function(Y,z,U){if(this._appendBuffer(Y),typeof U==="function")U()};V8.prototype._read=function(Y){if(!this.length)return this.push(null);Y=Math.min(Y,this.length),this.push(this.slice(0,Y)),this.consume(Y)};V8.prototype.end=function(Y){if(Mi.prototype.end.call(this,Y),this._callback)this._callback(null,this.slice()),this._callback=null};V8.prototype._destroy=function(Y,z){this._bufs.length=0,this.length=0,z(Y)};V8.prototype._isBufferList=function(Y){return Y instanceof V8||Y instanceof hX||V8.isBufferList(Y)};V8.isBufferList=hX.isBufferList;ZB.exports=V8;ZB.exports.BufferListStream=V8;ZB.exports.BufferList=hX});var Di=E((nX1)=>{var hX1=Buffer.alloc,SX1="0000000000000000000",gX1="7777777777777777777",EV0=48,CV0=Buffer.from("ustar\x00","binary"),yX1=Buffer.from("00","binary"),kX1=Buffer.from("ustar ","binary"),xX1=Buffer.from(" \x00","binary"),fX1=parseInt("7777",8),SX=257,Ni=263,uX1=function($,Y,z){if(typeof $!=="number")return z;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0},bX1=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},iX1=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},RV0=function($,Y,z,U){for(;zY)return gX1.slice(0,Y)+" ";else return SX1.slice(0,Y-$.length)+$+" "};function cX1($){var Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;var z=[];for(var U=$.length-1;U>0;U--){var Q=$[U];if(Y)z.push(Q);else z.push(255-Q)}var J=0,I=z.length;for(U=0;U=Math.pow(10,z))z++;return Y+z+$};nX1.decodeLongPath=function($,Y){return AI($,0,$.length,Y)};nX1.encodePax=function($){var Y="";if($.name)Y+=Oi(" path="+$.name+` -`);if($.linkname)Y+=Oi(" linkpath="+$.linkname+` -`);var z=$.pax;if(z)for(var U in z)Y+=Oi(" "+U+"="+z[U]+` -`);return Buffer.from(Y)};nX1.decodePax=function($){var Y={};while($.length){var z=0;while(z<$.length&&$[z]!==32)z++;var U=parseInt($.slice(0,z).toString(),10);if(!U)return Y;var Q=$.slice(z+1,U-1).toString(),J=Q.indexOf("=");if(J===-1)return Y;Y[Q.slice(0,J)]=Q.slice(J+1),$=$.slice(U)}return Y};nX1.encode=function($){var Y=hX1(512),z=$.name,U="";if($.typeflag===5&&z[z.length-1]!=="/")z+="/";if(Buffer.byteLength(z)!==z.length)return null;while(Buffer.byteLength(z)>100){var Q=z.indexOf("/");if(Q===-1)return null;U+=U?"/"+z.slice(0,Q):z.slice(0,Q),z=z.slice(Q+1)}if(Buffer.byteLength(z)>100||Buffer.byteLength(U)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(Y.write(z),Y.write(D2($.mode&fX1,6),100),Y.write(D2($.uid,6),108),Y.write(D2($.gid,6),116),Y.write(D2($.size,11),124),Y.write(D2($.mtime.getTime()/1000|0,11),136),Y[156]=EV0+iX1($.type),$.linkname)Y.write($.linkname,157);if(CV0.copy(Y,SX),yX1.copy(Y,Ni),$.uname)Y.write($.uname,265);if($.gname)Y.write($.gname,297);if(Y.write(D2($.devmajor||0,6),329),Y.write(D2($.devminor||0,6),337),U)Y.write(U,345);return Y.write(D2(_V0(Y),6),148),Y};nX1.decode=function($,Y,z){var U=$[156]===0?0:$[156]-EV0,Q=AI($,0,100,Y),J=B2($,100,8),I=B2($,108,8),K=B2($,116,8),G=B2($,124,12),W=B2($,136,12),H=bX1(U),X=$[157]===0?null:AI($,157,100,Y),Z=AI($,265,32),q=AI($,297,32),V=B2($,329,8),F=B2($,337,8),M=_V0($);if(M===256)return null;if(M!==B2($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(CV0.compare($,SX,SX+6)===0){if($[345])Q=AI($,345,155,Y)+"/"+Q}else if(kX1.compare($,SX,SX+6)===0&&xX1.compare($,Ni,Ni+2)===0);else if(!z)throw Error("Invalid tar header: unknown format.");if(U===0&&Q&&Q[Q.length-1]==="/")U=5;return{name:Q,mode:J,uid:I,gid:K,size:G,mtime:new Date(1000*W),type:H,linkname:X,uname:Z,gname:q,devmajor:V,devminor:F}}});var xV0=E((yr1,kV0)=>{var hV0=I0("util"),rX1=jV0(),gX=Di(),SV0=E8().Writable,gV0=E8().PassThrough,yV0=function(){},vV0=function($){return $&=511,$&&512-$},sX1=function($,Y){var z=new qB($,Y);return z.end(),z},aX1=function($,Y){if(Y.path)$.name=Y.path;if(Y.linkpath)$.linkname=Y.linkpath;if(Y.size)$.size=parseInt(Y.size,10);return $.pax=Y,$},qB=function($,Y){this._parent=$,this.offset=Y,gV0.call(this,{autoDestroy:!1})};hV0.inherits(qB,gV0);qB.prototype.destroy=function($){this._parent.destroy($)};var B7=function($){if(!(this instanceof B7))return new B7($);SV0.call(this,$),$=$||{},this._offset=0,this._buffer=rX1(),this._missing=0,this._partial=!1,this._onparse=yV0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var Y=this,z=Y._buffer,U=function(){Y._continue()},Q=function(Z){if(Y._locked=!1,Z)return Y.destroy(Z);if(!Y._stream)U()},J=function(){Y._stream=null;var Z=vV0(Y._header.size);if(Z)Y._parse(Z,I);else Y._parse(512,X);if(!Y._locked)U()},I=function(){Y._buffer.consume(vV0(Y._header.size)),Y._parse(512,X),U()},K=function(){var Z=Y._header.size;Y._paxGlobal=gX.decodePax(z.slice(0,Z)),z.consume(Z),J()},G=function(){var Z=Y._header.size;if(Y._pax=gX.decodePax(z.slice(0,Z)),Y._paxGlobal)Y._pax=Object.assign({},Y._paxGlobal,Y._pax);z.consume(Z),J()},W=function(){var Z=Y._header.size;this._gnuLongPath=gX.decodeLongPath(z.slice(0,Z),$.filenameEncoding),z.consume(Z),J()},H=function(){var Z=Y._header.size;this._gnuLongLinkPath=gX.decodeLongPath(z.slice(0,Z),$.filenameEncoding),z.consume(Z),J()},X=function(){var Z=Y._offset,q;try{q=Y._header=gX.decode(z.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(V){Y.emit("error",V)}if(z.consume(512),!q){Y._parse(512,X),U();return}if(q.type==="gnu-long-path"){Y._parse(q.size,W),U();return}if(q.type==="gnu-long-link-path"){Y._parse(q.size,H),U();return}if(q.type==="pax-global-header"){Y._parse(q.size,K),U();return}if(q.type==="pax-header"){Y._parse(q.size,G),U();return}if(Y._gnuLongPath)q.name=Y._gnuLongPath,Y._gnuLongPath=null;if(Y._gnuLongLinkPath)q.linkname=Y._gnuLongLinkPath,Y._gnuLongLinkPath=null;if(Y._pax)Y._header=q=aX1(q,Y._pax),Y._pax=null;if(Y._locked=!0,!q.size||q.type==="directory"){Y._parse(512,X),Y.emit("entry",q,sX1(Y,Z),Q);return}Y._stream=new qB(Y,Z),Y.emit("entry",q,Y._stream,Q),Y._parse(q.size,J),U()};this._onheader=X,this._parse(512,X)};hV0.inherits(B7,SV0);B7.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};B7.prototype._parse=function($,Y){if(this._destroyed)return;if(this._offset+=$,this._missing=$,Y===this._onheader)this._partial=!1;this._onparse=Y};B7.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=yV0,this._overflow)this._write(this._overflow,void 0,$);else $()};B7.prototype._write=function($,Y,z){if(this._destroyed)return;var U=this._stream,Q=this._buffer,J=this._missing;if($.length)this._partial=!0;if($.lengthJ)I=$.slice(J),$=$.slice(0,J);if(U)U.end($);else Q.append($);this._overflow=I,this._onparse()};B7.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};kV0.exports=B7});var uV0=E((kr1,fV0)=>{fV0.exports=I0("fs").constants||I0("constants")});var cV0=E((xr1,iV0)=>{var tX1=rD(),eX1=function(){},$Z1=global.Bare?queueMicrotask:process.nextTick.bind(process),YZ1=function($){return $.setHeader&&typeof $.abort==="function"},zZ1=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},bV0=function($,Y,z){if(typeof Y==="function")return bV0($,null,Y);if(!Y)Y={};z=tX1(z||eX1);var{_writableState:U,_readableState:Q}=$,J=Y.readable||Y.readable!==!1&&$.readable,I=Y.writable||Y.writable!==!1&&$.writable,K=!1,G=function(){if(!$.writable)W()},W=function(){if(I=!1,!J)z.call($)},H=function(){if(J=!1,!I)z.call($)},X=function(M){z.call($,M?Error("exited with error code: "+M):null)},Z=function(M){z.call($,M)},q=function(){$Z1(V)},V=function(){if(K)return;if(J&&!(Q&&(Q.ended&&!Q.destroyed)))return z.call($,Error("premature close"));if(I&&!(U&&(U.ended&&!U.destroyed)))return z.call($,Error("premature close"))},F=function(){$.req.on("finish",W)};if(YZ1($))if($.on("complete",W),$.on("abort",q),$.req)F();else $.on("request",F);else if(I&&!U)$.on("end",G),$.on("close",G);if(zZ1($))$.on("exit",X);if($.on("end",H),$.on("finish",W),Y.error!==!1)$.on("error",Z);return $.on("close",q),function(){if(K=!0,$.removeListener("complete",W),$.removeListener("abort",q),$.removeListener("request",F),$.req)$.req.removeListener("finish",W);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",W),$.removeListener("exit",X),$.removeListener("end",H),$.removeListener("error",Z),$.removeListener("close",q)}};iV0.exports=bV0});var lV0=E((fr1,mV0)=>{var TI=uV0(),nV0=cV0(),LB=X1(),UZ1=Buffer.alloc,pV0=E8().Readable,jI=E8().Writable,QZ1=I0("string_decoder").StringDecoder,VB=Di(),JZ1=parseInt("755",8),IZ1=parseInt("644",8),dV0=UZ1(1024),Pi=function(){},Bi=function($,Y){if(Y&=511,Y)$.push(dV0.slice(0,512-Y))};function KZ1($){switch($&TI.S_IFMT){case TI.S_IFBLK:return"block-device";case TI.S_IFCHR:return"character-device";case TI.S_IFDIR:return"directory";case TI.S_IFIFO:return"fifo";case TI.S_IFLNK:return"symlink"}return"file"}var FB=function($){jI.call(this),this.written=0,this._to=$,this._destroyed=!1};LB(FB,jI);FB.prototype._write=function($,Y,z){if(this.written+=$.length,this._to.push($))return z();this._to._drain=z};FB.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var wB=function(){jI.call(this),this.linkname="",this._decoder=new QZ1("utf-8"),this._destroyed=!1};LB(wB,jI);wB.prototype._write=function($,Y,z){this.linkname+=this._decoder.write($),z()};wB.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var yX=function(){jI.call(this),this._destroyed=!1};LB(yX,jI);yX.prototype._write=function($,Y,z){z(Error("No body allowed for this entry"))};yX.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var q9=function($){if(!(this instanceof q9))return new q9($);pV0.call(this,$),this._drain=Pi,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};LB(q9,pV0);q9.prototype.entry=function($,Y,z){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof Y==="function")z=Y,Y=null;if(!z)z=Pi;var U=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=KZ1($.mode);if(!$.mode)$.mode=$.type==="directory"?JZ1:IZ1;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=Buffer.from(Y);if(Buffer.isBuffer(Y)){$.size=Y.length,this._encode($);var Q=this.push(Y);if(Bi(U,$.size),Q)process.nextTick(z);else this._drain=z;return new yX}if($.type==="symlink"&&!$.linkname){var J=new wB;return nV0(J,function(K){if(K)return U.destroy(),z(K);$.linkname=J.linkname,U._encode($),z()}),J}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(z),new yX;var I=new FB(this);return this._stream=I,nV0(I,function(K){if(U._stream=null,K)return U.destroy(),z(K);if(I.written!==$.size)return U.destroy(),z(Error("size mismatch"));if(Bi(U,$.size),U._finalizing)U.finalize();z()}),I};q9.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(dV0),this.push(null)};q9.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};q9.prototype._encode=function($){if(!$.pax){var Y=VB.encode($);if(Y){this.push(Y);return}}this._encodePax($)};q9.prototype._encodePax=function($){var Y=VB.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),z={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(VB.encode(z)),this.push(Y),Bi(this,Y.length),z.size=$.size,z.type=$.type,this.push(VB.encode(z))};q9.prototype._read=function($){var Y=this._drain;this._drain=Pi,Y()};mV0.exports=q9});var oV0=E((GZ1)=>{GZ1.extract=xV0();GZ1.pack=lV0()});var aV0=E((br1,sV0)=>{var XZ1=I0("zlib"),ZZ1=oV0(),rV0=DX(),P7=function($){if(!(this instanceof P7))return new P7($);if($=this.options=rV0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=ZZ1.pack($),this.compressor=!1,$.gzip)this.compressor=XZ1.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};P7.prototype._onCompressorError=function($){this.engine.emit("error",$)};P7.prototype.append=function($,Y,z){var U=this;Y.mtime=Y.date;function Q(I,K){if(I){z(I);return}U.engine.entry(Y,K,function(G){z(G,Y)})}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream"&&Y.stats){Y.size=Y.stats.size;var J=U.engine.entry(Y,function(I){z(I,Y)});$.pipe(J)}else if(Y.sourceType==="stream")rV0.collectStream($,Q)};P7.prototype.finalize=function(){this.engine.finalize()};P7.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};P7.prototype.pipe=function($,Y){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,Y);else return this.engine.pipe.apply(this.engine,arguments)};P7.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};sV0.exports=P7});var YL0=E((ir1,$L0)=>{var qZ1=I0("util").inherits,tV0=E8().Transform,VZ1=nb(),eV0=DX(),P2=function($){if(!(this instanceof P2))return new P2($);$=this.options=eV0.defaults($,{}),tV0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};qZ1(P2,tV0);P2.prototype._transform=function($,Y,z){z(null,$)};P2.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};P2.prototype.append=function($,Y,z){var U=this;Y.crc32=0;function Q(J,I){if(J){z(J);return}Y.size=I.length||0,Y.crc32=VZ1.unsigned(I),U.files.push(Y),z(null,Y)}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream")eV0.collectStream($,Q)};P2.prototype.finalize=function(){this._writeStringified(),this.end()};$L0.exports=P2});var UL0=E((cr1,zL0)=>{var LZ1=yZ0(),kX={},A2=function($,Y){return A2.create($,Y)};A2.create=function($,Y){if(kX[$]){var z=new LZ1($,Y);return z.setFormat($),z.setModule(new kX[$](Y)),z}else throw Error("create("+$+"): format not registered")};A2.registerFormat=function($,Y){if(kX[$])throw Error("register("+$+"): format already registered");if(typeof Y!=="function")throw Error("register("+$+"): format module invalid");if(typeof Y.prototype.append!=="function"||typeof Y.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");kX[$]=Y};A2.isRegisteredFormat=function($){if(kX[$])return!0;return!1};A2.registerFormat("zip",jq0());A2.registerFormat("tar",aV0());A2.registerFormat("json",YL0());zL0.exports=A2});var IL0=E((nr1,JL0)=>{class QL0{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let Y=this._hash[$];if(Y===void 0)Y=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,Y}}JL0.exports=QL0});var HL0=E((pr1,WL0)=>{var FZ1=X8(),wZ1=e3();class KL0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class GL0{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new KL0(this))}addHyperlink($){let Y={Target:$.target,Type:wZ1.Hyperlink,TargetMode:"External"},z=this._writeRelationship(Y);this._hyperlinks.push({rId:z,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(` - `)}_writeRelationship($){if(!this.count)this._writeOpen();let Y=`rId${++this.count}`;if($.TargetMode)this.stream.write(``);else this.stream.write(``);return Y}_writeClose(){this.stream.write("")}}WL0.exports=GL0});var LL0=E((dr1,VL0)=>{var XL0=m6(),ZL0=e3(),MZ1=i4(),OZ1=gx(),NZ1=kx();class qL0{constructor($,Y,z){this.id=z.id,this.count=0,this._worksheet=$,this._workbook=z.workbook,this._sheetRelsWriter=Y}get commentsStream(){if(!this._commentsStream)this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`);return this._commentsStream}get vmlStream(){if(!this._vmlStream)this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`);return this._vmlStream}_addRelationships(){let $={Type:ZL0.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let Y={Type:ZL0.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(Y)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('Author'),this.vmlStream.write('')}_writeComment($,Y){let z=new OZ1,U=new XL0;z.render(U,$),this.commentsStream.write(U.xml);let Q=new NZ1,J=new XL0;Q.render(J,$,Y),this.vmlStream.write(J.xml)}_writeClose(){this.commentsStream.write(""),this.vmlStream.write("")}addComments($){if($&&$.length){if(!this.startedData)this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0;$.forEach((Y)=>{Y.refAddress=MZ1.decodeAddress(Y.ref)}),$.forEach((Y)=>{this._writeComment(Y,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}VL0.exports=qL0});var DL0=E((mr1,NL0)=>{var DZ1=Y6(),BZ1=e3(),Ai=i4(),FL0=eS(),wL0=e9(),PZ1=qk(),ML0=MM(),Ti=NM(),AZ1=HL0(),TZ1=LL0(),jZ1=aS(),y6=new PZ1,ji=s3(),EZ1=Gx(),CZ1=Wx(),RZ1=Hx(),_Z1=Qx(),vZ1=zx(),hZ1=Jx(),SZ1=Xx(),gZ1=Zx(),yZ1=qx(),kZ1=Vx(),xZ1=Lx(),fZ1=Fx(),uZ1=Dx(),bZ1=Mx(),iZ1=wx(),k6={dataValidations:new EZ1,sheetProperties:new CZ1,sheetFormatProperties:new RZ1,columns:new ji({tag:"cols",length:!1,childXform:new _Z1}),row:new vZ1,hyperlinks:new ji({tag:"hyperlinks",length:!1,childXform:new hZ1}),sheetViews:new ji({tag:"sheetViews",length:!1,childXform:new SZ1}),sheetProtection:new gZ1,pageMargins:new yZ1,pageSeteup:new kZ1,autoFilter:new xZ1,picture:new fZ1,conditionalFormattings:new uZ1,headerFooter:new bZ1,rowBreaks:new iZ1};class OL0{constructor($){this.id=$.id,this.name=$.name||`Sheet${this.id}`,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new AZ1($),this._sheetCommentsWriter=new TZ1(this,this._sheetRelsWriter,$),this._dimensions=new wL0,this._rowZero=1,this.committed=!1,this.dataValidations=new jZ1,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.useSharedStrings=$.useSharedStrings||!1,this._workbook=$.workbook,this.hasComments=!1,this._views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause();return this._stream}destroy(){throw Error("Invalid Operation: destroy")}commit(){if(this.committed)return;if(this._rows.forEach(($)=>{if($)this._writeRow($)}),this._rows=null,!this.startedData)this._writeOpenSheetData();this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((U,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(U,J)},0);let Y=1,z=this._columns=[];$.forEach((U)=>{let Q=new Ti(this,Y++,!1);z.push(Q),Q.defn=U})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){DZ1.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=Ai.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new Ti(this,Y++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,Y){if(!Y)Y=$,$=void 0;if($&&$.includeEmpty){let z=this._nextRow;for(let U=this._rowZero;U{if(z.hasValues)Y(z,z.number)})}_commitRow($){let Y=!1;while(this._rows.length&&!Y){let z=this._rows.shift();if(this._rowZero++,z)this._writeRow(z),Y=z.number===$.number,this._rowZero=z.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let Y=$-this._rowZero;return this._rows[Y]}getRow($){let Y=$-this._rowZero;if(Y<0)throw Error("Out of bounds: this row has been committed");let z=this._rows[Y];if(!z)this._rows[Y]=z=new ML0(this,$);return z}addRow($){let Y=new ML0(this,this._nextRow);return this._rows[Y.number-this._rowZero]=Y,Y.values=$,Y}findCell($,Y){let z=Ai.getAddress($,Y),U=this.findRow(z.row);return U?U.findCell(z.column):void 0}getCell($,Y){let z=Ai.getAddress($,Y);return this.getRow(z.row).getCellEx(z)}mergeCells(...$){let Y=new wL0($);this._merges.forEach((U)=>{if(U.intersects(Y))throw Error("Cannot merge already merged cells")});let z=this.getCell(Y.top,Y.left);for(let U=Y.top;U<=Y.bottom;U++)for(let Q=Y.left;Q<=Y.right;Q++)if(U>Y.top||Q>Y.left)this.getCell(U,Q).merge(z);this._merges.push(Y)}addConditionalFormatting($){this.conditionalFormatting.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormatting.splice($,1);else if($ instanceof Function)this.conditionalFormatting=this.conditionalFormatting.filter($);else this.conditionalFormatting=[]}addBackgroundImage($){this._background={imageId:$}}getBackgroundImageId(){return this._background&&this._background.imageId}protect($,Y){return new Promise((z)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=FL0.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=FL0.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}z()})}unprotect(){this.sheetProtection=null}_write($){y6.reset(),y6.addText($),this.stream.write(y6)}_writeSheetProperties($,Y,z){let U={outlineProperties:Y&&Y.outlineProperties,tabColor:Y&&Y.tabColor,pageSetup:z&&z.fitToPage?{fitToPage:z.fitToPage}:void 0};$.addText(k6.sheetProperties.toXml(U))}_writeSheetFormatProperties($,Y){let z=Y?{defaultRowHeight:Y.defaultRowHeight,dyDescent:Y.dyDescent,outlineLevelCol:Y.outlineLevelCol,outlineLevelRow:Y.outlineLevelRow}:void 0;if(Y.defaultColWidth)z.defaultColWidth=Y.defaultColWidth;$.addText(k6.sheetFormatProperties.toXml(z))}_writeOpenWorksheet(){y6.reset(),y6.addText(''),y6.addText(''),this._writeSheetProperties(y6,this.properties,this.pageSetup),y6.addText(k6.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(y6,this.properties),this.stream.write(y6)}_writeColumns(){let $=Ti.toModel(this.columns);if($)k6.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(k6.columns.toXml($))}_writeOpenSheetData(){this._write("")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:Y}=$,z={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(k6.row.prepare(Y,z),this.stream.write(k6.row.toXml(Y)),z.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(z.comments)}}_writeCloseSheetData(){this._write("")}_writeMergeCells(){if(this._merges.length)y6.reset(),y6.addText(``),this._merges.forEach(($)=>{y6.addText(``)}),y6.addText(""),this.stream.write(y6)}_writeHyperlinks(){this.stream.write(k6.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};k6.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(k6.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(k6.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(k6.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(k6.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(k6.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(k6.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(k6.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(k6.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),Y=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:BZ1.Image});this._background={...this._background,rId:Y}}this.stream.write(k6.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)y6.reset(),y6.addText(``),this.stream.write(y6)}_writeDimensions(){}_writeCloseWorksheet(){this._write("")}}NL0.exports=OL0});var EL0=E((lr1,jL0)=>{var cZ1=I0("fs"),nZ1=UL0(),BL0=jH(),cz=e3(),PL0=aO(),pZ1=IL0(),dZ1=Yg(),mZ1=rk(),AL0=YN(),lZ1=ak(),oZ1=tk(),rZ1=UN(),sZ1=sk(),aZ1=DL0(),tZ1=xx();class TL0{constructor($){if($=$||{},this.created=$.created||new Date,this.modified=$.modified||this.created,this.creator=$.creator||"ExcelJS",this.lastModifiedBy=$.lastModifiedBy||"ExcelJS",this.lastPrinted=$.lastPrinted,this.useSharedStrings=$.useSharedStrings||!1,this.sharedStrings=new pZ1,this.styles=$.useStyles?new PL0(!0):new PL0.Mock(!0),this._definedNames=new dZ1,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=nZ1("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=cZ1.createWriteStream($.filename);else this.stream=new BL0;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let Y=new BL0({bufSize:65536,batch:!0});return this.zip.append(Y,{name:$}),Y.on("finish",()=>{Y.emit("zipped")}),Y}_commitWorksheets(){let $=function(z){if(!z.committed)return new Promise((U)=>{z.stream.on("zipped",()=>{U()}),z.commit()});return Promise.resolve()},Y=this._worksheets.map($);if(Y.length)return Promise.all(Y);return Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let $;for($=1;$!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append(tZ1,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let z=new AL0().toXml([{Id:"rId1",Type:cz.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:cz.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:cz.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(z,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},U=new lZ1().toXml(Y);this.zip.append(U,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let Y=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:Y});if($.buffer)return this.zip.append($.buffer,{name:Y});if($.base64){let z=$.base64,U=z.substring(z.indexOf(",")+1);return this.zip.append(U,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean)},U=new oZ1().toXml(Y);this.zip.append(U,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let z=new mZ1().toXml(this);this.zip.append(z,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let z=new sZ1().toXml(this.sharedStrings);this.zip.append(z,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,Y=[{Id:`rId${$++}`,Type:cz.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:cz.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)Y.push({Id:`rId${$++}`,Type:cz.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((z)=>{if(z)z.rId=`rId${$++}`,Y.push({Id:z.rId,Type:cz.Worksheet,Target:`worksheets/sheet${z.id}.xml`})}),new Promise((z)=>{let Q=new AL0().toXml(Y);this.zip.append(Q,{name:"/xl/_rels/workbook.xml.rels"}),z()})}addWorkbook(){let{zip:$}=this,Y={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((z)=>{let U=new rZ1;U.prepare(Y),$.append(U.toXml(Y),{name:"/xl/workbook.xml"}),z()})}_finalize(){return new Promise(($,Y)=>{this.stream.on("error",Y),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",Y),this.zip.finalize()})}}jL0.exports=TL0});var RL0=E((or1,CL0)=>{var Ei=I0("events").listenerCount;Ei=Ei||function($,Y){var z=$&&$._events&&$._events[Y];if(Array.isArray(z))return z.length;else if(typeof z==="function")return 1;else return 0};CL0.exports=Ei});var vL0=E((rr1,_L0)=>{_L0.exports=function(Y){var z=process&&process.version?process.version:"v5.0.0",U=z.split(".")[0].replace("v","");return U<6?new Buffer(Y):Buffer.from(Y)}});var SL0=E(()=>{var xX=vL0();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,Y){if(Y=Y||0,typeof $==="string"||$ instanceof String)$=xX($);else if(typeof $==="number"||$ instanceof Number)$=xX([$]);var z=$.length;for(var U=Y;U<=this.length-z;U++){var Q=!1;for(var J=0;J=0;U--){var Q=!1;for(var J=0;J{kL0.exports=L8;function L8($){if(!(this instanceof L8))return new L8($);this.value=$}L8.prototype.get=function($){var Y=this.value;for(var z=0;z<$.length;z++){var U=$[z];if(!Object.hasOwnProperty.call(Y,U)){Y=void 0;break}Y=Y[U]}return Y};L8.prototype.set=function($,Y){var z=this.value;for(var U=0;U<$.length-1;U++){var Q=$[U];if(!Object.hasOwnProperty.call(z,Q))z[Q]={};z=z[Q]}return z[$[U]]=Y,Y};L8.prototype.map=function($){return gL0(this.value,$,!0)};L8.prototype.forEach=function($){return this.value=gL0(this.value,$,!1),this.value};L8.prototype.reduce=function($,Y){var z=arguments.length===1,U=z?this.value:Y;return this.forEach(function(Q){if(!this.isRoot||!z)U=$.call(this,U,Q)}),U};L8.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var Y=!0,z=$;return this.forEach(function(U){var Q=function(){Y=!1;return}.bind(this);if(!this.isRoot){if(typeof z!=="object")return Q();z=z[this.key]}var J=z;this.post(function(){z=J});var I=function(X){return Object.prototype.toString.call(X)};if(this.circular){if(L8($).get(this.circular.path)!==J)Q()}else if(typeof J!==typeof U)Q();else if(J===null||U===null||J===void 0||U===void 0){if(J!==U)Q()}else if(J.__proto__!==U.__proto__)Q();else if(J===U);else if(typeof J==="function"){if(J instanceof RegExp){if(J.toString()!=U.toString())Q()}else if(J!==U)Q()}else if(typeof J==="object")if(I(U)==="[object Arguments]"||I(J)==="[object Arguments]"){if(I(J)!==I(U))Q()}else if(J instanceof Date||U instanceof Date){if(!(J instanceof Date)||!(U instanceof Date)||J.getTime()!==U.getTime())Q()}else{var K=Object.keys(J),G=Object.keys(U);if(K.length!==G.length)return Q();for(var W=0;W{var eZ1=xL0(),$q1=I0("events").EventEmitter;fL0.exports=EI;function EI($){var Y=EI.saw($,{}),z=$.call(Y.handlers,Y);if(z!==void 0)Y.handlers=z;return Y.record(),Y.chain()}EI.light=function(Y){var z=EI.saw(Y,{}),U=Y.call(z.handlers,z);if(U!==void 0)z.handlers=U;return z.chain()};EI.saw=function($,Y){var z=new $q1;return z.handlers=Y,z.actions=[],z.chain=function(){var U=eZ1(z.handlers).map(function(Q){if(this.isRoot)return Q;var J=this.path;if(typeof Q==="function")this.update(function(){return z.actions.push({path:J,args:[].slice.call(arguments)}),U})});return process.nextTick(function(){z.emit("begin"),z.next()}),U},z.pop=function(){return z.actions.shift()},z.next=function(){var U=z.pop();if(!U)z.emit("end");else if(!U.trap){var Q=z.handlers;U.path.forEach(function(J){Q=Q[J]}),Q.apply(z.handlers,U.args)}},z.nest=function(U){var Q=[].slice.call(arguments,1),J=!0;if(typeof U==="boolean"){var J=U;U=Q.shift()}var I=EI.saw($,{}),K=$.call(I.handlers,I);if(K!==void 0)I.handlers=K;if(typeof z.step<"u")I.record();if(U.apply(I.chain(),Q),J!==!1)I.on("end",z.next)},z.record=function(){Yq1(z)},["trap","down","jump"].forEach(function(U){z[U]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),z};function Yq1($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(Y,z){var U=Array.isArray(Y)?Y:[Y];$.actions.push({path:U,step:$.step,cb:z,trap:!0})},$.down=function(Y){var z=(Array.isArray(Y)?Y:[Y]).join("/"),U=$.actions.slice($.step).map(function(J){if(J.trap&&J.step<=$.step)return!1;return J.path.join("/")==z}).indexOf(!0);if(U>=0)$.step+=U;else $.step=$.actions.length;var Q=$.actions[$.step-1];if(Q&&Q.trap)$.step=Q.step,Q.cb();else $.next()},$.jump=function(Y){$.step=Y,$.next()}}});var iL0=E(($s1,bL0)=>{bL0.exports=v8;function v8($){if(!(this instanceof v8))return new v8($);this.buffers=$||[],this.length=this.buffers.reduce(function(Y,z){return Y+z.length},0)}v8.prototype.push=function(){for(var $=0;$=0?$:this.length-$,Q=[].slice.call(arguments,2);if(Y===void 0)Y=this.length-U;else if(Y>this.length-U)Y=this.length-U;for(var $=0;$0){var W=U-K;if(W+Y0){var q=Q.slice();q.unshift(X),q.push(Z),z.splice.apply(z,[G,1].concat(q)),G+=q.length,Q=[]}else z.splice(G,1,X,Z),G+=2}else J.push(z[G].slice(W)),z[G]=z[G].slice(0,W),G++}if(Q.length>0)z.splice.apply(z,[G,0].concat(Q)),G+=Q.length;while(J.lengththis.length)Y=this.length;var U=0;for(var Q=0;Q=Y-$?Math.min(W+(Y-$)-I,G):G;z[K].copy(J,I,W,H),I+=H-W}return J};v8.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var Y=$,z=0,U=null;for(;;){if(U=this.buffers[z],Y=this.buffers[z].length)if(U=0,z++,z>=this.buffers.length)return-1;var G=this.buffers[z][U];if(G==$[Q]){if(Q==0)J={i:z,j:U,pos:I};if(Q++,Q==$.length)return J.pos}else if(Q!=0)z=J.i,U=J.j,I=J.pos,Q=0;U++,I++}};v8.prototype.toBuffer=function(){return this.slice()};v8.prototype.toString=function($,Y,z){return this.slice(Y,z).toString($)}});var nL0=E((Ys1,cL0)=>{cL0.exports=function($){function Y(U,Q){var J=z.store,I=U.split(".");I.slice(0,-1).forEach(function(G){if(J[G]===void 0)J[G]={};J=J[G]});var K=I[I.length-1];if(arguments.length==1)return J[K];else return J[K]=Q}var z={get:function(U){return Y(U)},set:function(U,Q){return Y(U,Q)},store:$||{}};return z}});var fX=E((nz,oL0)=>{var zq1=uL0(),pL0=I0("events").EventEmitter,Uq1=iL0(),MB=nL0(),Qq1=I0("stream").Stream;nz=oL0.exports=function($,Y){if(Buffer.isBuffer($))return nz.parse($);var z=nz.stream();if($&&$.pipe)$.pipe(z);else if($)$.on(Y||"data",function(U){z.write(U)}),$.on("end",function(){z.end()});return z};nz.stream=function($){if($)return nz.apply(null,arguments);var Y=null;function z(X,Z,q){Y={bytes:X,skip:q,cb:function(V){Y=null,Z(V)}},Q()}var U=null;function Q(){if(!Y){if(H)W=!0;return}if(typeof Y==="function")Y();else{var X=U+Y.bytes;if(K.length>=X){var Z;if(U==null){if(Z=K.splice(0,X),!Y.skip)Z=Z.slice()}else{if(!Y.skip)Z=K.slice(U,X);U=X}if(Y.skip)Y.cb();else Y.cb(Z)}}}function J(X){function Z(){if(!W)X.next()}var q=lL0(function(V,F){return function(M){z(V,function(w){G.set(M,F(w)),Z()})}});return q.tap=function(V){X.nest(V,G.store)},q.into=function(V,F){if(!G.get(V))G.set(V,{});var M=G;G=MB(M.get(V)),X.nest(function(){F.apply(this,arguments),this.tap(function(){G=M})},G.store)},q.flush=function(){G.store={},Z()},q.loop=function(V){var F=!1;X.nest(!1,function M(){this.vars=G.store,V.call(this,function(){F=!0,Z()},G.store),this.tap(function(){if(F)X.next();else M.call(this)}.bind(this))},G.store)},q.buffer=function(V,F){if(typeof F==="string")F=G.get(F);z(F,function(M){G.set(V,M),Z()})},q.skip=function(V){if(typeof V==="string")V=G.get(V);z(V,function(){Z()})},q.scan=function(F,M){if(typeof M==="string")M=new Buffer(M);else if(!Buffer.isBuffer(M))throw Error("search must be a Buffer or a string");var w=0;Y=function(){var O=K.indexOf(M,U+w),D=O-U-w;if(O!==-1){if(Y=null,U!=null)G.set(F,K.slice(U,U+w+D)),U+=w+D+M.length;else G.set(F,K.slice(0,w+D)),K.splice(0,w+D+M.length);Z(),Q()}else D=Math.max(K.length-M.length-U-w,0);w+=D},Q()},q.peek=function(V){U=0,X.nest(function(){V.call(this,G.store),this.tap(function(){U=null})})},q}var I=zq1.light(J);I.writable=!0;var K=Uq1();I.write=function(X){K.push(X),Q()};var G=MB(),W=!1,H=!1;return I.end=function(){H=!0},I.pipe=Qq1.prototype.pipe,Object.getOwnPropertyNames(pL0.prototype).forEach(function(X){I[X]=pL0.prototype[X]}),I};nz.parse=function(Y){var z=lL0(function(J,I){return function(K){if(U+J<=Y.length){var G=Y.slice(U,U+J);U+=J,Q.set(K,I(G))}else Q.set(K,null);return z}}),U=0,Q=MB();return z.vars=Q.store,z.tap=function(J){return J.call(z,Q.store),z},z.into=function(J,I){if(!Q.get(J))Q.set(J,{});var K=Q;return Q=MB(K.get(J)),I.call(z,Q.store),Q=K,z},z.loop=function(J){var I=!1,K=function(){I=!0};while(I===!1)J.call(z,K,Q.store);return z},z.buffer=function(J,I){if(typeof I==="string")I=Q.get(I);var K=Y.slice(U,Math.min(Y.length,U+I));return U+=I,Q.set(J,K),z},z.skip=function(J){if(typeof J==="string")J=Q.get(J);return U+=J,z},z.scan=function(J,I){if(typeof I==="string")I=new Buffer(I);else if(!Buffer.isBuffer(I))throw Error("search must be a Buffer or a string");Q.set(J,null);for(var K=0;K+U<=Y.length-I.length+1;K++){for(var G=0;G=Y.length},z};function dL0($){var Y=0;for(var z=0;z<$.length;z++)Y+=Math.pow(256,z)*$[z];return Y}function mL0($){var Y=0;for(var z=0;z<$.length;z++)Y+=Math.pow(256,$.length-z-1)*$[z];return Y}function Jq1($){var Y=mL0($);if(($[0]&128)==128)Y-=Math.pow(256,$.length);return Y}function Iq1($){var Y=dL0($);if(($[$.length-1]&128)==128)Y-=Math.pow(256,$.length);return Y}function lL0($){var Y={};return[1,2,4,8].forEach(function(z){var U=z*8;Y["word"+U+"le"]=Y["word"+U+"lu"]=$(z,dL0),Y["word"+U+"ls"]=$(z,Iq1),Y["word"+U+"be"]=Y["word"+U+"bu"]=$(z,mL0),Y["word"+U+"bs"]=$(z,Jq1)}),Y.word8=Y.word8u=Y.word8be,Y.word8s=Y.word8bs,Y}});var pz=E((zs1,xi)=>{var Ci=function(){return this===void 0}();if(Ci)xi.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:Ci,propertyIsWritable:function($,Y){var z=Object.getOwnPropertyDescriptor($,Y);return!!(!z||z.writable||z.set)}};else Ri={}.hasOwnProperty,_i={}.toString,vi={}.constructor.prototype,OB=function($){var Y=[];for(var z in $)if(Ri.call($,z))Y.push(z);return Y},hi=function($,Y){return{value:$[Y]}},Si=function($,Y,z){return $[Y]=z.value,$},gi=function($){return $},yi=function($){try{return Object($).constructor.prototype}catch(Y){return vi}},ki=function($){try{return _i.call($)==="[object Array]"}catch(Y){return!1}},xi.exports={isArray:ki,keys:OB,names:OB,defineProperty:Si,getDescriptor:hi,freeze:gi,getPrototypeOf:yi,isES5:Ci,propertyIsWritable:function(){return!0}};var Ri,_i,vi,OB,hi,Si,gi,yi,ki});var F4=E((DB,ni)=>{var o8=pz(),Kq1=typeof navigator>"u",fi={e:{}},ui,Gq1=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:DB!==void 0?DB:null;function Wq1(){try{var $=ui;return ui=null,$.apply(this,arguments)}catch(Y){return fi.e=Y,fi}}function Hq1($){return ui=$,Wq1}var Xq1=function($,Y){var z={}.hasOwnProperty;function U(){this.constructor=$,this.constructor$=Y;for(var Q in Y.prototype)if(z.call(Y.prototype,Q)&&Q.charAt(Q.length-1)!=="$")this[Q+"$"]=Y.prototype[Q]}return U.prototype=Y.prototype,$.prototype=new U,$.prototype};function ci($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function Zq1($){return typeof $==="function"||typeof $==="object"&&$!==null}function qq1($){if(!ci($))return $;return Error(NB($))}function Vq1($,Y){var z=$.length,U=Array(z+1),Q;for(Q=0;Q1,U=Y.length>0&&!(Y.length===1&&Y[0]==="constructor"),Q=Mq1.test($+"")&&o8.names($).length>0;if(z||U||Q)return!0}return!1}catch(J){return!1}}function Nq1(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var Dq1=/^[a-z$_][a-z$_0-9]*$/i;function Bq1($){return Dq1.test($)}function Pq1($,Y,z){var U=Array($);for(var Q=0;Q<$;++Q)U[Q]=Y+Q+z;return U}function NB($){try{return $+""}catch(Y){return"[no string representation]"}}function sL0($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function Aq1($){try{rL0($,"isOperational",!0)}catch(Y){}}function Tq1($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function bi($){return sL0($)&&o8.propertyIsWritable($,"stack")}var jq1=function(){if(!("stack"in Error()))return function($){if(bi($))return $;try{throw Error(NB($))}catch(Y){return Y}};else return function($){if(bi($))return $;return Error(NB($))}}();function aL0($){return{}.toString.call($)}function Eq1($,Y,z){var U=o8.names($);for(var Q=0;Q10||$[0]>0}();if(CI.isNode)CI.toFastProperties(process);try{throw Error()}catch($){CI.lastLineError=$}ni.exports=CI});var YF0=E((Us1,$F0)=>{var di=F4(),dz,hq1=function(){throw Error(`No async scheduler available +See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))return new T6($,Y);if(SG1(this,$,Y),this.noprocess)return this;var z=this.minimatch.set.length;this.matches=Array(z);for(var U=0;Uthis.maxLength)return!1;if(!this.stat&&Bb(this.cache,Y)){var I=this.cache[Y];if(Array.isArray(I))I="DIR";if(!z||I==="DIR")return I;if(z&&I==="FILE")return!1}var U,Q=this.statCache[Y];if(!Q){var J;try{J=this.fs.lstatSync(Y)}catch(K){if(K&&(K.code==="ENOENT"||K.code==="ENOTDIR"))return this.statCache[Y]=!1,!1}if(J&&J.isSymbolicLink())try{Q=this.fs.statSync(Y)}catch(K){Q=J}else Q=J}this.statCache[Y]=Q;var I=!0;if(Q)I=Q.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,z&&I==="FILE")return!1;return I};T6.prototype._mark=function($){return Sz.mark(this,$)};T6.prototype._makeAbs=function($){return Sz.makeAbs(this,$)}});var Pb=E((po1,qZ0)=>{qZ0.exports=ZZ0;function ZZ0($,Y){if($&&Y)return ZZ0($)(Y);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(U){z[U]=$[U]}),z;function z(){var U=Array(arguments.length);for(var Q=0;Q{var VZ0=Pb();Ab.exports=VZ0(rD);Ab.exports.strict=VZ0(LZ0);rD.proto=rD(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return rD(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return LZ0(this)},configurable:!0})});function rD($){var Y=function(){if(Y.called)return Y.value;return Y.called=!0,Y.value=$.apply(this,arguments)};return Y.called=!1,Y}function LZ0($){var Y=function(){if(Y.called)throw Error(Y.onceError);return Y.called=!0,Y.value=$.apply(this,arguments)},z=$.name||"Function wrapped with `once`";return Y.onceError=z+" shouldn't be called more than once",Y.called=!1,Y}});var wZ0=E((mo1,FZ0)=>{var kG1=Pb(),OX=Object.create(null),xG1=sD();FZ0.exports=kG1(fG1);function fG1($,Y){if(OX[$])return OX[$].push(Y),null;else return OX[$]=[Y],uG1($)}function uG1($){return xG1(function Y(){var z=OX[$],U=z.length,Q=bG1(arguments);try{for(var J=0;JU)z.splice(0,U),process.nextTick(function(){Y.apply(null,Q)});else delete OX[$]}})}function bG1($){var Y=$.length,z=[];for(var U=0;U{OZ0.exports=gz;var iG1=qb(),MZ0=dD(),lo1=MZ0.Minimatch,cG1=X1(),nG1=I0("events").EventEmitter,Tb=I0("path"),jb=I0("assert"),NX=lD(),Cb=XZ0(),yz=Nb(),pG1=yz.setopts,Eb=yz.ownProp,Rb=wZ0(),oo1=I0("util"),dG1=yz.childrenIgnored,mG1=yz.isIgnored,lG1=sD();function gz($,Y,z){if(typeof Y==="function")z=Y,Y={};if(!Y)Y={};if(Y.sync){if(z)throw TypeError("callback provided to sync glob");return Cb($,Y)}return new K4($,Y,z)}gz.sync=Cb;var oG1=gz.GlobSync=Cb.GlobSync;gz.glob=gz;function rG1($,Y){if(Y===null||typeof Y!=="object")return $;var z=Object.keys(Y),U=z.length;while(U--)$[z[U]]=Y[z[U]];return $}gz.hasMagic=function($,Y){var z=rG1({},Y);z.noprocess=!0;var U=new K4($,z),Q=U.minimatch.set;if(!$)return!1;if(Q.length>1)return!0;for(var J=0;Jthis.maxLength)return Y();if(!this.stat&&Eb(this.cache,z)){var Q=this.cache[z];if(Array.isArray(Q))Q="DIR";if(!U||Q==="DIR")return Y(null,Q);if(U&&Q==="FILE")return Y()}var J,I=this.statCache[z];if(I!==void 0)if(I===!1)return Y(null,I);else{var K=I.isDirectory()?"DIR":"FILE";if(U&&K==="FILE")return Y();else return Y(null,K,I)}var G=this,W=Rb("stat\x00"+z,H);if(W)G.fs.lstat(z,W);function H(X,Z){if(Z&&Z.isSymbolicLink())return G.fs.stat(z,function(q,V){if(q)G._stat2($,z,null,Z,Y);else G._stat2($,z,q,V,Y)});else G._stat2($,z,X,Z,Y)}};K4.prototype._stat2=function($,Y,z,U,Q){if(z&&(z.code==="ENOENT"||z.code==="ENOTDIR"))return this.statCache[Y]=!1,Q();var J=$.slice(-1)==="/";if(this.statCache[Y]=U,Y.slice(-1)==="/"&&U&&!U.isDirectory())return Q(null,!1,U);var I=!0;if(U)I=U.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,J&&I==="FILE")return Q();return Q(null,I,U)}});var PZ0=E((so1,BZ0)=>{var DZ0=l8(),FI=I0("path"),_b=su(),aG1=zb(),tG1=Gb(),eG1=Wb(),$W1=MX(),kz=BZ0.exports={},NZ0=/[\/\\]/g,YW1=function($,Y){var z=[];return _b($).forEach(function(U){var Q=U.indexOf("!")===0;if(Q)U=U.slice(1);var J=Y(U);if(Q)z=aG1(z,J);else z=tG1(z,J)}),z};kz.exists=function(){var $=FI.join.apply(FI,arguments);return DZ0.existsSync($)};kz.expand=function(...$){var Y=eG1($[0])?$.shift():{},z=Array.isArray($[0])?$[0]:$;if(z.length===0)return[];var U=YW1(z,function(Q){return $W1.sync(Q,Y)});if(Y.filter)U=U.filter(function(Q){Q=FI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return DZ0.statSync(Q)[Y.filter]()}catch(J){return!1}});return U};kz.expandMapping=function($,Y,z){z=Object.assign({rename:function(J,I){return FI.join(J||"",I)}},z);var U=[],Q={};return kz.expand(z,$).forEach(function(J){var I=J;if(z.flatten)I=FI.basename(I);if(z.ext)I=I.replace(/(\.[^\/]*)?$/,z.ext);var K=z.rename(Y,I,z);if(z.cwd)J=FI.join(z.cwd,J);if(K=K.replace(NZ0,"/"),J=J.replace(NZ0,"/"),Q[K])Q[K].src.push(J);else U.push({src:[J],dest:K}),Q[K]=U[U.length-1]}),U};kz.normalizeFilesArray=function($){var Y=[];if($.forEach(function(z){var U;if("src"in z||"dest"in z)Y.push(z)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(z){if(!("src"in z)||!z.src)return;if(Array.isArray(z.src))z.src=_b(z.src);else z.src=[z.src]}).map(function(z){var U=Object.assign({},z);if(delete U.src,delete U.dest,z.expand)return kz.expandMapping(z.src,z.dest,U).map(function(J){var I=Object.assign({},z);return I.orig=Object.assign({},z),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},z);if(Q.orig=Object.assign({},z),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=z.src,I=Array.isArray(I)?_b(I):[I],J.result=kz.expand(U,I);return J.result}});if("dest"in Q)Q.dest=z.dest;return Q}).flatten().value(),Y}});var DX=E((to1,jZ0)=>{var vb=l8(),AZ0=I0("path"),ao1=I0("util"),zW1=TD(),TZ0=jz(),UW1=hu(),QW1=I0("stream").Stream,JW1=eH0().PassThrough,X$=jZ0.exports={};X$.file=PZ0();X$.collectStream=function($,Y){var z=[],U=0;$.on("error",Y),$.on("data",function(Q){z.push(Q),U+=Q.length}),$.on("end",function(){var Q=new Buffer(U),J=0;z.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};X$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};X$.defaults=function($,Y,z){var U=arguments;return U[0]=U[0]||{},UW1(...U)};X$.isStream=function($){return $ instanceof QW1};X$.lazyReadStream=function($){return new zW1.Readable(function(){return vb.createReadStream($)})};X$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(X$.isStream($)&&!$._readableState){var Y=new JW1;return $.pipe(Y),Y}return $};X$.sanitizePath=function($){return TZ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};X$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};X$.unixifyPath=function($){return TZ0($,!1).replace(/^\w+:/,"")};X$.walkdir=function($,Y,z){var U=[];if(typeof Y==="function")z=Y,Y=$;vb.readdir($,function(Q,J){var I=0,K,G;if(Q)return z(Q);(function W(){if(K=J[I++],!K)return z(null,U);G=AZ0.join($,K),vb.stat(G,function(H,X){if(U.push({path:G,relative:AZ0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())X$.walkdir(G,Y,function(Z,q){q.forEach(function(V){U.push(V)}),W()});else W()})})()})}});var _Z0=E((CZ0,RZ0)=>{var IW1=I0("util"),KW1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function EZ0($,Y){Error.captureStackTrace(this,this.constructor),this.message=KW1[$]||$,this.code=$,this.data=Y}IW1.inherits(EZ0,Error);CZ0=RZ0.exports=EZ0});var yZ0=E((eo1,gZ0)=>{var gb=I0("fs"),hZ0=ZW0(),vZ0=Gu(),hb=I0("path"),Z9=DX(),GW1=I0("util").inherits,U6=_Z0(),SZ0=E8().Transform,Sb=process.platform==="win32",a1=function($,Y){if(!(this instanceof a1))return new a1($,Y);if(typeof $!=="string")Y=$,$="zip";Y=this.options=Z9.defaults(Y,{highWaterMark:1048576,statConcurrency:4}),SZ0.call(this,Y),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=vZ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=vZ0.queue(this._onStatQueueTask.bind(this),Y.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};GW1(a1,SZ0);a1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};a1.prototype._append=function($,Y){Y=Y||{};var z={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,z.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof gb.Stats){if(z=this._updateQueueTaskWithStats(z,Y.stats),z){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(z)}}else this._statQueue.push(z)};a1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};a1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};a1.prototype._moduleAppend=function($,Y,z){if(this._state.aborted){z();return}this._module.append($,Y,function(U){if(this._task=null,this._state.aborted){this._shutdown();return}if(U){this.emit("error",U),setImmediate(z);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(z)}.bind(this))};a1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new U6("NOENDMETHOD"))};a1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};a1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};a1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};a1.prototype._normalizeEntryData=function($,Y){if($=Z9.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),Y&&$.stats===!1)$.stats=Y;var z=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=Z9.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")z=!0,$.type="directory";else if(z)$.name+="/"}if(typeof $.mode==="number")if(Sb)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(Sb)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(Sb&&z)$.mode=493}else if($.mode===null)$.mode=z?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=Z9.dateify($.date);return $};a1.prototype._onModuleError=function($){this.emit("error",$)};a1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};a1.prototype._onQueueTask=function($,Y){var z=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){z();return}this._task=$,this._moduleAppend($.source,$.data,z)};a1.prototype._onStatQueueTask=function($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}gb.lstat($.filepath,function(z,U){if(this._state.aborted){setImmediate(Y);return}if(z){this._entriesCount--,this.emit("warning",z),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,U),$){if(U.size)this._fsEntriesTotalBytes+=U.size;this._queue.push($)}setImmediate(Y)}.bind(this))};a1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};a1.prototype._transform=function($,Y,z){if($)this._pointer+=$.length;z(null,$)};a1.prototype._updateQueueTaskWithStats=function($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=Z9.lazyReadStream($.filepath);else if(Y.isDirectory()&&this._moduleSupports("directory"))$.data.name=Z9.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=Z9.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._moduleSupports("symlink")){var z=gb.readlinkSync($.filepath),U=hb.dirname($.filepath);$.data.type="symlink",$.data.linkname=hb.relative(U,hb.resolve(U,z)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new U6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new U6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new U6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$};a1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};a1.prototype.append=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new U6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new U6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=Z9.normalizeInputSource($),Buffer.isBuffer($))Y.sourceType="buffer";else if(Z9.isStream($))Y.sourceType="stream";else return this.emit("error",new U6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this};a1.prototype.directory=function($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new U6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var U=!1;if(typeof z==="function")U=z,z={};else if(typeof z!=="object")z={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(W){this.emit("error",W)}function K(W){G.pause();var H=!1,X=Object.assign({},z);X.name=W.relative,X.prefix=Y,X.stats=W.stat,X.callback=G.resume.bind(G);try{if(U){if(X=U(X),X===!1)H=!0;else if(typeof X!=="object")throw new U6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(H){G.resume();return}this._append(W.absolute,X)}var G=hZ0($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this};a1.prototype.file=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new U6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this};a1.prototype.glob=function($,Y,z){this._pending++,Y=Z9.defaults(Y,{stat:!0,pattern:$});function U(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();var G=Object.assign({},z);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}var I=hZ0(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",U.bind(this)),this};a1.prototype.finalize=function(){if(this._state.aborted){var $=new U6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new U6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var z=this;return new Promise(function(U,Q){var J;z._module.on("end",function(){if(!J)U()}),z._module.on("error",function(I){J=!0,Q(I)})})};a1.prototype.setFormat=function($){if(this._format)return this.emit("error",new U6("FORMATSET")),this;return this._format=$,this};a1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new U6("ABORTED")),this;if(this._state.module)return this.emit("error",new U6("MODULESET")),this;return this._module=$,this._modulePipe(),this};a1.prototype.symlink=function($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new U6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new U6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new U6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new U6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var U={};if(U.type="symlink",U.name=$.replace(/\\/g,"/"),U.linkname=Y.replace(/\\/g,"/"),U.sourceType="buffer",typeof z==="number")U.mode=z;return this._entriesCount++,this._queue.push({data:U,source:Buffer.concat([])}),this};a1.prototype.pointer=function(){return this._pointer};a1.prototype.use=function($){return this._streams.push($),this};gZ0.exports=a1});var tD=E(($r1,kZ0)=>{var aD=kZ0.exports=function(){};aD.prototype.getName=function(){};aD.prototype.getSize=function(){};aD.prototype.getLastModifiedDate=function(){};aD.prototype.isDirectory=function(){}});var eD=E((Yr1,xZ0)=>{var g$=xZ0.exports={};g$.dateToDos=function($,Y){Y=Y||!1;var z=Y?$.getFullYear():$.getUTCFullYear();if(z<1980)return 2162688;else if(z>=2044)return 2141175677;var U={year:z,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return U.year-1980<<25|U.month+1<<21|U.date<<16|U.hours<<11|U.minutes<<5|U.seconds/2};g$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};g$.fromDosTime=function($){return g$.dosToDate($.readUInt32LE(0))};g$.getEightBytes=function($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y};g$.getShortBytes=function($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y};g$.getShortBytesValue=function($,Y){return $.readUInt16LE(Y)};g$.getLongBytes=function($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y};g$.getLongBytesValue=function($,Y){return $.readUInt32LE(Y)};g$.toDosTime=function($){return g$.getLongBytes(g$.dateToDos($))}});var yb=E((zr1,nZ0)=>{var fZ0=eD(),uZ0=8,bZ0=1,WW1=4,HW1=2,iZ0=64,cZ0=2048,e6=nZ0.exports=function(){if(!(this instanceof e6))return new e6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};e6.prototype.encode=function(){return fZ0.getShortBytes((this.descriptor?uZ0:0)|(this.utf8?cZ0:0)|(this.encryption?bZ0:0)|(this.strongEncryption?iZ0:0))};e6.prototype.parse=function($,Y){var z=fZ0.getShortBytesValue($,Y),U=new e6;return U.useDataDescriptor((z&uZ0)!==0),U.useUTF8ForNames((z&cZ0)!==0),U.useStrongEncryption((z&iZ0)!==0),U.useEncryption((z&bZ0)!==0),U.setSlidingDictionarySize((z&HW1)!==0?8192:4096),U.setNumberOfShannonFanoTrees((z&WW1)!==0?3:2),U};e6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};e6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};e6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};e6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};e6.prototype.useDataDescriptor=function($){this.descriptor=$};e6.prototype.usesDataDescriptor=function(){return this.descriptor};e6.prototype.useEncryption=function($){this.encryption=$};e6.prototype.usesEncryption=function(){return this.encryption};e6.prototype.useStrongEncryption=function($){this.strongEncryption=$};e6.prototype.usesStrongEncryption=function(){return this.strongEncryption};e6.prototype.useUTF8ForNames=function($){this.utf8=$};e6.prototype.usesUTF8ForNames=function(){return this.utf8}});var dZ0=E((Ur1,pZ0)=>{pZ0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var kb=E((Qr1,mZ0)=>{mZ0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var xb=E((Jr1,aZ0)=>{var XW1=I0("util").inherits,ZW1=jz(),oZ0=tD(),rZ0=yb(),lZ0=dZ0(),_8=kb(),sZ0=eD(),R1=aZ0.exports=function($){if(!(this instanceof R1))return new R1($);if(oZ0.call(this),this.platform=_8.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new rZ0,this.crc=0,this.time=-1,this.minver=_8.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};XW1(R1,oZ0);R1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};R1.prototype.getComment=function(){return this.comment!==null?this.comment:""};R1.prototype.getCompressedSize=function(){return this.csize};R1.prototype.getCrc=function(){return this.crc};R1.prototype.getExternalAttributes=function(){return this.exattr};R1.prototype.getExtra=function(){return this.extra!==null?this.extra:_8.EMPTY};R1.prototype.getGeneralPurposeBit=function(){return this.gpb};R1.prototype.getInternalAttributes=function(){return this.inattr};R1.prototype.getLastModifiedDate=function(){return this.getTime()};R1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};R1.prototype.getMethod=function(){return this.method};R1.prototype.getName=function(){return this.name};R1.prototype.getPlatform=function(){return this.platform};R1.prototype.getSize=function(){return this.size};R1.prototype.getTime=function(){return this.time!==-1?sZ0.dosToDate(this.time):-1};R1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};R1.prototype.getUnixMode=function(){return this.platform!==_8.PLATFORM_UNIX?0:this.getExternalAttributes()>>_8.SHORT_SHIFT&_8.SHORT_MASK};R1.prototype.getVersionNeededToExtract=function(){return this.minver};R1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};R1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};R1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};R1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};R1.prototype.setExtra=function($){this.extra=$};R1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof rZ0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};R1.prototype.setInternalAttributes=function($){this.inattr=$};R1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};R1.prototype.setName=function($,Y=!1){if($=ZW1($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};R1.prototype.setPlatform=function($){this.platform=$};R1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};R1.prototype.setTime=function($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=sZ0.dateToDos($,Y)};R1.prototype.setUnixMode=function($){$|=this.isDirectory()?_8.S_IFDIR:_8.S_IFREG;var Y=0;Y|=$<<_8.SHORT_SHIFT|(this.isDirectory()?_8.S_DOS_D:_8.S_DOS_A),this.setExternalAttributes(Y),this.mode=$&_8.MODE_MASK,this.platform=_8.PLATFORM_UNIX};R1.prototype.setVersionNeededToExtract=function($){this.minver=$};R1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};R1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&lZ0.FILE_TYPE_FLAG)===lZ0.LINK_FLAG};R1.prototype.isZip64=function(){return this.csize>_8.ZIP64_MAGIC||this.size>_8.ZIP64_MAGIC}});var ub=E((Ir1,tZ0)=>{var qW1=I0("stream").Stream,VW1=E8().PassThrough,fb=tZ0.exports={};fb.isStream=function($){return $ instanceof qW1};fb.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(fb.isStream($)&&!$._readableState){var Y=new VW1;return $.pipe(Y),Y}return $}});var ib=E((Kr1,$q0)=>{var LW1=I0("util").inherits,bb=E8().Transform,FW1=tD(),eZ0=ub(),Z$=$q0.exports=function($){if(!(this instanceof Z$))return new Z$($);bb.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};LW1(Z$,bb);Z$.prototype._appendBuffer=function($,Y,z){};Z$.prototype._appendStream=function($,Y,z){};Z$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};Z$.prototype._finish=function($){};Z$.prototype._normalizeEntry=function($){};Z$.prototype._transform=function($,Y,z){z(null,$)};Z$.prototype.entry=function($,Y,z){if(Y=Y||null,typeof z!=="function")z=this._emitErrorCallback.bind(this);if(!($ instanceof FW1)){z(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){z(Error("unacceptable entry after finish"));return}if(this._archive.processing){z(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=eZ0.normalizeInputSource(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,z);else if(eZ0.isStream(Y))this._appendStream($,Y,z);else{this._archive.processing=!1,z(Error("input source must be valid Stream or Buffer instance"));return}return this};Z$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Z$.prototype.getBytesWritten=function(){return this.offset};Z$.prototype.write=function($,Y){if($)this.offset+=$.length;return bb.prototype.write.call(this,$,Y)}});var db=E((Gr1,zq0)=>{var V2=I0("buffer").Buffer,cb=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")cb=new Int32Array(cb);function Yq0($){if(V2.isBuffer($))return $;var Y=typeof V2.alloc==="function"&&typeof V2.from==="function";if(typeof $==="number")return Y?V2.alloc($):new V2($);else if(typeof $==="string")return Y?V2.from($):new V2($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function wW1($){var Y=Yq0(4);return Y.writeInt32BE($,0),Y}function nb($,Y){if($=Yq0($),V2.isBuffer(Y))Y=Y.readUInt32BE(0);var z=~~Y^-1;for(var U=0;U<$.length;U++)z=cb[(z^$[U])&255]^z>>>8;return z^-1}function pb(){return wW1(nb.apply(null,arguments))}pb.signed=function(){return nb.apply(null,arguments)};pb.unsigned=function(){return nb.apply(null,arguments)>>>0};zq0.exports=pb});var wI=E((mb)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var Uq0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof mb==="object")$(mb);else if(typeof define==="function"&&define.amd)define(function(){var Y={};return $(Y),Y});else $(Uq0={});else $(Uq0={})})(function($){$.version="1.2.2";function Y(){var B=0,j=Array(256);for(var C=0;C!=256;++C)B=C,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,B=B&1?-306674912^B>>>1:B>>>1,j[C]=B;return typeof Int32Array<"u"?new Int32Array(j):j}var z=Y();function U(B){var j=0,C=0,b=0,k=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(b=0;b!=256;++b)k[b]=B[b];for(b=0;b!=256;++b){C=B[b];for(j=256+b;j<4096;j+=256)C=k[j]=C>>>8^B[C&255]}var h=[];for(b=1;b!=16;++b)h[b-1]=typeof Int32Array<"u"?k.subarray(b*256,b*256+256):k.slice(b*256,b*256+256);return h}var Q=U(z),J=Q[0],I=Q[1],K=Q[2],G=Q[3],W=Q[4],H=Q[5],X=Q[6],Z=Q[7],q=Q[8],V=Q[9],F=Q[10],M=Q[11],w=Q[12],O=Q[13],N=Q[14];function D(B,j){var C=j^-1;for(var b=0,k=B.length;b>>8^z[(C^B.charCodeAt(b++))&255];return~C}function T(B,j){var C=j^-1,b=B.length-15,k=0;for(;k>8&255]^w[B[k++]^C>>16&255]^M[B[k++]^C>>>24]^F[B[k++]]^V[B[k++]]^q[B[k++]]^Z[B[k++]]^X[B[k++]]^H[B[k++]]^W[B[k++]]^G[B[k++]]^K[B[k++]]^I[B[k++]]^J[B[k++]]^z[B[k++]];b+=15;while(k>>8^z[(C^B[k++])&255];return~C}function A(B,j){var C=j^-1;for(var b=0,k=B.length,h=0,i=0;b>>8^z[(C^h)&255];else if(h<2048)C=C>>>8^z[(C^(192|h>>6&31))&255],C=C>>>8^z[(C^(128|h&63))&255];else if(h>=55296&&h<57344)h=(h&1023)+64,i=B.charCodeAt(b++)&1023,C=C>>>8^z[(C^(240|h>>8&7))&255],C=C>>>8^z[(C^(128|h>>2&63))&255],C=C>>>8^z[(C^(128|i>>6&15|(h&3)<<4))&255],C=C>>>8^z[(C^(128|i&63))&255];else C=C>>>8^z[(C^(224|h>>12&15))&255],C=C>>>8^z[(C^(128|h>>6&63))&255],C=C>>>8^z[(C^(128|h&63))&255];return~C}$.table=z,$.bstr=D,$.buf=T,$.str=A})});var Iq0=E((Hr1,Jq0)=>{var{Transform:MW1}=E8(),OW1=wI();class Qq0 extends MW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,z){if($)this.checksum=OW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;z(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}Jq0.exports=Qq0});var Wq0=E((Xr1,Gq0)=>{var{DeflateRaw:NW1}=I0("zlib"),DW1=wI();class Kq0 extends NW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,z){if($)this.checksum=DW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,z)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}Gq0.exports=Kq0});var lb=E((Zr1,Hq0)=>{Hq0.exports={CRC32Stream:Iq0(),DeflateCRC32Stream:Wq0()}});var qq0=E((Fr1,Zq0)=>{var BW1=I0("util").inherits,PW1=db(),{CRC32Stream:AW1}=lb(),{DeflateCRC32Stream:TW1}=lb(),Xq0=ib(),qr1=xb(),Vr1=yb(),O1=kb(),Lr1=ub(),K1=eD(),g6=Zq0.exports=function($){if(!(this instanceof g6))return new g6($);$=this.options=this._defaults($),Xq0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};BW1(g6,Xq0);g6.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};g6.prototype._appendBuffer=function($,Y,z){if(Y.length===0)$.setMethod(O1.METHOD_STORED);var U=$.getMethod();if(U===O1.METHOD_STORED)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(PW1.unsigned(Y));if(this._writeLocalFileHeader($),U===O1.METHOD_STORED){this.write(Y),this._afterAppend($),z(null,$);return}else if(U===O1.METHOD_DEFLATED){this._smartStream($,z).end(Y);return}else{z(Error("compression method "+U+" not implemented"));return}};g6.prototype._appendStream=function($,Y,z){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var U=this._smartStream($,z);Y.once("error",function(Q){U.emit("error",Q),U.end()}),Y.pipe(U)};g6.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=O1.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};g6.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};g6.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(O1.METHOD_DEFLATED);if($.getMethod()===O1.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};g6.prototype._smartStream=function($,Y){var z=$.getMethod()===O1.METHOD_DEFLATED,U=z?new TW1(this.options.zlib):new AW1,Q=null;function J(){var I=U.digest().readUInt32BE(0);$.setCrc(I),$.setSize(U.size()),$.setCompressedSize(U.size(!0)),this._afterAppend($),Y(Q,$)}return U.once("end",J.bind(this)),U.once("error",function(I){Q=I}),U.pipe(this,{end:!1}),U};g6.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,Y=this._archive.centralLength,z=this._archive.centralOffset;if(this.isZip64())$=O1.ZIP64_MAGIC_SHORT,Y=O1.ZIP64_MAGIC,z=O1.ZIP64_MAGIC;this.write(K1.getLongBytes(O1.SIG_EOCD)),this.write(O1.SHORT_ZERO),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($)),this.write(K1.getShortBytes($)),this.write(K1.getLongBytes(Y)),this.write(K1.getLongBytes(z));var U=this.getComment(),Q=Buffer.byteLength(U);this.write(K1.getShortBytes(Q)),this.write(U)};g6.prototype._writeCentralDirectoryZip64=function(){this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD)),this.write(K1.getEightBytes(44)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._archive.centralLength)),this.write(K1.getEightBytes(this._archive.centralOffset)),this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD_LOC)),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(K1.getLongBytes(1))};g6.prototype._writeCentralFileHeader=function($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$._offsets,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||U.file>O1.ZIP64_MAGIC){Q=O1.ZIP64_MAGIC,J=O1.ZIP64_MAGIC,$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);var I=Buffer.concat([K1.getShortBytes(O1.ZIP64_EXTRA_ID),K1.getShortBytes(24),K1.getEightBytes($.getSize()),K1.getEightBytes($.getCompressedSize()),K1.getEightBytes(U.file)],28);$.setExtra(I)}this.write(K1.getLongBytes(O1.SIG_CFH)),this.write(K1.getShortBytes($.getPlatform()<<8|O1.VERSION_MADEBY)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(z)),this.write(K1.getLongBytes($.getTimeDos())),this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes(J)),this.write(K1.getLongBytes(Q));var K=$.getName(),G=$.getComment(),W=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);if(this.write(K1.getShortBytes(K.length)),this.write(K1.getShortBytes(W.length)),this.write(K1.getShortBytes(G.length)),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($.getInternalAttributes())),this.write(K1.getLongBytes($.getExternalAttributes())),U.file>O1.ZIP64_MAGIC)this.write(K1.getLongBytes(O1.ZIP64_MAGIC));else this.write(K1.getLongBytes(U.file));this.write(K),this.write(W),this.write(G)};g6.prototype._writeDataDescriptor=function($){if(this.write(K1.getLongBytes(O1.SIG_DD)),this.write(K1.getLongBytes($.getCrc())),$.isZip64())this.write(K1.getEightBytes($.getCompressedSize())),this.write(K1.getEightBytes($.getSize()));else this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()))};g6.prototype._writeLocalFileHeader=function($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);if(Y.usesUTF8ForNames())U=Buffer.from(U);if($._offsets.file=this.offset,this.write(K1.getLongBytes(O1.SIG_LFH)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(z)),this.write(K1.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO);else this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()));this.write(K1.getShortBytes(U.length)),this.write(K1.getShortBytes(Q.length)),this.write(U),this.write(Q),$._offsets.contents=this.offset};g6.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};g6.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>O1.ZIP64_MAGIC_SHORT||this._archive.centralLength>O1.ZIP64_MAGIC||this._archive.centralOffset>O1.ZIP64_MAGIC};g6.prototype.setComment=function($){this._archive.comment=$}});var ob=E((wr1,Vq0)=>{Vq0.exports={ArchiveEntry:tD(),ZipArchiveEntry:xb(),ArchiveOutputStream:ib(),ZipArchiveOutputStream:qq0()}});var Mq0=E((Mr1,wq0)=>{var Fq0=l8(),MI=I0("path"),rb=su(),jW1=zb(),EW1=Gb(),CW1=Wb(),RW1=MX(),xz=wq0.exports={},Lq0=/[\/\\]/g,_W1=function($,Y){var z=[];return rb($).forEach(function(U){var Q=U.indexOf("!")===0;if(Q)U=U.slice(1);var J=Y(U);if(Q)z=jW1(z,J);else z=EW1(z,J)}),z};xz.exists=function(){var $=MI.join.apply(MI,arguments);return Fq0.existsSync($)};xz.expand=function(...$){var Y=CW1($[0])?$.shift():{},z=Array.isArray($[0])?$[0]:$;if(z.length===0)return[];var U=_W1(z,function(Q){return RW1.sync(Q,Y)});if(Y.filter)U=U.filter(function(Q){Q=MI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return Fq0.statSync(Q)[Y.filter]()}catch(J){return!1}});return U};xz.expandMapping=function($,Y,z){z=Object.assign({rename:function(J,I){return MI.join(J||"",I)}},z);var U=[],Q={};return xz.expand(z,$).forEach(function(J){var I=J;if(z.flatten)I=MI.basename(I);if(z.ext)I=I.replace(/(\.[^\/]*)?$/,z.ext);var K=z.rename(Y,I,z);if(z.cwd)J=MI.join(z.cwd,J);if(K=K.replace(Lq0,"/"),J=J.replace(Lq0,"/"),Q[K])Q[K].src.push(J);else U.push({src:[J],dest:K}),Q[K]=U[U.length-1]}),U};xz.normalizeFilesArray=function($){var Y=[];if($.forEach(function(z){var U;if("src"in z||"dest"in z)Y.push(z)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(z){if(!("src"in z)||!z.src)return;if(Array.isArray(z.src))z.src=rb(z.src);else z.src=[z.src]}).map(function(z){var U=Object.assign({},z);if(delete U.src,delete U.dest,z.expand)return xz.expandMapping(z.src,z.dest,U).map(function(J){var I=Object.assign({},z);return I.orig=Object.assign({},z),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},z);if(Q.orig=Object.assign({},z),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=z.src,I=Array.isArray(I)?rb(I):[I],J.result=xz.expand(U,I);return J.result}});if("dest"in Q)Q.dest=z.dest;return Q}).flatten().value(),Y}});var Bq0=E((Or1,Dq0)=>{var sb=l8(),Oq0=I0("path"),vW1=TD(),Nq0=jz(),hW1=hu(),SW1=I0("stream").Stream,gW1=E8().PassThrough,q$=Dq0.exports={};q$.file=Mq0();q$.collectStream=function($,Y){var z=[],U=0;$.on("error",Y),$.on("data",function(Q){z.push(Q),U+=Q.length}),$.on("end",function(){var Q=Buffer.alloc(U),J=0;z.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};q$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};q$.defaults=function($,Y,z){var U=arguments;return U[0]=U[0]||{},hW1(...U)};q$.isStream=function($){return $ instanceof SW1};q$.lazyReadStream=function($){return new vW1.Readable(function(){return sb.createReadStream($)})};q$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(q$.isStream($))return $.pipe(new gW1);return $};q$.sanitizePath=function($){return Nq0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};q$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};q$.unixifyPath=function($){return Nq0($,!1).replace(/^\w+:/,"")};q$.walkdir=function($,Y,z){var U=[];if(typeof Y==="function")z=Y,Y=$;sb.readdir($,function(Q,J){var I=0,K,G;if(Q)return z(Q);(function W(){if(K=J[I++],!K)return z(null,U);G=Oq0.join($,K),sb.stat(G,function(H,X){if(U.push({path:G,relative:Oq0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())q$.walkdir(G,Y,function(Z,q){q.forEach(function(V){U.push(V)}),W()});else W()})})()})}});var Aq0=E((Nr1,Pq0)=>{var yW1=I0("util").inherits,tb=ob().ZipArchiveOutputStream,kW1=ob().ZipArchiveEntry,ab=Bq0(),OI=Pq0.exports=function($){if(!(this instanceof OI))return new OI($);if($=this.options=$||{},$.zlib=$.zlib||{},tb.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};yW1(OI,tb);OI.prototype._normalizeFileData=function($){$=ab.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var Y=$.type==="directory",z=$.type==="symlink";if($.name){if($.name=ab.sanitizePath($.name),!z&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||z)$.store=!0;return $.date=ab.dateify($.date),$};OI.prototype.entry=function($,Y,z){if(typeof z!=="function")z=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){z(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){z(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){z(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var U=new kW1(Y.name);if(U.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)U.setName(Y.name,!0);if(Y.store)U.setMethod(0);if(Y.comment.length>0)U.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;U.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return tb.prototype.entry.call(this,U,$,z)};OI.prototype.finalize=function(){this.finish()}});var jq0=E((Dr1,Tq0)=>{var xW1=Aq0(),fW1=DX(),L2=function($){if(!(this instanceof L2))return new L2($);$=this.options=fW1.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new xW1($)};L2.prototype.append=function($,Y,z){this.engine.entry($,Y,z)};L2.prototype.finalize=function(){this.engine.finalize()};L2.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};L2.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};L2.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};Tq0.exports=L2});var hq0=E((Br1,vq0)=>{function Eq0($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function Cq0($){for(var Y=1;Y0)this.tail.next=U;else this.head=U;this.tail=U,++this.length}},{key:"unshift",value:function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q}},{key:"concat",value:function(z){if(this.length===0)return $B.alloc(0);var U=$B.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)mW1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U}},{key:"consume",value:function(z,U){var Q;if(zI.length?I.length:z;if(K===I.length)J+=I;else J+=I.slice(0,z);if(z-=K,z===0){if(K===I.length)if(++Q,U.next)this.head=U.next;else this.head=this.tail=null;else this.head=U,U.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(z){var U=$B.allocUnsafe(z),Q=this.head,J=1;Q.data.copy(U),z-=Q.data.length;while(Q=Q.next){var I=Q.data,K=z>I.length?I.length:z;if(I.copy(U,U.length-z,0,K),z-=K,z===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,U}},{key:dW1,value:function(z,U){return eb(this,Cq0(Cq0({},U),{},{depth:0,customInspect:!1}))}}]),$}()});var Yi=E((Pr1,gq0)=>{function lW1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick($i,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick($i,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!z._writableState)process.nextTick(Sq0,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,process.nextTick(Sq0,z,J);else process.nextTick(YB,z);else if(Y)process.nextTick(YB,z),Y(J);else process.nextTick(YB,z)}),this}function Sq0($,Y){$i($,Y),YB($)}function YB($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function oW1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function $i($,Y){$.emit("error",Y)}function rW1($,Y){var{_readableState:z,_writableState:U}=$;if(z&&z.autoDestroy||U&&U.autoDestroy)$.destroy(Y);else $.emit("error",Y)}gq0.exports={destroy:lW1,undestroy:oW1,errorOrDestroy:rW1}});var F2=E((eW1,xq0)=>{var kq0={};function y$($,Y,z){if(!z)z=Error;function U(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends z{constructor(J,I,K){super(U(J,I,K))}}Q.prototype.name=z.name,Q.prototype.code=$,kq0[$]=Q}function yq0($,Y){if(Array.isArray($)){let z=$.length;if($=$.map((U)=>String(U)),z>2)return`one of ${Y} ${$.slice(0,z-1).join(", ")}, or `+$[z-1];else if(z===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function sW1($,Y,z){return $.substr(!z||z<0?0:+z,Y.length)===Y}function aW1($,Y,z){if(z===void 0||z>$.length)z=$.length;return $.substring(z-Y.length,z)===Y}function tW1($,Y,z){if(typeof z!=="number")z=0;if(z+Y.length>$.length)return!1;else return $.indexOf(Y,z)!==-1}y$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);y$("ERR_INVALID_ARG_TYPE",function($,Y,z){let U;if(typeof Y==="string"&&sW1(Y,"not "))U="must not be",Y=Y.replace(/^not /,"");else U="must be";let Q;if(aW1($," argument"))Q=`The ${$} ${U} ${yq0(Y,"type")}`;else{let J=tW1($,".")?"property":"argument";Q=`The "${$}" ${J} ${U} ${yq0(Y,"type")}`}return Q+=`. Received type ${typeof z}`,Q},TypeError);y$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");y$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});y$("ERR_STREAM_PREMATURE_CLOSE","Premature close");y$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});y$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");y$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");y$("ERR_STREAM_WRITE_AFTER_END","write after end");y$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);y$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);y$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");eW1.codes=kq0});var zi=E((Ar1,fq0)=>{var YH1=F2().codes.ERR_INVALID_OPT_VALUE;function zH1($,Y,z){return $.highWaterMark!=null?$.highWaterMark:Y?$[z]:null}function UH1($,Y,z,U){var Q=zH1(Y,U,z);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=U?z:"highWaterMark";throw new YH1(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}fq0.exports={getHighWaterMark:UH1}});var Ji=E((Tr1,pq0)=>{pq0.exports=Q6;function bq0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){_H1(Y,$)}}var NI;Q6.WritableState=PX;var QH1={deprecate:S3()},iq0=I0("stream"),UB=I0("buffer").Buffer,JH1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function IH1($){return UB.from($)}function KH1($){return UB.isBuffer($)||$ instanceof JH1}var Qi=Yi(),GH1=zi(),WH1=GH1.getHighWaterMark,w2=F2().codes,HH1=w2.ERR_INVALID_ARG_TYPE,XH1=w2.ERR_METHOD_NOT_IMPLEMENTED,ZH1=w2.ERR_MULTIPLE_CALLBACK,qH1=w2.ERR_STREAM_CANNOT_PIPE,VH1=w2.ERR_STREAM_DESTROYED,LH1=w2.ERR_STREAM_NULL_VALUES,FH1=w2.ERR_STREAM_WRITE_AFTER_END,wH1=w2.ERR_UNKNOWN_ENCODING,DI=Qi.errorOrDestroy;X1()(Q6,iq0);function MH1(){}function PX($,Y,z){if(NI=NI||fz(),$=$||{},typeof z!=="boolean")z=Y instanceof NI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=WH1(this,$,"writableHighWaterMark",z),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var U=$.decodeStrings===!1;this.decodeStrings=!U,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){TH1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new bq0(this)}PX.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(PX.prototype,"buffer",{get:QH1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var zB;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")zB=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q6,Symbol.hasInstance,{value:function(Y){if(zB.call(this,Y))return!0;if(this!==Q6)return!1;return Y&&Y._writableState instanceof PX}});else zB=function(Y){return Y instanceof this};function Q6($){NI=NI||fz();var Y=this instanceof NI;if(!Y&&!zB.call(Q6,this))return new Q6($);if(this._writableState=new PX($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}iq0.call(this)}Q6.prototype.pipe=function(){DI(this,new qH1)};function OH1($,Y){var z=new FH1;DI($,z),process.nextTick(Y,z)}function NH1($,Y,z,U){var Q;if(z===null)Q=new LH1;else if(typeof z!=="string"&&!Y.objectMode)Q=new HH1("chunk",["string","Buffer"],z);if(Q)return DI($,Q),process.nextTick(U,Q),!1;return!0}Q6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&KH1($);if(J&&!UB.isBuffer($))$=IH1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=MH1;if(U.ending)OH1(this,z);else if(J||NH1(this,U,$,z))U.pendingcb++,Q=BH1(this,U,J,$,Y,z);return Q};Q6.prototype.cork=function(){this._writableState.corked++};Q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)cq0(this,$)}};Q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new wH1(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(Q6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function DH1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=UB.from(Y,z);return Y}Object.defineProperty(Q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function BH1($,Y,z,U,Q,J){if(!z){var I=DH1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var vH1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};mq0.exports=q9;var dq0=Ki(),Ii=Ji();X1()(q9,dq0);{QB=vH1(Ii.prototype);for(AX=0;AX{var lq0=F2().codes.ERR_STREAM_PREMATURE_CLOSE;function gH1($){var Y=!1;return function(){if(Y)return;Y=!0;for(var z=arguments.length,U=Array(z),Q=0;Q{var IB;function M2($,Y,z){if(Y=xH1(Y),Y in $)Object.defineProperty($,Y,{value:z,enumerable:!0,configurable:!0,writable:!0});else $[Y]=z;return $}function xH1($){var Y=fH1($,"string");return typeof Y==="symbol"?Y:String(Y)}function fH1($,Y){if(typeof $!=="object"||$===null)return $;var z=$[Symbol.toPrimitive];if(z!==void 0){var U=z.call($,Y||"default");if(typeof U!=="object")return U;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var uH1=JB(),O2=Symbol("lastResolve"),uz=Symbol("lastReject"),jX=Symbol("error"),KB=Symbol("ended"),bz=Symbol("lastPromise"),Gi=Symbol("handlePromise"),iz=Symbol("stream");function N2($,Y){return{value:$,done:Y}}function bH1($){var Y=$[O2];if(Y!==null){var z=$[iz].read();if(z!==null)$[bz]=null,$[O2]=null,$[uz]=null,Y(N2(z,!1))}}function iH1($){process.nextTick(bH1,$)}function cH1($,Y){return function(z,U){$.then(function(){if(Y[KB]){z(N2(void 0,!0));return}Y[Gi](z,U)},U)}}var nH1=Object.getPrototypeOf(function(){}),pH1=Object.setPrototypeOf((IB={get stream(){return this[iz]},next:function(){var Y=this,z=this[jX];if(z!==null)return Promise.reject(z);if(this[KB])return Promise.resolve(N2(void 0,!0));if(this[iz].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[jX])K(Y[jX]);else I(N2(void 0,!0))})});var U=this[bz],Q;if(U)Q=new Promise(cH1(U,this));else{var J=this[iz].read();if(J!==null)return Promise.resolve(N2(J,!1));Q=new Promise(this[Gi])}return this[bz]=Q,Q}},M2(IB,Symbol.asyncIterator,function(){return this}),M2(IB,"return",function(){var Y=this;return new Promise(function(z,U){Y[iz].destroy(null,function(Q){if(Q){U(Q);return}z(N2(void 0,!0))})})}),IB),nH1),dH1=function(Y){var z,U=Object.create(pH1,(z={},M2(z,iz,{value:Y,writable:!0}),M2(z,O2,{value:null,writable:!0}),M2(z,uz,{value:null,writable:!0}),M2(z,jX,{value:null,writable:!0}),M2(z,KB,{value:Y._readableState.endEmitted,writable:!0}),M2(z,Gi,{value:function(J,I){var K=U[iz].read();if(K)U[bz]=null,U[O2]=null,U[uz]=null,J(N2(K,!1));else U[O2]=J,U[uz]=I},writable:!0}),z));return U[bz]=null,uH1(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=U[uz];if(J!==null)U[bz]=null,U[O2]=null,U[uz]=null,J(Q);U[jX]=Q;return}var I=U[O2];if(I!==null)U[bz]=null,U[O2]=null,U[uz]=null,I(N2(void 0,!0));U[KB]=!0}),Y.on("readable",iH1.bind(null,U)),U};sq0.exports=dH1});var YV0=E((Rr1,$V0)=>{function tq0($,Y,z,U,Q,J,I){try{var K=$[J](I),G=K.value}catch(W){z(W);return}if(K.done)Y(G);else Promise.resolve(G).then(U,Q)}function mH1($){return function(){var Y=this,z=arguments;return new Promise(function(U,Q){var J=$.apply(Y,z);function I(G){tq0(J,U,Q,I,K,"next",G)}function K(G){tq0(J,U,Q,I,K,"throw",G)}I(void 0)})}}function eq0($,Y){var z=Object.keys($);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols($);Y&&(U=U.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),z.push.apply(z,U)}return z}function lH1($){for(var Y=1;Y{XV0.exports=d1;var BI;d1.ReadableState=JV0;var _r1=I0("events").EventEmitter,QV0=function(Y,z){return Y.listeners(z).length},CX=I0("stream"),GB=I0("buffer").Buffer,eH1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function $X1($){return GB.from($)}function YX1($){return GB.isBuffer($)||$ instanceof eH1}var Wi=I0("util"),_1;if(Wi&&Wi.debuglog)_1=Wi.debuglog("stream");else _1=function(){};var zX1=hq0(),Fi=Yi(),UX1=zi(),QX1=UX1.getHighWaterMark,WB=F2().codes,JX1=WB.ERR_INVALID_ARG_TYPE,IX1=WB.ERR_STREAM_PUSH_AFTER_EOF,KX1=WB.ERR_METHOD_NOT_IMPLEMENTED,GX1=WB.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,PI,Hi,Xi;X1()(d1,CX);var EX=Fi.errorOrDestroy,Zi=["error","close","destroy","pause","resume"];function WX1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(Array.isArray($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function JV0($,Y,z){if(BI=BI||fz(),$=$||{},typeof z!=="boolean")z=Y instanceof BI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=QX1(this,$,"readableHighWaterMark",z),this.buffer=new zX1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!PI)PI=NJ().StringDecoder;this.decoder=new PI($.encoding),this.encoding=$.encoding}}function d1($){if(BI=BI||fz(),!(this instanceof d1))return new d1($);var Y=this instanceof BI;if(this._readableState=new JV0($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}CX.call(this)}Object.defineProperty(d1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});d1.prototype.destroy=Fi.destroy;d1.prototype._undestroy=Fi.undestroy;d1.prototype._destroy=function($,Y){Y($)};d1.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=GB.from($,Y),Y="";U=!0}}else U=!0;return IV0(this,$,Y,!1,U)};d1.prototype.unshift=function($){return IV0(this,$,null,!0,!1)};function IV0($,Y,z,U,Q){_1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,ZX1($,J);else{var I;if(!Q)I=HX1(J,Y);if(I)EX($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==GB.prototype)Y=$X1(Y);if(U)if(J.endEmitted)EX($,new GX1);else qi($,J,Y,!0);else if(J.ended)EX($,new IX1);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)qi($,J,Y,!1);else Li($,J);else qi($,J,Y,!1)}else if(!U)J.reading=!1,Li($,J)}return!J.ended&&(J.length=zV0)$=zV0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function UV0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=XX1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}d1.prototype.read=function($){_1("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(_1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Vi(this);else HB(this);return null}if($=UV0($,Y),$===0&&Y.ended){if(Y.length===0)Vi(this);return null}var U=Y.needReadable;if(_1("need readable",U),Y.length===0||Y.length-$0)Q=WV0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Vi(this)}if(Q!==null)this.emit("data",Q);return Q};function ZX1($,Y){if(_1("onEofChunk"),Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}if(Y.ended=!0,Y.sync)HB($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,KV0($)}function HB($){var Y=$._readableState;if(_1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)_1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(KV0,$)}function KV0($){var Y=$._readableState;if(_1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,wi($)}function Li($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(qX1,$,Y)}function qX1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&HV0(U.pipes,$)!==-1)&&!W)_1("false write response, pause",U.awaitDrain),U.awaitDrain++;z.pause()}}function Z(M){if(_1("onerror",M),F(),$.removeListener("error",Z),QV0($,"error")===0)EX($,M)}WX1($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){_1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){_1("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)_1("pipe resume"),z.resume();return $};function VX1($){return function(){var z=$._readableState;if(_1("pipeOnDrain",z.awaitDrain),z.awaitDrain)z.awaitDrain--;if(z.awaitDrain===0&&QV0($,"data"))z.flowing=!0,wi($)}}d1.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,U.flowing!==!1)this.resume()}else if($==="readable"){if(!U.endEmitted&&!U.readableListening){if(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,_1("on readable",U.length,U.reading),U.length)HB(this);else if(!U.reading)process.nextTick(LX1,this)}}return z};d1.prototype.addListener=d1.prototype.on;d1.prototype.removeListener=function($,Y){var z=CX.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(GV0,this);return z};d1.prototype.removeAllListeners=function($){var Y=CX.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(GV0,this);return Y};function GV0($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function LX1($){_1("readable nexttick read 0"),$.read(0)}d1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)_1("resume"),$.flowing=!$.readableListening,FX1(this,$);return $.paused=!1,this};function FX1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(wX1,$,Y)}function wX1($,Y){if(_1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),wi($),Y.flowing&&!Y.reading)$.read(0)}d1.prototype.pause=function(){if(_1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)_1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function wi($){var Y=$._readableState;_1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}d1.prototype.wrap=function($){var Y=this,z=this._readableState,U=!1;$.on("end",function(){if(_1("wrapped end"),z.decoder&&!z.ended){var I=z.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(_1("wrapped data"),z.decoder)I=z.decoder.write(I);if(z.objectMode&&(I===null||I===void 0))return;else if(!z.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)U=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.first();else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=Y.buffer.consume($,Y.decoder);return z}function Vi($){var Y=$._readableState;if(_1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(MX1,Y,$)}function MX1($,Y){if(_1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var z=Y._writableState;if(!z||z.autoDestroy&&z.finished)Y.destroy()}}}if(typeof Symbol==="function")d1.from=function($,Y){if(Xi===void 0)Xi=YV0();return Xi(d1,$,Y)};function HV0($,Y){for(var z=0,U=$.length;z{qV0.exports=B7;var XB=F2().codes,OX1=XB.ERR_METHOD_NOT_IMPLEMENTED,NX1=XB.ERR_MULTIPLE_CALLBACK,DX1=XB.ERR_TRANSFORM_ALREADY_TRANSFORMING,BX1=XB.ERR_TRANSFORM_WITH_LENGTH_0,ZB=fz();X1()(B7,ZB);function PX1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(U===null)return this.emit("error",new NX1);if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{LV0.exports=RX;var VV0=Mi();X1()(RX,VV0);function RX($){if(!(this instanceof RX))return new RX($);VV0.call(this,$)}RX.prototype._transform=function($,Y,z){z(null,$)}});var DV0=E((gr1,NV0)=>{var Oi;function TX1($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var OV0=F2().codes,jX1=OV0.ERR_MISSING_ARGS,EX1=OV0.ERR_STREAM_DESTROYED;function wV0($){if($)throw $}function CX1($){return $.setHeader&&typeof $.abort==="function"}function RX1($,Y,z,U){U=TX1(U);var Q=!1;if($.on("close",function(){Q=!0}),Oi===void 0)Oi=JB();Oi($,{readable:Y,writable:z},function(I){if(I)return U(I);Q=!0,U()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,CX1($))return $.abort();if(typeof $.destroy==="function")return $.destroy();U(I||new EX1("pipe"))}}function MV0($){$()}function _X1($,Y){return $.pipe(Y)}function vX1($){if(!$.length)return wV0;if(typeof $[$.length-1]!=="function")return wV0;return $.pop()}function hX1(){for(var $=arguments.length,Y=Array($),z=0;z<$;z++)Y[z]=arguments[z];var U=vX1(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new jX1("streams");var Q,J=Y.map(function(I,K){var G=K0;return RX1(I,G,W,function(H){if(!Q)Q=H;if(H)J.forEach(MV0);if(G)return;J.forEach(MV0),U(Q)})});return Y.reduce(_X1)}NV0.exports=hX1});var BV0=E((k$,vX)=>{var _X=I0("stream");if(process.env.READABLE_STREAM==="disable"&&_X)vX.exports=_X.Readable,Object.assign(vX.exports,_X),vX.exports.Stream=_X;else k$=vX.exports=Ki(),k$.Stream=_X||k$,k$.Readable=k$,k$.Writable=Ji(),k$.Duplex=fz(),k$.Transform=Mi(),k$.PassThrough=FV0(),k$.finished=JB(),k$.pipeline=DV0()});var TV0=E((yr1,AV0)=>{var{Buffer:w5}=I0("buffer"),PV0=Symbol.for("BufferList");function N4($){if(!(this instanceof N4))return new N4($);N4._init.call(this,$)}N4._init=function(Y){if(Object.defineProperty(this,PV0,{value:!0}),this._bufs=[],this.length=0,Y)this.append(Y)};N4.prototype._new=function(Y){return new N4(Y)};N4.prototype._offset=function(Y){if(Y===0)return[0,0];let z=0;for(let U=0;Uthis.length||Y<0)return;let z=this._offset(Y);return this._bufs[z[0]][z[1]]};N4.prototype.slice=function(Y,z){if(typeof Y==="number"&&Y<0)Y+=this.length;if(typeof z==="number"&&z<0)z+=this.length;return this.copy(null,0,Y,z)};N4.prototype.copy=function(Y,z,U,Q){if(typeof U!=="number"||U<0)U=0;if(typeof Q!=="number"||Q>this.length)Q=this.length;if(U>=this.length)return Y||w5.alloc(0);if(Q<=0)return Y||w5.alloc(0);let J=!!Y,I=this._offset(U),K=Q-U,G=K,W=J&&z||0,H=I[1];if(U===0&&Q===this.length){if(!J)return this._bufs.length===1?this._bufs[0]:w5.concat(this._bufs,this.length);for(let X=0;XZ)this._bufs[X].copy(Y,W,H),W+=Z;else{this._bufs[X].copy(Y,W,H,H+G),W+=Z;break}if(G-=Z,H)H=0}if(Y.length>W)return Y.slice(0,W);return Y};N4.prototype.shallowSlice=function(Y,z){if(Y=Y||0,z=typeof z!=="number"?this.length:z,Y<0)Y+=this.length;if(z<0)z+=this.length;if(Y===z)return this._new();let U=this._offset(Y),Q=this._offset(z),J=this._bufs.slice(U[0],Q[0]+1);if(Q[1]===0)J.pop();else J[J.length-1]=J[J.length-1].slice(0,Q[1]);if(U[1]!==0)J[0]=J[0].slice(U[1]);return this._new(J)};N4.prototype.toString=function(Y,z,U){return this.slice(z,U).toString(Y)};N4.prototype.consume=function(Y){if(Y=Math.trunc(Y),Number.isNaN(Y)||Y<=0)return this;while(this._bufs.length)if(Y>=this._bufs[0].length)Y-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(Y),this.length-=Y;break}return this};N4.prototype.duplicate=function(){let Y=this._new();for(let z=0;zthis.length?this.length:Y;let U=this._offset(Y),Q=U[0],J=U[1];for(;Q=$.length){let G=I.indexOf($,J);if(G!==-1)return this._reverseOffset([Q,G]);J=I.length-$.length+1}else{let G=this._reverseOffset([Q,J]);if(this._match(G,$))return G;J++}J=0}return-1};N4.prototype._match=function($,Y){if(this.length-${var Ni=BV0().Duplex,SX1=X1(),hX=TV0();function L8($){if(!(this instanceof L8))return new L8($);if(typeof $==="function"){this._callback=$;let Y=function(U){if(this._callback)this._callback(U),this._callback=null}.bind(this);this.on("pipe",function(U){U.on("error",Y)}),this.on("unpipe",function(U){U.removeListener("error",Y)}),$=null}hX._init.call(this,$),Ni.call(this)}SX1(L8,Ni);Object.assign(L8.prototype,hX.prototype);L8.prototype._new=function(Y){return new L8(Y)};L8.prototype._write=function(Y,z,U){if(this._appendBuffer(Y),typeof U==="function")U()};L8.prototype._read=function(Y){if(!this.length)return this.push(null);Y=Math.min(Y,this.length),this.push(this.slice(0,Y)),this.consume(Y)};L8.prototype.end=function(Y){if(Ni.prototype.end.call(this,Y),this._callback)this._callback(null,this.slice()),this._callback=null};L8.prototype._destroy=function(Y,z){this._bufs.length=0,this.length=0,z(Y)};L8.prototype._isBufferList=function(Y){return Y instanceof L8||Y instanceof hX||L8.isBufferList(Y)};L8.isBufferList=hX.isBufferList;qB.exports=L8;qB.exports.BufferListStream=L8;qB.exports.BufferList=hX});var Pi=E((dX1)=>{var gX1=Buffer.alloc,yX1="0000000000000000000",kX1="7777777777777777777",EV0=48,CV0=Buffer.from("ustar\x00","binary"),xX1=Buffer.from("00","binary"),fX1=Buffer.from("ustar ","binary"),uX1=Buffer.from(" \x00","binary"),bX1=parseInt("7777",8),SX=257,Bi=263,iX1=function($,Y,z){if(typeof $!=="number")return z;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0},cX1=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},nX1=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},RV0=function($,Y,z,U){for(;zY)return kX1.slice(0,Y)+" ";else return yX1.slice(0,Y-$.length)+$+" "};function pX1($){var Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;var z=[];for(var U=$.length-1;U>0;U--){var Q=$[U];if(Y)z.push(Q);else z.push(255-Q)}var J=0,I=z.length;for(U=0;U=Math.pow(10,z))z++;return Y+z+$};dX1.decodeLongPath=function($,Y){return AI($,0,$.length,Y)};dX1.encodePax=function($){var Y="";if($.name)Y+=Di(" path="+$.name+` +`);if($.linkname)Y+=Di(" linkpath="+$.linkname+` +`);var z=$.pax;if(z)for(var U in z)Y+=Di(" "+U+"="+z[U]+` +`);return Buffer.from(Y)};dX1.decodePax=function($){var Y={};while($.length){var z=0;while(z<$.length&&$[z]!==32)z++;var U=parseInt($.slice(0,z).toString(),10);if(!U)return Y;var Q=$.slice(z+1,U-1).toString(),J=Q.indexOf("=");if(J===-1)return Y;Y[Q.slice(0,J)]=Q.slice(J+1),$=$.slice(U)}return Y};dX1.encode=function($){var Y=gX1(512),z=$.name,U="";if($.typeflag===5&&z[z.length-1]!=="/")z+="/";if(Buffer.byteLength(z)!==z.length)return null;while(Buffer.byteLength(z)>100){var Q=z.indexOf("/");if(Q===-1)return null;U+=U?"/"+z.slice(0,Q):z.slice(0,Q),z=z.slice(Q+1)}if(Buffer.byteLength(z)>100||Buffer.byteLength(U)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(Y.write(z),Y.write(D2($.mode&bX1,6),100),Y.write(D2($.uid,6),108),Y.write(D2($.gid,6),116),Y.write(D2($.size,11),124),Y.write(D2($.mtime.getTime()/1000|0,11),136),Y[156]=EV0+nX1($.type),$.linkname)Y.write($.linkname,157);if(CV0.copy(Y,SX),xX1.copy(Y,Bi),$.uname)Y.write($.uname,265);if($.gname)Y.write($.gname,297);if(Y.write(D2($.devmajor||0,6),329),Y.write(D2($.devminor||0,6),337),U)Y.write(U,345);return Y.write(D2(_V0(Y),6),148),Y};dX1.decode=function($,Y,z){var U=$[156]===0?0:$[156]-EV0,Q=AI($,0,100,Y),J=B2($,100,8),I=B2($,108,8),K=B2($,116,8),G=B2($,124,12),W=B2($,136,12),H=cX1(U),X=$[157]===0?null:AI($,157,100,Y),Z=AI($,265,32),q=AI($,297,32),V=B2($,329,8),F=B2($,337,8),M=_V0($);if(M===256)return null;if(M!==B2($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(CV0.compare($,SX,SX+6)===0){if($[345])Q=AI($,345,155,Y)+"/"+Q}else if(fX1.compare($,SX,SX+6)===0&&uX1.compare($,Bi,Bi+2)===0);else if(!z)throw Error("Invalid tar header: unknown format.");if(U===0&&Q&&Q[Q.length-1]==="/")U=5;return{name:Q,mode:J,uid:I,gid:K,size:G,mtime:new Date(1000*W),type:H,linkname:X,uname:Z,gname:q,devmajor:V,devminor:F}}});var xV0=E((fr1,kV0)=>{var hV0=I0("util"),aX1=jV0(),gX=Pi(),SV0=E8().Writable,gV0=E8().PassThrough,yV0=function(){},vV0=function($){return $&=511,$&&512-$},tX1=function($,Y){var z=new VB($,Y);return z.end(),z},eX1=function($,Y){if(Y.path)$.name=Y.path;if(Y.linkpath)$.linkname=Y.linkpath;if(Y.size)$.size=parseInt(Y.size,10);return $.pax=Y,$},VB=function($,Y){this._parent=$,this.offset=Y,gV0.call(this,{autoDestroy:!1})};hV0.inherits(VB,gV0);VB.prototype.destroy=function($){this._parent.destroy($)};var P7=function($){if(!(this instanceof P7))return new P7($);SV0.call(this,$),$=$||{},this._offset=0,this._buffer=aX1(),this._missing=0,this._partial=!1,this._onparse=yV0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var Y=this,z=Y._buffer,U=function(){Y._continue()},Q=function(Z){if(Y._locked=!1,Z)return Y.destroy(Z);if(!Y._stream)U()},J=function(){Y._stream=null;var Z=vV0(Y._header.size);if(Z)Y._parse(Z,I);else Y._parse(512,X);if(!Y._locked)U()},I=function(){Y._buffer.consume(vV0(Y._header.size)),Y._parse(512,X),U()},K=function(){var Z=Y._header.size;Y._paxGlobal=gX.decodePax(z.slice(0,Z)),z.consume(Z),J()},G=function(){var Z=Y._header.size;if(Y._pax=gX.decodePax(z.slice(0,Z)),Y._paxGlobal)Y._pax=Object.assign({},Y._paxGlobal,Y._pax);z.consume(Z),J()},W=function(){var Z=Y._header.size;this._gnuLongPath=gX.decodeLongPath(z.slice(0,Z),$.filenameEncoding),z.consume(Z),J()},H=function(){var Z=Y._header.size;this._gnuLongLinkPath=gX.decodeLongPath(z.slice(0,Z),$.filenameEncoding),z.consume(Z),J()},X=function(){var Z=Y._offset,q;try{q=Y._header=gX.decode(z.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(V){Y.emit("error",V)}if(z.consume(512),!q){Y._parse(512,X),U();return}if(q.type==="gnu-long-path"){Y._parse(q.size,W),U();return}if(q.type==="gnu-long-link-path"){Y._parse(q.size,H),U();return}if(q.type==="pax-global-header"){Y._parse(q.size,K),U();return}if(q.type==="pax-header"){Y._parse(q.size,G),U();return}if(Y._gnuLongPath)q.name=Y._gnuLongPath,Y._gnuLongPath=null;if(Y._gnuLongLinkPath)q.linkname=Y._gnuLongLinkPath,Y._gnuLongLinkPath=null;if(Y._pax)Y._header=q=eX1(q,Y._pax),Y._pax=null;if(Y._locked=!0,!q.size||q.type==="directory"){Y._parse(512,X),Y.emit("entry",q,tX1(Y,Z),Q);return}Y._stream=new VB(Y,Z),Y.emit("entry",q,Y._stream,Q),Y._parse(q.size,J),U()};this._onheader=X,this._parse(512,X)};hV0.inherits(P7,SV0);P7.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};P7.prototype._parse=function($,Y){if(this._destroyed)return;if(this._offset+=$,this._missing=$,Y===this._onheader)this._partial=!1;this._onparse=Y};P7.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=yV0,this._overflow)this._write(this._overflow,void 0,$);else $()};P7.prototype._write=function($,Y,z){if(this._destroyed)return;var U=this._stream,Q=this._buffer,J=this._missing;if($.length)this._partial=!0;if($.lengthJ)I=$.slice(J),$=$.slice(0,J);if(U)U.end($);else Q.append($);this._overflow=I,this._onparse()};P7.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};kV0.exports=P7});var uV0=E((ur1,fV0)=>{fV0.exports=I0("fs").constants||I0("constants")});var cV0=E((br1,iV0)=>{var $Z1=sD(),YZ1=function(){},zZ1=global.Bare?queueMicrotask:process.nextTick.bind(process),UZ1=function($){return $.setHeader&&typeof $.abort==="function"},QZ1=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},bV0=function($,Y,z){if(typeof Y==="function")return bV0($,null,Y);if(!Y)Y={};z=$Z1(z||YZ1);var{_writableState:U,_readableState:Q}=$,J=Y.readable||Y.readable!==!1&&$.readable,I=Y.writable||Y.writable!==!1&&$.writable,K=!1,G=function(){if(!$.writable)W()},W=function(){if(I=!1,!J)z.call($)},H=function(){if(J=!1,!I)z.call($)},X=function(M){z.call($,M?Error("exited with error code: "+M):null)},Z=function(M){z.call($,M)},q=function(){zZ1(V)},V=function(){if(K)return;if(J&&!(Q&&(Q.ended&&!Q.destroyed)))return z.call($,Error("premature close"));if(I&&!(U&&(U.ended&&!U.destroyed)))return z.call($,Error("premature close"))},F=function(){$.req.on("finish",W)};if(UZ1($))if($.on("complete",W),$.on("abort",q),$.req)F();else $.on("request",F);else if(I&&!U)$.on("end",G),$.on("close",G);if(QZ1($))$.on("exit",X);if($.on("end",H),$.on("finish",W),Y.error!==!1)$.on("error",Z);return $.on("close",q),function(){if(K=!0,$.removeListener("complete",W),$.removeListener("abort",q),$.removeListener("request",F),$.req)$.req.removeListener("finish",W);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",W),$.removeListener("exit",X),$.removeListener("end",H),$.removeListener("error",Z),$.removeListener("close",q)}};iV0.exports=bV0});var lV0=E((ir1,mV0)=>{var TI=uV0(),nV0=cV0(),FB=X1(),JZ1=Buffer.alloc,pV0=E8().Readable,jI=E8().Writable,IZ1=I0("string_decoder").StringDecoder,LB=Pi(),KZ1=parseInt("755",8),GZ1=parseInt("644",8),dV0=JZ1(1024),Ti=function(){},Ai=function($,Y){if(Y&=511,Y)$.push(dV0.slice(0,512-Y))};function WZ1($){switch($&TI.S_IFMT){case TI.S_IFBLK:return"block-device";case TI.S_IFCHR:return"character-device";case TI.S_IFDIR:return"directory";case TI.S_IFIFO:return"fifo";case TI.S_IFLNK:return"symlink"}return"file"}var wB=function($){jI.call(this),this.written=0,this._to=$,this._destroyed=!1};FB(wB,jI);wB.prototype._write=function($,Y,z){if(this.written+=$.length,this._to.push($))return z();this._to._drain=z};wB.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var MB=function(){jI.call(this),this.linkname="",this._decoder=new IZ1("utf-8"),this._destroyed=!1};FB(MB,jI);MB.prototype._write=function($,Y,z){this.linkname+=this._decoder.write($),z()};MB.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var yX=function(){jI.call(this),this._destroyed=!1};FB(yX,jI);yX.prototype._write=function($,Y,z){z(Error("No body allowed for this entry"))};yX.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var V9=function($){if(!(this instanceof V9))return new V9($);pV0.call(this,$),this._drain=Ti,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};FB(V9,pV0);V9.prototype.entry=function($,Y,z){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof Y==="function")z=Y,Y=null;if(!z)z=Ti;var U=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=WZ1($.mode);if(!$.mode)$.mode=$.type==="directory"?KZ1:GZ1;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=Buffer.from(Y);if(Buffer.isBuffer(Y)){$.size=Y.length,this._encode($);var Q=this.push(Y);if(Ai(U,$.size),Q)process.nextTick(z);else this._drain=z;return new yX}if($.type==="symlink"&&!$.linkname){var J=new MB;return nV0(J,function(K){if(K)return U.destroy(),z(K);$.linkname=J.linkname,U._encode($),z()}),J}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(z),new yX;var I=new wB(this);return this._stream=I,nV0(I,function(K){if(U._stream=null,K)return U.destroy(),z(K);if(I.written!==$.size)return U.destroy(),z(Error("size mismatch"));if(Ai(U,$.size),U._finalizing)U.finalize();z()}),I};V9.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(dV0),this.push(null)};V9.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};V9.prototype._encode=function($){if(!$.pax){var Y=LB.encode($);if(Y){this.push(Y);return}}this._encodePax($)};V9.prototype._encodePax=function($){var Y=LB.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),z={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(LB.encode(z)),this.push(Y),Ai(this,Y.length),z.size=$.size,z.type=$.type,this.push(LB.encode(z))};V9.prototype._read=function($){var Y=this._drain;this._drain=Ti,Y()};mV0.exports=V9});var oV0=E((HZ1)=>{HZ1.extract=xV0();HZ1.pack=lV0()});var aV0=E((nr1,sV0)=>{var qZ1=I0("zlib"),VZ1=oV0(),rV0=DX(),A7=function($){if(!(this instanceof A7))return new A7($);if($=this.options=rV0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=VZ1.pack($),this.compressor=!1,$.gzip)this.compressor=qZ1.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};A7.prototype._onCompressorError=function($){this.engine.emit("error",$)};A7.prototype.append=function($,Y,z){var U=this;Y.mtime=Y.date;function Q(I,K){if(I){z(I);return}U.engine.entry(Y,K,function(G){z(G,Y)})}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream"&&Y.stats){Y.size=Y.stats.size;var J=U.engine.entry(Y,function(I){z(I,Y)});$.pipe(J)}else if(Y.sourceType==="stream")rV0.collectStream($,Q)};A7.prototype.finalize=function(){this.engine.finalize()};A7.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};A7.prototype.pipe=function($,Y){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,Y);else return this.engine.pipe.apply(this.engine,arguments)};A7.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};sV0.exports=A7});var YL0=E((pr1,$L0)=>{var LZ1=I0("util").inherits,tV0=E8().Transform,FZ1=db(),eV0=DX(),P2=function($){if(!(this instanceof P2))return new P2($);$=this.options=eV0.defaults($,{}),tV0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};LZ1(P2,tV0);P2.prototype._transform=function($,Y,z){z(null,$)};P2.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};P2.prototype.append=function($,Y,z){var U=this;Y.crc32=0;function Q(J,I){if(J){z(J);return}Y.size=I.length||0,Y.crc32=FZ1.unsigned(I),U.files.push(Y),z(null,Y)}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream")eV0.collectStream($,Q)};P2.prototype.finalize=function(){this._writeStringified(),this.end()};$L0.exports=P2});var UL0=E((dr1,zL0)=>{var wZ1=yZ0(),kX={},A2=function($,Y){return A2.create($,Y)};A2.create=function($,Y){if(kX[$]){var z=new wZ1($,Y);return z.setFormat($),z.setModule(new kX[$](Y)),z}else throw Error("create("+$+"): format not registered")};A2.registerFormat=function($,Y){if(kX[$])throw Error("register("+$+"): format already registered");if(typeof Y!=="function")throw Error("register("+$+"): format module invalid");if(typeof Y.prototype.append!=="function"||typeof Y.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");kX[$]=Y};A2.isRegisteredFormat=function($){if(kX[$])return!0;return!1};A2.registerFormat("zip",jq0());A2.registerFormat("tar",aV0());A2.registerFormat("json",YL0());zL0.exports=A2});var IL0=E((mr1,JL0)=>{class QL0{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let Y=this._hash[$];if(Y===void 0)Y=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,Y}}JL0.exports=QL0});var HL0=E((lr1,WL0)=>{var MZ1=Z8(),OZ1=e3();class KL0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class GL0{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new KL0(this))}addHyperlink($){let Y={Target:$.target,Type:OZ1.Hyperlink,TargetMode:"External"},z=this._writeRelationship(Y);this._hyperlinks.push({rId:z,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(` + `)}_writeRelationship($){if(!this.count)this._writeOpen();let Y=`rId${++this.count}`;if($.TargetMode)this.stream.write(``);else this.stream.write(``);return Y}_writeClose(){this.stream.write("")}}WL0.exports=GL0});var LL0=E((or1,VL0)=>{var XL0=l6(),ZL0=e3(),NZ1=i4(),DZ1=kx(),BZ1=fx();class qL0{constructor($,Y,z){this.id=z.id,this.count=0,this._worksheet=$,this._workbook=z.workbook,this._sheetRelsWriter=Y}get commentsStream(){if(!this._commentsStream)this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`);return this._commentsStream}get vmlStream(){if(!this._vmlStream)this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`);return this._vmlStream}_addRelationships(){let $={Type:ZL0.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let Y={Type:ZL0.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(Y)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('Author'),this.vmlStream.write('')}_writeComment($,Y){let z=new DZ1,U=new XL0;z.render(U,$),this.commentsStream.write(U.xml);let Q=new BZ1,J=new XL0;Q.render(J,$,Y),this.vmlStream.write(J.xml)}_writeClose(){this.commentsStream.write(""),this.vmlStream.write("")}addComments($){if($&&$.length){if(!this.startedData)this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0;$.forEach((Y)=>{Y.refAddress=NZ1.decodeAddress(Y.ref)}),$.forEach((Y)=>{this._writeComment(Y,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}VL0.exports=qL0});var DL0=E((rr1,NL0)=>{var PZ1=Y6(),AZ1=e3(),ji=i4(),FL0=Yg(),wL0=$7(),TZ1=Lk(),ML0=OM(),Ei=DM(),jZ1=HL0(),EZ1=LL0(),CZ1=eS(),y6=new TZ1,Ci=s3(),RZ1=Hx(),_Z1=Xx(),vZ1=Zx(),hZ1=Ix(),SZ1=Qx(),gZ1=Kx(),yZ1=qx(),kZ1=Vx(),xZ1=Lx(),fZ1=Fx(),uZ1=wx(),bZ1=Mx(),iZ1=Px(),cZ1=Nx(),nZ1=Ox(),k6={dataValidations:new RZ1,sheetProperties:new _Z1,sheetFormatProperties:new vZ1,columns:new Ci({tag:"cols",length:!1,childXform:new hZ1}),row:new SZ1,hyperlinks:new Ci({tag:"hyperlinks",length:!1,childXform:new gZ1}),sheetViews:new Ci({tag:"sheetViews",length:!1,childXform:new yZ1}),sheetProtection:new kZ1,pageMargins:new xZ1,pageSeteup:new fZ1,autoFilter:new uZ1,picture:new bZ1,conditionalFormattings:new iZ1,headerFooter:new cZ1,rowBreaks:new nZ1};class OL0{constructor($){this.id=$.id,this.name=$.name||`Sheet${this.id}`,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new jZ1($),this._sheetCommentsWriter=new EZ1(this,this._sheetRelsWriter,$),this._dimensions=new wL0,this._rowZero=1,this.committed=!1,this.dataValidations=new CZ1,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.useSharedStrings=$.useSharedStrings||!1,this._workbook=$.workbook,this.hasComments=!1,this._views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause();return this._stream}destroy(){throw Error("Invalid Operation: destroy")}commit(){if(this.committed)return;if(this._rows.forEach(($)=>{if($)this._writeRow($)}),this._rows=null,!this.startedData)this._writeOpenSheetData();this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((U,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(U,J)},0);let Y=1,z=this._columns=[];$.forEach((U)=>{let Q=new Ei(this,Y++,!1);z.push(Q),Q.defn=U})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){PZ1.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=ji.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new Ei(this,Y++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,Y){if(!Y)Y=$,$=void 0;if($&&$.includeEmpty){let z=this._nextRow;for(let U=this._rowZero;U{if(z.hasValues)Y(z,z.number)})}_commitRow($){let Y=!1;while(this._rows.length&&!Y){let z=this._rows.shift();if(this._rowZero++,z)this._writeRow(z),Y=z.number===$.number,this._rowZero=z.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let Y=$-this._rowZero;return this._rows[Y]}getRow($){let Y=$-this._rowZero;if(Y<0)throw Error("Out of bounds: this row has been committed");let z=this._rows[Y];if(!z)this._rows[Y]=z=new ML0(this,$);return z}addRow($){let Y=new ML0(this,this._nextRow);return this._rows[Y.number-this._rowZero]=Y,Y.values=$,Y}findCell($,Y){let z=ji.getAddress($,Y),U=this.findRow(z.row);return U?U.findCell(z.column):void 0}getCell($,Y){let z=ji.getAddress($,Y);return this.getRow(z.row).getCellEx(z)}mergeCells(...$){let Y=new wL0($);this._merges.forEach((U)=>{if(U.intersects(Y))throw Error("Cannot merge already merged cells")});let z=this.getCell(Y.top,Y.left);for(let U=Y.top;U<=Y.bottom;U++)for(let Q=Y.left;Q<=Y.right;Q++)if(U>Y.top||Q>Y.left)this.getCell(U,Q).merge(z);this._merges.push(Y)}addConditionalFormatting($){this.conditionalFormatting.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormatting.splice($,1);else if($ instanceof Function)this.conditionalFormatting=this.conditionalFormatting.filter($);else this.conditionalFormatting=[]}addBackgroundImage($){this._background={imageId:$}}getBackgroundImageId(){return this._background&&this._background.imageId}protect($,Y){return new Promise((z)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=FL0.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=FL0.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}z()})}unprotect(){this.sheetProtection=null}_write($){y6.reset(),y6.addText($),this.stream.write(y6)}_writeSheetProperties($,Y,z){let U={outlineProperties:Y&&Y.outlineProperties,tabColor:Y&&Y.tabColor,pageSetup:z&&z.fitToPage?{fitToPage:z.fitToPage}:void 0};$.addText(k6.sheetProperties.toXml(U))}_writeSheetFormatProperties($,Y){let z=Y?{defaultRowHeight:Y.defaultRowHeight,dyDescent:Y.dyDescent,outlineLevelCol:Y.outlineLevelCol,outlineLevelRow:Y.outlineLevelRow}:void 0;if(Y.defaultColWidth)z.defaultColWidth=Y.defaultColWidth;$.addText(k6.sheetFormatProperties.toXml(z))}_writeOpenWorksheet(){y6.reset(),y6.addText(''),y6.addText(''),this._writeSheetProperties(y6,this.properties,this.pageSetup),y6.addText(k6.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(y6,this.properties),this.stream.write(y6)}_writeColumns(){let $=Ei.toModel(this.columns);if($)k6.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(k6.columns.toXml($))}_writeOpenSheetData(){this._write("")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:Y}=$,z={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(k6.row.prepare(Y,z),this.stream.write(k6.row.toXml(Y)),z.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(z.comments)}}_writeCloseSheetData(){this._write("")}_writeMergeCells(){if(this._merges.length)y6.reset(),y6.addText(``),this._merges.forEach(($)=>{y6.addText(``)}),y6.addText(""),this.stream.write(y6)}_writeHyperlinks(){this.stream.write(k6.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};k6.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(k6.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(k6.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(k6.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(k6.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(k6.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(k6.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(k6.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(k6.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),Y=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:AZ1.Image});this._background={...this._background,rId:Y}}this.stream.write(k6.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)y6.reset(),y6.addText(``),this.stream.write(y6)}_writeDimensions(){}_writeCloseWorksheet(){this._write("")}}NL0.exports=OL0});var EL0=E((sr1,jL0)=>{var pZ1=I0("fs"),dZ1=UL0(),BL0=jH(),cz=e3(),PL0=tO(),mZ1=IL0(),lZ1=Ug(),oZ1=ak(),AL0=zN(),rZ1=ek(),sZ1=$x(),aZ1=QN(),tZ1=tk(),eZ1=DL0(),$q1=ux();class TL0{constructor($){if($=$||{},this.created=$.created||new Date,this.modified=$.modified||this.created,this.creator=$.creator||"ExcelJS",this.lastModifiedBy=$.lastModifiedBy||"ExcelJS",this.lastPrinted=$.lastPrinted,this.useSharedStrings=$.useSharedStrings||!1,this.sharedStrings=new mZ1,this.styles=$.useStyles?new PL0(!0):new PL0.Mock(!0),this._definedNames=new lZ1,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=dZ1("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=pZ1.createWriteStream($.filename);else this.stream=new BL0;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let Y=new BL0({bufSize:65536,batch:!0});return this.zip.append(Y,{name:$}),Y.on("finish",()=>{Y.emit("zipped")}),Y}_commitWorksheets(){let $=function(z){if(!z.committed)return new Promise((U)=>{z.stream.on("zipped",()=>{U()}),z.commit()});return Promise.resolve()},Y=this._worksheets.map($);if(Y.length)return Promise.all(Y);return Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let $;for($=1;$!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append($q1,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let z=new AL0().toXml([{Id:"rId1",Type:cz.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:cz.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:cz.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(z,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},U=new rZ1().toXml(Y);this.zip.append(U,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let Y=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:Y});if($.buffer)return this.zip.append($.buffer,{name:Y});if($.base64){let z=$.base64,U=z.substring(z.indexOf(",")+1);return this.zip.append(U,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean)},U=new sZ1().toXml(Y);this.zip.append(U,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let z=new oZ1().toXml(this);this.zip.append(z,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let z=new tZ1().toXml(this.sharedStrings);this.zip.append(z,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,Y=[{Id:`rId${$++}`,Type:cz.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:cz.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)Y.push({Id:`rId${$++}`,Type:cz.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((z)=>{if(z)z.rId=`rId${$++}`,Y.push({Id:z.rId,Type:cz.Worksheet,Target:`worksheets/sheet${z.id}.xml`})}),new Promise((z)=>{let Q=new AL0().toXml(Y);this.zip.append(Q,{name:"/xl/_rels/workbook.xml.rels"}),z()})}addWorkbook(){let{zip:$}=this,Y={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((z)=>{let U=new aZ1;U.prepare(Y),$.append(U.toXml(Y),{name:"/xl/workbook.xml"}),z()})}_finalize(){return new Promise(($,Y)=>{this.stream.on("error",Y),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",Y),this.zip.finalize()})}}jL0.exports=TL0});var RL0=E((ar1,CL0)=>{var Ri=I0("events").listenerCount;Ri=Ri||function($,Y){var z=$&&$._events&&$._events[Y];if(Array.isArray(z))return z.length;else if(typeof z==="function")return 1;else return 0};CL0.exports=Ri});var vL0=E((tr1,_L0)=>{_L0.exports=function(Y){var z=process&&process.version?process.version:"v5.0.0",U=z.split(".")[0].replace("v","");return U<6?new Buffer(Y):Buffer.from(Y)}});var SL0=E(()=>{var xX=vL0();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,Y){if(Y=Y||0,typeof $==="string"||$ instanceof String)$=xX($);else if(typeof $==="number"||$ instanceof Number)$=xX([$]);var z=$.length;for(var U=Y;U<=this.length-z;U++){var Q=!1;for(var J=0;J=0;U--){var Q=!1;for(var J=0;J{kL0.exports=F8;function F8($){if(!(this instanceof F8))return new F8($);this.value=$}F8.prototype.get=function($){var Y=this.value;for(var z=0;z<$.length;z++){var U=$[z];if(!Object.hasOwnProperty.call(Y,U)){Y=void 0;break}Y=Y[U]}return Y};F8.prototype.set=function($,Y){var z=this.value;for(var U=0;U<$.length-1;U++){var Q=$[U];if(!Object.hasOwnProperty.call(z,Q))z[Q]={};z=z[Q]}return z[$[U]]=Y,Y};F8.prototype.map=function($){return gL0(this.value,$,!0)};F8.prototype.forEach=function($){return this.value=gL0(this.value,$,!1),this.value};F8.prototype.reduce=function($,Y){var z=arguments.length===1,U=z?this.value:Y;return this.forEach(function(Q){if(!this.isRoot||!z)U=$.call(this,U,Q)}),U};F8.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var Y=!0,z=$;return this.forEach(function(U){var Q=function(){Y=!1;return}.bind(this);if(!this.isRoot){if(typeof z!=="object")return Q();z=z[this.key]}var J=z;this.post(function(){z=J});var I=function(X){return Object.prototype.toString.call(X)};if(this.circular){if(F8($).get(this.circular.path)!==J)Q()}else if(typeof J!==typeof U)Q();else if(J===null||U===null||J===void 0||U===void 0){if(J!==U)Q()}else if(J.__proto__!==U.__proto__)Q();else if(J===U);else if(typeof J==="function"){if(J instanceof RegExp){if(J.toString()!=U.toString())Q()}else if(J!==U)Q()}else if(typeof J==="object")if(I(U)==="[object Arguments]"||I(J)==="[object Arguments]"){if(I(J)!==I(U))Q()}else if(J instanceof Date||U instanceof Date){if(!(J instanceof Date)||!(U instanceof Date)||J.getTime()!==U.getTime())Q()}else{var K=Object.keys(J),G=Object.keys(U);if(K.length!==G.length)return Q();for(var W=0;W{var Yq1=xL0(),zq1=I0("events").EventEmitter;fL0.exports=EI;function EI($){var Y=EI.saw($,{}),z=$.call(Y.handlers,Y);if(z!==void 0)Y.handlers=z;return Y.record(),Y.chain()}EI.light=function(Y){var z=EI.saw(Y,{}),U=Y.call(z.handlers,z);if(U!==void 0)z.handlers=U;return z.chain()};EI.saw=function($,Y){var z=new zq1;return z.handlers=Y,z.actions=[],z.chain=function(){var U=Yq1(z.handlers).map(function(Q){if(this.isRoot)return Q;var J=this.path;if(typeof Q==="function")this.update(function(){return z.actions.push({path:J,args:[].slice.call(arguments)}),U})});return process.nextTick(function(){z.emit("begin"),z.next()}),U},z.pop=function(){return z.actions.shift()},z.next=function(){var U=z.pop();if(!U)z.emit("end");else if(!U.trap){var Q=z.handlers;U.path.forEach(function(J){Q=Q[J]}),Q.apply(z.handlers,U.args)}},z.nest=function(U){var Q=[].slice.call(arguments,1),J=!0;if(typeof U==="boolean"){var J=U;U=Q.shift()}var I=EI.saw($,{}),K=$.call(I.handlers,I);if(K!==void 0)I.handlers=K;if(typeof z.step<"u")I.record();if(U.apply(I.chain(),Q),J!==!1)I.on("end",z.next)},z.record=function(){Uq1(z)},["trap","down","jump"].forEach(function(U){z[U]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),z};function Uq1($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(Y,z){var U=Array.isArray(Y)?Y:[Y];$.actions.push({path:U,step:$.step,cb:z,trap:!0})},$.down=function(Y){var z=(Array.isArray(Y)?Y:[Y]).join("/"),U=$.actions.slice($.step).map(function(J){if(J.trap&&J.step<=$.step)return!1;return J.path.join("/")==z}).indexOf(!0);if(U>=0)$.step+=U;else $.step=$.actions.length;var Q=$.actions[$.step-1];if(Q&&Q.trap)$.step=Q.step,Q.cb();else $.next()},$.jump=function(Y){$.step=Y,$.next()}}});var iL0=E((Us1,bL0)=>{bL0.exports=v8;function v8($){if(!(this instanceof v8))return new v8($);this.buffers=$||[],this.length=this.buffers.reduce(function(Y,z){return Y+z.length},0)}v8.prototype.push=function(){for(var $=0;$=0?$:this.length-$,Q=[].slice.call(arguments,2);if(Y===void 0)Y=this.length-U;else if(Y>this.length-U)Y=this.length-U;for(var $=0;$0){var W=U-K;if(W+Y0){var q=Q.slice();q.unshift(X),q.push(Z),z.splice.apply(z,[G,1].concat(q)),G+=q.length,Q=[]}else z.splice(G,1,X,Z),G+=2}else J.push(z[G].slice(W)),z[G]=z[G].slice(0,W),G++}if(Q.length>0)z.splice.apply(z,[G,0].concat(Q)),G+=Q.length;while(J.lengththis.length)Y=this.length;var U=0;for(var Q=0;Q=Y-$?Math.min(W+(Y-$)-I,G):G;z[K].copy(J,I,W,H),I+=H-W}return J};v8.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var Y=$,z=0,U=null;for(;;){if(U=this.buffers[z],Y=this.buffers[z].length)if(U=0,z++,z>=this.buffers.length)return-1;var G=this.buffers[z][U];if(G==$[Q]){if(Q==0)J={i:z,j:U,pos:I};if(Q++,Q==$.length)return J.pos}else if(Q!=0)z=J.i,U=J.j,I=J.pos,Q=0;U++,I++}};v8.prototype.toBuffer=function(){return this.slice()};v8.prototype.toString=function($,Y,z){return this.slice(Y,z).toString($)}});var nL0=E((Qs1,cL0)=>{cL0.exports=function($){function Y(U,Q){var J=z.store,I=U.split(".");I.slice(0,-1).forEach(function(G){if(J[G]===void 0)J[G]={};J=J[G]});var K=I[I.length-1];if(arguments.length==1)return J[K];else return J[K]=Q}var z={get:function(U){return Y(U)},set:function(U,Q){return Y(U,Q)},store:$||{}};return z}});var fX=E((nz,oL0)=>{var Qq1=uL0(),pL0=I0("events").EventEmitter,Jq1=iL0(),OB=nL0(),Iq1=I0("stream").Stream;nz=oL0.exports=function($,Y){if(Buffer.isBuffer($))return nz.parse($);var z=nz.stream();if($&&$.pipe)$.pipe(z);else if($)$.on(Y||"data",function(U){z.write(U)}),$.on("end",function(){z.end()});return z};nz.stream=function($){if($)return nz.apply(null,arguments);var Y=null;function z(X,Z,q){Y={bytes:X,skip:q,cb:function(V){Y=null,Z(V)}},Q()}var U=null;function Q(){if(!Y){if(H)W=!0;return}if(typeof Y==="function")Y();else{var X=U+Y.bytes;if(K.length>=X){var Z;if(U==null){if(Z=K.splice(0,X),!Y.skip)Z=Z.slice()}else{if(!Y.skip)Z=K.slice(U,X);U=X}if(Y.skip)Y.cb();else Y.cb(Z)}}}function J(X){function Z(){if(!W)X.next()}var q=lL0(function(V,F){return function(M){z(V,function(w){G.set(M,F(w)),Z()})}});return q.tap=function(V){X.nest(V,G.store)},q.into=function(V,F){if(!G.get(V))G.set(V,{});var M=G;G=OB(M.get(V)),X.nest(function(){F.apply(this,arguments),this.tap(function(){G=M})},G.store)},q.flush=function(){G.store={},Z()},q.loop=function(V){var F=!1;X.nest(!1,function M(){this.vars=G.store,V.call(this,function(){F=!0,Z()},G.store),this.tap(function(){if(F)X.next();else M.call(this)}.bind(this))},G.store)},q.buffer=function(V,F){if(typeof F==="string")F=G.get(F);z(F,function(M){G.set(V,M),Z()})},q.skip=function(V){if(typeof V==="string")V=G.get(V);z(V,function(){Z()})},q.scan=function(F,M){if(typeof M==="string")M=new Buffer(M);else if(!Buffer.isBuffer(M))throw Error("search must be a Buffer or a string");var w=0;Y=function(){var O=K.indexOf(M,U+w),N=O-U-w;if(O!==-1){if(Y=null,U!=null)G.set(F,K.slice(U,U+w+N)),U+=w+N+M.length;else G.set(F,K.slice(0,w+N)),K.splice(0,w+N+M.length);Z(),Q()}else N=Math.max(K.length-M.length-U-w,0);w+=N},Q()},q.peek=function(V){U=0,X.nest(function(){V.call(this,G.store),this.tap(function(){U=null})})},q}var I=Qq1.light(J);I.writable=!0;var K=Jq1();I.write=function(X){K.push(X),Q()};var G=OB(),W=!1,H=!1;return I.end=function(){H=!0},I.pipe=Iq1.prototype.pipe,Object.getOwnPropertyNames(pL0.prototype).forEach(function(X){I[X]=pL0.prototype[X]}),I};nz.parse=function(Y){var z=lL0(function(J,I){return function(K){if(U+J<=Y.length){var G=Y.slice(U,U+J);U+=J,Q.set(K,I(G))}else Q.set(K,null);return z}}),U=0,Q=OB();return z.vars=Q.store,z.tap=function(J){return J.call(z,Q.store),z},z.into=function(J,I){if(!Q.get(J))Q.set(J,{});var K=Q;return Q=OB(K.get(J)),I.call(z,Q.store),Q=K,z},z.loop=function(J){var I=!1,K=function(){I=!0};while(I===!1)J.call(z,K,Q.store);return z},z.buffer=function(J,I){if(typeof I==="string")I=Q.get(I);var K=Y.slice(U,Math.min(Y.length,U+I));return U+=I,Q.set(J,K),z},z.skip=function(J){if(typeof J==="string")J=Q.get(J);return U+=J,z},z.scan=function(J,I){if(typeof I==="string")I=new Buffer(I);else if(!Buffer.isBuffer(I))throw Error("search must be a Buffer or a string");Q.set(J,null);for(var K=0;K+U<=Y.length-I.length+1;K++){for(var G=0;G=Y.length},z};function dL0($){var Y=0;for(var z=0;z<$.length;z++)Y+=Math.pow(256,z)*$[z];return Y}function mL0($){var Y=0;for(var z=0;z<$.length;z++)Y+=Math.pow(256,$.length-z-1)*$[z];return Y}function Kq1($){var Y=mL0($);if(($[0]&128)==128)Y-=Math.pow(256,$.length);return Y}function Gq1($){var Y=dL0($);if(($[$.length-1]&128)==128)Y-=Math.pow(256,$.length);return Y}function lL0($){var Y={};return[1,2,4,8].forEach(function(z){var U=z*8;Y["word"+U+"le"]=Y["word"+U+"lu"]=$(z,dL0),Y["word"+U+"ls"]=$(z,Gq1),Y["word"+U+"be"]=Y["word"+U+"bu"]=$(z,mL0),Y["word"+U+"bs"]=$(z,Kq1)}),Y.word8=Y.word8u=Y.word8be,Y.word8s=Y.word8bs,Y}});var pz=E((Js1,ui)=>{var _i=function(){return this===void 0}();if(_i)ui.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:_i,propertyIsWritable:function($,Y){var z=Object.getOwnPropertyDescriptor($,Y);return!!(!z||z.writable||z.set)}};else vi={}.hasOwnProperty,hi={}.toString,Si={}.constructor.prototype,NB=function($){var Y=[];for(var z in $)if(vi.call($,z))Y.push(z);return Y},gi=function($,Y){return{value:$[Y]}},yi=function($,Y,z){return $[Y]=z.value,$},ki=function($){return $},xi=function($){try{return Object($).constructor.prototype}catch(Y){return Si}},fi=function($){try{return hi.call($)==="[object Array]"}catch(Y){return!1}},ui.exports={isArray:fi,keys:NB,names:NB,defineProperty:yi,getDescriptor:gi,freeze:ki,getPrototypeOf:xi,isES5:_i,propertyIsWritable:function(){return!0}};var vi,hi,Si,NB,gi,yi,ki,xi,fi});var F4=E((BB,di)=>{var o8=pz(),Wq1=typeof navigator>"u",bi={e:{}},ii,Hq1=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:BB!==void 0?BB:null;function Xq1(){try{var $=ii;return ii=null,$.apply(this,arguments)}catch(Y){return bi.e=Y,bi}}function Zq1($){return ii=$,Xq1}var qq1=function($,Y){var z={}.hasOwnProperty;function U(){this.constructor=$,this.constructor$=Y;for(var Q in Y.prototype)if(z.call(Y.prototype,Q)&&Q.charAt(Q.length-1)!=="$")this[Q+"$"]=Y.prototype[Q]}return U.prototype=Y.prototype,$.prototype=new U,$.prototype};function pi($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function Vq1($){return typeof $==="function"||typeof $==="object"&&$!==null}function Lq1($){if(!pi($))return $;return Error(DB($))}function Fq1($,Y){var z=$.length,U=Array(z+1),Q;for(Q=0;Q1,U=Y.length>0&&!(Y.length===1&&Y[0]==="constructor"),Q=Nq1.test($+"")&&o8.names($).length>0;if(z||U||Q)return!0}return!1}catch(J){return!1}}function Bq1(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var Pq1=/^[a-z$_][a-z$_0-9]*$/i;function Aq1($){return Pq1.test($)}function Tq1($,Y,z){var U=Array($);for(var Q=0;Q<$;++Q)U[Q]=Y+Q+z;return U}function DB($){try{return $+""}catch(Y){return"[no string representation]"}}function sL0($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function jq1($){try{rL0($,"isOperational",!0)}catch(Y){}}function Eq1($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function ci($){return sL0($)&&o8.propertyIsWritable($,"stack")}var Cq1=function(){if(!("stack"in Error()))return function($){if(ci($))return $;try{throw Error(DB($))}catch(Y){return Y}};else return function($){if(ci($))return $;return Error(DB($))}}();function aL0($){return{}.toString.call($)}function Rq1($,Y,z){var U=o8.names($);for(var Q=0;Q10||$[0]>0}();if(CI.isNode)CI.toFastProperties(process);try{throw Error()}catch($){CI.lastLineError=$}di.exports=CI});var YF0=E((Is1,$F0)=>{var li=F4(),dz,gq1=function(){throw Error(`No async scheduler available See http://goo.gl/MqrFmX -`)},pi=di.getNativePromise();if(di.isNode&&typeof MutationObserver>"u")mi=global.setImmediate,li=process.nextTick,dz=di.isRecentNode?function($){mi.call(global,$)}:function($){li.call(process,$)};else if(typeof pi==="function"&&typeof pi.resolve==="function")oi=pi.resolve(),dz=function($){oi.then($)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))dz=function(){var $=document.createElement("div"),Y={attributes:!0},z=!1,U=document.createElement("div"),Q=new MutationObserver(function(){$.classList.toggle("foo"),z=!1});Q.observe(U,Y);var J=function(){if(z)return;z=!0,U.classList.toggle("foo")};return function(K){var G=new MutationObserver(function(){G.disconnect(),K()});G.observe($,Y),J()}}();else if(typeof setImmediate<"u")dz=function($){setImmediate($)};else if(typeof setTimeout<"u")dz=function($){setTimeout($,0)};else dz=hq1;var mi,li,oi;$F0.exports=dz});var UF0=E((Qs1,zF0)=>{function Sq1($,Y,z,U,Q){for(var J=0;J{var GF0;try{throw Error()}catch($){GF0=$}var gq1=YF0(),QF0=UF0(),WF0=F4();function x6(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new QF0(16),this._normalQueue=new QF0(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var $=this;this.drainQueues=function(){$._drainQueues()},this._schedule=gq1}x6.prototype.setScheduler=function($){var Y=this._schedule;return this._schedule=$,this._customScheduler=!0,Y};x6.prototype.hasCustomScheduler=function(){return this._customScheduler};x6.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};x6.prototype.disableTrampolineIfNecessary=function(){if(WF0.hasDevTools)this._trampolineEnabled=!1};x6.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};x6.prototype.fatalError=function($,Y){if(Y)process.stderr.write("Fatal "+($ instanceof Error?$.stack:$)+` +`)},mi=li.getNativePromise();if(li.isNode&&typeof MutationObserver>"u")oi=global.setImmediate,ri=process.nextTick,dz=li.isRecentNode?function($){oi.call(global,$)}:function($){ri.call(process,$)};else if(typeof mi==="function"&&typeof mi.resolve==="function")si=mi.resolve(),dz=function($){si.then($)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))dz=function(){var $=document.createElement("div"),Y={attributes:!0},z=!1,U=document.createElement("div"),Q=new MutationObserver(function(){$.classList.toggle("foo"),z=!1});Q.observe(U,Y);var J=function(){if(z)return;z=!0,U.classList.toggle("foo")};return function(K){var G=new MutationObserver(function(){G.disconnect(),K()});G.observe($,Y),J()}}();else if(typeof setImmediate<"u")dz=function($){setImmediate($)};else if(typeof setTimeout<"u")dz=function($){setTimeout($,0)};else dz=gq1;var oi,ri,si;$F0.exports=dz});var UF0=E((Ks1,zF0)=>{function yq1($,Y,z,U,Q){for(var J=0;J{var GF0;try{throw Error()}catch($){GF0=$}var kq1=YF0(),QF0=UF0(),WF0=F4();function x6(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new QF0(16),this._normalQueue=new QF0(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var $=this;this.drainQueues=function(){$._drainQueues()},this._schedule=kq1}x6.prototype.setScheduler=function($){var Y=this._schedule;return this._schedule=$,this._customScheduler=!0,Y};x6.prototype.hasCustomScheduler=function(){return this._customScheduler};x6.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};x6.prototype.disableTrampolineIfNecessary=function(){if(WF0.hasDevTools)this._trampolineEnabled=!1};x6.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};x6.prototype.fatalError=function($,Y){if(Y)process.stderr.write("Fatal "+($ instanceof Error?$.stack:$)+` `),process.exit(2);else this.throwLater($)};x6.prototype.throwLater=function($,Y){if(arguments.length===1)Y=$,$=function(){throw Y};if(typeof setTimeout<"u")setTimeout(function(){$(Y)},0);else try{this._schedule(function(){$(Y)})}catch(z){throw Error(`No async scheduler available See http://goo.gl/MqrFmX -`)}};function JF0($,Y,z){this._lateQueue.push($,Y,z),this._queueTick()}function IF0($,Y,z){this._normalQueue.push($,Y,z),this._queueTick()}function KF0($){this._normalQueue._pushOne($),this._queueTick()}if(!WF0.hasDevTools)x6.prototype.invokeLater=JF0,x6.prototype.invoke=IF0,x6.prototype.settlePromises=KF0;else x6.prototype.invokeLater=function($,Y,z){if(this._trampolineEnabled)JF0.call(this,$,Y,z);else this._schedule(function(){setTimeout(function(){$.call(Y,z)},100)})},x6.prototype.invoke=function($,Y,z){if(this._trampolineEnabled)IF0.call(this,$,Y,z);else this._schedule(function(){$.call(Y,z)})},x6.prototype.settlePromises=function($){if(this._trampolineEnabled)KF0.call(this,$);else this._schedule(function(){$._settlePromises()})};x6.prototype._drainQueue=function($){while($.length()>0){var Y=$.shift();if(typeof Y!=="function"){Y._settlePromises();continue}var z=$.shift(),U=$.shift();Y.call(z,U)}};x6.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};x6.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};x6.prototype._reset=function(){this._isTickUsed=!1};ri.exports=x6;ri.exports.firstLineError=GF0});var A7=E((Is1,qF0)=>{var ti=pz(),yq1=ti.freeze,XF0=F4(),ZF0=XF0.inherits,RI=XF0.notEnumerableProp;function _I($,Y){function z(U){if(!(this instanceof z))return new z(U);if(RI(this,"message",typeof U==="string"?U:Y),RI(this,"name",$),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return ZF0(z,Error),z}var si,ai,kq1=_I("Warning","warning"),xq1=_I("CancellationError","cancellation error"),fq1=_I("TimeoutError","timeout error"),bX=_I("AggregateError","aggregate error");try{si=TypeError,ai=RangeError}catch($){si=_I("TypeError","type error"),ai=_I("RangeError","range error")}var BB="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(mz=0;mz0){var Y=$.shift();if(typeof Y!=="function"){Y._settlePromises();continue}var z=$.shift(),U=$.shift();Y.call(z,U)}};x6.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};x6.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};x6.prototype._reset=function(){this._isTickUsed=!1};ai.exports=x6;ai.exports.firstLineError=GF0});var T7=E((Ws1,qF0)=>{var $c=pz(),xq1=$c.freeze,XF0=F4(),ZF0=XF0.inherits,RI=XF0.notEnumerableProp;function _I($,Y){function z(U){if(!(this instanceof z))return new z(U);if(RI(this,"message",typeof U==="string"?U:Y),RI(this,"name",$),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return ZF0(z,Error),z}var ti,ei,fq1=_I("Warning","warning"),uq1=_I("CancellationError","cancellation error"),bq1=_I("TimeoutError","timeout error"),bX=_I("AggregateError","aggregate error");try{ti=TypeError,ei=RangeError}catch($){ti=_I("TypeError","type error"),ei=_I("RangeError","range error")}var PB="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(mz=0;mz{VF0.exports=function($,Y){var z=F4(),U=z.errorObj,Q=z.isObject;function J(X,Z){if(Q(X)){if(X instanceof $)return X;var q=K(X);if(q===U){if(Z)Z._pushContext();var V=$.reject(q.e);if(Z)Z._popContext();return V}else if(typeof q==="function"){if(W(X)){var V=new $(Y);return X._then(V._fulfill,V._reject,void 0,V,null),V}return H(X,q,Z)}}return X}function I(X){return X.then}function K(X){try{return I(X)}catch(Z){return U.e=Z,U}}var G={}.hasOwnProperty;function W(X){try{return G.call(X,"_promise0")}catch(Z){return!1}}function H(X,Z,q){var V=new $(Y),F=V;if(q)q._pushContext();if(V._captureStackTrace(),q)q._popContext();var M=!0,w=z.tryCatch(Z).call(X,O,D);if(M=!1,V&&w===U)V._rejectCallback(w.e,!0,!0),V=null;function O(N){if(!V)return;V._resolveCallback(N),V=null}function D(N){if(!V)return;V._rejectCallback(N,M,!0),V=null}return F}return J}});var wF0=E((Gs1,FF0)=>{FF0.exports=function($,Y,z,U,Q){var J=F4(),I=J.isArray;function K(W){switch(W){case-2:return[];case-3:return{}}}function G(W){var H=this._promise=new $(Y);if(W instanceof $)H._propagateFrom(W,3);H._setOnCancel(this),this._values=W,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return J.inherits(G,Q),G.prototype.length=function(){return this._length},G.prototype.promise=function(){return this._promise},G.prototype._init=function W(H,X){var Z=z(this._values,this._promise);if(Z instanceof $){Z=Z._target();var q=Z._bitField;if(this._values=Z,(q&50397184)===0)return this._promise._setAsyncGuaranteed(),Z._then(W,this._reject,void 0,this,X);else if((q&33554432)!==0)Z=Z._value();else if((q&16777216)!==0)return this._reject(Z._reason());else return this._cancel()}if(Z=J.asArray(Z),Z===null){var V=U("expecting an array or an iterable object but got "+J.classString(Z)).reason();this._promise._rejectCallback(V,!1);return}if(Z.length===0){if(X===-5)this._resolveEmptyArray();else this._resolve(K(X));return}this._iterate(Z)},G.prototype._iterate=function(W){var H=this.getActualLength(W.length);this._length=H,this._values=this.shouldCopyValues()?Array(H):this._values;var X=this._promise,Z=!1,q=null;for(var V=0;V=this._length)return this._resolve(this._values),!0;return!1},G.prototype._promiseCancelled=function(){return this._cancel(),!0},G.prototype._promiseRejected=function(W){return this._totalResolved++,this._reject(W),!0},G.prototype._resultCancelled=function(){if(this._isResolved())return;var W=this._values;if(this._cancel(),W instanceof $)W.cancel();else for(var H=0;H{MF0.exports=function($){var Y=!1,z=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function U(){this._trace=new U.CapturedTrace(J())}U.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,z.push(this._trace)},U.prototype._popContext=function(){if(this._trace!==void 0){var I=z.pop(),K=I._promiseCreated;return I._promiseCreated=null,K}return null};function Q(){if(Y)return new U}function J(){var I=z.length-1;if(I>=0)return z[I];return}return U.CapturedTrace=null,U.create=Q,U.deactivateLongStackTraces=function(){},U.activateLongStackTraces=function(){var I=$.prototype._pushContext,K=$.prototype._popContext,G=$._peekContext,W=$.prototype._peekContext,H=$.prototype._promiseCreated;U.deactivateLongStackTraces=function(){$.prototype._pushContext=I,$.prototype._popContext=K,$._peekContext=G,$.prototype._peekContext=W,$.prototype._promiseCreated=H,Y=!1},Y=!0,$.prototype._pushContext=U.prototype._pushContext,$.prototype._popContext=U.prototype._popContext,$._peekContext=$.prototype._peekContext=J,$.prototype._promiseCreated=function(){var X=this._peekContext();if(X&&X._promiseCreated==null)X._promiseCreated=this}},U}});var DF0=E((Hs1,NF0)=>{NF0.exports=function($,Y){var{_getDomain:z,_async:U}=$,Q=A7().Warning,J=F4(),I=J.canAttachTrace,K,G,W=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,H=/\((?:timers\.js):\d+:\d+\)/,X=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,Z=null,q=null,V=!1,F,M=!!(J.env("BLUEBIRD_DEBUG")!=0&&(J.env("BLUEBIRD_DEBUG")||J.env("NODE_ENV")==="development")),w=!!(J.env("BLUEBIRD_WARNINGS")!=0&&(M||J.env("BLUEBIRD_WARNINGS"))),O=!!(J.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(M||J.env("BLUEBIRD_LONG_STACK_TRACES"))),D=J.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(w||!!J.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var Q0=this._target();Q0._bitField=Q0._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),U.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){a("rejectionHandled",K,void 0,this)},$.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},$.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},$.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var Q0=this._settledValue();this._setUnhandledRejectionIsNotified(),a("unhandledRejection",G,Q0,this)}},$.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},$.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},$.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},$.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},$.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},$.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},$.prototype._warn=function(Q0,P,v){return s(Q0,P,v||this)},$.onPossiblyUnhandledRejection=function(Q0){var P=z();G=typeof Q0==="function"?P===null?Q0:J.domainBind(P,Q0):void 0},$.onUnhandledRejectionHandled=function(Q0){var P=z();K=typeof Q0==="function"?P===null?Q0:J.domainBind(P,Q0):void 0};var N=function(){};$.longStackTraces=function(){if(U.haveItemsQueued()&&!B0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created +`}return AB--,Y};function uX($){if(!(this instanceof uX))return new uX($);if(RI(this,"name","OperationalError"),RI(this,"message",$),this.cause=$,this.isOperational=!0,$ instanceof Error)RI(this,"message",$.message),RI(this,"stack",$.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}ZF0(uX,Error);var lz=Error.__BluebirdErrorTypes__;if(!lz)lz=xq1({CancellationError:uq1,TimeoutError:bq1,OperationalError:uX,RejectionError:uX,AggregateError:bX}),$c.defineProperty(Error,"__BluebirdErrorTypes__",{value:lz,writable:!1,enumerable:!1,configurable:!1});qF0.exports={Error,TypeError:ti,RangeError:ei,CancellationError:lz.CancellationError,OperationalError:lz.OperationalError,TimeoutError:lz.TimeoutError,AggregateError:lz.AggregateError,Warning:fq1}});var LF0=E((Hs1,VF0)=>{VF0.exports=function($,Y){var z=F4(),U=z.errorObj,Q=z.isObject;function J(X,Z){if(Q(X)){if(X instanceof $)return X;var q=K(X);if(q===U){if(Z)Z._pushContext();var V=$.reject(q.e);if(Z)Z._popContext();return V}else if(typeof q==="function"){if(W(X)){var V=new $(Y);return X._then(V._fulfill,V._reject,void 0,V,null),V}return H(X,q,Z)}}return X}function I(X){return X.then}function K(X){try{return I(X)}catch(Z){return U.e=Z,U}}var G={}.hasOwnProperty;function W(X){try{return G.call(X,"_promise0")}catch(Z){return!1}}function H(X,Z,q){var V=new $(Y),F=V;if(q)q._pushContext();if(V._captureStackTrace(),q)q._popContext();var M=!0,w=z.tryCatch(Z).call(X,O,N);if(M=!1,V&&w===U)V._rejectCallback(w.e,!0,!0),V=null;function O(D){if(!V)return;V._resolveCallback(D),V=null}function N(D){if(!V)return;V._rejectCallback(D,M,!0),V=null}return F}return J}});var wF0=E((Xs1,FF0)=>{FF0.exports=function($,Y,z,U,Q){var J=F4(),I=J.isArray;function K(W){switch(W){case-2:return[];case-3:return{}}}function G(W){var H=this._promise=new $(Y);if(W instanceof $)H._propagateFrom(W,3);H._setOnCancel(this),this._values=W,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return J.inherits(G,Q),G.prototype.length=function(){return this._length},G.prototype.promise=function(){return this._promise},G.prototype._init=function W(H,X){var Z=z(this._values,this._promise);if(Z instanceof $){Z=Z._target();var q=Z._bitField;if(this._values=Z,(q&50397184)===0)return this._promise._setAsyncGuaranteed(),Z._then(W,this._reject,void 0,this,X);else if((q&33554432)!==0)Z=Z._value();else if((q&16777216)!==0)return this._reject(Z._reason());else return this._cancel()}if(Z=J.asArray(Z),Z===null){var V=U("expecting an array or an iterable object but got "+J.classString(Z)).reason();this._promise._rejectCallback(V,!1);return}if(Z.length===0){if(X===-5)this._resolveEmptyArray();else this._resolve(K(X));return}this._iterate(Z)},G.prototype._iterate=function(W){var H=this.getActualLength(W.length);this._length=H,this._values=this.shouldCopyValues()?Array(H):this._values;var X=this._promise,Z=!1,q=null;for(var V=0;V=this._length)return this._resolve(this._values),!0;return!1},G.prototype._promiseCancelled=function(){return this._cancel(),!0},G.prototype._promiseRejected=function(W){return this._totalResolved++,this._reject(W),!0},G.prototype._resultCancelled=function(){if(this._isResolved())return;var W=this._values;if(this._cancel(),W instanceof $)W.cancel();else for(var H=0;H{MF0.exports=function($){var Y=!1,z=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function U(){this._trace=new U.CapturedTrace(J())}U.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,z.push(this._trace)},U.prototype._popContext=function(){if(this._trace!==void 0){var I=z.pop(),K=I._promiseCreated;return I._promiseCreated=null,K}return null};function Q(){if(Y)return new U}function J(){var I=z.length-1;if(I>=0)return z[I];return}return U.CapturedTrace=null,U.create=Q,U.deactivateLongStackTraces=function(){},U.activateLongStackTraces=function(){var I=$.prototype._pushContext,K=$.prototype._popContext,G=$._peekContext,W=$.prototype._peekContext,H=$.prototype._promiseCreated;U.deactivateLongStackTraces=function(){$.prototype._pushContext=I,$.prototype._popContext=K,$._peekContext=G,$.prototype._peekContext=W,$.prototype._promiseCreated=H,Y=!1},Y=!0,$.prototype._pushContext=U.prototype._pushContext,$.prototype._popContext=U.prototype._popContext,$._peekContext=$.prototype._peekContext=J,$.prototype._promiseCreated=function(){var X=this._peekContext();if(X&&X._promiseCreated==null)X._promiseCreated=this}},U}});var DF0=E((qs1,NF0)=>{NF0.exports=function($,Y){var{_getDomain:z,_async:U}=$,Q=T7().Warning,J=F4(),I=J.canAttachTrace,K,G,W=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,H=/\((?:timers\.js):\d+:\d+\)/,X=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,Z=null,q=null,V=!1,F,M=!!(J.env("BLUEBIRD_DEBUG")!=0&&(J.env("BLUEBIRD_DEBUG")||J.env("NODE_ENV")==="development")),w=!!(J.env("BLUEBIRD_WARNINGS")!=0&&(M||J.env("BLUEBIRD_WARNINGS"))),O=!!(J.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(M||J.env("BLUEBIRD_LONG_STACK_TRACES"))),N=J.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(w||!!J.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var Q0=this._target();Q0._bitField=Q0._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),U.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){a("rejectionHandled",K,void 0,this)},$.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},$.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},$.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var Q0=this._settledValue();this._setUnhandledRejectionIsNotified(),a("unhandledRejection",G,Q0,this)}},$.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},$.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},$.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},$.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},$.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},$.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},$.prototype._warn=function(Q0,P,v){return s(Q0,P,v||this)},$.onPossiblyUnhandledRejection=function(Q0){var P=z();G=typeof Q0==="function"?P===null?Q0:J.domainBind(P,Q0):void 0},$.onUnhandledRejectionHandled=function(Q0){var P=z();K=typeof Q0==="function"?P===null?Q0:J.domainBind(P,Q0):void 0};var D=function(){};$.longStackTraces=function(){if(U.haveItemsQueued()&&!B0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX -`);if(!B0.longStackTraces&&f0()){var Q0=$.prototype._captureStackTrace,P=$.prototype._attachExtraTrace;B0.longStackTraces=!0,N=function(){if(U.haveItemsQueued()&&!B0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created +`);if(!B0.longStackTraces&&f0()){var Q0=$.prototype._captureStackTrace,P=$.prototype._attachExtraTrace;B0.longStackTraces=!0,D=function(){if(U.haveItemsQueued()&&!B0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX -`);$.prototype._captureStackTrace=Q0,$.prototype._attachExtraTrace=P,Y.deactivateLongStackTraces(),U.enableTrampoline(),B0.longStackTraces=!1},$.prototype._captureStackTrace=g,$.prototype._attachExtraTrace=p,Y.activateLongStackTraces(),U.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return B0.longStackTraces&&f0()};var A=function(){try{if(typeof CustomEvent==="function"){var Q0=new CustomEvent("CustomEvent");return J.global.dispatchEvent(Q0),function(P,v){var u=new CustomEvent(P.toLowerCase(),{detail:v,cancelable:!0});return!J.global.dispatchEvent(u)}}else if(typeof Event==="function"){var Q0=new Event("CustomEvent");return J.global.dispatchEvent(Q0),function(v,u){var r=new Event(v.toLowerCase(),{cancelable:!0});return r.detail=u,!J.global.dispatchEvent(r)}}else{var Q0=document.createEvent("CustomEvent");return Q0.initCustomEvent("testingtheevent",!1,!0,{}),J.global.dispatchEvent(Q0),function(v,u){var r=document.createEvent("CustomEvent");return r.initCustomEvent(v.toLowerCase(),!1,!0,u),!J.global.dispatchEvent(r)}}}catch(P){}return function(){return!1}}(),T=function(){if(J.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!J.global)return function(){return!1};return function(Q0){var P="on"+Q0.toLowerCase(),v=J.global[P];if(!v)return!1;return v.apply(J.global,[].slice.call(arguments,1)),!0}}}();function B(Q0,P){return{promise:P}}var j={promiseCreated:B,promiseFulfilled:B,promiseRejected:B,promiseResolved:B,promiseCancelled:B,promiseChained:function(Q0,P,v){return{promise:P,child:v}},warning:function(Q0,P){return{warning:P}},unhandledRejection:function(Q0,P,v){return{reason:P,promise:v}},rejectionHandled:B},C=function(Q0){var P=!1;try{P=T.apply(null,arguments)}catch(u){U.throwLater(u),P=!0}var v=!1;try{v=A(Q0,j[Q0].apply(null,arguments))}catch(u){U.throwLater(u),v=!0}return v||P};$.config=function(Q0){if(Q0=Object(Q0),"longStackTraces"in Q0){if(Q0.longStackTraces)$.longStackTraces();else if(!Q0.longStackTraces&&$.hasLongStackTraces())N()}if("warnings"in Q0){var P=Q0.warnings;if(B0.warnings=!!P,D=B0.warnings,J.isObject(P)){if("wForgottenReturn"in P)D=!!P.wForgottenReturn}}if("cancellation"in Q0&&Q0.cancellation&&!B0.cancellation){if(U.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=U0,$.prototype._propagateFrom=x,$.prototype._onCancel=i,$.prototype._setOnCancel=c,$.prototype._attachCancellationCallback=h,$.prototype._execute=k,t=x,B0.cancellation=!0}if("monitoring"in Q0){if(Q0.monitoring&&!B0.monitoring)B0.monitoring=!0,$.prototype._fireEvent=C;else if(!Q0.monitoring&&B0.monitoring)B0.monitoring=!1,$.prototype._fireEvent=b}return $};function b(){return!1}$.prototype._fireEvent=b,$.prototype._execute=function(Q0,P,v){try{Q0(P,v)}catch(u){return u}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(Q0){},$.prototype._attachCancellationCallback=function(Q0){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(Q0,P){};function k(Q0,P,v){var u=this;try{Q0(P,v,function(r){if(typeof r!=="function")throw TypeError("onCancel must be a function, got: "+J.toString(r));u._attachCancellationCallback(r)})}catch(r){return r}}function h(Q0){if(!this._isCancellable())return this;var P=this._onCancel();if(P!==void 0)if(J.isArray(P))P.push(Q0);else this._setOnCancel([P,Q0]);else this._setOnCancel(Q0)}function i(){return this._onCancelField}function c(Q0){this._onCancelField=Q0}function U0(){this._cancellationParent=void 0,this._onCancelField=void 0}function x(Q0,P){if((P&1)!==0){this._cancellationParent=Q0;var v=Q0._branchesRemainingToCancel;if(v===void 0)v=0;Q0._branchesRemainingToCancel=v+1}if((P&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}function d(Q0,P){if((P&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}var t=d;function $0(){var Q0=this._boundTo;if(Q0!==void 0){if(Q0 instanceof $)if(Q0.isFulfilled())return Q0.value();else return}return Q0}function g(){this._trace=new u1(this._peekContext())}function p(Q0,P){if(I(Q0)){var v=this._trace;if(v!==void 0){if(P)v=v._parent}if(v!==void 0)v.attachExtraTrace(Q0);else if(!Q0.__stackCleaned__){var u=b0(Q0);J.notEnumerableProp(Q0,"stack",u.message+` +`);$.prototype._captureStackTrace=Q0,$.prototype._attachExtraTrace=P,Y.deactivateLongStackTraces(),U.enableTrampoline(),B0.longStackTraces=!1},$.prototype._captureStackTrace=g,$.prototype._attachExtraTrace=p,Y.activateLongStackTraces(),U.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return B0.longStackTraces&&f0()};var T=function(){try{if(typeof CustomEvent==="function"){var Q0=new CustomEvent("CustomEvent");return J.global.dispatchEvent(Q0),function(P,v){var u=new CustomEvent(P.toLowerCase(),{detail:v,cancelable:!0});return!J.global.dispatchEvent(u)}}else if(typeof Event==="function"){var Q0=new Event("CustomEvent");return J.global.dispatchEvent(Q0),function(v,u){var r=new Event(v.toLowerCase(),{cancelable:!0});return r.detail=u,!J.global.dispatchEvent(r)}}else{var Q0=document.createEvent("CustomEvent");return Q0.initCustomEvent("testingtheevent",!1,!0,{}),J.global.dispatchEvent(Q0),function(v,u){var r=document.createEvent("CustomEvent");return r.initCustomEvent(v.toLowerCase(),!1,!0,u),!J.global.dispatchEvent(r)}}}catch(P){}return function(){return!1}}(),A=function(){if(J.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!J.global)return function(){return!1};return function(Q0){var P="on"+Q0.toLowerCase(),v=J.global[P];if(!v)return!1;return v.apply(J.global,[].slice.call(arguments,1)),!0}}}();function B(Q0,P){return{promise:P}}var j={promiseCreated:B,promiseFulfilled:B,promiseRejected:B,promiseResolved:B,promiseCancelled:B,promiseChained:function(Q0,P,v){return{promise:P,child:v}},warning:function(Q0,P){return{warning:P}},unhandledRejection:function(Q0,P,v){return{reason:P,promise:v}},rejectionHandled:B},C=function(Q0){var P=!1;try{P=A.apply(null,arguments)}catch(u){U.throwLater(u),P=!0}var v=!1;try{v=T(Q0,j[Q0].apply(null,arguments))}catch(u){U.throwLater(u),v=!0}return v||P};$.config=function(Q0){if(Q0=Object(Q0),"longStackTraces"in Q0){if(Q0.longStackTraces)$.longStackTraces();else if(!Q0.longStackTraces&&$.hasLongStackTraces())D()}if("warnings"in Q0){var P=Q0.warnings;if(B0.warnings=!!P,N=B0.warnings,J.isObject(P)){if("wForgottenReturn"in P)N=!!P.wForgottenReturn}}if("cancellation"in Q0&&Q0.cancellation&&!B0.cancellation){if(U.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=U0,$.prototype._propagateFrom=x,$.prototype._onCancel=i,$.prototype._setOnCancel=c,$.prototype._attachCancellationCallback=h,$.prototype._execute=k,t=x,B0.cancellation=!0}if("monitoring"in Q0){if(Q0.monitoring&&!B0.monitoring)B0.monitoring=!0,$.prototype._fireEvent=C;else if(!Q0.monitoring&&B0.monitoring)B0.monitoring=!1,$.prototype._fireEvent=b}return $};function b(){return!1}$.prototype._fireEvent=b,$.prototype._execute=function(Q0,P,v){try{Q0(P,v)}catch(u){return u}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(Q0){},$.prototype._attachCancellationCallback=function(Q0){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(Q0,P){};function k(Q0,P,v){var u=this;try{Q0(P,v,function(r){if(typeof r!=="function")throw TypeError("onCancel must be a function, got: "+J.toString(r));u._attachCancellationCallback(r)})}catch(r){return r}}function h(Q0){if(!this._isCancellable())return this;var P=this._onCancel();if(P!==void 0)if(J.isArray(P))P.push(Q0);else this._setOnCancel([P,Q0]);else this._setOnCancel(Q0)}function i(){return this._onCancelField}function c(Q0){this._onCancelField=Q0}function U0(){this._cancellationParent=void 0,this._onCancelField=void 0}function x(Q0,P){if((P&1)!==0){this._cancellationParent=Q0;var v=Q0._branchesRemainingToCancel;if(v===void 0)v=0;Q0._branchesRemainingToCancel=v+1}if((P&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}function d(Q0,P){if((P&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}var t=d;function $0(){var Q0=this._boundTo;if(Q0!==void 0){if(Q0 instanceof $)if(Q0.isFulfilled())return Q0.value();else return}return Q0}function g(){this._trace=new u1(this._peekContext())}function p(Q0,P){if(I(Q0)){var v=this._trace;if(v!==void 0){if(P)v=v._parent}if(v!==void 0)v.attachExtraTrace(Q0);else if(!Q0.__stackCleaned__){var u=b0(Q0);J.notEnumerableProp(Q0,"stack",u.message+` `+u.stack.join(` -`)),J.notEnumerableProp(Q0,"__stackCleaned__",!0)}}}function e(Q0,P,v,u,r){if(Q0===void 0&&P!==null&&D){if(r!==void 0&&r._returnedNonUndefined())return;if((u._bitField&65535)===0)return;if(v)v=v+" ";var X0="",J0="";if(P._trace){var Z0=P._trace.stack.split(` +`)),J.notEnumerableProp(Q0,"__stackCleaned__",!0)}}}function e(Q0,P,v,u,r){if(Q0===void 0&&P!==null&&N){if(r!==void 0&&r._returnedNonUndefined())return;if((u._bitField&65535)===0)return;if(v)v=v+" ";var X0="",J0="";if(P._trace){var Z0=P._trace.stack.split(` `),O0=G0(Z0);for(var P0=O0.length-1;P0>=0;--P0){var r0=O0[P0];if(!H.test(r0)){var I1=r0.match(X);if(I1)X0="at "+I1[1]+":"+I1[2]+":"+I1[3]+" ";break}}if(O0.length>0){var U1=O0[0];for(var P0=0;P00)J0=` `+Z0[P0-1];break}}}var N1="a promise was created in a "+v+"handler "+X0+"but was not returned from it, see http://goo.gl/rRqMUw"+J0;u._warn(N1,!0,P)}}function y(Q0,P){var v=Q0+" is deprecated and will be removed in a future version.";if(P)v+=" Use "+P+" instead.";return s(v)}function s(Q0,P,v){if(!B0.warnings)return;var u=new Q(Q0),r;if(P)v._attachExtraTrace(u);else if(B0.longStackTraces&&(r=$._peekContext()))r.attachExtraTrace(u);else{var X0=b0(u);u.stack=X0.message+` `+X0.stack.join(` @@ -141,27 +141,27 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))r `),r=-1,X0=-1,J0,Z0;for(var O0=0;O0=X0)return;u0=function(r0){if(W.test(r0))return!0;var I1=D1(r0);if(I1){if(I1.fileName===J0&&(r<=I1.line&&I1.line<=X0))return!0}return!1}}function u1(Q0){this._parent=Q0,this._promisesCreated=0;var P=this._length=1+(Q0===void 0?0:Q0._length);if(b1(this,u1),P>32)this.uncycle()}J.inherits(u1,Error),Y.CapturedTrace=u1,u1.prototype.uncycle=function(){var Q0=this._length;if(Q0<2)return;var P=[],v={};for(var u=0,r=this;r!==void 0;++u)P.push(r),r=r._parent;Q0=this._length=u;for(var u=Q0-1;u>=0;--u){var X0=P[u].stack;if(v[X0]===void 0)v[X0]=u}for(var u=0;u0)P[Z0-1]._parent=void 0,P[Z0-1]._length=1;P[u]._parent=void 0,P[u]._length=1;var O0=u>0?P[u-1]:this;if(Z0=0;--r0)P[r0]._length=P0,P0++;return}}},u1.prototype.attachExtraTrace=function(Q0){if(Q0.__stackCleaned__)return;this.uncycle();var P=b0(Q0),v=P.message,u=[P.stack],r=this;while(r!==void 0)u.push(G0(r.stack.split(` `))),r=r._parent;E0(u),M0(u),J.notEnumerableProp(Q0,"stack",Y0(v,u)),J.notEnumerableProp(Q0,"__stackCleaned__",!0)};var b1=function(){var P=/^\s*at\s*/,v=function(J0,Z0){if(typeof J0==="string")return J0;if(Z0.name!==void 0&&Z0.message!==void 0)return Z0.toString();return H0(Z0)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,Z=P,q=v;var u=Error.captureStackTrace;return u0=function(J0){return W.test(J0)},function(J0,Z0){Error.stackTraceLimit+=6,u(J0,Z0),Error.stackTraceLimit-=6}}var r=Error();if(typeof r.stack==="string"&&r.stack.split(` `)[0].indexOf("stackDetection@")>=0)return Z=/@/,q=v,V=!0,function(Z0){Z0.stack=Error().stack};var X0;try{throw Error()}catch(J0){X0="stack"in J0}if(!("stack"in r)&&X0&&typeof Error.stackTraceLimit==="number")return Z=P,q=v,function(Z0){Error.stackTraceLimit+=6;try{throw Error()}catch(O0){Z0.stack=O0.stack}Error.stackTraceLimit-=6};return q=function(J0,Z0){if(typeof J0==="string")return J0;if((typeof Z0==="object"||typeof Z0==="function")&&Z0.name!==void 0&&Z0.message!==void 0)return Z0.toString();return H0(Z0)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(F=function(Q0){console.warn(Q0)},J.isNode&&process.stderr.isTTY)F=function(Q0,P){var v=P?"\x1B[33m":"\x1B[31m";console.warn(v+Q0+`\x1B[0m -`)};else if(!J.isNode&&typeof Error().stack==="string")F=function(Q0,P){console.warn("%c"+Q0,P?"color: darkorange":"color: red")}}var B0={warnings:w,longStackTraces:!1,cancellation:!1,monitoring:!1};if(O)$.longStackTraces();return{longStackTraces:function(){return B0.longStackTraces},warnings:function(){return B0.warnings},cancellation:function(){return B0.cancellation},monitoring:function(){return B0.monitoring},propagateFromFunction:function(){return t},boundValueFunction:function(){return $0},checkForgottenReturns:e,setBounds:k1,warn:s,deprecated:y,CapturedTrace:u1,fireDomEvent:A,fireGlobalEvent:T}}});var PF0=E((Xs1,BF0)=>{BF0.exports=function($,Y){var z=F4(),U=$.CancellationError,Q=z.errorObj;function J(X,Z,q){this.promise=X,this.type=Z,this.handler=q,this.called=!1,this.cancelPromise=null}J.prototype.isFinallyHandler=function(){return this.type===0};function I(X){this.finallyHandler=X}I.prototype._resultCancelled=function(){K(this.finallyHandler)};function K(X,Z){if(X.cancelPromise!=null){if(arguments.length>1)X.cancelPromise._reject(Z);else X.cancelPromise._cancel();return X.cancelPromise=null,!0}return!1}function G(){return H.call(this,this.promise._target()._settledValue())}function W(X){if(K(this,X))return;return Q.e=X,Q}function H(X){var Z=this.promise,q=this.handler;if(!this.called){this.called=!0;var V=this.isFinallyHandler()?q.call(Z._boundValue()):q.call(Z._boundValue(),X);if(V!==void 0){Z._setReturnedNonUndefined();var F=Y(V,Z);if(F instanceof $){if(this.cancelPromise!=null){if(F._isCancelled()){var M=new U("late cancellation observer");return Z._attachExtraTrace(M),Q.e=M,Q}else if(F.isPending())F._attachCancellationCallback(new I(this))}return F._then(G,W,void 0,this,void 0)}}}if(Z.isRejected())return K(this),Q.e=X,Q;else return K(this),X}return $.prototype._passThrough=function(X,Z,q,V){if(typeof X!=="function")return this.then();return this._then(q,V,void 0,new J(this,Z,X),void 0)},$.prototype.lastly=$.prototype.finally=function(X){return this._passThrough(X,0,H,H)},$.prototype.tap=function(X){return this._passThrough(X,1,H)},J}});var TF0=E((Zs1,AF0)=>{AF0.exports=function($){var Y=F4(),z=pz().keys,U=Y.tryCatch,Q=Y.errorObj;function J(I,K,G){return function(W){var H=G._boundValue();$:for(var X=0;X{var jF0=F4(),uq1=jF0.maybeWrapAsError,bq1=A7(),iq1=bq1.OperationalError,EF0=pz();function cq1($){return $ instanceof Error&&EF0.getPrototypeOf($)===Error.prototype}var nq1=/^(?:name|message|stack|cause)$/;function pq1($){var Y;if(cq1($)){Y=new iq1($),Y.name=$.name,Y.message=$.message,Y.stack=$.stack;var z=EF0.keys($);for(var U=0;U{RF0.exports=function($,Y,z,U,Q){var J=F4(),I=J.tryCatch;$.method=function(K){if(typeof K!=="function")throw new $.TypeError("expecting a function but got "+J.classString(K));return function(){var G=new $(Y);G._captureStackTrace(),G._pushContext();var W=I(K).apply(this,arguments),H=G._popContext();return Q.checkForgottenReturns(W,H,"Promise.method",G),G._resolveFromSyncValue(W),G}},$.attempt=$.try=function(K){if(typeof K!=="function")return U("expecting a function but got "+J.classString(K));var G=new $(Y);G._captureStackTrace(),G._pushContext();var W;if(arguments.length>1){Q.deprecated("calling Promise.try with more than 1 argument");var H=arguments[1],X=arguments[2];W=J.isArray(H)?I(K).apply(X,H):I(K).call(X,H)}else W=I(K)();var Z=G._popContext();return Q.checkForgottenReturns(W,Z,"Promise.try",G),G._resolveFromSyncValue(W),G},$.prototype._resolveFromSyncValue=function(K){if(K===J.errorObj)this._rejectCallback(K.e,!1);else this._resolveCallback(K,!0)}}});var hF0=E((Ls1,vF0)=>{vF0.exports=function($,Y,z,U){var Q=!1,J=function(W,H){this._reject(H)},I=function(W,H){H.promiseRejectionQueued=!0,H.bindingPromise._then(J,J,null,this,W)},K=function(W,H){if((this._bitField&50397184)===0)this._resolveCallback(H.target)},G=function(W,H){if(!H.promiseRejectionQueued)this._reject(W)};$.prototype.bind=function(W){if(!Q)Q=!0,$.prototype._propagateFrom=U.propagateFromFunction(),$.prototype._boundValue=U.boundValueFunction();var H=z(W),X=new $(Y);X._propagateFrom(this,1);var Z=this._target();if(X._setBoundTo(H),H instanceof $){var q={promiseRejectionQueued:!1,promise:X,target:Z,bindingPromise:H};Z._then(Y,I,void 0,X,q),H._then(K,G,void 0,X,q),X._setOnCancel(H)}else X._resolveCallback(Z);return X},$.prototype._setBoundTo=function(W){if(W!==void 0)this._bitField=this._bitField|2097152,this._boundTo=W;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(W,H){return $.resolve(H).bind(W)}}});var gF0=E((Fs1,SF0)=>{SF0.exports=function($,Y,z,U){var Q=F4(),J=Q.tryCatch,I=Q.errorObj,K=$._async;$.prototype.break=$.prototype.cancel=function(){if(!U.cancellation())return this._warn("cancellation is disabled");var G=this,W=G;while(G._isCancellable()){if(!G._cancelBy(W)){if(W._isFollowing())W._followee().cancel();else W._cancelBranched();break}var H=G._cancellationParent;if(H==null||!H._isCancellable()){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}else{if(G._isFollowing())G._followee().cancel();G._setWillBeCancelled(),W=G,G=H}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(G){if(G===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},$.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},$.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),K.invoke(this._cancelPromises,this,void 0)},$.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},$.prototype._unsetOnCancel=function(){this._onCancelField=void 0},$.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},$.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},$.prototype._doInvokeOnCancel=function(G,W){if(Q.isArray(G))for(var H=0;H{yF0.exports=function($){function Y(){return this.value}function z(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(U){if(U instanceof $)U.suppressUnhandledRejections();return this._then(Y,void 0,void 0,{value:U},void 0)},$.prototype.throw=$.prototype.thenThrow=function(U){return this._then(z,void 0,void 0,{reason:U},void 0)},$.prototype.catchThrow=function(U){if(arguments.length<=1)return this._then(void 0,z,void 0,{reason:U},void 0);else{var Q=arguments[1],J=function(){throw Q};return this.caught(U,J)}},$.prototype.catchReturn=function(U){if(arguments.length<=1){if(U instanceof $)U.suppressUnhandledRejections();return this._then(void 0,Y,void 0,{value:U},void 0)}else{var Q=arguments[1];if(Q instanceof $)Q.suppressUnhandledRejections();var J=function(){return Q};return this.caught(U,J)}}}});var fF0=E((Ms1,xF0)=>{xF0.exports=function($){function Y(G){if(G!==void 0)G=G._target(),this._bitField=G._bitField,this._settledValueField=G._isFateSealed()?G._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}Y.prototype._settledValue=function(){return this._settledValueField};var z=Y.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise +`)};else if(!J.isNode&&typeof Error().stack==="string")F=function(Q0,P){console.warn("%c"+Q0,P?"color: darkorange":"color: red")}}var B0={warnings:w,longStackTraces:!1,cancellation:!1,monitoring:!1};if(O)$.longStackTraces();return{longStackTraces:function(){return B0.longStackTraces},warnings:function(){return B0.warnings},cancellation:function(){return B0.cancellation},monitoring:function(){return B0.monitoring},propagateFromFunction:function(){return t},boundValueFunction:function(){return $0},checkForgottenReturns:e,setBounds:k1,warn:s,deprecated:y,CapturedTrace:u1,fireDomEvent:T,fireGlobalEvent:A}}});var PF0=E((Vs1,BF0)=>{BF0.exports=function($,Y){var z=F4(),U=$.CancellationError,Q=z.errorObj;function J(X,Z,q){this.promise=X,this.type=Z,this.handler=q,this.called=!1,this.cancelPromise=null}J.prototype.isFinallyHandler=function(){return this.type===0};function I(X){this.finallyHandler=X}I.prototype._resultCancelled=function(){K(this.finallyHandler)};function K(X,Z){if(X.cancelPromise!=null){if(arguments.length>1)X.cancelPromise._reject(Z);else X.cancelPromise._cancel();return X.cancelPromise=null,!0}return!1}function G(){return H.call(this,this.promise._target()._settledValue())}function W(X){if(K(this,X))return;return Q.e=X,Q}function H(X){var Z=this.promise,q=this.handler;if(!this.called){this.called=!0;var V=this.isFinallyHandler()?q.call(Z._boundValue()):q.call(Z._boundValue(),X);if(V!==void 0){Z._setReturnedNonUndefined();var F=Y(V,Z);if(F instanceof $){if(this.cancelPromise!=null){if(F._isCancelled()){var M=new U("late cancellation observer");return Z._attachExtraTrace(M),Q.e=M,Q}else if(F.isPending())F._attachCancellationCallback(new I(this))}return F._then(G,W,void 0,this,void 0)}}}if(Z.isRejected())return K(this),Q.e=X,Q;else return K(this),X}return $.prototype._passThrough=function(X,Z,q,V){if(typeof X!=="function")return this.then();return this._then(q,V,void 0,new J(this,Z,X),void 0)},$.prototype.lastly=$.prototype.finally=function(X){return this._passThrough(X,0,H,H)},$.prototype.tap=function(X){return this._passThrough(X,1,H)},J}});var TF0=E((Ls1,AF0)=>{AF0.exports=function($){var Y=F4(),z=pz().keys,U=Y.tryCatch,Q=Y.errorObj;function J(I,K,G){return function(W){var H=G._boundValue();$:for(var X=0;X{var jF0=F4(),iq1=jF0.maybeWrapAsError,cq1=T7(),nq1=cq1.OperationalError,EF0=pz();function pq1($){return $ instanceof Error&&EF0.getPrototypeOf($)===Error.prototype}var dq1=/^(?:name|message|stack|cause)$/;function mq1($){var Y;if(pq1($)){Y=new nq1($),Y.name=$.name,Y.message=$.message,Y.stack=$.stack;var z=EF0.keys($);for(var U=0;U{RF0.exports=function($,Y,z,U,Q){var J=F4(),I=J.tryCatch;$.method=function(K){if(typeof K!=="function")throw new $.TypeError("expecting a function but got "+J.classString(K));return function(){var G=new $(Y);G._captureStackTrace(),G._pushContext();var W=I(K).apply(this,arguments),H=G._popContext();return Q.checkForgottenReturns(W,H,"Promise.method",G),G._resolveFromSyncValue(W),G}},$.attempt=$.try=function(K){if(typeof K!=="function")return U("expecting a function but got "+J.classString(K));var G=new $(Y);G._captureStackTrace(),G._pushContext();var W;if(arguments.length>1){Q.deprecated("calling Promise.try with more than 1 argument");var H=arguments[1],X=arguments[2];W=J.isArray(H)?I(K).apply(X,H):I(K).call(X,H)}else W=I(K)();var Z=G._popContext();return Q.checkForgottenReturns(W,Z,"Promise.try",G),G._resolveFromSyncValue(W),G},$.prototype._resolveFromSyncValue=function(K){if(K===J.errorObj)this._rejectCallback(K.e,!1);else this._resolveCallback(K,!0)}}});var hF0=E((Ms1,vF0)=>{vF0.exports=function($,Y,z,U){var Q=!1,J=function(W,H){this._reject(H)},I=function(W,H){H.promiseRejectionQueued=!0,H.bindingPromise._then(J,J,null,this,W)},K=function(W,H){if((this._bitField&50397184)===0)this._resolveCallback(H.target)},G=function(W,H){if(!H.promiseRejectionQueued)this._reject(W)};$.prototype.bind=function(W){if(!Q)Q=!0,$.prototype._propagateFrom=U.propagateFromFunction(),$.prototype._boundValue=U.boundValueFunction();var H=z(W),X=new $(Y);X._propagateFrom(this,1);var Z=this._target();if(X._setBoundTo(H),H instanceof $){var q={promiseRejectionQueued:!1,promise:X,target:Z,bindingPromise:H};Z._then(Y,I,void 0,X,q),H._then(K,G,void 0,X,q),X._setOnCancel(H)}else X._resolveCallback(Z);return X},$.prototype._setBoundTo=function(W){if(W!==void 0)this._bitField=this._bitField|2097152,this._boundTo=W;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(W,H){return $.resolve(H).bind(W)}}});var gF0=E((Os1,SF0)=>{SF0.exports=function($,Y,z,U){var Q=F4(),J=Q.tryCatch,I=Q.errorObj,K=$._async;$.prototype.break=$.prototype.cancel=function(){if(!U.cancellation())return this._warn("cancellation is disabled");var G=this,W=G;while(G._isCancellable()){if(!G._cancelBy(W)){if(W._isFollowing())W._followee().cancel();else W._cancelBranched();break}var H=G._cancellationParent;if(H==null||!H._isCancellable()){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}else{if(G._isFollowing())G._followee().cancel();G._setWillBeCancelled(),W=G,G=H}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(G){if(G===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},$.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},$.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),K.invoke(this._cancelPromises,this,void 0)},$.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},$.prototype._unsetOnCancel=function(){this._onCancelField=void 0},$.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},$.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},$.prototype._doInvokeOnCancel=function(G,W){if(Q.isArray(G))for(var H=0;H{yF0.exports=function($){function Y(){return this.value}function z(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(U){if(U instanceof $)U.suppressUnhandledRejections();return this._then(Y,void 0,void 0,{value:U},void 0)},$.prototype.throw=$.prototype.thenThrow=function(U){return this._then(z,void 0,void 0,{reason:U},void 0)},$.prototype.catchThrow=function(U){if(arguments.length<=1)return this._then(void 0,z,void 0,{reason:U},void 0);else{var Q=arguments[1],J=function(){throw Q};return this.caught(U,J)}},$.prototype.catchReturn=function(U){if(arguments.length<=1){if(U instanceof $)U.suppressUnhandledRejections();return this._then(void 0,Y,void 0,{value:U},void 0)}else{var Q=arguments[1];if(Q instanceof $)Q.suppressUnhandledRejections();var J=function(){return Q};return this.caught(U,J)}}}});var fF0=E((Ds1,xF0)=>{xF0.exports=function($){function Y(G){if(G!==void 0)G=G._target(),this._bitField=G._bitField,this._settledValueField=G._isFateSealed()?G._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}Y.prototype._settledValue=function(){return this._settledValueField};var z=Y.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise See http://goo.gl/MqrFmX `);return this._settledValue()},U=Y.prototype.error=Y.prototype.reason=function(){if(!this.isRejected())throw TypeError(`cannot get rejection reason of a non-rejected promise See http://goo.gl/MqrFmX -`);return this._settledValue()},Q=Y.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},J=Y.prototype.isRejected=function(){return(this._bitField&16777216)!==0},I=Y.prototype.isPending=function(){return(this._bitField&50397184)===0},K=Y.prototype.isResolved=function(){return(this._bitField&50331648)!==0};Y.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},$.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},$.prototype._isCancelled=function(){return this._target().__isCancelled()},$.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},$.prototype.isPending=function(){return I.call(this._target())},$.prototype.isRejected=function(){return J.call(this._target())},$.prototype.isFulfilled=function(){return Q.call(this._target())},$.prototype.isResolved=function(){return K.call(this._target())},$.prototype.value=function(){return z.call(this._target())},$.prototype.reason=function(){var G=this._target();return G._unsetRejectionIsUnhandled(),U.call(G)},$.prototype._value=function(){return this._settledValue()},$.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},$.PromiseInspection=Y}});var bF0=E((Os1,uF0)=>{uF0.exports=function($,Y,z,U,Q,J){var I=F4(),K=I.canEvaluate,G=I.tryCatch,W=I.errorObj,H;if(K){var X=function(O){return Function("value","holder",` +`);return this._settledValue()},Q=Y.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},J=Y.prototype.isRejected=function(){return(this._bitField&16777216)!==0},I=Y.prototype.isPending=function(){return(this._bitField&50397184)===0},K=Y.prototype.isResolved=function(){return(this._bitField&50331648)!==0};Y.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},$.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},$.prototype._isCancelled=function(){return this._target().__isCancelled()},$.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},$.prototype.isPending=function(){return I.call(this._target())},$.prototype.isRejected=function(){return J.call(this._target())},$.prototype.isFulfilled=function(){return Q.call(this._target())},$.prototype.isResolved=function(){return K.call(this._target())},$.prototype.value=function(){return z.call(this._target())},$.prototype.reason=function(){var G=this._target();return G._unsetRejectionIsUnhandled(),U.call(G)},$.prototype._value=function(){return this._settledValue()},$.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},$.PromiseInspection=Y}});var bF0=E((Bs1,uF0)=>{uF0.exports=function($,Y,z,U,Q,J){var I=F4(),K=I.canEvaluate,G=I.tryCatch,W=I.errorObj,H;if(K){var X=function(O){return Function("value","holder",` 'use strict'; holder.pIndex = value; holder.checkFulfillment(this); `.replace(/Index/g,O))},Z=function(O){return Function("promise","holder",` 'use strict'; holder.pIndex = promise; - `.replace(/Index/g,O))},q=function(O){var D=Array(O);for(var N=0;N0&&typeof arguments[O]==="function"){if(D=arguments[O],O<=8&&K){var c=new $(U);c._captureStackTrace();var N=V[O-1],A=new N(D),T=F;for(var B=0;B{iF0.exports=function($,Y,z,U,Q,J){var I=$._getDomain,K=F4(),G=K.tryCatch,W=K.errorObj,H=$._async;function X(q,V,F,M){this.constructor$(q),this._promise._captureStackTrace();var w=I();this._callback=w===null?V:K.domainBind(w,V),this._preservedValues=M===Q?Array(this.length()):null,this._limit=F,this._inFlight=0,this._queue=[],H.invoke(this._asyncInit,this,void 0)}K.inherits(X,Y),X.prototype._asyncInit=function(){this._init$(void 0,-2)},X.prototype._init=function(){},X.prototype._promiseFulfilled=function(q,V){var F=this._values,M=this.length(),w=this._preservedValues,O=this._limit;if(V<0){if(V=V*-1-1,F[V]=q,O>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(O>=1&&this._inFlight>=O)return F[V]=q,this._queue.push(V),!1;if(w!==null)w[V]=q;var D=this._promise,N=this._callback,A=D._boundValue();D._pushContext();var T=G(N).call(A,q,V,M),B=D._popContext();if(J.checkForgottenReturns(T,B,w!==null?"Promise.filter":"Promise.map",D),T===W)return this._reject(T.e),!0;var j=U(T,this._promise);if(j instanceof $){j=j._target();var C=j._bitField;if((C&50397184)===0){if(O>=1)this._inFlight++;return F[V]=j,j._proxy(this,(V+1)*-1),!1}else if((C&33554432)!==0)T=j._value();else if((C&16777216)!==0)return this._reject(j._reason()),!0;else return this._cancel(),!0}F[V]=T}var b=++this._totalResolved;if(b>=M){if(w!==null)this._filter(F,w);else this._resolve(F);return!0}return!1},X.prototype._drainQueue=function(){var q=this._queue,V=this._limit,F=this._values;while(q.length>0&&this._inFlight=1?w:0,new X(q,V,w,M).promise()}$.prototype.map=function(q,V){return Z(this,q,V,null)},$.map=function(q,V,F,M){return Z(q,V,F,M)}}});var pF0=E((Ds1,nF0)=>{var $c=Object.create;if($c)AB=$c(null),TB=$c(null),AB[" size"]=TB[" size"]=0;var AB,TB;nF0.exports=function($){var Y=F4(),z=Y.canEvaluate,U=Y.isIdentifier,Q,J,I=function(q){return Function("ensureMethod",` + `;return C=C.replace(/\[TheName\]/g,j).replace(/\[TheTotal\]/g,O).replace(/\[ThePassedArguments\]/g,B).replace(/\[TheProperties\]/g,T).replace(/\[CancellationCode\]/g,A),Function("tryCatch","errorObj","Promise","async",C)(G,W,$,Q)},V=[],F=[],M=[];for(var w=0;w<8;++w)V.push(q(w+1)),F.push(X(w+1)),M.push(Z(w+1));H=function(O){this._reject(O)}}$.join=function(){var O=arguments.length-1,N;if(O>0&&typeof arguments[O]==="function"){if(N=arguments[O],O<=8&&K){var c=new $(U);c._captureStackTrace();var D=V[O-1],T=new D(N),A=F;for(var B=0;B{iF0.exports=function($,Y,z,U,Q,J){var I=$._getDomain,K=F4(),G=K.tryCatch,W=K.errorObj,H=$._async;function X(q,V,F,M){this.constructor$(q),this._promise._captureStackTrace();var w=I();this._callback=w===null?V:K.domainBind(w,V),this._preservedValues=M===Q?Array(this.length()):null,this._limit=F,this._inFlight=0,this._queue=[],H.invoke(this._asyncInit,this,void 0)}K.inherits(X,Y),X.prototype._asyncInit=function(){this._init$(void 0,-2)},X.prototype._init=function(){},X.prototype._promiseFulfilled=function(q,V){var F=this._values,M=this.length(),w=this._preservedValues,O=this._limit;if(V<0){if(V=V*-1-1,F[V]=q,O>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(O>=1&&this._inFlight>=O)return F[V]=q,this._queue.push(V),!1;if(w!==null)w[V]=q;var N=this._promise,D=this._callback,T=N._boundValue();N._pushContext();var A=G(D).call(T,q,V,M),B=N._popContext();if(J.checkForgottenReturns(A,B,w!==null?"Promise.filter":"Promise.map",N),A===W)return this._reject(A.e),!0;var j=U(A,this._promise);if(j instanceof $){j=j._target();var C=j._bitField;if((C&50397184)===0){if(O>=1)this._inFlight++;return F[V]=j,j._proxy(this,(V+1)*-1),!1}else if((C&33554432)!==0)A=j._value();else if((C&16777216)!==0)return this._reject(j._reason()),!0;else return this._cancel(),!0}F[V]=A}var b=++this._totalResolved;if(b>=M){if(w!==null)this._filter(F,w);else this._resolve(F);return!0}return!1},X.prototype._drainQueue=function(){var q=this._queue,V=this._limit,F=this._values;while(q.length>0&&this._inFlight=1?w:0,new X(q,V,w,M).promise()}$.prototype.map=function(q,V){return Z(this,q,V,null)},$.map=function(q,V,F,M){return Z(q,V,F,M)}}});var pF0=E((As1,nF0)=>{var zc=Object.create;if(zc)TB=zc(null),jB=zc(null),TB[" size"]=jB[" size"]=0;var TB,jB;nF0.exports=function($){var Y=F4(),z=Y.canEvaluate,U=Y.isIdentifier,Q,J,I=function(q){return Function("ensureMethod",` return function(obj) { 'use strict' var len = this.length; @@ -216,7 +216,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))r `.replace(/methodName/g,q))(W)},K=function(q){return Function("obj",` 'use strict'; return obj.propertyName; - `.replace("propertyName",q))},G=function(q,V,F){var M=F[q];if(typeof M!=="function"){if(!U(q))return null;if(M=V(q),F[q]=M,F[" size"]++,F[" size"]>512){var w=Object.keys(F);for(var O=0;O<256;++O)delete F[w[O]];F[" size"]=w.length-256}}return M};Q=function(q){return G(q,I,AB)},J=function(q){return G(q,K,TB)};function W(q,V){var F;if(q!=null)F=q[V];if(typeof F!=="function"){var M="Object "+Y.classString(q)+" has no method '"+Y.toString(V)+"'";throw new $.TypeError(M)}return F}function H(q){var V=this.pop(),F=W(q,V);return F.apply(q,this)}$.prototype.call=function(q){var V=arguments.length,F=Array(Math.max(V-1,0));for(var M=1;M{dF0.exports=function($,Y,z,U,Q,J){var I=F4(),K=A7().TypeError,G=F4().inherits,W=I.errorObj,H=I.tryCatch,X={};function Z(D){setTimeout(function(){throw D},0)}function q(D){var N=z(D);if(N!==D&&typeof D._isDisposable==="function"&&typeof D._getDisposer==="function"&&D._isDisposable())N._setDisposable(D._getDisposer());return N}function V(D,N){var A=0,T=D.length,B=new $(Q);function j(){if(A>=T)return B._fulfill();var C=q(D[A++]);if(C instanceof $&&C._isDisposable()){try{C=z(C._getDisposer().tryDispose(N),D.promise)}catch(b){return Z(b)}if(C instanceof $)return C._then(j,Z,null,null,null)}j()}return j(),B}function F(D,N,A){this._data=D,this._promise=N,this._context=A}F.prototype.data=function(){return this._data},F.prototype.promise=function(){return this._promise},F.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return X},F.prototype.tryDispose=function(D){var N=this.resource(),A=this._context;if(A!==void 0)A._pushContext();var T=N!==X?this.doDispose(N,D):null;if(A!==void 0)A._popContext();return this._promise._unsetDisposable(),this._data=null,T},F.isDisposer=function(D){return D!=null&&typeof D.resource==="function"&&typeof D.tryDispose==="function"};function M(D,N,A){this.constructor$(D,N,A)}G(M,F),M.prototype.doDispose=function(D,N){var A=this.data();return A.call(D,D,N)};function w(D){if(F.isDisposer(D))return this.resources[this.index]._setDisposable(D),D.promise();return D}function O(D){this.length=D,this.promise=null,this[D-1]=null}O.prototype._resultCancelled=function(){var D=this.length;for(var N=0;N0},$.prototype._getDisposer=function(){return this._disposer},$.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},$.prototype.disposer=function(D){if(typeof D==="function")return new M(D,this,U());throw new K}}});var oF0=E((Ps1,lF0)=>{lF0.exports=function($,Y,z){var U=F4(),Q=$.TimeoutError;function J(X){this.handle=X}J.prototype._resultCancelled=function(){clearTimeout(this.handle)};var I=function(X){return K(+this).thenReturn(X)},K=$.delay=function(X,Z){var q,V;if(Z!==void 0){if(q=$.resolve(Z)._then(I,null,null,X,void 0),z.cancellation()&&Z instanceof $)q._setOnCancel(Z)}else{if(q=new $(Y),V=setTimeout(function(){q._fulfill()},+X),z.cancellation())q._setOnCancel(new J(V));q._captureStackTrace()}return q._setAsyncGuaranteed(),q};$.prototype.delay=function(X){return K(X,this)};var G=function(X,Z,q){var V;if(typeof Z!=="string")if(Z instanceof Error)V=Z;else V=new Q("operation timed out");else V=new Q(Z);if(U.markAsOriginatingFromRejection(V),X._attachExtraTrace(V),X._reject(V),q!=null)q.cancel()};function W(X){return clearTimeout(this.handle),X}function H(X){throw clearTimeout(this.handle),X}$.prototype.timeout=function(X,Z){X=+X;var q,V,F=new J(setTimeout(function(){if(q.isPending())G(q,Z,V)},X));if(z.cancellation())V=this.then(),q=V._then(W,H,void 0,F,void 0),q._setOnCancel(F);else q=this._then(W,H,void 0,F,void 0);return q}}});var sF0=E((As1,rF0)=>{rF0.exports=function($,Y,z,U,Q,J){var I=A7(),K=I.TypeError,G=F4(),W=G.errorObj,H=G.tryCatch,X=[];function Z(V,F,M){for(var w=0;w512){var w=Object.keys(F);for(var O=0;O<256;++O)delete F[w[O]];F[" size"]=w.length-256}}return M};Q=function(q){return G(q,I,TB)},J=function(q){return G(q,K,jB)};function W(q,V){var F;if(q!=null)F=q[V];if(typeof F!=="function"){var M="Object "+Y.classString(q)+" has no method '"+Y.toString(V)+"'";throw new $.TypeError(M)}return F}function H(q){var V=this.pop(),F=W(q,V);return F.apply(q,this)}$.prototype.call=function(q){var V=arguments.length,F=Array(Math.max(V-1,0));for(var M=1;M{dF0.exports=function($,Y,z,U,Q,J){var I=F4(),K=T7().TypeError,G=F4().inherits,W=I.errorObj,H=I.tryCatch,X={};function Z(N){setTimeout(function(){throw N},0)}function q(N){var D=z(N);if(D!==N&&typeof N._isDisposable==="function"&&typeof N._getDisposer==="function"&&N._isDisposable())D._setDisposable(N._getDisposer());return D}function V(N,D){var T=0,A=N.length,B=new $(Q);function j(){if(T>=A)return B._fulfill();var C=q(N[T++]);if(C instanceof $&&C._isDisposable()){try{C=z(C._getDisposer().tryDispose(D),N.promise)}catch(b){return Z(b)}if(C instanceof $)return C._then(j,Z,null,null,null)}j()}return j(),B}function F(N,D,T){this._data=N,this._promise=D,this._context=T}F.prototype.data=function(){return this._data},F.prototype.promise=function(){return this._promise},F.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return X},F.prototype.tryDispose=function(N){var D=this.resource(),T=this._context;if(T!==void 0)T._pushContext();var A=D!==X?this.doDispose(D,N):null;if(T!==void 0)T._popContext();return this._promise._unsetDisposable(),this._data=null,A},F.isDisposer=function(N){return N!=null&&typeof N.resource==="function"&&typeof N.tryDispose==="function"};function M(N,D,T){this.constructor$(N,D,T)}G(M,F),M.prototype.doDispose=function(N,D){var T=this.data();return T.call(N,N,D)};function w(N){if(F.isDisposer(N))return this.resources[this.index]._setDisposable(N),N.promise();return N}function O(N){this.length=N,this.promise=null,this[N-1]=null}O.prototype._resultCancelled=function(){var N=this.length;for(var D=0;D0},$.prototype._getDisposer=function(){return this._disposer},$.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},$.prototype.disposer=function(N){if(typeof N==="function")return new M(N,this,U());throw new K}}});var oF0=E((js1,lF0)=>{lF0.exports=function($,Y,z){var U=F4(),Q=$.TimeoutError;function J(X){this.handle=X}J.prototype._resultCancelled=function(){clearTimeout(this.handle)};var I=function(X){return K(+this).thenReturn(X)},K=$.delay=function(X,Z){var q,V;if(Z!==void 0){if(q=$.resolve(Z)._then(I,null,null,X,void 0),z.cancellation()&&Z instanceof $)q._setOnCancel(Z)}else{if(q=new $(Y),V=setTimeout(function(){q._fulfill()},+X),z.cancellation())q._setOnCancel(new J(V));q._captureStackTrace()}return q._setAsyncGuaranteed(),q};$.prototype.delay=function(X){return K(X,this)};var G=function(X,Z,q){var V;if(typeof Z!=="string")if(Z instanceof Error)V=Z;else V=new Q("operation timed out");else V=new Q(Z);if(U.markAsOriginatingFromRejection(V),X._attachExtraTrace(V),X._reject(V),q!=null)q.cancel()};function W(X){return clearTimeout(this.handle),X}function H(X){throw clearTimeout(this.handle),X}$.prototype.timeout=function(X,Z){X=+X;var q,V,F=new J(setTimeout(function(){if(q.isPending())G(q,Z,V)},X));if(z.cancellation())V=this.then(),q=V._then(W,H,void 0,F,void 0),q._setOnCancel(F);else q=this._then(W,H,void 0,F,void 0);return q}}});var sF0=E((Es1,rF0)=>{rF0.exports=function($,Y,z,U,Q,J){var I=T7(),K=I.TypeError,G=F4(),W=G.errorObj,H=G.tryCatch,X=[];function Z(V,F,M){for(var w=0;w{aF0.exports=function($){var Y=F4(),z=$._async,U=Y.tryCatch,Q=Y.errorObj;function J(G,W){var H=this;if(!Y.isArray(G))return I.call(H,G,W);var X=U(W).apply(H._boundValue(),[null].concat(G));if(X===Q)z.throwLater(X.e)}function I(G,W){var H=this,X=H._boundValue(),Z=G===void 0?U(W).call(X,null):U(W).call(X,null,G);if(Z===Q)z.throwLater(Z.e)}function K(G,W){var H=this;if(!G){var X=Error(G+"");X.cause=G,G=X}var Z=U(W).call(H._boundValue(),G);if(Z===Q)z.throwLater(Z.e)}$.prototype.asCallback=$.prototype.nodeify=function(G,W){if(typeof G=="function"){var H=I;if(W!==void 0&&Object(W).spread)H=J;this._then(H,K,void 0,this,G)}return this}}});var $w0=E((js1,eF0)=>{eF0.exports=function($,Y){var z={},U=F4(),Q=ei(),J=U.withAppended,I=U.maybeWrapAsError,K=U.canEvaluate,G=A7().TypeError,W="Async",H={__isPromisified__:!0},X=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],Z=new RegExp("^(?:"+X.join("|")+")$"),q=function(i){return U.isIdentifier(i)&&i.charAt(0)!=="_"&&i!=="constructor"};function V(i){return!Z.test(i)}function F(i){try{return i.__isPromisified__===!0}catch(c){return!1}}function M(i,c,U0){var x=U.getDataPropertyOrDefault(i,c+U0,H);return x?F(x):!1}function w(i,c,U0){for(var x=0;x{aF0.exports=function($){var Y=F4(),z=$._async,U=Y.tryCatch,Q=Y.errorObj;function J(G,W){var H=this;if(!Y.isArray(G))return I.call(H,G,W);var X=U(W).apply(H._boundValue(),[null].concat(G));if(X===Q)z.throwLater(X.e)}function I(G,W){var H=this,X=H._boundValue(),Z=G===void 0?U(W).call(X,null):U(W).call(X,null,G);if(Z===Q)z.throwLater(Z.e)}function K(G,W){var H=this;if(!G){var X=Error(G+"");X.cause=G,G=X}var Z=U(W).call(H._boundValue(),G);if(Z===Q)z.throwLater(Z.e)}$.prototype.asCallback=$.prototype.nodeify=function(G,W){if(typeof G=="function"){var H=I;if(W!==void 0&&Object(W).spread)H=J;this._then(H,K,void 0,this,G)}return this}}});var $w0=E((Rs1,eF0)=>{eF0.exports=function($,Y){var z={},U=F4(),Q=Yc(),J=U.withAppended,I=U.maybeWrapAsError,K=U.canEvaluate,G=T7().TypeError,W="Async",H={__isPromisified__:!0},X=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],Z=new RegExp("^(?:"+X.join("|")+")$"),q=function(i){return U.isIdentifier(i)&&i.charAt(0)!=="_"&&i!=="constructor"};function V(i){return!Z.test(i)}function F(i){try{return i.__isPromisified__===!0}catch(c){return!1}}function M(i,c,U0){var x=U.getDataPropertyOrDefault(i,c+U0,H);return x?F(x):!1}function w(i,c,U0){for(var x=0;x=U0;--x)c.push(x);for(var x=i+1;x<=3;++x)c.push(x);return c},T=function(i){return U.filledRange(i,"_arg","")},B=function(i){return U.filledRange(Math.max(i,3),"_arg","")},j=function(i){if(typeof i.length==="number")return Math.max(Math.min(i.length,1024),0);return 0};N=function(i,c,U0,x,d,t){var $0=Math.max(0,j(x)-1),g=A($0),p=typeof i==="string"||c===z;function e(M0){var E0=T(M0).join(", "),G0=M0>0?", ":"",T0;if(p)T0=`ret = callback.call(this, {{args}}, nodeback); break; +`.replace("%s",c))}}}function O(i,c,U0,x){var d=U.inheritedDataKeys(i),t=[];for(var $0=0;$0=U0;--x)c.push(x);for(var x=i+1;x<=3;++x)c.push(x);return c},A=function(i){return U.filledRange(i,"_arg","")},B=function(i){return U.filledRange(Math.max(i,3),"_arg","")},j=function(i){if(typeof i.length==="number")return Math.max(Math.min(i.length,1024),0);return 0};D=function(i,c,U0,x,d,t){var $0=Math.max(0,j(x)-1),g=T($0),p=typeof i==="string"||c===z;function e(M0){var E0=A(M0).join(", "),G0=M0>0?", ":"",T0;if(p)T0=`ret = callback.call(this, {{args}}, nodeback); break; `;else T0=c===void 0?`ret = callback({{args}}, nodeback); break; `:`ret = callback.call(receiver, {{args}}, nodeback); break; `;return T0.replace("{{args}}",E0).replace(", ",G0)}function y(){var M0="";for(var E0=0;E0{Yw0.exports=function($,Y,z,U){var Q=F4(),J=Q.isObject,I=pz(),K;if(typeof Map==="function")K=Map;var G=function(){var Z=0,q=0;function V(F,M){this[Z]=F,this[Z+q]=M,Z++}return function(M){q=M.size,Z=0;var w=Array(M.size*2);return M.forEach(V,w),w}}(),W=function(Z){var q=new K,V=Z.length/2|0;for(var F=0;F=this._length){var F;if(this._isMap)F=W(this._values);else{F={};var M=this.length();for(var w=0,O=this.length();w>1};function X(Z){var q,V=z(Z);if(!J(V))return U(`cannot await properties of a non-object +`);var $0=U.inheritedDataKeys(i);for(var g=0;g<$0.length;++g){var p=i[$0[g]];if($0[g]!=="constructor"&&U.isClass(p))k(p.prototype,x,d,t,U0),k(p,x,d,t,U0)}return k(i,x,d,t,U0)}}});var zw0=E((_s1,Yw0)=>{Yw0.exports=function($,Y,z,U){var Q=F4(),J=Q.isObject,I=pz(),K;if(typeof Map==="function")K=Map;var G=function(){var Z=0,q=0;function V(F,M){this[Z]=F,this[Z+q]=M,Z++}return function(M){q=M.size,Z=0;var w=Array(M.size*2);return M.forEach(V,w),w}}(),W=function(Z){var q=new K,V=Z.length/2|0;for(var F=0;F=this._length){var F;if(this._isMap)F=W(this._values);else{F={};var M=this.length();for(var w=0,O=this.length();w>1};function X(Z){var q,V=z(Z);if(!J(V))return U(`cannot await properties of a non-object See http://goo.gl/MqrFmX -`);else if(V instanceof $)q=V._then($.props,void 0,void 0,void 0,void 0);else q=new H(V).promise();if(V instanceof $)q._propagateFrom(V,2);return q}$.prototype.props=function(){return X(this)},$.props=function(Z){return X(Z)}}});var Qw0=E((Cs1,Uw0)=>{Uw0.exports=function($,Y,z,U){var Q=F4(),J=function(K){return K.then(function(G){return I(G,K)})};function I(K,G){var W=z(K);if(W instanceof $)return J(W);else if(K=Q.asArray(K),K===null)return U("expecting an array or an iterable object but got "+Q.classString(K));var H=new $(Y);if(G!==void 0)H._propagateFrom(G,3);var{_fulfill:X,_reject:Z}=H;for(var q=0,V=K.length;q{Jw0.exports=function($,Y,z,U,Q,J){var I=$._getDomain,K=F4(),G=K.tryCatch;function W(V,F,M,w){this.constructor$(V);var O=I();if(this._fn=O===null?F:K.domainBind(O,F),M!==void 0)M=$.resolve(M),M._attachCancellationCallback(this);if(this._initialValue=M,this._currentCancellable=null,w===Q)this._eachValues=Array(this._length);else if(w===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}K.inherits(W,Y),W.prototype._gotAccum=function(V){if(this._eachValues!==void 0&&this._eachValues!==null&&V!==Q)this._eachValues.push(V)},W.prototype._eachComplete=function(V){if(this._eachValues!==null)this._eachValues.push(V);return this._eachValues},W.prototype._init=function(){},W.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},W.prototype.shouldCopyValues=function(){return!1},W.prototype._resolve=function(V){this._promise._resolveCallback(V),this._values=null},W.prototype._resultCancelled=function(V){if(V===this._initialValue)return this._cancel();if(this._isResolved())return;if(this._resultCancelled$(),this._currentCancellable instanceof $)this._currentCancellable.cancel();if(this._initialValue instanceof $)this._initialValue.cancel()},W.prototype._iterate=function(V){this._values=V;var F,M,w=V.length;if(this._initialValue!==void 0)F=this._initialValue,M=0;else F=$.resolve(V[0]),M=1;if(this._currentCancellable=F,!F.isRejected())for(;M{Kw0.exports=function($,Y,z){var U=$.PromiseInspection,Q=F4();function J(I){this.constructor$(I)}Q.inherits(J,Y),J.prototype._promiseResolved=function(I,K){this._values[I]=K;var G=++this._totalResolved;if(G>=this._length)return this._resolve(this._values),!0;return!1},J.prototype._promiseFulfilled=function(I,K){var G=new U;return G._bitField=33554432,G._settledValueField=I,this._promiseResolved(K,G)},J.prototype._promiseRejected=function(I,K){var G=new U;return G._bitField=16777216,G._settledValueField=I,this._promiseResolved(K,G)},$.settle=function(I){return z.deprecated(".settle()",".reflect()"),new J(I).promise()},$.prototype.settle=function(){return $.settle(this)}}});var Hw0=E((vs1,Ww0)=>{Ww0.exports=function($,Y,z){var U=F4(),Q=A7().RangeError,J=A7().AggregateError,I=U.isArray,K={};function G(H){this.constructor$(H),this._howMany=0,this._unwrap=!1,this._initialized=!1}U.inherits(G,Y),G.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var H=I(this._values);if(!this._isResolved()&&H&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},G.prototype.init=function(){this._initialized=!0,this._init()},G.prototype.setUnwrap=function(){this._unwrap=!0},G.prototype.howMany=function(){return this._howMany},G.prototype.setHowMany=function(H){this._howMany=H},G.prototype._promiseFulfilled=function(H){if(this._addFulfilled(H),this._fulfilled()===this.howMany()){if(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0}return!1},G.prototype._promiseRejected=function(H){return this._addRejected(H),this._checkOutcome()},G.prototype._promiseCancelled=function(){if(this._values instanceof $||this._values==null)return this._cancel();return this._addRejected(K),this._checkOutcome()},G.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var H=new J;for(var X=this.length();X0)this._reject(H);else this._cancel();return!0}return!1},G.prototype._fulfilled=function(){return this._totalResolved},G.prototype._rejected=function(){return this._values.length-this.length()},G.prototype._addRejected=function(H){this._values.push(H)},G.prototype._addFulfilled=function(H){this._values[this._totalResolved++]=H},G.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},G.prototype._getRangeError=function(H){var X="Input array must contain at least "+this._howMany+" items but contains only "+H+" items";return new Q(X)},G.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function W(H,X){if((X|0)!==X||X<0)return z(`expecting a positive integer +`);else if(V instanceof $)q=V._then($.props,void 0,void 0,void 0,void 0);else q=new H(V).promise();if(V instanceof $)q._propagateFrom(V,2);return q}$.prototype.props=function(){return X(this)},$.props=function(Z){return X(Z)}}});var Qw0=E((vs1,Uw0)=>{Uw0.exports=function($,Y,z,U){var Q=F4(),J=function(K){return K.then(function(G){return I(G,K)})};function I(K,G){var W=z(K);if(W instanceof $)return J(W);else if(K=Q.asArray(K),K===null)return U("expecting an array or an iterable object but got "+Q.classString(K));var H=new $(Y);if(G!==void 0)H._propagateFrom(G,3);var{_fulfill:X,_reject:Z}=H;for(var q=0,V=K.length;q{Jw0.exports=function($,Y,z,U,Q,J){var I=$._getDomain,K=F4(),G=K.tryCatch;function W(V,F,M,w){this.constructor$(V);var O=I();if(this._fn=O===null?F:K.domainBind(O,F),M!==void 0)M=$.resolve(M),M._attachCancellationCallback(this);if(this._initialValue=M,this._currentCancellable=null,w===Q)this._eachValues=Array(this._length);else if(w===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}K.inherits(W,Y),W.prototype._gotAccum=function(V){if(this._eachValues!==void 0&&this._eachValues!==null&&V!==Q)this._eachValues.push(V)},W.prototype._eachComplete=function(V){if(this._eachValues!==null)this._eachValues.push(V);return this._eachValues},W.prototype._init=function(){},W.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},W.prototype.shouldCopyValues=function(){return!1},W.prototype._resolve=function(V){this._promise._resolveCallback(V),this._values=null},W.prototype._resultCancelled=function(V){if(V===this._initialValue)return this._cancel();if(this._isResolved())return;if(this._resultCancelled$(),this._currentCancellable instanceof $)this._currentCancellable.cancel();if(this._initialValue instanceof $)this._initialValue.cancel()},W.prototype._iterate=function(V){this._values=V;var F,M,w=V.length;if(this._initialValue!==void 0)F=this._initialValue,M=0;else F=$.resolve(V[0]),M=1;if(this._currentCancellable=F,!F.isRejected())for(;M{Kw0.exports=function($,Y,z){var U=$.PromiseInspection,Q=F4();function J(I){this.constructor$(I)}Q.inherits(J,Y),J.prototype._promiseResolved=function(I,K){this._values[I]=K;var G=++this._totalResolved;if(G>=this._length)return this._resolve(this._values),!0;return!1},J.prototype._promiseFulfilled=function(I,K){var G=new U;return G._bitField=33554432,G._settledValueField=I,this._promiseResolved(K,G)},J.prototype._promiseRejected=function(I,K){var G=new U;return G._bitField=16777216,G._settledValueField=I,this._promiseResolved(K,G)},$.settle=function(I){return z.deprecated(".settle()",".reflect()"),new J(I).promise()},$.prototype.settle=function(){return $.settle(this)}}});var Hw0=E((gs1,Ww0)=>{Ww0.exports=function($,Y,z){var U=F4(),Q=T7().RangeError,J=T7().AggregateError,I=U.isArray,K={};function G(H){this.constructor$(H),this._howMany=0,this._unwrap=!1,this._initialized=!1}U.inherits(G,Y),G.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var H=I(this._values);if(!this._isResolved()&&H&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},G.prototype.init=function(){this._initialized=!0,this._init()},G.prototype.setUnwrap=function(){this._unwrap=!0},G.prototype.howMany=function(){return this._howMany},G.prototype.setHowMany=function(H){this._howMany=H},G.prototype._promiseFulfilled=function(H){if(this._addFulfilled(H),this._fulfilled()===this.howMany()){if(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0}return!1},G.prototype._promiseRejected=function(H){return this._addRejected(H),this._checkOutcome()},G.prototype._promiseCancelled=function(){if(this._values instanceof $||this._values==null)return this._cancel();return this._addRejected(K),this._checkOutcome()},G.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var H=new J;for(var X=this.length();X0)this._reject(H);else this._cancel();return!0}return!1},G.prototype._fulfilled=function(){return this._totalResolved},G.prototype._rejected=function(){return this._values.length-this.length()},G.prototype._addRejected=function(H){this._values.push(H)},G.prototype._addFulfilled=function(H){this._values[this._totalResolved++]=H},G.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},G.prototype._getRangeError=function(H){var X="Input array must contain at least "+this._howMany+" items but contains only "+H+" items";return new Q(X)},G.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function W(H,X){if((X|0)!==X||X<0)return z(`expecting a positive integer See http://goo.gl/MqrFmX -`);var Z=new G(H),q=Z.promise();return Z.setHowMany(X),Z.init(),q}$.some=function(H,X){return W(H,X)},$.prototype.some=function(H){return W(this,H)},$._SomePromiseArray=G}});var Zw0=E((hs1,Xw0)=>{Xw0.exports=function($,Y){var z=$.map;$.prototype.filter=function(U,Q){return z(this,U,Q,Y)},$.filter=function(U,Q,J){return z(U,Q,J,Y)}}});var Vw0=E((Ss1,qw0)=>{qw0.exports=function($,Y){var{reduce:z,all:U}=$;function Q(){return U(this)}function J(I,K){return z(I,K,Y,Y)}$.prototype.each=function(I){return z(this,I,Y,0)._then(Q,void 0,void 0,this,void 0)},$.prototype.mapSeries=function(I){return z(this,I,Y,Y)},$.each=function(I,K){return z(I,K,Y,0)._then(Q,void 0,void 0,I,void 0)},$.mapSeries=J}});var Fw0=E((gs1,Lw0)=>{Lw0.exports=function($){var Y=$._SomePromiseArray;function z(U){var Q=new Y(U),J=Q.promise();return Q.setHowMany(1),Q.setUnwrap(),Q.init(),J}$.any=function(U){return z(U)},$.prototype.any=function(){return z(this)}}});var ww0=E((ys1,Yc)=>{Yc.exports=function(){var $=function(){return new X(`circular promise resolution chain +`);var Z=new G(H),q=Z.promise();return Z.setHowMany(X),Z.init(),q}$.some=function(H,X){return W(H,X)},$.prototype.some=function(H){return W(this,H)},$._SomePromiseArray=G}});var Zw0=E((ys1,Xw0)=>{Xw0.exports=function($,Y){var z=$.map;$.prototype.filter=function(U,Q){return z(this,U,Q,Y)},$.filter=function(U,Q,J){return z(U,Q,J,Y)}}});var Vw0=E((ks1,qw0)=>{qw0.exports=function($,Y){var{reduce:z,all:U}=$;function Q(){return U(this)}function J(I,K){return z(I,K,Y,Y)}$.prototype.each=function(I){return z(this,I,Y,0)._then(Q,void 0,void 0,this,void 0)},$.prototype.mapSeries=function(I){return z(this,I,Y,Y)},$.each=function(I,K){return z(I,K,Y,0)._then(Q,void 0,void 0,I,void 0)},$.mapSeries=J}});var Fw0=E((xs1,Lw0)=>{Lw0.exports=function($){var Y=$._SomePromiseArray;function z(U){var Q=new Y(U),J=Q.promise();return Q.setHowMany(1),Q.setUnwrap(),Q.init(),J}$.any=function(U){return z(U)},$.prototype.any=function(){return z(this)}}});var ww0=E((fs1,Uc)=>{Uc.exports=function(){var $=function(){return new X(`circular promise resolution chain See http://goo.gl/MqrFmX -`)},Y=function(){return new h.PromiseInspection(this._target())},z=function(x){return h.reject(new X(x))};function U(){}var Q={},J=F4(),I;if(J.isNode)I=function(){var x=process.domain;if(x===void 0)x=null;return x};else I=function(){return null};J.notEnumerableProp(h,"_getDomain",I);var K=pz(),G=HF0(),W=new G;K.defineProperty(h,"_async",{value:W});var H=A7(),X=h.TypeError=H.TypeError;h.RangeError=H.RangeError;var Z=h.CancellationError=H.CancellationError;h.TimeoutError=H.TimeoutError,h.OperationalError=H.OperationalError,h.RejectionError=H.OperationalError,h.AggregateError=H.AggregateError;var q=function(){},V={},F={},M=LF0()(h,q),w=wF0()(h,q,M,z,U),O=OF0()(h),D=O.create,N=DF0()(h,O),A=N.CapturedTrace,T=PF0()(h,M),B=TF0()(F),j=ei(),C=J.errorObj,b=J.tryCatch;function k(x,d){if(typeof d!=="function")throw new X("expecting a function but got "+J.classString(d));if(x.constructor!==h)throw new X(`the promise constructor cannot be invoked directly +`)},Y=function(){return new h.PromiseInspection(this._target())},z=function(x){return h.reject(new X(x))};function U(){}var Q={},J=F4(),I;if(J.isNode)I=function(){var x=process.domain;if(x===void 0)x=null;return x};else I=function(){return null};J.notEnumerableProp(h,"_getDomain",I);var K=pz(),G=HF0(),W=new G;K.defineProperty(h,"_async",{value:W});var H=T7(),X=h.TypeError=H.TypeError;h.RangeError=H.RangeError;var Z=h.CancellationError=H.CancellationError;h.TimeoutError=H.TimeoutError,h.OperationalError=H.OperationalError,h.RejectionError=H.OperationalError,h.AggregateError=H.AggregateError;var q=function(){},V={},F={},M=LF0()(h,q),w=wF0()(h,q,M,z,U),O=OF0()(h),N=O.create,D=DF0()(h,O),T=D.CapturedTrace,A=PF0()(h,M),B=TF0()(F),j=Yc(),C=J.errorObj,b=J.tryCatch;function k(x,d){if(typeof d!=="function")throw new X("expecting a function but got "+J.classString(d));if(x.constructor!==h)throw new X(`the promise constructor cannot be invoked directly See http://goo.gl/MqrFmX -`)}function h(x){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,x!==q)k(this,x),this._resolveFromExecutor(x);this._promiseCreated(),this._fireEvent("promiseCreated",this)}h.prototype.toString=function(){return"[object Promise]"},h.prototype.caught=h.prototype.catch=function(x){var d=arguments.length;if(d>1){var t=Array(d-1),$0=0,g;for(g=0;g0&&typeof x!=="function"&&typeof d!=="function"){var t=".then() only accepts functions but was passed: "+J.classString(x);if(arguments.length>1)t+=", "+J.classString(d);this._warn(t)}return this._then(x,d,void 0,void 0,void 0)},h.prototype.done=function(x,d){var t=this._then(x,d,void 0,void 0,void 0);t._setIsFinal()},h.prototype.spread=function(x){if(typeof x!=="function")return z("expecting a function but got "+J.classString(x));return this.all()._then(x,void 0,void 0,V,void 0)},h.prototype.toJSON=function(){var x={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())x.fulfillmentValue=this.value(),x.isFulfilled=!0;else if(this.isRejected())x.rejectionReason=this.reason(),x.isRejected=!0;return x},h.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new w(this).promise()},h.prototype.error=function(x){return this.caught(J.originatesFromRejection,x)},h.getNewLibraryCopy=Yc.exports,h.is=function(x){return x instanceof h},h.fromNode=h.fromCallback=function(x){var d=new h(q);d._captureStackTrace();var t=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,$0=b(x)(j(d,t));if($0===C)d._rejectCallback($0.e,!0);if(!d._isFateSealed())d._setAsyncGuaranteed();return d},h.all=function(x){return new w(x).promise()},h.cast=function(x){var d=M(x);if(!(d instanceof h))d=new h(q),d._captureStackTrace(),d._setFulfilled(),d._rejectionHandler0=x;return d},h.resolve=h.fulfilled=h.cast,h.reject=h.rejected=function(x){var d=new h(q);return d._captureStackTrace(),d._rejectCallback(x,!0),d},h.setScheduler=function(x){if(typeof x!=="function")throw new X("expecting a function but got "+J.classString(x));return W.setScheduler(x)},h.prototype._then=function(x,d,t,$0,g){var p=g!==void 0,e=p?g:new h(q),y=this._target(),s=y._bitField;if(!p){if(e._propagateFrom(this,3),e._captureStackTrace(),$0===void 0&&(this._bitField&2097152)!==0)if((s&50397184)!==0)$0=this._boundValue();else $0=y===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,e)}var Y0=I();if((s&50397184)!==0){var M0,E0,G0=y._settlePromiseCtx;if((s&33554432)!==0)E0=y._rejectionHandler0,M0=x;else if((s&16777216)!==0)E0=y._fulfillmentHandler0,M0=d,y._unsetRejectionIsUnhandled();else G0=y._settlePromiseLateCancellationObserver,E0=new Z("late cancellation observer"),y._attachExtraTrace(E0),M0=d;W.invoke(G0,y,{handler:Y0===null?M0:typeof M0==="function"&&J.domainBind(Y0,M0),promise:e,receiver:$0,value:E0})}else y._addCallbacks(x,d,e,$0,Y0);return e},h.prototype._length=function(){return this._bitField&65535},h.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},h.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},h.prototype._setLength=function(x){this._bitField=this._bitField&-65536|x&65535},h.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},h.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},h.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},h.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},h.prototype._isFinal=function(){return(this._bitField&4194304)>0},h.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},h.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},h.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},h.prototype._setAsyncGuaranteed=function(){if(W.hasCustomScheduler())return;this._bitField=this._bitField|134217728},h.prototype._receiverAt=function(x){var d=x===0?this._receiver0:this[x*4-4+3];if(d===Q)return;else if(d===void 0&&this._isBound())return this._boundValue();return d},h.prototype._promiseAt=function(x){return this[x*4-4+2]},h.prototype._fulfillmentHandlerAt=function(x){return this[x*4-4+0]},h.prototype._rejectionHandlerAt=function(x){return this[x*4-4+1]},h.prototype._boundValue=function(){},h.prototype._migrateCallback0=function(x){var{_bitField:d,_fulfillmentHandler0:t,_rejectionHandler0:$0,_promise0:g}=x,p=x._receiverAt(0);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},h.prototype._migrateCallbackAt=function(x,d){var t=x._fulfillmentHandlerAt(d),$0=x._rejectionHandlerAt(d),g=x._promiseAt(d),p=x._receiverAt(d);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},h.prototype._addCallbacks=function(x,d,t,$0,g){var p=this._length();if(p>=65531)p=0,this._setLength(0);if(p===0){if(this._promise0=t,this._receiver0=$0,typeof x==="function")this._fulfillmentHandler0=g===null?x:J.domainBind(g,x);if(typeof d==="function")this._rejectionHandler0=g===null?d:J.domainBind(g,d)}else{var e=p*4-4;if(this[e+2]=t,this[e+3]=$0,typeof x==="function")this[e+0]=g===null?x:J.domainBind(g,x);if(typeof d==="function")this[e+1]=g===null?d:J.domainBind(g,d)}return this._setLength(p+1),p},h.prototype._proxy=function(x,d){this._addCallbacks(void 0,void 0,d,x,null)},h.prototype._resolveCallback=function(x,d){if((this._bitField&117506048)!==0)return;if(x===this)return this._rejectCallback($(),!1);var t=M(x,this);if(!(t instanceof h))return this._fulfill(x);if(d)this._propagateFrom(t,2);var $0=t._target();if($0===this){this._reject($());return}var g=$0._bitField;if((g&50397184)===0){var p=this._length();if(p>0)$0._migrateCallback0(this);for(var e=1;e>>16)return;if(x===this){var t=$();return this._attachExtraTrace(t),this._reject(t)}if(this._setFulfilled(),this._rejectionHandler0=x,(d&65535)>0)if((d&134217728)!==0)this._settlePromises();else W.settlePromises(this)},h.prototype._reject=function(x){var d=this._bitField;if((d&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=x,this._isFinal())return W.fatalError(x,J.isNode);if((d&65535)>0)W.settlePromises(this);else this._ensurePossibleRejectionHandled()},h.prototype._fulfillPromises=function(x,d){for(var t=1;t0){if((x&16842752)!==0){var t=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,t,x),this._rejectPromises(d,t)}else{var $0=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,$0,x),this._fulfillPromises(d,$0)}this._setLength(0)}this._clearCancellationData()},h.prototype._settledValue=function(){var x=this._bitField;if((x&33554432)!==0)return this._rejectionHandler0;else if((x&16777216)!==0)return this._fulfillmentHandler0};function i(x){this.promise._resolveCallback(x)}function c(x){this.promise._rejectCallback(x,!1)}h.defer=h.pending=function(){N.deprecated("Promise.defer","new Promise");var x=new h(q);return{promise:x,resolve:i,reject:c}},J.notEnumerableProp(h,"_makeSelfResolutionError",$),_F0()(h,q,M,z,N),hF0()(h,q,M,N),gF0()(h,w,z,N),kF0()(h),fF0()(h),bF0()(h,w,M,q,W,I),h.Promise=h,h.version="3.4.7",cF0()(h,w,z,M,q,N),pF0()(h),mF0()(h,z,M,D,q,N),oF0()(h,q,N),sF0()(h,z,q,M,U,N),tF0()(h),$w0()(h,q),zw0()(h,w,M,z),Qw0()(h,q,M,z),Iw0()(h,w,z,M,q,N),Gw0()(h,w,N),Hw0()(h,w,z),Zw0()(h,q),Vw0()(h,q),Fw0()(h),J.toFastProperties(h),J.toFastProperties(h.prototype);function U0(x){var d=new h(q);d._fulfillmentHandler0=x,d._rejectionHandler0=x,d._promise0=x,d._receiver0=x}return U0({a:1}),U0({b:2}),U0({c:3}),U0(1),U0(function(){}),U0(void 0),U0(!1),U0(new h(q)),N.setBounds(G.firstLineError,J.lastLineError),h}});var j2=E((ks1,Ow0)=>{var Mw0;if(typeof Promise<"u")Mw0=Promise;function mq1(){try{if(Promise===jB)Promise=Mw0}catch($){}return jB}var jB=ww0()();jB.noConflict=mq1;Ow0.exports=jB});var hI=E((xs1,Nw0)=>{var vI=I0("buffer").Buffer;if(vI.from===void 0)vI.from=function($,Y,z){return new vI($,Y,z)},vI.alloc=vI.from;Nw0.exports=vI});var Bw0=E((fs1,zc)=>{function lq1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var Dw0=K6().Buffer,iX=I0("util");function oq1($,Y,z){$.copy(Y,z)}zc.exports=function(){function $(){lq1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return Dw0.alloc(0);var U=Dw0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)oq1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(iX&&iX.inspect&&iX.inspect.custom)zc.exports.prototype[iX.inspect.custom]=function(){var $=iX.inspect({length:this.length});return this.constructor.name+" "+$}});var Uc=E((us1,Pw0)=>{var EB=I6();function rq1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)EB.nextTick(CB,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,EB.nextTick(CB,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)EB.nextTick(CB,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,EB.nextTick(CB,z,J)}else if(Y)Y(J)}),this}function sq1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function CB($,Y){$.emit("error",Y)}Pw0.exports={destroy:rq1,undestroy:sq1}});var Jc=E((bs1,vw0)=>{var oz=I6();vw0.exports=F6;function Tw0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){VV1(Y,$)}}var aq1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:oz.nextTick,SI;F6.WritableState=nX;var jw0=Object.create(M4());jw0.inherits=X1();var tq1={deprecate:S3()},Ew0=I0("stream"),_B=K6().Buffer,eq1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function $V1($){return _B.from($)}function YV1($){return _B.isBuffer($)||$ instanceof eq1}var Cw0=Uc();jw0.inherits(F6,Ew0);function zV1(){}function nX($,Y){SI=SI||rz(),$=$||{};var z=Y instanceof SI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){WV1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Tw0(this)}nX.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(nX.prototype,"buffer",{get:tq1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var RB;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")RB=Function.prototype[Symbol.hasInstance],Object.defineProperty(F6,Symbol.hasInstance,{value:function($){if(RB.call(this,$))return!0;if(this!==F6)return!1;return $&&$._writableState instanceof nX}});else RB=function($){return $ instanceof this};function F6($){if(SI=SI||rz(),!RB.call(F6,this)&&!(this instanceof SI))return new F6($);if(this._writableState=new nX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}Ew0.call(this)}F6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function UV1($,Y){var z=Error("write after end");$.emit("error",z),oz.nextTick(Y,z)}function QV1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),oz.nextTick(U,J),Q=!1;return Q}F6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&YV1($);if(J&&!_B.isBuffer($))$=$V1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=zV1;if(U.ended)UV1(this,z);else if(J||QV1(this,U,$,z))U.pendingcb++,Q=IV1(this,U,J,$,Y,z);return Q};F6.prototype.cork=function(){var $=this._writableState;$.corked++};F6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)Rw0(this,$)}};F6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function JV1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=_B.from(Y,z);return Y}Object.defineProperty(F6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function IV1($,Y,z,U,Q,J){if(!z){var I=JV1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var hw0=I6(),LV1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};yw0.exports=T7;var Sw0=Object.create(M4());Sw0.inherits=X1();var gw0=Kc(),Ic=Jc();Sw0.inherits(T7,gw0);{vB=LV1(Ic.prototype);for(pX=0;pX{var Wc=K6().Buffer,kw0=Wc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function MV1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function OV1($){var Y=MV1($);if(typeof Y!=="string"&&(Wc.isEncoding===kw0||!kw0($)))throw Error("Unknown encoding: "+$);return Y||$}vV1.StringDecoder=mX;function mX($){this.encoding=OV1($);var Y;switch(this.encoding){case"utf16le":this.text=TV1,this.end=jV1,Y=4;break;case"utf8":this.fillLast=BV1,Y=4;break;case"base64":this.text=EV1,this.end=CV1,Y=3;break;default:this.write=RV1,this.end=_V1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Wc.allocUnsafe(Y)}mX.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};mX.prototype.end=AV1;mX.prototype.text=PV1;mX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Gc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function NV1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function DV1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function BV1($){var Y=this.lastTotal-this.lastNeed,z=DV1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function PV1($,Y){var z=NV1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function AV1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function TV1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function jV1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function EV1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function CV1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function RV1($){return $.toString(this.encoding)}function _V1($){return $&&$.length?this.write($):""}});var Kc=E((ps1,ow0)=>{var yI=I6();ow0.exports=C4;var SV1=oQ(),lX;C4.ReadableState=nw0;var ns1=I0("events").EventEmitter,bw0=function($,Y){return $.listeners(Y).length},Lc=I0("stream"),oX=K6().Buffer,gV1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function yV1($){return oX.from($)}function kV1($){return oX.isBuffer($)||$ instanceof gV1}var iw0=Object.create(M4());iw0.inherits=X1();var Xc=I0("util"),Y4=void 0;if(Xc&&Xc.debuglog)Y4=Xc.debuglog("stream");else Y4=function(){};var xV1=Bw0(),cw0=Uc(),gI;iw0.inherits(C4,Lc);var Zc=["error","close","destroy","pause","resume"];function fV1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(SV1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function nw0($,Y){lX=lX||rz(),$=$||{};var z=Y instanceof lX;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new xV1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!gI)gI=Hc().StringDecoder;this.decoder=new gI($.encoding),this.encoding=$.encoding}}function C4($){if(lX=lX||rz(),!(this instanceof C4))return new C4($);if(this._readableState=new nw0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Lc.call(this)}Object.defineProperty(C4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});C4.prototype.destroy=cw0.destroy;C4.prototype._undestroy=cw0.undestroy;C4.prototype._destroy=function($,Y){this.push(null),Y($)};C4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=oX.from($,Y),Y="";U=!0}}else U=!0;return pw0(this,$,Y,!1,U)};C4.prototype.unshift=function($){return pw0(this,$,null,!0,!1)};function pw0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,cV1($,J);else{var I;if(!Q)I=uV1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==oX.prototype)Y=yV1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else qc($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)qc($,J,Y,!1);else dw0($,J);else qc($,J,Y,!1)}else if(!U)J.reading=!1}return bV1(J)}function qc($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)hB($)}dw0($,Y)}function uV1($,Y){var z;if(!kV1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function bV1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}C4.prototype.isPaused=function(){return this._readableState.flowing===!1};C4.prototype.setEncoding=function($){if(!gI)gI=Hc().StringDecoder;return this._readableState.decoder=new gI($),this._readableState.encoding=$,this};var xw0=8388608;function iV1($){if($>=xw0)$=xw0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function fw0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=iV1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}C4.prototype.read=function($){Y4("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(Y4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Vc(this);else hB(this);return null}if($=fw0($,Y),$===0&&Y.ended){if(Y.length===0)Vc(this);return null}var U=Y.needReadable;if(Y4("need readable",U),Y.length===0||Y.length-$0)Q=mw0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Vc(this)}if(Q!==null)this.emit("data",Q);return Q};function cV1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,hB($)}function hB($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(Y4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)yI.nextTick(uw0,$);else uw0($)}function uw0($){Y4("emit readable"),$.emit("readable"),Fc($)}function dw0($,Y){if(!Y.readingMore)Y.readingMore=!0,yI.nextTick(nV1,$,Y)}function nV1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&lw0(U.pipes,$)!==-1)&&!W)Y4("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(Y4("onerror",w),M(),$.removeListener("error",q),bw0($,"error")===0)$.emit("error",w)}fV1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){Y4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){Y4("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)Y4("pipe resume"),z.resume();return $};function pV1($){return function(){var Y=$._readableState;if(Y4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&bw0($,"data"))Y.flowing=!0,Fc($)}}C4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=oV1($,Y.buffer,Y.decoder);return z}function oV1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function sV1($,Y){var z=oX.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function Vc($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,yI.nextTick(aV1,Y,$)}function aV1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function lw0($,Y){for(var z=0,U=$.length;z{aw0.exports=j7;var SB=rz(),sw0=Object.create(M4());sw0.inherits=X1();sw0.inherits(j7,SB);function tV1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{$M0.exports=rX;var tw0=wc(),ew0=Object.create(M4());ew0.inherits=X1();ew0.inherits(rX,tw0);function rX($){if(!(this instanceof rX))return new rX($);tw0.call(this,$)}rX.prototype._transform=function($,Y,z){z(null,$)}});var E7=E((e6,gB)=>{var V9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&V9)gB.exports=V9,e6=gB.exports=V9.Readable,e6.Readable=V9.Readable,e6.Writable=V9.Writable,e6.Duplex=V9.Duplex,e6.Transform=V9.Transform,e6.PassThrough=V9.PassThrough,e6.Stream=V9;else e6=gB.exports=Kc(),e6.Stream=V9||e6,e6.Readable=e6,e6.Writable=Jc(),e6.Duplex=rz(),e6.Transform=wc(),e6.PassThrough=YM0()});var kB=E((ls1,zM0)=>{var sz=I0("stream"),Mc=j2(),$L1=I0("util"),yB=hI(),YL1="function";if(!sz.Writable||!sz.Writable.prototype.destroy)sz=E7();function E2(){if(!(this instanceof E2))return new E2;sz.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=yB.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}$L1.inherits(E2,sz.Duplex);E2.prototype._write=function($,Y,z){this.buffer=yB.concat([this.buffer,$]),this.cb=z,this.emit("chunk")};E2.prototype.stream=function($,Y){var z=sz.PassThrough(),U,Q=this;function J(){if(typeof Q.cb===YL1){var K=Q.cb;return Q.cb=void 0,K()}}function I(){var K;if(Q.buffer&&Q.buffer.length){if(typeof $==="number")K=Q.buffer.slice(0,$),Q.buffer=Q.buffer.slice($),$-=K.length,U=!$;else{var G=Q.buffer.indexOf($);if(G!==-1){if(Q.match=G,Y)G=G+$.length;K=Q.buffer.slice(0,G),Q.buffer=Q.buffer.slice(G),U=!0}else{var W=Q.buffer.length-$.length;if(W<=0)J();else K=Q.buffer.slice(0,W),Q.buffer=Q.buffer.slice(W)}}if(K)z.write(K,function(){if(Q.buffer.length===0||$.length&&Q.buffer.length<=$.length)J()})}if(!U){if(Q.finished){Q.removeListener("chunk",I),Q.emit("error",Error("FILE_ENDED"));return}}else Q.removeListener("chunk",I),z.end()}return Q.on("chunk",I),I(),z};E2.prototype.pull=function($,Y){if($===0)return Mc.resolve("");if(!isNaN($)&&this.buffer.length>$){var z=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),Mc.resolve(z)}var U=yB.from(""),Q=this,J=sz.Transform();J._transform=function(G,W,H){U=yB.concat([U,G]),H()};var I,K;return new Mc(function(G,W){if(I=W,K=function(H){Q.__emittedError=H,W(H)},Q.finished)return W(Error("FILE_ENDED"));Q.once("error",K),Q.stream($,Y).on("error",W).pipe(J).on("finish",function(){G(U)}).on("error",W)}).finally(function(){Q.removeListener("error",I),Q.removeListener("error",K)})};E2.prototype._read=function(){};zM0.exports=E2});var QM0=E((os1,UM0)=>{var sX=I0("stream"),zL1=I0("util");if(!sX.Writable||!sX.Writable.prototype.destroy)sX=E7();function aX(){if(!(this instanceof aX))return new aX;sX.Transform.call(this)}zL1.inherits(aX,sX.Transform);aX.prototype._transform=function($,Y,z){z()};UM0.exports=aX});var fB=E((rs1,JM0)=>{var UL1=j2(),xB=I0("stream"),QL1=hI();if(!xB.Writable||!xB.Writable.prototype.destroy)xB=E7();JM0.exports=function($){return new UL1(function(Y,z){var U=[],Q=xB.Transform().on("finish",function(){Y(QL1.concat(U))}).on("error",z);Q._transform=function(J,I,K){U.push(J),K()},$.on("error",z).pipe(Q)})}});var uB=E((ss1,IM0)=>{var JL1=fX();IM0.exports=function($,Y){var z;while(!z&&$&&$.length){var U=JL1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(U.signature===1)z=U;else $=$.slice(U.partsize+4)}if(z=z||{},Y.compressedSize===4294967295)Y.compressedSize=z.compressedSize;if(Y.uncompressedSize===4294967295)Y.uncompressedSize=z.uncompressedSize;if(Y.offsetToLocalFileHeader===4294967295)Y.offsetToLocalFileHeader=z.offset;return z}});var bB=E((as1,KM0)=>{KM0.exports=function(Y,z){let U=Y&31,Q=Y>>5&15,J=(Y>>9&127)+1980,I=z?(z&31)*2:0,K=z?z>>5&63:0,G=z?z>>11:0;return new Date(Date.UTC(J,Q-1,U,G,K,I))}});var iB=E((ts1,XM0)=>{var IL1=I0("util"),KL1=I0("zlib"),tX=I0("stream"),eX=fX(),Oc=j2(),GM0=kB(),GL1=QM0(),WL1=fB(),HL1=uB(),WM0=hI(),XL1=bB();if(!tX.Writable||!tX.Writable.prototype.destroy)tX=E7();var HM0=WM0.alloc(4);HM0.writeUInt32LE(101010256,0);function M5($){if(!(this instanceof M5))return new M5($);var Y=this;Y._opts=$||{verbose:!1},GM0.call(Y,Y._opts),Y.on("finish",function(){Y.emit("end"),Y.emit("close")}),Y._readRecord().catch(function(z){if(!Y.__emittedError||Y.__emittedError!==z)Y.emit("error",z)})}IL1.inherits(M5,GM0);M5.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(Y){if(Y.length===0)return;var z=Y.readUInt32LE(0);if(z===875721283)return $._readCrxHeader();if(z===67324752)return $._readFile();else if(z===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(z===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var U=!0;return $.pull(HM0,U).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+z.toString(16)))})};M5.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(Y){return $.crxHeader=eX.parse(Y).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(Y){return $.crxHeader.publicKey=Y.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=Y.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};M5.prototype._readFile=function(){var $=this;return $.pull(26).then(function(Y){var z=eX.parse(Y).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(z.lastModifiedDateTime=XL1(z.lastModifiedDate,z.lastModifiedTime),$.crxHeader)z.crxHeader=$.crxHeader;return $.pull(z.fileNameLength).then(function(U){var Q=U.toString("utf8"),J=tX.PassThrough(),I=!1;if(J.autodrain=function(){I=!0;var K=J.pipe(GL1());return K.promise=function(){return new Oc(function(G,W){K.on("finish",G),K.on("error",W)})},K},J.buffer=function(){return WL1(J)},J.path=Q,J.props={},J.props.path=Q,J.props.pathBuffer=U,J.props.flags={isUnicode:(z.flags&2048)!=0},J.type=z.uncompressedSize===0&&/[\/\\]$/.test(Q)?"Directory":"File",$._opts.verbose){if(J.type==="Directory")console.log(" creating:",Q);else if(J.type==="File")if(z.compressionMethod===0)console.log(" extracting:",Q);else console.log(" inflating:",Q)}return $.pull(z.extraFieldLength).then(function(K){var G=HL1(K,z);if(J.vars=z,J.extra=G,$._opts.forceStream)$.push(J);else if($.emit("entry",J),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(J);if($._opts.verbose)console.log({filename:Q,vars:z,extra:G});var W=!(z.flags&8)||z.compressedSize>0,H;J.__autodraining=I;var X=z.compressionMethod&&!I?KL1.createInflateRaw():tX.PassThrough();if(W)J.size=z.uncompressedSize,H=z.compressedSize;else H=WM0.alloc(4),H.writeUInt32LE(134695760,0);return new Oc(function(Z,q){$.stream(H).pipe(X).on("error",function(V){$.emit("error",V)}).pipe(J).on("finish",function(){return W?$._readRecord().then(Z).catch(q):$._processDataDescriptor(J).then(Z).catch(q)})})})})})};M5.prototype._processDataDescriptor=function($){var Y=this;return Y.pull(16).then(function(z){var U=eX.parse(z).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=U.uncompressedSize,Y._readRecord()})};M5.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(Y){var z=eX.parse(Y).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(z.fileNameLength).then(function(U){return z.fileName=U.toString("utf8"),$.pull(z.extraFieldLength)}).then(function(U){return $.pull(z.fileCommentLength)}).then(function(U){return $._readRecord()})})};M5.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(Y){var z=eX.parse(Y).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(z.commentLength).then(function(U){U=U.toString("utf8"),$.end(),$.push(null)})})};M5.prototype.promise=function(){var $=this;return new Oc(function(Y,z){$.on("finish",Y),$.on("error",z)})};XM0.exports=M5});var qM0=E((es1,Nc)=>{function ZL1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var ZM0=K6().Buffer,$Z=I0("util");function qL1($,Y,z){$.copy(Y,z)}Nc.exports=function(){function $(){ZL1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return ZM0.alloc(0);var U=ZM0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)qL1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if($Z&&$Z.inspect&&$Z.inspect.custom)Nc.exports.prototype[$Z.inspect.custom]=function(){var $=$Z.inspect({length:this.length});return this.constructor.name+" "+$}});var Dc=E(($a1,VM0)=>{var cB=I6();function VL1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)cB.nextTick(nB,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,cB.nextTick(nB,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)cB.nextTick(nB,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,cB.nextTick(nB,z,J)}else if(Y)Y(J)}),this}function LL1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function nB($,Y){$.emit("error",Y)}VM0.exports={destroy:VL1,undestroy:LL1}});var Pc=E((Ya1,BM0)=>{var az=I6();BM0.exports=w6;function FM0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){SL1(Y,$)}}var FL1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:az.nextTick,kI;w6.WritableState=zZ;var wM0=Object.create(M4());wM0.inherits=X1();var wL1={deprecate:S3()},MM0=I0("stream"),dB=K6().Buffer,ML1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function OL1($){return dB.from($)}function NL1($){return dB.isBuffer($)||$ instanceof ML1}var OM0=Dc();wM0.inherits(w6,MM0);function DL1(){}function zZ($,Y){kI=kI||tz(),$=$||{};var z=Y instanceof kI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){CL1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new FM0(this)}zZ.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(zZ.prototype,"buffer",{get:wL1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var pB;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")pB=Function.prototype[Symbol.hasInstance],Object.defineProperty(w6,Symbol.hasInstance,{value:function($){if(pB.call(this,$))return!0;if(this!==w6)return!1;return $&&$._writableState instanceof zZ}});else pB=function($){return $ instanceof this};function w6($){if(kI=kI||tz(),!pB.call(w6,this)&&!(this instanceof kI))return new w6($);if(this._writableState=new zZ($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}MM0.call(this)}w6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function BL1($,Y){var z=Error("write after end");$.emit("error",z),az.nextTick(Y,z)}function PL1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),az.nextTick(U,J),Q=!1;return Q}w6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&NL1($);if(J&&!dB.isBuffer($))$=OL1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=DL1;if(U.ended)BL1(this,z);else if(J||PL1(this,U,$,z))U.pendingcb++,Q=TL1(this,U,J,$,Y,z);return Q};w6.prototype.cork=function(){var $=this._writableState;$.corked++};w6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)NM0(this,$)}};w6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function AL1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=dB.from(Y,z);return Y}Object.defineProperty(w6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function TL1($,Y,z,U,Q,J){if(!z){var I=AL1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var PM0=I6(),gL1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};jM0.exports=C7;var AM0=Object.create(M4());AM0.inherits=X1();var TM0=Tc(),Ac=Pc();AM0.inherits(C7,TM0);{mB=gL1(Ac.prototype);for(UZ=0;UZ{var Ec=K6().Buffer,EM0=Ec.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function xL1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function fL1($){var Y=xL1($);if(typeof Y!=="string"&&(Ec.isEncoding===EM0||!EM0($)))throw Error("Unknown encoding: "+$);return Y||$}sL1.StringDecoder=JZ;function JZ($){this.encoding=fL1($);var Y;switch(this.encoding){case"utf16le":this.text=pL1,this.end=dL1,Y=4;break;case"utf8":this.fillLast=iL1,Y=4;break;case"base64":this.text=mL1,this.end=lL1,Y=3;break;default:this.write=oL1,this.end=rL1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ec.allocUnsafe(Y)}JZ.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};JZ.prototype.end=nL1;JZ.prototype.text=cL1;JZ.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function jc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function uL1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function bL1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function iL1($){var Y=this.lastTotal-this.lastNeed,z=bL1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function cL1($,Y){var z=uL1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function nL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function pL1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function dL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function mL1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function lL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function oL1($){return $.toString(this.encoding)}function rL1($){return $&&$.length?this.write($):""}});var Tc=E((Ja1,uM0)=>{var fI=I6();uM0.exports=R4;var tL1=oQ(),IZ;R4.ReadableState=gM0;var Qa1=I0("events").EventEmitter,vM0=function($,Y){return $.listeners(Y).length},Sc=I0("stream"),KZ=K6().Buffer,eL1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function $F1($){return KZ.from($)}function YF1($){return KZ.isBuffer($)||$ instanceof eL1}var hM0=Object.create(M4());hM0.inherits=X1();var Rc=I0("util"),z4=void 0;if(Rc&&Rc.debuglog)z4=Rc.debuglog("stream");else z4=function(){};var zF1=qM0(),SM0=Dc(),xI;hM0.inherits(R4,Sc);var _c=["error","close","destroy","pause","resume"];function UF1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(tL1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function gM0($,Y){IZ=IZ||tz(),$=$||{};var z=Y instanceof IZ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new zF1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!xI)xI=Cc().StringDecoder;this.decoder=new xI($.encoding),this.encoding=$.encoding}}function R4($){if(IZ=IZ||tz(),!(this instanceof R4))return new R4($);if(this._readableState=new gM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Sc.call(this)}Object.defineProperty(R4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});R4.prototype.destroy=SM0.destroy;R4.prototype._undestroy=SM0.undestroy;R4.prototype._destroy=function($,Y){this.push(null),Y($)};R4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=KZ.from($,Y),Y="";U=!0}}else U=!0;return yM0(this,$,Y,!1,U)};R4.prototype.unshift=function($){return yM0(this,$,null,!0,!1)};function yM0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,KF1($,J);else{var I;if(!Q)I=QF1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==KZ.prototype)Y=$F1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else vc($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)vc($,J,Y,!1);else kM0($,J);else vc($,J,Y,!1)}else if(!U)J.reading=!1}return JF1(J)}function vc($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)lB($)}kM0($,Y)}function QF1($,Y){var z;if(!YF1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function JF1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}R4.prototype.isPaused=function(){return this._readableState.flowing===!1};R4.prototype.setEncoding=function($){if(!xI)xI=Cc().StringDecoder;return this._readableState.decoder=new xI($),this._readableState.encoding=$,this};var CM0=8388608;function IF1($){if($>=CM0)$=CM0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function RM0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=IF1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}R4.prototype.read=function($){z4("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(z4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)hc(this);else lB(this);return null}if($=RM0($,Y),$===0&&Y.ended){if(Y.length===0)hc(this);return null}var U=Y.needReadable;if(z4("need readable",U),Y.length===0||Y.length-$0)Q=xM0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)hc(this)}if(Q!==null)this.emit("data",Q);return Q};function KF1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,lB($)}function lB($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(z4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)fI.nextTick(_M0,$);else _M0($)}function _M0($){z4("emit readable"),$.emit("readable"),gc($)}function kM0($,Y){if(!Y.readingMore)Y.readingMore=!0,fI.nextTick(GF1,$,Y)}function GF1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&fM0(U.pipes,$)!==-1)&&!W)z4("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(z4("onerror",w),M(),$.removeListener("error",q),vM0($,"error")===0)$.emit("error",w)}UF1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){z4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){z4("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)z4("pipe resume"),z.resume();return $};function WF1($){return function(){var Y=$._readableState;if(z4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&vM0($,"data"))Y.flowing=!0,gc($)}}R4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=qF1($,Y.buffer,Y.decoder);return z}function qF1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function LF1($,Y){var z=KZ.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function hc($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,fI.nextTick(FF1,Y,$)}function FF1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function fM0($,Y){for(var z=0,U=$.length;z{cM0.exports=R7;var oB=tz(),iM0=Object.create(M4());iM0.inherits=X1();iM0.inherits(R7,oB);function wF1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{dM0.exports=GZ;var nM0=yc(),pM0=Object.create(M4());pM0.inherits=X1();pM0.inherits(GZ,nM0);function GZ($){if(!(this instanceof GZ))return new GZ($);nM0.call(this,$)}GZ.prototype._transform=function($,Y,z){z(null,$)}});var lM0=E(($8,rB)=>{var L9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&L9)rB.exports=L9,$8=rB.exports=L9.Readable,$8.Readable=L9.Readable,$8.Writable=L9.Writable,$8.Duplex=L9.Duplex,$8.Transform=L9.Transform,$8.PassThrough=L9.PassThrough,$8.Stream=L9;else $8=rB.exports=Tc(),$8.Stream=L9||$8,$8.Readable=$8,$8.Writable=Pc(),$8.Duplex=tz(),$8.Transform=yc(),$8.PassThrough=mM0()});var fc=E((Ga1,xc)=>{var kc=lM0();function uI($,Y,z){if(typeof z>"u")z=Y,Y=$,$=null;if(kc.Duplex.call(this,$),typeof z.read!=="function")z=new kc.Readable($).wrap(z);this._writable=Y,this._readable=z,this._waiting=!1;var U=this;if(Y.once("finish",function(){U.end()}),this.once("finish",function(){Y.end()}),z.on("readable",function(){if(U._waiting)U._waiting=!1,U._read()}),z.once("end",function(){U.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)Y.on("error",function(Q){U.emit("error",Q)}),z.on("error",function(Q){U.emit("error",Q)})}uI.prototype=Object.create(kc.Duplex.prototype,{constructor:{value:uI}});uI.prototype._write=function(Y,z,U){this._writable.write(Y,z,U)};uI.prototype._read=function(){var Y,z=0;while((Y=this._readable.read())!==null)this.push(Y),z++;if(z===0)this._waiting=!0};xc.exports=function(Y,z,U){return new uI(Y,z,U)};xc.exports.DuplexWrapper=uI});var rM0=E((Wa1,oM0)=>{var bI=I0("stream"),OF1=iB(),NF1=fc(),DF1=fB();if(!bI.Writable||!bI.Writable.prototype.destroy)bI=E7();function BF1($,Y){var z=bI.PassThrough({objectMode:!0}),U=bI.PassThrough(),Q=bI.Transform({objectMode:!0}),J=$ instanceof RegExp?$:$&&new RegExp($),I;Q._transform=function(G,W,H){if(I||J&&!J.exec(G.path))return G.autodrain(),H();else I=!0,K.emit("entry",G),G.on("error",function(X){U.emit("error",X)}),G.pipe(U).on("error",function(X){H(X)}).on("finish",function(X){H(null,X)})},z.pipe(OF1(Y)).on("error",function(G){U.emit("error",G)}).pipe(Q).on("error",Object).on("finish",function(){if(!I)U.emit("error",Error("PATTERN_NOT_FOUND"));else U.end()});var K=NF1(z,U);return K.buffer=function(){return DF1(U)},K}oM0.exports=BF1});var sB=E((Ha1,aM0)=>{aM0.exports=C2;var uc=I0("stream").Stream,PF1=X1();function C2(){uc.call(this)}PF1(C2,uc);C2.prototype.on=function($,Y){if($==="ready"&&this.ready)process.nextTick(Y.bind(this));else uc.prototype.on.call(this,$,Y);return this};C2.prototype.abort=function(){this._aborted=!0,this.emit("abort")};C2.prototype.destroy=function(){};C2.prototype.warn=function($,Y){var z=this,U=sM0($,Y,z);if(!z.listeners("warn"))console.error(`%s %s +`)}function h(x){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,x!==q)k(this,x),this._resolveFromExecutor(x);this._promiseCreated(),this._fireEvent("promiseCreated",this)}h.prototype.toString=function(){return"[object Promise]"},h.prototype.caught=h.prototype.catch=function(x){var d=arguments.length;if(d>1){var t=Array(d-1),$0=0,g;for(g=0;g0&&typeof x!=="function"&&typeof d!=="function"){var t=".then() only accepts functions but was passed: "+J.classString(x);if(arguments.length>1)t+=", "+J.classString(d);this._warn(t)}return this._then(x,d,void 0,void 0,void 0)},h.prototype.done=function(x,d){var t=this._then(x,d,void 0,void 0,void 0);t._setIsFinal()},h.prototype.spread=function(x){if(typeof x!=="function")return z("expecting a function but got "+J.classString(x));return this.all()._then(x,void 0,void 0,V,void 0)},h.prototype.toJSON=function(){var x={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())x.fulfillmentValue=this.value(),x.isFulfilled=!0;else if(this.isRejected())x.rejectionReason=this.reason(),x.isRejected=!0;return x},h.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new w(this).promise()},h.prototype.error=function(x){return this.caught(J.originatesFromRejection,x)},h.getNewLibraryCopy=Uc.exports,h.is=function(x){return x instanceof h},h.fromNode=h.fromCallback=function(x){var d=new h(q);d._captureStackTrace();var t=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,$0=b(x)(j(d,t));if($0===C)d._rejectCallback($0.e,!0);if(!d._isFateSealed())d._setAsyncGuaranteed();return d},h.all=function(x){return new w(x).promise()},h.cast=function(x){var d=M(x);if(!(d instanceof h))d=new h(q),d._captureStackTrace(),d._setFulfilled(),d._rejectionHandler0=x;return d},h.resolve=h.fulfilled=h.cast,h.reject=h.rejected=function(x){var d=new h(q);return d._captureStackTrace(),d._rejectCallback(x,!0),d},h.setScheduler=function(x){if(typeof x!=="function")throw new X("expecting a function but got "+J.classString(x));return W.setScheduler(x)},h.prototype._then=function(x,d,t,$0,g){var p=g!==void 0,e=p?g:new h(q),y=this._target(),s=y._bitField;if(!p){if(e._propagateFrom(this,3),e._captureStackTrace(),$0===void 0&&(this._bitField&2097152)!==0)if((s&50397184)!==0)$0=this._boundValue();else $0=y===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,e)}var Y0=I();if((s&50397184)!==0){var M0,E0,G0=y._settlePromiseCtx;if((s&33554432)!==0)E0=y._rejectionHandler0,M0=x;else if((s&16777216)!==0)E0=y._fulfillmentHandler0,M0=d,y._unsetRejectionIsUnhandled();else G0=y._settlePromiseLateCancellationObserver,E0=new Z("late cancellation observer"),y._attachExtraTrace(E0),M0=d;W.invoke(G0,y,{handler:Y0===null?M0:typeof M0==="function"&&J.domainBind(Y0,M0),promise:e,receiver:$0,value:E0})}else y._addCallbacks(x,d,e,$0,Y0);return e},h.prototype._length=function(){return this._bitField&65535},h.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},h.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},h.prototype._setLength=function(x){this._bitField=this._bitField&-65536|x&65535},h.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},h.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},h.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},h.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},h.prototype._isFinal=function(){return(this._bitField&4194304)>0},h.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},h.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},h.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},h.prototype._setAsyncGuaranteed=function(){if(W.hasCustomScheduler())return;this._bitField=this._bitField|134217728},h.prototype._receiverAt=function(x){var d=x===0?this._receiver0:this[x*4-4+3];if(d===Q)return;else if(d===void 0&&this._isBound())return this._boundValue();return d},h.prototype._promiseAt=function(x){return this[x*4-4+2]},h.prototype._fulfillmentHandlerAt=function(x){return this[x*4-4+0]},h.prototype._rejectionHandlerAt=function(x){return this[x*4-4+1]},h.prototype._boundValue=function(){},h.prototype._migrateCallback0=function(x){var{_bitField:d,_fulfillmentHandler0:t,_rejectionHandler0:$0,_promise0:g}=x,p=x._receiverAt(0);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},h.prototype._migrateCallbackAt=function(x,d){var t=x._fulfillmentHandlerAt(d),$0=x._rejectionHandlerAt(d),g=x._promiseAt(d),p=x._receiverAt(d);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},h.prototype._addCallbacks=function(x,d,t,$0,g){var p=this._length();if(p>=65531)p=0,this._setLength(0);if(p===0){if(this._promise0=t,this._receiver0=$0,typeof x==="function")this._fulfillmentHandler0=g===null?x:J.domainBind(g,x);if(typeof d==="function")this._rejectionHandler0=g===null?d:J.domainBind(g,d)}else{var e=p*4-4;if(this[e+2]=t,this[e+3]=$0,typeof x==="function")this[e+0]=g===null?x:J.domainBind(g,x);if(typeof d==="function")this[e+1]=g===null?d:J.domainBind(g,d)}return this._setLength(p+1),p},h.prototype._proxy=function(x,d){this._addCallbacks(void 0,void 0,d,x,null)},h.prototype._resolveCallback=function(x,d){if((this._bitField&117506048)!==0)return;if(x===this)return this._rejectCallback($(),!1);var t=M(x,this);if(!(t instanceof h))return this._fulfill(x);if(d)this._propagateFrom(t,2);var $0=t._target();if($0===this){this._reject($());return}var g=$0._bitField;if((g&50397184)===0){var p=this._length();if(p>0)$0._migrateCallback0(this);for(var e=1;e>>16)return;if(x===this){var t=$();return this._attachExtraTrace(t),this._reject(t)}if(this._setFulfilled(),this._rejectionHandler0=x,(d&65535)>0)if((d&134217728)!==0)this._settlePromises();else W.settlePromises(this)},h.prototype._reject=function(x){var d=this._bitField;if((d&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=x,this._isFinal())return W.fatalError(x,J.isNode);if((d&65535)>0)W.settlePromises(this);else this._ensurePossibleRejectionHandled()},h.prototype._fulfillPromises=function(x,d){for(var t=1;t0){if((x&16842752)!==0){var t=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,t,x),this._rejectPromises(d,t)}else{var $0=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,$0,x),this._fulfillPromises(d,$0)}this._setLength(0)}this._clearCancellationData()},h.prototype._settledValue=function(){var x=this._bitField;if((x&33554432)!==0)return this._rejectionHandler0;else if((x&16777216)!==0)return this._fulfillmentHandler0};function i(x){this.promise._resolveCallback(x)}function c(x){this.promise._rejectCallback(x,!1)}h.defer=h.pending=function(){D.deprecated("Promise.defer","new Promise");var x=new h(q);return{promise:x,resolve:i,reject:c}},J.notEnumerableProp(h,"_makeSelfResolutionError",$),_F0()(h,q,M,z,D),hF0()(h,q,M,D),gF0()(h,w,z,D),kF0()(h),fF0()(h),bF0()(h,w,M,q,W,I),h.Promise=h,h.version="3.4.7",cF0()(h,w,z,M,q,D),pF0()(h),mF0()(h,z,M,N,q,D),oF0()(h,q,D),sF0()(h,z,q,M,U,D),tF0()(h),$w0()(h,q),zw0()(h,w,M,z),Qw0()(h,q,M,z),Iw0()(h,w,z,M,q,D),Gw0()(h,w,D),Hw0()(h,w,z),Zw0()(h,q),Vw0()(h,q),Fw0()(h),J.toFastProperties(h),J.toFastProperties(h.prototype);function U0(x){var d=new h(q);d._fulfillmentHandler0=x,d._rejectionHandler0=x,d._promise0=x,d._receiver0=x}return U0({a:1}),U0({b:2}),U0({c:3}),U0(1),U0(function(){}),U0(void 0),U0(!1),U0(new h(q)),D.setBounds(G.firstLineError,J.lastLineError),h}});var j2=E((us1,Ow0)=>{var Mw0;if(typeof Promise<"u")Mw0=Promise;function oq1(){try{if(Promise===EB)Promise=Mw0}catch($){}return EB}var EB=ww0()();EB.noConflict=oq1;Ow0.exports=EB});var hI=E((bs1,Nw0)=>{var vI=I0("buffer").Buffer;if(vI.from===void 0)vI.from=function($,Y,z){return new vI($,Y,z)},vI.alloc=vI.from;Nw0.exports=vI});var Bw0=E((is1,Qc)=>{function rq1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var Dw0=K6().Buffer,iX=I0("util");function sq1($,Y,z){$.copy(Y,z)}Qc.exports=function(){function $(){rq1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return Dw0.alloc(0);var U=Dw0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)sq1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if(iX&&iX.inspect&&iX.inspect.custom)Qc.exports.prototype[iX.inspect.custom]=function(){var $=iX.inspect({length:this.length});return this.constructor.name+" "+$}});var Jc=E((cs1,Pw0)=>{var CB=I6();function aq1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)CB.nextTick(RB,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,CB.nextTick(RB,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)CB.nextTick(RB,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,CB.nextTick(RB,z,J)}else if(Y)Y(J)}),this}function tq1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function RB($,Y){$.emit("error",Y)}Pw0.exports={destroy:aq1,undestroy:tq1}});var Kc=E((ns1,vw0)=>{var oz=I6();vw0.exports=F6;function Tw0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){FV1(Y,$)}}var eq1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:oz.nextTick,SI;F6.WritableState=nX;var jw0=Object.create(M4());jw0.inherits=X1();var $V1={deprecate:S3()},Ew0=I0("stream"),vB=K6().Buffer,YV1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zV1($){return vB.from($)}function UV1($){return vB.isBuffer($)||$ instanceof YV1}var Cw0=Jc();jw0.inherits(F6,Ew0);function QV1(){}function nX($,Y){SI=SI||rz(),$=$||{};var z=Y instanceof SI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){XV1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Tw0(this)}nX.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(nX.prototype,"buffer",{get:$V1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var _B;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")_B=Function.prototype[Symbol.hasInstance],Object.defineProperty(F6,Symbol.hasInstance,{value:function($){if(_B.call(this,$))return!0;if(this!==F6)return!1;return $&&$._writableState instanceof nX}});else _B=function($){return $ instanceof this};function F6($){if(SI=SI||rz(),!_B.call(F6,this)&&!(this instanceof SI))return new F6($);if(this._writableState=new nX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}Ew0.call(this)}F6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function JV1($,Y){var z=Error("write after end");$.emit("error",z),oz.nextTick(Y,z)}function IV1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),oz.nextTick(U,J),Q=!1;return Q}F6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&UV1($);if(J&&!vB.isBuffer($))$=zV1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=QV1;if(U.ended)JV1(this,z);else if(J||IV1(this,U,$,z))U.pendingcb++,Q=GV1(this,U,J,$,Y,z);return Q};F6.prototype.cork=function(){var $=this._writableState;$.corked++};F6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)Rw0(this,$)}};F6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function KV1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=vB.from(Y,z);return Y}Object.defineProperty(F6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function GV1($,Y,z,U,Q,J){if(!z){var I=KV1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var hw0=I6(),wV1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};yw0.exports=j7;var Sw0=Object.create(M4());Sw0.inherits=X1();var gw0=Wc(),Gc=Kc();Sw0.inherits(j7,gw0);{hB=wV1(Gc.prototype);for(pX=0;pX{var Xc=K6().Buffer,kw0=Xc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function NV1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function DV1($){var Y=NV1($);if(typeof Y!=="string"&&(Xc.isEncoding===kw0||!kw0($)))throw Error("Unknown encoding: "+$);return Y||$}SV1.StringDecoder=mX;function mX($){this.encoding=DV1($);var Y;switch(this.encoding){case"utf16le":this.text=EV1,this.end=CV1,Y=4;break;case"utf8":this.fillLast=AV1,Y=4;break;case"base64":this.text=RV1,this.end=_V1,Y=3;break;default:this.write=vV1,this.end=hV1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Xc.allocUnsafe(Y)}mX.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};mX.prototype.end=jV1;mX.prototype.text=TV1;mX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Hc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function BV1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function PV1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function AV1($){var Y=this.lastTotal-this.lastNeed,z=PV1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function TV1($,Y){var z=BV1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function jV1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function EV1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function CV1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function RV1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function _V1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function vV1($){return $.toString(this.encoding)}function hV1($){return $&&$.length?this.write($):""}});var Wc=E((ls1,ow0)=>{var yI=I6();ow0.exports=C4;var yV1=oQ(),lX;C4.ReadableState=nw0;var ms1=I0("events").EventEmitter,bw0=function($,Y){return $.listeners(Y).length},wc=I0("stream"),oX=K6().Buffer,kV1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function xV1($){return oX.from($)}function fV1($){return oX.isBuffer($)||$ instanceof kV1}var iw0=Object.create(M4());iw0.inherits=X1();var qc=I0("util"),Y4=void 0;if(qc&&qc.debuglog)Y4=qc.debuglog("stream");else Y4=function(){};var uV1=Bw0(),cw0=Jc(),gI;iw0.inherits(C4,wc);var Vc=["error","close","destroy","pause","resume"];function bV1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(yV1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function nw0($,Y){lX=lX||rz(),$=$||{};var z=Y instanceof lX;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new uV1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!gI)gI=Zc().StringDecoder;this.decoder=new gI($.encoding),this.encoding=$.encoding}}function C4($){if(lX=lX||rz(),!(this instanceof C4))return new C4($);if(this._readableState=new nw0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}wc.call(this)}Object.defineProperty(C4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});C4.prototype.destroy=cw0.destroy;C4.prototype._undestroy=cw0.undestroy;C4.prototype._destroy=function($,Y){this.push(null),Y($)};C4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=oX.from($,Y),Y="";U=!0}}else U=!0;return pw0(this,$,Y,!1,U)};C4.prototype.unshift=function($){return pw0(this,$,null,!0,!1)};function pw0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,pV1($,J);else{var I;if(!Q)I=iV1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==oX.prototype)Y=xV1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Lc($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Lc($,J,Y,!1);else dw0($,J);else Lc($,J,Y,!1)}else if(!U)J.reading=!1}return cV1(J)}function Lc($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)SB($)}dw0($,Y)}function iV1($,Y){var z;if(!fV1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function cV1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}C4.prototype.isPaused=function(){return this._readableState.flowing===!1};C4.prototype.setEncoding=function($){if(!gI)gI=Zc().StringDecoder;return this._readableState.decoder=new gI($),this._readableState.encoding=$,this};var xw0=8388608;function nV1($){if($>=xw0)$=xw0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function fw0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=nV1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}C4.prototype.read=function($){Y4("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(Y4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Fc(this);else SB(this);return null}if($=fw0($,Y),$===0&&Y.ended){if(Y.length===0)Fc(this);return null}var U=Y.needReadable;if(Y4("need readable",U),Y.length===0||Y.length-$0)Q=mw0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)Fc(this)}if(Q!==null)this.emit("data",Q);return Q};function pV1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,SB($)}function SB($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(Y4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)yI.nextTick(uw0,$);else uw0($)}function uw0($){Y4("emit readable"),$.emit("readable"),Mc($)}function dw0($,Y){if(!Y.readingMore)Y.readingMore=!0,yI.nextTick(dV1,$,Y)}function dV1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&lw0(U.pipes,$)!==-1)&&!W)Y4("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(Y4("onerror",w),M(),$.removeListener("error",q),bw0($,"error")===0)$.emit("error",w)}bV1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){Y4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){Y4("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)Y4("pipe resume"),z.resume();return $};function mV1($){return function(){var Y=$._readableState;if(Y4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&bw0($,"data"))Y.flowing=!0,Mc($)}}C4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=sV1($,Y.buffer,Y.decoder);return z}function sV1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function tV1($,Y){var z=oX.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function Fc($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,yI.nextTick(eV1,Y,$)}function eV1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function lw0($,Y){for(var z=0,U=$.length;z{aw0.exports=E7;var gB=rz(),sw0=Object.create(M4());sw0.inherits=X1();sw0.inherits(E7,gB);function $L1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{$M0.exports=rX;var tw0=Oc(),ew0=Object.create(M4());ew0.inherits=X1();ew0.inherits(rX,tw0);function rX($){if(!(this instanceof rX))return new rX($);tw0.call(this,$)}rX.prototype._transform=function($,Y,z){z(null,$)}});var C7=E(($8,yB)=>{var L9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&L9)yB.exports=L9,$8=yB.exports=L9.Readable,$8.Readable=L9.Readable,$8.Writable=L9.Writable,$8.Duplex=L9.Duplex,$8.Transform=L9.Transform,$8.PassThrough=L9.PassThrough,$8.Stream=L9;else $8=yB.exports=Wc(),$8.Stream=L9||$8,$8.Readable=$8,$8.Writable=Kc(),$8.Duplex=rz(),$8.Transform=Oc(),$8.PassThrough=YM0()});var xB=E((ss1,zM0)=>{var sz=I0("stream"),Nc=j2(),zL1=I0("util"),kB=hI(),UL1="function";if(!sz.Writable||!sz.Writable.prototype.destroy)sz=C7();function E2(){if(!(this instanceof E2))return new E2;sz.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=kB.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}zL1.inherits(E2,sz.Duplex);E2.prototype._write=function($,Y,z){this.buffer=kB.concat([this.buffer,$]),this.cb=z,this.emit("chunk")};E2.prototype.stream=function($,Y){var z=sz.PassThrough(),U,Q=this;function J(){if(typeof Q.cb===UL1){var K=Q.cb;return Q.cb=void 0,K()}}function I(){var K;if(Q.buffer&&Q.buffer.length){if(typeof $==="number")K=Q.buffer.slice(0,$),Q.buffer=Q.buffer.slice($),$-=K.length,U=!$;else{var G=Q.buffer.indexOf($);if(G!==-1){if(Q.match=G,Y)G=G+$.length;K=Q.buffer.slice(0,G),Q.buffer=Q.buffer.slice(G),U=!0}else{var W=Q.buffer.length-$.length;if(W<=0)J();else K=Q.buffer.slice(0,W),Q.buffer=Q.buffer.slice(W)}}if(K)z.write(K,function(){if(Q.buffer.length===0||$.length&&Q.buffer.length<=$.length)J()})}if(!U){if(Q.finished){Q.removeListener("chunk",I),Q.emit("error",Error("FILE_ENDED"));return}}else Q.removeListener("chunk",I),z.end()}return Q.on("chunk",I),I(),z};E2.prototype.pull=function($,Y){if($===0)return Nc.resolve("");if(!isNaN($)&&this.buffer.length>$){var z=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),Nc.resolve(z)}var U=kB.from(""),Q=this,J=sz.Transform();J._transform=function(G,W,H){U=kB.concat([U,G]),H()};var I,K;return new Nc(function(G,W){if(I=W,K=function(H){Q.__emittedError=H,W(H)},Q.finished)return W(Error("FILE_ENDED"));Q.once("error",K),Q.stream($,Y).on("error",W).pipe(J).on("finish",function(){G(U)}).on("error",W)}).finally(function(){Q.removeListener("error",I),Q.removeListener("error",K)})};E2.prototype._read=function(){};zM0.exports=E2});var QM0=E((as1,UM0)=>{var sX=I0("stream"),QL1=I0("util");if(!sX.Writable||!sX.Writable.prototype.destroy)sX=C7();function aX(){if(!(this instanceof aX))return new aX;sX.Transform.call(this)}QL1.inherits(aX,sX.Transform);aX.prototype._transform=function($,Y,z){z()};UM0.exports=aX});var uB=E((ts1,JM0)=>{var JL1=j2(),fB=I0("stream"),IL1=hI();if(!fB.Writable||!fB.Writable.prototype.destroy)fB=C7();JM0.exports=function($){return new JL1(function(Y,z){var U=[],Q=fB.Transform().on("finish",function(){Y(IL1.concat(U))}).on("error",z);Q._transform=function(J,I,K){U.push(J),K()},$.on("error",z).pipe(Q)})}});var bB=E((es1,IM0)=>{var KL1=fX();IM0.exports=function($,Y){var z;while(!z&&$&&$.length){var U=KL1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(U.signature===1)z=U;else $=$.slice(U.partsize+4)}if(z=z||{},Y.compressedSize===4294967295)Y.compressedSize=z.compressedSize;if(Y.uncompressedSize===4294967295)Y.uncompressedSize=z.uncompressedSize;if(Y.offsetToLocalFileHeader===4294967295)Y.offsetToLocalFileHeader=z.offset;return z}});var iB=E(($a1,KM0)=>{KM0.exports=function(Y,z){let U=Y&31,Q=Y>>5&15,J=(Y>>9&127)+1980,I=z?(z&31)*2:0,K=z?z>>5&63:0,G=z?z>>11:0;return new Date(Date.UTC(J,Q-1,U,G,K,I))}});var cB=E((Ya1,XM0)=>{var GL1=I0("util"),WL1=I0("zlib"),tX=I0("stream"),eX=fX(),Dc=j2(),GM0=xB(),HL1=QM0(),XL1=uB(),ZL1=bB(),WM0=hI(),qL1=iB();if(!tX.Writable||!tX.Writable.prototype.destroy)tX=C7();var HM0=WM0.alloc(4);HM0.writeUInt32LE(101010256,0);function M5($){if(!(this instanceof M5))return new M5($);var Y=this;Y._opts=$||{verbose:!1},GM0.call(Y,Y._opts),Y.on("finish",function(){Y.emit("end"),Y.emit("close")}),Y._readRecord().catch(function(z){if(!Y.__emittedError||Y.__emittedError!==z)Y.emit("error",z)})}GL1.inherits(M5,GM0);M5.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(Y){if(Y.length===0)return;var z=Y.readUInt32LE(0);if(z===875721283)return $._readCrxHeader();if(z===67324752)return $._readFile();else if(z===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(z===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var U=!0;return $.pull(HM0,U).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+z.toString(16)))})};M5.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(Y){return $.crxHeader=eX.parse(Y).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(Y){return $.crxHeader.publicKey=Y.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=Y.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};M5.prototype._readFile=function(){var $=this;return $.pull(26).then(function(Y){var z=eX.parse(Y).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(z.lastModifiedDateTime=qL1(z.lastModifiedDate,z.lastModifiedTime),$.crxHeader)z.crxHeader=$.crxHeader;return $.pull(z.fileNameLength).then(function(U){var Q=U.toString("utf8"),J=tX.PassThrough(),I=!1;if(J.autodrain=function(){I=!0;var K=J.pipe(HL1());return K.promise=function(){return new Dc(function(G,W){K.on("finish",G),K.on("error",W)})},K},J.buffer=function(){return XL1(J)},J.path=Q,J.props={},J.props.path=Q,J.props.pathBuffer=U,J.props.flags={isUnicode:(z.flags&2048)!=0},J.type=z.uncompressedSize===0&&/[\/\\]$/.test(Q)?"Directory":"File",$._opts.verbose){if(J.type==="Directory")console.log(" creating:",Q);else if(J.type==="File")if(z.compressionMethod===0)console.log(" extracting:",Q);else console.log(" inflating:",Q)}return $.pull(z.extraFieldLength).then(function(K){var G=ZL1(K,z);if(J.vars=z,J.extra=G,$._opts.forceStream)$.push(J);else if($.emit("entry",J),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(J);if($._opts.verbose)console.log({filename:Q,vars:z,extra:G});var W=!(z.flags&8)||z.compressedSize>0,H;J.__autodraining=I;var X=z.compressionMethod&&!I?WL1.createInflateRaw():tX.PassThrough();if(W)J.size=z.uncompressedSize,H=z.compressedSize;else H=WM0.alloc(4),H.writeUInt32LE(134695760,0);return new Dc(function(Z,q){$.stream(H).pipe(X).on("error",function(V){$.emit("error",V)}).pipe(J).on("finish",function(){return W?$._readRecord().then(Z).catch(q):$._processDataDescriptor(J).then(Z).catch(q)})})})})})};M5.prototype._processDataDescriptor=function($){var Y=this;return Y.pull(16).then(function(z){var U=eX.parse(z).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=U.uncompressedSize,Y._readRecord()})};M5.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(Y){var z=eX.parse(Y).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(z.fileNameLength).then(function(U){return z.fileName=U.toString("utf8"),$.pull(z.extraFieldLength)}).then(function(U){return $.pull(z.fileCommentLength)}).then(function(U){return $._readRecord()})})};M5.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(Y){var z=eX.parse(Y).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(z.commentLength).then(function(U){U=U.toString("utf8"),$.end(),$.push(null)})})};M5.prototype.promise=function(){var $=this;return new Dc(function(Y,z){$.on("finish",Y),$.on("error",z)})};XM0.exports=M5});var qM0=E((za1,Bc)=>{function VL1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var ZM0=K6().Buffer,$Z=I0("util");function LL1($,Y,z){$.copy(Y,z)}Bc.exports=function(){function $(){VL1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(z){var U={data:z,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length},$.prototype.unshift=function(z){var U={data:z,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length},$.prototype.shift=function(){if(this.length===0)return;var z=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,z},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(z){if(this.length===0)return"";var U=this.head,Q=""+U.data;while(U=U.next)Q+=z+U.data;return Q},$.prototype.concat=function(z){if(this.length===0)return ZM0.alloc(0);var U=ZM0.allocUnsafe(z>>>0),Q=this.head,J=0;while(Q)LL1(Q.data,U,J),J+=Q.data.length,Q=Q.next;return U},$}();if($Z&&$Z.inspect&&$Z.inspect.custom)Bc.exports.prototype[$Z.inspect.custom]=function(){var $=$Z.inspect({length:this.length});return this.constructor.name+" "+$}});var Pc=E((Ua1,VM0)=>{var nB=I6();function FL1($,Y){var z=this,U=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(U||Q){if(Y)Y($);else if($){if(!this._writableState)nB.nextTick(pB,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,nB.nextTick(pB,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!z._writableState)nB.nextTick(pB,z,J);else if(!z._writableState.errorEmitted)z._writableState.errorEmitted=!0,nB.nextTick(pB,z,J)}else if(Y)Y(J)}),this}function wL1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function pB($,Y){$.emit("error",Y)}VM0.exports={destroy:FL1,undestroy:wL1}});var Tc=E((Qa1,BM0)=>{var az=I6();BM0.exports=w6;function FM0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){yL1(Y,$)}}var ML1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:az.nextTick,kI;w6.WritableState=zZ;var wM0=Object.create(M4());wM0.inherits=X1();var OL1={deprecate:S3()},MM0=I0("stream"),mB=K6().Buffer,NL1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function DL1($){return mB.from($)}function BL1($){return mB.isBuffer($)||$ instanceof NL1}var OM0=Pc();wM0.inherits(w6,MM0);function PL1(){}function zZ($,Y){kI=kI||tz(),$=$||{};var z=Y instanceof kI;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:U,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){_L1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new FM0(this)}zZ.prototype.getBuffer=function(){var Y=this.bufferedRequest,z=[];while(Y)z.push(Y),Y=Y.next;return z};(function(){try{Object.defineProperty(zZ.prototype,"buffer",{get:OL1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var dB;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")dB=Function.prototype[Symbol.hasInstance],Object.defineProperty(w6,Symbol.hasInstance,{value:function($){if(dB.call(this,$))return!0;if(this!==w6)return!1;return $&&$._writableState instanceof zZ}});else dB=function($){return $ instanceof this};function w6($){if(kI=kI||tz(),!dB.call(w6,this)&&!(this instanceof kI))return new w6($);if(this._writableState=new zZ($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}MM0.call(this)}w6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function AL1($,Y){var z=Error("write after end");$.emit("error",z),az.nextTick(Y,z)}function TL1($,Y,z,U){var Q=!0,J=!1;if(z===null)J=TypeError("May not write null values to stream");else if(typeof z!=="string"&&z!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),az.nextTick(U,J),Q=!1;return Q}w6.prototype.write=function($,Y,z){var U=this._writableState,Q=!1,J=!U.objectMode&&BL1($);if(J&&!mB.isBuffer($))$=DL1($);if(typeof Y==="function")z=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=U.defaultEncoding;if(typeof z!=="function")z=PL1;if(U.ended)AL1(this,z);else if(J||TL1(this,U,$,z))U.pendingcb++,Q=EL1(this,U,J,$,Y,z);return Q};w6.prototype.cork=function(){var $=this._writableState;$.corked++};w6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)NM0(this,$)}};w6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function jL1($,Y,z){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=mB.from(Y,z);return Y}Object.defineProperty(w6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function EL1($,Y,z,U,Q,J){if(!z){var I=jL1(Y,U,Q);if(U!==I)z=!0,Q="buffer",U=I}var K=Y.objectMode?1:U.length;Y.length+=K;var G=Y.length{var PM0=I6(),kL1=Object.keys||function($){var Y=[];for(var z in $)Y.push(z);return Y};jM0.exports=R7;var AM0=Object.create(M4());AM0.inherits=X1();var TM0=Ec(),jc=Tc();AM0.inherits(R7,TM0);{lB=kL1(jc.prototype);for(UZ=0;UZ{var Rc=K6().Buffer,EM0=Rc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function uL1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function bL1($){var Y=uL1($);if(typeof Y!=="string"&&(Rc.isEncoding===EM0||!EM0($)))throw Error("Unknown encoding: "+$);return Y||$}tL1.StringDecoder=JZ;function JZ($){this.encoding=bL1($);var Y;switch(this.encoding){case"utf16le":this.text=mL1,this.end=lL1,Y=4;break;case"utf8":this.fillLast=nL1,Y=4;break;case"base64":this.text=oL1,this.end=rL1,Y=3;break;default:this.write=sL1,this.end=aL1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Rc.allocUnsafe(Y)}JZ.prototype.write=function($){if($.length===0)return"";var Y,z;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";z=this.lastNeed,this.lastNeed=0}else z=0;if(z<$.length)return Y?Y+this.text($,z):this.text($,z);return Y||""};JZ.prototype.end=dL1;JZ.prototype.text=pL1;JZ.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Cc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function iL1($,Y,z){var U=Y.length-1;if(U=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--U=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--U=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function cL1($,Y,z){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function nL1($){var Y=this.lastTotal-this.lastNeed,z=cL1(this,$,Y);if(z!==void 0)return z;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function pL1($,Y){var z=iL1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=z;var U=$.length-(z-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",Y,U)}function dL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function mL1($,Y){if(($.length-Y)%2===0){var z=$.toString("utf16le",Y);if(z){var U=z.charCodeAt(z.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],z.slice(0,-1)}return z}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function lL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var z=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,z)}return Y}function oL1($,Y){var z=($.length-Y)%3;if(z===0)return $.toString("base64",Y);if(this.lastNeed=3-z,this.lastTotal=3,z===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-z)}function rL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function sL1($){return $.toString(this.encoding)}function aL1($){return $&&$.length?this.write($):""}});var Ec=E((Ga1,uM0)=>{var fI=I6();uM0.exports=R4;var $F1=oQ(),IZ;R4.ReadableState=gM0;var Ka1=I0("events").EventEmitter,vM0=function($,Y){return $.listeners(Y).length},yc=I0("stream"),KZ=K6().Buffer,YF1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zF1($){return KZ.from($)}function UF1($){return KZ.isBuffer($)||$ instanceof YF1}var hM0=Object.create(M4());hM0.inherits=X1();var vc=I0("util"),z4=void 0;if(vc&&vc.debuglog)z4=vc.debuglog("stream");else z4=function(){};var QF1=qM0(),SM0=Pc(),xI;hM0.inherits(R4,yc);var hc=["error","close","destroy","pause","resume"];function JF1($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if($F1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}function gM0($,Y){IZ=IZ||tz(),$=$||{};var z=Y instanceof IZ;if(this.objectMode=!!$.objectMode,z)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:U,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(U||U===0)this.highWaterMark=U;else if(z&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new QF1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!xI)xI=_c().StringDecoder;this.decoder=new xI($.encoding),this.encoding=$.encoding}}function R4($){if(IZ=IZ||tz(),!(this instanceof R4))return new R4($);if(this._readableState=new gM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}yc.call(this)}Object.defineProperty(R4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});R4.prototype.destroy=SM0.destroy;R4.prototype._undestroy=SM0.undestroy;R4.prototype._destroy=function($,Y){this.push(null),Y($)};R4.prototype.push=function($,Y){var z=this._readableState,U;if(!z.objectMode){if(typeof $==="string"){if(Y=Y||z.defaultEncoding,Y!==z.encoding)$=KZ.from($,Y),Y="";U=!0}}else U=!0;return yM0(this,$,Y,!1,U)};R4.prototype.unshift=function($){return yM0(this,$,null,!0,!1)};function yM0($,Y,z,U,Q){var J=$._readableState;if(Y===null)J.reading=!1,WF1($,J);else{var I;if(!Q)I=IF1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==KZ.prototype)Y=zF1(Y);if(U)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Sc($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!z)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Sc($,J,Y,!1);else kM0($,J);else Sc($,J,Y,!1)}else if(!U)J.reading=!1}return KF1(J)}function Sc($,Y,z,U){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",z),$.read(0);else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if(Y.needReadable)oB($)}kM0($,Y)}function IF1($,Y){var z;if(!UF1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)z=TypeError("Invalid non-string/buffer chunk");return z}function KF1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}R4.prototype.isPaused=function(){return this._readableState.flowing===!1};R4.prototype.setEncoding=function($){if(!xI)xI=_c().StringDecoder;return this._readableState.decoder=new xI($),this._readableState.encoding=$,this};var CM0=8388608;function GF1($){if($>=CM0)$=CM0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function RM0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=GF1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}R4.prototype.read=function($){z4("read",$),$=parseInt($,10);var Y=this._readableState,z=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(z4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)gc(this);else oB(this);return null}if($=RM0($,Y),$===0&&Y.ended){if(Y.length===0)gc(this);return null}var U=Y.needReadable;if(z4("need readable",U),Y.length===0||Y.length-$0)Q=xM0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)gc(this)}if(Q!==null)this.emit("data",Q);return Q};function WF1($,Y){if(Y.ended)return;if(Y.decoder){var z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}Y.ended=!0,oB($)}function oB($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(z4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)fI.nextTick(_M0,$);else _M0($)}function _M0($){z4("emit readable"),$.emit("readable"),kc($)}function kM0($,Y){if(!Y.readingMore)Y.readingMore=!0,fI.nextTick(HF1,$,Y)}function HF1($,Y){var z=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&fM0(U.pipes,$)!==-1)&&!W)z4("false write response, pause",U.awaitDrain),U.awaitDrain++,X=!0;z.pause()}}function q(w){if(z4("onerror",w),M(),$.removeListener("error",q),vM0($,"error")===0)$.emit("error",w)}JF1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){z4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){z4("unpipe"),z.unpipe($)}if($.emit("pipe",z),!U.flowing)z4("pipe resume"),z.resume();return $};function XF1($){return function(){var Y=$._readableState;if(z4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&vM0($,"data"))Y.flowing=!0,kc($)}}R4.prototype.unpipe=function($){var Y=this._readableState,z={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,z);return this}if(!$){var{pipes:U,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.head.data;else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=LF1($,Y.buffer,Y.decoder);return z}function LF1($,Y,z){var U;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++U,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++U}return Y.length-=U,Q}function wF1($,Y){var z=KZ.allocUnsafe($),U=Y.head,Q=1;U.data.copy(z),$-=U.data.length;while(U=U.next){var J=U.data,I=$>J.length?J.length:$;if(J.copy(z,z.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++Q}return Y.length-=Q,z}function gc($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,fI.nextTick(MF1,Y,$)}function MF1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function fM0($,Y){for(var z=0,U=$.length;z{cM0.exports=_7;var rB=tz(),iM0=Object.create(M4());iM0.inherits=X1();iM0.inherits(_7,rB);function OF1($,Y){var z=this._transformState;z.transforming=!1;var U=z.writecb;if(!U)return this.emit("error",Error("write callback called multiple times"));if(z.writechunk=null,z.writecb=null,Y!=null)this.push(Y);U($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{dM0.exports=GZ;var nM0=xc(),pM0=Object.create(M4());pM0.inherits=X1();pM0.inherits(GZ,nM0);function GZ($){if(!(this instanceof GZ))return new GZ($);nM0.call(this,$)}GZ.prototype._transform=function($,Y,z){z(null,$)}});var lM0=E((Y8,sB)=>{var F9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&F9)sB.exports=F9,Y8=sB.exports=F9.Readable,Y8.Readable=F9.Readable,Y8.Writable=F9.Writable,Y8.Duplex=F9.Duplex,Y8.Transform=F9.Transform,Y8.PassThrough=F9.PassThrough,Y8.Stream=F9;else Y8=sB.exports=Ec(),Y8.Stream=F9||Y8,Y8.Readable=Y8,Y8.Writable=Tc(),Y8.Duplex=tz(),Y8.Transform=xc(),Y8.PassThrough=mM0()});var bc=E((Xa1,uc)=>{var fc=lM0();function uI($,Y,z){if(typeof z>"u")z=Y,Y=$,$=null;if(fc.Duplex.call(this,$),typeof z.read!=="function")z=new fc.Readable($).wrap(z);this._writable=Y,this._readable=z,this._waiting=!1;var U=this;if(Y.once("finish",function(){U.end()}),this.once("finish",function(){Y.end()}),z.on("readable",function(){if(U._waiting)U._waiting=!1,U._read()}),z.once("end",function(){U.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)Y.on("error",function(Q){U.emit("error",Q)}),z.on("error",function(Q){U.emit("error",Q)})}uI.prototype=Object.create(fc.Duplex.prototype,{constructor:{value:uI}});uI.prototype._write=function(Y,z,U){this._writable.write(Y,z,U)};uI.prototype._read=function(){var Y,z=0;while((Y=this._readable.read())!==null)this.push(Y),z++;if(z===0)this._waiting=!0};uc.exports=function(Y,z,U){return new uI(Y,z,U)};uc.exports.DuplexWrapper=uI});var rM0=E((Za1,oM0)=>{var bI=I0("stream"),DF1=cB(),BF1=bc(),PF1=uB();if(!bI.Writable||!bI.Writable.prototype.destroy)bI=C7();function AF1($,Y){var z=bI.PassThrough({objectMode:!0}),U=bI.PassThrough(),Q=bI.Transform({objectMode:!0}),J=$ instanceof RegExp?$:$&&new RegExp($),I;Q._transform=function(G,W,H){if(I||J&&!J.exec(G.path))return G.autodrain(),H();else I=!0,K.emit("entry",G),G.on("error",function(X){U.emit("error",X)}),G.pipe(U).on("error",function(X){H(X)}).on("finish",function(X){H(null,X)})},z.pipe(DF1(Y)).on("error",function(G){U.emit("error",G)}).pipe(Q).on("error",Object).on("finish",function(){if(!I)U.emit("error",Error("PATTERN_NOT_FOUND"));else U.end()});var K=BF1(z,U);return K.buffer=function(){return PF1(U)},K}oM0.exports=AF1});var aB=E((qa1,aM0)=>{aM0.exports=C2;var ic=I0("stream").Stream,TF1=X1();function C2(){ic.call(this)}TF1(C2,ic);C2.prototype.on=function($,Y){if($==="ready"&&this.ready)process.nextTick(Y.bind(this));else ic.prototype.on.call(this,$,Y);return this};C2.prototype.abort=function(){this._aborted=!0,this.emit("abort")};C2.prototype.destroy=function(){};C2.prototype.warn=function($,Y){var z=this,U=sM0($,Y,z);if(!z.listeners("warn"))console.error(`%s %s path = %s syscall = %s fstream_type = %s @@ -295,25 +295,25 @@ fstream_class = %s fstream_stack = %s `,Y||"UNKNOWN",U.stack,U.path,U.syscall,U.fstream_type,U.fstream_path,U.fstream_unc_path,U.fstream_class,U.fstream_stack.join(` -`));else z.emit("warn",U)};C2.prototype.info=function($,Y){this.emit("info",$,Y)};C2.prototype.error=function($,Y,z){var U=sM0($,Y,this);if(z)throw U;else this.emit("error",U)};function sM0($,Y,z){if(!($ instanceof Error))$=Error($);if($.code=$.code||Y,$.path=$.path||z.path,$.fstream_type=$.fstream_type||z.type,$.fstream_path=$.fstream_path||z.path,z._path!==z.path)$.fstream_unc_path=$.fstream_unc_path||z._path;if(z.linkpath)$.fstream_linkpath=$.fstream_linkpath||z.linkpath;return $.fstream_class=$.fstream_class||z.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(U){return U.replace(/^ {4}at /,"")}),$}});var WZ=E((Xa1,tM0)=>{tM0.exports=AF1;function AF1($){var Y=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],z;if($.type&&Y.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var U=0,Q=Y.length;U{eM0.exports=HZ;var TF1=l8(),jF1=X1(),bc=ez();jF1(HZ,bc);function HZ($){var Y=this;if(!(Y instanceof HZ))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);bc.call(Y,$)}HZ.prototype._stat=function($){var Y=this;TF1.readlink(Y._path,function(z,U){if(z)return Y.error(z);Y.linkpath=Y.props.linkpath=U,Y.emit("linkpath",U),bc.prototype._stat.call(Y,$)})};HZ.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var nc=E((qa1,zO0)=>{zO0.exports=F9;var YO0=l8(),EF1=X1(),XZ=I0("path"),cc=ez(),$O0=I0("assert").ok;EF1(F9,cc);function F9($){var Y=this;if(!(Y instanceof F9))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(Y.entries=null,Y._index=-1,Y._paused=!1,Y._length=-1,$.sort)this.sort=$.sort;cc.call(this,$)}F9.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,YO0.readdir($._path,function(Y,z){if(Y)return $.error(Y);if($.entries=z,$.emit("entries",z),$._paused)$.once("resume",U);else U();function U(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};F9.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var Y=XZ.resolve($._path,$.entries[$._index]);$O0(Y!==$._path),$O0($.entries[$._index]),$._currentEntry=Y,YO0[$.props.follow?"stat":"lstat"](Y,function(z,U){if(z)return $.error(z);var Q=$._proxy||$;U.path=Y,U.basename=XZ.basename(Y),U.dirname=XZ.dirname(Y);var J=$.getChildProps.call(Q,U);J.path=Y,J.basename=XZ.basename(Y),J.dirname=XZ.dirname(Y);var I=cc(J,U);$._currentEntry=I,I.on("pause",function(W){if(!$._paused&&!I._disowned)$.pause(W)}),I.on("resume",function(W){if($._paused&&!I._disowned)$.resume(W)}),I.on("stat",function(W){if($.emit("_entryStat",I,W),I._aborted)return;if(I._paused)I.once("resume",function(){$.emit("entryStat",I,W)});else $.emit("entryStat",I,W)}),I.on("ready",function W(){if($._paused)return I.pause($),$.once("resume",W);if(I.type==="Socket")$.emit("socket",I);else $.emitEntry(I)});var K=!1;I.on("close",G),I.on("disown",G);function G(){if(K)return;if(K=!0,$.emit("childEnd",I),$.emit("entryEnd",I),$._currentEntry=null,!$._paused)$._read()}I.on("error",function(W){if(I._swallowErrors)$.warn(W),I.emit("end"),I.emit("close");else $.emit("error",W)}),["child","childEnd","warn"].forEach(function(W){I.on(W,$.emit.bind($,W))})})};F9.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};F9.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};F9.prototype.pause=function($){var Y=this;if(Y._paused)return;if($=$||Y,Y._paused=!0,Y._currentEntry&&Y._currentEntry.pause)Y._currentEntry.pause($);Y.emit("pause",$)};F9.prototype.resume=function($){var Y=this;if(!Y._paused)return;if($=$||Y,Y._paused=!1,Y.emit("resume",$),Y._paused)return;if(Y._currentEntry){if(Y._currentEntry.resume)Y._currentEntry.resume($)}else Y._read()};F9.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var pc=E((Va1,IO0)=>{IO0.exports=$U;var CF1=l8(),RF1=X1(),UO0=ez(),QO0={EOF:!0},JO0={CLOSE:!0};RF1($U,UO0);function $U($){var Y=this;if(!(Y instanceof $U))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesEmitted=0,UO0.call(Y,$)}$U.prototype._getStream=function(){var $=this,Y=$._stream=CF1.createReadStream($._path,$.props);if($.props.blksize)Y.bufferSize=$.props.blksize;Y.on("open",$.emit.bind($,"open")),Y.on("data",function(z){if($._bytesEmitted+=z.length,!z.length)return;else if($._paused||$._buffer.length)$._buffer.push(z),$._read();else $.emit("data",z)}),Y.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(QO0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count +`));else z.emit("warn",U)};C2.prototype.info=function($,Y){this.emit("info",$,Y)};C2.prototype.error=function($,Y,z){var U=sM0($,Y,this);if(z)throw U;else this.emit("error",U)};function sM0($,Y,z){if(!($ instanceof Error))$=Error($);if($.code=$.code||Y,$.path=$.path||z.path,$.fstream_type=$.fstream_type||z.type,$.fstream_path=$.fstream_path||z.path,z._path!==z.path)$.fstream_unc_path=$.fstream_unc_path||z._path;if(z.linkpath)$.fstream_linkpath=$.fstream_linkpath||z.linkpath;return $.fstream_class=$.fstream_class||z.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(U){return U.replace(/^ {4}at /,"")}),$}});var WZ=E((Va1,tM0)=>{tM0.exports=jF1;function jF1($){var Y=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],z;if($.type&&Y.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var U=0,Q=Y.length;U{eM0.exports=HZ;var EF1=l8(),CF1=X1(),cc=ez();CF1(HZ,cc);function HZ($){var Y=this;if(!(Y instanceof HZ))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);cc.call(Y,$)}HZ.prototype._stat=function($){var Y=this;EF1.readlink(Y._path,function(z,U){if(z)return Y.error(z);Y.linkpath=Y.props.linkpath=U,Y.emit("linkpath",U),cc.prototype._stat.call(Y,$)})};HZ.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var dc=E((Fa1,zO0)=>{zO0.exports=w9;var YO0=l8(),RF1=X1(),XZ=I0("path"),pc=ez(),$O0=I0("assert").ok;RF1(w9,pc);function w9($){var Y=this;if(!(Y instanceof w9))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(Y.entries=null,Y._index=-1,Y._paused=!1,Y._length=-1,$.sort)this.sort=$.sort;pc.call(this,$)}w9.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,YO0.readdir($._path,function(Y,z){if(Y)return $.error(Y);if($.entries=z,$.emit("entries",z),$._paused)$.once("resume",U);else U();function U(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};w9.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var Y=XZ.resolve($._path,$.entries[$._index]);$O0(Y!==$._path),$O0($.entries[$._index]),$._currentEntry=Y,YO0[$.props.follow?"stat":"lstat"](Y,function(z,U){if(z)return $.error(z);var Q=$._proxy||$;U.path=Y,U.basename=XZ.basename(Y),U.dirname=XZ.dirname(Y);var J=$.getChildProps.call(Q,U);J.path=Y,J.basename=XZ.basename(Y),J.dirname=XZ.dirname(Y);var I=pc(J,U);$._currentEntry=I,I.on("pause",function(W){if(!$._paused&&!I._disowned)$.pause(W)}),I.on("resume",function(W){if($._paused&&!I._disowned)$.resume(W)}),I.on("stat",function(W){if($.emit("_entryStat",I,W),I._aborted)return;if(I._paused)I.once("resume",function(){$.emit("entryStat",I,W)});else $.emit("entryStat",I,W)}),I.on("ready",function W(){if($._paused)return I.pause($),$.once("resume",W);if(I.type==="Socket")$.emit("socket",I);else $.emitEntry(I)});var K=!1;I.on("close",G),I.on("disown",G);function G(){if(K)return;if(K=!0,$.emit("childEnd",I),$.emit("entryEnd",I),$._currentEntry=null,!$._paused)$._read()}I.on("error",function(W){if(I._swallowErrors)$.warn(W),I.emit("end"),I.emit("close");else $.emit("error",W)}),["child","childEnd","warn"].forEach(function(W){I.on(W,$.emit.bind($,W))})})};w9.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};w9.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};w9.prototype.pause=function($){var Y=this;if(Y._paused)return;if($=$||Y,Y._paused=!0,Y._currentEntry&&Y._currentEntry.pause)Y._currentEntry.pause($);Y.emit("pause",$)};w9.prototype.resume=function($){var Y=this;if(!Y._paused)return;if($=$||Y,Y._paused=!1,Y.emit("resume",$),Y._paused)return;if(Y._currentEntry){if(Y._currentEntry.resume)Y._currentEntry.resume($)}else Y._read()};w9.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var mc=E((wa1,IO0)=>{IO0.exports=$U;var _F1=l8(),vF1=X1(),UO0=ez(),QO0={EOF:!0},JO0={CLOSE:!0};vF1($U,UO0);function $U($){var Y=this;if(!(Y instanceof $U))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesEmitted=0,UO0.call(Y,$)}$U.prototype._getStream=function(){var $=this,Y=$._stream=_F1.createReadStream($._path,$.props);if($.props.blksize)Y.bufferSize=$.props.blksize;Y.on("open",$.emit.bind($,"open")),Y.on("data",function(z){if($._bytesEmitted+=z.length,!z.length)return;else if($._paused||$._buffer.length)$._buffer.push(z),$._read();else $.emit("data",z)}),Y.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(QO0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count expect: `+$.props.size+` -actual: `+$._bytesEmitted)}),Y.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(JO0),$._read();else $.emit("close")}),Y.on("error",function(z){$.emit("error",z)}),$._read()};$U.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var Y=$._buffer;for(var z=0,U=Y.length;z{GO0.exports=aB;var _F1=X1(),KO0=ez();_F1(aB,KO0);function aB($){var Y=this;if(!(Y instanceof aB))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);KO0.call(Y,$)}aB.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var mc=E((Fa1,HO0)=>{HO0.exports=YU;var dc=ez(),vF1=WZ(),hF1=X1(),SF1=l8();hF1(YU,dc);function YU($){var Y=this;if(!(Y instanceof YU))throw Error("ProxyReader must be called as constructor.");Y.props=$,Y._buffer=[],Y.ready=!1,dc.call(Y,$)}YU.prototype._stat=function(){var $=this,Y=$.props,z=Y.follow?"stat":"lstat";SF1[z](Y.path,function(U,Q){var J;if(U||!Q)J="File";else J=vF1(Q);Y[J]=!0,Y.type=$.type=J,$._old=Q,$._addProxy(dc(Y,Q))})};YU.prototype._addProxy=function($){var Y=this;if(Y._proxyTarget)return Y.error("proxy already set");Y._proxyTarget=$,$._proxy=Y,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(U){$.on(U,Y.emit.bind(Y,U))}),Y.emit("proxy",$),$.on("ready",function(){Y.ready=!0,Y.emit("ready")});var z=Y._buffer;Y._buffer.length=0,z.forEach(function(U){$[U[0]].apply($,U[1])})};YU.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};YU.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var ez=E((wa1,qO0)=>{qO0.exports=O5;var gF1=l8(),yF1=I0("stream").Stream,kF1=X1(),lc=I0("path"),oc=WZ(),tB=O5.hardLinks={},XO0=sB();kF1(O5,XO0);var ZO0=ic();function O5($,Y){var z=this;if(!(z instanceof O5))return new O5($,Y);if(typeof $==="string")$={path:$};var U,Q;if($.type&&typeof $.type==="function")U=$.type,Q=U;else U=oc($),Q=O5;if(Y&&!U)U=oc(Y),$[U]=!0,$.type=U;switch(U){case"Directory":Q=nc();break;case"Link":case"File":Q=pc();break;case"SymbolicLink":Q=ZO0;break;case"Socket":Q=WO0();break;case null:Q=mc();break}if(!(z instanceof Q))return new Q($);if(XO0.call(z),!$.path)z.error("Must provide a path",null,!0);if(z.readable=!0,z.writable=!1,z.type=U,z.props=$,z.depth=$.depth=$.depth||0,z.parent=$.parent||null,z.root=$.root||$.parent&&$.parent.root||z,z._path=z.path=lc.resolve($.path),process.platform==="win32"){if(z.path=z._path=z.path.replace(/\?/g,"_"),z._path.length>=260)z._swallowErrors=!0,z._path="\\\\?\\"+z.path.replace(/\//g,"\\")}if(z.basename=$.basename=lc.basename(z.path),z.dirname=$.dirname=lc.dirname(z.path),$.parent=$.root=null,z.size=$.size,z.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=xF1;z._stat(Y)}function xF1($,Y){return $===Y?0:$.toLowerCase()>Y.toLowerCase()?1:$.toLowerCase()Y?1:-1}O5.prototype._stat=function($){var Y=this,z=Y.props,U=z.follow?"stat":"lstat";if($)process.nextTick(Q.bind(null,null,$));else gF1[U](Y._path,Q);function Q(J,I){if(J)return Y.error(J);if(Object.keys(I).forEach(function(q){z[q]=I[q]}),Y.size!==void 0&&z.size!==Y.size)return Y.error("incorrect size");Y.size=z.size;var K=oc(z),G=z.hardlinks!==!1;if(G&&K!=="Directory"&&z.nlink&&z.nlink>1){var W=z.dev+":"+z.ino;if(tB[W]===Y._path||!tB[W])tB[W]=Y._path;else K=Y.type=Y.props.type="Link",Y.Link=Y.props.Link=!0,Y.linkpath=Y.props.linkpath=tB[W],Y._stat=Y._read=ZO0.prototype._read}if(Y.type&&Y.type!==K)Y.error("Unexpected type: "+K);if(Y.filter){var H=Y._proxy||Y;if(!Y.filter.call(H,H,z)){if(!Y._disowned)Y.abort(),Y.emit("end"),Y.emit("close");return}}var X=["_stat","stat","ready"],Z=0;(function q(){if(Y._aborted){Y.emit("end"),Y.emit("close");return}if(Y._paused&&Y.type!=="Directory"){Y.once("resume",q);return}var V=X[Z++];if(!V)return Y._read();Y.emit(V,z),q()})()}};O5.prototype.pipe=function($){var Y=this;if(typeof $.add==="function")Y.on("entry",function(z){var U=$.add(z);if(U===!1)Y.pause()});return yF1.prototype.pipe.apply(this,arguments)};O5.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};O5.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};O5.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var tc=E((Ma1,DO0)=>{DO0.exports=ac;ac.sync=NO0;var U4=I0("assert"),wO0=I0("path"),VO0=I0("fs"),iI=void 0;try{iI=MX()}catch($){}var MO0=parseInt("666",8),fF1={nosort:!0,silent:!0},rc=0,ZZ=process.platform==="win32";function OO0($){var Y=["unlink","chmod","stat","lstat","rmdir","readdir"];if(Y.forEach(function(z){$[z]=$[z]||VO0[z],z=z+"Sync",$[z]=$[z]||VO0[z]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&iI===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||fF1}function ac($,Y,z){if(typeof Y==="function")z=Y,Y={};U4($,"rimraf: missing path"),U4.equal(typeof $,"string","rimraf: path should be a string"),U4.equal(typeof z,"function","rimraf: callback function required"),U4(Y,"rimraf: invalid options argument provided"),U4.equal(typeof Y,"object","rimraf: options should be object"),OO0(Y);var U=0,Q=null,J=0;if(Y.disableGlob||!iI.hasMagic($))return K(null,[$]);Y.lstat($,function(G,W){if(!G)return K(null,[$]);iI($,Y.glob,K)});function I(G){if(Q=Q||G,--J===0)z(Q)}function K(G,W){if(G)return z(G);if(J=W.length,J===0)return z();W.forEach(function(H){sc(H,Y,function X(Z){if(Z){if((Z.code==="EBUSY"||Z.code==="ENOTEMPTY"||Z.code==="EPERM")&&U{Object.defineProperty(BO0,"__esModule",{value:!0});BO0.optsArg=void 0;var YP=I0("fs"),iF1=($)=>{if(!$)$={mode:511};else if(typeof $==="object")$={mode:511,...$};else if(typeof $==="number")$={mode:$};else if(typeof $==="string")$={mode:parseInt($,8)};else throw TypeError("invalid options argument");let Y=$,z=$.fs||{};return $.mkdir=$.mkdir||z.mkdir||YP.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(U,Q)=>{return new Promise((J,I)=>Y.mkdir(U,Q,(K,G)=>K?I(K):J(G)))},$.stat=$.stat||z.stat||YP.stat,$.statAsync=$.statAsync?$.statAsync:async(U)=>new Promise((Q,J)=>Y.stat(U,(I,K)=>I?J(I):Q(K))),$.statSync=$.statSync||z.statSync||YP.statSync,$.mkdirSync=$.mkdirSync||z.mkdirSync||YP.mkdirSync,Y};BO0.optsArg=iF1});var QP=E((jO0)=>{Object.defineProperty(jO0,"__esModule",{value:!0});jO0.mkdirpManual=jO0.mkdirpManualSync=void 0;var AO0=I0("path"),TO0=qZ(),cF1=($,Y,z)=>{let U=(0,AO0.dirname)($),Q={...(0,TO0.optsArg)(Y),recursive:!1};if(U===$)try{return Q.mkdirSync($,Q)}catch(J){let I=J;if(I&&I.code!=="EISDIR")throw J;return}try{return Q.mkdirSync($,Q),z||$}catch(J){let I=J;if(I&&I.code==="ENOENT")return jO0.mkdirpManualSync($,Q,jO0.mkdirpManualSync(U,Q,z));if(I&&I.code!=="EEXIST"&&I&&I.code!=="EROFS")throw J;try{if(!Q.statSync($).isDirectory())throw J}catch(K){throw J}}};jO0.mkdirpManualSync=cF1;jO0.mkdirpManual=Object.assign(async($,Y,z)=>{let U=(0,TO0.optsArg)(Y);U.recursive=!1;let Q=(0,AO0.dirname)($);if(Q===$)return U.mkdirAsync($,U).catch((J)=>{let I=J;if(I&&I.code!=="EISDIR")throw J});return U.mkdirAsync($,U).then(()=>z||$,async(J)=>{let I=J;if(I&&I.code==="ENOENT")return jO0.mkdirpManual(Q,U).then((K)=>jO0.mkdirpManual($,U,K));if(I&&I.code!=="EEXIST"&&I.code!=="EROFS")throw J;return U.statAsync($).then((K)=>{if(K.isDirectory())return z;else throw J},()=>{throw J})})},{sync:jO0.mkdirpManualSync})});var _O0=E((CO0)=>{Object.defineProperty(CO0,"__esModule",{value:!0});CO0.findMadeSync=CO0.findMade=void 0;var EO0=I0("path"),nF1=async($,Y,z)=>{if(z===Y)return;return $.statAsync(Y).then((U)=>U.isDirectory()?z:void 0,(U)=>{let Q=U;return Q&&Q.code==="ENOENT"?CO0.findMade($,(0,EO0.dirname)(Y),Y):void 0})};CO0.findMade=nF1;var pF1=($,Y,z)=>{if(z===Y)return;try{return $.statSync(Y).isDirectory()?z:void 0}catch(U){let Q=U;return Q&&Q.code==="ENOENT"?CO0.findMadeSync($,(0,EO0.dirname)(Y),Y):void 0}};CO0.findMadeSync=pF1});var $n=E((yO0)=>{Object.defineProperty(yO0,"__esModule",{value:!0});yO0.mkdirpNative=yO0.mkdirpNativeSync=void 0;var vO0=I0("path"),hO0=_O0(),SO0=QP(),gO0=qZ(),dF1=($,Y)=>{let z=(0,gO0.optsArg)(Y);if(z.recursive=!0,(0,vO0.dirname)($)===$)return z.mkdirSync($,z);let Q=(0,hO0.findMadeSync)(z,$);try{return z.mkdirSync($,z),Q}catch(J){let I=J;if(I&&I.code==="ENOENT")return(0,SO0.mkdirpManualSync)($,z);else throw J}};yO0.mkdirpNativeSync=dF1;yO0.mkdirpNative=Object.assign(async($,Y)=>{let z={...(0,gO0.optsArg)(Y),recursive:!0};if((0,vO0.dirname)($)===$)return await z.mkdirAsync($,z);return(0,hO0.findMade)(z,$).then((Q)=>z.mkdirAsync($,z).then((J)=>Q||J).catch((J)=>{let I=J;if(I&&I.code==="ENOENT")return(0,SO0.mkdirpManual)($,z);else throw J}))},{sync:yO0.mkdirpNativeSync})});var iO0=E((uO0)=>{Object.defineProperty(uO0,"__esModule",{value:!0});uO0.pathArg=void 0;var mF1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,fO0=I0("path"),lF1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,fO0.resolve)($),mF1==="win32"){let Y=/[*|"<>?:]/,{root:z}=(0,fO0.parse)($);if(Y.test($.substring(z.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};uO0.pathArg=lF1});var zn=E((dO0)=>{Object.defineProperty(dO0,"__esModule",{value:!0});dO0.useNative=dO0.useNativeSync=void 0;var cO0=I0("fs"),nO0=qZ(),oF1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Yn=oF1.replace(/^v/,"").split("."),pO0=+Yn[0]>10||+Yn[0]===10&&+Yn[1]>=12;dO0.useNativeSync=!pO0?()=>!1:($)=>(0,nO0.optsArg)($).mkdirSync===cO0.mkdirSync;dO0.useNative=Object.assign(!pO0?()=>!1:($)=>(0,nO0.optsArg)($).mkdir===cO0.mkdir,{sync:dO0.useNativeSync})});var Un=E((v2)=>{Object.defineProperty(v2,"__esModule",{value:!0});v2.mkdirp=v2.nativeSync=v2.native=v2.manualSync=v2.manual=v2.sync=v2.mkdirpSync=v2.useNativeSync=v2.useNative=v2.mkdirpNativeSync=v2.mkdirpNative=v2.mkdirpManualSync=v2.mkdirpManual=void 0;var R2=QP(),_2=$n(),oO0=qZ(),rO0=iO0(),JP=zn(),sO0=QP();Object.defineProperty(v2,"mkdirpManual",{enumerable:!0,get:function(){return sO0.mkdirpManual}});Object.defineProperty(v2,"mkdirpManualSync",{enumerable:!0,get:function(){return sO0.mkdirpManualSync}});var aO0=$n();Object.defineProperty(v2,"mkdirpNative",{enumerable:!0,get:function(){return aO0.mkdirpNative}});Object.defineProperty(v2,"mkdirpNativeSync",{enumerable:!0,get:function(){return aO0.mkdirpNativeSync}});var tO0=zn();Object.defineProperty(v2,"useNative",{enumerable:!0,get:function(){return tO0.useNative}});Object.defineProperty(v2,"useNativeSync",{enumerable:!0,get:function(){return tO0.useNativeSync}});var rF1=($,Y)=>{$=(0,rO0.pathArg)($);let z=(0,oO0.optsArg)(Y);return(0,JP.useNativeSync)(z)?(0,_2.mkdirpNativeSync)($,z):(0,R2.mkdirpManualSync)($,z)};v2.mkdirpSync=rF1;v2.sync=v2.mkdirpSync;v2.manual=R2.mkdirpManual;v2.manualSync=R2.mkdirpManualSync;v2.native=_2.mkdirpNative;v2.nativeSync=_2.mkdirpNativeSync;v2.mkdirp=Object.assign(async($,Y)=>{$=(0,rO0.pathArg)($);let z=(0,oO0.optsArg)(Y);return(0,JP.useNative)(z)?(0,_2.mkdirpNative)($,z):(0,R2.mkdirpManual)($,z)},{mkdirpSync:v2.mkdirpSync,mkdirpNative:_2.mkdirpNative,mkdirpNativeSync:_2.mkdirpNativeSync,mkdirpManual:R2.mkdirpManual,mkdirpManualSync:R2.mkdirpManualSync,sync:v2.mkdirpSync,native:_2.mkdirpNative,nativeSync:_2.mkdirpNativeSync,manual:R2.mkdirpManual,manualSync:R2.mkdirpManualSync,useNative:JP.useNative,useNativeSync:JP.useNativeSync})});var KP=E((ha1,$N0)=>{$N0.exports=Qn;function Qn($){if($._collected)return;if($._paused)return $.on("resume",Qn.bind(null,$));$._collected=!0,$.pause(),$.on("data",z),$.on("end",z);var Y=[];function z(I){if(typeof I==="string")I=new Buffer(I);if(Buffer.isBuffer(I)&&!I.length)return;Y.push(I)}$.on("entry",Q);var U=[];function Q(I){Qn(I),U.push(I)}$.on("proxy",J);function J(I){I.pause()}$.pipe=function(I){return function(K){var G=0;(function H(){var X=U[G++];if(!X)return W();if(X.on("end",H),K)K.add(X);else $.emit("entry",X)})();function W(){if($.removeListener("entry",Q),$.removeListener("data",z),$.removeListener("end",z),$.pipe=I,K)$.pipe(K);Y.forEach(function(H){if(H)$.emit("data",H);else $.emit("end")}),$.resume()}return K}}($.pipe)}});var Jn=E((Sa1,zN0)=>{zN0.exports=h2;var GP=cI(),Yw1=X1(),zw1=Un(),YN0=I0("path"),Uw1=KP();Yw1(h2,GP);function h2($){var Y=this;if(!(Y instanceof h2))Y.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)Y.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);GP.call(this,$)}h2.prototype._create=function(){var $=this;zw1($._path,GP.dirmode,function(Y){if(Y)return $.error(Y);$.ready=!0,$.emit("ready"),$._process()})};h2.prototype.write=function(){return!0};h2.prototype.end=function(){this._ended=!0,this._process()};h2.prototype.add=function($){var Y=this;if(Uw1($),!Y.ready||Y._currentEntry)return Y._buffer.push($),!1;if(Y._ended)return Y.error("add after end");return Y._buffer.push($),Y._process(),this._buffer.length===0};h2.prototype._process=function(){var $=this;if($._processing)return;var Y=$._buffer.shift();if(!Y){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",Y);var z=Y,U;do{if(U=z._path||z.path,U===$.root._path||U===$._path||U&&U.indexOf($._path)===0){if($._processing=!1,Y._collected)Y.pipe();return $._process()}z=z.parent}while(z);var Q={parent:$,root:$.root||$,type:Y.type,depth:$.depth+1};if(U=Y._path||Y.path||Y.props.path,Y.parent)U=U.substr(Y.parent._path.length+1);Q.path=YN0.join($.path,YN0.join("/",U)),Q.filter=$.filter,Object.keys(Y.props).forEach(function(G){if(!Q.hasOwnProperty(G))Q[G]=Y.props[G]});var J=$._currentChild=new GP(Q);J.on("ready",function(){Y.pipe(J),Y.resume()}),J.on("error",function(G){if(J._swallowErrors)$.warn(G),J.emit("end"),J.emit("close");else $.emit("error",G)}),J.on("close",K);var I=!1;function K(){if(I)return;I=!0,$._currentChild=null,$._processing=!1,$._process()}}});var In=E((ga1,KN0)=>{KN0.exports=VZ;var QN0=l8(),JN0=cI(),Qw1=X1(),Jw1=I0("path"),Iw1=tc();Qw1(VZ,JN0);function VZ($){var Y=this;if(!(Y instanceof VZ))throw Error("LinkWriter must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);if($.linkpath==="")$.linkpath=".";if(!$.linkpath)Y.error("Need linkpath property to create "+$.type);JN0.call(this,$)}VZ.prototype._create=function(){var $=this,Y=$.type==="Link"||process.platform==="win32",z=Y?"link":"symlink",U=Y?Jw1.resolve($.dirname,$.linkpath):$.linkpath;if(Y)return UN0($,U,z);QN0.readlink($._path,function(Q,J){if(J&&J===U)return IN0($);UN0($,U,z)})};function UN0($,Y,z){Iw1($._path,function(U){if(U)return $.error(U);Kw1($,Y,z)})}function Kw1($,Y,z){QN0[z](Y,$._path,function(U){if(U)if((U.code==="ENOENT"||U.code==="EACCES"||U.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(U);IN0($)})}function IN0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}VZ.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var Kn=E((ya1,WN0)=>{WN0.exports=zU;var Gw1=l8(),WP=cI(),Ww1=X1(),GN0={};Ww1(zU,WP);function zU($){var Y=this;if(!(Y instanceof zU))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesWritten=0,WP.call(this,$)}zU.prototype._create=function(){var $=this;if($._stream)return;var Y={};if($.props.flags)Y.flags=$.props.flags;if(Y.mode=WP.filemode,$._old&&$._old.blksize)Y.bufferSize=$._old.blksize;$._stream=Gw1.createWriteStream($._path,Y),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(z){if(z===GN0)$._stream.end();else $._stream.write(z)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(z){$.emit("error",z)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};zU.prototype.write=function($){var Y=this;if(Y._bytesWritten+=$.length,!Y.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return Y._buffer.push($),!1}var z=Y._stream.write($);if(z===!1&&Y._stream._queue)return Y._stream._queue.length<=2;else return z};zU.prototype.end=function($){var Y=this;if($)Y.write($);if(!Y.ready)return Y._buffer.push(GN0),!1;return Y._stream.end()};zU.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count. +actual: `+$._bytesEmitted)}),Y.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(JO0),$._read();else $.emit("close")}),Y.on("error",function(z){$.emit("error",z)}),$._read()};$U.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var Y=$._buffer;for(var z=0,U=Y.length;z{GO0.exports=tB;var hF1=X1(),KO0=ez();hF1(tB,KO0);function tB($){var Y=this;if(!(Y instanceof tB))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);KO0.call(Y,$)}tB.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var oc=E((Oa1,HO0)=>{HO0.exports=YU;var lc=ez(),SF1=WZ(),gF1=X1(),yF1=l8();gF1(YU,lc);function YU($){var Y=this;if(!(Y instanceof YU))throw Error("ProxyReader must be called as constructor.");Y.props=$,Y._buffer=[],Y.ready=!1,lc.call(Y,$)}YU.prototype._stat=function(){var $=this,Y=$.props,z=Y.follow?"stat":"lstat";yF1[z](Y.path,function(U,Q){var J;if(U||!Q)J="File";else J=SF1(Q);Y[J]=!0,Y.type=$.type=J,$._old=Q,$._addProxy(lc(Y,Q))})};YU.prototype._addProxy=function($){var Y=this;if(Y._proxyTarget)return Y.error("proxy already set");Y._proxyTarget=$,$._proxy=Y,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(U){$.on(U,Y.emit.bind(Y,U))}),Y.emit("proxy",$),$.on("ready",function(){Y.ready=!0,Y.emit("ready")});var z=Y._buffer;Y._buffer.length=0,z.forEach(function(U){$[U[0]].apply($,U[1])})};YU.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};YU.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var ez=E((Na1,qO0)=>{qO0.exports=O5;var kF1=l8(),xF1=I0("stream").Stream,fF1=X1(),rc=I0("path"),sc=WZ(),eB=O5.hardLinks={},XO0=aB();fF1(O5,XO0);var ZO0=nc();function O5($,Y){var z=this;if(!(z instanceof O5))return new O5($,Y);if(typeof $==="string")$={path:$};var U,Q;if($.type&&typeof $.type==="function")U=$.type,Q=U;else U=sc($),Q=O5;if(Y&&!U)U=sc(Y),$[U]=!0,$.type=U;switch(U){case"Directory":Q=dc();break;case"Link":case"File":Q=mc();break;case"SymbolicLink":Q=ZO0;break;case"Socket":Q=WO0();break;case null:Q=oc();break}if(!(z instanceof Q))return new Q($);if(XO0.call(z),!$.path)z.error("Must provide a path",null,!0);if(z.readable=!0,z.writable=!1,z.type=U,z.props=$,z.depth=$.depth=$.depth||0,z.parent=$.parent||null,z.root=$.root||$.parent&&$.parent.root||z,z._path=z.path=rc.resolve($.path),process.platform==="win32"){if(z.path=z._path=z.path.replace(/\?/g,"_"),z._path.length>=260)z._swallowErrors=!0,z._path="\\\\?\\"+z.path.replace(/\//g,"\\")}if(z.basename=$.basename=rc.basename(z.path),z.dirname=$.dirname=rc.dirname(z.path),$.parent=$.root=null,z.size=$.size,z.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=uF1;z._stat(Y)}function uF1($,Y){return $===Y?0:$.toLowerCase()>Y.toLowerCase()?1:$.toLowerCase()Y?1:-1}O5.prototype._stat=function($){var Y=this,z=Y.props,U=z.follow?"stat":"lstat";if($)process.nextTick(Q.bind(null,null,$));else kF1[U](Y._path,Q);function Q(J,I){if(J)return Y.error(J);if(Object.keys(I).forEach(function(q){z[q]=I[q]}),Y.size!==void 0&&z.size!==Y.size)return Y.error("incorrect size");Y.size=z.size;var K=sc(z),G=z.hardlinks!==!1;if(G&&K!=="Directory"&&z.nlink&&z.nlink>1){var W=z.dev+":"+z.ino;if(eB[W]===Y._path||!eB[W])eB[W]=Y._path;else K=Y.type=Y.props.type="Link",Y.Link=Y.props.Link=!0,Y.linkpath=Y.props.linkpath=eB[W],Y._stat=Y._read=ZO0.prototype._read}if(Y.type&&Y.type!==K)Y.error("Unexpected type: "+K);if(Y.filter){var H=Y._proxy||Y;if(!Y.filter.call(H,H,z)){if(!Y._disowned)Y.abort(),Y.emit("end"),Y.emit("close");return}}var X=["_stat","stat","ready"],Z=0;(function q(){if(Y._aborted){Y.emit("end"),Y.emit("close");return}if(Y._paused&&Y.type!=="Directory"){Y.once("resume",q);return}var V=X[Z++];if(!V)return Y._read();Y.emit(V,z),q()})()}};O5.prototype.pipe=function($){var Y=this;if(typeof $.add==="function")Y.on("entry",function(z){var U=$.add(z);if(U===!1)Y.pause()});return xF1.prototype.pipe.apply(this,arguments)};O5.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};O5.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};O5.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var $n=E((Da1,DO0)=>{DO0.exports=ec;ec.sync=NO0;var U4=I0("assert"),wO0=I0("path"),VO0=I0("fs"),iI=void 0;try{iI=MX()}catch($){}var MO0=parseInt("666",8),bF1={nosort:!0,silent:!0},ac=0,ZZ=process.platform==="win32";function OO0($){var Y=["unlink","chmod","stat","lstat","rmdir","readdir"];if(Y.forEach(function(z){$[z]=$[z]||VO0[z],z=z+"Sync",$[z]=$[z]||VO0[z]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&iI===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||bF1}function ec($,Y,z){if(typeof Y==="function")z=Y,Y={};U4($,"rimraf: missing path"),U4.equal(typeof $,"string","rimraf: path should be a string"),U4.equal(typeof z,"function","rimraf: callback function required"),U4(Y,"rimraf: invalid options argument provided"),U4.equal(typeof Y,"object","rimraf: options should be object"),OO0(Y);var U=0,Q=null,J=0;if(Y.disableGlob||!iI.hasMagic($))return K(null,[$]);Y.lstat($,function(G,W){if(!G)return K(null,[$]);iI($,Y.glob,K)});function I(G){if(Q=Q||G,--J===0)z(Q)}function K(G,W){if(G)return z(G);if(J=W.length,J===0)return z();W.forEach(function(H){tc(H,Y,function X(Z){if(Z){if((Z.code==="EBUSY"||Z.code==="ENOTEMPTY"||Z.code==="EPERM")&&U{Object.defineProperty(BO0,"__esModule",{value:!0});BO0.optsArg=void 0;var zP=I0("fs"),nF1=($)=>{if(!$)$={mode:511};else if(typeof $==="object")$={mode:511,...$};else if(typeof $==="number")$={mode:$};else if(typeof $==="string")$={mode:parseInt($,8)};else throw TypeError("invalid options argument");let Y=$,z=$.fs||{};return $.mkdir=$.mkdir||z.mkdir||zP.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(U,Q)=>{return new Promise((J,I)=>Y.mkdir(U,Q,(K,G)=>K?I(K):J(G)))},$.stat=$.stat||z.stat||zP.stat,$.statAsync=$.statAsync?$.statAsync:async(U)=>new Promise((Q,J)=>Y.stat(U,(I,K)=>I?J(I):Q(K))),$.statSync=$.statSync||z.statSync||zP.statSync,$.mkdirSync=$.mkdirSync||z.mkdirSync||zP.mkdirSync,Y};BO0.optsArg=nF1});var JP=E((jO0)=>{Object.defineProperty(jO0,"__esModule",{value:!0});jO0.mkdirpManual=jO0.mkdirpManualSync=void 0;var AO0=I0("path"),TO0=qZ(),pF1=($,Y,z)=>{let U=(0,AO0.dirname)($),Q={...(0,TO0.optsArg)(Y),recursive:!1};if(U===$)try{return Q.mkdirSync($,Q)}catch(J){let I=J;if(I&&I.code!=="EISDIR")throw J;return}try{return Q.mkdirSync($,Q),z||$}catch(J){let I=J;if(I&&I.code==="ENOENT")return jO0.mkdirpManualSync($,Q,jO0.mkdirpManualSync(U,Q,z));if(I&&I.code!=="EEXIST"&&I&&I.code!=="EROFS")throw J;try{if(!Q.statSync($).isDirectory())throw J}catch(K){throw J}}};jO0.mkdirpManualSync=pF1;jO0.mkdirpManual=Object.assign(async($,Y,z)=>{let U=(0,TO0.optsArg)(Y);U.recursive=!1;let Q=(0,AO0.dirname)($);if(Q===$)return U.mkdirAsync($,U).catch((J)=>{let I=J;if(I&&I.code!=="EISDIR")throw J});return U.mkdirAsync($,U).then(()=>z||$,async(J)=>{let I=J;if(I&&I.code==="ENOENT")return jO0.mkdirpManual(Q,U).then((K)=>jO0.mkdirpManual($,U,K));if(I&&I.code!=="EEXIST"&&I.code!=="EROFS")throw J;return U.statAsync($).then((K)=>{if(K.isDirectory())return z;else throw J},()=>{throw J})})},{sync:jO0.mkdirpManualSync})});var _O0=E((CO0)=>{Object.defineProperty(CO0,"__esModule",{value:!0});CO0.findMadeSync=CO0.findMade=void 0;var EO0=I0("path"),dF1=async($,Y,z)=>{if(z===Y)return;return $.statAsync(Y).then((U)=>U.isDirectory()?z:void 0,(U)=>{let Q=U;return Q&&Q.code==="ENOENT"?CO0.findMade($,(0,EO0.dirname)(Y),Y):void 0})};CO0.findMade=dF1;var mF1=($,Y,z)=>{if(z===Y)return;try{return $.statSync(Y).isDirectory()?z:void 0}catch(U){let Q=U;return Q&&Q.code==="ENOENT"?CO0.findMadeSync($,(0,EO0.dirname)(Y),Y):void 0}};CO0.findMadeSync=mF1});var zn=E((yO0)=>{Object.defineProperty(yO0,"__esModule",{value:!0});yO0.mkdirpNative=yO0.mkdirpNativeSync=void 0;var vO0=I0("path"),hO0=_O0(),SO0=JP(),gO0=qZ(),lF1=($,Y)=>{let z=(0,gO0.optsArg)(Y);if(z.recursive=!0,(0,vO0.dirname)($)===$)return z.mkdirSync($,z);let Q=(0,hO0.findMadeSync)(z,$);try{return z.mkdirSync($,z),Q}catch(J){let I=J;if(I&&I.code==="ENOENT")return(0,SO0.mkdirpManualSync)($,z);else throw J}};yO0.mkdirpNativeSync=lF1;yO0.mkdirpNative=Object.assign(async($,Y)=>{let z={...(0,gO0.optsArg)(Y),recursive:!0};if((0,vO0.dirname)($)===$)return await z.mkdirAsync($,z);return(0,hO0.findMade)(z,$).then((Q)=>z.mkdirAsync($,z).then((J)=>Q||J).catch((J)=>{let I=J;if(I&&I.code==="ENOENT")return(0,SO0.mkdirpManual)($,z);else throw J}))},{sync:yO0.mkdirpNativeSync})});var iO0=E((uO0)=>{Object.defineProperty(uO0,"__esModule",{value:!0});uO0.pathArg=void 0;var oF1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,fO0=I0("path"),rF1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,fO0.resolve)($),oF1==="win32"){let Y=/[*|"<>?:]/,{root:z}=(0,fO0.parse)($);if(Y.test($.substring(z.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};uO0.pathArg=rF1});var Qn=E((dO0)=>{Object.defineProperty(dO0,"__esModule",{value:!0});dO0.useNative=dO0.useNativeSync=void 0;var cO0=I0("fs"),nO0=qZ(),sF1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Un=sF1.replace(/^v/,"").split("."),pO0=+Un[0]>10||+Un[0]===10&&+Un[1]>=12;dO0.useNativeSync=!pO0?()=>!1:($)=>(0,nO0.optsArg)($).mkdirSync===cO0.mkdirSync;dO0.useNative=Object.assign(!pO0?()=>!1:($)=>(0,nO0.optsArg)($).mkdir===cO0.mkdir,{sync:dO0.useNativeSync})});var Jn=E((v2)=>{Object.defineProperty(v2,"__esModule",{value:!0});v2.mkdirp=v2.nativeSync=v2.native=v2.manualSync=v2.manual=v2.sync=v2.mkdirpSync=v2.useNativeSync=v2.useNative=v2.mkdirpNativeSync=v2.mkdirpNative=v2.mkdirpManualSync=v2.mkdirpManual=void 0;var R2=JP(),_2=zn(),oO0=qZ(),rO0=iO0(),IP=Qn(),sO0=JP();Object.defineProperty(v2,"mkdirpManual",{enumerable:!0,get:function(){return sO0.mkdirpManual}});Object.defineProperty(v2,"mkdirpManualSync",{enumerable:!0,get:function(){return sO0.mkdirpManualSync}});var aO0=zn();Object.defineProperty(v2,"mkdirpNative",{enumerable:!0,get:function(){return aO0.mkdirpNative}});Object.defineProperty(v2,"mkdirpNativeSync",{enumerable:!0,get:function(){return aO0.mkdirpNativeSync}});var tO0=Qn();Object.defineProperty(v2,"useNative",{enumerable:!0,get:function(){return tO0.useNative}});Object.defineProperty(v2,"useNativeSync",{enumerable:!0,get:function(){return tO0.useNativeSync}});var aF1=($,Y)=>{$=(0,rO0.pathArg)($);let z=(0,oO0.optsArg)(Y);return(0,IP.useNativeSync)(z)?(0,_2.mkdirpNativeSync)($,z):(0,R2.mkdirpManualSync)($,z)};v2.mkdirpSync=aF1;v2.sync=v2.mkdirpSync;v2.manual=R2.mkdirpManual;v2.manualSync=R2.mkdirpManualSync;v2.native=_2.mkdirpNative;v2.nativeSync=_2.mkdirpNativeSync;v2.mkdirp=Object.assign(async($,Y)=>{$=(0,rO0.pathArg)($);let z=(0,oO0.optsArg)(Y);return(0,IP.useNative)(z)?(0,_2.mkdirpNative)($,z):(0,R2.mkdirpManual)($,z)},{mkdirpSync:v2.mkdirpSync,mkdirpNative:_2.mkdirpNative,mkdirpNativeSync:_2.mkdirpNativeSync,mkdirpManual:R2.mkdirpManual,mkdirpManualSync:R2.mkdirpManualSync,sync:v2.mkdirpSync,native:_2.mkdirpNative,nativeSync:_2.mkdirpNativeSync,manual:R2.mkdirpManual,manualSync:R2.mkdirpManualSync,useNative:IP.useNative,useNativeSync:IP.useNativeSync})});var GP=E((ya1,$N0)=>{$N0.exports=In;function In($){if($._collected)return;if($._paused)return $.on("resume",In.bind(null,$));$._collected=!0,$.pause(),$.on("data",z),$.on("end",z);var Y=[];function z(I){if(typeof I==="string")I=new Buffer(I);if(Buffer.isBuffer(I)&&!I.length)return;Y.push(I)}$.on("entry",Q);var U=[];function Q(I){In(I),U.push(I)}$.on("proxy",J);function J(I){I.pause()}$.pipe=function(I){return function(K){var G=0;(function H(){var X=U[G++];if(!X)return W();if(X.on("end",H),K)K.add(X);else $.emit("entry",X)})();function W(){if($.removeListener("entry",Q),$.removeListener("data",z),$.removeListener("end",z),$.pipe=I,K)$.pipe(K);Y.forEach(function(H){if(H)$.emit("data",H);else $.emit("end")}),$.resume()}return K}}($.pipe)}});var Kn=E((ka1,zN0)=>{zN0.exports=h2;var WP=cI(),Uw1=X1(),Qw1=Jn(),YN0=I0("path"),Jw1=GP();Uw1(h2,WP);function h2($){var Y=this;if(!(Y instanceof h2))Y.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)Y.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);WP.call(this,$)}h2.prototype._create=function(){var $=this;Qw1($._path,WP.dirmode,function(Y){if(Y)return $.error(Y);$.ready=!0,$.emit("ready"),$._process()})};h2.prototype.write=function(){return!0};h2.prototype.end=function(){this._ended=!0,this._process()};h2.prototype.add=function($){var Y=this;if(Jw1($),!Y.ready||Y._currentEntry)return Y._buffer.push($),!1;if(Y._ended)return Y.error("add after end");return Y._buffer.push($),Y._process(),this._buffer.length===0};h2.prototype._process=function(){var $=this;if($._processing)return;var Y=$._buffer.shift();if(!Y){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",Y);var z=Y,U;do{if(U=z._path||z.path,U===$.root._path||U===$._path||U&&U.indexOf($._path)===0){if($._processing=!1,Y._collected)Y.pipe();return $._process()}z=z.parent}while(z);var Q={parent:$,root:$.root||$,type:Y.type,depth:$.depth+1};if(U=Y._path||Y.path||Y.props.path,Y.parent)U=U.substr(Y.parent._path.length+1);Q.path=YN0.join($.path,YN0.join("/",U)),Q.filter=$.filter,Object.keys(Y.props).forEach(function(G){if(!Q.hasOwnProperty(G))Q[G]=Y.props[G]});var J=$._currentChild=new WP(Q);J.on("ready",function(){Y.pipe(J),Y.resume()}),J.on("error",function(G){if(J._swallowErrors)$.warn(G),J.emit("end"),J.emit("close");else $.emit("error",G)}),J.on("close",K);var I=!1;function K(){if(I)return;I=!0,$._currentChild=null,$._processing=!1,$._process()}}});var Gn=E((xa1,KN0)=>{KN0.exports=VZ;var QN0=l8(),JN0=cI(),Iw1=X1(),Kw1=I0("path"),Gw1=$n();Iw1(VZ,JN0);function VZ($){var Y=this;if(!(Y instanceof VZ))throw Error("LinkWriter must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);if($.linkpath==="")$.linkpath=".";if(!$.linkpath)Y.error("Need linkpath property to create "+$.type);JN0.call(this,$)}VZ.prototype._create=function(){var $=this,Y=$.type==="Link"||process.platform==="win32",z=Y?"link":"symlink",U=Y?Kw1.resolve($.dirname,$.linkpath):$.linkpath;if(Y)return UN0($,U,z);QN0.readlink($._path,function(Q,J){if(J&&J===U)return IN0($);UN0($,U,z)})};function UN0($,Y,z){Gw1($._path,function(U){if(U)return $.error(U);Ww1($,Y,z)})}function Ww1($,Y,z){QN0[z](Y,$._path,function(U){if(U)if((U.code==="ENOENT"||U.code==="EACCES"||U.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(U);IN0($)})}function IN0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}VZ.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var Wn=E((fa1,WN0)=>{WN0.exports=zU;var Hw1=l8(),HP=cI(),Xw1=X1(),GN0={};Xw1(zU,HP);function zU($){var Y=this;if(!(Y instanceof zU))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesWritten=0,HP.call(this,$)}zU.prototype._create=function(){var $=this;if($._stream)return;var Y={};if($.props.flags)Y.flags=$.props.flags;if(Y.mode=HP.filemode,$._old&&$._old.blksize)Y.bufferSize=$._old.blksize;$._stream=Hw1.createWriteStream($._path,Y),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(z){if(z===GN0)$._stream.end();else $._stream.write(z)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(z){$.emit("error",z)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};zU.prototype.write=function($){var Y=this;if(Y._bytesWritten+=$.length,!Y.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return Y._buffer.push($),!1}var z=Y._stream.write($);if(z===!1&&Y._stream._queue)return Y._stream._queue.length<=2;else return z};zU.prototype.end=function($){var Y=this;if($)Y.write($);if(!Y.ready)return Y._buffer.push(GN0),!1;return Y._stream.end()};zU.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count. expect: `+$.size+` -actual: `+$._bytesWritten);WP.prototype._finish.call($)}});var Wn=E((ka1,HN0)=>{HN0.exports=S2;var Gn=cI(),Hw1=WZ(),Xw1=X1(),Zw1=KP(),qw1=I0("fs");Xw1(S2,Gn);function S2($){var Y=this;if(!(Y instanceof S2))throw Error("ProxyWriter must be called as constructor.");Y.props=$,Y._needDrain=!1,Gn.call(Y,$)}S2.prototype._stat=function(){var $=this,Y=$.props,z=Y.follow?"stat":"lstat";qw1[z](Y.path,function(U,Q){var J;if(U||!Q)J="File";else J=Hw1(Q);Y[J]=!0,Y.type=$.type=J,$._old=Q,$._addProxy(Gn(Y,Q))})};S2.prototype._addProxy=function($){var Y=this;if(Y._proxy)return Y.error("proxy already set");Y._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(U){$.on(U,Y.emit.bind(Y,U))}),Y.emit("proxy",$);var z=Y._buffer;if(z.forEach(function(U){$[U[0]].apply($,U[1])}),Y._buffer.length=0,Y._needsDrain)Y.emit("drain")};S2.prototype.add=function($){if(Zw1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};S2.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};S2.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var cI=E((xa1,ON0)=>{ON0.exports=f$;var x$=l8(),Vw1=X1(),Lw1=tc(),Fw1=Un(),LZ=I0("path"),ZN0=process.platform==="win32"?0:process.umask(),qN0=WZ(),VN0=sB();Vw1(f$,VN0);f$.dirmode=parseInt("0777",8)&~ZN0;f$.filemode=parseInt("0666",8)&~ZN0;var ww1=Jn(),Mw1=In(),Ow1=Kn(),Nw1=Wn();function f$($,Y){var z=this;if(typeof $==="string")$={path:$};var U=qN0($),Q=f$;switch(U){case"Directory":Q=ww1;break;case"File":Q=Ow1;break;case"Link":case"SymbolicLink":Q=Mw1;break;case null:default:Q=Nw1;break}if(!(z instanceof Q))return new Q($);if(VN0.call(z),!$.path)z.error("Must provide a path",null,!0);if(z.type=$.type,z.props=$,z.depth=$.depth||0,z.clobber=$.clobber===!1?$.clobber:!0,z.parent=$.parent||null,z.root=$.root||$.parent&&$.parent.root||z,z._path=z.path=LZ.resolve($.path),process.platform==="win32"){if(z.path=z._path=z.path.replace(/\?/g,"_"),z._path.length>=260)z._swallowErrors=!0,z._path="\\\\?\\"+z.path.replace(/\//g,"\\")}if(z.basename=LZ.basename($.path),z.dirname=LZ.dirname($.path),z.linkpath=$.linkpath||null,$.parent=$.root=null,z.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);z.readable=!1,z.writable=!0,z._buffer=[],z.ready=!1,z.filter=typeof $.filter==="function"?$.filter:null,z._stat(Y)}f$.prototype._create=function(){var $=this;x$[$.props.follow?"stat":"lstat"]($._path,function(Y){if(Y)return $.warn("Cannot create "+$._path+` -Unsupported type: `+$.type,"ENOTSUP");$._finish()})};f$.prototype._stat=function($){var Y=this,z=Y.props,U=z.follow?"stat":"lstat",Q=Y._proxy||Y;if($)J(null,$);else x$[U](Y._path,J);function J(I,K){if(Y.filter&&!Y.filter.call(Q,Q,K)){Y._aborted=!0,Y.emit("end"),Y.emit("close");return}if(I||!K)return Hn(Y);Y._old=K;var G=qN0(K);if(G!==Y.type||Y.type==="File"&&K.nlink>1)return Lw1(Y._path,function(W){if(W)return Y.error(W);Y._old=null,Hn(Y)});Hn(Y)}};function Hn($){Fw1(LZ.dirname($._path),f$.dirmode,function(Y,z){if(Y)return $.error(Y);return $._madeDir=z,$._create()})}function LN0($,Y,z,U,Q){var J=Y.mode,I=Y.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!x$[I])return Q();if(typeof J!=="number")return Q();var K=z.mode&parseInt("0777",8);if(J=J&parseInt("0777",8),J===K)return Q();x$[I](U,J,Q)}function FN0($,Y,z,U,Q){if(process.platform==="win32")return Q();if(!process.getuid||process.getuid()!==0)return Q();if(typeof Y.uid!=="number"&&typeof Y.gid!=="number")return Q();if(z.uid===Y.uid&&z.gid===Y.gid)return Q();var J=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!x$[J])return Q();if(typeof Y.uid!=="number")Y.uid=z.uid;if(typeof Y.gid!=="number")Y.gid=z.gid;x$[J](U,Y.uid,Y.gid,Q)}function wN0($,Y,z,U,Q){if(!x$.utimes||process.platform==="win32")return Q();var J=Y.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(J==="lutimes"&&!x$[J])J="utimes";if(!x$[J])return Q();var{atime:I,mtime:K}=z,G=Y.atime,W=Y.mtime;if(G===void 0)G=I;if(W===void 0)W=K;if(!XN0(G))G=new Date(G);if(!XN0(W))G=new Date(W);if(G.getTime()===I.getTime()&&W.getTime()===K.getTime())return Q();x$[J](U,G,W,Q)}f$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var Y=0,z=null,U=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),J($._old);else{var Q=$.props.follow?"stat":"lstat";x$[Q]($._path,function(K,G){if(K)if(K.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(K);J($._old=G)})}return;function J(K){Y+=3,LN0($,$.props,K,$._path,I("chmod")),FN0($,$.props,K,$._path,I("chown")),wN0($,$.props,K,$._path,I("utimes"))}function I(K){return function(G){if(z)return;if(G)return G.fstream_finish_call=K,$.error(z=G);if(--Y>0)return;if(U)return;if(U=!0,!$._madeDir)return W();else MN0($,$._path,W);function W(H){if(H)return H.fstream_finish_call="setupMadeDir",$.error(H);$.emit("end"),$.emit("close")}}}};function MN0($,Y,z){var U=$._madeDir,Q=LZ.dirname(Y);Dw1($,Q,function(J){if(J)return z(J);if(Q===U)return z();MN0($,Q,z)})}function Dw1($,Y,z){var U={};Object.keys($.props).forEach(function(K){if(U[K]=$.props[K],K==="mode"&&$.type!=="Directory")U[K]=U[K]|parseInt("0111",8)});var Q=3,J=null;x$.stat(Y,function(K,G){if(K)return z(J=K);LN0($,U,G,Y,I),FN0($,U,G,Y,I),wN0($,U,G,Y,I)});function I(K){if(J)return;if(K)return z(J=K);if(--Q===0)return z()}}f$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};f$.prototype.add=function(){this.error("Can't add to non-Directory type")};f$.prototype.write=function(){return!0};function Bw1($){return Object.prototype.toString.call($)}function XN0($){return typeof $==="object"&&Bw1($)==="[object Date]"}});var Ln=E((Pw1)=>{Pw1.Abstract=sB();Pw1.Reader=ez();Pw1.Writer=cI();Pw1.File={Reader:pc(),Writer:Kn()};Pw1.Dir={Reader:nc(),Writer:Jn()};Pw1.Link={Reader:ic(),Writer:In()};Pw1.Proxy={Reader:mc(),Writer:Wn()};Pw1.Reader.Dir=Pw1.DirReader=Pw1.Dir.Reader;Pw1.Reader.File=Pw1.FileReader=Pw1.File.Reader;Pw1.Reader.Link=Pw1.LinkReader=Pw1.Link.Reader;Pw1.Reader.Proxy=Pw1.ProxyReader=Pw1.Proxy.Reader;Pw1.Writer.Dir=Pw1.DirWriter=Pw1.Dir.Writer;Pw1.Writer.File=Pw1.FileWriter=Pw1.File.Writer;Pw1.Writer.Link=Pw1.LinkWriter=Pw1.Link.Writer;Pw1.Writer.Proxy=Pw1.ProxyWriter=Pw1.Proxy.Writer;Pw1.collect=KP()});var DN0=E((la1,NN0)=>{NN0.exports=vw1;var jw1=iB(),Ew1=Ln().Writer,Fn=I0("path"),Cw1=I0("stream"),Rw1=fc(),_w1=j2();function vw1($){$.path=Fn.resolve(Fn.normalize($.path));var Y=new jw1($),z=new Cw1.Writable({objectMode:!0});z._write=function(Q,J,I){if(Q.type=="Directory")return I();var K=Fn.join($.path,Q.path);if(K.indexOf($.path)!=0)return I();let G=$.getWriter?$.getWriter({path:K}):Ew1({path:K});Q.pipe(G).on("error",I).on("close",I)};var U=Rw1(Y,z);return Y.once("crx-header",function(Q){U.crxHeader=Q}),Y.pipe(z).on("finish",function(){U.emit("close")}),U.promise=function(){return new _w1(function(Q,J){U.on("close",Q),U.on("error",J)})},U}});var BN0=E((oa1,HP)=>{var j6=function($){var Y=1e7,z=7,U=9007199254740992,Q=Z(U),J="0123456789abcdefghijklmnopqrstuvwxyz",I=typeof BigInt==="function";function K(P,v,u,r){if(typeof P>"u")return K[0];if(typeof v<"u")return+v===10&&!u?B0(P):f0(P,v,u,r);return B0(P)}function G(P,v){this.value=P,this.sign=v,this.isSmall=!1}G.prototype=Object.create(K.prototype);function W(P){this.value=P,this.sign=P<0,this.isSmall=!0}W.prototype=Object.create(K.prototype);function H(P){this.value=P}H.prototype=Object.create(K.prototype);function X(P){return-U0)return Math.floor(P);return Math.ceil(P)}function w(P,v){var u=P.length,r=v.length,X0=Array(u),J0=0,Z0=Y,O0,P0;for(P0=0;P0=Z0?1:0,X0[P0]=O0-J0*Z0;while(P00)X0.push(J0);return X0}function O(P,v){if(P.length>=v.length)return w(P,v);return w(v,P)}function D(P,v){var u=P.length,r=Array(u),X0=Y,J0,Z0;for(Z0=0;Z00)r[Z0++]=v%X0,v=Math.floor(v/X0);return r}G.prototype.add=function(P){var v=B0(P);if(this.sign!==v.sign)return this.subtract(v.negate());var u=this.value,r=v.value;if(v.isSmall)return new G(D(u,Math.abs(r)),this.sign);return new G(O(u,r),this.sign)},G.prototype.plus=G.prototype.add,W.prototype.add=function(P){var v=B0(P),u=this.value;if(u<0!==v.sign)return this.subtract(v.negate());var r=v.value;if(v.isSmall){if(X(u+r))return new W(u+r);r=Z(Math.abs(r))}return new G(D(r,Math.abs(u)),u<0)},W.prototype.plus=W.prototype.add,H.prototype.add=function(P){return new H(this.value+B0(P).value)},H.prototype.plus=H.prototype.add;function N(P,v){var u=P.length,r=v.length,X0=Array(u),J0=0,Z0=Y,O0,P0;for(O0=0;O0=0)r=N(P,v);else r=N(v,P),u=!u;if(r=q(r),typeof r==="number"){if(u)r=-r;return new W(r)}return new G(r,u)}function T(P,v,u){var r=P.length,X0=Array(r),J0=-v,Z0=Y,O0,P0;for(O0=0;O0=0)},W.prototype.minus=W.prototype.subtract,H.prototype.subtract=function(P){return new H(this.value-B0(P).value)},H.prototype.minus=H.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},W.prototype.negate=function(){var P=this.sign,v=new W(-this.value);return v.sign=!P,v},H.prototype.negate=function(){return new H(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},W.prototype.abs=function(){return new W(Math.abs(this.value))},H.prototype.abs=function(){return new H(this.value>=0?this.value:-this.value)};function B(P,v){var u=P.length,r=v.length,X0=u+r,J0=F(X0),Z0=Y,O0,P0,r0,I1,U1;for(r0=0;r00)r[O0++]=J0%X0,J0=Math.floor(J0/X0);return r}function C(P,v){var u=[];while(v-- >0)u.push(0);return u.concat(P)}function b(P,v){var u=Math.max(P.length,v.length);if(u<=30)return B(P,v);u=Math.ceil(u/2);var r=P.slice(u),X0=P.slice(0,u),J0=v.slice(u),Z0=v.slice(0,u),O0=b(X0,Z0),P0=b(r,J0),r0=b(O(X0,r),O(Z0,J0)),I1=O(O(O0,C(N(N(r0,O0),P0),u)),C(P0,2*u));return V(I1),I1}function k(P,v){return-0.012*P-0.012*v+0.000015*P*v>0}G.prototype.multiply=function(P){var v=B0(P),u=this.value,r=v.value,X0=this.sign!==v.sign,J0;if(v.isSmall){if(r===0)return K[0];if(r===1)return this;if(r===-1)return this.negate();if(J0=Math.abs(r),J0=0;U1--){if(I1=X0-1,P0[U1+r]!==Z0)I1=Math.floor((P0[U1+r]*X0+P0[U1+r-1])/Z0);N1=0,S1=0,N8=r0.length;for(f4=0;f4r)r0=(r0+1)*Z0;O0=Math.ceil(r0/I1);do{if(U1=j(v,O0),t(U1,J0)<=0)break;O0--}while(O0);X0.push(O0),J0=N(J0,U1)}return X0.reverse(),[q(X0),q(J0)]}function x(P,v){var u=P.length,r=F(u),X0=Y,J0,Z0,O0,P0;O0=0;for(J0=u-1;J0>=0;--J0)P0=O0*X0+P[J0],Z0=M(P0/v),O0=P0-Z0*v,r[J0]=Z0|0;return[r,O0|0]}function d(P,v){var u,r=B0(v);if(I)return[new H(P.value/r.value),new H(P.value%r.value)];var X0=P.value,J0=r.value,Z0;if(J0===0)throw Error("Cannot divide by zero");if(P.isSmall){if(r.isSmall)return[new W(M(X0/J0)),new W(X0%J0)];return[K[0],P]}if(r.isSmall){if(J0===1)return[P,K[0]];if(J0==-1)return[P.negate(),K[0]];var O0=Math.abs(J0);if(O0v.length?1:-1;for(var u=P.length-1;u>=0;u--)if(P[u]!==v[u])return P[u]>v[u]?1:-1;return 0}G.prototype.compareAbs=function(P){var v=B0(P),u=this.value,r=v.value;if(v.isSmall)return 1;return t(u,r)},W.prototype.compareAbs=function(P){var v=B0(P),u=Math.abs(this.value),r=v.value;if(v.isSmall)return r=Math.abs(r),u===r?0:u>r?1:-1;return-1},H.prototype.compareAbs=function(P){var v=this.value,u=B0(P).value;return v=v>=0?v:-v,u=u>=0?u:-u,v===u?0:v>u?1:-1},G.prototype.compare=function(P){if(P===1/0)return-1;if(P===-1/0)return 1;var v=B0(P),u=this.value,r=v.value;if(this.sign!==v.sign)return v.sign?1:-1;if(v.isSmall)return this.sign?-1:1;return t(u,r)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,W.prototype.compare=function(P){if(P===1/0)return-1;if(P===-1/0)return 1;var v=B0(P),u=this.value,r=v.value;if(v.isSmall)return u==r?0:u>r?1:-1;if(u<0!==v.sign)return u<0?-1:1;return u<0?1:-1},W.prototype.compareTo=W.prototype.compare,H.prototype.compare=function(P){if(P===1/0)return-1;if(P===-1/0)return 1;var v=this.value,u=B0(P).value;return v===u?0:v>u?1:-1},H.prototype.compareTo=H.prototype.compare,G.prototype.equals=function(P){return this.compare(P)===0},H.prototype.eq=H.prototype.equals=W.prototype.eq=W.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(P){return this.compare(P)!==0},H.prototype.neq=H.prototype.notEquals=W.prototype.neq=W.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(P){return this.compare(P)>0},H.prototype.gt=H.prototype.greater=W.prototype.gt=W.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(P){return this.compare(P)<0},H.prototype.lt=H.prototype.lesser=W.prototype.lt=W.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(P){return this.compare(P)>=0},H.prototype.geq=H.prototype.greaterOrEquals=W.prototype.geq=W.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(P){return this.compare(P)<=0},H.prototype.leq=H.prototype.lesserOrEquals=W.prototype.leq=W.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},W.prototype.isEven=function(){return(this.value&1)===0},H.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},W.prototype.isOdd=function(){return(this.value&1)===1},H.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},W.prototype.isPositive=function(){return this.value>0},H.prototype.isPositive=W.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},W.prototype.isNegative=function(){return this.value<0},H.prototype.isNegative=W.prototype.isNegative,G.prototype.isUnit=function(){return!1},W.prototype.isUnit=function(){return Math.abs(this.value)===1},H.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},W.prototype.isZero=function(){return this.value===0},H.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(P){var v=B0(P);if(v.isZero())return!1;if(v.isUnit())return!0;if(v.compareAbs(2)===0)return this.isEven();return this.mod(v).isZero()},H.prototype.isDivisibleBy=W.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function $0(P){var v=P.abs();if(v.isUnit())return!1;if(v.equals(2)||v.equals(3)||v.equals(5))return!0;if(v.isEven()||v.isDivisibleBy(3)||v.isDivisibleBy(5))return!1;if(v.lesser(49))return!0}function g(P,v){var u=P.prev(),r=u,X0=0,J0,Z0,O0,P0;while(r.isEven())r=r.divide(2),X0++;$:for(O0=0;O0-U)return new W(P-1);return new G(Q,!0)},H.prototype.prev=function(){return new H(this.value-BigInt(1))};var p=[1];while(2*p[p.length-1]<=Y)p.push(2*p[p.length-1]);var e=p.length,y=p[e-1];function s(P){return Math.abs(P)<=Y}G.prototype.shiftLeft=function(P){var v=B0(P).toJSNumber();if(!s(v))throw Error(String(v)+" is too large for shifting.");if(v<0)return this.shiftRight(-v);var u=this;if(u.isZero())return u;while(v>=e)u=u.multiply(y),v-=e-1;return u.multiply(p[v])},H.prototype.shiftLeft=W.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(P){var v,u=B0(P).toJSNumber();if(!s(u))throw Error(String(u)+" is too large for shifting.");if(u<0)return this.shiftLeft(-u);var r=this;while(u>=e){if(r.isZero()||r.isNegative()&&r.isUnit())return r;v=d(r,y),r=v[1].isNegative()?v[0].prev():v[0],u-=e-1}return v=d(r,p[u]),v[1].isNegative()?v[0].prev():v[0]},H.prototype.shiftRight=W.prototype.shiftRight=G.prototype.shiftRight;function Y0(P,v,u){v=B0(v);var r=P.isNegative(),X0=v.isNegative(),J0=r?P.not():P,Z0=X0?v.not():v,O0=0,P0=0,r0=null,I1=null,U1=[];while(!J0.isZero()||!Z0.isZero()){if(r0=d(J0,y),O0=r0[1].toJSNumber(),r)O0=y-1-O0;if(I1=d(Z0,y),P0=I1[1].toJSNumber(),X0)P0=y-1-P0;J0=r0[0],Z0=I1[0],U1.push(u(O0,P0))}var N1=u(r?1:0,X0?1:0)!==0?j6(-1):j6(0);for(var S1=U1.length-1;S1>=0;S1-=1)N1=N1.multiply(y).add(j6(U1[S1]));return N1}G.prototype.not=function(){return this.negate().prev()},H.prototype.not=W.prototype.not=G.prototype.not,G.prototype.and=function(P){return Y0(this,P,function(v,u){return v&u})},H.prototype.and=W.prototype.and=G.prototype.and,G.prototype.or=function(P){return Y0(this,P,function(v,u){return v|u})},H.prototype.or=W.prototype.or=G.prototype.or,G.prototype.xor=function(P){return Y0(this,P,function(v,u){return v^u})},H.prototype.xor=W.prototype.xor=G.prototype.xor;var M0=1073741824,E0=(Y&-Y)*(Y&-Y)|M0;function G0(P){var v=P.value,u=typeof v==="number"?v|M0:typeof v==="bigint"?v|BigInt(M0):v[0]+v[1]*Y|E0;return u&-u}function T0(P,v){if(v.compareTo(P)<=0){var u=T0(P,v.square(v)),r=u.p,X0=u.e,J0=r.multiply(v);return J0.compareTo(P)<=0?{p:J0,e:X0*2+1}:{p:r,e:X0*2}}return{p:j6(1),e:0}}G.prototype.bitLength=function(){var P=this;if(P.compareTo(j6(0))<0)P=P.negate().subtract(j6(1));if(P.compareTo(j6(0))===0)return j6(0);return j6(T0(P,j6(2)).e).add(j6(1))},H.prototype.bitLength=W.prototype.bitLength=G.prototype.bitLength;function b0(P,v){return P=B0(P),v=B0(v),P.greater(v)?P:v}function Y1(P,v){return P=B0(P),v=B0(v),P.lesser(v)?P:v}function a(P,v){if(P=B0(P).abs(),v=B0(v).abs(),P.equals(v))return P;if(P.isZero())return v;if(v.isZero())return P;var u=K[1],r,X0;while(P.isEven()&&v.isEven())r=Y1(G0(P),G0(v)),P=P.divide(r),v=v.divide(r),u=u.multiply(r);while(P.isEven())P=P.divide(G0(P));do{while(v.isEven())v=v.divide(G0(v));if(P.greater(v))X0=v,v=P,P=X0;v=v.subtract(P)}while(!v.isZero());return u.isUnit()?P:P.multiply(u)}function H0(P,v){return P=B0(P).abs(),v=B0(v).abs(),P.divide(a(P,v)).multiply(v)}function L0(P,v,u){P=B0(P),v=B0(v);var r=u||Math.random,X0=Y1(P,v),J0=b0(P,v),Z0=J0.subtract(X0).add(1);if(Z0.isSmall)return X0.add(Math.floor(r()*Z0));var O0=D1(Z0,Y).value,P0=[],r0=!0;for(var I1=0;I1=Z0){if(P0==="1"&&Z0===1)continue;throw Error(P0+" is not a valid digit in base "+v+".")}}}v=B0(v);var r0=[],I1=P[0]==="-";for(J0=I1?1:0;J0"&&J0=0;J0--)r=r.add(P[J0].times(X0)),X0=X0.times(v);return u?r.negate():r}function i0(P,v){if(v=v||J,P"}function D1(P,v){if(v=j6(v),v.isZero()){if(P.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(v.equals(-1)){if(P.isZero())return{value:[0],isNegative:!1};if(P.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-P.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var u=Array.apply(null,Array(P.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return u.unshift([1]),{value:[].concat.apply([],u),isNegative:!1}}var r=!1;if(P.isNegative()&&v.isPositive())r=!0,P=P.abs();if(v.isUnit()){if(P.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(P.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r}}var X0=[],J0=P,Z0;while(J0.isNegative()||J0.compareAbs(v)>=0){Z0=J0.divmod(v),J0=Z0.quotient;var O0=Z0.remainder;if(O0.isNegative())O0=v.minus(O0).abs(),J0=J0.next();X0.push(O0.toJSNumber())}return X0.push(J0.toJSNumber()),{value:X0.reverse(),isNegative:r}}function k1(P,v,u){var r=D1(P,v);return(r.isNegative?"-":"")+r.value.map(function(X0){return i0(X0,u)}).join("")}G.prototype.toArray=function(P){return D1(this,P)},W.prototype.toArray=function(P){return D1(this,P)},H.prototype.toArray=function(P){return D1(this,P)},G.prototype.toString=function(P,v){if(P===$)P=10;if(P!==10||v)return k1(this,P,v);var u=this.value,r=u.length,X0=String(u[--r]),J0="0000000",Z0;while(--r>=0)Z0=String(u[r]),X0+=J0.slice(Z0.length)+Z0;var O0=this.sign?"-":"";return O0+X0},W.prototype.toString=function(P,v){if(P===$)P=10;if(P!=10||v)return k1(this,P,v);return String(this.value)},H.prototype.toString=W.prototype.toString,H.prototype.toJSON=G.prototype.toJSON=W.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,W.prototype.valueOf=function(){return this.value},W.prototype.toJSNumber=W.prototype.valueOf,H.prototype.valueOf=H.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function u1(P){if(X(+P)){var v=+P;if(v===M(v))return I?new H(BigInt(v)):new W(v);throw Error("Invalid integer: "+P)}var u=P[0]==="-";if(u)P=P.slice(1);var r=P.split(/e/i);if(r.length>2)throw Error("Invalid integer: "+r.join("e"));if(r.length===2){var X0=r[1];if(X0[0]==="+")X0=X0.slice(1);if(X0=+X0,X0!==M(X0)||!X(X0))throw Error("Invalid integer: "+X0+" is not a valid exponent.");var J0=r[0],Z0=J0.indexOf(".");if(Z0>=0)X0-=J0.length-Z0-1,J0=J0.slice(0,Z0)+J0.slice(Z0+1);if(X0<0)throw Error("Cannot include negative exponent part for integers");J0+=Array(X0+1).join("0"),P=J0}var O0=/^([0-9][0-9]*)$/.test(P);if(!O0)throw Error("Invalid integer: "+P);if(I)return new H(BigInt(u?"-"+P:P));var P0=[],r0=P.length,I1=z,U1=r0-I1;while(r0>0){if(P0.push(+P.slice(U1,r0)),U1-=I1,U1<0)U1=0;r0-=I1}return V(P0),new G(P0,u)}function b1(P){if(I)return new H(BigInt(P));if(X(P)){if(P!==M(P))throw Error(P+" is not an integer.");return new W(P)}return u1(P.toString())}function B0(P){if(typeof P==="number")return b1(P);if(typeof P==="string")return u1(P);if(typeof P==="bigint")return new H(P);return P}for(var Q0=0;Q0<1000;Q0++)if(K[Q0]=B0(Q0),Q0>0)K[-Q0]=B0(-Q0);return K.one=K[1],K.zero=K[0],K.minusOne=K[-1],K.max=b0,K.min=Y1,K.gcd=a,K.lcm=H0,K.isInstance=function(P){return P instanceof G||P instanceof W||P instanceof H},K.randBetween=L0,K.fromArray=function(P,v,u){return u0(P.map(B0),B0(v||10),u)},K}();if(typeof HP<"u"&&HP.hasOwnProperty("exports"))HP.exports=j6;if(typeof define==="function"&&define.amd)define(function(){return j6})});var TN0=E((ra1,AN0)=>{var g2=BN0(),XP=I0("stream");if(!XP.Writable||!XP.Writable.prototype.destroy)XP=E7();var ZP;function hw1(){var $=3988292384,Y,z,U;ZP=[];for(z=0;z<256;z++){Y=z;for(U=0;U<8;U++)Y=Y&1?$^Y>>>1:Y=Y>>>1;ZP[z]=Y>>>0}}function PN0($,Y){if(!ZP)hw1();if($.charCodeAt)$=$.charCodeAt(0);return g2(Y).shiftRight(8).and(16777215).xor(ZP[g2(Y).xor($).and(255)]).value}function nI(){if(!(this instanceof nI))return new nI;this.key0=305419896,this.key1=591751049,this.key2=878082192}nI.prototype.update=function($){this.key0=PN0($,this.key0),this.key1=g2(this.key0).and(255).and(4294967295).add(this.key1),this.key1=g2(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=PN0(g2(this.key1).shiftRight(24).and(255),this.key2)};nI.prototype.decryptByte=function($){var Y=g2(this.key2).or(2);return $=$^g2(Y).multiply(g2(Y^1)).shiftRight(8).and(255),this.update($),$};nI.prototype.stream=function(){var $=XP.Transform(),Y=this;return $._transform=function(z,U,Q){for(var J=0;J{var Sw1=j2(),gw1=TN0(),yw1=kB(),MZ=I0("stream"),kw1=fX(),xw1=I0("zlib"),fw1=uB(),uw1=hI(),bw1=bB();if(!MZ.Writable||!MZ.Writable.prototype.destroy)MZ=E7();jN0.exports=function(Y,z,U,Q){var J=yw1(),I=MZ.PassThrough(),K=Y.stream(z);return K.pipe(J).on("error",function(G){I.emit("error",G)}),I.vars=J.pull(30).then(function(G){var W=kw1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return W.lastModifiedDateTime=bw1(W.lastModifiedDate,W.lastModifiedTime),J.pull(W.fileNameLength).then(function(H){return W.fileName=H.toString("utf8"),J.pull(W.extraFieldLength)}).then(function(H){var X;if(W.extra=fw1(H,W),Q&&Q.compressedSize)W=Q;if(W.flags&1)X=J.pull(12).then(function(Z){if(!U)throw Error("MISSING_PASSWORD");var q=gw1();String(U).split("").forEach(function(M){q.update(M)});for(var V=0;V>8&255:W.crc32>>24&255;if(Z[11]!==F)throw Error("BAD_PASSWORD");return W});return Sw1.resolve(X).then(function(){return I.emit("vars",W),W})})}),I.vars.then(function(G){var W=!(G.flags&8)||G.compressedSize>0,H,X=G.compressionMethod?xw1.createInflateRaw():MZ.PassThrough();if(W)I.size=G.uncompressedSize,H=G.compressedSize;else H=uw1.alloc(4),H.writeUInt32LE(134695760,0);var Z=J.stream(H);if(G.decrypt)Z=Z.pipe(G.decrypt.stream());Z.pipe(X).on("error",function(q){I.emit("error",q)}).pipe(I).on("finish",function(){if(K.destroy)K.destroy();else if(K.abort)K.abort();else if(K.close)K.close();else if(K.push)K.push();else console.log("warning - unable to close stream")})}).catch(function(G){I.emit("error",G)}),I}});var _N0=E((aa1,RN0)=>{var DZ=fX(),NZ=kB(),iw1=EN0(),OZ=j2(),cw1=fB(),nw1=uB(),pw1=hI(),wn=I0("path"),dw1=Ln().Writer,mw1=bB(),CN0=pw1.alloc(4);CN0.writeUInt32LE(101010256,0);function lw1($){var Y=$.stream(0).pipe(NZ());return Y.pull(4).then(function(z){var U=z.readUInt32LE(0);if(U===875721283){var Q;return Y.pull(12).then(function(J){Q=DZ.parse(J).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return Y.pull(Q.pubKeyLength+Q.signatureLength)}).then(function(J){return Q.publicKey=J.slice(0,Q.pubKeyLength),Q.signature=J.slice(Q.pubKeyLength),Q.size=16+Q.pubKeyLength+Q.signatureLength,Q})}})}function ow1($,Y){var z=DZ.parse(Y).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(z.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+z.signature.toString(16));var U=NZ();return $.stream(z.offsetToStartOfCentralDirectory).pipe(U),U.pull(56)}function rw1($){var Y=DZ.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(Y.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+Y.signature.toString(16));return Y}RN0.exports=function(Y,z){var U=NZ(),Q=NZ(),J=z&&z.tailSize||80,I,K,G,W;if(z&&z.crx)K=lw1(Y);return Y.size().then(function(H){return I=H,Y.stream(Math.max(0,H-J)).on("error",function(X){U.emit("error",X)}).pipe(U),U.pull(CN0)}).then(function(){return OZ.props({directory:U.pull(22),crxHeader:K})}).then(function(H){var X=H.directory;if(G=H.crxHeader&&H.crxHeader.size||0,W=DZ.parse(X).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,W.numberOfRecords==65535||W.numberOfRecords==65535||W.offsetToStartOfCentralDirectory==4294967295){let q=I-(J-U.match+20),V=NZ();return Y.stream(q).pipe(V),V.pull(20).then(function(F){return ow1(Y,F)}).then(function(F){W=rw1(F)})}else W.offsetToStartOfCentralDirectory+=G}).then(function(){if(W.commentLength)return U.pull(W.commentLength).then(function(H){W.comment=H.toString("utf8")})}).then(function(){return Y.stream(W.offsetToStartOfCentralDirectory).pipe(Q),W.extract=function(H){if(!H||!H.path)throw Error("PATH_MISSING");return H.path=wn.resolve(wn.normalize(H.path)),W.files.then(function(X){return OZ.map(X,function(Z){if(Z.type=="Directory")return;var q=wn.join(H.path,Z.path);if(q.indexOf(H.path)!=0)return;var V=H.getWriter?H.getWriter({path:q}):dw1({path:q});return new OZ(function(F,M){Z.stream(H.password).on("error",M).pipe(V).on("close",F).on("error",M)})},{concurrency:H.concurrency>1?H.concurrency:1})})},W.files=OZ.mapSeries(Array(W.numberOfRecords),function(){return Q.pull(46).then(function(H){var X=DZ.parse(H).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return X.offsetToLocalFileHeader+=G,X.lastModifiedDateTime=mw1(X.lastModifiedDate,X.lastModifiedTime),Q.pull(X.fileNameLength).then(function(Z){return X.pathBuffer=Z,X.path=Z.toString("utf8"),X.isUnicode=(X.flags&2048)!=0,Q.pull(X.extraFieldLength)}).then(function(Z){return X.extra=nw1(Z,X),Q.pull(X.fileCommentLength)}).then(function(Z){return X.comment=Z,X.type=X.uncompressedSize===0&&/[\/\\]$/.test(X.path)?"Directory":"File",X.stream=function(q){return iw1(Y,X.offsetToLocalFileHeader,q,X)},X.buffer=function(q){return cw1(X.stream(q))},X})})}),OZ.props(W)})}});var SN0=E((ta1,hN0)=>{var vN0=l8(),qP=j2(),BZ=_N0(),VP=I0("stream");if(!VP.Writable||!VP.Writable.prototype.destroy)VP=E7();hN0.exports={buffer:function($,Y){var z={stream:function(U,Q){var J=VP.PassThrough();return J.end($.slice(U,Q)),J},size:function(){return qP.resolve($.length)}};return BZ(z,Y)},file:function($,Y){var z={stream:function(U,Q){return vN0.createReadStream($,{start:U,end:Q&&U+Q})},size:function(){return new qP(function(U,Q){vN0.stat($,function(J,I){if(J)Q(J);else U(I.size)})})}};return BZ(z,Y)},url:function($,Y,z){if(typeof Y==="string")Y={url:Y};if(!Y.url)throw"URL missing";Y.headers=Y.headers||{};var U={stream:function(Q,J){var I=Object.create(Y);return I.headers=Object.create(Y.headers),I.headers.range="bytes="+Q+"-"+(J?J:""),$(I)},size:function(){return new qP(function(Q,J){var I=$(Y);I.on("response",function(K){if(I.abort(),!K.headers["content-length"])J(Error("Missing content length header"));else Q(K.headers["content-length"])}).on("error",J)})}};return BZ(U,z)},s3:function($,Y,z){var U={size:function(){return new qP(function(Q,J){$.headObject(Y,function(I,K){if(I)J(I);else Q(K.ContentLength)})})},stream:function(Q,J){var I={};for(var K in Y)I[K]=Y[K];return I.Range="bytes="+Q+"-"+(J?J:""),$.getObject(I).createReadStream()}};return BZ(U,z)},custom:function($,Y){return BZ($,Y)}}});var gN0=E((sw1)=>{RL0();SL0();_g();sw1.Parse=iB();sw1.ParseOne=rM0();sw1.Extract=DN0();sw1.Open=SN0()});var rN0=E((OM1,_7)=>{/*! +actual: `+$._bytesWritten);HP.prototype._finish.call($)}});var Xn=E((ua1,HN0)=>{HN0.exports=S2;var Hn=cI(),Zw1=WZ(),qw1=X1(),Vw1=GP(),Lw1=I0("fs");qw1(S2,Hn);function S2($){var Y=this;if(!(Y instanceof S2))throw Error("ProxyWriter must be called as constructor.");Y.props=$,Y._needDrain=!1,Hn.call(Y,$)}S2.prototype._stat=function(){var $=this,Y=$.props,z=Y.follow?"stat":"lstat";Lw1[z](Y.path,function(U,Q){var J;if(U||!Q)J="File";else J=Zw1(Q);Y[J]=!0,Y.type=$.type=J,$._old=Q,$._addProxy(Hn(Y,Q))})};S2.prototype._addProxy=function($){var Y=this;if(Y._proxy)return Y.error("proxy already set");Y._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(U){$.on(U,Y.emit.bind(Y,U))}),Y.emit("proxy",$);var z=Y._buffer;if(z.forEach(function(U){$[U[0]].apply($,U[1])}),Y._buffer.length=0,Y._needsDrain)Y.emit("drain")};S2.prototype.add=function($){if(Vw1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};S2.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};S2.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var cI=E((ba1,ON0)=>{ON0.exports=f$;var x$=l8(),Fw1=X1(),ww1=$n(),Mw1=Jn(),LZ=I0("path"),ZN0=process.platform==="win32"?0:process.umask(),qN0=WZ(),VN0=aB();Fw1(f$,VN0);f$.dirmode=parseInt("0777",8)&~ZN0;f$.filemode=parseInt("0666",8)&~ZN0;var Ow1=Kn(),Nw1=Gn(),Dw1=Wn(),Bw1=Xn();function f$($,Y){var z=this;if(typeof $==="string")$={path:$};var U=qN0($),Q=f$;switch(U){case"Directory":Q=Ow1;break;case"File":Q=Dw1;break;case"Link":case"SymbolicLink":Q=Nw1;break;case null:default:Q=Bw1;break}if(!(z instanceof Q))return new Q($);if(VN0.call(z),!$.path)z.error("Must provide a path",null,!0);if(z.type=$.type,z.props=$,z.depth=$.depth||0,z.clobber=$.clobber===!1?$.clobber:!0,z.parent=$.parent||null,z.root=$.root||$.parent&&$.parent.root||z,z._path=z.path=LZ.resolve($.path),process.platform==="win32"){if(z.path=z._path=z.path.replace(/\?/g,"_"),z._path.length>=260)z._swallowErrors=!0,z._path="\\\\?\\"+z.path.replace(/\//g,"\\")}if(z.basename=LZ.basename($.path),z.dirname=LZ.dirname($.path),z.linkpath=$.linkpath||null,$.parent=$.root=null,z.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);z.readable=!1,z.writable=!0,z._buffer=[],z.ready=!1,z.filter=typeof $.filter==="function"?$.filter:null,z._stat(Y)}f$.prototype._create=function(){var $=this;x$[$.props.follow?"stat":"lstat"]($._path,function(Y){if(Y)return $.warn("Cannot create "+$._path+` +Unsupported type: `+$.type,"ENOTSUP");$._finish()})};f$.prototype._stat=function($){var Y=this,z=Y.props,U=z.follow?"stat":"lstat",Q=Y._proxy||Y;if($)J(null,$);else x$[U](Y._path,J);function J(I,K){if(Y.filter&&!Y.filter.call(Q,Q,K)){Y._aborted=!0,Y.emit("end"),Y.emit("close");return}if(I||!K)return Zn(Y);Y._old=K;var G=qN0(K);if(G!==Y.type||Y.type==="File"&&K.nlink>1)return ww1(Y._path,function(W){if(W)return Y.error(W);Y._old=null,Zn(Y)});Zn(Y)}};function Zn($){Mw1(LZ.dirname($._path),f$.dirmode,function(Y,z){if(Y)return $.error(Y);return $._madeDir=z,$._create()})}function LN0($,Y,z,U,Q){var J=Y.mode,I=Y.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!x$[I])return Q();if(typeof J!=="number")return Q();var K=z.mode&parseInt("0777",8);if(J=J&parseInt("0777",8),J===K)return Q();x$[I](U,J,Q)}function FN0($,Y,z,U,Q){if(process.platform==="win32")return Q();if(!process.getuid||process.getuid()!==0)return Q();if(typeof Y.uid!=="number"&&typeof Y.gid!=="number")return Q();if(z.uid===Y.uid&&z.gid===Y.gid)return Q();var J=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!x$[J])return Q();if(typeof Y.uid!=="number")Y.uid=z.uid;if(typeof Y.gid!=="number")Y.gid=z.gid;x$[J](U,Y.uid,Y.gid,Q)}function wN0($,Y,z,U,Q){if(!x$.utimes||process.platform==="win32")return Q();var J=Y.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(J==="lutimes"&&!x$[J])J="utimes";if(!x$[J])return Q();var{atime:I,mtime:K}=z,G=Y.atime,W=Y.mtime;if(G===void 0)G=I;if(W===void 0)W=K;if(!XN0(G))G=new Date(G);if(!XN0(W))G=new Date(W);if(G.getTime()===I.getTime()&&W.getTime()===K.getTime())return Q();x$[J](U,G,W,Q)}f$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var Y=0,z=null,U=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),J($._old);else{var Q=$.props.follow?"stat":"lstat";x$[Q]($._path,function(K,G){if(K)if(K.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(K);J($._old=G)})}return;function J(K){Y+=3,LN0($,$.props,K,$._path,I("chmod")),FN0($,$.props,K,$._path,I("chown")),wN0($,$.props,K,$._path,I("utimes"))}function I(K){return function(G){if(z)return;if(G)return G.fstream_finish_call=K,$.error(z=G);if(--Y>0)return;if(U)return;if(U=!0,!$._madeDir)return W();else MN0($,$._path,W);function W(H){if(H)return H.fstream_finish_call="setupMadeDir",$.error(H);$.emit("end"),$.emit("close")}}}};function MN0($,Y,z){var U=$._madeDir,Q=LZ.dirname(Y);Pw1($,Q,function(J){if(J)return z(J);if(Q===U)return z();MN0($,Q,z)})}function Pw1($,Y,z){var U={};Object.keys($.props).forEach(function(K){if(U[K]=$.props[K],K==="mode"&&$.type!=="Directory")U[K]=U[K]|parseInt("0111",8)});var Q=3,J=null;x$.stat(Y,function(K,G){if(K)return z(J=K);LN0($,U,G,Y,I),FN0($,U,G,Y,I),wN0($,U,G,Y,I)});function I(K){if(J)return;if(K)return z(J=K);if(--Q===0)return z()}}f$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};f$.prototype.add=function(){this.error("Can't add to non-Directory type")};f$.prototype.write=function(){return!0};function Aw1($){return Object.prototype.toString.call($)}function XN0($){return typeof $==="object"&&Aw1($)==="[object Date]"}});var wn=E((Tw1)=>{Tw1.Abstract=aB();Tw1.Reader=ez();Tw1.Writer=cI();Tw1.File={Reader:mc(),Writer:Wn()};Tw1.Dir={Reader:dc(),Writer:Kn()};Tw1.Link={Reader:nc(),Writer:Gn()};Tw1.Proxy={Reader:oc(),Writer:Xn()};Tw1.Reader.Dir=Tw1.DirReader=Tw1.Dir.Reader;Tw1.Reader.File=Tw1.FileReader=Tw1.File.Reader;Tw1.Reader.Link=Tw1.LinkReader=Tw1.Link.Reader;Tw1.Reader.Proxy=Tw1.ProxyReader=Tw1.Proxy.Reader;Tw1.Writer.Dir=Tw1.DirWriter=Tw1.Dir.Writer;Tw1.Writer.File=Tw1.FileWriter=Tw1.File.Writer;Tw1.Writer.Link=Tw1.LinkWriter=Tw1.Link.Writer;Tw1.Writer.Proxy=Tw1.ProxyWriter=Tw1.Proxy.Writer;Tw1.collect=GP()});var DN0=E((sa1,NN0)=>{NN0.exports=Sw1;var Cw1=cB(),Rw1=wn().Writer,Mn=I0("path"),_w1=I0("stream"),vw1=bc(),hw1=j2();function Sw1($){$.path=Mn.resolve(Mn.normalize($.path));var Y=new Cw1($),z=new _w1.Writable({objectMode:!0});z._write=function(Q,J,I){if(Q.type=="Directory")return I();var K=Mn.join($.path,Q.path);if(K.indexOf($.path)!=0)return I();let G=$.getWriter?$.getWriter({path:K}):Rw1({path:K});Q.pipe(G).on("error",I).on("close",I)};var U=vw1(Y,z);return Y.once("crx-header",function(Q){U.crxHeader=Q}),Y.pipe(z).on("finish",function(){U.emit("close")}),U.promise=function(){return new hw1(function(Q,J){U.on("close",Q),U.on("error",J)})},U}});var BN0=E((aa1,XP)=>{var j6=function($){var Y=1e7,z=7,U=9007199254740992,Q=Z(U),J="0123456789abcdefghijklmnopqrstuvwxyz",I=typeof BigInt==="function";function K(P,v,u,r){if(typeof P>"u")return K[0];if(typeof v<"u")return+v===10&&!u?B0(P):f0(P,v,u,r);return B0(P)}function G(P,v){this.value=P,this.sign=v,this.isSmall=!1}G.prototype=Object.create(K.prototype);function W(P){this.value=P,this.sign=P<0,this.isSmall=!0}W.prototype=Object.create(K.prototype);function H(P){this.value=P}H.prototype=Object.create(K.prototype);function X(P){return-U0)return Math.floor(P);return Math.ceil(P)}function w(P,v){var u=P.length,r=v.length,X0=Array(u),J0=0,Z0=Y,O0,P0;for(P0=0;P0=Z0?1:0,X0[P0]=O0-J0*Z0;while(P00)X0.push(J0);return X0}function O(P,v){if(P.length>=v.length)return w(P,v);return w(v,P)}function N(P,v){var u=P.length,r=Array(u),X0=Y,J0,Z0;for(Z0=0;Z00)r[Z0++]=v%X0,v=Math.floor(v/X0);return r}G.prototype.add=function(P){var v=B0(P);if(this.sign!==v.sign)return this.subtract(v.negate());var u=this.value,r=v.value;if(v.isSmall)return new G(N(u,Math.abs(r)),this.sign);return new G(O(u,r),this.sign)},G.prototype.plus=G.prototype.add,W.prototype.add=function(P){var v=B0(P),u=this.value;if(u<0!==v.sign)return this.subtract(v.negate());var r=v.value;if(v.isSmall){if(X(u+r))return new W(u+r);r=Z(Math.abs(r))}return new G(N(r,Math.abs(u)),u<0)},W.prototype.plus=W.prototype.add,H.prototype.add=function(P){return new H(this.value+B0(P).value)},H.prototype.plus=H.prototype.add;function D(P,v){var u=P.length,r=v.length,X0=Array(u),J0=0,Z0=Y,O0,P0;for(O0=0;O0=0)r=D(P,v);else r=D(v,P),u=!u;if(r=q(r),typeof r==="number"){if(u)r=-r;return new W(r)}return new G(r,u)}function A(P,v,u){var r=P.length,X0=Array(r),J0=-v,Z0=Y,O0,P0;for(O0=0;O0=0)},W.prototype.minus=W.prototype.subtract,H.prototype.subtract=function(P){return new H(this.value-B0(P).value)},H.prototype.minus=H.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},W.prototype.negate=function(){var P=this.sign,v=new W(-this.value);return v.sign=!P,v},H.prototype.negate=function(){return new H(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},W.prototype.abs=function(){return new W(Math.abs(this.value))},H.prototype.abs=function(){return new H(this.value>=0?this.value:-this.value)};function B(P,v){var u=P.length,r=v.length,X0=u+r,J0=F(X0),Z0=Y,O0,P0,r0,I1,U1;for(r0=0;r00)r[O0++]=J0%X0,J0=Math.floor(J0/X0);return r}function C(P,v){var u=[];while(v-- >0)u.push(0);return u.concat(P)}function b(P,v){var u=Math.max(P.length,v.length);if(u<=30)return B(P,v);u=Math.ceil(u/2);var r=P.slice(u),X0=P.slice(0,u),J0=v.slice(u),Z0=v.slice(0,u),O0=b(X0,Z0),P0=b(r,J0),r0=b(O(X0,r),O(Z0,J0)),I1=O(O(O0,C(D(D(r0,O0),P0),u)),C(P0,2*u));return V(I1),I1}function k(P,v){return-0.012*P-0.012*v+0.000015*P*v>0}G.prototype.multiply=function(P){var v=B0(P),u=this.value,r=v.value,X0=this.sign!==v.sign,J0;if(v.isSmall){if(r===0)return K[0];if(r===1)return this;if(r===-1)return this.negate();if(J0=Math.abs(r),J0=0;U1--){if(I1=X0-1,P0[U1+r]!==Z0)I1=Math.floor((P0[U1+r]*X0+P0[U1+r-1])/Z0);N1=0,S1=0,N8=r0.length;for(f4=0;f4r)r0=(r0+1)*Z0;O0=Math.ceil(r0/I1);do{if(U1=j(v,O0),t(U1,J0)<=0)break;O0--}while(O0);X0.push(O0),J0=D(J0,U1)}return X0.reverse(),[q(X0),q(J0)]}function x(P,v){var u=P.length,r=F(u),X0=Y,J0,Z0,O0,P0;O0=0;for(J0=u-1;J0>=0;--J0)P0=O0*X0+P[J0],Z0=M(P0/v),O0=P0-Z0*v,r[J0]=Z0|0;return[r,O0|0]}function d(P,v){var u,r=B0(v);if(I)return[new H(P.value/r.value),new H(P.value%r.value)];var X0=P.value,J0=r.value,Z0;if(J0===0)throw Error("Cannot divide by zero");if(P.isSmall){if(r.isSmall)return[new W(M(X0/J0)),new W(X0%J0)];return[K[0],P]}if(r.isSmall){if(J0===1)return[P,K[0]];if(J0==-1)return[P.negate(),K[0]];var O0=Math.abs(J0);if(O0v.length?1:-1;for(var u=P.length-1;u>=0;u--)if(P[u]!==v[u])return P[u]>v[u]?1:-1;return 0}G.prototype.compareAbs=function(P){var v=B0(P),u=this.value,r=v.value;if(v.isSmall)return 1;return t(u,r)},W.prototype.compareAbs=function(P){var v=B0(P),u=Math.abs(this.value),r=v.value;if(v.isSmall)return r=Math.abs(r),u===r?0:u>r?1:-1;return-1},H.prototype.compareAbs=function(P){var v=this.value,u=B0(P).value;return v=v>=0?v:-v,u=u>=0?u:-u,v===u?0:v>u?1:-1},G.prototype.compare=function(P){if(P===1/0)return-1;if(P===-1/0)return 1;var v=B0(P),u=this.value,r=v.value;if(this.sign!==v.sign)return v.sign?1:-1;if(v.isSmall)return this.sign?-1:1;return t(u,r)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,W.prototype.compare=function(P){if(P===1/0)return-1;if(P===-1/0)return 1;var v=B0(P),u=this.value,r=v.value;if(v.isSmall)return u==r?0:u>r?1:-1;if(u<0!==v.sign)return u<0?-1:1;return u<0?1:-1},W.prototype.compareTo=W.prototype.compare,H.prototype.compare=function(P){if(P===1/0)return-1;if(P===-1/0)return 1;var v=this.value,u=B0(P).value;return v===u?0:v>u?1:-1},H.prototype.compareTo=H.prototype.compare,G.prototype.equals=function(P){return this.compare(P)===0},H.prototype.eq=H.prototype.equals=W.prototype.eq=W.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(P){return this.compare(P)!==0},H.prototype.neq=H.prototype.notEquals=W.prototype.neq=W.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(P){return this.compare(P)>0},H.prototype.gt=H.prototype.greater=W.prototype.gt=W.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(P){return this.compare(P)<0},H.prototype.lt=H.prototype.lesser=W.prototype.lt=W.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(P){return this.compare(P)>=0},H.prototype.geq=H.prototype.greaterOrEquals=W.prototype.geq=W.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(P){return this.compare(P)<=0},H.prototype.leq=H.prototype.lesserOrEquals=W.prototype.leq=W.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},W.prototype.isEven=function(){return(this.value&1)===0},H.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},W.prototype.isOdd=function(){return(this.value&1)===1},H.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},W.prototype.isPositive=function(){return this.value>0},H.prototype.isPositive=W.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},W.prototype.isNegative=function(){return this.value<0},H.prototype.isNegative=W.prototype.isNegative,G.prototype.isUnit=function(){return!1},W.prototype.isUnit=function(){return Math.abs(this.value)===1},H.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},W.prototype.isZero=function(){return this.value===0},H.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(P){var v=B0(P);if(v.isZero())return!1;if(v.isUnit())return!0;if(v.compareAbs(2)===0)return this.isEven();return this.mod(v).isZero()},H.prototype.isDivisibleBy=W.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function $0(P){var v=P.abs();if(v.isUnit())return!1;if(v.equals(2)||v.equals(3)||v.equals(5))return!0;if(v.isEven()||v.isDivisibleBy(3)||v.isDivisibleBy(5))return!1;if(v.lesser(49))return!0}function g(P,v){var u=P.prev(),r=u,X0=0,J0,Z0,O0,P0;while(r.isEven())r=r.divide(2),X0++;$:for(O0=0;O0-U)return new W(P-1);return new G(Q,!0)},H.prototype.prev=function(){return new H(this.value-BigInt(1))};var p=[1];while(2*p[p.length-1]<=Y)p.push(2*p[p.length-1]);var e=p.length,y=p[e-1];function s(P){return Math.abs(P)<=Y}G.prototype.shiftLeft=function(P){var v=B0(P).toJSNumber();if(!s(v))throw Error(String(v)+" is too large for shifting.");if(v<0)return this.shiftRight(-v);var u=this;if(u.isZero())return u;while(v>=e)u=u.multiply(y),v-=e-1;return u.multiply(p[v])},H.prototype.shiftLeft=W.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(P){var v,u=B0(P).toJSNumber();if(!s(u))throw Error(String(u)+" is too large for shifting.");if(u<0)return this.shiftLeft(-u);var r=this;while(u>=e){if(r.isZero()||r.isNegative()&&r.isUnit())return r;v=d(r,y),r=v[1].isNegative()?v[0].prev():v[0],u-=e-1}return v=d(r,p[u]),v[1].isNegative()?v[0].prev():v[0]},H.prototype.shiftRight=W.prototype.shiftRight=G.prototype.shiftRight;function Y0(P,v,u){v=B0(v);var r=P.isNegative(),X0=v.isNegative(),J0=r?P.not():P,Z0=X0?v.not():v,O0=0,P0=0,r0=null,I1=null,U1=[];while(!J0.isZero()||!Z0.isZero()){if(r0=d(J0,y),O0=r0[1].toJSNumber(),r)O0=y-1-O0;if(I1=d(Z0,y),P0=I1[1].toJSNumber(),X0)P0=y-1-P0;J0=r0[0],Z0=I1[0],U1.push(u(O0,P0))}var N1=u(r?1:0,X0?1:0)!==0?j6(-1):j6(0);for(var S1=U1.length-1;S1>=0;S1-=1)N1=N1.multiply(y).add(j6(U1[S1]));return N1}G.prototype.not=function(){return this.negate().prev()},H.prototype.not=W.prototype.not=G.prototype.not,G.prototype.and=function(P){return Y0(this,P,function(v,u){return v&u})},H.prototype.and=W.prototype.and=G.prototype.and,G.prototype.or=function(P){return Y0(this,P,function(v,u){return v|u})},H.prototype.or=W.prototype.or=G.prototype.or,G.prototype.xor=function(P){return Y0(this,P,function(v,u){return v^u})},H.prototype.xor=W.prototype.xor=G.prototype.xor;var M0=1073741824,E0=(Y&-Y)*(Y&-Y)|M0;function G0(P){var v=P.value,u=typeof v==="number"?v|M0:typeof v==="bigint"?v|BigInt(M0):v[0]+v[1]*Y|E0;return u&-u}function T0(P,v){if(v.compareTo(P)<=0){var u=T0(P,v.square(v)),r=u.p,X0=u.e,J0=r.multiply(v);return J0.compareTo(P)<=0?{p:J0,e:X0*2+1}:{p:r,e:X0*2}}return{p:j6(1),e:0}}G.prototype.bitLength=function(){var P=this;if(P.compareTo(j6(0))<0)P=P.negate().subtract(j6(1));if(P.compareTo(j6(0))===0)return j6(0);return j6(T0(P,j6(2)).e).add(j6(1))},H.prototype.bitLength=W.prototype.bitLength=G.prototype.bitLength;function b0(P,v){return P=B0(P),v=B0(v),P.greater(v)?P:v}function Y1(P,v){return P=B0(P),v=B0(v),P.lesser(v)?P:v}function a(P,v){if(P=B0(P).abs(),v=B0(v).abs(),P.equals(v))return P;if(P.isZero())return v;if(v.isZero())return P;var u=K[1],r,X0;while(P.isEven()&&v.isEven())r=Y1(G0(P),G0(v)),P=P.divide(r),v=v.divide(r),u=u.multiply(r);while(P.isEven())P=P.divide(G0(P));do{while(v.isEven())v=v.divide(G0(v));if(P.greater(v))X0=v,v=P,P=X0;v=v.subtract(P)}while(!v.isZero());return u.isUnit()?P:P.multiply(u)}function H0(P,v){return P=B0(P).abs(),v=B0(v).abs(),P.divide(a(P,v)).multiply(v)}function L0(P,v,u){P=B0(P),v=B0(v);var r=u||Math.random,X0=Y1(P,v),J0=b0(P,v),Z0=J0.subtract(X0).add(1);if(Z0.isSmall)return X0.add(Math.floor(r()*Z0));var O0=D1(Z0,Y).value,P0=[],r0=!0;for(var I1=0;I1=Z0){if(P0==="1"&&Z0===1)continue;throw Error(P0+" is not a valid digit in base "+v+".")}}}v=B0(v);var r0=[],I1=P[0]==="-";for(J0=I1?1:0;J0"&&J0=0;J0--)r=r.add(P[J0].times(X0)),X0=X0.times(v);return u?r.negate():r}function i0(P,v){if(v=v||J,P"}function D1(P,v){if(v=j6(v),v.isZero()){if(P.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(v.equals(-1)){if(P.isZero())return{value:[0],isNegative:!1};if(P.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-P.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var u=Array.apply(null,Array(P.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return u.unshift([1]),{value:[].concat.apply([],u),isNegative:!1}}var r=!1;if(P.isNegative()&&v.isPositive())r=!0,P=P.abs();if(v.isUnit()){if(P.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(P.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r}}var X0=[],J0=P,Z0;while(J0.isNegative()||J0.compareAbs(v)>=0){Z0=J0.divmod(v),J0=Z0.quotient;var O0=Z0.remainder;if(O0.isNegative())O0=v.minus(O0).abs(),J0=J0.next();X0.push(O0.toJSNumber())}return X0.push(J0.toJSNumber()),{value:X0.reverse(),isNegative:r}}function k1(P,v,u){var r=D1(P,v);return(r.isNegative?"-":"")+r.value.map(function(X0){return i0(X0,u)}).join("")}G.prototype.toArray=function(P){return D1(this,P)},W.prototype.toArray=function(P){return D1(this,P)},H.prototype.toArray=function(P){return D1(this,P)},G.prototype.toString=function(P,v){if(P===$)P=10;if(P!==10||v)return k1(this,P,v);var u=this.value,r=u.length,X0=String(u[--r]),J0="0000000",Z0;while(--r>=0)Z0=String(u[r]),X0+=J0.slice(Z0.length)+Z0;var O0=this.sign?"-":"";return O0+X0},W.prototype.toString=function(P,v){if(P===$)P=10;if(P!=10||v)return k1(this,P,v);return String(this.value)},H.prototype.toString=W.prototype.toString,H.prototype.toJSON=G.prototype.toJSON=W.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,W.prototype.valueOf=function(){return this.value},W.prototype.toJSNumber=W.prototype.valueOf,H.prototype.valueOf=H.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function u1(P){if(X(+P)){var v=+P;if(v===M(v))return I?new H(BigInt(v)):new W(v);throw Error("Invalid integer: "+P)}var u=P[0]==="-";if(u)P=P.slice(1);var r=P.split(/e/i);if(r.length>2)throw Error("Invalid integer: "+r.join("e"));if(r.length===2){var X0=r[1];if(X0[0]==="+")X0=X0.slice(1);if(X0=+X0,X0!==M(X0)||!X(X0))throw Error("Invalid integer: "+X0+" is not a valid exponent.");var J0=r[0],Z0=J0.indexOf(".");if(Z0>=0)X0-=J0.length-Z0-1,J0=J0.slice(0,Z0)+J0.slice(Z0+1);if(X0<0)throw Error("Cannot include negative exponent part for integers");J0+=Array(X0+1).join("0"),P=J0}var O0=/^([0-9][0-9]*)$/.test(P);if(!O0)throw Error("Invalid integer: "+P);if(I)return new H(BigInt(u?"-"+P:P));var P0=[],r0=P.length,I1=z,U1=r0-I1;while(r0>0){if(P0.push(+P.slice(U1,r0)),U1-=I1,U1<0)U1=0;r0-=I1}return V(P0),new G(P0,u)}function b1(P){if(I)return new H(BigInt(P));if(X(P)){if(P!==M(P))throw Error(P+" is not an integer.");return new W(P)}return u1(P.toString())}function B0(P){if(typeof P==="number")return b1(P);if(typeof P==="string")return u1(P);if(typeof P==="bigint")return new H(P);return P}for(var Q0=0;Q0<1000;Q0++)if(K[Q0]=B0(Q0),Q0>0)K[-Q0]=B0(-Q0);return K.one=K[1],K.zero=K[0],K.minusOne=K[-1],K.max=b0,K.min=Y1,K.gcd=a,K.lcm=H0,K.isInstance=function(P){return P instanceof G||P instanceof W||P instanceof H},K.randBetween=L0,K.fromArray=function(P,v,u){return u0(P.map(B0),B0(v||10),u)},K}();if(typeof XP<"u"&&XP.hasOwnProperty("exports"))XP.exports=j6;if(typeof define==="function"&&define.amd)define(function(){return j6})});var TN0=E((ta1,AN0)=>{var g2=BN0(),ZP=I0("stream");if(!ZP.Writable||!ZP.Writable.prototype.destroy)ZP=C7();var qP;function gw1(){var $=3988292384,Y,z,U;qP=[];for(z=0;z<256;z++){Y=z;for(U=0;U<8;U++)Y=Y&1?$^Y>>>1:Y=Y>>>1;qP[z]=Y>>>0}}function PN0($,Y){if(!qP)gw1();if($.charCodeAt)$=$.charCodeAt(0);return g2(Y).shiftRight(8).and(16777215).xor(qP[g2(Y).xor($).and(255)]).value}function nI(){if(!(this instanceof nI))return new nI;this.key0=305419896,this.key1=591751049,this.key2=878082192}nI.prototype.update=function($){this.key0=PN0($,this.key0),this.key1=g2(this.key0).and(255).and(4294967295).add(this.key1),this.key1=g2(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=PN0(g2(this.key1).shiftRight(24).and(255),this.key2)};nI.prototype.decryptByte=function($){var Y=g2(this.key2).or(2);return $=$^g2(Y).multiply(g2(Y^1)).shiftRight(8).and(255),this.update($),$};nI.prototype.stream=function(){var $=ZP.Transform(),Y=this;return $._transform=function(z,U,Q){for(var J=0;J{var yw1=j2(),kw1=TN0(),xw1=xB(),MZ=I0("stream"),fw1=fX(),uw1=I0("zlib"),bw1=bB(),iw1=hI(),cw1=iB();if(!MZ.Writable||!MZ.Writable.prototype.destroy)MZ=C7();jN0.exports=function(Y,z,U,Q){var J=xw1(),I=MZ.PassThrough(),K=Y.stream(z);return K.pipe(J).on("error",function(G){I.emit("error",G)}),I.vars=J.pull(30).then(function(G){var W=fw1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return W.lastModifiedDateTime=cw1(W.lastModifiedDate,W.lastModifiedTime),J.pull(W.fileNameLength).then(function(H){return W.fileName=H.toString("utf8"),J.pull(W.extraFieldLength)}).then(function(H){var X;if(W.extra=bw1(H,W),Q&&Q.compressedSize)W=Q;if(W.flags&1)X=J.pull(12).then(function(Z){if(!U)throw Error("MISSING_PASSWORD");var q=kw1();String(U).split("").forEach(function(M){q.update(M)});for(var V=0;V>8&255:W.crc32>>24&255;if(Z[11]!==F)throw Error("BAD_PASSWORD");return W});return yw1.resolve(X).then(function(){return I.emit("vars",W),W})})}),I.vars.then(function(G){var W=!(G.flags&8)||G.compressedSize>0,H,X=G.compressionMethod?uw1.createInflateRaw():MZ.PassThrough();if(W)I.size=G.uncompressedSize,H=G.compressedSize;else H=iw1.alloc(4),H.writeUInt32LE(134695760,0);var Z=J.stream(H);if(G.decrypt)Z=Z.pipe(G.decrypt.stream());Z.pipe(X).on("error",function(q){I.emit("error",q)}).pipe(I).on("finish",function(){if(K.destroy)K.destroy();else if(K.abort)K.abort();else if(K.close)K.close();else if(K.push)K.push();else console.log("warning - unable to close stream")})}).catch(function(G){I.emit("error",G)}),I}});var _N0=E(($t1,RN0)=>{var DZ=fX(),NZ=xB(),nw1=EN0(),OZ=j2(),pw1=uB(),dw1=bB(),mw1=hI(),On=I0("path"),lw1=wn().Writer,ow1=iB(),CN0=mw1.alloc(4);CN0.writeUInt32LE(101010256,0);function rw1($){var Y=$.stream(0).pipe(NZ());return Y.pull(4).then(function(z){var U=z.readUInt32LE(0);if(U===875721283){var Q;return Y.pull(12).then(function(J){Q=DZ.parse(J).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return Y.pull(Q.pubKeyLength+Q.signatureLength)}).then(function(J){return Q.publicKey=J.slice(0,Q.pubKeyLength),Q.signature=J.slice(Q.pubKeyLength),Q.size=16+Q.pubKeyLength+Q.signatureLength,Q})}})}function sw1($,Y){var z=DZ.parse(Y).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(z.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+z.signature.toString(16));var U=NZ();return $.stream(z.offsetToStartOfCentralDirectory).pipe(U),U.pull(56)}function aw1($){var Y=DZ.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(Y.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+Y.signature.toString(16));return Y}RN0.exports=function(Y,z){var U=NZ(),Q=NZ(),J=z&&z.tailSize||80,I,K,G,W;if(z&&z.crx)K=rw1(Y);return Y.size().then(function(H){return I=H,Y.stream(Math.max(0,H-J)).on("error",function(X){U.emit("error",X)}).pipe(U),U.pull(CN0)}).then(function(){return OZ.props({directory:U.pull(22),crxHeader:K})}).then(function(H){var X=H.directory;if(G=H.crxHeader&&H.crxHeader.size||0,W=DZ.parse(X).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,W.numberOfRecords==65535||W.numberOfRecords==65535||W.offsetToStartOfCentralDirectory==4294967295){let q=I-(J-U.match+20),V=NZ();return Y.stream(q).pipe(V),V.pull(20).then(function(F){return sw1(Y,F)}).then(function(F){W=aw1(F)})}else W.offsetToStartOfCentralDirectory+=G}).then(function(){if(W.commentLength)return U.pull(W.commentLength).then(function(H){W.comment=H.toString("utf8")})}).then(function(){return Y.stream(W.offsetToStartOfCentralDirectory).pipe(Q),W.extract=function(H){if(!H||!H.path)throw Error("PATH_MISSING");return H.path=On.resolve(On.normalize(H.path)),W.files.then(function(X){return OZ.map(X,function(Z){if(Z.type=="Directory")return;var q=On.join(H.path,Z.path);if(q.indexOf(H.path)!=0)return;var V=H.getWriter?H.getWriter({path:q}):lw1({path:q});return new OZ(function(F,M){Z.stream(H.password).on("error",M).pipe(V).on("close",F).on("error",M)})},{concurrency:H.concurrency>1?H.concurrency:1})})},W.files=OZ.mapSeries(Array(W.numberOfRecords),function(){return Q.pull(46).then(function(H){var X=DZ.parse(H).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return X.offsetToLocalFileHeader+=G,X.lastModifiedDateTime=ow1(X.lastModifiedDate,X.lastModifiedTime),Q.pull(X.fileNameLength).then(function(Z){return X.pathBuffer=Z,X.path=Z.toString("utf8"),X.isUnicode=(X.flags&2048)!=0,Q.pull(X.extraFieldLength)}).then(function(Z){return X.extra=dw1(Z,X),Q.pull(X.fileCommentLength)}).then(function(Z){return X.comment=Z,X.type=X.uncompressedSize===0&&/[\/\\]$/.test(X.path)?"Directory":"File",X.stream=function(q){return nw1(Y,X.offsetToLocalFileHeader,q,X)},X.buffer=function(q){return pw1(X.stream(q))},X})})}),OZ.props(W)})}});var SN0=E((Yt1,hN0)=>{var vN0=l8(),VP=j2(),BZ=_N0(),LP=I0("stream");if(!LP.Writable||!LP.Writable.prototype.destroy)LP=C7();hN0.exports={buffer:function($,Y){var z={stream:function(U,Q){var J=LP.PassThrough();return J.end($.slice(U,Q)),J},size:function(){return VP.resolve($.length)}};return BZ(z,Y)},file:function($,Y){var z={stream:function(U,Q){return vN0.createReadStream($,{start:U,end:Q&&U+Q})},size:function(){return new VP(function(U,Q){vN0.stat($,function(J,I){if(J)Q(J);else U(I.size)})})}};return BZ(z,Y)},url:function($,Y,z){if(typeof Y==="string")Y={url:Y};if(!Y.url)throw"URL missing";Y.headers=Y.headers||{};var U={stream:function(Q,J){var I=Object.create(Y);return I.headers=Object.create(Y.headers),I.headers.range="bytes="+Q+"-"+(J?J:""),$(I)},size:function(){return new VP(function(Q,J){var I=$(Y);I.on("response",function(K){if(I.abort(),!K.headers["content-length"])J(Error("Missing content length header"));else Q(K.headers["content-length"])}).on("error",J)})}};return BZ(U,z)},s3:function($,Y,z){var U={size:function(){return new VP(function(Q,J){$.headObject(Y,function(I,K){if(I)J(I);else Q(K.ContentLength)})})},stream:function(Q,J){var I={};for(var K in Y)I[K]=Y[K];return I.Range="bytes="+Q+"-"+(J?J:""),$.getObject(I).createReadStream()}};return BZ(U,z)},custom:function($,Y){return BZ($,Y)}}});var gN0=E((tw1)=>{RL0();SL0();hg();tw1.Parse=cB();tw1.ParseOne=rM0();tw1.Extract=DN0();tw1.Open=SN0()});var rN0=E((DM1,v7)=>{/*! * Tmp * * Copyright (c) 2011-2017 KARASZI Istvan * * MIT Licensed - */var q4=I0("fs"),FP=I0("os"),E6=I0("path"),yN0=I0("crypto"),w9={fs:q4.constants,os:FP.constants},uN0=/XXXXXX/,bN0=(w9.O_CREAT||w9.fs.O_CREAT)|(w9.O_EXCL||w9.fs.O_EXCL)|(w9.O_RDWR||w9.fs.O_RDWR),YM1=FP.platform()==="win32",zM1=w9.EBADF||w9.os.errno.EBADF,UM1=w9.ENOENT||w9.os.errno.ENOENT,pI=[],iN0=q4.rmdirSync.bind(q4),cN0=!1;function QM1($,Y){return q4.rm($,{recursive:!0},Y)}function nN0($){return q4.rmSync($,{recursive:!0})}function Dn($,Y){let z=dI($,Y),U=z[0],Q=z[1];VM1(U,function(J,I){if(J)return Q(J);let K=I.tries;(function G(){try{let W=dN0(I);q4.stat(W,function(H){if(!H){if(K-- >0)return G();return Q(Error("Could not get a unique tmp filename, max tries reached "+W))}Q(null,W)})}catch(W){Q(W)}})()})}function Bn($){let Y=dI($),z=Y[0],U=LM1(z),Q=U.tries;do{let J=dN0(U);try{q4.statSync(J)}catch(I){return J}}while(Q-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function JM1($,Y){let z=dI($,Y),U=z[0],Q=z[1];Dn(U,function(I,K){if(I)return Q(I);q4.open(K,bN0,U.mode||384,function(W,H){if(W)return Q(W);if(U.discardDescriptor)return q4.close(H,function(Z){return Q(Z,K,void 0,On(K,-1,U,!1))});else{let X=U.discardDescriptor||U.detachDescriptor;Q(null,K,H,On(K,X?-1:H,U,!1))}})})}function IM1($){let Y=dI($),z=Y[0],U=z.discardDescriptor||z.detachDescriptor,Q=Bn(z),J=q4.openSync(Q,bN0,z.mode||384);if(z.discardDescriptor)q4.closeSync(J),J=void 0;return{name:Q,fd:J,removeCallback:On(Q,U?-1:J,z,!0)}}function KM1($,Y){let z=dI($,Y),U=z[0],Q=z[1];Dn(U,function(I,K){if(I)return Q(I);q4.mkdir(K,U.mode||448,function(W){if(W)return Q(W);Q(null,K,pN0(K,U,!1))})})}function GM1($){let Y=dI($),z=Y[0],U=Bn(z);return q4.mkdirSync(U,z.mode||448),{name:U,removeCallback:pN0(U,z,!0)}}function WM1($,Y){let z=function(U){if(U&&!Nn(U))return Y(U);Y()};if(0<=$[0])q4.close($[0],function(){q4.unlink($[1],z)});else q4.unlink($[1],z)}function HM1($){let Y=null;try{if(0<=$[0])q4.closeSync($[0])}catch(z){if(!FM1(z)&&!Nn(z))throw z}finally{try{q4.unlinkSync($[1])}catch(z){if(!Nn(z))Y=z}}if(Y!==null)throw Y}function On($,Y,z,U){let Q=LP(HM1,[Y,$],U),J=LP(WM1,[Y,$],U,Q);if(!z.keep)pI.unshift(Q);return U?Q:J}function pN0($,Y,z){let U=Y.unsafeCleanup?QM1:q4.rmdir.bind(q4),Q=Y.unsafeCleanup?nN0:iN0,J=LP(Q,$,z),I=LP(U,$,z,J);if(!Y.keep)pI.unshift(J);return z?J:I}function LP($,Y,z,U){let Q=!1;return function J(I){if(!Q){let K=U||J,G=pI.indexOf(K);if(G>=0)pI.splice(G,1);if(Q=!0,z||$===iN0||$===nN0)return $(Y);else return $(Y,I||function(){})}}}function XM1(){if(!cN0)return;while(pI.length)try{pI[0]()}catch($){}}function kN0($){let Y=[],z=null;try{z=yN0.randomBytes($)}catch(U){z=yN0.pseudoRandomBytes($)}for(let U=0;U<$;U++)Y.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[z[U]%62]);return Y.join("")}function r8($){return typeof $>"u"}function dI($,Y){if(typeof $==="function")return[{},$];if(r8($))return[{},Y];let z={};for(let U of Object.getOwnPropertyNames($))z[U]=$[U];return[z,Y]}function ZM1($,Y,z){let U=E6.isAbsolute($)?$:E6.join(Y,$);q4.stat(U,function(Q){if(Q)q4.realpath(E6.dirname(U),function(J,I){if(J)return z(J);z(null,E6.join(I,E6.basename(U)))});else q4.realpath(U,z)})}function qM1($,Y){let z=E6.isAbsolute($)?$:E6.join(Y,$);try{return q4.statSync(z),q4.realpathSync(z)}catch(U){let Q=q4.realpathSync(E6.dirname(z));return E6.join(Q,E6.basename(z))}}function dN0($){let Y=$.tmpdir;if(!r8($.name))return E6.join(Y,$.dir,$.name);if(!r8($.template))return E6.join(Y,$.dir,$.template).replace(uN0,kN0(6));let z=[$.prefix?$.prefix:"tmp","-",process.pid,"-",kN0(12),$.postfix?"-"+$.postfix:""].join("");return E6.join(Y,$.dir,z)}function Mn($,Y){if(typeof Y!=="string")throw Error(`${$} option must be a string, got "${typeof Y}".`);if(Y.includes(".."))throw Error("Relative value not allowed");return Y}function mN0($){if(!r8($.name)){let Y=$.name;if(E6.isAbsolute(Y))throw Error(`name option must not contain an absolute path, found "${Y}".`);let z=E6.basename(Y);if(z===".."||z==="."||z!==Y)throw Error(`name option must not contain a path, found "${Y}".`)}if(!r8($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(uN0))throw Error(`Invalid template, found "${$.template}".`)}if(!r8($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=r8($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=r8($.prefix)?"":Mn("prefix",$.prefix),$.postfix=r8($.postfix)?"":Mn("postfix",$.postfix),$.template=r8($.template)?void 0:Mn("template",$.template)}function xN0($,Y,z,U){if(r8(Y))return U(null);ZM1(Y,z,function(Q,J){if(Q)return U(Q);let I=E6.relative(z,J);if(I.startsWith("..")||E6.isAbsolute(I))return U(Error(`${$} option must be relative to "${z}", found "${I}".`));U(null,I)})}function fN0($,Y,z){if(r8(Y))return;let U=qM1(Y,z),Q=E6.relative(z,U);if(Q.startsWith("..")||E6.isAbsolute(Q))throw Error(`${$} option must be relative to "${z}", found "${Q}".`);return Q}function VM1($,Y){MM1($,function(z,U){if(z)return Y(z);$.tmpdir=U;try{mN0($,U)}catch(Q){return Y(Q)}xN0("dir",$.dir,U,function(Q,J){if(Q)return Y(Q);$.dir=r8(J)?"":J,xN0("template",$.template,U,function(I,K){if(I)return Y(I);$.template=K,Y(null,$)})})})}function LM1($){let Y=$.tmpdir=oN0($);mN0($,Y);let z=fN0("dir",$.dir,Y);return $.dir=r8(z)?"":z,$.template=fN0("template",$.template,Y),$}function FM1($){return lN0($,-zM1,"EBADF")}function Nn($){return lN0($,-UM1,"ENOENT")}function lN0($,Y,z){return YM1?$.code===z:$.code===z&&$.errno===Y}function wM1(){cN0=!0}function MM1($,Y){return q4.realpath($&&$.tmpdir||FP.tmpdir(),Y)}function oN0($){return q4.realpathSync($&&$.tmpdir||FP.tmpdir())}process.addListener("exit",XM1);Object.defineProperty(OM1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return oN0()}});OM1.dir=KM1;OM1.dirSync=GM1;OM1.file=JM1;OM1.fileSync=IM1;OM1.tmpName=Dn;OM1.tmpNameSync=Bn;OM1.setGracefulCleanup=wM1});var aN0=E(($t1,sN0)=>{sN0.exports=async function*(Y){let z=[];Y.on("data",(K)=>z.push(K));let U,Q=new Promise((K)=>U=K),J=!1;Y.on("end",()=>{J=!0,U()});let I=!1;Y.on("error",(K)=>{I=K,U()});while(!J||z.length>0){if(z.length===0)Y.resume(),await Promise.race([EM1(Y,"data"),Q]);else Y.pause(),yield z.shift();if(I)throw I}U()};function EM1($,Y){return new Promise((z)=>{let U=!1,Q=()=>{if(!U)U=!0,$.removeListener(Y,Q),z()};$.addListener(Y,Q)})}});var zD0=E((Yt1,YD0)=>{var{EventEmitter:CM1}=I0("events"),RM1=_H(),_M1=Y6(),wP=X8(),tN0=i4(),vM1=e9(),hM1=MM(),eN0=NM();class $D0 extends CM1{constructor({workbook:$,id:Y,iterator:z,options:U}){super();this.workbook=$,this.id=Y,this.iterator=z,this.options=U||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new vM1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=tN0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new eN0(this,Y++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){_M1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:Y,value:z}of $)this.emit(Y,z);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:Y,value:z}of $)if(Y==="row")yield z}async*parse(){let{iterator:$,options:Y}=this,z=!1,U=!1,Q=null;switch(Y.worksheets){case"emit":z=!0;break;case"prep":break;default:break}switch(Y.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=Q={};break;default:break}if(!z&&!U&&!Q)return;let{sharedStrings:J,styles:I,properties:K}=this.workbook,G=!1,W=!1,H=!1,X=null,Z=null,q=null,V=null;for await(let F of RM1($)){let M=[];for(let{eventType:w,value:O}of F)if(w==="opentag"){let D=O;if(z)switch(D.name){case"cols":G=!0,X=[];break;case"sheetData":W=!0;break;case"col":if(G)X.push({min:parseInt(D.attributes.min,10),max:parseInt(D.attributes.max,10),width:parseFloat(D.attributes.width),styleId:parseInt(D.attributes.style||"0",10)});break;case"row":if(W){let N=parseInt(D.attributes.r,10);if(Z=new hM1(this,N),D.attributes.ht)Z.height=parseFloat(D.attributes.ht);if(D.attributes.s){let A=parseInt(D.attributes.s,10),T=I.getStyleModel(A);if(T)Z.style=T}}break;case"c":if(Z)q={ref:D.attributes.r,s:parseInt(D.attributes.s,10),t:D.attributes.t};break;case"f":if(q)V=q.f={text:""};break;case"v":if(q)V=q.v={text:""};break;case"is":case"t":if(q)V=q.v={text:""};break;case"mergeCell":break;default:break}if(U||Q)switch(D.name){case"hyperlinks":H=!0;break;case"hyperlink":if(H){let N={ref:D.attributes.ref,rId:D.attributes["r:id"]};if(U)M.push({eventType:"hyperlink",value:N});else Q[N.ref]=N}break;default:break}}else if(w==="text"){if(z){if(V)V.text+=O}}else if(w==="closetag"){let D=O;if(z)switch(D.name){case"cols":G=!1,this._columns=eN0.fromModel(X);break;case"sheetData":W=!1;break;case"row":this._dimensions.expandRow(Z),M.push({eventType:"row",value:Z}),Z=null;break;case"c":if(Z&&q){let N=tN0.decodeAddress(q.ref),A=Z.getCell(N.col);if(q.s){let T=I.getStyleModel(q.s);if(T)A.style=T}if(q.f){let T={formula:q.f.text};if(q.v)if(q.t==="str")T.result=wP.xmlDecode(q.v.text);else T.result=parseFloat(q.v.text);A.value=T}else if(q.v)switch(q.t){case"s":{let T=parseInt(q.v.text,10);if(J)A.value=J[T];else A.value={sharedString:T};break}case"inlineStr":case"str":A.value=wP.xmlDecode(q.v.text);break;case"e":A.value={error:q.v.text};break;case"b":A.value=parseInt(q.v.text,10)!==0;break;default:if(wP.isDateFmt(A.numFmt))A.value=wP.excelToDate(parseFloat(q.v.text),K.model&&K.model.date1904);else A.value=parseFloat(q.v.text);break}if(Q){let T=Q[q.ref];if(T)A.text=A.value,A.value=void 0,A.hyperlink=T}q=null}break;default:break}if(U||Q)switch(D.name){case"hyperlinks":H=!1;break;default:break}}if(M.length>0)yield M}}}YD0.exports=$D0});var JD0=E((zt1,QD0)=>{var{EventEmitter:SM1}=I0("events"),gM1=_H(),yM1=G5(),kM1=e3();class UD0 extends SM1{constructor({workbook:$,id:Y,iterator:z,options:U}){super();this.workbook=$,this.id=Y,this.iterator=z,this.options=U}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:Y}=this,z=!1,U=null;switch(Y.hyperlinks){case"emit":z=!0;break;case"cache":this.hyperlinks=U={};break;default:break}if(!z&&!U){this.emit("finished");return}try{for await(let Q of gM1($))for(let{eventType:J,value:I}of Q)if(J==="opentag"){let K=I;if(K.name==="Relationship"){let G=K.attributes.Id;switch(K.attributes.Type){case kM1.Hyperlink:{let W={type:yM1.RelationshipType.Styles,rId:G,target:K.attributes.Target,targetMode:K.attributes.TargetMode};if(z)this.emit("hyperlink",W);else U[W.rId]=W}break;default:break}}}this.emit("finished")}catch(Q){this.emit("error",Q)}}}QD0.exports=UD0});var WD0=E((Ut1,GD0)=>{var Pn=I0("fs"),{EventEmitter:xM1}=I0("events"),{PassThrough:fM1,Readable:uM1}=E8(),bM1=I0("stream"),iM1=gN0(),KD0=rN0(),UU=aN0(),cM1=_H(),ID0=aO(),nM1=UN(),pM1=YN(),dM1=zD0(),mM1=JD0();KD0.setGracefulCleanup();class An extends xM1{constructor($,Y={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...Y},this.styles=new ID0,this.styles.init()}_getStream($){if($ instanceof bM1.Readable||$ instanceof uM1)return $;if(typeof $==="string")return Pn.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,Y){try{for await(let{eventType:z,value:U}of this.parse($,Y))switch(z){case"shared-strings":this.emit(z,U);break;case"worksheet":this.emit(z,U),await U.read();break;case"hyperlinks":this.emit(z,U);break}this.emit("end"),this.emit("finished")}catch(z){this.emit("error",z)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:Y}of this.parse())if($==="worksheet")yield Y}async*parse($,Y){if(Y)this.options=Y;let z=this.stream=this._getStream($||this.input),U=iM1.Parse({forceStream:!0});z.pipe(U);let Q=[];for await(let J of UU(U)){let I,K;switch(J.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(J);break;case"xl/workbook.xml":await this._parseWorkbook(J);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(J);break;case"xl/styles.xml":await this._parseStyles(J);break;default:if(J.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(I=J.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),K=I[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(UU(J),K);else await new Promise((G,W)=>{KD0.file((H,X,Z,q)=>{if(H)return W(H);Q.push({sheetNo:K,path:X,tempFileCleanupCallback:q});let V=Pn.createWriteStream(X);return V.on("error",W),J.pipe(V),V.on("finish",()=>{return G()})})});else if(J.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))I=J.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),K=I[1],yield*this._parseHyperlinks(UU(J),K);break}J.autodrain()}for(let{sheetNo:J,path:I,tempFileCleanupCallback:K}of Q){let G=Pn.createReadStream(I);if(!G[Symbol.asyncIterator])G=G.pipe(new fM1);yield*this._parseWorksheet(G,J),K()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let Y=new pM1;this.workbookRels=await Y.parseStream(UU($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let Y=new nM1;await Y.parseStream(UU($)),this.properties=Y.map.workbookPr,this.model=Y.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let Y=null,z=[],U=0,Q=null;for await(let J of cM1(UU($)))for(let{eventType:I,value:K}of J)if(I==="opentag"){let G=K;switch(G.name){case"b":Q=Q||{},Q.bold=!0;break;case"charset":Q=Q||{},Q.charset=parseInt(G.attributes.charset,10);break;case"color":if(Q=Q||{},Q.color={},G.attributes.rgb)Q.color.argb=G.attributes.argb;if(G.attributes.val)Q.color.argb=G.attributes.val;if(G.attributes.theme)Q.color.theme=G.attributes.theme;break;case"family":Q=Q||{},Q.family=parseInt(G.attributes.val,10);break;case"i":Q=Q||{},Q.italic=!0;break;case"outline":Q=Q||{},Q.outline=!0;break;case"rFont":Q=Q||{},Q.name=G.value;break;case"si":Q=null,z=[],Y=null;break;case"sz":Q=Q||{},Q.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":Y=null;break;case"u":Q=Q||{},Q.underline=!0;break;case"vertAlign":Q=Q||{},Q.vertAlign=G.attributes.val;break}}else if(I==="text")Y=Y?Y+K:K;else if(I==="closetag")switch(K.name){case"r":z.push({font:Q,text:Y}),Q=null,Y=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(z.length?{richText:z}:Y);else if(this.options.sharedStrings==="emit")yield{index:U++,text:z.length?{richText:z}:Y};z=[],Q=null,Y=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new ID0,await this.styles.parseStream(UU($))}*_parseWorksheet($,Y){this._emitEntry({type:"worksheet",id:Y});let z=new dM1({workbook:this,id:Y,iterator:$,options:this.options}),U=(this.workbookRels||[]).find((J)=>J.Target===`worksheets/sheet${Y}.xml`),Q=U&&(this.model.sheets||[]).find((J)=>J.rId===U.Id);if(Q)z.id=Q.id,z.name=Q.name,z.state=Q.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:z}}*_parseHyperlinks($,Y){this._emitEntry({type:"hyperlinks",id:Y});let z=new mM1({workbook:this,id:Y,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:z}}}An.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};GD0.exports=An});var ZD0=E((Qt1,XD0)=>{var HD0={Workbook:xG0(),ModelContainer:bG0(),stream:{xlsx:{WorkbookWriter:EL0(),WorkbookReader:WD0()}}};Object.assign(HD0,G5());XD0.exports=HD0});var PZ=E((Jt1,qD0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");qD0.exports=ZD0()});var VD0,LD0,N5,lM1,oM1,rM1,sM1,aM1,Kt1,Gt1,Wt1,Ht1,Xt1;var Tn=o(()=>{B$();VD0={"freeflow.submit":"提交送审","freeflow.agree":"审批同意","freeflow.autoAgree":"自动同意","freeflow.reject":"审批驳回","freeflow.back":"审批退回","freeflow.print":"打印单据","freeflow.retract":"单据撤回","freeflow.addnode":"加签/转交","freeflow.comment":"发表评论","freeflow.pay":"支付成功","freeflow.paying":"发起支付","freeflow.carbonCopy":"抄送单据","freeflow.cc":"抄送单据"},LD0={APPROVING:"审批中",APPROVED:"审批通过",REJECTED:"审批驳回",REVOKED:"已撤回",CANCELED:"已取消",CANCELLED:"已取消",SKIPPED:"已跳过",SUBMITTED:"已提交",PENDING:"待审批",WAITING:"待处理",COMPLETED:"已完成",DRAFT:"草稿",PAID:"已支付",PAYING:"支付中"},N5=L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}),lM1=L.object({id:L.string().optional(),nodeId:L.string().optional(),time:L.number().optional(),durationMs:L.number().optional(),state:L.string().optional(),rawState:L.string().optional(),action:L.string().optional(),rawAction:L.string().optional(),nodeName:L.string().optional(),comment:L.string().optional(),rawComment:L.string().optional(),automatic:L.boolean().default(!1),isEbot:L.boolean().default(!1),skipped:L.boolean().default(!1),operator:N5.optional(),nextOperators:L.array(N5).default([]),rejectTargetNodeName:L.string().optional(),rejectTargetOperator:N5.optional(),resubmitRuleText:L.string().optional(),isModification:L.boolean().default(!1)}),oM1=L.object({id:L.string().optional(),name:L.string().optional(),type:L.string().optional(),state:L.enum(["当前","后续","已完成"]).default("后续"),isCurrent:L.boolean().default(!1),approver:N5.optional(),approvers:L.array(N5).default([])}),rM1=L.object({rejectionNum:L.number().int().nonnegative().default(0),submitCount:L.number().int().positive().default(1),sourceFlowVersion:L.union([L.string(),L.number()]).optional(),isModifiedAfterReject:L.boolean().default(!1),retractCount:L.number().int().nonnegative().default(0),isResubmittedAfterRetract:L.boolean().default(!1)}),sM1=L.object({nodeName:L.string().optional(),operator:N5.optional(),action:L.string().optional(),rawAction:L.string().optional(),time:L.number().optional(),comment:L.string(),isEbot:L.boolean().default(!1)}),aM1=L.object({time:L.number().optional(),nodeName:L.string().optional(),operator:N5.optional(),isEbot:L.boolean().default(!1),reason:L.string(),rawComment:L.string().optional(),fromNodeName:L.string().optional(),targetNodeName:L.string().optional(),targetOperator:N5.optional(),resubmitRuleText:L.string().optional()}),Kt1=L.object({backlogId:L.string(),flowId:L.string().optional(),billCode:L.string().optional(),title:L.string().optional(),state:L.string().optional(),rawState:L.string().optional(),currentNode:L.string().optional(),specification:L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}).optional(),submitter:N5.optional(),owner:N5.optional(),submitDate:L.number().optional(),updateTime:L.number().optional(),history:L.array(lM1),pending:L.array(oM1),metrics:rM1,staffOpinions:L.array(sM1),rejections:L.array(aM1),raw:L.record(L.string(),L.unknown()).optional()}),Gt1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),Wt1=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),Ht1=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough(),Xt1=L.object({recordId:L.string(),sourceDocumentSN:L.string().optional(),taskMode:L.string().optional(),aiDecision:L.string().optional(),aiAction:L.string().optional(),eHumanAction:L.string(),eHumanComment:L.string(),auditDrift:L.boolean().default(!1),auditDriftReason:L.string().optional(),operator:N5.optional()})});function FD0($,Y){let z=P$($.domain||"https://app.ekuaibao.com");return K5.create({prefix:z,timeout:30000,searchParams:{accessToken:$.accessToken},headers:{...Y},hooks:{beforeError:[async({error:U})=>{let Q=U instanceof D6?await U.response.text().catch(()=>""):"";return U.message=`${U.message}${Q?`: ${Q}`:""}`,U}]}})}async function mI($,Y){if($.source.type!=="hose")throw Error(`Unsupported Hose source type: ${$.source.type}. Expected 'hose'.`);let z=await iQ($);return FD0({domain:$.source.domain,accessToken:z},Y)}var MP=o(()=>{fQ();s9()});var OP=o(()=>{s9()});var wD0=o(()=>{MP();OP();MP();OP()});var g1,M9,u$,$O1,MD0,OD0,YO1,ND0,zO1,DD0,UO1,BD0,QO1,jn;var En=o(()=>{B$();g1=L.preprocess(($)=>$===null?void 0:$,L.string().optional()),M9=L.preprocess(($)=>$===null?void 0:$,L.boolean().optional()),u$=L.preprocess(($)=>$===null?void 0:$,L.number().optional()),$O1=L.object({nodeId:g1,nodeName:g1,nextId:g1,nextName:g1,comment:g1,isUrgent:M9,isEbotNode:M9,isAuto:M9,isSkip:M9,skipped:M9,counterSign:M9,nextCounterSign:M9,complete:M9}).passthrough(),MD0=L.object({id:g1,action:g1,state:g1,operatorId:g1,nextOperatorId:g1,nextOperatorIds:L.preprocess(($)=>Array.isArray($)?$:[],L.array(L.string())).default([]),time:u$,attributes:L.preprocess(($)=>$===null?void 0:$,$O1.optional())}).passthrough(),OD0=L.object({code:g1,title:g1,submitterId:g1,submitDate:u$,expenseDate:u$,rejectionNum:L.preprocess(($)=>$===null?void 0:$,L.union([L.number(),L.string()]).optional()),reviewStatus:g1,specificationId:g1,payMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),expenseMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),details:L.preprocess(($)=>$===null?void 0:$,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),YO1=L.object({id:L.string(),version:u$,state:g1,flowType:g1,formType:g1,ownerId:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,OD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(MD0)).default([]),actions:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.array(L.string())).optional())}).passthrough(),ND0=L.object({value:L.preprocess(($)=>$===null?void 0:$,YO1.optional())}).passthrough(),zO1=L.object({id:L.string(),flowId:g1,nodeId:g1,nodeName:g1,ownerId:g1,state:g1,logId:u$,action:g1,createTime:u$,updateTime:u$,isUrgent:M9}).passthrough(),DD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(zO1)).default([])}).passthrough(),UO1=L.object({id:g1,flowId:g1,version:u$,state:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,OD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(MD0)).default([]),modifyFlowLog:L.preprocess(($)=>Array.isArray($)?$:void 0,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),BD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(UO1)).default([])}).passthrough(),QO1=L.object({id:L.string(),name:g1,enName:g1,nickName:g1,code:g1,cellphone:g1,email:g1,active:M9,userId:g1,defaultDepartment:g1}).passthrough(),jn=L.object({items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(QO1)).default([])}).passthrough()});async function PD0($,Y){try{let z=await $.get("api/openapi/v1.1/flowDetails",{searchParams:{flowId:Y}}).json();return ND0.parse(z).value}catch(z){if(z instanceof D6&&(z.response.status===404||z.response.status===412))return;throw z}}async function AD0($,Y){try{let z=await $.get("api/openapi/v1.1/flowDetails/allLogs",{searchParams:{flowId:Y}}).json();return DD0.parse(z).items}catch(z){if(z instanceof D6&&(z.response.status===404||z.response.status===412))return[];throw z}}async function TD0($,Y,z){try{let U=await $.get("api/openapi/v1/flow/versioned",{searchParams:{flow_id:Y,pageNum:z?.pageNum??1,pageSize:z?.pageSize??20,convertFeeType:z?.convertFeeType??!0}}).json();return BD0.parse(U).items}catch(U){if(U instanceof D6&&(U.response.status===404||U.response.status===412))return[];throw U}}async function JO1($,Y){if(!Y.conditionIds||Y.conditionIds.length===0)return[];try{let z=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:Y.conditionIds.slice(0,100)}}).json();return jn.parse(z).items}catch(z){if(Y.conditionIds.length>1){let U=[];for(let Q of Y.conditionIds)try{let J=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:[Q]}}).json(),I=jn.parse(J);U.push(...I.items)}catch{}return U}return[]}}async function Cn($,Y,z){let[U,Q,J]=await Promise.all([PD0($,Y),AD0($,Y).catch(()=>[]),TD0($,Y).catch(()=>[])]),I=z??new Map,K=[],G=(H)=>{if(H&&typeof H==="string"&&H!=="ebot"&&!I.has(H))K.push(H)};for(let H of Q)G(H.ownerId);for(let H of U?.logs||[])G(H.operatorId),G(H.nextOperatorId);let W=[...new Set(K)];if(W.length>0)try{let H=await JO1($,{type:"STAFFID",conditionIds:W});for(let X of H){if(X.id)I.set(X.id,X);if(X.cellphone)I.set(X.cellphone,X)}}catch{}return{flowDetails:U,allLogs:Q,versions:J,staffMap:I}}var Rn=o(()=>{fQ();En()});var IO1,ht1,St1;var _n=o(()=>{B$();IO1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),ht1=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),St1=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough()});var NP=o(()=>{_n()});var ED0=o(()=>{Rn();NP();NP()});var vn=o(()=>{En();MP();Rn()});var hn=o(()=>{_n();OP();NP()});function LO1($){if(!$||typeof $!=="string")return;let Y=$.replace(/<[^>]*>/g,"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/ /g," ").trim();return Y.length>0?Y:void 0}function FO1($){if(!$)return;return VD0[$]||$}function _D0($){if(!$)return;return LD0[$.toUpperCase()]||$}function AZ($){if(typeof $==="string"){let J=$.trim();return J?{id:J}:void 0}if(!$||typeof $!=="object")return;let Y=$;if(Y.signerId&&typeof Y.signerId==="object")Y=Y.signerId;let z=typeof Y.id==="string"?Y.id.trim():void 0,U=typeof Y.name==="string"&&Y.name.trim()?Y.name.trim():typeof Y.nickName==="string"&&Y.nickName.trim()?Y.nickName.trim():void 0,Q=typeof Y.code==="string"&&Y.code.trim()?Y.code.trim():void 0;if(!z&&!U&&!Q)return;return{id:z,name:U,code:Q}}function wO1($,Y){if(Y?.isEbotNode===!0)return!0;if(`${$?.id||""} ${$?.name||""}`.toLowerCase().includes("ebot"))return!0;if($?.name?.includes("智能审批")||$?.name?.includes("AI审批"))return!0;if(typeof Y?.nodeName==="string"&&(Y.nodeName.toLowerCase().includes("ebot")||Y.nodeName.includes("智能审批")))return!0;return!1}function MO1($,Y=!1,z=!1){if(z)return{id:$?.id||"ebot",name:"Ebot (智能审批)",code:$?.code};if(!$&&Y)return{id:"system",name:"系统自动"};return $}function OO1($,Y,z,U){let J=[...Array.isArray($)?$.filter((G)=>Boolean(G&&typeof G==="object")):[]].sort((G,W)=>(Number(G.time)||0)-(Number(W.time)||0)),I=(G)=>{if(!G)return;let W=AZ(G);if(!W)return;if(!W.name&&Y&&W.id){let H=W.id.split(":"),X=Y.get(W.id)||(H.length>1&&H[1]?Y.get(H[1]):void 0);if(X?.name)return{...W,name:X.name,code:X.code||W.code}}return W},K=[];for(let G=0;Gg&&typeof g==="object"&&g.ownerId===x&&typeof g.nodeName==="string");if($0?.nodeName)t=String($0.nodeName).trim()}K.push({id:typeof c.flowVersionedId==="string"?`modify-${c.flowVersionedId}`:void 0,time:U0,state:"审批中",rawState:"MODIFY",action:"修改了单据",rawAction:"flow.modify",nodeName:t,comment:"修改了单据",rawComment:"修改了单据",automatic:!1,isEbot:!1,skipped:!1,isModification:!0,operator:d,nextOperators:[]})}}let Z=AZ(W.operatorId),q=wO1(Z,H),V=Boolean(H.isEbotNode===!0||H.isAuto===!0||W.action==="freeflow.autoAgree"||!W.operatorId||q),F=MO1(Z,V,q);if(F&&!F.name&&Y&&F.id){let c=I(F.id);if(c?.name)F=c}let M=typeof W.action==="string"?W.action:void 0,w=FO1(M),O=typeof W.state==="string"?W.state:void 0,D=_D0(O),N,A,T,B;if(M==="freeflow.reject"){let c;if(Array.isArray(z)){let t=z.find(($0)=>$0&&typeof $0==="object"&&$0.action==="freeflow.reject"&&($0.ownerId===W.operatorId||Math.abs((Number($0.updateTime)||0)-(X||0))<2000));if(t&&typeof t.nodeName==="string")c=t.nodeName.trim()}if(!c&&H.nodeId){let t=J.find(($0)=>$0&&typeof $0==="object"&&$0.attributes?.nodeId===H.nodeId&&$0.action!=="freeflow.reject"&&$0.attributes?.nodeName);if(t)c=String(t.attributes.nodeName).trim()}if(!c){let t=typeof W.operatorId==="object"?W.operatorId?.id:W.operatorId,$0=J.find((g)=>{return(typeof g.operatorId==="object"?g.operatorId?.id:g.operatorId)===t&&g.action!=="freeflow.reject"&&g.attributes?.nodeName});if($0)c=String($0.attributes.nodeName).trim();else if(H.nodeName&&H.nodeName!=="提交人")c=String(H.nodeName).trim()}N=c||"审批节点",A=typeof H.nodeName==="string"&&H.nodeName?H.nodeName.trim():typeof H.nextName==="string"&&H.nextName?H.nextName.trim():"提交人";let U0=typeof W.nextOperatorId==="string"?W.nextOperatorId:void 0;if(U0)T=I(U0);if((!T||!T.name)&&(A==="提交人"||A.includes("提交"))&&U)T=I(U);let x=String(H.resubmitMethod||"").toUpperCase(),d=F?.name||"原审批人";if(x==="TO_REJECTOR")B=`重新提交后由${d}继续审批`;else if(x==="START_OVER"||x==="TO_START"||x==="ALL"||x==="RE_START")B="重新提交后重新全流程审批";else if(x==="NEXT_NODE")B="重新提交后流转至下一节点";else B=`重新提交后由${d}继续审批`}else N=typeof H.nodeName==="string"&&H.nodeName?H.nodeName:typeof H.nextName==="string"&&H.nextName?H.nextName:w==="打印单据"?"打印提醒":void 0;let j=typeof H.comment==="string"?H.comment:void 0,C=LO1(j),b=Boolean(H.isSkip===!0||H.skipped===!0||O==="SKIPPED"),h=(Array.isArray(W.nextOperatorIds)?W.nextOperatorIds:W.nextOperatorId?[W.nextOperatorId]:[]).map(I).filter((c)=>Boolean(c)),i=typeof H.nodeId==="string"&&H.nodeId?H.nodeId:typeof W.nodeId==="string"&&W.nodeId?W.nodeId:void 0;K.push({id:typeof W.id==="string"?W.id:void 0,nodeId:i,time:X,state:D,rawState:O,action:w,rawAction:M,nodeName:N,comment:C,rawComment:j,automatic:V,isEbot:q,skipped:b,operator:F,nextOperators:h,rejectTargetNodeName:A,rejectTargetOperator:T,resubmitRuleText:B,isModification:!1})}K.sort((G,W)=>(Number(G.time)||0)-(Number(W.time)||0));for(let G=0;G=W.time)W.durationMs=H.time-W.time}return K}function NO1($,Y){return $.filter((U)=>{let Q=String(U.state||"").toUpperCase();if(Q==="CANCELED"||Q==="CANCELLED"||Q==="PROCESSED"||Q==="COMPLETED"||Q==="PAID")return!1;return U.logId===-1||Q==="APPROVING"||Q==="PROCESSING"||Q==="PAYING"}).map((U,Q)=>{let J=AZ(U.ownerId);if(J&&!J.name&&Y&&U.ownerId){let I=U.ownerId.split(":"),K=Y.get(U.ownerId)||(I.length>1&&I[1]?Y.get(I[1]):void 0);if(K?.name)J={...J,name:K.name,code:K.code||J.code}}return{id:U.nodeId||U.id,name:U.nodeName,type:U.state,state:Q===0?"当前":"后续",isCurrent:Q===0,approver:J,approvers:J?[J]:[]}})}function DO1($,Y,z,U){let Q=$.form&&typeof $.form==="object"?$.form:{},J=Y.filter((w)=>w.rawAction==="freeflow.reject"||w.rawState==="REJECTED"||w.action==="审批驳回"),I=typeof Q.rejectionNum==="number"?Q.rejectionNum:typeof Q.rejectionNum==="string"?parseInt(Q.rejectionNum,10)||void 0:void 0,K=I!==void 0?I:J.length,G=Y.filter((w)=>w.rawAction==="freeflow.submit"||w.rawState==="SUBMITTED"||w.action==="提交送审"),W=typeof Q.submitCount==="number"?Q.submitCount:void 0,H=U&&U.length>0?U.length:void 0,X=W!==void 0?W:H!==void 0?Math.max(H,G.length,1):Math.max(1,G.length),Z=Y.filter((w)=>w.rawAction==="freeflow.retract"||w.rawState==="REVOKED"||w.action==="单据撤回"),q=Z.length,V=Q.sourceFlowVersion??$.sourceFlowVersion??Q.version??$.version,F=!1;if(K>0||J.length>0){let w=Math.max(...J.map((j)=>j.time??0),0),O=Y.some((j)=>(j.time??0)>w&&(j.rawAction==="freeflow.submit"||j.rawState==="SUBMITTED"||j.action==="提交送审")),D=Y.some((j)=>(j.time??0)>w&&j.rawAction!=="freeflow.reject"&&j.rawAction!=="freeflow.print"),A=String(z?.state??$.state??"").toUpperCase()==="REJECTED"||J.length>0&&Y.at(-1)?.rawAction==="freeflow.reject",T=typeof Q.submitDate==="number"?Q.submitDate:0,B=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;F=O||!A&&(D||T>w||B>w||X>K)}let M=!1;if(q>0){let w=Math.max(...Z.map((T)=>T.time??0),0),O=Y.some((T)=>(T.time??0)>w&&(T.rawAction==="freeflow.submit"||T.rawState==="SUBMITTED"||T.action==="提交送审")),N=String(z?.state??$.state??"").toUpperCase()==="REVOKED"||Z.length>0&&Y.at(-1)?.rawAction==="freeflow.retract",A=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;M=O||!N&&(X>1||A>w)}return{rejectionNum:K,submitCount:X,sourceFlowVersion:typeof V==="string"||typeof V==="number"?V:void 0,isModifiedAfterReject:F,retractCount:q,isResubmittedAfterRetract:M}}function BO1($){return $.filter((Y)=>Boolean(Y.comment&&Y.comment.trim())).map((Y)=>({nodeName:Y.nodeName,operator:Y.operator,action:Y.action,rawAction:Y.rawAction,time:Y.time,comment:Y.comment,isEbot:Y.isEbot}))}function PO1($){return $.filter((Y)=>Y.rawAction==="freeflow.reject"||Y.rawState==="REJECTED"||Y.action==="审批驳回").map((Y)=>({time:Y.time,nodeName:Y.nodeName,operator:Y.operator,isEbot:Y.isEbot,reason:Y.comment||"未填写驳回原因",rawComment:Y.rawComment,fromNodeName:Y.nodeName,targetNodeName:Y.rejectTargetNodeName,targetOperator:Y.rejectTargetOperator,resubmitRuleText:Y.resubmitRuleText}))}function AO1($,Y){let{flowDetails:z,allLogs:U,versions:Q,staffMap:J}=$;if(!z)return;let I=z.form||{},K=typeof I.submitterId==="string"?I.submitterId:typeof z.ownerId==="string"?z.ownerId:void 0,G=OO1(z.logs||[],J,U,K),W=z.state,H=_D0(W),X=String(W||"").toUpperCase(),q=["COMPLETED","APPROVED","PAID","REVOKED","CANCELED","CANCELLED","REJECTED"].includes(X)?[]:NO1(U,J),V=q.find((D)=>D.isCurrent)?.name,F=DO1(z,G,void 0,Q),M=BO1(G),w=PO1(G),O;if(I.specificationId&&typeof I.specificationId==="object"){let D=I.specificationId;O={id:typeof D.id==="string"?D.id:void 0,name:typeof D.name==="string"?D.name:void 0,code:typeof D.code==="string"?D.code:void 0}}else if(typeof I.specificationId==="string")O={id:I.specificationId};return{backlogId:z.id||Y||"",flowId:z.id,billCode:typeof I.code==="string"?I.code:void 0,title:typeof I.title==="string"?I.title:void 0,state:H,rawState:W,currentNode:V,specification:O,submitter:AZ(I.submitterId),owner:AZ(z.ownerId||I.ownerId),submitDate:typeof I.submitDate==="number"?I.submitDate:void 0,updateTime:typeof I.updateTime==="number"?I.updateTime:typeof z.updateTime==="number"?z.updateTime:void 0,history:G,pending:q,metrics:F,staffOpinions:M,rejections:w,raw:z}}async function DP($,Y,z){let U=await Cn($,Y,z);return AO1(U,Y)}function CD0($){if(!$)return"-";let Y=$.toUpperCase();if(Y==="APPROVE"||Y==="通过")return"通过";if(Y==="EXEMPT_APPROVE"||Y==="免审通过"||Y==="备注通过")return"备注通过";if(Y==="REVIEW"||Y==="转交复核")return"转交复核";if(Y==="REJECT"||Y==="驳回")return"驳回";if(Y==="ERROR"||Y==="错误")return"错误";return $}function lI($){let Y=[];for(let z of $){if(z.rawAction==="freeflow.carbonCopy"||z.rawAction==="freeflow.cc"||z.action==="抄送单据"||z.action==="抄送通知")continue;if((z.rawAction==="freeflow.print"||z.action==="打印提醒"||z.action==="打印单据")&&!z.comment)continue;let U=z.operator?.name||z.operator?.id||"未知",Q=z.rawAction==="freeflow.retract"||z.action==="单据撤回",J=z.nodeName?.trim()?`${z.nodeName.trim()}(${U})`:Q?`提交人(${U})`:U,I=z.comment;if(!I)if(z.rawAction==="flow.modify"||z.action==="修改了单据"||z.isModification)I="修改了单据";else if(z.rawAction==="freeflow.agree"||z.action==="审批同意")I="同意";else if(z.rawAction==="freeflow.autoAgree")I="自动同意";else if(z.rawAction==="freeflow.pay"||z.action==="支付成功"||z.action==="支付完成")I="支付成功";else if(z.rawAction==="freeflow.paying"||z.action==="发起支付"||z.action==="支付中")I="发起支付";else if(z.rawAction==="freeflow.reject"||z.action==="审批驳回")I="驳回";else if(z.rawAction==="freeflow.back"||z.action==="审批退回")I="退回修改";else if(z.rawAction==="freeflow.retract"||z.action==="单据撤回")I="单据撤回";else I=z.action||"-";let K="";if(z.rawAction==="flow.modify"||z.action==="修改了单据"||z.isModification||I==="修改了单据")K="✏️";else if(z.rawAction==="freeflow.autoAgree"||z.action==="自动同意"||I==="自动同意"||z.automatic)K="\uD83E\uDD16";else if(z.rawAction==="freeflow.retract"||z.action==="单据撤回"||I==="单据撤回")K="↩️";else if(z.rawAction==="freeflow.reject"||z.action==="审批驳回"||z.rawAction==="freeflow.back"||z.action==="审批退回"||I==="驳回"||I==="退回修改")K="❌";else if((z.rawAction==="freeflow.pay"||z.action==="支付成功"||z.action==="支付完成")&&(I==="支付成功"||I==="支付完成"||!I))K="\uD83D\uDCB0";else if(z.rawAction==="freeflow.addnode"||z.action?.includes("加签")||z.action?.includes("转交")||z.action?.includes("转办")||I?.includes("转交")||I?.includes("加签"))K="\uD83D\uDD00";else if(z.rawAction==="freeflow.paying"||z.rawAction==="freeflow.comment"||z.action==="发表评论"||z.action==="添加评论"||z.rawAction==="freeflow.pay"&&I!=="支付成功")K="\uD83D\uDCAC";let G=K?` ${K}`:"",W=`${J}${G}: ${I}`;if(Y.length===0||Y[Y.length-1]!==W)Y.push(W)}return Y}function oI($,Y=[],z="forward"){if($.length===0&&Y.length===0)return"-";if(z==="forward"){let J=[...$,...Y].map((G,W)=>`${W+1}. ${G}`),I=J.filter((G)=>G.includes("修改了单据")),K=J.filter((G)=>!G.includes("修改了单据"));return[...I,...K].join(` + */var q4=I0("fs"),wP=I0("os"),E6=I0("path"),yN0=I0("crypto"),M9={fs:q4.constants,os:wP.constants},uN0=/XXXXXX/,bN0=(M9.O_CREAT||M9.fs.O_CREAT)|(M9.O_EXCL||M9.fs.O_EXCL)|(M9.O_RDWR||M9.fs.O_RDWR),UM1=wP.platform()==="win32",QM1=M9.EBADF||M9.os.errno.EBADF,JM1=M9.ENOENT||M9.os.errno.ENOENT,pI=[],iN0=q4.rmdirSync.bind(q4),cN0=!1;function IM1($,Y){return q4.rm($,{recursive:!0},Y)}function nN0($){return q4.rmSync($,{recursive:!0})}function Pn($,Y){let z=dI($,Y),U=z[0],Q=z[1];FM1(U,function(J,I){if(J)return Q(J);let K=I.tries;(function G(){try{let W=dN0(I);q4.stat(W,function(H){if(!H){if(K-- >0)return G();return Q(Error("Could not get a unique tmp filename, max tries reached "+W))}Q(null,W)})}catch(W){Q(W)}})()})}function An($){let Y=dI($),z=Y[0],U=wM1(z),Q=U.tries;do{let J=dN0(U);try{q4.statSync(J)}catch(I){return J}}while(Q-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function KM1($,Y){let z=dI($,Y),U=z[0],Q=z[1];Pn(U,function(I,K){if(I)return Q(I);q4.open(K,bN0,U.mode||384,function(W,H){if(W)return Q(W);if(U.discardDescriptor)return q4.close(H,function(Z){return Q(Z,K,void 0,Dn(K,-1,U,!1))});else{let X=U.discardDescriptor||U.detachDescriptor;Q(null,K,H,Dn(K,X?-1:H,U,!1))}})})}function GM1($){let Y=dI($),z=Y[0],U=z.discardDescriptor||z.detachDescriptor,Q=An(z),J=q4.openSync(Q,bN0,z.mode||384);if(z.discardDescriptor)q4.closeSync(J),J=void 0;return{name:Q,fd:J,removeCallback:Dn(Q,U?-1:J,z,!0)}}function WM1($,Y){let z=dI($,Y),U=z[0],Q=z[1];Pn(U,function(I,K){if(I)return Q(I);q4.mkdir(K,U.mode||448,function(W){if(W)return Q(W);Q(null,K,pN0(K,U,!1))})})}function HM1($){let Y=dI($),z=Y[0],U=An(z);return q4.mkdirSync(U,z.mode||448),{name:U,removeCallback:pN0(U,z,!0)}}function XM1($,Y){let z=function(U){if(U&&!Bn(U))return Y(U);Y()};if(0<=$[0])q4.close($[0],function(){q4.unlink($[1],z)});else q4.unlink($[1],z)}function ZM1($){let Y=null;try{if(0<=$[0])q4.closeSync($[0])}catch(z){if(!MM1(z)&&!Bn(z))throw z}finally{try{q4.unlinkSync($[1])}catch(z){if(!Bn(z))Y=z}}if(Y!==null)throw Y}function Dn($,Y,z,U){let Q=FP(ZM1,[Y,$],U),J=FP(XM1,[Y,$],U,Q);if(!z.keep)pI.unshift(Q);return U?Q:J}function pN0($,Y,z){let U=Y.unsafeCleanup?IM1:q4.rmdir.bind(q4),Q=Y.unsafeCleanup?nN0:iN0,J=FP(Q,$,z),I=FP(U,$,z,J);if(!Y.keep)pI.unshift(J);return z?J:I}function FP($,Y,z,U){let Q=!1;return function J(I){if(!Q){let K=U||J,G=pI.indexOf(K);if(G>=0)pI.splice(G,1);if(Q=!0,z||$===iN0||$===nN0)return $(Y);else return $(Y,I||function(){})}}}function qM1(){if(!cN0)return;while(pI.length)try{pI[0]()}catch($){}}function kN0($){let Y=[],z=null;try{z=yN0.randomBytes($)}catch(U){z=yN0.pseudoRandomBytes($)}for(let U=0;U<$;U++)Y.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[z[U]%62]);return Y.join("")}function r8($){return typeof $>"u"}function dI($,Y){if(typeof $==="function")return[{},$];if(r8($))return[{},Y];let z={};for(let U of Object.getOwnPropertyNames($))z[U]=$[U];return[z,Y]}function VM1($,Y,z){let U=E6.isAbsolute($)?$:E6.join(Y,$);q4.stat(U,function(Q){if(Q)q4.realpath(E6.dirname(U),function(J,I){if(J)return z(J);z(null,E6.join(I,E6.basename(U)))});else q4.realpath(U,z)})}function LM1($,Y){let z=E6.isAbsolute($)?$:E6.join(Y,$);try{return q4.statSync(z),q4.realpathSync(z)}catch(U){let Q=q4.realpathSync(E6.dirname(z));return E6.join(Q,E6.basename(z))}}function dN0($){let Y=$.tmpdir;if(!r8($.name))return E6.join(Y,$.dir,$.name);if(!r8($.template))return E6.join(Y,$.dir,$.template).replace(uN0,kN0(6));let z=[$.prefix?$.prefix:"tmp","-",process.pid,"-",kN0(12),$.postfix?"-"+$.postfix:""].join("");return E6.join(Y,$.dir,z)}function Nn($,Y){if(typeof Y!=="string")throw Error(`${$} option must be a string, got "${typeof Y}".`);if(Y.includes(".."))throw Error("Relative value not allowed");return Y}function mN0($){if(!r8($.name)){let Y=$.name;if(E6.isAbsolute(Y))throw Error(`name option must not contain an absolute path, found "${Y}".`);let z=E6.basename(Y);if(z===".."||z==="."||z!==Y)throw Error(`name option must not contain a path, found "${Y}".`)}if(!r8($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(uN0))throw Error(`Invalid template, found "${$.template}".`)}if(!r8($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=r8($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=r8($.prefix)?"":Nn("prefix",$.prefix),$.postfix=r8($.postfix)?"":Nn("postfix",$.postfix),$.template=r8($.template)?void 0:Nn("template",$.template)}function xN0($,Y,z,U){if(r8(Y))return U(null);VM1(Y,z,function(Q,J){if(Q)return U(Q);let I=E6.relative(z,J);if(I.startsWith("..")||E6.isAbsolute(I))return U(Error(`${$} option must be relative to "${z}", found "${I}".`));U(null,I)})}function fN0($,Y,z){if(r8(Y))return;let U=LM1(Y,z),Q=E6.relative(z,U);if(Q.startsWith("..")||E6.isAbsolute(Q))throw Error(`${$} option must be relative to "${z}", found "${Q}".`);return Q}function FM1($,Y){NM1($,function(z,U){if(z)return Y(z);$.tmpdir=U;try{mN0($,U)}catch(Q){return Y(Q)}xN0("dir",$.dir,U,function(Q,J){if(Q)return Y(Q);$.dir=r8(J)?"":J,xN0("template",$.template,U,function(I,K){if(I)return Y(I);$.template=K,Y(null,$)})})})}function wM1($){let Y=$.tmpdir=oN0($);mN0($,Y);let z=fN0("dir",$.dir,Y);return $.dir=r8(z)?"":z,$.template=fN0("template",$.template,Y),$}function MM1($){return lN0($,-QM1,"EBADF")}function Bn($){return lN0($,-JM1,"ENOENT")}function lN0($,Y,z){return UM1?$.code===z:$.code===z&&$.errno===Y}function OM1(){cN0=!0}function NM1($,Y){return q4.realpath($&&$.tmpdir||wP.tmpdir(),Y)}function oN0($){return q4.realpathSync($&&$.tmpdir||wP.tmpdir())}process.addListener("exit",qM1);Object.defineProperty(DM1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return oN0()}});DM1.dir=WM1;DM1.dirSync=HM1;DM1.file=KM1;DM1.fileSync=GM1;DM1.tmpName=Pn;DM1.tmpNameSync=An;DM1.setGracefulCleanup=OM1});var aN0=E((Ut1,sN0)=>{sN0.exports=async function*(Y){let z=[];Y.on("data",(K)=>z.push(K));let U,Q=new Promise((K)=>U=K),J=!1;Y.on("end",()=>{J=!0,U()});let I=!1;Y.on("error",(K)=>{I=K,U()});while(!J||z.length>0){if(z.length===0)Y.resume(),await Promise.race([RM1(Y,"data"),Q]);else Y.pause(),yield z.shift();if(I)throw I}U()};function RM1($,Y){return new Promise((z)=>{let U=!1,Q=()=>{if(!U)U=!0,$.removeListener(Y,Q),z()};$.addListener(Y,Q)})}});var zD0=E((Qt1,YD0)=>{var{EventEmitter:_M1}=I0("events"),vM1=_H(),hM1=Y6(),MP=Z8(),tN0=i4(),SM1=$7(),gM1=OM(),eN0=DM();class $D0 extends _M1{constructor({workbook:$,id:Y,iterator:z,options:U}){super();this.workbook=$,this.id=Y,this.iterator=z,this.options=U||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new SM1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=tN0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new eN0(this,Y++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){hM1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:Y,value:z}of $)this.emit(Y,z);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:Y,value:z}of $)if(Y==="row")yield z}async*parse(){let{iterator:$,options:Y}=this,z=!1,U=!1,Q=null;switch(Y.worksheets){case"emit":z=!0;break;case"prep":break;default:break}switch(Y.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=Q={};break;default:break}if(!z&&!U&&!Q)return;let{sharedStrings:J,styles:I,properties:K}=this.workbook,G=!1,W=!1,H=!1,X=null,Z=null,q=null,V=null;for await(let F of vM1($)){let M=[];for(let{eventType:w,value:O}of F)if(w==="opentag"){let N=O;if(z)switch(N.name){case"cols":G=!0,X=[];break;case"sheetData":W=!0;break;case"col":if(G)X.push({min:parseInt(N.attributes.min,10),max:parseInt(N.attributes.max,10),width:parseFloat(N.attributes.width),styleId:parseInt(N.attributes.style||"0",10)});break;case"row":if(W){let D=parseInt(N.attributes.r,10);if(Z=new gM1(this,D),N.attributes.ht)Z.height=parseFloat(N.attributes.ht);if(N.attributes.s){let T=parseInt(N.attributes.s,10),A=I.getStyleModel(T);if(A)Z.style=A}}break;case"c":if(Z)q={ref:N.attributes.r,s:parseInt(N.attributes.s,10),t:N.attributes.t};break;case"f":if(q)V=q.f={text:""};break;case"v":if(q)V=q.v={text:""};break;case"is":case"t":if(q)V=q.v={text:""};break;case"mergeCell":break;default:break}if(U||Q)switch(N.name){case"hyperlinks":H=!0;break;case"hyperlink":if(H){let D={ref:N.attributes.ref,rId:N.attributes["r:id"]};if(U)M.push({eventType:"hyperlink",value:D});else Q[D.ref]=D}break;default:break}}else if(w==="text"){if(z){if(V)V.text+=O}}else if(w==="closetag"){let N=O;if(z)switch(N.name){case"cols":G=!1,this._columns=eN0.fromModel(X);break;case"sheetData":W=!1;break;case"row":this._dimensions.expandRow(Z),M.push({eventType:"row",value:Z}),Z=null;break;case"c":if(Z&&q){let D=tN0.decodeAddress(q.ref),T=Z.getCell(D.col);if(q.s){let A=I.getStyleModel(q.s);if(A)T.style=A}if(q.f){let A={formula:q.f.text};if(q.v)if(q.t==="str")A.result=MP.xmlDecode(q.v.text);else A.result=parseFloat(q.v.text);T.value=A}else if(q.v)switch(q.t){case"s":{let A=parseInt(q.v.text,10);if(J)T.value=J[A];else T.value={sharedString:A};break}case"inlineStr":case"str":T.value=MP.xmlDecode(q.v.text);break;case"e":T.value={error:q.v.text};break;case"b":T.value=parseInt(q.v.text,10)!==0;break;default:if(MP.isDateFmt(T.numFmt))T.value=MP.excelToDate(parseFloat(q.v.text),K.model&&K.model.date1904);else T.value=parseFloat(q.v.text);break}if(Q){let A=Q[q.ref];if(A)T.text=T.value,T.value=void 0,T.hyperlink=A}q=null}break;default:break}if(U||Q)switch(N.name){case"hyperlinks":H=!1;break;default:break}}if(M.length>0)yield M}}}YD0.exports=$D0});var JD0=E((Jt1,QD0)=>{var{EventEmitter:yM1}=I0("events"),kM1=_H(),xM1=G5(),fM1=e3();class UD0 extends yM1{constructor({workbook:$,id:Y,iterator:z,options:U}){super();this.workbook=$,this.id=Y,this.iterator=z,this.options=U}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:Y}=this,z=!1,U=null;switch(Y.hyperlinks){case"emit":z=!0;break;case"cache":this.hyperlinks=U={};break;default:break}if(!z&&!U){this.emit("finished");return}try{for await(let Q of kM1($))for(let{eventType:J,value:I}of Q)if(J==="opentag"){let K=I;if(K.name==="Relationship"){let G=K.attributes.Id;switch(K.attributes.Type){case fM1.Hyperlink:{let W={type:xM1.RelationshipType.Styles,rId:G,target:K.attributes.Target,targetMode:K.attributes.TargetMode};if(z)this.emit("hyperlink",W);else U[W.rId]=W}break;default:break}}}this.emit("finished")}catch(Q){this.emit("error",Q)}}}QD0.exports=UD0});var WD0=E((It1,GD0)=>{var Tn=I0("fs"),{EventEmitter:uM1}=I0("events"),{PassThrough:bM1,Readable:iM1}=E8(),cM1=I0("stream"),nM1=gN0(),KD0=rN0(),UU=aN0(),pM1=_H(),ID0=tO(),dM1=QN(),mM1=zN(),lM1=zD0(),oM1=JD0();KD0.setGracefulCleanup();class jn extends uM1{constructor($,Y={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...Y},this.styles=new ID0,this.styles.init()}_getStream($){if($ instanceof cM1.Readable||$ instanceof iM1)return $;if(typeof $==="string")return Tn.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,Y){try{for await(let{eventType:z,value:U}of this.parse($,Y))switch(z){case"shared-strings":this.emit(z,U);break;case"worksheet":this.emit(z,U),await U.read();break;case"hyperlinks":this.emit(z,U);break}this.emit("end"),this.emit("finished")}catch(z){this.emit("error",z)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:Y}of this.parse())if($==="worksheet")yield Y}async*parse($,Y){if(Y)this.options=Y;let z=this.stream=this._getStream($||this.input),U=nM1.Parse({forceStream:!0});z.pipe(U);let Q=[];for await(let J of UU(U)){let I,K;switch(J.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(J);break;case"xl/workbook.xml":await this._parseWorkbook(J);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(J);break;case"xl/styles.xml":await this._parseStyles(J);break;default:if(J.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(I=J.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),K=I[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(UU(J),K);else await new Promise((G,W)=>{KD0.file((H,X,Z,q)=>{if(H)return W(H);Q.push({sheetNo:K,path:X,tempFileCleanupCallback:q});let V=Tn.createWriteStream(X);return V.on("error",W),J.pipe(V),V.on("finish",()=>{return G()})})});else if(J.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))I=J.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),K=I[1],yield*this._parseHyperlinks(UU(J),K);break}J.autodrain()}for(let{sheetNo:J,path:I,tempFileCleanupCallback:K}of Q){let G=Tn.createReadStream(I);if(!G[Symbol.asyncIterator])G=G.pipe(new bM1);yield*this._parseWorksheet(G,J),K()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let Y=new mM1;this.workbookRels=await Y.parseStream(UU($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let Y=new dM1;await Y.parseStream(UU($)),this.properties=Y.map.workbookPr,this.model=Y.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let Y=null,z=[],U=0,Q=null;for await(let J of pM1(UU($)))for(let{eventType:I,value:K}of J)if(I==="opentag"){let G=K;switch(G.name){case"b":Q=Q||{},Q.bold=!0;break;case"charset":Q=Q||{},Q.charset=parseInt(G.attributes.charset,10);break;case"color":if(Q=Q||{},Q.color={},G.attributes.rgb)Q.color.argb=G.attributes.argb;if(G.attributes.val)Q.color.argb=G.attributes.val;if(G.attributes.theme)Q.color.theme=G.attributes.theme;break;case"family":Q=Q||{},Q.family=parseInt(G.attributes.val,10);break;case"i":Q=Q||{},Q.italic=!0;break;case"outline":Q=Q||{},Q.outline=!0;break;case"rFont":Q=Q||{},Q.name=G.value;break;case"si":Q=null,z=[],Y=null;break;case"sz":Q=Q||{},Q.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":Y=null;break;case"u":Q=Q||{},Q.underline=!0;break;case"vertAlign":Q=Q||{},Q.vertAlign=G.attributes.val;break}}else if(I==="text")Y=Y?Y+K:K;else if(I==="closetag")switch(K.name){case"r":z.push({font:Q,text:Y}),Q=null,Y=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(z.length?{richText:z}:Y);else if(this.options.sharedStrings==="emit")yield{index:U++,text:z.length?{richText:z}:Y};z=[],Q=null,Y=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new ID0,await this.styles.parseStream(UU($))}*_parseWorksheet($,Y){this._emitEntry({type:"worksheet",id:Y});let z=new lM1({workbook:this,id:Y,iterator:$,options:this.options}),U=(this.workbookRels||[]).find((J)=>J.Target===`worksheets/sheet${Y}.xml`),Q=U&&(this.model.sheets||[]).find((J)=>J.rId===U.Id);if(Q)z.id=Q.id,z.name=Q.name,z.state=Q.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:z}}*_parseHyperlinks($,Y){this._emitEntry({type:"hyperlinks",id:Y});let z=new oM1({workbook:this,id:Y,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:z}}}jn.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};GD0.exports=jn});var ZD0=E((Kt1,XD0)=>{var HD0={Workbook:xG0(),ModelContainer:bG0(),stream:{xlsx:{WorkbookWriter:EL0(),WorkbookReader:WD0()}}};Object.assign(HD0,G5());XD0.exports=HD0});var PZ=E((Gt1,qD0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");qD0.exports=ZD0()});var VD0,LD0,N5,rM1,sM1,aM1,tM1,eM1,Ht1,Xt1,Zt1,qt1,Vt1;var En=o(()=>{B$();VD0={"freeflow.submit":"提交送审","freeflow.agree":"审批同意","freeflow.autoAgree":"自动同意","freeflow.reject":"审批驳回","freeflow.back":"审批退回","freeflow.print":"打印单据","freeflow.retract":"单据撤回","freeflow.addnode":"加签/转交","freeflow.comment":"发表评论","freeflow.pay":"支付成功","freeflow.paying":"发起支付","freeflow.carbonCopy":"抄送单据","freeflow.cc":"抄送单据"},LD0={APPROVING:"审批中",APPROVED:"审批通过",REJECTED:"审批驳回",REVOKED:"已撤回",CANCELED:"已取消",CANCELLED:"已取消",SKIPPED:"已跳过",SUBMITTED:"已提交",PENDING:"待审批",WAITING:"待处理",COMPLETED:"已完成",DRAFT:"草稿",PAID:"已支付",PAYING:"支付中"},N5=L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}),rM1=L.object({id:L.string().optional(),nodeId:L.string().optional(),time:L.number().optional(),durationMs:L.number().optional(),state:L.string().optional(),rawState:L.string().optional(),action:L.string().optional(),rawAction:L.string().optional(),nodeName:L.string().optional(),comment:L.string().optional(),rawComment:L.string().optional(),automatic:L.boolean().default(!1),isEbot:L.boolean().default(!1),skipped:L.boolean().default(!1),operator:N5.optional(),nextOperators:L.array(N5).default([]),rejectTargetNodeName:L.string().optional(),rejectTargetOperator:N5.optional(),resubmitRuleText:L.string().optional(),isModification:L.boolean().default(!1)}),sM1=L.object({id:L.string().optional(),name:L.string().optional(),type:L.string().optional(),state:L.enum(["当前","后续","已完成"]).default("后续"),isCurrent:L.boolean().default(!1),approver:N5.optional(),approvers:L.array(N5).default([])}),aM1=L.object({rejectionNum:L.number().int().nonnegative().default(0),submitCount:L.number().int().positive().default(1),sourceFlowVersion:L.union([L.string(),L.number()]).optional(),isModifiedAfterReject:L.boolean().default(!1),retractCount:L.number().int().nonnegative().default(0),isResubmittedAfterRetract:L.boolean().default(!1)}),tM1=L.object({nodeName:L.string().optional(),operator:N5.optional(),action:L.string().optional(),rawAction:L.string().optional(),time:L.number().optional(),comment:L.string(),isEbot:L.boolean().default(!1)}),eM1=L.object({time:L.number().optional(),nodeName:L.string().optional(),operator:N5.optional(),isEbot:L.boolean().default(!1),reason:L.string(),rawComment:L.string().optional(),fromNodeName:L.string().optional(),targetNodeName:L.string().optional(),targetOperator:N5.optional(),resubmitRuleText:L.string().optional()}),Ht1=L.object({backlogId:L.string(),flowId:L.string().optional(),billCode:L.string().optional(),title:L.string().optional(),state:L.string().optional(),rawState:L.string().optional(),currentNode:L.string().optional(),specification:L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}).optional(),submitter:N5.optional(),owner:N5.optional(),submitDate:L.number().optional(),updateTime:L.number().optional(),history:L.array(rM1),pending:L.array(sM1),metrics:aM1,staffOpinions:L.array(tM1),rejections:L.array(eM1),raw:L.record(L.string(),L.unknown()).optional()}),Xt1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),Zt1=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),qt1=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough(),Vt1=L.object({recordId:L.string(),sourceDocumentSN:L.string().optional(),taskMode:L.string().optional(),aiDecision:L.string().optional(),aiAction:L.string().optional(),eHumanAction:L.string(),eHumanComment:L.string(),auditDrift:L.boolean().default(!1),auditDriftReason:L.string().optional(),operator:N5.optional()})});function FD0($,Y){let z=P$($.domain||"https://app.ekuaibao.com");return K5.create({prefix:z,timeout:30000,searchParams:{accessToken:$.accessToken},headers:{...Y},hooks:{beforeError:[async({error:U})=>{let Q=U instanceof D6?await U.response.text().catch(()=>""):"";return U.message=`${U.message}${Q?`: ${Q}`:""}`,U}]}})}async function mI($,Y){if($.source.type!=="hose")throw Error(`Unsupported Hose source type: ${$.source.type}. Expected 'hose'.`);let z=await iQ($);return FD0({domain:$.source.domain,accessToken:z},Y)}var OP=o(()=>{fQ();a9()});var NP=o(()=>{a9()});var wD0=o(()=>{OP();NP();OP();NP()});var g1,O9,u$,zO1,MD0,OD0,UO1,ND0,QO1,DD0,JO1,BD0,IO1,Cn;var Rn=o(()=>{B$();g1=L.preprocess(($)=>$===null?void 0:$,L.string().optional()),O9=L.preprocess(($)=>$===null?void 0:$,L.boolean().optional()),u$=L.preprocess(($)=>$===null?void 0:$,L.number().optional()),zO1=L.object({nodeId:g1,nodeName:g1,nextId:g1,nextName:g1,comment:g1,isUrgent:O9,isEbotNode:O9,isAuto:O9,isSkip:O9,skipped:O9,counterSign:O9,nextCounterSign:O9,complete:O9}).passthrough(),MD0=L.object({id:g1,action:g1,state:g1,operatorId:g1,nextOperatorId:g1,nextOperatorIds:L.preprocess(($)=>Array.isArray($)?$:[],L.array(L.string())).default([]),time:u$,attributes:L.preprocess(($)=>$===null?void 0:$,zO1.optional())}).passthrough(),OD0=L.object({code:g1,title:g1,submitterId:g1,submitDate:u$,expenseDate:u$,rejectionNum:L.preprocess(($)=>$===null?void 0:$,L.union([L.number(),L.string()]).optional()),reviewStatus:g1,specificationId:g1,payMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),expenseMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),details:L.preprocess(($)=>$===null?void 0:$,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),UO1=L.object({id:L.string(),version:u$,state:g1,flowType:g1,formType:g1,ownerId:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,OD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(MD0)).default([]),actions:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.array(L.string())).optional())}).passthrough(),ND0=L.object({value:L.preprocess(($)=>$===null?void 0:$,UO1.optional())}).passthrough(),QO1=L.object({id:L.string(),flowId:g1,nodeId:g1,nodeName:g1,ownerId:g1,state:g1,logId:u$,action:g1,createTime:u$,updateTime:u$,isUrgent:O9}).passthrough(),DD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(QO1)).default([])}).passthrough(),JO1=L.object({id:g1,flowId:g1,version:u$,state:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,OD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(MD0)).default([]),modifyFlowLog:L.preprocess(($)=>Array.isArray($)?$:void 0,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),BD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(JO1)).default([])}).passthrough(),IO1=L.object({id:L.string(),name:g1,enName:g1,nickName:g1,code:g1,cellphone:g1,email:g1,active:O9,userId:g1,defaultDepartment:g1}).passthrough(),Cn=L.object({items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(IO1)).default([])}).passthrough()});async function PD0($,Y){try{let z=await $.get("api/openapi/v1.1/flowDetails",{searchParams:{flowId:Y}}).json();return ND0.parse(z).value}catch(z){if(z instanceof D6&&(z.response.status===404||z.response.status===412))return;throw z}}async function AD0($,Y){try{let z=await $.get("api/openapi/v1.1/flowDetails/allLogs",{searchParams:{flowId:Y}}).json();return DD0.parse(z).items}catch(z){if(z instanceof D6&&(z.response.status===404||z.response.status===412))return[];throw z}}async function TD0($,Y,z){try{let U=await $.get("api/openapi/v1/flow/versioned",{searchParams:{flow_id:Y,pageNum:z?.pageNum??1,pageSize:z?.pageSize??20,convertFeeType:z?.convertFeeType??!0}}).json();return BD0.parse(U).items}catch(U){if(U instanceof D6&&(U.response.status===404||U.response.status===412))return[];throw U}}async function KO1($,Y){if(!Y.conditionIds||Y.conditionIds.length===0)return[];try{let z=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:Y.conditionIds.slice(0,100)}}).json();return Cn.parse(z).items}catch(z){if(Y.conditionIds.length>1){let U=[];for(let Q of Y.conditionIds)try{let J=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:[Q]}}).json(),I=Cn.parse(J);U.push(...I.items)}catch{}return U}return[]}}async function _n($,Y,z){let[U,Q,J]=await Promise.all([PD0($,Y),AD0($,Y).catch(()=>[]),TD0($,Y).catch(()=>[])]),I=z??new Map,K=[],G=(H)=>{if(H&&typeof H==="string"&&H!=="ebot"&&!I.has(H))K.push(H)};for(let H of Q)G(H.ownerId);for(let H of U?.logs||[])G(H.operatorId),G(H.nextOperatorId);let W=[...new Set(K)];if(W.length>0)try{let H=await KO1($,{type:"STAFFID",conditionIds:W});for(let X of H){if(X.id)I.set(X.id,X);if(X.cellphone)I.set(X.cellphone,X)}}catch{}return{flowDetails:U,allLogs:Q,versions:J,staffMap:I}}var vn=o(()=>{fQ();Rn()});var GO1,yt1,kt1;var hn=o(()=>{B$();GO1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),yt1=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),kt1=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough()});var DP=o(()=>{hn()});var ED0=o(()=>{vn();DP();DP()});var Sn=o(()=>{Rn();OP();vn()});var gn=o(()=>{hn();NP();DP()});function wO1($){if(!$||typeof $!=="string")return;let Y=$.replace(/<[^>]*>/g,"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/ /g," ").trim();return Y.length>0?Y:void 0}function MO1($){if(!$)return;return VD0[$]||$}function _D0($){if(!$)return;return LD0[$.toUpperCase()]||$}function AZ($){if(typeof $==="string"){let J=$.trim();return J?{id:J}:void 0}if(!$||typeof $!=="object")return;let Y=$;if(Y.signerId&&typeof Y.signerId==="object")Y=Y.signerId;let z=typeof Y.id==="string"?Y.id.trim():void 0,U=typeof Y.name==="string"&&Y.name.trim()?Y.name.trim():typeof Y.nickName==="string"&&Y.nickName.trim()?Y.nickName.trim():void 0,Q=typeof Y.code==="string"&&Y.code.trim()?Y.code.trim():void 0;if(!z&&!U&&!Q)return;return{id:z,name:U,code:Q}}function OO1($,Y){if(Y?.isEbotNode===!0)return!0;if(`${$?.id||""} ${$?.name||""}`.toLowerCase().includes("ebot"))return!0;if($?.name?.includes("智能审批")||$?.name?.includes("AI审批"))return!0;if(typeof Y?.nodeName==="string"&&(Y.nodeName.toLowerCase().includes("ebot")||Y.nodeName.includes("智能审批")))return!0;return!1}function NO1($,Y=!1,z=!1){if(z)return{id:$?.id||"ebot",name:"Ebot (智能审批)",code:$?.code};if(!$&&Y)return{id:"system",name:"系统自动"};return $}function DO1($,Y,z,U){let J=[...Array.isArray($)?$.filter((G)=>Boolean(G&&typeof G==="object")):[]].sort((G,W)=>(Number(G.time)||0)-(Number(W.time)||0)),I=(G)=>{if(!G)return;let W=AZ(G);if(!W)return;if(!W.name&&Y&&W.id){let H=W.id.split(":"),X=Y.get(W.id)||(H.length>1&&H[1]?Y.get(H[1]):void 0);if(X?.name)return{...W,name:X.name,code:X.code||W.code}}return W},K=[];for(let G=0;Gg&&typeof g==="object"&&g.ownerId===x&&typeof g.nodeName==="string");if($0?.nodeName)t=String($0.nodeName).trim()}K.push({id:typeof c.flowVersionedId==="string"?`modify-${c.flowVersionedId}`:void 0,time:U0,state:"审批中",rawState:"MODIFY",action:"修改了单据",rawAction:"flow.modify",nodeName:t,comment:"修改了单据",rawComment:"修改了单据",automatic:!1,isEbot:!1,skipped:!1,isModification:!0,operator:d,nextOperators:[]})}}let Z=AZ(W.operatorId),q=OO1(Z,H),V=Boolean(H.isEbotNode===!0||H.isAuto===!0||W.action==="freeflow.autoAgree"||!W.operatorId||q),F=NO1(Z,V,q);if(F&&!F.name&&Y&&F.id){let c=I(F.id);if(c?.name)F=c}let M=typeof W.action==="string"?W.action:void 0,w=MO1(M),O=typeof W.state==="string"?W.state:void 0,N=_D0(O),D,T,A,B;if(M==="freeflow.reject"){let c;if(Array.isArray(z)){let t=z.find(($0)=>$0&&typeof $0==="object"&&$0.action==="freeflow.reject"&&($0.ownerId===W.operatorId||Math.abs((Number($0.updateTime)||0)-(X||0))<2000));if(t&&typeof t.nodeName==="string")c=t.nodeName.trim()}if(!c&&H.nodeId){let t=J.find(($0)=>$0&&typeof $0==="object"&&$0.attributes?.nodeId===H.nodeId&&$0.action!=="freeflow.reject"&&$0.attributes?.nodeName);if(t)c=String(t.attributes.nodeName).trim()}if(!c){let t=typeof W.operatorId==="object"?W.operatorId?.id:W.operatorId,$0=J.find((g)=>{return(typeof g.operatorId==="object"?g.operatorId?.id:g.operatorId)===t&&g.action!=="freeflow.reject"&&g.attributes?.nodeName});if($0)c=String($0.attributes.nodeName).trim();else if(H.nodeName&&H.nodeName!=="提交人")c=String(H.nodeName).trim()}D=c||"审批节点",T=typeof H.nodeName==="string"&&H.nodeName?H.nodeName.trim():typeof H.nextName==="string"&&H.nextName?H.nextName.trim():"提交人";let U0=typeof W.nextOperatorId==="string"?W.nextOperatorId:void 0;if(U0)A=I(U0);if((!A||!A.name)&&(T==="提交人"||T.includes("提交"))&&U)A=I(U);let x=String(H.resubmitMethod||"").toUpperCase(),d=F?.name||"原审批人";if(x==="TO_REJECTOR")B=`重新提交后由${d}继续审批`;else if(x==="START_OVER"||x==="TO_START"||x==="ALL"||x==="RE_START")B="重新提交后重新全流程审批";else if(x==="NEXT_NODE")B="重新提交后流转至下一节点";else B=`重新提交后由${d}继续审批`}else D=typeof H.nodeName==="string"&&H.nodeName?H.nodeName:typeof H.nextName==="string"&&H.nextName?H.nextName:w==="打印单据"?"打印提醒":void 0;let j=typeof H.comment==="string"?H.comment:void 0,C=wO1(j),b=Boolean(H.isSkip===!0||H.skipped===!0||O==="SKIPPED"),h=(Array.isArray(W.nextOperatorIds)?W.nextOperatorIds:W.nextOperatorId?[W.nextOperatorId]:[]).map(I).filter((c)=>Boolean(c)),i=typeof H.nodeId==="string"&&H.nodeId?H.nodeId:typeof W.nodeId==="string"&&W.nodeId?W.nodeId:void 0;K.push({id:typeof W.id==="string"?W.id:void 0,nodeId:i,time:X,state:N,rawState:O,action:w,rawAction:M,nodeName:D,comment:C,rawComment:j,automatic:V,isEbot:q,skipped:b,operator:F,nextOperators:h,rejectTargetNodeName:T,rejectTargetOperator:A,resubmitRuleText:B,isModification:!1})}K.sort((G,W)=>(Number(G.time)||0)-(Number(W.time)||0));for(let G=0;G=W.time)W.durationMs=H.time-W.time}return K}function BO1($,Y){return $.filter((U)=>{let Q=String(U.state||"").toUpperCase();if(Q==="CANCELED"||Q==="CANCELLED"||Q==="PROCESSED"||Q==="COMPLETED"||Q==="PAID")return!1;return U.logId===-1||Q==="APPROVING"||Q==="PROCESSING"||Q==="PAYING"}).map((U,Q)=>{let J=AZ(U.ownerId);if(J&&!J.name&&Y&&U.ownerId){let I=U.ownerId.split(":"),K=Y.get(U.ownerId)||(I.length>1&&I[1]?Y.get(I[1]):void 0);if(K?.name)J={...J,name:K.name,code:K.code||J.code}}return{id:U.nodeId||U.id,name:U.nodeName,type:U.state,state:Q===0?"当前":"后续",isCurrent:Q===0,approver:J,approvers:J?[J]:[]}})}function PO1($,Y,z,U){let Q=$.form&&typeof $.form==="object"?$.form:{},J=Y.filter((w)=>w.rawAction==="freeflow.reject"||w.rawState==="REJECTED"||w.action==="审批驳回"),I=typeof Q.rejectionNum==="number"?Q.rejectionNum:typeof Q.rejectionNum==="string"?parseInt(Q.rejectionNum,10)||void 0:void 0,K=I!==void 0?I:J.length,G=Y.filter((w)=>w.rawAction==="freeflow.submit"||w.rawState==="SUBMITTED"||w.action==="提交送审"),W=typeof Q.submitCount==="number"?Q.submitCount:void 0,H=U&&U.length>0?U.length:void 0,X=W!==void 0?W:H!==void 0?Math.max(H,G.length,1):Math.max(1,G.length),Z=Y.filter((w)=>w.rawAction==="freeflow.retract"||w.rawState==="REVOKED"||w.action==="单据撤回"),q=Z.length,V=Q.sourceFlowVersion??$.sourceFlowVersion??Q.version??$.version,F=!1;if(K>0||J.length>0){let w=Math.max(...J.map((j)=>j.time??0),0),O=Y.some((j)=>(j.time??0)>w&&(j.rawAction==="freeflow.submit"||j.rawState==="SUBMITTED"||j.action==="提交送审")),N=Y.some((j)=>(j.time??0)>w&&j.rawAction!=="freeflow.reject"&&j.rawAction!=="freeflow.print"),T=String(z?.state??$.state??"").toUpperCase()==="REJECTED"||J.length>0&&Y.at(-1)?.rawAction==="freeflow.reject",A=typeof Q.submitDate==="number"?Q.submitDate:0,B=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;F=O||!T&&(N||A>w||B>w||X>K)}let M=!1;if(q>0){let w=Math.max(...Z.map((A)=>A.time??0),0),O=Y.some((A)=>(A.time??0)>w&&(A.rawAction==="freeflow.submit"||A.rawState==="SUBMITTED"||A.action==="提交送审")),D=String(z?.state??$.state??"").toUpperCase()==="REVOKED"||Z.length>0&&Y.at(-1)?.rawAction==="freeflow.retract",T=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;M=O||!D&&(X>1||T>w)}return{rejectionNum:K,submitCount:X,sourceFlowVersion:typeof V==="string"||typeof V==="number"?V:void 0,isModifiedAfterReject:F,retractCount:q,isResubmittedAfterRetract:M}}function AO1($){return $.filter((Y)=>Boolean(Y.comment&&Y.comment.trim())).map((Y)=>({nodeName:Y.nodeName,operator:Y.operator,action:Y.action,rawAction:Y.rawAction,time:Y.time,comment:Y.comment,isEbot:Y.isEbot}))}function TO1($){return $.filter((Y)=>Y.rawAction==="freeflow.reject"||Y.rawState==="REJECTED"||Y.action==="审批驳回").map((Y)=>({time:Y.time,nodeName:Y.nodeName,operator:Y.operator,isEbot:Y.isEbot,reason:Y.comment||"未填写驳回原因",rawComment:Y.rawComment,fromNodeName:Y.nodeName,targetNodeName:Y.rejectTargetNodeName,targetOperator:Y.rejectTargetOperator,resubmitRuleText:Y.resubmitRuleText}))}function jO1($,Y){let{flowDetails:z,allLogs:U,versions:Q,staffMap:J}=$;if(!z)return;let I=z.form||{},K=typeof I.submitterId==="string"?I.submitterId:typeof z.ownerId==="string"?z.ownerId:void 0,G=DO1(z.logs||[],J,U,K),W=z.state,H=_D0(W),X=String(W||"").toUpperCase(),q=["COMPLETED","APPROVED","PAID","REVOKED","CANCELED","CANCELLED","REJECTED"].includes(X)?[]:BO1(U,J),V=q.find((N)=>N.isCurrent)?.name,F=PO1(z,G,void 0,Q),M=AO1(G),w=TO1(G),O;if(I.specificationId&&typeof I.specificationId==="object"){let N=I.specificationId;O={id:typeof N.id==="string"?N.id:void 0,name:typeof N.name==="string"?N.name:void 0,code:typeof N.code==="string"?N.code:void 0}}else if(typeof I.specificationId==="string")O={id:I.specificationId};return{backlogId:z.id||Y||"",flowId:z.id,billCode:typeof I.code==="string"?I.code:void 0,title:typeof I.title==="string"?I.title:void 0,state:H,rawState:W,currentNode:V,specification:O,submitter:AZ(I.submitterId),owner:AZ(z.ownerId||I.ownerId),submitDate:typeof I.submitDate==="number"?I.submitDate:void 0,updateTime:typeof I.updateTime==="number"?I.updateTime:typeof z.updateTime==="number"?z.updateTime:void 0,history:G,pending:q,metrics:F,staffOpinions:M,rejections:w,raw:z}}async function BP($,Y,z){let U=await _n($,Y,z);return jO1(U,Y)}function CD0($){if(!$)return"-";let Y=$.toUpperCase();if(Y==="APPROVE"||Y==="通过")return"通过";if(Y==="EXEMPT_APPROVE"||Y==="免审通过"||Y==="备注通过")return"备注通过";if(Y==="REVIEW"||Y==="转交复核")return"转交复核";if(Y==="REJECT"||Y==="驳回")return"驳回";if(Y==="ERROR"||Y==="错误")return"错误";return $}function lI($){let Y=[];for(let z of $){if(z.rawAction==="freeflow.carbonCopy"||z.rawAction==="freeflow.cc"||z.action==="抄送单据"||z.action==="抄送通知")continue;if((z.rawAction==="freeflow.print"||z.action==="打印提醒"||z.action==="打印单据")&&!z.comment)continue;let U=z.operator?.name||z.operator?.id||"未知",Q=z.rawAction==="freeflow.retract"||z.action==="单据撤回",J=z.nodeName?.trim()?`${z.nodeName.trim()}(${U})`:Q?`提交人(${U})`:U,I=z.comment;if(!I)if(z.rawAction==="flow.modify"||z.action==="修改了单据"||z.isModification)I="修改了单据";else if(z.rawAction==="freeflow.agree"||z.action==="审批同意")I="同意";else if(z.rawAction==="freeflow.autoAgree")I="自动同意";else if(z.rawAction==="freeflow.pay"||z.action==="支付成功"||z.action==="支付完成")I="支付成功";else if(z.rawAction==="freeflow.paying"||z.action==="发起支付"||z.action==="支付中")I="发起支付";else if(z.rawAction==="freeflow.reject"||z.action==="审批驳回")I="驳回";else if(z.rawAction==="freeflow.back"||z.action==="审批退回")I="退回修改";else if(z.rawAction==="freeflow.retract"||z.action==="单据撤回")I="单据撤回";else I=z.action||"-";let K="";if(z.rawAction==="flow.modify"||z.action==="修改了单据"||z.isModification||I==="修改了单据")K="✏️";else if(z.rawAction==="freeflow.autoAgree"||z.action==="自动同意"||I==="自动同意"||z.automatic)K="\uD83E\uDD16";else if(z.rawAction==="freeflow.retract"||z.action==="单据撤回"||I==="单据撤回")K="↩️";else if(z.rawAction==="freeflow.reject"||z.action==="审批驳回"||z.rawAction==="freeflow.back"||z.action==="审批退回"||I==="驳回"||I==="退回修改")K="❌";else if((z.rawAction==="freeflow.pay"||z.action==="支付成功"||z.action==="支付完成")&&(I==="支付成功"||I==="支付完成"||!I))K="\uD83D\uDCB0";else if(z.rawAction==="freeflow.addnode"||z.action?.includes("加签")||z.action?.includes("转交")||z.action?.includes("转办")||I?.includes("转交")||I?.includes("加签"))K="\uD83D\uDD00";else if(z.rawAction==="freeflow.paying"||z.rawAction==="freeflow.comment"||z.action==="发表评论"||z.action==="添加评论"||z.rawAction==="freeflow.pay"&&I!=="支付成功")K="\uD83D\uDCAC";let G=K?` ${K}`:"",W=`${J}${G}: ${I}`;if(Y.length===0||Y[Y.length-1]!==W)Y.push(W)}return Y}function oI($,Y=[],z="forward"){if($.length===0&&Y.length===0)return"-";if(z==="forward"){let J=[...$,...Y].map((G,W)=>`${W+1}. ${G}`),I=J.filter((G)=>G.includes("修改了单据")),K=J.filter((G)=>!G.includes("修改了单据"));return[...I,...K].join(` `)}let U=[];Y.forEach((Q,J)=>{let I=$.length+J+1,K=J===0?"⏳ ":"";U.push(`${K}${I}. ${Q}`)});for(let Q=$.length-1;Q>=0;Q--){let J=Q+1;U.push(`${J}. ${$[Q]}`)}return U.join(` -`)}function Sn($,Y,z,U,Q){let J=$?.operator||Y?.operator||z?.operator,I=J?.name||J?.id||z?.operatorName||"",K=($?.nodeName||Y?.fromNodeName||Y?.nodeName||z?.nodeName||"").trim();if(K==="合思审批节点"||K==="外部审批节点"||K.includes("合思审批")||K.includes("外部审批"))K="";if((!K||K==="提交人"||K==="审批节点")&&I&&U){let M=U.find((w)=>w.operator?.name===I&&w.nodeName&&w.nodeName.trim()!=="提交人"&&!w.isEbot&&w.rawAction!=="freeflow.reject");if(M?.nodeName)K=M.nodeName.trim()}let W=$?.comment||Y?.reason||z?.rejectComment||"修改";if(W.includes(":")){let M=W.split(":");if(M.length>1)W=M.slice(1).join(":").trim()}let H=W;if(K&&I)H=`${K}(${I}) ❌: ${W}`;else if(I)H=`${I} ❌: ${W}`;else if(K)H=`${K} ❌: ${W}`;else H=W;let X=$?.rejectTargetNodeName||Y?.targetNodeName||"提交人",Z=$?.rejectTargetOperator?.name||Y?.targetOperator?.name||Q?.submitter?.name,q=Z?`${X}(${Z})`:X,V=$?.resubmitRuleText||Y?.resubmitRuleText||(I?`重新提交后由${I}继续审批`:"重新提交后继续审批");return{comment:`${H} +`)}function yn($,Y,z,U,Q){let J=$?.operator||Y?.operator||z?.operator,I=J?.name||J?.id||z?.operatorName||"",K=($?.nodeName||Y?.fromNodeName||Y?.nodeName||z?.nodeName||"").trim();if(K==="合思审批节点"||K==="外部审批节点"||K.includes("合思审批")||K.includes("外部审批"))K="";if((!K||K==="提交人"||K==="审批节点")&&I&&U){let M=U.find((w)=>w.operator?.name===I&&w.nodeName&&w.nodeName.trim()!=="提交人"&&!w.isEbot&&w.rawAction!=="freeflow.reject");if(M?.nodeName)K=M.nodeName.trim()}let W=$?.comment||Y?.reason||z?.rejectComment||"修改";if(W.includes(":")){let M=W.split(":");if(M.length>1)W=M.slice(1).join(":").trim()}let H=W;if(K&&I)H=`${K}(${I}) ❌: ${W}`;else if(I)H=`${I} ❌: ${W}`;else if(K)H=`${K} ❌: ${W}`;else H=W;let X=$?.rejectTargetNodeName||Y?.targetNodeName||"提交人",Z=$?.rejectTargetOperator?.name||Y?.targetOperator?.name||Q?.submitter?.name,q=Z?`${X}(${Z})`:X,V=$?.resubmitRuleText||Y?.resubmitRuleText||(I?`重新提交后由${I}继续审批`:"重新提交后继续审批");return{comment:`${H} ↳ 驳回至: ${q} -↳ ${V}`,operator:J}}function RD0($){if(!$)return[];let Y=$.pending||[],z=String($.rawState||"").toUpperCase(),U=String($.state||"").toUpperCase(),Q=[];if(Y.length>0)for(let J of Y){let I=J.approver?.name||J.approver?.id||"待定",K=(J.name||$.currentNode||"").trim(),G=K?`${K}(${I})`:I,H=J.type?.toUpperCase()==="PAYING"||K.includes("支付")||z==="PAYING"||U==="支付中"?"待支付":"待审批";Q.push(`${G}: ${H}`)}else if($.currentNode?.trim()){let I=$.currentNode.includes("支付")||z==="PAYING"||U==="支付中"?"待支付":"待审批";Q.push(`${$.currentNode.trim()}: ${I}`)}return Q}function QU($,Y){let z=new Map;if(!$||$.length===0)return z;if(!Y){for(let q of $){let F=(q.result||{}).decision||q.aiDecision||"-";z.set(q.id,{recordId:q.id,sourceDocumentSN:q.sourceDocumentSN,taskMode:q.taskMode,aiDecision:CD0(typeof F==="string"?F:"-"),aiAction:"-",eHumanAction:"-",eHumanComment:"-",auditDrift:!1})}return z}let U=[...$].sort((q,V)=>(Number(q.createdAt)||0)-(Number(V.createdAt)||0)),Q=Y.history||[],J=String(Y.rawState||"").toUpperCase(),I=String(Y.state||"").toUpperCase(),K=J==="DRAFT"||J==="REVOKED"||J==="CANCELED"||J==="CANCELLED"||I==="草稿"||I==="已撤回"||I==="已取消",G=J==="REJECTED"||J==="TERMINATED"||I==="审批驳回"||I==="已驳回",W=!K&&!G&&(J==="PAID"||I==="已支付"||Q.some((q)=>!q.isEbot&&(q.rawAction==="freeflow.pay"||q.action==="支付成功"||q.action==="支付完成"))),H=!K&&!G&&!W&&(J==="PAYING"||I==="支付中"||(Y.pending||[]).some((q)=>q.isCurrent&&(q.type?.toUpperCase()==="PAYING"||q.name?.includes("支付")))||Y.currentNode?.includes("支付")===!0),Z=W||!K&&!G&&!H&&(J==="COMPLETED"||J==="APPROVED"||I==="已完成"||I==="审批通过");for(let q=0;qB0.nodeId&&(B0.nodeId===A||A.includes(B0.nodeId))):void 0,B=T?.time??F,j=U[q+1],C=j?Number(j.createdAt)||1/0:1/0,b=q===U.length-1,k=Q.find((B0)=>(B0.time??0)>B+5000&&B0.isEbot&&(B0.nodeName?.includes("智能")||B0.nodeName?.includes("AI")||B0.action?.includes("智能")||B0.comment?.includes("AI")||B0.comment?.includes("approval-result"))&&!B0.nodeName?.includes("费用标准检查")&&!B0.nodeName?.includes("标准检查")&&!B0.nodeName?.includes("预算"));if(k){if(b=!1,(k.time??1/0){let Q0=B0.time??0;return Q0>=B-Y1&&Q0(B0.time??0)>B+5000),u1=k1.some((B0)=>B0.rawAction==="freeflow.retract"||B0.action==="单据撤回"),b1=k1.some((B0)=>B0.rawAction==="freeflow.submit"||B0.action==="提交送审");if(D1&&b&&(u1||b1))f0=!0,u0="AI通过后单据发生撤回/修改重提,后续未经AI复审";if(p&&x)H0="无操作",L0="-";else{let B0=a.filter((v)=>(v.time??0)>=B-1000&&!v.isEbot&&v.rawAction!=="freeflow.submit"&&v.action!=="提交送审"&&!((v.rawAction==="freeflow.comment"||v.action==="发表评论")&&!v.comment)&&!((v.rawAction==="freeflow.print"||v.action==="打印提醒")&&!v.comment)&&!(v.rawAction==="freeflow.carbonCopy"||v.rawAction==="freeflow.cc"||v.action==="抄送通知")),Q0=B0.find((v)=>v.rawAction==="freeflow.retract"||v.action==="单据撤回"),P=B0.find((v)=>v.rawAction==="freeflow.reject"||v.action==="审批驳回");if(!b)if(P||!Y&&b0){H0="审批驳回",f0=!1,u0=void 0;let v=Sn(P,void 0,w,Q,Y);L0=v.comment,i0=v.operator}else if(Q0||E0||!P&&s.includes("单据撤回")){H0="已撤回",i0=Q0?.operator;let v=Q0?B0.filter((r)=>(r.time??0)<=(Q0.time??1/0)):B0,u=lI(v);for(let r of v)if(!i0&&r.operator)i0=r.operator;if(Q0&&!u.some((r)=>r.includes("单据撤回")))u.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);L0=u.length>1?oI(u,[],"forward"):u.length===1?u[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else{H0="已修改重提";let v=lI(B0);for(let u of B0)if(!i0&&u.operator)i0=u.operator;L0=v.length>1?oI(v,[],"forward"):v.length===1?v[0]:"-"}else if(P){H0="审批驳回",f0=!1,u0=void 0;let v=Sn(P,void 0,w,Q,Y);L0=v.comment,i0=v.operator}else if(Z||!Y&&G0){let v=a.some((r)=>r.rawAction==="flow.modify"||r.isModification||r.action==="修改了单据");H0=W?v?"已支付 (中途修改)":"已支付":v?"审批通过 (中途修改)":"审批通过";let u=lI(B0);for(let r of B0)if(!i0&&r.operator)i0=r.operator;if(u.length>0)L0=oI(u,[],"forward");else{let r=[...a].reverse().find((X0)=>!X0.isEbot&&(X0.rawAction==="freeflow.agree"||X0.action==="审批同意"||X0.rawAction==="freeflow.pay"));if(L0=r?.comment?`1. ${r.comment}`:"-",!i0)i0=r?.operator}}else if(H){H0="⏳ 支付中";let v=lI(B0);for(let r of B0)if(!i0&&r.operator)i0=r.operator;let u=RD0(Y);L0=oI(v,u,"reverse")}else if(K||Q0&&!b1||E0){H0="已撤回",i0=Q0?.operator;let v=lI(B0);for(let u of B0)if(!i0&&u.operator)i0=u.operator;if(Q0&&!v.some((u)=>u.includes("单据撤回")))v.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);L0=v.length>1?oI(v,[],"forward"):v.length===1?v[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else if(G||!Y&&b0){H0="审批驳回",f0=!1,u0=void 0;let v=Sn(void 0,Y?.rejections?.[0],w,Q,Y);L0=v.comment,i0=v.operator}else{H0="⏳ 审批中";let v=lI(B0);for(let r of B0)if(!i0&&r.operator)i0=r.operator;let u=RD0(Y);L0=oI(v,u,"reverse")}}z.set(V.id,{recordId:V.id,sourceDocumentSN:V.sourceDocumentSN,taskMode:V.taskMode,aiDecision:CD0(c),aiAction:e,eHumanAction:H0,eHumanComment:L0,auditDrift:f0,auditDriftReason:u0,operator:i0})}return z}var vD0=o(()=>{vn();hn();Tn()});var gn=o(()=>{vn();hn();Tn();wD0();ED0();vD0()});import{existsSync as hD0,mkdirSync as SD0,statSync as TO1}from"node:fs";import{homedir as jO1}from"node:os";import{dirname as EO1,resolve as BP}from"node:path";function y2($,Y=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let z=String($).trim();if(!z)return;if(/^\d{10,13}$/.test(z))return z.length===10?`${z}000`:z;if(/^\d{4}-\d{2}-\d{2}$/.test(z)){let J=new Date(`${z}${Y?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(J))return String(J)}let U=new Date(z).getTime();if(!Number.isNaN(U))return String(U);return z}function kn($){if($===void 0||$===null||$==="")return;if($ instanceof Date)return Number.isNaN($.getTime())?void 0:$.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});let Y=String($).trim();if(!Y)return;if(/^\d{4}-\d{2}-\d{2}/.test(Y))return Y.slice(0,10);if(/^\d{10}$/.test(Y)){let U=new Date(Number(Y)*1000);return Number.isNaN(U.getTime())?void 0:U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}if(/^\d{13}$/.test(Y)||/^\d+$/.test(Y)){let U=new Date(Number(Y));return Number.isNaN(U.getTime())?void 0:U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}let z=new Date(Y);return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function yn($=0,Y=new Date){return new Date(Y.getTime()+$*86400000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function CO1($,Y=0){let z=new Date(`${$}T00:00:00+08:00`);return z.setDate(z.getDate()+Y),z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function xn($={}){let Y=$.maxSpanDays??180,z=$.startDate!==void 0&&$.startDate!==null&&String($.startDate).trim()!=="",U=$.endDate!==void 0&&$.endDate!==null&&String($.endDate).trim()!=="",Q="",J="";if(z){let Z=kn($.startDate);if(!Z)throw Error(`无效的起始时间参数: "${String($.startDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);Q=Z}if(U){let Z=kn($.endDate);if(!Z)throw Error(`无效的结束时间参数: "${String($.endDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);J=Z}if(!z&&!U){if(Q=yn(-1),J=yn(0),!$.silent)console.error(`ℹ️ 未指定导出起止时间,已自动采用默认区间: ${Q}至${J}(昨天至今天)。`)}else if(z&&!U){if(J=yn(0),!$.silent)console.error(`ℹ️ 未指定导出结束时间,已自动补齐截至今天: ${Q}至${J}。`)}else if(!z&&U){if(Q=CO1(J,-30),!$.silent)console.error(`ℹ️ 未指定导出起始时间,已自动向前回溯 30 天: ${Q}至${J}。`)}let I=y2(Q,!1),K=y2(J,!0);if(Number(I)>Number(K))throw Error(`起始时间 (${Q}) 不能晚于结束时间 (${J})。`);let G=new Date(`${Q}T00:00:00+08:00`).getTime(),W=new Date(`${J}T00:00:00+08:00`).getTime(),H=Math.round((W-G)/86400000);if(H>Y){if(!$.force)throw Error(`时间跨度超过 ${Y} 天(当前为 ${H} 天),大范围导出耗时较长且占用系统资源。如确认需要导出,请添加 --force 参数强制执行。`);if(!$.silent)console.error(`⚠️ 时间跨度超过 ${Y} 天(当前为 ${H} 天),已按 --force 强制执行大范围导出。`)}let X=`${Q}至${J}`;return{startDateStr:Q,endDateStr:J,startDateTs:I,endDateTs:K,dateTag:X,spanDays:H}}function RO1($){if(!$)return;let Y=Array.isArray($)?$:[$],z=[];for(let U of Y){let Q=U.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(Q))z.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(Q))z.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(Q))z.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(Q))z.push("CANCELLED");else if(Q)z.push(Q)}return z.length>0?z:void 0}function _O1($,Y,z){if(!Y)return z?`${$} (${z})`:$;return(Y.split(/[。\n\r;;!!]/)[0]?.trim()||Y.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function vO1($=new Date){let Y=new Intl.DateTimeFormat("en-CA",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts($),z=(G)=>Y.find((W)=>W.type===G)?.value||"",U=z("year"),Q=z("month"),J=z("day"),I=z("hour"),K=z("minute");return`${U}${Q}${J}_${I}${K}`}function hO1($){if($.outputFile){let K=BP($.outputFile),G=EO1(K);if(!hD0(G))SD0(G,{recursive:!0});return K}let Y=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",z=$.dateTag||new Date().toISOString().slice(0,10),U=$.recordCount>0?`${$.recordCount}条`:"空数据",Q=vO1($.exportTime||new Date),J=`${Y}_审核记录_${z}_${U}_${Q}.xlsx`,I;if($.toDownloads)I=BP(jO1(),"Downloads");else I=BP(process.cwd(),"exports");if(!hD0(I))SD0(I,{recursive:!0});return BP(I,J)}async function PP($,Y,z={}){let U=Y.name||Y.id,Q=z.pageSize??100,J=z.pageDelayMs??250,I=z.limit??1e5,K=Boolean(z.startDate||z.endDate),G=Array.isArray(z.sns)?z.sns.map((g)=>g.trim()).filter(Boolean):[],W=G.length>0,H=new Set(G),X=xn({startDate:z.startDate,endDate:z.endDate,force:z.force,silent:!K&&W}),{startDateTs:Z,endDateTs:q}=X,V=X.dateTag,F=RO1(z.manualApprovalStatus);console.error(`正在加载企业「${U}」审核规则集...`);let M=new Map;try{(await n6($)).rules.forEach((p,e)=>{let y=`rule-${p.code??e}`,s=_O1(y,p.description,p.scope);M.set(y,{id:y,code:String(p.code??e),title:`[${y}] ${s}`,desc:p.description})})}catch(g){console.error(`⚠️ 加载规则字典失败: ${g.message},将仅导出基础信息列。`)}let w=Array.from(M.keys()).sort((g,p)=>{let e=parseInt(g.replace(/\D/g,""),10)||0,y=parseInt(p.replace(/\D/g,""),10)||0;return e-y});if(console.error(`已就绪 ${w.length} 个规则列。开始拉取单据...`),z.withFlow===!0&&Y.source.type==="hose")if(W)console.error(`\uD83C\uDFAF [单据筛选] 已指定定向筛选单号: [${G.join(", ")}] (共 ${G.length} 个)。`);else try{let g=await b4($,{limit:1,startDate:Z,endDate:q,status:z.status,sourceSystem:z.sourceSystem,taskMode:z.taskMode,manualApprovalStatus:F}),p=g.total??g.records?.length??0,e=Math.max(1,Math.min(z.flowConcurrency??3,5)),y=Math.max(1,Math.ceil(p/e*0.4));if(p>50)console.error(`⚠️ [审批流对齐提示] 目标区间内单据规模约为 ${p} 笔。系统已启用合思 Open API 保护限流(并发 ${e}),预计审批流拉取耗时约 ${y} 秒。`)}catch{}let O=[],D=0,N=0;if(W&&G.length<=50){console.error(`正在定向检索 ${G.length} 个指定单号...`);for(let g of G){try{let e=((await b4($,{search:g,limit:50,startDate:K?Z:void 0,endDate:K?q:void 0,status:z.status,sourceSystem:z.sourceSystem,taskMode:z.taskMode,manualApprovalStatus:F})).records||[]).filter((y)=>y.sourceDocumentSN===g);for(let y of e){if(y.taskMode==="simulation"){D++;continue}if(z.taskMode&&y.taskMode!==z.taskMode)continue;if(Y.source.type==="hose"&&y.sourceSystem&&!["hose","hosecloud"].includes(y.sourceSystem)){N++;continue}if(z.includeCompletedOnly&&y.status!=="completed")continue;if(y.status==="completed"&&(!y.result||!y.result.rulesResult))try{let s=await G4($,y.id);O.push(s)}catch{O.push(y)}else O.push(y);if(O.length>=I)break}}catch(p){console.error(`⚠️ 定向检索单号 [${g}] 失败: ${p.message}`)}if(O.length>=I)break}console.error(`定向检索完成,成功匹配 ${O.length} 条记录。`)}else{let g=0,p=0;while(O.length0)try{e=await b4($,{limit:Q,offset:g,startDate:Z,endDate:q,status:z.status,sourceSystem:z.sourceSystem,taskMode:z.taskMode,manualApprovalStatus:F});break}catch(Y0){if(y--,console.error(`分页拉取失败 (offset=${g}): ${Y0.message},剩余重试 ${y} 次...`),y===0)throw Y0;await new Promise((M0)=>setTimeout(M0,1000))}if(!e||!e.records||e.records.length===0)break;p=e.total??p;for(let Y0 of e.records){if(W&&(!Y0.sourceDocumentSN||!H.has(Y0.sourceDocumentSN)))continue;if(Y0.taskMode==="simulation"){D++;continue}if(z.taskMode&&Y0.taskMode!==z.taskMode)continue;if(Y.source.type==="hose"&&Y0.sourceSystem&&!["hose","hosecloud"].includes(Y0.sourceSystem)){N++;continue}if(z.includeCompletedOnly&&Y0.status!=="completed")continue;if(Y0.status==="completed"&&(!Y0.result||!Y0.result.rulesResult))try{let M0=await G4($,Y0.id);O.push(M0)}catch{O.push(Y0)}else O.push(Y0);if(O.length>=I)break}g+=e.records.length;let s=p>0?(g/p*100).toFixed(1):"-";if(g%500===0||g>=p||O.length>=I)console.error(`[进度] 已读取单据: ${g}/${p} (${s}%),有效加入: ${O.length} 条`);if(e.records.length=p)break;if(J>0)await new Promise((Y0)=>setTimeout(Y0,J))}}if(D>0)console.error(`ℹ️ 已自动排除 ${D} 条模拟测试任务 (taskMode="simulation"),仅保留真实审批任务。`);if(N>0)console.error(`ℹ️ 已自动排除 ${N} 条非合思来源单据,仅保留合思业务单据。`);if(!K&&W&&O.length>0){let g=O.map((p)=>kn(p.createdAt||p.updatedAt)).filter(Boolean);if(g.length>0){g.sort();let p=g[0],e=g[g.length-1];V=p===e?p:`${p}至${e}`}}console.error(`成功拉取 ${O.length} 条单据数据,正在生成高保真 Excel...`);let A=new gD0.default.Workbook;A.creator="Seal AI (seal-use)",A.created=new Date;let T=A.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),B=z.withFlow===!0&&Y.source.type==="hose",j=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},...B?[{header:"E人工行为",key:"eHumanAction",width:18},{header:"E人工意见",key:"eHumanComment",width:36}]:[],{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],C=w.map((g)=>{return{header:M.get(g).title,key:`rule_${g}`,width:22}});T.columns=[...j,...C];let b=T.getRow(1);b.height=32,b.eachCell((g,p)=>{let e=p<=j.length;g.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},g.fill={type:"pattern",pattern:"solid",fgColor:{argb:e?"FF1E3A8A":"FF334155"}},g.alignment={vertical:"middle",horizontal:e&&p<=2?"left":"center",wrapText:!1}});let k={},h=0,i=new Map,c=new Set,U0=z.excludeDeleted??!0;if(z.withFlow===!0&&Y.source.type==="hose"){try{let g=new Map;for(let e of O){let y=e.sourceDocumentId||e.sourceDocumentSN;if(y){let s=g.get(y)||[];s.push(e),g.set(y,s)}}let p=Array.from(g.keys());if(p.length>0){let e=Math.max(1,Math.min(z.flowConcurrency??3,5)),y=z.flowBatchDelayMs??150,s=Math.max(1,Math.ceil(p.length/e*(0.25+y/1000)));console.error(`正在拉取合思原生审批流以对齐人工行为与意见 (共 ${p.length} 个单据,并发限制: ${e},批次间隔: ${y}ms,预计耗时约 ${s}s)...`);let Y0=await mI(Y),M0=new Map;for(let E0=0;E0{let b0=g.get(T0),Y1=b0[0]?.sourceDocumentSN||T0;try{let a=await DP(Y0,T0,M0);if(!a){c.add(Y1);let L0=QU(b0,void 0);for(let[f0,u0]of L0.entries())u0.eHumanAction="单据已删除",u0.eHumanComment="合思系统中未找到该单据流转记录(可能已在合思端删除或作废)",i.set(f0,u0);return}let H0=QU(b0,a);for(let[L0,f0]of H0.entries())i.set(L0,f0)}catch(a){console.error(`⚠️ 拉取单据 ${Y1} 审批流失败: ${a.message},使用降级对齐。`);let H0=QU(b0,void 0);for(let[L0,f0]of H0.entries())i.set(L0,f0)}})),y>0&&E0+esetTimeout(T0,y));if((E0+e)%20=p.length){let T0=Math.min(E0+G0.length,p.length),b0=Math.round(T0/p.length*100);console.error(`[审批流进度] 已对齐: ${T0}/${p.length} (${b0}%)...`)}}}}catch(g){console.error(`⚠️ 对齐合思审批流失败: ${g.message},E人工行为与意见将使用默认值。`)}if(c.size>0)console.error(`ℹ️ 检测到 ${c.size} 个单据在合思端已删除或不存在(如: ${Array.from(c).slice(0,3).join(", ")}...)${U0?",已按要求自动排除。":",已在报表中标记为「单据已删除」。"}`)}let x=0,d=0;for(let g of O){let p=g.sourceDocumentSN||g.sourceDocumentId;if(U0&&p&&c.has(p)){d++;continue}x++;let e=g.result||{},y=g.document||{},s="未知模板";if(Array.isArray(y.fields)){let P=y.fields.find((v)=>v.label==="单据模板"||v.label==="流程名称"||v.key==="templateName"||v.key==="specificationId"||v.key==="formName");if(P?.value)s=String(P.value)}if(s==="未知模板"&&(y.name||y.title))s=y.name||y.title;let Y0=g.taskMode||"-";if(Y0==="assisted")Y0="辅助审核";else if(Y0==="simulation")Y0="测试任务";else if(Y0==="automatic")Y0="自动审批";let M0=g.status||"-";if(M0==="completed")M0="已完成";else if(M0==="processing")M0="处理中";else if(M0==="failed")M0="失败";let E0=e.decision||g.aiDecision||"-",G0=String(E0).toUpperCase(),T0=String(E0),b0="-";if(G0==="APPROVE"||G0==="通过")T0="通过",b0="添加评论";else if(G0==="EXEMPT_APPROVE"||G0==="免审通过"||G0==="备注通过")T0="备注通过",b0="添加评论";else if(G0==="REVIEW"||G0==="转交复核")T0="转交复核",b0="转交复核";else if(G0==="REJECT"||G0==="驳回")T0="驳回",b0="驳回";else if(G0==="ERROR"||G0==="错误")T0="错误",b0="-";let Y1="-";if(g.createdAt&&g.updatedAt&&g.status==="completed"){let P=Math.round((Number(g.updatedAt)-Number(g.createdAt))/1000);if(P>=60)Y1=`${Math.floor(P/60)}分${P%60}秒`;else if(P>0)Y1=`${P}秒`}let a=g.manualApprovalRecord||{},H0=String(a.status?.sourceStatus||""),L0="-";if(a.status?.label)L0=String(a.status.label);else if(a.status?.type){let P=String(a.status.type);if(P==="APPROVED")L0="已通过";else if(P==="TERMINATED")L0="被驳回";else if(P==="PROCESSING")L0="处理中";else if(P==="CANCELLED")L0="已撤回";else L0=P}k[L0]=(k[L0]||0)+1;let f0=a.rejectComment?String(a.rejectComment).trim():"-";if(f0!=="-")h++;let u0=new Map,i0=[];if(Array.isArray(e.rulesResult)){for(let P of e.rulesResult)if(P.id)u0.set(P.id,P.checkResult||"PASS"),i0.push(P.id)}if(Array.isArray(e.hitRules)){for(let P of e.hitRules)if(P.id&&!u0.has(P.id))u0.set(P.id,"TRIGGERED"),i0.push(P.id)}let D1="-";if(g.createdAt)D1=new Date(Number(g.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let k1=i.get(g.id),u1=k1?k1.eHumanAction:"-",b1=k1?k1.eHumanComment:"-",B0={sn:g.sourceDocumentSN||g.sourceDocumentId||"-",templateName:s,sourceSystem:g.sourceSystem||"合思",taskMode:Y0,status:M0,aiAction:b0,aiDecision:T0,thinkingDepth:"标准",manualStatus:L0,humanRejectReason:f0,...B?{eHumanAction:u1,eHumanComment:b1}:{},createdAt:D1,duration:Y1,hitRuleCount:i0.length,hitRulesSummary:i0.join(", ")||"-",aiSummary:e.summary||"-"};for(let P of w){let v=u0.get(P);if(v)if(v==="PASS")B0[`rule_${P}`]="关联 (通过)";else if(v==="FAIL")B0[`rule_${P}`]="关联 (不通过)";else if(v==="UNKNOWN")B0[`rule_${P}`]="关联 (待复核)";else B0[`rule_${P}`]="已关联";else B0[`rule_${P}`]="未关联"}let Q0=T.addRow(B0);Q0.height=24,Q0.eachCell((P,v)=>{let u=String(P.value||"");if(P.font={name:"Microsoft YaHei",size:10},P.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},v<=j.length){let X0=j[v-1]?.key||"",J0=["sn","templateName","humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0),Z0=["humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0);if(P.alignment={vertical:"middle",horizontal:J0?"left":"center",wrapText:Z0},X0==="aiDecision"){if(u==="通过"||u==="备注通过")P.font={color:{argb:"FF16A34A"},bold:!0};else if(u==="转交复核")P.font={color:{argb:"FFD97706"},bold:!0};else if(u==="驳回")P.font={color:{argb:"FFDC2626"},bold:!0};else if(u==="错误"||u==="ERROR")P.font={color:{argb:"FFDC2626"},bold:!0}}if(X0==="manualStatus"){if(u.includes("驳回"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("支付")||u.includes("完成"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("处理中")||u.includes("审批中"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("取消")||u.includes("撤回"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}}}if(X0==="humanRejectReason"&&u!=="-")P.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}};if(X0==="eHumanAction"){if(u.includes("⚠️")||u.includes("修改"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FFD97706"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}};else if(u.includes("驳回")||u.includes("退回"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("已支付")||u.includes("已完成"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("待处理")||u.includes("处理中")||u.includes("审核中")||u.includes("审批中")||u.includes("支付中"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("撤回")||u.includes("取消"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}};else if(u==="无操作")P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF94A3B8"}}}if(X0==="eHumanComment"&&u!=="-")P.font={name:"Microsoft YaHei",size:9,color:{argb:"FF334155"}}}else if(P.alignment={vertical:"middle",horizontal:"center"},u.includes("不通过"))P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},P.font={color:{argb:"FF991B1B"},bold:!0};else if(u.includes("通过"))P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},P.font={color:{argb:"FF166534"},bold:!0};else if(u.includes("待复核")||u.includes("已关联"))P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},P.font={color:{argb:"FF92400E"}};else P.font={color:{argb:"FF94A3B8"}}})}let t=hO1({outputFile:z.outputFile,toDownloads:z.toDownloads,corpName:U,dateTag:V,recordCount:x,exportTime:z.exportTime});await A.xlsx.writeFile(t),console.error(`Excel 文件已成功落地: ${t}`);let $0=TO1(t);return{filePath:t,corpId:Y.id,corpName:U,recordCount:x,ruleColumnCount:w.length,statusCounts:k,rejectReasonCount:h,fileSizeBytes:$0.size,exportedAt:new Date().toISOString(),excludedDeletedCount:d,excludedSimulationCount:D}}var gD0;var AP=o(()=>{X6();gn();gD0=J6(PZ(),1)});import yD0 from"node:fs";import kD0 from"node:path";function SO1($){try{let Y=new URL($);if(Y.search)return`${Y.origin}${Y.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function bn($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function xD0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function gO1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Q4($){return typeof $==="string"&&$.trim()?$.trim():void 0}function fn($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function yO1($){if(!$)return;if(typeof $==="string")try{let Y=JSON.parse($);if(Y&&typeof Y==="object")return Y}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function kO1($,Y,z){if(z?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let U=$.fileName??$.filename??$.name??$.originalName,Q=$.fileId??$.id??$.attachmentId,J=$.ossPath??$.ossKey,I=$.url??$.downloadUrl??$.previewUrl,K=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(U&&(I||J||Q||G))return!0;if(Q&&(K||G||J||I))return!0;let W=Object.keys($).map((Z)=>Z.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(Y)||Boolean(z?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(z.fieldKey))||Boolean(z?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(z.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((Z)=>W.includes(Z))}function xO1($,Y,z){let U=`${$} ${z?.fieldLabel??""} ${z?.fieldKey??""} ${Q4(Y.type)??""} ${Q4(Y.category)??""}`.toLowerCase();if(U.includes("invoice")||U.includes("发票"))return"invoice";if(U.includes("receipt"))return"receipt";let Q=(Q4(Y.fileName)??Q4(Y.name)??"").toLowerCase();if(Q.includes("发票")||Q.includes("invoice"))return"invoice";return"attachment"}function un($,Y,z,U,Q){if(Array.isArray($)){$.forEach((W,H)=>un(W,`${Y}.${H}`,z,U,Q));return}let J=gO1($);if(!J)return;let I=J.type&&typeof J.type==="string"||"label"in J&&"value"in J||"key"in J&&"value"in J,K=Q;if(I)K={fieldLabel:Q4(J.label)??Q?.fieldLabel,fieldKey:Q4(J.key)??Q?.fieldKey,fieldType:Q4(J.type)??Q?.fieldType};if(!(Array.isArray(J.value)&&!J.url&&!J.ossSignedUrl&&!J.fileId)&&kO1(J,Y,Q)){let W=yO1(J.token),H=Q4(W?.key),X=Q4(W?.fileId),Z=xD0({path:Y,fieldPath:Y,kind:xO1(Y,J,Q),fileName:Q4(J.fileName)??Q4(J.filename)??Q4(J.name)??Q4(J.originalName),mimeType:Q4(J.mimeType)??Q4(J.mimetype)??Q4(J.contentType),fileId:Q4(J.fileId)??Q4(J.id)??Q4(J.attachmentId)??X,ossPath:Q4(J.ossPath)??Q4(J.ossKey)??H,url:Q4(J.url)??Q4(J.signedUrl)??Q4(J.downloadUrl)??Q4(J.previewUrl),ossSignedUrl:Q4(J.ossSignedUrl)??Q4(J.signedUrl),token:J.token,tokenKey:H,category:Q4(J.category),ossFileSize:fn(J.ossFileSize)??fn(J.fileSize)??fn(J.size),invoiceId:Q4(J.invoiceId),sourceField:Q4(J.fieldName)??Q4(J.label)??Q?.fieldLabel??Q?.fieldKey}),q=JSON.stringify(Z);if(!U.has(q))U.add(q),z.push(Z)}for(let[W,H]of Object.entries(J))un(H,`${Y}.${W}`,z,U,K)}function k2($,Y={}){let z=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],U=[],Q=new Set;for(let[J,I]of z)un(I,J,U,Q);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:U.length,attachments:Y.summary?U.map((J)=>xD0({path:J.path,kind:J.kind,fileName:J.fileName,mimeType:J.mimeType,fileId:J.fileId,sourceField:J.sourceField,ossFileSize:J.ossFileSize,hasSignedUrl:Boolean(J.ossSignedUrl)})):U}}async function TP($){let{record:Y,fetchFn:z=globalThis.fetch}=$,Q=k2(Y,{summary:!1}).attachments,J=kD0.resolve($.outDir??"./attachments");if(Q.length===0)return{recordId:Y.id,outDir:J,total:0,downloaded:0,failed:0,files:[]};let I=[];if($.name){let X=$.name.toLowerCase();if(I=Q.filter((Z)=>{let q=Z.fileName?.toLowerCase()??"",V=Z.fileId?.toLowerCase()??"",F=Z.tokenKey?.toLowerCase()??"";return q.includes(X)||V===X||F.includes(X)}),I.length===0){let Z=Q.map((q)=>q.fileName??q.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${Z||"无"}`)}}else if(!$.all){if(Q.length>1){let X=Q.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${Q.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${X}`)}I=Q}else I=Q;await yD0.promises.mkdir(J,{recursive:!0});let K=[],G=new Set;for(let X of I){let Z=X.fileName??X.fileId??"attachment",q=bn(Z),V=q,F=q.lastIndexOf("."),M=F>0?q.slice(0,F):q,w=F>0?q.slice(F):"",O=1;while(G.has(V.toLowerCase()))V=`${M}_${O}${w}`,O++;G.add(V.toLowerCase());let D=X.ossSignedUrl??X.url;if(!D){console.error(`⚠️ [跳过] 附件 "${Z}": 记录中无下载直链 (ossSignedUrl/url)`),K.push({name:V,fileId:X.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:X.sourceField,tokenKey:X.tokenKey});continue}let N=SO1(D);try{let A=await z(D,{signal:AbortSignal.timeout(60000)});if(!A.ok){let C=A.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${A.status} ${A.statusText}`;throw Error(C)}let T=await A.arrayBuffer(),B=Buffer.from(T);if(X.ossFileSize!==void 0&&B.length!==X.ossFileSize)console.error(`⚠️ [校验] 附件 "${V}" 实际大小 (${B.length} 字节) 与 ossFileSize (${X.ossFileSize} 字节) 不一致`);let j=kD0.join(J,V);await yD0.promises.writeFile(j,B),console.error(`✓ 已下载: ${V} (${B.length} 字节)`),K.push({name:V,fileId:X.fileId,path:j,size:B.length,expectedSize:X.ossFileSize,status:"success",sourceField:X.sourceField,tokenKey:X.tokenKey})}catch(A){let T=A.message??String(A);console.error(`⚠️ [失败] 附件 "${Z}" 下载失败: ${T} [${N}]`),K.push({name:V,fileId:X.fileId,status:"failed",error:T,sourceField:X.sourceField,tokenKey:X.tokenKey})}}let W=K.filter((X)=>X.status==="success").length,H=K.filter((X)=>X.status==="failed").length;return{recordId:Y.id,outDir:J,total:I.length,downloaded:W,failed:H,files:K}}var jP=()=>{};var fO1,uO1,bO1,iO1,fD0,cn,nn,cO1,nO1,pO1,pn,dO1,EP;var dn=o(()=>{B$();fO1=L.object({type:L.literal("hose"),domain:L.string().url().default("https://app.ekuaibao.com"),appKey:L.string().optional(),appSecurity:L.string().optional(),key:L.string().optional(),password:L.string().optional(),staffId:L.string(),corpId:L.string(),sealUrl:L.string().url().optional()}).superRefine(($,Y)=>{if(!$.appKey&&!$.key)Y.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)Y.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),uO1=L.object({type:L.literal("direct"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("direct"),corpId:L.string().optional()}),bO1=L.object({type:L.literal("seal"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("seal"),corpId:L.string().optional(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),providerUserId:L.string().optional(),provider:L.string().optional(),providerName:L.string().optional()}),iO1=L.discriminatedUnion("type",[fO1,uO1,bO1]),fD0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,cn=L.record(L.string().regex(fD0,"Invalid HTTP header name"),L.string()).superRefine(($,Y)=>{for(let z of Object.keys($))if(z.toLowerCase()==="authorization")Y.addIssue({code:"custom",path:[z],message:"seal.headers cannot set Authorization; the Seal session supplies the bearer token"})}).optional(),nn=L.record(L.string().regex(fD0,"Invalid cookie name"),L.string().refine(($)=>!/[\u0000-\u001f\u007f;]/.test($),{message:"Cookie value cannot contain control characters or semicolons"})).optional(),cO1=L.object({url:L.string().url().optional(),tenantSlug:L.string().optional(),headers:cn,cookies:nn,endpoints:L.object({approvalStylePreferences:L.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),nO1=L.object({refreshTtl:L.number().int().positive().default(300)}).default({refreshTtl:300}),pO1=L.enum(["production","test"]).default("production"),pn=L.object({id:L.string(),name:L.string(),seal:cO1,source:iO1,auth:nO1,environment:pO1,testCorpId:L.string().optional(),prodCorpId:L.string().optional()}),dO1=L.object({enabled:L.boolean().default(!1),activeLinter:L.string().default("builtin"),minScore:L.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),EP=L.object({stateful:L.boolean().default(!1),defaultCorpId:L.string().min(1).optional(),testEnterprisesDir:L.string().min(1).optional(),lint:dO1})});import{copyFileSync as uD0,existsSync as V$,mkdirSync as iD0,readFileSync as vP,readdirSync as RP,rmSync as mO1,statSync as TZ,writeFileSync as cD0}from"node:fs";import{homedir as hP}from"node:os";import{dirname as lO1,join as O9}from"node:path";function oO1($=rI,Y=_P){if(!V$(Y))return{copied:[],deletedLegacyDir:!1};iD0($,{recursive:!0,mode:448});let z=[],U=[];try{U=RP(Y).filter((X)=>X.endsWith(".json"))}catch{return{copied:[],deletedLegacyDir:!1}}for(let X of U){let Z=O9(Y,X),q=O9($,X);if(!V$(q))uD0(Z,q),z.push(X);else{let V=TZ(Z).mtimeMs,F=TZ(q).mtimeMs;if(V>F)uD0(Z,q),z.push(X)}}let Q=604800000,J=Date.now(),I=!1,K=!1;for(let X of RP(Y)){let Z=O9(Y,X),q=O9($,X),V=TZ(Z);if(J-V.mtimeMsTZ(q).mtimeMs)I=!0}}let G=TZ(Y),W=J-G.mtimeMsQ.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=vP(O9(z,U),"utf-8"),J=pn.parse(JSON.parse(Q));Y.set(J.id,J)}return Array.from(Y.values())}function oD0(){let $=(process.env[mn]??process.env[nD0])?.trim();if($)return V$($)?[$]:[];let Y=(process.env[pD0]??process.env[dD0])?.trim(),z;if(Y)z=V$(Y)?[Y]:[];else{try{oO1()}catch{}z=V$(rI)?[rI]:V$(_P)?[_P]:[rI]}let Q=_4().testEnterprisesDir?.trim(),J=Q?[Q,...z]:z,I=[];for(let K of J)if(V$(K)&&!I.includes(K))I.push(K);return I}function ln(){let $=(process.env[mn]??process.env[nD0])?.trim();if($)return $;let Y=(process.env[pD0]??process.env[dD0])?.trim();if(Y)return Y;let z=_4().testEnterprisesDir?.trim();if(z&&V$(z))return z;return rI}function v7(){let $=_4().testEnterprisesDir?.trim();return[`${mn}=`,...$?[`testEnterprisesDir: ${$}`]:[],rI,_P]}function JU(){let $=(process.env[mD0]??process.env[lD0])?.trim();if($)return $;if(V$(CP))return CP;if(V$(bD0))return bD0;return CP}function _4(){let $=JU();if(!V$($))return EP.parse({});return EP.parse(JSON.parse(vP($,"utf-8")))}function IU($){let Y=EP.parse($),U=(process.env[mD0]??process.env[lD0])?.trim()||CP;return iD0(lO1(U),{recursive:!0,mode:448}),cD0(U,`${JSON.stringify(Y,null,2)} -`,{mode:384}),Y}function on($){let Y=oD0();for(let z of Y){if(!V$(z))continue;for(let U of RP(z).filter((Q)=>Q.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=O9(z,U);try{let J=vP(Q,"utf-8"),I=JSON.parse(J);if(I&&typeof I==="object"&&I.id===$)return Q}catch{}}}return}function x2($,Y){let z=on($);if(!z)throw Error(`Enterprise config not found: ${$}`);let Q={...JSON.parse(vP(z,"utf-8")),...Y};for(let I of Object.keys(Y))if(Y[I]===void 0)delete Q[I];let J=pn.parse(Q);return cD0(z,`${JSON.stringify(J,null,2)} -`,"utf-8"),J}var mn="SEAL_USE_ENTERPRISES_DIR",nD0="SEAL_HOME_ENTERPRISES_DIR",pD0="SEAL_USE_USER_ENTERPRISES_DIR",dD0="SEAL_HOME_USER_ENTERPRISES_DIR",mD0="SEAL_USE_CONFIG_FILE",lD0="SEAL_HOME_CONFIG_FILE",rI,_P,CP,bD0;var h7=o(()=>{dn();rI=O9(hP(),".config","seal-use","enterprises"),_P=O9(hP(),".config","seal-home","enterprises"),CP=O9(hP(),".config","seal-use","config.json"),bD0=O9(hP(),".config","seal-home","config.json")});function f2($,Y,z=[]){let U=Y.corpId?.trim()||void 0,Q=Y.stateful?Y.defaultCorpId?.trim()||void 0:void 0,J=U??Q;if(J){let K=$.find((H)=>H.id===J);if(K)return K;let G=$.find((H)=>H.id.toLowerCase()===J.toLowerCase());if(G)return G;let W=$.find((H)=>H.name.toLowerCase()===J.toLowerCase());if(W)return W;throw Error(`No enterprise config found for ${J}`)}if(!Y.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp . Use `seal-home config mode stateful` to enable a default enterprise.");let I=$[0];if(I)return I;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(z.length?z.join(", "):"the configured enterprise directories"))}import{existsSync as rn,mkdirSync as rO1,readFileSync as sO1,renameSync as aO1,unlinkSync as tO1,writeFileSync as eO1}from"node:fs";import{homedir as $N1}from"node:os";import{dirname as YN1,join as zN1}from"node:path";function an(){let $=process.env[UN1]?.trim();if($)return $;return QN1}function rD0($=new Date){return $.toISOString().slice(0,10)}function sD0($=sn,Y=new Date){let z=Y.getTime()-Math.max(0,$-1)*86400000;return new Date(z).toISOString().slice(0,10)}function aD0($=an()){if(!rn($))return{};try{let Y=sO1($,"utf-8"),z=JSON.parse(Y);if(z&&typeof z==="object"&&!Array.isArray(z))return z;return{}}catch{return{}}}function JN1($,Y){let z={};for(let[U,Q]of Object.entries($)){if(!Q||typeof Q!=="object")continue;let J={},I=!1;for(let[K,G]of Object.entries(Q))if(typeof G==="number"&&G>0&&K>=Y)J[K]=G,I=!0;if(I)z[U]=J}return z}function IN1($,Y=an()){let z=YN1(Y);if(!rn(z))rO1(z,{recursive:!0,mode:448});let U=`${Y}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2,8)}.tmp`;try{eO1(U,JSON.stringify($,null,2),"utf-8"),aO1(U,Y)}catch(Q){try{if(rn(U))tO1(U)}catch{}throw Q}}function tD0($,Y=new Date){if(!$||typeof $!=="string")return;try{let z=an(),U=aD0(z),Q=rD0(Y),J=sD0(sn,Y),I=JN1(U,J);I[$]=I[$]||{},I[$][Q]=(I[$][Q]??0)+1,IN1(I,z)}catch{}}function KN1($,Y=sn,z=new Date){let U=new Map;try{let Q=aD0(),J=sD0(Y,z),I=rD0(z),K=$??Object.keys(Q);for(let G of K){let W=Q[G];if(!W){U.set(G,0);continue}let H=0;for(let[X,Z]of Object.entries(W))if(X>=J&&X<=I&&typeof Z==="number")H+=Z;U.set(G,H)}}catch{if($)for(let Q of $)U.set(Q,0)}return U}function eD0($,Y,z){let U=z??KN1($.map((Q)=>Q.id));return[...$].sort((Q,J)=>{if(Y){if(Q.id===Y&&J.id!==Y)return-1;if(J.id===Y&&Q.id!==Y)return 1}let I=U.get(Q.id)??0,K=U.get(J.id)??0;if(I!==K)return K-I;let G=Q.name??Q.id,W=J.name??J.id,H=G.localeCompare(W,"zh-CN");if(H!==0)return H;return Q.id.localeCompare(J.id)})}var UN1="SEAL_USE_USAGE_FILE",QN1,sn=7;var tn=o(()=>{QN1=zN1($N1(),".config","seal-use","usage.json")});function GN1($,Y){return $.map((z)=>z.trim()).filter(Boolean).map((z)=>Y?z:z.toLowerCase())}function WN1($,Y){return Y?$:$.toLowerCase()}function HN1($,Y,z,U){let Q=WN1($,U),J=Y.filter((I)=>Q.includes(I));if(z==="all"&&J.length!==Y.length)return[];return J}function XN1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function ZN1($,Y){if(Y.fields&&!Y.fields.has($.field))return[];let z=XN1($.value),U=[];return z.forEach((Q,J)=>{let I=HN1(Q,Y.keywords,Y.matchMode,Y.caseSensitive);if(I.length===0)return;let K=Math.max(0,J-Y.contextLines),G=Math.min(z.length,J+Y.contextLines+1),W={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:J+1,matchedKeywords:I,matchedText:SP(Q,Y.maxChars),context:{before:Y.snippetOnly?[]:z.slice(K,J).map((H)=>SP(H,Y.maxChars)),line:SP(Q,Y.maxChars),after:Y.snippetOnly?[]:z.slice(J+1,G).map((H)=>SP(H,Y.maxChars))},metadata:$.metadata};if(Y.snippetOnly)W.context={before:[],line:W.context.line,after:[]};U.push(W)}),U}function SP($,Y){if(!Y||$.length<=Y)return $;return`${$.slice(0,Math.max(0,Y))}...`}function qN1($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function YB0($){return $.rules.flatMap((Y,z)=>{let U=`${$.id}:${Y.description.slice(0,32)}`,Q={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:Y.scope,strictness:Y.strictness,code:"code"in Y?Y.code:void 0,index:z};return[{area:"rules",entityType:"rule",entityId:U,title:`${$.versionName} / ${Y.scope}`,field:"history.description",value:Y.description,metadata:Q},{area:"rules",entityType:"rule",entityId:U,title:`${$.versionName} / ${Y.scope}`,field:"history.scope",value:Y.scope,metadata:Q}]})}function VN1($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function LN1($){let Y=[];if($.decisionPreferences)for(let[z,U]of Object.entries($.decisionPreferences))Y.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${z}`,value:U,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((z,U)=>{Y.push({area:"preferences",entityType:"integration",title:z.outboundName,field:`integrations[${U}]`,value:z,metadata:{type:z.type,outboundName:z.outboundName,mode:z.mode,corporationId:z.corporationId}})}),Y}async function FN1($,Y,z){let U=z.ruleVersionScope??"current",Q=[Y.id,`ruleVersionScope=${U}`,`ruleVersionId=${z.ruleVersionId??""}`,`ruleVersionNumber=${z.ruleVersionNumber??""}`,`latestRuleVersion=${z.latestRuleVersion??!1}`,`documentLimit=${z.documentLimit??100}`].join("|"),J=$B0.get(Q);if(!z.refresh&&J&&Date.now()Q.versionNumber===Y.versionNumber):z[0];if(!U)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return U}async function UB0($,Y,z){let U=z.matchMode??"any",Q=z.caseSensitive??!1,J=z.contextLines??3,I=new Set(z.areas??["rules","documents","preferences"]),K=z.maxResults??50,G=z.ruleVersionScope??"current",W=GN1(z.keywords,Q),H=z.fields?.length?new Set(z.fields):void 0;if(W.length===0)throw Error("keywords must contain at least one non-empty string");let X=await FN1($,Y,{documentLimit:z.documentLimit,refresh:z.refresh,ruleVersionScope:G,ruleVersionId:z.ruleVersionId,ruleVersionNumber:z.ruleVersionNumber,latestRuleVersion:z.latestRuleVersion}),Z=X.entries.filter((q)=>I.has(q.area)).flatMap((q)=>ZN1(q,{keywords:W,matchMode:U,caseSensitive:Q,contextLines:J,snippetOnly:z.snippetOnly,maxChars:z.maxChars,fields:H}));return{query:{keywords:z.keywords,matchMode:U,areas:Array.from(I),caseSensitive:Q,contextLines:J,refresh:z.refresh??!1,ruleVersionScope:G,ruleVersionId:z.ruleVersionId,ruleVersionNumber:z.ruleVersionNumber,latestRuleVersion:z.latestRuleVersion??!1,snippetOnly:z.snippetOnly??!1,maxChars:z.maxChars,fields:z.fields},cache:{fetchedAt:new Date(X.fetchedAt).toISOString(),expiresAt:new Date(X.expiresAt).toISOString(),ttlMs:zB0},total:Z.length,returned:Math.min(Z.length,K),results:Z.slice(0,K)}}var zB0=300000,$B0;var QB0=o(()=>{X6();$B0=new Map});import{createHmac as ON1,randomBytes as NN1}from"node:crypto";function DN1($,Y,z,U){return ON1("sha256",U).update(`${$}.${Y}.${JSON.stringify(z)}`).digest("hex")}function jZ($,Y){let z=Math.floor(Date.now()/1000),U=NN1(16).toString("hex");return{Authorization:`Bearer ${Y}`,"x-webhook-signature":DN1(z,U,$,Y),"x-webhook-timestamp":String(z),"x-webhook-nonce":U}}var gP=()=>{};function d4($,Y){return new w4($,2,Y)}function N9($,Y){return new w4($,10,Y)}function EZ($){if($ instanceof w4)return{exitCode:$.exitCode,nextAction:$.nextAction};let Y=$ instanceof Error?$.message:String($),z=BN1($);if(z===401||z===403||/(?:^|\s)(?:token|bearer|session) (?:expired|missing|invalid)/i.test(Y))return{exitCode:11};if(/^(?:Usage:|Unknown (?:[a-z0-9_-]+ )?command|Invalid (?:number|boolean|command)|--json must|Missing required JSON field)/i.test(Y))return{exitCode:2};if(/^Refusing to (?:clear|delete)|without --yes|without confirm=true/i.test(Y))return{exitCode:10};return{exitCode:1}}function BN1($){if(!$||typeof $!=="object")return;let Y=$.response;if(!Y||typeof Y!=="object")return;let z=Y.status;return typeof z==="number"?z:void 0}var w4,yP;var L$=o(()=>{w4=class w4 extends Error{exitCode;nextAction;constructor($,Y,z){super($);this.name="CliError",this.exitCode=Y,this.nextAction=z}};yP=class yP extends w4{constructor($,Y){super($,12,Y);this.name="PayloadTooLargeError"}}});function JB0($,Y){let z=$&&typeof $==="object"?$:{},U=typeof z.type==="string"?z.type.toUpperCase().trim():"",Q=typeof z.key==="string"&&z.key.trim()?z.key.trim():typeof z.label==="string"&&z.label.trim()?z.label.trim():`field_${Y}`,J=typeof z.label==="string"&&z.label.trim()?z.label.trim():Q,I=z.value!==void 0?z.value:null;if(U==="LIST"&&Array.isArray(I))I=I.map((G)=>{if(Array.isArray(G))return G.map((W,H)=>JB0(W,H));return G});let K=U;if(!PN1.has(K))if(Array.isArray(I))K="LIST";else if(I&&typeof I==="object")K="OBJECT";else if(typeof I==="number")K="NUMBER";else K="TEXT";return{key:Q,label:J,type:K,value:I}}function en($,Y={}){let z=$.document,U=$.sourceDocumentSN??(typeof z?.sn==="string"?z.sn:void 0)??(typeof z?.sourceDocumentSN==="string"?z.sourceDocumentSN:void 0)??$.id,Q=$.sourceDocumentId??(typeof z?.id==="string"?z.id:void 0)??(typeof z?.sourceDocumentId==="string"?z.sourceDocumentId:void 0)??$.documentId??$.id,J=Y.snPrefix??"",I=Y.snSuffix??"",K=Y.docIdPrefix??J,G=Y.docIdSuffix??I,W=`${J}${U}${I}`,H=`${K}${Q}${G}`,X=typeof z?.sourceStartTime==="number"?z.sourceStartTime:typeof $.createdAt==="number"?Math.floor($.createdAt/1000):null,q=(Array.isArray(z?.fields)?z.fields:[]).map((V,F)=>JB0(V,F));return{type:"document",documentId:H,documentSN:W,startTime:X,fields:q}}function AN1($){let Y=new URL($),z=Y.pathname.match(/\/webhook\/([^/]+)/);if(!z)throw Error(`Webhook URL 必须包含 /webhook/{webhookId}/document,收到: ${$}`);let U=z[1],Q=`${Y.protocol}//${Y.host}`,J=`${Q}/api/v1/integrations/webhook/${encodeURIComponent(U)}/document`;return{baseUrl:Q,webhookId:U,documentEndpoint:J}}async function $p($,Y,z,U=fetch,Q={}){let{webhookId:J,documentEndpoint:I}=AN1($),K={...Q,"Content-Type":"application/json",...jZ({webhookId:J,...z},Y)},G=await U(I,{method:"POST",headers:K,body:JSON.stringify(z)});if(!G.ok){let W=await G.text();throw Error(`Webhook 单据推送失败 (${G.status}): ${W}`)}return G.json()}function IB0($,Y,z){if(Y){let U=Y.trim().toLowerCase(),Q=$.find((J)=>J.id.toLowerCase()===U||J.name.toLowerCase()===U||J.incomingDocumentWebhook.id.toLowerCase()===U);if(!Q){let J=$.map((I)=>`"${I.name}" (${I.id})`).join(", ");throw Error(`未找到匹配 "${Y}" 的 Webhook 集成通道。可用通道: [${J}]`)}return Q}if($.length===1)return $[0];if($.length>1){let U=$.find((J)=>J.name.includes("回放")||J.name.toLowerCase().includes("replay"));if(U)return U;let Q=$.map((J)=>`"${J.name}" (${J.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 --webhook 指定目标通道。`)}throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url ${z?` --corp ${z}`:""}`)}function kP($,Y){let z,U,{sourceCorpId:Q,targetCorpId:J,activeCorp:I,force:K}=$;if(Q&&J)z=Y(Q),U=Y(J);else if(Q&&!J)if(z=Y(Q),z.testCorpId)U=Y(z.testCorpId);else if(I.id!==z.id&&I.environment==="test")U=I;else U=I;else if(!Q&&J)if(U=Y(J),U.prodCorpId)z=Y(U.prodCorpId);else if(I.id!==U.id)z=I;else z=I;else if(I.environment==="test")if(U=I,I.prodCorpId)z=Y(I.prodCorpId);else z=I;else if(I.environment==="production")if(z=I,I.testCorpId)U=Y(I.testCorpId);else U=I;else z=I,U=I;if(U.environment==="production"&&!K)throw new w4(`目标企业「${U.name}」(${U.id}) 标记为生产正式环境 (production)。 -`+"为防止测试单据污染生产审批流,禁止向生产环境重放单据。请指定测试企业 (--target-corp ),或在确有需要时添加 --force。",1,`seal-use webhook replay --target-corp ${z.id!==U.id?` --source-corp ${z.id}`:""}`);return{sourceCorp:z,targetCorp:U}}async function Yp($,Y,z){let U=Y.seal?.endpoints?.approvalStylePreferences??"api/v1/agent/ai-approval/config",Q=await J$($,U);if(z||Q.length>0)return IB0(Q,z,Y.id);if(Y.environment==="test"||Y.id.toLowerCase().includes("test")){console.error(`[webhook-replay] 测试企业「${Y.name}」未配置 Webhook 通道,正在自动创建「(Seal测-回放通道)」...`);let J=(Y.seal.url??Y.source?.sealUrl??`https://${Y.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,"");return await GM($,J,{name:"(Seal测-回放通道)",mode:"assisted",outgoingResultWebhook:`${J}/api/v1/integrations/webhook/replay-mock-callback`},Y.seal.endpoints.approvalStylePreferences)}throw new w4(`当前租户「${Y.name}」未配置任何 Webhook 集成通道。`,1,`seal-use webhook add --name --result-url --corp ${Y.id}`)}async function sI($){let{query:Y,sourceClient:z,targetClient:U,sourceCorp:Q,targetCorp:J,webhookSelector:I,snPrefix:K,snSuffix:G,docIdPrefix:W,docIdSuffix:H,dryRun:X,fetchFn:Z=fetch}=$,q=[];if(Y.recordId){let A=await G4(z,Y.recordId);q.push(A)}else if(Y.recordIds&&Y.recordIds.length>0)for(let A of Y.recordIds)q.push(await G4(z,A));else if(Y.sn){let A=await b4(z,{sourceDocumentSN:Y.sn,limit:1});if(!A.records.length)throw Error(`在企业「${Q.name}」中未找到单据编号为「${Y.sn}」的审批记录。`);q.push(A.records[0])}else if(Y.sns&&Y.sns.length>0)for(let A of Y.sns){let T=await b4(z,{sourceDocumentSN:A,limit:1});if(!T.records.length)throw Error(`在企业「${Q.name}」中未找到单据编号为「${A}」的审批记录。`);q.push(T.records[0])}else if(Y.limit!==void 0){let A=await b4(z,{limit:Y.limit,status:Y.status,startDate:Y.startDate,endDate:Y.endDate});if(!A.records.length)throw Error(`在企业「${Q.name}」中未检索到符合条件的审批记录。`);q=A.records}else throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let V=q.map((A)=>({run:A,doc:en(A,{snPrefix:K,snSuffix:G,docIdPrefix:W,docIdSuffix:H})}));if(X){let A={id:"preview-webhook",name:I??"预览目标通道",mode:"assisted",incomingDocumentWebhookUrl:`${J.seal.url}/api/v1/integrations/webhook/preview`};try{let j=await J$(U,J.seal.endpoints.approvalStylePreferences);if(j.length>0){let C=IB0(j,I,J.id);A={id:C.id,name:C.name,mode:C.mode,incomingDocumentWebhookUrl:C.incomingDocumentWebhook.url}}}catch{}let T=V.map(({run:j,doc:C})=>({originalRecord:{id:j.id,sourceSystem:j.sourceSystem,sourceDocumentSN:j.sourceDocumentSN,sourceDocumentId:j.sourceDocumentId},document:C,success:!0})),B=T.length===1;return{dryRun:!0,success:!0,sourceCorp:{id:Q.id,name:Q.name,environment:Q.environment},targetCorp:{id:J.id,name:J.name,environment:J.environment},targetWebhook:A,totalCount:T.length,successCount:T.length,failureCount:0,originalRecord:B?T[0].originalRecord:void 0,document:B?T[0].document:void 0,records:T}}let F=await Yp(U,J,I),M={id:F.id,name:F.name,mode:F.mode,incomingDocumentWebhookUrl:F.incomingDocumentWebhook.url},w=[],O=0,D=0;for(let{run:A,doc:T}of V){console.error(`[webhook-replay] 正在向 Webhook 通道「${F.name}」推送单据: ${T.documentSN}...`);try{let B=await $p(F.incomingDocumentWebhook.url,F.secret,T,Z,B6(J.seal));w.push({originalRecord:{id:A.id,sourceSystem:A.sourceSystem,sourceDocumentSN:A.sourceDocumentSN,sourceDocumentId:A.sourceDocumentId},replayedDocument:{documentSN:T.documentSN,documentId:T.documentId,fieldCount:T.fields.length},pushResult:B,success:!0}),O+=1}catch(B){let j=B instanceof Error?B.message:String(B);w.push({originalRecord:{id:A.id,sourceSystem:A.sourceSystem,sourceDocumentSN:A.sourceDocumentSN,sourceDocumentId:A.sourceDocumentId},replayedDocument:{documentSN:T.documentSN,documentId:T.documentId,fieldCount:T.fields.length},error:j,success:!1}),D+=1}}let N=w.length===1;return{success:D===0,dryRun:!1,sourceCorp:{id:Q.id,name:Q.name,environment:Q.environment},targetCorp:{id:J.id,name:J.name,environment:J.environment},targetWebhook:M,totalCount:w.length,successCount:O,failureCount:D,originalRecord:N?w[0].originalRecord:void 0,replayedDocument:N?w[0].replayedDocument:void 0,pushResult:N?w[0].pushResult:void 0,records:w}}var PN1;var CZ=o(()=>{gP();L$();X6();PN1=new Set(["TEXT","NUMBER","DATE","AMOUNT","PERSON","ATTACHMENT","DATE_RANGE","DEPARTMENT","LIST","CITY","OBJECT"])});var KB0,ye1,TN1,ke1;var GB0=o(()=>{B$();KB0=L.object({level:L.enum(["error","warning","info"]),code:L.string(),message:L.string(),snippet:L.string().optional(),suggestion:L.string().optional()}),ye1=L.object({score:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(KB0)}),TN1=L.object({ruleId:L.string().optional(),ruleCode:L.string().optional(),ruleName:L.string().optional(),score:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(KB0),description:L.string().optional()}),ke1=L.object({linter:L.string(),linterType:L.enum(["builtin","official","custom"]),totalRules:L.number(),healthyCount:L.number(),issueCount:L.number(),overallScore:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(TN1)})});function aI($){let Y=($.description||"").trim(),z=[];if(Y.length<5)z.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let G of jN1)if(Y.includes(G))z.push({level:"error",code:"VAGUE_WORD",snippet:G,message:`包含主观模糊词 "${G}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${G}",改为具体的金额上限、枚举范围或刚性判定条件`});let U=EN1.find((G)=>Y.includes(G)),Q=CN1.some((G)=>Y.includes(G));if(U&&!Q)z.push({level:"warning",code:"HANGING_EXCEPTION",snippet:U,message:`包含例外条款 "${U}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let J=z.filter((G)=>G.level==="error").length,I=z.filter((G)=>G.level==="warning").length;return{score:Math.max(0,100-J*25-I*10),passed:J===0,issues:z}}var jN1,EN1,CN1;var zp=o(()=>{jN1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],EN1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],CN1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"]});function WB0($){let Y=($.description||"").trim(),z=[];if(Y.length<5)z.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});else if(Y.length<10)z.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则描述偏短(少于 10 个字),可能缺少适用的单据范围或执行细节",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});for(let Z of RN1)if(Y.includes(Z))z.push({level:"error",code:"VAGUE_WORD",snippet:Z,message:`包含主观模糊词 "${Z}",在严格风控模式下容易引起审核判定分歧`,suggestion:`请移除 "${Z}",明确量化标准或枚举具体允许的情形`});let U=_N1.find((Z)=>Y.includes(Z)),Q=vN1.some((Z)=>Y.includes(Z));if(U&&!Q)z.push({level:"error",code:"HANGING_EXCEPTION",snippet:U,message:`包含例外条款 "${U}",但未指定 AI 从何处核验该例外成立的凭证依据`,suggestion:'严格模式要求必须补充明确的核验来源(如:"需在【单据备注】中说明原因" 或 "需在【附件】中提供审批截图")'});let J=/\d+/.test(Y),I=hN1.some((Z)=>Y.includes(Z));if(!J&&!I)z.push({level:"warning",code:"LACKS_EXPLICIT_CONSTRAINT",message:"规则缺乏明确的定量标准(如金额、天数、频次)或绝对刚性边界词(如不得、禁止、仅限)",suggestion:"建议设定具体数值阈值或明确的禁止/准入条件,以便大模型精确判定"});let K=/经(批准|审批|领导同意|领导签字)|审批通过/.test(Y),G=SN1.some((Z)=>Y.includes(Z));if(K&&!G)z.push({level:"warning",code:"AMBIGUOUS_APPROVER",message:"规则提及审批例外,但未明确指定具体的审批角色(如部门总监、直接上级、财务负责人)",suggestion:"建议明确审批人角色(例如:经【部门总监】批准,经【直接上级】邮件确认)"});let W=z.filter((Z)=>Z.level==="error").length,H=z.filter((Z)=>Z.level==="warning").length;return{score:Math.max(0,100-W*30-H*15),passed:W===0,issues:z}}var RN1,_N1,vN1,hN1,SN1;var Up=o(()=>{RN1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况","必要时","及时","适量","差不多","相关部门"],_N1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],vN1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"],hN1=["¥","$","€","元","不得超过","不超过","超过","低于","不低于","最高","封顶","限额","禁止","严禁","必须","不予","仅限","每人","每日","每月","每年","每次","单笔"],SN1=["总监","VP","总经理","直接上级","部门负责人","项目经理","财务","分管领导","HR","CEO"]});function HB0($){let Y=($.description||"").trim(),z=($.scope||"").trim(),U=[];if(Y.length<10)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 10 个字),无法承载 HLab 结构化规范所要求的判定逻辑",suggestion:"请按照 HLab 工业化规范补充【检查方法】与【判定标准】"});else if(Y.length<30&&!Y.includes("**")&&!Y.includes("检查方法"))U.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则正文偏短且缺少结构化要素,可能缺少执行细节或证据边界",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});if(!/\*\*检查方法\*\*|检查方法[::]/.test(Y))U.push({level:"error",code:"MISSING_CHECK_METHOD",message:"规则正文缺少【检查方法】结构块,大模型难以确定数据提取来源与对齐逻辑",suggestion:"建议在正文前部增加 **检查方法**:明确 SealAI 应读取的凭证类型、字段名称、归一化方式或前置规则依赖"});if(!/\*\*判定标准\*\*|判定标准[::]/.test(Y))U.push({level:"error",code:"MISSING_EVAL_STANDARD",message:"规则正文缺少【判定标准】结构块,缺乏标准化判定边界",suggestion:"建议在正文后部增加 **判定标准**:包含清晰的 PASS、FAIL 以及证据不足分支"});let I=/[-*•]?\s*PASS[::]/i.test(Y),K=/[-*•]?\s*FAIL[::]/i.test(Y),G=/[-*•]?\s*证据不足[::]/.test(Y);if(!I||!K||!G){let V=[];if(!I)V.push("PASS");if(!K)V.push("FAIL");if(!G)V.push("证据不足");U.push({level:"error",code:"INCOMPLETE_TERNARY_BRANCH",message:`判定标准未形成三元闭环,缺少分支:${V.join("、")}`,suggestion:"HLab 规范要求必须提供完整的三元分支:- PASS(充分合规条件)、- FAIL(明确违规条件)、- 证据不足(容错与复核条件)"})}if(G){let V=Y.split("证据不足")?.[1]?.slice(0,100)||"";if(!/人工复核|人工核对|人工审核|转人工/.test(V))U.push({level:"warning",code:"INSUFFICIENT_WITHOUT_MANUAL_REVIEW",message:"【证据不足】分支未明确指定转【人工复核】兜底,大模型在材料模糊或冲突时可能失控",suggestion:"建议在【证据不足】分支末尾补充标准处置话术:'转人工复核',确保容错降级路径统一"})}for(let V of gN1)if(Y.includes(V)){U.push({level:"warning",code:"DISPOSAL_ACTION_LEAK",snippet:V,message:`规则正文包含整单处置动作话术 "${V}",违反 HLab 规则事实判定与处置动作解耦规范`,suggestion:`请移除正文中的 "${V}";单据处置动作(驳回/提醒)应交由平台严格程度(必须遵守/仅建议)或业务工作流定义`});break}if(z){for(let V of yN1)if(z.includes(V)){U.push({level:"warning",code:"SCOPE_FALSE_SKIP_PRONE",snippet:V,message:`适用场景包含材料上传前置判断 "${V}",当材料未上传时可能导致该规则被静默跳过(SKIP)而非报违规(FAIL)`,suggestion:"建议适用场景仅保留业务与单据触发条件(如单据模板、费用类型);材料缺失的检查应显式置于【判定标准】的 FAIL 分支中"});break}}for(let V of kN1)if(Y.includes(V)){U.push({level:"error",code:"RISK_SUPPRESSION",snippet:V,message:`规则正文包含消极风险压制话术 "${V}",可能破坏模型正常审计底线或压制有效违规`,suggestion:"请移除该规则或改写为正向合规要求;若需豁免特定场景,请在 **例外** 结构块中封闭说明豁免条件与凭证依据"});break}let W=xN1.find((V)=>Y.includes(V)),H=fN1.some((V)=>Y.includes(V));if(W&&!H)U.push({level:"error",code:"HANGING_EXCEPTION",snippet:W,message:`包含例外条款 "${W}",但未指定 AI 从何处核验该例外成立的凭据来源`,suggestion:"HLab 规范要求例外条款必须明确凭据载体(如:在【**例外**】块中注明需提供专项 OA 审批 PDF 附件或商家盖章证明)"});let X=U.filter((V)=>V.level==="error").length,Z=U.filter((V)=>V.level==="warning").length;return{score:Math.max(0,100-X*25-Z*10),passed:X===0,issues:U}}var gN1,yN1,kN1,xN1,fN1;var Qp=o(()=>{gN1=["驳回单据","直接驳回","整单退回","退回单据","退单处理","进行提醒","请进行提醒","予以驳回","直接退回","无需人工关注","无需展示在最后的审核结论中"],yN1=["若上传了","如上传了","若提供了","如提供了","附件需上传","上传了发票","提供了支付截图","提供了行程单","上传了行程单"],kN1=["忽略行程冲突","忽略重复报销","忽略跨城一致性","不识别为风险","不作为风险事项","无需作为风险"],xN1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],fN1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票","流程"]});var Jp;var Ip=o(()=>{Jp={"builtin.ts":`/** +↳ ${V}`,operator:J}}function RD0($){if(!$)return[];let Y=$.pending||[],z=String($.rawState||"").toUpperCase(),U=String($.state||"").toUpperCase(),Q=[];if(Y.length>0)for(let J of Y){let I=J.approver?.name||J.approver?.id||"待定",K=(J.name||$.currentNode||"").trim(),G=K?`${K}(${I})`:I,H=J.type?.toUpperCase()==="PAYING"||K.includes("支付")||z==="PAYING"||U==="支付中"?"待支付":"待审批";Q.push(`${G}: ${H}`)}else if($.currentNode?.trim()){let I=$.currentNode.includes("支付")||z==="PAYING"||U==="支付中"?"待支付":"待审批";Q.push(`${$.currentNode.trim()}: ${I}`)}return Q}function QU($,Y){let z=new Map;if(!$||$.length===0)return z;if(!Y){for(let q of $){let F=(q.result||{}).decision||q.aiDecision||"-";z.set(q.id,{recordId:q.id,sourceDocumentSN:q.sourceDocumentSN,taskMode:q.taskMode,aiDecision:CD0(typeof F==="string"?F:"-"),aiAction:"-",eHumanAction:"-",eHumanComment:"-",auditDrift:!1})}return z}let U=[...$].sort((q,V)=>(Number(q.createdAt)||0)-(Number(V.createdAt)||0)),Q=Y.history||[],J=String(Y.rawState||"").toUpperCase(),I=String(Y.state||"").toUpperCase(),K=J==="DRAFT"||J==="REVOKED"||J==="CANCELED"||J==="CANCELLED"||I==="草稿"||I==="已撤回"||I==="已取消",G=J==="REJECTED"||J==="TERMINATED"||I==="审批驳回"||I==="已驳回",W=!K&&!G&&(J==="PAID"||I==="已支付"||Q.some((q)=>!q.isEbot&&(q.rawAction==="freeflow.pay"||q.action==="支付成功"||q.action==="支付完成"))),H=!K&&!G&&!W&&(J==="PAYING"||I==="支付中"||(Y.pending||[]).some((q)=>q.isCurrent&&(q.type?.toUpperCase()==="PAYING"||q.name?.includes("支付")))||Y.currentNode?.includes("支付")===!0),Z=W||!K&&!G&&!H&&(J==="COMPLETED"||J==="APPROVED"||I==="已完成"||I==="审批通过");for(let q=0;qB0.nodeId&&(B0.nodeId===T||T.includes(B0.nodeId))):void 0,B=A?.time??F,j=U[q+1],C=j?Number(j.createdAt)||1/0:1/0,b=q===U.length-1,k=Q.find((B0)=>(B0.time??0)>B+5000&&B0.isEbot&&(B0.nodeName?.includes("智能")||B0.nodeName?.includes("AI")||B0.action?.includes("智能")||B0.comment?.includes("AI")||B0.comment?.includes("approval-result"))&&!B0.nodeName?.includes("费用标准检查")&&!B0.nodeName?.includes("标准检查")&&!B0.nodeName?.includes("预算"));if(k){if(b=!1,(k.time??1/0){let Q0=B0.time??0;return Q0>=B-Y1&&Q0(B0.time??0)>B+5000),u1=k1.some((B0)=>B0.rawAction==="freeflow.retract"||B0.action==="单据撤回"),b1=k1.some((B0)=>B0.rawAction==="freeflow.submit"||B0.action==="提交送审");if(D1&&b&&(u1||b1))f0=!0,u0="AI通过后单据发生撤回/修改重提,后续未经AI复审";if(p&&x)H0="无操作",L0="-";else{let B0=a.filter((v)=>(v.time??0)>=B-1000&&!v.isEbot&&v.rawAction!=="freeflow.submit"&&v.action!=="提交送审"&&!((v.rawAction==="freeflow.comment"||v.action==="发表评论")&&!v.comment)&&!((v.rawAction==="freeflow.print"||v.action==="打印提醒")&&!v.comment)&&!(v.rawAction==="freeflow.carbonCopy"||v.rawAction==="freeflow.cc"||v.action==="抄送通知")),Q0=B0.find((v)=>v.rawAction==="freeflow.retract"||v.action==="单据撤回"),P=B0.find((v)=>v.rawAction==="freeflow.reject"||v.action==="审批驳回");if(!b)if(P||!Y&&b0){H0="审批驳回",f0=!1,u0=void 0;let v=yn(P,void 0,w,Q,Y);L0=v.comment,i0=v.operator}else if(Q0||E0||!P&&s.includes("单据撤回")){H0="已撤回",i0=Q0?.operator;let v=Q0?B0.filter((r)=>(r.time??0)<=(Q0.time??1/0)):B0,u=lI(v);for(let r of v)if(!i0&&r.operator)i0=r.operator;if(Q0&&!u.some((r)=>r.includes("单据撤回")))u.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);L0=u.length>1?oI(u,[],"forward"):u.length===1?u[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else{H0="已修改重提";let v=lI(B0);for(let u of B0)if(!i0&&u.operator)i0=u.operator;L0=v.length>1?oI(v,[],"forward"):v.length===1?v[0]:"-"}else if(P){H0="审批驳回",f0=!1,u0=void 0;let v=yn(P,void 0,w,Q,Y);L0=v.comment,i0=v.operator}else if(Z||!Y&&G0){let v=a.some((r)=>r.rawAction==="flow.modify"||r.isModification||r.action==="修改了单据");H0=W?v?"已支付 (中途修改)":"已支付":v?"审批通过 (中途修改)":"审批通过";let u=lI(B0);for(let r of B0)if(!i0&&r.operator)i0=r.operator;if(u.length>0)L0=oI(u,[],"forward");else{let r=[...a].reverse().find((X0)=>!X0.isEbot&&(X0.rawAction==="freeflow.agree"||X0.action==="审批同意"||X0.rawAction==="freeflow.pay"));if(L0=r?.comment?`1. ${r.comment}`:"-",!i0)i0=r?.operator}}else if(H){H0="⏳ 支付中";let v=lI(B0);for(let r of B0)if(!i0&&r.operator)i0=r.operator;let u=RD0(Y);L0=oI(v,u,"reverse")}else if(K||Q0&&!b1||E0){H0="已撤回",i0=Q0?.operator;let v=lI(B0);for(let u of B0)if(!i0&&u.operator)i0=u.operator;if(Q0&&!v.some((u)=>u.includes("单据撤回")))v.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);L0=v.length>1?oI(v,[],"forward"):v.length===1?v[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else if(G||!Y&&b0){H0="审批驳回",f0=!1,u0=void 0;let v=yn(void 0,Y?.rejections?.[0],w,Q,Y);L0=v.comment,i0=v.operator}else{H0="⏳ 审批中";let v=lI(B0);for(let r of B0)if(!i0&&r.operator)i0=r.operator;let u=RD0(Y);L0=oI(v,u,"reverse")}}z.set(V.id,{recordId:V.id,sourceDocumentSN:V.sourceDocumentSN,taskMode:V.taskMode,aiDecision:CD0(c),aiAction:e,eHumanAction:H0,eHumanComment:L0,auditDrift:f0,auditDriftReason:u0,operator:i0})}return z}var vD0=o(()=>{Sn();gn();En()});var kn=o(()=>{Sn();gn();En();wD0();ED0();vD0()});import{existsSync as hD0,mkdirSync as SD0,statSync as EO1}from"node:fs";import{homedir as CO1}from"node:os";import{dirname as RO1,resolve as PP}from"node:path";function y2($,Y=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let z=String($).trim();if(!z)return;if(/^\d{10,13}$/.test(z))return z.length===10?`${z}000`:z;if(/^\d{4}-\d{2}-\d{2}$/.test(z)){let J=new Date(`${z}${Y?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(J))return String(J)}let U=new Date(z).getTime();if(!Number.isNaN(U))return String(U);return z}function fn($){if($===void 0||$===null||$==="")return;if($ instanceof Date)return Number.isNaN($.getTime())?void 0:$.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});let Y=String($).trim();if(!Y)return;if(/^\d{4}-\d{2}-\d{2}/.test(Y))return Y.slice(0,10);if(/^\d{10}$/.test(Y)){let U=new Date(Number(Y)*1000);return Number.isNaN(U.getTime())?void 0:U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}if(/^\d{13}$/.test(Y)||/^\d+$/.test(Y)){let U=new Date(Number(Y));return Number.isNaN(U.getTime())?void 0:U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}let z=new Date(Y);return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function xn($=0,Y=new Date){return new Date(Y.getTime()+$*86400000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function _O1($,Y=0){let z=new Date(`${$}T00:00:00+08:00`);return z.setDate(z.getDate()+Y),z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function un($={}){let Y=$.maxSpanDays??180,z=$.startDate!==void 0&&$.startDate!==null&&String($.startDate).trim()!=="",U=$.endDate!==void 0&&$.endDate!==null&&String($.endDate).trim()!=="",Q="",J="";if(z){let Z=fn($.startDate);if(!Z)throw Error(`无效的起始时间参数: "${String($.startDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);Q=Z}if(U){let Z=fn($.endDate);if(!Z)throw Error(`无效的结束时间参数: "${String($.endDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);J=Z}if(!z&&!U){if(Q=xn(-1),J=xn(0),!$.silent)console.error(`ℹ️ 未指定导出起止时间,已自动采用默认区间: ${Q}至${J}(昨天至今天)。`)}else if(z&&!U){if(J=xn(0),!$.silent)console.error(`ℹ️ 未指定导出结束时间,已自动补齐截至今天: ${Q}至${J}。`)}else if(!z&&U){if(Q=_O1(J,-30),!$.silent)console.error(`ℹ️ 未指定导出起始时间,已自动向前回溯 30 天: ${Q}至${J}。`)}let I=y2(Q,!1),K=y2(J,!0);if(Number(I)>Number(K))throw Error(`起始时间 (${Q}) 不能晚于结束时间 (${J})。`);let G=new Date(`${Q}T00:00:00+08:00`).getTime(),W=new Date(`${J}T00:00:00+08:00`).getTime(),H=Math.round((W-G)/86400000);if(H>Y){if(!$.force)throw Error(`时间跨度超过 ${Y} 天(当前为 ${H} 天),大范围导出耗时较长且占用系统资源。如确认需要导出,请添加 --force 参数强制执行。`);if(!$.silent)console.error(`⚠️ 时间跨度超过 ${Y} 天(当前为 ${H} 天),已按 --force 强制执行大范围导出。`)}let X=`${Q}至${J}`;return{startDateStr:Q,endDateStr:J,startDateTs:I,endDateTs:K,dateTag:X,spanDays:H}}function vO1($){if(!$)return;let Y=Array.isArray($)?$:[$],z=[];for(let U of Y){let Q=U.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(Q))z.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(Q))z.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(Q))z.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(Q))z.push("CANCELLED");else if(Q)z.push(Q)}return z.length>0?z:void 0}function hO1($,Y,z){if(!Y)return z?`${$} (${z})`:$;return(Y.split(/[。\n\r;;!!]/)[0]?.trim()||Y.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function SO1($=new Date){let Y=new Intl.DateTimeFormat("en-CA",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts($),z=(G)=>Y.find((W)=>W.type===G)?.value||"",U=z("year"),Q=z("month"),J=z("day"),I=z("hour"),K=z("minute");return`${U}${Q}${J}_${I}${K}`}function gO1($){if($.outputFile){let K=PP($.outputFile),G=RO1(K);if(!hD0(G))SD0(G,{recursive:!0});return K}let Y=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",z=$.dateTag||new Date().toISOString().slice(0,10),U=$.recordCount>0?`${$.recordCount}条`:"空数据",Q=SO1($.exportTime||new Date),J=`${Y}_审核记录_${z}_${U}_${Q}.xlsx`,I;if($.toDownloads)I=PP(CO1(),"Downloads");else I=PP(process.cwd(),"exports");if(!hD0(I))SD0(I,{recursive:!0});return PP(I,J)}async function AP($,Y,z={}){let U=Y.name||Y.id,Q=z.pageSize??100,J=z.pageDelayMs??250,I=z.limit??1e5,K=Boolean(z.startDate||z.endDate),G=Array.isArray(z.sns)?z.sns.map((g)=>g.trim()).filter(Boolean):[],W=G.length>0,H=new Set(G),X=un({startDate:z.startDate,endDate:z.endDate,force:z.force,silent:!K&&W}),{startDateTs:Z,endDateTs:q}=X,V=X.dateTag,F=vO1(z.manualApprovalStatus);console.error(`正在加载企业「${U}」审核规则集...`);let M=new Map;try{(await p6($)).rules.forEach((p,e)=>{let y=`rule-${p.code??e}`,s=hO1(y,p.description,p.scope);M.set(y,{id:y,code:String(p.code??e),title:`[${y}] ${s}`,desc:p.description})})}catch(g){console.error(`⚠️ 加载规则字典失败: ${g.message},将仅导出基础信息列。`)}let w=Array.from(M.keys()).sort((g,p)=>{let e=parseInt(g.replace(/\D/g,""),10)||0,y=parseInt(p.replace(/\D/g,""),10)||0;return e-y});if(console.error(`已就绪 ${w.length} 个规则列。开始拉取单据...`),z.withFlow===!0&&Y.source.type==="hose")if(W)console.error(`\uD83C\uDFAF [单据筛选] 已指定定向筛选单号: [${G.join(", ")}] (共 ${G.length} 个)。`);else try{let g=await b4($,{limit:1,startDate:Z,endDate:q,status:z.status,sourceSystem:z.sourceSystem,taskMode:z.taskMode,manualApprovalStatus:F}),p=g.total??g.records?.length??0,e=Math.max(1,Math.min(z.flowConcurrency??3,5)),y=Math.max(1,Math.ceil(p/e*0.4));if(p>50)console.error(`⚠️ [审批流对齐提示] 目标区间内单据规模约为 ${p} 笔。系统已启用合思 Open API 保护限流(并发 ${e}),预计审批流拉取耗时约 ${y} 秒。`)}catch{}let O=[],N=0,D=0;if(W&&G.length<=50){console.error(`正在定向检索 ${G.length} 个指定单号...`);for(let g of G){try{let e=((await b4($,{search:g,limit:50,startDate:K?Z:void 0,endDate:K?q:void 0,status:z.status,sourceSystem:z.sourceSystem,taskMode:z.taskMode,manualApprovalStatus:F})).records||[]).filter((y)=>y.sourceDocumentSN===g);for(let y of e){if(y.taskMode==="simulation"){N++;continue}if(z.taskMode&&y.taskMode!==z.taskMode)continue;if(Y.source.type==="hose"&&y.sourceSystem&&!["hose","hosecloud"].includes(y.sourceSystem)){D++;continue}if(z.includeCompletedOnly&&y.status!=="completed")continue;if(y.status==="completed"&&(!y.result||!y.result.rulesResult))try{let s=await G4($,y.id);O.push(s)}catch{O.push(y)}else O.push(y);if(O.length>=I)break}}catch(p){console.error(`⚠️ 定向检索单号 [${g}] 失败: ${p.message}`)}if(O.length>=I)break}console.error(`定向检索完成,成功匹配 ${O.length} 条记录。`)}else{let g=0,p=0;while(O.length0)try{e=await b4($,{limit:Q,offset:g,startDate:Z,endDate:q,status:z.status,sourceSystem:z.sourceSystem,taskMode:z.taskMode,manualApprovalStatus:F});break}catch(Y0){if(y--,console.error(`分页拉取失败 (offset=${g}): ${Y0.message},剩余重试 ${y} 次...`),y===0)throw Y0;await new Promise((M0)=>setTimeout(M0,1000))}if(!e||!e.records||e.records.length===0)break;p=e.total??p;for(let Y0 of e.records){if(W&&(!Y0.sourceDocumentSN||!H.has(Y0.sourceDocumentSN)))continue;if(Y0.taskMode==="simulation"){N++;continue}if(z.taskMode&&Y0.taskMode!==z.taskMode)continue;if(Y.source.type==="hose"&&Y0.sourceSystem&&!["hose","hosecloud"].includes(Y0.sourceSystem)){D++;continue}if(z.includeCompletedOnly&&Y0.status!=="completed")continue;if(Y0.status==="completed"&&(!Y0.result||!Y0.result.rulesResult))try{let M0=await G4($,Y0.id);O.push(M0)}catch{O.push(Y0)}else O.push(Y0);if(O.length>=I)break}g+=e.records.length;let s=p>0?(g/p*100).toFixed(1):"-";if(g%500===0||g>=p||O.length>=I)console.error(`[进度] 已读取单据: ${g}/${p} (${s}%),有效加入: ${O.length} 条`);if(e.records.length=p)break;if(J>0)await new Promise((Y0)=>setTimeout(Y0,J))}}if(N>0)console.error(`ℹ️ 已自动排除 ${N} 条模拟测试任务 (taskMode="simulation"),仅保留真实审批任务。`);if(D>0)console.error(`ℹ️ 已自动排除 ${D} 条非合思来源单据,仅保留合思业务单据。`);if(!K&&W&&O.length>0){let g=O.map((p)=>fn(p.createdAt||p.updatedAt)).filter(Boolean);if(g.length>0){g.sort();let p=g[0],e=g[g.length-1];V=p===e?p:`${p}至${e}`}}console.error(`成功拉取 ${O.length} 条单据数据,正在生成高保真 Excel...`);let T=new gD0.default.Workbook;T.creator="Seal AI (seal-use)",T.created=new Date;let A=T.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),B=z.withFlow===!0&&Y.source.type==="hose",j=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},...B?[{header:"E人工行为",key:"eHumanAction",width:18},{header:"E人工意见",key:"eHumanComment",width:36}]:[],{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],C=w.map((g)=>{return{header:M.get(g).title,key:`rule_${g}`,width:22}});A.columns=[...j,...C];let b=A.getRow(1);b.height=32,b.eachCell((g,p)=>{let e=p<=j.length;g.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},g.fill={type:"pattern",pattern:"solid",fgColor:{argb:e?"FF1E3A8A":"FF334155"}},g.alignment={vertical:"middle",horizontal:e&&p<=2?"left":"center",wrapText:!1}});let k={},h=0,i=new Map,c=new Set,U0=z.excludeDeleted??!0;if(z.withFlow===!0&&Y.source.type==="hose"){try{let g=new Map;for(let e of O){let y=e.sourceDocumentId||e.sourceDocumentSN;if(y){let s=g.get(y)||[];s.push(e),g.set(y,s)}}let p=Array.from(g.keys());if(p.length>0){let e=Math.max(1,Math.min(z.flowConcurrency??3,5)),y=z.flowBatchDelayMs??150,s=Math.max(1,Math.ceil(p.length/e*(0.25+y/1000)));console.error(`正在拉取合思原生审批流以对齐人工行为与意见 (共 ${p.length} 个单据,并发限制: ${e},批次间隔: ${y}ms,预计耗时约 ${s}s)...`);let Y0=await mI(Y),M0=new Map;for(let E0=0;E0{let b0=g.get(T0),Y1=b0[0]?.sourceDocumentSN||T0;try{let a=await BP(Y0,T0,M0);if(!a){c.add(Y1);let L0=QU(b0,void 0);for(let[f0,u0]of L0.entries())u0.eHumanAction="单据已删除",u0.eHumanComment="合思系统中未找到该单据流转记录(可能已在合思端删除或作废)",i.set(f0,u0);return}let H0=QU(b0,a);for(let[L0,f0]of H0.entries())i.set(L0,f0)}catch(a){console.error(`⚠️ 拉取单据 ${Y1} 审批流失败: ${a.message},使用降级对齐。`);let H0=QU(b0,void 0);for(let[L0,f0]of H0.entries())i.set(L0,f0)}})),y>0&&E0+esetTimeout(T0,y));if((E0+e)%20=p.length){let T0=Math.min(E0+G0.length,p.length),b0=Math.round(T0/p.length*100);console.error(`[审批流进度] 已对齐: ${T0}/${p.length} (${b0}%)...`)}}}}catch(g){console.error(`⚠️ 对齐合思审批流失败: ${g.message},E人工行为与意见将使用默认值。`)}if(c.size>0)console.error(`ℹ️ 检测到 ${c.size} 个单据在合思端已删除或不存在(如: ${Array.from(c).slice(0,3).join(", ")}...)${U0?",已按要求自动排除。":",已在报表中标记为「单据已删除」。"}`)}let x=0,d=0;for(let g of O){let p=g.sourceDocumentSN||g.sourceDocumentId;if(U0&&p&&c.has(p)){d++;continue}x++;let e=g.result||{},y=g.document||{},s="未知模板";if(Array.isArray(y.fields)){let P=y.fields.find((v)=>v.label==="单据模板"||v.label==="流程名称"||v.key==="templateName"||v.key==="specificationId"||v.key==="formName");if(P?.value)s=String(P.value)}if(s==="未知模板"&&(y.name||y.title))s=y.name||y.title;let Y0=g.taskMode||"-";if(Y0==="assisted")Y0="辅助审核";else if(Y0==="simulation")Y0="测试任务";else if(Y0==="automatic")Y0="自动审批";let M0=g.status||"-";if(M0==="completed")M0="已完成";else if(M0==="processing")M0="处理中";else if(M0==="failed")M0="失败";let E0=e.decision||g.aiDecision||"-",G0=String(E0).toUpperCase(),T0=String(E0),b0="-";if(G0==="APPROVE"||G0==="通过")T0="通过",b0="添加评论";else if(G0==="EXEMPT_APPROVE"||G0==="免审通过"||G0==="备注通过")T0="备注通过",b0="添加评论";else if(G0==="REVIEW"||G0==="转交复核")T0="转交复核",b0="转交复核";else if(G0==="REJECT"||G0==="驳回")T0="驳回",b0="驳回";else if(G0==="ERROR"||G0==="错误")T0="错误",b0="-";let Y1="-";if(g.createdAt&&g.updatedAt&&g.status==="completed"){let P=Math.round((Number(g.updatedAt)-Number(g.createdAt))/1000);if(P>=60)Y1=`${Math.floor(P/60)}分${P%60}秒`;else if(P>0)Y1=`${P}秒`}let a=g.manualApprovalRecord||{},H0=String(a.status?.sourceStatus||""),L0="-";if(a.status?.label)L0=String(a.status.label);else if(a.status?.type){let P=String(a.status.type);if(P==="APPROVED")L0="已通过";else if(P==="TERMINATED")L0="被驳回";else if(P==="PROCESSING")L0="处理中";else if(P==="CANCELLED")L0="已撤回";else L0=P}k[L0]=(k[L0]||0)+1;let f0=a.rejectComment?String(a.rejectComment).trim():"-";if(f0!=="-")h++;let u0=new Map,i0=[];if(Array.isArray(e.rulesResult)){for(let P of e.rulesResult)if(P.id)u0.set(P.id,P.checkResult||"PASS"),i0.push(P.id)}if(Array.isArray(e.hitRules)){for(let P of e.hitRules)if(P.id&&!u0.has(P.id))u0.set(P.id,"TRIGGERED"),i0.push(P.id)}let D1="-";if(g.createdAt)D1=new Date(Number(g.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let k1=i.get(g.id),u1=k1?k1.eHumanAction:"-",b1=k1?k1.eHumanComment:"-",B0={sn:g.sourceDocumentSN||g.sourceDocumentId||"-",templateName:s,sourceSystem:g.sourceSystem||"合思",taskMode:Y0,status:M0,aiAction:b0,aiDecision:T0,thinkingDepth:"标准",manualStatus:L0,humanRejectReason:f0,...B?{eHumanAction:u1,eHumanComment:b1}:{},createdAt:D1,duration:Y1,hitRuleCount:i0.length,hitRulesSummary:i0.join(", ")||"-",aiSummary:e.summary||"-"};for(let P of w){let v=u0.get(P);if(v)if(v==="PASS")B0[`rule_${P}`]="关联 (通过)";else if(v==="FAIL")B0[`rule_${P}`]="关联 (不通过)";else if(v==="UNKNOWN")B0[`rule_${P}`]="关联 (待复核)";else B0[`rule_${P}`]="已关联";else B0[`rule_${P}`]="未关联"}let Q0=A.addRow(B0);Q0.height=24,Q0.eachCell((P,v)=>{let u=String(P.value||"");if(P.font={name:"Microsoft YaHei",size:10},P.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},v<=j.length){let X0=j[v-1]?.key||"",J0=["sn","templateName","humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0),Z0=["humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0);if(P.alignment={vertical:"middle",horizontal:J0?"left":"center",wrapText:Z0},X0==="aiDecision"){if(u==="通过"||u==="备注通过")P.font={color:{argb:"FF16A34A"},bold:!0};else if(u==="转交复核")P.font={color:{argb:"FFD97706"},bold:!0};else if(u==="驳回")P.font={color:{argb:"FFDC2626"},bold:!0};else if(u==="错误"||u==="ERROR")P.font={color:{argb:"FFDC2626"},bold:!0}}if(X0==="manualStatus"){if(u.includes("驳回"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("支付")||u.includes("完成"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("处理中")||u.includes("审批中"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("取消")||u.includes("撤回"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}}}if(X0==="humanRejectReason"&&u!=="-")P.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}};if(X0==="eHumanAction"){if(u.includes("⚠️")||u.includes("修改"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FFD97706"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}};else if(u.includes("驳回")||u.includes("退回"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("已支付")||u.includes("已完成"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("待处理")||u.includes("处理中")||u.includes("审核中")||u.includes("审批中")||u.includes("支付中"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"},bold:!0},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("撤回")||u.includes("取消"))P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}};else if(u==="无操作")P.font={name:"Microsoft YaHei",size:10,color:{argb:"FF94A3B8"}}}if(X0==="eHumanComment"&&u!=="-")P.font={name:"Microsoft YaHei",size:9,color:{argb:"FF334155"}}}else if(P.alignment={vertical:"middle",horizontal:"center"},u.includes("不通过"))P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},P.font={color:{argb:"FF991B1B"},bold:!0};else if(u.includes("通过"))P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},P.font={color:{argb:"FF166534"},bold:!0};else if(u.includes("待复核")||u.includes("已关联"))P.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},P.font={color:{argb:"FF92400E"}};else P.font={color:{argb:"FF94A3B8"}}})}let t=gO1({outputFile:z.outputFile,toDownloads:z.toDownloads,corpName:U,dateTag:V,recordCount:x,exportTime:z.exportTime});await T.xlsx.writeFile(t),console.error(`Excel 文件已成功落地: ${t}`);let $0=EO1(t);return{filePath:t,corpId:Y.id,corpName:U,recordCount:x,ruleColumnCount:w.length,statusCounts:k,rejectReasonCount:h,fileSizeBytes:$0.size,exportedAt:new Date().toISOString(),excludedDeletedCount:d,excludedSimulationCount:N}}var gD0;var TP=o(()=>{X6();kn();gD0=J6(PZ(),1)});import yD0 from"node:fs";import kD0 from"node:path";function yO1($){try{let Y=new URL($);if(Y.search)return`${Y.origin}${Y.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function nn($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function xD0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function kO1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Q4($){return typeof $==="string"&&$.trim()?$.trim():void 0}function bn($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function xO1($){if(!$)return;if(typeof $==="string")try{let Y=JSON.parse($);if(Y&&typeof Y==="object")return Y}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function fO1($,Y,z){if(z?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let U=$.fileName??$.filename??$.name??$.originalName,Q=$.fileId??$.id??$.attachmentId,J=$.ossPath??$.ossKey,I=$.url??$.downloadUrl??$.previewUrl,K=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(U&&(I||J||Q||G))return!0;if(Q&&(K||G||J||I))return!0;let W=Object.keys($).map((Z)=>Z.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(Y)||Boolean(z?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(z.fieldKey))||Boolean(z?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(z.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((Z)=>W.includes(Z))}function uO1($,Y,z){let U=`${$} ${z?.fieldLabel??""} ${z?.fieldKey??""} ${Q4(Y.type)??""} ${Q4(Y.category)??""}`.toLowerCase();if(U.includes("invoice")||U.includes("发票"))return"invoice";if(U.includes("receipt"))return"receipt";let Q=(Q4(Y.fileName)??Q4(Y.name)??"").toLowerCase();if(Q.includes("发票")||Q.includes("invoice"))return"invoice";return"attachment"}function cn($,Y,z,U,Q){if(Array.isArray($)){$.forEach((W,H)=>cn(W,`${Y}.${H}`,z,U,Q));return}let J=kO1($);if(!J)return;let I=J.type&&typeof J.type==="string"||"label"in J&&"value"in J||"key"in J&&"value"in J,K=Q;if(I)K={fieldLabel:Q4(J.label)??Q?.fieldLabel,fieldKey:Q4(J.key)??Q?.fieldKey,fieldType:Q4(J.type)??Q?.fieldType};if(!(Array.isArray(J.value)&&!J.url&&!J.ossSignedUrl&&!J.fileId)&&fO1(J,Y,Q)){let W=xO1(J.token),H=Q4(W?.key),X=Q4(W?.fileId),Z=xD0({path:Y,fieldPath:Y,kind:uO1(Y,J,Q),fileName:Q4(J.fileName)??Q4(J.filename)??Q4(J.name)??Q4(J.originalName),mimeType:Q4(J.mimeType)??Q4(J.mimetype)??Q4(J.contentType),fileId:Q4(J.fileId)??Q4(J.id)??Q4(J.attachmentId)??X,ossPath:Q4(J.ossPath)??Q4(J.ossKey)??H,url:Q4(J.url)??Q4(J.signedUrl)??Q4(J.downloadUrl)??Q4(J.previewUrl),ossSignedUrl:Q4(J.ossSignedUrl)??Q4(J.signedUrl),token:J.token,tokenKey:H,category:Q4(J.category),ossFileSize:bn(J.ossFileSize)??bn(J.fileSize)??bn(J.size),invoiceId:Q4(J.invoiceId),sourceField:Q4(J.fieldName)??Q4(J.label)??Q?.fieldLabel??Q?.fieldKey}),q=JSON.stringify(Z);if(!U.has(q))U.add(q),z.push(Z)}for(let[W,H]of Object.entries(J))cn(H,`${Y}.${W}`,z,U,K)}function k2($,Y={}){let z=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],U=[],Q=new Set;for(let[J,I]of z)cn(I,J,U,Q);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:U.length,attachments:Y.summary?U.map((J)=>xD0({path:J.path,kind:J.kind,fileName:J.fileName,mimeType:J.mimeType,fileId:J.fileId,sourceField:J.sourceField,ossFileSize:J.ossFileSize,hasSignedUrl:Boolean(J.ossSignedUrl)})):U}}async function jP($){let{record:Y,fetchFn:z=globalThis.fetch}=$,Q=k2(Y,{summary:!1}).attachments,J=kD0.resolve($.outDir??"./attachments");if(Q.length===0)return{recordId:Y.id,outDir:J,total:0,downloaded:0,failed:0,files:[]};let I=[];if($.name){let X=$.name.toLowerCase();if(I=Q.filter((Z)=>{let q=Z.fileName?.toLowerCase()??"",V=Z.fileId?.toLowerCase()??"",F=Z.tokenKey?.toLowerCase()??"";return q.includes(X)||V===X||F.includes(X)}),I.length===0){let Z=Q.map((q)=>q.fileName??q.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${Z||"无"}`)}}else if(!$.all){if(Q.length>1){let X=Q.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${Q.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${X}`)}I=Q}else I=Q;await yD0.promises.mkdir(J,{recursive:!0});let K=[],G=new Set;for(let X of I){let Z=X.fileName??X.fileId??"attachment",q=nn(Z),V=q,F=q.lastIndexOf("."),M=F>0?q.slice(0,F):q,w=F>0?q.slice(F):"",O=1;while(G.has(V.toLowerCase()))V=`${M}_${O}${w}`,O++;G.add(V.toLowerCase());let N=X.ossSignedUrl??X.url;if(!N){console.error(`⚠️ [跳过] 附件 "${Z}": 记录中无下载直链 (ossSignedUrl/url)`),K.push({name:V,fileId:X.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:X.sourceField,tokenKey:X.tokenKey});continue}let D=yO1(N);try{let T=await z(N,{signal:AbortSignal.timeout(60000)});if(!T.ok){let C=T.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${T.status} ${T.statusText}`;throw Error(C)}let A=await T.arrayBuffer(),B=Buffer.from(A);if(X.ossFileSize!==void 0&&B.length!==X.ossFileSize)console.error(`⚠️ [校验] 附件 "${V}" 实际大小 (${B.length} 字节) 与 ossFileSize (${X.ossFileSize} 字节) 不一致`);let j=kD0.join(J,V);await yD0.promises.writeFile(j,B),console.error(`✓ 已下载: ${V} (${B.length} 字节)`),K.push({name:V,fileId:X.fileId,path:j,size:B.length,expectedSize:X.ossFileSize,status:"success",sourceField:X.sourceField,tokenKey:X.tokenKey})}catch(T){let A=T.message??String(T);console.error(`⚠️ [失败] 附件 "${Z}" 下载失败: ${A} [${D}]`),K.push({name:V,fileId:X.fileId,status:"failed",error:A,sourceField:X.sourceField,tokenKey:X.tokenKey})}}let W=K.filter((X)=>X.status==="success").length,H=K.filter((X)=>X.status==="failed").length;return{recordId:Y.id,outDir:J,total:I.length,downloaded:W,failed:H,files:K}}var EP=()=>{};var bO1,iO1,cO1,nO1,fD0,pn,dn,pO1,dO1,mO1,mn,lO1,CP;var ln=o(()=>{B$();bO1=L.object({type:L.literal("hose"),domain:L.string().url().default("https://app.ekuaibao.com"),appKey:L.string().optional(),appSecurity:L.string().optional(),key:L.string().optional(),password:L.string().optional(),staffId:L.string(),corpId:L.string(),sealUrl:L.string().url().optional()}).superRefine(($,Y)=>{if(!$.appKey&&!$.key)Y.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)Y.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),iO1=L.object({type:L.literal("direct"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("direct"),corpId:L.string().optional()}),cO1=L.object({type:L.literal("seal"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("seal"),corpId:L.string().optional(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),providerUserId:L.string().optional(),provider:L.string().optional(),providerName:L.string().optional()}),nO1=L.discriminatedUnion("type",[bO1,iO1,cO1]),fD0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,pn=L.record(L.string().regex(fD0,"Invalid HTTP header name"),L.string()).superRefine(($,Y)=>{for(let z of Object.keys($))if(z.toLowerCase()==="authorization")Y.addIssue({code:"custom",path:[z],message:"seal.headers cannot set Authorization; the Seal session supplies the bearer token"})}).optional(),dn=L.record(L.string().regex(fD0,"Invalid cookie name"),L.string().refine(($)=>!/[\u0000-\u001f\u007f;]/.test($),{message:"Cookie value cannot contain control characters or semicolons"})).optional(),pO1=L.object({url:L.string().url().optional(),tenantSlug:L.string().optional(),headers:pn,cookies:dn,endpoints:L.object({approvalStylePreferences:L.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),dO1=L.object({refreshTtl:L.number().int().positive().default(300)}).default({refreshTtl:300}),mO1=L.enum(["production","test"]).default("production"),mn=L.object({id:L.string(),name:L.string(),seal:pO1,source:nO1,auth:dO1,environment:mO1,testCorpId:L.string().optional(),prodCorpId:L.string().optional()}),lO1=L.object({enabled:L.boolean().default(!1),activeLinter:L.string().default("builtin"),minScore:L.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),CP=L.object({stateful:L.boolean().default(!1),defaultCorpId:L.string().min(1).optional(),testEnterprisesDir:L.string().min(1).optional(),lint:lO1})});import{copyFileSync as uD0,existsSync as V$,mkdirSync as iD0,readFileSync as hP,readdirSync as _P,rmSync as oO1,statSync as TZ,writeFileSync as cD0}from"node:fs";import{homedir as SP}from"node:os";import{dirname as rO1,join as N9}from"node:path";function sO1($=rI,Y=vP){if(!V$(Y))return{copied:[],deletedLegacyDir:!1};iD0($,{recursive:!0,mode:448});let z=[],U=[];try{U=_P(Y).filter((X)=>X.endsWith(".json"))}catch{return{copied:[],deletedLegacyDir:!1}}for(let X of U){let Z=N9(Y,X),q=N9($,X);if(!V$(q))uD0(Z,q),z.push(X);else{let V=TZ(Z).mtimeMs,F=TZ(q).mtimeMs;if(V>F)uD0(Z,q),z.push(X)}}let Q=604800000,J=Date.now(),I=!1,K=!1;for(let X of _P(Y)){let Z=N9(Y,X),q=N9($,X),V=TZ(Z);if(J-V.mtimeMsTZ(q).mtimeMs)I=!0}}let G=TZ(Y),W=J-G.mtimeMsQ.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=hP(N9(z,U),"utf-8"),J=mn.parse(JSON.parse(Q));Y.set(J.id,J)}return Array.from(Y.values())}function oD0(){let $=(process.env[on]??process.env[nD0])?.trim();if($)return V$($)?[$]:[];let Y=(process.env[pD0]??process.env[dD0])?.trim(),z;if(Y)z=V$(Y)?[Y]:[];else{try{sO1()}catch{}z=V$(rI)?[rI]:V$(vP)?[vP]:[rI]}let Q=_4().testEnterprisesDir?.trim(),J=Q?[Q,...z]:z,I=[];for(let K of J)if(V$(K)&&!I.includes(K))I.push(K);return I}function rn(){let $=(process.env[on]??process.env[nD0])?.trim();if($)return $;let Y=(process.env[pD0]??process.env[dD0])?.trim();if(Y)return Y;let z=_4().testEnterprisesDir?.trim();if(z&&V$(z))return z;return rI}function h7(){let $=_4().testEnterprisesDir?.trim();return[`${on}=`,...$?[`testEnterprisesDir: ${$}`]:[],rI,vP]}function JU(){let $=(process.env[mD0]??process.env[lD0])?.trim();if($)return $;if(V$(RP))return RP;if(V$(bD0))return bD0;return RP}function _4(){let $=JU();if(!V$($))return CP.parse({});return CP.parse(JSON.parse(hP($,"utf-8")))}function IU($){let Y=CP.parse($),U=(process.env[mD0]??process.env[lD0])?.trim()||RP;return iD0(rO1(U),{recursive:!0,mode:448}),cD0(U,`${JSON.stringify(Y,null,2)} +`,{mode:384}),Y}function sn($){let Y=oD0();for(let z of Y){if(!V$(z))continue;for(let U of _P(z).filter((Q)=>Q.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=N9(z,U);try{let J=hP(Q,"utf-8"),I=JSON.parse(J);if(I&&typeof I==="object"&&I.id===$)return Q}catch{}}}return}function x2($,Y){let z=sn($);if(!z)throw Error(`Enterprise config not found: ${$}`);let Q={...JSON.parse(hP(z,"utf-8")),...Y};for(let I of Object.keys(Y))if(Y[I]===void 0)delete Q[I];let J=mn.parse(Q);return cD0(z,`${JSON.stringify(J,null,2)} +`,"utf-8"),J}var on="SEAL_USE_ENTERPRISES_DIR",nD0="SEAL_HOME_ENTERPRISES_DIR",pD0="SEAL_USE_USER_ENTERPRISES_DIR",dD0="SEAL_HOME_USER_ENTERPRISES_DIR",mD0="SEAL_USE_CONFIG_FILE",lD0="SEAL_HOME_CONFIG_FILE",rI,vP,RP,bD0;var S7=o(()=>{ln();rI=N9(SP(),".config","seal-use","enterprises"),vP=N9(SP(),".config","seal-home","enterprises"),RP=N9(SP(),".config","seal-use","config.json"),bD0=N9(SP(),".config","seal-home","config.json")});function f2($,Y,z=[]){let U=Y.corpId?.trim()||void 0,Q=Y.stateful?Y.defaultCorpId?.trim()||void 0:void 0,J=U??Q;if(J){let K=$.find((H)=>H.id===J);if(K)return K;let G=$.find((H)=>H.id.toLowerCase()===J.toLowerCase());if(G)return G;let W=$.find((H)=>H.name.toLowerCase()===J.toLowerCase());if(W)return W;throw Error(`No enterprise config found for ${J}`)}if(!Y.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp . Use `seal-home config mode stateful` to enable a default enterprise.");let I=$[0];if(I)return I;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(z.length?z.join(", "):"the configured enterprise directories"))}import{existsSync as an,mkdirSync as aO1,readFileSync as tO1,renameSync as eO1,unlinkSync as $N1,writeFileSync as YN1}from"node:fs";import{homedir as zN1}from"node:os";import{dirname as UN1,join as QN1}from"node:path";function jZ(){let $=process.env[JN1]?.trim();if($)return $;return IN1}function rD0($=new Date){return $.toISOString().slice(0,10)}function sD0($=tn,Y=new Date){let z=Y.getTime()-Math.max(0,$-1)*86400000;return new Date(z).toISOString().slice(0,10)}function aD0($=jZ()){if(!an($))return{};try{let Y=tO1($,"utf-8"),z=JSON.parse(Y);if(z&&typeof z==="object"&&!Array.isArray(z))return z;return{}}catch{return{}}}function KN1($,Y){let z={};for(let[U,Q]of Object.entries($)){if(!Q||typeof Q!=="object")continue;let J={},I=!1;for(let[K,G]of Object.entries(Q))if(typeof G==="number"&&G>0&&K>=Y)J[K]=G,I=!0;if(I)z[U]=J}return z}function GN1($,Y=jZ()){let z=UN1(Y);if(!an(z))aO1(z,{recursive:!0,mode:448});let U=`${Y}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2,8)}.tmp`;try{YN1(U,JSON.stringify($,null,2),{encoding:"utf-8",mode:384}),eO1(U,Y)}catch(Q){try{if(an(U))$N1(U)}catch{}throw Q}}function tD0($,Y=new Date){if(!$||typeof $!=="string")return;try{let z=jZ(),U=aD0(z),Q=rD0(Y),J=sD0(tn,Y),I=KN1(U,J);I[$]=I[$]||{},I[$][Q]=(I[$][Q]??0)+1,GN1(I,z)}catch{}}function WN1($,Y=tn,z=new Date){let U=new Map;try{let Q=aD0(),J=sD0(Y,z),I=rD0(z),K=$??Object.keys(Q);for(let G of K){let W=Q[G];if(!W){U.set(G,0);continue}let H=0;for(let[X,Z]of Object.entries(W))if(X>=J&&X<=I&&typeof Z==="number")H+=Z;U.set(G,H)}}catch{if($)for(let Q of $)U.set(Q,0)}return U}function eD0($,Y,z){let U=z??WN1($.map((Q)=>Q.id));return[...$].sort((Q,J)=>{if(Y){if(Q.id===Y&&J.id!==Y)return-1;if(J.id===Y&&Q.id!==Y)return 1}let I=U.get(Q.id)??0,K=U.get(J.id)??0;if(I!==K)return K-I;let G=Q.name??Q.id,W=J.name??J.id,H=G.localeCompare(W,"zh-CN");if(H!==0)return H;return Q.id.localeCompare(J.id)})}var JN1="SEAL_USE_USAGE_FILE",IN1,tn=7;var gP=o(()=>{IN1=QN1(zN1(),".config","seal-use","usage.json")});function HN1($,Y){return $.map((z)=>z.trim()).filter(Boolean).map((z)=>Y?z:z.toLowerCase())}function XN1($,Y){return Y?$:$.toLowerCase()}function ZN1($,Y,z,U){let Q=XN1($,U),J=Y.filter((I)=>Q.includes(I));if(z==="all"&&J.length!==Y.length)return[];return J}function qN1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function VN1($,Y){if(Y.fields&&!Y.fields.has($.field))return[];let z=qN1($.value),U=[];return z.forEach((Q,J)=>{let I=ZN1(Q,Y.keywords,Y.matchMode,Y.caseSensitive);if(I.length===0)return;let K=Math.max(0,J-Y.contextLines),G=Math.min(z.length,J+Y.contextLines+1),W={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:J+1,matchedKeywords:I,matchedText:yP(Q,Y.maxChars),context:{before:Y.snippetOnly?[]:z.slice(K,J).map((H)=>yP(H,Y.maxChars)),line:yP(Q,Y.maxChars),after:Y.snippetOnly?[]:z.slice(J+1,G).map((H)=>yP(H,Y.maxChars))},metadata:$.metadata};if(Y.snippetOnly)W.context={before:[],line:W.context.line,after:[]};U.push(W)}),U}function yP($,Y){if(!Y||$.length<=Y)return $;return`${$.slice(0,Math.max(0,Y))}...`}function LN1($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function YB0($){return $.rules.flatMap((Y,z)=>{let U=`${$.id}:${Y.description.slice(0,32)}`,Q={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:Y.scope,strictness:Y.strictness,code:"code"in Y?Y.code:void 0,index:z};return[{area:"rules",entityType:"rule",entityId:U,title:`${$.versionName} / ${Y.scope}`,field:"history.description",value:Y.description,metadata:Q},{area:"rules",entityType:"rule",entityId:U,title:`${$.versionName} / ${Y.scope}`,field:"history.scope",value:Y.scope,metadata:Q}]})}function FN1($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function wN1($){let Y=[];if($.decisionPreferences)for(let[z,U]of Object.entries($.decisionPreferences))Y.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${z}`,value:U,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((z,U)=>{Y.push({area:"preferences",entityType:"integration",title:z.outboundName,field:`integrations[${U}]`,value:z,metadata:{type:z.type,outboundName:z.outboundName,mode:z.mode,corporationId:z.corporationId}})}),Y}async function MN1($,Y,z){let U=z.ruleVersionScope??"current",Q=[Y.id,`ruleVersionScope=${U}`,`ruleVersionId=${z.ruleVersionId??""}`,`ruleVersionNumber=${z.ruleVersionNumber??""}`,`latestRuleVersion=${z.latestRuleVersion??!1}`,`documentLimit=${z.documentLimit??100}`].join("|"),J=$B0.get(Q);if(!z.refresh&&J&&Date.now()Q.versionNumber===Y.versionNumber):z[0];if(!U)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return U}async function UB0($,Y,z){let U=z.matchMode??"any",Q=z.caseSensitive??!1,J=z.contextLines??3,I=new Set(z.areas??["rules","documents","preferences"]),K=z.maxResults??50,G=z.ruleVersionScope??"current",W=HN1(z.keywords,Q),H=z.fields?.length?new Set(z.fields):void 0;if(W.length===0)throw Error("keywords must contain at least one non-empty string");let X=await MN1($,Y,{documentLimit:z.documentLimit,refresh:z.refresh,ruleVersionScope:G,ruleVersionId:z.ruleVersionId,ruleVersionNumber:z.ruleVersionNumber,latestRuleVersion:z.latestRuleVersion}),Z=X.entries.filter((q)=>I.has(q.area)).flatMap((q)=>VN1(q,{keywords:W,matchMode:U,caseSensitive:Q,contextLines:J,snippetOnly:z.snippetOnly,maxChars:z.maxChars,fields:H}));return{query:{keywords:z.keywords,matchMode:U,areas:Array.from(I),caseSensitive:Q,contextLines:J,refresh:z.refresh??!1,ruleVersionScope:G,ruleVersionId:z.ruleVersionId,ruleVersionNumber:z.ruleVersionNumber,latestRuleVersion:z.latestRuleVersion??!1,snippetOnly:z.snippetOnly??!1,maxChars:z.maxChars,fields:z.fields},cache:{fetchedAt:new Date(X.fetchedAt).toISOString(),expiresAt:new Date(X.expiresAt).toISOString(),ttlMs:zB0},total:Z.length,returned:Math.min(Z.length,K),results:Z.slice(0,K)}}var zB0=300000,$B0;var QB0=o(()=>{X6();$B0=new Map});import{createHmac as DN1,randomBytes as BN1}from"node:crypto";function PN1($,Y,z,U){return DN1("sha256",U).update(`${$}.${Y}.${JSON.stringify(z)}`).digest("hex")}function EZ($,Y){let z=Math.floor(Date.now()/1000),U=BN1(16).toString("hex");return{Authorization:`Bearer ${Y}`,"x-webhook-signature":PN1(z,U,$,Y),"x-webhook-timestamp":String(z),"x-webhook-nonce":U}}var kP=()=>{};function d4($,Y){return new w4($,2,Y)}function D9($,Y){return new w4($,10,Y)}function CZ($){if($ instanceof w4)return{exitCode:$.exitCode,nextAction:$.nextAction};let Y=$ instanceof Error?$.message:String($),z=AN1($);if(z===401||z===403||/(?:^|\s)(?:token|bearer|session) (?:expired|missing|invalid)/i.test(Y))return{exitCode:11};if(/^(?:Usage:|Unknown (?:[a-z0-9_-]+ )?command|Invalid (?:number|boolean|command)|--json must|Missing required JSON field)/i.test(Y))return{exitCode:2};if(/^Refusing to (?:clear|delete)|without --yes|without confirm=true/i.test(Y))return{exitCode:10};return{exitCode:1}}function AN1($){if(!$||typeof $!=="object")return;let Y=$.response;if(!Y||typeof Y!=="object")return;let z=Y.status;return typeof z==="number"?z:void 0}var w4,xP;var L$=o(()=>{w4=class w4 extends Error{exitCode;nextAction;constructor($,Y,z){super($);this.name="CliError",this.exitCode=Y,this.nextAction=z}};xP=class xP extends w4{constructor($,Y){super($,12,Y);this.name="PayloadTooLargeError"}}});function JB0($,Y){let z=$&&typeof $==="object"?$:{},U=typeof z.type==="string"?z.type.toUpperCase().trim():"",Q=typeof z.key==="string"&&z.key.trim()?z.key.trim():typeof z.label==="string"&&z.label.trim()?z.label.trim():`field_${Y}`,J=typeof z.label==="string"&&z.label.trim()?z.label.trim():Q,I=z.value!==void 0?z.value:null;if(U==="LIST"&&Array.isArray(I))I=I.map((G)=>{if(Array.isArray(G))return G.map((W,H)=>JB0(W,H));return G});let K=U;if(!TN1.has(K))if(Array.isArray(I))K="LIST";else if(I&&typeof I==="object")K="OBJECT";else if(typeof I==="number")K="NUMBER";else K="TEXT";return{key:Q,label:J,type:K,value:I}}function en($,Y={}){let z=$.document,U=$.sourceDocumentSN??(typeof z?.sn==="string"?z.sn:void 0)??(typeof z?.sourceDocumentSN==="string"?z.sourceDocumentSN:void 0)??$.id,Q=$.sourceDocumentId??(typeof z?.id==="string"?z.id:void 0)??(typeof z?.sourceDocumentId==="string"?z.sourceDocumentId:void 0)??$.documentId??$.id,J=Y.snPrefix??"",I=Y.snSuffix??"",K=Y.docIdPrefix??J,G=Y.docIdSuffix??I,W=`${J}${U}${I}`,H=`${K}${Q}${G}`,X=typeof z?.sourceStartTime==="number"?z.sourceStartTime:typeof $.createdAt==="number"?Math.floor($.createdAt/1000):null,q=(Array.isArray(z?.fields)?z.fields:[]).map((V,F)=>JB0(V,F));return{type:"document",documentId:H,documentSN:W,startTime:X,fields:q}}function jN1($){let Y=new URL($),z=Y.pathname.match(/\/webhook\/([^/]+)/);if(!z)throw Error(`Webhook URL 必须包含 /webhook/{webhookId}/document,收到: ${$}`);let U=z[1],Q=`${Y.protocol}//${Y.host}`,J=`${Q}/api/v1/integrations/webhook/${encodeURIComponent(U)}/document`;return{baseUrl:Q,webhookId:U,documentEndpoint:J}}async function $p($,Y,z,U=fetch,Q={}){let{webhookId:J,documentEndpoint:I}=jN1($),K={...Q,"Content-Type":"application/json",...EZ({webhookId:J,...z},Y)},G=await U(I,{method:"POST",headers:K,body:JSON.stringify(z)});if(!G.ok){let W=await G.text();throw Error(`Webhook 单据推送失败 (${G.status}): ${W}`)}return G.json()}function IB0($,Y,z){if(Y){let U=Y.trim().toLowerCase(),Q=$.find((J)=>J.id.toLowerCase()===U||J.name.toLowerCase()===U||J.incomingDocumentWebhook.id.toLowerCase()===U);if(!Q){let J=$.map((I)=>`"${I.name}" (${I.id})`).join(", ");throw Error(`未找到匹配 "${Y}" 的 Webhook 集成通道。可用通道: [${J}]`)}return Q}if($.length===1)return $[0];if($.length>1){let U=$.find((J)=>J.name.includes("回放")||J.name.toLowerCase().includes("replay"));if(U)return U;let Q=$.map((J)=>`"${J.name}" (${J.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 --webhook 指定目标通道。`)}throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url ${z?` --corp ${z}`:""}`)}function fP($,Y){let z,U,{sourceCorpId:Q,targetCorpId:J,activeCorp:I,force:K}=$;if(Q&&J)z=Y(Q),U=Y(J);else if(Q&&!J)if(z=Y(Q),z.testCorpId)U=Y(z.testCorpId);else if(I.id!==z.id&&I.environment==="test")U=I;else U=I;else if(!Q&&J)if(U=Y(J),U.prodCorpId)z=Y(U.prodCorpId);else if(I.id!==U.id)z=I;else z=I;else if(I.environment==="test")if(U=I,I.prodCorpId)z=Y(I.prodCorpId);else z=I;else if(I.environment==="production")if(z=I,I.testCorpId)U=Y(I.testCorpId);else U=I;else z=I,U=I;if(U.environment==="production"&&!K)throw new w4(`目标企业「${U.name}」(${U.id}) 标记为生产正式环境 (production)。 +`+"为防止测试单据污染生产审批流,禁止向生产环境重放单据。请指定测试企业 (--target-corp ),或在确有需要时添加 --force。",1,`seal-use webhook replay --target-corp ${z.id!==U.id?` --source-corp ${z.id}`:""}`);return{sourceCorp:z,targetCorp:U}}async function Yp($,Y,z){let U=Y.seal?.endpoints?.approvalStylePreferences??"api/v1/agent/ai-approval/config",Q=await J$($,U);if(z||Q.length>0)return IB0(Q,z,Y.id);if(Y.environment==="test"||Y.id.toLowerCase().includes("test")){console.error(`[webhook-replay] 测试企业「${Y.name}」未配置 Webhook 通道,正在自动创建「(Seal测-回放通道)」...`);let J=(Y.seal.url??Y.source?.sealUrl??`https://${Y.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,"");return await WM($,J,{name:"(Seal测-回放通道)",mode:"assisted",outgoingResultWebhook:`${J}/api/v1/integrations/webhook/replay-mock-callback`},Y.seal.endpoints.approvalStylePreferences)}throw new w4(`当前租户「${Y.name}」未配置任何 Webhook 集成通道。`,1,`seal-use webhook add --name --result-url --corp ${Y.id}`)}async function sI($){let{query:Y,sourceClient:z,targetClient:U,sourceCorp:Q,targetCorp:J,webhookSelector:I,snPrefix:K,snSuffix:G,docIdPrefix:W,docIdSuffix:H,dryRun:X,fetchFn:Z=fetch}=$,q=[];if(Y.recordId){let T=await G4(z,Y.recordId);q.push(T)}else if(Y.recordIds&&Y.recordIds.length>0)for(let T of Y.recordIds)q.push(await G4(z,T));else if(Y.sn){let T=await b4(z,{sourceDocumentSN:Y.sn,limit:1});if(!T.records.length)throw Error(`在企业「${Q.name}」中未找到单据编号为「${Y.sn}」的审批记录。`);q.push(T.records[0])}else if(Y.sns&&Y.sns.length>0)for(let T of Y.sns){let A=await b4(z,{sourceDocumentSN:T,limit:1});if(!A.records.length)throw Error(`在企业「${Q.name}」中未找到单据编号为「${T}」的审批记录。`);q.push(A.records[0])}else if(Y.limit!==void 0){let T=await b4(z,{limit:Y.limit,status:Y.status,startDate:Y.startDate,endDate:Y.endDate});if(!T.records.length)throw Error(`在企业「${Q.name}」中未检索到符合条件的审批记录。`);q=T.records}else throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let V=q.map((T)=>({run:T,doc:en(T,{snPrefix:K,snSuffix:G,docIdPrefix:W,docIdSuffix:H})}));if(X){let T={id:"preview-webhook",name:I??"预览目标通道",mode:"assisted",incomingDocumentWebhookUrl:`${J.seal.url}/api/v1/integrations/webhook/preview`};try{let j=await J$(U,J.seal.endpoints.approvalStylePreferences);if(j.length>0){let C=IB0(j,I,J.id);T={id:C.id,name:C.name,mode:C.mode,incomingDocumentWebhookUrl:C.incomingDocumentWebhook.url}}}catch{}let A=V.map(({run:j,doc:C})=>({originalRecord:{id:j.id,sourceSystem:j.sourceSystem,sourceDocumentSN:j.sourceDocumentSN,sourceDocumentId:j.sourceDocumentId},document:C,success:!0})),B=A.length===1;return{dryRun:!0,success:!0,sourceCorp:{id:Q.id,name:Q.name,environment:Q.environment},targetCorp:{id:J.id,name:J.name,environment:J.environment},targetWebhook:T,totalCount:A.length,successCount:A.length,failureCount:0,originalRecord:B?A[0].originalRecord:void 0,document:B?A[0].document:void 0,records:A}}let F=await Yp(U,J,I),M={id:F.id,name:F.name,mode:F.mode,incomingDocumentWebhookUrl:F.incomingDocumentWebhook.url},w=[],O=0,N=0;for(let{run:T,doc:A}of V){console.error(`[webhook-replay] 正在向 Webhook 通道「${F.name}」推送单据: ${A.documentSN}...`);try{let B=await $p(F.incomingDocumentWebhook.url,F.secret,A,Z,B6(J.seal));w.push({originalRecord:{id:T.id,sourceSystem:T.sourceSystem,sourceDocumentSN:T.sourceDocumentSN,sourceDocumentId:T.sourceDocumentId},replayedDocument:{documentSN:A.documentSN,documentId:A.documentId,fieldCount:A.fields.length},pushResult:B,success:!0}),O+=1}catch(B){let j=B instanceof Error?B.message:String(B);w.push({originalRecord:{id:T.id,sourceSystem:T.sourceSystem,sourceDocumentSN:T.sourceDocumentSN,sourceDocumentId:T.sourceDocumentId},replayedDocument:{documentSN:A.documentSN,documentId:A.documentId,fieldCount:A.fields.length},error:j,success:!1}),N+=1}}let D=w.length===1;return{success:N===0,dryRun:!1,sourceCorp:{id:Q.id,name:Q.name,environment:Q.environment},targetCorp:{id:J.id,name:J.name,environment:J.environment},targetWebhook:M,totalCount:w.length,successCount:O,failureCount:N,originalRecord:D?w[0].originalRecord:void 0,replayedDocument:D?w[0].replayedDocument:void 0,pushResult:D?w[0].pushResult:void 0,records:w}}var TN1;var RZ=o(()=>{kP();L$();X6();TN1=new Set(["TEXT","NUMBER","DATE","AMOUNT","PERSON","ATTACHMENT","DATE_RANGE","DEPARTMENT","LIST","CITY","OBJECT"])});var KB0,fe1,EN1,ue1;var GB0=o(()=>{B$();KB0=L.object({level:L.enum(["error","warning","info"]),code:L.string(),message:L.string(),snippet:L.string().optional(),suggestion:L.string().optional()}),fe1=L.object({score:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(KB0)}),EN1=L.object({ruleId:L.string().optional(),ruleCode:L.string().optional(),ruleName:L.string().optional(),score:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(KB0),description:L.string().optional()}),ue1=L.object({linter:L.string(),linterType:L.enum(["builtin","official","custom"]),totalRules:L.number(),healthyCount:L.number(),issueCount:L.number(),overallScore:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(EN1)})});function aI($){let Y=($.description||"").trim(),z=[];if(Y.length<5)z.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let G of CN1)if(Y.includes(G))z.push({level:"error",code:"VAGUE_WORD",snippet:G,message:`包含主观模糊词 "${G}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${G}",改为具体的金额上限、枚举范围或刚性判定条件`});let U=RN1.find((G)=>Y.includes(G)),Q=_N1.some((G)=>Y.includes(G));if(U&&!Q)z.push({level:"warning",code:"HANGING_EXCEPTION",snippet:U,message:`包含例外条款 "${U}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let J=z.filter((G)=>G.level==="error").length,I=z.filter((G)=>G.level==="warning").length;return{score:Math.max(0,100-J*25-I*10),passed:J===0,issues:z}}var CN1,RN1,_N1;var zp=o(()=>{CN1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],RN1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],_N1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"]});function WB0($){let Y=($.description||"").trim(),z=[];if(Y.length<5)z.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});else if(Y.length<10)z.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则描述偏短(少于 10 个字),可能缺少适用的单据范围或执行细节",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});for(let Z of vN1)if(Y.includes(Z))z.push({level:"error",code:"VAGUE_WORD",snippet:Z,message:`包含主观模糊词 "${Z}",在严格风控模式下容易引起审核判定分歧`,suggestion:`请移除 "${Z}",明确量化标准或枚举具体允许的情形`});let U=hN1.find((Z)=>Y.includes(Z)),Q=SN1.some((Z)=>Y.includes(Z));if(U&&!Q)z.push({level:"error",code:"HANGING_EXCEPTION",snippet:U,message:`包含例外条款 "${U}",但未指定 AI 从何处核验该例外成立的凭证依据`,suggestion:'严格模式要求必须补充明确的核验来源(如:"需在【单据备注】中说明原因" 或 "需在【附件】中提供审批截图")'});let J=/\d+/.test(Y),I=gN1.some((Z)=>Y.includes(Z));if(!J&&!I)z.push({level:"warning",code:"LACKS_EXPLICIT_CONSTRAINT",message:"规则缺乏明确的定量标准(如金额、天数、频次)或绝对刚性边界词(如不得、禁止、仅限)",suggestion:"建议设定具体数值阈值或明确的禁止/准入条件,以便大模型精确判定"});let K=/经(批准|审批|领导同意|领导签字)|审批通过/.test(Y),G=yN1.some((Z)=>Y.includes(Z));if(K&&!G)z.push({level:"warning",code:"AMBIGUOUS_APPROVER",message:"规则提及审批例外,但未明确指定具体的审批角色(如部门总监、直接上级、财务负责人)",suggestion:"建议明确审批人角色(例如:经【部门总监】批准,经【直接上级】邮件确认)"});let W=z.filter((Z)=>Z.level==="error").length,H=z.filter((Z)=>Z.level==="warning").length;return{score:Math.max(0,100-W*30-H*15),passed:W===0,issues:z}}var vN1,hN1,SN1,gN1,yN1;var Up=o(()=>{vN1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况","必要时","及时","适量","差不多","相关部门"],hN1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],SN1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"],gN1=["¥","$","€","元","不得超过","不超过","超过","低于","不低于","最高","封顶","限额","禁止","严禁","必须","不予","仅限","每人","每日","每月","每年","每次","单笔"],yN1=["总监","VP","总经理","直接上级","部门负责人","项目经理","财务","分管领导","HR","CEO"]});function HB0($){let Y=($.description||"").trim(),z=($.scope||"").trim(),U=[];if(Y.length<10)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 10 个字),无法承载 HLab 结构化规范所要求的判定逻辑",suggestion:"请按照 HLab 工业化规范补充【检查方法】与【判定标准】"});else if(Y.length<30&&!Y.includes("**")&&!Y.includes("检查方法"))U.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则正文偏短且缺少结构化要素,可能缺少执行细节或证据边界",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});if(!/\*\*检查方法\*\*|检查方法[::]/.test(Y))U.push({level:"error",code:"MISSING_CHECK_METHOD",message:"规则正文缺少【检查方法】结构块,大模型难以确定数据提取来源与对齐逻辑",suggestion:"建议在正文前部增加 **检查方法**:明确 SealAI 应读取的凭证类型、字段名称、归一化方式或前置规则依赖"});if(!/\*\*判定标准\*\*|判定标准[::]/.test(Y))U.push({level:"error",code:"MISSING_EVAL_STANDARD",message:"规则正文缺少【判定标准】结构块,缺乏标准化判定边界",suggestion:"建议在正文后部增加 **判定标准**:包含清晰的 PASS、FAIL 以及证据不足分支"});let I=/[-*•]?\s*PASS[::]/i.test(Y),K=/[-*•]?\s*FAIL[::]/i.test(Y),G=/[-*•]?\s*证据不足[::]/.test(Y);if(!I||!K||!G){let V=[];if(!I)V.push("PASS");if(!K)V.push("FAIL");if(!G)V.push("证据不足");U.push({level:"error",code:"INCOMPLETE_TERNARY_BRANCH",message:`判定标准未形成三元闭环,缺少分支:${V.join("、")}`,suggestion:"HLab 规范要求必须提供完整的三元分支:- PASS(充分合规条件)、- FAIL(明确违规条件)、- 证据不足(容错与复核条件)"})}if(G){let V=Y.split("证据不足")?.[1]?.slice(0,100)||"";if(!/人工复核|人工核对|人工审核|转人工/.test(V))U.push({level:"warning",code:"INSUFFICIENT_WITHOUT_MANUAL_REVIEW",message:"【证据不足】分支未明确指定转【人工复核】兜底,大模型在材料模糊或冲突时可能失控",suggestion:"建议在【证据不足】分支末尾补充标准处置话术:'转人工复核',确保容错降级路径统一"})}for(let V of kN1)if(Y.includes(V)){U.push({level:"warning",code:"DISPOSAL_ACTION_LEAK",snippet:V,message:`规则正文包含整单处置动作话术 "${V}",违反 HLab 规则事实判定与处置动作解耦规范`,suggestion:`请移除正文中的 "${V}";单据处置动作(驳回/提醒)应交由平台严格程度(必须遵守/仅建议)或业务工作流定义`});break}if(z){for(let V of xN1)if(z.includes(V)){U.push({level:"warning",code:"SCOPE_FALSE_SKIP_PRONE",snippet:V,message:`适用场景包含材料上传前置判断 "${V}",当材料未上传时可能导致该规则被静默跳过(SKIP)而非报违规(FAIL)`,suggestion:"建议适用场景仅保留业务与单据触发条件(如单据模板、费用类型);材料缺失的检查应显式置于【判定标准】的 FAIL 分支中"});break}}for(let V of fN1)if(Y.includes(V)){U.push({level:"error",code:"RISK_SUPPRESSION",snippet:V,message:`规则正文包含消极风险压制话术 "${V}",可能破坏模型正常审计底线或压制有效违规`,suggestion:"请移除该规则或改写为正向合规要求;若需豁免特定场景,请在 **例外** 结构块中封闭说明豁免条件与凭证依据"});break}let W=uN1.find((V)=>Y.includes(V)),H=bN1.some((V)=>Y.includes(V));if(W&&!H)U.push({level:"error",code:"HANGING_EXCEPTION",snippet:W,message:`包含例外条款 "${W}",但未指定 AI 从何处核验该例外成立的凭据来源`,suggestion:"HLab 规范要求例外条款必须明确凭据载体(如:在【**例外**】块中注明需提供专项 OA 审批 PDF 附件或商家盖章证明)"});let X=U.filter((V)=>V.level==="error").length,Z=U.filter((V)=>V.level==="warning").length;return{score:Math.max(0,100-X*25-Z*10),passed:X===0,issues:U}}var kN1,xN1,fN1,uN1,bN1;var Qp=o(()=>{kN1=["驳回单据","直接驳回","整单退回","退回单据","退单处理","进行提醒","请进行提醒","予以驳回","直接退回","无需人工关注","无需展示在最后的审核结论中"],xN1=["若上传了","如上传了","若提供了","如提供了","附件需上传","上传了发票","提供了支付截图","提供了行程单","上传了行程单"],fN1=["忽略行程冲突","忽略重复报销","忽略跨城一致性","不识别为风险","不作为风险事项","无需作为风险"],uN1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],bN1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票","流程"]});var Jp;var Ip=o(()=>{Jp={"builtin.ts":`/** * ============================================================================== * Seal 官方标准规则校验器 (Official Standard Rule Linter) * ============================================================================== @@ -876,62 +876,62 @@ export function lintRule(rule: RuleLintTarget): RuleLintResult { } export default lintRule; -`}});import{existsSync as KU,mkdirSync as uN1,readFileSync as bN1,readdirSync as qB0,rmSync as iN1,unlinkSync as cN1,writeFileSync as nN1}from"node:fs";import{homedir as pN1}from"node:os";import{isAbsolute as dN1,join as f6,resolve as mN1}from"node:path";import{pathToFileURL as XB0}from"node:url";function VB0($=i$){let Y=[],z=[];try{if(!KU($))uN1($,{recursive:!0});let U=Object.keys(Jp);for(let[J,I]of Object.entries(Jp)){let K=f6($,J),G=!0;if(KU(K))try{if(bN1(K,"utf8")===I)G=!1}catch{G=!0}if(G)nN1(K,I,"utf8");Y.push(J)}let Q=qB0($,{withFileTypes:!0});for(let J of Q)if(!U.includes(J.name)){let I=f6($,J.name);try{if(J.isDirectory())iN1(I,{recursive:!0,force:!0});else cN1(I);z.push(J.name)}catch{}}}catch{}return{synced:Y,pruned:z}}function LB0($={syncOfficial:!0}){if($.syncOfficial!==!1)VB0();let Y=[{name:"builtin",type:"builtin",path:f6(i$,"builtin.ts"),description:"Seal 官方标准校验器 (拦截过短描述、主观模糊词与悬空例外条款)"},{name:"strict",type:"official",path:f6(i$,"strict.ts"),description:"Seal 官方严格风控校验器 (强校验字数、刚性定量约束、凭证依据与具体审批人角色)"},{name:"hlab",type:"official",path:f6(i$,"hlab.ts"),description:"合思实验室 (HLab) 结构化规则校验器 (SOP 四段论结构、三元闭环判定、剥离处置动作与防漏判)"}],z=[b$,xP];for(let U of z)if(KU(U))try{let Q=qB0(U,{withFileTypes:!0});for(let J of Q){if(J.isDirectory())continue;let I=J.name;if(I.endsWith(".ts")||I.endsWith(".js")||I.endsWith(".mjs")){let K=I.replace(/\.(ts|js|mjs)$/,"");if(!Y.some((G)=>G.name===K))Y.push({name:K,type:"custom",path:f6(U,I),description:`用户自定义规则校验器 (${I})`})}}}catch{}return Y}function oN1($){let Y=($||"").trim();if(!Y||Y==="builtin"||Y==="default"||Y==="official/builtin"||Y==="official/builtin.ts")return{path:f6(i$,"builtin.ts"),isOfficial:!0,officialKind:"builtin"};if(Y==="strict"||Y==="official/strict"||Y==="official/strict.ts")return{path:f6(i$,"strict.ts"),isOfficial:!0,officialKind:"strict"};if(Y==="hlab"||Y==="hlab-sop"||Y==="hlab-rules"||Y==="hlab-standard"||Y==="official/hlab"||Y==="official/hlab.ts")return{path:f6(i$,"hlab.ts"),isOfficial:!0,officialKind:"hlab"};if(dN1(Y)||Y.startsWith("./")||Y.startsWith("../")){let U=mN1(Y);if(KU(U))return{path:U};for(let Q of[".ts",".js",".mjs"])if(KU(`${U}${Q}`))return{path:`${U}${Q}`}}let z=[f6(b$,`${Y}.ts`),f6(b$,`${Y}.js`),f6(b$,`${Y}.mjs`),f6(xP,`${Y}.ts`),f6(xP,`${Y}.js`),f6(xP,`${Y}.mjs`)];for(let U of z)if(KU(U))return{path:U};return{}}async function Kp($){VB0();let Y=oN1($??"builtin");if(Y.isOfficial){let U=Y.officialKind==="strict"?WB0:Y.officialKind==="hlab"?HB0:aI,Q=Y.officialKind==="builtin"?"builtin":"official",J=Y.path;if(J&&KU(J))try{let K=await import(XB0(J).href),G=K.default??K.lintRule??K.linter??K.lint;if(typeof G==="function")return{name:Y.officialKind??"builtin",type:Q,filePath:J,linter:ZB0(G,U)}}catch{}return{name:Y.officialKind??"builtin",type:Q,filePath:J,linter:U}}let z=Y.path;if(!z)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:aI};try{let Q=await import(XB0(z).href),J=Q.default??Q.lintRule??Q.linter??Q.lint;if(typeof J!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${z}" 未导出标准函数 (default / lintRule),已安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:aI};return{name:$??"custom",type:"custom",filePath:z,linter:ZB0(J,aI)}}catch(U){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${z}" 失败(语法错误或依赖缺失: ${U?.message??U}),已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:aI}}}function ZB0($,Y){return async(z,U)=>{try{let Q=await $(z,U);if(Q&&typeof Q==="object"&&typeof Q.score==="number"&&Array.isArray(Q.issues))return Q;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),Y(z,U)}catch(Q){return console.error("⚠️ [linter] 自定义校验器执行异常:",Q),Y(z,U)}}}var b$,lN1="official",i$,xP;var Gp=o(()=>{zp();Qp();Ip();Up();b$=f6(pN1(),".config","seal-use","linters"),i$=f6(b$,lN1),xP=f6(process.cwd(),"linters")});async function Wp($,Y,z){let U=await Y.linter($,z);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:U.score,passed:U.passed,issues:U.issues,description:$.description}}async function FB0($,Y,z,U){let Q=U?.minScore??0,J=U?.level??"all",I=[],K=0;for(let q of $){let V=await Wp(q,Y,z);K+=V.score;let F=V.issues;if(J==="error")F=V.issues.filter((w)=>w.level==="error");else if(J==="warning")F=V.issues.filter((w)=>w.level==="warning"||w.level==="error");let M=F.every((w)=>w.level!=="error");if(U?.summary){if(F.length>0)I.push({...V,passed:M,issues:F})}else I.push({...V,passed:M,issues:F})}let G=$.length,W=G===0?100:Math.round(K/G),H=I.filter((q)=>q.issues.length>0).length,X=G-H,Z=W>=Q&&I.every((q)=>q.passed);return{linter:Y.name,linterType:Y.type,totalRules:G,healthyCount:X,issueCount:H,overallScore:W,passed:Z,issues:I}}var Hp=o(()=>{GB0();zp();Up();Qp();Ip();Gp()});import{existsSync as rN1,readFileSync as sN1,writeFileSync as aN1,mkdirSync as tN1}from"node:fs";import{dirname as eN1,resolve as MB0}from"node:path";function $D1($){let Y;try{Y=JSON.parse($)}catch(z){throw Error(`本地规则文件 JSON 解析失败: ${z instanceof Error?z.message:String(z)}`)}if(Array.isArray(Y))return{rules:wB0(Y),meta:{rulesCount:Y.length}};if(Y&&typeof Y==="object"){let z=Y,U=Array.isArray(z.rules)?z.rules:void 0;if(!U)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:wB0(U),meta:{corpId:typeof z.corpId==="string"?z.corpId:void 0,source:typeof z.source==="string"?z.source:void 0,versionNumber:typeof z.versionNumber==="number"?z.versionNumber:void 0,exportedAt:typeof z.exportedAt==="string"?z.exportedAt:void 0,rulesCount:U.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function wB0($){return $.map((Y,z)=>{if(!Y||typeof Y!=="object")throw Error(`第 ${z+1} 条规则格式错误: 必须为对象`);let U=Y,Q=typeof U.description==="string"?U.description.trim():"";if(!Q)throw Error(`第 ${z+1} 条规则缺少有效的 'description' (规则描述) 字段`);let J=typeof U.code==="number"||typeof U.code==="string"?U.code:z+1;return{...U,code:J,description:Q,scope:typeof U.scope==="string"?U.scope:"ALL",strictness:typeof U.strictness==="string"?U.strictness:"MUST_FOLLOW"}})}function Xp($){let Y=MB0($);if(!rN1(Y))throw Error(`未找到本地规则文件: ${$} (${Y})`);let z=sN1(Y,"utf8");return{...$D1(z),resolvedPath:Y}}function OB0($,Y){let z=MB0($);return tN1(eN1(z),{recursive:!0}),aN1(z,`${JSON.stringify(Y,null,2)} +`}});import{existsSync as KU,mkdirSync as iN1,readFileSync as cN1,readdirSync as qB0,rmSync as nN1,unlinkSync as pN1,writeFileSync as dN1}from"node:fs";import{homedir as mN1}from"node:os";import{isAbsolute as lN1,join as f6,resolve as oN1}from"node:path";import{pathToFileURL as XB0}from"node:url";function VB0($=i$){let Y=[],z=[];try{if(!KU($))iN1($,{recursive:!0});let U=Object.keys(Jp);for(let[J,I]of Object.entries(Jp)){let K=f6($,J),G=!0;if(KU(K))try{if(cN1(K,"utf8")===I)G=!1}catch{G=!0}if(G)dN1(K,I,"utf8");Y.push(J)}let Q=qB0($,{withFileTypes:!0});for(let J of Q)if(!U.includes(J.name)){let I=f6($,J.name);try{if(J.isDirectory())nN1(I,{recursive:!0,force:!0});else pN1(I);z.push(J.name)}catch{}}}catch{}return{synced:Y,pruned:z}}function LB0($={syncOfficial:!0}){if($.syncOfficial!==!1)VB0();let Y=[{name:"builtin",type:"builtin",path:f6(i$,"builtin.ts"),description:"Seal 官方标准校验器 (拦截过短描述、主观模糊词与悬空例外条款)"},{name:"strict",type:"official",path:f6(i$,"strict.ts"),description:"Seal 官方严格风控校验器 (强校验字数、刚性定量约束、凭证依据与具体审批人角色)"},{name:"hlab",type:"official",path:f6(i$,"hlab.ts"),description:"合思实验室 (HLab) 结构化规则校验器 (SOP 四段论结构、三元闭环判定、剥离处置动作与防漏判)"}],z=[b$,uP];for(let U of z)if(KU(U))try{let Q=qB0(U,{withFileTypes:!0});for(let J of Q){if(J.isDirectory())continue;let I=J.name;if(I.endsWith(".ts")||I.endsWith(".js")||I.endsWith(".mjs")){let K=I.replace(/\.(ts|js|mjs)$/,"");if(!Y.some((G)=>G.name===K))Y.push({name:K,type:"custom",path:f6(U,I),description:`用户自定义规则校验器 (${I})`})}}}catch{}return Y}function sN1($){let Y=($||"").trim();if(!Y||Y==="builtin"||Y==="default"||Y==="official/builtin"||Y==="official/builtin.ts")return{path:f6(i$,"builtin.ts"),isOfficial:!0,officialKind:"builtin"};if(Y==="strict"||Y==="official/strict"||Y==="official/strict.ts")return{path:f6(i$,"strict.ts"),isOfficial:!0,officialKind:"strict"};if(Y==="hlab"||Y==="hlab-sop"||Y==="hlab-rules"||Y==="hlab-standard"||Y==="official/hlab"||Y==="official/hlab.ts")return{path:f6(i$,"hlab.ts"),isOfficial:!0,officialKind:"hlab"};if(lN1(Y)||Y.startsWith("./")||Y.startsWith("../")){let U=oN1(Y);if(KU(U))return{path:U};for(let Q of[".ts",".js",".mjs"])if(KU(`${U}${Q}`))return{path:`${U}${Q}`}}let z=[f6(b$,`${Y}.ts`),f6(b$,`${Y}.js`),f6(b$,`${Y}.mjs`),f6(uP,`${Y}.ts`),f6(uP,`${Y}.js`),f6(uP,`${Y}.mjs`)];for(let U of z)if(KU(U))return{path:U};return{}}async function Kp($){VB0();let Y=sN1($??"builtin");if(Y.isOfficial){let U=Y.officialKind==="strict"?WB0:Y.officialKind==="hlab"?HB0:aI,Q=Y.officialKind==="builtin"?"builtin":"official",J=Y.path;if(J&&KU(J))try{let K=await import(XB0(J).href),G=K.default??K.lintRule??K.linter??K.lint;if(typeof G==="function")return{name:Y.officialKind??"builtin",type:Q,filePath:J,linter:ZB0(G,U)}}catch{}return{name:Y.officialKind??"builtin",type:Q,filePath:J,linter:U}}let z=Y.path;if(!z)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:aI};try{let Q=await import(XB0(z).href),J=Q.default??Q.lintRule??Q.linter??Q.lint;if(typeof J!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${z}" 未导出标准函数 (default / lintRule),已安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:aI};return{name:$??"custom",type:"custom",filePath:z,linter:ZB0(J,aI)}}catch(U){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${z}" 失败(语法错误或依赖缺失: ${U?.message??U}),已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:aI}}}function ZB0($,Y){return async(z,U)=>{try{let Q=await $(z,U);if(Q&&typeof Q==="object"&&typeof Q.score==="number"&&Array.isArray(Q.issues))return Q;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),Y(z,U)}catch(Q){return console.error("⚠️ [linter] 自定义校验器执行异常:",Q),Y(z,U)}}}var b$,rN1="official",i$,uP;var Gp=o(()=>{zp();Qp();Ip();Up();b$=f6(mN1(),".config","seal-use","linters"),i$=f6(b$,rN1),uP=f6(process.cwd(),"linters")});async function Wp($,Y,z){let U=await Y.linter($,z);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:U.score,passed:U.passed,issues:U.issues,description:$.description}}async function FB0($,Y,z,U){let Q=U?.minScore??0,J=U?.level??"all",I=[],K=0;for(let q of $){let V=await Wp(q,Y,z);K+=V.score;let F=V.issues;if(J==="error")F=V.issues.filter((w)=>w.level==="error");else if(J==="warning")F=V.issues.filter((w)=>w.level==="warning"||w.level==="error");let M=F.every((w)=>w.level!=="error");if(U?.summary){if(F.length>0)I.push({...V,passed:M,issues:F})}else I.push({...V,passed:M,issues:F})}let G=$.length,W=G===0?100:Math.round(K/G),H=I.filter((q)=>q.issues.length>0).length,X=G-H,Z=W>=Q&&I.every((q)=>q.passed);return{linter:Y.name,linterType:Y.type,totalRules:G,healthyCount:X,issueCount:H,overallScore:W,passed:Z,issues:I}}var Hp=o(()=>{GB0();zp();Up();Qp();Ip();Gp()});import{existsSync as aN1,readFileSync as tN1,writeFileSync as eN1,mkdirSync as $D1}from"node:fs";import{dirname as YD1,resolve as MB0}from"node:path";function zD1($){let Y;try{Y=JSON.parse($)}catch(z){throw Error(`本地规则文件 JSON 解析失败: ${z instanceof Error?z.message:String(z)}`)}if(Array.isArray(Y))return{rules:wB0(Y),meta:{rulesCount:Y.length}};if(Y&&typeof Y==="object"){let z=Y,U=Array.isArray(z.rules)?z.rules:void 0;if(!U)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:wB0(U),meta:{corpId:typeof z.corpId==="string"?z.corpId:void 0,source:typeof z.source==="string"?z.source:void 0,versionNumber:typeof z.versionNumber==="number"?z.versionNumber:void 0,exportedAt:typeof z.exportedAt==="string"?z.exportedAt:void 0,rulesCount:U.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function wB0($){return $.map((Y,z)=>{if(!Y||typeof Y!=="object")throw Error(`第 ${z+1} 条规则格式错误: 必须为对象`);let U=Y,Q=typeof U.description==="string"?U.description.trim():"";if(!Q)throw Error(`第 ${z+1} 条规则缺少有效的 'description' (规则描述) 字段`);let J=typeof U.code==="number"||typeof U.code==="string"?U.code:z+1;return{...U,code:J,description:Q,scope:typeof U.scope==="string"?U.scope:"ALL",strictness:typeof U.strictness==="string"?U.strictness:"MUST_FOLLOW"}})}function Xp($){let Y=MB0($);if(!aN1(Y))throw Error(`未找到本地规则文件: ${$} (${Y})`);let z=tN1(Y,"utf8");return{...zD1(z),resolvedPath:Y}}function OB0($,Y){let z=MB0($);return $D1(YD1(z),{recursive:!0}),eN1(z,`${JSON.stringify(Y,null,2)} `,"utf8"),z}function NB0($){return $.map((Y,z)=>{let U;if(typeof Y.code==="number")U=`#${String(Y.code).padStart(4,"0")}`;else if(typeof Y.code==="string")U=Y.code.startsWith("#")?Y.code:`#${Y.code}`;else U=`#${String(z+1).padStart(4,"0")}`;return{id:Y.id,code:U,name:Y.name,description:Y.description,scope:Y.scope,strictness:Y.strictness}})}var DB0=()=>{};var BB0,D5;var tI=o(()=>{BB0=class BB0 extends Error{errors;warnings;constructor($,Y=[]){super([`webhook 资源包校验失败:${$.length} 个错误`,...$.map((z)=>`- ${z}`)].join(` -`));this.errors=$;this.warnings=Y;this.name="ResourcePackValidationError"}};D5=BB0});var jB0=E((H04,TB0)=>{TB0.exports=fP;function fP(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}fP.prototype.go=function($){if(this.pending0&&$.pending<$.max)AB0($,$.waiting.shift());else if($.pending===0){var J=$.listeners;$.listeners=[],J.forEach(U)}}function U(Q){Q($.error)}}function AB0($,Y){Y(PB0($))}});var RB0=E((UD1)=>{var Zp=I0("fs"),qp=I0("util"),EB0=I0("stream"),CB0=EB0.Readable,YD1=EB0.PassThrough,zD1=jB0(),uP=I0("events").EventEmitter;UD1.BufferSlicer=$K;UD1.FdSlicer=eI;qp.inherits(eI,uP);function eI($){uP.call(this),this.fd=$,this.pend=new zD1,this.pend.max=1,this.refCount=0}eI.prototype.read=function($,Y,z,U,Q){var J=this;J.pend.go(function(I){Zp.read(J.fd,$,Y,z,U,function(K,G,W){I(),Q(K,G,W)})})};eI.prototype.createReadStream=function($){return new RZ(this,$)};eI.prototype.ref=function(){this.refCount+=1};eI.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;Zp.close($.fd,Y);function Y(z){if(z)$.emit("error",z);else $.emit("close")}};qp.inherits(RZ,CB0);function RZ($,Y){Y=Y||{},CB0.call(this,Y),this.context=$,this.context.ref(),this.start=Y.start||0,this.endOffset=Y.end,this.pos=this.start}RZ.prototype._read=function($){var Y=this,z=Math.min(Y._readableState.highWaterMark,$);if(Y.endOffset!=null)z=Math.min(z,Y.endOffset-Y.pos);if(z<=0){Y.push(null),this._cleanup();return}Y.context.pend.go(function(U){var Q=Buffer.allocUnsafe(z);Zp.read(Y.context.fd,Q,0,z,Y.pos,function(J,I){if(J)Y.destroy(J);else if(I===0)Y.push(null),Y._cleanup();else Y.pos+=I,Y.push(Q.slice(0,I));U()})})};RZ.prototype._destroy=function($,Y){this._cleanup(),Y($)};RZ.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};qp.inherits($K,uP);function $K($){uP.call(this),this.refCount=0,this.buffer=$}$K.prototype.read=function($,Y,z,U,Q){if(!(0<=Y&&Y<=$.length))throw RangeError("offset outside buffer: 0 <= "+Y+" <= "+$.length);if(U<0)throw RangeError("position is negative: "+U);if(Y+z>$.length)z=$.length-Y;if(U+z>this.buffer.length)z=this.buffer.length-U;if(z<=0){setImmediate(function(){Q(null,0)});return}this.buffer.copy($,Y,U,U+z),setImmediate(function(){Q(null,z)})};$K.prototype.createReadStream=function($){$=$||{};var Y=new YD1($);Y.start=$.start||0,Y.endOffset=$.end,Y.pos=Y.endOffset||this.buffer.length;var z=this.buffer.slice(Y.start,Y.pos),U=65536,Q=0;while(!0){var J=Q+U;if(J>=z.length){if(Q{var ID1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function KD1($){let Y=-1;for(let z of $)Y=ID1[(Y^z)&255]^Y>>>8;return(Y^-1)>>>0}_B0.exports=KD1});var cB0=E((LD1)=>{var Vp=I0("fs"),Lp=I0("zlib"),hB0=RB0(),cP=I0("util"),nP=I0("events").EventEmitter,SB0=I0("stream").Transform,wp=I0("stream").PassThrough,GD1=I0("stream").Writable,WD1=typeof Lp.crc32==="function"?Lp.crc32:vB0();LD1.open=gB0;LD1.fromFd=Mp;LD1.fromBuffer=yB0;LD1.fromRandomAccessReader=pP;LD1.openPromise=HD1;LD1.fromFdPromise=XD1;LD1.fromBufferPromise=ZD1;LD1.fromRandomAccessReaderPromise=qD1;LD1.dosDateTimeToDate=fB0;LD1.getFileNameLowLevel=uB0;LD1.validateFileName=bB0;LD1.parseExtraFields=iB0;LD1.ZipFile=a8;LD1.Entry=UK;LD1.LocalFileHeader=xB0;LD1.RandomAccessReader=u2;function HD1($,Y){return new Promise((z,U)=>{gB0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return U(Q);z(J)})})}function XD1($,Y){return new Promise((z,U)=>{Mp($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return U(Q);z(J)})})}function ZD1($,Y){return new Promise((z,U)=>{yB0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return U(Q);z(J)})})}function qD1($,Y,z){return new Promise((U,Q)=>{pP($,Y,{...z,lazyEntries:!0},function(J,I){if(J)return Q(J);U(I)})})}function gB0($,Y,z){if(typeof Y==="function")z=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!0;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(z==null)z=iP;Vp.open($,"r",function(U,Q){if(U)return z(U);Mp(Q,Y,function(J,I){if(J)Vp.close(Q,iP);z(J,I)})})}function Mp($,Y,z){if(typeof Y==="function")z=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!1;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(z==null)z=iP;Vp.fstat($,function(U,Q){if(U)return z(U);var J=new hB0.FdSlicer($);pP(J,Q.size,Y,z)})}function yB0($,Y,z){if(typeof Y==="function")z=Y,Y=null;if(Y==null)Y={};if(Y.autoClose=!1,Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;var U=new hB0.BufferSlicer($);pP(U,$.length,Y,z)}function pP($,Y,z,U){if(typeof z==="function")U=z,z=null;if(z==null)z={};if(z.autoClose==null)z.autoClose=!0;if(z.lazyEntries==null)z.lazyEntries=!1;if(z.decodeStrings==null)z.decodeStrings=!0;var Q=!!z.decodeStrings;if(z.validateEntrySizes==null)z.validateEntrySizes=!0;if(z.strictFileNames==null)z.strictFileNames=!1;if(U==null)U=iP;if(typeof Y!=="number")throw Error("expected totalSize parameter to be a number");if(Y>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var J=22,I=20,K=65535,G=Math.min(I+J+K,Y),W=S7(G),H=Y-W.length;zK($,W,0,G,H,function(X){if(X)return U(X);for(var Z=G-J;Z>=0;Z-=1){if(W.readUInt32LE(Z)!==101010256)continue;var q=W.subarray(Z),V=q.readUInt16LE(4),F=q.readUInt16LE(10),M=q.readUInt32LE(16),w=q.readUInt16LE(20),O=q.length-J;if(w!==O)return U(Error("Invalid comment length. Expected: "+O+". Found: "+w+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var D=Q?bP(q.subarray(22),!1):q.subarray(22);if(Z-I>=0&&W.readUInt32LE(Z-I)===117853008){var N=W.subarray(Z-I,Z-I+I),A=YK(N,8),T=S7(56);return zK($,T,0,T.length,A,function(B){if(B)return U(B);if(T.readUInt32LE(0)!==101075792)return U(Error("invalid zip64 end of central directory record signature"));if(V=T.readUInt32LE(16),V!==0)return U(Error("multi-disk zip files are not supported: found disk number: "+V));return F=YK(T,32),M=YK(T,48),U(null,new a8($,M,Y,F,D,z.autoClose,z.lazyEntries,Q,z.validateEntrySizes,z.strictFileNames))})}if(V!==0)return U(Error("multi-disk zip files are not supported: found disk number: "+V));return U(null,new a8($,M,Y,F,D,z.autoClose,z.lazyEntries,Q,z.validateEntrySizes,z.strictFileNames))}U(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}cP.inherits(a8,nP);function a8($,Y,z,U,Q,J,I,K,G,W){var H=this;if(nP.call(H),H.reader=$,H.reader.on("error",function(X){kB0(H,X)}),H.reader.once("close",function(){H.emit("close")}),H.readEntryCursor=Y,H.fileSize=z,H.entryCount=U,H.comment=Q,H.entriesRead=0,H.autoClose=!!J,H.lazyEntries=!!I,H.decodeStrings=!!K,H.validateEntrySizes=!!G,H.strictFileNames=!!W,H.isOpen=!0,H.emittedError=!1,H.hasEachEntryBeenCalled=!1,!H.lazyEntries)H._readEntry()}a8.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function D9($,Y){if($.autoClose)$.close();kB0($,Y)}function kB0($,Y){if($.emittedError)return;$.emittedError=!0,$.emit("error",Y)}a8.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};a8.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var Y=S7(46);zK($.reader,Y,0,Y.length,$.readEntryCursor,function(z){if(z)return D9($,z);if($.emittedError)return;var U=new UK,Q=Y.readUInt32LE(0);if(Q!==33639248)return D9($,Error("invalid central directory file header signature: 0x"+Q.toString(16)));if(U.versionMadeBy=Y.readUInt16LE(4),U.versionNeededToExtract=Y.readUInt16LE(6),U.generalPurposeBitFlag=Y.readUInt16LE(8),U.compressionMethod=Y.readUInt16LE(10),U.lastModFileTime=Y.readUInt16LE(12),U.lastModFileDate=Y.readUInt16LE(14),U.crc32=Y.readUInt32LE(16),U.compressedSize=Y.readUInt32LE(20),U.uncompressedSize=Y.readUInt32LE(24),U.fileNameLength=Y.readUInt16LE(28),U.extraFieldLength=Y.readUInt16LE(30),U.fileCommentLength=Y.readUInt16LE(32),U.internalFileAttributes=Y.readUInt16LE(36),U.externalFileAttributes=Y.readUInt32LE(38),U.relativeOffsetOfLocalHeader=Y.readUInt32LE(42),U.generalPurposeBitFlag&64)return D9($,Error("strong encryption is not supported"));$.readEntryCursor+=46,Y=S7(U.fileNameLength+U.extraFieldLength+U.fileCommentLength),zK($.reader,Y,0,Y.length,$.readEntryCursor,function(J){if(J)return D9($,J);if($.emittedError)return;U.fileNameRaw=Y.subarray(0,U.fileNameLength);var I=U.fileNameLength+U.extraFieldLength;U.extraFieldRaw=Y.subarray(U.fileNameLength,I),U.fileCommentRaw=Y.subarray(I,I+U.fileCommentLength);try{U.extraFields=iB0(U.extraFieldRaw)}catch(F){return D9($,F)}if($.decodeStrings){var K=(U.generalPurposeBitFlag&2048)!==0;U.fileComment=bP(U.fileCommentRaw,K),U.fileName=uB0(U.generalPurposeBitFlag,U.fileNameRaw,U.extraFields,$.strictFileNames);var G=bB0(U.fileName);if(G!=null)return D9($,Error(G))}else U.fileComment=U.fileCommentRaw,U.fileName=U.fileNameRaw;U.comment=U.fileComment,$.readEntryCursor+=Y.length,$.entriesRead+=1;for(var W=0;WX.length)return D9($,Error("zip64 extended information extra field does not include uncompressed size"));U.uncompressedSize=YK(X,Z),Z+=8}if(U.compressedSize===4294967295){if(Z+8>X.length)return D9($,Error("zip64 extended information extra field does not include compressed size"));U.compressedSize=YK(X,Z),Z+=8}if(U.relativeOffsetOfLocalHeader===4294967295){if(Z+8>X.length)return D9($,Error("zip64 extended information extra field does not include relative header offset"));U.relativeOffsetOfLocalHeader=YK(X,Z),Z+=8}break}if($.validateEntrySizes&&U.compressionMethod===0){var q=U.uncompressedSize;if(U.isEncrypted())q+=12;if(U.compressedSize!==q){var V="compressed/uncompressed size mismatch for stored file: "+U.compressedSize+" != "+U.uncompressedSize;return D9($,Error(V))}}if($.emit("entry",U),!$.lazyEntries)$._readEntry()})})};a8.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let Y=null;$.on("entry",U),$.on("end",Q),$.on("error",J);function z(){if($.removeListener("entry",U),$.removeListener("end",Q),$.removeListener("error",J),$.autoClose)$.close()}function U(I){let{resolve:K}=Y;Y=null,K({value:I})}function Q(){let{resolve:I}=Y;Y=null,z(),I({done:!0})}function J(I){let{reject:K}=Y;Y=null,z(),K(I)}return{[Symbol.asyncIterator](){return this},next(){let I=new Promise((K,G)=>{if(Y!=null)throw Error("next() called before previous Promise was resolved.");Y={resolve:K,reject:G}});return $.readEntry(),I},return(I){return z(),Promise.resolve({done:!0,value:I})},throw(I){return z(),Promise.reject(I)}}};a8.prototype.openReadStream=function($,Y,z){var U=this,Q=0,J=$.compressedSize;if(z==null)z=Y,Y=null;if(Y==null)Y={};else{if(Y.decodeFileData===!1){if(Y.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(Y.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(Y.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(Y.decrypt!==!1)throw Error("invalid options.decrypt value: "+Y.decrypt);if($.isCompressed()){if(Y.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(Y.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(Y.decompress===!1||Y.decompress===!0))throw Error("invalid options.decompress value: "+Y.decompress);K=Y.decompress}}if(Y.start!=null){if(Q=Y.start,Q<0)throw Error("options.start < 0");if(Q>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(Y.end!=null){if(J=Y.end,J<0)throw Error("options.end < 0");if(J>$.compressedSize)throw Error("options.end > entry.compressedSize");if(JU.fileSize)return z(Error("file data overflows file bounds: "+W+" + "+$.compressedSize+" > "+U.fileSize));if(Y.minimal)return z(null,{fileDataStart:W});var H=new xB0;H.fileDataStart=W,H.versionNeededToExtract=Q.readUInt16LE(4),H.generalPurposeBitFlag=Q.readUInt16LE(6),H.compressionMethod=Q.readUInt16LE(8),H.lastModFileTime=Q.readUInt16LE(10),H.lastModFileDate=Q.readUInt16LE(12),H.crc32=Q.readUInt32LE(14),H.compressedSize=Q.readUInt32LE(18),H.uncompressedSize=Q.readUInt32LE(22),H.fileNameLength=K,H.extraFieldLength=G,Q=S7(K+G),U.reader.ref(),zK(U.reader,Q,0,Q.length,$.relativeOffsetOfLocalHeader+30,function(X){try{if(X)return z(X);return H.fileName=Q.subarray(0,K),H.extraField=Q.subarray(K),z(null,H)}finally{U.reader.unref()}})}finally{U.reader.unref()}})};a8.prototype.openReadStreamPromise=function($,Y){return new Promise((z,U)=>{this.openReadStream($,Y,function(Q,J){if(Q)return U(Q);z(J)})})};a8.prototype.openReadStreamLowLevelPromise=function($,Y,z,U,Q,J){return new Promise((I,K)=>{this.openReadStream($,Y,z,U,Q,J,function(G,W){if(G)return K(G);I(W)})})};a8.prototype.readLocalFileHeaderPromise=function($,Y){return new Promise((z,U)=>{this.readLocalFileHeader($,Y,function(Q,J){if(Q)return U(Q);z(J)})})};function UK(){}UK.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var Y=0;Y>5&15)-1,J=($>>9&127)+1980,I=0,K=(Y&31)*2,G=Y>>5&63,W=Y>>11&31;if(z==null||z==="local")return new Date(J,Q,U,W,G,K,I);else if(z==="UTC")return new Date(Date.UTC(J,Q,U,W,G,K,I));else throw Error("unrecognized options.timezone: "+options.timezone)}function uB0($,Y,z,U){var Q=null;for(var J=0;J$.length)throw Error("extra field length exceeds extra field buffer size");var K=$.subarray(J,I);Y.push({id:U,data:K}),z=I}return Y}function zK($,Y,z,U,Q,J){if(U===0)return setImmediate(function(){J(null,S7(0))});$.read(Y,z,U,Q,function(I,K){if(I)return J(I);if(Kthis.expectedByteCount){var U="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return z(Error(U))}z(null,$)};_Z.prototype._flush=function($){if(this.actualByteCount0)return;if($.refCount<0)throw Error("invalid unref");$.close(Y);function Y(z){if(z)return $.emit("error",z);$.emit("close")}};u2.prototype.createReadStream=function($){if($==null)$={};var{start:Y,end:z}=$;if(Y===z){var U=new wp;return setImmediate(function(){U.end()}),U}var Q=this._readStreamForRange(Y,z),J=!1,I=new dP(this);Q.on("error",function(G){setImmediate(function(){if(!J)I.emit("error",G)})}),Fp(I,function(){Q.unpipe(I),I.unref(),Q.destroy()});var K=new _Z(z-Y);return I.on("error",function(G){setImmediate(function(){if(!J)K.emit("error",G)})}),Fp(K,function(){J=!0,I.unpipe(K),I.destroy()}),Q.pipe(I).pipe(K)};u2.prototype._readStreamForRange=function($,Y){throw Error("not implemented")};u2.prototype.read=function($,Y,z,U,Q){var J=this.createReadStream({start:U,end:U+z}),I=new GD1,K=0;I._write=function(G,W,H){G.copy($,Y+K,0,G.length),K+=G.length,H()},I.on("finish",Q),J.on("error",function(G){Q(G)}),J.pipe(I)};u2.prototype.close=function($){setImmediate($)};cP.inherits(dP,wp);function dP($){wp.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}dP.prototype._flush=function($){this.unref(),$()};dP.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var VD1="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function bP($,Y){if(Y)return $.toString("utf8");else{var z="";for(var U=0;U<$.length;U++)z+=VD1[$[U]];return z}}function YK($,Y){var z=$.readUInt32LE(Y),U=$.readUInt32LE(Y+4);return U*4294967296+z}var S7;if(typeof Buffer.allocUnsafe==="function")S7=function($){return Buffer.allocUnsafe($)};else S7=function($){return new Buffer($)};function Fp($,Y){if(typeof $.destroy==="function")$._destroy=function(z,U){if(Y(),U!=null)U(z)};else $.destroy=Y}function iP($){if($)throw $}});var g7=E((V04,nB0)=>{var mP=I0("buffer"),QK=mP.Buffer,c$={},n$;for(n$ in mP){if(!mP.hasOwnProperty(n$))continue;if(n$==="SlowBuffer"||n$==="Buffer")continue;c$[n$]=mP[n$]}var JK=c$.Buffer={};for(n$ in QK){if(!QK.hasOwnProperty(n$))continue;if(n$==="allocUnsafe"||n$==="allocUnsafeSlow")continue;JK[n$]=QK[n$]}c$.Buffer.prototype=QK.prototype;if(!JK.from||JK.from===Uint8Array.from)JK.from=function($,Y,z){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return QK($,Y,z)};if(!JK.alloc)JK.alloc=function($,Y,z){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var U=QK($);if(!Y||Y.length===0)U.fill(0);else if(typeof z==="string")U.fill(Y,z);else U.fill(Y);return U};if(!c$.kStringMaxLength)try{c$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!c$.constants){if(c$.constants={MAX_LENGTH:c$.kMaxLength},c$.kStringMaxLength)c$.constants.MAX_STRING_LENGTH=c$.kStringMaxLength}nB0.exports=c$});var dB0=E((hD1)=>{var pB0="\uFEFF";hD1.PrependBOM=Op;function Op($,Y){this.encoder=$,this.addBOM=!0}Op.prototype.write=function($){if(this.addBOM)$=pB0+$,this.addBOM=!1;return this.encoder.write($)};Op.prototype.end=function(){return this.encoder.end()};hD1.StripBOM=Np;function Np($,Y){this.decoder=$,this.pass=!1,this.options=Y||{}}Np.prototype.write=function($){var Y=this.decoder.write($);if(this.pass||!Y)return Y;if(Y[0]===pB0){if(Y=Y.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,Y};Np.prototype.end=function(){return this.decoder.end()}});var Dp=E((F04,mB0)=>{var yD1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function kD1($,Y){for(var z in Y)if(yD1(Y,z))$[z]=Y[z]}mB0.exports=kD1});var oB0=E((w04,lB0)=>{var y7=g7().Buffer;lB0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Bp};function Bp($,Y){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=Tp;else if(this.enc==="utf8")this.encoder=Cp;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=jp,y7.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=Ep,this.defaultCharUnicode=Y.defaultCharUnicode}}Bp.prototype.encoder=Ap;Bp.prototype.decoder=Pp;var xD1=I0("string_decoder").StringDecoder;function Pp($,Y){this.decoder=new xD1(Y.enc)}Pp.prototype.write=function($){if(!y7.isBuffer($))$=y7.from($);return this.decoder.write($)};Pp.prototype.end=function(){return this.decoder.end()};function Ap($,Y){this.enc=Y.enc}Ap.prototype.write=function($){return y7.from($,this.enc)};Ap.prototype.end=function(){};function Tp($,Y){this.prevStr=""}Tp.prototype.write=function($){$=this.prevStr+$;var Y=$.length-$.length%4;return this.prevStr=$.slice(Y),$=$.slice(0,Y),y7.from($,"base64")};Tp.prototype.end=function(){return y7.from(this.prevStr,"base64")};function jp($,Y){}jp.prototype.write=function($){var Y=y7.alloc($.length*3),z=0;for(var U=0;U<$.length;U++){var Q=$.charCodeAt(U);if(Q<128)Y[z++]=Q;else if(Q<2048)Y[z++]=192+(Q>>>6),Y[z++]=128+(Q&63);else Y[z++]=224+(Q>>>12),Y[z++]=128+(Q>>>6&63),Y[z++]=128+(Q&63)}return Y.slice(0,z)};jp.prototype.end=function(){};function Ep($,Y){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=Y.defaultCharUnicode}Ep.prototype.write=function($){var Y=this.acc,z=this.contBytes,U=this.accBytes,Q="";for(var J=0;J<$.length;J++){var I=$[J];if((I&192)!==128){if(z>0)Q+=this.defaultCharUnicode,z=0;if(I<128)Q+=String.fromCharCode(I);else if(I<224)Y=I&31,z=1,U=1;else if(I<240)Y=I&15,z=2,U=1;else Q+=this.defaultCharUnicode}else if(z>0){if(Y=Y<<6|I&63,z--,U++,z===0)if(U===2&&Y<128&&Y>0)Q+=this.defaultCharUnicode;else if(U===3&&Y<2048)Q+=this.defaultCharUnicode;else Q+=String.fromCharCode(Y)}else Q+=this.defaultCharUnicode}return this.acc=Y,this.contBytes=z,this.accBytes=U,Q};Ep.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function Cp($,Y){this.highSurrogate=""}Cp.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var Y=$.charCodeAt($.length-1);if(Y>=55296&&Y<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return y7.from($,this.enc)};Cp.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",y7.from($,this.enc)}}});var aB0=E((fD1)=>{var lP=g7().Buffer;fD1._utf32=Rp;function Rp($,Y){this.iconv=Y,this.bomAware=!0,this.isLE=$.isLE}fD1.utf32le={type:"_utf32",isLE:!0};fD1.utf32be={type:"_utf32",isLE:!1};fD1.ucs4le="utf32le";fD1.ucs4be="utf32be";Rp.prototype.encoder=_p;Rp.prototype.decoder=vp;function _p($,Y){this.isLE=Y.isLE,this.highSurrogate=0}_p.prototype.write=function($){var Y=lP.from($,"ucs2"),z=lP.alloc(Y.length*2+4),U=this.isLE?z.writeUInt32LE:z.writeUInt32BE,Q=0;for(var J=0;J=55296&&I<56320,G=I>=56320&&I<57344;if(this.highSurrogate)if(K||!G)U.call(z,this.highSurrogate,Q),Q+=4;else{var W=(this.highSurrogate-55296<<10|I-56320)+65536;U.call(z,W,Q),Q+=4,this.highSurrogate=0;continue}if(K)this.highSurrogate=I;else U.call(z,I,Q),Q+=4,this.highSurrogate=0}if(Q0){for(;Y<$.length&&I.length<4;Y++)I.push($[Y]);if(I.length===4){if(J)z=I[0]|I[1]<<8|I[2]<<16|I[3]<<24;else z=I[3]|I[2]<<8|I[1]<<16|I[0]<<24;I.length=0,Q=rB0(U,Q,z,K)}}for(;Y<$.length-3;Y+=4){if(J)z=$[Y]|$[Y+1]<<8|$[Y+2]<<16|$[Y+3]<<24;else z=$[Y+3]|$[Y+2]<<8|$[Y+1]<<16|$[Y]<<24;Q=rB0(U,Q,z,K)}for(;Y<$.length;Y++)I.push($[Y]);return U.slice(0,Q).toString("ucs2")};function rB0($,Y,z,U){if(z<0||z>1114111)z=U;if(z>=65536){z-=65536;var Q=55296|z>>10;$[Y++]=Q&255,$[Y++]=Q>>8;var z=56320|z&1023}return $[Y++]=z&255,$[Y++]=z>>8,Y}vp.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};fD1.utf32=hp;fD1.ucs4="utf32";function hp($,Y){this.iconv=Y}hp.prototype.encoder=Sp;hp.prototype.decoder=gp;function Sp($,Y){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=Y.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}Sp.prototype.write=function($){return this.encoder.write($)};Sp.prototype.end=function(){return this.encoder.end()};function gp($,Y){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=Y.iconv}gp.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var Y=sB0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(Y,this.options);var z="";for(var U=0;U16)J++;if(z[3]!==0||z[2]>16)Q++;if(z[0]===0&&z[1]===0&&(z[2]!==0||z[3]!==0))K++;if((z[0]!==0||z[1]!==0)&&z[2]===0&&z[3]===0)I++;if(z.length=0,U++,U>=100)break $}}if(K-J>I-Q)return"utf-32be";if(K-J{var tB0=g7().Buffer;mD1.utf16be=oP;function oP(){}oP.prototype.encoder=yp;oP.prototype.decoder=kp;oP.prototype.bomAware=!0;function yp(){}yp.prototype.write=function($){var Y=tB0.from($,"ucs2");for(var z=0;z=100)break $}}if(J>Q)return"utf-16be";if(J{var B9=g7().Buffer;tD1.utf7=rP;tD1.unicode11utf7="utf7";function rP($,Y){this.iconv=Y}rP.prototype.encoder=ip;rP.prototype.decoder=cp;rP.prototype.bomAware=!0;var rD1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function ip($,Y){this.iconv=Y.iconv}ip.prototype.write=function($){return B9.from($.replace(rD1,function(Y){return"+"+(Y==="+"?"":this.iconv.encode(Y,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};ip.prototype.end=function(){};function cp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var sD1=/[A-Za-z0-9\/+]/,np=[];for(IK=0;IK<256;IK++)np[IK]=sD1.test(String.fromCharCode(IK));var IK,aD1=43,GU=45,bp=38;cp.prototype.write=function($){var Y="",z=0,U=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!U){if($[J]==aD1)Y+=this.iconv.decode($.slice(z,J),"ascii"),z=J+1,U=!0}else if(!np[$[J]]){if(J==z&&$[J]==GU)Y+="+";else{var I=Q+this.iconv.decode($.slice(z,J),"ascii");Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}if($[J]!=GU)J--;z=J+1,U=!1,Q=""}if(!U)Y+=this.iconv.decode($.slice(z),"ascii");else{var I=Q+this.iconv.decode($.slice(z),"ascii"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}return this.inBase64=U,this.base64Accum=Q,Y};cp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(B9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};tD1.utf7imap=sP;function sP($,Y){this.iconv=Y}sP.prototype.encoder=pp;sP.prototype.decoder=dp;sP.prototype.bomAware=!0;function pp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=B9.alloc(6),this.base64AccumIdx=0}pp.prototype.write=function($){var Y=this.inBase64,z=this.base64Accum,U=this.base64AccumIdx,Q=B9.alloc($.length*5+10),J=0;for(var I=0;I<$.length;I++){var K=$.charCodeAt(I);if(K>=32&&K<=126){if(Y){if(U>0)J+=Q.write(z.slice(0,U).toString("base64").replace(/\//g,",").replace(/=+$/,""),J),U=0;Q[J++]=GU,Y=!1}if(!Y){if(Q[J++]=K,K===bp)Q[J++]=GU}}else{if(!Y)Q[J++]=bp,Y=!0;if(Y){if(z[U++]=K>>8,z[U++]=K&255,U==z.length)J+=Q.write(z.toString("base64").replace(/\//g,","),J),U=0}}}return this.inBase64=Y,this.base64AccumIdx=U,Q.slice(0,J)};pp.prototype.end=function(){var $=B9.alloc(10),Y=0;if(this.inBase64){if(this.base64AccumIdx>0)Y+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),Y),this.base64AccumIdx=0;$[Y++]=GU,this.inBase64=!1}return $.slice(0,Y)};function dp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var YP0=np.slice();YP0[44]=!0;dp.prototype.write=function($){var Y="",z=0,U=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!U){if($[J]==bp)Y+=this.iconv.decode($.slice(z,J),"ascii"),z=J+1,U=!0}else if(!YP0[$[J]]){if(J==z&&$[J]==GU)Y+="&";else{var I=Q+this.iconv.decode($.slice(z,J),"ascii").replace(/,/g,"/");Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}if($[J]!=GU)J--;z=J+1,U=!1,Q=""}if(!U)Y+=this.iconv.decode($.slice(z),"ascii");else{var I=Q+this.iconv.decode($.slice(z),"ascii").replace(/,/g,"/"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}return this.inBase64=U,this.base64Accum=Q,Y};dp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(B9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var UP0=E((zB1)=>{var aP=g7().Buffer;zB1._sbcs=mp;function mp($,Y){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var z="";for(var U=0;U<128;U++)z+=String.fromCharCode(U);$.chars=z+$.chars}this.decodeBuf=aP.from($.chars,"ucs2");var Q=aP.alloc(65536,Y.defaultCharSingleByte.charCodeAt(0));for(var U=0;U<$.chars.length;U++)Q[$.chars.charCodeAt(U)]=U;this.encodeBuf=Q}mp.prototype.encoder=lp;mp.prototype.decoder=op;function lp($,Y){this.encodeBuf=Y.encodeBuf}lp.prototype.write=function($){var Y=aP.alloc($.length);for(var z=0;z<$.length;z++)Y[z]=this.encodeBuf[$.charCodeAt(z)];return Y};lp.prototype.end=function(){};function op($,Y){this.decodeBuf=Y.decodeBuf}op.prototype.write=function($){var Y=this.decodeBuf,z=aP.alloc($.length*2),U=0,Q=0;for(var J=0;J<$.length;J++)U=$[J]*2,Q=J*2,z[Q]=Y[U],z[Q+1]=Y[U+1];return z.toString("ucs2")};op.prototype.end=function(){}});var JP0=E((B04,QP0)=>{QP0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var KP0=E((P04,IP0)=>{IP0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b +`));this.errors=$;this.warnings=Y;this.name="ResourcePackValidationError"}};D5=BB0});var jB0=E((q04,TB0)=>{TB0.exports=bP;function bP(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}bP.prototype.go=function($){if(this.pending0&&$.pending<$.max)AB0($,$.waiting.shift());else if($.pending===0){var J=$.listeners;$.listeners=[],J.forEach(U)}}function U(Q){Q($.error)}}function AB0($,Y){Y(PB0($))}});var RB0=E((JD1)=>{var Zp=I0("fs"),qp=I0("util"),EB0=I0("stream"),CB0=EB0.Readable,UD1=EB0.PassThrough,QD1=jB0(),iP=I0("events").EventEmitter;JD1.BufferSlicer=$K;JD1.FdSlicer=eI;qp.inherits(eI,iP);function eI($){iP.call(this),this.fd=$,this.pend=new QD1,this.pend.max=1,this.refCount=0}eI.prototype.read=function($,Y,z,U,Q){var J=this;J.pend.go(function(I){Zp.read(J.fd,$,Y,z,U,function(K,G,W){I(),Q(K,G,W)})})};eI.prototype.createReadStream=function($){return new _Z(this,$)};eI.prototype.ref=function(){this.refCount+=1};eI.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;Zp.close($.fd,Y);function Y(z){if(z)$.emit("error",z);else $.emit("close")}};qp.inherits(_Z,CB0);function _Z($,Y){Y=Y||{},CB0.call(this,Y),this.context=$,this.context.ref(),this.start=Y.start||0,this.endOffset=Y.end,this.pos=this.start}_Z.prototype._read=function($){var Y=this,z=Math.min(Y._readableState.highWaterMark,$);if(Y.endOffset!=null)z=Math.min(z,Y.endOffset-Y.pos);if(z<=0){Y.push(null),this._cleanup();return}Y.context.pend.go(function(U){var Q=Buffer.allocUnsafe(z);Zp.read(Y.context.fd,Q,0,z,Y.pos,function(J,I){if(J)Y.destroy(J);else if(I===0)Y.push(null),Y._cleanup();else Y.pos+=I,Y.push(Q.slice(0,I));U()})})};_Z.prototype._destroy=function($,Y){this._cleanup(),Y($)};_Z.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};qp.inherits($K,iP);function $K($){iP.call(this),this.refCount=0,this.buffer=$}$K.prototype.read=function($,Y,z,U,Q){if(!(0<=Y&&Y<=$.length))throw RangeError("offset outside buffer: 0 <= "+Y+" <= "+$.length);if(U<0)throw RangeError("position is negative: "+U);if(Y+z>$.length)z=$.length-Y;if(U+z>this.buffer.length)z=this.buffer.length-U;if(z<=0){setImmediate(function(){Q(null,0)});return}this.buffer.copy($,Y,U,U+z),setImmediate(function(){Q(null,z)})};$K.prototype.createReadStream=function($){$=$||{};var Y=new UD1($);Y.start=$.start||0,Y.endOffset=$.end,Y.pos=Y.endOffset||this.buffer.length;var z=this.buffer.slice(Y.start,Y.pos),U=65536,Q=0;while(!0){var J=Q+U;if(J>=z.length){if(Q{var GD1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function WD1($){let Y=-1;for(let z of $)Y=GD1[(Y^z)&255]^Y>>>8;return(Y^-1)>>>0}_B0.exports=WD1});var cB0=E((wD1)=>{var Vp=I0("fs"),Lp=I0("zlib"),hB0=RB0(),pP=I0("util"),dP=I0("events").EventEmitter,SB0=I0("stream").Transform,wp=I0("stream").PassThrough,HD1=I0("stream").Writable,XD1=typeof Lp.crc32==="function"?Lp.crc32:vB0();wD1.open=gB0;wD1.fromFd=Mp;wD1.fromBuffer=yB0;wD1.fromRandomAccessReader=mP;wD1.openPromise=ZD1;wD1.fromFdPromise=qD1;wD1.fromBufferPromise=VD1;wD1.fromRandomAccessReaderPromise=LD1;wD1.dosDateTimeToDate=fB0;wD1.getFileNameLowLevel=uB0;wD1.validateFileName=bB0;wD1.parseExtraFields=iB0;wD1.ZipFile=a8;wD1.Entry=UK;wD1.LocalFileHeader=xB0;wD1.RandomAccessReader=u2;function ZD1($,Y){return new Promise((z,U)=>{gB0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return U(Q);z(J)})})}function qD1($,Y){return new Promise((z,U)=>{Mp($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return U(Q);z(J)})})}function VD1($,Y){return new Promise((z,U)=>{yB0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return U(Q);z(J)})})}function LD1($,Y,z){return new Promise((U,Q)=>{mP($,Y,{...z,lazyEntries:!0},function(J,I){if(J)return Q(J);U(I)})})}function gB0($,Y,z){if(typeof Y==="function")z=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!0;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(z==null)z=nP;Vp.open($,"r",function(U,Q){if(U)return z(U);Mp(Q,Y,function(J,I){if(J)Vp.close(Q,nP);z(J,I)})})}function Mp($,Y,z){if(typeof Y==="function")z=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!1;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(z==null)z=nP;Vp.fstat($,function(U,Q){if(U)return z(U);var J=new hB0.FdSlicer($);mP(J,Q.size,Y,z)})}function yB0($,Y,z){if(typeof Y==="function")z=Y,Y=null;if(Y==null)Y={};if(Y.autoClose=!1,Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;var U=new hB0.BufferSlicer($);mP(U,$.length,Y,z)}function mP($,Y,z,U){if(typeof z==="function")U=z,z=null;if(z==null)z={};if(z.autoClose==null)z.autoClose=!0;if(z.lazyEntries==null)z.lazyEntries=!1;if(z.decodeStrings==null)z.decodeStrings=!0;var Q=!!z.decodeStrings;if(z.validateEntrySizes==null)z.validateEntrySizes=!0;if(z.strictFileNames==null)z.strictFileNames=!1;if(U==null)U=nP;if(typeof Y!=="number")throw Error("expected totalSize parameter to be a number");if(Y>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var J=22,I=20,K=65535,G=Math.min(I+J+K,Y),W=g7(G),H=Y-W.length;zK($,W,0,G,H,function(X){if(X)return U(X);for(var Z=G-J;Z>=0;Z-=1){if(W.readUInt32LE(Z)!==101010256)continue;var q=W.subarray(Z),V=q.readUInt16LE(4),F=q.readUInt16LE(10),M=q.readUInt32LE(16),w=q.readUInt16LE(20),O=q.length-J;if(w!==O)return U(Error("Invalid comment length. Expected: "+O+". Found: "+w+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var N=Q?cP(q.subarray(22),!1):q.subarray(22);if(Z-I>=0&&W.readUInt32LE(Z-I)===117853008){var D=W.subarray(Z-I,Z-I+I),T=YK(D,8),A=g7(56);return zK($,A,0,A.length,T,function(B){if(B)return U(B);if(A.readUInt32LE(0)!==101075792)return U(Error("invalid zip64 end of central directory record signature"));if(V=A.readUInt32LE(16),V!==0)return U(Error("multi-disk zip files are not supported: found disk number: "+V));return F=YK(A,32),M=YK(A,48),U(null,new a8($,M,Y,F,N,z.autoClose,z.lazyEntries,Q,z.validateEntrySizes,z.strictFileNames))})}if(V!==0)return U(Error("multi-disk zip files are not supported: found disk number: "+V));return U(null,new a8($,M,Y,F,N,z.autoClose,z.lazyEntries,Q,z.validateEntrySizes,z.strictFileNames))}U(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}pP.inherits(a8,dP);function a8($,Y,z,U,Q,J,I,K,G,W){var H=this;if(dP.call(H),H.reader=$,H.reader.on("error",function(X){kB0(H,X)}),H.reader.once("close",function(){H.emit("close")}),H.readEntryCursor=Y,H.fileSize=z,H.entryCount=U,H.comment=Q,H.entriesRead=0,H.autoClose=!!J,H.lazyEntries=!!I,H.decodeStrings=!!K,H.validateEntrySizes=!!G,H.strictFileNames=!!W,H.isOpen=!0,H.emittedError=!1,H.hasEachEntryBeenCalled=!1,!H.lazyEntries)H._readEntry()}a8.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function B9($,Y){if($.autoClose)$.close();kB0($,Y)}function kB0($,Y){if($.emittedError)return;$.emittedError=!0,$.emit("error",Y)}a8.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};a8.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var Y=g7(46);zK($.reader,Y,0,Y.length,$.readEntryCursor,function(z){if(z)return B9($,z);if($.emittedError)return;var U=new UK,Q=Y.readUInt32LE(0);if(Q!==33639248)return B9($,Error("invalid central directory file header signature: 0x"+Q.toString(16)));if(U.versionMadeBy=Y.readUInt16LE(4),U.versionNeededToExtract=Y.readUInt16LE(6),U.generalPurposeBitFlag=Y.readUInt16LE(8),U.compressionMethod=Y.readUInt16LE(10),U.lastModFileTime=Y.readUInt16LE(12),U.lastModFileDate=Y.readUInt16LE(14),U.crc32=Y.readUInt32LE(16),U.compressedSize=Y.readUInt32LE(20),U.uncompressedSize=Y.readUInt32LE(24),U.fileNameLength=Y.readUInt16LE(28),U.extraFieldLength=Y.readUInt16LE(30),U.fileCommentLength=Y.readUInt16LE(32),U.internalFileAttributes=Y.readUInt16LE(36),U.externalFileAttributes=Y.readUInt32LE(38),U.relativeOffsetOfLocalHeader=Y.readUInt32LE(42),U.generalPurposeBitFlag&64)return B9($,Error("strong encryption is not supported"));$.readEntryCursor+=46,Y=g7(U.fileNameLength+U.extraFieldLength+U.fileCommentLength),zK($.reader,Y,0,Y.length,$.readEntryCursor,function(J){if(J)return B9($,J);if($.emittedError)return;U.fileNameRaw=Y.subarray(0,U.fileNameLength);var I=U.fileNameLength+U.extraFieldLength;U.extraFieldRaw=Y.subarray(U.fileNameLength,I),U.fileCommentRaw=Y.subarray(I,I+U.fileCommentLength);try{U.extraFields=iB0(U.extraFieldRaw)}catch(F){return B9($,F)}if($.decodeStrings){var K=(U.generalPurposeBitFlag&2048)!==0;U.fileComment=cP(U.fileCommentRaw,K),U.fileName=uB0(U.generalPurposeBitFlag,U.fileNameRaw,U.extraFields,$.strictFileNames);var G=bB0(U.fileName);if(G!=null)return B9($,Error(G))}else U.fileComment=U.fileCommentRaw,U.fileName=U.fileNameRaw;U.comment=U.fileComment,$.readEntryCursor+=Y.length,$.entriesRead+=1;for(var W=0;WX.length)return B9($,Error("zip64 extended information extra field does not include uncompressed size"));U.uncompressedSize=YK(X,Z),Z+=8}if(U.compressedSize===4294967295){if(Z+8>X.length)return B9($,Error("zip64 extended information extra field does not include compressed size"));U.compressedSize=YK(X,Z),Z+=8}if(U.relativeOffsetOfLocalHeader===4294967295){if(Z+8>X.length)return B9($,Error("zip64 extended information extra field does not include relative header offset"));U.relativeOffsetOfLocalHeader=YK(X,Z),Z+=8}break}if($.validateEntrySizes&&U.compressionMethod===0){var q=U.uncompressedSize;if(U.isEncrypted())q+=12;if(U.compressedSize!==q){var V="compressed/uncompressed size mismatch for stored file: "+U.compressedSize+" != "+U.uncompressedSize;return B9($,Error(V))}}if($.emit("entry",U),!$.lazyEntries)$._readEntry()})})};a8.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let Y=null;$.on("entry",U),$.on("end",Q),$.on("error",J);function z(){if($.removeListener("entry",U),$.removeListener("end",Q),$.removeListener("error",J),$.autoClose)$.close()}function U(I){let{resolve:K}=Y;Y=null,K({value:I})}function Q(){let{resolve:I}=Y;Y=null,z(),I({done:!0})}function J(I){let{reject:K}=Y;Y=null,z(),K(I)}return{[Symbol.asyncIterator](){return this},next(){let I=new Promise((K,G)=>{if(Y!=null)throw Error("next() called before previous Promise was resolved.");Y={resolve:K,reject:G}});return $.readEntry(),I},return(I){return z(),Promise.resolve({done:!0,value:I})},throw(I){return z(),Promise.reject(I)}}};a8.prototype.openReadStream=function($,Y,z){var U=this,Q=0,J=$.compressedSize;if(z==null)z=Y,Y=null;if(Y==null)Y={};else{if(Y.decodeFileData===!1){if(Y.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(Y.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(Y.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(Y.decrypt!==!1)throw Error("invalid options.decrypt value: "+Y.decrypt);if($.isCompressed()){if(Y.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(Y.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(Y.decompress===!1||Y.decompress===!0))throw Error("invalid options.decompress value: "+Y.decompress);K=Y.decompress}}if(Y.start!=null){if(Q=Y.start,Q<0)throw Error("options.start < 0");if(Q>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(Y.end!=null){if(J=Y.end,J<0)throw Error("options.end < 0");if(J>$.compressedSize)throw Error("options.end > entry.compressedSize");if(JU.fileSize)return z(Error("file data overflows file bounds: "+W+" + "+$.compressedSize+" > "+U.fileSize));if(Y.minimal)return z(null,{fileDataStart:W});var H=new xB0;H.fileDataStart=W,H.versionNeededToExtract=Q.readUInt16LE(4),H.generalPurposeBitFlag=Q.readUInt16LE(6),H.compressionMethod=Q.readUInt16LE(8),H.lastModFileTime=Q.readUInt16LE(10),H.lastModFileDate=Q.readUInt16LE(12),H.crc32=Q.readUInt32LE(14),H.compressedSize=Q.readUInt32LE(18),H.uncompressedSize=Q.readUInt32LE(22),H.fileNameLength=K,H.extraFieldLength=G,Q=g7(K+G),U.reader.ref(),zK(U.reader,Q,0,Q.length,$.relativeOffsetOfLocalHeader+30,function(X){try{if(X)return z(X);return H.fileName=Q.subarray(0,K),H.extraField=Q.subarray(K),z(null,H)}finally{U.reader.unref()}})}finally{U.reader.unref()}})};a8.prototype.openReadStreamPromise=function($,Y){return new Promise((z,U)=>{this.openReadStream($,Y,function(Q,J){if(Q)return U(Q);z(J)})})};a8.prototype.openReadStreamLowLevelPromise=function($,Y,z,U,Q,J){return new Promise((I,K)=>{this.openReadStream($,Y,z,U,Q,J,function(G,W){if(G)return K(G);I(W)})})};a8.prototype.readLocalFileHeaderPromise=function($,Y){return new Promise((z,U)=>{this.readLocalFileHeader($,Y,function(Q,J){if(Q)return U(Q);z(J)})})};function UK(){}UK.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var Y=0;Y>5&15)-1,J=($>>9&127)+1980,I=0,K=(Y&31)*2,G=Y>>5&63,W=Y>>11&31;if(z==null||z==="local")return new Date(J,Q,U,W,G,K,I);else if(z==="UTC")return new Date(Date.UTC(J,Q,U,W,G,K,I));else throw Error("unrecognized options.timezone: "+options.timezone)}function uB0($,Y,z,U){var Q=null;for(var J=0;J$.length)throw Error("extra field length exceeds extra field buffer size");var K=$.subarray(J,I);Y.push({id:U,data:K}),z=I}return Y}function zK($,Y,z,U,Q,J){if(U===0)return setImmediate(function(){J(null,g7(0))});$.read(Y,z,U,Q,function(I,K){if(I)return J(I);if(Kthis.expectedByteCount){var U="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return z(Error(U))}z(null,$)};vZ.prototype._flush=function($){if(this.actualByteCount0)return;if($.refCount<0)throw Error("invalid unref");$.close(Y);function Y(z){if(z)return $.emit("error",z);$.emit("close")}};u2.prototype.createReadStream=function($){if($==null)$={};var{start:Y,end:z}=$;if(Y===z){var U=new wp;return setImmediate(function(){U.end()}),U}var Q=this._readStreamForRange(Y,z),J=!1,I=new lP(this);Q.on("error",function(G){setImmediate(function(){if(!J)I.emit("error",G)})}),Fp(I,function(){Q.unpipe(I),I.unref(),Q.destroy()});var K=new vZ(z-Y);return I.on("error",function(G){setImmediate(function(){if(!J)K.emit("error",G)})}),Fp(K,function(){J=!0,I.unpipe(K),I.destroy()}),Q.pipe(I).pipe(K)};u2.prototype._readStreamForRange=function($,Y){throw Error("not implemented")};u2.prototype.read=function($,Y,z,U,Q){var J=this.createReadStream({start:U,end:U+z}),I=new HD1,K=0;I._write=function(G,W,H){G.copy($,Y+K,0,G.length),K+=G.length,H()},I.on("finish",Q),J.on("error",function(G){Q(G)}),J.pipe(I)};u2.prototype.close=function($){setImmediate($)};pP.inherits(lP,wp);function lP($){wp.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}lP.prototype._flush=function($){this.unref(),$()};lP.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var FD1="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function cP($,Y){if(Y)return $.toString("utf8");else{var z="";for(var U=0;U<$.length;U++)z+=FD1[$[U]];return z}}function YK($,Y){var z=$.readUInt32LE(Y),U=$.readUInt32LE(Y+4);return U*4294967296+z}var g7;if(typeof Buffer.allocUnsafe==="function")g7=function($){return Buffer.allocUnsafe($)};else g7=function($){return new Buffer($)};function Fp($,Y){if(typeof $.destroy==="function")$._destroy=function(z,U){if(Y(),U!=null)U(z)};else $.destroy=Y}function nP($){if($)throw $}});var y7=E((w04,nB0)=>{var oP=I0("buffer"),QK=oP.Buffer,c$={},n$;for(n$ in oP){if(!oP.hasOwnProperty(n$))continue;if(n$==="SlowBuffer"||n$==="Buffer")continue;c$[n$]=oP[n$]}var JK=c$.Buffer={};for(n$ in QK){if(!QK.hasOwnProperty(n$))continue;if(n$==="allocUnsafe"||n$==="allocUnsafeSlow")continue;JK[n$]=QK[n$]}c$.Buffer.prototype=QK.prototype;if(!JK.from||JK.from===Uint8Array.from)JK.from=function($,Y,z){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return QK($,Y,z)};if(!JK.alloc)JK.alloc=function($,Y,z){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var U=QK($);if(!Y||Y.length===0)U.fill(0);else if(typeof z==="string")U.fill(Y,z);else U.fill(Y);return U};if(!c$.kStringMaxLength)try{c$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!c$.constants){if(c$.constants={MAX_LENGTH:c$.kMaxLength},c$.kStringMaxLength)c$.constants.MAX_STRING_LENGTH=c$.kStringMaxLength}nB0.exports=c$});var dB0=E((gD1)=>{var pB0="\uFEFF";gD1.PrependBOM=Op;function Op($,Y){this.encoder=$,this.addBOM=!0}Op.prototype.write=function($){if(this.addBOM)$=pB0+$,this.addBOM=!1;return this.encoder.write($)};Op.prototype.end=function(){return this.encoder.end()};gD1.StripBOM=Np;function Np($,Y){this.decoder=$,this.pass=!1,this.options=Y||{}}Np.prototype.write=function($){var Y=this.decoder.write($);if(this.pass||!Y)return Y;if(Y[0]===pB0){if(Y=Y.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,Y};Np.prototype.end=function(){return this.decoder.end()}});var Dp=E((O04,mB0)=>{var xD1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function fD1($,Y){for(var z in Y)if(xD1(Y,z))$[z]=Y[z]}mB0.exports=fD1});var oB0=E((N04,lB0)=>{var k7=y7().Buffer;lB0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Bp};function Bp($,Y){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=Tp;else if(this.enc==="utf8")this.encoder=Cp;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=jp,k7.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=Ep,this.defaultCharUnicode=Y.defaultCharUnicode}}Bp.prototype.encoder=Ap;Bp.prototype.decoder=Pp;var uD1=I0("string_decoder").StringDecoder;function Pp($,Y){this.decoder=new uD1(Y.enc)}Pp.prototype.write=function($){if(!k7.isBuffer($))$=k7.from($);return this.decoder.write($)};Pp.prototype.end=function(){return this.decoder.end()};function Ap($,Y){this.enc=Y.enc}Ap.prototype.write=function($){return k7.from($,this.enc)};Ap.prototype.end=function(){};function Tp($,Y){this.prevStr=""}Tp.prototype.write=function($){$=this.prevStr+$;var Y=$.length-$.length%4;return this.prevStr=$.slice(Y),$=$.slice(0,Y),k7.from($,"base64")};Tp.prototype.end=function(){return k7.from(this.prevStr,"base64")};function jp($,Y){}jp.prototype.write=function($){var Y=k7.alloc($.length*3),z=0;for(var U=0;U<$.length;U++){var Q=$.charCodeAt(U);if(Q<128)Y[z++]=Q;else if(Q<2048)Y[z++]=192+(Q>>>6),Y[z++]=128+(Q&63);else Y[z++]=224+(Q>>>12),Y[z++]=128+(Q>>>6&63),Y[z++]=128+(Q&63)}return Y.slice(0,z)};jp.prototype.end=function(){};function Ep($,Y){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=Y.defaultCharUnicode}Ep.prototype.write=function($){var Y=this.acc,z=this.contBytes,U=this.accBytes,Q="";for(var J=0;J<$.length;J++){var I=$[J];if((I&192)!==128){if(z>0)Q+=this.defaultCharUnicode,z=0;if(I<128)Q+=String.fromCharCode(I);else if(I<224)Y=I&31,z=1,U=1;else if(I<240)Y=I&15,z=2,U=1;else Q+=this.defaultCharUnicode}else if(z>0){if(Y=Y<<6|I&63,z--,U++,z===0)if(U===2&&Y<128&&Y>0)Q+=this.defaultCharUnicode;else if(U===3&&Y<2048)Q+=this.defaultCharUnicode;else Q+=String.fromCharCode(Y)}else Q+=this.defaultCharUnicode}return this.acc=Y,this.contBytes=z,this.accBytes=U,Q};Ep.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function Cp($,Y){this.highSurrogate=""}Cp.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var Y=$.charCodeAt($.length-1);if(Y>=55296&&Y<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return k7.from($,this.enc)};Cp.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",k7.from($,this.enc)}}});var aB0=E((bD1)=>{var rP=y7().Buffer;bD1._utf32=Rp;function Rp($,Y){this.iconv=Y,this.bomAware=!0,this.isLE=$.isLE}bD1.utf32le={type:"_utf32",isLE:!0};bD1.utf32be={type:"_utf32",isLE:!1};bD1.ucs4le="utf32le";bD1.ucs4be="utf32be";Rp.prototype.encoder=_p;Rp.prototype.decoder=vp;function _p($,Y){this.isLE=Y.isLE,this.highSurrogate=0}_p.prototype.write=function($){var Y=rP.from($,"ucs2"),z=rP.alloc(Y.length*2+4),U=this.isLE?z.writeUInt32LE:z.writeUInt32BE,Q=0;for(var J=0;J=55296&&I<56320,G=I>=56320&&I<57344;if(this.highSurrogate)if(K||!G)U.call(z,this.highSurrogate,Q),Q+=4;else{var W=(this.highSurrogate-55296<<10|I-56320)+65536;U.call(z,W,Q),Q+=4,this.highSurrogate=0;continue}if(K)this.highSurrogate=I;else U.call(z,I,Q),Q+=4,this.highSurrogate=0}if(Q0){for(;Y<$.length&&I.length<4;Y++)I.push($[Y]);if(I.length===4){if(J)z=I[0]|I[1]<<8|I[2]<<16|I[3]<<24;else z=I[3]|I[2]<<8|I[1]<<16|I[0]<<24;I.length=0,Q=rB0(U,Q,z,K)}}for(;Y<$.length-3;Y+=4){if(J)z=$[Y]|$[Y+1]<<8|$[Y+2]<<16|$[Y+3]<<24;else z=$[Y+3]|$[Y+2]<<8|$[Y+1]<<16|$[Y]<<24;Q=rB0(U,Q,z,K)}for(;Y<$.length;Y++)I.push($[Y]);return U.slice(0,Q).toString("ucs2")};function rB0($,Y,z,U){if(z<0||z>1114111)z=U;if(z>=65536){z-=65536;var Q=55296|z>>10;$[Y++]=Q&255,$[Y++]=Q>>8;var z=56320|z&1023}return $[Y++]=z&255,$[Y++]=z>>8,Y}vp.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};bD1.utf32=hp;bD1.ucs4="utf32";function hp($,Y){this.iconv=Y}hp.prototype.encoder=Sp;hp.prototype.decoder=gp;function Sp($,Y){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=Y.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}Sp.prototype.write=function($){return this.encoder.write($)};Sp.prototype.end=function(){return this.encoder.end()};function gp($,Y){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=Y.iconv}gp.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var Y=sB0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(Y,this.options);var z="";for(var U=0;U16)J++;if(z[3]!==0||z[2]>16)Q++;if(z[0]===0&&z[1]===0&&(z[2]!==0||z[3]!==0))K++;if((z[0]!==0||z[1]!==0)&&z[2]===0&&z[3]===0)I++;if(z.length=0,U++,U>=100)break $}}if(K-J>I-Q)return"utf-32be";if(K-J{var tB0=y7().Buffer;oD1.utf16be=sP;function sP(){}sP.prototype.encoder=yp;sP.prototype.decoder=kp;sP.prototype.bomAware=!0;function yp(){}yp.prototype.write=function($){var Y=tB0.from($,"ucs2");for(var z=0;z=100)break $}}if(J>Q)return"utf-16be";if(J{var P9=y7().Buffer;$B1.utf7=aP;$B1.unicode11utf7="utf7";function aP($,Y){this.iconv=Y}aP.prototype.encoder=ip;aP.prototype.decoder=cp;aP.prototype.bomAware=!0;var aD1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function ip($,Y){this.iconv=Y.iconv}ip.prototype.write=function($){return P9.from($.replace(aD1,function(Y){return"+"+(Y==="+"?"":this.iconv.encode(Y,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};ip.prototype.end=function(){};function cp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var tD1=/[A-Za-z0-9\/+]/,np=[];for(IK=0;IK<256;IK++)np[IK]=tD1.test(String.fromCharCode(IK));var IK,eD1=43,GU=45,bp=38;cp.prototype.write=function($){var Y="",z=0,U=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!U){if($[J]==eD1)Y+=this.iconv.decode($.slice(z,J),"ascii"),z=J+1,U=!0}else if(!np[$[J]]){if(J==z&&$[J]==GU)Y+="+";else{var I=Q+this.iconv.decode($.slice(z,J),"ascii");Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}if($[J]!=GU)J--;z=J+1,U=!1,Q=""}if(!U)Y+=this.iconv.decode($.slice(z),"ascii");else{var I=Q+this.iconv.decode($.slice(z),"ascii"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}return this.inBase64=U,this.base64Accum=Q,Y};cp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(P9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};$B1.utf7imap=tP;function tP($,Y){this.iconv=Y}tP.prototype.encoder=pp;tP.prototype.decoder=dp;tP.prototype.bomAware=!0;function pp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=P9.alloc(6),this.base64AccumIdx=0}pp.prototype.write=function($){var Y=this.inBase64,z=this.base64Accum,U=this.base64AccumIdx,Q=P9.alloc($.length*5+10),J=0;for(var I=0;I<$.length;I++){var K=$.charCodeAt(I);if(K>=32&&K<=126){if(Y){if(U>0)J+=Q.write(z.slice(0,U).toString("base64").replace(/\//g,",").replace(/=+$/,""),J),U=0;Q[J++]=GU,Y=!1}if(!Y){if(Q[J++]=K,K===bp)Q[J++]=GU}}else{if(!Y)Q[J++]=bp,Y=!0;if(Y){if(z[U++]=K>>8,z[U++]=K&255,U==z.length)J+=Q.write(z.toString("base64").replace(/\//g,","),J),U=0}}}return this.inBase64=Y,this.base64AccumIdx=U,Q.slice(0,J)};pp.prototype.end=function(){var $=P9.alloc(10),Y=0;if(this.inBase64){if(this.base64AccumIdx>0)Y+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),Y),this.base64AccumIdx=0;$[Y++]=GU,this.inBase64=!1}return $.slice(0,Y)};function dp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var YP0=np.slice();YP0[44]=!0;dp.prototype.write=function($){var Y="",z=0,U=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!U){if($[J]==bp)Y+=this.iconv.decode($.slice(z,J),"ascii"),z=J+1,U=!0}else if(!YP0[$[J]]){if(J==z&&$[J]==GU)Y+="&";else{var I=Q+this.iconv.decode($.slice(z,J),"ascii").replace(/,/g,"/");Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}if($[J]!=GU)J--;z=J+1,U=!1,Q=""}if(!U)Y+=this.iconv.decode($.slice(z),"ascii");else{var I=Q+this.iconv.decode($.slice(z),"ascii").replace(/,/g,"/"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}return this.inBase64=U,this.base64Accum=Q,Y};dp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(P9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var UP0=E((QB1)=>{var eP=y7().Buffer;QB1._sbcs=mp;function mp($,Y){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var z="";for(var U=0;U<128;U++)z+=String.fromCharCode(U);$.chars=z+$.chars}this.decodeBuf=eP.from($.chars,"ucs2");var Q=eP.alloc(65536,Y.defaultCharSingleByte.charCodeAt(0));for(var U=0;U<$.chars.length;U++)Q[$.chars.charCodeAt(U)]=U;this.encodeBuf=Q}mp.prototype.encoder=lp;mp.prototype.decoder=op;function lp($,Y){this.encodeBuf=Y.encodeBuf}lp.prototype.write=function($){var Y=eP.alloc($.length);for(var z=0;z<$.length;z++)Y[z]=this.encodeBuf[$.charCodeAt(z)];return Y};lp.prototype.end=function(){};function op($,Y){this.decodeBuf=Y.decodeBuf}op.prototype.write=function($){var Y=this.decodeBuf,z=eP.alloc($.length*2),U=0,Q=0;for(var J=0;J<$.length;J++)U=$[J]*2,Q=J*2,z[Q]=Y[U],z[Q+1]=Y[U+1];return z.toString("ucs2")};op.prototype.end=function(){}});var JP0=E((T04,QP0)=>{QP0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var KP0=E((j04,IP0)=>{IP0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\x00ÚỤ\x03ỪỬỮ\x07\b \v\f\r\x0E\x0F\x10ỨỰỲỶỸÝỴ\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\x00\x01Ẳ\x03\x04ẴẪ\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13Ỷ\x15\x16\x17\x18Ỹ\x1A\x1B\x1C\x1DỴ\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},iso646jp:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b -\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}});var WP0=E((QB1)=>{var rp=g7().Buffer;QB1._dbcs=k7;var Y8=-1,GP0=-2,p$=-10,h8=-1000,KK=Array(256),hZ=-1;for(vZ=0;vZ<256;vZ++)KK[vZ]=Y8;var vZ;function k7($,Y){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var z=$.table();this.decodeTables=[],this.decodeTables[0]=KK.slice(0),this.decodeTableSeq=[];for(var U=0;Uh8)throw Error("gb18030 decode tables conflict at byte 2");var W=this.decodeTables[h8-K[G]];for(var H=129;H<=254;H++){if(W[H]===Y8)W[H]=h8-J;else if(W[H]===h8-J)continue;else if(W[H]>h8)throw Error("gb18030 decode tables conflict at byte 3");var X=this.decodeTables[h8-W[H]];for(var Z=48;Z<=57;Z++)if(X[Z]===Y8)X[Z]=GP0}}}}this.defaultCharUnicode=Y.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var q={};if($.encodeSkipVals)for(var U=0;U<$.encodeSkipVals.length;U++){var V=$.encodeSkipVals[U];if(typeof V==="number")q[V]=!0;else for(var G=V.from;G<=V.to;G++)q[G]=!0}if(this._fillEncodeTable(0,0,q),$.encodeAdd){for(var F in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,F))this._setEncodeChar(F.charCodeAt(0),$.encodeAdd[F])}if(this.defCharSB=this.encodeTable[0][Y.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===Y8)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===Y8)this.defCharSB=63}k7.prototype.encoder=tP;k7.prototype.decoder=sp;k7.prototype._getDecodeTrieNode=function($){var Y=[];for(;$>0;$>>>=8)Y.push($&255);if(Y.length==0)Y.push(0);var z=this.decodeTables[0];for(var U=Y.length-1;U>0;U--){var Q=z[Y[U]];if(Q==Y8)z[Y[U]]=h8-this.decodeTables.length,this.decodeTables.push(z=KK.slice(0));else if(Q<=h8)z=this.decodeTables[h8-Q];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return z};k7.prototype._addDecodeChunk=function($){var Y=parseInt($[0],16),z=this._getDecodeTrieNode(Y);Y=Y&255;for(var U=1;U<$.length;U++){var Q=$[U];if(typeof Q==="string")for(var J=0;J=55296&&I<56320){var K=Q.charCodeAt(J++);if(K>=56320&&K<57344)z[Y++]=65536+(I-55296)*1024+(K-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(I>4080&&I<=4095){var G=4095-I+2,W=[];for(var H=0;H255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+Y)};k7.prototype._getEncodeBucket=function($){var Y=$>>8;if(this.encodeTable[Y]===void 0)this.encodeTable[Y]=KK.slice(0);return this.encodeTable[Y]};k7.prototype._setEncodeChar=function($,Y){var z=this._getEncodeBucket($),U=$&255;if(z[U]<=p$)this.encodeTableSeq[p$-z[U]][hZ]=Y;else if(z[U]==Y8)z[U]=Y};k7.prototype._setEncodeSequence=function($,Y){var z=$[0],U=this._getEncodeBucket(z),Q=z&255,J;if(U[Q]<=p$)J=this.encodeTableSeq[p$-U[Q]];else{if(J={},U[Q]!==Y8)J[hZ]=U[Q];U[Q]=p$-this.encodeTableSeq.length,this.encodeTableSeq.push(J)}for(var I=1;I<$.length-1;I++){var K=J[z];if(typeof K==="object")J=K;else if(J=J[z]={},K!==void 0)J[hZ]=K}z=$[$.length-1],J[z]=Y};k7.prototype._fillEncodeTable=function($,Y,z){var U=this.decodeTables[$],Q=!1,J={};for(var I=0;I<256;I++){var K=U[I],G=Y+I;if(z[G])continue;if(K>=0)this._setEncodeChar(K,G),Q=!0;else if(K<=h8){var W=h8-K;if(!J[W]){var H=G<<8>>>0;if(this._fillEncodeTable(W,H,z))Q=!0;else J[W]=!0}}else if(K<=p$)this._setEncodeSequence(this.decodeTableSeq[p$-K],G),Q=!0}return Q};function tP($,Y){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=Y.encodeTable,this.encodeTableSeq=Y.encodeTableSeq,this.defaultCharSingleByte=Y.defCharSB,this.gb18030=Y.gb18030}tP.prototype.write=function($){var Y=rp.alloc($.length*(this.gb18030?4:3)),z=this.leadSurrogate,U=this.seqObj,Q=-1,J=0,I=0;while(!0){if(Q===-1){if(J==$.length)break;var K=$.charCodeAt(J++)}else{var K=Q;Q=-1}if(K>=55296&&K<57344)if(K<56320)if(z===-1){z=K;continue}else z=K,K=Y8;else if(z!==-1)K=65536+(z-55296)*1024+(K-56320),z=-1;else K=Y8;else if(z!==-1)Q=K,K=Y8,z=-1;var G=Y8;if(U!==void 0&&K!=Y8){var W=U[K];if(typeof W==="object"){U=W;continue}else if(typeof W==="number")G=W;else if(W==null){if(W=U[hZ],W!==void 0)G=W,Q=K}U=void 0}else if(K>=0){var H=this.encodeTable[K>>8];if(H!==void 0)G=H[K&255];if(G<=p$){U=this.encodeTableSeq[p$-G];continue}if(G==Y8&&this.gb18030){var X=ap(this.gb18030.uChars,K);if(X!=-1){var G=this.gb18030.gbChars[X]+(K-this.gb18030.uChars[X]);Y[I++]=129+Math.floor(G/12600),G=G%12600,Y[I++]=48+Math.floor(G/1260),G=G%1260,Y[I++]=129+Math.floor(G/10),G=G%10,Y[I++]=48+G;continue}}}if(G===Y8)G=this.defaultCharSingleByte;if(G<256)Y[I++]=G;else if(G<65536)Y[I++]=G>>8,Y[I++]=G&255;else if(G<16777216)Y[I++]=G>>16,Y[I++]=G>>8&255,Y[I++]=G&255;else Y[I++]=G>>>24,Y[I++]=G>>>16&255,Y[I++]=G>>>8&255,Y[I++]=G&255}return this.seqObj=U,this.leadSurrogate=z,Y.slice(0,I)};tP.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=rp.alloc(10),Y=0;if(this.seqObj){var z=this.seqObj[hZ];if(z!==void 0)if(z<256)$[Y++]=z;else $[Y++]=z>>8,$[Y++]=z&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[Y++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,Y)};tP.prototype.findIdx=ap;function sp($,Y){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=Y.decodeTables,this.decodeTableSeq=Y.decodeTableSeq,this.defaultCharUnicode=Y.defaultCharUnicode,this.gb18030=Y.gb18030}sp.prototype.write=function($){var Y=rp.alloc($.length*2),z=this.nodeIdx,U=this.prevBytes,Q=this.prevBytes.length,J=-this.prevBytes.length,I;for(var K=0,G=0;K<$.length;K++){var W=K>=0?$[K]:U[K+Q],I=this.decodeTables[z][W];if(I>=0);else if(I===Y8)I=this.defaultCharUnicode.charCodeAt(0),K=J;else if(I===GP0){if(K>=3)var H=($[K-3]-129)*12600+($[K-2]-48)*1260+($[K-1]-129)*10+(W-48);else var H=(U[K-3+Q]-129)*12600+((K-2>=0?$[K-2]:U[K-2+Q])-48)*1260+((K-1>=0?$[K-1]:U[K-1+Q])-129)*10+(W-48);var X=ap(this.gb18030.gbChars,H);I=this.gb18030.uChars[X]+H-this.gb18030.gbChars[X]}else if(I<=h8){z=h8-I;continue}else if(I<=p$){var Z=this.decodeTableSeq[p$-I];for(var q=0;q>8;I=Z[Z.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+I+" at "+z+"/"+W);if(I>=65536){I-=65536;var V=55296|I>>10;Y[G++]=V&255,Y[G++]=V>>8,I=56320|I&1023}Y[G++]=I&255,Y[G++]=I>>8,z=0,J=K+1}return this.nodeIdx=z,this.prevBytes=J>=0?Array.prototype.slice.call($,J):U.slice(J+Q).concat(Array.prototype.slice.call($)),Y.slice(0,G).toString("ucs2")};sp.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var Y=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,Y.length>0)$+=this.write(Y)}return this.prevBytes=[],this.nodeIdx=0,$};function ap($,Y){if($[0]>Y)return-1;var z=0,U=$.length;while(z>1);if($[Q]<=Y)z=Q;else U=Q}return z}});var HP0=E((T04,IB1)=>{IB1.exports=[["0","\x00",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]});var XP0=E((j04,KB1)=>{KB1.exports=[["0","\x00",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]});var eP=E((E04,GB1)=>{GB1.exports=[["0","\x00",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]});var tp=E((C04,WB1)=>{WB1.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]});var ZP0=E((R04,HB1)=>{HB1.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}});var qP0=E((_04,XB1)=>{XB1.exports=[["0","\x00",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]});var ep=E((v04,ZB1)=>{ZB1.exports=[["0","\x00",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]});var VP0=E((h04,qB1)=>{qB1.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]});var FP0=E((S04,LP0)=>{LP0.exports={shiftjis:{type:"_dbcs",table:function(){return HP0()},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return XP0()},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return eP()}},gbk:{type:"_dbcs",table:function(){return eP().concat(tp())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return eP().concat(tp())},gb18030:function(){return ZP0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return qP0()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return ep()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return ep().concat(VP0())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var OP0=E((MP0,gZ)=>{var VB1=Dp(),wP0=[oB0(),aB0(),$P0(),zP0(),UP0(),JP0(),KP0(),WP0(),FP0()];for(SZ=0;SZ{var NP0=g7().Buffer;DP0.exports=function($){var Y=$.Transform;function z(Q,J){this.conv=Q,J=J||{},J.decodeStrings=!1,Y.call(this,J)}z.prototype=Object.create(Y.prototype,{constructor:{value:z}}),z.prototype._transform=function(Q,J,I){if(typeof Q!=="string")return I(Error("Iconv encoding stream needs strings as its input."));try{var K=this.conv.write(Q);if(K&&K.length)this.push(K);I()}catch(G){I(G)}},z.prototype._flush=function(Q){try{var J=this.conv.end();if(J&&J.length)this.push(J);Q()}catch(I){Q(I)}},z.prototype.collect=function(Q){var J=[];return this.on("error",Q),this.on("data",function(I){J.push(I)}),this.on("end",function(){Q(null,NP0.concat(J))}),this};function U(Q,J){this.conv=Q,J=J||{},J.encoding=this.encoding="utf8",Y.call(this,J)}return U.prototype=Object.create(Y.prototype,{constructor:{value:U}}),U.prototype._transform=function(Q,J,I){if(!NP0.isBuffer(Q)&&!(Q instanceof Uint8Array))return I(Error("Iconv decoding stream needs buffers as its input."));try{var K=this.conv.write(Q);if(K&&K.length)this.push(K,this.encoding);I()}catch(G){I(G)}},U.prototype._flush=function(Q){try{var J=this.conv.end();if(J&&J.length)this.push(J,this.encoding);Q()}catch(I){Q(I)}},U.prototype.collect=function(Q){var J="";return this.on("error",Q),this.on("data",function(I){J+=I}),this.on("end",function(){Q(null,J)}),this},{IconvLiteEncoderStream:z,IconvLiteDecoderStream:U}}});var _P0=E((NB1,F1)=>{var PP0=g7().Buffer,AP0=dB0(),OB1=Dp();NB1.encodings=null;NB1.defaultCharUnicode="�";NB1.defaultCharSingleByte="?";NB1.encode=function(Y,z,U){Y=""+(Y||"");var Q=NB1.getEncoder(z,U),J=Q.write(Y),I=Q.end();return I&&I.length>0?PP0.concat([J,I]):J};NB1.decode=function(Y,z,U){if(typeof Y==="string"){if(!NB1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),NB1.skipDecodeWarning=!0;Y=PP0.from(""+(Y||""),"binary")}var Q=NB1.getDecoder(z,U),J=Q.write(Y),I=Q.end();return I?J+I:J};NB1.encodingExists=function(Y){try{return NB1.getCodec(Y),!0}catch(z){return!1}};NB1.toEncoding=NB1.encode;NB1.fromEncoding=NB1.decode;NB1._codecDataCache={__proto__:null};NB1.getCodec=function(Y){if(!NB1.encodings){var z=OP0();NB1.encodings={__proto__:null},OB1(NB1.encodings,z)}var U=NB1._canonicalizeEncoding(Y),Q={};while(!0){var J=NB1._codecDataCache[U];if(J)return J;var I=NB1.encodings[U];switch(typeof I){case"string":U=I;break;case"object":for(var K in I)Q[K]=I[K];if(!Q.encodingName)Q.encodingName=U;U=I.type;break;case"function":if(!Q.encodingName)Q.encodingName=U;return J=new I(Q,NB1),NB1._codecDataCache[Q.encodingName]=J,J;default:throw Error("Encoding not recognized: '"+Y+"' (searched as: '"+U+"')")}}};NB1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};NB1.getEncoder=function(Y,z){var U=NB1.getCodec(Y),Q=new U.encoder(z,U);if(U.bomAware&&z&&z.addBOM)Q=new AP0.PrependBOM(Q,z);return Q};NB1.getDecoder=function(Y,z){var U=NB1.getCodec(Y),Q=new U.decoder(z,U);if(U.bomAware&&!(z&&z.stripBOM===!1))Q=new AP0.StripBOM(Q,z);return Q};NB1.enableStreamingAPI=function(Y){if(NB1.supportsStreams)return;var z=BP0()(Y);NB1.IconvLiteEncoderStream=z.IconvLiteEncoderStream,NB1.IconvLiteDecoderStream=z.IconvLiteDecoderStream,NB1.encodeStream=function(Q,J){return new NB1.IconvLiteEncoderStream(NB1.getEncoder(Q,J),J)},NB1.decodeStream=function(Q,J){return new NB1.IconvLiteDecoderStream(NB1.getDecoder(Q,J),J)},NB1.supportsStreams=!0};var $A;try{$A=I0("stream")}catch($){}if($A&&$A.Transform)NB1.enableStreamingAPI($A);else NB1.encodeStream=NB1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});async function hP0($){return new Promise((Y,z)=>{Yd.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(U,Q)=>{if(U||!Q)return z(U??Error("无法打开 ZIP"));let J=[];Q.readEntry(),Q.on("entry",(I)=>{let K=SP0(I);if(!K.endsWith("/")&&!RB1(K))J.push({fileName:K,uncompressedSize:I.uncompressedSize,compressedSize:I.compressedSize,raw:I});Q.readEntry()}),Q.on("end",()=>Y(J)),Q.on("error",z)})})}function SP0($){let Y=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),z=Y.toString("utf8");if(!z.includes("�"))return z;let U=vP0.default.decode(Y,"gbk");if(!U.includes("�"))return U;return z}function RB1($){let Y=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||Y===".DS_Store"||Y.startsWith("._")||Y.startsWith(".~")||Y.startsWith("~$")}function gP0($,Y){let z=[],U=nQ(Y);if($.length>zA.maxEntries)z.push(`文件数超过 ${zA.maxEntries}`);if($.reduce((I,K)=>I+K.uncompressedSize,0)>zA.maxTotalSize)z.push("解压后总大小超过 500MB");for(let I of $){if(I.fileName.startsWith("/")||I.fileName.split("/").includes(".."))z.push(`存在不安全路径: ${I.fileName}`);if(I.compressedSize>0&&I.uncompressedSize/I.compressedSize>zA.maxCompressionRatio)z.push(`压缩比超过 150: ${I.fileName}`);if(I.fileName==="信息表.xlsx")continue;_B1(I,U,z)}if(!$.find((I)=>I.fileName==="信息表.xlsx"))z.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((I)=>I.fileName.toLowerCase().endsWith(".zip")))z.push("不允许嵌套 ZIP");if(z.length)throw new D5(z)}function _B1($,Y,z){let U=vB1($.fileName);if(!U||!Y.allowedExtensions.includes(U))z.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${Y.allowedExtensions.join(", ")})`);if($.uncompressedSizeY.maxFileSizeBytes)z.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${Y.maxFileSizeBytes} B)`)}function vB1($){let Y=$.split("/").pop()??$,z=Y.lastIndexOf(".");return z>0?Y.slice(z).toLowerCase():""}function zd($,Y){return new Promise((z,U)=>{Yd.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(Q,J)=>{if(Q||!J)return U(Q??Error("无法打开 ZIP"));J.readEntry(),J.on("entry",(I)=>{if(SP0(I)!==Y.fileName)return J.readEntry();J.openReadStream(I,(K,G)=>{if(K||!G)return U(K??Error(`无法读取 ${Y.fileName}`));let W=[];G.on("data",(H)=>W.push(H)),G.on("end",()=>z(Buffer.concat(W))),G.on("error",U)})}),J.on("error",U)})})}var Yd,vP0,zA;var Ud=o(()=>{tI();pQ();Yd=J6(cB0(),1),vP0=J6(_P0(),1),zA={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150}});function xP0($){return $.startsWith("[附件]")}function fP0($){return $.startsWith("[附件]")?$.slice(4):$}function hB1($){return fP0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function SB1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((Y)=>Y.trim()).filter(Boolean)}function Qd($,Y){let z=[];for(let[U,Q]of Y.entries()){if(!xP0(U))continue;let J=$.getCell(Q).value,I=SB1(J);if(!I.length)continue;z.push({key:hB1(U),label:fP0(U),paths:I})}return z}function Jd($){let Y=new Map;return $.map((z)=>{let U=(Y.get(z.key)??0)+1;return Y.set(z.key,U),U===1?z:{...z,key:`${z.key}-${U}`}})}function GK($,Y,z,U){return{key:$,label:Y,type:z,value:U}}function Id($,Y,z){return GK($,Y,"TEXT",z==null?"":String(z))}function uP0($,Y,z){return GK($,Y,"AMOUNT",typeof z==="number"?{amount:z,currency:"CNY"}:null)}function bP0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function gB1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let Y=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(Y))return Math.floor(Y/1000)}return null}function kZ($){let Y=new Map;return $.getRow(1).eachCell((z,U)=>Y.set(String(z.value??"").trim(),U)),Y}function WU($,Y,z){let U=Y.get(z);return U?$.getCell(U).value:void 0}function yB1($,Y){let z=[["会议编号","meeting_id","TEXT"],["会议名称","meeting_name","TEXT"],["状态","status","TEXT"],["总金额","total_amount","AMOUNT"],["税前劳务总额","pretax_labor_total","AMOUNT"],["报销事由","reimbursement_reason","TEXT"],["po码","po_code","TEXT"],["快递单号","tracking_number","TEXT"],["申请日期","application_date","DATE"],["更新日期","updated_date","DATE"]],U=new Set(z.map(([J])=>J)),Q=z.flatMap(([J,I,K])=>{let G=WU($,Y,J);if(G==null||G==="")return[];return[K==="TEXT"?Id(I,J,G):K==="AMOUNT"?uP0(I,J,G):GK(I,J,K,bP0(G))]});for(let[J,I]of Y.entries()){if(U.has(J)||xP0(J))continue;let K=$.getCell(I).value;if(K==null||K==="")continue;let G=J.toLowerCase().replace(/\s+/g,"_");if(typeof K==="number")Q.push(GK(G,J,"NUMBER",K));else if(K instanceof Date)Q.push(GK(G,J,"DATE",K.toISOString()));else Q.push(Id(G,J,String(K)))}return Q}function yP0($,Y,z){return z.flatMap(([U,Q,J])=>{let I=WU($,Y,U);if(I==null||I==="")return[];return[J==="TEXT"?Id(Q,U,I):J==="AMOUNT"?uP0(Q,U,I):GK(Q,U,J,bP0(I))]})}async function iP0($){let Y=new kP0.default.Workbook;if(await Y.xlsx.load(Buffer.from($)),!Y.worksheets.length)throw new D5(["信息表没有任何 Sheet"]);let z=Y.worksheets,U=z[0],Q=kZ(U),J=Q.get("会议编号")??1,I=(U.getRows(2,U.rowCount)??[]).filter((q)=>q.getCell(J).value!=null&&q.getCell(J).value!==""),K=new Set,G=z.find((q,V)=>V>0&&kZ(q).has("姓名")),W=z.find((q,V)=>V>0&&kZ(q).has("报销金额")),H=G?kZ(G):void 0,X=W?kZ(W):void 0;return I.map((q)=>{let V=String(q.getCell(J).value).trim();if(!V)throw new D5(["主表会议编号不能为空"]);if(K.has(V))throw new D5([`主表会议编号重复: ${V}`]);K.add(V);let F=WU(q,Q,"申请日期"),M=(G?.getRows(2,G.rowCount)??[]).filter((B)=>String(WU(B,H,"会议编号")??"").trim()===V),w=(W?.getRows(2,W.rowCount)??[]).filter((B)=>String(WU(B,X,"会议编号")??"").trim()===V),O=M.map((B)=>String(WU(B,H,"姓名")??"").trim()).filter(Boolean),D=Jd(Qd(q,Q)),N={};w.forEach((B,j)=>{let C=Jd(Qd(B,X));if(C.length)N[j]=C});let A={};M.forEach((B)=>{let j=String(WU(B,H,"姓名")??"").trim();if(!j)return;let C=Jd(Qd(B,H));if(C.length)A[j]=C});let T=yB1(q,Q);if(M.length)T.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:M.map((B)=>yP0(B,H,kB1))});if(w.length)T.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:w.map((B)=>yP0(B,X,xB1))});return{laborNames:O,documentAttachments:D,expenseAttachments:N,personAttachments:A,document:{type:"document",documentId:V,documentSN:V,startTime:gB1(F),fields:T}}})}var kP0,kB1,xB1;var Kd=o(()=>{tI();kP0=J6(PZ(),1);kB1=[["姓名","name","TEXT"],["身份证号码","id_number","TEXT"],["手机号","phone","TEXT"],["劳务费用","labor_fee","AMOUNT"],["税前费用","pretax_fee","AMOUNT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["联行号","bank_code","TEXT"],["银行卡号","bank_card_number","TEXT"]],xB1=[["报销金额","reimbursement_amount","AMOUNT"],["费用类型","expense_type","TEXT"],["发生时间","occurrence_time","DATE"],["收款人","payee","TEXT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["支行行号","branch_code","TEXT"],["银行卡号","bank_card_number","TEXT"],["费用说明","expense_description","TEXT"]]});function cP0($,Y){let z=[],U=new Map,Q=Y.map((I)=>{let{documentAttachments:K,expenseAttachments:G,personAttachments:W}=I,H=I.document.documentId,X=(Z,q)=>{let V=Z.split("/")[0],F=V.indexOf("@");if((F>=0?V.slice(0,F):V)!==H)z.push(`单据「${H}」声明了跨单据或非本单据目录的附件路径: ${Z}。附件必须位于该单据自己的根目录「${H}/」或「${H}@备注/」下。`);let w=U.get(Z);if(w)w.push({documentId:H,location:q});else U.set(Z,[{documentId:H,location:q}])};for(let Z of K)Z.paths.forEach((q)=>X(q,`主表 [附件]${Z.label}`));for(let[Z,q]of Object.entries(G)){let V=Number(Z)+1;for(let F of q)F.paths.forEach((M)=>X(M,`费用明细行 ${V} [附件]${F.label}`))}for(let[Z,q]of Object.entries(W))for(let V of q)V.paths.forEach((F)=>X(F,`劳务人员「${Z}」[附件]${V.label}`));return{documentId:H,categoryFields:K,expenseAttachments:G,personAttachments:W}});for(let[I,K]of U.entries())if(K.length>1){let G=K.map((W)=>`单据「${W.documentId}」的 ${W.location}`).join("、");z.push(`附件路径「${I}」被重复声明了 ${K.length} 次(出现在 ${G})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(z.length)throw new D5(z);return Q}let J=new Set($.map((I)=>I.fileName));for(let I of U.keys())if(!J.has(I))z.push(`Excel 声明的附件路径在 ZIP 中不存在: ${I}`);for(let I of $){if(I.fileName==="信息表.xlsx")continue;if(!U.has(I.fileName))z.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${I.fileName}`)}if(z.length)throw new D5(z);return Q}function Gd($,Y,z){let U=structuredClone($),Q=(K)=>{if(z.has(K))return z.get(K);return[{path:K,fileName:K.split("/").pop()??K}]};for(let K of Y.categoryFields){let G=K.paths.flatMap(Q);U.fields.push({key:K.key,label:K.label,type:"ATTACHMENT",value:G})}let J=U.fields.find((K)=>K.key==="daoshi_list"&&K.type==="LIST");if(J&&Array.isArray(J.value))for(let K of J.value){let G=K.find((W)=>W.key==="name")?.value;for(let W of Y.personAttachments[String(G)]??[])K.push({key:W.key,label:W.label,type:"ATTACHMENT",value:W.paths.flatMap(Q)})}let I=U.fields.find((K)=>K.key==="mingxi_list"&&K.type==="LIST");if(I&&Array.isArray(I.value))for(let K=0;K{tI()});function b2($,{checkOpen:Y=!0}={}){return $!==null&&typeof $==="object"&&($.writable||$.readable||!Y||$.writable===void 0&&$.readable===void 0)&&typeof $.pipe==="function"}var Hd=($,Y,z)=>{let U=$ instanceof RegExp?nP0($,z):$,Q=Y instanceof RegExp?nP0(Y,z):Y,J=U!==null&&Q!=null&&fB1(U,Q,z);return J&&{start:J[0],end:J[1],pre:z.slice(0,J[0]),body:z.slice(J[0]+U.length,J[1]),post:z.slice(J[1]+Q.length)}},nP0=($,Y)=>{let z=Y.match($);return z?z[0]:null},fB1=($,Y,z)=>{let U,Q,J,I=void 0,K,G=z.indexOf($),W=z.indexOf(Y,G+1),H=G;if(G>=0&&W>0){if($===Y)return[G,W];U=[],J=z.length;while(H>=0&&!K){if(H===G)U.push(H),G=z.indexOf($,H+1);else if(U.length===1){let X=U.pop();if(X!==void 0)K=[X,W]}else{if(Q=U.pop(),Q!==void 0&&Q=0?G:W}if(U.length&&I!==void 0)K=[J,I]}return K};function Xd($){return!isNaN($)?parseInt($,10):$.charCodeAt(0)}function aB1($){return $.replace(pB1,pP0).replace(dB1,dP0).replace(mB1,qd).replace(lB1,mP0).replace(oB1,lP0)}function tB1($){return $.replace(uB1,"\\").replace(bB1,"{").replace(iB1,"}").replace(cB1,",").replace(nB1,".")}function oP0($){if(!$)return[""];let Y=[],z=Hd("{","}",$);if(!z)return $.split(",");let{pre:U,body:Q,post:J}=z,I=U.split(",");I[I.length-1]+="{"+Q+"}";let K=oP0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function rP0($,Y={}){if(!$)return[];let{max:z=rB1,maxLength:U=sB1}=Y;if($.slice(0,2)==="{}")$="\\{\\}"+$.slice(2);return Zd(aB1($),z,U,!0).map(tB1)}function eB1($){return"{"+$+"}"}function $P1($){return/^-?0\d/.test($)}function YP1($,Y){return $<=Y}function zP1($,Y){return $>=Y}function xZ($,Y,z,U,Q,J){let I=[],K=0;for(let G=0;G<$.length;G++)for(let W=0;W=U)return I;let H=$[G]+Y+z[W];if(J&&!H)continue;if(K+H.length>Q)return I;I.push(H),K+=H.length}return I}function UP1($,Y,z,U){let Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;let I=Xd(Q[0]),K=Xd(Q[1]),G=Math.max(Q[0].length,Q[1].length),W=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Xd(Q[2])),1):1,H=YP1;if(K0){let w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>U)break;J.push(F),q+=F.length}return J}function Zd($,Y,z,U){let Q=[""],J=!1,I=!0;for(;;){let K=Hd("{","}",$);if(!K)return xZ(Q,$,[""],Y,z,J);let G=K.pre;if(/\$$/.test(G)){if(Q=xZ(Q,G+"{"+K.body+"}",[""],Y,z,J&&!K.post.length),I=!1,!K.post.length)break;$=K.post;continue}let W=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(K.body),H=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(K.body),X=W||H,Z=K.body.indexOf(",")>=0;if(!X&&!Z){if(K.post.match(/,(?!,).*\}/)){$=K.pre+"{"+K.body+qd+K.post,U=!0;continue}return xZ(Q,G+"{"+K.body+"}"+K.post,[""],Y,z,J)}if(I)J=U&&!X,I=!1;let q;if(X)q=UP1(K.body,H,Y,z);else{let V=oP0(K.body);if(V.length===1&&V[0]!==void 0){if(V=Zd(V[0],Y,z,!1).map(eB1),V.length===1){if(Q=xZ(Q,G+V[0],[""],Y,z,J&&!K.post.length),!K.post.length)break;$=K.post;continue}}let F=J&&!K.post.length&&!G;for(let w=0;F&&w=Y||M+N.length>z)break $;q.push(N),M+=N.length}}}if(Q=xZ(Q,G,q,Y,z,J&&!K.post.length),!K.post.length)break;$=K.post}return Q}var pP0,dP0,qd,mP0,lP0,uB1,bB1,iB1,cB1,nB1,pB1,dB1,mB1,lB1,oB1,rB1=1e5,sB1=4000000;var sP0=o(()=>{pP0="\x00SLASH"+Math.random()+"\x00",dP0="\x00OPEN"+Math.random()+"\x00",qd="\x00CLOSE"+Math.random()+"\x00",mP0="\x00COMMA"+Math.random()+"\x00",lP0="\x00PERIOD"+Math.random()+"\x00",uB1=new RegExp(pP0,"g"),bB1=new RegExp(dP0,"g"),iB1=new RegExp(qd,"g"),cB1=new RegExp(mP0,"g"),nB1=new RegExp(lP0,"g"),pB1=/\\\\/g,dB1=/\\{/g,mB1=/\\}/g,lB1=/\\,/g,oB1=/\\\./g});var fZ=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>65536)throw TypeError("pattern is too long")};var QP1,uZ=($)=>$.replace(/[[\]\\-]/g,"\\$&"),JP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),aP0=($)=>$.join(""),tP0=($,Y)=>{let z=Y;if($.charAt(z)!=="[")throw Error("not in a brace expression");let U=[],Q=[],J=z+1,I=!1,K=!1,G=!1,W=!1,H=z,X="";$:while(J<$.length){let F=$.charAt(J);if((F==="!"||F==="^")&&J===z+1){W=!0,J++;continue}if(F==="]"&&I&&!G){H=J+1;break}if(I=!0,F==="\\"){if(!G){G=!0,J++;continue}}if(F==="["&&!G){for(let[M,[w,O,D]]of Object.entries(QP1))if($.startsWith(M,J)){if(X)return["$.",!1,$.length-z,!0];if(J+=M.length,D)Q.push(w);else U.push(w);K=K||O;continue $}}if(G=!1,X){if(F>X)U.push(uZ(X)+"-"+uZ(F));else if(F===X)U.push(uZ(F));X="",J++;continue}if($.startsWith("-]",J+1)){U.push(uZ(F+"-")),J+=2;continue}if($.startsWith("-",J+1)){X=F,J+=2;continue}U.push(uZ(F)),J++}if(H{QP1={"[: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]}});var i2=($,{windowsPathsNoEscape:Y=!1,magicalBraces:z=!0}={})=>{if(z)return Y?$.replace(/\[([^/\\])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1");return Y?$.replace(/\[([^/\\{}])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1")};var t8,IP1,Vd=($)=>IP1.has($),$A0=($)=>Vd($.type),KP1,GP1,WP1,YA0,HP1="(?!(?:^|/)\\.\\.?(?:$|/))",UA="(?!\\.)",XP1,ZP1,qP1,VP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ld="[^/]",zA0,UA0,LP1=0,WK;var Fd=o(()=>{eP0();IP1=new Set(["!","?","+","*","@"]),KP1=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),GP1=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),WP1=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),YA0=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),XP1=new Set(["[","."]),ZP1=new Set(["..","."]),qP1=new Set("().*{}+?[]^$\\!"),zA0=Ld+"*?",UA0=Ld+"+?";WK=class WK{type;#U;#z;#Q=!1;#Y=[];#$;#H;#W;#X=!1;#J;#I;#Z=!1;id=++LP1;get depth(){return(this.#$?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#U.id,parent:this.#$?.id,depth:this.depth,partsLength:this.#Y.length,parts:this.#Y}}constructor($,Y,z={}){if(this.type=$,$)this.#z=!0;if(this.#$=Y,this.#U=this.#$?this.#$.#U:this,this.#J=this.#U===this?z:this.#U.#J,this.#W=this.#U===this?[]:this.#U.#W,$==="!"&&!this.#U.#X)this.#W.push(this);this.#H=this.#$?this.#$.#Y.length:0}get hasMagic(){if(this.#z!==void 0)return this.#z;for(let $ of this.#Y){if(typeof $==="string")continue;if($.type||$.hasMagic)return this.#z=!0}return this.#z}toString(){return this.#I!==void 0?this.#I:!this.type?this.#I=this.#Y.map(($)=>String($)).join(""):this.#I=this.type+"("+this.#Y.map(($)=>String($)).join("|")+")"}#N(){if(this!==this.#U)throw Error("should only call on root");if(this.#X)return this;this.toString(),this.#X=!0;let $;while($=this.#W.pop()){if($.type!=="!")continue;let Y=$,z=Y.#$;while(z){for(let U=Y.#H+1;!z.type&&Utypeof Y==="string"?Y:Y.toJSON()):[this.type,...this.#Y.map((Y)=>Y.toJSON())];if(this.isStart()&&!this.type)$.unshift([]);if(this.isEnd()&&(this===this.#U||this.#U.#X&&this.#$?.type==="!"))$.push({});return $}isStart(){if(this.#U===this)return!0;if(!this.#$?.isStart())return!1;if(this.#H===0)return!0;let $=this.#$;for(let Y=0;Ytypeof Z!=="string"),G=this.#Y.map((Z)=>{let[q,V,F,M]=typeof Z==="string"?t8.#q(Z,this.#z,K):Z.toRegExpSource($);return this.#z=this.#z||F,this.#Q=this.#Q||M,q}).join(""),W="";if(this.isStart()){if(typeof this.#Y[0]==="string"){if(!(this.#Y.length===1&&ZP1.has(this.#Y[0]))){let q=XP1,V=Y&&q.has(G.charAt(0))||G.startsWith("\\.")&&q.has(G.charAt(2))||G.startsWith("\\.\\.")&&q.has(G.charAt(4)),F=!Y&&!$&&q.has(G.charAt(0));W=V?HP1:F?UA:""}}}let H="";if(this.isEnd()&&this.#U.#X&&this.#$?.type==="!")H="(?:$|\\/)";return[W+G+H,i2(G),this.#z=!!this.#z,this.#Q]}let z=this.type==="*"||this.type==="+",U=this.type==="!"?"(?:(?!(?:":"(?:",Q=this.#w(Y);if(this.isStart()&&this.isEnd()&&!Q&&this.type!=="!"){let K=this.toString(),G=this;return G.#Y=[K],G.type=null,G.#z=void 0,[K,i2(this.toString()),!1,!1]}let J=!z||$||Y||!UA?"":this.#w(!0);if(J===Q)J="";if(J)Q=`(?:${Q})(?:${J})*?`;let I="";if(this.type==="!"&&this.#Z)I=(this.isStart()&&!Y?UA:"")+UA0;else{let K=this.type==="!"?"))"+(this.isStart()&&!Y&&!$?UA:"")+zA0+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&J?")":this.type==="*"&&J?")?":`)${this.type}`;I=U+Q+K}return[I,i2(Q),this.#z=!!this.#z,this.#Q]}#K(){if(!$A0(this)){for(let $ of this.#Y)if(typeof $==="object")$.#K()}else{let $=0,Y=!1;do{Y=!0;for(let z=0;z{if(typeof Y==="string")throw Error("string type in extglob ast??");let[z,U,Q,J]=Y.toRegExpSource($);return this.#Q=this.#Q||J,z}).filter((Y)=>!(this.isStart()&&this.isEnd())||!!Y).join("|")}static#q($,Y,z=!1){let U=!1,Q="",J=!1,I=!1;for(let K=0;K<$.length;K++){let G=$.charAt(K);if(U){U=!1,Q+=(qP1.has(G)?"\\":"")+G;continue}if(G==="*"){if(I)continue;I=!0,Q+=z&&/^[*]+$/.test($)?UA0:zA0,Y=!0;continue}else I=!1;if(G==="\\"){if(K===$.length-1)Q+="\\\\";else U=!0;continue}if(G==="["){let[W,H,X,Z]=tP0($,K);if(X){Q+=W,J=J||H,K+=X-1,Y=Y||Z;continue}}if(G==="?"){Q+=Ld,Y=!0;continue}Q+=VP1(G)}return[Q,i2($),!!Y,J]}};t8=WK});var wd=($,{windowsPathsNoEscape:Y=!1,magicalBraces:z=!1}={})=>{if(z)return Y?$.replace(/[?*()[\]{}]/g,"[$&]"):$.replace(/[?*()[\]\\{}]/g,"\\$&");return Y?$.replace(/[?*()[\]]/g,"[$&]"):$.replace(/[?*()[\]\\]/g,"\\$&")};class x7{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor($,Y={}){fZ($),Y=Y||{},this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion??200,this.pattern=$,this.platform=Y.platform||GA0,this.isWindows=this.platform==="win32";let z="allowWindowsEscape";if(this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y[z]===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Y.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Y.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Y.windowsNoMagicRoot!==void 0?Y.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 $ of this.set)for(let Y of $)if(typeof Y!=="string")return!0;return!1}debug(...$){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Y.debug)this.debug=(...Q)=>console.error(...Q);this.debug(this.pattern,this.globSet);let z=this.globSet.map((Q)=>this.slashSplit(Q));this.globParts=this.preprocess(z),this.debug(this.pattern,this.globParts);let U=this.globParts.map((Q,J,I)=>{if(this.isWindows&&this.windowsNoMagicRoot){let K=Q[0]===""&&Q[1]===""&&(Q[2]==="?"||!JA0.test(Q[2]))&&!JA0.test(Q[3]),G=/^[a-z]:/i.test(Q[0]);if(K)return[...Q.slice(0,4),...Q.slice(4).map((W)=>this.parse(W))];else if(G)return[Q[0],...Q.slice(1).map((W)=>this.parse(W))]}return Q.map((K)=>this.parse(K))});if(this.debug(this.pattern,U),this.set=U.filter((Q)=>Q.indexOf(!1)===-1),this.isWindows)for(let Q=0;Q=2)$=this.firstPhasePreProcess($),$=this.secondPhasePreProcess($);else if(Y>=1)$=this.levelOneOptimize($);else $=this.adjascentGlobstarOptimize($);return $}adjascentGlobstarOptimize($){return $.map((Y)=>{let z=-1;while((z=Y.indexOf("**",z+1))!==-1){let U=z;while(Y[U+1]==="**")U++;if(U!==z)Y.splice(z,U-z)}return Y})}levelOneOptimize($){return $.map((Y)=>{return Y=Y.reduce((z,U)=>{let Q=z[z.length-1];if(U==="**"&&Q==="**")return z;if(U===".."){if(Q&&Q!==".."&&Q!=="."&&Q!=="**")return z.pop(),z}return z.push(U),z},[]),Y.length===0?[""]:Y})}levelTwoFileOptimize($){if(!Array.isArray($))$=this.slashSplit($);let Y=!1;do{if(Y=!1,!this.preserveMultipleSlashes){for(let U=1;U<$.length-1;U++){let Q=$[U];if(U===1&&Q===""&&$[0]==="")continue;if(Q==="."||Q==="")Y=!0,$.splice(U,1),U--}if($[0]==="."&&$.length===2&&($[1]==="."||$[1]===""))Y=!0,$.pop()}let z=0;while((z=$.indexOf("..",z+1))!==-1){let U=$[z-1];if(U&&U!=="."&&U!==".."&&U!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(U)))Y=!0,$.splice(z-1,2),z-=2}}while(Y);return $.length===0?[""]:$}firstPhasePreProcess($){let Y=!1;do{Y=!1;for(let z of $){let U=-1;while((U=z.indexOf("**",U+1))!==-1){let J=U;while(z[J+1]==="**")J++;if(J>U)z.splice(U+1,J-U);let I=z[U+1],K=z[U+2],G=z[U+3];if(I!=="..")continue;if(!K||K==="."||K===".."||!G||G==="."||G==="..")continue;Y=!0,z.splice(U,1);let W=z.slice(0);W[U]="**",$.push(W),U--}if(!this.preserveMultipleSlashes){for(let J=1;JY.length)}partsMatch($,Y,z=!1){let U=0,Q=0,J=[],I="";while(U<$.length&&Q=2)$=this.levelTwoFileOptimize($);if(Y.includes(F8))return this.#U($,Y,z,U,Q);return this.#Q($,Y,z,U,Q)}#U($,Y,z,U,Q){let J=Y.indexOf(F8,Q),I=Y.lastIndexOf(F8),[K,G,W]=z?[Y.slice(Q,J),Y.slice(J+1),[]]:[Y.slice(Q,J),Y.slice(J+1,I),Y.slice(I+1)];if(K.length){let w=$.slice(U,U+K.length);if(!this.#Q(w,K,z,0,0))return!1;U+=K.length,Q+=K.length}let H=0;if(W.length){if(W.length+U>$.length)return!1;let w=$.length-W.length;if(this.#Q($,W,z,w,0))H=W.length;else{if($[$.length-1]!==""||U+W.length===$.length)return!1;if(w--,!this.#Q($,W,z,w,0))return!1;H=W.length+1}}if(!G.length){let w=!!H;for(let O=U;O<$.length-H;O++){let D=String($[O]);if(w=!0,D==="."||D===".."||!this.options.dot&&D.startsWith("."))return!1}return z||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===F8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-H;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this.#z($,X,U,0,z,0,!!H)}#z($,Y,z,U,Q,J,I){let K=Y[U];if(!K){for(let H=z;H<$.length;H++){I=!0;let X=$[H];if(X==="."||X===".."||!this.options.dot&&X.startsWith("."))return!1}return I}let[G,W]=K;while(z<=W){if(this.#Q($.slice(0,z+G.length),G,Q,z,0)&&J{let G=K.map((H)=>{if(H instanceof RegExp)for(let X of H.flags.split(""))U.add(X);return typeof H==="string"?nP1(H):H===F8?F8:H._src});G.forEach((H,X)=>{let Z=G[X+1],q=G[X-1];if(H!==F8||q===F8)return;if(q===void 0)if(Z!==void 0&&Z!==F8)G[X+1]="(?:\\/|"+z+"\\/)?"+Z;else G[X]=z;else if(Z===void 0)G[X-1]=q+"(?:\\/|\\/"+z+")?";else if(Z!==F8)G[X-1]=q+"(?:\\/|\\/"+z+"\\/)"+Z,G[X+1]=F8});let W=G.filter((H)=>H!==F8);if(this.partial&&W.length>=1){let H=[];for(let X=1;X<=W.length;X++)H.push(W.slice(0,X).join("/"));return"(?:"+H.join("|")+")"}return W.join("/")}).join("|"),[J,I]=$.length>1?["(?:",")"]:["",""];if(Q="^"+J+Q+I+"$",this.partial)Q="^(?:\\/|"+J+Q.slice(1,-1)+I+")$";if(this.negate)Q="^(?!"+Q+").+$";try{this.regexp=new RegExp(Q,[...U].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit($){if(this.preserveMultipleSlashes)return $.split("/");else if(this.isWindows&&/^\/\/[^/]+/.test($))return["",...$.split(/\/+/)];else return $.split(/\/+/)}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let z=this.options;if(this.isWindows)$=$.split("\\").join("/");let U=this.slashSplit($);this.debug(this.pattern,"split",U);let Q=this.set;this.debug(this.pattern,"set",Q);let J=U[U.length-1];if(!J)for(let I=U.length-2;!J&&I>=0;I--)J=U[I];for(let I of Q){let K=U;if(z.matchBase&&I.length===1)K=[J];if(this.matchOne(K,I,Y)){if(z.flipNegate)return!0;return!this.negate}}if(z.flipNegate)return!1;return this.negate}static defaults($){return S8.defaults($).Minimatch}}var S8=($,Y,z={})=>{if(fZ(Y),!z.nocomment&&Y.charAt(0)==="#")return!1;return new x7(Y,z).match($)},FP1,wP1=($)=>(Y)=>!Y.startsWith(".")&&Y.endsWith($),MP1=($)=>(Y)=>Y.endsWith($),OP1=($)=>{return $=$.toLowerCase(),(Y)=>!Y.startsWith(".")&&Y.toLowerCase().endsWith($)},NP1=($)=>{return $=$.toLowerCase(),(Y)=>Y.toLowerCase().endsWith($)},DP1,BP1=($)=>!$.startsWith(".")&&$.includes("."),PP1=($)=>$!=="."&&$!==".."&&$.includes("."),AP1,TP1=($)=>$!=="."&&$!==".."&&$.startsWith("."),jP1,EP1=($)=>$.length!==0&&!$.startsWith("."),CP1=($)=>$.length!==0&&$!=="."&&$!=="..",RP1,_P1=([$,Y=""])=>{let z=IA0([$]);if(!Y)return z;return Y=Y.toLowerCase(),(U)=>z(U)&&U.toLowerCase().endsWith(Y)},vP1=([$,Y=""])=>{let z=KA0([$]);if(!Y)return z;return Y=Y.toLowerCase(),(U)=>z(U)&&U.toLowerCase().endsWith(Y)},hP1=([$,Y=""])=>{let z=KA0([$]);return!Y?z:(U)=>z(U)&&U.endsWith(Y)},SP1=([$,Y=""])=>{let z=IA0([$]);return!Y?z:(U)=>z(U)&&U.endsWith(Y)},IA0=([$])=>{let Y=$.length;return(z)=>z.length===Y&&!z.startsWith(".")},KA0=([$])=>{let Y=$.length;return(z)=>z.length===Y&&z!=="."&&z!==".."},GA0,QA0,gP1,F8,yP1="[^/]",kP1,xP1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",fP1="(?:(?!(?:\\/|^)\\.).)*?",uP1=($,Y={})=>(z)=>S8(z,$,Y),d$=($,Y={})=>Object.assign({},$,Y),bP1=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return S8;let Y=S8;return Object.assign((U,Q,J={})=>Y(U,Q,d$($,J)),{Minimatch:class extends Y.Minimatch{constructor(Q,J={}){super(Q,d$($,J))}static defaults(Q){return Y.defaults(d$($,Q)).Minimatch}},AST:class extends Y.AST{constructor(Q,J,I={}){super(Q,J,d$($,I))}static fromGlob(Q,J={}){return Y.AST.fromGlob(Q,d$($,J))}},unescape:(U,Q={})=>Y.unescape(U,d$($,Q)),escape:(U,Q={})=>Y.escape(U,d$($,Q)),filter:(U,Q={})=>Y.filter(U,d$($,Q)),defaults:(U)=>Y.defaults(d$($,U)),makeRe:(U,Q={})=>Y.makeRe(U,d$($,Q)),braceExpand:(U,Q={})=>Y.braceExpand(U,d$($,Q)),match:(U,Q,J={})=>Y.match(U,Q,d$($,J)),sep:Y.sep,GLOBSTAR:F8})},WA0=($,Y={})=>{if(fZ($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return rP0($,{max:Y.braceExpandMax})},iP1=($,Y={})=>new x7($,Y).makeRe(),cP1=($,Y,z={})=>{let U=new x7(Y,z);if($=$.filter((Q)=>U.match(Q)),U.options.nonull&&!$.length)$.push(Y);return $},JA0,nP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var HA0=o(()=>{sP0();Fd();Fd();FP1=/^\*+([^+@!?*[(]*)$/,DP1=/^\*+\.\*+$/,AP1=/^\.\*+$/,jP1=/^\*+$/,RP1=/^\?+([^+@!?*[(]*)?$/,GA0=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",QA0={win32:{sep:"\\"},posix:{sep:"/"}},gP1=GA0==="win32"?QA0.win32.sep:QA0.posix.sep;S8.sep=gP1;F8=Symbol("globstar **");S8.GLOBSTAR=F8;kP1=yP1+"*?";S8.filter=uP1;S8.defaults=bP1;S8.braceExpand=WA0;S8.makeRe=iP1;S8.match=cP1;JA0=/[?*]|[+@!]\(.*?\)|\[|\]/;S8.AST=WK;S8.Minimatch=x7;S8.escape=wd;S8.unescape=i2});import*as HK from"fs";import{EventEmitter as pP1}from"events";import{resolve as dP1}from"path";function mP1($,Y){return new Promise((z,U)=>{HK.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)U(Q);else z([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":z([]);break;case"ELOOP":default:U(Q);break}else z(J)})})}function XA0($,Y){return new Promise((z)=>{(Y?HK.stat:HK.lstat)($,(Q,J)=>{if(Q)switch(Q.code){case"ENOENT":if(Y)z(XA0($,!1));else z(null);break;default:z(null);break}else z(J)})})}async function*ZA0($,Y,z,U,Q,J){let I=await mP1(Y+$,J);for(let K of I){let G=K.name,W=$+"/"+G,H=W.slice(1),X=Y+"/"+H,Z=K;if(U||z)Z=await XA0(X,z)??Z;if(Z.isDirectory()){if(!Q(H))yield{relative:H,absolute:X,stat:Z},yield*ZA0(W,Y,z,U,Q,!1)}else yield{relative:H,absolute:X,stat:Z}}}async function*lP1($,Y,z,U){yield*ZA0("",$,Y,z,U,!0)}function oP1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}var qA0,VA0=($,Y,z)=>new qA0($,Y,z),Md;var LA0=o(()=>{HA0();qA0=class extends pP1{options;matchers;ignoreMatchers;skipMatchers;paused;aborted;inactive;iterator;constructor($,Y,z){super();if(typeof Y==="function")z=Y,Y=void 0;if(this.options=oP1(Y||{}),this.matchers=[],this.options.pattern){let U=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=U.map((Q)=>new x7(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let U=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=U.map((Q)=>new x7(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let U=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=U.map((Q)=>new x7(Q,{dot:!0}))}if(this.iterator=lP1(dP1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,z){let U=z,Q=[];this.on("match",(J)=>Q.push(this.options.absolute?J.absolute:J.relative)),this.on("error",(J)=>U(J)),this.on("end",()=>U(null,Q))}setTimeout(()=>this._next())}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let z=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((U)=>U.match(z)))&&!this.ignoreMatchers.some((U)=>U.match(z))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stat.isDirectory();if(this._fileMatches($.value.relative,Y)){let z=$.value.relative,U=$.value.absolute;if(this.options.mark&&Y)z+="/",U+="/";if(this.options.stat)this.emit("match",{relative:z,absolute:U,stat:$.value.stat});else this.emit("match",{relative:z,absolute:U})}this._next()}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}};VA0.ReaddirGlob=qA0;Md=VA0});import rP1 from"util";function W6($,Y){Error.captureStackTrace(this,this.constructor),this.message=sP1[$]||$,this.code=$,this.data=Y}var sP1;var FA0=o(()=>{sP1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};rP1.inherits(W6,Error)});var x4=E((L14,MA0)=>{class wA0 extends Error{constructor($){if(!Array.isArray($))throw TypeError(`Expected input to be an Array, got ${typeof $}`);let Y="";for(let z=0;z<$.length;z++)Y+=` ${$[z].stack} -`;super(Y);this.name="AggregateError",this.errors=$}}MA0.exports={AggregateError:wA0,ArrayIsArray($){return Array.isArray($)},ArrayPrototypeIncludes($,Y){return $.includes(Y)},ArrayPrototypeIndexOf($,Y){return $.indexOf(Y)},ArrayPrototypeJoin($,Y){return $.join(Y)},ArrayPrototypeMap($,Y){return $.map(Y)},ArrayPrototypePop($,Y){return $.pop(Y)},ArrayPrototypePush($,Y){return $.push(Y)},ArrayPrototypeSlice($,Y,z){return $.slice(Y,z)},Error,FunctionPrototypeCall($,Y,...z){return $.call(Y,...z)},FunctionPrototypeSymbolHasInstance($,Y){return Function.prototype[Symbol.hasInstance].call($,Y)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties($,Y){return Object.defineProperties($,Y)},ObjectDefineProperty($,Y,z){return Object.defineProperty($,Y,z)},ObjectGetOwnPropertyDescriptor($,Y){return Object.getOwnPropertyDescriptor($,Y)},ObjectKeys($){return Object.keys($)},ObjectSetPrototypeOf($,Y){return Object.setPrototypeOf($,Y)},Promise,PromisePrototypeCatch($,Y){return $.catch(Y)},PromisePrototypeThen($,Y,z){return $.then(Y,z)},PromiseReject($){return Promise.reject($)},PromiseResolve($){return Promise.resolve($)},ReflectApply:Reflect.apply,RegExpPrototypeTest($,Y){return $.test(Y)},SafeSet:Set,String,StringPrototypeSlice($,Y,z){return $.slice(Y,z)},StringPrototypeToLowerCase($){return $.toLowerCase()},StringPrototypeToUpperCase($){return $.toUpperCase()},StringPrototypeTrim($){return $.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet($,Y,z){return $.set(Y,z)},Boolean,Uint8Array}});var Od=E((F14,OA0)=>{OA0.exports={format($,...Y){return $.replace(/%([sdifj])/g,function(...[z,U]){let Q=Y.shift();if(U==="f")return Q.toFixed(6);else if(U==="j")return JSON.stringify(Q);else if(U==="s"&&typeof Q==="object")return`${Q.constructor!==Object?Q.constructor.name:""} {}`.trim();else return Q.toString()})},inspect($){switch(typeof $){case"string":if($.includes("'")){if(!$.includes('"'))return`"${$}"`;else if(!$.includes("`")&&!$.includes("${"))return`\`${$}\``}return`'${$}'`;case"number":if(isNaN($))return"NaN";else if(Object.is($,-0))return String($);return $;case"bigint":return`${String($)}n`;case"boolean":case"undefined":return String($);case"object":return"{}"}}}});var w8=E((w14,PA0)=>{var{format:aP1,inspect:QA}=Od(),{AggregateError:tP1}=x4(),eP1=globalThis.AggregateError||tP1,$A1=Symbol("kIsNodeError"),YA1=["string","function","number","object","Function","Object","boolean","bigint","symbol"],zA1=/^([A-Z][a-z0-9]*)+$/,JA={};function HU($,Y){if(!$)throw new JA.ERR_INTERNAL_ASSERTION(Y)}function NA0($){let Y="",z=$.length,U=$[0]==="-"?1:0;for(;z>=U+4;z-=3)Y=`_${$.slice(z-3,z)}${Y}`;return`${$.slice(0,z)}${Y}`}function UA1($,Y,z){if(typeof Y==="function")return HU(Y.length<=z.length,`Code: ${$}; The provided arguments length (${z.length}) does not match the required ones (${Y.length}).`),Y(...z);let U=(Y.match(/%[dfijoOs]/g)||[]).length;if(HU(U===z.length,`Code: ${$}; The provided arguments length (${z.length}) does not match the required ones (${U}).`),z.length===0)return Y;return aP1(Y,...z)}function z8($,Y,z){if(!z)z=Error;class U extends z{constructor(...Q){super(UA1($,Y,Q))}toString(){return`${this.name} [${$}]: ${this.message}`}}Object.defineProperties(U.prototype,{name:{value:z.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${$}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),U.prototype.code=$,U.prototype[$A1]=!0,JA[$]=U}function DA0($){let Y="__node_internal_"+$.name;return Object.defineProperty($,"name",{value:Y}),$}function QA1($,Y){if($&&Y&&$!==Y){if(Array.isArray(Y.errors))return Y.errors.push($),Y;let z=new eP1([Y,$],Y.message);return z.code=Y.code,z}return $||Y}class BA0 extends Error{constructor($="The operation was aborted",Y=void 0){if(Y!==void 0&&typeof Y!=="object")throw new JA.ERR_INVALID_ARG_TYPE("options","Object",Y);super($,Y);this.code="ABORT_ERR",this.name="AbortError"}}z8("ERR_ASSERTION","%s",Error);z8("ERR_INVALID_ARG_TYPE",($,Y,z)=>{if(HU(typeof $==="string","'name' must be a string"),!Array.isArray(Y))Y=[Y];let U="The ";if($.endsWith(" argument"))U+=`${$} `;else U+=`"${$}" ${$.includes(".")?"property":"argument"} `;U+="must be ";let Q=[],J=[],I=[];for(let G of Y)if(HU(typeof G==="string","All expected entries have to be of type string"),YA1.includes(G))Q.push(G.toLowerCase());else if(zA1.test(G))J.push(G);else HU(G!=="object",'The value "object" should be written as "Object"'),I.push(G);if(J.length>0){let G=Q.indexOf("object");if(G!==-1)Q.splice(Q,G,1),J.push("Object")}if(Q.length>0){switch(Q.length){case 1:U+=`of type ${Q[0]}`;break;case 2:U+=`one of type ${Q[0]} or ${Q[1]}`;break;default:{let G=Q.pop();U+=`one of type ${Q.join(", ")}, or ${G}`}}if(J.length>0||I.length>0)U+=" or "}if(J.length>0){switch(J.length){case 1:U+=`an instance of ${J[0]}`;break;case 2:U+=`an instance of ${J[0]} or ${J[1]}`;break;default:{let G=J.pop();U+=`an instance of ${J.join(", ")}, or ${G}`}}if(I.length>0)U+=" or "}switch(I.length){case 0:break;case 1:if(I[0].toLowerCase()!==I[0])U+="an ";U+=`${I[0]}`;break;case 2:U+=`one of ${I[0]} or ${I[1]}`;break;default:{let G=I.pop();U+=`one of ${I.join(", ")}, or ${G}`}}if(z==null)U+=`. Received ${z}`;else if(typeof z==="function"&&z.name)U+=`. Received function ${z.name}`;else if(typeof z==="object"){var K;if((K=z.constructor)!==null&&K!==void 0&&K.name)U+=`. Received an instance of ${z.constructor.name}`;else{let G=QA(z,{depth:-1});U+=`. Received ${G}`}}else{let G=QA(z,{colors:!1});if(G.length>25)G=`${G.slice(0,25)}...`;U+=`. Received type ${typeof z} (${G})`}return U},TypeError);z8("ERR_INVALID_ARG_VALUE",($,Y,z="is invalid")=>{let U=QA(Y);if(U.length>128)U=U.slice(0,128)+"...";return`The ${$.includes(".")?"property":"argument"} '${$}' ${z}. Received ${U}`},TypeError);z8("ERR_INVALID_RETURN_VALUE",($,Y,z)=>{var U;let Q=z!==null&&z!==void 0&&(U=z.constructor)!==null&&U!==void 0&&U.name?`instance of ${z.constructor.name}`:`type ${typeof z}`;return`Expected ${$} to be returned from the "${Y}" function but got ${Q}.`},TypeError);z8("ERR_MISSING_ARGS",(...$)=>{HU($.length>0,"At least one arg needs to be specified");let Y,z=$.length;switch($=(Array.isArray($)?$:[$]).map((U)=>`"${U}"`).join(" or "),z){case 1:Y+=`The ${$[0]} argument`;break;case 2:Y+=`The ${$[0]} and ${$[1]} arguments`;break;default:{let U=$.pop();Y+=`The ${$.join(", ")}, and ${U} arguments`}break}return`${Y} must be specified`},TypeError);z8("ERR_OUT_OF_RANGE",($,Y,z)=>{HU(Y,'Missing "range" argument');let U;if(Number.isInteger(z)&&Math.abs(z)>4294967296)U=NA0(String(z));else if(typeof z==="bigint"){U=String(z);let Q=BigInt(2)**BigInt(32);if(z>Q||z<-Q)U=NA0(U);U+="n"}else U=QA(z);return`The value of "${$}" is out of range. It must be ${Y}. Received ${U}`},RangeError);z8("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);z8("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);z8("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);z8("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);z8("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);z8("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);z8("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);z8("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);z8("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);z8("ERR_STREAM_WRITE_AFTER_END","write after end",Error);z8("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);PA0.exports={AbortError:BA0,aggregateTwoErrors:DA0(QA1),hideStackFrames:DA0,codes:JA}});var gA0=E((SA0,iZ)=>{Object.defineProperty(SA0,"__esModule",{value:!0});var RA0=new WeakMap,Nd=new WeakMap;function v4($){let Y=RA0.get($);return console.assert(Y!=null,"'this' is expected an Event object, but got",$),Y}function AA0($){if($.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",$.passiveListener);return}if(!$.event.cancelable)return;if($.canceled=!0,typeof $.event.preventDefault==="function")$.event.preventDefault()}function XK($,Y){RA0.set(this,{eventTarget:$,event:Y,eventPhase:2,currentTarget:$,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:Y.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let z=Object.keys(Y);for(let U=0;U0){let $=Array(arguments.length);for(let Y=0;Y{Object.defineProperty(xA0,"__esModule",{value:!0});var Bd=gA0();class XU extends Bd.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let $=GA.get(this);if(typeof $!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return $}}Bd.defineEventAttribute(XU.prototype,"abort");function LA1(){let $=Object.create(XU.prototype);return Bd.EventTarget.call($),GA.set($,!1),$}function FA1($){if(GA.get($)!==!1)return;GA.set($,!0),$.dispatchEvent({type:"abort"})}var GA=new WeakMap;Object.defineProperties(XU.prototype,{aborted:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(XU.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class ZU{constructor(){kA0.set(this,LA1())}get signal(){return yA0(this)}abort(){FA1(yA0(this))}}var kA0=new WeakMap;function yA0($){let Y=kA0.get($);if(Y==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${$===null?"null":typeof $}`);return Y}Object.defineProperties(ZU.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(ZU.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});xA0.AbortController=ZU;xA0.AbortSignal=XU;xA0.default=ZU;cZ.exports=ZU;cZ.exports.AbortController=cZ.exports.default=ZU;cZ.exports.AbortSignal=XU});var g8=E((M14,Ad)=>{var NA1=I0("buffer"),{format:DA1,inspect:BA1}=Od(),{codes:{ERR_INVALID_ARG_TYPE:Pd}}=w8(),{kResistStopPropagation:PA1,AggregateError:AA1,SymbolDispose:TA1}=x4(),jA1=globalThis.AbortSignal||ZK().AbortSignal,EA1=globalThis.AbortController||ZK().AbortController,CA1=Object.getPrototypeOf(async function(){}).constructor,fA0=globalThis.Blob||NA1.Blob,RA1=typeof fA0<"u"?function(Y){return Y instanceof fA0}:function(Y){return!1},uA0=($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new Pd(Y,"AbortSignal",$)},_A1=($,Y)=>{if(typeof $!=="function")throw new Pd(Y,"Function",$)};Ad.exports={AggregateError:AA1,kEmptyObject:Object.freeze({}),once($){let Y=!1;return function(...z){if(Y)return;Y=!0,$.apply(this,z)}},createDeferredPromise:function(){let $,Y;return{promise:new Promise((U,Q)=>{$=U,Y=Q}),resolve:$,reject:Y}},promisify($){return new Promise((Y,z)=>{$((U,...Q)=>{if(U)return z(U);return Y(...Q)})})},debuglog(){return function(){}},format:DA1,inspect:BA1,types:{isAsyncFunction($){return $ instanceof CA1},isArrayBufferView($){return ArrayBuffer.isView($)}},isBlob:RA1,deprecate($,Y){return $},addAbortListener:I0("events").addAbortListener||function(Y,z){if(Y===void 0)throw new Pd("signal","AbortSignal",Y);uA0(Y,"signal"),_A1(z,"listener");let U;if(Y.aborted)queueMicrotask(()=>z());else Y.addEventListener("abort",z,{__proto__:null,once:!0,[PA1]:!0}),U=()=>{Y.removeEventListener("abort",z)};return{__proto__:null,[TA1](){var Q;(Q=U)===null||Q===void 0||Q()}}},AbortSignalAny:jA1.any||function(Y){if(Y.length===1)return Y[0];let z=new EA1,U=()=>z.abort();return Y.forEach((Q)=>{uA0(Q,"signals"),Q.addEventListener("abort",U,{once:!0})}),z.signal.addEventListener("abort",()=>{Y.forEach((Q)=>Q.removeEventListener("abort",U))},{once:!0}),z.signal}};Ad.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var VK=E((O14,rA0)=>{var{ArrayIsArray:jd,ArrayPrototypeIncludes:nA0,ArrayPrototypeJoin:pA0,ArrayPrototypeMap:vA1,NumberIsInteger:Ed,NumberIsNaN:hA1,NumberMAX_SAFE_INTEGER:SA1,NumberMIN_SAFE_INTEGER:gA1,NumberParseInt:yA1,ObjectPrototypeHasOwnProperty:kA1,RegExpPrototypeExec:dA0,String:xA1,StringPrototypeToUpperCase:fA1,StringPrototypeTrim:uA1}=x4(),{hideStackFrames:m$,codes:{ERR_SOCKET_BAD_PORT:bA1,ERR_INVALID_ARG_TYPE:M8,ERR_INVALID_ARG_VALUE:qK,ERR_OUT_OF_RANGE:qU,ERR_UNKNOWN_SIGNAL:bA0}}=w8(),{normalizeEncoding:iA1}=g8(),{isAsyncFunction:cA1,isArrayBufferView:nA1}=g8().types,iA0={};function pA1($){return $===($|0)}function dA1($){return $===$>>>0}var mA1=/^[0-7]+$/,lA1="must be a 32-bit unsigned integer or an octal string";function oA1($,Y,z){if(typeof $>"u")$=z;if(typeof $==="string"){if(dA0(mA1,$)===null)throw new qK(Y,$,lA1);$=yA1($,8)}return mA0($,Y),$}var rA1=m$(($,Y,z=gA1,U=SA1)=>{if(typeof $!=="number")throw new M8(Y,"number",$);if(!Ed($))throw new qU(Y,"an integer",$);if($U)throw new qU(Y,`>= ${z} && <= ${U}`,$)}),sA1=m$(($,Y,z=-2147483648,U=2147483647)=>{if(typeof $!=="number")throw new M8(Y,"number",$);if(!Ed($))throw new qU(Y,"an integer",$);if($U)throw new qU(Y,`>= ${z} && <= ${U}`,$)}),mA0=m$(($,Y,z=!1)=>{if(typeof $!=="number")throw new M8(Y,"number",$);if(!Ed($))throw new qU(Y,"an integer",$);let U=z?1:0,Q=4294967295;if($Q)throw new qU(Y,`>= ${U} && <= ${Q}`,$)});function Cd($,Y){if(typeof $!=="string")throw new M8(Y,"string",$)}function aA1($,Y,z=void 0,U){if(typeof $!=="number")throw new M8(Y,"number",$);if(z!=null&&$U||(z!=null||U!=null)&&hA1($))throw new qU(Y,`${z!=null?`>= ${z}`:""}${z!=null&&U!=null?" && ":""}${U!=null?`<= ${U}`:""}`,$)}var tA1=m$(($,Y,z)=>{if(!nA0(z,$)){let Q="must be one of: "+pA0(vA1(z,(J)=>typeof J==="string"?`'${J}'`:xA1(J)),", ");throw new qK(Y,$,Q)}});function lA0($,Y){if(typeof $!=="boolean")throw new M8(Y,"boolean",$)}function Td($,Y,z){return $==null||!kA1($,Y)?z:$[Y]}var eA1=m$(($,Y,z=null)=>{let U=Td(z,"allowArray",!1),Q=Td(z,"allowFunction",!1);if(!Td(z,"nullable",!1)&&$===null||!U&&jd($)||typeof $!=="object"&&(!Q||typeof $!=="function"))throw new M8(Y,"Object",$)}),$T1=m$(($,Y)=>{if($!=null&&typeof $!=="object"&&typeof $!=="function")throw new M8(Y,"a dictionary",$)}),WA=m$(($,Y,z=0)=>{if(!jd($))throw new M8(Y,"Array",$);if($.length{if(!nA1($))throw new M8(Y,["Buffer","TypedArray","DataView"],$)});function IT1($,Y){let z=iA1(Y),U=$.length;if(z==="hex"&&U%2!==0)throw new qK("encoding",Y,`is invalid for data of length ${U}`)}function KT1($,Y="Port",z=!0){if(typeof $!=="number"&&typeof $!=="string"||typeof $==="string"&&uA1($).length===0||+$!==+$>>>0||$>65535||$===0&&!z)throw new bA1(Y,$,z);return $|0}var oA0=m$(($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new M8(Y,"AbortSignal",$)}),GT1=m$(($,Y)=>{if(typeof $!=="function")throw new M8(Y,"Function",$)}),WT1=m$(($,Y)=>{if(typeof $!=="function"||cA1($))throw new M8(Y,"Function",$)}),HT1=m$(($,Y)=>{if($!==void 0)throw new M8(Y,"undefined",$)});function XT1($,Y,z){if(!nA0(z,$))throw new M8(Y,`('${pA0(z,"|")}')`,$)}var ZT1=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function cA0($,Y){if(typeof $>"u"||!dA0(ZT1,$))throw new qK(Y,$,'must be an array or string of format "; rel=preload; as=style"')}function qT1($){if(typeof $==="string")return cA0($,"hints"),$;else if(jd($)){let Y=$.length,z="";if(Y===0)return z;for(let U=0;U; rel=preload; as=style"')}rA0.exports={isInt32:pA1,isUint32:dA1,parseFileMode:oA1,validateArray:WA,validateStringArray:YT1,validateBooleanArray:zT1,validateAbortSignalArray:UT1,validateBoolean:lA0,validateBuffer:JT1,validateDictionary:$T1,validateEncoding:IT1,validateFunction:GT1,validateInt32:sA1,validateInteger:rA1,validateNumber:aA1,validateObject:eA1,validateOneOf:tA1,validatePlainFunction:WT1,validatePort:KT1,validateSignalName:QT1,validateString:Cd,validateUint32:mA0,validateUndefined:HT1,validateUnion:XT1,validateAbortSignal:oA0,validateLinkHeaderValue:qT1}});var c2=E((N14,sA0)=>{sA0.exports=global.process});var A9=E((D14,XT0)=>{var{SymbolAsyncIterator:aA0,SymbolIterator:tA0,SymbolFor:VU}=x4(),eA0=VU("nodejs.stream.destroyed"),$T0=VU("nodejs.stream.errored"),Rd=VU("nodejs.stream.readable"),_d=VU("nodejs.stream.writable"),YT0=VU("nodejs.stream.disturbed"),VT1=VU("nodejs.webstream.isClosedPromise"),LT1=VU("nodejs.webstream.controllerErrorFunction");function HA($,Y=!1){var z;return!!($&&typeof $.pipe==="function"&&typeof $.on==="function"&&(!Y||typeof $.pause==="function"&&typeof $.resume==="function")&&(!$._writableState||((z=$._readableState)===null||z===void 0?void 0:z.readable)!==!1)&&(!$._writableState||$._readableState))}function XA($){var Y;return!!($&&typeof $.write==="function"&&typeof $.on==="function"&&(!$._readableState||((Y=$._writableState)===null||Y===void 0?void 0:Y.writable)!==!1))}function FT1($){return!!($&&typeof $.pipe==="function"&&$._readableState&&typeof $.on==="function"&&typeof $.write==="function")}function P9($){return $&&($._readableState||$._writableState||typeof $.write==="function"&&typeof $.on==="function"||typeof $.pipe==="function"&&typeof $.on==="function")}function zT0($){return!!($&&!P9($)&&typeof $.pipeThrough==="function"&&typeof $.getReader==="function"&&typeof $.cancel==="function")}function UT0($){return!!($&&!P9($)&&typeof $.getWriter==="function"&&typeof $.abort==="function")}function QT0($){return!!($&&!P9($)&&typeof $.readable==="object"&&typeof $.writable==="object")}function wT1($){return zT0($)||UT0($)||QT0($)}function MT1($,Y){if($==null)return!1;if(Y===!0)return typeof $[aA0]==="function";if(Y===!1)return typeof $[tA0]==="function";return typeof $[aA0]==="function"||typeof $[tA0]==="function"}function ZA($){if(!P9($))return null;let{_writableState:Y,_readableState:z}=$,U=Y||z;return!!($.destroyed||$[eA0]||U!==null&&U!==void 0&&U.destroyed)}function JT0($){if(!XA($))return null;if($.writableEnded===!0)return!0;let Y=$._writableState;if(Y!==null&&Y!==void 0&&Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function OT1($,Y){if(!XA($))return null;if($.writableFinished===!0)return!0;let z=$._writableState;if(z!==null&&z!==void 0&&z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.finished)!=="boolean")return null;return!!(z.finished||Y===!1&&z.ended===!0&&z.length===0)}function NT1($){if(!HA($))return null;if($.readableEnded===!0)return!0;let Y=$._readableState;if(!Y||Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function IT0($,Y){if(!HA($))return null;let z=$._readableState;if(z!==null&&z!==void 0&&z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.endEmitted)!=="boolean")return null;return!!(z.endEmitted||Y===!1&&z.ended===!0&&z.length===0)}function KT0($){if($&&$[Rd]!=null)return $[Rd];if(typeof($===null||$===void 0?void 0:$.readable)!=="boolean")return null;if(ZA($))return!1;return HA($)&&$.readable&&!IT0($)}function GT0($){if($&&$[_d]!=null)return $[_d];if(typeof($===null||$===void 0?void 0:$.writable)!=="boolean")return null;if(ZA($))return!1;return XA($)&&$.writable&&!JT0($)}function DT1($,Y){if(!P9($))return null;if(ZA($))return!0;if((Y===null||Y===void 0?void 0:Y.readable)!==!1&&KT0($))return!1;if((Y===null||Y===void 0?void 0:Y.writable)!==!1&>0($))return!1;return!0}function BT1($){var Y,z;if(!P9($))return null;if($.writableErrored)return $.writableErrored;return(Y=(z=$._writableState)===null||z===void 0?void 0:z.errored)!==null&&Y!==void 0?Y:null}function PT1($){var Y,z;if(!P9($))return null;if($.readableErrored)return $.readableErrored;return(Y=(z=$._readableState)===null||z===void 0?void 0:z.errored)!==null&&Y!==void 0?Y:null}function AT1($){if(!P9($))return null;if(typeof $.closed==="boolean")return $.closed;let{_writableState:Y,_readableState:z}=$;if(typeof(Y===null||Y===void 0?void 0:Y.closed)==="boolean"||typeof(z===null||z===void 0?void 0:z.closed)==="boolean")return(Y===null||Y===void 0?void 0:Y.closed)||(z===null||z===void 0?void 0:z.closed);if(typeof $._closed==="boolean"&&WT0($))return $._closed;return null}function WT0($){return typeof $._closed==="boolean"&&typeof $._defaultKeepAlive==="boolean"&&typeof $._removedConnection==="boolean"&&typeof $._removedContLen==="boolean"}function HT0($){return typeof $._sent100==="boolean"&&WT0($)}function TT1($){var Y;return typeof $._consuming==="boolean"&&typeof $._dumped==="boolean"&&((Y=$.req)===null||Y===void 0?void 0:Y.upgradeOrConnect)===void 0}function jT1($){if(!P9($))return null;let{_writableState:Y,_readableState:z}=$,U=Y||z;return!U&&HT0($)||!!(U&&U.autoDestroy&&U.emitClose&&U.closed===!1)}function ET1($){var Y;return!!($&&((Y=$[YT0])!==null&&Y!==void 0?Y:$.readableDidRead||$.readableAborted))}function CT1($){var Y,z,U,Q,J,I,K,G,W,H;return!!($&&((Y=(z=(U=(Q=(J=(I=$[$T0])!==null&&I!==void 0?I:$.readableErrored)!==null&&J!==void 0?J:$.writableErrored)!==null&&Q!==void 0?Q:(K=$._readableState)===null||K===void 0?void 0:K.errorEmitted)!==null&&U!==void 0?U:(G=$._writableState)===null||G===void 0?void 0:G.errorEmitted)!==null&&z!==void 0?z:(W=$._readableState)===null||W===void 0?void 0:W.errored)!==null&&Y!==void 0?Y:(H=$._writableState)===null||H===void 0?void 0:H.errored))}XT0.exports={isDestroyed:ZA,kIsDestroyed:eA0,isDisturbed:ET1,kIsDisturbed:YT0,isErrored:CT1,kIsErrored:$T0,isReadable:KT0,kIsReadable:Rd,kIsClosedPromise:VT1,kControllerErrorFunction:LT1,kIsWritable:_d,isClosed:AT1,isDuplexNodeStream:FT1,isFinished:DT1,isIterable:MT1,isReadableNodeStream:HA,isReadableStream:zT0,isReadableEnded:NT1,isReadableFinished:IT0,isReadableErrored:PT1,isNodeStream:P9,isWebStream:wT1,isWritable:GT0,isWritableNodeStream:XA,isWritableStream:UT0,isWritableEnded:JT0,isWritableFinished:OT1,isWritableErrored:BT1,isServerRequest:TT1,isServerResponse:HT0,willEmitClose:jT1,isTransformStream:QT0}});var f7=E((B14,yd)=>{var n2=c2(),{AbortError:NT0,codes:RT1}=w8(),{ERR_INVALID_ARG_TYPE:_T1,ERR_STREAM_PREMATURE_CLOSE:ZT0}=RT1,{kEmptyObject:hd,once:Sd}=g8(),{validateAbortSignal:vT1,validateFunction:hT1,validateObject:ST1,validateBoolean:gT1}=VK(),{Promise:yT1,PromisePrototypeThen:kT1,SymbolDispose:DT0}=x4(),{isClosed:xT1,isReadable:qT0,isReadableNodeStream:vd,isReadableStream:fT1,isReadableFinished:VT0,isReadableErrored:LT0,isWritable:FT0,isWritableNodeStream:wT0,isWritableStream:uT1,isWritableFinished:MT0,isWritableErrored:OT0,isNodeStream:bT1,willEmitClose:iT1,kIsClosedPromise:cT1}=A9(),LK;function nT1($){return $.setHeader&&typeof $.abort==="function"}var gd=()=>{};function BT0($,Y,z){var U,Q;if(arguments.length===2)z=Y,Y=hd;else if(Y==null)Y=hd;else ST1(Y,"options");if(hT1(z,"callback"),vT1(Y.signal,"options.signal"),z=Sd(z),fT1($)||uT1($))return pT1($,Y,z);if(!bT1($))throw new _T1("stream",["ReadableStream","WritableStream","Stream"],$);let J=(U=Y.readable)!==null&&U!==void 0?U:vd($),I=(Q=Y.writable)!==null&&Q!==void 0?Q:wT0($),K=$._writableState,G=$._readableState,W=()=>{if(!$.writable)Z()},H=iT1($)&&vd($)===J&&wT0($)===I,X=MT0($,!1),Z=()=>{if(X=!0,$.destroyed)H=!1;if(H&&(!$.readable||J))return;if(!J||q)z.call($)},q=VT0($,!1),V=()=>{if(q=!0,$.destroyed)H=!1;if(H&&(!$.writable||I))return;if(!I||X)z.call($)},F=(A)=>{z.call($,A)},M=xT1($),w=()=>{M=!0;let A=OT0($)||LT0($);if(A&&typeof A!=="boolean")return z.call($,A);if(J&&!q&&vd($,!0)){if(!VT0($,!1))return z.call($,new ZT0)}if(I&&!X){if(!MT0($,!1))return z.call($,new ZT0)}z.call($)},O=()=>{M=!0;let A=OT0($)||LT0($);if(A&&typeof A!=="boolean")return z.call($,A);z.call($)},D=()=>{$.req.on("finish",Z)};if(nT1($)){if($.on("complete",Z),!H)$.on("abort",w);if($.req)D();else $.on("request",D)}else if(I&&!K)$.on("end",W),$.on("close",W);if(!H&&typeof $.aborted==="boolean")$.on("aborted",w);if($.on("end",V),$.on("finish",Z),Y.error!==!1)$.on("error",F);if($.on("close",w),M)n2.nextTick(w);else if(K!==null&&K!==void 0&&K.errorEmitted||G!==null&&G!==void 0&&G.errorEmitted){if(!H)n2.nextTick(O)}else if(!J&&(!H||qT0($))&&(X||FT0($)===!1))n2.nextTick(O);else if(!I&&(!H||FT0($))&&(q||qT0($)===!1))n2.nextTick(O);else if(G&&$.req&&$.aborted)n2.nextTick(O);let N=()=>{if(z=gd,$.removeListener("aborted",w),$.removeListener("complete",Z),$.removeListener("abort",w),$.removeListener("request",D),$.req)$.req.removeListener("finish",Z);$.removeListener("end",W),$.removeListener("close",W),$.removeListener("finish",Z),$.removeListener("end",V),$.removeListener("error",F),$.removeListener("close",w)};if(Y.signal&&!M){let A=()=>{let T=z;N(),T.call($,new NT0(void 0,{cause:Y.signal.reason}))};if(Y.signal.aborted)n2.nextTick(A);else{LK=LK||g8().addAbortListener;let T=LK(Y.signal,A),B=z;z=Sd((...j)=>{T[DT0](),B.apply($,j)})}}return N}function pT1($,Y,z){let U=!1,Q=gd;if(Y.signal)if(Q=()=>{U=!0,z.call($,new NT0(void 0,{cause:Y.signal.reason}))},Y.signal.aborted)n2.nextTick(Q);else{LK=LK||g8().addAbortListener;let I=LK(Y.signal,Q),K=z;z=Sd((...G)=>{I[DT0](),K.apply($,G)})}let J=(...I)=>{if(!U)n2.nextTick(()=>z.apply($,I))};return kT1($[cT1].promise,J,J),gd}function dT1($,Y){var z;let U=!1;if(Y===null)Y=hd;if((z=Y)!==null&&z!==void 0&&z.cleanup)gT1(Y.cleanup,"cleanup"),U=Y.cleanup;return new yT1((Q,J)=>{let I=BT0($,Y,(K)=>{if(U)I();if(K)J(K);else Q()})})}yd.exports=BT0;yd.exports.finished=dT1});var LU=E((P14,_T0)=>{var T9=c2(),{aggregateTwoErrors:mT1,codes:{ERR_MULTIPLE_CALLBACK:lT1},AbortError:oT1}=w8(),{Symbol:TT0}=x4(),{kIsDestroyed:rT1,isDestroyed:sT1,isFinished:aT1,isServerRequest:tT1}=A9(),jT0=TT0("kDestroy"),kd=TT0("kConstruct");function ET0($,Y,z){if($){if($.stack,Y&&!Y.errored)Y.errored=$;if(z&&!z.errored)z.errored=$}}function eT1($,Y){let z=this._readableState,U=this._writableState,Q=U||z;if(U!==null&&U!==void 0&&U.destroyed||z!==null&&z!==void 0&&z.destroyed){if(typeof Y==="function")Y();return this}if(ET0($,U,z),U)U.destroyed=!0;if(z)z.destroyed=!0;if(!Q.constructed)this.once(jT0,function(J){PT0(this,mT1(J,$),Y)});else PT0(this,$,Y);return this}function PT0($,Y,z){let U=!1;function Q(J){if(U)return;U=!0;let{_readableState:I,_writableState:K}=$;if(ET0(J,K,I),K)K.closed=!0;if(I)I.closed=!0;if(typeof z==="function")z(J);if(J)T9.nextTick($j1,$,J);else T9.nextTick(CT0,$)}try{$._destroy(Y||null,Q)}catch(J){Q(J)}}function $j1($,Y){xd($,Y),CT0($)}function CT0($){let{_readableState:Y,_writableState:z}=$;if(z)z.closeEmitted=!0;if(Y)Y.closeEmitted=!0;if(z!==null&&z!==void 0&&z.emitClose||Y!==null&&Y!==void 0&&Y.emitClose)$.emit("close")}function xd($,Y){let{_readableState:z,_writableState:U}=$;if(U!==null&&U!==void 0&&U.errorEmitted||z!==null&&z!==void 0&&z.errorEmitted)return;if(U)U.errorEmitted=!0;if(z)z.errorEmitted=!0;$.emit("error",Y)}function Yj1(){let $=this._readableState,Y=this._writableState;if($)$.constructed=!0,$.closed=!1,$.closeEmitted=!1,$.destroyed=!1,$.errored=null,$.errorEmitted=!1,$.reading=!1,$.ended=$.readable===!1,$.endEmitted=$.readable===!1;if(Y)Y.constructed=!0,Y.destroyed=!1,Y.closed=!1,Y.closeEmitted=!1,Y.errored=null,Y.errorEmitted=!1,Y.finalCalled=!1,Y.prefinished=!1,Y.ended=Y.writable===!1,Y.ending=Y.writable===!1,Y.finished=Y.writable===!1}function fd($,Y,z){let{_readableState:U,_writableState:Q}=$;if(Q!==null&&Q!==void 0&&Q.destroyed||U!==null&&U!==void 0&&U.destroyed)return this;if(U!==null&&U!==void 0&&U.autoDestroy||Q!==null&&Q!==void 0&&Q.autoDestroy)$.destroy(Y);else if(Y){if(Y.stack,Q&&!Q.errored)Q.errored=Y;if(U&&!U.errored)U.errored=Y;if(z)T9.nextTick(xd,$,Y);else xd($,Y)}}function zj1($,Y){if(typeof $._construct!=="function")return;let{_readableState:z,_writableState:U}=$;if(z)z.constructed=!1;if(U)U.constructed=!1;if($.once(kd,Y),$.listenerCount(kd)>1)return;T9.nextTick(Uj1,$)}function Uj1($){let Y=!1;function z(U){if(Y){fd($,U!==null&&U!==void 0?U:new lT1);return}Y=!0;let{_readableState:Q,_writableState:J}=$,I=J||Q;if(Q)Q.constructed=!0;if(J)J.constructed=!0;if(I.destroyed)$.emit(jT0,U);else if(U)fd($,U,!0);else T9.nextTick(Qj1,$)}try{$._construct((U)=>{T9.nextTick(z,U)})}catch(U){T9.nextTick(z,U)}}function Qj1($){$.emit(kd)}function AT0($){return($===null||$===void 0?void 0:$.setHeader)&&typeof $.abort==="function"}function RT0($){$.emit("close")}function Jj1($,Y){$.emit("error",Y),T9.nextTick(RT0,$)}function Ij1($,Y){if(!$||sT1($))return;if(!Y&&!aT1($))Y=new oT1;if(tT1($))$.socket=null,$.destroy(Y);else if(AT0($))$.abort();else if(AT0($.req))$.req.abort();else if(typeof $.destroy==="function")$.destroy(Y);else if(typeof $.close==="function")$.close();else if(Y)T9.nextTick(Jj1,$,Y);else T9.nextTick(RT0,$);if(!$.destroyed)$[rT1]=!0}_T0.exports={construct:zj1,destroyer:Ij1,destroy:eT1,undestroy:Yj1,errorOrDestroy:fd}});var LA=E((A14,hT0)=>{var{ArrayIsArray:Kj1,ObjectSetPrototypeOf:vT0}=x4(),{EventEmitter:qA}=I0("events");function VA($){qA.call(this,$)}vT0(VA.prototype,qA.prototype);vT0(VA,qA);VA.prototype.pipe=function($,Y){let z=this;function U(H){if($.writable&&$.write(H)===!1&&z.pause)z.pause()}z.on("data",U);function Q(){if(z.readable&&z.resume)z.resume()}if($.on("drain",Q),!$._isStdio&&(!Y||Y.end!==!1))z.on("end",I),z.on("close",K);let J=!1;function I(){if(J)return;J=!0,$.end()}function K(){if(J)return;if(J=!0,typeof $.destroy==="function")$.destroy()}function G(H){if(W(),qA.listenerCount(this,"error")===0)this.emit("error",H)}ud(z,"error",G),ud($,"error",G);function W(){z.removeListener("data",U),$.removeListener("drain",Q),z.removeListener("end",I),z.removeListener("close",K),z.removeListener("error",G),$.removeListener("error",G),z.removeListener("end",W),z.removeListener("close",W),$.removeListener("close",W)}return z.on("end",W),z.on("close",W),$.on("close",W),$.emit("pipe",z),$};function ud($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(Kj1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}hT0.exports={Stream:VA,prependListener:ud}});var nZ=E((Vj1,FA)=>{var{SymbolDispose:Gj1}=x4(),{AbortError:ST0,codes:Wj1}=w8(),{isNodeStream:gT0,isWebStream:Hj1,kControllerErrorFunction:Xj1}=A9(),Zj1=f7(),{ERR_INVALID_ARG_TYPE:yT0}=Wj1,bd,qj1=($,Y)=>{if(typeof $!=="object"||!("aborted"in $))throw new yT0(Y,"AbortSignal",$)};Vj1.addAbortSignal=function(Y,z){if(qj1(Y,"signal"),!gT0(z)&&!Hj1(z))throw new yT0("stream",["ReadableStream","WritableStream","Stream"],z);return Vj1.addAbortSignalNoValidate(Y,z)};Vj1.addAbortSignalNoValidate=function($,Y){if(typeof $!=="object"||!("aborted"in $))return Y;let z=gT0(Y)?()=>{Y.destroy(new ST0(void 0,{cause:$.reason}))}:()=>{Y[Xj1](new ST0(void 0,{cause:$.reason}))};if($.aborted)z();else{bd=bd||g8().addAbortListener;let U=bd($,z);Zj1(Y,U[Gj1])}return Y}});var fT0=E((T14,xT0)=>{var{StringPrototypeSlice:kT0,SymbolIterator:wj1,TypedArrayPrototypeSet:wA,Uint8Array:Mj1}=x4(),{Buffer:id}=I0("buffer"),{inspect:Oj1}=g8();xT0.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(Y){let z={data:Y,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}unshift(Y){let z={data:Y,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}shift(){if(this.length===0)return;let Y=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,Y}clear(){this.head=this.tail=null,this.length=0}join(Y){if(this.length===0)return"";let z=this.head,U=""+z.data;while((z=z.next)!==null)U+=Y+z.data;return U}concat(Y){if(this.length===0)return id.alloc(0);let z=id.allocUnsafe(Y>>>0),U=this.head,Q=0;while(U)wA(z,U.data,Q),Q+=U.data.length,U=U.next;return z}consume(Y,z){let U=this.head.data;if(YJ.length)z+=J,Y-=J.length;else{if(Y===J.length)if(z+=J,++Q,U.next)this.head=U.next;else this.head=this.tail=null;else z+=kT0(J,0,Y),this.head=U,U.data=kT0(J,Y);break}++Q}while((U=U.next)!==null);return this.length-=Q,z}_getBuffer(Y){let z=id.allocUnsafe(Y),U=Y,Q=this.head,J=0;do{let I=Q.data;if(Y>I.length)wA(z,I,U-Y),Y-=I.length;else{if(Y===I.length)if(wA(z,I,U-Y),++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else wA(z,new Mj1(I.buffer,I.byteOffset,Y),U-Y),this.head=Q,Q.data=I.slice(Y);break}++J}while((Q=Q.next)!==null);return this.length-=J,z}[Symbol.for("nodejs.util.inspect.custom")](Y,z){return Oj1(this,{...z,depth:0,customInspect:!1})}}});var pZ=E((j14,cT0)=>{var{MathFloor:Nj1,NumberIsInteger:Dj1}=x4(),{validateInteger:Bj1}=VK(),{ERR_INVALID_ARG_VALUE:Pj1}=w8().codes,uT0=16384,bT0=16;function Aj1($,Y,z){return $.highWaterMark!=null?$.highWaterMark:Y?$[z]:null}function iT0($){return $?bT0:uT0}function Tj1($,Y){if(Bj1(Y,"value",0),$)bT0=Y;else uT0=Y}function jj1($,Y,z,U){let Q=Aj1(Y,U,z);if(Q!=null){if(!Dj1(Q)||Q<0){let J=U?`options.${z}`:"options.highWaterMark";throw new Pj1(J,Q)}return Nj1(Q)}return iT0($.objectMode)}cT0.exports={getHighWaterMark:jj1,getDefaultHighWaterMark:iT0,setDefaultHighWaterMark:Tj1}});var cd=E((E14,mT0)=>{var nT0=c2(),{PromisePrototypeThen:Ej1,SymbolAsyncIterator:pT0,SymbolIterator:dT0}=x4(),{Buffer:Cj1}=I0("buffer"),{ERR_INVALID_ARG_TYPE:Rj1,ERR_STREAM_NULL_VALUES:_j1}=w8().codes;function vj1($,Y,z){let U;if(typeof Y==="string"||Y instanceof Cj1)return new $({objectMode:!0,...z,read(){this.push(Y),this.push(null)}});let Q;if(Y&&Y[pT0])Q=!0,U=Y[pT0]();else if(Y&&Y[dT0])Q=!1,U=Y[dT0]();else throw new Rj1("iterable",["Iterable"],Y);let J=new $({objectMode:!0,highWaterMark:1,...z}),I=!1;J._read=function(){if(!I)I=!0,G()},J._destroy=function(W,H){Ej1(K(W),()=>nT0.nextTick(H,W),(X)=>nT0.nextTick(H,X||W))};async function K(W){let H=W!==void 0&&W!==null,X=typeof U.throw==="function";if(H&&X){let{value:Z,done:q}=await U.throw(W);if(await Z,q)return}if(typeof U.return==="function"){let{value:Z}=await U.return();await Z}}async function G(){for(;;){try{let{value:W,done:H}=Q?await U.next():U.next();if(H)J.push(null);else{let X=W&&typeof W.then==="function"?await W:W;if(X===null)throw I=!1,new _j1;else if(J.push(X))continue;else I=!1}}catch(W){J.destroy(W)}break}}return J}mT0.exports=vj1});var mZ=E((C14,Hj0)=>{var P5=c2(),{ArrayPrototypeIndexOf:hj1,NumberIsInteger:Sj1,NumberIsNaN:gj1,NumberParseInt:yj1,ObjectDefineProperties:sd,ObjectKeys:kj1,ObjectSetPrototypeOf:rT0,Promise:sT0,SafeSet:xj1,SymbolAsyncDispose:fj1,SymbolAsyncIterator:uj1,Symbol:bj1}=x4();Hj0.exports=A1;A1.ReadableState=DA;var{EventEmitter:ij1}=I0("events"),{Stream:p2,prependListener:cj1}=LA(),{Buffer:nd}=I0("buffer"),{addAbortSignal:nj1}=nZ(),aT0=f7(),y1=g8().debuglog("stream",($)=>{y1=$}),pj1=fT0(),MK=LU(),{getHighWaterMark:dj1,getDefaultHighWaterMark:mj1}=pZ(),{aggregateTwoErrors:lT0,codes:{ERR_INVALID_ARG_TYPE:lj1,ERR_METHOD_NOT_IMPLEMENTED:oj1,ERR_OUT_OF_RANGE:rj1,ERR_STREAM_PUSH_AFTER_EOF:sj1,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:aj1},AbortError:tj1}=w8(),{validateObject:ej1}=VK(),FU=bj1("kPaused"),{StringDecoder:tT0}=NJ(),$E1=cd();rT0(A1.prototype,p2.prototype);rT0(A1,p2);var pd=()=>{},{errorOrDestroy:FK}=MK,wK=1,YE1=2,eT0=4,dZ=8,$j0=16,MA=32,OA=64,Yj0=128,zE1=256,UE1=512,QE1=1024,od=2048,rd=4096,JE1=8192,IE1=16384,KE1=32768,zj0=65536,GE1=131072,WE1=262144;function C6($){return{enumerable:!1,get(){return(this.state&$)!==0},set(Y){if(Y)this.state|=$;else this.state&=~$}}}sd(DA.prototype,{objectMode:C6(wK),ended:C6(YE1),endEmitted:C6(eT0),reading:C6(dZ),constructed:C6($j0),sync:C6(MA),needReadable:C6(OA),emittedReadable:C6(Yj0),readableListening:C6(zE1),resumeScheduled:C6(UE1),errorEmitted:C6(QE1),emitClose:C6(od),autoDestroy:C6(rd),destroyed:C6(JE1),closed:C6(IE1),closeEmitted:C6(KE1),multiAwaitDrain:C6(zj0),readingMore:C6(GE1),dataEmitted:C6(WE1)});function DA($,Y,z){if(typeof z!=="boolean")z=Y instanceof j9();if(this.state=od|rd|$j0|MA,$&&$.objectMode)this.state|=wK;if(z&&$&&$.readableObjectMode)this.state|=wK;if(this.highWaterMark=$?dj1(this,$,"readableHighWaterMark",z):mj1(!1),this.buffer=new pj1,this.length=0,this.pipes=[],this.flowing=null,this[FU]=null,$&&$.emitClose===!1)this.state&=~od;if($&&$.autoDestroy===!1)this.state&=~rd;if(this.errored=null,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,$&&$.encoding)this.decoder=new tT0($.encoding),this.encoding=$.encoding}function A1($){if(!(this instanceof A1))return new A1($);let Y=this instanceof j9();if(this._readableState=new DA($,this,Y),$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.construct==="function")this._construct=$.construct;if($.signal&&!Y)nj1($.signal,this)}p2.call(this,$),MK.construct(this,()=>{if(this._readableState.needReadable)NA(this,this._readableState)})}A1.prototype.destroy=MK.destroy;A1.prototype._undestroy=MK.undestroy;A1.prototype._destroy=function($,Y){Y($)};A1.prototype[ij1.captureRejectionSymbol]=function($){this.destroy($)};A1.prototype[fj1]=function(){let $;if(!this.destroyed)$=this.readableEnded?null:new tj1,this.destroy($);return new sT0((Y,z)=>aT0(this,(U)=>U&&U!==$?z(U):Y(null)))};A1.prototype.push=function($,Y){return Uj0(this,$,Y,!1)};A1.prototype.unshift=function($,Y){return Uj0(this,$,Y,!0)};function Uj0($,Y,z,U){y1("readableAddChunk",Y);let Q=$._readableState,J;if((Q.state&wK)===0){if(typeof Y==="string"){if(z=z||Q.defaultEncoding,Q.encoding!==z)if(U&&Q.encoding)Y=nd.from(Y,z).toString(Q.encoding);else Y=nd.from(Y,z),z=""}else if(Y instanceof nd)z="";else if(p2._isUint8Array(Y))Y=p2._uint8ArrayToBuffer(Y),z="";else if(Y!=null)J=new lj1("chunk",["string","Buffer","Uint8Array"],Y)}if(J)FK($,J);else if(Y===null)Q.state&=~dZ,ZE1($,Q);else if((Q.state&wK)!==0||Y&&Y.length>0)if(U)if((Q.state&eT0)!==0)FK($,new aj1);else if(Q.destroyed||Q.errored)return!1;else dd($,Q,Y,!0);else if(Q.ended)FK($,new sj1);else if(Q.destroyed||Q.errored)return!1;else if(Q.state&=~dZ,Q.decoder&&!z)if(Y=Q.decoder.write(Y),Q.objectMode||Y.length!==0)dd($,Q,Y,!1);else NA($,Q);else dd($,Q,Y,!1);else if(!U)Q.state&=~dZ,NA($,Q);return!Q.ended&&(Q.length0){if((Y.state&zj0)!==0)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;Y.dataEmitted=!0,$.emit("data",z)}else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if((Y.state&OA)!==0)BA($)}NA($,Y)}A1.prototype.isPaused=function(){let $=this._readableState;return $[FU]===!0||$.flowing===!1};A1.prototype.setEncoding=function($){let Y=new tT0($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;let z=this._readableState.buffer,U="";for(let Q of z)U+=Y.write(Q);if(z.clear(),U!=="")z.push(U);return this._readableState.length=U.length,this};var HE1=1073741824;function XE1($){if($>HE1)throw new rj1("size","<= 1GiB",$);else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function oT0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if((Y.state&wK)!==0)return 1;if(gj1($)){if(Y.flowing&&Y.length)return Y.buffer.first().length;return Y.length}if($<=Y.length)return $;return Y.ended?Y.length:0}A1.prototype.read=function($){if(y1("read",$),$===void 0)$=NaN;else if(!Sj1($))$=yj1($,10);let Y=this._readableState,z=$;if($>Y.highWaterMark)Y.highWaterMark=XE1($);if($!==0)Y.state&=~Yj0;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(y1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)md(this);else BA(this);return null}if($=oT0($,Y),$===0&&Y.ended){if(Y.length===0)md(this);return null}let U=(Y.state&OA)!==0;if(y1("need readable",U),Y.length===0||Y.length-$0)Q=Gj0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else if(Y.length-=$,Y.multiAwaitDrain)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)md(this)}if(Q!==null&&!Y.errorEmitted&&!Y.closeEmitted)Y.dataEmitted=!0,this.emit("data",Q);return Q};function ZE1($,Y){if(y1("onEofChunk"),Y.ended)return;if(Y.decoder){let z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}if(Y.ended=!0,Y.sync)BA($);else Y.needReadable=!1,Y.emittedReadable=!0,Qj0($)}function BA($){let Y=$._readableState;if(y1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)y1("emitReadable",Y.flowing),Y.emittedReadable=!0,P5.nextTick(Qj0,$)}function Qj0($){let Y=$._readableState;if(y1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&!Y.errored&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Ij0($)}function NA($,Y){if(!Y.readingMore&&Y.constructed)Y.readingMore=!0,P5.nextTick(qE1,$,Y)}function qE1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&U.pipes.includes($))y1("false write response, pause",U.awaitDrainWriters.size),U.awaitDrainWriters.add($);z.pause()}if(!G)G=VE1(z,$),$.on("drain",G)}z.on("data",Z);function Z(w){y1("ondata");let O=$.write(w);if(y1("dest.write",O),O===!1)X()}function q(w){if(y1("onerror",w),M(),$.removeListener("error",q),$.listenerCount("error")===0){let O=$._writableState||$._readableState;if(O&&!O.errorEmitted)FK($,w);else $.emit("error",w)}}cj1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){y1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){y1("unpipe"),z.unpipe($)}if($.emit("pipe",z),$.writableNeedDrain===!0)X();else if(!U.flowing)y1("pipe resume"),z.resume();return $};function VE1($,Y){return function(){let U=$._readableState;if(U.awaitDrainWriters===Y)y1("pipeOnDrain",1),U.awaitDrainWriters=null;else if(U.multiAwaitDrain)y1("pipeOnDrain",U.awaitDrainWriters.size),U.awaitDrainWriters.delete(Y);if((!U.awaitDrainWriters||U.awaitDrainWriters.size===0)&&$.listenerCount("data"))$.resume()}}A1.prototype.unpipe=function($){let Y=this._readableState,z={hasUnpiped:!1};if(Y.pipes.length===0)return this;if(!$){let Q=Y.pipes;Y.pipes=[],this.pause();for(let J=0;J0,U.flowing!==!1)this.resume()}else if($==="readable"){if(!U.endEmitted&&!U.readableListening){if(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,y1("on readable",U.length,U.reading),U.length)BA(this);else if(!U.reading)P5.nextTick(LE1,this)}}return z};A1.prototype.addListener=A1.prototype.on;A1.prototype.removeListener=function($,Y){let z=p2.prototype.removeListener.call(this,$,Y);if($==="readable")P5.nextTick(Jj0,this);return z};A1.prototype.off=A1.prototype.removeListener;A1.prototype.removeAllListeners=function($){let Y=p2.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)P5.nextTick(Jj0,this);return Y};function Jj0($){let Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&Y[FU]===!1)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume();else if(!Y.readableListening)Y.flowing=null}function LE1($){y1("readable nexttick read 0"),$.read(0)}A1.prototype.resume=function(){let $=this._readableState;if(!$.flowing)y1("resume"),$.flowing=!$.readableListening,FE1(this,$);return $[FU]=!1,this};function FE1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,P5.nextTick(wE1,$,Y)}function wE1($,Y){if(y1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Ij0($),Y.flowing&&!Y.reading)$.read(0)}A1.prototype.pause=function(){if(y1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)y1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[FU]=!0,this};function Ij0($){let Y=$._readableState;y1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}A1.prototype.wrap=function($){let Y=!1;$.on("data",(U)=>{if(!this.push(U)&&$.pause)Y=!0,$.pause()}),$.on("end",()=>{this.push(null)}),$.on("error",(U)=>{FK(this,U)}),$.on("close",()=>{this.destroy()}),$.on("destroy",()=>{this.destroy()}),this._read=()=>{if(Y&&$.resume)Y=!1,$.resume()};let z=kj1($);for(let U=1;U{Q=I?lT0(Q,I):null,z(),z=pd});try{while(!0){let I=$.destroyed?null:$.read();if(I!==null)yield I;else if(Q)throw Q;else if(Q===null)return;else await new sT0(U)}}catch(I){throw Q=lT0(Q,I),Q}finally{if((Q||(Y===null||Y===void 0?void 0:Y.destroyOnReturn)!==!1)&&(Q===void 0||$._readableState.autoDestroy))MK.destroyer($,null);else $.off("readable",U),J()}}sd(A1.prototype,{readable:{__proto__:null,get(){let $=this._readableState;return!!$&&$.readable!==!1&&!$.destroyed&&!$.errorEmitted&&!$.endEmitted},set($){if(this._readableState)this._readableState.readable=!!$}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function($){if(this._readableState)this._readableState.flowing=$}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set($){if(!this._readableState)return;this._readableState.destroyed=$}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});sd(DA.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[FU]!==!1},set($){this[FU]=!!$}}});A1._fromList=Gj0;function Gj0($,Y){if(Y.length===0)return null;let z;if(Y.objectMode)z=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.first();else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=Y.buffer.consume($,Y.decoder);return z}function md($){let Y=$._readableState;if(y1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,P5.nextTick(OE1,Y,$)}function OE1($,Y){if(y1("endReadableNT",$.endEmitted,$.length),!$.errored&&!$.closeEmitted&&!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.emit("end"),Y.writable&&Y.allowHalfOpen===!1)P5.nextTick(NE1,Y);else if($.autoDestroy){let z=Y._writableState;if(!z||z.autoDestroy&&(z.finished||z.writable===!1))Y.destroy()}}}function NE1($){if($.writable&&!$.writableEnded&&!$.destroyed)$.end()}A1.from=function($,Y){return $E1(A1,$,Y)};var ld;function Wj0(){if(ld===void 0)ld={};return ld}A1.fromWeb=function($,Y){return Wj0().newStreamReadableFromReadableStream($,Y)};A1.toWeb=function($,Y){return Wj0().newReadableStreamFromStreamReadable($,Y)};A1.wrap=function($,Y){var z,U;return new A1({objectMode:(z=(U=$.readableObjectMode)!==null&&U!==void 0?U:$.objectMode)!==null&&z!==void 0?z:!0,...Y,destroy(Q,J){MK.destroyer($,Q),J(Q)}}).wrap($)}});var EA=E((R14,Bj0)=>{var wU=c2(),{ArrayPrototypeSlice:qj0,Error:DE1,FunctionPrototypeSymbolHasInstance:Vj0,ObjectDefineProperty:Lj0,ObjectDefineProperties:BE1,ObjectSetPrototypeOf:Fj0,StringPrototypeToLowerCase:PE1,Symbol:AE1,SymbolHasInstance:TE1}=x4();Bj0.exports=m4;m4.WritableState=rZ;var{EventEmitter:jE1}=I0("events"),lZ=LA().Stream,{Buffer:PA}=I0("buffer"),jA=LU(),{addAbortSignal:EE1}=nZ(),{getHighWaterMark:CE1,getDefaultHighWaterMark:RE1}=pZ(),{ERR_INVALID_ARG_TYPE:_E1,ERR_METHOD_NOT_IMPLEMENTED:vE1,ERR_MULTIPLE_CALLBACK:wj0,ERR_STREAM_CANNOT_PIPE:hE1,ERR_STREAM_DESTROYED:oZ,ERR_STREAM_ALREADY_FINISHED:SE1,ERR_STREAM_NULL_VALUES:gE1,ERR_STREAM_WRITE_AFTER_END:yE1,ERR_UNKNOWN_ENCODING:Mj0}=w8().codes,{errorOrDestroy:OK}=jA;Fj0(m4.prototype,lZ.prototype);Fj0(m4,lZ);function ed(){}var NK=AE1("kOnFinished");function rZ($,Y,z){if(typeof z!=="boolean")z=Y instanceof j9();if(this.objectMode=!!($&&$.objectMode),z)this.objectMode=this.objectMode||!!($&&$.writableObjectMode);this.highWaterMark=$?CE1(this,$,"writableHighWaterMark",z):RE1(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let U=!!($&&$.decodeStrings===!1);this.decodeStrings=!U,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=xE1.bind(void 0,Y),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,TA(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!$||$.emitClose!==!1,this.autoDestroy=!$||$.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[NK]=[]}function TA($){$.buffered=[],$.bufferedIndex=0,$.allBuffers=!0,$.allNoop=!0}rZ.prototype.getBuffer=function(){return qj0(this.buffered,this.bufferedIndex)};Lj0(rZ.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function m4($){let Y=this instanceof j9();if(!Y&&!Vj0(m4,this))return new m4($);if(this._writableState=new rZ($,this,Y),$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final;if(typeof $.construct==="function")this._construct=$.construct;if($.signal)EE1($.signal,this)}lZ.call(this,$),jA.construct(this,()=>{let z=this._writableState;if(!z.writing)Ym(this,z);zm(this,z)})}Lj0(m4,TE1,{__proto__:null,value:function($){if(Vj0(this,$))return!0;if(this!==m4)return!1;return $&&$._writableState instanceof rZ}});m4.prototype.pipe=function(){OK(this,new hE1)};function Oj0($,Y,z,U){let Q=$._writableState;if(typeof z==="function")U=z,z=Q.defaultEncoding;else{if(!z)z=Q.defaultEncoding;else if(z!=="buffer"&&!PA.isEncoding(z))throw new Mj0(z);if(typeof U!=="function")U=ed}if(Y===null)throw new gE1;else if(!Q.objectMode)if(typeof Y==="string"){if(Q.decodeStrings!==!1)Y=PA.from(Y,z),z="buffer"}else if(Y instanceof PA)z="buffer";else if(lZ._isUint8Array(Y))Y=lZ._uint8ArrayToBuffer(Y),z="buffer";else throw new _E1("chunk",["string","Buffer","Uint8Array"],Y);let J;if(Q.ending)J=new yE1;else if(Q.destroyed)J=new oZ("write");if(J)return wU.nextTick(U,J),OK($,J,!0),J;return Q.pendingcb++,kE1($,Q,Y,z,U)}m4.prototype.write=function($,Y,z){return Oj0(this,$,Y,z)===!0};m4.prototype.cork=function(){this._writableState.corked++};m4.prototype.uncork=function(){let $=this._writableState;if($.corked){if($.corked--,!$.writing)Ym(this,$)}};m4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=PE1(Y);if(!PA.isEncoding(Y))throw new Mj0(Y);return this._writableState.defaultEncoding=Y,this};function kE1($,Y,z,U,Q){let J=Y.objectMode?1:z.length;Y.length+=J;let I=Y.lengthz.bufferedIndex)Ym($,z);if(U)if(z.afterWriteTickInfo!==null&&z.afterWriteTickInfo.cb===Q)z.afterWriteTickInfo.count++;else z.afterWriteTickInfo={count:1,cb:Q,stream:$,state:z},wU.nextTick(fE1,z.afterWriteTickInfo);else Nj0($,z,1,Q)}}function fE1({stream:$,state:Y,count:z,cb:U}){return Y.afterWriteTickInfo=null,Nj0($,Y,z,U)}function Nj0($,Y,z,U){if(!Y.ending&&!$.destroyed&&Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain");while(z-- >0)Y.pendingcb--,U();if(Y.destroyed)$m(Y);zm($,Y)}function $m($){if($.writing)return;for(let Q=$.bufferedIndex;Q<$.buffered.length;++Q){var Y;let{chunk:J,callback:I}=$.buffered[Q],K=$.objectMode?1:J.length;$.length-=K,I((Y=$.errored)!==null&&Y!==void 0?Y:new oZ("write"))}let z=$[NK].splice(0);for(let Q=0;Q1&&$._writev){Y.pendingcb-=J-1;let K=Y.allNoop?ed:(W)=>{for(let H=I;H256)z.splice(0,I),Y.bufferedIndex=0;else Y.bufferedIndex=I}Y.bufferProcessing=!1}m4.prototype._write=function($,Y,z){if(this._writev)this._writev([{chunk:$,encoding:Y}],z);else throw new vE1("_write()")};m4.prototype._writev=null;m4.prototype.end=function($,Y,z){let U=this._writableState;if(typeof $==="function")z=$,$=null,Y=null;else if(typeof Y==="function")z=Y,Y=null;let Q;if($!==null&&$!==void 0){let J=Oj0(this,$,Y);if(J instanceof DE1)Q=J}if(U.corked)U.corked=1,this.uncork();if(Q);else if(!U.errored&&!U.ending)U.ending=!0,zm(this,U,!0),U.ended=!0;else if(U.finished)Q=new SE1("end");else if(U.destroyed)Q=new oZ("end");if(typeof z==="function")if(Q||U.finished)wU.nextTick(z,Q);else U[NK].push(z);return this};function AA($){return $.ending&&!$.destroyed&&$.constructed&&$.length===0&&!$.errored&&$.buffered.length===0&&!$.finished&&!$.writing&&!$.errorEmitted&&!$.closeEmitted}function uE1($,Y){let z=!1;function U(Q){if(z){OK($,Q!==null&&Q!==void 0?Q:wj0());return}if(z=!0,Y.pendingcb--,Q){let J=Y[NK].splice(0);for(let I=0;I{if(AA(Q))td(U,Q);else Q.pendingcb--},$,Y);else if(AA(Y))Y.pendingcb++,td($,Y)}}}function td($,Y){Y.pendingcb--,Y.finished=!0;let z=Y[NK].splice(0);for(let U=0;U{var Um=c2(),cE1=I0("buffer"),{isReadable:nE1,isWritable:pE1,isIterable:Pj0,isNodeStream:dE1,isReadableNodeStream:Aj0,isWritableNodeStream:Tj0,isDuplexNodeStream:mE1,isReadableStream:jj0,isWritableStream:Ej0}=A9(),Cj0=f7(),{AbortError:gj0,codes:{ERR_INVALID_ARG_TYPE:lE1,ERR_INVALID_RETURN_VALUE:Rj0}}=w8(),{destroyer:BK}=LU(),oE1=j9(),yj0=mZ(),rE1=EA(),{createDeferredPromise:_j0}=g8(),vj0=cd(),hj0=globalThis.Blob||cE1.Blob,sE1=typeof hj0<"u"?function(Y){return Y instanceof hj0}:function(Y){return!1},aE1=globalThis.AbortController||ZK().AbortController,{FunctionPrototypeCall:Sj0}=x4();class MU extends oE1{constructor($){super($);if(($===null||$===void 0?void 0:$.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(($===null||$===void 0?void 0:$.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}kj0.exports=function $(Y,z){if(mE1(Y))return Y;if(Aj0(Y))return DK({readable:Y});if(Tj0(Y))return DK({writable:Y});if(dE1(Y))return DK({writable:!1,readable:!1});if(jj0(Y))return DK({readable:yj0.fromWeb(Y)});if(Ej0(Y))return DK({writable:rE1.fromWeb(Y)});if(typeof Y==="function"){let{value:Q,write:J,final:I,destroy:K}=tE1(Y);if(Pj0(Q))return vj0(MU,Q,{objectMode:!0,write:J,final:I,destroy:K});let G=Q===null||Q===void 0?void 0:Q.then;if(typeof G==="function"){let W,H=Sj0(G,Q,(X)=>{if(X!=null)throw new Rj0("nully","body",X)},(X)=>{BK(W,X)});return W=new MU({objectMode:!0,readable:!1,write:J,final(X){I(async()=>{try{await H,Um.nextTick(X,null)}catch(Z){Um.nextTick(X,Z)}})},destroy:K})}throw new Rj0("Iterable, AsyncIterable or AsyncFunction",z,Q)}if(sE1(Y))return $(Y.arrayBuffer());if(Pj0(Y))return vj0(MU,Y,{objectMode:!0,writable:!1});if(jj0(Y===null||Y===void 0?void 0:Y.readable)&&Ej0(Y===null||Y===void 0?void 0:Y.writable))return MU.fromWeb(Y);if(typeof(Y===null||Y===void 0?void 0:Y.writable)==="object"||typeof(Y===null||Y===void 0?void 0:Y.readable)==="object"){let Q=Y!==null&&Y!==void 0&&Y.readable?Aj0(Y===null||Y===void 0?void 0:Y.readable)?Y===null||Y===void 0?void 0:Y.readable:$(Y.readable):void 0,J=Y!==null&&Y!==void 0&&Y.writable?Tj0(Y===null||Y===void 0?void 0:Y.writable)?Y===null||Y===void 0?void 0:Y.writable:$(Y.writable):void 0;return DK({readable:Q,writable:J})}let U=Y===null||Y===void 0?void 0:Y.then;if(typeof U==="function"){let Q;return Sj0(U,Y,(J)=>{if(J!=null)Q.push(J);Q.push(null)},(J)=>{BK(Q,J)}),Q=new MU({objectMode:!0,writable:!1,read(){}})}throw new lE1(z,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],Y)};function tE1($){let{promise:Y,resolve:z}=_j0(),U=new aE1,Q=U.signal;return{value:$(async function*(){while(!0){let I=Y;Y=null;let{chunk:K,done:G,cb:W}=await I;if(Um.nextTick(W),G)return;if(Q.aborted)throw new gj0(void 0,{cause:Q.reason});({promise:Y,resolve:z}=_j0()),yield K}}(),{signal:Q}),write(I,K,G){let W=z;z=null,W({chunk:I,done:!1,cb:G})},final(I){let K=z;z=null,K({done:!0,cb:I})},destroy(I,K){U.abort(),K(I)}}}function DK($){let Y=$.readable&&typeof $.readable.read!=="function"?yj0.wrap($.readable):$.readable,z=$.writable,U=!!nE1(Y),Q=!!pE1(z),J,I,K,G,W;function H(X){let Z=G;if(G=null,Z)Z(X);else if(X)W.destroy(X)}if(W=new MU({readableObjectMode:!!(Y!==null&&Y!==void 0&&Y.readableObjectMode),writableObjectMode:!!(z!==null&&z!==void 0&&z.writableObjectMode),readable:U,writable:Q}),Q)Cj0(z,(X)=>{if(Q=!1,X)BK(Y,X);H(X)}),W._write=function(X,Z,q){if(z.write(X,Z))q();else J=q},W._final=function(X){z.end(),I=X},z.on("drain",function(){if(J){let X=J;J=null,X()}}),z.on("finish",function(){if(I){let X=I;I=null,X()}});if(U)Cj0(Y,(X)=>{if(U=!1,X)BK(Y,X);H(X)}),Y.on("readable",function(){if(K){let X=K;K=null,X()}}),Y.on("end",function(){W.push(null)}),W._read=function(){while(!0){let X=Y.read();if(X===null){K=W._read;return}if(!W.push(X))return}};return W._destroy=function(X,Z){if(!X&&G!==null)X=new gj0;if(K=null,J=null,I=null,G===null)Z(X);else G=Z,BK(z,X),BK(Y,X)},W}});var j9=E((v14,bj0)=>{var{ObjectDefineProperties:eE1,ObjectGetOwnPropertyDescriptor:u7,ObjectKeys:$C1,ObjectSetPrototypeOf:fj0}=x4();bj0.exports=A5;var Im=mZ(),l$=EA();fj0(A5.prototype,Im.prototype);fj0(A5,Im);{let $=$C1(l$.prototype);for(let Y=0;Y<$.length;Y++){let z=$[Y];if(!A5.prototype[z])A5.prototype[z]=l$.prototype[z]}}function A5($){if(!(this instanceof A5))return new A5($);if(Im.call(this,$),l$.call(this,$),$){if(this.allowHalfOpen=$.allowHalfOpen!==!1,$.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if($.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}eE1(A5.prototype,{writable:{__proto__:null,...u7(l$.prototype,"writable")},writableHighWaterMark:{__proto__:null,...u7(l$.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...u7(l$.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...u7(l$.prototype,"writableBuffer")},writableLength:{__proto__:null,...u7(l$.prototype,"writableLength")},writableFinished:{__proto__:null,...u7(l$.prototype,"writableFinished")},writableCorked:{__proto__:null,...u7(l$.prototype,"writableCorked")},writableEnded:{__proto__:null,...u7(l$.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...u7(l$.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set($){if(this._readableState&&this._writableState)this._readableState.destroyed=$,this._writableState.destroyed=$}}});var Qm;function uj0(){if(Qm===void 0)Qm={};return Qm}A5.fromWeb=function($,Y){return uj0().newStreamDuplexFromReadableWritablePair($,Y)};A5.toWeb=function($){return uj0().newReadableWritablePairFromDuplex($)};var Jm;A5.from=function($){if(!Jm)Jm=xj0();return Jm($,"body")}});var Wm=E((h14,cj0)=>{var{ObjectSetPrototypeOf:ij0,Symbol:YC1}=x4();cj0.exports=b7;var{ERR_METHOD_NOT_IMPLEMENTED:zC1}=w8().codes,Gm=j9(),{getHighWaterMark:UC1}=pZ();ij0(b7.prototype,Gm.prototype);ij0(b7,Gm);var sZ=YC1("kCallback");function b7($){if(!(this instanceof b7))return new b7($);let Y=$?UC1(this,$,"readableHighWaterMark",!0):null;if(Y===0)$={...$,highWaterMark:null,readableHighWaterMark:Y,writableHighWaterMark:$.writableHighWaterMark||0};if(Gm.call(this,$),this._readableState.sync=!1,this[sZ]=null,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",QC1)}function Km($){if(typeof this._flush==="function"&&!this.destroyed)this._flush((Y,z)=>{if(Y){if($)$(Y);else this.destroy(Y);return}if(z!=null)this.push(z);if(this.push(null),$)$()});else if(this.push(null),$)$()}function QC1(){if(this._final!==Km)Km.call(this)}b7.prototype._final=Km;b7.prototype._transform=function($,Y,z){throw new zC1("_transform()")};b7.prototype._write=function($,Y,z){let U=this._readableState,Q=this._writableState,J=U.length;this._transform($,Y,(I,K)=>{if(I){z(I);return}if(K!=null)this.push(K);if(Q.ended||J===U.length||U.length{var{ObjectSetPrototypeOf:nj0}=x4();pj0.exports=PK;var Hm=Wm();nj0(PK.prototype,Hm.prototype);nj0(PK,Hm);function PK($){if(!(this instanceof PK))return new PK($);Hm.call(this,$)}PK.prototype._transform=function($,Y,z){z(null,$)}});var vA=E((g14,rj0)=>{var aZ=c2(),{ArrayIsArray:JC1,Promise:IC1,SymbolAsyncIterator:KC1,SymbolDispose:GC1}=x4(),_A=f7(),{once:WC1}=g8(),HC1=LU(),dj0=j9(),{aggregateTwoErrors:XC1,codes:{ERR_INVALID_ARG_TYPE:Nm,ERR_INVALID_RETURN_VALUE:Zm,ERR_MISSING_ARGS:ZC1,ERR_STREAM_DESTROYED:qC1,ERR_STREAM_PREMATURE_CLOSE:VC1},AbortError:LC1}=w8(),{validateFunction:FC1,validateAbortSignal:wC1}=VK(),{isIterable:OU,isReadable:qm,isReadableNodeStream:RA,isNodeStream:mj0,isTransformStream:AK,isWebStream:MC1,isReadableStream:Vm,isReadableFinished:OC1}=A9(),NC1=globalThis.AbortController||ZK().AbortController,Lm,Fm,wm;function lj0($,Y,z){let U=!1;$.on("close",()=>{U=!0});let Q=_A($,{readable:Y,writable:z},(J)=>{U=!J});return{destroy:(J)=>{if(U)return;U=!0,HC1.destroyer($,J||new qC1("pipe"))},cleanup:Q}}function DC1($){return FC1($[$.length-1],"streams[stream.length - 1]"),$.pop()}function Mm($){if(OU($))return $;else if(RA($))return BC1($);throw new Nm("val",["Readable","Iterable","AsyncIterable"],$)}async function*BC1($){if(!Fm)Fm=mZ();yield*Fm.prototype[KC1].call($)}async function CA($,Y,z,{end:U}){let Q,J=null,I=(W)=>{if(W)Q=W;if(J){let H=J;J=null,H()}},K=()=>new IC1((W,H)=>{if(Q)H(Q);else J=()=>{if(Q)H(Q);else W()}});Y.on("drain",I);let G=_A(Y,{readable:!1},I);try{if(Y.writableNeedDrain)await K();for await(let W of $)if(!Y.write(W))await K();if(U)Y.end(),await K();z()}catch(W){z(Q!==W?XC1(Q,W):W)}finally{G(),Y.off("drain",I)}}async function Om($,Y,z,{end:U}){if(AK(Y))Y=Y.writable;let Q=Y.getWriter();try{for await(let J of $)await Q.ready,Q.write(J).catch(()=>{});if(await Q.ready,U)await Q.close();z()}catch(J){try{await Q.abort(J),z(J)}catch(I){z(I)}}}function PC1(...$){return oj0($,WC1(DC1($)))}function oj0($,Y,z){if($.length===1&&JC1($[0]))$=$[0];if($.length<2)throw new ZC1("streams");let U=new NC1,Q=U.signal,J=z===null||z===void 0?void 0:z.signal,I=[];wC1(J,"options.signal");function K(){V(new LC1)}wm=wm||g8().addAbortListener;let G;if(J)G=wm(J,K);let W,H,X=[],Z=0;function q(D){V(D,--Z===0)}function V(D,N){var A;if(D&&(!W||W.code==="ERR_STREAM_PREMATURE_CLOSE"))W=D;if(!W&&!N)return;while(X.length)X.shift()(W);if((A=G)===null||A===void 0||A[GC1](),U.abort(),N){if(!W)I.forEach((T)=>T());aZ.nextTick(Y,W,H)}}let F;for(let D=0;D<$.length;D++){let N=$[D],A=D<$.length-1,T=D>0,B=A||(z===null||z===void 0?void 0:z.end)!==!1,j=D===$.length-1;if(mj0(N)){let C=function(b){if(b&&b.name!=="AbortError"&&b.code!=="ERR_STREAM_PREMATURE_CLOSE")q(b)};var O=C;if(B){let{destroy:b,cleanup:k}=lj0(N,A,T);if(X.push(b),qm(N)&&j)I.push(k)}if(N.on("error",C),qm(N)&&j)I.push(()=>{N.removeListener("error",C)})}if(D===0)if(typeof N==="function"){if(F=N({signal:Q}),!OU(F))throw new Zm("Iterable, AsyncIterable or Stream","source",F)}else if(OU(N)||RA(N)||AK(N))F=N;else F=dj0.from(N);else if(typeof N==="function"){if(AK(F)){var M;F=Mm((M=F)===null||M===void 0?void 0:M.readable)}else F=Mm(F);if(F=N(F,{signal:Q}),A){if(!OU(F,!0))throw new Zm("AsyncIterable",`transform[${D-1}]`,F)}else{var w;if(!Lm)Lm=Xm();let C=new Lm({objectMode:!0}),b=(w=F)===null||w===void 0?void 0:w.then;if(typeof b==="function")Z++,b.call(F,(i)=>{if(H=i,i!=null)C.write(i);if(B)C.end();aZ.nextTick(q)},(i)=>{C.destroy(i),aZ.nextTick(q,i)});else if(OU(F,!0))Z++,CA(F,C,q,{end:B});else if(Vm(F)||AK(F)){let i=F.readable||F;Z++,CA(i,C,q,{end:B})}else throw new Zm("AsyncIterable or Promise","destination",F);F=C;let{destroy:k,cleanup:h}=lj0(F,!1,!0);if(X.push(k),j)I.push(h)}}else if(mj0(N)){if(RA(F)){Z+=2;let C=AC1(F,N,q,{end:B});if(qm(N)&&j)I.push(C)}else if(AK(F)||Vm(F)){let C=F.readable||F;Z++,CA(C,N,q,{end:B})}else if(OU(F))Z++,CA(F,N,q,{end:B});else throw new Nm("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=N}else if(MC1(N)){if(RA(F))Z++,Om(Mm(F),N,q,{end:B});else if(Vm(F)||OU(F))Z++,Om(F,N,q,{end:B});else if(AK(F))Z++,Om(F.readable,N,q,{end:B});else throw new Nm("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=N}else F=dj0.from(N)}if(Q!==null&&Q!==void 0&&Q.aborted||J!==null&&J!==void 0&&J.aborted)aZ.nextTick(K);return F}function AC1($,Y,z,{end:U}){let Q=!1;if(Y.on("close",()=>{if(!Q)z(new VC1)}),$.pipe(Y,{end:!1}),U){let I=function(){Q=!0,Y.end()};var J=I;if(OC1($))aZ.nextTick(I);else $.once("end",I)}else z();return _A($,{readable:!0,writable:!1},(I)=>{let K=$._readableState;if(I&&I.code==="ERR_STREAM_PREMATURE_CLOSE"&&K&&K.ended&&!K.errored&&!K.errorEmitted)$.once("end",z).once("error",z);else z(I)}),_A(Y,{readable:!1,writable:!0},z)}rj0.exports={pipelineImpl:oj0,pipeline:PC1}});var Bm=E((y14,YE0)=>{var{pipeline:TC1}=vA(),hA=j9(),{destroyer:jC1}=LU(),{isNodeStream:SA,isReadable:sj0,isWritable:aj0,isWebStream:Dm,isTransformStream:NU,isWritableStream:tj0,isReadableStream:ej0}=A9(),{AbortError:EC1,codes:{ERR_INVALID_ARG_VALUE:$E0,ERR_MISSING_ARGS:CC1}}=w8(),RC1=f7();YE0.exports=function(...Y){if(Y.length===0)throw new CC1("streams");if(Y.length===1)return hA.from(Y[0]);let z=[...Y];if(typeof Y[0]==="function")Y[0]=hA.from(Y[0]);if(typeof Y[Y.length-1]==="function"){let q=Y.length-1;Y[q]=hA.from(Y[q])}for(let q=0;q0&&!(aj0(Y[q])||tj0(Y[q])||NU(Y[q])))throw new $E0(`streams[${q}]`,z[q],"must be writable")}let U,Q,J,I,K;function G(q){let V=I;if(I=null,V)V(q);else if(q)K.destroy(q);else if(!Z&&!X)K.destroy()}let W=Y[0],H=TC1(Y,G),X=!!(aj0(W)||tj0(W)||NU(W)),Z=!!(sj0(H)||ej0(H)||NU(H));if(K=new hA({writableObjectMode:!!(W!==null&&W!==void 0&&W.writableObjectMode),readableObjectMode:!!(H!==null&&H!==void 0&&H.readableObjectMode),writable:X,readable:Z}),X){if(SA(W))K._write=function(V,F,M){if(W.write(V,F))M();else U=M},K._final=function(V){W.end(),Q=V},W.on("drain",function(){if(U){let V=U;U=null,V()}});else if(Dm(W)){let F=(NU(W)?W.writable:W).getWriter();K._write=async function(M,w,O){try{await F.ready,F.write(M).catch(()=>{}),O()}catch(D){O(D)}},K._final=async function(M){try{await F.ready,F.close().catch(()=>{}),Q=M}catch(w){M(w)}}}let q=NU(H)?H.readable:H;RC1(q,()=>{if(Q){let V=Q;Q=null,V()}})}if(Z){if(SA(H))H.on("readable",function(){if(J){let q=J;J=null,q()}}),H.on("end",function(){K.push(null)}),K._read=function(){while(!0){let q=H.read();if(q===null){J=K._read;return}if(!K.push(q))return}};else if(Dm(H)){let V=(NU(H)?H.readable:H).getReader();K._read=async function(){while(!0)try{let{value:F,done:M}=await V.read();if(!K.push(F))return;if(M){K.push(null);return}}catch{return}}}}return K._destroy=function(q,V){if(!q&&I!==null)q=new EC1;if(J=null,U=null,Q=null,I===null)V(q);else if(I=V,SA(H))jC1(H,q)},K}});var ZE0=E((UR1,Am)=>{var _C1=globalThis.AbortController||ZK().AbortController,{codes:{ERR_INVALID_ARG_VALUE:vC1,ERR_INVALID_ARG_TYPE:tZ,ERR_MISSING_ARGS:hC1,ERR_OUT_OF_RANGE:SC1},AbortError:E9}=w8(),{validateAbortSignal:DU,validateInteger:zE0,validateObject:BU}=VK(),gC1=x4().Symbol("kWeak"),yC1=x4().Symbol("kResistStopPropagation"),{finished:kC1}=f7(),xC1=Bm(),{addAbortSignalNoValidate:fC1}=nZ(),{isWritable:uC1,isNodeStream:bC1}=A9(),{deprecate:iC1}=g8(),{ArrayPrototypePush:cC1,Boolean:nC1,MathFloor:UE0,Number:pC1,NumberIsNaN:dC1,Promise:QE0,PromiseReject:JE0,PromiseResolve:mC1,PromisePrototypeThen:IE0,Symbol:GE0}=x4(),gA=GE0("kEmpty"),KE0=GE0("kEof");function lC1($,Y){if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");if(bC1($)&&!uC1($))throw new vC1("stream",$,"must be writable");let z=xC1(this,$);if(Y!==null&&Y!==void 0&&Y.signal)fC1(Y.signal,z);return z}function yA($,Y){if(typeof $!=="function")throw new tZ("fn",["Function","AsyncFunction"],$);if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");let z=1;if((Y===null||Y===void 0?void 0:Y.concurrency)!=null)z=UE0(Y.concurrency);let U=z-1;if((Y===null||Y===void 0?void 0:Y.highWaterMark)!=null)U=UE0(Y.highWaterMark);return zE0(z,"options.concurrency",1),zE0(U,"options.highWaterMark",0),U+=z,async function*(){let J=g8().AbortSignalAny([Y===null||Y===void 0?void 0:Y.signal].filter(nC1)),I=this,K=[],G={signal:J},W,H,X=!1,Z=0;function q(){X=!0,V()}function V(){Z-=1,F()}function F(){if(H&&!X&&Z=U||Z>=z))await new QE0((O)=>{H=O})}K.push(KE0)}catch(w){let O=JE0(w);IE0(O,V,q),K.push(O)}finally{if(X=!0,W)W(),W=null}}M();try{while(!0){while(K.length>0){let w=await K[0];if(w===KE0)return;if(J.aborted)throw new E9;if(w!==gA)yield w;K.shift(),F()}await new QE0((w)=>{W=w})}}finally{if(X=!0,H)H(),H=null}}.call(this)}function oC1($=void 0){if($!=null)BU($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)DU($.signal,"options.signal");return async function*(){let z=0;for await(let Q of this){var U;if($!==null&&$!==void 0&&(U=$.signal)!==null&&U!==void 0&&U.aborted)throw new E9({cause:$.signal.reason});yield[z++,Q]}}.call(this)}async function WE0($,Y=void 0){for await(let z of Pm.call(this,$,Y))return!0;return!1}async function rC1($,Y=void 0){if(typeof $!=="function")throw new tZ("fn",["Function","AsyncFunction"],$);return!await WE0.call(this,async(...z)=>{return!await $(...z)},Y)}async function sC1($,Y){for await(let z of Pm.call(this,$,Y))return z;return}async function aC1($,Y){if(typeof $!=="function")throw new tZ("fn",["Function","AsyncFunction"],$);async function z(U,Q){return await $(U,Q),gA}for await(let U of yA.call(this,z,Y));}function Pm($,Y){if(typeof $!=="function")throw new tZ("fn",["Function","AsyncFunction"],$);async function z(U,Q){if(await $(U,Q))return U;return gA}return yA.call(this,z,Y)}class HE0 extends hC1{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function tC1($,Y,z){var U;if(typeof $!=="function")throw new tZ("reducer",["Function","AsyncFunction"],$);if(z!=null)BU(z,"options");if((z===null||z===void 0?void 0:z.signal)!=null)DU(z.signal,"options.signal");let Q=arguments.length>1;if(z!==null&&z!==void 0&&(U=z.signal)!==null&&U!==void 0&&U.aborted){let W=new E9(void 0,{cause:z.signal.reason});throw this.once("error",()=>{}),await kC1(this.destroy(W)),W}let J=new _C1,I=J.signal;if(z!==null&&z!==void 0&&z.signal){let W={once:!0,[gC1]:this,[yC1]:!0};z.signal.addEventListener("abort",()=>J.abort(),W)}let K=!1;try{for await(let W of this){var G;if(K=!0,z!==null&&z!==void 0&&(G=z.signal)!==null&&G!==void 0&&G.aborted)throw new E9;if(!Q)Y=W,Q=!0;else Y=await $(Y,W,{signal:I})}if(!K&&!Q)throw new HE0}finally{J.abort()}return Y}async function eC1($){if($!=null)BU($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)DU($.signal,"options.signal");let Y=[];for await(let U of this){var z;if($!==null&&$!==void 0&&(z=$.signal)!==null&&z!==void 0&&z.aborted)throw new E9(void 0,{cause:$.signal.reason});cC1(Y,U)}return Y}function $R1($,Y){let z=yA.call(this,$,Y);return async function*(){for await(let Q of z)yield*Q}.call(this)}function XE0($){if($=pC1($),dC1($))return 0;if($<0)throw new SC1("number",">= 0",$);return $}function YR1($,Y=void 0){if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");return $=XE0($),async function*(){var U;if(Y!==null&&Y!==void 0&&(U=Y.signal)!==null&&U!==void 0&&U.aborted)throw new E9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new E9;if($--<=0)yield J}}.call(this)}function zR1($,Y=void 0){if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");return $=XE0($),async function*(){var U;if(Y!==null&&Y!==void 0&&(U=Y.signal)!==null&&U!==void 0&&U.aborted)throw new E9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new E9;if($-- >0)yield J;if($<=0)return}}.call(this)}UR1.streamReturningOperators={asIndexedPairs:iC1(oC1,"readable.asIndexedPairs will be removed in a future version."),drop:YR1,filter:Pm,flatMap:$R1,map:yA,take:zR1,compose:lC1};UR1.promiseReturningOperators={every:rC1,forEach:aC1,reduce:tC1,toArray:eC1,some:WE0,find:sC1}});var Tm=E((k14,qE0)=>{var{ArrayPrototypePop:IR1,Promise:KR1}=x4(),{isIterable:GR1,isNodeStream:WR1,isWebStream:HR1}=A9(),{pipelineImpl:XR1}=vA(),{finished:ZR1}=f7();jm();function qR1(...$){return new KR1((Y,z)=>{let U,Q,J=$[$.length-1];if(J&&typeof J==="object"&&!WR1(J)&&!GR1(J)&&!HR1(J)){let I=IR1($);U=I.signal,Q=I.end}XR1($,(I,K)=>{if(I)z(I);else Y(K)},{signal:U,end:Q})})}qE0.exports={finished:ZR1,pipeline:qR1}});var jm=E((x14,BE0)=>{var{Buffer:VR1}=I0("buffer"),{ObjectDefineProperty:i7,ObjectKeys:FE0,ReflectApply:wE0}=x4(),{promisify:{custom:ME0}}=g8(),{streamReturningOperators:VE0,promiseReturningOperators:LE0}=ZE0(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:OE0}}=w8(),LR1=Bm(),{setDefaultHighWaterMark:FR1,getDefaultHighWaterMark:wR1}=pZ(),{pipeline:NE0}=vA(),{destroyer:MR1}=LU(),DE0=f7(),Em=Tm(),eZ=A9(),h4=BE0.exports=LA().Stream;h4.isDestroyed=eZ.isDestroyed;h4.isDisturbed=eZ.isDisturbed;h4.isErrored=eZ.isErrored;h4.isReadable=eZ.isReadable;h4.isWritable=eZ.isWritable;h4.Readable=mZ();for(let $ of FE0(VE0)){let z=function(...U){if(new.target)throw OE0();return h4.Readable.from(wE0(Y,this,U))},Y=VE0[$];i7(z,"name",{__proto__:null,value:Y.name}),i7(z,"length",{__proto__:null,value:Y.length}),i7(h4.Readable.prototype,$,{__proto__:null,value:z,enumerable:!1,configurable:!0,writable:!0})}for(let $ of FE0(LE0)){let z=function(...U){if(new.target)throw OE0();return wE0(Y,this,U)},Y=LE0[$];i7(z,"name",{__proto__:null,value:Y.name}),i7(z,"length",{__proto__:null,value:Y.length}),i7(h4.Readable.prototype,$,{__proto__:null,value:z,enumerable:!1,configurable:!0,writable:!0})}h4.Writable=EA();h4.Duplex=j9();h4.Transform=Wm();h4.PassThrough=Xm();h4.pipeline=NE0;var{addAbortSignal:OR1}=nZ();h4.addAbortSignal=OR1;h4.finished=DE0;h4.destroy=MR1;h4.compose=LR1;h4.setDefaultHighWaterMark=FR1;h4.getDefaultHighWaterMark=wR1;i7(h4,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return Em}});i7(NE0,ME0,{__proto__:null,enumerable:!0,get(){return Em.pipeline}});i7(DE0,ME0,{__proto__:null,enumerable:!0,get(){return Em.finished}});h4.Stream=h4;h4._isUint8Array=function(Y){return Y instanceof Uint8Array};h4._uint8ArrayToBuffer=function(Y){return VR1.from(Y.buffer,Y.byteOffset,Y.byteLength)}});var PU=E((f14,h1)=>{var R6=I0("stream");if(R6&&process.env.READABLE_STREAM==="disable"){let $=R6.promises;h1.exports._uint8ArrayToBuffer=R6._uint8ArrayToBuffer,h1.exports._isUint8Array=R6._isUint8Array,h1.exports.isDisturbed=R6.isDisturbed,h1.exports.isErrored=R6.isErrored,h1.exports.isReadable=R6.isReadable,h1.exports.Readable=R6.Readable,h1.exports.Writable=R6.Writable,h1.exports.Duplex=R6.Duplex,h1.exports.Transform=R6.Transform,h1.exports.PassThrough=R6.PassThrough,h1.exports.addAbortSignal=R6.addAbortSignal,h1.exports.finished=R6.finished,h1.exports.destroy=R6.destroy,h1.exports.pipeline=R6.pipeline,h1.exports.compose=R6.compose,Object.defineProperty(R6,"promises",{configurable:!0,enumerable:!0,get(){return $}}),h1.exports.Stream=R6.Stream}else{let $=jm(),Y=Tm(),z=$.Readable.destroy;h1.exports=$.Readable,h1.exports._uint8ArrayToBuffer=$._uint8ArrayToBuffer,h1.exports._isUint8Array=$._isUint8Array,h1.exports.isDisturbed=$.isDisturbed,h1.exports.isErrored=$.isErrored,h1.exports.isReadable=$.isReadable,h1.exports.Readable=$.Readable,h1.exports.Writable=$.Writable,h1.exports.Duplex=$.Duplex,h1.exports.Transform=$.Transform,h1.exports.PassThrough=$.PassThrough,h1.exports.addAbortSignal=$.addAbortSignal,h1.exports.finished=$.finished,h1.exports.destroy=$.destroy,h1.exports.destroy=z,h1.exports.pipeline=$.pipeline,h1.exports.compose=$.compose,Object.defineProperty($,"promises",{configurable:!0,enumerable:!0,get(){return Y}}),h1.exports.Stream=$.Stream}h1.exports.default=h1.exports});function TE0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function jE0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(b2($))return $.pipe(new AE0.PassThrough);return $}function EE0($){return PE0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}function Cm($){return $.slice(-1)!=="/"?$+"/":$}var PE0,AE0;var kA=o(()=>{PE0=J6(jz(),1),AE0=J6(PU(),1)});import{createReadStream as NR1,lstat as DR1,readlinkSync as BR1,Stats as PR1}from"fs";import{dirname as AR1,relative as TR1,resolve as jR1}from"path";var CE0,_m,RE0,ER1,Rm,xA;var _E0=o(()=>{LA0();FA0();kA();CE0=J6(AD(),1),_m=J6(Iu(),1),RE0=J6(PU(),1),{ReaddirGlob:ER1}=Md,Rm=process.platform==="win32";xA=class xA extends RE0.Transform{_supportsDirectory=!1;_supportsSymlink=!1;constructor($){$={highWaterMark:1048576,statConcurrency:4,...$};super($);this.options=$,this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=_m.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=_m.queue(this._onStatQueueTask.bind(this),$.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]}_abort(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()}_append($,Y){Y=Y||{};let z={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,z.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof PR1){if(z=this._updateQueueTaskWithStats(z,Y.stats),z){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(z)}}else this._statQueue.push(z)}_finalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0}_maybeFinalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1}_moduleAppend($,Y,z){if(this._state.aborted){z();return}this._module.append($,Y,function(U){if(this._task=null,this._state.aborted){this._shutdown();return}if(U){this.emit("error",U),setImmediate(z);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(z)}.bind(this))}_moduleFinalize(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new W6("NOENDMETHOD"))}_modulePipe(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0}_moduleUnpipe(){this._module.unpipe(this),this._state.modulePiped=!1}_normalizeEntryData($,Y){if($={type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1,...$},Y&&$.stats===!1)$.stats=Y;let z=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=EE0($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")z=!0,$.type="directory";else if(z)$.name+="/"}if(typeof $.mode==="number")if(Rm)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(Rm)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(Rm&&z)$.mode=493}else if($.mode===null)$.mode=z?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=TE0($.date);return $}_onModuleError($){this.emit("error",$)}_onQueueDrain(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()}_onQueueTask($,Y){let z=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){z();return}this._task=$,this._moduleAppend($.source,$.data,z)}_onStatQueueTask($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}DR1($.filepath,function(z,U){if(this._state.aborted){setImmediate(Y);return}if(z){this._entriesCount--,this.emit("warning",z),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,U),$){if(U.size)this._fsEntriesTotalBytes+=U.size;this._queue.push($)}setImmediate(Y)}.bind(this))}_shutdown(){this._moduleUnpipe(),this.end()}_transform($,Y,z){if($)this._pointer+=$.length;z(null,$)}_updateQueueTaskWithStats($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=new CE0.Readable(function(){return NR1($.filepath)});else if(Y.isDirectory()&&this._supportsDirectory)$.data.name=Cm($.data.name),$.data.type="directory",$.data.sourcePath=Cm($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._supportsSymlink){let z=BR1($.filepath),U=AR1($.filepath);$.data.type="symlink",$.data.linkname=TR1(U,jR1(U,z)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new W6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new W6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new W6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$}abort(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this}append($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new W6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._supportsDirectory)return this.emit("error",new W6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=jE0($),Buffer.isBuffer($))Y.sourceType="buffer";else if(b2($))Y.sourceType="stream";else return this.emit("error",new W6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this}directory($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new W6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var U=!1;if(typeof z==="function")U=z,z={};else if(typeof z!=="object")z={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(W){this.emit("error",W)}function K(W){G.pause();let H=!1,X=Object.assign({},z);X.name=W.relative,X.prefix=Y,X.stats=W.stat,X.callback=G.resume.bind(G);try{if(U){if(X=U(X),X===!1)H=!0;else if(typeof X!=="object")throw new W6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(H){G.resume();return}this._append(W.absolute,X)}let G=Md($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this}file($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new W6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this}glob($,Y,z){this._pending++,Y={stat:!0,pattern:$,...Y};function U(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();let G=Object.assign({},z);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}let I=new ER1(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",U.bind(this)),this}finalize(){if(this._state.aborted){var $=new W6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new W6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var z=this;return new Promise(function(U,Q){var J;z._module.on("end",function(){if(!J)U()}),z._module.on("error",function(I){J=!0,Q(I)})})}symlink($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new W6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new W6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._supportsSymlink)return this.emit("error",new W6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var U={};if(U.type="symlink",U.name=$.replace(/\\/g,"/"),U.linkname=Y.replace(/\\/g,"/"),U.sourceType="buffer",typeof z==="number")U.mode=z;return this._entriesCount++,this._queue.push({data:U,source:Buffer.concat([])}),this}pointer(){return this._pointer}}});class AU{getName(){}getSize(){}getLastModifiedDate(){}isDirectory(){}}function vE0($,Y){Y=Y||!1;var z=Y?$.getFullYear():$.getUTCFullYear();if(z<1980)return 2162688;else if(z>=2044)return 2141175677;var U={year:z,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return U.year-1980<<25|U.month+1<<21|U.date<<16|U.hours<<11|U.minutes<<5|U.seconds/2}function hE0($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)}function o$($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y}function H6($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y}function SE0($,Y){return $.readUInt16LE(Y)}function l4($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y}var fA=()=>{};class TU{constructor(){return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this}encode(){return H6((this.descriptor?gE0:0)|(this.utf8?xE0:0)|(this.encryption?yE0:0)|(this.strongEncryption?kE0:0))}static parse($,Y){var z=SE0($,Y),U=new TU;return U.useDataDescriptor((z&gE0)!==0),U.useUTF8ForNames((z&xE0)!==0),U.useStrongEncryption((z&kE0)!==0),U.useEncryption((z&yE0)!==0),U.setSlidingDictionarySize((z&RR1)!==0?8192:4096),U.setNumberOfShannonFanoTrees((z&CR1)!==0?3:2),U}setNumberOfShannonFanoTrees($){this.numberOfShannonFanoTrees=$}getNumberOfShannonFanoTrees(){return this.numberOfShannonFanoTrees}setSlidingDictionarySize($){this.slidingDictionarySize=$}getSlidingDictionarySize(){return this.slidingDictionarySize}useDataDescriptor($){this.descriptor=$}usesDataDescriptor(){return this.descriptor}useEncryption($){this.encryption=$}usesEncryption(){return this.encryption}useStrongEncryption($){this.strongEncryption=$}usesStrongEncryption(){return this.strongEncryption}useUTF8ForNames($){this.utf8=$}usesUTF8ForNames(){return this.utf8}}var gE0=8,yE0=1,CR1=4,RR1=2,kE0=64,xE0=2048;var vm=o(()=>{fA()});var hm;var fE0=o(()=>{hm={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var uE0,bE0=65535,Sm=16,uA,jU,iE0=10,gm=20,$q=45,cE0=45,bA=0,Yq=8,ym=3,nE0=0,pE0=67324752,dE0=134695760,mE0=33639248,lE0=101010256,oE0=101075792,rE0=117853008,km=65535,r$=4294967295,sE0=1,aE0=1,tE0=4095,eE0=16384,$C0=32768,YC0=32,zC0=16;var xm=o(()=>{uE0=Buffer.alloc(0),uA=Buffer.from(Array(2)),jU=Buffer.from(Array(4))});var UC0,TK;var fm=o(()=>{vm();fE0();xm();fA();UC0=J6(jz(),1);TK=class TK extends AU{constructor($){super();if(this.platform=nE0,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new TU,this.crc=0,this.time=-1,this.minver=iE0,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)}getCentralDirectoryExtra(){return this.getExtra()}getComment(){return this.comment!==null?this.comment:""}getCompressedSize(){return this.csize}getCrc(){return this.crc}getExternalAttributes=function(){return this.exattr};getExtra(){return this.extra!==null?this.extra:uE0}getGeneralPurposeBit(){return this.gpb}getInternalAttributes(){return this.inattr}getLastModifiedDate(){return this.getTime()}getLocalFileDataExtra(){return this.getExtra()}getMethod(){return this.method}getName(){return this.name}getPlatform(){return this.platform}getSize(){return this.size}getTime(){return this.time!==-1?hE0(this.time):-1}getTimeDos(){return this.time!==-1?this.time:0}getUnixMode(){return this.platform!==ym?0:this.getExternalAttributes()>>Sm&bE0}getVersionNeededToExtract(){return this.minver}setComment($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$}setCompressedSize($){if($<0)throw Error("invalid entry compressed size");this.csize=$}setCrc($){if($<0)throw Error("invalid entry crc32");this.crc=$}setExternalAttributes($){this.exattr=$>>>0}setExtra($){this.extra=$}setGeneralPurposeBit($){if(!($ instanceof TU))throw Error("invalid entry GeneralPurposeBit");this.gpb=$}setInternalAttributes($){this.inattr=$}setMethod($){if($<0)throw Error("invalid entry compression method");this.method=$}setName($,Y=!1){if($=UC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$}setPlatform($){this.platform=$}setSize($){if($<0)throw Error("invalid entry size");this.size=$}setTime($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=vE0($,Y)}setUnixMode($){$|=this.isDirectory()?eE0:$C0;var Y=0;Y|=$<r$||this.size>r$}}});function JC0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(b2($)&&!$._readableState){var Y=new QC0.PassThrough;return $.pipe(Y),Y}return $}var QC0;var IC0=o(()=>{QC0=J6(PU(),1)});var KC0,zq;var um=o(()=>{IC0();KC0=J6(PU(),1);zq=class zq extends KC0.Transform{constructor($){super($);this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}}_appendBuffer($,Y,z){}_appendStream($,Y,z){}_emitErrorCallback=function($){if($)this.emit("error",$)};_finish($){}_normalizeEntry($){}_transform($,Y,z){z(null,$)}entry($,Y,z){if(Y=Y||null,typeof z!=="function")z=this._emitErrorCallback.bind(this);if(!($ instanceof AU)){z(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){z(Error("unacceptable entry after finish"));return}if(this._archive.processing){z(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=JC0(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,z);else if(b2(Y))this._appendStream($,Y,z);else{this._archive.processing=!1,z(Error("input source must be valid Stream or Buffer instance"));return}return this}finish(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()}getBytesWritten(){return this.offset}write($,Y){if($)this.offset+=$.length;return super.write($,Y)}}});var GC0,WC0,Uq;var HC0=o(()=>{GC0=J6(PU(),1),WC0=J6(wI(),1);Uq=class Uq extends GC0.Transform{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,z){if($)this.checksum=WC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;z(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}});import{DeflateRaw as _R1}from"zlib";var XC0,Qq;var ZC0=o(()=>{XC0=J6(wI(),1);Qq=class Qq extends _R1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,z){if($)this.checksum=XC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,z)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}});var qC0=o(()=>{HC0();ZC0()});function vR1($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=aE0;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$}var VC0,Jq;var LC0=o(()=>{qC0();um();fm();vm();xm();fA();VC0=J6(wI(),1);Jq=class Jq extends zq{constructor($){let Y=vR1($);super(Y);this.options=Y,this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:Y.forceZip64,forceLocalTime:Y.forceLocalTime}}_afterAppend($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()}_appendBuffer($,Y,z){if(Y.length===0)$.setMethod(bA);var U=$.getMethod();if(U===bA)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(VC0.default.buf(Y)>>>0);if(this._writeLocalFileHeader($),U===bA){this.write(Y),this._afterAppend($),z(null,$);return}else if(U===Yq){this._smartStream($,z).end(Y);return}else{z(Error("compression method "+U+" not implemented"));return}}_appendStream($,Y,z){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(gm),this._writeLocalFileHeader($);var U=this._smartStream($,z);Y.once("error",function(Q){U.emit("error",Q),U.end()}),Y.pipe(U)}_finish(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()}_normalizeEntry($){if($.getMethod()===-1)$.setMethod(Yq);if($.getMethod()===Yq)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(gm);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}}_smartStream($,Y){var z=$.getMethod()===Yq,U=z?new Qq(this.options.zlib):new Uq,Q=null;function J(){var I=U.digest().readUInt32BE(0);$.setCrc(I),$.setSize(U.size()),$.setCompressedSize(U.size(!0)),this._afterAppend($),Y(Q,$)}return U.once("end",J.bind(this)),U.once("error",function(I){Q=I}),U.pipe(this,{end:!1}),U}_writeCentralDirectoryEnd(){var $=this._entries.length,Y=this._archive.centralLength,z=this._archive.centralOffset;if(this.isZip64())$=km,Y=r$,z=r$;this.write(l4(lE0)),this.write(uA),this.write(uA),this.write(H6($)),this.write(H6($)),this.write(l4(Y)),this.write(l4(z));var U=this.getComment(),Q=Buffer.byteLength(U);this.write(H6(Q)),this.write(U)}_writeCentralDirectoryZip64(){this.write(l4(oE0)),this.write(o$(44)),this.write(H6($q)),this.write(H6($q)),this.write(jU),this.write(jU),this.write(o$(this._entries.length)),this.write(o$(this._entries.length)),this.write(o$(this._archive.centralLength)),this.write(o$(this._archive.centralOffset)),this.write(l4(rE0)),this.write(jU),this.write(o$(this._archive.centralOffset+this._archive.centralLength)),this.write(l4(1))}_writeCentralFileHeader($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$._offsets.file,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||U>r$){Q=r$,J=r$,U=r$,$.setVersionNeededToExtract($q);var I=Buffer.concat([H6(sE0),H6(24),o$($.getSize()),o$($.getCompressedSize()),o$($._offsets.file)],28);$.setExtra(I)}this.write(l4(mE0)),this.write(H6($.getPlatform()<<8|cE0)),this.write(H6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(H6(z)),this.write(l4($.getTimeDos())),this.write(l4($.getCrc())),this.write(l4(J)),this.write(l4(Q));var K=$.getName(),G=$.getComment(),W=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);this.write(H6(K.length)),this.write(H6(W.length)),this.write(H6(G.length)),this.write(uA),this.write(H6($.getInternalAttributes())),this.write(l4($.getExternalAttributes())),this.write(l4(U)),this.write(K),this.write(W),this.write(G)}_writeDataDescriptor($){if(this.write(l4(dE0)),this.write(l4($.getCrc())),$.isZip64())this.write(o$($.getCompressedSize())),this.write(o$($.getSize()));else this.write(l4($.getCompressedSize())),this.write(l4($.getSize()))}_writeLocalFileHeader($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract($q);if(Y.usesUTF8ForNames())U=Buffer.from(U);if($._offsets.file=this.offset,this.write(l4(pE0)),this.write(H6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(H6(z)),this.write(l4($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(jU),this.write(jU),this.write(jU);else this.write(l4($.getCrc())),this.write(l4($.getCompressedSize())),this.write(l4($.getSize()));this.write(H6(U.length)),this.write(H6(Q.length)),this.write(U),this.write(Q),$._offsets.contents=this.offset}getComment($){return this._archive.comment!==null?this._archive.comment:""}isZip64(){return this._archive.forceZip64||this._entries.length>km||this._archive.centralLength>r$||this._archive.centralOffset>r$}setComment($){this._archive.comment=$}}});var FC0=o(()=>{fm();um();LC0()});function MC0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function OC0($){return wC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}var wC0;var NC0=o(()=>{wC0=J6(jz(),1)});var iA;var DC0=o(()=>{FC0();NC0();iA=class iA extends Jq{constructor($){if($=$||{},$.zlib=$.zlib||{},typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;$.namePrependSlash=$.namePrependSlash||!1;super($);if($.comment&&$.comment.length>0)this.setComment($.comment)}_normalizeFileData($){$={type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:"",...$};let Y=$.type==="directory",z=$.type==="symlink";if($.name){if($.name=OC0($.name),!z&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||z)$.store=!0;return $.date=MC0($.date),$}entry($,Y,z){if(typeof z!=="function")z=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){z(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){z(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){z(Error("entry linkname must be a non-empty string value when type equals symlink"));return}let U=new TK(Y.name);if(U.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)U.setName(Y.name,!0);if(Y.store)U.setMethod(0);if(Y.comment.length>0)U.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;U.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return super.entry(U,$,z)}finalize(){this.finish()}}});class cA{constructor($){$=this.options={comment:"",forceUTC:!1,namePrependSlash:!1,store:!1,...$},this.engine=new iA($)}append($,Y,z){this.engine.entry($,Y,z)}finalize(){this.engine.finalize()}on(){return this.engine.on.apply(this.engine,arguments)}pipe(){return this.engine.pipe.apply(this.engine,arguments)}unpipe(){return this.engine.unpipe.apply(this.engine,arguments)}}var BC0=o(()=>{DC0()});var AC0=E((t44,PC0)=>{PC0.exports=class{constructor(Y){if(!(Y>0)||(Y-1&Y)!==0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(Y),this.mask=Y-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(Y){if(this.buffer[this.top]!==void 0)return!1;return this.buffer[this.top]=Y,this.top=this.top+1&this.mask,!0}shift(){let Y=this.buffer[this.btm];if(Y===void 0)return;return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,Y}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var bm=E((e44,jC0)=>{var TC0=AC0();jC0.exports=class{constructor(Y){this.hwm=Y||16,this.head=new TC0(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(Y){if(this.length++,!this.head.push(Y)){let z=this.head;this.head=z.next=new TC0(2*this.head.buffer.length),this.head.push(Y)}}shift(){if(this.length!==0)this.length--;let Y=this.tail.shift();if(Y===void 0&&this.tail.next){let z=this.tail.next;return this.tail.next=null,this.tail=z,this.tail.shift()}return Y}peek(){let Y=this.tail.peek();if(Y===void 0&&this.tail.next)return this.tail.next.peek();return Y}isEmpty(){return this.length===0}}});var jK=E(($64,EC0)=>{function hR1($){return Buffer.isBuffer($)||$ instanceof Uint8Array}function SR1($){return Buffer.isEncoding($)}function gR1($,Y,z){return Buffer.alloc($,Y,z)}function yR1($){return Buffer.allocUnsafe($)}function kR1($){return Buffer.allocUnsafeSlow($)}function xR1($,Y){return Buffer.byteLength($,Y)}function fR1($,Y){return Buffer.compare($,Y)}function uR1($,Y){return Buffer.concat($,Y)}function bR1($,Y,z,U,Q){return W4($).copy(Y,z,U,Q)}function iR1($,Y){return W4($).equals(Y)}function cR1($,Y,z,U,Q){return W4($).fill(Y,z,U,Q)}function nR1($,Y,z){return Buffer.from($,Y,z)}function pR1($,Y,z,U){return W4($).includes(Y,z,U)}function dR1($,Y,z,U){return W4($).indexOf(Y,z,U)}function mR1($,Y,z,U){return W4($).lastIndexOf(Y,z,U)}function lR1($){return W4($).swap16()}function oR1($){return W4($).swap32()}function rR1($){return W4($).swap64()}function W4($){if(Buffer.isBuffer($))return $;return Buffer.from($.buffer,$.byteOffset,$.byteLength)}function sR1($,Y,z,U){return W4($).toString(Y,z,U)}function aR1($,Y,z){return W4($).toString("hex",Y,z)}function tR1($,Y,z,U,Q){return W4($).write(Y,z,U,Q)}function eR1($,Y){return W4($).readDoubleBE(Y)}function $_1($,Y){return W4($).readDoubleLE(Y)}function Y_1($,Y){return W4($).readFloatBE(Y)}function z_1($,Y){return W4($).readFloatLE(Y)}function U_1($,Y){return W4($).readInt32BE(Y)}function Q_1($,Y){return W4($).readInt32LE(Y)}function J_1($,Y){return W4($).readUInt32BE(Y)}function I_1($,Y){return W4($).readUInt32LE(Y)}function K_1($,Y,z){return W4($).writeDoubleBE(Y,z)}function G_1($,Y,z){return W4($).writeDoubleLE(Y,z)}function W_1($,Y,z){return W4($).writeFloatBE(Y,z)}function H_1($,Y,z){return W4($).writeFloatLE(Y,z)}function X_1($,Y,z){return W4($).writeInt32BE(Y,z)}function Z_1($,Y,z){return W4($).writeInt32LE(Y,z)}function q_1($,Y,z){return W4($).writeUInt32BE(Y,z)}function V_1($,Y,z){return W4($).writeUInt32LE(Y,z)}EC0.exports={isBuffer:hR1,isEncoding:SR1,alloc:gR1,allocUnsafe:yR1,allocUnsafeSlow:kR1,byteLength:xR1,compare:fR1,concat:uR1,copy:bR1,equals:iR1,fill:cR1,from:nR1,includes:pR1,indexOf:dR1,lastIndexOf:mR1,swap16:lR1,swap32:oR1,swap64:rR1,toBuffer:W4,toString:sR1,toHex:aR1,write:tR1,readDoubleBE:eR1,readDoubleLE:$_1,readFloatBE:Y_1,readFloatLE:z_1,readInt32BE:U_1,readInt32LE:Q_1,readUInt32BE:J_1,readUInt32LE:I_1,writeDoubleBE:K_1,writeDoubleLE:G_1,writeFloatBE:W_1,writeFloatLE:H_1,writeInt32BE:X_1,writeInt32LE:Z_1,writeUInt32BE:q_1,writeUInt32LE:V_1}});var RC0=E((Y64,CC0)=>{var L_1=jK();CC0.exports=class{constructor(Y){this.encoding=Y}get remaining(){return 0}decode(Y){return L_1.toString(Y,this.encoding)}flush(){return""}}});var SC0=E((z64,hC0)=>{var _C0=jK();hC0.exports=class{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(Y){if(Y.byteLength===0)return"";if(this.bytesNeeded===0&&vC0(Y,0)===0)return this.bytesSeen=F_1(Y),_C0.toString(Y,"utf8");let z="",U=0;if(this.bytesNeeded>0){while(Uthis.upperBoundary){z+="�",this._reset();break}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|I&63,this.bytesSeen++,U++,this.bytesSeen===this.bytesNeeded){z+=String.fromCodePoint(this.codePoint),this._reset();break}}if(this.bytesNeeded>0)return z}let Q=vC0(Y,U),J=Y.byteLength-Q;if(J>U)z+=_C0.toString(Y,"utf8",U,J);for(let I=J;I=194&&K<=223)this.bytesNeeded=2,this.bytesSeen=1,this.codePoint=K&31;else if(K>=224&&K<=239){if(K===224)this.lowerBoundary=160;else if(K===237)this.upperBoundary=159;this.bytesNeeded=3,this.bytesSeen=1,this.codePoint=K&15}else if(K>=240&&K<=244){if(K===240)this.lowerBoundary=144;else if(K===244)this.upperBoundary=143;this.bytesNeeded=4,this.bytesSeen=1,this.codePoint=K&7}else this.bytesSeen=1,z+="�";continue}if(Kthis.upperBoundary){z+="�",I--,this._reset();continue}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|K&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded)z+=String.fromCodePoint(this.codePoint),this._reset()}return z}flush(){let Y=this.bytesNeeded>0?"�":"";return this._reset(),Y}_reset(){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191}};function vC0($,Y){let z=$.byteLength;if(z<=Y)return 0;let U=Math.max(Y,z-4),Q=z-1;while(Q>U&&($[Q]&192)===128)Q--;if(Q=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 0;let K=z-Q;return K=U&&($[Q]&192)===128)Q--;if(Q<0)return 1;let J=$[Q],I;if(J>=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 1;if(Y-Q!==I)return 1;if(I>=3){let K=$[Q+1];if(J===224&&K<160)return 1;if(J===237&&K>159)return 1;if(J===240&&K<144)return 1;if(J===244&&K>143)return 1}return 0}});var yC0=E((U64,gC0)=>{var w_1=RC0(),M_1=SC0();gC0.exports=class{constructor(Y="utf8"){switch(this.encoding=O_1(Y),this.encoding){case"utf8":this.decoder=new M_1;break;case"utf16le":case"base64":throw Error("Unsupported encoding: "+this.encoding);default:this.decoder=new w_1(this.encoding)}}get remaining(){return this.decoder.remaining}push(Y){if(typeof Y==="string")return Y;return this.decoder.decode(Y)}write(Y){return this.push(Y)}end(Y){let z="";if(Y)z=this.push(Y);return z+=this.decoder.flush(),z}};function O_1($){switch($=$.toLowerCase(),$){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:throw Error("Unknown encoding: "+$)}}});var xC0=E((Q64,kC0)=>{kC0.exports=class $ extends Error{constructor(Y,z,U=$){super(Y);if(this.code=z,Error.captureStackTrace)Error.captureStackTrace(this,U)}static isStreamDestroyed(Y){return Y&&Y.code==="STREAM_DESTROYED"}static isPrematureClose(Y){return Y&&Y.code==="PREMATURE_CLOSE"}static isAborted(Y){return Y&&Y.code==="ABORTED"}static isBadArgument(Y){return Y&&Y.code==="BAD_ARGUMENT"}get name(){return"StreamError"}static STREAM_DESTROYED(){return new $("Stream was destroyed","STREAM_DESTROYED",$.STREAM_DESTROYED)}static PREMATURE_CLOSE(Y="Premature close"){return new $(Y,"PREMATURE_CLOSE",$.PREMATURE_CLOSE)}static ABORTED(){return new $("Stream aborted","ABORTED",$.ABORTED)}static BAD_ARGUMENT(Y="Bad argument"){return new $(Y,"BAD_ARGUMENT",$.BAD_ARGUMENT)}}});var om=E((J64,mC0)=>{var{EventEmitter:N_1}=I0("events"),fC0=bm(),D_1=yC0(),s$=xC0(),im=typeof queueMicrotask>"u"?($)=>global.process.nextTick($):queueMicrotask,nA=Symbol.asyncIterator||Symbol("asyncIterator");class nm{constructor($,{highWaterMark:Y=16384,map:z=null,mapWritable:U,byteLength:Q,byteLengthWritable:J}={}){this.stream=$,this.queue=new fC0,this.highWaterMark=Y,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=J||Q||dC0,this.map=U||z,this.afterWrite=A_1.bind(this),this.afterUpdateNextTick=E_1.bind(this)}get ending(){return(this.stream._duplexState&134217728)!==0}get ended(){return(this.stream._duplexState&8388608)!==0}push($){if((this.stream._duplexState&142606350)!==0)return!1;if(this.map!==null)$=this.map($);if(this.buffered+=this.byteLength($),this.queue.push($),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=J||Q||dC0,this.map=U||z,this.pipeTo=null,this.afterRead=T_1.bind(this),this.afterUpdateNextTick=j_1.bind(this)}get ending(){return(this.stream._duplexState&1024)!==0}get ended(){return(this.stream._duplexState&16384)!==0}pipe($,Y){if(this.pipeTo!==null)throw s$.BAD_ARGUMENT("Can only pipe to one destination");if(typeof Y!=="function")Y=null;if(this.stream._duplexState|=512,this.pipeTo=$,this.pipeline=new iC0(this.stream,$,Y),Y)this.stream.on("error",cm);if(Kq($)){if($._writableState.pipeline=this.pipeline,Y)$.on("error",cm);$.on("finish",this.pipeline.finished.bind(this.pipeline))}else{let z=this.pipeline.done.bind(this.pipeline,$),U=this.pipeline.done.bind(this.pipeline,$,null);$.on("error",z),$.on("close",U),$.on("finish",this.pipeline.finished.bind(this.pipeline))}$.on("drain",B_1.bind(this)),this.stream.emit("piping",$),$.emit("pipe",this.stream)}push($){let Y=this.stream;if($===null)return this.highWaterMark=0,Y._duplexState=(Y._duplexState|1024)&536805311,!1;if(this.map!==null){if($=this.map($),$===null)return Y._duplexState&=536805375,this.buffered0)Y.push(this.shift());for(let z=0;z0)U.drains.shift().resolve(!1);if(U.pipeline!==null)U.pipeline.done(Y,$)}}function A_1($){let Y=this.stream;if($)Y.destroy($);if(Y._duplexState&=469499903,this.drains!==null)C_1(this.drains);if((Y._duplexState&6553615)===4194304){if(Y._duplexState&=532676607,(Y._duplexState&16777216)===16777216)Y.emit("drain")}this.updateCallback()}function T_1($){if($)this.stream.destroy($);if(this.stream._duplexState&=536870895,this.readAhead===!1&&(this.stream._duplexState&256)===0)this.stream._duplexState&=536739839;this.updateCallback()}function j_1(){if((this.stream._duplexState&32)===0)this.stream._duplexState&=536838143,this.update()}function E_1(){if((this.stream._duplexState&524288)===0)this.stream._duplexState&=503316479,this.update()}function C_1($){for(let Y=0;Y<$.length;Y++)if(--$[Y].writes===0)$.shift().resolve(!0),Y--}function nC0($){let Y=this.stream;if($)Y.destroy($);if((Y._duplexState&4)===0){if((Y._duplexState&17423)===0)Y._duplexState|=64;if((Y._duplexState&142606351)===0)Y._duplexState|=1048576;Y.emit("open")}if(Y._duplexState&=536608751,Y._writableState!==null)Y._writableState.updateCallback();if(Y._readableState!==null)Y._readableState.updateCallback()}function R_1($,Y){if(Y!==void 0&&Y!==null)this.push(Y);this._writableState.afterWrite($)}function __1($){if(this._readableState!==null){if($==="data")this._duplexState|=133376,this._readableState.updateNextTick();if($==="readable")this._duplexState|=4096,this._readableState.updateNextTick()}if(this._writableState!==null){if($==="drain")this._duplexState|=16777216,this._writableState.updateNextTick()}}class pA extends N_1{constructor($){super();if(this._duplexState=0,this._readableState=null,this._writableState=null,$){if($.open)this._open=$.open;if($.destroy)this._destroy=$.destroy;if($.predestroy)this._predestroy=$.predestroy;if($.signal)$.signal.addEventListener("abort",c_1.bind(this))}this.on("newListener",__1)}_open($){$(null)}_destroy($){$(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&8)!==0}get destroying(){return(this._duplexState&14)!==0}destroy($){if((this._duplexState&14)===0){if(!$)$=s$.STREAM_DESTROYED();if(this._duplexState=(this._duplexState|4)&535822271,this._readableState!==null)this._readableState.highWaterMark=0,this._readableState.error=$;if(this._writableState!==null)this._writableState.highWaterMark=0,this._writableState.error=$;if(this._duplexState|=2,this._predestroy(),this._duplexState&=536870909,this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class Iq extends pA{constructor($){super($);if(this._duplexState|=8519681,this._readableState=new uC0(this,$),$){if(this._readableState.readAhead===!1)this._duplexState&=536739839;if($.read)this._read=$.read;if($.eagerOpen)this._readableState.updateNextTick();if($.encoding)this.setEncoding($.encoding)}}static deferred($,Y){let z=new mm(Y);return $().then((U)=>{if(U===null)return z.end();if(z.destroying)return;lm(U,z,cm)}).catch((U)=>z.destroy(U)),z}setEncoding($){let Y=new D_1($),z=this._readableState.map||S_1;return this._readableState.map=U,this;function U(Q){let J=Y.push(Q);return J===""&&(Q.byteLength!==0||Y.remaining>0)?null:z(J)}}_read($){$(null)}pipe($,Y){return this._readableState.updateNextTick(),this._readableState.pipe($,Y),$}read(){return this._readableState.updateNextTick(),this._readableState.read()}push($){return this._readableState.updateNextTickIfOpen(),this._readableState.push($)}unshift($){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift($)}resume(){return this._duplexState|=131328,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?536739583:536870655,this}static _fromAsyncIterator($,Y){let z,U=new Iq({...Y,read(J){$.next().then(Q).then(J.bind(null,null)).catch(J)},predestroy(){z=$.return()},destroy(J){if(!z)return J(null);z.then(J.bind(null,null)).catch(J)}});return U;function Q(J){if(J.done)U.push(null);else U.push(J.value)}}static from($,Y){if(u_1($))return $;if($[nA])return this._fromAsyncIterator($[nA](),Y);if(!Array.isArray($))$=$===void 0?[]:[$];let z=0;return new Iq({...Y,read(U){this.push(z===$.length?null:$[z++]),U(null)}})}static isBackpressured($){return($._duplexState&17422)!==0||$._readableState.buffered>=$._readableState.highWaterMark}static isPaused($){return($._duplexState&256)===0}[nA](){let $=this,Y=null,z=null,U=null;return this.on("error",(G)=>{Y=G}),this.on("readable",Q),this.on("close",J),{[nA](){return this},next(){return new Promise(function(G,W){z=G,U=W;let H=$.read();if(H!==null)I(H);else if(($._duplexState&8)!==0)I(null)})},return(){return K(null)},throw(G){return K(G)}};function Q(){if(z!==null)I($.read())}function J(){if(z!==null)I(null)}function I(G){if(U===null)return;if(Y)U(Y);else if(G===null&&($._duplexState&16384)===0)U(s$.STREAM_DESTROYED());else z({value:G,done:G===null});U=z=null}function K(G){return $.destroy(G),new Promise((W,H)=>{if($._duplexState&8)return W({value:void 0,done:!0});$.once("close",function(){if(G)H(G);else W({value:void 0,done:!0})})})}}}class pm extends pA{constructor($){super($);if(this._duplexState|=16385,this._writableState=new nm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final;if($.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}static isBackpressured($){return($._duplexState&146800654)!==0}static drained($){if($.destroyed)return Promise.resolve(!1);let Y=$._writableState,U=(n_1($)?Math.min(1,Y.queue.length):Y.queue.length)+($._duplexState&67108864?1:0);if(U===0)return Promise.resolve(!0);if(Y.drains===null)Y.drains=[];return new Promise((Q)=>{Y.drains.push({writes:U,resolve:Q})})}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class dA extends Iq{constructor($){super($);if(this._duplexState=1|this._duplexState&131072,this._writableState=new nm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class dm extends dA{constructor($){super($);if(this._transformState=new bC0(this),$){if($.transform)this._transform=$.transform;if($.flush)this._flush=$.flush}}_write($,Y){if(this._readableState.buffered>=this._readableState.highWaterMark)this._transformState.data=$;else this._transform($,this._transformState.afterTransform)}_read($){if(this._transformState.data!==null){let Y=this._transformState.data;this._transformState.data=null,$(null),this._transform(Y,this._transformState.afterTransform)}else $(null)}destroy($){if(super.destroy($),this._transformState.data!==null)this._transformState.data=null,this._transformState.afterTransform()}_transform($,Y){Y(null,$)}_flush($){$(null)}_final($){this._transformState.afterFinal=$,this._flush(v_1.bind(this))}}class mm extends dm{}function v_1($,Y){let z=this._transformState.afterFinal;if($)return z($);if(Y!==null&&Y!==void 0)this.push(Y);this.push(null),z(null)}function h_1(...$){return new Promise((Y,z)=>{return lm(...$,(U)=>{if(U)return z(U);Y()})})}function lm($,...Y){let z=Array.isArray($)?[...$,...Y]:[$,...Y],U=z.length&&typeof z[z.length-1]==="function"?z.pop():null;if(z.length<2)throw s$.BAD_ARGUMENT("Pipeline requires at least 2 streams");let Q=z[0],J=null,I=null;for(let W=1;W1,G),Q.pipe(J);Q=J}if(U){let W=!1,H=Kq(J)||!!(J._writableState&&J._writableState.autoDestroy);if(J.on("error",(X)=>{if(I===null)I=X}),J.on("finish",()=>{if(W=!0,!H)U(I)}),H)J.on("close",()=>U(I||(W?null:s$.PREMATURE_CLOSE())))}return J;function K(W,H,X,Z){W.on("error",Z),W.on("close",q);function q(){if(H&&W._readableState&&!W._readableState.ended)return Z(s$.PREMATURE_CLOSE());if(X&&W._writableState&&!W._writableState.ended)return Z(s$.PREMATURE_CLOSE())}}function G(W){if(!W||I)return;I=W;for(let H of z)H.destroy(W)}}function S_1($){return $}function pC0($){return!!$._readableState||!!$._writableState}function Kq($){return typeof $._duplexState==="number"&&pC0($)}function g_1($){return!!$._readableState&&$._readableState.ending}function y_1($){return!!$._readableState&&$._readableState.ended}function k_1($){return!!$._writableState&&$._writableState.ending}function x_1($){return!!$._writableState&&$._writableState.ended}function f_1($,Y={}){let z=$._readableState&&$._readableState.error||$._writableState&&$._writableState.error;return!Y.all&&s$.isStreamDestroyed(z)?null:z}function u_1($){return Kq($)&&$.readable}function b_1($){return($._duplexState&1)!==1||($._duplexState&4)===4||($._duplexState&33587200)!==0}function i_1($){return typeof $==="object"&&$!==null&&typeof $.byteLength==="number"}function dC0($){return i_1($)?$.byteLength:1024}function cm(){}function c_1(){this.destroy(s$.ABORTED())}function n_1($){return $._writev!==pm.prototype._writev&&$._writev!==dA.prototype._writev}mC0.exports={pipeline:lm,pipelinePromise:h_1,isStream:pC0,isStreamx:Kq,isEnding:g_1,isEnded:y_1,isFinishing:k_1,isFinished:x_1,isDisturbed:b_1,getStreamError:f_1,Stream:pA,Writable:pm,Readable:Iq,Duplex:dA,Transform:dm,PassThrough:mm}});var sm=E((Yv1)=>{var n1=jK(),lC0=n1.from([117,115,116,97,114,0]),p_1=n1.from([48,48]),d_1=n1.from([117,115,116,97,114,32]),m_1=n1.from([32,0]);Yv1.decodeLongPath=function(Y,z){return EK(Y,0,Y.length,z)};Yv1.encodePax=function(Y){let z="";if(Y.name)z+=rm(" path="+Y.name+` +\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}});var WP0=E((IB1)=>{var rp=y7().Buffer;IB1._dbcs=x7;var z8=-1,GP0=-2,p$=-10,h8=-1000,KK=Array(256),SZ=-1;for(hZ=0;hZ<256;hZ++)KK[hZ]=z8;var hZ;function x7($,Y){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var z=$.table();this.decodeTables=[],this.decodeTables[0]=KK.slice(0),this.decodeTableSeq=[];for(var U=0;Uh8)throw Error("gb18030 decode tables conflict at byte 2");var W=this.decodeTables[h8-K[G]];for(var H=129;H<=254;H++){if(W[H]===z8)W[H]=h8-J;else if(W[H]===h8-J)continue;else if(W[H]>h8)throw Error("gb18030 decode tables conflict at byte 3");var X=this.decodeTables[h8-W[H]];for(var Z=48;Z<=57;Z++)if(X[Z]===z8)X[Z]=GP0}}}}this.defaultCharUnicode=Y.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var q={};if($.encodeSkipVals)for(var U=0;U<$.encodeSkipVals.length;U++){var V=$.encodeSkipVals[U];if(typeof V==="number")q[V]=!0;else for(var G=V.from;G<=V.to;G++)q[G]=!0}if(this._fillEncodeTable(0,0,q),$.encodeAdd){for(var F in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,F))this._setEncodeChar(F.charCodeAt(0),$.encodeAdd[F])}if(this.defCharSB=this.encodeTable[0][Y.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===z8)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===z8)this.defCharSB=63}x7.prototype.encoder=$A;x7.prototype.decoder=sp;x7.prototype._getDecodeTrieNode=function($){var Y=[];for(;$>0;$>>>=8)Y.push($&255);if(Y.length==0)Y.push(0);var z=this.decodeTables[0];for(var U=Y.length-1;U>0;U--){var Q=z[Y[U]];if(Q==z8)z[Y[U]]=h8-this.decodeTables.length,this.decodeTables.push(z=KK.slice(0));else if(Q<=h8)z=this.decodeTables[h8-Q];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return z};x7.prototype._addDecodeChunk=function($){var Y=parseInt($[0],16),z=this._getDecodeTrieNode(Y);Y=Y&255;for(var U=1;U<$.length;U++){var Q=$[U];if(typeof Q==="string")for(var J=0;J=55296&&I<56320){var K=Q.charCodeAt(J++);if(K>=56320&&K<57344)z[Y++]=65536+(I-55296)*1024+(K-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(I>4080&&I<=4095){var G=4095-I+2,W=[];for(var H=0;H255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+Y)};x7.prototype._getEncodeBucket=function($){var Y=$>>8;if(this.encodeTable[Y]===void 0)this.encodeTable[Y]=KK.slice(0);return this.encodeTable[Y]};x7.prototype._setEncodeChar=function($,Y){var z=this._getEncodeBucket($),U=$&255;if(z[U]<=p$)this.encodeTableSeq[p$-z[U]][SZ]=Y;else if(z[U]==z8)z[U]=Y};x7.prototype._setEncodeSequence=function($,Y){var z=$[0],U=this._getEncodeBucket(z),Q=z&255,J;if(U[Q]<=p$)J=this.encodeTableSeq[p$-U[Q]];else{if(J={},U[Q]!==z8)J[SZ]=U[Q];U[Q]=p$-this.encodeTableSeq.length,this.encodeTableSeq.push(J)}for(var I=1;I<$.length-1;I++){var K=J[z];if(typeof K==="object")J=K;else if(J=J[z]={},K!==void 0)J[SZ]=K}z=$[$.length-1],J[z]=Y};x7.prototype._fillEncodeTable=function($,Y,z){var U=this.decodeTables[$],Q=!1,J={};for(var I=0;I<256;I++){var K=U[I],G=Y+I;if(z[G])continue;if(K>=0)this._setEncodeChar(K,G),Q=!0;else if(K<=h8){var W=h8-K;if(!J[W]){var H=G<<8>>>0;if(this._fillEncodeTable(W,H,z))Q=!0;else J[W]=!0}}else if(K<=p$)this._setEncodeSequence(this.decodeTableSeq[p$-K],G),Q=!0}return Q};function $A($,Y){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=Y.encodeTable,this.encodeTableSeq=Y.encodeTableSeq,this.defaultCharSingleByte=Y.defCharSB,this.gb18030=Y.gb18030}$A.prototype.write=function($){var Y=rp.alloc($.length*(this.gb18030?4:3)),z=this.leadSurrogate,U=this.seqObj,Q=-1,J=0,I=0;while(!0){if(Q===-1){if(J==$.length)break;var K=$.charCodeAt(J++)}else{var K=Q;Q=-1}if(K>=55296&&K<57344)if(K<56320)if(z===-1){z=K;continue}else z=K,K=z8;else if(z!==-1)K=65536+(z-55296)*1024+(K-56320),z=-1;else K=z8;else if(z!==-1)Q=K,K=z8,z=-1;var G=z8;if(U!==void 0&&K!=z8){var W=U[K];if(typeof W==="object"){U=W;continue}else if(typeof W==="number")G=W;else if(W==null){if(W=U[SZ],W!==void 0)G=W,Q=K}U=void 0}else if(K>=0){var H=this.encodeTable[K>>8];if(H!==void 0)G=H[K&255];if(G<=p$){U=this.encodeTableSeq[p$-G];continue}if(G==z8&&this.gb18030){var X=ap(this.gb18030.uChars,K);if(X!=-1){var G=this.gb18030.gbChars[X]+(K-this.gb18030.uChars[X]);Y[I++]=129+Math.floor(G/12600),G=G%12600,Y[I++]=48+Math.floor(G/1260),G=G%1260,Y[I++]=129+Math.floor(G/10),G=G%10,Y[I++]=48+G;continue}}}if(G===z8)G=this.defaultCharSingleByte;if(G<256)Y[I++]=G;else if(G<65536)Y[I++]=G>>8,Y[I++]=G&255;else if(G<16777216)Y[I++]=G>>16,Y[I++]=G>>8&255,Y[I++]=G&255;else Y[I++]=G>>>24,Y[I++]=G>>>16&255,Y[I++]=G>>>8&255,Y[I++]=G&255}return this.seqObj=U,this.leadSurrogate=z,Y.slice(0,I)};$A.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=rp.alloc(10),Y=0;if(this.seqObj){var z=this.seqObj[SZ];if(z!==void 0)if(z<256)$[Y++]=z;else $[Y++]=z>>8,$[Y++]=z&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[Y++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,Y)};$A.prototype.findIdx=ap;function sp($,Y){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=Y.decodeTables,this.decodeTableSeq=Y.decodeTableSeq,this.defaultCharUnicode=Y.defaultCharUnicode,this.gb18030=Y.gb18030}sp.prototype.write=function($){var Y=rp.alloc($.length*2),z=this.nodeIdx,U=this.prevBytes,Q=this.prevBytes.length,J=-this.prevBytes.length,I;for(var K=0,G=0;K<$.length;K++){var W=K>=0?$[K]:U[K+Q],I=this.decodeTables[z][W];if(I>=0);else if(I===z8)I=this.defaultCharUnicode.charCodeAt(0),K=J;else if(I===GP0){if(K>=3)var H=($[K-3]-129)*12600+($[K-2]-48)*1260+($[K-1]-129)*10+(W-48);else var H=(U[K-3+Q]-129)*12600+((K-2>=0?$[K-2]:U[K-2+Q])-48)*1260+((K-1>=0?$[K-1]:U[K-1+Q])-129)*10+(W-48);var X=ap(this.gb18030.gbChars,H);I=this.gb18030.uChars[X]+H-this.gb18030.gbChars[X]}else if(I<=h8){z=h8-I;continue}else if(I<=p$){var Z=this.decodeTableSeq[p$-I];for(var q=0;q>8;I=Z[Z.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+I+" at "+z+"/"+W);if(I>=65536){I-=65536;var V=55296|I>>10;Y[G++]=V&255,Y[G++]=V>>8,I=56320|I&1023}Y[G++]=I&255,Y[G++]=I>>8,z=0,J=K+1}return this.nodeIdx=z,this.prevBytes=J>=0?Array.prototype.slice.call($,J):U.slice(J+Q).concat(Array.prototype.slice.call($)),Y.slice(0,G).toString("ucs2")};sp.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var Y=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,Y.length>0)$+=this.write(Y)}return this.prevBytes=[],this.nodeIdx=0,$};function ap($,Y){if($[0]>Y)return-1;var z=0,U=$.length;while(z>1);if($[Q]<=Y)z=Q;else U=Q}return z}});var HP0=E((C04,GB1)=>{GB1.exports=[["0","\x00",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]});var XP0=E((R04,WB1)=>{WB1.exports=[["0","\x00",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]});var YA=E((_04,HB1)=>{HB1.exports=[["0","\x00",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]});var tp=E((v04,XB1)=>{XB1.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]});var ZP0=E((h04,ZB1)=>{ZB1.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}});var qP0=E((S04,qB1)=>{qB1.exports=[["0","\x00",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]});var ep=E((g04,VB1)=>{VB1.exports=[["0","\x00",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]});var VP0=E((y04,LB1)=>{LB1.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]});var FP0=E((k04,LP0)=>{LP0.exports={shiftjis:{type:"_dbcs",table:function(){return HP0()},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return XP0()},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return YA()}},gbk:{type:"_dbcs",table:function(){return YA().concat(tp())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return YA().concat(tp())},gb18030:function(){return ZP0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return qP0()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return ep()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return ep().concat(VP0())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var OP0=E((MP0,yZ)=>{var FB1=Dp(),wP0=[oB0(),aB0(),$P0(),zP0(),UP0(),JP0(),KP0(),WP0(),FP0()];for(gZ=0;gZ{var NP0=y7().Buffer;DP0.exports=function($){var Y=$.Transform;function z(Q,J){this.conv=Q,J=J||{},J.decodeStrings=!1,Y.call(this,J)}z.prototype=Object.create(Y.prototype,{constructor:{value:z}}),z.prototype._transform=function(Q,J,I){if(typeof Q!=="string")return I(Error("Iconv encoding stream needs strings as its input."));try{var K=this.conv.write(Q);if(K&&K.length)this.push(K);I()}catch(G){I(G)}},z.prototype._flush=function(Q){try{var J=this.conv.end();if(J&&J.length)this.push(J);Q()}catch(I){Q(I)}},z.prototype.collect=function(Q){var J=[];return this.on("error",Q),this.on("data",function(I){J.push(I)}),this.on("end",function(){Q(null,NP0.concat(J))}),this};function U(Q,J){this.conv=Q,J=J||{},J.encoding=this.encoding="utf8",Y.call(this,J)}return U.prototype=Object.create(Y.prototype,{constructor:{value:U}}),U.prototype._transform=function(Q,J,I){if(!NP0.isBuffer(Q)&&!(Q instanceof Uint8Array))return I(Error("Iconv decoding stream needs buffers as its input."));try{var K=this.conv.write(Q);if(K&&K.length)this.push(K,this.encoding);I()}catch(G){I(G)}},U.prototype._flush=function(Q){try{var J=this.conv.end();if(J&&J.length)this.push(J,this.encoding);Q()}catch(I){Q(I)}},U.prototype.collect=function(Q){var J="";return this.on("error",Q),this.on("data",function(I){J+=I}),this.on("end",function(){Q(null,J)}),this},{IconvLiteEncoderStream:z,IconvLiteDecoderStream:U}}});var _P0=E((BB1,F1)=>{var PP0=y7().Buffer,AP0=dB0(),DB1=Dp();BB1.encodings=null;BB1.defaultCharUnicode="�";BB1.defaultCharSingleByte="?";BB1.encode=function(Y,z,U){Y=""+(Y||"");var Q=BB1.getEncoder(z,U),J=Q.write(Y),I=Q.end();return I&&I.length>0?PP0.concat([J,I]):J};BB1.decode=function(Y,z,U){if(typeof Y==="string"){if(!BB1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),BB1.skipDecodeWarning=!0;Y=PP0.from(""+(Y||""),"binary")}var Q=BB1.getDecoder(z,U),J=Q.write(Y),I=Q.end();return I?J+I:J};BB1.encodingExists=function(Y){try{return BB1.getCodec(Y),!0}catch(z){return!1}};BB1.toEncoding=BB1.encode;BB1.fromEncoding=BB1.decode;BB1._codecDataCache={__proto__:null};BB1.getCodec=function(Y){if(!BB1.encodings){var z=OP0();BB1.encodings={__proto__:null},DB1(BB1.encodings,z)}var U=BB1._canonicalizeEncoding(Y),Q={};while(!0){var J=BB1._codecDataCache[U];if(J)return J;var I=BB1.encodings[U];switch(typeof I){case"string":U=I;break;case"object":for(var K in I)Q[K]=I[K];if(!Q.encodingName)Q.encodingName=U;U=I.type;break;case"function":if(!Q.encodingName)Q.encodingName=U;return J=new I(Q,BB1),BB1._codecDataCache[Q.encodingName]=J,J;default:throw Error("Encoding not recognized: '"+Y+"' (searched as: '"+U+"')")}}};BB1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};BB1.getEncoder=function(Y,z){var U=BB1.getCodec(Y),Q=new U.encoder(z,U);if(U.bomAware&&z&&z.addBOM)Q=new AP0.PrependBOM(Q,z);return Q};BB1.getDecoder=function(Y,z){var U=BB1.getCodec(Y),Q=new U.decoder(z,U);if(U.bomAware&&!(z&&z.stripBOM===!1))Q=new AP0.StripBOM(Q,z);return Q};BB1.enableStreamingAPI=function(Y){if(BB1.supportsStreams)return;var z=BP0()(Y);BB1.IconvLiteEncoderStream=z.IconvLiteEncoderStream,BB1.IconvLiteDecoderStream=z.IconvLiteDecoderStream,BB1.encodeStream=function(Q,J){return new BB1.IconvLiteEncoderStream(BB1.getEncoder(Q,J),J)},BB1.decodeStream=function(Q,J){return new BB1.IconvLiteDecoderStream(BB1.getDecoder(Q,J),J)},BB1.supportsStreams=!0};var zA;try{zA=I0("stream")}catch($){}if(zA&&zA.Transform)BB1.enableStreamingAPI(zA);else BB1.encodeStream=BB1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});async function hP0($){return new Promise((Y,z)=>{Yd.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(U,Q)=>{if(U||!Q)return z(U??Error("无法打开 ZIP"));let J=[];Q.readEntry(),Q.on("entry",(I)=>{let K=SP0(I);if(!K.endsWith("/")&&!vB1(K))J.push({fileName:K,uncompressedSize:I.uncompressedSize,compressedSize:I.compressedSize,raw:I});Q.readEntry()}),Q.on("end",()=>Y(J)),Q.on("error",z)})})}function SP0($){let Y=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),z=Y.toString("utf8");if(!z.includes("�"))return z;let U=vP0.default.decode(Y,"gbk");if(!U.includes("�"))return U;return z}function vB1($){let Y=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||Y===".DS_Store"||Y.startsWith("._")||Y.startsWith(".~")||Y.startsWith("~$")}function gP0($,Y){let z=[],U=nQ(Y);if($.length>QA.maxEntries)z.push(`文件数超过 ${QA.maxEntries}`);if($.reduce((I,K)=>I+K.uncompressedSize,0)>QA.maxTotalSize)z.push("解压后总大小超过 500MB");for(let I of $){if(I.fileName.startsWith("/")||I.fileName.split("/").includes(".."))z.push(`存在不安全路径: ${I.fileName}`);if(I.compressedSize>0&&I.uncompressedSize/I.compressedSize>QA.maxCompressionRatio)z.push(`压缩比超过 150: ${I.fileName}`);if(I.fileName==="信息表.xlsx")continue;hB1(I,U,z)}if(!$.find((I)=>I.fileName==="信息表.xlsx"))z.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((I)=>I.fileName.toLowerCase().endsWith(".zip")))z.push("不允许嵌套 ZIP");if(z.length)throw new D5(z)}function hB1($,Y,z){let U=SB1($.fileName);if(!U||!Y.allowedExtensions.includes(U))z.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${Y.allowedExtensions.join(", ")})`);if($.uncompressedSizeY.maxFileSizeBytes)z.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${Y.maxFileSizeBytes} B)`)}function SB1($){let Y=$.split("/").pop()??$,z=Y.lastIndexOf(".");return z>0?Y.slice(z).toLowerCase():""}function zd($,Y){return new Promise((z,U)=>{Yd.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(Q,J)=>{if(Q||!J)return U(Q??Error("无法打开 ZIP"));J.readEntry(),J.on("entry",(I)=>{if(SP0(I)!==Y.fileName)return J.readEntry();J.openReadStream(I,(K,G)=>{if(K||!G)return U(K??Error(`无法读取 ${Y.fileName}`));let W=[];G.on("data",(H)=>W.push(H)),G.on("end",()=>z(Buffer.concat(W))),G.on("error",U)})}),J.on("error",U)})})}var Yd,vP0,QA;var Ud=o(()=>{tI();pQ();Yd=J6(cB0(),1),vP0=J6(_P0(),1),QA={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150}});function xP0($){return $.startsWith("[附件]")}function fP0($){return $.startsWith("[附件]")?$.slice(4):$}function gB1($){return fP0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function yB1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((Y)=>Y.trim()).filter(Boolean)}function Qd($,Y){let z=[];for(let[U,Q]of Y.entries()){if(!xP0(U))continue;let J=$.getCell(Q).value,I=yB1(J);if(!I.length)continue;z.push({key:gB1(U),label:fP0(U),paths:I})}return z}function Jd($){let Y=new Map;return $.map((z)=>{let U=(Y.get(z.key)??0)+1;return Y.set(z.key,U),U===1?z:{...z,key:`${z.key}-${U}`}})}function GK($,Y,z,U){return{key:$,label:Y,type:z,value:U}}function Id($,Y,z){return GK($,Y,"TEXT",z==null?"":String(z))}function uP0($,Y,z){return GK($,Y,"AMOUNT",typeof z==="number"?{amount:z,currency:"CNY"}:null)}function bP0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function kB1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let Y=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(Y))return Math.floor(Y/1000)}return null}function xZ($){let Y=new Map;return $.getRow(1).eachCell((z,U)=>Y.set(String(z.value??"").trim(),U)),Y}function WU($,Y,z){let U=Y.get(z);return U?$.getCell(U).value:void 0}function xB1($,Y){let z=[["会议编号","meeting_id","TEXT"],["会议名称","meeting_name","TEXT"],["状态","status","TEXT"],["总金额","total_amount","AMOUNT"],["税前劳务总额","pretax_labor_total","AMOUNT"],["报销事由","reimbursement_reason","TEXT"],["po码","po_code","TEXT"],["快递单号","tracking_number","TEXT"],["申请日期","application_date","DATE"],["更新日期","updated_date","DATE"]],U=new Set(z.map(([J])=>J)),Q=z.flatMap(([J,I,K])=>{let G=WU($,Y,J);if(G==null||G==="")return[];return[K==="TEXT"?Id(I,J,G):K==="AMOUNT"?uP0(I,J,G):GK(I,J,K,bP0(G))]});for(let[J,I]of Y.entries()){if(U.has(J)||xP0(J))continue;let K=$.getCell(I).value;if(K==null||K==="")continue;let G=J.toLowerCase().replace(/\s+/g,"_");if(typeof K==="number")Q.push(GK(G,J,"NUMBER",K));else if(K instanceof Date)Q.push(GK(G,J,"DATE",K.toISOString()));else Q.push(Id(G,J,String(K)))}return Q}function yP0($,Y,z){return z.flatMap(([U,Q,J])=>{let I=WU($,Y,U);if(I==null||I==="")return[];return[J==="TEXT"?Id(Q,U,I):J==="AMOUNT"?uP0(Q,U,I):GK(Q,U,J,bP0(I))]})}async function iP0($){let Y=new kP0.default.Workbook;if(await Y.xlsx.load(Buffer.from($)),!Y.worksheets.length)throw new D5(["信息表没有任何 Sheet"]);let z=Y.worksheets,U=z[0],Q=xZ(U),J=Q.get("会议编号")??1,I=(U.getRows(2,U.rowCount)??[]).filter((q)=>q.getCell(J).value!=null&&q.getCell(J).value!==""),K=new Set,G=z.find((q,V)=>V>0&&xZ(q).has("姓名")),W=z.find((q,V)=>V>0&&xZ(q).has("报销金额")),H=G?xZ(G):void 0,X=W?xZ(W):void 0;return I.map((q)=>{let V=String(q.getCell(J).value).trim();if(!V)throw new D5(["主表会议编号不能为空"]);if(K.has(V))throw new D5([`主表会议编号重复: ${V}`]);K.add(V);let F=WU(q,Q,"申请日期"),M=(G?.getRows(2,G.rowCount)??[]).filter((B)=>String(WU(B,H,"会议编号")??"").trim()===V),w=(W?.getRows(2,W.rowCount)??[]).filter((B)=>String(WU(B,X,"会议编号")??"").trim()===V),O=M.map((B)=>String(WU(B,H,"姓名")??"").trim()).filter(Boolean),N=Jd(Qd(q,Q)),D={};w.forEach((B,j)=>{let C=Jd(Qd(B,X));if(C.length)D[j]=C});let T={};M.forEach((B)=>{let j=String(WU(B,H,"姓名")??"").trim();if(!j)return;let C=Jd(Qd(B,H));if(C.length)T[j]=C});let A=xB1(q,Q);if(M.length)A.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:M.map((B)=>yP0(B,H,fB1))});if(w.length)A.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:w.map((B)=>yP0(B,X,uB1))});return{laborNames:O,documentAttachments:N,expenseAttachments:D,personAttachments:T,document:{type:"document",documentId:V,documentSN:V,startTime:kB1(F),fields:A}}})}var kP0,fB1,uB1;var Kd=o(()=>{tI();kP0=J6(PZ(),1);fB1=[["姓名","name","TEXT"],["身份证号码","id_number","TEXT"],["手机号","phone","TEXT"],["劳务费用","labor_fee","AMOUNT"],["税前费用","pretax_fee","AMOUNT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["联行号","bank_code","TEXT"],["银行卡号","bank_card_number","TEXT"]],uB1=[["报销金额","reimbursement_amount","AMOUNT"],["费用类型","expense_type","TEXT"],["发生时间","occurrence_time","DATE"],["收款人","payee","TEXT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["支行行号","branch_code","TEXT"],["银行卡号","bank_card_number","TEXT"],["费用说明","expense_description","TEXT"]]});function cP0($,Y){let z=[],U=new Map,Q=Y.map((I)=>{let{documentAttachments:K,expenseAttachments:G,personAttachments:W}=I,H=I.document.documentId,X=(Z,q)=>{let V=Z.split("/")[0],F=V.indexOf("@");if((F>=0?V.slice(0,F):V)!==H)z.push(`单据「${H}」声明了跨单据或非本单据目录的附件路径: ${Z}。附件必须位于该单据自己的根目录「${H}/」或「${H}@备注/」下。`);let w=U.get(Z);if(w)w.push({documentId:H,location:q});else U.set(Z,[{documentId:H,location:q}])};for(let Z of K)Z.paths.forEach((q)=>X(q,`主表 [附件]${Z.label}`));for(let[Z,q]of Object.entries(G)){let V=Number(Z)+1;for(let F of q)F.paths.forEach((M)=>X(M,`费用明细行 ${V} [附件]${F.label}`))}for(let[Z,q]of Object.entries(W))for(let V of q)V.paths.forEach((F)=>X(F,`劳务人员「${Z}」[附件]${V.label}`));return{documentId:H,categoryFields:K,expenseAttachments:G,personAttachments:W}});for(let[I,K]of U.entries())if(K.length>1){let G=K.map((W)=>`单据「${W.documentId}」的 ${W.location}`).join("、");z.push(`附件路径「${I}」被重复声明了 ${K.length} 次(出现在 ${G})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(z.length)throw new D5(z);return Q}let J=new Set($.map((I)=>I.fileName));for(let I of U.keys())if(!J.has(I))z.push(`Excel 声明的附件路径在 ZIP 中不存在: ${I}`);for(let I of $){if(I.fileName==="信息表.xlsx")continue;if(!U.has(I.fileName))z.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${I.fileName}`)}if(z.length)throw new D5(z);return Q}function Gd($,Y,z){let U=structuredClone($),Q=(K)=>{if(z.has(K))return z.get(K);return[{path:K,fileName:K.split("/").pop()??K}]};for(let K of Y.categoryFields){let G=K.paths.flatMap(Q);U.fields.push({key:K.key,label:K.label,type:"ATTACHMENT",value:G})}let J=U.fields.find((K)=>K.key==="daoshi_list"&&K.type==="LIST");if(J&&Array.isArray(J.value))for(let K of J.value){let G=K.find((W)=>W.key==="name")?.value;for(let W of Y.personAttachments[String(G)]??[])K.push({key:W.key,label:W.label,type:"ATTACHMENT",value:W.paths.flatMap(Q)})}let I=U.fields.find((K)=>K.key==="mingxi_list"&&K.type==="LIST");if(I&&Array.isArray(I.value))for(let K=0;K{tI()});function b2($,{checkOpen:Y=!0}={}){return $!==null&&typeof $==="object"&&($.writable||$.readable||!Y||$.writable===void 0&&$.readable===void 0)&&typeof $.pipe==="function"}var Hd=($,Y,z)=>{let U=$ instanceof RegExp?nP0($,z):$,Q=Y instanceof RegExp?nP0(Y,z):Y,J=U!==null&&Q!=null&&bB1(U,Q,z);return J&&{start:J[0],end:J[1],pre:z.slice(0,J[0]),body:z.slice(J[0]+U.length,J[1]),post:z.slice(J[1]+Q.length)}},nP0=($,Y)=>{let z=Y.match($);return z?z[0]:null},bB1=($,Y,z)=>{let U,Q,J,I=void 0,K,G=z.indexOf($),W=z.indexOf(Y,G+1),H=G;if(G>=0&&W>0){if($===Y)return[G,W];U=[],J=z.length;while(H>=0&&!K){if(H===G)U.push(H),G=z.indexOf($,H+1);else if(U.length===1){let X=U.pop();if(X!==void 0)K=[X,W]}else{if(Q=U.pop(),Q!==void 0&&Q=0?G:W}if(U.length&&I!==void 0)K=[J,I]}return K};function Xd($){return!isNaN($)?parseInt($,10):$.charCodeAt(0)}function eB1($){return $.replace(mB1,pP0).replace(lB1,dP0).replace(oB1,qd).replace(rB1,mP0).replace(sB1,lP0)}function $P1($){return $.replace(iB1,"\\").replace(cB1,"{").replace(nB1,"}").replace(pB1,",").replace(dB1,".")}function oP0($){if(!$)return[""];let Y=[],z=Hd("{","}",$);if(!z)return $.split(",");let{pre:U,body:Q,post:J}=z,I=U.split(",");I[I.length-1]+="{"+Q+"}";let K=oP0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function rP0($,Y={}){if(!$)return[];let{max:z=aB1,maxLength:U=tB1}=Y;if($.slice(0,2)==="{}")$="\\{\\}"+$.slice(2);return Zd(eB1($),z,U,!0).map($P1)}function YP1($){return"{"+$+"}"}function zP1($){return/^-?0\d/.test($)}function UP1($,Y){return $<=Y}function QP1($,Y){return $>=Y}function fZ($,Y,z,U,Q,J){let I=[],K=0;for(let G=0;G<$.length;G++)for(let W=0;W=U)return I;let H=$[G]+Y+z[W];if(J&&!H)continue;if(K+H.length>Q)return I;I.push(H),K+=H.length}return I}function JP1($,Y,z,U){let Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;let I=Xd(Q[0]),K=Xd(Q[1]),G=Math.max(Q[0].length,Q[1].length),W=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Xd(Q[2])),1):1,H=UP1;if(K0){let w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>U)break;J.push(F),q+=F.length}return J}function Zd($,Y,z,U){let Q=[""],J=!1,I=!0;for(;;){let K=Hd("{","}",$);if(!K)return fZ(Q,$,[""],Y,z,J);let G=K.pre;if(/\$$/.test(G)){if(Q=fZ(Q,G+"{"+K.body+"}",[""],Y,z,J&&!K.post.length),I=!1,!K.post.length)break;$=K.post;continue}let W=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(K.body),H=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(K.body),X=W||H,Z=K.body.indexOf(",")>=0;if(!X&&!Z){if(K.post.match(/,(?!,).*\}/)){$=K.pre+"{"+K.body+qd+K.post,U=!0;continue}return fZ(Q,G+"{"+K.body+"}"+K.post,[""],Y,z,J)}if(I)J=U&&!X,I=!1;let q;if(X)q=JP1(K.body,H,Y,z);else{let V=oP0(K.body);if(V.length===1&&V[0]!==void 0){if(V=Zd(V[0],Y,z,!1).map(YP1),V.length===1){if(Q=fZ(Q,G+V[0],[""],Y,z,J&&!K.post.length),!K.post.length)break;$=K.post;continue}}let F=J&&!K.post.length&&!G;for(let w=0;F&&w=Y||M+D.length>z)break $;q.push(D),M+=D.length}}}if(Q=fZ(Q,G,q,Y,z,J&&!K.post.length),!K.post.length)break;$=K.post}return Q}var pP0,dP0,qd,mP0,lP0,iB1,cB1,nB1,pB1,dB1,mB1,lB1,oB1,rB1,sB1,aB1=1e5,tB1=4000000;var sP0=o(()=>{pP0="\x00SLASH"+Math.random()+"\x00",dP0="\x00OPEN"+Math.random()+"\x00",qd="\x00CLOSE"+Math.random()+"\x00",mP0="\x00COMMA"+Math.random()+"\x00",lP0="\x00PERIOD"+Math.random()+"\x00",iB1=new RegExp(pP0,"g"),cB1=new RegExp(dP0,"g"),nB1=new RegExp(qd,"g"),pB1=new RegExp(mP0,"g"),dB1=new RegExp(lP0,"g"),mB1=/\\\\/g,lB1=/\\{/g,oB1=/\\}/g,rB1=/\\,/g,sB1=/\\\./g});var uZ=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>65536)throw TypeError("pattern is too long")};var IP1,bZ=($)=>$.replace(/[[\]\\-]/g,"\\$&"),KP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),aP0=($)=>$.join(""),tP0=($,Y)=>{let z=Y;if($.charAt(z)!=="[")throw Error("not in a brace expression");let U=[],Q=[],J=z+1,I=!1,K=!1,G=!1,W=!1,H=z,X="";$:while(J<$.length){let F=$.charAt(J);if((F==="!"||F==="^")&&J===z+1){W=!0,J++;continue}if(F==="]"&&I&&!G){H=J+1;break}if(I=!0,F==="\\"){if(!G){G=!0,J++;continue}}if(F==="["&&!G){for(let[M,[w,O,N]]of Object.entries(IP1))if($.startsWith(M,J)){if(X)return["$.",!1,$.length-z,!0];if(J+=M.length,N)Q.push(w);else U.push(w);K=K||O;continue $}}if(G=!1,X){if(F>X)U.push(bZ(X)+"-"+bZ(F));else if(F===X)U.push(bZ(F));X="",J++;continue}if($.startsWith("-]",J+1)){U.push(bZ(F+"-")),J+=2;continue}if($.startsWith("-",J+1)){X=F,J+=2;continue}U.push(bZ(F)),J++}if(H{IP1={"[: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]}});var i2=($,{windowsPathsNoEscape:Y=!1,magicalBraces:z=!0}={})=>{if(z)return Y?$.replace(/\[([^/\\])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1");return Y?$.replace(/\[([^/\\{}])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1")};var t8,GP1,Vd=($)=>GP1.has($),$A0=($)=>Vd($.type),WP1,HP1,XP1,YA0,ZP1="(?!(?:^|/)\\.\\.?(?:$|/))",JA="(?!\\.)",qP1,VP1,LP1,FP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ld="[^/]",zA0,UA0,wP1=0,WK;var Fd=o(()=>{eP0();GP1=new Set(["!","?","+","*","@"]),WP1=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),HP1=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),XP1=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),YA0=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),qP1=new Set(["[","."]),VP1=new Set(["..","."]),LP1=new Set("().*{}+?[]^$\\!"),zA0=Ld+"*?",UA0=Ld+"+?";WK=class WK{type;#U;#z;#Q=!1;#Y=[];#$;#H;#W;#X=!1;#J;#I;#Z=!1;id=++wP1;get depth(){return(this.#$?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#U.id,parent:this.#$?.id,depth:this.depth,partsLength:this.#Y.length,parts:this.#Y}}constructor($,Y,z={}){if(this.type=$,$)this.#z=!0;if(this.#$=Y,this.#U=this.#$?this.#$.#U:this,this.#J=this.#U===this?z:this.#U.#J,this.#W=this.#U===this?[]:this.#U.#W,$==="!"&&!this.#U.#X)this.#W.push(this);this.#H=this.#$?this.#$.#Y.length:0}get hasMagic(){if(this.#z!==void 0)return this.#z;for(let $ of this.#Y){if(typeof $==="string")continue;if($.type||$.hasMagic)return this.#z=!0}return this.#z}toString(){return this.#I!==void 0?this.#I:!this.type?this.#I=this.#Y.map(($)=>String($)).join(""):this.#I=this.type+"("+this.#Y.map(($)=>String($)).join("|")+")"}#N(){if(this!==this.#U)throw Error("should only call on root");if(this.#X)return this;this.toString(),this.#X=!0;let $;while($=this.#W.pop()){if($.type!=="!")continue;let Y=$,z=Y.#$;while(z){for(let U=Y.#H+1;!z.type&&Utypeof Y==="string"?Y:Y.toJSON()):[this.type,...this.#Y.map((Y)=>Y.toJSON())];if(this.isStart()&&!this.type)$.unshift([]);if(this.isEnd()&&(this===this.#U||this.#U.#X&&this.#$?.type==="!"))$.push({});return $}isStart(){if(this.#U===this)return!0;if(!this.#$?.isStart())return!1;if(this.#H===0)return!0;let $=this.#$;for(let Y=0;Ytypeof Z!=="string"),G=this.#Y.map((Z)=>{let[q,V,F,M]=typeof Z==="string"?t8.#q(Z,this.#z,K):Z.toRegExpSource($);return this.#z=this.#z||F,this.#Q=this.#Q||M,q}).join(""),W="";if(this.isStart()){if(typeof this.#Y[0]==="string"){if(!(this.#Y.length===1&&VP1.has(this.#Y[0]))){let q=qP1,V=Y&&q.has(G.charAt(0))||G.startsWith("\\.")&&q.has(G.charAt(2))||G.startsWith("\\.\\.")&&q.has(G.charAt(4)),F=!Y&&!$&&q.has(G.charAt(0));W=V?ZP1:F?JA:""}}}let H="";if(this.isEnd()&&this.#U.#X&&this.#$?.type==="!")H="(?:$|\\/)";return[W+G+H,i2(G),this.#z=!!this.#z,this.#Q]}let z=this.type==="*"||this.type==="+",U=this.type==="!"?"(?:(?!(?:":"(?:",Q=this.#w(Y);if(this.isStart()&&this.isEnd()&&!Q&&this.type!=="!"){let K=this.toString(),G=this;return G.#Y=[K],G.type=null,G.#z=void 0,[K,i2(this.toString()),!1,!1]}let J=!z||$||Y||!JA?"":this.#w(!0);if(J===Q)J="";if(J)Q=`(?:${Q})(?:${J})*?`;let I="";if(this.type==="!"&&this.#Z)I=(this.isStart()&&!Y?JA:"")+UA0;else{let K=this.type==="!"?"))"+(this.isStart()&&!Y&&!$?JA:"")+zA0+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&J?")":this.type==="*"&&J?")?":`)${this.type}`;I=U+Q+K}return[I,i2(Q),this.#z=!!this.#z,this.#Q]}#K(){if(!$A0(this)){for(let $ of this.#Y)if(typeof $==="object")$.#K()}else{let $=0,Y=!1;do{Y=!0;for(let z=0;z{if(typeof Y==="string")throw Error("string type in extglob ast??");let[z,U,Q,J]=Y.toRegExpSource($);return this.#Q=this.#Q||J,z}).filter((Y)=>!(this.isStart()&&this.isEnd())||!!Y).join("|")}static#q($,Y,z=!1){let U=!1,Q="",J=!1,I=!1;for(let K=0;K<$.length;K++){let G=$.charAt(K);if(U){U=!1,Q+=(LP1.has(G)?"\\":"")+G;continue}if(G==="*"){if(I)continue;I=!0,Q+=z&&/^[*]+$/.test($)?UA0:zA0,Y=!0;continue}else I=!1;if(G==="\\"){if(K===$.length-1)Q+="\\\\";else U=!0;continue}if(G==="["){let[W,H,X,Z]=tP0($,K);if(X){Q+=W,J=J||H,K+=X-1,Y=Y||Z;continue}}if(G==="?"){Q+=Ld,Y=!0;continue}Q+=FP1(G)}return[Q,i2($),!!Y,J]}};t8=WK});var wd=($,{windowsPathsNoEscape:Y=!1,magicalBraces:z=!1}={})=>{if(z)return Y?$.replace(/[?*()[\]{}]/g,"[$&]"):$.replace(/[?*()[\]\\{}]/g,"\\$&");return Y?$.replace(/[?*()[\]]/g,"[$&]"):$.replace(/[?*()[\]\\]/g,"\\$&")};class f7{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor($,Y={}){uZ($),Y=Y||{},this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion??200,this.pattern=$,this.platform=Y.platform||GA0,this.isWindows=this.platform==="win32";let z="allowWindowsEscape";if(this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y[z]===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Y.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Y.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Y.windowsNoMagicRoot!==void 0?Y.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 $ of this.set)for(let Y of $)if(typeof Y!=="string")return!0;return!1}debug(...$){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Y.debug)this.debug=(...Q)=>console.error(...Q);this.debug(this.pattern,this.globSet);let z=this.globSet.map((Q)=>this.slashSplit(Q));this.globParts=this.preprocess(z),this.debug(this.pattern,this.globParts);let U=this.globParts.map((Q,J,I)=>{if(this.isWindows&&this.windowsNoMagicRoot){let K=Q[0]===""&&Q[1]===""&&(Q[2]==="?"||!JA0.test(Q[2]))&&!JA0.test(Q[3]),G=/^[a-z]:/i.test(Q[0]);if(K)return[...Q.slice(0,4),...Q.slice(4).map((W)=>this.parse(W))];else if(G)return[Q[0],...Q.slice(1).map((W)=>this.parse(W))]}return Q.map((K)=>this.parse(K))});if(this.debug(this.pattern,U),this.set=U.filter((Q)=>Q.indexOf(!1)===-1),this.isWindows)for(let Q=0;Q=2)$=this.firstPhasePreProcess($),$=this.secondPhasePreProcess($);else if(Y>=1)$=this.levelOneOptimize($);else $=this.adjascentGlobstarOptimize($);return $}adjascentGlobstarOptimize($){return $.map((Y)=>{let z=-1;while((z=Y.indexOf("**",z+1))!==-1){let U=z;while(Y[U+1]==="**")U++;if(U!==z)Y.splice(z,U-z)}return Y})}levelOneOptimize($){return $.map((Y)=>{return Y=Y.reduce((z,U)=>{let Q=z[z.length-1];if(U==="**"&&Q==="**")return z;if(U===".."){if(Q&&Q!==".."&&Q!=="."&&Q!=="**")return z.pop(),z}return z.push(U),z},[]),Y.length===0?[""]:Y})}levelTwoFileOptimize($){if(!Array.isArray($))$=this.slashSplit($);let Y=!1;do{if(Y=!1,!this.preserveMultipleSlashes){for(let U=1;U<$.length-1;U++){let Q=$[U];if(U===1&&Q===""&&$[0]==="")continue;if(Q==="."||Q==="")Y=!0,$.splice(U,1),U--}if($[0]==="."&&$.length===2&&($[1]==="."||$[1]===""))Y=!0,$.pop()}let z=0;while((z=$.indexOf("..",z+1))!==-1){let U=$[z-1];if(U&&U!=="."&&U!==".."&&U!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(U)))Y=!0,$.splice(z-1,2),z-=2}}while(Y);return $.length===0?[""]:$}firstPhasePreProcess($){let Y=!1;do{Y=!1;for(let z of $){let U=-1;while((U=z.indexOf("**",U+1))!==-1){let J=U;while(z[J+1]==="**")J++;if(J>U)z.splice(U+1,J-U);let I=z[U+1],K=z[U+2],G=z[U+3];if(I!=="..")continue;if(!K||K==="."||K===".."||!G||G==="."||G==="..")continue;Y=!0,z.splice(U,1);let W=z.slice(0);W[U]="**",$.push(W),U--}if(!this.preserveMultipleSlashes){for(let J=1;JY.length)}partsMatch($,Y,z=!1){let U=0,Q=0,J=[],I="";while(U<$.length&&Q=2)$=this.levelTwoFileOptimize($);if(Y.includes(w8))return this.#U($,Y,z,U,Q);return this.#Q($,Y,z,U,Q)}#U($,Y,z,U,Q){let J=Y.indexOf(w8,Q),I=Y.lastIndexOf(w8),[K,G,W]=z?[Y.slice(Q,J),Y.slice(J+1),[]]:[Y.slice(Q,J),Y.slice(J+1,I),Y.slice(I+1)];if(K.length){let w=$.slice(U,U+K.length);if(!this.#Q(w,K,z,0,0))return!1;U+=K.length,Q+=K.length}let H=0;if(W.length){if(W.length+U>$.length)return!1;let w=$.length-W.length;if(this.#Q($,W,z,w,0))H=W.length;else{if($[$.length-1]!==""||U+W.length===$.length)return!1;if(w--,!this.#Q($,W,z,w,0))return!1;H=W.length+1}}if(!G.length){let w=!!H;for(let O=U;O<$.length-H;O++){let N=String($[O]);if(w=!0,N==="."||N===".."||!this.options.dot&&N.startsWith("."))return!1}return z||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===w8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-H;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this.#z($,X,U,0,z,0,!!H)}#z($,Y,z,U,Q,J,I){let K=Y[U];if(!K){for(let H=z;H<$.length;H++){I=!0;let X=$[H];if(X==="."||X===".."||!this.options.dot&&X.startsWith("."))return!1}return I}let[G,W]=K;while(z<=W){if(this.#Q($.slice(0,z+G.length),G,Q,z,0)&&J{let G=K.map((H)=>{if(H instanceof RegExp)for(let X of H.flags.split(""))U.add(X);return typeof H==="string"?dP1(H):H===w8?w8:H._src});G.forEach((H,X)=>{let Z=G[X+1],q=G[X-1];if(H!==w8||q===w8)return;if(q===void 0)if(Z!==void 0&&Z!==w8)G[X+1]="(?:\\/|"+z+"\\/)?"+Z;else G[X]=z;else if(Z===void 0)G[X-1]=q+"(?:\\/|\\/"+z+")?";else if(Z!==w8)G[X-1]=q+"(?:\\/|\\/"+z+"\\/)"+Z,G[X+1]=w8});let W=G.filter((H)=>H!==w8);if(this.partial&&W.length>=1){let H=[];for(let X=1;X<=W.length;X++)H.push(W.slice(0,X).join("/"));return"(?:"+H.join("|")+")"}return W.join("/")}).join("|"),[J,I]=$.length>1?["(?:",")"]:["",""];if(Q="^"+J+Q+I+"$",this.partial)Q="^(?:\\/|"+J+Q.slice(1,-1)+I+")$";if(this.negate)Q="^(?!"+Q+").+$";try{this.regexp=new RegExp(Q,[...U].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit($){if(this.preserveMultipleSlashes)return $.split("/");else if(this.isWindows&&/^\/\/[^/]+/.test($))return["",...$.split(/\/+/)];else return $.split(/\/+/)}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let z=this.options;if(this.isWindows)$=$.split("\\").join("/");let U=this.slashSplit($);this.debug(this.pattern,"split",U);let Q=this.set;this.debug(this.pattern,"set",Q);let J=U[U.length-1];if(!J)for(let I=U.length-2;!J&&I>=0;I--)J=U[I];for(let I of Q){let K=U;if(z.matchBase&&I.length===1)K=[J];if(this.matchOne(K,I,Y)){if(z.flipNegate)return!0;return!this.negate}}if(z.flipNegate)return!1;return this.negate}static defaults($){return S8.defaults($).Minimatch}}var S8=($,Y,z={})=>{if(uZ(Y),!z.nocomment&&Y.charAt(0)==="#")return!1;return new f7(Y,z).match($)},MP1,OP1=($)=>(Y)=>!Y.startsWith(".")&&Y.endsWith($),NP1=($)=>(Y)=>Y.endsWith($),DP1=($)=>{return $=$.toLowerCase(),(Y)=>!Y.startsWith(".")&&Y.toLowerCase().endsWith($)},BP1=($)=>{return $=$.toLowerCase(),(Y)=>Y.toLowerCase().endsWith($)},PP1,AP1=($)=>!$.startsWith(".")&&$.includes("."),TP1=($)=>$!=="."&&$!==".."&&$.includes("."),jP1,EP1=($)=>$!=="."&&$!==".."&&$.startsWith("."),CP1,RP1=($)=>$.length!==0&&!$.startsWith("."),_P1=($)=>$.length!==0&&$!=="."&&$!=="..",vP1,hP1=([$,Y=""])=>{let z=IA0([$]);if(!Y)return z;return Y=Y.toLowerCase(),(U)=>z(U)&&U.toLowerCase().endsWith(Y)},SP1=([$,Y=""])=>{let z=KA0([$]);if(!Y)return z;return Y=Y.toLowerCase(),(U)=>z(U)&&U.toLowerCase().endsWith(Y)},gP1=([$,Y=""])=>{let z=KA0([$]);return!Y?z:(U)=>z(U)&&U.endsWith(Y)},yP1=([$,Y=""])=>{let z=IA0([$]);return!Y?z:(U)=>z(U)&&U.endsWith(Y)},IA0=([$])=>{let Y=$.length;return(z)=>z.length===Y&&!z.startsWith(".")},KA0=([$])=>{let Y=$.length;return(z)=>z.length===Y&&z!=="."&&z!==".."},GA0,QA0,kP1,w8,xP1="[^/]",fP1,uP1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",bP1="(?:(?!(?:\\/|^)\\.).)*?",iP1=($,Y={})=>(z)=>S8(z,$,Y),d$=($,Y={})=>Object.assign({},$,Y),cP1=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return S8;let Y=S8;return Object.assign((U,Q,J={})=>Y(U,Q,d$($,J)),{Minimatch:class extends Y.Minimatch{constructor(Q,J={}){super(Q,d$($,J))}static defaults(Q){return Y.defaults(d$($,Q)).Minimatch}},AST:class extends Y.AST{constructor(Q,J,I={}){super(Q,J,d$($,I))}static fromGlob(Q,J={}){return Y.AST.fromGlob(Q,d$($,J))}},unescape:(U,Q={})=>Y.unescape(U,d$($,Q)),escape:(U,Q={})=>Y.escape(U,d$($,Q)),filter:(U,Q={})=>Y.filter(U,d$($,Q)),defaults:(U)=>Y.defaults(d$($,U)),makeRe:(U,Q={})=>Y.makeRe(U,d$($,Q)),braceExpand:(U,Q={})=>Y.braceExpand(U,d$($,Q)),match:(U,Q,J={})=>Y.match(U,Q,d$($,J)),sep:Y.sep,GLOBSTAR:w8})},WA0=($,Y={})=>{if(uZ($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return rP0($,{max:Y.braceExpandMax})},nP1=($,Y={})=>new f7($,Y).makeRe(),pP1=($,Y,z={})=>{let U=new f7(Y,z);if($=$.filter((Q)=>U.match(Q)),U.options.nonull&&!$.length)$.push(Y);return $},JA0,dP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var HA0=o(()=>{sP0();Fd();Fd();MP1=/^\*+([^+@!?*[(]*)$/,PP1=/^\*+\.\*+$/,jP1=/^\.\*+$/,CP1=/^\*+$/,vP1=/^\?+([^+@!?*[(]*)?$/,GA0=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",QA0={win32:{sep:"\\"},posix:{sep:"/"}},kP1=GA0==="win32"?QA0.win32.sep:QA0.posix.sep;S8.sep=kP1;w8=Symbol("globstar **");S8.GLOBSTAR=w8;fP1=xP1+"*?";S8.filter=iP1;S8.defaults=cP1;S8.braceExpand=WA0;S8.makeRe=nP1;S8.match=pP1;JA0=/[?*]|[+@!]\(.*?\)|\[|\]/;S8.AST=WK;S8.Minimatch=f7;S8.escape=wd;S8.unescape=i2});import*as HK from"fs";import{EventEmitter as mP1}from"events";import{resolve as lP1}from"path";function oP1($,Y){return new Promise((z,U)=>{HK.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)U(Q);else z([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":z([]);break;case"ELOOP":default:U(Q);break}else z(J)})})}function XA0($,Y){return new Promise((z)=>{(Y?HK.stat:HK.lstat)($,(Q,J)=>{if(Q)switch(Q.code){case"ENOENT":if(Y)z(XA0($,!1));else z(null);break;default:z(null);break}else z(J)})})}async function*ZA0($,Y,z,U,Q,J){let I=await oP1(Y+$,J);for(let K of I){let G=K.name,W=$+"/"+G,H=W.slice(1),X=Y+"/"+H,Z=K;if(U||z)Z=await XA0(X,z)??Z;if(Z.isDirectory()){if(!Q(H))yield{relative:H,absolute:X,stat:Z},yield*ZA0(W,Y,z,U,Q,!1)}else yield{relative:H,absolute:X,stat:Z}}}async function*rP1($,Y,z,U){yield*ZA0("",$,Y,z,U,!0)}function sP1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}var qA0,VA0=($,Y,z)=>new qA0($,Y,z),Md;var LA0=o(()=>{HA0();qA0=class extends mP1{options;matchers;ignoreMatchers;skipMatchers;paused;aborted;inactive;iterator;constructor($,Y,z){super();if(typeof Y==="function")z=Y,Y=void 0;if(this.options=sP1(Y||{}),this.matchers=[],this.options.pattern){let U=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=U.map((Q)=>new f7(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let U=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=U.map((Q)=>new f7(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let U=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=U.map((Q)=>new f7(Q,{dot:!0}))}if(this.iterator=rP1(lP1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,z){let U=z,Q=[];this.on("match",(J)=>Q.push(this.options.absolute?J.absolute:J.relative)),this.on("error",(J)=>U(J)),this.on("end",()=>U(null,Q))}setTimeout(()=>this._next())}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let z=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((U)=>U.match(z)))&&!this.ignoreMatchers.some((U)=>U.match(z))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stat.isDirectory();if(this._fileMatches($.value.relative,Y)){let z=$.value.relative,U=$.value.absolute;if(this.options.mark&&Y)z+="/",U+="/";if(this.options.stat)this.emit("match",{relative:z,absolute:U,stat:$.value.stat});else this.emit("match",{relative:z,absolute:U})}this._next()}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}};VA0.ReaddirGlob=qA0;Md=VA0});import aP1 from"util";function W6($,Y){Error.captureStackTrace(this,this.constructor),this.message=tP1[$]||$,this.code=$,this.data=Y}var tP1;var FA0=o(()=>{tP1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};aP1.inherits(W6,Error)});var x4=E((M14,MA0)=>{class wA0 extends Error{constructor($){if(!Array.isArray($))throw TypeError(`Expected input to be an Array, got ${typeof $}`);let Y="";for(let z=0;z<$.length;z++)Y+=` ${$[z].stack} +`;super(Y);this.name="AggregateError",this.errors=$}}MA0.exports={AggregateError:wA0,ArrayIsArray($){return Array.isArray($)},ArrayPrototypeIncludes($,Y){return $.includes(Y)},ArrayPrototypeIndexOf($,Y){return $.indexOf(Y)},ArrayPrototypeJoin($,Y){return $.join(Y)},ArrayPrototypeMap($,Y){return $.map(Y)},ArrayPrototypePop($,Y){return $.pop(Y)},ArrayPrototypePush($,Y){return $.push(Y)},ArrayPrototypeSlice($,Y,z){return $.slice(Y,z)},Error,FunctionPrototypeCall($,Y,...z){return $.call(Y,...z)},FunctionPrototypeSymbolHasInstance($,Y){return Function.prototype[Symbol.hasInstance].call($,Y)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties($,Y){return Object.defineProperties($,Y)},ObjectDefineProperty($,Y,z){return Object.defineProperty($,Y,z)},ObjectGetOwnPropertyDescriptor($,Y){return Object.getOwnPropertyDescriptor($,Y)},ObjectKeys($){return Object.keys($)},ObjectSetPrototypeOf($,Y){return Object.setPrototypeOf($,Y)},Promise,PromisePrototypeCatch($,Y){return $.catch(Y)},PromisePrototypeThen($,Y,z){return $.then(Y,z)},PromiseReject($){return Promise.reject($)},PromiseResolve($){return Promise.resolve($)},ReflectApply:Reflect.apply,RegExpPrototypeTest($,Y){return $.test(Y)},SafeSet:Set,String,StringPrototypeSlice($,Y,z){return $.slice(Y,z)},StringPrototypeToLowerCase($){return $.toLowerCase()},StringPrototypeToUpperCase($){return $.toUpperCase()},StringPrototypeTrim($){return $.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet($,Y,z){return $.set(Y,z)},Boolean,Uint8Array}});var Od=E((O14,OA0)=>{OA0.exports={format($,...Y){return $.replace(/%([sdifj])/g,function(...[z,U]){let Q=Y.shift();if(U==="f")return Q.toFixed(6);else if(U==="j")return JSON.stringify(Q);else if(U==="s"&&typeof Q==="object")return`${Q.constructor!==Object?Q.constructor.name:""} {}`.trim();else return Q.toString()})},inspect($){switch(typeof $){case"string":if($.includes("'")){if(!$.includes('"'))return`"${$}"`;else if(!$.includes("`")&&!$.includes("${"))return`\`${$}\``}return`'${$}'`;case"number":if(isNaN($))return"NaN";else if(Object.is($,-0))return String($);return $;case"bigint":return`${String($)}n`;case"boolean":case"undefined":return String($);case"object":return"{}"}}}});var M8=E((N14,PA0)=>{var{format:eP1,inspect:IA}=Od(),{AggregateError:$A1}=x4(),YA1=globalThis.AggregateError||$A1,zA1=Symbol("kIsNodeError"),UA1=["string","function","number","object","Function","Object","boolean","bigint","symbol"],QA1=/^([A-Z][a-z0-9]*)+$/,KA={};function HU($,Y){if(!$)throw new KA.ERR_INTERNAL_ASSERTION(Y)}function NA0($){let Y="",z=$.length,U=$[0]==="-"?1:0;for(;z>=U+4;z-=3)Y=`_${$.slice(z-3,z)}${Y}`;return`${$.slice(0,z)}${Y}`}function JA1($,Y,z){if(typeof Y==="function")return HU(Y.length<=z.length,`Code: ${$}; The provided arguments length (${z.length}) does not match the required ones (${Y.length}).`),Y(...z);let U=(Y.match(/%[dfijoOs]/g)||[]).length;if(HU(U===z.length,`Code: ${$}; The provided arguments length (${z.length}) does not match the required ones (${U}).`),z.length===0)return Y;return eP1(Y,...z)}function U8($,Y,z){if(!z)z=Error;class U extends z{constructor(...Q){super(JA1($,Y,Q))}toString(){return`${this.name} [${$}]: ${this.message}`}}Object.defineProperties(U.prototype,{name:{value:z.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${$}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),U.prototype.code=$,U.prototype[zA1]=!0,KA[$]=U}function DA0($){let Y="__node_internal_"+$.name;return Object.defineProperty($,"name",{value:Y}),$}function IA1($,Y){if($&&Y&&$!==Y){if(Array.isArray(Y.errors))return Y.errors.push($),Y;let z=new YA1([Y,$],Y.message);return z.code=Y.code,z}return $||Y}class BA0 extends Error{constructor($="The operation was aborted",Y=void 0){if(Y!==void 0&&typeof Y!=="object")throw new KA.ERR_INVALID_ARG_TYPE("options","Object",Y);super($,Y);this.code="ABORT_ERR",this.name="AbortError"}}U8("ERR_ASSERTION","%s",Error);U8("ERR_INVALID_ARG_TYPE",($,Y,z)=>{if(HU(typeof $==="string","'name' must be a string"),!Array.isArray(Y))Y=[Y];let U="The ";if($.endsWith(" argument"))U+=`${$} `;else U+=`"${$}" ${$.includes(".")?"property":"argument"} `;U+="must be ";let Q=[],J=[],I=[];for(let G of Y)if(HU(typeof G==="string","All expected entries have to be of type string"),UA1.includes(G))Q.push(G.toLowerCase());else if(QA1.test(G))J.push(G);else HU(G!=="object",'The value "object" should be written as "Object"'),I.push(G);if(J.length>0){let G=Q.indexOf("object");if(G!==-1)Q.splice(Q,G,1),J.push("Object")}if(Q.length>0){switch(Q.length){case 1:U+=`of type ${Q[0]}`;break;case 2:U+=`one of type ${Q[0]} or ${Q[1]}`;break;default:{let G=Q.pop();U+=`one of type ${Q.join(", ")}, or ${G}`}}if(J.length>0||I.length>0)U+=" or "}if(J.length>0){switch(J.length){case 1:U+=`an instance of ${J[0]}`;break;case 2:U+=`an instance of ${J[0]} or ${J[1]}`;break;default:{let G=J.pop();U+=`an instance of ${J.join(", ")}, or ${G}`}}if(I.length>0)U+=" or "}switch(I.length){case 0:break;case 1:if(I[0].toLowerCase()!==I[0])U+="an ";U+=`${I[0]}`;break;case 2:U+=`one of ${I[0]} or ${I[1]}`;break;default:{let G=I.pop();U+=`one of ${I.join(", ")}, or ${G}`}}if(z==null)U+=`. Received ${z}`;else if(typeof z==="function"&&z.name)U+=`. Received function ${z.name}`;else if(typeof z==="object"){var K;if((K=z.constructor)!==null&&K!==void 0&&K.name)U+=`. Received an instance of ${z.constructor.name}`;else{let G=IA(z,{depth:-1});U+=`. Received ${G}`}}else{let G=IA(z,{colors:!1});if(G.length>25)G=`${G.slice(0,25)}...`;U+=`. Received type ${typeof z} (${G})`}return U},TypeError);U8("ERR_INVALID_ARG_VALUE",($,Y,z="is invalid")=>{let U=IA(Y);if(U.length>128)U=U.slice(0,128)+"...";return`The ${$.includes(".")?"property":"argument"} '${$}' ${z}. Received ${U}`},TypeError);U8("ERR_INVALID_RETURN_VALUE",($,Y,z)=>{var U;let Q=z!==null&&z!==void 0&&(U=z.constructor)!==null&&U!==void 0&&U.name?`instance of ${z.constructor.name}`:`type ${typeof z}`;return`Expected ${$} to be returned from the "${Y}" function but got ${Q}.`},TypeError);U8("ERR_MISSING_ARGS",(...$)=>{HU($.length>0,"At least one arg needs to be specified");let Y,z=$.length;switch($=(Array.isArray($)?$:[$]).map((U)=>`"${U}"`).join(" or "),z){case 1:Y+=`The ${$[0]} argument`;break;case 2:Y+=`The ${$[0]} and ${$[1]} arguments`;break;default:{let U=$.pop();Y+=`The ${$.join(", ")}, and ${U} arguments`}break}return`${Y} must be specified`},TypeError);U8("ERR_OUT_OF_RANGE",($,Y,z)=>{HU(Y,'Missing "range" argument');let U;if(Number.isInteger(z)&&Math.abs(z)>4294967296)U=NA0(String(z));else if(typeof z==="bigint"){U=String(z);let Q=BigInt(2)**BigInt(32);if(z>Q||z<-Q)U=NA0(U);U+="n"}else U=IA(z);return`The value of "${$}" is out of range. It must be ${Y}. Received ${U}`},RangeError);U8("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);U8("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);U8("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);U8("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);U8("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);U8("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);U8("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);U8("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);U8("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);U8("ERR_STREAM_WRITE_AFTER_END","write after end",Error);U8("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);PA0.exports={AbortError:BA0,aggregateTwoErrors:DA0(IA1),hideStackFrames:DA0,codes:KA}});var gA0=E((SA0,cZ)=>{Object.defineProperty(SA0,"__esModule",{value:!0});var RA0=new WeakMap,Nd=new WeakMap;function v4($){let Y=RA0.get($);return console.assert(Y!=null,"'this' is expected an Event object, but got",$),Y}function AA0($){if($.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",$.passiveListener);return}if(!$.event.cancelable)return;if($.canceled=!0,typeof $.event.preventDefault==="function")$.event.preventDefault()}function XK($,Y){RA0.set(this,{eventTarget:$,event:Y,eventPhase:2,currentTarget:$,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:Y.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let z=Object.keys(Y);for(let U=0;U0){let $=Array(arguments.length);for(let Y=0;Y{Object.defineProperty(xA0,"__esModule",{value:!0});var Bd=gA0();class XU extends Bd.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let $=HA.get(this);if(typeof $!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return $}}Bd.defineEventAttribute(XU.prototype,"abort");function wA1(){let $=Object.create(XU.prototype);return Bd.EventTarget.call($),HA.set($,!1),$}function MA1($){if(HA.get($)!==!1)return;HA.set($,!0),$.dispatchEvent({type:"abort"})}var HA=new WeakMap;Object.defineProperties(XU.prototype,{aborted:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(XU.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class ZU{constructor(){kA0.set(this,wA1())}get signal(){return yA0(this)}abort(){MA1(yA0(this))}}var kA0=new WeakMap;function yA0($){let Y=kA0.get($);if(Y==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${$===null?"null":typeof $}`);return Y}Object.defineProperties(ZU.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(ZU.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});xA0.AbortController=ZU;xA0.AbortSignal=XU;xA0.default=ZU;nZ.exports=ZU;nZ.exports.AbortController=nZ.exports.default=ZU;nZ.exports.AbortSignal=XU});var g8=E((D14,Ad)=>{var BA1=I0("buffer"),{format:PA1,inspect:AA1}=Od(),{codes:{ERR_INVALID_ARG_TYPE:Pd}}=M8(),{kResistStopPropagation:TA1,AggregateError:jA1,SymbolDispose:EA1}=x4(),CA1=globalThis.AbortSignal||ZK().AbortSignal,RA1=globalThis.AbortController||ZK().AbortController,_A1=Object.getPrototypeOf(async function(){}).constructor,fA0=globalThis.Blob||BA1.Blob,vA1=typeof fA0<"u"?function(Y){return Y instanceof fA0}:function(Y){return!1},uA0=($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new Pd(Y,"AbortSignal",$)},hA1=($,Y)=>{if(typeof $!=="function")throw new Pd(Y,"Function",$)};Ad.exports={AggregateError:jA1,kEmptyObject:Object.freeze({}),once($){let Y=!1;return function(...z){if(Y)return;Y=!0,$.apply(this,z)}},createDeferredPromise:function(){let $,Y;return{promise:new Promise((U,Q)=>{$=U,Y=Q}),resolve:$,reject:Y}},promisify($){return new Promise((Y,z)=>{$((U,...Q)=>{if(U)return z(U);return Y(...Q)})})},debuglog(){return function(){}},format:PA1,inspect:AA1,types:{isAsyncFunction($){return $ instanceof _A1},isArrayBufferView($){return ArrayBuffer.isView($)}},isBlob:vA1,deprecate($,Y){return $},addAbortListener:I0("events").addAbortListener||function(Y,z){if(Y===void 0)throw new Pd("signal","AbortSignal",Y);uA0(Y,"signal"),hA1(z,"listener");let U;if(Y.aborted)queueMicrotask(()=>z());else Y.addEventListener("abort",z,{__proto__:null,once:!0,[TA1]:!0}),U=()=>{Y.removeEventListener("abort",z)};return{__proto__:null,[EA1](){var Q;(Q=U)===null||Q===void 0||Q()}}},AbortSignalAny:CA1.any||function(Y){if(Y.length===1)return Y[0];let z=new RA1,U=()=>z.abort();return Y.forEach((Q)=>{uA0(Q,"signals"),Q.addEventListener("abort",U,{once:!0})}),z.signal.addEventListener("abort",()=>{Y.forEach((Q)=>Q.removeEventListener("abort",U))},{once:!0}),z.signal}};Ad.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var VK=E((B14,rA0)=>{var{ArrayIsArray:jd,ArrayPrototypeIncludes:nA0,ArrayPrototypeJoin:pA0,ArrayPrototypeMap:SA1,NumberIsInteger:Ed,NumberIsNaN:gA1,NumberMAX_SAFE_INTEGER:yA1,NumberMIN_SAFE_INTEGER:kA1,NumberParseInt:xA1,ObjectPrototypeHasOwnProperty:fA1,RegExpPrototypeExec:dA0,String:uA1,StringPrototypeToUpperCase:bA1,StringPrototypeTrim:iA1}=x4(),{hideStackFrames:m$,codes:{ERR_SOCKET_BAD_PORT:cA1,ERR_INVALID_ARG_TYPE:O8,ERR_INVALID_ARG_VALUE:qK,ERR_OUT_OF_RANGE:qU,ERR_UNKNOWN_SIGNAL:bA0}}=M8(),{normalizeEncoding:nA1}=g8(),{isAsyncFunction:pA1,isArrayBufferView:dA1}=g8().types,iA0={};function mA1($){return $===($|0)}function lA1($){return $===$>>>0}var oA1=/^[0-7]+$/,rA1="must be a 32-bit unsigned integer or an octal string";function sA1($,Y,z){if(typeof $>"u")$=z;if(typeof $==="string"){if(dA0(oA1,$)===null)throw new qK(Y,$,rA1);$=xA1($,8)}return mA0($,Y),$}var aA1=m$(($,Y,z=kA1,U=yA1)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!Ed($))throw new qU(Y,"an integer",$);if($U)throw new qU(Y,`>= ${z} && <= ${U}`,$)}),tA1=m$(($,Y,z=-2147483648,U=2147483647)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!Ed($))throw new qU(Y,"an integer",$);if($U)throw new qU(Y,`>= ${z} && <= ${U}`,$)}),mA0=m$(($,Y,z=!1)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!Ed($))throw new qU(Y,"an integer",$);let U=z?1:0,Q=4294967295;if($Q)throw new qU(Y,`>= ${U} && <= ${Q}`,$)});function Cd($,Y){if(typeof $!=="string")throw new O8(Y,"string",$)}function eA1($,Y,z=void 0,U){if(typeof $!=="number")throw new O8(Y,"number",$);if(z!=null&&$U||(z!=null||U!=null)&&gA1($))throw new qU(Y,`${z!=null?`>= ${z}`:""}${z!=null&&U!=null?" && ":""}${U!=null?`<= ${U}`:""}`,$)}var $T1=m$(($,Y,z)=>{if(!nA0(z,$)){let Q="must be one of: "+pA0(SA1(z,(J)=>typeof J==="string"?`'${J}'`:uA1(J)),", ");throw new qK(Y,$,Q)}});function lA0($,Y){if(typeof $!=="boolean")throw new O8(Y,"boolean",$)}function Td($,Y,z){return $==null||!fA1($,Y)?z:$[Y]}var YT1=m$(($,Y,z=null)=>{let U=Td(z,"allowArray",!1),Q=Td(z,"allowFunction",!1);if(!Td(z,"nullable",!1)&&$===null||!U&&jd($)||typeof $!=="object"&&(!Q||typeof $!=="function"))throw new O8(Y,"Object",$)}),zT1=m$(($,Y)=>{if($!=null&&typeof $!=="object"&&typeof $!=="function")throw new O8(Y,"a dictionary",$)}),XA=m$(($,Y,z=0)=>{if(!jd($))throw new O8(Y,"Array",$);if($.length{if(!dA1($))throw new O8(Y,["Buffer","TypedArray","DataView"],$)});function GT1($,Y){let z=nA1(Y),U=$.length;if(z==="hex"&&U%2!==0)throw new qK("encoding",Y,`is invalid for data of length ${U}`)}function WT1($,Y="Port",z=!0){if(typeof $!=="number"&&typeof $!=="string"||typeof $==="string"&&iA1($).length===0||+$!==+$>>>0||$>65535||$===0&&!z)throw new cA1(Y,$,z);return $|0}var oA0=m$(($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new O8(Y,"AbortSignal",$)}),HT1=m$(($,Y)=>{if(typeof $!=="function")throw new O8(Y,"Function",$)}),XT1=m$(($,Y)=>{if(typeof $!=="function"||pA1($))throw new O8(Y,"Function",$)}),ZT1=m$(($,Y)=>{if($!==void 0)throw new O8(Y,"undefined",$)});function qT1($,Y,z){if(!nA0(z,$))throw new O8(Y,`('${pA0(z,"|")}')`,$)}var VT1=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function cA0($,Y){if(typeof $>"u"||!dA0(VT1,$))throw new qK(Y,$,'must be an array or string of format "; rel=preload; as=style"')}function LT1($){if(typeof $==="string")return cA0($,"hints"),$;else if(jd($)){let Y=$.length,z="";if(Y===0)return z;for(let U=0;U; rel=preload; as=style"')}rA0.exports={isInt32:mA1,isUint32:lA1,parseFileMode:sA1,validateArray:XA,validateStringArray:UT1,validateBooleanArray:QT1,validateAbortSignalArray:JT1,validateBoolean:lA0,validateBuffer:KT1,validateDictionary:zT1,validateEncoding:GT1,validateFunction:HT1,validateInt32:tA1,validateInteger:aA1,validateNumber:eA1,validateObject:YT1,validateOneOf:$T1,validatePlainFunction:XT1,validatePort:WT1,validateSignalName:IT1,validateString:Cd,validateUint32:mA0,validateUndefined:ZT1,validateUnion:qT1,validateAbortSignal:oA0,validateLinkHeaderValue:LT1}});var c2=E((P14,sA0)=>{sA0.exports=global.process});var T9=E((A14,XT0)=>{var{SymbolAsyncIterator:aA0,SymbolIterator:tA0,SymbolFor:VU}=x4(),eA0=VU("nodejs.stream.destroyed"),$T0=VU("nodejs.stream.errored"),Rd=VU("nodejs.stream.readable"),_d=VU("nodejs.stream.writable"),YT0=VU("nodejs.stream.disturbed"),FT1=VU("nodejs.webstream.isClosedPromise"),wT1=VU("nodejs.webstream.controllerErrorFunction");function ZA($,Y=!1){var z;return!!($&&typeof $.pipe==="function"&&typeof $.on==="function"&&(!Y||typeof $.pause==="function"&&typeof $.resume==="function")&&(!$._writableState||((z=$._readableState)===null||z===void 0?void 0:z.readable)!==!1)&&(!$._writableState||$._readableState))}function qA($){var Y;return!!($&&typeof $.write==="function"&&typeof $.on==="function"&&(!$._readableState||((Y=$._writableState)===null||Y===void 0?void 0:Y.writable)!==!1))}function MT1($){return!!($&&typeof $.pipe==="function"&&$._readableState&&typeof $.on==="function"&&typeof $.write==="function")}function A9($){return $&&($._readableState||$._writableState||typeof $.write==="function"&&typeof $.on==="function"||typeof $.pipe==="function"&&typeof $.on==="function")}function zT0($){return!!($&&!A9($)&&typeof $.pipeThrough==="function"&&typeof $.getReader==="function"&&typeof $.cancel==="function")}function UT0($){return!!($&&!A9($)&&typeof $.getWriter==="function"&&typeof $.abort==="function")}function QT0($){return!!($&&!A9($)&&typeof $.readable==="object"&&typeof $.writable==="object")}function OT1($){return zT0($)||UT0($)||QT0($)}function NT1($,Y){if($==null)return!1;if(Y===!0)return typeof $[aA0]==="function";if(Y===!1)return typeof $[tA0]==="function";return typeof $[aA0]==="function"||typeof $[tA0]==="function"}function VA($){if(!A9($))return null;let{_writableState:Y,_readableState:z}=$,U=Y||z;return!!($.destroyed||$[eA0]||U!==null&&U!==void 0&&U.destroyed)}function JT0($){if(!qA($))return null;if($.writableEnded===!0)return!0;let Y=$._writableState;if(Y!==null&&Y!==void 0&&Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function DT1($,Y){if(!qA($))return null;if($.writableFinished===!0)return!0;let z=$._writableState;if(z!==null&&z!==void 0&&z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.finished)!=="boolean")return null;return!!(z.finished||Y===!1&&z.ended===!0&&z.length===0)}function BT1($){if(!ZA($))return null;if($.readableEnded===!0)return!0;let Y=$._readableState;if(!Y||Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function IT0($,Y){if(!ZA($))return null;let z=$._readableState;if(z!==null&&z!==void 0&&z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.endEmitted)!=="boolean")return null;return!!(z.endEmitted||Y===!1&&z.ended===!0&&z.length===0)}function KT0($){if($&&$[Rd]!=null)return $[Rd];if(typeof($===null||$===void 0?void 0:$.readable)!=="boolean")return null;if(VA($))return!1;return ZA($)&&$.readable&&!IT0($)}function GT0($){if($&&$[_d]!=null)return $[_d];if(typeof($===null||$===void 0?void 0:$.writable)!=="boolean")return null;if(VA($))return!1;return qA($)&&$.writable&&!JT0($)}function PT1($,Y){if(!A9($))return null;if(VA($))return!0;if((Y===null||Y===void 0?void 0:Y.readable)!==!1&&KT0($))return!1;if((Y===null||Y===void 0?void 0:Y.writable)!==!1&>0($))return!1;return!0}function AT1($){var Y,z;if(!A9($))return null;if($.writableErrored)return $.writableErrored;return(Y=(z=$._writableState)===null||z===void 0?void 0:z.errored)!==null&&Y!==void 0?Y:null}function TT1($){var Y,z;if(!A9($))return null;if($.readableErrored)return $.readableErrored;return(Y=(z=$._readableState)===null||z===void 0?void 0:z.errored)!==null&&Y!==void 0?Y:null}function jT1($){if(!A9($))return null;if(typeof $.closed==="boolean")return $.closed;let{_writableState:Y,_readableState:z}=$;if(typeof(Y===null||Y===void 0?void 0:Y.closed)==="boolean"||typeof(z===null||z===void 0?void 0:z.closed)==="boolean")return(Y===null||Y===void 0?void 0:Y.closed)||(z===null||z===void 0?void 0:z.closed);if(typeof $._closed==="boolean"&&WT0($))return $._closed;return null}function WT0($){return typeof $._closed==="boolean"&&typeof $._defaultKeepAlive==="boolean"&&typeof $._removedConnection==="boolean"&&typeof $._removedContLen==="boolean"}function HT0($){return typeof $._sent100==="boolean"&&WT0($)}function ET1($){var Y;return typeof $._consuming==="boolean"&&typeof $._dumped==="boolean"&&((Y=$.req)===null||Y===void 0?void 0:Y.upgradeOrConnect)===void 0}function CT1($){if(!A9($))return null;let{_writableState:Y,_readableState:z}=$,U=Y||z;return!U&&HT0($)||!!(U&&U.autoDestroy&&U.emitClose&&U.closed===!1)}function RT1($){var Y;return!!($&&((Y=$[YT0])!==null&&Y!==void 0?Y:$.readableDidRead||$.readableAborted))}function _T1($){var Y,z,U,Q,J,I,K,G,W,H;return!!($&&((Y=(z=(U=(Q=(J=(I=$[$T0])!==null&&I!==void 0?I:$.readableErrored)!==null&&J!==void 0?J:$.writableErrored)!==null&&Q!==void 0?Q:(K=$._readableState)===null||K===void 0?void 0:K.errorEmitted)!==null&&U!==void 0?U:(G=$._writableState)===null||G===void 0?void 0:G.errorEmitted)!==null&&z!==void 0?z:(W=$._readableState)===null||W===void 0?void 0:W.errored)!==null&&Y!==void 0?Y:(H=$._writableState)===null||H===void 0?void 0:H.errored))}XT0.exports={isDestroyed:VA,kIsDestroyed:eA0,isDisturbed:RT1,kIsDisturbed:YT0,isErrored:_T1,kIsErrored:$T0,isReadable:KT0,kIsReadable:Rd,kIsClosedPromise:FT1,kControllerErrorFunction:wT1,kIsWritable:_d,isClosed:jT1,isDuplexNodeStream:MT1,isFinished:PT1,isIterable:NT1,isReadableNodeStream:ZA,isReadableStream:zT0,isReadableEnded:BT1,isReadableFinished:IT0,isReadableErrored:TT1,isNodeStream:A9,isWebStream:OT1,isWritable:GT0,isWritableNodeStream:qA,isWritableStream:UT0,isWritableEnded:JT0,isWritableFinished:DT1,isWritableErrored:AT1,isServerRequest:ET1,isServerResponse:HT0,willEmitClose:CT1,isTransformStream:QT0}});var u7=E((T14,yd)=>{var n2=c2(),{AbortError:NT0,codes:vT1}=M8(),{ERR_INVALID_ARG_TYPE:hT1,ERR_STREAM_PREMATURE_CLOSE:ZT0}=vT1,{kEmptyObject:hd,once:Sd}=g8(),{validateAbortSignal:ST1,validateFunction:gT1,validateObject:yT1,validateBoolean:kT1}=VK(),{Promise:xT1,PromisePrototypeThen:fT1,SymbolDispose:DT0}=x4(),{isClosed:uT1,isReadable:qT0,isReadableNodeStream:vd,isReadableStream:bT1,isReadableFinished:VT0,isReadableErrored:LT0,isWritable:FT0,isWritableNodeStream:wT0,isWritableStream:iT1,isWritableFinished:MT0,isWritableErrored:OT0,isNodeStream:cT1,willEmitClose:nT1,kIsClosedPromise:pT1}=T9(),LK;function dT1($){return $.setHeader&&typeof $.abort==="function"}var gd=()=>{};function BT0($,Y,z){var U,Q;if(arguments.length===2)z=Y,Y=hd;else if(Y==null)Y=hd;else yT1(Y,"options");if(gT1(z,"callback"),ST1(Y.signal,"options.signal"),z=Sd(z),bT1($)||iT1($))return mT1($,Y,z);if(!cT1($))throw new hT1("stream",["ReadableStream","WritableStream","Stream"],$);let J=(U=Y.readable)!==null&&U!==void 0?U:vd($),I=(Q=Y.writable)!==null&&Q!==void 0?Q:wT0($),K=$._writableState,G=$._readableState,W=()=>{if(!$.writable)Z()},H=nT1($)&&vd($)===J&&wT0($)===I,X=MT0($,!1),Z=()=>{if(X=!0,$.destroyed)H=!1;if(H&&(!$.readable||J))return;if(!J||q)z.call($)},q=VT0($,!1),V=()=>{if(q=!0,$.destroyed)H=!1;if(H&&(!$.writable||I))return;if(!I||X)z.call($)},F=(T)=>{z.call($,T)},M=uT1($),w=()=>{M=!0;let T=OT0($)||LT0($);if(T&&typeof T!=="boolean")return z.call($,T);if(J&&!q&&vd($,!0)){if(!VT0($,!1))return z.call($,new ZT0)}if(I&&!X){if(!MT0($,!1))return z.call($,new ZT0)}z.call($)},O=()=>{M=!0;let T=OT0($)||LT0($);if(T&&typeof T!=="boolean")return z.call($,T);z.call($)},N=()=>{$.req.on("finish",Z)};if(dT1($)){if($.on("complete",Z),!H)$.on("abort",w);if($.req)N();else $.on("request",N)}else if(I&&!K)$.on("end",W),$.on("close",W);if(!H&&typeof $.aborted==="boolean")$.on("aborted",w);if($.on("end",V),$.on("finish",Z),Y.error!==!1)$.on("error",F);if($.on("close",w),M)n2.nextTick(w);else if(K!==null&&K!==void 0&&K.errorEmitted||G!==null&&G!==void 0&&G.errorEmitted){if(!H)n2.nextTick(O)}else if(!J&&(!H||qT0($))&&(X||FT0($)===!1))n2.nextTick(O);else if(!I&&(!H||FT0($))&&(q||qT0($)===!1))n2.nextTick(O);else if(G&&$.req&&$.aborted)n2.nextTick(O);let D=()=>{if(z=gd,$.removeListener("aborted",w),$.removeListener("complete",Z),$.removeListener("abort",w),$.removeListener("request",N),$.req)$.req.removeListener("finish",Z);$.removeListener("end",W),$.removeListener("close",W),$.removeListener("finish",Z),$.removeListener("end",V),$.removeListener("error",F),$.removeListener("close",w)};if(Y.signal&&!M){let T=()=>{let A=z;D(),A.call($,new NT0(void 0,{cause:Y.signal.reason}))};if(Y.signal.aborted)n2.nextTick(T);else{LK=LK||g8().addAbortListener;let A=LK(Y.signal,T),B=z;z=Sd((...j)=>{A[DT0](),B.apply($,j)})}}return D}function mT1($,Y,z){let U=!1,Q=gd;if(Y.signal)if(Q=()=>{U=!0,z.call($,new NT0(void 0,{cause:Y.signal.reason}))},Y.signal.aborted)n2.nextTick(Q);else{LK=LK||g8().addAbortListener;let I=LK(Y.signal,Q),K=z;z=Sd((...G)=>{I[DT0](),K.apply($,G)})}let J=(...I)=>{if(!U)n2.nextTick(()=>z.apply($,I))};return fT1($[pT1].promise,J,J),gd}function lT1($,Y){var z;let U=!1;if(Y===null)Y=hd;if((z=Y)!==null&&z!==void 0&&z.cleanup)kT1(Y.cleanup,"cleanup"),U=Y.cleanup;return new xT1((Q,J)=>{let I=BT0($,Y,(K)=>{if(U)I();if(K)J(K);else Q()})})}yd.exports=BT0;yd.exports.finished=lT1});var LU=E((j14,_T0)=>{var j9=c2(),{aggregateTwoErrors:oT1,codes:{ERR_MULTIPLE_CALLBACK:rT1},AbortError:sT1}=M8(),{Symbol:TT0}=x4(),{kIsDestroyed:aT1,isDestroyed:tT1,isFinished:eT1,isServerRequest:$j1}=T9(),jT0=TT0("kDestroy"),kd=TT0("kConstruct");function ET0($,Y,z){if($){if($.stack,Y&&!Y.errored)Y.errored=$;if(z&&!z.errored)z.errored=$}}function Yj1($,Y){let z=this._readableState,U=this._writableState,Q=U||z;if(U!==null&&U!==void 0&&U.destroyed||z!==null&&z!==void 0&&z.destroyed){if(typeof Y==="function")Y();return this}if(ET0($,U,z),U)U.destroyed=!0;if(z)z.destroyed=!0;if(!Q.constructed)this.once(jT0,function(J){PT0(this,oT1(J,$),Y)});else PT0(this,$,Y);return this}function PT0($,Y,z){let U=!1;function Q(J){if(U)return;U=!0;let{_readableState:I,_writableState:K}=$;if(ET0(J,K,I),K)K.closed=!0;if(I)I.closed=!0;if(typeof z==="function")z(J);if(J)j9.nextTick(zj1,$,J);else j9.nextTick(CT0,$)}try{$._destroy(Y||null,Q)}catch(J){Q(J)}}function zj1($,Y){xd($,Y),CT0($)}function CT0($){let{_readableState:Y,_writableState:z}=$;if(z)z.closeEmitted=!0;if(Y)Y.closeEmitted=!0;if(z!==null&&z!==void 0&&z.emitClose||Y!==null&&Y!==void 0&&Y.emitClose)$.emit("close")}function xd($,Y){let{_readableState:z,_writableState:U}=$;if(U!==null&&U!==void 0&&U.errorEmitted||z!==null&&z!==void 0&&z.errorEmitted)return;if(U)U.errorEmitted=!0;if(z)z.errorEmitted=!0;$.emit("error",Y)}function Uj1(){let $=this._readableState,Y=this._writableState;if($)$.constructed=!0,$.closed=!1,$.closeEmitted=!1,$.destroyed=!1,$.errored=null,$.errorEmitted=!1,$.reading=!1,$.ended=$.readable===!1,$.endEmitted=$.readable===!1;if(Y)Y.constructed=!0,Y.destroyed=!1,Y.closed=!1,Y.closeEmitted=!1,Y.errored=null,Y.errorEmitted=!1,Y.finalCalled=!1,Y.prefinished=!1,Y.ended=Y.writable===!1,Y.ending=Y.writable===!1,Y.finished=Y.writable===!1}function fd($,Y,z){let{_readableState:U,_writableState:Q}=$;if(Q!==null&&Q!==void 0&&Q.destroyed||U!==null&&U!==void 0&&U.destroyed)return this;if(U!==null&&U!==void 0&&U.autoDestroy||Q!==null&&Q!==void 0&&Q.autoDestroy)$.destroy(Y);else if(Y){if(Y.stack,Q&&!Q.errored)Q.errored=Y;if(U&&!U.errored)U.errored=Y;if(z)j9.nextTick(xd,$,Y);else xd($,Y)}}function Qj1($,Y){if(typeof $._construct!=="function")return;let{_readableState:z,_writableState:U}=$;if(z)z.constructed=!1;if(U)U.constructed=!1;if($.once(kd,Y),$.listenerCount(kd)>1)return;j9.nextTick(Jj1,$)}function Jj1($){let Y=!1;function z(U){if(Y){fd($,U!==null&&U!==void 0?U:new rT1);return}Y=!0;let{_readableState:Q,_writableState:J}=$,I=J||Q;if(Q)Q.constructed=!0;if(J)J.constructed=!0;if(I.destroyed)$.emit(jT0,U);else if(U)fd($,U,!0);else j9.nextTick(Ij1,$)}try{$._construct((U)=>{j9.nextTick(z,U)})}catch(U){j9.nextTick(z,U)}}function Ij1($){$.emit(kd)}function AT0($){return($===null||$===void 0?void 0:$.setHeader)&&typeof $.abort==="function"}function RT0($){$.emit("close")}function Kj1($,Y){$.emit("error",Y),j9.nextTick(RT0,$)}function Gj1($,Y){if(!$||tT1($))return;if(!Y&&!eT1($))Y=new sT1;if($j1($))$.socket=null,$.destroy(Y);else if(AT0($))$.abort();else if(AT0($.req))$.req.abort();else if(typeof $.destroy==="function")$.destroy(Y);else if(typeof $.close==="function")$.close();else if(Y)j9.nextTick(Kj1,$,Y);else j9.nextTick(RT0,$);if(!$.destroyed)$[aT1]=!0}_T0.exports={construct:Qj1,destroyer:Gj1,destroy:Yj1,undestroy:Uj1,errorOrDestroy:fd}});var wA=E((E14,hT0)=>{var{ArrayIsArray:Wj1,ObjectSetPrototypeOf:vT0}=x4(),{EventEmitter:LA}=I0("events");function FA($){LA.call(this,$)}vT0(FA.prototype,LA.prototype);vT0(FA,LA);FA.prototype.pipe=function($,Y){let z=this;function U(H){if($.writable&&$.write(H)===!1&&z.pause)z.pause()}z.on("data",U);function Q(){if(z.readable&&z.resume)z.resume()}if($.on("drain",Q),!$._isStdio&&(!Y||Y.end!==!1))z.on("end",I),z.on("close",K);let J=!1;function I(){if(J)return;J=!0,$.end()}function K(){if(J)return;if(J=!0,typeof $.destroy==="function")$.destroy()}function G(H){if(W(),LA.listenerCount(this,"error")===0)this.emit("error",H)}ud(z,"error",G),ud($,"error",G);function W(){z.removeListener("data",U),$.removeListener("drain",Q),z.removeListener("end",I),z.removeListener("close",K),z.removeListener("error",G),$.removeListener("error",G),z.removeListener("end",W),z.removeListener("close",W),$.removeListener("close",W)}return z.on("end",W),z.on("close",W),$.on("close",W),$.emit("pipe",z),$};function ud($,Y,z){if(typeof $.prependListener==="function")return $.prependListener(Y,z);if(!$._events||!$._events[Y])$.on(Y,z);else if(Wj1($._events[Y]))$._events[Y].unshift(z);else $._events[Y]=[z,$._events[Y]]}hT0.exports={Stream:FA,prependListener:ud}});var pZ=E((Fj1,MA)=>{var{SymbolDispose:Hj1}=x4(),{AbortError:ST0,codes:Xj1}=M8(),{isNodeStream:gT0,isWebStream:Zj1,kControllerErrorFunction:qj1}=T9(),Vj1=u7(),{ERR_INVALID_ARG_TYPE:yT0}=Xj1,bd,Lj1=($,Y)=>{if(typeof $!=="object"||!("aborted"in $))throw new yT0(Y,"AbortSignal",$)};Fj1.addAbortSignal=function(Y,z){if(Lj1(Y,"signal"),!gT0(z)&&!Zj1(z))throw new yT0("stream",["ReadableStream","WritableStream","Stream"],z);return Fj1.addAbortSignalNoValidate(Y,z)};Fj1.addAbortSignalNoValidate=function($,Y){if(typeof $!=="object"||!("aborted"in $))return Y;let z=gT0(Y)?()=>{Y.destroy(new ST0(void 0,{cause:$.reason}))}:()=>{Y[qj1](new ST0(void 0,{cause:$.reason}))};if($.aborted)z();else{bd=bd||g8().addAbortListener;let U=bd($,z);Vj1(Y,U[Hj1])}return Y}});var fT0=E((C14,xT0)=>{var{StringPrototypeSlice:kT0,SymbolIterator:Oj1,TypedArrayPrototypeSet:OA,Uint8Array:Nj1}=x4(),{Buffer:id}=I0("buffer"),{inspect:Dj1}=g8();xT0.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(Y){let z={data:Y,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}unshift(Y){let z={data:Y,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}shift(){if(this.length===0)return;let Y=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,Y}clear(){this.head=this.tail=null,this.length=0}join(Y){if(this.length===0)return"";let z=this.head,U=""+z.data;while((z=z.next)!==null)U+=Y+z.data;return U}concat(Y){if(this.length===0)return id.alloc(0);let z=id.allocUnsafe(Y>>>0),U=this.head,Q=0;while(U)OA(z,U.data,Q),Q+=U.data.length,U=U.next;return z}consume(Y,z){let U=this.head.data;if(YJ.length)z+=J,Y-=J.length;else{if(Y===J.length)if(z+=J,++Q,U.next)this.head=U.next;else this.head=this.tail=null;else z+=kT0(J,0,Y),this.head=U,U.data=kT0(J,Y);break}++Q}while((U=U.next)!==null);return this.length-=Q,z}_getBuffer(Y){let z=id.allocUnsafe(Y),U=Y,Q=this.head,J=0;do{let I=Q.data;if(Y>I.length)OA(z,I,U-Y),Y-=I.length;else{if(Y===I.length)if(OA(z,I,U-Y),++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else OA(z,new Nj1(I.buffer,I.byteOffset,Y),U-Y),this.head=Q,Q.data=I.slice(Y);break}++J}while((Q=Q.next)!==null);return this.length-=J,z}[Symbol.for("nodejs.util.inspect.custom")](Y,z){return Dj1(this,{...z,depth:0,customInspect:!1})}}});var dZ=E((R14,cT0)=>{var{MathFloor:Bj1,NumberIsInteger:Pj1}=x4(),{validateInteger:Aj1}=VK(),{ERR_INVALID_ARG_VALUE:Tj1}=M8().codes,uT0=16384,bT0=16;function jj1($,Y,z){return $.highWaterMark!=null?$.highWaterMark:Y?$[z]:null}function iT0($){return $?bT0:uT0}function Ej1($,Y){if(Aj1(Y,"value",0),$)bT0=Y;else uT0=Y}function Cj1($,Y,z,U){let Q=jj1(Y,U,z);if(Q!=null){if(!Pj1(Q)||Q<0){let J=U?`options.${z}`:"options.highWaterMark";throw new Tj1(J,Q)}return Bj1(Q)}return iT0($.objectMode)}cT0.exports={getHighWaterMark:Cj1,getDefaultHighWaterMark:iT0,setDefaultHighWaterMark:Ej1}});var cd=E((_14,mT0)=>{var nT0=c2(),{PromisePrototypeThen:Rj1,SymbolAsyncIterator:pT0,SymbolIterator:dT0}=x4(),{Buffer:_j1}=I0("buffer"),{ERR_INVALID_ARG_TYPE:vj1,ERR_STREAM_NULL_VALUES:hj1}=M8().codes;function Sj1($,Y,z){let U;if(typeof Y==="string"||Y instanceof _j1)return new $({objectMode:!0,...z,read(){this.push(Y),this.push(null)}});let Q;if(Y&&Y[pT0])Q=!0,U=Y[pT0]();else if(Y&&Y[dT0])Q=!1,U=Y[dT0]();else throw new vj1("iterable",["Iterable"],Y);let J=new $({objectMode:!0,highWaterMark:1,...z}),I=!1;J._read=function(){if(!I)I=!0,G()},J._destroy=function(W,H){Rj1(K(W),()=>nT0.nextTick(H,W),(X)=>nT0.nextTick(H,X||W))};async function K(W){let H=W!==void 0&&W!==null,X=typeof U.throw==="function";if(H&&X){let{value:Z,done:q}=await U.throw(W);if(await Z,q)return}if(typeof U.return==="function"){let{value:Z}=await U.return();await Z}}async function G(){for(;;){try{let{value:W,done:H}=Q?await U.next():U.next();if(H)J.push(null);else{let X=W&&typeof W.then==="function"?await W:W;if(X===null)throw I=!1,new hj1;else if(J.push(X))continue;else I=!1}}catch(W){J.destroy(W)}break}}return J}mT0.exports=Sj1});var lZ=E((v14,Hj0)=>{var P5=c2(),{ArrayPrototypeIndexOf:gj1,NumberIsInteger:yj1,NumberIsNaN:kj1,NumberParseInt:xj1,ObjectDefineProperties:sd,ObjectKeys:fj1,ObjectSetPrototypeOf:rT0,Promise:sT0,SafeSet:uj1,SymbolAsyncDispose:bj1,SymbolAsyncIterator:ij1,Symbol:cj1}=x4();Hj0.exports=A1;A1.ReadableState=PA;var{EventEmitter:nj1}=I0("events"),{Stream:p2,prependListener:pj1}=wA(),{Buffer:nd}=I0("buffer"),{addAbortSignal:dj1}=pZ(),aT0=u7(),y1=g8().debuglog("stream",($)=>{y1=$}),mj1=fT0(),MK=LU(),{getHighWaterMark:lj1,getDefaultHighWaterMark:oj1}=dZ(),{aggregateTwoErrors:lT0,codes:{ERR_INVALID_ARG_TYPE:rj1,ERR_METHOD_NOT_IMPLEMENTED:sj1,ERR_OUT_OF_RANGE:aj1,ERR_STREAM_PUSH_AFTER_EOF:tj1,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:ej1},AbortError:$E1}=M8(),{validateObject:YE1}=VK(),FU=cj1("kPaused"),{StringDecoder:tT0}=NJ(),zE1=cd();rT0(A1.prototype,p2.prototype);rT0(A1,p2);var pd=()=>{},{errorOrDestroy:FK}=MK,wK=1,UE1=2,eT0=4,mZ=8,$j0=16,NA=32,DA=64,Yj0=128,QE1=256,JE1=512,IE1=1024,od=2048,rd=4096,KE1=8192,GE1=16384,WE1=32768,zj0=65536,HE1=131072,XE1=262144;function C6($){return{enumerable:!1,get(){return(this.state&$)!==0},set(Y){if(Y)this.state|=$;else this.state&=~$}}}sd(PA.prototype,{objectMode:C6(wK),ended:C6(UE1),endEmitted:C6(eT0),reading:C6(mZ),constructed:C6($j0),sync:C6(NA),needReadable:C6(DA),emittedReadable:C6(Yj0),readableListening:C6(QE1),resumeScheduled:C6(JE1),errorEmitted:C6(IE1),emitClose:C6(od),autoDestroy:C6(rd),destroyed:C6(KE1),closed:C6(GE1),closeEmitted:C6(WE1),multiAwaitDrain:C6(zj0),readingMore:C6(HE1),dataEmitted:C6(XE1)});function PA($,Y,z){if(typeof z!=="boolean")z=Y instanceof E9();if(this.state=od|rd|$j0|NA,$&&$.objectMode)this.state|=wK;if(z&&$&&$.readableObjectMode)this.state|=wK;if(this.highWaterMark=$?lj1(this,$,"readableHighWaterMark",z):oj1(!1),this.buffer=new mj1,this.length=0,this.pipes=[],this.flowing=null,this[FU]=null,$&&$.emitClose===!1)this.state&=~od;if($&&$.autoDestroy===!1)this.state&=~rd;if(this.errored=null,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,$&&$.encoding)this.decoder=new tT0($.encoding),this.encoding=$.encoding}function A1($){if(!(this instanceof A1))return new A1($);let Y=this instanceof E9();if(this._readableState=new PA($,this,Y),$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.construct==="function")this._construct=$.construct;if($.signal&&!Y)dj1($.signal,this)}p2.call(this,$),MK.construct(this,()=>{if(this._readableState.needReadable)BA(this,this._readableState)})}A1.prototype.destroy=MK.destroy;A1.prototype._undestroy=MK.undestroy;A1.prototype._destroy=function($,Y){Y($)};A1.prototype[nj1.captureRejectionSymbol]=function($){this.destroy($)};A1.prototype[bj1]=function(){let $;if(!this.destroyed)$=this.readableEnded?null:new $E1,this.destroy($);return new sT0((Y,z)=>aT0(this,(U)=>U&&U!==$?z(U):Y(null)))};A1.prototype.push=function($,Y){return Uj0(this,$,Y,!1)};A1.prototype.unshift=function($,Y){return Uj0(this,$,Y,!0)};function Uj0($,Y,z,U){y1("readableAddChunk",Y);let Q=$._readableState,J;if((Q.state&wK)===0){if(typeof Y==="string"){if(z=z||Q.defaultEncoding,Q.encoding!==z)if(U&&Q.encoding)Y=nd.from(Y,z).toString(Q.encoding);else Y=nd.from(Y,z),z=""}else if(Y instanceof nd)z="";else if(p2._isUint8Array(Y))Y=p2._uint8ArrayToBuffer(Y),z="";else if(Y!=null)J=new rj1("chunk",["string","Buffer","Uint8Array"],Y)}if(J)FK($,J);else if(Y===null)Q.state&=~mZ,VE1($,Q);else if((Q.state&wK)!==0||Y&&Y.length>0)if(U)if((Q.state&eT0)!==0)FK($,new ej1);else if(Q.destroyed||Q.errored)return!1;else dd($,Q,Y,!0);else if(Q.ended)FK($,new tj1);else if(Q.destroyed||Q.errored)return!1;else if(Q.state&=~mZ,Q.decoder&&!z)if(Y=Q.decoder.write(Y),Q.objectMode||Y.length!==0)dd($,Q,Y,!1);else BA($,Q);else dd($,Q,Y,!1);else if(!U)Q.state&=~mZ,BA($,Q);return!Q.ended&&(Q.length0){if((Y.state&zj0)!==0)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;Y.dataEmitted=!0,$.emit("data",z)}else{if(Y.length+=Y.objectMode?1:z.length,U)Y.buffer.unshift(z);else Y.buffer.push(z);if((Y.state&DA)!==0)AA($)}BA($,Y)}A1.prototype.isPaused=function(){let $=this._readableState;return $[FU]===!0||$.flowing===!1};A1.prototype.setEncoding=function($){let Y=new tT0($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;let z=this._readableState.buffer,U="";for(let Q of z)U+=Y.write(Q);if(z.clear(),U!=="")z.push(U);return this._readableState.length=U.length,this};var ZE1=1073741824;function qE1($){if($>ZE1)throw new aj1("size","<= 1GiB",$);else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function oT0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if((Y.state&wK)!==0)return 1;if(kj1($)){if(Y.flowing&&Y.length)return Y.buffer.first().length;return Y.length}if($<=Y.length)return $;return Y.ended?Y.length:0}A1.prototype.read=function($){if(y1("read",$),$===void 0)$=NaN;else if(!yj1($))$=xj1($,10);let Y=this._readableState,z=$;if($>Y.highWaterMark)Y.highWaterMark=qE1($);if($!==0)Y.state&=~Yj0;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(y1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)md(this);else AA(this);return null}if($=oT0($,Y),$===0&&Y.ended){if(Y.length===0)md(this);return null}let U=(Y.state&DA)!==0;if(y1("need readable",U),Y.length===0||Y.length-$0)Q=Gj0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else if(Y.length-=$,Y.multiAwaitDrain)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(z!==$&&Y.ended)md(this)}if(Q!==null&&!Y.errorEmitted&&!Y.closeEmitted)Y.dataEmitted=!0,this.emit("data",Q);return Q};function VE1($,Y){if(y1("onEofChunk"),Y.ended)return;if(Y.decoder){let z=Y.decoder.end();if(z&&z.length)Y.buffer.push(z),Y.length+=Y.objectMode?1:z.length}if(Y.ended=!0,Y.sync)AA($);else Y.needReadable=!1,Y.emittedReadable=!0,Qj0($)}function AA($){let Y=$._readableState;if(y1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)y1("emitReadable",Y.flowing),Y.emittedReadable=!0,P5.nextTick(Qj0,$)}function Qj0($){let Y=$._readableState;if(y1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&!Y.errored&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Ij0($)}function BA($,Y){if(!Y.readingMore&&Y.constructed)Y.readingMore=!0,P5.nextTick(LE1,$,Y)}function LE1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&U.pipes.includes($))y1("false write response, pause",U.awaitDrainWriters.size),U.awaitDrainWriters.add($);z.pause()}if(!G)G=FE1(z,$),$.on("drain",G)}z.on("data",Z);function Z(w){y1("ondata");let O=$.write(w);if(y1("dest.write",O),O===!1)X()}function q(w){if(y1("onerror",w),M(),$.removeListener("error",q),$.listenerCount("error")===0){let O=$._writableState||$._readableState;if(O&&!O.errorEmitted)FK($,w);else $.emit("error",w)}}pj1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){y1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){y1("unpipe"),z.unpipe($)}if($.emit("pipe",z),$.writableNeedDrain===!0)X();else if(!U.flowing)y1("pipe resume"),z.resume();return $};function FE1($,Y){return function(){let U=$._readableState;if(U.awaitDrainWriters===Y)y1("pipeOnDrain",1),U.awaitDrainWriters=null;else if(U.multiAwaitDrain)y1("pipeOnDrain",U.awaitDrainWriters.size),U.awaitDrainWriters.delete(Y);if((!U.awaitDrainWriters||U.awaitDrainWriters.size===0)&&$.listenerCount("data"))$.resume()}}A1.prototype.unpipe=function($){let Y=this._readableState,z={hasUnpiped:!1};if(Y.pipes.length===0)return this;if(!$){let Q=Y.pipes;Y.pipes=[],this.pause();for(let J=0;J0,U.flowing!==!1)this.resume()}else if($==="readable"){if(!U.endEmitted&&!U.readableListening){if(U.readableListening=U.needReadable=!0,U.flowing=!1,U.emittedReadable=!1,y1("on readable",U.length,U.reading),U.length)AA(this);else if(!U.reading)P5.nextTick(wE1,this)}}return z};A1.prototype.addListener=A1.prototype.on;A1.prototype.removeListener=function($,Y){let z=p2.prototype.removeListener.call(this,$,Y);if($==="readable")P5.nextTick(Jj0,this);return z};A1.prototype.off=A1.prototype.removeListener;A1.prototype.removeAllListeners=function($){let Y=p2.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)P5.nextTick(Jj0,this);return Y};function Jj0($){let Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&Y[FU]===!1)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume();else if(!Y.readableListening)Y.flowing=null}function wE1($){y1("readable nexttick read 0"),$.read(0)}A1.prototype.resume=function(){let $=this._readableState;if(!$.flowing)y1("resume"),$.flowing=!$.readableListening,ME1(this,$);return $[FU]=!1,this};function ME1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,P5.nextTick(OE1,$,Y)}function OE1($,Y){if(y1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Ij0($),Y.flowing&&!Y.reading)$.read(0)}A1.prototype.pause=function(){if(y1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)y1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[FU]=!0,this};function Ij0($){let Y=$._readableState;y1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}A1.prototype.wrap=function($){let Y=!1;$.on("data",(U)=>{if(!this.push(U)&&$.pause)Y=!0,$.pause()}),$.on("end",()=>{this.push(null)}),$.on("error",(U)=>{FK(this,U)}),$.on("close",()=>{this.destroy()}),$.on("destroy",()=>{this.destroy()}),this._read=()=>{if(Y&&$.resume)Y=!1,$.resume()};let z=fj1($);for(let U=1;U{Q=I?lT0(Q,I):null,z(),z=pd});try{while(!0){let I=$.destroyed?null:$.read();if(I!==null)yield I;else if(Q)throw Q;else if(Q===null)return;else await new sT0(U)}}catch(I){throw Q=lT0(Q,I),Q}finally{if((Q||(Y===null||Y===void 0?void 0:Y.destroyOnReturn)!==!1)&&(Q===void 0||$._readableState.autoDestroy))MK.destroyer($,null);else $.off("readable",U),J()}}sd(A1.prototype,{readable:{__proto__:null,get(){let $=this._readableState;return!!$&&$.readable!==!1&&!$.destroyed&&!$.errorEmitted&&!$.endEmitted},set($){if(this._readableState)this._readableState.readable=!!$}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function($){if(this._readableState)this._readableState.flowing=$}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set($){if(!this._readableState)return;this._readableState.destroyed=$}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});sd(PA.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[FU]!==!1},set($){this[FU]=!!$}}});A1._fromList=Gj0;function Gj0($,Y){if(Y.length===0)return null;let z;if(Y.objectMode)z=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)z=Y.buffer.join("");else if(Y.buffer.length===1)z=Y.buffer.first();else z=Y.buffer.concat(Y.length);Y.buffer.clear()}else z=Y.buffer.consume($,Y.decoder);return z}function md($){let Y=$._readableState;if(y1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,P5.nextTick(DE1,Y,$)}function DE1($,Y){if(y1("endReadableNT",$.endEmitted,$.length),!$.errored&&!$.closeEmitted&&!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.emit("end"),Y.writable&&Y.allowHalfOpen===!1)P5.nextTick(BE1,Y);else if($.autoDestroy){let z=Y._writableState;if(!z||z.autoDestroy&&(z.finished||z.writable===!1))Y.destroy()}}}function BE1($){if($.writable&&!$.writableEnded&&!$.destroyed)$.end()}A1.from=function($,Y){return zE1(A1,$,Y)};var ld;function Wj0(){if(ld===void 0)ld={};return ld}A1.fromWeb=function($,Y){return Wj0().newStreamReadableFromReadableStream($,Y)};A1.toWeb=function($,Y){return Wj0().newReadableStreamFromStreamReadable($,Y)};A1.wrap=function($,Y){var z,U;return new A1({objectMode:(z=(U=$.readableObjectMode)!==null&&U!==void 0?U:$.objectMode)!==null&&z!==void 0?z:!0,...Y,destroy(Q,J){MK.destroyer($,Q),J(Q)}}).wrap($)}});var RA=E((h14,Bj0)=>{var wU=c2(),{ArrayPrototypeSlice:qj0,Error:PE1,FunctionPrototypeSymbolHasInstance:Vj0,ObjectDefineProperty:Lj0,ObjectDefineProperties:AE1,ObjectSetPrototypeOf:Fj0,StringPrototypeToLowerCase:TE1,Symbol:jE1,SymbolHasInstance:EE1}=x4();Bj0.exports=m4;m4.WritableState=sZ;var{EventEmitter:CE1}=I0("events"),oZ=wA().Stream,{Buffer:TA}=I0("buffer"),CA=LU(),{addAbortSignal:RE1}=pZ(),{getHighWaterMark:_E1,getDefaultHighWaterMark:vE1}=dZ(),{ERR_INVALID_ARG_TYPE:hE1,ERR_METHOD_NOT_IMPLEMENTED:SE1,ERR_MULTIPLE_CALLBACK:wj0,ERR_STREAM_CANNOT_PIPE:gE1,ERR_STREAM_DESTROYED:rZ,ERR_STREAM_ALREADY_FINISHED:yE1,ERR_STREAM_NULL_VALUES:kE1,ERR_STREAM_WRITE_AFTER_END:xE1,ERR_UNKNOWN_ENCODING:Mj0}=M8().codes,{errorOrDestroy:OK}=CA;Fj0(m4.prototype,oZ.prototype);Fj0(m4,oZ);function ed(){}var NK=jE1("kOnFinished");function sZ($,Y,z){if(typeof z!=="boolean")z=Y instanceof E9();if(this.objectMode=!!($&&$.objectMode),z)this.objectMode=this.objectMode||!!($&&$.writableObjectMode);this.highWaterMark=$?_E1(this,$,"writableHighWaterMark",z):vE1(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let U=!!($&&$.decodeStrings===!1);this.decodeStrings=!U,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=uE1.bind(void 0,Y),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,EA(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!$||$.emitClose!==!1,this.autoDestroy=!$||$.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[NK]=[]}function EA($){$.buffered=[],$.bufferedIndex=0,$.allBuffers=!0,$.allNoop=!0}sZ.prototype.getBuffer=function(){return qj0(this.buffered,this.bufferedIndex)};Lj0(sZ.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function m4($){let Y=this instanceof E9();if(!Y&&!Vj0(m4,this))return new m4($);if(this._writableState=new sZ($,this,Y),$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final;if(typeof $.construct==="function")this._construct=$.construct;if($.signal)RE1($.signal,this)}oZ.call(this,$),CA.construct(this,()=>{let z=this._writableState;if(!z.writing)Ym(this,z);zm(this,z)})}Lj0(m4,EE1,{__proto__:null,value:function($){if(Vj0(this,$))return!0;if(this!==m4)return!1;return $&&$._writableState instanceof sZ}});m4.prototype.pipe=function(){OK(this,new gE1)};function Oj0($,Y,z,U){let Q=$._writableState;if(typeof z==="function")U=z,z=Q.defaultEncoding;else{if(!z)z=Q.defaultEncoding;else if(z!=="buffer"&&!TA.isEncoding(z))throw new Mj0(z);if(typeof U!=="function")U=ed}if(Y===null)throw new kE1;else if(!Q.objectMode)if(typeof Y==="string"){if(Q.decodeStrings!==!1)Y=TA.from(Y,z),z="buffer"}else if(Y instanceof TA)z="buffer";else if(oZ._isUint8Array(Y))Y=oZ._uint8ArrayToBuffer(Y),z="buffer";else throw new hE1("chunk",["string","Buffer","Uint8Array"],Y);let J;if(Q.ending)J=new xE1;else if(Q.destroyed)J=new rZ("write");if(J)return wU.nextTick(U,J),OK($,J,!0),J;return Q.pendingcb++,fE1($,Q,Y,z,U)}m4.prototype.write=function($,Y,z){return Oj0(this,$,Y,z)===!0};m4.prototype.cork=function(){this._writableState.corked++};m4.prototype.uncork=function(){let $=this._writableState;if($.corked){if($.corked--,!$.writing)Ym(this,$)}};m4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=TE1(Y);if(!TA.isEncoding(Y))throw new Mj0(Y);return this._writableState.defaultEncoding=Y,this};function fE1($,Y,z,U,Q){let J=Y.objectMode?1:z.length;Y.length+=J;let I=Y.lengthz.bufferedIndex)Ym($,z);if(U)if(z.afterWriteTickInfo!==null&&z.afterWriteTickInfo.cb===Q)z.afterWriteTickInfo.count++;else z.afterWriteTickInfo={count:1,cb:Q,stream:$,state:z},wU.nextTick(bE1,z.afterWriteTickInfo);else Nj0($,z,1,Q)}}function bE1({stream:$,state:Y,count:z,cb:U}){return Y.afterWriteTickInfo=null,Nj0($,Y,z,U)}function Nj0($,Y,z,U){if(!Y.ending&&!$.destroyed&&Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain");while(z-- >0)Y.pendingcb--,U();if(Y.destroyed)$m(Y);zm($,Y)}function $m($){if($.writing)return;for(let Q=$.bufferedIndex;Q<$.buffered.length;++Q){var Y;let{chunk:J,callback:I}=$.buffered[Q],K=$.objectMode?1:J.length;$.length-=K,I((Y=$.errored)!==null&&Y!==void 0?Y:new rZ("write"))}let z=$[NK].splice(0);for(let Q=0;Q1&&$._writev){Y.pendingcb-=J-1;let K=Y.allNoop?ed:(W)=>{for(let H=I;H256)z.splice(0,I),Y.bufferedIndex=0;else Y.bufferedIndex=I}Y.bufferProcessing=!1}m4.prototype._write=function($,Y,z){if(this._writev)this._writev([{chunk:$,encoding:Y}],z);else throw new SE1("_write()")};m4.prototype._writev=null;m4.prototype.end=function($,Y,z){let U=this._writableState;if(typeof $==="function")z=$,$=null,Y=null;else if(typeof Y==="function")z=Y,Y=null;let Q;if($!==null&&$!==void 0){let J=Oj0(this,$,Y);if(J instanceof PE1)Q=J}if(U.corked)U.corked=1,this.uncork();if(Q);else if(!U.errored&&!U.ending)U.ending=!0,zm(this,U,!0),U.ended=!0;else if(U.finished)Q=new yE1("end");else if(U.destroyed)Q=new rZ("end");if(typeof z==="function")if(Q||U.finished)wU.nextTick(z,Q);else U[NK].push(z);return this};function jA($){return $.ending&&!$.destroyed&&$.constructed&&$.length===0&&!$.errored&&$.buffered.length===0&&!$.finished&&!$.writing&&!$.errorEmitted&&!$.closeEmitted}function iE1($,Y){let z=!1;function U(Q){if(z){OK($,Q!==null&&Q!==void 0?Q:wj0());return}if(z=!0,Y.pendingcb--,Q){let J=Y[NK].splice(0);for(let I=0;I{if(jA(Q))td(U,Q);else Q.pendingcb--},$,Y);else if(jA(Y))Y.pendingcb++,td($,Y)}}}function td($,Y){Y.pendingcb--,Y.finished=!0;let z=Y[NK].splice(0);for(let U=0;U{var Um=c2(),pE1=I0("buffer"),{isReadable:dE1,isWritable:mE1,isIterable:Pj0,isNodeStream:lE1,isReadableNodeStream:Aj0,isWritableNodeStream:Tj0,isDuplexNodeStream:oE1,isReadableStream:jj0,isWritableStream:Ej0}=T9(),Cj0=u7(),{AbortError:gj0,codes:{ERR_INVALID_ARG_TYPE:rE1,ERR_INVALID_RETURN_VALUE:Rj0}}=M8(),{destroyer:BK}=LU(),sE1=E9(),yj0=lZ(),aE1=RA(),{createDeferredPromise:_j0}=g8(),vj0=cd(),hj0=globalThis.Blob||pE1.Blob,tE1=typeof hj0<"u"?function(Y){return Y instanceof hj0}:function(Y){return!1},eE1=globalThis.AbortController||ZK().AbortController,{FunctionPrototypeCall:Sj0}=x4();class MU extends sE1{constructor($){super($);if(($===null||$===void 0?void 0:$.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(($===null||$===void 0?void 0:$.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}kj0.exports=function $(Y,z){if(oE1(Y))return Y;if(Aj0(Y))return DK({readable:Y});if(Tj0(Y))return DK({writable:Y});if(lE1(Y))return DK({writable:!1,readable:!1});if(jj0(Y))return DK({readable:yj0.fromWeb(Y)});if(Ej0(Y))return DK({writable:aE1.fromWeb(Y)});if(typeof Y==="function"){let{value:Q,write:J,final:I,destroy:K}=$C1(Y);if(Pj0(Q))return vj0(MU,Q,{objectMode:!0,write:J,final:I,destroy:K});let G=Q===null||Q===void 0?void 0:Q.then;if(typeof G==="function"){let W,H=Sj0(G,Q,(X)=>{if(X!=null)throw new Rj0("nully","body",X)},(X)=>{BK(W,X)});return W=new MU({objectMode:!0,readable:!1,write:J,final(X){I(async()=>{try{await H,Um.nextTick(X,null)}catch(Z){Um.nextTick(X,Z)}})},destroy:K})}throw new Rj0("Iterable, AsyncIterable or AsyncFunction",z,Q)}if(tE1(Y))return $(Y.arrayBuffer());if(Pj0(Y))return vj0(MU,Y,{objectMode:!0,writable:!1});if(jj0(Y===null||Y===void 0?void 0:Y.readable)&&Ej0(Y===null||Y===void 0?void 0:Y.writable))return MU.fromWeb(Y);if(typeof(Y===null||Y===void 0?void 0:Y.writable)==="object"||typeof(Y===null||Y===void 0?void 0:Y.readable)==="object"){let Q=Y!==null&&Y!==void 0&&Y.readable?Aj0(Y===null||Y===void 0?void 0:Y.readable)?Y===null||Y===void 0?void 0:Y.readable:$(Y.readable):void 0,J=Y!==null&&Y!==void 0&&Y.writable?Tj0(Y===null||Y===void 0?void 0:Y.writable)?Y===null||Y===void 0?void 0:Y.writable:$(Y.writable):void 0;return DK({readable:Q,writable:J})}let U=Y===null||Y===void 0?void 0:Y.then;if(typeof U==="function"){let Q;return Sj0(U,Y,(J)=>{if(J!=null)Q.push(J);Q.push(null)},(J)=>{BK(Q,J)}),Q=new MU({objectMode:!0,writable:!1,read(){}})}throw new rE1(z,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],Y)};function $C1($){let{promise:Y,resolve:z}=_j0(),U=new eE1,Q=U.signal;return{value:$(async function*(){while(!0){let I=Y;Y=null;let{chunk:K,done:G,cb:W}=await I;if(Um.nextTick(W),G)return;if(Q.aborted)throw new gj0(void 0,{cause:Q.reason});({promise:Y,resolve:z}=_j0()),yield K}}(),{signal:Q}),write(I,K,G){let W=z;z=null,W({chunk:I,done:!1,cb:G})},final(I){let K=z;z=null,K({done:!0,cb:I})},destroy(I,K){U.abort(),K(I)}}}function DK($){let Y=$.readable&&typeof $.readable.read!=="function"?yj0.wrap($.readable):$.readable,z=$.writable,U=!!dE1(Y),Q=!!mE1(z),J,I,K,G,W;function H(X){let Z=G;if(G=null,Z)Z(X);else if(X)W.destroy(X)}if(W=new MU({readableObjectMode:!!(Y!==null&&Y!==void 0&&Y.readableObjectMode),writableObjectMode:!!(z!==null&&z!==void 0&&z.writableObjectMode),readable:U,writable:Q}),Q)Cj0(z,(X)=>{if(Q=!1,X)BK(Y,X);H(X)}),W._write=function(X,Z,q){if(z.write(X,Z))q();else J=q},W._final=function(X){z.end(),I=X},z.on("drain",function(){if(J){let X=J;J=null,X()}}),z.on("finish",function(){if(I){let X=I;I=null,X()}});if(U)Cj0(Y,(X)=>{if(U=!1,X)BK(Y,X);H(X)}),Y.on("readable",function(){if(K){let X=K;K=null,X()}}),Y.on("end",function(){W.push(null)}),W._read=function(){while(!0){let X=Y.read();if(X===null){K=W._read;return}if(!W.push(X))return}};return W._destroy=function(X,Z){if(!X&&G!==null)X=new gj0;if(K=null,J=null,I=null,G===null)Z(X);else G=Z,BK(z,X),BK(Y,X)},W}});var E9=E((g14,bj0)=>{var{ObjectDefineProperties:YC1,ObjectGetOwnPropertyDescriptor:b7,ObjectKeys:zC1,ObjectSetPrototypeOf:fj0}=x4();bj0.exports=A5;var Im=lZ(),l$=RA();fj0(A5.prototype,Im.prototype);fj0(A5,Im);{let $=zC1(l$.prototype);for(let Y=0;Y<$.length;Y++){let z=$[Y];if(!A5.prototype[z])A5.prototype[z]=l$.prototype[z]}}function A5($){if(!(this instanceof A5))return new A5($);if(Im.call(this,$),l$.call(this,$),$){if(this.allowHalfOpen=$.allowHalfOpen!==!1,$.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if($.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}YC1(A5.prototype,{writable:{__proto__:null,...b7(l$.prototype,"writable")},writableHighWaterMark:{__proto__:null,...b7(l$.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...b7(l$.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...b7(l$.prototype,"writableBuffer")},writableLength:{__proto__:null,...b7(l$.prototype,"writableLength")},writableFinished:{__proto__:null,...b7(l$.prototype,"writableFinished")},writableCorked:{__proto__:null,...b7(l$.prototype,"writableCorked")},writableEnded:{__proto__:null,...b7(l$.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...b7(l$.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set($){if(this._readableState&&this._writableState)this._readableState.destroyed=$,this._writableState.destroyed=$}}});var Qm;function uj0(){if(Qm===void 0)Qm={};return Qm}A5.fromWeb=function($,Y){return uj0().newStreamDuplexFromReadableWritablePair($,Y)};A5.toWeb=function($){return uj0().newReadableWritablePairFromDuplex($)};var Jm;A5.from=function($){if(!Jm)Jm=xj0();return Jm($,"body")}});var Wm=E((y14,cj0)=>{var{ObjectSetPrototypeOf:ij0,Symbol:UC1}=x4();cj0.exports=i7;var{ERR_METHOD_NOT_IMPLEMENTED:QC1}=M8().codes,Gm=E9(),{getHighWaterMark:JC1}=dZ();ij0(i7.prototype,Gm.prototype);ij0(i7,Gm);var aZ=UC1("kCallback");function i7($){if(!(this instanceof i7))return new i7($);let Y=$?JC1(this,$,"readableHighWaterMark",!0):null;if(Y===0)$={...$,highWaterMark:null,readableHighWaterMark:Y,writableHighWaterMark:$.writableHighWaterMark||0};if(Gm.call(this,$),this._readableState.sync=!1,this[aZ]=null,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",IC1)}function Km($){if(typeof this._flush==="function"&&!this.destroyed)this._flush((Y,z)=>{if(Y){if($)$(Y);else this.destroy(Y);return}if(z!=null)this.push(z);if(this.push(null),$)$()});else if(this.push(null),$)$()}function IC1(){if(this._final!==Km)Km.call(this)}i7.prototype._final=Km;i7.prototype._transform=function($,Y,z){throw new QC1("_transform()")};i7.prototype._write=function($,Y,z){let U=this._readableState,Q=this._writableState,J=U.length;this._transform($,Y,(I,K)=>{if(I){z(I);return}if(K!=null)this.push(K);if(Q.ended||J===U.length||U.length{var{ObjectSetPrototypeOf:nj0}=x4();pj0.exports=PK;var Hm=Wm();nj0(PK.prototype,Hm.prototype);nj0(PK,Hm);function PK($){if(!(this instanceof PK))return new PK($);Hm.call(this,$)}PK.prototype._transform=function($,Y,z){z(null,$)}});var SA=E((x14,rj0)=>{var tZ=c2(),{ArrayIsArray:KC1,Promise:GC1,SymbolAsyncIterator:WC1,SymbolDispose:HC1}=x4(),hA=u7(),{once:XC1}=g8(),ZC1=LU(),dj0=E9(),{aggregateTwoErrors:qC1,codes:{ERR_INVALID_ARG_TYPE:Nm,ERR_INVALID_RETURN_VALUE:Zm,ERR_MISSING_ARGS:VC1,ERR_STREAM_DESTROYED:LC1,ERR_STREAM_PREMATURE_CLOSE:FC1},AbortError:wC1}=M8(),{validateFunction:MC1,validateAbortSignal:OC1}=VK(),{isIterable:OU,isReadable:qm,isReadableNodeStream:vA,isNodeStream:mj0,isTransformStream:AK,isWebStream:NC1,isReadableStream:Vm,isReadableFinished:DC1}=T9(),BC1=globalThis.AbortController||ZK().AbortController,Lm,Fm,wm;function lj0($,Y,z){let U=!1;$.on("close",()=>{U=!0});let Q=hA($,{readable:Y,writable:z},(J)=>{U=!J});return{destroy:(J)=>{if(U)return;U=!0,ZC1.destroyer($,J||new LC1("pipe"))},cleanup:Q}}function PC1($){return MC1($[$.length-1],"streams[stream.length - 1]"),$.pop()}function Mm($){if(OU($))return $;else if(vA($))return AC1($);throw new Nm("val",["Readable","Iterable","AsyncIterable"],$)}async function*AC1($){if(!Fm)Fm=lZ();yield*Fm.prototype[WC1].call($)}async function _A($,Y,z,{end:U}){let Q,J=null,I=(W)=>{if(W)Q=W;if(J){let H=J;J=null,H()}},K=()=>new GC1((W,H)=>{if(Q)H(Q);else J=()=>{if(Q)H(Q);else W()}});Y.on("drain",I);let G=hA(Y,{readable:!1},I);try{if(Y.writableNeedDrain)await K();for await(let W of $)if(!Y.write(W))await K();if(U)Y.end(),await K();z()}catch(W){z(Q!==W?qC1(Q,W):W)}finally{G(),Y.off("drain",I)}}async function Om($,Y,z,{end:U}){if(AK(Y))Y=Y.writable;let Q=Y.getWriter();try{for await(let J of $)await Q.ready,Q.write(J).catch(()=>{});if(await Q.ready,U)await Q.close();z()}catch(J){try{await Q.abort(J),z(J)}catch(I){z(I)}}}function TC1(...$){return oj0($,XC1(PC1($)))}function oj0($,Y,z){if($.length===1&&KC1($[0]))$=$[0];if($.length<2)throw new VC1("streams");let U=new BC1,Q=U.signal,J=z===null||z===void 0?void 0:z.signal,I=[];OC1(J,"options.signal");function K(){V(new wC1)}wm=wm||g8().addAbortListener;let G;if(J)G=wm(J,K);let W,H,X=[],Z=0;function q(N){V(N,--Z===0)}function V(N,D){var T;if(N&&(!W||W.code==="ERR_STREAM_PREMATURE_CLOSE"))W=N;if(!W&&!D)return;while(X.length)X.shift()(W);if((T=G)===null||T===void 0||T[HC1](),U.abort(),D){if(!W)I.forEach((A)=>A());tZ.nextTick(Y,W,H)}}let F;for(let N=0;N<$.length;N++){let D=$[N],T=N<$.length-1,A=N>0,B=T||(z===null||z===void 0?void 0:z.end)!==!1,j=N===$.length-1;if(mj0(D)){let C=function(b){if(b&&b.name!=="AbortError"&&b.code!=="ERR_STREAM_PREMATURE_CLOSE")q(b)};var O=C;if(B){let{destroy:b,cleanup:k}=lj0(D,T,A);if(X.push(b),qm(D)&&j)I.push(k)}if(D.on("error",C),qm(D)&&j)I.push(()=>{D.removeListener("error",C)})}if(N===0)if(typeof D==="function"){if(F=D({signal:Q}),!OU(F))throw new Zm("Iterable, AsyncIterable or Stream","source",F)}else if(OU(D)||vA(D)||AK(D))F=D;else F=dj0.from(D);else if(typeof D==="function"){if(AK(F)){var M;F=Mm((M=F)===null||M===void 0?void 0:M.readable)}else F=Mm(F);if(F=D(F,{signal:Q}),T){if(!OU(F,!0))throw new Zm("AsyncIterable",`transform[${N-1}]`,F)}else{var w;if(!Lm)Lm=Xm();let C=new Lm({objectMode:!0}),b=(w=F)===null||w===void 0?void 0:w.then;if(typeof b==="function")Z++,b.call(F,(i)=>{if(H=i,i!=null)C.write(i);if(B)C.end();tZ.nextTick(q)},(i)=>{C.destroy(i),tZ.nextTick(q,i)});else if(OU(F,!0))Z++,_A(F,C,q,{end:B});else if(Vm(F)||AK(F)){let i=F.readable||F;Z++,_A(i,C,q,{end:B})}else throw new Zm("AsyncIterable or Promise","destination",F);F=C;let{destroy:k,cleanup:h}=lj0(F,!1,!0);if(X.push(k),j)I.push(h)}}else if(mj0(D)){if(vA(F)){Z+=2;let C=jC1(F,D,q,{end:B});if(qm(D)&&j)I.push(C)}else if(AK(F)||Vm(F)){let C=F.readable||F;Z++,_A(C,D,q,{end:B})}else if(OU(F))Z++,_A(F,D,q,{end:B});else throw new Nm("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=D}else if(NC1(D)){if(vA(F))Z++,Om(Mm(F),D,q,{end:B});else if(Vm(F)||OU(F))Z++,Om(F,D,q,{end:B});else if(AK(F))Z++,Om(F.readable,D,q,{end:B});else throw new Nm("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=D}else F=dj0.from(D)}if(Q!==null&&Q!==void 0&&Q.aborted||J!==null&&J!==void 0&&J.aborted)tZ.nextTick(K);return F}function jC1($,Y,z,{end:U}){let Q=!1;if(Y.on("close",()=>{if(!Q)z(new FC1)}),$.pipe(Y,{end:!1}),U){let I=function(){Q=!0,Y.end()};var J=I;if(DC1($))tZ.nextTick(I);else $.once("end",I)}else z();return hA($,{readable:!0,writable:!1},(I)=>{let K=$._readableState;if(I&&I.code==="ERR_STREAM_PREMATURE_CLOSE"&&K&&K.ended&&!K.errored&&!K.errorEmitted)$.once("end",z).once("error",z);else z(I)}),hA(Y,{readable:!1,writable:!0},z)}rj0.exports={pipelineImpl:oj0,pipeline:TC1}});var Bm=E((f14,YE0)=>{var{pipeline:EC1}=SA(),gA=E9(),{destroyer:CC1}=LU(),{isNodeStream:yA,isReadable:sj0,isWritable:aj0,isWebStream:Dm,isTransformStream:NU,isWritableStream:tj0,isReadableStream:ej0}=T9(),{AbortError:RC1,codes:{ERR_INVALID_ARG_VALUE:$E0,ERR_MISSING_ARGS:_C1}}=M8(),vC1=u7();YE0.exports=function(...Y){if(Y.length===0)throw new _C1("streams");if(Y.length===1)return gA.from(Y[0]);let z=[...Y];if(typeof Y[0]==="function")Y[0]=gA.from(Y[0]);if(typeof Y[Y.length-1]==="function"){let q=Y.length-1;Y[q]=gA.from(Y[q])}for(let q=0;q0&&!(aj0(Y[q])||tj0(Y[q])||NU(Y[q])))throw new $E0(`streams[${q}]`,z[q],"must be writable")}let U,Q,J,I,K;function G(q){let V=I;if(I=null,V)V(q);else if(q)K.destroy(q);else if(!Z&&!X)K.destroy()}let W=Y[0],H=EC1(Y,G),X=!!(aj0(W)||tj0(W)||NU(W)),Z=!!(sj0(H)||ej0(H)||NU(H));if(K=new gA({writableObjectMode:!!(W!==null&&W!==void 0&&W.writableObjectMode),readableObjectMode:!!(H!==null&&H!==void 0&&H.readableObjectMode),writable:X,readable:Z}),X){if(yA(W))K._write=function(V,F,M){if(W.write(V,F))M();else U=M},K._final=function(V){W.end(),Q=V},W.on("drain",function(){if(U){let V=U;U=null,V()}});else if(Dm(W)){let F=(NU(W)?W.writable:W).getWriter();K._write=async function(M,w,O){try{await F.ready,F.write(M).catch(()=>{}),O()}catch(N){O(N)}},K._final=async function(M){try{await F.ready,F.close().catch(()=>{}),Q=M}catch(w){M(w)}}}let q=NU(H)?H.readable:H;vC1(q,()=>{if(Q){let V=Q;Q=null,V()}})}if(Z){if(yA(H))H.on("readable",function(){if(J){let q=J;J=null,q()}}),H.on("end",function(){K.push(null)}),K._read=function(){while(!0){let q=H.read();if(q===null){J=K._read;return}if(!K.push(q))return}};else if(Dm(H)){let V=(NU(H)?H.readable:H).getReader();K._read=async function(){while(!0)try{let{value:F,done:M}=await V.read();if(!K.push(F))return;if(M){K.push(null);return}}catch{return}}}}return K._destroy=function(q,V){if(!q&&I!==null)q=new RC1;if(J=null,U=null,Q=null,I===null)V(q);else if(I=V,yA(H))CC1(H,q)},K}});var ZE0=E((JR1,Am)=>{var hC1=globalThis.AbortController||ZK().AbortController,{codes:{ERR_INVALID_ARG_VALUE:SC1,ERR_INVALID_ARG_TYPE:eZ,ERR_MISSING_ARGS:gC1,ERR_OUT_OF_RANGE:yC1},AbortError:C9}=M8(),{validateAbortSignal:DU,validateInteger:zE0,validateObject:BU}=VK(),kC1=x4().Symbol("kWeak"),xC1=x4().Symbol("kResistStopPropagation"),{finished:fC1}=u7(),uC1=Bm(),{addAbortSignalNoValidate:bC1}=pZ(),{isWritable:iC1,isNodeStream:cC1}=T9(),{deprecate:nC1}=g8(),{ArrayPrototypePush:pC1,Boolean:dC1,MathFloor:UE0,Number:mC1,NumberIsNaN:lC1,Promise:QE0,PromiseReject:JE0,PromiseResolve:oC1,PromisePrototypeThen:IE0,Symbol:GE0}=x4(),kA=GE0("kEmpty"),KE0=GE0("kEof");function rC1($,Y){if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");if(cC1($)&&!iC1($))throw new SC1("stream",$,"must be writable");let z=uC1(this,$);if(Y!==null&&Y!==void 0&&Y.signal)bC1(Y.signal,z);return z}function xA($,Y){if(typeof $!=="function")throw new eZ("fn",["Function","AsyncFunction"],$);if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");let z=1;if((Y===null||Y===void 0?void 0:Y.concurrency)!=null)z=UE0(Y.concurrency);let U=z-1;if((Y===null||Y===void 0?void 0:Y.highWaterMark)!=null)U=UE0(Y.highWaterMark);return zE0(z,"options.concurrency",1),zE0(U,"options.highWaterMark",0),U+=z,async function*(){let J=g8().AbortSignalAny([Y===null||Y===void 0?void 0:Y.signal].filter(dC1)),I=this,K=[],G={signal:J},W,H,X=!1,Z=0;function q(){X=!0,V()}function V(){Z-=1,F()}function F(){if(H&&!X&&Z=U||Z>=z))await new QE0((O)=>{H=O})}K.push(KE0)}catch(w){let O=JE0(w);IE0(O,V,q),K.push(O)}finally{if(X=!0,W)W(),W=null}}M();try{while(!0){while(K.length>0){let w=await K[0];if(w===KE0)return;if(J.aborted)throw new C9;if(w!==kA)yield w;K.shift(),F()}await new QE0((w)=>{W=w})}}finally{if(X=!0,H)H(),H=null}}.call(this)}function sC1($=void 0){if($!=null)BU($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)DU($.signal,"options.signal");return async function*(){let z=0;for await(let Q of this){var U;if($!==null&&$!==void 0&&(U=$.signal)!==null&&U!==void 0&&U.aborted)throw new C9({cause:$.signal.reason});yield[z++,Q]}}.call(this)}async function WE0($,Y=void 0){for await(let z of Pm.call(this,$,Y))return!0;return!1}async function aC1($,Y=void 0){if(typeof $!=="function")throw new eZ("fn",["Function","AsyncFunction"],$);return!await WE0.call(this,async(...z)=>{return!await $(...z)},Y)}async function tC1($,Y){for await(let z of Pm.call(this,$,Y))return z;return}async function eC1($,Y){if(typeof $!=="function")throw new eZ("fn",["Function","AsyncFunction"],$);async function z(U,Q){return await $(U,Q),kA}for await(let U of xA.call(this,z,Y));}function Pm($,Y){if(typeof $!=="function")throw new eZ("fn",["Function","AsyncFunction"],$);async function z(U,Q){if(await $(U,Q))return U;return kA}return xA.call(this,z,Y)}class HE0 extends gC1{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function $R1($,Y,z){var U;if(typeof $!=="function")throw new eZ("reducer",["Function","AsyncFunction"],$);if(z!=null)BU(z,"options");if((z===null||z===void 0?void 0:z.signal)!=null)DU(z.signal,"options.signal");let Q=arguments.length>1;if(z!==null&&z!==void 0&&(U=z.signal)!==null&&U!==void 0&&U.aborted){let W=new C9(void 0,{cause:z.signal.reason});throw this.once("error",()=>{}),await fC1(this.destroy(W)),W}let J=new hC1,I=J.signal;if(z!==null&&z!==void 0&&z.signal){let W={once:!0,[kC1]:this,[xC1]:!0};z.signal.addEventListener("abort",()=>J.abort(),W)}let K=!1;try{for await(let W of this){var G;if(K=!0,z!==null&&z!==void 0&&(G=z.signal)!==null&&G!==void 0&&G.aborted)throw new C9;if(!Q)Y=W,Q=!0;else Y=await $(Y,W,{signal:I})}if(!K&&!Q)throw new HE0}finally{J.abort()}return Y}async function YR1($){if($!=null)BU($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)DU($.signal,"options.signal");let Y=[];for await(let U of this){var z;if($!==null&&$!==void 0&&(z=$.signal)!==null&&z!==void 0&&z.aborted)throw new C9(void 0,{cause:$.signal.reason});pC1(Y,U)}return Y}function zR1($,Y){let z=xA.call(this,$,Y);return async function*(){for await(let Q of z)yield*Q}.call(this)}function XE0($){if($=mC1($),lC1($))return 0;if($<0)throw new yC1("number",">= 0",$);return $}function UR1($,Y=void 0){if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");return $=XE0($),async function*(){var U;if(Y!==null&&Y!==void 0&&(U=Y.signal)!==null&&U!==void 0&&U.aborted)throw new C9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new C9;if($--<=0)yield J}}.call(this)}function QR1($,Y=void 0){if(Y!=null)BU(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)DU(Y.signal,"options.signal");return $=XE0($),async function*(){var U;if(Y!==null&&Y!==void 0&&(U=Y.signal)!==null&&U!==void 0&&U.aborted)throw new C9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new C9;if($-- >0)yield J;if($<=0)return}}.call(this)}JR1.streamReturningOperators={asIndexedPairs:nC1(sC1,"readable.asIndexedPairs will be removed in a future version."),drop:UR1,filter:Pm,flatMap:zR1,map:xA,take:QR1,compose:rC1};JR1.promiseReturningOperators={every:aC1,forEach:eC1,reduce:$R1,toArray:YR1,some:WE0,find:tC1}});var Tm=E((u14,qE0)=>{var{ArrayPrototypePop:GR1,Promise:WR1}=x4(),{isIterable:HR1,isNodeStream:XR1,isWebStream:ZR1}=T9(),{pipelineImpl:qR1}=SA(),{finished:VR1}=u7();jm();function LR1(...$){return new WR1((Y,z)=>{let U,Q,J=$[$.length-1];if(J&&typeof J==="object"&&!XR1(J)&&!HR1(J)&&!ZR1(J)){let I=GR1($);U=I.signal,Q=I.end}qR1($,(I,K)=>{if(I)z(I);else Y(K)},{signal:U,end:Q})})}qE0.exports={finished:VR1,pipeline:LR1}});var jm=E((b14,BE0)=>{var{Buffer:FR1}=I0("buffer"),{ObjectDefineProperty:c7,ObjectKeys:FE0,ReflectApply:wE0}=x4(),{promisify:{custom:ME0}}=g8(),{streamReturningOperators:VE0,promiseReturningOperators:LE0}=ZE0(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:OE0}}=M8(),wR1=Bm(),{setDefaultHighWaterMark:MR1,getDefaultHighWaterMark:OR1}=dZ(),{pipeline:NE0}=SA(),{destroyer:NR1}=LU(),DE0=u7(),Em=Tm(),$q=T9(),h4=BE0.exports=wA().Stream;h4.isDestroyed=$q.isDestroyed;h4.isDisturbed=$q.isDisturbed;h4.isErrored=$q.isErrored;h4.isReadable=$q.isReadable;h4.isWritable=$q.isWritable;h4.Readable=lZ();for(let $ of FE0(VE0)){let z=function(...U){if(new.target)throw OE0();return h4.Readable.from(wE0(Y,this,U))},Y=VE0[$];c7(z,"name",{__proto__:null,value:Y.name}),c7(z,"length",{__proto__:null,value:Y.length}),c7(h4.Readable.prototype,$,{__proto__:null,value:z,enumerable:!1,configurable:!0,writable:!0})}for(let $ of FE0(LE0)){let z=function(...U){if(new.target)throw OE0();return wE0(Y,this,U)},Y=LE0[$];c7(z,"name",{__proto__:null,value:Y.name}),c7(z,"length",{__proto__:null,value:Y.length}),c7(h4.Readable.prototype,$,{__proto__:null,value:z,enumerable:!1,configurable:!0,writable:!0})}h4.Writable=RA();h4.Duplex=E9();h4.Transform=Wm();h4.PassThrough=Xm();h4.pipeline=NE0;var{addAbortSignal:DR1}=pZ();h4.addAbortSignal=DR1;h4.finished=DE0;h4.destroy=NR1;h4.compose=wR1;h4.setDefaultHighWaterMark=MR1;h4.getDefaultHighWaterMark=OR1;c7(h4,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return Em}});c7(NE0,ME0,{__proto__:null,enumerable:!0,get(){return Em.pipeline}});c7(DE0,ME0,{__proto__:null,enumerable:!0,get(){return Em.finished}});h4.Stream=h4;h4._isUint8Array=function(Y){return Y instanceof Uint8Array};h4._uint8ArrayToBuffer=function(Y){return FR1.from(Y.buffer,Y.byteOffset,Y.byteLength)}});var PU=E((i14,h1)=>{var R6=I0("stream");if(R6&&process.env.READABLE_STREAM==="disable"){let $=R6.promises;h1.exports._uint8ArrayToBuffer=R6._uint8ArrayToBuffer,h1.exports._isUint8Array=R6._isUint8Array,h1.exports.isDisturbed=R6.isDisturbed,h1.exports.isErrored=R6.isErrored,h1.exports.isReadable=R6.isReadable,h1.exports.Readable=R6.Readable,h1.exports.Writable=R6.Writable,h1.exports.Duplex=R6.Duplex,h1.exports.Transform=R6.Transform,h1.exports.PassThrough=R6.PassThrough,h1.exports.addAbortSignal=R6.addAbortSignal,h1.exports.finished=R6.finished,h1.exports.destroy=R6.destroy,h1.exports.pipeline=R6.pipeline,h1.exports.compose=R6.compose,Object.defineProperty(R6,"promises",{configurable:!0,enumerable:!0,get(){return $}}),h1.exports.Stream=R6.Stream}else{let $=jm(),Y=Tm(),z=$.Readable.destroy;h1.exports=$.Readable,h1.exports._uint8ArrayToBuffer=$._uint8ArrayToBuffer,h1.exports._isUint8Array=$._isUint8Array,h1.exports.isDisturbed=$.isDisturbed,h1.exports.isErrored=$.isErrored,h1.exports.isReadable=$.isReadable,h1.exports.Readable=$.Readable,h1.exports.Writable=$.Writable,h1.exports.Duplex=$.Duplex,h1.exports.Transform=$.Transform,h1.exports.PassThrough=$.PassThrough,h1.exports.addAbortSignal=$.addAbortSignal,h1.exports.finished=$.finished,h1.exports.destroy=$.destroy,h1.exports.destroy=z,h1.exports.pipeline=$.pipeline,h1.exports.compose=$.compose,Object.defineProperty($,"promises",{configurable:!0,enumerable:!0,get(){return Y}}),h1.exports.Stream=$.Stream}h1.exports.default=h1.exports});function TE0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function jE0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(b2($))return $.pipe(new AE0.PassThrough);return $}function EE0($){return PE0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}function Cm($){return $.slice(-1)!=="/"?$+"/":$}var PE0,AE0;var fA=o(()=>{PE0=J6(jz(),1),AE0=J6(PU(),1)});import{createReadStream as BR1,lstat as PR1,readlinkSync as AR1,Stats as TR1}from"fs";import{dirname as jR1,relative as ER1,resolve as CR1}from"path";var CE0,_m,RE0,RR1,Rm,uA;var _E0=o(()=>{LA0();FA0();fA();CE0=J6(TD(),1),_m=J6(Gu(),1),RE0=J6(PU(),1),{ReaddirGlob:RR1}=Md,Rm=process.platform==="win32";uA=class uA extends RE0.Transform{_supportsDirectory=!1;_supportsSymlink=!1;constructor($){$={highWaterMark:1048576,statConcurrency:4,...$};super($);this.options=$,this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=_m.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=_m.queue(this._onStatQueueTask.bind(this),$.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]}_abort(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()}_append($,Y){Y=Y||{};let z={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,z.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof TR1){if(z=this._updateQueueTaskWithStats(z,Y.stats),z){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(z)}}else this._statQueue.push(z)}_finalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0}_maybeFinalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1}_moduleAppend($,Y,z){if(this._state.aborted){z();return}this._module.append($,Y,function(U){if(this._task=null,this._state.aborted){this._shutdown();return}if(U){this.emit("error",U),setImmediate(z);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(z)}.bind(this))}_moduleFinalize(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new W6("NOENDMETHOD"))}_modulePipe(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0}_moduleUnpipe(){this._module.unpipe(this),this._state.modulePiped=!1}_normalizeEntryData($,Y){if($={type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1,...$},Y&&$.stats===!1)$.stats=Y;let z=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=EE0($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")z=!0,$.type="directory";else if(z)$.name+="/"}if(typeof $.mode==="number")if(Rm)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(Rm)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(Rm&&z)$.mode=493}else if($.mode===null)$.mode=z?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=TE0($.date);return $}_onModuleError($){this.emit("error",$)}_onQueueDrain(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()}_onQueueTask($,Y){let z=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){z();return}this._task=$,this._moduleAppend($.source,$.data,z)}_onStatQueueTask($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}PR1($.filepath,function(z,U){if(this._state.aborted){setImmediate(Y);return}if(z){this._entriesCount--,this.emit("warning",z),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,U),$){if(U.size)this._fsEntriesTotalBytes+=U.size;this._queue.push($)}setImmediate(Y)}.bind(this))}_shutdown(){this._moduleUnpipe(),this.end()}_transform($,Y,z){if($)this._pointer+=$.length;z(null,$)}_updateQueueTaskWithStats($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=new CE0.Readable(function(){return BR1($.filepath)});else if(Y.isDirectory()&&this._supportsDirectory)$.data.name=Cm($.data.name),$.data.type="directory",$.data.sourcePath=Cm($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._supportsSymlink){let z=AR1($.filepath),U=jR1($.filepath);$.data.type="symlink",$.data.linkname=ER1(U,CR1(U,z)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new W6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new W6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new W6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$}abort(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this}append($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new W6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._supportsDirectory)return this.emit("error",new W6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=jE0($),Buffer.isBuffer($))Y.sourceType="buffer";else if(b2($))Y.sourceType="stream";else return this.emit("error",new W6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this}directory($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new W6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var U=!1;if(typeof z==="function")U=z,z={};else if(typeof z!=="object")z={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(W){this.emit("error",W)}function K(W){G.pause();let H=!1,X=Object.assign({},z);X.name=W.relative,X.prefix=Y,X.stats=W.stat,X.callback=G.resume.bind(G);try{if(U){if(X=U(X),X===!1)H=!0;else if(typeof X!=="object")throw new W6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(H){G.resume();return}this._append(W.absolute,X)}let G=Md($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this}file($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new W6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this}glob($,Y,z){this._pending++,Y={stat:!0,pattern:$,...Y};function U(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();let G=Object.assign({},z);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}let I=new RR1(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",U.bind(this)),this}finalize(){if(this._state.aborted){var $=new W6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new W6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var z=this;return new Promise(function(U,Q){var J;z._module.on("end",function(){if(!J)U()}),z._module.on("error",function(I){J=!0,Q(I)})})}symlink($,Y,z){if(this._state.finalize||this._state.aborted)return this.emit("error",new W6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new W6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new W6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._supportsSymlink)return this.emit("error",new W6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var U={};if(U.type="symlink",U.name=$.replace(/\\/g,"/"),U.linkname=Y.replace(/\\/g,"/"),U.sourceType="buffer",typeof z==="number")U.mode=z;return this._entriesCount++,this._queue.push({data:U,source:Buffer.concat([])}),this}pointer(){return this._pointer}}});class AU{getName(){}getSize(){}getLastModifiedDate(){}isDirectory(){}}function vE0($,Y){Y=Y||!1;var z=Y?$.getFullYear():$.getUTCFullYear();if(z<1980)return 2162688;else if(z>=2044)return 2141175677;var U={year:z,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return U.year-1980<<25|U.month+1<<21|U.date<<16|U.hours<<11|U.minutes<<5|U.seconds/2}function hE0($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)}function o$($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y}function H6($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y}function SE0($,Y){return $.readUInt16LE(Y)}function l4($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y}var bA=()=>{};class TU{constructor(){return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this}encode(){return H6((this.descriptor?gE0:0)|(this.utf8?xE0:0)|(this.encryption?yE0:0)|(this.strongEncryption?kE0:0))}static parse($,Y){var z=SE0($,Y),U=new TU;return U.useDataDescriptor((z&gE0)!==0),U.useUTF8ForNames((z&xE0)!==0),U.useStrongEncryption((z&kE0)!==0),U.useEncryption((z&yE0)!==0),U.setSlidingDictionarySize((z&vR1)!==0?8192:4096),U.setNumberOfShannonFanoTrees((z&_R1)!==0?3:2),U}setNumberOfShannonFanoTrees($){this.numberOfShannonFanoTrees=$}getNumberOfShannonFanoTrees(){return this.numberOfShannonFanoTrees}setSlidingDictionarySize($){this.slidingDictionarySize=$}getSlidingDictionarySize(){return this.slidingDictionarySize}useDataDescriptor($){this.descriptor=$}usesDataDescriptor(){return this.descriptor}useEncryption($){this.encryption=$}usesEncryption(){return this.encryption}useStrongEncryption($){this.strongEncryption=$}usesStrongEncryption(){return this.strongEncryption}useUTF8ForNames($){this.utf8=$}usesUTF8ForNames(){return this.utf8}}var gE0=8,yE0=1,_R1=4,vR1=2,kE0=64,xE0=2048;var vm=o(()=>{bA()});var hm;var fE0=o(()=>{hm={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var uE0,bE0=65535,Sm=16,iA,jU,iE0=10,gm=20,Yq=45,cE0=45,cA=0,zq=8,ym=3,nE0=0,pE0=67324752,dE0=134695760,mE0=33639248,lE0=101010256,oE0=101075792,rE0=117853008,km=65535,r$=4294967295,sE0=1,aE0=1,tE0=4095,eE0=16384,$C0=32768,YC0=32,zC0=16;var xm=o(()=>{uE0=Buffer.alloc(0),iA=Buffer.from(Array(2)),jU=Buffer.from(Array(4))});var UC0,TK;var fm=o(()=>{vm();fE0();xm();bA();UC0=J6(jz(),1);TK=class TK extends AU{constructor($){super();if(this.platform=nE0,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new TU,this.crc=0,this.time=-1,this.minver=iE0,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)}getCentralDirectoryExtra(){return this.getExtra()}getComment(){return this.comment!==null?this.comment:""}getCompressedSize(){return this.csize}getCrc(){return this.crc}getExternalAttributes=function(){return this.exattr};getExtra(){return this.extra!==null?this.extra:uE0}getGeneralPurposeBit(){return this.gpb}getInternalAttributes(){return this.inattr}getLastModifiedDate(){return this.getTime()}getLocalFileDataExtra(){return this.getExtra()}getMethod(){return this.method}getName(){return this.name}getPlatform(){return this.platform}getSize(){return this.size}getTime(){return this.time!==-1?hE0(this.time):-1}getTimeDos(){return this.time!==-1?this.time:0}getUnixMode(){return this.platform!==ym?0:this.getExternalAttributes()>>Sm&bE0}getVersionNeededToExtract(){return this.minver}setComment($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$}setCompressedSize($){if($<0)throw Error("invalid entry compressed size");this.csize=$}setCrc($){if($<0)throw Error("invalid entry crc32");this.crc=$}setExternalAttributes($){this.exattr=$>>>0}setExtra($){this.extra=$}setGeneralPurposeBit($){if(!($ instanceof TU))throw Error("invalid entry GeneralPurposeBit");this.gpb=$}setInternalAttributes($){this.inattr=$}setMethod($){if($<0)throw Error("invalid entry compression method");this.method=$}setName($,Y=!1){if($=UC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$}setPlatform($){this.platform=$}setSize($){if($<0)throw Error("invalid entry size");this.size=$}setTime($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=vE0($,Y)}setUnixMode($){$|=this.isDirectory()?eE0:$C0;var Y=0;Y|=$<r$||this.size>r$}}});function JC0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(b2($)&&!$._readableState){var Y=new QC0.PassThrough;return $.pipe(Y),Y}return $}var QC0;var IC0=o(()=>{QC0=J6(PU(),1)});var KC0,Uq;var um=o(()=>{IC0();KC0=J6(PU(),1);Uq=class Uq extends KC0.Transform{constructor($){super($);this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}}_appendBuffer($,Y,z){}_appendStream($,Y,z){}_emitErrorCallback=function($){if($)this.emit("error",$)};_finish($){}_normalizeEntry($){}_transform($,Y,z){z(null,$)}entry($,Y,z){if(Y=Y||null,typeof z!=="function")z=this._emitErrorCallback.bind(this);if(!($ instanceof AU)){z(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){z(Error("unacceptable entry after finish"));return}if(this._archive.processing){z(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=JC0(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,z);else if(b2(Y))this._appendStream($,Y,z);else{this._archive.processing=!1,z(Error("input source must be valid Stream or Buffer instance"));return}return this}finish(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()}getBytesWritten(){return this.offset}write($,Y){if($)this.offset+=$.length;return super.write($,Y)}}});var GC0,WC0,Qq;var HC0=o(()=>{GC0=J6(PU(),1),WC0=J6(wI(),1);Qq=class Qq extends GC0.Transform{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,z){if($)this.checksum=WC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;z(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}});import{DeflateRaw as hR1}from"zlib";var XC0,Jq;var ZC0=o(()=>{XC0=J6(wI(),1);Jq=class Jq extends hR1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,z){if($)this.checksum=XC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,z)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}});var qC0=o(()=>{HC0();ZC0()});function SR1($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=aE0;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$}var VC0,Iq;var LC0=o(()=>{qC0();um();fm();vm();xm();bA();VC0=J6(wI(),1);Iq=class Iq extends Uq{constructor($){let Y=SR1($);super(Y);this.options=Y,this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:Y.forceZip64,forceLocalTime:Y.forceLocalTime}}_afterAppend($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()}_appendBuffer($,Y,z){if(Y.length===0)$.setMethod(cA);var U=$.getMethod();if(U===cA)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(VC0.default.buf(Y)>>>0);if(this._writeLocalFileHeader($),U===cA){this.write(Y),this._afterAppend($),z(null,$);return}else if(U===zq){this._smartStream($,z).end(Y);return}else{z(Error("compression method "+U+" not implemented"));return}}_appendStream($,Y,z){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(gm),this._writeLocalFileHeader($);var U=this._smartStream($,z);Y.once("error",function(Q){U.emit("error",Q),U.end()}),Y.pipe(U)}_finish(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()}_normalizeEntry($){if($.getMethod()===-1)$.setMethod(zq);if($.getMethod()===zq)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(gm);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}}_smartStream($,Y){var z=$.getMethod()===zq,U=z?new Jq(this.options.zlib):new Qq,Q=null;function J(){var I=U.digest().readUInt32BE(0);$.setCrc(I),$.setSize(U.size()),$.setCompressedSize(U.size(!0)),this._afterAppend($),Y(Q,$)}return U.once("end",J.bind(this)),U.once("error",function(I){Q=I}),U.pipe(this,{end:!1}),U}_writeCentralDirectoryEnd(){var $=this._entries.length,Y=this._archive.centralLength,z=this._archive.centralOffset;if(this.isZip64())$=km,Y=r$,z=r$;this.write(l4(lE0)),this.write(iA),this.write(iA),this.write(H6($)),this.write(H6($)),this.write(l4(Y)),this.write(l4(z));var U=this.getComment(),Q=Buffer.byteLength(U);this.write(H6(Q)),this.write(U)}_writeCentralDirectoryZip64(){this.write(l4(oE0)),this.write(o$(44)),this.write(H6(Yq)),this.write(H6(Yq)),this.write(jU),this.write(jU),this.write(o$(this._entries.length)),this.write(o$(this._entries.length)),this.write(o$(this._archive.centralLength)),this.write(o$(this._archive.centralOffset)),this.write(l4(rE0)),this.write(jU),this.write(o$(this._archive.centralOffset+this._archive.centralLength)),this.write(l4(1))}_writeCentralFileHeader($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$._offsets.file,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||U>r$){Q=r$,J=r$,U=r$,$.setVersionNeededToExtract(Yq);var I=Buffer.concat([H6(sE0),H6(24),o$($.getSize()),o$($.getCompressedSize()),o$($._offsets.file)],28);$.setExtra(I)}this.write(l4(mE0)),this.write(H6($.getPlatform()<<8|cE0)),this.write(H6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(H6(z)),this.write(l4($.getTimeDos())),this.write(l4($.getCrc())),this.write(l4(J)),this.write(l4(Q));var K=$.getName(),G=$.getComment(),W=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);this.write(H6(K.length)),this.write(H6(W.length)),this.write(H6(G.length)),this.write(iA),this.write(H6($.getInternalAttributes())),this.write(l4($.getExternalAttributes())),this.write(l4(U)),this.write(K),this.write(W),this.write(G)}_writeDataDescriptor($){if(this.write(l4(dE0)),this.write(l4($.getCrc())),$.isZip64())this.write(o$($.getCompressedSize())),this.write(o$($.getSize()));else this.write(l4($.getCompressedSize())),this.write(l4($.getSize()))}_writeLocalFileHeader($){var Y=$.getGeneralPurposeBit(),z=$.getMethod(),U=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(Yq);if(Y.usesUTF8ForNames())U=Buffer.from(U);if($._offsets.file=this.offset,this.write(l4(pE0)),this.write(H6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(H6(z)),this.write(l4($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(jU),this.write(jU),this.write(jU);else this.write(l4($.getCrc())),this.write(l4($.getCompressedSize())),this.write(l4($.getSize()));this.write(H6(U.length)),this.write(H6(Q.length)),this.write(U),this.write(Q),$._offsets.contents=this.offset}getComment($){return this._archive.comment!==null?this._archive.comment:""}isZip64(){return this._archive.forceZip64||this._entries.length>km||this._archive.centralLength>r$||this._archive.centralOffset>r$}setComment($){this._archive.comment=$}}});var FC0=o(()=>{fm();um();LC0()});function MC0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function OC0($){return wC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}var wC0;var NC0=o(()=>{wC0=J6(jz(),1)});var nA;var DC0=o(()=>{FC0();NC0();nA=class nA extends Iq{constructor($){if($=$||{},$.zlib=$.zlib||{},typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;$.namePrependSlash=$.namePrependSlash||!1;super($);if($.comment&&$.comment.length>0)this.setComment($.comment)}_normalizeFileData($){$={type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:"",...$};let Y=$.type==="directory",z=$.type==="symlink";if($.name){if($.name=OC0($.name),!z&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||z)$.store=!0;return $.date=MC0($.date),$}entry($,Y,z){if(typeof z!=="function")z=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){z(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){z(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){z(Error("entry linkname must be a non-empty string value when type equals symlink"));return}let U=new TK(Y.name);if(U.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)U.setName(Y.name,!0);if(Y.store)U.setMethod(0);if(Y.comment.length>0)U.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;U.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return super.entry(U,$,z)}finalize(){this.finish()}}});class pA{constructor($){$=this.options={comment:"",forceUTC:!1,namePrependSlash:!1,store:!1,...$},this.engine=new nA($)}append($,Y,z){this.engine.entry($,Y,z)}finalize(){this.engine.finalize()}on(){return this.engine.on.apply(this.engine,arguments)}pipe(){return this.engine.pipe.apply(this.engine,arguments)}unpipe(){return this.engine.unpipe.apply(this.engine,arguments)}}var BC0=o(()=>{DC0()});var AC0=E((Y64,PC0)=>{PC0.exports=class{constructor(Y){if(!(Y>0)||(Y-1&Y)!==0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(Y),this.mask=Y-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(Y){if(this.buffer[this.top]!==void 0)return!1;return this.buffer[this.top]=Y,this.top=this.top+1&this.mask,!0}shift(){let Y=this.buffer[this.btm];if(Y===void 0)return;return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,Y}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var bm=E((z64,jC0)=>{var TC0=AC0();jC0.exports=class{constructor(Y){this.hwm=Y||16,this.head=new TC0(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(Y){if(this.length++,!this.head.push(Y)){let z=this.head;this.head=z.next=new TC0(2*this.head.buffer.length),this.head.push(Y)}}shift(){if(this.length!==0)this.length--;let Y=this.tail.shift();if(Y===void 0&&this.tail.next){let z=this.tail.next;return this.tail.next=null,this.tail=z,this.tail.shift()}return Y}peek(){let Y=this.tail.peek();if(Y===void 0&&this.tail.next)return this.tail.next.peek();return Y}isEmpty(){return this.length===0}}});var jK=E((U64,EC0)=>{function gR1($){return Buffer.isBuffer($)||$ instanceof Uint8Array}function yR1($){return Buffer.isEncoding($)}function kR1($,Y,z){return Buffer.alloc($,Y,z)}function xR1($){return Buffer.allocUnsafe($)}function fR1($){return Buffer.allocUnsafeSlow($)}function uR1($,Y){return Buffer.byteLength($,Y)}function bR1($,Y){return Buffer.compare($,Y)}function iR1($,Y){return Buffer.concat($,Y)}function cR1($,Y,z,U,Q){return W4($).copy(Y,z,U,Q)}function nR1($,Y){return W4($).equals(Y)}function pR1($,Y,z,U,Q){return W4($).fill(Y,z,U,Q)}function dR1($,Y,z){return Buffer.from($,Y,z)}function mR1($,Y,z,U){return W4($).includes(Y,z,U)}function lR1($,Y,z,U){return W4($).indexOf(Y,z,U)}function oR1($,Y,z,U){return W4($).lastIndexOf(Y,z,U)}function rR1($){return W4($).swap16()}function sR1($){return W4($).swap32()}function aR1($){return W4($).swap64()}function W4($){if(Buffer.isBuffer($))return $;return Buffer.from($.buffer,$.byteOffset,$.byteLength)}function tR1($,Y,z,U){return W4($).toString(Y,z,U)}function eR1($,Y,z){return W4($).toString("hex",Y,z)}function $_1($,Y,z,U,Q){return W4($).write(Y,z,U,Q)}function Y_1($,Y){return W4($).readDoubleBE(Y)}function z_1($,Y){return W4($).readDoubleLE(Y)}function U_1($,Y){return W4($).readFloatBE(Y)}function Q_1($,Y){return W4($).readFloatLE(Y)}function J_1($,Y){return W4($).readInt32BE(Y)}function I_1($,Y){return W4($).readInt32LE(Y)}function K_1($,Y){return W4($).readUInt32BE(Y)}function G_1($,Y){return W4($).readUInt32LE(Y)}function W_1($,Y,z){return W4($).writeDoubleBE(Y,z)}function H_1($,Y,z){return W4($).writeDoubleLE(Y,z)}function X_1($,Y,z){return W4($).writeFloatBE(Y,z)}function Z_1($,Y,z){return W4($).writeFloatLE(Y,z)}function q_1($,Y,z){return W4($).writeInt32BE(Y,z)}function V_1($,Y,z){return W4($).writeInt32LE(Y,z)}function L_1($,Y,z){return W4($).writeUInt32BE(Y,z)}function F_1($,Y,z){return W4($).writeUInt32LE(Y,z)}EC0.exports={isBuffer:gR1,isEncoding:yR1,alloc:kR1,allocUnsafe:xR1,allocUnsafeSlow:fR1,byteLength:uR1,compare:bR1,concat:iR1,copy:cR1,equals:nR1,fill:pR1,from:dR1,includes:mR1,indexOf:lR1,lastIndexOf:oR1,swap16:rR1,swap32:sR1,swap64:aR1,toBuffer:W4,toString:tR1,toHex:eR1,write:$_1,readDoubleBE:Y_1,readDoubleLE:z_1,readFloatBE:U_1,readFloatLE:Q_1,readInt32BE:J_1,readInt32LE:I_1,readUInt32BE:K_1,readUInt32LE:G_1,writeDoubleBE:W_1,writeDoubleLE:H_1,writeFloatBE:X_1,writeFloatLE:Z_1,writeInt32BE:q_1,writeInt32LE:V_1,writeUInt32BE:L_1,writeUInt32LE:F_1}});var RC0=E((Q64,CC0)=>{var w_1=jK();CC0.exports=class{constructor(Y){this.encoding=Y}get remaining(){return 0}decode(Y){return w_1.toString(Y,this.encoding)}flush(){return""}}});var SC0=E((J64,hC0)=>{var _C0=jK();hC0.exports=class{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(Y){if(Y.byteLength===0)return"";if(this.bytesNeeded===0&&vC0(Y,0)===0)return this.bytesSeen=M_1(Y),_C0.toString(Y,"utf8");let z="",U=0;if(this.bytesNeeded>0){while(Uthis.upperBoundary){z+="�",this._reset();break}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|I&63,this.bytesSeen++,U++,this.bytesSeen===this.bytesNeeded){z+=String.fromCodePoint(this.codePoint),this._reset();break}}if(this.bytesNeeded>0)return z}let Q=vC0(Y,U),J=Y.byteLength-Q;if(J>U)z+=_C0.toString(Y,"utf8",U,J);for(let I=J;I=194&&K<=223)this.bytesNeeded=2,this.bytesSeen=1,this.codePoint=K&31;else if(K>=224&&K<=239){if(K===224)this.lowerBoundary=160;else if(K===237)this.upperBoundary=159;this.bytesNeeded=3,this.bytesSeen=1,this.codePoint=K&15}else if(K>=240&&K<=244){if(K===240)this.lowerBoundary=144;else if(K===244)this.upperBoundary=143;this.bytesNeeded=4,this.bytesSeen=1,this.codePoint=K&7}else this.bytesSeen=1,z+="�";continue}if(Kthis.upperBoundary){z+="�",I--,this._reset();continue}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|K&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded)z+=String.fromCodePoint(this.codePoint),this._reset()}return z}flush(){let Y=this.bytesNeeded>0?"�":"";return this._reset(),Y}_reset(){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191}};function vC0($,Y){let z=$.byteLength;if(z<=Y)return 0;let U=Math.max(Y,z-4),Q=z-1;while(Q>U&&($[Q]&192)===128)Q--;if(Q=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 0;let K=z-Q;return K=U&&($[Q]&192)===128)Q--;if(Q<0)return 1;let J=$[Q],I;if(J>=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 1;if(Y-Q!==I)return 1;if(I>=3){let K=$[Q+1];if(J===224&&K<160)return 1;if(J===237&&K>159)return 1;if(J===240&&K<144)return 1;if(J===244&&K>143)return 1}return 0}});var yC0=E((I64,gC0)=>{var O_1=RC0(),N_1=SC0();gC0.exports=class{constructor(Y="utf8"){switch(this.encoding=D_1(Y),this.encoding){case"utf8":this.decoder=new N_1;break;case"utf16le":case"base64":throw Error("Unsupported encoding: "+this.encoding);default:this.decoder=new O_1(this.encoding)}}get remaining(){return this.decoder.remaining}push(Y){if(typeof Y==="string")return Y;return this.decoder.decode(Y)}write(Y){return this.push(Y)}end(Y){let z="";if(Y)z=this.push(Y);return z+=this.decoder.flush(),z}};function D_1($){switch($=$.toLowerCase(),$){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:throw Error("Unknown encoding: "+$)}}});var xC0=E((K64,kC0)=>{kC0.exports=class $ extends Error{constructor(Y,z,U=$){super(Y);if(this.code=z,Error.captureStackTrace)Error.captureStackTrace(this,U)}static isStreamDestroyed(Y){return Y&&Y.code==="STREAM_DESTROYED"}static isPrematureClose(Y){return Y&&Y.code==="PREMATURE_CLOSE"}static isAborted(Y){return Y&&Y.code==="ABORTED"}static isBadArgument(Y){return Y&&Y.code==="BAD_ARGUMENT"}get name(){return"StreamError"}static STREAM_DESTROYED(){return new $("Stream was destroyed","STREAM_DESTROYED",$.STREAM_DESTROYED)}static PREMATURE_CLOSE(Y="Premature close"){return new $(Y,"PREMATURE_CLOSE",$.PREMATURE_CLOSE)}static ABORTED(){return new $("Stream aborted","ABORTED",$.ABORTED)}static BAD_ARGUMENT(Y="Bad argument"){return new $(Y,"BAD_ARGUMENT",$.BAD_ARGUMENT)}}});var om=E((G64,mC0)=>{var{EventEmitter:B_1}=I0("events"),fC0=bm(),P_1=yC0(),s$=xC0(),im=typeof queueMicrotask>"u"?($)=>global.process.nextTick($):queueMicrotask,dA=Symbol.asyncIterator||Symbol("asyncIterator");class nm{constructor($,{highWaterMark:Y=16384,map:z=null,mapWritable:U,byteLength:Q,byteLengthWritable:J}={}){this.stream=$,this.queue=new fC0,this.highWaterMark=Y,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=J||Q||dC0,this.map=U||z,this.afterWrite=j_1.bind(this),this.afterUpdateNextTick=R_1.bind(this)}get ending(){return(this.stream._duplexState&134217728)!==0}get ended(){return(this.stream._duplexState&8388608)!==0}push($){if((this.stream._duplexState&142606350)!==0)return!1;if(this.map!==null)$=this.map($);if(this.buffered+=this.byteLength($),this.queue.push($),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=J||Q||dC0,this.map=U||z,this.pipeTo=null,this.afterRead=E_1.bind(this),this.afterUpdateNextTick=C_1.bind(this)}get ending(){return(this.stream._duplexState&1024)!==0}get ended(){return(this.stream._duplexState&16384)!==0}pipe($,Y){if(this.pipeTo!==null)throw s$.BAD_ARGUMENT("Can only pipe to one destination");if(typeof Y!=="function")Y=null;if(this.stream._duplexState|=512,this.pipeTo=$,this.pipeline=new iC0(this.stream,$,Y),Y)this.stream.on("error",cm);if(Gq($)){if($._writableState.pipeline=this.pipeline,Y)$.on("error",cm);$.on("finish",this.pipeline.finished.bind(this.pipeline))}else{let z=this.pipeline.done.bind(this.pipeline,$),U=this.pipeline.done.bind(this.pipeline,$,null);$.on("error",z),$.on("close",U),$.on("finish",this.pipeline.finished.bind(this.pipeline))}$.on("drain",A_1.bind(this)),this.stream.emit("piping",$),$.emit("pipe",this.stream)}push($){let Y=this.stream;if($===null)return this.highWaterMark=0,Y._duplexState=(Y._duplexState|1024)&536805311,!1;if(this.map!==null){if($=this.map($),$===null)return Y._duplexState&=536805375,this.buffered0)Y.push(this.shift());for(let z=0;z0)U.drains.shift().resolve(!1);if(U.pipeline!==null)U.pipeline.done(Y,$)}}function j_1($){let Y=this.stream;if($)Y.destroy($);if(Y._duplexState&=469499903,this.drains!==null)__1(this.drains);if((Y._duplexState&6553615)===4194304){if(Y._duplexState&=532676607,(Y._duplexState&16777216)===16777216)Y.emit("drain")}this.updateCallback()}function E_1($){if($)this.stream.destroy($);if(this.stream._duplexState&=536870895,this.readAhead===!1&&(this.stream._duplexState&256)===0)this.stream._duplexState&=536739839;this.updateCallback()}function C_1(){if((this.stream._duplexState&32)===0)this.stream._duplexState&=536838143,this.update()}function R_1(){if((this.stream._duplexState&524288)===0)this.stream._duplexState&=503316479,this.update()}function __1($){for(let Y=0;Y<$.length;Y++)if(--$[Y].writes===0)$.shift().resolve(!0),Y--}function nC0($){let Y=this.stream;if($)Y.destroy($);if((Y._duplexState&4)===0){if((Y._duplexState&17423)===0)Y._duplexState|=64;if((Y._duplexState&142606351)===0)Y._duplexState|=1048576;Y.emit("open")}if(Y._duplexState&=536608751,Y._writableState!==null)Y._writableState.updateCallback();if(Y._readableState!==null)Y._readableState.updateCallback()}function v_1($,Y){if(Y!==void 0&&Y!==null)this.push(Y);this._writableState.afterWrite($)}function h_1($){if(this._readableState!==null){if($==="data")this._duplexState|=133376,this._readableState.updateNextTick();if($==="readable")this._duplexState|=4096,this._readableState.updateNextTick()}if(this._writableState!==null){if($==="drain")this._duplexState|=16777216,this._writableState.updateNextTick()}}class mA extends B_1{constructor($){super();if(this._duplexState=0,this._readableState=null,this._writableState=null,$){if($.open)this._open=$.open;if($.destroy)this._destroy=$.destroy;if($.predestroy)this._predestroy=$.predestroy;if($.signal)$.signal.addEventListener("abort",p_1.bind(this))}this.on("newListener",h_1)}_open($){$(null)}_destroy($){$(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&8)!==0}get destroying(){return(this._duplexState&14)!==0}destroy($){if((this._duplexState&14)===0){if(!$)$=s$.STREAM_DESTROYED();if(this._duplexState=(this._duplexState|4)&535822271,this._readableState!==null)this._readableState.highWaterMark=0,this._readableState.error=$;if(this._writableState!==null)this._writableState.highWaterMark=0,this._writableState.error=$;if(this._duplexState|=2,this._predestroy(),this._duplexState&=536870909,this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class Kq extends mA{constructor($){super($);if(this._duplexState|=8519681,this._readableState=new uC0(this,$),$){if(this._readableState.readAhead===!1)this._duplexState&=536739839;if($.read)this._read=$.read;if($.eagerOpen)this._readableState.updateNextTick();if($.encoding)this.setEncoding($.encoding)}}static deferred($,Y){let z=new mm(Y);return $().then((U)=>{if(U===null)return z.end();if(z.destroying)return;lm(U,z,cm)}).catch((U)=>z.destroy(U)),z}setEncoding($){let Y=new P_1($),z=this._readableState.map||y_1;return this._readableState.map=U,this;function U(Q){let J=Y.push(Q);return J===""&&(Q.byteLength!==0||Y.remaining>0)?null:z(J)}}_read($){$(null)}pipe($,Y){return this._readableState.updateNextTick(),this._readableState.pipe($,Y),$}read(){return this._readableState.updateNextTick(),this._readableState.read()}push($){return this._readableState.updateNextTickIfOpen(),this._readableState.push($)}unshift($){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift($)}resume(){return this._duplexState|=131328,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?536739583:536870655,this}static _fromAsyncIterator($,Y){let z,U=new Kq({...Y,read(J){$.next().then(Q).then(J.bind(null,null)).catch(J)},predestroy(){z=$.return()},destroy(J){if(!z)return J(null);z.then(J.bind(null,null)).catch(J)}});return U;function Q(J){if(J.done)U.push(null);else U.push(J.value)}}static from($,Y){if(i_1($))return $;if($[dA])return this._fromAsyncIterator($[dA](),Y);if(!Array.isArray($))$=$===void 0?[]:[$];let z=0;return new Kq({...Y,read(U){this.push(z===$.length?null:$[z++]),U(null)}})}static isBackpressured($){return($._duplexState&17422)!==0||$._readableState.buffered>=$._readableState.highWaterMark}static isPaused($){return($._duplexState&256)===0}[dA](){let $=this,Y=null,z=null,U=null;return this.on("error",(G)=>{Y=G}),this.on("readable",Q),this.on("close",J),{[dA](){return this},next(){return new Promise(function(G,W){z=G,U=W;let H=$.read();if(H!==null)I(H);else if(($._duplexState&8)!==0)I(null)})},return(){return K(null)},throw(G){return K(G)}};function Q(){if(z!==null)I($.read())}function J(){if(z!==null)I(null)}function I(G){if(U===null)return;if(Y)U(Y);else if(G===null&&($._duplexState&16384)===0)U(s$.STREAM_DESTROYED());else z({value:G,done:G===null});U=z=null}function K(G){return $.destroy(G),new Promise((W,H)=>{if($._duplexState&8)return W({value:void 0,done:!0});$.once("close",function(){if(G)H(G);else W({value:void 0,done:!0})})})}}}class pm extends mA{constructor($){super($);if(this._duplexState|=16385,this._writableState=new nm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final;if($.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}static isBackpressured($){return($._duplexState&146800654)!==0}static drained($){if($.destroyed)return Promise.resolve(!1);let Y=$._writableState,U=(d_1($)?Math.min(1,Y.queue.length):Y.queue.length)+($._duplexState&67108864?1:0);if(U===0)return Promise.resolve(!0);if(Y.drains===null)Y.drains=[];return new Promise((Q)=>{Y.drains.push({writes:U,resolve:Q})})}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class lA extends Kq{constructor($){super($);if(this._duplexState=1|this._duplexState&131072,this._writableState=new nm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class dm extends lA{constructor($){super($);if(this._transformState=new bC0(this),$){if($.transform)this._transform=$.transform;if($.flush)this._flush=$.flush}}_write($,Y){if(this._readableState.buffered>=this._readableState.highWaterMark)this._transformState.data=$;else this._transform($,this._transformState.afterTransform)}_read($){if(this._transformState.data!==null){let Y=this._transformState.data;this._transformState.data=null,$(null),this._transform(Y,this._transformState.afterTransform)}else $(null)}destroy($){if(super.destroy($),this._transformState.data!==null)this._transformState.data=null,this._transformState.afterTransform()}_transform($,Y){Y(null,$)}_flush($){$(null)}_final($){this._transformState.afterFinal=$,this._flush(S_1.bind(this))}}class mm extends dm{}function S_1($,Y){let z=this._transformState.afterFinal;if($)return z($);if(Y!==null&&Y!==void 0)this.push(Y);this.push(null),z(null)}function g_1(...$){return new Promise((Y,z)=>{return lm(...$,(U)=>{if(U)return z(U);Y()})})}function lm($,...Y){let z=Array.isArray($)?[...$,...Y]:[$,...Y],U=z.length&&typeof z[z.length-1]==="function"?z.pop():null;if(z.length<2)throw s$.BAD_ARGUMENT("Pipeline requires at least 2 streams");let Q=z[0],J=null,I=null;for(let W=1;W1,G),Q.pipe(J);Q=J}if(U){let W=!1,H=Gq(J)||!!(J._writableState&&J._writableState.autoDestroy);if(J.on("error",(X)=>{if(I===null)I=X}),J.on("finish",()=>{if(W=!0,!H)U(I)}),H)J.on("close",()=>U(I||(W?null:s$.PREMATURE_CLOSE())))}return J;function K(W,H,X,Z){W.on("error",Z),W.on("close",q);function q(){if(H&&W._readableState&&!W._readableState.ended)return Z(s$.PREMATURE_CLOSE());if(X&&W._writableState&&!W._writableState.ended)return Z(s$.PREMATURE_CLOSE())}}function G(W){if(!W||I)return;I=W;for(let H of z)H.destroy(W)}}function y_1($){return $}function pC0($){return!!$._readableState||!!$._writableState}function Gq($){return typeof $._duplexState==="number"&&pC0($)}function k_1($){return!!$._readableState&&$._readableState.ending}function x_1($){return!!$._readableState&&$._readableState.ended}function f_1($){return!!$._writableState&&$._writableState.ending}function u_1($){return!!$._writableState&&$._writableState.ended}function b_1($,Y={}){let z=$._readableState&&$._readableState.error||$._writableState&&$._writableState.error;return!Y.all&&s$.isStreamDestroyed(z)?null:z}function i_1($){return Gq($)&&$.readable}function c_1($){return($._duplexState&1)!==1||($._duplexState&4)===4||($._duplexState&33587200)!==0}function n_1($){return typeof $==="object"&&$!==null&&typeof $.byteLength==="number"}function dC0($){return n_1($)?$.byteLength:1024}function cm(){}function p_1(){this.destroy(s$.ABORTED())}function d_1($){return $._writev!==pm.prototype._writev&&$._writev!==lA.prototype._writev}mC0.exports={pipeline:lm,pipelinePromise:g_1,isStream:pC0,isStreamx:Gq,isEnding:k_1,isEnded:x_1,isFinishing:f_1,isFinished:u_1,isDisturbed:c_1,getStreamError:b_1,Stream:mA,Writable:pm,Readable:Kq,Duplex:lA,Transform:dm,PassThrough:mm}});var sm=E((Uv1)=>{var n1=jK(),lC0=n1.from([117,115,116,97,114,0]),m_1=n1.from([48,48]),l_1=n1.from([117,115,116,97,114,32]),o_1=n1.from([32,0]);Uv1.decodeLongPath=function(Y,z){return EK(Y,0,Y.length,z)};Uv1.encodePax=function(Y){let z="";if(Y.name)z+=rm(" path="+Y.name+` `);if(Y.linkname)z+=rm(" linkpath="+Y.linkname+` `);let U=Y.pax;if(U)for(let Q in U)z+=rm(" "+Q+"="+U[Q]+` -`);return n1.from(z)};Yv1.decodePax=function(Y){let z={};while(Y.length){let U=0;while(U100){let J=U.indexOf("/");if(J===-1)return null;Q+=Q?"/"+U.slice(0,J):U.slice(0,J),U=U.slice(J+1)}if(n1.byteLength(U)>100||n1.byteLength(Q)>155)return null;if(Y.linkname&&n1.byteLength(Y.linkname)>100)return null;if(n1.write(z,U),n1.write(z,m2(Y.mode&4095,6),100),n1.write(z,m2(Y.uid,6),108),n1.write(z,m2(Y.gid,6),116),e_1(Y.size,z,124),n1.write(z,m2(Y.mtime.getTime()/1000|0,11),136),z[156]=48+a_1(Y.type),Y.linkname)n1.write(z,Y.linkname,157);if(n1.copy(lC0,z,257),n1.copy(p_1,z,263),Y.uname)n1.write(z,Y.uname,265);if(Y.gname)n1.write(z,Y.gname,297);if(n1.write(z,m2(Y.devmajor||0,6),329),n1.write(z,m2(Y.devminor||0,6),337),Q)n1.write(z,Q,345);return n1.write(z,m2(rC0(z),6),148),z};Yv1.decode=function(Y,z,U){let Q=Y[156]===0?0:Y[156]-48,J=EK(Y,0,100,z),I=d2(Y,100,8),K=d2(Y,108,8),G=d2(Y,116,8),W=d2(Y,124,12),H=d2(Y,136,12),X=s_1(Q),Z=Y[157]===0?null:EK(Y,157,100,z),q=EK(Y,265,32),V=EK(Y,297,32),F=d2(Y,329,8),M=d2(Y,337,8),w=rC0(Y);if(w===256)return null;if(w!==d2(Y,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(l_1(Y)){if(Y[345])J=EK(Y,345,155,z)+"/"+J}else if(o_1(Y));else if(!U)throw Error("Invalid tar header: unknown format.");if(Q===0&&J&&J[J.length-1]==="/")Q=5;return{name:J,mode:I,uid:K,gid:G,size:W,byteOffset:0,mtime:new Date(1000*H),type:X,linkname:Z,uname:q,gname:V,devmajor:F,devminor:M,pax:null}};function l_1($){return n1.equals(lC0,$.subarray(257,263))}function o_1($){return n1.equals(d_1,$.subarray(257,263))&&n1.equals(m_1,$.subarray(263,265))}function r_1($,Y,z){if(typeof $!=="number")return z;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0}function s_1($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function a_1($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function oC0($,Y,z,U){for(;zY)return"7777777777777777777".slice(0,Y)+" ";return"0000000000000000000".slice(0,Y-$.length)+$+" "}function t_1($,Y,z){Y[z]=128;for(let U=11;U>0;U--)Y[z+U]=$&255,$=Math.floor($/256)}function e_1($,Y,z){if($.toString(8).length>11)t_1($,Y,z);else n1.write(Y,m2($,11),z)}function $v1($){let Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;let z=[],U;for(U=$.length-1;U>0;U--){let I=$[U];if(Y)z.push(I);else z.push(255-I)}let Q=0,J=z.length;for(U=0;U=Math.pow(10,z))z++;return Y+z+$}});var UR0=E((K64,zR0)=>{var{Writable:Kv1,Readable:Gv1,getStreamError:sC0}=om(),Wv1=bm(),aC0=jK(),CK=sm(),Hv1=aC0.alloc(0);class tC0{constructor(){this.buffered=0,this.shifted=0,this.queue=new Wv1,this._offset=0}push($){this.buffered+=$.byteLength,this.queue.push($)}shiftFirst($){return this.buffered===0?null:this._next($)}shift($){if($>this.buffered)return null;if($===0)return Hv1;let Y=this._next($);if($===Y.byteLength)return Y;let z=[Y];while(($-=Y.byteLength)>0)Y=this._next($),z.push(Y);return aC0.concat(z)}_next($){let Y=this.queue.peek(),z=Y.byteLength-this._offset;if($>=z){let U=this._offset?Y.subarray(this._offset,Y.byteLength):Y;return this.queue.shift(),this._offset=0,this.buffered-=z,this.shifted+=z,U}return this.buffered-=$,this.shifted+=$,Y.subarray(this._offset,this._offset+=$)}}class eC0 extends Gv1{constructor($,Y,z){super();this.header=Y,this.offset=z,this._parent=$}_read($){if(this.header.size===0)this.push(null);if(this._parent._stream===this)this._parent._update();$(null)}_predestroy(){this._parent.destroy(sC0(this))}_detach(){if(this._parent._stream===this)this._parent._stream=null,this._parent._missing=YR0(this.header.size),this._parent._update()}_destroy($){this._detach(),$(null)}}class $R0 extends Kv1{constructor($){super($);if(!$)$={};this._buffer=new tC0,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=am,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=$.filenameEncoding||"utf-8",this._allowUnknownFormat=!!$.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock($){if(this._locked=!1,$){this.destroy($),this._continueWrite($);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=CK.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch($){return this._continueWrite($),!1}if(!this._header)return!0;switch(this._header.byteOffset=this._buffer.shifted,this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":if(this._longHeader=!0,this._missing=this._header.size,this._missing>4194304)return this._continueWrite(Error("Header exceeds max size")),!1;return!0}if(this._locked=!0,this._applyLongHeaders(),!(this._header.size>=0))return this._continueWrite(Error("Invalid header")),!1;if(this._header.size===0||this._header.type==="directory")return this.emit("entry",this._header,this._createStream(),this._unlockBound),!0;return this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0}_applyLongHeaders(){if(this._gnuLongPath)this._header.name=this._gnuLongPath,this._gnuLongPath=null;if(this._gnuLongLinkPath)this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null;if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax,this._pax=null}}_decodeLongHeader($){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=CK.decodeLongPath($,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=CK.decodeLongPath($,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=CK.decodePax($);break;case"pax-header":this._pax=this._paxGlobal===null?CK.decodePax($):Object.assign({},this._paxGlobal,CK.decodePax($));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=YR0(this._header.size);let $=this._buffer.shift(this._header.size);try{this._decodeLongHeader($)}catch(Y){return this._continueWrite(Y),!1}return!0}_consumeStream(){let $=this._buffer.shiftFirst(this._missing);if($===null)return!1;this._missing-=$.byteLength;let Y=this._stream.push($);if(this._missing===0){if(this._stream.push(null),Y)this._stream._detach();return Y&&this._locked===!1}return Y}_createStream(){return new eC0(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let $=this._buffer.shiftFirst(this._missing);if($!==null)this._missing-=$.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite($){let Y=this._callback;this._callback=am,Y($)}_write($,Y){this._callback=Y,this._buffer.push($),this._update()}_final($){this._finished=this._missing===0&&this._buffer.buffered===0,$(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy($){if(this._stream)this._stream.destroy(sC0(this));$(null)}[Symbol.asyncIterator](){let $=null,Y=null,z=null,U=null,Q=null,J=this;return this.on("entry",G),this.on("error",(X)=>{$=X}),this.on("close",W),{[Symbol.asyncIterator](){return this},next(){return new Promise(K)},return(){return H(null)},throw(X){return H(X)}};function I(X){if(!Q)return;let Z=Q;Q=null,Z(X)}function K(X,Z){if($)return Z($);if(U){X({value:U,done:!1}),U=null;return}if(Y=X,z=Z,I(null),J._finished&&Y)Y({value:void 0,done:!0}),Y=z=null}function G(X,Z,q){if(Q=q,Z.on("error",am),Y)Y({value:Z,done:!1}),Y=z=null;else U=Z}function W(){if(I($),!Y)return;if($)z($);else Y({value:void 0,done:!0});Y=z=null}function H(X){return J.destroy(X),I(X),new Promise((Z,q)=>{if(J.destroyed)return Z({value:void 0,done:!0});J.once("close",function(){if(X)q(X);else Z({value:void 0,done:!0})})})}}}zR0.exports=function(Y){return new $R0(Y)};function am(){}function YR0($){return $&=511,$&&512-$}});var JR0=E((G64,tm)=>{var QR0={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{tm.exports=I0("fs").constants||QR0}catch{tm.exports=QR0}});var ZR0=E((W64,XR0)=>{var{Readable:Xv1,Writable:Zv1,getStreamError:IR0}=om(),EU=jK(),RK=JR0(),mA=sm(),KR0=EU.alloc(1024);class GR0 extends Zv1{constructor($,Y,z){super({mapWritable:Vv1,eagerOpen:!0});if(this.written=0,this.header=Y,this._callback=z,this._linkname=null,this._isLinkname=Y.type==="symlink"&&!Y.linkname,this._isVoid=Y.type!=="file"&&Y.type!=="contiguous-file",this._finished=!1,this._pack=$,this._openCallback=null,this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open($){if(this._openCallback=$,this._pack._stream===this)this._continueOpen()}_continuePack($){if(this._callback===null)return;let Y=this._callback;this._callback=null,Y($)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;let $=this._openCallback;if(this._openCallback=null,$===null)return;if(this._pack.destroying)return $(Error("pack stream destroyed"));if(this._pack._finalized)return $(Error("pack stream is already finalized"));if(this._pack._stream=this,!this._isLinkname)this._pack._encode(this.header);if(this._isVoid)this._finish(),this._continuePack(null);$(null)}_write($,Y){if(this._isLinkname)return this._linkname=this._linkname?EU.concat([this._linkname,$]):$,Y(null);if(this._isVoid){if($.byteLength>0)return Y(Error("No body allowed for this entry"));return Y()}if(this.written+=$.byteLength,this._pack.push($))return Y();this._pack._drain=Y}_finish(){if(this._finished)return;if(this._finished=!0,this._isLinkname)this.header.linkname=this._linkname?EU.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header);HR0(this._pack,this.header.size),this._pack._done(this)}_final($){if(this.written!==this.header.size)return $(Error("Size mismatch"));this._finish(),$(null)}_getError(){return IR0(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy($){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),$()}}class WR0 extends Xv1{constructor($){super($);this._drain=em,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry($,Y,z){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");if(typeof Y==="function")z=Y,Y=null;if(!z)z=em;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=qv1($.mode);if(!$.mode)$.mode=$.type==="directory"?493:420;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=EU.from(Y);let U=new GR0(this,$,z);if(EU.isBuffer(Y))return $.size=Y.byteLength,U.write(Y),U.end(),U;if(U._isVoid)return U;return U}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(KR0),this.push(null)}_done($){if($!==this._stream)return;if(this._stream=null,this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode($){if(!$.pax){let Y=mA.encode($);if(Y){this.push(Y);return}}this._encodePax($)}_encodePax($){let Y=mA.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),z={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.byteLength,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(mA.encode(z)),this.push(Y),HR0(this,Y.byteLength),z.size=$.size,z.type=$.type,this.push(mA.encode(z))}_doDrain(){let $=this._drain;this._drain=em,$()}_predestroy(){let $=IR0(this);if(this._stream)this._stream.destroy($);while(this._pending.length){let Y=this._pending.shift();Y.destroy($),Y._continueOpen()}this._doDrain()}_read($){this._doDrain(),$()}}XR0.exports=function(Y){return new WR0(Y)};function qv1($){switch($&RK.S_IFMT){case RK.S_IFBLK:return"block-device";case RK.S_IFCHR:return"character-device";case RK.S_IFDIR:return"directory";case RK.S_IFIFO:return"fifo";case RK.S_IFLNK:return"symlink"}return"file"}function em(){}function HR0($,Y){if(Y&=511,Y)$.push(KR0.subarray(0,512-Y))}function Vv1($){return EU.isBuffer($)?$:EU.from($)}});var qR0=E((Lv1)=>{Lv1.extract=UR0();Lv1.pack=ZR0()});var Ov1;var VR0=o(()=>{kA();Ov1=J6(qR0(),1)});function LR0($){if(Buffer.isBuffer($))return $;if(typeof $==="number")return Buffer.alloc($);else if(typeof $==="string")return Buffer.from($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function Dv1($){let Y=LR0(4);return Y.writeInt32BE($,0),Y}function $l($,Y){if($=LR0($),Buffer.isBuffer(Y))Y=Y.readUInt32BE(0);let z=~~Y^-1;for(var U=0;U<$.length;U++)z=Nv1[(z^$[U])&255]^z>>>8;return z^-1}function FR0(){return Dv1($l.apply(null,arguments))}var Nv1;var wR0=o(()=>{Nv1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);FR0.signed=function(){return $l.apply(null,arguments)};FR0.unsigned=function(){return $l.apply(null,arguments)>>>0}});var Bv1;var MR0=o(()=>{wR0();kA();Bv1=J6(PU(),1)});var Yl;var OR0=o(()=>{_E0();BC0();VR0();MR0();Yl=class Yl extends xA{constructor($){super($);this._format="zip",this._module=new cA($),this._supportsDirectory=!0,this._supportsSymlink=!0,this._modulePipe()}}});import{createWriteStream as Pv1,mkdirSync as Av1,statSync as Tv1}from"node:fs";import{homedir as jv1}from"node:os";import{dirname as Ev1,join as Cv1,resolve as NR0}from"node:path";function Rv1($,Y){if($.outputFile)return NR0($.outputFile);let z=new Date().toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"}),U=`webhook-resource-pack-${Y.id}-${z}.zip`;if($.toDownloads)return Cv1(jv1(),"Downloads",U);return NR0(U)}async function lA($,Y,z={}){let U=[];if(z.recordId)process.stderr.write(`\uD83D\uDD0D 查询单据记录: ${z.recordId}... +`);return n1.from(z)};Uv1.decodePax=function(Y){let z={};while(Y.length){let U=0;while(U100){let J=U.indexOf("/");if(J===-1)return null;Q+=Q?"/"+U.slice(0,J):U.slice(0,J),U=U.slice(J+1)}if(n1.byteLength(U)>100||n1.byteLength(Q)>155)return null;if(Y.linkname&&n1.byteLength(Y.linkname)>100)return null;if(n1.write(z,U),n1.write(z,m2(Y.mode&4095,6),100),n1.write(z,m2(Y.uid,6),108),n1.write(z,m2(Y.gid,6),116),Yv1(Y.size,z,124),n1.write(z,m2(Y.mtime.getTime()/1000|0,11),136),z[156]=48+e_1(Y.type),Y.linkname)n1.write(z,Y.linkname,157);if(n1.copy(lC0,z,257),n1.copy(m_1,z,263),Y.uname)n1.write(z,Y.uname,265);if(Y.gname)n1.write(z,Y.gname,297);if(n1.write(z,m2(Y.devmajor||0,6),329),n1.write(z,m2(Y.devminor||0,6),337),Q)n1.write(z,Q,345);return n1.write(z,m2(rC0(z),6),148),z};Uv1.decode=function(Y,z,U){let Q=Y[156]===0?0:Y[156]-48,J=EK(Y,0,100,z),I=d2(Y,100,8),K=d2(Y,108,8),G=d2(Y,116,8),W=d2(Y,124,12),H=d2(Y,136,12),X=t_1(Q),Z=Y[157]===0?null:EK(Y,157,100,z),q=EK(Y,265,32),V=EK(Y,297,32),F=d2(Y,329,8),M=d2(Y,337,8),w=rC0(Y);if(w===256)return null;if(w!==d2(Y,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(r_1(Y)){if(Y[345])J=EK(Y,345,155,z)+"/"+J}else if(s_1(Y));else if(!U)throw Error("Invalid tar header: unknown format.");if(Q===0&&J&&J[J.length-1]==="/")Q=5;return{name:J,mode:I,uid:K,gid:G,size:W,byteOffset:0,mtime:new Date(1000*H),type:X,linkname:Z,uname:q,gname:V,devmajor:F,devminor:M,pax:null}};function r_1($){return n1.equals(lC0,$.subarray(257,263))}function s_1($){return n1.equals(l_1,$.subarray(257,263))&&n1.equals(o_1,$.subarray(263,265))}function a_1($,Y,z){if(typeof $!=="number")return z;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0}function t_1($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function e_1($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function oC0($,Y,z,U){for(;zY)return"7777777777777777777".slice(0,Y)+" ";return"0000000000000000000".slice(0,Y-$.length)+$+" "}function $v1($,Y,z){Y[z]=128;for(let U=11;U>0;U--)Y[z+U]=$&255,$=Math.floor($/256)}function Yv1($,Y,z){if($.toString(8).length>11)$v1($,Y,z);else n1.write(Y,m2($,11),z)}function zv1($){let Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;let z=[],U;for(U=$.length-1;U>0;U--){let I=$[U];if(Y)z.push(I);else z.push(255-I)}let Q=0,J=z.length;for(U=0;U=Math.pow(10,z))z++;return Y+z+$}});var UR0=E((H64,zR0)=>{var{Writable:Wv1,Readable:Hv1,getStreamError:sC0}=om(),Xv1=bm(),aC0=jK(),CK=sm(),Zv1=aC0.alloc(0);class tC0{constructor(){this.buffered=0,this.shifted=0,this.queue=new Xv1,this._offset=0}push($){this.buffered+=$.byteLength,this.queue.push($)}shiftFirst($){return this.buffered===0?null:this._next($)}shift($){if($>this.buffered)return null;if($===0)return Zv1;let Y=this._next($);if($===Y.byteLength)return Y;let z=[Y];while(($-=Y.byteLength)>0)Y=this._next($),z.push(Y);return aC0.concat(z)}_next($){let Y=this.queue.peek(),z=Y.byteLength-this._offset;if($>=z){let U=this._offset?Y.subarray(this._offset,Y.byteLength):Y;return this.queue.shift(),this._offset=0,this.buffered-=z,this.shifted+=z,U}return this.buffered-=$,this.shifted+=$,Y.subarray(this._offset,this._offset+=$)}}class eC0 extends Hv1{constructor($,Y,z){super();this.header=Y,this.offset=z,this._parent=$}_read($){if(this.header.size===0)this.push(null);if(this._parent._stream===this)this._parent._update();$(null)}_predestroy(){this._parent.destroy(sC0(this))}_detach(){if(this._parent._stream===this)this._parent._stream=null,this._parent._missing=YR0(this.header.size),this._parent._update()}_destroy($){this._detach(),$(null)}}class $R0 extends Wv1{constructor($){super($);if(!$)$={};this._buffer=new tC0,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=am,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=$.filenameEncoding||"utf-8",this._allowUnknownFormat=!!$.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock($){if(this._locked=!1,$){this.destroy($),this._continueWrite($);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=CK.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch($){return this._continueWrite($),!1}if(!this._header)return!0;switch(this._header.byteOffset=this._buffer.shifted,this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":if(this._longHeader=!0,this._missing=this._header.size,this._missing>4194304)return this._continueWrite(Error("Header exceeds max size")),!1;return!0}if(this._locked=!0,this._applyLongHeaders(),!(this._header.size>=0))return this._continueWrite(Error("Invalid header")),!1;if(this._header.size===0||this._header.type==="directory")return this.emit("entry",this._header,this._createStream(),this._unlockBound),!0;return this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0}_applyLongHeaders(){if(this._gnuLongPath)this._header.name=this._gnuLongPath,this._gnuLongPath=null;if(this._gnuLongLinkPath)this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null;if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax,this._pax=null}}_decodeLongHeader($){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=CK.decodeLongPath($,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=CK.decodeLongPath($,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=CK.decodePax($);break;case"pax-header":this._pax=this._paxGlobal===null?CK.decodePax($):Object.assign({},this._paxGlobal,CK.decodePax($));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=YR0(this._header.size);let $=this._buffer.shift(this._header.size);try{this._decodeLongHeader($)}catch(Y){return this._continueWrite(Y),!1}return!0}_consumeStream(){let $=this._buffer.shiftFirst(this._missing);if($===null)return!1;this._missing-=$.byteLength;let Y=this._stream.push($);if(this._missing===0){if(this._stream.push(null),Y)this._stream._detach();return Y&&this._locked===!1}return Y}_createStream(){return new eC0(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let $=this._buffer.shiftFirst(this._missing);if($!==null)this._missing-=$.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite($){let Y=this._callback;this._callback=am,Y($)}_write($,Y){this._callback=Y,this._buffer.push($),this._update()}_final($){this._finished=this._missing===0&&this._buffer.buffered===0,$(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy($){if(this._stream)this._stream.destroy(sC0(this));$(null)}[Symbol.asyncIterator](){let $=null,Y=null,z=null,U=null,Q=null,J=this;return this.on("entry",G),this.on("error",(X)=>{$=X}),this.on("close",W),{[Symbol.asyncIterator](){return this},next(){return new Promise(K)},return(){return H(null)},throw(X){return H(X)}};function I(X){if(!Q)return;let Z=Q;Q=null,Z(X)}function K(X,Z){if($)return Z($);if(U){X({value:U,done:!1}),U=null;return}if(Y=X,z=Z,I(null),J._finished&&Y)Y({value:void 0,done:!0}),Y=z=null}function G(X,Z,q){if(Q=q,Z.on("error",am),Y)Y({value:Z,done:!1}),Y=z=null;else U=Z}function W(){if(I($),!Y)return;if($)z($);else Y({value:void 0,done:!0});Y=z=null}function H(X){return J.destroy(X),I(X),new Promise((Z,q)=>{if(J.destroyed)return Z({value:void 0,done:!0});J.once("close",function(){if(X)q(X);else Z({value:void 0,done:!0})})})}}}zR0.exports=function(Y){return new $R0(Y)};function am(){}function YR0($){return $&=511,$&&512-$}});var JR0=E((X64,tm)=>{var QR0={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{tm.exports=I0("fs").constants||QR0}catch{tm.exports=QR0}});var ZR0=E((Z64,XR0)=>{var{Readable:qv1,Writable:Vv1,getStreamError:IR0}=om(),EU=jK(),RK=JR0(),oA=sm(),KR0=EU.alloc(1024);class GR0 extends Vv1{constructor($,Y,z){super({mapWritable:Fv1,eagerOpen:!0});if(this.written=0,this.header=Y,this._callback=z,this._linkname=null,this._isLinkname=Y.type==="symlink"&&!Y.linkname,this._isVoid=Y.type!=="file"&&Y.type!=="contiguous-file",this._finished=!1,this._pack=$,this._openCallback=null,this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open($){if(this._openCallback=$,this._pack._stream===this)this._continueOpen()}_continuePack($){if(this._callback===null)return;let Y=this._callback;this._callback=null,Y($)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;let $=this._openCallback;if(this._openCallback=null,$===null)return;if(this._pack.destroying)return $(Error("pack stream destroyed"));if(this._pack._finalized)return $(Error("pack stream is already finalized"));if(this._pack._stream=this,!this._isLinkname)this._pack._encode(this.header);if(this._isVoid)this._finish(),this._continuePack(null);$(null)}_write($,Y){if(this._isLinkname)return this._linkname=this._linkname?EU.concat([this._linkname,$]):$,Y(null);if(this._isVoid){if($.byteLength>0)return Y(Error("No body allowed for this entry"));return Y()}if(this.written+=$.byteLength,this._pack.push($))return Y();this._pack._drain=Y}_finish(){if(this._finished)return;if(this._finished=!0,this._isLinkname)this.header.linkname=this._linkname?EU.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header);HR0(this._pack,this.header.size),this._pack._done(this)}_final($){if(this.written!==this.header.size)return $(Error("Size mismatch"));this._finish(),$(null)}_getError(){return IR0(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy($){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),$()}}class WR0 extends qv1{constructor($){super($);this._drain=em,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry($,Y,z){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");if(typeof Y==="function")z=Y,Y=null;if(!z)z=em;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=Lv1($.mode);if(!$.mode)$.mode=$.type==="directory"?493:420;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=EU.from(Y);let U=new GR0(this,$,z);if(EU.isBuffer(Y))return $.size=Y.byteLength,U.write(Y),U.end(),U;if(U._isVoid)return U;return U}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(KR0),this.push(null)}_done($){if($!==this._stream)return;if(this._stream=null,this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode($){if(!$.pax){let Y=oA.encode($);if(Y){this.push(Y);return}}this._encodePax($)}_encodePax($){let Y=oA.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),z={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.byteLength,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(oA.encode(z)),this.push(Y),HR0(this,Y.byteLength),z.size=$.size,z.type=$.type,this.push(oA.encode(z))}_doDrain(){let $=this._drain;this._drain=em,$()}_predestroy(){let $=IR0(this);if(this._stream)this._stream.destroy($);while(this._pending.length){let Y=this._pending.shift();Y.destroy($),Y._continueOpen()}this._doDrain()}_read($){this._doDrain(),$()}}XR0.exports=function(Y){return new WR0(Y)};function Lv1($){switch($&RK.S_IFMT){case RK.S_IFBLK:return"block-device";case RK.S_IFCHR:return"character-device";case RK.S_IFDIR:return"directory";case RK.S_IFIFO:return"fifo";case RK.S_IFLNK:return"symlink"}return"file"}function em(){}function HR0($,Y){if(Y&=511,Y)$.push(KR0.subarray(0,512-Y))}function Fv1($){return EU.isBuffer($)?$:EU.from($)}});var qR0=E((wv1)=>{wv1.extract=UR0();wv1.pack=ZR0()});var Dv1;var VR0=o(()=>{fA();Dv1=J6(qR0(),1)});function LR0($){if(Buffer.isBuffer($))return $;if(typeof $==="number")return Buffer.alloc($);else if(typeof $==="string")return Buffer.from($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function Pv1($){let Y=LR0(4);return Y.writeInt32BE($,0),Y}function $l($,Y){if($=LR0($),Buffer.isBuffer(Y))Y=Y.readUInt32BE(0);let z=~~Y^-1;for(var U=0;U<$.length;U++)z=Bv1[(z^$[U])&255]^z>>>8;return z^-1}function FR0(){return Pv1($l.apply(null,arguments))}var Bv1;var wR0=o(()=>{Bv1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);FR0.signed=function(){return $l.apply(null,arguments)};FR0.unsigned=function(){return $l.apply(null,arguments)>>>0}});var Av1;var MR0=o(()=>{wR0();fA();Av1=J6(PU(),1)});var Yl;var OR0=o(()=>{_E0();BC0();VR0();MR0();Yl=class Yl extends uA{constructor($){super($);this._format="zip",this._module=new pA($),this._supportsDirectory=!0,this._supportsSymlink=!0,this._modulePipe()}}});import{createWriteStream as Tv1,mkdirSync as jv1,statSync as Ev1}from"node:fs";import{homedir as Cv1}from"node:os";import{dirname as Rv1,join as _v1,resolve as NR0}from"node:path";function vv1($,Y){if($.outputFile)return NR0($.outputFile);let z=new Date().toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"}),U=`webhook-resource-pack-${Y.id}-${z}.zip`;if($.toDownloads)return _v1(Cv1(),"Downloads",U);return NR0(U)}async function rA($,Y,z={}){let U=[];if(z.recordId)process.stderr.write(`\uD83D\uDD0D 查询单据记录: ${z.recordId}... `),U=[await G4($,z.recordId)];else if(z.recordIds&&z.recordIds.length>0)process.stderr.write(`\uD83D\uDD0D 批量查询 ${z.recordIds.length} 条单据记录... `),U=await Promise.all(z.recordIds.map((w)=>G4($,w)));else{let w=z.limit??10;process.stderr.write(`\uD83D\uDD0D 检索企业「${Y.name}」(${Y.id}) 的线上审核记录 (限制 ${w} 条)... -`);let D=(await b4($,{limit:w,status:z.status,startDate:z.startDate!==void 0?String(z.startDate):void 0,endDate:z.endDate!==void 0?String(z.endDate):void 0})).records??[];if(D.length===0)throw Error("未检索到符合条件的线上审核记录,无法导出 webhook 资源包。");process.stderr.write(`\uD83D\uDCE5 正在拉取 ${D.length} 条审核记录完整详情... -`),U=await Promise.all(D.map((N)=>G4($,N.id)))}let Q=new Map,J=0;for(let w of U){let O=w.document,D=w.sourceDocumentId??(typeof O?.id==="string"?O.id:void 0)??(typeof O?.sourceDocumentId==="string"?O.sourceDocumentId:void 0)??w.documentId??w.id,N=`${z.docIdPrefix??""}${D}${z.docIdSuffix??""}`,A=[];if(z.includeAttachments!==!1){let B=k2(w,{summary:!1}).attachments,j=new Set;for(let C of B){let b=C.ossSignedUrl??C.url;if(!b)continue;let k=C.fileName??C.fileId??"attachment",h=bn(k),i=h,c=h.lastIndexOf("."),U0=c>0?h.slice(0,c):h,x=c>0?h.slice(c):"",d=1;while(j.has(i.toLowerCase()))i=`${U0}_${d}${x}`,d++;j.add(i.toLowerCase());try{process.stderr.write(`⬇ 下载单据「${N}」附件: ${k}... -`);let t=await fetch(b);if(t.ok){let $0=await t.arrayBuffer(),g=Buffer.from($0);A.push({fileName:i,zipPath:`${N}/${i}`,buffer:g,sourceField:C.sourceField??"附件"}),J++}}catch(t){process.stderr.write(`⚠️ [跳过附件] 下载失败 ${k}: ${t} -`)}}}Q.set(N,A)}let I=new DR0.default.Workbook;I.creator="seal-use",I.created=new Date;let K=new Set;for(let w of Q.values())for(let O of w)K.add(O.sourceField);if(K.size===0)K.add("附件");let G=new Set;for(let w of U){let O=w.document,D=Array.isArray(O?.fields)?O.fields:[];for(let N of D)if(N&&typeof N==="object"){let A=N,T=typeof A.label==="string"?A.label.trim():typeof A.key==="string"?A.key.trim():"",B=typeof A.type==="string"?A.type.toUpperCase():"";if(T&&B!=="ATTACHMENT"&&B!=="LIST")G.add(T)}}let W=["会议编号","会议名称","状态","总金额","报销事由","申请日期"],H=Array.from(G).filter((w)=>!W.includes(w)&&w!=="单据编号"&&w!=="单号"),X=Array.from(K).map((w)=>`[附件]${w}`),Z=[...W,...H,...X],q=I.addWorksheet("主表");q.addRow(Z),q.getRow(1).font={bold:!0};for(let w of U){let O=w.document,D=w.sourceDocumentSN??(typeof O?.sn==="string"?O.sn:void 0)??(typeof O?.sourceDocumentSN==="string"?O.sourceDocumentSN:void 0)??w.id,N=w.sourceDocumentId??(typeof O?.id==="string"?O.id:void 0)??(typeof O?.sourceDocumentId==="string"?O.sourceDocumentId:void 0)??w.documentId??w.id,A=`${z.docIdPrefix??""}${N}${z.docIdSuffix??""}`,T=`${z.docIdPrefix??""}${D}${z.docIdSuffix??""}`,B=(typeof O?.title==="string"?O.title:void 0)??(typeof O?.name==="string"?O.name:void 0)??T,j="";if(typeof O?.sourceStartTime==="number")j=new Date(O.sourceStartTime*1000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});else if(typeof w.createdAt==="number")j=new Date(w.createdAt).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});else if(typeof w.createdAt==="string")j=w.createdAt.slice(0,10);let C=new Map,b=Array.isArray(O?.fields)?O.fields:[];for(let U0 of b)if(U0&&typeof U0==="object"){let x=U0,d=typeof x.label==="string"?x.label.trim():typeof x.key==="string"?x.key.trim():"";if(d)C.set(d,x.value)}let k,h=C.get("总金额")??C.get("报销金额")??C.get("total_amount");if(typeof h==="number")k=h;else if(h&&typeof h==="object"&&"amount"in h&&typeof h.amount==="number")k=h.amount;let i=[];i.push(A),i.push(B),i.push(w.status??"已审批"),i.push(k??""),i.push(C.get("报销事由")??C.get("事由")??B),i.push(j);for(let U0 of H){let x=C.get(U0);if(x===void 0||x===null)i.push("");else if(typeof x==="object")if("amount"in x)i.push(x.amount);else i.push(JSON.stringify(x));else i.push(x)}let c=Q.get(A)??[];for(let U0 of K){let x=c.filter((d)=>d.sourceField===U0||K.size===1);if(x.length>0)i.push(x.map((d)=>d.zipPath).join(` -`));else i.push("")}q.addRow(i)}let V=Rv1(z,Y);Av1(Ev1(V),{recursive:!0});let F=await I.xlsx.writeBuffer();process.stderr.write(`\uD83D\uDCE6 正在压缩生成 Webhook 资源包: ${V}... -`),await new Promise((w,O)=>{let D=Pv1(V),N=new Yl({zlib:{level:9}});D.on("close",()=>w()),N.on("error",(A)=>O(A)),N.pipe(D),N.append(Buffer.from(F),{name:"信息表.xlsx"});for(let A of Q.values())for(let T of A)N.append(T.buffer,{name:T.zipPath});N.finalize()});let M=Tv1(V);return{filePath:V,corpId:Y.id,corpName:Y.name,recordCount:U.length,attachmentCount:J,fileSizeBytes:M.size,exportedAt:new Date().toISOString(),nextAction:`seal-use webhook resource-pack push ${V} --corp `}}var DR0;var zl=o(()=>{OR0();X6();jP();DR0=J6(PZ(),1)});import{readFileSync as _v1}from"node:fs";function vv1($){let Y=new URL($),z=Y.pathname.match(/\/webhook\/([^/]+)/);if(!z)throw Error("Webhook URL 必须包含 /webhook/{webhookId}/document");return{baseUrl:`${Y.protocol}//${Y.host}`,webhookId:z[1]}}function hv1($,Y){return Y.toLowerCase().endsWith(".zip")||$[0]===80&&$[1]===75&&!Y.toLowerCase().endsWith(".xlsx")}function Sv1($,Y){if(!$.length)return;let z=new Set($.map((J)=>{let I=J.fileName.split("/")[0],K=I.indexOf("@");return K>=0?I.slice(0,K):I}).filter((J)=>J!=="信息表.xlsx")),U=[];for(let J of Y){let I=J.document.documentId;if((J.documentAttachments.length>0||Object.values(J.expenseAttachments).some((G)=>G.length>0)||Object.values(J.personAttachments).some((G)=>G.length>0))&&!z.has(I))U.push(`Excel 会议编号「${I}」声明了附件,但在 ZIP 中找不到对应的根目录「${I}/」或「${I}@.../」。`)}let Q=new Set(Y.map((J)=>J.document.documentId));for(let J of z)if(!Q.has(J))U.push(`ZIP 根目录对应的编号「${J}」在信息表中找不到对应的会议编号。`);if(U.length)throw new D5(U)}async function BR0($,Y,z){let U=[],Q=$;if(hv1($,Y)){U=await hP0($),gP0(U,z);let G=U.find((W)=>W.fileName==="信息表.xlsx");if(!G)throw Error("ZIP 根目录缺少信息表.xlsx");Q=await zd($,G)}let J=await iP0(Q);Sv1(U,J);let I=cP0(U,J),K=J.map((G)=>G.document);return{entries:U,parsed:J,plans:I,documents:K,fileBuffer:$}}async function CU($,Y,z){let U=await BR0($,Y,z),Q=U.parsed.map((J,I)=>Gd(J.document,U.plans[I],new Map));return{warnings:[],documents:Q,attachmentPlan:U.plans}}async function oA($,Y,z){let U=await BR0($,Y,z.materialPackFilePolicy),{baseUrl:Q,webhookId:J}=vv1(z.webhookUrl),I=[];for(let K=0;KT.fileName===F);if(!M)continue;process.stderr.write(`⬆ 上传附件: ${F} -`);let w=new FormData,O=await zd(U.fileBuffer,M),D=F.split("/").pop()??F;w.append("files",new File([new Uint8Array(O)],D));let N=await fetch(`${Q}/api/v1/integrations/webhook/${encodeURIComponent(J)}/attachments`,{method:"POST",headers:{...z.customHeaders??{},...jZ({},z.secret)},body:w});if(!N.ok)throw Error(`附件上传失败 ${N.status}: ${await N.text()}`);let A=await N.json();H.set(F,A.attachments?.map((T)=>T.data)??(A.data===void 0?[]:[A.data])),process.stderr.write(`✓ 附件上传成功: ${F} +`);let N=(await b4($,{limit:w,status:z.status,startDate:z.startDate!==void 0?String(z.startDate):void 0,endDate:z.endDate!==void 0?String(z.endDate):void 0})).records??[];if(N.length===0)throw Error("未检索到符合条件的线上审核记录,无法导出 webhook 资源包。");process.stderr.write(`\uD83D\uDCE5 正在拉取 ${N.length} 条审核记录完整详情... +`),U=await Promise.all(N.map((D)=>G4($,D.id)))}let Q=new Map,J=0;for(let w of U){let O=w.document,N=w.sourceDocumentId??(typeof O?.id==="string"?O.id:void 0)??(typeof O?.sourceDocumentId==="string"?O.sourceDocumentId:void 0)??w.documentId??w.id,D=`${z.docIdPrefix??""}${N}${z.docIdSuffix??""}`,T=[];if(z.includeAttachments!==!1){let B=k2(w,{summary:!1}).attachments,j=new Set;for(let C of B){let b=C.ossSignedUrl??C.url;if(!b)continue;let k=C.fileName??C.fileId??"attachment",h=nn(k),i=h,c=h.lastIndexOf("."),U0=c>0?h.slice(0,c):h,x=c>0?h.slice(c):"",d=1;while(j.has(i.toLowerCase()))i=`${U0}_${d}${x}`,d++;j.add(i.toLowerCase());try{process.stderr.write(`⬇ 下载单据「${D}」附件: ${k}... +`);let t=await fetch(b);if(t.ok){let $0=await t.arrayBuffer(),g=Buffer.from($0);T.push({fileName:i,zipPath:`${D}/${i}`,buffer:g,sourceField:C.sourceField??"附件"}),J++}}catch(t){process.stderr.write(`⚠️ [跳过附件] 下载失败 ${k}: ${t} +`)}}}Q.set(D,T)}let I=new DR0.default.Workbook;I.creator="seal-use",I.created=new Date;let K=new Set;for(let w of Q.values())for(let O of w)K.add(O.sourceField);if(K.size===0)K.add("附件");let G=new Set;for(let w of U){let O=w.document,N=Array.isArray(O?.fields)?O.fields:[];for(let D of N)if(D&&typeof D==="object"){let T=D,A=typeof T.label==="string"?T.label.trim():typeof T.key==="string"?T.key.trim():"",B=typeof T.type==="string"?T.type.toUpperCase():"";if(A&&B!=="ATTACHMENT"&&B!=="LIST")G.add(A)}}let W=["会议编号","会议名称","状态","总金额","报销事由","申请日期"],H=Array.from(G).filter((w)=>!W.includes(w)&&w!=="单据编号"&&w!=="单号"),X=Array.from(K).map((w)=>`[附件]${w}`),Z=[...W,...H,...X],q=I.addWorksheet("主表");q.addRow(Z),q.getRow(1).font={bold:!0};for(let w of U){let O=w.document,N=w.sourceDocumentSN??(typeof O?.sn==="string"?O.sn:void 0)??(typeof O?.sourceDocumentSN==="string"?O.sourceDocumentSN:void 0)??w.id,D=w.sourceDocumentId??(typeof O?.id==="string"?O.id:void 0)??(typeof O?.sourceDocumentId==="string"?O.sourceDocumentId:void 0)??w.documentId??w.id,T=`${z.docIdPrefix??""}${D}${z.docIdSuffix??""}`,A=`${z.docIdPrefix??""}${N}${z.docIdSuffix??""}`,B=(typeof O?.title==="string"?O.title:void 0)??(typeof O?.name==="string"?O.name:void 0)??A,j="";if(typeof O?.sourceStartTime==="number")j=new Date(O.sourceStartTime*1000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});else if(typeof w.createdAt==="number")j=new Date(w.createdAt).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});else if(typeof w.createdAt==="string")j=w.createdAt.slice(0,10);let C=new Map,b=Array.isArray(O?.fields)?O.fields:[];for(let U0 of b)if(U0&&typeof U0==="object"){let x=U0,d=typeof x.label==="string"?x.label.trim():typeof x.key==="string"?x.key.trim():"";if(d)C.set(d,x.value)}let k,h=C.get("总金额")??C.get("报销金额")??C.get("total_amount");if(typeof h==="number")k=h;else if(h&&typeof h==="object"&&"amount"in h&&typeof h.amount==="number")k=h.amount;let i=[];i.push(T),i.push(B),i.push(w.status??"已审批"),i.push(k??""),i.push(C.get("报销事由")??C.get("事由")??B),i.push(j);for(let U0 of H){let x=C.get(U0);if(x===void 0||x===null)i.push("");else if(typeof x==="object")if("amount"in x)i.push(x.amount);else i.push(JSON.stringify(x));else i.push(x)}let c=Q.get(T)??[];for(let U0 of K){let x=c.filter((d)=>d.sourceField===U0||K.size===1);if(x.length>0)i.push(x.map((d)=>d.zipPath).join(` +`));else i.push("")}q.addRow(i)}let V=vv1(z,Y);jv1(Rv1(V),{recursive:!0});let F=await I.xlsx.writeBuffer();process.stderr.write(`\uD83D\uDCE6 正在压缩生成 Webhook 资源包: ${V}... +`),await new Promise((w,O)=>{let N=Tv1(V),D=new Yl({zlib:{level:9}});N.on("close",()=>w()),D.on("error",(T)=>O(T)),D.pipe(N),D.append(Buffer.from(F),{name:"信息表.xlsx"});for(let T of Q.values())for(let A of T)D.append(A.buffer,{name:A.zipPath});D.finalize()});let M=Ev1(V);return{filePath:V,corpId:Y.id,corpName:Y.name,recordCount:U.length,attachmentCount:J,fileSizeBytes:M.size,exportedAt:new Date().toISOString(),nextAction:`seal-use webhook resource-pack push ${V} --corp `}}var DR0;var zl=o(()=>{OR0();X6();EP();DR0=J6(PZ(),1)});import{readFileSync as hv1}from"node:fs";function Sv1($){let Y=new URL($),z=Y.pathname.match(/\/webhook\/([^/]+)/);if(!z)throw Error("Webhook URL 必须包含 /webhook/{webhookId}/document");return{baseUrl:`${Y.protocol}//${Y.host}`,webhookId:z[1]}}function gv1($,Y){return Y.toLowerCase().endsWith(".zip")||$[0]===80&&$[1]===75&&!Y.toLowerCase().endsWith(".xlsx")}function yv1($,Y){if(!$.length)return;let z=new Set($.map((J)=>{let I=J.fileName.split("/")[0],K=I.indexOf("@");return K>=0?I.slice(0,K):I}).filter((J)=>J!=="信息表.xlsx")),U=[];for(let J of Y){let I=J.document.documentId;if((J.documentAttachments.length>0||Object.values(J.expenseAttachments).some((G)=>G.length>0)||Object.values(J.personAttachments).some((G)=>G.length>0))&&!z.has(I))U.push(`Excel 会议编号「${I}」声明了附件,但在 ZIP 中找不到对应的根目录「${I}/」或「${I}@.../」。`)}let Q=new Set(Y.map((J)=>J.document.documentId));for(let J of z)if(!Q.has(J))U.push(`ZIP 根目录对应的编号「${J}」在信息表中找不到对应的会议编号。`);if(U.length)throw new D5(U)}async function BR0($,Y,z){let U=[],Q=$;if(gv1($,Y)){U=await hP0($),gP0(U,z);let G=U.find((W)=>W.fileName==="信息表.xlsx");if(!G)throw Error("ZIP 根目录缺少信息表.xlsx");Q=await zd($,G)}let J=await iP0(Q);yv1(U,J);let I=cP0(U,J),K=J.map((G)=>G.document);return{entries:U,parsed:J,plans:I,documents:K,fileBuffer:$}}async function CU($,Y,z){let U=await BR0($,Y,z),Q=U.parsed.map((J,I)=>Gd(J.document,U.plans[I],new Map));return{warnings:[],documents:Q,attachmentPlan:U.plans}}async function sA($,Y,z){let U=await BR0($,Y,z.materialPackFilePolicy),{baseUrl:Q,webhookId:J}=Sv1(z.webhookUrl),I=[];for(let K=0;KA.fileName===F);if(!M)continue;process.stderr.write(`⬆ 上传附件: ${F} +`);let w=new FormData,O=await zd(U.fileBuffer,M),N=F.split("/").pop()??F;w.append("files",new File([new Uint8Array(O)],N));let D=await fetch(`${Q}/api/v1/integrations/webhook/${encodeURIComponent(J)}/attachments`,{method:"POST",headers:{...z.customHeaders??{},...EZ({},z.secret)},body:w});if(!D.ok)throw Error(`附件上传失败 ${D.status}: ${await D.text()}`);let T=await D.json();H.set(F,T.attachments?.map((A)=>A.data)??(T.data===void 0?[]:[T.data])),process.stderr.write(`✓ 附件上传成功: ${F} `)}process.stderr.write(`\uD83D\uDCE4 推送单据: ${G.document.documentId} -`);let Z=Gd(G.document,W,H),q=await fetch(`${Q}/api/v1/integrations/webhook/${encodeURIComponent(J)}/document`,{method:"POST",headers:{...z.customHeaders??{},"Content-Type":"application/json",...jZ({webhookId:J,...Z},z.secret)},body:JSON.stringify(Z)});if(!q.ok)throw Error(`Webhook 单据推送失败 ${q.status}: ${await q.text()}`);I.push({documentId:Z.documentId,document:Z,pushResult:await q.json()}),process.stderr.write(`✓ 单据推送成功: ${Z.documentId} -`)}return{warnings:[],results:I}}function RU($){return{fileBuffer:_v1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}var Ul=o(()=>{gP();Wd();Kd();Ud();tI();zl()});import{existsSync as gv1}from"node:fs";async function rA($,Y,z={}){let Q=_4().stateful?"stateful":"stateless",J="ok",I,K,G;try{let N=await W8($);G={id:N.user.id,name:N.user.name,isAdmin:N.user.isAdmin},K={id:N.tenant.id,name:N.tenant.name,tenantSlug:N.tenant.tenantSlug,corporationName:N.tenant.hoseCorpConfig?.corporationName}}catch(N){J="error",I=N instanceof Error?N.message:String(N)}let W=[];if(J==="ok")try{W=await J$($,Y.seal.endpoints.approvalStylePreferences)}catch(N){J="error",I=`读取 Webhook 配置失败: ${N instanceof Error?N.message:String(N)}`}let H=W.length===1,X=W.map((N)=>({id:N.id,name:N.name,mode:N.mode,incomingDocumentWebhookUrl:N.incomingDocumentWebhook.url,outgoingResultWebhookUrl:N.outgoingResultWebhook,autoApprovalRate:N.autoApprovalRate,...H?{isDefault:!0}:{}})),Z=H?{id:W[0].id,name:W[0].name,mode:W[0].mode}:null,q=z.webhook?v3(W,z.webhook):H?W[0]:void 0,V;if(z.filePath)if(!gv1(z.filePath))V={valid:!1,filePath:z.filePath,fileName:z.filePath.split(/[\\/]/).pop()??z.filePath,documentCount:0,errors:[`文件不存在: ${z.filePath}`]};else try{let N=RU(z.filePath),A=await CU(N.fileBuffer,N.fileName,q?.materialPackFilePolicy);V={valid:!0,filePath:z.filePath,fileName:N.fileName,documentCount:A.documents.length,warnings:A.warnings}}catch(N){V={valid:!1,filePath:z.filePath,fileName:z.filePath.split(/[\\/]/).pop()??z.filePath,documentCount:0,errors:[N instanceof Error?N.message:String(N)]}}let F=V?V.valid:!0,M=J==="ok"&&X.length>0&&F,w=Q==="stateful"?"":` --corp ${Y.id}`,O="",D="";if(J!=="ok")D=`凭证鉴权异常: ${I}`,O=`seal-use auth diagnose${w}`;else if(X.length===0)D="当前企业尚未配置任何 Webhook 集成通道",O=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${w}`;else if(V&&!V.valid)D=`资源包预检失败: ${V.errors?.join("; ")}`,O=`seal-use webhook resource-pack preview ${V.filePath}${w}`;else{D=H?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${X.length} 个 Webhook 通道,等待载入`;let N=V?.filePath??"<资源包.zip>",A=H?"":` --webhook ${Z?Z.id:""}`;O=`seal-use webhook resource-pack push ${N}${A}${w}`}return{ready:M,corp:{id:Y.id,name:Y.name,sourceType:Y.source.type,tenant:K,user:G},stateMode:Q,authStatus:J,authError:I,activeWebhooks:X,defaultWebhook:Z,resourcePack:V,materialPack:V,statusMessage:D,nextAction:O}}var PR0=o(()=>{h7();X6();Ul()});var Ql=o(()=>{tI();pQ();gP();Ud();Kd();Wd();Ul();PR0();zl()});import{existsSync as AR0,mkdirSync as TR0,statSync as yv1}from"node:fs";import{homedir as kv1}from"node:os";import{dirname as xv1,resolve as sA}from"node:path";function fv1($){if($.outputFile){let I=sA($.outputFile),K=xv1(I);if(!AR0(K))TR0(K,{recursive:!0});return I}let z=($.corpName||$.corpId||"企业").replace(/[/\\?%*:|"<>]/g,"_").trim()||"企业",U=$.dateTag||new Date().toISOString().slice(0,10),Q=`${z}_智能洞察报告_${U}.xlsx`,J;if($.toDownloads)J=sA(kv1(),"Downloads");else J=sA(process.cwd(),"exports");if(!AR0(J))TR0(J,{recursive:!0});return sA(J,Q)}async function aA($,Y,z={}){let U=Y.name||Y.id,Q=xn({startDate:z.startDate,endDate:z.endDate,force:z.force}),J=new Date().toISOString(),[I,K]=await Promise.all([qM($,{startDate:Q.startDateStr,endDate:Q.endDateStr,limit:z.limit??100}),LM($,{startDate:Q.startDateStr,endDate:Q.endDateStr}).catch(()=>({metrics:{},sankeyData:{nodes:[],links:[]}}))]),G=I.tagStats||[],W=[],H=Math.min(G.length,z.limit??50);for(let C=0;C{k.border=V,k.font={name:"Microsoft YaHei",size:10},k.alignment={vertical:"middle"}})}let O=K.sankeyData?.links||[];if(O.length>0){F.addRow({});let C=F.addRow(["决策流向","流向阶段 (起点)","走向阶段 (终点)","流转单据数","占比/流向说明"]);C.height=24,C.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FF0F172A"}},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFE2E8F0"}},C.eachCell((b)=>{b.border=V,b.alignment={vertical:"middle",horizontal:"center"}});for(let b of O){let k=F.addRow({category:"决策流向",name:b.source,val:b.target,trend:b.value,desc:"流向连接"});k.height=20,k.eachCell((h)=>{h.border=V,h.font={name:"Microsoft YaHei",size:9},h.alignment={vertical:"middle"}})}}let D=X.addWorksheet("Top 风险标签分析",{views:[{showGridLines:!0}]});D.columns=[{header:"标签编号",key:"tagId",width:14},{header:"风险标签名称",key:"tagName",width:26},{header:"风险分类路径",key:"tagPath",width:44},{header:"风险出现次数",key:"count",width:16},{header:"严重错误数 (Error)",key:"errorCount",width:20},{header:"合规预警数 (Warning)",key:"warningCount",width:22},{header:"平均置信度",key:"avgConfidence",width:16}],D.getRow(1).height=28,D.getRow(1).font=q,D.getRow(1).fill=Z,D.getRow(1).alignment={vertical:"middle",horizontal:"center"};for(let C of G){let b=D.addRow({tagId:C.tagId||"-",tagName:C.tagName||"-",tagPath:C.tagPath||"-",count:C.count??0,errorCount:C.errorCount??0,warningCount:C.warningCount??0,avgConfidence:C.avgConfidence?`${Math.round(C.avgConfidence*100)}%`:"-"});b.height=22,b.eachCell((k,h)=>{if(k.border=V,k.font={name:"Microsoft YaHei",size:10},k.alignment={vertical:"middle",horizontal:[1,4,5,6,7].includes(h)?"center":"left"},h===5&&(C.errorCount??0)>0)k.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFDC2626"}},k.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};if(h===6&&(C.warningCount??0)>0)k.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFD97706"}},k.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let N=X.addWorksheet("风险单据穿透明细",{views:[{showGridLines:!0}]});N.columns=[{header:"序号",key:"idx",width:8},{header:"风险标签",key:"tag",width:24},{header:"关联单据流水号",key:"documentSN",width:20},{header:"单据类型",key:"documentType",width:16},{header:"风险等级",key:"riskLevel",width:14},{header:"置信度",key:"confidence",width:12},{header:"风险具体描述",key:"riskDetails",width:48},{header:"AI 审核判断依据",key:"reasoning",width:48},{header:"单据链接",key:"sourceDocumentURL",width:30},{header:"发现时间",key:"createdAt",width:22}],N.getRow(1).height=28,N.getRow(1).font=q,N.getRow(1).fill=Z,N.getRow(1).alignment={vertical:"middle",horizontal:"center"};let A=1;for(let C of W){let b="-";if(C.createdAt){let h=new Date(C.createdAt);if(!isNaN(h.getTime()))b=h.toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1})}let k=N.addRow({idx:A++,tag:`${C.tagName} (${C.tagId})`,documentSN:C.documentSN,documentType:C.documentType,riskLevel:C.riskLevel==="error"?"严重错误":"合规预警",confidence:`${Math.round(C.confidence*100)}%`,riskDetails:C.riskDetails,reasoning:C.reasoning,sourceDocumentURL:C.sourceDocumentURL||"-",createdAt:b});k.height=36,k.eachCell((h,i)=>{if(h.border=V,h.font={name:"Microsoft YaHei",size:9},h.alignment={vertical:"middle",horizontal:[1,3,4,5,6,10].includes(i)?"center":"left",wrapText:[7,8].includes(i)},i===5)if(C.riskLevel==="error")h.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFDC2626"}},h.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else h.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFD97706"}},h.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let T=Q.dateTag,B=fv1({outputFile:z.outputFile,toDownloads:z.toDownloads,corpName:U,dateTag:T});await X.xlsx.writeFile(B),console.error(`智能洞察 Excel 报告已成功保存至: ${B}`);let j=yv1(B);return{filePath:B,corpId:Y.id,corpName:U,totalRisks:I.totalRisks??0,tagCount:G.length,riskDetailCount:W.length,fileSizeBytes:j.size,exportedAt:J}}var jR0;var Jl=o(()=>{X6();AP();jR0=J6(PZ(),1)});import{readFileSync as uv1}from"node:fs";import{randomBytes as bv1}from"node:crypto";function xR0($){return iv1.has($)}function M6($){return cv1.get($)}function Gq($,Y){return Y?$:{...$,secret:""}}function fR0($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return R3($,$.source);return $.source.sealUrl}function nv1($,Y){let z=$.rules.length;if(Y.countOnly||Y.limit===0)return{count:z};let U=Y.offset??0,Q=$.rules.slice(U,Y.limit===void 0?void 0:U+Y.limit),J=Y.fields;return{count:z,hasPendingDeletes:$.hasPendingDeletes,rules:J?Q.map((I)=>pv1(I,J)):Q}}function pv1($,Y){let z={};for(let U of Y)if($[U]!==void 0)z[U]=$[U];return z}function dv1($,Y){let z=new Map($.map((K)=>[K.id,K])),U=new Set,Q=[],J=[],I=[];for(let K of Y){let G;if(K.id){if(G=z.get(K.id),!G)throw Error(`本地规则 ${K.id} 不存在于当前草稿。请先用 rules pull 获取当前草稿,再重新应用修改。`);if(U.has(K.id))throw Error(`本地规则文件包含重复的规则 ID:${K.id}`)}else{let H=$.filter((X)=>!U.has(X.id)&&mv1(X,K));if(H.length>1)throw Error(`本地规则“${K.description}”无法唯一匹配远端草稿,请在规则文件中补充稳定的 id。`);G=H[0]}if(!G){Q.push(K);continue}U.add(G.id);let W=lv1(G,K);if(W.length)J.push({id:G.id,rule:K,changedFields:W});else I.push({id:G.id})}return{created:Q,updated:J,deleted:$.filter((K)=>!U.has(K.id)),unchanged:I}}function mv1($,Y){return $.description===Y.description.trim()&&$.scope===(Y.scope??"ALL")&&$.strictness===YT(Y.strictness)}function lv1($,Y){let z=[];if($.description!==Y.description.trim())z.push("description");if($.scope!==(Y.scope??"ALL"))z.push("scope");if($.strictness!==YT(Y.strictness))z.push("strictness");return z}function YT($){let Y=$?.toUpperCase()??"MUST_FOLLOW";if(Y.includes("SHOULD"))return"SHOULD_FOLLOW";if(Y.includes("SUGGEST"))return"SUGGESTION";return"MUST_FOLLOW"}function ER0($){let Y=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!Y||!Y[1])return 600000;let z=parseFloat(Y[1]);switch((Y[2]??"s").toLowerCase()){case"ms":return z;case"s":return z*1000;case"m":return z*60*1000;case"h":return z*3600*1000;case"d":return z*86400*1000;default:return z*1000}}function tA($){return Object.fromEntries(Object.entries($).map(([Y,z])=>[Y,["apiKey","apiSecret","secret"].includes(Y)&&typeof z==="string"?"***":z]))}function C9($,Y,z,U,Q){return{preview:!0,targetUrl:`${fR0($.corp).replace(/\/+$/,"")}/${Y.replace(/^\/+/,"")}`,changesDiff:{before:zT(z),after:zT(U)},impactCount:Q}}function zT($){if(Array.isArray($))return $.map(zT);if(!$||typeof $!=="object")return $;return Object.fromEntries(Object.entries($).map(([Y,z])=>[Y,["apiKey","apiSecret","secret","token","password"].includes(Y)&&typeof z==="string"?"***":zT(z)]))}function ov1($){let Y=$.sourceSystem??$.mode??"hosecloud",z={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},U=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((Q)=>Q.trim()).filter(Boolean):$.documentSn);if(Y==="hosecloud"){if(!U?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(z,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),U?.length)z.flowIds=U;if($.signKey)z.signKey=$.signKey;if($.startTime!==void 0)z.startTime=$.startTime;if($.endTime!==void 0)z.endTime=$.endTime;if($.status)z.status=$.status;if($.limit)z.limit=$.limit}else if(Y==="material_pack"||Y==="material-pack"){let Q=$.packageIds??($.packageId?[$.packageId]:void 0);if(!Q?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let J=$.templateId??$.schemaConfig?.id;if(!J)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(z,{templateId:J,packageIds:Q,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)z.schemaConfig=$.schemaConfig}else if(Y==="weaver")Object.assign(z,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(Y==="helios")Object.assign(z,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(Y==="maycur"||Y==="maycur-standard")Object.assign(z,{sourceSystem:Y,formCodes:$.formCodes??U,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(Y==="feishu")Object.assign(z,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(z,{sourceSystem:Y});if($.rawParams)Object.assign(z,$.rawParams);return z}function rv1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function _U($){let Y=$.sourceDocumentSN,z=vU($),U=JT($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:Y,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:Y?`hosecloud-${Y}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:z?.value,humanResultPath:z?.path,aiDecision:U.decision,aiSummary:U.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function sv1($,Y){return{date:Y.date,timezone:Y.timezone,fetched:Y.fetched,matched:$.length,total:Y.total,statusCounts:gR0($,(z)=>z.status??"unknown"),taskModeCounts:gR0($,(z)=>z.taskMode??"unknown"),records:$.map((z)=>{let U=_U(z);return{createdAt:kR0(U.createdAt,Y.timezone),sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,status:U.status,taskMode:U.taskMode,finalExecutionMode:U.finalExecutionMode,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:kR0(U.ruleSetPublishedAt,Y.timezone),ruleSetPublishedByName:U.ruleSetPublishedByName,humanResult:U.humanResult,humanResultPath:U.humanResultPath,recordId:U.id}})}}function CR0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((z)=>z.trim()).filter(Boolean)}function uR0($,Y){let z={};for(let U of Y){if(U==="metadata"){z.metadata=bR0($);continue}let Q=c7($,U);if(Q!==void 0)ev1(z,U,Q)}return z}function bR0($){let Y=_U($);return{recordId:Y.id,tenantId:Y.tenantId,agentId:Y.agentId,sourceSystem:Y.sourceSystem,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,documentId:Y.documentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:Y.ruleSetPublishedAt,ruleSetPublishedByName:Y.ruleSetPublishedByName,createdAt:Y.createdAt,updatedAt:Y.updatedAt}}function av1($){return{metadata:bR0($),document:iR0($).document,aiResult:JT($),manualResult:vU($)?.value,manualResultPath:vU($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function JT($){let Y=Hq($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:UT(Y,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:UT(Y,["summary","result.summary","review.summary","conclusion"]),riskPointCount:RR0(Y,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:RR0(Y,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function iR0($){let Y=Hq($.document),z=Yh1($.document),U=z.map((Q)=>`${Q.label??Q.path??""}:${Q.value??""}`).join(` -`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:_K({id:Y?.id,sn:Y?.sn??Y?.sourceDocumentSN??$.sourceDocumentSN,title:Y?.title??Y?.name,template:UT(Y,["template.name","templateName","form.name","formName","formTitle"]),amount:eA(z,["金额","报销金额","付款金额","合计","价税合计"])??UT(Y,["amount","totalAmount","expenseAmount"]),expenseType:eA(z,["费用类型","费用类别","报销类型"]),costCompany:eA(z,["费用承担公司","承担公司","成本中心","费用归属"]),payee:eA(z,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:z.slice(0,30)}),invoices:zh1($),attachments:k2($,{summary:!0}).attachments,aiResult:JT($),manualResult:vU($)?.value,hints:_K({amountMentions:_R0(U,["金额","合计","税率"],8),partyMentions:_R0(U,["买方","卖方","甲方","乙方","收款"],8)})}}function tv1($){let Y=[["result.citedRules",c7($,"result.citedRules")],["result.matchedRules",c7($,"result.matchedRules")],["result.ruleResults",c7($,"result.ruleResults")],["result.rules",c7($,"result.rules")],["pipelineData.citedRules",c7($,"pipelineData.citedRules")],["pipelineData.matchedRules",c7($,"pipelineData.matchedRules")]],z=[],U=new Set;for(let[Q,J]of Y)(Array.isArray(J)?J:J&&typeof J==="object"?Object.values(J):[]).forEach((K,G)=>{let W=Hq(K);if(!W)return;let H=S4(W.runtimeRuleId)??S4(W.runtimeId)??S4(W.id)??S4(W.ruleId),X=S4(W.ruleCode)??S4(W.code)??(H?Jh1(H):void 0),Z=_K({runtimeRuleId:H,ruleCode:X,versionNumber:$h1(W.versionNumber)??$.ruleSetVersionNumber,scope:S4(W.scope),strictness:S4(W.strictness),appliedAnalysis:W.appliedAnalysis??W.analysis??W.reasoning,checkResult:W.checkResult??W.result??W.decision,findings:W.findings??W.riskPoints??W.evidence,sourcePath:`${Q}.${G}`}),q=JSON.stringify(Z);if(!U.has(q))U.add(q),z.push(Z)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:z.length,rules:z}}function UT($,Y){if(!$)return;for(let z of Y){let U=c7($,z);if(U!==void 0)return U}return}function RR0($,Y){if(!$)return 0;for(let z of Y){let U=c7($,z);if(Array.isArray(U))return U.length;if(U&&typeof U==="object")return Object.keys(U).length;if(typeof U==="number")return U}return 0}function c7($,Y){return Y.split(".").reduce((z,U)=>{if(z===void 0||z===null)return;if(Array.isArray(z)){let Q=Number(U);return Number.isInteger(Q)?z[Q]:void 0}if(typeof z==="object")return z[U];return},$)}function ev1($,Y,z){let U=Y.split("."),Q=$;for(let J of U.slice(0,-1)){let I=Q[J];if(!I||typeof I!=="object"||Array.isArray(I))Q[J]={};Q=Q[J]}Q[U[U.length-1]??Y]=z}function _K($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function Hq($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function $h1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Yh1($){let Y=[];return Gl($,"document",Y),Y}function Gl($,Y,z){if(Array.isArray($)){$.forEach((I,K)=>Gl(I,`${Y}.${K}`,z));return}let U=Hq($);if(!U)return;let Q=S4(U.label)??S4(U.name)??S4(U.title)??S4(U.fieldName),J=U.value??U.displayValue??U.text??U.content;if(Q&&J!==void 0&&typeof J!=="object")z.push(_K({path:Y,label:Q,value:J,type:S4(U.type)??S4(U.fieldType)}));for(let[I,K]of Object.entries(U)){if(I==="attachments")continue;Gl(K,`${Y}.${I}`,z)}}function eA($,Y){return $.find((U)=>{let Q=S4(U.label)??"";return Y.some((J)=>Q.includes(J))})?.value}function zh1($){let Y=[];return QT($.result,"result",Y),QT($.document,"document",Y),Y.slice(0,20)}function QT($,Y,z){if(Array.isArray($)){$.forEach((Q,J)=>QT(Q,`${Y}.${J}`,z));return}let U=Hq($);if(!U)return;if(/invoice|发票/i.test(Y))z.push(_K({path:Y,fileName:S4(U.fileName)??S4(U.filename)??S4(U.name),buyer:U.buyer??U.buyerName??U.purchaserName,seller:U.seller??U.sellerName,amount:U.amount??U.totalAmount??U.total,taxRate:U.taxRate,category:U.category??U.type}));for(let[Q,J]of Object.entries(U))QT(J,`${Y}.${Q}`,z)}function _R0($,Y,z){return $.split(/\r?\n/).filter((U)=>Y.some((Q)=>U.includes(Q))).slice(0,z)}function $T($){return $.map((Y)=>{let z=_U(Y);return{recordId:z.id,tenantId:z.tenantId,agentId:z.agentId,sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,simulationBatchId:z.simulationBatchId,langfuseTraceId:z.langfuseTraceId,langfuseSessionFallback:z.langfuseSessionFallback,ruleSetVersionNumber:z.ruleSetVersionNumber,ruleSetPublishedAt:z.ruleSetPublishedAt,ruleSetPublishedByName:z.ruleSetPublishedByName,resolution:z.langfuseTraceId?"trace":z.langfuseSessionFallback?"session-fallback":"unresolved"}})}function Il($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function Uh1($,Y){if(Y.recordId&&!Y.versionId&&!Y.versionNumber&&!Y.latest){let z=await G4($,Y.recordId);if(!z.ruleSetVersionNumber)throw Error(`Approval run ${Y.recordId} has no ruleSetVersionNumber`);return Wl($,{versionNumber:z.ruleSetVersionNumber})}return Wl($,Y)}function Qh1($,Y){let z=Kl(Y.code),U=cR0(Y.runtimeId),Q=z?Number(z.slice(1)):U;if(!Q||Q<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let J=$.rules.find((G,W)=>{let H=G;return Kl(S4(H.code)??S4(H.ruleCode))===z||W+1===Q});if(!J)return;let I=J,K=$.rules.indexOf(J)+1;return _K({runtimeRuleId:S4(I.runtimeRuleId)??`rule-${K}`,ruleCode:Kl(S4(I.code)??S4(I.ruleCode))??ql(K),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:J.description,scope:J.scope,strictness:J.strictness,status:S4(I.status)})}function Kl($){if(!$)return;let Y=$.match(/\d+/)?.[0];return Y?ql(Number(Y)):$}function cR0($){if(!$)return;let Y=$.match(/(\d+)$/);return Y?Number(Y[1]):void 0}function Jh1($){let Y=cR0($);return Y?ql(Y):void 0}function ql($){return`#${String($).padStart(4,"0")}`}function Ih1($,Y){let z=_U($),U={recordId:z.id,sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,simulationBatchId:z.simulationBatchId,status:z.status,taskMode:z.taskMode,ruleSetVersionNumber:z.ruleSetVersionNumber,langfuseTraceId:z.langfuseTraceId,manualResult:z.humanResult,aiDecision:z.aiDecision,aiSummary:z.aiSummary,createdAt:z.createdAt};if(Y.length===0)return U;return uR0(U,Y)}async function Kh1($,Y){if(Y.recordId)return G4($,Y.recordId);let U=(await b4($,{limit:1,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records[0];if(!U){let Q=Y.sourceDocumentSN?`sourceDocumentSN ${Y.sourceDocumentSN}`:`sourceDocumentId ${Y.sourceDocumentId}`;throw Error(`Approval run not found for ${Q}`)}return G4($,U.id)}function Gh1($){if($.seal?.url)return $.seal.url.replace(/\/+$/,"");if($.source.type==="hose")return R3($,$.source).replace(/\/+$/,"");if("sealUrl"in $.source&&typeof $.source.sealUrl==="string"&&$.source.sealUrl)return $.source.sealUrl.replace(/\/+$/,"");return`https://${$.id.toLowerCase()}.sealai.cc`}function Wh1($){return $.replace(/\/+$/,"")}function S4($){return typeof $==="string"&&$.trim()?$:void 0}async function Hh1($,Y){let z=Math.min(100,Math.max(Y.limit,20)),U=[],Q,J=0;while(J!Y.sn||G.sourceDocumentSN===Y.sn).filter((G)=>!Y.batchId||G.sourceExtendData?.simulation_batch_id===Y.batchId);if(U.push(...K),I.records.length===0||Q!==void 0&&J>=Q)break}return U.sort((I,K)=>vR0(K.createdAt)-vR0(I.createdAt)),{total:Q,scanned:J,records:U.slice(0,Y.latest?1:Y.limit)}}function vR0($){if(typeof $==="number")return $;if(typeof $==="string"){let Y=Date.parse($);return Number.isFinite(Y)?Y:0}return 0}async function Wl($,Y){if(Y.versionId)return RW($,Y.versionId);let z=await A$($),U=Y.versionNumber?z.find((Q)=>Q.versionNumber===Y.versionNumber):z[0];if(!U)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return U}function Vl($,Y){let z=Y?.trim().toLowerCase();if(!z)return $;return $.filter((U)=>{return[U.id,U.sourceDocumentSN,U.sourceDocumentId,U.documentId,U.sourceExtendData?._langfuseTraceId,U.sourceExtendData?.simulation_batch_id,U.status,U.taskMode,U.finalExecutionMode,U.sourceSystem,U.ruleSetVersionNumber,U.ruleSetPublishedByName].some((J)=>Hl(J,z))||Xl(U,z)})}function Hl($,Y){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(Y);return!1}function Xl($,Y,z=0){if(z>6)return!1;if(Hl($,Y))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((U)=>Xl(U,Y,z+1));return Object.entries($).some(([U,Q])=>Hl(U,Y)||Xl(Q,Y,z+1))}function Xh1($,Y){let z=Y?.trim().toLowerCase();if(!z)return $;return $.filter((U)=>vU(U)?.value.toLowerCase().includes(z))}function Zh1($){return{...$,manualApprovalStatus:nR0($.manualApprovalStatus,$.humanResult)}}function nR0($,Y){if($)return $;let z=Y?.trim().toLowerCase();if(!z)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(z))return"TERMINATED";return}async function hR0($,Y,z){let U=Vl(Y,z.query);if(!z.humanResult?.trim())return U;let Q=await Promise.all(U.map(async(J)=>{if(vU(J))return J;try{return await G4($,J.id)}catch{return J}}));return Xh1(Q,z.humanResult)}function qh1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function vU($){let Y=[["result",$.result],["pipelineData",$.pipelineData]];for(let[z,U]of Y){let Q=Zl(U,z);if(Q)return Q}return}function Zl($,Y,z=0){if(z>8||$===null||$===void 0)return;if(Array.isArray($)){for(let U=0;U<$.length;U+=1){let Q=Zl($[U],`${Y}[${U}]`,z+1);if(Q)return Q}return}if(typeof $!=="object")return;for(let[U,Q]of Object.entries($)){let J=`${Y}.${U}`,I=Zl(Q,J,z+1);if(I)return I;if(SR0(U)||SR0(J)){let K=pR0(Q);if(K)return{value:K,path:J}}}return}function SR0($){let Y=$.toLowerCase(),z=Y.includes("human")||Y.includes("manual")||Y.includes("reviewer")||Y.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),U=Y.includes("result")||Y.includes("decision")||Y.includes("outcome")||Y.includes("conclusion")||Y.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return z&&U}function pR0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let Y=$;for(let z of["label","name","text","value","result","decision","outcome","status","action"]){let U=pR0(Y[z]);if(U)return U}return}function Vh1($,Y){if(Y.recordId&&$.id!==Y.recordId)return!1;if(Y.sourceDocumentSN&&$.sourceDocumentSN!==Y.sourceDocumentSN)return!1;if(Y.sourceDocumentId&&$.sourceDocumentId!==Y.sourceDocumentId)return!1;return!0}function gR0($,Y){return $.reduce((z,U)=>{let Q=Y(U);return z[Q]=(z[Q]??0)+1,z},{})}function yR0($,Y){let z=dR0($);if(!z)return;let U=mR0(z,Y),Q=U.year,J=(U.month??"01").padStart(2,"0"),I=(U.day??"01").padStart(2,"0");return`${Q}-${J}-${I}`}function kR0($,Y){let z=dR0($);if(!z)return;let U=mR0(z,Y),Q=(U.month??"01").padStart(2,"0"),J=(U.day??"01").padStart(2,"0"),I=(U.hour??"00").padStart(2,"0"),K=(U.minute??"00").padStart(2,"0"),G=(U.second??"00").padStart(2,"0");return`${U.year??"0000"}-${Q}-${J} ${I}:${K}:${G}`}function dR0($){if($===void 0)return null;let Y=new Date($);return Number.isNaN(Y.getTime())?null:Y}function mR0($,Y){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:Y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((z)=>z.type!=="literal").map((z)=>[z.type,z.value]))}var Wq,iv1,cv1;var Xq=o(()=>{B$();X6();s9();h7();i8();QB0();CZ();Hp();DB0();Ql();pQ();jP();AP();gn();Jl();bS();Wq=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:L.object({}),handler:async($)=>W8($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:L.object({}),handler:async($)=>U10($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:L.object({}),handler:async($)=>T10($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:L.object({note:L.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,Y)=>dQ($,Y)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:L.object({tokenId:L.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,Y)=>j10($,Y.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:L.object({name:L.string().describe("用户姓名"),phone:L.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:L.array(L.string()).optional().describe("权限列表,默认为 []"),departmentIds:L.array(L.string()).optional().describe("关联部门 ID 数组")}),handler:async($,Y)=>E10($,Y)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>lS($,Y.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>YM($,Y.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:L.object({keyword:L.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,Y)=>zM($,Y.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>f10($,Y.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>rS($,Y.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:L.object({userIdOrPhone:L.string().describe("目标用户 ID、手机号或姓名"),note:L.string().optional().describe("授权链接备注信息")}),handler:async($,Y,z)=>u10($,Y,(U)=>RS(z.corp,U),z.corp)},{name:"seal_contacts_departments_root_list",description:"列出当前 Seal 租户通讯录的顶级部门",parameters:L.object({}),handler:async($)=>C10($)},{name:"seal_contacts_department_get",description:"获取指定通讯录部门的详细信息",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>R10($,Y.departmentId)},{name:"seal_contacts_department_children_list",description:"列出指定通讯录部门的直接子部门",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>_10($,Y.departmentId)},{name:"seal_contacts_department_users_list",description:"列出指定通讯录部门下的用户",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>v10($,Y.departmentId)},{name:"seal_contacts_last_sync_time_get",description:"查询通讯录最后同步时间",parameters:L.object({}),handler:async($)=>h10($)},{name:"seal_insight_stats_get",description:"查询智能洞察风险标签统计及分析状态",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)"),limit:L.number().int().positive().max(100).optional().describe("最多返回的风险标签数量")}),handler:async($,Y)=>qM($,Y)},{name:"seal_insight_risks_by_tag_get",description:"按风险标签查询智能洞察风险单据明细及 AI 分析依据",parameters:L.object({tagId:L.string().describe("风险标签 ID(如 B.1.1、B.1.6)"),startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)")}),handler:async($,Y)=>VM($,Y)},{name:"seal_insight_performance_get",description:"查询智能洞察审核效能指标(自动化率、准确率等)及决策流向桑基图",parameters:L.object({startDate:L.union([L.string(),L.number()]).optional().describe("统计开始时间(ISO 8601 或毫秒时间戳)"),endDate:L.union([L.string(),L.number()]).optional().describe("统计结束时间(ISO 8601 或毫秒时间戳)")}),handler:async($,Y)=>LM($,Y)},{name:"seal_insight_record_analyze",description:"对指定的审批单运行记录按需触发智能洞察风险分析",parameters:L.object({recordId:L.string().describe("审批单运行记录 ID (recordId)")}),handler:async($,Y)=>S10($,Y.recordId)},{name:"seal_insight_export",description:"导出智能洞察风险研报为高保真 Excel 文件(含效能概览、Top风险标签、风险单据穿透明细)",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601 或时间戳)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601 或时间戳)"),limit:L.number().int().positive().optional().describe("最多下钻分析的风险标签数量"),outputFile:L.string().optional().describe("自定义 Excel 保存路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录"),force:L.boolean().optional().describe("时间跨度超过 180 天时是否强制导出")}),handler:async($,Y,z)=>aA($,z.corp,Y)},{name:"seal_expenses_list",description:"分页查询费用明细",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索费用类型、描述或金额")}),handler:async($,Y)=>y10($,Y)},{name:"seal_invoices_list",description:"分页查询进项发票",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索发票号码或销售方")}),handler:async($,Y)=>k10($,Y)},{name:"seal_simulation_feishu_approval_definitions_list",description:"列出飞书模拟测试可用的审批定义,便于选择 approvalCode",parameters:L.object({}),handler:async($)=>{let Y=await x10($);return{count:Y.length,approvalDefinitions:Y}}},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:L.object({}),handler:async($)=>b10($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:L.object({}),handler:async($)=>i10($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:L.object({}),handler:async($)=>c10($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:L.object({}),handler:async($)=>n10($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:L.object({}),handler:async($)=>bY($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:L.object({}),handler:async($)=>p10($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:L.object({}),handler:async($)=>d10($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;返回的 code 属于草稿编号体系,发布版本可能重新编码;支持 countOnly、fields、limit 以避免返回规则正文",parameters:L.object({countOnly:L.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:L.array(L.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:L.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:L.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,Y)=>{let z=await n6($);return nv1(z,Y)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:L.object({dryRun:L.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:L.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,Y,z)=>{let U=await n6($);if(Y.dryRun)return{...C9(z,"api/v1/rules",U.rules,[],U.rules.length),corpId:z.corp.id,corpName:z.corp.name,dryRun:!0,beforeCount:U.rules.length,deleted:0,afterCount:U.rules.length,hasPendingDeletes:U.hasPendingDeletes};let Q=[],J=0;for(let W of U.rules)try{await mQ($,W.id),J+=1}catch(H){Q.push({ruleId:W.id,error:H instanceof Error?H.message:String(H)})}let I=[],K;if(J>0&&Y.recode!==!1){if(K=await QM($),K&&typeof K==="object"&&"ok"in K&&K.ok!==!0)I.push("batch-recode did not complete; current rules were still deleted")}let G=await n6($);return{corpId:z.corp.id,corpName:z.corp.name,dryRun:!1,beforeCount:U.rules.length,deleted:J,failed:Q,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:I,recode:K}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:L.object({description:L.string().describe("规则描述"),scope:L.string().describe("适用场景"),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,Y)=>CW($,Y)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID"),description:L.string().optional(),scope:L.string().optional(),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,Y)=>{let{ruleId:z,...U}=Y,Q=await iS($,z,U);if(Y.description)try{let J=_4();if(J.lint?.enabled){let I=await Kp(J.lint.activeLinter),K=await Wp({id:z,description:Y.description},I);if(K.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${K.score}/100 (发现 ${K.issues.length} 处潜在风险):`);for(let G of K.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return Q}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID")}),handler:async($,Y)=>{return await mQ($,Y.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:L.object({}),handler:async($)=>{let Y=await A$($);return{count:Y.length,latest:Y[0]?Il(Y[0]):void 0,versions:Y.map(Il)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,Y)=>{if(Y.versionId)return RW($,Y.versionId);let z=await A$($),U=Y.versionNumber?z.find((Q)=>Q.versionNumber===Y.versionNumber):z[0];if(!U)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return U}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:L.object({versionName:L.string().describe("版本名称")}),handler:async($,Y)=>_W($,Y.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则;code 只在选定的版本编号体系内有效,避免拉取整版规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时取最新版本"),code:L.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:L.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:L.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,Y)=>{let z=await Uh1($,Y),U=Qh1(z,{code:Y.code,runtimeId:Y.runtimeId});if(!U)throw Error(`Rule not found in version ${z.versionNumber}`);return U}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:L.object({file:L.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:L.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:L.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:L.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:L.string().optional().describe("按规则 ID 过滤"),minScore:L.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:L.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:L.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,Y,z)=>{let U=[],Q;if(Y.file){let W=Xp(Y.file);U=NB0(W.rules),Q=W.meta.versionNumber}else if(Y.version){let W=await A$($),H=Number(Y.version),X=isNaN(H)?Y.version==="latest"?W[0]:W.find((Z)=>Z.id===Y.version):W.find((Z)=>Z.versionNumber===H);if(!X)throw Error(`未找到指定的规则版本: ${Y.version}`);Q=X.versionNumber,U=(X.rules??[]).map((Z,q)=>({id:Z.id??Z.runtimeId,code:Z.code??`#${String(q+1).padStart(4,"0")}`,name:Z.name??Z.title,description:Z.description??"",scope:Z.scope,strictness:Z.strictness}))}else U=((await n6($)).rules??[]).map((H,X)=>({id:H.id,code:H.code??`#${String(X+1).padStart(4,"0")}`,name:H.name??H.title,description:H.description??"",scope:H.scope,strictness:H.strictness}));if(Y.code)U=U.filter((W)=>W.code===Y.code||W.code?.replace(/[#\s]/g,"")===Y.code?.replace(/[#\s]/g,""));if(Y.ruleId)U=U.filter((W)=>W.id===Y.ruleId||W.code===Y.ruleId);let J=_4(),I=Y.linter??J.lint?.activeLinter??"builtin",K=await Kp(I),G=await FB0(U,K,{corpId:z?.corp?.id,versionNumber:Q,allRules:U},{minScore:Y.minScore,level:Y.level,summary:Y.summary});if(Y.minScore&&G.overallScore{let U=Y.out??"./rules.local.json",Q=[],J="draft",I;if(Y.version){let G=await A$($),W=Number(Y.version),H=isNaN(W)?Y.version==="latest"?G[0]:G.find((X)=>X.id===Y.version):G.find((X)=>X.versionNumber===W);if(!H)throw Error(`未找到指定的规则版本: ${Y.version}`);I=H.versionNumber,J=`version:${I}`,Q=(H.rules??[]).map((X,Z)=>({code:X.code?Number(String(X.code).replace(/^#/,""))||Z+1:Z+1,name:X.name??X.title,description:X.description??"",scope:X.scope??"ALL",strictness:X.strictness??"MUST_FOLLOW"}))}else Q=((await n6($)).rules??[]).map((W,H)=>({id:W.id,code:W.code??H+1,name:W.name??W.title,description:W.description??"",scope:W.scope??"ALL",strictness:W.strictness??"MUST_FOLLOW",status:W.status}));return{saved:!0,path:OB0(U,{corpId:z.corp.id,source:J,versionNumber:I,exportedAt:new Date().toISOString(),rulesCount:Q.length,rules:Q}),rulesCount:Q.length,corpId:z.corp.id,source:J,versionNumber:I}}},{name:"seal_approval_rules_push",description:"将本地规则文件增量同步到远端草稿;按规则 ID 更新/删除并保留未变更规则,支持直接发布为正式版本",parameters:L.object({file:L.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:L.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:L.boolean().optional().describe("确认覆盖写入远端草稿"),publish:L.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:L.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,Y,z)=>{let U=Y.file??"./rules.local.json",Q=Xp(U),J=Y.confirm===!0,I=Y.dryRun??!J,K=await n6($),G=dv1(K.rules,Q.rules);if(I)return{...C9(z,"api/v1/rules",K.rules,Q.rules.map((Z)=>({description:Z.description,scope:Z.scope??"ALL",strictness:Z.strictness??"MUST_FOLLOW"})),K.rules.length+Q.rules.length),corpId:z.corp.id,dryRun:!0,localFile:Q.resolvedPath,localRulesCount:Q.rules.length,remoteDraftCount:K.rules.length,changes:G,impactCount:G.created.length+G.updated.length+G.deleted.length,preservedRuleIds:[...G.updated.map((Z)=>Z.id),...G.unchanged.map((Z)=>Z.id)],warning:"Incremental mode preserves matched rule IDs and does not recode the draft rule set.",willPublish:Boolean(Y.publish),message:"Preview mode. Use --yes or confirm=true to apply the listed incremental changes to the remote draft."};for(let Z of G.deleted)await mQ($,Z.id);let W=[];for(let Z of G.created){let q=await CW($,{description:Z.description,scope:Z.scope??"ALL",strictness:YT(Z.strictness)});W.push({id:q.id,description:q.description,code:q.code})}let H=[];for(let Z of G.updated)await iS($,Z.id,{description:Z.rule.description,scope:Z.rule.scope??"ALL",strictness:YT(Z.rule.strictness)}),H.push(Z.id);let X=void 0;if(Y.publish){let Z=new Date().toISOString().slice(0,10).replace(/-/g,""),q=Y.versionName||`v-local-${Z}-${Date.now().toString().slice(-4)}`;X=await _W($,q)}return{corpId:z.corp.id,dryRun:!1,localFile:Q.resolvedPath,deletedRules:G.deleted.length,createdRules:W.length,updatedRules:H.length,unchangedRules:G.unchanged.length,preservedRuleIds:[...H,...G.unchanged.map((Z)=>Z.id)],recoded:!1,published:X??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:L.object({scenarios:L.array(L.string()).optional().describe("场景过滤"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().optional()}),handler:async($,Y)=>_3($,Y)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:L.object({documentId:L.string().describe("文档 ID")}),handler:async($,Y)=>Q10($,Y.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:L.object({title:L.string(),purpose:L.string(),content:L.string().describe("正文,通常为 Markdown"),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>JM($,Y)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:L.object({documentId:L.string(),title:L.string().optional(),purpose:L.string().optional(),content:L.string().optional(),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>{let{documentId:z,...U}=Y;return IM($,z,U)}},{name:"seal_approval_delete_document",description:"删除 Seal 审批知识文档",parameters:L.object({documentId:L.string().describe("知识文档 ID")}),handler:($,Y)=>KM($,Y.documentId)},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:L.object({keywords:L.array(L.string()).min(1).describe("关键词组"),matchMode:L.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:L.array(L.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:L.boolean().optional().describe("是否大小写敏感"),contextLines:L.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:L.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:L.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:L.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:L.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:L.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:L.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:L.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:L.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:L.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:L.array(L.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,Y,z)=>UB0($,z.corp,Y)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:L.object({documentLimit:L.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:L.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:L.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:L.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,Y,z)=>{let U=await XM($,{documentLimit:Y.documentLimit,stylePreferencesEndpoint:z.corp.seal.endpoints.approvalStylePreferences});if(!Y.ruleVersionId&&!Y.ruleVersionNumber&&!Y.latestRuleVersion)return U;let Q=await Wl($,Y);return{...U,rules:{version:Il(Q),rules:Q.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:L.object({}),handler:async($,Y,z)=>o1($,z.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:L.object({tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).optional(),prohibitedPhrases:L.array(L.string()).optional(),customInstructions:L.string().optional()}),handler:async($,Y,z)=>d5($,Y,z.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:L.object({query:L.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,z)=>{let U=H10(await J$($,z.corp.seal.endpoints.approvalStylePreferences),Y.query);return{count:U.length,integrations:U.map((Q)=>Gq(Q,Y.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,z)=>{let U=v3(await J$($,z.corp.seal.endpoints.approvalStylePreferences),Y.selector);return Gq(U,Y.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({name:L.string().min(1).describe("集成名称"),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:SS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=fR0(z.corp),Q=Y.dryRun?await J10($,U,Y,z.corp.seal.endpoints.approvalStylePreferences):void 0,J=Q?.integration??await GM($,U,Y,z.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,Q.before,Q.after,1);return{saved:!0,integration:Gq(J,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),name:L.string().min(1).optional(),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().optional(),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional(),rotateSecret:L.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:SS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{if(Y.secret!==void 0&&Y.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let U=Y.dryRun?await K10($,Y.selector,Y,z.corp.seal.endpoints.approvalStylePreferences):void 0,Q=U?.integration??await I10($,Y.selector,Y,z.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,U.before,U.after,1);return{saved:!0,integration:Gq(Q,Y.secret!==void 0||Y.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:L.boolean().optional().describe("执行删除时必须明确传 true;dryRun 可省略"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行删除")}),handler:async($,Y,z)=>{if(!Y.confirm&&!Y.dryRun)throw Error("Refusing to delete Webhook integration without confirm=true");let U=Y.dryRun?await W10($,Y.selector,z.corp.seal.endpoints.approvalStylePreferences):void 0,Q=U?.integration??await G10($,Y.selector,z.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,U.before,U.after,1);return{deleted:!0,integration:Gq(Q,!1)}}},{name:"seal_webhook_replay",description:"将正式(生产)企业或指定企业的审批记录通过 Webhook 渠道重放到测试企业进行规则回归与模拟验证",parameters:L.object({recordId:L.string().optional().describe("待重放的单条审批记录 ID"),sn:L.string().optional().describe("待重放的单据编号 (sourceDocumentSN)"),sourceCorpId:L.string().optional().describe("单据来源企业 ID (若省略,基于绑定关系自动解析为正式企业)"),targetCorpId:L.string().optional().describe("重放目标企业 ID (若省略,基于绑定关系自动解析为测试企业)"),webhook:L.string().optional().describe("目标 Webhook 通道 ID 或名称"),limit:L.number().optional().describe("批量重放单据数量 (默认 1)"),status:L.string().optional().describe("单据状态过滤 (例如 completed, failed 等)"),snPrefix:L.string().optional().describe("重放单号前缀"),snSuffix:L.string().optional().describe("重放单号后缀"),dryRun:L.boolean().optional().describe("是否仅执行预检转换而不实际推送 (默认 false)"),force:L.boolean().optional().describe("若目标为生产环境,强制执行重放")}),handler:async($,Y,z)=>{let U=(G)=>{let W=s8(),H=_4();return f2(W,{stateful:H.stateful,defaultCorpId:H.defaultCorpId,corpId:G},v7())},{sourceCorp:Q,targetCorp:J}=kP({sourceCorpId:Y.sourceCorpId,targetCorpId:Y.targetCorpId,activeCorp:z.corp,force:Y.force},U),I=Q.id===z.corp.id?$:await j1(Q),K=J.id===z.corp.id?$:await j1(J);return sI({query:{recordId:Y.recordId,sn:Y.sn,limit:Y.limit,status:Y.status},sourceClient:I,targetClient:K,sourceCorp:Q,targetCorp:J,webhookSelector:Y.webhook,snPrefix:Y.snPrefix,snSuffix:Y.snSuffix,dryRun:Y.dryRun})}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),fromTimestamp:L.string().optional(),toTimestamp:L.string().optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:L.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,Y)=>{let z=Y.query?.trim(),U=await b4($,Zh1({...Y,search:z})),Q=await hR0($,U.records,{humanResult:Y.humanResult});return{...U,records:Q.map(_U),...Y.includeBridge?{bridge:$T(Q)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:L.object({date:L.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:L.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let z=Y.timezone??"Asia/Shanghai",U=Y.date??yR0(Date.now(),z)??"",Q=await b4($,{offset:Y.offset,limit:Y.limit??100,startDate:Y.startDate,endDate:Y.endDate,status:Y.status,taskMode:Y.taskMode,manualApprovalStatus:nR0(Y.manualApprovalStatus,Y.humanResult),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}),J=(await hR0($,Q.records,{query:Y.query,humanResult:Y.humanResult})).filter((I)=>yR0(I.createdAt,z)===U);return sv1(J,{date:U,timezone:z,fetched:Q.records.length,total:Q.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:L.object({startDate:L.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:L.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:L.number().int().positive().optional().describe("最大拉取记录条数"),status:L.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:L.boolean().optional().describe("是否仅导出已完成单据"),outputFile:L.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,Y,z)=>PP($,z.corp,Y)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:L.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);if(Y.summary)return av1(z);let U={...z,aliases:qh1(z),humanResult:vU(z)},Q=CR0(Y.fields);return Q.length>0?uR0(U,Q):U}},{name:"seal_approval_run_flow_get",description:"获取合思原生审批流流转时间线、待办节点、员工意见、驳回原因及版本变更指标,并对齐 AI 运行记录与人工行为",parameters:L.object({target:L.string().optional().describe("合思单号 (sourceDocumentSN) 或 Seal 运行记录 ID (recordId)"),recordId:L.string().optional().describe("Seal 运行记录 ID"),sourceDocumentSN:L.string().optional().describe("合思单号 (sourceDocumentSN)")}),handler:async($,Y,z)=>{let U=z.corp;if(U.source.type!=="hose")throw Error(`企业「${U.name||U.id}」非合思(hose)租户(来源类型: ${U.source.type}),暂不支持合思原生审批流分析。`);let Q=(Y.target||Y.sourceDocumentSN||Y.recordId)?.trim();if(!Q)throw Error("必须提供 target、recordId 或 sourceDocumentSN 参数。");let J=Q,I;try{if(I=await G4($,Q),I?.sourceDocumentSN||I?.sourceDocumentId)J=I.sourceDocumentSN||I.sourceDocumentId}catch{}let K=[];try{K=((await b4($,{search:J,sourceDocumentSN:J,limit:100})).records||[]).filter((F)=>F.sourceDocumentSN===J||F.sourceDocumentId===J||F.id===Q)}catch{}if(K.length===0&&I)K=[I];let G=I?.sourceDocumentId||K[0]?.sourceDocumentId||J,W=await mI(U),H=await DP(W,G);if(!H){console.error(`⚠️ 单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`);let V=QU(K,void 0),F=K.map((M)=>{let w=V.get(M.id);return{recordId:M.id,createdAt:M.createdAt,createdAtFormatted:M.createdAt?new Date(Number(M.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:M.taskMode,status:M.status,aiDecision:w?.aiDecision||"-",aiAction:w?.aiAction||"-",eHumanAction:"单据已删除",eHumanComment:"合思系统中未找到该单据流转记录(已在合思端删除或作废)",auditDrift:!1,auditDriftReason:void 0,operator:void 0}});return{sourceDocumentSN:J,corpId:U.id,corpName:U.name,sourceSystem:U.source.type,found:!1,deleted:!0,message:`单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`,flow:void 0,runsCount:K.length,runs:F,auditDrift:!1}}let X=QU(K,H),Z=K.map((V)=>{let F=X.get(V.id);return{recordId:V.id,createdAt:V.createdAt,createdAtFormatted:V.createdAt?new Date(Number(V.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:V.taskMode,status:V.status,aiDecision:F?.aiDecision||"-",aiAction:F?.aiAction||"-",eHumanAction:F?.eHumanAction||"-",eHumanComment:F?.eHumanComment||"-",auditDrift:F?.auditDrift??!1,auditDriftReason:F?.auditDriftReason,operator:F?.operator}}),q=Z.some((V)=>V.auditDrift);return{sourceDocumentSN:J,corpId:U.id,corpName:U.name,sourceSystem:U.source.type,flow:{backlogId:H.backlogId,flowId:H.flowId,billCode:H.billCode,title:H.title,state:H.state,rawState:H.rawState,currentNode:H.currentNode,specification:H.specification,submitter:H.submitter,owner:H.owner,metrics:H.metrics,rejections:H.rejections,staffOpinions:H.staffOpinions,timelineCount:H.history.length,pendingCount:H.pending.length,timeline:H.history,pending:H.pending},runsCount:K.length,runs:Z,auditDrift:q}}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);return tv1(z)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);return iR0(z)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);return k2(z,{summary:Y.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional()}),handler:async($,Y)=>{let z=await G4($,Y.recordId);if(Y.summary)return JT(z);return{recordId:z.id,result:z.result}}},{name:"seal_approval_run_url_get",description:"获取审批单的 Web 控制台直达链接或合思企业协助链接,支持纯深度链接与带安全警告的免密 SSO 链接",parameters:L.object({recordId:L.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:L.string().optional().describe("合思/易快报单号"),sourceDocumentId:L.string().optional().describe("合思/易快报源单据 ID"),sso:L.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接 (SSO link)"),expiresIn:L.number().optional().describe("SSO 免密凭证有效秒数,默认 7200 (2小时)")}),handler:async($,Y,z)=>{let U=Boolean(Y.recordId||Y.sourceDocumentSN||Y.sourceDocumentId),Q=U?await Kh1($,Y):void 0,J=z.corp.source,I=J.type==="hose"?await G00(z.corp):void 0,K=S4(Q?.sourceExtendData?.hosecloudViewUrl),G=Gh1(z.corp),W=Q?.id?`${G}/approval-result/${Q.id}`:void 0,H,X,Z,q=Y.expiresIn??7200;if(Y.sso){if(!Q?.id)throw Error("recordId or sourceDocumentSN is required to generate an SSO approval result URL");if(J.type!=="hose")throw Error(`SSO direct links currently support Hose-integrated enterprises (corp '${z.corp.id}' uses '${J.type}'). For Seal-native enterprises, use 'seal-use delegation create' for authorized access.`);let V=await lw(z.corp,q),F=new URL(V.url).searchParams.get("accessToken");if(!F)throw Error("Failed to obtain Hose provisional authentication token");let M=`/approval-result/${Q.id}`;H=`${G}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(F)}&path=${encodeURIComponent(M)}`;try{let D=await W8($);X={name:D.user.name,staffId:J.staffId,isAdmin:D.user.isAdmin,providerUserId:D.user.providerUserId}}catch{X={staffId:J.staffId}}let w=X.name??"企业成员",O=X.isAdmin?" (管理员)":"";Z=`⚠️ 安全警示:该链接使用 [${w}${O}] 身份签发,在 Seal AI 拥有全站操作权限。链接具备 ${Math.round(q/3600*10)/10} 小时时效,仅供受信任人员排查使用,请勿在外部公开分享。`,console.error(`⚠️ 安全警示 (SSO 强化免密链接): +`);let Z=Gd(G.document,W,H),q=await fetch(`${Q}/api/v1/integrations/webhook/${encodeURIComponent(J)}/document`,{method:"POST",headers:{...z.customHeaders??{},"Content-Type":"application/json",...EZ({webhookId:J,...Z},z.secret)},body:JSON.stringify(Z)});if(!q.ok)throw Error(`Webhook 单据推送失败 ${q.status}: ${await q.text()}`);I.push({documentId:Z.documentId,document:Z,pushResult:await q.json()}),process.stderr.write(`✓ 单据推送成功: ${Z.documentId} +`)}return{warnings:[],results:I}}function RU($){return{fileBuffer:hv1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}var Ul=o(()=>{kP();Wd();Kd();Ud();tI();zl()});import{existsSync as kv1}from"node:fs";async function aA($,Y,z={}){let Q=_4().stateful?"stateful":"stateless",J="ok",I,K,G;try{let D=await H8($);G={id:D.user.id,name:D.user.name,isAdmin:D.user.isAdmin},K={id:D.tenant.id,name:D.tenant.name,tenantSlug:D.tenant.tenantSlug,corporationName:D.tenant.hoseCorpConfig?.corporationName}}catch(D){J="error",I=D instanceof Error?D.message:String(D)}let W=[];if(J==="ok")try{W=await J$($,Y.seal.endpoints.approvalStylePreferences)}catch(D){J="error",I=`读取 Webhook 配置失败: ${D instanceof Error?D.message:String(D)}`}let H=W.length===1,X=W.map((D)=>({id:D.id,name:D.name,mode:D.mode,incomingDocumentWebhookUrl:D.incomingDocumentWebhook.url,outgoingResultWebhookUrl:D.outgoingResultWebhook,autoApprovalRate:D.autoApprovalRate,...H?{isDefault:!0}:{}})),Z=H?{id:W[0].id,name:W[0].name,mode:W[0].mode}:null,q=z.webhook?v3(W,z.webhook):H?W[0]:void 0,V;if(z.filePath)if(!kv1(z.filePath))V={valid:!1,filePath:z.filePath,fileName:z.filePath.split(/[\\/]/).pop()??z.filePath,documentCount:0,errors:[`文件不存在: ${z.filePath}`]};else try{let D=RU(z.filePath),T=await CU(D.fileBuffer,D.fileName,q?.materialPackFilePolicy);V={valid:!0,filePath:z.filePath,fileName:D.fileName,documentCount:T.documents.length,warnings:T.warnings}}catch(D){V={valid:!1,filePath:z.filePath,fileName:z.filePath.split(/[\\/]/).pop()??z.filePath,documentCount:0,errors:[D instanceof Error?D.message:String(D)]}}let F=V?V.valid:!0,M=J==="ok"&&X.length>0&&F,w=Q==="stateful"?"":` --corp ${Y.id}`,O="",N="";if(J!=="ok")N=`凭证鉴权异常: ${I}`,O=`seal-use auth diagnose${w}`;else if(X.length===0)N="当前企业尚未配置任何 Webhook 集成通道",O=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${w}`;else if(V&&!V.valid)N=`资源包预检失败: ${V.errors?.join("; ")}`,O=`seal-use webhook resource-pack preview ${V.filePath}${w}`;else{N=H?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${X.length} 个 Webhook 通道,等待载入`;let D=V?.filePath??"<资源包.zip>",T=H?"":` --webhook ${Z?Z.id:""}`;O=`seal-use webhook resource-pack push ${D}${T}${w}`}return{ready:M,corp:{id:Y.id,name:Y.name,sourceType:Y.source.type,tenant:K,user:G},stateMode:Q,authStatus:J,authError:I,activeWebhooks:X,defaultWebhook:Z,resourcePack:V,materialPack:V,statusMessage:N,nextAction:O}}var PR0=o(()=>{S7();X6();Ul()});var Ql=o(()=>{tI();pQ();kP();Ud();Kd();Wd();Ul();PR0();zl()});import{existsSync as AR0,mkdirSync as TR0,statSync as xv1}from"node:fs";import{homedir as fv1}from"node:os";import{dirname as uv1,resolve as tA}from"node:path";function bv1($){if($.outputFile){let I=tA($.outputFile),K=uv1(I);if(!AR0(K))TR0(K,{recursive:!0});return I}let z=($.corpName||$.corpId||"企业").replace(/[/\\?%*:|"<>]/g,"_").trim()||"企业",U=$.dateTag||new Date().toISOString().slice(0,10),Q=`${z}_智能洞察报告_${U}.xlsx`,J;if($.toDownloads)J=tA(fv1(),"Downloads");else J=tA(process.cwd(),"exports");if(!AR0(J))TR0(J,{recursive:!0});return tA(J,Q)}async function eA($,Y,z={}){let U=Y.name||Y.id,Q=un({startDate:z.startDate,endDate:z.endDate,force:z.force}),J=new Date().toISOString(),[I,K]=await Promise.all([VM($,{startDate:Q.startDateStr,endDate:Q.endDateStr,limit:z.limit??100}),FM($,{startDate:Q.startDateStr,endDate:Q.endDateStr}).catch(()=>({metrics:{},sankeyData:{nodes:[],links:[]}}))]),G=I.tagStats||[],W=[],H=Math.min(G.length,z.limit??50);for(let C=0;C{k.border=V,k.font={name:"Microsoft YaHei",size:10},k.alignment={vertical:"middle"}})}let O=K.sankeyData?.links||[];if(O.length>0){F.addRow({});let C=F.addRow(["决策流向","流向阶段 (起点)","走向阶段 (终点)","流转单据数","占比/流向说明"]);C.height=24,C.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FF0F172A"}},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFE2E8F0"}},C.eachCell((b)=>{b.border=V,b.alignment={vertical:"middle",horizontal:"center"}});for(let b of O){let k=F.addRow({category:"决策流向",name:b.source,val:b.target,trend:b.value,desc:"流向连接"});k.height=20,k.eachCell((h)=>{h.border=V,h.font={name:"Microsoft YaHei",size:9},h.alignment={vertical:"middle"}})}}let N=X.addWorksheet("Top 风险标签分析",{views:[{showGridLines:!0}]});N.columns=[{header:"标签编号",key:"tagId",width:14},{header:"风险标签名称",key:"tagName",width:26},{header:"风险分类路径",key:"tagPath",width:44},{header:"风险出现次数",key:"count",width:16},{header:"严重错误数 (Error)",key:"errorCount",width:20},{header:"合规预警数 (Warning)",key:"warningCount",width:22},{header:"平均置信度",key:"avgConfidence",width:16}],N.getRow(1).height=28,N.getRow(1).font=q,N.getRow(1).fill=Z,N.getRow(1).alignment={vertical:"middle",horizontal:"center"};for(let C of G){let b=N.addRow({tagId:C.tagId||"-",tagName:C.tagName||"-",tagPath:C.tagPath||"-",count:C.count??0,errorCount:C.errorCount??0,warningCount:C.warningCount??0,avgConfidence:C.avgConfidence?`${Math.round(C.avgConfidence*100)}%`:"-"});b.height=22,b.eachCell((k,h)=>{if(k.border=V,k.font={name:"Microsoft YaHei",size:10},k.alignment={vertical:"middle",horizontal:[1,4,5,6,7].includes(h)?"center":"left"},h===5&&(C.errorCount??0)>0)k.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFDC2626"}},k.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};if(h===6&&(C.warningCount??0)>0)k.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFD97706"}},k.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let D=X.addWorksheet("风险单据穿透明细",{views:[{showGridLines:!0}]});D.columns=[{header:"序号",key:"idx",width:8},{header:"风险标签",key:"tag",width:24},{header:"关联单据流水号",key:"documentSN",width:20},{header:"单据类型",key:"documentType",width:16},{header:"风险等级",key:"riskLevel",width:14},{header:"置信度",key:"confidence",width:12},{header:"风险具体描述",key:"riskDetails",width:48},{header:"AI 审核判断依据",key:"reasoning",width:48},{header:"单据链接",key:"sourceDocumentURL",width:30},{header:"发现时间",key:"createdAt",width:22}],D.getRow(1).height=28,D.getRow(1).font=q,D.getRow(1).fill=Z,D.getRow(1).alignment={vertical:"middle",horizontal:"center"};let T=1;for(let C of W){let b="-";if(C.createdAt){let h=new Date(C.createdAt);if(!isNaN(h.getTime()))b=h.toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1})}let k=D.addRow({idx:T++,tag:`${C.tagName} (${C.tagId})`,documentSN:C.documentSN,documentType:C.documentType,riskLevel:C.riskLevel==="error"?"严重错误":"合规预警",confidence:`${Math.round(C.confidence*100)}%`,riskDetails:C.riskDetails,reasoning:C.reasoning,sourceDocumentURL:C.sourceDocumentURL||"-",createdAt:b});k.height=36,k.eachCell((h,i)=>{if(h.border=V,h.font={name:"Microsoft YaHei",size:9},h.alignment={vertical:"middle",horizontal:[1,3,4,5,6,10].includes(i)?"center":"left",wrapText:[7,8].includes(i)},i===5)if(C.riskLevel==="error")h.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFDC2626"}},h.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else h.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFD97706"}},h.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let A=Q.dateTag,B=bv1({outputFile:z.outputFile,toDownloads:z.toDownloads,corpName:U,dateTag:A});await X.xlsx.writeFile(B),console.error(`智能洞察 Excel 报告已成功保存至: ${B}`);let j=xv1(B);return{filePath:B,corpId:Y.id,corpName:U,totalRisks:I.totalRisks??0,tagCount:G.length,riskDetailCount:W.length,fileSizeBytes:j.size,exportedAt:J}}var jR0;var Jl=o(()=>{X6();TP();jR0=J6(PZ(),1)});import{readFileSync as iv1}from"node:fs";import{randomBytes as cv1}from"node:crypto";function xR0($){return nv1.has($)}function M6($){return pv1.get($)}function Wq($,Y){return Y?$:{...$,secret:""}}function fR0($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return R3($,$.source);return $.source.sealUrl}function dv1($,Y){let z=$.rules.length;if(Y.countOnly||Y.limit===0)return{count:z};let U=Y.offset??0,Q=$.rules.slice(U,Y.limit===void 0?void 0:U+Y.limit),J=Y.fields;return{count:z,hasPendingDeletes:$.hasPendingDeletes,rules:J?Q.map((I)=>mv1(I,J)):Q}}function mv1($,Y){let z={};for(let U of Y)if($[U]!==void 0)z[U]=$[U];return z}function lv1($,Y){let z=new Map($.map((K)=>[K.id,K])),U=new Set,Q=[],J=[],I=[];for(let K of Y){let G;if(K.id){if(G=z.get(K.id),!G)throw Error(`本地规则 ${K.id} 不存在于当前草稿。请先用 rules pull 获取当前草稿,再重新应用修改。`);if(U.has(K.id))throw Error(`本地规则文件包含重复的规则 ID:${K.id}`)}else{let H=$.filter((X)=>!U.has(X.id)&&ov1(X,K));if(H.length>1)throw Error(`本地规则“${K.description}”无法唯一匹配远端草稿,请在规则文件中补充稳定的 id。`);G=H[0]}if(!G){Q.push(K);continue}U.add(G.id);let W=rv1(G,K);if(W.length)J.push({id:G.id,rule:K,changedFields:W});else I.push({id:G.id})}return{created:Q,updated:J,deleted:$.filter((K)=>!U.has(K.id)),unchanged:I}}function ov1($,Y){return $.description===Y.description.trim()&&$.scope===(Y.scope??"ALL")&&$.strictness===UT(Y.strictness)}function rv1($,Y){let z=[];if($.description!==Y.description.trim())z.push("description");if($.scope!==(Y.scope??"ALL"))z.push("scope");if($.strictness!==UT(Y.strictness))z.push("strictness");return z}function UT($){let Y=$?.toUpperCase()??"MUST_FOLLOW";if(Y.includes("SHOULD"))return"SHOULD_FOLLOW";if(Y.includes("SUGGEST"))return"SUGGESTION";return"MUST_FOLLOW"}function ER0($){let Y=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!Y||!Y[1])return 600000;let z=parseFloat(Y[1]);switch((Y[2]??"s").toLowerCase()){case"ms":return z;case"s":return z*1000;case"m":return z*60*1000;case"h":return z*3600*1000;case"d":return z*86400*1000;default:return z*1000}}function $T($){return Object.fromEntries(Object.entries($).map(([Y,z])=>[Y,["apiKey","apiSecret","secret"].includes(Y)&&typeof z==="string"?"***":z]))}function R9($,Y,z,U,Q){return{preview:!0,targetUrl:`${fR0($.corp).replace(/\/+$/,"")}/${Y.replace(/^\/+/,"")}`,changesDiff:{before:QT(z),after:QT(U)},impactCount:Q}}function QT($){if(Array.isArray($))return $.map(QT);if(!$||typeof $!=="object")return $;return Object.fromEntries(Object.entries($).map(([Y,z])=>[Y,["apiKey","apiSecret","secret","token","password"].includes(Y)&&typeof z==="string"?"***":QT(z)]))}function sv1($){let Y=$.sourceSystem??$.mode??"hosecloud",z={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},U=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((Q)=>Q.trim()).filter(Boolean):$.documentSn);if(Y==="hosecloud"){if(!U?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(z,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),U?.length)z.flowIds=U;if($.signKey)z.signKey=$.signKey;if($.startTime!==void 0)z.startTime=$.startTime;if($.endTime!==void 0)z.endTime=$.endTime;if($.status)z.status=$.status;if($.limit)z.limit=$.limit}else if(Y==="material_pack"||Y==="material-pack"){let Q=$.packageIds??($.packageId?[$.packageId]:void 0);if(!Q?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let J=$.templateId??$.schemaConfig?.id;if(!J)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(z,{templateId:J,packageIds:Q,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)z.schemaConfig=$.schemaConfig}else if(Y==="weaver")Object.assign(z,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(Y==="helios")Object.assign(z,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(Y==="maycur"||Y==="maycur-standard")Object.assign(z,{sourceSystem:Y,formCodes:$.formCodes??U,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(Y==="feishu")Object.assign(z,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(z,{sourceSystem:Y});if($.rawParams)Object.assign(z,$.rawParams);return z}function av1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function _U($){let Y=$.sourceDocumentSN,z=vU($),U=KT($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:Y,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:Y?`hosecloud-${Y}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:z?.value,humanResultPath:z?.path,aiDecision:U.decision,aiSummary:U.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function tv1($,Y){return{date:Y.date,timezone:Y.timezone,fetched:Y.fetched,matched:$.length,total:Y.total,statusCounts:gR0($,(z)=>z.status??"unknown"),taskModeCounts:gR0($,(z)=>z.taskMode??"unknown"),records:$.map((z)=>{let U=_U(z);return{createdAt:kR0(U.createdAt,Y.timezone),sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,status:U.status,taskMode:U.taskMode,finalExecutionMode:U.finalExecutionMode,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:kR0(U.ruleSetPublishedAt,Y.timezone),ruleSetPublishedByName:U.ruleSetPublishedByName,humanResult:U.humanResult,humanResultPath:U.humanResultPath,recordId:U.id}})}}function CR0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((z)=>z.trim()).filter(Boolean)}function uR0($,Y){let z={};for(let U of Y){if(U==="metadata"){z.metadata=bR0($);continue}let Q=n7($,U);if(Q!==void 0)Yh1(z,U,Q)}return z}function bR0($){let Y=_U($);return{recordId:Y.id,tenantId:Y.tenantId,agentId:Y.agentId,sourceSystem:Y.sourceSystem,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,documentId:Y.documentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:Y.ruleSetPublishedAt,ruleSetPublishedByName:Y.ruleSetPublishedByName,createdAt:Y.createdAt,updatedAt:Y.updatedAt}}function ev1($){return{metadata:bR0($),document:iR0($).document,aiResult:KT($),manualResult:vU($)?.value,manualResultPath:vU($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function KT($){let Y=Xq($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:JT(Y,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:JT(Y,["summary","result.summary","review.summary","conclusion"]),riskPointCount:RR0(Y,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:RR0(Y,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function iR0($){let Y=Xq($.document),z=Uh1($.document),U=z.map((Q)=>`${Q.label??Q.path??""}:${Q.value??""}`).join(` +`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:_K({id:Y?.id,sn:Y?.sn??Y?.sourceDocumentSN??$.sourceDocumentSN,title:Y?.title??Y?.name,template:JT(Y,["template.name","templateName","form.name","formName","formTitle"]),amount:YT(z,["金额","报销金额","付款金额","合计","价税合计"])??JT(Y,["amount","totalAmount","expenseAmount"]),expenseType:YT(z,["费用类型","费用类别","报销类型"]),costCompany:YT(z,["费用承担公司","承担公司","成本中心","费用归属"]),payee:YT(z,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:z.slice(0,30)}),invoices:Qh1($),attachments:k2($,{summary:!0}).attachments,aiResult:KT($),manualResult:vU($)?.value,hints:_K({amountMentions:_R0(U,["金额","合计","税率"],8),partyMentions:_R0(U,["买方","卖方","甲方","乙方","收款"],8)})}}function $h1($){let Y=[["result.citedRules",n7($,"result.citedRules")],["result.matchedRules",n7($,"result.matchedRules")],["result.ruleResults",n7($,"result.ruleResults")],["result.rules",n7($,"result.rules")],["pipelineData.citedRules",n7($,"pipelineData.citedRules")],["pipelineData.matchedRules",n7($,"pipelineData.matchedRules")]],z=[],U=new Set;for(let[Q,J]of Y)(Array.isArray(J)?J:J&&typeof J==="object"?Object.values(J):[]).forEach((K,G)=>{let W=Xq(K);if(!W)return;let H=S4(W.runtimeRuleId)??S4(W.runtimeId)??S4(W.id)??S4(W.ruleId),X=S4(W.ruleCode)??S4(W.code)??(H?Kh1(H):void 0),Z=_K({runtimeRuleId:H,ruleCode:X,versionNumber:zh1(W.versionNumber)??$.ruleSetVersionNumber,scope:S4(W.scope),strictness:S4(W.strictness),appliedAnalysis:W.appliedAnalysis??W.analysis??W.reasoning,checkResult:W.checkResult??W.result??W.decision,findings:W.findings??W.riskPoints??W.evidence,sourcePath:`${Q}.${G}`}),q=JSON.stringify(Z);if(!U.has(q))U.add(q),z.push(Z)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:z.length,rules:z}}function JT($,Y){if(!$)return;for(let z of Y){let U=n7($,z);if(U!==void 0)return U}return}function RR0($,Y){if(!$)return 0;for(let z of Y){let U=n7($,z);if(Array.isArray(U))return U.length;if(U&&typeof U==="object")return Object.keys(U).length;if(typeof U==="number")return U}return 0}function n7($,Y){return Y.split(".").reduce((z,U)=>{if(z===void 0||z===null)return;if(Array.isArray(z)){let Q=Number(U);return Number.isInteger(Q)?z[Q]:void 0}if(typeof z==="object")return z[U];return},$)}function Yh1($,Y,z){let U=Y.split("."),Q=$;for(let J of U.slice(0,-1)){let I=Q[J];if(!I||typeof I!=="object"||Array.isArray(I))Q[J]={};Q=Q[J]}Q[U[U.length-1]??Y]=z}function _K($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function Xq($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function zh1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Uh1($){let Y=[];return Gl($,"document",Y),Y}function Gl($,Y,z){if(Array.isArray($)){$.forEach((I,K)=>Gl(I,`${Y}.${K}`,z));return}let U=Xq($);if(!U)return;let Q=S4(U.label)??S4(U.name)??S4(U.title)??S4(U.fieldName),J=U.value??U.displayValue??U.text??U.content;if(Q&&J!==void 0&&typeof J!=="object")z.push(_K({path:Y,label:Q,value:J,type:S4(U.type)??S4(U.fieldType)}));for(let[I,K]of Object.entries(U)){if(I==="attachments")continue;Gl(K,`${Y}.${I}`,z)}}function YT($,Y){return $.find((U)=>{let Q=S4(U.label)??"";return Y.some((J)=>Q.includes(J))})?.value}function Qh1($){let Y=[];return IT($.result,"result",Y),IT($.document,"document",Y),Y.slice(0,20)}function IT($,Y,z){if(Array.isArray($)){$.forEach((Q,J)=>IT(Q,`${Y}.${J}`,z));return}let U=Xq($);if(!U)return;if(/invoice|发票/i.test(Y))z.push(_K({path:Y,fileName:S4(U.fileName)??S4(U.filename)??S4(U.name),buyer:U.buyer??U.buyerName??U.purchaserName,seller:U.seller??U.sellerName,amount:U.amount??U.totalAmount??U.total,taxRate:U.taxRate,category:U.category??U.type}));for(let[Q,J]of Object.entries(U))IT(J,`${Y}.${Q}`,z)}function _R0($,Y,z){return $.split(/\r?\n/).filter((U)=>Y.some((Q)=>U.includes(Q))).slice(0,z)}function zT($){return $.map((Y)=>{let z=_U(Y);return{recordId:z.id,tenantId:z.tenantId,agentId:z.agentId,sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,simulationBatchId:z.simulationBatchId,langfuseTraceId:z.langfuseTraceId,langfuseSessionFallback:z.langfuseSessionFallback,ruleSetVersionNumber:z.ruleSetVersionNumber,ruleSetPublishedAt:z.ruleSetPublishedAt,ruleSetPublishedByName:z.ruleSetPublishedByName,resolution:z.langfuseTraceId?"trace":z.langfuseSessionFallback?"session-fallback":"unresolved"}})}function Il($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function Jh1($,Y){if(Y.recordId&&!Y.versionId&&!Y.versionNumber&&!Y.latest){let z=await G4($,Y.recordId);if(!z.ruleSetVersionNumber)throw Error(`Approval run ${Y.recordId} has no ruleSetVersionNumber`);return Wl($,{versionNumber:z.ruleSetVersionNumber})}return Wl($,Y)}function Ih1($,Y){let z=Kl(Y.code),U=cR0(Y.runtimeId),Q=z?Number(z.slice(1)):U;if(!Q||Q<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let J=$.rules.find((G,W)=>{let H=G;return Kl(S4(H.code)??S4(H.ruleCode))===z||W+1===Q});if(!J)return;let I=J,K=$.rules.indexOf(J)+1;return _K({runtimeRuleId:S4(I.runtimeRuleId)??`rule-${K}`,ruleCode:Kl(S4(I.code)??S4(I.ruleCode))??ql(K),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:J.description,scope:J.scope,strictness:J.strictness,status:S4(I.status)})}function Kl($){if(!$)return;let Y=$.match(/\d+/)?.[0];return Y?ql(Number(Y)):$}function cR0($){if(!$)return;let Y=$.match(/(\d+)$/);return Y?Number(Y[1]):void 0}function Kh1($){let Y=cR0($);return Y?ql(Y):void 0}function ql($){return`#${String($).padStart(4,"0")}`}function Gh1($,Y){let z=_U($),U={recordId:z.id,sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,simulationBatchId:z.simulationBatchId,status:z.status,taskMode:z.taskMode,ruleSetVersionNumber:z.ruleSetVersionNumber,langfuseTraceId:z.langfuseTraceId,manualResult:z.humanResult,aiDecision:z.aiDecision,aiSummary:z.aiSummary,createdAt:z.createdAt};if(Y.length===0)return U;return uR0(U,Y)}async function Wh1($,Y){if(Y.recordId)return G4($,Y.recordId);let U=(await b4($,{limit:1,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records[0];if(!U){let Q=Y.sourceDocumentSN?`sourceDocumentSN ${Y.sourceDocumentSN}`:`sourceDocumentId ${Y.sourceDocumentId}`;throw Error(`Approval run not found for ${Q}`)}return G4($,U.id)}function Hh1($){if($.seal?.url)return $.seal.url.replace(/\/+$/,"");if($.source.type==="hose")return R3($,$.source).replace(/\/+$/,"");if("sealUrl"in $.source&&typeof $.source.sealUrl==="string"&&$.source.sealUrl)return $.source.sealUrl.replace(/\/+$/,"");return`https://${$.id.toLowerCase()}.sealai.cc`}function Xh1($){return $.replace(/\/+$/,"")}function S4($){return typeof $==="string"&&$.trim()?$:void 0}async function Zh1($,Y){let z=Math.min(100,Math.max(Y.limit,20)),U=[],Q,J=0;while(J!Y.sn||G.sourceDocumentSN===Y.sn).filter((G)=>!Y.batchId||G.sourceExtendData?.simulation_batch_id===Y.batchId);if(U.push(...K),I.records.length===0||Q!==void 0&&J>=Q)break}return U.sort((I,K)=>vR0(K.createdAt)-vR0(I.createdAt)),{total:Q,scanned:J,records:U.slice(0,Y.latest?1:Y.limit)}}function vR0($){if(typeof $==="number")return $;if(typeof $==="string"){let Y=Date.parse($);return Number.isFinite(Y)?Y:0}return 0}async function Wl($,Y){if(Y.versionId)return RW($,Y.versionId);let z=await A$($),U=Y.versionNumber?z.find((Q)=>Q.versionNumber===Y.versionNumber):z[0];if(!U)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return U}function Vl($,Y){let z=Y?.trim().toLowerCase();if(!z)return $;return $.filter((U)=>{return[U.id,U.sourceDocumentSN,U.sourceDocumentId,U.documentId,U.sourceExtendData?._langfuseTraceId,U.sourceExtendData?.simulation_batch_id,U.status,U.taskMode,U.finalExecutionMode,U.sourceSystem,U.ruleSetVersionNumber,U.ruleSetPublishedByName].some((J)=>Hl(J,z))||Xl(U,z)})}function Hl($,Y){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(Y);return!1}function Xl($,Y,z=0){if(z>6)return!1;if(Hl($,Y))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((U)=>Xl(U,Y,z+1));return Object.entries($).some(([U,Q])=>Hl(U,Y)||Xl(Q,Y,z+1))}function qh1($,Y){let z=Y?.trim().toLowerCase();if(!z)return $;return $.filter((U)=>vU(U)?.value.toLowerCase().includes(z))}function Vh1($){return{...$,manualApprovalStatus:nR0($.manualApprovalStatus,$.humanResult)}}function nR0($,Y){if($)return $;let z=Y?.trim().toLowerCase();if(!z)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(z))return"TERMINATED";return}async function hR0($,Y,z){let U=Vl(Y,z.query);if(!z.humanResult?.trim())return U;let Q=await Promise.all(U.map(async(J)=>{if(vU(J))return J;try{return await G4($,J.id)}catch{return J}}));return qh1(Q,z.humanResult)}function Lh1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function vU($){let Y=[["result",$.result],["pipelineData",$.pipelineData]];for(let[z,U]of Y){let Q=Zl(U,z);if(Q)return Q}return}function Zl($,Y,z=0){if(z>8||$===null||$===void 0)return;if(Array.isArray($)){for(let U=0;U<$.length;U+=1){let Q=Zl($[U],`${Y}[${U}]`,z+1);if(Q)return Q}return}if(typeof $!=="object")return;for(let[U,Q]of Object.entries($)){let J=`${Y}.${U}`,I=Zl(Q,J,z+1);if(I)return I;if(SR0(U)||SR0(J)){let K=pR0(Q);if(K)return{value:K,path:J}}}return}function SR0($){let Y=$.toLowerCase(),z=Y.includes("human")||Y.includes("manual")||Y.includes("reviewer")||Y.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),U=Y.includes("result")||Y.includes("decision")||Y.includes("outcome")||Y.includes("conclusion")||Y.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return z&&U}function pR0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let Y=$;for(let z of["label","name","text","value","result","decision","outcome","status","action"]){let U=pR0(Y[z]);if(U)return U}return}function Fh1($,Y){if(Y.recordId&&$.id!==Y.recordId)return!1;if(Y.sourceDocumentSN&&$.sourceDocumentSN!==Y.sourceDocumentSN)return!1;if(Y.sourceDocumentId&&$.sourceDocumentId!==Y.sourceDocumentId)return!1;return!0}function gR0($,Y){return $.reduce((z,U)=>{let Q=Y(U);return z[Q]=(z[Q]??0)+1,z},{})}function yR0($,Y){let z=dR0($);if(!z)return;let U=mR0(z,Y),Q=U.year,J=(U.month??"01").padStart(2,"0"),I=(U.day??"01").padStart(2,"0");return`${Q}-${J}-${I}`}function kR0($,Y){let z=dR0($);if(!z)return;let U=mR0(z,Y),Q=(U.month??"01").padStart(2,"0"),J=(U.day??"01").padStart(2,"0"),I=(U.hour??"00").padStart(2,"0"),K=(U.minute??"00").padStart(2,"0"),G=(U.second??"00").padStart(2,"0");return`${U.year??"0000"}-${Q}-${J} ${I}:${K}:${G}`}function dR0($){if($===void 0)return null;let Y=new Date($);return Number.isNaN(Y.getTime())?null:Y}function mR0($,Y){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:Y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((z)=>z.type!=="literal").map((z)=>[z.type,z.value]))}var Hq,nv1,pv1;var Zq=o(()=>{B$();X6();a9();S7();i8();QB0();RZ();Hp();DB0();Ql();pQ();EP();TP();kn();Jl();cS();Hq=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:L.object({}),handler:async($)=>H8($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:L.object({}),handler:async($)=>U10($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:L.object({}),handler:async($)=>T10($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:L.object({note:L.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,Y)=>dQ($,Y)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:L.object({tokenId:L.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,Y)=>j10($,Y.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:L.object({name:L.string().describe("用户姓名"),phone:L.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:L.array(L.string()).optional().describe("权限列表,默认为 []"),departmentIds:L.array(L.string()).optional().describe("关联部门 ID 数组")}),handler:async($,Y)=>E10($,Y)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>rS($,Y.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>zM($,Y.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:L.object({keyword:L.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,Y)=>UM($,Y.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>f10($,Y.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>aS($,Y.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:L.object({userIdOrPhone:L.string().describe("目标用户 ID、手机号或姓名"),note:L.string().optional().describe("授权链接备注信息")}),handler:async($,Y,z)=>u10($,Y,(U)=>vS(z.corp,U),z.corp)},{name:"seal_contacts_departments_root_list",description:"列出当前 Seal 租户通讯录的顶级部门",parameters:L.object({}),handler:async($)=>C10($)},{name:"seal_contacts_department_get",description:"获取指定通讯录部门的详细信息",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>R10($,Y.departmentId)},{name:"seal_contacts_department_children_list",description:"列出指定通讯录部门的直接子部门",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>_10($,Y.departmentId)},{name:"seal_contacts_department_users_list",description:"列出指定通讯录部门下的用户",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>v10($,Y.departmentId)},{name:"seal_contacts_last_sync_time_get",description:"查询通讯录最后同步时间",parameters:L.object({}),handler:async($)=>h10($)},{name:"seal_insight_stats_get",description:"查询智能洞察风险标签统计及分析状态",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)"),limit:L.number().int().positive().max(100).optional().describe("最多返回的风险标签数量")}),handler:async($,Y)=>VM($,Y)},{name:"seal_insight_risks_by_tag_get",description:"按风险标签查询智能洞察风险单据明细及 AI 分析依据",parameters:L.object({tagId:L.string().describe("风险标签 ID(如 B.1.1、B.1.6)"),startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)")}),handler:async($,Y)=>LM($,Y)},{name:"seal_insight_performance_get",description:"查询智能洞察审核效能指标(自动化率、准确率等)及决策流向桑基图",parameters:L.object({startDate:L.union([L.string(),L.number()]).optional().describe("统计开始时间(ISO 8601 或毫秒时间戳)"),endDate:L.union([L.string(),L.number()]).optional().describe("统计结束时间(ISO 8601 或毫秒时间戳)")}),handler:async($,Y)=>FM($,Y)},{name:"seal_insight_record_analyze",description:"对指定的审批单运行记录按需触发智能洞察风险分析",parameters:L.object({recordId:L.string().describe("审批单运行记录 ID (recordId)")}),handler:async($,Y)=>S10($,Y.recordId)},{name:"seal_insight_export",description:"导出智能洞察风险研报为高保真 Excel 文件(含效能概览、Top风险标签、风险单据穿透明细)",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601 或时间戳)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601 或时间戳)"),limit:L.number().int().positive().optional().describe("最多下钻分析的风险标签数量"),outputFile:L.string().optional().describe("自定义 Excel 保存路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录"),force:L.boolean().optional().describe("时间跨度超过 180 天时是否强制导出")}),handler:async($,Y,z)=>eA($,z.corp,Y)},{name:"seal_expenses_list",description:"分页查询费用明细",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索费用类型、描述或金额")}),handler:async($,Y)=>y10($,Y)},{name:"seal_invoices_list",description:"分页查询进项发票",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索发票号码或销售方")}),handler:async($,Y)=>k10($,Y)},{name:"seal_simulation_feishu_approval_definitions_list",description:"列出飞书模拟测试可用的审批定义,便于选择 approvalCode",parameters:L.object({}),handler:async($)=>{let Y=await x10($);return{count:Y.length,approvalDefinitions:Y}}},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:L.object({}),handler:async($)=>b10($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:L.object({}),handler:async($)=>i10($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:L.object({}),handler:async($)=>c10($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:L.object({}),handler:async($)=>n10($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:L.object({}),handler:async($)=>bY($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:L.object({}),handler:async($)=>p10($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:L.object({}),handler:async($)=>d10($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;返回的 code 属于草稿编号体系,发布版本可能重新编码;支持 countOnly、fields、limit 以避免返回规则正文",parameters:L.object({countOnly:L.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:L.array(L.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:L.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:L.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,Y)=>{let z=await p6($);return dv1(z,Y)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:L.object({dryRun:L.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:L.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,Y,z)=>{let U=await p6($);if(Y.dryRun)return{...R9(z,"api/v1/rules",U.rules,[],U.rules.length),corpId:z.corp.id,corpName:z.corp.name,dryRun:!0,beforeCount:U.rules.length,deleted:0,afterCount:U.rules.length,hasPendingDeletes:U.hasPendingDeletes};let Q=[],J=0;for(let W of U.rules)try{await mQ($,W.id),J+=1}catch(H){Q.push({ruleId:W.id,error:H instanceof Error?H.message:String(H)})}let I=[],K;if(J>0&&Y.recode!==!1){if(K=await JM($),K&&typeof K==="object"&&"ok"in K&&K.ok!==!0)I.push("batch-recode did not complete; current rules were still deleted")}let G=await p6($);return{corpId:z.corp.id,corpName:z.corp.name,dryRun:!1,beforeCount:U.rules.length,deleted:J,failed:Q,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:I,recode:K}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:L.object({description:L.string().describe("规则描述"),scope:L.string().describe("适用场景"),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,Y)=>CW($,Y)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID"),description:L.string().optional(),scope:L.string().optional(),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,Y)=>{let{ruleId:z,...U}=Y,Q=await nS($,z,U);if(Y.description)try{let J=_4();if(J.lint?.enabled){let I=await Kp(J.lint.activeLinter),K=await Wp({id:z,description:Y.description},I);if(K.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${K.score}/100 (发现 ${K.issues.length} 处潜在风险):`);for(let G of K.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return Q}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID")}),handler:async($,Y)=>{return await mQ($,Y.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:L.object({}),handler:async($)=>{let Y=await A$($);return{count:Y.length,latest:Y[0]?Il(Y[0]):void 0,versions:Y.map(Il)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,Y)=>{if(Y.versionId)return RW($,Y.versionId);let z=await A$($),U=Y.versionNumber?z.find((Q)=>Q.versionNumber===Y.versionNumber):z[0];if(!U)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return U}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:L.object({versionName:L.string().describe("版本名称")}),handler:async($,Y)=>_W($,Y.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则;code 只在选定的版本编号体系内有效,避免拉取整版规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时取最新版本"),code:L.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:L.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:L.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,Y)=>{let z=await Jh1($,Y),U=Ih1(z,{code:Y.code,runtimeId:Y.runtimeId});if(!U)throw Error(`Rule not found in version ${z.versionNumber}`);return U}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:L.object({file:L.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:L.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:L.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:L.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:L.string().optional().describe("按规则 ID 过滤"),minScore:L.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:L.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:L.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,Y,z)=>{let U=[],Q;if(Y.file){let W=Xp(Y.file);U=NB0(W.rules),Q=W.meta.versionNumber}else if(Y.version){let W=await A$($),H=Number(Y.version),X=isNaN(H)?Y.version==="latest"?W[0]:W.find((Z)=>Z.id===Y.version):W.find((Z)=>Z.versionNumber===H);if(!X)throw Error(`未找到指定的规则版本: ${Y.version}`);Q=X.versionNumber,U=(X.rules??[]).map((Z,q)=>({id:Z.id??Z.runtimeId,code:Z.code??`#${String(q+1).padStart(4,"0")}`,name:Z.name??Z.title,description:Z.description??"",scope:Z.scope,strictness:Z.strictness}))}else U=((await p6($)).rules??[]).map((H,X)=>({id:H.id,code:H.code??`#${String(X+1).padStart(4,"0")}`,name:H.name??H.title,description:H.description??"",scope:H.scope,strictness:H.strictness}));if(Y.code)U=U.filter((W)=>W.code===Y.code||W.code?.replace(/[#\s]/g,"")===Y.code?.replace(/[#\s]/g,""));if(Y.ruleId)U=U.filter((W)=>W.id===Y.ruleId||W.code===Y.ruleId);let J=_4(),I=Y.linter??J.lint?.activeLinter??"builtin",K=await Kp(I),G=await FB0(U,K,{corpId:z?.corp?.id,versionNumber:Q,allRules:U},{minScore:Y.minScore,level:Y.level,summary:Y.summary});if(Y.minScore&&G.overallScore{let U=Y.out??"./rules.local.json",Q=[],J="draft",I;if(Y.version){let G=await A$($),W=Number(Y.version),H=isNaN(W)?Y.version==="latest"?G[0]:G.find((X)=>X.id===Y.version):G.find((X)=>X.versionNumber===W);if(!H)throw Error(`未找到指定的规则版本: ${Y.version}`);I=H.versionNumber,J=`version:${I}`,Q=(H.rules??[]).map((X,Z)=>({code:X.code?Number(String(X.code).replace(/^#/,""))||Z+1:Z+1,name:X.name??X.title,description:X.description??"",scope:X.scope??"ALL",strictness:X.strictness??"MUST_FOLLOW"}))}else Q=((await p6($)).rules??[]).map((W,H)=>({id:W.id,code:W.code??H+1,name:W.name??W.title,description:W.description??"",scope:W.scope??"ALL",strictness:W.strictness??"MUST_FOLLOW",status:W.status}));return{saved:!0,path:OB0(U,{corpId:z.corp.id,source:J,versionNumber:I,exportedAt:new Date().toISOString(),rulesCount:Q.length,rules:Q}),rulesCount:Q.length,corpId:z.corp.id,source:J,versionNumber:I}}},{name:"seal_approval_rules_push",description:"将本地规则文件增量同步到远端草稿;按规则 ID 更新/删除并保留未变更规则,支持直接发布为正式版本",parameters:L.object({file:L.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:L.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:L.boolean().optional().describe("确认覆盖写入远端草稿"),publish:L.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:L.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,Y,z)=>{let U=Y.file??"./rules.local.json",Q=Xp(U),J=Y.confirm===!0,I=Y.dryRun??!J,K=await p6($),G=lv1(K.rules,Q.rules);if(I)return{...R9(z,"api/v1/rules",K.rules,Q.rules.map((Z)=>({description:Z.description,scope:Z.scope??"ALL",strictness:Z.strictness??"MUST_FOLLOW"})),K.rules.length+Q.rules.length),corpId:z.corp.id,dryRun:!0,localFile:Q.resolvedPath,localRulesCount:Q.rules.length,remoteDraftCount:K.rules.length,changes:G,impactCount:G.created.length+G.updated.length+G.deleted.length,preservedRuleIds:[...G.updated.map((Z)=>Z.id),...G.unchanged.map((Z)=>Z.id)],warning:"Incremental mode preserves matched rule IDs and does not recode the draft rule set.",willPublish:Boolean(Y.publish),message:"Preview mode. Use --yes or confirm=true to apply the listed incremental changes to the remote draft."};for(let Z of G.deleted)await mQ($,Z.id);let W=[];for(let Z of G.created){let q=await CW($,{description:Z.description,scope:Z.scope??"ALL",strictness:UT(Z.strictness)});W.push({id:q.id,description:q.description,code:q.code})}let H=[];for(let Z of G.updated)await nS($,Z.id,{description:Z.rule.description,scope:Z.rule.scope??"ALL",strictness:UT(Z.rule.strictness)}),H.push(Z.id);let X=void 0;if(Y.publish){let Z=new Date().toISOString().slice(0,10).replace(/-/g,""),q=Y.versionName||`v-local-${Z}-${Date.now().toString().slice(-4)}`;X=await _W($,q)}return{corpId:z.corp.id,dryRun:!1,localFile:Q.resolvedPath,deletedRules:G.deleted.length,createdRules:W.length,updatedRules:H.length,unchangedRules:G.unchanged.length,preservedRuleIds:[...H,...G.unchanged.map((Z)=>Z.id)],recoded:!1,published:X??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:L.object({scenarios:L.array(L.string()).optional().describe("场景过滤"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().optional()}),handler:async($,Y)=>_3($,Y)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:L.object({documentId:L.string().describe("文档 ID")}),handler:async($,Y)=>Q10($,Y.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:L.object({title:L.string(),purpose:L.string(),content:L.string().describe("正文,通常为 Markdown"),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>IM($,Y)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:L.object({documentId:L.string(),title:L.string().optional(),purpose:L.string().optional(),content:L.string().optional(),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>{let{documentId:z,...U}=Y;return KM($,z,U)}},{name:"seal_approval_delete_document",description:"删除 Seal 审批知识文档",parameters:L.object({documentId:L.string().describe("知识文档 ID")}),handler:($,Y)=>GM($,Y.documentId)},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:L.object({keywords:L.array(L.string()).min(1).describe("关键词组"),matchMode:L.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:L.array(L.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:L.boolean().optional().describe("是否大小写敏感"),contextLines:L.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:L.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:L.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:L.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:L.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:L.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:L.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:L.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:L.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:L.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:L.array(L.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,Y,z)=>UB0($,z.corp,Y)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:L.object({documentLimit:L.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:L.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:L.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:L.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,Y,z)=>{let U=await ZM($,{documentLimit:Y.documentLimit,stylePreferencesEndpoint:z.corp.seal.endpoints.approvalStylePreferences});if(!Y.ruleVersionId&&!Y.ruleVersionNumber&&!Y.latestRuleVersion)return U;let Q=await Wl($,Y);return{...U,rules:{version:Il(Q),rules:Q.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:L.object({}),handler:async($,Y,z)=>o1($,z.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:L.object({tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).optional(),prohibitedPhrases:L.array(L.string()).optional(),customInstructions:L.string().optional()}),handler:async($,Y,z)=>m5($,Y,z.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:L.object({query:L.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,z)=>{let U=H10(await J$($,z.corp.seal.endpoints.approvalStylePreferences),Y.query);return{count:U.length,integrations:U.map((Q)=>Wq(Q,Y.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,z)=>{let U=v3(await J$($,z.corp.seal.endpoints.approvalStylePreferences),Y.selector);return Wq(U,Y.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({name:L.string().min(1).describe("集成名称"),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:yS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=fR0(z.corp),Q=Y.dryRun?await J10($,U,Y,z.corp.seal.endpoints.approvalStylePreferences):void 0,J=Q?.integration??await WM($,U,Y,z.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,Q.before,Q.after,1);return{saved:!0,integration:Wq(J,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),name:L.string().min(1).optional(),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().optional(),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional(),rotateSecret:L.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:yS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{if(Y.secret!==void 0&&Y.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let U=Y.dryRun?await K10($,Y.selector,Y,z.corp.seal.endpoints.approvalStylePreferences):void 0,Q=U?.integration??await I10($,Y.selector,Y,z.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,U.before,U.after,1);return{saved:!0,integration:Wq(Q,Y.secret!==void 0||Y.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:L.boolean().optional().describe("执行删除时必须明确传 true;dryRun 可省略"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行删除")}),handler:async($,Y,z)=>{if(!Y.confirm&&!Y.dryRun)throw Error("Refusing to delete Webhook integration without confirm=true");let U=Y.dryRun?await W10($,Y.selector,z.corp.seal.endpoints.approvalStylePreferences):void 0,Q=U?.integration??await G10($,Y.selector,z.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,U.before,U.after,1);return{deleted:!0,integration:Wq(Q,!1)}}},{name:"seal_webhook_replay",description:"将正式(生产)企业或指定企业的审批记录通过 Webhook 渠道重放到测试企业进行规则回归与模拟验证",parameters:L.object({recordId:L.string().optional().describe("待重放的单条审批记录 ID"),sn:L.string().optional().describe("待重放的单据编号 (sourceDocumentSN)"),sourceCorpId:L.string().optional().describe("单据来源企业 ID (若省略,基于绑定关系自动解析为正式企业)"),targetCorpId:L.string().optional().describe("重放目标企业 ID (若省略,基于绑定关系自动解析为测试企业)"),webhook:L.string().optional().describe("目标 Webhook 通道 ID 或名称"),limit:L.number().optional().describe("批量重放单据数量 (默认 1)"),status:L.string().optional().describe("单据状态过滤 (例如 completed, failed 等)"),snPrefix:L.string().optional().describe("重放单号前缀"),snSuffix:L.string().optional().describe("重放单号后缀"),dryRun:L.boolean().optional().describe("是否仅执行预检转换而不实际推送 (默认 false)"),force:L.boolean().optional().describe("若目标为生产环境,强制执行重放")}),handler:async($,Y,z)=>{let U=(G)=>{let W=s8(),H=_4();return f2(W,{stateful:H.stateful,defaultCorpId:H.defaultCorpId,corpId:G},h7())},{sourceCorp:Q,targetCorp:J}=fP({sourceCorpId:Y.sourceCorpId,targetCorpId:Y.targetCorpId,activeCorp:z.corp,force:Y.force},U),I=Q.id===z.corp.id?$:await j1(Q),K=J.id===z.corp.id?$:await j1(J);return sI({query:{recordId:Y.recordId,sn:Y.sn,limit:Y.limit,status:Y.status},sourceClient:I,targetClient:K,sourceCorp:Q,targetCorp:J,webhookSelector:Y.webhook,snPrefix:Y.snPrefix,snSuffix:Y.snSuffix,dryRun:Y.dryRun})}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),fromTimestamp:L.string().optional(),toTimestamp:L.string().optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:L.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,Y)=>{let z=Y.query?.trim(),U=await b4($,Vh1({...Y,search:z})),Q=await hR0($,U.records,{humanResult:Y.humanResult});return{...U,records:Q.map(_U),...Y.includeBridge?{bridge:zT(Q)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:L.object({date:L.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:L.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let z=Y.timezone??"Asia/Shanghai",U=Y.date??yR0(Date.now(),z)??"",Q=await b4($,{offset:Y.offset,limit:Y.limit??100,startDate:Y.startDate,endDate:Y.endDate,status:Y.status,taskMode:Y.taskMode,manualApprovalStatus:nR0(Y.manualApprovalStatus,Y.humanResult),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}),J=(await hR0($,Q.records,{query:Y.query,humanResult:Y.humanResult})).filter((I)=>yR0(I.createdAt,z)===U);return tv1(J,{date:U,timezone:z,fetched:Q.records.length,total:Q.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:L.object({startDate:L.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:L.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:L.number().int().positive().optional().describe("最大拉取记录条数"),status:L.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:L.boolean().optional().describe("是否仅导出已完成单据"),outputFile:L.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,Y,z)=>AP($,z.corp,Y)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:L.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);if(Y.summary)return ev1(z);let U={...z,aliases:Lh1(z),humanResult:vU(z)},Q=CR0(Y.fields);return Q.length>0?uR0(U,Q):U}},{name:"seal_approval_run_flow_get",description:"获取合思原生审批流流转时间线、待办节点、员工意见、驳回原因及版本变更指标,并对齐 AI 运行记录与人工行为",parameters:L.object({target:L.string().optional().describe("合思单号 (sourceDocumentSN) 或 Seal 运行记录 ID (recordId)"),recordId:L.string().optional().describe("Seal 运行记录 ID"),sourceDocumentSN:L.string().optional().describe("合思单号 (sourceDocumentSN)")}),handler:async($,Y,z)=>{let U=z.corp;if(U.source.type!=="hose")throw Error(`企业「${U.name||U.id}」非合思(hose)租户(来源类型: ${U.source.type}),暂不支持合思原生审批流分析。`);let Q=(Y.target||Y.sourceDocumentSN||Y.recordId)?.trim();if(!Q)throw Error("必须提供 target、recordId 或 sourceDocumentSN 参数。");let J=Q,I;try{if(I=await G4($,Q),I?.sourceDocumentSN||I?.sourceDocumentId)J=I.sourceDocumentSN||I.sourceDocumentId}catch{}let K=[];try{K=((await b4($,{search:J,sourceDocumentSN:J,limit:100})).records||[]).filter((F)=>F.sourceDocumentSN===J||F.sourceDocumentId===J||F.id===Q)}catch{}if(K.length===0&&I)K=[I];let G=I?.sourceDocumentId||K[0]?.sourceDocumentId||J,W=await mI(U),H=await BP(W,G);if(!H){console.error(`⚠️ 单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`);let V=QU(K,void 0),F=K.map((M)=>{let w=V.get(M.id);return{recordId:M.id,createdAt:M.createdAt,createdAtFormatted:M.createdAt?new Date(Number(M.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:M.taskMode,status:M.status,aiDecision:w?.aiDecision||"-",aiAction:w?.aiAction||"-",eHumanAction:"单据已删除",eHumanComment:"合思系统中未找到该单据流转记录(已在合思端删除或作废)",auditDrift:!1,auditDriftReason:void 0,operator:void 0}});return{sourceDocumentSN:J,corpId:U.id,corpName:U.name,sourceSystem:U.source.type,found:!1,deleted:!0,message:`单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`,flow:void 0,runsCount:K.length,runs:F,auditDrift:!1}}let X=QU(K,H),Z=K.map((V)=>{let F=X.get(V.id);return{recordId:V.id,createdAt:V.createdAt,createdAtFormatted:V.createdAt?new Date(Number(V.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:V.taskMode,status:V.status,aiDecision:F?.aiDecision||"-",aiAction:F?.aiAction||"-",eHumanAction:F?.eHumanAction||"-",eHumanComment:F?.eHumanComment||"-",auditDrift:F?.auditDrift??!1,auditDriftReason:F?.auditDriftReason,operator:F?.operator}}),q=Z.some((V)=>V.auditDrift);return{sourceDocumentSN:J,corpId:U.id,corpName:U.name,sourceSystem:U.source.type,flow:{backlogId:H.backlogId,flowId:H.flowId,billCode:H.billCode,title:H.title,state:H.state,rawState:H.rawState,currentNode:H.currentNode,specification:H.specification,submitter:H.submitter,owner:H.owner,metrics:H.metrics,rejections:H.rejections,staffOpinions:H.staffOpinions,timelineCount:H.history.length,pendingCount:H.pending.length,timeline:H.history,pending:H.pending},runsCount:K.length,runs:Z,auditDrift:q}}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);return $h1(z)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);return iR0(z)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,Y)=>{let z=await G4($,Y.recordId);return k2(z,{summary:Y.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional()}),handler:async($,Y)=>{let z=await G4($,Y.recordId);if(Y.summary)return KT(z);return{recordId:z.id,result:z.result}}},{name:"seal_approval_run_url_get",description:"获取审批单的 Web 控制台直达链接或合思企业协助链接,支持纯深度链接与带安全警告的免密 SSO 链接",parameters:L.object({recordId:L.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:L.string().optional().describe("合思/易快报单号"),sourceDocumentId:L.string().optional().describe("合思/易快报源单据 ID"),sso:L.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接 (SSO link)"),expiresIn:L.number().optional().describe("SSO 免密凭证有效秒数,默认 7200 (2小时)")}),handler:async($,Y,z)=>{let U=Boolean(Y.recordId||Y.sourceDocumentSN||Y.sourceDocumentId),Q=U?await Wh1($,Y):void 0,J=z.corp.source,I=J.type==="hose"?await G00(z.corp):void 0,K=S4(Q?.sourceExtendData?.hosecloudViewUrl),G=Hh1(z.corp),W=Q?.id?`${G}/approval-result/${Q.id}`:void 0,H,X,Z,q=Y.expiresIn??7200;if(Y.sso){if(!Q?.id)throw Error("recordId or sourceDocumentSN is required to generate an SSO approval result URL");if(J.type!=="hose")throw Error(`SSO direct links currently support Hose-integrated enterprises (corp '${z.corp.id}' uses '${J.type}'). For Seal-native enterprises, use 'seal-use delegation create' for authorized access.`);let V=await ow(z.corp,q),F=new URL(V.url).searchParams.get("accessToken");if(!F)throw Error("Failed to obtain Hose provisional authentication token");let M=`/approval-result/${Q.id}`;H=`${G}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(F)}&path=${encodeURIComponent(M)}`;try{let N=await H8($);X={name:N.user.name,staffId:J.staffId,isAdmin:N.user.isAdmin,providerUserId:N.user.providerUserId}}catch{X={staffId:J.staffId}}let w=X.name??"企业成员",O=X.isAdmin?" (管理员)":"";Z=`⚠️ 安全警示:该链接使用 [${w}${O}] 身份签发,在 Seal AI 拥有全站操作权限。链接具备 ${Math.round(q/3600*10)/10} 小时时效,仅供受信任人员排查使用,请勿在外部公开分享。`,console.error(`⚠️ 安全警示 (SSO 强化免密链接): `+`• 身份主体:${w}${O} `+`• 权限范围:持有该链接者在 Seal AI 中拥有该用户的完整操作权限(含系统设置与规则编辑) `+`• 时效性:换票凭证有效时间 ${q} 秒(${Math.round(q/60)} 分钟),在浏览器打开后将保留 30 天会话 -`+"• 安全边界:该凭证绝不包含且无法访问合思 (Hose) 主系统;仅限内部排查,严禁在外部公开分享!")}return{url:Y.sso?H:W,sealResultUrl:W,ssoUrl:H,type:Y.sso?"sso_link":"deep_link",expiresIn:Y.sso?q:void 0,identity:X,warning:Z,enterpriseAssistUrl:I,enterpriseUrl:I,hoseDomain:J.type==="hose"?Wh1(J.domain):void 0,documentUrl:K,recordId:Q?.id,sourceDocumentSN:Q?.sourceDocumentSN,sourceDocumentId:Q?.sourceDocumentId,sourceSystem:Q?.sourceSystem,missing:{enterpriseAssistUrl:I?void 0:"Current enterprise source is not Hose, so no Hose enterprise assist URL is configured.",documentUrl:U&&!K?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:L.object({query:L.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:L.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:L.string().optional().describe("模拟批次 ID"),latest:L.boolean().optional().describe("只返回最新一条匹配记录"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("限制返回字段"),limit:L.number().int().positive().max(100).optional(),maxScan:L.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:L.boolean().optional()}),handler:async($,Y)=>{let z=Y.sn??Y.query;if(!z)throw Error("query or sn is required");let U=await Hh1($,{query:z,sn:Y.sn,batchId:Y.batchId,latest:Y.latest,limit:Y.latest?1:Y.limit??20,maxScan:Y.maxScan??1000}),Q=await Promise.all(U.records.map((K)=>G4($,K.id))),J=CR0(Y.fields),I=Q.map((K)=>Ih1(K,J));return{query:z,sourceDocumentSN:Y.sn,simulationBatchId:Y.batchId,latest:Y.latest??!1,total:U.total,scanned:U.scanned,matched:I.length,records:I,next:{getSummary:"seal-home approval-runs get --summary",getRuleVersion:"seal-home rules version ",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...Y.includeBridge?{bridge:$T(Q)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:L.object({batchId:L.string().describe("simulation batch ID"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let z=Vl(await pS($,Y.batchId),Y.query);return{batchId:Y.batchId,count:z.length,records:z.map(_U),bridge:$T(z)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:L.object({mode:L.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:L.array(L.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:L.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:L.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:L.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:L.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:L.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:L.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:L.array(L.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:L.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:L.record(L.string(),L.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),noWait:L.boolean().optional().describe("创建后立即返回异步票据,不等待批次完成"),rawParams:L.record(L.string(),L.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,Y)=>{let z=Y.mode??"hosecloud",U=Y.signKey;if(z==="hosecloud"&&!U){if(U=(await mS($)).find((K)=>K.signKey)?.signKey,!U)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let Q=ov1({mode:z,flowIds:Y.flowIds,rejectNodeName:Y.rejectNodeName,thinkingDepthOverride:Y.thinkingDepthOverride,skipInvoiceGeneration:Y.skipInvoiceGeneration,skipExpenseExtraction:Y.skipExpenseExtraction,disableAttachmentCache:Y.disableAttachmentCache,signKey:U,packageIds:Y.packageIds,templateId:Y.templateId,schemaConfig:Y.schemaConfig,rawParams:Y.rawParams}),J=z==="material_pack"?await w10($,Q):await F10($,Q);return{...J,created:!0,noWait:Y.noWait??!0,asyncTicket:J.batchId,next:{status:`seal-use simulation status ${J.batchId}`,wait:`seal-use simulation wait ${J.batchId}`,getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records ",listBatches:"seal-home simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:L.object({limit:L.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,Y)=>{let z=await M10($,{limit:Y.limit??50});return{count:z.length,batches:z.map(rv1),next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{return{batch:await ZM($,Y.batchId),next:{getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_status",description:"单次读取 Seal 模拟批次状态,不阻塞等待;适合根据异步票据轮询",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{let z=await ZM($,Y.batchId),U=String(z.status??"UNKNOWN").toUpperCase(),Q=["COMPLETED","FAILED","CANCELLED","CANCELED"].includes(U);return{batchId:Y.batchId,status:U,terminal:Q,totalCount:z.totalCount,processedCount:z.processedCount,successCount:z.successCount,failedCount:z.failedCount,createdAt:z.createdAt,updatedAt:z.updatedAt,next:Q?{getRecords:`seal-use simulation batch-records ${Y.batchId}`}:{status:`seal-use simulation status ${Y.batchId}`,wait:`seal-use simulation wait ${Y.batchId}`}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:L.object({}),handler:async($)=>{let Y=await O10($);return{count:Y.length,templates:Y.map((z)=>({id:z.id,name:z.name,description:z.description,approvalSystem:z.approvalSystem,hosecloudConfig:z.hosecloudConfig,updatedAt:z.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:L.object({}),handler:async($)=>{let[Y,z]=await Promise.all([dS($),mS($)]);return{status:Y,hosecloudIntegrations:z}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:L.object({filePath:L.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,Y)=>{if(!Y.filePath)throw Error("filePath is required");let z=uv1(Y.filePath),U=Y.filePath.split(/[\\/]/).pop()??"material-pack.zip",Q=await A10($,{fileName:U,fileBuffer:z});return{materialPackage:Q,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${Q.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:L.object({filePath:L.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,Y,z)=>{return rA($,z.corp,{filePath:Y.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:L.object({filePath:L.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:L.enum(["preview","push"]).default("preview"),webhook:L.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,Y,z)=>{let U=RU(Y.filePath);if(Y.mode!=="push")return CU(U.fileBuffer,U.fileName);let Q=await J$($),J;if(Y.webhook)J=v3(Q,Y.webhook);else if(Q.length===1)J=Q[0];else if(Q.length>1){let I=Q.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${I}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return oA(U.fileBuffer,U.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy,customHeaders:B6(z.corp.seal)})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:L.object({recordId:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),simulationBatchId:L.string().optional(),limit:L.number().int().positive().max(100).optional()}),handler:async($,Y)=>{let U=(Y.simulationBatchId?await pS($,Y.simulationBatchId):(await b4($,{limit:Y.limit??50,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records).filter((Q)=>Vh1(Q,{recordId:Y.recordId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}));return{count:U.length,records:U.map(_U),bridge:$T(U)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:L.object({batchId:L.string().describe("模拟批次 ID"),timeout:L.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:L.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,Y)=>{let z=ER0(Y.timeout??"10m"),U=ER0(Y.pollInterval??"2s"),Q=Date.now();while(!0){let J=await ZM($,Y.batchId),I=(J.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(I))return{batch:J,completed:!0,status:I,elapsedMs:Date.now()-Q,next:{getRecords:`seal-home simulation batch-records ${Y.batchId}`}};if(Date.now()-Q>=z)throw Error(`等待模拟批次 ${Y.batchId} 超时(已等待 ${(Date.now()-Q)/1000}s)。可稍后执行 seal-home simulation get ${Y.batchId} 查看状态`);await new Promise((K)=>setTimeout(K,U))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:L.object({batchId:L.string().describe("模拟批次 ID")}),handler:async($,Y)=>{let z=await N10($,Y.batchId);return{batchId:Y.batchId,cleaned:!0,result:z}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:L.object({signKey:L.string().optional().describe("合思集成 sign-key")}),handler:async($,Y)=>{let z=await D10($,Y.signKey);return{count:z.length,specifications:z}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:L.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:L.object({}),handler:async($)=>{let z=((await o1($)).integrations??[]).filter((U)=>U.type==="hosecloud");return{count:z.length,integrations:z.map(tA)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y)=>{let U=((await o1($)).integrations??[]).find((Q)=>Q.type==="hosecloud"&&Q.signKey===Y.signKey);if(!U)throw Error(`未找到合思配置:${Y.signKey}`);return tA(U)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:L.object({}),handler:async($)=>{let Y=await dS($),U=((await o1($)).integrations??[]).filter((Q)=>Q.type==="hosecloud");return{status:Y,integrations:U.map(tA)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:L.object({apiKey:L.string().describe("合思 API Key (appKey)"),apiSecret:L.string().describe("合思 API Secret (appSecurity)"),signKey:L.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:L.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let{dryRun:U,...Q}=Y,J=Q.apiKey??Q.appKey,I=Q.apiSecret??Q.appSecurity;if(!J||!I)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let K={...Q,apiKey:J,apiSecret:I},G=K.apiOrigin??"production",W=K.customApiUrl;if(!W&&G!=="custom")try{let M=await cQ(K.apiKey,K.apiSecret);if(M?.domain)if(M.domain==="https://app.ekuaibao.com")G="production",W=void 0;else G="custom",W=M.domain}catch{}if(G==="custom"&&!W)throw Error("自定义合思环境必须提供 customApiUrl");let H=await B10($,{apiKey:K.apiKey,apiSecret:K.apiSecret,apiOrigin:G,customApiUrl:W}),X=await o1($),Z=K.signKey??bv1(6).toString("hex"),q={type:"hosecloud",...K,apiOrigin:G,...W?{customApiUrl:W}:{},signKey:Z,corporationId:H.corporationId},V=(X.integrations??[]).filter((M)=>M.type!=="hosecloud"||M.signKey!==Z);V.push(q);let F={...X,integrationSystem:"hosecloud",integrations:V};if(U)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,X,F,1);return await d5($,F,z.corp.seal.endpoints.approvalStylePreferences),console.error(`✓ 配置已保存 (signKey: ${Z})`),console.error(`\uD83D\uDC49 Next action: seal-use deploy hosecloud sync ${Z} --corp ${z.corp.id}`),{integration:tA(q)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y,z)=>{let Q=((await o1($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===Y.signKey);if(!Q)throw Error(`未找到合思配置:${Y.signKey}`);let J=(z.corp.seal.url??`https://${z.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),I=Q.outboundName??"SealAI 审批",K=await P10($,{signKey:Y.signKey,webhookUrl:`${J}/api/hosecloud/outbound?config_id=${encodeURIComponent(Y.signKey)}`,completionWebhookUrl:`${J}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(Y.signKey)}`,messageName:I,mode:Q.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${I}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${I}"。`),{signKey:Y.signKey,synced:!0,result:K}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:L.object({}),handler:async($)=>{let Y=await o1($);return{decisionPreferences:Y.decisionPreferences,thinkingDepthPreference:Y.thinkingDepthPreference,ruleSetVersionId:Y.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:L.object({explicitApprove:L.string().optional(),explicitReject:L.string().optional(),exemptApprove:L.string().optional(),review:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,I={...U,decisionPreferences:{...U.decisionPreferences,...J}};if(Q)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,U,I,1);return await d5($,I,z.corp.seal.endpoints.approvalStylePreferences),{decisionPreferences:I.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:L.object({defaultLevel:L.enum(["medium","high"]).describe("默认思考深度"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),Q={...U,thinkingDepthPreference:{defaultLevel:Y.defaultLevel,routingPolicies:U.thinkingDepthPreference?.routingPolicies??[]}};if(Y.dryRun)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,U,Q,1);return await d5($,Q,z.corp.seal.endpoints.approvalStylePreferences),{thinkingDepthPreference:Q.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:L.object({}),handler:async($)=>{return{policies:(await o1($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:uS.extend({dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,K=(U.thinkingDepthPreference?.routingPolicies??[]).filter((W)=>W.id!==J.id);K.push(J);let G={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:K}};if(Q)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,U,G,1);return await d5($,G,z.corp.seal.endpoints.approvalStylePreferences),{policy:J,policies:K}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:L.object({policyId:L.string().describe("路由策略 ID"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),Q=U.thinkingDepthPreference?.routingPolicies??[],J=Q.filter((K)=>K.id!==Y.policyId);if(J.length===Q.length)throw Error(`未找到路由策略:${Y.policyId}`);let I={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};if(Y.dryRun)return C9(z,z.corp.seal.endpoints.approvalStylePreferences,U,I,1);return await d5($,I,z.corp.seal.endpoints.approvalStylePreferences),{removedId:Y.policyId,policies:J}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:L.object({since:L.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:L.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional()}),handler:async($,Y)=>{let z=await b4($,{limit:1000,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode}),U=Y.dedupeBy??"sourceDocumentSN",Q=z.records,J={},I={},K=new Set;for(let G of Q){let W=G.status??"unknown";J[W]=(J[W]??0)+1;let H=G.sourceSystem??"unknown";I[H]=(I[H]??0)+1;let X=G[U];if(X)K.add(String(X))}return{total:Q.length,dedupeBy:U,unique:K.size,byStatus:J,bySourceSystem:I}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:L.object({status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional(),search:L.string().optional(),startDate:L.string().optional().describe("起始时间戳(毫秒)或日期字符串"),endDate:L.string().optional().describe("结束时间戳(毫秒)或日期字符串")}),handler:async($,Y)=>{let z=await b4($,{limit:1,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode,search:Y.search,startDate:y2(Y.startDate,!1),endDate:y2(Y.endDate,!0)});return{total:z.total??z.records.length}}}],iv1=new Set(["seal_approval_context_get","seal_approval_document_get","seal_approval_documents_list","seal_approval_rule_get","seal_approval_rule_version_get","seal_approval_rule_versions_list","seal_approval_rules_lint","seal_approval_rules_list","seal_approval_rules_pull","seal_approval_run_attachments_get","seal_approval_run_cited_rules_get","seal_approval_run_document_summary_get","seal_approval_run_flow_get","seal_approval_run_get","seal_approval_run_langfuse_bridge_get","seal_approval_run_pick","seal_approval_run_result_get","seal_approval_run_url_get","seal_approval_runs_count","seal_approval_runs_export","seal_approval_runs_search","seal_approval_runs_stats","seal_approval_runs_summary","seal_approval_search","seal_approval_style_preferences_get","seal_billing_features_list","seal_billing_plans_list","seal_billing_status_get","seal_contacts_department_children_list","seal_contacts_department_get","seal_contacts_department_users_list","seal_contacts_departments_root_list","seal_contacts_last_sync_time_get","seal_delegation_list","seal_deploy_hosecloud_get","seal_deploy_hosecloud_list","seal_deploy_hosecloud_requirements","seal_deploy_hosecloud_status","seal_expenses_list","seal_insight_export","seal_insight_performance_get","seal_insight_risks_by_tag_get","seal_insight_stats_get","seal_invoices_list","seal_llm_config_get","seal_llm_providers_list","seal_permissions_available_list","seal_permissions_configs_list","seal_preference_get","seal_preference_thinking_depth_policies_list","seal_session_get","seal_simulation_batch_get","seal_simulation_batch_records_get","seal_simulation_batch_status","seal_simulation_batch_wait","seal_simulation_batches_list","seal_simulation_feishu_approval_definitions_list","seal_simulation_integrations_get","seal_simulation_specifications_list","seal_simulation_templates_get","seal_user_get","seal_user_search","seal_webhook_get","seal_webhook_list","seal_webhook_ready","seal_whoami"]);cv1=new Map(Wq.map(($)=>[$.name,$]))});var lR0={};x8(lR0,{webhookShowSecretOption:()=>WT,webhookRateOption:()=>GT,stringOption:()=>S,splitOption:()=>u6,safeFileName:()=>IT,ruleVersionSearchOptions:()=>wl,ruleVersionGetOptions:()=>Ol,ruleVersionContextOptions:()=>Ml,requiredStringAlias:()=>Lh1,requiredString:()=>n7,parseWebhookMode:()=>KT,parseStateMode:()=>Fl,parseRuleVersionSelector:()=>vK,parseArgs:()=>Zq,optionalString:()=>H4,optionalNumber:()=>Ll,numberOption:()=>s0,materialPackFilePolicyOptions:()=>hK,jsonObject:()=>y8,inferCorpIdFromStaffId:()=>Fh1,booleanOption:()=>F0});function Zq($){let Y=[],z={},U;for(let Q=0;Q<$.length;Q+=1){let J=$[Q];if(!J)continue;if(J==="--json"){let I=$[Q+1];if(!I)throw d4("--json requires a JSON object argument");try{U=JSON.parse(I)}catch(K){throw d4(`Invalid JSON: ${K instanceof Error?K.message:String(K)}`)}Q+=1;continue}if(J.startsWith("-")){let I=J.replace(/^-+/,"");if(I.includes("=")){let G=I.indexOf("="),W=I.slice(0,G),H=I.slice(G+1);z[W]=H;continue}let K=$[Q+1];if(!K||K.startsWith("-"))z[I]=!0;else z[I]=K,Q+=1;continue}Y.push(J)}return{command:Y,options:z,json:U}}function y8($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw d4("--json must be an object");return $}function S($){return typeof $==="string"?$:void 0}function s0($){if(typeof $!=="string")return;let Y=Number($);if(!Number.isFinite(Y))throw d4(`Invalid number: ${$}`);return Y}function u6($){if(typeof $!=="string")return;let Y=$.split(",").map((z)=>z.trim()).filter(Boolean);return Y.length?Y:void 0}function F0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw d4(`Invalid boolean: ${$}`)}function n7($,Y){let z=H4($,Y);if(!z)throw Error(`Missing required JSON field: ${Y}`);return z}function Lh1($,Y){for(let z of Y){let U=H4($,z);if(U)return U}throw Error(`Missing required JSON field: ${Y.join(" or ")}`)}function H4($,Y){let z=$[Y];return typeof z==="string"&&z.trim()?z.trim():void 0}function Ll($,Y){let z=$[Y];return typeof z==="number"&&Number.isFinite(z)?z:void 0}function Fh1($){let[Y]=$.split(":",1);return Y||void 0}function IT($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Fl($){let Y=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(Y))return!0;if(["stateless","无状态"].includes(Y))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function vK($){if($==="latest")return{latest:!0};let Y=Number($);if(Number.isInteger(Y)&&Y>0)return{versionNumber:Y};return{versionId:$}}function wl($){if(!$)return{};let Y=vK($);if("latest"in Y)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionScope:"version",ruleVersionNumber:Y.versionNumber};return{ruleVersionScope:"version",ruleVersionId:Y.versionId}}function Ml($){if(!$)return{};let Y=vK($);if("latest"in Y)return{latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionNumber:Y.versionNumber};return{ruleVersionId:Y.versionId}}function Ol($){if(!$)return{};let Y=vK($);if("latest"in Y)return{latest:!0};if("versionNumber"in Y)return{versionNumber:Y.versionNumber};return{versionId:Y.versionId}}function KT($){if(!$)return;let Y=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),U={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[Y];if(!U)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return U}function GT($){let Y=s0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(Y!==void 0&&(!Number.isInteger(Y)||Y<0||Y>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return Y}function WT($){return F0($.showSecret)??F0($["show-secret"])}function hK($){let Y=F0($.clearMaxFileSize??$["clear-max-file-size"])===!0,z=s0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),U=s0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),Q=u6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(z===void 0&&U===void 0&&Q===void 0&&!Y)return;return{minFileSizeBytes:z,maxFileSizeBytes:Y?null:U,allowedExtensions:Q}}var D4=o(()=>{L$()});function sR0($){let Y=Boolean($.options.help||$.options.h);if(!$.command.length)return{isHelp:!0,target:[]};if($.command[0]==="help")return{isHelp:!0,target:$.command.slice(1)};let z=$.command.indexOf("help");if(z!==-1)return{isHelp:!0,target:$.command.filter((Q,J)=>J!==z)};if(Y)return{isHelp:!0,target:[...$.command]};return{isHelp:!1,target:[]}}function aR0($=[]){if(!$.length)return oR0();let Y=$[0];if(!Y)return oR0();let z=$.slice(1),U=wh1(Y),Q=rR0.find((K)=>K.area===U);if(!Q)throw d4(`Unknown command: ${$.join(" ")}. Run 'seal-use help' for available commands.`);if(!z.length)return Nh1(Q);let J=z.join(" ").toLowerCase(),I=Mh1(Q,J,z);if(!I)throw d4(`Unknown ${Q.area} command: ${z.join(" ")}. Run 'seal-use ${Q.area} --help' for available commands.`);return Oh1(Q,I)}function wh1($){let Y=$.toLowerCase();if(Y==="corp")return"corps";if(Y==="webhooks")return"webhook";if(Y==="preferences")return"preference";if(Y==="changelog")return"update";if(Y==="serve")return"http";if(Y==="mcp-config")return"mcp";if(Y==="server")return"mcp";return Y}function Mh1($,Y,z){let U=$.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Y)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Y))return!0;return!1});if(U)return U;let Q=z[0]?.toLowerCase();if(!Q)return;return $.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Q)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Q))return!0;return!1})}function Oh1($,Y){let z=[],U=Y.name?`seal-use ${$.area} ${Y.name}`:`seal-use ${$.area}`,Q=Y.summary?`${U} - ${Y.summary}`:U;z.push(Q),z.push(""),z.push("Usage:");for(let J of Y.usage)z.push(` ${J}`);if(Y.options&&Y.options.length>0){z.push(""),z.push("Options:");let J=Math.max(...Y.options.map((I)=>I.flag.length));for(let I of Y.options)z.push(` ${I.flag.padEnd(J+2)} ${I.description}`)}if(Y.description)z.push(""),z.push("Description:"),z.push(` ${Y.description}`);return z.join(` -`)}function Nh1($){let Y=[];if(Y.push(`seal-use ${$.area} - ${$.title}`),$.description)Y.push($.description);Y.push(""),Y.push("Usage:");for(let z of $.commands)for(let U of z.usage)Y.push(` ${U}`);if($.commands.some((z)=>z.name))Y.push(""),Y.push(`Run 'seal-use ${$.area} --help' for details on a specific command.`);return Y.join(` +`+"• 安全边界:该凭证绝不包含且无法访问合思 (Hose) 主系统;仅限内部排查,严禁在外部公开分享!")}return{url:Y.sso?H:W,sealResultUrl:W,ssoUrl:H,type:Y.sso?"sso_link":"deep_link",expiresIn:Y.sso?q:void 0,identity:X,warning:Z,enterpriseAssistUrl:I,enterpriseUrl:I,hoseDomain:J.type==="hose"?Xh1(J.domain):void 0,documentUrl:K,recordId:Q?.id,sourceDocumentSN:Q?.sourceDocumentSN,sourceDocumentId:Q?.sourceDocumentId,sourceSystem:Q?.sourceSystem,missing:{enterpriseAssistUrl:I?void 0:"Current enterprise source is not Hose, so no Hose enterprise assist URL is configured.",documentUrl:U&&!K?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:L.object({query:L.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:L.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:L.string().optional().describe("模拟批次 ID"),latest:L.boolean().optional().describe("只返回最新一条匹配记录"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("限制返回字段"),limit:L.number().int().positive().max(100).optional(),maxScan:L.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:L.boolean().optional()}),handler:async($,Y)=>{let z=Y.sn??Y.query;if(!z)throw Error("query or sn is required");let U=await Zh1($,{query:z,sn:Y.sn,batchId:Y.batchId,latest:Y.latest,limit:Y.latest?1:Y.limit??20,maxScan:Y.maxScan??1000}),Q=await Promise.all(U.records.map((K)=>G4($,K.id))),J=CR0(Y.fields),I=Q.map((K)=>Gh1(K,J));return{query:z,sourceDocumentSN:Y.sn,simulationBatchId:Y.batchId,latest:Y.latest??!1,total:U.total,scanned:U.scanned,matched:I.length,records:I,next:{getSummary:"seal-home approval-runs get --summary",getRuleVersion:"seal-home rules version ",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...Y.includeBridge?{bridge:zT(Q)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:L.object({batchId:L.string().describe("simulation batch ID"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let z=Vl(await mS($,Y.batchId),Y.query);return{batchId:Y.batchId,count:z.length,records:z.map(_U),bridge:zT(z)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:L.object({mode:L.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:L.array(L.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:L.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:L.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:L.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:L.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:L.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:L.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:L.array(L.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:L.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:L.record(L.string(),L.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),noWait:L.boolean().optional().describe("创建后立即返回异步票据,不等待批次完成"),rawParams:L.record(L.string(),L.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,Y)=>{let z=Y.mode??"hosecloud",U=Y.signKey;if(z==="hosecloud"&&!U){if(U=(await oS($)).find((K)=>K.signKey)?.signKey,!U)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let Q=sv1({mode:z,flowIds:Y.flowIds,rejectNodeName:Y.rejectNodeName,thinkingDepthOverride:Y.thinkingDepthOverride,skipInvoiceGeneration:Y.skipInvoiceGeneration,skipExpenseExtraction:Y.skipExpenseExtraction,disableAttachmentCache:Y.disableAttachmentCache,signKey:U,packageIds:Y.packageIds,templateId:Y.templateId,schemaConfig:Y.schemaConfig,rawParams:Y.rawParams}),J=z==="material_pack"?await w10($,Q):await F10($,Q);return{...J,created:!0,noWait:Y.noWait??!0,asyncTicket:J.batchId,next:{status:`seal-use simulation status ${J.batchId}`,wait:`seal-use simulation wait ${J.batchId}`,getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records ",listBatches:"seal-home simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:L.object({limit:L.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,Y)=>{let z=await M10($,{limit:Y.limit??50});return{count:z.length,batches:z.map(av1),next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{return{batch:await qM($,Y.batchId),next:{getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_status",description:"单次读取 Seal 模拟批次状态,不阻塞等待;适合根据异步票据轮询",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{let z=await qM($,Y.batchId),U=String(z.status??"UNKNOWN").toUpperCase(),Q=["COMPLETED","FAILED","CANCELLED","CANCELED"].includes(U);return{batchId:Y.batchId,status:U,terminal:Q,totalCount:z.totalCount,processedCount:z.processedCount,successCount:z.successCount,failedCount:z.failedCount,createdAt:z.createdAt,updatedAt:z.updatedAt,next:Q?{getRecords:`seal-use simulation batch-records ${Y.batchId}`}:{status:`seal-use simulation status ${Y.batchId}`,wait:`seal-use simulation wait ${Y.batchId}`}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:L.object({}),handler:async($)=>{let Y=await O10($);return{count:Y.length,templates:Y.map((z)=>({id:z.id,name:z.name,description:z.description,approvalSystem:z.approvalSystem,hosecloudConfig:z.hosecloudConfig,updatedAt:z.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:L.object({}),handler:async($)=>{let[Y,z]=await Promise.all([lS($),oS($)]);return{status:Y,hosecloudIntegrations:z}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:L.object({filePath:L.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,Y)=>{if(!Y.filePath)throw Error("filePath is required");let z=iv1(Y.filePath),U=Y.filePath.split(/[\\/]/).pop()??"material-pack.zip",Q=await A10($,{fileName:U,fileBuffer:z});return{materialPackage:Q,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${Q.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:L.object({filePath:L.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,Y,z)=>{return aA($,z.corp,{filePath:Y.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:L.object({filePath:L.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:L.enum(["preview","push"]).default("preview"),webhook:L.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,Y,z)=>{let U=RU(Y.filePath);if(Y.mode!=="push")return CU(U.fileBuffer,U.fileName);let Q=await J$($),J;if(Y.webhook)J=v3(Q,Y.webhook);else if(Q.length===1)J=Q[0];else if(Q.length>1){let I=Q.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${I}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return sA(U.fileBuffer,U.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy,customHeaders:B6(z.corp.seal)})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:L.object({recordId:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),simulationBatchId:L.string().optional(),limit:L.number().int().positive().max(100).optional()}),handler:async($,Y)=>{let U=(Y.simulationBatchId?await mS($,Y.simulationBatchId):(await b4($,{limit:Y.limit??50,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records).filter((Q)=>Fh1(Q,{recordId:Y.recordId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}));return{count:U.length,records:U.map(_U),bridge:zT(U)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:L.object({batchId:L.string().describe("模拟批次 ID"),timeout:L.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:L.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,Y)=>{let z=ER0(Y.timeout??"10m"),U=ER0(Y.pollInterval??"2s"),Q=Date.now();while(!0){let J=await qM($,Y.batchId),I=(J.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(I))return{batch:J,completed:!0,status:I,elapsedMs:Date.now()-Q,next:{getRecords:`seal-home simulation batch-records ${Y.batchId}`}};if(Date.now()-Q>=z)throw Error(`等待模拟批次 ${Y.batchId} 超时(已等待 ${(Date.now()-Q)/1000}s)。可稍后执行 seal-home simulation get ${Y.batchId} 查看状态`);await new Promise((K)=>setTimeout(K,U))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:L.object({batchId:L.string().describe("模拟批次 ID")}),handler:async($,Y)=>{let z=await N10($,Y.batchId);return{batchId:Y.batchId,cleaned:!0,result:z}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:L.object({signKey:L.string().optional().describe("合思集成 sign-key")}),handler:async($,Y)=>{let z=await D10($,Y.signKey);return{count:z.length,specifications:z}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:L.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:L.object({}),handler:async($)=>{let z=((await o1($)).integrations??[]).filter((U)=>U.type==="hosecloud");return{count:z.length,integrations:z.map($T)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y)=>{let U=((await o1($)).integrations??[]).find((Q)=>Q.type==="hosecloud"&&Q.signKey===Y.signKey);if(!U)throw Error(`未找到合思配置:${Y.signKey}`);return $T(U)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:L.object({}),handler:async($)=>{let Y=await lS($),U=((await o1($)).integrations??[]).filter((Q)=>Q.type==="hosecloud");return{status:Y,integrations:U.map($T)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:L.object({apiKey:L.string().describe("合思 API Key (appKey)"),apiSecret:L.string().describe("合思 API Secret (appSecurity)"),signKey:L.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:L.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let{dryRun:U,...Q}=Y,J=Q.apiKey??Q.appKey,I=Q.apiSecret??Q.appSecurity;if(!J||!I)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let K={...Q,apiKey:J,apiSecret:I},G=K.apiOrigin??"production",W=K.customApiUrl;if(!W&&G!=="custom")try{let M=await cQ(K.apiKey,K.apiSecret);if(M?.domain)if(M.domain==="https://app.ekuaibao.com")G="production",W=void 0;else G="custom",W=M.domain}catch{}if(G==="custom"&&!W)throw Error("自定义合思环境必须提供 customApiUrl");let H=await B10($,{apiKey:K.apiKey,apiSecret:K.apiSecret,apiOrigin:G,customApiUrl:W}),X=await o1($),Z=K.signKey??cv1(6).toString("hex"),q={type:"hosecloud",...K,apiOrigin:G,...W?{customApiUrl:W}:{},signKey:Z,corporationId:H.corporationId},V=(X.integrations??[]).filter((M)=>M.type!=="hosecloud"||M.signKey!==Z);V.push(q);let F={...X,integrationSystem:"hosecloud",integrations:V};if(U)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,X,F,1);return await m5($,F,z.corp.seal.endpoints.approvalStylePreferences),console.error(`✓ 配置已保存 (signKey: ${Z})`),console.error(`\uD83D\uDC49 Next action: seal-use deploy hosecloud sync ${Z} --corp ${z.corp.id}`),{integration:$T(q)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y,z)=>{let Q=((await o1($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===Y.signKey);if(!Q)throw Error(`未找到合思配置:${Y.signKey}`);let J=(z.corp.seal.url??`https://${z.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),I=Q.outboundName??"SealAI 审批",K=await P10($,{signKey:Y.signKey,webhookUrl:`${J}/api/hosecloud/outbound?config_id=${encodeURIComponent(Y.signKey)}`,completionWebhookUrl:`${J}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(Y.signKey)}`,messageName:I,mode:Q.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${I}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${I}"。`),{signKey:Y.signKey,synced:!0,result:K}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:L.object({}),handler:async($)=>{let Y=await o1($);return{decisionPreferences:Y.decisionPreferences,thinkingDepthPreference:Y.thinkingDepthPreference,ruleSetVersionId:Y.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:L.object({explicitApprove:L.string().optional(),explicitReject:L.string().optional(),exemptApprove:L.string().optional(),review:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,I={...U,decisionPreferences:{...U.decisionPreferences,...J}};if(Q)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,U,I,1);return await m5($,I,z.corp.seal.endpoints.approvalStylePreferences),{decisionPreferences:I.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:L.object({defaultLevel:L.enum(["medium","high"]).describe("默认思考深度"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),Q={...U,thinkingDepthPreference:{defaultLevel:Y.defaultLevel,routingPolicies:U.thinkingDepthPreference?.routingPolicies??[]}};if(Y.dryRun)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,U,Q,1);return await m5($,Q,z.corp.seal.endpoints.approvalStylePreferences),{thinkingDepthPreference:Q.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:L.object({}),handler:async($)=>{return{policies:(await o1($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:iS.extend({dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,K=(U.thinkingDepthPreference?.routingPolicies??[]).filter((W)=>W.id!==J.id);K.push(J);let G={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:K}};if(Q)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,U,G,1);return await m5($,G,z.corp.seal.endpoints.approvalStylePreferences),{policy:J,policies:K}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:L.object({policyId:L.string().describe("路由策略 ID"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,z)=>{let U=await o1($,z.corp.seal.endpoints.approvalStylePreferences),Q=U.thinkingDepthPreference?.routingPolicies??[],J=Q.filter((K)=>K.id!==Y.policyId);if(J.length===Q.length)throw Error(`未找到路由策略:${Y.policyId}`);let I={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};if(Y.dryRun)return R9(z,z.corp.seal.endpoints.approvalStylePreferences,U,I,1);return await m5($,I,z.corp.seal.endpoints.approvalStylePreferences),{removedId:Y.policyId,policies:J}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:L.object({since:L.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:L.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional()}),handler:async($,Y)=>{let z=await b4($,{limit:1000,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode}),U=Y.dedupeBy??"sourceDocumentSN",Q=z.records,J={},I={},K=new Set;for(let G of Q){let W=G.status??"unknown";J[W]=(J[W]??0)+1;let H=G.sourceSystem??"unknown";I[H]=(I[H]??0)+1;let X=G[U];if(X)K.add(String(X))}return{total:Q.length,dedupeBy:U,unique:K.size,byStatus:J,bySourceSystem:I}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:L.object({status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional(),search:L.string().optional(),startDate:L.string().optional().describe("起始时间戳(毫秒)或日期字符串"),endDate:L.string().optional().describe("结束时间戳(毫秒)或日期字符串")}),handler:async($,Y)=>{let z=await b4($,{limit:1,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode,search:Y.search,startDate:y2(Y.startDate,!1),endDate:y2(Y.endDate,!0)});return{total:z.total??z.records.length}}}],nv1=new Set(["seal_approval_context_get","seal_approval_document_get","seal_approval_documents_list","seal_approval_rule_get","seal_approval_rule_version_get","seal_approval_rule_versions_list","seal_approval_rules_lint","seal_approval_rules_list","seal_approval_rules_pull","seal_approval_run_attachments_get","seal_approval_run_cited_rules_get","seal_approval_run_document_summary_get","seal_approval_run_flow_get","seal_approval_run_get","seal_approval_run_langfuse_bridge_get","seal_approval_run_pick","seal_approval_run_result_get","seal_approval_run_url_get","seal_approval_runs_count","seal_approval_runs_export","seal_approval_runs_search","seal_approval_runs_stats","seal_approval_runs_summary","seal_approval_search","seal_approval_style_preferences_get","seal_billing_features_list","seal_billing_plans_list","seal_billing_status_get","seal_contacts_department_children_list","seal_contacts_department_get","seal_contacts_department_users_list","seal_contacts_departments_root_list","seal_contacts_last_sync_time_get","seal_delegation_list","seal_deploy_hosecloud_get","seal_deploy_hosecloud_list","seal_deploy_hosecloud_requirements","seal_deploy_hosecloud_status","seal_expenses_list","seal_insight_export","seal_insight_performance_get","seal_insight_risks_by_tag_get","seal_insight_stats_get","seal_invoices_list","seal_llm_config_get","seal_llm_providers_list","seal_permissions_available_list","seal_permissions_configs_list","seal_preference_get","seal_preference_thinking_depth_policies_list","seal_session_get","seal_simulation_batch_get","seal_simulation_batch_records_get","seal_simulation_batch_status","seal_simulation_batch_wait","seal_simulation_batches_list","seal_simulation_feishu_approval_definitions_list","seal_simulation_integrations_get","seal_simulation_specifications_list","seal_simulation_templates_get","seal_user_get","seal_user_search","seal_webhook_get","seal_webhook_list","seal_webhook_ready","seal_whoami"]);pv1=new Map(Hq.map(($)=>[$.name,$]))});var lR0={};x8(lR0,{webhookShowSecretOption:()=>XT,webhookRateOption:()=>HT,stringOption:()=>S,splitOption:()=>u6,safeFileName:()=>GT,ruleVersionSearchOptions:()=>wl,ruleVersionGetOptions:()=>Ol,ruleVersionContextOptions:()=>Ml,requiredStringAlias:()=>wh1,requiredString:()=>p7,parseWebhookMode:()=>WT,parseStateMode:()=>Fl,parseRuleVersionSelector:()=>vK,parseArgs:()=>qq,optionalString:()=>H4,optionalNumber:()=>Ll,numberOption:()=>s0,materialPackFilePolicyOptions:()=>hK,jsonObject:()=>y8,inferCorpIdFromStaffId:()=>Mh1,booleanOption:()=>F0});function qq($){let Y=[],z={},U;for(let Q=0;Q<$.length;Q+=1){let J=$[Q];if(!J)continue;if(J==="--json"){let I=$[Q+1];if(!I)throw d4("--json requires a JSON object argument");try{U=JSON.parse(I)}catch(K){throw d4(`Invalid JSON: ${K instanceof Error?K.message:String(K)}`)}Q+=1;continue}if(J.startsWith("-")){let I=J.replace(/^-+/,"");if(I.includes("=")){let G=I.indexOf("="),W=I.slice(0,G),H=I.slice(G+1);z[W]=H;continue}let K=$[Q+1];if(!K||K.startsWith("-"))z[I]=!0;else z[I]=K,Q+=1;continue}Y.push(J)}return{command:Y,options:z,json:U}}function y8($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw d4("--json must be an object");return $}function S($){return typeof $==="string"?$:void 0}function s0($){if(typeof $!=="string")return;let Y=Number($);if(!Number.isFinite(Y))throw d4(`Invalid number: ${$}`);return Y}function u6($){if(typeof $!=="string")return;let Y=$.split(",").map((z)=>z.trim()).filter(Boolean);return Y.length?Y:void 0}function F0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw d4(`Invalid boolean: ${$}`)}function p7($,Y){let z=H4($,Y);if(!z)throw Error(`Missing required JSON field: ${Y}`);return z}function wh1($,Y){for(let z of Y){let U=H4($,z);if(U)return U}throw Error(`Missing required JSON field: ${Y.join(" or ")}`)}function H4($,Y){let z=$[Y];return typeof z==="string"&&z.trim()?z.trim():void 0}function Ll($,Y){let z=$[Y];return typeof z==="number"&&Number.isFinite(z)?z:void 0}function Mh1($){let[Y]=$.split(":",1);return Y||void 0}function GT($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Fl($){let Y=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(Y))return!0;if(["stateless","无状态"].includes(Y))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function vK($){if($==="latest")return{latest:!0};let Y=Number($);if(Number.isInteger(Y)&&Y>0)return{versionNumber:Y};return{versionId:$}}function wl($){if(!$)return{};let Y=vK($);if("latest"in Y)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionScope:"version",ruleVersionNumber:Y.versionNumber};return{ruleVersionScope:"version",ruleVersionId:Y.versionId}}function Ml($){if(!$)return{};let Y=vK($);if("latest"in Y)return{latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionNumber:Y.versionNumber};return{ruleVersionId:Y.versionId}}function Ol($){if(!$)return{};let Y=vK($);if("latest"in Y)return{latest:!0};if("versionNumber"in Y)return{versionNumber:Y.versionNumber};return{versionId:Y.versionId}}function WT($){if(!$)return;let Y=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),U={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[Y];if(!U)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return U}function HT($){let Y=s0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(Y!==void 0&&(!Number.isInteger(Y)||Y<0||Y>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return Y}function XT($){return F0($.showSecret)??F0($["show-secret"])}function hK($){let Y=F0($.clearMaxFileSize??$["clear-max-file-size"])===!0,z=s0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),U=s0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),Q=u6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(z===void 0&&U===void 0&&Q===void 0&&!Y)return;return{minFileSizeBytes:z,maxFileSizeBytes:Y?null:U,allowedExtensions:Q}}var D4=o(()=>{L$()});function sR0($){let Y=Boolean($.options.help||$.options.h);if(!$.command.length)return{isHelp:!0,target:[]};if($.command[0]==="help")return{isHelp:!0,target:$.command.slice(1)};let z=$.command.indexOf("help");if(z!==-1)return{isHelp:!0,target:$.command.filter((Q,J)=>J!==z)};if(Y)return{isHelp:!0,target:[...$.command]};return{isHelp:!1,target:[]}}function aR0($=[]){if(!$.length)return oR0();let Y=$[0];if(!Y)return oR0();let z=$.slice(1),U=Oh1(Y),Q=rR0.find((K)=>K.area===U);if(!Q)throw d4(`Unknown command: ${$.join(" ")}. Run 'seal-use help' for available commands.`);if(!z.length)return Bh1(Q);let J=z.join(" ").toLowerCase(),I=Nh1(Q,J,z);if(!I)throw d4(`Unknown ${Q.area} command: ${z.join(" ")}. Run 'seal-use ${Q.area} --help' for available commands.`);return Dh1(Q,I)}function Oh1($){let Y=$.toLowerCase();if(Y==="corp")return"corps";if(Y==="webhooks")return"webhook";if(Y==="preferences")return"preference";if(Y==="changelog")return"update";if(Y==="serve")return"http";if(Y==="mcp-config")return"mcp";if(Y==="server")return"mcp";return Y}function Nh1($,Y,z){let U=$.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Y)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Y))return!0;return!1});if(U)return U;let Q=z[0]?.toLowerCase();if(!Q)return;return $.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Q)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Q))return!0;return!1})}function Dh1($,Y){let z=[],U=Y.name?`seal-use ${$.area} ${Y.name}`:`seal-use ${$.area}`,Q=Y.summary?`${U} - ${Y.summary}`:U;z.push(Q),z.push(""),z.push("Usage:");for(let J of Y.usage)z.push(` ${J}`);if(Y.options&&Y.options.length>0){z.push(""),z.push("Options:");let J=Math.max(...Y.options.map((I)=>I.flag.length));for(let I of Y.options)z.push(` ${I.flag.padEnd(J+2)} ${I.description}`)}if(Y.description)z.push(""),z.push("Description:"),z.push(` ${Y.description}`);return z.join(` +`)}function Bh1($){let Y=[];if(Y.push(`seal-use ${$.area} - ${$.title}`),$.description)Y.push($.description);Y.push(""),Y.push("Usage:");for(let z of $.commands)for(let U of z.usage)Y.push(` ${U}`);if($.commands.some((z)=>z.name))Y.push(""),Y.push(`Run 'seal-use ${$.area} --help' for details on a specific command.`);return Y.join(` `)}function oR0(){let $=[];$.push("seal-use CLI"),$.push(""),$.push("Usage:"),$.push(" seal-use version");for(let Y of rR0)for(let z of Y.commands)for(let U of z.usage)$.push(` ${U}`);return $.push(""),$.push("Run 'seal-use --help' for details on a specific command."),$.join(` -`)}var rR0;var Nl=o(()=>{L$();rR0=[{area:"corps",title:"Enterprise and tenant management",description:"Manage enterprise configurations, environment modes, test bindings, and syncing.",commands:[{name:"list",summary:"List configured enterprises sorted by 7-day usage frequency",usage:["seal-use corps list [query] [--all] [--limit ] [--env ] [--strict] [--corp ]"],options:[{flag:"--all",description:"Display all configured enterprises without the default 10-item limit"},{flag:"--limit ",description:"Maximum number of enterprises to display (defaults to 10)"},{flag:"--env ",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}]},{name:"search",aliases:["find"],summary:"Search configured enterprises with intelligent soft fuzzy matching",usage:["seal-use corps search [--env ] [--strict]"],options:[{flag:"--env ",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}],description:"Searches enterprise ID, name, staff ID, domain, tenant slug, environment, or bindings. Uses soft search by default (case-insensitive, Chinese homophones, front/back nasal vowels, initials, typo/missing letter tolerance)."},{name:"get",aliases:["show"],summary:"Get rich details and configuration of an enterprise",usage:["seal-use corps get "],description:"Retrieves complete enterprise details (URLs, tenant slugs, custom headers/cookies, staff IDs, relations, config file path) with sensitive secrets safely redacted."},{name:"current",summary:"Show active enterprise in stateful mode",usage:["seal-use corps current [--corp ]"]},{name:"switch",summary:"Switch default active enterprise",usage:["seal-use corps switch "]},{name:"mark",summary:"Mark enterprise environment as production or test",usage:["seal-use corps mark --env [--confirm]"],options:[{flag:"--env ",description:"Target environment: 'production' or 'test' (required)"},{flag:"--confirm",description:"Confirm the environment update (required)"}],description:"Explicitly updates an enterprise's environment tag. Requires --confirm to prevent accidental changes."},{name:"bind-test",summary:"Bind a production enterprise to a test enterprise (1-to-1 association)",usage:["seal-use corps bind-test [--confirm] [--force]","seal-use corps bind-test --corp [--confirm] [--force]"],options:[{flag:"--confirm",description:"Explicitly confirm binding and tag test environment (required)"},{flag:"--force",description:"Force re-binding if the production enterprise is already bound"},{flag:"--corp ",description:"Specify production enterprise ID or name"}],description:"Establishes a strict 1-to-1 association between a production enterprise and a test enterprise. Automatically marks the test enterprise with environment 'test'."},{name:"unbind-test",summary:"Unbind a production and test enterprise association",usage:["seal-use corps unbind-test [] [--confirm]"],options:[{flag:"--confirm",description:"Explicitly confirm unbinding both sides (required)"},{flag:"--corp ",description:"Specify enterprise ID or name"}],description:"Removes the 1-to-1 test association from both the production enterprise and the test enterprise."},{name:"sync-test",summary:"Synchronize rules and preferences from production to test enterprise",usage:["seal-use corps sync-test [] [--dry-run] [--yes] [--version-name ]"],options:[{flag:"--dry-run",description:"Preview sync diff without making network mutations (default)"},{flag:"--yes",description:"Execute synchronization and publish new rule version on test enterprise"},{flag:"--version-name ",description:"Custom version name for published test rule version"},{flag:"--corp ",description:"Specify production enterprise ID or name"}],description:"Overwrites test enterprise decision preferences with production preferences, syncs production draft rules to test enterprise, and immediately publishes a new version on the test enterprise. Production rules remain safe in draft state."},{name:"replay-test",summary:"Replay approval records from production enterprise to bound test enterprise via Webhook",usage:["seal-use corps replay-test [] [--record-id ] [--sn ] [--limit ] [--webhook ] [--dry-run]"],options:[{flag:"",description:"Production enterprise ID (default: active enterprise)"},{flag:"--record-id ",description:"Replay a specific approval run ID"},{flag:"--sn ",description:"Replay a specific document SN"},{flag:"--limit ",description:"Batch replay latest N records from production (default: 1)"},{flag:"--status ",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook ",description:"Target Webhook integration on test enterprise"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}],description:"Pulls production approval records from the production enterprise and replays them into the bound test enterprise's Webhook channel for rule verification."},{name:"add-hose",summary:"Add a Hose/Ekuaibao enterprise configuration",usage:[`seal-use corps add-hose --json '{"name":"企业名称","domain":"https://app.ekuaibao.com","appKey":"...","appSecurity":"...","proxyStaffBizId":"corpId:staffId"}'`]},{name:"add-seal",summary:"Add a native Seal enterprise configuration",usage:[`seal-use corps add-seal --json '{"sealUrl":"https://tenant.sealai.cc","token":"seal-bearer-token"}'`]},{name:"add-link",summary:"Import enterprise configuration from a Hose assistance link",usage:["seal-use corps add-link [--name ] [--as-hose] [--app-key ] [--key-id ] [--overwrite]"],options:[{flag:"--name ",description:"Optional custom name for the enterprise"},{flag:"--as-hose",description:"【合思子域提权】从协助链接提取 OpenAPI 密钥并将临时会话升级为长期合思标准配置"},{flag:"--app-key ",description:"企业存在多套密钥时,指定使用的 appKey"},{flag:"--key-id ",description:"企业存在多套密钥时,指定使用的 keyId"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}]},{name:"extract-keys",aliases:["extract-key"],summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥 (appKey/appSecurity)",usage:["seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】将提取到的合思 OpenAPI 密钥保存为长期标准配置"},{flag:"--app-key ",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id ",description:"存在多套密钥时指定使用的 keyId"},{flag:"--name ",description:"Custom enterprise name when saving"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。利用协助链接中的内部权限读取 OpenAPI 密钥,将临时会话提权为标准开发者凭据。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看企业已配置的合思 OpenAPI 密钥,或从协助链接中提取",usage:["seal-use corps keys [ | ] [--reveal] [--save] [--app-key ]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"从协助链接提取并保存为标准配置"},{flag:"--app-key ",description:"多套密钥时指定目标 appKey"}]},{name:"regression",aliases:["test-regression"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use corps regression [--corp ] [--samples ] [--dry-run] [--fail-on-flips]"],options:[{flag:"--samples ",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"}]}]},{area:"rules",title:"Approval rules management",description:"Query, search, version, lint, import, and export approval audit rules.",commands:[{name:"count",summary:"Count total rules in current enterprise",usage:["seal-use rules count [--corp ]"]},{name:"list",summary:"List approval rules with optional pagination and summary",usage:["seal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp ]"],options:[{flag:"--summary",description:"Output compact summary fields (id, code, strictness, scope)"},{flag:"--limit ",description:"Number of rules to fetch (default: 20)"},{flag:"--offset ",description:"Offset index for pagination"},{flag:"--full",description:"Allow large payloads beyond standard size limits"}]},{name:"clear",summary:"Clear all draft rules from enterprise",usage:["seal-use rules clear [--corp ] [--dry-run|--yes]"]},{name:"versions",summary:"List published rule versions",usage:["seal-use rules versions [--corp ]"]},{name:"version",summary:"Inspect a specific rule version",usage:["seal-use rules version [--corp ]"]},{name:"get",summary:"Get single rule by code or record ID",usage:["seal-use rules get --corp --version --code '#0038'","seal-use rules get --corp --record-id --runtime-id rule-205"]},{name:"search",summary:"Search rules by keyword",usage:["seal-use rules search [--version ] [--maxResults 20] [--corp ]"]},{name:"lint",summary:"Lint rule text or rule file using builtin or custom linter",usage:["seal-use rules lint [--file ] [--linter ] [--min-score ] [--corp ]"]},{name:"linters",summary:"List available official and custom rule linters and directory locations",usage:["seal-use rules linters [--corp ]"]},{name:"pull",summary:"Export rules to local JSON file",usage:["seal-use rules pull [--out ] [--corp ]"]},{name:"push",summary:"Push rules from local JSON file to enterprise draft space",usage:["seal-use rules push --file [--mode replace|incremental] [--yes] [--corp ]"]}]},{area:"webhook",title:"Webhook integrations and material packs",description:"Manage incoming audit webhooks and upload offline simulation material packs.",commands:[{name:"ready",summary:"Check readiness of webhook integration and material pack",usage:["seal-use webhook ready [<材料包.zip>] [--webhook ] [--corp ]"]},{name:"status",summary:"Check status of webhook integration",usage:["seal-use webhook status [<材料包.zip>] [--corp ]"]},{name:"list",summary:"List registered webhook endpoints",usage:["seal-use webhook list [--query ] [--show-secret] [--corp ]"]},{name:"get",aliases:["find"],summary:"Get webhook endpoint details",usage:["seal-use webhook get|find [--show-secret] [--corp ]"]},{name:"add",summary:"Register a new webhook endpoint",usage:["seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret ] [--min-file-size 500] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp ]"]},{name:"update",summary:"Update an existing webhook endpoint",usage:["seal-use webhook update [--name ] [--result-url ] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret |--rotate-secret] [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp ]"]},{name:"delete",summary:"Delete a webhook endpoint",usage:["seal-use webhook delete [--yes|--dry-run] [--corp ]"]},{name:"resource-pack export",summary:"Export online approval records to a local Webhook resource pack ZIP (alias: pack export)",usage:["seal-use webhook resource-pack export [--limit ] [--status ] [--output ] [--to-downloads] [--corp ]","seal-use webhook resource-pack export [--output ] [--corp ]","seal-use webhook resource-pack export --record-ids [--corp ]"],options:[{flag:"",description:"Single approval run record ID to export"},{flag:"--record-ids ",description:"Comma-separated list of approval run record IDs"},{flag:"--limit ",description:"Limit number of records to export (default: 10)"},{flag:"--status ",description:"Filter records by status (e.g. completed, approved)"},{flag:"--start-date ",description:"Filter records starting from date"},{flag:"--end-date ",description:"Filter records up to date"},{flag:"--doc-id-prefix ",description:"Optional prefix prepended to exported documentId/meetingId"},{flag:"--doc-id-suffix ",description:"Optional suffix appended to exported documentId/meetingId"},{flag:"--no-attachments",description:"Skip downloading and packaging attachments"},{flag:"-o, --output ",description:"Target ZIP file path"},{flag:"--to-downloads",description:"Save directly to ~/Downloads"},{flag:"--corp ",description:"Source enterprise configuration ID"}]},{name:"resource-pack preview",summary:"Inspect and validate a Webhook resource pack ZIP or Excel sheet (alias: pack preview)",usage:["seal-use webhook resource-pack preview <资源包.zip|信息表.xlsx> [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--corp ]"]},{name:"resource-pack push",summary:"Upload attachments and push documents from a resource pack ZIP to Webhook (alias: pack push)",usage:["seal-use webhook resource-pack push <资源包.zip|信息表.xlsx> [--webhook ] [--corp ]"]},{name:"replay",usage:["seal-use webhook replay [--webhook ] [--sn-suffix ] [--dry-run] [--corp ]","seal-use webhook replay --sn [--webhook ] [--source-corp ] [--target-corp ]","seal-use webhook replay --limit [--status ] [--source-corp ] [--target-corp ]"],options:[{flag:"",description:"Approval run record ID to replay"},{flag:"--sn ",description:"Lookup approval record by source document SN if recordId not given"},{flag:"--limit ",description:"Batch replay latest N records from source enterprise"},{flag:"--status ",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook ",description:"Target Webhook integration (auto-locks if only one exists)"},{flag:"--source-corp ",description:"Source enterprise where records reside (alias: --prod-corp)"},{flag:"--target-corp ",description:"Target enterprise where records are pushed (alias: --test-corp)"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN and documentId"},{flag:"--sn-prefix ",description:"Optional prefix prepended to documentSN and documentId"},{flag:"--dry-run",description:"Generate and output Webhook payload JSON without sending HTTP request"},{flag:"--force",description:"Allow replaying to a production enterprise"}],description:"Extracts structured form fields from historical approval records (Webhook or Hose source), sanitizes field types, and pushes documents to the target Webhook channel. Automatically infers 1-to-1 bound test/production enterprise pairs."}]},{area:"approval-runs",title:"Approval runs and audit execution records",description:"Inspect live and historical AI approval decisions, cited rules, and attachments.",commands:[{name:"summary",summary:"Daily summary of approval runs",usage:["seal-use approval-runs summary [--date YYYY-MM-DD] [--timezone Asia/Shanghai] [--corp ]"]},{name:"stats",summary:"Statistical aggregation of approval run metrics",usage:["seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] [--corp ]"]},{name:"count",summary:"Count approval runs filtered by status or time range",usage:["seal-use approval-runs count [--status APPROVED] [--start ] [--end ] [--corp ]"]},{name:"export",summary:"Export approval run audit records to Excel workbook. Add --with-flow to include E人工行为 / E人工意见 columns (requires Hose Open API; adds ~30s for large batches).",usage:["seal-use approval-runs export [--sn ] [--start ] [--end ] [--force] [--status ] [--manual-status ] [--completed-only] [--limit ] [--downloads|--to-downloads] [--with-flow] [--out ] [--corp ]"],options:[{flag:"--sn, --sns ",description:"Target specific document SNs (comma-separated, e.g. B26002307,B26002144); fast indexed search bypassing full pagination"},{flag:"--with-flow",description:"Enrich export with Hose human actions and opinions in E人工行为 / E人工意见 columns (rejection 2-B, mid-flow modifications, action emojis)"},{flag:"--start ",description:"Filter records by start date (YYYY-MM-DD or ms timestamp)"},{flag:"--end ",description:"Filter records by end date (YYYY-MM-DD or ms timestamp)"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--status ",description:"Filter by system status (e.g. completed, processing)"},{flag:"--manual-status ",description:"Filter by manual approval status (e.g. APPROVED, TERMINATED)"},{flag:"--completed-only",description:"Only export completed approval runs"},{flag:"--limit ",description:"Maximum number of records to export"},{flag:"--downloads, --to-downloads",description:"Save exported workbook directly to user's ~/Downloads directory"},{flag:"--out ",description:"Custom output file path"}]},{name:"flow",summary:"Get Hose approval flow timeline, staff opinions, and align with AI runs",usage:["seal-use approval-runs flow [--corp ]"]},{name:"list",aliases:["search"],summary:"Search approval records by keyword, dates, or decision status",usage:["seal-use approval-runs list|search [--query text] [--humanResult 驳回] [--manualApprovalStatus TERMINATED] [--startDate ms] [--endDate ms] [--limit 20] [--includeBridge true] [--corp ]"]},{name:"pick",summary:"Locate single approval run by document SN",usage:["seal-use approval-runs pick --sn [--batch ] [--latest] [--fields recordId,status,aiDecision] [--corp ]"]},{name:"get",summary:"Get detailed approval record payload",usage:["seal-use approval-runs get [--summary] [--fields metadata|document.fields,result.summary] [--full] [--output-file file.json] [--corp ]"]},{name:"cited-rules",summary:"Inspect rules cited by AI in an approval decision",usage:["seal-use approval-runs cited-rules [--corp ]"]},{name:"document-summary",summary:"Inspect parsed source document summary",usage:["seal-use approval-runs document-summary [--corp ]"]},{name:"attachments",summary:"Inspect and list attachments for approval run",usage:["seal-use approval-runs attachments [--summary] [--corp ]","seal-use approval-runs attachments download [--all] [--name ] [--out-dir ] [--corp ]"]},{name:"result",summary:"Get decision result for an approval run",usage:["seal-use approval-runs result [--summary] [--corp ]"]},{name:"url",summary:"Get web console URL for approval run (default deep link, or --sso for auto-login link)",usage:["seal-use approval-runs url [--corp ]","seal-use approval-runs url --sso [--expire 7200] [--corp ]","seal-use approval-runs url --sn [--sso] [--corp ]","seal-use approval-runs url [--corp ]"]},{name:"bridge",summary:"Inspect browser bridge integration payload",usage:["seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp ]"]},{name:"replay",summary:"Replay approval run record into a Webhook integration",usage:["seal-use approval-runs replay [--webhook ] [--sn-suffix ] [--dry-run] [--corp ]","seal-use approval-runs replay --sn [--webhook ] [--source-corp ] [--target-corp ]","seal-use approval-runs replay --limit [--status ] [--source-corp ] [--target-corp ]"],options:[{flag:"",description:"Approval run record ID"},{flag:"--sn ",description:"Lookup approval record by source document SN"},{flag:"--limit ",description:"Batch replay latest N records"},{flag:"--status ",description:"Filter records by status"},{flag:"--webhook ",description:"Target Webhook integration"},{flag:"--source-corp ",description:"Source enterprise where records reside"},{flag:"--target-corp ",description:"Target enterprise where records are pushed"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}]}]},{area:"simulation",title:"Simulation testing engine",description:"Execute and analyze offline or HoseCloud batch simulations against approval rules.",commands:[{name:"batch-records",summary:"Fetch records for a simulation batch",usage:["seal-use simulation batch-records [--corp ]"]},{name:"create",summary:"Trigger a new simulation batch",usage:['seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--no-wait] [--corp ]',"seal-use simulation create --mode material_pack --package-ids [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp ]",'seal-use simulation create --source-system weaver --request-ids "req-01,req-02" [--corp ]']},{name:"status",summary:"Check current progress of a simulation batch",usage:["seal-use simulation status [--corp ]"]},{name:"wait",summary:"Wait synchronously for simulation batch to finish",usage:["seal-use simulation wait [--timeout 10m] [--poll-interval 2s] [--corp ]"]},{name:"clean",summary:"Clean simulation batch records",usage:["seal-use simulation clean [--corp ]"]},{name:"specifications",summary:"Query simulation specifications",usage:["seal-use simulation specifications [--integration ] [--corp ]"]},{name:"approval-definitions",summary:"Query simulation approval definitions",usage:["seal-use simulation approval-definitions [--corp ]"]},{name:"list",summary:"List recent simulation batches",usage:["seal-use simulation list [--limit 50] [--corp ]"]},{name:"get",summary:"Get details for simulation batch",usage:["seal-use simulation get [--corp ]"]},{name:"templates",summary:"List available simulation templates",usage:["seal-use simulation templates [--corp ]"]},{name:"integrations",summary:"List available simulation integrations",usage:["seal-use simulation integrations [--corp ]"]},{name:"package-upload",summary:"Upload a simulation material package",usage:["seal-use simulation package-upload <材料包.zip> [--corp ]"]}]},{area:"deploy",title:"Deployment and cloud synchronization",description:"Manage HoseCloud integration configurations and synchronization.",commands:[{name:"hosecloud requirements",summary:"Check HoseCloud deployment requirements",usage:["seal-use deploy hosecloud requirements [--corp ]"]},{name:"hosecloud list",summary:"List HoseCloud deployment targets",usage:["seal-use deploy hosecloud list [--corp ]"]},{name:"hosecloud get",summary:"Get HoseCloud deployment details",usage:["seal-use deploy hosecloud get [--corp ]"]},{name:"hosecloud status",summary:"Check HoseCloud deployment status",usage:["seal-use deploy hosecloud status [--corp ]"]},{name:"hosecloud configure",summary:"Configure HoseCloud deployment settings",usage:["seal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp ]"]},{name:"hosecloud sync",summary:"Synchronize HoseCloud rules and definitions",usage:["seal-use deploy hosecloud sync [--corp ]"]}]},{area:"preference",title:"Audit preferences and thinking depth",description:"Manage AI decision preferences, strictness, and thinking depth policies.",commands:[{name:"get",summary:"Get current decision preference configuration",usage:["seal-use preference get [--corp ]"]},{name:"decision update",summary:"Update decision preference rules",usage:[`seal-use preference decision update --json '{"explicitApprove":"..."}' [--dry-run] [--corp ]`]},{name:"thinking-depth set",summary:"Set default thinking depth",usage:["seal-use preference thinking-depth set --default [--dry-run] [--corp ]"]},{name:"thinking-depth policies list",summary:"List thinking depth policies",usage:["seal-use preference thinking-depth policies list [--corp ]"]},{name:"thinking-depth policies upsert",summary:"Upsert a thinking depth policy",usage:["seal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp ]"]},{name:"thinking-depth policies remove",summary:"Remove a thinking depth policy",usage:["seal-use preference thinking-depth policies remove [--dry-run] [--corp ]"]}]},{area:"config",title:"CLI and global workspace configuration",description:"Manage configuration paths, stateful/stateless mode, test directory, and rule linter.",commands:[{name:"paths",summary:"Display active configuration file and directory paths",usage:["seal-use config paths"]},{name:"get",aliases:["status"],summary:"Display current global configuration",usage:["seal-use config get"]},{name:"mode",summary:"Configure stateful or stateless CLI operating mode",usage:["seal-use config mode [--corp ]"]},{name:"test-dir",aliases:["test-enterprises-dir"],summary:"Set or clear global test enterprises directory",usage:["seal-use config test-dir [|--clear]"]},{name:"lint",summary:"Configure automatic rule linter status and thresholds",usage:["seal-use config lint [status|enable|disable] [--linter ] [--min-score ]"]}]},{area:"auth",title:"Authentication and session diagnostics",description:"Diagnose upstream token status and generate provisional assistance links.",commands:[{name:"diagnose",summary:"Diagnose auth session and platform connectivity",usage:["seal-use auth diagnose [--corp ]"]},{name:"hose-link",summary:"Generate Hose third-party assistance link",usage:["seal-use auth hose-link [--corp ] [--expire 7200]"]},{name:"extract-keys",summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥并可选升级配置",usage:["seal-use auth extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】直接将提取到的合思 OpenAPI 密钥持久化为标准企业配置"},{flag:"--app-key ",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id ",description:"存在多套密钥时指定使用的 keyId"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看当前企业已配置的合思 OpenAPI 开发者密钥",usage:["seal-use auth keys [--corp ] [--reveal]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"}],description:"专属于合思 (Hose) 来源企业。原生 Seal 企业不包含 OpenAPI 密钥,不支持此命令。"}]},{area:"delegation",title:"Delegation tokens",description:"Manage Seal user delegation tokens and temporary access credentials.",commands:[{name:"list",summary:"List active delegation tokens",usage:["seal-use delegation list [--corp ]"]},{name:"create",summary:"Create a new delegation token",usage:["seal-use delegation create [--note ] [--from-link ] [--corp ]"]},{name:"revoke",summary:"Revoke an existing delegation token",usage:["seal-use delegation revoke [--corp ]"]}]},{area:"users",title:"User administration",description:"Manage tenant users, phone credentials, and passwords.",commands:[{name:"create",summary:"Create a new tenant user",usage:["seal-use users create --name --phone [--dept ] [--corp ]"]},{name:"search",summary:"Search tenant users by name or phone",usage:["seal-use users search [--corp ]"]},{name:"delegation",summary:"Create delegation token for a specific user",usage:["seal-use users delegation [--note ] [--corp ]"]},{name:"reset-password",summary:"Reset user password",usage:["seal-use users reset-password [--corp ]"]},{name:"get",summary:"Get user details",usage:["seal-use users get [--corp ]"]},{name:"delete",summary:"Delete user",usage:["seal-use users delete [--corp ]"]}]},{area:"contacts",title:"Contacts directory",description:"Query organizational departments, child hierarchies, and user mappings.",commands:[{name:"departments",summary:"List organizational departments",usage:["seal-use contacts departments [] [--corp ]"]},{name:"children",summary:"List child departments",usage:["seal-use contacts children [--corp ]"]},{name:"users",summary:"List users in department",usage:["seal-use contacts users [--corp ]"]},{name:"sync-time",summary:"Get latest contacts synchronization time",usage:["seal-use contacts sync-time [--corp ]"]}]},{area:"data",title:"Expense and invoice data records",description:"Search raw historical expense and invoice data entries.",commands:[{name:"expenses",summary:"Search raw expense items",usage:["seal-use data expenses [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ]"]},{name:"invoices",summary:"Search raw invoice records",usage:["seal-use data invoices [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ]"]}]},{area:"llm",title:"LLM configuration",description:"Query LLM providers and configuration settings.",commands:[{name:"config",summary:"Get active LLM configuration",usage:["seal-use llm config [--corp ]"]},{name:"providers",summary:"List available LLM providers",usage:["seal-use llm providers [--corp ]"]}]},{area:"permissions",title:"Tenant permissions",description:"Inspect available and configured permissions.",commands:[{name:"available",summary:"List available permissions",usage:["seal-use permissions available [--corp ]"]},{name:"configs",summary:"List active permission configurations",usage:["seal-use permissions configs [--corp ]"]}]},{area:"billing",title:"Subscription and billing plans",description:"Query billing status, feature entitlements, and plan limits.",commands:[{name:"status",summary:"Query current billing and subscription status",usage:["seal-use billing status [--corp ]"]},{name:"plans",summary:"Query available billing plans",usage:["seal-use billing plans [--corp ]"]},{name:"features",summary:"Query billing feature toggles",usage:["seal-use billing features [--corp ]"]}]},{area:"analytics",title:"Audit analytics and insights",description:"Query high-level audit analytics and insights.",commands:[{name:"insight",aliases:["insight-stats","stats"],summary:"Query AI audit insights risk-tag statistics and analysis status",usage:["seal-use analytics insight [--start-date ] [--end-date ] [--limit ] [--corp ]"]},{name:"risks",aliases:["risks-by-tag","tag-risks"],summary:"Query detailed risks and document citations under a specific risk tag",usage:["seal-use analytics risks [--start-date ] [--end-date ] [--corp ]"]},{name:"performance",aliases:["perf"],summary:"Query audit performance metrics (accuracy, automation rate) and Sankey flow",usage:["seal-use analytics performance [--start-date ] [--end-date ] [--corp ]"]},{name:"analyze",aliases:["reanalyze"],summary:"Trigger on-demand smart insight risk analysis for an approval record",usage:["seal-use analytics analyze [--corp ]"]},{name:"export",aliases:["report","download"],summary:"Export smart insights risk report to high-fidelity Excel workbook",usage:["seal-use analytics export [--downloads] [--out ] [--start-date ] [--end-date ] [--force] [--limit ] [--corp ]"],options:[{flag:"--downloads",description:"Save directly to the user's Downloads directory"},{flag:"--out ",description:"Custom destination file path"},{flag:"--start-date ",description:"Filter beginning time range"},{flag:"--end-date ",description:"Filter ending time range"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--limit ",description:"Maximum risk tags to drill down into"}]}]},{area:"context",title:"Knowledge context and documents",description:"Query uploaded knowledge context and documents.",commands:[{name:"",summary:"Inspect knowledge context documents",usage:["seal-use context [--ruleVersion ] [--documentLimit 50] [--corp ]"]}]},{area:"source",title:"Data source configurations",description:"Inspect enterprise source system configuration.",commands:[{name:"config",summary:"Inspect source configuration",usage:["seal-use source config [--corp ]"]}]},{area:"tool",title:"Direct low-level tool invocation",description:"Execute individual Seal tools directly.",commands:[{name:"",summary:"Invoke a tool directly",usage:[`seal-use tool [--corp ] [--json '{"key":"value"}']`]}]},{area:"tools",title:"Available tools listing",description:"List all executable domain tools.",commands:[{name:"list",summary:"List all available domain tools",usage:["seal-use tools list"]}]},{area:"update",title:"CLI self-update and release changelogs",description:"Check for new releases, perform self-updates, and view changelogs.",commands:[{name:"",summary:"Update seal-use to latest or target version",usage:["seal-use update [--check] [--force] [--version ]","seal-use update check","seal-use update changelog [--limit ]","seal-use changelog [--limit ]"]}]},{area:"probe",title:"Enterprise connectivity probe",description:"Probe upstream Hose and Seal HTTP connectivity and token validity.",commands:[{name:"",summary:"Run connectivity probe",usage:["seal-use probe []"]}]},{area:"mcp",title:"Model Context Protocol (MCP) server",description:"Run standalone or stdio MCP server for agent harnesses.",commands:[{name:"",summary:"Run MCP server or output MCP config",usage:["seal-use mcp","seal-use mcp config","seal-use mcp-config"]}]},{area:"skill",title:"Agent skill management",description:"Install, dump, or inspect agent skills.",commands:[{name:"dump",summary:"Dump embedded skill markdown",usage:["seal-use skill dump"]},{name:"install",summary:"Install skill to active workspace",usage:["seal-use skill install [--dir |--local]"]},{name:"status",summary:"Check skill installation status",usage:["seal-use skill status"]}]},{area:"http",title:"HTTP server",description:"Run interactive HTTP server.",commands:[{name:"",summary:"Start HTTP daemon",usage:["seal-use http [--port 8787] [--host 127.0.0.1]","seal-use serve [--port 8787]"]}]},{area:"service",title:"Background HTTP service lifecycle",description:"Start, stop, restart, inspect, and read logs from the standalone seal-use HTTP service daemon.",commands:[{name:"start",summary:"Start the background service daemon",usage:["seal-use service start [--port 8787] [--host 127.0.0.1]"]},{name:"stop",summary:"Stop the background service daemon",usage:["seal-use service stop"]},{name:"restart",summary:"Restart the background service daemon",usage:["seal-use service restart [--port 8787] [--host 127.0.0.1]"]},{name:"status",summary:"Show service daemon status",usage:["seal-use service status"]},{name:"logs",summary:"Print recent service daemon logs",usage:["seal-use service logs [--lines 50]"]},{name:"run",summary:"Run the service in the foreground",usage:["seal-use service run [--port 8787] [--host 127.0.0.1]"]}]},{area:"stop",title:"Stop the background service",description:"Shortcut for stopping the background seal-use HTTP service daemon.",commands:[{name:"",summary:"Stop the background service daemon",usage:["seal-use stop"]}]},{area:"openapi",title:"OpenAPI specification",description:"Output embedded OpenAPI JSON specification.",commands:[{name:"",summary:"Print OpenAPI schema",usage:["seal-use openapi"]}]},{area:"doctor",title:"System diagnostic and environment health check",description:"Inspects runtime executable, filesystem paths, enterprise assets, and embedded specifications without modifying any files.",commands:[{name:"",summary:"Run complete system diagnostic health check",usage:["seal-use doctor [--quiet]"],options:[{flag:"--quiet",description:"Suppress formatted human dashboard on stderr"}]},{name:"guide",aliases:["doc","knowledge"],summary:"Read embedded system architecture & directory specification whitepaper",usage:["seal-use doctor guide"]},{name:"paths",aliases:["dirs"],summary:"Inspect core filesystem paths and directory health",usage:["seal-use doctor paths"]},{name:"tenant",aliases:["corp","enterprise"],summary:"Inspect tenant-level health contract, auth permissions, AI approval quota, and rules state",usage:["seal-use doctor tenant [--corp ] [--quiet]"],options:[{flag:"--corp ",description:"Enterprise ID or selector to diagnose"},{flag:"--quiet",description:"Suppress formatted dashboard on stderr"}]}]},{area:"test",title:"Automated test harnesses and rule regression matrix",description:"Run automated regression tests and decision comparison matrix across paired production and test environments.",commands:[{name:"regression",aliases:["regress","matrix"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use test regression [--corp ] [--samples ] [--dry-run] [--fail-on-flips]"],options:[{flag:"--corp ",description:"Target test enterprise or production parent (must be paired)"},{flag:"--samples ",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"},{flag:"--prod-corp ",description:"Explicit production enterprise source for sample documents"},{flag:"--test-corp ",description:"Explicit test enterprise target for replay"},{flag:"--quiet",description:"Suppress formatted summary dashboard on stderr"}]}]}]});import{writeFileSync as Dh1}from"node:fs";function Dl($){return $.map((Y)=>typeof Y==="string"?Y:String(Y)).join(" ")}function qq($){if(!$.length)return"";return`${$.join(` +`)}var rR0;var Nl=o(()=>{L$();rR0=[{area:"corps",title:"Enterprise and tenant management",description:"Manage enterprise configurations, environment modes, test bindings, and syncing.",commands:[{name:"list",summary:"List configured enterprises sorted by 7-day usage frequency",usage:["seal-use corps list [query] [--all] [--limit ] [--env ] [--strict] [--corp ]"],options:[{flag:"--all",description:"Display all configured enterprises without the default 10-item limit"},{flag:"--limit ",description:"Maximum number of enterprises to display (defaults to 10)"},{flag:"--env ",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}]},{name:"search",aliases:["find"],summary:"Search configured enterprises with intelligent soft fuzzy matching",usage:["seal-use corps search [--env ] [--strict]"],options:[{flag:"--env ",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}],description:"Searches enterprise ID, name, staff ID, domain, tenant slug, environment, or bindings. Uses soft search by default (case-insensitive, Chinese homophones, front/back nasal vowels, initials, typo/missing letter tolerance)."},{name:"get",aliases:["show"],summary:"Get rich details and configuration of an enterprise",usage:["seal-use corps get "],description:"Retrieves complete enterprise details (URLs, tenant slugs, custom headers/cookies, staff IDs, relations, config file path) with sensitive secrets safely redacted."},{name:"current",summary:"Show active enterprise in stateful mode",usage:["seal-use corps current [--corp ]"]},{name:"switch",summary:"Switch default active enterprise",usage:["seal-use corps switch "]},{name:"mark",summary:"Mark enterprise environment as production or test",usage:["seal-use corps mark --env [--confirm]"],options:[{flag:"--env ",description:"Target environment: 'production' or 'test' (required)"},{flag:"--confirm",description:"Confirm the environment update (required)"}],description:"Explicitly updates an enterprise's environment tag. Requires --confirm to prevent accidental changes."},{name:"bind-test",summary:"Bind a production enterprise to a test enterprise (1-to-1 association)",usage:["seal-use corps bind-test [--confirm] [--force]","seal-use corps bind-test --corp [--confirm] [--force]"],options:[{flag:"--confirm",description:"Explicitly confirm binding and tag test environment (required)"},{flag:"--force",description:"Force re-binding if the production enterprise is already bound"},{flag:"--corp ",description:"Specify production enterprise ID or name"}],description:"Establishes a strict 1-to-1 association between a production enterprise and a test enterprise. Automatically marks the test enterprise with environment 'test'."},{name:"unbind-test",summary:"Unbind a production and test enterprise association",usage:["seal-use corps unbind-test [] [--confirm]"],options:[{flag:"--confirm",description:"Explicitly confirm unbinding both sides (required)"},{flag:"--corp ",description:"Specify enterprise ID or name"}],description:"Removes the 1-to-1 test association from both the production enterprise and the test enterprise."},{name:"sync-test",summary:"Synchronize rules and preferences from production to test enterprise",usage:["seal-use corps sync-test [] [--dry-run] [--yes] [--version-name ]"],options:[{flag:"--dry-run",description:"Preview sync diff without making network mutations (default)"},{flag:"--yes",description:"Execute synchronization and publish new rule version on test enterprise"},{flag:"--version-name ",description:"Custom version name for published test rule version"},{flag:"--corp ",description:"Specify production enterprise ID or name"}],description:"Overwrites test enterprise decision preferences with production preferences, syncs production draft rules to test enterprise, and immediately publishes a new version on the test enterprise. Production rules remain safe in draft state."},{name:"replay-test",summary:"Replay approval records from production enterprise to bound test enterprise via Webhook",usage:["seal-use corps replay-test [] [--record-id ] [--sn ] [--limit ] [--webhook ] [--dry-run]"],options:[{flag:"",description:"Production enterprise ID (default: active enterprise)"},{flag:"--record-id ",description:"Replay a specific approval run ID"},{flag:"--sn ",description:"Replay a specific document SN"},{flag:"--limit ",description:"Batch replay latest N records from production (default: 1)"},{flag:"--status ",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook ",description:"Target Webhook integration on test enterprise"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}],description:"Pulls production approval records from the production enterprise and replays them into the bound test enterprise's Webhook channel for rule verification."},{name:"add-hose",summary:"Add a Hose/Ekuaibao enterprise configuration",usage:[`seal-use corps add-hose --json '{"name":"企业名称","domain":"https://app.ekuaibao.com","appKey":"...","appSecurity":"...","proxyStaffBizId":"corpId:staffId"}'`]},{name:"add-seal",summary:"Add a native Seal enterprise configuration",usage:[`seal-use corps add-seal --json '{"sealUrl":"https://tenant.sealai.cc","token":"seal-bearer-token"}'`]},{name:"add-link",summary:"Import enterprise configuration from a Hose assistance link",usage:["seal-use corps add-link [--name ] [--as-hose] [--app-key ] [--key-id ] [--overwrite]"],options:[{flag:"--name ",description:"Optional custom name for the enterprise"},{flag:"--as-hose",description:"【合思子域提权】从协助链接提取 OpenAPI 密钥并将临时会话升级为长期合思标准配置"},{flag:"--app-key ",description:"企业存在多套密钥时,指定使用的 appKey"},{flag:"--key-id ",description:"企业存在多套密钥时,指定使用的 keyId"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}]},{name:"extract-keys",aliases:["extract-key"],summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥 (appKey/appSecurity)",usage:["seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】将提取到的合思 OpenAPI 密钥保存为长期标准配置"},{flag:"--app-key ",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id ",description:"存在多套密钥时指定使用的 keyId"},{flag:"--name ",description:"Custom enterprise name when saving"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。利用协助链接中的内部权限读取 OpenAPI 密钥,将临时会话提权为标准开发者凭据。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看企业已配置的合思 OpenAPI 密钥,或从协助链接中提取",usage:["seal-use corps keys [ | ] [--reveal] [--save] [--app-key ]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"从协助链接提取并保存为标准配置"},{flag:"--app-key ",description:"多套密钥时指定目标 appKey"}]},{name:"regression",aliases:["test-regression"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use corps regression [--corp ] [--samples ] [--dry-run] [--fail-on-flips]"],options:[{flag:"--samples ",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"}]}]},{area:"rules",title:"Approval rules management",description:"Query, search, version, lint, import, and export approval audit rules.",commands:[{name:"count",summary:"Count total rules in current enterprise",usage:["seal-use rules count [--corp ]"]},{name:"list",summary:"List approval rules with optional pagination and summary",usage:["seal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp ]"],options:[{flag:"--summary",description:"Output compact summary fields (id, code, strictness, scope)"},{flag:"--limit ",description:"Number of rules to fetch (default: 20)"},{flag:"--offset ",description:"Offset index for pagination"},{flag:"--full",description:"Allow large payloads beyond standard size limits"}]},{name:"clear",summary:"Clear all draft rules from enterprise",usage:["seal-use rules clear [--corp ] [--dry-run|--yes]"]},{name:"versions",summary:"List published rule versions",usage:["seal-use rules versions [--corp ]"]},{name:"version",summary:"Inspect a specific rule version",usage:["seal-use rules version [--corp ]"]},{name:"get",summary:"Get single rule by code or record ID",usage:["seal-use rules get --corp --version --code '#0038'","seal-use rules get --corp --record-id --runtime-id rule-205"]},{name:"search",summary:"Search rules by keyword",usage:["seal-use rules search [--version ] [--maxResults 20] [--corp ]"]},{name:"lint",summary:"Lint rule text or rule file using builtin or custom linter",usage:["seal-use rules lint [--file ] [--linter ] [--min-score ] [--corp ]"]},{name:"linters",summary:"List available official and custom rule linters and directory locations",usage:["seal-use rules linters [--corp ]"]},{name:"pull",summary:"Export rules to local JSON file",usage:["seal-use rules pull [--out ] [--corp ]"]},{name:"push",summary:"Push rules from local JSON file to enterprise draft space",usage:["seal-use rules push --file [--mode replace|incremental] [--yes] [--corp ]"]}]},{area:"webhook",title:"Webhook integrations and material packs",description:"Manage incoming audit webhooks and upload offline simulation material packs.",commands:[{name:"ready",summary:"Check readiness of webhook integration and material pack",usage:["seal-use webhook ready [<材料包.zip>] [--webhook ] [--corp ]"]},{name:"status",summary:"Check status of webhook integration",usage:["seal-use webhook status [<材料包.zip>] [--corp ]"]},{name:"list",summary:"List registered webhook endpoints",usage:["seal-use webhook list [--query ] [--show-secret] [--corp ]"]},{name:"get",aliases:["find"],summary:"Get webhook endpoint details",usage:["seal-use webhook get|find [--show-secret] [--corp ]"]},{name:"add",summary:"Register a new webhook endpoint",usage:["seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret ] [--min-file-size 500] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp ]"]},{name:"update",summary:"Update an existing webhook endpoint",usage:["seal-use webhook update [--name ] [--result-url ] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret |--rotate-secret] [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp ]"]},{name:"delete",summary:"Delete a webhook endpoint",usage:["seal-use webhook delete [--yes|--dry-run] [--corp ]"]},{name:"resource-pack export",summary:"Export online approval records to a local Webhook resource pack ZIP (alias: pack export)",usage:["seal-use webhook resource-pack export [--limit ] [--status ] [--output ] [--to-downloads] [--corp ]","seal-use webhook resource-pack export [--output ] [--corp ]","seal-use webhook resource-pack export --record-ids [--corp ]"],options:[{flag:"",description:"Single approval run record ID to export"},{flag:"--record-ids ",description:"Comma-separated list of approval run record IDs"},{flag:"--limit ",description:"Limit number of records to export (default: 10)"},{flag:"--status ",description:"Filter records by status (e.g. completed, approved)"},{flag:"--start-date ",description:"Filter records starting from date"},{flag:"--end-date ",description:"Filter records up to date"},{flag:"--doc-id-prefix ",description:"Optional prefix prepended to exported documentId/meetingId"},{flag:"--doc-id-suffix ",description:"Optional suffix appended to exported documentId/meetingId"},{flag:"--no-attachments",description:"Skip downloading and packaging attachments"},{flag:"-o, --output ",description:"Target ZIP file path"},{flag:"--to-downloads",description:"Save directly to ~/Downloads"},{flag:"--corp ",description:"Source enterprise configuration ID"}]},{name:"resource-pack preview",summary:"Inspect and validate a Webhook resource pack ZIP or Excel sheet (alias: pack preview)",usage:["seal-use webhook resource-pack preview <资源包.zip|信息表.xlsx> [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--corp ]"]},{name:"resource-pack push",summary:"Upload attachments and push documents from a resource pack ZIP to Webhook (alias: pack push)",usage:["seal-use webhook resource-pack push <资源包.zip|信息表.xlsx> [--webhook ] [--corp ]"]},{name:"replay",usage:["seal-use webhook replay [--webhook ] [--sn-suffix ] [--dry-run] [--corp ]","seal-use webhook replay --sn [--webhook ] [--source-corp ] [--target-corp ]","seal-use webhook replay --limit [--status ] [--source-corp ] [--target-corp ]"],options:[{flag:"",description:"Approval run record ID to replay"},{flag:"--sn ",description:"Lookup approval record by source document SN if recordId not given"},{flag:"--limit ",description:"Batch replay latest N records from source enterprise"},{flag:"--status ",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook ",description:"Target Webhook integration (auto-locks if only one exists)"},{flag:"--source-corp ",description:"Source enterprise where records reside (alias: --prod-corp)"},{flag:"--target-corp ",description:"Target enterprise where records are pushed (alias: --test-corp)"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN and documentId"},{flag:"--sn-prefix ",description:"Optional prefix prepended to documentSN and documentId"},{flag:"--dry-run",description:"Generate and output Webhook payload JSON without sending HTTP request"},{flag:"--force",description:"Allow replaying to a production enterprise"}],description:"Extracts structured form fields from historical approval records (Webhook or Hose source), sanitizes field types, and pushes documents to the target Webhook channel. Automatically infers 1-to-1 bound test/production enterprise pairs."}]},{area:"approval-runs",title:"Approval runs and audit execution records",description:"Inspect live and historical AI approval decisions, cited rules, and attachments.",commands:[{name:"summary",summary:"Daily summary of approval runs",usage:["seal-use approval-runs summary [--date YYYY-MM-DD] [--timezone Asia/Shanghai] [--corp ]"]},{name:"stats",summary:"Statistical aggregation of approval run metrics",usage:["seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] [--corp ]"]},{name:"count",summary:"Count approval runs filtered by status or time range",usage:["seal-use approval-runs count [--status APPROVED] [--start ] [--end ] [--corp ]"]},{name:"export",summary:"Export approval run audit records to Excel workbook. Add --with-flow to include E人工行为 / E人工意见 columns (requires Hose Open API; adds ~30s for large batches).",usage:["seal-use approval-runs export [--sn ] [--start ] [--end ] [--force] [--status ] [--manual-status ] [--completed-only] [--limit ] [--downloads|--to-downloads] [--with-flow] [--out ] [--corp ]"],options:[{flag:"--sn, --sns ",description:"Target specific document SNs (comma-separated, e.g. B26002307,B26002144); fast indexed search bypassing full pagination"},{flag:"--with-flow",description:"Enrich export with Hose human actions and opinions in E人工行为 / E人工意见 columns (rejection 2-B, mid-flow modifications, action emojis)"},{flag:"--start ",description:"Filter records by start date (YYYY-MM-DD or ms timestamp)"},{flag:"--end ",description:"Filter records by end date (YYYY-MM-DD or ms timestamp)"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--status ",description:"Filter by system status (e.g. completed, processing)"},{flag:"--manual-status ",description:"Filter by manual approval status (e.g. APPROVED, TERMINATED)"},{flag:"--completed-only",description:"Only export completed approval runs"},{flag:"--limit ",description:"Maximum number of records to export"},{flag:"--downloads, --to-downloads",description:"Save exported workbook directly to user's ~/Downloads directory"},{flag:"--out ",description:"Custom output file path"}]},{name:"flow",summary:"Get Hose approval flow timeline, staff opinions, and align with AI runs",usage:["seal-use approval-runs flow [--corp ]"]},{name:"list",aliases:["search"],summary:"Search approval records by keyword, dates, or decision status",usage:["seal-use approval-runs list|search [--query text] [--humanResult 驳回] [--manualApprovalStatus TERMINATED] [--startDate ms] [--endDate ms] [--limit 20] [--includeBridge true] [--corp ]"]},{name:"pick",summary:"Locate single approval run by document SN",usage:["seal-use approval-runs pick --sn [--batch ] [--latest] [--fields recordId,status,aiDecision] [--corp ]"]},{name:"get",summary:"Get detailed approval record payload",usage:["seal-use approval-runs get [--summary] [--fields metadata|document.fields,result.summary] [--full] [--output-file file.json] [--corp ]"]},{name:"cited-rules",summary:"Inspect rules cited by AI in an approval decision",usage:["seal-use approval-runs cited-rules [--corp ]"]},{name:"document-summary",summary:"Inspect parsed source document summary",usage:["seal-use approval-runs document-summary [--corp ]"]},{name:"attachments",summary:"Inspect and list attachments for approval run",usage:["seal-use approval-runs attachments [--summary] [--corp ]","seal-use approval-runs attachments download [--all] [--name ] [--out-dir ] [--corp ]"]},{name:"result",summary:"Get decision result for an approval run",usage:["seal-use approval-runs result [--summary] [--corp ]"]},{name:"url",summary:"Get web console URL for approval run (default deep link, or --sso for auto-login link)",usage:["seal-use approval-runs url [--corp ]","seal-use approval-runs url --sso [--expire 7200] [--corp ]","seal-use approval-runs url --sn [--sso] [--corp ]","seal-use approval-runs url [--corp ]"]},{name:"bridge",summary:"Inspect browser bridge integration payload",usage:["seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp ]"]},{name:"replay",summary:"Replay approval run record into a Webhook integration",usage:["seal-use approval-runs replay [--webhook ] [--sn-suffix ] [--dry-run] [--corp ]","seal-use approval-runs replay --sn [--webhook ] [--source-corp ] [--target-corp ]","seal-use approval-runs replay --limit [--status ] [--source-corp ] [--target-corp ]"],options:[{flag:"",description:"Approval run record ID"},{flag:"--sn ",description:"Lookup approval record by source document SN"},{flag:"--limit ",description:"Batch replay latest N records"},{flag:"--status ",description:"Filter records by status"},{flag:"--webhook ",description:"Target Webhook integration"},{flag:"--source-corp ",description:"Source enterprise where records reside"},{flag:"--target-corp ",description:"Target enterprise where records are pushed"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}]}]},{area:"simulation",title:"Simulation testing engine",description:"Execute and analyze offline or HoseCloud batch simulations against approval rules.",commands:[{name:"batch-records",summary:"Fetch records for a simulation batch",usage:["seal-use simulation batch-records [--corp ]"]},{name:"create",summary:"Trigger a new simulation batch",usage:['seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--no-wait] [--corp ]',"seal-use simulation create --mode material_pack --package-ids [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp ]",'seal-use simulation create --source-system weaver --request-ids "req-01,req-02" [--corp ]']},{name:"status",summary:"Check current progress of a simulation batch",usage:["seal-use simulation status [--corp ]"]},{name:"wait",summary:"Wait synchronously for simulation batch to finish",usage:["seal-use simulation wait [--timeout 10m] [--poll-interval 2s] [--corp ]"]},{name:"clean",summary:"Clean simulation batch records",usage:["seal-use simulation clean [--corp ]"]},{name:"specifications",summary:"Query simulation specifications",usage:["seal-use simulation specifications [--integration ] [--corp ]"]},{name:"approval-definitions",summary:"Query simulation approval definitions",usage:["seal-use simulation approval-definitions [--corp ]"]},{name:"list",summary:"List recent simulation batches",usage:["seal-use simulation list [--limit 50] [--corp ]"]},{name:"get",summary:"Get details for simulation batch",usage:["seal-use simulation get [--corp ]"]},{name:"templates",summary:"List available simulation templates",usage:["seal-use simulation templates [--corp ]"]},{name:"integrations",summary:"List available simulation integrations",usage:["seal-use simulation integrations [--corp ]"]},{name:"package-upload",summary:"Upload a simulation material package",usage:["seal-use simulation package-upload <材料包.zip> [--corp ]"]}]},{area:"deploy",title:"Deployment and cloud synchronization",description:"Manage HoseCloud integration configurations and synchronization.",commands:[{name:"hosecloud requirements",summary:"Check HoseCloud deployment requirements",usage:["seal-use deploy hosecloud requirements [--corp ]"]},{name:"hosecloud list",summary:"List HoseCloud deployment targets",usage:["seal-use deploy hosecloud list [--corp ]"]},{name:"hosecloud get",summary:"Get HoseCloud deployment details",usage:["seal-use deploy hosecloud get [--corp ]"]},{name:"hosecloud status",summary:"Check HoseCloud deployment status",usage:["seal-use deploy hosecloud status [--corp ]"]},{name:"hosecloud configure",summary:"Configure HoseCloud deployment settings",usage:["seal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp ]"]},{name:"hosecloud sync",summary:"Synchronize HoseCloud rules and definitions",usage:["seal-use deploy hosecloud sync [--corp ]"]}]},{area:"preference",title:"Audit preferences and thinking depth",description:"Manage AI decision preferences, strictness, and thinking depth policies.",commands:[{name:"get",summary:"Get current decision preference configuration",usage:["seal-use preference get [--corp ]"]},{name:"decision update",summary:"Update decision preference rules",usage:[`seal-use preference decision update --json '{"explicitApprove":"..."}' [--dry-run] [--corp ]`]},{name:"thinking-depth set",summary:"Set default thinking depth",usage:["seal-use preference thinking-depth set --default [--dry-run] [--corp ]"]},{name:"thinking-depth policies list",summary:"List thinking depth policies",usage:["seal-use preference thinking-depth policies list [--corp ]"]},{name:"thinking-depth policies upsert",summary:"Upsert a thinking depth policy",usage:["seal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp ]"]},{name:"thinking-depth policies remove",summary:"Remove a thinking depth policy",usage:["seal-use preference thinking-depth policies remove [--dry-run] [--corp ]"]}]},{area:"config",title:"CLI and global workspace configuration",description:"Manage configuration paths, stateful/stateless mode, test directory, and rule linter.",commands:[{name:"paths",summary:"Display active configuration file and directory paths",usage:["seal-use config paths"]},{name:"get",aliases:["status"],summary:"Display current global configuration",usage:["seal-use config get"]},{name:"mode",summary:"Configure stateful or stateless CLI operating mode",usage:["seal-use config mode [--corp ]"]},{name:"test-dir",aliases:["test-enterprises-dir"],summary:"Set or clear global test enterprises directory",usage:["seal-use config test-dir [|--clear]"]},{name:"lint",summary:"Configure automatic rule linter status and thresholds",usage:["seal-use config lint [status|enable|disable] [--linter ] [--min-score ]"]}]},{area:"auth",title:"Authentication and session diagnostics",description:"Diagnose upstream token status and generate provisional assistance links.",commands:[{name:"diagnose",summary:"Diagnose auth session and platform connectivity",usage:["seal-use auth diagnose [--corp ]"]},{name:"hose-link",summary:"Generate Hose third-party assistance link",usage:["seal-use auth hose-link [--corp ] [--expire 7200]"]},{name:"extract-keys",summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥并可选升级配置",usage:["seal-use auth extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】直接将提取到的合思 OpenAPI 密钥持久化为标准企业配置"},{flag:"--app-key ",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id ",description:"存在多套密钥时指定使用的 keyId"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看当前企业已配置的合思 OpenAPI 开发者密钥",usage:["seal-use auth keys [--corp ] [--reveal]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"}],description:"专属于合思 (Hose) 来源企业。原生 Seal 企业不包含 OpenAPI 密钥,不支持此命令。"}]},{area:"delegation",title:"Delegation tokens",description:"Manage Seal user delegation tokens and temporary access credentials.",commands:[{name:"list",summary:"List active delegation tokens",usage:["seal-use delegation list [--corp ]"]},{name:"create",summary:"Create a new delegation token",usage:["seal-use delegation create [--note ] [--from-link ] [--corp ]"]},{name:"revoke",summary:"Revoke an existing delegation token",usage:["seal-use delegation revoke [--corp ]"]}]},{area:"users",title:"User administration",description:"Manage tenant users, phone credentials, and passwords.",commands:[{name:"create",summary:"Create a new tenant user",usage:["seal-use users create --name --phone [--dept ] [--corp ]"]},{name:"search",summary:"Search tenant users by name or phone",usage:["seal-use users search [--corp ]"]},{name:"delegation",summary:"Create delegation token for a specific user",usage:["seal-use users delegation [--note ] [--corp ]"]},{name:"reset-password",summary:"Reset user password",usage:["seal-use users reset-password [--corp ]"]},{name:"get",summary:"Get user details",usage:["seal-use users get [--corp ]"]},{name:"delete",summary:"Delete user",usage:["seal-use users delete [--corp ]"]}]},{area:"contacts",title:"Contacts directory",description:"Query organizational departments, child hierarchies, and user mappings.",commands:[{name:"departments",summary:"List organizational departments",usage:["seal-use contacts departments [] [--corp ]"]},{name:"children",summary:"List child departments",usage:["seal-use contacts children [--corp ]"]},{name:"users",summary:"List users in department",usage:["seal-use contacts users [--corp ]"]},{name:"sync-time",summary:"Get latest contacts synchronization time",usage:["seal-use contacts sync-time [--corp ]"]}]},{area:"data",title:"Expense and invoice data records",description:"Search raw historical expense and invoice data entries.",commands:[{name:"expenses",summary:"Search raw expense items",usage:["seal-use data expenses [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ]"]},{name:"invoices",summary:"Search raw invoice records",usage:["seal-use data invoices [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ]"]}]},{area:"llm",title:"LLM configuration",description:"Query LLM providers and configuration settings.",commands:[{name:"config",summary:"Get active LLM configuration",usage:["seal-use llm config [--corp ]"]},{name:"providers",summary:"List available LLM providers",usage:["seal-use llm providers [--corp ]"]}]},{area:"permissions",title:"Tenant permissions",description:"Inspect available and configured permissions.",commands:[{name:"available",summary:"List available permissions",usage:["seal-use permissions available [--corp ]"]},{name:"configs",summary:"List active permission configurations",usage:["seal-use permissions configs [--corp ]"]}]},{area:"billing",title:"Subscription and billing plans",description:"Query billing status, feature entitlements, and plan limits.",commands:[{name:"status",summary:"Query current billing and subscription status",usage:["seal-use billing status [--corp ]"]},{name:"plans",summary:"Query available billing plans",usage:["seal-use billing plans [--corp ]"]},{name:"features",summary:"Query billing feature toggles",usage:["seal-use billing features [--corp ]"]}]},{area:"analytics",title:"Audit analytics and insights",description:"Query high-level audit analytics and insights.",commands:[{name:"insight",aliases:["insight-stats","stats"],summary:"Query AI audit insights risk-tag statistics and analysis status",usage:["seal-use analytics insight [--start-date ] [--end-date ] [--limit ] [--corp ]"]},{name:"risks",aliases:["risks-by-tag","tag-risks"],summary:"Query detailed risks and document citations under a specific risk tag",usage:["seal-use analytics risks [--start-date ] [--end-date ] [--corp ]"]},{name:"performance",aliases:["perf"],summary:"Query audit performance metrics (accuracy, automation rate) and Sankey flow",usage:["seal-use analytics performance [--start-date ] [--end-date ] [--corp ]"]},{name:"analyze",aliases:["reanalyze"],summary:"Trigger on-demand smart insight risk analysis for an approval record",usage:["seal-use analytics analyze [--corp ]"]},{name:"export",aliases:["report","download"],summary:"Export smart insights risk report to high-fidelity Excel workbook",usage:["seal-use analytics export [--downloads] [--out ] [--start-date ] [--end-date ] [--force] [--limit ] [--corp ]"],options:[{flag:"--downloads",description:"Save directly to the user's Downloads directory"},{flag:"--out ",description:"Custom destination file path"},{flag:"--start-date ",description:"Filter beginning time range"},{flag:"--end-date ",description:"Filter ending time range"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--limit ",description:"Maximum risk tags to drill down into"}]}]},{area:"context",title:"Knowledge context and documents",description:"Query uploaded knowledge context and documents.",commands:[{name:"",summary:"Inspect knowledge context documents",usage:["seal-use context [--ruleVersion ] [--documentLimit 50] [--corp ]"]}]},{area:"source",title:"Data source configurations",description:"Inspect enterprise source system configuration.",commands:[{name:"config",summary:"Inspect source configuration",usage:["seal-use source config [--corp ]"]}]},{area:"tool",title:"Direct low-level tool invocation",description:"Execute individual Seal tools directly.",commands:[{name:"",summary:"Invoke a tool directly",usage:[`seal-use tool [--corp ] [--json '{"key":"value"}']`]}]},{area:"tools",title:"Available tools listing",description:"List all executable domain tools.",commands:[{name:"list",summary:"List all available domain tools",usage:["seal-use tools list"]}]},{area:"update",title:"CLI self-update and release changelogs",description:"Check for new releases, perform self-updates, and view changelogs.",commands:[{name:"",summary:"Update seal-use to latest or target version",usage:["seal-use update [--check] [--force] [--version ]","seal-use update check","seal-use update changelog [--limit ]","seal-use changelog [--limit ]"]}]},{area:"probe",title:"Enterprise connectivity probe",description:"Probe upstream Hose and Seal HTTP connectivity and token validity.",commands:[{name:"",summary:"Run connectivity probe",usage:["seal-use probe []"]}]},{area:"mcp",title:"Model Context Protocol (MCP) server",description:"Run standalone or stdio MCP server for agent harnesses.",commands:[{name:"",summary:"Run MCP server or output MCP config",usage:["seal-use mcp","seal-use mcp config","seal-use mcp-config"]}]},{area:"skill",title:"Agent skill management",description:"Install, dump, or inspect agent skills.",commands:[{name:"dump",summary:"Dump embedded skill markdown",usage:["seal-use skill dump"]},{name:"install",summary:"Install skill to active workspace",usage:["seal-use skill install [--dir |--local]"]},{name:"status",summary:"Check skill installation status",usage:["seal-use skill status"]}]},{area:"http",title:"HTTP server",description:"Run interactive HTTP server.",commands:[{name:"",summary:"Start HTTP daemon",usage:["seal-use http [--port 8787] [--host 127.0.0.1]","seal-use serve [--port 8787]"]}]},{area:"service",title:"Background HTTP service lifecycle",description:"Start, stop, restart, inspect, and read logs from the standalone seal-use HTTP service daemon.",commands:[{name:"start",summary:"Start the background service daemon",usage:["seal-use service start [--port 8787] [--host 127.0.0.1]"]},{name:"stop",summary:"Stop the background service daemon",usage:["seal-use service stop"]},{name:"restart",summary:"Restart the background service daemon",usage:["seal-use service restart [--port 8787] [--host 127.0.0.1]"]},{name:"status",summary:"Show service daemon status",usage:["seal-use service status"]},{name:"logs",summary:"Print recent service daemon logs",usage:["seal-use service logs [--lines 50]"]},{name:"run",summary:"Run the service in the foreground",usage:["seal-use service run [--port 8787] [--host 127.0.0.1]"]}]},{area:"stop",title:"Stop the background service",description:"Shortcut for stopping the background seal-use HTTP service daemon.",commands:[{name:"",summary:"Stop the background service daemon",usage:["seal-use stop"]}]},{area:"openapi",title:"OpenAPI specification",description:"Output embedded OpenAPI JSON specification.",commands:[{name:"",summary:"Print OpenAPI schema",usage:["seal-use openapi"]}]},{area:"doctor",title:"System diagnostic and environment health check",description:"Inspects runtime executable, filesystem paths, enterprise assets, and embedded specifications without modifying any files.",commands:[{name:"",summary:"Run complete system diagnostic health check",usage:["seal-use doctor [--quiet]"],options:[{flag:"--quiet",description:"Suppress formatted human dashboard on stderr"}]},{name:"guide",aliases:["doc","knowledge"],summary:"Read embedded system architecture & directory specification whitepaper",usage:["seal-use doctor guide"]},{name:"paths",aliases:["dirs"],summary:"Inspect core filesystem paths and directory health",usage:["seal-use doctor paths"]},{name:"tenant",aliases:["corp","enterprise"],summary:"Inspect tenant-level health contract, auth permissions, AI approval quota, and rules state",usage:["seal-use doctor tenant [--corp ] [--quiet]"],options:[{flag:"--corp ",description:"Enterprise ID or selector to diagnose"},{flag:"--quiet",description:"Suppress formatted dashboard on stderr"}]}]},{area:"test",title:"Automated test harnesses and rule regression matrix",description:"Run automated regression tests and decision comparison matrix across paired production and test environments.",commands:[{name:"regression",aliases:["regress","matrix"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use test regression [--corp ] [--samples ] [--dry-run] [--fail-on-flips]"],options:[{flag:"--corp ",description:"Target test enterprise or production parent (must be paired)"},{flag:"--samples ",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"},{flag:"--prod-corp ",description:"Explicit production enterprise source for sample documents"},{flag:"--test-corp ",description:"Explicit test enterprise target for replay"},{flag:"--quiet",description:"Suppress formatted summary dashboard on stderr"}]}]}]});import{writeFileSync as Ph1}from"node:fs";function Dl($){return $.map((Y)=>typeof Y==="string"?Y:String(Y)).join(" ")}function Vq($){if(!$.length)return"";return`${$.join(` `)} -`}function Vq($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1")}function c0($,Y={}){Th1($,Y);let z=`${JSON.stringify($,null,2)} -`;if(Y.outputFile){Dh1(Y.outputFile,z),console.log(JSON.stringify({outputFile:Y.outputFile,bytes:Buffer.byteLength(z,"utf-8")},null,2));return}console.log(z.trimEnd())}function Th1($,Y={}){if(Y.allowFull||Y.outputFile)return;let z=Buffer.byteLength(JSON.stringify($),"utf-8");if(z>Ah1)throw new yP(`Output is large (${z} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function eR0($,Y){if(Y)return;let z=$&&typeof $==="object"?$:{},U=typeof z.count==="number"?z.count:void 0,Q=Array.isArray(z.rules)?z.rules.length:void 0,J=Buffer.byteLength(JSON.stringify($),"utf-8"),I=U??Q??0;if(I>Bh1||J>Ph1)throw new yP(`Rule list is large (${I} rules, ${J} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`,"seal-use rules list --summary")}function C0($){return{allowFull:F0($.full)===!0,outputFile:S($.outputFile)??S($["output-file"])}}function $_0($=[]){console.log(aR0($))}var Bh1=100,Ph1=120000,tR0,Ah1=200000;var J4=o(()=>{D4();L$();Nl();tR0=["id","code","status","strictness","scope","createdAt","updatedAt"]});var Y_0={};x8(Y_0,{selectCorp:()=>E1,runToolResult:()=>o2,runTool:()=>k0,globalConfigSummary:()=>l2});function E1($){let Y=s8(),z=_4(),U=f2(Y,{stateful:z.stateful,defaultCorpId:z.defaultCorpId,corpId:$},v7());return tD0(U.id),U}function l2($=_4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:JU()}}async function k0($,Y,z,U,Q={}){c0(await o2($,Y,z,U),Q)}async function o2($,Y,z,U){let Q=Wq.find((K)=>K.name===$);if(!Q)throw Error(`Unknown Seal tool: ${$}`);let J=Object.fromEntries(Object.entries(U).filter(([,K])=>K!==void 0)),I=Q.handler;return I(Y,J,{corp:z})}var o4=o(()=>{h7();tn();Xq();J4()});import{existsSync as z_0}from"node:fs";async function U_0($,Y){if(!z_0($))throw Error(`File not found: ${$}`);let z=RU($);console.log(JSON.stringify(await CU(z.fileBuffer,z.fileName,Y),null,2))}async function HT($,Y,z,U,Q){if($==="ready"||$==="status"){let J=Y??S(Q.options.file)??S(Q.options.input),I=await rA(z,U,{filePath:J,webhook:S(Q.options.webhook)??S(Q.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${I.corp.name} (${I.corp.id}) [${I.stateMode}]`),I.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${I.corp.tenant.name} (${I.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${I.authStatus==="ok"?"OK":`异常 (${I.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${I.activeWebhooks.length} 个可用`);for(let K of I.activeWebhooks){let G=K.isDefault?" [默认通道]":"";console.error(` - ${K.name} (${K.id}) mode=${K.mode}${G}`)}if(I.materialPack)console.error(`[webhook-ready] 材料包预检: ${I.materialPack.valid?`通过 (${I.materialPack.documentCount} 单)`:`失败 (${I.materialPack.errors?.join("; ")})`}`);if(I.ready)console.error(`\uD83D\uDFE2 ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);console.log(JSON.stringify(I,null,2));return}if($==="replay"){let J=Y??S(Q.options.recordId)??S(Q.options["record-id"])??S(Q.options.id),I=S(Q.options.recordIds)??S(Q.options["record-ids"]),K=I?I.split(",").map((c)=>c.trim()).filter(Boolean):void 0,G=S(Q.options.sn)??S(Q.options.documentSn)??S(Q.options["document-sn"]),W=S(Q.options.sns)??S(Q.options["document-sns"]),H=W?W.split(",").map((c)=>c.trim()).filter(Boolean):void 0,X=s0(Q.options.limit),Z=S(Q.options.status),q=S(Q.options.startDate)??S(Q.options["start-date"]),V=S(Q.options.endDate)??S(Q.options["end-date"]);if(!J&&!K&&!G&&!H&&X===void 0)throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--status ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let F=S(Q.options.sourceCorp)??S(Q.options["source-corp"])??S(Q.options.prodCorp)??S(Q.options["prod-corp"]),M=S(Q.options.targetCorp)??S(Q.options["target-corp"])??S(Q.options.testCorp)??S(Q.options["test-corp"]),w=F0(Q.options.force)===!0,{sourceCorp:O,targetCorp:D}=kP({sourceCorpId:F,targetCorpId:M,activeCorp:U,force:w},E1),N=O.id===U.id?z:await j1(O),A=D.id===U.id?z:await j1(D),T=S(Q.options.webhook)??S(Q.options.selector),B=S(Q.options.snSuffix)??S(Q.options["sn-suffix"]),j=S(Q.options.snPrefix)??S(Q.options["sn-prefix"]),C=S(Q.options.docIdSuffix)??S(Q.options["doc-id-suffix"]),b=S(Q.options.docIdPrefix)??S(Q.options["doc-id-prefix"]),k=F0(Q.options.dryRun)??F0(Q.options["dry-run"]),i=await sI({query:{recordId:J,recordIds:K,sn:G,sns:H,limit:X,status:Z,startDate:q,endDate:V},sourceClient:N,targetClient:A,sourceCorp:O,targetCorp:D,webhookSelector:T,snPrefix:j,snSuffix:B,docIdPrefix:b,docIdSuffix:C,dryRun:k});if(k){console.error(`[webhook-replay] 预览模式:已成功从 ${O.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(i,null,2));return}if(i.success)if(i.totalCount===1&&i.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${i.replayedDocument.documentSN}」至 ${D.name} (${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${i.successCount} 条单据(来自「${O.name}」)至「${D.name}」(${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${i.successCount} 条,失败 ${i.failureCount} 条)至「${D.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${D.id} --limit ${i.totalCount}`),console.log(JSON.stringify(i,null,2)),!i.success)process.exitCode=1;return}if($==="resource-pack"||$==="pack"||$==="material-pack"||$==="material-pack-push"||$==="resource-pack-push"){let J=$==="material-pack-push"||$==="resource-pack-push"?"push":Y;if(J==="export"||J==="pull"){let Z=S(Q.options.recordId)??S(Q.options["record-id"])??S(Q.options.id)??(Q.command[3]&&!Q.command[3].endsWith(".zip")&&!Q.command[3].startsWith("-")?Q.command[3]:void 0),q=S(Q.options.recordIds)??S(Q.options["record-ids"]),V=q?q.split(",").map((C)=>C.trim()).filter(Boolean):void 0,F=s0(Q.options.limit)??(Z||V?void 0:10),M=S(Q.options.status),w=S(Q.options.startDate)??S(Q.options["start-date"]),O=S(Q.options.endDate)??S(Q.options["end-date"]),D=S(Q.options.docIdPrefix)??S(Q.options["doc-id-prefix"]),N=S(Q.options.docIdSuffix)??S(Q.options["doc-id-suffix"]),A=F0(Q.options["no-attachments"])===!0?!1:F0(Q.options.attachments)!==!1,T=S(Q.options.output)??S(Q.options.outputFile)??S(Q.options["output-file"])??S(Q.options.o)??S(Q.options.file)??(Q.command[3]?.endsWith(".zip")?Q.command[3]:void 0),B=F0(Q.options.toDownloads)??F0(Q.options["to-downloads"])??!1,j=await lA(z,U,{recordId:Z,recordIds:V,limit:F,status:M,startDate:w,endDate:O,docIdPrefix:D,docIdSuffix:N,includeAttachments:A,outputFile:T,toDownloads:B});console.error(`\uD83D\uDFE2 成功导出 Webhook 资源包: ${j.filePath} (共 ${j.recordCount} 条单据,${j.attachmentCount} 个附件,${(j.fileSizeBytes/1024).toFixed(1)} KB)`),console.error(`\uD83D\uDC49 Next action: ${j.nextAction}`),console.log(JSON.stringify(j,null,2));return}let I=$==="material-pack-push"||$==="resource-pack-push"?S(Q.options.file)??S(Q.options.input):Q.command[3]??S(Q.options.file)??S(Q.options.input);if(!I)throw Error("Usage: seal-use webhook resource-pack [options]");if(!z_0(I))throw Error(`File not found: ${I}`);let K=RU(I);if(J==="preview"){console.log(JSON.stringify(await CU(K.fileBuffer,K.fileName),null,2));return}if(J!=="push")throw Error("Usage: seal-use webhook resource-pack [options]");let G=S(Q.options.webhook)??S(Q.options.selector),W=await J$(z,U.seal.endpoints.approvalStylePreferences),H;if(G)H=v3(W,G);else if(W.length===1)H=W[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${H.name} (${H.id})`);else if(W.length>1){let Z=W.map((q)=>`"${q.name}" (${q.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Z}],请通过 --webhook 指定目标通道。`)}else throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url --corp ${U.id}`);let X=await oA(K.fileBuffer,K.fileName,{webhookUrl:H.incomingDocumentWebhook.url,secret:H.secret,materialPackFilePolicy:H.materialPackFilePolicy,customHeaders:B6(U.seal)});console.error(`\uD83D\uDFE2 Webhook 资源包推送完成 (成功 ${X.results.length} 条单据)`),console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${U.id} --limit ${X.results.length}`),console.log(JSON.stringify(X,null,2));return}if($==="list"){await k0("seal_webhook_list",z,U,{query:S(Q.options.query)??S(Q.options.keyword),includeSecret:WT(Q.options)},C0(Q.options));return}if($==="get"||$==="find"){let J=Y??S(Q.options.selector)??S(Q.options.id);if(!J)throw Error("Usage: seal-use webhook get [--show-secret]");await k0("seal_webhook_get",z,U,{selector:J,includeSecret:WT(Q.options)},C0(Q.options));return}if($==="add"||$==="create"){let J=S(Q.options.name)??Y,I=S(Q.options.resultUrl)??S(Q.options["result-url"])??S(Q.options.outgoingResultWebhook)??S(Q.options["outgoing-result-webhook"]);if(!J||!I)throw Error("Usage: seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic]");let K=GT(Q.options),G=hK(Q.options),W=F0(Q.options.dryRun)??F0(Q.options["dry-run"]);await k0("seal_webhook_add",z,U,{name:J,mode:KT(S(Q.options.mode)),outgoingResultWebhook:I,autoApprovalRate:K,secret:S(Q.options.secret),materialPackFilePolicy:G,dryRun:W},C0(Q.options));return}if($==="update"){let J=Y??S(Q.options.selector)??S(Q.options.id);if(!J)throw Error("Usage: seal-use webhook update [options]");let I=S(Q.options.secret),K=F0(Q.options.rotateSecret)??F0(Q.options["rotate-secret"]);if(I!==void 0&&K)throw d4("Use either --secret or --rotate-secret, not both");let G=S(Q.options.name),W=KT(S(Q.options.mode)),H=S(Q.options.resultUrl)??S(Q.options["result-url"])??S(Q.options.outgoingResultWebhook)??S(Q.options["outgoing-result-webhook"]),X=GT(Q.options),Z=hK(Q.options),q=F0(Q.options.dryRun)??F0(Q.options["dry-run"]);if(G===void 0&&W===void 0&&H===void 0&&X===void 0&&I===void 0&&!K&&Z===void 0&&!q)throw d4("Webhook update requires at least one field option");await k0("seal_webhook_update",z,U,{selector:J,name:G,mode:W,outgoingResultWebhook:H,autoApprovalRate:X,secret:I,rotateSecret:K,materialPackFilePolicy:Z,dryRun:q},C0(Q.options));return}if($==="delete"){let J=Y??S(Q.options.selector)??S(Q.options.id),I=F0(Q.options.dryRun)??F0(Q.options["dry-run"]);if(!J)throw Error("Usage: seal-use webhook delete [--yes|--dry-run]");if(F0(Q.options.yes)!==!0&&!I)throw N9("Refusing to delete Webhook integration without --yes",`seal-use webhook delete ${J} --corp ${U.id} --yes`);await k0("seal_webhook_delete",z,U,{selector:J,confirm:!0,dryRun:I},C0(Q.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}var Bl=o(()=>{i8();o4();X6();X6();CZ();Ql();D4();J4();L$()});async function Q_0($,Y,z,U,Q){if($==="replay"){await HT("replay",Y,z,U,Q);return}if($==="summary"){let J=await o2("seal_approval_runs_summary",z,U,{date:S(Q.options.date),timezone:S(Q.options.timezone),limit:s0(Q.options.limit),startDate:S(Q.options.startDate),endDate:S(Q.options.endDate),status:S(Q.options.status),taskMode:S(Q.options.taskMode),manualApprovalStatus:S(Q.options.manualApprovalStatus),sourceDocumentSN:S(Q.options.sourceDocumentSN),sourceDocumentId:S(Q.options.sourceDocumentId),humanResult:S(Q.options.humanResult),query:S(Q.options.query)});if(J?.matched===0&&J?.total>0)console.error(`提示:在 ${J.date} 未匹配到记录(该企业共有 ${J.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);c0(J,C0(Q.options));return}if($==="stats"){await k0("seal_approval_runs_stats",z,U,{since:S(Q.options.since),dedupeBy:S(Q.options.dedupeBy)??S(Q.options["dedupe-by"]),status:S(Q.options.status),sourceSystem:S(Q.options.sourceSystem)??S(Q.options["source-system"]),taskMode:S(Q.options.taskMode)??S(Q.options["task-mode"])},C0(Q.options));return}if($==="count"){let J=S(Q.options.start)??S(Q.options.startDate)??S(Q.options.since),I=S(Q.options.end)??S(Q.options.endDate);await k0("seal_approval_runs_count",z,U,{status:S(Q.options.status),sourceSystem:S(Q.options.sourceSystem)??S(Q.options["source-system"]),taskMode:S(Q.options.taskMode)??S(Q.options["task-mode"]),search:S(Q.options.search)??S(Q.options.query),startDate:J?y2(J,!1):void 0,endDate:I?y2(I,!0):void 0},C0(Q.options));return}if($==="search"||$==="list"){await k0("seal_approval_runs_search",z,U,{limit:s0(Q.options.limit),offset:s0(Q.options.offset),startDate:S(Q.options.startDate)??S(Q.options.start)??S(Q.options.since),endDate:S(Q.options.endDate)??S(Q.options.end),status:S(Q.options.status),taskMode:S(Q.options.taskMode),manualApprovalStatus:S(Q.options.manualApprovalStatus),sourceDocumentSN:S(Q.options.sourceDocumentSN),sourceDocumentId:S(Q.options.sourceDocumentId),humanResult:S(Q.options.humanResult),query:S(Q.options.query),includeBridge:F0(Q.options.includeBridge)},C0(Q.options));return}if($==="bridge"){await k0("seal_approval_run_langfuse_bridge_get",z,U,{recordId:S(Q.options.recordId),sourceDocumentSN:S(Q.options.sourceDocumentSN),sourceDocumentId:S(Q.options.sourceDocumentId),simulationBatchId:S(Q.options.simulationBatchId),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="pick"){let J=Y??S(Q.options.query)??S(Q.options.sn);if(!J)throw Error("Usage: seal-use approval-runs pick --sn ");await k0("seal_approval_run_pick",z,U,{query:J,sn:S(Q.options.sn),batchId:S(Q.options.batch)??S(Q.options.batchId),latest:F0(Q.options.latest),fields:S(Q.options.fields),limit:s0(Q.options.limit),includeBridge:F0(Q.options.includeBridge)},C0(Q.options));return}if($==="get"){let J=Q.command[2];if(!J)throw Error("Missing approval run recordId");if(F0(Q.options.flow)){await k0("seal_approval_run_flow_get",z,U,{recordId:J},C0(Q.options));return}await k0("seal_approval_run_get",z,U,{recordId:J,fields:S(Q.options.fields),summary:F0(Q.options.summary)},C0(Q.options));return}if($==="cited-rules"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs cited-rules ");await k0("seal_approval_run_cited_rules_get",z,U,{recordId:J},C0(Q.options));return}if($==="document-summary"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs document-summary ");await k0("seal_approval_run_document_summary_get",z,U,{recordId:J},C0(Q.options));return}if($==="attachments"){if(Q.command[2]==="download"){let W=Q.command[3];if(!W)throw Error("Usage: seal-use approval-runs attachments download [--all] [--name ] [--out-dir ]");let H=await G4(z,W),X=await TP({record:H,all:F0(Q.options.all),name:S(Q.options.name),outDir:S(Q.options["out-dir"])??S(Q.options.outDir)??S(Q.options.dir)});if(c0(X,C0(Q.options)),X.total>0&&X.downloaded===0)throw Error(`所有 ${X.total} 个附件下载均失败。`);return}let I=Q.command[2];if(!I)throw Error("Usage: seal-use approval-runs attachments | seal-use approval-runs attachments download ");if(F0(Q.options.download)){let W=await G4(z,I),H=await TP({record:W,all:F0(Q.options.all)??!0,name:S(Q.options.name),outDir:S(Q.options["out-dir"])??S(Q.options.outDir)??S(Q.options.dir)});if(c0(H,C0(Q.options)),H.total>0&&H.downloaded===0)throw Error(`所有 ${H.total} 个附件下载均失败。`);return}let K=await G4(z,I),G=k2(K,{summary:F0(Q.options.summary)});c0(G,C0(Q.options));return}if($==="download"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs download [--all] [--name ] [--out-dir ]");let I=await G4(z,J),K=await TP({record:I,all:F0(Q.options.all),name:S(Q.options.name),outDir:S(Q.options["out-dir"])??S(Q.options.outDir)??S(Q.options.dir)});if(c0(K,C0(Q.options)),K.total>0&&K.downloaded===0)throw Error(`所有 ${K.total} 个附件下载均失败。`);return}if($==="result"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs result [--summary]");await k0("seal_approval_run_result_get",z,U,{recordId:J,summary:F0(Q.options.summary)},C0(Q.options));return}if($==="url"){let J=F0(Q.options.sso)??!1,I=s0(Q.options.expire)??s0(Q.options.expiresIn)??7200,K=S(Q.options.sn)??S(Q.options.sourceDocumentSN);await k0("seal_approval_run_url_get",z,U,{recordId:Y??S(Q.options.id)??S(Q.options.recordId),sourceDocumentSN:K,sourceDocumentId:S(Q.options.sourceDocumentId),sso:J,expiresIn:I},C0(Q.options));return}if($==="flow"){let J=Y??Q.command[2]??S(Q.options.sn)??S(Q.options.id)??S(Q.options.recordId);if(!J)throw Error("Usage: seal-use approval-runs flow ");await k0("seal_approval_run_flow_get",z,U,{target:J},C0(Q.options));return}if($==="export"){let J=S(Q.options.sn)??S(Q.options.sns)??S(Q.options.sourceDocumentSN),I=J?J.split(/[,;\s]+/).map((G)=>G.trim()).filter(Boolean):void 0,K=await PP(z,U,{sns:I,limit:s0(Q.options.limit),startDate:S(Q.options["start-date"])??S(Q.options.startDate)??S(Q.options.start)??S(Q.options.since),endDate:S(Q.options["end-date"])??S(Q.options.endDate)??S(Q.options.end)??S(Q.options.until),status:S(Q.options.status),manualApprovalStatus:S(Q.options["manual-status"])??S(Q.options.manualStatus)??S(Q.options.manualApprovalStatus),includeCompletedOnly:F0(Q.options["completed-only"])??F0(Q.options.completedOnly),outputFile:S(Q.options.out)??S(Q.options.output)??S(Q.options.file),toDownloads:F0(Q.options["to-downloads"])??F0(Q.options.downloads)??F0(Q.options.download),force:F0(Q.options.force),withFlow:F0(Q.options["with-flow"])??(F0(Q.options["no-flow"])?!1:void 0),flowConcurrency:s0(Q.options["flow-concurrency"])??s0(Q.options.concurrency),excludeDeleted:F0(Q.options["exclude-deleted"])??(F0(Q.options["include-deleted"])?!1:void 0),taskMode:S(Q.options.taskMode)??S(Q.options["task-mode"]),sourceSystem:S(Q.options.sourceSystem)??S(Q.options["source-system"])});if(console.error(`\uD83D\uDC49 查看导出文件: open "${K.filePath}"`),!Q.options["with-flow"]&&U.source.type==="hose")console.error("\uD83D\uDC49 提示: 追加 --with-flow 可额外拉取合思原生审批流,输出 E人工行为 / E人工意见。");c0(K,C0(Q.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}var J_0=o(()=>{X6();AP();jP();o4();D4();J4();Bl()});async function I_0($,Y,z,U,Q){if($==="insight"||$==="insight-stats"||$==="stats"){await k0("seal_insight_stats_get",z,U,{startDate:S(Q.options.startDate)??S(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"]),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="risks"||$==="risks-by-tag"||$==="tag-risks"){let J=Y??S(Q.options.tagId)??S(Q.options["tag-id"]);if(!J)throw Error("Usage: seal-use analytics risks [--start-date ] [--end-date ] [--corp ]");await k0("seal_insight_risks_by_tag_get",z,U,{tagId:J,startDate:S(Q.options.startDate)??S(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"])},C0(Q.options));return}if($==="performance"||$==="perf"){await k0("seal_insight_performance_get",z,U,{startDate:S(Q.options.startDate)??S(Q.options["start-date"])??s0(Q.options.startDate)??s0(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"])??s0(Q.options.endDate)??s0(Q.options["end-date"])},C0(Q.options));return}if($==="analyze"||$==="reanalyze"){let J=Y??S(Q.options.recordId)??S(Q.options["record-id"]);if(!J)throw Error("Usage: seal-use analytics analyze [--corp ]");await k0("seal_insight_record_analyze",z,U,{recordId:J},C0(Q.options));return}if($==="export"||$==="report"||$==="download"){let J=await aA(z,U,{startDate:S(Q.options.startDate)??S(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"]),limit:s0(Q.options.limit),outputFile:S(Q.options.out)??S(Q.options["output-file"])??S(Q.options.outputFile),toDownloads:F0(Q.options.downloads)??F0(Q.options["to-downloads"]),force:F0(Q.options.force)});c0(J);return}throw Error(`Unknown analytics command: ${$??""}. Run 'seal-use help' for available commands.`)}var K_0=o(()=>{Jl();o4();D4();J4()});var W_0,H_0,XT,G_0,r4;var a$=o(()=>{W_0=/^[\uD800-\uDBFF]$/,H_0=/^[\uDC00-\uDFFF]$/,XT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;(function($){$[$.Unknown=0.0000000000001]="Unknown",$[$.Rule=0.000000000001]="Rule",$[$.DICT=0.00000002]="DICT",$[$.Surname=1]="Surname",$[$.Custom=1]="Custom"})(G_0||(G_0={}));r4={Normal:1,Surname:10,Custom:100}});function r2($){var Y;return $.length-(((Y=$.match(XT))===null||Y===void 0?void 0:Y.length)||0)}function F$($){if(XT.lastIndex=0,!XT.test($))return $.split("");let Y=[],z=0;while(z<$.length){let U=$[z];if(W_0.test(U)&&H_0.test($[z+1]))Y.push($.substring(z,z+2)),z+=2;else Y.push(U),z+=1}return Y}class SK{constructor(){this.NumberDICT=[],this.StringDICT=new Map}get($){if($.length>1)return this.StringDICT.get($);else{let Y=$.charCodeAt(0);return this.NumberDICT[Y]}}set($,Y){if($.length>1)this.StringDICT.set($,Y);else{let z=$.charCodeAt(0);this.NumberDICT[z]=Y}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}var R9=o(()=>{a$()});function jh1(){let $={零一:"líng yī",〇一:"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let Y in X_0)for(let z in Z_0){let U=`${Y}${z}`,Q=`${X_0[Y]} ${Z_0[z]}`;$[U]=Q}return $}var V_0,L_0,F_0,w_0,M_0,X_0,Z_0,q_0,O_0,Pl,N_0,D_0;var Al=o(()=>{a$();R9();V_0=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],L_0=["j","q","x"],F_0=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],w_0={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},M_0=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],X_0={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},Z_0={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};q_0=jh1(),O_0=Object.keys(q_0).map(($)=>({zh:$,pinyin:q_0[$],probability:0.000000000001,length:r2($),priority:r4.Normal,dict:Symbol("rule")})),Pl={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},N_0={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},D_0=Object.keys(Pl)});var B_0,T5;var ZT=o(()=>{R9();B_0={"bǎng páng pāng":["膀"],líng:["〇","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","\uD867\uDF83"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","\uD872\uDFBF"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","\uD873\uDCF5"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","\uD872\uDD0A"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","\uD871\uDFFD"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","\uD871\uDF2F"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","\uD86C\uDD27"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","\uD870\uDEA4"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","\uD873\uDD0A","\uD872\uDF78"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","\uD873\uDE26"],zhǔ:["丶","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","\uD872\uDCDE"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","\uD872\uDF6F"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","\uD872\uDF29","㑊","\uD86C\uDD37","\uD871\uDFC1"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","\uD84F\uDC98"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","\uD85A\uDF5C"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","\uD86D\uDDAE","\uD873\uDE88"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","\uD840\uDD64","\uD86D\uDE2C"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","\uD871\uDE4B"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","\uD872\uDFC0","\uD86D\uDCEF","\uD86D\uDCF9","\uD86C\uDF00"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","\uD870\uDCA9"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","\uD873\uDE18","\uD871\uDE42","\uD86A\uDE58"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","\uD86D\uDDAF"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","\uD86D\uDE1D","㵐","\uD86D\uDD0E"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","\uD861\uDE78","\uD872\uDE02","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","\uD86D\uDFE6","\uD872\uDF7C"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","\uD872\uDF41","\uD85F\uDFF9"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","\uD873\uDE7C","\uD852\uDEC9"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","\uD872\uDF31"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","\uD872\uDF2D"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","\uD873\uDE23"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","\uD86D\uDFF9","\uD872\uDF4E"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","\uD86C\uDF63","\uD859\uDC8D"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","\uD872\uDCE1"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","\uD871\uDE18"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","\uD86D\uDCE7"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","\uD86C\uDDED","\uD870\uDC29","\uD873\uDC5F"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","\uD871\uDE2C"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","\uD873\uDCFD"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","\uD86A\uDE30","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","\uD86E\uDCB8"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","\uD86D\uDE96"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","\uD873\uDD8D"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","\uD872\uDCF3"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","\uD86F\uDC1B"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","\uD86F\uDD77","\uD870\uDF5B"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","\uD871\uDE21","\uD872\uDD07","\uD872\uDFB1"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","\uD867\uDF7E"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","\uD86D\uDE27"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","\uD872\uDEA9"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","\uD863\uDC47"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","\uD86D\uDFC5"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","\uD852\uDDDB","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","\uD870\uDCCA"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","\uD870\uDDD9"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","\uD86F\uDDF7"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","\uD86D\uDFA9"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","\uD86D\uDC10","\uD86E\uDC1C"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","\uD86D\uDE28"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","\uD86E\uDEC7","\uD855\uDD32"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","\uD863\uDC51"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","\uD872\uDE0E"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","\uD872\uDCD9","\uD858\uDE21"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","\uD871\uDE13","\uD872\uDE7D","\uD870\uDF64","\uD870\uDE88"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","\uD870\uDE7C","\uD841\uDE76"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","\uD86D\uDDE7"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","\uD859\uDE76"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","\uD873\uDE93"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","\uD873\uDDA0"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","\uD871\uDF2C"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","\uD86E\uDF83"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","\uD86E\uDF7C"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","\uD872\uDF2E"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","\uD861\uDC08"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","\uD872\uDF5B"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","\uD872\uDD1D","\uD872\uDF6C"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","\uD870\uDC2A","\uD86B\uDFA2"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","\uD86D\uDCF6","\uD86C\uDF7D"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","\uD871\uDC97"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","\uD86D\uDC61","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","\uD86D\uDEAD"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","\uD86D\uDE2A"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","\uD873\uDD90"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","\uD84D\uDDCB"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","\uD869\uDFDD","\uD873\uDDA8","\uD873\uDDAD"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","\uD873\uDCF6"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","\uD873\uDCFF"],zhǔn:["准","凖","埻","準","\uD871\uDE2F"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","\uD86D\uDD0D","\uD873\uDE2A"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","\uD873\uDD8B"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","\uD870\uDF61"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","\uD86D\uDC04","\uD873\uDE1A"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","\uD86A\uDCFB"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","\uD873\uDD03"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","\uD86F\uDE29"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","\uD870\uDF17"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","\uD86C\uDD38"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","\uD86D\uDFFC"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","\uD863\uDE99"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","\uD870\uDDD5"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","\uD861\uDE95"],bǔ:["卟","哺","捕","补","補","鸔","\uD873\uDDD5"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","\uD872\uDF3B"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","\uD871\uDC88"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","\uD871\uDE29"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","\uD86F\uDD87"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","\uD86C\uDD28"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","\uD86D\uDE95"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","\uD863\uDC4F"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","\uD86D\uDE26"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","\uD86C\uDF6F"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","\uD871\uDC94"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","\uD872\uDF5A"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","\uD855\uDDA8"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","\uD873\uDC56"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","\uD84F\uDC97","\uD873\uDD8F"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","\uD873\uDD02"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","\uD86D\uDD36"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","\uD872\uDF64"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","\uD872\uDF73","\uD873\uDDAE"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","\uD871\uDE2D"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","\uD872\uDF69"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","\uD871\uDE4A"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","\uD855\uDD62"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","\uD86D\uDDF4"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","\uD871\uDF9F"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","\uD870\uDDF9"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","\uD84F\uDE23"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","\uD871\uDD42"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","\uD857\uDED7"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","\uD843\uDCD0"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","\uD86E\uDF62"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","\uD871\uDE2B","\uD852\uDE7D"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","\uD872\uDF38"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","\uD86A\uDE36"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","\uD86D\uDDB3"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","\uD872\uDF4A"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","\uD872\uDF3F"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","\uD85B\uDC21"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","\uD86D\uDC13"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","\uD86E\uDC0A"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","\uD845\uDC13","\uD867\uDF8C"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","\uD863\uDC54"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","\uD86C\uDF72"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","\uD86A\uDD17"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","\uD872\uDFCE"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","\uD86D\uDE1C"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","\uD861\uDFE0"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","\uD873\uDD9F"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","\uD862\uDF49"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","\uD872\uDF39"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","\uD872\uDF76"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","\uD86E\uDC06"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","\uD86D\uDEED"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","\uD844\uDF9A"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["\uD86E\uDF5F"],"lóu lǘ":["\uD859\uDF7C"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},T5=new SK;Object.keys(B_0).forEach(($)=>{let Y=B_0[$];for(let z of Y)T5.set(z,$)})});var Tl,w$4;var P_0=o(()=>{R9();Tl=new SK,w$4=new SK});var qT,A_0;var jl=o(()=>{a$();R9();qT={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},A_0=Object.keys(qT).map(($)=>({zh:$,pinyin:qT[$],probability:1+r2($),length:r2($),priority:r4.Surname,dict:Symbol("surname")}))});var gK=($,Y="off")=>{let z=T5.get($)?T5.get($).split(" "):[];if(Tl.get($))z=Tl.get($).split(" ");else if(Y!=="off"){let U=qT[$];if(U)z=[U].concat(z.filter((Q)=>Q!==U))}return z};var VT=o(()=>{ZT();P_0();jl()});var T_0,j_0;var E_0=o(()=>{a$();T_0={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng zhǎng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī",一〇:"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},j_0=Object.keys(T_0).map(($)=>({zh:$,pinyin:T_0[$],probability:0.00000002,length:2,priority:r4.Normal,dict:Symbol("dict2")}))});var C_0,R_0;var __0=o(()=>{a$();C_0={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},R_0=Object.keys(C_0).map(($)=>({zh:$,pinyin:C_0[$],probability:0.00000002,length:3,priority:r4.Normal,dict:Symbol("dict3")}))});var v_0,h_0;var S_0=o(()=>{a$();v_0={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},h_0=Object.keys(v_0).map(($)=>({zh:$,pinyin:v_0[$],probability:0.00000002,length:4,priority:r4.Normal,dict:Symbol("dict4")}))});var g_0,y_0;var k_0=o(()=>{a$();g_0={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},y_0=Object.keys(g_0).map(($)=>({zh:$,pinyin:g_0[$],probability:0.00000002,length:5,priority:r4.Normal,dict:Symbol("dict5")}))});var x_0;var f_0=o(()=>{Al();E_0();__0();S_0();k_0();jl();x_0=[...y_0,...h_0,...R_0,...j_0,...O_0,...A_0]});function u_0($,Y){if(!$)return Y;if($.decimalY.probability?$:Y;else return Y}function b_0($){if($.probability<0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)$.probability*=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,$.decimal+=1}function Eh1($){if($.priority===r4.Custom)return-($.length*$.length*100);if($.priority===r4.Surname)return-($.length*$.length*10);return 0}function i_0($,Y){let z=[],U={probability:1,decimal:0,nextIndex:Y},Q=$.length-1,J=$[Q];for(let G=Y-1;G>=0;G--){let W=G+1>=Y?U:z[G+1],H=W.pattern?G+1:W.nextIndex;while(J&&J.index+J.length-1===G){let Z=J.index,q={probability:J.probability*W.probability,decimal:W.decimal+Eh1(J),pattern:J,nextIndex:H};b_0(q),z[Z]=u_0(z[Z],q),J=$[--Q]}let X={probability:0.0000000000001*W.probability,decimal:0,nextIndex:H};b_0(X),z[G]=u_0(z[G],X)}let I=[],K=0;while(K{a$()});function n_0($,Y){if(!$)return Y;return $.count<=Y.count?$:Y}function Ch1($){if($.priority===r4.Custom)return-($.length*$.length*1e5);if($.priority===r4.Surname)return-($.length*$.length*100);return 1}function p_0($,Y){let z=[],U=$.length-1,Q=$[U];for(let J=Y-1;J>=0;J--){let I=J+1>=Y?{count:0,patterns:[]}:z[J+1];while(Q&&Q.index+Q.length-1===J){let G=Q.index,W={count:Ch1(Q)+I.count,patterns:I.patterns,concatPattern:Q};z[G]=n_0(z[G],W),Q=$[--U]}let K={count:1+I.count,patterns:I.patterns};if(z[J]=n_0(z[J],K),z[J].concatPattern)z[J].patterns=z[J].patterns.concat(z[J].concatPattern),z[J].concatPattern=void 0,delete z[J+1]}return z[0].patterns.reverse()}var d_0=o(()=>{a$()});function Rh1($,Y){if(Y.index+Y.length<=$.index)return!1;if(Y.priority>$.priority)return!1;if(Y.priority===$.priority&&Y.length>$.length)return!1;return!0}function m_0($){let Y=[];for(let z=$.length-1;z>=0;){let{index:U}=$[z],Q=z-1;while(Q>=0&&Rh1($[z],$[Q]))Q--;if(Q<0||$[Q].index+$[Q].length<=U)Y.push($[z]);z=Q}return Y.reverse()}var l_0=()=>{};class El{constructor($,Y=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=$,this.key=Y}}class s_0{constructor(){this.dictMap=new Map,this.queues=[],this.root=new El(null)}build($){this.buildTrie($),this.buildFailPointer()}buildTrie($){for(let Y of $){let z=F$(Y.zh),U=this.root;for(let Q=0;Q{$=$.concat(z)}),this.queues=[];while($.length>Y){let z=$[Y++],U=z.parent&&z.parent.fail,Q=z.key;while(U&&!U.children.has(Q))U=U.fail;if(!U)z.fail=this.root;else z.fail=U.children.get(Q)}}addPatternToDictMap($){if(!this.dictMap.has($.dict))this.dictMap.set($.dict,new Set);this.dictMap.get($.dict).add($)}addNodeToQueues($,Y){if(!this.queues[Y])this.queues[Y]=[];this.queues[Y].push($)}insertPattern($,Y){for(let z=$.length-1;z>=0;z--){let U=$[z];if(Y.priority===U.priority&&Y.probability>=U.probability)$[z+1]=U;else if(Y.priority>U.priority)$[z+1]=U;else{$[z+1]=Y;return}}$[0]=Y}removeDict($){if(this.dictMap.has($))this.dictMap.get($).forEach((z)=>{z.node.patterns=z.node.patterns.filter((U)=>U!==z)}),this.dictMap.delete($)}match($,Y,z=F$($)){let U=this.root,Q=[];for(let J=0;J{if(Y==="off")return H.priority!==r4.Surname;else if(Y==="head")return H.length-1-J===0;else return!0});if(G)Q.push(Object.assign(Object.assign({},G),{index:J-G.length+1}));let W=U.fail;while(W!==null){let H=W.patterns.find((X)=>{if(Y==="off")return X.priority!==r4.Surname;else if(Y==="head")return X.length-1-J===0;else return!0});if(H)Q.push(Object.assign(Object.assign({},H),{index:J-H.length+1}));W=W.fail}}}return Q}search($,Y,z=2,U=F$($)){let Q=this.match($,Y,U);if(z===1)return m_0(Q);else if(z===3)return p_0(Q,U.length);return i_0(Q,U.length)}}function LT(){if(!r_0)Cl.build(x_0),r_0=!0}function _h1(){if(typeof requestIdleCallback==="function")requestIdleCallback(()=>LT());else setTimeout(LT,0)}var o_0,r_0=!1,Cl;var a_0=o(()=>{f_0();c_0();d_0();l_0();a$();R9();(function($){$[$.ReverseMaxMatch=1]="ReverseMaxMatch",$[$.MaxProbability=2]="MaxProbability",$[$.MinTokenization=3]="MinTokenization"})(o_0||(o_0={}));Cl=new s_0;_h1()});function t_0(){return vh1}var vh1;var e_0=o(()=>{vh1=[]});function Rl($){let Y="",z="",U="";if(M_0.indexOf(Fq($))!==-1)Y=$[0],z=$[1],U=$.slice(2);else z=$[0]||"",U=$.slice(1)||"";return{head:Y,body:z,tail:U}}function Sh1($,Y,z){if(D_0.indexOf($)===-1)return Lq($);if(Y===z&&Y&&Lq(Y)!==Y)return Fq(Lq($));if(z&&!N_0[$].includes(z)){let U=Lq(z);if(U!==z){let Q=Mq(U),J=Pl[$];for(let I in J)if(J[I].indexOf(Number(Q))!==-1)return I}}}function gh1($,Y,z){if($==="了"&&(!Y||!T5.get(Y)))return"liǎo"}function yh1($,Y,z){if($==="々")if(!Y||!T5.get(Y))return"tóng";else return T5.get(Y).split(" ")[0]}function kh1($){let Y=[];if($.includes("々"))Y.push(yh1);return Y.push(gh1),Y.push(Sh1),Y}function $v0($,Y,z,U){for(let Q of U){let J=Q($,Y,z);if(J)return J}return Lq($)}var Lq=($)=>{let Y=T5.get($);if(!Y)return $;let z=Y.indexOf(" ");return z===-1?Y:Y.slice(0,z)},hh1=($)=>{let Y=[],z=t_0();for(let U=0;U<$.length;U++){let Q=$[U],J=Q.charCodeAt(0);if(z[J])Y[U]=z[J];else Y[U]=Q}return Y.join("")},Yv0=($,Y,z,U,Q,J=F$($))=>{LT();let I=Q?hh1($):$,K=Q?F$(I):J,G=Cl.search(I,z,U,K),W=0,H=kh1($);for(let X=0;X{return $.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê")},zv0=($,Y="off")=>{let z=gK($,Y);if(z.length>0)return z.map((U)=>({origin:$,result:U,isZh:!0,originPinyin:U}));else return[{origin:$,result:$,isZh:!1,originPinyin:$}]},wq=($,Y)=>{let z=$.split(" "),U=[],Q=[];for(let J of z)for(let I of V_0)if(J.startsWith(I)){let K=J.slice(I.length);if(L_0.indexOf(I)!==-1&&F_0.indexOf(K)!==-1)K=w_0[K];U.push(I),Q.push(K);break}if(Y==="standard")U.forEach((J,I)=>{if(J==="y"||J==="w")U[I]=""});return{final:Q.join(" "),initial:U.join(" ")}},FT=($)=>{let{final:Y}=wq($);return Rl(Y)},Mq=($)=>{let Y=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,z=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,U=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,Q=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,J=/(a|o|e|i|u|ü|ê)/,I=/(n|m)$/,K=[];return $.split(" ").forEach((W)=>{if(Y.test(W))K.push("1");else if(z.test(W))K.push("2");else if(U.test(W))K.push("3");else if(Q.test(W))K.push("4");else if(J.test(W))K.push("0");else if(I.test(W))K.push("0");else K.push("")}),K.join(" ")},Uv0=($,Y)=>{let z=Fq($).split(" "),U=Mq(Y).split(" "),Q=[];return z.forEach((J,I)=>{Q.push(`${J}${U[I]}`)}),Q.join(" ")},_l=($,Y)=>{let z=[];return $.split(" ").forEach((Q)=>{z.push(Y?Q[0]:Q)}),z.join(" ")};var vl=o(()=>{Al();ZT();VT();a_0();a$();R9();e_0()});function hl($,Y){if(Y instanceof RegExp){if(Y.global||Y.sticky)Y.lastIndex=0;return Y.test($)}return!0}var Qv0=($)=>{if(typeof $!=="string")return console.error("The first param of pinyin is error: "+$+' is not assignable to type "string".'),!1;else return!0},Jv0=($,Y)=>{let z=Y.nonZh;if(z==="removed")return $.filter((U)=>U.isZh||!hl(U.origin,Y.nonZhScope));else if(z==="consecutive"){for(let U=$.length-2;U>=0;U--){let Q=$[U],J=$[U+1];if(!Q.isZh&&!J.isZh&&hl(Q.origin,Y.nonZhScope)&&hl(J.origin,Y.nonZhScope))Q.origin+=J.origin,Q.result+=J.result,J.delete=!0}return $.filter((U)=>!U.delete)}else return $},Iv0=($,Y)=>{if(Y.multiple&&r2($)===1)return zv0($,Y.surname);else return!1},Kv0=($,Y)=>{switch(Y.pattern){case"pinyin":break;case"num":$.forEach((z)=>{z.result=z.isZh?Mq(z.result):""});break;case"initial":$.forEach((z)=>{z.result=z.isZh?wq(z.result,Y.initialPattern).initial:""});break;case"final":$.forEach((z)=>{z.result=z.isZh?wq(z.result,Y.initialPattern).final:""});break;case"first":$.forEach((z)=>{z.result=_l(z.result,z.isZh)});break;case"finalHead":$.forEach((z)=>{z.result=z.isZh?FT(z.result).head:""});break;case"finalBody":$.forEach((z)=>{z.result=z.isZh?FT(z.result).body:""});break;case"finalTail":$.forEach((z)=>{z.result=z.isZh?FT(z.result).tail:""});break}},Gv0=($,Y)=>{switch(Y.toneType){case"symbol":break;case"none":$.forEach((z)=>{if(z.isZh)z.result=Fq(z.result)});break;case"num":{$.forEach((z)=>{if(z.isZh)z.result=Uv0(z.result,z.originPinyin)});break}}},Wv0=($,Y)=>{if(Y.v)$.forEach((z)=>{if(z.isZh)z.result=z.result.replace(/ü/g,typeof Y.v==="string"?Y.v:"v")})},Hv0=($,Y,z)=>{if(Y.multiple&&r2(z)===1){let U="";$=$.filter((Q)=>{let J=Q.result!==U;return U=Q.result,J})}if(Y.type==="array")return $.map((U)=>U.result);if(Y.type==="all")return $.map((U)=>{let Q=U.isZh?U.result:"",{initial:J,final:I}=wq(Q,Y.initialPattern),{head:K,body:G,tail:W}=Rl(I),H=[];if(Q!=="")H=[Q].concat(gK(U.origin,Y.surname).filter((X)=>X!==Q));return{origin:U.origin,pinyin:Q,initial:J,final:I,first:_l(U.result,U.isZh),finalHead:K,finalBody:G,finalTail:W,num:Number(Mq(U.originPinyin)),isZh:U.isZh,polyphonic:H,inZhRange:!!T5.get(U.origin),result:U.result}});return $.map((U)=>U.result).join(Y.separator)},Xv0=($,Y)=>{if(Y===!1)$.forEach((z)=>{if(z.origin==="一")z.result=z.originPinyin="yī";else if(z.origin==="不")z.result=z.originPinyin="bù"});return $};var Zv0=o(()=>{R9();vl();ZT();VT()});function wT($,Y){if(Y=Object.assign(Object.assign({},xh1),Y||{}),!Qv0($))return $;if($==="")return Y.type==="array"||Y.type==="all"?[]:"";if(Y.surname===void 0)if(Y.mode==="surname")Y.surname="all";else Y.surname="off";if(Y.type==="all")Y.pattern="pinyin";if(Y.pattern==="num")Y.toneType="none";if(Y.removeNonZh)Y.nonZh="removed";let U=F$($),Q=Array(U.length),{list:J}=Yv0($,Q,Y.surname,Y.segmentit,Y.traditional,U);J=Xv0(J,Y.toneSandhi),J=Jv0(J,Y);let I=Iv0($,Y);if(I)J=I;return Kv0(J,Y),Gv0(J,Y),Wv0(J,Y),Hv0(J,Y,$)}var xh1;var qv0=o(()=>{R9();vl();Zv0();xh1={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2}});function dh1($,Y){if(!Y)return null;let z=[],U=0,Q=F$($),J=0;for(let I=0;I$.replace(bh1,(Y)=>{var z;return(z=Vv0[Y])!==null&&z!==void 0?z:Y}),Lv0=($,Y)=>{let z=gK($);return(z.length?z:[$]).map((U)=>{let Q=ih1(U);return Y.v?Q.replace(/ü/g,typeof Y.v==="string"?Y.v:"v"):Q})},Sl=($,Y,z)=>{if((z===null||z===void 0?void 0:z.precision)==="any")z.lastPrecision="any";if(z===null||z===void 0?void 0:z.v){let J=typeof z.v==="string"?z.v:"v";Y=Y.replace(/ü/g,J)}let U=Object.assign(Object.assign({},fh1),z||{});if(U.insensitive!==!1)$=$.toLowerCase(),Y=Y.toLowerCase();if(U.space==="ignore")Y=Y.replace(/\s/g,"");let Q=(z===null||z===void 0?void 0:z.precision)==="any"?nh1($,Y,U):ph1($,Y,U);return dh1($,Q)},ch1=($,Y)=>{let z=0;for(let U=0;U<$.length;U++)if($[U]===Y[z])z++;return z},nh1=($,Y,z)=>{let U=[],Q=F$($),J=z.space==="ignore";for(let I=0;I{let H=ch1(W,Y);if(H>G)G=H}),G)Y=Y.slice(G),U.push(I);if(!Y)break}if(Y)return null;if(z.continuous){let I=U;if(U.some((G,W)=>W>0&&G!==I[W-1]+1))return null}if(z.space==="ignore")U=U.filter((I)=>Q[I]!==" ");return U.length?U:null},ph1=($,Y,z)=>{let U=F$($),Q=Array(U.length+1);for(let J=0;JQ[J][I].length)Q[J][I]=H;if(I===Y.length)return Q[J][I]}if(Y.length-I<=uh1){if(K.some((X)=>{if(z.lastPrecision==="any")return X.includes(Y.slice(I-1,Y.length));if(z.lastPrecision==="start")return X.startsWith(Y.slice(I-1,Y.length));if(z.lastPrecision==="first")return X[0]===Y.slice(I-1,Y.length);if(z.lastPrecision==="every")return X===Y.slice(I-1,Y.length);return!1}))return[...Q[J-1][I-1],J-1]}let G=z.precision;if(G==="start")K.forEach((H)=>{let X=I,Z=[...Q[J-1][I-1],J-1];while(X<=Y.length&&H.startsWith(Y.slice(I-1,X))){if(!Q[J][X]||Z.length>Q[J][X].length)Q[J][X]=Z;X++}});if(G==="first"){if(K.some((H)=>H[0]===Y[I-1])){let H=[...Q[J-1][I-1],J-1];if(!Q[J][I]||H.length>Q[J][I].length)Q[J][I]=H}}let W=K.find((H)=>H===Y.slice(I-1,I-1+H.length));if(W){let H=[...Q[J-1][I-1],J-1],X=I-1+W.length;if(!Q[J][X]||H.length>Q[J][X].length)Q[J][X]=H}}}return null};var Fv0=o(()=>{R9();VT();fh1={precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0,v:!1},Vv0={"ā":"a","á":"a","ǎ":"a","à":"a","ō":"o","ó":"o","ǒ":"o","ò":"o","ē":"e","é":"e","ě":"e","è":"e","ī":"i","í":"i","ǐ":"i","ì":"i","ū":"u","ú":"u","ǔ":"u","ù":"u","ǖ":"ü","ǘ":"ü","ǚ":"ü","ǜ":"ü","n̄":"n","ń":"n","ň":"n","ǹ":"n","m̄":"m","ḿ":"m","m̌":"m","m̀":"m","ê̄":"ê","ế":"ê","ê̌":"ê","ề":"ê"},bh1=new RegExp(Object.keys(Vv0).join("|"),"g")});var wv0=o(()=>{qv0();Fv0()});function Mv0($,Y){let z=$.length,U=Y.length;if(z===0)return U;if(U===0)return z;let Q=Array.from({length:U+1},(I,K)=>K),J=Array(U+1).fill(0);for(let I=1;I<=z;I+=1){J[0]=I;for(let G=1;G<=U;G+=1)if($[I-1]===Y[G-1])J[G]=Q[G-1]??0;else{let W=Q[G-1]??0,H=J[G-1]??0,X=Q[G]??0;J[G]=Math.min(W,H,X)+1}let K=Q;Q=J,J=K}return Q[U]??0}function Ov0($,Y){if(!$||!Y)return 999;if(Y.includes($))return 0;let z=$.length;if(Y.lengthz.toLowerCase().replace(/zh/g,"z").replace(/ch/g,"c").replace(/sh/g,"s").replace(/iang/g,"ian").replace(/uang/g,"uan").replace(/ang/g,"an").replace(/eng/g,"en").replace(/ing/g,"in")).join("")}function Dv0($,Y){if(!$||!Y)return!1;let z=0;for(let U=0;U=2){if(wT(Q,{pattern:"first",toneType:"none",type:"array"}).join("").toLowerCase().includes(U))return{matched:!0,score:0.9,reason:"initials"}}if(J)try{let X=Sl(Q,U,{precision:"start"});if(X&&X.length>0)return{matched:!0,score:0.88,reason:"pinyin"}}catch{}let K="",G="";if(J||I){if(K=Nv0(Q),G=Nv0(U),G.length>=2&&K.includes(G))return{matched:!0,score:0.85,reason:"fuzzy_pinyin"}}let W=U.length<=2?0:U.length<=5?1:2,H=z.maxDistance??W;if(H>0){let X=Ov0(U,Q);if(X<=H)return{matched:!0,score:Math.max(0.6,0.8-X*0.1),reason:"levenshtein"};if((J||I)&&G.length>=3&&K.length>=3){let Z=Ov0(G,K);if(Z<=H)return{matched:!0,score:Math.max(0.6,0.78-Z*0.1),reason:"levenshtein"}}}if(U.length>=3){if(Dv0(U,Q)||(J||I)&&Dv0(G,K))return{matched:!0,score:0.65,reason:"subsequence"}}return{matched:!1,score:0,reason:"none"}}function lh1($,Y,z={}){let U=[{text:$.name,weight:1.2},{text:$.id,weight:1.1},{text:$.source.staffId,weight:1},{text:$.source.domain,weight:1},{text:$.source.corpId,weight:1},{text:$.seal.tenantSlug,weight:1},{text:$.source.tenantSlug,weight:1},{text:$.source.tenantName,weight:1.1},{text:$.testCorpId,weight:1},{text:$.prodCorpId,weight:1},{text:$.environment??"production",weight:0.8},{text:$.source.type,weight:0.8},{text:$.source.provider,weight:0.8}],Q=0,J="none";for(let I of U){if(!I.text)continue;let K=mh1(Y,I.text,z);if(K.matched){let G=K.score*I.weight;if(G>Q)Q=G,J=K.reason}}return{matched:Q>0,score:Q,reason:J}}function Bv0($,Y,z={}){let U=Y.trim();if(!U)return $;let Q=[];for(let J of $){let I=lh1(J,U,z);if(I.matched)Q.push({corp:J,score:I.score})}return Q.sort((J,I)=>I.score-J.score),Q.map((J)=>J.corp)}var Pv0=o(()=>{wv0()});import{existsSync as oh1,mkdirSync as rh1,readFileSync as sh1,writeFileSync as Av0}from"node:fs";import{homedir as ah1}from"node:os";import{join as MT}from"node:path";function Tv0(){let $=process.env.SEAL_USE_MAPPINGS_DIR?.trim();if($)return $;return MT(ah1(),".config","seal-use","mappings")}function jv0($){let Y=Tv0();rh1(Y,{recursive:!0,mode:448});let z=MT(Y,`${$.target.id}-v${$.target.publishedVersionNumber}.json`),U=MT(Y,`${$.target.id}-latest.json`),Q=JSON.stringify($,null,2);return Av0(z,Q,{encoding:"utf-8",mode:384}),Av0(U,Q,{encoding:"utf-8",mode:384}),z}function Ev0($,Y){let z=Tv0(),U;if(!Y||Y==="latest")U=`${$}-latest.json`;else{let J=String(Y).replace(/^v/i,"");U=`${$}-v${J}.json`}let Q=MT(z,U);if(!oh1(Q))return null;try{let J=sh1(Q,"utf-8");return JSON.parse(J)}catch{return null}}function Cv0($,Y){if(!Y)return $;let z=Y.trim().toLowerCase();return $.filter((U)=>{return String(U.sourceRuleCode).toLowerCase()===z||String(U.targetRuleCode).toLowerCase()===z||U.sourceRuleId.toLowerCase()===z||U.targetRuleId.toLowerCase()===z||`#${U.sourceRuleCode}`.toLowerCase()===z||`#${U.targetRuleCode}`.toLowerCase()===z})}function Rv0($,Y,z){let U=0,Q=Y!==void 0?new RegExp(`\\[Prod v${Y}\\s*·\\s*#(\\d+)(?:[^\\]]*)\\]`):/\[Prod draft\s*·\s*#(\d+)(?:[^\]]*)\]/;for(let I of z){if(!I.versionName)continue;let K=I.versionName.match(Q);if(K&&K[1]){let G=parseInt(K[1],10);if(!isNaN(G)&&G>U)U=G}}if(U>0)return U+1;if(!z.some((I)=>I.versionName&&/\[Prod v\d+/.test(I.versionName))){let I=z.filter((K)=>K.versionName&&K.versionName.includes(`Sync from ${$}`)).length;if(I>0)return I+1}return 1}function _v0($,Y,z,U){let Q=Y!==void 0?`Prod v${Y}`:"Prod draft",J=U!==void 0?` -> Test v${U}`:"";return`Sync from ${$} [${Q} · #${z}${J}]`}var gl=()=>{};async function yK($){let[Y,z]=await Promise.all([X00($),j1($)]),U=await W8(z);return{...Y,tenantId:U.tenant.id,tenantSlug:U.tenant.tenantSlug??Y.tenantSlug,tenantName:U.tenant.name,raw:{...typeof Y.raw==="object"&&Y.raw!==null?Y.raw:{},user:{id:U.user.id,name:U.user.name,isAdmin:U.user.isAdmin,providerUserId:U.user.providerUserId,hosecloudStaff:U.user.hosecloudStaff},tenant:U.tenant}}}var OT=o(()=>{i8();CS();X6()});import{existsSync as vv0,mkdirSync as hv0,writeFileSync as Sv0}from"node:fs";import{randomBytes as th1}from"node:crypto";import{join as gv0}from"node:path";function yl($){if(!$)return;if($.length<=8)return"****";return`${$.slice(0,4)}...${$.slice(-4)}`}function eh1($){if($.source.type==="hose")return R3($,$.source);return $.seal.url??$.source.sealUrl}function $S1($){if($.type==="hose"){let Y=$.appKey??$.key;return{type:"hose",provider:"hosecloud",domain:$.domain,corpId:$.corpId,staffId:$.staffId,appKey:yl(Y),hasAppSecurity:Boolean($.appSecurity??$.password),sealUrl:$.sealUrl}}if($.type==="seal")return{type:"seal",provider:$.provider??"seal",tenantId:$.tenantId,tenantSlug:$.tenantSlug,tenantName:$.tenantName,providerUserId:$.providerUserId,staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:yl($.token),expiresIn:$.expiresIn};return{type:"direct",provider:"direct",staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:yl($.token),expiresIn:$.expiresIn}}async function yv0($,Y,z){if(!$||$==="list"||$==="search"||$==="find"){let U=(Y??S(z.options.query)??S(z.options.q))?.trim(),Q=F0(z.options.strict)===!0,J=(S(z.options.env)??S(z.options.environment))?.trim().toLowerCase();if(($==="search"||$==="find")&&!U&&!J)throw d4("Usage: seal-use corps search [--env ] [--strict]");let I=S(z.options.corp),K=s8(),G=_4(),W=I??(G.stateful?G.defaultCorpId??K[0]?.id:void 0),H=K;if(J)H=H.filter((O)=>(O.environment??"production").toLowerCase()===J);if(U)H=Bv0(H,U,{strict:Q});if(K.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");else if(Q&&H.length===0&&($==="search"||$==="find")&&U)console.error(`提示:未在严格模式下匹配到企业 "${U}"。可以尝试省略 --strict 进行智能软搜索。`);let X=eD0(H,W),Z=!$||$==="list",q=F0(z.options.all)===!0,V=s0(z.options.limit),M=V!==void 0?Math.max(1,V):Z&&!q?10:void 0,w=X;if(M!==void 0&&X.length>M){if(w=X.slice(0,M),Z&&!q&&V===void 0)console.error(`ℹ️ 当前共有 ${X.length} 家企业,已按最近 7 天使用频次展示前 ${M} 家。 +`}function Lq($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1")}function c0($,Y={}){Eh1($,Y);let z=`${JSON.stringify($,null,2)} +`;if(Y.outputFile){Ph1(Y.outputFile,z),console.log(JSON.stringify({outputFile:Y.outputFile,bytes:Buffer.byteLength(z,"utf-8")},null,2));return}console.log(z.trimEnd())}function Eh1($,Y={}){if(Y.allowFull||Y.outputFile)return;let z=Buffer.byteLength(JSON.stringify($),"utf-8");if(z>jh1)throw new xP(`Output is large (${z} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function eR0($,Y){if(Y)return;let z=$&&typeof $==="object"?$:{},U=typeof z.count==="number"?z.count:void 0,Q=Array.isArray(z.rules)?z.rules.length:void 0,J=Buffer.byteLength(JSON.stringify($),"utf-8"),I=U??Q??0;if(I>Ah1||J>Th1)throw new xP(`Rule list is large (${I} rules, ${J} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`,"seal-use rules list --summary")}function C0($){return{allowFull:F0($.full)===!0,outputFile:S($.outputFile)??S($["output-file"])}}function $_0($=[]){console.log(aR0($))}var Ah1=100,Th1=120000,tR0,jh1=200000;var J4=o(()=>{D4();L$();Nl();tR0=["id","code","status","strictness","scope","createdAt","updatedAt"]});var Y_0={};x8(Y_0,{selectCorp:()=>E1,runToolResult:()=>o2,runTool:()=>k0,globalConfigSummary:()=>l2});function E1($){let Y=s8(),z=_4(),U=f2(Y,{stateful:z.stateful,defaultCorpId:z.defaultCorpId,corpId:$},h7());return tD0(U.id),U}function l2($=_4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:JU()}}async function k0($,Y,z,U,Q={}){c0(await o2($,Y,z,U),Q)}async function o2($,Y,z,U){let Q=Hq.find((K)=>K.name===$);if(!Q)throw Error(`Unknown Seal tool: ${$}`);let J=Object.fromEntries(Object.entries(U).filter(([,K])=>K!==void 0)),I=Q.handler;return I(Y,J,{corp:z})}var o4=o(()=>{S7();gP();Zq();J4()});import{existsSync as z_0}from"node:fs";async function U_0($,Y){if(!z_0($))throw Error(`File not found: ${$}`);let z=RU($);console.log(JSON.stringify(await CU(z.fileBuffer,z.fileName,Y),null,2))}async function ZT($,Y,z,U,Q){if($==="ready"||$==="status"){let J=Y??S(Q.options.file)??S(Q.options.input),I=await aA(z,U,{filePath:J,webhook:S(Q.options.webhook)??S(Q.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${I.corp.name} (${I.corp.id}) [${I.stateMode}]`),I.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${I.corp.tenant.name} (${I.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${I.authStatus==="ok"?"OK":`异常 (${I.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${I.activeWebhooks.length} 个可用`);for(let K of I.activeWebhooks){let G=K.isDefault?" [默认通道]":"";console.error(` - ${K.name} (${K.id}) mode=${K.mode}${G}`)}if(I.materialPack)console.error(`[webhook-ready] 材料包预检: ${I.materialPack.valid?`通过 (${I.materialPack.documentCount} 单)`:`失败 (${I.materialPack.errors?.join("; ")})`}`);if(I.ready)console.error(`\uD83D\uDFE2 ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);console.log(JSON.stringify(I,null,2));return}if($==="replay"){let J=Y??S(Q.options.recordId)??S(Q.options["record-id"])??S(Q.options.id),I=S(Q.options.recordIds)??S(Q.options["record-ids"]),K=I?I.split(",").map((c)=>c.trim()).filter(Boolean):void 0,G=S(Q.options.sn)??S(Q.options.documentSn)??S(Q.options["document-sn"]),W=S(Q.options.sns)??S(Q.options["document-sns"]),H=W?W.split(",").map((c)=>c.trim()).filter(Boolean):void 0,X=s0(Q.options.limit),Z=S(Q.options.status),q=S(Q.options.startDate)??S(Q.options["start-date"]),V=S(Q.options.endDate)??S(Q.options["end-date"]);if(!J&&!K&&!G&&!H&&X===void 0)throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--status ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let F=S(Q.options.sourceCorp)??S(Q.options["source-corp"])??S(Q.options.prodCorp)??S(Q.options["prod-corp"]),M=S(Q.options.targetCorp)??S(Q.options["target-corp"])??S(Q.options.testCorp)??S(Q.options["test-corp"]),w=F0(Q.options.force)===!0,{sourceCorp:O,targetCorp:N}=fP({sourceCorpId:F,targetCorpId:M,activeCorp:U,force:w},E1),D=O.id===U.id?z:await j1(O),T=N.id===U.id?z:await j1(N),A=S(Q.options.webhook)??S(Q.options.selector),B=S(Q.options.snSuffix)??S(Q.options["sn-suffix"]),j=S(Q.options.snPrefix)??S(Q.options["sn-prefix"]),C=S(Q.options.docIdSuffix)??S(Q.options["doc-id-suffix"]),b=S(Q.options.docIdPrefix)??S(Q.options["doc-id-prefix"]),k=F0(Q.options.dryRun)??F0(Q.options["dry-run"]),i=await sI({query:{recordId:J,recordIds:K,sn:G,sns:H,limit:X,status:Z,startDate:q,endDate:V},sourceClient:D,targetClient:T,sourceCorp:O,targetCorp:N,webhookSelector:A,snPrefix:j,snSuffix:B,docIdPrefix:b,docIdSuffix:C,dryRun:k});if(k){console.error(`[webhook-replay] 预览模式:已成功从 ${O.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(i,null,2));return}if(i.success)if(i.totalCount===1&&i.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${i.replayedDocument.documentSN}」至 ${N.name} (${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${i.successCount} 条单据(来自「${O.name}」)至「${N.name}」(${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${i.successCount} 条,失败 ${i.failureCount} 条)至「${N.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${N.id} --limit ${i.totalCount}`),console.log(JSON.stringify(i,null,2)),!i.success)process.exitCode=1;return}if($==="resource-pack"||$==="pack"||$==="material-pack"||$==="material-pack-push"||$==="resource-pack-push"){let J=$==="material-pack-push"||$==="resource-pack-push"?"push":Y;if(J==="export"||J==="pull"){let Z=S(Q.options.recordId)??S(Q.options["record-id"])??S(Q.options.id)??(Q.command[3]&&!Q.command[3].endsWith(".zip")&&!Q.command[3].startsWith("-")?Q.command[3]:void 0),q=S(Q.options.recordIds)??S(Q.options["record-ids"]),V=q?q.split(",").map((C)=>C.trim()).filter(Boolean):void 0,F=s0(Q.options.limit)??(Z||V?void 0:10),M=S(Q.options.status),w=S(Q.options.startDate)??S(Q.options["start-date"]),O=S(Q.options.endDate)??S(Q.options["end-date"]),N=S(Q.options.docIdPrefix)??S(Q.options["doc-id-prefix"]),D=S(Q.options.docIdSuffix)??S(Q.options["doc-id-suffix"]),T=F0(Q.options["no-attachments"])===!0?!1:F0(Q.options.attachments)!==!1,A=S(Q.options.output)??S(Q.options.outputFile)??S(Q.options["output-file"])??S(Q.options.o)??S(Q.options.file)??(Q.command[3]?.endsWith(".zip")?Q.command[3]:void 0),B=F0(Q.options.toDownloads)??F0(Q.options["to-downloads"])??!1,j=await rA(z,U,{recordId:Z,recordIds:V,limit:F,status:M,startDate:w,endDate:O,docIdPrefix:N,docIdSuffix:D,includeAttachments:T,outputFile:A,toDownloads:B});console.error(`\uD83D\uDFE2 成功导出 Webhook 资源包: ${j.filePath} (共 ${j.recordCount} 条单据,${j.attachmentCount} 个附件,${(j.fileSizeBytes/1024).toFixed(1)} KB)`),console.error(`\uD83D\uDC49 Next action: ${j.nextAction}`),console.log(JSON.stringify(j,null,2));return}let I=$==="material-pack-push"||$==="resource-pack-push"?S(Q.options.file)??S(Q.options.input):Q.command[3]??S(Q.options.file)??S(Q.options.input);if(!I)throw Error("Usage: seal-use webhook resource-pack [options]");if(!z_0(I))throw Error(`File not found: ${I}`);let K=RU(I);if(J==="preview"){console.log(JSON.stringify(await CU(K.fileBuffer,K.fileName),null,2));return}if(J!=="push")throw Error("Usage: seal-use webhook resource-pack [options]");let G=S(Q.options.webhook)??S(Q.options.selector),W=await J$(z,U.seal.endpoints.approvalStylePreferences),H;if(G)H=v3(W,G);else if(W.length===1)H=W[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${H.name} (${H.id})`);else if(W.length>1){let Z=W.map((q)=>`"${q.name}" (${q.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Z}],请通过 --webhook 指定目标通道。`)}else throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url --corp ${U.id}`);let X=await sA(K.fileBuffer,K.fileName,{webhookUrl:H.incomingDocumentWebhook.url,secret:H.secret,materialPackFilePolicy:H.materialPackFilePolicy,customHeaders:B6(U.seal)});console.error(`\uD83D\uDFE2 Webhook 资源包推送完成 (成功 ${X.results.length} 条单据)`),console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${U.id} --limit ${X.results.length}`),console.log(JSON.stringify(X,null,2));return}if($==="list"){await k0("seal_webhook_list",z,U,{query:S(Q.options.query)??S(Q.options.keyword),includeSecret:XT(Q.options)},C0(Q.options));return}if($==="get"||$==="find"){let J=Y??S(Q.options.selector)??S(Q.options.id);if(!J)throw Error("Usage: seal-use webhook get [--show-secret]");await k0("seal_webhook_get",z,U,{selector:J,includeSecret:XT(Q.options)},C0(Q.options));return}if($==="add"||$==="create"){let J=S(Q.options.name)??Y,I=S(Q.options.resultUrl)??S(Q.options["result-url"])??S(Q.options.outgoingResultWebhook)??S(Q.options["outgoing-result-webhook"]);if(!J||!I)throw Error("Usage: seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic]");let K=HT(Q.options),G=hK(Q.options),W=F0(Q.options.dryRun)??F0(Q.options["dry-run"]);await k0("seal_webhook_add",z,U,{name:J,mode:WT(S(Q.options.mode)),outgoingResultWebhook:I,autoApprovalRate:K,secret:S(Q.options.secret),materialPackFilePolicy:G,dryRun:W},C0(Q.options));return}if($==="update"){let J=Y??S(Q.options.selector)??S(Q.options.id);if(!J)throw Error("Usage: seal-use webhook update [options]");let I=S(Q.options.secret),K=F0(Q.options.rotateSecret)??F0(Q.options["rotate-secret"]);if(I!==void 0&&K)throw d4("Use either --secret or --rotate-secret, not both");let G=S(Q.options.name),W=WT(S(Q.options.mode)),H=S(Q.options.resultUrl)??S(Q.options["result-url"])??S(Q.options.outgoingResultWebhook)??S(Q.options["outgoing-result-webhook"]),X=HT(Q.options),Z=hK(Q.options),q=F0(Q.options.dryRun)??F0(Q.options["dry-run"]);if(G===void 0&&W===void 0&&H===void 0&&X===void 0&&I===void 0&&!K&&Z===void 0&&!q)throw d4("Webhook update requires at least one field option");await k0("seal_webhook_update",z,U,{selector:J,name:G,mode:W,outgoingResultWebhook:H,autoApprovalRate:X,secret:I,rotateSecret:K,materialPackFilePolicy:Z,dryRun:q},C0(Q.options));return}if($==="delete"){let J=Y??S(Q.options.selector)??S(Q.options.id),I=F0(Q.options.dryRun)??F0(Q.options["dry-run"]);if(!J)throw Error("Usage: seal-use webhook delete [--yes|--dry-run]");if(F0(Q.options.yes)!==!0&&!I)throw D9("Refusing to delete Webhook integration without --yes",`seal-use webhook delete ${J} --corp ${U.id} --yes`);await k0("seal_webhook_delete",z,U,{selector:J,confirm:!0,dryRun:I},C0(Q.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}var Bl=o(()=>{i8();o4();X6();X6();RZ();Ql();D4();J4();L$()});async function Q_0($,Y,z,U,Q){if($==="replay"){await ZT("replay",Y,z,U,Q);return}if($==="summary"){let J=await o2("seal_approval_runs_summary",z,U,{date:S(Q.options.date),timezone:S(Q.options.timezone),limit:s0(Q.options.limit),startDate:S(Q.options.startDate),endDate:S(Q.options.endDate),status:S(Q.options.status),taskMode:S(Q.options.taskMode),manualApprovalStatus:S(Q.options.manualApprovalStatus),sourceDocumentSN:S(Q.options.sourceDocumentSN),sourceDocumentId:S(Q.options.sourceDocumentId),humanResult:S(Q.options.humanResult),query:S(Q.options.query)});if(J?.matched===0&&J?.total>0)console.error(`提示:在 ${J.date} 未匹配到记录(该企业共有 ${J.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);c0(J,C0(Q.options));return}if($==="stats"){await k0("seal_approval_runs_stats",z,U,{since:S(Q.options.since),dedupeBy:S(Q.options.dedupeBy)??S(Q.options["dedupe-by"]),status:S(Q.options.status),sourceSystem:S(Q.options.sourceSystem)??S(Q.options["source-system"]),taskMode:S(Q.options.taskMode)??S(Q.options["task-mode"])},C0(Q.options));return}if($==="count"){let J=S(Q.options.start)??S(Q.options.startDate)??S(Q.options.since),I=S(Q.options.end)??S(Q.options.endDate);await k0("seal_approval_runs_count",z,U,{status:S(Q.options.status),sourceSystem:S(Q.options.sourceSystem)??S(Q.options["source-system"]),taskMode:S(Q.options.taskMode)??S(Q.options["task-mode"]),search:S(Q.options.search)??S(Q.options.query),startDate:J?y2(J,!1):void 0,endDate:I?y2(I,!0):void 0},C0(Q.options));return}if($==="search"||$==="list"){await k0("seal_approval_runs_search",z,U,{limit:s0(Q.options.limit),offset:s0(Q.options.offset),startDate:S(Q.options.startDate)??S(Q.options.start)??S(Q.options.since),endDate:S(Q.options.endDate)??S(Q.options.end),status:S(Q.options.status),taskMode:S(Q.options.taskMode),manualApprovalStatus:S(Q.options.manualApprovalStatus),sourceDocumentSN:S(Q.options.sourceDocumentSN),sourceDocumentId:S(Q.options.sourceDocumentId),humanResult:S(Q.options.humanResult),query:S(Q.options.query),includeBridge:F0(Q.options.includeBridge)},C0(Q.options));return}if($==="bridge"){await k0("seal_approval_run_langfuse_bridge_get",z,U,{recordId:S(Q.options.recordId),sourceDocumentSN:S(Q.options.sourceDocumentSN),sourceDocumentId:S(Q.options.sourceDocumentId),simulationBatchId:S(Q.options.simulationBatchId),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="pick"){let J=Y??S(Q.options.query)??S(Q.options.sn);if(!J)throw Error("Usage: seal-use approval-runs pick --sn ");await k0("seal_approval_run_pick",z,U,{query:J,sn:S(Q.options.sn),batchId:S(Q.options.batch)??S(Q.options.batchId),latest:F0(Q.options.latest),fields:S(Q.options.fields),limit:s0(Q.options.limit),includeBridge:F0(Q.options.includeBridge)},C0(Q.options));return}if($==="get"){let J=Q.command[2];if(!J)throw Error("Missing approval run recordId");if(F0(Q.options.flow)){await k0("seal_approval_run_flow_get",z,U,{recordId:J},C0(Q.options));return}await k0("seal_approval_run_get",z,U,{recordId:J,fields:S(Q.options.fields),summary:F0(Q.options.summary)},C0(Q.options));return}if($==="cited-rules"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs cited-rules ");await k0("seal_approval_run_cited_rules_get",z,U,{recordId:J},C0(Q.options));return}if($==="document-summary"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs document-summary ");await k0("seal_approval_run_document_summary_get",z,U,{recordId:J},C0(Q.options));return}if($==="attachments"){if(Q.command[2]==="download"){let W=Q.command[3];if(!W)throw Error("Usage: seal-use approval-runs attachments download [--all] [--name ] [--out-dir ]");let H=await G4(z,W),X=await jP({record:H,all:F0(Q.options.all),name:S(Q.options.name),outDir:S(Q.options["out-dir"])??S(Q.options.outDir)??S(Q.options.dir)});if(c0(X,C0(Q.options)),X.total>0&&X.downloaded===0)throw Error(`所有 ${X.total} 个附件下载均失败。`);return}let I=Q.command[2];if(!I)throw Error("Usage: seal-use approval-runs attachments | seal-use approval-runs attachments download ");if(F0(Q.options.download)){let W=await G4(z,I),H=await jP({record:W,all:F0(Q.options.all)??!0,name:S(Q.options.name),outDir:S(Q.options["out-dir"])??S(Q.options.outDir)??S(Q.options.dir)});if(c0(H,C0(Q.options)),H.total>0&&H.downloaded===0)throw Error(`所有 ${H.total} 个附件下载均失败。`);return}let K=await G4(z,I),G=k2(K,{summary:F0(Q.options.summary)});c0(G,C0(Q.options));return}if($==="download"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs download [--all] [--name ] [--out-dir ]");let I=await G4(z,J),K=await jP({record:I,all:F0(Q.options.all),name:S(Q.options.name),outDir:S(Q.options["out-dir"])??S(Q.options.outDir)??S(Q.options.dir)});if(c0(K,C0(Q.options)),K.total>0&&K.downloaded===0)throw Error(`所有 ${K.total} 个附件下载均失败。`);return}if($==="result"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs result [--summary]");await k0("seal_approval_run_result_get",z,U,{recordId:J,summary:F0(Q.options.summary)},C0(Q.options));return}if($==="url"){let J=F0(Q.options.sso)??!1,I=s0(Q.options.expire)??s0(Q.options.expiresIn)??7200,K=S(Q.options.sn)??S(Q.options.sourceDocumentSN);await k0("seal_approval_run_url_get",z,U,{recordId:Y??S(Q.options.id)??S(Q.options.recordId),sourceDocumentSN:K,sourceDocumentId:S(Q.options.sourceDocumentId),sso:J,expiresIn:I},C0(Q.options));return}if($==="flow"){let J=Y??Q.command[2]??S(Q.options.sn)??S(Q.options.id)??S(Q.options.recordId);if(!J)throw Error("Usage: seal-use approval-runs flow ");await k0("seal_approval_run_flow_get",z,U,{target:J},C0(Q.options));return}if($==="export"){let J=S(Q.options.sn)??S(Q.options.sns)??S(Q.options.sourceDocumentSN),I=J?J.split(/[,;\s]+/).map((G)=>G.trim()).filter(Boolean):void 0,K=await AP(z,U,{sns:I,limit:s0(Q.options.limit),startDate:S(Q.options["start-date"])??S(Q.options.startDate)??S(Q.options.start)??S(Q.options.since),endDate:S(Q.options["end-date"])??S(Q.options.endDate)??S(Q.options.end)??S(Q.options.until),status:S(Q.options.status),manualApprovalStatus:S(Q.options["manual-status"])??S(Q.options.manualStatus)??S(Q.options.manualApprovalStatus),includeCompletedOnly:F0(Q.options["completed-only"])??F0(Q.options.completedOnly),outputFile:S(Q.options.out)??S(Q.options.output)??S(Q.options.file),toDownloads:F0(Q.options["to-downloads"])??F0(Q.options.downloads)??F0(Q.options.download),force:F0(Q.options.force),withFlow:F0(Q.options["with-flow"])??(F0(Q.options["no-flow"])?!1:void 0),flowConcurrency:s0(Q.options["flow-concurrency"])??s0(Q.options.concurrency),excludeDeleted:F0(Q.options["exclude-deleted"])??(F0(Q.options["include-deleted"])?!1:void 0),taskMode:S(Q.options.taskMode)??S(Q.options["task-mode"]),sourceSystem:S(Q.options.sourceSystem)??S(Q.options["source-system"])});if(console.error(`\uD83D\uDC49 查看导出文件: open "${K.filePath}"`),!Q.options["with-flow"]&&U.source.type==="hose")console.error("\uD83D\uDC49 提示: 追加 --with-flow 可额外拉取合思原生审批流,输出 E人工行为 / E人工意见。");c0(K,C0(Q.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}var J_0=o(()=>{X6();TP();EP();o4();D4();J4();Bl()});async function I_0($,Y,z,U,Q){if($==="insight"||$==="insight-stats"||$==="stats"){await k0("seal_insight_stats_get",z,U,{startDate:S(Q.options.startDate)??S(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"]),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="risks"||$==="risks-by-tag"||$==="tag-risks"){let J=Y??S(Q.options.tagId)??S(Q.options["tag-id"]);if(!J)throw Error("Usage: seal-use analytics risks [--start-date ] [--end-date ] [--corp ]");await k0("seal_insight_risks_by_tag_get",z,U,{tagId:J,startDate:S(Q.options.startDate)??S(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"])},C0(Q.options));return}if($==="performance"||$==="perf"){await k0("seal_insight_performance_get",z,U,{startDate:S(Q.options.startDate)??S(Q.options["start-date"])??s0(Q.options.startDate)??s0(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"])??s0(Q.options.endDate)??s0(Q.options["end-date"])},C0(Q.options));return}if($==="analyze"||$==="reanalyze"){let J=Y??S(Q.options.recordId)??S(Q.options["record-id"]);if(!J)throw Error("Usage: seal-use analytics analyze [--corp ]");await k0("seal_insight_record_analyze",z,U,{recordId:J},C0(Q.options));return}if($==="export"||$==="report"||$==="download"){let J=await eA(z,U,{startDate:S(Q.options.startDate)??S(Q.options["start-date"]),endDate:S(Q.options.endDate)??S(Q.options["end-date"]),limit:s0(Q.options.limit),outputFile:S(Q.options.out)??S(Q.options["output-file"])??S(Q.options.outputFile),toDownloads:F0(Q.options.downloads)??F0(Q.options["to-downloads"]),force:F0(Q.options.force)});c0(J);return}throw Error(`Unknown analytics command: ${$??""}. Run 'seal-use help' for available commands.`)}var K_0=o(()=>{Jl();o4();D4();J4()});var W_0,H_0,qT,G_0,r4;var a$=o(()=>{W_0=/^[\uD800-\uDBFF]$/,H_0=/^[\uDC00-\uDFFF]$/,qT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;(function($){$[$.Unknown=0.0000000000001]="Unknown",$[$.Rule=0.000000000001]="Rule",$[$.DICT=0.00000002]="DICT",$[$.Surname=1]="Surname",$[$.Custom=1]="Custom"})(G_0||(G_0={}));r4={Normal:1,Surname:10,Custom:100}});function r2($){var Y;return $.length-(((Y=$.match(qT))===null||Y===void 0?void 0:Y.length)||0)}function F$($){if(qT.lastIndex=0,!qT.test($))return $.split("");let Y=[],z=0;while(z<$.length){let U=$[z];if(W_0.test(U)&&H_0.test($[z+1]))Y.push($.substring(z,z+2)),z+=2;else Y.push(U),z+=1}return Y}class SK{constructor(){this.NumberDICT=[],this.StringDICT=new Map}get($){if($.length>1)return this.StringDICT.get($);else{let Y=$.charCodeAt(0);return this.NumberDICT[Y]}}set($,Y){if($.length>1)this.StringDICT.set($,Y);else{let z=$.charCodeAt(0);this.NumberDICT[z]=Y}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}var _9=o(()=>{a$()});function Ch1(){let $={零一:"líng yī",〇一:"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let Y in X_0)for(let z in Z_0){let U=`${Y}${z}`,Q=`${X_0[Y]} ${Z_0[z]}`;$[U]=Q}return $}var V_0,L_0,F_0,w_0,M_0,X_0,Z_0,q_0,O_0,Pl,N_0,D_0;var Al=o(()=>{a$();_9();V_0=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],L_0=["j","q","x"],F_0=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],w_0={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},M_0=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],X_0={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},Z_0={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};q_0=Ch1(),O_0=Object.keys(q_0).map(($)=>({zh:$,pinyin:q_0[$],probability:0.000000000001,length:r2($),priority:r4.Normal,dict:Symbol("rule")})),Pl={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},N_0={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},D_0=Object.keys(Pl)});var B_0,T5;var VT=o(()=>{_9();B_0={"bǎng páng pāng":["膀"],líng:["〇","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","\uD867\uDF83"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","\uD872\uDFBF"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","\uD873\uDCF5"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","\uD872\uDD0A"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","\uD871\uDFFD"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","\uD871\uDF2F"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","\uD86C\uDD27"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","\uD870\uDEA4"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","\uD873\uDD0A","\uD872\uDF78"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","\uD873\uDE26"],zhǔ:["丶","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","\uD872\uDCDE"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","\uD872\uDF6F"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","\uD872\uDF29","㑊","\uD86C\uDD37","\uD871\uDFC1"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","\uD84F\uDC98"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","\uD85A\uDF5C"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","\uD86D\uDDAE","\uD873\uDE88"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","\uD840\uDD64","\uD86D\uDE2C"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","\uD871\uDE4B"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","\uD872\uDFC0","\uD86D\uDCEF","\uD86D\uDCF9","\uD86C\uDF00"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","\uD870\uDCA9"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","\uD873\uDE18","\uD871\uDE42","\uD86A\uDE58"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","\uD86D\uDDAF"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","\uD86D\uDE1D","㵐","\uD86D\uDD0E"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","\uD861\uDE78","\uD872\uDE02","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","\uD86D\uDFE6","\uD872\uDF7C"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","\uD872\uDF41","\uD85F\uDFF9"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","\uD873\uDE7C","\uD852\uDEC9"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","\uD872\uDF31"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","\uD872\uDF2D"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","\uD873\uDE23"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","\uD86D\uDFF9","\uD872\uDF4E"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","\uD86C\uDF63","\uD859\uDC8D"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","\uD872\uDCE1"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","\uD871\uDE18"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","\uD86D\uDCE7"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","\uD86C\uDDED","\uD870\uDC29","\uD873\uDC5F"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","\uD871\uDE2C"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","\uD873\uDCFD"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","\uD86A\uDE30","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","\uD86E\uDCB8"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","\uD86D\uDE96"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","\uD873\uDD8D"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","\uD872\uDCF3"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","\uD86F\uDC1B"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","\uD86F\uDD77","\uD870\uDF5B"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","\uD871\uDE21","\uD872\uDD07","\uD872\uDFB1"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","\uD867\uDF7E"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","\uD86D\uDE27"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","\uD872\uDEA9"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","\uD863\uDC47"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","\uD86D\uDFC5"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","\uD852\uDDDB","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","\uD870\uDCCA"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","\uD870\uDDD9"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","\uD86F\uDDF7"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","\uD86D\uDFA9"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","\uD86D\uDC10","\uD86E\uDC1C"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","\uD86D\uDE28"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","\uD86E\uDEC7","\uD855\uDD32"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","\uD863\uDC51"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","\uD872\uDE0E"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","\uD872\uDCD9","\uD858\uDE21"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","\uD871\uDE13","\uD872\uDE7D","\uD870\uDF64","\uD870\uDE88"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","\uD870\uDE7C","\uD841\uDE76"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","\uD86D\uDDE7"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","\uD859\uDE76"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","\uD873\uDE93"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","\uD873\uDDA0"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","\uD871\uDF2C"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","\uD86E\uDF83"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","\uD86E\uDF7C"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","\uD872\uDF2E"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","\uD861\uDC08"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","\uD872\uDF5B"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","\uD872\uDD1D","\uD872\uDF6C"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","\uD870\uDC2A","\uD86B\uDFA2"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","\uD86D\uDCF6","\uD86C\uDF7D"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","\uD871\uDC97"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","\uD86D\uDC61","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","\uD86D\uDEAD"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","\uD86D\uDE2A"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","\uD873\uDD90"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","\uD84D\uDDCB"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","\uD869\uDFDD","\uD873\uDDA8","\uD873\uDDAD"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","\uD873\uDCF6"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","\uD873\uDCFF"],zhǔn:["准","凖","埻","準","\uD871\uDE2F"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","\uD86D\uDD0D","\uD873\uDE2A"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","\uD873\uDD8B"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","\uD870\uDF61"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","\uD86D\uDC04","\uD873\uDE1A"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","\uD86A\uDCFB"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","\uD873\uDD03"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","\uD86F\uDE29"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","\uD870\uDF17"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","\uD86C\uDD38"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","\uD86D\uDFFC"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","\uD863\uDE99"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","\uD870\uDDD5"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","\uD861\uDE95"],bǔ:["卟","哺","捕","补","補","鸔","\uD873\uDDD5"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","\uD872\uDF3B"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","\uD871\uDC88"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","\uD871\uDE29"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","\uD86F\uDD87"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","\uD86C\uDD28"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","\uD86D\uDE95"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","\uD863\uDC4F"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","\uD86D\uDE26"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","\uD86C\uDF6F"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","\uD871\uDC94"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","\uD872\uDF5A"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","\uD855\uDDA8"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","\uD873\uDC56"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","\uD84F\uDC97","\uD873\uDD8F"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","\uD873\uDD02"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","\uD86D\uDD36"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","\uD872\uDF64"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","\uD872\uDF73","\uD873\uDDAE"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","\uD871\uDE2D"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","\uD872\uDF69"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","\uD871\uDE4A"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","\uD855\uDD62"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","\uD86D\uDDF4"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","\uD871\uDF9F"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","\uD870\uDDF9"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","\uD84F\uDE23"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","\uD871\uDD42"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","\uD857\uDED7"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","\uD843\uDCD0"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","\uD86E\uDF62"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","\uD871\uDE2B","\uD852\uDE7D"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","\uD872\uDF38"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","\uD86A\uDE36"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","\uD86D\uDDB3"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","\uD872\uDF4A"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","\uD872\uDF3F"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","\uD85B\uDC21"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","\uD86D\uDC13"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","\uD86E\uDC0A"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","\uD845\uDC13","\uD867\uDF8C"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","\uD863\uDC54"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","\uD86C\uDF72"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","\uD86A\uDD17"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","\uD872\uDFCE"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","\uD86D\uDE1C"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","\uD861\uDFE0"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","\uD873\uDD9F"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","\uD862\uDF49"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","\uD872\uDF39"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","\uD872\uDF76"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","\uD86E\uDC06"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","\uD86D\uDEED"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","\uD844\uDF9A"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["\uD86E\uDF5F"],"lóu lǘ":["\uD859\uDF7C"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},T5=new SK;Object.keys(B_0).forEach(($)=>{let Y=B_0[$];for(let z of Y)T5.set(z,$)})});var Tl,N$4;var P_0=o(()=>{_9();Tl=new SK,N$4=new SK});var LT,A_0;var jl=o(()=>{a$();_9();LT={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},A_0=Object.keys(LT).map(($)=>({zh:$,pinyin:LT[$],probability:1+r2($),length:r2($),priority:r4.Surname,dict:Symbol("surname")}))});var gK=($,Y="off")=>{let z=T5.get($)?T5.get($).split(" "):[];if(Tl.get($))z=Tl.get($).split(" ");else if(Y!=="off"){let U=LT[$];if(U)z=[U].concat(z.filter((Q)=>Q!==U))}return z};var FT=o(()=>{VT();P_0();jl()});var T_0,j_0;var E_0=o(()=>{a$();T_0={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng zhǎng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī",一〇:"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},j_0=Object.keys(T_0).map(($)=>({zh:$,pinyin:T_0[$],probability:0.00000002,length:2,priority:r4.Normal,dict:Symbol("dict2")}))});var C_0,R_0;var __0=o(()=>{a$();C_0={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},R_0=Object.keys(C_0).map(($)=>({zh:$,pinyin:C_0[$],probability:0.00000002,length:3,priority:r4.Normal,dict:Symbol("dict3")}))});var v_0,h_0;var S_0=o(()=>{a$();v_0={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},h_0=Object.keys(v_0).map(($)=>({zh:$,pinyin:v_0[$],probability:0.00000002,length:4,priority:r4.Normal,dict:Symbol("dict4")}))});var g_0,y_0;var k_0=o(()=>{a$();g_0={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},y_0=Object.keys(g_0).map(($)=>({zh:$,pinyin:g_0[$],probability:0.00000002,length:5,priority:r4.Normal,dict:Symbol("dict5")}))});var x_0;var f_0=o(()=>{Al();E_0();__0();S_0();k_0();jl();x_0=[...y_0,...h_0,...R_0,...j_0,...O_0,...A_0]});function u_0($,Y){if(!$)return Y;if($.decimalY.probability?$:Y;else return Y}function b_0($){if($.probability<0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)$.probability*=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,$.decimal+=1}function Rh1($){if($.priority===r4.Custom)return-($.length*$.length*100);if($.priority===r4.Surname)return-($.length*$.length*10);return 0}function i_0($,Y){let z=[],U={probability:1,decimal:0,nextIndex:Y},Q=$.length-1,J=$[Q];for(let G=Y-1;G>=0;G--){let W=G+1>=Y?U:z[G+1],H=W.pattern?G+1:W.nextIndex;while(J&&J.index+J.length-1===G){let Z=J.index,q={probability:J.probability*W.probability,decimal:W.decimal+Rh1(J),pattern:J,nextIndex:H};b_0(q),z[Z]=u_0(z[Z],q),J=$[--Q]}let X={probability:0.0000000000001*W.probability,decimal:0,nextIndex:H};b_0(X),z[G]=u_0(z[G],X)}let I=[],K=0;while(K{a$()});function n_0($,Y){if(!$)return Y;return $.count<=Y.count?$:Y}function _h1($){if($.priority===r4.Custom)return-($.length*$.length*1e5);if($.priority===r4.Surname)return-($.length*$.length*100);return 1}function p_0($,Y){let z=[],U=$.length-1,Q=$[U];for(let J=Y-1;J>=0;J--){let I=J+1>=Y?{count:0,patterns:[]}:z[J+1];while(Q&&Q.index+Q.length-1===J){let G=Q.index,W={count:_h1(Q)+I.count,patterns:I.patterns,concatPattern:Q};z[G]=n_0(z[G],W),Q=$[--U]}let K={count:1+I.count,patterns:I.patterns};if(z[J]=n_0(z[J],K),z[J].concatPattern)z[J].patterns=z[J].patterns.concat(z[J].concatPattern),z[J].concatPattern=void 0,delete z[J+1]}return z[0].patterns.reverse()}var d_0=o(()=>{a$()});function vh1($,Y){if(Y.index+Y.length<=$.index)return!1;if(Y.priority>$.priority)return!1;if(Y.priority===$.priority&&Y.length>$.length)return!1;return!0}function m_0($){let Y=[];for(let z=$.length-1;z>=0;){let{index:U}=$[z],Q=z-1;while(Q>=0&&vh1($[z],$[Q]))Q--;if(Q<0||$[Q].index+$[Q].length<=U)Y.push($[z]);z=Q}return Y.reverse()}var l_0=()=>{};class El{constructor($,Y=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=$,this.key=Y}}class s_0{constructor(){this.dictMap=new Map,this.queues=[],this.root=new El(null)}build($){this.buildTrie($),this.buildFailPointer()}buildTrie($){for(let Y of $){let z=F$(Y.zh),U=this.root;for(let Q=0;Q{$=$.concat(z)}),this.queues=[];while($.length>Y){let z=$[Y++],U=z.parent&&z.parent.fail,Q=z.key;while(U&&!U.children.has(Q))U=U.fail;if(!U)z.fail=this.root;else z.fail=U.children.get(Q)}}addPatternToDictMap($){if(!this.dictMap.has($.dict))this.dictMap.set($.dict,new Set);this.dictMap.get($.dict).add($)}addNodeToQueues($,Y){if(!this.queues[Y])this.queues[Y]=[];this.queues[Y].push($)}insertPattern($,Y){for(let z=$.length-1;z>=0;z--){let U=$[z];if(Y.priority===U.priority&&Y.probability>=U.probability)$[z+1]=U;else if(Y.priority>U.priority)$[z+1]=U;else{$[z+1]=Y;return}}$[0]=Y}removeDict($){if(this.dictMap.has($))this.dictMap.get($).forEach((z)=>{z.node.patterns=z.node.patterns.filter((U)=>U!==z)}),this.dictMap.delete($)}match($,Y,z=F$($)){let U=this.root,Q=[];for(let J=0;J{if(Y==="off")return H.priority!==r4.Surname;else if(Y==="head")return H.length-1-J===0;else return!0});if(G)Q.push(Object.assign(Object.assign({},G),{index:J-G.length+1}));let W=U.fail;while(W!==null){let H=W.patterns.find((X)=>{if(Y==="off")return X.priority!==r4.Surname;else if(Y==="head")return X.length-1-J===0;else return!0});if(H)Q.push(Object.assign(Object.assign({},H),{index:J-H.length+1}));W=W.fail}}}return Q}search($,Y,z=2,U=F$($)){let Q=this.match($,Y,U);if(z===1)return m_0(Q);else if(z===3)return p_0(Q,U.length);return i_0(Q,U.length)}}function wT(){if(!r_0)Cl.build(x_0),r_0=!0}function hh1(){if(typeof requestIdleCallback==="function")requestIdleCallback(()=>wT());else setTimeout(wT,0)}var o_0,r_0=!1,Cl;var a_0=o(()=>{f_0();c_0();d_0();l_0();a$();_9();(function($){$[$.ReverseMaxMatch=1]="ReverseMaxMatch",$[$.MaxProbability=2]="MaxProbability",$[$.MinTokenization=3]="MinTokenization"})(o_0||(o_0={}));Cl=new s_0;hh1()});function t_0(){return Sh1}var Sh1;var e_0=o(()=>{Sh1=[]});function Rl($){let Y="",z="",U="";if(M_0.indexOf(wq($))!==-1)Y=$[0],z=$[1],U=$.slice(2);else z=$[0]||"",U=$.slice(1)||"";return{head:Y,body:z,tail:U}}function yh1($,Y,z){if(D_0.indexOf($)===-1)return Fq($);if(Y===z&&Y&&Fq(Y)!==Y)return wq(Fq($));if(z&&!N_0[$].includes(z)){let U=Fq(z);if(U!==z){let Q=Oq(U),J=Pl[$];for(let I in J)if(J[I].indexOf(Number(Q))!==-1)return I}}}function kh1($,Y,z){if($==="了"&&(!Y||!T5.get(Y)))return"liǎo"}function xh1($,Y,z){if($==="々")if(!Y||!T5.get(Y))return"tóng";else return T5.get(Y).split(" ")[0]}function fh1($){let Y=[];if($.includes("々"))Y.push(xh1);return Y.push(kh1),Y.push(yh1),Y}function $v0($,Y,z,U){for(let Q of U){let J=Q($,Y,z);if(J)return J}return Fq($)}var Fq=($)=>{let Y=T5.get($);if(!Y)return $;let z=Y.indexOf(" ");return z===-1?Y:Y.slice(0,z)},gh1=($)=>{let Y=[],z=t_0();for(let U=0;U<$.length;U++){let Q=$[U],J=Q.charCodeAt(0);if(z[J])Y[U]=z[J];else Y[U]=Q}return Y.join("")},Yv0=($,Y,z,U,Q,J=F$($))=>{wT();let I=Q?gh1($):$,K=Q?F$(I):J,G=Cl.search(I,z,U,K),W=0,H=fh1($);for(let X=0;X{return $.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê")},zv0=($,Y="off")=>{let z=gK($,Y);if(z.length>0)return z.map((U)=>({origin:$,result:U,isZh:!0,originPinyin:U}));else return[{origin:$,result:$,isZh:!1,originPinyin:$}]},Mq=($,Y)=>{let z=$.split(" "),U=[],Q=[];for(let J of z)for(let I of V_0)if(J.startsWith(I)){let K=J.slice(I.length);if(L_0.indexOf(I)!==-1&&F_0.indexOf(K)!==-1)K=w_0[K];U.push(I),Q.push(K);break}if(Y==="standard")U.forEach((J,I)=>{if(J==="y"||J==="w")U[I]=""});return{final:Q.join(" "),initial:U.join(" ")}},MT=($)=>{let{final:Y}=Mq($);return Rl(Y)},Oq=($)=>{let Y=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,z=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,U=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,Q=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,J=/(a|o|e|i|u|ü|ê)/,I=/(n|m)$/,K=[];return $.split(" ").forEach((W)=>{if(Y.test(W))K.push("1");else if(z.test(W))K.push("2");else if(U.test(W))K.push("3");else if(Q.test(W))K.push("4");else if(J.test(W))K.push("0");else if(I.test(W))K.push("0");else K.push("")}),K.join(" ")},Uv0=($,Y)=>{let z=wq($).split(" "),U=Oq(Y).split(" "),Q=[];return z.forEach((J,I)=>{Q.push(`${J}${U[I]}`)}),Q.join(" ")},_l=($,Y)=>{let z=[];return $.split(" ").forEach((Q)=>{z.push(Y?Q[0]:Q)}),z.join(" ")};var vl=o(()=>{Al();VT();FT();a_0();a$();_9();e_0()});function hl($,Y){if(Y instanceof RegExp){if(Y.global||Y.sticky)Y.lastIndex=0;return Y.test($)}return!0}var Qv0=($)=>{if(typeof $!=="string")return console.error("The first param of pinyin is error: "+$+' is not assignable to type "string".'),!1;else return!0},Jv0=($,Y)=>{let z=Y.nonZh;if(z==="removed")return $.filter((U)=>U.isZh||!hl(U.origin,Y.nonZhScope));else if(z==="consecutive"){for(let U=$.length-2;U>=0;U--){let Q=$[U],J=$[U+1];if(!Q.isZh&&!J.isZh&&hl(Q.origin,Y.nonZhScope)&&hl(J.origin,Y.nonZhScope))Q.origin+=J.origin,Q.result+=J.result,J.delete=!0}return $.filter((U)=>!U.delete)}else return $},Iv0=($,Y)=>{if(Y.multiple&&r2($)===1)return zv0($,Y.surname);else return!1},Kv0=($,Y)=>{switch(Y.pattern){case"pinyin":break;case"num":$.forEach((z)=>{z.result=z.isZh?Oq(z.result):""});break;case"initial":$.forEach((z)=>{z.result=z.isZh?Mq(z.result,Y.initialPattern).initial:""});break;case"final":$.forEach((z)=>{z.result=z.isZh?Mq(z.result,Y.initialPattern).final:""});break;case"first":$.forEach((z)=>{z.result=_l(z.result,z.isZh)});break;case"finalHead":$.forEach((z)=>{z.result=z.isZh?MT(z.result).head:""});break;case"finalBody":$.forEach((z)=>{z.result=z.isZh?MT(z.result).body:""});break;case"finalTail":$.forEach((z)=>{z.result=z.isZh?MT(z.result).tail:""});break}},Gv0=($,Y)=>{switch(Y.toneType){case"symbol":break;case"none":$.forEach((z)=>{if(z.isZh)z.result=wq(z.result)});break;case"num":{$.forEach((z)=>{if(z.isZh)z.result=Uv0(z.result,z.originPinyin)});break}}},Wv0=($,Y)=>{if(Y.v)$.forEach((z)=>{if(z.isZh)z.result=z.result.replace(/ü/g,typeof Y.v==="string"?Y.v:"v")})},Hv0=($,Y,z)=>{if(Y.multiple&&r2(z)===1){let U="";$=$.filter((Q)=>{let J=Q.result!==U;return U=Q.result,J})}if(Y.type==="array")return $.map((U)=>U.result);if(Y.type==="all")return $.map((U)=>{let Q=U.isZh?U.result:"",{initial:J,final:I}=Mq(Q,Y.initialPattern),{head:K,body:G,tail:W}=Rl(I),H=[];if(Q!=="")H=[Q].concat(gK(U.origin,Y.surname).filter((X)=>X!==Q));return{origin:U.origin,pinyin:Q,initial:J,final:I,first:_l(U.result,U.isZh),finalHead:K,finalBody:G,finalTail:W,num:Number(Oq(U.originPinyin)),isZh:U.isZh,polyphonic:H,inZhRange:!!T5.get(U.origin),result:U.result}});return $.map((U)=>U.result).join(Y.separator)},Xv0=($,Y)=>{if(Y===!1)$.forEach((z)=>{if(z.origin==="一")z.result=z.originPinyin="yī";else if(z.origin==="不")z.result=z.originPinyin="bù"});return $};var Zv0=o(()=>{_9();vl();VT();FT()});function OT($,Y){if(Y=Object.assign(Object.assign({},uh1),Y||{}),!Qv0($))return $;if($==="")return Y.type==="array"||Y.type==="all"?[]:"";if(Y.surname===void 0)if(Y.mode==="surname")Y.surname="all";else Y.surname="off";if(Y.type==="all")Y.pattern="pinyin";if(Y.pattern==="num")Y.toneType="none";if(Y.removeNonZh)Y.nonZh="removed";let U=F$($),Q=Array(U.length),{list:J}=Yv0($,Q,Y.surname,Y.segmentit,Y.traditional,U);J=Xv0(J,Y.toneSandhi),J=Jv0(J,Y);let I=Iv0($,Y);if(I)J=I;return Kv0(J,Y),Gv0(J,Y),Wv0(J,Y),Hv0(J,Y,$)}var uh1;var qv0=o(()=>{_9();vl();Zv0();uh1={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2}});function lh1($,Y){if(!Y)return null;let z=[],U=0,Q=F$($),J=0;for(let I=0;I$.replace(ch1,(Y)=>{var z;return(z=Vv0[Y])!==null&&z!==void 0?z:Y}),Lv0=($,Y)=>{let z=gK($);return(z.length?z:[$]).map((U)=>{let Q=nh1(U);return Y.v?Q.replace(/ü/g,typeof Y.v==="string"?Y.v:"v"):Q})},Sl=($,Y,z)=>{if((z===null||z===void 0?void 0:z.precision)==="any")z.lastPrecision="any";if(z===null||z===void 0?void 0:z.v){let J=typeof z.v==="string"?z.v:"v";Y=Y.replace(/ü/g,J)}let U=Object.assign(Object.assign({},bh1),z||{});if(U.insensitive!==!1)$=$.toLowerCase(),Y=Y.toLowerCase();if(U.space==="ignore")Y=Y.replace(/\s/g,"");let Q=(z===null||z===void 0?void 0:z.precision)==="any"?dh1($,Y,U):mh1($,Y,U);return lh1($,Q)},ph1=($,Y)=>{let z=0;for(let U=0;U<$.length;U++)if($[U]===Y[z])z++;return z},dh1=($,Y,z)=>{let U=[],Q=F$($),J=z.space==="ignore";for(let I=0;I{let H=ph1(W,Y);if(H>G)G=H}),G)Y=Y.slice(G),U.push(I);if(!Y)break}if(Y)return null;if(z.continuous){let I=U;if(U.some((G,W)=>W>0&&G!==I[W-1]+1))return null}if(z.space==="ignore")U=U.filter((I)=>Q[I]!==" ");return U.length?U:null},mh1=($,Y,z)=>{let U=F$($),Q=Array(U.length+1);for(let J=0;JQ[J][I].length)Q[J][I]=H;if(I===Y.length)return Q[J][I]}if(Y.length-I<=ih1){if(K.some((X)=>{if(z.lastPrecision==="any")return X.includes(Y.slice(I-1,Y.length));if(z.lastPrecision==="start")return X.startsWith(Y.slice(I-1,Y.length));if(z.lastPrecision==="first")return X[0]===Y.slice(I-1,Y.length);if(z.lastPrecision==="every")return X===Y.slice(I-1,Y.length);return!1}))return[...Q[J-1][I-1],J-1]}let G=z.precision;if(G==="start")K.forEach((H)=>{let X=I,Z=[...Q[J-1][I-1],J-1];while(X<=Y.length&&H.startsWith(Y.slice(I-1,X))){if(!Q[J][X]||Z.length>Q[J][X].length)Q[J][X]=Z;X++}});if(G==="first"){if(K.some((H)=>H[0]===Y[I-1])){let H=[...Q[J-1][I-1],J-1];if(!Q[J][I]||H.length>Q[J][I].length)Q[J][I]=H}}let W=K.find((H)=>H===Y.slice(I-1,I-1+H.length));if(W){let H=[...Q[J-1][I-1],J-1],X=I-1+W.length;if(!Q[J][X]||H.length>Q[J][X].length)Q[J][X]=H}}}return null};var Fv0=o(()=>{_9();FT();bh1={precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0,v:!1},Vv0={"ā":"a","á":"a","ǎ":"a","à":"a","ō":"o","ó":"o","ǒ":"o","ò":"o","ē":"e","é":"e","ě":"e","è":"e","ī":"i","í":"i","ǐ":"i","ì":"i","ū":"u","ú":"u","ǔ":"u","ù":"u","ǖ":"ü","ǘ":"ü","ǚ":"ü","ǜ":"ü","n̄":"n","ń":"n","ň":"n","ǹ":"n","m̄":"m","ḿ":"m","m̌":"m","m̀":"m","ê̄":"ê","ế":"ê","ê̌":"ê","ề":"ê"},ch1=new RegExp(Object.keys(Vv0).join("|"),"g")});var wv0=o(()=>{qv0();Fv0()});function Mv0($,Y){let z=$.length,U=Y.length;if(z===0)return U;if(U===0)return z;let Q=Array.from({length:U+1},(I,K)=>K),J=Array(U+1).fill(0);for(let I=1;I<=z;I+=1){J[0]=I;for(let G=1;G<=U;G+=1)if($[I-1]===Y[G-1])J[G]=Q[G-1]??0;else{let W=Q[G-1]??0,H=J[G-1]??0,X=Q[G]??0;J[G]=Math.min(W,H,X)+1}let K=Q;Q=J,J=K}return Q[U]??0}function Ov0($,Y){if(!$||!Y)return 999;if(Y.includes($))return 0;let z=$.length;if(Y.lengthz.toLowerCase().replace(/zh/g,"z").replace(/ch/g,"c").replace(/sh/g,"s").replace(/iang/g,"ian").replace(/uang/g,"uan").replace(/ang/g,"an").replace(/eng/g,"en").replace(/ing/g,"in")).join("")}function Dv0($,Y){if(!$||!Y)return!1;let z=0;for(let U=0;U=2){if(OT(Q,{pattern:"first",toneType:"none",type:"array"}).join("").toLowerCase().includes(U))return{matched:!0,score:0.9,reason:"initials"}}if(J)try{let X=Sl(Q,U,{precision:"start"});if(X&&X.length>0)return{matched:!0,score:0.88,reason:"pinyin"}}catch{}let K="",G="";if(J||I){if(K=Nv0(Q),G=Nv0(U),G.length>=2&&K.includes(G))return{matched:!0,score:0.85,reason:"fuzzy_pinyin"}}let W=U.length<=2?0:U.length<=5?1:2,H=z.maxDistance??W;if(H>0){let X=Ov0(U,Q);if(X<=H)return{matched:!0,score:Math.max(0.6,0.8-X*0.1),reason:"levenshtein"};if((J||I)&&G.length>=3&&K.length>=3){let Z=Ov0(G,K);if(Z<=H)return{matched:!0,score:Math.max(0.6,0.78-Z*0.1),reason:"levenshtein"}}}if(U.length>=3){if(Dv0(U,Q)||(J||I)&&Dv0(G,K))return{matched:!0,score:0.65,reason:"subsequence"}}return{matched:!1,score:0,reason:"none"}}function rh1($,Y,z={}){let U=[{text:$.name,weight:1.2},{text:$.id,weight:1.1},{text:$.source.staffId,weight:1},{text:$.source.domain,weight:1},{text:$.source.corpId,weight:1},{text:$.seal.tenantSlug,weight:1},{text:$.source.tenantSlug,weight:1},{text:$.source.tenantName,weight:1.1},{text:$.testCorpId,weight:1},{text:$.prodCorpId,weight:1},{text:$.environment??"production",weight:0.8},{text:$.source.type,weight:0.8},{text:$.source.provider,weight:0.8}],Q=0,J="none";for(let I of U){if(!I.text)continue;let K=oh1(Y,I.text,z);if(K.matched){let G=K.score*I.weight;if(G>Q)Q=G,J=K.reason}}return{matched:Q>0,score:Q,reason:J}}function Bv0($,Y,z={}){let U=Y.trim();if(!U)return $;let Q=[];for(let J of $){let I=rh1(J,U,z);if(I.matched)Q.push({corp:J,score:I.score})}return Q.sort((J,I)=>I.score-J.score),Q.map((J)=>J.corp)}var Pv0=o(()=>{wv0()});import{existsSync as sh1,mkdirSync as ah1,readFileSync as th1,writeFileSync as Av0}from"node:fs";import{homedir as eh1}from"node:os";import{join as NT}from"node:path";function Tv0(){let $=process.env.SEAL_USE_MAPPINGS_DIR?.trim();if($)return $;return NT(eh1(),".config","seal-use","mappings")}function jv0($){let Y=Tv0();ah1(Y,{recursive:!0,mode:448});let z=NT(Y,`${$.target.id}-v${$.target.publishedVersionNumber}.json`),U=NT(Y,`${$.target.id}-latest.json`),Q=JSON.stringify($,null,2);return Av0(z,Q,{encoding:"utf-8",mode:384}),Av0(U,Q,{encoding:"utf-8",mode:384}),z}function Ev0($,Y){let z=Tv0(),U;if(!Y||Y==="latest")U=`${$}-latest.json`;else{let J=String(Y).replace(/^v/i,"");U=`${$}-v${J}.json`}let Q=NT(z,U);if(!sh1(Q))return null;try{let J=th1(Q,"utf-8");return JSON.parse(J)}catch{return null}}function Cv0($,Y){if(!Y)return $;let z=Y.trim().toLowerCase();return $.filter((U)=>{return String(U.sourceRuleCode).toLowerCase()===z||String(U.targetRuleCode).toLowerCase()===z||U.sourceRuleId.toLowerCase()===z||U.targetRuleId.toLowerCase()===z||`#${U.sourceRuleCode}`.toLowerCase()===z||`#${U.targetRuleCode}`.toLowerCase()===z})}function Rv0($,Y,z){let U=0,Q=Y!==void 0?new RegExp(`\\[Prod v${Y}\\s*·\\s*#(\\d+)(?:[^\\]]*)\\]`):/\[Prod draft\s*·\s*#(\d+)(?:[^\]]*)\]/;for(let I of z){if(!I.versionName)continue;let K=I.versionName.match(Q);if(K&&K[1]){let G=parseInt(K[1],10);if(!isNaN(G)&&G>U)U=G}}if(U>0)return U+1;if(!z.some((I)=>I.versionName&&/\[Prod v\d+/.test(I.versionName))){let I=z.filter((K)=>K.versionName&&K.versionName.includes(`Sync from ${$}`)).length;if(I>0)return I+1}return 1}function _v0($,Y,z,U){let Q=Y!==void 0?`Prod v${Y}`:"Prod draft",J=U!==void 0?` -> Test v${U}`:"";return`Sync from ${$} [${Q} · #${z}${J}]`}var gl=()=>{};async function yK($){let[Y,z]=await Promise.all([X00($),j1($)]),U=await H8(z);return{...Y,tenantId:U.tenant.id,tenantSlug:U.tenant.tenantSlug??Y.tenantSlug,tenantName:U.tenant.name,raw:{...typeof Y.raw==="object"&&Y.raw!==null?Y.raw:{},user:{id:U.user.id,name:U.user.name,isAdmin:U.user.isAdmin,providerUserId:U.user.providerUserId,hosecloudStaff:U.user.hosecloudStaff},tenant:U.tenant}}}var DT=o(()=>{i8();_S();X6()});import{existsSync as vv0,mkdirSync as hv0,writeFileSync as Sv0}from"node:fs";import{randomBytes as $S1}from"node:crypto";import{join as gv0}from"node:path";function yl($){if(!$)return;if($.length<=8)return"****";return`${$.slice(0,4)}...${$.slice(-4)}`}function YS1($){if($.source.type==="hose")return R3($,$.source);return $.seal.url??$.source.sealUrl}function zS1($){if($.type==="hose"){let Y=$.appKey??$.key;return{type:"hose",provider:"hosecloud",domain:$.domain,corpId:$.corpId,staffId:$.staffId,appKey:yl(Y),hasAppSecurity:Boolean($.appSecurity??$.password),sealUrl:$.sealUrl}}if($.type==="seal")return{type:"seal",provider:$.provider??"seal",tenantId:$.tenantId,tenantSlug:$.tenantSlug,tenantName:$.tenantName,providerUserId:$.providerUserId,staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:yl($.token),expiresIn:$.expiresIn};return{type:"direct",provider:"direct",staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:yl($.token),expiresIn:$.expiresIn}}async function yv0($,Y,z){if(!$||$==="list"||$==="search"||$==="find"){let U=(Y??S(z.options.query)??S(z.options.q))?.trim(),Q=F0(z.options.strict)===!0,J=(S(z.options.env)??S(z.options.environment))?.trim().toLowerCase();if(($==="search"||$==="find")&&!U&&!J)throw d4("Usage: seal-use corps search [--env ] [--strict]");let I=S(z.options.corp),K=s8(),G=_4(),W=I??(G.stateful?G.defaultCorpId??K[0]?.id:void 0),H=K;if(J)H=H.filter((O)=>(O.environment??"production").toLowerCase()===J);if(U)H=Bv0(H,U,{strict:Q});if(K.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");else if(Q&&H.length===0&&($==="search"||$==="find")&&U)console.error(`提示:未在严格模式下匹配到企业 "${U}"。可以尝试省略 --strict 进行智能软搜索。`);let X=eD0(H,W),Z=!$||$==="list",q=F0(z.options.all)===!0,V=s0(z.options.limit),M=V!==void 0?Math.max(1,V):Z&&!q?10:void 0,w=X;if(M!==void 0&&X.length>M){if(w=X.slice(0,M),Z&&!q&&V===void 0)console.error(`ℹ️ 当前共有 ${X.length} 家企业,已按最近 7 天使用频次展示前 ${M} 家。 `+`\uD83D\uDC49 查看全部请添加: seal-use corps list --all -`+"\uD83D\uDC49 检索指定企业请使用: seal-use corps search ")}c0(w.map((O)=>({id:O.id,name:O.name,environment:O.environment??"production",sourceType:O.source.type,provider:O.source.provider??O.source.type,staffId:O.source.staffId,testCorpId:O.testCorpId,prodCorpId:O.prodCorpId,current:O.id===W})));return}if($==="get"||$==="show"){let U=Y??S(z.options.corp);if(!U)throw d4("Usage: seal-use corps get ");let Q=E1(U),J=on(Q.id),I=eh1(Q);c0({id:Q.id,name:Q.name,environment:Q.environment??"production",configFile:J,seal:{url:I,tenantSlug:Q.seal.tenantSlug??Q.source.tenantSlug,customHeaderNames:Q.seal.headers?Object.keys(Q.seal.headers):[],customCookieNames:Q.seal.cookies?Object.keys(Q.seal.cookies):[],endpoints:Q.seal.endpoints},source:$S1(Q.source),relations:{testCorpId:Q.testCorpId,prodCorpId:Q.prodCorpId},auth:{refreshTtl:Q.auth.refreshTtl}});return}if($==="current"){let U=E1(S(z.options.corp));c0({id:U.id,name:U.name,environment:U.environment??"production",sourceType:U.source.type,provider:U.source.provider??U.source.type,staffId:U.source.staffId,testCorpId:U.testCorpId,prodCorpId:U.prodCorpId});return}if($==="mark"||$==="mark-test"||$==="mark-prod"){let U=Y??S(z.options.corp);if(!U)throw d4("Usage: seal-use corps mark --env [--confirm]");let Q=E1(U),J=$==="mark-test"?"test":$==="mark-prod"?"production":S(z.options.env)??S(z.options.environment);if(J!=="production"&&J!=="test")throw d4("Usage: seal-use corps mark --env [--confirm]");if(!(F0(z.options.confirm)===!0||F0(z.options.yes)===!0))throw N9(`Refusing to change environment tag of enterprise '${Q.name}' (${Q.id}) to '${J}' without --confirm. Marking alters synchronization safety guards.`,`seal-use corps mark ${Q.id} --env ${J} --confirm`);let K=x2(Q.id,{environment:J});c0({id:K.id,name:K.name,environment:K.environment,testCorpId:K.testCorpId,prodCorpId:K.prodCorpId});return}if($==="bind-test"){let U,Q;if(Y&&z.command[3])U=Y,Q=z.command[3];else if(Y){let X=S(z.options.corp),Z=S(z.options["test-corp"])??S(z.options.testCorp);if(X)U=X,Q=Y;else if(Z)U=Y,Q=Z}if(!U||!Q)throw d4(`Usage: seal-use corps bind-test [--confirm] [--force] - or: seal-use corps bind-test --corp [--confirm] [--force]`);let J=E1(U),I=E1(Q);if(J.id===I.id)throw d4(`Cannot bind enterprise '${J.id}' to itself.`);if(J.prodCorpId&&J.prodCorpId!==I.id)throw d4(`Cannot use '${J.id}' as a production enterprise because it is already registered as a test enterprise for '${J.prodCorpId}'. Multi-tier chaining is not permitted.`);if(I.testCorpId&&I.testCorpId!==J.id)throw d4(`Cannot bind '${I.id}' as a test enterprise because it already has a bound test enterprise '${I.testCorpId}'. Multi-tier chaining is not permitted.`);let K=F0(z.options.force)===!0;if(J.testCorpId&&J.testCorpId!==I.id||I.prodCorpId&&I.prodCorpId!==J.id){if(!K)throw N9(`Enterprise binding conflict: production enterprise '${J.id}' is bound to '${J.testCorpId??"none"}', and test enterprise '${I.id}' is bound to '${I.prodCorpId??"none"}'. Overwriting an existing binding requires --force and --confirm.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm --force`)}if(!(F0(z.options.confirm)===!0||F0(z.options.yes)===!0)){let X=K?" --force":"";throw N9(`Refusing to bind test enterprise '${I.name}' (${I.id}) to production enterprise '${J.name}' (${J.id}) without --confirm. Enterprise binding establishes 1-to-1 sync pairing and marks '${I.id}' as a test environment.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm${X}`)}if(J.testCorpId&&J.testCorpId!==I.id)try{x2(J.testCorpId,{prodCorpId:void 0})}catch{}if(I.prodCorpId&&I.prodCorpId!==J.id)try{x2(I.prodCorpId,{testCorpId:void 0})}catch{}let W=x2(J.id,{environment:"production",testCorpId:I.id}),H=x2(I.id,{environment:"test",prodCorpId:J.id});c0({success:!0,productionEnterprise:{id:W.id,name:W.name,environment:W.environment,testCorpId:W.testCorpId},testEnterprise:{id:H.id,name:H.name,environment:H.environment,prodCorpId:H.prodCorpId}});return}if($==="unbind-test"){let U=Y??S(z.options.corp),Q=E1(U);if(!Q.testCorpId&&!Q.prodCorpId){c0({unbound:!1,message:`Enterprise '${Q.name}' (${Q.id}) does not have an active test enterprise binding.`});return}let J=Q.testCorpId?Q.id:Q.prodCorpId,I=Q.testCorpId?Q.testCorpId:Q.id;if(!(F0(z.options.confirm)===!0||F0(z.options.yes)===!0))throw N9(`Refusing to unbind production enterprise '${J}' and test enterprise '${I}' without --confirm.`,`seal-use corps unbind-test ${Q.id} --confirm`);x2(J,{testCorpId:void 0});try{x2(I,{prodCorpId:void 0})}catch{}c0({success:!0,unboundProduction:J,unboundTest:I});return}if($==="sync-test"){let U=Y??S(z.options.corp),Q=E1(U);if(!Q.testCorpId)throw d4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. -Run 'seal-use corps bind-test ${Q.id} --confirm' first to establish a verified 1-to-1 association.`);let J=E1(Q.testCorpId);if(J.environment!=="test")throw Error(`Target enterprise '${J.name}' (${J.id}) is marked as '${J.environment}', NOT 'test'. Aborting sync to protect non-test environments.`);let I=await j1(Q),K=await j1(J),[G,W,H,X,Z,q,V,F]=await Promise.all([o1(I,Q.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(K,J.seal.endpoints.approvalStylePreferences).catch(()=>({})),n6(I),n6(K),A$(I).catch(()=>[]),A$(K).catch(()=>[]),_3(I,{limit:100}).catch(()=>({articles:[]})),_3(K,{limit:100}).catch(()=>({articles:[]}))]),M=(V.articles||[]).filter((G0)=>!G0.isDeleted),w=(F.articles||[]).filter((G0)=>!G0.isDeleted),O=new Map(w.map((G0)=>[G0.title.trim(),G0])),D=[],N=[],A=new Set(M.map((G0)=>G0.title.trim()));for(let G0 of M){let T0=G0.title.trim(),b0=O.get(T0);if(!b0)D.push(G0);else{let Y1=b0.content!==G0.content,a=(b0.purpose??"")!==(G0.purpose??""),H0=b0.enabled!==G0.enabled,L0=b0.contentType!==G0.contentType,f0=(b0.status??"")!==(G0.status??""),u0=JSON.stringify([...b0.scenarios??[]].sort())!==JSON.stringify([...G0.scenarios??[]].sort()),i0=JSON.stringify([...b0.tags??[]].sort())!==JSON.stringify([...G0.tags??[]].sort());if(Y1||a||H0||L0||f0||u0||i0)N.push({testId:b0.id,prodDoc:G0,reasons:[...Y1?["content"]:[],...a?["purpose"]:[],...H0?["enabled"]:[],...L0?["contentType"]:[],...f0?["status"]:[],...u0?["scenarios"]:[],...i0?["tags"]:[]]})}}let T=w.filter((G0)=>!A.has(G0.title.trim())),j=[...Z].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0],C=j?.versionNumber,k=([...q].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0]?.versionNumber??0)+1,h=Rv0(Q.name,C,q),c=S(z.options["version-name"])??S(z.options.versionName)??_v0(Q.name,C,h,k),U0={...W,tone:G.tone,language:G.language,detailLevel:G.detailLevel,outputFormat:G.outputFormat,examples:G.examples??[],prohibitedPhrases:G.prohibitedPhrases??[],customInstructions:G.customInstructions,decisionPreferences:G.decisionPreferences,thinkingDepthPreference:G.thinkingDepthPreference};if(F0(z.options["dry-run"])===!0||F0(z.options.dryRun)===!0){c0({dryRun:!0,source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment},versionMappingPlan:{sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestExpectedVersionNumber:k,targetTestPublishVersionName:c,iteration:h},preferencesDiff:{decisionPreferences:{before:W.decisionPreferences,after:G.decisionPreferences},thinkingDepthPreference:{before:W.thinkingDepthPreference,after:G.thinkingDepthPreference}},rulesPlan:{sourceDraftRuleCount:H.rules.length,targetExistingDraftRuleCount:X.rules.length,toDeleteCount:X.rules.length,toCreateCount:H.rules.length,rulesToSync:H.rules.map((G0,T0)=>({index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,expectedTargetCode:`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}))},documentsPlan:{sourceDocumentCount:M.length,targetExistingDocumentCount:w.length,toCreateCount:D.length,toCreate:D.map((G0)=>({title:G0.title,purpose:G0.purpose,contentType:G0.contentType,scenarios:G0.scenarios})),toUpdateCount:N.length,toUpdate:N.map((G0)=>({targetDocumentId:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons})),toDeleteCount:T.length,toDelete:T.map((G0)=>({targetDocumentId:G0.id,title:G0.title}))},publishingPlan:{targetCorpId:J.id,publishVersionName:c,publishTarget:"test"},hosecloudSyncPlan:(()=>{if(Q.source.type!=="hose")return{sourceType:Q.source.type,skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let G0=(G.integrations??[]).filter((Y1)=>Y1.type==="hosecloud"),T0=new Set,b0=G0.filter((Y1)=>{let a=Y1.corporationId??Q.id;if(T0.has(a))return!1;return T0.add(a),!0});return{sourceType:"hose",outboundName:kv0(Q.name),targetMode:"assisted",integrationsCount:b0.length,integrations:b0.map((Y1)=>({corporationId:Y1.corporationId,apiOrigin:Y1.apiOrigin,customApiUrl:Y1.customApiUrl}))}})(),productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if(!(F0(z.options.yes)===!0||F0(z.options.confirm)===!0))throw N9(`Refusing to overwrite test enterprise '${J.name}' (${J.id}) with preferences, ${H.rules.length} draft rules, and ${M.length} knowledge documents from production enterprise '${Q.name}' (${Q.id}) without --yes. This will replace test draft rules, synchronize knowledge documents, and publish a new version on the test enterprise.`,`seal-use corps sync-test ${Q.id} --yes`);await d5(K,U0,J.seal.endpoints.approvalStylePreferences);let t=[];for(let G0 of T)await KM(K,G0.id),t.push({id:G0.id,title:G0.title});let $0=[];for(let G0 of N)await IM(K,G0.testId,{title:G0.prodDoc.title,purpose:G0.prodDoc.purpose,content:G0.prodDoc.content,contentType:G0.prodDoc.contentType,status:G0.prodDoc.status,enabled:G0.prodDoc.enabled,scenarios:G0.prodDoc.scenarios&&G0.prodDoc.scenarios.length>0?G0.prodDoc.scenarios:["audit"],tags:G0.prodDoc.tags}),$0.push({id:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons});let g=[];for(let G0 of D){let T0=await JM(K,{title:G0.title,purpose:G0.purpose,content:G0.content,contentType:G0.contentType,status:G0.status,enabled:G0.enabled,scenarios:G0.scenarios&&G0.scenarios.length>0?G0.scenarios:["audit"],tags:G0.tags});g.push({id:T0.id,title:T0.title})}for(let G0 of X.rules)await mQ(K,G0.id);let p=[];for(let G0 of H.rules){let T0=await CW(K,{description:G0.description,scope:G0.scope,strictness:G0.strictness});p.push(T0)}await QM(K).catch(()=>{return});let e=await _W(K,c),y=e.version.rules??[],s=H.rules.map((G0,T0)=>{let b0=p[T0],Y1=y[T0];return{index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,targetRuleId:b0?.id??"",targetRuleCode:Y1?.code??`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}}),Y0={sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestVersionNumber:e.version.versionNumber,targetTestVersionName:e.version.versionName??null},M0;try{M0=jv0({syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,latestPublishedVersionNumber:C??null,latestPublishedVersionName:j?.versionName??null},target:{id:J.id,name:J.name,publishedVersionNumber:e.version.versionNumber,publishedVersionName:e.version.versionName,rulesCount:e.rulesCount},versionMapping:Y0,ruleMapping:s})}catch{}let E0=await YS1(Q,J,I,K).catch((G0)=>({skipped:!0,reason:`error: ${G0?.message??String(G0)}`}));c0({success:!0,syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,draftRulesCount:H.rules.length,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment,deletedDraftRulesCount:X.rules.length,createdDraftRulesCount:p.length,publishedVersion:{id:e.version.id,versionNumber:e.version.versionNumber,versionName:e.version.versionName,rulesCount:e.rulesCount}},documents:{sourceCount:M.length,targetExistingCount:w.length,createdCount:g.length,created:g,updatedCount:$0.length,updated:$0,deletedCount:t.length,deleted:t},versionMapping:Y0,ruleMapping:s,...M0?{mappingSavedTo:M0}:{},hosecloudSync:E0,productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if($==="replay-test"){let U=Y??S(z.options.corp)??S(z.options.prodCorp)??S(z.options["prod-corp"]),Q=E1(U),J=F0(z.options.force)===!0,I;if(!Q.testCorpId){if(!J)throw d4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. +`+"\uD83D\uDC49 检索指定企业请使用: seal-use corps search ")}c0(w.map((O)=>({id:O.id,name:O.name,environment:O.environment??"production",sourceType:O.source.type,provider:O.source.provider??O.source.type,staffId:O.source.staffId,testCorpId:O.testCorpId,prodCorpId:O.prodCorpId,current:O.id===W})));return}if($==="get"||$==="show"){let U=Y??S(z.options.corp);if(!U)throw d4("Usage: seal-use corps get ");let Q=E1(U),J=sn(Q.id),I=YS1(Q);c0({id:Q.id,name:Q.name,environment:Q.environment??"production",configFile:J,seal:{url:I,tenantSlug:Q.seal.tenantSlug??Q.source.tenantSlug,customHeaderNames:Q.seal.headers?Object.keys(Q.seal.headers):[],customCookieNames:Q.seal.cookies?Object.keys(Q.seal.cookies):[],endpoints:Q.seal.endpoints},source:zS1(Q.source),relations:{testCorpId:Q.testCorpId,prodCorpId:Q.prodCorpId},auth:{refreshTtl:Q.auth.refreshTtl}});return}if($==="current"){let U=E1(S(z.options.corp));c0({id:U.id,name:U.name,environment:U.environment??"production",sourceType:U.source.type,provider:U.source.provider??U.source.type,staffId:U.source.staffId,testCorpId:U.testCorpId,prodCorpId:U.prodCorpId});return}if($==="mark"||$==="mark-test"||$==="mark-prod"){let U=Y??S(z.options.corp);if(!U)throw d4("Usage: seal-use corps mark --env [--confirm]");let Q=E1(U),J=$==="mark-test"?"test":$==="mark-prod"?"production":S(z.options.env)??S(z.options.environment);if(J!=="production"&&J!=="test")throw d4("Usage: seal-use corps mark --env [--confirm]");if(!(F0(z.options.confirm)===!0||F0(z.options.yes)===!0))throw D9(`Refusing to change environment tag of enterprise '${Q.name}' (${Q.id}) to '${J}' without --confirm. Marking alters synchronization safety guards.`,`seal-use corps mark ${Q.id} --env ${J} --confirm`);let K=x2(Q.id,{environment:J});c0({id:K.id,name:K.name,environment:K.environment,testCorpId:K.testCorpId,prodCorpId:K.prodCorpId});return}if($==="bind-test"){let U,Q;if(Y&&z.command[3])U=Y,Q=z.command[3];else if(Y){let X=S(z.options.corp),Z=S(z.options["test-corp"])??S(z.options.testCorp);if(X)U=X,Q=Y;else if(Z)U=Y,Q=Z}if(!U||!Q)throw d4(`Usage: seal-use corps bind-test [--confirm] [--force] + or: seal-use corps bind-test --corp [--confirm] [--force]`);let J=E1(U),I=E1(Q);if(J.id===I.id)throw d4(`Cannot bind enterprise '${J.id}' to itself.`);if(J.prodCorpId&&J.prodCorpId!==I.id)throw d4(`Cannot use '${J.id}' as a production enterprise because it is already registered as a test enterprise for '${J.prodCorpId}'. Multi-tier chaining is not permitted.`);if(I.testCorpId&&I.testCorpId!==J.id)throw d4(`Cannot bind '${I.id}' as a test enterprise because it already has a bound test enterprise '${I.testCorpId}'. Multi-tier chaining is not permitted.`);let K=F0(z.options.force)===!0;if(J.testCorpId&&J.testCorpId!==I.id||I.prodCorpId&&I.prodCorpId!==J.id){if(!K)throw D9(`Enterprise binding conflict: production enterprise '${J.id}' is bound to '${J.testCorpId??"none"}', and test enterprise '${I.id}' is bound to '${I.prodCorpId??"none"}'. Overwriting an existing binding requires --force and --confirm.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm --force`)}if(!(F0(z.options.confirm)===!0||F0(z.options.yes)===!0)){let X=K?" --force":"";throw D9(`Refusing to bind test enterprise '${I.name}' (${I.id}) to production enterprise '${J.name}' (${J.id}) without --confirm. Enterprise binding establishes 1-to-1 sync pairing and marks '${I.id}' as a test environment.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm${X}`)}if(J.testCorpId&&J.testCorpId!==I.id)try{x2(J.testCorpId,{prodCorpId:void 0})}catch{}if(I.prodCorpId&&I.prodCorpId!==J.id)try{x2(I.prodCorpId,{testCorpId:void 0})}catch{}let W=x2(J.id,{environment:"production",testCorpId:I.id}),H=x2(I.id,{environment:"test",prodCorpId:J.id});c0({success:!0,productionEnterprise:{id:W.id,name:W.name,environment:W.environment,testCorpId:W.testCorpId},testEnterprise:{id:H.id,name:H.name,environment:H.environment,prodCorpId:H.prodCorpId}});return}if($==="unbind-test"){let U=Y??S(z.options.corp),Q=E1(U);if(!Q.testCorpId&&!Q.prodCorpId){c0({unbound:!1,message:`Enterprise '${Q.name}' (${Q.id}) does not have an active test enterprise binding.`});return}let J=Q.testCorpId?Q.id:Q.prodCorpId,I=Q.testCorpId?Q.testCorpId:Q.id;if(!(F0(z.options.confirm)===!0||F0(z.options.yes)===!0))throw D9(`Refusing to unbind production enterprise '${J}' and test enterprise '${I}' without --confirm.`,`seal-use corps unbind-test ${Q.id} --confirm`);x2(J,{testCorpId:void 0});try{x2(I,{prodCorpId:void 0})}catch{}c0({success:!0,unboundProduction:J,unboundTest:I});return}if($==="sync-test"){let U=Y??S(z.options.corp),Q=E1(U);if(!Q.testCorpId)throw d4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. +Run 'seal-use corps bind-test ${Q.id} --confirm' first to establish a verified 1-to-1 association.`);let J=E1(Q.testCorpId);if(J.environment!=="test")throw Error(`Target enterprise '${J.name}' (${J.id}) is marked as '${J.environment}', NOT 'test'. Aborting sync to protect non-test environments.`);let I=await j1(Q),K=await j1(J),[G,W,H,X,Z,q,V,F]=await Promise.all([o1(I,Q.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(K,J.seal.endpoints.approvalStylePreferences).catch(()=>({})),p6(I),p6(K),A$(I).catch(()=>[]),A$(K).catch(()=>[]),_3(I,{limit:100}).catch(()=>({articles:[]})),_3(K,{limit:100}).catch(()=>({articles:[]}))]),M=(V.articles||[]).filter((G0)=>!G0.isDeleted),w=(F.articles||[]).filter((G0)=>!G0.isDeleted),O=new Map(w.map((G0)=>[G0.title.trim(),G0])),N=[],D=[],T=new Set(M.map((G0)=>G0.title.trim()));for(let G0 of M){let T0=G0.title.trim(),b0=O.get(T0);if(!b0)N.push(G0);else{let Y1=b0.content!==G0.content,a=(b0.purpose??"")!==(G0.purpose??""),H0=b0.enabled!==G0.enabled,L0=b0.contentType!==G0.contentType,f0=(b0.status??"")!==(G0.status??""),u0=JSON.stringify([...b0.scenarios??[]].sort())!==JSON.stringify([...G0.scenarios??[]].sort()),i0=JSON.stringify([...b0.tags??[]].sort())!==JSON.stringify([...G0.tags??[]].sort());if(Y1||a||H0||L0||f0||u0||i0)D.push({testId:b0.id,prodDoc:G0,reasons:[...Y1?["content"]:[],...a?["purpose"]:[],...H0?["enabled"]:[],...L0?["contentType"]:[],...f0?["status"]:[],...u0?["scenarios"]:[],...i0?["tags"]:[]]})}}let A=w.filter((G0)=>!T.has(G0.title.trim())),j=[...Z].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0],C=j?.versionNumber,k=([...q].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0]?.versionNumber??0)+1,h=Rv0(Q.name,C,q),c=S(z.options["version-name"])??S(z.options.versionName)??_v0(Q.name,C,h,k),U0={...W,tone:G.tone,language:G.language,detailLevel:G.detailLevel,outputFormat:G.outputFormat,examples:G.examples??[],prohibitedPhrases:G.prohibitedPhrases??[],customInstructions:G.customInstructions,decisionPreferences:G.decisionPreferences,thinkingDepthPreference:G.thinkingDepthPreference};if(F0(z.options["dry-run"])===!0||F0(z.options.dryRun)===!0){c0({dryRun:!0,source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment},versionMappingPlan:{sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestExpectedVersionNumber:k,targetTestPublishVersionName:c,iteration:h},preferencesDiff:{decisionPreferences:{before:W.decisionPreferences,after:G.decisionPreferences},thinkingDepthPreference:{before:W.thinkingDepthPreference,after:G.thinkingDepthPreference}},rulesPlan:{sourceDraftRuleCount:H.rules.length,targetExistingDraftRuleCount:X.rules.length,toDeleteCount:X.rules.length,toCreateCount:H.rules.length,rulesToSync:H.rules.map((G0,T0)=>({index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,expectedTargetCode:`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}))},documentsPlan:{sourceDocumentCount:M.length,targetExistingDocumentCount:w.length,toCreateCount:N.length,toCreate:N.map((G0)=>({title:G0.title,purpose:G0.purpose,contentType:G0.contentType,scenarios:G0.scenarios})),toUpdateCount:D.length,toUpdate:D.map((G0)=>({targetDocumentId:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons})),toDeleteCount:A.length,toDelete:A.map((G0)=>({targetDocumentId:G0.id,title:G0.title}))},publishingPlan:{targetCorpId:J.id,publishVersionName:c,publishTarget:"test"},hosecloudSyncPlan:(()=>{if(Q.source.type!=="hose")return{sourceType:Q.source.type,skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let G0=(G.integrations??[]).filter((Y1)=>Y1.type==="hosecloud"),T0=new Set,b0=G0.filter((Y1)=>{let a=Y1.corporationId??Q.id;if(T0.has(a))return!1;return T0.add(a),!0});return{sourceType:"hose",outboundName:kv0(Q.name),targetMode:"assisted",integrationsCount:b0.length,integrations:b0.map((Y1)=>({corporationId:Y1.corporationId,apiOrigin:Y1.apiOrigin,customApiUrl:Y1.customApiUrl}))}})(),productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if(!(F0(z.options.yes)===!0||F0(z.options.confirm)===!0))throw D9(`Refusing to overwrite test enterprise '${J.name}' (${J.id}) with preferences, ${H.rules.length} draft rules, and ${M.length} knowledge documents from production enterprise '${Q.name}' (${Q.id}) without --yes. This will replace test draft rules, synchronize knowledge documents, and publish a new version on the test enterprise.`,`seal-use corps sync-test ${Q.id} --yes`);await m5(K,U0,J.seal.endpoints.approvalStylePreferences);let t=[];for(let G0 of A)await GM(K,G0.id),t.push({id:G0.id,title:G0.title});let $0=[];for(let G0 of D)await KM(K,G0.testId,{title:G0.prodDoc.title,purpose:G0.prodDoc.purpose,content:G0.prodDoc.content,contentType:G0.prodDoc.contentType,status:G0.prodDoc.status,enabled:G0.prodDoc.enabled,scenarios:G0.prodDoc.scenarios&&G0.prodDoc.scenarios.length>0?G0.prodDoc.scenarios:["audit"],tags:G0.prodDoc.tags}),$0.push({id:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons});let g=[];for(let G0 of N){let T0=await IM(K,{title:G0.title,purpose:G0.purpose,content:G0.content,contentType:G0.contentType,status:G0.status,enabled:G0.enabled,scenarios:G0.scenarios&&G0.scenarios.length>0?G0.scenarios:["audit"],tags:G0.tags});g.push({id:T0.id,title:T0.title})}for(let G0 of X.rules)await mQ(K,G0.id);let p=[];for(let G0 of H.rules){let T0=await CW(K,{description:G0.description,scope:G0.scope,strictness:G0.strictness});p.push(T0)}await JM(K).catch(()=>{return});let e=await _W(K,c),y=e.version.rules??[],s=H.rules.map((G0,T0)=>{let b0=p[T0],Y1=y[T0];return{index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,targetRuleId:b0?.id??"",targetRuleCode:Y1?.code??`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}}),Y0={sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestVersionNumber:e.version.versionNumber,targetTestVersionName:e.version.versionName??null},M0;try{M0=jv0({syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,latestPublishedVersionNumber:C??null,latestPublishedVersionName:j?.versionName??null},target:{id:J.id,name:J.name,publishedVersionNumber:e.version.versionNumber,publishedVersionName:e.version.versionName,rulesCount:e.rulesCount},versionMapping:Y0,ruleMapping:s})}catch{}let E0=await US1(Q,J,I,K).catch((G0)=>({skipped:!0,reason:`error: ${G0?.message??String(G0)}`}));c0({success:!0,syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,draftRulesCount:H.rules.length,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment,deletedDraftRulesCount:X.rules.length,createdDraftRulesCount:p.length,publishedVersion:{id:e.version.id,versionNumber:e.version.versionNumber,versionName:e.version.versionName,rulesCount:e.rulesCount}},documents:{sourceCount:M.length,targetExistingCount:w.length,createdCount:g.length,created:g,updatedCount:$0.length,updated:$0,deletedCount:t.length,deleted:t},versionMapping:Y0,ruleMapping:s,...M0?{mappingSavedTo:M0}:{},hosecloudSync:E0,productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if($==="replay-test"){let U=Y??S(z.options.corp)??S(z.options.prodCorp)??S(z.options["prod-corp"]),Q=E1(U),J=F0(z.options.force)===!0,I;if(!Q.testCorpId){if(!J)throw d4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. Run 'seal-use corps bind-test ${Q.id} --confirm' first to establish a verified 1-to-1 association, -or add '--force' (or use 'seal-use webhook replay --force') if you explicitly intend to replay directly within production.`);I=Q}else if(I=E1(Q.testCorpId),I.environment!=="test"&&!J)throw Error(`Target enterprise '${I.name}' (${I.id}) is marked as '${I.environment}', NOT 'test'. Aborting replay to protect non-test environments (use --force to override).`);let K=S(z.options.recordId)??S(z.options["record-id"])??S(z.options.id),G=S(z.options.recordIds)??S(z.options["record-ids"]),W=G?G.split(",").map((k)=>k.trim()).filter(Boolean):void 0,H=S(z.options.sn)??S(z.options.documentSn)??S(z.options["document-sn"]),X=S(z.options.sns)??S(z.options["document-sns"]),Z=X?X.split(",").map((k)=>k.trim()).filter(Boolean):void 0,q=s0(z.options.limit)??(!K&&!W&&!H&&!Z?1:void 0),V=S(z.options.status),F=S(z.options.startDate)??S(z.options["start-date"]),M=S(z.options.endDate)??S(z.options["end-date"]),w=await j1(Q),O=Q.id===I.id?w:await j1(I),D=S(z.options.webhook)??S(z.options.selector),N=S(z.options.snSuffix)??S(z.options["sn-suffix"]),A=S(z.options.snPrefix)??S(z.options["sn-prefix"]),T=S(z.options.docIdSuffix)??S(z.options["doc-id-suffix"]),B=S(z.options.docIdPrefix)??S(z.options["doc-id-prefix"]),j=F0(z.options.dryRun)??F0(z.options["dry-run"]),C={recordId:K,recordIds:W,sn:H,sns:Z,limit:q,status:V,startDate:F,endDate:M};console.error(`[corps-replay-test] 正式企业「${Q.name}」(${Q.id}) -> 测试企业「${I.name}」(${I.id})`);let b=await sI({query:C,sourceClient:w,targetClient:O,sourceCorp:Q,targetCorp:I,webhookSelector:D,snPrefix:A,snSuffix:N,docIdPrefix:B,docIdSuffix:T,dryRun:j});if(j){console.error(`[corps-replay-test] 预览模式:已成功从 ${Q.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(b,null,2));return}if(b.success)if(b.totalCount===1&&b.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${b.replayedDocument.documentSN}」至 ${I.name} (${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${b.successCount} 条单据(来自「${Q.name}」)至「${I.name}」(${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${b.successCount} 条,失败 ${b.failureCount} 条)至「${I.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${I.id} --limit ${b.totalCount}`),console.log(JSON.stringify(b,null,2)),!b.success)process.exitCode=1;return}if($==="switch"){let U=Y;if(!U)throw Error("Usage: seal-use corps switch ");let Q=_4();if(!Q.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let J=E1(U);IU({...Q,stateful:!0,defaultCorpId:J.id}),c0({current:!0,id:J.id,name:J.name});return}if($==="probe-hose"){await zS1(y8(z.json));return}if($==="hose-staffs"){await US1(y8(z.json));return}if($==="add-hose"){await kl(y8(z.json));return}if($==="add-seal"){await QS1(y8(z.json));return}if($==="add-link"){let U=Y??S(z.options.link)??S(z.options.url);if(!U)throw Error("Usage: seal-use corps add-link [--name ] [--as-hose] [--overwrite]");if(F0(z.options["as-hose"])===!0||F0(z.options.hose)===!0){await IS1(U,S(z.options.name),F0(z.options.overwrite)===!0,F0(z.options.force)===!0,{appKey:S(z.options["app-key"])??S(z.options.appKey),keyId:S(z.options["key-id"])??S(z.options.keyId)});return}await JS1(U,S(z.options.name),F0(z.options.overwrite)===!0);return}if($==="extract-keys"||$==="extract-key"){let U=Y??S(z.options.link)??S(z.options.url);if(!U)throw Error("Usage: seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]");let Q=F0(z.options.reveal)===!0||F0(z.options.r)===!0||F0(z.options.plain)===!0,J=F0(z.options.save)===!0||F0(z.options.add)===!0;await NT(U,{reveal:Q,save:J,name:S(z.options.name),overwrite:F0(z.options.overwrite)===!0,force:F0(z.options.force)===!0,appKey:S(z.options["app-key"])??S(z.options.appKey),keyId:S(z.options["key-id"])??S(z.options.keyId)});return}if($==="keys"){let U=Y??S(z.options.link)??S(z.options.url)??S(z.options.corp),Q=F0(z.options.reveal)===!0||F0(z.options.r)===!0||F0(z.options.plain)===!0;if(U&&(U.startsWith("http://")||U.startsWith("https://"))){let J=F0(z.options.save)===!0||F0(z.options.add)===!0;await NT(U,{reveal:Q,save:J,name:S(z.options.name),overwrite:F0(z.options.overwrite)===!0,force:F0(z.options.force)===!0,appKey:S(z.options["app-key"])??S(z.options.appKey),keyId:S(z.options["key-id"])??S(z.options.keyId)});return}await xl(U,{reveal:Q});return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}function kv0($){return[...$].slice(0,6).join("")+"(Seal测)"}async function YS1($,Y,z,U){if($.source.type!=="hose")return{skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let Q=($.source.appKey??$.source.key)?.trim(),J=($.source.appSecurity??$.source.password)?.trim();if(!Q||!J)return{skipped:!0,reason:"prod hose source missing appKey/appSecurity (or key/password)"};let[I,K]=await Promise.all([o1(z,$.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(U,Y.seal.endpoints.approvalStylePreferences).catch(()=>({}))]),G=(I.integrations??[]).filter((O)=>O.type==="hosecloud");if(G.length===0)return{skipped:!0,reason:"prod Seal enterprise has no hosecloud integrations configured"};let W=new Set,H=[];for(let O of G){let D=O.corporationId??$.id;if(!W.has(D))W.add(D),H.push(O)}let X=K.integrations??[],Z=new Map(X.filter((O)=>O.type==="hosecloud").map((O)=>[O.corporationId,O])),q=kv0($.name),V=[],F=H.map((O)=>{let D=Z.get(O.corporationId),N=D?.signKey??th1(6).toString("hex");return V.push({signKey:N,outboundName:q,corporationId:O.corporationId,action:D?"updated":"created"}),{type:"hosecloud",signKey:N,outboundName:q,mode:"assisted",apiKey:Q,apiSecret:J,apiOrigin:O.apiOrigin,...O.customApiUrl?{customApiUrl:O.customApiUrl}:{},corporationId:O.corporationId}}),M=X.filter((O)=>O.type!=="hosecloud"),w={...K,integrations:[...M,...F]};return await d5(U,w,Y.seal.endpoints.approvalStylePreferences),{skipped:!1,synced:V}}async function zS1($){let Y=n7($,"appKey"),z=n7($,"appSecurity"),U=H4($,"domain"),Q=await cQ(Y,z,U),J=await ow(Q.domain,Q.openapiToken).catch(()=>[]),I=J.reduce((K,G)=>K+G.roleDefs.length,0);c0({domain:Q.domain,corpId:Q.corpId,name:Q.corpName??Q.corpId,roleCount:I,roleGroups:J.map((K)=>({id:K.id,name:K.name,roleDefs:K.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function US1($){let Y=n7($,"appKey"),z=n7($,"appSecurity"),U=H4($,"domain"),Q=H4($,"role")??H4($,"roleDefId")??"admin",J=await cQ(Y,z,U),I=await ow(J.domain,J.openapiToken),K,G;for(let X of I){for(let Z of X.roleDefs)if(Z.id===Q||Z.id===`${J.corpId}:${Q}`){K=Z.id,G=Z.name;break}if(K)break}if(!K&&(Q==="admin"||Q==="主管理员"))for(let X of I){for(let Z of X.roleDefs)if(Z.id.endsWith(":admin")||Z.name==="主管理员"){K=Z.id,G=Z.name;break}if(K)break}if(!K)for(let X of I){for(let Z of X.roleDefs)if(Z.name.toLowerCase().includes(Q.toLowerCase())){K=Z.id,G=Z.name;break}if(K)break}if(!K)throw Error(`Role not found matching query: '${Q}'. Run 'seal-use corps probe-hose' to view all available roles.`);let W=await AS(J.domain,J.openapiToken,K),H=await TS(J.domain,J.openapiToken,W.staffs);c0({domain:J.domain,corpId:J.corpId,corpName:J.corpName??J.corpId,roleId:K,roleName:G,count:H.length,staffs:H.map((X)=>({id:X.id,name:X.name,cellphone:X.cellphone,active:X.active,authState:X.authState,userId:X.userId,email:X.email}))})}async function kl($){let Y=H4($,"name"),z=n7($,"appKey"),U=n7($,"appSecurity"),Q=H4($,"domain"),J=H4($,"staffId")??H4($,"proxyStaffBizId"),I=H4($,"staffName"),K=H4($,"staffPhone"),G=H4($,"role")??"admin",W=$.force===!0,H=W||$.verify===!1?!1:!0,X=Q,Z=H4($,"corpId")??H4($,"corporationId"),q=Y,V;if(!X||!Z||!J){let T=await cQ(z,U,Q);X=T.domain,Z=Z??T.corpId,q=q??T.corpName,V=T.openapiToken}let F=J;if(!F&&V&&X){let T=await ow(X,V).catch(()=>[]),B;for(let j of T){for(let C of j.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){B=C.id;break}if(B)break}if(!B)B=T.find((j)=>j.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((j)=>j.id.endsWith(":admin"))?.id;if(B){let j=await AS(X,V,B).catch(()=>({staffs:[]})),C=await TS(X,V,j.staffs).catch(()=>[]);if(I||K){let b=C.filter((k)=>{if(I&&k.name!==I&&!k.name.includes(I))return!1;if(K&&(!k.cellphone||!k.cellphone.includes(K)))return!1;return!0});if(b.length===1&&b[0])F=b[0].id;else if(b.length>1)throw Error(`Multiple staff members matched '${I??K}': ${b.map((k)=>`${k.name}(${k.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${I??K}' under role ${B}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!W){let b=C.map((k)=>`${k.name} (${k.cellphone||"no-phone"}, id: ${k.id}, active: ${k.active})`).join(` +or add '--force' (or use 'seal-use webhook replay --force') if you explicitly intend to replay directly within production.`);I=Q}else if(I=E1(Q.testCorpId),I.environment!=="test"&&!J)throw Error(`Target enterprise '${I.name}' (${I.id}) is marked as '${I.environment}', NOT 'test'. Aborting replay to protect non-test environments (use --force to override).`);let K=S(z.options.recordId)??S(z.options["record-id"])??S(z.options.id),G=S(z.options.recordIds)??S(z.options["record-ids"]),W=G?G.split(",").map((k)=>k.trim()).filter(Boolean):void 0,H=S(z.options.sn)??S(z.options.documentSn)??S(z.options["document-sn"]),X=S(z.options.sns)??S(z.options["document-sns"]),Z=X?X.split(",").map((k)=>k.trim()).filter(Boolean):void 0,q=s0(z.options.limit)??(!K&&!W&&!H&&!Z?1:void 0),V=S(z.options.status),F=S(z.options.startDate)??S(z.options["start-date"]),M=S(z.options.endDate)??S(z.options["end-date"]),w=await j1(Q),O=Q.id===I.id?w:await j1(I),N=S(z.options.webhook)??S(z.options.selector),D=S(z.options.snSuffix)??S(z.options["sn-suffix"]),T=S(z.options.snPrefix)??S(z.options["sn-prefix"]),A=S(z.options.docIdSuffix)??S(z.options["doc-id-suffix"]),B=S(z.options.docIdPrefix)??S(z.options["doc-id-prefix"]),j=F0(z.options.dryRun)??F0(z.options["dry-run"]),C={recordId:K,recordIds:W,sn:H,sns:Z,limit:q,status:V,startDate:F,endDate:M};console.error(`[corps-replay-test] 正式企业「${Q.name}」(${Q.id}) -> 测试企业「${I.name}」(${I.id})`);let b=await sI({query:C,sourceClient:w,targetClient:O,sourceCorp:Q,targetCorp:I,webhookSelector:N,snPrefix:T,snSuffix:D,docIdPrefix:B,docIdSuffix:A,dryRun:j});if(j){console.error(`[corps-replay-test] 预览模式:已成功从 ${Q.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(b,null,2));return}if(b.success)if(b.totalCount===1&&b.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${b.replayedDocument.documentSN}」至 ${I.name} (${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${b.successCount} 条单据(来自「${Q.name}」)至「${I.name}」(${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${b.successCount} 条,失败 ${b.failureCount} 条)至「${I.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${I.id} --limit ${b.totalCount}`),console.log(JSON.stringify(b,null,2)),!b.success)process.exitCode=1;return}if($==="switch"){let U=Y;if(!U)throw Error("Usage: seal-use corps switch ");let Q=_4();if(!Q.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let J=E1(U);IU({...Q,stateful:!0,defaultCorpId:J.id}),c0({current:!0,id:J.id,name:J.name});return}if($==="probe-hose"){await QS1(y8(z.json));return}if($==="hose-staffs"){await JS1(y8(z.json));return}if($==="add-hose"){await kl(y8(z.json));return}if($==="add-seal"){await IS1(y8(z.json));return}if($==="add-link"){let U=Y??S(z.options.link)??S(z.options.url);if(!U)throw Error("Usage: seal-use corps add-link [--name ] [--as-hose] [--overwrite]");if(F0(z.options["as-hose"])===!0||F0(z.options.hose)===!0){await GS1(U,S(z.options.name),F0(z.options.overwrite)===!0,F0(z.options.force)===!0,{appKey:S(z.options["app-key"])??S(z.options.appKey),keyId:S(z.options["key-id"])??S(z.options.keyId)});return}await KS1(U,S(z.options.name),F0(z.options.overwrite)===!0);return}if($==="extract-keys"||$==="extract-key"){let U=Y??S(z.options.link)??S(z.options.url);if(!U)throw Error("Usage: seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]");let Q=F0(z.options.reveal)===!0||F0(z.options.r)===!0||F0(z.options.plain)===!0,J=F0(z.options.save)===!0||F0(z.options.add)===!0;await BT(U,{reveal:Q,save:J,name:S(z.options.name),overwrite:F0(z.options.overwrite)===!0,force:F0(z.options.force)===!0,appKey:S(z.options["app-key"])??S(z.options.appKey),keyId:S(z.options["key-id"])??S(z.options.keyId)});return}if($==="keys"){let U=Y??S(z.options.link)??S(z.options.url)??S(z.options.corp),Q=F0(z.options.reveal)===!0||F0(z.options.r)===!0||F0(z.options.plain)===!0;if(U&&(U.startsWith("http://")||U.startsWith("https://"))){let J=F0(z.options.save)===!0||F0(z.options.add)===!0;await BT(U,{reveal:Q,save:J,name:S(z.options.name),overwrite:F0(z.options.overwrite)===!0,force:F0(z.options.force)===!0,appKey:S(z.options["app-key"])??S(z.options.appKey),keyId:S(z.options["key-id"])??S(z.options.keyId)});return}await xl(U,{reveal:Q});return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}function kv0($){return[...$].slice(0,6).join("")+"(Seal测)"}async function US1($,Y,z,U){if($.source.type!=="hose")return{skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let Q=($.source.appKey??$.source.key)?.trim(),J=($.source.appSecurity??$.source.password)?.trim();if(!Q||!J)return{skipped:!0,reason:"prod hose source missing appKey/appSecurity (or key/password)"};let[I,K]=await Promise.all([o1(z,$.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(U,Y.seal.endpoints.approvalStylePreferences).catch(()=>({}))]),G=(I.integrations??[]).filter((O)=>O.type==="hosecloud");if(G.length===0)return{skipped:!0,reason:"prod Seal enterprise has no hosecloud integrations configured"};let W=new Set,H=[];for(let O of G){let N=O.corporationId??$.id;if(!W.has(N))W.add(N),H.push(O)}let X=K.integrations??[],Z=new Map(X.filter((O)=>O.type==="hosecloud").map((O)=>[O.corporationId,O])),q=kv0($.name),V=[],F=H.map((O)=>{let N=Z.get(O.corporationId),D=N?.signKey??$S1(6).toString("hex");return V.push({signKey:D,outboundName:q,corporationId:O.corporationId,action:N?"updated":"created"}),{type:"hosecloud",signKey:D,outboundName:q,mode:"assisted",apiKey:Q,apiSecret:J,apiOrigin:O.apiOrigin,...O.customApiUrl?{customApiUrl:O.customApiUrl}:{},corporationId:O.corporationId}}),M=X.filter((O)=>O.type!=="hosecloud"),w={...K,integrations:[...M,...F]};return await m5(U,w,Y.seal.endpoints.approvalStylePreferences),{skipped:!1,synced:V}}async function QS1($){let Y=p7($,"appKey"),z=p7($,"appSecurity"),U=H4($,"domain"),Q=await cQ(Y,z,U),J=await rw(Q.domain,Q.openapiToken).catch(()=>[]),I=J.reduce((K,G)=>K+G.roleDefs.length,0);c0({domain:Q.domain,corpId:Q.corpId,name:Q.corpName??Q.corpId,roleCount:I,roleGroups:J.map((K)=>({id:K.id,name:K.name,roleDefs:K.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function JS1($){let Y=p7($,"appKey"),z=p7($,"appSecurity"),U=H4($,"domain"),Q=H4($,"role")??H4($,"roleDefId")??"admin",J=await cQ(Y,z,U),I=await rw(J.domain,J.openapiToken),K,G;for(let X of I){for(let Z of X.roleDefs)if(Z.id===Q||Z.id===`${J.corpId}:${Q}`){K=Z.id,G=Z.name;break}if(K)break}if(!K&&(Q==="admin"||Q==="主管理员"))for(let X of I){for(let Z of X.roleDefs)if(Z.id.endsWith(":admin")||Z.name==="主管理员"){K=Z.id,G=Z.name;break}if(K)break}if(!K)for(let X of I){for(let Z of X.roleDefs)if(Z.name.toLowerCase().includes(Q.toLowerCase())){K=Z.id,G=Z.name;break}if(K)break}if(!K)throw Error(`Role not found matching query: '${Q}'. Run 'seal-use corps probe-hose' to view all available roles.`);let W=await jS(J.domain,J.openapiToken,K),H=await ES(J.domain,J.openapiToken,W.staffs);c0({domain:J.domain,corpId:J.corpId,corpName:J.corpName??J.corpId,roleId:K,roleName:G,count:H.length,staffs:H.map((X)=>({id:X.id,name:X.name,cellphone:X.cellphone,active:X.active,authState:X.authState,userId:X.userId,email:X.email}))})}async function kl($){let Y=H4($,"name"),z=p7($,"appKey"),U=p7($,"appSecurity"),Q=H4($,"domain"),J=H4($,"staffId")??H4($,"proxyStaffBizId"),I=H4($,"staffName"),K=H4($,"staffPhone"),G=H4($,"role")??"admin",W=$.force===!0,H=W||$.verify===!1?!1:!0,X=Q,Z=H4($,"corpId")??H4($,"corporationId"),q=Y,V;if(!X||!Z||!J){let A=await cQ(z,U,Q);X=A.domain,Z=Z??A.corpId,q=q??A.corpName,V=A.openapiToken}let F=J;if(!F&&V&&X){let A=await rw(X,V).catch(()=>[]),B;for(let j of A){for(let C of j.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){B=C.id;break}if(B)break}if(!B)B=A.find((j)=>j.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((j)=>j.id.endsWith(":admin"))?.id;if(B){let j=await jS(X,V,B).catch(()=>({staffs:[]})),C=await ES(X,V,j.staffs).catch(()=>[]);if(I||K){let b=C.filter((k)=>{if(I&&k.name!==I&&!k.name.includes(I))return!1;if(K&&(!k.cellphone||!k.cellphone.includes(K)))return!1;return!0});if(b.length===1&&b[0])F=b[0].id;else if(b.length>1)throw Error(`Multiple staff members matched '${I??K}': ${b.map((k)=>`${k.name}(${k.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${I??K}' under role ${B}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!W){let b=C.map((k)=>`${k.name} (${k.cellphone||"no-phone"}, id: ${k.id}, active: ${k.active})`).join(` - `);throw Error(`Missing required parameter: staffId. Found ${C.length} candidate administrators: - ${b} -Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an account (or pass force:true to bypass).`)}}}if(!F)if(!H&&J)F=J;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let M=H4($,"id")??Z,w=q??Z,O=H4($,"sealUrl")??`https://${Z.toLowerCase()}.sealai.cc`,D={id:M,name:w,environment:"production",seal:{url:O,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:X,appKey:z,appSecurity:U,corpId:Z,staffId:F},auth:{refreshTtl:300}};if(H)nw(M),await yK(D);let N=ln();hv0(N,{recursive:!0,mode:448});let A=gv0(N,`${IT(M)}.json`);if(vv0(A)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${A}. Pass "overwrite": true to replace it.`);Sv0(A,`${JSON.stringify(D,null,2)} -`,{mode:384}),c0({id:M,name:w,corpId:Z,domain:X,staffId:F,verified:H,path:A})}async function QS1($){let Y=n7($,"token"),z=(H4($,"sealUrl")??H4($,"url")??"").replace(/\/+$/,"");if(!z)throw Error("Missing required JSON field: sealUrl");let U=Ll($,"expiresIn")??2592000,Q=$.force===!0||$.verify===!1?!1:!0,J=xv0($),I=Q?await KS1(z,Y,B6(J)):void 0;uv0($,{token:Y,sealUrl:z,expiresIn:U,verify:Q,remote:I,custom:J})}function xv0($){return{headers:cn.parse($.headers),cookies:nn.parse($.cookies)}}async function JS1($,Y,z){let U=await pw($),Q=T8(U.sealUrl,U.token),J=await W8(Q),I={user:J.user,tenant:J.tenant};dw(U.corpId,I.tenant),uv0({id:U.corpId,corpId:U.corpId,name:Y,provider:"hosecloud",overwrite:z},{token:U.token,sealUrl:U.sealUrl,expiresIn:U.expiresIn,verify:!0,remote:I})}function fv0($,Y,z,U){if($.length===0)throw Error(`[合思子域提权] 未能从协助链接中提取到合思企业 [${Y}] 的 OpenAPI 密钥凭据。 +Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an account (or pass force:true to bypass).`)}}}if(!F)if(!H&&J)F=J;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let M=H4($,"id")??Z,w=q??Z,O=H4($,"sealUrl")??`https://${Z.toLowerCase()}.sealai.cc`,N={id:M,name:w,environment:"production",seal:{url:O,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:X,appKey:z,appSecurity:U,corpId:Z,staffId:F},auth:{refreshTtl:300}};if(H)pw(M),await yK(N);let D=rn();hv0(D,{recursive:!0,mode:448});let T=gv0(D,`${GT(M)}.json`);if(vv0(T)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${T}. Pass "overwrite": true to replace it.`);Sv0(T,`${JSON.stringify(N,null,2)} +`,{mode:384}),c0({id:M,name:w,corpId:Z,domain:X,staffId:F,verified:H,path:T})}async function IS1($){let Y=p7($,"token"),z=(H4($,"sealUrl")??H4($,"url")??"").replace(/\/+$/,"");if(!z)throw Error("Missing required JSON field: sealUrl");let U=Ll($,"expiresIn")??2592000,Q=$.force===!0||$.verify===!1?!1:!0,J=xv0($),I=Q?await WS1(z,Y,B6(J)):void 0;uv0($,{token:Y,sealUrl:z,expiresIn:U,verify:Q,remote:I,custom:J})}function xv0($){return{headers:pn.parse($.headers),cookies:dn.parse($.cookies)}}async function KS1($,Y,z){let U=await dw($),Q=T8(U.sealUrl,U.token),J=await H8(Q),I={user:J.user,tenant:J.tenant};mw(U.corpId,I.tenant),uv0({id:U.corpId,corpId:U.corpId,name:Y,provider:"hosecloud",overwrite:z},{token:U.token,sealUrl:U.sealUrl,expiresIn:U.expiresIn,verify:!0,remote:I})}function fv0($,Y,z,U){if($.length===0)throw Error(`[合思子域提权] 未能从协助链接中提取到合思企业 [${Y}] 的 OpenAPI 密钥凭据。 `+"\uD83D\uDCA1 说明:此能力专属于合思 (Hose) 子域,用于将临时会话提权为标准 OpenAPI 开发者接入。需要企业管理员已在合思开放平台创建应用并生成 appKey/appSecurity。");if(z.keyId||z.appKey){let Q=$.find((J)=>z.keyId&&J.id===z.keyId||z.appKey&&J.appKey===z.appKey);if(!Q){console.error(` ❌ 未找到指定的合思 OpenAPI 密钥 (${z.appKey??z.keyId})。`),console.error(`ℹ️ 该合思企业当前存在以下 ${$.length} 套候选密钥:`);for(let J of $){let I=J.active?"\uD83D\uDFE2 启用":"⚪ 停用";console.error(` • "${J.name||"未命名应用"}" (appKey: ${J.appKey}, keyId: ${J.id}, 状态: ${I})`)}throw new w4("指定的合思密钥不存在,请从上述候选列表中选择正确的 appKey 或 keyId。",2,`${U} --app-key ${$[0].appKey}`)}return Q}if($.length===1)return $[0];console.error(` ℹ️ [合思子域提权] 合思企业 [${Y}] 存在多套 (${$.length} 套) OpenAPI 应用密钥凭据:`);for(let Q=0;Q<$.length;Q++){let J=$[Q],I=J.active?"\uD83D\uDFE2 启用":"⚪ 停用",K=J.name||"未命名应用";console.error(` [${Q+1}] "${K}" (appKey: ${J.appKey}, keyId: ${J.id}, 状态: ${I})`)}throw console.error(` \uD83D\uDC49 为确保权限提权绑定正确的业务应用,请显式指定要使用的密钥套件:`),console.error(` 在命令后追加 --app-key 或 --key-id 参数。 -`),new w4(`合思企业 [${Y}] 存在多套 OpenAPI 密钥,必须指定 --app-key 或 --key-id 明确选择要绑定的密钥。`,2,`${U} --app-key ${$[0].appKey}`)}async function IS1($,Y,z,U=!1,Q){console.error("ℹ️ [合思子域提权] 正在通过合思协助链接提取 OpenAPI 开发者密钥并提升企业权限等级...");let J=await ES($),I=fv0(J.keys,J.corpId,Q??{},'seal-use corps add-link "" --as-hose');console.error(`ℹ️ [合思子域提权] 已选定合思 OpenAPI 凭据 (appKey: ${I.appKey}, 应用: "${I.name||"未命名应用"}"),正在初始化为长期合思标准配置...`),await kl({domain:J.baseUrl,appKey:I.appKey,appSecurity:I.appSecurity,corpId:J.corpId,name:Y??J.corpName??J.corpId,staffId:J.staffId,overwrite:z,force:U})}async function NT($,Y){let z=await ES($),U=Y.reveal===!0;if(Y.save){let Q=fv0(z.keys,z.corpId,{appKey:Y.appKey,keyId:Y.keyId},'seal-use corps extract-keys "" --save');console.error(`ℹ️ [合思子域提权] 正在将选定的合思 OpenAPI 密钥 (appKey: ${Q.appKey}, 应用: "${Q.name||"未命名应用"}") 保存为标准合思企业配置...`),await kl({domain:z.baseUrl,appKey:Q.appKey,appSecurity:Q.appSecurity,corpId:z.corpId,name:Y.name??z.corpName??z.corpId,staffId:z.staffId,overwrite:Y.overwrite,force:Y.force});return}if(!U)console.error(`ℹ️ [合思子域提权] 成功提取合思 (Hose) OpenAPI 密钥。接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文;附加 --save 可将临时会话提权并持久化为标准合思企业。 +`),new w4(`合思企业 [${Y}] 存在多套 OpenAPI 密钥,必须指定 --app-key 或 --key-id 明确选择要绑定的密钥。`,2,`${U} --app-key ${$[0].appKey}`)}async function GS1($,Y,z,U=!1,Q){console.error("ℹ️ [合思子域提权] 正在通过合思协助链接提取 OpenAPI 开发者密钥并提升企业权限等级...");let J=await RS($),I=fv0(J.keys,J.corpId,Q??{},'seal-use corps add-link "" --as-hose');console.error(`ℹ️ [合思子域提权] 已选定合思 OpenAPI 凭据 (appKey: ${I.appKey}, 应用: "${I.name||"未命名应用"}"),正在初始化为长期合思标准配置...`),await kl({domain:J.baseUrl,appKey:I.appKey,appSecurity:I.appSecurity,corpId:J.corpId,name:Y??J.corpName??J.corpId,staffId:J.staffId,overwrite:z,force:U})}async function BT($,Y){let z=await RS($),U=Y.reveal===!0;if(Y.save){let Q=fv0(z.keys,z.corpId,{appKey:Y.appKey,keyId:Y.keyId},'seal-use corps extract-keys "" --save');console.error(`ℹ️ [合思子域提权] 正在将选定的合思 OpenAPI 密钥 (appKey: ${Q.appKey}, 应用: "${Q.name||"未命名应用"}") 保存为标准合思企业配置...`),await kl({domain:z.baseUrl,appKey:Q.appKey,appSecurity:Q.appSecurity,corpId:z.corpId,name:Y.name??z.corpName??z.corpId,staffId:z.staffId,overwrite:Y.overwrite,force:Y.force});return}if(!U)console.error(`ℹ️ [合思子域提权] 成功提取合思 (Hose) OpenAPI 密钥。接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文;附加 --save 可将临时会话提权并持久化为标准合思企业。 `);else console.error(`⚠️ [合思子域提权] 正在以明文展示合思 (Hose) appSecurity 接入密码,请妥善保管敏感凭据。 -`);c0({provider:"hose",capability:"privilege-elevation",corpId:z.corpId,corpName:z.corpName??z.corpId,baseUrl:z.baseUrl,staffId:z.staffId,keyCount:z.keys.length,keys:z.keys.map((Q)=>({id:Q.id,name:Q.name||"-",appKey:Q.appKey,appSecurity:U?Q.appSecurity:jS(Q.appSecurity),active:Q.active,createTime:Q.createTime,updateTime:Q.updateTime}))})}async function xl($,Y){let z=E1($),U=Y.reveal===!0;if(z.source.type!=="hose")throw new w4(`【合思子域专享能力】当前企业「${z.name}」(id: ${z.id}) 为原生 Seal (${z.source.type}) 租户,非合思 (Hose/合思云/易快报) 渠道企业。 +`);c0({provider:"hose",capability:"privilege-elevation",corpId:z.corpId,corpName:z.corpName??z.corpId,baseUrl:z.baseUrl,staffId:z.staffId,keyCount:z.keys.length,keys:z.keys.map((Q)=>({id:Q.id,name:Q.name||"-",appKey:Q.appKey,appSecurity:U?Q.appSecurity:CS(Q.appSecurity),active:Q.active,createTime:Q.createTime,updateTime:Q.updateTime}))})}async function xl($,Y){let z=E1($),U=Y.reveal===!0;if(z.source.type!=="hose")throw new w4(`【合思子域专享能力】当前企业「${z.name}」(id: ${z.id}) 为原生 Seal (${z.source.type}) 租户,非合思 (Hose/合思云/易快报) 渠道企业。 `+"OpenAPI 密钥查询与提权能力专属于合思生态租户(用于从合思协助链接或合思凭据中提取开发者密钥提升权限等级),非合思渠道企业不支持此能力。",2);let Q=z.source.appKey??z.source.key,J=z.source.appSecurity??z.source.password;if(!U)console.error(`\uD83D\uDCA1 [合思子域] 接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文。 `);else console.error(`⚠️ [合思子域] 正在以明文展示合思 appSecurity 接入密码,请妥善保管敏感凭据。 -`);c0({provider:"hose",capability:"privilege-elevation",corpId:z.id,corpName:z.name,domain:z.source.domain,staffId:z.source.staffId,appKey:Q??"-",appSecurity:J?U?J:jS(J):"-",active:!0})}function uv0($,Y){let{token:z,sealUrl:U,expiresIn:Q,verify:J,remote:I}=Y,K=Y.custom??xv0($),G=I?.user,W=I?.tenant,H=H4($,"tenantSlug")??s2(W?.tenantSlug),X=H4($,"tenantId")??s2(W?.id),Z=H4($,"tenantName")??s2(W?.name),q=H4($,"id")??H??X;if(!q)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let V=H4($,"staffId")??s2(G?.providerUserId)??s2(G?.id)??"seal",F=H4($,"provider")??s2(G?.provider)??s2(W?.providerConfig?.provider),M=H4($,"corpId")??H??X??q,w={id:q,name:H4($,"name")??Z??q,environment:"production",seal:{url:U,tenantSlug:H,headers:K.headers,cookies:K.cookies,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:z,sealUrl:U,expiresIn:Q,staffId:V,corpId:M,tenantId:X,tenantSlug:H,tenantName:Z,providerUserId:s2(G?.providerUserId),provider:F},auth:{refreshTtl:300}},O=ln();hv0(O,{recursive:!0,mode:448});let D=gv0(O,`${IT(q)}.json`);if(vv0(D)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${D}. Pass "overwrite": true to replace it.`);Sv0(D,`${JSON.stringify(w,null,2)} -`,{mode:384}),c0({id:q,name:w.name,tenantId:X,tenantSlug:H,verified:J,path:D})}async function KS1($,Y,z={}){let U=T8($,Y,z),Q=await W8(U);return{user:Q.user??{},tenant:Q.tenant??{}}}function s2($){return typeof $==="string"&&$?$:void 0}var fl=o(()=>{s9();DW();i8();h7();Pv0();tn();dn();X6();X6();gl();CZ();OT();o4();L$();D4();J4()});async function iv0($,Y){let z=$??S(Y.options.link)??S(Y.options.url);if(!z)throw Error("Usage: seal-use auth extract-keys [--reveal] [--save] [--name ] [--overwrite]");let U=F0(Y.options.reveal)===!0||F0(Y.options.r)===!0||F0(Y.options.plain)===!0,Q=F0(Y.options.save)===!0||F0(Y.options.add)===!0;await NT(z,{reveal:U,save:Q,name:S(Y.options.name),overwrite:F0(Y.options.overwrite)===!0,force:F0(Y.options.force)===!0,appKey:S(Y.options["app-key"])??S(Y.options.appKey),keyId:S(Y.options["key-id"])??S(Y.options.keyId)})}async function cv0($,Y,z){if($==="diagnose"){c0(await GS1(Y));return}if($==="hose-link"){let U=s0(z.options.expire)??7200;c0(await lw(Y,U));return}if($==="keys"){let U=F0(z.options.reveal)===!0||F0(z.options.r)===!0||F0(z.options.plain)===!0;await xl(Y.id,{reveal:U});return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function GS1($){if($.source.type!=="hose"){let F=await j1($),M=await W8(F);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:M.user,tenant:M.tenant}]}}nw($.id);let Y=$.source,z=Y.appKey??Y.key,U=Y.appSecurity??Y.password,Q=($.seal.url??Y.sealUrl??`https://${Y.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),J=Y.staffId.includes(":")?Y.staffId:`${Y.corpId}:${Y.staffId}`,I=[];if(!z||!U)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let K=await DT("hose.openapi",async()=>{let F=await bv0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:z,appSecurity:U}),M=p7(F.value),w=b6(M.accessToken)??b6(F.accessToken)??b6(F.token);if(!w)throw Error("Hose login did not return an access token");return{token:w,public:{corporationId:b6(M.corporationId)??b6(p7(M.corporation).id),expireTime:Oq(M.expireTime)}}});I.push(K.public);let G=K.private?.token,W=G?await DT("hose.provisional",async()=>{let F=await bv0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:J,pageType:"home",expireDate:7200}),M=b6(p7(F.value).message);if(!M)throw Error("Hose CloseAPI did not return a provisional auth URL");let w=new URL(M).searchParams.get("accessToken");if(!w)throw Error("Hose provisional auth URL did not include accessToken");return{token:w,public:{uid:J,enterpriseUrl:Vq(M)}}}):ul("hose.provisional");I.push(W.public);let H=B6($.seal),X=W.private?.token,Z=X?await DT("seal.sso",async()=>{let M=await T8(Q,void 0,H).get(`api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(X)}&returnToken=1`).json(),w=p7(M.data),O=b6(M.token)??b6(M.accessToken)??b6(w.token)??b6(w.accessToken);if(!O)throw Error("Seal SSO did not return a bearer token");return{token:O,public:{sealUrl:Q,expiresIn:Oq(M.expiresIn)??Oq(M.expires_in)??Oq(w.expiresIn)??Oq(w.expires_in)}}}):ul("seal.sso");I.push(Z.public);let q=Z.private?.token,V=q?await DT("seal.whoami",async()=>{let M=await T8(Q,q,H).get("api/v1/auth/me").json(),w=p7(M.data),O=p7(w.user??M.user),D=p7(w.tenant??M.tenant);return{public:{user:{id:b6(O.id),name:b6(O.name),isAdmin:HS1(O.isAdmin),providerUserId:b6(O.providerUserId)},tenant:{id:b6(D.id),name:b6(D.name),tenantSlug:b6(D.tenantSlug),hoseCorpConfig:XS1(D.hoseCorpConfig)}}}}):ul("seal.whoami");return I.push(V.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:I.every((F)=>F.ok===!0),stages:I}}async function DT($,Y){try{let z=await Y();return{public:{name:$,ok:!0,...nv0(z.public)},private:z.token?{token:z.token}:void 0}}catch(z){return{public:{name:$,ok:!1,error:Vq(z instanceof Error?z.message:String(z))}}}}function ul($){return{public:{name:$,ok:!1,skipped:!0}}}async function bv0($,Y){let z=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Y)});return WS1(z)}async function WS1($){let Y=await $.text();if(!$.ok)throw Error(`${$.status} ${Y}`);let z=JSON.parse(Y);return p7(z)}function p7($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function b6($){return typeof $==="string"&&$?$:void 0}function Oq($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function HS1($){return typeof $==="boolean"?$:void 0}function XS1($){let Y=p7($);return nv0({corporationId:b6(Y.corporationId),corporationName:b6(Y.corporationName)})}function nv0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}var pv0=o(()=>{s9();DW();i8();X6();D4();J4();fl()});async function dv0($,Y,z,U){if($==="status"||$==="get"){await k0("seal_billing_status_get",Y,z,{},C0(U.options));return}if($==="plans"){await k0("seal_billing_plans_list",Y,z,{},C0(U.options));return}if($==="features"){await k0("seal_billing_features_list",Y,z,{},C0(U.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}var mv0=o(()=>{o4();J4()});function lv0($,Y,z){if($==="paths"){c0({candidates:v7(),globalConfigFile:JU()});return}if($==="get"||$==="status"){c0(l2());return}if($==="mode"){let U=Y??S(z.options.mode);if(!U){c0(l2());return}let Q=Fl(U),J=S(z.options.corp),I=_4(),K=Q?J?f2(s8(),{stateful:!0,corpId:J},v7()).id:I.defaultCorpId:void 0,G=IU({...I,stateful:Q,...K?{defaultCorpId:K}:{}});c0(l2(G));return}if($==="lint"){let U=Y??S(z.options.state)??S(z.options.enable),Q=_4(),J=Q.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!U||U==="status"||U==="get"){c0({lint:J,configFile:JU()});return}let I=J.enabled;if(U==="enable"||U==="on"||U==="true")I=!0;else if(U==="disable"||U==="off"||U==="false")I=!1;let K=S(z.options.linter)??J.activeLinter,G=z.options.minScore!==void 0||z.options["min-score"]!==void 0?Number(z.options.minScore??z.options["min-score"]):J.minScore,W={enabled:I,activeLinter:K,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},H=IU({...Q,lint:W});c0(l2(H));return}if($==="test-dir"||$==="test-enterprises-dir"){let U=z.options.clear===!0||Y==="--clear"||Y==="clear",Q=_4();if(U){let K=IU({...Q,testEnterprisesDir:void 0});c0(l2(K));return}let J=Y&&!Y.startsWith("-")?Y:S(z.options.path)??S(z.options.dir);if(!J){c0({testEnterprisesDir:Q.testEnterprisesDir??null,configFile:JU()});return}let I=IU({...Q,testEnterprisesDir:J});c0(l2(I));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}var ov0=o(()=>{h7();o4();D4();J4()});async function rv0($,Y,z,U,Q){if($==="sync-time"||$==="last-sync-time"){await k0("seal_contacts_last_sync_time_get",z,U,{},C0(Q.options));return}if($==="departments"||$==="department"){if(!Y){await k0("seal_contacts_departments_root_list",z,U,{},C0(Q.options));return}await k0("seal_contacts_department_get",z,U,{departmentId:Y},C0(Q.options));return}if($==="children"||$==="department-children"){if(!Y)throw Error("Usage: seal-use contacts children ");await k0("seal_contacts_department_children_list",z,U,{departmentId:Y},C0(Q.options));return}if($==="users"||$==="department-users"){if(!Y)throw Error("Usage: seal-use contacts users ");await k0("seal_contacts_department_users_list",z,U,{departmentId:Y},C0(Q.options));return}throw Error(`Unknown contacts command: ${$??""}. Run 'seal-use help' for available commands.`)}var sv0=o(()=>{o4();J4()});async function av0($,Y,z,U){let Q={offset:s0(U.options.offset),limit:s0(U.options.limit),startDate:S(U.options.startDate)??S(U.options["start-date"]),endDate:S(U.options.endDate)??S(U.options["end-date"]),search:S(U.options.search)??S(U.options.query)};if($==="expenses"||$==="expense"){await k0("seal_expenses_list",Y,z,Q,C0(U.options));return}if($==="invoices"||$==="invoice"){await k0("seal_invoices_list",Y,z,Q,C0(U.options));return}throw Error(`Unknown data command: ${$??""}. Run 'seal-use help' for available commands.`)}var tv0=o(()=>{o4();D4();J4()});async function ev0($,Y,z){await k0("seal_approval_context_get",$,Y,{documentLimit:s0(z.options.documentLimit),...Ml(S(z.options.ruleVersion))},C0(z.options))}var $h0=o(()=>{o4();D4();J4()});async function Yh0($,Y){let z=await pw($),U=T8(z.sealUrl,z.token),Q=await W8(U);dw(z.corpId,Q.tenant);let J=await dQ(U,{note:Y});c0({tenant:{id:Q.tenant.id,name:Q.tenant.name,tenantSlug:Q.tenant.tenantSlug,corpId:z.corpId},user:{id:Q.user.id,name:Q.user.name,providerUserId:Q.user.providerUserId,isAdmin:Q.user.isAdmin},delegation:J,expiresIn:z.expiresIn})}async function zh0($,Y,z,U,Q){if($==="list"){await k0("seal_delegation_list",z,U,{},C0(Q.options));return}if($==="create"){let J=S(Q.options.note)??(Y?[Y,...Q.command.slice(2)].join(" "):void 0);await k0("seal_delegation_create",z,U,{note:J},C0(Q.options));return}if($==="revoke"){let J=Y??S(Q.options.tokenId);if(!J)throw Error("Usage: seal-use delegation revoke ");await k0("seal_delegation_revoke",z,U,{tokenId:J},C0(Q.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}var Uh0=o(()=>{s9();i8();X6();o4();D4();J4()});import{readFileSync as ZS1}from"node:fs";async function Qh0($,Y,z,U,Q,J){if(!$||$==="help")throw Error(`Usage: seal-use deploy [options] +`);c0({provider:"hose",capability:"privilege-elevation",corpId:z.id,corpName:z.name,domain:z.source.domain,staffId:z.source.staffId,appKey:Q??"-",appSecurity:J?U?J:CS(J):"-",active:!0})}function uv0($,Y){let{token:z,sealUrl:U,expiresIn:Q,verify:J,remote:I}=Y,K=Y.custom??xv0($),G=I?.user,W=I?.tenant,H=H4($,"tenantSlug")??s2(W?.tenantSlug),X=H4($,"tenantId")??s2(W?.id),Z=H4($,"tenantName")??s2(W?.name),q=H4($,"id")??H??X;if(!q)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let V=H4($,"staffId")??s2(G?.providerUserId)??s2(G?.id)??"seal",F=H4($,"provider")??s2(G?.provider)??s2(W?.providerConfig?.provider),M=H4($,"corpId")??H??X??q,w={id:q,name:H4($,"name")??Z??q,environment:"production",seal:{url:U,tenantSlug:H,headers:K.headers,cookies:K.cookies,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:z,sealUrl:U,expiresIn:Q,staffId:V,corpId:M,tenantId:X,tenantSlug:H,tenantName:Z,providerUserId:s2(G?.providerUserId),provider:F},auth:{refreshTtl:300}},O=rn();hv0(O,{recursive:!0,mode:448});let N=gv0(O,`${GT(q)}.json`);if(vv0(N)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${N}. Pass "overwrite": true to replace it.`);Sv0(N,`${JSON.stringify(w,null,2)} +`,{mode:384}),c0({id:q,name:w.name,tenantId:X,tenantSlug:H,verified:J,path:N})}async function WS1($,Y,z={}){let U=T8($,Y,z),Q=await H8(U);return{user:Q.user??{},tenant:Q.tenant??{}}}function s2($){return typeof $==="string"&&$?$:void 0}var fl=o(()=>{a9();DW();i8();S7();Pv0();gP();ln();X6();X6();gl();RZ();DT();o4();L$();D4();J4()});async function iv0($,Y){let z=$??S(Y.options.link)??S(Y.options.url);if(!z)throw Error("Usage: seal-use auth extract-keys [--reveal] [--save] [--name ] [--overwrite]");let U=F0(Y.options.reveal)===!0||F0(Y.options.r)===!0||F0(Y.options.plain)===!0,Q=F0(Y.options.save)===!0||F0(Y.options.add)===!0;await BT(z,{reveal:U,save:Q,name:S(Y.options.name),overwrite:F0(Y.options.overwrite)===!0,force:F0(Y.options.force)===!0,appKey:S(Y.options["app-key"])??S(Y.options.appKey),keyId:S(Y.options["key-id"])??S(Y.options.keyId)})}async function cv0($,Y,z){if($==="diagnose"){c0(await HS1(Y));return}if($==="hose-link"){let U=s0(z.options.expire)??7200;c0(await ow(Y,U));return}if($==="keys"){let U=F0(z.options.reveal)===!0||F0(z.options.r)===!0||F0(z.options.plain)===!0;await xl(Y.id,{reveal:U});return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function HS1($){if($.source.type!=="hose"){let F=await j1($),M=await H8(F);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:M.user,tenant:M.tenant}]}}pw($.id);let Y=$.source,z=Y.appKey??Y.key,U=Y.appSecurity??Y.password,Q=($.seal.url??Y.sealUrl??`https://${Y.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),J=Y.staffId.includes(":")?Y.staffId:`${Y.corpId}:${Y.staffId}`,I=[];if(!z||!U)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let K=await PT("hose.openapi",async()=>{let F=await bv0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:z,appSecurity:U}),M=d7(F.value),w=b6(M.accessToken)??b6(F.accessToken)??b6(F.token);if(!w)throw Error("Hose login did not return an access token");return{token:w,public:{corporationId:b6(M.corporationId)??b6(d7(M.corporation).id),expireTime:Nq(M.expireTime)}}});I.push(K.public);let G=K.private?.token,W=G?await PT("hose.provisional",async()=>{let F=await bv0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:J,pageType:"home",expireDate:7200}),M=b6(d7(F.value).message);if(!M)throw Error("Hose CloseAPI did not return a provisional auth URL");let w=new URL(M).searchParams.get("accessToken");if(!w)throw Error("Hose provisional auth URL did not include accessToken");return{token:w,public:{uid:J,enterpriseUrl:Lq(M)}}}):ul("hose.provisional");I.push(W.public);let H=B6($.seal),X=W.private?.token,Z=X?await PT("seal.sso",async()=>{let M=await T8(Q,void 0,H).get(`api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(X)}&returnToken=1`).json(),w=d7(M.data),O=b6(M.token)??b6(M.accessToken)??b6(w.token)??b6(w.accessToken);if(!O)throw Error("Seal SSO did not return a bearer token");return{token:O,public:{sealUrl:Q,expiresIn:Nq(M.expiresIn)??Nq(M.expires_in)??Nq(w.expiresIn)??Nq(w.expires_in)}}}):ul("seal.sso");I.push(Z.public);let q=Z.private?.token,V=q?await PT("seal.whoami",async()=>{let M=await T8(Q,q,H).get("api/v1/auth/me").json(),w=d7(M.data),O=d7(w.user??M.user),N=d7(w.tenant??M.tenant);return{public:{user:{id:b6(O.id),name:b6(O.name),isAdmin:ZS1(O.isAdmin),providerUserId:b6(O.providerUserId)},tenant:{id:b6(N.id),name:b6(N.name),tenantSlug:b6(N.tenantSlug),hoseCorpConfig:qS1(N.hoseCorpConfig)}}}}):ul("seal.whoami");return I.push(V.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:I.every((F)=>F.ok===!0),stages:I}}async function PT($,Y){try{let z=await Y();return{public:{name:$,ok:!0,...nv0(z.public)},private:z.token?{token:z.token}:void 0}}catch(z){return{public:{name:$,ok:!1,error:Lq(z instanceof Error?z.message:String(z))}}}}function ul($){return{public:{name:$,ok:!1,skipped:!0}}}async function bv0($,Y){let z=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Y)});return XS1(z)}async function XS1($){let Y=await $.text();if(!$.ok)throw Error(`${$.status} ${Y}`);let z=JSON.parse(Y);return d7(z)}function d7($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function b6($){return typeof $==="string"&&$?$:void 0}function Nq($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function ZS1($){return typeof $==="boolean"?$:void 0}function qS1($){let Y=d7($);return nv0({corporationId:b6(Y.corporationId),corporationName:b6(Y.corporationName)})}function nv0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}var pv0=o(()=>{a9();DW();i8();X6();D4();J4();fl()});async function dv0($,Y,z,U){if($==="status"||$==="get"){await k0("seal_billing_status_get",Y,z,{},C0(U.options));return}if($==="plans"){await k0("seal_billing_plans_list",Y,z,{},C0(U.options));return}if($==="features"){await k0("seal_billing_features_list",Y,z,{},C0(U.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}var mv0=o(()=>{o4();J4()});function lv0($,Y,z){if($==="paths"){c0({candidates:h7(),globalConfigFile:JU()});return}if($==="get"||$==="status"){c0(l2());return}if($==="mode"){let U=Y??S(z.options.mode);if(!U){c0(l2());return}let Q=Fl(U),J=S(z.options.corp),I=_4(),K=Q?J?f2(s8(),{stateful:!0,corpId:J},h7()).id:I.defaultCorpId:void 0,G=IU({...I,stateful:Q,...K?{defaultCorpId:K}:{}});c0(l2(G));return}if($==="lint"){let U=Y??S(z.options.state)??S(z.options.enable),Q=_4(),J=Q.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!U||U==="status"||U==="get"){c0({lint:J,configFile:JU()});return}let I=J.enabled;if(U==="enable"||U==="on"||U==="true")I=!0;else if(U==="disable"||U==="off"||U==="false")I=!1;let K=S(z.options.linter)??J.activeLinter,G=z.options.minScore!==void 0||z.options["min-score"]!==void 0?Number(z.options.minScore??z.options["min-score"]):J.minScore,W={enabled:I,activeLinter:K,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},H=IU({...Q,lint:W});c0(l2(H));return}if($==="test-dir"||$==="test-enterprises-dir"){let U=z.options.clear===!0||Y==="--clear"||Y==="clear",Q=_4();if(U){let K=IU({...Q,testEnterprisesDir:void 0});c0(l2(K));return}let J=Y&&!Y.startsWith("-")?Y:S(z.options.path)??S(z.options.dir);if(!J){c0({testEnterprisesDir:Q.testEnterprisesDir??null,configFile:JU()});return}let I=IU({...Q,testEnterprisesDir:J});c0(l2(I));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}var ov0=o(()=>{S7();o4();D4();J4()});async function rv0($,Y,z,U,Q){if($==="sync-time"||$==="last-sync-time"){await k0("seal_contacts_last_sync_time_get",z,U,{},C0(Q.options));return}if($==="departments"||$==="department"){if(!Y){await k0("seal_contacts_departments_root_list",z,U,{},C0(Q.options));return}await k0("seal_contacts_department_get",z,U,{departmentId:Y},C0(Q.options));return}if($==="children"||$==="department-children"){if(!Y)throw Error("Usage: seal-use contacts children ");await k0("seal_contacts_department_children_list",z,U,{departmentId:Y},C0(Q.options));return}if($==="users"||$==="department-users"){if(!Y)throw Error("Usage: seal-use contacts users ");await k0("seal_contacts_department_users_list",z,U,{departmentId:Y},C0(Q.options));return}throw Error(`Unknown contacts command: ${$??""}. Run 'seal-use help' for available commands.`)}var sv0=o(()=>{o4();J4()});async function av0($,Y,z,U){let Q={offset:s0(U.options.offset),limit:s0(U.options.limit),startDate:S(U.options.startDate)??S(U.options["start-date"]),endDate:S(U.options.endDate)??S(U.options["end-date"]),search:S(U.options.search)??S(U.options.query)};if($==="expenses"||$==="expense"){await k0("seal_expenses_list",Y,z,Q,C0(U.options));return}if($==="invoices"||$==="invoice"){await k0("seal_invoices_list",Y,z,Q,C0(U.options));return}throw Error(`Unknown data command: ${$??""}. Run 'seal-use help' for available commands.`)}var tv0=o(()=>{o4();D4();J4()});async function ev0($,Y,z){await k0("seal_approval_context_get",$,Y,{documentLimit:s0(z.options.documentLimit),...Ml(S(z.options.ruleVersion))},C0(z.options))}var $h0=o(()=>{o4();D4();J4()});async function Yh0($,Y){let z=await dw($),U=T8(z.sealUrl,z.token),Q=await H8(U);mw(z.corpId,Q.tenant);let J=await dQ(U,{note:Y});c0({tenant:{id:Q.tenant.id,name:Q.tenant.name,tenantSlug:Q.tenant.tenantSlug,corpId:z.corpId},user:{id:Q.user.id,name:Q.user.name,providerUserId:Q.user.providerUserId,isAdmin:Q.user.isAdmin},delegation:J,expiresIn:z.expiresIn})}async function zh0($,Y,z,U,Q){if($==="list"){await k0("seal_delegation_list",z,U,{},C0(Q.options));return}if($==="create"){let J=S(Q.options.note)??(Y?[Y,...Q.command.slice(2)].join(" "):void 0);await k0("seal_delegation_create",z,U,{note:J},C0(Q.options));return}if($==="revoke"){let J=Y??S(Q.options.tokenId);if(!J)throw Error("Usage: seal-use delegation revoke ");await k0("seal_delegation_revoke",z,U,{tokenId:J},C0(Q.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}var Uh0=o(()=>{a9();i8();X6();o4();D4();J4()});import{readFileSync as VS1}from"node:fs";async function Qh0($,Y,z,U,Q,J){if(!$||$==="help")throw Error(`Usage: seal-use deploy [options] `+`支持的审批系统与发布目标: `+` • hosecloud (合思费控): seal-use deploy hosecloud --corp @@ -942,7 +942,7 @@ Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an a `+" • maycur (每刻报销): 建议使用 Webhook 模式对接");if($==="webhook"||$==="webhooks")throw Error("Webhook 审批流发布请直接使用专有命令:seal-use webhook --corp ");if($==="feishu"||$==="lark")throw Error("飞书审批发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '飞书审批' --result-url --corp ");if($==="weaver")throw Error("泛微 OA 发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '泛微OA' --result-url --corp ");if($==="maycur"||$==="helios"){let W=$==="maycur"?"每刻报销":"汇联易";throw Error(`${W}发布:目前可通过 Webhook 模式接入。命令:seal-use webhook add --name '${W}' --result-url --corp `)}let I=$==="hosecloud",K=$==="hosecloud"?Y:$,G=$==="hosecloud"?z:Y;if(!I)throw Error(`未知的发布目标系统: ${$}。当前支持: hosecloud (合思费控) 与 webhook (通用回调)。`);if(K==="requirements"){await k0("seal_deploy_hosecloud_requirements",U,Q,{},C0(J.options));return}if(K==="list"){await k0("seal_deploy_hosecloud_list",U,Q,{},C0(J.options));return}if(K==="get"){let W=G??S(J.options.signKey)??S(J.options["sign-key"]);if(!W){let X=((await o1(U)).integrations??[]).filter((Z)=>Z.type==="hosecloud");if(X.length===0)throw Error(`当前企业 (${Q.name}) 尚未添加合思发布配置。 `+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${Q.id}`);console.error(`Usage: seal-use deploy hosecloud get [--corp ${Q.id}] `),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let Z of X){let q=Z.outboundName??"SealAI 审批",V=Z.signKey,F=Z.apiOrigin??"production";console.error(` • "${q}" (signKey: ${V}, 环境: ${F})`),console.error(` \uD83D\uDC49 查看命令: seal-use deploy hosecloud get ${V} --corp ${Q.id} -`)}throw new w4("缺少必需参数 。请从上述候选列表中选择并指定 signKey。",2,X.length===1?`seal-use deploy hosecloud get ${X[0].signKey} --corp ${Q.id}`:void 0)}await k0("seal_deploy_hosecloud_get",U,Q,{signKey:W},C0(J.options));return}if(K==="status"){await k0("seal_deploy_hosecloud_status",U,Q,{},C0(J.options));return}if(K==="configure"){let W=S(J.options.input),H=W?JSON.parse(ZS1(W,"utf8")):y8(J.json);if(!H||Object.keys(H).length===0)throw Error("Usage: seal-use deploy hosecloud configure --json '{...}' or --input ");await k0("seal_deploy_hosecloud_configure",U,Q,{...H,dryRun:F0(J.options.dryRun)??F0(J.options["dry-run"])},C0(J.options));return}if(K==="sync"){let W=G??S(J.options.signKey)??S(J.options["sign-key"]),H=F0(J.options.auto)??F0(J.options.yes);if(!W){let Z=((await o1(U)).integrations??[]).filter((V)=>V.type==="hosecloud");if(Z.length===0)throw Error(`当前企业 (${Q.name}) 尚未添加合思发布配置。 +`)}throw new w4("缺少必需参数 。请从上述候选列表中选择并指定 signKey。",2,X.length===1?`seal-use deploy hosecloud get ${X[0].signKey} --corp ${Q.id}`:void 0)}await k0("seal_deploy_hosecloud_get",U,Q,{signKey:W},C0(J.options));return}if(K==="status"){await k0("seal_deploy_hosecloud_status",U,Q,{},C0(J.options));return}if(K==="configure"){let W=S(J.options.input),H=W?JSON.parse(VS1(W,"utf8")):y8(J.json);if(!H||Object.keys(H).length===0)throw Error("Usage: seal-use deploy hosecloud configure --json '{...}' or --input ");await k0("seal_deploy_hosecloud_configure",U,Q,{...H,dryRun:F0(J.options.dryRun)??F0(J.options["dry-run"])},C0(J.options));return}if(K==="sync"){let W=G??S(J.options.signKey)??S(J.options["sign-key"]),H=F0(J.options.auto)??F0(J.options.yes);if(!W){let Z=((await o1(U)).integrations??[]).filter((V)=>V.type==="hosecloud");if(Z.length===0)throw Error(`当前企业 (${Q.name}) 尚未添加合思发布配置。 `+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${Q.id}`);let q=Z[0];if(q&&Z.length===1&&H){let V=q.signKey;console.error(`ℹ️ [auto] 检测到企业仅有 1 个合思配置,已自动选择 (signKey: ${V})`),await k0("seal_deploy_hosecloud_sync",U,Q,{signKey:V},C0(J.options));return}console.error(`Usage: seal-use deploy hosecloud sync [--corp ${Q.id}] `),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let V of Z){let F=V.outboundName??"SealAI 审批",M=V.signKey,w=V.apiOrigin??"production";console.error(` • "${F}" (signKey: ${M}, 环境: ${w})`),console.error(` \uD83D\uDC49 同步命令: seal-use deploy hosecloud sync ${M} --corp ${Q.id} `)}if(Z.length===1)console.error(`\uD83D\uDCA1 提示:若希望单配置自动同步,可附加 --auto 参数:seal-use deploy hosecloud sync --auto --corp ${Q.id} @@ -2071,7 +2071,7 @@ seal-use corps hose-staffs --json '{ }' \`\`\` * 直接使用指定 ID 完成接入并进行连通性验证。 -`;var jh0=()=>{};import{existsSync as bl,mkdirSync as Ch0,rmSync as AS1,writeFileSync as TS1}from"node:fs";import{homedir as Rh0}from"node:os";import{dirname as jS1,join as il}from"node:path";function vh0(){return _h0["SKILL.md"]||""}function hU(){return il(Rh0(),".agents","skills","seal-use")}function hh0(){return il(Rh0(),".agents","skills","seal-home")}function Sh0(){let $=hh0();if(bl($))try{return AS1($,{recursive:!0,force:!0}),!0}catch{return!1}return!1}function cl($=hU()){Sh0(),Ch0($,{recursive:!0});let Y=[];for(let[z,U]of Object.entries(_h0)){let Q=il($,z);Ch0(jS1(Q),{recursive:!0}),TS1(Q,U,"utf8"),Y.push(z)}return{targetDir:$,files:Y}}function nl(){let $=hh0(),Y=hU(),z=bl($),U=bl(Y);if(z||U)return Sh0(),cl(Y),{synced:!0,targetDir:Y};return{synced:!1}}var _h0;var Nq=o(()=>{Ih0();Gh0();Hh0();Zh0();Vh0();Fh0();Mh0();Nh0();Bh0();Ah0();jh0();_h0={"SKILL.md":Kh0,"agents/openai.yaml":Wh0,"references/rule-lightweight.md":Xh0,"references/approval-bad-cases.md":qh0,"references/cli.md":Lh0,"references/approval-run-lightweight.md":wh0,"references/approval-attachment-trace.md":Oh0,"references/customer-feedback-rule-remediation.md":Dh0,"references/enterprise-onboarding.md":Ph0,"references/hose-enterprise-auth.md":Th0,"references/hose-enterprise-init.md":Eh0}});function gh0(){return`# Seal Use 系统架构与运行规范白皮书 +`;var jh0=()=>{};import{existsSync as bl,mkdirSync as Ch0,rmSync as jS1,writeFileSync as ES1}from"node:fs";import{homedir as Rh0}from"node:os";import{dirname as CS1,join as il}from"node:path";function vh0(){return _h0["SKILL.md"]||""}function hU(){return il(Rh0(),".agents","skills","seal-use")}function hh0(){return il(Rh0(),".agents","skills","seal-home")}function Sh0(){let $=hh0();if(bl($))try{return jS1($,{recursive:!0,force:!0}),!0}catch{return!1}return!1}function cl($=hU()){Sh0(),Ch0($,{recursive:!0});let Y=[];for(let[z,U]of Object.entries(_h0)){let Q=il($,z);Ch0(CS1(Q),{recursive:!0}),ES1(Q,U,"utf8"),Y.push(z)}return{targetDir:$,files:Y}}function nl(){let $=hh0(),Y=hU(),z=bl($),U=bl(Y);if(z||U)return Sh0(),cl(Y),{synced:!0,targetDir:Y};return{synced:!1}}var _h0;var Dq=o(()=>{Ih0();Gh0();Hh0();Zh0();Vh0();Fh0();Mh0();Nh0();Bh0();Ah0();jh0();_h0={"SKILL.md":Kh0,"agents/openai.yaml":Wh0,"references/rule-lightweight.md":Xh0,"references/approval-bad-cases.md":qh0,"references/cli.md":Lh0,"references/approval-run-lightweight.md":wh0,"references/approval-attachment-trace.md":Oh0,"references/customer-feedback-rule-remediation.md":Dh0,"references/enterprise-onboarding.md":Ph0,"references/hose-enterprise-auth.md":Th0,"references/hose-enterprise-init.md":Eh0}});function gh0(){return`# Seal Use 系统架构与运行规范白皮书 > 本文档由 \`seal-use\` 单文件二进制程序内嵌提供,纯内存只读,未向用户电脑写入任何临时文件。 @@ -2124,16 +2124,14 @@ ${ml.map(($)=>`### \`seal-use ${$.domain}\` - **环境自检**:运行 \`seal-use doctor\`,一键检查当前运行时版本、本地目录健康度、企业资产接入数量以及守护服务状态。 - **查看企业配置源文件**:运行 \`seal-use corps get \`,可直接查看指定企业的本地 JSON 存储绝对路径。 - **查阅完整操作手册**:运行 \`seal-use doctor guide\` 随时在离线状态下查看本文档。 -`}var pl,dl,ml;var ll=o(()=>{pl=[{name:"配置与状态根目录",category:"config",standardPath:"~/.config/seal-use",purpose:"用户本地持久化配置根目录,存放企业连接元数据、会话缓存与全局状态。",accessMode:"read-write",retention:"persistent"},{name:"企业配置文件目录",category:"config",standardPath:"~/.config/seal-use/enterprises",purpose:"存放各已添加企业的配置 JSON 文件(如 xiezihao.json),存储企业域名、脱敏 Token、员工绑定关系等。",accessMode:"read-write",retention:"persistent"},{name:"全局配置文件",category:"config",standardPath:"~/.config/seal-use/config.json",purpose:"维护全局工作模式(stateful/stateless)、默认激活企业 defaultCorpId 以及 Lint 偏好。",accessMode:"read-write",retention:"persistent"},{name:"会话凭据安全缓存",category:"config",standardPath:"~/.config/seal-use/seal_tokens.json",purpose:"缓存已认证租户的 Bearer Token 与过期时间戳,避免高频调用上游 OAuth 换票接口。",accessMode:"read-write",retention:"cache"},{name:"规则版本映射快照",category:"config",standardPath:"~/.config/seal-use/mappings",purpose:"存储 corps sync-test 生成的生产与测试规则版本/编号对照映射快照,供 rules map 离线毫秒级速查。",accessMode:"read-write",retention:"persistent"},{name:"后台守护服务日志",category:"config",standardPath:"~/.config/seal-use/service.log",purpose:"常驻后台 HTTP 服务守护进程运行输出日志。",accessMode:"read-write",retention:"persistent"},{name:"全局命令行程序",category:"binary",standardPath:"/opt/homebrew/bin/seal-use",purpose:"macOS / Linux 全局独立单文件二进制程序;附带软链接 seal-home -> seal-use 兼容旧指令。",accessMode:"executable",retention:"persistent"},{name:"AI Agent 技能主目录",category:"skill",standardPath:"~/.agents/skills/seal-use",purpose:"面向 Antigravity、Codex 等 AI 智能体的标准技能目录,包含 SKILL.md、参考文档与操作规程。",accessMode:"read-write",retention:"persistent"},{name:"报表默认导出目录",category:"export",standardPath:"~/Downloads",purpose:"执行 approval-runs export 等大盘报表命令且未指定 --out 时,默认写入的 Excel 文件路径。",accessMode:"read-write",retention:"persistent"},{name:"系统隔离临时目录",category:"temp",standardPath:"/tmp 或 /var/folders/.../T",purpose:"自动化测试(bun test)生成的隔离工作副本,执行完毕后通过 afterEach 钩子彻底删除,零残留。",accessMode:"transient",retention:"ephemeral"}],dl=[{topic:"敏感凭据脱敏保护",guarantee:"appSecurity、password 等高危密钥永不回显在 stdout,Session Token 采用掩码处理(如 5oUL...Y%3D)。",enforcement:"CLI 所有展示接口(corps get、corps list、probe 等)均经 formatSafeSourceDetail 脱敏过滤。"},{topic:"正式环境与测试环境严格隔离",guarantee:"正式企业与测试企业必须严格 1 对 1 下挂,禁止多层级级联绑定;环境标记需显式 --confirm 确认。",enforcement:"corps bind-test 与 mark 强制要求 --confirm,缺少时阻断并返回退出码 10(confirmationRequired)。"},{topic:"跨环境规则同步安全基线",guarantee:"corps sync-test 仅将正式企业偏好与规则覆盖同步至测试企业并自动发布,正式企业规则严格维持草稿态永不发布。",enforcement:"规则同步流水线由 sync-test 独占受控,正式环境端仅执行拉取草稿读取操作,零发版变更。"},{topic:"只读诊断无副作用原则",guarantee:"doctor、search、get、list、context、probe 等命令为严格只读操作,不修改用户本地文件系统,零写入污染。",enforcement:"核心领域函数严格分离 Mutation 操作与 Query 操作,Query 路径杜绝写文件与环境篡改。"}],ml=[{domain:"corps (企业管理)",summary:"多租户接入、智能软搜索、富属性查看、环境标记、测试绑定与配置规则同步",primaryCommands:["corps list","corps search ","corps get ","corps mark","corps bind-test","corps sync-test"]},{domain:"approval-runs (审核大盘)",summary:"AI 审核单据检索、统计分析、引证规则查看、附件全链路追踪、Excel 报表导出、免登 SSO 深度链接",primaryCommands:["approval-runs list","approval-runs stats","approval-runs get","approval-runs export","approval-runs url"]},{domain:"rules (规则治理)",summary:"审核规则拉取、本地 Lint 质量检查、增量差量推送、离线版本与编号对照映射速查",primaryCommands:["rules pull","rules lint","rules push","rules map","rules count"]},{domain:"preference (决策偏好)",summary:"AI 审核偏好读取与更新、全局与分品类思考深度策略(medium/high)配置",primaryCommands:["preference get","preference decision update","preference thinking-depth set"]},{domain:"simulation (模拟演练)",summary:"合思单据指定、材料包导入、飞书/泛微三方审批定义演练、批次轮询等待与数据清理",primaryCommands:["simulation create","simulation status","simulation wait","simulation clean"]},{domain:"webhook (通道与重放)",summary:"Webhook 回调通道配置、材料包校验推送、线上单据向 Webhook 通道测试重放",primaryCommands:["webhook list","webhook add","webhook replay","webhook material-pack push"]},{domain:"deploy (费控集成)",summary:"Seal AI 智能审核能力发布到合思费控企业、对接要求检测与配置同步",primaryCommands:["deploy hosecloud requirements","deploy hosecloud status","deploy hosecloud sync"]},{domain:"doctor (系统诊断)",summary:"整机环境健康自检、目录全景体检看板、内置架构与规范白皮书离线查阅",primaryCommands:["doctor","doctor guide","doctor paths"]}]});import{accessSync as ES1,constants as CS1,existsSync as O8,readdirSync as RS1}from"node:fs";import{homedir as _S1}from"node:os";import{join as d7}from"node:path";function yh0($){if(!O8($))return 0;try{return RS1($).filter((Y)=>Y.endsWith(".json")).length}catch{return 0}}function BT($){try{return ES1($,CS1.W_OK),!0}catch{return!1}}function ol(){let $=_S1(),Y=d7($,".config","seal-use"),z=d7(Y,"enterprises"),U=d7(Y,"config.json"),Q=d7(Y,"seal_tokens.json"),J=d7(Y,"mappings"),I=hU(),K=d7($,"Downloads"),W=["/opt/homebrew/bin/seal-use","/usr/local/bin/seal-use",d7($,".local","bin","seal-use"),d7($,"bin","seal-use")].find((N)=>O8(N))??process.execPath,H={configDir:{name:"配置根目录",path:Y,exists:O8(Y),writable:O8(Y)?BT(Y):!1,description:"用户持久化配置与企业状态根目录"},enterprisesDir:{name:"企业配置目录",path:z,exists:O8(z),writable:O8(z)?BT(z):!1,fileCount:yh0(z),description:"企业连接配置(JSON)保存路径"},globalConfigFile:{name:"全局配置文件",path:U,exists:O8(U),description:"全局工作模式与默认企业配置"},tokenStore:{name:"凭据缓存",path:Q,exists:O8(Q),description:"会话凭据与令牌缓存"},mappingsDir:{name:"规则版本映射快照",path:J,exists:O8(J),fileCount:yh0(J),description:"生产与测试规则版本映射对照表"},agentSkillDir:{name:"AI Agent 技能目录",path:I,exists:O8(d7(I,"SKILL.md")),description:"本地 Agent 技能主目录"},exportDefaultDir:{name:"报表默认导出目录",path:K,exists:O8(K),writable:O8(K)?BT(K):!1,description:"审核大盘报表默认写入目录"},lintersDir:{name:"规则校验器目录 (用户自定义)",path:b$,exists:O8(b$),writable:O8(b$)?BT(b$):!1,description:"用户私有规则校验脚本存放目录"},officialLintersDir:{name:"官方内置规则校验器目录",path:i$,exists:O8(i$),description:"官方标准与严格风控校验脚本目录 (系统自动保护与重写)"},globalBinary:{name:"全局命令行二进制",path:W,exists:O8(W),description:"系统全局命令执行入口"}},X=[];try{X=s8()}catch{X=[]}let q=_4().defaultCorpId??X[0]?.id,V=X.find((N)=>N.id===q),F=X.filter((N)=>(N.environment??"production").toLowerCase()==="test").length,M=X.length-F,w=[];if(w.push({id:"executable",title:"命令行二进制",status:"ok",message:`当前执行路径: ${process.execPath}`}),H.configDir?.exists&&H.configDir.writable)w.push({id:"config_dir",title:"配置目录访问",status:"ok",message:`${Y} (正常读写)`});else if(H.configDir?.exists)w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`${Y} (存在但可能不可写)`});else w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`未检测到配置目录 ${Y},首次运行配置命令时将自动创建`});if(X.length>0)w.push({id:"enterprises",title:"企业接入状态",status:"ok",message:`已接入 ${X.length} 家企业 (正式: ${M}, 测试: ${F})`});else w.push({id:"enterprises",title:"企业接入状态",status:"warn",message:"当前未检测到企业配置,请使用 seal-use corps add-hose 或 add-seal 接入企业"});if(H.agentSkillDir?.exists)w.push({id:"agent_skill",title:"AI Agent 技能",status:"ok",message:`已就绪于 ${I}`});else w.push({id:"agent_skill",title:"AI Agent 技能",status:"warn",message:`未在 ${I} 检测到技能,可运行 'seal-use skill sync' 安装`});let O=w.some((N)=>N.status==="warn"||N.status==="error"),D=typeof globalThis.Bun<"u"?`Bun ${globalThis.Bun.version}`:`Node ${process.version}`;return{doctor:O?"warning":"ok",timestamp:new Date().toISOString(),runtime:{version:P1,executablePath:process.execPath,platform:`${process.platform} (${process.arch})`,engine:D},directories:H,enterprises:{total:X.length,productionCount:M,testCount:F,activeCorpId:V?.id,activeCorpName:V?.name},checks:w,knowledge:{summary:"内嵌系统架构与目录规范白皮书(纯内存只读,零写入依赖)",directorySpecsCount:pl.length,securityPoliciesCount:dl.length,domainCapabilitiesCount:ml.length,guideCommand:"seal-use doctor guide"}}}function kh0($){let Y=[],z=$.doctor==="ok"?"✨":"⚠️";Y.push(`\uD83E\uDE7A [Seal Use Doctor] 系统健康诊断看板 ${z}`),Y.push("─────────────────────────────────────────────────────────────"),Y.push("【运行环境】"),Y.push(` 版本号: ${$.runtime.version}`),Y.push(` 程序路径: ${$.runtime.executablePath}`),Y.push(` 操作系统: ${$.runtime.platform}`),Y.push(` 执行引擎: ${$.runtime.engine}`),Y.push(""),Y.push("【核心路径状态】");for(let[,U]of Object.entries($.directories)){let Q=U.exists?"✓":"○",J=U.exists?U.fileCount!==void 0?`(${U.fileCount} 个文件)`:U.writable?"(就绪/可写)":"(存在)":"(未创建)";Y.push(` ${Q} ${U.name.padEnd(16," ")}: ${U.path} ${J}`)}if(Y.push(""),Y.push("【企业资产概览】"),Y.push(` 接入企业总计: ${$.enterprises.total} 家 (生产: ${$.enterprises.productionCount}, 测试: ${$.enterprises.testCount})`),$.enterprises.activeCorpId)Y.push(` 当前激活企业: ${$.enterprises.activeCorpName} (${$.enterprises.activeCorpId})`);else Y.push(" 当前激活企业: 无默认企业 (无状态模式)");Y.push(""),Y.push("【健康自检】");for(let U of $.checks){let Q=U.status==="ok"?"✓":U.status==="warn"?"⚠️":"✗";Y.push(` ${Q} [${U.title}]: ${U.message}`)}return Y.push(""),Y.push("─────────────────────────────────────────────────────────────"),Y.push("\uD83D\uDC49 查阅内嵌白皮书与目录规范: seal-use doctor guide"),Y.push("\uD83D\uDC49 检索企业: seal-use corps search "),Y.join(` -`)}var xh0=o(()=>{Gp();a9();h7();Nq();ll()});var fh0={};x8(fh0,{formatTenantDoctorDashboard:()=>hS1,diagnoseTenantContract:()=>vS1});async function vS1($,Y){let z=[],U=Y.environment==="test"?"test":"production",Q=U==="test"?Y.prodCorpId:Y.testCorpId,J=U==="test"?"prodParent":"testTarget",I=null,K=null;try{let M=await W8($);if(I=M.user,K=M.tenant,Boolean(I?.isAdmin||I?.permissions?.includes("*")))z.push({id:"auth_identity",name:"身份与权限契约",status:"pass",summary:`已认证为管理员「${I.name??"未知"}」(${I.id??""}),具备完整操作权限`,details:{userId:I.id,userName:I.name,isAdmin:!0,tenantSlug:K?.tenantSlug,permissions:I.permissions}});else z.push({id:"auth_identity",name:"身份与权限契约",status:"warn",summary:`已认证为普通用户「${I.name??"未知"}」,非超级管理员,部分配置操作可能受限`,details:{userId:I.id,userName:I.name,isAdmin:!1,permissions:I.permissions},recommendation:"建议使用具有管理权限的企业主账号执行规则修改与集成发布"})}catch(M){z.push({id:"auth_identity",name:"身份与权限契约",status:"fail",summary:`鉴权握手失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)},recommendation:`请执行 seal-use auth login --corp ${Y.id} 重新登录或更新 Token`})}let G={featureCode:"ai-approval",balance:0,deductionAmount:120,estimatedRuns:0,status:"exhausted"},W={used:0,remaining:0};try{let M=await bY($),w=Array.isArray(M.features)?M.features:[],O=w.find((N)=>N?.code==="ai-approval");if(O){let N=typeof O.balance==="number"?O.balance:0,A=typeof O.deductionAmount==="number"&&O.deductionAmount>0?O.deductionAmount:120,T=Math.floor(N/A);if(G.balance=N,G.deductionAmount=A,G.estimatedRuns=T,N<=0)G.status="exhausted",z.push({id:"billing_quota",name:"AI 审批额度余量",status:"fail",summary:"当前额度已耗尽 (余量 0 点),无法执行审批模拟或回归测试",details:{balance:N,deductionAmount:A,estimatedRuns:T},recommendation:"请联系管理员为企业充值 AI 审批额度"});else if(T<10)G.status="low",z.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`额度偏低:剩余 ${N} 点 (单笔扣除 ${A} 点),仅可支持约 ${T} 笔审核`,details:{balance:N,deductionAmount:A,estimatedRuns:T},recommendation:"建议在发起大规模自动化回归前充值补充额度"});else G.status="sufficient",z.push({id:"billing_quota",name:"AI 审批额度余量",status:"pass",summary:`额度充裕:剩余 ${N} 点,预估可支持 ${T} 笔审核单据`,details:{balance:N,deductionAmount:A,estimatedRuns:T}})}else z.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:"未检索到「ai-approval」功能包额度明细,按默认通道运行",details:{features:w.map((N)=>N?.code)}});let D=w.find((N)=>N?.code==="approval-rules");if(D)W.used=typeof D.used==="number"?D.used:0,W.remaining=typeof D.remaining==="number"?D.remaining:0}catch(M){z.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`读取计费状态失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)}})}let H={totalCount:0,activeCount:0,quotaUsed:W.used,quotaRemaining:W.remaining};try{let M=await n6($),w=Array.isArray(M.rules)?M.rules:[];if(H.totalCount=w.length,H.activeCount=w.filter((O)=>O.status==="ACTIVE").length,w.length===0)z.push({id:"rules_status",name:"审核规则状态",status:"warn",summary:"当前租户未配置任何审核规则 (规则数为 0)",details:{totalCount:0,activeCount:0},recommendation:U==="test"&&Q?`可运行 seal-use corps sync-test --corp ${Q} 从生产企业同步规则`:"可运行 seal-use rules add 创建基础规则"});else z.push({id:"rules_status",name:"审核规则状态",status:"pass",summary:`审核规则健康:共 ${H.totalCount} 条规则,其中生效活跃 ${H.activeCount} 条`,details:{totalCount:H.totalCount,activeCount:H.activeCount,quotaUsed:W.used,quotaRemaining:W.remaining}})}catch(M){z.push({id:"rules_status",name:"审核规则状态",status:"fail",summary:`拉取规则列表失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)}})}let X={integrationCount:0,hasReplayChannel:!1,activeWebhookId:void 0};try{let M=await J$($);X.integrationCount=M.length;let w=M.find((O)=>O.name.includes("回放")||O.name.toLowerCase().includes("replay"));if(X.hasReplayChannel=Boolean(w),X.activeWebhookId=w?.id??M[0]?.id,M.length===0)z.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:"未配置任何 Webhook 集成通道,执行重放测试时将自动创建临时回放通道",details:{integrationCount:0},recommendation:"可运行 seal-use webhook add --name (回放通道) 手动注册专属通道"});else z.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"pass",summary:`Webhook 集成通道就绪:共 ${M.length} 个通道${w?` (含专属回放通道「${w.name}」)`:""}`,details:{integrationCount:M.length,hasReplayChannel:X.hasReplayChannel,activeWebhookId:X.activeWebhookId}})}catch(M){z.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:`检测 Webhook 通道失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)}})}if(U==="test")if(Q)z.push({id:"environment_binding",name:"测试环境配对契约",status:"pass",summary:`测试租户已绑定生产母企业「${Q}」,具备样本拉取与配置同步能力`,details:{environment:U,boundCorpId:Q,boundCorpRole:J}});else z.push({id:"environment_binding",name:"测试环境配对契约",status:"warn",summary:"测试租户尚未绑定对应的生产母企业,无法直接拉取生产样本执行自动化回归",details:{environment:U},recommendation:`可运行 seal-use corps bind-test ${Y.id} 建立 1 对 1 绑定`});else if(Q)z.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"pass",summary:`生产企业已绑定沙箱测试靶场「${Q}」,回归测试将严格限制在靶场中运行`,details:{environment:U,boundCorpId:Q,boundCorpRole:J}});else z.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"warn",summary:"生产企业尚未绑定任何测试企业,所有回归测试功能将触发安全拦截",details:{environment:U},recommendation:`可运行 seal-use corps bind-test ${Y.id} 为该生产租户绑定测试靶场`});let Z=z.filter((M)=>M.status==="fail").length,q=z.filter((M)=>M.status==="warn").length,V=z.filter((M)=>M.status==="pass").length,F="HEALTHY";if(Z>0)F="BLOCKED";else if(q>0)F="DEGRADED";return{ok:Z===0,verdict:F,timestamp:new Date().toISOString(),corp:{id:Y.id,name:Y.name,environment:U,sourceType:Y.source?.type??"native",boundCorpId:Q,boundCorpRole:J},summary:{totalChecks:z.length,passedChecks:V,warningChecks:q,failedChecks:Z},checks:z,quota:G,rules:H,webhooks:X}}function hS1($){let{corp:Y,verdict:z,summary:U,checks:Q,quota:J,rules:I,webhooks:K}=$,G=z==="HEALTHY"?"\uD83D\uDFE2 健康良好 (HEALTHY)":z==="DEGRADED"?"\uD83D\uDFE1 亚健康降级 (DEGRADED)":"\uD83D\uDD34 阻断受限 (BLOCKED)",W=["",`\uD83C\uDFE5 [Seal Use Doctor] 租户全链路契约体检: ${Y.name} (${Y.id})`,` 状态: ${G} · 环境: ${Y.environment.toUpperCase()} · 耗时: 实时探针`," "+"─".repeat(60)];if(W.push(` AI 审批余量: ${J.balance} 点 (可审约 ${J.estimatedRuns} 笔) | 规则数: ${I.activeCount}/${I.totalCount} | Webhook 通道: ${K.integrationCount}`),Y.boundCorpId)W.push(` 配对关系: ${Y.environment==="test"?"来源生产母企业":"绑定的测试靶场"} -> 「${Y.boundCorpId}」`);W.push(" "+"─".repeat(60));for(let H of Q){let X=H.status==="pass"?"✓":H.status==="warn"?"!":"✗";if(W.push(` [${X}] ${H.name}: ${H.summary}`),H.recommendation)W.push(` \uD83D\uDC49 建议: ${H.recommendation}`)}return W.push(" "+"─".repeat(60)),W.push(` 检查汇总: 通过 ${U.passedChecks} · 告警 ${U.warningChecks} · 失败 ${U.failedChecks}`),W.push(""),W.join(` -`)}var uh0=o(()=>{X6()});async function bh0($,Y,z){let U=($??Y??"").toLowerCase();if(U==="guide"||U==="doc"||U==="knowledge"||U==="book"){console.error(`\uD83D\uDCD6 [Seal Use Doctor] 正在读取内嵌系统规范白皮书(纯内存只读)... -`),console.log(gh0());return}if(U==="paths"||U==="dirs"||U==="directories"){let I=ol();c0(I.directories);return}if(U==="tenant"||U==="corp"||U==="enterprise"){let{selectCorp:I}=await Promise.resolve().then(() => (o4(),Y_0)),{createSealClient:K}=await Promise.resolve().then(() => (i8(),V00)),{stringOption:G}=await Promise.resolve().then(() => (D4(),lR0)),{diagnoseTenantContract:W,formatTenantDoctorDashboard:H}=await Promise.resolve().then(() => (uh0(),fh0)),X=G(z.options.corp)??(Y&&Y!==U?Y:void 0)??(z.command[2]&&z.command[2]!==U?z.command[2]:void 0),Z=I(X),q=await K(Z),V=await W(q,Z);if(!(F0(z.options.quiet)||F0(z.options.silent)))console.error(H(V));c0(V);return}let Q=ol();if(!(F0(z.options.quiet)||F0(z.options.silent)))console.error(kh0(Q));c0(Q)}var ih0=o(()=>{xh0();ll();D4();J4()});var nh0;var ch0=o(()=>{nh0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.24",description:`Planned HTTP contract for the seal-use wrapped backend API. - -These endpoints describe the intended stable API for frontend developers and agents once -the HTTP adapter is implemented. -They are not the raw downstream Seal endpoints. seal-use is responsible for enterprise -selection, source authentication, response compaction, and diagnostics-friendly fields. -`},servers:[{url:"http://localhost:8787",description:"Reserved for a future local HTTP adapter; the current service uses MCP stdio."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalDocument",summary:"Delete approval knowledge document",responses:{"200":{description:"Deleted document confirmation."}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl",summary:"Get enterprise assist URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Enterprise and document URLs.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:"Optional local service session header for future HTTP deployments."}},parameters:{CorpId:{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},Offset:{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},Limit:{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},RuleId:{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."},VersionId:{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."},DocumentId:{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."},RecordId:{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."},BatchId:{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}},responses:{BadRequest:{description:"Invalid request.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},Unauthorized:{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},NotFound:{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}},schemas:{ErrorResponse:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}},CorpSummary:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}},SwitchCorpRequest:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}},SwitchCorpResponse:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}},SourceConfig:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."},AuthStage:{type:"object",additionalProperties:!0,required:["name","ok"],properties:{name:{type:"string",examples:["hose.openapi","hose.provisional","seal.sso","seal.whoami"]},ok:{type:"boolean"},error:{type:"string"}}},AuthDiagnosis:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}},SealUser:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},tenantId:{type:"string"},name:{type:"string"},isAdmin:{type:"boolean"},permissions:{type:"array",items:{type:"string"}}}},SealTenant:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},name:{type:"string"},tenantSlug:{type:"string"}}},WhoamiResponse:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}},SessionResponse:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}},ApprovalRule:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}},ApprovalRuleInput:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulePatch:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulesResponse:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}},RuleSetVersion:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}},PublishRuleVersionRequest:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}},ApprovalDocument:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentInput:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentPatch:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentsResponse:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}},ApprovalStylePreferences:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}},ApprovalContext:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}},ApprovalSearchRequest:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}},ApprovalSearchResponse:{type:"object",additionalProperties:!0},ApprovalRun:{type:"object",additionalProperties:!0,required:["id"],properties:{id:{type:"string"},sourceDocumentSN:{type:"string",description:"External document number, often Hose/易快报单号."},sourceDocumentId:{type:"string"},status:{type:"string"},taskMode:{type:"string"},finalExecutionMode:{type:"string"},ruleSetVersionNumber:{type:"integer"},langfuseTraceId:{type:"string"},langfuseSessionFallback:{type:"string"}}},ApprovalRunsResponse:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}},ApprovalRunsSummary:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}},RunUrlResponse:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}},BridgeResponse:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}});function PT(){return nh0}var rl=o(()=>{ch0()});function Dq($){let Y=[],z="",U,Q=!1,J=!1;for(let I of $){if(Q){z+=I,Q=!1,J=!0;continue}if(I==="\\"&&U!=="'"){Q=!0,J=!0;continue}if(U){if(I===U)U=void 0;else z+=I;J=!0;continue}if(I==="'"||I==='"'){U=I,J=!0;continue}if(/\s/.test(I)){if(J)Y.push(z),z="",J=!1;continue}z+=I,J=!0}if(Q)throw Error("Invalid command: trailing escape");if(U)throw Error("Invalid command: unterminated quote");if(J)Y.push(z);return Y}function ph0($){let Y=$[0];if(!Y)return[];if(Y==="seal-use"||Y==="seal-home"||Y.endsWith("/seal-use")||Y.endsWith("/seal-home"))return $.slice(1);return $}function dh0(){return` +`}var pl,dl,ml;var ll=o(()=>{pl=[{name:"配置与状态根目录",category:"config",standardPath:"~/.config/seal-use",purpose:"用户本地持久化配置根目录,存放企业连接元数据、会话缓存与全局状态。",accessMode:"read-write",retention:"persistent"},{name:"企业配置文件目录",category:"config",standardPath:"~/.config/seal-use/enterprises",purpose:"存放各已添加企业的配置 JSON 文件(如 xiezihao.json),存储企业域名、脱敏 Token、员工绑定关系等。",accessMode:"read-write",retention:"persistent"},{name:"全局配置文件",category:"config",standardPath:"~/.config/seal-use/config.json",purpose:"维护全局工作模式(stateful/stateless)、默认激活企业 defaultCorpId 以及 Lint 偏好。",accessMode:"read-write",retention:"persistent"},{name:"会话凭据安全缓存",category:"config",standardPath:"~/.config/seal-use/seal_tokens.json",purpose:"缓存已认证租户的 Bearer Token 与过期时间戳,避免高频调用上游 OAuth 换票接口。",accessMode:"read-write",retention:"cache"},{name:"规则版本映射快照",category:"config",standardPath:"~/.config/seal-use/mappings",purpose:"存储 corps sync-test 生成的生产与测试规则版本/编号对照映射快照,供 rules map 离线毫秒级速查。",accessMode:"read-write",retention:"persistent"},{name:"后台守护服务日志",category:"config",standardPath:"~/.config/seal-use/service.log",purpose:"常驻后台 HTTP 服务守护进程运行输出日志。",accessMode:"read-write",retention:"persistent"},{name:"全局命令行程序",category:"binary",standardPath:"/opt/homebrew/bin/seal-use",purpose:"macOS / Linux 全局独立单文件二进制程序;附带软链接 seal-home -> seal-use 兼容旧指令。",accessMode:"executable",retention:"persistent"},{name:"AI Agent 技能主目录",category:"skill",standardPath:"~/.agents/skills/seal-use",purpose:"面向 Antigravity、Codex 等 AI 智能体的标准技能目录,包含 SKILL.md、参考文档与操作规程。",accessMode:"read-write",retention:"persistent"},{name:"报表默认导出目录",category:"export",standardPath:"~/Downloads",purpose:"执行 approval-runs export 等大盘报表命令且未指定 --out 时,默认写入的 Excel 文件路径。",accessMode:"read-write",retention:"persistent"},{name:"系统隔离临时目录",category:"temp",standardPath:"/tmp 或 /var/folders/.../T",purpose:"自动化测试(bun test)生成的隔离工作副本,执行完毕后通过 afterEach 钩子彻底删除,零残留。",accessMode:"transient",retention:"ephemeral"}],dl=[{topic:"敏感凭据脱敏保护",guarantee:"appSecurity、password 等高危密钥永不回显在 stdout,Session Token 采用掩码处理(如 5oUL...Y%3D)。",enforcement:"CLI 所有展示接口(corps get、corps list、probe 等)均经 formatSafeSourceDetail 脱敏过滤。"},{topic:"正式环境与测试环境严格隔离",guarantee:"正式企业与测试企业必须严格 1 对 1 下挂,禁止多层级级联绑定;环境标记需显式 --confirm 确认。",enforcement:"corps bind-test 与 mark 强制要求 --confirm,缺少时阻断并返回退出码 10(confirmationRequired)。"},{topic:"跨环境规则同步安全基线",guarantee:"corps sync-test 仅将正式企业偏好与规则覆盖同步至测试企业并自动发布,正式企业规则严格维持草稿态永不发布。",enforcement:"规则同步流水线由 sync-test 独占受控,正式环境端仅执行拉取草稿读取操作,零发版变更。"},{topic:"只读诊断无副作用原则",guarantee:"doctor、search、get、list、context、probe 等命令为严格只读操作,不修改用户本地文件系统,零写入污染。",enforcement:"核心领域函数严格分离 Mutation 操作与 Query 操作,Query 路径杜绝写文件与环境篡改。"}],ml=[{domain:"corps (企业管理)",summary:"多租户接入、智能软搜索、富属性查看、环境标记、测试绑定与配置规则同步",primaryCommands:["corps list","corps search ","corps get ","corps mark","corps bind-test","corps sync-test"]},{domain:"approval-runs (审核大盘)",summary:"AI 审核单据检索、统计分析、引证规则查看、附件全链路追踪、Excel 报表导出、免登 SSO 深度链接",primaryCommands:["approval-runs list","approval-runs stats","approval-runs get","approval-runs export","approval-runs url"]},{domain:"rules (规则治理)",summary:"审核规则拉取、本地 Lint 质量检查、增量差量推送、离线版本与编号对照映射速查",primaryCommands:["rules pull","rules lint","rules push","rules map","rules count"]},{domain:"preference (决策偏好)",summary:"AI 审核偏好读取与更新、全局与分品类思考深度策略(medium/high)配置",primaryCommands:["preference get","preference decision update","preference thinking-depth set"]},{domain:"simulation (模拟演练)",summary:"合思单据指定、材料包导入、飞书/泛微三方审批定义演练、批次轮询等待与数据清理",primaryCommands:["simulation create","simulation status","simulation wait","simulation clean"]},{domain:"webhook (通道与重放)",summary:"Webhook 回调通道配置、材料包校验推送、线上单据向 Webhook 通道测试重放",primaryCommands:["webhook list","webhook add","webhook replay","webhook material-pack push"]},{domain:"deploy (费控集成)",summary:"Seal AI 智能审核能力发布到合思费控企业、对接要求检测与配置同步",primaryCommands:["deploy hosecloud requirements","deploy hosecloud status","deploy hosecloud sync"]},{domain:"doctor (系统诊断)",summary:"整机环境健康自检、目录全景体检看板、内置架构与规范白皮书离线查阅",primaryCommands:["doctor","doctor guide","doctor paths"]}]});import{accessSync as RS1,constants as _S1,existsSync as i6,readdirSync as xh0,statSync as vS1}from"node:fs";import{homedir as hS1}from"node:os";import{join as j5}from"node:path";function yh0($){if(!i6($))return 0;try{return xh0($).filter((Y)=>Y.endsWith(".json")).length}catch{return 0}}function AT($){try{return RS1($,_S1.W_OK),!0}catch{return!1}}function kh0($){if(!i6($))return[];try{return xh0($).filter((Y)=>Y.endsWith(".json")&&!Y.startsWith("example.")).map((Y)=>j5($,Y))}catch{return[]}}function SS1($){return $.filter((Y)=>{try{return(vS1(Y).mode&63)!==0}catch{return!1}})}function ol(){let $=hS1(),Y=j5($,".config","seal-use"),z=j5(Y,"enterprises"),U=j5(Y,"config.json"),Q=j5(Y,"seal_tokens.json"),J=j5(Y,"mappings"),I=hU(),K=j5($,"Downloads"),W=["/opt/homebrew/bin/seal-use","/usr/local/bin/seal-use",j5($,".local","bin","seal-use"),j5($,"bin","seal-use")].find((A)=>i6(A))??process.execPath,H={configDir:{name:"配置根目录",path:Y,exists:i6(Y),writable:i6(Y)?AT(Y):!1,description:"用户持久化配置与企业状态根目录"},enterprisesDir:{name:"企业配置目录",path:z,exists:i6(z),writable:i6(z)?AT(z):!1,fileCount:yh0(z),description:"企业连接配置(JSON)保存路径"},globalConfigFile:{name:"全局配置文件",path:U,exists:i6(U),description:"全局工作模式与默认企业配置"},tokenStore:{name:"凭据缓存",path:Q,exists:i6(Q),description:"会话凭据与令牌缓存"},mappingsDir:{name:"规则版本映射快照",path:J,exists:i6(J),fileCount:yh0(J),description:"生产与测试规则版本映射对照表"},agentSkillDir:{name:"AI Agent 技能目录",path:I,exists:i6(j5(I,"SKILL.md")),description:"本地 Agent 技能主目录"},exportDefaultDir:{name:"报表默认导出目录",path:K,exists:i6(K),writable:i6(K)?AT(K):!1,description:"审核大盘报表默认写入目录"},lintersDir:{name:"规则校验器目录 (用户自定义)",path:b$,exists:i6(b$),writable:i6(b$)?AT(b$):!1,description:"用户私有规则校验脚本存放目录"},officialLintersDir:{name:"官方内置规则校验器目录",path:i$,exists:i6(i$),description:"官方标准与严格风控校验脚本目录 (系统自动保护与重写)"},globalBinary:{name:"全局命令行二进制",path:W,exists:i6(W),description:"系统全局命令执行入口"}},X=[];try{X=s8()}catch{X=[]}let q=_4().defaultCorpId??X[0]?.id,V=X.find((A)=>A.id===q),F=X.filter((A)=>(A.environment??"production").toLowerCase()==="test").length,M=X.length-F,w=[];if(w.push({id:"executable",title:"命令行二进制",status:"ok",message:`当前执行路径: ${process.execPath}`}),H.configDir?.exists&&H.configDir.writable)w.push({id:"config_dir",title:"配置目录访问",status:"ok",message:`${Y} (正常读写)`});else if(H.configDir?.exists)w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`${Y} (存在但可能不可写)`});else w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`未检测到配置目录 ${Y},首次运行配置命令时将自动创建`});if(X.length>0)w.push({id:"enterprises",title:"企业接入状态",status:"ok",message:`已接入 ${X.length} 家企业 (正式: ${M}, 测试: ${F})`});else w.push({id:"enterprises",title:"企业接入状态",status:"warn",message:"当前未检测到企业配置,请使用 seal-use corps add-hose 或 add-seal 接入企业"});if(H.agentSkillDir?.exists)w.push({id:"agent_skill",title:"AI Agent 技能",status:"ok",message:`已就绪于 ${I}`});else w.push({id:"agent_skill",title:"AI Agent 技能",status:"warn",message:`未在 ${I} 检测到技能,可运行 'seal-use skill sync' 安装`});let O=[Q,U,jZ(),...kh0(z),...kh0(j5(process.cwd(),"enterprises"))].filter((A,B,j)=>j.indexOf(A)===B&&i6(A)),N=SS1(O);w.push({id:"credential_permissions",title:"凭据文件权限",status:N.length===0?"ok":"warn",message:N.length===0?`已检查 ${O.length} 个凭据文件,均为仅属主可读 (0600)`:`${N.length} 个凭据文件权限宽于 0600(同机其他用户可读,取决于父目录权限),建议 chmod 600:${N.join("、")}`});let D=w.some((A)=>A.status==="warn"||A.status==="error"),T=typeof globalThis.Bun<"u"?`Bun ${globalThis.Bun.version}`:`Node ${process.version}`;return{doctor:D?"warning":"ok",timestamp:new Date().toISOString(),runtime:{version:P1,executablePath:process.execPath,platform:`${process.platform} (${process.arch})`,engine:T},directories:H,enterprises:{total:X.length,productionCount:M,testCount:F,activeCorpId:V?.id,activeCorpName:V?.name},checks:w,knowledge:{summary:"内嵌系统架构与目录规范白皮书(纯内存只读,零写入依赖)",directorySpecsCount:pl.length,securityPoliciesCount:dl.length,domainCapabilitiesCount:ml.length,guideCommand:"seal-use doctor guide"}}}function fh0($){let Y=[],z=$.doctor==="ok"?"✨":"⚠️";Y.push(`\uD83E\uDE7A [Seal Use Doctor] 系统健康诊断看板 ${z}`),Y.push("─────────────────────────────────────────────────────────────"),Y.push("【运行环境】"),Y.push(` 版本号: ${$.runtime.version}`),Y.push(` 程序路径: ${$.runtime.executablePath}`),Y.push(` 操作系统: ${$.runtime.platform}`),Y.push(` 执行引擎: ${$.runtime.engine}`),Y.push(""),Y.push("【核心路径状态】");for(let[,U]of Object.entries($.directories)){let Q=U.exists?"✓":"○",J=U.exists?U.fileCount!==void 0?`(${U.fileCount} 个文件)`:U.writable?"(就绪/可写)":"(存在)":"(未创建)";Y.push(` ${Q} ${U.name.padEnd(16," ")}: ${U.path} ${J}`)}if(Y.push(""),Y.push("【企业资产概览】"),Y.push(` 接入企业总计: ${$.enterprises.total} 家 (生产: ${$.enterprises.productionCount}, 测试: ${$.enterprises.testCount})`),$.enterprises.activeCorpId)Y.push(` 当前激活企业: ${$.enterprises.activeCorpName} (${$.enterprises.activeCorpId})`);else Y.push(" 当前激活企业: 无默认企业 (无状态模式)");Y.push(""),Y.push("【健康自检】");for(let U of $.checks){let Q=U.status==="ok"?"✓":U.status==="warn"?"⚠️":"✗";Y.push(` ${Q} [${U.title}]: ${U.message}`)}return Y.push(""),Y.push("─────────────────────────────────────────────────────────────"),Y.push("\uD83D\uDC49 查阅内嵌白皮书与目录规范: seal-use doctor guide"),Y.push("\uD83D\uDC49 检索企业: seal-use corps search "),Y.join(` +`)}var uh0=o(()=>{Gp();t9();S7();Dq();gP();ll()});var bh0={};x8(bh0,{formatTenantDoctorDashboard:()=>yS1,diagnoseTenantContract:()=>gS1});async function gS1($,Y){let z=[],U=Y.environment==="test"?"test":"production",Q=U==="test"?Y.prodCorpId:Y.testCorpId,J=U==="test"?"prodParent":"testTarget",I=null,K=null;try{let M=await H8($);if(I=M.user,K=M.tenant,Boolean(I?.isAdmin||I?.permissions?.includes("*")))z.push({id:"auth_identity",name:"身份与权限契约",status:"pass",summary:`已认证为管理员「${I.name??"未知"}」(${I.id??""}),具备完整操作权限`,details:{userId:I.id,userName:I.name,isAdmin:!0,tenantSlug:K?.tenantSlug,permissions:I.permissions}});else z.push({id:"auth_identity",name:"身份与权限契约",status:"warn",summary:`已认证为普通用户「${I.name??"未知"}」,非超级管理员,部分配置操作可能受限`,details:{userId:I.id,userName:I.name,isAdmin:!1,permissions:I.permissions},recommendation:"建议使用具有管理权限的企业主账号执行规则修改与集成发布"})}catch(M){z.push({id:"auth_identity",name:"身份与权限契约",status:"fail",summary:`鉴权握手失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)},recommendation:`请执行 seal-use auth login --corp ${Y.id} 重新登录或更新 Token`})}let G={featureCode:"ai-approval",balance:0,deductionAmount:120,estimatedRuns:0,status:"exhausted"},W={used:0,remaining:0};try{let M=await bY($),w=Array.isArray(M.features)?M.features:[],O=w.find((D)=>D?.code==="ai-approval");if(O){let D=typeof O.balance==="number"?O.balance:0,T=typeof O.deductionAmount==="number"&&O.deductionAmount>0?O.deductionAmount:120,A=Math.floor(D/T);if(G.balance=D,G.deductionAmount=T,G.estimatedRuns=A,D<=0)G.status="exhausted",z.push({id:"billing_quota",name:"AI 审批额度余量",status:"fail",summary:"当前额度已耗尽 (余量 0 点),无法执行审批模拟或回归测试",details:{balance:D,deductionAmount:T,estimatedRuns:A},recommendation:"请联系管理员为企业充值 AI 审批额度"});else if(A<10)G.status="low",z.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`额度偏低:剩余 ${D} 点 (单笔扣除 ${T} 点),仅可支持约 ${A} 笔审核`,details:{balance:D,deductionAmount:T,estimatedRuns:A},recommendation:"建议在发起大规模自动化回归前充值补充额度"});else G.status="sufficient",z.push({id:"billing_quota",name:"AI 审批额度余量",status:"pass",summary:`额度充裕:剩余 ${D} 点,预估可支持 ${A} 笔审核单据`,details:{balance:D,deductionAmount:T,estimatedRuns:A}})}else z.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:"未检索到「ai-approval」功能包额度明细,按默认通道运行",details:{features:w.map((D)=>D?.code)}});let N=w.find((D)=>D?.code==="approval-rules");if(N)W.used=typeof N.used==="number"?N.used:0,W.remaining=typeof N.remaining==="number"?N.remaining:0}catch(M){z.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`读取计费状态失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)}})}let H={totalCount:0,activeCount:0,quotaUsed:W.used,quotaRemaining:W.remaining};try{let M=await p6($),w=Array.isArray(M.rules)?M.rules:[];if(H.totalCount=w.length,H.activeCount=w.filter((O)=>O.status==="ACTIVE").length,w.length===0)z.push({id:"rules_status",name:"审核规则状态",status:"warn",summary:"当前租户未配置任何审核规则 (规则数为 0)",details:{totalCount:0,activeCount:0},recommendation:U==="test"&&Q?`可运行 seal-use corps sync-test --corp ${Q} 从生产企业同步规则`:"可运行 seal-use rules add 创建基础规则"});else z.push({id:"rules_status",name:"审核规则状态",status:"pass",summary:`审核规则健康:共 ${H.totalCount} 条规则,其中生效活跃 ${H.activeCount} 条`,details:{totalCount:H.totalCount,activeCount:H.activeCount,quotaUsed:W.used,quotaRemaining:W.remaining}})}catch(M){z.push({id:"rules_status",name:"审核规则状态",status:"fail",summary:`拉取规则列表失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)}})}let X={integrationCount:0,hasReplayChannel:!1,activeWebhookId:void 0};try{let M=await J$($);X.integrationCount=M.length;let w=M.find((O)=>O.name.includes("回放")||O.name.toLowerCase().includes("replay"));if(X.hasReplayChannel=Boolean(w),X.activeWebhookId=w?.id??M[0]?.id,M.length===0)z.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:"未配置任何 Webhook 集成通道,执行重放测试时将自动创建临时回放通道",details:{integrationCount:0},recommendation:"可运行 seal-use webhook add --name (回放通道) 手动注册专属通道"});else z.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"pass",summary:`Webhook 集成通道就绪:共 ${M.length} 个通道${w?` (含专属回放通道「${w.name}」)`:""}`,details:{integrationCount:M.length,hasReplayChannel:X.hasReplayChannel,activeWebhookId:X.activeWebhookId}})}catch(M){z.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:`检测 Webhook 通道失败:${M instanceof Error?M.message:String(M)}`,details:{error:String(M)}})}if(U==="test")if(Q)z.push({id:"environment_binding",name:"测试环境配对契约",status:"pass",summary:`测试租户已绑定生产母企业「${Q}」,具备样本拉取与配置同步能力`,details:{environment:U,boundCorpId:Q,boundCorpRole:J}});else z.push({id:"environment_binding",name:"测试环境配对契约",status:"warn",summary:"测试租户尚未绑定对应的生产母企业,无法直接拉取生产样本执行自动化回归",details:{environment:U},recommendation:`可运行 seal-use corps bind-test ${Y.id} 建立 1 对 1 绑定`});else if(Q)z.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"pass",summary:`生产企业已绑定沙箱测试靶场「${Q}」,回归测试将严格限制在靶场中运行`,details:{environment:U,boundCorpId:Q,boundCorpRole:J}});else z.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"warn",summary:"生产企业尚未绑定任何测试企业,所有回归测试功能将触发安全拦截",details:{environment:U},recommendation:`可运行 seal-use corps bind-test ${Y.id} 为该生产租户绑定测试靶场`});let Z=z.filter((M)=>M.status==="fail").length,q=z.filter((M)=>M.status==="warn").length,V=z.filter((M)=>M.status==="pass").length,F="HEALTHY";if(Z>0)F="BLOCKED";else if(q>0)F="DEGRADED";return{ok:Z===0,verdict:F,timestamp:new Date().toISOString(),corp:{id:Y.id,name:Y.name,environment:U,sourceType:Y.source?.type??"native",boundCorpId:Q,boundCorpRole:J},summary:{totalChecks:z.length,passedChecks:V,warningChecks:q,failedChecks:Z},checks:z,quota:G,rules:H,webhooks:X}}function yS1($){let{corp:Y,verdict:z,summary:U,checks:Q,quota:J,rules:I,webhooks:K}=$,G=z==="HEALTHY"?"\uD83D\uDFE2 健康良好 (HEALTHY)":z==="DEGRADED"?"\uD83D\uDFE1 亚健康降级 (DEGRADED)":"\uD83D\uDD34 阻断受限 (BLOCKED)",W=["",`\uD83C\uDFE5 [Seal Use Doctor] 租户全链路契约体检: ${Y.name} (${Y.id})`,` 状态: ${G} · 环境: ${Y.environment.toUpperCase()} · 耗时: 实时探针`," "+"─".repeat(60)];if(W.push(` AI 审批余量: ${J.balance} 点 (可审约 ${J.estimatedRuns} 笔) | 规则数: ${I.activeCount}/${I.totalCount} | Webhook 通道: ${K.integrationCount}`),Y.boundCorpId)W.push(` 配对关系: ${Y.environment==="test"?"来源生产母企业":"绑定的测试靶场"} -> 「${Y.boundCorpId}」`);W.push(" "+"─".repeat(60));for(let H of Q){let X=H.status==="pass"?"✓":H.status==="warn"?"!":"✗";if(W.push(` [${X}] ${H.name}: ${H.summary}`),H.recommendation)W.push(` \uD83D\uDC49 建议: ${H.recommendation}`)}return W.push(" "+"─".repeat(60)),W.push(` 检查汇总: 通过 ${U.passedChecks} · 告警 ${U.warningChecks} · 失败 ${U.failedChecks}`),W.push(""),W.join(` +`)}var ih0=o(()=>{X6()});async function ch0($,Y,z){let U=($??Y??"").toLowerCase();if(U==="guide"||U==="doc"||U==="knowledge"||U==="book"){console.error(`\uD83D\uDCD6 [Seal Use Doctor] 正在读取内嵌系统规范白皮书(纯内存只读)... +`),console.log(gh0());return}if(U==="paths"||U==="dirs"||U==="directories"){let I=ol();c0(I.directories);return}if(U==="tenant"||U==="corp"||U==="enterprise"){let{selectCorp:I}=await Promise.resolve().then(() => (o4(),Y_0)),{createSealClient:K}=await Promise.resolve().then(() => (i8(),V00)),{stringOption:G}=await Promise.resolve().then(() => (D4(),lR0)),{diagnoseTenantContract:W,formatTenantDoctorDashboard:H}=await Promise.resolve().then(() => (ih0(),bh0)),X=G(z.options.corp)??(Y&&Y!==U?Y:void 0)??(z.command[2]&&z.command[2]!==U?z.command[2]:void 0),Z=I(X),q=await K(Z),V=await W(q,Z);if(!(F0(z.options.quiet)||F0(z.options.silent)))console.error(H(V));c0(V);return}let Q=ol();if(!(F0(z.options.quiet)||F0(z.options.silent)))console.error(fh0(Q));c0(Q)}var nh0=o(()=>{uh0();ll();D4();J4()});var dh0;var ph0=o(()=>{dh0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.24",description:"HTTP contract for the seal-use wrapped backend API, served by the local HTTP adapter\n(`seal-use http`, or the `seal-use service start` daemon; default http://127.0.0.1:8787).\n\nThese endpoints describe the stable wrapped API for frontend developers and agents. They are\nnot the raw downstream Seal endpoints: seal-use is responsible for enterprise selection,\nsource authentication, response compaction, and diagnostics-friendly fields.\n\nEvery operation declares `x-implementation-status`, so a caller can tell what the running\nadapter actually serves:\n\n- `implemented` — routed by `src/http/routes.ts` today. `src/http/openapi-implementation.test.ts`\n fails when an `implemented` operation has no matching route.\n- `planned` — contract-only, designed but not routed yet. Calling it returns 404.\n\nThe same capabilities are reachable through the CLI, and through the optional MCP server when\nit is enabled.\n"},servers:[{url:"http://localhost:8787",description:"Local HTTP adapter (`seal-use http`, or the `seal-use service start` daemon). Loopback-only by default."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps","x-implementation-status":"implemented",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp","x-implementation-status":"planned",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp","x-implementation-status":"planned",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig","x-implementation-status":"planned",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth","x-implementation-status":"planned",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami","x-implementation-status":"implemented",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession","x-implementation-status":"implemented",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext","x-implementation-status":"planned",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge","x-implementation-status":"planned",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules","x-implementation-status":"implemented",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule","x-implementation-status":"planned",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule","x-implementation-status":"planned",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule","x-implementation-status":"planned",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions","x-implementation-status":"planned",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion","x-implementation-status":"planned",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion","x-implementation-status":"planned",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion","x-implementation-status":"planned",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments","x-implementation-status":"planned",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument","x-implementation-status":"planned",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument","x-implementation-status":"planned",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument","x-implementation-status":"planned",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalDocument","x-implementation-status":"planned",summary:"Delete approval knowledge document",responses:{"200":{description:"Deleted document confirmation."}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences","x-implementation-status":"planned",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences","x-implementation-status":"planned",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/preferences":{get:{tags:["Approval Knowledge"],operationId:"getPreferences","x-implementation-status":"implemented",summary:"Get current decision, thinking-depth and rule-version preferences",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Decision preferences, thinking depth preference and the bound rule set version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/preferences/decision":{post:{tags:["Approval Knowledge"],operationId:"updatePreferenceDecision","x-implementation-status":"implemented",summary:"Update decision preferences (takes effect immediately for the running approval agent)",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{explicitApprove:{type:"string"},explicitReject:{type:"string"},exemptApprove:{type:"string"},review:{type:"string"},dryRun:{type:"boolean",description:"Return the before/after diff without writing."}}}}}},responses:{"200":{description:"Updated preferences, or the previewed diff when dryRun is set.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns","x-implementation-status":"implemented",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns","x-implementation-status":"implemented",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/stats":{get:{tags:["Approval Runs"],operationId:"statApprovalRuns","x-implementation-status":"implemented",summary:"Aggregate approval run counts by status and source system",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"since",in:"query",schema:{type:"string"},description:"Time window such as 3months, 7days or 24hours."},{name:"dedupeBy",in:"query",schema:{type:"string",enum:["sourceDocumentSN","sourceDocumentId","id"],default:"sourceDocumentSN"},description:"Field used to count distinct business documents."},{name:"status",in:"query",schema:{type:"string"}},{name:"sourceSystem",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Counts grouped by status and source system, plus the deduplicated total.",content:{"application/json":{schema:{type:"object"}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns","x-implementation-status":"implemented",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge","x-implementation-status":"planned",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl","x-implementation-status":"implemented",summary:"Get enterprise assist URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Enterprise and document URLs.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun","x-implementation-status":"implemented",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules","x-implementation-status":"implemented",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary","x-implementation-status":"implemented",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments","x-implementation-status":"implemented",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult","x-implementation-status":"implemented",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch","x-implementation-status":"implemented",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch","x-implementation-status":"planned",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches","x-implementation-status":"implemented",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch","x-implementation-status":"implemented",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords","x-implementation-status":"planned",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates","x-implementation-status":"planned",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus","x-implementation-status":"planned",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations","x-implementation-status":"planned",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage","x-implementation-status":"planned",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:`Reserved header. The local adapter does not currently authenticate requests: it acts with +the credentials already stored on this machine for the selected enterprise. Keep it bound +to loopback (\`--host 127.0.0.1\`) and do not expose the port to a network or an origin you +do not control. +`}},parameters:{CorpId:{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},Offset:{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},Limit:{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},RuleId:{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."},VersionId:{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."},DocumentId:{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."},RecordId:{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."},BatchId:{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}},responses:{BadRequest:{description:"Invalid request.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},Unauthorized:{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},NotFound:{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}},schemas:{ErrorResponse:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}},CorpSummary:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}},SwitchCorpRequest:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}},SwitchCorpResponse:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}},SourceConfig:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."},AuthStage:{type:"object",additionalProperties:!0,required:["name","ok"],properties:{name:{type:"string",examples:["hose.openapi","hose.provisional","seal.sso","seal.whoami"]},ok:{type:"boolean"},error:{type:"string"}}},AuthDiagnosis:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}},SealUser:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},tenantId:{type:"string"},name:{type:"string"},isAdmin:{type:"boolean"},permissions:{type:"array",items:{type:"string"}}}},SealTenant:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},name:{type:"string"},tenantSlug:{type:"string"}}},WhoamiResponse:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}},SessionResponse:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}},ApprovalRule:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}},ApprovalRuleInput:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulePatch:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulesResponse:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}},RuleSetVersion:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}},PublishRuleVersionRequest:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}},ApprovalDocument:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentInput:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentPatch:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentsResponse:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}},ApprovalStylePreferences:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}},ApprovalContext:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}},ApprovalSearchRequest:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}},ApprovalSearchResponse:{type:"object",additionalProperties:!0},ApprovalRun:{type:"object",additionalProperties:!0,required:["id"],properties:{id:{type:"string"},sourceDocumentSN:{type:"string",description:"External document number, often Hose/易快报单号."},sourceDocumentId:{type:"string"},status:{type:"string"},taskMode:{type:"string"},finalExecutionMode:{type:"string"},ruleSetVersionNumber:{type:"integer"},langfuseTraceId:{type:"string"},langfuseSessionFallback:{type:"string"}}},ApprovalRunsResponse:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}},ApprovalRunsSummary:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}},RunUrlResponse:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}},BridgeResponse:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}});function TT(){return dh0}var rl=o(()=>{ph0()});function Bq($){let Y=[],z="",U,Q=!1,J=!1;for(let I of $){if(Q){z+=I,Q=!1,J=!0;continue}if(I==="\\"&&U!=="'"){Q=!0,J=!0;continue}if(U){if(I===U)U=void 0;else z+=I;J=!0;continue}if(I==="'"||I==='"'){U=I,J=!0;continue}if(/\s/.test(I)){if(J)Y.push(z),z="",J=!1;continue}z+=I,J=!0}if(Q)throw Error("Invalid command: trailing escape");if(U)throw Error("Invalid command: unterminated quote");if(J)Y.push(z);return Y}function mh0($){let Y=$[0];if(!Y)return[];if(Y==="seal-use"||Y==="seal-home"||Y.endsWith("/seal-use")||Y.endsWith("/seal-home"))return $.slice(1);return $}function lh0(){return` @@ -2157,24 +2155,24 @@ selection, source authentication, response compaction, and diagnostics-friendly src="https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.25.101/dist/browser/standalone.js" > -`}var mh0=o(()=>{a9()});import{URL as gS1}from"node:url";async function _6($,Y,z,U){let Q=$.handler;return Q(Y,z,{corp:U})}async function lh0($,Y){if(Y.setHeader("Access-Control-Allow-Origin","*"),Y.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS, PATCH"),Y.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization, X-Seal-Corp, X-Seal-Home-Session"),$.method==="OPTIONS"){Y.writeHead(204),Y.end();return}let z=$.headers.host||"localhost",U=$.headers["x-forwarded-proto"]||"http",Q=new gS1($.url||"/",`${U}://${z}`),J=Q.pathname.replace(/\/+$/,"")||"/",I=($.method||"GET").toUpperCase();try{if(I==="GET"&&J==="/"){B4(Y,200,{name:"seal-use",version:P1,description:"Seal tenant operations and approval automation HTTP API",docs:"/docs",openapi:"/openapi.json",health:"/health",endpoints:{cli:"POST /api/cli",tools:"GET /api/tools",toolInvoke:"POST /api/tool/:name",restV1:"GET/POST /v1/*"}});return}if(I==="GET"&&J==="/docs"){kS1(Y,200,dh0());return}if(I==="GET"&&J==="/openapi.json"){B4(Y,200,PT());return}if(I==="GET"&&J==="/health"){B4(Y,200,{status:"ok",version:P1,name:"seal-use",timestamp:new Date().toISOString()});return}if(I==="POST"&&(J==="/shutdown"||J==="/api/shutdown")){B4(Y,200,{success:!0,message:"Shutting down seal-use background daemon",pid:process.pid}),setTimeout(()=>{process.kill(process.pid,"SIGTERM")},50);return}if(I==="POST"&&J==="/api/cli"){let K=await TT($),G=(typeof K?.command==="string"?K.command:"").trim();if(!G){AT(Y,400,"Missing 'command' property in request body");return}let W=Dq(G),H=W[0]==="seal-use"||W[0]==="seal-home"||W[0]?.endsWith("/seal-use")||W[0]?.endsWith("/seal-home")?W.slice(1):W,X=await Bq(H),Z=void 0;try{if(X.stdout.trim().startsWith("{")||X.stdout.trim().startsWith("["))Z=JSON.parse(X.stdout)}catch{}B4(Y,X.isError?400:200,{success:!X.isError,stdout:X.stdout,stderr:X.stderr,exitCode:X.exitCode,data:Z});return}if(I==="POST"&&J.startsWith("/api/tool/")){let K=J.slice(10).trim(),G=M6(K);if(!G){AT(Y,404,`Tool not found: '${K}'`);return}let W=await TT($)||{},H=k8($,Q,W),X=E1(H),Z=await j1(X),q={...W};delete q.corp;let V=await _6(G,Z,q,X);B4(Y,200,V);return}if(J.startsWith("/v1/")){if(await yS1($,Y,I,J,Q))return}AT(Y,404,`Cannot ${I} ${J}. Visit /docs for available endpoints.`)}catch(K){let G=K instanceof Error?K.message:String(K);AT(Y,500,G)}}async function yS1($,Y,z,U,Q){let J=Object.fromEntries(Q.searchParams.entries());if(z==="GET"&&U==="/v1/corps"){let I=s8(),K=_4();return B4(Y,200,{count:I.length,mode:K.stateful?"stateful":"stateless",defaultCorpId:K.defaultCorpId,corps:I.map((G)=>({id:G.id,name:G.name,sourceType:G.source.type,sealUrl:G.seal?.url}))}),!0}if(z==="GET"&&U==="/v1/whoami"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_whoami"),H=await _6(W,G,{},K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/session"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_session_get"),H=await _6(W,G,{},K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/summary"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_runs_summary"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/stats"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_runs_stats"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/pick"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_run_pick"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/url"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_run_url_get"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(U.startsWith("/v1/approval-runs/")){let I=U.slice(18).split("/"),K=I[0],G=I[1];if(K&&!["summary","pick","stats","url","bridge"].includes(K)){let W=k8($,Q,J),H=E1(W),X=await j1(H);if(!G){let Z=M6("seal_approval_run_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="attachments"){let Z=M6("seal_approval_run_attachments_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="cited-rules"){let Z=M6("seal_approval_run_cited_rules_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="document-summary"){let Z=M6("seal_approval_run_document_summary_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="result"){let Z=M6("seal_approval_run_result_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}}}if(z==="GET"&&U==="/v1/approval-runs"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_runs_search"),H=await _6(W,G,{...J,limit:J.limit?Number(J.limit):void 0,offset:J.offset?Number(J.offset):void 0,includeBridge:J.includeBridge==="true"},K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval/rules"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_rules_list"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/simulation/batches"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_simulation_batches_list"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="POST"&&U==="/v1/simulation/create-batch"){let I=await TT($)||{},K=k8($,Q,I),G=E1(K),W=await j1(G),H=M6("seal_simulation_batch_create"),X=await _6(H,W,I,G);return B4(Y,200,X),!0}if(z==="GET"&&U.startsWith("/v1/simulation/batch/")){let K=U.slice(21).split("/")[0];if(K){let G=k8($,Q,J),W=E1(G),H=await j1(W),X=M6("seal_simulation_batch_get"),Z=await _6(X,H,{batchId:K},W);return B4(Y,200,Z),!0}}if(z==="GET"&&U==="/v1/preferences"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_preference_get"),H=await _6(W,G,{},K);return B4(Y,200,H),!0}if(z==="POST"&&U==="/v1/preferences/decision"){let I=await TT($)||{},K=k8($,Q,I),G=E1(K),W=await j1(G),H=M6("seal_preference_decision_update"),X=await _6(H,W,I,G);return B4(Y,200,X),!0}return!1}function k8($,Y,z){let U=$.headers["x-seal-corp"];if(typeof U==="string"&&U.trim())return U.trim();let Q=Y.searchParams.get("corp");if(Q?.trim())return Q.trim();if(z&&typeof z.corp==="string"&&z.corp.trim())return z.corp.trim();return}async function TT($){let Y="";for await(let z of $)if(Y+=z,Y.length>20971520)throw Error("Payload too large");if(!Y.trim())return{};try{return JSON.parse(Y)}catch(z){throw Error(`Invalid JSON body: ${z instanceof Error?z.message:String(z)}`)}}function B4($,Y,z){let U=JSON.stringify(z,null,2);$.writeHead(Y,{"Content-Type":"application/json; charset=utf-8","Content-Length":Buffer.byteLength(U)}),$.end(U)}function kS1($,Y,z){$.writeHead(Y,{"Content-Type":"text/html; charset=utf-8","Content-Length":Buffer.byteLength(z)}),$.end(z)}function AT($,Y,z,U){B4($,Y,{error:!0,statusCode:Y,message:z,...U!==void 0?{details:U}:{}})}var oh0=o(()=>{o4();sl();rl();h7();i8();Xq();a9();mh0()});import{createServer as xS1}from"node:http";async function CT($={}){let Y=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):jT),z=$.host??(process.env.HOST?process.env.HOST:ET),U=xS1(async(Q,J)=>{try{await lh0(Q,J)}catch(I){if(!J.headersSent)J.writeHead(500,{"Content-Type":"application/json"}),J.end(JSON.stringify({error:!0,message:I instanceof Error?I.message:String(I)}))}});return new Promise((Q,J)=>{U.on("error",(I)=>{J(I)}),U.listen(Y,z,()=>{if(!$.silent)console.error(` +`}var oh0=o(()=>{t9()});import{URL as xS1}from"node:url";async function _6($,Y,z,U){let Q=$.handler;return Q(Y,z,{corp:U})}async function rh0($,Y){if(Y.setHeader("Access-Control-Allow-Origin","*"),Y.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS, PATCH"),Y.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization, X-Seal-Corp, X-Seal-Home-Session"),$.method==="OPTIONS"){Y.writeHead(204),Y.end();return}let z=$.headers.host||"localhost",U=$.headers["x-forwarded-proto"]||"http",Q=new xS1($.url||"/",`${U}://${z}`),J=Q.pathname.replace(/\/+$/,"")||"/",I=($.method||"GET").toUpperCase();try{if(I==="GET"&&J==="/"){B4(Y,200,{name:"seal-use",version:P1,description:"Seal tenant operations and approval automation HTTP API",docs:"/docs",openapi:"/openapi.json",health:"/health",endpoints:{cli:"POST /api/cli",tools:"GET /api/tools",toolInvoke:"POST /api/tool/:name",restV1:"GET/POST /v1/*"}});return}if(I==="GET"&&J==="/docs"){uS1(Y,200,lh0());return}if(I==="GET"&&J==="/openapi.json"){B4(Y,200,TT());return}if(I==="GET"&&J==="/health"){B4(Y,200,{status:"ok",version:P1,name:"seal-use",timestamp:new Date().toISOString()});return}if(I==="POST"&&(J==="/shutdown"||J==="/api/shutdown")){B4(Y,200,{success:!0,message:"Shutting down seal-use background daemon",pid:process.pid}),setTimeout(()=>{process.kill(process.pid,"SIGTERM")},50);return}if(I==="POST"&&J==="/api/cli"){let K=await ET($),G=(typeof K?.command==="string"?K.command:"").trim();if(!G){jT(Y,400,"Missing 'command' property in request body");return}let W=Bq(G),H=W[0]==="seal-use"||W[0]==="seal-home"||W[0]?.endsWith("/seal-use")||W[0]?.endsWith("/seal-home")?W.slice(1):W,X=await Pq(H),Z=void 0;try{if(X.stdout.trim().startsWith("{")||X.stdout.trim().startsWith("["))Z=JSON.parse(X.stdout)}catch{}B4(Y,X.isError?400:200,{success:!X.isError,stdout:X.stdout,stderr:X.stderr,exitCode:X.exitCode,data:Z});return}if(I==="POST"&&J.startsWith("/api/tool/")){let K=J.slice(10).trim(),G=M6(K);if(!G){jT(Y,404,`Tool not found: '${K}'`);return}let W=await ET($)||{},H=k8($,Q,W),X=E1(H),Z=await j1(X),q={...W};delete q.corp;let V=await _6(G,Z,q,X);B4(Y,200,V);return}if(J.startsWith("/v1/")){if(await fS1($,Y,I,J,Q))return}jT(Y,404,`Cannot ${I} ${J}. Visit /docs for available endpoints.`)}catch(K){let G=K instanceof Error?K.message:String(K);jT(Y,500,G)}}async function fS1($,Y,z,U,Q){let J=Object.fromEntries(Q.searchParams.entries());if(z==="GET"&&U==="/v1/corps"){let I=s8(),K=_4();return B4(Y,200,{count:I.length,mode:K.stateful?"stateful":"stateless",defaultCorpId:K.defaultCorpId,corps:I.map((G)=>({id:G.id,name:G.name,sourceType:G.source.type,sealUrl:G.seal?.url}))}),!0}if(z==="GET"&&U==="/v1/whoami"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_whoami"),H=await _6(W,G,{},K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/session"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_session_get"),H=await _6(W,G,{},K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/summary"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_runs_summary"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/stats"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_runs_stats"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/pick"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_run_pick"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval-runs/url"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_run_url_get"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(U.startsWith("/v1/approval-runs/")){let I=U.slice(18).split("/"),K=I[0],G=I[1];if(K&&!["summary","pick","stats","url","bridge"].includes(K)){let W=k8($,Q,J),H=E1(W),X=await j1(H);if(!G){let Z=M6("seal_approval_run_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="attachments"){let Z=M6("seal_approval_run_attachments_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="cited-rules"){let Z=M6("seal_approval_run_cited_rules_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="document-summary"){let Z=M6("seal_approval_run_document_summary_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}if(G==="result"){let Z=M6("seal_approval_run_result_get"),q=await _6(Z,X,{recordId:K,...J},H);return B4(Y,200,q),!0}}}if(z==="GET"&&U==="/v1/approval-runs"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_runs_search"),H=await _6(W,G,{...J,limit:J.limit?Number(J.limit):void 0,offset:J.offset?Number(J.offset):void 0,includeBridge:J.includeBridge==="true"},K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/approval/rules"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_approval_rules_list"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="GET"&&U==="/v1/simulation/batches"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_simulation_batches_list"),H=await _6(W,G,J,K);return B4(Y,200,H),!0}if(z==="POST"&&U==="/v1/simulation/create-batch"){let I=await ET($)||{},K=k8($,Q,I),G=E1(K),W=await j1(G),H=M6("seal_simulation_batch_create"),X=await _6(H,W,I,G);return B4(Y,200,X),!0}if(z==="GET"&&U.startsWith("/v1/simulation/batch/")){let K=U.slice(21).split("/")[0];if(K){let G=k8($,Q,J),W=E1(G),H=await j1(W),X=M6("seal_simulation_batch_get"),Z=await _6(X,H,{batchId:K},W);return B4(Y,200,Z),!0}}if(z==="GET"&&U==="/v1/preferences"){let I=k8($,Q,J),K=E1(I),G=await j1(K),W=M6("seal_preference_get"),H=await _6(W,G,{},K);return B4(Y,200,H),!0}if(z==="POST"&&U==="/v1/preferences/decision"){let I=await ET($)||{},K=k8($,Q,I),G=E1(K),W=await j1(G),H=M6("seal_preference_decision_update"),X=await _6(H,W,I,G);return B4(Y,200,X),!0}return!1}function k8($,Y,z){let U=$.headers["x-seal-corp"];if(typeof U==="string"&&U.trim())return U.trim();let Q=Y.searchParams.get("corp");if(Q?.trim())return Q.trim();if(z&&typeof z.corp==="string"&&z.corp.trim())return z.corp.trim();return}async function ET($){let Y="";for await(let z of $)if(Y+=z,Y.length>20971520)throw Error("Payload too large");if(!Y.trim())return{};try{return JSON.parse(Y)}catch(z){throw Error(`Invalid JSON body: ${z instanceof Error?z.message:String(z)}`)}}function B4($,Y,z){let U=JSON.stringify(z,null,2);$.writeHead(Y,{"Content-Type":"application/json; charset=utf-8","Content-Length":Buffer.byteLength(U)}),$.end(U)}function uS1($,Y,z){$.writeHead(Y,{"Content-Type":"text/html; charset=utf-8","Content-Length":Buffer.byteLength(z)}),$.end(z)}function jT($,Y,z,U){B4($,Y,{error:!0,statusCode:Y,message:z,...U!==void 0?{details:U}:{}})}var sh0=o(()=>{o4();sl();rl();S7();i8();Zq();t9();oh0()});import{createServer as bS1}from"node:http";async function _T($={}){let Y=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):CT),z=$.host??(process.env.HOST?process.env.HOST:RT),U=bS1(async(Q,J)=>{try{await rh0(Q,J)}catch(I){if(!J.headersSent)J.writeHead(500,{"Content-Type":"application/json"}),J.end(JSON.stringify({error:!0,message:I instanceof Error?I.message:String(I)}))}});return new Promise((Q,J)=>{U.on("error",(I)=>{J(I)}),U.listen(Y,z,()=>{if(!$.silent)console.error(` \uD83D\uDE80 seal-use HTTP Server (v${P1}) started`),console.error(` URL: http://${z}:${Y}`),console.error(` Docs: http://${z}:${Y}/docs`),console.error(` OpenAPI: http://${z}:${Y}/openapi.json`),console.error(` CLI Exec: POST http://${z}:${Y}/api/cli`),console.error(` REST API: http://${z}:${Y}/v1/... -`);Q(U)})})}var jT=8787,ET="127.0.0.1";var al=o(()=>{oh0();a9()});async function rh0($){let Y=s0($.options.port)??s0($.options.p),z=S($.options.host)??S($.options.h),U=await CT({port:Y,host:z}),Q=()=>{U.close(()=>{process.exit(0)})};process.on("SIGINT",Q),process.on("SIGTERM",Q),await new Promise(()=>{})}var sh0=o(()=>{D4();al()});async function ah0($,Y,z,U){if($==="config"||$==="get"){await k0("seal_llm_config_get",Y,z,{},C0(U.options));return}if($==="providers"||$==="list"){await k0("seal_llm_providers_list",Y,z,{},C0(U.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}var th0=o(()=>{o4();J4()});async function eh0($,Y){if($==="config"||$==="json"){tl();return}let{startServer:z}=await zS0().then(() => YS0);z()}function tl(){c0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}var $S0=o(()=>{J4()});function US0($){let Y=PT();c0(Y,{...C0($.options),allowFull:!0})}var QS0=o(()=>{rl();J4()});async function JS0($,Y,z,U){if($==="available"){await k0("seal_permissions_available_list",Y,z,{},C0(U.options));return}if($==="configs"||$==="list"){await k0("seal_permissions_configs_list",Y,z,{},C0(U.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}var IS0=o(()=>{o4();J4()});import{readFileSync as KS0}from"node:fs";async function GS0($,Y,z,U,Q,J,I){if(!$||$==="get"){await k0("seal_preference_get",Q,J,{},C0(I.options));return}if($==="decision"){if(Y==="update"||!Y){let K=S(I.options.input),G=K?JSON.parse(KS0(K,"utf8")):y8(I.json);if(!G||Object.keys(G).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await k0("seal_preference_decision_update",Q,J,{...G,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(Y==="set"){let K=S(I.options.default)??S(I.options.level)??U;if(K!=="medium"&&K!=="high")throw Error("Usage: seal-use preference thinking-depth set --default ");await k0("seal_preference_thinking_depth_set",Q,J,{defaultLevel:K,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}if(Y==="policies"){if(z==="list"||!z){await k0("seal_preference_thinking_depth_policies_list",Q,J,{},C0(I.options));return}if(z==="upsert"){let K=S(I.options.input),G=K?JSON.parse(KS0(K,"utf8")):y8(I.json);if(!G||!G.id||!G.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await k0("seal_preference_thinking_depth_policies_upsert",Q,J,{...G,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}if(z==="remove"||z==="delete"){let K=U??S(I.options.id)??S(I.options.policyId);if(!K)throw Error("Usage: seal-use preference thinking-depth policies remove ");await k0("seal_preference_thinking_depth_policies_remove",Q,J,{policyId:K,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}var WS0=o(()=>{o4();D4();J4()});async function HS0($={}){let Y=s8(),z=_4(),U=f2(Y,{stateful:z.stateful,defaultCorpId:z.defaultCorpId,corpId:$.corpId},v7());console.log(`[probe] corp=${U.id} source=${U.source.type}`);let Q=await yK(U);console.log("[probe] seal enterprise"),console.log(JSON.stringify(Q,null,2));let J=await j1(U),I=await XM(J,{documentLimit:20,stylePreferencesEndpoint:U.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:I.rules.rules.length,hasPendingRuleDeletes:I.rules.hasPendingDeletes,documents:I.documents.articles.length,documentsTotal:I.documents.total,stylePreferences:I.stylePreferences.ok?"ok":`error: ${I.stylePreferences.error}`},null,2))}var XS0=o(()=>{h7();i8();OT();X6()});async function ZS0($,Y,z){let U=Y??S(z.options.corp)??($&&$!=="--corp"?$:void 0);await HS0({corpId:U})}var qS0=o(()=>{XS0();D4()});async function el($,Y,z,U,Q){if($==="count"){await k0("seal_approval_rules_list",z,U,{countOnly:!0},C0(Q.options));return}if($==="list"){if(F0(Q.options.count)){await k0("seal_approval_rules_list",z,U,{countOnly:!0},C0(Q.options));return}let J=s0(Q.options.limit),I=s0(Q.options.offset);if(F0(Q.options.summary)){await k0("seal_approval_rules_list",z,U,{fields:tR0,limit:J,offset:I},C0(Q.options));return}let K=await o2("seal_approval_rules_list",z,U,{limit:J,offset:I});eR0(K,F0(Q.options.full)===!0),c0(K);return}if($==="clear"){let J=F0(Q.options.yes)===!0,I=F0(Q.options.dryRun)??F0(Q.options["dry-run"])??!J;if(!J&&!I)throw N9("Refusing to clear rules without --yes. Use --dry-run to preview.",`seal-use rules clear --corp ${U.id} --dry-run`);let K=await o2("seal_approval_rules_clear",z,U,{dryRun:I,recode:F0(Q.options.recode)});if(!J&&I&&K&&typeof K==="object"){c0({...K,nextCommand:`seal-use rules clear --corp ${U.id} --yes`},C0(Q.options));return}c0(K,C0(Q.options));return}if($==="versions"){await k0("seal_approval_rule_versions_list",z,U,{},C0(Q.options));return}if($==="version"){let J=Y??S(Q.options.version);if(!J)throw Error("Usage: seal-use rules version ");await k0("seal_approval_rule_version_get",z,U,vK(J),C0(Q.options));return}if($==="get"){await k0("seal_approval_rule_get",z,U,{...Ol(S(Q.options.version)),code:S(Q.options.code),runtimeId:S(Q.options.runtimeId)??S(Q.options["runtime-id"]),recordId:S(Q.options.recordId)??S(Q.options["record-id"])},C0(Q.options));return}if($==="search"){let J=Y??S(Q.options.query);if(!J)throw Error("Usage: seal-use rules search [--version ]");await k0("seal_approval_search",z,U,{keywords:[J],areas:["rules"],maxResults:s0(Q.options.maxResults),contextLines:s0(Q.options.contextLines),refresh:F0(Q.options.refresh),snippetOnly:F0(Q.options.snippetOnly)??F0(Q.options["snippet-only"]),maxChars:s0(Q.options.maxChars)??s0(Q.options["max-chars"]),fields:u6(Q.options.fields),...wl(S(Q.options.version))},C0(Q.options));return}if($==="pull"){let J=S(Q.options.version)??Y,I=S(Q.options.out)??S(Q.options.file)??S(Q.options.f);await k0("seal_approval_rules_pull",z,U,{version:J,out:I},C0(Q.options));return}if($==="push"){let J=S(Q.options.file)??S(Q.options.f)??Y,I=F0(Q.options.yes)===!0,K=F0(Q.options.dryRun)??F0(Q.options["dry-run"])??!I,G=F0(Q.options.publish),W=S(Q.options.versionName)??S(Q.options["version-name"]),H=await o2("seal_approval_rules_push",z,U,{file:J,dryRun:K,confirm:I,publish:G,versionName:W});if(!I&&K&&H&&typeof H==="object"){c0({...H,nextCommand:`seal-use rules push --file ${J??"./rules.local.json"} --corp ${U.id} --yes${G?" --publish":""}`},C0(Q.options));return}c0(H,C0(Q.options));return}if($==="lint"){await k0("seal_approval_rules_lint",z,U,{file:S(Q.options.file)??S(Q.options.f),linter:S(Q.options.linter),version:S(Q.options.version),code:S(Q.options.code),ruleId:S(Q.options.rule)??Y,minScore:s0(Q.options.minScore)??s0(Q.options["min-score"]),level:S(Q.options.level),summary:F0(Q.options.summary)},C0(Q.options));return}if($==="linters"||$==="linter-list"){let J=LB0();c0({primaryDirectory:b$,officialDirectory:i$,totalLinters:J.length,linters:J},C0(Q.options));return}if($==="map"){let J=S(Q.options.version)??Y,I=S(Q.options.code)??S(Q.options.rule),K=Ev0(U.id,J);if(!K){let W=J?`version '${J}'`:"latest version";c0({error:`No local rule mapping found for enterprise '${U.name}' (${U.id}) ${W}. Run 'seal-use corps sync-test --yes' to synchronize and generate mapping snapshots.`,corpId:U.id,version:J??"latest"},C0(Q.options));return}let G=Cv0(K.ruleMapping,I);c0({corpId:U.id,syncedAt:K.syncedAt,source:K.source,target:K.target,versionMapping:K.versionMapping,totalRules:K.ruleMapping.length,matchedRules:G.length,rules:G},C0(Q.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, linters, pull, push, map. Run 'seal-use help' for available commands.`)}var VS0=o(()=>{gl();Hp();o4();L$();D4();J4()});import{spawn as fS1,execFileSync as uS1}from"node:child_process";import{existsSync as RT,mkdirSync as bS1,readFileSync as $o,rmSync as _9,writeFileSync as _T}from"node:fs";import{join as Yo}from"node:path";async function SU($,Y,z={}){switch($){case"run":await cS1(Y);return;case"start":return LS0(Y);case"stop":case"kill":case"down":case"shutdown":return FS0(Y,z);case"restart":return FS0(Y,{quiet:!0}),LS0(Y);case"logs":case"log":return iS1(Y,z.maxLines);case"status":case void 0:return xK(Y);default:throw Error("Usage: seal-use service ")}}function xK($){let Y=hT($),z=zo($),U=vT(Y),Q=U?wS0(U,$.appRoot):!1;if(!Q){if(U)_9(Y,{force:!0});if(RT(z))_9(z,{force:!0})}let J;if(Q&&RT(z))try{J=JSON.parse($o(z,"utf8"))}catch{}let I=$.port??J?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):jT),K=$.host??J?.host??(process.env.HOST?process.env.HOST:ET),G=$.version??J?.version;return{running:Q,pid:Q?U:void 0,version:G,port:I,host:K,url:Q?`http://${K}:${I}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:Y,logFile:Pq($)}}function iS1($,Y=50){let z=Pq($);if(!RT(z))return{logFile:z,lines:[],totalLines:0};let Q=$o(z,"utf8").split(` -`).filter(Boolean),J=Q.slice(-Y);return{logFile:z,lines:J,totalLines:Q.length}}async function cS1($){let Y=hT($),z=zo($),U=Pq($);MS0($.stateDir);let Q=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):jT),J=$.host??(process.env.HOST?process.env.HOST:ET);_T(Y,`${process.pid} -`,{mode:384}),_T(z,JSON.stringify({pid:process.pid,port:Q,host:J,version:$.version,startedAt:new Date().toISOString()},null,2),{mode:384}),kK(U,`service starting on http://${J}:${Q} pid=${process.pid}`);let I=null;try{I=await CT({port:Q,host:J,silent:!0}),kK(U,`service listening pid=${process.pid}`)}catch(G){if(kK(U,`service failed to bind port ${Q}: ${G instanceof Error?G.message:String(G)}`),vT(Y)===process.pid)_9(Y,{force:!0}),_9(z,{force:!0});throw G}let K=()=>{if(I)I.close(),I=null;if(vT(Y)===process.pid)_9(Y,{force:!0}),_9(z,{force:!0});kK(U,`stopped pid=${process.pid}`)};await new Promise((G)=>{let W=!1,H=()=>{if(W)return;W=!0,K(),process.off("SIGTERM",H),process.off("SIGINT",H),G()};process.once("SIGTERM",H),process.once("SIGINT",H)})}function LS0($){MS0($.stateDir);let Y=xK($);if(Y.running)return Y;let z=$.launcher??{command:process.execPath,args:[$.entryFile]},U=[...z.args??[],"service","run"];if($.port)U.push("--port",String($.port));if($.host)U.push("--host",String($.host));let Q=fS1(z.command,U,{cwd:$.appRoot,detached:!0,stdio:["ignore","ignore","ignore"],env:process.env});Q.unref();let J=hT($);return _T(J,`${Q.pid} -`,{mode:384}),kK(Pq($),`started pid=${Q.pid}`),{started:!0,...xK($)}}function FS0($,Y={}){let z=hT($),U=zo($),Q=vT(z);if(!Q||!wS0(Q,$.appRoot))return _9(z,{force:!0}),_9(U,{force:!0}),Y.quiet?void 0:{stopped:!1,reason:"not running"};return process.kill(Q,"SIGTERM"),_9(z,{force:!0}),_9(U,{force:!0}),kK(Pq($),`stop requested pid=${Q}`),Y.quiet?void 0:{stopped:!0,pid:Q}}function wS0($,Y){if(!nS1($))return!1;try{let z=uS1("ps",["-p",String($),"-o","command="],{encoding:"utf8"});return(z.includes(Y)||z.includes("seal-use")||z.includes("src/cli.ts"))&&z.includes("service")&&z.includes("run")}catch{return!1}}function nS1($){try{return process.kill($,0),!0}catch{return!1}}function hT($){return Yo($.stateDir,"service.pid")}function zo($){return Yo($.stateDir,"service.json")}function Pq($){return Yo($.stateDir,"service.log")}function vT($){if(!RT($))return;let Y=Number($o($,"utf8").trim());return Number.isInteger(Y)&&Y>0?Y:void 0}function MS0($){bS1($,{recursive:!0,mode:448})}function kK($,Y){_T($,`${new Date().toISOString()} ${Y} -`,{flag:"a",mode:384})}var Uo=o(()=>{al()});import{homedir as pS1}from"node:os";import{join as dS1}from"node:path";async function Jo($,Y,z){let U=z?s0(z.options.port)??s0(z.options.p):void 0,Q=z?S(z.options.host)??S(z.options.h):void 0,J=z?s0(z.options.lines)??s0(z.options.n):void 0,I=await SU($,{appRoot:Y.appRoot,entryFile:Y.entryFile,stateDir:Qo,version:P1,launcher:Y.launcher,port:U,host:Q},{maxLines:J});if(I!==void 0)c0(I)}var Qo;var Io=o(()=>{a9();Uo();J4();D4();Qo=dS1(pS1(),".config","seal-use")});import{existsSync as mS1,readFileSync as OS0}from"node:fs";async function NS0($,Y,z,U,Q){if($==="batch-records"||$==="records"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation batch-records ");await k0("seal_simulation_batch_records_get",z,U,{batchId:J,query:S(Q.options.query)},C0(Q.options));return}if($==="create"||$==="run"){let J=S(Q.options.mode)??S(Q.options.sourceSystem)??S(Q.options["source-system"])??"hosecloud",I=J==="material-pack"?"material_pack":J,K=S(Q.options.schemaConfig)??S(Q.options["schema-config"]),G=K?JSON.parse(OS0(K,"utf8")):void 0,W=S(Q.options.input),H=W?JSON.parse(OS0(W,"utf8")):y8(Q.json),X=S(Q.options.packageId)??S(Q.options["package-id"]),Z=u6(Q.options.packageIds)??u6(Q.options["package-ids"])??(X?[X]:void 0),q=u6(Q.options.flowIds)??u6(Q.options["flow-ids"])??u6(Q.options.documentSn)??u6(Q.options["document-sn"]),V=S(Q.options.signKey)??S(Q.options["sign-key"])??S(Q.options.integration),F=F0(Q.options.noWait)??F0(Q.options["no-wait"]);await k0("seal_simulation_batch_create",z,U,{mode:I,sourceSystem:I,flowIds:q,documentSn:q,rejectNodeName:S(Q.options.rejectNode)??S(Q.options["reject-node"])??null,thinkingDepthOverride:S(Q.options.thinkingDepth)??S(Q.options["thinking-depth"]),skipInvoiceGeneration:F0(Q.options.skipInvoiceGeneration)??F0(Q.options["skip-invoice-generation"]),skipExpenseExtraction:F0(Q.options.skipExpenseExtraction)??F0(Q.options["skip-expense-extraction"]),disableAttachmentCache:F0(Q.options.disableAttachmentCache)??F0(Q.options["disable-attachment-cache"]),signKey:V,packageIds:Z,packageId:X,templateId:S(Q.options.templateId)??S(Q.options["template-id"]),schemaConfig:G,requestIds:u6(Q.options.requestIds)??u6(Q.options["request-ids"]),workflowTypeId:S(Q.options.workflowTypeId)??S(Q.options["workflow-type-id"]),flowStatusList:u6(Q.options.flowStatusList)?.map(Number)??u6(Q.options["flow-status-list"])?.map(Number),businessCodes:u6(Q.options.businessCodes)??u6(Q.options["business-codes"]),documentType:S(Q.options.documentType)??S(Q.options["document-type"]),startTime:s0(Q.options.startTime)??s0(Q.options["start-time"]),endTime:s0(Q.options.endTime)??s0(Q.options["end-time"]),status:u6(Q.options.status),limit:s0(Q.options.limit),noWait:F,rawParams:H},C0(Q.options));return}if($==="wait"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation wait [--timeout 10m] [--poll-interval 2s]");await k0("seal_simulation_batch_wait",z,U,{batchId:J,timeout:S(Q.options.timeout),pollInterval:S(Q.options.pollInterval)??S(Q.options["poll-interval"])},C0(Q.options));return}if($==="status"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation status ");await k0("seal_simulation_batch_status",z,U,{batchId:J},C0(Q.options));return}if($==="clean"||$==="delete"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation clean ");await k0("seal_simulation_batch_clean",z,U,{batchId:J},C0(Q.options));return}if($==="specifications"){let J=Y??S(Q.options.integration)??S(Q.options.signKey)??S(Q.options["sign-key"]);await k0("seal_simulation_specifications_list",z,U,{signKey:J},C0(Q.options));return}if($==="approval-definitions"||$==="definitions"){await k0("seal_simulation_feishu_approval_definitions_list",z,U,{},C0(Q.options));return}if($==="list"){await k0("seal_simulation_batches_list",z,U,{limit:s0(Q.options.limit)},C0(Q.options));return}if($==="get"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation get ");await k0("seal_simulation_batch_get",z,U,{batchId:J},C0(Q.options));return}if($==="templates"){await k0("seal_simulation_templates_get",z,U,{},C0(Q.options));return}if($==="integrations"){await k0("seal_simulation_integrations_get",z,U,{},C0(Q.options));return}if($==="package-upload"){let J=Y??S(Q.options.file);if(!J)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!mS1(J))throw Error(`File not found: ${J}`);await k0("seal_simulation_material_package_upload",z,U,{filePath:J},C0(Q.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}var DS0=o(()=>{o4();D4();J4()});import{existsSync as BS0}from"node:fs";import{join as ST}from"node:path";function PS0($,Y,z){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${vh0()} -`);return}if($==="install"||$==="init"||$==="sync"){let U=F0(z.options.local)||F0(z.options.workspace),Q=S(z.options.dir)??S(z.options.target)??Y,J=Q?Q:U?ST(process.cwd(),".agents","skills","seal-use"):hU(),I=cl(J);c0({installed:!0,targetDir:I.targetDir,fileCount:I.files.length,files:I.files});return}if($==="status"||$==="get"||!$){let U=hU(),Q=ST(process.cwd(),".agents","skills","seal-use");c0({global:{dir:U,installed:BS0(ST(U,"SKILL.md"))},local:{dir:Q,installed:BS0(ST(Q,"SKILL.md"))}});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}var AS0=o(()=>{Nq();D4();J4()});async function TS0($,Y){if($==="config"){c0(await yK(Y));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}var jS0=o(()=>{OT();J4()});function Ko($){if(typeof $!=="string"||!$.trim())return"UNKNOWN";let Y=$.toUpperCase().trim();if(Y==="APPROVE"||Y==="PASS")return"APPROVE";if(Y==="REJECT"||Y==="DENIED")return"REJECT";if(Y==="MANUAL"||Y==="ASSISTED")return"MANUAL";if(Y==="ERROR"||Y==="FAILED")return"ERROR";return Y}async function ES0($){let{sourceCorp:Y,targetCorp:z,sourceClient:U,targetClient:Q,samples:J=10,dryRun:I=!1,pollIntervalMs:K=2000,timeoutMs:G=45000,snPrefix:W="REG_",fetchFn:H=fetch}=$;if(z.environment!=="test")throw new w4(`重放目标企业「${z.name}」(${z.id}) 的环境为「${z.environment}」,非测试环境! +`);Q(U)})})}var CT=8787,RT="127.0.0.1";var al=o(()=>{sh0();t9()});async function ah0($){let Y=s0($.options.port)??s0($.options.p),z=S($.options.host)??S($.options.h),U=await _T({port:Y,host:z}),Q=()=>{U.close(()=>{process.exit(0)})};process.on("SIGINT",Q),process.on("SIGTERM",Q),await new Promise(()=>{})}var th0=o(()=>{D4();al()});async function eh0($,Y,z,U){if($==="config"||$==="get"){await k0("seal_llm_config_get",Y,z,{},C0(U.options));return}if($==="providers"||$==="list"){await k0("seal_llm_providers_list",Y,z,{},C0(U.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}var $S0=o(()=>{o4();J4()});async function YS0($,Y){if($==="config"||$==="json"){tl();return}let{startServer:z}=await QS0().then(() => US0);z()}function tl(){c0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}var zS0=o(()=>{J4()});function JS0($){let Y=TT();c0(Y,{...C0($.options),allowFull:!0})}var IS0=o(()=>{rl();J4()});async function KS0($,Y,z,U){if($==="available"){await k0("seal_permissions_available_list",Y,z,{},C0(U.options));return}if($==="configs"||$==="list"){await k0("seal_permissions_configs_list",Y,z,{},C0(U.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}var GS0=o(()=>{o4();J4()});import{readFileSync as WS0}from"node:fs";async function HS0($,Y,z,U,Q,J,I){if(!$||$==="get"){await k0("seal_preference_get",Q,J,{},C0(I.options));return}if($==="decision"){if(Y==="update"||!Y){let K=S(I.options.input),G=K?JSON.parse(WS0(K,"utf8")):y8(I.json);if(!G||Object.keys(G).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await k0("seal_preference_decision_update",Q,J,{...G,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(Y==="set"){let K=S(I.options.default)??S(I.options.level)??U;if(K!=="medium"&&K!=="high")throw Error("Usage: seal-use preference thinking-depth set --default ");await k0("seal_preference_thinking_depth_set",Q,J,{defaultLevel:K,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}if(Y==="policies"){if(z==="list"||!z){await k0("seal_preference_thinking_depth_policies_list",Q,J,{},C0(I.options));return}if(z==="upsert"){let K=S(I.options.input),G=K?JSON.parse(WS0(K,"utf8")):y8(I.json);if(!G||!G.id||!G.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await k0("seal_preference_thinking_depth_policies_upsert",Q,J,{...G,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}if(z==="remove"||z==="delete"){let K=U??S(I.options.id)??S(I.options.policyId);if(!K)throw Error("Usage: seal-use preference thinking-depth policies remove ");await k0("seal_preference_thinking_depth_policies_remove",Q,J,{policyId:K,dryRun:F0(I.options.dryRun)??F0(I.options["dry-run"])},C0(I.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}var XS0=o(()=>{o4();D4();J4()});async function ZS0($={}){let Y=s8(),z=_4(),U=f2(Y,{stateful:z.stateful,defaultCorpId:z.defaultCorpId,corpId:$.corpId},h7());console.log(`[probe] corp=${U.id} source=${U.source.type}`);let Q=await yK(U);console.log("[probe] seal enterprise"),console.log(JSON.stringify(Q,null,2));let J=await j1(U),I=await ZM(J,{documentLimit:20,stylePreferencesEndpoint:U.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:I.rules.rules.length,hasPendingRuleDeletes:I.rules.hasPendingDeletes,documents:I.documents.articles.length,documentsTotal:I.documents.total,stylePreferences:I.stylePreferences.ok?"ok":`error: ${I.stylePreferences.error}`},null,2))}var qS0=o(()=>{S7();i8();DT();X6()});async function VS0($,Y,z){let U=Y??S(z.options.corp)??($&&$!=="--corp"?$:void 0);await ZS0({corpId:U})}var LS0=o(()=>{qS0();D4()});async function el($,Y,z,U,Q){if($==="count"){await k0("seal_approval_rules_list",z,U,{countOnly:!0},C0(Q.options));return}if($==="list"){if(F0(Q.options.count)){await k0("seal_approval_rules_list",z,U,{countOnly:!0},C0(Q.options));return}let J=s0(Q.options.limit),I=s0(Q.options.offset);if(F0(Q.options.summary)){await k0("seal_approval_rules_list",z,U,{fields:tR0,limit:J,offset:I},C0(Q.options));return}let K=await o2("seal_approval_rules_list",z,U,{limit:J,offset:I});eR0(K,F0(Q.options.full)===!0),c0(K);return}if($==="clear"){let J=F0(Q.options.yes)===!0,I=F0(Q.options.dryRun)??F0(Q.options["dry-run"])??!J;if(!J&&!I)throw D9("Refusing to clear rules without --yes. Use --dry-run to preview.",`seal-use rules clear --corp ${U.id} --dry-run`);let K=await o2("seal_approval_rules_clear",z,U,{dryRun:I,recode:F0(Q.options.recode)});if(!J&&I&&K&&typeof K==="object"){c0({...K,nextCommand:`seal-use rules clear --corp ${U.id} --yes`},C0(Q.options));return}c0(K,C0(Q.options));return}if($==="versions"){await k0("seal_approval_rule_versions_list",z,U,{},C0(Q.options));return}if($==="version"){let J=Y??S(Q.options.version);if(!J)throw Error("Usage: seal-use rules version ");await k0("seal_approval_rule_version_get",z,U,vK(J),C0(Q.options));return}if($==="get"){await k0("seal_approval_rule_get",z,U,{...Ol(S(Q.options.version)),code:S(Q.options.code),runtimeId:S(Q.options.runtimeId)??S(Q.options["runtime-id"]),recordId:S(Q.options.recordId)??S(Q.options["record-id"])},C0(Q.options));return}if($==="search"){let J=Y??S(Q.options.query);if(!J)throw Error("Usage: seal-use rules search [--version ]");await k0("seal_approval_search",z,U,{keywords:[J],areas:["rules"],maxResults:s0(Q.options.maxResults),contextLines:s0(Q.options.contextLines),refresh:F0(Q.options.refresh),snippetOnly:F0(Q.options.snippetOnly)??F0(Q.options["snippet-only"]),maxChars:s0(Q.options.maxChars)??s0(Q.options["max-chars"]),fields:u6(Q.options.fields),...wl(S(Q.options.version))},C0(Q.options));return}if($==="pull"){let J=S(Q.options.version)??Y,I=S(Q.options.out)??S(Q.options.file)??S(Q.options.f);await k0("seal_approval_rules_pull",z,U,{version:J,out:I},C0(Q.options));return}if($==="push"){let J=S(Q.options.file)??S(Q.options.f)??Y,I=F0(Q.options.yes)===!0,K=F0(Q.options.dryRun)??F0(Q.options["dry-run"])??!I,G=F0(Q.options.publish),W=S(Q.options.versionName)??S(Q.options["version-name"]),H=await o2("seal_approval_rules_push",z,U,{file:J,dryRun:K,confirm:I,publish:G,versionName:W});if(!I&&K&&H&&typeof H==="object"){c0({...H,nextCommand:`seal-use rules push --file ${J??"./rules.local.json"} --corp ${U.id} --yes${G?" --publish":""}`},C0(Q.options));return}c0(H,C0(Q.options));return}if($==="lint"){await k0("seal_approval_rules_lint",z,U,{file:S(Q.options.file)??S(Q.options.f),linter:S(Q.options.linter),version:S(Q.options.version),code:S(Q.options.code),ruleId:S(Q.options.rule)??Y,minScore:s0(Q.options.minScore)??s0(Q.options["min-score"]),level:S(Q.options.level),summary:F0(Q.options.summary)},C0(Q.options));return}if($==="linters"||$==="linter-list"){let J=LB0();c0({primaryDirectory:b$,officialDirectory:i$,totalLinters:J.length,linters:J},C0(Q.options));return}if($==="map"){let J=S(Q.options.version)??Y,I=S(Q.options.code)??S(Q.options.rule),K=Ev0(U.id,J);if(!K){let W=J?`version '${J}'`:"latest version";c0({error:`No local rule mapping found for enterprise '${U.name}' (${U.id}) ${W}. Run 'seal-use corps sync-test --yes' to synchronize and generate mapping snapshots.`,corpId:U.id,version:J??"latest"},C0(Q.options));return}let G=Cv0(K.ruleMapping,I);c0({corpId:U.id,syncedAt:K.syncedAt,source:K.source,target:K.target,versionMapping:K.versionMapping,totalRules:K.ruleMapping.length,matchedRules:G.length,rules:G},C0(Q.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, linters, pull, push, map. Run 'seal-use help' for available commands.`)}var FS0=o(()=>{gl();Hp();o4();L$();D4();J4()});import{spawn as iS1,execFileSync as cS1}from"node:child_process";import{existsSync as vT,mkdirSync as nS1,readFileSync as $o,rmSync as v9,writeFileSync as hT}from"node:fs";import{join as Yo}from"node:path";async function SU($,Y,z={}){switch($){case"run":await dS1(Y);return;case"start":return wS0(Y);case"stop":case"kill":case"down":case"shutdown":return MS0(Y,z);case"restart":return MS0(Y,{quiet:!0}),wS0(Y);case"logs":case"log":return pS1(Y,z.maxLines);case"status":case void 0:return xK(Y);default:throw Error("Usage: seal-use service ")}}function xK($){let Y=gT($),z=zo($),U=ST(Y),Q=U?OS0(U,$.appRoot):!1;if(!Q){if(U)v9(Y,{force:!0});if(vT(z))v9(z,{force:!0})}let J;if(Q&&vT(z))try{J=JSON.parse($o(z,"utf8"))}catch{}let I=$.port??J?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):CT),K=$.host??J?.host??(process.env.HOST?process.env.HOST:RT),G=$.version??J?.version;return{running:Q,pid:Q?U:void 0,version:G,port:I,host:K,url:Q?`http://${K}:${I}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:Y,logFile:Aq($)}}function pS1($,Y=50){let z=Aq($);if(!vT(z))return{logFile:z,lines:[],totalLines:0};let Q=$o(z,"utf8").split(` +`).filter(Boolean),J=Q.slice(-Y);return{logFile:z,lines:J,totalLines:Q.length}}async function dS1($){let Y=gT($),z=zo($),U=Aq($);NS0($.stateDir);let Q=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):CT),J=$.host??(process.env.HOST?process.env.HOST:RT);hT(Y,`${process.pid} +`,{mode:384}),hT(z,JSON.stringify({pid:process.pid,port:Q,host:J,version:$.version,startedAt:new Date().toISOString()},null,2),{mode:384}),kK(U,`service starting on http://${J}:${Q} pid=${process.pid}`);let I=null;try{I=await _T({port:Q,host:J,silent:!0}),kK(U,`service listening pid=${process.pid}`)}catch(G){if(kK(U,`service failed to bind port ${Q}: ${G instanceof Error?G.message:String(G)}`),ST(Y)===process.pid)v9(Y,{force:!0}),v9(z,{force:!0});throw G}let K=()=>{if(I)I.close(),I=null;if(ST(Y)===process.pid)v9(Y,{force:!0}),v9(z,{force:!0});kK(U,`stopped pid=${process.pid}`)};await new Promise((G)=>{let W=!1,H=()=>{if(W)return;W=!0,K(),process.off("SIGTERM",H),process.off("SIGINT",H),G()};process.once("SIGTERM",H),process.once("SIGINT",H)})}function wS0($){NS0($.stateDir);let Y=xK($);if(Y.running)return Y;let z=$.launcher??{command:process.execPath,args:[$.entryFile]},U=[...z.args??[],"service","run"];if($.port)U.push("--port",String($.port));if($.host)U.push("--host",String($.host));let Q=iS1(z.command,U,{cwd:$.appRoot,detached:!0,stdio:["ignore","ignore","ignore"],env:process.env});Q.unref();let J=gT($);return hT(J,`${Q.pid} +`,{mode:384}),kK(Aq($),`started pid=${Q.pid}`),{started:!0,...xK($)}}function MS0($,Y={}){let z=gT($),U=zo($),Q=ST(z);if(!Q||!OS0(Q,$.appRoot))return v9(z,{force:!0}),v9(U,{force:!0}),Y.quiet?void 0:{stopped:!1,reason:"not running"};return process.kill(Q,"SIGTERM"),v9(z,{force:!0}),v9(U,{force:!0}),kK(Aq($),`stop requested pid=${Q}`),Y.quiet?void 0:{stopped:!0,pid:Q}}function OS0($,Y){if(!mS1($))return!1;try{let z=cS1("ps",["-p",String($),"-o","command="],{encoding:"utf8"}),U=z.trim().split(/\s+/).filter(Boolean),Q=U.indexOf("service"),J=Q!==-1&&U[Q+1]==="run",I=z.includes(Y)||U.some((K)=>/(^|[\\/])(seal-use|seal-home)(\.exe)?$/.test(K));return J&&I}catch{return!1}}function mS1($){try{return process.kill($,0),!0}catch{return!1}}function gT($){return Yo($.stateDir,"service.pid")}function zo($){return Yo($.stateDir,"service.json")}function Aq($){return Yo($.stateDir,"service.log")}function ST($){if(!vT($))return;let Y=Number($o($,"utf8").trim());return Number.isInteger(Y)&&Y>0?Y:void 0}function NS0($){nS1($,{recursive:!0,mode:448})}function kK($,Y){hT($,`${new Date().toISOString()} ${Y} +`,{flag:"a",mode:384})}var Uo=o(()=>{al()});import{homedir as lS1}from"node:os";import{join as oS1}from"node:path";async function Jo($,Y,z){let U=z?s0(z.options.port)??s0(z.options.p):void 0,Q=z?S(z.options.host)??S(z.options.h):void 0,J=z?s0(z.options.lines)??s0(z.options.n):void 0,I=await SU($,{appRoot:Y.appRoot,entryFile:Y.entryFile,stateDir:Qo,version:P1,launcher:Y.launcher,port:U,host:Q},{maxLines:J});if(I!==void 0)c0(I)}var Qo;var Io=o(()=>{t9();Uo();J4();D4();Qo=oS1(lS1(),".config","seal-use")});import{existsSync as rS1,readFileSync as DS0}from"node:fs";async function BS0($,Y,z,U,Q){if($==="batch-records"||$==="records"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation batch-records ");await k0("seal_simulation_batch_records_get",z,U,{batchId:J,query:S(Q.options.query)},C0(Q.options));return}if($==="create"||$==="run"){let J=S(Q.options.mode)??S(Q.options.sourceSystem)??S(Q.options["source-system"])??"hosecloud",I=J==="material-pack"?"material_pack":J,K=S(Q.options.schemaConfig)??S(Q.options["schema-config"]),G=K?JSON.parse(DS0(K,"utf8")):void 0,W=S(Q.options.input),H=W?JSON.parse(DS0(W,"utf8")):y8(Q.json),X=S(Q.options.packageId)??S(Q.options["package-id"]),Z=u6(Q.options.packageIds)??u6(Q.options["package-ids"])??(X?[X]:void 0),q=u6(Q.options.flowIds)??u6(Q.options["flow-ids"])??u6(Q.options.documentSn)??u6(Q.options["document-sn"]),V=S(Q.options.signKey)??S(Q.options["sign-key"])??S(Q.options.integration),F=F0(Q.options.noWait)??F0(Q.options["no-wait"]);await k0("seal_simulation_batch_create",z,U,{mode:I,sourceSystem:I,flowIds:q,documentSn:q,rejectNodeName:S(Q.options.rejectNode)??S(Q.options["reject-node"])??null,thinkingDepthOverride:S(Q.options.thinkingDepth)??S(Q.options["thinking-depth"]),skipInvoiceGeneration:F0(Q.options.skipInvoiceGeneration)??F0(Q.options["skip-invoice-generation"]),skipExpenseExtraction:F0(Q.options.skipExpenseExtraction)??F0(Q.options["skip-expense-extraction"]),disableAttachmentCache:F0(Q.options.disableAttachmentCache)??F0(Q.options["disable-attachment-cache"]),signKey:V,packageIds:Z,packageId:X,templateId:S(Q.options.templateId)??S(Q.options["template-id"]),schemaConfig:G,requestIds:u6(Q.options.requestIds)??u6(Q.options["request-ids"]),workflowTypeId:S(Q.options.workflowTypeId)??S(Q.options["workflow-type-id"]),flowStatusList:u6(Q.options.flowStatusList)?.map(Number)??u6(Q.options["flow-status-list"])?.map(Number),businessCodes:u6(Q.options.businessCodes)??u6(Q.options["business-codes"]),documentType:S(Q.options.documentType)??S(Q.options["document-type"]),startTime:s0(Q.options.startTime)??s0(Q.options["start-time"]),endTime:s0(Q.options.endTime)??s0(Q.options["end-time"]),status:u6(Q.options.status),limit:s0(Q.options.limit),noWait:F,rawParams:H},C0(Q.options));return}if($==="wait"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation wait [--timeout 10m] [--poll-interval 2s]");await k0("seal_simulation_batch_wait",z,U,{batchId:J,timeout:S(Q.options.timeout),pollInterval:S(Q.options.pollInterval)??S(Q.options["poll-interval"])},C0(Q.options));return}if($==="status"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation status ");await k0("seal_simulation_batch_status",z,U,{batchId:J},C0(Q.options));return}if($==="clean"||$==="delete"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation clean ");await k0("seal_simulation_batch_clean",z,U,{batchId:J},C0(Q.options));return}if($==="specifications"){let J=Y??S(Q.options.integration)??S(Q.options.signKey)??S(Q.options["sign-key"]);await k0("seal_simulation_specifications_list",z,U,{signKey:J},C0(Q.options));return}if($==="approval-definitions"||$==="definitions"){await k0("seal_simulation_feishu_approval_definitions_list",z,U,{},C0(Q.options));return}if($==="list"){await k0("seal_simulation_batches_list",z,U,{limit:s0(Q.options.limit)},C0(Q.options));return}if($==="get"){let J=Y??S(Q.options.batchId)??S(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation get ");await k0("seal_simulation_batch_get",z,U,{batchId:J},C0(Q.options));return}if($==="templates"){await k0("seal_simulation_templates_get",z,U,{},C0(Q.options));return}if($==="integrations"){await k0("seal_simulation_integrations_get",z,U,{},C0(Q.options));return}if($==="package-upload"){let J=Y??S(Q.options.file);if(!J)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!rS1(J))throw Error(`File not found: ${J}`);await k0("seal_simulation_material_package_upload",z,U,{filePath:J},C0(Q.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}var PS0=o(()=>{o4();D4();J4()});import{existsSync as AS0}from"node:fs";import{join as yT}from"node:path";function TS0($,Y,z){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${vh0()} +`);return}if($==="install"||$==="init"||$==="sync"){let U=F0(z.options.local)||F0(z.options.workspace),Q=S(z.options.dir)??S(z.options.target)??Y,J=Q?Q:U?yT(process.cwd(),".agents","skills","seal-use"):hU(),I=cl(J);c0({installed:!0,targetDir:I.targetDir,fileCount:I.files.length,files:I.files});return}if($==="status"||$==="get"||!$){let U=hU(),Q=yT(process.cwd(),".agents","skills","seal-use");c0({global:{dir:U,installed:AS0(yT(U,"SKILL.md"))},local:{dir:Q,installed:AS0(yT(Q,"SKILL.md"))}});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}var jS0=o(()=>{Dq();D4();J4()});async function ES0($,Y){if($==="config"){c0(await yK(Y));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}var CS0=o(()=>{DT();J4()});function Ko($){if(typeof $!=="string"||!$.trim())return"UNKNOWN";let Y=$.toUpperCase().trim();if(Y==="APPROVE"||Y==="PASS")return"APPROVE";if(Y==="REJECT"||Y==="DENIED")return"REJECT";if(Y==="MANUAL"||Y==="ASSISTED")return"MANUAL";if(Y==="ERROR"||Y==="FAILED")return"ERROR";return Y}async function RS0($){let{sourceCorp:Y,targetCorp:z,sourceClient:U,targetClient:Q,samples:J=10,dryRun:I=!1,pollIntervalMs:K=2000,timeoutMs:G=45000,snPrefix:W="REG_",fetchFn:H=fetch}=$;if(z.environment!=="test")throw new w4(`重放目标企业「${z.name}」(${z.id}) 的环境为「${z.environment}」,非测试环境! `+"硬性安全规定:自动化回归测试矩阵严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${Y.id} `);let X=await bY(Q),q=(Array.isArray(X.features)?X.features:[]).find((d)=>d?.code==="ai-approval"),V=typeof q?.balance==="number"?q.balance:0,F=typeof q?.deductionAmount==="number"&&q.deductionAmount>0?q.deductionAmount:120,M=J*F;if(V{let $0=t.sourceDocumentSN??t.id,g=t?.result?.decision??t.aiDecision??t?.decision,p=Ko(g),e=t?.result?.summary??t.aiSummary;return{sn:$0,sourceRecordId:t.id,prodDecision:p,prodSummary:e,status:"DRY_RUN"}});return{ok:!0,verdict:"DRY_RUN",safeToPublish:!0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:z.id,name:z.name,environment:z.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:V,deductionAmount:F,estimatedRequired:M},metrics:{sampleCount:d.length,successCount:d.length,failureCount:0,matchCount:d.length,flipCount:0,concordanceRate:1},flips:[],records:d}}let D=await Yp(Q,z),N=[];for(let d of O){let t=Date.now(),$0=d.sourceDocumentSN??d.id,g=Ko(d?.result?.decision??d.aiDecision??d?.decision),p=d?.result?.summary??d.aiSummary;try{let e=await G4(U,d.id),y=`${W}${$0}`,s=en(e,{snPrefix:W,docIdPrefix:W});await $p(D.incomingDocumentWebhook.url,D.secret,s,H,B6(z.seal));let Y0=null,M0=Date.now();while(Date.now()-M0setTimeout(H0,K));let a=await b4(Q,{sourceDocumentSN:y,limit:1});if(a.records&&a.records.length>0){let H0=a.records[0];if(H0.status==="completed"||H0.status==="failed"){Y0=H0;break}}}if(!Y0){N.push({sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,status:"FAILED",error:`测试租户单据审核超时 (${Math.round(G/1000)}s 未完成)`,durationMs:Date.now()-t});continue}let E0=Ko(Y0?.result?.decision??Y0.aiDecision??Y0?.decision??(Y0.status==="completed"?"APPROVE":"ERROR")),G0=Y0?.result?.summary??Y0.aiSummary,T0=g===E0,b0=T0?"MATCHED":"FLIPPED",Y1={sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,testRecordId:Y0.id,testDecision:E0,testSummary:G0,status:b0,durationMs:Date.now()-t};if(!T0)Y1.diff={from:g,to:E0,reasonDiff:G0&&p&&G0!==p?`生产: ${p.slice(0,60)}... -> 测试: ${G0.slice(0,60)}...`:void 0};N.push(Y1)}catch(e){N.push({sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,status:"FAILED",error:e instanceof Error?e.message:String(e),durationMs:Date.now()-t})}}let A=N.filter((d)=>d.status==="MATCHED"||d.status==="FLIPPED"),T=N.filter((d)=>d.status==="MATCHED"),B=N.filter((d)=>d.status==="FLIPPED"),j=N.filter((d)=>d.status==="FAILED").length,C=T.length,b=B.length,k=C+b,h=k>0?C/k:0,i=b>0,c=i?"REGRESSIONS_DETECTED":"CLEAN",U0=!i&&j===0,x;try{let d=await bY(Q),$0=(Array.isArray(d.features)?d.features:[]).find((g)=>g?.code==="ai-approval");if(typeof $0?.balance==="number")x=$0.balance}catch{}return{ok:!i&&j===0,verdict:c,safeToPublish:U0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:z.id,name:z.name,environment:z.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:V,deductionAmount:F,estimatedRequired:M,balanceAfter:x},metrics:{sampleCount:N.length,successCount:A.length,failureCount:j,matchCount:C,flipCount:b,concordanceRate:Number(h.toFixed(4))},flips:B,records:N}}function CS0($){let{sourceCorp:Y,targetCorp:z,verdict:U,safeToPublish:Q,metrics:J,quota:I,flips:K,records:G}=$,W=U==="CLEAN"?"\uD83D\uDFE2 决策完全一致 (CLEAN - 无回归)":U==="DRY_RUN"?"⚪ 预演模式 (DRY-RUN)":"\uD83D\uDD34 发现决策翻转 (REGRESSIONS_DETECTED)",H=["",`\uD83E\uDDEA [Seal Use Test] 规则回归测试矩阵: 生产「${Y.name}」-> 测试靶场「${z.name}」`,` 判定: ${W} · 准许发布: ${Q?"YES (可安全上线)":"NO (存在行为偏离/待复核)"}`," "+"─".repeat(65),` 样本总数: ${J.sampleCount} | 一致通过: ${J.matchCount} | 决策翻转: ${J.flipCount} | 异常失败: ${J.failureCount}`,` 一致率: ${(J.concordanceRate*100).toFixed(1)}% | 消耗预估: ${I.estimatedRequired} 点 (余量: ${I.balanceBefore}${I.balanceAfter!==void 0?` -> ${I.balanceAfter}`:""})`," "+"─".repeat(65)];if(K.length>0){H.push(` ⚠️ 决策翻转清单 (${K.length} 笔单据在新规则下结果改变):`);for(let X of K)if(H.push(` • 单据 [${X.sn}]: 原生产判定「${X.prodDecision}」 ➔ 测试新判定「${X.testDecision}」`),X.diff?.reasonDiff)H.push(` 理由差异: ${X.diff.reasonDiff}`);H.push(" "+"─".repeat(65)),H.push(" \uD83D\uDC49 建议: 请检查上述翻转单据是否符合预期修正。若为意外误杀,请调整测试环境规则后再次回归。")}else if(U==="CLEAN")H.push(" ✓ 全部样本在新规则下的审核决策与生产历史 100% 吻合,无任何意外误杀或漏判。"),H.push(" \uD83D\uDC49 下一步操作: seal-use deploy hosecloud sync 或发布正式版本");return H.push(""),H.join(` -`)}var RS0=o(()=>{L$();X6();CZ()});async function Go($,Y,z){let U=($??Y??"regression").toLowerCase();if(U==="regression"||U==="regress"||U==="matrix"){let Q=S(z.options.corp)??(Y&&Y!==U?Y:void 0),J=E1(Q),I=J,K=J;if(J.environment==="test"){K=J;let O=S(z.options["prod-corp"])??S(z.options.prod)??J.prodCorpId;if(!O)throw new w4(`测试企业「${J.name}」(${J.id}) 未绑定生产母企业,无法拉取历史样本。 +`+"为防止测试环境额度耗尽中断业务,已硬性拦截并拒绝发起测试单据注入。",2,`请为测试企业「${z.id}」充值 AI 审批额度,或降低抽样笔数 (--samples ${Math.max(1,Math.floor(V/F))})`);let w=await b4(U,{limit:J,status:"completed"}),O=Array.isArray(w.records)?w.records:[];if(O.length===0){let d=await b4(U,{limit:J});O=Array.isArray(d.records)?d.records:[]}if(O.length===0)throw new w4(`在母企业「${Y.name}」(${Y.id}) 中未检索到任何历史审批单据,无法抽取回归样本。`,2);if(O=O.slice(0,J),I){let d=O.map((t)=>{let $0=t.sourceDocumentSN??t.id,g=t?.result?.decision??t.aiDecision??t?.decision,p=Ko(g),e=t?.result?.summary??t.aiSummary;return{sn:$0,sourceRecordId:t.id,prodDecision:p,prodSummary:e,status:"DRY_RUN"}});return{ok:!0,verdict:"DRY_RUN",safeToPublish:!0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:z.id,name:z.name,environment:z.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:V,deductionAmount:F,estimatedRequired:M},metrics:{sampleCount:d.length,successCount:d.length,failureCount:0,matchCount:d.length,flipCount:0,concordanceRate:1},flips:[],records:d}}let N=await Yp(Q,z),D=[];for(let d of O){let t=Date.now(),$0=d.sourceDocumentSN??d.id,g=Ko(d?.result?.decision??d.aiDecision??d?.decision),p=d?.result?.summary??d.aiSummary;try{let e=await G4(U,d.id),y=`${W}${$0}`,s=en(e,{snPrefix:W,docIdPrefix:W});await $p(N.incomingDocumentWebhook.url,N.secret,s,H,B6(z.seal));let Y0=null,M0=Date.now();while(Date.now()-M0setTimeout(H0,K));let a=await b4(Q,{sourceDocumentSN:y,limit:1});if(a.records&&a.records.length>0){let H0=a.records[0];if(H0.status==="completed"||H0.status==="failed"){Y0=H0;break}}}if(!Y0){D.push({sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,status:"FAILED",error:`测试租户单据审核超时 (${Math.round(G/1000)}s 未完成)`,durationMs:Date.now()-t});continue}let E0=Ko(Y0?.result?.decision??Y0.aiDecision??Y0?.decision??(Y0.status==="completed"?"APPROVE":"ERROR")),G0=Y0?.result?.summary??Y0.aiSummary,T0=g===E0,b0=T0?"MATCHED":"FLIPPED",Y1={sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,testRecordId:Y0.id,testDecision:E0,testSummary:G0,status:b0,durationMs:Date.now()-t};if(!T0)Y1.diff={from:g,to:E0,reasonDiff:G0&&p&&G0!==p?`生产: ${p.slice(0,60)}... -> 测试: ${G0.slice(0,60)}...`:void 0};D.push(Y1)}catch(e){D.push({sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,status:"FAILED",error:e instanceof Error?e.message:String(e),durationMs:Date.now()-t})}}let T=D.filter((d)=>d.status==="MATCHED"||d.status==="FLIPPED"),A=D.filter((d)=>d.status==="MATCHED"),B=D.filter((d)=>d.status==="FLIPPED"),j=D.filter((d)=>d.status==="FAILED").length,C=A.length,b=B.length,k=C+b,h=k>0?C/k:0,i=b>0,c=i?"REGRESSIONS_DETECTED":"CLEAN",U0=!i&&j===0,x;try{let d=await bY(Q),$0=(Array.isArray(d.features)?d.features:[]).find((g)=>g?.code==="ai-approval");if(typeof $0?.balance==="number")x=$0.balance}catch{}return{ok:!i&&j===0,verdict:c,safeToPublish:U0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:z.id,name:z.name,environment:z.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:V,deductionAmount:F,estimatedRequired:M,balanceAfter:x},metrics:{sampleCount:D.length,successCount:T.length,failureCount:j,matchCount:C,flipCount:b,concordanceRate:Number(h.toFixed(4))},flips:B,records:D}}function _S0($){let{sourceCorp:Y,targetCorp:z,verdict:U,safeToPublish:Q,metrics:J,quota:I,flips:K,records:G}=$,W=U==="CLEAN"?"\uD83D\uDFE2 决策完全一致 (CLEAN - 无回归)":U==="DRY_RUN"?"⚪ 预演模式 (DRY-RUN)":"\uD83D\uDD34 发现决策翻转 (REGRESSIONS_DETECTED)",H=["",`\uD83E\uDDEA [Seal Use Test] 规则回归测试矩阵: 生产「${Y.name}」-> 测试靶场「${z.name}」`,` 判定: ${W} · 准许发布: ${Q?"YES (可安全上线)":"NO (存在行为偏离/待复核)"}`," "+"─".repeat(65),` 样本总数: ${J.sampleCount} | 一致通过: ${J.matchCount} | 决策翻转: ${J.flipCount} | 异常失败: ${J.failureCount}`,` 一致率: ${(J.concordanceRate*100).toFixed(1)}% | 消耗预估: ${I.estimatedRequired} 点 (余量: ${I.balanceBefore}${I.balanceAfter!==void 0?` -> ${I.balanceAfter}`:""})`," "+"─".repeat(65)];if(K.length>0){H.push(` ⚠️ 决策翻转清单 (${K.length} 笔单据在新规则下结果改变):`);for(let X of K)if(H.push(` • 单据 [${X.sn}]: 原生产判定「${X.prodDecision}」 ➔ 测试新判定「${X.testDecision}」`),X.diff?.reasonDiff)H.push(` 理由差异: ${X.diff.reasonDiff}`);H.push(" "+"─".repeat(65)),H.push(" \uD83D\uDC49 建议: 请检查上述翻转单据是否符合预期修正。若为意外误杀,请调整测试环境规则后再次回归。")}else if(U==="CLEAN")H.push(" ✓ 全部样本在新规则下的审核决策与生产历史 100% 吻合,无任何意外误杀或漏判。"),H.push(" \uD83D\uDC49 下一步操作: seal-use deploy hosecloud sync 或发布正式版本");return H.push(""),H.join(` +`)}var vS0=o(()=>{L$();X6();RZ()});async function Go($,Y,z){let U=($??Y??"regression").toLowerCase();if(U==="regression"||U==="regress"||U==="matrix"){let Q=S(z.options.corp)??(Y&&Y!==U?Y:void 0),J=E1(Q),I=J,K=J;if(J.environment==="test"){K=J;let O=S(z.options["prod-corp"])??S(z.options.prod)??J.prodCorpId;if(!O)throw new w4(`测试企业「${J.name}」(${J.id}) 未绑定生产母企业,无法拉取历史样本。 `+"请建立绑定或通过 --prod-corp 参数指定生产企业来源。",2,`seal-use corps bind-test ${J.id}`);I=E1(O)}else{I=J;let O=S(z.options["test-corp"])??S(z.options.test)??J.testCorpId;if(!O)throw new w4(`生产企业「${J.name}」(${J.id}) 未绑定测试靶场企业。 -`+"硬性规定:回归测试严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${J.id} `);K=E1(O)}let G=await j1(I),W=await j1(K),H=s0(z.options.samples)??s0(z.options.limit)??s0(z.options.n)??10,X=F0(z.options["dry-run"]),Z=F0(z.options["fail-on-flips"]),q=s0(z.options["poll-interval"])??2000,V=s0(z.options.timeout)??45000,F=S(z.options["sn-prefix"])??"REG_",M=await ES0({sourceCorp:I,targetCorp:K,sourceClient:G,targetClient:W,samples:H,dryRun:X,pollIntervalMs:q,timeoutMs:V,snPrefix:F,failOnFlips:Z});if(!(F0(z.options.quiet)||F0(z.options.silent)))console.error(CS0(M));if(c0(M),Z&&!M.ok)throw new w4(`回归测试发现 ${M.metrics.flipCount} 笔单据决策翻转,已按 --fail-on-flips 策略非零终止。`,1);return}throw new w4(`未知的 test 子命令: "${U}"。 -可用子命令: seal-use test regression [--corp ] [--samples ] [--dry-run]`,2,"seal-use test regression --help")}var _S0=o(()=>{L$();o4();D4();J4();i8();RS0()});async function vS0($,Y,z,U){if(!$)throw Error("Usage: seal-use tool [--json '{...}']");await k0($,Y,z,y8(U.json),C0(U.options))}var hS0=o(()=>{o4();D4();J4()});function SS0(){c0(Wq.map(($)=>({name:$.name,description:$.description})))}var gS0=o(()=>{Xq();J4()});function gT($=process.execPath,Y=import.meta.url){if(Y.includes("/$bunfs/")||Y.includes("\\$bunfs\\"))return!0;let z=$.toLowerCase().replace(/\\/g,"/");return!z.endsWith("/bun")&&!z.endsWith("/bun.exe")&&!z.endsWith("/node")&&!z.endsWith("/node.exe")}var yS0=o(()=>{Nq()});import{chmodSync as lS1,mkdirSync as oS1,renameSync as Wo,rmSync as rS1,unlinkSync as bS0,writeFileSync as kS0}from"node:fs";import{dirname as sS1,join as xS0}from"node:path";import{spawnSync as gU}from"node:child_process";async function cS0($,Y={}){let z={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:Qo,version:P1,launcher:$.launcher},U=Y.repo||process.env[aS1]?.trim()||process.env[tS1]?.trim()||iS0,Q=Y.targetVersion?.trim(),J=Q&&Q.toLowerCase()!=="latest"?Q:void 0;if(J){let N=J.replace(/^v/,""),A=nS0(N,P1);if(A<0)if(!_S&&Y.force);else{c0({updated:!1,currentVersion:P1,targetVersion:N,mode:gT()?"binary":"source",message:!_S?`Cannot downgrade seal-use from dev build v${P1} to release v${N}. Use --force to overwrite.`:`Cannot downgrade seal-use from v${P1} to older version v${N}. Updates must be forward-only.`});return}if(A===0&&!Y.force){c0({updated:!1,currentVersion:P1,targetVersion:N,mode:gT()?"binary":"source",message:`seal-use is already at version v${P1}. Use --force to reinstall.`});return}}if(Y.changelogOnly){let N=await Ho(U,Y.limit??10);c0({currentVersion:P1,totalQueried:N.length,releases:N.map((A)=>({version:A.version,tagName:A.tagName,publishedAt:A.publishedAt,author:A.author,releaseNotes:A.notes,releaseUrl:A.htmlUrl,isCurrent:A.version===P1,isNewer:Aq(A.version,P1)}))});return}if(!gT()){if(Y.checkOnly){let A=await Ho(U,30),T=A[0],B=T?.version??P1,j=A.find((k)=>k.version===P1),C=Aq(B,P1),b=A.filter((k)=>Aq(k.version,P1));c0({updated:!1,updateAvailable:C,currentVersion:P1,currentVersionPublishedAt:j?.publishedAt,latestVersion:B,latestVersionPublishedAt:T?.publishedAt,behindCount:b.length,pendingReleases:b.map((k)=>({version:k.version,tagName:k.tagName,publishedAt:k.publishedAt,author:k.author,releaseNotes:k.notes,releaseUrl:k.htmlUrl})),releaseNotes:T?.notes??"",releaseUrl:T?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let N=xK(z).running;if(N)await SU("stop",z);try{uS0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(A){console.error(`git pull skipped: ${A instanceof Error?A.message:String(A)}`)}if(uS0("bun",["install"],{cwd:$.appRoot}),N)await SU("start",z);c0({updated:!0,serviceRestarted:N,version:P1,mode:"source"});return}let I=eS1(),K=$g1(),G=await Ho(U,30),W=J?G.find((N)=>N.version===J||N.tagName===J||N.tagName===`v${J}`)??await fS0(U,J):G[0]??await fS0(U);if(!W){c0({updated:!1,currentVersion:P1,mode:"binary",message:`Failed to query releases from repository '${U}'`});return}let H=W.version,X=G.find((N)=>N.version===P1),Z=Aq(H,P1),q=Z||Boolean(Y.force),V=G.filter((N)=>Aq(N.version,P1));if(Y.checkOnly){c0({updated:!1,updateAvailable:Z,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:H,latestVersionPublishedAt:W.publishedAt,behindCount:V.length,pendingReleases:V.map((N)=>({version:N.version,tagName:N.tagName,publishedAt:N.publishedAt,author:N.author,releaseNotes:N.notes,releaseUrl:N.htmlUrl})),releaseNotes:W.notes,releaseUrl:W.htmlUrl,mode:"binary"});return}if(!q){c0({updated:!1,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:H,latestVersionPublishedAt:W.publishedAt,mode:"binary",message:`seal-use is already up to date (v${P1})`});return}let F=Yg1(W.assets,I,K);if(!F)throw Error(`No compatible binary found for ${I}-${K} in release v${H}. Available assets: ${W.assets.map((N)=>N.name).join(", ")}`);let M=xK(z).running;if(M)await SU("stop",z);let w=process.execPath,O=sS1(w),D=xS0(O,`.tmp-update-${Date.now()}`);oS1(D,{recursive:!0});try{let N=xS0(D,F.name);await zg1(F.downloadUrl,N,W.tagName,F.name);let A=N;if(F.name.endsWith(".tar.gz")||F.name.endsWith(".tgz"))A=Ug1(N,D,I);else if(F.name.endsWith(".zip"))A=Qg1(N,D,I);if(lS1(A,493),process.platform==="darwin")try{gU("/usr/bin/codesign",["--remove-signature",A],{stdio:"ignore"}),gU("/usr/bin/codesign",["--force","--sign","-",A],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let B=`${w}.old.${Date.now()}`;try{Wo(w,B)}catch{}Wo(A,w)}else Wo(A,w);if(M)await SU("start",z);let T=nl();c0({updated:!0,fromVersion:P1,toVersion:H,serviceRestarted:M,skillSynced:T.synced?T.targetDir:!1,mode:"binary"})}finally{try{rS1(D,{recursive:!0,force:!0})}catch{}}}function eS1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function $g1(){return process.arch==="arm64"?"arm64":"x64"}function Xo(){let $=(process.env.SEAL_USE_MIRROR||process.env.SEAL_HOME_MIRROR)?.trim().toLowerCase();if($==="github"||$==="gitea")return $;if(process.env.CI)return"github";return"auto"}async function Ho($,Y=20){let z=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,U={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...z?{Authorization:`Bearer ${z}`}:{}},Q=Xo(),J=[];if(Q!=="github")J.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${Y}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${Y}`);if(Q!=="gitea"){if(J.push(`https://api.github.com/repos/${$}/releases?per_page=${Y}`),$!==Tq)J.push(`https://api.github.com/repos/${Tq}/releases?per_page=${Y}`)}for(let I of J)try{let K=await fetch(I,{headers:U,signal:AbortSignal.timeout(3000)});if(!K.ok)continue;let G=await K.json();if(!Array.isArray(G)||G.length===0)continue;let W=[];for(let H of G){let X=H.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(H.assets??[]).map((V)=>({name:V.name,downloadUrl:V.browser_download_url,size:V.size??0}));W.push({version:Z,tagName:X,name:H.name??X,publishedAt:H.published_at,author:H.author?.login,notes:H.body??"",htmlUrl:H.html_url??"",assets:q})}if(W.length>0)return W}catch{}return[]}async function fS0($,Y){let z=Y?Y.startsWith("v")?Y:`v${Y}`:void 0,U=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,Q={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...U?{Authorization:`Bearer ${U}`}:{}},J=Xo(),I=[];if(J!=="github")I.push(z?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${z}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",z?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${z}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(J!=="gitea"){if(I.push(z?`https://api.github.com/repos/${$}/releases/tags/${z}`:`https://api.github.com/repos/${$}/releases/latest`),$!==Tq)I.push(z?`https://api.github.com/repos/${Tq}/releases/tags/${z}`:`https://api.github.com/repos/${Tq}/releases/latest`)}let K;for(let G of I)try{let W=await fetch(G,{headers:Q,signal:AbortSignal.timeout(3000)});if(!W.ok)continue;let H=await W.json(),X=H.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(H.assets??[]).map((F)=>({name:F.name,downloadUrl:F.browser_download_url,size:F.size??0})),V={version:Z,tagName:X,name:H.name??X,publishedAt:H.published_at,author:H.author?.login,notes:H.body??"",htmlUrl:H.html_url??"",assets:q};if(q.length>0)return V;if(!K)K=V}catch{}return K}function Yg1($,Y,z){let U={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},Q={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},J=U[Y]||[],I=Q[z]||[],K=$.filter((H)=>{let X=H.name.toLowerCase(),Z=J.some((V)=>X.includes(V)),q=I.some((V)=>X.includes(V));return Z&&q}),G=K.find((H)=>!H.name.endsWith(".tar.gz")&&!H.name.endsWith(".tgz")&&!H.name.endsWith(".zip")&&!H.name.endsWith(".sha256"));if(G)return G;return K.find((H)=>H.name.endsWith(".tar.gz")||H.name.endsWith(".tgz")||H.name.endsWith(".zip"))||K[0]}function yT($){try{process.stderr.write(`${$} -`)}catch{}}async function zg1($,Y,z,U){let Q=Xo(),J=[],I=z?z.startsWith("v")?z:`v${z}`:void 0,K=U||$.split("/").pop()||"";if(Q!=="github"){if(I&&K)J.push(`https://git.ying-qing.cn/gitea/seal-use/releases/download/${I}/${K}`,`https://git.ying-qing.cn/gitea/seal-home/releases/download/${I}/${K}`);if($.startsWith("https://git.ying-qing.cn"))J.push($)}if(Q!=="gitea")if(I&&K){let F=`https://github.com/${iS0}/releases/download/${I}/${K}`;if(!process.env.CI)J.push(`https://ghfast.top/${F}`,`https://gh.ddlc.top/${F}`);J.push(F)}else if($.includes("github.com")){if(!process.env.CI)J.push(`https://ghfast.top/${$}`,`https://gh.ddlc.top/${$}`);J.push($)}else J.push($);let G=Array.from(new Set(J)),W,H=6000,X=6000,Z=307200,q=1e4,V=180000;for(let F=0;F{O=B;try{w.abort()}catch{}},N=setTimeout(()=>{D("Connection timed out (no response headers within 6s)")},H),A,T;try{yT(`==> [${F+1}/${G.length}] Downloading via: ${M}`);let B=await fetch(M,{signal:w.signal});if(N)clearTimeout(N),N=void 0;if(!B.ok)throw Error(`HTTP ${B.status} ${B.statusText}`);A=setTimeout(()=>{D("Overall download time exceeded 3 minutes")},V);let j=Number(B.headers.get("content-length"))||0,C=B.body?.getReader();if(!C){let c=Buffer.from(await B.arrayBuffer());if(c.length<1000)throw Error(`Downloaded content is suspiciously small (${c.length} bytes)`);kS0(Y,c),yT(`✓ Download succeeded (${(c.length/1024/1024).toFixed(1)} MB)`);return}let b=[],k=0,h=0;T=setTimeout(()=>{if(k{U0=setTimeout(()=>{p(Error("Data transfer stalled (no chunk received for 10s)"))},q)}),d;try{d=await Promise.race([c,x])}finally{if(U0)clearTimeout(U0)}let{done:t,value:$0}=d;if(t)break;if($0){if(b.push($0),k+=$0.length,T&&k>=Z)clearTimeout(T),T=void 0;let g=Date.now();if(g-h>200){h=g;let p=j?Math.round(k/j*100):0,e=(k/1048576).toFixed(1),y=j?(j/1048576).toFixed(1):"?";try{process.stderr.write(`\r ↳ Progress: ${p}% (${e} / ${y} MB)...`)}catch{}}}}try{process.stderr.write(` -`)}catch{}let i=Buffer.concat(b);if(i.length<1000)throw Error(`Downloaded content is suspiciously small (${i.length} bytes)`);kS0(Y,i),yT(`✓ Download completed successfully (${(i.length/1024/1024).toFixed(1)} MB)`);return}catch(B){if(N)clearTimeout(N);if(T)clearTimeout(T);if(A)clearTimeout(A);let j=O||(B instanceof Error?B.message:String(B));W=Error(j),yT(` - ↳ Mirror failed: ${W.message}`)}finally{if(N)clearTimeout(N);if(T)clearTimeout(T);if(A)clearTimeout(A)}}throw Error(`Failed to download asset from all mirrors: ${W?.message}`)}function Ug1($,Y,z){let U=gU("tar",["-xzf",$,"-C",Y],{stdio:"pipe"});if(U.status!==0)throw Error(`Failed to extract tar archive: ${U.stderr.toString()}`);bS0($);let Q=z==="windows"?"seal-use.exe":"seal-use",J=gU("find",[Y,"-type","f"],{encoding:"utf8"}).stdout.trim().split(` -`).filter(Boolean),I=J.find((K)=>K.endsWith(`/${Q}`)||K.endsWith(Q));if(I)return I;return J[0]||$}function Qg1($,Y,z){let U=gU("unzip",["-q","-o",$,"-d",Y],{stdio:"pipe"});if(U.status!==0)throw Error(`Failed to extract zip archive: ${U.stderr.toString()}`);bS0($);let Q=z==="windows"?"seal-use.exe":"seal-use",J=gU("find",[Y,"-type","f"],{encoding:"utf8"}).stdout.trim().split(` -`).filter(Boolean),I=J.find((K)=>K.endsWith(`/${Q}`)||K.endsWith(Q));if(I)return I;return J[0]||$}function nS0($,Y){let z=$.replace(/^v/,"").split(".").map((Q)=>Number.parseInt(Q,10)||0),U=Y.replace(/^v/,"").split(".").map((Q)=>Number.parseInt(Q,10)||0);for(let Q=0;QI)return 1;if(J0}function uS0($,Y,z={}){let U=gU($,Y,{cwd:z.cwd,encoding:"utf8",stdio:["ignore","pipe","pipe"]});if(U.stdout)console.error(U.stdout.trimEnd());if(U.stderr)console.error(U.stderr.trimEnd());if(U.status!==0)throw Error(`${$} ${Y.join(" ")} failed with status ${U.status}`)}var iS0="yunyingk/seal-use",Tq="yunyingk/seal-home",aS1="SEAL_USE_GITHUB_REPO",tS1="SEAL_HOME_GITHUB_REPO";var pS0=o(()=>{yS0();Nq();a9();Uo();J4();Io()});async function dS0($,Y,z,U,Q){if($==="create"){let J=S(Q.options.name)??Y,I=S(Q.options.phone);if(!J||!I)throw Error("Usage: seal-use users create --name --phone [--dept ]");let K=S(Q.options.dept)??S(Q.options.departmentId);await k0("seal_user_create",z,U,{name:J,phone:I,departmentIds:K?[K]:void 0},C0(Q.options));return}if($==="reset-password"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users reset-password ");await k0("seal_user_reset_password",z,U,{userId:J},C0(Q.options));return}if($==="search"||$==="list"){let J=Y??S(Q.options.keyword)??S(Q.options.query)??"";await k0("seal_user_search",z,U,{keyword:J},C0(Q.options));return}if($==="get"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users get ");await k0("seal_user_get",z,U,{userId:J},C0(Q.options));return}if($==="delete"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users delete ");await k0("seal_user_delete",z,U,{userId:J},C0(Q.options));return}if($==="activate"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users activate ");await k0("seal_user_activate",z,U,{userId:J},C0(Q.options));return}if($==="delegation"||$==="impersonate"){let J=Y??S(Q.options.userId)??S(Q.options.phone);if(!J)throw Error("Usage: seal-use users delegation [--note ]");let I=S(Q.options.note);await k0("seal_user_delegation_create",z,U,{userIdOrPhone:J,note:I},C0(Q.options));return}throw Error(`Unknown users command: ${$??""}. Run 'seal-use help' for available commands.`)}var mS0=o(()=>{o4();D4();J4()});import{dirname as Zo,join as Jg1}from"node:path";import{fileURLToPath as Ig1}from"node:url";function Wg1($){if(!$.length)return!1;let Y=$[0]?.toLowerCase(),z=$[1]?.toLowerCase();if(Y&&Gg1.has(Y))return!0;if((Y==="service"||Y==="daemon")&&z==="run")return!0;return!1}function Bq($,Y={}){if(Wg1($))return rS0($,Y);let z=oS0.then(()=>rS0($,Y));return oS0=z.then(()=>{return},()=>{return}),z}async function rS0($,Y){let z=[],U=[],Q=console.log,J=console.error,I={appRoot:Y.appRoot??lS0,entryFile:Y.entryFile??Jg1(Y.appRoot??lS0,"src","cli.ts"),launcher:Y.launcher};console.log=(...K)=>{z.push(Dl(K))},console.error=(...K)=>{U.push(Dl(K))};try{return await Hg1($,I),{stdout:qq(z),stderr:qq(U),isError:!1,exitCode:0}}catch(K){let G=Vq(K instanceof Error?K.message:String(K)),W=EZ(K);if(U.push(G),W.nextAction&&!G.includes("Next action:"))U.push(`\uD83D\uDC49 Next action: ${W.nextAction}`);return{stdout:qq(z),stderr:qq(U),isError:!0,exitCode:W.exitCode}}finally{console.log=Q,console.error=J}}async function Hg1($,Y){let z=Zq($),[U,Q,J]=z.command;if(U==="version"||U==="v"||Boolean(z.options.version)||Boolean(z.options.v)||Boolean(z.options.V)){c0(PW);return}let I=sR0(z);if(I.isHelp){$_0(I.target);return}if(!U||!Kg1.has(U))throw Error(`Unknown command: ${z.command.join(" ")}. Run 'seal-use help' for available commands.`);if(U==="webhook"&&(Q==="resource-pack"||Q==="pack"||Q==="material-pack")&&J==="preview"){let W=z.command[3]??S(z.options.file)??S(z.options.input);if(!W)throw Error("Usage: seal-use webhook resource-pack preview <资源包.zip>");await U_0(W,hK(z.options));return}if(U==="openapi"){US0(z);return}if(U==="mcp-config"){tl();return}if(U==="skill"){PS0(Q,J,z);return}if(U==="mcp"||U==="server"){await eh0(Q,z);return}if(U==="probe"){await ZS0(Q,J,z);return}if(U==="doctor"){await bh0(Q,J,z);return}if(U==="test"){await Go(Q,J,z);return}if(U==="config"){lv0(Q,J,z);return}if(U==="service"){await Jo(Q,Y,z);return}if(U==="stop"){await Jo("stop",Y,z);return}if(U==="http"||U==="serve"){await rh0(z);return}if(U==="update"||U==="changelog"){let W=U==="changelog"||Q==="changelog"||Q==="log"||Q==="history"||F0(z.options.changelog)===!0,H=Q==="check"||F0(z.options.check)===!0||F0(z.options["check-only"])===!0,X=S(z.options.version)??S(z.options.tag)??(!W&&!H&&Q&&!Q.startsWith("-")?Q:void 0);await cS0(Y,{checkOnly:H,changelogOnly:W,limit:s0(z.options.limit),force:F0(z.options.force),targetVersion:X,repo:S(z.options.repo)});return}if(U==="tools"&&Q==="list"){SS0();return}if(U==="corps"||U==="corp"){if(Q==="regression"||Q==="test-regression"){await Go("regression",J,z);return}await yv0(Q,J,z);return}if(U==="delegation"&&Q==="create"&&(("from-link"in z.options)||("link"in z.options))){let W=S(z.options["from-link"])??S(z.options.link);if(!W)throw Error("Usage: seal-use delegation create --from-link [--note ]");await Yh0(W,S(z.options.note));return}if(U==="rules"&&Q==="lint"&&(("file"in z.options)||("f"in z.options))){let W;try{W=E1(S(z.options.corp))}catch{W={id:"local",name:"Local Workspace",source:{type:"native"}}}await el(Q,J,null,W,z);return}if(U==="auth"&&(Q==="extract-keys"||Q==="extract-key")){await iv0(J,z);return}let K=E1(S(z.options.corp));if(U==="source"){await TS0(Q,K);return}if(U==="auth"){await cv0(Q,K,z);return}let G=await j1(K);if(U==="delegation"){await zh0(Q,J,G,K,z);return}if(U==="users"){await dS0(Q,J,G,K,z);return}if(U==="contacts"){await rv0(Q,J,G,K,z);return}if(U==="data"){await av0(Q,G,K,z);return}if(U==="llm"){await ah0(Q,G,K,z);return}if(U==="permissions"){await JS0(Q,G,K,z);return}if(U==="billing"){await dv0(Q,G,K,z);return}if(U==="webhook"||U==="webhooks"){await HT(Q,J,G,K,z);return}if(U==="context"){await ev0(G,K,z);return}if(U==="rules"){await el(Q,J,G,K,z);return}if(U==="approval-runs"){await Q_0(Q,J,G,K,z);return}if(U==="analytics"){await I_0(Q,J,G,K,z);return}if(U==="simulation"){await NS0(Q,J,G,K,z);return}if(U==="deploy"){await Qh0(Q,J,z.command[3],G,K,z);return}if(U==="preference"||U==="preferences"){await GS0(Q,J,z.command[3],z.command[4],G,K,z);return}if(U==="tool"){await vS0(Q,G,K,z);return}throw Error(`Unknown command: ${z.command.join(" ")}. Run 'seal-use help' for available commands.`)}var lS0,Kg1,Gg1,oS0;var sl=o(()=>{i8();a9();J_0();K_0();pv0();mv0();ov0();sv0();tv0();$h0();fl();Uh0();Jh0();ih0();sh0();th0();$S0();QS0();IS0();WS0();qS0();VS0();Io();DS0();AS0();jS0();_S0();hS0();gS0();pS0();mS0();Bl();L$();o4();D4();Nl();J4();lS0=Zo(Zo(Zo(Ig1(import.meta.url)))),Kg1=new Set(["config","service","stop","http","serve","update","tools","corps","corp","tool","source","auth","delegation","users","contacts","data","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","analytics","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","doctor","changelog","test"]),Gg1=new Set(["http","server","web","mcp"]);oS0=Promise.resolve()});function Vg1($){let{command:Y}=Zq($),z=(Y[0]??"").toLowerCase();return{area:Xg1[z]??z,actionTokens:Y.slice(1).map((U)=>U.toLowerCase())}}function sS0($){let Y,z;try{({area:Y,actionTokens:z}=Vg1($))}catch{return!1}if(z.length===0&&qg1.has(Y))return!0;if(Y==="tool"){let Q=z[0];return Q!==void 0&&xR0(Q)}let U=Zg1[Y];if(!U)return!1;return U.some((Q)=>{let J=Q.split(" ").filter(Boolean);if(J.length===0)return z.length===0;if(J.length>z.length)return!1;return J.every((I,K)=>I===z[K])})}var Xg1,Zg1,qg1;var aS0=o(()=>{Xq();D4();Xg1={corp:"corps",webhooks:"webhook",preferences:"preference"},Zg1={corps:["list","search","get","current"],rules:["count","list","versions","version","get","search","lint","linters","pull"],webhook:["ready","status","list","get","resource-pack export","resource-pack preview"],"approval-runs":["summary","stats","count","export","flow","list","search","pick","bridge","get","cited-rules","document-summary","attachments","result","url"],simulation:["batch-records","status","wait","specifications","approval-definitions","list","get","templates","integrations"],deploy:["hosecloud requirements","hosecloud list","hosecloud get","hosecloud status"],preference:["get","thinking-depth policies list"],config:["paths","get","mode","lint"],auth:["diagnose"],delegation:["list"],users:["search","get","delegation"],contacts:["departments","children","users","sync-time"],data:["expenses","invoices"],llm:["config","providers"],permissions:["available","configs"],billing:["status","plans","features"],analytics:["insight","risks","performance","export"],source:["config"],tools:["list"],skill:["dump","status"],service:["status","logs"],doctor:["","guide","paths","tenant"],openapi:[""]},qg1=new Set(["version","v","help","changelog","mcp-config"])});var YS0={};x8(YS0,{tokenizeCommand:()=>Dq,startServer:()=>Jg0,resolveMcpEnabled:()=>Ug0,createServer:()=>Qg0,SEAL_MCP_ENABLED_ENV:()=>Yg0,SEAL_CLI_WRITE_TOOL_NAME:()=>Cq,SEAL_CLI_TOOL_NAME:()=>kT,LEGACY_SEAL_MCP_ENABLED_ENV:()=>zg0});import{dirname as jq,resolve as tS0}from"node:path";import{fileURLToPath as Lg1}from"node:url";function Ug0($=process.env[Yg0]??process.env[zg0]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function Qg0($={}){let Y=$.enableCli??!0,z=new qW({name:"seal-use",version:P1},{capabilities:{tools:{}}});if(Y){let U=L.strictObject({command:L.string().describe("A seal-use CLI command, with or without the leading 'seal-use' or 'seal-home'.")});z.registerTool(kT,{title:"Run read-only seal-use CLI command",description:"Run a read-only seal-use CLI command and return its JSON stdout. Only commands that read tenant state without changing it are accepted here; anything that mutates tenant state, publishes configuration, mints credentials, self-updates or starts a server is "+`refused — use ${Cq} for those after confirming with the user.`,inputSchema:U,annotations:{readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},async({command:Q})=>eS0(Q,{requireReadOnly:!0})),z.registerTool(Cq,{title:"Run mutating seal-use CLI command",description:"Run a seal-use CLI command that changes tenant state, publishes configuration, or sends things outward (create/update/push/mark/bind/sync/deploy/delete/reset-password, rule publishing, simulation batches, self-update). Confirm the exact command with the user before calling this tool.",inputSchema:U,annotations:{readOnlyHint:!1,destructiveHint:!0,idempotentHint:!1,openWorldHint:!0}},async({command:Q})=>eS0(Q,{requireReadOnly:!1}))}return z}async function eS0($,Y){let z=Y.requireReadOnly?kT:Cq;if(!$?.trim())return Eq({stdout:"",stderr:`${z} requires a non-empty command string`,isError:!0,exitCode:2});let U;try{if(U=ph0(Dq($)),!U.length)throw Error(`${z} requires a non-empty command string`)}catch(Q){let J=EZ(Q);return Eq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}if(Y.requireReadOnly&&!sS0(U))return Eq({stdout:"",stderr:`${kT} only runs read-only commands, and "${U.join(" ")}" is not one of them. Confirm the command with the user, then call ${Cq}.`,isError:!0,exitCode:2});try{return Eq(await Bq(U,{appRoot:$g0,entryFile:m7,launcher:{command:process.execPath,args:[m7,"--seal-home-cli"]}}))}catch(Q){let J=EZ(Q);return Eq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}}function Jg0(){let $=Ug0(),Y=qe(()=>Qg0({enableCli:$}));return console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration"),Y}function Eq($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function Fg1(){let $=await Bq(process.argv.slice(3),{appRoot:$g0,entryFile:m7,launcher:{command:process.execPath,args:[m7,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(` +`+"硬性规定:回归测试严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${J.id} `);K=E1(O)}let G=await j1(I),W=await j1(K),H=s0(z.options.samples)??s0(z.options.limit)??s0(z.options.n)??10,X=F0(z.options["dry-run"]),Z=F0(z.options["fail-on-flips"]),q=s0(z.options["poll-interval"])??2000,V=s0(z.options.timeout)??45000,F=S(z.options["sn-prefix"])??"REG_",M=await RS0({sourceCorp:I,targetCorp:K,sourceClient:G,targetClient:W,samples:H,dryRun:X,pollIntervalMs:q,timeoutMs:V,snPrefix:F,failOnFlips:Z});if(!(F0(z.options.quiet)||F0(z.options.silent)))console.error(_S0(M));if(c0(M),Z&&!M.ok)throw new w4(`回归测试发现 ${M.metrics.flipCount} 笔单据决策翻转,已按 --fail-on-flips 策略非零终止。`,1);return}throw new w4(`未知的 test 子命令: "${U}"。 +可用子命令: seal-use test regression [--corp ] [--samples ] [--dry-run]`,2,"seal-use test regression --help")}var hS0=o(()=>{L$();o4();D4();J4();i8();vS0()});async function SS0($,Y,z,U){if(!$)throw Error("Usage: seal-use tool [--json '{...}']");await k0($,Y,z,y8(U.json),C0(U.options))}var gS0=o(()=>{o4();D4();J4()});function yS0(){c0(Hq.map(($)=>({name:$.name,description:$.description})))}var kS0=o(()=>{Zq();J4()});function kT($=process.execPath,Y=import.meta.url){if(Y.includes("/$bunfs/")||Y.includes("\\$bunfs\\"))return!0;let z=$.toLowerCase().replace(/\\/g,"/");return!z.endsWith("/bun")&&!z.endsWith("/bun.exe")&&!z.endsWith("/node")&&!z.endsWith("/node.exe")}var xS0=o(()=>{Dq()});import{chmodSync as sS1,mkdirSync as aS1,renameSync as Wo,rmSync as tS1,unlinkSync as cS0,writeFileSync as fS0}from"node:fs";import{dirname as eS1,join as uS0}from"node:path";import{spawnSync as gU}from"node:child_process";async function pS0($,Y={}){let z={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:Qo,version:P1,launcher:$.launcher},U=Y.repo||process.env[$g1]?.trim()||process.env[Yg1]?.trim()||nS0,Q=Y.targetVersion?.trim(),J=Q&&Q.toLowerCase()!=="latest"?Q:void 0;if(J){let D=J.replace(/^v/,""),T=dS0(D,P1);if(T<0)if(!hS&&Y.force);else{c0({updated:!1,currentVersion:P1,targetVersion:D,mode:kT()?"binary":"source",message:!hS?`Cannot downgrade seal-use from dev build v${P1} to release v${D}. Use --force to overwrite.`:`Cannot downgrade seal-use from v${P1} to older version v${D}. Updates must be forward-only.`});return}if(T===0&&!Y.force){c0({updated:!1,currentVersion:P1,targetVersion:D,mode:kT()?"binary":"source",message:`seal-use is already at version v${P1}. Use --force to reinstall.`});return}}if(Y.changelogOnly){let D=await Ho(U,Y.limit??10);c0({currentVersion:P1,totalQueried:D.length,releases:D.map((T)=>({version:T.version,tagName:T.tagName,publishedAt:T.publishedAt,author:T.author,releaseNotes:T.notes,releaseUrl:T.htmlUrl,isCurrent:T.version===P1,isNewer:Tq(T.version,P1)}))});return}if(!kT()){if(Y.checkOnly){let T=await Ho(U,30),A=T[0],B=A?.version??P1,j=T.find((k)=>k.version===P1),C=Tq(B,P1),b=T.filter((k)=>Tq(k.version,P1));c0({updated:!1,updateAvailable:C,currentVersion:P1,currentVersionPublishedAt:j?.publishedAt,latestVersion:B,latestVersionPublishedAt:A?.publishedAt,behindCount:b.length,pendingReleases:b.map((k)=>({version:k.version,tagName:k.tagName,publishedAt:k.publishedAt,author:k.author,releaseNotes:k.notes,releaseUrl:k.htmlUrl})),releaseNotes:A?.notes??"",releaseUrl:A?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let D=xK(z).running;if(D)await SU("stop",z);try{iS0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(T){console.error(`git pull skipped: ${T instanceof Error?T.message:String(T)}`)}if(iS0("bun",["install"],{cwd:$.appRoot}),D)await SU("start",z);c0({updated:!0,serviceRestarted:D,version:P1,mode:"source"});return}let I=zg1(),K=Ug1(),G=await Ho(U,30),W=J?G.find((D)=>D.version===J||D.tagName===J||D.tagName===`v${J}`)??await bS0(U,J):G[0]??await bS0(U);if(!W){c0({updated:!1,currentVersion:P1,mode:"binary",message:`Failed to query releases from repository '${U}'`});return}let H=W.version,X=G.find((D)=>D.version===P1),Z=Tq(H,P1),q=Z||Boolean(Y.force),V=G.filter((D)=>Tq(D.version,P1));if(Y.checkOnly){c0({updated:!1,updateAvailable:Z,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:H,latestVersionPublishedAt:W.publishedAt,behindCount:V.length,pendingReleases:V.map((D)=>({version:D.version,tagName:D.tagName,publishedAt:D.publishedAt,author:D.author,releaseNotes:D.notes,releaseUrl:D.htmlUrl})),releaseNotes:W.notes,releaseUrl:W.htmlUrl,mode:"binary"});return}if(!q){c0({updated:!1,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:H,latestVersionPublishedAt:W.publishedAt,mode:"binary",message:`seal-use is already up to date (v${P1})`});return}let F=Qg1(W.assets,I,K);if(!F)throw Error(`No compatible binary found for ${I}-${K} in release v${H}. Available assets: ${W.assets.map((D)=>D.name).join(", ")}`);let M=xK(z).running;if(M)await SU("stop",z);let w=process.execPath,O=eS1(w),N=uS0(O,`.tmp-update-${Date.now()}`);aS1(N,{recursive:!0});try{let D=uS0(N,F.name);await Jg1(F.downloadUrl,D,W.tagName,F.name);let T=D;if(F.name.endsWith(".tar.gz")||F.name.endsWith(".tgz"))T=Ig1(D,N,I);else if(F.name.endsWith(".zip"))T=Kg1(D,N,I);if(sS1(T,493),process.platform==="darwin")try{gU("/usr/bin/codesign",["--remove-signature",T],{stdio:"ignore"}),gU("/usr/bin/codesign",["--force","--sign","-",T],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let B=`${w}.old.${Date.now()}`;try{Wo(w,B)}catch{}Wo(T,w)}else Wo(T,w);if(M)await SU("start",z);let A=nl();c0({updated:!0,fromVersion:P1,toVersion:H,serviceRestarted:M,skillSynced:A.synced?A.targetDir:!1,mode:"binary"})}finally{try{tS1(N,{recursive:!0,force:!0})}catch{}}}function zg1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function Ug1(){return process.arch==="arm64"?"arm64":"x64"}function Xo(){let $=(process.env.SEAL_USE_MIRROR||process.env.SEAL_HOME_MIRROR)?.trim().toLowerCase();if($==="github"||$==="gitea")return $;if(process.env.CI)return"github";return"auto"}async function Ho($,Y=20){let z=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,U={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...z?{Authorization:`Bearer ${z}`}:{}},Q=Xo(),J=[];if(Q!=="github")J.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${Y}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${Y}`);if(Q!=="gitea"){if(J.push(`https://api.github.com/repos/${$}/releases?per_page=${Y}`),$!==jq)J.push(`https://api.github.com/repos/${jq}/releases?per_page=${Y}`)}for(let I of J)try{let K=await fetch(I,{headers:U,signal:AbortSignal.timeout(3000)});if(!K.ok)continue;let G=await K.json();if(!Array.isArray(G)||G.length===0)continue;let W=[];for(let H of G){let X=H.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(H.assets??[]).map((V)=>({name:V.name,downloadUrl:V.browser_download_url,size:V.size??0}));W.push({version:Z,tagName:X,name:H.name??X,publishedAt:H.published_at,author:H.author?.login,notes:H.body??"",htmlUrl:H.html_url??"",assets:q})}if(W.length>0)return W}catch{}return[]}async function bS0($,Y){let z=Y?Y.startsWith("v")?Y:`v${Y}`:void 0,U=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,Q={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...U?{Authorization:`Bearer ${U}`}:{}},J=Xo(),I=[];if(J!=="github")I.push(z?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${z}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",z?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${z}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(J!=="gitea"){if(I.push(z?`https://api.github.com/repos/${$}/releases/tags/${z}`:`https://api.github.com/repos/${$}/releases/latest`),$!==jq)I.push(z?`https://api.github.com/repos/${jq}/releases/tags/${z}`:`https://api.github.com/repos/${jq}/releases/latest`)}let K;for(let G of I)try{let W=await fetch(G,{headers:Q,signal:AbortSignal.timeout(3000)});if(!W.ok)continue;let H=await W.json(),X=H.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(H.assets??[]).map((F)=>({name:F.name,downloadUrl:F.browser_download_url,size:F.size??0})),V={version:Z,tagName:X,name:H.name??X,publishedAt:H.published_at,author:H.author?.login,notes:H.body??"",htmlUrl:H.html_url??"",assets:q};if(q.length>0)return V;if(!K)K=V}catch{}return K}function Qg1($,Y,z){let U={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},Q={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},J=U[Y]||[],I=Q[z]||[],K=$.filter((H)=>{let X=H.name.toLowerCase(),Z=J.some((V)=>X.includes(V)),q=I.some((V)=>X.includes(V));return Z&&q}),G=K.find((H)=>!H.name.endsWith(".tar.gz")&&!H.name.endsWith(".tgz")&&!H.name.endsWith(".zip")&&!H.name.endsWith(".sha256"));if(G)return G;return K.find((H)=>H.name.endsWith(".tar.gz")||H.name.endsWith(".tgz")||H.name.endsWith(".zip"))||K[0]}function xT($){try{process.stderr.write(`${$} +`)}catch{}}async function Jg1($,Y,z,U){let Q=Xo(),J=[],I=z?z.startsWith("v")?z:`v${z}`:void 0,K=U||$.split("/").pop()||"";if(Q!=="github"){if(I&&K)J.push(`https://git.ying-qing.cn/gitea/seal-use/releases/download/${I}/${K}`,`https://git.ying-qing.cn/gitea/seal-home/releases/download/${I}/${K}`);if($.startsWith("https://git.ying-qing.cn"))J.push($)}if(Q!=="gitea")if(I&&K){let F=`https://github.com/${nS0}/releases/download/${I}/${K}`;if(!process.env.CI)J.push(`https://ghfast.top/${F}`,`https://gh.ddlc.top/${F}`);J.push(F)}else if($.includes("github.com")){if(!process.env.CI)J.push(`https://ghfast.top/${$}`,`https://gh.ddlc.top/${$}`);J.push($)}else J.push($);let G=Array.from(new Set(J)),W,H=6000,X=6000,Z=307200,q=1e4,V=180000;for(let F=0;F{O=B;try{w.abort()}catch{}},D=setTimeout(()=>{N("Connection timed out (no response headers within 6s)")},H),T,A;try{xT(`==> [${F+1}/${G.length}] Downloading via: ${M}`);let B=await fetch(M,{signal:w.signal});if(D)clearTimeout(D),D=void 0;if(!B.ok)throw Error(`HTTP ${B.status} ${B.statusText}`);T=setTimeout(()=>{N("Overall download time exceeded 3 minutes")},V);let j=Number(B.headers.get("content-length"))||0,C=B.body?.getReader();if(!C){let c=Buffer.from(await B.arrayBuffer());if(c.length<1000)throw Error(`Downloaded content is suspiciously small (${c.length} bytes)`);fS0(Y,c),xT(`✓ Download succeeded (${(c.length/1024/1024).toFixed(1)} MB)`);return}let b=[],k=0,h=0;A=setTimeout(()=>{if(k{U0=setTimeout(()=>{p(Error("Data transfer stalled (no chunk received for 10s)"))},q)}),d;try{d=await Promise.race([c,x])}finally{if(U0)clearTimeout(U0)}let{done:t,value:$0}=d;if(t)break;if($0){if(b.push($0),k+=$0.length,A&&k>=Z)clearTimeout(A),A=void 0;let g=Date.now();if(g-h>200){h=g;let p=j?Math.round(k/j*100):0,e=(k/1048576).toFixed(1),y=j?(j/1048576).toFixed(1):"?";try{process.stderr.write(`\r ↳ Progress: ${p}% (${e} / ${y} MB)...`)}catch{}}}}try{process.stderr.write(` +`)}catch{}let i=Buffer.concat(b);if(i.length<1000)throw Error(`Downloaded content is suspiciously small (${i.length} bytes)`);fS0(Y,i),xT(`✓ Download completed successfully (${(i.length/1024/1024).toFixed(1)} MB)`);return}catch(B){if(D)clearTimeout(D);if(A)clearTimeout(A);if(T)clearTimeout(T);let j=O||(B instanceof Error?B.message:String(B));W=Error(j),xT(` + ↳ Mirror failed: ${W.message}`)}finally{if(D)clearTimeout(D);if(A)clearTimeout(A);if(T)clearTimeout(T)}}throw Error(`Failed to download asset from all mirrors: ${W?.message}`)}function Ig1($,Y,z){let U=gU("tar",["-xzf",$,"-C",Y],{stdio:"pipe"});if(U.status!==0)throw Error(`Failed to extract tar archive: ${U.stderr.toString()}`);cS0($);let Q=z==="windows"?"seal-use.exe":"seal-use",J=gU("find",[Y,"-type","f"],{encoding:"utf8"}).stdout.trim().split(` +`).filter(Boolean),I=J.find((K)=>K.endsWith(`/${Q}`)||K.endsWith(Q));if(I)return I;return J[0]||$}function Kg1($,Y,z){let U=gU("unzip",["-q","-o",$,"-d",Y],{stdio:"pipe"});if(U.status!==0)throw Error(`Failed to extract zip archive: ${U.stderr.toString()}`);cS0($);let Q=z==="windows"?"seal-use.exe":"seal-use",J=gU("find",[Y,"-type","f"],{encoding:"utf8"}).stdout.trim().split(` +`).filter(Boolean),I=J.find((K)=>K.endsWith(`/${Q}`)||K.endsWith(Q));if(I)return I;return J[0]||$}function dS0($,Y){let z=$.replace(/^v/,"").split(".").map((Q)=>Number.parseInt(Q,10)||0),U=Y.replace(/^v/,"").split(".").map((Q)=>Number.parseInt(Q,10)||0);for(let Q=0;QI)return 1;if(J0}function iS0($,Y,z={}){let U=gU($,Y,{cwd:z.cwd,encoding:"utf8",stdio:["ignore","pipe","pipe"]});if(U.stdout)console.error(U.stdout.trimEnd());if(U.stderr)console.error(U.stderr.trimEnd());if(U.status!==0)throw Error(`${$} ${Y.join(" ")} failed with status ${U.status}`)}var nS0="yunyingk/seal-use",jq="yunyingk/seal-home",$g1="SEAL_USE_GITHUB_REPO",Yg1="SEAL_HOME_GITHUB_REPO";var mS0=o(()=>{xS0();Dq();t9();Uo();J4();Io()});async function lS0($,Y,z,U,Q){if($==="create"){let J=S(Q.options.name)??Y,I=S(Q.options.phone);if(!J||!I)throw Error("Usage: seal-use users create --name --phone [--dept ]");let K=S(Q.options.dept)??S(Q.options.departmentId);await k0("seal_user_create",z,U,{name:J,phone:I,departmentIds:K?[K]:void 0},C0(Q.options));return}if($==="reset-password"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users reset-password ");await k0("seal_user_reset_password",z,U,{userId:J},C0(Q.options));return}if($==="search"||$==="list"){let J=Y??S(Q.options.keyword)??S(Q.options.query)??"";await k0("seal_user_search",z,U,{keyword:J},C0(Q.options));return}if($==="get"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users get ");await k0("seal_user_get",z,U,{userId:J},C0(Q.options));return}if($==="delete"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users delete ");await k0("seal_user_delete",z,U,{userId:J},C0(Q.options));return}if($==="activate"){let J=Y??S(Q.options.userId);if(!J)throw Error("Usage: seal-use users activate ");await k0("seal_user_activate",z,U,{userId:J},C0(Q.options));return}if($==="delegation"||$==="impersonate"){let J=Y??S(Q.options.userId)??S(Q.options.phone);if(!J)throw Error("Usage: seal-use users delegation [--note ]");let I=S(Q.options.note);await k0("seal_user_delegation_create",z,U,{userIdOrPhone:J,note:I},C0(Q.options));return}throw Error(`Unknown users command: ${$??""}. Run 'seal-use help' for available commands.`)}var oS0=o(()=>{o4();D4();J4()});import{dirname as Zo,join as Gg1}from"node:path";import{fileURLToPath as Wg1}from"node:url";function Zg1($){if(!$.length)return!1;let Y=$[0]?.toLowerCase(),z=$[1]?.toLowerCase();if(Y&&Xg1.has(Y))return!0;if((Y==="service"||Y==="daemon")&&z==="run")return!0;return!1}function Pq($,Y={}){if(Zg1($))return aS0($,Y);let z=sS0.then(()=>aS0($,Y));return sS0=z.then(()=>{return},()=>{return}),z}async function aS0($,Y){let z=[],U=[],Q=console.log,J=console.error,I={appRoot:Y.appRoot??rS0,entryFile:Y.entryFile??Gg1(Y.appRoot??rS0,"src","cli.ts"),launcher:Y.launcher};console.log=(...K)=>{z.push(Dl(K))},console.error=(...K)=>{U.push(Dl(K))};try{return await qg1($,I),{stdout:Vq(z),stderr:Vq(U),isError:!1,exitCode:0}}catch(K){let G=Lq(K instanceof Error?K.message:String(K)),W=CZ(K);if(U.push(G),W.nextAction&&!G.includes("Next action:"))U.push(`\uD83D\uDC49 Next action: ${W.nextAction}`);return{stdout:Vq(z),stderr:Vq(U),isError:!0,exitCode:W.exitCode}}finally{console.log=Q,console.error=J}}async function qg1($,Y){let z=qq($),[U,Q,J]=z.command;if(U==="version"||U==="v"||Boolean(z.options.version)||Boolean(z.options.v)||Boolean(z.options.V)){c0(PW);return}let I=sR0(z);if(I.isHelp){$_0(I.target);return}if(!U||!Hg1.has(U))throw Error(`Unknown command: ${z.command.join(" ")}. Run 'seal-use help' for available commands.`);if(U==="webhook"&&(Q==="resource-pack"||Q==="pack"||Q==="material-pack")&&J==="preview"){let W=z.command[3]??S(z.options.file)??S(z.options.input);if(!W)throw Error("Usage: seal-use webhook resource-pack preview <资源包.zip>");await U_0(W,hK(z.options));return}if(U==="openapi"){JS0(z);return}if(U==="mcp-config"){tl();return}if(U==="skill"){TS0(Q,J,z);return}if(U==="mcp"||U==="server"){await YS0(Q,z);return}if(U==="probe"){await VS0(Q,J,z);return}if(U==="doctor"){await ch0(Q,J,z);return}if(U==="test"){await Go(Q,J,z);return}if(U==="config"){lv0(Q,J,z);return}if(U==="service"){await Jo(Q,Y,z);return}if(U==="stop"){await Jo("stop",Y,z);return}if(U==="http"||U==="serve"){await ah0(z);return}if(U==="update"||U==="changelog"){let W=U==="changelog"||Q==="changelog"||Q==="log"||Q==="history"||F0(z.options.changelog)===!0,H=Q==="check"||F0(z.options.check)===!0||F0(z.options["check-only"])===!0,X=S(z.options.version)??S(z.options.tag)??(!W&&!H&&Q&&!Q.startsWith("-")?Q:void 0);await pS0(Y,{checkOnly:H,changelogOnly:W,limit:s0(z.options.limit),force:F0(z.options.force),targetVersion:X,repo:S(z.options.repo)});return}if(U==="tools"&&Q==="list"){yS0();return}if(U==="corps"||U==="corp"){if(Q==="regression"||Q==="test-regression"){await Go("regression",J,z);return}await yv0(Q,J,z);return}if(U==="delegation"&&Q==="create"&&(("from-link"in z.options)||("link"in z.options))){let W=S(z.options["from-link"])??S(z.options.link);if(!W)throw Error("Usage: seal-use delegation create --from-link [--note ]");await Yh0(W,S(z.options.note));return}if(U==="rules"&&Q==="lint"&&(("file"in z.options)||("f"in z.options))){let W;try{W=E1(S(z.options.corp))}catch{W={id:"local",name:"Local Workspace",source:{type:"native"}}}await el(Q,J,null,W,z);return}if(U==="auth"&&(Q==="extract-keys"||Q==="extract-key")){await iv0(J,z);return}let K=E1(S(z.options.corp));if(U==="source"){await ES0(Q,K);return}if(U==="auth"){await cv0(Q,K,z);return}let G=await j1(K);if(U==="delegation"){await zh0(Q,J,G,K,z);return}if(U==="users"){await lS0(Q,J,G,K,z);return}if(U==="contacts"){await rv0(Q,J,G,K,z);return}if(U==="data"){await av0(Q,G,K,z);return}if(U==="llm"){await eh0(Q,G,K,z);return}if(U==="permissions"){await KS0(Q,G,K,z);return}if(U==="billing"){await dv0(Q,G,K,z);return}if(U==="webhook"||U==="webhooks"){await ZT(Q,J,G,K,z);return}if(U==="context"){await ev0(G,K,z);return}if(U==="rules"){await el(Q,J,G,K,z);return}if(U==="approval-runs"){await Q_0(Q,J,G,K,z);return}if(U==="analytics"){await I_0(Q,J,G,K,z);return}if(U==="simulation"){await BS0(Q,J,G,K,z);return}if(U==="deploy"){await Qh0(Q,J,z.command[3],G,K,z);return}if(U==="preference"||U==="preferences"){await HS0(Q,J,z.command[3],z.command[4],G,K,z);return}if(U==="tool"){await SS0(Q,G,K,z);return}throw Error(`Unknown command: ${z.command.join(" ")}. Run 'seal-use help' for available commands.`)}var rS0,Hg1,Xg1,sS0;var sl=o(()=>{i8();t9();J_0();K_0();pv0();mv0();ov0();sv0();tv0();$h0();fl();Uh0();Jh0();nh0();th0();$S0();zS0();IS0();GS0();XS0();LS0();FS0();Io();PS0();jS0();CS0();hS0();gS0();kS0();mS0();oS0();Bl();L$();o4();D4();Nl();J4();rS0=Zo(Zo(Zo(Wg1(import.meta.url)))),Hg1=new Set(["config","service","stop","http","serve","update","tools","corps","corp","tool","source","auth","delegation","users","contacts","data","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","analytics","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","doctor","changelog","test"]),Xg1=new Set(["http","server","web","mcp"]);sS0=Promise.resolve()});function wg1($){let{command:Y}=qq($),z=(Y[0]??"").toLowerCase();return{area:Vg1[z]??z,actionTokens:Y.slice(1).map((U)=>U.toLowerCase())}}function tS0($){let Y,z;try{({area:Y,actionTokens:z}=wg1($))}catch{return!1}if(z.length===0&&Fg1.has(Y))return!0;if(Y==="tool"){let Q=z[0];return Q!==void 0&&xR0(Q)}let U=Lg1[Y];if(!U)return!1;return U.some((Q)=>{let J=Q.split(" ").filter(Boolean);if(J.length===0)return z.length===0;if(J.length>z.length)return!1;return J.every((I,K)=>I===z[K])})}var Vg1,Lg1,Fg1;var eS0=o(()=>{Zq();D4();Vg1={corp:"corps",webhooks:"webhook",preferences:"preference"},Lg1={corps:["list","search","get","current"],rules:["count","list","versions","version","get","search","lint","linters","pull"],webhook:["ready","status","list","get","resource-pack export","resource-pack preview"],"approval-runs":["summary","stats","count","export","flow","list","search","pick","bridge","get","cited-rules","document-summary","attachments","result","url"],simulation:["batch-records","status","wait","specifications","approval-definitions","list","get","templates","integrations"],deploy:["hosecloud requirements","hosecloud list","hosecloud get","hosecloud status"],preference:["get","thinking-depth policies list"],config:["paths","get","mode","lint"],auth:["diagnose"],delegation:["list"],users:["search","get","delegation"],contacts:["departments","children","users","sync-time"],data:["expenses","invoices"],llm:["config","providers"],permissions:["available","configs"],billing:["status","plans","features"],analytics:["insight","risks","performance","export"],source:["config"],tools:["list"],skill:["dump","status"],service:["status","logs"],doctor:["","guide","paths","tenant"],openapi:[""]},Fg1=new Set(["version","v","help","changelog","mcp-config"])});var US0={};x8(US0,{tokenizeCommand:()=>Bq,startServer:()=>Kg0,resolveMcpEnabled:()=>Jg0,createServer:()=>Ig0,SEAL_MCP_ENABLED_ENV:()=>Ug0,SEAL_CLI_WRITE_TOOL_NAME:()=>Rq,SEAL_CLI_TOOL_NAME:()=>fT,LEGACY_SEAL_MCP_ENABLED_ENV:()=>Qg0});import{dirname as Eq,resolve as $g0}from"node:path";import{fileURLToPath as Mg1}from"node:url";function Jg0($=process.env[Ug0]??process.env[Qg0]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function Ig0($={}){let Y=$.enableCli??!0,z=new qW({name:"seal-use",version:P1},{capabilities:{tools:{}}});if(Y){let U=L.strictObject({command:L.string().describe("A seal-use CLI command, with or without the leading 'seal-use' or 'seal-home'.")});z.registerTool(fT,{title:"Run read-only seal-use CLI command",description:"Run a read-only seal-use CLI command and return its JSON stdout. Only commands that read tenant state without changing it are accepted here; anything that mutates tenant state, publishes configuration, mints credentials, self-updates or starts a server is "+`refused — use ${Rq} for those after confirming with the user.`,inputSchema:U,annotations:{readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},async({command:Q})=>Yg0(Q,{requireReadOnly:!0})),z.registerTool(Rq,{title:"Run mutating seal-use CLI command",description:"Run a seal-use CLI command that changes tenant state, publishes configuration, or sends things outward (create/update/push/mark/bind/sync/deploy/delete/reset-password, rule publishing, simulation batches, self-update). Confirm the exact command with the user before calling this tool.",inputSchema:U,annotations:{readOnlyHint:!1,destructiveHint:!0,idempotentHint:!1,openWorldHint:!0}},async({command:Q})=>Yg0(Q,{requireReadOnly:!1}))}return z}async function Yg0($,Y){let z=Y.requireReadOnly?fT:Rq;if(!$?.trim())return Cq({stdout:"",stderr:`${z} requires a non-empty command string`,isError:!0,exitCode:2});let U;try{if(U=mh0(Bq($)),!U.length)throw Error(`${z} requires a non-empty command string`)}catch(Q){let J=CZ(Q);return Cq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}if(Y.requireReadOnly&&!tS0(U))return Cq({stdout:"",stderr:`${fT} only runs read-only commands, and "${U.join(" ")}" is not one of them. Confirm the command with the user, then call ${Rq}.`,isError:!0,exitCode:2});try{return Cq(await Pq(U,{appRoot:zg0,entryFile:m7,launcher:{command:process.execPath,args:[m7,"--seal-home-cli"]}}))}catch(Q){let J=CZ(Q);return Cq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}}function Kg0(){let $=Jg0(),Y=qe(()=>Ig0({enableCli:$}));return console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration"),Y}function Cq($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function Og1(){let $=await Pq(process.argv.slice(3),{appRoot:zg0,entryFile:m7,launcher:{command:process.execPath,args:[m7,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(` `)?"":` -`}`);process.exitCode=$.exitCode}var m7,$g0,kT="seal_cli",Cq="seal_cli_write",Yg0="SEAL_USE_MCP_ENABLED",zg0="SEAL_HOME_MCP_ENABLED",wg1;var zS0=o(async()=>{Xe();Ve();B$();sl();aS0();L$();a9();m7=Lg1(import.meta.url),$g0=m7.includes("/dist/mcp/")||m7.includes("\\dist\\mcp\\")?jq(jq(jq(m7))):jq(jq(m7));wg1=Boolean(I0.main==I0.module||!import.meta.url.includes("$bunfs")&&process.argv[1]&&tS0(process.argv[1])===tS0(m7));if(wg1)if(process.argv[2]==="--seal-use-cli"||process.argv[2]==="--seal-home-cli")await Fg1();else try{Jg0()}catch($){console.error($),process.exitCode=1}});await zS0();export{Dq as tokenizeCommand,Jg0 as startServer,Ug0 as resolveMcpEnabled,Qg0 as createServer,Yg0 as SEAL_MCP_ENABLED_ENV,Cq as SEAL_CLI_WRITE_TOOL_NAME,kT as SEAL_CLI_TOOL_NAME,zg0 as LEGACY_SEAL_MCP_ENABLED_ENV}; +`}`);process.exitCode=$.exitCode}var m7,zg0,fT="seal_cli",Rq="seal_cli_write",Ug0="SEAL_USE_MCP_ENABLED",Qg0="SEAL_HOME_MCP_ENABLED",Ng1;var QS0=o(async()=>{Xe();Ve();B$();sl();eS0();L$();t9();m7=Mg1(import.meta.url),zg0=m7.includes("/dist/mcp/")||m7.includes("\\dist\\mcp\\")?Eq(Eq(Eq(m7))):Eq(Eq(m7));Ng1=Boolean(I0.main==I0.module||!import.meta.url.includes("$bunfs")&&process.argv[1]&&$g0(process.argv[1])===$g0(m7));if(Ng1)if(process.argv[2]==="--seal-use-cli"||process.argv[2]==="--seal-home-cli")await Og1();else try{Kg0()}catch($){console.error($),process.exitCode=1}});await QS0();export{Bq as tokenizeCommand,Kg0 as startServer,Jg0 as resolveMcpEnabled,Ig0 as createServer,Ug0 as SEAL_MCP_ENABLED_ENV,Rq as SEAL_CLI_WRITE_TOOL_NAME,fT as SEAL_CLI_TOOL_NAME,Qg0 as LEGACY_SEAL_MCP_ENABLED_ENV}; diff --git a/dist/openapi.json b/dist/openapi.json index 5eb5faf..f3ef595 100644 --- a/dist/openapi.json +++ b/dist/openapi.json @@ -3,12 +3,12 @@ "info": { "title": "seal-use Wrapped API", "version": "0.10.24", - "description": "Planned HTTP contract for the seal-use wrapped backend API.\n\nThese endpoints describe the intended stable API for frontend developers and agents once\nthe HTTP adapter is implemented.\nThey are not the raw downstream Seal endpoints. seal-use is responsible for enterprise\nselection, source authentication, response compaction, and diagnostics-friendly fields.\n" + "description": "HTTP contract for the seal-use wrapped backend API, served by the local HTTP adapter\n(`seal-use http`, or the `seal-use service start` daemon; default http://127.0.0.1:8787).\n\nThese endpoints describe the stable wrapped API for frontend developers and agents. They are\nnot the raw downstream Seal endpoints: seal-use is responsible for enterprise selection,\nsource authentication, response compaction, and diagnostics-friendly fields.\n\nEvery operation declares `x-implementation-status`, so a caller can tell what the running\nadapter actually serves:\n\n- `implemented` — routed by `src/http/routes.ts` today. `src/http/openapi-implementation.test.ts`\n fails when an `implemented` operation has no matching route.\n- `planned` — contract-only, designed but not routed yet. Calling it returns 404.\n\nThe same capabilities are reachable through the CLI, and through the optional MCP server when\nit is enabled.\n" }, "servers": [ { "url": "http://localhost:8787", - "description": "Reserved for a future local HTTP adapter; the current service uses MCP stdio." + "description": "Local HTTP adapter (`seal-use http`, or the `seal-use service start` daemon). Loopback-only by default." } ], "security": [ @@ -49,6 +49,7 @@ "Corps" ], "operationId": "listCorps", + "x-implementation-status": "implemented", "summary": "List configured enterprises", "responses": { "200": { @@ -98,6 +99,7 @@ "Corps" ], "operationId": "getCurrentCorp", + "x-implementation-status": "planned", "summary": "Get current enterprise", "description": "Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.", "responses": { @@ -145,6 +147,7 @@ "Corps" ], "operationId": "switchCurrentCorp", + "x-implementation-status": "planned", "summary": "Switch current enterprise", "requestBody": { "required": true, @@ -223,6 +226,7 @@ "Source" ], "operationId": "getSourceConfig", + "x-implementation-status": "planned", "summary": "Resolve source-derived Seal enterprise config", "parameters": [ { @@ -279,6 +283,7 @@ "Auth" ], "operationId": "diagnoseAuth", + "x-implementation-status": "planned", "summary": "Diagnose wrapped source-to-Seal authentication", "parameters": [ { @@ -321,6 +326,7 @@ "Auth" ], "operationId": "whoami", + "x-implementation-status": "implemented", "summary": "Get current wrapped Seal identity", "parameters": [ { @@ -387,6 +393,7 @@ "Auth" ], "operationId": "getSession", + "x-implementation-status": "implemented", "summary": "Get current wrapped Seal session metadata", "parameters": [ { @@ -455,6 +462,7 @@ "Approval Knowledge" ], "operationId": "getApprovalContext", + "x-implementation-status": "planned", "summary": "Get rules, documents, and style preferences together", "parameters": [ { @@ -518,6 +526,7 @@ "Approval Knowledge" ], "operationId": "searchApprovalKnowledge", + "x-implementation-status": "planned", "summary": "Search approval rules, documents, and preferences", "requestBody": { "required": true, @@ -583,6 +592,7 @@ "Approval Knowledge" ], "operationId": "listApprovalRules", + "x-implementation-status": "implemented", "summary": "List current draft approval rules", "responses": { "200": { @@ -616,6 +626,7 @@ "Approval Knowledge" ], "operationId": "createApprovalRule", + "x-implementation-status": "planned", "summary": "Create draft approval rule", "requestBody": { "required": true, @@ -708,6 +719,7 @@ "Approval Knowledge" ], "operationId": "updateApprovalRule", + "x-implementation-status": "planned", "summary": "Update draft approval rule", "requestBody": { "required": true, @@ -783,6 +795,7 @@ "Approval Knowledge" ], "operationId": "deleteApprovalRule", + "x-implementation-status": "planned", "summary": "Delete draft approval rule", "responses": { "200": { @@ -797,6 +810,7 @@ "Approval Knowledge" ], "operationId": "listApprovalRuleVersions", + "x-implementation-status": "planned", "summary": "List published approval rule versions", "responses": { "200": { @@ -860,6 +874,7 @@ "Approval Knowledge" ], "operationId": "getApprovalRuleVersion", + "x-implementation-status": "planned", "summary": "Get published approval rule version", "responses": { "200": { @@ -909,6 +924,7 @@ "Approval Knowledge" ], "operationId": "getApprovalRuleByVersion", + "x-implementation-status": "planned", "summary": "Get one wrapped rule from a published version", "parameters": [ { @@ -986,6 +1002,7 @@ "Approval Knowledge" ], "operationId": "publishApprovalRuleVersion", + "x-implementation-status": "planned", "summary": "Publish current draft rules", "requestBody": { "required": true, @@ -1026,6 +1043,7 @@ "Approval Knowledge" ], "operationId": "listApprovalDocuments", + "x-implementation-status": "planned", "summary": "List approval knowledge documents", "parameters": [ { @@ -1092,6 +1110,7 @@ "Approval Knowledge" ], "operationId": "createApprovalDocument", + "x-implementation-status": "planned", "summary": "Create approval knowledge document", "requestBody": { "required": true, @@ -1210,6 +1229,7 @@ "Approval Knowledge" ], "operationId": "getApprovalDocument", + "x-implementation-status": "planned", "summary": "Get approval knowledge document", "responses": { "200": { @@ -1271,6 +1291,7 @@ "Approval Knowledge" ], "operationId": "updateApprovalDocument", + "x-implementation-status": "planned", "summary": "Update approval knowledge document", "requestBody": { "required": true, @@ -1375,6 +1396,7 @@ "Approval Knowledge" ], "operationId": "deleteApprovalDocument", + "x-implementation-status": "planned", "summary": "Delete approval knowledge document", "responses": { "200": { @@ -1389,6 +1411,7 @@ "Approval Knowledge" ], "operationId": "getApprovalStylePreferences", + "x-implementation-status": "planned", "summary": "Get approval style preferences", "responses": { "200": { @@ -1438,6 +1461,7 @@ "Approval Knowledge" ], "operationId": "updateApprovalStylePreferences", + "x-implementation-status": "planned", "summary": "Update approval style preferences", "requestBody": { "required": true, @@ -1523,12 +1547,165 @@ } } }, + "/v1/preferences": { + "get": { + "tags": [ + "Approval Knowledge" + ], + "operationId": "getPreferences", + "x-implementation-status": "implemented", + "summary": "Get current decision, thinking-depth and rule-version preferences", + "parameters": [ + { + "name": "corpId", + "in": "query", + "schema": { + "type": "string" + }, + "description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used." + } + ], + "responses": { + "200": { + "description": "Decision preferences, thinking depth preference and the bound rule set version.", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "properties": { + "tone": { + "type": "string" + }, + "language": { + "type": "string" + }, + "detailLevel": { + "type": "string" + }, + "outputFormat": { + "type": "string" + }, + "examples": { + "type": "array", + "items": { + "type": "string" + } + }, + "prohibitedPhrases": { + "type": "array", + "items": { + "type": "string" + } + }, + "customInstructions": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/v1/preferences/decision": { + "post": { + "tags": [ + "Approval Knowledge" + ], + "operationId": "updatePreferenceDecision", + "x-implementation-status": "implemented", + "summary": "Update decision preferences (takes effect immediately for the running approval agent)", + "parameters": [ + { + "name": "corpId", + "in": "query", + "schema": { + "type": "string" + }, + "description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used." + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "explicitApprove": { + "type": "string" + }, + "explicitReject": { + "type": "string" + }, + "exemptApprove": { + "type": "string" + }, + "review": { + "type": "string" + }, + "dryRun": { + "type": "boolean", + "description": "Return the before/after diff without writing." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Updated preferences, or the previewed diff when dryRun is set.", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true, + "properties": { + "tone": { + "type": "string" + }, + "language": { + "type": "string" + }, + "detailLevel": { + "type": "string" + }, + "outputFormat": { + "type": "string" + }, + "examples": { + "type": "array", + "items": { + "type": "string" + } + }, + "prohibitedPhrases": { + "type": "array", + "items": { + "type": "string" + } + }, + "customInstructions": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/v1/approval-runs": { "get": { "tags": [ "Approval Runs" ], "operationId": "searchApprovalRuns", + "x-implementation-status": "implemented", "summary": "Search wrapped approval run history", "parameters": [ { @@ -1690,6 +1867,7 @@ "Approval Runs" ], "operationId": "summarizeApprovalRuns", + "x-implementation-status": "implemented", "summary": "Summarize approval runs by local date", "parameters": [ { @@ -1780,12 +1958,88 @@ } } }, + "/v1/approval-runs/stats": { + "get": { + "tags": [ + "Approval Runs" + ], + "operationId": "statApprovalRuns", + "x-implementation-status": "implemented", + "summary": "Aggregate approval run counts by status and source system", + "parameters": [ + { + "name": "corpId", + "in": "query", + "schema": { + "type": "string" + }, + "description": "Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used." + }, + { + "name": "since", + "in": "query", + "schema": { + "type": "string" + }, + "description": "Time window such as 3months, 7days or 24hours." + }, + { + "name": "dedupeBy", + "in": "query", + "schema": { + "type": "string", + "enum": [ + "sourceDocumentSN", + "sourceDocumentId", + "id" + ], + "default": "sourceDocumentSN" + }, + "description": "Field used to count distinct business documents." + }, + { + "name": "status", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "sourceSystem", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "taskMode", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Counts grouped by status and source system, plus the deduplicated total.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, "/v1/approval-runs/pick": { "get": { "tags": [ "Approval Runs" ], "operationId": "pickApprovalRuns", + "x-implementation-status": "implemented", "summary": "Pick likely approval runs by document number or trace key", "parameters": [ { @@ -1872,6 +2126,7 @@ "Approval Runs" ], "operationId": "getApprovalRunLangfuseBridge", + "x-implementation-status": "planned", "summary": "Resolve approval runs to Langfuse trace or session hints", "parameters": [ { @@ -1950,6 +2205,7 @@ "Approval Runs" ], "operationId": "getApprovalRunUrl", + "x-implementation-status": "implemented", "summary": "Get enterprise assist URL and optional source document URL", "parameters": [ { @@ -2031,6 +2287,7 @@ "Approval Runs" ], "operationId": "getApprovalRun", + "x-implementation-status": "implemented", "summary": "Get wrapped approval run detail", "parameters": [ { @@ -2081,6 +2338,7 @@ "Approval Runs" ], "operationId": "getApprovalRunCitedRules", + "x-implementation-status": "implemented", "summary": "Extract rules cited or matched by the AI result", "responses": { "200": { @@ -2114,6 +2372,7 @@ "Approval Runs" ], "operationId": "getApprovalRunDocumentSummary", + "x-implementation-status": "implemented", "summary": "Get key document fields and compact AI/manual result", "responses": { "200": { @@ -2147,6 +2406,7 @@ "Approval Runs" ], "operationId": "getApprovalRunAttachments", + "x-implementation-status": "implemented", "summary": "List compact attachment metadata", "parameters": [ { @@ -2189,6 +2449,7 @@ "Approval Runs" ], "operationId": "getApprovalRunResult", + "x-implementation-status": "implemented", "summary": "Get AI result, optionally as a compact summary", "parameters": [ { @@ -2220,6 +2481,7 @@ "Simulation" ], "operationId": "createSimulationBatch", + "x-implementation-status": "implemented", "summary": "Create a simulation batch", "requestBody": { "required": true, @@ -2253,6 +2515,7 @@ "Simulation" ], "operationId": "createMaterialPackBatch", + "x-implementation-status": "planned", "summary": "Create a material pack simulation batch", "requestBody": { "required": true, @@ -2286,6 +2549,7 @@ "Simulation" ], "operationId": "listSimulationBatches", + "x-implementation-status": "implemented", "summary": "List simulation batches", "parameters": [ { @@ -2332,6 +2596,7 @@ "Simulation" ], "operationId": "getSimulationBatch", + "x-implementation-status": "implemented", "summary": "Get a simulation batch detail including echoed create params", "responses": { "200": { @@ -2365,6 +2630,7 @@ "Simulation" ], "operationId": "getSimulationBatchRecords", + "x-implementation-status": "planned", "summary": "Get wrapped simulation batch records", "parameters": [ { @@ -2397,6 +2663,7 @@ "Simulation" ], "operationId": "listSimulationTemplates", + "x-implementation-status": "planned", "summary": "List simulation test templates", "responses": { "200": { @@ -2422,6 +2689,7 @@ "Simulation" ], "operationId": "getSimulationIntegrationStatus", + "x-implementation-status": "planned", "summary": "Get available source integration status for simulation", "responses": { "200": { @@ -2444,6 +2712,7 @@ "Simulation" ], "operationId": "listSimulationHosecloudIntegrations", + "x-implementation-status": "planned", "summary": "List hosecloud source integrations available for simulation", "responses": { "200": { @@ -2469,6 +2738,7 @@ "Simulation" ], "operationId": "uploadMaterialPackage", + "x-implementation-status": "planned", "summary": "Upload a material package ZIP for simulation", "requestBody": { "required": true, @@ -2508,7 +2778,7 @@ "type": "apiKey", "in": "header", "name": "X-Seal-Home-Session", - "description": "Optional local service session header for future HTTP deployments." + "description": "Reserved header. The local adapter does not currently authenticate requests: it acts with\nthe credentials already stored on this machine for the selected enterprise. Keep it bound\nto loopback (`--host 127.0.0.1`) and do not expose the port to a network or an origin you\ndo not control.\n" } }, "parameters": { diff --git a/plugin-migration-plan.md b/docs/proposals/plugin-migration-plan.md similarity index 100% rename from plugin-migration-plan.md rename to docs/proposals/plugin-migration-plan.md diff --git a/linters/README.md b/linters/README.md new file mode 100644 index 0000000..ee13cc8 --- /dev/null +++ b/linters/README.md @@ -0,0 +1,40 @@ +# `linters/` — local custom rule linters (intentionally untracked) + +`seal-use rules lint` resolves custom linters from two directories, in this order +(`src/domains/seal/linter/loader.ts`): + +1. `/linters/` — **this directory**, relative to the working directory the CLI runs in +2. `~/.config/seal-use/linters/` + +`/linters/` is gitignored (all of it except this file), so a fresh clone has no custom +linters and `rules lint` silently falls back to the official ones. Only this README is tracked, +to record the convention. + +## Conventions + +- One linter per file, named `.ts`, `.js` or `.mjs`. The basename is the + linter name used by `seal-use rules lint --linter `. +- The official linters occupy `~/.config/seal-use/linters/official/`, which is **excluded** from + custom-linter discovery and rewritten on every load. Never put custom code there; put it + directly in `linters/` or in `~/.config/seal-use/linters/`. +- Prefer `~/.config/seal-use/linters/` for linters you want available from every directory: this + directory only applies when the CLI happens to be started from the repository root. + +## Module shape + +```ts +import type { RuleLintTarget, RuleLintResult } from "…"; + +export default function myLinter(rule: RuleLintTarget): RuleLintResult { + // … +} +``` + +`default`, `lintRule`, `linter` and `lint` are all accepted exports, and each is wrapped so a +throwing linter degrades to a reported error rather than aborting the run. + +## Trust boundary + +A custom linter is **imported and executed in the CLI process**, with the CLI's filesystem access +and the enterprise credentials it holds. Treat these files as code you trust: never drop an +unreviewed linter here, and never point the CLI's working directory at an untrusted checkout. diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index f768999..5d304b8 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -3,15 +3,25 @@ info: title: seal-use Wrapped API version: 0.10.24 description: | - Planned HTTP contract for the seal-use wrapped backend API. + HTTP contract for the seal-use wrapped backend API, served by the local HTTP adapter + (`seal-use http`, or the `seal-use service start` daemon; default http://127.0.0.1:8787). - These endpoints describe the intended stable API for frontend developers and agents once - the HTTP adapter is implemented. - They are not the raw downstream Seal endpoints. seal-use is responsible for enterprise - selection, source authentication, response compaction, and diagnostics-friendly fields. + These endpoints describe the stable wrapped API for frontend developers and agents. They are + not the raw downstream Seal endpoints: seal-use is responsible for enterprise selection, + source authentication, response compaction, and diagnostics-friendly fields. + + Every operation declares `x-implementation-status`, so a caller can tell what the running + adapter actually serves: + + - `implemented` — routed by `src/http/routes.ts` today. `src/http/openapi-implementation.test.ts` + fails when an `implemented` operation has no matching route. + - `planned` — contract-only, designed but not routed yet. Calling it returns 404. + + The same capabilities are reachable through the CLI, and through the optional MCP server when + it is enabled. servers: - url: http://localhost:8787 - description: Reserved for a future local HTTP adapter; the current service uses MCP stdio. + description: Local HTTP adapter (`seal-use http`, or the `seal-use service start` daemon). Loopback-only by default. security: - localSession: [] tags: @@ -35,7 +45,11 @@ components: type: apiKey in: header name: X-Seal-Home-Session - description: Optional local service session header for future HTTP deployments. + description: | + Reserved header. The local adapter does not currently authenticate requests: it acts with + the credentials already stored on this machine for the selected enterprise. Keep it bound + to loopback (`--host 127.0.0.1`) and do not expose the port to a network or an origin you + do not control. parameters: $ref: ./components/parameters.yaml responses: diff --git a/openapi/paths/approval-knowledge.yaml b/openapi/paths/approval-knowledge.yaml index 4391df3..187f660 100644 --- a/openapi/paths/approval-knowledge.yaml +++ b/openapi/paths/approval-knowledge.yaml @@ -3,6 +3,7 @@ paths: get: tags: [Approval Knowledge] operationId: getApprovalContext + x-implementation-status: planned summary: Get rules, documents, and style preferences together parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -30,6 +31,7 @@ paths: post: tags: [Approval Knowledge] operationId: searchApprovalKnowledge + x-implementation-status: planned summary: Search approval rules, documents, and preferences requestBody: required: true @@ -48,6 +50,7 @@ paths: get: tags: [Approval Knowledge] operationId: listApprovalRules + x-implementation-status: implemented summary: List current draft approval rules responses: "200": @@ -59,6 +62,7 @@ paths: post: tags: [Approval Knowledge] operationId: createApprovalRule + x-implementation-status: planned summary: Create draft approval rule requestBody: required: true @@ -79,6 +83,7 @@ paths: patch: tags: [Approval Knowledge] operationId: updateApprovalRule + x-implementation-status: planned summary: Update draft approval rule requestBody: required: true @@ -96,6 +101,7 @@ paths: delete: tags: [Approval Knowledge] operationId: deleteApprovalRule + x-implementation-status: planned summary: Delete draft approval rule responses: "200": @@ -104,6 +110,7 @@ paths: get: tags: [Approval Knowledge] operationId: listApprovalRuleVersions + x-implementation-status: planned summary: List published approval rule versions responses: "200": @@ -120,6 +127,7 @@ paths: get: tags: [Approval Knowledge] operationId: getApprovalRuleVersion + x-implementation-status: planned summary: Get published approval rule version responses: "200": @@ -132,6 +140,7 @@ paths: get: tags: [Approval Knowledge] operationId: getApprovalRuleByVersion + x-implementation-status: planned summary: Get one wrapped rule from a published version parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -174,6 +183,7 @@ paths: post: tags: [Approval Knowledge] operationId: publishApprovalRuleVersion + x-implementation-status: planned summary: Publish current draft rules requestBody: required: true @@ -193,6 +203,7 @@ paths: get: tags: [Approval Knowledge] operationId: listApprovalDocuments + x-implementation-status: planned summary: List approval knowledge documents parameters: - $ref: ../components/parameters.yaml#/Offset @@ -220,6 +231,7 @@ paths: post: tags: [Approval Knowledge] operationId: createApprovalDocument + x-implementation-status: planned summary: Create approval knowledge document requestBody: required: true @@ -240,6 +252,7 @@ paths: get: tags: [Approval Knowledge] operationId: getApprovalDocument + x-implementation-status: planned summary: Get approval knowledge document responses: "200": @@ -251,6 +264,7 @@ paths: patch: tags: [Approval Knowledge] operationId: updateApprovalDocument + x-implementation-status: planned summary: Update approval knowledge document requestBody: required: true @@ -268,6 +282,7 @@ paths: delete: tags: [Approval Knowledge] operationId: deleteApprovalDocument + x-implementation-status: planned summary: Delete approval knowledge document responses: "200": @@ -276,6 +291,7 @@ paths: get: tags: [Approval Knowledge] operationId: getApprovalStylePreferences + x-implementation-status: planned summary: Get approval style preferences responses: "200": @@ -287,6 +303,7 @@ paths: patch: tags: [Approval Knowledge] operationId: updateApprovalStylePreferences + x-implementation-status: planned summary: Update approval style preferences requestBody: required: true @@ -301,3 +318,51 @@ paths: application/json: schema: $ref: ../components/schemas/index.yaml#/ApprovalStylePreferences + /v1/preferences: + get: + tags: [Approval Knowledge] + operationId: getPreferences + x-implementation-status: implemented + summary: Get current decision, thinking-depth and rule-version preferences + parameters: + - $ref: ../components/parameters.yaml#/CorpId + responses: + "200": + description: Decision preferences, thinking depth preference and the bound rule set version. + content: + application/json: + schema: + $ref: ../components/schemas/index.yaml#/ApprovalStylePreferences + /v1/preferences/decision: + post: + tags: [Approval Knowledge] + operationId: updatePreferenceDecision + x-implementation-status: implemented + summary: Update decision preferences (takes effect immediately for the running approval agent) + parameters: + - $ref: ../components/parameters.yaml#/CorpId + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + explicitApprove: + type: string + explicitReject: + type: string + exemptApprove: + type: string + review: + type: string + dryRun: + type: boolean + description: Return the before/after diff without writing. + responses: + "200": + description: Updated preferences, or the previewed diff when dryRun is set. + content: + application/json: + schema: + $ref: ../components/schemas/index.yaml#/ApprovalStylePreferences diff --git a/openapi/paths/approval-runs.yaml b/openapi/paths/approval-runs.yaml index 04c1ca9..4046a93 100644 --- a/openapi/paths/approval-runs.yaml +++ b/openapi/paths/approval-runs.yaml @@ -3,6 +3,7 @@ paths: get: tags: [Approval Runs] operationId: searchApprovalRuns + x-implementation-status: implemented summary: Search wrapped approval run history parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -70,6 +71,7 @@ paths: get: tags: [Approval Runs] operationId: summarizeApprovalRuns + x-implementation-status: implemented summary: Summarize approval runs by local date parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -99,10 +101,50 @@ paths: application/json: schema: $ref: ../components/schemas/index.yaml#/ApprovalRunsSummary + /v1/approval-runs/stats: + get: + tags: [Approval Runs] + operationId: statApprovalRuns + x-implementation-status: implemented + summary: Aggregate approval run counts by status and source system + parameters: + - $ref: ../components/parameters.yaml#/CorpId + - name: since + in: query + schema: + type: string + description: Time window such as 3months, 7days or 24hours. + - name: dedupeBy + in: query + schema: + type: string + enum: [sourceDocumentSN, sourceDocumentId, id] + default: sourceDocumentSN + description: Field used to count distinct business documents. + - name: status + in: query + schema: + type: string + - name: sourceSystem + in: query + schema: + type: string + - name: taskMode + in: query + schema: + type: string + responses: + "200": + description: Counts grouped by status and source system, plus the deduplicated total. + content: + application/json: + schema: + type: object /v1/approval-runs/pick: get: tags: [Approval Runs] operationId: pickApprovalRuns + x-implementation-status: implemented summary: Pick likely approval runs by document number or trace key parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -151,6 +193,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRunLangfuseBridge + x-implementation-status: planned summary: Resolve approval runs to Langfuse trace or session hints parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -181,6 +224,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRunUrl + x-implementation-status: implemented summary: Get enterprise assist URL and optional source document URL parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -209,6 +253,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRun + x-implementation-status: implemented summary: Get wrapped approval run detail parameters: - name: summary @@ -234,6 +279,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRunCitedRules + x-implementation-status: implemented summary: Extract rules cited or matched by the AI result responses: "200": @@ -249,6 +295,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRunDocumentSummary + x-implementation-status: implemented summary: Get key document fields and compact AI/manual result responses: "200": @@ -264,6 +311,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRunAttachments + x-implementation-status: implemented summary: List compact attachment metadata parameters: - name: summary @@ -284,6 +332,7 @@ paths: get: tags: [Approval Runs] operationId: getApprovalRunResult + x-implementation-status: implemented summary: Get AI result, optionally as a compact summary parameters: - name: summary diff --git a/openapi/paths/auth.yaml b/openapi/paths/auth.yaml index b31a23d..1634972 100644 --- a/openapi/paths/auth.yaml +++ b/openapi/paths/auth.yaml @@ -3,6 +3,7 @@ paths: get: tags: [Auth] operationId: diagnoseAuth + x-implementation-status: planned summary: Diagnose wrapped source-to-Seal authentication parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -17,6 +18,7 @@ paths: get: tags: [Auth] operationId: whoami + x-implementation-status: implemented summary: Get current wrapped Seal identity parameters: - $ref: ../components/parameters.yaml#/CorpId @@ -33,6 +35,7 @@ paths: get: tags: [Auth] operationId: getSession + x-implementation-status: implemented summary: Get current wrapped Seal session metadata parameters: - $ref: ../components/parameters.yaml#/CorpId diff --git a/openapi/paths/corps.yaml b/openapi/paths/corps.yaml index ea86a3a..056fb07 100644 --- a/openapi/paths/corps.yaml +++ b/openapi/paths/corps.yaml @@ -3,6 +3,7 @@ paths: get: tags: [Corps] operationId: listCorps + x-implementation-status: implemented summary: List configured enterprises responses: "200": @@ -17,6 +18,7 @@ paths: get: tags: [Corps] operationId: getCurrentCorp + x-implementation-status: planned summary: Get current enterprise description: Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations. responses: @@ -30,6 +32,7 @@ paths: post: tags: [Corps] operationId: switchCurrentCorp + x-implementation-status: planned summary: Switch current enterprise requestBody: required: true diff --git a/openapi/paths/index.yaml b/openapi/paths/index.yaml index 55f5585..cc923bd 100644 --- a/openapi/paths/index.yaml +++ b/openapi/paths/index.yaml @@ -34,10 +34,16 @@ $ref: ./approval-knowledge.yaml#/paths/~1v1~1approval~1documents~1{documentId} /v1/approval/style-preferences: $ref: ./approval-knowledge.yaml#/paths/~1v1~1approval~1style-preferences +/v1/preferences: + $ref: ./approval-knowledge.yaml#/paths/~1v1~1preferences +/v1/preferences/decision: + $ref: ./approval-knowledge.yaml#/paths/~1v1~1preferences~1decision /v1/approval-runs: $ref: ./approval-runs.yaml#/paths/~1v1~1approval-runs /v1/approval-runs/summary: $ref: ./approval-runs.yaml#/paths/~1v1~1approval-runs~1summary +/v1/approval-runs/stats: + $ref: ./approval-runs.yaml#/paths/~1v1~1approval-runs~1stats /v1/approval-runs/pick: $ref: ./approval-runs.yaml#/paths/~1v1~1approval-runs~1pick /v1/approval-runs/bridge: diff --git a/openapi/paths/simulation.yaml b/openapi/paths/simulation.yaml index 3f857a8..9a0191a 100644 --- a/openapi/paths/simulation.yaml +++ b/openapi/paths/simulation.yaml @@ -3,6 +3,7 @@ paths: post: tags: [Simulation] operationId: createSimulationBatch + x-implementation-status: implemented summary: Create a simulation batch requestBody: required: true @@ -23,6 +24,7 @@ paths: post: tags: [Simulation] operationId: createMaterialPackBatch + x-implementation-status: planned summary: Create a material pack simulation batch requestBody: required: true @@ -43,6 +45,7 @@ paths: get: tags: [Simulation] operationId: listSimulationBatches + x-implementation-status: implemented summary: List simulation batches parameters: - name: limit @@ -66,6 +69,7 @@ paths: get: tags: [Simulation] operationId: getSimulationBatch + x-implementation-status: implemented summary: Get a simulation batch detail including echoed create params responses: "200": @@ -81,6 +85,7 @@ paths: get: tags: [Simulation] operationId: getSimulationBatchRecords + x-implementation-status: planned summary: Get wrapped simulation batch records parameters: - name: query @@ -100,6 +105,7 @@ paths: get: tags: [Simulation] operationId: listSimulationTemplates + x-implementation-status: planned summary: List simulation test templates responses: "200": @@ -115,6 +121,7 @@ paths: get: tags: [Simulation] operationId: getSimulationIntegrationStatus + x-implementation-status: planned summary: Get available source integration status for simulation responses: "200": @@ -128,6 +135,7 @@ paths: get: tags: [Simulation] operationId: listSimulationHosecloudIntegrations + x-implementation-status: planned summary: List hosecloud source integrations available for simulation responses: "200": @@ -143,6 +151,7 @@ paths: post: tags: [Simulation] operationId: uploadMaterialPackage + x-implementation-status: planned summary: Upload a material package ZIP for simulation requestBody: required: true diff --git a/openapi/paths/source.yaml b/openapi/paths/source.yaml index 54ceb71..db16e2e 100644 --- a/openapi/paths/source.yaml +++ b/openapi/paths/source.yaml @@ -3,6 +3,7 @@ paths: get: tags: [Source] operationId: getSourceConfig + x-implementation-status: planned summary: Resolve source-derived Seal enterprise config parameters: - $ref: ../components/parameters.yaml#/CorpId diff --git a/package.json b/package.json index 48a3507..25afa36 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,26 @@ { "name": "seal-use", "version": "0.10.24", + "private": true, + "description": "Seal tenant operations toolkit: approval-run diagnosis, rule remediation, Hose/合思 auth, plus a CLI and an optional MCP server.", + "license": "MIT", + "author": { + "name": "yingqing" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/yunyingk/seal-use.git" + }, "type": "module", "module": "src/server.ts", "bin": { "seal-use": "src/cli.ts", "seal-home": "src/cli.ts" }, + "packageManager": "bun@1.3.14", + "engines": { + "bun": ">=1.3.14" + }, "scripts": { "dev": "bun run --watch src/server.ts", "start": "bun run src/server.ts", diff --git a/src/cli/service.ts b/src/cli/service.ts index 6c1514c..3d4f1c3 100644 --- a/src/cli/service.ts +++ b/src/cli/service.ts @@ -218,16 +218,25 @@ function stopService(config: ServiceConfig, options: { quiet?: boolean } = {}) { return options.quiet ? undefined : { stopped: true, pid }; } +/** + * A pid file only proves that *some* process holds that pid. Match the recorded identity as argv + * tokens — the exact `service run` subcommand pair plus a path to this app or a seal-use launcher + * — instead of as substrings anywhere in the command line, so a stale pid cannot make an + * unrelated process look like our daemon and get signalled by `service stop`. + */ function isSealHomeProcess(pid: number, appRoot: string) { if (!isProcessRunning(pid)) return false; try { const command = execFileSync("ps", ["-p", String(pid), "-o", "command="], { encoding: "utf8" }); - const matchesTarget = - command.includes(appRoot) || - command.includes("seal-use") || - command.includes("src/cli.ts"); - return matchesTarget && command.includes("service") && command.includes("run"); + const tokens = command.trim().split(/\s+/).filter(Boolean); + + const serviceIndex = tokens.indexOf("service"); + const runsService = serviceIndex !== -1 && tokens[serviceIndex + 1] === "run"; + const isSealUse = + command.includes(appRoot) || tokens.some((token) => /(^|[\\/])(seal-use|seal-home)(\.exe)?$/.test(token)); + + return runsService && isSealUse; } catch { return false; } diff --git a/src/core/doctor/diagnose.ts b/src/core/doctor/diagnose.ts index ffe96bd..6f80ff8 100644 --- a/src/core/doctor/diagnose.ts +++ b/src/core/doctor/diagnose.ts @@ -5,6 +5,7 @@ import { PRIMARY_LINTERS_DIR, OFFICIAL_LINTERS_DIR } from "../../domains/seal/li import { VERSION } from "../../version.js"; import { loadCorpConfigs, loadGlobalConfig } from "../config/loader.js"; import { getDefaultGlobalSkillDir } from "../embedded-skill.js"; +import { resolveUsageFilePath } from "../stats/usage-tracker.js"; import { EMBEDDED_DIRECTORY_SPECS, EMBEDDED_DOMAIN_CAPABILITIES, @@ -72,6 +73,37 @@ function isPathWritable(path: string): boolean { } } +/** + * Lists the JSON configs in a directory, skipping the shipped `example.*.json` templates: those + * hold placeholders only, so their default mode is not a finding. + */ +function listCredentialFilePaths(dir: string): string[] { + if (!existsSync(dir)) return []; + try { + return readdirSync(dir) + .filter((file) => file.endsWith(".json") && !file.startsWith("example.")) + .map((file) => join(dir, file)); + } catch { + return []; + } +} + +/** + * The tool writes credential-bearing files 0o600 (`core/config/loader.ts`, + * `cli/commands/corps.ts`, `core/auth/token-store.ts`), but a file placed by hand keeps the + * 0o644 default — and `enterprises/local.json` holds a plaintext Hose app key and password. + * Report those rather than assuming the writers' mode. + */ +function findGroupOrWorldReadable(paths: string[]): string[] { + return paths.filter((path) => { + try { + return (statSync(path).mode & 0o077) !== 0; + } catch { + return false; + } + }); +} + /** * Pure, read-only system diagnostic and health inspection. * Never creates, mutates, or deletes any files on the filesystem. @@ -247,6 +279,26 @@ export function diagnoseSystem(): DoctorDiagnosis { }); } + // Check 5: Credential file permissions + const credentialFiles = [ + tokenStore, + globalConfigFile, + resolveUsageFilePath(), + ...listCredentialFilePaths(enterprisesDir), + ...listCredentialFilePaths(join(process.cwd(), "enterprises")) + ].filter((path, index, all) => all.indexOf(path) === index && existsSync(path)); + + const looseCredentialFiles = findGroupOrWorldReadable(credentialFiles); + checks.push({ + id: "credential_permissions", + title: "凭据文件权限", + status: looseCredentialFiles.length === 0 ? "ok" : "warn", + message: + looseCredentialFiles.length === 0 + ? `已检查 ${credentialFiles.length} 个凭据文件,均为仅属主可读 (0600)` + : `${looseCredentialFiles.length} 个凭据文件权限宽于 0600(同机其他用户可读,取决于父目录权限),建议 chmod 600:${looseCredentialFiles.join("、")}` + }); + const hasWarning = checks.some((c) => c.status === "warn" || c.status === "error"); const engine = typeof (globalThis as any).Bun !== "undefined" diff --git a/src/core/stats/usage-tracker.ts b/src/core/stats/usage-tracker.ts index a3f09ce..cae6509 100644 --- a/src/core/stats/usage-tracker.ts +++ b/src/core/stats/usage-tracker.ts @@ -66,7 +66,9 @@ function saveUsageStatsAtomic(stats: CorpUsageStats, targetPath: string = resolv } const tempPath = `${targetPath}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2, 8)}.tmp`; try { - writeFileSync(tempPath, JSON.stringify(stats, null, 2), "utf-8"); + // 0o600 like `seal_tokens.json`: usage rows name the enterprises this machine has been + // operating, so keep them owner-only instead of inheriting the 0o644 default. + writeFileSync(tempPath, JSON.stringify(stats, null, 2), { encoding: "utf-8", mode: 0o600 }); renameSync(tempPath, targetPath); } catch (err) { try { diff --git a/src/http/openapi-implementation.test.ts b/src/http/openapi-implementation.test.ts new file mode 100644 index 0000000..967b226 --- /dev/null +++ b/src/http/openapi-implementation.test.ts @@ -0,0 +1,106 @@ +import { describe, expect, test } from "bun:test"; +import { readFileSync } from "node:fs"; +import { join } from "node:path"; +import { getOpenApiSchema } from "../core/embedded-openapi.js"; + +// The bundled contract is what consumers read: `seal-use http` serves it at /openapi.json and +// `dist/openapi.json` is committed. It had drifted from the adapter in both directions — it +// documented /v1/approval/rules/{ruleId} PATCH/DELETE and /v1/approval/documents* that no route +// serves (a caller following it gets 404), and it omitted /v1/approval-runs/stats, which the +// adapter does serve. Marking each operation here turns that drift into a failing test. +// +// What this proves: every operation claimed `implemented` has a matching route in routes.ts, and +// every exact /v1 route in routes.ts is in the contract. What it does not prove: that a +// `planned` operation's *placeholder* prefix is unrouted (prefix branches are matched loosely), +// nor that an operation's request/response schema matches its handler. +const IMPLEMENTATION_KEY = "x-implementation-status"; +const OPERATION_METHODS = ["get", "post", "put", "patch", "delete"] as const; +const VALID_STATUSES = ["implemented", "planned"]; + +type Operation = { method: string; path: string; status: string }; + +function collectOperations(): Operation[] { + const schema = getOpenApiSchema() as { + paths?: Record>; + }; + const operations: Operation[] = []; + + for (const [path, pathItem] of Object.entries(schema.paths ?? {})) { + for (const method of OPERATION_METHODS) { + const operation = pathItem[method]; + if (operation === undefined) continue; + if (typeof operation !== "object" || operation === null) continue; + const status = (operation as Record)[IMPLEMENTATION_KEY]; + operations.push({ method, path, status: typeof status === "string" ? status : "" }); + } + } + + return operations; +} + +const routesSource = readFileSync(join(import.meta.dir, "routes.ts"), "utf8"); + +/** Literals compared with `pathname === "…"`, i.e. routes with no path parameters. */ +function exactRouteLiterals(): string[] { + return Array.from(routesSource.matchAll(/pathname === "([^"]+)"/g), (match) => match[1]!).filter( + (literal) => literal.startsWith("/v1/") + ); +} + +/** Prefix literals compared with `pathname.startsWith("…")`, which carry the path parameters. */ +function prefixRouteLiterals(): string[] { + return Array.from(routesSource.matchAll(/pathname\.startsWith\("([^"]+)"\)/g), (match) => match[1]!); +} + +describe("OpenAPI contract vs HTTP adapter", () => { + test("every operation declares its implementation status", () => { + const operations = collectOperations(); + expect(operations.length).toBeGreaterThan(40); + + for (const { method, path, status } of operations) { + expect({ method, path, status, valid: VALID_STATUSES.includes(status) }).toEqual({ + method, + path, + status, + valid: true + }); + } + }); + + test("both statuses are in use, so the marking cannot go vacuous", () => { + const operations = collectOperations(); + const implemented = operations.filter((operation) => operation.status === "implemented"); + const planned = operations.filter((operation) => operation.status === "planned"); + + // A minimum count fails loudly if `planned` operations are mass-promoted by accident. + expect(implemented.length).toBeGreaterThanOrEqual(15); + expect(planned.length).toBeGreaterThanOrEqual(15); + }); + + test("every operation claimed implemented is actually routed", () => { + const exactLiterals = new Set(exactRouteLiterals()); + const prefixLiterals = new Set(prefixRouteLiterals()); + + for (const { method, path, status } of collectOperations()) { + if (status !== "implemented") continue; + + // `/v1/approval-runs/{recordId}/result` is served by the `/v1/approval-runs/` prefix + // branch, so a placeholder path is proven by its static prefix rather than by equality. + const hasPlaceholder = path.includes("{"); + const prefix = path.split("/{")[0]!; + const routed = hasPlaceholder + ? prefixLiterals.has(`${prefix}/`) + : exactLiterals.has(path); + + expect({ method, path, routed }).toEqual({ method, path, routed: true }); + } + }); + + test("every exact /v1 route is documented", () => { + const documented = new Set(collectOperations().map((operation) => operation.path)); + + for (const literal of exactRouteLiterals()) { + expect({ literal, documented: documented.has(literal) }).toEqual({ literal, documented: true }); + } + }); +});