kennel 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -95
- package/bin/kennel-native.mjs +5 -0
- package/dist/cli/dispatch.js +80 -15
- package/dist/cli/usage.js +13 -3
- package/dist/core/api-client.d.ts +13 -0
- package/dist/core/api-client.js +15254 -0
- package/dist/core/command.d.ts +1 -0
- package/dist/core/command.js +66 -0
- package/dist/core/core-folders.d.ts +1 -0
- package/dist/core/core-folders.js +42 -0
- package/dist/core/init.d.ts +1 -0
- package/dist/core/init.js +86 -0
- package/dist/core/runtime.d.ts +14 -0
- package/dist/core/runtime.js +79774 -0
- package/dist/deploy/cloudflare.js +10 -1
- package/dist/deploy/smoke-tests.d.ts +1 -0
- package/dist/deploy/smoke-tests.js +21 -0
- package/dist/deploy/vercel.d.ts +3 -0
- package/dist/deploy/vercel.js +67 -0
- package/dist/main.js +1 -0
- package/dist/mcp/config.js +14 -0
- package/dist/mcp/function-source.js +3 -1
- package/dist/mcp/install-page.d.ts +12 -1
- package/dist/mcp/install-page.js +3 -358
- package/dist/notifications/email-worker.js +1 -1
- package/dist/package/preview.d.ts +9 -0
- package/dist/package/preview.js +82561 -0
- package/dist/publish/cloudflare-init.js +5 -2
- package/dist/publish/config.d.ts +1 -1
- package/dist/publish/config.js +3 -15
- package/dist/publish/vercel-init.d.ts +9 -0
- package/dist/publish/vercel-init.js +52 -0
- package/dist/site/dev.js +3 -5
- package/dist/site/extension.d.ts +8 -0
- package/dist/site/extension.js +113 -0
- package/dist/site/folder-icons.d.ts +46 -0
- package/dist/site/folder-icons.js +86 -0
- package/dist/site/hot-viewer.d.ts +2 -0
- package/dist/site/hot-viewer.js +231 -0
- package/dist/site/kinds.d.ts +1 -0
- package/dist/site/kinds.js +1 -0
- package/dist/site/mail.d.ts +1 -0
- package/dist/site/mail.js +10 -0
- package/dist/site/renderers.d.ts +61 -0
- package/dist/site/renderers.js +219 -0
- package/dist/site/server-plugins.d.ts +54 -0
- package/dist/site/server-plugins.js +10300 -0
- package/dist/site/viewer.d.ts +36 -0
- package/dist/site/viewer.js +339 -0
- package/dist/site/vitepress.d.ts +1 -21
- package/dist/site/vitepress.js +1 -66
- package/node_modules/@libsql/client/README.md +128 -0
- package/node_modules/@libsql/client/lib-cjs/hrana.js +372 -0
- package/node_modules/@libsql/client/lib-cjs/http.js +268 -0
- package/node_modules/@libsql/client/lib-cjs/node.js +41 -0
- package/node_modules/@libsql/client/lib-cjs/package.json +3 -0
- package/node_modules/@libsql/client/lib-cjs/sql_cache.js +91 -0
- package/node_modules/@libsql/client/lib-cjs/sqlite3.js +501 -0
- package/node_modules/@libsql/client/lib-cjs/web.js +41 -0
- package/node_modules/@libsql/client/lib-cjs/ws.js +395 -0
- package/node_modules/@libsql/client/lib-esm/hrana.d.ts +23 -0
- package/node_modules/@libsql/client/lib-esm/hrana.js +341 -0
- package/node_modules/@libsql/client/lib-esm/http.d.ts +39 -0
- package/node_modules/@libsql/client/lib-esm/http.js +232 -0
- package/node_modules/@libsql/client/lib-esm/node.d.ts +7 -0
- package/node_modules/@libsql/client/lib-esm/node.js +23 -0
- package/node_modules/@libsql/client/lib-esm/sql_cache.d.ts +7 -0
- package/node_modules/@libsql/client/lib-esm/sql_cache.js +87 -0
- package/node_modules/@libsql/client/lib-esm/sqlite3.d.ts +35 -0
- package/node_modules/@libsql/client/lib-esm/sqlite3.js +477 -0
- package/node_modules/@libsql/client/lib-esm/web.d.ts +6 -0
- package/node_modules/@libsql/client/lib-esm/web.js +22 -0
- package/node_modules/@libsql/client/lib-esm/ws.d.ts +50 -0
- package/node_modules/@libsql/client/lib-esm/ws.js +359 -0
- package/node_modules/@libsql/client/package.json +123 -0
- package/node_modules/@raggle-ai/local/LICENSE +21 -0
- package/node_modules/@raggle-ai/local/README.md +52 -0
- package/node_modules/@raggle-ai/local/THIRD_PARTY_NOTICES.md +95 -0
- package/node_modules/@raggle-ai/local/dist/acp/client.d.ts +31 -0
- package/node_modules/@raggle-ai/local/dist/acp/client.js +92 -0
- package/node_modules/@raggle-ai/local/dist/acp/distributions.d.ts +18 -0
- package/node_modules/@raggle-ai/local/dist/acp/distributions.js +41 -0
- package/node_modules/@raggle-ai/local/dist/acp/index.d.ts +4 -0
- package/node_modules/@raggle-ai/local/dist/acp/index.js +14 -0
- package/node_modules/@raggle-ai/local/dist/acp/registry.d.ts +111 -0
- package/node_modules/@raggle-ai/local/dist/acp/registry.js +137 -0
- package/node_modules/@raggle-ai/local/dist/acp/sdk-types.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/acp/sdk-types.js +2 -0
- package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.d.ts +100 -0
- package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.js +286 -0
- package/node_modules/@raggle-ai/local/dist/adapters/application-open.d.ts +6 -0
- package/node_modules/@raggle-ai/local/dist/adapters/application-open.js +37 -0
- package/node_modules/@raggle-ai/local/dist/adapters/base-repository.d.ts +75 -0
- package/node_modules/@raggle-ai/local/dist/adapters/base-repository.js +469 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-changes.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-changes.js +78 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-clone.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-clone.js +162 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-repository.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-repository.js +86 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-sync.d.ts +5 -0
- package/node_modules/@raggle-ai/local/dist/adapters/git-sync.js +45 -0
- package/node_modules/@raggle-ai/local/dist/adapters/github.d.ts +72 -0
- package/node_modules/@raggle-ai/local/dist/adapters/github.js +301 -0
- package/node_modules/@raggle-ai/local/dist/adapters/import.d.ts +86 -0
- package/node_modules/@raggle-ai/local/dist/adapters/import.js +239 -0
- package/node_modules/@raggle-ai/local/dist/adapters/init.d.ts +1 -0
- package/node_modules/@raggle-ai/local/dist/adapters/init.js +37 -0
- package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.d.ts +11 -0
- package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.js +18 -0
- package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.d.ts +32 -0
- package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.js +248 -0
- package/node_modules/@raggle-ai/local/dist/adapters/local-folder.d.ts +4 -0
- package/node_modules/@raggle-ai/local/dist/adapters/local-folder.js +17 -0
- package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.d.ts +18 -0
- package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.js +35 -0
- package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.js +64 -0
- package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.js +124 -0
- package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.js +161 -0
- package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.js +124 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.js +24 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.d.ts +29 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.js +74 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.d.ts +22 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.js +63 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.d.ts +22 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.js +52 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-feed.d.ts +43 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-feed.js +141 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-icons.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-icons.js +14 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-recents.d.ts +11 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-recents.js +36 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-source.d.ts +46 -0
- package/node_modules/@raggle-ai/local/dist/adapters/project-source.js +107 -0
- package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.d.ts +25 -0
- package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.js +62 -0
- package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.d.ts +72 -0
- package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.js +207 -0
- package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.d.ts +19 -0
- package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.js +71 -0
- package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.d.ts +8 -0
- package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.js +225 -0
- package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.d.ts +22 -0
- package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.js +579 -0
- package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.js +103 -0
- package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.js +19 -0
- package/node_modules/@raggle-ai/local/dist/adapters/user-settings.d.ts +162 -0
- package/node_modules/@raggle-ai/local/dist/adapters/user-settings.js +398 -0
- package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.d.ts +7 -0
- package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.js +59 -0
- package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.d.ts +23 -0
- package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.js +186 -0
- package/node_modules/@raggle-ai/local/dist/cache/project-catalog.d.ts +40 -0
- package/node_modules/@raggle-ai/local/dist/cache/project-catalog.js +174 -0
- package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.d.ts +11 -0
- package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.js +82 -0
- package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.js +47 -0
- package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.d.ts +20 -0
- package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.js +35 -0
- package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.d.ts +1 -0
- package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.js +17 -0
- package/node_modules/@raggle-ai/local/dist/core/application-open-target.d.ts +1 -0
- package/node_modules/@raggle-ai/local/dist/core/application-open-target.js +5 -0
- package/node_modules/@raggle-ai/local/dist/core/base-repository.d.ts +60 -0
- package/node_modules/@raggle-ai/local/dist/core/base-repository.js +2 -0
- package/node_modules/@raggle-ai/local/dist/core/catalog-project.d.ts +4 -0
- package/node_modules/@raggle-ai/local/dist/core/catalog-project.js +45 -0
- package/node_modules/@raggle-ai/local/dist/core/connected-projects.d.ts +52 -0
- package/node_modules/@raggle-ai/local/dist/core/connected-projects.js +440 -0
- package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.d.ts +28 -0
- package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.js +401 -0
- package/node_modules/@raggle-ai/local/dist/core/git-change.d.ts +9 -0
- package/node_modules/@raggle-ai/local/dist/core/git-change.js +2 -0
- package/node_modules/@raggle-ai/local/dist/core/indexed-search.d.ts +32 -0
- package/node_modules/@raggle-ai/local/dist/core/indexed-search.js +95 -0
- package/node_modules/@raggle-ai/local/dist/core/link.d.ts +176 -0
- package/node_modules/@raggle-ai/local/dist/core/link.js +740 -0
- package/node_modules/@raggle-ai/local/dist/core/live-project-search.d.ts +47 -0
- package/node_modules/@raggle-ai/local/dist/core/live-project-search.js +122 -0
- package/node_modules/@raggle-ai/local/dist/core/llm-context.d.ts +29 -0
- package/node_modules/@raggle-ai/local/dist/core/llm-context.js +352 -0
- package/node_modules/@raggle-ai/local/dist/core/local-metadata.d.ts +37 -0
- package/node_modules/@raggle-ai/local/dist/core/local-metadata.js +4 -0
- package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.d.ts +7 -0
- package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.js +43 -0
- package/node_modules/@raggle-ai/local/dist/core/logging.d.ts +6 -0
- package/node_modules/@raggle-ai/local/dist/core/logging.js +37 -0
- package/node_modules/@raggle-ai/local/dist/core/markdown-file.d.ts +20 -0
- package/node_modules/@raggle-ai/local/dist/core/markdown-file.js +2 -0
- package/node_modules/@raggle-ai/local/dist/core/open-in.d.ts +18 -0
- package/node_modules/@raggle-ai/local/dist/core/open-in.js +37 -0
- package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.d.ts +27 -0
- package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.js +231 -0
- package/node_modules/@raggle-ai/local/dist/core/personal-relations.d.ts +34 -0
- package/node_modules/@raggle-ai/local/dist/core/personal-relations.js +128 -0
- package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.js +161 -0
- package/node_modules/@raggle-ai/local/dist/core/project-actions.d.ts +11 -0
- package/node_modules/@raggle-ai/local/dist/core/project-actions.js +2 -0
- package/node_modules/@raggle-ai/local/dist/core/project-add.d.ts +20 -0
- package/node_modules/@raggle-ai/local/dist/core/project-add.js +119 -0
- package/node_modules/@raggle-ai/local/dist/core/project-cache-record.d.ts +43 -0
- package/node_modules/@raggle-ai/local/dist/core/project-cache-record.js +85 -0
- package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.js +10 -0
- package/node_modules/@raggle-ai/local/dist/core/project-emoji.d.ts +15 -0
- package/node_modules/@raggle-ai/local/dist/core/project-emoji.js +117 -0
- package/node_modules/@raggle-ai/local/dist/core/project-instruction.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/core/project-instruction.js +16 -0
- package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.d.ts +11 -0
- package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.js +17 -0
- package/node_modules/@raggle-ai/local/dist/core/project-metadata.d.ts +4 -0
- package/node_modules/@raggle-ai/local/dist/core/project-metadata.js +72 -0
- package/node_modules/@raggle-ai/local/dist/core/project-presentation.d.ts +14 -0
- package/node_modules/@raggle-ai/local/dist/core/project-presentation.js +33 -0
- package/node_modules/@raggle-ai/local/dist/core/project-remote.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/core/project-remote.js +45 -0
- package/node_modules/@raggle-ai/local/dist/core/project-schema.d.ts +126 -0
- package/node_modules/@raggle-ai/local/dist/core/project-schema.js +10 -0
- package/node_modules/@raggle-ai/local/dist/core/project-source-settings.d.ts +19 -0
- package/node_modules/@raggle-ai/local/dist/core/project-source-settings.js +57 -0
- package/node_modules/@raggle-ai/local/dist/core/project-store-add.d.ts +21 -0
- package/node_modules/@raggle-ai/local/dist/core/project-store-add.js +36 -0
- package/node_modules/@raggle-ai/local/dist/core/project-subpaths.d.ts +16 -0
- package/node_modules/@raggle-ai/local/dist/core/project-subpaths.js +37 -0
- package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.d.ts +1 -0
- package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.js +12 -0
- package/node_modules/@raggle-ai/local/dist/core/relation-commands.d.ts +32 -0
- package/node_modules/@raggle-ai/local/dist/core/relation-commands.js +111 -0
- package/node_modules/@raggle-ai/local/dist/core/relation-depth.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/core/relation-depth.js +5 -0
- package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.js +113 -0
- package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.d.ts +6 -0
- package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.js +54 -0
- package/node_modules/@raggle-ai/local/dist/core/search.d.ts +151 -0
- package/node_modules/@raggle-ai/local/dist/core/search.js +297 -0
- package/node_modules/@raggle-ai/local/dist/core/skills.d.ts +21 -0
- package/node_modules/@raggle-ai/local/dist/core/skills.js +117 -0
- package/node_modules/@raggle-ai/local/dist/core/types.d.ts +47 -0
- package/node_modules/@raggle-ai/local/dist/core/types.js +2 -0
- package/node_modules/@raggle-ai/local/dist/core/user-projects.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/core/user-projects.js +317 -0
- package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.d.ts +8 -0
- package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.js +27 -0
- package/node_modules/@raggle-ai/local/dist/discovery/project-folders.d.ts +5 -0
- package/node_modules/@raggle-ai/local/dist/discovery/project-folders.js +61 -0
- package/node_modules/@raggle-ai/local/dist/discovery/scanner.d.ts +30 -0
- package/node_modules/@raggle-ai/local/dist/discovery/scanner.js +68 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.d.ts +6 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.js +39 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.d.ts +11 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.js +65 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/index.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/index.js +9 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.d.ts +14 -0
- package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.js +52 -0
- package/node_modules/@raggle-ai/local/dist/generated/project-emoji.json +1 -0
- package/node_modules/@raggle-ai/local/dist/index.d.ts +84 -0
- package/node_modules/@raggle-ai/local/dist/index.js +435 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.d.ts +92 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.js +108 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.d.ts +64 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.js +91 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.d.ts +15 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.js +31 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.js +9 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.js +2 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.d.ts +13 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.js +2 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.d.ts +14 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.js +2 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.js +2 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.d.ts +20 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.js +9 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.d.ts +19 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.js +9 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.js +9 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/server.d.ts +8 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/server.js +48 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.js +58 -0
- package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.d.ts +6 -0
- package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.js +29 -0
- package/node_modules/@raggle-ai/local/dist/native/index.d.ts +396 -0
- package/node_modules/@raggle-ai/local/dist/native/index.js +766 -0
- package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-arm64.node +0 -0
- package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-x64.node +0 -0
- package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.linux-x64-gnu.node +0 -0
- package/node_modules/@raggle-ai/local/dist/native-bridge.d.ts +383 -0
- package/node_modules/@raggle-ai/local/dist/native-bridge.js +306 -0
- package/node_modules/@raggle-ai/local/dist/native.d.ts +1 -0
- package/node_modules/@raggle-ai/local/dist/native.js +10 -0
- package/node_modules/@raggle-ai/local/dist/search/index.d.ts +3 -0
- package/node_modules/@raggle-ai/local/dist/search/index.js +23 -0
- package/node_modules/@raggle-ai/local/dist/service/client.d.ts +2 -0
- package/node_modules/@raggle-ai/local/dist/service/client.js +18 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/client.d.ts +64 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/client.js +84 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.d.ts +15 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.js +31 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.js +9 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.js +2 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.d.ts +13 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.js +2 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.d.ts +14 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.js +2 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.js +2 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.d.ts +20 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.js +9 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.d.ts +19 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.js +9 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.d.ts +12 -0
- package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.js +9 -0
- package/node_modules/@raggle-ai/local/dist/service/scout-service.d.ts +17 -0
- package/node_modules/@raggle-ai/local/dist/service/scout-service.js +196 -0
- package/node_modules/@raggle-ai/local/dist/sessions/create.d.ts +7 -0
- package/node_modules/@raggle-ai/local/dist/sessions/create.js +28 -0
- package/node_modules/@raggle-ai/local/dist/sessions/index.d.ts +48 -0
- package/node_modules/@raggle-ai/local/dist/sessions/index.js +686 -0
- package/node_modules/@raggle-ai/local/dist/sessions/resume.d.ts +74 -0
- package/node_modules/@raggle-ai/local/dist/sessions/resume.js +96 -0
- package/node_modules/@raggle-ai/local/package.json +111 -0
- package/node_modules/@raggle-ai/local/schemas/cli-commands.json +358 -0
- package/node_modules/@raggle-ai/local/schemas/config.json +473 -0
- package/node_modules/@raggle-ai/local/schemas/scout-service-openapi.json +189 -0
- package/node_modules/@raggle-ai/local/schemas/settings.json +383 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +22 -11
- package/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/web/assets/abnfDiagram-VRR7QNED-Nfq-O04D.js +1 -0
- package/web/assets/app-CPSmsokP.js +2 -0
- package/web/assets/app-options-XEWvevsz.js +25 -0
- package/web/assets/app-view-header-BKZ90ToF.js +1 -0
- package/web/assets/arc-DbpbZvCt.js +1 -0
- package/web/assets/architectureDiagram-ZJ3FMSHR-qhRwPNcQ.js +36 -0
- package/web/assets/arrow-left-CFeHb-Z1.js +1 -0
- package/web/assets/ask-tray-D2YHtbPj.js +14 -0
- package/web/assets/blockDiagram-677ZJIJ3-C56P3bGu.js +132 -0
- package/web/assets/button-BJ7z-ZA7.js +1 -0
- package/web/assets/c4Diagram-LMCZKHZV-Ey1M72zD.js +10 -0
- package/web/assets/calendar-days-DWh2XMO2.js +1 -0
- package/web/assets/channel-dSRp_qTo.js +1 -0
- package/web/assets/chevron-down-C5oRtqbX.js +1 -0
- package/web/assets/chevron-right-CsPtvh8C.js +1 -0
- package/web/assets/chevron-up-DjpU6Pyv.js +1 -0
- package/web/assets/chunk-2Q5K7J3B-a6isk9VU.js +1 -0
- package/web/assets/chunk-32BRIVSS-uy4kdSLL.js +1 -0
- package/web/assets/chunk-5VM5RSS4-oj2sBFd7.js +15 -0
- package/web/assets/chunk-EX3LRPZG-Bzl1ukAi.js +231 -0
- package/web/assets/chunk-JWPE2WC7-sUph7I_t.js +1 -0
- package/web/assets/chunk-MOJQB5TN-C0ERSuVK.js +88 -0
- package/web/assets/chunk-RYQCIY6F-Dyw1Hfwp.js +1 -0
- package/web/assets/chunk-V7JOEXUC-DnSz22rb.js +206 -0
- package/web/assets/chunk-VR4S4FIN-Bp2SNel7.js +1 -0
- package/web/assets/chunk-XXDRQBXY-Dqtar746.js +1 -0
- package/web/assets/classDiagram-OUVF2IWQ-B7B2zLzM.js +1 -0
- package/web/assets/classDiagram-v2-EOCWNBFH-B7B2zLzM.js +1 -0
- package/web/assets/client-CAudjYV9.js +34 -0
- package/web/assets/client-Dn9-_Gm_.js +14 -0
- package/web/assets/client-Dxrf2tyq.js +102 -0
- package/web/assets/client-aFI2M4pE.js +53 -0
- package/web/assets/collection-icon-TbOVyORG.js +1 -0
- package/web/assets/collection-page-Du6FKkuU.js +10 -0
- package/web/assets/command-C_g5E1Wx.js +38 -0
- package/web/assets/copy-Ikmr6Iq2.js +1 -0
- package/web/assets/copy-context-Cl1TE2PJ.js +1 -0
- package/web/assets/cose-bilkent-JH36ORCC-Dx1VqMjj.js +1 -0
- package/web/assets/cynefin-VYW2F7L2-SjhCWmIV.js +166 -0
- package/web/assets/cynefinDiagram-TSTJHNR4-Dvqz2594.js +62 -0
- package/web/assets/cytoscape.esm-D3_iZ_3b.js +321 -0
- package/web/assets/dagre-VKFMJZFB-Ju2m2qXt.js +4 -0
- package/web/assets/defaultLocale-C4B-KCzX.js +1 -0
- package/web/assets/diagram-FQU43EPY-DsHKTt0k.js +3 -0
- package/web/assets/diagram-G47NLZAW-DWHAcLkJ.js +24 -0
- package/web/assets/diagram-NH7WQ7WH-uUMz46ZD.js +24 -0
- package/web/assets/diagram-OA4YK3LP-BRjVzjdp.js +30 -0
- package/web/assets/diagram-WEI45ONY-Cb-FhBpQ.js +41 -0
- package/web/assets/document-DcjNSJCk.js +2 -0
- package/web/assets/ebnfDiagram-CCIWWBDH-IhhxX3IB.js +1 -0
- package/web/assets/entities-DUnx74kH.js +22 -0
- package/web/assets/erDiagram-Q63AITRT-D1frgeWf.js +85 -0
- package/web/assets/external-link-BXmSXqqF.js +1 -0
- package/web/assets/file-renderer-BRZTrYx8.js +19 -0
- package/web/assets/file-text-CiiSsCDq.js +1 -0
- package/web/assets/file-viewer-C1wAeVDK.js +1 -0
- package/web/assets/flowDiagram-23GEKE2U-BiPPM-FY.js +156 -0
- package/web/assets/folder-activity-Cv1X2ezj.js +1 -0
- package/web/assets/folder-image-AXBrHUcU.js +1 -0
- package/web/assets/folder-landing-BhRg7hwn.js +54 -0
- package/web/assets/folder-list-rIdszVde.js +1 -0
- package/web/assets/folder-metadata-puTC5QqJ.js +2 -0
- package/web/assets/folder-mobile-bar-DjjRQo3T.js +1 -0
- package/web/assets/folder-plugin-view-BU_kzR8j.js +6 -0
- package/web/assets/ganttDiagram-NO4QXBWP-CmEOlHD7.js +292 -0
- package/web/assets/gitGraphDiagram-IHSO6WYX-tTjcpZpU.js +106 -0
- package/web/assets/graph-BvS0Xx32.js +1 -0
- package/web/assets/index-DS2Wmd9I.css +1 -0
- package/web/assets/index-DgqzSeIR.js +1 -0
- package/web/assets/index-DmrKjrlM.js +1 -0
- package/web/assets/index-DnlTDqaa.js +1 -0
- package/web/assets/index-DztTMDFz.js +2 -0
- package/web/assets/index-eL1k96k8.js +41 -0
- package/web/assets/index-kY75qc96.js +1 -0
- package/web/assets/index-p38i_yyY.js +1 -0
- package/web/assets/infoDiagram-FWYZ7A6U-Ok2sdbc1.js +2 -0
- package/web/assets/init-Gi6I4Gst.js +1 -0
- package/web/assets/ishikawaDiagram-FXEZZL3T-kPnM5psX.js +70 -0
- package/web/assets/journeyDiagram-5HDEW3XC-BkoT0-45.js +139 -0
- package/web/assets/kanban-definition-HUTT4EX6-xnm_eFoU.js +89 -0
- package/web/assets/layout-D4ui-CWC.js +1 -0
- package/web/assets/linear-CLZpgLH-.js +1 -0
- package/web/assets/link-2-BWKA6t--.js +1 -0
- package/web/assets/link-DC_1Z6Yy.js +11 -0
- package/web/assets/linked-session-header-DJYWZ_-q.js +3 -0
- package/web/assets/mail-2rCdIFul.js +1 -0
- package/web/assets/map-7eTsl7HP.js +1 -0
- package/web/assets/markdown-njUwQKsR.js +327 -0
- package/web/assets/markdown-title-dncAYYiP.js +131 -0
- package/web/assets/mermaid.core-Bvxj3RoN.js +308 -0
- package/web/assets/mindmap-definition-LN4V7U3C-42Uoox79.js +96 -0
- package/web/assets/notes-page-DIW6rgJp.js +10 -0
- package/web/assets/ordinal-Cboi1Yqb.js +1 -0
- package/web/assets/pegDiagram-2B236MQR-B-GZCw3w.js +1 -0
- package/web/assets/pencil-8cobiSSq.js +1 -0
- package/web/assets/pieDiagram-ENE6RG2P-DRmmssIB.js +39 -0
- package/web/assets/plus-BHV2wJr7.js +1 -0
- package/web/assets/popover-Cmmgj-MJ.js +9 -0
- package/web/assets/project-search-dialog-B730oZ1S.js +43 -0
- package/web/assets/quadrantDiagram-ABIIQ3AL-BfhVQ7V9.js +7 -0
- package/web/assets/railroadDiagram-RFXS5EU6-DxKx7XRp.js +1 -0
- package/web/assets/react-DZzLHL-l.js +9 -0
- package/web/assets/requirementDiagram-TGXJPOKE-NUzj9fw1.js +84 -0
- package/web/assets/sankeyDiagram-HTMAVEWB-Cy9OMnl-.js +40 -0
- package/web/assets/search-BOHZTLC-.css +1 -0
- package/web/assets/search-CvlYUkN6.js +2 -0
- package/web/assets/select-1SvaKQsS.js +30 -0
- package/web/assets/selection-popup-ntjycEVh.js +7 -0
- package/web/assets/sequenceDiagram-DBY2YBRQ-CBNE9mzn.js +162 -0
- package/web/assets/sizeCapture-X5ZJPWSS-S4HhfX0n.js +1 -0
- package/web/assets/sparkles-CBhGREdc.js +1 -0
- package/web/assets/stateDiagram-2N3HPSRC-BEw1Mheu.js +1 -0
- package/web/assets/stateDiagram-v2-6OUMAXLB-BHtjl1iD.js +1 -0
- package/web/assets/swimlanes-5IMT3BWC-DJ2aLWal.js +2 -0
- package/web/assets/swimlanesDiagram-G3AALYLV-Z362aroZ.js +8 -0
- package/web/assets/tanstack-CD46mJkU.js +1 -0
- package/web/assets/timeline-definition-FHXFAJF6-vFDUVPCX.js +120 -0
- package/web/assets/use-folder-filter-BbTUlXgG.js +1 -0
- package/web/assets/utils-CwHGE3BB.js +1 -0
- package/web/assets/vennDiagram-L72KCM5P-AsnhK2zW.js +34 -0
- package/web/assets/view-context-D-fh9AbH.js +81 -0
- package/web/assets/viewer-capabilities-CROIaoqh.js +1 -0
- package/web/assets/wardleyDiagram-EHGQE667-Cj1wFbNV.js +78 -0
- package/web/assets/x-BUeE--I4.js +1 -0
- package/web/assets/xychartDiagram-FW5EYKEG-Bbvnutsm.js +7 -0
- package/web/index.html +19 -0
- package/web/providers/claude.svg +1 -0
- package/web/providers/codex.svg +1 -0
- package/web/providers/cursor.svg +1 -0
- package/web/providers/opencode.svg +1 -0
- package/web/providers/pi.svg +1 -0
- package/dist/mcp/data.d.ts +0 -14
- package/dist/mcp/data.js +0 -120
- package/dist/schema/doctor.d.ts +0 -1
- package/dist/schema/doctor.js +0 -69
- package/dist/schema/documents.d.ts +0 -18
- package/dist/schema/documents.js +0 -127
- package/dist/schema/pointers.d.ts +0 -5
- package/dist/schema/pointers.js +0 -48
- package/dist/schema/types.d.ts +0 -36
- package/dist/schema/validation.d.ts +0 -8
- package/dist/schema/validation.js +0 -212
- /package/{dist/schema/types.js → node_modules/zod/v3/helpers/enumUtil.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as x,j as O,R as Zt,a as Bn,b as Un}from"./react-DZzLHL-l.js";var bt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Nn=class extends bt{#t;#e;#s;constructor(){super(),this.#s=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},ke=new Nn,Qn={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Kn=class{#t=Qn;#e=!1;setTimeoutProvider(t){this.#t=t}setTimeout(t,e){return this.#t.setTimeout(t,e)}clearTimeout(t){this.#t.clearTimeout(t)}setInterval(t,e){return this.#t.setInterval(t,e)}clearInterval(t){this.#t.clearInterval(t)}},st=new Kn;function qn(t){setTimeout(t,0)}var Wn=typeof window>"u"||"Deno"in globalThis;function M(){}function Hn(t,e){return typeof t=="function"?t(e):t}function ge(t){return typeof t=="number"&&t>=0&&t!==1/0}function Ds(t,e){return Math.max(t+(e||0)-Date.now(),0)}function V(t,e){return typeof t=="function"?t(e):t}function j(t,e){return typeof t=="function"?t(e):t}function Ye(t,e){const{type:s="all",exact:n,fetchStatus:i,predicate:r,queryKey:a,stale:o}=t;if(a){if(n){if(e.queryHash!==Ee(a,e.options))return!1}else if(!yt(e.queryKey,a))return!1}if(s!=="all"){const c=e.isActive();if(s==="active"&&!c||s==="inactive"&&c)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||i&&i!==e.state.fetchStatus||r&&!r(e))}function Xe(t,e){const{exact:s,status:n,predicate:i,mutationKey:r}=t;if(r){if(!e.options.mutationKey)return!1;if(s){if(it(e.options.mutationKey)!==it(r))return!1}else if(!yt(e.options.mutationKey,r))return!1}return!(n&&e.state.status!==n||i&&!i(e))}function Ee(t,e){return(e?.queryKeyHashFn||it)(t)}function it(t){return JSON.stringify(t,(e,s)=>ye(s)?Object.keys(s).sort().reduce((n,i)=>(n[i]=s[i],n),{}):s)}function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(Array.isArray(t)&&Array.isArray(e)){for(let n=0;n<e.length;n++)if(!yt(t[n],e[n]))return!1;return!0}const s=Object.keys(e);for(const n of s)if(!yt(t[n],e[n]))return!1;return!0}return!1}var zn=Object.prototype.hasOwnProperty;function As(t,e,s=0){if(t===e)return t;if(s>500)return e;const n=Ze(t)&&Ze(e);if(!n&&!(ye(t)&&ye(e)))return e;const r=(n?t:Object.keys(t)).length,a=n?e:Object.keys(e),o=a.length,c=n?new Array(o):{};let u=0;for(let l=0;l<o;l++){const h=n?l:a[l],f=t[h],p=e[h];if(f===p){c[h]=f,(n?l<r:zn.call(t,h))&&u++;continue}if(f===null||p===null||typeof f!="object"||typeof p!="object"){c[h]=p;continue}const m=As(f,p,s+1);c[h]=m,m===f&&u++}return r===o&&u===r?t:c}function Wt(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function Ze(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function ye(t){if(!ts(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!ts(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function ts(t){return Object.prototype.toString.call(t)==="[object Object]"}function $n(t){return new Promise(e=>{st.setTimeout(e,t)})}function ve(t,e,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,e):s.structuralSharing!==!1?As(t,e):e}function Vn(t,e,s=0){const n=[...t,e];return s&&n.length>s?n.slice(1):n}function Gn(t,e,s=0){const n=[e,...t];return s&&n.length>s?n.slice(0,-1):n}var Te=Symbol();function js(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Fe(t,e){return typeof t=="function"?t(...e):!!t}function Jn(t,e,s){let n=!1,i;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(i??=e(),n||(n=!0,i.aborted?s():i.addEventListener("abort",s,{once:!0})),i)}),t}var Ct=(()=>{let t=()=>Wn;return{isServer(){return t()},setIsServer(e){t=e}}})();function be(){let t,e;const s=new Promise((i,r)=>{t=i,e=r});s.status="pending",s.catch(()=>{});function n(i){Object.assign(s,i),delete s.resolve,delete s.reject}return s.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},s.reject=i=>{n({status:"rejected",reason:i}),e(i)},s}var Yn=qn;function Xn(){let t=[],e=0,s=o=>{o()},n=o=>{o()},i=Yn;const r=o=>{e?t.push(o):i(()=>{s(o)})},a=()=>{const o=t;t=[],o.length&&i(()=>{n(()=>{o.forEach(c=>{s(c)})})})};return{batch:o=>{let c;e++;try{c=o()}finally{e--,e||a()}return c},batchCalls:o=>(...c)=>{r(()=>{o(...c)})},schedule:r,setNotifyFunction:o=>{s=o},setBatchNotifyFunction:o=>{n=o},setScheduler:o=>{i=o}}}var F=Xn(),Zn=class extends bt{#t=!0;#e;#s;constructor(){super(),this.#s=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#t!==t&&(this.#t=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#t}},Ht=new Zn;function ti(t){return Math.min(1e3*2**t,3e4)}function Bs(t){return(t??"online")==="online"?Ht.isOnline():!0}var Se=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Us(t){let e=!1,s=0,n;const i=be(),r=()=>i.status!=="pending",a=d=>{if(!r()){const g=new Se(d);f(g),t.onCancel?.(g)}},o=()=>{e=!0},c=()=>{e=!1},u=()=>ke.isFocused()&&(t.networkMode==="always"||Ht.isOnline())&&t.canRun(),l=()=>Bs(t.networkMode)&&t.canRun(),h=d=>{r()||(n?.(),i.resolve(d))},f=d=>{r()||(n?.(),i.reject(d))},p=()=>new Promise(d=>{n=g=>{(r()||u())&&d(g)},t.onPause?.()}).then(()=>{n=void 0,r()||t.onContinue?.()}),m=()=>{if(r())return;let d;const g=s===0?t.initialPromise:void 0;try{d=g??t.fn()}catch(y){d=Promise.reject(y)}Promise.resolve(d).then(h).catch(y=>{if(r())return;const b=t.retry??(Ct.isServer()?0:3),P=t.retryDelay??ti,_=typeof P=="function"?P(s,y):P,C=b===!0||typeof b=="number"&&s<b||typeof b=="function"&&b(s,y);if(e||!C){f(y);return}s++,t.onFail?.(s,y),$n(_).then(()=>u()?void 0:p()).then(()=>{e?f(y):m()})})};return{promise:i,status:()=>i.status,cancel:a,continue:()=>(n?.(),i),cancelRetry:o,continueRetry:c,canStart:l,start:()=>(l()?m():p().then(m),i)}}var Ns=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ge(this.gcTime)&&(this.#t=st.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Ct.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(st.clearTimeout(this.#t),this.#t=void 0)}};function ei(t){return{onFetch:(e,s)=>{const n=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,r=e.state.data?.pages||[],a=e.state.data?.pageParams||[];let o={pages:[],pageParams:[]},c=0;const u=async()=>{let l=!1;const h=m=>{Jn(m,()=>e.signal,()=>l=!0)},f=js(e.options,e.fetchOptions),p=async(m,d,g)=>{if(l)return Promise.reject(e.signal.reason);if(d==null&&m.pages.length)return Promise.resolve(m);const b=(()=>{const S={client:e.client,queryKey:e.queryKey,pageParam:d,direction:g?"backward":"forward",meta:e.options.meta};return h(S),S})(),P=await f(b),{maxPages:_}=e.options,C=g?Gn:Vn;return{pages:C(m.pages,P,_),pageParams:C(m.pageParams,d,_)}};if(i&&r.length){const m=i==="backward",d=m?si:es,g={pages:r,pageParams:a},y=d(n,g);o=await p(g,y,m)}else{const m=t??r.length;do{const d=c===0?a[0]??n.initialPageParam:es(n,o);if(c>0&&d==null)break;o=await p(o,d),c++}while(c<m)}return o};e.options.persister?e.fetchFn=()=>e.options.persister?.(u,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=u}}}function es(t,{pages:e,pageParams:s}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,s[n],s):void 0}function si(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}var ni=class extends Ns{#t;#e;#s;#n;#r;#i;#a;#o;constructor(t){super(),this.#o=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#n=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=ns(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#a,...t},t?._type&&(this.#t=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=ns(this.options);e.data!==void 0&&(this.setState(ss(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const s=ve(this.state.data,t,this.options);return this.#c({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t){this.#c({type:"setState",state:t})}cancel(t){const e=this.#i?.promise;return this.#i?.cancel(t),e?e.then(M).catch(M):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>j(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Te||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>V(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Ds(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#i&&(this.#o||this.#l()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#c({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(u=>u.options.queryFn);c&&this.setOptions(c.options)}const s=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)})},i=()=>{const c=js(this.options,e),l=(()=>{const h={client:this.#r,queryKey:this.queryKey,meta:this.meta};return n(h),h})();return this.#o=!1,this.options.persister?this.options.persister(c,l,this):c(l)},a=(()=>{const c={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:i};return n(c),c})();(this.#t==="infinite"?ei(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#s=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:"fetch",meta:a.fetchOptions?.meta}),this.#i=Us({initialPromise:e?.initialPromise,fn:a.fetchFn,onCancel:c=>{c instanceof Se&&c.revert&&this.setState({...this.#s,fetchStatus:"idle"}),s.abort()},onFail:(c,u)=>{this.#c({type:"failed",failureCount:c,error:u})},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{const c=await this.#i.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#n.config.onSuccess?.(c,this),this.#n.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof Se){if(c.silent)return this.#i.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#c({type:"error",error:c}),this.#n.config.onError?.(c,this),this.#n.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#c(t){const e=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...Qs(s.data,this.options),fetchMeta:t.meta??null};case"success":const n={...s,...ss(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=t.manual?n:void 0,n;case"error":const i=t.error;return{...s,error:i,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=e(this.state),F.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Qs(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Bs(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function ss(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ns(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,n=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var ii=class extends bt{constructor(t,e){super(),this.options=e,this.#t=t,this.#o=null,this.#a=be(),this.bindMethods(),this.setOptions(e)}#t;#e=void 0;#s=void 0;#n=void 0;#r;#i;#a;#o;#l;#c;#p;#h;#f;#u;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),is(this.#e,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return we(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return we(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#S(),this.#w(),this.#e.removeObserver(this)}setOptions(t){const e=this.options,s=this.#e;if(this.options=this.#t.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof j(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#e.setOptions(this.options),e._defaulted&&!Wt(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const n=this.hasListeners();n&&rs(this.#e,s,this.options,e)&&this.#d(),this.updateResult(),n&&(this.#e!==s||j(this.options.enabled,this.#e)!==j(e.enabled,this.#e)||V(this.options.staleTime,this.#e)!==V(e.staleTime,this.#e))&&this.#g();const i=this.#y();n&&(this.#e!==s||j(this.options.enabled,this.#e)!==j(e.enabled,this.#e)||i!==this.#u)&&this.#v(i)}getOptimisticResult(t){const e=this.#t.getQueryCache().build(this.#t,t),s=this.createResult(e,t);return oi(this,s)&&(this.#n=s,this.#i=this.options,this.#r=this.#e.state),s}getCurrentResult(){return this.#n}trackResult(t,e){return new Proxy(t,{get:(s,n)=>(this.trackProp(n),e?.(n),n==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,n))})}trackProp(t){this.#m.add(t)}getCurrentQuery(){return this.#e}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#t.defaultQueryOptions(t),s=this.#t.getQueryCache().build(this.#t,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#d(t){this.#_();let e=this.#e.fetch(this.options,t);return t?.throwOnError||(e=e.catch(M)),e}#g(){this.#S();const t=V(this.options.staleTime,this.#e);if(Ct.isServer()||this.#n.isStale||!ge(t))return;const s=Ds(this.#n.dataUpdatedAt,t)+1;this.#h=st.setTimeout(()=>{this.#n.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(t){this.#w(),this.#u=t,!(Ct.isServer()||j(this.options.enabled,this.#e)===!1||!ge(this.#u)||this.#u===0)&&(this.#f=st.setInterval(()=>{(this.options.refetchIntervalInBackground||ke.isFocused())&&this.#d()},this.#u))}#b(){this.#g(),this.#v(this.#y())}#S(){this.#h!==void 0&&(st.clearTimeout(this.#h),this.#h=void 0)}#w(){this.#f!==void 0&&(st.clearInterval(this.#f),this.#f=void 0)}createResult(t,e){const s=this.#e,n=this.options,i=this.#n,r=this.#r,a=this.#i,c=t!==s?t.state:this.#s,{state:u}=t;let l={...u},h=!1,f;if(e._optimisticResults){const w=this.hasListeners(),R=!w&&is(t,e),I=w&&rs(t,s,e,n);(R||I)&&(l={...l,...Qs(u.data,t.options)}),e._optimisticResults==="isRestoring"&&(l.fetchStatus="idle")}let{error:p,errorUpdatedAt:m,status:d}=l;f=l.data;let g=!1;if(e.placeholderData!==void 0&&f===void 0&&d==="pending"){let w;i?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(w=i.data,g=!0):w=typeof e.placeholderData=="function"?e.placeholderData(this.#p?.state.data,this.#p):e.placeholderData,w!==void 0&&(d="success",f=ve(i?.data,w,e),h=!0)}if(e.select&&f!==void 0&&!g)if(i&&f===r?.data&&e.select===this.#l)f=this.#c;else try{this.#l=e.select,f=e.select(f),f=ve(i?.data,f,e),this.#c=f,this.#o=null}catch(w){this.#o=w}this.#o&&(p=this.#o,f=this.#c,m=Date.now(),d="error");const y=l.fetchStatus==="fetching",b=d==="pending",P=d==="error",_=b&&y,C=f!==void 0,v={status:d,fetchStatus:l.fetchStatus,isPending:b,isSuccess:d==="success",isError:P,isInitialLoading:_,isLoading:_,data:f,dataUpdatedAt:l.dataUpdatedAt,error:p,errorUpdatedAt:m,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:l.dataUpdateCount>c.dataUpdateCount||l.errorUpdateCount>c.errorUpdateCount,isFetching:y,isRefetching:y&&!b,isLoadingError:P&&!C,isPaused:l.fetchStatus==="paused",isPlaceholderData:h,isRefetchError:P&&C,isStale:Me(t,e),refetch:this.refetch,promise:this.#a,isEnabled:j(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const w=v.data!==void 0,R=v.status==="error"&&!w,I=E=>{R?E.reject(v.error):w&&E.resolve(v.data)},L=()=>{const E=this.#a=v.promise=be();I(E)},k=this.#a;switch(k.status){case"pending":t.queryHash===s.queryHash&&I(k);break;case"fulfilled":(R||v.data!==k.value)&&L();break;case"rejected":(!R||v.error!==k.reason)&&L();break}}return v}updateResult(){const t=this.#n,e=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#i=this.options,this.#r.data!==void 0&&(this.#p=this.#e),Wt(e,t))return;this.#n=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,i=typeof n=="function"?n():n;if(i==="all"||!i&&!this.#m.size)return!0;const r=new Set(i??this.#m);return this.options.throwOnError&&r.add("error"),Object.keys(this.#n).some(a=>{const o=a;return this.#n[o]!==t[o]&&r.has(o)})};this.#P({listeners:s()})}#_(){const t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#e)return;const e=this.#e;this.#e=t,this.#s=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#P(t){F.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#n)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function ri(t,e){return j(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&j(e.retryOnMount,t)===!1)}function is(t,e){return ri(t,e)||t.state.data!==void 0&&we(t,e,e.refetchOnMount)}function we(t,e,s){if(j(e.enabled,t)!==!1&&V(e.staleTime,t)!=="static"){const n=typeof s=="function"?s(t):s;return n==="always"||n!==!1&&Me(t,e)}return!1}function rs(t,e,s,n){return(t!==e||j(n.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Me(t,s)}function Me(t,e){return j(e.enabled,t)!==!1&&t.isStaleByTime(V(e.staleTime,t))}function oi(t,e){return!Wt(t.getCurrentResult(),e)}var ai=class extends Ns{#t;#e;#s;#n;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#s=t.mutationCache,this.#e=[],this.state=t.state||Ks(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(e=>e!==t),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#n=Us({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(r,a)=>{this.#r({type:"failed",failureCount:r,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});const n=this.state.status==="pending",i=!this.#n.canStart();try{if(n)e();else{this.#r({type:"pending",variables:t,isPaused:i}),this.#s.config.onMutate&&await this.#s.config.onMutate(t,this,s);const a=await this.options.onMutate?.(t,s);a!==this.state.context&&this.#r({type:"pending",context:a,variables:t,isPaused:i})}const r=await this.#n.start();return await this.#s.config.onSuccess?.(r,t,this.state.context,this,s),await this.options.onSuccess?.(r,t,this.state.context,s),await this.#s.config.onSettled?.(r,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(r,null,t,this.state.context,s),this.#r({type:"success",data:r}),r}catch(r){try{await this.#s.config.onError?.(r,t,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onError?.(r,t,this.state.context,s)}catch(a){Promise.reject(a)}try{await this.#s.config.onSettled?.(void 0,r,this.state.variables,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,r,t,this.state.context,s)}catch(a){Promise.reject(a)}throw this.#r({type:"error",error:r}),r}finally{this.#s.runNext(this)}}#r(t){const e=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),F.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(t)}),this.#s.notify({mutation:this,type:"updated",action:t})})}};function Ks(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ci=class extends bt{constructor(t={}){super(),this.config=t,this.#t=new Set,this.#e=new Map,this.#s=0}#t;#e;#s;build(t,e,s){const n=new ai({client:t,mutationCache:this,mutationId:++this.#s,options:t.defaultMutationOptions(e),state:s});return this.add(n),n}add(t){this.#t.add(t);const e=Mt(t);if(typeof e=="string"){const s=this.#e.get(e);s?s.push(t):this.#e.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){const e=Mt(t);if(typeof e=="string"){const s=this.#e.get(e);if(s)if(s.length>1){const n=s.indexOf(t);n!==-1&&s.splice(n,1)}else s[0]===t&&this.#e.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=Mt(t);if(typeof e=="string"){const n=this.#e.get(e)?.find(i=>i.state.status==="pending");return!n||n===t}else return!0}runNext(t){const e=Mt(t);return typeof e=="string"?this.#e.get(e)?.find(n=>n!==t&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){F.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(t){const e={exact:!0,...t};return this.getAll().find(s=>Xe(e,s))}findAll(t={}){return this.getAll().filter(e=>Xe(t,e))}notify(t){F.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return F.batch(()=>Promise.all(t.map(e=>e.continue().catch(M))))}};function Mt(t){return t.options.scope?.id}var ui=class extends bt{#t;#e=void 0;#s;#n;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#t.defaultMutationOptions(t),Wt(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&it(e.mutationKey)!==it(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#r(),this.#i()}mutate(t,e){return this.#n=e,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(t)}#r(){const t=this.#s?.state??Ks();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){F.batch(()=>{if(this.#n&&this.hasListeners()){const e=this.#e.variables,s=this.#e.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#n.onSuccess?.(t.data,e,s,n)}catch(i){Promise.reject(i)}try{this.#n.onSettled?.(t.data,null,e,s,n)}catch(i){Promise.reject(i)}}else if(t?.type==="error"){try{this.#n.onError?.(t.error,e,s,n)}catch(i){Promise.reject(i)}try{this.#n.onSettled?.(void 0,t.error,e,s,n)}catch(i){Promise.reject(i)}}}this.listeners.forEach(e=>{e(this.#e)})})}},li=class extends bt{constructor(t={}){super(),this.config=t,this.#t=new Map}#t;build(t,e,s){const n=e.queryKey,i=e.queryHash??Ee(n,e);let r=this.get(i);return r||(r=new ni({client:t,queryKey:n,queryHash:i,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(n)}),this.add(r)),r}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#t.get(t.queryHash);e&&(t.destroy(),e===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){F.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(s=>Ye(e,s))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(s=>Ye(t,s)):e}notify(t){F.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){F.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){F.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},bo=class{#t;#e;#s;#n;#r;#i;#a;#o;constructor(t={}){this.#t=t.queryCache||new li,this.#e=t.mutationCache||new ci,this.#s=t.defaultOptions||{},this.#n=new Map,this.#r=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#a=ke.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#o=Ht.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#a?.(),this.#a=void 0,this.#o?.(),this.#o=void 0)}isFetching(t){return this.#t.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#e.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#t.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=this.#t.build(this,e),n=s.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(V(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return this.#t.findAll(t).map(({queryKey:e,state:s})=>{const n=s.data;return[e,n]})}setQueryData(t,e,s){const n=this.defaultQueryOptions({queryKey:t}),r=this.#t.get(n.queryHash)?.state.data,a=Hn(e,r);if(a!==void 0)return this.#t.build(this,n).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return F.batch(()=>this.#t.findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,s)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#t.get(e.queryHash)?.state}removeQueries(t){const e=this.#t;F.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=this.#t;return F.batch(()=>(s.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},n=F.batch(()=>this.#t.findAll(t).map(i=>i.cancel(s)));return Promise.all(n).then(M).catch(M)}invalidateQueries(t,e={}){return F.batch(()=>(this.#t.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},n=F.batch(()=>this.#t.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let r=i.fetch(void 0,s);return s.throwOnError||(r=r.catch(M)),i.state.fetchStatus==="paused"?Promise.resolve():r}));return Promise.all(n).then(M)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=this.#t.build(this,e);return s.isStaleByTime(V(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(M).catch(M)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(M).catch(M)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return Ht.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#s}setDefaultOptions(t){this.#s=t}setQueryDefaults(t,e){this.#n.set(it(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#n.values()],s={};return e.forEach(n=>{yt(t,n.queryKey)&&Object.assign(s,n.defaultOptions)}),s}setMutationDefaults(t,e){this.#r.set(it(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],s={};return e.forEach(n=>{yt(t,n.mutationKey)&&Object.assign(s,n.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#s.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Ee(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#s.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},qs=x.createContext(void 0),Ws=t=>{const e=x.useContext(qs);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},So=({client:t,children:e})=>(x.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),O.jsx(qs.Provider,{value:t,children:e})),Hs=x.createContext(!1),hi=()=>x.useContext(Hs);Hs.Provider;function fi(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var di=x.createContext(fi()),pi=()=>x.useContext(di),mi=(t,e,s)=>{const n=s?.state.error&&typeof t.throwOnError=="function"?Fe(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||n)&&(e.isReset()||(t.retryOnMount=!1))},gi=t=>{x.useEffect(()=>{t.clearReset()},[t])},yi=({result:t,errorResetBoundary:e,throwOnError:s,query:n,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&n&&(i&&t.data===void 0||Fe(s,[t.error,n])),vi=t=>{if(t.suspense){const s=i=>i==="static"?i:Math.max(i??1e3,1e3),n=t.staleTime;t.staleTime=typeof n=="function"?(...i)=>s(n(...i)):s(n),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},bi=(t,e)=>t.isLoading&&t.isFetching&&!e,Si=(t,e)=>t?.suspense&&e.isPending,os=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function wi(t,e,s){const n=hi(),i=pi(),r=Ws(),a=r.defaultQueryOptions(t);r.getDefaultOptions().queries?._experimental_beforeQuery?.(a);const o=r.getQueryCache().get(a.queryHash),c=t.subscribed!==!1;a._optimisticResults=n?"isRestoring":c?"optimistic":void 0,vi(a),mi(a,i,o),gi(i);const u=!r.getQueryCache().get(a.queryHash),[l]=x.useState(()=>new e(r,a)),h=l.getOptimisticResult(a),f=!n&&c;if(x.useSyncExternalStore(x.useCallback(p=>{const m=f?l.subscribe(F.batchCalls(p)):M;return l.updateResult(),m},[l,f]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),x.useEffect(()=>{l.setOptions(a)},[a,l]),Si(a,h))throw os(a,l,i);if(yi({result:h,errorResetBoundary:i,throwOnError:a.throwOnError,query:o,suspense:a.suspense}))throw h.error;return r.getDefaultOptions().queries?._experimental_afterQuery?.(a,h),a.experimental_prefetchInRender&&!Ct.isServer()&&bi(h,n)&&(u?os(a,l,i):o?.promise)?.catch(M).finally(()=>{l.updateResult()}),a.notifyOnChangeProps?h:l.trackResult(h)}function wo(t,e){return wi(t,ii)}function _o(t,e){const s=Ws(),[n]=x.useState(()=>new ui(s,t));x.useEffect(()=>{n.setOptions(t)},[n,t]);const i=x.useSyncExternalStore(x.useCallback(a=>n.subscribe(F.batchCalls(a)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),r=x.useCallback((a,o)=>{n.mutate(a,o).catch(M)},[n]);if(i.error&&Fe(n.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:r,mutateAsync:i.mutate}}const _i=!1;var zs=x.useLayoutEffect;function Pi(t,e,s){x.useEffect(()=>{if(!t.current||s||typeof IntersectionObserver!="function")return()=>e();const n=new IntersectionObserver(i=>{e(i.pop())},{rootMargin:"100px"});return n.observe(t.current),()=>{n.disconnect(),e()}},[e,s,t])}function Ri(t){const e=x.useRef(null);return x.useImperativeHandle(t,()=>e.current,[]),e}function Lt(t){return t[t.length-1]}function xi(t){return typeof t=="function"}function vt(t,e){return xi(t)?t(e):t}const $s=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable;function Vs(t){for(const e in t)if($s.call(t,e))return!0;return!1}const Li=()=>Object.create(null),tt=(t,e)=>nt(t,e,Li);function nt(t,e,s=()=>({}),n=0){if(t===e)return t;if(n>500)return e;const i=e,r=us(t)&&us(i);if(!r&&!(zt(t)&&zt(i)))return i;const a=r?t:as(t);if(!a)return i;const o=r?i:as(i);if(!o)return i;const c=a.length,u=o.length,l=r?new Array(u):s();let h=0;for(let f=0;f<u;f++){const p=r?f:o[f],m=t[p],d=i[p];if(m===d){l[p]=m,(r?f<c:$s.call(t,p))&&h++;continue}if(m===null||d===null||typeof m!="object"||typeof d!="object"){l[p]=d;continue}const g=nt(m,d,s,n+1);l[p]=g,g===m&&h++}return c===u&&h===c?t:l}function as(t){const e=Object.keys(t);if(e.length!==Object.getOwnPropertyNames(t).length)return!1;const s=Object.getOwnPropertySymbols(t);if(s.length===0)return e;for(const n of s){if(!Ci.call(t,n))return!1;e.push(n)}return e}function zt(t){if(!cs(t))return!1;const e=t.constructor;if(typeof e>"u")return!0;const s=e.prototype;return!(!cs(s)||!s.hasOwnProperty("isPrototypeOf"))}function cs(t){return Object.prototype.toString.call(t)==="[object Object]"}function us(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function G(t,e,s){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n++)if(!G(t[n],e[n],s))return!1;return!0}if(zt(t)&&zt(e)){const n=s?.ignoreUndefined??!0;if(s?.partial){for(const a in e)if((!n||e[a]!==void 0)&&!G(t[a],e[a],s))return!1;return!0}let i=0;if(!n)i=Object.keys(t).length;else for(const a in t)t[a]!==void 0&&i++;let r=0;for(const a in e)if((!n||e[a]!==void 0)&&(r++,r>i||!G(t[a],e[a],s)))return!1;return i===r}return!1}const Oi=/[\x00-\x1f\x7f"<>`{}]/g;function Ii(t){return t.replace(Oi,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function ls(t){let e;try{e=decodeURI(t)}catch{e=t.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return Ii(e)}const ki=["http:","https:","mailto:","tel:"];function $t(t,e){if(!t)return!1;try{const s=new URL(t);return!e.has(s.protocol)}catch{return!1}}function Pt(t){if(!t)return{path:t,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(t)&&!t.startsWith("//"))return{path:t,handledProtocolRelativeURL:!1};const e=/%25|%5C/gi;let s=0,n="",i;for(;(i=e.exec(t))!==null;)n+=ls(t.slice(s,i.index))+i[0],s=e.lastIndex;n=n+ls(s?t.slice(s):t);let r=!1;return n.startsWith("//")&&(r=!0,n="/"+n.replace(/^\/+/,"")),{path:n,handledProtocolRelativeURL:r}}function Ei(t){return/\s|[^\u0000-\u007F]/.test(t)?t.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):t}function Ti(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}function De(){throw new Error("Invariant failed")}function Vt(t){const e=new Map;let s,n;const i=r=>{r.next&&(r.prev?(r.prev.next=r.next,r.next.prev=r.prev,r.next=void 0,n&&(n.next=r,r.prev=n)):(r.next.prev=void 0,s=r.next,r.next=void 0,n&&(r.prev=n,n.next=r)),n=r)};return{get(r){const a=e.get(r);if(a)return i(a),a.value},set(r,a){if(e.size>=t&&s){const c=s;e.delete(c.key),c.next&&(s=c.next,c.next.prev=void 0),c===n&&(n=void 0)}const o=e.get(r);if(o)o.value=a,i(o);else{const c={key:r,value:a,prev:n};n&&(n.next=c),n=c,s||(s=c),e.set(r,c)}},clear(){e.clear(),s=void 0,n=void 0}}}const $=4,Gs=5;function Fi(t){const e=t.indexOf("{");if(e===-1)return null;const s=t.indexOf("}",e);return s===-1||e+1>=t.length?null:[e,s]}function Js(t,e,s=new Uint16Array(6)){const n=t.indexOf("/",e),i=n===-1?t.length:n,r=t.substring(e,i);if(!r||!r.includes("$"))return s[0]=0,s[1]=e,s[2]=e,s[3]=i,s[4]=i,s[5]=i,s;if(r==="$"){const o=t.length;return s[0]=2,s[1]=e,s[2]=e,s[3]=o,s[4]=o,s[5]=o,s}if(r.charCodeAt(0)===36)return s[0]=1,s[1]=e,s[2]=e+1,s[3]=i,s[4]=i,s[5]=i,s;const a=Fi(r);if(a){const[o,c]=a,u=r.charCodeAt(o+1);if(u===45){if(o+2<r.length&&r.charCodeAt(o+2)===36){const l=o+3,h=c;if(l<h)return s[0]=3,s[1]=e+o,s[2]=e+l,s[3]=e+h,s[4]=e+c+1,s[5]=i,s}}else if(u===36){const l=o+1,h=o+2;return h===c?(s[0]=2,s[1]=e+o,s[2]=e+l,s[3]=e+h,s[4]=e+c+1,s[5]=t.length,s):(s[0]=1,s[1]=e+o,s[2]=e+h,s[3]=e+c,s[4]=e+c+1,s[5]=i,s)}}return s[0]=0,s[1]=e,s[2]=e,s[3]=i,s[4]=i,s[5]=i,s}function te(t,e,s,n,i,r,a,o){o?.(s);let c=n;{const u=s.fullPath??s.from,l=s.options,h=u.length,f=l?.caseSensitive??t,p=l?.params?.parse??l?.parseParams;for(;c<h;){const d=Js(u,c,e);let g;const y=c,b=d[5];c=b+1,r++;const P=d[0];switch(P){case 0:{const _=u.substring(d[2],d[3]);let C=_,S;f?S=i.static??=new Map:(C=_.toLowerCase(),S=i.staticInsensitive??=new Map);const v=S.get(C);if(v)g=v;else{const w=dt(u);w.parent=i,w.depth=r,g=w,S.set(C,w)}break}case 1:case 3:case 2:{const _=u.substring(y,d[1]),C=u.substring(d[4],b),S=f&&!!(_||C),v=_?S?_:_.toLowerCase():void 0,w=C?S?C:C.toLowerCase():void 0,R=P===1?i.dynamic:P===3?i.optional:i.wildcard,I=P!==2&&!p&&R?.find(L=>!L.parse&&L.caseSensitive===S&&L.prefix===v&&L.suffix===w);if(I)g=I;else{const L=Mi(P,u,S,v,w);g=L,L.parent=i,L.depth=r;let k;P===1?k=i.dynamic??=[]:P===3?k=i.optional??=[]:k=i.wildcard??=[],k.push(L),k.length===2&&a?.push(k)}break}}i=g}if(p&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const d=dt(u);d.kind=Gs,d.parent=i,r++,d.depth=r,i.pathless??=[],i.pathless.push(d),i=d}const m=(s.path||!s.children)&&!s.isRoot;if(m&&u.endsWith("/")){const d=dt(u);d.kind=$,d.parent=i,r++,d.depth=r,i.index=d,i=d}i.parse=p??null,i.priority=l?.params?.priority??0,m&&!i.route&&(i.route=s,i.fullPath=u)}if(s.children)for(const u of s.children)te(t,e,u,c,i,r,a,o)}function Ys(t,e){if(t.parse&&!e.parse)return-1;if(!t.parse&&e.parse)return 1;if(t.parse&&e.parse&&(t.priority||e.priority))return e.priority-t.priority;if(t.prefix&&e.prefix&&t.prefix!==e.prefix){if(t.prefix.startsWith(e.prefix))return-1;if(e.prefix.startsWith(t.prefix))return 1}if(t.suffix&&e.suffix&&t.suffix!==e.suffix){if(t.suffix.endsWith(e.suffix))return-1;if(e.suffix.endsWith(t.suffix))return 1}return t.prefix&&!e.prefix?-1:!t.prefix&&e.prefix?1:t.suffix&&!e.suffix?-1:!t.suffix&&e.suffix?1:t.caseSensitive&&!e.caseSensitive?-1:!t.caseSensitive&&e.caseSensitive?1:0}function dt(t){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0}}function Mi(t,e,s,n,i){return{kind:t,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0,caseSensitive:s,prefix:n,suffix:i}}function Di(t,e){const s=dt("/"),n=new Uint16Array(6),i=[];for(const r of t)te(!1,n,r,1,s,0,i);for(const r of i)r.sort(Ys);e.masksTree=s,e.flatCache=Vt(1e3)}function Ai(t,e){t||="/";const s=e.flatCache.get(t);if(s)return s;const n=Ae(t,e.masksTree);return e.flatCache.set(t,n),n}function ji(t,e,s,n,i){t||="/",n||="/";const r=e?`case\0${t}`:t;let a=i.singleCache.get(r);return a||(a=dt("/"),te(e,new Uint16Array(6),{from:t},1,a,0),i.singleCache.set(r,a)),Ae(n,a,s)}function Bi(t,e,s=!1){const n=s?t:`nofuzz\0${t}`,i=e.matchCache.get(n);if(i!==void 0)return i;t||="/";let r;try{r=Ae(t,e.segmentTree,s)}catch(a){if(a instanceof URIError)r=null;else throw a}return r&&(r.branch=Zs(r.route)),e.matchCache.set(n,r),r}function Ui(t){return t==="/"?t:t.replace(/\/{1,}$/,"")}function Ni(t,e=!1,s){const n=dt(t.fullPath),i=new Uint16Array(6),r=[],a={},o={};let c=0;te(e,i,t,1,n,0,r,u=>{if(s?.(u,c),u.id in a&&De(),a[u.id]=u,c!==0&&u.path){const l=Ui(u.fullPath);(!o[l]||u.fullPath.endsWith("/"))&&(o[l]=u)}c++});for(const u of r)u.sort(Ys);return{processedTree:{segmentTree:n,singleCache:Vt(1e3),matchCache:Vt(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:o}}function Ae(t,e,s=!1){const n=t.split("/"),i=Ki(t,n,e,s);if(!i)return null;const[r]=Xs(t,n,i);return{route:i.node.route,rawParams:r}}function Xs(t,e,s){const n=Qi(s.node);let i=null;const r=Object.create(null);let a=s.extract?.part??0,o=s.extract?.node??0,c=s.extract?.path??0,u=s.extract?.segment??0;for(;o<n.length;a++,o++,c++,u++){const l=n[o];if(l.kind===$)break;if(l.kind===Gs){u--,a--,c--;continue}const h=e[a],f=c;if(h&&(c+=h.length),l.kind===1){i??=s.node.fullPath.split("/");const p=i[u],m=l.prefix?.length??0;if(p.charCodeAt(m)===123){const d=l.suffix?.length??0,g=p.substring(m+2,p.length-d-1),y=h.substring(m,h.length-d);r[g]=decodeURIComponent(y)}else{const d=p.substring(1);r[d]=decodeURIComponent(h)}}else if(l.kind===3){if(s.skipped&1<<o){a--,c=f-1;continue}i??=s.node.fullPath.split("/");const p=i[u],m=l.prefix?.length??0,d=l.suffix?.length??0,g=p.substring(m+3,p.length-d-1),y=l.suffix||l.prefix?h.substring(m,h.length-d):h;y&&(r[g]=decodeURIComponent(y))}else if(l.kind===2){const p=l,m=t.substring(f+(p.prefix?.length??0),t.length-(p.suffix?.length??0)),d=decodeURIComponent(m);r["*"]=d,r._splat=d;break}}return s.rawParams&&Object.assign(r,s.rawParams),[r,{part:a,node:o,path:c,segment:u}]}function Zs(t){const e=[t];for(;t.parentRoute;)t=t.parentRoute,e.push(t);return e.reverse(),e}function Qi(t){const e=Array(t.depth+1);do e[t.depth]=t,t=t.parent;while(t);return e}function Ki(t,e,s,n){if(t==="/"&&s.index)return{node:s.index,skipped:0};const i=!Lt(e),r=i&&t!=="/",a=e.length-(i?1:0),o=[{node:s,index:1,skipped:0,statics:0,dynamics:0,optionals:0}];let c=null,u=null;for(;o.length;){const l=o.pop(),{node:h,index:f,skipped:p,statics:m,dynamics:d,optionals:g}=l;let{extract:y,rawParams:b}=l;if(h.kind===2&&h.route&&!At(u,l))continue;if(h.parse){if(!hs(t,e,l))continue;b=l.rawParams,y=l.extract}n&&h.route&&h.kind!==$&&At(c,l)&&(c=l);const P=f===a;if(P&&(h.route&&(!r||h.kind===$||h.kind===2)&&At(u,l)&&(u=l),!h.optional&&!h.wildcard&&!h.index&&!h.pathless))continue;const _=P?void 0:e[f];let C;if(P&&h.index){const S={node:h.index,index:f,skipped:p,statics:m,dynamics:d,optionals:g,extract:y,rawParams:b};let v=!0;if(h.index.parse&&(hs(t,e,S)||(v=!1)),v){if(!d&&!g&&!p&&qi(m,a))return S;At(u,S)&&(u=S)}}if(h.wildcard)for(let S=h.wildcard.length-1;S>=0;S--){const v=h.wildcard[S],{prefix:w,suffix:R}=v;if(!(w&&(P||!(v.caseSensitive?_:C??=_.toLowerCase()).startsWith(w)))){if(R){if(P)continue;const I=e.slice(f).join("/").slice(-R.length);if((v.caseSensitive?I:I.toLowerCase())!==R)continue}o.push({node:v,index:a,skipped:p,statics:m,dynamics:d,optionals:g,extract:y,rawParams:b})}}if(h.optional){const S=p|1<<h.depth+1;for(let v=h.optional.length-1;v>=0;v--){const w=h.optional[v];o.push({node:w,index:f,skipped:S,statics:m,dynamics:d,optionals:g,extract:y,rawParams:b})}if(!P)for(let v=h.optional.length-1;v>=0;v--){const w=h.optional[v],{prefix:R,suffix:I}=w;if(R||I){const L=w.caseSensitive?_:C??=_.toLowerCase();if(R&&!L.startsWith(R)||I&&!L.endsWith(I))continue}o.push({node:w,index:f+1,skipped:p,statics:m,dynamics:d,optionals:g+Dt(a,f),extract:y,rawParams:b})}}if(!P&&h.dynamic&&_)for(let S=h.dynamic.length-1;S>=0;S--){const v=h.dynamic[S],{prefix:w,suffix:R}=v;if(w||R){const I=v.caseSensitive?_:C??=_.toLowerCase();if(w&&!I.startsWith(w)||R&&!I.endsWith(R))continue}o.push({node:v,index:f+1,skipped:p,statics:m,dynamics:d+Dt(a,f),optionals:g,extract:y,rawParams:b})}if(!P&&h.staticInsensitive){const S=h.staticInsensitive.get(C??=_.toLowerCase());S&&o.push({node:S,index:f+1,skipped:p,statics:m+Dt(a,f),dynamics:d,optionals:g,extract:y,rawParams:b})}if(!P&&h.static){const S=h.static.get(_);S&&o.push({node:S,index:f+1,skipped:p,statics:m+Dt(a,f),dynamics:d,optionals:g,extract:y,rawParams:b})}if(h.pathless)for(let S=h.pathless.length-1;S>=0;S--){const v=h.pathless[S];o.push({node:v,index:f,skipped:p,statics:m,dynamics:d,optionals:g,extract:y,rawParams:b})}}if(u)return u;if(n&&c){let l=c.index;for(let f=0;f<c.index;f++)l+=e[f].length;const h=l===t.length?"/":t.slice(l);return c.rawParams??=Object.create(null),c.rawParams["**"]=decodeURIComponent(h),c}return null}function Dt(t,e){return 2**(t-e-1)}function qi(t,e){return t===2**(e-1)-1}function hs(t,e,s){let n,i;try{[n,i]=Xs(t,e,s)}catch{return null}if(s.rawParams=n,s.extract=i,!s.node.parse)return!0;try{if(s.node.parse(n)===!1)return null}catch{}return!0}function At(t,e){return t?e.statics>t.statics||e.statics===t.statics&&(e.dynamics>t.dynamics||e.dynamics===t.dynamics&&(e.optionals>t.optionals||e.optionals===t.optionals&&((e.node.kind===$)>(t.node.kind===$)||e.node.kind===$==(t.node.kind===$)&&e.node.depth>t.node.depth))):!0}function Ut(t){return je(t.filter(e=>e!==void 0).join("/"))}function je(t){return t.replace(/\/{2,}/g,"/")}function tn(t){return t==="/"?t:t.replace(/^\/{1,}/,"")}function W(t){const e=t.length;return e>1&&t[e-1]==="/"?t.replace(/\/{1,}$/,""):t}function en(t){return W(tn(t))}function Gt(t,e){return t?.endsWith("/")&&t!=="/"&&t!==`${e}/`?t.slice(0,-1):t}function Wi(t,e,s){return Gt(t,s)===Gt(e,s)}function Hi({base:t,to:e,trailingSlash:s="never",cache:n}){const i=e===".",r=e.startsWith("/");let a;if(n){a=r?e:i?t:t+"\0"+e;const u=n.get(a);if(u)return u}let o;if(i)o=t.split("/");else if(r)o=e.split("/");else{for(o=t.split("/");o.length>1&&Lt(o)==="";)o.pop();const u=e.split("/");for(let l=0,h=u.length;l<h;l++){const f=u[l];f===""?l?l===h-1&&o.push(f):o=[f]:f===".."?o.length>1?o.pop():o=[""]:f==="."||o.push(f)}}o.length>1&&(Lt(o)===""?s==="never"&&o.pop():s==="always"&&o.push(""));const c=je(o.join("/"))||"/";return a&&n&&n.set(a,c),c}function zi(t){const e=new Map(t.map(i=>[encodeURIComponent(i),i])),s=Array.from(e.keys()).map(i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),n=new RegExp(s,"g");return i=>i.replace(n,r=>e.get(r)??r)}function ue(t,e,s){const n=e[t];return typeof n!="string"?n:t==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(n)?n:n.split("/").map(i=>ds(i,s)).join("/"):ds(n,s)}function fs({path:t,params:e,decoder:s,...n}){let i=!1;const r=Object.create(null);if(!t||t==="/")return{interpolatedPath:"/",usedParams:r,isMissingParams:i};if(!t.includes("$"))return{interpolatedPath:t,usedParams:r,isMissingParams:i};const a=t.length;let o=0,c,u="";for(;o<a;){const l=o;c=Js(t,l,c);const h=c[5];if(o=h+1,l===h)continue;const f=c[0];if(f===0){u+="/"+t.substring(l,h);continue}if(f===2){const p=e._splat;r._splat=p,r["*"]=p;const m=t.substring(l,c[1]),d=t.substring(c[4],h);if(!p){i=!0,(m||d)&&(u+="/"+m+d);continue}const g=ue("_splat",e,s);u+="/"+m+g+d;continue}if(f===1){const p=t.substring(c[2],c[3]);!i&&!(p in e)&&(i=!0),r[p]=e[p];const m=t.substring(l,c[1]),d=t.substring(c[4],h),g=ue(p,e,s)??"undefined";u+="/"+m+g+d;continue}if(f===3){const p=t.substring(c[2],c[3]),m=e[p];if(m==null)continue;r[p]=m;const d=t.substring(l,c[1]),g=t.substring(c[4],h),y=ue(p,e,s)??"";u+="/"+d+y+g;continue}}return t.endsWith("/")&&(u+="/"),{usedParams:r,interpolatedPath:u||"/",isMissingParams:i}}function ds(t,e){const s=encodeURIComponent(t);return e?.(s)??s}function rt(t){return t?.isNotFound===!0}function $i(){try{return sessionStorage}catch{return}}const Vi="tsr-scroll-restoration-v1_3",sn=$i();function Gi(){try{return JSON.parse(sn?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function Ji(){try{sn?.setItem(Vi,JSON.stringify(ht))}catch{}}const ht=Gi(),ps="data-scroll-restoration-id",Yi=t=>t.state.__TSR_key||t.href;function Xi(t){const e=t.getAttribute(ps);if(e)return`[${ps}="${e}"]`;let s="",n=t,i;for(;i=n.parentNode;){let r=1,a=n;for(;a=a.previousElementSibling;)r++;const o=`${n.localName}:nth-child(${r})`;s=s?`${o} > ${s}`:o,n=i}return s}let jt=!1;const Nt="window";function _e(t){try{return typeof t=="function"?t():document.querySelector(t)}catch{}}function ms(t){const e=new Set;for(const s of t){if(s===Nt)continue;const n=_e(s);n&&e.add(n)}return e}function Zi(t,e){const s=t.options.scrollRestoration,n=t._scroll;s&&(n.restoring=!0);const i=t.options.getScrollRestorationKey||Yi,r=new Set,a=o=>{const c=ht[o]||={};for(const u of r)u===document?c[Nt]={scrollX,scrollY}:u.isConnected&&(c[Xi(u)]={scrollX:u.scrollLeft,scrollY:u.scrollTop})};s&&!n.restoration&&(n.restoration=!0,jt=!1,history.scrollRestoration="manual",document.addEventListener("scroll",o=>{jt||r.add(o.target)},!0),t.subscribe("onBeforeLoad",o=>{o.fromLocation&&a(i(o.fromLocation)),r.clear()}),addEventListener("pagehide",()=>{a(i(t.stores.resolvedLocation.get()??t.stores.location.get())),Ji()})),!n.reset&&(n.reset=!0,t.subscribe("onRendered",o=>{const c=t.options.scrollRestorationBehavior,u=t.options.scrollToTopSelectors,l=n.next,h=n.hash;let f;if(r.clear(),n.next=!0,n.hash=!1,typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}))return;const p=i(o.toLocation),m=o.fromLocation&&i(o.fromLocation);if(n.restoring&&m&&m!==p){const d=ht[m];if(d){let g=ht[p];for(const y in d){if(y===Nt){if(l)continue}else{const b=_e(y);if(!b||l&&u&&(f??=ms(u),f.has(b)))continue}g||(g=ht[p]={}),g[y]??=d[y]}}}jt=!0;try{const d=o.toLocation.hash,g=o.toLocation.state.__hashScrollIntoViewOptions??!0;let y=!1;if(l){!d&&u&&(f??=ms(u));const b=d&&g&&h,P=n.restoring?ht[p]:void 0;if(P)for(const _ in P){const{scrollX:C,scrollY:S}=P[_];if(_===Nt){if(b)continue;scrollTo({top:S,left:C,behavior:c}),y=!0}else{const v=_e(_);v&&(v.scrollLeft=C,v.scrollTop=S,f?.delete(v))}}if(!d){const _={top:0,left:0,behavior:c};if(y||scrollTo(_),f)for(const C of f)C.scrollTo(_)}}!y&&d&&g&&document.getElementById(d)?.scrollIntoView(g)}finally{jt=!1}}))}function tr(t,e=String){const s=new URLSearchParams;for(const n in t){const i=t[n];i!==void 0&&s.set(n,e(i))}return s.toString()}function le(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function er(t){const e=new URLSearchParams(t),s=Object.create(null);for(const[n,i]of e.entries()){const r=s[n];r==null?s[n]=le(i):Array.isArray(r)?r.push(le(i)):s[n]=[r,le(i)]}return s}const sr=/^(?:\s|["[{\d-]|fa|nu|tr)/,nr=rr(JSON.parse),ir=or(JSON.stringify,JSON.parse);function rr(t){return e=>{e[0]==="?"&&(e=e.substring(1));const s=er(e);for(const n in s){const i=s[n];if(typeof i=="string")try{s[n]=t(i)}catch{}}return s}}function or(t,e){const s=e===JSON.parse;function n(i){if(i&&typeof i=="object")try{return t(i)}catch{}else if(e&&typeof i=="string"){if(s&&!sr.test(i))return i;try{return e(i),t(i)}catch{}}return i}return i=>{const r=tr(i,n);return r?`?${r}`:""}}const pt="__root__";function ar(t){if(t.statusCode=t.statusCode||t.code||307,!t._builtLocation&&!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const e=new Headers(t.headers);t.href&&e.get("Location")===null&&e.set("Location",t.href);const s=new Response(null,{status:t.statusCode,headers:e});if(s.options=t,t.throw)throw s;return s}function Be(t){return t instanceof Response&&!!t.options}function cr(t){return{input:({url:e})=>{for(const s of t)e=Pe(s,e);return e},output:({url:e})=>{for(let s=t.length-1;s>=0;s--)e=nn(t[s],e);return e}}}function ur(t){const e=en(t.basepath),s=`/${e}`,n=t.caseSensitive?s:s.toLowerCase(),i=`${n}/`;return{input:({url:r})=>{const a=t.caseSensitive?r.pathname:r.pathname.toLowerCase();return a===n?r.pathname="/":a.startsWith(i)&&(r.pathname=r.pathname.slice(s.length)),r},output:({url:r})=>(r.pathname=Ut(["/",e,r.pathname]),r)}}function Pe(t,e){const s=t?.input?.({url:e});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return e}function nn(t,e){const s=t?.output?.({url:e});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return e}function lr(t,e){const{createMutableStore:s,createReadonlyStore:n,batch:i}=e,r=new Map,a=s("idle"),o=s(t),c=s(void 0),u=s([]),l=n(()=>u.get().map(d=>r.get(d).get())),h=n(()=>({status:a.get(),isLoading:a.get()==="pending",matches:l.get(),location:o.get(),resolvedLocation:c.get()}));function f(d){let g=r.get(d);return g||(g=s(void 0),r.set(d,g)),g}const p={status:a,location:o,resolvedLocation:c,ids:u,matches:l,byRoute:r,__store:h,getMatchStore:f,setMatches:m};function m(d){const g=u.get(),y=d.map(b=>b.routeId);i(()=>{Ti(g,y)||u.set(y);for(const b of g)y.includes(b)||r.get(b).set(()=>{});for(const b of d){const P=f(b.routeId);P.get()!==b&&P.set(b)}})}return p}var J="__TSR_index",gs="popstate",ys="beforeunload";function hr(t){let e=t.getLocation();const s=new Set,n=a=>{e=t.getLocation(),s.forEach(o=>o({location:e,action:a}))},i=a=>{t.notifyOnIndexChange??!0?n(a):e=t.getLocation()},r=async({task:a,navigateOpts:o,...c})=>{if(o?.ignoreBlocker??!1){a();return}const u=t.getBlockers?.()??[],l=c.type==="PUSH"||c.type==="REPLACE";if(typeof document<"u"&&u.length&&l)for(const h of u){const f=Jt(c.path,c.state);if(await h.blockerFn({currentLocation:e,nextLocation:f,action:c.type})){t.onBlocked?.();return}}a()};return{get location(){return e},get length(){return t.getLength()},subscribers:s,subscribe:a=>(s.add(a),()=>{s.delete(a)}),push:(a,o,c)=>{const u=e.state[J];o=vs(u+1,o),r({task:()=>{t.pushState(a,o),n({type:"PUSH"})},navigateOpts:c,type:"PUSH",path:a,state:o})},replace:(a,o,c)=>{const u=e.state[J];o=vs(u,o),r({task:()=>{t.replaceState(a,o),n({type:"REPLACE"})},navigateOpts:c,type:"REPLACE",path:a,state:o})},go:(a,o)=>{r({task:()=>{t.go(a),i({type:"GO",index:a})},navigateOpts:o,type:"GO"})},back:a=>{r({task:()=>{t.back(a?.ignoreBlocker??!1),i({type:"BACK"})},navigateOpts:a,type:"BACK"})},forward:a=>{r({task:()=>{t.forward(a?.ignoreBlocker??!1),i({type:"FORWARD"})},navigateOpts:a,type:"FORWARD"})},canGoBack:()=>e.state[J]!==0,createHref:a=>t.createHref(a),block:a=>{if(!t.setBlockers)return()=>{};const o=t.getBlockers?.()??[];return t.setBlockers([...o,a]),()=>{const c=t.getBlockers?.()??[];t.setBlockers?.(c.filter(u=>u!==a))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:n}}function vs(t,e){e||(e={});const s=Ue();return{...e,key:s,__TSR_key:s,[J]:t}}function fr(t){const e=typeof document<"u"?window:void 0,s=e.history.pushState,n=e.history.replaceState;let i=[];const r=()=>i,a=v=>i=v,o=(v=>v),c=(()=>Jt(`${e.location.pathname}${e.location.search}${e.location.hash}`,e.history.state));if(!e.history.state?.__TSR_key&&!e.history.state?.key){const v=Ue();e.history.replaceState({[J]:0,key:v,__TSR_key:v},"")}let u=c(),l,h=!1,f=!1,p=!1,m=!1;const d=()=>u;let g;const y=()=>{g&&(S._ignoreSubscribers=!0,(g[2]?e.history.pushState:e.history.replaceState)(g[1],"",g[0]),S._ignoreSubscribers=!1,g=void 0,l=void 0)},b=(v,w,R)=>{const I=o(w),L=!!g;L||(l=u),u=Jt(w,R),g=[I,R,g?.[2]||v],L||queueMicrotask(()=>y())},P=v=>{u=c(),S.notify({type:v})},_=async()=>{if(f){f=!1;return}const v=c(),w=v.state[J]-u.state[J],R=w===1,I=w===-1,L=!R&&!I||h;h=!1;const k=L?"GO":I?"BACK":"FORWARD",E=L?{type:"GO",index:w}:{type:I?"BACK":"FORWARD"};if(p)p=!1;else{const St=r();if(typeof document<"u"&&St.length){for(const N of St)if(await N.blockerFn({currentLocation:u,nextLocation:v,action:k})){f=!0,e.history.go(1),S.notify(E);return}}}u=c(),S.notify(E)},C=v=>{if(m){m=!1;return}let w=!1;const R=r();if(typeof document<"u"&&R.length)for(const I of R){const L=I.enableBeforeUnload??!0;if(L===!0){w=!0;break}if(typeof L=="function"&&L()===!0){w=!0;break}}if(w)return v.preventDefault(),v.returnValue=""},S=hr({getLocation:d,getLength:()=>e.history.length,pushState:(v,w)=>b(!0,v,w),replaceState:(v,w)=>b(!1,v,w),back:v=>(v&&(p=!0),m=!0,e.history.back()),forward:v=>{v&&(p=!0),m=!0,e.history.forward()},go:v=>{h=!0,e.history.go(v)},createHref:v=>o(v),flush:y,destroy:()=>{e.history.pushState=s,e.history.replaceState=n,e.removeEventListener(ys,C,{capture:!0}),e.removeEventListener(gs,_)},onBlocked:()=>{l&&u!==l&&(u=l)},getBlockers:r,setBlockers:a,notifyOnIndexChange:!1});return e.addEventListener(ys,C,{capture:!0}),e.addEventListener(gs,_),e.history.pushState=function(...v){const w=s.apply(e.history,v);return S._ignoreSubscribers||P("PUSH"),w},e.history.replaceState=function(...v){const w=n.apply(e.history,v);return S._ignoreSubscribers||P("REPLACE"),w},S}function dr(t){let e=t.replace(/[\x00-\x1f\x7f]/g,"");return e.startsWith("//")&&(e="/"+e.replace(/^\/+/,"")),e}function Jt(t,e){const s=dr(t),n=s.indexOf("#"),i=s.indexOf("?"),r=Ue();return{href:s,pathname:s.substring(0,n>0?i>0?Math.min(n,i):n:i>0?i:s.length),hash:n>-1?s.substring(n):"",search:i>-1?s.slice(i,n===-1?void 0:n):"",state:e||{[J]:0,key:r,__TSR_key:r}}}function Ue(){return(Math.random()+1).toString(36).substring(7)}function bs(t){return t.options.loader||t.options.beforeLoad||t.lazyFn||t.options.component?.preload||t.options.pendingComponent?.preload}function ee(t,e){return{fromLocation:e,toLocation:t,pathChanged:e?.pathname!==t.pathname,hrefChanged:e?.href!==t.href,hashChanged:e?.hash!==t.hash}}function Ss({key:t,__TSR_key:e,__TSR_index:s,__hashScrollIntoViewOptions:n,...i}){return i}function pr(t,e,s,n){for(const i of e){if(n?.()===!1)return;s.some(r=>r.routeId===i.routeId)||t.routesById[i.routeId].options.onLeave?.(i)}for(const i of s){if(n?.()===!1)return;t.routesById[i.routeId].options[e.some(r=>r.routeId===i.routeId)?"onStay":"onEnter"]?.(i)}}var mr=class{constructor(t,e){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.subscribers=new Set,this._cache=new Map,this._committed=[],this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=async s=>(s(),!1),this.update=s=>{const n=this.options,i=this.basepath??n?.basepath??"/",r=this.basepath===void 0,a=n?.rewrite;if(this.options={...n,...s},this.isServer=this.options.isServer??_i??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=zi(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=fr()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let u;this.resolvePathCache=Vt(1e3),u=this.buildRouteTree(),this.setRoutes(u)}if(!this.stores&&this.latestLocation){const u=this.getStoreConfig(this);this.batch=u.batch,this.stores=lr(this.latestLocation,u),Zi(this)}const o=this.options.basepath??"/",c=this.options.rewrite;if(r||i!==o||a!==c){this.basepath=o;const u=[],l=en(o);l&&l!=="/"&&u.push(ur({basepath:o})),c&&u.push(c),this.rewrite=u.length===0?void 0:u.length===1?u[0]:cr(u),this.history&&this.updateLatestLocation(),this.stores&&this.stores.location.set(this.latestLocation)}},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=Ni(this.routeTree,this.options.caseSensitive,(n,i)=>{n.init({originalIndex:i})});return this.options.routeMasks&&Di(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,n)=>{const i={eventType:s,fn:n};return this.subscribers.add(i),()=>{this.subscribers.delete(i)}},this.emit=s=>{for(const n of this.subscribers)if(n.eventType===s.type)try{n.fn(s)}catch(i){console.error(i)}},this.parseLocation=(s,n)=>{const i=({pathname:c,search:u,hash:l,href:h,state:f})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(c)){const y=this.options.parseSearch(u),b=this.options.stringifySearch(y);return{href:c+b+l,publicHref:c+b+l,pathname:Pt(c).path,external:!1,searchStr:b,search:tt(n?.search,y),hash:Pt(l.slice(1)).path,state:nt(n?.state,f)}}const p=new URL(h,this.origin),m=Pe(this.rewrite,p),d=this.options.parseSearch(m.search),g=this.options.stringifySearch(d);return m.search=g,{href:m.href.replace(m.origin,""),publicHref:h,pathname:Pt(m.pathname).path,external:!!this.rewrite&&m.origin!==this.origin,searchStr:g,search:tt(n?.search,d),hash:Pt(m.hash.slice(1)).path,state:nt(n?.state,f)}},r=i(s),{__tempLocation:a,__tempKey:o}=r.state;if(a&&(!o||o===this.tempLocationKey)){const c=i(a);return c.state.key=r.state.key,c.state.__TSR_key=r.state.__TSR_key,delete c.state.__tempLocation,{...c,maskedLocation:r}}return r},this.resolvePathWithBase=(s,n)=>Hi({base:s,to:n.includes("//")?je(n):n,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,n,i)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:n},i):this.matchRoutesInternal(s,n),this.getMatchedRoutes=s=>{const n=Object.create(null),i=Bi(W(s),this.processedTree,!0);return i&&Object.assign(n,i.rawParams),[i?.branch||[this.routesById.__root__],n,i?.route]},this.buildLocation=s=>{const n=(r={})=>{const a=r._fromLocation||this._pendingLocation||this.latestLocation,o=this.matchRoutesLightweight(a);r.from;const c=r.unsafeRelative==="path"?a.pathname:r.from??o[1],u=r.to?`${r.to}`:void 0,l=o[2],h=Object.assign(Object.create(null),o[3]),f=u?.charCodeAt(0)===47?"/":this.resolvePathWithBase(c,"."),p=u?this.resolvePathWithBase(f,u):f,m=ws(r.params,h),d=this.routesByPath[W(p)];let g;if(d)g=this.getRouteBranch(d);else if(p.includes("$"))g=[];else{const[L,k,E]=this.getMatchedRoutes(p);g=L,this.options.notFoundRoute&&(!E||E.path!=="/"&&k["**"])&&(g=[...g,this.options.notFoundRoute])}if(g.length&&Vs(m))for(const L of g){const k=L.options.params?.stringify??L.options.stringifyParams;if(k)try{Object.assign(m,k(m))}catch{}}const y=s.leaveParams?p:Pt(fs({path:p,params:m,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let b=l;if(s._includeValidateSearch&&this.options.search?.strict){const L={};g.forEach(k=>{if(k.options.validateSearch)try{Object.assign(L,Qt(k.options.validateSearch,{...L,...b}))}catch{}}),b=L}b=yr(b,r,g,s._includeValidateSearch),b=tt(l,b);const P=this.options.stringifySearch(b),_=r.hash===!0?a.hash:r.hash?vt(r.hash,a.hash):void 0,C=_?`#${_}`:"";let S=r.state===!0?a.state:r.state?vt(r.state,a.state):{};S=nt(a.state,S);const v=`${y}${P}${C}`;let w,R,I=!1;if(this.rewrite){const L=new URL(v,this.origin),k=nn(this.rewrite,L);w=L.href.replace(L.origin,""),k.origin!==this.origin?(R=k.href,I=!0):R=k.pathname+k.search+k.hash}else w=Ei(v),R=w;return{publicHref:R,href:w,pathname:y,search:b,searchStr:P,state:S,hash:_??"",external:I,unmaskOnReload:r.unmaskOnReload}},i=(r={},a)=>{const o=n(r);let c=a?n(a):void 0;if(!c){const u=Object.create(null);if(this.options.routeMasks){const l=Ai(o.pathname,this.processedTree);if(l){Object.assign(u,l.rawParams);const{from:h,params:f,...p}=l.route,m=ws(f,u);a={from:s.from,...p,params:m},c=n(a)}}}return c&&(o.maskedLocation=c),o};return s.mask?i(s,{from:s.from,...s.mask}):i(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:n,...i})=>{let r;const a=W(this.latestLocation.href)===W(i.href)&&G(Ss(i.state),Ss(this.latestLocation.state)),o=this._commitPromise;let c;const u=new Promise(l=>{c=l});if(u.resolve=()=>{c(),o?.resolve()},this._commitPromise=u,a)this.load();else{let{maskedLocation:l,hashScrollIntoView:h,...f}=i;l&&(f={...l,state:{...l.state,__tempKey:void 0,__tempLocation:{...f,search:f.searchStr,state:{...f.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(f.unmaskOnReload??this.options.unmaskOnReload??!1)&&(f.state.__tempKey=this.tempLocationKey)),f.state.__hashScrollIntoViewOptions=h??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,r=i.replace?"REPLACE":"PUSH",this.history[r==="REPLACE"?"replace":"push"](f.publicHref,f.state,{ignoreBlocker:n}),this.history.subscribers.size||this.load({action:{type:r}})}return this._scroll.next=i.resetScroll??!0,this._commitPromise},this.buildAndCommitLocation=({replace:s,resetScroll:n,hashScrollIntoView:i,viewTransition:r,ignoreBlocker:a,_redirects:o,href:c,...u}={})=>{if(c){const f=this.history.location.state.__TSR_index,p=Jt(c,{__TSR_index:s?f:f+1}),m=new URL(p.pathname,this.origin);u.to=Pe(this.rewrite,m).pathname,u.search=this.options.parseSearch(p.search),u.hash=p.hash.slice(1)}const l=this.buildLocation({...u,_includeValidateSearch:!0});o&&(l._redirects=o),this._pendingLocation=l;const h=this.commitLocation({...l,viewTransition:r,replace:s,resetScroll:n,hashScrollIntoView:i,ignoreBlocker:a});return queueMicrotask(()=>{this._pendingLocation===l&&(this._pendingLocation=void 0)}),h},this.navigate=async({to:s,reloadDocument:n,href:i,publicHref:r,...a})=>{let o=!1;if(i)try{new URL(`${i}`),o=!0}catch{}if(o&&!n&&(n=!0),n){if(s!==void 0||!i){const u=this.buildLocation({to:s,...a});i=i??u.publicHref,r=r??u.publicHref}const c=!o&&r?r:i;if($t(c,this.protocolAllowlist))return;if(!a.ignoreBlocker){const u=this.history.getBlockers?.()??[];for(const l of u)if(l?.blockerFn&&await l.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}a.replace?window.location.replace(c):window.location.href=c;return}return this.buildAndCommitLocation({...a,href:i,to:s,_isNavigate:!0})},this.load=async s=>{this.updateLatestLocation(),s?.action&&(this._scroll.hash=s.action.type==="PUSH"||s.action.type==="REPLACE"),await Cr(this,s)},this.startViewTransition=s=>{const n=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,n&&typeof document.startViewTransition=="function"){let i;if(typeof n=="object"&&window.CSS?.supports?.("selector(:active-view-transition-type(a))")){const r=this.latestLocation,a=this.stores.resolvedLocation.get(),o=typeof n.types=="function"?n.types(ee(r,a)):n.types;if(o===!1)return s();i={update:s,types:o}}else i=s;return document.startViewTransition(i).updateCallbackDone}return s()},this.invalidate=s=>{const n=this._committed,i=s?.filter,r=this._preloads,a=new Set([...n,...this._cache.values(),...[...r?.values()??[]].flat(),...this._tx?.[3]??[]].filter(u=>!i||i(u)).map(u=>u.id)),o=[];for(const[u,l]of r??[])l.some(h=>a.has(h.id))&&(r.delete(u),o.push(u));const c=u=>{if(a.has(u.id)){const l=this.routesById[u.routeId],h={...u,invalid:!0,...(s?.forcePending||u.status==="error"||u.status==="notFound")&&bs(l)?{status:"pending",error:void 0}:void 0};return u._flight=void 0,h}return u};this._committed=n.map(c);for(const[u,l]of this._cache)a.has(u)&&(l.invalid=!0,s?.forcePending&&(l.status="pending"));for(const u of a)this._flights?.delete(u);for(const u of o)u.abort();return this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.resolveRedirect=s=>{const n=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const i=(s.options._builtLocation??this.buildLocation(s.options)).publicHref||"/";s.options.href=i,s.headers.set("Location",i)}else if(n)try{const i=new URL(n);if(this.origin&&i.origin===this.origin){const r=i.pathname+i.search+i.hash;s.options.href=r,s.headers.set("Location",r)}}catch{}if(s.options.href&&!s.options._builtLocation&&$t(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const n=this._cache,i=this._preloads,r=s?.filter,a=[],o=[];for(const[u,l]of n)(!r||r(l))&&(o.push(u),a.push(l));const c=[];for(const[u,l]of i??[])(!r||l.some(r))&&(c.push(u),a.push(...l));for(const u of o)n.delete(u);for(const u of c)i.delete(u);for(const u of a){const l=u._flight;u._flight=void 0,l&&!--l[2]&&(this._flights?.get(u.id)===l&&this._flights.delete(u.id),c.push(l[1]))}for(const u of c)u.abort()},this.loadRouteChunk=mt,this.preloadRoute=s=>mn(this,s),this.matchRoute=(s,n)=>{const i={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},r=this.buildLocation(i),a=this.stores.status.get()==="pending";if(n?.pending&&!a)return!1;const o=n?.pending??!a?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),c=ji(r.pathname,n?.caseSensitive??!1,n?.fuzzy??!1,o.pathname,this.processedTree);return!c||s.params&&!G(c.rawParams,s.params,{partial:!0})?!1:n?.includeSearch??!0?G(o.search,r.search,{partial:!0})?c.rawParams:!1:c.rawParams},this.getStoreConfig=e,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...t,caseSensitive:t.caseSensitive??!1,notFoundMode:t.notFoundMode??"fuzzy",stringifySearch:t.stringifySearch??ir,parseSearch:t.parseSearch??nr,protocolAllowlist:t.protocolAllowlist??ki}),self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}get state(){return this.stores.__store.get()}setRoutes({routesById:t,routesByPath:e,processedTree:s}){this.routesById=t,this.routesByPath=e,this.processedTree=s;const n=this.options.notFoundRoute;n&&(n.init({originalIndex:99999999999}),this.routesById[n.id]=n)}getRouteBranch(t){let e=this.routeBranchCache.get(t);return e||(e=Zs(t),this.routeBranchCache.set(t,e)),e}matchRoutesInternal(t,e){const[s,n,i]=this.getMatchedRoutes(t.pathname);let r=s,a=!1;(i?i.path!=="/"&&n["**"]:W(t.pathname))&&(this.options.notFoundRoute?r=[...r,this.options.notFoundRoute]:a=!0);const o=a?vr(this.options.notFoundMode,r):void 0,c=new Array(r.length),u=this._committed,l=(f,p)=>{const m=u[p];return m?.routeId===f.id?m:f===this.options.notFoundRoute?u.find(d=>d.routeId===f.id):void 0};let h;for(let f=0;f<r.length;f++){const p=r[f],m=c[f-1];let d,g,y;{const E=m?.search??t.search,St=m?._strictSearch??void 0;try{const N=Qt(p.options.validateSearch,{...E})??void 0;d={...E,...N},g={...St,...N}}catch(N){let Et=N;if(N instanceof Yt||(Et=new Yt(N.message,{cause:N})),e?.throwOnError)throw Et;d=E,g={},y=Et}}let b="",P="";try{b=p.options.loaderDeps?.({search:d})??"",P=b&&JSON.stringify(b)||""}catch(E){if(e?.throwOnError)throw E;y??=E}const{interpolatedPath:_,usedParams:C}=fs({path:p.fullPath,params:n,decoder:this.pathParamsDecoder,server:this.isServer}),S=p.id+_+P,v=l(p,f),w=this._cache.get(S)??(v?.id===S?v:void 0);h=w?._strictParams??Object.assign(C,h);let R;if(!w)try{_s(p,h)}catch(E){if(rt(E)||Be(E)?R=E:R=new gr(E.message,{cause:E}),e?.throwOnError)throw R}const I=v?"stay":"enter";let L;if(w)L={...w,cause:I,search:tt(v?v.search:w.search,d),_strictSearch:g,searchError:y};else{const E=bs(p)?"pending":"success";L={id:S,ssr:p.options.ssr,index:f,routeId:p.id,params:v?.params??h,_strictParams:h,pathname:_,updatedAt:Date.now(),search:v?tt(v.search,d):d,_strictSearch:g,searchError:y,status:E,isFetching:!1,error:void 0,paramsError:R,context:{},abortController:e?._controller??new AbortController,cause:I,loaderDeps:v?nt(v.loaderDeps,b):b,invalid:!1,preload:!1,staticData:p.options.staticData||{},fullPath:p.fullPath}}const k=o===p.id;L._notFound&&!k&&(L.error=void 0),L._notFound=k,c[f]=L}for(let f=0;f<c.length;f++){const p=c[f];p.params=p.cause==="stay"?tt(p.params,h):h,e?._controller&&(p.context={})}return c}matchRoutesLightweight(t){const e=Lt(this.stores.ids.get()),s=e?this.stores.byRoute.get(e).get():void 0,n=s?.id,i=this.lightweightCache.get(t);if(i&&i[0]===n)return i[1];const[r,a]=this.getMatchedRoutes(t.pathname),o=Lt(r),c={...t.search};for(const f of r)try{Object.assign(c,Qt(f.options.validateSearch,c))}catch{}const u=s&&s.routeId===o.id&&s.pathname===t.pathname;let l;if(u)l=s.params;else{const f=Object.assign(Object.create(null),a);for(const p of r)try{_s(p,f)}catch{}l=f}const h=[r,o.fullPath,c,l];return this.lightweightCache.set(t,[n,h]),h}},Yt=class extends Error{},gr=class extends Error{};function Qt(t,e){if(t==null)return{};if("~standard"in t){const s=t["~standard"].validate(e);if(s instanceof Promise)throw new Yt("Async validation not supported");if(s.issues)throw new Yt(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in t?t.parse(e):typeof t=="function"?t(e):{}}function yr(t,e,s,n){const i=[];for(const a of s){const o=a.options;if("search"in o)o.search?.middlewares&&i.push(...o.search.middlewares);else if(o.preSearchFilters||o.postSearchFilters){const u=({search:l,next:h})=>{const f=h(o.preSearchFilters?o.preSearchFilters.reduce((p,m)=>m(p),l):l);return o.postSearchFilters?o.postSearchFilters.reduce((p,m)=>m(p),f):f};i.push(u)}const c=o.validateSearch;if(c){const u=({search:l,next:h,meta:f})=>{const p=h(l);if(n)try{const m=Qt(c,p);if(f&&m)for(const d in m)d in p||(f.defaulted||=new Map).set(d,m[d]);return{...p,...m}}catch{}return p};i.push(u)}}const r=(a,o,c)=>{if(a>=i.length){if(!e.search)return{};if(e.search===!0)return o;const l=vt(e.search,o);return c&&(c.explicit=l),l}const u=(l,h)=>{if(h){const f=c||{};return{search:r(a+1,l,f),meta:f}}return r(a+1,l,c)};return i[a]({search:o,next:u,meta:c})};return r(0,t)}function vr(t,e){if(t!=="root"){let s;for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.options.notFoundComponent)return i.id;s||=i.children&&i.id}if(s)return s}return pt}function ws(t,e){return t===!1||t===null?Object.create(null):(t??!0)===!0?e:Object.assign(e,vt(t,e))}function _s(t,e){const s=t.options.params?.parse??t.options.parseParams;s&&Object.assign(e,s(e))}function Re(t,e){return t.options[e]?.preload?.()}function br(t,e){const s=Re(t,"component"),n=Re(t,"pendingComponent"),i=e&&n?n.then(e):n;return e&&!n&&e(),s&&i?Promise.all([s,i]).then(()=>{}):s??i}function mt(t,e,s){const n=()=>e===!1?void 0:e?Re(t,e):br(t,s),i=t._lazy;if(i)return i===!0?n():i.then(n);if(!t.lazyFn)return n();const r=t.lazyFn().then(a=>{{const{id:o,...c}=a.options;Object.assign(t.options,c),t._lazy=!0}},a=>{throw t._lazy=void 0,a});return t._lazy=r,r.then(n)}function rn(t){const e=t.findIndex(s=>s.status!=="success"||s._notFound)+1;return e&&e<t.length?t.slice(0,e):t}const K=0,Y=1,se=2,B=3,ot=4;function Ot(t){return typeof t[0]=="number"}function X(t,e){return e.aborted?Promise.race([Promise.reject(e),t]):new Promise((s,n)=>{const i=()=>n(e);e.addEventListener("abort",i,{once:!0}),Promise.resolve(t).then(s,n).finally(()=>e.removeEventListener("abort",i))})}function at(t,e){return t.routesById[e.routeId]}function It(t,e,s){return Be(t)?[B,t]:rt(t)?(t.routeId||=s,[se,t]):(e&&typeof t?.then=="function"&&(t=new Error("A Promise was thrown",{cause:t})),e?[Y,t]:[K,t])}function on(t,e){let s=It(e,!0,t.id);if(s[0]!==Y)return s;try{t.options.onError?.(s[1])}catch(n){s=It(n,!0,t.id)}return s}function Rt(t,e,s){return s[0].signal.aborted||!s[2]()?(s[0].abort(),[ot]):on(t,e)}function an(t,e){return s=>t.navigate({...s,_fromLocation:e})}async function Sr(t,e,s,n,i,r){const[a,o]=e,c=s[0].signal,u=!!s[4];for(let l=s[7]??0;l<n;l++){const h=o[l],f=at(t,h);h.abortController=s[0];const p=o[l-1]?.context??t.options.context??{},m={params:h.params,location:a,navigate:an(t,a),buildLocation:t.buildLocation,cause:u?"preload":h.cause,abortController:s[0],preload:u,matches:o,routeId:f.id};let d=p;try{let _=h._ctx;!_&&f.options.context&&(_=h._ctx=f.options.context({...m,deps:h.loaderDeps,context:p})||{}),d={...p,..._},h.context=d}catch(_){return H(t,h),[l,Rt(f,_,s)]}if(c.aborted||!s[2]())return s[0].abort(),[l,[ot]];const g=h.paramsError??h.searchError;if(g!==void 0)return H(t,h),[l,Rt(f,g,s)];const y=f.options.beforeLoad;if(!y)continue;const b={...m,search:h.search,context:d,...t.options.additionalContext},P=h.status;P==="success"&&l>=r&&(h.status="pending"),s[8]?.();try{kt(t,h,"beforeLoad",s[0]);const _=await X(y(b),c);if(!s[2]())return s[0].abort(),[l,[ot]];const C=It(_,!1,f.id);if(C[0]!==K)return H(t,h),[l,C];h.context={...d,..._}}catch(_){return H(t,h),[l,Rt(f,_,s)]}finally{P==="success"&&h.status==="pending"&&(h.status="success"),kt(t,h,!1,s[0])}}i()}function Ne(t,e,s){if(!(!s||--s[2])){if(t._flights?.get(e.id)===s){const n=t._tx;if(n&&!n[0].signal.aborted&&!n[3].includes(e)&&n[3].some(i=>i.id===e.id)&&n[3].some(i=>i.isFetching==="beforeLoad"))return;t._flights.delete(e.id)}return s[1]}}function H(t,e){const s=e._flight;e._flight=void 0,Ne(t,e,s)?.abort()}function A(t,e,s,n){const i=[];for(const r of e)if(!s?.includes(r)){const a=r._flight;if(r._flight=void 0,n&&a?.[2]===1&&t._flights?.get(r.id)===a&&s?.some(o=>o.id===r.id))a[2]=0;else{const o=Ne(t,r,a);o&&i.push(o)}}for(const r of i)r.abort()}function Qe(t){for(const e of t){const s=e._flight;s&&s[2]++}}function kt(t,e,s,n){if(e.isFetching=s,n&&t._tx?.[0]!==n)return;const i=t.stores.byRoute.get(e.routeId),r=i?.get();r?.id===e.id&&i.set({...r,isFetching:s})}function cn(t,e,s,n,i,r,a){const o=e[0];return{params:s.params,location:o,navigate:an(t,o),cause:a?"preload":s.cause,abortController:i,preload:a,deps:s.loaderDeps,parentMatchPromise:r,context:s.context,route:n,...t.options.additionalContext}}async function Ps(t,e,s,n,i,r,a,o){const c=o.signal;if(c.aborted)return[ot];if(!i)return[K,void 0];let u=s._flight;kt(t,s,"loader",o);try{if(!u){const l=new AbortController;u=[Promise.resolve().then(()=>i(cn(t,e,s,n,l,r,a))).then(h=>It(h,!1,n.id),h=>It(h,!0,n.id)).then(h=>(h[0]!==K&&t._flights?.get(s.id)===u&&(t._flights.delete(s.id),u[2]||l.abort()),h[0]===Y&&u[2]?on(n,h[1]):h)),l,1],(t._flights??=new Map).set(s.id,u)}return s._flight=u,s.abortController=u[1],await X(u[0],c)}catch(l){if(l!==c)throw l;return H(t,s),[ot]}finally{kt(t,s,!1,o)}}function Rs(t,e,s){e[0]===K?(t.loaderData=e[1],t.error=void 0,t.status="success",t.invalid=!1,t.updatedAt=Date.now(),t.preload=s):e[0]!==B&&(t.status="success",t.error=void 0,t.invalid=!0)}function wr(t,e,s){const n=t._cache.get(e.id);if(n!==s||t._committed.some(r=>r.id===e.id&&r._flight===e._flight))return;const i={...e,_notFound:void 0,context:{}};i._flight&&i._flight[2]++,t._cache.set(e.id,i),n&&H(t,n)}function xs(t,e){return e[0]===Y||e[0]===se?{...t,status:e[0]===Y?"error":"notFound",error:e[1],_flight:void 0}:t}function _r(t,e,s,n,i,r,a){const o=e[1][s],c=at(t,o),u=!!r[4],l=t._cache.get(o.id);let h,f=!1,p;try{if(o.status==="success"&&(h=c.options.shouldReload,typeof h=="function"&&(h=h(cn(t,e,o,c,r[0],i,u))),r[2]()||(r[0].abort(),p=[ot])),!p)if(o.status!=="success")f=!0;else{const R=r[4]||o.preload?c.options.preloadStaleTime??t.options.defaultPreloadStaleTime??3e4:c.options.staleTime??t.options.defaultStaleTime??0;f=!!(o.invalid||h||h===void 0&&Date.now()-o.updatedAt>=R&&(r[6]||o.cause==="enter"||r[3].some(I=>I.routeId===o.routeId&&I.id!==o.id)))}}catch(R){o.invalid=!0,H(t,o),p=Rt(c,R,r)}const m=c.options.loader,d=typeof m=="function"?m:m?.handler;let g=(!u||c.options.preload!==!1)&&m?t._flights?.get(o.id):void 0;g===o._flight||p?g=void 0:g&&!f&&!u&&h===void 0?f=!0:f||(g=void 0);const y=!!(m&&f&&o.status==="success"&&!u&&!r[5]&&((typeof m=="function"?void 0:m?.staleReloadMode)??t.options.defaultStaleReloadMode)!=="blocking"),b=f&&(!u||c.options.preload!==!1),P=b&&!y&&(o.status!=="success"||!!m),_=c.lazyFn&&c._lazy!==!0?r[8]:void 0;if(b&&!m&&(o.invalid=!1,o.updatedAt=Date.now()),g&&g[2]++,P){const R=o._flight;o._flight=g,Ne(t,o,R)?.abort(),o.status==="success"&&s>=a&&(o.status="pending"),r[8]?.()}b||(o.isFetching=!1);const C=(p?Promise.resolve(p):P?Ps(t,e,o,c,d,i,u,r[0]):Promise.resolve([K,o.loaderData])).then(R=>(P&&(Rs(o,R,u),R[0]===K&&(m&&!r[0].signal.aborted&&wr(t,o,l),o.status="pending")),R)),S=X(Promise.resolve().then(()=>mt(c,void 0,_)),r[0].signal).then(()=>{},R=>[s,Rt(c,R,r)]).then(R=>C.then(I=>(P&&!R&&I[0]===K&&o.status==="pending"&&r[2]()&&(o.status="success",r[8]?.()),R)));if(n.push([s,C,S]),!y)return C.then(R=>xs(o,R));const v={...o,status:"pending",preload:!1,_flight:g};o.invalid=!1,o.isFetching="loader";const w=Ps(t,e,v,c,d,i,!1,r[0]).then(R=>(o.isFetching=!1,Rs(v,R,!1),R));return(e[2]??=[]).push([s,w,S,v]),w.then(R=>xs(v,R))}async function xe(t,e,s,n,i=0){const r=s?.[1][1];let a=r?.routeId?e.findIndex(o=>o.routeId===r.routeId):s?.[0]??e.length-1;a<0&&(a=0);for(let o=a;o>=0;o--){const c=at(t,e[o]),u=mt(c,!1);if(u)try{await X(u,n)}catch(l){if(l===n)throw l}if(c.options.notFoundComponent)return o}return r?.routeId?a:i}function gt(t,e){e[2]&&(A(t,e[2].map(s=>s[3])),e[2]=void 0)}async function Cs(t,e,s,n){let i;try{await Promise.all(t.map(r=>r[1].then(async a=>{const o=r[0];if(!(n&&o>=await n)){if(a[0]>=B)throw[o,a];!i&&a[0]!==K&&(i=[o,a],await Promise.all((s??[]).map(c=>{if(!(c[0]<=o))return c[1].then(u=>{if(u[0]===B)throw[c[0],u]})})))}})))}catch(r){return r}return e??i}async function un(t,e,s,n,i,r,a){const o=e[1];let c=await r,u=!1;const l=o.findIndex(m=>m._notFound),h=m=>m[1][0]===se?xe(t,o,m,n.signal):m[0];let f=l<0?o.length:l;if((c?.[1][0]??0)>=B)f=0;else if(c){f=c[2]??=await h(c);for(const m of s){if(m[0]>=f)break;const d=await m[1];if(d[0]!==K&&d[0]<B&&!("loaderData"in o[m[0]])){c=[m[0],d],f=c[2]=await h(c);break}}}for(const m of s){if(m[0]>=f)break;const d=await m[2];if(d){c=d;break}}if((c?.[1][0]??0)>=B){const m=c[1];if(m[0]!==B||m[1].options.reloadDocument||i<20)return gt(t,e),m;u=!0,c=[0,[Y,new Error("Too many redirects")]]}const p=c?c[2]??await h(c):l;if(p>=0){const m=c?.[1],d=m?.[0],g=o[p],y=m?.[1],b=()=>{m&&(g._notFound=void 0,d===Y?g.status="error":(y.routeId=g.routeId,g.routeId===t.routeTree.id?(g.status="success",g._notFound=!0):g.status="notFound"),g.error=y,g.isFetching=!1)};b();const P=at(t,g);try{await X(m?Promise.resolve().then(()=>mt(P,d===Y?"errorComponent":"notFoundComponent")):Promise.all([mt(P),mt(P,"notFoundComponent")]),n.signal)}catch(_){if(_===n.signal)return gt(t,e),[ot]}m?u&&(n.abort(),await Promise.all([...s.map(_=>_[1]),...s.map(_=>_[2]),...(e[2]??[]).map(_=>_[1])]),gt(t,e),A(t,o),b()):(g.status="success",a?.())}return e}async function ln(t,e,s,n=0,i=e[1].length){const r=e[1];for(let a=n;a<i;a++){const o=r[a],c=at(t,o).options;if(c.head||c.scripts)try{const u={ssr:t.options.ssr,matches:r,match:o,params:o.params,loaderData:o.loaderData},[l,h]=await X(Promise.all([c.head?.(u),c.scripts?.(u)]),s);o.meta=l?.meta,o.links=l?.links,o.headScripts=l?.scripts,o.styles=l?.styles,o.scripts=h}catch(u){if(u===s)break;console.error(u)}if(o.status!=="success"||o._notFound)break}return e}async function hn(t,e,s,n){const i=[e,s],r=t.stores.matches.get();let a=s.findIndex(d=>d._notFound);if(t.options.notFoundMode!=="root"&&a>=0){const d=await xe(t,i[1],void 0,n[0].signal,a);d!==a&&(s[a]._notFound=void 0,s[d]._notFound=!0),a=d}let o=a<0?s.length:a+1,c=0;for(;c<o&&c!==a;){const d=s[c],g=n[3][c],y=r[c];if(g?.id!==d.id||g.status!=="success"||g._notFound||d.preload||y?.id!==d.id||y.status!=="success"||y._notFound)break;c++}const u=[],l=n[7]??0;let h=l?Promise.resolve(i[1][l-1]):void 0;const f=()=>{for(let d=l;d<o&&!n[0].signal.aborted;d++)h=_r(t,i,d,u,h,n,c)},p=await Sr(t,i,n,o,f,c);if(p&&(n[5]=!0,o=p[0],p[1][0]===se?(p[2]=await xe(t,i[1],p,n[0].signal),o=Math.min(o,p[2]+1)):p[1][0]>=B&&(o=0),f()),n[2]()&&!n[4]){const d=[];for(const[g,y]of t._flights??[])y[2]||(t._flights.delete(g),d.push(y[1]));for(const g of d)g.abort()}let m;try{const d=un(t,i,u,n[0],n[1],Cs(u,p,i[2]),n[8]);i[2]?.length&&(i[3]=Cs(i[2],void 0,void 0,d.then(g=>Ot(g)?0:rn(g[1]).length,()=>0))),m=await d}catch(d){throw gt(t,i),d}return Ot(m)?m:ln(t,m,n[0].signal,n[7]===m[1].length?n[7]:0)}function Ce(t,e){if(t._tx!==e)return;let s=t._pending,n=!1;const i=s?.[0][3][s[1]]?.id;s?.[0]!==e&&(s&&e[3][s[1]]?.id===i?(s[0]=e,n=!0):(clearTimeout(s?.[3]),t._pending=s=void 0));const r=e[3],a=t.stores.matches.get();let o=-1,c,u,l,h=!1;for(let d=0;d<r.length;d++){const g=r[d],y=g.status==="success";if(h=a[d]?.id===g.id&&a[d]?.status==="pending",y&&!h)continue;const b=at(t,g);if(c=y&&h||g.invalid?0:b.options.pendingMs??t.options.defaultPendingMs,l=b.options.pendingComponent??t.options.defaultPendingComponent,!l||typeof c!="number"||c===1/0)return;o=d,u=b.options.pendingMinMs??t.options.defaultPendingMinMs??0;break}if(o<0)return;const f=r[o].id;if((!s||s[1]!==o||i!==f)&&(clearTimeout(s?.[3]),t._pending=s=[e,o,h?Date.now()+u:e[4]+c,void 0,h?Promise.resolve(!0):void 0,l]),s[4]&&!n&&s[5]===l)return;if(s[5]=l,!s[4]){clearTimeout(s[3]);const d=s[2]-Date.now();if(d>0){s[3]=setTimeout(()=>Ce(t,e),d);return}s[2]=0}const p=r.map(d=>({...d,_flight:void 0}));p[o].status="pending";const m=t.startTransition(()=>t.stores.setMatches(p),p).then(d=>(d&&t._pending===s&&s[4]===m&&!s[2]&&(s[2]=Date.now()+u),d));s[4]=m}function Kt(t,e){const s=t._pending;s?.[0]===e&&(clearTimeout(s[3]),t._pending=void 0)}function fn(t,e){t._committed=e,t.stores.setMatches(e)}function Ls(t,e){A(t,e[1]),gt(t,e)}function Pr(t,e,s,n){const i=t._committed,r=t._cache;for(const u of s)u.preload=!1,n&&(u._assetEnd=void 0);const a=rn(s).length,o=new Map,c=Date.now();for(const u of[...i,...r.values()]){if(u.status!=="success"||s.some((h,f)=>h.id===u.id&&(f<a||h.status==="success")))continue;const l=at(t,u);!l.options.loader||c-u.updatedAt>=(u.preload?l.options.preloadGcTime??t.options.defaultPreloadGcTime??3e5:l.options.gcTime??t.options.defaultGcTime??3e5)||o.set(u.id,r.get(u.id)===u?u:{...u,_flight:void 0,isFetching:!1,context:{}})}e[3]=[],t._cache=o,fn(t,s),A(t,[...r.values(),...i],[...s,...o.values()]),pr(t,i,s,()=>t._tx===e)}async function et(t,e){let s=t._tx;for(;s&&s!==e;){if(await s[5],t._tx===s)return;s=t._tx}}async function dn(t,e,s){await t.navigate({...s.options,replace:!0,ignoreBlocker:!0,_redirects:e[1]+1})}function pn(t,e){Kt(t,e),e[0].abort(),A(t,e[3]),e[3]=[],t._tx===e&&(t.batch(()=>{t.stores.status.set("idle"),t.stores.setMatches(t._committed)}),t._tx===e&&(t._commitPromise?.resolve(),t._commitPromise=void 0))}async function Rr(t,e,s,n,i){const r=s.map(u=>({...u}));Qe(r);for(const u of n)H(t,r[u[0]]),r[u[0]]=u[3];const a=[e[2],r];let o;try{o=await un(t,a,n,e[0],e[1],i)}catch(u){throw A(t,r),u}if(Ot(o)){A(t,r),o[0]===B&&t._tx===e&&t._committed===s&&await dn(t,e,o[1]);return}const c=await ln(t,o,e[0].signal);if(t._tx!==e||t._committed!==s){A(t,c[1]);return}for(const u of c[1]){const l=t._cache.get(u.id);l?._flight&&l._flight===u._flight&&(t._cache.delete(u.id),H(t,l))}fn(t,c[1]),A(t,s,c[1])}async function xr(t,e,s,n,i,r){const a=[e[0],e[1],()=>t._tx===e&&!!e[3].length,t._committed,void 0,i,s,r,n],o=await hn(t,e[2],e[3],a);if(Ot(o)){o[0]===B&&t._tx===e?(Kt(t,e),A(t,e[3]),e[3]=[],t._tx===e&&await dn(t,e,o[1])):pn(t,e);return}const c=t._pending;if(c?.[0]===e&&(clearTimeout(c[3]),c[4])){const f=e[0].signal;let p=!1;try{p=await X(c[4],f)}catch(m){if(m!==f)throw m}if(p&&t._pending===c&&c[0]===e){const m=c[2]-Date.now();if(m>0){try{await X(new Promise(d=>{c[3]=setTimeout(d,m)}),f)}catch{}clearTimeout(c[3])}}}if(t._tx!==e){Kt(t,e),Ls(t,o);return}const u=e[2],l=ee(u,t.stores.resolvedLocation.get()),h=o[2];await t.startViewTransition(async()=>{if(t._tx!==e){Ls(t,o);return}const f=()=>{Kt(t,e),Pr(t,e,o[1],r),t._tx===e&&(t.emit({type:"onLoad",...l}),t._tx===e&&t.emit({type:"onBeforeRouteMount",...l}))},p=await t.startTransition(f,o[1]);if(t._tx!==e){gt(t,o);return}h?.length&&Rr(t,e,o[1],h,o[3]).catch(console.error),t.batch(()=>{t.stores.resolvedLocation.set(u),t.stores.status.set("idle"),t._tx===e&&t.emit({type:"onResolved",...l}),p&&t._tx===e&&t.emit({type:"onRendered",...l})}),t._tx===e&&(t._commitPromise?.resolve(),t._commitPromise=void 0)})}async function Cr(t,e){const s=t._tx,n=t.stores.resolvedLocation.get(),i=n??t.stores.location.get(),r=t.latestLocation,a=t._pendingLocation,o=a?.href===r.href?a._redirects??0:0,c=t._handoff,u=c?.[0](),l=new AbortController,h=t._preflight;if(t._preflight=l,u||c?.[1](),h?.abort(),l.signal.aborted){await et(t,s);return}const f=ee(r,n);if(t.emit({type:"onBeforeNavigate",...f}),l.signal.aborted||t.emit({type:"onBeforeLoad",...f}),l.signal.aborted){await et(t,s);return}const p=i.href===r.href;let m,d=l;try{m=t.matchRoutes(r,{_controller:l}),Qe(m)}catch(b){if(l.abort(),!Be(b)){await et(t),t._commitPromise?.resolve(),t._commitPromise=void 0;return}await t.navigate({...b.options,replace:!0,ignoreBlocker:!0}),await et(t,s);return}const g=u?c[1](m):void 0;if(g?d=u:u?.abort(),l.signal.aborted){A(t,m),await et(t,s);return}t._preflight=void 0;const y=[d,o,r,m,Date.now(),Promise.resolve().then(()=>xr(t,y,p,()=>Ce(t,y),e?.sync,g)).catch(()=>{t._tx===y&&pn(t,y)})];if(t._tx=y,s){for(const b of t.stores.matches.get()){if(t._tx!==y)break;b.isFetching&&kt(t,b,!1)}s[0].abort(),A(t,s[3],y[3],!0)}if(t._tx!==y){A(t,y[3]),y[3]=[],await et(t,y);return}t.batch(()=>{t.stores.status.set("pending"),t.stores.location.set(r)}),!n&&!m.some(b=>b._notFound)&&Ce(t,y);try{await y[5]}finally{await et(t,y)}}async function mn(t,e,s=0){if(s>20)return;const n=e._builtLocation??t.buildLocation(e),i=t._committed,r=new AbortController;let a;try{a=t.matchRoutes(n,{_controller:r}),Qe(a)}catch(c){r.abort(),rt(c)||console.error(c);return}(t._preloads??=new Map).set(r,a);let o;try{let c;try{c=await hn(t,n,a,[r,s,()=>!0,i,!0])}finally{o=t._preloads.delete(r),A(t,a),r.abort()}if(!Ot(c))return c[1];if(o&&c[0]===B&&!c[1].options.reloadDocument)return mn(t,{...c[1].options,_fromLocation:n},s+1)}catch(c){rt(c)||console.error(c)}}const Lr="Error preloading route! ☝️";var gn=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(t){if(this.init=e=>{this.originalIndex=e.originalIndex;const s=this.options,n=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=pt:this.parentRoute||De();let i=n?pt:s?.path;i&&i!=="/"&&(i=tn(i));const r=s?.id||i;let a=n?pt:Ut([this.parentRoute.id==="__root__"?"":this.parentRoute.id,r]);i==="__root__"&&(i="/"),a!=="__root__"&&(a=Ut(["/",a]));const o=a==="__root__"?"/":Ut([this.parentRoute.fullPath,i]);this._path=i,this._id=a,this._fullPath=o,this._to=W(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e=="object"&&e!==null&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>ar({from:this.fullPath,...e}),this.options=t||{},this.isRoot=!t?.getParentRoute,t?.id&&t?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},Or=class extends gn{constructor(t){super(t)}};function Ke(t){return O.jsx(Ir,{...t})}var Ir=class extends x.Component{constructor(...t){super(...t),this.state={error:null},this.reset=()=>{this.setState({error:null})}}static getDerivedStateFromProps(t,e){const s=t.getResetKey();return e.error&&e.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,e){this.props.onCatch?.(t,e)}render(){const t=this.state.error;return t?x.createElement(this.props.errorComponent??kr,{error:t,reset:this.reset}):this.props.children}};function kr({error:t}){const[e,s]=x.useState(!1);return O.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[O.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[O.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),O.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(n=>!n),children:e?"Hide Error":"Show Error"})]}),O.jsx("div",{style:{height:".25rem"}}),e?O.jsx("div",{children:O.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?O.jsx("code",{children:t.message}):null})}):null]})}function Er({children:t,fallback:e=null}){return O.jsx(Zt.Fragment,{children:yn()?t:e})}function yn(){return Zt.useSyncExternalStore(Tr,()=>!0,()=>!1)}function Tr(){return()=>{}}var vn=x.createContext(null);function U(t){return x.useContext(vn)}var ne=x.createContext(void 0),Fr=x.createContext(void 0),T=(t=>(t[t.None=0]="None",t[t.Mutable=1]="Mutable",t[t.Watching=2]="Watching",t[t.RecursedCheck=4]="RecursedCheck",t[t.Recursed=8]="Recursed",t[t.Dirty=16]="Dirty",t[t.Pending=32]="Pending",t))(T||{});function Mr({update:t,notify:e,unwatched:s}){return{link:n,unlink:i,propagate:r,checkDirty:a,shallowPropagate:o};function n(u,l,h){const f=l.depsTail;if(f!==void 0&&f.dep===u)return;const p=f!==void 0?f.nextDep:l.deps;if(p!==void 0&&p.dep===u){p.version=h,l.depsTail=p;return}const m=u.subsTail;if(m!==void 0&&m.version===h&&m.sub===l)return;const d=l.depsTail=u.subsTail={version:h,dep:u,sub:l,prevDep:f,nextDep:p,prevSub:m,nextSub:void 0};p!==void 0&&(p.prevDep=d),f!==void 0?f.nextDep=d:l.deps=d,m!==void 0?m.nextSub=d:u.subs=d}function i(u,l=u.sub){const h=u.dep,f=u.prevDep,p=u.nextDep,m=u.nextSub,d=u.prevSub;return p!==void 0?p.prevDep=f:l.depsTail=f,f!==void 0?f.nextDep=p:l.deps=p,m!==void 0?m.prevSub=d:h.subsTail=d,d!==void 0?d.nextSub=m:(h.subs=m)===void 0&&s(h),p}function r(u){let l=u.nextSub,h;t:do{const f=u.sub;let p=f.flags;if(p&60?p&12?p&4?!(p&48)&&c(u,f)?(f.flags=p|40,p&=1):p=0:f.flags=p&-9|32:p=0:f.flags=p|32,p&2&&e(f),p&1){const m=f.subs;if(m!==void 0){const d=(u=m).nextSub;d!==void 0&&(h={value:l,prev:h},l=d);continue}}if((u=l)!==void 0){l=u.nextSub;continue}for(;h!==void 0;)if(u=h.value,h=h.prev,u!==void 0){l=u.nextSub;continue t}break}while(!0)}function a(u,l){let h,f=0,p=!1;t:do{const m=u.dep,d=m.flags;if(l.flags&16)p=!0;else if((d&17)===17){if(t(m)){const g=m.subs;g.nextSub!==void 0&&o(g),p=!0}}else if((d&33)===33){(u.nextSub!==void 0||u.prevSub!==void 0)&&(h={value:u,prev:h}),u=m.deps,l=m,++f;continue}if(!p){const g=u.nextDep;if(g!==void 0){u=g;continue}}for(;f--;){const g=l.subs,y=g.nextSub!==void 0;if(y?(u=h.value,h=h.prev):u=g,p){if(t(l)){y&&o(g),l=u.sub;continue}p=!1}else l.flags&=-33;l=u.sub;const b=u.nextDep;if(b!==void 0){u=b;continue t}}return p}while(!0)}function o(u){do{const l=u.sub,h=l.flags;(h&48)===32&&(l.flags=h|16,(h&6)===2&&e(l))}while((u=u.nextSub)!==void 0)}function c(u,l){let h=l.depsTail;for(;h!==void 0;){if(h===u)return!0;h=h.prevDep}return!1}}function Dr(t,e,s){const n=typeof t=="object",i=n?t:void 0;return{next:(n?t.next:t)?.bind(i),error:(n?t.error:e)?.bind(i),complete:(n?t.complete:s)?.bind(i)}}const Le=[];let qt=0;const{link:Os,unlink:Ar,propagate:jr,checkDirty:bn,shallowPropagate:Is}=Mr({update(t){return t._update()},notify(t){Le[Oe++]=t,t.flags&=~T.Watching},unwatched(t){t.depsTail!==void 0&&(t.depsTail=void 0,t.flags=T.Mutable|T.Dirty,Xt(t))}});let Bt=0,Oe=0,Q,Ie=0;function Br(t){try{++Ie,t()}finally{--Ie||Sn()}}function Xt(t){const e=t.depsTail;let s=e!==void 0?e.nextDep:t.deps;for(;s!==void 0;)s=Ar(s,t)}function Sn(){if(!(Ie>0)){for(;Bt<Oe;){const t=Le[Bt];Le[Bt++]=void 0,t.notify()}Bt=0,Oe=0}}function ks(t,e){const s=typeof t=="function",n=t,i={_snapshot:s?void 0:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?T.None:T.Mutable,get(){return Q!==void 0&&Os(i,Q,qt),i._snapshot},subscribe(r){const a=Dr(r),o={current:!1},c=Ur(()=>{i.get(),o.current?a.next?.(i._snapshot):o.current=!0});return{unsubscribe:()=>{c.stop()}}},_update(r){const a=Q,o=e?.compare??Object.is;if(s)Q=i,++qt,i.depsTail=void 0;else if(r===void 0)return!1;s&&(i.flags=T.Mutable|T.RecursedCheck);try{const c=i._snapshot,u=typeof r=="function"?r(c):r===void 0&&s?n(c):r;return c===void 0||!o(c,u)?(i._snapshot=u,!0):!1}finally{Q=a,s&&(i.flags&=~T.RecursedCheck),Xt(i)}}};return s?(i.flags=T.Mutable|T.Dirty,i.get=function(){const r=i.flags;if(r&T.Dirty||r&T.Pending&&bn(i.deps,i)){if(i._update()){const a=i.subs;a!==void 0&&Is(a)}}else r&T.Pending&&(i.flags=r&~T.Pending);return Q!==void 0&&Os(i,Q,qt),i._snapshot}):i.set=function(r){if(i._update(r)){const a=i.subs;a!==void 0&&(jr(a),Is(a),Sn())}},i}function Ur(t){const e=()=>{const n=Q;Q=s,++qt,s.depsTail=void 0,s.flags=T.Watching|T.RecursedCheck;try{return t()}finally{Q=n,s.flags&=~T.RecursedCheck,Xt(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:T.Watching|T.RecursedCheck,notify(){const n=this.flags;n&T.Dirty||n&T.Pending&&bn(this.deps,this)?e():this.flags=T.Watching},stop(){this.flags=T.None,this.depsTail=void 0,Xt(this)}};return e(),s}var he={exports:{}},fe={};var Es;function Nr(){if(Es)return fe;Es=1;var t=Bn(),e=Un();function s(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var n=typeof Object.is=="function"?Object.is:s,i=e.useSyncExternalStore,r=t.useRef,a=t.useEffect,o=t.useMemo,c=t.useDebugValue;return fe.useSyncExternalStoreWithSelector=function(u,l,h,f,p){var m=r(null);if(m.current===null){var d={hasValue:!1,value:null};m.current=d}else d=m.current;m=o(function(){function y(S){if(!b){if(b=!0,P=S,S=f(S),p!==void 0&&d.hasValue){var v=d.value;if(p(v,S))return _=v}return _=S}if(v=_,n(P,S))return v;var w=f(S);return p!==void 0&&p(v,w)?(P=S,v):(P=S,_=w)}var b=!1,P,_,C=h===void 0?null:h;return[function(){return y(l())},C===null?void 0:function(){return y(C())}]},[l,h,f,p]);var g=i(u,m[0],m[1]);return a(function(){d.hasValue=!0,d.value=g},[g]),c(g),g},fe}var Ts;function Qr(){return Ts||(Ts=1,he.exports=Nr()),he.exports}var Kr=Qr();function qr(t,e){return t===e}function z(t,e,s=qr){const n=x.useCallback(a=>{if(!t)return()=>{};const{unsubscribe:o}=t.subscribe(a);return o},[t]),i=x.useCallback(()=>t?.get(),[t]);return Kr.useSyncExternalStoreWithSelector(n,i,i,e,s)}var Fs={};function wn(t,e){const s=x.useRef();return n=>{const i=t?.select?t.select(n):n;return t?.structuralSharing??e.options.defaultStructuralSharing?s.current=nt(s.current,i):i}}function ct(t){const e=U(),s=x.useContext(t.from?Fr:ne),n=t.from??s,i=e.stores.getMatchStore(n),r=wn(t,e),a=z(i,o=>o?r(o):Fs);if(a!==Fs)return a;(t.shouldThrow??!0)&&De()}function _n(t){return ct({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.loaderData):e.loaderData})}function Pn(t){const{select:e,...s}=t;return ct({...s,select:n=>e?e(n.loaderDeps):n.loaderDeps})}function Rn(t){return ct({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:e=>{const s=t.strict===!1?e.params:e._strictParams;return t.select?t.select(s):s}})}function xn(t){return ct({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.search):e.search})}function Cn(t){const e=U();return x.useCallback(s=>e.navigate({...s,from:s.from??t?.from}),[t?.from,e])}function Ln(t){return ct({...t,select:e=>t.select?t.select(e.context):e.context})}function de(t){const e=x.useRef(t);return G(e.current,t,{ignoreUndefined:!1})||(e.current=t),e.current}function Wr(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Hr(t,e,s){if(t?.external)return $t(t.href,s)?void 0:t.href;if(!Xr(e)&&!(typeof e!="string"||e.indexOf(":")===-1))try{return new URL(e),$t(e,s)?void 0:e}catch{}}function zr(t,e,s,n,i,r){if(r)return!1;if(s?.exact){if(!Wi(t.pathname,e.pathname,n))return!1}else{const a=Gt(t.pathname,n),o=Gt(e.pathname,n);if(!(a.startsWith(o)&&(a.length===o.length||a[o.length]==="/")))return!1}return(s?.includeSearch??!0)&&!G(t.search,e.search,{partial:!s?.exact,ignoreUndefined:!s?.explicitUndefined})?!1:s?.includeHash?i&&t.hash===e.hash:!0}function $r(t,e){const s=U(),n=Ri(e),{activeProps:i,inactiveProps:r,activeOptions:a,to:o,preload:c,preloadDelay:u,preloadIntentProximity:l,hashScrollIntoView:h,replace:f,startTransition:p,resetScroll:m,viewTransition:d,children:g,target:y,disabled:b,style:P,className:_,onClick:C,onBlur:S,onFocus:v,onMouseEnter:w,onMouseLeave:R,onTouchStart:I,ignoreBlocker:L,params:k,search:E,hash:St,state:N,mask:Et,reloadDocument:po,unsafeRelative:mo,from:go,_fromLocation:yo,...qe}=t,We=yn(),Tn=de(t.search),Fn=de(t.params),He=de(a),wt=x.useMemo(()=>t,[s,t.from,t._fromLocation,t.hash,t.to,Tn,Fn,t.state,t.mask,t.unsafeRelative]),Mn=x.useCallback(D=>{const q=s.buildLocation({_fromLocation:D,...wt}),_t=Yr(q.maskedLocation?q.maskedLocation.publicHref:q.publicHref,q.maskedLocation?q.maskedLocation.external:q.external,s.history,b),Je=Hr(_t,o,s.protocolAllowlist);return[_t?.href,Je,zr(D,q,He,s.basepath,We,Je!==void 0)]},[He,b,We,wt,s,o]),[Dn,re,oe]=z(s.stores.location,Mn,Wr),Tt=oe?vt(i,{})??Vr:pe,Ft=oe?pe:vt(r,{})??pe,ze=[_,Tt.className,Ft.className].filter(Boolean).join(" "),$e=(P||Tt.style||Ft.style)&&{...P,...Tt.style,...Ft.style},Ve=x.useRef(!1),Z=t.reloadDocument||re||b?!1:c??s.options.defaultPreload,ae=u??s.options.defaultPreloadDelay??0,ut=x.useCallback(()=>{s.preloadRoute(wt).catch(D=>{console.warn(D),console.warn(Lr)})},[s,wt]),ce=x.useCallback(D=>{if(!D){me(n);return}if(!(D.isIntersecting??Z==="intent")){D.isIntersecting===!1&&me(n);return}if(!ae){ut();return}xt.has(n)||xt.set(n,setTimeout(()=>{xt.delete(n),ut()},ae))},[ut,n,Z,ae]);Pi(n,ce,Z!=="viewport"),x.useEffect(()=>{Ve.current||Z==="render"&&(ut(),Ve.current=!0)},[ut,Z]);const An=D=>{const q=D.currentTarget.getAttribute("target"),_t=y!==void 0?y:q;!b&&!Zr(D)&&!D.defaultPrevented&&(!_t||_t==="_self")&&D.button===0&&(D.preventDefault(),s.navigate({...wt,replace:f,resetScroll:m,hashScrollIntoView:h,startTransition:p,viewTransition:d,ignoreBlocker:L}))};if(re)return{...qe,ref:n,href:re,...g&&{children:g},...y&&{target:y},...b&&{disabled:b},...P&&{style:P},..._&&{className:_},...C&&{onClick:C},...S&&{onBlur:S},...v&&{onFocus:v},...w&&{onMouseEnter:w},...R&&{onMouseLeave:R},...I&&{onTouchStart:I}};const jn=()=>{Z==="intent"&&ut()},Ge=()=>{Z==="intent"&&me(n)};return{...qe,...Tt,...Ft,href:Dn,ref:n,onClick:lt([C,An]),onBlur:lt([S,Ge]),onFocus:lt([v,ce]),onMouseEnter:lt([w,ce]),onMouseLeave:lt([R,Ge]),onTouchStart:lt([I,jn]),disabled:!!b,target:y,...$e&&{style:$e},...ze&&{className:ze},...b&&Gr,...oe&&Jr}}var pe={},Vr={className:"active"},Gr={role:"link","aria-disabled":!0},Jr={"data-status":"active","aria-current":"page"},xt=new WeakMap,me=t=>{clearTimeout(xt.get(t)),xt.delete(t)},lt=t=>e=>{for(const s of t)if(s){if(e.defaultPrevented)return;s(e)}};function Yr(t,e,s,n){if(!n)return e?{href:t,external:!0}:{href:s.createHref(t)||"/",external:!1}}function Xr(t){if(typeof t!="string")return!1;const e=t.charCodeAt(0);return e===47?t.charCodeAt(1)!==47:e===46}var On=x.forwardRef((t,e)=>{const{_asChild:s,...n}=t,{type:i,...r}=$r(n,e),a=typeof n.children=="function"?n.children({isActive:r["data-status"]==="active"}):n.children;if(!s){const{disabled:o,...c}=r;return x.createElement("a",c,a)}return x.createElement(s,r,a)});function Zr(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}var to=class extends gn{constructor(t){super(t),this.useMatch=e=>ct({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>Ln({...e,from:this.id}),this.useSearch=e=>xn({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>Rn({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>Pn({...e,from:this.id}),this.useLoaderData=e=>_n({...e,from:this.id}),this.useNavigate=()=>Cn({from:this.fullPath}),this.Link=Zt.forwardRef((e,s)=>O.jsx(On,{ref:s,from:this.fullPath,...e}))}};function Po(t){return new to(t)}var eo=class extends Or{constructor(t){super(t),this.useMatch=e=>ct({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>Ln({...e,from:this.id}),this.useSearch=e=>xn({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>Rn({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>Pn({...e,from:this.id}),this.useLoaderData=e=>_n({...e,from:this.id}),this.useNavigate=()=>Cn({from:this.fullPath}),this.Link=Zt.forwardRef((e,s)=>O.jsx(On,{ref:s,from:this.fullPath,...e}))}};function Ro(t){return new eo(t)}function so(t){const e=U(),s=`not-found-${z(e.stores.location,n=>n.pathname)}-${z(e.stores.status,n=>n)}`;return O.jsx(Ke,{getResetKey:()=>s,onCatch:(n,i)=>{if(rt(n))t.onCatch?.(n,i);else throw n},errorComponent:({error:n})=>{if(rt(n))return t.fallback?.(n);throw n},children:t.children})}function no(){return O.jsx("p",{children:"Not Found"})}function ft(t){return O.jsx(O.Fragment,{children:t.children})}function In(t,e,s){return e.options.notFoundComponent?O.jsx(e.options.notFoundComponent,{...s}):t.options.defaultNotFoundComponent?O.jsx(t.options.defaultNotFoundComponent,{...s}):O.jsx(no,{})}function ie(t,e){const s=e?.options.pendingComponent??t.options.defaultPendingComponent;return s?O.jsx(s,{}):null}var io=(t,e)=>t[0]===e[0]&&t[1]===e[1],kn=x.memo(function({routeId:e}){const s=U();return O.jsx(ro,{router:s,match:z(s.stores.getMatchStore(e),n=>n)})});function ro({router:t,match:e}){const s=t.routesById[e.routeId],n=ie(t,s),i=s.options.errorComponent??t.options.defaultErrorComponent,r=s.options.onCatch??t.options.defaultOnCatch,a=s.isRoot?s.options.notFoundComponent??t.options.notFoundRoute?.options.component:s.options.notFoundComponent,o=e.ssr===!1||e.ssr==="data-only",c=s.options.wrapInSuspense??n??(s.options.errorComponent?.preload||o)?x.Suspense:ft,u=i?Ke:ft,l=a?so:ft;return O.jsxs(s.isRoot?s.options.shellComponent??ft:ft,{children:[O.jsx(ne.Provider,{value:e.routeId,children:O.jsx(c,{fallback:n,children:O.jsx(u,{getResetKey:()=>e,errorComponent:i,onCatch:(h,f)=>{if(rt(h))throw h.routeId??=e.routeId,h;r?.(h,f)},children:O.jsx(l,{fallback:h=>{if(h.routeId??=e.routeId,h.routeId!==e.routeId)throw h;return x.createElement(a,h)},children:o?O.jsx(Er,{fallback:n,children:O.jsx(Ms,{match:e})}):O.jsx(Ms,{match:e})})})})}),null]})}var Ms=x.memo(function({match:e}){const s=U(),n=e.routeId,i=s.routesById[n],r=x.useMemo(()=>{const o=(i.options.remountDeps??s.options.defaultRemountDeps)?.({routeId:n,loaderDeps:e.loaderDeps,params:e._strictParams,search:e._strictSearch});return o?JSON.stringify(o):void 0},[n,e.loaderDeps,e._strictParams,e._strictSearch,i.options.remountDeps,s.options.defaultRemountDeps]),a=x.useMemo(()=>{const o=i.options.component??s.options.defaultComponent;return o?O.jsx(o,{},r):O.jsx(oo,{})},[r,i.options.component,s.options.defaultComponent]);if(e.status==="pending"){if(s._tx)throw s._tx[5];return ie(s,i)}if(e.status==="notFound")return In(s,i,e.error);if(e.status==="error")throw e.error;return a}),oo=x.memo(function(){const e=U(),s=x.useContext(ne);let n,i,r;{const o=e.stores.getMatchStore(s);[n,i]=z(o,c=>[!!c._notFound,c.error],io),r=z(e.stores.ids,c=>c[c.indexOf(s)+1])}if(n)return In(e,e.routesById[s],i);if(!r)return null;const a=O.jsx(kn,{routeId:r});return s===pt?O.jsx(x.Suspense,{fallback:ie(e),children:a}):a});function En(t,e){const s=t[1];t.length=0,s?.(e)}function ao({t}){const e=U(),s=e._rendered??=[];return e.startTransition=(n,i)=>new Promise((r,a)=>{En(s,!1),s.push(i,r),t(e),x.startTransition(()=>{try{n()}catch(o){s[1]===r&&(s.length=0),a(o)}})}),zs(()=>{const n=e.history.subscribe(e.load);e.updateLatestLocation();const i=e.latestLocation,r=e.buildLocation({to:i.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(W(i.publicHref)!==W(r.publicHref))return e.commitLocation({...r,replace:!0,ignoreBlocker:!0}),n;const a=e.stores.resolvedLocation.get();return a?.href===i.href&&a.state.__TSR_key===i.state.__TSR_key?s.push(e.stores.matches.get(),o=>{o&&e.emit({type:"onRendered",...ee(a,a)})}):e._tx||e.load().catch(console.error),n},[e,e.history]),null}function co(){const t=U(),e=t.routesById[pt],s=ie(t,e),n=t.ssr?ft:x.Suspense,i=O.jsxs(O.Fragment,{children:[O.jsx(ao,{t:x.useState()[1]}),O.jsx(n,{fallback:s,children:O.jsx(uo,{})})]});return t.options.InnerWrap?O.jsx(t.options.InnerWrap,{children:i}):i}function uo(){const t=U(),e=t._rendered,s=z(t.stores.matches,a=>e[0]??a),n=s[0],i=n?.routeId;zs(()=>{e[0]===s&&En(e,!0)},[e,s]);const r=i?O.jsx(kn,{routeId:i}):null;return O.jsx(ne.Provider,{value:i,children:t.options.disableGlobalCatchBoundary?r:O.jsx(Ke,{getResetKey:()=>n,onCatch:void 0,children:r})})}var lo=t=>({createMutableStore:ks,createReadonlyStore:ks,batch:Br}),xo=t=>new ho(t),ho=class extends mr{constructor(t){super(t,lo)}};function fo({router:t,children:e,...s}){Vs(s)&&t.update({...t.options,...s,context:{...t.options.context,...s.context}});const n=O.jsx(vn.Provider,{value:t,children:e});return t.options.Wrap?O.jsx(t.options.Wrap,{children:n}):n}function Co({router:t,...e}){return O.jsx(fo,{router:t,...e,children:O.jsx(co,{})})}function Lo(t){const e=U();return z(e.stores.location,wn(t,e))}export{On as L,oo as O,So as Q,Co as R,Lo as a,Cn as b,Ws as c,xo as d,Ro as e,Po as f,Rn as g,_o as h,bo as i,wo as u};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import{_ as o,y as pt,aa as Rt,ab as Ct,ac as Wt,c as gt,l as E,D as Pt,a1 as Bt,ad as ft,d as X,t as Vt,ae as Ft,p as zt}from"./mermaid.core-Bvxj3RoN.js";import{d as ot}from"./arc-DbpbZvCt.js";import"./index-DztTMDFz.js";import"./react-DZzLHL-l.js";import"./markdown-njUwQKsR.js";var tt=(function(){var e=o(function(k,s,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=s);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],r=[1,14],h=[1,15],c=[1,16],a=[1,19],f=[1,20],g={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(s,d,l,p,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:p.setDirection("LR");break;case 4:p.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:p.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),p.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),p.getCommonDb().setAccDescription(this.$);break;case 15:p.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:p.addTask(u[v],0,""),this.$=u[v];break;case 19:p.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:i,17:r,19:h,20:c,21:17,22:18,23:a,24:f},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:i,17:r,19:h,20:c,21:17,22:18,23:a,24:f},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(s,d){if(d.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=d,l}},"parseError"),parse:o(function(s){var d=this,l=[0],p=[],x=[null],u=[],S=this.table,v="",I=0,R=0,W=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(s,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var U=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=p.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(p=A,A=p.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,C={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>W&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
|
|
2
|
+
`+w.showPosition()+`
|
|
3
|
+
Expecting `+j.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Y="Parse error on line "+(I+1)+": Unexpected "+(_==O?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Y,{text:w.match,token:this.terminals_[_]||_,line:w.yylineno,loc:F,expected:j})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+_);switch(T[0]){case 1:l.push(_),x.push(w.yytext),u.push(w.yylloc),l.push(T[1]),_=null,R=w.yyleng,v=w.yytext,I=w.yylineno,F=w.yylloc;break;case 2:if(B=this.productions_[T[1]][1],C.$=x[x.length-B],C._$={first_line:u[u.length-(B||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(B||1)].first_column,last_column:u[u.length-1].last_column},U&&(C._$.range=[u[u.length-(B||1)].range[0],u[u.length-1].range[1]]),P=this.performAction.apply(C,[v,R,I,H.yy,T[1],x,u].concat(L)),typeof P<"u")return P;B&&(l=l.slice(0,-1*B*2),x=x.slice(0,-1*B),u=u.slice(0,-1*B)),l.push(this.productions_[T[1]][0]),x.push(C.$),u.push(C._$),Z=S[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},m=(function(){var k={EOF:1,parseError:o(function(d,l){if(this.yy.parser)this.yy.parser.parseError(d,l);else throw new Error(d)},"parseError"),setInput:o(function(s,d){return this.yy=d||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var d=s.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var d=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===p.length?this.yylloc.first_column:0)+p[p.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),d=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
5
|
+
`+d+"^"},"showPosition"),test_match:o(function(s,d){var l,p,x;if(this.options.backtrack_lexer&&(x={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(x.yylloc.range=this.yylloc.range.slice(0))),p=s[0].match(/(?:\r\n?|\n).*/g),p&&(this.yylineno+=p.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],l=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var u in x)this[u]=x[u];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,d,l,p;this._more||(this.yytext="",this.match="");for(var x=this._currentRules(),u=0;u<x.length;u++)if(l=this._input.match(this.rules[x[u]]),l&&(!d||l[0].length>d[0].length)){if(d=l,p=u,this.options.backtrack_lexer){if(s=this.test_match(l,x[u]),s!==!1)return s;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(s=this.test_match(d,x[p]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var d=this.next();return d||this.lex()},"lex"),begin:o(function(d){this.conditionStack.push(d)},"begin"),popState:o(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),pushState:o(function(d){this.begin(d)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(d,l,p,x){switch(p){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;case 10:return this.popState(),"acc_title_value";case 11:return this.begin("acc_descr"),17;case 12:return this.popState(),"acc_descr_value";case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}};return k})();g.lexer=m;function y(){this.yy={}}return o(y,"Parser"),y.prototype=g,g.Parser=y,new y})();tt.parser=tt;var Ot=tt,yt={};Vt(yt,{addEvent:()=>Tt,addSection:()=>_t,addTask:()=>Et,addTaskOrg:()=>$t,clear:()=>kt,default:()=>Gt,getCommonDb:()=>xt,getDirection:()=>bt,getSections:()=>wt,getTasks:()=>St,setDirection:()=>vt});var D="",mt=0,nt="LR",rt=[],q=[],K=[],xt=o(()=>Ft,"getCommonDb"),kt=o(function(){rt.length=0,q.length=0,D="",K.length=0,nt="LR",zt()},"clear"),vt=o(function(e){nt=e},"setDirection"),bt=o(function(){return nt},"getDirection"),_t=o(function(e){D=e,rt.push(e)},"addSection"),wt=o(function(){return rt},"getSections"),St=o(function(){let e=ct();const t=100;let n=0;for(;!e&&n<t;)e=ct(),n++;return q.push(...K),q},"getTasks"),Et=o(function(e,t,n){const i={id:mt++,section:D,type:D,task:e,score:t||0,events:n?[n]:[]};K.push(i)},"addTask"),Tt=o(function(e){K.find(n=>n.id===mt-1).events.push(e)},"addEvent"),$t=o(function(e){const t={section:D,type:D,description:e,task:e,classes:[]};q.push(t)},"addTaskOrg"),ct=o(function(){const e=o(function(n){return K[n].processed},"compileTask");let t=!0;for(const[n,i]of K.entries())e(n),t=t&&i.processed;return t},"compileTasks"),Gt={clear:kt,getCommonDb:xt,getDirection:bt,setDirection:vt,addSection:_t,getSections:wt,getTasks:St,addTask:Et,addTaskOrg:$t,addEvent:Tt},Nt=0,J=o(function(e,t){const n=e.append("rect");return n.attr("x",t.x),n.attr("y",t.y),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("width",t.width),n.attr("height",t.height),n.attr("rx",t.rx),n.attr("ry",t.ry),t.class!==void 0&&n.attr("class",t.class),n},"drawRect"),Dt=o(function(e,t){const i=e.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=e.append("g");r.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(f){const g=ot().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",g).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}o(h,"smile");function c(f){const g=ot().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",g).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}o(c,"sad");function a(f){f.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o(a,"ambivalent"),t.score>3?h(r):t.score<3?c(r):a(r),i},"drawFace"),Kt=o(function(e,t){const n=e.append("circle");return n.attr("cx",t.cx),n.attr("cy",t.cy),n.attr("class","actor-"+t.pos),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("r",t.r),n.class!==void 0&&n.attr("class",n.class),t.title!==void 0&&n.append("title").text(t.title),n},"drawCircle"),It=o(function(e,t){const n=t.text.replace(/<br\s*\/?>/gi," "),i=e.append("text");i.attr("x",t.x),i.attr("y",t.y),i.attr("class","legend"),i.style("text-anchor",t.anchor),t.class!==void 0&&i.attr("class",t.class);const r=i.append("tspan");return r.attr("x",t.x+t.textMargin*2),r.text(n),i},"drawText"),Ut=o(function(e,t){function n(r,h,c,a,f){return r+","+h+" "+(r+c)+","+h+" "+(r+c)+","+(h+a-f)+" "+(r+c-f*1.2)+","+(h+a)+" "+r+","+(h+a)}o(n,"genPoints");const i=e.append("polygon");i.attr("points",n(t.x,t.y,50,20,7)),i.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,It(e,t)},"drawLabel"),Xt=o(function(e,t,n){const i=e.append("g"),r=st();r.x=t.x,r.y=t.y,r.fill=t.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+t.num,r.rx=3,r.ry=3,J(i,r),Ht(n)(t.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+t.num},n,t.colour)},"drawSection"),et=-1,Zt=o(function(e,t,n,i){const r=t.x+n.width/2,h=e.append("g");et++,h.append("line").attr("id",i+"-task"+et).attr("x1",r).attr("y1",t.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Dt(h,{cx:r,cy:300+(5-t.score)*30,score:t.score});const a=st();a.x=t.x,a.y=t.y,a.fill=t.fill,a.width=n.width,a.height=n.height,a.class="task task-type-"+t.num,a.rx=3,a.ry=3,J(h,a),Ht(n)(t.task,h,a.x,a.y,a.width,a.height,{class:"task"},n,t.colour)},"drawTask"),jt=o(function(e,t){J(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),qt=o(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),st=o(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),Ht=(function(){function e(r,h,c,a,f,g,m,y){const k=h.append("text").attr("x",c+f/2).attr("y",a+g/2+5).style("font-color",y).style("text-anchor","middle").text(r);i(k,m)}o(e,"byText");function t(r,h,c,a,f,g,m,y,k){const{taskFontSize:s,taskFontFamily:d}=y,l=r.split(/<br\s*\/?>/gi);for(let p=0;p<l.length;p++){const x=p*s-s*(l.length-1)/2,u=h.append("text").attr("x",c+f/2).attr("y",a).attr("fill",k).style("text-anchor","middle").style("font-size",s).style("font-family",d);u.append("tspan").attr("x",c+f/2).attr("dy",x).text(l[p]),u.attr("y",a+g/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(u,m)}}o(t,"byTspan");function n(r,h,c,a,f,g,m,y){const k=h.append("switch"),d=k.append("foreignObject").attr("x",c).attr("y",a).attr("width",f).attr("height",g).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),t(r,k,c,a,f,g,m,y),i(d,m)}o(n,"byFo");function i(r,h){for(const c in h)c in h&&r.attr(c,h[c])}return o(i,"_setTextAttrs"),function(r){return r.textPlacement==="fo"?n:r.textPlacement==="old"?e:t}})(),Jt=o(function(e,t){Nt=0,et=-1,e.append("defs").append("marker").attr("id",t+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function it(e,t){e.each(function(){var n=X(this),i=n.text().split(/(\s+|<br>)/).reverse(),r,h=[],c=1.1,a=n.attr("y"),f=parseFloat(n.attr("dy")),g=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",f+"em");for(let m=0;m<i.length;m++)r=i[i.length-1-m],h.push(r),g.text(h.join(" ").trim()),(g.node().getComputedTextLength()>t||r==="<br>")&&(h.pop(),g.text(h.join(" ").trim()),r==="<br>"?h=[""]:h=[r],g=n.append("tspan").attr("x",0).attr("y",a).attr("dy",c+"em").text(r))})}o(it,"wrap");var Qt=o(function(e,t,n,i,r,h=!1){const{theme:c,look:a}=i,f=c?.includes("redux"),g=i?.themeVariables?.THEME_COLOR_LIMIT??12,m=n%g-1,y=e.append("g");t.section=m,y.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+m));const k=y.append("g"),s=y.append("g"),l=s.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(it,t.width).node().getBBox(),p=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;if(t.height=l.height+p*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,s.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),f&&s.attr("transform",`translate(${t.width/2}, ${h?t.padding/2+3:t.padding})`),te(k,t,m,r,i),a==="neo"&&(y.attr("data-look","neo"),f)){const x=c.includes("dark"),u=e.node()?.ownerSVGElement??e.node(),S=X(u),v=S.attr("id")??"",I=v?`${v}-drop-shadow`:"drop-shadow";if(S.select(`#${I}`).empty()){const R=S.select("defs");(R.empty()?S.append("defs"):R).append("filter").attr("id",I).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity",x?"0.2":"0.06").attr("flood-color",x?"#FFFFFF":"#000000")}}return t},"drawNode"),Yt=o(function(e,t,n){const i=e.append("g"),h=i.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(it,t.width).node().getBBox(),c=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),h.height+c*1.1*.5+t.padding},"getVirtualNodeHeight"),te=o(function(e,t,n,i,r){const{theme:h}=r,c=h?.includes("redux")?0:5,a=5,f=c>0?`M0 ${t.height-a} v${-t.height+2*a} q0,-${c},${c},-${c} h${t.width-2*a} q${c},0,${c},${c} v${t.height-a} H0 Z`:`M0 ${t.height-a} v${-(t.height-a)} h${t.width} v${t.height} H0 Z`;e.append("path").attr("id",i+"-node-"+Nt++).attr("class","node-bkg node-"+t.type).attr("d",f),h?.includes("redux")||e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),M={drawRect:J,drawCircle:Kt,drawSection:Xt,drawText:It,drawLabel:Ut,drawTask:Zt,drawBackgroundRect:jt,getTextObj:qt,getNoteRect:st,initGraphics:Jt,drawNode:Qt,getVirtualNodeHeight:Yt},ee=o(function(e,t,n,i){const r=gt(),{look:h,theme:c,themeVariables:a}=r,{useGradient:f,gradientStart:g,gradientStop:m}=a,y=r.timeline?.leftMargin??50;E.debug("timeline",i.db);const k=r.securityLevel;let s;k==="sandbox"&&(s=X("#i"+t));const l=(k==="sandbox"?X(s.nodes()[0].contentDocument.body):X("body")).select("#"+t);l.append("g");const p=i.db.getTasks(),x=i.db.getCommonDb().getDiagramTitle();E.debug("task",p),M.initGraphics(l,t);const u=i.db.getSections();E.debug("sections",u);let S=0,v=0,I=0,R=0,W=50+y,O=50;R=50;let L=0,w=!0;u.forEach(function(N){const b={number:L,descr:N,section:L,width:150,padding:20,maxHeight:S},_=M.getVirtualNodeHeight(l,b,r);E.debug("sectionHeight before draw",_),S=Math.max(S,_+20)});let H=0,V=0;E.debug("tasks.length",p.length);for(const[N,b]of p.entries()){const _={number:N,descr:b,section:b.section,width:150,padding:20,maxHeight:v},$=M.getVirtualNodeHeight(l,_,r);E.debug("taskHeight before draw",$),v=Math.max(v,$+20),H=Math.max(H,b.events.length);let T=0;for(const P of b.events){const C={descr:P,section:b.section,number:b.section,width:150,padding:20,maxHeight:50};T+=M.getVirtualNodeHeight(l,C,r)}b.events.length>0&&(T+=(b.events.length-1)*10),V=Math.max(V,T)}E.debug("maxSectionHeight before draw",S),E.debug("maxTaskHeight before draw",v),u&&u.length>0?u.forEach(N=>{const b=p.filter(P=>P.section===N),_={number:L,descr:N,section:L,width:200*Math.max(b.length,1)-50,padding:20,maxHeight:S};E.debug("sectionNode",_);const $=l.append("g"),T=M.drawNode($,_,L,r,t);E.debug("sectionNode output",T),$.attr("transform",`translate(${W}, ${R})`),O+=S+50,b.length>0&<(l,b,L,W,O,v,r,H,V,S,!1,t),W+=200*Math.max(b.length,1),O=R,L++}):(w=!1,lt(l,p,L,W,O,v,r,H,V,S,!0,t));const F=l.node().getBBox();if(E.debug("bounds",F),x&&l.append("text").text(x).attr("x",h==="neo"?F.x*2+y:F.width/2-y).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),I=w?S+v+150:v+100,l.append("g").attr("class","lineWrapper").append("line").attr("x1",y).attr("y1",I).attr("x2",F.width+3*y).attr("y2",I).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${t}-arrowhead)`),h==="neo"&&f&&c!=="neutral"){const N=l.select("defs"),_=(N.empty()?l.append("defs"):N).append("linearGradient").attr("id",l.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");_.append("stop").attr("offset","0%").attr("stop-color",g).attr("stop-opacity",1),_.append("stop").attr("offset","100%").attr("stop-color",m).attr("stop-opacity",1)}ft(void 0,l,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),lt=o(function(e,t,n,i,r,h,c,a,f,g,m,y){for(const k of t){const s={descr:k.task,section:n,number:n,width:150,padding:20,maxHeight:h};E.debug("taskNode",s);const d=e.append("g").attr("class","taskWrapper"),p=M.drawNode(d,s,n,c,y).height;if(E.debug("taskHeight after draw",p),d.attr("transform",`translate(${i}, ${r})`),h=Math.max(h,p),k.events){const x=e.append("g").attr("class","lineWrapper");let u=h;r+=100,u=u+ne(e,k.events,n,i,r,c,y),r-=100,x.append("line").attr("x1",i+190/2).attr("y1",r+h).attr("x2",i+190/2).attr("y2",r+h+100+f+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end",`url(#${y}-arrowhead)`).attr("stroke-dasharray","5,5")}i=i+200,m&&!c.timeline?.disableMulticolor&&n++}r=r-10},"drawTasks"),ne=o(function(e,t,n,i,r,h,c){let a=0;const f=r;r=r+100;for(const g of t){const m={descr:g,section:n,number:n,width:150,padding:20,maxHeight:50};E.debug("eventNode",m);const y=e.append("g").attr("class","eventWrapper"),s=M.drawNode(y,m,n,h,c,!0).height;a=a+s,y.attr("transform",`translate(${i}, ${r})`),r=r+10+s}return r=f,a},"drawEvents"),re={setConf:o(()=>{},"setConf"),draw:ee},Q=200,z=5,se=Q+z*2,at=Q+100,ie=at+z*2,Lt=10,ae=0,ht=20,Mt=20,dt=30,At=50,oe=o(function(e,t,n,i){const r=gt(),h=r.timeline?.leftMargin??50;E.debug("timeline",i.db);const c=Pt(t);c.append("g");const a=i.db.getTasks(),f=i.db.getCommonDb().getDiagramTitle();E.debug("task",a),M.initGraphics(c);const g=i.db.getSections();E.debug("sections",g);let m=0,y=0;const k=50+h;let s=50;const d=s,l=k,p=se+Mt,x=ie+At,u=l+p;let S=0;const v=g&&g.length>0,I=v?u:k+p,R=Math.max(50,p+x-z*2);g.forEach(function(N){const b={number:S,descr:N,section:S,width:R,padding:z,maxHeight:m},_=M.getVirtualNodeHeight(c,b,r);E.debug("sectionHeight before draw",_),m=Math.max(m,_)});let W=0;E.debug("tasks.length",a.length);for(const[N,b]of a.entries()){const _={number:N,descr:b,section:b.section,width:Q,padding:z,maxHeight:y},$=M.getVirtualNodeHeight(c,_,r);E.debug("taskHeight before draw",$),y=Math.max(y,$);let T=0;for(const P of b.events){const C={descr:P,section:b.section,number:b.section,width:at,padding:z,maxHeight:50};T+=M.getVirtualNodeHeight(c,C,r)}b.events.length>0&&(T+=(b.events.length-1)*Lt),W=Math.max(W,T)+ae}E.debug("maxSectionHeight before draw",m),E.debug("maxTaskHeight before draw",y);const L=Math.max(y,W)+dt;v?g.forEach(N=>{const b=a.filter(Z=>Z.section===N),_={number:S,descr:N,section:S,width:R,padding:z,maxHeight:m};E.debug("sectionNode",_);const $=c.append("g"),T=M.drawNode($,_,S,r);E.debug("sectionNode output",T);const P=I-p;$.attr("transform",`translate(${P}, ${s})`);const C=s+T.height+ht;b.length>0&&ut(c,b,S,I,C,y,r,L,!1);const G=b.length,B=T.height+ht+L*Math.max(G,1)-(G>0?dt*2:0);s+=B,S++}):ut(c,a,S,I,s,y,r,L,!0);let w=c.node()?.getBBox();if(!w)throw new Error("bbox not found");if(E.debug("bounds",w),f){if(c.append("text").text(f).attr("x",w.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),w=c.node()?.getBBox(),!w)throw new Error("bbox not found");E.debug("bounds after title",w)}const[H]=Bt(r.fontSize),V=(H??16)*2,F=(H??16)*.5+20,U=c.append("g").attr("class","lineWrapper");U.append("line").attr("x1",I).attr("y1",d-V).attr("x2",I).attr("y2",w.y+w.height+F).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),U.lower(),ft(void 0,c,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),ut=o(function(e,t,n,i,r,h,c,a,f){for(const g of t){const m={descr:g.task,section:n,number:n,width:Q,padding:z,maxHeight:h};E.debug("taskNode",m);const y=e.append("g").attr("class","taskWrapper"),k=M.drawNode(y,m,n,c),s=k.height;E.debug("taskHeight after draw",s);const d=i-Mt-k.width;if(y.attr("transform",`translate(${d}, ${r})`),h=Math.max(h,s),g.events&&g.events.length>0){const l=r,p=i+At;ce(e,g.events,n,i,p,l,c)}r=r+a,f&&!c.timeline?.disableMulticolor&&n++}},"drawTasks"),ce=o(function(e,t,n,i,r,h,c){let a=h;for(const f of t){const g={descr:f,section:n,number:n,width:at,padding:z,maxHeight:0};E.debug("eventNode",g);const m=e.append("g").attr("class","eventWrapper"),k=M.drawNode(m,g,n,c).height;m.attr("transform",`translate(${r}, ${a})`);const s=e.append("g").attr("class","lineWrapper"),d=a+k/2;s.append("line").attr("x1",i).attr("y1",d).attr("x2",r).attr("y2",d).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),a=a+k+Lt}return a-h},"drawEvents"),le={setConf:o(()=>{},"setConf"),draw:oe},he=o(e=>{const{theme:t}=pt(),n=t?.includes("dark"),i=t?.includes("color"),r=e.svgId?.replace(/^#/,"")??"",h=r?`url(#${r}-drop-shadow)`:e.dropShadow??"none";let c="";for(let a=0;a<e.THEME_COLOR_LIMIT;a++){const f=`${17-3*a}`,g=i?e.borderColorArray[a]:e.mainBkg,m=i?e.borderColorArray[a]:e.nodeBorder;c+=`
|
|
7
|
+
.section-${a-1} rect,
|
|
8
|
+
.section-${a-1} path,
|
|
9
|
+
.section-${a-1} circle {
|
|
10
|
+
fill: ${n&&i?e.mainBkg:g};
|
|
11
|
+
stroke: ${m};
|
|
12
|
+
stroke-width: ${e.strokeWidth};
|
|
13
|
+
filter: ${h};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.section-${a-1} text {
|
|
17
|
+
fill: ${e.nodeBorder};
|
|
18
|
+
font-weight: ${e.fontWeight}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.node-icon-${a-1} {
|
|
22
|
+
font-size: 40px;
|
|
23
|
+
color: ${e["cScaleLabel"+a]};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.section-edge-${a-1} {
|
|
27
|
+
stroke: ${e["cScale"+a]};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.edge-depth-${a-1} {
|
|
31
|
+
stroke-width: ${f};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.section-${a-1} line {
|
|
35
|
+
stroke: ${e["cScaleInv"+a]};
|
|
36
|
+
stroke-width: 3;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.lineWrapper line {
|
|
40
|
+
stroke: ${e.nodeBorder};
|
|
41
|
+
stroke-width:${e.strokeWidth}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.disabled,
|
|
45
|
+
.disabled circle,
|
|
46
|
+
.disabled text {
|
|
47
|
+
fill: ${e.tertiaryColor??"lightgray"};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.disabled text {
|
|
51
|
+
fill: ${e.clusterBorder??"#efefef"};
|
|
52
|
+
}
|
|
53
|
+
`}return c},"genReduxSections"),de=o(e=>{let t="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],Rt(e["lineColor"+n])?e["lineColor"+n]=Ct(e["lineColor"+n],20):e["lineColor"+n]=Wt(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);t+=`
|
|
54
|
+
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {
|
|
55
|
+
fill: ${e["cScale"+n]};
|
|
56
|
+
}
|
|
57
|
+
.section-${n-1} text {
|
|
58
|
+
fill: ${e["cScaleLabel"+n]};
|
|
59
|
+
}
|
|
60
|
+
.node-icon-${n-1} {
|
|
61
|
+
font-size: 40px;
|
|
62
|
+
color: ${e["cScaleLabel"+n]};
|
|
63
|
+
}
|
|
64
|
+
.section-edge-${n-1}{
|
|
65
|
+
stroke: ${e["cScale"+n]};
|
|
66
|
+
}
|
|
67
|
+
.edge-depth-${n-1}{
|
|
68
|
+
stroke-width: ${i};
|
|
69
|
+
}
|
|
70
|
+
.section-${n-1} line {
|
|
71
|
+
stroke: ${e["cScaleInv"+n]} ;
|
|
72
|
+
stroke-width: 3;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.lineWrapper line{
|
|
76
|
+
stroke: ${e["cScaleLabel"+n]} ;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.disabled, .disabled circle, .disabled text {
|
|
80
|
+
fill: ${e.tertiaryColor??"lightgray"};
|
|
81
|
+
}
|
|
82
|
+
.disabled text {
|
|
83
|
+
fill: ${e.clusterBorder??"#efefef"};
|
|
84
|
+
}
|
|
85
|
+
`}return t},"genSections"),ue=o(e=>{const{theme:t}=pt(),n=t?.includes("redux"),i=t==="neutral",r=e.svgId?.replace(/^#/,"")??"";let h="";if(e.useGradient&&r&&e.THEME_COLOR_LIMIT&&!i)for(let c=0;c<e.THEME_COLOR_LIMIT;c++)h+=`
|
|
86
|
+
.section-${c-1}[data-look="neo"] rect,
|
|
87
|
+
.section-${c-1}[data-look="neo"] path,
|
|
88
|
+
.section-${c-1}[data-look="neo"] circle {
|
|
89
|
+
fill: ${e.mainBkg};
|
|
90
|
+
stroke: url(#${r}-gradient);
|
|
91
|
+
stroke-width: 2;
|
|
92
|
+
}
|
|
93
|
+
.section-${c-1}[data-look="neo"] line {
|
|
94
|
+
stroke: url(#${r}-gradient);
|
|
95
|
+
stroke-width: 2;
|
|
96
|
+
}`;return`
|
|
97
|
+
.edge {
|
|
98
|
+
stroke-width: 3;
|
|
99
|
+
}
|
|
100
|
+
${n?he(e):de(e)}
|
|
101
|
+
${h}
|
|
102
|
+
.section-root rect, .section-root path, .section-root circle {
|
|
103
|
+
fill: ${e.git0};
|
|
104
|
+
}
|
|
105
|
+
.section-root text {
|
|
106
|
+
fill: ${e.gitBranchLabel0};
|
|
107
|
+
}
|
|
108
|
+
.icon-container {
|
|
109
|
+
height:100%;
|
|
110
|
+
display: flex;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
align-items: center;
|
|
113
|
+
}
|
|
114
|
+
.edge {
|
|
115
|
+
fill: none;
|
|
116
|
+
}
|
|
117
|
+
.eventWrapper {
|
|
118
|
+
filter: brightness(120%);
|
|
119
|
+
}
|
|
120
|
+
`},"getStyles"),pe=ue,ge={setConf:o(()=>{},"setConf"),draw:o((e,t,n,i)=>(i?.db?.getDirection?.()??"LR")==="TD"?le.draw(e,t,n,i):re.draw(e,t,n,i),"draw")},ve={db:yt,renderer:ge,parser:Ot,styles:pe};export{ve as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as f}from"./react-DZzLHL-l.js";function c(e){return e.replaceAll("\\","/").replace(/\/+$/,"")}function v(e,t){const n=c(t),r=c(e);if(!n||!r)return null;if(r===n)return"";if(!r.startsWith(`${n}/`))return null;const l=r.slice(n.length+1);return!l||l.split("/").some(s=>s===".."||s===".")?null:l}function F(e){return c(e).split("/").filter(t=>!!t).at(-1)??"This folder"}function A(e){return c(e).split("/").filter(t=>!!t).at(-1)??e}function S(e,t){if(!e)return null;const n=v(e,t);return n===null?null:n||F(t)}function b(e,t,n,r){const l=new Map;for(const i of e){const a=n(i);!a||v(a,t)===null&&!r?.allowOutside||l.set(a,(l.get(a)??0)+1)}const s=[];for(const[i,a]of l){const u=v(i,t)??(r?.allowOutside?A(i):"");s.push({count:a,folder:i,label:u||F(t),relativePath:u})}return s.sort((i,a)=>i.relativePath===""?-1:a.relativePath===""?1:i.relativePath.localeCompare(a.relativePath))}function w(e,t,n){if(!e)return!1;const r=c(e),l=c(t);return n==="subtree"?r===l||r.startsWith(`${l}/`):r===l}function g(e,t,n="exact"){return t===null||t===""?!0:Array.isArray(t)?t.length===0?!0:t.some(r=>g(e,r,n)):w(e,t,n)}function P(e){const{allowOutside:t,getFolder:n,items:r,mode:l="exact",rootFolder:s,selected:i}=e,a=b(r,s,n,{allowOutside:t}),u=(i===null?[]:Array.isArray(i)?i:[i]).filter(h=>r.some(o=>g(n(o),h,l))),m=u.length===0?[...r]:r.filter(h=>g(n(h),u,l));return{choices:a,effectiveSelected:u,total:r.length,visibleItems:m}}function x(e,t){const{allowOutside:n,getFolder:r,mode:l,rootFolder:s}=t,[i,a]=f.useState(()=>{const o=t.initialFolder;return o==null?[]:Array.isArray(o)?o:[o]}),d=f.useCallback(o=>{a(o==null?[]:Array.isArray(o)?o:[o])},[]),u=f.useCallback(o=>{a(p=>p.includes(o)?p.filter(y=>y!==o):[...p,o])},[]),m=f.useCallback(()=>a([]),[]);return{...f.useMemo(()=>P({allowOutside:n,getFolder:r,items:e,mode:l,rootFolder:s,selected:i}),[n,r,e,l,s,i]),selected:i,setSelected:d,toggle:u,reset:m}}export{S as f,x as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as z,i as Ue}from"./react-DZzLHL-l.js";var Ye=Object.defineProperty,ce=(e,t)=>Ye(e,"name",{value:t,configurable:!0});function ae(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}ce(ae,"setRef");function Ce(...e){return t=>{let o=!1;const r=e.map(n=>{const l=ae(n,t);return!o&&typeof l=="function"&&(o=!0),l});if(o)return()=>{for(let n=0;n<r.length;n++){const l=r[n];typeof l=="function"?l():ae(e[n],null)}}}}ce(Ce,"composeRefs");function ze(...e){return z.useCallback(Ce(...e),e)}ce(ze,"useComposedRefs");var qe=Object.defineProperty,A=(e,t)=>qe(e,"name",{value:t,configurable:!0});function Re(e){const t=z.forwardRef((o,r)=>{let{children:n,...l}=o,s=null,p=!1;const c=[];ie(n)&&typeof J=="function"&&(n=J(n._payload)),z.Children.forEach(n,w=>{if(Ie(w)){p=!0;const S=w;let C="child"in S.props?S.props.child:S.props.children;ie(C)&&typeof J=="function"&&(C=J(C._payload)),s=Xe(S,C),c.push(s?.props?.children)}else c.push(w)}),s?s=z.cloneElement(s,void 0,c):!p&&z.Children.count(n)===1&&z.isValidElement(n)&&(s=n);const f=s?Pe(s):void 0,b=ze(r,f);if(!s){if(n||n===0)throw new Error(p?Ke(e):Je(e));return n}const x=Ee(l,s.props??{});return s.type!==z.Fragment&&(x.ref=r?b:f),z.cloneElement(s,x)});return t.displayName=`${e}.Slot`,t}A(Re,"createSlot");var Do=Re("Slot"),Ae=Symbol.for("radix.slottable");function He(e){const t=A(o=>"child"in o?o.children(o.child):o.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Ae,t}A(He,"createSlottable");var Xe=A((e,t)=>{if("child"in e.props){const o=e.props.child;return z.isValidElement(o)?z.cloneElement(o,void 0,e.props.children(o.props.children)):null}return z.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function Ee(e,t){const o={...t};for(const r in t){const n=e[r],l=t[r];/^on[A-Z]/.test(r)?n&&l?o[r]=(...p)=>{const c=l(...p);return n(...p),c}:n&&(o[r]=n):r==="style"?o[r]={...n,...l}:r==="className"&&(o[r]=[n,l].filter(Boolean).join(" "))}return{...e,...o}}A(Ee,"mergeProps");function Pe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}A(Pe,"getElementRef");function Ie(e){return z.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ae}A(Ie,"isSlottable");var Ze=Symbol.for("react.lazy");function ie(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ze&&"_payload"in e&&Me(e._payload)}A(ie,"isLazyComponent");function Me(e){return typeof e=="object"&&e!==null&&"then"in e}A(Me,"isPromiseLike");var Je=A(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Ke=A(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),J=Ue[" use ".trim().toString()];function _e(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=_e(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Qe(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=_e(e))&&(r&&(r+=" "),r+=t);return r}const eo=(e,t)=>{const o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},oo=(e,t)=>({classGroupId:e,validator:t}),Te=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),ee="-",xe=[],to="arbitrary..",ro=e=>{const t=so(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return no(s);const p=s.split(ee),c=p[0]===""&&p.length>1?1:0;return Ge(p,c,t)},getConflictingClassGroupIds:(s,p)=>{if(p){const c=r[s],f=o[s];return c?f?eo(f,c):c:f||xe}return o[s]||xe}}},Ge=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],l=o.nextPart.get(n);if(l){const f=Ge(e,t+1,l);if(f)return f}const s=o.validators;if(s===null)return;const p=t===0?e.join(ee):e.slice(t).join(ee),c=s.length;for(let f=0;f<c;f++){const b=s[f];if(b.validator(p))return b.classGroupId}},no=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?to+r:void 0})(),so=e=>{const{theme:t,classGroups:o}=e;return ao(o,t)},ao=(e,t)=>{const o=Te();for(const r in e){const n=e[r];de(n,o,r,t)}return o},de=(e,t,o,r)=>{const n=e.length;for(let l=0;l<n;l++){const s=e[l];io(s,t,o,r)}},io=(e,t,o,r)=>{if(typeof e=="string"){lo(e,t,o);return}if(typeof e=="function"){co(e,t,o,r);return}mo(e,t,o,r)},lo=(e,t,o)=>{const r=e===""?t:Oe(t,e);r.classGroupId=o},co=(e,t,o,r)=>{if(po(e)){de(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(oo(o,e))},mo=(e,t,o,r)=>{const n=Object.entries(e),l=n.length;for(let s=0;s<l;s++){const[p,c]=n[s];de(c,Oe(t,p),o,r)}},Oe=(e,t)=>{let o=e;const r=t.split(ee),n=r.length;for(let l=0;l<n;l++){const s=r[l];let p=o.nextPart.get(s);p||(p=Te(),o.nextPart.set(s,p)),o=p}return o},po=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,uo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null);const n=(l,s)=>{o[l]=s,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(l){let s=o[l];if(s!==void 0)return s;if((s=r[l])!==void 0)return n(l,s),s},set(l,s){l in o?o[l]=s:n(l,s)}}},le="!",we=":",fo=[],ke=(e,t,o,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:n}),bo=e=>{const{prefix:t,experimentalParseClassName:o}=e;let r=n=>{const l=[];let s=0,p=0,c=0,f;const b=n.length;for(let R=0;R<b;R++){const k=n[R];if(s===0&&p===0){if(k===we){l.push(n.slice(c,R)),c=R+1;continue}if(k==="/"){f=R;continue}}k==="["?s++:k==="]"?s--:k==="("?p++:k===")"&&p--}const x=l.length===0?n:n.slice(c);let w=x,S=!1;x.endsWith(le)?(w=x.slice(0,-1),S=!0):x.startsWith(le)&&(w=x.slice(1),S=!0);const C=f&&f>c?f-c:void 0;return ke(l,S,w,C)};if(t){const n=t+we,l=r;r=s=>s.startsWith(n)?l(s.slice(n.length)):ke(fo,!1,s,void 0,!0)}if(o){const n=r;r=l=>o({className:l,parseClassName:n})}return r},go=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{const r=[];let n=[];for(let l=0;l<o.length;l++){const s=o[l],p=s[0]==="[",c=t.has(s);p||c?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(s)):n.push(s)}return n.length>0&&(n.sort(),r.push(...n)),r}},ho=e=>({cache:uo(e.cacheSize),parseClassName:bo(e),sortModifiers:go(e),...ro(e)}),yo=/\s+/,xo=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:l}=t,s=[],p=e.trim().split(yo);let c="";for(let f=p.length-1;f>=0;f-=1){const b=p[f],{isExternal:x,modifiers:w,hasImportantModifier:S,baseClassName:C,maybePostfixModifierPosition:R}=o(b);if(x){c=b+(c.length>0?" "+c:c);continue}let k=!!R,_=r(k?C.substring(0,R):C);if(!_){if(!k){c=b+(c.length>0?" "+c:c);continue}if(_=r(C),!_){c=b+(c.length>0?" "+c:c);continue}k=!1}const U=w.length===0?"":w.length===1?w[0]:l(w).join(":"),W=S?U+le:U,j=W+_;if(s.indexOf(j)>-1)continue;s.push(j);const L=n(_,k);for(let T=0;T<L.length;++T){const B=L[T];s.push(W+B)}c=b+(c.length>0?" "+c:c)}return c},wo=(...e)=>{let t=0,o,r,n="";for(;t<e.length;)(o=e[t++])&&(r=je(o))&&(n&&(n+=" "),n+=r);return n},je=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=je(e[r]))&&(o&&(o+=" "),o+=t);return o},ko=(e,...t)=>{let o,r,n,l;const s=c=>{const f=t.reduce((b,x)=>x(b),e());return o=ho(f),r=o.cache.get,n=o.cache.set,l=p,p(c)},p=c=>{const f=r(c);if(f)return f;const b=xo(c,o);return n(c,b),b};return l=s,(...c)=>l(wo(...c))},vo=[],g=e=>{const t=o=>o[e]||vo;return t.isThemeGetter=!0,t},Le=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ve=/^\((?:(\w[\w-]*):)?(.+)\)$/i,So=/^\d+\/\d+$/,Co=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ro=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ao=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>So.test(e),u=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),ne=e=>e.endsWith("%")&&u(e.slice(0,-1)),I=e=>Co.test(e),Po=()=>!0,Io=e=>zo.test(e)&&!Ro.test(e),Ne=()=>!1,Mo=e=>Ao.test(e),_o=e=>Eo.test(e),To=e=>!a(e)&&!i(e),Go=e=>F(e,We,Ne),a=e=>Le.test(e),O=e=>F(e,Be,Io),se=e=>F(e,No,u),ve=e=>F(e,Fe,Ne),Oo=e=>F(e,$e,_o),K=e=>F(e,De,Mo),i=e=>Ve.test(e),D=e=>$(e,Be),jo=e=>$(e,Fo),Se=e=>$(e,Fe),Lo=e=>$(e,We),Vo=e=>$(e,$e),Q=e=>$(e,De,!0),F=(e,t,o)=>{const r=Le.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},$=(e,t,o=!1)=>{const r=Ve.exec(e);return r?r[1]?t(r[1]):o:!1},Fe=e=>e==="position"||e==="percentage",$e=e=>e==="image"||e==="url",We=e=>e==="length"||e==="size"||e==="bg-size",Be=e=>e==="length",No=e=>e==="number",Fo=e=>e==="family-name",De=e=>e==="shadow",$o=()=>{const e=g("color"),t=g("font"),o=g("text"),r=g("font-weight"),n=g("tracking"),l=g("leading"),s=g("breakpoint"),p=g("container"),c=g("spacing"),f=g("radius"),b=g("shadow"),x=g("inset-shadow"),w=g("text-shadow"),S=g("drop-shadow"),C=g("blur"),R=g("perspective"),k=g("aspect"),_=g("ease"),U=g("animate"),W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...j(),i,a],T=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],m=()=>[i,a,c],E=()=>[N,"full","auto",...m()],me=()=>[M,"none","subgrid",i,a],pe=()=>["auto",{span:["full",M,i,a]},M,i,a],Y=()=>[M,"auto",i,a],ue=()=>["auto","min","max","fr",i,a],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...m()],G=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],d=()=>[e,i,a],fe=()=>[...j(),Se,ve,{position:[i,a]}],be=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",Lo,Go,{size:[i,a]}],te=()=>[ne,D,O],y=()=>["","none","full",f,i,a],v=()=>["",u,D,O],q=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[u,ne,Se,ve],ye=()=>["","none",C,i,a],H=()=>["none",u,i,a],X=()=>["none",u,i,a],re=()=>[u,i,a],Z=()=>[N,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[I],breakpoint:[I],color:[Po],container:[I],"drop-shadow":[I],ease:["in","out","in-out"],font:[To],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[I],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[I],shadow:[I],spacing:["px",u],text:[I],"text-shadow":[I],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,a,i,k]}],container:["container"],columns:[{columns:[u,a,i,p]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",i,a]}],basis:[{basis:[N,"full","auto",p,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[u,N,"auto","initial","none",a]}],grow:[{grow:["",u,i,a]}],shrink:[{shrink:["",u,i,a]}],order:[{order:[M,"first","last","none",i,a]}],"grid-cols":[{"grid-cols":me()}],"col-start-end":[{col:pe()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":me()}],"row-start-end":[{row:pe()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[p,"screen",...G()]}],"min-w":[{"min-w":[p,"screen","none",...G()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[s]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",o,D,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,i,se]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ne,a]}],"font-family":[{font:[jo,a,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,i,a]}],"line-clamp":[{"line-clamp":[u,"none",i,se]}],leading:[{leading:[l,...m()]}],"list-image":[{"list-image":["none",i,a]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",i,a]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:d()}],"text-color":[{text:d()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[u,"from-font","auto",i,O]}],"text-decoration-color":[{decoration:d()}],"underline-offset":[{"underline-offset":[u,"auto",i,a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i,a]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i,a]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:be()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,i,a],radial:["",i,a],conic:[M,i,a]},Vo,Oo]}],"bg-color":[{bg:d()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:d()}],"gradient-via":[{via:d()}],"gradient-to":[{to:d()}],rounded:[{rounded:y()}],"rounded-s":[{"rounded-s":y()}],"rounded-e":[{"rounded-e":y()}],"rounded-t":[{"rounded-t":y()}],"rounded-r":[{"rounded-r":y()}],"rounded-b":[{"rounded-b":y()}],"rounded-l":[{"rounded-l":y()}],"rounded-ss":[{"rounded-ss":y()}],"rounded-se":[{"rounded-se":y()}],"rounded-ee":[{"rounded-ee":y()}],"rounded-es":[{"rounded-es":y()}],"rounded-tl":[{"rounded-tl":y()}],"rounded-tr":[{"rounded-tr":y()}],"rounded-br":[{"rounded-br":y()}],"rounded-bl":[{"rounded-bl":y()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:d()}],"border-color-x":[{"border-x":d()}],"border-color-y":[{"border-y":d()}],"border-color-s":[{"border-s":d()}],"border-color-e":[{"border-e":d()}],"border-color-t":[{"border-t":d()}],"border-color-r":[{"border-r":d()}],"border-color-b":[{"border-b":d()}],"border-color-l":[{"border-l":d()}],"divide-color":[{divide:d()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[u,i,a]}],"outline-w":[{outline:["",u,D,O]}],"outline-color":[{outline:d()}],shadow:[{shadow:["","none",b,Q,K]}],"shadow-color":[{shadow:d()}],"inset-shadow":[{"inset-shadow":["none",x,Q,K]}],"inset-shadow-color":[{"inset-shadow":d()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:d()}],"ring-offset-w":[{"ring-offset":[u,O]}],"ring-offset-color":[{"ring-offset":d()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":d()}],"text-shadow":[{"text-shadow":["none",w,Q,K]}],"text-shadow-color":[{"text-shadow":d()}],opacity:[{opacity:[u,i,a]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[u]}],"mask-image-linear-from-pos":[{"mask-linear-from":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":d()}],"mask-image-linear-to-color":[{"mask-linear-to":d()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":d()}],"mask-image-t-to-color":[{"mask-t-to":d()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":d()}],"mask-image-r-to-color":[{"mask-r-to":d()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":d()}],"mask-image-b-to-color":[{"mask-b-to":d()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":d()}],"mask-image-l-to-color":[{"mask-l-to":d()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":d()}],"mask-image-x-to-color":[{"mask-x-to":d()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":d()}],"mask-image-y-to-color":[{"mask-y-to":d()}],"mask-image-radial":[{"mask-radial":[i,a]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":d()}],"mask-image-radial-to-color":[{"mask-radial-to":d()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[u]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":d()}],"mask-image-conic-to-color":[{"mask-conic-to":d()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:be()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",i,a]}],filter:[{filter:["","none",i,a]}],blur:[{blur:ye()}],brightness:[{brightness:[u,i,a]}],contrast:[{contrast:[u,i,a]}],"drop-shadow":[{"drop-shadow":["","none",S,Q,K]}],"drop-shadow-color":[{"drop-shadow":d()}],grayscale:[{grayscale:["",u,i,a]}],"hue-rotate":[{"hue-rotate":[u,i,a]}],invert:[{invert:["",u,i,a]}],saturate:[{saturate:[u,i,a]}],sepia:[{sepia:["",u,i,a]}],"backdrop-filter":[{"backdrop-filter":["","none",i,a]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[u,i,a]}],"backdrop-contrast":[{"backdrop-contrast":[u,i,a]}],"backdrop-grayscale":[{"backdrop-grayscale":["",u,i,a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u,i,a]}],"backdrop-invert":[{"backdrop-invert":["",u,i,a]}],"backdrop-opacity":[{"backdrop-opacity":[u,i,a]}],"backdrop-saturate":[{"backdrop-saturate":[u,i,a]}],"backdrop-sepia":[{"backdrop-sepia":["",u,i,a]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",i,a]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[u,"initial",i,a]}],ease:[{ease:["linear","initial",_,i,a]}],delay:[{delay:[u,i,a]}],animate:[{animate:["none",U,i,a]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[R,i,a]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:H()}],"rotate-x":[{"rotate-x":H()}],"rotate-y":[{"rotate-y":H()}],"rotate-z":[{"rotate-z":H()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:re()}],"skew-x":[{"skew-x":re()}],"skew-y":[{"skew-y":re()}],transform:[{transform:[i,a,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Z()}],"translate-x":[{"translate-x":Z()}],"translate-y":[{"translate-y":Z()}],"translate-z":[{"translate-z":Z()}],"translate-none":["translate-none"],accent:[{accent:d()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:d()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i,a]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i,a]}],fill:[{fill:["none",...d()]}],"stroke-w":[{stroke:[u,D,O,se]}],stroke:[{stroke:["none",...d()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Wo=ko($o);function Uo(...e){return Wo(Qe(e))}export{Do as S,Re as a,Qe as b,Uo as c,He as d,ze as u};
|