From d462ba3d423129d8fc18019d042f12f8ec695c6d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:07:16 +0000 Subject: [PATCH 1/2] chore(deps): bump the frontend-dependencies group Bumps the frontend-dependencies group in /frontend with 10 updates: | Package | From | To | | --- | --- | --- | | [@codemirror/autocomplete](https://github.com/codemirror/autocomplete) | `6.20.3` | `6.20.4` | | [@codemirror/view](https://github.com/codemirror/view) | `6.43.14` | `6.43.15` | | [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.104.4` | `5.104.5` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.59.0` | `1.61.0` | | [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) | `6.14.0` | `6.15.0` | | [react-resizable-panels](https://github.com/bvaughn/react-resizable-panels) | `4.14.5` | `4.14.8` | | [shadcn](https://github.com/shadcn-ui/ui/tree/HEAD/packages/shadcn) | `4.22.0` | `4.22.1` | | [monocart-coverage-reports](https://github.com/cenfun/monocart-coverage-reports) | `2.13.2` | `3.0.0` | | [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) | `1.88.0` | `1.89.0` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.4` | `8.3.5` | Updates `@codemirror/autocomplete` from 6.20.3 to 6.20.4 - [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md) - [Commits](https://github.com/codemirror/autocomplete/commits) Updates `@codemirror/view` from 6.43.14 to 6.43.15 - [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md) - [Commits](https://github.com/codemirror/view/commits) Updates `@tanstack/react-query` from 5.104.4 to 5.104.5 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/react-query@5.104.5/packages/react-query) Updates `lucide-react` from 1.59.0 to 1.61.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.61.0/packages/lucide-react) Updates `maplibre-gl` from 6.14.0 to 6.15.0 - [Release notes](https://github.com/maplibre/maplibre-gl-js/releases) - [Changelog](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/maplibre/maplibre-gl-js/compare/v6.14.0...v6.15.0) Updates `react-resizable-panels` from 4.14.5 to 4.14.8 - [Release notes](https://github.com/bvaughn/react-resizable-panels/releases) - [Changelog](https://github.com/bvaughn/react-resizable-panels/blob/main/CHANGELOG.md) - [Commits](https://github.com/bvaughn/react-resizable-panels/compare/4.14.5...4.14.8) Updates `shadcn` from 4.22.0 to 4.22.1 - [Release notes](https://github.com/shadcn-ui/ui/releases) - [Changelog](https://github.com/shadcn-ui/ui/blob/main/packages/shadcn/CHANGELOG.md) - [Commits](https://github.com/shadcn-ui/ui/commits/shadcn@4.22.1/packages/shadcn) Updates `monocart-coverage-reports` from 2.13.2 to 3.0.0 - [Release notes](https://github.com/cenfun/monocart-coverage-reports/releases) - [Changelog](https://github.com/cenfun/monocart-coverage-reports/blob/main/CHANGELOG.md) - [Commits](https://github.com/cenfun/monocart-coverage-reports/compare/v2.13.2...v3.0.0) Updates `oxlint` from 1.88.0 to 1.89.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md) - [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.89.0/npm/oxlint) Updates `vite` from 8.3.4 to 8.3.5 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite) --- updated-dependencies: - dependency-name: "@codemirror/autocomplete" dependency-version: 6.20.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-dependencies - dependency-name: "@codemirror/view" dependency-version: 6.43.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-dependencies - dependency-name: "@tanstack/react-query" dependency-version: 5.104.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-dependencies - dependency-name: lucide-react dependency-version: 1.61.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: frontend-dependencies - dependency-name: maplibre-gl dependency-version: 6.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: frontend-dependencies - dependency-name: react-resizable-panels dependency-version: 4.14.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-dependencies - dependency-name: shadcn dependency-version: 4.22.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-dependencies - dependency-name: monocart-coverage-reports dependency-version: 3.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: frontend-dependencies - dependency-name: oxlint dependency-version: 1.89.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-dependencies - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-dependencies ... Signed-off-by: dependabot[bot] --- frontend/package.json | 20 +- frontend/pnpm-lock.yaml | 619 ++++++++++++++++++++-------------------- 2 files changed, 327 insertions(+), 312 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index c9d56cc..d670b4b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,27 +12,27 @@ "test:e2e:coverage": "COVERAGE=1 pnpm build && COVERAGE=1 playwright test" }, "dependencies": { - "@codemirror/autocomplete": "^6.20.3", + "@codemirror/autocomplete": "^6.20.4", "@codemirror/lang-json": "^6.0.2", "@codemirror/lint": "^6.9.7", "@codemirror/state": "^6.7.6", - "@codemirror/view": "^6.43.14", + "@codemirror/view": "^6.43.15", "@fontsource-variable/roboto": "^5.3.0", - "@tanstack/react-query": "^5.104.4", + "@tanstack/react-query": "^5.104.5", "@uiw/react-codemirror": "^4.25.12", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "codemirror-json-schema": "^0.8.1", - "lucide-react": "^1.59.0", - "maplibre-gl": "^6.14.0", + "lucide-react": "^1.61.0", + "maplibre-gl": "^6.15.0", "next-themes": "^0.4.6", "radix-ui": "^1.8.1", "react": "^19.3.1", "react-dom": "^19.3.1", - "react-resizable-panels": "^4.14.5", + "react-resizable-panels": "^4.14.8", "react-router-dom": "^7.18.4", "recharts": "3.10.1", - "shadcn": "^4.22.0", + "shadcn": "^4.22.1", "sonner": "^2.0.8", "tailwind-merge": "^3.7.0", "tw-animate-css": "^1.4.0" @@ -44,10 +44,10 @@ "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.2", - "monocart-coverage-reports": "^2.13.2", - "oxlint": "^1.88.0", + "monocart-coverage-reports": "^3.0.0", + "oxlint": "^1.89.0", "tailwindcss": "^4.3.3", "typescript": "~7.0.2", - "vite": "^8.3.4" + "vite": "^8.3.5" } } diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index c0c9dec..632a32b 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@codemirror/autocomplete': - specifier: ^6.20.3 - version: 6.20.3 + specifier: ^6.20.4 + version: 6.20.4 '@codemirror/lang-json': specifier: ^6.0.2 version: 6.0.2 @@ -21,17 +21,17 @@ importers: specifier: ^6.7.6 version: 6.7.6 '@codemirror/view': - specifier: ^6.43.14 - version: 6.43.14 + specifier: ^6.43.15 + version: 6.43.15 '@fontsource-variable/roboto': specifier: ^5.3.0 version: 5.3.0 '@tanstack/react-query': - specifier: ^5.104.4 - version: 5.104.4(@types/react@19.3.0)(react@19.3.1) + specifier: ^5.104.5 + version: 5.104.5(@types/react@19.3.0)(react@19.3.1) '@uiw/react-codemirror': specifier: ^4.25.12 - version: 4.25.12(@babel/runtime@8.0.0)(@codemirror/autocomplete@6.20.3)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/theme-one-dark@6.1.3)(@codemirror/view@6.43.14)(codemirror@6.0.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + version: 4.25.12(@babel/runtime@8.0.0)(@codemirror/autocomplete@6.20.4)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/theme-one-dark@6.1.3)(@codemirror/view@6.43.15)(codemirror@6.0.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -40,13 +40,13 @@ importers: version: 2.1.1 codemirror-json-schema: specifier: ^0.8.1 - version: 0.8.1(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/state@6.7.6)(@codemirror/view@6.43.14)(@lezer/common@1.5.2) + version: 0.8.1(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/state@6.7.6)(@codemirror/view@6.43.15)(@lezer/common@1.5.2) lucide-react: - specifier: ^1.59.0 - version: 1.59.0(@types/react@19.3.0)(react@19.3.1) + specifier: ^1.61.0 + version: 1.61.0(@types/react@19.3.0)(react@19.3.1) maplibre-gl: - specifier: ^6.14.0 - version: 6.14.0 + specifier: ^6.15.0 + version: 6.15.0 next-themes: specifier: ^0.4.6 version: 0.4.6(react-dom@19.3.1(react@19.3.1))(react@19.3.1) @@ -60,8 +60,8 @@ importers: specifier: ^19.3.1 version: 19.3.1(react@19.3.1) react-resizable-panels: - specifier: ^4.14.5 - version: 4.14.5(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: ^4.14.8 + version: 4.14.8(react-dom@19.3.1(react@19.3.1))(react@19.3.1) react-router-dom: specifier: ^7.18.4 version: 7.18.4(react-dom@19.3.1(react@19.3.1))(react@19.3.1) @@ -69,8 +69,8 @@ importers: specifier: 3.10.1 version: 3.10.1(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react-is@19.2.7)(react@19.3.1)(redux@5.0.1) shadcn: - specifier: ^4.22.0 - version: 4.22.0(supports-color@7.2.0) + specifier: ^4.22.1 + version: 4.22.1(supports-color@7.2.0) sonner: specifier: ^2.0.8 version: 2.0.8(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) @@ -86,7 +86,7 @@ importers: version: 1.64.1 '@tailwindcss/vite': specifier: ^4.3.3 - version: 4.3.3(vite@8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0)) + version: 4.3.3(vite@8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0)) '@types/node': specifier: ^26.6.5 version: 26.6.5 @@ -98,13 +98,13 @@ importers: version: 19.3.0(@types/react@19.3.0) '@vitejs/plugin-react': specifier: ^6.1.2 - version: 6.1.2(vite@8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0)) + version: 6.1.2(vite@8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0)) monocart-coverage-reports: - specifier: ^2.13.2 - version: 2.13.2 + specifier: ^3.0.0 + version: 3.0.0 oxlint: - specifier: ^1.88.0 - version: 1.88.0 + specifier: ^1.89.0 + version: 1.89.0 tailwindcss: specifier: ^4.3.3 version: 4.3.3 @@ -112,8 +112,8 @@ importers: specifier: ~7.0.2 version: 7.0.2 vite: - specifier: ^8.3.4 - version: 8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0) packages: @@ -249,8 +249,8 @@ packages: resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} engines: {node: '>=6.9.0'} - '@codemirror/autocomplete@6.20.3': - resolution: {integrity: sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==} + '@codemirror/autocomplete@6.20.4': + resolution: {integrity: sha512-yF8RhOf2SXlg00+qtupzLhrglcas61boqaONiNcbPIebHCpJocpqTBA6dyrtUrQO47hqyTdeob/3XnYilT7TaQ==} '@codemirror/commands@6.11.0': resolution: {integrity: sha512-/K4Rl5BN0OtTiPWmJCdqODu38XnDMsDxKY5rgrPnCkutPTJf2wVbkoixLfealF5Kwse/s8P8M5jAiURiwSwnFA==} @@ -276,8 +276,8 @@ packages: '@codemirror/theme-one-dark@6.1.3': resolution: {integrity: sha512-NzBdIvEJmx6fjeremiGp3t/okrLPYT0d9orIc7AFun8oZcRk58aejkqhv6spnz4MLAevrKNPMQYXEWMg4s+sKA==} - '@codemirror/view@6.43.14': - resolution: {integrity: sha512-hC45YnmJNR1rz42OF57BLoQNFMV12/13drnvibDsR2quNDmldcb4WvYVV81hFQg56i9lcqQMEDqilhX2QDcGQQ==} + '@codemirror/view@6.43.15': + resolution: {integrity: sha512-HHsfpqFeHyXLs983pSRe38Xajs0vFWZQ2BuX0m7Ki8w3jZ5iD8cuR3lBz2/5/X53Dhf32SBHKh6rtSTB6tKeGw==} '@dotenvx/dotenvx@1.75.1': resolution: {integrity: sha512-/BITOC9dmS/edY2zQwZNicQ059O6RKabtQfyEafV0nGtfYRNHYy1DIPiYVcov40+tob9hfmBnbR963dS+EQ1DQ==} @@ -348,8 +348,8 @@ packages: '@mapbox/point-geometry@1.1.0': resolution: {integrity: sha512-YGcBz1cg4ATXDCM/71L9xveh4dynfGmcLDqufR+nQQy3fKwsAZsWd/x4621/6uJaeB9mwOHE6hPeDgXz9uViUQ==} - '@mapbox/tiny-sdf@2.2.0': - resolution: {integrity: sha512-LVL4wgI9YAum5V+LNVQO6QgFBPw7/MIIY4XJPNsPDMrjEwcE+JfKk1LuIl8GnF197ejVdC9QdPaxrx5gfgdGXg==} + '@mapbox/tiny-sdf@2.3.0': + resolution: {integrity: sha512-gBvcNDBBB66bgQYvnaJ6Jk+VCaMmVq5+IZR2kWPisT88Z8s0kBQt6hfVi8QgRW8Vpg0UWZzBA4ZSyzHHC+VeRA==} '@mapbox/unitbezier@1.0.0': resolution: {integrity: sha512-fqd515fjBmANKGGsQ286E2Wvj/XvDFpGzwJxq4CI6jMQue6Oy04uCKp+JWKF00xRTmk6cEu1jPJ9p3xqH8YWqQ==} @@ -357,8 +357,8 @@ packages: '@mapbox/vector-tile@3.0.0': resolution: {integrity: sha512-Qf10S1uIHMk20ri/IVBnpS+esUEkVaR5Hftmz88jTInrpmWgPGJfPe3LVjjlE77trLx8tH6qjTG7uWH9hIq/0Q==} - '@maplibre/geojson-vt@6.1.2': - resolution: {integrity: sha512-2ZYhobdAY+y4/P/z1xe0698165LywD0yDdWugdu3NRUrajgVWut+tLkcz7i/RJguMTURwK7gxwmwYMFJbgbQFw==} + '@maplibre/geojson-vt@6.3.0': + resolution: {integrity: sha512-3Zw2jsU9pIJG3G2CQFbLjWj2MlAHodhD7cSY+15iywUuLmmkgzcKRnueVRZ4AcC/5wOtfhidcJAAzBpoBNs3Xg==} '@maplibre/maplibre-gl-style-spec@26.4.4': resolution: {integrity: sha512-hG4RZR4PBd/+6A3ODdZ3AnQRF106ZQk1y3bhwDg8bH/A4Oz2tnRUJVVWs9BZa6gXZ1d3UKe89C+Mm+olGBELvA==} @@ -395,127 +395,127 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@oxc-project/types@0.153.0': - resolution: {integrity: sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw==} + '@oxc-project/types@0.155.0': + resolution: {integrity: sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==} - '@oxlint/binding-android-arm-eabi@1.88.0': - resolution: {integrity: sha512-k6Fgkf86ubfeH4GvqYsRolfuVAp0pfYVZvifSlXNHPdMaWUOfxUrmLEeDD7hF6U2oJuhsVxhSWq86/xCJ+9MmA==} + '@oxlint/binding-android-arm-eabi@1.89.0': + resolution: {integrity: sha512-Pflpba5F3gRAQ12sWglRxvWTHEdAusNDvmi4Y5N1T5SY1AGkM7AixOnET8qkrnLJ/F32qAlNokO6eCknT8tmnw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxlint/binding-android-arm64@1.88.0': - resolution: {integrity: sha512-AsIyhl9o1ejwtac7NMbhKpMdSml6NWR0ljKjZERxC8OHYDAW8o/Om9n1QHVLi4VCEUo42Zte2/Op9kyoGpJZMg==} + '@oxlint/binding-android-arm64@1.89.0': + resolution: {integrity: sha512-dYmyD1x7LaPlb79vZWUcpTShk8dI9z1I+IubtqrBxWNJaDhQdPHwcsvg7q5StTU4xWyd9AwPfLaTYFZY8NZgtQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxlint/binding-darwin-arm64@1.88.0': - resolution: {integrity: sha512-qgBjB7eEKcCB4RqjXGuoSZq74g0wD09fWFJ+HWcCJcKaga8TeUHtb+BY0SsxdleSLBgx4RZ7qmgo0EzqEq7JoQ==} + '@oxlint/binding-darwin-arm64@1.89.0': + resolution: {integrity: sha512-Z/oxOPiIqiS7fItRdxaaOEC+6GD3OpGi0IxoR0dMefzQHolsKLzScw2DNcu/5gUPok3tv+G9mslvYB5bo3i0qg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxlint/binding-darwin-x64@1.88.0': - resolution: {integrity: sha512-sCz3X5Mw/xdzEzn4fsCt1Iq8NKJnGNfhR+b9B5k+4DysYAHsmIhYoocnBPiQ9kvY3+pUun2A0Z8Vtun/Nv6YoQ==} + '@oxlint/binding-darwin-x64@1.89.0': + resolution: {integrity: sha512-eAjTkHSjAxrdCPJxO6y5sPQL5pYLKb2kvxZz9UU7tXnOZk9I/HLtkvx9S7GHY883k+AmL/eC7mqFt+w7WCwk0w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxlint/binding-freebsd-x64@1.88.0': - resolution: {integrity: sha512-xTOdYOIqCufgIj0knvxu86FBfovP6QBiD7ngNva01gb8xPQCD5gXkE5APGczH35zStim1O3zqvFbLQmY85xXRg==} + '@oxlint/binding-freebsd-x64@1.89.0': + resolution: {integrity: sha512-0lNCA9Tl1n1FKpqy2/9ckp0kIuSrtJ/l9bMRgaEhOtM7TsOHshFuwOcvW8oA9teXLMOJT61LjEKWiaHDFGxF/w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxlint/binding-linux-arm-gnueabihf@1.88.0': - resolution: {integrity: sha512-BLadtw88NdYJBrAtC1dYzrPfSP2d5zgx6iuZycdD0YmZBJ2Nqbit9Z4PSaIb6gxK25dweArGMPbOmq/0ugwUPg==} + '@oxlint/binding-linux-arm-gnueabihf@1.89.0': + resolution: {integrity: sha512-OTFEvi9W+JczaZD1Caj17SGCoW8H7TE+fvx0D7ATEWa1Lohn91UMxFQ6r145SiGy/yCxeIwptMys/RAM7gSVSQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm-musleabihf@1.88.0': - resolution: {integrity: sha512-wILSczl/DaZsCcf7j7tvNbssp8hxEHIJxrv4j7+JjI3TAL1U/JTWbeUtoJJC/vo8+2hkTmHLYoKJjmiNbijdXw==} + '@oxlint/binding-linux-arm-musleabihf@1.89.0': + resolution: {integrity: sha512-fRxgNHvBLswj6MrhW2uBq5UDhPRQlCbHeq/Nf8yuG9zOxhDsXqX/mi2PX1axgsQxMm88el7HLiJAzglAnflYxw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm64-gnu@1.88.0': - resolution: {integrity: sha512-jutT2Hy8JCuZuMwIFHo2HtyxfOfBJHyQxlBHBK1SL9W2f8n/WhjAP0FnDMz9d/mjhv9+QA0mx5AdQ9fDjsrFFg==} + '@oxlint/binding-linux-arm64-gnu@1.89.0': + resolution: {integrity: sha512-v9ENzHvwrQoYSWTtviH1pOYc7R9UovDxVofnck50cNmPihRRTcrg5X0UlRbLOZ7IVtxPOlh2hb7kDO+FpE8SfQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-arm64-musl@1.88.0': - resolution: {integrity: sha512-8N8iGV9hh4Lkeuq7QsEkjoXNRRflqR1G2qyoGYXcA0k5qllrdqmfylKEXyHIVERxqNDyMO4StqDQ0uLxXcBQAg==} + '@oxlint/binding-linux-arm64-musl@1.89.0': + resolution: {integrity: sha512-vfffe8mQ484AzVadlUOFpgL+JDwhvs9hrzxTgQP1FVfi4ZEUUYeffXlzC9dFV7Dgnu5s/KrNKvfmG6HxBd/ISQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxlint/binding-linux-ppc64-gnu@1.88.0': - resolution: {integrity: sha512-5ydcQt3znNQ/rGEWYRvpS2cK9+T18P2VYgnyJ+eloEAwi9YUmsXy5VGrRqNWIK6qzWwHGnEE3ojVqqQNo+f0hA==} + '@oxlint/binding-linux-ppc64-gnu@1.89.0': + resolution: {integrity: sha512-Buonlp4hVS7RGNP5M7bPpGNQrenyzA2C64JcO/oz9C1c6dGOXJ7VEAnaiAMY7voou0JYyCJdvDVlFQc5DZX3DQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-gnu@1.88.0': - resolution: {integrity: sha512-iGx0uvFT54b/5DPJdEBCxYIrVB3v0uTy+JhRh3CyEp8/22BXDkG8rffkFwREdLsdj9mOrPbJYVOZw8ipcBuzjw==} + '@oxlint/binding-linux-riscv64-gnu@1.89.0': + resolution: {integrity: sha512-1eVwJJrJ3lYIPT+cm7BcBBZZXY6IQZP/oyonaruTor/MrVyWOpvnwt1oD5CLdsHg5aVBIxXodQSvt+1gK6ck5w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-riscv64-musl@1.88.0': - resolution: {integrity: sha512-Wt47mKMWelVjRjuR7BCFxXkB0m79K1sTEbqMHRWciKUgo5iv7sWsF4RXSOyFYHD9zerNrkRZblnN273rhwOA1Q==} + '@oxlint/binding-linux-riscv64-musl@1.89.0': + resolution: {integrity: sha512-fRQQsKUGShdEL5Fl9o9uhj3grkZbeXKLv0icQ5tspUCNYSDy8wzzEcP1WC2bKdTQ0rSszbKlO3iiHORxV22DLg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxlint/binding-linux-s390x-gnu@1.88.0': - resolution: {integrity: sha512-g3L12KCS4+1gtUt3RbJ4F+Yxx4LNmmZLEPfhd8rAHEJjJk2lAgNfnjGoP/phJyhG5WS6VbNYbJtadJelNfvTMA==} + '@oxlint/binding-linux-s390x-gnu@1.89.0': + resolution: {integrity: sha512-dEtYjIy6+fHcjKklsmtmMkZRhwHr2UbzjmpvuPtQYSeN9awQ2hx5JLms5Wvri+8P/NZtD8v5hfgHALUql+/Ycg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-gnu@1.88.0': - resolution: {integrity: sha512-og/XHVDOD9ZJgRiZkT9DgzQd4sr+JZW7e4l17Q/jVMZiIbeEd4uIu9iAoUbTF1gIvVZoRc4QDOxyVUvQGp4WHg==} + '@oxlint/binding-linux-x64-gnu@1.89.0': + resolution: {integrity: sha512-hqjwIj5KOYM8Wjef/p7IruNi1iByLhSzbMBk62y22P/E8q7Jj0Pp+DeUTKTRYyZYCDtU1wEGlnWOnttHbyNIww==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxlint/binding-linux-x64-musl@1.88.0': - resolution: {integrity: sha512-EmhBsp+xuKb6YbZNEMLBo80Xw71AZOIm18do8ni/GLX/Lw1XzNhVYpbxO1KasYtoAvrGtCOdCPULRlIE0bPbTQ==} + '@oxlint/binding-linux-x64-musl@1.89.0': + resolution: {integrity: sha512-iAQN3e6o9UgUCcdGwqRx/jYcKbG3HK7ur3rH6lTqVcQeNGZ85AeWIg6cgn/edwFQ0ofEZZItMwkzyCVTahnvEA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxlint/binding-openharmony-arm64@1.88.0': - resolution: {integrity: sha512-DBUcx/KwYdg1DAz+G01P/GFv512J04EsZadbHptx2FTpWT/MWRg21ZToNHt9pnsfQRBQ3et/g+vqzbvrdAVbuA==} + '@oxlint/binding-openharmony-arm64@1.89.0': + resolution: {integrity: sha512-MNxjEByz3N/7Q4qFQuPWvc14TpN9LoD3pECEDsJTZbP/wyB7U+hduUXEl7QAbbgVezFwsb9sWtNUO6XVBndOhg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxlint/binding-win32-arm64-msvc@1.88.0': - resolution: {integrity: sha512-xeVd0n4XG5HvynxfYvXi6uB+JvZbVZataowPS8cYpMbYg9mwE4sSyElFQd4LVJFifq8bRLDSR18XgEildmcXAg==} + '@oxlint/binding-win32-arm64-msvc@1.89.0': + resolution: {integrity: sha512-xxe+i9wfuFso/VnoL4mfj0UlzE+cfCFiUB06vkXCMyQdgVVmItF5FfAF4tATAktSU6uHruWR+FjqvAT9cHZZzg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxlint/binding-win32-ia32-msvc@1.88.0': - resolution: {integrity: sha512-MA6iOw//amleaz2mVMsZrA7NHlEexjTrhIxSMFCXQi6IUuQO+3Od00GZhr2iCYw6RFzMW36jkKK/WHBXMsoQAw==} + '@oxlint/binding-win32-ia32-msvc@1.89.0': + resolution: {integrity: sha512-saFy07cO94E664glwgLmKLI40HgTL1PY86y4T6+ud4niX4H0Kdqjcmqmjps7mQNdBytV5guGbXDdyQtRfeLbLA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxlint/binding-win32-x64-msvc@1.88.0': - resolution: {integrity: sha512-3Sz6rVWe8Dy+ufsXurFN1GX2dX43F/lQMSLelK9gFjiba7nHvLlqlhR5cHlWVnCpSqUY1hN9pyCX9XToe6ve6g==} + '@oxlint/binding-win32-x64-msvc@1.89.0': + resolution: {integrity: sha512-hLFJ/o0f/dTJh/EW0vmcbREYSQO9tYgfiAAlsOkiLFiJuRRWvYtFELUXN5o2ijpSo/tlO1n+YlWN58tZwPG18A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -1226,98 +1226,98 @@ packages: react-redux: optional: true - '@rolldown/binding-android-arm-eabi@1.2.13': - resolution: {integrity: sha512-Vu/NICrgdRvUOeaJZIyB2FP63s6fO/4ud5l8dXmxDx9yDyn+mN0y+gsvsVviSli+T361Aqo0h46EuMoobrwawA==} + '@rolldown/binding-android-arm-eabi@1.2.15': + resolution: {integrity: sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@rolldown/binding-android-arm64@1.2.13': - resolution: {integrity: sha512-6LEoIrGy5vvCd2boNnv2soPSUZj/PRvhp8R/t9KlX+mIZxThIE/ZqxrGXxmuNX0FuvQFvLdZr7S4HrYpYBVhEQ==} + '@rolldown/binding-android-arm64@1.2.15': + resolution: {integrity: sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.13': - resolution: {integrity: sha512-CaJSRzlQ6Q+zkDMVA9OkVxBjVoPRCDEE3v0FSJ9kIQBgRjFApA3Si4ijhbNVUji7ZJt+PfO0e46qy4nPInHUPA==} + '@rolldown/binding-darwin-arm64@1.2.15': + resolution: {integrity: sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.13': - resolution: {integrity: sha512-e4r340I5hxSzJkD3YJBxgzq/rJ3wwxwdLLb2FPt1Zpyem20nrQPT11DDEEkazwxaHumH8wpglsp/Ozgj/wT6mw==} + '@rolldown/binding-darwin-x64@1.2.15': + resolution: {integrity: sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.13': - resolution: {integrity: sha512-hoBWDZ4/K/mJKVMbsgUd1jfpA2DiOrJ54mpegObU9TBHBBrtX4FLIXJJQRDPZ/2Dn91GvPob+Z2hwKJzf4E5SQ==} + '@rolldown/binding-freebsd-x64@1.2.15': + resolution: {integrity: sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.13': - resolution: {integrity: sha512-oF9fZu3vTWnTiVAkDFxU9PJLt1nh20K9RRpuHsR7ZnE2L7XookBbDBVLojCVSLGbvtSlxeUNnjAj6DbNsKyzbg==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.15': + resolution: {integrity: sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.13': - resolution: {integrity: sha512-DTpb/+jMiqWMPgphn4ksW1zW+XLJ6dJJ9FMvnIk9I291LhCctMPhMYJrP5t9p6C9qa3KXadDdUEZHBaPh3kNxQ==} + '@rolldown/binding-linux-arm64-gnu@1.2.15': + resolution: {integrity: sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.2.13': - resolution: {integrity: sha512-xU+Kvv9N2A3SY35zFh1FWWNjxbadE/BKeqnkXe7vScU4GZsw757BlVmDLITZEq8DPpk6m7uoDYkK7P+x/uU5Ow==} + '@rolldown/binding-linux-arm64-musl@1.2.15': + resolution: {integrity: sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.2.13': - resolution: {integrity: sha512-XMk/hnhh25oQ756Lclb1Q11h4ll0xC0Esa5w4Vzp+mAE2S3AGJgeM0SonrIgY8fHhjarb6hcoTuwoFG0VVP2ig==} + '@rolldown/binding-linux-ppc64-gnu@1.2.15': + resolution: {integrity: sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.2.13': - resolution: {integrity: sha512-U1BoTHYmlywE2n3HUWjzZ+8EQsKr+OwpxYuDWaubx42tUL8QSL7nOqRz/NVHanibbFP3M1Rxuprz/wNcbMKjqw==} + '@rolldown/binding-linux-s390x-gnu@1.2.15': + resolution: {integrity: sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.2.13': - resolution: {integrity: sha512-J4cm80Pc6wEwV5AZ42o62sIQgDk+Y7R2s646jIwuvO+4V46QB58N4vVuMPWCBaNgursXLpmUWJV//WQAkPvHBQ==} + '@rolldown/binding-linux-x64-gnu@1.2.15': + resolution: {integrity: sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.2.13': - resolution: {integrity: sha512-W0euZS40U4V6JkmEnVCIX9mcsL6cbXQ4X8c2w+MMOIjFg68TXUW+u3RT+2e1t1pv9mg/EP3pDtK3POXdQ7Rxyw==} + '@rolldown/binding-linux-x64-musl@1.2.15': + resolution: {integrity: sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.2.13': - resolution: {integrity: sha512-do/AF/4n9MRshia3a5aXoy8xM2c6mgfT6D7H/dY6my5z+hfCIR4ab7mk4IRj++nsEQpKy39kd0DQnDq+r692tw==} + '@rolldown/binding-openharmony-arm64@1.2.15': + resolution: {integrity: sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.13': - resolution: {integrity: sha512-6FtUf2cJZobutJdxnGYX8z0vtbgqU0b2v8vfBhkXb9wp2MppMFtkunE+IaOntyi01rkIQoPW2GHABtfzsC0BRQ==} + '@rolldown/binding-win32-arm64-msvc@1.2.15': + resolution: {integrity: sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.13': - resolution: {integrity: sha512-UKhFaZTeTcbKrb3iU82m17jVcPEAoqDkCN5MBqgPyZSwp/cQmib21crTS0DdH7T1B7wZRWEI89YQAOJMet5yhg==} + '@rolldown/binding-win32-x64-msvc@1.2.15': + resolution: {integrity: sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -1466,11 +1466,11 @@ packages: peerDependencies: vite: ^5.2.0 || ^6 || ^7 || ^8 - '@tanstack/query-core@5.104.4': - resolution: {integrity: sha512-nU4Yrb8Sjn0DeVb7PKG9uiepNavys3yoxy1FX0hViY4/P6Ng/mBje2SMl7i9812rtyHKtHyqiaC/td6GkI8StA==} + '@tanstack/query-core@5.104.5': + resolution: {integrity: sha512-Q94gI8Opd+CbdVNOdj8ZCyV8WqLYitrDq1t96Xc8WZT6lY0r5iRnJLXYDxMex7EEf2v+mXvn4FcjaBKSxXZQ9A==} - '@tanstack/react-query@5.104.4': - resolution: {integrity: sha512-YD5QkvUNy8Ey3LbOy2vwL97JjoYycwDv++cWAibTe+9BLYvl3c09XpYp5dZ2VcxcguwoDhGF+utYJYb79RB36w==} + '@tanstack/react-query@5.104.5': + resolution: {integrity: sha512-RORgFe052U+93weaNuqg7qHq7vNVNzXN/VrXqD4bbAuQCWUqOl2lV5Ui9flWk5CVvMyL/Bh27QWhzwH0aaOx9g==} peerDependencies: '@types/react': ^18 || ^19 react: ^18 || ^19 @@ -1710,11 +1710,6 @@ packages: resolution: {integrity: sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==} engines: {node: '>=0.4.0'} - acorn@8.18.0: - resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} - engines: {node: '>=0.4.0'} - hasBin: true - acorn@8.19.0: resolution: {integrity: sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==} engines: {node: '>=0.4.0'} @@ -1760,11 +1755,6 @@ packages: resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} engines: {node: 18 || 20 || >=22} - baseline-browser-mapping@2.11.21: - resolution: {integrity: sha512-uh8vpY/1/YyFkunIDFH/12p7/7VdPKA1hejMVEbdkEaWnUz0Hesvx5EbiU6XxjyHZIOju+ZMbQJkRh+es3/spQ==} - engines: {node: '>=6.0.0'} - hasBin: true - baseline-browser-mapping@2.11.29: resolution: {integrity: sha512-YeesxhUmR4h5y5V8KF8iBCqJb8YFrBJ++XBTeGcWIaQOYXGN19JM0FoiOjAhwuDoln8owMgXcWBmgHtYSkky2w==} engines: {node: '>=6.0.0'} @@ -1788,16 +1778,15 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - browserslist@4.28.9: - resolution: {integrity: sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - browserslist@4.29.3: resolution: {integrity: sha512-1R4kiYKXGViqEN0CnoDrXc1StD9niAwu+j2dukWzrD4bJgsD4lDmEp0CRbc6E/vYJIfTHwPmwyaKtVSudICdPA==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + buffer-crc32@1.0.0: + resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} + engines: {node: '>=8.0.0'} + bundle-name@4.1.0: resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} engines: {node: '>=18'} @@ -1814,9 +1803,6 @@ packages: resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} engines: {node: '>= 0.4'} - caniuse-lite@1.0.30001810: - resolution: {integrity: sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==} - caniuse-lite@1.0.30001816: resolution: {integrity: sha512-+8Yx7BXCoqk6IF8yTicjfUR6D/ldJzdlsodlEOiOSPmhK844WIgk67/zIQaGAOxNkZyyvBlrRFnLvqKIoqbAFw==} @@ -2080,9 +2066,6 @@ packages: eight-colors@1.3.3: resolution: {integrity: sha512-4B54S2Qi4pJjeHmCbDIsveQZWQ/TSSQng4ixYJ9/SYHHpeS5nYK0pzcHvWzWUfRsvJQjwoIENhAwqg59thQceg==} - electron-to-chromium@1.5.422: - resolution: {integrity: sha512-UvA/32XqrLDdZSn7Jllo1AYNcWji/G0d5M0GTViE7KoGBiMunw3a34Sb2KO4ZZyrSEhqsxFoVhWWJshdyfKqJA==} - electron-to-chromium@1.5.459: resolution: {integrity: sha512-4SC9HHSFjO/liAhifpdOL5hG9b4BP7/5G3y3UPZVO8trlAXr1CaUEEJL0gWK3kOcYcZrOA5rkwG45Gra/lTIgg==} @@ -2154,6 +2137,10 @@ packages: resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} engines: {node: '>=18.0.0'} + execa@10.2.1: + resolution: {integrity: sha512-/Bofl3ZBh2Q4/PG0W63qFzP5vDAypi8Zc90UWTBzaDNIYiX7apPOd0N6L8hG8CojUdq4V51adu8BObP+iVsSTw==} + engines: {node: '>=22'} + execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -2213,10 +2200,6 @@ packages: resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} engines: {node: '>=6'} - foreground-child@4.0.3: - resolution: {integrity: sha512-yeXZaNbCBGaT9giTpLPBdtedzjwhlJBUoL/R4BVQU5mn0TQXOHwVIl1Q2DMuBIdNno4ktA1abZ7dQFVxD6uHxw==} - engines: {node: '>=16'} - forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} @@ -2670,8 +2653,8 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - lucide-react@1.59.0: - resolution: {integrity: sha512-5qgMyyCPU6OvnKpLS2t693+ZtiqA8oaSweWoUows0BLFKFf6V75m4+CptpmohZHpD5IuOVIBXHBBiv2vpLJmtw==} + lucide-react@1.61.0: + resolution: {integrity: sha512-v2SQPPPNjnr+BlhL9Spuzmo5yR+hLkftfuE4E3jaxdNPgSH0hJKPcLJBP7yAta87jQNPsSERS59PJjCJ/CorBA==} peerDependencies: '@types/react': '*' react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -2689,8 +2672,8 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} - maplibre-gl@6.14.0: - resolution: {integrity: sha512-L7U9y9TyPJ3P/JJbW+eH+A3FzdPq+3fnZFqqeCwf/S6cRGganHwVI5b/C8/zOYzreUzsloDPZVVaMQA94wOt4A==} + maplibre-gl@6.15.0: + resolution: {integrity: sha512-kxFetbvUHDOVaAP1CYb226Mdk2QhzIPddqM0xJTFD35wu78Mpd6NM7+H68ALjc6Oa0kAOX5EAdMKyvD2u3qfcg==} engines: {node: '>=16.14.0', npm: '>=8.1.0'} markdown-it@14.3.1: @@ -2768,8 +2751,9 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - monocart-coverage-reports@2.13.2: - resolution: {integrity: sha512-G6m6BO3wzidg9UrK2JRMW+err7OxB+iFn0kWkprQyHTUtvbv9vM8u0SrgHW1rWpOQXC4eB+nvat/xa7mLDE/9w==} + monocart-coverage-reports@3.0.0: + resolution: {integrity: sha512-e/1sowGv8sCDD/QV/6SPsaJz5i2VuPaY7hPlzAPiisgYaJHvuKOgDk78ixSFBGMgHjFcw7p/GDL1m1LcvfB3Dw==} + engines: {node: '>=22.15.0'} hasBin: true monocart-locator@1.0.6: @@ -2803,14 +2787,14 @@ packages: react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc - node-releases@2.0.54: - resolution: {integrity: sha512-YHs7BmmcsdAI5Ozuf8JZo6PT0mv2GIWC9vMfvUC3dp65M8hn7Ux8CPL+2oBI7juNuj9d0ndhTcznq2ODBps9cQ==} - engines: {node: '>=18'} - node-releases@2.0.59: resolution: {integrity: sha512-5qr2okC4ItAI0hG5SaV0HoYMpnM/Y6+Oqr7AmPYy/2uEoGvS+GbSKLeRxSS1uAdu59yz0ouzcuXievSgg///WA==} engines: {node: '>=18'} + node-stream-zip@1.16.0: + resolution: {integrity: sha512-ObaRrRoR8T68wF6suxHd7R4XQNamij6ZQHrwG7Dx1D2zeHcDNLsIOBcWrIwtDm7AsCXBguaPHgXhcjxDa2szrg==} + engines: {node: '>=0.12.0'} + npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} @@ -2861,8 +2845,8 @@ packages: resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==} engines: {node: '>=18'} - oxlint@1.88.0: - resolution: {integrity: sha512-uIcFgw8BmqvFRGzH5+r7d2zJMEexwNSrEmM6WQNnGh3VkO0XYTEFoyxyNE6tjKMUib9Cue4XJA2DoWruO5D6aw==} + oxlint@1.89.0: + resolution: {integrity: sha512-a25hkfo61okGPvJz432fRIPoxlKtNnOVy9w4rzrmGgNm4iVTPwpSQlmdqNWnp6p9QyyPVfAZRgnf5XvSBZFk/A==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -2953,6 +2937,10 @@ packages: resolution: {integrity: sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.5.31: + resolution: {integrity: sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==} + engines: {node: ^10 || ^12 || >=14} + potpack@2.1.0: resolution: {integrity: sha512-pcaShQc1Shq0y+E7GqJqvZj8DTthWV1KeHGdi0Z6IAin2Oi3JnLCOfwnCo84qc+HAp52wT9nK9H7FAJp5a44GQ==} @@ -3064,8 +3052,8 @@ packages: '@types/react': optional: true - react-resizable-panels@4.14.5: - resolution: {integrity: sha512-AoHgoq3sGOfciPn2ahddFrBCqsitZLse8cJIYWblvE3kQ9z39IrhdlHCjnVRrDL8XcWqvA0u/t9nLZTfWePJ5A==} + react-resizable-panels@4.14.8: + resolution: {integrity: sha512-kVot7JCIZct85ZY87vww95R7tI25VSTjHpEAIIy2YcsOtbtwG6l1+vDD6TCYgmgE/JSp0ADqNooHn97Y6dMOFw==} peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 @@ -3155,8 +3143,8 @@ packages: resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rolldown@1.2.13: - resolution: {integrity: sha512-/5apOkwWxtACcQtZ5WlrAsKS4JwXVThQPJZ3RqIruRY9UG9M8e0VlXN068xum/JRKA4aIUoJ13ghe/kGCvidiQ==} + rolldown@1.2.15: + resolution: {integrity: sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -3200,8 +3188,8 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - shadcn@4.22.0: - resolution: {integrity: sha512-QKR3XUnatWlgo8IbZqGHrpsxjgdsfpPSAvJvLntQqAxPEf5U2sNsjDYLAS2xmFrOkC9lpj5UpZbrh/BuHrE2CQ==} + shadcn@4.22.1: + resolution: {integrity: sha512-LbB4Lro+b0qSVki/tgL5edtKylEnXe1ppxMJC12d7NHPgaT+eSgJGMQULwP72V7X9tbiUq7xfx3VDAfB7jdGoA==} engines: {node: '>=20.18.1'} hasBin: true @@ -3425,12 +3413,6 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - update-browserslist-db@1.3.2: - resolution: {integrity: sha512-UQ+MSxlhRm1bzjhU+DcuXfjFO1FzNtqhK5+9Yvlp90ItDLk5vT932A0rFu619nf7RVS+Y/VeaUW1jaRDqZ8VJw==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - update-browserslist-db@1.3.4: resolution: {integrity: sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==} hasBin: true @@ -3485,13 +3467,13 @@ packages: victory-vendor@37.3.6: resolution: {integrity: sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ==} - vite@8.3.4: - resolution: {integrity: sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==} + vite@8.3.5: + resolution: {integrity: sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.7.1 + '@vitejs/devtools': ^0.7.1 || ^0.8.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -3531,6 +3513,11 @@ packages: w3c-keyname@2.2.8: resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} + which-command@0.1.0: + resolution: {integrity: sha512-XZyoF5/5hZtXitIwzrU4NKK+Wtbb9aB9CezUEw2Q0wlYK8NUYQxC1rRXgNueYLtBAJwXIb+/tFVk4dozciNJMA==} + engines: {node: '>=22'} + hasBin: true + which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} @@ -3544,6 +3531,18 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + ws@8.22.0: + resolution: {integrity: sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + wsl-utils@1.0.0: resolution: {integrity: sha512-Hl0ZOAs672vg+06kfujwRhoS6/jehvULrlFkuF2dRu6pHgA8U06h3xqNIqNNU1LTXPcedxByAR4GS6pwQK0mgA==} engines: {node: '>=20'} @@ -3556,6 +3555,9 @@ packages: engines: {node: '>= 14.6'} hasBin: true + yazl@3.3.1: + resolution: {integrity: sha512-BbETDVWG+VcMUle37k5Fqp//7SDOK2/1+T7X8TD96M3D9G8jK5VLUdQVdVjGi8im7FGkazX7kk5hkU8X4L5Bng==} + yocto-spinner@1.2.2: resolution: {integrity: sha512-DODGl1wJjA/s5pnJFKau9lIYHT81lnhob1i3e1TjxZRxEhWRKl74nTbWE6H5KlkViQQTo/Z29YFdxzTZAMY3ng==} engines: {node: '>=18.19'} @@ -3621,7 +3623,7 @@ snapshots: dependencies: '@babel/compat-data': 7.29.7 '@babel/helper-validator-option': 7.29.7 - browserslist: 4.28.9 + browserslist: 4.29.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -3765,18 +3767,18 @@ snapshots: '@babel/helper-string-parser': 7.29.7 '@babel/helper-validator-identifier': 7.29.7 - '@codemirror/autocomplete@6.20.3': + '@codemirror/autocomplete@6.20.4': dependencies: '@codemirror/language': 6.12.4 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 '@lezer/common': 1.5.2 '@codemirror/commands@6.11.0': dependencies: '@codemirror/language': 6.12.4 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 '@lezer/common': 1.5.2 '@codemirror/lang-json@6.0.2': @@ -3786,7 +3788,7 @@ snapshots: '@codemirror/lang-yaml@6.1.3': dependencies: - '@codemirror/autocomplete': 6.20.3 + '@codemirror/autocomplete': 6.20.4 '@codemirror/language': 6.12.4 '@codemirror/state': 6.7.6 '@lezer/common': 1.5.2 @@ -3798,7 +3800,7 @@ snapshots: '@codemirror/language@6.12.4': dependencies: '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 '@lezer/common': 1.5.2 '@lezer/highlight': 1.2.3 '@lezer/lr': 1.4.10 @@ -3807,13 +3809,13 @@ snapshots: '@codemirror/lint@6.9.7': dependencies: '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 crelt: 1.0.7 '@codemirror/search@6.7.1': dependencies: '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 crelt: 1.0.7 '@codemirror/state@6.7.6': @@ -3824,10 +3826,10 @@ snapshots: dependencies: '@codemirror/language': 6.12.4 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 '@lezer/highlight': 1.2.3 - '@codemirror/view@6.43.14': + '@codemirror/view@6.43.15': dependencies: '@codemirror/state': 6.7.6 crelt: 1.0.7 @@ -3924,7 +3926,7 @@ snapshots: '@mapbox/point-geometry@1.1.0': {} - '@mapbox/tiny-sdf@2.2.0': {} + '@mapbox/tiny-sdf@2.3.0': {} '@mapbox/unitbezier@1.0.0': {} @@ -3934,7 +3936,7 @@ snapshots: '@types/geojson': 7946.0.16 pbf: 5.1.2 - '@maplibre/geojson-vt@6.1.2': + '@maplibre/geojson-vt@6.3.0': dependencies: kdbush: 4.1.0 @@ -3993,63 +3995,63 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.20.3 - '@oxc-project/types@0.153.0': {} + '@oxc-project/types@0.155.0': {} - '@oxlint/binding-android-arm-eabi@1.88.0': + '@oxlint/binding-android-arm-eabi@1.89.0': optional: true - '@oxlint/binding-android-arm64@1.88.0': + '@oxlint/binding-android-arm64@1.89.0': optional: true - '@oxlint/binding-darwin-arm64@1.88.0': + '@oxlint/binding-darwin-arm64@1.89.0': optional: true - '@oxlint/binding-darwin-x64@1.88.0': + '@oxlint/binding-darwin-x64@1.89.0': optional: true - '@oxlint/binding-freebsd-x64@1.88.0': + '@oxlint/binding-freebsd-x64@1.89.0': optional: true - '@oxlint/binding-linux-arm-gnueabihf@1.88.0': + '@oxlint/binding-linux-arm-gnueabihf@1.89.0': optional: true - '@oxlint/binding-linux-arm-musleabihf@1.88.0': + '@oxlint/binding-linux-arm-musleabihf@1.89.0': optional: true - '@oxlint/binding-linux-arm64-gnu@1.88.0': + '@oxlint/binding-linux-arm64-gnu@1.89.0': optional: true - '@oxlint/binding-linux-arm64-musl@1.88.0': + '@oxlint/binding-linux-arm64-musl@1.89.0': optional: true - '@oxlint/binding-linux-ppc64-gnu@1.88.0': + '@oxlint/binding-linux-ppc64-gnu@1.89.0': optional: true - '@oxlint/binding-linux-riscv64-gnu@1.88.0': + '@oxlint/binding-linux-riscv64-gnu@1.89.0': optional: true - '@oxlint/binding-linux-riscv64-musl@1.88.0': + '@oxlint/binding-linux-riscv64-musl@1.89.0': optional: true - '@oxlint/binding-linux-s390x-gnu@1.88.0': + '@oxlint/binding-linux-s390x-gnu@1.89.0': optional: true - '@oxlint/binding-linux-x64-gnu@1.88.0': + '@oxlint/binding-linux-x64-gnu@1.89.0': optional: true - '@oxlint/binding-linux-x64-musl@1.88.0': + '@oxlint/binding-linux-x64-musl@1.89.0': optional: true - '@oxlint/binding-openharmony-arm64@1.88.0': + '@oxlint/binding-openharmony-arm64@1.89.0': optional: true - '@oxlint/binding-win32-arm64-msvc@1.88.0': + '@oxlint/binding-win32-arm64-msvc@1.89.0': optional: true - '@oxlint/binding-win32-ia32-msvc@1.88.0': + '@oxlint/binding-win32-ia32-msvc@1.89.0': optional: true - '@oxlint/binding-win32-x64-msvc@1.88.0': + '@oxlint/binding-win32-x64-msvc@1.89.0': optional: true '@playwright/test@1.64.1': @@ -4820,49 +4822,49 @@ snapshots: react: 19.3.1 react-redux: 9.3.0(@types/react@19.3.0)(react@19.3.1)(redux@5.0.1) - '@rolldown/binding-android-arm-eabi@1.2.13': + '@rolldown/binding-android-arm-eabi@1.2.15': optional: true - '@rolldown/binding-android-arm64@1.2.13': + '@rolldown/binding-android-arm64@1.2.15': optional: true - '@rolldown/binding-darwin-arm64@1.2.13': + '@rolldown/binding-darwin-arm64@1.2.15': optional: true - '@rolldown/binding-darwin-x64@1.2.13': + '@rolldown/binding-darwin-x64@1.2.15': optional: true - '@rolldown/binding-freebsd-x64@1.2.13': + '@rolldown/binding-freebsd-x64@1.2.15': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.13': + '@rolldown/binding-linux-arm-gnueabihf@1.2.15': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.13': + '@rolldown/binding-linux-arm64-gnu@1.2.15': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.13': + '@rolldown/binding-linux-arm64-musl@1.2.15': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.13': + '@rolldown/binding-linux-ppc64-gnu@1.2.15': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.13': + '@rolldown/binding-linux-s390x-gnu@1.2.15': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.13': + '@rolldown/binding-linux-x64-gnu@1.2.15': optional: true - '@rolldown/binding-linux-x64-musl@1.2.13': + '@rolldown/binding-linux-x64-musl@1.2.15': optional: true - '@rolldown/binding-openharmony-arm64@1.2.13': + '@rolldown/binding-openharmony-arm64@1.2.15': optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.13': + '@rolldown/binding-win32-arm64-msvc@1.2.15': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.13': + '@rolldown/binding-win32-x64-msvc@1.2.15': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -5011,18 +5013,18 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 - '@tailwindcss/vite@4.3.3(vite@8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0))': + '@tailwindcss/vite@4.3.3(vite@8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0))': dependencies: '@tailwindcss/node': 4.3.3 '@tailwindcss/oxide': 4.3.3 tailwindcss: 4.3.3 - vite: 8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0) - '@tanstack/query-core@5.104.4': {} + '@tanstack/query-core@5.104.5': {} - '@tanstack/react-query@5.104.4(@types/react@19.3.0)(react@19.3.1)': + '@tanstack/react-query@5.104.5(@types/react@19.3.0)(react@19.3.1)': dependencies: - '@tanstack/query-core': 5.104.4 + '@tanstack/query-core': 5.104.5 react: 19.3.1 optionalDependencies: '@types/react': 19.3.0 @@ -5145,24 +5147,24 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@uiw/codemirror-extensions-basic-setup@4.25.12(@codemirror/autocomplete@6.20.3)(@codemirror/commands@6.11.0)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/view@6.43.14)': + '@uiw/codemirror-extensions-basic-setup@4.25.12(@codemirror/autocomplete@6.20.4)(@codemirror/commands@6.11.0)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/view@6.43.15)': dependencies: - '@codemirror/autocomplete': 6.20.3 + '@codemirror/autocomplete': 6.20.4 '@codemirror/commands': 6.11.0 '@codemirror/language': 6.12.4 '@codemirror/lint': 6.9.7 '@codemirror/search': 6.7.1 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 - '@uiw/react-codemirror@4.25.12(@babel/runtime@8.0.0)(@codemirror/autocomplete@6.20.3)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/theme-one-dark@6.1.3)(@codemirror/view@6.43.14)(codemirror@6.0.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@uiw/react-codemirror@4.25.12(@babel/runtime@8.0.0)(@codemirror/autocomplete@6.20.4)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/theme-one-dark@6.1.3)(@codemirror/view@6.43.15)(codemirror@6.0.2)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': dependencies: '@babel/runtime': 8.0.0 '@codemirror/commands': 6.11.0 '@codemirror/state': 6.7.6 '@codemirror/theme-one-dark': 6.1.3 - '@codemirror/view': 6.43.14 - '@uiw/codemirror-extensions-basic-setup': 4.25.12(@codemirror/autocomplete@6.20.3)(@codemirror/commands@6.11.0)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/view@6.43.14) + '@codemirror/view': 6.43.15 + '@uiw/codemirror-extensions-basic-setup': 4.25.12(@codemirror/autocomplete@6.20.4)(@codemirror/commands@6.11.0)(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/search@6.7.1)(@codemirror/state@6.7.6)(@codemirror/view@6.43.15) codemirror: 6.0.2 react: 19.3.1 react-dom: 19.3.1(react@19.3.1) @@ -5174,10 +5176,10 @@ snapshots: '@ungap/structured-clone@1.4.0': {} - '@vitejs/plugin-react@6.1.2(vite@8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0))': + '@vitejs/plugin-react@6.1.2(vite@8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0))': dependencies: '@rolldown/pluginutils': 1.0.1 - vite: 8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0) accepts@2.0.0: dependencies: @@ -5186,13 +5188,11 @@ snapshots: acorn-loose@8.5.2: dependencies: - acorn: 8.18.0 + acorn: 8.19.0 acorn-walk@8.3.5: dependencies: - acorn: 8.18.0 - - acorn@8.18.0: {} + acorn: 8.19.0 acorn@8.19.0: {} @@ -5231,8 +5231,6 @@ snapshots: balanced-match@4.0.4: {} - baseline-browser-mapping@2.11.21: {} - baseline-browser-mapping@2.11.29: {} best-effort-json-parser@1.5.1: {} @@ -5263,14 +5261,6 @@ snapshots: dependencies: fill-range: 7.1.1 - browserslist@4.28.9: - dependencies: - baseline-browser-mapping: 2.11.21 - caniuse-lite: 1.0.30001810 - electron-to-chromium: 1.5.422 - node-releases: 2.0.54 - update-browserslist-db: 1.3.2(browserslist@4.28.9) - browserslist@4.29.3: dependencies: baseline-browser-mapping: 2.11.29 @@ -5279,6 +5269,8 @@ snapshots: node-releases: 2.0.59 update-browserslist-db: 1.3.4(browserslist@4.29.3) + buffer-crc32@1.0.0: {} + bundle-name@4.1.0: dependencies: run-applescript: 7.1.0 @@ -5295,8 +5287,6 @@ snapshots: call-bind-apply-helpers: 1.0.2 get-intrinsic: 1.3.0 - caniuse-lite@1.0.30001810: {} - caniuse-lite@1.0.30001816: {} ccount@2.0.1: {} @@ -5323,12 +5313,12 @@ snapshots: code-block-writer@13.0.3: {} - codemirror-json-schema@0.8.1(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/state@6.7.6)(@codemirror/view@6.43.14)(@lezer/common@1.5.2): + codemirror-json-schema@0.8.1(@codemirror/language@6.12.4)(@codemirror/lint@6.9.7)(@codemirror/state@6.7.6)(@codemirror/view@6.43.15)(@lezer/common@1.5.2): dependencies: '@codemirror/language': 6.12.4 '@codemirror/lint': 6.9.7 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 '@lezer/common': 1.5.2 '@sagold/json-pointer': 5.1.2 '@shikijs/markdown-it': 1.29.2 @@ -5340,7 +5330,7 @@ snapshots: shiki: 1.29.2 yaml: 2.9.0 optionalDependencies: - '@codemirror/autocomplete': 6.20.3 + '@codemirror/autocomplete': 6.20.4 '@codemirror/lang-json': 6.0.2 '@codemirror/lang-yaml': 6.1.3 codemirror-json5: 1.0.3 @@ -5350,7 +5340,7 @@ snapshots: dependencies: '@codemirror/language': 6.12.4 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 '@lezer/common': 1.5.2 '@lezer/highlight': 1.2.3 json5: 2.2.3 @@ -5359,13 +5349,13 @@ snapshots: codemirror@6.0.2: dependencies: - '@codemirror/autocomplete': 6.20.3 + '@codemirror/autocomplete': 6.20.4 '@codemirror/commands': 6.11.0 '@codemirror/language': 6.12.4 '@codemirror/lint': 6.9.7 '@codemirror/search': 6.7.1 '@codemirror/state': 6.7.6 - '@codemirror/view': 6.43.14 + '@codemirror/view': 6.43.15 comma-separated-tokens@2.0.3: {} @@ -5524,8 +5514,6 @@ snapshots: eight-colors@1.3.3: {} - electron-to-chromium@1.5.422: {} - electron-to-chromium@1.5.459: {} emoji-regex-xs@1.0.0: {} @@ -5574,6 +5562,21 @@ snapshots: dependencies: eventsource-parser: 3.1.1 + execa@10.2.1: + dependencies: + '@sindresorhus/merge-streams': 4.0.0 + figures: 6.1.0 + get-stream: 9.0.1 + human-signals: 8.0.1 + is-plain-obj: 4.1.0 + is-stream: 4.0.1 + npm-run-path: 6.0.0 + pretty-ms: 9.3.1 + signal-exit: 4.1.0 + strip-final-newline: 4.0.0 + which-command: 0.1.0 + yoctocolors: 2.2.0 + execa@5.1.1: dependencies: cross-spawn: 7.0.6 @@ -5687,10 +5690,6 @@ snapshots: dependencies: locate-path: 3.0.0 - foreground-child@4.0.3: - dependencies: - signal-exit: 4.1.0 - forwarded@0.2.0: {} fresh@2.0.0: {} @@ -6039,7 +6038,7 @@ snapshots: dependencies: yallist: 3.1.1 - lucide-react@1.59.0(@types/react@19.3.0)(react@19.3.1): + lucide-react@1.61.0(@types/react@19.3.0)(react@19.3.1): dependencies: react: 19.3.1 optionalDependencies: @@ -6055,13 +6054,13 @@ snapshots: dependencies: semver: 7.8.5 - maplibre-gl@6.14.0: + maplibre-gl@6.15.0: dependencies: '@mapbox/point-geometry': 1.1.0 - '@mapbox/tiny-sdf': 2.2.0 + '@mapbox/tiny-sdf': 2.3.0 '@mapbox/unitbezier': 1.0.0 '@mapbox/vector-tile': 3.0.0 - '@maplibre/geojson-vt': 6.1.2 + '@maplibre/geojson-vt': 6.3.0 '@maplibre/maplibre-gl-style-spec': 26.4.4 '@maplibre/mlt': 1.3.0 '@maplibre/vt-pbf': 4.3.2 @@ -6149,20 +6148,28 @@ snapshots: minimist@1.2.8: {} - monocart-coverage-reports@2.13.2: + monocart-coverage-reports@3.0.0: dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 acorn: 8.19.0 acorn-loose: 8.5.2 acorn-walk: 8.3.5 commander: 15.0.0 console-grid: 2.2.4 + convert-source-map: 2.0.0 eight-colors: 1.3.3 - foreground-child: 4.0.3 + execa: 10.2.1 istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-reports: 3.2.0 lz-utils: 2.1.1 monocart-locator: 1.0.6 + node-stream-zip: 1.16.0 + ws: 8.22.0 + yazl: 3.3.1 + transitivePeerDependencies: + - bufferutil + - utf-8-validate monocart-locator@1.0.6: {} @@ -6190,10 +6197,10 @@ snapshots: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) - node-releases@2.0.54: {} - node-releases@2.0.59: {} + node-stream-zip@1.16.0: {} + npm-run-path@4.0.1: dependencies: path-key: 3.1.1 @@ -6258,27 +6265,27 @@ snapshots: string-width: 7.2.0 strip-ansi: 7.2.0 - oxlint@1.88.0: + oxlint@1.89.0: optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.88.0 - '@oxlint/binding-android-arm64': 1.88.0 - '@oxlint/binding-darwin-arm64': 1.88.0 - '@oxlint/binding-darwin-x64': 1.88.0 - '@oxlint/binding-freebsd-x64': 1.88.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.88.0 - '@oxlint/binding-linux-arm-musleabihf': 1.88.0 - '@oxlint/binding-linux-arm64-gnu': 1.88.0 - '@oxlint/binding-linux-arm64-musl': 1.88.0 - '@oxlint/binding-linux-ppc64-gnu': 1.88.0 - '@oxlint/binding-linux-riscv64-gnu': 1.88.0 - '@oxlint/binding-linux-riscv64-musl': 1.88.0 - '@oxlint/binding-linux-s390x-gnu': 1.88.0 - '@oxlint/binding-linux-x64-gnu': 1.88.0 - '@oxlint/binding-linux-x64-musl': 1.88.0 - '@oxlint/binding-openharmony-arm64': 1.88.0 - '@oxlint/binding-win32-arm64-msvc': 1.88.0 - '@oxlint/binding-win32-ia32-msvc': 1.88.0 - '@oxlint/binding-win32-x64-msvc': 1.88.0 + '@oxlint/binding-android-arm-eabi': 1.89.0 + '@oxlint/binding-android-arm64': 1.89.0 + '@oxlint/binding-darwin-arm64': 1.89.0 + '@oxlint/binding-darwin-x64': 1.89.0 + '@oxlint/binding-freebsd-x64': 1.89.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.89.0 + '@oxlint/binding-linux-arm-musleabihf': 1.89.0 + '@oxlint/binding-linux-arm64-gnu': 1.89.0 + '@oxlint/binding-linux-arm64-musl': 1.89.0 + '@oxlint/binding-linux-ppc64-gnu': 1.89.0 + '@oxlint/binding-linux-riscv64-gnu': 1.89.0 + '@oxlint/binding-linux-riscv64-musl': 1.89.0 + '@oxlint/binding-linux-s390x-gnu': 1.89.0 + '@oxlint/binding-linux-x64-gnu': 1.89.0 + '@oxlint/binding-linux-x64-musl': 1.89.0 + '@oxlint/binding-openharmony-arm64': 1.89.0 + '@oxlint/binding-win32-arm64-msvc': 1.89.0 + '@oxlint/binding-win32-ia32-msvc': 1.89.0 + '@oxlint/binding-win32-x64-msvc': 1.89.0 p-limit@2.3.0: dependencies: @@ -6337,6 +6344,12 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.2 + postcss@8.5.31: + dependencies: + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 + potpack@2.1.0: {} powershell-utils@0.1.0: {} @@ -6486,7 +6499,7 @@ snapshots: optionalDependencies: '@types/react': 19.3.0 - react-resizable-panels@4.14.5(react-dom@19.3.1(react@19.3.1))(react@19.3.1): + react-resizable-panels@4.14.8(react-dom@19.3.1(react@19.3.1))(react@19.3.1): dependencies: react: 19.3.1 react-dom: 19.3.1(react@19.3.1) @@ -6579,26 +6592,26 @@ snapshots: reusify@1.1.0: {} - rolldown@1.2.13: + rolldown@1.2.15: dependencies: - '@oxc-project/types': 0.153.0 + '@oxc-project/types': 0.155.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.13 - '@rolldown/binding-android-arm64': 1.2.13 - '@rolldown/binding-darwin-arm64': 1.2.13 - '@rolldown/binding-darwin-x64': 1.2.13 - '@rolldown/binding-freebsd-x64': 1.2.13 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.13 - '@rolldown/binding-linux-arm64-gnu': 1.2.13 - '@rolldown/binding-linux-arm64-musl': 1.2.13 - '@rolldown/binding-linux-ppc64-gnu': 1.2.13 - '@rolldown/binding-linux-s390x-gnu': 1.2.13 - '@rolldown/binding-linux-x64-gnu': 1.2.13 - '@rolldown/binding-linux-x64-musl': 1.2.13 - '@rolldown/binding-openharmony-arm64': 1.2.13 - '@rolldown/binding-win32-arm64-msvc': 1.2.13 - '@rolldown/binding-win32-x64-msvc': 1.2.13 + '@rolldown/binding-android-arm-eabi': 1.2.15 + '@rolldown/binding-android-arm64': 1.2.15 + '@rolldown/binding-darwin-arm64': 1.2.15 + '@rolldown/binding-darwin-x64': 1.2.15 + '@rolldown/binding-freebsd-x64': 1.2.15 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.15 + '@rolldown/binding-linux-arm64-gnu': 1.2.15 + '@rolldown/binding-linux-arm64-musl': 1.2.15 + '@rolldown/binding-linux-ppc64-gnu': 1.2.15 + '@rolldown/binding-linux-s390x-gnu': 1.2.15 + '@rolldown/binding-linux-x64-gnu': 1.2.15 + '@rolldown/binding-linux-x64-musl': 1.2.15 + '@rolldown/binding-openharmony-arm64': 1.2.15 + '@rolldown/binding-win32-arm64-msvc': 1.2.15 + '@rolldown/binding-win32-x64-msvc': 1.2.15 router@2.2.0(supports-color@7.2.0): dependencies: @@ -6653,7 +6666,7 @@ snapshots: setprototypeof@1.2.0: {} - shadcn@4.22.0(supports-color@7.2.0): + shadcn@4.22.1(supports-color@7.2.0): dependencies: '@babel/core': 7.29.7(supports-color@7.2.0) '@babel/parser': 7.29.8 @@ -6916,12 +6929,6 @@ snapshots: unpipe@1.0.0: {} - update-browserslist-db@1.3.2(browserslist@4.28.9): - dependencies: - browserslist: 4.28.9 - escalade: 3.2.0 - picocolors: 1.1.1 - update-browserslist-db@1.3.4(browserslist@4.29.3): dependencies: browserslist: 4.29.3 @@ -6982,12 +6989,12 @@ snapshots: d3-time: 3.1.0 d3-timer: 3.0.1 - vite@8.3.4(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0): + vite@8.3.5(@types/node@26.6.5)(jiti@2.7.0)(yaml@2.9.0): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 - postcss: 8.5.29 - rolldown: 1.2.13 + postcss: 8.5.31 + rolldown: 1.2.15 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 26.6.5 @@ -6997,6 +7004,8 @@ snapshots: w3c-keyname@2.2.8: {} + which-command@0.1.0: {} + which@2.0.2: dependencies: isexe: 2.0.0 @@ -7007,6 +7016,8 @@ snapshots: wrappy@1.0.2: {} + ws@8.22.0: {} + wsl-utils@1.0.0: dependencies: is-wsl: 3.1.1 @@ -7016,6 +7027,10 @@ snapshots: yaml@2.9.0: {} + yazl@3.3.1: + dependencies: + buffer-crc32: 1.0.0 + yocto-spinner@1.2.2: dependencies: yoctocolors: 2.2.0 From 7c1ce3fe7718ba30632a19d3f23a2793234c696d Mon Sep 17 00:00:00 2001 From: Morten Hansen Date: Wed, 28 Oct 2026 14:50:22 +0100 Subject: [PATCH 2/2] chore: rebuild the console bundle for the frontend dependency bump --- .../{dist-CA8rdNuu.js => dist-DUazRwJo.js} | 20 +-- .../api/apps/console/assets/index-Cf4n1Gfe.js | 127 ------------------ .../api/apps/console/assets/index-Chg-rXIS.js | 127 ++++++++++++++++++ src/chapkit/api/apps/console/index.html | 2 +- 4 files changed, 138 insertions(+), 138 deletions(-) rename src/chapkit/api/apps/console/assets/{dist-CA8rdNuu.js => dist-DUazRwJo.js} (75%) delete mode 100644 src/chapkit/api/apps/console/assets/index-Cf4n1Gfe.js create mode 100644 src/chapkit/api/apps/console/assets/index-Chg-rXIS.js diff --git a/src/chapkit/api/apps/console/assets/dist-CA8rdNuu.js b/src/chapkit/api/apps/console/assets/dist-DUazRwJo.js similarity index 75% rename from src/chapkit/api/apps/console/assets/dist-CA8rdNuu.js rename to src/chapkit/api/apps/console/assets/dist-DUazRwJo.js index bf6c38a..4c47bb0 100644 --- a/src/chapkit/api/apps/console/assets/dist-CA8rdNuu.js +++ b/src/chapkit/api/apps/console/assets/dist-DUazRwJo.js @@ -1,5 +1,5 @@ -import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,p as c,r as l,s as u,t as d,u as f}from"./index-Cf4n1Gfe.js";var p=c(n(((e,t)=>{(function(e,n){typeof define==`function`&&define.amd?define(n):typeof t==`object`&&t.exports?t.exports=n():e.log=n()})(e,function(){var e=function(){},t=`undefined`,n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=[`trace`,`debug`,`info`,`warn`,`error`],i={},a=null;function o(e,t){var n=e[t];if(typeof n.bind==`function`)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch{return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(r){return r===`debug`&&(r=`log`),typeof console===t?!1:r===`trace`&&n?s:console[r]===void 0?console.log===void 0?e:o(console,`log`):o(console,r)}function l(){for(var n=this.getLevel(),i=0;i=0&&t<=o.levels.SILENT)return t;throw TypeError(`log.setLevel() called with invalid level: `+e)}o.name=e,o.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},o.methodFactory=n||d,o.getLevel=function(){return u??c??s},o.setLevel=function(e,t){return u=g(e),t!==!1&&p(u),l.call(o)},o.setDefaultLevel=function(e){c=g(e),m()||o.setLevel(e,!1)},o.resetLevel=function(){u=null,h(),l.call(o)},o.enableAll=function(e){o.setLevel(o.levels.TRACE,e)},o.disableAll=function(e){o.setLevel(o.levels.SILENT,e)},o.rebuild=function(){if(a!==o&&(s=g(a.getLevel())),l.call(o),a===o)for(var e in i)i[e].rebuild()},s=g(a?a.getLevel():`WARN`);var _=m();_!=null&&(u=g(_)),l.call(o)}a=new f,a.getLogger=function(e){if(typeof e!=`symbol`&&typeof e!=`string`||e===``)throw TypeError(`You must supply a name when creating a logger.`);var t=i[e];return t||=i[e]=new f(e,a.methodFactory),t};var p=typeof window===t?void 0:window.log;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=p),a},a.getLoggers=function(){return i},a.default=a,a})}))(),1);p.default.setLevel(`silent`);var m=p.default,h={STRING:`String`,NUMBER:`Number`,TRUE:`True`,FALSE:`False`,NULL:`Null`,OBJECT:`Object`,ARRAY:`Array`,PROPERTY:`Property`,PROPERTY_NAME:`PropertyName`,PROPERTY_COLON:`PropertyColon`,ITEM:`Item`,JSON_TEXT:`JsonText`,INVALID:`⚠`},g={Pair:h.PROPERTY,Key:h.PROPERTY_NAME,BlockSequence:h.ARRAY,BlockMapping:h.OBJECT,FlowSequence:h.ARRAY,FlowMapping:h.OBJECT,QuotedLiteral:h.STRING,Literal:h.STRING,Stream:h.JSON_TEXT,Document:h.OBJECT},_={File:h.JSON_TEXT},v=[h.STRING,h.NUMBER,h.TRUE,h.FALSE,h.NULL],y=[h.OBJECT,h.ARRAY,h.ITEM],b={JSON5:`json5`,JSON:`json4`,YAML:`yaml`},x=(e,t)=>{switch(t){case b.YAML:return g[e]??e;case b.JSON5:return _[e]??e;default:return e}};function S(e,t,n){let r=[];for(let i=t;i?.parent;i=i.parent)switch(x(i.parent.name,n)){case h.PROPERTY:{let t=de(i.parent,h.PROPERTY_NAME,n);if(t){let n=ie(e,t).replace(/[/~]/g,e=>e===`~`?`~0`:`~1`);r.unshift(n)}break}case h.ARRAY:if(se(i,n)){let e=me(i.parent,i,n);r.unshift(`${e}`)}}return r.length===0?``:`/`+r.join(`/`)}var ee=(e,t,n=-1,r)=>S(e.doc,s(e).resolve(t,n),r),te=(e,t)=>{let n=s(e),r=new Map;return n.iterate({enter:n=>{if([h.PROPERTY_NAME,h.OBJECT].includes(x(n.name,t))){let i=S(e.doc,n.node,t),{from:a,to:o}=n.node;if(!n.node?.nextSibling?.node)return r.set(i,{keyFrom:a,keyTo:o}),!0;let s=t===b.JSON?n.node?.nextSibling?.node:n.node?.nextSibling?.node?.nextSibling?.node;if(!s)return r.set(i,{keyFrom:a,keyTo:o}),!0;let{from:c,to:l}=s;return r.set(i,{keyFrom:a,keyTo:o,valueFrom:c,valueTo:l}),!0}}}),r},ne=(e,t,n=-1)=>s(e).resolveInner(t,n),C=e=>e.replace(/^"(.*)"$/,`$1`).replace(/^'(.*)'$/,`$1`),re=e=>e.replace(/^"(.*)"$/,`'$1'`),ie=(e,t,n=!0,r=!0)=>{let i=t?e.sliceString(t.from,t.to):``;return n?r?C(i):i.replace(/(^["'])|(["']$)/g,``):i},ae=(e,t)=>x(e.name,t)===h.INVALID&&(x(e.prevSibling?.name??``,t)===h.PROPERTY_NAME||x(e.prevSibling?.name??``,t)===h.PROPERTY_COLON),oe=(e,t)=>v.includes(x(e.name,t))||ae(e,t),se=(e,t)=>[...v,...y].includes(x(e.name,t))||ae(e,t),ce=(e,t)=>x(e.name,t)===h.PROPERTY_NAME||x(e.name,t)===h.INVALID&&(x(e.prevSibling?.name??``,t)===h.PROPERTY||x(e.prevSibling?.name??``,t)===`{`)||t===b.YAML&&x(e.parent?.name??``,t)===h.OBJECT,le=e=>{let t=[],n=e.firstChild;for(;n;)n&&t.push(n),n=n?.nextSibling;return t},ue=(e,t,n)=>le(e).filter(e=>x(e.name,n)===t),de=(e,t,n)=>le(e).find(e=>x(e.name,n)===t)??null,fe=(e,t)=>le(e).find(e=>oe(e,t)),pe=(e,t)=>le(e).filter(e=>v.includes(x(e.name,t))||y.includes(x(e.name,t))),me=(e,t,n)=>pe(e,n).findIndex(e=>e.from===t.from&&e.to===t.to),w=(e,t,n,r=1/0)=>{let i=e;for(;i&&r>0;){if(x(i.name,n)===t)return i;i=i.parent,r--}return null},he=t.define(),ge=a.define({create(){},update(e,t){for(let e of t.effects)if(e.is(he))return e.value;return e}}),_e=e=>e.field(ge),ve=e=>[ge.init(()=>e)],ye={AdditionalItemsError:"Array at `{{pointer}}` may not have an additional item `{{key}}`",AdditionalPropertiesError:"Additional property `{{property}}` on `{{pointer}}` does not match schema `{{schema}}`",AllOfError:"Value `{{value}}` at `{{pointer}}` does not match schema of `{{allOf}}`",AnyOfError:"Value `{{value}}` at `{{pointer}}` does not match any schema of `{{anyOf}}`",ConstError:"Expected value at `{{pointer}}` to be `{{expected}}`, but value given is `{{value}}`",containsAnyError:"The array at `{{pointer}}` must contain at least one item",ContainsArrayError:"The property at `{{pointer}}` must not be an array",ContainsError:"The array at `{{pointer}}` must contain an element that matches `{{schema}}`",EnumError:"Expected given value `{{value}}` in `{{pointer}}` to be one of `{{values}}`",ForbiddenPropertyError:"Property name `{{property}}` at `{{pointer}}` is not allowed",FormatDateError:"Value `{{value}}` at `{{pointer}}` is not a valid date",FormatDateTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid date-time",FormatEmailError:"Value `{{value}}` at `{{pointer}}` is not a valid email",FormatHostnameError:"Value `{{value}}` at `{{pointer}}` is not a valid hostname",FormatIPV4Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv4 address",FormatIPV4LeadingZeroError:`IPv4 addresses starting with zero are invalid, since they are interpreted as octals`,FormatIPV6Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv6 address",FormatIPV6LeadingZeroError:`IPv6 addresses starting with zero are invalid, since they are interpreted as octals`,FormatJsonPointerError:"Value `{{value}}` at `{{pointer}}` is not a valid json-pointer",FormatRegExError:"Value `{{value}}` at `{{pointer}}` is not a valid regular expression",FormatTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid time",FormatURIError:"Value `{{value}}` at `{{pointer}}` is not a valid uri",FormatURIReferenceError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-reference",FormatURITemplateError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-template",FormatURLError:"Value `{{value}}` at `{{pointer}}` is not a valid url",InvalidDataError:"No value may be specified in `{{pointer}}`",InvalidPropertyNameError:"Invalid property name `{{property}}` at `{{pointer}}`",MaximumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{maximum}}` at maximum",MaxItemsError:"Too many items in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MaxLengthError:"Value `{{pointer}}` should have a maximum length of `{{maxLength}}`, but got `{{length}}`.",MaxPropertiesError:"Too many properties in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MinimumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{minimum}}` at minimum",MinItemsError:"Too few items in `{{pointer}}`, should be at least `{{minItems}}`, but got `{{length}}`",MinItemsOneError:"At least one item is required in `{{pointer}}`",MinLengthError:"Value `{{pointer}}` should have a minimum length of `{{minLength}}`, but got `{{length}}`.",MinLengthOneError:"A value is required in `{{pointer}}`",MinPropertiesError:"Too few properties in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`",MissingDependencyError:"The required propery '{{missingProperty}}' in `{{pointer}}` is missing",MissingOneOfPropertyError:"Value at `{{pointer}}` property: `{{property}}`",MultipleOfError:"Expected `{{value}}` in `{{pointer}}` to be multiple of `{{multipleOf}}`",MultipleOneOfError:"Value `{{value}}` should not match multiple schemas in oneOf `{{matches}}`",NoAdditionalPropertiesError:"Additional property `{{property}}` in `{{pointer}}` is not allowed",NotError:"Value `{{value}}` at pointer should not match schema `{{not}}`",OneOfError:"Value `{{value}}` in `{{pointer}}` does not match any given oneof schema",OneOfPropertyError:"Failed finding a matching oneOfProperty schema in `{{pointer}}` where `{{property}}` matches `{{value}}`",PatternError:"Value in `{{pointer}}` should match `{{description}}`, but received `{{received}}`",PatternPropertiesError:"Property `{{key}}` does not match any patterns in `{{pointer}}`. Valid patterns are: {{patterns}}",RequiredPropertyError:"The required property `{{key}}` is missing at `{{pointer}}`",SchemaWarning:`Failed retrieving a schema from '{{pointer}}' to key '{{key}}'`,TypeError:"Expected `{{value}}` ({{received}}) in `{{pointer}}` to be of type `{{expected}}`",UndefinedValueError:"Value must not be undefined in `{{pointer}}`",UniqueItemsError:"Items in array must be unique. Value `{{value}}` in `{{pointer}}` is a duplicate of {{duplicatePointer}}.",UnknownPropertyError:"Could not find a valid schema for property `{{pointer}}` within object",ValueNotEmptyError:"A value for `{{property}}` is required at `{{pointer}}`"},be=Object.prototype.toString;function T(e){let t=be.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase();return t===`file`?`object`:t}var xe=`object`,Se=`array`;function Ce(e,t={}){return e.replace(/\{\{\w+\}\}/g,e=>{let n=t[e.replace(/[{}]/g,``)],r=T(n);return r===xe||r===Se?JSON.stringify(n):n})}function we(e,t,n=e){return Ce(ye[e]??n,t)}function E(e){return e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}function D(e,t){return{type:`error`,name:e,code:E(e),message:we(e,t),data:t}}function O(e){return D.bind(null,e)}function k(e,t=[]){for(let n=0;n({index:n,schema:e})}),r}function j(e){return e?.type===`error`}function M(e){return e instanceof Promise}function Ee(e){return j(e)||M(e)}var{DECLARATOR_ONEOF:N}=A;function De(e,t,n=e.rootSchema,r=`#`){if(t!=null&&n[N]){let i=[],a=n[N],o=t[n[N]];if(o===void 0)return e.errors.missingOneOfPropertyError({property:a,pointer:r,schema:n,value:t});for(let s=0;s0)i.push(...u);else return Te(n,c,s)}return e.errors.oneOfPropertyError({property:a,value:o,pointer:r,schema:n,errors:i})}let i=[],a=[];for(let o=0;o0?a.push(...c):i.push({index:o,schema:s})}return i.length===1?Te(n,i[0].schema,i[0].index):i.length>1?e.errors.multipleOneOfError({value:t,pointer:r,schema:n,matches:i}):e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf,errors:a})}function Oe(e,t,n,r){if(n==null||t.properties==null)return-1;let i=0,a=Object.keys(t.properties);for(let o=0;o0)i.push(...u);else return Te(n,c,s)}return e.errors.oneOfPropertyError({property:a,value:o,pointer:r,schema:n,errors:i})}let i=[];for(let a=0;a1?e.errors.multipleOneOfError({matches:i,pointer:r,schema:n,value:t}):e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf})}var Ae=(e,t,n,r)=>{if(Array.isArray(t.oneOf)){let i=e.resolveOneOf(n,t,r);if(j(i))return i}},je=c(n(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(r[i]=p(e,i)&&n.isMergeableObject(t[i])?u(i,n)(e[i],t[i],n):c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g}))()),Me=(e,t)=>t,Ne=(e,t)=>(0,je.default)(e,t,{arrayMerge:Me}),P=(e,t)=>{let n=e.concat(t);return n.filter((e,t)=>n.indexOf(e)===t)},Pe=(e,t)=>(0,je.default)(e,t,{arrayMerge:P});function F(e,t){if(T(e)!==T(t))return e;let n=Pe(e,t);return e.getOneOfOrigin?Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:e.getOneOfOrigin}):t.getOneOfOrigin&&Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:t.getOneOfOrigin}),n}function Fe(e,...t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),e.getOneOfOrigin&&Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:e.getOneOfOrigin}),n}var Ie=function(e,t){return Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ie(e,t)};function Le(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);Ie(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Re=Object.create,ze=Function.prototype.toString,Be=Object.prototype.toString,Ve=Object.setPrototypeOf,He=function(e){Le(t,e);function t(n){var r=e.call(this,`Maximum copy depth of `+String(n)+` exceeded; the value copied is nested too deeply.`)||this;return Ve&&Ve(r,t.prototype),r.maxDepth=n,r.name=`MaxDepthExceededError`,r}return t}(RangeError),Ue=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}();function We(){return new Ue}function Ge(){return new WeakMap}var Ke=typeof WeakMap<`u`?Ge:We;function qe(e){if(!e)return Re(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Re(e);if(t&&~ze.call(t).indexOf(`[native code]`))try{return new t}catch{}return Re(e)}function Je(e){var t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t}function Ye(e){return e.flags}var Xe=/test/g.flags===`g`?Ye:Je;function Ze(e){var t=Be.call(e);return t.substring(8,t.length-1)}function Qe(e){return e[Symbol.toStringTag]||Ze(e)}var $e=typeof Symbol<`u`?Qe:Ze,et=Object.defineProperty,tt=Object.getOwnPropertyDescriptor,nt=Object.getOwnPropertyNames,rt=Object.getOwnPropertySymbols,it=Object.prototype,at=it.hasOwnProperty,ot=it.propertyIsEnumerable,st=typeof rt==`function`;function ct(e){return nt(e).concat(rt(e))}var lt=st?ct:nt;function ut(e,t,n){for(var r=lt(e),i=0,a=r.length,o=void 0,s=void 0;ia)throw new He(a);t.prototype=At(e),t.Constructor=t.prototype&&t.prototype.constructor;var o;if(!t.Constructor||t.Constructor===Object)o=i(e,t);else if(Ot(e))o=r(e,t);else{var s=n[$e(e)];o=s?s(e,t):typeof e.then==`function`?e:i(e,t)}return--t.depth,o}return function(e){return o(e,{Constructor:void 0,cache:Ke(),copier:o,depth:0,prototype:void 0})}}function Ft(e){return Pt(kt({},Mt,e))}Ft({});var It=Pt({});function Lt(e,t,n){if(t.if!=null){if(t.if===!1)return t.else;if(t.if&&(t.then||t.else)){let r=e.validate(n,e.resolveRef(t.if));if(r.length===0&&t.then)return e.resolveRef(t.then);if(r.length!==0&&t.else)return e.resolveRef(t.else)}}}var Rt=(e,t,n,r)=>{let i=Lt(e,t,n);if(i)return e.validate(n,i,r)};function zt(e,t,n){let r={...e.resolveRef(t)??{}};return Lt(e,r,n)||Fe(r,`if`,`then`,`else`)}function Bt(e,t,n=e.rootSchema){let r=It(n);for(let i=0;i{r=F(r,e.resolveRef(t))}),r}var Ht=(e,t,n,r)=>{let{allOf:i}=t;if(!Array.isArray(i)||i.length===0)return;let a=[];return t.allOf.forEach(t=>{a.push(...e.validate(n,t,r))}),a};function Ut(e,t){return e==null||e.$ref==null?e:e.getRoot?e.getRoot().getRef(e):t.getRef(e)}function Wt(e){return e.filter((t,n)=>e.indexOf(t)===n)}function Gt(e){return T(e)===`object`}function Kt(e,t,n){let{dependencies:r}=t;if(!Gt(r)||!Gt(n))return;let i=!1,a={required:[]};if(Object.keys(r).forEach(o=>{if(n[o]==null&&!(t.required?.includes(o)||a.required?.includes(o)))return;let s=r[o];Array.isArray(s)?(i=!0,a.required.push(...s)):Gt(s)&&(i=!0,a=F(a,e.resolveRef(s)))}),i)return a.required=Wt(a.required),a}var qt=(e,t,n,r)=>{if(T(t.dependencies)!==`object`)return;let i=[];return Object.keys(n).forEach(a=>{if(t.dependencies[a]===void 0||t.dependencies[a]===!0)return;if(t.dependencies[a]===!1){i.push(e.errors.missingDependencyError({pointer:r,schema:t,value:n}));return}let o,s=T(t.dependencies[a]);if(s===`array`)o=t.dependencies[a].filter(e=>n[e]===void 0).map(i=>e.errors.missingDependencyError({missingProperty:i,pointer:r,schema:t,value:n}));else if(s===`object`)o=e.validate(n,t.dependencies[a],r);else throw Error(`Invalid dependency definition for ${r}/${a}. Must be string[] or schema`);i.push(...o)}),i.length>0?i:void 0};function Jt(e,t,n){if(!Array.isArray(t.anyOf)||t.anyOf.length===0)return;let r;return t.anyOf.forEach(t=>{t=e.resolveRef(t),e.isValid(n,t)&&(r=r?F(r,t):t)}),r}function Yt(e,t,n=e.rootSchema,r=`#`){let{anyOf:i}=n;if(!Array.isArray(i)||i.length===0)return n;let a=Jt(e,n,t);return a==null?e.errors.anyOfError({pointer:r,schema:n,value:t,anyOf:JSON.stringify(i)}):Fe(F(n,a),`anyOf`)}var Xt=(e,t,n,r)=>{if(Array.isArray(t.anyOf)&&t.anyOf.length!==0){for(let r=0;rt.includes(e))!==-1}function en(e,t,n,r){let i,a;if(t=e.resolveRef(t),t.oneOf){let o=ke(e,n,t,r);j(o)?a=o:o&&(i=F(i??{},o))}if(Array.isArray(t.allOf)){let a=t.allOf.map(t=>{if($t(t)){let i=en(e,t,n,r);return i?(i=F(t,i),Fe(i,...Zt)):void 0}return t});if(a.length>0){let t=Vt(e,{allOf:a});i=F(i??{},t)}}let o=Jt(e,t,n);o&&(i=F(i??{},o));let s=Kt(e,t,n);s&&(i=F(i??{},s));let c=Lt(e,t,n);if(c&&(i=F(i??{},c)),i==null)return a;let l=en(e,i,n,r);return l&&(i=F(i,l)),Fe(i,...Zt)}var tn=[`allOf`,`anyOf`,`oneOf`,`dependencies`,`if`,`then`,`else`];function nn(e,t,n,r){let i=en(e,t,n,r);return i?(i=F(t,i),Fe(i,...tn)):t}var rn=class{constructor(e,t){this.remotes={},this.errors={},this.typeKeywords={},this.validateKeyword={},this.validateType={},this.validateFormat={},this.config=e,this.typeKeywords=It(e.typeKeywords),this.validateKeyword=Object.assign({},e.validateKeyword),this.validateType=Object.assign({},e.validateType),this.validateFormat=Object.assign({},e.validateFormat),this.errors=Object.assign({},e.errors),this.setSchema(t)}get rootSchema(){return this.__rootSchema}set rootSchema(e){e!=null&&(this.__rootSchema=this.config.compileSchema(this,e))}addRemoteSchema(e,t){this.config.addRemoteSchema(this,e,t)}compileSchema(e){return this.config.compileSchema(this,e,this.rootSchema??e)}createSchemaOf(e){return this.config.createSchemaOf(e)}each(e,t,n,r){return this.config.each(this,e,t,n,r)}eachSchema(e,t=this.rootSchema){return this.config.eachSchema(t,e)}getChildSchemaSelection(e,t){return this.config.getChildSchemaSelection(this,e,t)}getSchema(e){return this.config.getSchema(this,e)}getTemplate(e,t,n=this.config.templateDefaultOptions){return this.config.getTemplate(this,e,t,n)}isValid(e,t,n){return this.config.isValid(this,e,t,n)}resolveAnyOf(e,t,n){return this.config.resolveAnyOf(this,e,t,n)}resolveAllOf(e,t){return this.config.resolveAllOf(this,e,t)}resolveRef(e){return this.config.resolveRef(e,this.rootSchema)}resolveOneOf(e,t,n){return this.config.resolveOneOf(this,e,t,n)}setSchema(e){this.rootSchema=e}step(e,t,n,r){return this.config.step(this,e,t,n,r)}validate(e,t,n){return this.config.validate(this,e,t,n)}};function an(e,t,n){n.id=n.id||t,e.remotes[t]=e.compileSchema(n)}var on=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`jsonPointer`,[],r):typeof e==`object`?e.jsonPointer=r():n.jsonPointer=r()})(typeof self<`u`?self:e,(()=>(()=>{var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function n(e){return e===`#`||e===``||Array.isArray(e)&&e.length===0||!1}e.r(t),e.d(t,{default:()=>C,get:()=>u,isRoot:()=>n,join:()=>te,remove:()=>y,removeUndefinedItems:()=>v,set:()=>h,split:()=>l,splitLast:()=>ne});let r=/~1/g,i=/~0/g,a=/\/+/g,o=/(^[#/]*|\/+$)/g;function s(e){return e.replace(r,`/`).replace(i,`~`)}function c(e){return s(decodeURIComponent(e))}function l(e){if(e==null||typeof e!=`string`||n(e))return Array.isArray(e)?e:[];let t=e.indexOf(`#`)>=0?c:s,r=(e=(e=e.replace(a,`/`)).replace(o,``)).split(`/`);for(let e=0,n=r.length;e0&&t[0]==`prototype`}function h(e,t,n){if(t==null)return e;let r=l(t);if(r.length===0)return e;e??=f.test(r[0])?[]:{};let i,a,o=e;for(;r.length>1;)i=r.shift(),a=f.test(r[0]),m(i,r)||(o=_(o,i,a));return i=r.pop(),g(o,i,n),e}function g(e,t,n){let r,i=t.match(p);t===`[]`&&Array.isArray(e)?e.push(n):i?(r=i.pop(),e[r]=n):e[t]=n}function _(e,t,n){if(e[t]!=null)return e[t];let r=n?[]:{};return g(e,t,r),r}function v(e){let t=0,n=0;for(;t+n{Object.defineProperty(e,"__esModule",{value:!0}),e.TokenError=void 0,e.TokenError=class extends Error{constructor(e,t){if(super(e),this.message=e,this.token=t,t&&t.errors)t.errors.push(this);else throw this}inspect(){return`SyntaxError: `+this.message}}})),cn=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=e.findRuleByName=e.parseRuleName=e.escapeRegExp=e.readToken=void 0;var t=/^[A-Z0-9_]+$/,n=/(\?|\+|\*)$/,r=/^(@|&|!)/,i=`WS`,a=sn();function o(e,t){let n=t.exec(e);return n&&n.index==0?n[0].length==0&&t.source.length>0?null:{type:null,text:n[0],rest:e.substr(n[0].length),start:0,end:n[0].length-1,fullText:n[0],errors:[],children:[],parent:null}:null}e.readToken=o;function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`)}e.escapeRegExp=s;function c(e){e.rest=``,e.children&&e.children.forEach(e=>c(e))}function l(e,t){e.start+=t,e.end+=t,e.children&&e.children.forEach(t=>l(t,e.start))}function u(e,t){t.errors&&t.errors.length&&t.errors.forEach(t=>e.push(t)),t.children&&t.children.forEach(t=>u(e,t))}function d(e){let t=n.exec(e),i=r.exec(e),a=t&&t[0]||``,o=i&&i[0]||``,s={raw:e,name:e.replace(n,``).replace(r,``),isOptional:a==`?`||a==`*`,allowRepetition:a==`+`||a==`*`,atLeastOne:a==`+`,lookupPositive:o==`&`,lookupNegative:o==`!`,pinned:o==`@`,lookup:!1,isLiteral:!1};return s.isLiteral=s.name[0]==`'`||s.name[0]==`"`,s.lookup=s.lookupNegative||s.lookupPositive,s}e.parseRuleName=d;function f(e,t){let n=d(e);return t.cachedRules[n.name]||null}e.findRuleByName=f;function p(e,t){if(e.children){let n=e.children.filter(e=>e.type&&t.test(e.type));for(let t=0;tp(e,t))}}var m=[`EOF`],h=class{constructor(e,t){this.grammarRules=e,this.options=t,this.cachedRules={},this.debug=t?t.debug===!0:!1;let n=[],r=[];if(e.forEach(e=>{let t=d(e.name);if(t.name in this.cachedRules)n.push(`Duplicated rule `+t.name);else{if(this.cachedRules[t.name]=e,!e.bnf||!e.bnf.length){let t=`Missing rule content, rule: `+e.name;n.indexOf(t)==-1&&n.push(t)}else e.bnf.forEach(t=>{if(typeof t[0]==`string`&&d(t[0]).name==e.name){let t=`Left recursion is not allowed, rule: `+e.name;n.indexOf(t)==-1&&n.push(t)}t.forEach(e=>{if(typeof e==`string`){let t=d(e);!t.isLiteral&&r.indexOf(t.name)==-1&&m.indexOf(t.name)==-1&&r.push(t.name)}})});i==e.name&&(e.implicitWs=!1),e.implicitWs&&r.indexOf(i)==-1&&r.push(i),e.recover&&r.indexOf(e.recover)==-1&&r.push(e.recover)}}),r.forEach(e=>{e in this.cachedRules||n.push(`Missing rule `+e)}),n.length)throw Error(n.join(` -`))}getAST(e,n){n||=this.grammarRules.filter(e=>!e.fragment&&e.name.indexOf(`%`)!=0)[0].name;let r=this.parse(e,n);if(r){u(r.errors,r),l(r,0),p(r,/^%/),(!this.options||!this.options.keepUpperRules)&&p(r,t);let e=r.rest;e&&new a.TokenError(`Unexpected end of input: +import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,p as c,r as l,s as u,t as d,u as f}from"./index-Chg-rXIS.js";var p=c(n(((e,t,n)=>{(function(e,n){typeof define==`function`&&define.amd?define(n):typeof t==`object`&&t.exports?t.exports=n():e.log=n()})(n,function(){var e=function(){},t=`undefined`,n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=[`trace`,`debug`,`info`,`warn`,`error`],i={},a=null;function o(e,t){var n=e[t];if(typeof n.bind==`function`)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch{return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(r){return r===`debug`&&(r=`log`),typeof console===t?!1:r===`trace`&&n?s:console[r]===void 0?console.log===void 0?e:o(console,`log`):o(console,r)}function l(){for(var n=this.getLevel(),i=0;i=0&&t<=o.levels.SILENT)return t;throw TypeError(`log.setLevel() called with invalid level: `+e)}o.name=e,o.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},o.methodFactory=n||d,o.getLevel=function(){return u??c??s},o.setLevel=function(e,t){return u=g(e),t!==!1&&p(u),l.call(o)},o.setDefaultLevel=function(e){c=g(e),m()||o.setLevel(e,!1)},o.resetLevel=function(){u=null,h(),l.call(o)},o.enableAll=function(e){o.setLevel(o.levels.TRACE,e)},o.disableAll=function(e){o.setLevel(o.levels.SILENT,e)},o.rebuild=function(){if(a!==o&&(s=g(a.getLevel())),l.call(o),a===o)for(var e in i)i[e].rebuild()},s=g(a?a.getLevel():`WARN`);var _=m();_!=null&&(u=g(_)),l.call(o)}a=new f,a.getLogger=function(e){if(typeof e!=`symbol`&&typeof e!=`string`||e===``)throw TypeError(`You must supply a name when creating a logger.`);var t=i[e];return t||=i[e]=new f(e,a.methodFactory),t};var p=typeof window===t?void 0:window.log;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=p),a},a.getLoggers=function(){return i},a.default=a,a})}))(),1);p.default.setLevel(`silent`);var m=p.default,h={STRING:`String`,NUMBER:`Number`,TRUE:`True`,FALSE:`False`,NULL:`Null`,OBJECT:`Object`,ARRAY:`Array`,PROPERTY:`Property`,PROPERTY_NAME:`PropertyName`,PROPERTY_COLON:`PropertyColon`,ITEM:`Item`,JSON_TEXT:`JsonText`,INVALID:`⚠`},g={Pair:h.PROPERTY,Key:h.PROPERTY_NAME,BlockSequence:h.ARRAY,BlockMapping:h.OBJECT,FlowSequence:h.ARRAY,FlowMapping:h.OBJECT,QuotedLiteral:h.STRING,Literal:h.STRING,Stream:h.JSON_TEXT,Document:h.OBJECT},_={File:h.JSON_TEXT},v=[h.STRING,h.NUMBER,h.TRUE,h.FALSE,h.NULL],y=[h.OBJECT,h.ARRAY,h.ITEM],b={JSON5:`json5`,JSON:`json4`,YAML:`yaml`},x=(e,t)=>{switch(t){case b.YAML:return g[e]??e;case b.JSON5:return _[e]??e;default:return e}};function S(e,t,n){let r=[];for(let i=t;i?.parent;i=i.parent)switch(x(i.parent.name,n)){case h.PROPERTY:{let t=de(i.parent,h.PROPERTY_NAME,n);if(t){let n=ie(e,t).replace(/[/~]/g,e=>e===`~`?`~0`:`~1`);r.unshift(n)}break}case h.ARRAY:if(se(i,n)){let e=me(i.parent,i,n);r.unshift(`${e}`)}}return r.length===0?``:`/`+r.join(`/`)}var ee=(e,t,n=-1,r)=>S(e.doc,u(e).resolve(t,n),r),te=(e,t)=>{let n=u(e),r=new Map;return n.iterate({enter:n=>{if([h.PROPERTY_NAME,h.OBJECT].includes(x(n.name,t))){let i=S(e.doc,n.node,t),{from:a,to:o}=n.node;if(!n.node?.nextSibling?.node)return r.set(i,{keyFrom:a,keyTo:o}),!0;let s=t===b.JSON?n.node?.nextSibling?.node:n.node?.nextSibling?.node?.nextSibling?.node;if(!s)return r.set(i,{keyFrom:a,keyTo:o}),!0;let{from:c,to:l}=s;return r.set(i,{keyFrom:a,keyTo:o,valueFrom:c,valueTo:l}),!0}}}),r},ne=(e,t,n=-1)=>u(e).resolveInner(t,n),C=e=>e.replace(/^"(.*)"$/,`$1`).replace(/^'(.*)'$/,`$1`),re=e=>e.replace(/^"(.*)"$/,`'$1'`),ie=(e,t,n=!0,r=!0)=>{let i=t?e.sliceString(t.from,t.to):``;return n?r?C(i):i.replace(/(^["'])|(["']$)/g,``):i},ae=(e,t)=>x(e.name,t)===h.INVALID&&(x(e.prevSibling?.name??``,t)===h.PROPERTY_NAME||x(e.prevSibling?.name??``,t)===h.PROPERTY_COLON),oe=(e,t)=>v.includes(x(e.name,t))||ae(e,t),se=(e,t)=>[...v,...y].includes(x(e.name,t))||ae(e,t),ce=(e,t)=>x(e.name,t)===h.PROPERTY_NAME||x(e.name,t)===h.INVALID&&(x(e.prevSibling?.name??``,t)===h.PROPERTY||x(e.prevSibling?.name??``,t)===`{`)||t===b.YAML&&x(e.parent?.name??``,t)===h.OBJECT,le=e=>{let t=[],n=e.firstChild;for(;n;)n&&t.push(n),n=n?.nextSibling;return t},ue=(e,t,n)=>le(e).filter(e=>x(e.name,n)===t),de=(e,t,n)=>le(e).find(e=>x(e.name,n)===t)??null,fe=(e,t)=>le(e).find(e=>oe(e,t)),pe=(e,t)=>le(e).filter(e=>v.includes(x(e.name,t))||y.includes(x(e.name,t))),me=(e,t,n)=>pe(e,n).findIndex(e=>e.from===t.from&&e.to===t.to),w=(e,t,n,r=1/0)=>{let i=e;for(;i&&r>0;){if(x(i.name,n)===t)return i;i=i.parent,r--}return null},he=a.define(),ge=f.define({create(){},update(e,t){for(let e of t.effects)if(e.is(he))return e.value;return e}}),_e=e=>e.field(ge),ve=e=>[ge.init(()=>e)],ye={AdditionalItemsError:"Array at `{{pointer}}` may not have an additional item `{{key}}`",AdditionalPropertiesError:"Additional property `{{property}}` on `{{pointer}}` does not match schema `{{schema}}`",AllOfError:"Value `{{value}}` at `{{pointer}}` does not match schema of `{{allOf}}`",AnyOfError:"Value `{{value}}` at `{{pointer}}` does not match any schema of `{{anyOf}}`",ConstError:"Expected value at `{{pointer}}` to be `{{expected}}`, but value given is `{{value}}`",containsAnyError:"The array at `{{pointer}}` must contain at least one item",ContainsArrayError:"The property at `{{pointer}}` must not be an array",ContainsError:"The array at `{{pointer}}` must contain an element that matches `{{schema}}`",EnumError:"Expected given value `{{value}}` in `{{pointer}}` to be one of `{{values}}`",ForbiddenPropertyError:"Property name `{{property}}` at `{{pointer}}` is not allowed",FormatDateError:"Value `{{value}}` at `{{pointer}}` is not a valid date",FormatDateTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid date-time",FormatEmailError:"Value `{{value}}` at `{{pointer}}` is not a valid email",FormatHostnameError:"Value `{{value}}` at `{{pointer}}` is not a valid hostname",FormatIPV4Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv4 address",FormatIPV4LeadingZeroError:`IPv4 addresses starting with zero are invalid, since they are interpreted as octals`,FormatIPV6Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv6 address",FormatIPV6LeadingZeroError:`IPv6 addresses starting with zero are invalid, since they are interpreted as octals`,FormatJsonPointerError:"Value `{{value}}` at `{{pointer}}` is not a valid json-pointer",FormatRegExError:"Value `{{value}}` at `{{pointer}}` is not a valid regular expression",FormatTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid time",FormatURIError:"Value `{{value}}` at `{{pointer}}` is not a valid uri",FormatURIReferenceError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-reference",FormatURITemplateError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-template",FormatURLError:"Value `{{value}}` at `{{pointer}}` is not a valid url",InvalidDataError:"No value may be specified in `{{pointer}}`",InvalidPropertyNameError:"Invalid property name `{{property}}` at `{{pointer}}`",MaximumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{maximum}}` at maximum",MaxItemsError:"Too many items in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MaxLengthError:"Value `{{pointer}}` should have a maximum length of `{{maxLength}}`, but got `{{length}}`.",MaxPropertiesError:"Too many properties in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MinimumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{minimum}}` at minimum",MinItemsError:"Too few items in `{{pointer}}`, should be at least `{{minItems}}`, but got `{{length}}`",MinItemsOneError:"At least one item is required in `{{pointer}}`",MinLengthError:"Value `{{pointer}}` should have a minimum length of `{{minLength}}`, but got `{{length}}`.",MinLengthOneError:"A value is required in `{{pointer}}`",MinPropertiesError:"Too few properties in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`",MissingDependencyError:"The required propery '{{missingProperty}}' in `{{pointer}}` is missing",MissingOneOfPropertyError:"Value at `{{pointer}}` property: `{{property}}`",MultipleOfError:"Expected `{{value}}` in `{{pointer}}` to be multiple of `{{multipleOf}}`",MultipleOneOfError:"Value `{{value}}` should not match multiple schemas in oneOf `{{matches}}`",NoAdditionalPropertiesError:"Additional property `{{property}}` in `{{pointer}}` is not allowed",NotError:"Value `{{value}}` at pointer should not match schema `{{not}}`",OneOfError:"Value `{{value}}` in `{{pointer}}` does not match any given oneof schema",OneOfPropertyError:"Failed finding a matching oneOfProperty schema in `{{pointer}}` where `{{property}}` matches `{{value}}`",PatternError:"Value in `{{pointer}}` should match `{{description}}`, but received `{{received}}`",PatternPropertiesError:"Property `{{key}}` does not match any patterns in `{{pointer}}`. Valid patterns are: {{patterns}}",RequiredPropertyError:"The required property `{{key}}` is missing at `{{pointer}}`",SchemaWarning:`Failed retrieving a schema from '{{pointer}}' to key '{{key}}'`,TypeError:"Expected `{{value}}` ({{received}}) in `{{pointer}}` to be of type `{{expected}}`",UndefinedValueError:"Value must not be undefined in `{{pointer}}`",UniqueItemsError:"Items in array must be unique. Value `{{value}}` in `{{pointer}}` is a duplicate of {{duplicatePointer}}.",UnknownPropertyError:"Could not find a valid schema for property `{{pointer}}` within object",ValueNotEmptyError:"A value for `{{property}}` is required at `{{pointer}}`"},be=Object.prototype.toString;function T(e){let t=be.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase();return t===`file`?`object`:t}var xe=`object`,Se=`array`;function Ce(e,t={}){return e.replace(/\{\{\w+\}\}/g,e=>{let n=t[e.replace(/[{}]/g,``)],r=T(n);return r===xe||r===Se?JSON.stringify(n):n})}function we(e,t,n=e){return Ce(ye[e]??n,t)}function E(e){return e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}function D(e,t){return{type:`error`,name:e,code:E(e),message:we(e,t),data:t}}function O(e){return D.bind(null,e)}function k(e,t=[]){for(let n=0;n({index:n,schema:e})}),r}function j(e){return e?.type===`error`}function M(e){return e instanceof Promise}function Ee(e){return j(e)||M(e)}var{DECLARATOR_ONEOF:N}=A;function De(e,t,n=e.rootSchema,r=`#`){if(t!=null&&n[N]){let i=[],a=n[N],o=t[n[N]];if(o===void 0)return e.errors.missingOneOfPropertyError({property:a,pointer:r,schema:n,value:t});for(let s=0;s0)i.push(...u);else return Te(n,c,s)}return e.errors.oneOfPropertyError({property:a,value:o,pointer:r,schema:n,errors:i})}let i=[],a=[];for(let o=0;o0?a.push(...c):i.push({index:o,schema:s})}return i.length===1?Te(n,i[0].schema,i[0].index):i.length>1?e.errors.multipleOneOfError({value:t,pointer:r,schema:n,matches:i}):e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf,errors:a})}function Oe(e,t,n,r){if(n==null||t.properties==null)return-1;let i=0,a=Object.keys(t.properties);for(let o=0;o0)i.push(...u);else return Te(n,c,s)}return e.errors.oneOfPropertyError({property:a,value:o,pointer:r,schema:n,errors:i})}let i=[];for(let a=0;a1?e.errors.multipleOneOfError({matches:i,pointer:r,schema:n,value:t}):e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf})}var Ae=(e,t,n,r)=>{if(Array.isArray(t.oneOf)){let i=e.resolveOneOf(n,t,r);if(j(i))return i}},je=c(n(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(r[i]=p(e,i)&&n.isMergeableObject(t[i])?u(i,n)(e[i],t[i],n):c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g}))()),Me=(e,t)=>t,Ne=(e,t)=>(0,je.default)(e,t,{arrayMerge:Me}),P=(e,t)=>{let n=e.concat(t);return n.filter((e,t)=>n.indexOf(e)===t)},Pe=(e,t)=>(0,je.default)(e,t,{arrayMerge:P});function F(e,t){if(T(e)!==T(t))return e;let n=Pe(e,t);return e.getOneOfOrigin?Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:e.getOneOfOrigin}):t.getOneOfOrigin&&Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:t.getOneOfOrigin}),n}function Fe(e,...t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),e.getOneOfOrigin&&Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:e.getOneOfOrigin}),n}var Ie=function(e,t){return Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ie(e,t)};function Le(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);Ie(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Re=Object.create,ze=Function.prototype.toString,Be=Object.prototype.toString,Ve=Object.setPrototypeOf,He=function(e){Le(t,e);function t(n){var r=e.call(this,`Maximum copy depth of `+String(n)+` exceeded; the value copied is nested too deeply.`)||this;return Ve&&Ve(r,t.prototype),r.maxDepth=n,r.name=`MaxDepthExceededError`,r}return t}(RangeError),Ue=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}();function We(){return new Ue}function Ge(){return new WeakMap}var Ke=typeof WeakMap<`u`?Ge:We;function qe(e){if(!e)return Re(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Re(e);if(t&&~ze.call(t).indexOf(`[native code]`))try{return new t}catch{}return Re(e)}function Je(e){var t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t}function Ye(e){return e.flags}var Xe=/test/g.flags===`g`?Ye:Je;function Ze(e){var t=Be.call(e);return t.substring(8,t.length-1)}function Qe(e){return e[Symbol.toStringTag]||Ze(e)}var $e=typeof Symbol<`u`?Qe:Ze,et=Object.defineProperty,tt=Object.getOwnPropertyDescriptor,nt=Object.getOwnPropertyNames,rt=Object.getOwnPropertySymbols,it=Object.prototype,at=it.hasOwnProperty,ot=it.propertyIsEnumerable,st=typeof rt==`function`;function ct(e){return nt(e).concat(rt(e))}var lt=st?ct:nt;function ut(e,t,n){for(var r=lt(e),i=0,a=r.length,o=void 0,s=void 0;ia)throw new He(a);t.prototype=At(e),t.Constructor=t.prototype&&t.prototype.constructor;var o;if(!t.Constructor||t.Constructor===Object)o=i(e,t);else if(Ot(e))o=r(e,t);else{var s=n[$e(e)];o=s?s(e,t):typeof e.then==`function`?e:i(e,t)}return--t.depth,o}return function(e){return o(e,{Constructor:void 0,cache:Ke(),copier:o,depth:0,prototype:void 0})}}function Ft(e){return Pt(kt({},Mt,e))}Ft({});var It=Pt({});function Lt(e,t,n){if(t.if!=null){if(t.if===!1)return t.else;if(t.if&&(t.then||t.else)){let r=e.validate(n,e.resolveRef(t.if));if(r.length===0&&t.then)return e.resolveRef(t.then);if(r.length!==0&&t.else)return e.resolveRef(t.else)}}}var Rt=(e,t,n,r)=>{let i=Lt(e,t,n);if(i)return e.validate(n,i,r)};function zt(e,t,n){let r={...e.resolveRef(t)??{}};return Lt(e,r,n)||Fe(r,`if`,`then`,`else`)}function Bt(e,t,n=e.rootSchema){let r=It(n);for(let i=0;i{r=F(r,e.resolveRef(t))}),r}var Ht=(e,t,n,r)=>{let{allOf:i}=t;if(!Array.isArray(i)||i.length===0)return;let a=[];return t.allOf.forEach(t=>{a.push(...e.validate(n,t,r))}),a};function Ut(e,t){return e==null||e.$ref==null?e:e.getRoot?e.getRoot().getRef(e):t.getRef(e)}function Wt(e){return e.filter((t,n)=>e.indexOf(t)===n)}function Gt(e){return T(e)===`object`}function Kt(e,t,n){let{dependencies:r}=t;if(!Gt(r)||!Gt(n))return;let i=!1,a={required:[]};if(Object.keys(r).forEach(o=>{if(n[o]==null&&!(t.required?.includes(o)||a.required?.includes(o)))return;let s=r[o];Array.isArray(s)?(i=!0,a.required.push(...s)):Gt(s)&&(i=!0,a=F(a,e.resolveRef(s)))}),i)return a.required=Wt(a.required),a}var qt=(e,t,n,r)=>{if(T(t.dependencies)!==`object`)return;let i=[];return Object.keys(n).forEach(a=>{if(t.dependencies[a]===void 0||t.dependencies[a]===!0)return;if(t.dependencies[a]===!1){i.push(e.errors.missingDependencyError({pointer:r,schema:t,value:n}));return}let o,s=T(t.dependencies[a]);if(s===`array`)o=t.dependencies[a].filter(e=>n[e]===void 0).map(i=>e.errors.missingDependencyError({missingProperty:i,pointer:r,schema:t,value:n}));else if(s===`object`)o=e.validate(n,t.dependencies[a],r);else throw Error(`Invalid dependency definition for ${r}/${a}. Must be string[] or schema`);i.push(...o)}),i.length>0?i:void 0};function Jt(e,t,n){if(!Array.isArray(t.anyOf)||t.anyOf.length===0)return;let r;return t.anyOf.forEach(t=>{t=e.resolveRef(t),e.isValid(n,t)&&(r=r?F(r,t):t)}),r}function Yt(e,t,n=e.rootSchema,r=`#`){let{anyOf:i}=n;if(!Array.isArray(i)||i.length===0)return n;let a=Jt(e,n,t);return a==null?e.errors.anyOfError({pointer:r,schema:n,value:t,anyOf:JSON.stringify(i)}):Fe(F(n,a),`anyOf`)}var Xt=(e,t,n,r)=>{if(Array.isArray(t.anyOf)&&t.anyOf.length!==0){for(let r=0;rt.includes(e))!==-1}function en(e,t,n,r){let i,a;if(t=e.resolveRef(t),t.oneOf){let o=ke(e,n,t,r);j(o)?a=o:o&&(i=F(i??{},o))}if(Array.isArray(t.allOf)){let a=t.allOf.map(t=>{if($t(t)){let i=en(e,t,n,r);return i?(i=F(t,i),Fe(i,...Zt)):void 0}return t});if(a.length>0){let t=Vt(e,{allOf:a});i=F(i??{},t)}}let o=Jt(e,t,n);o&&(i=F(i??{},o));let s=Kt(e,t,n);s&&(i=F(i??{},s));let c=Lt(e,t,n);if(c&&(i=F(i??{},c)),i==null)return a;let l=en(e,i,n,r);return l&&(i=F(i,l)),Fe(i,...Zt)}var tn=[`allOf`,`anyOf`,`oneOf`,`dependencies`,`if`,`then`,`else`];function nn(e,t,n,r){let i=en(e,t,n,r);return i?(i=F(t,i),Fe(i,...tn)):t}var rn=class{constructor(e,t){this.remotes={},this.errors={},this.typeKeywords={},this.validateKeyword={},this.validateType={},this.validateFormat={},this.config=e,this.typeKeywords=It(e.typeKeywords),this.validateKeyword=Object.assign({},e.validateKeyword),this.validateType=Object.assign({},e.validateType),this.validateFormat=Object.assign({},e.validateFormat),this.errors=Object.assign({},e.errors),this.setSchema(t)}get rootSchema(){return this.__rootSchema}set rootSchema(e){e!=null&&(this.__rootSchema=this.config.compileSchema(this,e))}addRemoteSchema(e,t){this.config.addRemoteSchema(this,e,t)}compileSchema(e){return this.config.compileSchema(this,e,this.rootSchema??e)}createSchemaOf(e){return this.config.createSchemaOf(e)}each(e,t,n,r){return this.config.each(this,e,t,n,r)}eachSchema(e,t=this.rootSchema){return this.config.eachSchema(t,e)}getChildSchemaSelection(e,t){return this.config.getChildSchemaSelection(this,e,t)}getSchema(e){return this.config.getSchema(this,e)}getTemplate(e,t,n=this.config.templateDefaultOptions){return this.config.getTemplate(this,e,t,n)}isValid(e,t,n){return this.config.isValid(this,e,t,n)}resolveAnyOf(e,t,n){return this.config.resolveAnyOf(this,e,t,n)}resolveAllOf(e,t){return this.config.resolveAllOf(this,e,t)}resolveRef(e){return this.config.resolveRef(e,this.rootSchema)}resolveOneOf(e,t,n){return this.config.resolveOneOf(this,e,t,n)}setSchema(e){this.rootSchema=e}step(e,t,n,r){return this.config.step(this,e,t,n,r)}validate(e,t,n){return this.config.validate(this,e,t,n)}};function an(e,t,n){n.id=n.id||t,e.remotes[t]=e.compileSchema(n)}var on=n(((e,t,n)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`jsonPointer`,[],r):typeof e==`object`?e.jsonPointer=r():n.jsonPointer=r()})(typeof self<`u`?self:n,(()=>(()=>{var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function n(e){return e===`#`||e===``||Array.isArray(e)&&e.length===0||!1}e.r(t),e.d(t,{default:()=>C,get:()=>u,isRoot:()=>n,join:()=>te,remove:()=>y,removeUndefinedItems:()=>v,set:()=>h,split:()=>l,splitLast:()=>ne});let r=/~1/g,i=/~0/g,a=/\/+/g,o=/(^[#/]*|\/+$)/g;function s(e){return e.replace(r,`/`).replace(i,`~`)}function c(e){return s(decodeURIComponent(e))}function l(e){if(e==null||typeof e!=`string`||n(e))return Array.isArray(e)?e:[];let t=e.indexOf(`#`)>=0?c:s,r=(e=(e=e.replace(a,`/`)).replace(o,``)).split(`/`);for(let e=0,n=r.length;e0&&t[0]==`prototype`}function h(e,t,n){if(t==null)return e;let r=l(t);if(r.length===0)return e;e??=f.test(r[0])?[]:{};let i,a,o=e;for(;r.length>1;)i=r.shift(),a=f.test(r[0]),m(i,r)||(o=_(o,i,a));return i=r.pop(),g(o,i,n),e}function g(e,t,n){let r,i=t.match(p);t===`[]`&&Array.isArray(e)?e.push(n):i?(r=i.pop(),e[r]=n):e[t]=n}function _(e,t,n){if(e[t]!=null)return e[t];let r=n?[]:{};return g(e,t,r),r}function v(e){let t=0,n=0;for(;t+n{Object.defineProperty(e,"__esModule",{value:!0}),e.TokenError=void 0,e.TokenError=class extends Error{constructor(e,t){if(super(e),this.message=e,this.token=t,t&&t.errors)t.errors.push(this);else throw this}inspect(){return`SyntaxError: `+this.message}}})),cn=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=e.findRuleByName=e.parseRuleName=e.escapeRegExp=e.readToken=void 0;var t=/^[A-Z0-9_]+$/,n=/(\?|\+|\*)$/,r=/^(@|&|!)/,i=`WS`,a=sn();function o(e,t){let n=t.exec(e);return n&&n.index==0?n[0].length==0&&t.source.length>0?null:{type:null,text:n[0],rest:e.substr(n[0].length),start:0,end:n[0].length-1,fullText:n[0],errors:[],children:[],parent:null}:null}e.readToken=o;function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`)}e.escapeRegExp=s;function c(e){e.rest=``,e.children&&e.children.forEach(e=>c(e))}function l(e,t){e.start+=t,e.end+=t,e.children&&e.children.forEach(t=>l(t,e.start))}function u(e,t){t.errors&&t.errors.length&&t.errors.forEach(t=>e.push(t)),t.children&&t.children.forEach(t=>u(e,t))}function d(e){let t=n.exec(e),i=r.exec(e),a=t&&t[0]||``,o=i&&i[0]||``,s={raw:e,name:e.replace(n,``).replace(r,``),isOptional:a==`?`||a==`*`,allowRepetition:a==`+`||a==`*`,atLeastOne:a==`+`,lookupPositive:o==`&`,lookupNegative:o==`!`,pinned:o==`@`,lookup:!1,isLiteral:!1};return s.isLiteral=s.name[0]==`'`||s.name[0]==`"`,s.lookup=s.lookupNegative||s.lookupPositive,s}e.parseRuleName=d;function f(e,t){let n=d(e);return t.cachedRules[n.name]||null}e.findRuleByName=f;function p(e,t){if(e.children){let n=e.children.filter(e=>e.type&&t.test(e.type));for(let t=0;tp(e,t))}}var m=[`EOF`],h=class{constructor(e,t){this.grammarRules=e,this.options=t,this.cachedRules={},this.debug=t?t.debug===!0:!1;let n=[],r=[];if(e.forEach(e=>{let t=d(e.name);if(t.name in this.cachedRules)n.push(`Duplicated rule `+t.name);else{if(this.cachedRules[t.name]=e,!e.bnf||!e.bnf.length){let t=`Missing rule content, rule: `+e.name;n.indexOf(t)==-1&&n.push(t)}else e.bnf.forEach(t=>{if(typeof t[0]==`string`&&d(t[0]).name==e.name){let t=`Left recursion is not allowed, rule: `+e.name;n.indexOf(t)==-1&&n.push(t)}t.forEach(e=>{if(typeof e==`string`){let t=d(e);!t.isLiteral&&r.indexOf(t.name)==-1&&m.indexOf(t.name)==-1&&r.push(t.name)}})});i==e.name&&(e.implicitWs=!1),e.implicitWs&&r.indexOf(i)==-1&&r.push(i),e.recover&&r.indexOf(e.recover)==-1&&r.push(e.recover)}}),r.forEach(e=>{e in this.cachedRules||n.push(`Missing rule `+e)}),n.length)throw Error(n.join(` +`))}getAST(e,n){n||=this.grammarRules.filter(e=>!e.fragment&&e.name.indexOf(`%`)!=0)[0].name;let r=this.parse(e,n);if(r){u(r.errors,r),l(r,0),p(r,/^%/),this.options&&this.options.keepUpperRules||p(r,t);let e=r.rest;e&&new a.TokenError(`Unexpected end of input: `+e,r),c(r),r.rest=e}return r}emitSource(){return`CANNOT EMIT SOURCE FROM BASE Parser`}parse(e,n,r=0){let c=null,l=d(n),u,p=this.debug&&!t.test(l.name);p&&console.log(Array(r).join(`│ `)+`Trying to get `+n+` from `+JSON.stringify(e.split(` `)[0]));let m=l.name,h=f(l.name,this);if(l.name==`EOF`){if(e.length)return null;if(e.length==0)return{type:`EOF`,text:``,rest:``,start:0,end:0,fullText:``,errors:[],children:[],parent:null}}try{if(!h&&l.isLiteral){let t=l.name.trim();if(t.startsWith(`"`)?t=JSON.parse(t):t.startsWith(`'`)&&(t=t.replace(/^'(.+)'$/,`$1`).replace(/\\'/g,`'`)),t===``)return{type:`%%EMPTY%%`,text:``,rest:e,start:0,end:0,fullText:``,errors:[],children:[],parent:null};u=new RegExp(s(t)),m=null}}catch(e){return e instanceof ReferenceError&&console.error(e),null}if(u){let t=o(e,u);if(t)return t.type=m,t}else{let t=h.bnf;t instanceof Array&&t.forEach(t=>{if(c)return;let n=null,s={type:l.name,text:``,children:[],end:0,errors:[],fullText:``,parent:null,start:0,rest:e};h.fragment&&(s.fragment=!0);let u=e,f=0,m=t.length>0,g=!1;for(let e=0;e{e.start+=f,e.end+=f,e.parent=s,s.children.push(e)}):(l.parent=s,s.children.push(l))),o.lookup&&(l.lookup=!0),p&&console.log(Array(r+1).join(`│ `)+`└─ `+l.type+` `+JSON.stringify(l.text)),!o.lookup&&!l.lookup&&(s.text+=l.text,s.end=s.text.length,u=u.substr(l.text.length),f+=l.text.length),s.rest=u}while(l&&o.allowRepetition&&u.length&&!l.lookup)}else{let n=o(u,t[e]);if(!n)return;p&&console.log(Array(r+1).join(`│ `)+`└> `+JSON.stringify(n.text)+t[e].source),g=!0,n.start+=f,n.end+=f,s.text+=n.text,s.end=s.text.length,u=u.substr(n.text.length),f+=n.text.length,s.rest=u}g&&(c=s,p&&console.log(Array(r).join(`│ `)+`├<─┴< PUSHING `+c.type+` `+JSON.stringify(c.text)))}),c&&h.simplifyWhenOneChildren&&c.children.length==1&&(c=c.children[0])}return c||p&&console.log(n+` NOT RESOLVED FROM `+e),c}parseRecovery(e,t,n){if(e.recover&&t.length){let r=this.debug;r&&console.log(Array(n+1).join(`│ `)+`Trying to recover until token `+e.recover+` from `+JSON.stringify(t.split(` `)[0]+t.split(` @@ -32,7 +32,7 @@ quantifier ::= "+" | "*" | [0-9]+ orPattern ::= S? "," S? S ::= [ ]* -`,mn=new dn.default.Parser(pn),hn=e=>mn.getAST(e),gn=(e,t)=>`${e}/${t}`,_n=Object.prototype.toString,vn=/Object|Array/,yn=e=>vn.test(_n.call(e)),bn=e=>_n.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase();function xn(e){return new RegExp(e.text.replace(/(^{|}$)/g,``))}function Sn(e,t){Array.isArray(e)?e.forEach(t):Object.prototype.toString.call(e)===`[object Object]`&&Object.keys(e).forEach(function(n){t(e[n],n,e)})}function Cn(e){return Array.isArray(e)?e.map(function(e,t){return`${t}`}):Object.prototype.toString.call(e)===`[object Object]`?Object.keys(e):[]}var wn={mem:[],get(e,t){let n=e[0][t];if(!wn.mem.includes(n))return yn(n)&&wn.mem.push(n),[n,t,e[0],gn(e[3],t)]},reset(){wn.mem.length=0}},Tn={any(e,t){let n=t[0];return Cn(n).map(e=>[n[e],e,n,gn(t[3],e)])},all(e,t){let n=[t];return Sn(t[0],(r,i)=>{let a=wn.get(t,i);a&&n.push(...Tn.all(e,a))}),n},regex(e,t){let n=xn(e),r=t[0];return Cn(r).filter(e=>n.test(e)).map(e=>[r[e],e,r,gn(t[3],e)])}},En={escaped:(e,t)=>En.property(e,t),property:(e,t)=>{let n=e.text;if(t[0]&&t[0][n]!==void 0)return[t[0][n],n,t[0],gn(t[3],n)]},typecheck:(e,t)=>{let n=e.text.replace(/^\?:/,``);if(n===`value`)return yn(t[0])?void 0:t;if(bn(t[0])===n)return t},lookahead:(e,t)=>{let n=!0,r=!1;return e.children.forEach(e=>{if(e.type===`expression`){let i=En.expression(e,t)!==void 0;n=r===!0?n||i:n&&i}else r=e.type===`orExpr`}),n?t:void 0},expression:(e,t)=>{let n=e.children[0].text,r=e.children[1],i=e.children[2],a=t[0];if(yn(a)!==!1)return Dn(a[n],r,i)?t:void 0}};function Dn(e,t,n){if(t===void 0)return e!==void 0;let r,i=`${e}`;return r=n.type===`regex`?xn(n).test(i):i===n.text,t.type===`isnot`&&(r=r===!1&&e!==void 0),r}function On(e,t,n,r){let i=[];for(let a=0,o=t.length;a{if(Tn[e.type])r=On(Tn[e.type],r,e,n);else if(En[e.type])r=kn(En[e.type],r,e,n);else throw Error(`Unknown filter ${e.type}`)}),r}function jn(e,t,n){let r=[],i=e;return t.children.forEach(t=>{t.type===`orPattern`?(r.push(...i),i=e):i=Fn(i,t,n)}),r.push(...i),r}function Mn(e){if(e==null)return 1;if(e===`*`||e===`+`)return 1/0;let t=parseInt(e);return isNaN(t)?1:t}function Nn(e,t,n){let r=[],i=t.children.find(e=>e.type===`quantifier`),a=Mn(i&&i.text),o=e;i&&i.text===`*`&&r.push(...o);let s=0;for(;o.length>0&&sr=Fn(r,e,n)),r}function Fn(e,t,n){let r;return r=t.type===`query`?An(e,t,n):t.type===`pattern`?Nn(e,t,n):Pn(e,t,n),wn.reset(),wn.mem.push(e),r}function In(e,t){return wn.reset(),wn.mem.push(e),Fn([[e,null,null,`#`]],t)}var Ln={value:e=>e.map(e=>e[0]),pointer:e=>e.map(e=>e[3]),all:e=>e,map:e=>{let t={};return e.forEach(e=>t[e[3]]=e[0]),t}},Rn;(function(e){e.POINTER=`pointer`,e.VALUE=`value`,e.ALL=`all`,e.MAP=`map`})(Rn||={}),zn.POINTER=Rn.POINTER,zn.VALUE=Rn.VALUE,zn.ALL=Rn.ALL,zn.MAP=Rn.MAP;function zn(e,t,n=Rn.VALUE){if(t==null)return[];t=t.replace(/(\/$)/g,``),t===``&&(t=`#`);let r=hn(t);if(r==null)throw Error(`empty ast for '${t}'`);if(r.rest!==``)throw Error(`Failed parsing queryString from: '${r.rest}'`);let i=In(e,r);return typeof n==`function`?i.map(e=>n(...e)):Ln[n]?Ln[n](i):i}var Bn=[`root`,`recursion`];function Vn(e,t=[]){return Bn.includes(e.type)?(e.children.forEach(e=>Vn(e,t)),t):(t.push(e.text),t)}function Hn(e){return e==null||e===``?[]:Vn(hn(e))}var Un=e=>JSON.parse(JSON.stringify(e)),Wn=Object.prototype.toString,Gn=e=>Wn.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase(),Kn=RegExp(`^("[^"]+"|${fn})$`),qn=[`string`,`number`,`boolean`,`null`],Jn=/^\[\d*\]$/,Yn=/^\[(\d+)\]$/,Xn=/^".+"$/,Zn=/(^\[\d*\]$|^\d+$)/;function Qn(e){return parseInt(e.replace(/^(\[|\]$)/,``))}function $n(e){return Xn.test(e)?e.replace(/(^"|"$)/g,``):e}function er(e,t,n){e.length<=t?e[t]=n:e.splice(t,0,n)}function tr(e,t){let n=[];return e.forEach(e=>n.push(...zn(e[0],t,Rn.ALL))),n}function nr(e,t,n,r){let i=e[0];if(/^\[\]$/.test(t)){i.push(n);let t=i.length-1;return[i[t],t,i,`${e[3]}/${t}}`]}if(r==null&&Gn(i[t])===`object`&&Gn(n)===`object`)return Object.assign(i[t],n),[i[t],t,i,`${e[3]}/${t}}`];if(r===ar.INSERT_ITEMS||r==null&&Yn.test(t)){let r=Qn(t);return er(i,r,n),[i[r],r,i,`${e[3]}/${r}}`]}if(r===ar.REPLACE_ITEMS||r==null){let r=Qn(t);return i[r]=n,[i[r],r,i,`${e[3]}/${r}}`]}throw Error(`Unknown array index '${t}' with force-option '${r}'`)}function rr(e,t,n,r){return t=$n(t),e.filter(e=>Array.isArray(e[0])&&Zn.test(t)?!0:qn.includes(Gn(e[0][t]))===!1).map(e=>{let i=n?[]:{},a=e[0],o=Gn(i),s=Gn(a[t]);return Array.isArray(a)&&s!==o?nr(e,t,i,r):(a[t]=a[t]||i,[a[t],t,a,`${e[3]}/${t}`])})}var ir;(function(e){e.REPLACE_ITEMS=`replace`,e.INSERT_ITEMS=`insert`})(ir||={}),ar.REPLACE_ITEMS=ir.REPLACE_ITEMS,ar.INSERT_ITEMS=ir.INSERT_ITEMS;function ar(e,t,n,r){if(t==null)return Un(e);if(t=t.replace(/(\/$)/g,``),t===``)return Un(n);let i=Un(e),a=[[i,null,null,`#`]],o=Hn(t),s=o.pop(),c=Jn.test(s)&&Yn.test(s)===!1;if(Kn.test(s)===!1||c)throw Error(`Unsupported query '${t}' ending with non-property`);return o.forEach((e,t)=>{if(e===`__proto__`||e===`prototyped`||e===`constructor`)return;if(Kn.test(e)===!1){a=tr(a,e);return}let n=t>=o.length-1?s:o[t+1],i=Zn.test(n);a=rr(a,e,i,r)}),a.forEach(e=>{let t=n;Gn(n)===`function`&&(t=n(e[3],s,e[0],`${e[3]}/${s}`));let i=e[0];if(Array.isArray(i))nr(e,s,t,r);else{let e=$n(s);if(e===`__proto__`||e===`prototyped`||e===`constructor`)return;i[e]=t}}),i}var or={$ref:{type:!1},allOf:{type:!1,definitions:[`allOf/*`]},anyOf:{type:!1,definitions:[`anyOf/*`]},array:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`,`items`,`items/*`,`additionalItems`],validationKeywords:[`minItems`,`maxItems`,`uniqueItems`],keywords:[`items`,`additionalItems`,`minItems`,`maxItems`,`uniqueItems`]},boolean:{type:!0},enum:{type:!1},integer:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`],validationKeywords:[`minimum`,`maximum`,`multipleOf`]},not:{type:!1,definitions:[`not`]},number:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`],validationKeywords:[`minimum`,`maximum`,`multipleOf`]},null:{type:!0},object:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`,`properties/*`,`additionalProperties`,`patternProperties/*`,`dependencies/*`],validationKeywords:[`minProperties`,`maxProperties`,`required`],keywords:[`properties`,`additionalProperties`,`patternProperties`,`dependencies`,`minProperties`,`maxProperties`,`required`]},oneOf:{type:!1,definitions:[`oneOf/*`]},string:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`],validationKeywords:[`minLength`,`maxLength`,`pattern`]}},sr=Object.keys(or).filter(e=>or[e].type===!1),cr=Object.prototype.hasOwnProperty;function lr(e){if(Gt(e)===!1)return;if(e.enum)return`enum`;let t=e.type;if(Array.isArray(t)||or[t])return t;let n=sr.filter(t=>e[t]);if(n.length===1)return n[0];if(n.length===0){for(let t=0,n=or.object.keywords.length;t{zn(e,n,(e,n,r,i)=>{Gt(e)&&lr(e)&&t.push({pointer:un.default.join(un.default.split(i),!1),def:e})})}),t}function dr(e,t){this.callback(e,t)!==!0&&ur(e).forEach(e=>this.nextTypeDefs(e.def,un.default.join(t,e.pointer,!1)))}function fr(e,t,n,r=`definitions`){let i=t[r];Object.keys(i).forEach(t=>{(i[t]===!1||Gt(i[t]))&&e.nextTypeDefs(i[t],un.default.join(n,r,t,!1))})}function pr(e,t,n=`#`){let r={callback:t,nextTypeDefs:dr};r.nextTypeDefs(e,n),e.definitions!=null&&(r.callback=(e,n)=>{t(e,n),e.definitions!=null&&fr(r,e,n)},fr(r,e,n)),e.$defs!=null&&(r.callback=(e,n)=>{t(e,n),e.definitions!=null&&fr(r,e,n)},fr(r,e,n,`$defs`))}var mr=/(#|\/)+$/,hr=/#$/,gr=/^[^:]+:\/\/[^/]+\//,_r=/\/[^/]*$/,vr=/#.*$/;function yr(e,t){return e==null&&t==null?`#`:t==null?e.replace(hr,``):e==null?t.replace(hr,``):t[0]===`#`?`${e.replace(vr,``)}${t.replace(mr,``)}`:gr.test(t)?t.replace(hr,``):`${e.replace(_r,``)}/${t.replace(hr,``)}`}var br=/(#|\/)+$/g,xr=[``,null,`#`];function Sr(e){if(xr.includes(e))return[];if(e=e.replace(br,``),e.indexOf(`#`)===-1||e.indexOf(`#`)===0)return[e.replace(br,``)];let t=e.split(`#`);return t[0]=t[0].replace(br,``),t[1]=`#${t[1].replace(br,``)}`,t}var Cr=/(#|\/)+$/g,wr=e=>T(e)===`object`;function Tr(e,t,n){if(wr(n)&&(n=n.__ref||n.$ref),n==null)return t;let r,i=n.replace(Cr,``);if(e.remotes[i])return r=e.remotes[i],r&&r.$ref?Tr(e,t,r.$ref):r;if(e.ids[n])return r=(0,un.get)(t,e.ids[n]),r&&r.$ref?Tr(e,t,r.$ref):r;let a=Sr(n);if(a.length===0)return t;if(a.length===1){if(n=a[0],e.remotes[n])return r=e.remotes[n],Tr(e,t,r.$ref);if(e.ids[n])return r=(0,un.get)(t,e.ids[n]),r&&r.$ref?Tr(e,t,r.$ref):r}if(a.length===2){let r=a[0];if(n=a[1],e.remotes[r])return e.remotes[r].getRef?e.remotes[r].getRef(n):Tr(e,e.remotes[r],n);if(e.ids[r])return Tr(e,(0,un.get)(t,e.ids[r]),n)}return r=(0,un.get)(t,e.ids[n]||n),r&&r.$ref?Tr(e,t,r.$ref):r}var Er=`__compiled`,Dr=`__ref`,Or=`getRef`,kr=`getRoot`,Ar=/(#|\/)+$/g;function jr(e,t,n=t,r=!1){if(!t||t[Er]!==void 0)return t;let i={ids:{},remotes:e.remotes},a=JSON.stringify(t),o=JSON.parse(a);if(Object.defineProperty(o,Er,{enumerable:!1,value:!0}),Object.defineProperty(o,Or,{enumerable:!1,value:Tr.bind(null,i,o)}),r===!1&&a.includes(`$ref`)===!1)return o;t!==n&&Object.defineProperty(o,"definitions",{enumerable:!1,value:Object.assign({},n.definitions,n.$defs,t.definitions,t.$defs)});let s={},c=()=>o;return pr(o,(e,t)=>{if(e.id){if(e.id.startsWith(`http`)&&/(allOf|anyOf|oneOf)\/\d+$/.test(t)){let n=t.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,``);e.id=(0,un.get)(o,n).id??e.id}i.ids[e.id.replace(Ar,``)]=t}t=`#${t}`.replace(/##+/,`#`);let n=t.replace(/\/[^/]+$/,``),r=t.replace(/\/[^/]+\/[^/]+$/,``),a=yr(s[n]||s[r],e.id);s[t]=a,i.ids[a]??(i.ids[a]=t),e.$ref&&!e[Dr]&&(Object.defineProperty(e,Dr,{enumerable:!1,value:yr(a,e.$ref)}),Object.defineProperty(e,kr,{enumerable:!1,value:c}))}),o}var Mr=jr;function Nr(e,t,n,r=e.rootSchema,i=`#`){r=e.resolveRef(r),n(r,t,i);let a=T(t);a===`object`?Object.keys(t).forEach(a=>{let o=e.step(a,r,t,i),s=t[a];e.each(s,n,o,`${i}/${a}`)}):a===`array`&&t.forEach((a,o)=>{let s=e.step(o,r,t,i);e.each(a,n,s,`${i}/${o}`)})}var Pr={additionalItemsError:O(`AdditionalItemsError`),additionalPropertiesError:O(`AdditionalPropertiesError`),anyOfError:O(`AnyOfError`),allOfError:O(`AllOfError`),constError:O(`ConstError`),containsError:O(`ContainsError`),containsArrayError:O(`ContainsArrayError`),containsAnyError:O(`ContainsAnyError`),enumError:O(`EnumError`),forbiddenPropertyError:O(`ForbiddenPropertyError`),formatURLError:O(`FormatURLError`),formatURIError:O(`FormatURIError`),formatURIReferenceError:O(`FormatURIReferenceError`),formatURITemplateError:O(`FormatURITemplateError`),formatDateError:O(`FormatDateError`),formatDateTimeError:O(`FormatDateTimeError`),formatEmailError:O(`FormatEmailError`),formatHostnameError:O(`FormatHostnameError`),formatIPV4Error:O(`FormatIPV4Error`),formatIPV4LeadingZeroError:O(`FormatIPV4LeadingZeroError`),formatIPV6Error:O(`FormatIPV6Error`),formatIPV6LeadingZeroError:O(`FormatIPV6LeadingZeroError`),formatJsonPointerError:O(`FormatJsonPointerError`),formatRegExError:O(`FormatRegExError`),formatTimeError:O(`FormatTimeError`),invalidSchemaError:O(`InvalidSchemaError`),invalidDataError:O(`InvalidDataError`),invalidTypeError:O(`InvalidTypeError`),invalidPropertyNameError:O(`InvalidPropertyNameError`),maximumError:O(`MaximumError`),maxItemsError:O(`MaxItemsError`),maxLengthError:O(`MaxLengthError`),maxPropertiesError:O(`MaxPropertiesError`),minimumError:O(`MinimumError`),minItemsError:O(`MinItemsError`),minItemsOneError:O(`MinItemsOneError`),minLengthError:O(`MinLengthError`),minLengthOneError:O(`MinLengthOneError`),minPropertiesError:O(`MinPropertiesError`),missingDependencyError:O(`MissingDependencyError`),missingOneOfPropertyError:O(`MissingOneOfPropertyError`),multipleOfError:O(`MultipleOfError`),multipleOneOfError:O(`MultipleOneOfError`),noAdditionalPropertiesError:O(`NoAdditionalPropertiesError`),notError:O(`NotError`),oneOfError:O(`OneOfError`),oneOfPropertyError:O(`OneOfPropertyError`),patternError:O(`PatternError`),patternPropertiesError:O(`PatternPropertiesError`),requiredPropertyError:O(`RequiredPropertyError`),schemaWarning:O(`SchemaWarning`),typeError:O(`TypeError`),undefinedValueError:O(`UndefinedValueError`),uniqueItemsError:O(`UniqueItemsError`),unknownPropertyError:O(`UnknownPropertyError`),valueNotEmptyError:O(`ValueNotEmptyError`)},Fr=n(((e,t)=>{(function(e){e.exports.is_uri=n,e.exports.is_http_uri=r,e.exports.is_https_uri=i,e.exports.is_web_uri=a,e.exports.isUri=n,e.exports.isHttpUri=r,e.exports.isHttpsUri=i,e.exports.isWebUri=a;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function n(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var n=[],r=``,i=``,a=``,o=``,s=``,c=``;if(n=t(e),r=n[1],i=n[2],a=n[3],o=n[4],s=n[5],r&&r.length&&a.length>=0){if(i&&i.length){if(!(a.length===0||/^\//.test(a)))return}else if(/^\/\//.test(a))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(r.toLowerCase()))return c+=r+`:`,i&&i.length&&(c+=`//`+i),c+=a,o&&o.length&&(c+=`?`+o),s&&s.length&&(c+=`#`+s),c}}}function r(e,r){if(n(e)){var i=[],a=``,o=``,s=``,c=``,l=``,u=``,d=``;if(i=t(e),a=i[1],o=i[2],s=i[3],l=i[4],u=i[5],a){if(r){if(a.toLowerCase()!=`https`)return}else if(a.toLowerCase()!=`http`)return;if(o)return/:(\d+)$/.test(o)&&(c=o.match(/:(\d+)$/)[0],o=o.replace(/:\d+$/,``)),d+=a+`:`,d+=`//`+o,c&&(d+=c),d+=s,l&&l.length&&(d+=`?`+l),u&&u.length&&(d+=`#`+u),d}}}function i(e){return r(e,!0)}function a(e){return r(e)||i(e)}})(t)})),Ir=n(((e,t)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n():e.nearley=n()})(e,function(){function e(t,n,r){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=r,this}e.highestId=0,e.prototype.toString=function(e){var t=e===void 0?this.symbols.map(s).join(` `):this.symbols.slice(0,e).map(s).join(` `)+` ● `+this.symbols.slice(e).map(s).join(` `);return this.name+` → `+t};function t(e,t,n,r){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=r,this.isComplete=this.dot===e.symbols.length}t.prototype.toString=function(){return`{`+this.rule.toString(this.dot)+`}, from: `+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,a.fail))};function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}n.prototype.process=function(e){for(var t=this.states,n=this.wants,r=this.completed,i=0;imn.getAST(e),gn=(e,t)=>`${e}/${t}`,_n=Object.prototype.toString,vn=/Object|Array/,yn=e=>vn.test(_n.call(e)),bn=e=>_n.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase();function xn(e){return new RegExp(e.text.replace(/(^{|}$)/g,``))}function Sn(e,t){Array.isArray(e)?e.forEach(t):Object.prototype.toString.call(e)===`[object Object]`&&Object.keys(e).forEach(function(n){t(e[n],n,e)})}function Cn(e){return Array.isArray(e)?e.map(function(e,t){return`${t}`}):Object.prototype.toString.call(e)===`[object Object]`?Object.keys(e):[]}var wn={mem:[],get(e,t){let n=e[0][t];if(!wn.mem.includes(n))return yn(n)&&wn.mem.push(n),[n,t,e[0],gn(e[3],t)]},reset(){wn.mem.length=0}},Tn={any(e,t){let n=t[0];return Cn(n).map(e=>[n[e],e,n,gn(t[3],e)])},all(e,t){let n=[t];return Sn(t[0],(r,i)=>{let a=wn.get(t,i);a&&n.push(...Tn.all(e,a))}),n},regex(e,t){let n=xn(e),r=t[0];return Cn(r).filter(e=>n.test(e)).map(e=>[r[e],e,r,gn(t[3],e)])}},En={escaped:(e,t)=>En.property(e,t),property:(e,t)=>{let n=e.text;if(t[0]&&t[0][n]!==void 0)return[t[0][n],n,t[0],gn(t[3],n)]},typecheck:(e,t)=>{let n=e.text.replace(/^\?:/,``);if(n===`value`)return yn(t[0])?void 0:t;if(bn(t[0])===n)return t},lookahead:(e,t)=>{let n=!0,r=!1;return e.children.forEach(e=>{if(e.type===`expression`){let i=En.expression(e,t)!==void 0;n=r===!0?n||i:n&&i}else r=e.type===`orExpr`}),n?t:void 0},expression:(e,t)=>{let n=e.children[0].text,r=e.children[1],i=e.children[2],a=t[0];if(yn(a)!==!1)return Dn(a[n],r,i)?t:void 0}};function Dn(e,t,n){if(t===void 0)return e!==void 0;let r,i=`${e}`;return r=n.type===`regex`?xn(n).test(i):i===n.text,t.type===`isnot`&&(r=r===!1&&e!==void 0),r}function On(e,t,n,r){let i=[];for(let a=0,o=t.length;a{if(Tn[e.type])r=On(Tn[e.type],r,e,n);else if(En[e.type])r=kn(En[e.type],r,e,n);else throw Error(`Unknown filter ${e.type}`)}),r}function jn(e,t,n){let r=[],i=e;return t.children.forEach(t=>{t.type===`orPattern`?(r.push(...i),i=e):i=Fn(i,t,n)}),r.push(...i),r}function Mn(e){if(e==null)return 1;if(e===`*`||e===`+`)return 1/0;let t=parseInt(e);return isNaN(t)?1:t}function Nn(e,t,n){let r=[],i=t.children.find(e=>e.type===`quantifier`),a=Mn(i&&i.text),o=e;i&&i.text===`*`&&r.push(...o);let s=0;for(;o.length>0&&sr=Fn(r,e,n)),r}function Fn(e,t,n){let r;return r=t.type===`query`?An(e,t,n):t.type===`pattern`?Nn(e,t,n):Pn(e,t,n),wn.reset(),wn.mem.push(e),r}function In(e,t){return wn.reset(),wn.mem.push(e),Fn([[e,null,null,`#`]],t)}var Ln={value:e=>e.map(e=>e[0]),pointer:e=>e.map(e=>e[3]),all:e=>e,map:e=>{let t={};return e.forEach(e=>t[e[3]]=e[0]),t}},Rn;(function(e){e.POINTER=`pointer`,e.VALUE=`value`,e.ALL=`all`,e.MAP=`map`})(Rn||={}),zn.POINTER=Rn.POINTER,zn.VALUE=Rn.VALUE,zn.ALL=Rn.ALL,zn.MAP=Rn.MAP;function zn(e,t,n=Rn.VALUE){if(t==null)return[];t=t.replace(/(\/$)/g,``),t===``&&(t=`#`);let r=hn(t);if(r==null)throw Error(`empty ast for '${t}'`);if(r.rest!==``)throw Error(`Failed parsing queryString from: '${r.rest}'`);let i=In(e,r);return typeof n==`function`?i.map(e=>n(...e)):Ln[n]?Ln[n](i):i}var Bn=[`root`,`recursion`];function Vn(e,t=[]){return Bn.includes(e.type)?(e.children.forEach(e=>Vn(e,t)),t):(t.push(e.text),t)}function Hn(e){return e==null||e===``?[]:Vn(hn(e))}var Un=e=>JSON.parse(JSON.stringify(e)),Wn=Object.prototype.toString,Gn=e=>Wn.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase(),Kn=RegExp(`^("[^"]+"|${fn})$`),qn=[`string`,`number`,`boolean`,`null`],Jn=/^\[\d*\]$/,Yn=/^\[(\d+)\]$/,Xn=/^".+"$/,Zn=/(^\[\d*\]$|^\d+$)/;function Qn(e){return parseInt(e.replace(/^(\[|\]$)/,``))}function $n(e){return Xn.test(e)?e.replace(/(^"|"$)/g,``):e}function er(e,t,n){e.length<=t?e[t]=n:e.splice(t,0,n)}function tr(e,t){let n=[];return e.forEach(e=>n.push(...zn(e[0],t,Rn.ALL))),n}function nr(e,t,n,r){let i=e[0];if(/^\[\]$/.test(t)){i.push(n);let t=i.length-1;return[i[t],t,i,`${e[3]}/${t}}`]}if(r==null&&Gn(i[t])===`object`&&Gn(n)===`object`)return Object.assign(i[t],n),[i[t],t,i,`${e[3]}/${t}}`];if(r===ar.INSERT_ITEMS||r==null&&Yn.test(t)){let r=Qn(t);return er(i,r,n),[i[r],r,i,`${e[3]}/${r}}`]}if(r===ar.REPLACE_ITEMS||r==null){let r=Qn(t);return i[r]=n,[i[r],r,i,`${e[3]}/${r}}`]}throw Error(`Unknown array index '${t}' with force-option '${r}'`)}function rr(e,t,n,r){return t=$n(t),e.filter(e=>Array.isArray(e[0])&&Zn.test(t)?!0:qn.includes(Gn(e[0][t]))===!1).map(e=>{let i=n?[]:{},a=e[0],o=Gn(i),s=Gn(a[t]);return Array.isArray(a)&&s!==o?nr(e,t,i,r):(a[t]=a[t]||i,[a[t],t,a,`${e[3]}/${t}`])})}var ir;(function(e){e.REPLACE_ITEMS=`replace`,e.INSERT_ITEMS=`insert`})(ir||={}),ar.REPLACE_ITEMS=ir.REPLACE_ITEMS,ar.INSERT_ITEMS=ir.INSERT_ITEMS;function ar(e,t,n,r){if(t==null)return Un(e);if(t=t.replace(/(\/$)/g,``),t===``)return Un(n);let i=Un(e),a=[[i,null,null,`#`]],o=Hn(t),s=o.pop(),c=Jn.test(s)&&Yn.test(s)===!1;if(Kn.test(s)===!1||c)throw Error(`Unsupported query '${t}' ending with non-property`);return o.forEach((e,t)=>{if(e===`__proto__`||e===`prototyped`||e===`constructor`)return;if(Kn.test(e)===!1){a=tr(a,e);return}let n=t>=o.length-1?s:o[t+1],i=Zn.test(n);a=rr(a,e,i,r)}),a.forEach(e=>{let t=n;Gn(n)===`function`&&(t=n(e[3],s,e[0],`${e[3]}/${s}`));let i=e[0];if(Array.isArray(i))nr(e,s,t,r);else{let e=$n(s);if(e===`__proto__`||e===`prototyped`||e===`constructor`)return;i[e]=t}}),i}var or={$ref:{type:!1},allOf:{type:!1,definitions:[`allOf/*`]},anyOf:{type:!1,definitions:[`anyOf/*`]},array:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`,`items`,`items/*`,`additionalItems`],validationKeywords:[`minItems`,`maxItems`,`uniqueItems`],keywords:[`items`,`additionalItems`,`minItems`,`maxItems`,`uniqueItems`]},boolean:{type:!0},enum:{type:!1},integer:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`],validationKeywords:[`minimum`,`maximum`,`multipleOf`]},not:{type:!1,definitions:[`not`]},number:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`],validationKeywords:[`minimum`,`maximum`,`multipleOf`]},null:{type:!0},object:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`,`properties/*`,`additionalProperties`,`patternProperties/*`,`dependencies/*`],validationKeywords:[`minProperties`,`maxProperties`,`required`],keywords:[`properties`,`additionalProperties`,`patternProperties`,`dependencies`,`minProperties`,`maxProperties`,`required`]},oneOf:{type:!1,definitions:[`oneOf/*`]},string:{type:!0,definitions:[`allOf/*`,`anyOf/*`,`oneOf/*`,`not`],validationKeywords:[`minLength`,`maxLength`,`pattern`]}},sr=Object.keys(or).filter(e=>or[e].type===!1),cr=Object.prototype.hasOwnProperty;function lr(e){if(Gt(e)===!1)return;if(e.enum)return`enum`;let t=e.type;if(Array.isArray(t)||or[t])return t;let n=sr.filter(t=>e[t]);if(n.length===1)return n[0];if(n.length===0){for(let t=0,n=or.object.keywords.length;t{zn(e,n,(e,n,r,i)=>{Gt(e)&&lr(e)&&t.push({pointer:un.default.join(un.default.split(i),!1),def:e})})}),t}function dr(e,t){this.callback(e,t)!==!0&&ur(e).forEach(e=>this.nextTypeDefs(e.def,un.default.join(t,e.pointer,!1)))}function fr(e,t,n,r=`definitions`){let i=t[r];Object.keys(i).forEach(t=>{(i[t]===!1||Gt(i[t]))&&e.nextTypeDefs(i[t],un.default.join(n,r,t,!1))})}function pr(e,t,n=`#`){let r={callback:t,nextTypeDefs:dr};r.nextTypeDefs(e,n),e.definitions!=null&&(r.callback=(e,n)=>{t(e,n),e.definitions!=null&&fr(r,e,n)},fr(r,e,n)),e.$defs!=null&&(r.callback=(e,n)=>{t(e,n),e.definitions!=null&&fr(r,e,n)},fr(r,e,n,`$defs`))}var mr=/(#|\/)+$/,hr=/#$/,gr=/^[^:]+:\/\/[^/]+\//,_r=/\/[^/]*$/,vr=/#.*$/;function yr(e,t){return e==null&&t==null?`#`:t==null?e.replace(hr,``):e==null?t.replace(hr,``):t[0]===`#`?`${e.replace(vr,``)}${t.replace(mr,``)}`:gr.test(t)?t.replace(hr,``):`${e.replace(_r,``)}/${t.replace(hr,``)}`}var br=/(#|\/)+$/g,xr=[``,null,`#`];function Sr(e){if(xr.includes(e))return[];if(e=e.replace(br,``),e.indexOf(`#`)===-1||e.indexOf(`#`)===0)return[e.replace(br,``)];let t=e.split(`#`);return t[0]=t[0].replace(br,``),t[1]=`#${t[1].replace(br,``)}`,t}var Cr=/(#|\/)+$/g,wr=e=>T(e)===`object`;function Tr(e,t,n){if(wr(n)&&(n=n.__ref||n.$ref),n==null)return t;let r,i=n.replace(Cr,``);if(e.remotes[i])return r=e.remotes[i],r&&r.$ref?Tr(e,t,r.$ref):r;if(e.ids[n])return r=(0,un.get)(t,e.ids[n]),r&&r.$ref?Tr(e,t,r.$ref):r;let a=Sr(n);if(a.length===0)return t;if(a.length===1){if(n=a[0],e.remotes[n])return r=e.remotes[n],Tr(e,t,r.$ref);if(e.ids[n])return r=(0,un.get)(t,e.ids[n]),r&&r.$ref?Tr(e,t,r.$ref):r}if(a.length===2){let r=a[0];if(n=a[1],e.remotes[r])return e.remotes[r].getRef?e.remotes[r].getRef(n):Tr(e,e.remotes[r],n);if(e.ids[r])return Tr(e,(0,un.get)(t,e.ids[r]),n)}return r=(0,un.get)(t,e.ids[n]||n),r&&r.$ref?Tr(e,t,r.$ref):r}var Er=`__compiled`,Dr=`__ref`,Or=`getRef`,kr=`getRoot`,Ar=/(#|\/)+$/g;function jr(e,t,n=t,r=!1){if(!t||t[Er]!==void 0)return t;let i={ids:{},remotes:e.remotes},a=JSON.stringify(t),o=JSON.parse(a);if(Object.defineProperty(o,Er,{enumerable:!1,value:!0}),Object.defineProperty(o,Or,{enumerable:!1,value:Tr.bind(null,i,o)}),r===!1&&a.includes(`$ref`)===!1)return o;t!==n&&Object.defineProperty(o,"definitions",{enumerable:!1,value:Object.assign({},n.definitions,n.$defs,t.definitions,t.$defs)});let s={},c=()=>o;return pr(o,(e,t)=>{if(e.id){if(e.id.startsWith(`http`)&&/(allOf|anyOf|oneOf)\/\d+$/.test(t)){let n=t.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,``);e.id=(0,un.get)(o,n).id??e.id}i.ids[e.id.replace(Ar,``)]=t}t=`#${t}`.replace(/##+/,`#`);let n=t.replace(/\/[^/]+$/,``),r=t.replace(/\/[^/]+\/[^/]+$/,``),a=yr(s[n]||s[r],e.id);s[t]=a,i.ids[a]??(i.ids[a]=t),e.$ref&&!e[Dr]&&(Object.defineProperty(e,Dr,{enumerable:!1,value:yr(a,e.$ref)}),Object.defineProperty(e,kr,{enumerable:!1,value:c}))}),o}var Mr=jr;function Nr(e,t,n,r=e.rootSchema,i=`#`){r=e.resolveRef(r),n(r,t,i);let a=T(t);a===`object`?Object.keys(t).forEach(a=>{let o=e.step(a,r,t,i),s=t[a];e.each(s,n,o,`${i}/${a}`)}):a===`array`&&t.forEach((a,o)=>{let s=e.step(o,r,t,i);e.each(a,n,s,`${i}/${o}`)})}var Pr={additionalItemsError:O(`AdditionalItemsError`),additionalPropertiesError:O(`AdditionalPropertiesError`),anyOfError:O(`AnyOfError`),allOfError:O(`AllOfError`),constError:O(`ConstError`),containsError:O(`ContainsError`),containsArrayError:O(`ContainsArrayError`),containsAnyError:O(`ContainsAnyError`),enumError:O(`EnumError`),forbiddenPropertyError:O(`ForbiddenPropertyError`),formatURLError:O(`FormatURLError`),formatURIError:O(`FormatURIError`),formatURIReferenceError:O(`FormatURIReferenceError`),formatURITemplateError:O(`FormatURITemplateError`),formatDateError:O(`FormatDateError`),formatDateTimeError:O(`FormatDateTimeError`),formatEmailError:O(`FormatEmailError`),formatHostnameError:O(`FormatHostnameError`),formatIPV4Error:O(`FormatIPV4Error`),formatIPV4LeadingZeroError:O(`FormatIPV4LeadingZeroError`),formatIPV6Error:O(`FormatIPV6Error`),formatIPV6LeadingZeroError:O(`FormatIPV6LeadingZeroError`),formatJsonPointerError:O(`FormatJsonPointerError`),formatRegExError:O(`FormatRegExError`),formatTimeError:O(`FormatTimeError`),invalidSchemaError:O(`InvalidSchemaError`),invalidDataError:O(`InvalidDataError`),invalidTypeError:O(`InvalidTypeError`),invalidPropertyNameError:O(`InvalidPropertyNameError`),maximumError:O(`MaximumError`),maxItemsError:O(`MaxItemsError`),maxLengthError:O(`MaxLengthError`),maxPropertiesError:O(`MaxPropertiesError`),minimumError:O(`MinimumError`),minItemsError:O(`MinItemsError`),minItemsOneError:O(`MinItemsOneError`),minLengthError:O(`MinLengthError`),minLengthOneError:O(`MinLengthOneError`),minPropertiesError:O(`MinPropertiesError`),missingDependencyError:O(`MissingDependencyError`),missingOneOfPropertyError:O(`MissingOneOfPropertyError`),multipleOfError:O(`MultipleOfError`),multipleOneOfError:O(`MultipleOneOfError`),noAdditionalPropertiesError:O(`NoAdditionalPropertiesError`),notError:O(`NotError`),oneOfError:O(`OneOfError`),oneOfPropertyError:O(`OneOfPropertyError`),patternError:O(`PatternError`),patternPropertiesError:O(`PatternPropertiesError`),requiredPropertyError:O(`RequiredPropertyError`),schemaWarning:O(`SchemaWarning`),typeError:O(`TypeError`),undefinedValueError:O(`UndefinedValueError`),uniqueItemsError:O(`UniqueItemsError`),unknownPropertyError:O(`UnknownPropertyError`),valueNotEmptyError:O(`ValueNotEmptyError`)},Fr=n(((e,t)=>{(function(e){e.exports.is_uri=n,e.exports.is_http_uri=r,e.exports.is_https_uri=i,e.exports.is_web_uri=a,e.exports.isUri=n,e.exports.isHttpUri=r,e.exports.isHttpsUri=i,e.exports.isWebUri=a;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function n(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var n=[],r=``,i=``,a=``,o=``,s=``,c=``;if(n=t(e),r=n[1],i=n[2],a=n[3],o=n[4],s=n[5],r&&r.length&&a.length>=0){if(i&&i.length){if(!(a.length===0||/^\//.test(a)))return}else if(/^\/\//.test(a))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(r.toLowerCase()))return c+=r+`:`,i&&i.length&&(c+=`//`+i),c+=a,o&&o.length&&(c+=`?`+o),s&&s.length&&(c+=`#`+s),c}}}function r(e,r){if(n(e)){var i=[],a=``,o=``,s=``,c=``,l=``,u=``,d=``;if(i=t(e),a=i[1],o=i[2],s=i[3],l=i[4],u=i[5],a){if(r){if(a.toLowerCase()!=`https`)return}else if(a.toLowerCase()!=`http`)return;if(o)return/:(\d+)$/.test(o)&&(c=o.match(/:(\d+)$/)[0],o=o.replace(/:\d+$/,``)),d+=a+`:`,d+=`//`+o,c&&(d+=c),d+=s,l&&l.length&&(d+=`?`+l),u&&u.length&&(d+=`#`+u),d}}}function i(e){return r(e,!0)}function a(e){return r(e)||i(e)}})(t)})),Ir=n(((e,t,n)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n():e.nearley=n()})(n,function(){function e(t,n,r){return this.id=++e.highestId,this.name=t,this.symbols=n,this.postprocess=r,this}e.highestId=0,e.prototype.toString=function(e){var t=e===void 0?this.symbols.map(s).join(` `):this.symbols.slice(0,e).map(s).join(` `)+` ● `+this.symbols.slice(e).map(s).join(` `);return this.name+` → `+t};function t(e,t,n,r){this.rule=e,this.dot=t,this.reference=n,this.data=[],this.wantedBy=r,this.isComplete=this.dot===e.symbols.length}t.prototype.toString=function(){return`{`+this.rule.toString(this.dot)+`}, from: `+(this.reference||0)},t.prototype.nextState=function(e){var n=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return n.left=this,n.right=e,n.isComplete&&(n.data=n.build(),n.right=void 0),n},t.prototype.build=function(){var e=[],t=this;do e.push(t.right.data),t=t.left;while(t.left);return e.reverse(),e},t.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,a.fail))};function n(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}n.prototype.process=function(e){for(var t=this.states,n=this.wants,r=this.completed,i=0;i0&&t.push(` ^ `+r+` more lines identical to this`),r=0,t.push(` `+o)),n=o}},a.prototype.getSymbolDisplay=function(e){return o(e)},a.prototype.buildFirstStateStack=function(e,t){if(t.indexOf(e)!==-1)return null;if(e.wantedBy.length===0)return[e];var n=e.wantedBy[0],r=[e].concat(t),i=this.buildFirstStateStack(n,r);return i===null?null:[e].concat(i)},a.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},a.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},a.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},a.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&n.reference===0&&n.data!==a.fail&&e.push(n)}),e.map(function(e){return e.data})};function o(e){var t=typeof e;if(t===`string`)return e;if(t===`object`){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return`character matching `+e;if(e.type)return e.type+` token`;if(e.test)return`token matching `+String(e.test);throw Error(`Unknown symbol type: `+e)}}function s(e){var t=typeof e;if(t===`string`)return e;if(t===`object`){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return`%`+e.type;if(e.test)return`<`+String(e.test)+`>`;throw Error(`Unknown symbol type: `+e)}}return{Parser:a,Grammar:r,Rule:e}})})),Lr=n((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){return e[0]}var n=e=>[].concat(...e.map(e=>Array.isArray(e)?n(e):e));function r(e){return e?Array.isArray(e)?n(e).join(``):e:``}e.default={Lexer:void 0,ParserRules:[{name:`Reverse_path`,symbols:[`Path`]},{name:`Reverse_path$string$1`,symbols:[{literal:`<`},{literal:`>`}],postprocess:e=>e.join(``)},{name:`Reverse_path`,symbols:[`Reverse_path$string$1`]},{name:`Forward_path$subexpression$1$subexpression$1`,symbols:[{literal:`<`},/[pP]/,/[oO]/,/[sS]/,/[tT]/,/[mM]/,/[aA]/,/[sS]/,/[tT]/,/[eE]/,/[rR]/,{literal:`@`}],postprocess:function(e){return e.join(``)}},{name:`Forward_path$subexpression$1`,symbols:[`Forward_path$subexpression$1$subexpression$1`,`Domain`,{literal:`>`}]},{name:`Forward_path`,symbols:[`Forward_path$subexpression$1`]},{name:`Forward_path$subexpression$2`,symbols:[{literal:`<`},/[pP]/,/[oO]/,/[sS]/,/[tT]/,/[mM]/,/[aA]/,/[sS]/,/[tT]/,/[eE]/,/[rR]/,{literal:`>`}],postprocess:function(e){return e.join(``)}},{name:`Forward_path`,symbols:[`Forward_path$subexpression$2`]},{name:`Forward_path`,symbols:[`Path`]},{name:`Path$ebnf$1$subexpression$1`,symbols:[`A_d_l`,{literal:`:`}]},{name:`Path$ebnf$1`,symbols:[`Path$ebnf$1$subexpression$1`],postprocess:t},{name:`Path$ebnf$1`,symbols:[],postprocess:()=>null},{name:`Path`,symbols:[{literal:`<`},`Path$ebnf$1`,`Mailbox`,{literal:`>`}]},{name:`A_d_l$ebnf$1`,symbols:[]},{name:`A_d_l$ebnf$1$subexpression$1`,symbols:[{literal:`,`},`At_domain`]},{name:`A_d_l$ebnf$1`,symbols:[`A_d_l$ebnf$1`,`A_d_l$ebnf$1$subexpression$1`],postprocess:e=>e[0].concat([e[1]])},{name:`A_d_l`,symbols:[`At_domain`,`A_d_l$ebnf$1`]},{name:`At_domain`,symbols:[{literal:`@`},`Domain`]},{name:`Domain$ebnf$1`,symbols:[]},{name:`Domain$ebnf$1$subexpression$1`,symbols:[{literal:`.`},`sub_domain`]},{name:`Domain$ebnf$1`,symbols:[`Domain$ebnf$1`,`Domain$ebnf$1$subexpression$1`],postprocess:e=>e[0].concat([e[1]])},{name:`Domain`,symbols:[`sub_domain`,`Domain$ebnf$1`]},{name:`sub_domain`,symbols:[`U_label`]},{name:`Let_dig`,symbols:[`ALPHA_DIGIT`],postprocess:t},{name:`Ldh_str$ebnf$1`,symbols:[]},{name:`Ldh_str$ebnf$1`,symbols:[`Ldh_str$ebnf$1`,`ALPHA_DIG_DASH`],postprocess:e=>e[0].concat([e[1]])},{name:`Ldh_str`,symbols:[`Ldh_str$ebnf$1`,`Let_dig`]},{name:`U_Let_dig`,symbols:[`ALPHA_DIGIT_U`],postprocess:t},{name:`U_Ldh_str$ebnf$1`,symbols:[]},{name:`U_Ldh_str$ebnf$1`,symbols:[`U_Ldh_str$ebnf$1`,`ALPHA_DIG_DASH_U`],postprocess:e=>e[0].concat([e[1]])},{name:`U_Ldh_str`,symbols:[`U_Ldh_str$ebnf$1`,`U_Let_dig`]},{name:`U_label$ebnf$1$subexpression$1`,symbols:[`U_Ldh_str`]},{name:`U_label$ebnf$1`,symbols:[`U_label$ebnf$1$subexpression$1`],postprocess:t},{name:`U_label$ebnf$1`,symbols:[],postprocess:()=>null},{name:`U_label`,symbols:[`U_Let_dig`,`U_label$ebnf$1`]},{name:`address_literal$subexpression$1`,symbols:[`IPv4_address_literal`]},{name:`address_literal$subexpression$1`,symbols:[`IPv6_address_literal`]},{name:`address_literal$subexpression$1`,symbols:[`General_address_literal`]},{name:`address_literal`,symbols:[{literal:`[`},`address_literal$subexpression$1`,{literal:`]`}]},{name:`non_local_part`,symbols:[`Domain`],postprocess:function(e){return{DomainName:r(e[0])}}},{name:`non_local_part`,symbols:[`address_literal`],postprocess:function(e){return{AddressLiteral:r(e[0])}}},{name:`Mailbox`,symbols:[`Local_part`,{literal:`@`},`non_local_part`],postprocess:function(e){return{localPart:r(e[0]),domainPart:r(e[2])}}},{name:`Local_part`,symbols:[`Dot_string`],postprocess:function(e){return{DotString:r(e[0])}}},{name:`Local_part`,symbols:[`Quoted_string`],postprocess:function(e){return{QuotedString:r(e[0])}}},{name:`Dot_string$ebnf$1`,symbols:[]},{name:`Dot_string$ebnf$1$subexpression$1`,symbols:[{literal:`.`},`Atom`]},{name:`Dot_string$ebnf$1`,symbols:[`Dot_string$ebnf$1`,`Dot_string$ebnf$1$subexpression$1`],postprocess:e=>e[0].concat([e[1]])},{name:`Dot_string`,symbols:[`Atom`,`Dot_string$ebnf$1`]},{name:`Atom$ebnf$1`,symbols:[/[0-9A-Za-z!#$%&'*+\-/=?^_`{|}~\u0080-\uFFFF/]/]},{name:`Atom$ebnf$1`,symbols:[`Atom$ebnf$1`,/[0-9A-Za-z!#$%&'*+\-/=?^_`{|}~\u0080-\uFFFF/]/],postprocess:e=>e[0].concat([e[1]])},{name:`Atom`,symbols:[`Atom$ebnf$1`]},{name:`Quoted_string$ebnf$1`,symbols:[]},{name:`Quoted_string$ebnf$1`,symbols:[`Quoted_string$ebnf$1`,`QcontentSMTP`],postprocess:e=>e[0].concat([e[1]])},{name:`Quoted_string`,symbols:[`DQUOTE`,`Quoted_string$ebnf$1`,`DQUOTE`]},{name:`QcontentSMTP`,symbols:[`qtextSMTP`]},{name:`QcontentSMTP`,symbols:[`quoted_pairSMTP`]},{name:`quoted_pairSMTP`,symbols:[{literal:`\\`},/[\x20-\x7e]/]},{name:`qtextSMTP`,symbols:[/[\x20-\x21\x23-\x5b\x5d-\x7e\u0080-\uFFFF]/],postprocess:t},{name:`IPv4_address_literal$macrocall$2`,symbols:[{literal:`.`},`Snum`]},{name:`IPv4_address_literal$macrocall$1`,symbols:[`IPv4_address_literal$macrocall$2`,`IPv4_address_literal$macrocall$2`,`IPv4_address_literal$macrocall$2`]},{name:`IPv4_address_literal`,symbols:[`Snum`,`IPv4_address_literal$macrocall$1`]},{name:`IPv6_address_literal$subexpression$1`,symbols:[/[iI]/,/[pP]/,/[vV]/,{literal:`6`},{literal:`:`}],postprocess:function(e){return e.join(``)}},{name:`IPv6_address_literal`,symbols:[`IPv6_address_literal$subexpression$1`,`IPv6_addr`]},{name:`General_address_literal$ebnf$1`,symbols:[`dcontent`]},{name:`General_address_literal$ebnf$1`,symbols:[`General_address_literal$ebnf$1`,`dcontent`],postprocess:e=>e[0].concat([e[1]])},{name:`General_address_literal`,symbols:[`Standardized_tag`,{literal:`:`},`General_address_literal$ebnf$1`]},{name:`Standardized_tag`,symbols:[`Ldh_str`]},{name:`dcontent`,symbols:[/[\x21-\x5a\x5e-\x7e]/],postprocess:t},{name:`Snum`,symbols:[`DIGIT`]},{name:`Snum$subexpression$1`,symbols:[/[1-9]/,`DIGIT`]},{name:`Snum`,symbols:[`Snum$subexpression$1`]},{name:`Snum$subexpression$2`,symbols:[{literal:`1`},`DIGIT`,`DIGIT`]},{name:`Snum`,symbols:[`Snum$subexpression$2`]},{name:`Snum$subexpression$3`,symbols:[{literal:`2`},/[0-4]/,`DIGIT`]},{name:`Snum`,symbols:[`Snum$subexpression$3`]},{name:`Snum$subexpression$4`,symbols:[{literal:`2`},{literal:`5`},/[0-5]/]},{name:`Snum`,symbols:[`Snum$subexpression$4`]},{name:`IPv6_addr`,symbols:[`IPv6_full`]},{name:`IPv6_addr`,symbols:[`IPv6_comp`]},{name:`IPv6_addr`,symbols:[`IPv6v4_full`]},{name:`IPv6_addr`,symbols:[`IPv6v4_comp`]},{name:`IPv6_hex`,symbols:[`HEXDIG`]},{name:`IPv6_hex$subexpression$1`,symbols:[`HEXDIG`,`HEXDIG`]},{name:`IPv6_hex`,symbols:[`IPv6_hex$subexpression$1`]},{name:`IPv6_hex$subexpression$2`,symbols:[`HEXDIG`,`HEXDIG`,`HEXDIG`]},{name:`IPv6_hex`,symbols:[`IPv6_hex$subexpression$2`]},{name:`IPv6_hex$subexpression$3`,symbols:[`HEXDIG`,`HEXDIG`,`HEXDIG`,`HEXDIG`]},{name:`IPv6_hex`,symbols:[`IPv6_hex$subexpression$3`]},{name:`IPv6_full$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6_full$macrocall$1`,symbols:[`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`]},{name:`IPv6_full`,symbols:[`IPv6_hex`,`IPv6_full$macrocall$1`]},{name:`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6_comp$ebnf$1$subexpression$1$macrocall$1`,symbols:[`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`]},{name:`IPv6_comp$ebnf$1$subexpression$1`,symbols:[`IPv6_hex`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$1`]},{name:`IPv6_comp$ebnf$1`,symbols:[`IPv6_comp$ebnf$1$subexpression$1`],postprocess:t},{name:`IPv6_comp$ebnf$1`,symbols:[],postprocess:()=>null},{name:`IPv6_comp$string$1`,symbols:[{literal:`:`},{literal:`:`}],postprocess:e=>e.join(``)},{name:`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6_comp$ebnf$2$subexpression$1$macrocall$1`,symbols:[`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`]},{name:`IPv6_comp$ebnf$2$subexpression$1`,symbols:[`IPv6_hex`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$1`]},{name:`IPv6_comp$ebnf$2`,symbols:[`IPv6_comp$ebnf$2$subexpression$1`],postprocess:t},{name:`IPv6_comp$ebnf$2`,symbols:[],postprocess:()=>null},{name:`IPv6_comp`,symbols:[`IPv6_comp$ebnf$1`,`IPv6_comp$string$1`,`IPv6_comp$ebnf$2`]},{name:`IPv6v4_full$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6v4_full$macrocall$1`,symbols:[`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`]},{name:`IPv6v4_full`,symbols:[`IPv6_hex`,`IPv6v4_full$macrocall$1`,{literal:`:`},`IPv4_address_literal`]},{name:`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$1`,symbols:[`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`]},{name:`IPv6v4_comp$ebnf$1$subexpression$1`,symbols:[`IPv6_hex`,`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$1`]},{name:`IPv6v4_comp$ebnf$1`,symbols:[`IPv6v4_comp$ebnf$1$subexpression$1`],postprocess:t},{name:`IPv6v4_comp$ebnf$1`,symbols:[],postprocess:()=>null},{name:`IPv6v4_comp$string$1`,symbols:[{literal:`:`},{literal:`:`}],postprocess:e=>e.join(``)},{name:`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$1`,symbols:[`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`]},{name:`IPv6v4_comp$ebnf$2$subexpression$1`,symbols:[`IPv6_hex`,`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$1`,{literal:`:`}]},{name:`IPv6v4_comp$ebnf$2`,symbols:[`IPv6v4_comp$ebnf$2$subexpression$1`],postprocess:t},{name:`IPv6v4_comp$ebnf$2`,symbols:[],postprocess:()=>null},{name:`IPv6v4_comp`,symbols:[`IPv6v4_comp$ebnf$1`,`IPv6v4_comp$string$1`,`IPv6v4_comp$ebnf$2`,`IPv4_address_literal`]},{name:`DIGIT`,symbols:[/[0-9]/],postprocess:t},{name:`ALPHA_DIGIT_U`,symbols:[/[0-9A-Za-z\u0080-\uFFFF]/],postprocess:t},{name:`ALPHA_DIGIT`,symbols:[/[0-9A-Za-z]/],postprocess:t},{name:`ALPHA_DIG_DASH`,symbols:[/[-0-9A-Za-z]/],postprocess:t},{name:`ALPHA_DIG_DASH_U`,symbols:[/[-0-9A-Za-z\u0080-\uFFFF]/],postprocess:t},{name:`HEXDIG`,symbols:[/[0-9A-Fa-f]/],postprocess:t},{name:`DQUOTE`,symbols:[{literal:`"`}],postprocess:t}],ParserStart:`Reverse_path`}})),Rr=n((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.canonicalize=e.canonicalize_quoted_string=e.normalize=e.normalize_dot_string=e.parse=void 0;var n=Ir(),r=t(Lr());r.default.ParserStart=`Mailbox`;var i=n.Grammar.fromCompiled(r.default);function a(e){let t=new n.Parser(i);if(t.feed(e),t.results.length!==1)throw Error(`address parsing failed: ambiguous grammar`);return t.results[0]}e.parse=a;function o(e){return(function(){let t=e.indexOf(`+`);return t===-1?e:e.substr(0,t)})().replace(/\./g,``).toLowerCase()}e.normalize_dot_string=o;function s(e){let t=a(e),n=t.domainPart.AddressLiteral??t.domainPart.DomainName.toLowerCase();return`${t.localPart.QuotedString??o(t.localPart.DotString)}@${n}`}e.normalize=s;function c(e){return`"${e.substr(1).substr(0,e.length-2).replace(/(?:\\(.))/g,`$1`).replace(/(?:(["\\]))/g,`\\$1`)}"`}e.canonicalize_quoted_string=c;function l(e){let t=a(e),n=t.domainPart.AddressLiteral??t.domainPart.DomainName.toLowerCase();return`${t.localPart.QuotedString?c(t.localPart.QuotedString):t.localPart.DotString}@${n}`}e.canonicalize=l})),zr=c(Fr()),Br=Rr(),Vr=RegExp(`^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(([Zz])|([\\+|\\-]([01][0-9]|2[0-3]):[0-5][0-9]))$`),Hr=/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,Ur=/^((([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,Wr=/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,Gr=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Kr=/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,qr=[0,31,28,31,30,31,30,31,31,30,31,30,31],Jr=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Yr=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,Xr=/^(?:[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,Zr=/^(?:(?:[^\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,Qr={date:(e,t,n,r)=>{if(typeof n!=`string`||n===``)return;let i=n.match(Gr);if(!i)return e.errors.formatDateTimeError({value:n,pointer:r,schema:t});let a=+i[1],o=+i[2],s=+i[3],c=a%4==0&&(a%100!=0||a%400==0);if(!(o>=1&&o<=12&&s>=1&&s<=(o==2&&c?29:qr[o])))return e.errors.formatDateError({value:n,pointer:r,schema:t})},"date-time":(e,t,n,r)=>{if(typeof n==`string`&&n!==``)return n===``||Vr.test(n)?new Date(n).toString()===`Invalid Date`?e.errors.formatDateTimeError({value:n,pointer:r,schema:t}):void 0:e.errors.formatDateTimeError({value:n,pointer:r,schema:t})},email:(e,t,n,r)=>{if(typeof n!=`string`||n===``)return;if(n[0]===`"`)return e.errors.formatEmailError({value:n,pointer:r,schema:t});let[i,a,...o]=n.split(`@`);if(!i||!a||o.length!==0||i.length>64||a.length>253||i[0]===`.`||i.endsWith(`.`)||i.includes(`..`)||!/^[a-z0-9.-]+$/i.test(a)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(i)||!a.split(`.`).every(e=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(e)))return e.errors.formatEmailError({value:n,pointer:r,schema:t})},"idn-email":(e,t,n,r)=>{if(typeof n==`string`&&n!==``)try{(0,Br.parse)(n);return}catch{return e.errors.formatEmailError({value:n,pointer:r,schema:t})}},hostname:(e,t,n,r)=>{if(typeof n==`string`&&!(n===``||Wr.test(n)))return e.errors.formatHostnameError({value:n,pointer:r,schema:t})},ipv4:(e,t,n,r)=>{if(typeof n==`string`&&n!==``){if(n&&n[0]===`0`)return e.errors.formatIPV4LeadingZeroError({value:n,pointer:r,schema:t});if(!(n.length<=15&&Hr.test(n)))return e.errors.formatIPV4Error({value:n,pointer:r,schema:t})}},ipv6:(e,t,n,r)=>{if(typeof n==`string`&&n!==``){if(n&&n[0]===`0`)return e.errors.formatIPV6LeadingZeroError({value:n,pointer:r,schema:t});if(!(n.length<=45&&Ur.test(n)))return e.errors.formatIPV6Error({value:n,pointer:r,schema:t})}},"json-pointer":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Jr.test(n))return e.errors.formatJsonPointerError({value:n,pointer:r,schema:t})},"relative-json-pointer":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Yr.test(n))return e.errors.formatJsonPointerError({value:n,pointer:r,schema:t})},regex:(e,t,n,r)=>{if(typeof n==`string`&&/\\Z$/.test(n)===!1){try{new RegExp(n);return}catch{}return e.errors.formatRegExError({value:n,pointer:r,schema:t})}if(!(typeof n==`object`||typeof n==`number`||Array.isArray(n)))return e.errors.formatRegExError({value:n,pointer:r,schema:t})},time:(e,t,n,r)=>{if(typeof n==`string`&&n!==``)return n.match(Kr)?void 0:e.errors.formatDateTimeError({value:n,pointer:r,schema:t})},uri:(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!zr.default.isUri(n))return e.errors.formatURIError({value:n,pointer:r,schema:t})},"uri-reference":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Xr.test(n))return e.errors.formatURIReferenceError({value:n,pointer:r,schema:t})},"uri-template":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Zr.test(n))return e.errors.formatURITemplateError({value:n,pointer:r,schema:t})},url:(e,t,n,r)=>{if(!(n===``||zr.default.isWebUri(n)))return e.errors.formatURLError({value:n,pointer:r,schema:t})}},$r={};function ei(e,t=$r){let{pointer:n=`#`,data:r,schema:i=e.rootSchema,withSchemaWarning:a=!1}=t,o=un.default.split(n),s=ti(e,e.resolveRef(i),o,`#`,r);if(a||s?.code!==`schema-warning`)return s}function ti(e,t,n,r,i=$r){if(n.length===0)return e.resolveRef(t);let a=n.shift();return t=e.step(a,t,i,r),j(t)?t:(i=i[a],ti(e,t,n,`${r}/${a}`,i))}function ni(e){switch(T(e)){case`string`:case`array`:return e?.length===0;case`null`:case`undefined`:return!0;case`object`:return Object.keys(e).length===0;default:return!1}}var ri=A.templateDefaultOptions,ii;function ai(e,t){let{$ref:n}=e;return n==null||(ii[t]==null||ii[t][n]==null?0:ii[t][n])0){if(ai(t.anyOf[0],`${r}/anyOf/0`)){let n=oi(e,t.anyOf[0],`${r}/anyOf/0`);a=Ne(a,n),a.pointer=t.anyOf[0].$ref||a.pointer}delete a.anyOf}if(Array.isArray(t.allOf)&&t.allOf.map((e,t)=>ai(e,`${r}/allOf/${t}`)).reduceRight((e,t)=>e&&t,!0)){let o=[],s=It(n);for(let n=0;ne&&typeof e==`object`;function ui(e,t,n,r,i){if(n==null)throw Error(`getTemplate: missing schema for data: ${JSON.stringify(t)}`);if(r==null)throw Error(`Missing pointer`);let a=ci(e,n,t,r,i);if(!li(a))return;if(r=a.pointer,a?.const)return a.const;if(Array.isArray(a.oneOf)){if(ni(t)){let e=a.oneOf[0].type||a.type||a.const&&typeof a.const||T(t);a={...a.oneOf[0],type:e}}else{let n=ke(e,t,a);if(j(n)){if(t!=null&&i.removeInvalidData!==!0)return t;a=a.oneOf[0],t=void 0}else n.type=n.type??a.type,a=n}}if(!li(a)||a.type==null)return;if(t instanceof File)return t;let o=Array.isArray(a.type)?di(a.type,t,a.default):a.type,s=T(t);return t!=null&&s!==o&&(s!==`number`||o!==`integer`)&&(t=si(o,t)),fi[o]==null?i.removeInvalidData?void 0:t:fi[o](e,a,t,r,i)}function di(e,t,n){if(t==null){if(n!=null){let t=T(n);if(e.includes(t))return t}return e[0]}let r=T(t);return e.includes(r)?r:e[0]}var fi={null:(e,t,n)=>pi(t,n,null),string:(e,t,n)=>pi(t,n,``),number:(e,t,n)=>pi(t,n,0),integer:(e,t,n)=>pi(t,n,0),boolean:(e,t,n)=>pi(t,n,!1),object:(e,t,n,r,i)=>{let a=t.default===void 0?{}:t.default,o={},s=i.extendDefaults===!1&&t.default!==void 0?[]:t.required??[];t.properties&&Object.keys(t.properties).forEach(c=>{let l=n==null||n[c]==null?a[c]:n[c],u=s.includes(c);(l!=null||u||i.addOptionalProps)&&(o[c]=ui(e,l,t.properties[c],`${r}/properties/${c}`,i))});let c=Kt(e,t,o);if(c){c=F(t,c),delete c.dependencies;let a=ui(e,n,c,`${r}/dependencies`,i);Object.assign(o,a)}n&&(i.removeInvalidData===!0&&(t.additionalProperties===!1||T(t.additionalProperties)===`object`)?T(t.additionalProperties)===`object`&&Object.keys(n).forEach(r=>{o[r]==null&&e.isValid(n[r],t.additionalProperties)&&(o[r]=n[r])}):Object.keys(n).forEach(e=>o[e]==null&&(o[e]=n[e])));let l=Lt(e,t,o);if(l){let t=ui(e,o,{type:`object`,...l},r,i);Object.assign(o,t)}return o},array:(e,t,n,r,i)=>{if(t.items==null)return n||[];let a=t.default===void 0?[]:t.default,o=n||a,s=i.extendDefaults===!1&&t.default!==void 0?0:t.minItems||0;if(Array.isArray(t.items)){for(let n=0,c=Math.max(s??0,t.items?.length??0);n0){let t=Math.max(s,o.length);for(let n=0;n(ii={},r?ui(e,t,n,`#`,{...ri,...r}):ui(e,t,n,`#`,ri));function hi(e,t,n=e.rootSchema,r=`#`){return e.validate(t,n,r).length===0}function gi(e){let t=[],n=0,r=e.length;for(;n=55296&&i<=56319&&n{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}}))()),yi=Object.prototype.hasOwnProperty,bi=(e,t)=>!(e[t]===void 0||!yi.call(e,t)),xi={additionalProperties:(e,t,n,r)=>{if(t.additionalProperties===!0||t.additionalProperties==null||T(t.patternProperties)===`object`&&t.additionalProperties===!1)return;let i=[],a=Object.keys(n).filter(e=>A.propertyBlacklist.includes(e)===!1),o=Object.keys(t.properties||{});if(T(t.patternProperties)===`object`){let e=Object.keys(t.patternProperties).map(e=>new RegExp(e));a=a.filter(t=>{for(let n=0;n{let i=T(n);if(i===`object`||i===`array`){let e=JSON.stringify(n);for(let n=0;n{if(e.validateFormat[t.format])return e.validateFormat[t.format](e,t,n,r)},items:(e,t,n,r)=>{if(t.items===!1)return Array.isArray(n)&&n.length===0?void 0:e.errors.invalidDataError({pointer:r,value:n,schema:t});let i=[];for(let a=0;a{if(!isNaN(t.maximum)){if(t.maximum&&t.maximum{if(!isNaN(t.maxItems)&&t.maxItems{if(isNaN(t.maxLength))return;let i=gi(n).length;if(t.maxLength{let i=Object.keys(n).length;if(isNaN(t.maxProperties)===!1&&t.maxProperties{if(isNaN(t.minLength))return;let i=gi(n).length;if(t.minLength>i)return t.minLength===1?e.errors.minLengthOneError({minLength:t.minLength,length:i,pointer:r,schema:t,value:n}):e.errors.minLengthError({minLength:t.minLength,length:i,pointer:r,schema:t,value:n})},minimum:(e,t,n,r)=>{if(!isNaN(t.minimum)&&(t.minimum>n||t.exclusiveMinimum===!0&&t.minimum===n))return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n})},minItems:(e,t,n,r)=>{if(!isNaN(t.minItems)&&t.minItems>n.length)return t.minItems===1?e.errors.minItemsOneError({minItems:t.minItems,length:n.length,pointer:r,schema:t,value:n}):e.errors.minItemsError({minItems:t.minItems,length:n.length,pointer:r,schema:t,value:n})},minProperties:(e,t,n,r)=>{if(isNaN(t.minProperties))return;let i=Object.keys(n).length;if(t.minProperties>i)return e.errors.minPropertiesError({minProperties:t.minProperties,length:i,pointer:r,schema:t,value:n})},multipleOf:(e,t,n,r)=>{if(isNaN(t.multipleOf)||typeof n!=`number`)return;let i=_i(n),a=_i(t.multipleOf);if(i>a)return e.errors.multipleOfError({multipleOf:t.multipleOf,value:n,pointer:r,schema:t});let o=10**a;if(Math.round(n*o)%Math.round(t.multipleOf*o)/o!==0)return e.errors.multipleOfError({multipleOf:t.multipleOf,value:n,pointer:r,schema:t})},not:(e,t,n,r)=>{let i=[];return e.validate(n,t.not,r).length===0&&i.push(e.errors.notError({value:n,not:t.not,pointer:r,schema:t})),i},oneOf:Ae,pattern:(e,t,n,r)=>{if(new RegExp(t.pattern,`u`).test(n)===!1)return e.errors.patternError({pattern:t.pattern,description:t.patternExample||t.pattern,received:n,schema:t,value:n,pointer:r})},patternProperties:(e,t,n,r)=>{let i=t.properties||{},a=t.patternProperties;if(T(a)!==`object`)return;let o=[],s=Object.keys(n),c=Object.keys(a).map(e=>({regex:new RegExp(e),patternSchema:a[e]}));return s.forEach(s=>{let l=!1;for(let t=0,i=c.length;t0&&o.push(...i)}i[s]||l===!1&&t.additionalProperties===!1&&o.push(e.errors.patternPropertiesError({key:s,pointer:r,schema:t,value:n,patterns:Object.keys(a).join(`,`)}))}),o},properties:(e,t,n,r)=>{let i=[],a=Object.keys(t.properties||{});for(let o=0;o{let i=[],a=Object.keys(t.properties||{});for(let o=0;o{if(Array.isArray(t.required)!==!1)return t.required.map(i=>{if(!bi(n,i))return e.errors.requiredPropertyError({key:i,pointer:r,schema:t,value:n})})},requiredNotEmpty:(e,t,n,r)=>{if(Array.isArray(t.required)!==!1)return t.required.map(i=>{if(n[i]==null||n[i]===``)return e.errors.valueNotEmptyError({property:i,pointer:`${r}/${i}`,schema:t,value:n})})},uniqueItems:(e,t,n,r)=>{if((Array.isArray(n)&&t.uniqueItems)===!1)return;let i=[],a=[];return n.forEach((o,s)=>{for(let c=s+1;ct.properties[n]=Si(e[n]))),t.type===`array`&&Array.isArray(e)&&(t.items=e.length===1?Si(e[0]):e.map(Si)),t}var Ci={array:(e,t,n,r,i)=>{let a=r?.[t],o=T(n.items);if(o===`object`)return nn(e,n.items,a,`${i}/${t}`)||e.resolveRef(n.items);if(o===`array`){if(n.items[t]===!0)return Si(a);if(n.items[t]===!1)return e.errors.invalidDataError({key:t,value:a,pointer:i,schema:n});if(n.items[t])return e.resolveRef(n.items[t]);if(n.additionalItems===!1)return e.errors.additionalItemsError({key:t,value:a,pointer:i,schema:n});if(n.additionalItems===!0||n.additionalItems===void 0)return Si(a);if(T(n.additionalItems)===`object`)return n.additionalItems;throw Error(`Invalid schema ${JSON.stringify(n,null,2)} for ${JSON.stringify(r,null,2)}`)}return n.additionalItems!==!1&&a?Si(a):Error(`Invalid array schema for ${t} at ${i}`)},object:(e,t,n,r,i)=>{n=nn(e,n,r,i);let a=n?.properties?.[t];if(a!==void 0){if(a===!1)return e.errors.forbiddenPropertyError({property:t,value:r,pointer:i,schema:n});if(a===!0)return Si(r?.[t]);let o=e.resolveRef(a);if(j(o))return o;if(o&&Array.isArray(o.oneOf)){let n=e.resolveOneOf(r[t],o,`${i}/${t}`);for(let e in o)e!==`oneOf`&&n[e]===void 0&&(n[e]=o[e]);return n}if(o)return o}let{patternProperties:o}=n;if(T(o)===`object`){let e,n=Object.keys(o);for(let r=0,i=n.length;re.resolveRef(t));if(n.items?.oneOf)return n.items.oneOf.map(t=>e.resolveRef(t));let r=e.step(t,n,{},`#`);return j(r)?r:[r]}var Ei={array:(e,t,n,r)=>e.typeKeywords.array.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),object:(e,t,n,r)=>e.typeKeywords.object.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),string:(e,t,n,r)=>e.typeKeywords.string.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),integer:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),number:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),boolean:(e,t,n,r)=>e.typeKeywords.boolean.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),null:(e,t,n,r)=>e.typeKeywords.null.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r))};function Di(e,t){let n=T(e);return n===`number`&&(t===`integer`||Array.isArray(t)&&t.includes(`integer`))?Number.isInteger(e)||isNaN(e)?`integer`:`number`:n}function Oi(e,t,n=e.rootSchema,r=`#`){if(n=e.resolveRef(n),T(n)===`boolean`)return n?[]:[e.errors.invalidDataError({pointer:r,schema:n,value:t})];if(j(n))return[n];if(n.const!==void 0)return(0,vi.default)(n.const,t)?[]:[e.errors.constError({pointer:r,schema:n,value:t,expected:n.const})];let i=Di(t,n.type),a=n.type||i;return i!==a&&(!Array.isArray(a)||!a.includes(i))?[e.errors.typeError({pointer:r,schema:n,value:t,received:i,expected:a})]:e.validateType[i]==null?[e.errors.invalidTypeError({pointer:r,schema:n,value:t,receivedType:i})]:k(e.validateType[i](e,n,t,r)).filter(Ee)}var ki={typeKeywords:{array:[`allOf`,`anyOf`,`enum`,`items`,`maxItems`,`minItems`,`not`,`oneOf`,`uniqueItems`],boolean:[`enum`,`not`,`allOf`,`anyOf`,`oneOf`],object:[`additionalProperties`,`dependencies`,`enum`,`format`,`minProperties`,`maxProperties`,`patternProperties`,`properties`,`required`,`not`,`oneOf`,`allOf`,`anyOf`],string:[`allOf`,`anyOf`,`enum`,`format`,`maxLength`,`minLength`,`not`,`oneOf`,`pattern`],number:[`allOf`,`anyOf`,`enum`,`format`,`maximum`,`minimum`,`multipleOf`,`not`,`oneOf`],null:[`allOf`,`anyOf`,`enum`,`format`,`not`,`oneOf`]},validateKeyword:xi,validateType:Ei,validateFormat:Qr,errors:Pr,addRemoteSchema:an,compileSchema:Mr,createSchemaOf:Si,each:Nr,eachSchema:pr,getChildSchemaSelection:Ti,getSchema:ei,getTemplate:mi,isValid:hi,resolveAllOf:Bt,resolveAnyOf:Yt,resolveOneOf:De,resolveRef:Ut,step:wi,validate:Oi,templateDefaultOptions:A.templateDefaultOptions},Ai=class extends rn{constructor(e,t={}){super(Ne(ki,t),e)}},ji=`__compiled`,Mi=`__ref`,Ni=`getRef`,Pi=`getRoot`,Fi=/(#|\/)+$/g;function Ii(e,t,n=t,r=!1){if(t===!0||t===!1||t===void 0||t[ji]!==void 0)return t;let i={ids:{},remotes:e.remotes},a=JSON.stringify(t),o=JSON.parse(a);if(Object.defineProperty(o,ji,{enumerable:!1,value:!0}),Object.defineProperty(o,Ni,{enumerable:!1,value:Tr.bind(null,i,o)}),r===!1&&a.includes(`$ref`)===!1)return o;o!==n&&Object.defineProperty(o,"$defs",{enumerable:!0,value:Object.assign({},n.definitions,n.$defs,o.definitions,o.$defs)});let s={},c=()=>o;return pr(o,(e,t)=>{if(e.$id){if(e.$id.startsWith(`http`)&&/(allOf|anyOf|oneOf)\/\d+$/.test(t)){let n=t.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,``);e.$id=(0,un.get)(o,n).$id??e.$id}i.ids[e.$id.replace(Fi,``)]=t}t=`#${t}`.replace(/##+/,`#`);let n=t.replace(/\/[^/]+$/,``),r=t.replace(/\/[^/]+\/[^/]+$/,``),a=yr(s[n]||s[r],e.$id);s[t]=a,i.ids[a]??(i.ids[a]=t),e.$ref&&!e[Mi]&&(Object.defineProperty(e,Mi,{enumerable:!1,value:yr(a,e.$ref)}),Object.defineProperty(e,Pi,{enumerable:!1,value:c}))}),o}var Li={...xi,contains:(e,t,n,r)=>{if(t.contains===!1)return e.errors.containsArrayError({pointer:r,value:n,schema:t});if(t.contains===!0)return Array.isArray(n)&&n.length===0?e.errors.containsAnyError({pointer:r,value:n,schema:t}):void 0;if(T(t.contains)===`object`){for(let r=0;r{if(!isNaN(t.exclusiveMaximum)&&t.exclusiveMaximum<=n)return e.errors.maximumError({maximum:t.exclusiveMaximum,length:n,pointer:r,schema:t,value:n})},exclusiveMinimum:(e,t,n,r)=>{if(!isNaN(t.exclusiveMinimum)&&t.exclusiveMinimum>=n)return e.errors.minimumError({minimum:t.exclusiveMinimum,length:n,pointer:r,schema:t,value:n})},if:Rt,maximum:(e,t,n,r)=>{if(!isNaN(t.maximum)&&t.maximum&&t.maximum{if(!isNaN(t.minimum)&&t.minimum>n)return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n})},patternProperties:(e,t,n,r)=>{let i=t.properties||{},a=t.patternProperties;if(T(a)!==`object`)return;let o=[],s=Object.keys(n),c=Object.keys(a).map(e=>({regex:new RegExp(e),patternSchema:a[e]}));return s.forEach(s=>{let l=!1;for(let i=0,u=c.length;i0&&o.push(...u)}i[s]||l===!1&&t.additionalProperties===!1&&o.push(e.errors.patternPropertiesError({key:s,pointer:r,patterns:Object.keys(a).join(`,`),schema:t,value:n}))}),o},propertyNames:(e,t,n,r)=>{if(t.propertyNames===!1)return Object.keys(n).length===0?void 0:e.errors.invalidPropertyNameError({property:Object.keys(n),pointer:r,value:n,schema:t});if(t.propertyNames===!0||T(t.propertyNames)!==`object`)return;let i=[],a=Object.keys(n),o={...t.propertyNames,type:`string`};return a.forEach(a=>{let s=e.validate(a,o,`${r}/${a}`);s.length>0&&i.push(e.errors.invalidPropertyNameError({property:a,pointer:r,validationError:s[0],value:n[a],schema:t}))}),i}},Ri={array:(e,t,n,r)=>e.typeKeywords.array.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),object:(e,t,n,r)=>e.typeKeywords.object.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),string:(e,t,n,r)=>e.typeKeywords.string.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),integer:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),number:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),boolean:(e,t,n,r)=>e.typeKeywords.boolean.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),null:(e,t,n,r)=>e.typeKeywords.null.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r))};A.templateDefaultOptions;var zi={typeKeywords:{array:[`allOf`,`anyOf`,`contains`,`enum`,`if`,`items`,`maxItems`,`minItems`,`not`,`oneOf`,`uniqueItems`],boolean:[`allOf`,`anyOf`,`enum`,`not`,`oneOf`],object:[`additionalProperties`,`allOf`,`anyOf`,`dependencies`,`enum`,`format`,`if`,`maxProperties`,`minProperties`,`not`,`oneOf`,`patternProperties`,`properties`,`propertyNames`,`required`],string:[`allOf`,`anyOf`,`enum`,`format`,`if`,`maxLength`,`minLength`,`not`,`oneOf`,`pattern`],number:[`allOf`,`anyOf`,`enum`,`exclusiveMaximum`,`exclusiveMinimum`,`format`,`if`,`maximum`,`minimum`,`multipleOf`,`not`,`oneOf`],null:[`allOf`,`anyOf`,`enum`,`format`,`not`,`oneOf`]},validateKeyword:Li,validateType:Ri,validateFormat:Qr,errors:Pr,addRemoteSchema:an,compileSchema:Ii,createSchemaOf:Si,each:Nr,eachSchema:pr,getChildSchemaSelection:Ti,getSchema:ei,getTemplate:mi,isValid:hi,resolveAllOf:Bt,resolveAnyOf:Yt,resolveOneOf:De,resolveRef:Ut,step:wi,validate:Oi,templateDefaultOptions:A.templateDefaultOptions},Bi=class extends rn{constructor(e,t={}){super(Ne(zi,t),e)}};({...zi});function Vi(e,t,n=[]){let r=document.createElement(e);return Object.entries(t).forEach(([e,t])=>{e===`text`?r.innerText=t:e===`inner`?r.innerHTML=t:r.setAttribute(e,t)}),n.forEach(e=>r.appendChild(e)),r}var Hi={};function Ui(e){let t=Hi[e];if(t)return t;t=Hi[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+91114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}}return t})}Wi.defaultChars=`;/?:@&=+$,#`,Wi.componentChars=``;var Gi={};function Ki(e){let t=Gi[e];if(t)return t;t=Gi[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`}else i+=encodeURIComponent(e[t])}return i}qi.defaultChars=`;/?:@&=+$,-_.!~*'()#`,qi.componentChars=`-_.!~*'()`;function Ji(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function Yi(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Xi=/^([a-z0-9.+-]+:)/i,Zi=/:[0-9]*$/,Qi=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$i=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,` +`)},a.prototype.displayStateStack=function(e,t){for(var n,r=0,i=0;i0&&t.push(` ^ `+r+` more lines identical to this`),r=0,t.push(` `+o)),n=o}},a.prototype.getSymbolDisplay=function(e){return o(e)},a.prototype.buildFirstStateStack=function(e,t){if(t.indexOf(e)!==-1)return null;if(e.wantedBy.length===0)return[e];var n=e.wantedBy[0],r=[e].concat(t),i=this.buildFirstStateStack(n,r);return i===null?null:[e].concat(i)},a.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},a.prototype.restore=function(e){var t=e.index;this.current=t,this.table[t]=e,this.table.splice(t+1),this.lexerState=e.lexerState,this.results=this.finish()},a.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},a.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(n){n.rule.name===t&&n.dot===n.rule.symbols.length&&n.reference===0&&n.data!==a.fail&&e.push(n)}),e.map(function(e){return e.data})};function o(e){var t=typeof e;if(t===`string`)return e;if(t===`object`){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return`character matching `+e;if(e.type)return e.type+` token`;if(e.test)return`token matching `+String(e.test);throw Error(`Unknown symbol type: `+e)}}function s(e){var t=typeof e;if(t===`string`)return e;if(t===`object`){if(e.literal)return JSON.stringify(e.literal);if(e instanceof RegExp)return e.toString();if(e.type)return`%`+e.type;if(e.test)return`<`+String(e.test)+`>`;throw Error(`Unknown symbol type: `+e)}}return{Parser:a,Grammar:r,Rule:e}})})),Lr=n((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){return e[0]}var n=e=>[].concat(...e.map(e=>Array.isArray(e)?n(e):e));function r(e){return e?Array.isArray(e)?n(e).join(``):e:``}e.default={Lexer:void 0,ParserRules:[{name:`Reverse_path`,symbols:[`Path`]},{name:`Reverse_path$string$1`,symbols:[{literal:`<`},{literal:`>`}],postprocess:e=>e.join(``)},{name:`Reverse_path`,symbols:[`Reverse_path$string$1`]},{name:`Forward_path$subexpression$1$subexpression$1`,symbols:[{literal:`<`},/[pP]/,/[oO]/,/[sS]/,/[tT]/,/[mM]/,/[aA]/,/[sS]/,/[tT]/,/[eE]/,/[rR]/,{literal:`@`}],postprocess:function(e){return e.join(``)}},{name:`Forward_path$subexpression$1`,symbols:[`Forward_path$subexpression$1$subexpression$1`,`Domain`,{literal:`>`}]},{name:`Forward_path`,symbols:[`Forward_path$subexpression$1`]},{name:`Forward_path$subexpression$2`,symbols:[{literal:`<`},/[pP]/,/[oO]/,/[sS]/,/[tT]/,/[mM]/,/[aA]/,/[sS]/,/[tT]/,/[eE]/,/[rR]/,{literal:`>`}],postprocess:function(e){return e.join(``)}},{name:`Forward_path`,symbols:[`Forward_path$subexpression$2`]},{name:`Forward_path`,symbols:[`Path`]},{name:`Path$ebnf$1$subexpression$1`,symbols:[`A_d_l`,{literal:`:`}]},{name:`Path$ebnf$1`,symbols:[`Path$ebnf$1$subexpression$1`],postprocess:t},{name:`Path$ebnf$1`,symbols:[],postprocess:()=>null},{name:`Path`,symbols:[{literal:`<`},`Path$ebnf$1`,`Mailbox`,{literal:`>`}]},{name:`A_d_l$ebnf$1`,symbols:[]},{name:`A_d_l$ebnf$1$subexpression$1`,symbols:[{literal:`,`},`At_domain`]},{name:`A_d_l$ebnf$1`,symbols:[`A_d_l$ebnf$1`,`A_d_l$ebnf$1$subexpression$1`],postprocess:e=>e[0].concat([e[1]])},{name:`A_d_l`,symbols:[`At_domain`,`A_d_l$ebnf$1`]},{name:`At_domain`,symbols:[{literal:`@`},`Domain`]},{name:`Domain$ebnf$1`,symbols:[]},{name:`Domain$ebnf$1$subexpression$1`,symbols:[{literal:`.`},`sub_domain`]},{name:`Domain$ebnf$1`,symbols:[`Domain$ebnf$1`,`Domain$ebnf$1$subexpression$1`],postprocess:e=>e[0].concat([e[1]])},{name:`Domain`,symbols:[`sub_domain`,`Domain$ebnf$1`]},{name:`sub_domain`,symbols:[`U_label`]},{name:`Let_dig`,symbols:[`ALPHA_DIGIT`],postprocess:t},{name:`Ldh_str$ebnf$1`,symbols:[]},{name:`Ldh_str$ebnf$1`,symbols:[`Ldh_str$ebnf$1`,`ALPHA_DIG_DASH`],postprocess:e=>e[0].concat([e[1]])},{name:`Ldh_str`,symbols:[`Ldh_str$ebnf$1`,`Let_dig`]},{name:`U_Let_dig`,symbols:[`ALPHA_DIGIT_U`],postprocess:t},{name:`U_Ldh_str$ebnf$1`,symbols:[]},{name:`U_Ldh_str$ebnf$1`,symbols:[`U_Ldh_str$ebnf$1`,`ALPHA_DIG_DASH_U`],postprocess:e=>e[0].concat([e[1]])},{name:`U_Ldh_str`,symbols:[`U_Ldh_str$ebnf$1`,`U_Let_dig`]},{name:`U_label$ebnf$1$subexpression$1`,symbols:[`U_Ldh_str`]},{name:`U_label$ebnf$1`,symbols:[`U_label$ebnf$1$subexpression$1`],postprocess:t},{name:`U_label$ebnf$1`,symbols:[],postprocess:()=>null},{name:`U_label`,symbols:[`U_Let_dig`,`U_label$ebnf$1`]},{name:`address_literal$subexpression$1`,symbols:[`IPv4_address_literal`]},{name:`address_literal$subexpression$1`,symbols:[`IPv6_address_literal`]},{name:`address_literal$subexpression$1`,symbols:[`General_address_literal`]},{name:`address_literal`,symbols:[{literal:`[`},`address_literal$subexpression$1`,{literal:`]`}]},{name:`non_local_part`,symbols:[`Domain`],postprocess:function(e){return{DomainName:r(e[0])}}},{name:`non_local_part`,symbols:[`address_literal`],postprocess:function(e){return{AddressLiteral:r(e[0])}}},{name:`Mailbox`,symbols:[`Local_part`,{literal:`@`},`non_local_part`],postprocess:function(e){return{localPart:r(e[0]),domainPart:r(e[2])}}},{name:`Local_part`,symbols:[`Dot_string`],postprocess:function(e){return{DotString:r(e[0])}}},{name:`Local_part`,symbols:[`Quoted_string`],postprocess:function(e){return{QuotedString:r(e[0])}}},{name:`Dot_string$ebnf$1`,symbols:[]},{name:`Dot_string$ebnf$1$subexpression$1`,symbols:[{literal:`.`},`Atom`]},{name:`Dot_string$ebnf$1`,symbols:[`Dot_string$ebnf$1`,`Dot_string$ebnf$1$subexpression$1`],postprocess:e=>e[0].concat([e[1]])},{name:`Dot_string`,symbols:[`Atom`,`Dot_string$ebnf$1`]},{name:`Atom$ebnf$1`,symbols:[/[0-9A-Za-z!#$%&'*+\-/=?^_`{|}~\u0080-\uFFFF/]/]},{name:`Atom$ebnf$1`,symbols:[`Atom$ebnf$1`,/[0-9A-Za-z!#$%&'*+\-/=?^_`{|}~\u0080-\uFFFF/]/],postprocess:e=>e[0].concat([e[1]])},{name:`Atom`,symbols:[`Atom$ebnf$1`]},{name:`Quoted_string$ebnf$1`,symbols:[]},{name:`Quoted_string$ebnf$1`,symbols:[`Quoted_string$ebnf$1`,`QcontentSMTP`],postprocess:e=>e[0].concat([e[1]])},{name:`Quoted_string`,symbols:[`DQUOTE`,`Quoted_string$ebnf$1`,`DQUOTE`]},{name:`QcontentSMTP`,symbols:[`qtextSMTP`]},{name:`QcontentSMTP`,symbols:[`quoted_pairSMTP`]},{name:`quoted_pairSMTP`,symbols:[{literal:`\\`},/[\x20-\x7e]/]},{name:`qtextSMTP`,symbols:[/[\x20-\x21\x23-\x5b\x5d-\x7e\u0080-\uFFFF]/],postprocess:t},{name:`IPv4_address_literal$macrocall$2`,symbols:[{literal:`.`},`Snum`]},{name:`IPv4_address_literal$macrocall$1`,symbols:[`IPv4_address_literal$macrocall$2`,`IPv4_address_literal$macrocall$2`,`IPv4_address_literal$macrocall$2`]},{name:`IPv4_address_literal`,symbols:[`Snum`,`IPv4_address_literal$macrocall$1`]},{name:`IPv6_address_literal$subexpression$1`,symbols:[/[iI]/,/[pP]/,/[vV]/,{literal:`6`},{literal:`:`}],postprocess:function(e){return e.join(``)}},{name:`IPv6_address_literal`,symbols:[`IPv6_address_literal$subexpression$1`,`IPv6_addr`]},{name:`General_address_literal$ebnf$1`,symbols:[`dcontent`]},{name:`General_address_literal$ebnf$1`,symbols:[`General_address_literal$ebnf$1`,`dcontent`],postprocess:e=>e[0].concat([e[1]])},{name:`General_address_literal`,symbols:[`Standardized_tag`,{literal:`:`},`General_address_literal$ebnf$1`]},{name:`Standardized_tag`,symbols:[`Ldh_str`]},{name:`dcontent`,symbols:[/[\x21-\x5a\x5e-\x7e]/],postprocess:t},{name:`Snum`,symbols:[`DIGIT`]},{name:`Snum$subexpression$1`,symbols:[/[1-9]/,`DIGIT`]},{name:`Snum`,symbols:[`Snum$subexpression$1`]},{name:`Snum$subexpression$2`,symbols:[{literal:`1`},`DIGIT`,`DIGIT`]},{name:`Snum`,symbols:[`Snum$subexpression$2`]},{name:`Snum$subexpression$3`,symbols:[{literal:`2`},/[0-4]/,`DIGIT`]},{name:`Snum`,symbols:[`Snum$subexpression$3`]},{name:`Snum$subexpression$4`,symbols:[{literal:`2`},{literal:`5`},/[0-5]/]},{name:`Snum`,symbols:[`Snum$subexpression$4`]},{name:`IPv6_addr`,symbols:[`IPv6_full`]},{name:`IPv6_addr`,symbols:[`IPv6_comp`]},{name:`IPv6_addr`,symbols:[`IPv6v4_full`]},{name:`IPv6_addr`,symbols:[`IPv6v4_comp`]},{name:`IPv6_hex`,symbols:[`HEXDIG`]},{name:`IPv6_hex$subexpression$1`,symbols:[`HEXDIG`,`HEXDIG`]},{name:`IPv6_hex`,symbols:[`IPv6_hex$subexpression$1`]},{name:`IPv6_hex$subexpression$2`,symbols:[`HEXDIG`,`HEXDIG`,`HEXDIG`]},{name:`IPv6_hex`,symbols:[`IPv6_hex$subexpression$2`]},{name:`IPv6_hex$subexpression$3`,symbols:[`HEXDIG`,`HEXDIG`,`HEXDIG`,`HEXDIG`]},{name:`IPv6_hex`,symbols:[`IPv6_hex$subexpression$3`]},{name:`IPv6_full$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6_full$macrocall$1`,symbols:[`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`,`IPv6_full$macrocall$2`]},{name:`IPv6_full`,symbols:[`IPv6_hex`,`IPv6_full$macrocall$1`]},{name:`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6_comp$ebnf$1$subexpression$1$macrocall$1`,symbols:[`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$2`]},{name:`IPv6_comp$ebnf$1$subexpression$1`,symbols:[`IPv6_hex`,`IPv6_comp$ebnf$1$subexpression$1$macrocall$1`]},{name:`IPv6_comp$ebnf$1`,symbols:[`IPv6_comp$ebnf$1$subexpression$1`],postprocess:t},{name:`IPv6_comp$ebnf$1`,symbols:[],postprocess:()=>null},{name:`IPv6_comp$string$1`,symbols:[{literal:`:`},{literal:`:`}],postprocess:e=>e.join(``)},{name:`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6_comp$ebnf$2$subexpression$1$macrocall$1`,symbols:[`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$2`]},{name:`IPv6_comp$ebnf$2$subexpression$1`,symbols:[`IPv6_hex`,`IPv6_comp$ebnf$2$subexpression$1$macrocall$1`]},{name:`IPv6_comp$ebnf$2`,symbols:[`IPv6_comp$ebnf$2$subexpression$1`],postprocess:t},{name:`IPv6_comp$ebnf$2`,symbols:[],postprocess:()=>null},{name:`IPv6_comp`,symbols:[`IPv6_comp$ebnf$1`,`IPv6_comp$string$1`,`IPv6_comp$ebnf$2`]},{name:`IPv6v4_full$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6v4_full$macrocall$1`,symbols:[`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`,`IPv6v4_full$macrocall$2`]},{name:`IPv6v4_full`,symbols:[`IPv6_hex`,`IPv6v4_full$macrocall$1`,{literal:`:`},`IPv4_address_literal`]},{name:`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$1`,symbols:[`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2`]},{name:`IPv6v4_comp$ebnf$1$subexpression$1`,symbols:[`IPv6_hex`,`IPv6v4_comp$ebnf$1$subexpression$1$macrocall$1`]},{name:`IPv6v4_comp$ebnf$1`,symbols:[`IPv6v4_comp$ebnf$1$subexpression$1`],postprocess:t},{name:`IPv6v4_comp$ebnf$1`,symbols:[],postprocess:()=>null},{name:`IPv6v4_comp$string$1`,symbols:[{literal:`:`},{literal:`:`}],postprocess:e=>e.join(``)},{name:`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`,symbols:[{literal:`:`},`IPv6_hex`]},{name:`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$1`,symbols:[`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`,`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2`]},{name:`IPv6v4_comp$ebnf$2$subexpression$1`,symbols:[`IPv6_hex`,`IPv6v4_comp$ebnf$2$subexpression$1$macrocall$1`,{literal:`:`}]},{name:`IPv6v4_comp$ebnf$2`,symbols:[`IPv6v4_comp$ebnf$2$subexpression$1`],postprocess:t},{name:`IPv6v4_comp$ebnf$2`,symbols:[],postprocess:()=>null},{name:`IPv6v4_comp`,symbols:[`IPv6v4_comp$ebnf$1`,`IPv6v4_comp$string$1`,`IPv6v4_comp$ebnf$2`,`IPv4_address_literal`]},{name:`DIGIT`,symbols:[/[0-9]/],postprocess:t},{name:`ALPHA_DIGIT_U`,symbols:[/[0-9A-Za-z\u0080-\uFFFF]/],postprocess:t},{name:`ALPHA_DIGIT`,symbols:[/[0-9A-Za-z]/],postprocess:t},{name:`ALPHA_DIG_DASH`,symbols:[/[-0-9A-Za-z]/],postprocess:t},{name:`ALPHA_DIG_DASH_U`,symbols:[/[-0-9A-Za-z\u0080-\uFFFF]/],postprocess:t},{name:`HEXDIG`,symbols:[/[0-9A-Fa-f]/],postprocess:t},{name:`DQUOTE`,symbols:[{literal:`"`}],postprocess:t}],ParserStart:`Reverse_path`}})),Rr=n(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.canonicalize=e.canonicalize_quoted_string=e.normalize=e.normalize_dot_string=e.parse=void 0;var i=Ir(),a=r(Lr());a.default.ParserStart=`Mailbox`;var o=i.Grammar.fromCompiled(a.default);function s(e){let t=new i.Parser(o);if(t.feed(e),t.results.length!==1)throw Error(`address parsing failed: ambiguous grammar`);return t.results[0]}e.parse=s;function c(e){return(function(){let t=e.indexOf(`+`);return t===-1?e:e.substr(0,t)})().replace(/\./g,``).toLowerCase()}e.normalize_dot_string=c;function l(e){let t=s(e),n=t.domainPart.AddressLiteral??t.domainPart.DomainName.toLowerCase();return`${t.localPart.QuotedString??c(t.localPart.DotString)}@${n}`}e.normalize=l;function u(e){return`"${e.substr(1).substr(0,e.length-2).replace(/(?:\\(.))/g,`$1`).replace(/(?:(["\\]))/g,`\\$1`)}"`}e.canonicalize_quoted_string=u;function d(e){let t=s(e),n=t.domainPart.AddressLiteral??t.domainPart.DomainName.toLowerCase();return`${t.localPart.QuotedString?u(t.localPart.QuotedString):t.localPart.DotString}@${n}`}e.canonicalize=d})),zr=c(Fr()),Br=Rr(),Vr=RegExp(`^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(([Zz])|([\\+|\\-]([01][0-9]|2[0-3]):[0-5][0-9]))$`),Hr=/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,Ur=/^((([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,Wr=/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,Gr=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Kr=/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,qr=[0,31,28,31,30,31,30,31,31,30,31,30,31],Jr=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Yr=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,Xr=/^(?:[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,Zr=/^(?:(?:[^\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,Qr={date:(e,t,n,r)=>{if(typeof n!=`string`||n===``)return;let i=n.match(Gr);if(!i)return e.errors.formatDateTimeError({value:n,pointer:r,schema:t});let a=+i[1],o=+i[2],s=+i[3],c=a%4==0&&(a%100!=0||a%400==0);if(!(o>=1&&o<=12&&s>=1&&s<=(o==2&&c?29:qr[o])))return e.errors.formatDateError({value:n,pointer:r,schema:t})},"date-time":(e,t,n,r)=>{if(typeof n==`string`&&n!==``)return n===``||Vr.test(n)?new Date(n).toString()===`Invalid Date`?e.errors.formatDateTimeError({value:n,pointer:r,schema:t}):void 0:e.errors.formatDateTimeError({value:n,pointer:r,schema:t})},email:(e,t,n,r)=>{if(typeof n!=`string`||n===``)return;if(n[0]===`"`)return e.errors.formatEmailError({value:n,pointer:r,schema:t});let[i,a,...o]=n.split(`@`);if(!i||!a||o.length!==0||i.length>64||a.length>253||i[0]===`.`||i.endsWith(`.`)||i.includes(`..`)||!/^[a-z0-9.-]+$/i.test(a)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(i)||!a.split(`.`).every(e=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(e)))return e.errors.formatEmailError({value:n,pointer:r,schema:t})},"idn-email":(e,t,n,r)=>{if(typeof n==`string`&&n!==``)try{(0,Br.parse)(n);return}catch{return e.errors.formatEmailError({value:n,pointer:r,schema:t})}},hostname:(e,t,n,r)=>{if(typeof n==`string`&&!(n===``||Wr.test(n)))return e.errors.formatHostnameError({value:n,pointer:r,schema:t})},ipv4:(e,t,n,r)=>{if(typeof n==`string`&&n!==``){if(n&&n[0]===`0`)return e.errors.formatIPV4LeadingZeroError({value:n,pointer:r,schema:t});if(!(n.length<=15&&Hr.test(n)))return e.errors.formatIPV4Error({value:n,pointer:r,schema:t})}},ipv6:(e,t,n,r)=>{if(typeof n==`string`&&n!==``){if(n&&n[0]===`0`)return e.errors.formatIPV6LeadingZeroError({value:n,pointer:r,schema:t});if(!(n.length<=45&&Ur.test(n)))return e.errors.formatIPV6Error({value:n,pointer:r,schema:t})}},"json-pointer":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Jr.test(n))return e.errors.formatJsonPointerError({value:n,pointer:r,schema:t})},"relative-json-pointer":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Yr.test(n))return e.errors.formatJsonPointerError({value:n,pointer:r,schema:t})},regex:(e,t,n,r)=>{if(typeof n==`string`&&/\\Z$/.test(n)===!1){try{new RegExp(n);return}catch{}return e.errors.formatRegExError({value:n,pointer:r,schema:t})}if(!(typeof n==`object`||typeof n==`number`||Array.isArray(n)))return e.errors.formatRegExError({value:n,pointer:r,schema:t})},time:(e,t,n,r)=>{if(typeof n==`string`&&n!==``)return n.match(Kr)?void 0:e.errors.formatDateTimeError({value:n,pointer:r,schema:t})},uri:(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!zr.default.isUri(n))return e.errors.formatURIError({value:n,pointer:r,schema:t})},"uri-reference":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Xr.test(n))return e.errors.formatURIReferenceError({value:n,pointer:r,schema:t})},"uri-template":(e,t,n,r)=>{if(typeof n==`string`&&n!==``&&!Zr.test(n))return e.errors.formatURITemplateError({value:n,pointer:r,schema:t})},url:(e,t,n,r)=>{if(!(n===``||zr.default.isWebUri(n)))return e.errors.formatURLError({value:n,pointer:r,schema:t})}},$r={};function ei(e,t=$r){let{pointer:n=`#`,data:r,schema:i=e.rootSchema,withSchemaWarning:a=!1}=t,o=un.default.split(n),s=ti(e,e.resolveRef(i),o,`#`,r);if(a||s?.code!==`schema-warning`)return s}function ti(e,t,n,r,i=$r){if(n.length===0)return e.resolveRef(t);let a=n.shift();return t=e.step(a,t,i,r),j(t)?t:(i=i[a],ti(e,t,n,`${r}/${a}`,i))}function ni(e){switch(T(e)){case`string`:case`array`:return e?.length===0;case`null`:case`undefined`:return!0;case`object`:return Object.keys(e).length===0;default:return!1}}var ri=A.templateDefaultOptions,ii;function ai(e,t){let{$ref:n}=e;return n==null||(ii[t]==null||ii[t][n]==null?0:ii[t][n])0){if(ai(t.anyOf[0],`${r}/anyOf/0`)){let n=oi(e,t.anyOf[0],`${r}/anyOf/0`);a=Ne(a,n),a.pointer=t.anyOf[0].$ref||a.pointer}delete a.anyOf}if(Array.isArray(t.allOf)&&t.allOf.map((e,t)=>ai(e,`${r}/allOf/${t}`)).reduceRight((e,t)=>e&&t,!0)){let o=[],s=It(n);for(let n=0;ne&&typeof e==`object`;function ui(e,t,n,r,i){if(n==null)throw Error(`getTemplate: missing schema for data: ${JSON.stringify(t)}`);if(r==null)throw Error(`Missing pointer`);let a=ci(e,n,t,r,i);if(!li(a))return;if(r=a.pointer,a?.const)return a.const;if(Array.isArray(a.oneOf)){if(ni(t)){let e=a.oneOf[0].type||a.type||a.const&&typeof a.const||T(t);a={...a.oneOf[0],type:e}}else{let n=ke(e,t,a);if(j(n)){if(t!=null&&i.removeInvalidData!==!0)return t;a=a.oneOf[0],t=void 0}else n.type=n.type??a.type,a=n}}if(!li(a)||a.type==null)return;if(t instanceof File)return t;let o=Array.isArray(a.type)?di(a.type,t,a.default):a.type,s=T(t);return t!=null&&s!==o&&(s!==`number`||o!==`integer`)&&(t=si(o,t)),fi[o]==null?i.removeInvalidData?void 0:t:fi[o](e,a,t,r,i)}function di(e,t,n){if(t==null){if(n!=null){let t=T(n);if(e.includes(t))return t}return e[0]}let r=T(t);return e.includes(r)?r:e[0]}var fi={null:(e,t,n)=>pi(t,n,null),string:(e,t,n)=>pi(t,n,``),number:(e,t,n)=>pi(t,n,0),integer:(e,t,n)=>pi(t,n,0),boolean:(e,t,n)=>pi(t,n,!1),object:(e,t,n,r,i)=>{let a=t.default===void 0?{}:t.default,o={},s=i.extendDefaults===!1&&t.default!==void 0?[]:t.required??[];t.properties&&Object.keys(t.properties).forEach(c=>{let l=n==null||n[c]==null?a[c]:n[c],u=s.includes(c);(l!=null||u||i.addOptionalProps)&&(o[c]=ui(e,l,t.properties[c],`${r}/properties/${c}`,i))});let c=Kt(e,t,o);if(c){c=F(t,c),delete c.dependencies;let a=ui(e,n,c,`${r}/dependencies`,i);Object.assign(o,a)}n&&(i.removeInvalidData===!0&&(t.additionalProperties===!1||T(t.additionalProperties)===`object`)?T(t.additionalProperties)===`object`&&Object.keys(n).forEach(r=>{o[r]==null&&e.isValid(n[r],t.additionalProperties)&&(o[r]=n[r])}):Object.keys(n).forEach(e=>o[e]==null&&(o[e]=n[e])));let l=Lt(e,t,o);if(l){let t=ui(e,o,{type:`object`,...l},r,i);Object.assign(o,t)}return o},array:(e,t,n,r,i)=>{if(t.items==null)return n||[];let a=t.default===void 0?[]:t.default,o=n||a,s=i.extendDefaults===!1&&t.default!==void 0?0:t.minItems||0;if(Array.isArray(t.items)){for(let n=0,c=Math.max(s??0,t.items?.length??0);n0){let t=Math.max(s,o.length);for(let n=0;n(ii={},r?ui(e,t,n,`#`,{...ri,...r}):ui(e,t,n,`#`,ri));function hi(e,t,n=e.rootSchema,r=`#`){return e.validate(t,n,r).length===0}function gi(e){let t=[],n=0,r=e.length;for(;n=55296&&i<=56319&&n{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}}))()),yi=Object.prototype.hasOwnProperty,bi=(e,t)=>!(e[t]===void 0||!yi.call(e,t)),xi={additionalProperties:(e,t,n,r)=>{if(t.additionalProperties===!0||t.additionalProperties==null||T(t.patternProperties)===`object`&&t.additionalProperties===!1)return;let i=[],a=Object.keys(n).filter(e=>A.propertyBlacklist.includes(e)===!1),o=Object.keys(t.properties||{});if(T(t.patternProperties)===`object`){let e=Object.keys(t.patternProperties).map(e=>new RegExp(e));a=a.filter(t=>{for(let n=0;n{let i=T(n);if(i===`object`||i===`array`){let e=JSON.stringify(n);for(let n=0;n{if(e.validateFormat[t.format])return e.validateFormat[t.format](e,t,n,r)},items:(e,t,n,r)=>{if(t.items===!1)return Array.isArray(n)&&n.length===0?void 0:e.errors.invalidDataError({pointer:r,value:n,schema:t});let i=[];for(let a=0;a{if(!isNaN(t.maximum)){if(t.maximum&&t.maximum{if(!isNaN(t.maxItems)&&t.maxItems{if(isNaN(t.maxLength))return;let i=gi(n).length;if(t.maxLength{let i=Object.keys(n).length;if(isNaN(t.maxProperties)===!1&&t.maxProperties{if(isNaN(t.minLength))return;let i=gi(n).length;if(t.minLength>i)return t.minLength===1?e.errors.minLengthOneError({minLength:t.minLength,length:i,pointer:r,schema:t,value:n}):e.errors.minLengthError({minLength:t.minLength,length:i,pointer:r,schema:t,value:n})},minimum:(e,t,n,r)=>{if(!isNaN(t.minimum)&&(t.minimum>n||t.exclusiveMinimum===!0&&t.minimum===n))return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n})},minItems:(e,t,n,r)=>{if(!isNaN(t.minItems)&&t.minItems>n.length)return t.minItems===1?e.errors.minItemsOneError({minItems:t.minItems,length:n.length,pointer:r,schema:t,value:n}):e.errors.minItemsError({minItems:t.minItems,length:n.length,pointer:r,schema:t,value:n})},minProperties:(e,t,n,r)=>{if(isNaN(t.minProperties))return;let i=Object.keys(n).length;if(t.minProperties>i)return e.errors.minPropertiesError({minProperties:t.minProperties,length:i,pointer:r,schema:t,value:n})},multipleOf:(e,t,n,r)=>{if(isNaN(t.multipleOf)||typeof n!=`number`)return;let i=_i(n),a=_i(t.multipleOf);if(i>a)return e.errors.multipleOfError({multipleOf:t.multipleOf,value:n,pointer:r,schema:t});let o=10**a;if(Math.round(n*o)%Math.round(t.multipleOf*o)/o!==0)return e.errors.multipleOfError({multipleOf:t.multipleOf,value:n,pointer:r,schema:t})},not:(e,t,n,r)=>{let i=[];return e.validate(n,t.not,r).length===0&&i.push(e.errors.notError({value:n,not:t.not,pointer:r,schema:t})),i},oneOf:Ae,pattern:(e,t,n,r)=>{if(new RegExp(t.pattern,`u`).test(n)===!1)return e.errors.patternError({pattern:t.pattern,description:t.patternExample||t.pattern,received:n,schema:t,value:n,pointer:r})},patternProperties:(e,t,n,r)=>{let i=t.properties||{},a=t.patternProperties;if(T(a)!==`object`)return;let o=[],s=Object.keys(n),c=Object.keys(a).map(e=>({regex:new RegExp(e),patternSchema:a[e]}));return s.forEach(s=>{let l=!1;for(let t=0,i=c.length;t0&&o.push(...i)}i[s]||l===!1&&t.additionalProperties===!1&&o.push(e.errors.patternPropertiesError({key:s,pointer:r,schema:t,value:n,patterns:Object.keys(a).join(`,`)}))}),o},properties:(e,t,n,r)=>{let i=[],a=Object.keys(t.properties||{});for(let o=0;o{let i=[],a=Object.keys(t.properties||{});for(let o=0;o{if(Array.isArray(t.required)!==!1)return t.required.map(i=>{if(!bi(n,i))return e.errors.requiredPropertyError({key:i,pointer:r,schema:t,value:n})})},requiredNotEmpty:(e,t,n,r)=>{if(Array.isArray(t.required)!==!1)return t.required.map(i=>{if(n[i]==null||n[i]===``)return e.errors.valueNotEmptyError({property:i,pointer:`${r}/${i}`,schema:t,value:n})})},uniqueItems:(e,t,n,r)=>{if((Array.isArray(n)&&t.uniqueItems)===!1)return;let i=[],a=[];return n.forEach((o,s)=>{for(let c=s+1;ct.properties[n]=Si(e[n]))),t.type===`array`&&Array.isArray(e)&&(t.items=e.length===1?Si(e[0]):e.map(Si)),t}var Ci={array:(e,t,n,r,i)=>{let a=r?.[t],o=T(n.items);if(o===`object`)return nn(e,n.items,a,`${i}/${t}`)||e.resolveRef(n.items);if(o===`array`){if(n.items[t]===!0)return Si(a);if(n.items[t]===!1)return e.errors.invalidDataError({key:t,value:a,pointer:i,schema:n});if(n.items[t])return e.resolveRef(n.items[t]);if(n.additionalItems===!1)return e.errors.additionalItemsError({key:t,value:a,pointer:i,schema:n});if(n.additionalItems===!0||n.additionalItems===void 0)return Si(a);if(T(n.additionalItems)===`object`)return n.additionalItems;throw Error(`Invalid schema ${JSON.stringify(n,null,2)} for ${JSON.stringify(r,null,2)}`)}return n.additionalItems!==!1&&a?Si(a):Error(`Invalid array schema for ${t} at ${i}`)},object:(e,t,n,r,i)=>{n=nn(e,n,r,i);let a=n?.properties?.[t];if(a!==void 0){if(a===!1)return e.errors.forbiddenPropertyError({property:t,value:r,pointer:i,schema:n});if(a===!0)return Si(r?.[t]);let o=e.resolveRef(a);if(j(o))return o;if(o&&Array.isArray(o.oneOf)){let n=e.resolveOneOf(r[t],o,`${i}/${t}`);for(let e in o)e!==`oneOf`&&n[e]===void 0&&(n[e]=o[e]);return n}if(o)return o}let{patternProperties:o}=n;if(T(o)===`object`){let e,n=Object.keys(o);for(let r=0,i=n.length;re.resolveRef(t));if(n.items?.oneOf)return n.items.oneOf.map(t=>e.resolveRef(t));let r=e.step(t,n,{},`#`);return j(r)?r:[r]}var Ei={array:(e,t,n,r)=>e.typeKeywords.array.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),object:(e,t,n,r)=>e.typeKeywords.object.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),string:(e,t,n,r)=>e.typeKeywords.string.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),integer:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),number:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),boolean:(e,t,n,r)=>e.typeKeywords.boolean.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),null:(e,t,n,r)=>e.typeKeywords.null.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r))};function Di(e,t){let n=T(e);return n===`number`&&(t===`integer`||Array.isArray(t)&&t.includes(`integer`))?Number.isInteger(e)||isNaN(e)?`integer`:`number`:n}function Oi(e,t,n=e.rootSchema,r=`#`){if(n=e.resolveRef(n),T(n)===`boolean`)return n?[]:[e.errors.invalidDataError({pointer:r,schema:n,value:t})];if(j(n))return[n];if(n.const!==void 0)return(0,vi.default)(n.const,t)?[]:[e.errors.constError({pointer:r,schema:n,value:t,expected:n.const})];let i=Di(t,n.type),a=n.type||i;return i!==a&&(!Array.isArray(a)||!a.includes(i))?[e.errors.typeError({pointer:r,schema:n,value:t,received:i,expected:a})]:e.validateType[i]==null?[e.errors.invalidTypeError({pointer:r,schema:n,value:t,receivedType:i})]:k(e.validateType[i](e,n,t,r)).filter(Ee)}var ki={typeKeywords:{array:[`allOf`,`anyOf`,`enum`,`items`,`maxItems`,`minItems`,`not`,`oneOf`,`uniqueItems`],boolean:[`enum`,`not`,`allOf`,`anyOf`,`oneOf`],object:[`additionalProperties`,`dependencies`,`enum`,`format`,`minProperties`,`maxProperties`,`patternProperties`,`properties`,`required`,`not`,`oneOf`,`allOf`,`anyOf`],string:[`allOf`,`anyOf`,`enum`,`format`,`maxLength`,`minLength`,`not`,`oneOf`,`pattern`],number:[`allOf`,`anyOf`,`enum`,`format`,`maximum`,`minimum`,`multipleOf`,`not`,`oneOf`],null:[`allOf`,`anyOf`,`enum`,`format`,`not`,`oneOf`]},validateKeyword:xi,validateType:Ei,validateFormat:Qr,errors:Pr,addRemoteSchema:an,compileSchema:Mr,createSchemaOf:Si,each:Nr,eachSchema:pr,getChildSchemaSelection:Ti,getSchema:ei,getTemplate:mi,isValid:hi,resolveAllOf:Bt,resolveAnyOf:Yt,resolveOneOf:De,resolveRef:Ut,step:wi,validate:Oi,templateDefaultOptions:A.templateDefaultOptions},Ai=class extends rn{constructor(e,t={}){super(Ne(ki,t),e)}},ji=`__compiled`,Mi=`__ref`,Ni=`getRef`,Pi=`getRoot`,Fi=/(#|\/)+$/g;function Ii(e,t,n=t,r=!1){if(t===!0||t===!1||t===void 0||t[ji]!==void 0)return t;let i={ids:{},remotes:e.remotes},a=JSON.stringify(t),o=JSON.parse(a);if(Object.defineProperty(o,ji,{enumerable:!1,value:!0}),Object.defineProperty(o,Ni,{enumerable:!1,value:Tr.bind(null,i,o)}),r===!1&&a.includes(`$ref`)===!1)return o;o!==n&&Object.defineProperty(o,"$defs",{enumerable:!0,value:Object.assign({},n.definitions,n.$defs,o.definitions,o.$defs)});let s={},c=()=>o;return pr(o,(e,t)=>{if(e.$id){if(e.$id.startsWith(`http`)&&/(allOf|anyOf|oneOf)\/\d+$/.test(t)){let n=t.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,``);e.$id=(0,un.get)(o,n).$id??e.$id}i.ids[e.$id.replace(Fi,``)]=t}t=`#${t}`.replace(/##+/,`#`);let n=t.replace(/\/[^/]+$/,``),r=t.replace(/\/[^/]+\/[^/]+$/,``),a=yr(s[n]||s[r],e.$id);s[t]=a,i.ids[a]??(i.ids[a]=t),e.$ref&&!e[Mi]&&(Object.defineProperty(e,Mi,{enumerable:!1,value:yr(a,e.$ref)}),Object.defineProperty(e,Pi,{enumerable:!1,value:c}))}),o}var Li={...xi,contains:(e,t,n,r)=>{if(t.contains===!1)return e.errors.containsArrayError({pointer:r,value:n,schema:t});if(t.contains===!0)return Array.isArray(n)&&n.length===0?e.errors.containsAnyError({pointer:r,value:n,schema:t}):void 0;if(T(t.contains)===`object`){for(let r=0;r{if(!isNaN(t.exclusiveMaximum)&&t.exclusiveMaximum<=n)return e.errors.maximumError({maximum:t.exclusiveMaximum,length:n,pointer:r,schema:t,value:n})},exclusiveMinimum:(e,t,n,r)=>{if(!isNaN(t.exclusiveMinimum)&&t.exclusiveMinimum>=n)return e.errors.minimumError({minimum:t.exclusiveMinimum,length:n,pointer:r,schema:t,value:n})},if:Rt,maximum:(e,t,n,r)=>{if(!isNaN(t.maximum)&&t.maximum&&t.maximum{if(!isNaN(t.minimum)&&t.minimum>n)return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n})},patternProperties:(e,t,n,r)=>{let i=t.properties||{},a=t.patternProperties;if(T(a)!==`object`)return;let o=[],s=Object.keys(n),c=Object.keys(a).map(e=>({regex:new RegExp(e),patternSchema:a[e]}));return s.forEach(s=>{let l=!1;for(let i=0,u=c.length;i0&&o.push(...u)}i[s]||l===!1&&t.additionalProperties===!1&&o.push(e.errors.patternPropertiesError({key:s,pointer:r,patterns:Object.keys(a).join(`,`),schema:t,value:n}))}),o},propertyNames:(e,t,n,r)=>{if(t.propertyNames===!1)return Object.keys(n).length===0?void 0:e.errors.invalidPropertyNameError({property:Object.keys(n),pointer:r,value:n,schema:t});if(t.propertyNames===!0||T(t.propertyNames)!==`object`)return;let i=[],a=Object.keys(n),o={...t.propertyNames,type:`string`};return a.forEach(a=>{let s=e.validate(a,o,`${r}/${a}`);s.length>0&&i.push(e.errors.invalidPropertyNameError({property:a,pointer:r,validationError:s[0],value:n[a],schema:t}))}),i}},Ri={array:(e,t,n,r)=>e.typeKeywords.array.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),object:(e,t,n,r)=>e.typeKeywords.object.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),string:(e,t,n,r)=>e.typeKeywords.string.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),integer:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),number:(e,t,n,r)=>e.typeKeywords.number.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),boolean:(e,t,n,r)=>e.typeKeywords.boolean.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),null:(e,t,n,r)=>e.typeKeywords.null.filter(e=>t&&t[e]!=null).map(i=>e.validateKeyword[i](e,t,n,r))};A.templateDefaultOptions;var zi={typeKeywords:{array:[`allOf`,`anyOf`,`contains`,`enum`,`if`,`items`,`maxItems`,`minItems`,`not`,`oneOf`,`uniqueItems`],boolean:[`allOf`,`anyOf`,`enum`,`not`,`oneOf`],object:[`additionalProperties`,`allOf`,`anyOf`,`dependencies`,`enum`,`format`,`if`,`maxProperties`,`minProperties`,`not`,`oneOf`,`patternProperties`,`properties`,`propertyNames`,`required`],string:[`allOf`,`anyOf`,`enum`,`format`,`if`,`maxLength`,`minLength`,`not`,`oneOf`,`pattern`],number:[`allOf`,`anyOf`,`enum`,`exclusiveMaximum`,`exclusiveMinimum`,`format`,`if`,`maximum`,`minimum`,`multipleOf`,`not`,`oneOf`],null:[`allOf`,`anyOf`,`enum`,`format`,`not`,`oneOf`]},validateKeyword:Li,validateType:Ri,validateFormat:Qr,errors:Pr,addRemoteSchema:an,compileSchema:Ii,createSchemaOf:Si,each:Nr,eachSchema:pr,getChildSchemaSelection:Ti,getSchema:ei,getTemplate:mi,isValid:hi,resolveAllOf:Bt,resolveAnyOf:Yt,resolveOneOf:De,resolveRef:Ut,step:wi,validate:Oi,templateDefaultOptions:A.templateDefaultOptions},Bi=class extends rn{constructor(e,t={}){super(Ne(zi,t),e)}};({...zi});function Vi(e,t,n=[]){let r=document.createElement(e);return Object.entries(t).forEach(([e,t])=>{e===`text`?r.innerText=t:e===`inner`?r.innerHTML=t:r.setAttribute(e,t)}),n.forEach(e=>r.appendChild(e)),r}var Hi={};function Ui(e){let t=Hi[e];if(t)return t;t=Hi[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+91114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}}return t})}Wi.defaultChars=`;/?:@&=+$,#`,Wi.componentChars=``;var Gi={};function Ki(e){let t=Gi[e];if(t)return t;t=Gi[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`}else i+=encodeURIComponent(e[t])}return i}qi.defaultChars=`;/?:@&=+$,-_.!~*'()#`,qi.componentChars=`-_.!~*'()`;function Ji(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function Yi(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Xi=/^([a-z0-9.+-]+:)/i,Zi=/:[0-9]*$/,Qi=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$i=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,` `,` `],ea=[`/`,`?`,`#`],ta=255,na=/^[+a-z0-9A-Z_-]{0,63}$/,ra=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ia={javascript:!0,"javascript:":!0},aa={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function oa(e,t){if(e&&e instanceof Yi)return e;let n=new Yi;return n.parse(e,t),n}Yi.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=Qi.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=Xi.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&ia[o])&&(a=a.substr(2),this.slashes=!0)),!ia[o]&&(i||o&&!aa[o])){let e=-1;for(let t=0;t127?r+=`x`:r+=n[e];if(!r.match(na)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(ra);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>ta&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),aa[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},Yi.prototype.parseHost=function(e){let t=Zi.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var sa=r({decode:()=>Wi,encode:()=>qi,format:()=>Ji,parse:()=>oa}),ca=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,la=/[\0-\x1F\x7F-\x9F]/,ua=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,da=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,fa=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,pa=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ma=r({Any:()=>ca,Cc:()=>la,Cf:()=>ua,P:()=>da,S:()=>fa,Z:()=>pa}),ha=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),ga=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0))),_a=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),va=String.fromCodePoint??function(e){let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function ya(e){return e>=55296&&e<=57343||e>1114111?65533:_a.get(e)??e}var I;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(I||={});var ba=32,xa;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(xa||={});function Sa(e){return e>=I.ZERO&&e<=I.NINE}function Ca(e){return e>=I.UPPER_A&&e<=I.UPPER_F||e>=I.LOWER_A&&e<=I.LOWER_F}function wa(e){return e>=I.UPPER_A&&e<=I.UPPER_Z||e>=I.LOWER_A&&e<=I.LOWER_Z||Sa(e)}function Ta(e){return e===I.EQUALS||wa(e)}var L;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(L||={});var Ea;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Ea||={});var Da=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=L.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ea.Strict}startEntity(e){this.decodeMode=e,this.state=L.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case L.EntityStart:return e.charCodeAt(t)===I.NUM?(this.state=L.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=L.NamedEntity,this.stateNamedEntity(e,t));case L.NumericStart:return this.stateNumericStart(e,t);case L.NumericDecimal:return this.stateNumericDecimal(e,t);case L.NumericHex:return this.stateNumericHex(e,t);case L.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|ba)===I.LOWER_X?(this.state=L.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=L.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t>14;for(;t>14,i!==0){if(a===I.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ea.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&xa.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~xa.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case L.NamedEntity:return this.result!==0&&(this.decodeMode!==Ea.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case L.NumericDecimal:return this.emitNumericEntity(0,2);case L.NumericHex:return this.emitNumericEntity(0,3);case L.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case L.EntityStart:return 0}}};function Oa(e){let t=``,n=new Da(e,e=>t+=va(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function ka(e,t,n,r){let i=(t&xa.BRANCH_LENGTH)>>7,a=t&xa.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(nr)s=t-1;else return e[t+i]}return-1}var Aa=Oa(ha);Oa(ga);function ja(e,t=Ea.Legacy){return Aa(e,t)}function Ma(e){return Aa(e,Ea.Strict)}var Na=r({arrayReplaceAt:()=>za,asciiTrim:()=>so,assign:()=>Ra,escapeHtml:()=>Qa,escapeRE:()=>eo,fromCodePoint:()=>Va,has:()=>La,isMdAsciiPunct:()=>io,isPunctChar:()=>no,isPunctCharCode:()=>ro,isSpace:()=>R,isString:()=>Fa,isValidEntityCode:()=>Ba,isWhiteSpace:()=>to,lib:()=>co,normalizeReference:()=>ao,unescapeAll:()=>qa,unescapeMd:()=>Ka});function Pa(e){return Object.prototype.toString.call(e)}function Fa(e){return Pa(e)===`[object String]`}var Ia=Object.prototype.hasOwnProperty;function La(e,t){return Ia.call(e,t)}function Ra(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!=`object`)throw TypeError(t+`must be object`);Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function za(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Ba(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Va(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var Ha=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Ua=RegExp(Ha.source+`|&([a-z#][a-z0-9]{1,31});`,`gi`),Wa=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Ga(e,t){if(t.charCodeAt(0)===35&&Wa.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Ba(n)?Va(n):e}let n=ja(e);return n===e?e:n}function Ka(e){return e.indexOf(`\\`)<0?e:e.replace(Ha,`$1`)}function qa(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(Ua,function(e,t,n){return t||Ga(e,n)})}var Ja=/[&<>"]/,Ya=/[&<>"]/g,Xa={"&":`&`,"<":`<`,">":`>`,'"':`"`};function Za(e){return Xa[e]}function Qa(e){return Ja.test(e)?e.replace(Ya,Za):e}var $a=/[.?*+^$[\]\\(){}|-]/g;function eo(e){return e.replace($a,`\\$&`)}function R(e){switch(e){case 9:case 32:return!0}return!1}function to(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function no(e){return da.test(e)||fa.test(e)}function ro(e){return no(Va(e))}function io(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ao(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function oo(e){return e===32||e===9||e===10||e===13}function so(e){let t=0;for(;t=t&&oo(e.charCodeAt(n));n--);return e.slice(t,n+1)}var co={mdurl:sa,ucmicro:ma};function lo(e,t,n){let r,i,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0||(a.str=qa(e.slice(t,i)),a.pos=i,a.ok=!0),a}function fo(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;auo,parseLinkLabel:()=>lo,parseLinkTitle:()=>fo}),mo={};mo.code_inline=function(e,t,n,r,i){let a=e[t];return``+Qa(a.content)+``},mo.code_block=function(e,t,n,r,i){let a=e[t];return``+Qa(e[t].content)+` `},mo.fence=function(e,t,n,r,i){let a=e[t],o=a.info?qa(a.info).trim():``,s=``,c=``;if(o){let e=o.split(/(\s+)/g);s=e[0],c=e.slice(2).join(``)}let l;if(l=n.highlight&&n.highlight(a.content,s,c)||Qa(a.content),l.indexOf(`${l}\n`}return`
${l}
\n`},mo.image=function(e,t,n,r,i){let a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},mo.hardbreak=function(e,t,n){return n.xhtmlOut?`
@@ -67,11 +67,11 @@ S ::= [ ]* \f\r &>`.split(``),`\0 \f\r "&'<=>\``.split(``)],[`\0 \f\r "&'<=>\``.split(``),`\0 -\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function Wf(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=Nd);let l=Gf(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!Lf(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!xf(e,t,n))&&s.push(``),s.join(``)}function Gf(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=Kf(e,i,t[i]);r&&n.push(r)}}for(;++ruf(n,e.alternative)&&(o=e.alternative),s=o+rf(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?Uf.single:Uf.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var qf=[`<`,`&`];function Jf(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:rf(e.value,Object.assign({},r.settings.characterReferences,{subset:qf}))}function Yf(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jf(e,t,n,r)}function Xf(e,t,n,r){return r.all(e)}var Zf=Fd(`type`,{invalid:Qf,unknown:$f,handlers:{comment:cf,doctype:lf,element:Wf,raw:Yf,root:Xf,text:Jf}});function Qf(e){throw Error("Expected node, not `"+e+"`")}function $f(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var ep={},tp={},np=[];function rp(e,t){let n=t||ep,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ip,all:ap,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||id,characterReferences:n.characterReferences||tp,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?Nd:Md,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function ip(e,t,n){return Zf(e,t,n,this)}function ap(e){let t=[],n=e&&e.children||np,r=-1;for(;++rn&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return ne-t);return n.length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offsett-e.offset).sort((e,t)=>e-t);return t.length?pp(e,t):e})):e}async function hp(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function gp(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function _p(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function vp(e){let t={};return e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle&&(e.fontStyle&Ul.Italic&&(t[`font-style`]=`italic`),e.fontStyle&Ul.Bold&&(t[`font-weight`]=`bold`),e.fontStyle&Ul.Underline&&(t[`text-decoration`]=`underline`)),t}function yp(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function bp(e){let t=sp(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r[e,rd])),t)}constructor(...e){if(e.length===2){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}get scopes(){return Tp(this._stacks[this.theme])}getScopes(e=this.theme){return Tp(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.scopes}}};function Tp(e){let t=[],n=new Set;function r(e){if(n.has(e))return;n.add(e);let i=e?.nameScopesList?.scopeName;i&&t.push(i),e.parent&&r(e.parent)}return r(e),t}function Ep(e,t){if(!(e instanceof wp))throw new J(`Invalid grammar state`);return e.getInternalStack(t)}function Dp(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new J(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(t===void 0)throw new J(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);if(e.character<0||e.character>t.length)throw new J(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,offset:r.posToIndex(e.line,e.character)}}},r=bp(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));Op(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:`shiki:decorations`,tokens(e){if(this.options.decorations?.length)return mp(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>e.type===`element`&&e.tagName===`span`);if(r.length!==n.converter.lines.length)throw new J(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let a=r[e],s=``,c=-1,l=-1;if(t===0&&(c=0),n===0&&(l=0),n===1/0&&(l=a.children.length),c===-1||l===-1)for(let e=0;ee);return e.tagName=t.tagName||`span`,e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&fp(e,t.properties.class),e=i(e,n)||e,e}let s=[],c=n.decorations.sort((e,t)=>t.start.offset-e.start.offset);for(let e of c){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.linea(r,e));i(n.line,0,n.character,e)}}s.forEach(e=>e())}}}function Op(e){for(let t=0;tn.end.offset)throw new J(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;rNumber.parseInt(e));r.length===3&&!r.some(e=>Number.isNaN(e))&&(i={type:`rgb`,rgb:r})}else if(r===`5`){let r=Number.parseInt(e[t+n]);Number.isNaN(r)||(i={type:`table`,index:Number(r)})}return[n,i]}function Ip(e){let t=[];for(let n=0;n=90&&i<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:Mp[i-90+8]}}):i>=100&&i<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:Mp[i-100+8]}})}}return t}function Lp(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=Pp(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=Ip(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(aMath.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e[t,e.colors?.[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]]))),o=Lp();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=_p(i,r),o=_p(o,r),n.decorations.has(`dim`)&&(i=Vp(i));let s=Ul.None;return n.decorations.has(`bold`)&&(s|=Ul.Bold),n.decorations.has(`italic`)&&(s|=Ul.Italic),n.decorations.has(`underline`)&&(s|=Ul.Underline),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function Vp(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,`0`);return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(e=>`${e}${e}`).join(``)}80`}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Hp(e,t,n={}){let{lang:r=`text`,theme:i=e.getLoadedThemes()[0]}=n;if(cp(r)||up(i))return sp(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:a,colorMap:o}=e.setTheme(i);if(r===`ansi`)return Bp(a,t,n);let s=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==s.name)throw new $c(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(a.name))throw new $c(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return Wp(t,s,a,o,n)}function Up(...e){if(e.length===2)return Cp(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(cp(i)||up(a))throw new $c(`Plain language does not have grammar state`);if(i===`ansi`)throw new $c(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new wp(Gp(n,c,o,s,r).stateStack,c.name,o.name)}function Wp(e,t,n,r,i){let a=Gp(e,t,n,r,i),o=new wp(Gp(e,t,n,r,i).stateStack,t.name,n.name);return Sp(a.tokens,o),a.tokens}function Gp(e,t,n,r,i){let a=gp(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500}=i,c=sp(e),l=i.grammarState?Ep(i.grammarState,n.name)??rd:i.grammarContextCode==null?rd:Gp(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,u=[],d=[];for(let e=0,f=c.length;e0&&f.length>=o){u=[],d.push([{content:f,offset:p,color:``,fontStyle:0}]);continue}let m,h,g;i.includeExplanation&&(m=t.tokenizeLine(f,l),h=m.tokens,g=0);let _=t.tokenizeLine2(f,l,s),v=_.tokens.length/2;for(let e=0;ee.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r({scopeName:e}))}function qp(e,t){let n=[];for(let r=0,i=t.length;r=0&&i>=0;)Jp(e[r],n[i])&&--r,--i;return r===-1}function Xp(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(Yp(e,t,n)){r.push(a);break}return r}function Zp(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=Hp(e,t,{...n,theme:r.theme});return{tokens:i,state:Cp(i),theme:typeof r.theme==`string`?r.theme:r.theme.name}}),a=Qp(...i.map(e=>e.tokens)),o=a[0].map((e,t)=>e.map((e,i)=>{let o={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(o.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:s,offset:c,...l}=e[t][i];o.variants[r[n].color]=l}),o})),s=i[0].state?new wp(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return s&&Sp(o,s),o}function Qp(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;re[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;te[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===l?-1:+(t.color===l));if(d.length===0)throw new $c("`themes` option must not be empty");let f=Zp(e,t,n);if(c=Cp(f),l&&!d.find(e=>e.color===l))throw new $c(`\`themes\` option must contain the defaultColor key \`${l}\``);let p=d.map(t=>e.getTheme(t.theme)),m=d.map(e=>e.color);a=f.map(e=>e.map(e=>em(e,m,u,l))),c&&Sp(a,c);let h=d.map(e=>gp(e.theme,n));i=d.map((e,t)=>(t===0&&l?``:`${u+e.color}:`)+(_p(p[t].fg,h[t])||`inherit`)).join(`;`),r=d.map((e,t)=>(t===0&&l?``:`${u+e.color}-bg:`)+(_p(p[t].bg,h[t])||`inherit`)).join(`;`),o=`shiki-themes ${p.map(e=>e.name).join(` `)}`,s=l?void 0:[i,r].join(`;`)}else if(`theme`in n){let s=gp(n.theme,n);a=Hp(e,t,n);let l=e.getTheme(n.theme);r=_p(l.bg,s),i=_p(l.fg,s),o=l.name,c=Cp(a)}else throw new $c("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function em(e,t,n,r){let i={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(t=>vp(e.variants[t])),o=new Set(a.flatMap(e=>Object.keys(e))),s={};return a.forEach((e,i)=>{for(let a of o){let o=e[a]||`inherit`;if(i===0&&r)s[a]=o;else{let e=a===`color`?``:a===`background-color`?`-bg`:`-${a}`,r=n+t[i]+(a===`color`?``:e);s[r]=o}}}),i.htmlStyle=s,i}function tm(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>tm(e,t,n),codeToTokens:(t,n)=>$p(e,t,n)}){let i=t;for(let e of jp(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:s,themeName:c,rootStyle:l,grammarState:u}=$p(e,i,n),{mergeWhitespaces:d=!0}=n;d===!0?a=rm(a):d===`never`&&(a=im(a));let f={...r,get source(){return i}};for(let e of jp(n))a=e.tokens?.call(f,a)||a;return nm(a,{...n,fg:o,bg:s,themeName:c,rootStyle:l},f,u)}function nm(e,t,n,r=Cp(e)){let i=jp(t),a=[],o={type:`root`,children:[]},{structure:s=`classic`,tabindex:c=`0`}=t,l={type:`element`,tagName:`pre`,properties:{class:`shiki ${t.themeName||``}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...c!==!1&&c!=null?{tabindex:c.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith(`_`)))},children:[]},u={type:`element`,tagName:`code`,properties:{},children:a},d=[],f={...n,structure:s,addClassToHast:fp,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return l},get code(){return u},get lines(){return d}};if(e.forEach((e,t)=>{t&&(s===`inline`?o.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):s===`classic`&&a.push({type:`text`,value:` -`}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let a of e){let e={type:`element`,tagName:`span`,properties:{...a.htmlAttrs},children:[{type:`text`,value:a.content}]};a.htmlStyle;let c=yp(a.htmlStyle||vp(a));c&&(e.properties.style=c);for(let o of i)e=o?.span?.call(f,e,t+1,r,n,a)||e;s===`inline`?o.children.push(e):s===`classic`&&n.children.push(e),r+=a.content.length}if(s===`classic`){for(let e of i)n=e?.line?.call(f,n,t+1)||n;d.push(n),a.push(n)}}),s===`classic`){for(let e of i)u=e?.code?.call(f,u)||u;l.children.push(u);for(let e of i)l=e?.pre?.call(f,l)||l;o.children.push(l)}let p=o;for(let e of i)p=e?.root?.call(f,p)||p;return r&&Sp(p,r),p}function rm(e){return e.map(e=>{let t=[],n=``,r=0;return e.forEach((i,a)=>{let o=!(i.fontStyle&&i.fontStyle&Ul.Underline);o&&i.content.match(/^\s+$/)&&e[a+1]?(r||=i.offset,n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=0,n=``):t.push(i)}),t})}function im(e){return e.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function am(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>tm(e,t,n),codeToTokens:(t,n)=>$p(e,t,n)},i=rp(tm(e,t,n,r));for(let e of jp(n))i=e.postprocess?.call(r,i,n)||i;return i}var om={light:`#333333`,dark:`#bbbbbb`},sm={light:`#fffffe`,dark:`#1e1e1e`},cm=`__shiki_resolved`;function lm(e){if(e?.[cm])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||=`dark`,t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t?.colors?.[`editor.background`]&&(n=t.colors[`editor.background`]),r||=t.type===`light`?om.light:om.dark,n||=t.type===`light`?sm.light:sm.dark,t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,`0`).toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith(`#`),r=e.settings?.background&&!e.settings.background.startsWith(`#`);if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i});for(let e of Object.keys(t.colors||{}))if((e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`))&&!t.colors[e]?.startsWith(`#`)){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,cm,{enumerable:!1,writable:!1,value:!0}),t}async function um(e){return Array.from(new Set((await Promise.all(e.filter(e=>!lp(e)).map(async e=>await hp(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function dm(e){return(await Promise.all(e.map(async e=>dp(e)?null:lm(await hp(e))))).filter(e=>!!e)}var fm=class extends nd{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=lm(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||=[...this._resolvedThemes.keys()],this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=Il.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new J(`Circular alias \`${Array.from(t).join(` -> `)} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new J(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])],this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}},pm=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},mm=0;function hm(e){mm+=1,e.warnings!==!1&&mm>=10&&mm%10==0&&console.warn(`[Shiki] ${mm} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new J("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(lm),i=new fm(new pm(e.engine,n),r,n,e.langAlias),a;function o(e){h();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new J(`Language \`${e}\` not found, you may need to load it first`);return t}function s(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};h();let t=i.getTheme(e);if(!t)throw new J(`Theme \`${e}\` not found, you may need to load it first`);return t}function c(e){h();let t=s(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function l(){return h(),i.getLoadedThemes()}function u(){return h(),i.getLoadedLanguages()}function d(...e){h(),i.loadLanguages(e.flat(1))}async function f(...e){return d(await um(e))}function p(...e){h();for(let t of e.flat(1))i.loadTheme(t)}async function m(...e){return h(),p(await dm(e))}function h(){if(t)throw new J(`Shiki instance has been disposed`)}function g(){t||(t=!0,i.dispose(),--mm)}return{setTheme:c,getTheme:s,getLanguage:o,getLoadedThemes:l,getLoadedLanguages:u,loadLanguage:f,loadLanguageSync:d,loadTheme:m,loadThemeSync:p,dispose:g,[Symbol.dispose]:g}}async function gm(e={}){e.loadWasm;let[t,n,r]=await Promise.all([dm(e.themes||[]),um(e.langs||[]),e.engine||Sl(e.loadWasm||void 0)]);return hm({...e,loadWasm:void 0,themes:t,langs:n,engine:r})}async function _m(e={}){let t=await gm(e);return{getLastGrammarState:(...e)=>Up(t,...e),codeToTokensBase:(e,n)=>Hp(t,e,n),codeToTokensWithThemes:(e,n)=>Zp(t,e,n),codeToTokens:(e,n)=>$p(t,e,n),codeToHast:(e,n)=>tm(t,e,n),codeToHtml:(e,n)=>am(t,e,n),...t,getInternalContext:()=>t}}var vm=Xc({linkify:!0,typographer:!0});(async()=>{let e=await _m({themes:[f(()=>import(`./vitesse-light-VbXTXTou.js`),[],import.meta.url),f(()=>import(`./vitesse-dark-BZCL-v6S.js`),[],import.meta.url)],langs:[f(()=>import(`./javascript-CppQSorr.js`),[],import.meta.url)]});vm.use(Qc(e,{themes:{light:`vitesse-light`,dark:`vitesse-dark`}}))})();function ym(e,t=!0){return t?vm.renderInline(e):vm.render(e)}var bm=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.stripComments=e.enableErrorLogging=e.disableErrorLogging=e.setErrorLogger=void 0;var t=console.error;function n(e){t=e}e.setErrorLogger=n;function r(){t=()=>{}}e.disableErrorLogging=r;function i(){t=console.error}e.enableErrorLogging=i;function a(e){let t=[],n=!1,r=``,i=!1,a=!1,o=!1,s=!1,c=!1,l=0;for(let u of e){if(n){if(i){i=!1,t.push(u);continue}if(u===`\\`){i=!0,t.push(u);continue}if(u===r){n=!1,t.push(u);continue}t.push(u);continue}if(a){if(u===` +\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function Wf(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=Nd);let l=Gf(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),!l&&a&&Lf(e,t,n)||(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),o||a&&xf(e,t,n)||s.push(``),s.join(``)}function Gf(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=Kf(e,i,t[i]);r&&n.push(r)}}for(;++ruf(n,e.alternative)&&(o=e.alternative),s=o+rf(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?Uf.single:Uf.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var qf=[`<`,`&`];function Jf(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:rf(e.value,Object.assign({},r.settings.characterReferences,{subset:qf}))}function Yf(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jf(e,t,n,r)}function Xf(e,t,n,r){return r.all(e)}var Zf=Fd(`type`,{invalid:Qf,unknown:$f,handlers:{comment:cf,doctype:lf,element:Wf,raw:Yf,root:Xf,text:Jf}});function Qf(e){throw Error("Expected node, not `"+e+"`")}function $f(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var ep={},tp={},np=[];function rp(e,t){let n=t||ep,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ip,all:ap,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||id,characterReferences:n.characterReferences||tp,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?Nd:Md,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function ip(e,t,n){return Zf(e,t,n,this)}function ap(e){let t=[],n=e&&e.children||np,r=-1;for(;++rn&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return ne-t);return n.length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offsett-e.offset).sort((e,t)=>e-t);return t.length?pp(e,t):e})):e}async function hp(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function gp(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function _p(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function vp(e){let t={};return e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle&&(e.fontStyle&Ul.Italic&&(t[`font-style`]=`italic`),e.fontStyle&Ul.Bold&&(t[`font-weight`]=`bold`),e.fontStyle&Ul.Underline&&(t[`text-decoration`]=`underline`)),t}function yp(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function bp(e){let t=sp(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r[e,rd])),t)}constructor(...e){if(e.length===2){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}get scopes(){return Tp(this._stacks[this.theme])}getScopes(e=this.theme){return Tp(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.scopes}}};function Tp(e){let t=[],n=new Set;function r(e){if(n.has(e))return;n.add(e);let i=e?.nameScopesList?.scopeName;i&&t.push(i),e.parent&&r(e.parent)}return r(e),t}function Ep(e,t){if(!(e instanceof wp))throw new J(`Invalid grammar state`);return e.getInternalStack(t)}function Dp(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new J(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(t===void 0)throw new J(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);if(e.character<0||e.character>t.length)throw new J(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,offset:r.posToIndex(e.line,e.character)}}},r=bp(t.source),i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));Op(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:`shiki:decorations`,tokens(e){if(this.options.decorations?.length)return mp(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>e.type===`element`&&e.tagName===`span`);if(r.length!==n.converter.lines.length)throw new J(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let a=r[e],s=``,c=-1,l=-1;if(t===0&&(c=0),n===0&&(l=0),n===1/0&&(l=a.children.length),c===-1||l===-1)for(let e=0;ee);return e.tagName=t.tagName||`span`,e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&fp(e,t.properties.class),e=i(e,n)||e,e}let s=[],c=n.decorations.sort((e,t)=>t.start.offset-e.start.offset);for(let e of c){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.linea(r,e));i(n.line,0,n.character,e)}}s.forEach(e=>e())}}}function Op(e){for(let t=0;tn.end.offset)throw new J(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;rNumber.parseInt(e));r.length===3&&!r.some(e=>Number.isNaN(e))&&(i={type:`rgb`,rgb:r})}else if(r===`5`){let r=Number.parseInt(e[t+n]);Number.isNaN(r)||(i={type:`table`,index:Number(r)})}return[n,i]}function Ip(e){let t=[];for(let n=0;n=90&&i<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:Mp[i-90+8]}}):i>=100&&i<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:Mp[i-100+8]}})}}return t}function Lp(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=Pp(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=Ip(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(aMath.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e[t,e.colors?.[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]]))),o=Lp();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=_p(i,r),o=_p(o,r),n.decorations.has(`dim`)&&(i=Vp(i));let s=Ul.None;return n.decorations.has(`bold`)&&(s|=Ul.Bold),n.decorations.has(`italic`)&&(s|=Ul.Italic),n.decorations.has(`underline`)&&(s|=Ul.Underline),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function Vp(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,`0`);return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(e=>`${e}${e}`).join(``)}80`}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Hp(e,t,n={}){let{lang:r=`text`,theme:i=e.getLoadedThemes()[0]}=n;if(cp(r)||up(i))return sp(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:a,colorMap:o}=e.setTheme(i);if(r===`ansi`)return Bp(a,t,n);let s=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==s.name)throw new $c(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(a.name))throw new $c(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return Wp(t,s,a,o,n)}function Up(...e){if(e.length===2)return Cp(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(cp(i)||up(a))throw new $c(`Plain language does not have grammar state`);if(i===`ansi`)throw new $c(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new wp(Gp(n,c,o,s,r).stateStack,c.name,o.name)}function Wp(e,t,n,r,i){let a=Gp(e,t,n,r,i),o=new wp(Gp(e,t,n,r,i).stateStack,t.name,n.name);return Sp(a.tokens,o),a.tokens}function Gp(e,t,n,r,i){let a=gp(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500}=i,c=sp(e),l=i.grammarState?Ep(i.grammarState,n.name)??rd:i.grammarContextCode==null?rd:Gp(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,u=[],d=[];for(let e=0,f=c.length;e0&&f.length>=o){u=[],d.push([{content:f,offset:p,color:``,fontStyle:0}]);continue}let m,h,g;i.includeExplanation&&(m=t.tokenizeLine(f,l),h=m.tokens,g=0);let _=t.tokenizeLine2(f,l,s),v=_.tokens.length/2;for(let e=0;ee.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}d.explanation=[];let r=0;for(;t+r({scopeName:e}))}function qp(e,t){let n=[];for(let r=0,i=t.length;r=0&&i>=0;)Jp(e[r],n[i])&&--r,--i;return r===-1}function Xp(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(Yp(e,t,n)){r.push(a);break}return r}function Zp(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=r.map(r=>{let i=Hp(e,t,{...n,theme:r.theme});return{tokens:i,state:Cp(i),theme:typeof r.theme==`string`?r.theme:r.theme.name}}),a=Qp(...i.map(e=>e.tokens)),o=a[0].map((e,t)=>e.map((e,i)=>{let o={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(o.explanation=e.explanation),a.forEach((e,n)=>{let{content:a,explanation:s,offset:c,...l}=e[t][i];o.variants[r[n].color]=l}),o})),s=i[0].state?new wp(Object.fromEntries(i.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),i[0].state.lang):void 0;return s&&Sp(o,s),o}function Qp(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;re[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;te[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===l?-1:+(t.color===l));if(d.length===0)throw new $c("`themes` option must not be empty");let f=Zp(e,t,n);if(c=Cp(f),l&&!d.find(e=>e.color===l))throw new $c(`\`themes\` option must contain the defaultColor key \`${l}\``);let p=d.map(t=>e.getTheme(t.theme)),m=d.map(e=>e.color);a=f.map(e=>e.map(e=>em(e,m,u,l))),c&&Sp(a,c);let h=d.map(e=>gp(e.theme,n));i=d.map((e,t)=>(t===0&&l?``:`${u+e.color}:`)+(_p(p[t].fg,h[t])||`inherit`)).join(`;`),r=d.map((e,t)=>(t===0&&l?``:`${u+e.color}-bg:`)+(_p(p[t].bg,h[t])||`inherit`)).join(`;`),o=`shiki-themes ${p.map(e=>e.name).join(` `)}`,s=l?void 0:[i,r].join(`;`)}else if(`theme`in n){let s=gp(n.theme,n);a=Hp(e,t,n);let l=e.getTheme(n.theme);r=_p(l.bg,s),i=_p(l.fg,s),o=l.name,c=Cp(a)}else throw new $c("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function em(e,t,n,r){let i={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(t=>vp(e.variants[t])),o=new Set(a.flatMap(e=>Object.keys(e))),s={};return a.forEach((e,i)=>{for(let a of o){let o=e[a]||`inherit`;if(i===0&&r)s[a]=o;else{let e=a===`color`?``:a===`background-color`?`-bg`:`-${a}`,r=n+t[i]+(a===`color`?``:e);s[r]=o}}}),i.htmlStyle=s,i}function tm(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>tm(e,t,n),codeToTokens:(t,n)=>$p(e,t,n)}){let i=t;for(let e of jp(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:s,themeName:c,rootStyle:l,grammarState:u}=$p(e,i,n),{mergeWhitespaces:d=!0}=n;d===!0?a=rm(a):d===`never`&&(a=im(a));let f={...r,get source(){return i}};for(let e of jp(n))a=e.tokens?.call(f,a)||a;return nm(a,{...n,fg:o,bg:s,themeName:c,rootStyle:l},f,u)}function nm(e,t,n,r=Cp(e)){let i=jp(t),a=[],o={type:`root`,children:[]},{structure:s=`classic`,tabindex:c=`0`}=t,l={type:`element`,tagName:`pre`,properties:{class:`shiki ${t.themeName||``}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...c!==!1&&c!=null?{tabindex:c.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith(`_`)))},children:[]},u={type:`element`,tagName:`code`,properties:{},children:a},d=[],f={...n,structure:s,addClassToHast:fp,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return l},get code(){return u},get lines(){return d}};if(e.forEach((e,t)=>{t&&(s===`inline`?o.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):s===`classic`&&a.push({type:`text`,value:` +`}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let a of e){let e={type:`element`,tagName:`span`,properties:{...a.htmlAttrs},children:[{type:`text`,value:a.content}]};a.htmlStyle;let c=yp(a.htmlStyle||vp(a));c&&(e.properties.style=c);for(let o of i)e=o?.span?.call(f,e,t+1,r,n,a)||e;s===`inline`?o.children.push(e):s===`classic`&&n.children.push(e),r+=a.content.length}if(s===`classic`){for(let e of i)n=e?.line?.call(f,n,t+1)||n;d.push(n),a.push(n)}}),s===`classic`){for(let e of i)u=e?.code?.call(f,u)||u;l.children.push(u);for(let e of i)l=e?.pre?.call(f,l)||l;o.children.push(l)}let p=o;for(let e of i)p=e?.root?.call(f,p)||p;return r&&Sp(p,r),p}function rm(e){return e.map(e=>{let t=[],n=``,r=0;return e.forEach((i,a)=>{let o=!(i.fontStyle&&i.fontStyle&Ul.Underline);o&&i.content.match(/^\s+$/)&&e[a+1]?(r||=i.offset,n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=0,n=``):t.push(i)}),t})}function im(e){return e.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function am(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>tm(e,t,n),codeToTokens:(t,n)=>$p(e,t,n)},i=rp(tm(e,t,n,r));for(let e of jp(n))i=e.postprocess?.call(r,i,n)||i;return i}var om={light:`#333333`,dark:`#bbbbbb`},sm={light:`#fffffe`,dark:`#1e1e1e`},cm=`__shiki_resolved`;function lm(e){if(e?.[cm])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||=`dark`,t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t?.colors?.[`editor.background`]&&(n=t.colors[`editor.background`]),r||=t.type===`light`?om.light:om.dark,n||=t.type===`light`?sm.light:sm.dark,t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,`0`).toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith(`#`),r=e.settings?.background&&!e.settings.background.startsWith(`#`);if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i});for(let e of Object.keys(t.colors||{}))if((e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`))&&!t.colors[e]?.startsWith(`#`)){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,cm,{enumerable:!1,writable:!1,value:!0}),t}async function um(e){return Array.from(new Set((await Promise.all(e.filter(e=>!lp(e)).map(async e=>await hp(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function dm(e){return(await Promise.all(e.map(async e=>dp(e)?null:lm(await hp(e))))).filter(e=>!!e)}var fm=class extends nd{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=lm(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||=[...this._resolvedThemes.keys()],this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=Il.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new J(`Circular alias \`${Array.from(t).join(` -> `)} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new J(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])],this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}},pm=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},mm=0;function hm(e){mm+=1,e.warnings!==!1&&mm>=10&&mm%10==0&&console.warn(`[Shiki] ${mm} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new J("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(lm),i=new fm(new pm(e.engine,n),r,n,e.langAlias),a;function o(e){h();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new J(`Language \`${e}\` not found, you may need to load it first`);return t}function s(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};h();let t=i.getTheme(e);if(!t)throw new J(`Theme \`${e}\` not found, you may need to load it first`);return t}function c(e){h();let t=s(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function l(){return h(),i.getLoadedThemes()}function u(){return h(),i.getLoadedLanguages()}function d(...e){h(),i.loadLanguages(e.flat(1))}async function f(...e){return d(await um(e))}function p(...e){h();for(let t of e.flat(1))i.loadTheme(t)}async function m(...e){return h(),p(await dm(e))}function h(){if(t)throw new J(`Shiki instance has been disposed`)}function g(){t||(t=!0,i.dispose(),--mm)}return{setTheme:c,getTheme:s,getLanguage:o,getLoadedThemes:l,getLoadedLanguages:u,loadLanguage:f,loadLanguageSync:d,loadTheme:m,loadThemeSync:p,dispose:g,[Symbol.dispose]:g}}async function gm(e={}){e.loadWasm;let[t,n,r]=await Promise.all([dm(e.themes||[]),um(e.langs||[]),e.engine||Sl(e.loadWasm||void 0)]);return hm({...e,loadWasm:void 0,themes:t,langs:n,engine:r})}async function _m(e={}){let t=await gm(e);return{getLastGrammarState:(...e)=>Up(t,...e),codeToTokensBase:(e,n)=>Hp(t,e,n),codeToTokensWithThemes:(e,n)=>Zp(t,e,n),codeToTokens:(e,n)=>$p(t,e,n),codeToHast:(e,n)=>tm(t,e,n),codeToHtml:(e,n)=>am(t,e,n),...t,getInternalContext:()=>t}}var vm=Xc({linkify:!0,typographer:!0});(async()=>{let e=await _m({themes:[d(()=>import(`./vitesse-light-VbXTXTou.js`),[],import.meta.url),d(()=>import(`./vitesse-dark-BZCL-v6S.js`),[],import.meta.url)],langs:[d(()=>import(`./javascript-CppQSorr.js`),[],import.meta.url)]});vm.use(Qc(e,{themes:{light:`vitesse-light`,dark:`vitesse-dark`}}))})();function ym(e,t=!0){return t?vm.renderInline(e):vm.render(e)}var bm=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.stripComments=e.enableErrorLogging=e.disableErrorLogging=e.setErrorLogger=void 0;var t=console.error;function n(e){t=e}e.setErrorLogger=n;function r(){t=()=>{}}e.disableErrorLogging=r;function i(){t=console.error}e.enableErrorLogging=i;function a(e){let t=[],n=!1,r=``,i=!1,a=!1,o=!1,s=!1,c=!1,l=0;for(let u of e){if(n){if(i){i=!1,t.push(u);continue}if(u===`\\`){i=!0,t.push(u);continue}if(u===r){n=!1,t.push(u);continue}t.push(u);continue}if(a){if(u===` `){a=!1;continue}continue}let e=t.length,d=e===0?``:t[e-1];if(o){if(u===`*`){s=!0;continue}if(s&&u===`/`){o=!1;continue}s=!1}else if(c){if(u===`-`){l++;continue}if(l>=2&&u===`>`){c=!1;continue}l=0}else d===`/`&&u===`/`?(t.pop(),a=!0):d===`/`&&u===`*`?(t.pop(),o=!0,s=!1):u===`"`||u===`'`||u==="`"?(n=!0,r=u,i=!1,t.push(u)):e>=4&&u===`-`&&t[e-1]===`-`&&t[e-2]===`!`&&t[e-3]===`<`?(c=!0,t.pop(),t.pop(),t.pop()):t.push(u)}return t.join(``)}e.stripComments=a;function o(e){if(e!==void 0){if(e===null)return null;if(e===``)return``;e=a(e),e=e.replace(/\\+$/,e=>e.length%2==0?e:e.slice(0,-1));try{let t=JSON.parse(e);return o.lastParseReminding=``,t}catch(t){let n=e.trimStart(),[r,i]=n[0]===`:`?s(e,t,void 0):n.includes("```")?c(e,t,void 0):s(e,t,b);if(r===``&&e.length>0&&e.includes("```"))return c(e,t,void 0);if(o.lastParseReminding=i,o.onExtraToken&&i.length>0){let t=i.trimEnd();o.lastParseReminding=t,t.length>0&&o.onExtraToken(e,r,t)}return r}}}e.parse=o,(function(e){e.onExtraToken=(e,n,r)=>{t(`parsed json with extra tokens:`,{text:e,data:n,reminding:r})}})(o=e.parse||={});function s(e,n,r){let i=u[e[0]];if((!i||i===S&&!re(e,`true`)||i===ee&&!re(e,`false`)||i===te&&!re(e,`null`))&&(i=r),!i)throw t(`no parser registered for ${JSON.stringify(e[0])}:`,{s:e}),n;return i(e,n,r)}function c(e,t,n){let r=e.indexOf("```"),i=e.indexOf("```json"),[a,o]=s(r===i?e.substring(i+7):e.substring(r+3),t,n),c=o.trimStart();return c.startsWith("```")&&(c=c.substring(3).trimStart()),[a,c]}function l(e,t,n,r){return e[0]===`"`?g(e):e[0]===`'`?v(e):e[0]==="`"?y(e):b(e,t,n,r)}var u={};function d(e){return e.trimLeft()}u[` `]=f,u[`\r`]=f,u[` `]=f,u[` `]=f;function f(e,t,n){return e=d(e),s(e,t,n)}u[`[`]=p;function p(e,t,n){e=e.substr(1);let r=[];for(e=d(e);e.length>0;){if(e[0]===`]`){e=e.substr(1);break}let i=s(e,t,(e,t)=>b(e,t,n,[`,`,`]`]));r.push(i[0]),e=i[1],e=d(e),e[0]===`,`&&(e=e.substring(1),e=d(e))}return[r,e]}for(let e of`0123456789.-`)u[e]=m;function m(e){for(let t=0;t{let n=e.indexOf(t);return n===-1?e.length:n}));return[e.substring(0,i).trim(),e.substring(i)]}u[`{`]=x;function x(e,t,n){e=e.substr(1);let r={};for(e=d(e);e.length>0;){if(e[0]===`}`){e=e.substr(1);break}let i=l(e,t,n,[`:`,`}`]),a=i[0];if(e=i[1],e=d(e),e[0]!==`:`||(e=e.substr(1),e=d(e),e.length===0)){r[a]=void 0;break}let o=s(e,t,n);r[a]=o[0],e=o[1],e=d(e),e[0]===`,`&&(e=e.substr(1),e=d(e))}return[r,e]}u.t=S;function S(e,t){return ne(e,`true`,!0,t)}u.f=ee;function ee(e,t){return ne(e,`false`,!1,t)}u.n=te;function te(e,t){return ne(e,`null`,null,t)}function ne(e,n,r,i){for(let a=n.length;a>=1;a--){if(e.startsWith(n.slice(0,a)))return[r,e.slice(a)];if(e.length>=a)throw t(`expect token "${n}" but got "${e.slice(0,a)}"`),i}{let r=JSON.stringify(e.slice(0,n.length));throw t(`unknown token starting with ${r}:`,{s:e}),i}}var C=` \r -{}[],:"'\``;function re(e,t){if(e.length>t.length&&!C.includes(e[t.length]))return!1;for(let n=Math.min(e.length,t.length);n>=1;n--){if(e.startsWith(t.slice(0,n)))return!0;if(e.length>=n)return!1}return!1}}))();function xm(e){let t=null;try{t=JSON.parse(e.doc.toString())}catch{try{t=(0,bm.parse)(e.doc.toString())}catch{}}let n=te(e,b.JSON);return{data:t,pointers:n}}var Sm=c(n(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):n.JSON5=r()})(e,(function(){function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}var t=e(function(e){var t=e.exports=typeof window<`u`&&window.Math==Math?window:typeof self<`u`&&self.Math==Math?self:Function(`return this`)();typeof __g==`number`&&(__g=t)}),n=e(function(e){var t=e.exports={version:`2.6.5`};typeof __e==`number`&&(__e=t)});n.version;var r=function(e){return typeof e==`object`?e!==null:typeof e==`function`},i=function(e){if(!r(e))throw TypeError(e+` is not an object!`);return e},a=function(e){try{return!!e()}catch{return!0}},o=!a(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),s=t.document,c=r(s)&&r(s.createElement),l=function(e){return c?s.createElement(e):{}},u=!o&&!a(function(){return Object.defineProperty(l(`div`),"a",{get:function(){return 7}}).a!=7}),d=function(e,t){if(!r(e))return e;var n,i;if(t&&typeof(n=e.toString)==`function`&&!r(i=n.call(e))||typeof(n=e.valueOf)==`function`&&!r(i=n.call(e))||!t&&typeof(n=e.toString)==`function`&&!r(i=n.call(e)))return i;throw TypeError(`Can't convert object to primitive value`)},f=Object.defineProperty,p={f:o?Object.defineProperty:function(e,t,n){if(i(e),t=d(t,!0),i(n),u)try{return f(e,t,n)}catch{}if(`get`in n||`set`in n)throw TypeError(`Accessors not supported!`);return`value`in n&&(e[t]=n.value),e}},m=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},h=o?function(e,t,n){return p.f(e,t,m(1,n))}:function(e,t,n){return e[t]=n,e},g={}.hasOwnProperty,_=function(e,t){return g.call(e,t)},v=0,y=Math.random(),b=function(e){return`Symbol(${e===void 0?``:e})_${(++v+y).toString(36)}`},x=e(function(e){var r=`__core-js_shared__`,i=t[r]||(t[r]={});(e.exports=function(e,t){return i[e]||(i[e]=t===void 0?{}:t)})(`versions`,[]).push({version:n.version,mode:`global`,copyright:`© 2019 Denis Pushkarev (zloirock.ru)`})})(`native-function-to-string`,Function.toString),S=e(function(e){var r=b(`src`),i=`toString`,a=(``+x).split(i);n.inspectSource=function(e){return x.call(e)},(e.exports=function(e,n,i,o){var s=typeof i==`function`;s&&(_(i,`name`)||h(i,`name`,n)),e[n]!==i&&(s&&(_(i,r)||h(i,r,e[n]?``+e[n]:a.join(String(n)))),e===t?e[n]=i:o?e[n]?e[n]=i:h(e,n,i):(delete e[n],h(e,n,i)))})(Function.prototype,i,function(){return typeof this==`function`&&this[r]||x.call(this)})}),ee=function(e){if(typeof e!=`function`)throw TypeError(e+` is not a function!`);return e},te=function(e,t,n){if(ee(e),t===void 0)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},ne=`prototype`,C=function(e,r,i){var a=e&C.F,o=e&C.G,s=e&C.S,c=e&C.P,l=e&C.B,u=o?t:s?t[r]||(t[r]={}):(t[r]||{})[ne],d=o?n:n[r]||(n[r]={}),f=d[ne]||(d[ne]={}),p,m,g,_;for(p in o&&(i=r),i)m=!a&&u&&u[p]!==void 0,g=(m?u:i)[p],_=l&&m?te(g,t):c&&typeof g==`function`?te(Function.call,g):g,u&&S(u,p,g,e&C.U),d[p]!=g&&h(d,p,_),c&&f[p]!=g&&(f[p]=g)};t.core=n,C.F=1,C.G=2,C.S=4,C.P=8,C.B=16,C.W=32,C.U=64,C.R=128;var re=C,ie=Math.ceil,ae=Math.floor,oe=function(e){return isNaN(e=+e)?0:(e>0?ae:ie)(e)},se=function(e){if(e==null)throw TypeError(`Can't call method on `+e);return e},ce=function(e){return function(t,n){var r=String(se(t)),i=oe(n),a=r.length,o,s;return i<0||i>=a?e?``:void 0:(o=r.charCodeAt(i),o<55296||o>56319||i+1===a||(s=r.charCodeAt(i+1))<56320||s>57343?e?r.charAt(i):o:e?r.slice(i,i+2):(o-55296<<10)+(s-56320)+65536)}}(!1);re(re.P,`String`,{codePointAt:function(e){return ce(this,e)}}),n.String.codePointAt;var le=Math.max,ue=Math.min,de=function(e,t){return e=oe(e),e<0?le(e+t,0):ue(e,t)},fe=String.fromCharCode,pe=String.fromCodePoint;re(re.S+re.F*(!!pe&&pe.length!=1),`String`,{fromCodePoint:function(e){for(var t=arguments,n=[],r=arguments.length,i=0,a;r>i;){if(a=+t[i++],de(a,1114111)!==a)throw RangeError(a+` is not a valid code point`);n.push(a<65536?fe(a):fe(((a-=65536)>>10)+55296,a%1024+56320))}return n.join(``)}}),n.String.fromCodePoint;var me={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},w={isSpaceSeparator:function(e){return typeof e==`string`&&me.Space_Separator.test(e)},isIdStartChar:function(e){return typeof e==`string`&&(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`$`||e===`_`||me.ID_Start.test(e))},isIdContinueChar:function(e){return typeof e==`string`&&(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e>=`0`&&e<=`9`||e===`$`||e===`_`||e===`‌`||e===`‍`||me.ID_Continue.test(e))},isDigit:function(e){return typeof e==`string`&&/[0-9]/.test(e)},isHexDigit:function(e){return typeof e==`string`&&/[0-9A-Fa-f]/.test(e)}},he,ge,_e,ve,ye,be,T,xe,Se,Ce=function(e,t){he=String(e),ge=`start`,_e=[],ve=0,ye=1,be=0,T=void 0,xe=void 0,Se=void 0;do T=Te(),je[ge]();while(T.type!==`eof`);return typeof t==`function`?we({"":Se},``,t):Se};function we(e,t,n){var r=e[t];if(typeof r==`object`&&r){if(Array.isArray(r))for(var i=0;it.length&&!C.includes(e[t.length]))return!1;for(let n=Math.min(e.length,t.length);n>=1;n--){if(e.startsWith(t.slice(0,n)))return!0;if(e.length>=n)return!1}return!1}}))();function xm(e){let t=null;try{t=JSON.parse(e.doc.toString())}catch{try{t=(0,bm.parse)(e.doc.toString())}catch{}}let n=te(e,b.JSON);return{data:t,pointers:n}}var Sm=c(n(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):n.JSON5=r()})(n,(function(){function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}var t=e(function(e){var t=e.exports=typeof window<`u`&&window.Math==Math?window:typeof self<`u`&&self.Math==Math?self:Function(`return this`)();typeof __g==`number`&&(__g=t)}),n=e(function(e){var t=e.exports={version:`2.6.5`};typeof __e==`number`&&(__e=t)});n.version;var r=function(e){return typeof e==`object`?e!==null:typeof e==`function`},i=function(e){if(!r(e))throw TypeError(e+` is not an object!`);return e},a=function(e){try{return!!e()}catch{return!0}},o=!a(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),s=t.document,c=r(s)&&r(s.createElement),l=function(e){return c?s.createElement(e):{}},u=!o&&!a(function(){return Object.defineProperty(l(`div`),"a",{get:function(){return 7}}).a!=7}),d=function(e,t){if(!r(e))return e;var n,i;if(t&&typeof(n=e.toString)==`function`&&!r(i=n.call(e))||typeof(n=e.valueOf)==`function`&&!r(i=n.call(e))||!t&&typeof(n=e.toString)==`function`&&!r(i=n.call(e)))return i;throw TypeError(`Can't convert object to primitive value`)},f=Object.defineProperty,p={f:o?Object.defineProperty:function(e,t,n){if(i(e),t=d(t,!0),i(n),u)try{return f(e,t,n)}catch{}if(`get`in n||`set`in n)throw TypeError(`Accessors not supported!`);return`value`in n&&(e[t]=n.value),e}},m=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},h=o?function(e,t,n){return p.f(e,t,m(1,n))}:function(e,t,n){return e[t]=n,e},g={}.hasOwnProperty,_=function(e,t){return g.call(e,t)},v=0,y=Math.random(),b=function(e){return`Symbol(${e===void 0?``:e})_${(++v+y).toString(36)}`},x=e(function(e){var r=`__core-js_shared__`,i=t[r]||(t[r]={});(e.exports=function(e,t){return i[e]||(i[e]=t===void 0?{}:t)})(`versions`,[]).push({version:n.version,mode:`global`,copyright:`© 2019 Denis Pushkarev (zloirock.ru)`})})(`native-function-to-string`,Function.toString),S=e(function(e){var r=b(`src`),i=`toString`,a=(``+x).split(i);n.inspectSource=function(e){return x.call(e)},(e.exports=function(e,n,i,o){var s=typeof i==`function`;s&&(_(i,`name`)||h(i,`name`,n)),e[n]!==i&&(s&&(_(i,r)||h(i,r,e[n]?``+e[n]:a.join(String(n)))),e===t?e[n]=i:o?e[n]?e[n]=i:h(e,n,i):(delete e[n],h(e,n,i)))})(Function.prototype,i,function(){return typeof this==`function`&&this[r]||x.call(this)})}),ee=function(e){if(typeof e!=`function`)throw TypeError(e+` is not a function!`);return e},te=function(e,t,n){if(ee(e),t===void 0)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},ne=`prototype`,C=function(e,r,i){var a=e&C.F,o=e&C.G,s=e&C.S,c=e&C.P,l=e&C.B,u=o?t:s?t[r]||(t[r]={}):(t[r]||{})[ne],d=o?n:n[r]||(n[r]={}),f=d[ne]||(d[ne]={}),p,m,g,_;for(p in o&&(i=r),i)m=!a&&u&&u[p]!==void 0,g=(m?u:i)[p],_=l&&m?te(g,t):c&&typeof g==`function`?te(Function.call,g):g,u&&S(u,p,g,e&C.U),d[p]!=g&&h(d,p,_),c&&f[p]!=g&&(f[p]=g)};t.core=n,C.F=1,C.G=2,C.S=4,C.P=8,C.B=16,C.W=32,C.U=64,C.R=128;var re=C,ie=Math.ceil,ae=Math.floor,oe=function(e){return isNaN(e=+e)?0:(e>0?ae:ie)(e)},se=function(e){if(e==null)throw TypeError(`Can't call method on `+e);return e},ce=function(e){return function(e,t){var n=String(se(e)),r=oe(t),i=n.length,a,o;return r<0||r>=i?void 0:(a=n.charCodeAt(r),a<55296||a>56319||r+1===i||(o=n.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536)}}(!1);re(re.P,`String`,{codePointAt:function(e){return ce(this,e)}}),n.String.codePointAt;var le=Math.max,ue=Math.min,de=function(e,t){return e=oe(e),e<0?le(e+t,0):ue(e,t)},fe=String.fromCharCode,pe=String.fromCodePoint;re(re.S+re.F*(!!pe&&pe.length!=1),`String`,{fromCodePoint:function(e){for(var t=arguments,n=[],r=arguments.length,i=0,a;r>i;){if(a=+t[i++],de(a,1114111)!==a)throw RangeError(a+` is not a valid code point`);n.push(a<65536?fe(a):fe(((a-=65536)>>10)+55296,a%1024+56320))}return n.join(``)}}),n.String.fromCodePoint;var me={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},w={isSpaceSeparator:function(e){return typeof e==`string`&&me.Space_Separator.test(e)},isIdStartChar:function(e){return typeof e==`string`&&(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`$`||e===`_`||me.ID_Start.test(e))},isIdContinueChar:function(e){return typeof e==`string`&&(e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e>=`0`&&e<=`9`||e===`$`||e===`_`||e===`‌`||e===`‍`||me.ID_Continue.test(e))},isDigit:function(e){return typeof e==`string`&&/[0-9]/.test(e)},isHexDigit:function(e){return typeof e==`string`&&/[0-9A-Fa-f]/.test(e)}},he,ge,_e,ve,ye,be,T,xe,Se,Ce=function(e,t){he=String(e),ge=`start`,_e=[],ve=0,ye=1,be=0,T=void 0,xe=void 0,Se=void 0;do T=Te(),je[ge]();while(T.type!==`eof`);return typeof t==`function`?we({"":Se},``,t):Se};function we(e,t,n){var r=e[t];if(typeof r==`object`&&r){if(Array.isArray(r))for(var i=0;i=0)throw TypeError(`Converting circular structure to JSON5`);r.push(e);var t=i;i+=s;for(var n=[],a=0;a!!e&&typeof e==`object`&&e[Am]===wm,Mm=e=>!!e&&typeof e==`object`&&e[Am]===Tm,Nm=e=>!!e&&typeof e==`object`&&e[Am]===Em,Y=e=>!!e&&typeof e==`object`&&e[Am]===Dm,X=e=>!!e&&typeof e==`object`&&e[Am]===Om,Pm=e=>!!e&&typeof e==`object`&&e[Am]===km;function Z(e){if(e&&typeof e==`object`)switch(e[Am]){case Em:case km:return!0}return!1}function Q(e){if(e&&typeof e==`object`)switch(e[Am]){case wm:case Em:case Om:case km:return!0}return!1}var Fm=e=>(X(e)||Z(e))&&!!e.anchor,Im=Symbol(`break visit`),Lm=Symbol(`skip children`),Rm=Symbol(`remove node`);function zm(e,t){let n=Um(t);Mm(e)?Bm(null,e.contents,n,Object.freeze([e]))===Rm&&(e.contents=null):Bm(null,e,n,Object.freeze([]))}zm.BREAK=Im,zm.SKIP=Lm,zm.REMOVE=Rm;function Bm(e,t,n,r){let i=Wm(e,t,n,r);if(Q(i)||Y(i))return Gm(e,r,i),Bm(e,i,n,r);if(typeof i!=`symbol`){if(Z(t)){r=Object.freeze(r.concat(t));for(let e=0;ee.replace(/[!,[\]{}]/g,e=>Km[e]),Jm=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags)}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+qm(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&Q(e.contents)){let t={};zm(e.contents,(e,n)=>{Q(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)(i!==`!!`||a!==`tag:yaml.org,2002:`)&&(!e||r.some(e=>e.startsWith(a)))&&t.push(`%TAG ${i} ${a}`);return t.join(` +`+t+`]`}return r.pop(),i=t,c}}}}))}))(),1);function Cm(e){let t=e.doc.toString(),n=null;try{n=Sm.default.parse(t)}catch{try{n=(0,bm.parse)(t)}catch{}}let r=te(e,b.JSON5);return{data:n,pointers:r}}var wm=Symbol.for(`yaml.alias`),Tm=Symbol.for(`yaml.document`),Em=Symbol.for(`yaml.map`),Dm=Symbol.for(`yaml.pair`),Om=Symbol.for(`yaml.scalar`),km=Symbol.for(`yaml.seq`),Am=Symbol.for(`yaml.node.type`),jm=e=>!!e&&typeof e==`object`&&e[Am]===wm,Mm=e=>!!e&&typeof e==`object`&&e[Am]===Tm,Nm=e=>!!e&&typeof e==`object`&&e[Am]===Em,Y=e=>!!e&&typeof e==`object`&&e[Am]===Dm,X=e=>!!e&&typeof e==`object`&&e[Am]===Om,Pm=e=>!!e&&typeof e==`object`&&e[Am]===km;function Z(e){if(e&&typeof e==`object`)switch(e[Am]){case Em:case km:return!0}return!1}function Q(e){if(e&&typeof e==`object`)switch(e[Am]){case wm:case Em:case Om:case km:return!0}return!1}var Fm=e=>(X(e)||Z(e))&&!!e.anchor,Im=Symbol(`break visit`),Lm=Symbol(`skip children`),Rm=Symbol(`remove node`);function zm(e,t){let n=Um(t);Mm(e)?Bm(null,e.contents,n,Object.freeze([e]))===Rm&&(e.contents=null):Bm(null,e,n,Object.freeze([]))}zm.BREAK=Im,zm.SKIP=Lm,zm.REMOVE=Rm;function Bm(e,t,n,r){let i=Wm(e,t,n,r);if(Q(i)||Y(i))return Gm(e,r,i),Bm(e,i,n,r);if(typeof i!=`symbol`){if(Z(t)){r=Object.freeze(r.concat(t));for(let e=0;ee.replace(/[!,[\]{}]/g,e=>Km[e]),Jm=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags)}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+qm(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&Q(e.contents)){let t={};zm(e.contents,(e,n)=>{Q(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)i===`!!`&&a===`tag:yaml.org,2002:`||e&&!r.some(e=>e.startsWith(a))||t.push(`%TAG ${i} ${a}`);return t.join(` `)}};Jm.defaultYaml={explicit:!1,version:`1.2`},Jm.defaultTags={"!!":`tag:yaml.org,2002:`};function Ym(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function Xm(e){let t=new Set;return zm(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function Zm(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function Qm(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i??=Xm(e);let a=Zm(t,i);return i.add(a),a},setAnchors:()=>{for(let e of n){let t=r.get(e);if(typeof t==`object`&&t.anchor&&(X(t.node)||Z(t.node)))t.node.anchor=t.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:r}}function $m(e,t,n,r){if(r&&typeof r==`object`){if(Array.isArray(r))for(let t=0,n=r.length;teh(e,String(t),n));if(e&&typeof e.toJSON==`function`){if(!n||!Fm(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e==`bigint`&&!n?.keep?Number(e):e}var th=class{constructor(e){Object.defineProperty(this,Am,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!Mm(e))throw TypeError(`A document argument is required`);let a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n==`number`?n:100},o=eh(this,``,a);if(typeof r==`function`)for(let{count:e,res:t}of a.anchors.values())r(t,e);return typeof i==`function`?$m(i,{"":o},``,o):o}},nh=class extends th{constructor(e){super(wm),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){if(t?.maxAliasCount===0)throw ReferenceError(`Alias resolution is disabled`);let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],zm(e,{Node:(e,t)=>{(jm(t)||Fm(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));let r;for(let e of n){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,a=this.resolve(r,t);if(!a){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let o=n.get(a);if(o||=(eh(a,null,t),n.get(a)),o?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=rh(r,a,n)),o.count*o.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`);return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(Ym(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${r} `}return r}};function rh(e,t,n){if(jm(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}if(Z(t)){let r=0;for(let i of t.items){let t=rh(e,i,n);t>r&&(r=t)}return r}if(Y(t)){let r=rh(e,t.key,n),i=rh(e,t.value,n);return Math.max(r,i)}return 1}var ih=e=>!e||typeof e!=`function`&&typeof e!=`object`,$=class extends th{constructor(e){super(Om),this.value=e}toJSON(e,t){return t?.keep?this.value:eh(this.value,e,t)}toString(){return String(this.value)}};$.BLOCK_FOLDED=`BLOCK_FOLDED`,$.BLOCK_LITERAL=`BLOCK_LITERAL`,$.PLAIN=`PLAIN`,$.QUOTE_DOUBLE=`QUOTE_DOUBLE`,$.QUOTE_SINGLE=`QUOTE_SINGLE`;var ah=`tag:yaml.org,2002:`;function oh(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function sh(e,t,n){if(Mm(e)&&(e=e.contents),Q(e))return e;if(Y(e)){let t=n.schema[Em].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:a,schema:o,sourceObjects:s}=n,c;if(r&&e&&typeof e==`object`){if(c=s.get(e),c)return c.anchor??(c.anchor=i(e)),new nh(c.anchor);c={anchor:null,node:null},s.set(e,c)}t?.startsWith(`!!`)&&(t=ah+t.slice(2));let l=oh(e,t,o.tags);if(!l){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new $(e);return c&&(c.node=t),t}l=e instanceof Map?o[Em]:Symbol.iterator in Object(e)?o[km]:o[Em]}a&&(a(l),delete n.onTagObj);let u=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from==`function`?l.nodeClass.from(n.schema,e,n):new $(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function ch(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if(typeof n==`number`&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return sh(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}var lh=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done,uh=class extends th{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>Q(t)||Y(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(lh(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(Z(i))i.addIn(r,t);else if(i===void 0&&this.schema)this.set(n,ch(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(Z(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return r.length===0?!t&&X(i)?i.value:i:Z(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!Y(t))return!1;let n=t.value;return n==null||e&&X(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let r=this.get(t,!0);return Z(r)?r.hasIn(n):!1}setIn(e,t){let[n,...r]=e;if(r.length===0)this.set(n,t);else{let e=this.get(n,!0);if(Z(e))e.setIn(r,t);else if(e===void 0&&this.schema)this.set(n,ch(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}},dh=e=>e.replace(/^(?!$)(?: $)?/gm,`#`);function fh(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var ph=(e,t,n)=>e.endsWith(` `)?fh(n,t):n.includes(` `)?` @@ -125,7 +125,7 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\ `)?(n.push(`...`),n.push(fh(t,``))):n.push(`... ${t}`)}else n.push(`...`)}else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,``)),t&&((!o||s)&&n[n.length-1]!==``&&n.push(``),n.push(fh(a(t),``)))}return n.join(` `)+` `}var $g=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Am,{value:Tm});let r=null;typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:`warn`,prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:`1.2`},n);this.options=i;let{version:a}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new Jm({version:a}),this.setSchema(a,n),this.contents=e===void 0?null:this.createNode(e,r,n)}clone(){let t=Object.create(e.prototype,{[Am]:{value:Tm}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Q(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){e_(this.contents)&&this.contents.add(e)}addIn(e,t){e_(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=Xm(this);e.anchor=!t||n.has(t)?Zm(t||`a`,n):t}return new nh(e.anchor)}createNode(e,t,n){let r;if(typeof t==`function`)e=t.call({"":e},``,e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>typeof e==`number`||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:a,flow:o,keepUndefined:s,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:f}=Qm(this,a||`a`),p={aliasDuplicateObjects:i??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f},m=sh(e,l,p);return o&&Z(m)&&(m.flow=!0),d(),m}createPair(e,t,n={}){return new Wh(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return e_(this.contents)?this.contents.delete(e):!1}deleteIn(e){return lh(e)?this.contents!=null&&(this.contents=null,!0):e_(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return Z(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return lh(e)?!t&&X(this.contents)?this.contents.value:this.contents:Z(this.contents)?this.contents.getIn(e,t):void 0}has(e){return Z(this.contents)?this.contents.has(e):!1}hasIn(e){return lh(e)?this.contents!==void 0:Z(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=ch(this.schema,[e],t):e_(this.contents)&&this.contents.set(e,t)}setIn(e,t){lh(e)?this.contents=t:this.contents==null?this.contents=ch(this.schema,Array.from(e),t):e_(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e==`number`&&(e=String(e));let n;switch(e){case`1.1`:this.directives?this.directives.yaml.version=`1.1`:this.directives=new Jm({version:`1.1`}),n={resolveKnownTags:!1,schema:`yaml-1.1`};break;case`1.2`:case`next`:this.directives?this.directives.yaml.version=e:this.directives=new Jm({version:e}),n={resolveKnownTags:!0,schema:`core`};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new Zg(Object.assign(n,t));else throw Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r==`number`?r:100},s=eh(this.contents,t??``,o);if(typeof i==`function`)for(let{count:e,res:t}of o.anchors.values())i(t,e);return typeof a==`function`?$m(a,{"":s},``,s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error(`Document with errors cannot be stringified`);if(`indent`in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return Qg(this,e)}};function e_(e){if(Z(e))return!0;throw Error(`Expected a YAML collection as document contents`)}var t_=class extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}},n_=class extends t_{constructor(e,t,n){super(`YAMLParseError`,e,t,n)}},r_=class extends t_{constructor(e,t,n){super(`YAMLWarning`,e,t,n)}},i_=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,``);if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o=`…`+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+`…`),r>1&&/^ *$/.test(o.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+`… -`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}};function a_(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],ee=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:ee,start:x??ee}}function o_(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(` +`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}};function a_(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:b&&n===`seq-item-ind`||(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],ee=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:ee,start:x??ee}}function o_(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(` `))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let t of e.items){for(let e of t.start)if(e.type===`newline`)return!0;if(t.sep){for(let e of t.sep)if(e.type===`newline`)return!0}if(o_(t.key)||o_(t.value))return!0}return!1;default:return!0}}function s_(e,t,n){if(t?.type===`flow-collection`){let r=t.end[0];r.indent===e&&(r.source===`]`||r.source===`}`)&&o_(t)&&n(r,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}function c_(e,t,n){let{uniqueKeys:r}=e.options;if(r===!1)return!1;let i=typeof r==`function`?r:(e,t)=>e===t||X(e)&&X(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}var l_=`All mapping items must start at the same column`;function u_({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=new((a?.nodeClass)??Xh)(n.schema);n.atRoot&&=!1;let s=r.offset,c=null;for(let a of r.items){let{start:l,key:u,sep:d,value:f}=a,p=a_(l,{indicator:`explicit-key-ind`,next:u??d?.[0],offset:s,onError:i,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(u&&(u.type===`block-seq`?i(s,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in u&&u.indent!==r.indent&&i(s,`BAD_INDENT`,l_)),!p.anchor&&!p.tag&&!d){c=p.end,p.comment&&(o.comment?o.comment+=` `+p.comment:o.comment=p.comment);continue}(p.newlineAfterProp||o_(u))&&i(u??l[l.length-1],`MULTILINE_IMPLICIT_KEY`,`Implicit keys need to be on a single line`)}else p.found?.indent!==r.indent&&i(s,`BAD_INDENT`,l_);n.atKey=!0;let h=p.end,g=u?e(n,u,p,i):t(n,h,l,null,p,i);n.schema.compat&&s_(r.indent,u,i),n.atKey=!1,c_(n,o.items,g)&&i(h,`DUPLICATE_KEY`,`Map keys must be unique`);let _=a_(d??[],{indicator:`map-value-ind`,next:f,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!u||u.type===`block-scalar`});if(s=_.end,_.found){m&&(f?.type===`block-map`&&!_.hasNewline&&i(s,`BLOCK_AS_IMPLICIT_KEY`,`Nested mappings are not allowed in compact mappings`),n.options.strict&&p.start<_.found.offset-1024&&i(g.range,`KEY_OVER_1024_CHARS`,`The : indicator must be at most 1024 chars after the start of an implicit block mapping key`));let c=f?e(n,f,_,i):t(n,s,d,null,_,i);n.schema.compat&&s_(r.indent,f,i),s=c.range[2];let l=new Wh(g,c);n.options.keepSourceTokens&&(l.srcToken=a),o.items.push(l)}else{m&&i(g.range,`MISSING_CHAR`,`Implicit map keys need to be followed by map values`),_.comment&&(g.comment?g.comment+=` `+_.comment:g.comment=_.comment);let e=new Wh(g);n.options.keepSourceTokens&&(e.srcToken=a),o.items.push(e)}}return c&&ce&&(e.type===`block-map`||e.type===`block-seq`);function h_({composeNode:e,composeEmptyNode:t},n,r,i,a){let o=r.start.source===`{`,s=o?`flow map`:`flow sequence`,c=new((a?.nodeClass)??(o?Xh:Qh))(n.schema);c.flow=!0;let l=n.atRoot;l&&(n.atRoot=!1),n.atKey&&=!1;let u=r.offset+r.start.source.length;for(let a=0;a=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&this.type!==`seq-item-ind`,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case`anchor`:case`tag`:r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`explicit-key-ind`:!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case`map-value-ind`:if(t.explicitKey){if(!t.sep){if(mv(t.start,`newline`))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=vv(t.start);this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(mv(t.sep,`map-value-ind`))this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(gv(t.key)&&!mv(t.sep,`newline`)){let e=vv(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken)}else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):mv(t.sep,`map-value-ind`)?this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if(r.type===`block-seq`){if(!t.explicitKey&&t.sep&&!mv(t.sep,`newline`)){yield*this.pop({type:`error`,offset:this.offset,message:`Unexpected block-seq-ind on same line with key`,source:this.source});return}}else n&&e.items.push({start:i});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){yv(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case`anchor`:case`tag`:if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case`seq-item-ind`:if(this.indent!==e.indent)break;t.value||mv(t.start,`seq-item-ind`)?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type===`flow-error-end`){let e;do yield*this.pop(),e=this.peek(1);while(e?.type===`flow-collection`)}else if(e.end.length===0){switch(this.type){case`comma`:case`explicit-key-ind`:!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case`map-value-ind`:!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case`space`:case`comment`:case`newline`:case`anchor`:case`tag`:!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case`flow-map-end`:case`flow-seq-end`:e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if(t.type===`block-map`&&(this.type===`map-value-ind`&&t.indent===e.indent||this.type===`newline`&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type===`map-value-ind`&&t.type!==`flow-collection`){let n=vv(_v(t));bv(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf(` `)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(` -`,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=vv(_v(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=vv(_v(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}};function Sv(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new pv||null,prettyErrors:t}}function Cv(e,t={}){let{lineCounter:n,prettyErrors:r}=Sv(t),i=new xv(n?.addNewLine),a=new B_(t),o=Array.from(a.compose(i.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(i_(e,n)),t.warnings.forEach(i_(e,n));return o.length>0?o:Object.assign([],{empty:!0},a.streamInfo())}function wv(e,t={}){let{lineCounter:n,prettyErrors:r}=Sv(t),i=new xv(n?.addNewLine),a=new B_(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(!o)o=t;else if(o.options.logLevel!==`silent`){o.errors.push(new n_(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return r&&n&&(o.errors.forEach(i_(e,n)),o.warnings.forEach(i_(e,n))),o}function Tv(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let i=wv(e,n);if(!i)return null;if(i.warnings.forEach(e=>Ph(i.options.logLevel,e)),i.errors.length>0){if(i.options.logLevel!==`silent`)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function Ev(e,t,n){let r=null;if(typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n==`string`&&(n=n.length),typeof n==`number`){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=n??t??{};if(!e)return}return Mm(e)&&!r?e.toString(n):new $g(e,r,n).toString(n)}var Dv=r({Alias:()=>nh,CST:()=>tv,Composer:()=>B_,Document:()=>$g,Lexer:()=>fv,LineCounter:()=>pv,Pair:()=>Wh,Parser:()=>xv,Scalar:()=>$,Schema:()=>Zg,YAMLError:()=>t_,YAMLMap:()=>Xh,YAMLParseError:()=>n_,YAMLSeq:()=>Qh,YAMLWarning:()=>r_,isAlias:()=>jm,isCollection:()=>Z,isDocument:()=>Mm,isMap:()=>Nm,isNode:()=>Q,isPair:()=>Y,isScalar:()=>X,isSeq:()=>Pm,parse:()=>Tv,parseAllDocuments:()=>Cv,parseDocument:()=>wv,stringify:()=>Ev,visit:()=>zm,visitAsync:()=>Vm});function Ov(e){let t=null;try{t=Dv.parse(e.doc.toString())}catch{}let n=te(e,b.YAML);return{data:t,pointers:n}}var kv=e=>{switch(e){case b.JSON:return xm;case b.JSON5:return Cm;case b.YAML:return Ov}};function Av(e){return Object.entries(e)}function jv(e,t){if(typeof e==`string`||typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(e=>jv(e,t));if(e instanceof Map){let n=new Map;for(let[r,i]of e){let e=r,a=jv(i,t);n.set(e,a)}return n}if(e instanceof Set){let n=new Set;for(let r of e){let e=jv(r,t);n.add(e)}return n}let n={};function r(e,r,i,a){i===e&&a===r?n[i]=jv(r,t):n[i]=a}for(let[n,i]of Av(e)){let e=t(n,i);if(e.length===2&&typeof e[0]==`string`)r(n,i,e[0],e[1]);else for(let[t,a]of e)r(n,i,t,a)}return n}var Mv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i`,r[a-1],`..`,r[a],`..`,r),n.from=i.name===h.INVALID?t?.from??e.pos:a,n.to=e.pos}let c=new Nv,l=!0,u=w(i,h.PROPERTY_NAME,this.mode);if(u&&(m.log(`xxx`,`closestPropertyNameNode`,u,`node`,i),i=u),ce(i,this.mode)){m.log(`xxx`,`isPropertyNameNode`,i);let e=i.parent;if(e){let t=fe(e,this.mode);l=!t||t.name===h.INVALID&&t.from-t.to===0||(t.parent?le(t.parent).length<=1:!1),m.log(`xxx`,`addValue`,l,fe(e,this.mode),i),i=w(e,h.OBJECT,this.mode)??null}}if(m.log(`xxx`,i,o,e,`node at pos`,ne(e.state,e.pos)),i&&[h.OBJECT,h.JSON_TEXT].includes(x(i.name,this.mode))&&(ce(ne(e.state,e.pos),this.mode)||u)){if(i.from===e.pos)return m.log(`xxx`,`no completions for just before opening brace`),n;this.getPropertyCompletions(t,e,i,c,l,s)}else{let n=this.getValueCompletions(t,e,{},c);m.log(`xxx`,`getValueCompletions res`,n)}return n.options=Array.from(c.completions.values()).filter(e=>C(e.label).startsWith(a)),m.log(`xxx`,`result`,n,`prefix`,a,`collector.completions`,c.completions,`reservedKeys`,c.reservedKeys),n}applySnippetCompletion(t){return e(typeof t.apply==`string`?t.apply:t.label,t)}getPropertyCompletions(e,t,n,r,i,a){let o=ue(n,h.PROPERTY,this.mode);m.log(`xxx`,`getPropertyCompletions`,n,t,o),o.forEach(e=>{let n=ie(t.state.doc,de(e,h.PROPERTY_NAME,this.mode));r.reserve(C(n))});let s=this.getSchemas(e,t);m.log(`xxx`,`propertyCompletion schemas`,s),s.forEach(t=>{if(typeof t!=`object`)return;let n=t.properties;n&&Object.entries(n).forEach(([t,n])=>{if(typeof n==`object`){let o=n.description??``,s=n.type??``,c=Array.isArray(s)?s.toString():s,l={label:t,apply:this.getInsertTextForProperty(t,i,a,e,n),type:`property`,detail:c,info:()=>Vi(`div`,{inner:ym(o)})};r.add(this.applySnippetCompletion(l))}});let o=t.propertyNames;if(typeof o==`object`&&(o.enum&&o.enum.forEach(t=>{let n=t?.toString();if(n){let t={label:n,apply:this.getInsertTextForProperty(n,i,a,e),type:`property`};r.add(this.applySnippetCompletion(t))}}),o.const)){let t=o.const.toString(),n={label:t,apply:this.getInsertTextForProperty(t,i,a,e),type:`property`};r.add(this.applySnippetCompletion(n))}})}getInsertTextForProperty(e,t,n,r,i){i&&=Bv(i,r);let a=this.getInsertTextForPropertyName(e,n);if(!t)return a;a+=`: `;let o,s=0;if(typeof i==`object`){if(i.default!==void 0)o||=this.getInsertTextForGuessedValue(i.default,``),s++;else if(i.enum&&(!o&&i.enum.length===1&&(o=this.getInsertTextForGuessedValue(i.enum[0],``)),s+=i.enum.length),i.const!==void 0&&(o||=this.getInsertTextForGuessedValue(i.const,``),s++),Array.isArray(i.examples)&&i.examples.length&&(o||=this.getInsertTextForGuessedValue(i.examples[0],``),s+=i.examples.length),o===void 0&&s===0){let e=Array.isArray(i.type)?i.type[0]:i.type;switch(e||(i.properties?e=`object`:i.items&&(e=`array`)),e){case`boolean`:o=`#{}`;break;case`string`:o=this.getInsertTextForString(``);break;case`object`:switch(this.mode){case b.JSON5:o=`{#{}}`;break;case b.YAML:o=`#{}`;break;default:o=`{#{}}`}break;case`array`:o=`[#{}]`;break;case`number`:case`integer`:o=`#{0}`;break;case`null`:o=`#{null}`;break;default:o=`#{}`}}}return(!o||s>1)&&(m.log(`xxx`,`value`,o,`nValueProposals`,s,i),o=`#{}`),a+o}getInsertTextForPropertyName(e,t){switch(this.mode){case b.JSON5:case b.YAML:return t.startsWith(`"`)?`"${e}"`:t.startsWith(`'`)?`'${e}'`:e;default:return`"${e}"`}}getInsertTextForString(e,t=`#`){switch(this.mode){case b.JSON5:return`'${t}{${e}}'`;case b.YAML:return`${t}{${e}}`;default:return`"${t}{${e}}"`}}getInsertTextForGuessedValue(e,t=``){switch(typeof e){case`object`:return e===null?"${null}"+t:this.getInsertTextForValue(e,t);case`string`:{let n=JSON.stringify(e);return n=n.substr(1,n.length-2),n=this.getInsertTextForPlainText(n),this.getInsertTextForString(n,`$`)+t}case`number`:case`boolean`:return"${"+JSON.stringify(e)+`}`+t}return this.getInsertTextForValue(e,t)}getInsertTextForPlainText(e){return e.replace(/[\\$}]/g,`\\$&`)}getInsertTextForValue(e,t){let n=JSON.stringify(e,null,` `);return n===`{}`?`{#{}}`+t:n===`[]`?`[#{}]`+t:this.getInsertTextForPlainText(n+t)}getValueCompletions(e,t,n,r){let i=s(t.state).resolveInner(t.pos,-1),a=null,o;if(m.log(`xxx`,`getValueCompletions`,i,t),i&&oe(i,this.mode)&&(a=i,i=i.parent),!i)this.addSchemaValueCompletions(e,n,r);else{if(x(i.name,this.mode)===h.PROPERTY){let e=de(i,h.PROPERTY_NAME,this.mode);e&&(o=ie(t.state.doc,e),i=i.parent)}if(m.log(`xxx`,`node`,i,`parentKey`,o),i&&(o!==void 0||x(i.name,this.mode)===h.ARRAY)){let s=this.getSchemas(e,t);for(let e of s){if(typeof e!=`object`)return;if(x(i.name,this.mode)===h.ARRAY&&e.items){let t=r;if(e.uniqueItems&&(t=Object.assign(Object.assign({},t),{add(e){t.completions.has(e.label)||r.add(e)},reserve(e){r.reserve(e)}})),Array.isArray(e.items)){let r=0;if(a){let e=me(i,a,this.mode);e>=0&&(r=e)}let o=e.items[r];o&&this.addSchemaValueCompletions(o,n,t)}else this.addSchemaValueCompletions(e.items,n,t)}if((e.type==null||e.type!==`object`)&&this.addSchemaValueCompletions(e,n,r),o!==void 0){let t=!1;if(e.properties){let i=e.properties[o];i&&(t=!0,this.addSchemaValueCompletions(i,n,r))}if(e.patternProperties&&!t){for(let i of Object.keys(e.patternProperties))if(this.extendedRegExp(i)?.test(o)){t=!0;let a=e.patternProperties[i];a&&this.addSchemaValueCompletions(a,n,r)}}if(e.additionalProperties&&!t){let t=e.additionalProperties;this.addSchemaValueCompletions(t,n,r)}}n.boolean&&(this.addBooleanValueCompletion(!0,r),this.addBooleanValueCompletion(!1,r)),n.null&&this.addNullValueCompletion(r)}}return{valuePrefix:a?ie(t.state.doc,a,!0,!1):``}}}addSchemaValueCompletions(e,t,n){typeof e==`object`&&(this.addEnumValueCompletions(e,n),this.addDefaultValueCompletions(e,n),this.collectTypes(e,t),Array.isArray(e.allOf)&&e.allOf.forEach(e=>this.addSchemaValueCompletions(e,t,n)),Array.isArray(e.anyOf)&&e.anyOf.forEach(e=>this.addSchemaValueCompletions(e,t,n)),Array.isArray(e.oneOf)&&e.oneOf.forEach(e=>this.addSchemaValueCompletions(e,t,n)))}addDefaultValueCompletions(e,t,n=0){let r=!1;if(e.default!==void 0){let i=e.type,a=e.default;for(let e=n;e>0;e--)a=[a],i=`array`;let o=Object.assign(Object.assign({type:i?.toString()},this.getAppliedValue(a)),{detail:`Default value`});t.add(o),r=!0}Array.isArray(e.examples)&&e.examples.forEach(i=>{let a=e.type,o=i;for(let e=n;e>0;e--)o=[o],a=`array`;t.add(Object.assign({type:a?.toString()},this.getAppliedValue(o))),r=!0}),!r&&typeof e.items==`object`&&!Array.isArray(e.items)&&n<5&&this.addDefaultValueCompletions(e.items,t,n+1)}addEnumValueCompletions(e,t){if(e.const!==void 0&&t.add(Object.assign(Object.assign({type:e.type?.toString()},this.getAppliedValue(e.const)),{info:e.description})),Array.isArray(e.enum))for(let n=0,r=e.enum.length;nt[e]=!0):n&&(t[n]=!0)}getSchemas(e,t){let{data:n}=this.parser(t.state),r=new Bi(e),i=ee(t.state,t.pos,-1,this.mode);if(i===``&&(i=void 0),i!=null&&i.endsWith(`/`)){i=i.substring(0,i.length-1);let t=Rv(e,n,i);if(t!=null)return[t]}let a=i?.replace(/\/[^/]*$/,``);a===``&&(a=void 0);let o=Rv(e,n,a),s=i?.split(`/`).pop(),c=s==null||s in(o?.properties??{}),l=r.getSchema({pointer:i,data:n??void 0});return!c&&l?.type===`null`&&this.mode===`yaml`&&(l=void 0),m.log(`xxxx`,`draft.getSchema`,l,`data`,n,`pointer`,i,`pointerPointsToKnownProperty`,c),j(l)&&(l=l.data?.schema),!Pv(l)&&o?[o]:(Pv(l)||(l=r.getSchema({pointer:a}),i=a),m.log(`xxx`,`pointer..`,JSON.stringify(i)),!Pv(l)&&(!i||i===`/`)&&(l=Bv(e,e)??e),m.log(`xxx`,`subSchema..`,l),l?Array.isArray(l.allOf)?[l,...l.allOf.map(t=>Bv(t,e))]:Array.isArray(l.oneOf)?[l,...l.oneOf.map(t=>Bv(t,e))]:Array.isArray(l.anyOf)?[l,...l.anyOf.map(t=>Bv(t,e))]:[l]:[])}getAppliedValue(e){let t=C(JSON.stringify(e));switch(this.mode){case b.JSON5:return{label:t,apply:re(JSON.stringify(e))};case b.YAML:return{label:t,apply:t};default:return{label:t,apply:JSON.stringify(e)}}}getValueFromLabel(e){return JSON.parse(e)}extendedRegExp(e){let t=``;e.startsWith(`(?i)`)&&(e=e.substring(4),t=`i`);try{return new RegExp(e,t+`u`)}catch{try{return new RegExp(e,t)}catch{return}}}};function Iv(e={}){let t=new Fv(e);return function(e){return t.doComplete(e)}}function Lv(e){return jv(e,(e,t)=>e===`additionalProperties`&&t===!1||e===`required`&&Array.isArray(t)||e===`unevaluatedProperties`&&t===!1||e===`unevaluatedItems`&&t===!1?[]:[e,t])}function Rv(e,t,n){let r=new Bi(e),i=r.getSchema({pointer:n,data:t??void 0});if(!Pv(i))return;let a=zv(r,i),o={};for(let e of a){let i=Hv(n,e),a=r.getSchema({pointer:i,data:t??void 0});Pv(a)&&Object.assign(o,{[e]:a})}if(a.length===0||Object.keys(o).length===0)return;let s=i,{allOf:c,anyOf:l,oneOf:u}=s,d=Mv(s,[`allOf`,`anyOf`,`oneOf`]);return Object.assign(Object.assign({},d),{properties:o})}function zv(e,t){if(t=Bv(t,e.rootSchema),typeof t!=`object`||!t)return[];let n=[];function r(t){let r=zv(e,t);n.push(...r)}if(typeof t.properties==`object`&&t.properties!=null&&n.push(...Object.keys(t.properties)),typeof t.then==`object`&&t.then!=null&&r(t.then),Array.isArray(t.allOf))for(let e of t.allOf)r(e);if(Array.isArray(t.anyOf))for(let e of t.anyOf)r(e);if(Array.isArray(t.oneOf))for(let e of t.oneOf)r(e);return n}function Bv(e,t){if(typeof e==`object`&&e.$ref){let n=Vv(t,e.$ref);if(typeof n==`object`){let t=Object.assign(Object.assign({},e),n);return Reflect.deleteProperty(t,`$ref`),t}}return e}function Vv(e,t){let n=t.split(`/`),r=e;return n.forEach(t=>{t&&(t===`#`?r=e:typeof r==`object`&&(r=r[t]))}),r}function Hv(e,t){return e===void 0?`/${t}`:`${e}/${t}`}var Uv=(e,t)=>{let n=e.length>2,r=e.map((n,r)=>{let i="`"+(t?t(n):n)+"`";return r===e.length-1?`or `+i:i});return n?r.join(`, `):r.join(` `)},Wv=e=>e?.data?.pointer&&e?.data?.pointer!==`#`?e.data.pointer.slice(1):e?.data?.property?`/${e.data.property}`:``,Gv=e=>e.startState.field(ge)!==e.state.field(ge);function Kv(e){let t=new Jv(e);return e=>t.doValidation(e)}var qv=[`NoAdditionalPropertiesError`,`RequiredPropertyError`,`InvalidPropertyNameError`,`ForbiddenPropertyError`,`UndefinedValueError`],Jv=class{constructor(e){this.options=e,this.schema=null,this.mode=b.JSON,this.rewriteError=e=>{let t=e?.data?.errors;return e.code===`one-of-error`&&t?.length?`Expected one of ${Uv(t,e=>e.data.expected)}`:e.code===`type-error`?`Expected \`${e?.data?.expected&&Array.isArray(e?.data?.expected)?Uv(e?.data?.expected):e?.data?.expected}\` but received \`${e?.data?.received}\``:e.message.replaceAll("in `#` ",``).replaceAll("at `#`",``).replaceAll(`/`,`.`).replaceAll(`#.`,``)},this.mode=this.options?.mode??b.JSON,this.parser=this.options?.jsonParser??kv(this.mode)}get schemaTitle(){return this.schema?.getSchema()?.title??`json-schema`}doValidation(e){let t=_e(e.state);if(!t||(this.schema=new Ai(t),!this.schema)||!e.state.doc.toString()?.length)return[];let n=this.parser(e.state);if(n.data==null)return[];let r=[];try{r=this.schema.validate(n.data)}catch{}return m.log(`xxx`,`validation errors`,r,n.data),r.length?r.reduce((e,t)=>{let r=()=>{let n=this.rewriteError(t);e.push({from:0,to:0,message:n,severity:`error`,source:this.schemaTitle,renderMessage:()=>{let e=Vi(`div`,{});return e.innerHTML=ym(n),e}})},i=Wv(t),a=n.pointers.get(i);if(t.name===`MaxPropertiesError`||t.name===`MinPropertiesError`||i===``)r();else if(a){let n=qv.includes(t.name),r=this.rewriteError(t),i=n?a.keyFrom:a.valueFrom,o=n?a.keyTo:a.valueTo;o!==void 0&&i!==void 0&&e.push({from:i,to:o,message:r,renderMessage:()=>{let e=Vi(`div`,{});return e.innerHTML=ym(r),e},severity:`error`,source:this.schemaTitle})}else r();return e},[]):[]}};function Yv(e){let t=new Qv(e);return async function(e,n,r){return t.doHover(e,n,r)}}function Xv(e){if(e.type)return e.$ref?`${e.$ref} (${e.type})`:e.type;if(e.$ref)return`${e.$ref}`}function Zv(e,t,n){return`${t}: ${Uv(e[t].map(e=>{try{let{data:t}=n.resolveRef({data:e,pointer:e.$ref});return Xv(t||e)}catch{return e.type}}))}`}var Qv=class{constructor(e){this.opts=e,this.schema=null,this.mode=b.JSON,this.opts=Object.assign({parser:JSON.parse},this.opts),this.mode=this.opts?.mode??b.JSON}getDataForCursor(e,t,n){let r=_e(e.state);if(!r)return null;this.schema=new Ai(r);let i=ee(e.state,t,n,this.mode),a;try{a=this.opts.parser(e.state.doc.toString())}catch{}if(!i)return null;let o=this.schema.getSchema({pointer:i,data:a,withSchemaWarning:!0});return j(o)&&(o=o?.data.schema.$ref?this.schema.resolveRef(o):o?.data.schema),{schema:o,pointer:i}}formatMessage(e){let{message:t,typeInfo:n}=e;return t?Vi(`div`,{class:`cm6-json-schema-hover`},[Vi(`div`,{class:`cm6-json-schema-hover--description`,inner:ym(t,!1)}),Vi(`div`,{class:`cm6-json-schema-hover--code-wrapper`},[Vi(`div`,{class:`cm6-json-schema-hover--code`,inner:ym(n,!1)})])]):Vi(`div`,{class:`cm6-json-schema-hover`},[Vi(`div`,{class:`cm6-json-schema-hover--code-wrapper`},[Vi(`code`,{class:`cm6-json-schema-hover--code`,inner:ym(n,!1)})])])}getHoverTexts(e,t){let n=``,r=null,{schema:i}=e;return i.oneOf&&(n=Zv(i,`oneOf`,t)),i.anyOf&&(n=Zv(i,`anyOf`,t)),i.allOf&&(n=Zv(i,`allOf`,t)),i.type&&(n=Array.isArray(i.type)?Uv(i.type):i.type),i.$ref&&(n=` Reference: ${i.$ref}`),i.enum&&(n=`\`enum\`: ${Uv(i.enum)}`),i.format&&(n+=`\`format\`: ${i.format}`),i.pattern&&(n+=`\`pattern\`: ${i.pattern}`),i.description&&(r=i.description),{message:r,typeInfo:n}}async doHover(e,t,n){let r=t,i=t;try{let a=this.getDataForCursor(e,t,n);if(m.log(`cursorData`,a),!a?.schema)return null;let o=(this.opts?.getHoverTexts??this.getHoverTexts)(a,this.schema),s=(this.opts?.formatHover??this.formatMessage)(o);return{pos:r,end:i,arrow:!0,above:!0,create:e=>({dom:s})}}catch(e){return m.log(e),null}}};function $v(e){return[d(),i(l()),i(Kv(),{needsRefresh:Gv}),o.data.of({autocomplete:Iv()}),u(Yv()),ve(e)]}export{$v as jsonSchema}; \ No newline at end of file +`,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=vv(_v(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=vv(_v(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}};function Sv(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new pv||null,prettyErrors:t}}function Cv(e,t={}){let{lineCounter:n,prettyErrors:r}=Sv(t),i=new xv(n?.addNewLine),a=new B_(t),o=Array.from(a.compose(i.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(i_(e,n)),t.warnings.forEach(i_(e,n));return o.length>0?o:Object.assign([],{empty:!0},a.streamInfo())}function wv(e,t={}){let{lineCounter:n,prettyErrors:r}=Sv(t),i=new xv(n?.addNewLine),a=new B_(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(!o)o=t;else if(o.options.logLevel!==`silent`){o.errors.push(new n_(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return r&&n&&(o.errors.forEach(i_(e,n)),o.warnings.forEach(i_(e,n))),o}function Tv(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let i=wv(e,n);if(!i)return null;if(i.warnings.forEach(e=>Ph(i.options.logLevel,e)),i.errors.length>0){if(i.options.logLevel!==`silent`)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function Ev(e,t,n){let r=null;if(typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n==`string`&&(n=n.length),typeof n==`number`){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=n??t??{};if(!e)return}return Mm(e)&&!r?e.toString(n):new $g(e,r,n).toString(n)}var Dv=r({Alias:()=>nh,CST:()=>tv,Composer:()=>B_,Document:()=>$g,Lexer:()=>fv,LineCounter:()=>pv,Pair:()=>Wh,Parser:()=>xv,Scalar:()=>$,Schema:()=>Zg,YAMLError:()=>t_,YAMLMap:()=>Xh,YAMLParseError:()=>n_,YAMLSeq:()=>Qh,YAMLWarning:()=>r_,isAlias:()=>jm,isCollection:()=>Z,isDocument:()=>Mm,isMap:()=>Nm,isNode:()=>Q,isPair:()=>Y,isScalar:()=>X,isSeq:()=>Pm,parse:()=>Tv,parseAllDocuments:()=>Cv,parseDocument:()=>wv,stringify:()=>Ev,visit:()=>zm,visitAsync:()=>Vm});function Ov(e){let t=null;try{t=Dv.parse(e.doc.toString())}catch{}let n=te(e,b.YAML);return{data:t,pointers:n}}var kv=e=>{switch(e){case b.JSON:return xm;case b.JSON5:return Cm;case b.YAML:return Ov}};function Av(e){return Object.entries(e)}function jv(e,t){if(typeof e==`string`||typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(e=>jv(e,t));if(e instanceof Map){let n=new Map;for(let[r,i]of e){let e=r,a=jv(i,t);n.set(e,a)}return n}if(e instanceof Set){let n=new Set;for(let r of e){let e=jv(r,t);n.add(e)}return n}let n={};function r(e,r,i,a){i===e&&a===r?n[i]=jv(r,t):n[i]=a}for(let[n,i]of Av(e)){let e=t(n,i);if(e.length===2&&typeof e[0]==`string`)r(n,i,e[0],e[1]);else for(let[t,a]of e)r(n,i,t,a)}return n}var Mv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i`,r[a-1],`..`,r[a],`..`,r),n.from=i.name===h.INVALID?t?.from??e.pos:a,n.to=e.pos}let c=new Nv,l=!0,u=w(i,h.PROPERTY_NAME,this.mode);if(u&&(m.log(`xxx`,`closestPropertyNameNode`,u,`node`,i),i=u),ce(i,this.mode)){m.log(`xxx`,`isPropertyNameNode`,i);let e=i.parent;if(e){let t=fe(e,this.mode);l=!t||t.name===h.INVALID&&t.from-t.to===0||(t.parent?le(t.parent).length<=1:!1),m.log(`xxx`,`addValue`,l,fe(e,this.mode),i),i=w(e,h.OBJECT,this.mode)??null}}if(m.log(`xxx`,i,o,e,`node at pos`,ne(e.state,e.pos)),i&&[h.OBJECT,h.JSON_TEXT].includes(x(i.name,this.mode))&&(ce(ne(e.state,e.pos),this.mode)||u)){if(i.from===e.pos)return m.log(`xxx`,`no completions for just before opening brace`),n;this.getPropertyCompletions(t,e,i,c,l,s)}else{let n=this.getValueCompletions(t,e,{},c);m.log(`xxx`,`getValueCompletions res`,n)}return n.options=Array.from(c.completions.values()).filter(e=>C(e.label).startsWith(a)),m.log(`xxx`,`result`,n,`prefix`,a,`collector.completions`,c.completions,`reservedKeys`,c.reservedKeys),n}applySnippetCompletion(e){return s(typeof e.apply==`string`?e.apply:e.label,e)}getPropertyCompletions(e,t,n,r,i,a){let o=ue(n,h.PROPERTY,this.mode);m.log(`xxx`,`getPropertyCompletions`,n,t,o),o.forEach(e=>{let n=ie(t.state.doc,de(e,h.PROPERTY_NAME,this.mode));r.reserve(C(n))});let s=this.getSchemas(e,t);m.log(`xxx`,`propertyCompletion schemas`,s),s.forEach(t=>{if(typeof t!=`object`)return;let n=t.properties;n&&Object.entries(n).forEach(([t,n])=>{if(typeof n==`object`){let o=n.description??``,s=n.type??``,c=Array.isArray(s)?s.toString():s,l={label:t,apply:this.getInsertTextForProperty(t,i,a,e,n),type:`property`,detail:c,info:()=>Vi(`div`,{inner:ym(o)})};r.add(this.applySnippetCompletion(l))}});let o=t.propertyNames;if(typeof o==`object`&&(o.enum&&o.enum.forEach(t=>{let n=t?.toString();if(n){let t={label:n,apply:this.getInsertTextForProperty(n,i,a,e),type:`property`};r.add(this.applySnippetCompletion(t))}}),o.const)){let t=o.const.toString(),n={label:t,apply:this.getInsertTextForProperty(t,i,a,e),type:`property`};r.add(this.applySnippetCompletion(n))}})}getInsertTextForProperty(e,t,n,r,i){i&&=Bv(i,r);let a=this.getInsertTextForPropertyName(e,n);if(!t)return a;a+=`: `;let o,s=0;if(typeof i==`object`){if(i.default!==void 0)o||=this.getInsertTextForGuessedValue(i.default,``),s++;else if(i.enum&&(!o&&i.enum.length===1&&(o=this.getInsertTextForGuessedValue(i.enum[0],``)),s+=i.enum.length),i.const!==void 0&&(o||=this.getInsertTextForGuessedValue(i.const,``),s++),Array.isArray(i.examples)&&i.examples.length&&(o||=this.getInsertTextForGuessedValue(i.examples[0],``),s+=i.examples.length),o===void 0&&s===0){let e=Array.isArray(i.type)?i.type[0]:i.type;switch(e||(i.properties?e=`object`:i.items&&(e=`array`)),e){case`boolean`:o=`#{}`;break;case`string`:o=this.getInsertTextForString(``);break;case`object`:switch(this.mode){case b.JSON5:o=`{#{}}`;break;case b.YAML:o=`#{}`;break;default:o=`{#{}}`}break;case`array`:o=`[#{}]`;break;case`number`:case`integer`:o=`#{0}`;break;case`null`:o=`#{null}`;break;default:o=`#{}`}}}return(!o||s>1)&&(m.log(`xxx`,`value`,o,`nValueProposals`,s,i),o=`#{}`),a+o}getInsertTextForPropertyName(e,t){switch(this.mode){case b.JSON5:case b.YAML:return t.startsWith(`"`)?`"${e}"`:t.startsWith(`'`)?`'${e}'`:e;default:return`"${e}"`}}getInsertTextForString(e,t=`#`){switch(this.mode){case b.JSON5:return`'${t}{${e}}'`;case b.YAML:return`${t}{${e}}`;default:return`"${t}{${e}}"`}}getInsertTextForGuessedValue(e,t=``){switch(typeof e){case`object`:return e===null?"${null}"+t:this.getInsertTextForValue(e,t);case`string`:{let n=JSON.stringify(e);return n=n.substr(1,n.length-2),n=this.getInsertTextForPlainText(n),this.getInsertTextForString(n,`$`)+t}case`number`:case`boolean`:return"${"+JSON.stringify(e)+`}`+t}return this.getInsertTextForValue(e,t)}getInsertTextForPlainText(e){return e.replace(/[\\$}]/g,`\\$&`)}getInsertTextForValue(e,t){let n=JSON.stringify(e,null,` `);return n===`{}`?`{#{}}`+t:n===`[]`?`[#{}]`+t:this.getInsertTextForPlainText(n+t)}getValueCompletions(e,t,n,r){let i=u(t.state).resolveInner(t.pos,-1),a=null,o;if(m.log(`xxx`,`getValueCompletions`,i,t),i&&oe(i,this.mode)&&(a=i,i=i.parent),!i)this.addSchemaValueCompletions(e,n,r);else{if(x(i.name,this.mode)===h.PROPERTY){let e=de(i,h.PROPERTY_NAME,this.mode);e&&(o=ie(t.state.doc,e),i=i.parent)}if(m.log(`xxx`,`node`,i,`parentKey`,o),i&&(o!==void 0||x(i.name,this.mode)===h.ARRAY)){let s=this.getSchemas(e,t);for(let e of s){if(typeof e!=`object`)return;if(x(i.name,this.mode)===h.ARRAY&&e.items){let t=r;if(e.uniqueItems&&(t=Object.assign(Object.assign({},t),{add(e){t.completions.has(e.label)||r.add(e)},reserve(e){r.reserve(e)}})),Array.isArray(e.items)){let r=0;if(a){let e=me(i,a,this.mode);e>=0&&(r=e)}let o=e.items[r];o&&this.addSchemaValueCompletions(o,n,t)}else this.addSchemaValueCompletions(e.items,n,t)}if((e.type==null||e.type!==`object`)&&this.addSchemaValueCompletions(e,n,r),o!==void 0){let t=!1;if(e.properties){let i=e.properties[o];i&&(t=!0,this.addSchemaValueCompletions(i,n,r))}if(e.patternProperties&&!t){for(let i of Object.keys(e.patternProperties))if(this.extendedRegExp(i)?.test(o)){t=!0;let a=e.patternProperties[i];a&&this.addSchemaValueCompletions(a,n,r)}}if(e.additionalProperties&&!t){let t=e.additionalProperties;this.addSchemaValueCompletions(t,n,r)}}n.boolean&&(this.addBooleanValueCompletion(!0,r),this.addBooleanValueCompletion(!1,r)),n.null&&this.addNullValueCompletion(r)}}return{valuePrefix:a?ie(t.state.doc,a,!0,!1):``}}}addSchemaValueCompletions(e,t,n){typeof e==`object`&&(this.addEnumValueCompletions(e,n),this.addDefaultValueCompletions(e,n),this.collectTypes(e,t),Array.isArray(e.allOf)&&e.allOf.forEach(e=>this.addSchemaValueCompletions(e,t,n)),Array.isArray(e.anyOf)&&e.anyOf.forEach(e=>this.addSchemaValueCompletions(e,t,n)),Array.isArray(e.oneOf)&&e.oneOf.forEach(e=>this.addSchemaValueCompletions(e,t,n)))}addDefaultValueCompletions(e,t,n=0){let r=!1;if(e.default!==void 0){let i=e.type,a=e.default;for(let e=n;e>0;e--)a=[a],i=`array`;let o=Object.assign(Object.assign({type:i?.toString()},this.getAppliedValue(a)),{detail:`Default value`});t.add(o),r=!0}Array.isArray(e.examples)&&e.examples.forEach(i=>{let a=e.type,o=i;for(let e=n;e>0;e--)o=[o],a=`array`;t.add(Object.assign({type:a?.toString()},this.getAppliedValue(o))),r=!0}),!r&&typeof e.items==`object`&&!Array.isArray(e.items)&&n<5&&this.addDefaultValueCompletions(e.items,t,n+1)}addEnumValueCompletions(e,t){if(e.const!==void 0&&t.add(Object.assign(Object.assign({type:e.type?.toString()},this.getAppliedValue(e.const)),{info:e.description})),Array.isArray(e.enum))for(let n=0,r=e.enum.length;nt[e]=!0):n&&(t[n]=!0)}getSchemas(e,t){let{data:n}=this.parser(t.state),r=new Bi(e),i=ee(t.state,t.pos,-1,this.mode);if(i===``&&(i=void 0),i!=null&&i.endsWith(`/`)){i=i.substring(0,i.length-1);let t=Rv(e,n,i);if(t!=null)return[t]}let a=i?.replace(/\/[^/]*$/,``);a===``&&(a=void 0);let o=Rv(e,n,a),s=i?.split(`/`).pop(),c=s==null||s in(o?.properties??{}),l=r.getSchema({pointer:i,data:n??void 0});return!c&&l?.type===`null`&&this.mode===`yaml`&&(l=void 0),m.log(`xxxx`,`draft.getSchema`,l,`data`,n,`pointer`,i,`pointerPointsToKnownProperty`,c),j(l)&&(l=l.data?.schema),!Pv(l)&&o?[o]:(Pv(l)||(l=r.getSchema({pointer:a}),i=a),m.log(`xxx`,`pointer..`,JSON.stringify(i)),Pv(l)||i&&i!==`/`||(l=Bv(e,e)??e),m.log(`xxx`,`subSchema..`,l),l?Array.isArray(l.allOf)?[l,...l.allOf.map(t=>Bv(t,e))]:Array.isArray(l.oneOf)?[l,...l.oneOf.map(t=>Bv(t,e))]:Array.isArray(l.anyOf)?[l,...l.anyOf.map(t=>Bv(t,e))]:[l]:[])}getAppliedValue(e){let t=C(JSON.stringify(e));switch(this.mode){case b.JSON5:return{label:t,apply:re(JSON.stringify(e))};case b.YAML:return{label:t,apply:t};default:return{label:t,apply:JSON.stringify(e)}}}getValueFromLabel(e){return JSON.parse(e)}extendedRegExp(e){let t=``;e.startsWith(`(?i)`)&&(e=e.substring(4),t=`i`);try{return new RegExp(e,t+`u`)}catch{try{return new RegExp(e,t)}catch{return}}}};function Iv(e={}){let t=new Fv(e);return function(e){return t.doComplete(e)}}function Lv(e){return jv(e,(e,t)=>e===`additionalProperties`&&t===!1||e===`required`&&Array.isArray(t)||e===`unevaluatedProperties`&&t===!1||e===`unevaluatedItems`&&t===!1?[]:[e,t])}function Rv(e,t,n){let r=new Bi(e),i=r.getSchema({pointer:n,data:t??void 0});if(!Pv(i))return;let a=zv(r,i),o={};for(let e of a){let i=Hv(n,e),a=r.getSchema({pointer:i,data:t??void 0});Pv(a)&&Object.assign(o,{[e]:a})}if(a.length===0||Object.keys(o).length===0)return;let s=i,{allOf:c,anyOf:l,oneOf:u}=s,d=Mv(s,[`allOf`,`anyOf`,`oneOf`]);return Object.assign(Object.assign({},d),{properties:o})}function zv(e,t){if(t=Bv(t,e.rootSchema),typeof t!=`object`||!t)return[];let n=[];function r(t){let r=zv(e,t);n.push(...r)}if(typeof t.properties==`object`&&t.properties!=null&&n.push(...Object.keys(t.properties)),typeof t.then==`object`&&t.then!=null&&r(t.then),Array.isArray(t.allOf))for(let e of t.allOf)r(e);if(Array.isArray(t.anyOf))for(let e of t.anyOf)r(e);if(Array.isArray(t.oneOf))for(let e of t.oneOf)r(e);return n}function Bv(e,t){if(typeof e==`object`&&e.$ref){let n=Vv(t,e.$ref);if(typeof n==`object`){let t=Object.assign(Object.assign({},e),n);return Reflect.deleteProperty(t,`$ref`),t}}return e}function Vv(e,t){let n=t.split(`/`),r=e;return n.forEach(t=>{t&&(t===`#`?r=e:typeof r==`object`&&(r=r[t]))}),r}function Hv(e,t){return e===void 0?`/${t}`:`${e}/${t}`}var Uv=(e,t)=>{let n=e.length>2,r=e.map((n,r)=>{let i="`"+(t?t(n):n)+"`";return r===e.length-1?`or `+i:i});return n?r.join(`, `):r.join(` `)},Wv=e=>e?.data?.pointer&&e?.data?.pointer!==`#`?e.data.pointer.slice(1):e?.data?.property?`/${e.data.property}`:``,Gv=e=>e.startState.field(ge)!==e.state.field(ge);function Kv(e){let t=new Jv(e);return e=>t.doValidation(e)}var qv=[`NoAdditionalPropertiesError`,`RequiredPropertyError`,`InvalidPropertyNameError`,`ForbiddenPropertyError`,`UndefinedValueError`],Jv=class{constructor(e){this.options=e,this.schema=null,this.mode=b.JSON,this.rewriteError=e=>{let t=e?.data?.errors;return e.code===`one-of-error`&&t?.length?`Expected one of ${Uv(t,e=>e.data.expected)}`:e.code===`type-error`?`Expected \`${e?.data?.expected&&Array.isArray(e?.data?.expected)?Uv(e?.data?.expected):e?.data?.expected}\` but received \`${e?.data?.received}\``:e.message.replaceAll("in `#` ",``).replaceAll("at `#`",``).replaceAll(`/`,`.`).replaceAll(`#.`,``)},this.mode=this.options?.mode??b.JSON,this.parser=this.options?.jsonParser??kv(this.mode)}get schemaTitle(){return this.schema?.getSchema()?.title??`json-schema`}doValidation(e){let t=_e(e.state);if(!t||(this.schema=new Ai(t),!this.schema)||!e.state.doc.toString()?.length)return[];let n=this.parser(e.state);if(n.data==null)return[];let r=[];try{r=this.schema.validate(n.data)}catch{}return m.log(`xxx`,`validation errors`,r,n.data),r.length?r.reduce((e,t)=>{let r=()=>{let n=this.rewriteError(t);e.push({from:0,to:0,message:n,severity:`error`,source:this.schemaTitle,renderMessage:()=>{let e=Vi(`div`,{});return e.innerHTML=ym(n),e}})},i=Wv(t),a=n.pointers.get(i);if(t.name===`MaxPropertiesError`||t.name===`MinPropertiesError`||i===``)r();else if(a){let n=qv.includes(t.name),r=this.rewriteError(t),i=n?a.keyFrom:a.valueFrom,o=n?a.keyTo:a.valueTo;o!==void 0&&i!==void 0&&e.push({from:i,to:o,message:r,renderMessage:()=>{let e=Vi(`div`,{});return e.innerHTML=ym(r),e},severity:`error`,source:this.schemaTitle})}else r();return e},[]):[]}};function Yv(e){let t=new Qv(e);return async function(e,n,r){return t.doHover(e,n,r)}}function Xv(e){if(e.type)return e.$ref?`${e.$ref} (${e.type})`:e.type;if(e.$ref)return`${e.$ref}`}function Zv(e,t,n){return`${t}: ${Uv(e[t].map(e=>{try{let{data:t}=n.resolveRef({data:e,pointer:e.$ref});return Xv(t||e)}catch{return e.type}}))}`}var Qv=class{constructor(e){this.opts=e,this.schema=null,this.mode=b.JSON,this.opts=Object.assign({parser:JSON.parse},this.opts),this.mode=this.opts?.mode??b.JSON}getDataForCursor(e,t,n){let r=_e(e.state);if(!r)return null;this.schema=new Ai(r);let i=ee(e.state,t,n,this.mode),a;try{a=this.opts.parser(e.state.doc.toString())}catch{}if(!i)return null;let o=this.schema.getSchema({pointer:i,data:a,withSchemaWarning:!0});return j(o)&&(o=o?.data.schema.$ref?this.schema.resolveRef(o):o?.data.schema),{schema:o,pointer:i}}formatMessage(e){let{message:t,typeInfo:n}=e;return t?Vi(`div`,{class:`cm6-json-schema-hover`},[Vi(`div`,{class:`cm6-json-schema-hover--description`,inner:ym(t,!1)}),Vi(`div`,{class:`cm6-json-schema-hover--code-wrapper`},[Vi(`div`,{class:`cm6-json-schema-hover--code`,inner:ym(n,!1)})])]):Vi(`div`,{class:`cm6-json-schema-hover`},[Vi(`div`,{class:`cm6-json-schema-hover--code-wrapper`},[Vi(`code`,{class:`cm6-json-schema-hover--code`,inner:ym(n,!1)})])])}getHoverTexts(e,t){let n=``,r=null,{schema:i}=e;return i.oneOf&&(n=Zv(i,`oneOf`,t)),i.anyOf&&(n=Zv(i,`anyOf`,t)),i.allOf&&(n=Zv(i,`allOf`,t)),i.type&&(n=Array.isArray(i.type)?Uv(i.type):i.type),i.$ref&&(n=` Reference: ${i.$ref}`),i.enum&&(n=`\`enum\`: ${Uv(i.enum)}`),i.format&&(n+=`\`format\`: ${i.format}`),i.pattern&&(n+=`\`pattern\`: ${i.pattern}`),i.description&&(r=i.description),{message:r,typeInfo:n}}async doHover(e,t,n){let r=t,i=t;try{let a=this.getDataForCursor(e,t,n);if(m.log(`cursorData`,a),!a?.schema)return null;let o=(this.opts?.getHoverTexts??this.getHoverTexts)(a,this.schema),s=(this.opts?.formatHover??this.formatMessage)(o);return{pos:r,end:i,arrow:!0,above:!0,create:e=>({dom:s})}}catch(e){return m.log(e),null}}};function $v(n){return[o(),e(i()),e(Kv(),{needsRefresh:Gv}),l.data.of({autocomplete:Iv()}),t(Yv()),ve(n)]}export{$v as jsonSchema}; \ No newline at end of file diff --git a/src/chapkit/api/apps/console/assets/index-Cf4n1Gfe.js b/src/chapkit/api/apps/console/assets/index-Cf4n1Gfe.js deleted file mode 100644 index 0b22e01..0000000 --- a/src/chapkit/api/apps/console/assets/index-Cf4n1Gfe.js +++ /dev/null @@ -1,127 +0,0 @@ -var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function ee(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,ee(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),ee(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1_e||(e.current=ge[_e],ge[_e]=null,_e--)}function be(e,t){_e++,ge[_e]=e.current,e.current=t}var xe=ve(null),Se=ve(null),Ce=ve(null),we=ve(null);function Te(e,t){switch(be(Ce,t),be(Se,e),be(xe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?xp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=xp(t),e=Sp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ye(xe),be(xe,e)}function Ee(){ye(xe),ye(Se),ye(Ce)}function De(e){var t=e.memoizedState;t!==null&&(vh._currentValue=t.memoizedState,be(we,e)),t=xe.current;var n=Sp(t,e.type);t!==n&&(be(Se,e),be(xe,n))}function Oe(e){Se.current===e&&(ye(xe),ye(Se)),we.current===e&&(ye(we),vh._currentValue=he)}var ke,Ae;function je(e){if(ke===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ke=t&&t[1]||``,Ae=-1)`:-1i||c[r]!==l[i]){var u=` -`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Me=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?je(n):``}function Pe(e,t){switch(e.tag){case 26:case 27:case 5:return je(e.type);case 16:return je(`Lazy`);case 13:return e.child!==t&&t!==null?je(`Suspense Fallback`):je(`Suspense`);case 19:return je(`SuspenseList`);case 0:case 15:return Ne(e.type,!1);case 11:return Ne(e.type.render,!1);case 1:return Ne(e.type,!0);case 31:return je(`Activity`);case 30:return je(`ViewTransition`);default:return``}}function Fe(e){try{var t=``,n=null;do t+=Pe(e,n),n=e,e=e.return;while(e);return t}catch(e){return` -Error generating stack: `+e.message+` -`+e.stack}}var Ie=Object.prototype.hasOwnProperty,Le=t.unstable_scheduleCallback,Re=t.unstable_cancelCallback,ze=t.unstable_shouldYield,Be=t.unstable_requestPaint,Ve=t.unstable_now,He=t.unstable_getCurrentPriorityLevel,Ue=t.unstable_ImmediatePriority,We=t.unstable_UserBlockingPriority,Ge=t.unstable_NormalPriority,Ke=t.unstable_LowPriority,qe=t.unstable_IdlePriority,Je=t.log,Ye=t.unstable_setDisableYieldValue,Xe=null,Ze=null;function Qe(e){if(typeof Je==`function`&&Ye(e),Ze&&typeof Ze.setStrictMode==`function`)try{Ze.setStrictMode(Xe,e)}catch{}}var $e=Math.clz32?Math.clz32:nt,et=Math.log,tt=Math.LN2;function nt(e){return e>>>=0,e===0?32:31-(et(e)/tt|0)|0}var rt=256,it=262144,at=4194304;function ot(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function st(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=ot(n))):i=ot(o):i=ot(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=ot(n))):i=ot(o)):i=ot(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function ct(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function lt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function pt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function mt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=mr),_r=` `,vr=!1;function yr(e,t){switch(e){case`keyup`:return fr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function br(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var xr=!1;function Sr(e,t){switch(e){case`compositionend`:return br(t);case`keypress`:return t.which===32?(vr=!0,_r):null;case`textInput`:return e=t.data,e===_r&&vr?null:e;default:return null}}function Cr(e,t){if(xr)return e===`compositionend`||!pr&&yr(e,t)?(e=Fn(),Pn=Nn=Mn=null,xr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Kr(n)}}function Jr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Gr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Gr(e.document)}return t}function Xr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Zr=kn&&`documentMode`in document&&11>=document.documentMode,Qr=null,$r=null,ei=null,ti=!1;function ni(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ti||Qr==null||Qr!==Gr(r)||(r=Qr,`selectionStart`in r&&Xr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ei&&Wr(ei,r)||(ei=r,r=ip($r,`onSelect`),0>=o,i-=o,Qi=1<<32-$e(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),sa&&ea(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),sa&&ea(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return sa&&ea(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),sa&&ea(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===j&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case k:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===j){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),fo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ie&&io(l)===r.type){n(e,r.sibling),c=a(r,o.props),fo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===j?(c=zi(o.props.children,e.mode,c,o.key),fo(c,o),c.return=e,e=c):(c=Ri(o.type,o.key,o.props,null,e.mode,c),fo(c,o),c.return=e,e=c)}return s(e);case A:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Hi(o,e.mode,c),c.return=e,e=c}return s(e);case ie:return o=io(o),_(e,r,o,c)}if(pe(o))return h(e,r,o,c);if(ue(o)){if(l=ue(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,uo(o),c);if(o.$$typeof===P)return _(e,r,ka(e,o),c);po(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Bi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{lo=0;var i=_(e,t,n,r);return co=null,i}catch(t){if(t===Qa||t===eo)throw t;var a=Pi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var ho=mo(!0),go=mo(!1),_o=!1;function vo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function bo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,rd&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ji(e),Ai(e,null,n),t}return Di(e,r,t,n),ji(e)}function So(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gt(e,n)}}function Co(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var wo=!1;function To(){if(wo){var e=Ua;if(e!==null)throw e}}function Eo(e,t,n,r){wo=!1;var i=e.updateQueue;_o=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(od&f)===f:(r&f)===f){f!==0&&f===Ha&&(wo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=D({},d,f);break a;case 2:_o=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),md|=o,e.lanes=o,e.memoizedState=d}}function Do(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Oo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=L.T,s={};s.types=o===null?null:o.types,L.T=s,fc(e,!1,t,n);try{var c=i(),l=L.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?dc(e,t,Ka(c,r),zd(e)):dc(e,t,r,zd(e))}catch(n){dc(e,t,{then:function(){},status:`rejected`,reason:n},zd())}finally{me.p=a,o!==null&&s.types!==null&&(o.types=s.types),L.T=o}}function tc(){}function nc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=rc(e).queue;ec(e,a,t,he,n===null?tc:function(){return ic(e),n(r)})}function rc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:he,baseState:he,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:he},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ic(e){var t=rc(e);t.next===null&&(t=e.alternate.memoizedState),dc(e,t.next.queue,{},zd())}function ac(){return Oa(vh)}function oc(){return ds().memoizedState}function sc(){return ds().memoizedState}function cc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=zd();e=bo(n);var r=xo(t,e,n);r!==null&&(Hd(r,t,n),So(r,t,n)),t={cache:Fa()},e.payload=t;return}t=t.return}}function lc(e,t,n){var r=zd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},pc(e)?mc(t,n):(n=Oi(e,t,n,r),n!==null&&(Hd(n,e,r),hc(n,t,r)))}function uc(e,t,n){dc(e,t,n,zd())}function dc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(pc(e))mc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ur(s,o))return Di(e,t,i,0),id===null&&Ei(),!1}catch{}if(n=Oi(e,t,i,r),n!==null)return Hd(n,e,r),hc(n,t,r),!0}return!1}function fc(e,t,n,r){if(r={lane:2,revertLane:Uf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},pc(e)){if(t)throw Error(i(479))}else t=Oi(e,n,r,2),t!==null&&Hd(t,e,2)}function pc(e){var t=e.alternate;return e===Ko||t!==null&&t===Ko}function mc(e,t){Yo=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gt(e,n)}}var gc={readContext:Oa,use:z,useCallback:ts,useContext:ts,useEffect:ts,useImperativeHandle:ts,useLayoutEffect:ts,useInsertionEffect:ts,useMemo:ts,useReducer:ts,useRef:ts,useState:ts,useDebugValue:ts,useDeferredValue:ts,useTransition:ts,useSyncExternalStore:ts,useId:ts,useHostTransitionStatus:ts,useFormState:ts,useActionState:ts,useOptimistic:ts,useMemoCache:ts,useCacheRefresh:ts,useEffectEvent:ts},_c={readContext:Oa,use:z,useCallback:function(e,t){return us().memoizedState=[e,t===void 0?null:t],e},useContext:Oa,useEffect:Vs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),zs(4194308,4,qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){zs(4,2,e,t)},useMemo:function(e,t){var n=us();t=t===void 0?null:t;var r=e();if(Xo){Qe(!0);try{e()}finally{Qe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=us();if(n!==void 0){var i=n(t);if(Xo){Qe(!0);try{n(t)}finally{Qe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=lc.bind(null,Ko,e),[r.memoizedState,e]},useRef:function(e){var t=us();return e={current:e},t.memoizedState=e},useState:function(e){e=ws(e);var t=e.queue,n=uc.bind(null,Ko,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ys,useDeferredValue:function(e,t){return Qs(us(),e,t)},useTransition:function(){var e=ws(!1);return e=ec.bind(null,Ko,e.queue,!0,!1),us().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Ko,a=us();if(sa){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),id===null)throw Error(i(349));od&127||bs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Vs(xs.bind(null,r,o,e),[e]),r.flags|=2048,Rs(9,{destroy:void 0},B.bind(null,r,o,n,t),null),n},useId:function(){var e=us(),t=id.identifierPrefix;if(sa){var n=$i,r=Qi;n=(r&~(1<<32-$e(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Zo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[Ct]=t,o[wt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(pp(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&ml(t)}}return yl(t),t.subtreeFlags&=-33554433,hl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&ml(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Ce.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=aa,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ct]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||up(e.nodeValue,n)),e||da(t,!0)}else e=bp(e).createTextNode(r),e[Ct]=t,t.stateNode=e}return yl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ma(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[Ct]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;yl(t),e=!1}else n=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Bo(t),t):(Bo(t),null);if(t.flags&128)throw Error(i(558))}return yl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[Ct]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;yl(t),a=!1}else a=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Bo(t),t):(Bo(t),null)}return Bo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),_l(t,t.updateQueue),yl(t),null);case 4:return Ee(),e===null&&ep(t.stateNode.containerInfo),t.flags|=67108864,yl(t),null;case 10:return Sa(t.type),yl(t),null;case 19:if(Uo(t),r=t.memoizedState,r===null)return yl(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)vl(r,!1);else{if(pd!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Wo(e),o!==null){for(t.flags|=128,vl(r,!1),e=o.updateQueue,t.updateQueue=e,_l(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Li(n,e),n=n.sibling;return Ho(t,Vo.current&1|2),sa&&ea(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ve()>wd&&(t.flags|=128,a=!0,vl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Wo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,_l(t,e),vl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!sa)return yl(t),null}else 2*Ve()-r.renderingStartTime>wd&&n!==536870912&&(t.flags|=128,a=!0,vl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ve(),e.sibling=null,o=Vo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||sa?Ho(t,o):(n=o,be(Po,t),be(Vo,n),Fo===null&&(Fo=t)),sa&&ea(t,r.treeForkCount),e}return yl(t),null;case 22:case 23:return Bo(t),No(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(yl(t),t.subtreeFlags&6&&(t.flags|=8192)):yl(t),n=t.updateQueue,n!==null&&_l(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ye(Ja),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sa(Pa),yl(t),null;case 25:return null;case 30:return t.flags|=33554432,yl(t),null}throw Error(i(156,t.tag))}function xl(e,t){switch(ra(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(Pa),Ee(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Oe(t),null;case 31:if(t.memoizedState!==null){if(Bo(t),t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Bo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Uo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Ee(),null;case 10:return Sa(t.type),null;case 22:case 23:return Bo(t),No(),e!==null&&ye(Ja),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(Pa),null;case 25:return null;default:return null}}function Sl(e,t){switch(ra(t),t.tag){case 3:Sa(Pa),Ee();break;case 26:case 27:case 5:Oe(t);break;case 4:Ee();break;case 31:t.memoizedState!==null&&Bo(t);break;case 13:Bo(t);break;case 19:Uo(t);break;case 10:Sa(t.type);break;case 22:case 23:Bo(t),No(),e!==null&&ye(Ja);break;case 24:Sa(Pa)}}function Cl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Sf(t,t.return,e)}}function wl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Sf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Sf(t,t.return,e)}}function Tl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Oo(t,n)}catch(t){Sf(e,e.return,t)}}}function El(e,t,n){n.props=wc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Sf(e,t,n)}}function Dl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=yi(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Gp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Kp(e);m(e.child,!1,lm,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Sf(e,t,n)}}function Ol(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Sf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Sf(e,t,n)}else n.current=null}}function kl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),pp(r,t,n),r[Ct]=e,Lt(r),t=r;break a;case`link`:if(o=nh(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=qr(s,h),v=qr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,L.T=null,n=Md,Md=null;var o=Od,s=Ad;if(Dd=0,kd=Od=null,Ad=0,rd&6)throw Error(i(331));var c=rd;if(rd|=4,Qu(o.current),Wu(o,o.current,s,n),rd=c,If(0,!1),Ze&&typeof Ze.onPostCommitFiberRoot==`function`)try{Ze.onPostCommitFiberRoot(Xe,o)}catch{}return!0}finally{me.p=a,L.T=r,vf(e,t)}}function xf(e,t,n){t=Wi(n,t),t=Ac(e.stateNode,t,2),e=xo(e,t,2),e!==null&&(pt(e,2),Ff(e))}function Sf(e,t,n){if(e.tag===3)xf(e,e,n);else for(;t!==null;){if(t.tag===3){xf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Ed===null||!Ed.has(r))){e=Wi(n,e),n=jc(2),r=xo(t,n,2),r!==null&&(Mc(n,r,t,e),pt(r,2),Ff(r));break}}t=t.return}}function Cf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new nd;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(dd=!0,i.add(n),e=wf.bind(null,e,t,n),t.then(e,e))}function wf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,id===e&&(od&n)===n&&(pd===4||pd===3&&(od&62914560)===od&&300>Ve()-Sd?rd&2?gd|=n:Yd(e,0):gd|=n,vd===od&&(vd=0)),Ff(e)}function Tf(e,t){t===0&&(t=dt()),e=ki(e,t),e!==null&&(pt(e,t),Ff(e))}function Ef(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tf(e,n)}function Df(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Tf(e,n)}function Of(e,t){return Le(e,t)}var kf=null,Af=null,jf=!1,Mf=!1,Nf=!1,Pf=0;function Ff(e){e!==Af&&e.next===null&&(Af===null?kf=Af=e:Af=Af.next=e),Mf=!0,jf||(jf=!0,Hf())}function If(e,t){if(!Nf&&Mf){Nf=!0;do for(var n=!1,r=kf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-$e(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Vf(r,a))}else a=od,a=st(r,r===id?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||ct(r,a)||(n=!0,Vf(r,a))}r=r.next}while(n);Nf=!1}}function Lf(){Rf()}function Rf(){Mf=jf=!1;var e=0;Pf!==0&&Ep()&&(e=Pf);for(var t=Ve(),n=null,r=kf;r!==null;){var i=r.next,a=zf(r,t);a===0?(r.next=null,n===null?kf=i:n.next=i,i===null&&(Af=n)):(n=r,(e!==0||a&3)&&(Mf=!0)),r=i}Dd!==0&&Dd!==5||If(e,!1),Pf!==0&&(Pf=0)}function zf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&gp(d)&&(c=c.responseEnd,o+=u*(cuh){s.length=o;break}f=new Promise(Hp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Im(e,t,n){var r=Fm;if(r&&typeof t==`string`&&t){var i=an(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Am.has(i)||(Am.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),pp(t,`link`,e),Lt(t),r.head.appendChild(t)))}}function Lm(e){Mm.D(e),Im(`dns-prefetch`,e,null)}function Rm(e,t){Mm.C(e,t),Im(`preconnect`,e,t)}function zm(e,t,n){Mm.L(e,t,n);var r=Fm;if(r&&e&&t){var i=`link[rel="preload"][as="`+an(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+an(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+an(n.imageSizes)+`"]`)):i+=`[href="`+an(e)+`"]`;var a=i;switch(t){case`style`:a=Gm(e);break;case`script`:a=Ym(e)}if(!(km.has(a)||(e=D({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),km.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Km(a))||t===`script`&&r.querySelector(Xm(a))))){var o=r.createElement(`link`);pp(o,`link`,e),t===`style`&&(o[jt]=!0,o.onload=o.onerror=function(){Rt(o)}),Lt(o),r.head.appendChild(o)}}}function Bm(e,t){Mm.m(e,t);var n=Fm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+an(r)+`"][href="`+an(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ym(e)}if(!km.has(a)&&(e=D({rel:`modulepreload`,href:e},t),km.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Xm(a)))return}r=n.createElement(`link`),pp(r,`link`,e),Lt(r),n.head.appendChild(r)}}}function Vm(e,t,n){Mm.S(e,t,n);var r=Fm;if(r&&e){var i=It(r).hoistableStyles,a=Gm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Km(a)))s.loading=5;else{e=D({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=km.get(a))&&$m(e,n);var c=o=r.createElement(`link`);Lt(c),pp(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Qm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Hm(e,t){Mm.X(e,t);var n=Fm;if(n&&e){var r=It(n).hoistableScripts,i=Ym(e),a=r.get(i);a||(a=n.querySelector(Xm(i)),a||(e=D({src:e,async:!0},t),(t=km.get(i))&&eh(e,t),a=n.createElement(`script`),Lt(a),pp(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Um(e,t){Mm.M(e,t);var n=Fm;if(n&&e){var r=It(n).hoistableScripts,i=Ym(e),a=r.get(i);a||(a=n.querySelector(Xm(i)),a||(e=D({src:e,async:!0,type:`module`},t),(t=km.get(i))&&eh(e,t),a=n.createElement(`script`),Lt(a),pp(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Wm(e,t,n,r){var a=(a=Ce.current)?jm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Gm(n.href),t=It(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Gm(n.href);var o=It(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Km(e)))?o._p||(s.instance=o,s.state.loading=5):(o=km.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},km.set(e,o)),Jm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Ym(n),t=It(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Gm(e){return`href="`+an(e)+`"`}function Km(e){return`link[rel="stylesheet"][`+e+`]`}function qm(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function Jm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[jt]){r.loading=1;return}}else t=e.createElement(`link`),t[jt]=!0,t.onload=t.onerror=Rt.bind(null,t),pp(t,`link`,n),Lt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Ym(e){return`[src="`+an(e)+`"]`}function Xm(e){return`script[async]`+e}function Zm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+an(n.href)+`"]`);if(r)return t.instance=r,Lt(r),r;var a=D({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Lt(r),pp(r,`style`,a),Qm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Gm(n.href);var o=e.querySelector(Km(a));if(o)return t.state.loading|=4,t.instance=o,Lt(o),o;r=qm(n),(a=km.get(a))&&$m(r,a),o=(e.ownerDocument||e).createElement(`link`),Lt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),pp(o,`link`,r),t.state.loading|=4,Qm(o,n.precedence,e),t.instance=o;case`script`:return o=Ym(n.src),(a=e.querySelector(Xm(o)))?(t.instance=a,Lt(a),a):(r=n,(a=km.get(o))&&(r=D({},n),eh(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Lt(a),pp(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Qm(r,n.precedence,e));return t.instance}function Qm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function ih(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function ah(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function oh(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function sh(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function ch(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=sh(t),e.suspenseyImages.push(t)),e=mh.bind(e),t.decode().then(e,e))}function lh(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Gm(r.href),a=t.querySelector(Km(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ph.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Lt(a);return}a=t.ownerDocument||t,r=qm(r),(i=km.get(i))&&$m(r,i),a=a.createElement(`link`),Lt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),pp(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ph.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var uh=0;function dh(e,t){return e.stylesheets&&e.count===0&&gh(e,e.stylesheets),0uh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function fh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)gh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function ph(){this.count--,fh(this)}function mh(){this.imgCount--,fh(this)}var hh=null;function gh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hh=new Map,t.forEach(_h,e),hh=null,ph.call(e))}function _h(e,t){if(!(t.state.loading&4)){var n=hh.get(e);if(n)var r=n.get(null);else{n=new Map,hh.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),y=o(((e,t)=>{t.exports=v()})),b=l(d(),1),x=y(),S=b.createContext(void 0),C=e=>{let t=b.useContext(S);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},w=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,x.jsx)(S.Provider,{value:e,children:t})),T={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},E=new class{#e=T;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function D(e){setTimeout(e,0)}var O=typeof window>`u`||`Deno`in globalThis;function k(){}function A(e,t){return typeof e==`function`?e(t):e}function j(e){return typeof e==`number`&&e>=0&&e!==1/0}function M(e,t){return Math.max(e+(t||0)-Date.now(),0)}function N(e,t){return typeof e==`function`?e(t):e}function ee(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==F(o,t.options))return!1}else if(!ne(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function P(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(te(t.options.mutationKey)!==te(a))return!1}else if(!ne(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function F(e,t){return(t?.queryKeyHashFn||te)(e)}function te(e){return JSON.stringify(e,(e,t)=>oe(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ne(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){if(t.length>e.length)return!1;for(let n=0;n500)return t;let r=ae(e)&&ae(t);if(!r&&!(oe(e)&&oe(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l{E.setTimeout(t,e)})}function le(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:ie(e,t)}function ue(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function de(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var fe=Symbol();function pe(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===fe?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function L(e,t){return typeof e==`function`?e(...t):!!e}function me(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r||(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0})),i)}),e}var he=()=>O,ge=()=>he(),_e=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ve=new class extends _e{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},ye=D;function be(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=ye,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var xe=be(),Se=new class extends _e{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function Ce(e){return Math.min(1e3*2**e,3e4)}function we(e){return(e??`online`)!==`online`||Se.isOnline()}var Te=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Ee(e){let t=!1,n=0,r,i=`pending`,a,o,s=new Promise((e,t)=>{a=e,o=t});s.catch(k);let c=()=>i!==`pending`,l=t=>{if(!c()){let n=new Te(t);h(n),e.onCancel?.(n)}},u=()=>{t=!0},d=()=>{t=!1},f=()=>ve.isFocused()&&(e.networkMode===`always`||Se.isOnline())&&e.canRun(),p=()=>we(e.networkMode)&&e.canRun(),m=e=>{c()||(r?.(),i=`resolved`,a(e))},h=e=>{c()||(r?.(),i=`rejected`,o(e))},g=t=>new Promise(n=>{r=e=>{(c()||t())&&n(e)},e.onPause?.()}).then(()=>{r=void 0,c()||e.onContinue?.()}),_=()=>{if(c())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(m).catch(r=>{if(c())return;let i=e.retry??(ge()?0:3),a=e.retryDelay??Ce,o=typeof a==`function`?a(n,r):a,s=i===!0||typeof i==`number`&&nf()?void 0:g(f)).then(()=>{t?h(r):_()}))})};return{promise:s,status:()=>i,cancel:l,continue:()=>(r?.(),s),cancelRetry:u,continueRetry:d,canStart:p,start:()=>(p()?_():g(p).then(_),s)}}var De=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),j(this.gcTime)&&(this.#e=E.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ge()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(E.clearTimeout(this.#e),this.#e=void 0)}};function Oe(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{me(e,()=>t.signal,()=>n=!0)},u=pe(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?de:ue;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Ae:ke,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]===void 0?r.initialPageParam:o[0]:ke(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(ct.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function ke(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ae(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var je=class extends De{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Pe(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Pe(this.options);e.data!==void 0&&(this.setState(Ne(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=le(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#c({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(k).catch(k):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>N(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===fe||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>N(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!M(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);t!==-1&&(this.observers.splice(t,1),this.observers.length||(this.#a&&(this.#s||this.state.fetchStatus===`paused`&&this.state.status===`pending`?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=pe(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Oe(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta});let o=this.#a=Ee({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Te&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await o.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Te){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.#a===o&&(this.#a=void 0),this.scheduleGc()}}#c(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Me(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Ne(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),xe.batch(()=>{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Me(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:we(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Ne(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Pe(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Fe=class extends _e{#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#o=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Le(this.#t,this.options)?this.#m():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Re(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Re(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof N(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!I(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&ze(this.#t,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#t!==n||N(this.options.enabled,this.#t)!==N(t.enabled,this.#t)||N(this.options.staleTime,this.#t)!==N(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||N(this.options.enabled,this.#t)!==N(t.enabled,this.#t)||i!==this.#f)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return I(this.getCurrentResult(),n)||(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),Reflect.get(e,n))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t),r=()=>{},i,a=new Promise(e=>{i=e,r=this.#e.getQueryCache().subscribe(i=>{i.type===`updated`&&i.query.queryHash===n.queryHash&&n.state.data!==void 0&&(r(),e(this.createResult(n,t)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,t);return i?.(e),e}).finally(()=>{r()}),a])}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#m(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(k)),t}#h(e){return!ge()&&N(this.options.enabled,this.#t)!==!1&&j(e)}#g(){this.#b();let e=N(this.options.staleTime,this.#t);if(this.#r.isStale||!this.#h(e))return;let t=M(this.#r.dataUpdatedAt,e)+1;this.#u=E.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return N(this.options.refetchInterval,this.#t)??!1}#v(e){this.#x(),this.#f=e,this.#f!==0&&this.#h(this.#f)&&(this.#d=E.setInterval(()=>{(this.options.refetchIntervalInBackground||ve.isFocused())&&this.#m()},this.#f))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#u!==void 0&&(E.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#d!==void 0&&(E.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Le(e,t),o=i&&ze(e,n,t,r);(a||o)&&(l={...l,...Me(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#l?.state.data,this.#l):t.placeholderData,e!==void 0&&(m=`success`,d=le(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===this.#s)d=this.#c;else try{this.#s=t.select,d=t.select(d),d=le(i?.data,d,t),this.#c=d,this.#o=null}catch(e){this.#o=e}}else d===void 0&&(this.#o=null);this.#o&&(f=this.#o,d=this.#c,p=Date.now(),m=`error`,u=!1);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0;return{status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Be(e,t),refetch:this.refetch,isEnabled:N(t.enabled,e)!==!1}}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#l=this.#t),I(t,e))return;this.#r=t;let n=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#p.size)return!0;let r=new Set(n??this.#p);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})();xe.batch(()=>{n&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function Ie(e,t){return N(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||N(t.retryOnMount,e)!==!1)}function Le(e,t){return Ie(e,t)||e.state.data!==void 0&&Re(e,t,t.refetchOnMount)}function Re(e,t,n){if(N(t.enabled,e)!==!1&&N(t.staleTime,e)!==`static`){let r=N(n,e);return r===`always`||r!==!1&&Be(e,t)}return!1}function ze(e,t,n,r){return(e!==t||N(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Be(e,n)}function Be(e,t){return N(t.enabled,e)!==!1&&e.isStaleByTime(N(t.staleTime,e))}var Ve=class extends De{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||He(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=Ee({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),i=this.state.status===`pending`,a=!r.canStart();try{if(i)t();else{this.#i({type:`pending`,variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:a})}let o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#i({type:`success`,data:o}),o}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),xe.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function He(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Ue=class extends _e{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new Ve({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=We(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=We(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=We(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=We(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){xe.batch(()=>{let e=this.getAll();this.#e.clear(),this.#t.clear(),e.forEach(e=>{this.notify({type:`removed`,mutation:e})})})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>P(t,e))}findAll(e={}){return this.getAll().filter(t=>P(e,t))}notify(e){xe.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return xe.batch(()=>Promise.all(e.map(e=>e.continue().catch(k))))}};function We(e){return e.options.scope?.id}var Ge=class extends _e{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),I(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&te(t.mutationKey)!==te(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onSubscribe(){this.listeners.size===1&&this.#n&&(this.#n.addObserver(this),this.#i())}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??He();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){xe.batch(()=>{let t=this.#r;if(t&&this.hasListeners()){let n=this.#t.variables,r=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{t.onSuccess?.(e.data,n,r,i)}catch(e){Promise.reject(e)}try{t.onSettled?.(e.data,null,n,r,i)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{t.onError?.(e.error,n,r,i)}catch(e){Promise.reject(e)}try{t.onSettled?.(void 0,e.error,n,r,i)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},Ke=class extends _e{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??F(r,t),a=this.get(i);return a||(a=new je({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){this.#e.get(e.queryHash)===e&&(e.destroy(),this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){xe.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>ee(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>ee(e,t)):t}notify(e){xe.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){xe.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){xe.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},qe=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Ke,this.#t=e.mutationCache||new Ue,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=ve.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Se.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(N(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=A(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return xe.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;xe.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return xe.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=xe.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(k).catch(k)}invalidateQueries(e,t={}){return xe.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=xe.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(k)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(k)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(N(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(N(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(k).catch(k)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(k).catch(k)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Se.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(te(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{ne(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(te(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{ne(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=F(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===fe&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Je=b.createContext(!1),Ye=()=>b.useContext(Je);Je.Provider;function Xe(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Ze=b.createContext(Xe()),Qe=()=>b.useContext(Ze),$e=(e,t,n)=>{let r=n?.state.status===`error`&&typeof e.throwOnError==`function`?L(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||r)&&(t.isReset()||(e.retryOnMount=!1))},et=e=>{b.useEffect(()=>{e.clearReset()},[e])},tt=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||L(n,[e.error,r])),nt=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},rt=(e,t)=>e?.suspense&&t.isPending,it=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function at(e,t,n){let r=Ye(),i=Qe(),a=C(n),o=a.defaultQueryOptions(e),s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,nt(o),$e(o,i,s),et(i);let[l]=b.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),d=!r&&c;if(b.useSyncExternalStore(b.useCallback(e=>{let t=d?l.subscribe(xe.batchCalls(e)):k;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),b.useEffect(()=>{l.setOptions(o)},[o,l]),rt(o,u))throw it(o,l,i);if(tt({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return o.notifyOnChangeProps?u:l.trackResult(u)}function ot(e,t){return at(e,Fe,t)}function st(e,t){let n=C(t),[r]=b.useState(()=>new Ge(n,e));b.useEffect(()=>{r.setOptions(e)},[r,e]);let i=b.useSyncExternalStore(b.useCallback(e=>r.subscribe(xe.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=b.useCallback((...e)=>{r.mutate(e[0],e[1]).catch(k)},[r]);if(i.error&&L(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var ct=l(h(),1),lt=_(),ut=`modulepreload`,dt=function(e,t){return new URL(e,t).href},ft={},pt=function(e){return e.pathname.endsWith(`.css`)},mt=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},ht=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=dt(t,n);let r=s(t),i=pt(r);return mt(ft,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:ut,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},gt=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,_t=/^[\\/]{2}/;function vt(e,t){return t+e.replace(/\\/g,`/`)}var yt=`popstate`;function bt(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function xt(e={}){function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=Ot(e.location.hash.substring(1));return!n.startsWith(`/`)&&!n.startsWith(`.`)&&(n=`/`+n),Et(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:Dt(t))}function r(e,t){Ct(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}return kt(t,n,r,e)}function St(e,t){if(e===!1||e==null)throw Error(t)}function Ct(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function wt(){return Math.random().toString(36).substring(2,10)}function Tt(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Et(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?Ot(t):t,state:n,key:t&&t.key||r||wt(),mask:i}}function Dt({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function Ot(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function kt(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=bt(e)?e:Et(h.location,e,t);n&&n(r,e),l=u()+1;let d=Tt(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=bt(e)?e:Et(h.location,e,t);n&&n(r,e),l=u();let i=Tt(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return At(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(yt,d),c=e,()=>{i.removeEventListener(yt,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function At(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),St(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:Dt(t);return i=i.replace(/ $/,`%20`),!n&&_t.test(i)&&(i=r+i),new URL(i,r)}function jt(e,t,n=`/`){return Mt(e,t,n,!1)}function Mt(e,t,n,r,i){let a=Zt((typeof t==`string`?Ot(t):t).pathname||`/`,n);if(a==null)return null;let o=i??Nt(e),s=null,c=Xt(a);for(let e=0;s==null&&e{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;St(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=on([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(St(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),Pt(e.children,t,u,l,o)),(e.path!=null||e.index)&&t.push({path:l,score:Wt(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=Yt(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of Ft(e.path))a(e,t,!0,n)}),t}function Ft(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=Ft(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function It(e){e.sort((e,t)=>e.score===t.score?Gt(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var Lt=/^:[\w-]+$/,Rt=3,zt=2,Bt=1,Vt=10,Ht=-2,Ut=e=>e===`*`;function Wt(e,t){let n=e.split(`/`),r=n.length;return n.some(Ut)&&(r+=Ht),t&&(r+=zt),n.filter(e=>!Ut(e)).reduce((e,t)=>e+(Lt.test(t)?Rt:t===``?Bt:Vt),r)}function Gt(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Kt(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e{if(t===`*`){let e=s[r]||``;o=sn(a.slice(0,a.length-e.length),1)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Yt(e,t=!1,n=!0){Ct(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function Xt(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return Ct(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Zt(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function Qt(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?Ot(e):e,a;return n?(n=an(n),a=n.startsWith(`/`)||n.startsWith(`\\`)?$t(n.substring(1),`/`):$t(n,t)):a=t,{pathname:a,search:ln(r),hash:un(i)}}function $t(e,t){let n=sn(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function en(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function tn(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function nn(e){let t=tn(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function rn(e,t,n,r=!1){let i;typeof e==`string`?i=Ot(e):(i={...e},St(!i.pathname||!i.pathname.includes(`?`),en(`?`,`pathname`,`search`,i)),St(!i.pathname||!i.pathname.includes(`#`),en(`#`,`pathname`,`hash`,i)),St(!i.search||!i.search.includes(`#`),en(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Qt(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var an=e=>e.replace(/[\\/]{2,}/g,`/`),on=e=>an(e.join(`/`));function sn(e,t=0){let n=e.length;for(;n>t&&e.charCodeAt(n-1)===47;)n--;return n===e.length?e:e.slice(0,n)}var cn=e=>sn(e).replace(/^\/*/,`/`),ln=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,un=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,dn=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function fn(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function pn(e){return on(e.map(e=>e.route.path).filter(Boolean))||`/`}var mn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function hn(e,t){let n=e;if(typeof n!=`string`||!gt.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(mn)try{let e=new URL(window.location.href),r=_t.test(n)?new URL(vt(n,e.protocol)):new URL(n),a=Zt(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{Ct(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var gn=new URL(`http://localhost`);function _n(e){if(e.createURL)return e.createURL(`/`);try{return new URL(e.createHref(`/`),gn)}catch{return gn}}function vn(e,t){return e.origin===t.origin&&(e.origin!==`null`||e.protocol===t.protocol&&e.host===t.host)}function yn(e,t){if(e.startsWith(`//`))return!0;let n=t.protocol.toLowerCase();return e.toLowerCase().startsWith(n)?t.host===``||e.slice(n.length).startsWith(`//`):!1}function bn(e,t,n,r){let i=null;try{i=e==null?null:new URL(e,n)}catch{}let a=new URL(t,n),o=i!=null&&!vn(i,n),s=!vn(a,n);if(r===`reject`){if(o||s)throw Error(`External navigation is not allowed`)}else if(s&&(i==null||!yn(e,i)||!vn(i,a)))throw Error(`External navigation is not allowed`)}var xn=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(xn);var Sn=[`GET`,...xn];new Set(Sn);var Cn=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function wn(e){try{return Cn.includes(new URL(e).protocol)}catch{return!1}}var Tn=b.createContext(null);Tn.displayName=`DataRouter`;var En=b.createContext(null);En.displayName=`DataRouterState`;var Dn=b.createContext(!1);function On(){return b.useContext(Dn)}var kn=b.createContext({isTransitioning:!1});kn.displayName=`ViewTransition`;var An=b.createContext(new Map);An.displayName=`Fetchers`;var jn=b.createContext(null);jn.displayName=`Await`;var Mn=b.createContext(null);Mn.displayName=`Navigation`;var Nn=b.createContext(null);Nn.displayName=`Location`;var Pn=b.createContext({outlet:null,matches:[],isDataRoute:!1});Pn.displayName=`Route`;var Fn=b.createContext(null);Fn.displayName=`RouteError`;var In=`REACT_ROUTER_ERROR`,Ln=`REDIRECT`,Rn=`ROUTE_ERROR_RESPONSE`;function zn(e){if(e.startsWith(`${In}:${Ln}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function Bn(e){if(e.startsWith(`${In}:${Rn}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new dn(t.status,t.statusText,t.data)}catch{}}function Vn(e,{relative:t}={}){St(Hn(),`useHref() may be used only in the context of a component.`);let{basename:n,navigator:r}=b.useContext(Mn),{hash:i,pathname:a,search:o}=Zn(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:on([n,a])),r.createHref({pathname:s,search:o,hash:i})}function Hn(){return b.useContext(Nn)!=null}function Un(){return St(Hn(),`useLocation() may be used only in the context of a component.`),b.useContext(Nn).location}var Wn=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Gn(e){b.useContext(Mn).static||b.useLayoutEffect(e)}function Kn(){let{isDataRoute:e}=b.useContext(Pn);return e?mr():qn()}function qn(){St(Hn(),`useNavigate() may be used only in the context of a component.`);let e=b.useContext(Tn),{basename:t,navigator:n}=b.useContext(Mn),{matches:r}=b.useContext(Pn),{pathname:i}=Un(),a=JSON.stringify(nn(r)),o=b.useRef(!1);return Gn(()=>{o.current=!0}),b.useCallback((r,s={})=>{if(Ct(o.current,Wn),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=rn(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:on([t,c.pathname])),bn(typeof r==`string`?r:Dt(r),n.createHref(c),_n(n),`reject`),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var Jn=b.createContext(null);function Yn(e){let t=b.useContext(Pn).outlet;return b.useMemo(()=>t&&b.createElement(Jn.Provider,{value:e},t),[t,e])}function Xn(){let{matches:e}=b.useContext(Pn);return e[e.length-1]?.params??{}}function Zn(e,{relative:t}={}){let{matches:n}=b.useContext(Pn),{pathname:r}=Un(),i=JSON.stringify(nn(n));return b.useMemo(()=>rn(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Qn(e,t){return $n(e,t)}function $n(e,t,n){St(Hn(),`useRoutes() may be used only in the context of a component.`);let{navigator:r}=b.useContext(Mn),{matches:i}=b.useContext(Pn),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;gr(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent to .`)}let u=Un(),d;if(t){let e=typeof t==`string`?Ot(t):t;St(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):jt(e,{pathname:p});Ct(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),Ct(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let h=or(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:on([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:on([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?b.createElement(Nn.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function er(){let e=pr(),t=fn(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=b.createElement(b.Fragment,null,b.createElement(`p`,null,`💿 Hey developer 👋`),b.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,b.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,b.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),b.createElement(b.Fragment,null,b.createElement(`h2`,null,`Unexpected Application Error!`),b.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?b.createElement(`pre`,{style:i},n):null,o)}var tr=b.createElement(er,null),nr=class extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=Bn(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:b.createElement(Pn.Provider,{value:this.props.routeContext},b.createElement(Fn.Provider,{value:e,children:this.props.component}));return this.context?b.createElement(ir,{error:e},t):t}};nr.contextType=Dn;var rr=new WeakMap;function ir({children:e,error:t}){let{basename:n,navigator:r}=b.useContext(Mn);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=zn(t.digest);if(e){let i=rr.get(t);if(i)throw i;let a=hn(e.location,n),o=a.absoluteURL||a.to;if(bn(e.location,o,_n(r),`allow-explicit`),wn(o))throw Error(`Invalid redirect location`);if(mn&&!rr.get(t)){if(a.isExternal||e.reloadDocument)window.location.href=o;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw rr.set(t,n),n}}return b.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${o}`})}}return e}function ar({routeContext:e,match:t,children:n}){let r=b.useContext(Tn);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),b.createElement(Pn.Provider,{value:e},n)}function or(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);St(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:pn(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||tr,o&&(s<0&&c===0?(gr(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?b.createElement(n.route.Component,null):n.route.element?n.route.element:e,b.createElement(ar,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?b.createElement(nr,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function sr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function cr(e){let t=b.useContext(Tn);return St(t,sr(e)),t}function lr(e){let t=b.useContext(En);return St(t,sr(e)),t}function ur(e){let t=b.useContext(Pn);return St(t,sr(e)),t}function dr(e){let t=ur(e),n=t.matches[t.matches.length-1];return St(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function fr(){return dr(`useRouteId`)}function pr(){let e=b.useContext(Fn),t=lr(`useRouteError`),n=dr(`useRouteError`);return e===void 0?t.errors?.[n]:e}function mr(){let{router:e}=cr(`useNavigate`),t=dr(`useNavigate`),n=b.useRef(!1);return Gn(()=>{n.current=!0}),b.useCallback(async(r,i={})=>{Ct(n.current,Wn),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var hr={};function gr(e,t,n){!t&&!hr[e]&&(hr[e]=!0,Ct(!1,n))}b.memo(_r);function _r({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return $n(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function vr(e){return Yn(e.context)}function yr(e){St(!1,`A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .`)}function br({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){St(!Hn(),`You cannot render a inside another . You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=b.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=Ot(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=b.useMemo(()=>{let e=Zt(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return Ct(h!=null,` is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the won't render anything.`),h==null?null:b.createElement(Mn.Provider,{value:c},b.createElement(Nn.Provider,{children:t,value:h}))}function xr({children:e,location:t}){return Qn(Sr(e),t)}b.Component;function Sr(e,t=[]){let n=[];return b.Children.forEach(e,(e,r)=>{if(!b.isValidElement(e))return;let i=[...t,r];if(e.type===b.Fragment){n.push.apply(n,Sr(e.props.children,i));return}St(e.type===yr,`[${typeof e.type==`string`?e.type:e.type.name}] is not a component. All component children of must be a or `),St(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Sr(e.props.children,i)),n.push(a)}),n}var Cr=`get`,wr=`application/x-www-form-urlencoded`;function Tr(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Er(e){return Tr(e)&&e.tagName.toLowerCase()===`button`}function Dr(e){return Tr(e)&&e.tagName.toLowerCase()===`form`}function Or(e){return Tr(e)&&e.tagName.toLowerCase()===`input`}function kr(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ar(e,t){return e.button===0&&(!t||t===`_self`)&&!kr(e)}var jr=null;function Mr(){if(jr===null)try{new FormData(document.createElement(`form`),0),jr=!1}catch{jr=!0}return jr}var Nr=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Pr(e){return e!=null&&!Nr.has(e)?(Ct(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${wr}"`),null):e}function Fr(e,t){let n,r,i,a,o;if(Dr(e)){let o=e.getAttribute(`action`);r=o?Zt(o,t):null,n=e.getAttribute(`method`)||Cr,i=Pr(e.getAttribute(`enctype`))||wr,a=new FormData(e)}else if(Er(e)||Or(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a