sudocode 1.1.17 → 1.1.18-dev.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/node_modules/@sudocode-ai/cli/README.md +330 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.d.ts +53 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.js +339 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/feedback-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.d.ts +20 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.js +145 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/init-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.d.ts +46 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.js +353 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/issue-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.d.ts +42 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.js +405 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/merge-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.d.ts +62 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.js +595 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/plugin-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.d.ts +18 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.js +61 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/query-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.d.ts +22 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.js +136 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/reference-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.d.ts +14 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.js +83 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/relationship-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.d.ts +17 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.js +123 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/server-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.d.ts +38 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.js +326 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/spec-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.d.ts +17 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.js +131 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/status-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.d.ts +24 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.js +429 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/sync-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.d.ts +16 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.js +160 -0
- package/node_modules/@sudocode-ai/cli/dist/cli/update-commands.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli.d.ts +6 -0
- package/node_modules/@sudocode-ai/cli/dist/cli.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/cli.js +543 -0
- package/node_modules/@sudocode-ai/cli/dist/cli.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/config.d.ts +50 -0
- package/node_modules/@sudocode-ai/cli/dist/config.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/config.js +76 -0
- package/node_modules/@sudocode-ai/cli/dist/config.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/db.d.ts +21 -0
- package/node_modules/@sudocode-ai/cli/dist/db.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/db.js +55 -0
- package/node_modules/@sudocode-ai/cli/dist/db.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/export.d.ts +84 -0
- package/node_modules/@sudocode-ai/cli/dist/export.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/export.js +265 -0
- package/node_modules/@sudocode-ai/cli/dist/export.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/filename-generator.d.ts +31 -0
- package/node_modules/@sudocode-ai/cli/dist/filename-generator.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/filename-generator.js +103 -0
- package/node_modules/@sudocode-ai/cli/dist/filename-generator.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/id-generator.d.ts +63 -0
- package/node_modules/@sudocode-ai/cli/dist/id-generator.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/id-generator.js +196 -0
- package/node_modules/@sudocode-ai/cli/dist/id-generator.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/import.d.ts +134 -0
- package/node_modules/@sudocode-ai/cli/dist/import.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/import.js +751 -0
- package/node_modules/@sudocode-ai/cli/dist/import.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/index.d.ts +15 -0
- package/node_modules/@sudocode-ai/cli/dist/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/index.js +15 -0
- package/node_modules/@sudocode-ai/cli/dist/index.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.d.ts +108 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.js +80 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/base-provider.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.d.ts +62 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.js +69 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-resolver.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.d.ts +75 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.js +129 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/config-validator.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/index.d.ts +14 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/index.js +20 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/index.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.d.ts +77 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.js +265 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/plugin-loader.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/registry.d.ts +67 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/registry.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/registry.js +77 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/registry.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.d.ts +191 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.js +798 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/sync-coordinator.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/types.d.ts +142 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/types.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/types.js +6 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/types.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.d.ts +79 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.js +106 -0
- package/node_modules/@sudocode-ai/cli/dist/integrations/utils/conflict-resolver.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/jsonl.d.ts +69 -0
- package/node_modules/@sudocode-ai/cli/dist/jsonl.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/jsonl.js +333 -0
- package/node_modules/@sudocode-ai/cli/dist/jsonl.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/markdown.d.ts +146 -0
- package/node_modules/@sudocode-ai/cli/dist/markdown.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/markdown.js +329 -0
- package/node_modules/@sudocode-ai/cli/dist/markdown.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/merge-resolver.d.ts +85 -0
- package/node_modules/@sudocode-ai/cli/dist/merge-resolver.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/merge-resolver.js +301 -0
- package/node_modules/@sudocode-ai/cli/dist/merge-resolver.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/events.d.ts +53 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/events.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/events.js +108 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/events.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/external-links.d.ts +147 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/external-links.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/external-links.js +411 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/external-links.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.d.ts +92 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.js +444 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback-anchors.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback.d.ts +94 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback.js +278 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/feedback.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/index.d.ts +11 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/index.js +11 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/index.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/issues.d.ts +88 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/issues.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/issues.js +474 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/issues.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/references.d.ts +34 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/references.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/references.js +117 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/references.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/relationships.d.ts +64 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/relationships.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/relationships.js +281 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/relationships.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/specs.d.ts +69 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/specs.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/specs.js +330 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/specs.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/tags.d.ts +42 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/tags.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/tags.js +127 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/tags.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/transactions.d.ts +41 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/transactions.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/transactions.js +111 -0
- package/node_modules/@sudocode-ai/cli/dist/operations/transactions.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/sync.d.ts +47 -0
- package/node_modules/@sudocode-ai/cli/dist/sync.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/sync.js +464 -0
- package/node_modules/@sudocode-ai/cli/dist/sync.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/test-schema.d.ts +5 -0
- package/node_modules/@sudocode-ai/cli/dist/test-schema.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/test-schema.js +46 -0
- package/node_modules/@sudocode-ai/cli/dist/test-schema.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/types.d.ts +7 -0
- package/node_modules/@sudocode-ai/cli/dist/types.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/types.js +7 -0
- package/node_modules/@sudocode-ai/cli/dist/types.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/update-checker.d.ts +33 -0
- package/node_modules/@sudocode-ai/cli/dist/update-checker.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/update-checker.js +193 -0
- package/node_modules/@sudocode-ai/cli/dist/update-checker.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/validation.d.ts +11 -0
- package/node_modules/@sudocode-ai/cli/dist/validation.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/validation.js +58 -0
- package/node_modules/@sudocode-ai/cli/dist/validation.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/version.d.ts +12 -0
- package/node_modules/@sudocode-ai/cli/dist/version.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/version.js +23 -0
- package/node_modules/@sudocode-ai/cli/dist/version.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/watcher.d.ts +69 -0
- package/node_modules/@sudocode-ai/cli/dist/watcher.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/cli/dist/watcher.js +783 -0
- package/node_modules/@sudocode-ai/cli/dist/watcher.js.map +1 -0
- package/node_modules/@sudocode-ai/cli/package.json +73 -0
- package/node_modules/@sudocode-ai/integration-beads/package.json +44 -0
- package/node_modules/@sudocode-ai/integration-github/package.json +41 -0
- package/node_modules/@sudocode-ai/integration-openspec/package.json +43 -0
- package/node_modules/@sudocode-ai/integration-speckit/package.json +42 -0
- package/node_modules/@sudocode-ai/local-server/README.md +25 -0
- package/node_modules/@sudocode-ai/local-server/dist/cli.d.ts +7 -0
- package/node_modules/@sudocode-ai/local-server/dist/cli.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/cli.js +7 -0
- package/node_modules/@sudocode-ai/local-server/dist/cli.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.d.ts +43 -0
- package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.js +69 -0
- package/node_modules/@sudocode-ai/local-server/dist/errors/agent-errors.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.d.ts +63 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.js +83 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/claude-adapter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.d.ts +67 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.js +183 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-adapter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.d.ts +30 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.js +110 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/codex-config-builder.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.d.ts +94 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.js +163 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-adapter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.d.ts +48 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.js +125 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/copilot-config-builder.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.d.ts +66 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.js +121 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-adapter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.d.ts +29 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.js +49 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/cursor-config-builder.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.d.ts +102 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.js +205 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-presets.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.d.ts +95 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.js +163 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/config-utils.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.d.ts +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.js +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/adapters/shared/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.d.ts +154 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.js +725 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/agent-executor-wrapper.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.d.ts +95 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.js +128 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/executors/executor-factory.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.d.ts +174 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.js +436 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/ag-ui-adapter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.d.ts +90 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.js +153 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/claude-to-ag-ui.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.d.ts +15 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.js +13 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.d.ts +108 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.js +321 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/normalized-to-ag-ui-adapter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.d.ts +421 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.js +22 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/output/types.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.d.ts +53 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.js +225 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/process/builders/claude.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.d.ts +119 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.js +208 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/event-buffer.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.d.ts +10 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.js +10 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.d.ts +74 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.js +104 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/ipc-transport-manager.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.d.ts +146 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.js +282 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/sse-transport.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.d.ts +176 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.js +234 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/transport/transport-manager.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.d.ts +74 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.js +280 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/config.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.d.ts +85 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.js +129 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/conflict-detector.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.d.ts +208 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.js +280 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-cli.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.d.ts +225 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.js +464 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/git-sync-cli.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.d.ts +16 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.js +15 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.d.ts +221 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.js +508 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/manager.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.d.ts +90 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.js +42 -0
- package/node_modules/@sudocode-ai/local-server/dist/execution/worktree/types.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/index.d.ts +6 -0
- package/node_modules/@sudocode-ai/local-server/dist/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/index.js +371 -0
- package/node_modules/@sudocode-ai/local-server/dist/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.d.ts +37 -0
- package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.js +91 -0
- package/node_modules/@sudocode-ai/local-server/dist/middleware/project-context.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-D4AKx6EO.css +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-DorQqwGV.js +927 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/index-DorQqwGV.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/react-vendor-DoNwlLhy.js +60 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/react-vendor-DoNwlLhy.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/ui-vendor-DlxvBun1.js +54 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/assets/ui-vendor-DlxvBun1.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/favicon.ico +0 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/index.html +16 -0
- package/node_modules/@sudocode-ai/local-server/dist/public/logo.png +0 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/agents.d.ts +3 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/agents.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/agents.js +62 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/agents.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/config.d.ts +3 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/config.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/config.js +116 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/config.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/editors.d.ts +15 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/editors.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/editors.js +98 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/editors.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.d.ts +27 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.js +59 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions-stream.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions.d.ts +18 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions.js +1169 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/executions.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.d.ts +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.js +340 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/feedback.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/files.d.ts +18 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/files.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/files.js +89 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/files.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/import.d.ts +142 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/import.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/import.js +896 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/import.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/issues.d.ts +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/issues.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/issues.js +419 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/issues.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.d.ts +34 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.js +602 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/plugins.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/projects.d.ts +11 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/projects.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/projects.js +536 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/projects.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.d.ts +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.js +310 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/relationships.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.d.ts +3 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.js +203 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/repo-info.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/specs.d.ts +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/specs.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/specs.js +414 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/specs.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/update.d.ts +7 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/update.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/update.js +194 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/update.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/version.d.ts +3 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/version.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/version.js +25 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/version.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.d.ts +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.js +1729 -0
- package/node_modules/@sudocode-ai/local-server/dist/routes/workflows.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.d.ts +140 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.js +272 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/agent-registry.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/db.d.ts +33 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/db.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/db.js +90 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/db.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.d.ts +57 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.js +204 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/editor-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.d.ts +110 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.js +710 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-changes-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.d.ts +73 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.js +82 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-event-callbacks.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.d.ts +145 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.js +392 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-lifecycle.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.d.ts +88 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.js +137 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-cleanup.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.d.ts +252 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.js +379 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-logs-store.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.d.ts +280 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.js +1240 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.d.ts +116 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.js +326 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/execution-worker-pool.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/executions.d.ts +63 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/executions.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/executions.js +177 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/executions.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/export.d.ts +32 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/export.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/export.js +114 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/export.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.d.ts +104 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.js +520 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/external-refresh-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/feedback.d.ts +56 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/feedback.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/feedback.js +78 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/feedback.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.d.ts +72 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.js +176 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/git-ls-files-strategy.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.d.ts +9 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.js +10 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.d.ts +97 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.js +140 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/registry.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.d.ts +58 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.js +8 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/file-search/strategy.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.d.ts +185 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.js +428 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/integration-sync-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/issues.d.ts +27 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/issues.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/issues.js +35 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/issues.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-context.d.ts +97 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-context.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-context.js +170 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-context.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.d.ts +102 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.js +502 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-manager.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.d.ts +98 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.js +289 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/project-registry.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.d.ts +97 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.js +377 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-resolver.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.d.ts +108 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.js +212 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-template-engine.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.d.ts +97 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.js +236 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/prompt-templates.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/relationships.d.ts +35 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/relationships.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/relationships.js +42 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/relationships.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.d.ts +33 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.js +136 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/repo-info.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/specs.d.ts +27 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/specs.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/specs.js +35 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/specs.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/version-service.d.ts +14 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/version-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/version-service.js +57 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/version-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/watcher.d.ts +49 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/watcher.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/watcher.js +52 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/watcher.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/websocket.d.ts +179 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/websocket.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/websocket.js +543 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/websocket.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.d.ts +43 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.js +155 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/workflow-broadcast-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.d.ts +437 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.js +1505 -0
- package/node_modules/@sudocode-ai/local-server/dist/services/worktree-sync-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/editor.d.ts +49 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/editor.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/editor.js +50 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/editor.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/project.d.ts +58 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/project.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/project.js +10 -0
- package/node_modules/@sudocode-ai/local-server/dist/types/project.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.d.ts +43 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.js +53 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/execFileNoThrow.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.d.ts +36 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.js +79 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/executable-check.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.d.ts +6 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.js +9 -0
- package/node_modules/@sudocode-ai/local-server/dist/utils/sudocode-dir.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.d.ts +18 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.js +340 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/execution-worker.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.d.ts +84 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.js +29 -0
- package/node_modules/@sudocode-ai/local-server/dist/workers/worker-ipc.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.d.ts +186 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.js +557 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/base-workflow-engine.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.d.ts +78 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.js +264 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/dependency-analyzer.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.d.ts +237 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.js +749 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/orchestrator-engine.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.d.ts +276 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.js +1110 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/engines/sequential-engine.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/index.d.ts +15 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/index.js +22 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.d.ts +103 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.js +193 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/api-client.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.d.ts +16 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.js +114 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/index.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.d.ts +85 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.js +520 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/server.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.d.ts +36 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.js +47 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/escalation.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.d.ts +59 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.js +67 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/execution.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.d.ts +82 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.js +57 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/inspection.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.d.ts +59 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.js +40 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/tools/workflow.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.d.ts +345 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.js +7 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/mcp/types.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.d.ts +36 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.js +329 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/prompt-builder.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.d.ts +262 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.js +809 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/services/wakeup-service.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.d.ts +221 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.js +94 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-engine.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.d.ts +278 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.js +259 -0
- package/node_modules/@sudocode-ai/local-server/dist/workflow/workflow-event-emitter.js.map +1 -0
- package/node_modules/@sudocode-ai/local-server/package.json +78 -0
- package/node_modules/@sudocode-ai/mcp/README.md +226 -0
- package/node_modules/@sudocode-ai/mcp/dist/client.d.ts +33 -0
- package/node_modules/@sudocode-ai/mcp/dist/client.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/client.js +166 -0
- package/node_modules/@sudocode-ai/mcp/dist/client.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/index.d.ts +6 -0
- package/node_modules/@sudocode-ai/mcp/dist/index.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/index.js +64 -0
- package/node_modules/@sudocode-ai/mcp/dist/index.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/server.d.ts +26 -0
- package/node_modules/@sudocode-ai/mcp/dist/server.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/server.js +577 -0
- package/node_modules/@sudocode-ai/mcp/dist/server.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.d.ts +41 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.js +21 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/analytics.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.d.ts +21 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.js +30 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/feedback.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/init.d.ts +17 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/init.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/init.js +15 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/init.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/issues.d.ts +44 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/issues.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/issues.js +109 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/issues.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/references.d.ts +21 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/references.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/references.js +49 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/references.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.d.ts +15 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.js +18 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/relationships.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/specs.d.ts +35 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/specs.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/specs.js +85 -0
- package/node_modules/@sudocode-ai/mcp/dist/tools/specs.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/types.d.ts +35 -0
- package/node_modules/@sudocode-ai/mcp/dist/types.d.ts.map +1 -0
- package/node_modules/@sudocode-ai/mcp/dist/types.js +21 -0
- package/node_modules/@sudocode-ai/mcp/dist/types.js.map +1 -0
- package/node_modules/@sudocode-ai/mcp/package.json +67 -0
- package/node_modules/@sudocode-ai/types/README.md +7 -0
- package/node_modules/@sudocode-ai/types/package.json +76 -0
- package/node_modules/@sudocode-ai/types/src/agents.d.ts +278 -0
- package/node_modules/@sudocode-ai/types/src/artifacts.d.ts +66 -0
- package/node_modules/@sudocode-ai/types/src/events.d.ts +70 -0
- package/node_modules/@sudocode-ai/types/src/index.d.ts +452 -0
- package/node_modules/@sudocode-ai/types/src/integrations.d.ts +454 -0
- package/node_modules/@sudocode-ai/types/src/workflows.d.ts +501 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1149 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +149 -0
- package/node_modules/commander/lib/command.js +2662 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +709 -0
- package/node_modules/commander/lib/option.js +367 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +16 -0
- package/node_modules/commander/package.json +82 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +1045 -0
- package/node_modules/glob/LICENSE +15 -0
- package/node_modules/glob/README.md +1265 -0
- package/node_modules/glob/package.json +99 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +74 -0
- package/node_modules/isexe/package.json +96 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +51 -0
- package/node_modules/which/bin/which.js +52 -0
- package/node_modules/which/lib/index.js +111 -0
- package/node_modules/which/package.json +52 -0
- package/package.json +9 -9
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import{r as To,a,b as Fn,R as kn,c as No,d as pe}from"./react-vendor-DoNwlLhy.js";var gt={exports:{}},Ne={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var an;function Lo(){if(an)return Ne;an=1;var e=To(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(s,u,l){var f,d={},p=null,h=null;l!==void 0&&(p=""+l),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(h=u.ref);for(f in u)r.call(u,f)&&!i.hasOwnProperty(f)&&(d[f]=u[f]);if(s&&s.defaultProps)for(f in u=s.defaultProps,u)d[f]===void 0&&(d[f]=u[f]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Ne.Fragment=n,Ne.jsx=c,Ne.jsxs=c,Ne}var ln;function Fo(){return ln||(ln=1,gt.exports=Lo()),gt.exports}var g=Fo();function O(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function un(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ve(...e){return t=>{let n=!1;const r=e.map(o=>{const i=un(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():un(e[o],null)}}}}function B(...e){return a.useCallback(ve(...e),e)}function ko(e,t){const n=a.createContext(t),r=i=>{const{children:c,...s}=i,u=a.useMemo(()=>s,Object.values(s));return g.jsx(n.Provider,{value:u,children:c})};r.displayName=e+"Provider";function o(i){const c=a.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Pe(e,t=[]){let n=[];function r(i,c){const s=a.createContext(c),u=n.length;n=[...n,c];const l=d=>{var w;const{scope:p,children:h,...y}=d,m=((w=p==null?void 0:p[e])==null?void 0:w[u])||s,v=a.useMemo(()=>y,Object.values(y));return g.jsx(m.Provider,{value:v,children:h})};l.displayName=i+"Provider";function f(d,p){var m;const h=((m=p==null?void 0:p[e])==null?void 0:m[u])||s,y=a.useContext(h);if(y)return y;if(c!==void 0)return c;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,f]}const o=()=>{const i=n.map(c=>a.createContext(c));return function(s){const u=(s==null?void 0:s[e])||i;return a.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[r,jo(o,...t)]}function jo(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=r.reduce((s,{useScope:u,scopeName:l})=>{const d=u(i)[`__scope${l}`];return{...s,...d}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function $o(e){const t=Wo(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),u=s.find(Vo);if(u){const l=u.props.children,f=s.map(d=>d===u?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:d);return g.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return g.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Wo(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=Go(o),s=Uo(i,o.props);return o.type!==a.Fragment&&(s.ref=r?ve(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Bo=Symbol("radix.slottable");function Vo(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Bo}function Uo(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Go(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ko=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=Ko.reduce((e,t)=>{const n=$o(`Primitive.${t}`),r=a.forwardRef((o,i)=>{const{asChild:c,...s}=o,u=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(u,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function jn(e,t){e&&Fn.flushSync(()=>e.dispatchEvent(t))}function oe(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Ho(e,t=globalThis==null?void 0:globalThis.document){const n=oe(e);a.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var zo="DismissableLayer",Mt="dismissableLayer.update",Yo="dismissableLayer.pointerDownOutside",Xo="dismissableLayer.focusOutside",fn,$n=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lt=a.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:s,...u}=e,l=a.useContext($n),[f,d]=a.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=a.useState({}),y=B(t,R=>d(R)),m=Array.from(l.layers),[v]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),w=m.indexOf(v),b=f?m.indexOf(f):-1,x=l.layersWithOutsidePointerEventsDisabled.size>0,C=b>=w,E=Jo(R=>{const A=R.target,I=[...l.branches].some(_=>_.contains(A));!C||I||(o==null||o(R),c==null||c(R),R.defaultPrevented||s==null||s())},p),P=Qo(R=>{const A=R.target;[...l.branches].some(_=>_.contains(A))||(i==null||i(R),c==null||c(R),R.defaultPrevented||s==null||s())},p);return Ho(R=>{b===l.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&s&&(R.preventDefault(),s()))},p),a.useEffect(()=>{if(f)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(fn=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(f)),l.layers.add(f),dn(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=fn)}},[f,p,n,l]),a.useEffect(()=>()=>{f&&(l.layers.delete(f),l.layersWithOutsidePointerEventsDisabled.delete(f),dn())},[f,l]),a.useEffect(()=>{const R=()=>h({});return document.addEventListener(Mt,R),()=>document.removeEventListener(Mt,R)},[]),g.jsx($.div,{...u,ref:y,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:O(e.onFocusCapture,P.onFocusCapture),onBlurCapture:O(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:O(e.onPointerDownCapture,E.onPointerDownCapture)})});Lt.displayName=zo;var qo="DismissableLayerBranch",Zo=a.forwardRef((e,t)=>{const n=a.useContext($n),r=a.useRef(null),o=B(t,r);return a.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),g.jsx($.div,{...e,ref:o})});Zo.displayName=qo;function Jo(e,t=globalThis==null?void 0:globalThis.document){const n=oe(e),r=a.useRef(!1),o=a.useRef(()=>{});return a.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){Wn(Yo,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Qo(e,t=globalThis==null?void 0:globalThis.document){const n=oe(e),r=a.useRef(!1);return a.useEffect(()=>{const o=i=>{i.target&&!r.current&&Wn(Xo,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function dn(){const e=new CustomEvent(Mt);document.dispatchEvent(e)}function Wn(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?jn(o,i):o.dispatchEvent(i)}var ae=globalThis!=null&&globalThis.document?a.useLayoutEffect:()=>{},ei=kn[" useId ".trim().toString()]||(()=>{}),ti=0;function Ce(e){const[t,n]=a.useState(ei());return ae(()=>{n(r=>r??String(ti++))},[e]),t?`radix-${t}`:""}const ni=["top","right","bottom","left"],le=Math.min,G=Math.max,tt=Math.round,He=Math.floor,ee=e=>({x:e,y:e}),ri={left:"right",right:"left",bottom:"top",top:"bottom"},oi={start:"end",end:"start"};function Ot(e,t,n){return G(e,le(t,n))}function ie(e,t){return typeof e=="function"?e(t):e}function se(e){return e.split("-")[0]}function Ae(e){return e.split("-")[1]}function Ft(e){return e==="x"?"y":"x"}function kt(e){return e==="y"?"height":"width"}const ii=new Set(["top","bottom"]);function Q(e){return ii.has(se(e))?"y":"x"}function jt(e){return Ft(Q(e))}function si(e,t,n){n===void 0&&(n=!1);const r=Ae(e),o=jt(e),i=kt(o);let c=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=nt(c)),[c,nt(c)]}function ci(e){const t=nt(e);return[_t(e),t,_t(t)]}function _t(e){return e.replace(/start|end/g,t=>oi[t])}const pn=["left","right"],mn=["right","left"],ai=["top","bottom"],li=["bottom","top"];function ui(e,t,n){switch(e){case"top":case"bottom":return n?t?mn:pn:t?pn:mn;case"left":case"right":return t?ai:li;default:return[]}}function fi(e,t,n,r){const o=Ae(e);let i=ui(se(e),n==="start",r);return o&&(i=i.map(c=>c+"-"+o),t&&(i=i.concat(i.map(_t)))),i}function nt(e){return e.replace(/left|right|bottom|top/g,t=>ri[t])}function di(e){return{top:0,right:0,bottom:0,left:0,...e}}function Bn(e){return typeof e!="number"?di(e):{top:e,right:e,bottom:e,left:e}}function rt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hn(e,t,n){let{reference:r,floating:o}=e;const i=Q(t),c=jt(t),s=kt(c),u=se(t),l=i==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let h;switch(u){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Ae(t)){case"start":h[c]-=p*(n&&l?-1:1);break;case"end":h[c]+=p*(n&&l?-1:1);break}return h}const pi=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:c}=n,s=i.filter(Boolean),u=await(c.isRTL==null?void 0:c.isRTL(t));let l=await c.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=hn(l,r,u),p=r,h={},y=0;for(let m=0;m<s.length;m++){const{name:v,fn:w}=s[m],{x:b,y:x,data:C,reset:E}=await w({x:f,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:l,platform:c,elements:{reference:e,floating:t}});f=b??f,d=x??d,h={...h,[v]:{...h[v],...C}},E&&y<=50&&(y++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(l=E.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:d}=hn(l,p,u)),m=-1)}return{x:f,y:d,placement:p,strategy:o,middlewareData:h}};async function Fe(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:c,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=ie(t,e),y=Bn(h),v=s[p?d==="floating"?"reference":"floating":d],w=rt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:u})),b=d==="floating"?{x:r,y:o,width:c.floating.width,height:c.floating.height}:c.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},E=rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:x,strategy:u}):b);return{top:(w.top-E.top+y.top)/C.y,bottom:(E.bottom-w.bottom+y.bottom)/C.y,left:(w.left-E.left+y.left)/C.x,right:(E.right-w.right+y.right)/C.x}}const mi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:c,elements:s,middlewareData:u}=t,{element:l,padding:f=0}=ie(e,t)||{};if(l==null)return{};const d=Bn(f),p={x:n,y:r},h=jt(o),y=kt(h),m=await c.getDimensions(l),v=h==="y",w=v?"top":"left",b=v?"bottom":"right",x=v?"clientHeight":"clientWidth",C=i.reference[y]+i.reference[h]-p[h]-i.floating[y],E=p[h]-i.reference[h],P=await(c.getOffsetParent==null?void 0:c.getOffsetParent(l));let R=P?P[x]:0;(!R||!await(c.isElement==null?void 0:c.isElement(P)))&&(R=s.floating[x]||i.floating[y]);const A=C/2-E/2,I=R/2-m[y]/2-1,_=le(d[w],I),F=le(d[b],I),k=_,N=R-m[y]-F,T=R/2-m[y]/2+A,W=Ot(k,T,N),D=!u.arrow&&Ae(o)!=null&&T!==W&&i.reference[y]/2-(T<k?_:F)-m[y]/2<0,j=D?T<k?T-k:T-N:0;return{[h]:p[h]+j,data:{[h]:W,centerOffset:T-W-j,...D&&{alignmentOffset:j}},reset:D}}}),hi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:c,initialPlacement:s,platform:u,elements:l}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:m=!0,...v}=ie(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=se(o),b=Q(s),x=se(s)===s,C=await(u.isRTL==null?void 0:u.isRTL(l.floating)),E=p||(x||!m?[nt(s)]:ci(s)),P=y!=="none";!p&&P&&E.push(...fi(s,m,y,C));const R=[s,...E],A=await Fe(t,v),I=[];let _=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&I.push(A[w]),d){const T=si(o,c,C);I.push(A[T[0]],A[T[1]])}if(_=[..._,{placement:o,overflows:I}],!I.every(T=>T<=0)){var F,k;const T=(((F=i.flip)==null?void 0:F.index)||0)+1,W=R[T];if(W&&(!(d==="alignment"?b!==Q(W):!1)||_.every(M=>Q(M.placement)===b?M.overflows[0]>0:!0)))return{data:{index:T,overflows:_},reset:{placement:W}};let D=(k=_.filter(j=>j.overflows[0]<=0).sort((j,M)=>j.overflows[1]-M.overflows[1])[0])==null?void 0:k.placement;if(!D)switch(h){case"bestFit":{var N;const j=(N=_.filter(M=>{if(P){const S=Q(M.placement);return S===b||S==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(S=>S>0).reduce((S,L)=>S+L,0)]).sort((M,S)=>M[1]-S[1])[0])==null?void 0:N[0];j&&(D=j);break}case"initialPlacement":D=s;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function vn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gn(e){return ni.some(t=>e[t]>=0)}const vi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ie(e,t);switch(r){case"referenceHidden":{const i=await Fe(t,{...o,elementContext:"reference"}),c=vn(i,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:gn(c)}}}case"escaped":{const i=await Fe(t,{...o,altBoundary:!0}),c=vn(i,n.floating);return{data:{escapedOffsets:c,escaped:gn(c)}}}default:return{}}}}},Vn=new Set(["left","top"]);async function gi(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),c=se(n),s=Ae(n),u=Q(n)==="y",l=Vn.has(c)?-1:1,f=i&&u?-1:1,d=ie(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:y}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof y=="number"&&(h=s==="end"?y*-1:y),u?{x:h*f,y:p*l}:{x:p*l,y:h*f}}const yi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:c,middlewareData:s}=t,u=await gi(t,e);return c===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:c}}}}},wi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:s={fn:v=>{let{x:w,y:b}=v;return{x:w,y:b}}},...u}=ie(e,t),l={x:n,y:r},f=await Fe(t,u),d=Q(se(o)),p=Ft(d);let h=l[p],y=l[d];if(i){const v=p==="y"?"top":"left",w=p==="y"?"bottom":"right",b=h+f[v],x=h-f[w];h=Ot(b,h,x)}if(c){const v=d==="y"?"top":"left",w=d==="y"?"bottom":"right",b=y+f[v],x=y-f[w];y=Ot(b,y,x)}const m=s.fn({...t,[p]:h,[d]:y});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[p]:i,[d]:c}}}}}},xi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:c}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=ie(e,t),f={x:n,y:r},d=Q(o),p=Ft(d);let h=f[p],y=f[d];const m=ie(s,t),v=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const x=p==="y"?"height":"width",C=i.reference[p]-i.floating[x]+v.mainAxis,E=i.reference[p]+i.reference[x]-v.mainAxis;h<C?h=C:h>E&&(h=E)}if(l){var w,b;const x=p==="y"?"width":"height",C=Vn.has(se(o)),E=i.reference[d]-i.floating[x]+(C&&((w=c.offset)==null?void 0:w[d])||0)+(C?0:v.crossAxis),P=i.reference[d]+i.reference[x]+(C?0:((b=c.offset)==null?void 0:b[d])||0)-(C?v.crossAxis:0);y<E?y=E:y>P&&(y=P)}return{[p]:h,[d]:y}}}},bi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:c,elements:s}=t,{apply:u=()=>{},...l}=ie(e,t),f=await Fe(t,l),d=se(o),p=Ae(o),h=Q(o)==="y",{width:y,height:m}=i.floating;let v,w;d==="top"||d==="bottom"?(v=d,w=p===(await(c.isRTL==null?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(w=d,v=p==="end"?"top":"bottom");const b=m-f.top-f.bottom,x=y-f.left-f.right,C=le(m-f[v],b),E=le(y-f[w],x),P=!t.middlewareData.shift;let R=C,A=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=b),P&&!p){const _=G(f.left,0),F=G(f.right,0),k=G(f.top,0),N=G(f.bottom,0);h?A=y-2*(_!==0||F!==0?_+F:G(f.left,f.right)):R=m-2*(k!==0||N!==0?k+N:G(f.top,f.bottom))}await u({...t,availableWidth:A,availableHeight:R});const I=await c.getDimensions(s.floating);return y!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function at(){return typeof window<"u"}function Me(e){return Un(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ne(e){var t;return(t=(Un(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Un(e){return at()?e instanceof Node||e instanceof K(e).Node:!1}function Y(e){return at()?e instanceof Element||e instanceof K(e).Element:!1}function te(e){return at()?e instanceof HTMLElement||e instanceof K(e).HTMLElement:!1}function yn(e){return!at()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}const Ci=new Set(["inline","contents"]);function We(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ci.has(o)}const Ei=new Set(["table","td","th"]);function Ri(e){return Ei.has(Me(e))}const Si=[":popover-open",":modal"];function lt(e){return Si.some(t=>{try{return e.matches(t)}catch{return!1}})}const Pi=["transform","translate","scale","rotate","perspective"],Ai=["transform","translate","scale","rotate","perspective","filter"],Mi=["paint","layout","strict","content"];function $t(e){const t=Wt(),n=Y(e)?X(e):e;return Pi.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Ai.some(r=>(n.willChange||"").includes(r))||Mi.some(r=>(n.contain||"").includes(r))}function Oi(e){let t=ue(e);for(;te(t)&&!Se(t);){if($t(t))return t;if(lt(t))return null;t=ue(t)}return null}function Wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const _i=new Set(["html","body","#document"]);function Se(e){return _i.has(Me(e))}function X(e){return K(e).getComputedStyle(e)}function ut(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ue(e){if(Me(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yn(e)&&e.host||ne(e);return yn(t)?t.host:t}function Gn(e){const t=ue(e);return Se(t)?e.ownerDocument?e.ownerDocument.body:e.body:te(t)&&We(t)?t:Gn(t)}function ke(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Gn(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),c=K(o);if(i){const s=Dt(c);return t.concat(c,c.visualViewport||[],We(o)?o:[],s&&n?ke(s):[])}return t.concat(o,ke(o,[],n))}function Dt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kn(e){const t=X(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=te(e),i=o?e.offsetWidth:n,c=o?e.offsetHeight:r,s=tt(n)!==i||tt(r)!==c;return s&&(n=i,r=c),{width:n,height:r,$:s}}function Bt(e){return Y(e)?e:e.contextElement}function Ee(e){const t=Bt(e);if(!te(t))return ee(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Kn(t);let c=(i?tt(n.width):n.width)/r,s=(i?tt(n.height):n.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}const Di=ee(0);function Hn(e){const t=K(e);return!Wt()||!t.visualViewport?Di:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ii(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==K(e)?!1:t}function me(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Bt(e);let c=ee(1);t&&(r?Y(r)&&(c=Ee(r)):c=Ee(e));const s=Ii(i,n,r)?Hn(i):ee(0);let u=(o.left+s.x)/c.x,l=(o.top+s.y)/c.y,f=o.width/c.x,d=o.height/c.y;if(i){const p=K(i),h=r&&Y(r)?K(r):r;let y=p,m=Dt(y);for(;m&&r&&h!==y;){const v=Ee(m),w=m.getBoundingClientRect(),b=X(m),x=w.left+(m.clientLeft+parseFloat(b.paddingLeft))*v.x,C=w.top+(m.clientTop+parseFloat(b.paddingTop))*v.y;u*=v.x,l*=v.y,f*=v.x,d*=v.y,u+=x,l+=C,y=K(m),m=Dt(y)}}return rt({width:f,height:d,x:u,y:l})}function ft(e,t){const n=ut(e).scrollLeft;return t?t.left+n:me(ne(e)).left+n}function zn(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ft(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Ti(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",c=ne(r),s=t?lt(t.floating):!1;if(r===c||s&&i)return n;let u={scrollLeft:0,scrollTop:0},l=ee(1);const f=ee(0),d=te(r);if((d||!d&&!i)&&((Me(r)!=="body"||We(c))&&(u=ut(r)),te(r))){const h=me(r);l=Ee(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const p=c&&!d&&!i?zn(c,u):ee(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+f.x+p.x,y:n.y*l.y-u.scrollTop*l.y+f.y+p.y}}function Ni(e){return Array.from(e.getClientRects())}function Li(e){const t=ne(e),n=ut(e),r=e.ownerDocument.body,o=G(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=G(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let c=-n.scrollLeft+ft(e);const s=-n.scrollTop;return X(r).direction==="rtl"&&(c+=G(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:c,y:s}}const wn=25;function Fi(e,t){const n=K(e),r=ne(e),o=n.visualViewport;let i=r.clientWidth,c=r.clientHeight,s=0,u=0;if(o){i=o.width,c=o.height;const f=Wt();(!f||f&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}const l=ft(r);if(l<=0){const f=r.ownerDocument,d=f.body,p=getComputedStyle(d),h=f.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,y=Math.abs(r.clientWidth-d.clientWidth-h);y<=wn&&(i-=y)}else l<=wn&&(i+=l);return{width:i,height:c,x:s,y:u}}const ki=new Set(["absolute","fixed"]);function ji(e,t){const n=me(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=te(e)?Ee(e):ee(1),c=e.clientWidth*i.x,s=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:c,height:s,x:u,y:l}}function xn(e,t,n){let r;if(t==="viewport")r=Fi(e,n);else if(t==="document")r=Li(ne(e));else if(Y(t))r=ji(t,n);else{const o=Hn(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return rt(r)}function Yn(e,t){const n=ue(e);return n===t||!Y(n)||Se(n)?!1:X(n).position==="fixed"||Yn(n,t)}function $i(e,t){const n=t.get(e);if(n)return n;let r=ke(e,[],!1).filter(s=>Y(s)&&Me(s)!=="body"),o=null;const i=X(e).position==="fixed";let c=i?ue(e):e;for(;Y(c)&&!Se(c);){const s=X(c),u=$t(c);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&ki.has(o.position)||We(c)&&!u&&Yn(e,c))?r=r.filter(f=>f!==c):o=s,c=ue(c)}return t.set(e,r),r}function Wi(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const c=[...n==="clippingAncestors"?lt(t)?[]:$i(t,this._c):[].concat(n),r],s=c[0],u=c.reduce((l,f)=>{const d=xn(t,f,o);return l.top=G(d.top,l.top),l.right=le(d.right,l.right),l.bottom=le(d.bottom,l.bottom),l.left=G(d.left,l.left),l},xn(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Bi(e){const{width:t,height:n}=Kn(e);return{width:t,height:n}}function Vi(e,t,n){const r=te(t),o=ne(t),i=n==="fixed",c=me(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=ee(0);function l(){u.x=ft(o)}if(r||!r&&!i)if((Me(t)!=="body"||We(o))&&(s=ut(t)),r){const h=me(t,!0,i,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else o&&l();i&&!r&&o&&l();const f=o&&!r&&!i?zn(o,s):ee(0),d=c.left+s.scrollLeft-u.x-f.x,p=c.top+s.scrollTop-u.y-f.y;return{x:d,y:p,width:c.width,height:c.height}}function yt(e){return X(e).position==="static"}function bn(e,t){if(!te(e)||X(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ne(e)===n&&(n=n.ownerDocument.body),n}function Xn(e,t){const n=K(e);if(lt(e))return n;if(!te(e)){let o=ue(e);for(;o&&!Se(o);){if(Y(o)&&!yt(o))return o;o=ue(o)}return n}let r=bn(e,t);for(;r&&Ri(r)&&yt(r);)r=bn(r,t);return r&&Se(r)&&yt(r)&&!$t(r)?n:r||Oi(e)||n}const Ui=async function(e){const t=this.getOffsetParent||Xn,n=this.getDimensions,r=await n(e.floating);return{reference:Vi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Gi(e){return X(e).direction==="rtl"}const Ki={convertOffsetParentRelativeRectToViewportRelativeRect:Ti,getDocumentElement:ne,getClippingRect:Wi,getOffsetParent:Xn,getElementRects:Ui,getClientRects:Ni,getDimensions:Bi,getScale:Ee,isElement:Y,isRTL:Gi};function qn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Hi(e,t){let n=null,r;const o=ne(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function c(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const l=e.getBoundingClientRect(),{left:f,top:d,width:p,height:h}=l;if(s||t(),!p||!h)return;const y=He(d),m=He(o.clientWidth-(f+p)),v=He(o.clientHeight-(d+h)),w=He(f),x={rootMargin:-y+"px "+-m+"px "+-v+"px "+-w+"px",threshold:G(0,le(1,u))||1};let C=!0;function E(P){const R=P[0].intersectionRatio;if(R!==u){if(!C)return c();R?c(!1,R):r=setTimeout(()=>{c(!1,1e-7)},1e3)}R===1&&!qn(l,e.getBoundingClientRect())&&c(),C=!1}try{n=new IntersectionObserver(E,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return c(!0),i}function zi(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,l=Bt(e),f=o||i?[...l?ke(l):[],...ke(t)]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const d=l&&s?Hi(l,n):null;let p=-1,h=null;c&&(h=new ResizeObserver(w=>{let[b]=w;b&&b.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),l&&!u&&h.observe(l),h.observe(t));let y,m=u?me(e):null;u&&v();function v(){const w=me(e);m&&!qn(m,w)&&n(),m=w,y=requestAnimationFrame(v)}return n(),()=>{var w;f.forEach(b=>{o&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d==null||d(),(w=h)==null||w.disconnect(),h=null,u&&cancelAnimationFrame(y)}}const Yi=yi,Xi=wi,qi=hi,Zi=bi,Ji=vi,Cn=mi,Qi=xi,es=(e,t,n)=>{const r=new Map,o={platform:Ki,...n},i={...o.platform,_c:r};return pi(e,t,{...o,platform:i})};var ts=typeof document<"u",ns=function(){},Je=ts?a.useLayoutEffect:ns;function ot(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ot(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!ot(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Zn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function En(e,t){const n=Zn(e);return Math.round(t*n)/n}function wt(e){const t=a.useRef(e);return Je(()=>{t.current=e}),t}function rs(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:c}={},transform:s=!0,whileElementsMounted:u,open:l}=e,[f,d]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=a.useState(r);ot(p,r)||h(r);const[y,m]=a.useState(null),[v,w]=a.useState(null),b=a.useCallback(M=>{M!==P.current&&(P.current=M,m(M))},[]),x=a.useCallback(M=>{M!==R.current&&(R.current=M,w(M))},[]),C=i||y,E=c||v,P=a.useRef(null),R=a.useRef(null),A=a.useRef(f),I=u!=null,_=wt(u),F=wt(o),k=wt(l),N=a.useCallback(()=>{if(!P.current||!R.current)return;const M={placement:t,strategy:n,middleware:p};F.current&&(M.platform=F.current),es(P.current,R.current,M).then(S=>{const L={...S,isPositioned:k.current!==!1};T.current&&!ot(A.current,L)&&(A.current=L,Fn.flushSync(()=>{d(L)}))})},[p,t,n,F,k]);Je(()=>{l===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,d(M=>({...M,isPositioned:!1})))},[l]);const T=a.useRef(!1);Je(()=>(T.current=!0,()=>{T.current=!1}),[]),Je(()=>{if(C&&(P.current=C),E&&(R.current=E),C&&E){if(_.current)return _.current(C,E,N);N()}},[C,E,N,_,I]);const W=a.useMemo(()=>({reference:P,floating:R,setReference:b,setFloating:x}),[b,x]),D=a.useMemo(()=>({reference:C,floating:E}),[C,E]),j=a.useMemo(()=>{const M={position:n,left:0,top:0};if(!D.floating)return M;const S=En(D.floating,f.x),L=En(D.floating,f.y);return s?{...M,transform:"translate("+S+"px, "+L+"px)",...Zn(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:L}},[n,s,D.floating,f.x,f.y]);return a.useMemo(()=>({...f,update:N,refs:W,elements:D,floatingStyles:j}),[f,N,W,D,j])}const os=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Cn({element:r.current,padding:o}).fn(n):{}:r?Cn({element:r,padding:o}).fn(n):{}}}},is=(e,t)=>({...Yi(e),options:[e,t]}),ss=(e,t)=>({...Xi(e),options:[e,t]}),cs=(e,t)=>({...Qi(e),options:[e,t]}),as=(e,t)=>({...qi(e),options:[e,t]}),ls=(e,t)=>({...Zi(e),options:[e,t]}),us=(e,t)=>({...Ji(e),options:[e,t]}),fs=(e,t)=>({...os(e),options:[e,t]});var ds="Arrow",Jn=a.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return g.jsx($.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:g.jsx("polygon",{points:"0,0 30,0 15,10"})})});Jn.displayName=ds;var ps=Jn;function ms(e){const[t,n]=a.useState(void 0);return ae(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let c,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;c=l.inlineSize,s=l.blockSize}else c=e.offsetWidth,s=e.offsetHeight;n({width:c,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Vt="Popper",[Qn,er]=Pe(Vt),[hs,tr]=Qn(Vt),nr=e=>{const{__scopePopper:t,children:n}=e,[r,o]=a.useState(null);return g.jsx(hs,{scope:t,anchor:r,onAnchorChange:o,children:n})};nr.displayName=Vt;var rr="PopperAnchor",or=a.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=tr(rr,n),c=a.useRef(null),s=B(t,c),u=a.useRef(null);return a.useEffect(()=>{const l=u.current;u.current=(r==null?void 0:r.current)||c.current,l!==u.current&&i.onAnchorChange(u.current)}),r?null:g.jsx($.div,{...o,ref:s})});or.displayName=rr;var Ut="PopperContent",[vs,gs]=Qn(Ut),ir=a.forwardRef((e,t)=>{var re,De,H,Ie,on,sn;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:c=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:y,...m}=e,v=tr(Ut,n),[w,b]=a.useState(null),x=B(t,Te=>b(Te)),[C,E]=a.useState(null),P=ms(C),R=(P==null?void 0:P.width)??0,A=(P==null?void 0:P.height)??0,I=r+(i!=="center"?"-"+i:""),_=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},F=Array.isArray(l)?l:[l],k=F.length>0,N={padding:_,boundary:F.filter(ws),altBoundary:k},{refs:T,floatingStyles:W,placement:D,isPositioned:j,middlewareData:M}=rs({strategy:"fixed",placement:I,whileElementsMounted:(...Te)=>zi(...Te,{animationFrame:h==="always"}),elements:{reference:v.anchor},middleware:[is({mainAxis:o+A,alignmentAxis:c}),u&&ss({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?cs():void 0,...N}),u&&as({...N}),ls({...N,apply:({elements:Te,rects:cn,availableWidth:Oo,availableHeight:_o})=>{const{width:Do,height:Io}=cn.reference,Ke=Te.floating.style;Ke.setProperty("--radix-popper-available-width",`${Oo}px`),Ke.setProperty("--radix-popper-available-height",`${_o}px`),Ke.setProperty("--radix-popper-anchor-width",`${Do}px`),Ke.setProperty("--radix-popper-anchor-height",`${Io}px`)}}),C&&fs({element:C,padding:s}),xs({arrowWidth:R,arrowHeight:A}),p&&us({strategy:"referenceHidden",...N})]}),[S,L]=ar(D),V=oe(y);ae(()=>{j&&(V==null||V())},[j,V]);const Z=(re=M.arrow)==null?void 0:re.x,Oe=(De=M.arrow)==null?void 0:De.y,_e=((H=M.arrow)==null?void 0:H.centerOffset)!==0,[Ge,de]=a.useState();return ae(()=>{w&&de(window.getComputedStyle(w).zIndex)},[w]),g.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:j?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ge,"--radix-popper-transform-origin":[(Ie=M.transformOrigin)==null?void 0:Ie.x,(on=M.transformOrigin)==null?void 0:on.y].join(" "),...((sn=M.hide)==null?void 0:sn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:g.jsx(vs,{scope:n,placedSide:S,onArrowChange:E,arrowX:Z,arrowY:Oe,shouldHideArrow:_e,children:g.jsx($.div,{"data-side":S,"data-align":L,...m,ref:x,style:{...m.style,animation:j?void 0:"none"}})})})});ir.displayName=Ut;var sr="PopperArrow",ys={top:"bottom",right:"left",bottom:"top",left:"right"},cr=a.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=gs(sr,r),c=ys[i.placedSide];return g.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:g.jsx(ps,{...o,ref:n,style:{...o.style,display:"block"}})})});cr.displayName=sr;function ws(e){return e!==null}var xs=e=>({name:"transformOrigin",options:e,fn(t){var v,w,b;const{placement:n,rects:r,middlewareData:o}=t,c=((v=o.arrow)==null?void 0:v.centerOffset)!==0,s=c?0:e.arrowWidth,u=c?0:e.arrowHeight,[l,f]=ar(n),d={start:"0%",center:"50%",end:"100%"}[f],p=(((w=o.arrow)==null?void 0:w.x)??0)+s/2,h=(((b=o.arrow)==null?void 0:b.y)??0)+u/2;let y="",m="";return l==="bottom"?(y=c?d:`${p}px`,m=`${-u}px`):l==="top"?(y=c?d:`${p}px`,m=`${r.floating.height+u}px`):l==="right"?(y=`${-u}px`,m=c?d:`${h}px`):l==="left"&&(y=`${r.floating.width+u}px`,m=c?d:`${h}px`),{data:{x:y,y:m}}}});function ar(e){const[t,n="center"]=e.split("-");return[t,n]}var bs=nr,Cs=or,Es=ir,Rs=cr,Ss="Portal",Gt=a.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[o,i]=a.useState(!1);ae(()=>i(!0),[]);const c=n||o&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return c?No.createPortal(g.jsx($.div,{...r,ref:t}),c):null});Gt.displayName=Ss;function Ps(e,t){return a.useReducer((n,r)=>t[n][r]??n,e)}var fe=e=>{const{present:t,children:n}=e,r=As(t),o=typeof n=="function"?n({present:r.isPresent}):a.Children.only(n),i=B(r.ref,Ms(o));return typeof n=="function"||r.isPresent?a.cloneElement(o,{ref:i}):null};fe.displayName="Presence";function As(e){const[t,n]=a.useState(),r=a.useRef(null),o=a.useRef(e),i=a.useRef("none"),c=e?"mounted":"unmounted",[s,u]=Ps(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const l=ze(r.current);i.current=s==="mounted"?l:"none"},[s]),ae(()=>{const l=r.current,f=o.current;if(f!==e){const p=i.current,h=ze(l);e?u("MOUNT"):h==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(f&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),ae(()=>{if(t){let l;const f=t.ownerDocument.defaultView??window,d=h=>{const m=ze(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&m&&(u("ANIMATION_END"),!o.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",l=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},p=h=>{h.target===t&&(i.current=ze(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(l),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:a.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function ze(e){return(e==null?void 0:e.animationName)||"none"}function Ms(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Os=kn[" useInsertionEffect ".trim().toString()]||ae;function Kt({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,c]=_s({defaultProp:t,onChange:n}),s=e!==void 0,u=s?e:o;{const f=a.useRef(e!==void 0);a.useEffect(()=>{const d=f.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=s},[s,r])}const l=a.useCallback(f=>{var d;if(s){const p=Ds(f)?f(e):f;p!==e&&((d=c.current)==null||d.call(c,p))}else i(f)},[s,e,i,c]);return[u,l]}function _s({defaultProp:e,onChange:t}){const[n,r]=a.useState(e),o=a.useRef(n),i=a.useRef(t);return Os(()=>{i.current=t},[t]),a.useEffect(()=>{var c;o.current!==n&&((c=i.current)==null||c.call(i,n),o.current=n)},[n,o]),[n,r,i]}function Ds(e){return typeof e=="function"}function Rn(e){const t=Is(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),u=s.find(Ns);if(u){const l=u.props.children,f=s.map(d=>d===u?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:d);return g.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return g.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Is(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=Fs(o),s=Ls(i,o.props);return o.type!==a.Fragment&&(s.ref=r?ve(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ts=Symbol("radix.slottable");function Ns(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ts}function Ls(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Fs(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function lr(e){const t=e+"CollectionProvider",[n,r]=Pe(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:v,children:w}=m,b=pe.useRef(null),x=pe.useRef(new Map).current;return g.jsx(o,{scope:v,itemMap:x,collectionRef:b,children:w})};c.displayName=t;const s=e+"CollectionSlot",u=Rn(s),l=pe.forwardRef((m,v)=>{const{scope:w,children:b}=m,x=i(s,w),C=B(v,x.collectionRef);return g.jsx(u,{ref:C,children:b})});l.displayName=s;const f=e+"CollectionItemSlot",d="data-radix-collection-item",p=Rn(f),h=pe.forwardRef((m,v)=>{const{scope:w,children:b,...x}=m,C=pe.useRef(null),E=B(v,C),P=i(f,w);return pe.useEffect(()=>(P.itemMap.set(C,{ref:C,...x}),()=>void P.itemMap.delete(C))),g.jsx(p,{[d]:"",ref:E,children:b})});h.displayName=f;function y(m){const v=i(e+"CollectionConsumer",m);return pe.useCallback(()=>{const b=v.collectionRef.current;if(!b)return[];const x=Array.from(b.querySelectorAll(`[${d}]`));return Array.from(v.itemMap.values()).sort((P,R)=>x.indexOf(P.ref.current)-x.indexOf(R.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:c,Slot:l,ItemSlot:h},y,r]}var ks=a.createContext(void 0);function ur(e){const t=a.useContext(ks);return e||t||"ltr"}var xt=0;function fr(){a.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Sn()),document.body.insertAdjacentElement("beforeend",e[1]??Sn()),xt++,()=>{xt===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),xt--}},[])}function Sn(){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}var bt="focusScope.autoFocusOnMount",Ct="focusScope.autoFocusOnUnmount",Pn={bubbles:!1,cancelable:!0},js="FocusScope",Ht=a.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=e,[s,u]=a.useState(null),l=oe(o),f=oe(i),d=a.useRef(null),p=B(t,m=>u(m)),h=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let m=function(x){if(h.paused||!s)return;const C=x.target;s.contains(C)?d.current=C:ce(d.current,{select:!0})},v=function(x){if(h.paused||!s)return;const C=x.relatedTarget;C!==null&&(s.contains(C)||ce(d.current,{select:!0}))},w=function(x){if(document.activeElement===document.body)for(const E of x)E.removedNodes.length>0&&ce(s)};document.addEventListener("focusin",m),document.addEventListener("focusout",v);const b=new MutationObserver(w);return s&&b.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",v),b.disconnect()}}},[r,s,h.paused]),a.useEffect(()=>{if(s){Mn.add(h);const m=document.activeElement;if(!s.contains(m)){const w=new CustomEvent(bt,Pn);s.addEventListener(bt,l),s.dispatchEvent(w),w.defaultPrevented||($s(Gs(dr(s)),{select:!0}),document.activeElement===m&&ce(s))}return()=>{s.removeEventListener(bt,l),setTimeout(()=>{const w=new CustomEvent(Ct,Pn);s.addEventListener(Ct,f),s.dispatchEvent(w),w.defaultPrevented||ce(m??document.body,{select:!0}),s.removeEventListener(Ct,f),Mn.remove(h)},0)}}},[s,l,f,h]);const y=a.useCallback(m=>{if(!n&&!r||h.paused)return;const v=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,w=document.activeElement;if(v&&w){const b=m.currentTarget,[x,C]=Ws(b);x&&C?!m.shiftKey&&w===C?(m.preventDefault(),n&&ce(x,{select:!0})):m.shiftKey&&w===x&&(m.preventDefault(),n&&ce(C,{select:!0})):w===b&&m.preventDefault()}},[n,r,h.paused]);return g.jsx($.div,{tabIndex:-1,...c,ref:p,onKeyDown:y})});Ht.displayName=js;function $s(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ce(r,{select:t}),document.activeElement!==n)return}function Ws(e){const t=dr(e),n=An(t,e),r=An(t.reverse(),e);return[n,r]}function dr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode: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}});for(;n.nextNode();)t.push(n.currentNode);return t}function An(e,t){for(const n of e)if(!Bs(n,{upTo:t}))return n}function Bs(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}function Vs(e){return e instanceof HTMLInputElement&&"select"in e}function ce(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Vs(e)&&t&&e.select()}}var Mn=Us();function Us(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=On(e,t),e.unshift(t)},remove(t){var n;e=On(e,t),(n=e[0])==null||n.resume()}}}function On(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Gs(e){return e.filter(t=>t.tagName!=="A")}var Et="rovingFocusGroup.onEntryFocus",Ks={bubbles:!1,cancelable:!0},Be="RovingFocusGroup",[It,pr,Hs]=lr(Be),[zs,mr]=Pe(Be,[Hs]),[Ys,Xs]=zs(Be),hr=a.forwardRef((e,t)=>g.jsx(It.Provider,{scope:e.__scopeRovingFocusGroup,children:g.jsx(It.Slot,{scope:e.__scopeRovingFocusGroup,children:g.jsx(qs,{...e,ref:t})})}));hr.displayName=Be;var qs=a.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:l,preventScrollOnEntryFocus:f=!1,...d}=e,p=a.useRef(null),h=B(t,p),y=ur(i),[m,v]=Kt({prop:c,defaultProp:s??null,onChange:u,caller:Be}),[w,b]=a.useState(!1),x=oe(l),C=pr(n),E=a.useRef(!1),[P,R]=a.useState(0);return a.useEffect(()=>{const A=p.current;if(A)return A.addEventListener(Et,x),()=>A.removeEventListener(Et,x)},[x]),g.jsx(Ys,{scope:n,orientation:r,dir:y,loop:o,currentTabStopId:m,onItemFocus:a.useCallback(A=>v(A),[v]),onItemShiftTab:a.useCallback(()=>b(!0),[]),onFocusableItemAdd:a.useCallback(()=>R(A=>A+1),[]),onFocusableItemRemove:a.useCallback(()=>R(A=>A-1),[]),children:g.jsx($.div,{tabIndex:w||P===0?-1:0,"data-orientation":r,...d,ref:h,style:{outline:"none",...e.style},onMouseDown:O(e.onMouseDown,()=>{E.current=!0}),onFocus:O(e.onFocus,A=>{const I=!E.current;if(A.target===A.currentTarget&&I&&!w){const _=new CustomEvent(Et,Ks);if(A.currentTarget.dispatchEvent(_),!_.defaultPrevented){const F=C().filter(D=>D.focusable),k=F.find(D=>D.active),N=F.find(D=>D.id===m),W=[k,N,...F].filter(Boolean).map(D=>D.ref.current);yr(W,f)}}E.current=!1}),onBlur:O(e.onBlur,()=>b(!1))})})}),vr="RovingFocusGroupItem",gr=a.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:c,...s}=e,u=Ce(),l=i||u,f=Xs(vr,n),d=f.currentTabStopId===l,p=pr(n),{onFocusableItemAdd:h,onFocusableItemRemove:y,currentTabStopId:m}=f;return a.useEffect(()=>{if(r)return h(),()=>y()},[r,h,y]),g.jsx(It.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:g.jsx($.span,{tabIndex:d?0:-1,"data-orientation":f.orientation,...s,ref:t,onMouseDown:O(e.onMouseDown,v=>{r?f.onItemFocus(l):v.preventDefault()}),onFocus:O(e.onFocus,()=>f.onItemFocus(l)),onKeyDown:O(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){f.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const w=Qs(v,f.orientation,f.dir);if(w!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let x=p().filter(C=>C.focusable).map(C=>C.ref.current);if(w==="last")x.reverse();else if(w==="prev"||w==="next"){w==="prev"&&x.reverse();const C=x.indexOf(v.currentTarget);x=f.loop?ec(x,C+1):x.slice(C+1)}setTimeout(()=>yr(x))}}),children:typeof c=="function"?c({isCurrentTabStop:d,hasTabStop:m!=null}):c})})});gr.displayName=vr;var Zs={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Js(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Qs(e,t,n){const r=Js(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Zs[r]}function yr(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function ec(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var tc=hr,nc=gr;function rc(e){const t=oc(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),u=s.find(sc);if(u){const l=u.props.children,f=s.map(d=>d===u?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:d);return g.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return g.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function oc(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=ac(o),s=cc(i,o.props);return o.type!==a.Fragment&&(s.ref=r?ve(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ic=Symbol("radix.slottable");function sc(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ic}function cc(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function ac(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var lc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},we=new WeakMap,Ye=new WeakMap,Xe={},Rt=0,wr=function(e){return e&&(e.host||wr(e.parentNode))},uc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=wr(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})},fc=function(e,t,n,r){var o=uc(t,Array.isArray(e)?e:[e]);Xe[n]||(Xe[n]=new WeakMap);var i=Xe[n],c=[],s=new Set,u=new Set(o),l=function(d){!d||s.has(d)||(s.add(d),l(d.parentNode))};o.forEach(l);var f=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))f(p);else try{var h=p.getAttribute(r),y=h!==null&&h!=="false",m=(we.get(p)||0)+1,v=(i.get(p)||0)+1;we.set(p,m),i.set(p,v),c.push(p),m===1&&y&&Ye.set(p,!0),v===1&&p.setAttribute(n,"true"),y||p.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",p,w)}})};return f(t),s.clear(),Rt++,function(){c.forEach(function(d){var p=we.get(d)-1,h=i.get(d)-1;we.set(d,p),i.set(d,h),p||(Ye.has(d)||d.removeAttribute(r),Ye.delete(d)),h||d.removeAttribute(n)}),Rt--,Rt||(we=new WeakMap,we=new WeakMap,Ye=new WeakMap,Xe={})}},xr=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=lc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),fc(r,o,n,"aria-hidden")):function(){return null}},J=function(){return J=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},J.apply(this,arguments)};function br(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 dc(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 Qe="right-scroll-bar-position",et="width-before-scroll-bar",pc="with-scroll-bars-hidden",mc="--removed-body-scroll-bar-size";function St(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function hc(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 vc=typeof window<"u"?a.useLayoutEffect:a.useEffect,_n=new WeakMap;function gc(e,t){var n=hc(null,function(r){return e.forEach(function(o){return St(o,r)})});return vc(function(){var r=_n.get(n);if(r){var o=new Set(r),i=new Set(e),c=n.current;o.forEach(function(s){i.has(s)||St(s,null)}),i.forEach(function(s){o.has(s)||St(s,c)})}_n.set(n,e)},[e]),n}function yc(e){return e}function wc(e,t){t===void 0&&(t=yc);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 c=t(i,r);return n.push(c),function(){n=n.filter(function(s){return s!==c})}},assignSyncMedium:function(i){for(r=!0;n.length;){var c=n;n=[],c.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var c=[];if(n.length){var s=n;n=[],s.forEach(i),c=n}var u=function(){var f=c;c=[],f.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(f){c.push(f),l()},filter:function(f){return c=c.filter(f),n}}}};return o}function xc(e){e===void 0&&(e={});var t=wc(null);return t.options=J({async:!0,ssr:!1},e),t}var Cr=function(e){var t=e.sideCar,n=br(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,J({},n))};Cr.isSideCarExport=!0;function bc(e,t){return e.useMedium(t),Cr}var Er=xc(),Pt=function(){},dt=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:Pt,onWheelCapture:Pt,onTouchMoveCapture:Pt}),o=r[0],i=r[1],c=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noRelative,y=e.noIsolation,m=e.inert,v=e.allowPinchZoom,w=e.as,b=w===void 0?"div":w,x=e.gapMode,C=br(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,P=gc([n,t]),R=J(J({},C),o);return a.createElement(a.Fragment,null,f&&a.createElement(E,{sideCar:Er,removeScrollBar:l,shards:d,noRelative:h,noIsolation:y,inert:m,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:x}),c?a.cloneElement(a.Children.only(s),J(J({},R),{ref:P})):a.createElement(b,J({},R,{className:u,ref:P}),s))});dt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};dt.classNames={fullWidth:et,zeroRight:Qe};var Cc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ec(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Cc();return t&&e.setAttribute("nonce",t),e}function Rc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Sc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Pc=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ec())&&(Rc(t,n),Sc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ac=function(){var e=Pc();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Rr=function(){var e=Ac(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Mc={left:0,top:0,right:0,gap:0},At=function(e){return parseInt(e||"",10)||0},Oc=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[At(n),At(r),At(o)]},_c=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Mc;var t=Oc(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])}},Dc=Rr(),Re="data-scroll-locked",Ic=function(e,t,n,r){var o=e.left,i=e.top,c=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
10
|
+
.`.concat(pc,` {
|
|
11
|
+
overflow: hidden `).concat(r,`;
|
|
12
|
+
padding-right: `).concat(s,"px ").concat(r,`;
|
|
13
|
+
}
|
|
14
|
+
body[`).concat(Re,`] {
|
|
15
|
+
overflow: hidden `).concat(r,`;
|
|
16
|
+
overscroll-behavior: contain;
|
|
17
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
18
|
+
padding-left: `.concat(o,`px;
|
|
19
|
+
padding-top: `).concat(i,`px;
|
|
20
|
+
padding-right: `).concat(c,`px;
|
|
21
|
+
margin-left:0;
|
|
22
|
+
margin-top:0;
|
|
23
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
24
|
+
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.`).concat(Qe,` {
|
|
28
|
+
right: `).concat(s,"px ").concat(r,`;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.`).concat(et,` {
|
|
32
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.`).concat(Qe," .").concat(Qe,` {
|
|
36
|
+
right: 0 `).concat(r,`;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.`).concat(et," .").concat(et,` {
|
|
40
|
+
margin-right: 0 `).concat(r,`;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
body[`).concat(Re,`] {
|
|
44
|
+
`).concat(mc,": ").concat(s,`px;
|
|
45
|
+
}
|
|
46
|
+
`)},Dn=function(){var e=parseInt(document.body.getAttribute(Re)||"0",10);return isFinite(e)?e:0},Tc=function(){a.useEffect(function(){return document.body.setAttribute(Re,(Dn()+1).toString()),function(){var e=Dn()-1;e<=0?document.body.removeAttribute(Re):document.body.setAttribute(Re,e.toString())}},[])},Nc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Tc();var i=a.useMemo(function(){return _c(o)},[o]);return a.createElement(Dc,{styles:Ic(i,!t,o,n?"":"!important")})},Tt=!1;if(typeof window<"u")try{var qe=Object.defineProperty({},"passive",{get:function(){return Tt=!0,!0}});window.addEventListener("test",qe,qe),window.removeEventListener("test",qe,qe)}catch{Tt=!1}var xe=Tt?{passive:!1}:!1,Lc=function(e){return e.tagName==="TEXTAREA"},Sr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Lc(e)&&n[t]==="visible")},Fc=function(e){return Sr(e,"overflowY")},kc=function(e){return Sr(e,"overflowX")},In=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Pr(e,r);if(o){var i=Ar(e,r),c=i[1],s=i[2];if(c>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},jc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},$c=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Pr=function(e,t){return e==="v"?Fc(t):kc(t)},Ar=function(e,t){return e==="v"?jc(t):$c(t)},Wc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Bc=function(e,t,n,r,o){var i=Wc(e,window.getComputedStyle(t).direction),c=i*r,s=n.target,u=t.contains(s),l=!1,f=c>0,d=0,p=0;do{if(!s)break;var h=Ar(e,s),y=h[0],m=h[1],v=h[2],w=m-v-i*y;(y||w)&&Pr(e,s)&&(d+=w,p+=y);var b=s.parentNode;s=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(f&&Math.abs(d)<1||!f&&Math.abs(p)<1)&&(l=!0),l},Ze=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Tn=function(e){return[e.deltaX,e.deltaY]},Nn=function(e){return e&&"current"in e?e.current:e},Vc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Uc=function(e){return`
|
|
47
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
48
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
49
|
+
`)},Gc=0,be=[];function Kc(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(Gc++)[0],i=a.useState(Rr)[0],c=a.useRef(e);a.useEffect(function(){c.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=dc([e.lockRef.current],(e.shards||[]).map(Nn),!0).filter(Boolean);return m.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=a.useCallback(function(m,v){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!c.current.allowPinchZoom;var w=Ze(m),b=n.current,x="deltaX"in m?m.deltaX:b[0]-w[0],C="deltaY"in m?m.deltaY:b[1]-w[1],E,P=m.target,R=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in m&&R==="h"&&P.type==="range")return!1;var A=In(R,P);if(!A)return!0;if(A?E=R:(E=R==="v"?"h":"v",A=In(R,P)),!A)return!1;if(!r.current&&"changedTouches"in m&&(x||C)&&(r.current=E),!E)return!0;var I=r.current||E;return Bc(I,v,m,I==="h"?x:C)},[]),u=a.useCallback(function(m){var v=m;if(!(!be.length||be[be.length-1]!==i)){var w="deltaY"in v?Tn(v):Ze(v),b=t.current.filter(function(E){return E.name===v.type&&(E.target===v.target||v.target===E.shadowParent)&&Vc(E.delta,w)})[0];if(b&&b.should){v.cancelable&&v.preventDefault();return}if(!b){var x=(c.current.shards||[]).map(Nn).filter(Boolean).filter(function(E){return E.contains(v.target)}),C=x.length>0?s(v,x[0]):!c.current.noIsolation;C&&v.cancelable&&v.preventDefault()}}},[]),l=a.useCallback(function(m,v,w,b){var x={name:m,delta:v,target:w,should:b,shadowParent:Hc(w)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),f=a.useCallback(function(m){n.current=Ze(m),r.current=void 0},[]),d=a.useCallback(function(m){l(m.type,Tn(m),m.target,s(m,e.lockRef.current))},[]),p=a.useCallback(function(m){l(m.type,Ze(m),m.target,s(m,e.lockRef.current))},[]);a.useEffect(function(){return be.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,xe),document.addEventListener("touchmove",u,xe),document.addEventListener("touchstart",f,xe),function(){be=be.filter(function(m){return m!==i}),document.removeEventListener("wheel",u,xe),document.removeEventListener("touchmove",u,xe),document.removeEventListener("touchstart",f,xe)}},[]);var h=e.removeScrollBar,y=e.inert;return a.createElement(a.Fragment,null,y?a.createElement(i,{styles:Uc(o)}):null,h?a.createElement(Nc,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Hc(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const zc=bc(Er,Kc);var zt=a.forwardRef(function(e,t){return a.createElement(dt,J({},e,{ref:t,sideCar:zc}))});zt.classNames=dt.classNames;var Nt=["Enter"," "],Yc=["ArrowDown","PageUp","Home"],Mr=["ArrowUp","PageDown","End"],Xc=[...Yc,...Mr],qc={ltr:[...Nt,"ArrowRight"],rtl:[...Nt,"ArrowLeft"]},Zc={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ve="Menu",[je,Jc,Qc]=lr(Ve),[ge,Or]=Pe(Ve,[Qc,er,mr]),pt=er(),_r=mr(),[ea,ye]=ge(Ve),[ta,Ue]=ge(Ve),Dr=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:c=!0}=e,s=pt(t),[u,l]=a.useState(null),f=a.useRef(!1),d=oe(i),p=ur(o);return a.useEffect(()=>{const h=()=>{f.current=!0,document.addEventListener("pointerdown",y,{capture:!0,once:!0}),document.addEventListener("pointermove",y,{capture:!0,once:!0})},y=()=>f.current=!1;return document.addEventListener("keydown",h,{capture:!0}),()=>{document.removeEventListener("keydown",h,{capture:!0}),document.removeEventListener("pointerdown",y,{capture:!0}),document.removeEventListener("pointermove",y,{capture:!0})}},[]),g.jsx(bs,{...s,children:g.jsx(ea,{scope:t,open:n,onOpenChange:d,content:u,onContentChange:l,children:g.jsx(ta,{scope:t,onClose:a.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:p,modal:c,children:r})})})};Dr.displayName=Ve;var na="MenuAnchor",Yt=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=pt(n);return g.jsx(Cs,{...o,...r,ref:t})});Yt.displayName=na;var Xt="MenuPortal",[ra,Ir]=ge(Xt,{forceMount:void 0}),Tr=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=ye(Xt,t);return g.jsx(ra,{scope:t,forceMount:n,children:g.jsx(fe,{present:n||i.open,children:g.jsx(Gt,{asChild:!0,container:o,children:r})})})};Tr.displayName=Xt;var z="MenuContent",[oa,qt]=ge(z),Nr=a.forwardRef((e,t)=>{const n=Ir(z,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ye(z,e.__scopeMenu),c=Ue(z,e.__scopeMenu);return g.jsx(je.Provider,{scope:e.__scopeMenu,children:g.jsx(fe,{present:r||i.open,children:g.jsx(je.Slot,{scope:e.__scopeMenu,children:c.modal?g.jsx(ia,{...o,ref:t}):g.jsx(sa,{...o,ref:t})})})})}),ia=a.forwardRef((e,t)=>{const n=ye(z,e.__scopeMenu),r=a.useRef(null),o=B(t,r);return a.useEffect(()=>{const i=r.current;if(i)return xr(i)},[]),g.jsx(Zt,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:O(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),sa=a.forwardRef((e,t)=>{const n=ye(z,e.__scopeMenu);return g.jsx(Zt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ca=rc("MenuContent.ScrollLock"),Zt=a.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:u,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:h,disableOutsideScroll:y,...m}=e,v=ye(z,n),w=Ue(z,n),b=pt(n),x=_r(n),C=Jc(n),[E,P]=a.useState(null),R=a.useRef(null),A=B(t,R,v.onContentChange),I=a.useRef(0),_=a.useRef(""),F=a.useRef(0),k=a.useRef(null),N=a.useRef("right"),T=a.useRef(0),W=y?zt:a.Fragment,D=y?{as:ca,allowPinchZoom:!0}:void 0,j=S=>{var re,De;const L=_.current+S,V=C().filter(H=>!H.disabled),Z=document.activeElement,Oe=(re=V.find(H=>H.ref.current===Z))==null?void 0:re.textValue,_e=V.map(H=>H.textValue),Ge=wa(_e,L,Oe),de=(De=V.find(H=>H.textValue===Ge))==null?void 0:De.ref.current;(function H(Ie){_.current=Ie,window.clearTimeout(I.current),Ie!==""&&(I.current=window.setTimeout(()=>H(""),1e3))})(L),de&&setTimeout(()=>de.focus())};a.useEffect(()=>()=>window.clearTimeout(I.current),[]),fr();const M=a.useCallback(S=>{var V,Z;return N.current===((V=k.current)==null?void 0:V.side)&&ba(S,(Z=k.current)==null?void 0:Z.area)},[]);return g.jsx(oa,{scope:n,searchRef:_,onItemEnter:a.useCallback(S=>{M(S)&&S.preventDefault()},[M]),onItemLeave:a.useCallback(S=>{var L;M(S)||((L=R.current)==null||L.focus(),P(null))},[M]),onTriggerLeave:a.useCallback(S=>{M(S)&&S.preventDefault()},[M]),pointerGraceTimerRef:F,onPointerGraceIntentChange:a.useCallback(S=>{k.current=S},[]),children:g.jsx(W,{...D,children:g.jsx(Ht,{asChild:!0,trapped:o,onMountAutoFocus:O(i,S=>{var L;S.preventDefault(),(L=R.current)==null||L.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:g.jsx(Lt,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:h,children:g.jsx(tc,{asChild:!0,...x,dir:w.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:P,onEntryFocus:O(u,S=>{w.isUsingKeyboardRef.current||S.preventDefault()}),preventScrollOnEntryFocus:!0,children:g.jsx(Es,{role:"menu","aria-orientation":"vertical","data-state":qr(v.open),"data-radix-menu-content":"",dir:w.dir,...b,...m,ref:A,style:{outline:"none",...m.style},onKeyDown:O(m.onKeyDown,S=>{const V=S.target.closest("[data-radix-menu-content]")===S.currentTarget,Z=S.ctrlKey||S.altKey||S.metaKey,Oe=S.key.length===1;V&&(S.key==="Tab"&&S.preventDefault(),!Z&&Oe&&j(S.key));const _e=R.current;if(S.target!==_e||!Xc.includes(S.key))return;S.preventDefault();const de=C().filter(re=>!re.disabled).map(re=>re.ref.current);Mr.includes(S.key)&&de.reverse(),ga(de)}),onBlur:O(e.onBlur,S=>{S.currentTarget.contains(S.target)||(window.clearTimeout(I.current),_.current="")}),onPointerMove:O(e.onPointerMove,$e(S=>{const L=S.target,V=T.current!==S.clientX;if(S.currentTarget.contains(L)&&V){const Z=S.clientX>T.current?"right":"left";N.current=Z,T.current=S.clientX}}))})})})})})})});Nr.displayName=z;var aa="MenuGroup",Jt=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return g.jsx($.div,{role:"group",...r,ref:t})});Jt.displayName=aa;var la="MenuLabel",Lr=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return g.jsx($.div,{...r,ref:t})});Lr.displayName=la;var it="MenuItem",Ln="menu.itemSelect",mt=a.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=a.useRef(null),c=Ue(it,e.__scopeMenu),s=qt(it,e.__scopeMenu),u=B(t,i),l=a.useRef(!1),f=()=>{const d=i.current;if(!n&&d){const p=new CustomEvent(Ln,{bubbles:!0,cancelable:!0});d.addEventListener(Ln,h=>r==null?void 0:r(h),{once:!0}),jn(d,p),p.defaultPrevented?l.current=!1:c.onClose()}};return g.jsx(Fr,{...o,ref:u,disabled:n,onClick:O(e.onClick,f),onPointerDown:d=>{var p;(p=e.onPointerDown)==null||p.call(e,d),l.current=!0},onPointerUp:O(e.onPointerUp,d=>{var p;l.current||(p=d.currentTarget)==null||p.click()}),onKeyDown:O(e.onKeyDown,d=>{const p=s.searchRef.current!=="";n||p&&d.key===" "||Nt.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});mt.displayName=it;var Fr=a.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,c=qt(it,n),s=_r(n),u=a.useRef(null),l=B(t,u),[f,d]=a.useState(!1),[p,h]=a.useState("");return a.useEffect(()=>{const y=u.current;y&&h((y.textContent??"").trim())},[i.children]),g.jsx(je.ItemSlot,{scope:n,disabled:r,textValue:o??p,children:g.jsx(nc,{asChild:!0,...s,focusable:!r,children:g.jsx($.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:l,onPointerMove:O(e.onPointerMove,$e(y=>{r?c.onItemLeave(y):(c.onItemEnter(y),y.defaultPrevented||y.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:O(e.onPointerLeave,$e(y=>c.onItemLeave(y))),onFocus:O(e.onFocus,()=>d(!0)),onBlur:O(e.onBlur,()=>d(!1))})})})}),ua="MenuCheckboxItem",kr=a.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return g.jsx(Vr,{scope:e.__scopeMenu,checked:n,children:g.jsx(mt,{role:"menuitemcheckbox","aria-checked":st(n)?"mixed":n,...o,ref:t,"data-state":en(n),onSelect:O(o.onSelect,()=>r==null?void 0:r(st(n)?!0:!n),{checkForDefaultPrevented:!1})})})});kr.displayName=ua;var jr="MenuRadioGroup",[fa,da]=ge(jr,{value:void 0,onValueChange:()=>{}}),$r=a.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=oe(r);return g.jsx(fa,{scope:e.__scopeMenu,value:n,onValueChange:i,children:g.jsx(Jt,{...o,ref:t})})});$r.displayName=jr;var Wr="MenuRadioItem",Br=a.forwardRef((e,t)=>{const{value:n,...r}=e,o=da(Wr,e.__scopeMenu),i=n===o.value;return g.jsx(Vr,{scope:e.__scopeMenu,checked:i,children:g.jsx(mt,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":en(i),onSelect:O(r.onSelect,()=>{var c;return(c=o.onValueChange)==null?void 0:c.call(o,n)},{checkForDefaultPrevented:!1})})})});Br.displayName=Wr;var Qt="MenuItemIndicator",[Vr,pa]=ge(Qt,{checked:!1}),Ur=a.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=pa(Qt,n);return g.jsx(fe,{present:r||st(i.checked)||i.checked===!0,children:g.jsx($.span,{...o,ref:t,"data-state":en(i.checked)})})});Ur.displayName=Qt;var ma="MenuSeparator",Gr=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return g.jsx($.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Gr.displayName=ma;var ha="MenuArrow",Kr=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=pt(n);return g.jsx(Rs,{...o,...r,ref:t})});Kr.displayName=ha;var va="MenuSub",[vl,Hr]=ge(va),Le="MenuSubTrigger",zr=a.forwardRef((e,t)=>{const n=ye(Le,e.__scopeMenu),r=Ue(Le,e.__scopeMenu),o=Hr(Le,e.__scopeMenu),i=qt(Le,e.__scopeMenu),c=a.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:u}=i,l={__scopeMenu:e.__scopeMenu},f=a.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return a.useEffect(()=>f,[f]),a.useEffect(()=>{const d=s.current;return()=>{window.clearTimeout(d),u(null)}},[s,u]),g.jsx(Yt,{asChild:!0,...l,children:g.jsx(Fr,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":qr(n.open),...e,ref:ve(t,o.onTriggerChange),onClick:d=>{var p;(p=e.onClick)==null||p.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:O(e.onPointerMove,$e(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!c.current&&(i.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:O(e.onPointerLeave,$e(d=>{var h,y;f();const p=(h=n.content)==null?void 0:h.getBoundingClientRect();if(p){const m=(y=n.content)==null?void 0:y.dataset.side,v=m==="right",w=v?-5:5,b=p[v?"left":"right"],x=p[v?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+w,y:d.clientY},{x:b,y:p.top},{x,y:p.top},{x,y:p.bottom},{x:b,y:p.bottom}],side:m}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:O(e.onKeyDown,d=>{var h;const p=i.searchRef.current!=="";e.disabled||p&&d.key===" "||qc[r.dir].includes(d.key)&&(n.onOpenChange(!0),(h=n.content)==null||h.focus(),d.preventDefault())})})})});zr.displayName=Le;var Yr="MenuSubContent",Xr=a.forwardRef((e,t)=>{const n=Ir(z,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ye(z,e.__scopeMenu),c=Ue(z,e.__scopeMenu),s=Hr(Yr,e.__scopeMenu),u=a.useRef(null),l=B(t,u);return g.jsx(je.Provider,{scope:e.__scopeMenu,children:g.jsx(fe,{present:r||i.open,children:g.jsx(je.Slot,{scope:e.__scopeMenu,children:g.jsx(Zt,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:l,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var d;c.isUsingKeyboardRef.current&&((d=u.current)==null||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:O(e.onFocusOutside,f=>{f.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:O(e.onEscapeKeyDown,f=>{c.onClose(),f.preventDefault()}),onKeyDown:O(e.onKeyDown,f=>{var h;const d=f.currentTarget.contains(f.target),p=Zc[c.dir].includes(f.key);d&&p&&(i.onOpenChange(!1),(h=s.trigger)==null||h.focus(),f.preventDefault())})})})})})});Xr.displayName=Yr;function qr(e){return e?"open":"closed"}function st(e){return e==="indeterminate"}function en(e){return st(e)?"indeterminate":e?"checked":"unchecked"}function ga(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function ya(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function wa(e,t,n){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let c=ya(e,Math.max(i,0));o.length===1&&(c=c.filter(l=>l!==n));const u=c.find(l=>l.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}function xa(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,c=t.length-1;i<t.length;c=i++){const s=t[i],u=t[c],l=s.x,f=s.y,d=u.x,p=u.y;f>r!=p>r&&n<(d-l)*(r-f)/(p-f)+l&&(o=!o)}return o}function ba(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return xa(n,t)}function $e(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Ca=Dr,Ea=Yt,Ra=Tr,Sa=Nr,Pa=Jt,Aa=Lr,Ma=mt,Oa=kr,_a=$r,Da=Br,Ia=Ur,Ta=Gr,Na=Kr,La=zr,Fa=Xr,ht="DropdownMenu",[ka]=Pe(ht,[Or]),U=Or(),[ja,Zr]=ka(ht),Jr=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:c,modal:s=!0}=e,u=U(t),l=a.useRef(null),[f,d]=Kt({prop:o,defaultProp:i??!1,onChange:c,caller:ht});return g.jsx(ja,{scope:t,triggerId:Ce(),triggerRef:l,contentId:Ce(),open:f,onOpenChange:d,onOpenToggle:a.useCallback(()=>d(p=>!p),[d]),modal:s,children:g.jsx(Ca,{...u,open:f,onOpenChange:d,dir:r,modal:s,children:n})})};Jr.displayName=ht;var Qr="DropdownMenuTrigger",eo=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=Zr(Qr,n),c=U(n);return g.jsx(Ea,{asChild:!0,...c,children:g.jsx($.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:ve(t,i.triggerRef),onPointerDown:O(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:O(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});eo.displayName=Qr;var $a="DropdownMenuPortal",to=e=>{const{__scopeDropdownMenu:t,...n}=e,r=U(t);return g.jsx(Ra,{...r,...n})};to.displayName=$a;var no="DropdownMenuContent",ro=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Zr(no,n),i=U(n),c=a.useRef(!1);return g.jsx(Sa,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:O(e.onCloseAutoFocus,s=>{var u;c.current||(u=o.triggerRef.current)==null||u.focus(),c.current=!1,s.preventDefault()}),onInteractOutside:O(e.onInteractOutside,s=>{const u=s.detail.originalEvent,l=u.button===0&&u.ctrlKey===!0,f=u.button===2||l;(!o.modal||f)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});ro.displayName=no;var Wa="DropdownMenuGroup",Ba=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Pa,{...o,...r,ref:t})});Ba.displayName=Wa;var Va="DropdownMenuLabel",oo=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Aa,{...o,...r,ref:t})});oo.displayName=Va;var Ua="DropdownMenuItem",io=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Ma,{...o,...r,ref:t})});io.displayName=Ua;var Ga="DropdownMenuCheckboxItem",so=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Oa,{...o,...r,ref:t})});so.displayName=Ga;var Ka="DropdownMenuRadioGroup",Ha=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(_a,{...o,...r,ref:t})});Ha.displayName=Ka;var za="DropdownMenuRadioItem",co=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Da,{...o,...r,ref:t})});co.displayName=za;var Ya="DropdownMenuItemIndicator",ao=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Ia,{...o,...r,ref:t})});ao.displayName=Ya;var Xa="DropdownMenuSeparator",lo=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Ta,{...o,...r,ref:t})});lo.displayName=Xa;var qa="DropdownMenuArrow",Za=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Na,{...o,...r,ref:t})});Za.displayName=qa;var Ja="DropdownMenuSubTrigger",uo=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(La,{...o,...r,ref:t})});uo.displayName=Ja;var Qa="DropdownMenuSubContent",fo=a.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=U(n);return g.jsx(Fa,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});fo.displayName=Qa;var gl=Jr,yl=eo,wl=to,xl=ro,bl=oo,Cl=io,El=so,Rl=co,Sl=ao,Pl=lo,Al=uo,Ml=fo;function el(e){const t=tl(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),u=s.find(rl);if(u){const l=u.props.children,f=s.map(d=>d===u?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:d);return g.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return g.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function tl(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=il(o),s=ol(i,o.props);return o.type!==a.Fragment&&(s.ref=r?ve(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var nl=Symbol("radix.slottable");function rl(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nl}function ol(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function il(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vt="Dialog",[po,Ol]=Pe(vt),[sl,q]=po(vt),mo=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:c=!0}=e,s=a.useRef(null),u=a.useRef(null),[l,f]=Kt({prop:r,defaultProp:o??!1,onChange:i,caller:vt});return g.jsx(sl,{scope:t,triggerRef:s,contentRef:u,contentId:Ce(),titleId:Ce(),descriptionId:Ce(),open:l,onOpenChange:f,onOpenToggle:a.useCallback(()=>f(d=>!d),[f]),modal:c,children:n})};mo.displayName=vt;var ho="DialogTrigger",vo=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(ho,n),i=B(t,o.triggerRef);return g.jsx($.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":rn(o.open),...r,ref:i,onClick:O(e.onClick,o.onOpenToggle)})});vo.displayName=ho;var tn="DialogPortal",[cl,go]=po(tn,{forceMount:void 0}),yo=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=q(tn,t);return g.jsx(cl,{scope:t,forceMount:n,children:a.Children.map(r,c=>g.jsx(fe,{present:n||i.open,children:g.jsx(Gt,{asChild:!0,container:o,children:c})}))})};yo.displayName=tn;var ct="DialogOverlay",wo=a.forwardRef((e,t)=>{const n=go(ct,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=q(ct,e.__scopeDialog);return i.modal?g.jsx(fe,{present:r||i.open,children:g.jsx(ll,{...o,ref:t})}):null});wo.displayName=ct;var al=el("DialogOverlay.RemoveScroll"),ll=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(ct,n);return g.jsx(zt,{as:al,allowPinchZoom:!0,shards:[o.contentRef],children:g.jsx($.div,{"data-state":rn(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),he="DialogContent",xo=a.forwardRef((e,t)=>{const n=go(he,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=q(he,e.__scopeDialog);return g.jsx(fe,{present:r||i.open,children:i.modal?g.jsx(ul,{...o,ref:t}):g.jsx(fl,{...o,ref:t})})});xo.displayName=he;var ul=a.forwardRef((e,t)=>{const n=q(he,e.__scopeDialog),r=a.useRef(null),o=B(t,n.contentRef,r);return a.useEffect(()=>{const i=r.current;if(i)return xr(i)},[]),g.jsx(bo,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:O(e.onCloseAutoFocus,i=>{var c;i.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:O(e.onPointerDownOutside,i=>{const c=i.detail.originalEvent,s=c.button===0&&c.ctrlKey===!0;(c.button===2||s)&&i.preventDefault()}),onFocusOutside:O(e.onFocusOutside,i=>i.preventDefault())})}),fl=a.forwardRef((e,t)=>{const n=q(he,e.__scopeDialog),r=a.useRef(!1),o=a.useRef(!1);return g.jsx(bo,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var c,s;(c=e.onCloseAutoFocus)==null||c.call(e,i),i.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var u,l;(u=e.onInteractOutside)==null||u.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((l=n.triggerRef.current)==null?void 0:l.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),bo=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...c}=e,s=q(he,n),u=a.useRef(null),l=B(t,u);return fr(),g.jsxs(g.Fragment,{children:[g.jsx(Ht,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:g.jsx(Lt,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":rn(s.open),...c,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),g.jsxs(g.Fragment,{children:[g.jsx(dl,{titleId:s.titleId}),g.jsx(ml,{contentRef:u,descriptionId:s.descriptionId})]})]})}),nn="DialogTitle",Co=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(nn,n);return g.jsx($.h2,{id:o.titleId,...r,ref:t})});Co.displayName=nn;var Eo="DialogDescription",Ro=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(Eo,n);return g.jsx($.p,{id:o.descriptionId,...r,ref:t})});Ro.displayName=Eo;var So="DialogClose",Po=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(So,n);return g.jsx($.button,{type:"button",...r,ref:t,onClick:O(e.onClick,()=>o.onOpenChange(!1))})});Po.displayName=So;function rn(e){return e?"open":"closed"}var Ao="DialogTitleWarning",[_l,Mo]=ko(Ao,{contentName:he,titleName:nn,docsSlug:"dialog"}),dl=({titleId:e})=>{const t=Mo(Ao),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
50
|
+
|
|
51
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
52
|
+
|
|
53
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},pl="DialogDescriptionWarning",ml=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Mo(pl).contentName}}.`;return a.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Dl=mo,Il=vo,Tl=yo,Nl=wo,Ll=xo,Fl=Co,kl=Ro,jl=Po;export{Cs as A,lr as B,Es as C,Lt as D,ae as E,oe as F,xr as G,fr as H,Cl as I,zt as J,Ht as K,bl as L,ur as M,Ol as N,Nl as O,$ as P,jl as Q,bs as R,Al as S,yl as T,mr as U,tc as V,_l as W,nc as X,fe as a,Gt as b,Pe as c,er as d,Ce as e,Kt as f,O as g,Rs as h,Ml as i,g as j,wl as k,xl as l,El as m,Sl as n,Rl as o,Pl as p,gl as q,ve as r,Tl as s,Ll as t,B as u,Fl as v,kl as w,Dl as x,Il as y,ms as z};
|
|
54
|
+
//# sourceMappingURL=ui-vendor-DlxvBun1.js.map
|