kennel 0.1.9 → 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 +83 -9
- package/dist/cli/dispatch.js +61 -5
- package/dist/cli/usage.js +9 -5
- 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/main.js +1 -0
- package/dist/mcp/generate.js +3 -3
- package/dist/package/preview.d.ts +9 -0
- package/dist/package/preview.js +82561 -0
- package/dist/site/dev.js +1 -1
- package/dist/site/extension.js +7 -8
- 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/server-plugins.d.ts +54 -0
- package/dist/site/server-plugins.js +10300 -0
- package/dist/site/viewer.d.ts +27 -0
- package/dist/site/viewer.js +272 -125
- 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/enumUtil.js +1 -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 +18 -7
- 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-iGvS8HCJ.js → blockDiagram-677ZJIJ3-C56P3bGu.js} +2 -2
- package/web/assets/button-BJ7z-ZA7.js +1 -0
- package/web/assets/{c4Diagram-LMCZKHZV-B9ueRzOf.js → c4Diagram-LMCZKHZV-Ey1M72zD.js} +2 -2
- 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-Dg02y5Go.js → chunk-2Q5K7J3B-a6isk9VU.js} +1 -1
- package/web/assets/{chunk-32BRIVSS-DHUNfpw6.js → chunk-32BRIVSS-uy4kdSLL.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-B6XJu9sr.js → chunk-5VM5RSS4-oj2sBFd7.js} +1 -1
- package/web/assets/{chunk-EX3LRPZG-DywY4I3l.js → chunk-EX3LRPZG-Bzl1ukAi.js} +3 -3
- package/web/assets/{chunk-JWPE2WC7-C9-XkXDg.js → chunk-JWPE2WC7-sUph7I_t.js} +1 -1
- package/web/assets/{chunk-MOJQB5TN-CXQXOtY9.js → chunk-MOJQB5TN-C0ERSuVK.js} +1 -1
- package/web/assets/{chunk-RYQCIY6F-DJwv9114.js → chunk-RYQCIY6F-Dyw1Hfwp.js} +1 -1
- package/web/assets/{chunk-V7JOEXUC-_b44nhwN.js → chunk-V7JOEXUC-DnSz22rb.js} +1 -1
- package/web/assets/{chunk-VR4S4FIN-B_bGSDri.js → chunk-VR4S4FIN-Bp2SNel7.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-Bf-JPvQi.js → chunk-XXDRQBXY-Dqtar746.js} +1 -1
- 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-t9uGqnJ4.js → cynefin-VYW2F7L2-SjhCWmIV.js} +1 -1
- package/web/assets/cynefinDiagram-TSTJHNR4-Dvqz2594.js +62 -0
- package/web/assets/dagre-VKFMJZFB-Ju2m2qXt.js +4 -0
- package/web/assets/{diagram-FQU43EPY-DtDak7gR.js → diagram-FQU43EPY-DsHKTt0k.js} +2 -2
- package/web/assets/diagram-G47NLZAW-DWHAcLkJ.js +24 -0
- package/web/assets/diagram-NH7WQ7WH-uUMz46ZD.js +24 -0
- package/web/assets/{diagram-OA4YK3LP-fjOdFedY.js → diagram-OA4YK3LP-BRjVzjdp.js} +2 -2
- 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-CHs2HT-U.js → erDiagram-Q63AITRT-D1frgeWf.js} +2 -2
- 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-CxjQgYus.js → flowDiagram-23GEKE2U-BiPPM-FY.js} +5 -5
- 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/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/{ishikawaDiagram-FXEZZL3T-DGCSsJ4r.js → ishikawaDiagram-FXEZZL3T-kPnM5psX.js} +5 -5
- package/web/assets/{journeyDiagram-5HDEW3XC-D9xtvo9Z.js → journeyDiagram-5HDEW3XC-BkoT0-45.js} +2 -2
- package/web/assets/{kanban-definition-HUTT4EX6-BqVdsgmq.js → kanban-definition-HUTT4EX6-xnm_eFoU.js} +9 -9
- package/web/assets/{linear-BopdAHdJ.js → linear-CLZpgLH-.js} +1 -1
- 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/markdown-njUwQKsR.js +327 -0
- package/web/assets/markdown-title-dncAYYiP.js +131 -0
- package/web/assets/{mermaid.core-DWAi8MqL.js → mermaid.core-Bvxj3RoN.js} +11 -11
- package/web/assets/{mindmap-definition-LN4V7U3C-CsV_gb2j.js → mindmap-definition-LN4V7U3C-42Uoox79.js} +2 -2
- package/web/assets/notes-page-DIW6rgJp.js +10 -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-CbUemD3z.js → quadrantDiagram-ABIIQ3AL-BfhVQ7V9.js} +4 -4
- package/web/assets/railroadDiagram-RFXS5EU6-DxKx7XRp.js +1 -0
- package/web/assets/react-DZzLHL-l.js +9 -0
- package/web/assets/{requirementDiagram-TGXJPOKE-Dz35_qtT.js → requirementDiagram-TGXJPOKE-NUzj9fw1.js} +2 -2
- package/web/assets/{sankeyDiagram-HTMAVEWB-biUDOCWc.js → sankeyDiagram-HTMAVEWB-Cy9OMnl-.js} +2 -2
- 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-Bk4X1-E4.js → sequenceDiagram-DBY2YBRQ-CBNE9mzn.js} +2 -2
- 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-Dp6wlW_7.js → timeline-definition-FHXFAJF6-vFDUVPCX.js} +2 -2
- package/web/assets/use-folder-filter-BbTUlXgG.js +1 -0
- package/web/assets/utils-CwHGE3BB.js +1 -0
- package/web/assets/{vennDiagram-L72KCM5P-CjdOdrf1.js → vennDiagram-L72KCM5P-AsnhK2zW.js} +4 -4
- package/web/assets/view-context-D-fh9AbH.js +81 -0
- package/web/assets/viewer-capabilities-CROIaoqh.js +1 -0
- package/web/assets/{wardleyDiagram-EHGQE667-DYl5GkQs.js → wardleyDiagram-EHGQE667-Cj1wFbNV.js} +2 -2
- package/web/assets/x-BUeE--I4.js +1 -0
- package/web/assets/{xychartDiagram-FW5EYKEG-rPJ1RPYD.js → xychartDiagram-FW5EYKEG-Bbvnutsm.js} +2 -2
- package/web/index.html +8 -3
- 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/sources/commands.d.ts +0 -1
- package/dist/sources/commands.js +0 -88
- package/web/assets/abnfDiagram-VRR7QNED-Dizo1F0V.js +0 -1
- package/web/assets/arc-CraBhW5A.js +0 -1
- package/web/assets/architectureDiagram-ZJ3FMSHR-DrcQCjV4.js +0 -36
- package/web/assets/channel-DjVeob-k.js +0 -1
- package/web/assets/classDiagram-OUVF2IWQ-4Od2_pq4.js +0 -1
- package/web/assets/classDiagram-v2-EOCWNBFH-4Od2_pq4.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-Bcssb1jB.js +0 -1
- package/web/assets/cynefinDiagram-TSTJHNR4-D0RvbNfG.js +0 -62
- package/web/assets/dagre-VKFMJZFB-DmmlPxN_.js +0 -4
- package/web/assets/diagram-G47NLZAW-Cn07lZ4L.js +0 -24
- package/web/assets/diagram-NH7WQ7WH-BTD9-weZ.js +0 -24
- package/web/assets/diagram-WEI45ONY-DSBYO7Nc.js +0 -41
- package/web/assets/ebnfDiagram-CCIWWBDH-B8km6QWT.js +0 -1
- package/web/assets/ganttDiagram-NO4QXBWP-CHkGy5_G.js +0 -292
- package/web/assets/gitGraphDiagram-IHSO6WYX-BdtSK3Q5.js +0 -106
- package/web/assets/index-BiSkqJri.css +0 -1
- package/web/assets/index-sG3Cxc28.js +0 -697
- package/web/assets/infoDiagram-FWYZ7A6U-B0feeRLu.js +0 -2
- package/web/assets/pegDiagram-2B236MQR-BmDNuFL1.js +0 -1
- package/web/assets/pieDiagram-ENE6RG2P-CBPZlXZP.js +0 -39
- package/web/assets/railroadDiagram-RFXS5EU6-Cyp4W7Hm.js +0 -1
- package/web/assets/sizeCapture-X5ZJPWSS-CDPSVeoQ.js +0 -1
- package/web/assets/stateDiagram-2N3HPSRC-Cx_G_F7H.js +0 -1
- package/web/assets/stateDiagram-v2-6OUMAXLB-DG9cZ_-X.js +0 -1
- package/web/assets/swimlanes-5IMT3BWC-KfhGp3gJ.js +0 -2
- package/web/assets/swimlanesDiagram-G3AALYLV-Bj6WXCUy.js +0 -8
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/document-DcjNSJCk.js","assets/react-DZzLHL-l.js","assets/markdown-njUwQKsR.js","assets/tanstack-CD46mJkU.js","assets/view-context-D-fh9AbH.js","assets/app-options-XEWvevsz.js","assets/copy-context-Cl1TE2PJ.js","assets/button-BJ7z-ZA7.js","assets/utils-CwHGE3BB.js","assets/copy-Ikmr6Iq2.js","assets/index-eL1k96k8.js","assets/index-DmrKjrlM.js","assets/index-p38i_yyY.js","assets/collection-icon-TbOVyORG.js","assets/calendar-days-DWh2XMO2.js","assets/file-text-CiiSsCDq.js","assets/markdown-title-dncAYYiP.js","assets/app-view-header-BKZ90ToF.js","assets/folder-image-AXBrHUcU.js","assets/popover-Cmmgj-MJ.js","assets/chevron-down-C5oRtqbX.js","assets/viewer-capabilities-CROIaoqh.js","assets/arrow-left-CFeHb-Z1.js","assets/x-BUeE--I4.js","assets/sparkles-CBhGREdc.js","assets/pencil-8cobiSSq.js","assets/app-CPSmsokP.js","assets/link-DC_1Z6Yy.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{j as p,q as b,r as $}from"./react-DZzLHL-l.js";import"./markdown-njUwQKsR.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))c(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const s of n.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&c(s)}).observe(document,{childList:!0,subtree:!0});function o(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerPolicy&&(n.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?n.credentials="include":r.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function c(r){if(r.ep)return;r.ep=!0;const n=o(r);fetch(r.href,n)}})();const L="modulepreload",_=function(e){return"/"+e},g={},P=function(t,o,c){let r=Promise.resolve();if(o&&o.length>0){let y=function(i){return Promise.all(i.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=s?.nonce||s?.getAttribute("nonce");r=y(o.map(i=>{if(i=_(i),i in g)return;g[i]=!0;const d=i.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${f}`))return;const l=document.createElement("link");if(l.rel=d?"stylesheet":L,d||(l.as="script"),l.crossOrigin="",l.href=i,a&&l.setAttribute("nonce",a),document.head.appendChild(l),d)return new Promise((w,E)=>{l.addEventListener("load",w),l.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${i}`)))})}))}function n(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return r.then(s=>{for(const a of s||[])a.status==="rejected"&&n(a.reason);return t().catch(n)})};function R(e){const t=new TextEncoder().encode(e);let o="";for(const c of t)o+=String.fromCharCode(c);return btoa(o).replaceAll("+","-").replaceAll("/","_").replaceAll("=","")}const A={notes:"files",projects:"projects",sessions:"sessions",skills:"skills"};function x(e){const t=`${e}${"=".repeat((4-e.length%4)%4)}`,o=atob(t.replaceAll("-","+").replaceAll("_","/"));return new TextDecoder().decode(Uint8Array.from(o,c=>c.charCodeAt(0)))}function v(e){return/^https?:\/\//.test(e)?new URL(e):e.startsWith("?")?new URL(`/${e}`,"http://127.0.0.1"):new URL(e||"/","http://127.0.0.1")}function h(e){if(e==="files")return"notes";if(e==="projects"||e==="sessions"||e==="skills")return e}function u(e){return R(e)}function m(e){return x(e)}const I=new Set(["calendar","mail","agents","tasks"]);function S(e,t){return`/folder/${u(e)}/${t}`}function k(e,t,o=""){const c=`/folder/${u(e)}/views/${t}`;return o?`${c}/${encodeURIComponent(o)}`:c}function B(e,t){return`/folder/${u(e)}/collections/${u(t)}`}function j(e,t){return`/folder/${u(e)}/document/${u(t)}`}function U(e){const t=v(e),o=t.searchParams.get("session")??void 0,c=t.searchParams.get("folder");if(c)return{document:t.searchParams.get("document")??t.searchParams.get("file")??void 0,embedded:t.searchParams.get("embedded")==="1",folder:c,panel:t.searchParams.get("panel")==="1",section:h(t.searchParams.get("tab"))??"notes",...o?{session:o}:{}};const r=t.pathname.split("/").filter(Boolean);if(r[0]!=="folder"||!r[1])return{document:t.searchParams.get("file")??t.searchParams.get("document")??void 0,embedded:t.searchParams.get("embedded")==="1",folder:void 0,panel:t.searchParams.get("panel")==="1",section:h(t.searchParams.get("tab")),...o?{session:o}:{}};const n=r[2],s={embedded:t.searchParams.get("embedded")==="1",folder:m(r[1]),panel:t.searchParams.get("panel")==="1",...o?{session:o}:{}};return n==="collections"&&r[3]?{...s,collectionId:m(r[3])}:n==="views"&&r[3]&&I.has(r[3])?{...s,view:{pluginId:r[3],...r[4]?{subpath:r[4]}:{}}}:n==="notes"||n==="projects"||n==="sessions"||n==="skills"?{...s,section:n}:n==="document"&&r[3]?{...s,document:m(r[3])}:{...s,section:"notes"}}function H(e){if(e.section)return A[e.section]}function C(e){return!!U(e).document}function V(e){const t=v(e),o=t.searchParams.get("folder");if(!o)return;const c=t.searchParams.get("session"),r=c?`?session=${encodeURIComponent(c)}`:"",n=t.searchParams.get("document");if(n)return`${j(o,n)}${r}`;const s=h(t.searchParams.get("tab"))??"notes";return`${S(o,s)}${r}`}function O(){const e=window.visualViewport;if(!e)return()=>{};const t=()=>{document.documentElement.style.setProperty("--kennel-vh",`${Math.round(e.height)}px`)};return e.addEventListener("resize",t),e.addEventListener("scroll",t),t(),()=>{e.removeEventListener("resize",t),e.removeEventListener("scroll",t)}}O();const T=C(window.location.href)?P(async()=>{const{DocumentPage:e}=await import("./document-DcjNSJCk.js");return{DocumentPage:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25])).then(({DocumentPage:e})=>p.jsx(e,{})):P(async()=>{const{App:e}=await import("./app-CPSmsokP.js").then(t=>t.a);return{App:e}},__vite__mapDeps([26,1,2,3,4,27])).then(({App:e})=>p.jsx(e,{}));T.then(e=>b.createRoot(document.getElementById("root")).render(p.jsx($.StrictMode,{children:e})));export{P as _,u as a,S as b,B as c,k as d,R as e,j as f,m as g,C as i,V as l,U as p,H as r};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{r as a,j as $,c as Le,i as te}from"./react-DZzLHL-l.js";import{a as vt,u as Me}from"./utils-CwHGE3BB.js";var mt=Object.defineProperty,ht=(e,t)=>mt(e,"name",{value:t,configurable:!0}),pt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ye=pt.reduce((e,t)=>{const n=vt(`Primitive.${t}`),r=a.forwardRef((o,i)=>{const{asChild:u,...s}=o,l=u?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),$.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fe(e,t){e&&Le.flushSync(()=>e.dispatchEvent(t))}ht(Fe,"dispatchDiscreteCustomEvent");var bt=Object.defineProperty,D=(e,t)=>bt(e,"name",{value:t,configurable:!0});function yt(e,t){const n=a.createContext(t);n.displayName=e+"Context";const r=D(i=>{const{children:u,...s}=i,l=a.useMemo(()=>s,Object.values(s));return $.jsx(n.Provider,{value:l,children:u})},"Provider");r.displayName=e+"Provider";function o(i,u={}){const{optional:s=!1}=u,l=a.useContext(n);if(l)return l;if(t!==void 0)return t;if(!s)throw new Error(`\`${i}\` must be used within \`${e}\``)}return D(o,"useContext"),[r,o]}D(yt,"createContext");function Et(e,t=[]){let n=[];function r(i,u){const s=a.createContext(u);s.displayName=i+"Context";const l=n.length;n=[...n,u];const p=D(c=>{const{scope:d,children:E,...m}=c,v=d?.[e]?.[l]||s,f=a.useMemo(()=>m,Object.values(m));return $.jsx(v.Provider,{value:f,children:E})},"Provider");p.displayName=i+"Provider";function h(c,d,E={}){const{optional:m=!1}=E,v=d?.[e]?.[l]||s,f=a.useContext(v);if(f)return f;if(u!==void 0)return u;if(!m)throw new Error(`\`${c}\` must be used within \`${i}\``)}return D(h,"useContext"),[p,h]}D(r,"createContext");const o=D(()=>{const i=n.map(u=>a.createContext(u));return D(function(s){const l=s?.[e]||i;return a.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])},"useScope")},"createScope");return o.scopeName=e,[r,ke(o,...t)]}D(Et,"createContextScope");function ke(...e){const t=e[0];if(e.length===1)return t;const n=D(()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return D(function(i){const u=r.reduce((s,{useScope:l,scopeName:p})=>{const c=l(i)[`__scope${p}`];return{...s,...c}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}D(ke,"composeContextScopes");var gt=Object.defineProperty,V=(e,t)=>gt(e,"name",{value:t,configurable:!0}),We=!!(typeof window<"u"&&window.document&&window.document.createElement);function q(e,t,{checkForDefaultPrevented:n=!0}={}){return V(function(o){if(e?.(o),n===!1||!o||!o.defaultPrevented)return t?.(o)},"handleEvent")}V(q,"composeEventHandlers");function St(e){if(!We)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}V(St,"getOwnerWindow");function le(e){if(!We)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}V(le,"getOwnerDocument");function Ue(e,t=!1){const{activeElement:n}=le(e);if(!n?.nodeName)return null;if(je(n)&&n.contentDocument)return Ue(n.contentDocument.body,t);if(t){const r=n.getAttribute("aria-activedescendant");if(r){const o=le(n).getElementById(r);if(o)return o}}return n}V(Ue,"getActiveElement");function je(e){return e.tagName==="IFRAME"}V(je,"isFrame");var j=globalThis?.document?a.useLayoutEffect:()=>{},wt=Object.defineProperty,Ct=(e,t)=>wt(e,"name",{value:t,configurable:!0}),Ce=te[" useEffectEvent ".trim().toString()],Pe=te[" useInsertionEffect ".trim().toString()];function Be(e){if(typeof Ce=="function")return Ce(e);const t=a.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Pe=="function"?Pe(()=>{t.current=e}):j(()=>{t.current=e}),a.useMemo(()=>((...n)=>t.current?.(...n)),[])}Ct(Be,"useEffectEvent");var Pt=Object.defineProperty,H=(e,t)=>Pt(e,"name",{value:t,configurable:!0}),Ot=te[" useInsertionEffect ".trim().toString()]||j;function Rt({prop:e,defaultProp:t,onChange:n=H(()=>{},"onChange"),caller:r}){const[o,i,u]=$e({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:o,p=a.useCallback(h=>{if(s){const c=Ve(h)?h(e):h;c!==e&&u.current?.(c)}else i(h)},[s,e,i,u]);return[l,p]}H(Rt,"useControllableState");function $e({defaultProp:e,onChange:t}){const[n,r]=a.useState(e),o=a.useRef(n),i=a.useRef(t);return Ot(()=>{i.current=t},[t]),a.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}H($e,"useUncontrolledState");function Ve(e){return typeof e=="function"}H(Ve,"isFunction");var Oe=Symbol("RADIX:SYNC_STATE");function Dt(e,t,n,r){const{prop:o,defaultProp:i,onChange:u,caller:s}=t,l=o!==void 0,p=Be(u),h=[{...n,state:i}];r&&h.push(r);const[c,d]=a.useReducer((f,g)=>{if(g.type===Oe)return{...f,state:g.state};const b=e(f,g);return l&&!Object.is(b.state,f.state)&&p(b.state),b},...h),E=c.state,m=a.useRef(E);a.useEffect(()=>{m.current!==E&&(m.current=E,l||p(E))},[E,m,l]);const v=a.useMemo(()=>o!==void 0?{...c,state:o}:c,[c,o]);return a.useEffect(()=>{l&&!Object.is(o,c.state)&&d({type:Oe,state:o})},[o,c.state,l]),[v,d]}H(Dt,"useControllableStateReducer");var Nt=Object.defineProperty,I=(e,t)=>Nt(e,"name",{value:t,configurable:!0});function He(e,t){return a.useReducer((n,r)=>t[n][r]??n,e)}I(He,"useStateMachine");var Mn=I(e=>{const{present:t,children:n}=e,r=Ke(t),o=typeof n=="function"?n({present:r.isPresent}):a.Children.only(n),i=Xe(r.ref,Ye(o));return typeof n=="function"||r.isPresent?a.cloneElement(o,{ref:i}):null},"Presence");function Ke(e){const[t,n]=a.useState(),r=a.useRef(null),o=a.useRef(e),i=a.useRef("none"),u=a.useRef(void 0),s=e?"mounted":"unmounted",[l,p]=He(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{l==="mounted"?(i.current=u.current??W(r.current),u.current=void 0):i.current="none"},[l]),j(()=>{const h=r.current,c=o.current;if(c!==e){const E=i.current,m=W(h);e?(u.current=m,p("MOUNT")):m==="none"||h?.display==="none"?p("UNMOUNT"):p(c&&E!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,p]),j(()=>{if(t){let h;const c=t.ownerDocument.defaultView??window,d=I(m=>{const f=W(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&f&&(p("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",h=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},"handleAnimationEnd"),E=I(m=>{m.target===t&&(i.current=W(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",E),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(h),t.removeEventListener("animationstart",E),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:a.useCallback(h=>{if(h){const c=getComputedStyle(h);r.current=c,u.current=W(c)}else r.current=null;n(h)},[])}}I(Ke,"usePresence");function fe(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}I(fe,"setRef");function Xe(...e){const t=a.useRef(e);return t.current=e,a.useCallback(n=>{const r=t.current;let o=!1;const i=r.map(u=>{const s=fe(u,n);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let u=0;u<i.length;u++){const s=i[u];typeof s=="function"?s():fe(r[u],null)}}},[])}I(Xe,"useStableComposedRefs");function W(e){return e?.animationName||"none"}I(W,"getAnimationName");function Ye(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}I(Ye,"getElementRef");var Tt=Object.defineProperty,At=(e,t)=>Tt(e,"name",{value:t,configurable:!0}),It=te[" useId ".trim().toString()]||(()=>{}),_t=0;function xt(e){const[t,n]=a.useState(It());return j(()=>{e||n(r=>r??String(_t++))},[e]),e||(t?`radix-${t}`:"")}At(xt,"useId");var Lt=Object.defineProperty,Mt=(e,t)=>Lt(e,"name",{value:t,configurable:!0});function B(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>((...n)=>t.current?.(...n)),[])}Mt(B,"useCallbackRef");var Ft=Object.defineProperty,O=(e,t)=>Ft(e,"name",{value:t,configurable:!0}),de="dismissableLayer.update",kt="dismissableLayer.pointerDownOutside",Wt="dismissableLayer.focusOutside",Re,Ge=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Fn=a.forwardRef(O(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:s,onInteractOutside:l,onDismiss:p,...h}=t,c=a.useContext(Ge),[d,E]=a.useState(null),m=d?.ownerDocument??globalThis?.document,[,v]=a.useState({}),f=Me(n,E),g=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=b?g.indexOf(b):-1,w=d?g.indexOf(d):-1,S=c.layersWithOutsidePointerEventsDisabled.size>0,P=w>=y,N=a.useRef(!1),K=ze(C=>{u?.(C),l?.(C),C.defaultPrevented||p?.()},{ownerDocument:m,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:N,dismissableSurfaces:c.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(C=>{if(!(C instanceof Node))return!1;const re=[...c.branches].some(we=>we.contains(C));return P&&!re},[c.branches,P])}),x=Ze(C=>{if(o&&N.current)return;const re=C.target;[...c.branches].some(dt=>dt.contains(re))||(s?.(C),l?.(C),C.defaultPrevented||p?.())},m),X=d?w===g.length-1:!1,_=B(C=>{C.key==="Escape"&&(i?.(C),!C.defaultPrevented&&p&&(C.preventDefault(),p()))});return a.useEffect(()=>{if(X)return m.addEventListener("keydown",_,{capture:!0}),()=>m.removeEventListener("keydown",_,{capture:!0})},[m,X,_]),a.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Re=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),ve(),()=>{r&&(c.layersWithOutsidePointerEventsDisabled.delete(d),c.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=Re))}},[d,m,r,c]),a.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ve())},[d,c]),a.useEffect(()=>{const C=O(()=>v({}),"handleUpdate");return document.addEventListener(de,C),()=>document.removeEventListener(de,C)},[]),$.jsx(ye.div,{...h,ref:f,style:{pointerEvents:S?P?"auto":"none":void 0,...t.style},onFocusCapture:q(t.onFocusCapture,x.onFocusCapture),onBlurCapture:q(t.onBlurCapture,x.onBlurCapture),onPointerDownCapture:q(t.onPointerDownCapture,K.onPointerDownCapture)})},"DismissableLayer"));function Ut(){const e=a.useContext(Ge),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}O(Ut,"useDismissableLayerSurface");var jt=O(()=>!0,"IS_TRUE");function ze(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:i,shouldHandlePointerDownOutside:u=jt}=t,s=B(e),l=a.useRef(!1),p=a.useRef(!1),h=a.useRef(new Map),c=a.useRef(()=>{});return a.useEffect(()=>{function d(){p.current=!1,o.current=!1,h.current.clear()}O(d,"resetOutsideInteraction");function E(){return Array.from(h.current.values()).some(Boolean)}O(E,"isOutsideInteractionIntercepted");function m(y){if(!p.current)return;const w=y.target;w instanceof Node&&[...i].some(P=>P.contains(w))||h.current.set(y.type,!0),y.type==="click"&&window.setTimeout(()=>{p.current&&c.current()},0)}O(m,"handleInteractionCapture");function v(y){p.current&&h.current.set(y.type,!1)}O(v,"handleInteractionBubble");const f=O(y=>{if(y.target&&!l.current){let w=function(){n.removeEventListener("click",c.current);const P=E();d(),P||Ee(kt,s,S,{discrete:!0})};if(O(w,"handleAndDispatchPointerDownOutsideEvent"),!u(y.target)){n.removeEventListener("click",c.current),d(),l.current=!1;return}const S={originalEvent:y};p.current=!0,o.current=r&&y.button===0,h.current.clear(),!r||y.button!==0?w():(n.removeEventListener("click",c.current),c.current=w,n.addEventListener("click",c.current,{once:!0}))}else n.removeEventListener("click",c.current),d();l.current=!1},"handlePointerDown"),g=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const y of g)n.addEventListener(y,m,!0),n.addEventListener(y,v);const b=window.setTimeout(()=>{n.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(b),n.removeEventListener("pointerdown",f),n.removeEventListener("click",c.current);for(const y of g)n.removeEventListener(y,m,!0),n.removeEventListener(y,v)}},[n,s,r,o,i,u]),{onPointerDownCapture:O(()=>l.current=!0,"onPointerDownCapture")}}O(ze,"usePointerDownOutside");function Ze(e,t=globalThis?.document){const n=B(e),r=a.useRef(!1);return a.useEffect(()=>{const o=O(i=>{i.target&&!r.current&&Ee(Wt,n,{originalEvent:i},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:O(()=>r.current=!0,"onFocusCapture"),onBlurCapture:O(()=>r.current=!1,"onBlurCapture")}}O(Ze,"useFocusOutside");function ve(){const e=new CustomEvent(de);document.dispatchEvent(e)}O(ve,"dispatchUpdate");function Ee(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Fe(o,i):o.dispatchEvent(i)}O(Ee,"handleAndDispatchCustomEvent");var Bt=Object.defineProperty,R=(e,t)=>Bt(e,"name",{value:t,configurable:!0}),oe="focusScope.autoFocusOnMount",ae="focusScope.autoFocusOnUnmount",De={bubbles:!1,cancelable:!0},kn=a.forwardRef(R(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:u,...s}=t,[l,p]=a.useState(null),h=B(i),c=B(u),d=a.useRef(null),E=Me(n,p),m=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(o){let f=function(w){if(m.paused||!l)return;const S=w.target;l.contains(S)?d.current=S:A(d.current,{select:!0})},g=function(w){if(m.paused||!l)return;const S=w.relatedTarget;S!==null&&(l.contains(S)||A(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const P of w)P.removedNodes.length>0&&A(l)};R(f,"handleFocusIn"),R(g,"handleFocusOut"),R(b,"handleMutations"),document.addEventListener("focusin",f),document.addEventListener("focusout",g);const y=new MutationObserver(b);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",g),y.disconnect()}}},[o,l,m.paused]),a.useEffect(()=>{if(l){Ne.add(m);const f=document.activeElement;if(!l.contains(f)){const b=new CustomEvent(oe,De);l.addEventListener(oe,h),l.dispatchEvent(b),b.defaultPrevented||(Qe(nt(ge(l)),{select:!0}),document.activeElement===f&&A(l))}return()=>{l.removeEventListener(oe,h),setTimeout(()=>{const b=new CustomEvent(ae,De);l.addEventListener(ae,c),l.dispatchEvent(b),b.defaultPrevented||A(f??document.body,{select:!0}),l.removeEventListener(ae,c),Ne.remove(m)},0)}}},[l,h,c,m]);const v=a.useCallback(f=>{if(!r&&!o||m.paused)return;const g=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,b=document.activeElement;if(g&&b){const y=f.currentTarget,[w,S]=qe(y);w&&S?!f.shiftKey&&b===S?(f.preventDefault(),r&&A(w,{select:!0})):f.shiftKey&&b===w&&(f.preventDefault(),r&&A(S,{select:!0})):b===y&&f.preventDefault()}},[r,o,m.paused]);return $.jsx(ye.div,{tabIndex:-1,...s,ref:E,onKeyDown:v})},"FocusScope"));function Qe(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(A(r,{select:t}),document.activeElement!==n)return}R(Qe,"focusFirst");function qe(e){const t=ge(e),n=me(t,e),r=me(t.reverse(),e);return[n,r]}R(qe,"getTabbableEdges");function ge(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:R(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}R(ge,"getTabbableCandidates");function me(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Je(r,{upTo:t})))return r}R(me,"findVisible");function Je(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}R(Je,"isHidden");function et(e){return e instanceof HTMLInputElement&&"select"in e}R(et,"isSelectableInput");function A(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&et(e)&&t&&e.select()}}R(A,"focus");var Ne=tt();function tt(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=he(e,t),e.unshift(t)},remove(t){e=he(e,t),e[0]?.resume()}}}R(tt,"createFocusScopesStack");function he(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}R(he,"arrayRemove");function nt(e){return e.filter(t=>t.tagName!=="A")}R(nt,"removeLinks");var $t=Object.defineProperty,Vt=(e,t)=>$t(e,"name",{value:t,configurable:!0}),Wn=a.forwardRef(Vt(function(t,n){const{container:r,...o}=t,[i,u]=a.useState(!1);j(()=>u(!0),[]);const s=r||i&&globalThis?.document?.body;return s?Le.createPortal($.jsx(ye.div,{...o,ref:n}),s):null},"Portal")),Ht=Object.defineProperty,Se=(e,t)=>Ht(e,"name",{value:t,configurable:!0}),Y=0,L=null;function Kt(e){return rt(),e.children}Se(Kt,"FocusGuards");function rt(){a.useEffect(()=>{L||(L={start:pe(),end:pe()});const{start:e,end:t}=L;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Y++,()=>{Y===1&&(L?.start.remove(),L?.end.remove(),L=null),Y=Math.max(0,Y-1)}},[])}Se(rt,"useFocusGuards");function pe(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}Se(pe,"createFocusGuard");var T=function(){return T=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},T.apply(this,arguments)};function ot(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Xt(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var J="right-scroll-bar-position",ee="width-before-scroll-bar",Yt="with-scroll-bars-hidden",Gt="--removed-body-scroll-bar-size";function ie(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function zt(e,t){var n=a.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Zt=typeof window<"u"?a.useLayoutEffect:a.useEffect,Te=new WeakMap;function Qt(e,t){var n=zt(null,function(r){return e.forEach(function(o){return ie(o,r)})});return Zt(function(){var r=Te.get(n);if(r){var o=new Set(r),i=new Set(e),u=n.current;o.forEach(function(s){i.has(s)||ie(s,null)}),i.forEach(function(s){o.has(s)||ie(s,u)})}Te.set(n,e)},[e]),n}function qt(e){return e}function Jt(e,t){t===void 0&&(t=qt);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var u=t(i,r);return n.push(u),function(){n=n.filter(function(s){return s!==u})}},assignSyncMedium:function(i){for(r=!0;n.length;){var u=n;n=[],u.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var u=[];if(n.length){var s=n;n=[],s.forEach(i),u=n}var l=function(){var h=u;u=[],h.forEach(i)},p=function(){return Promise.resolve().then(l)};p(),n={push:function(h){u.push(h),p()},filter:function(h){return u=u.filter(h),n}}}};return o}function en(e){e===void 0&&(e={});var t=Jt(null);return t.options=T({async:!0,ssr:!1},e),t}var at=function(e){var t=e.sideCar,n=ot(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,T({},n))};at.isSideCarExport=!0;function tn(e,t){return e.useMedium(t),at}var it=en(),se=function(){},ne=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:se,onWheelCapture:se,onTouchMoveCapture:se}),o=r[0],i=r[1],u=e.forwardProps,s=e.children,l=e.className,p=e.removeScrollBar,h=e.enabled,c=e.shards,d=e.sideCar,E=e.noRelative,m=e.noIsolation,v=e.inert,f=e.allowPinchZoom,g=e.as,b=g===void 0?"div":g,y=e.gapMode,w=ot(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=d,P=Qt([n,t]),N=T(T({},w),o);return a.createElement(a.Fragment,null,h&&a.createElement(S,{sideCar:it,removeScrollBar:p,shards:c,noRelative:E,noIsolation:m,inert:v,setCallbacks:i,allowPinchZoom:!!f,lockRef:n,gapMode:y}),u?a.cloneElement(a.Children.only(s),T(T({},N),{ref:P})):a.createElement(b,T({},N,{className:l,ref:P}),s))});ne.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ne.classNames={fullWidth:ee,zeroRight:J};var nn=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function rn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=nn();return t&&e.setAttribute("nonce",t),e}function on(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function an(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var sn=function(){var e=0,t=null;return{add:function(n){e==0&&(t=rn())&&(on(t,n),an(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},cn=function(){var e=sn();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},st=function(){var e=cn(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},un={left:0,top:0,right:0,gap:0},ce=function(e){return parseInt(e||"",10)||0},ln=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ce(n),ce(r),ce(o)]},fn=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return un;var t=ln(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},dn=st(),U="data-scroll-locked",vn=function(e,t,n,r){var o=e.left,i=e.top,u=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
+
.`.concat(Yt,` {
|
|
3
|
+
overflow: hidden `).concat(r,`;
|
|
4
|
+
padding-right: `).concat(s,"px ").concat(r,`;
|
|
5
|
+
}
|
|
6
|
+
body[`).concat(U,`] {
|
|
7
|
+
overflow: hidden `).concat(r,`;
|
|
8
|
+
overscroll-behavior: contain;
|
|
9
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
10
|
+
padding-left: `.concat(o,`px;
|
|
11
|
+
padding-top: `).concat(i,`px;
|
|
12
|
+
padding-right: `).concat(u,`px;
|
|
13
|
+
margin-left:0;
|
|
14
|
+
margin-top:0;
|
|
15
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
16
|
+
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.`).concat(J,` {
|
|
20
|
+
right: `).concat(s,"px ").concat(r,`;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.`).concat(ee,` {
|
|
24
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.`).concat(J," .").concat(J,` {
|
|
28
|
+
right: 0 `).concat(r,`;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.`).concat(ee," .").concat(ee,` {
|
|
32
|
+
margin-right: 0 `).concat(r,`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body[`).concat(U,`] {
|
|
36
|
+
`).concat(Gt,": ").concat(s,`px;
|
|
37
|
+
}
|
|
38
|
+
`)},Ae=function(){var e=parseInt(document.body.getAttribute(U)||"0",10);return isFinite(e)?e:0},mn=function(){a.useEffect(function(){return document.body.setAttribute(U,(Ae()+1).toString()),function(){var e=Ae()-1;e<=0?document.body.removeAttribute(U):document.body.setAttribute(U,e.toString())}},[])},hn=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;mn();var i=a.useMemo(function(){return fn(o)},[o]);return a.createElement(dn,{styles:vn(i,!t,o,n?"":"!important")})},be=!1;if(typeof window<"u")try{var G=Object.defineProperty({},"passive",{get:function(){return be=!0,!0}});window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch{be=!1}var M=be?{passive:!1}:!1,pn=function(e){return e.tagName==="TEXTAREA"},ct=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!pn(e)&&n[t]==="visible")},bn=function(e){return ct(e,"overflowY")},yn=function(e){return ct(e,"overflowX")},Ie=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=ut(e,r);if(o){var i=lt(e,r),u=i[1],s=i[2];if(u>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},En=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},gn=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ut=function(e,t){return e==="v"?bn(t):yn(t)},lt=function(e,t){return e==="v"?En(t):gn(t)},Sn=function(e,t){return e==="h"&&t==="rtl"?-1:1},wn=function(e,t,n,r,o){var i=Sn(e,window.getComputedStyle(t).direction),u=i*r,s=n.target,l=t.contains(s),p=!1,h=u>0,c=0,d=0;do{if(!s)break;var E=lt(e,s),m=E[0],v=E[1],f=E[2],g=v-f-i*m;(m||g)&&ut(e,s)&&(c+=g,d+=m);var b=s.parentNode;s=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(h&&Math.abs(c)<1||!h&&Math.abs(d)<1)&&(p=!0),p},z=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},_e=function(e){return[e.deltaX,e.deltaY]},xe=function(e){return e&&"current"in e?e.current:e},Cn=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Pn=function(e){return`
|
|
39
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
+
`)},On=0,F=[];function Rn(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(On++)[0],i=a.useState(st)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Xt([e.lockRef.current],(e.shards||[]).map(xe),!0).filter(Boolean);return v.forEach(function(f){return f.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(f){return f.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=a.useCallback(function(v,f){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!u.current.allowPinchZoom;var g=z(v),b=n.current,y="deltaX"in v?v.deltaX:b[0]-g[0],w="deltaY"in v?v.deltaY:b[1]-g[1],S,P=v.target,N=Math.abs(y)>Math.abs(w)?"h":"v";if("touches"in v&&N==="h"&&P.type==="range")return!1;var K=window.getSelection(),x=K&&K.anchorNode,X=x?x===P||x.contains(P):!1;if(X)return!1;var _=Ie(N,P);if(!_)return!0;if(_?S=N:(S=N==="v"?"h":"v",_=Ie(N,P)),!_)return!1;if(!r.current&&"changedTouches"in v&&(y||w)&&(r.current=S),!S)return!0;var C=r.current||S;return wn(C,f,v,C==="h"?y:w)},[]),l=a.useCallback(function(v){var f=v;if(!(!F.length||F[F.length-1]!==i)){var g="deltaY"in f?_e(f):z(f),b=t.current.filter(function(S){return S.name===f.type&&(S.target===f.target||f.target===S.shadowParent)&&Cn(S.delta,g)})[0];if(b&&b.should){f.cancelable&&f.preventDefault();return}if(!b){var y=(u.current.shards||[]).map(xe).filter(Boolean).filter(function(S){return S.contains(f.target)}),w=y.length>0?s(f,y[0]):!u.current.noIsolation;w&&f.cancelable&&f.preventDefault()}}},[]),p=a.useCallback(function(v,f,g,b){var y={name:v,delta:f,target:g,should:b,shadowParent:Dn(g)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(w){return w!==y})},1)},[]),h=a.useCallback(function(v){n.current=z(v),r.current=void 0},[]),c=a.useCallback(function(v){p(v.type,_e(v),v.target,s(v,e.lockRef.current))},[]),d=a.useCallback(function(v){p(v.type,z(v),v.target,s(v,e.lockRef.current))},[]);a.useEffect(function(){return F.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:d}),document.addEventListener("wheel",l,M),document.addEventListener("touchmove",l,M),document.addEventListener("touchstart",h,M),function(){F=F.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,M),document.removeEventListener("touchmove",l,M),document.removeEventListener("touchstart",h,M)}},[]);var E=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:Pn(o)}):null,E?a.createElement(hn,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Dn(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Nn=tn(it,Rn);var Tn=a.forwardRef(function(e,t){return a.createElement(ne,T({},e,{ref:t,sideCar:Nn}))});Tn.classNames=ne.classNames;var An=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},k=new WeakMap,Z=new WeakMap,Q={},ue=0,ft=function(e){return e&&(e.host||ft(e.parentNode))},In=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ft(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},_n=function(e,t,n,r){var o=In(t,Array.isArray(e)?e:[e]);Q[n]||(Q[n]=new WeakMap);var i=Q[n],u=[],s=new Set,l=new Set(o),p=function(c){!c||s.has(c)||(s.add(c),p(c.parentNode))};o.forEach(p);var h=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(d){if(s.has(d))h(d);else try{var E=d.getAttribute(r),m=E!==null&&E!=="false",v=(k.get(d)||0)+1,f=(i.get(d)||0)+1;k.set(d,v),i.set(d,f),u.push(d),v===1&&m&&Z.set(d,!0),f===1&&d.setAttribute(n,"true"),m||d.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",d,g)}})};return h(t),s.clear(),ue++,function(){u.forEach(function(c){var d=k.get(c)-1,E=i.get(c)-1;k.set(c,d),i.set(c,E),d||(Z.has(c)||c.removeAttribute(r),Z.delete(c)),E||c.removeAttribute(n)}),ue--,ue||(k=new WeakMap,k=new WeakMap,Z=new WeakMap,Q={})}},Un=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=An(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),_n(r,o,n,"aria-hidden")):function(){return null}};export{Fn as D,kn as F,ye as P,Tn as R,Mn as a,q as b,Et as c,Wn as d,Ut as e,rt as f,Rt as g,Un as h,xt as i,B as j,Fe as k,j as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as F}from"./view-context-D-fh9AbH.js";import{r as i,j as s}from"./react-DZzLHL-l.js";import{c as w,u as h,P as D,a as R,b as d,d as N,h as k,e as L,R as G,f as H,F as K,D as U,g as V,i as x}from"./index-eL1k96k8.js";import{u as P,a as Y}from"./utils-CwHGE3BB.js";const Z=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ie=F("search",Z);var q=Object.defineProperty,u=(c,o)=>q(c,"name",{value:o,configurable:!0}),m="Dialog",[I,le]=w(m),[z,f]=I(m),ce=u(c=>{const{__scopeDialog:o,children:a,open:n,defaultOpen:r,onOpenChange:t,modal:e=!0}=c,l=i.useRef(null),g=i.useRef(null),[O,v]=V({prop:n,defaultProp:r??!1,onChange:t,caller:m}),[T,b]=i.useState(0),[M,A]=i.useState(0);return s.jsx(z,{scope:o,triggerRef:l,contentRef:g,contentId:x(),titleId:x(),descriptionId:x(),titlePresent:T>0,descriptionPresent:M>0,setTitleCount:b,setDescriptionCount:A,open:O,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(S=>!S),[v]),modal:e,children:a})},"Dialog"),B="DialogTrigger",ue=i.forwardRef(u(function(o,a){const{__scopeDialog:n,...r}=o,t=f(B,n),e=P(a,t.triggerRef);return s.jsx(D.button,{type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.open?t.contentId:void 0,"data-state":C(t.open),...r,ref:e,onClick:d(o.onClick,t.onOpenToggle)})},"DialogTrigger")),j="DialogPortal",[J,y]=I(j,{forceMount:void 0}),ge=u(c=>{const{__scopeDialog:o,forceMount:a,children:n,container:r}=c,t=f(j,o);return s.jsx(J,{scope:o,forceMount:a,children:i.Children.map(n,e=>s.jsx(R,{present:a||t.open,children:s.jsx(N,{asChild:!0,container:r,children:e})}))})},"DialogPortal"),_="DialogOverlay",fe=i.forwardRef(u(function(o,a){const n=y(_,o.__scopeDialog),{forceMount:r=n.forceMount,...t}=o,e=f(_,o.__scopeDialog);return e.modal?s.jsx(R,{present:r||e.open,children:s.jsx(W,{...t,ref:a})}):null},"DialogOverlay")),Q=Y("DialogOverlay.RemoveScroll"),W=i.forwardRef(u(function(o,a){const{__scopeDialog:n,...r}=o,t=f(_,n),e=L(),l=P(a,e);return s.jsx(G,{as:Q,allowPinchZoom:!0,shards:[t.contentRef],children:s.jsx(D.div,{"data-state":C(t.open),...r,ref:l,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),p="DialogContent",de=i.forwardRef(u(function(o,a){const n=y(p,o.__scopeDialog),{forceMount:r=n.forceMount,...t}=o,e=f(p,o.__scopeDialog);return s.jsx(R,{present:r||e.open,children:e.modal?s.jsx(X,{...t,ref:a}):s.jsx($,{...t,ref:a})})},"DialogContent")),X=i.forwardRef(u(function(o,a){const n=f(p,o.__scopeDialog),r=i.useRef(null),t=P(a,n.contentRef,r);return i.useEffect(()=>{const e=r.current;if(e)return k(e)},[]),s.jsx(E,{...o,ref:t,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:d(o.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:d(o.onPointerDownOutside,e=>{const l=e.detail.originalEvent,g=l.button===0&&l.ctrlKey===!0;(l.button===2||g)&&e.preventDefault()}),onFocusOutside:d(o.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),$=i.forwardRef(u(function(o,a){const n=f(p,o.__scopeDialog),r=i.useRef(!1),t=i.useRef(!1);return s.jsx(E,{...o,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{o.onCloseAutoFocus?.(e),e.defaultPrevented||(r.current||n.triggerRef.current?.focus(),e.preventDefault()),r.current=!1,t.current=!1},onInteractOutside:e=>{o.onInteractOutside?.(e),e.defaultPrevented||(r.current=!0,e.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const l=e.target;n.triggerRef.current?.contains(l)&&e.preventDefault(),e.detail.originalEvent.type==="focusin"&&t.current&&e.preventDefault()}})},"DialogContentNonModal")),E=i.forwardRef(u(function(o,a){const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:t,onCloseAutoFocus:e,...l}=o,g=f(p,n);return H(),s.jsx(s.Fragment,{children:s.jsx(K,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:t,onUnmountAutoFocus:e,children:s.jsx(U,{role:"dialog",id:g.contentId,"aria-describedby":g.descriptionPresent?g.descriptionId:void 0,"aria-labelledby":g.titlePresent?g.titleId:void 0,"data-state":C(g.open),...l,ref:a,deferPointerDownOutside:!0,onDismiss:()=>g.onOpenChange(!1)})})})},"DialogContentImpl")),ee="DialogTitle",pe=i.forwardRef(u(function(o,a){const{__scopeDialog:n,...r}=o,t=f(ee,n),{setTitleCount:e}=t;return h(()=>(e(l=>l+1),()=>e(l=>l-1)),[e]),s.jsx(D.h2,{id:t.titleId,...r,ref:a})},"DialogTitle")),oe="DialogDescription",De=i.forwardRef(u(function(o,a){const{__scopeDialog:n,...r}=o,t=f(oe,n),{setDescriptionCount:e}=t;return h(()=>(e(l=>l+1),()=>e(l=>l-1)),[e]),s.jsx(D.p,{id:t.descriptionId,...r,ref:a})},"DialogDescription")),te="DialogClose",Ce=i.forwardRef(u(function(o,a){const{__scopeDialog:n,...r}=o,t=f(te,n);return s.jsx(D.button,{type:"button",...r,ref:a,onClick:d(o.onClick,()=>t.onOpenChange(!1))})},"DialogClose"));function C(c){return c?"open":"closed"}u(C,"getState");export{ce as D,ie as S,pe as a,De as b,de as c,Ce as d,ge as e,fe as f,ue as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as le}from"./view-context-D-fh9AbH.js";import{r as c,j as u,u as fe,o as he,s as ue,f as ge,d as we,e as me,h as Pe,l as xe,g as Ae}from"./react-DZzLHL-l.js";import{u as b,P as E,c as ve,j as ye}from"./index-eL1k96k8.js";import{u as X}from"./utils-CwHGE3BB.js";const be=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Ze=le("folder",be);var Se=Object.defineProperty,Ce=(e,t)=>Se(e,"name",{value:t,configurable:!0});function D(e){const[t,a]=c.useState(void 0);return b(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const n=o[0];let r,f;if("borderBoxSize"in n){const s=n.borderBoxSize,l=Array.isArray(s)?s[0]:s;r=l.inlineSize,f=l.blockSize}else r=e.offsetWidth,f=e.offsetHeight;a({width:r,height:f})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),t}Ce(D,"useSize");var _e=Object.defineProperty,Oe=(e,t)=>_e(e,"name",{value:t,configurable:!0}),Re=c.forwardRef(Oe(function(t,a){const{children:i,width:o=10,height:n=5,...r}=t;return u.jsx(E.svg,{...r,ref:a,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?i:u.jsx("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),$e=Re,ze=Object.defineProperty,g=(e,t)=>ze(e,"name",{value:t,configurable:!0}),L="Popper",[T,Ue]=ve(L),[Ee,Z]=T(L),je=g(e=>{const{__scopePopper:t,children:a}=e,[i,o]=c.useState(null),[n,r]=c.useState(void 0);return u.jsx(Ee,{scope:t,anchor:i,onAnchorChange:o,placementState:n,setPlacementState:r,children:a})},"Popper"),He="PopperAnchor",Ne=c.forwardRef(g(function(t,a){const{__scopePopper:i,virtualRef:o,...n}=t,r=Z(He,i),f=c.useRef(null),s=r.onAnchorChange,l=c.useCallback(p=>{f.current=p,p&&s(p)},[s]),w=X(a,l),d=c.useRef(null);c.useEffect(()=>{if(!o)return;const p=d.current;d.current=o.current,p!==d.current&&s(d.current)});const m=r.placementState&&S(r.placementState),P=m?.[0],h=m?.[1];return o?null:u.jsx(E.div,{"data-radix-popper-side":P,"data-radix-popper-align":h,...n,ref:w})},"PopperAnchor")),U="PopperContent",[We,ke]=T(U),Fe=c.forwardRef(g(function(t,a){const{__scopePopper:i,side:o="bottom",sideOffset:n=0,align:r="center",alignOffset:f=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:w=[],collisionPadding:d=0,sticky:m="partial",hideWhenDetached:P=!1,updatePositionStrategy:h="optimized",onPlaced:p,...C}=t,j=Z(U,i),[_,q]=c.useState(null),G=X(a,q),[O,J]=c.useState(null),H=D(O),K=H?.width??0,N=H?.height??0,Q=o+(r!=="center"?"-"+r:""),ee=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},W=Array.isArray(w)?w:[w],k=W.length>0,A={padding:ee,boundary:W.filter(V),altBoundary:k},{refs:te,floatingStyles:F,placement:R,isPositioned:v,middlewareData:x}=fe({strategy:"fixed",placement:Q,whileElementsMounted:g((...z)=>Ae(...z,{animationFrame:h==="always"}),"whileElementsMounted"),elements:{reference:j.anchor},middleware:[he({mainAxis:n+N,alignmentAxis:f}),l&&ue({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?xe():void 0,...A}),l&&ge({...A}),we({...A,apply:g(({elements:z,rects:Y,availableWidth:se,availableHeight:ce})=>{const{width:de,height:pe}=Y.reference,y=z.floating.style;y.setProperty("--radix-popper-available-width",`${se}px`),y.setProperty("--radix-popper-available-height",`${ce}px`),y.setProperty("--radix-popper-anchor-width",`${de}px`),y.setProperty("--radix-popper-anchor-height",`${pe}px`)},"apply")}),O&&me({element:O,padding:s}),Ye({arrowWidth:K,arrowHeight:N}),P&&Pe({strategy:"referenceHidden",...A,boundary:k?A.boundary:void 0})]}),$=j.setPlacementState;b(()=>($(R),()=>{$(void 0)}),[R,$]);const[I,M]=S(R),B=ye(p);b(()=>{v&&B?.()},[v,B]);const re=x.arrow?.x,oe=x.arrow?.y,ne=x.arrow?.centerOffset!==0,[ae,ie]=c.useState();return b(()=>{_&&ie(window.getComputedStyle(_).zIndex)},[_]),u.jsx("div",{ref:te.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:v?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ae,"--radix-popper-transform-origin":[x.transformOrigin?.x,x.transformOrigin?.y].join(" "),...x.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:u.jsx(We,{scope:i,placedSide:I,placedAlign:M,onArrowChange:J,arrowX:re,arrowY:oe,shouldHideArrow:ne,children:u.jsx(E.div,{"data-side":I,"data-align":M,...C,ref:G,style:{...C.style,animation:v?C.style?.animation:"none"}})})})},"PopperContent")),Ie="PopperArrow",Me={top:"bottom",right:"left",bottom:"top",left:"right"},Be=c.forwardRef(g(function(t,a){const{__scopePopper:i,...o}=t,n=ke(Ie,i),r=Me[n.placedSide];return u.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[r]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsx($e,{...o,ref:a,style:{...o.style,display:"block"}})})},"PopperArrow"));function V(e){return e!==null}g(V,"isNotNull");var Ye=g(e=>({name:"transformOrigin",options:e,fn(t){const{placement:a,rects:i,middlewareData:o}=t,r=o.arrow?.centerOffset!==0,f=r?0:e.arrowWidth,s=r?0:e.arrowHeight,[l,w]=S(a),d={start:"0%",center:"50%",end:"100%"}[w],m=(o.arrow?.x??0)+f/2,P=(o.arrow?.y??0)+s/2;let h="",p="";return l==="bottom"?(h=r?d:`${m}px`,p=`${-s}px`):l==="top"?(h=r?d:`${m}px`,p=`${i.floating.height+s}px`):l==="right"?(h=`${-s}px`,p=r?d:`${P}px`):l==="left"&&(h=`${i.floating.width+s}px`,p=r?d:`${P}px`),{data:{x:h,y:p}}}}),"transformOrigin");function S(e){const[t,a="center"]=e.split("-");return[t,a]}g(S,"getSideAndAlignFromPlacement");var Ve=je,qe=Ne,Ge=Fe,Je=Be;export{qe as A,Ge as C,Ze as F,Ve as R,Je as a,Ue as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as a,l as s,D as n,e as i}from"./mermaid.core-Bvxj3RoN.js";import{p}from"./cynefin-VYW2F7L2-SjhCWmIV.js";import"./index-DztTMDFz.js";import"./react-DZzLHL-l.js";import"./markdown-njUwQKsR.js";var g={parse:a(async r=>{const e=await p("info",r);s.debug(e)},"parse")},v={version:"11.16.0"},d=a(()=>v.version,"getVersion"),m={getVersion:d},c=a((r,e,o)=>{s.debug(`rendering info diagram
|
|
2
|
+
`+r);const t=n(e);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),l={draw:c},y={parser:g,db:m,renderer:l};export{y as diagram};
|
package/web/assets/{ishikawaDiagram-FXEZZL3T-DGCSsJ4r.js → ishikawaDiagram-FXEZZL3T-kPnM5psX.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as o,c as ot,
|
|
1
|
+
import{_ as o,c as ot,a1 as ut,D as dt,al as yt,p as ft,k as pt,n as it,a as gt,b as kt,g as mt,s as wt,o as _t,e as bt}from"./mermaid.core-Bvxj3RoN.js";import"./index-DztTMDFz.js";import"./react-DZzLHL-l.js";import"./markdown-njUwQKsR.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],p=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,p.length=p.length-B,n.length=n.length-B}o(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,K,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var q="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?q="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
|
-
Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":q="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(q,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),p.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=p[p.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),
|
|
3
|
+
Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":q="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(q,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),p.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=p[p.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),K=this.performAction.apply(F,[w,$,I,S.yy,N[1],p,n].concat(C)),typeof K<"u")return K;V&&(i=i.slice(0,-1*V*2),p=p.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),p.push(F.$),n.push(F._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,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 t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=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),i.length-1&&(this.yylineno-=i.length-1);var p=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:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),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
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
5
5
|
`+s+"^"},"showPosition"),test_match:o(function(t,s){var i,c,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),c=t[0].match(/(?:\r\n?|\n).*/g),c&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in p)this[n]=p[n];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,s,i,c;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),n=0;n<p.length;n++)if(i=this._input.match(this.rules[p[n]]),i&&(!s||i[0].length>s[0].length)){if(s=i,c=n,this.options.backtrack_lexer){if(t=this.test_match(i,p[n]),t!==!1)return t;if(this._backtrack){s=!1;continue}else return!1}else if(!this.options.flex)break}return s?(t=this.test_match(s,p[c]),t!==!1?t:!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 s=this.next();return s||this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){var s=this.conditionStack.length-1;return s>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(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},"topState"),pushState:o(function(s){this.begin(s)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(s,i,c,p){switch(c){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return T})();D.lexer=O;function E(){this.yy={}}return o(E,"Parser"),E.prototype=D,D.Parser=E,new E})();J.parser=J;var xt=J,H,vt=(H=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,ft()}getRoot(){return this.root}addNode(h,r){const a=pt.sanitizeText(r,ot());if(!this.root){this.root={text:a,children:[]},this.stack=[{level:0,node:this.root}],it(a);return}this.baseLevel??=h;let l=h-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();const y=this.stack[this.stack.length-1].node,f={text:a,children:[]};y.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return gt()}setAccTitle(h){kt(h)}getAccDescription(){return mt()}setAccDescription(h){wt(h)}getDiagramTitle(){return _t()}setDiagramTitle(h){it(h)}},o(H,"IshikawaDB"),H),St=14,j=250,$t=30,Et=60,At=5,ht=82*Math.PI/180,st=Math.cos(ht),nt=Math.sin(ht),at=o((e,h,r)=>{const a=e.node().getBBox(),l=a.width+h*2,y=a.height+h*2;bt(e,y,l,r),e.attr("viewBox",`${a.x-h} ${a.y-h} ${l} ${y}`)},"applyPaddedViewBox"),It=o((e,h,r,a)=>{const y=a.db.getRoot();if(!y)return;const f=ot(),{look:d,handDrawnSeed:m,themeVariables:u}=f,k=ut(f.fontSize)[0]??St,g=d==="handDrawn",_=y.children??[],x=f.ishikawa?.diagramPadding??20,D=f.ishikawa?.useMaxWidth??!1,O=dt(h),E=O.append("g").attr("class","ishikawa"),T=g?yt.svg(O.node()):void 0,t=T?{roughSvg:T,seed:m??0,lineColor:u?.lineColor??"#333",fillColor:u?.mainBkg??"#fff"}:void 0,s=`ishikawa-arrow-${h}`;g||E.append("defs").append("marker").attr("id",s).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let i=0,c=j;const p=g?void 0:z(E,i,c,i,c,"ishikawa-spine");if(Lt(E,i,c,y.text,k,t),!_.length){g&&z(E,i,c,i,c,"ishikawa-spine",t),at(O,x,D);return}i-=20;const n=_.filter((S,P)=>P%2===0),v=_.filter((S,P)=>P%2===1),w=rt(n),I=rt(v),$=w.total+I.total;let L=j,A=j;if($>0){const S=j*2,P=j*.3;L=Math.max(P,S*(w.total/$)),A=Math.max(P,S*(I.total/$))}const C=k*2;L=Math.max(L,w.max*C),A=Math.max(A,I.max*C),c=Math.max(L,j),p&&p.attr("y1",c).attr("y2",c),E.select(".ishikawa-head-group").attr("transform",`translate(0,${c})`);const b=Math.ceil(_.length/2);for(let S=0;S<b;S++){const P=E.append("g").attr("class","ishikawa-pair");for(const[R,G,
|
|
7
|
-
`)},"wrapText"),
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var s=this.next();return s||this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){var s=this.conditionStack.length-1;return s>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(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},"topState"),pushState:o(function(s){this.begin(s)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(s,i,c,p){switch(c){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return T})();D.lexer=O;function E(){this.yy={}}return o(E,"Parser"),E.prototype=D,D.Parser=E,new E})();J.parser=J;var xt=J,H,vt=(H=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,ft()}getRoot(){return this.root}addNode(h,r){const a=pt.sanitizeText(r,ot());if(!this.root){this.root={text:a,children:[]},this.stack=[{level:0,node:this.root}],it(a);return}this.baseLevel??=h;let l=h-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();const y=this.stack[this.stack.length-1].node,f={text:a,children:[]};y.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return gt()}setAccTitle(h){kt(h)}getAccDescription(){return mt()}setAccDescription(h){wt(h)}getDiagramTitle(){return _t()}setDiagramTitle(h){it(h)}},o(H,"IshikawaDB"),H),St=14,j=250,$t=30,Et=60,At=5,ht=82*Math.PI/180,st=Math.cos(ht),nt=Math.sin(ht),at=o((e,h,r)=>{const a=e.node().getBBox(),l=a.width+h*2,y=a.height+h*2;bt(e,y,l,r),e.attr("viewBox",`${a.x-h} ${a.y-h} ${l} ${y}`)},"applyPaddedViewBox"),It=o((e,h,r,a)=>{const y=a.db.getRoot();if(!y)return;const f=ot(),{look:d,handDrawnSeed:m,themeVariables:u}=f,k=ut(f.fontSize)[0]??St,g=d==="handDrawn",_=y.children??[],x=f.ishikawa?.diagramPadding??20,D=f.ishikawa?.useMaxWidth??!1,O=dt(h),E=O.append("g").attr("class","ishikawa"),T=g?yt.svg(O.node()):void 0,t=T?{roughSvg:T,seed:m??0,lineColor:u?.lineColor??"#333",fillColor:u?.mainBkg??"#fff"}:void 0,s=`ishikawa-arrow-${h}`;g||E.append("defs").append("marker").attr("id",s).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let i=0,c=j;const p=g?void 0:z(E,i,c,i,c,"ishikawa-spine");if(Lt(E,i,c,y.text,k,t),!_.length){g&&z(E,i,c,i,c,"ishikawa-spine",t),at(O,x,D);return}i-=20;const n=_.filter((S,P)=>P%2===0),v=_.filter((S,P)=>P%2===1),w=rt(n),I=rt(v),$=w.total+I.total;let L=j,A=j;if($>0){const S=j*2,P=j*.3;L=Math.max(P,S*(w.total/$)),A=Math.max(P,S*(I.total/$))}const C=k*2;L=Math.max(L,w.max*C),A=Math.max(A,I.max*C),c=Math.max(L,j),p&&p.attr("y1",c).attr("y2",c),E.select(".ishikawa-head-group").attr("transform",`translate(0,${c})`);const b=Math.ceil(_.length/2);for(let S=0;S<b;S++){const P=E.append("g").attr("class","ishikawa-pair");for(const[R,G,Y]of[[_[S*2],-1,L],[_[S*2+1],1,A]])R&&Pt(P,R,i,c,G,Y,k,t);i=P.selectAll("text").nodes().reduce((R,G)=>Math.min(R,G.getBBox().x),1/0)}if(g)z(E,i,c,0,c,"ishikawa-spine",t);else{p.attr("x1",i);const S=`url(#${s})`;E.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",S)}at(O,x,D)},"draw"),rt=o(e=>{const h=o(r=>r.children.reduce((a,l)=>a+1+h(l),0),"countDescendants");return e.reduce((r,a)=>{const l=h(a);return r.total+=l,r.max=Math.max(r.max,l),r},{total:0,max:0})},"sideStats"),Lt=o((e,h,r,a,l,y)=>{const f=Math.max(6,Math.floor(110/(l*.6))),d=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${h},${r})`),m=X(d,ct(a,f),0,0,"ishikawa-head-label","start",l),u=m.node().getBBox(),k=Math.max(60,u.width+6),g=Math.max(40,u.height*2+40),_=`M 0 ${-g/2} L 0 ${g/2} Q ${k*2.4} 0 0 ${-g/2} Z`;if(y){const x=y.roughSvg.path(_,{roughness:1.5,seed:y.seed,fill:y.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:y.lineColor,strokeWidth:2});d.insert(()=>x,":first-child").attr("class","ishikawa-head")}else d.insert("path",":first-child").attr("class","ishikawa-head").attr("d",_);m.attr("transform",`translate(${(k-u.width)/2-u.x+3},${-u.y-u.height/2})`)},"drawHead"),Tt=o((e,h)=>{const r=[],a=[],l=o((y,f,d)=>{const m=h===-1?[...y].reverse():y;for(const u of m){const k=r.length,g=u.children??[];r.push({depth:d,text:ct(u.text,15),parentIndex:f,childCount:g.length}),d%2===0?(a.push(k),g.length&&l(g,k,d+1)):(g.length&&l(g,k,d+1),a.push(k))}},"walk");return l(e,-1,2),{entries:r,yOrder:a}},"flattenTree"),Mt=o((e,h,r,a,l,y,f)=>{const d=e.append("g").attr("class","ishikawa-label-group"),u=X(d,h,r,a+11*l,"ishikawa-label cause","middle",y).node().getBBox();if(f){const k=f.roughSvg.rectangle(u.x-20,u.y-2,u.width+40,u.height+4,{roughness:1.5,seed:f.seed,fill:f.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:f.lineColor,strokeWidth:2});d.insert(()=>k,":first-child").attr("class","ishikawa-label-box")}else d.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",u.x-20).attr("y",u.y-2).attr("width",u.width+40).attr("height",u.height+4)},"drawCauseLabel"),Q=o((e,h,r,a,l,y)=>{const f=Math.sqrt(a*a+l*l);if(f===0)return;const d=a/f,m=l/f,u=6,k=-m*u,g=d*u,_=h,x=r,D=`M ${_} ${x} L ${_-d*u*2+k} ${x-m*u*2+g} L ${_-d*u*2-k} ${x-m*u*2-g} Z`,O=y.roughSvg.path(D,{roughness:1,seed:y.seed,fill:y.lineColor,fillStyle:"solid",stroke:y.lineColor,strokeWidth:1});e.append(()=>O)},"drawArrowMarker"),Pt=o((e,h,r,a,l,y,f,d)=>{const m=h.children??[],u=y*(m.length?1:.2),k=-st*u,g=nt*u*l,_=r+k,x=a+g;if(z(e,r,a,_,x,"ishikawa-branch",d),d&&Q(e,r,a,r-_,a-x,d),Mt(e,h.text,_,x,l,f,d),!m.length)return;const{entries:D,yOrder:O}=Tt(m,l),E=D.length,T=new Array(E);for(const[p,n]of O.entries())T[n]=a+g*((p+1)/(E+1));const t=new Map;t.set(-1,{x0:r,y0:a,x1:_,y1:x,childCount:m.length,childrenDrawn:0});const s=-st,i=nt*l,c=l<0?"ishikawa-label up":"ishikawa-label down";for(const[p,n]of D.entries()){const v=T[p],w=t.get(n.parentIndex),I=e.append("g").attr("class","ishikawa-sub-group");let $=0,L=0,A=0;if(n.depth%2===0){const C=w.y1-w.y0;$=lt(w.x0,w.x1,C?(v-w.y0)/C:.5),L=v,A=$-(n.childCount>0?Et+n.childCount*At:$t),z(I,$,v,A,v,"ishikawa-sub-branch",d),d&&Q(I,$,v,1,0,d),X(I,n.text,A,v,"ishikawa-label align","end",f)}else{const C=w.childrenDrawn++;$=lt(w.x0,w.x1,(w.childCount-C)/(w.childCount+1)),L=w.y0,A=$+s*((v-L)/i),z(I,$,L,A,v,"ishikawa-sub-branch",d),d&&Q(I,$,L,$-A,L-v,d),X(I,n.text,A,v,c,"end",f)}n.childCount>0&&t.set(p,{x0:$,y0:L,x1:A,y1:v,childCount:n.childCount,childrenDrawn:0})}},"drawBranch"),Bt=o(e=>e.split(/<br\s*\/?>|\n/),"splitLines"),ct=o((e,h)=>{if(e.length<=h)return e;const r=[];for(const a of e.split(/\s+/)){const l=r.length-1;l>=0&&r[l].length+1+a.length<=h?r[l]+=" "+a:r.push(a)}return r.join(`
|
|
7
|
+
`)},"wrapText"),X=o((e,h,r,a,l,y,f)=>{const d=Bt(h),m=f*1.05,u=e.append("text").attr("class",l).attr("text-anchor",y).attr("x",r).attr("y",a-(d.length-1)*m/2);for(const[k,g]of d.entries())u.append("tspan").attr("x",r).attr("dy",k===0?0:m).text(g);return u},"drawMultilineText"),lt=o((e,h,r)=>e+(h-e)*r,"lerp"),z=o((e,h,r,a,l,y,f)=>{if(f){const d=f.roughSvg.line(h,r,a,l,{roughness:1.5,seed:f.seed,stroke:f.lineColor,strokeWidth:2});e.append(()=>d).attr("class",y);return}return e.append("line").attr("class",y).attr("x1",h).attr("y1",r).attr("x2",a).attr("y2",l)},"drawLine"),Nt={draw:It},Dt=o(e=>`
|
|
8
8
|
.ishikawa .ishikawa-spine,
|
|
9
9
|
.ishikawa .ishikawa-branch,
|
|
10
10
|
.ishikawa .ishikawa-sub-branch {
|
|
@@ -67,4 +67,4 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":q="Parse error on
|
|
|
67
67
|
.ishikawa .ishikawa-label.down {
|
|
68
68
|
dominant-baseline: hanging;
|
|
69
69
|
}
|
|
70
|
-
`,"getStyles"),Ot=Dt,
|
|
70
|
+
`,"getStyles"),Ot=Dt,Ft={parser:xt,get db(){return new vt},renderer:Nt,styles:Ot};export{Ft as diagram};
|
package/web/assets/{journeyDiagram-5HDEW3XC-D9xtvo9Z.js → journeyDiagram-5HDEW3XC-BkoT0-45.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as gt}from"./chunk-5VM5RSS4-
|
|
1
|
+
import{g as gt}from"./chunk-5VM5RSS4-oj2sBFd7.js";import{a as mt,g as lt,h as xt,d as kt}from"./chunk-32BRIVSS-uy4kdSLL.js";import{_ as s,g as _t,s as vt,a as bt,b as wt,o as Tt,n as St,c as R,d as X,e as $t,p as Mt}from"./mermaid.core-Bvxj3RoN.js";import{d as it}from"./arc-DbpbZvCt.js";import"./index-DztTMDFz.js";import"./react-DZzLHL-l.js";import"./markdown-njUwQKsR.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[A])this.terminals_[N]&&N>yt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?H="Parse error on line "+(C+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,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:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=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 d=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===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -136,4 +136,4 @@ Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on
|
|
|
136
136
|
${t.actor5?`fill: ${t.actor5}`:""};
|
|
137
137
|
}
|
|
138
138
|
${gt()}
|
|
139
|
-
`,"getStyles"),jt=Bt,K=s(function(t,e){return kt(t,e)},"drawRect"),Nt=s(function(t,e){const f=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function u(g){const m=it().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}s(u,"smile");function p(g){const m=it().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}s(p,"sad");function o(g){g.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return s(o,"ambivalent"),e.score>3?u(i):e.score<3?p(i):o(i),f},"drawFace"),ot=s(function(t,e){const a=t.append("circle");return a.attr("cx",e.cx),a.attr("cy",e.cy),a.attr("class","actor-"+e.pos),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("r",e.r),a.class!==void 0&&a.attr("class",a.class),e.title!==void 0&&a.append("title").text(e.title),a},"drawCircle"),ct=s(function(t,e){return xt(t,e)},"drawText"),zt=s(function(t,e){function a(i,u,p,o,g){return i+","+u+" "+(i+p)+","+u+" "+(i+p)+","+(u+o-g)+" "+(i+p-g*1.2)+","+(u+o)+" "+i+","+(u+o)}s(a,"genPoints");const f=t.append("polygon");f.attr("points",a(e.x,e.y,50,20,7)),f.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,ct(t,e)},"drawLabel"),Wt=s(function(t,e,a){const f=t.append("g"),i=lt();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=a.width*e.taskCount+a.diagramMarginX*(e.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,K(f,i),ht(a)(e.text,f,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},a,e.colour)},"drawSection"),Z=-1,Ot=s(function(t,e,a,f){const i=e.x+a.width/2,u=t.append("g");Z++,u.append("line").attr("id",f+"-task"+Z).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Nt(u,{cx:i,cy:300+(5-e.score)*30,score:e.score});const o=lt();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,K(u,o);let g=e.x+14;e.people.forEach(m=>{const x=e.actors[m].color,h={cx:g,cy:e.y,r:7,fill:x,stroke:"#000",title:m,pos:e.actors[m].position};ot(u,h),g+=10}),ht(a)(e.task,u,o.x,o.y,o.width,o.height,{class:"task"},a,e.colour)},"drawTask"),Yt=s(function(t,e){mt(t,e)},"drawBackgroundRect"),ht=(function(){function t(i,u,p,o,g,m,x,h){const r=u.append("text").attr("x",p+g/2).attr("y",o+m/2+5).style("font-color",h).style("text-anchor","middle").text(i);f(r,x)}s(t,"byText");function e(i,u,p,o,g,m,x,h,r){const{taskFontSize:n,taskFontFamily:l}=h,y=i.split(/<br\s*\/?>/gi);for(let d=0;d<y.length;d++){const c=d*n-n*(y.length-1)/2,v=u.append("text").attr("x",p+g/2).attr("y",o).attr("fill",r).style("text-anchor","middle").style("font-size",n).style("font-family",l);v.append("tspan").attr("x",p+g/2).attr("dy",c).text(y[d]),v.attr("y",o+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),f(v,x)}}s(e,"byTspan");function a(i,u,p,o,g,m,x,h){const r=u.append("switch"),l=r.append("foreignObject").attr("x",p).attr("y",o).attr("width",g).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),e(i,r,p,o,g,m,x,h),f(l,x)}s(a,"byFo");function f(i,u){for(const p in u)p in u&&i.attr(p,u[p])}return s(f,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?t:e}})(),qt=s(function(t,e){Z=-1,t.append("defs").append("marker").attr("id",e+"-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"),j={drawRect:K,drawCircle:ot,drawSection:Wt,drawText:ct,drawLabel:zt,drawTask:Ot,drawBackgroundRect:Yt,initGraphics:qt},Ht=s(function(t){Object.keys(t).forEach(function(a){$[a]=t[a]})},"setConf"),E={},W=0;function ut(t){const e=R().journey,a=e.maxLabelWidth;W=0;let f=60;Object.keys(E).forEach(i=>{const u=E[i].color,p={cx:20,cy:f,r:7,fill:u,stroke:"#000",pos:E[i].position};j.drawCircle(t,p);let o=t.append("text").attr("visibility","hidden").text(i);const g=o.node().getBoundingClientRect().width;o.remove();let m=[];if(g<=a)m=[i];else{const x=i.split(" ");let h="";o=t.append("text").attr("visibility","hidden"),x.forEach(r=>{const n=h?`${h} ${r}`:r;if(o.text(n),o.node().getBoundingClientRect().width>a){if(h&&m.push(h),h=r,o.text(r),o.node().getBoundingClientRect().width>a){let y="";for(const d of r)y+=d,o.text(y+"-"),o.node().getBoundingClientRect().width>a&&(m.push(y.slice(0,-1)+"-"),y=d);h=y}}else h=n}),h&&m.push(h),o.remove()}m.forEach((x,h)=>{const r={x:40,y:f+7+h*20,fill:"#666",text:x,textMargin:e.boxTextMargin??5},l=j.drawText(t,r).node().getBoundingClientRect().width;l>W&&l>e.leftMargin-l&&(W=l)}),f+=Math.max(20,m.length*20)})}s(ut,"drawActorLegend");var $=R().journey,P=0,Xt=s(function(t,e,a,f){const i=R(),u=i.journey.titleColor,p=i.journey.titleFontSize,o=i.journey.titleFontFamily,g=i.securityLevel;let m;g==="sandbox"&&(m=X("#i"+e));const x=g==="sandbox"?X(m.nodes()[0].contentDocument.body):X("body");S.init();const h=x.select("#"+e);j.initGraphics(h,e);const r=f.db.getTasks(),n=f.db.getDiagramTitle(),l=f.db.getActors();for(const C in E)delete E[C];let y=0;l.forEach(C=>{E[C]={color:$.actorColours[y%$.actorColours.length],position:y},y++}),ut(h),P=$.leftMargin+W,S.insert(0,0,P,Object.keys(E).length*50),Gt(h,r,0,e);const d=S.getBounds();n&&h.append("text").text(n).attr("x",P).attr("font-size",p).attr("font-weight","bold").attr("y",25).attr("fill",u).attr("font-family",o);const c=d.stopy-d.starty+2*$.diagramMarginY,v=P+d.stopx+2*$.diagramMarginX;$t(h,c,v,$.useMaxWidth),h.append("line").attr("x1",P).attr("y1",$.height*4).attr("x2",v-P-4).attr("y2",$.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+e+"-arrowhead)");const k=n?70:0;h.attr("viewBox",`${d.startx} -25 ${v} ${c+k}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",c+k+25)},"draw"),S={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:s(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:s(function(t,e,a,f){t[e]===void 0?t[e]=a:t[e]=f(a,t[e])},"updateVal"),updateBounds:s(function(t,e,a,f){const i=R().journey,u=this;let p=0;function o(g){return s(function(x){p++;const h=u.sequenceItems.length-p+1;u.updateVal(x,"starty",e-h*i.boxMargin,Math.min),u.updateVal(x,"stopy",f+h*i.boxMargin,Math.max),u.updateVal(S.data,"startx",t-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopx",a+h*i.boxMargin,Math.max),g!=="activation"&&(u.updateVal(x,"startx",t-h*i.boxMargin,Math.min),u.updateVal(x,"stopx",a+h*i.boxMargin,Math.max),u.updateVal(S.data,"starty",e-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopy",f+h*i.boxMargin,Math.max))},"updateItemBounds")}s(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:s(function(t,e,a,f){const i=Math.min(t,a),u=Math.max(t,a),p=Math.min(e,f),o=Math.max(e,f);this.updateVal(S.data,"startx",i,Math.min),this.updateVal(S.data,"starty",p,Math.min),this.updateVal(S.data,"stopx",u,Math.max),this.updateVal(S.data,"stopy",o,Math.max),this.updateBounds(i,p,u,o)},"insert"),bumpVerticalPos:s(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:s(function(){return this.verticalPos},"getVerticalPos"),getBounds:s(function(){return this.data},"getBounds")},G=$.sectionFills,st=$.sectionColours,Gt=s(function(t,e,a,f){const i=R().journey;let u="";const p=i.height*2+i.diagramMarginY,o=a+p;let g=0,m="#CCC",x="black",h=0;for(const[r,n]of e.entries()){if(u!==n.section){m=G[g%G.length],h=g%G.length,x=st[g%st.length];let y=0;const d=n.section;for(let v=r;v<e.length&&e[v].section==d;v++)y=y+1;const c={x:r*i.taskMargin+r*i.width+P,y:50,text:n.section,fill:m,num:h,colour:x,taskCount:y};j.drawSection(t,c,i),u=n.section,g++}const l=n.people.reduce((y,d)=>(E[d]&&(y[d]=E[d]),y),{});n.x=r*i.taskMargin+r*i.width+P,n.y=o,n.width=i.diagramMarginX,n.height=i.diagramMarginY,n.colour=x,n.fill=m,n.num=h,n.actors=l,j.drawTask(t,n,i,f),S.insert(n.x,n.y,n.x+n.width+i.taskMargin,450)}},"drawTasks"),at={setConf:Ht,draw:Xt},
|
|
139
|
+
`,"getStyles"),jt=Bt,K=s(function(t,e){return kt(t,e)},"drawRect"),Nt=s(function(t,e){const f=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function u(g){const m=it().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}s(u,"smile");function p(g){const m=it().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}s(p,"sad");function o(g){g.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return s(o,"ambivalent"),e.score>3?u(i):e.score<3?p(i):o(i),f},"drawFace"),ot=s(function(t,e){const a=t.append("circle");return a.attr("cx",e.cx),a.attr("cy",e.cy),a.attr("class","actor-"+e.pos),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("r",e.r),a.class!==void 0&&a.attr("class",a.class),e.title!==void 0&&a.append("title").text(e.title),a},"drawCircle"),ct=s(function(t,e){return xt(t,e)},"drawText"),zt=s(function(t,e){function a(i,u,p,o,g){return i+","+u+" "+(i+p)+","+u+" "+(i+p)+","+(u+o-g)+" "+(i+p-g*1.2)+","+(u+o)+" "+i+","+(u+o)}s(a,"genPoints");const f=t.append("polygon");f.attr("points",a(e.x,e.y,50,20,7)),f.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,ct(t,e)},"drawLabel"),Wt=s(function(t,e,a){const f=t.append("g"),i=lt();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=a.width*e.taskCount+a.diagramMarginX*(e.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,K(f,i),ht(a)(e.text,f,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},a,e.colour)},"drawSection"),Z=-1,Ot=s(function(t,e,a,f){const i=e.x+a.width/2,u=t.append("g");Z++,u.append("line").attr("id",f+"-task"+Z).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Nt(u,{cx:i,cy:300+(5-e.score)*30,score:e.score});const o=lt();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,K(u,o);let g=e.x+14;e.people.forEach(m=>{const x=e.actors[m].color,h={cx:g,cy:e.y,r:7,fill:x,stroke:"#000",title:m,pos:e.actors[m].position};ot(u,h),g+=10}),ht(a)(e.task,u,o.x,o.y,o.width,o.height,{class:"task"},a,e.colour)},"drawTask"),Yt=s(function(t,e){mt(t,e)},"drawBackgroundRect"),ht=(function(){function t(i,u,p,o,g,m,x,h){const r=u.append("text").attr("x",p+g/2).attr("y",o+m/2+5).style("font-color",h).style("text-anchor","middle").text(i);f(r,x)}s(t,"byText");function e(i,u,p,o,g,m,x,h,r){const{taskFontSize:n,taskFontFamily:l}=h,y=i.split(/<br\s*\/?>/gi);for(let d=0;d<y.length;d++){const c=d*n-n*(y.length-1)/2,v=u.append("text").attr("x",p+g/2).attr("y",o).attr("fill",r).style("text-anchor","middle").style("font-size",n).style("font-family",l);v.append("tspan").attr("x",p+g/2).attr("dy",c).text(y[d]),v.attr("y",o+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),f(v,x)}}s(e,"byTspan");function a(i,u,p,o,g,m,x,h){const r=u.append("switch"),l=r.append("foreignObject").attr("x",p).attr("y",o).attr("width",g).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),e(i,r,p,o,g,m,x,h),f(l,x)}s(a,"byFo");function f(i,u){for(const p in u)p in u&&i.attr(p,u[p])}return s(f,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?t:e}})(),qt=s(function(t,e){Z=-1,t.append("defs").append("marker").attr("id",e+"-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"),j={drawRect:K,drawCircle:ot,drawSection:Wt,drawText:ct,drawLabel:zt,drawTask:Ot,drawBackgroundRect:Yt,initGraphics:qt},Ht=s(function(t){Object.keys(t).forEach(function(a){$[a]=t[a]})},"setConf"),E={},W=0;function ut(t){const e=R().journey,a=e.maxLabelWidth;W=0;let f=60;Object.keys(E).forEach(i=>{const u=E[i].color,p={cx:20,cy:f,r:7,fill:u,stroke:"#000",pos:E[i].position};j.drawCircle(t,p);let o=t.append("text").attr("visibility","hidden").text(i);const g=o.node().getBoundingClientRect().width;o.remove();let m=[];if(g<=a)m=[i];else{const x=i.split(" ");let h="";o=t.append("text").attr("visibility","hidden"),x.forEach(r=>{const n=h?`${h} ${r}`:r;if(o.text(n),o.node().getBoundingClientRect().width>a){if(h&&m.push(h),h=r,o.text(r),o.node().getBoundingClientRect().width>a){let y="";for(const d of r)y+=d,o.text(y+"-"),o.node().getBoundingClientRect().width>a&&(m.push(y.slice(0,-1)+"-"),y=d);h=y}}else h=n}),h&&m.push(h),o.remove()}m.forEach((x,h)=>{const r={x:40,y:f+7+h*20,fill:"#666",text:x,textMargin:e.boxTextMargin??5},l=j.drawText(t,r).node().getBoundingClientRect().width;l>W&&l>e.leftMargin-l&&(W=l)}),f+=Math.max(20,m.length*20)})}s(ut,"drawActorLegend");var $=R().journey,P=0,Xt=s(function(t,e,a,f){const i=R(),u=i.journey.titleColor,p=i.journey.titleFontSize,o=i.journey.titleFontFamily,g=i.securityLevel;let m;g==="sandbox"&&(m=X("#i"+e));const x=g==="sandbox"?X(m.nodes()[0].contentDocument.body):X("body");S.init();const h=x.select("#"+e);j.initGraphics(h,e);const r=f.db.getTasks(),n=f.db.getDiagramTitle(),l=f.db.getActors();for(const C in E)delete E[C];let y=0;l.forEach(C=>{E[C]={color:$.actorColours[y%$.actorColours.length],position:y},y++}),ut(h),P=$.leftMargin+W,S.insert(0,0,P,Object.keys(E).length*50),Gt(h,r,0,e);const d=S.getBounds();n&&h.append("text").text(n).attr("x",P).attr("font-size",p).attr("font-weight","bold").attr("y",25).attr("fill",u).attr("font-family",o);const c=d.stopy-d.starty+2*$.diagramMarginY,v=P+d.stopx+2*$.diagramMarginX;$t(h,c,v,$.useMaxWidth),h.append("line").attr("x1",P).attr("y1",$.height*4).attr("x2",v-P-4).attr("y2",$.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+e+"-arrowhead)");const k=n?70:0;h.attr("viewBox",`${d.startx} -25 ${v} ${c+k}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",c+k+25)},"draw"),S={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:s(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:s(function(t,e,a,f){t[e]===void 0?t[e]=a:t[e]=f(a,t[e])},"updateVal"),updateBounds:s(function(t,e,a,f){const i=R().journey,u=this;let p=0;function o(g){return s(function(x){p++;const h=u.sequenceItems.length-p+1;u.updateVal(x,"starty",e-h*i.boxMargin,Math.min),u.updateVal(x,"stopy",f+h*i.boxMargin,Math.max),u.updateVal(S.data,"startx",t-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopx",a+h*i.boxMargin,Math.max),g!=="activation"&&(u.updateVal(x,"startx",t-h*i.boxMargin,Math.min),u.updateVal(x,"stopx",a+h*i.boxMargin,Math.max),u.updateVal(S.data,"starty",e-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopy",f+h*i.boxMargin,Math.max))},"updateItemBounds")}s(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:s(function(t,e,a,f){const i=Math.min(t,a),u=Math.max(t,a),p=Math.min(e,f),o=Math.max(e,f);this.updateVal(S.data,"startx",i,Math.min),this.updateVal(S.data,"starty",p,Math.min),this.updateVal(S.data,"stopx",u,Math.max),this.updateVal(S.data,"stopy",o,Math.max),this.updateBounds(i,p,u,o)},"insert"),bumpVerticalPos:s(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:s(function(){return this.verticalPos},"getVerticalPos"),getBounds:s(function(){return this.data},"getBounds")},G=$.sectionFills,st=$.sectionColours,Gt=s(function(t,e,a,f){const i=R().journey;let u="";const p=i.height*2+i.diagramMarginY,o=a+p;let g=0,m="#CCC",x="black",h=0;for(const[r,n]of e.entries()){if(u!==n.section){m=G[g%G.length],h=g%G.length,x=st[g%st.length];let y=0;const d=n.section;for(let v=r;v<e.length&&e[v].section==d;v++)y=y+1;const c={x:r*i.taskMargin+r*i.width+P,y:50,text:n.section,fill:m,num:h,colour:x,taskCount:y};j.drawSection(t,c,i),u=n.section,g++}const l=n.people.reduce((y,d)=>(E[d]&&(y[d]=E[d]),y),{});n.x=r*i.taskMargin+r*i.width+P,n.y=o,n.width=i.diagramMarginX,n.height=i.diagramMarginY,n.colour=x,n.fill=m,n.num=h,n.actors=l,j.drawTask(t,n,i,f),S.insert(n.x,n.y,n.x+n.width+i.taskMargin,450)}},"drawTasks"),at={setConf:Ht,draw:Xt},ee={parser:Et,db:nt,renderer:at,styles:jt,init:s(t=>{at.setConf(t.journey),nt.clear()},"init")};export{ee as diagram};
|
package/web/assets/{kanban-definition-HUTT4EX6-BqVdsgmq.js → kanban-definition-HUTT4EX6-xnm_eFoU.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{_ as o,l as te,c as H,D as fe,
|
|
2
|
-
`+
|
|
3
|
-
Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":
|
|
1
|
+
import{_ as o,l as te,c as H,D as fe,af as ye,ag as me,ah as be,ad as _e,B as Y,i as F,Y as ke,Z as Ee,aa as Se,ab as ce,ac as le}from"./mermaid.core-Bvxj3RoN.js";import{g as Ne}from"./chunk-5VM5RSS4-oj2sBFd7.js";import"./index-DztTMDFz.js";import"./react-DZzLHL-l.js";import"./markdown-njUwQKsR.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],_=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],k=[6,7,11],G=[1,31],N=[6,7,11,24],B=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],M=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,U){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:G}),e(k,[2,22]),e(k,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},e(B,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:G}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:M}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(B,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:M}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],U=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);m.setInput(i,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Z=m.yylloc;t.push(Z);var de=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||m.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var E,P,x,q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ae()),x=U[P]&&U[P][E]),typeof x>"u"||!x.length||!x[0]){var Q="";X=[];for(z in U[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(W+1)+`:
|
|
2
|
+
`+m.showPosition()+`
|
|
3
|
+
Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Q="Parse error on line "+(W+1)+": Unexpected "+(E==re?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(Q,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:Z,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(x[0]){case 1:r.push(E),u.push(m.yytext),t.push(m.yylloc),r.push(x[1]),E=null,se=m.yyleng,c=m.yytext,W=m.yylineno,Z=m.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),q=this.performAction.apply(j,[c,se,W,R.yy,x[1],u,t].concat(ge)),typeof q<"u")return q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=U[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},K=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=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),r.length-1&&(this.yylineno-=r.length-1);var u=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),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
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
5
5
|
`+n+"^"},"showPosition"),test_match:o(function(i,n){var r,a,u;if(this.options.backtrack_lexer&&(u={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&&(u.yylloc.range=this.yylloc.range.slice(0))),a=i[0].match(/(?:\r\n?|\n).*/g),a&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],r=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var t in u)this[t]=u[t];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,n,r,a;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),t=0;t<u.length;t++)if(r=this._input.match(this.rules[u[t]]),r&&(!n||r[0].length>n[0].length)){if(n=r,a=t,this.options.backtrack_lexer){if(i=this.test_match(r,u[t]),i!==!1)return i;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(i=this.test_match(n,u[a]),i!==!1?i:!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 n=this.next();return n||this.lex()},"lex"),begin:o(function(n){this.conditionStack.push(n)},"begin"),popState:o(function(){var n=this.conditionStack.length-1;return n>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(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},"topState"),pushState:o(function(n){this.begin(n)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(n,r,a,u){switch(a){case 0:return this.pushState("shapeData"),r.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const t=/\n\s*/g;return r.yytext=r.yytext.replace(t,"<br/>"),24;case 4:return 24;case 5:this.popState();break;case 6:return n.getLogger().trace("Found comment",r.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:n.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return n.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:n.getLogger().trace("end icon"),this.popState();break;case 16:return n.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return n.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return n.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return n.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:n.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return n.getLogger().trace("description:",r.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),n.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),n.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),n.getLogger().trace("node end ...",r.yytext),"NODE_DEND";case 36:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 41:return n.getLogger().trace("Long description:",r.yytext),21;case 42:return n.getLogger().trace("Long description:",r.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return O})();T.lexer=
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var n=this.next();return n||this.lex()},"lex"),begin:o(function(n){this.conditionStack.push(n)},"begin"),popState:o(function(){var n=this.conditionStack.length-1;return n>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(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},"topState"),pushState:o(function(n){this.begin(n)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(n,r,a,u){switch(a){case 0:return this.pushState("shapeData"),r.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const t=/\n\s*/g;return r.yytext=r.yytext.replace(t,"<br/>"),24;case 4:return 24;case 5:this.popState();break;case 6:return n.getLogger().trace("Found comment",r.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:n.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return n.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:n.getLogger().trace("end icon"),this.popState();break;case 16:return n.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return n.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return n.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return n.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:n.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return n.getLogger().trace("description:",r.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),n.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),n.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),n.getLogger().trace("node end ...",r.yytext),"NODE_DEND";case 36:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 41:return n.getLogger().trace("Long description:",r.yytext),21;case 42:return n.getLogger().trace("Long description:",r.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return O})();T.lexer=K;function V(){this.yy={}}return o(V,"Parser"),V.prototype=T,T.Parser=V,new V})();$.parser=$;var xe=$,v=[],ne=[],ee=0,ie={},ve=o(()=>{v=[],ne=[],ee=0,ie={}},"clear"),De=o(e=>{if(v.length===0)return null;const h=v[0].level;let p=null;for(let s=v.length-1;s>=0;s--)if(v[s].level===h&&!p&&(p=v[s]),v[s].level<h)throw new Error('Items without section detected, found section ("'+v[s].label+'")');return e===p?.level?null:p},"getSection"),he=o(function(){return ne},"getSections"),Le=o(function(){const e=[],h=[],p=he(),s=H();for(const d of p){const _={id:d.id,label:F(d.label??"",s),labelType:"markdown",isGroup:!0,ticket:d.ticket,shape:"kanbanSection",level:d.level,look:s.look};h.push(_);const b=v.filter(l=>l.parentId===d.id);for(const l of b){const D={id:l.id,parentId:d.id,label:F(l.label??"",s),labelType:"markdown",isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};h.push(D)}}return{nodes:h,edges:e,other:{},config:H()}},"getData"),Oe=o((e,h,p,s,d)=>{const _=H();let b=_.mindmap?.padding??Y.mindmap.padding;switch(s){case y.ROUNDED_RECT:case y.RECT:case y.HEXAGON:b*=2}const l={id:F(h,_)||"kbn"+ee++,level:e,label:F(p,_),width:_.mindmap?.maxNodeWidth??Y.mindmap.maxNodeWidth,padding:b,isGroup:!1};if(d!==void 0){let I;d.includes(`
|
|
7
7
|
`)?I=d+`
|
|
8
8
|
`:I=`{
|
|
9
9
|
`+d+`
|
|
10
|
-
}`;const g=ke(I,{schema:Ee});if(g.shape&&(g.shape!==g.shape.toLowerCase()||g.shape.includes("_")))throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);g?.shape&&g.shape==="kanbanItem"&&(l.shape=g?.shape),g?.label&&(l.label=g?.label),g?.icon&&(l.icon=g?.icon.toString()),g?.assigned&&(l.assigned=g?.assigned.toString()),g?.ticket&&(l.ticket=g?.ticket.toString()),g?.priority&&(l.priority=g?.priority)}const D=De(e);D?l.parentId=D.id||"kbn"+ee++:ne.push(l),v.push(l)},"addNode"),y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ie=o((e,h)=>{switch(te.debug("In get type",e,h),e){case"[":return y.RECT;case"(":return h===")"?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},"getType"),Ce=o((e,h)=>{ie[e]=h},"setElementForId"),we=o(e=>{if(!e)return;const h=H(),p=v[v.length-1];e.icon&&(p.icon=
|
|
11
|
-
`+e);const _=s.db.getData(),
|
|
10
|
+
}`;const g=ke(I,{schema:Ee});if(g.shape&&(g.shape!==g.shape.toLowerCase()||g.shape.includes("_")))throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);g?.shape&&g.shape==="kanbanItem"&&(l.shape=g?.shape),g?.label&&(l.label=g?.label),g?.icon&&(l.icon=g?.icon.toString()),g?.assigned&&(l.assigned=g?.assigned.toString()),g?.ticket&&(l.ticket=g?.ticket.toString()),g?.priority&&(l.priority=g?.priority)}const D=De(e);D?l.parentId=D.id||"kbn"+ee++:ne.push(l),v.push(l)},"addNode"),y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ie=o((e,h)=>{switch(te.debug("In get type",e,h),e){case"[":return y.RECT;case"(":return h===")"?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},"getType"),Ce=o((e,h)=>{ie[e]=h},"setElementForId"),we=o(e=>{if(!e)return;const h=H(),p=v[v.length-1];e.icon&&(p.icon=F(e.icon,h)),e.class&&(p.cssClasses=F(e.class,h))},"decorateNode"),Ae=o(e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Te=o(()=>te,"getLogger"),Re=o(e=>ie[e],"getElementById"),Pe={clear:ve,addNode:Oe,getSections:he,getData:Le,nodeType:y,getType:Ie,setElementForId:Ce,decorateNode:we,type2Str:Ae,getLogger:Te,getElementById:Re},Be=Pe,Ve=o(async(e,h,p,s)=>{te.debug(`Rendering kanban diagram
|
|
11
|
+
`+e);const _=s.db.getData(),b=H();b.htmlLabels=!1;const l=fe(h);for(const f of _.nodes)f.domId=`${h}-${f.id}`;const D=l.append("g");D.attr("class","sections");const I=l.append("g");I.attr("class","items");const g=_.nodes.filter(f=>f.isGroup);let w=0;const k=10,G=[];let N=25;for(const f of g){const A=b?.kanban?.sectionWidth||200;w=w+1,f.x=A*w+(w-1)*k/2,f.width=A,f.y=0,f.height=A*3,f.rx=5,f.ry=5,f.cssClasses=f.cssClasses+" section-"+w;const L=await ye(D,f);N=Math.max(N,L?.labelBBox?.height),G.push(L)}let B=0;for(const f of g){const A=G[B];B=B+1;const L=b?.kanban?.sectionWidth||200,M=-L*3/2+N;let T=M;const K=_.nodes.filter(i=>i.parentId===f.id);for(const i of K){if(i.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");i.x=f.x,i.width=L-1.5*k;const r=(await me(I,i,{config:b})).node().getBBox();i.y=T+r.height/2,await be(i),T=i.y+r.height/2+k/2}const V=A.cluster.select("rect"),O=Math.max(T-M+3*k,50)+(N-25);V.attr("height",O)}_e(void 0,l,b.mindmap?.padding??Y.kanban.padding,b.mindmap?.useMaxWidth??Y.kanban.useMaxWidth)},"draw"),je={draw:Ve},Fe=o(e=>{let h="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)e["lineColor"+s]=e["lineColor"+s]||e["cScaleInv"+s],Se(e["lineColor"+s])?e["lineColor"+s]=ce(e["lineColor"+s],20):e["lineColor"+s]=le(e["lineColor"+s],20);const p=o((s,d)=>e.darkMode?le(s,d):ce(s,d),"adjuster");for(let s=0;s<e.THEME_COLOR_LIMIT;s++){const d=""+(17-3*s);h+=`
|
|
12
12
|
.section-${s-1} rect, .section-${s-1} path, .section-${s-1} circle, .section-${s-1} polygon, .section-${s-1} path {
|
|
13
13
|
fill: ${p(e["cScale"+s],10)};
|
|
14
14
|
stroke: ${p(e["cScale"+s],10)};
|
|
@@ -54,11 +54,11 @@ Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Z="Parse error on
|
|
|
54
54
|
stroke: ${e.nodeBorder};
|
|
55
55
|
text-decoration: underline;
|
|
56
56
|
}
|
|
57
|
-
`}return h},"genSections"),
|
|
57
|
+
`}return h},"genSections"),Ge=o(e=>`
|
|
58
58
|
.edge {
|
|
59
59
|
stroke-width: 3;
|
|
60
60
|
}
|
|
61
|
-
${
|
|
61
|
+
${Fe(e)}
|
|
62
62
|
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
63
63
|
fill: ${e.git0};
|
|
64
64
|
}
|
|
@@ -86,4 +86,4 @@ Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Z="Parse error on
|
|
|
86
86
|
text-align: center;
|
|
87
87
|
}
|
|
88
88
|
${Ne()}
|
|
89
|
-
`,"getStyles"),
|
|
89
|
+
`,"getStyles"),Me=Ge,Ye={db:Be,renderer:je,parser:xe,styles:Me};export{Ye as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b9 as j,ba as p,bb as w,bc as q,bd as k}from"./mermaid.core-
|
|
1
|
+
import{b9 as j,ba as p,bb as w,bc as q,bd as k}from"./mermaid.core-Bvxj3RoN.js";import{i as D}from"./init-Gi6I4Gst.js";import{e as g,f as F,a as z,b as B}from"./defaultLocale-C4B-KCzX.js";function M(n,r){return n==null||r==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function I(n,r){return n==null||r==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function R(n){let r,t,e;n.length!==2?(r=M,t=(o,c)=>M(n(o),c),e=(o,c)=>n(o)-c):(r=n===M||n===I?n:P,t=n,e=n);function u(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<0?i=l+1:h=l}while(i<h)}return i}function f(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<=0?i=l+1:h=l}while(i<h)}return i}function a(o,c,i=0,h=o.length){const l=u(o,c,i,h-1);return l>i&&e(o[l-1],c)>-e(o[l],c)?l-1:l}return{left:u,center:a,right:f}}function P(){return 0}function V(n){return n===null?NaN:+n}const $=R(M),x=$.right;R(V).center;const O=Math.sqrt(50),T=Math.sqrt(10),C=Math.sqrt(2);function v(n,r,t){const e=(r-n)/Math.max(0,t),u=Math.floor(Math.log10(e)),f=e/Math.pow(10,u),a=f>=O?10:f>=T?5:f>=C?2:1;let o,c,i;return u<0?(i=Math.pow(10,-u)/a,o=Math.round(n*i),c=Math.round(r*i),o/i<n&&++o,c/i>r&&--c,i=-i):(i=Math.pow(10,u)*a,o=Math.round(n/i),c=Math.round(r/i),o*i<n&&++o,c*i>r&&--c),c<o&&.5<=t&&t<2?v(n,r,t*2):[o,c,i]}function E(n,r,t){if(r=+r,n=+n,t=+t,!(t>0))return[];if(n===r)return[n];const e=r<n,[u,f,a]=e?v(r,n,t):v(n,r,t);if(!(f>=u))return[];const o=f-u+1,c=new Array(o);if(e)if(a<0)for(let i=0;i<o;++i)c[i]=(f-i)/-a;else for(let i=0;i<o;++i)c[i]=(f-i)*a;else if(a<0)for(let i=0;i<o;++i)c[i]=(u+i)/-a;else for(let i=0;i<o;++i)c[i]=(u+i)*a;return c}function y(n,r,t){return r=+r,n=+n,t=+t,v(n,r,t)[2]}function G(n,r,t){r=+r,n=+n,t=+t;const e=r<n,u=e?y(r,n,t):y(n,r,t);return(e?-1:1)*(u<0?1/-u:u)}function H(n,r){r||(r=[]);var t=n?Math.min(r.length,n.length):0,e=r.slice(),u;return function(f){for(u=0;u<t;++u)e[u]=n[u]*(1-f)+r[u]*f;return e}}function J(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function K(n,r){var t=r?r.length:0,e=n?Math.min(t,n.length):0,u=new Array(e),f=new Array(t),a;for(a=0;a<e;++a)u[a]=N(n[a],r[a]);for(;a<t;++a)f[a]=r[a];return function(o){for(a=0;a<e;++a)f[a]=u[a](o);return f}}function L(n,r){var t=new Date;return n=+n,r=+r,function(e){return t.setTime(n*(1-e)+r*e),t}}function Q(n,r){var t={},e={},u;(n===null||typeof n!="object")&&(n={}),(r===null||typeof r!="object")&&(r={});for(u in r)u in n?t[u]=N(n[u],r[u]):e[u]=r[u];return function(f){for(u in t)e[u]=t[u](f);return e}}function N(n,r){var t=typeof r,e;return r==null||t==="boolean"?j(r):(t==="number"?p:t==="string"?(e=k(r))?(r=e,w):q:r instanceof k?w:r instanceof Date?L:J(r)?H:Array.isArray(r)?K:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?Q:p)(n,r)}function U(n,r){return n=+n,r=+r,function(t){return Math.round(n*(1-t)+r*t)}}function W(n){return Math.max(0,-g(Math.abs(n)))}function X(n,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(g(r)/3)))*3-g(Math.abs(n)))}function Y(n,r){return n=Math.abs(n),r=Math.abs(r)-n,Math.max(0,g(r)-g(n))+1}function Z(n){return function(){return n}}function _(n){return+n}var A=[0,1];function m(n){return n}function d(n,r){return(r-=n=+n)?function(t){return(t-n)/r}:Z(isNaN(r)?NaN:.5)}function b(n,r){var t;return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function nn(n,r,t){var e=n[0],u=n[1],f=r[0],a=r[1];return u<e?(e=d(u,e),f=t(a,f)):(e=d(e,u),f=t(f,a)),function(o){return f(e(o))}}function rn(n,r,t){var e=Math.min(n.length,r.length)-1,u=new Array(e),f=new Array(e),a=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++a<e;)u[a]=d(n[a],n[a+1]),f[a]=t(r[a],r[a+1]);return function(o){var c=x(n,o,1,e)-1;return f[c](u[c](o))}}function en(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function tn(){var n=A,r=A,t=N,e,u,f,a=m,o,c,i;function h(){var s=Math.min(n.length,r.length);return a!==m&&(a=b(n[0],n[s-1])),o=s>2?rn:nn,c=i=null,l}function l(s){return s==null||isNaN(s=+s)?f:(c||(c=o(n.map(e),r,t)))(e(a(s)))}return l.invert=function(s){return a(u((i||(i=o(r,n.map(e),p)))(s)))},l.domain=function(s){return arguments.length?(n=Array.from(s,_),h()):n.slice()},l.range=function(s){return arguments.length?(r=Array.from(s),h()):r.slice()},l.rangeRound=function(s){return r=Array.from(s),t=U,h()},l.clamp=function(s){return arguments.length?(a=s?!0:m,h()):a!==m},l.interpolate=function(s){return arguments.length?(t=s,h()):t},l.unknown=function(s){return arguments.length?(f=s,l):f},function(s,S){return e=s,u=S,h()}}function un(){return tn()(m,m)}function an(n,r,t,e){var u=G(n,r,t),f;switch(e=F(e??",f"),e.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(r));return e.precision==null&&!isNaN(f=X(u,a))&&(e.precision=f),z(e,a)}case"":case"e":case"g":case"p":case"r":{e.precision==null&&!isNaN(f=Y(u,Math.max(Math.abs(n),Math.abs(r))))&&(e.precision=f-(e.type==="e"));break}case"f":case"%":{e.precision==null&&!isNaN(f=W(u))&&(e.precision=f-(e.type==="%")*2);break}}return B(e)}function on(n){var r=n.domain;return n.ticks=function(t){var e=r();return E(e[0],e[e.length-1],t??10)},n.tickFormat=function(t,e){var u=r();return an(u[0],u[u.length-1],t??10,e)},n.nice=function(t){t==null&&(t=10);var e=r(),u=0,f=e.length-1,a=e[u],o=e[f],c,i,h=10;for(o<a&&(i=a,a=o,o=i,i=u,u=f,f=i);h-- >0;){if(i=y(a,o,t),i===c)return e[u]=a,e[f]=o,r(e);if(i>0)a=Math.floor(a/i)*i,o=Math.ceil(o/i)*i;else if(i<0)a=Math.ceil(a*i)/i,o=Math.floor(o*i)/i;else break;c=i}return n},n}function fn(){var n=un();return n.copy=function(){return en(n,fn())},D.apply(n,arguments),on(n)}export{en as a,R as b,un as c,fn as l,G as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e}from"./view-context-D-fh9AbH.js";const o=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],n=e("link-2",o);export{n as L};
|