@polderlabs/bizar 10.7.2 → 10.10.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/.claude/agents/_shared/AGENT_BASELINE.md +48 -243
- package/.claude/agents/_shared/CLAUDE_TOOLS.md +4 -2
- package/.claude/agents/_shared/SKILLS.md +18 -95
- package/.claude/agents/brand-designer.md +7 -5
- package/.claude/agents/debug-specialist.md +68 -0
- package/.claude/agents/exec-assistant.md +2 -1
- package/.claude/agents/help-desk.md +3 -3
- package/.claude/agents/it-lead.md +5 -5
- package/.claude/agents/knowledge-manager.md +2 -2
- package/.claude/agents/office-coordinator.md +3 -4
- package/.claude/agents/office-greeter.md +5 -5
- package/.claude/agents/office-manager.md +127 -42
- package/.claude/agents/planner.md +120 -0
- package/.claude/agents/principal-engineer.md +6 -5
- package/.claude/agents/qa-reviewer.md +4 -4
- package/.claude/agents/research-analyst.md +13 -43
- package/.claude/agents/senior-engineer.md +5 -4
- package/.claude/agents/support-tech.md +21 -73
- package/.claude/agents/ui-designer.md +89 -0
- package/.claude/commands/bizar.md +9 -16
- package/.claude/commands/cron.md +7 -3
- package/.claude/commands/learn.md +4 -2
- package/.claude/commands/plan.md +14 -28
- package/.claude/commands/plow-through.md +19 -38
- package/.claude/commands/pr-review.md +2 -3
- package/.claude/commands/setup-provider.md +15 -88
- package/.claude/commands/sprint.md +3 -3
- package/.claude/commands/tailscale-serve.md +9 -95
- package/.claude/commands/team.md +26 -122
- package/.claude/commands/test.md +3 -3
- package/.claude/commands/use-default.md +53 -0
- package/.claude/commands/use-premium.md +74 -0
- package/.claude/commands/validate.md +13 -61
- package/.claude/hooks/README.md +24 -108
- package/.claude/hooks/advisor-context.mjs +42 -0
- package/.claude/hooks/agent-grounding.mjs +41 -0
- package/.claude/hooks/content-style-guard.mjs +73 -0
- package/.claude/hooks/control-inbox.mjs +48 -0
- package/.claude/hooks/git-workflow-guard.mjs +104 -0
- package/.claude/hooks/learning-extract.mjs +0 -0
- package/.claude/hooks/path-ownership-guard.mjs +89 -0
- package/.claude/hooks/precompact-priorities.sh +11 -0
- package/.claude/hooks/pretooluse-bash.mjs +4 -11
- package/.claude/hooks/sessionend-recall.mjs +0 -0
- package/.claude/hooks/sessionstart-prime.mjs +10 -4
- package/.claude/hooks/simplify-guard.mjs +51 -0
- package/.claude/hooks/telemetry.mjs +69 -0
- package/.claude/hooks/thinking-route.mjs +7 -9
- package/.claude/hooks/worker-suggest.mjs +21 -13
- package/.claude/hooks/worktree-bootstrap.mjs +64 -0
- package/.claude/model-router.json +57 -0
- package/.claude/settings.json +92 -140
- package/AGENTS.md +95 -0
- package/README.md +76 -472
- package/cli/agent-browser-update.mjs +87 -274
- package/cli/atomic.mjs +1 -1
- package/cli/audit.mjs +31 -121
- package/cli/banner.mjs +3 -14
- package/cli/bin.mjs +83 -331
- package/cli/bootstrap.mjs +9 -12
- package/cli/commands/claude-cmd.mjs +45 -309
- package/cli/commands/control.mjs +102 -0
- package/cli/commands/install.mjs +9 -56
- package/cli/commands/rca.mjs +63 -165
- package/cli/commands/sandbox.mjs +89 -183
- package/cli/commands/setup-provider.mjs +65 -423
- package/cli/commands/task.mjs +249 -0
- package/cli/commands/util.mjs +37 -197
- package/cli/commands/validate.mjs +45 -75
- package/cli/control-store.mjs +312 -0
- package/{bizar-dash/src/server → cli/core}/backup-store.mjs +7 -17
- package/cli/doctor.mjs +8 -13
- package/cli/export.mjs +3 -7
- package/cli/init.mjs +1 -135
- package/cli/install/banner.mjs +4 -14
- package/cli/install/paths.mjs +3 -8
- package/cli/install.mjs +2 -7
- package/cli/migrate.mjs +24 -24
- package/{bizar-dash/src/server → cli}/progress-parser.mjs +7 -5
- package/cli/provision.mjs +140 -165
- package/cli/task-ledger.mjs +842 -0
- package/cli/update.mjs +2 -2
- package/cli/utils.mjs +1 -38
- package/config/AGENTS.md +14 -591
- package/config/rules/general.md +1 -1
- package/config/rules/uncertainty.md +2 -2
- package/config/skills/9router/SKILL.md +3 -3
- package/config/skills/9router-tts/SKILL.md +1 -1
- package/config/skills/agent-browser/SKILL.md +53 -0
- package/config/skills/bizar/README.md +3 -3
- package/config/skills/bizar/SKILL.md +31 -431
- package/config/skills/clean-gone-branches/SKILL.md +8 -0
- package/config/skills/commit-staged/SKILL.md +15 -0
- package/config/skills/cpp-coding-standards/README.md +3 -3
- package/config/skills/cpp-testing/README.md +2 -2
- package/config/skills/create-pr/SKILL.md +16 -0
- package/config/skills/cubesandbox/SKILL.md +33 -128
- package/config/skills/embedded-esp-idf/README.md +3 -3
- package/config/skills/harness-engineering/SKILL.md +37 -126
- package/config/skills/read-the-damn-docs/SKILL.md +2 -2
- package/config/skills/resolve-pr-comments/SKILL.md +14 -0
- package/config/skills/review-pr/SKILL.md +10 -0
- package/config/skills/self-improvement/SKILL.md +19 -54
- package/config/skills/simplify/SKILL.md +15 -0
- package/config/skills/update-pr-summary/SKILL.md +8 -0
- package/config/trigger-patterns.json +11 -25
- package/package.json +28 -102
- package/packages/sdk/dist/agent-registry.d.ts +2 -2
- package/packages/sdk/dist/agent-registry.js +2 -2
- package/packages/sdk/dist/consensus/index.d.ts +4 -4
- package/packages/sdk/dist/consensus/index.js +5 -5
- package/packages/sdk/dist/federation/envelope.d.ts +1 -1
- package/packages/sdk/dist/federation/envelope.js +2 -2
- package/packages/sdk/dist/index.d.ts +1 -4
- package/packages/sdk/dist/index.js +1 -4
- package/packages/sdk/dist/mcp/server.d.ts +8 -13
- package/packages/sdk/dist/mcp/server.js +15 -77
- package/packages/sdk/dist/router/index.d.ts +2 -2
- package/packages/sdk/dist/router/index.js +2 -2
- package/packages/sdk/dist/version.d.ts +2 -2
- package/packages/sdk/dist/version.js +2 -2
- package/packages/sdk/package.json +1 -2
- package/scripts/git-hooks/pre-commit +2 -2
- package/scripts/git-hooks/pre-push +3 -3
- package/scripts/install-hooks.sh +2 -2
- package/.claude/agents/vp-engineering.md +0 -54
- package/.claude/commands/goal.md +0 -99
- package/.claude/commands/visual-plan.md +0 -24
- package/.claude/hooks/__tests__/pretooluse-editwrite.test.mjs +0 -146
- package/.claude/hooks/__tests__/sessionend-recall.test.mjs +0 -256
- package/.claude/hooks/__tests__/sessionstart-prime.test.mjs +0 -325
- package/.claude/hooks/__tests__/thinking-route.test.mjs +0 -319
- package/.claude/hooks/post-merge-audit.sh +0 -93
- package/.claude/skills/9router/SKILL.md +0 -80
- package/.claude/skills/9router-chat/SKILL.md +0 -73
- package/.claude/skills/9router-embeddings/SKILL.md +0 -69
- package/.claude/skills/9router-image/SKILL.md +0 -86
- package/.claude/skills/9router-stt/SKILL.md +0 -79
- package/.claude/skills/9router-tts/SKILL.md +0 -80
- package/.claude/skills/9router-web-fetch/SKILL.md +0 -99
- package/.claude/skills/9router-web-search/SKILL.md +0 -91
- package/.claude/skills/agent-browser/SKILL.md +0 -64
- package/.claude/skills/bizar/README.md +0 -9
- package/.claude/skills/bizar/SKILL.md +0 -447
- package/.claude/skills/cpp-coding-standards/README.md +0 -28
- package/.claude/skills/cpp-coding-standards/SKILL.md +0 -634
- package/.claude/skills/cpp-coding-standards/references/concurrency.md +0 -320
- package/.claude/skills/cpp-coding-standards/references/error-handling.md +0 -229
- package/.claude/skills/cpp-coding-standards/references/memory-safety.md +0 -216
- package/.claude/skills/cpp-coding-standards/references/modern-idioms.md +0 -282
- package/.claude/skills/cpp-coding-standards/references/review-checklist.md +0 -96
- package/.claude/skills/cpp-testing/README.md +0 -28
- package/.claude/skills/cpp-testing/SKILL.md +0 -304
- package/.claude/skills/cpp-testing/references/coverage.md +0 -370
- package/.claude/skills/cpp-testing/references/framework-compare.md +0 -175
- package/.claude/skills/cpp-testing/references/host-test-for-embedded.md +0 -499
- package/.claude/skills/cpp-testing/references/mocking.md +0 -364
- package/.claude/skills/cpp-testing/references/tdd-workflow.md +0 -308
- package/.claude/skills/cubesandbox/SKILL.md +0 -148
- package/.claude/skills/de-sloppify/cleanup.mjs +0 -253
- package/.claude/skills/de-sloppify/cleanup.test.mjs +0 -189
- package/.claude/skills/embedded-esp-idf/README.md +0 -41
- package/.claude/skills/embedded-esp-idf/SKILL.md +0 -439
- package/.claude/skills/embedded-esp-idf/references/freertos-patterns.md +0 -214
- package/.claude/skills/embedded-esp-idf/references/host-tests.md +0 -164
- package/.claude/skills/embedded-esp-idf/references/idf-py-commands.md +0 -157
- package/.claude/skills/embedded-esp-idf/references/kconfig.md +0 -159
- package/.claude/skills/embedded-esp-idf/references/logging-discipline.md +0 -118
- package/.claude/skills/embedded-esp-idf/references/memory-and-iram.md +0 -137
- package/.claude/skills/embedded-esp-idf/references/nvs.md +0 -121
- package/.claude/skills/embedded-esp-idf/references/packed-structs.md +0 -192
- package/.claude/skills/embedded-esp-idf/scripts/idf_env.sh +0 -47
- package/.claude/skills/embedded-esp-idf/scripts/size_check.sh +0 -77
- package/.claude/skills/glyph/SKILL.md +0 -163
- package/.claude/skills/harness-engineering/SKILL.md +0 -142
- package/.claude/skills/lightrag/SKILL.md +0 -81
- package/.claude/skills/memory-protocol/SKILL.md +0 -105
- package/.claude/skills/obsidian/SKILL.md +0 -306
- package/.claude/skills/read-the-damn-docs/SKILL.md +0 -113
- package/.claude/skills/self-improvement/SKILL.md +0 -64
- package/.claude/skills/skillopt/SKILL.md +0 -129
- package/.claude/skills/thinking-archetypes/SKILL.md +0 -90
- package/.claude/skills/thinking-bayesian/SKILL.md +0 -267
- package/.claude/skills/thinking-bounded-rationality/SKILL.md +0 -406
- package/.claude/skills/thinking-circle-of-competence/SKILL.md +0 -216
- package/.claude/skills/thinking-cynefin/SKILL.md +0 -70
- package/.claude/skills/thinking-debiasing/SKILL.md +0 -192
- package/.claude/skills/thinking-dual-process/SKILL.md +0 -282
- package/.claude/skills/thinking-effectuation/SKILL.md +0 -366
- package/.claude/skills/thinking-feedback-loops/SKILL.md +0 -464
- package/.claude/skills/thinking-fermi-estimation/SKILL.md +0 -263
- package/.claude/skills/thinking-first-principles/SKILL.md +0 -167
- package/.claude/skills/thinking-five-whys-plus/SKILL.md +0 -139
- package/.claude/skills/thinking-inversion/SKILL.md +0 -195
- package/.claude/skills/thinking-jobs-to-be-done/SKILL.md +0 -363
- package/.claude/skills/thinking-kepner-tregoe/SKILL.md +0 -154
- package/.claude/skills/thinking-leverage-points/SKILL.md +0 -390
- package/.claude/skills/thinking-lindy-effect/SKILL.md +0 -331
- package/.claude/skills/thinking-map-territory/SKILL.md +0 -111
- package/.claude/skills/thinking-margin-of-safety/SKILL.md +0 -330
- package/.claude/skills/thinking-model-combination/SKILL.md +0 -406
- package/.claude/skills/thinking-model-router/SKILL.md +0 -360
- package/.claude/skills/thinking-model-selection/SKILL.md +0 -341
- package/.claude/skills/thinking-occams-razor/SKILL.md +0 -129
- package/.claude/skills/thinking-ooda/SKILL.md +0 -127
- package/.claude/skills/thinking-opportunity-cost/SKILL.md +0 -360
- package/.claude/skills/thinking-pre-mortem/SKILL.md +0 -170
- package/.claude/skills/thinking-probabilistic/SKILL.md +0 -324
- package/.claude/skills/thinking-red-team/SKILL.md +0 -142
- package/.claude/skills/thinking-regret-minimization/SKILL.md +0 -335
- package/.claude/skills/thinking-reversibility/SKILL.md +0 -326
- package/.claude/skills/thinking-scientific-method/SKILL.md +0 -162
- package/.claude/skills/thinking-second-order/SKILL.md +0 -184
- package/.claude/skills/thinking-socratic/SKILL.md +0 -198
- package/.claude/skills/thinking-steel-manning/SKILL.md +0 -332
- package/.claude/skills/thinking-systems/SKILL.md +0 -238
- package/.claude/skills/thinking-theory-of-constraints/SKILL.md +0 -338
- package/.claude/skills/thinking-thought-experiment/SKILL.md +0 -354
- package/.claude/skills/thinking-triz/SKILL.md +0 -171
- package/.claude/skills/thinking-via-negativa/SKILL.md +0 -358
- package/bizar-dash/.bizar/graph/.graphify_analysis.json +0 -1540
- package/bizar-dash/.bizar/graph/.graphify_labels.json +0 -1
- package/bizar-dash/.bizar/graph/GRAPH_REPORT.md +0 -404
- package/bizar-dash/.bizar/graph/cache/ast/v0.8.46/0661b816358db84dfdb7f10443db8a61152fd20b3fee950caf8fbf32920a1790.json +0 -1
- package/bizar-dash/.bizar/graph/cache/ast/v0.8.46/16da06d774142a6e5d74829ad982531286a6193ef798de8f593db029e123ec32.json +0 -1
- package/bizar-dash/.bizar/graph/cache/ast/v0.8.46/27e5697c01254c69c64c5a33896669073b40afb5ba88375102ae77fa5404136d.json +0 -1
- package/bizar-dash/.bizar/graph/cache/ast/v0.8.46/532997898027254aa4c0932243dc71d2f55888181232b65974961934997dc85b.json +0 -1
- package/bizar-dash/.bizar/graph/cache/ast/v0.8.46/84e3451a64c7f99f0cd6a88b0748d7426780486f53ab4935b7476b28c08f8293.json +0 -1
- package/bizar-dash/.bizar/graph/cache/ast/v0.8.46/88e5ea5f3e78fa69353fe9e6a8d1a05391d54605e25600cb125531eb5a6432ff.json +0 -1
- package/bizar-dash/.bizar/graph/cache/stat-index.json +0 -1
- package/bizar-dash/.bizar/graph/graph.html +0 -307
- package/bizar-dash/.bizar/graph/graph.json +0 -40267
- package/bizar-dash/.bizar/graph/manifest.json +0 -762
- package/bizar-dash/.graphifyignore +0 -40
- package/bizar-dash/.obsidian/README.md +0 -14
- package/bizar-dash/.obsidian/daily/2026-06-25.md +0 -9
- package/bizar-dash/.obsidian/vault.json +0 -7
- package/bizar-dash/.od-skills/web-prototype-e1429c1737/SKILL.md +0 -103
- package/bizar-dash/.od-skills/web-prototype-e1429c1737/assets/template.html +0 -338
- package/bizar-dash/.od-skills/web-prototype-e1429c1737/example.html +0 -81
- package/bizar-dash/.od-skills/web-prototype-e1429c1737/open-design.json +0 -172
- package/bizar-dash/.od-skills/web-prototype-e1429c1737/references/checklist.md +0 -44
- package/bizar-dash/.od-skills/web-prototype-e1429c1737/references/layouts.md +0 -247
- package/bizar-dash/ARCHITECTURE.md +0 -197
- package/bizar-dash/BROWSER_VERIFICATION.md +0 -190
- package/bizar-dash/CHANGELOG.md +0 -807
- package/bizar-dash/CONTROL_SURFACES.md +0 -156
- package/bizar-dash/DESIGN.md +0 -912
- package/bizar-dash/GLYPH.md +0 -418
- package/bizar-dash/PLAN.md +0 -1135
- package/bizar-dash/SETTINGS_AUDIT.md +0 -225
- package/bizar-dash/critique.json +0 -26
- package/bizar-dash/dist/assets/ActivityFeed-Bw4Cai7r.js +0 -11
- package/bizar-dash/dist/assets/ActivityFeed-Bw4Cai7r.js.map +0 -1
- package/bizar-dash/dist/assets/ActivityView-BC0QQ_j9.js +0 -2
- package/bizar-dash/dist/assets/ActivityView-BC0QQ_j9.js.map +0 -1
- package/bizar-dash/dist/assets/AdminView-CLTNKFL4.js +0 -11
- package/bizar-dash/dist/assets/AdminView-CLTNKFL4.js.map +0 -1
- package/bizar-dash/dist/assets/AgentActivity-DBWDByjk.js +0 -67
- package/bizar-dash/dist/assets/AgentActivity-DBWDByjk.js.map +0 -1
- package/bizar-dash/dist/assets/AgentsView-DD6bCIbA.js +0 -15
- package/bizar-dash/dist/assets/AgentsView-DD6bCIbA.js.map +0 -1
- package/bizar-dash/dist/assets/Alert-pzFISNtS.js +0 -6
- package/bizar-dash/dist/assets/Alert-pzFISNtS.js.map +0 -1
- package/bizar-dash/dist/assets/ArtifactsView-BVU5lfo7.js +0 -21
- package/bizar-dash/dist/assets/ArtifactsView-BVU5lfo7.js.map +0 -1
- package/bizar-dash/dist/assets/AuthView-BZ-bPIOM.js +0 -16
- package/bizar-dash/dist/assets/AuthView-BZ-bPIOM.js.map +0 -1
- package/bizar-dash/dist/assets/Avatar-CRW81ewE.js +0 -6
- package/bizar-dash/dist/assets/Avatar-CRW81ewE.js.map +0 -1
- package/bizar-dash/dist/assets/BackgroundJobsView-w8OZtXyI.js +0 -1
- package/bizar-dash/dist/assets/BackgroundJobsView-w8OZtXyI.js.map +0 -1
- package/bizar-dash/dist/assets/BackupView-u_O3j0TG.js +0 -1
- package/bizar-dash/dist/assets/BackupView-u_O3j0TG.js.map +0 -1
- package/bizar-dash/dist/assets/Banner-Du-3l05O.js +0 -1
- package/bizar-dash/dist/assets/Banner-Du-3l05O.js.map +0 -1
- package/bizar-dash/dist/assets/Card-Clkvh43Q.js +0 -1
- package/bizar-dash/dist/assets/Card-Clkvh43Q.js.map +0 -1
- package/bizar-dash/dist/assets/ChatView-BTjb3mIh.js +0 -9
- package/bizar-dash/dist/assets/ChatView-BTjb3mIh.js.map +0 -1
- package/bizar-dash/dist/assets/Chip-B7ovcm01.js +0 -1
- package/bizar-dash/dist/assets/Chip-B7ovcm01.js.map +0 -1
- package/bizar-dash/dist/assets/ClaudeSessionsView-BoZS5ldi.js +0 -1
- package/bizar-dash/dist/assets/ClaudeSessionsView-BoZS5ldi.js.map +0 -1
- package/bizar-dash/dist/assets/ClipboardView-Cb6XgYZI.js +0 -1
- package/bizar-dash/dist/assets/ClipboardView-Cb6XgYZI.js.map +0 -1
- package/bizar-dash/dist/assets/ConfigView-DfTJk1uL.js +0 -1
- package/bizar-dash/dist/assets/ConfigView-DfTJk1uL.js.map +0 -1
- package/bizar-dash/dist/assets/DiagnosticsView-D5Wy9xlJ.js +0 -2
- package/bizar-dash/dist/assets/DiagnosticsView-D5Wy9xlJ.js.map +0 -1
- package/bizar-dash/dist/assets/DialogsView-HVyfrXpq.js +0 -6
- package/bizar-dash/dist/assets/DialogsView-HVyfrXpq.js.map +0 -1
- package/bizar-dash/dist/assets/DoctorView-Dm94WI2z.js +0 -6
- package/bizar-dash/dist/assets/DoctorView-Dm94WI2z.js.map +0 -1
- package/bizar-dash/dist/assets/EmptyState-ccT__JZG.js +0 -1
- package/bizar-dash/dist/assets/EmptyState-ccT__JZG.js.map +0 -1
- package/bizar-dash/dist/assets/EnvVarsView-BhcIuJ6V.js +0 -8
- package/bizar-dash/dist/assets/EnvVarsView-BhcIuJ6V.js.map +0 -1
- package/bizar-dash/dist/assets/ErrorState-BSqf65ka.js +0 -1
- package/bizar-dash/dist/assets/ErrorState-BSqf65ka.js.map +0 -1
- package/bizar-dash/dist/assets/EvalView-2cbWVBUA.js +0 -1
- package/bizar-dash/dist/assets/EvalView-2cbWVBUA.js.map +0 -1
- package/bizar-dash/dist/assets/GoalsView-C3QG5p7T.js +0 -6
- package/bizar-dash/dist/assets/GoalsView-C3QG5p7T.js.map +0 -1
- package/bizar-dash/dist/assets/Grid-Bojq8Sg7.js +0 -1
- package/bizar-dash/dist/assets/Grid-Bojq8Sg7.js.map +0 -1
- package/bizar-dash/dist/assets/HistoryView-Bum2TMMw.js +0 -1
- package/bizar-dash/dist/assets/HistoryView-Bum2TMMw.js.map +0 -1
- package/bizar-dash/dist/assets/Input-DV-vdaV8.js +0 -1
- package/bizar-dash/dist/assets/Input-DV-vdaV8.js.map +0 -1
- package/bizar-dash/dist/assets/LibrariesView-DH2E2uNb.js +0 -6
- package/bizar-dash/dist/assets/LibrariesView-DH2E2uNb.js.map +0 -1
- package/bizar-dash/dist/assets/LightRAGView-BFCcj7Tl.js +0 -6
- package/bizar-dash/dist/assets/LightRAGView-BFCcj7Tl.js.map +0 -1
- package/bizar-dash/dist/assets/ListHeader-CCD_nIHb.js +0 -1
- package/bizar-dash/dist/assets/ListHeader-CCD_nIHb.js.map +0 -1
- package/bizar-dash/dist/assets/MemoryView-Cr-obIQY.js +0 -8
- package/bizar-dash/dist/assets/MemoryView-Cr-obIQY.js.map +0 -1
- package/bizar-dash/dist/assets/MessageBubble-CrCJ0SYG.js +0 -29
- package/bizar-dash/dist/assets/MessageBubble-CrCJ0SYG.js.map +0 -1
- package/bizar-dash/dist/assets/MiscView-CDUQpYuV.js +0 -1
- package/bizar-dash/dist/assets/MiscView-CDUQpYuV.js.map +0 -1
- package/bizar-dash/dist/assets/ModsView-B6OR-a4B.js +0 -6
- package/bizar-dash/dist/assets/ModsView-B6OR-a4B.js.map +0 -1
- package/bizar-dash/dist/assets/NotificationsView-CIqtY6D0.js +0 -6
- package/bizar-dash/dist/assets/NotificationsView-CIqtY6D0.js.map +0 -1
- package/bizar-dash/dist/assets/ObsidianView-Nahah8QC.js +0 -1
- package/bizar-dash/dist/assets/ObsidianView-Nahah8QC.js.map +0 -1
- package/bizar-dash/dist/assets/OverviewView-B6L_wa4M.js +0 -1
- package/bizar-dash/dist/assets/OverviewView-B6L_wa4M.js.map +0 -1
- package/bizar-dash/dist/assets/ProgressBar-KC4VXsl_.js +0 -1
- package/bizar-dash/dist/assets/ProgressBar-KC4VXsl_.js.map +0 -1
- package/bizar-dash/dist/assets/ProjectsView-DgxWiqHb.js +0 -11
- package/bizar-dash/dist/assets/ProjectsView-DgxWiqHb.js.map +0 -1
- package/bizar-dash/dist/assets/ProvidersView-BOqN9omv.js +0 -11
- package/bizar-dash/dist/assets/ProvidersView-BOqN9omv.js.map +0 -1
- package/bizar-dash/dist/assets/SchedulesView-yMaG3Dtd.js +0 -1
- package/bizar-dash/dist/assets/SchedulesView-yMaG3Dtd.js.map +0 -1
- package/bizar-dash/dist/assets/Select-Bf_P0S6H.js +0 -6
- package/bizar-dash/dist/assets/Select-Bf_P0S6H.js.map +0 -1
- package/bizar-dash/dist/assets/SettingsRow-CJb-F94Y.js +0 -1
- package/bizar-dash/dist/assets/SettingsRow-CJb-F94Y.js.map +0 -1
- package/bizar-dash/dist/assets/SettingsView-BvOGcgMS.js +0 -18
- package/bizar-dash/dist/assets/SettingsView-BvOGcgMS.js.map +0 -1
- package/bizar-dash/dist/assets/Sheet-BwMVGN-8.js +0 -1
- package/bizar-dash/dist/assets/Sheet-BwMVGN-8.js.map +0 -1
- package/bizar-dash/dist/assets/Slider-AjjzqI-5.js +0 -1
- package/bizar-dash/dist/assets/Slider-AjjzqI-5.js.map +0 -1
- package/bizar-dash/dist/assets/Sparkline-Z4y0YUZS.js +0 -1
- package/bizar-dash/dist/assets/Sparkline-Z4y0YUZS.js.map +0 -1
- package/bizar-dash/dist/assets/Switch-B79a2t-G.js +0 -10
- package/bizar-dash/dist/assets/Switch-B79a2t-G.js.map +0 -1
- package/bizar-dash/dist/assets/TasksView-G-s_pwwr.js +0 -6
- package/bizar-dash/dist/assets/TasksView-G-s_pwwr.js.map +0 -1
- package/bizar-dash/dist/assets/Textarea-BfXGMXQ7.js +0 -1
- package/bizar-dash/dist/assets/Textarea-BfXGMXQ7.js.map +0 -1
- package/bizar-dash/dist/assets/UpdateView-BKx3u9X8.js +0 -1
- package/bizar-dash/dist/assets/UpdateView-BKx3u9X8.js.map +0 -1
- package/bizar-dash/dist/assets/UsageView-M01G6bZQ.js +0 -1
- package/bizar-dash/dist/assets/UsageView-M01G6bZQ.js.map +0 -1
- package/bizar-dash/dist/assets/ViewHeader-BsnaspKw.js +0 -6
- package/bizar-dash/dist/assets/ViewHeader-BsnaspKw.js.map +0 -1
- package/bizar-dash/dist/assets/VoiceView-rWE8vziD.js +0 -1
- package/bizar-dash/dist/assets/VoiceView-rWE8vziD.js.map +0 -1
- package/bizar-dash/dist/assets/brain-D7k5s8vH.js +0 -6
- package/bizar-dash/dist/assets/brain-D7k5s8vH.js.map +0 -1
- package/bizar-dash/dist/assets/calendar-CAZoDd-l.js +0 -6
- package/bizar-dash/dist/assets/calendar-CAZoDd-l.js.map +0 -1
- package/bizar-dash/dist/assets/circle-D99cZJBr.js +0 -6
- package/bizar-dash/dist/assets/circle-D99cZJBr.js.map +0 -1
- package/bizar-dash/dist/assets/circle-alert-QQTU4Quz.js +0 -6
- package/bizar-dash/dist/assets/circle-alert-QQTU4Quz.js.map +0 -1
- package/bizar-dash/dist/assets/circle-check-BMbe7Kkr.js +0 -6
- package/bizar-dash/dist/assets/circle-check-BMbe7Kkr.js.map +0 -1
- package/bizar-dash/dist/assets/clock-OtT5mvF3.js +0 -6
- package/bizar-dash/dist/assets/clock-OtT5mvF3.js.map +0 -1
- package/bizar-dash/dist/assets/cmdk-C3F6LD6N.js +0 -80
- package/bizar-dash/dist/assets/cmdk-C3F6LD6N.js.map +0 -1
- package/bizar-dash/dist/assets/dnd-kit-BAOLODOI.js +0 -5
- package/bizar-dash/dist/assets/dnd-kit-BAOLODOI.js.map +0 -1
- package/bizar-dash/dist/assets/download-B-mPX5P_.js +0 -6
- package/bizar-dash/dist/assets/download-B-mPX5P_.js.map +0 -1
- package/bizar-dash/dist/assets/external-link-DPDQM1YO.js +0 -6
- package/bizar-dash/dist/assets/external-link-DPDQM1YO.js.map +0 -1
- package/bizar-dash/dist/assets/file-text-BsCrv5aP.js +0 -6
- package/bizar-dash/dist/assets/file-text-BsCrv5aP.js.map +0 -1
- package/bizar-dash/dist/assets/filter-Do63x17E.js +0 -6
- package/bizar-dash/dist/assets/filter-Do63x17E.js.map +0 -1
- package/bizar-dash/dist/assets/git-pull-request-CpRAmERC.js +0 -11
- package/bizar-dash/dist/assets/git-pull-request-CpRAmERC.js.map +0 -1
- package/bizar-dash/dist/assets/index-B1OIS316.js +0 -1
- package/bizar-dash/dist/assets/index-B1OIS316.js.map +0 -1
- package/bizar-dash/dist/assets/index-CR0TeJmc.js +0 -1
- package/bizar-dash/dist/assets/index-CR0TeJmc.js.map +0 -1
- package/bizar-dash/dist/assets/main-BRmJZcHt.js +0 -277
- package/bizar-dash/dist/assets/main-BRmJZcHt.js.map +0 -1
- package/bizar-dash/dist/assets/main-D0TY0myE.css +0 -1
- package/bizar-dash/dist/assets/network-DJnHwHX3.js +0 -6
- package/bizar-dash/dist/assets/network-DJnHwHX3.js.map +0 -1
- package/bizar-dash/dist/assets/pause-HitDUnk_.js +0 -6
- package/bizar-dash/dist/assets/pause-HitDUnk_.js.map +0 -1
- package/bizar-dash/dist/assets/pencil-Dkks7eIC.js +0 -6
- package/bizar-dash/dist/assets/pencil-Dkks7eIC.js.map +0 -1
- package/bizar-dash/dist/assets/play-blqh0msT.js +0 -6
- package/bizar-dash/dist/assets/play-blqh0msT.js.map +0 -1
- package/bizar-dash/dist/assets/plug-DVvSSe40.js +0 -6
- package/bizar-dash/dist/assets/plug-DVvSSe40.js.map +0 -1
- package/bizar-dash/dist/assets/plus-Cps-8lcG.js +0 -6
- package/bizar-dash/dist/assets/plus-Cps-8lcG.js.map +0 -1
- package/bizar-dash/dist/assets/power-DEX4_Xoa.js +0 -6
- package/bizar-dash/dist/assets/power-DEX4_Xoa.js.map +0 -1
- package/bizar-dash/dist/assets/power-off-upZ4xjaG.js +0 -6
- package/bizar-dash/dist/assets/power-off-upZ4xjaG.js.map +0 -1
- package/bizar-dash/dist/assets/refresh-ccw-DN_zCB1h.js +0 -6
- package/bizar-dash/dist/assets/refresh-ccw-DN_zCB1h.js.map +0 -1
- package/bizar-dash/dist/assets/refresh-cw-KGm5eQgv.js +0 -6
- package/bizar-dash/dist/assets/refresh-cw-KGm5eQgv.js.map +0 -1
- package/bizar-dash/dist/assets/rotate-ccw-D5fkDRgk.js +0 -6
- package/bizar-dash/dist/assets/rotate-ccw-D5fkDRgk.js.map +0 -1
- package/bizar-dash/dist/assets/rotate-cw-CClSVUaX.js +0 -6
- package/bizar-dash/dist/assets/rotate-cw-CClSVUaX.js.map +0 -1
- package/bizar-dash/dist/assets/save-BY4ViPku.js +0 -6
- package/bizar-dash/dist/assets/save-BY4ViPku.js.map +0 -1
- package/bizar-dash/dist/assets/send-CaOL1yQD.js +0 -6
- package/bizar-dash/dist/assets/send-CaOL1yQD.js.map +0 -1
- package/bizar-dash/dist/assets/shield-alert-DA9K6uZO.js +0 -6
- package/bizar-dash/dist/assets/shield-alert-DA9K6uZO.js.map +0 -1
- package/bizar-dash/dist/assets/trash-2-B_Y6HrfN.js +0 -6
- package/bizar-dash/dist/assets/trash-2-B_Y6HrfN.js.map +0 -1
- package/bizar-dash/dist/assets/trending-up-qKTUQKIT.js +0 -6
- package/bizar-dash/dist/assets/trending-up-qKTUQKIT.js.map +0 -1
- package/bizar-dash/dist/assets/triangle-alert-BeY8LAv6.js +0 -6
- package/bizar-dash/dist/assets/triangle-alert-BeY8LAv6.js.map +0 -1
- package/bizar-dash/dist/assets/upload-BZCtmqIh.js +0 -6
- package/bizar-dash/dist/assets/upload-BZCtmqIh.js.map +0 -1
- package/bizar-dash/dist/assets/zap-Bz1Z8y1Q.js +0 -6
- package/bizar-dash/dist/assets/zap-Bz1Z8y1Q.js.map +0 -1
- package/bizar-dash/dist/index.html +0 -19
- package/bizar-dash/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/bizar-dash/plans/debug-plan/comments.json +0 -1
- package/bizar-dash/plans/debug-plan/meta.json +0 -10
- package/bizar-dash/plans/debug-plan/plan.json +0 -174
- package/bizar-dash/scripts/smoke-bg-retry.mjs +0 -246
- package/bizar-dash/skills/agent-baseline/SKILL.md +0 -80
- package/bizar-dash/skills/agent-browser/SKILL.md +0 -181
- package/bizar-dash/skills/bizar/SKILL.md +0 -116
- package/bizar-dash/skills/chat/SKILL.md +0 -74
- package/bizar-dash/skills/eval/SKILL.md +0 -237
- package/bizar-dash/skills/lightrag/SKILL.md +0 -86
- package/bizar-dash/skills/minimax/SKILL.md +0 -80
- package/bizar-dash/skills/obsidian/SKILL.md +0 -68
- package/bizar-dash/skills/providers/SKILL.md +0 -75
- package/bizar-dash/skills/publishing/SKILL.md +0 -147
- package/bizar-dash/skills/sdk/SKILL.md +0 -138
- package/bizar-dash/skills/self-improvement/SKILL.md +0 -53
- package/bizar-dash/skills/skills-cli/SKILL.md +0 -94
- package/bizar-dash/skills/usage/SKILL.md +0 -62
- package/bizar-dash/src/cli/dashboard-ports.mjs +0 -488
- package/bizar-dash/src/cli.mjs +0 -537
- package/bizar-dash/src/server/activity-log.mjs +0 -174
- package/bizar-dash/src/server/agent-bus.mjs +0 -485
- package/bizar-dash/src/server/agents-store.mjs +0 -466
- package/bizar-dash/src/server/api.mjs +0 -246
- package/bizar-dash/src/server/artifact-mint.mjs +0 -69
- package/bizar-dash/src/server/artifact-template.html +0 -810
- package/bizar-dash/src/server/artifacts-store.mjs +0 -839
- package/bizar-dash/src/server/auth.mjs +0 -548
- package/bizar-dash/src/server/background-store.mjs +0 -446
- package/bizar-dash/src/server/bg-poller.mjs +0 -375
- package/bizar-dash/src/server/bg-poller.test.mjs +0 -28
- package/bizar-dash/src/server/bg-retry.mjs +0 -446
- package/bizar-dash/src/server/bg-spawner.mjs +0 -390
- package/bizar-dash/src/server/browser.mjs +0 -40
- package/bizar-dash/src/server/claude-artifacts.mjs +0 -281
- package/bizar-dash/src/server/claude-bg-spawner.mjs +0 -390
- package/bizar-dash/src/server/claude-info.mjs +0 -412
- package/bizar-dash/src/server/claude-runner.mjs +0 -289
- package/bizar-dash/src/server/claude-sdk.mjs +0 -191
- package/bizar-dash/src/server/diagnostics-store.mjs +0 -568
- package/bizar-dash/src/server/dialog-poller.mjs +0 -105
- package/bizar-dash/src/server/dialog-store.mjs +0 -259
- package/bizar-dash/src/server/digest-store.mjs +0 -558
- package/bizar-dash/src/server/eval-store.mjs +0 -281
- package/bizar-dash/src/server/eval.mjs +0 -500
- package/bizar-dash/src/server/glyphs/mdx-compiler.mjs +0 -596
- package/bizar-dash/src/server/lib/path-safe.mjs +0 -283
- package/bizar-dash/src/server/lib/rate-limit.mjs +0 -122
- package/bizar-dash/src/server/logger.mjs +0 -71
- package/bizar-dash/src/server/loop-runtime.mjs +0 -429
- package/bizar-dash/src/server/memory-consolidator.mjs +0 -225
- package/bizar-dash/src/server/memory-distillation.mjs +0 -296
- package/bizar-dash/src/server/memory-git.mjs +0 -473
- package/bizar-dash/src/server/memory-lightrag.mjs +0 -1483
- package/bizar-dash/src/server/memory-obsidian.mjs +0 -230
- package/bizar-dash/src/server/memory-schema.mjs +0 -145
- package/bizar-dash/src/server/memory-secrets.mjs +0 -84
- package/bizar-dash/src/server/memory-store.mjs +0 -1093
- package/bizar-dash/src/server/metrics.mjs +0 -268
- package/bizar-dash/src/server/minimax-usage-store.mjs +0 -372
- package/bizar-dash/src/server/minimax.mjs +0 -683
- package/bizar-dash/src/server/mod-security.mjs +0 -397
- package/bizar-dash/src/server/mods-loader.mjs +0 -1243
- package/bizar-dash/src/server/notifications-store.mjs +0 -243
- package/bizar-dash/src/server/obsidian-store.mjs +0 -318
- package/bizar-dash/src/server/ocr.mjs +0 -55
- package/bizar-dash/src/server/otel.mjs +0 -260
- package/bizar-dash/src/server/pair-store.mjs +0 -138
- package/bizar-dash/src/server/progress-parser.test.mjs +0 -129
- package/bizar-dash/src/server/projects-store.mjs +0 -364
- package/bizar-dash/src/server/providers-store.mjs +0 -1801
- package/bizar-dash/src/server/routes/_shared.mjs +0 -430
- package/bizar-dash/src/server/routes/activity.mjs +0 -215
- package/bizar-dash/src/server/routes/admin.mjs +0 -163
- package/bizar-dash/src/server/routes/agent-bus.mjs +0 -185
- package/bizar-dash/src/server/routes/agents-cc.mjs +0 -551
- package/bizar-dash/src/server/routes/agents-cc.test.mjs +0 -35
- package/bizar-dash/src/server/routes/agents.mjs +0 -149
- package/bizar-dash/src/server/routes/artifacts.mjs +0 -315
- package/bizar-dash/src/server/routes/audit.mjs +0 -79
- package/bizar-dash/src/server/routes/auth.mjs +0 -69
- package/bizar-dash/src/server/routes/background.mjs +0 -422
- package/bizar-dash/src/server/routes/backup.mjs +0 -112
- package/bizar-dash/src/server/routes/chat.mjs +0 -727
- package/bizar-dash/src/server/routes/claude-session-detail.mjs +0 -367
- package/bizar-dash/src/server/routes/claude-sessions.mjs +0 -259
- package/bizar-dash/src/server/routes/clipboard.mjs +0 -173
- package/bizar-dash/src/server/routes/config.mjs +0 -180
- package/bizar-dash/src/server/routes/decisions.mjs +0 -78
- package/bizar-dash/src/server/routes/diagnostics.mjs +0 -50
- package/bizar-dash/src/server/routes/dialogs.mjs +0 -134
- package/bizar-dash/src/server/routes/digests.mjs +0 -82
- package/bizar-dash/src/server/routes/distill.mjs +0 -129
- package/bizar-dash/src/server/routes/doctor.mjs +0 -71
- package/bizar-dash/src/server/routes/env-vars.mjs +0 -231
- package/bizar-dash/src/server/routes/eval.mjs +0 -187
- package/bizar-dash/src/server/routes/fs.mjs +0 -429
- package/bizar-dash/src/server/routes/goal-planner.mjs +0 -236
- package/bizar-dash/src/server/routes/goals.mjs +0 -428
- package/bizar-dash/src/server/routes/history.mjs +0 -78
- package/bizar-dash/src/server/routes/lightrag.mjs +0 -169
- package/bizar-dash/src/server/routes/loops.mjs +0 -138
- package/bizar-dash/src/server/routes/memory.mjs +0 -1524
- package/bizar-dash/src/server/routes/minimax.mjs +0 -133
- package/bizar-dash/src/server/routes/misc.mjs +0 -90
- package/bizar-dash/src/server/routes/model-router.mjs +0 -158
- package/bizar-dash/src/server/routes/model-router.test.mjs +0 -104
- package/bizar-dash/src/server/routes/mods.mjs +0 -359
- package/bizar-dash/src/server/routes/notifications.mjs +0 -54
- package/bizar-dash/src/server/routes/obsidian.mjs +0 -239
- package/bizar-dash/src/server/routes/ocr.mjs +0 -182
- package/bizar-dash/src/server/routes/overview.mjs +0 -219
- package/bizar-dash/src/server/routes/overview.test.mjs +0 -65
- package/bizar-dash/src/server/routes/pair.mjs +0 -67
- package/bizar-dash/src/server/routes/projects.mjs +0 -175
- package/bizar-dash/src/server/routes/providers.mjs +0 -361
- package/bizar-dash/src/server/routes/schedules.mjs +0 -159
- package/bizar-dash/src/server/routes/sessions.mjs +0 -80
- package/bizar-dash/src/server/routes/settings.mjs +0 -51
- package/bizar-dash/src/server/routes/skills.mjs +0 -70
- package/bizar-dash/src/server/routes/spawn.mjs +0 -59
- package/bizar-dash/src/server/routes/tailscale.mjs +0 -46
- package/bizar-dash/src/server/routes/tasks.mjs +0 -579
- package/bizar-dash/src/server/routes/themes.mjs +0 -51
- package/bizar-dash/src/server/routes/update.mjs +0 -367
- package/bizar-dash/src/server/routes/usage.mjs +0 -136
- package/bizar-dash/src/server/routes/users.mjs +0 -102
- package/bizar-dash/src/server/routes/voice.mjs +0 -167
- package/bizar-dash/src/server/routes/workspaces.mjs +0 -299
- package/bizar-dash/src/server/routes-v2/auth.mjs +0 -59
- package/bizar-dash/src/server/routes-v2/events.mjs +0 -121
- package/bizar-dash/src/server/routes-v2/health.mjs +0 -21
- package/bizar-dash/src/server/routes-v2/index.mjs +0 -90
- package/bizar-dash/src/server/routes-v2/sessions.mjs +0 -111
- package/bizar-dash/src/server/schedules-runner.mjs +0 -556
- package/bizar-dash/src/server/schedules-store.mjs +0 -268
- package/bizar-dash/src/server/search-store.mjs +0 -220
- package/bizar-dash/src/server/serve-info.mjs +0 -1110
- package/bizar-dash/src/server/server.mjs +0 -951
- package/bizar-dash/src/server/settings-store.mjs +0 -45
- package/bizar-dash/src/server/skills-store.mjs +0 -192
- package/bizar-dash/src/server/sprint.test.mjs +0 -163
- package/bizar-dash/src/server/state.mjs +0 -437
- package/bizar-dash/src/server/tailscale-store.mjs +0 -113
- package/bizar-dash/src/server/task-delegator.mjs +0 -969
- package/bizar-dash/src/server/task-splitter.mjs +0 -241
- package/bizar-dash/src/server/tasks-store.mjs +0 -556
- package/bizar-dash/src/server/tui.mjs +0 -923
- package/bizar-dash/src/server/update-store.mjs +0 -168
- package/bizar-dash/src/server/v2-auth-file.mjs +0 -99
- package/bizar-dash/src/server/v2-event-bus.mjs +0 -128
- package/bizar-dash/src/server/voice-store.mjs +0 -229
- package/bizar-dash/src/server/voice-transcribe.mjs +0 -72
- package/bizar-dash/src/server/watcher.mjs +0 -81
- package/bizar-dash/src/server/workers/transcription-worker.mjs +0 -213
- package/bizar-dash/src/server/workspaces.mjs +0 -626
- package/bizar-dash/src/server/yaml.mjs +0 -238
- package/bizar-dash/src/web/index.html +0 -17
- package/bizar-dash/src/web/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
- package/bizar-dash/src/web/v8/App.tsx +0 -426
- package/bizar-dash/src/web/v8/__tests__/App.test.tsx +0 -102
- package/bizar-dash/src/web/v8/__tests__/AppShell.test.tsx +0 -79
- package/bizar-dash/src/web/v8/__tests__/BackgroundJobsView.test.tsx +0 -172
- package/bizar-dash/src/web/v8/__tests__/MemoryView.test.tsx +0 -91
- package/bizar-dash/src/web/v8/__tests__/NotificationsPopover.test.tsx +0 -91
- package/bizar-dash/src/web/v8/__tests__/PageSkeleton.test.tsx +0 -12
- package/bizar-dash/src/web/v8/__tests__/SchedulesView.test.tsx +0 -157
- package/bizar-dash/src/web/v8/__tests__/SettingsView.test.tsx +0 -84
- package/bizar-dash/src/web/v8/__tests__/Sidebar.test.tsx +0 -95
- package/bizar-dash/src/web/v8/__tests__/Topbar.test.tsx +0 -86
- package/bizar-dash/src/web/v8/__tests__/activity.test.tsx +0 -63
- package/bizar-dash/src/web/v8/__tests__/admin-view.test.tsx +0 -105
- package/bizar-dash/src/web/v8/__tests__/agent-card-metrics.test.tsx +0 -54
- package/bizar-dash/src/web/v8/__tests__/agent-detail-tasks.test.tsx +0 -68
- package/bizar-dash/src/web/v8/__tests__/agent-hierarchy.test.tsx +0 -79
- package/bizar-dash/src/web/v8/__tests__/agents-stuck-banner.test.tsx +0 -142
- package/bizar-dash/src/web/v8/__tests__/agents.test.tsx +0 -90
- package/bizar-dash/src/web/v8/__tests__/artifacts-view.test.tsx +0 -102
- package/bizar-dash/src/web/v8/__tests__/audit-fixes.test.tsx +0 -139
- package/bizar-dash/src/web/v8/__tests__/auth-view.test.tsx +0 -94
- package/bizar-dash/src/web/v8/__tests__/changelog.test.tsx +0 -79
- package/bizar-dash/src/web/v8/__tests__/chat-types.test.ts +0 -55
- package/bizar-dash/src/web/v8/__tests__/chat-view.test.tsx +0 -142
- package/bizar-dash/src/web/v8/__tests__/claude-sessions-view.test.tsx +0 -159
- package/bizar-dash/src/web/v8/__tests__/clipboard-view.test.tsx +0 -90
- package/bizar-dash/src/web/v8/__tests__/config-view.test.tsx +0 -111
- package/bizar-dash/src/web/v8/__tests__/control-plane.test.tsx +0 -104
- package/bizar-dash/src/web/v8/__tests__/controls.test.tsx +0 -135
- package/bizar-dash/src/web/v8/__tests__/cx.test.ts +0 -25
- package/bizar-dash/src/web/v8/__tests__/data.test.tsx +0 -293
- package/bizar-dash/src/web/v8/__tests__/dialogs-view.test.tsx +0 -81
- package/bizar-dash/src/web/v8/__tests__/env-vars-view.test.tsx +0 -123
- package/bizar-dash/src/web/v8/__tests__/feedback.test.tsx +0 -213
- package/bizar-dash/src/web/v8/__tests__/goals-cc-roundtrip.test.tsx +0 -94
- package/bizar-dash/src/web/v8/__tests__/goals.test.tsx +0 -105
- package/bizar-dash/src/web/v8/__tests__/history-view.test.tsx +0 -96
- package/bizar-dash/src/web/v8/__tests__/kanban.test.tsx +0 -176
- package/bizar-dash/src/web/v8/__tests__/libraries.test.tsx +0 -70
- package/bizar-dash/src/web/v8/__tests__/lightrag-view.test.tsx +0 -90
- package/bizar-dash/src/web/v8/__tests__/memory.test.tsx +0 -60
- package/bizar-dash/src/web/v8/__tests__/misc-view.test.tsx +0 -79
- package/bizar-dash/src/web/v8/__tests__/mods-view.test.tsx +0 -123
- package/bizar-dash/src/web/v8/__tests__/navigation.test.tsx +0 -137
- package/bizar-dash/src/web/v8/__tests__/new-views.test.tsx +0 -160
- package/bizar-dash/src/web/v8/__tests__/obsidian-view.test.tsx +0 -82
- package/bizar-dash/src/web/v8/__tests__/overview-trends.test.tsx +0 -87
- package/bizar-dash/src/web/v8/__tests__/projects-view.test.tsx +0 -134
- package/bizar-dash/src/web/v8/__tests__/providers-view.test.tsx +0 -100
- package/bizar-dash/src/web/v8/__tests__/settings.test.tsx +0 -104
- package/bizar-dash/src/web/v8/__tests__/theme.test.tsx +0 -104
- package/bizar-dash/src/web/v8/__tests__/update-view.test.tsx +0 -89
- package/bizar-dash/src/web/v8/__tests__/useFetch.test.ts +0 -92
- package/bizar-dash/src/web/v8/__tests__/useWebSocket.test.ts +0 -87
- package/bizar-dash/src/web/v8/__tests__/views.test.tsx +0 -188
- package/bizar-dash/src/web/v8/__tests__/voice-view.test.tsx +0 -80
- package/bizar-dash/src/web/v8/data/fetcher.ts +0 -59
- package/bizar-dash/src/web/v8/data/types.ts +0 -239
- package/bizar-dash/src/web/v8/data/useFetch.ts +0 -62
- package/bizar-dash/src/web/v8/data/useViewNavigate.ts +0 -54
- package/bizar-dash/src/web/v8/data/useWebSocket.ts +0 -206
- package/bizar-dash/src/web/v8/main.tsx +0 -28
- package/bizar-dash/src/web/v8/shell/AppShell.tsx +0 -126
- package/bizar-dash/src/web/v8/shell/PageSkeleton.tsx +0 -29
- package/bizar-dash/src/web/v8/shell/Sidebar.tsx +0 -515
- package/bizar-dash/src/web/v8/shell/StatusBar.tsx +0 -63
- package/bizar-dash/src/web/v8/shell/Topbar.tsx +0 -330
- package/bizar-dash/src/web/v8/shell/index.ts +0 -15
- package/bizar-dash/src/web/v8/ui/activity/ActivityFeed.tsx +0 -137
- package/bizar-dash/src/web/v8/ui/activity/ActivityLane.tsx +0 -315
- package/bizar-dash/src/web/v8/ui/activity/ActivityLanes.tsx +0 -51
- package/bizar-dash/src/web/v8/ui/agents/AgentActivity.tsx +0 -101
- package/bizar-dash/src/web/v8/ui/agents/AgentCard.tsx +0 -239
- package/bizar-dash/src/web/v8/ui/agents/AgentDetail.tsx +0 -439
- package/bizar-dash/src/web/v8/ui/agents/AgentLiveOutput.tsx +0 -252
- package/bizar-dash/src/web/v8/ui/agents/AgentStreamPanel.tsx +0 -371
- package/bizar-dash/src/web/v8/ui/chat/ChatDrawer.tsx +0 -208
- package/bizar-dash/src/web/v8/ui/chat/EventStream.tsx +0 -83
- package/bizar-dash/src/web/v8/ui/chat/MessageBubble.tsx +0 -174
- package/bizar-dash/src/web/v8/ui/controls/Button.tsx +0 -141
- package/bizar-dash/src/web/v8/ui/controls/ButtonGroup.tsx +0 -32
- package/bizar-dash/src/web/v8/ui/controls/Checkbox.tsx +0 -49
- package/bizar-dash/src/web/v8/ui/controls/Field.tsx +0 -78
- package/bizar-dash/src/web/v8/ui/controls/Form.tsx +0 -23
- package/bizar-dash/src/web/v8/ui/controls/IconButton.tsx +0 -112
- package/bizar-dash/src/web/v8/ui/controls/Input.tsx +0 -94
- package/bizar-dash/src/web/v8/ui/controls/RadioGroup.tsx +0 -74
- package/bizar-dash/src/web/v8/ui/controls/Select.tsx +0 -171
- package/bizar-dash/src/web/v8/ui/controls/Slider.tsx +0 -68
- package/bizar-dash/src/web/v8/ui/controls/Switch.tsx +0 -56
- package/bizar-dash/src/web/v8/ui/controls/Textarea.tsx +0 -64
- package/bizar-dash/src/web/v8/ui/controls/Toggle.tsx +0 -36
- package/bizar-dash/src/web/v8/ui/controls/ToggleGroup.tsx +0 -85
- package/bizar-dash/src/web/v8/ui/data/Accordion.tsx +0 -134
- package/bizar-dash/src/web/v8/ui/data/Avatar.tsx +0 -175
- package/bizar-dash/src/web/v8/ui/data/Badge.tsx +0 -93
- package/bizar-dash/src/web/v8/ui/data/BarList.tsx +0 -101
- package/bizar-dash/src/web/v8/ui/data/Card.tsx +0 -140
- package/bizar-dash/src/web/v8/ui/data/Chip.tsx +0 -96
- package/bizar-dash/src/web/v8/ui/data/Kbd.tsx +0 -42
- package/bizar-dash/src/web/v8/ui/data/ListHeader.tsx +0 -94
- package/bizar-dash/src/web/v8/ui/data/ProgressBar.tsx +0 -93
- package/bizar-dash/src/web/v8/ui/data/Sparkline.tsx +0 -98
- package/bizar-dash/src/web/v8/ui/data/StatTile.tsx +0 -150
- package/bizar-dash/src/web/v8/ui/data/Table.tsx +0 -170
- package/bizar-dash/src/web/v8/ui/data/Timeline.tsx +0 -130
- package/bizar-dash/src/web/v8/ui/data/ViewHeader.tsx +0 -122
- package/bizar-dash/src/web/v8/ui/feedback/Alert.tsx +0 -95
- package/bizar-dash/src/web/v8/ui/feedback/Banner.tsx +0 -39
- package/bizar-dash/src/web/v8/ui/feedback/ContextMenu.tsx +0 -143
- package/bizar-dash/src/web/v8/ui/feedback/Dialog.tsx +0 -149
- package/bizar-dash/src/web/v8/ui/feedback/Drawer.tsx +0 -8
- package/bizar-dash/src/web/v8/ui/feedback/DropdownMenu.tsx +0 -231
- package/bizar-dash/src/web/v8/ui/feedback/EmptyState.tsx +0 -48
- package/bizar-dash/src/web/v8/ui/feedback/ErrorState.tsx +0 -116
- package/bizar-dash/src/web/v8/ui/feedback/NotificationsPopover.tsx +0 -242
- package/bizar-dash/src/web/v8/ui/feedback/Popover.tsx +0 -56
- package/bizar-dash/src/web/v8/ui/feedback/Sheet.tsx +0 -103
- package/bizar-dash/src/web/v8/ui/feedback/Skeleton.tsx +0 -67
- package/bizar-dash/src/web/v8/ui/feedback/Spinner.tsx +0 -30
- package/bizar-dash/src/web/v8/ui/feedback/Toast.tsx +0 -66
- package/bizar-dash/src/web/v8/ui/feedback/Tooltip.tsx +0 -89
- package/bizar-dash/src/web/v8/ui/feedback/useFocusTrap.ts +0 -58
- package/bizar-dash/src/web/v8/ui/goals/GoalCard.tsx +0 -176
- package/bizar-dash/src/web/v8/ui/goals/GoalDetail.tsx +0 -278
- package/bizar-dash/src/web/v8/ui/goals/KeyResult.tsx +0 -115
- package/bizar-dash/src/web/v8/ui/index.ts +0 -369
- package/bizar-dash/src/web/v8/ui/kanban/KanbanBoard.tsx +0 -117
- package/bizar-dash/src/web/v8/ui/kanban/KanbanCard.tsx +0 -391
- package/bizar-dash/src/web/v8/ui/kanban/KanbanCardBadges.tsx +0 -111
- package/bizar-dash/src/web/v8/ui/kanban/KanbanColumn.tsx +0 -181
- package/bizar-dash/src/web/v8/ui/kanban/KanbanContextMenu.tsx +0 -126
- package/bizar-dash/src/web/v8/ui/kanban/KanbanDetailDialog.tsx +0 -638
- package/bizar-dash/src/web/v8/ui/kanban/KanbanEmptyColumn.tsx +0 -43
- package/bizar-dash/src/web/v8/ui/kanban/KanbanProgress.tsx +0 -130
- package/bizar-dash/src/web/v8/ui/kanban/KanbanQuickAdd.tsx +0 -141
- package/bizar-dash/src/web/v8/ui/kanban/KanbanToolbar.tsx +0 -291
- package/bizar-dash/src/web/v8/ui/kanban/useKanbanSelection.ts +0 -90
- package/bizar-dash/src/web/v8/ui/libraries/LibraryGrid.tsx +0 -30
- package/bizar-dash/src/web/v8/ui/libraries/LibraryItem.tsx +0 -161
- package/bizar-dash/src/web/v8/ui/memory/MemoryVault.tsx +0 -144
- package/bizar-dash/src/web/v8/ui/navigation/CommandPalette.tsx +0 -225
- package/bizar-dash/src/web/v8/ui/navigation/NavLink.tsx +0 -81
- package/bizar-dash/src/web/v8/ui/navigation/Pagination.tsx +0 -164
- package/bizar-dash/src/web/v8/ui/navigation/Tabs.tsx +0 -128
- package/bizar-dash/src/web/v8/ui/navigation/useCommandPaletteHotkey.test.ts +0 -79
- package/bizar-dash/src/web/v8/ui/primitives/Box.tsx +0 -144
- package/bizar-dash/src/web/v8/ui/primitives/Center.tsx +0 -40
- package/bizar-dash/src/web/v8/ui/primitives/Cluster.tsx +0 -67
- package/bizar-dash/src/web/v8/ui/primitives/Grid.tsx +0 -104
- package/bizar-dash/src/web/v8/ui/primitives/Inline.tsx +0 -77
- package/bizar-dash/src/web/v8/ui/primitives/Portal.tsx +0 -33
- package/bizar-dash/src/web/v8/ui/primitives/ScrollArea.tsx +0 -62
- package/bizar-dash/src/web/v8/ui/primitives/Separator.tsx +0 -42
- package/bizar-dash/src/web/v8/ui/primitives/Stack.tsx +0 -73
- package/bizar-dash/src/web/v8/ui/primitives/VisuallyHidden.tsx +0 -49
- package/bizar-dash/src/web/v8/ui/settings/SettingsNav.tsx +0 -91
- package/bizar-dash/src/web/v8/ui/settings/SettingsRow.tsx +0 -88
- package/bizar-dash/src/web/v8/ui/settings/SettingsSection.tsx +0 -109
- package/bizar-dash/src/web/v8/ui/styles/globals.css +0 -265
- package/bizar-dash/src/web/v8/ui/styles/reset.css +0 -57
- package/bizar-dash/src/web/v8/ui/styles/tokens.css +0 -238
- package/bizar-dash/src/web/v8/ui/tasks/TaskDetail.tsx +0 -313
- package/bizar-dash/src/web/v8/ui/theme/DensityProvider.test.tsx +0 -74
- package/bizar-dash/src/web/v8/ui/theme/DensityProvider.tsx +0 -66
- package/bizar-dash/src/web/v8/ui/theme/ThemeProvider.test.tsx +0 -86
- package/bizar-dash/src/web/v8/ui/theme/ThemeProvider.tsx +0 -94
- package/bizar-dash/src/web/v8/ui/theme/ThemeToggle.tsx +0 -93
- package/bizar-dash/src/web/v8/ui/theme/useDensity.ts +0 -15
- package/bizar-dash/src/web/v8/ui/theme/useTheme.ts +0 -16
- package/bizar-dash/src/web/v8/ui/utils/cx.ts +0 -19
- package/bizar-dash/src/web/v8/views/Activity/ActivityView.tsx +0 -457
- package/bizar-dash/src/web/v8/views/Admin/AdminView.tsx +0 -237
- package/bizar-dash/src/web/v8/views/Agents/AgentHierarchy.tsx +0 -212
- package/bizar-dash/src/web/v8/views/Agents/AgentsView.tsx +0 -511
- package/bizar-dash/src/web/v8/views/Artifacts/ArtifactsView.tsx +0 -452
- package/bizar-dash/src/web/v8/views/Artifacts/ClaudeArtifactView.tsx +0 -179
- package/bizar-dash/src/web/v8/views/Auth/AuthView.tsx +0 -179
- package/bizar-dash/src/web/v8/views/BackgroundJobs/BackgroundJobsView.tsx +0 -467
- package/bizar-dash/src/web/v8/views/Backup/BackupView.tsx +0 -204
- package/bizar-dash/src/web/v8/views/Chat/ChatView.tsx +0 -368
- package/bizar-dash/src/web/v8/views/ClaudeSessions/ClaudeSessionDetail.tsx +0 -144
- package/bizar-dash/src/web/v8/views/ClaudeSessions/ClaudeSessionsView.tsx +0 -331
- package/bizar-dash/src/web/v8/views/ClaudeSessions/NewSessionModal.tsx +0 -136
- package/bizar-dash/src/web/v8/views/Clipboard/ClipboardView.tsx +0 -210
- package/bizar-dash/src/web/v8/views/CommandPalette/AppCommandPalette.test.tsx +0 -142
- package/bizar-dash/src/web/v8/views/CommandPalette/AppCommandPalette.tsx +0 -272
- package/bizar-dash/src/web/v8/views/Config/ConfigView.tsx +0 -364
- package/bizar-dash/src/web/v8/views/Diagnostics/DiagnosticsView.tsx +0 -203
- package/bizar-dash/src/web/v8/views/Dialogs/DialogsView.tsx +0 -196
- package/bizar-dash/src/web/v8/views/Doctor/DoctorView.tsx +0 -181
- package/bizar-dash/src/web/v8/views/EnvVars/EnvVarsView.tsx +0 -365
- package/bizar-dash/src/web/v8/views/Eval/EvalView.tsx +0 -278
- package/bizar-dash/src/web/v8/views/Goals/GoalsView.tsx +0 -351
- package/bizar-dash/src/web/v8/views/History/HistoryView.tsx +0 -227
- package/bizar-dash/src/web/v8/views/Libraries/LibrariesView.tsx +0 -123
- package/bizar-dash/src/web/v8/views/LightRAG/LightRAGView.tsx +0 -204
- package/bizar-dash/src/web/v8/views/Memory/MemoryView.tsx +0 -258
- package/bizar-dash/src/web/v8/views/Misc/MiscView.tsx +0 -159
- package/bizar-dash/src/web/v8/views/Mods/ModsView.tsx +0 -348
- package/bizar-dash/src/web/v8/views/Notifications/NotificationsView.tsx +0 -247
- package/bizar-dash/src/web/v8/views/Obsidian/ObsidianView.tsx +0 -193
- package/bizar-dash/src/web/v8/views/Overview/OverviewView.tsx +0 -274
- package/bizar-dash/src/web/v8/views/Projects/ProjectsView.tsx +0 -273
- package/bizar-dash/src/web/v8/views/Providers/ProvidersView.tsx +0 -371
- package/bizar-dash/src/web/v8/views/Router.tsx +0 -202
- package/bizar-dash/src/web/v8/views/Schedules/SchedulesView.tsx +0 -462
- package/bizar-dash/src/web/v8/views/Settings/SettingsView.tsx +0 -1039
- package/bizar-dash/src/web/v8/views/Tasks/TasksView.tsx +0 -386
- package/bizar-dash/src/web/v8/views/Update/UpdateView.tsx +0 -270
- package/bizar-dash/src/web/v8/views/Usage/UsageView.tsx +0 -210
- package/bizar-dash/src/web/v8/views/Voice/VoiceView.tsx +0 -192
- package/bizar-dash/src/web/v8/vite-env.d.ts +0 -15
- package/bizar-dash/templates/mod/FORMAT.md +0 -76
- package/bizar-dash/templates/mod/hello-mod/README.md +0 -19
- package/bizar-dash/templates/mod/hello-mod/agents/greeter.md +0 -8
- package/bizar-dash/templates/mod/hello-mod/commands/hello.md +0 -6
- package/bizar-dash/templates/mod/hello-mod/mod.json +0 -20
- package/bizar-dash/templates/mod/hello-mod/routes/ping.mjs +0 -9
- package/bizar-dash/templates/mod/hello-mod/views/HelloView.tsx +0 -10
- package/bizar-dash/tests/_update-test-helpers.mjs +0 -13
- package/bizar-dash/tests/admin-labels.test.mjs +0 -42
- package/bizar-dash/tests/admin-run-grouping.test.mjs +0 -42
- package/bizar-dash/tests/agent-bus.test.mjs +0 -289
- package/bizar-dash/tests/agents-preview-truncate.test.mjs +0 -35
- package/bizar-dash/tests/agents-summary-sanitize.test.ts +0 -51
- package/bizar-dash/tests/auth-inputs-labels.test.mjs +0 -45
- package/bizar-dash/tests/background-jobs-action-labels.test.mjs +0 -41
- package/bizar-dash/tests/background-jobs-states.test.mjs +0 -80
- package/bizar-dash/tests/background-pause-resume.test.mjs +0 -46
- package/bizar-dash/tests/background-sdk-session.test.mjs +0 -94
- package/bizar-dash/tests/background-session-events.test.mjs +0 -74
- package/bizar-dash/tests/background-spawn-from-ui.test.mjs +0 -36
- package/bizar-dash/tests/background-steer-sdk.test.mjs +0 -71
- package/bizar-dash/tests/background-steer.test.mjs +0 -60
- package/bizar-dash/tests/backup-restore.test.mjs +0 -217
- package/bizar-dash/tests/backup-store.test.mjs +0 -300
- package/bizar-dash/tests/banner-tones.test.mjs +0 -50
- package/bizar-dash/tests/bundle-analysis.test.mjs +0 -74
- package/bizar-dash/tests/callout-tokens.test.mjs +0 -30
- package/bizar-dash/tests/chat-new-session.test.mjs +0 -63
- package/bizar-dash/tests/claude-session-detail-states.test.mjs +0 -67
- package/bizar-dash/tests/cli-bugfixes.test.mjs +0 -151
- package/bizar-dash/tests/cli-error-visibility.test.mjs +0 -153
- package/bizar-dash/tests/cli-refactor.test.mjs +0 -183
- package/bizar-dash/tests/cli-tailscale.test.mjs +0 -113
- package/bizar-dash/tests/clipboard.test.mjs +0 -147
- package/bizar-dash/tests/components/BackgroundJobsSkeleton.test.tsx +0 -38
- package/bizar-dash/tests/components/Button.test.tsx +0 -78
- package/bizar-dash/tests/components/Card.test.tsx +0 -59
- package/bizar-dash/tests/components/Dialog.test.tsx +0 -80
- package/bizar-dash/tests/components/Toast.test.tsx +0 -61
- package/bizar-dash/tests/dash-cli-load.test.mjs +0 -44
- package/bizar-dash/tests/dashboard-ports.test.mjs +0 -138
- package/bizar-dash/tests/density-tokens.test.mjs +0 -46
- package/bizar-dash/tests/deploy-templates.test.mjs +0 -100
- package/bizar-dash/tests/diagnostics-store.test.mjs +0 -205
- package/bizar-dash/tests/digest-generation.test.mjs +0 -191
- package/bizar-dash/tests/digest-store.test.mjs +0 -264
- package/bizar-dash/tests/docker-build.test.mjs +0 -96
- package/bizar-dash/tests/doctor-route-shape.test.mjs +0 -67
- package/bizar-dash/tests/empty-state-docs.test.mjs +0 -55
- package/bizar-dash/tests/env-vars-extended.test.mjs +0 -190
- package/bizar-dash/tests/env-vars-store.test.mjs +0 -216
- package/bizar-dash/tests/errorstate-retry.test.mjs +0 -42
- package/bizar-dash/tests/eval/fixtures-extra.test.mjs +0 -285
- package/bizar-dash/tests/eval/fixtures.test.mjs +0 -141
- package/bizar-dash/tests/eval/report.test.mjs +0 -284
- package/bizar-dash/tests/eval/runner.test.mjs +0 -471
- package/bizar-dash/tests/eval-csv.test.mjs +0 -67
- package/bizar-dash/tests/eval-scheduled.test.mjs +0 -84
- package/bizar-dash/tests/focus-visible.test.mjs +0 -30
- package/bizar-dash/tests/frontend-bugfixes.test.mjs +0 -151
- package/bizar-dash/tests/goals-decompose.test.mjs +0 -179
- package/bizar-dash/tests/kanban-empty-column.test.mjs +0 -56
- package/bizar-dash/tests/layout-spacing.test.mjs +0 -101
- package/bizar-dash/tests/library-dedupe.test.mjs +0 -62
- package/bizar-dash/tests/lightrag-defaults.node.test.mjs +0 -118
- package/bizar-dash/tests/lightrag-skeleton.test.mjs +0 -31
- package/bizar-dash/tests/lightrag-startup-hook.test.mjs +0 -238
- package/bizar-dash/tests/lightrag-states.test.mjs +0 -60
- package/bizar-dash/tests/logger.test.mjs +0 -207
- package/bizar-dash/tests/loop-runtime.test.mjs +0 -312
- package/bizar-dash/tests/loops-agent-bus-routes.test.mjs +0 -293
- package/bizar-dash/tests/memory-auto-reindex.test.mjs +0 -196
- package/bizar-dash/tests/memory-cli-readlistdelete.test.mjs +0 -405
- package/bizar-dash/tests/memory-cli-setup.test.mjs +0 -382
- package/bizar-dash/tests/memory-cli.test.mjs +0 -596
- package/bizar-dash/tests/memory-config.test.mjs +0 -422
- package/bizar-dash/tests/memory-conflicts.test.mjs +0 -229
- package/bizar-dash/tests/memory-default-vault.test.mjs +0 -185
- package/bizar-dash/tests/memory-git.test.mjs +0 -264
- package/bizar-dash/tests/memory-graph.test.mjs +0 -95
- package/bizar-dash/tests/memory-install-bootstrap.test.mjs +0 -129
- package/bizar-dash/tests/memory-lightrag-extended.test.mjs +0 -293
- package/bizar-dash/tests/memory-lightrag.test.mjs +0 -153
- package/bizar-dash/tests/memory-link.test.mjs +0 -134
- package/bizar-dash/tests/memory-namespace.test.mjs +0 -404
- package/bizar-dash/tests/memory-obsidian.test.mjs +0 -269
- package/bizar-dash/tests/memory-path-safety.test.mjs +0 -427
- package/bizar-dash/tests/memory-protocol-drift.test.mjs +0 -52
- package/bizar-dash/tests/memory-roundtrip.test.mjs +0 -219
- package/bizar-dash/tests/memory-schema.test.mjs +0 -198
- package/bizar-dash/tests/memory-secrets.test.mjs +0 -121
- package/bizar-dash/tests/memory-status-root.test.mjs +0 -144
- package/bizar-dash/tests/memory-store.test.mjs +0 -493
- package/bizar-dash/tests/memory-sync.test.mjs +0 -141
- package/bizar-dash/tests/memory-tab.test.mjs +0 -322
- package/bizar-dash/tests/memory-vault-config-endpoint.test.mjs +0 -173
- package/bizar-dash/tests/metrics.test.mjs +0 -183
- package/bizar-dash/tests/minimax-bar.test.tsx +0 -113
- package/bizar-dash/tests/minimax-chat-usage.test.mjs +0 -253
- package/bizar-dash/tests/minimax-models.test.mjs +0 -123
- package/bizar-dash/tests/minimax-usage-store.node.test.mjs +0 -293
- package/bizar-dash/tests/mod-instructions.node.test.mjs +0 -188
- package/bizar-dash/tests/mod-security.test.mjs +0 -273
- package/bizar-dash/tests/mod-upgrade.node.test.mjs +0 -357
- package/bizar-dash/tests/modal-focus-trap.test.mjs +0 -114
- package/bizar-dash/tests/no-browser-harness.node.test.mjs +0 -98
- package/bizar-dash/tests/notifications-dismiss-restore.test.mjs +0 -85
- package/bizar-dash/tests/obsidian-back-compat.test.mjs +0 -199
- package/bizar-dash/tests/ocr.test.mjs +0 -87
- package/bizar-dash/tests/orphan-tests-audit.test.mjs +0 -80
- package/bizar-dash/tests/otel-spans.test.mjs +0 -253
- package/bizar-dash/tests/otel.test.mjs +0 -188
- package/bizar-dash/tests/palette-keyboard-nav.test.mjs +0 -123
- package/bizar-dash/tests/palette-shortcut-hint.test.mjs +0 -58
- package/bizar-dash/tests/path-safe.test.mjs +0 -108
- package/bizar-dash/tests/projects-filter.test.mjs +0 -48
- package/bizar-dash/tests/providers-store-backup-keys.node.test.mjs +0 -809
- package/bizar-dash/tests/providers-store-search.node.test.mjs +0 -166
- package/bizar-dash/tests/rate-limit.test.mjs +0 -298
- package/bizar-dash/tests/routes-doctor.test.mjs +0 -159
- package/bizar-dash/tests/schedules-skeleton.test.mjs +0 -25
- package/bizar-dash/tests/schedules-states.test.mjs +0 -67
- package/bizar-dash/tests/schedules-templates.test.mjs +0 -144
- package/bizar-dash/tests/server-bugfixes.test.mjs +0 -318
- package/bizar-dash/tests/settings-labels.test.mjs +0 -80
- package/bizar-dash/tests/setup.ts +0 -84
- package/bizar-dash/tests/sidebar-collapse-animation.test.mjs +0 -37
- package/bizar-dash/tests/sidebar-distinct-icons.test.mjs +0 -28
- package/bizar-dash/tests/sidebar-responsive.test.tsx +0 -48
- package/bizar-dash/tests/sidebar-section-styles.test.mjs +0 -55
- package/bizar-dash/tests/sidebar-section-toggle.test.tsx +0 -63
- package/bizar-dash/tests/skeleton-height.test.mjs +0 -47
- package/bizar-dash/tests/skills-list.test.mjs +0 -232
- package/bizar-dash/tests/skills-search.test.mjs +0 -222
- package/bizar-dash/tests/smoke-v2.mjs +0 -212
- package/bizar-dash/tests/space-tokens.test.mjs +0 -36
- package/bizar-dash/tests/stattile-loading.test.mjs +0 -28
- package/bizar-dash/tests/strip-thinking.test.mjs +0 -175
- package/bizar-dash/tests/submit-feedback.test.mjs +0 -353
- package/bizar-dash/tests/task-splitter.test.mjs +0 -268
- package/bizar-dash/tests/tasks-create.test.mjs +0 -187
- package/bizar-dash/tests/tasks-patch-routes.test.mjs +0 -194
- package/bizar-dash/tests/theme-toggle-icon.test.mjs +0 -28
- package/bizar-dash/tests/tmux-wrap.test.mjs +0 -145
- package/bizar-dash/tests/topbar-design-system.test.mjs +0 -56
- package/bizar-dash/tests/topbar-popover-styles.test.mjs +0 -53
- package/bizar-dash/tests/ui/primitives/VisuallyHidden.test.tsx +0 -42
- package/bizar-dash/tests/update-channels.test.mjs +0 -67
- package/bizar-dash/tests/update-check.test.mjs +0 -132
- package/bizar-dash/tests/update-packages.test.mjs +0 -154
- package/bizar-dash/tests/update-run.test.mjs +0 -203
- package/bizar-dash/tests/users.test.mjs +0 -108
- package/bizar-dash/tests/v7-archive/BackgroundAgents.test.tsx +0 -160
- package/bizar-dash/tests/v7-archive/a11y/forms.test.tsx +0 -191
- package/bizar-dash/tests/v7-archive/a11y.test.tsx +0 -206
- package/bizar-dash/tests/v7-archive/autosave.test.tsx +0 -276
- package/bizar-dash/tests/v7-archive/backup-restore.test.tsx +0 -141
- package/bizar-dash/tests/v7-archive/chat-composer.test.tsx +0 -140
- package/bizar-dash/tests/v7-archive/communication-log.test.tsx +0 -67
- package/bizar-dash/tests/v7-archive/components/Modal.test.tsx +0 -104
- package/bizar-dash/tests/v7-archive/components/Spinner.test.tsx +0 -32
- package/bizar-dash/tests/v7-archive/components/StatusBadge.test.tsx +0 -35
- package/bizar-dash/tests/v7-archive/components/doctor-panel.test.tsx +0 -105
- package/bizar-dash/tests/v7-archive/components/screenshot-ocr.test.tsx +0 -75
- package/bizar-dash/tests/v7-archive/components/settings-search.test.tsx +0 -180
- package/bizar-dash/tests/v7-archive/components/workspace-selector.test.tsx +0 -73
- package/bizar-dash/tests/v7-archive/controls/Button.test.tsx +0 -50
- package/bizar-dash/tests/v7-archive/controls/Checkbox.test.tsx +0 -44
- package/bizar-dash/tests/v7-archive/controls/IconButton.test.tsx +0 -37
- package/bizar-dash/tests/v7-archive/controls/Kbd.test.tsx +0 -39
- package/bizar-dash/tests/v7-archive/controls/NumberInput.test.tsx +0 -56
- package/bizar-dash/tests/v7-archive/controls/RadioGroup.test.tsx +0 -58
- package/bizar-dash/tests/v7-archive/controls/SearchInput.test.tsx +0 -52
- package/bizar-dash/tests/v7-archive/controls/Select.test.tsx +0 -66
- package/bizar-dash/tests/v7-archive/controls/Slider.test.tsx +0 -41
- package/bizar-dash/tests/v7-archive/controls/TextInput.test.tsx +0 -44
- package/bizar-dash/tests/v7-archive/controls/Textarea.test.tsx +0 -56
- package/bizar-dash/tests/v7-archive/controls/Toggle.test.tsx +0 -39
- package/bizar-dash/tests/v7-archive/data/BarChart.test.tsx +0 -55
- package/bizar-dash/tests/v7-archive/data/DataTable.test.tsx +0 -112
- package/bizar-dash/tests/v7-archive/data/EmptyState.test.tsx +0 -57
- package/bizar-dash/tests/v7-archive/data/ErrorState.test.tsx +0 -47
- package/bizar-dash/tests/v7-archive/data/KeyValueList.test.tsx +0 -59
- package/bizar-dash/tests/v7-archive/data/LoadingState.test.tsx +0 -37
- package/bizar-dash/tests/v7-archive/data/Sparkline.test.tsx +0 -56
- package/bizar-dash/tests/v7-archive/data/StatTile.test.tsx +0 -69
- package/bizar-dash/tests/v7-archive/dep-graph.test.tsx +0 -40
- package/bizar-dash/tests/v7-archive/eval-web-ui.test.tsx +0 -220
- package/bizar-dash/tests/v7-archive/event-log.test.tsx +0 -61
- package/bizar-dash/tests/v7-archive/feedback/Badge.test.tsx +0 -41
- package/bizar-dash/tests/v7-archive/feedback/Dialog.test.tsx +0 -99
- package/bizar-dash/tests/v7-archive/feedback/ProgressBar.test.tsx +0 -66
- package/bizar-dash/tests/v7-archive/feedback/StatusDot.test.tsx +0 -41
- package/bizar-dash/tests/v7-archive/feedback/Toast.test.tsx +0 -124
- package/bizar-dash/tests/v7-archive/feedback/Tooltip.test.tsx +0 -102
- package/bizar-dash/tests/v7-archive/goal-input.test.tsx +0 -72
- package/bizar-dash/tests/v7-archive/goap-planner.test.ts +0 -68
- package/bizar-dash/tests/v7-archive/hooks/useModal.test.tsx +0 -84
- package/bizar-dash/tests/v7-archive/hooks/useToast.test.tsx +0 -50
- package/bizar-dash/tests/v7-archive/layout/AppShell.test.tsx +0 -50
- package/bizar-dash/tests/v7-archive/layout/Breadcrumbs.test.tsx +0 -85
- package/bizar-dash/tests/v7-archive/layout/Panel.test.tsx +0 -52
- package/bizar-dash/tests/v7-archive/layout/PanelHeader.test.tsx +0 -32
- package/bizar-dash/tests/v7-archive/layout/Sidebar.test.tsx +0 -95
- package/bizar-dash/tests/v7-archive/layout/Tabs.test.tsx +0 -87
- package/bizar-dash/tests/v7-archive/layout/Topbar.test.tsx +0 -41
- package/bizar-dash/tests/v7-archive/layout/ViewHeader.test.tsx +0 -47
- package/bizar-dash/tests/v7-archive/lib/i18n.test.ts +0 -46
- package/bizar-dash/tests/v7-archive/lib/search-fuzzy.test.ts +0 -149
- package/bizar-dash/tests/v7-archive/lib/utils.test.ts +0 -194
- package/bizar-dash/tests/v7-archive/memory-graph-view.test.tsx +0 -69
- package/bizar-dash/tests/v7-archive/mobile-chat.test.tsx +0 -82
- package/bizar-dash/tests/v7-archive/mobile-layout.test.tsx +0 -332
- package/bizar-dash/tests/v7-archive/mobile-tasks.test.tsx +0 -162
- package/bizar-dash/tests/v7-archive/navigation/NavGroup.test.tsx +0 -55
- package/bizar-dash/tests/v7-archive/navigation/NavLink.test.tsx +0 -61
- package/bizar-dash/tests/v7-archive/quality-gates.test.tsx +0 -59
- package/bizar-dash/tests/v7-archive/settings-layout.test.tsx +0 -129
- package/bizar-dash/tests/v7-archive/settings-mode-wiring.test.tsx +0 -151
- package/bizar-dash/tests/v7-archive/ui/primitives/Box.test.tsx +0 -49
- package/bizar-dash/tests/v7-archive/ui/primitives/Grid.test.tsx +0 -37
- package/bizar-dash/tests/v7-archive/ui/primitives/Inline.test.tsx +0 -33
- package/bizar-dash/tests/v7-archive/ui/primitives/Separator.test.tsx +0 -34
- package/bizar-dash/tests/v7-archive/ui/primitives/Stack.test.tsx +0 -45
- package/bizar-dash/tests/v7-archive/views/Agents.test.tsx +0 -359
- package/bizar-dash/tests/v7-archive/views/Memory.test.tsx +0 -274
- package/bizar-dash/tests/v7-archive/views/Tasks.test.tsx +0 -250
- package/bizar-dash/tests/v7-archive/views/sidebar.test.tsx +0 -116
- package/bizar-dash/tests/v7-archive/views/topbar.test.tsx +0 -87
- package/bizar-dash/tests/v7-archive/voice-recorder.test.tsx +0 -95
- package/bizar-dash/tests/voice-store.test.mjs +0 -148
- package/bizar-dash/tests/voice-transcribe-worker.test.mjs +0 -343
- package/bizar-dash/tests/voice-transcribe.test.mjs +0 -87
- package/bizar-dash/tests/workspaces.test.mjs +0 -527
- package/bizar-dash/tests/yaml.test.mjs +0 -128
- package/bizar-dash/tsconfig.json +0 -23
- package/bizar-dash/vite.config.ts +0 -82
- package/bizar-dash/vitest.config.ts +0 -20
- package/cli/__tests__/cost-gate.test.mjs +0 -301
- package/cli/__tests__/esm-no-require.test.mjs +0 -97
- package/cli/__tests__/feature-list-bridge.test.mjs +0 -371
- package/cli/agent-browser-up.sh +0 -152
- package/cli/agent-browser-update.test.mjs +0 -86
- package/cli/artifact-cli.mjs +0 -605
- package/cli/artifact-render.mjs +0 -621
- package/cli/artifact-server.mjs +0 -847
- package/cli/artifact-templates.mjs +0 -523
- package/cli/artifact.mjs +0 -63
- package/cli/artifact.test.mjs +0 -2331
- package/cli/bg.mjs +0 -471
- package/cli/cli-commands-validation.test.mjs +0 -106
- package/cli/commands/artifact.mjs +0 -20
- package/cli/commands/clip.mjs +0 -163
- package/cli/commands/dash.mjs +0 -193
- package/cli/commands/deploy/cloudflare.mjs +0 -250
- package/cli/commands/deploy/docker.mjs +0 -219
- package/cli/commands/deploy/fly.mjs +0 -161
- package/cli/commands/deploy/vercel.mjs +0 -225
- package/cli/commands/deploy.mjs +0 -240
- package/cli/commands/eval.mjs +0 -396
- package/cli/commands/lightrag.mjs +0 -170
- package/cli/commands/marketplace.mjs +0 -64
- package/cli/commands/memory.mjs +0 -25
- package/cli/commands/minimax.mjs +0 -288
- package/cli/commands/mod.mjs +0 -185
- package/cli/commands/ocr.mjs +0 -182
- package/cli/commands/plugin.mjs +0 -358
- package/cli/commands/rca.test.mjs +0 -99
- package/cli/commands/service.mjs +0 -79
- package/cli/commands/setup-provider.test.mjs +0 -311
- package/cli/commands/tailscale.mjs +0 -256
- package/cli/commands/usage.mjs +0 -113
- package/cli/commands/voice.mjs +0 -211
- package/cli/commands/workspace.mjs +0 -247
- package/cli/copy.mjs +0 -540
- package/cli/dev-link.mjs +0 -191
- package/cli/dev-link.test.mjs +0 -310
- package/cli/digest.mjs +0 -149
- package/cli/install/banner.test.mjs +0 -39
- package/cli/install/index.test.mjs +0 -61
- package/cli/install/paths.test.mjs +0 -77
- package/cli/install/plugin.mjs +0 -161
- package/cli/install/postinstall.mjs +0 -137
- package/cli/install/postinstall.test.mjs +0 -98
- package/cli/install.test.mjs +0 -272
- package/cli/memory-constants.mjs +0 -76
- package/cli/memory.mjs +0 -1850
- package/cli/migrate.test.mjs +0 -85
- package/cli/plow-through.test.mjs +0 -56
- package/cli/plugin-runtime-deps.mjs +0 -250
- package/cli/plugin-runtime-deps.test.mjs +0 -378
- package/cli/post-install-smoke.mjs +0 -256
- package/cli/post-install-smoke.test.mjs +0 -72
- package/cli/prompts.mjs +0 -168
- package/cli/providers-detect.mjs +0 -233
- package/cli/provision.test.mjs +0 -324
- package/cli/service-controller.mjs +0 -735
- package/cli/service-controller.test.mjs +0 -191
- package/cli/service-env.mjs +0 -130
- package/cli/service.mjs +0 -492
- package/cli/tests/minimax-cli.test.mjs +0 -79
- package/cli/worker-dispatcher.test.mjs +0 -204
- package/config/skills/glyph/SKILL.md +0 -163
- package/config/skills/lightrag/SKILL.md +0 -81
- package/config/skills/memory-protocol/SKILL.md +0 -105
- package/config/skills/obsidian/SKILL.md +0 -306
- package/packages/sdk/${HOME}/.bizar_home/memory/projects/sdk/sessions/2026-07-16-e16c2f59.md +0 -14
- package/packages/sdk/.bizar/learning/instincts.jsonl +0 -5
- package/packages/sdk/LICENSE +0 -21
- package/packages/sdk/dist/memory/index.d.ts +0 -43
- package/packages/sdk/dist/memory/index.js +0 -159
- package/packages/sdk/dist/router/memory-distillation.d.ts +0 -58
- package/packages/sdk/dist/router/memory-distillation.js +0 -195
- package/packages/sdk/vitest.config.ts +0 -9
- package/plugins/bizar/LICENSE +0 -21
- package/plugins/bizar/dist/index.d.ts +0 -25
- package/plugins/bizar/dist/index.js +0 -32
- package/plugins/bizar/package.json +0 -18
- package/scripts/audit.mjs +0 -388
- package/scripts/audit.test.mjs +0 -149
- package/scripts/bh-full-e2e.mjs +0 -300
- package/scripts/check-agents.mjs +0 -76
- package/scripts/check-arch.sh +0 -80
- package/scripts/check-deps.mjs +0 -468
- package/scripts/clean-state-check.sh +0 -81
- package/scripts/eval-gate.mjs +0 -134
- package/scripts/eval-gate.test.mjs +0 -138
- package/scripts/feature-state-machine.mjs +0 -178
- package/scripts/feature-state-machine.test.mjs +0 -135
- package/scripts/git-hooks/__tests__/commit-msg.test.mjs +0 -61
- package/scripts/install-curl.sh +0 -17
- package/scripts/install-service.mjs +0 -190
- package/scripts/loop-log.txt +0 -29
- package/scripts/loop-tasks.md +0 -79
- package/scripts/mirror-claude-md.sh +0 -78
- package/scripts/overnight-loop.mjs +0 -60
- package/scripts/run-dev.mjs +0 -84
- package/scripts/session-trace.sh +0 -52
- package/scripts/spec-dedup.test.mjs +0 -124
- package/scripts/sprint.mjs +0 -213
- package/scripts/sync-skills-mirror.mjs +0 -113
- package/scripts/test-in-container.sh +0 -157
- package/scripts/verify-feature.sh +0 -102
- package/scripts/verify-thinking-skills.mjs +0 -135
- package/scripts/worktree-setup.sh +0 -79
- package/templates/clean-state-checklist.md +0 -55
- package/templates/deploy/cloudflare/README.md +0 -32
- package/templates/deploy/cloudflare/functions-index.template.js +0 -15
- package/templates/deploy/cloudflare/wrangler.toml.template +0 -9
- package/templates/deploy/docker/.env.template +0 -16
- package/templates/deploy/docker/README.md +0 -58
- package/templates/deploy/docker/docker-compose.template.yml +0 -23
- package/templates/deploy/fly/README.md +0 -35
- package/templates/deploy/fly/fly.toml.template +0 -28
- package/templates/deploy/vercel/README.md +0 -29
- package/templates/deploy/vercel/api-index.template.js +0 -18
- package/templates/deploy/vercel/vercel.json.template +0 -16
- package/templates/eval-fixtures/README.md +0 -58
- package/templates/eval-fixtures/citation.json +0 -16
- package/templates/eval-fixtures/code-review.json +0 -16
- package/templates/eval-fixtures/code-search-basic.json +0 -28
- package/templates/eval-fixtures/concise-output.json +0 -16
- package/templates/eval-fixtures/context-window.json +0 -16
- package/templates/eval-fixtures/error-recovery.json +0 -16
- package/templates/eval-fixtures/json-output.json +0 -20
- package/templates/eval-fixtures/latency-bounds.json +0 -16
- package/templates/eval-fixtures/multi-language.json +0 -16
- package/templates/eval-fixtures/regression-suite.json +0 -79
- package/templates/eval-fixtures/response-format.json +0 -30
- package/templates/eval-fixtures/safe-paths.json +0 -16
- package/templates/eval-fixtures/tool-call-correctness.json +0 -24
- package/templates/eval-fixtures/tool-call-multi-step.json +0 -18
- package/templates/eval-fixtures/unicode-handling.json +0 -16
- package/templates/evaluator-rubric.md +0 -50
- package/templates/plan/htmx.min.js +0 -1
- package/templates/plan/library/bug-investigation.mdx +0 -79
- package/templates/plan/library/decision-record.mdx +0 -71
- package/templates/plan/library/feature-design.mdx +0 -92
- package/templates/plan/meta.json.template +0 -8
- package/templates/plan/plan.mdx.template +0 -46
- package/templates/plugin-template/README.md +0 -121
- package/templates/plugin-template/index.js +0 -66
- package/templates/plugin-template/plugin.json +0 -42
- package/templates/plugin-template/tests/plugin.test.js +0 -83
- package/templates/schedules/daily-backup.json +0 -12
- package/templates/schedules/daily-cleanup.json +0 -12
- package/templates/schedules/hourly-health-check.json +0 -12
- package/templates/schedules/webhook-on-push.json +0 -13
- package/templates/schedules/weekly-digest.json +0 -13
- package/templates/sprint-contract.md +0 -47
- /package/{.claude → config}/skills/de-sloppify/SKILL.md +0 -0
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/OverviewView-B6L_wa4M.js","assets/cmdk-C3F6LD6N.js","assets/ActivityFeed-Bw4Cai7r.js","assets/trending-up-qKTUQKIT.js","assets/Card-Clkvh43Q.js","assets/Banner-Du-3l05O.js","assets/ViewHeader-BsnaspKw.js","assets/Sparkline-Z4y0YUZS.js","assets/circle-check-BMbe7Kkr.js","assets/triangle-alert-BeY8LAv6.js","assets/git-pull-request-CpRAmERC.js","assets/TasksView-G-s_pwwr.js","assets/AgentActivity-DBWDByjk.js","assets/dnd-kit-BAOLODOI.js","assets/plus-Cps-8lcG.js","assets/calendar-CAZoDd-l.js","assets/Avatar-CRW81ewE.js","assets/index-B1OIS316.js","assets/index-CR0TeJmc.js","assets/Select-Bf_P0S6H.js","assets/Grid-Bojq8Sg7.js","assets/Input-DV-vdaV8.js","assets/Textarea-BfXGMXQ7.js","assets/Switch-B79a2t-G.js","assets/Slider-AjjzqI-5.js","assets/Alert-pzFISNtS.js","assets/circle-alert-QQTU4Quz.js","assets/EmptyState-ccT__JZG.js","assets/Sheet-BwMVGN-8.js","assets/Chip-B7ovcm01.js","assets/trash-2-B_Y6HrfN.js","assets/filter-Do63x17E.js","assets/ProgressBar-KC4VXsl_.js","assets/SettingsRow-CJb-F94Y.js","assets/MessageBubble-CrCJ0SYG.js","assets/GoalsView-C3QG5p7T.js","assets/external-link-DPDQM1YO.js","assets/ErrorState-BSqf65ka.js","assets/refresh-ccw-DN_zCB1h.js","assets/ListHeader-CCD_nIHb.js","assets/AgentsView-DD6bCIbA.js","assets/zap-Bz1Z8y1Q.js","assets/play-blqh0msT.js","assets/pause-HitDUnk_.js","assets/refresh-cw-KGm5eQgv.js","assets/send-CaOL1yQD.js","assets/rotate-cw-CClSVUaX.js","assets/network-DJnHwHX3.js","assets/ActivityView-BC0QQ_j9.js","assets/circle-D99cZJBr.js","assets/clock-OtT5mvF3.js","assets/MemoryView-Cr-obIQY.js","assets/file-text-BsCrv5aP.js","assets/download-B-mPX5P_.js","assets/brain-D7k5s8vH.js","assets/LibrariesView-DH2E2uNb.js","assets/power-DEX4_Xoa.js","assets/SettingsView-BvOGcgMS.js","assets/plug-DVvSSe40.js","assets/SchedulesView-yMaG3Dtd.js","assets/BackgroundJobsView-w8OZtXyI.js","assets/DoctorView-Dm94WI2z.js","assets/UsageView-M01G6bZQ.js","assets/BackupView-u_O3j0TG.js","assets/NotificationsView-CIqtY6D0.js","assets/rotate-ccw-D5fkDRgk.js","assets/DiagnosticsView-D5Wy9xlJ.js","assets/EvalView-2cbWVBUA.js","assets/ChatView-BTjb3mIh.js","assets/ProjectsView-DgxWiqHb.js","assets/ClaudeSessionsView-BoZS5ldi.js","assets/pencil-Dkks7eIC.js","assets/HistoryView-Bum2TMMw.js","assets/AdminView-CLTNKFL4.js","assets/power-off-upZ4xjaG.js","assets/shield-alert-DA9K6uZO.js","assets/AuthView-BZ-bPIOM.js","assets/EnvVarsView-BhcIuJ6V.js","assets/ConfigView-DfTJk1uL.js","assets/save-BY4ViPku.js","assets/DialogsView-HVyfrXpq.js","assets/ProvidersView-BOqN9omv.js","assets/ModsView-B6OR-a4B.js","assets/upload-BZCtmqIh.js","assets/UpdateView-BKx3u9X8.js","assets/ArtifactsView-BVU5lfo7.js","assets/LightRAGView-BFCcj7Tl.js","assets/VoiceView-rWE8vziD.js","assets/ClipboardView-Cb6XgYZI.js","assets/ObsidianView-Nahah8QC.js","assets/MiscView-CDUQpYuV.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var Bn=Object.defineProperty;var Hn=(e,t,r)=>t in e?Bn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ct=(e,t,r)=>Hn(e,typeof t!="symbol"?t+"":t,r);import{a as cr,r as u,j as i,P as Ve,u as Ge,c as lr,b as Qe,d as Gn,e as dr,f as qn,h as Kn,g as Un,i as Me,k as Yn,l as Xn,F as Zn,D as Jn,m as Qn,n as eo,S as to,o as ur,p as fr,q as pr,s as hr,t as ro,v as no,w as oo,_ as xe}from"./cmdk-C3F6LD6N.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var gr,$t=cr;gr=$t.createRoot,$t.hydrateRoot;const mr=u.createContext(null),gt="bizar:theme";function so(){if(typeof window>"u")return"system";const e=window.localStorage.getItem(gt);return e==="light"||e==="dark"||e==="system"?e:"system"}function ao(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-color-scheme: dark)").matches}function io(e){typeof document>"u"||(document.documentElement.dataset.theme=e)}function co({children:e,defaultMode:t}){const[r,n]=u.useState(()=>t??so()),[o,s]=u.useState(ao);u.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const h=window.matchMedia("(prefers-color-scheme: dark)"),f=m=>s(m.matches);return h.addEventListener("change",f),()=>h.removeEventListener("change",f)},[]);const a=r==="system"?o?"dark":"light":r;u.useEffect(()=>{io(a)},[a]);const c=u.useCallback(h=>{n(h),typeof window<"u"&&window.localStorage.setItem(gt,h)},[]),l=u.useCallback(()=>{n(h=>{const f=h==="light"?"dark":h==="dark"?"system":"light";return typeof window<"u"&&window.localStorage.setItem(gt,f),f})},[]),d=u.useMemo(()=>({mode:r,resolved:a,setMode:c,cycle:l}),[r,a,c,l]);return i.jsx(mr.Provider,{value:d,children:e})}const vr=u.createContext(null),mt="bizar:density";function lo(){if(typeof window>"u")return"comfortable";const e=window.localStorage.getItem(mt);return e==="comfortable"||e==="compact"?e:"comfortable"}function uo(e){typeof document>"u"||(document.documentElement.dataset.density=e)}function fo({children:e,defaultDensity:t}){const[r,n]=u.useState(()=>t??lo());u.useEffect(()=>{uo(r)},[r]);const o=u.useCallback(c=>{n(c),typeof window<"u"&&window.localStorage.setItem(mt,c)},[]),s=u.useCallback(()=>{n(c=>{const l=c==="comfortable"?"compact":"comfortable";return typeof window<"u"&&window.localStorage.setItem(mt,l),l})},[]),a=u.useMemo(()=>({density:r,setDensity:o,toggle:s}),[r,o,s]);return i.jsx(vr.Provider,{value:a,children:e})}/**
|
|
3
|
-
* @license lucide-react v0.460.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/const po=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yr=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
|
|
8
|
-
* @license lucide-react v0.460.0 - ISC
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the ISC license.
|
|
11
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/var ho={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
13
|
-
* @license lucide-react v0.460.0 - ISC
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the ISC license.
|
|
16
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/const go=u.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:a,...c},l)=>u.createElement("svg",{ref:l,...ho,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:yr("lucide",o),...c},[...a.map(([d,h])=>u.createElement(d,h)),...Array.isArray(s)?s:[s]]));/**
|
|
18
|
-
* @license lucide-react v0.460.0 - ISC
|
|
19
|
-
*
|
|
20
|
-
* This source code is licensed under the ISC license.
|
|
21
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/const j=(e,t)=>{const r=u.forwardRef(({className:n,...o},s)=>u.createElement(go,{ref:s,iconNode:t,className:yr(`lucide-${po(e)}`,n),...o}));return r.displayName=`${e}`,r};/**
|
|
23
|
-
* @license lucide-react v0.460.0 - ISC
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the ISC license.
|
|
26
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/const br=j("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
|
|
28
|
-
* @license lucide-react v0.460.0 - ISC
|
|
29
|
-
*
|
|
30
|
-
* This source code is licensed under the ISC license.
|
|
31
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
32
|
-
*/const mo=j("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]]);/**
|
|
33
|
-
* @license lucide-react v0.460.0 - ISC
|
|
34
|
-
*
|
|
35
|
-
* This source code is licensed under the ISC license.
|
|
36
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/const xr=j("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
|
|
38
|
-
* @license lucide-react v0.460.0 - ISC
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the ISC license.
|
|
41
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/const wt=j("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
|
|
43
|
-
* @license lucide-react v0.460.0 - ISC
|
|
44
|
-
*
|
|
45
|
-
* This source code is licensed under the ISC license.
|
|
46
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/const wr=j("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
|
|
48
|
-
* @license lucide-react v0.460.0 - ISC
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the ISC license.
|
|
51
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/const kr=j("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|
53
|
-
* @license lucide-react v0.460.0 - ISC
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the ISC license.
|
|
56
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/const Sr=j("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
|
|
58
|
-
* @license lucide-react v0.460.0 - ISC
|
|
59
|
-
*
|
|
60
|
-
* This source code is licensed under the ISC license.
|
|
61
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
62
|
-
*/const vo=j("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
|
|
63
|
-
* @license lucide-react v0.460.0 - ISC
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the ISC license.
|
|
66
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/const yo=j("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/**
|
|
68
|
-
* @license lucide-react v0.460.0 - ISC
|
|
69
|
-
*
|
|
70
|
-
* This source code is licensed under the ISC license.
|
|
71
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
72
|
-
*/const jr=j("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
|
|
73
|
-
* @license lucide-react v0.460.0 - ISC
|
|
74
|
-
*
|
|
75
|
-
* This source code is licensed under the ISC license.
|
|
76
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
-
*/const bo=j("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
78
|
-
* @license lucide-react v0.460.0 - ISC
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the ISC license.
|
|
81
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/const xo=j("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
83
|
-
* @license lucide-react v0.460.0 - ISC
|
|
84
|
-
*
|
|
85
|
-
* This source code is licensed under the ISC license.
|
|
86
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
87
|
-
*/const wo=j("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
|
|
88
|
-
* @license lucide-react v0.460.0 - ISC
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the ISC license.
|
|
91
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/const ko=j("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
|
|
93
|
-
* @license lucide-react v0.460.0 - ISC
|
|
94
|
-
*
|
|
95
|
-
* This source code is licensed under the ISC license.
|
|
96
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/const Ar=j("CircleArrowUp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);/**
|
|
98
|
-
* @license lucide-react v0.460.0 - ISC
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the ISC license.
|
|
101
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
-
*/const Cr=j("ClipboardPaste",[["path",{d:"M15 2H9a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1Z",key:"1pp7kr"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M16 4h2a2 2 0 0 1 2 2v2M11 14h10",key:"2ik1ml"}],["path",{d:"m17 10 4 4-4 4",key:"vp2hj1"}]]);/**
|
|
103
|
-
* @license lucide-react v0.460.0 - ISC
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the ISC license.
|
|
106
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/const Rr=j("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
108
|
-
* @license lucide-react v0.460.0 - ISC
|
|
109
|
-
*
|
|
110
|
-
* This source code is licensed under the ISC license.
|
|
111
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/const Er=j("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
|
|
113
|
-
* @license lucide-react v0.460.0 - ISC
|
|
114
|
-
*
|
|
115
|
-
* This source code is licensed under the ISC license.
|
|
116
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
-
*/const Pr=j("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/**
|
|
118
|
-
* @license lucide-react v0.460.0 - ISC
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the ISC license.
|
|
121
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
-
*/const _r=j("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
|
|
123
|
-
* @license lucide-react v0.460.0 - ISC
|
|
124
|
-
*
|
|
125
|
-
* This source code is licensed under the ISC license.
|
|
126
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/const Mr=j("Goal",[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]]);/**
|
|
128
|
-
* @license lucide-react v0.460.0 - ISC
|
|
129
|
-
*
|
|
130
|
-
* This source code is licensed under the ISC license.
|
|
131
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/const Or=j("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
133
|
-
* @license lucide-react v0.460.0 - ISC
|
|
134
|
-
*
|
|
135
|
-
* This source code is licensed under the ISC license.
|
|
136
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
-
*/const Be=j("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
|
|
138
|
-
* @license lucide-react v0.460.0 - ISC
|
|
139
|
-
*
|
|
140
|
-
* This source code is licensed under the ISC license.
|
|
141
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/const So=j("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
143
|
-
* @license lucide-react v0.460.0 - ISC
|
|
144
|
-
*
|
|
145
|
-
* This source code is licensed under the ISC license.
|
|
146
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
-
*/const zr=j("Library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/**
|
|
148
|
-
* @license lucide-react v0.460.0 - ISC
|
|
149
|
-
*
|
|
150
|
-
* This source code is licensed under the ISC license.
|
|
151
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
-
*/const jo=j("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
153
|
-
* @license lucide-react v0.460.0 - ISC
|
|
154
|
-
*
|
|
155
|
-
* This source code is licensed under the ISC license.
|
|
156
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
157
|
-
*/const Ao=j("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
158
|
-
* @license lucide-react v0.460.0 - ISC
|
|
159
|
-
*
|
|
160
|
-
* This source code is licensed under the ISC license.
|
|
161
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
162
|
-
*/const Lr=j("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
|
|
163
|
-
* @license lucide-react v0.460.0 - ISC
|
|
164
|
-
*
|
|
165
|
-
* This source code is licensed under the ISC license.
|
|
166
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
167
|
-
*/const Vr=j("MessageSquareText",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M13 8H7",key:"14i4kc"}],["path",{d:"M17 12H7",key:"16if0g"}]]);/**
|
|
168
|
-
* @license lucide-react v0.460.0 - ISC
|
|
169
|
-
*
|
|
170
|
-
* This source code is licensed under the ISC license.
|
|
171
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
172
|
-
*/const Tr=j("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
173
|
-
* @license lucide-react v0.460.0 - ISC
|
|
174
|
-
*
|
|
175
|
-
* This source code is licensed under the ISC license.
|
|
176
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
177
|
-
*/const Ir=j("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/**
|
|
178
|
-
* @license lucide-react v0.460.0 - ISC
|
|
179
|
-
*
|
|
180
|
-
* This source code is licensed under the ISC license.
|
|
181
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
182
|
-
*/const Co=j("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
|
183
|
-
* @license lucide-react v0.460.0 - ISC
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the ISC license.
|
|
186
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
187
|
-
*/const Ro=j("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
188
|
-
* @license lucide-react v0.460.0 - ISC
|
|
189
|
-
*
|
|
190
|
-
* This source code is licensed under the ISC license.
|
|
191
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
192
|
-
*/const Eo=j("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
|
|
193
|
-
* @license lucide-react v0.460.0 - ISC
|
|
194
|
-
*
|
|
195
|
-
* This source code is licensed under the ISC license.
|
|
196
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
197
|
-
*/const Po=j("Rows3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);/**
|
|
198
|
-
* @license lucide-react v0.460.0 - ISC
|
|
199
|
-
*
|
|
200
|
-
* This source code is licensed under the ISC license.
|
|
201
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
202
|
-
*/const et=j("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
203
|
-
* @license lucide-react v0.460.0 - ISC
|
|
204
|
-
*
|
|
205
|
-
* This source code is licensed under the ISC license.
|
|
206
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
207
|
-
*/const Dr=j("ServerCog",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]]);/**
|
|
208
|
-
* @license lucide-react v0.460.0 - ISC
|
|
209
|
-
*
|
|
210
|
-
* This source code is licensed under the ISC license.
|
|
211
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
212
|
-
*/const Nr=j("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
213
|
-
* @license lucide-react v0.460.0 - ISC
|
|
214
|
-
*
|
|
215
|
-
* This source code is licensed under the ISC license.
|
|
216
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
217
|
-
*/const $r=j("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
218
|
-
* @license lucide-react v0.460.0 - ISC
|
|
219
|
-
*
|
|
220
|
-
* This source code is licensed under the ISC license.
|
|
221
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
222
|
-
*/const Wr=j("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
223
|
-
* @license lucide-react v0.460.0 - ISC
|
|
224
|
-
*
|
|
225
|
-
* This source code is licensed under the ISC license.
|
|
226
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
227
|
-
*/const Fr=j("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
228
|
-
* @license lucide-react v0.460.0 - ISC
|
|
229
|
-
*
|
|
230
|
-
* This source code is licensed under the ISC license.
|
|
231
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
232
|
-
*/const Br=j("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
|
|
233
|
-
* @license lucide-react v0.460.0 - ISC
|
|
234
|
-
*
|
|
235
|
-
* This source code is licensed under the ISC license.
|
|
236
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
237
|
-
*/const _o=j("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
238
|
-
* @license lucide-react v0.460.0 - ISC
|
|
239
|
-
*
|
|
240
|
-
* This source code is licensed under the ISC license.
|
|
241
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
242
|
-
*/const Hr=j("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
|
|
243
|
-
* @license lucide-react v0.460.0 - ISC
|
|
244
|
-
*
|
|
245
|
-
* This source code is licensed under the ISC license.
|
|
246
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
247
|
-
*/const Gr=j("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
248
|
-
* @license lucide-react v0.460.0 - ISC
|
|
249
|
-
*
|
|
250
|
-
* This source code is licensed under the ISC license.
|
|
251
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
252
|
-
*/const qr=j("Variable",[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]]);/**
|
|
253
|
-
* @license lucide-react v0.460.0 - ISC
|
|
254
|
-
*
|
|
255
|
-
* This source code is licensed under the ISC license.
|
|
256
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
257
|
-
*/const Mo=j("Webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]);/**
|
|
258
|
-
* @license lucide-react v0.460.0 - ISC
|
|
259
|
-
*
|
|
260
|
-
* This source code is licensed under the ISC license.
|
|
261
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
262
|
-
*/const Kr=j("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
|
|
263
|
-
* @license lucide-react v0.460.0 - ISC
|
|
264
|
-
*
|
|
265
|
-
* This source code is licensed under the ISC license.
|
|
266
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
267
|
-
*/const Oo=j("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Ur(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ur(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function zo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ur(e))&&(n&&(n+=" "),n+=t);return n}const kt="-",Lo=e=>{const t=To(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{const c=a.split(kt);return c[0]===""&&c.length!==1&&c.shift(),Yr(c,t)||Vo(a)},getConflictingClassGroupIds:(a,c)=>{const l=r[a]||[];return c&&n[a]?[...l,...n[a]]:l}}},Yr=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Yr(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(kt);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId},Wt=/^\[(.+)\]$/,Vo=e=>{if(Wt.test(e)){const t=Wt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},To=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Do(Object.entries(e.classGroups),r).forEach(([s,a])=>{vt(a,n,s,t)}),n},vt=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Ft(t,o);s.classGroupId=r;return}if(typeof o=="function"){if(Io(o)){vt(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([s,a])=>{vt(a,Ft(t,s),r,n)})})},Ft=(e,t)=>{let r=e;return t.split(kt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Io=e=>e.isThemeGetter,Do=(e,t)=>t?e.map(([r,n])=>{const o=n.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,c])=>[t+a,c])):s);return[r,o]}):e,No=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=n.get(s))!==void 0)return o(s,a),a},set(s,a){r.has(s)?r.set(s,a):o(s,a)}}},Xr="!",$o=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],s=t.length,a=c=>{const l=[];let d=0,h=0,f;for(let v=0;v<c.length;v++){let b=c[v];if(d===0){if(b===o&&(n||c.slice(v,v+s)===t)){l.push(c.slice(h,v)),h=v+s;continue}if(b==="/"){f=v;continue}}b==="["?d++:b==="]"&&d--}const m=l.length===0?c:c.substring(h),g=m.startsWith(Xr),p=g?m.substring(1):m,y=f&&f>h?f-h:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:p,maybePostfixModifierPosition:y}};return r?c=>r({className:c,parseClassName:a}):a},Wo=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Fo=e=>({cache:No(e.cacheSize),parseClassName:$o(e),...Lo(e)}),Bo=/\s+/,Ho=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,s=[],a=e.trim().split(Bo);let c="";for(let l=a.length-1;l>=0;l-=1){const d=a[l],{modifiers:h,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:g}=r(d);let p=!!g,y=n(p?m.substring(0,g):m);if(!y){if(!p){c=d+(c.length>0?" "+c:c);continue}if(y=n(m),!y){c=d+(c.length>0?" "+c:c);continue}p=!1}const v=Wo(h).join(":"),b=f?v+Xr:v,w=b+y;if(s.includes(w))continue;s.push(w);const A=o(y,p);for(let S=0;S<A.length;++S){const E=A[S];s.push(b+E)}c=d+(c.length>0?" "+c:c)}return c};function Go(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Zr(t))&&(n&&(n+=" "),n+=r);return n}const Zr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Zr(e[n]))&&(r&&(r+=" "),r+=t);return r};function qo(e,...t){let r,n,o,s=a;function a(l){const d=t.reduce((h,f)=>f(h),e());return r=Fo(d),n=r.cache.get,o=r.cache.set,s=c,c(l)}function c(l){const d=n(l);if(d)return d;const h=Ho(l,r);return o(l,h),h}return function(){return s(Go.apply(null,arguments))}}const $=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ko=/^\d+\/\d+$/,Uo=new Set(["px","full","screen"]),Yo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Zo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Jo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>we(e)||Uo.has(e)||Ko.test(e),se=e=>Ae(e,"length",is),we=e=>!!e&&!Number.isNaN(Number(e)),lt=e=>Ae(e,"number",we),Pe=e=>!!e&&Number.isInteger(Number(e)),es=e=>e.endsWith("%")&&we(e.slice(0,-1)),R=e=>Jr.test(e),ae=e=>Yo.test(e),ts=new Set(["length","size","percentage"]),rs=e=>Ae(e,ts,Qr),ns=e=>Ae(e,"position",Qr),os=new Set(["image","url"]),ss=e=>Ae(e,os,ls),as=e=>Ae(e,"",cs),_e=()=>!0,Ae=(e,t,r)=>{const n=Jr.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},is=e=>Xo.test(e)&&!Zo.test(e),Qr=()=>!1,cs=e=>Jo.test(e),ls=e=>Qo.test(e),ds=()=>{const e=$("colors"),t=$("spacing"),r=$("blur"),n=$("brightness"),o=$("borderColor"),s=$("borderRadius"),a=$("borderSpacing"),c=$("borderWidth"),l=$("contrast"),d=$("grayscale"),h=$("hueRotate"),f=$("invert"),m=$("gap"),g=$("gradientColorStops"),p=$("gradientColorStopPositions"),y=$("inset"),v=$("margin"),b=$("opacity"),w=$("padding"),A=$("saturate"),S=$("scale"),E=$("sepia"),x=$("skew"),k=$("space"),M=$("translate"),W=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",R,t],P=()=>[R,t],V=()=>["",J,se],N=()=>["auto",we,R],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],L=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",R],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[we,R];return{cacheSize:500,separator:":",theme:{colors:[_e],spacing:[J,se],blur:["none","",ae,R],brightness:K(),borderColor:[e],borderRadius:["none","","full",ae,R],borderSpacing:P(),borderWidth:V(),contrast:K(),grayscale:D(),hueRotate:K(),invert:D(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[es,se],inset:H(),margin:H(),opacity:K(),padding:P(),saturate:K(),scale:K(),sepia:D(),skew:K(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",R]}],container:["container"],columns:[{columns:[ae]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),R]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pe,R]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",R]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",Pe,R]}],"grid-cols":[{"grid-cols":[_e]}],"col-start-end":[{col:["auto",{span:["full",Pe,R]},R]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[_e]}],"row-start-end":[{row:["auto",{span:[Pe,R]},R]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",R]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",R]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...C()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...C(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...C(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",R,t]}],"min-w":[{"min-w":[R,t,"min","max","fit"]}],"max-w":[{"max-w":[R,t,"none","full","min","max","fit","prose",{screen:[ae]},ae]}],h:[{h:[R,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[R,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[R,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ae,se]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",lt]}],"font-family":[{font:[_e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",R]}],"line-clamp":[{"line-clamp":["none",we,lt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",J,R]}],"list-image":[{"list-image":["none",R]}],"list-style-type":[{list:["none","disc","decimal",R]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",J,se]}],"underline-offset":[{"underline-offset":["auto",J,R]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),ns]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rs]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ss]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...L(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:L()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...L()]}],"outline-offset":[{"outline-offset":[J,R]}],"outline-w":[{outline:[J,se]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[J,se]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ae,as]}],"shadow-color":[{shadow:[_e]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ae,R]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[f]}],saturate:[{saturate:[A]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",R]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",R]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",R]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Pe,R]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",R]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[J,se,lt]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},us=qo(ds);function q(...e){return us(zo(e))}const Q={0:"var(--space-0, 0)",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},fs={none:"0",sm:"var(--radius-sm)",md:"var(--radius)",lg:"var(--radius-lg)",pill:"var(--radius-pill)"},ps={none:"none",1:"var(--shadow-1)",2:"var(--shadow-2)",3:"var(--shadow-3)",4:"var(--shadow-4)"},I=u.forwardRef(function(t,r){const{as:n,p:o,px:s,py:a,pt:c,pb:l,pl:d,pr:h,bg:f,border:m,borderColor:g,rounded:p,shadow:y,inline:v,display:b,className:w,style:A,children:S,...E}=t,x=n??"div",k={...A};return o!==void 0&&(k.padding=Q[o]),s!==void 0&&(k.paddingLeft=Q[s],k.paddingRight=Q[s]),a!==void 0&&(k.paddingTop=Q[a],k.paddingBottom=Q[a]),c!==void 0&&(k.paddingTop=Q[c]),l!==void 0&&(k.paddingBottom=Q[l]),d!==void 0&&(k.paddingLeft=Q[d]),h!==void 0&&(k.paddingRight=Q[h]),f!==void 0&&f!=="transparent"&&(k.background=`var(--${f})`),m&&(k.borderWidth="1px",k.borderStyle="solid",k.borderColor=`var(--${g??"border"})`),p!==void 0&&(k.borderRadius=fs[p]),y!==void 0&&(k.boxShadow=ps[y]),b!==void 0?k.display=b:v&&(k.display="inline-flex"),i.jsx(x,{ref:r,className:q("v8-box",w),style:k,...E,children:S})}),hs={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},gs={start:"flex-start",center:"center",end:"flex-end",baseline:"baseline",stretch:"stretch"},ms={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},he=u.forwardRef(function(t,r){const{as:n,gap:o=2,align:s,justify:a,wrap:c,children:l,className:d,style:h,...f}=t,m=n??"div",g={display:"flex",flexDirection:"row",gap:hs[o],...s!==void 0&&{alignItems:gs[s]},...a!==void 0&&{justifyContent:ms[a]},...c&&{flexWrap:"wrap"},...h};return i.jsx(m,{ref:r,className:q("v8-inline",d),style:g,...f,children:l})}),vs={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},ys={start:"flex-start",center:"center",end:"flex-end",baseline:"baseline",stretch:"stretch"},bs={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},Bt=u.forwardRef(function(t,r){const{as:n,gap:o=2,align:s,justify:a,children:c,className:l,style:d,...h}=t,f=n??"div",m={display:"flex",flexDirection:"row",flexWrap:"wrap",gap:vs[o],...s!==void 0&&{alignItems:ys[s]},...a!==void 0&&{justifyContent:bs[a]},...d};return i.jsx(f,{ref:r,className:q("v8-cluster",l),style:m,...h,children:c})}),Oe=u.forwardRef(function(t,r){const{orientation:n="horizontal",decorative:o,tone:s="border",className:a,style:c,...l}=t,d={background:`var(--${s})`,...n==="horizontal"?{height:"1px",width:"100%"}:{width:"1px",height:"100%",alignSelf:"stretch"},...c};return i.jsx("div",{ref:r,role:o?"presentation":"separator","aria-orientation":o?void 0:n,"aria-hidden":o?"true":void 0,className:q("v8-separator",a),style:d,...l})}),xs=["top","right","bottom","left"],ce=Math.min,ee=Math.max,Ue=Math.round,He=Math.floor,te=e=>({x:e,y:e}),ws={left:"right",right:"left",bottom:"top",top:"bottom"};function en(e,t,r){return ee(e,ce(t,r))}function ne(e,t){return typeof e=="function"?e(t):e}function le(e){return e.split("-")[0]}function Ce(e){return e.split("-")[1]}function St(e){return e==="x"?"y":"x"}function jt(e){return e==="y"?"height":"width"}function Y(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function At(e){return St(Y(e))}function ks(e,t,r){r===void 0&&(r=!1);const n=Ce(e),o=At(e),s=jt(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Ye(a)),[a,Ye(a)]}function Ss(e){const t=Ye(e);return[yt(e),t,yt(t)]}function yt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ht=["left","right"],Gt=["right","left"],js=["top","bottom"],As=["bottom","top"];function Cs(e,t,r){switch(e){case"top":case"bottom":return r?t?Gt:Ht:t?Ht:Gt;case"left":case"right":return t?js:As;default:return[]}}function Rs(e,t,r,n){const o=Ce(e);let s=Cs(le(e),r==="start",n);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(yt)))),s}function Ye(e){const t=le(e);return ws[t]+e.slice(t.length)}function Es(e){var t,r,n,o;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(o=e.left)!=null?o:0}}function tn(e){return typeof e!="number"?Es(e):{top:e,right:e,bottom:e,left:e}}function Xe(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function qt(e,t,r){let{reference:n,floating:o}=e;const s=Y(t),a=At(t),c=jt(a),l=le(t),d=s==="y",h=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,m=n[c]/2-o[c]/2;let g;switch(l){case"top":g={x:h,y:n.y-o.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:f};break;case"left":g={x:n.x-o.width,y:f};break;default:g={x:n.x,y:n.y}}const p=Ce(t);return p&&(g[a]+=m*(p==="end"?1:-1)*(r&&d?-1:1)),g}async function Ps(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:a,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:g=0}=ne(t,e),p=tn(g),v=c[m?f==="floating"?"reference":"floating":f],b=Xe(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(v)))==null||r?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),w=f==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),S=await(s.isElement==null?void 0:s.isElement(A))&&await(s.getScale==null?void 0:s.getScale(A))||{x:1,y:1},E=Xe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:A,strategy:l}):w);return{top:(b.top-E.top+p.top)/S.y,bottom:(E.bottom-b.bottom+p.bottom)/S.y,left:(b.left-E.left+p.left)/S.x,right:(E.right-b.right+p.right)/S.x}}const _s=50,Ms=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:Ps},l=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:f}=qt(d,n,l),m=n,g=0;const p={};for(let y=0;y<s.length;y++){const v=s[y];if(!v)continue;const{name:b,fn:w}=v,{x:A,y:S,data:E,reset:x}=await w({x:h,y:f,initialPlacement:n,placement:m,strategy:o,middlewareData:p,rects:d,platform:c,elements:{reference:e,floating:t}});h=A??h,f=S??f,p[b]={...p[b],...E},x&&g<_s&&(g++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(d=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:h,y:f}=qt(d,m,l)),y=-1)}return{x:h,y:f,placement:m,strategy:o,middlewareData:p}},Os=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:a,elements:c,middlewareData:l}=t,{element:d,padding:h=0}=ne(e,t)||{};if(d==null)return{};const f=tn(h),m={x:r,y:n},g=At(o),p=jt(g),y=await a.getDimensions(d),v=g==="y",b=v?"top":"left",w=v?"bottom":"right",A=v?"clientHeight":"clientWidth",S=s.reference[p]+s.reference[g]-m[g]-s.floating[p],E=m[g]-s.reference[g],x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let k=x?x[A]:0;(!k||!await(a.isElement==null?void 0:a.isElement(x)))&&(k=c.floating[A]||s.floating[p]);const M=S/2-E/2,W=k/2-y[p]/2-1,z=ce(f[b],W),H=ce(f[w],W),P=k-y[p]-H,V=k/2-y[p]/2+M,N=en(z,V,P),B=!l.arrow&&Ce(o)!=null&&V!==N&&s.reference[p]/2-(V<z?z:H)-y[p]/2<0,L=B?V<z?V-z:V-P:0;return{[g]:m[g]+L,data:{[g]:N,centerOffset:V-N-L,...B&&{alignmentOffset:L}},reset:B}}}),zs=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:a,initialPlacement:c,platform:l,elements:d}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:y=!0,...v}=ne(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const b=le(o),w=Y(c),A=le(c)===c,S=await(l.isRTL==null?void 0:l.isRTL(d.floating)),E=m||(A||!y?[Ye(c)]:Ss(c)),x=p!=="none";!m&&x&&E.push(...Rs(c,y,p,S));const k=[c,...E],M=await l.detectOverflow(t,v),W=[];let z=((n=s.flip)==null?void 0:n.overflows)||[];if(h&&W.push(M[b]),f){const N=ks(o,a,S);W.push(M[N[0]],M[N[1]])}if(z=[...z,{placement:o,overflows:W}],!W.every(N=>N<=0)){var H,P;const N=(((H=s.flip)==null?void 0:H.index)||0)+1,B=k[N];if(B&&(!(f==="alignment"?w!==Y(B):!1)||z.every(C=>Y(C.placement)===w?C.overflows[0]>0:!0)))return{data:{index:N,overflows:z},reset:{placement:B}};let L=(P=z.filter(F=>F.overflows[0]<=0).sort((F,C)=>F.overflows[1]-C.overflows[1])[0])==null?void 0:P.placement;if(!L)switch(g){case"bestFit":{var V;const F=(V=z.filter(C=>{if(x){const D=Y(C.placement);return D===w||D==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(D=>D>0).reduce((D,G)=>D+G,0)]).sort((C,D)=>C[1]-D[1])[0])==null?void 0:V[0];F&&(L=F);break}case"initialPlacement":L=c;break}if(o!==L)return{reset:{placement:L}}}return{}}}};function Kt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ut(e){return xs.some(t=>e[t]>=0)}const Ls=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=ne(e,t);switch(o){case"referenceHidden":{const a=await n.detectOverflow(t,{...s,elementContext:"reference"}),c=Kt(a,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Ut(c)}}}case"escaped":{const a=await n.detectOverflow(t,{...s,altBoundary:!0}),c=Kt(a,r.floating);return{data:{escapedOffsets:c,escaped:Ut(c)}}}default:return{}}}}},rn=new Set(["left","top"]);async function Vs(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=le(r),c=Ce(r),l=Y(r)==="y",d=rn.has(a)?-1:1,h=s&&l?-1:1,f=ne(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof p=="number"&&(g=c==="end"?p*-1:p),l?{x:g*h,y:m*d}:{x:m*d,y:g*h}}const Ts=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:a,middlewareData:c}=t,l=await Vs(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:a}}}}},Is=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:s}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:w=>{let{x:A,y:S}=w;return{x:A,y:S}}},...d}=ne(e,t),h={x:r,y:n},f=await s.detectOverflow(t,d),m=Y(o),g=St(m);let p=h[g],y=h[m];const v=(w,A)=>en(A+f[w==="y"?"top":"left"],A,A-f[w==="y"?"bottom":"right"]);a&&(p=v(g,p)),c&&(y=v(m,y));const b=l.fn({...t,[g]:p,[m]:y});return{...b,data:{x:b.x-r,y:b.y-n,enabled:{[g]:a,[m]:c}}}}}},Ds=function(e){return e===void 0&&(e={}),{options:e,fn(t){var r,n;const{x:o,y:s,placement:a,rects:c,middlewareData:l}=t,{offset:d=0,mainAxis:h=!0,crossAxis:f=!0}=ne(e,t),m={x:o,y:s},g=Y(a),p=St(g);let y=m[p],v=m[g];const b=ne(d,t),w=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:(r=b.mainAxis)!=null?r:0,crossAxis:(n=b.crossAxis)!=null?n:0};if(h){const E=p==="y"?"height":"width",x=c.reference[p]-c.floating[E]+w.mainAxis,k=c.reference[p]+c.reference[E]-w.mainAxis;y<x?y=x:y>k&&(y=k)}if(f){var A,S;const E=p==="y"?"width":"height",x=rn.has(le(a)),k=c.reference[g]-c.floating[E]+(x&&((A=l.offset)==null?void 0:A[g])||0)+(x?0:w.crossAxis),M=c.reference[g]+c.reference[E]+(x?0:((S=l.offset)==null?void 0:S[g])||0)-(x?w.crossAxis:0);v<k?v=k:v>M&&(v=M)}return{[p]:y,[g]:v}}}},Ns=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:s}=t,{apply:a=()=>{},...c}=ne(e,t),l=await o.detectOverflow(t,c),d=le(r),h=Ce(r),f=Y(r)==="y",{width:m,height:g}=n.floating;let p,y;d==="top"||d==="bottom"?(p=d,y=h===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(y=d,p=h==="end"?"top":"bottom");const v=g-l.top-l.bottom,b=m-l.left-l.right,w=ce(g-l[p],v),A=ce(m-l[y],b),S=t.middlewareData.shift,E=!S;let x=w,k=A;S!=null&&S.enabled.x&&(k=b),S!=null&&S.enabled.y&&(x=v),E&&!h&&(f?k=m-2*ee(l.left,l.right):x=g-2*ee(l.top,l.bottom)),await a({...t,availableWidth:k,availableHeight:x});const M=await o.getDimensions(s.floating);return m!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function tt(){return typeof window<"u"}function Re(e){return nn(e)?(e.nodeName||"").toLowerCase():"#document"}function U(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function oe(e){var t;return(t=(nn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function nn(e){return tt()?e instanceof Node||e instanceof U(e).Node:!1}function X(e){return tt()?e instanceof Element||e instanceof U(e).Element:!1}function de(e){return tt()?e instanceof HTMLElement||e instanceof U(e).HTMLElement:!1}function Yt(e){return!tt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof U(e).ShadowRoot}function rt(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function $s(e){return/^(table|td|th)$/.test(Re(e))}function nt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ws=/transform|translate|scale|rotate|perspective|filter/,Fs=/paint|layout|strict|content/,pe=e=>!!e&&e!=="none";let dt;function Ct(e){const t=X(e)?Z(e):e;return pe(t.transform)||pe(t.translate)||pe(t.scale)||pe(t.rotate)||pe(t.perspective)||!Rt()&&(pe(t.backdropFilter)||pe(t.filter))||Ws.test(t.willChange||"")||Fs.test(t.contain||"")}function Bs(e){let t=ge(e);for(;de(t)&&!ze(t);){if(Ct(t))return t;if(nt(t))return null;t=ge(t)}return null}function Rt(){return dt==null&&(dt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),dt}function ze(e){return/^(html|body|#document)$/.test(Re(e))}function Z(e){return U(e).getComputedStyle(e)}function ot(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ge(e){if(Re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yt(e)&&e.host||oe(e);return Yt(t)?t.host:t}function on(e){const t=ge(e);return ze(t)?(e.ownerDocument||e).body:de(t)&&rt(t)?t:on(t)}function Le(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=on(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),a=U(o);if(s){const c=bt(a);return t.concat(a,a.visualViewport||[],rt(o)?o:[],c&&r?Le(c):[])}else return t.concat(o,Le(o,[],r))}function bt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sn(e){const t=Z(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=de(e),s=o?e.offsetWidth:r,a=o?e.offsetHeight:n,c=Ue(r)!==s||Ue(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function Et(e){return X(e)?e:e.contextElement}function ke(e){const t=Et(e);if(!de(t))return te(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=sn(t);let a=(s?Ue(r.width):r.width)/n,c=(s?Ue(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Hs=te(0);function an(e){const t=U(e);return!Rt()||!t.visualViewport?Hs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Gs(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===U(e)}function me(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=Et(e);let a=te(1);t&&(n?X(n)&&(a=ke(n)):a=ke(e));const c=Gs(s,r,n)?an(s):te(0);let l=(o.left+c.x)/a.x,d=(o.top+c.y)/a.y,h=o.width/a.x,f=o.height/a.y;if(s&&n){const m=U(s),g=X(n)?U(n):n;let p=m,y=bt(p);for(;y&&g!==p;){const v=ke(y),b=y.getBoundingClientRect(),w=Z(y),A=b.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,S=b.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;l*=v.x,d*=v.y,h*=v.x,f*=v.y,l+=A,d+=S,p=U(y),y=bt(p)}}return Xe({width:h,height:f,x:l,y:d})}function st(e,t){const r=ot(e).scrollLeft;return t?t.left+r:me(oe(e)).left+r}function cn(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-st(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function qs(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",a=oe(n),c=t?nt(t.floating):!1;if(n===a||c&&s)return r;let l={scrollLeft:0,scrollTop:0},d=te(1);const h=te(0),f=de(n);if((f||!s)&&((Re(n)!=="body"||rt(a))&&(l=ot(n)),f)){const g=me(n);d=ke(n),h.x=g.x+n.clientLeft,h.y=g.y+n.clientTop}const m=a&&!f&&!s?cn(a,l):te(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+h.x+m.x,y:r.y*d.y-l.scrollTop*d.y+h.y+m.y}}function Ks(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Us(e){const t=ot(e),r=e.ownerDocument.body,n=ee(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=ee(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-t.scrollLeft+st(e);const a=-t.scrollTop;return Z(r).direction==="rtl"&&(s+=ee(e.clientWidth,r.clientWidth)-n),{width:n,height:o,x:s,y:a}}const Ys=25;function Xs(e,t,r){r===void 0&&(r="viewport");const n=r==="layoutViewport",o=U(e),s=oe(e),a=o.visualViewport;let c=s.clientWidth,l=s.clientHeight,d=0,h=0;if(a){const m=!Rt()||t==="fixed";n?m||(d=-a.offsetLeft,h=-a.offsetTop):(c=a.width,l=a.height,m&&(d=a.offsetLeft,h=a.offsetTop))}if(st(s)<=0){const m=s.ownerDocument,g=m.body,p=getComputedStyle(g),y=m.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,v=Math.abs(s.clientWidth-g.clientWidth-y),b=getComputedStyle(s).scrollbarGutter==="stable both-edges"?v/2:v;b<=Ys&&(c-=b)}return{width:c,height:l,x:d,y:h}}function Zs(e,t){const r=me(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=ke(e),a=e.clientWidth*s.x,c=e.clientHeight*s.y,l=o*s.x,d=n*s.y;return{width:a,height:c,x:l,y:d}}function Xt(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=Xs(e,r,t);else if(t==="document")n=Us(oe(e));else if(X(t))n=Zs(t,r);else{const o=an(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Xe(n)}function Js(e,t){const r=t.get(e);if(r)return r;let n=Le(e,[],!1).filter(c=>X(c)&&Re(c)!=="body"),o=null;const s=Z(e).position==="fixed";let a=s?ge(e):e;for(;X(a)&&!ze(a);){const c=Z(a),l=Ct(a),d=o?o.position:s?"fixed":"";!l&&(d==="fixed"||d==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):o=c,a=ge(a)}return t.set(e,n),n}function Qs(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?nt(t)?[]:Js(t,this._c):[].concat(r),n],c=Xt(t,a[0],o);let l=c.top,d=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){const g=Xt(t,a[m],o);l=ee(g.top,l),d=ce(g.right,d),h=ce(g.bottom,h),f=ee(g.left,f)}return{width:d-f,height:h-l,x:f,y:l}}function ea(e){const{width:t,height:r}=sn(e);return{width:t,height:r}}function ta(e,t,r){const n=de(t),o=oe(t),s=r==="fixed",a=me(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=te(0);if((n||!s)&&((Re(t)!=="body"||rt(o))&&(c=ot(t)),n)){const m=me(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}!n&&o&&(l.x=st(o));const d=o&&!n&&!s?cn(o,c):te(0),h=a.left+c.scrollLeft-l.x-d.x,f=a.top+c.scrollTop-l.y-d.y;return{x:h,y:f,width:a.width,height:a.height}}function ut(e){return Z(e).position==="static"}function Zt(e,t){if(!de(e)||Z(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return oe(e)===r&&(r=r.ownerDocument.body),r}function ln(e,t){const r=U(e);if(nt(e))return r;if(!de(e)){let o=ge(e);for(;o&&!ze(o);){if(X(o)&&!ut(o))return o;o=ge(o)}return r}let n=Zt(e,t);for(;n&&$s(n)&&ut(n);)n=Zt(n,t);return n&&ze(n)&&ut(n)&&!Ct(n)?r:n||Bs(e)||r}const ra=async function(e){const t=this.getOffsetParent||ln,r=this.getDimensions,n=await r(e.floating);return{reference:ta(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function na(e){return Z(e).direction==="rtl"}const oa={convertOffsetParentRelativeRectToViewportRelativeRect:qs,getDocumentElement:oe,getClippingRect:Qs,getOffsetParent:ln,getElementRects:ra,getClientRects:Ks,getDimensions:ea,getScale:ke,isElement:X,isRTL:na};function dn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sa(e,t,r){let n=null,o;const s=oe(e);function a(){var h;clearTimeout(o),(h=n)==null||h.disconnect(),n=null}function c(h,f){h===void 0&&(h=!1),f===void 0&&(f=1),a();const m=e.getBoundingClientRect(),{left:g,top:p,width:y,height:v}=m;if(h||t(),!y||!v)return;const b=He(p),w=He(s.clientWidth-(g+y)),A=He(s.clientHeight-(p+v)),S=He(g),x={rootMargin:-b+"px "+-w+"px "+-A+"px "+-S+"px",threshold:ee(0,ce(1,f))||1};let k=!0;function M(W){const z=W[0].intersectionRatio;if(!dn(m,e.getBoundingClientRect()))return c();if(z!==f){if(!k)return c();z?c(!1,z):o=setTimeout(()=>{c(!1,1e-7)},1e3)}k=!1}try{n=new IntersectionObserver(M,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(M,x)}n.observe(e)}const l=U(e),d=()=>c(r);return l.addEventListener("resize",d),c(!0),()=>{l.removeEventListener("resize",d),a()}}function aa(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=Et(e),h=o||s?[...d?Le(d):[],...t?Le(t):[]]:[];h.forEach(b=>{o&&b.addEventListener("scroll",r),s&&b.addEventListener("resize",r)});const f=d&&c?sa(d,r,s):null;let m=-1,g=null;a&&(g=new ResizeObserver(b=>{let[w]=b;w&&w.target===d&&g&&t&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var A;(A=g)==null||A.observe(t)})),r()}),d&&!l&&g.observe(d),t&&g.observe(t));let p,y=l?me(e):null;l&&v();function v(){const b=me(e);y&&!dn(y,b)&&r(),y=b,p=requestAnimationFrame(v)}return r(),()=>{var b;h.forEach(w=>{o&&w.removeEventListener("scroll",r),s&&w.removeEventListener("resize",r)}),f==null||f(),(b=g)==null||b.disconnect(),g=null,l&&cancelAnimationFrame(p)}}const ia=Ts,ca=Is,la=zs,da=Ns,ua=Ls,Jt=Os,fa=Ds,pa=(e,t,r)=>{const n=new Map,o=r??{},s={...oa,...o.platform,_c:n};return Ms(e,t,{...o,platform:s})};var ha=typeof document<"u",ga=function(){},qe=ha?u.useLayoutEffect:ga;function Ze(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 r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Ze(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!Ze(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function un(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Qt(e,t){const r=un(e);return Math.round(t*r)/r}function ft(e){const t=u.useRef(e);return qe(()=>{t.current=e}),t}function ma(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:a}={},transform:c=!0,whileElementsMounted:l,open:d}=e,[h,f]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=u.useState(n);Ze(m,n)||g(n);const[p,y]=u.useState(null),[v,b]=u.useState(null),w=u.useCallback(C=>{C!==x.current&&(x.current=C,y(C))},[]),A=u.useCallback(C=>{C!==k.current&&(k.current=C,b(C))},[]),S=s||p,E=a||v,x=u.useRef(null),k=u.useRef(null),M=u.useRef(h),W=l!=null,z=ft(l),H=ft(o),P=ft(d),V=u.useCallback(()=>{if(!x.current||!k.current)return;const C={placement:t,strategy:r,middleware:m};H.current&&(C.platform=H.current),pa(x.current,k.current,C).then(D=>{const G={...D,isPositioned:P.current!==!1};N.current&&!Ze(M.current,G)&&(M.current=G,cr.flushSync(()=>{f(G)}))})},[m,t,r,H,P]);qe(()=>{d===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,f(C=>({...C,isPositioned:!1})))},[d]);const N=u.useRef(!1);qe(()=>(N.current=!0,()=>{N.current=!1}),[]),qe(()=>{if(S&&(x.current=S),E&&(k.current=E),S&&E){if(z.current)return z.current(S,E,V);V()}},[S,E,V,z,W]);const B=u.useMemo(()=>({reference:x,floating:k,setReference:w,setFloating:A}),[w,A]),L=u.useMemo(()=>({reference:S,floating:E}),[S,E]),F=u.useMemo(()=>{const C={position:r,left:0,top:0};if(!L.floating)return C;const D=Qt(L.floating,h.x),G=Qt(L.floating,h.y);return c?{...C,transform:"translate("+D+"px, "+G+"px)",...un(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:D,top:G}},[r,c,L.floating,h.x,h.y]);return u.useMemo(()=>({...h,update:V,refs:B,elements:L,floatingStyles:F}),[h,V,B,L,F])}const va=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Jt({element:n.current,padding:o}).fn(r):{}:n?Jt({element:n,padding:o}).fn(r):{}}}},ya=(e,t)=>{const r=ia(e);return{name:r.name,fn:r.fn,options:[e,t]}},ba=(e,t)=>{const r=ca(e);return{name:r.name,fn:r.fn,options:[e,t]}},xa=(e,t)=>({fn:fa(e).fn,options:[e,t]}),wa=(e,t)=>{const r=la(e);return{name:r.name,fn:r.fn,options:[e,t]}},ka=(e,t)=>{const r=da(e);return{name:r.name,fn:r.fn,options:[e,t]}},Sa=(e,t)=>{const r=ua(e);return{name:r.name,fn:r.fn,options:[e,t]}},ja=(e,t)=>{const r=va(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Aa="Arrow",fn=u.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return i.jsx(Ve.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});fn.displayName=Aa;var Ca=fn;function Ra(e){const[t,r]=u.useState(void 0);return Ge(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,c;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;a=d.inlineSize,c=d.blockSize}else a=e.offsetWidth,c=e.offsetHeight;r({width:a,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Pt="Popper",[pn,hn]=lr(Pt),[Ea,gn]=pn(Pt),mn=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null),[s,a]=u.useState(void 0);return i.jsx(Ea,{scope:t,anchor:n,onAnchorChange:o,placementState:s,setPlacementState:a,children:r})};mn.displayName=Pt;var vn="PopperAnchor",yn=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=gn(vn,r),a=u.useRef(null),c=s.onAnchorChange,l=u.useCallback(p=>{a.current=p,p&&c(p)},[c]),d=Qe(t,l),h=u.useRef(null);u.useEffect(()=>{if(!n)return;const p=h.current;h.current=n.current,p!==h.current&&c(h.current)});const f=s.placementState&&Mt(s.placementState),m=f==null?void 0:f[0],g=f==null?void 0:f[1];return n?null:i.jsx(Ve.div,{"data-radix-popper-side":m,"data-radix-popper-align":g,...o,ref:d})});yn.displayName=vn;var _t="PopperContent",[Pa,_a]=pn(_t),bn=u.forwardRef((e,t)=>{var Ee,Lt,Vt,Tt,It,Dt;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:h=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:g="optimized",onPlaced:p,...y}=e,v=gn(_t,r),[b,w]=u.useState(null),A=Qe(t,w),[S,E]=u.useState(null),x=Ra(S),k=(x==null?void 0:x.width)??0,M=(x==null?void 0:x.height)??0,W=n+(s!=="center"?"-"+s:""),z=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},H=Array.isArray(d)?d:[d],P=H.length>0,V={padding:z,boundary:H.filter(Oa),altBoundary:P},{refs:N,floatingStyles:B,placement:L,isPositioned:F,middlewareData:C}=ma({strategy:"fixed",placement:W,whileElementsMounted:(...it)=>aa(...it,{animationFrame:g==="always"}),elements:{reference:v.anchor},middleware:[ya({mainAxis:o+M,alignmentAxis:a}),l&&ba({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?xa():void 0,...V}),l&&wa({...V}),ka({...V,apply:({elements:it,rects:Nt,availableWidth:Nn,availableHeight:$n})=>{const{width:Wn,height:Fn}=Nt.reference,Fe=it.floating.style;Fe.setProperty("--radix-popper-available-width",`${Nn}px`),Fe.setProperty("--radix-popper-available-height",`${$n}px`),Fe.setProperty("--radix-popper-anchor-width",`${Wn}px`),Fe.setProperty("--radix-popper-anchor-height",`${Fn}px`)}}),S&&ja({element:S,padding:c}),za({arrowWidth:k,arrowHeight:M}),m&&Sa({strategy:"referenceHidden",...V,boundary:P?V.boundary:void 0})]}),D=v.setPlacementState;Ge(()=>(D(L),()=>{D(void 0)}),[L,D]);const[G,K]=Mt(L),fe=Gn(p);Ge(()=>{F&&(fe==null||fe())},[F,fe]);const Ie=(Ee=C.arrow)==null?void 0:Ee.x,De=(Lt=C.arrow)==null?void 0:Lt.y,Ne=((Vt=C.arrow)==null?void 0:Vt.centerOffset)!==0,[$e,We]=u.useState();return Ge(()=>{b&&We(window.getComputedStyle(b).zIndex)},[b]),i.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:F?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[(Tt=C.transformOrigin)==null?void 0:Tt.x,(It=C.transformOrigin)==null?void 0:It.y].join(" "),...((Dt=C.hide)==null?void 0:Dt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(Pa,{scope:r,placedSide:G,placedAlign:K,onArrowChange:E,arrowX:Ie,arrowY:De,shouldHideArrow:Ne,children:i.jsx(Ve.div,{"data-side":G,"data-align":K,...y,ref:A,style:{...y.style,animation:F?void 0:"none"}})})})});bn.displayName=_t;var xn="PopperArrow",Ma={top:"bottom",right:"left",bottom:"top",left:"right"},wn=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=_a(xn,n),a=Ma[s.placedSide];return i.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:i.jsx(Ca,{...o,ref:r,style:{...o.style,display:"block"}})})});wn.displayName=xn;function Oa(e){return e!==null}var za=e=>({name:"transformOrigin",options:e,fn(t){var v,b,w;const{placement:r,rects:n,middlewareData:o}=t,a=((v=o.arrow)==null?void 0:v.centerOffset)!==0,c=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[d,h]=Mt(r),f={start:"0%",center:"50%",end:"100%"}[h],m=(((b=o.arrow)==null?void 0:b.x)??0)+c/2,g=(((w=o.arrow)==null?void 0:w.y)??0)+l/2;let p="",y="";return d==="bottom"?(p=a?f:`${m}px`,y=`${-l}px`):d==="top"?(p=a?f:`${m}px`,y=`${n.floating.height+l}px`):d==="right"?(p=`${-l}px`,y=a?f:`${g}px`):d==="left"&&(p=`${n.floating.width+l}px`,y=a?f:`${g}px`),{data:{x:p,y}}}});function Mt(e){const[t,r="center"]=e.split("-");return[t,r]}var La=mn,kn=yn,Va=bn,Ta=wn,at="Popover",[Sn]=lr(at,[hn]),Te=hn(),[Ia,ue]=Sn(at),jn=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:a=!1}=e,c=Te(t),l=u.useRef(null),[d,h]=u.useState(!1),[f,m]=Qn({prop:n,defaultProp:o??!1,onChange:s,caller:at});return i.jsx(La,{...c,children:i.jsx(Ia,{scope:t,contentId:eo(),triggerRef:l,open:f,onOpenChange:m,onOpenToggle:u.useCallback(()=>m(g=>!g),[m]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>h(!0),[]),onCustomAnchorRemove:u.useCallback(()=>h(!1),[]),modal:a,children:r})})};jn.displayName=at;var An="PopoverAnchor",Da=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ue(An,r),s=Te(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:c}=o;return u.useEffect(()=>(a(),()=>c()),[a,c]),i.jsx(kn,{...s,...n,ref:t})});Da.displayName=An;var Cn="PopoverTrigger",Rn=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ue(Cn,r),s=Te(r),a=Qe(t,o.triggerRef),c=i.jsx(Ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":zn(o.open),...n,ref:a,onClick:Me(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:i.jsx(kn,{asChild:!0,...s,children:c})});Rn.displayName=Cn;var Ot="PopoverPortal",[Na,$a]=Sn(Ot,{forceMount:void 0}),En=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=ue(Ot,t);return i.jsx(Na,{scope:t,forceMount:r,children:i.jsx(dr,{present:r||s.open,children:i.jsx(qn,{asChild:!0,container:o,children:n})})})};En.displayName=Ot;var Se="PopoverContent",Pn=u.forwardRef((e,t)=>{const r=$a(Se,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=ue(Se,e.__scopePopover);return i.jsx(dr,{present:n||s.open,children:s.modal?i.jsx(Fa,{...o,ref:t}):i.jsx(Ba,{...o,ref:t})})});Pn.displayName=Se;var Wa=Yn("PopoverContent.RemoveScroll"),Fa=u.forwardRef((e,t)=>{const r=ue(Se,e.__scopePopover),n=u.useRef(null),o=Qe(t,n),s=u.useRef(!1);return u.useEffect(()=>{const a=n.current;if(a)return Kn(a)},[]),i.jsx(Un,{as:Wa,allowPinchZoom:!0,children:i.jsx(_n,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Me(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),s.current||(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Me(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0,d=c.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:Me(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),Ba=u.forwardRef((e,t)=>{const r=ue(Se,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return i.jsx(_n,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var a,c;(a=e.onCloseAutoFocus)==null||a.call(e,s),s.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{var l,d;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=s.target;((d=r.triggerRef.current)==null?void 0:d.contains(a))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),_n=u.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:h,...f}=e,m=ue(Se,r),g=Te(r);return Xn(),i.jsx(Zn,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:i.jsx(Jn,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),deferPointerDownOutside:!0,children:i.jsx(Va,{"data-state":zn(m.open),role:"dialog",id:m.contentId,...g,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Mn="PopoverClose",Ha=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=ue(Mn,r);return i.jsx(Ve.button,{type:"button",...n,ref:t,onClick:Me(e.onClick,()=>o.onOpenChange(!1))})});Ha.displayName=Mn;var Ga="PopoverArrow",On=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Te(r);return i.jsx(Ta,{...o,...n,ref:t})});On.displayName=Ga;function zn(e){return e?"open":"closed"}var qa=jn,Ka=Rn,Ua=En,Ya=Pn,Xa=On;const Za=({children:e,...t})=>i.jsx(qa,{...t,children:e}),Ja=Ka,Qa=u.forwardRef(function(t,r){const{className:n,children:o,sideOffset:s=6,...a}=t;return i.jsx(Ua,{children:i.jsxs(Ya,{ref:r,sideOffset:s,className:q("v8-popover",n),style:{background:"var(--surface-popover)",border:"1px solid var(--border)",borderRadius:"var(--radius)",boxShadow:"var(--shadow-3)",padding:"var(--space-3)",minWidth:200,maxWidth:360,zIndex:"var(--z-popover)"},...a,children:[o,i.jsx(Xa,{style:{fill:"var(--surface-popover)"}})]})})});function Ln(){const e=u.useContext(mr);if(e===null)throw new Error("useTheme must be used inside <ThemeProvider>.");return e}function Vn(){const e=u.useContext(vr);if(e===null)throw new Error("useDensity must be used inside <DensityProvider>.");return e}const ei={light:_o,dark:Ro,system:Co},er={light:"Switch to dark theme",dark:"Switch to system theme",system:"Switch to light theme"};function ti({className:e}){const{mode:t,resolved:r,cycle:n}=Ln(),o=ei[r];return i.jsx("button",{type:"button",onClick:n,"aria-label":er[t],title:`${er[t]} (currently: ${r})`,className:q("v8-theme-toggle","inline-flex h-8 w-8 items-center justify-center","rounded-[var(--radius-sm)]","text-[var(--fg-muted)] hover:text-[var(--fg)] hover:bg-[var(--surface-1)]","transition-colors duration-[var(--motion-fast)]",e),children:i.jsx(o,{size:16,"aria-hidden":"true"})})}function ri({className:e}){const{density:t,toggle:r}=Vn(),n=t==="comfortable",o=n?Po:mo;return i.jsx("button",{type:"button",onClick:r,"aria-label":`Switch to ${n?"compact":"comfortable"} density`,title:`Density: ${t}`,"data-density":t,className:q("v8-density-toggle","inline-flex h-8 w-8 items-center justify-center","rounded-[var(--radius-sm)]","text-[var(--fg-muted)] hover:text-[var(--fg)] hover:bg-[var(--surface-1)]","transition-colors duration-[var(--motion-fast)]",e),children:i.jsx(o,{size:16,"aria-hidden":"true"})})}class zt extends Error{constructor(r,n,o){super(n);ct(this,"status");ct(this,"body");this.name="FetchError",this.status=r,this.body=o}}async function re(e,t={}){const r={method:t.method||"GET",headers:{Accept:"application/json",...t.body?{"Content-Type":"application/json"}:{},...t.headers||{}},signal:t.signal};t.body!==void 0&&(r.body=JSON.stringify(t.body));const n=(t.base||"")+e,o=await fetch(n,r),s=await o.text();let a=null;if(s)try{a=JSON.parse(s)}catch{a=s}if(!o.ok){const c=a&&typeof a=="object"&&"message"in a&&typeof a.message=="string"?a.message:`HTTP ${o.status}`;throw new zt(o.status,c,a)}return a}function ie(e){const[t,r]=u.useState(null),[n,o]=u.useState(null),[s,a]=u.useState(!!e),[c,l]=u.useState(0),d=u.useRef(e);d.current=e,u.useEffect(()=>{if(!e){r(null),o(null),a(!1);return}const f=new AbortController;let m=!1;return a(!0),o(null),re(e,{signal:f.signal}).then(g=>{m||(r(g),a(!1))}).catch(g=>{m||g&&typeof g=="object"&&"name"in g&&g.name==="AbortError"||(o(g instanceof Error?g:new zt(0,String(g),null)),a(!1))}),()=>{m=!0,f.abort()}},[e,c]);const h=u.useCallback(()=>{l(f=>f+1)},[]);return{data:t,error:n,loading:s,refetch:h}}const ni=3e4,oi=6e4,T={socket:null,listeners:new Set,retries:0,retryTimer:null,connectedListeners:new Set,lastMessageAt:0,heartbeatTimer:null};function si(){return typeof window>"u"?"":`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}function tr(e){for(const t of T.connectedListeners)try{t(e)}catch{}}function ai(){T.heartbeatTimer||(T.heartbeatTimer=setInterval(()=>{const e=T.socket;if(e&&e.readyState===WebSocket.OPEN){if(Date.now()-T.lastMessageAt>oi){try{e.close()}catch{}return}try{e.send("ping")}catch{}}},ni))}function ii(){T.heartbeatTimer&&(clearInterval(T.heartbeatTimer),T.heartbeatTimer=null)}function Tn(){if(typeof window>"u"||T.socket&&(T.socket.readyState===WebSocket.OPEN||T.socket.readyState===WebSocket.CONNECTING))return;let e;try{e=new WebSocket(si())}catch{rr();return}T.socket=e,e.addEventListener("open",()=>{T.retries=0,T.lastMessageAt=Date.now(),tr(!0),ai()}),e.addEventListener("message",t=>{T.lastMessageAt=Date.now();let r;try{r=JSON.parse(typeof t.data=="string"?t.data:"")}catch{return}for(const n of T.listeners)try{n(r)}catch{}}),e.addEventListener("close",()=>{T.socket=null,tr(!1),ii(),rr()}),e.addEventListener("error",()=>{})}function rr(){if(T.retryTimer)return;const e=Math.min(3e4,500*Math.pow(2,T.retries++));T.retryTimer=setTimeout(()=>{T.retryTimer=null,Tn()},e)}function ci(e){u.useEffect(()=>(T.listeners.add(e),T.socket||Tn(),()=>{T.listeners.delete(e)}),[e])}function Ke(e,t){const r=Array.isArray(e)?new Set(e):new Set([e]);ci(n=>{typeof n=="object"&&n&&"type"in n&&r.has(n.type)&&t(n)})}function li(e){u.useEffect(()=>{var t;return T.connectedListeners.add(e),e(((t=T.socket)==null?void 0:t.readyState)===WebSocket.OPEN),()=>{T.connectedListeners.delete(e)}},[e])}function di(){var r;const[e,t]=u.useState(((r=T.socket)==null?void 0:r.readyState)===WebSocket.OPEN);return li(t),e}const nr=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])',"details > summary"].join(",");function ui(e,t){const r=u.useRef(null);u.useEffect(()=>{if(!t||!e.current)return;r.current=document.activeElement;const n=e.current,o=n.querySelector(nr);o==null||o.focus();const s=a=>{if(a.key!=="Tab")return;const c=Array.from(n.querySelectorAll(nr));if(c.length===0){a.preventDefault();return}const l=c[0],d=c[c.length-1];a.shiftKey?document.activeElement===l&&(a.preventDefault(),d.focus()):document.activeElement===d&&(a.preventDefault(),l.focus())};return n.addEventListener("keydown",s),()=>{n.removeEventListener("keydown",s),r.current instanceof HTMLElement&&r.current.focus()}},[t,e])}const fi={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},pi={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},hi={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},je=u.forwardRef(function(t,r){const{as:n,gap:o=3,align:s,justify:a,wrap:c,children:l,className:d,style:h,...f}=t,m=n??"div",g={display:"flex",flexDirection:"column",gap:fi[o],...s!==void 0&&{alignItems:pi[s]},...a!==void 0&&{justifyContent:hi[a]},...c&&{flexWrap:"wrap"},...h};return i.jsx(m,{ref:r,className:q("v8-stack",d),style:g,...f,children:l})}),gi={sm:{h:28,px:10,fs:"var(--fs-12)"},md:{h:32,px:14,fs:"var(--fs-13)"},lg:{h:40,px:18,fs:"var(--fs-14)"},icon:{h:32,px:0,fs:"var(--fs-13)"}},mi={primary:"var(--accent)",secondary:"var(--surface-1)",ghost:"transparent",danger:"var(--danger)",outline:"transparent"},vi={primary:"var(--fg-on-accent)",secondary:"var(--fg)",ghost:"var(--fg-muted)",danger:"var(--fg-on-accent)",outline:"var(--fg)"},yi={primary:"transparent",secondary:"var(--border)",ghost:"transparent",danger:"transparent",outline:"var(--border)"},bi={primary:"var(--accent-hover)",secondary:"var(--surface-2)",ghost:"var(--surface-1)",danger:"color-mix(in oklch, var(--danger), black 10%)",outline:"var(--surface-1)"},Je=u.forwardRef(function(t,r){const{variant:n="secondary",size:o="md",asChild:s,loading:a,disabled:c,leftIcon:l,rightIcon:d,fullWidth:h,children:f,className:m,style:g,type:p,...y}=t,v=s?to:"button",b=gi[o],w=c===!0||a===!0,A={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"var(--space-2)",height:b.h,paddingLeft:b.px,paddingRight:b.px,width:h===!0?"100%":void 0,fontSize:b.fs,fontWeight:500,lineHeight:1,letterSpacing:"var(--tracking-base)",background:mi[n],color:vi[n],border:"1px solid",borderColor:yi[n],borderRadius:"var(--radius-sm)",cursor:w?"not-allowed":"pointer",opacity:w?.55:1,transition:"background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out)",whiteSpace:"nowrap",userSelect:"none",...g},S={"--btn-hover-bg":bi[n]};return i.jsxs(v,{ref:r,type:s?void 0:p??"button",disabled:w,"aria-busy":a===!0?"true":void 0,className:q("v8-btn",`v8-btn--${n}`,`v8-btn--${o}`,m),style:{...A,...S},...y,children:[a===!0?i.jsx(jo,{size:14,"aria-hidden":"true",className:"v8-btn__spinner"}):l,f,d]})}),xi={neutral:"var(--fg-muted)",info:"var(--info)",success:"var(--success)",warning:"var(--warning)",danger:"var(--danger)",accent:"var(--accent)"},wi={neutral:"color-mix(in oklch, var(--fg-muted) 12%, transparent)",info:"color-mix(in oklch, var(--info) 14%, transparent)",success:"color-mix(in oklch, var(--success) 14%, transparent)",warning:"color-mix(in oklch, var(--warning) 14%, transparent)",danger:"color-mix(in oklch, var(--danger) 14%, transparent)",accent:"color-mix(in oklch, var(--accent) 14%, transparent)"},ki={neutral:"var(--fg-muted)",info:"var(--info)",success:"var(--success)",warning:"var(--warning)",danger:"var(--danger)",accent:"var(--accent)"},Si=u.forwardRef(function(t,r){const{tone:n="neutral",size:o="md",dot:s,children:a,className:c,style:l,...d}=t,h=o==="sm"?18:22;return i.jsxs("span",{ref:r,className:q("v8-badge",`v8-badge--${n}`,`v8-badge--${o}`,c),style:{display:"inline-flex",alignItems:"center",gap:"var(--space-1)",height:h,padding:"0 8px",borderRadius:"var(--radius-pill)",background:wi[n],color:xi[n],fontSize:o==="sm"?"var(--fs-12)":"var(--fs-13)",fontWeight:500,lineHeight:1,whiteSpace:"nowrap",...l},...d,children:[s===!0&&i.jsx("span",{"aria-hidden":"true",style:{width:6,height:6,borderRadius:"var(--radius-pill)",background:ki[n],flexShrink:0}}),a]})});function ji(e){if(typeof e!="number")return"";const t=new Date(e),r=new Date;return t.toDateString()===r.toDateString()?t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):t.toLocaleDateString([],{month:"short",day:"numeric"})}const or={warning:"warning",danger:"danger",error:"danger",success:"success"};function Ai(){const[e,t]=u.useState(!1),[r,n]=u.useState([]),[o,s]=u.useState(!1),a=u.useRef(null),c=async()=>{s(!0);try{const f=await re("/api/notifications?unread=true");n(f.notifications??[])}catch{}finally{s(!1)}};u.useEffect(()=>{c()},[]),Ke("notifications:change",()=>{c()}),u.useEffect(()=>{if(!e)return;const f=g=>{a.current&&!a.current.contains(g.target)&&t(!1)},m=g=>{g.key==="Escape"&&t(!1)};return document.addEventListener("mousedown",f),document.addEventListener("keydown",m),()=>{document.removeEventListener("mousedown",f),document.removeEventListener("keydown",m)}},[e]);const l=async f=>{n(m=>m.filter(g=>g.id!==f));try{await re(`/api/notifications/${encodeURIComponent(f)}/read`,{method:"POST"})}catch{c()}},d=async()=>{const f=r;n([]);try{await re("/api/notifications/read-all",{method:"POST"})}catch{n(f)}},h=r.length;return ui(a,e),i.jsxs(I,{style:{position:"relative"},ref:a,children:[i.jsxs("button",{type:"button","aria-label":`Notifications (${h} unread)`,"data-testid":"topbar-notifications",onClick:()=>t(f=>!f),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:32,height:32,background:"transparent",border:"1px solid transparent",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",position:"relative",cursor:"pointer"},children:[i.jsx(wt,{size:16,"aria-hidden":!0}),h>0&&i.jsx(I,{"aria-hidden":"true","data-testid":"topbar-notifications-count",style:{position:"absolute",top:4,right:4,minWidth:16,height:16,borderRadius:"var(--radius-pill)",background:"var(--danger)",color:"var(--fg-on-accent)",fontSize:"var(--fs-12)",fontWeight:600,lineHeight:"16px",padding:"0 4px"},children:h>99?"99+":h})]}),e&&i.jsxs(I,{role:"dialog","aria-label":"Notifications",style:{position:"absolute",top:"calc(100% + 8px)",right:0,width:360,maxHeight:480,background:"var(--bg)",border:"1px solid var(--border)",borderRadius:"var(--radius-md)",boxShadow:"0 10px 30px rgba(0,0,0,0.15)",zIndex:50,overflow:"hidden",display:"flex",flexDirection:"column"},children:[i.jsxs(he,{align:"center",justify:"between",style:{padding:"var(--space-3)",borderBottom:"1px solid var(--border)",background:"var(--surface-1)"},children:[i.jsx("span",{style:{fontSize:"var(--fs-13)",fontWeight:600},children:"Notifications"}),h>0&&i.jsxs(Je,{variant:"ghost",size:"sm",onClick:()=>{d()},children:[i.jsx(bo,{size:12,"aria-hidden":!0})," Mark all read"]})]}),i.jsxs(I,{style:{overflowY:"auto",flex:1},children:[o&&r.length===0&&i.jsx(I,{style:{padding:"var(--space-4)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"Loading…"}),!o&&r.length===0&&i.jsx(I,{style:{padding:"var(--space-4)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"No unread notifications."}),r.map(f=>{const m=or[f.tone??""]??or[f.kind??""]??"info";return i.jsx(I,{style:{padding:"var(--space-3)",borderBottom:"1px solid var(--border)"},children:i.jsxs(je,{gap:1,children:[i.jsxs(he,{align:"center",justify:"between",gap:2,children:[i.jsx("span",{style:{fontSize:"var(--fs-13)",fontWeight:500},children:f.title||f.kind||"Notification"}),i.jsx(Si,{tone:m,size:"sm",children:f.kind??f.tone??"info"})]}),f.body!==void 0&&i.jsx("span",{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:f.body}),i.jsxs(he,{align:"center",justify:"between",children:[i.jsx("span",{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:ji(f.ts)}),i.jsx(Je,{variant:"ghost",size:"sm",onClick:()=>{l(f.id)},children:"Mark read"})]})]})},f.id)})]})]})]})}const Ci={fontSize:"var(--fs-12)",color:"var(--fg-muted)",marginBottom:8},Ri={fontSize:"var(--fs-12)",color:"var(--fg-muted)"},Ei={listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column",gap:2},Pi=(e,t)=>({display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between",gap:8,padding:"6px 8px",background:e?"var(--surface-2)":"transparent",border:0,borderRadius:"var(--radius-sm)",color:"var(--fg)",cursor:t?"wait":"pointer",fontSize:"var(--fs-13)",textAlign:"left"}),_i={minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},sr=e=>({fontSize:"var(--fs-11)",color:e?"var(--accent)":"var(--fg-muted)"}),Mi={marginTop:8,fontSize:"var(--fs-12)",color:"var(--danger)"};function In({leading:e,brand:t,center:r,actions:n,status:o}){return i.jsx(I,{as:"header",role:"banner",className:"v8-topbar",style:{height:"var(--topbar-h)",flexShrink:0,background:"var(--bg)",borderBottom:"1px solid var(--border)",paddingLeft:"var(--space-4)",paddingRight:"var(--space-4)"},children:i.jsxs(he,{align:"center",justify:"between",gap:4,style:{height:"100%"},children:[i.jsxs(Bt,{align:"center",gap:3,children:[e,t??i.jsx(Oi,{})]}),i.jsx(I,{style:{flex:1,minWidth:0},children:r??null}),i.jsx(Bt,{align:"center",gap:2,children:n??i.jsx(zi,{status:o})})]})})}function Oi(){var m,g,p,y;const e=ie("/api/projects"),t=((m=e.data)==null?void 0:m.projects)??[],r=typeof((g=e.data)==null?void 0:g.active)=="string"?e.data.active:(y=(p=e.data)==null?void 0:p.active)==null?void 0:y.id,n=t.find(v=>v.id===r),o=(n==null?void 0:n.name)||r||"workspace",[s,a]=u.useState(!1),[c,l]=u.useState(null),[d,h]=u.useState(null),f=async v=>{l(v),h(null);try{await re(`/api/projects/${encodeURIComponent(v)}/activate`,{method:"POST"}),e.refetch(),a(!1)}catch(b){h(b instanceof zt||b instanceof Error?b.message:String(b))}finally{l(null)}};return i.jsxs(he,{align:"center",gap:2,children:[i.jsx(I,{style:{width:24,height:24,borderRadius:"var(--radius-sm)",background:"var(--accent)",color:"var(--fg-on-accent)",fontWeight:700,fontSize:"var(--fs-14)",lineHeight:"24px",textAlign:"center"},"aria-hidden":"true",children:"ᛒ"}),i.jsx(I,{style:{fontWeight:600,fontSize:"var(--fs-14)"},children:"Bizar"}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsxs(Za,{open:s,onOpenChange:a,children:[i.jsx(Ja,{asChild:!0,children:i.jsxs("button",{type:"button","aria-label":`Switch project (current: ${o})`,"aria-haspopup":"menu","aria-expanded":s,"data-testid":"topbar-project-selector",style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 8px",borderRadius:"var(--radius-sm)",border:"1px solid var(--border)",background:"var(--surface-1)",color:"var(--fg)",fontSize:"var(--fs-13)",cursor:"pointer"},children:[i.jsx("span",{"data-testid":"topbar-active-project",title:r??void 0,children:o}),i.jsx(xo,{size:12,"aria-hidden":"true"})]})}),i.jsxs(Qa,{align:"start",sideOffset:6,children:[i.jsx(I,{style:Ci,children:"Switch project"}),t.length===0?i.jsx(I,{style:Ri,children:"No projects registered"}):i.jsx("ul",{role:"menu",style:Ei,children:t.map(v=>{const b=v.id===r;return i.jsx("li",{role:"none",children:i.jsxs("button",{type:"button",role:"menuitem",disabled:c!==null,onClick:()=>{f(v.id)},"data-testid":`topbar-project-option-${v.id}`,"aria-current":b?"true":void 0,style:Pi(b,c!==null),children:[i.jsx("span",{style:_i,children:v.name||v.id}),b&&i.jsx("span",{style:sr(!0),children:"●"}),!b&&c===v.id&&i.jsx("span",{style:sr(!1),children:"…"})]})},v.id)})}),d!==null&&i.jsx(I,{role:"alert","data-testid":"topbar-project-error",style:Mi,children:d})]})]})]})}function zi({status:e}){const t=di();return i.jsxs(i.Fragment,{children:[e??i.jsxs(he,{align:"center",gap:1,"aria-live":"polite","data-testid":"topbar-connection-state",style:{fontSize:"var(--fs-12)",color:t?"var(--success)":"var(--warning)"},children:[i.jsx(I,{"aria-hidden":"true",style:{width:8,height:8,borderRadius:"var(--radius-pill)",background:t?"var(--success)":"var(--warning)"}}),i.jsx("span",{children:t?"live":"offline"})]}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsx(Li,{}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsx(Ai,{}),i.jsx(Oe,{orientation:"vertical",style:{height:16}}),i.jsx(ri,{}),i.jsx(ti,{})]})}function Li(){const e=typeof navigator<"u"&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),t=e?"⌘K":"Ctrl K";return i.jsxs("button",{type:"button",onClick:()=>{window.dispatchEvent(new KeyboardEvent("keydown",{key:"k",metaKey:e,ctrlKey:!e,bubbles:!0}))},"aria-label":"Open command palette",title:`Open command palette (${t})`,"data-testid":"topbar-palette-trigger",style:{display:"inline-flex",alignItems:"center",gap:"var(--space-2)",height:28,padding:"0 8px 0 6px",borderRadius:"var(--radius-sm)",border:"1px solid var(--border)",background:"var(--surface-1)",color:"var(--fg-muted)",fontSize:"var(--fs-12)",cursor:"pointer"},children:[i.jsx(et,{size:14,"aria-hidden":"true"}),i.jsx("span",{children:"Search…"}),i.jsx("kbd",{"aria-hidden":"true",style:{padding:"1px 4px",borderRadius:"var(--radius-sm)",border:"1px solid var(--border)",background:"var(--surface-2)",fontSize:"var(--fs-11)",fontFamily:"var(--font-mono)",color:"var(--fg)"},children:t})]})}const Vi=u.forwardRef(function(t,r){const{direction:n="y",shadowTop:o,shadowBottom:s,maxHeight:a,maxWidth:c,children:l,className:d,style:h,...f}=t,p={overflowX:n==="x"||n==="both"?"auto":"hidden",overflowY:n==="y"||n==="both"?"auto":"hidden",...a!==void 0&&{maxHeight:a},...c!==void 0&&{maxWidth:c},...h};return i.jsx("div",{ref:r,className:q("v8-scroll-area",d),style:p,...f,children:l})}),Ti={display:"flex",alignItems:"center",gap:"var(--space-2)"},Ii={fontSize:"var(--fs-12)",fontWeight:600,color:"var(--fg-subtle)",letterSpacing:"var(--tracking-wide)",textTransform:"uppercase",flex:1,padding:"var(--space-1) var(--space-3)"},Di={display:"inline-flex",alignItems:"center",justifyContent:"center",width:20,height:20,background:"transparent",border:0,color:"var(--fg-subtle)",cursor:"pointer",padding:0},Ni=e=>({display:"inline-block",transition:"transform var(--motion-fast) var(--ease-out)",transform:e?"rotate(90deg)":"rotate(0deg)",fontSize:10}),pt="bizar:sidebar:collapsed",$i=[{id:"workspace",label:"Workspace",items:[{id:"overview",label:"Overview",icon:So},{id:"tasks",label:"Tasks",icon:Fr,count:47,active:!0},{id:"goals",label:"Goals",icon:Hr,count:3},{id:"chat",label:"Chat",icon:Vr,live:!0},{id:"projects-list",label:"Projects",icon:_r},{id:"claude-sessions",label:"Claude sessions",icon:Lr}]},{id:"operations",label:"Operations",items:[{id:"agents",label:"Agents",icon:kr,count:"8/16"},{id:"activity",label:"Activity",icon:br,live:!0},{id:"memory",label:"Memory",icon:Rr}]},{id:"libraries",label:"Libraries",items:[{id:"skills",label:"Skills",icon:Mr,count:18},{id:"mcps",label:"MCPs",icon:zr,count:3},{id:"hooks",label:"Hooks",icon:Mo,count:5}]},{id:"system",label:"System",items:[{id:"history",label:"History",icon:Or},{id:"admin",label:"Admin",icon:Kr},{id:"auth",label:"Auth",icon:$r},{id:"env-vars",label:"Env vars",icon:qr},{id:"config",label:"Config",icon:Dr},{id:"dialogs",label:"Dialogs",icon:Tr},{id:"providers",label:"Providers",icon:Wr},{id:"mods",label:"Mods",icon:Sr},{id:"update",label:"Update",icon:Ar},{id:"artifacts",label:"Artifacts",icon:Eo},{id:"lightrag",label:"LightRAG",icon:Er},{id:"voice",label:"Voice",icon:Ir},{id:"clipboard",label:"Clipboard",icon:Cr},{id:"obsidian",label:"Obsidian",icon:wr},{id:"misc",label:"Misc",icon:et},{id:"doctor",label:"Doctor",icon:Br},{id:"usage",label:"Usage",icon:jr},{id:"backup",label:"Backups",icon:xr},{id:"notifications",label:"Notifications",icon:wt},{id:"diagnostics",label:"Diagnostics",icon:Gr},{id:"eval",label:"Eval",icon:Pr},{id:"settings",label:"Settings",icon:Nr}]}];function xt({sections:e,defaultSections:t=!0,footer:r,defaultCollapsed:n,onItemSelect:o,activeId:s,className:a}){const c=n??(typeof window<"u"&&window.localStorage.getItem(pt)==="1"),[l,d]=u.useState(c),h=e??(t?$i:[]),f=l?"var(--sidebar-w-collapsed)":"var(--sidebar-w)",m=g=>s!==void 0?g===s:!1;return i.jsxs(I,{as:"aside",role:"navigation","aria-label":"Primary navigation",className:q("v8-sidebar",a),style:{width:f,flexShrink:0,height:"100%",background:"var(--sidebar-bg)",color:"var(--sidebar-fg)",borderRight:"1px solid var(--sidebar-border)",display:"flex",flexDirection:"column",transition:"width var(--motion-base) var(--ease-out)"},children:[i.jsx(Vi,{style:{flex:1,padding:"var(--space-3) var(--space-2)"},children:i.jsx(je,{gap:4,children:h.map(g=>i.jsx(Wi,{section:g,collapsed:l,onItemSelect:o,isItemActive:m},g.id))})}),i.jsx(Oe,{}),i.jsx(I,{style:{padding:"var(--space-3) var(--space-3)",display:"flex",alignItems:"center",justifyContent:l?"center":"space-between",gap:"var(--space-2)"},children:l?i.jsxs(je,{align:"center",gap:2,children:[i.jsx(I,{"aria-hidden":"true",style:{width:8,height:8,borderRadius:"var(--radius-pill)",background:"var(--success)",boxShadow:"0 0 0 4px color-mix(in oklch, var(--success) 24%, transparent)"}}),i.jsx("button",{type:"button",onClick:()=>{d(g=>{const p=!g;return typeof window<"u"&&window.localStorage.setItem(pt,p?"1":"0"),p})},"aria-label":"Expand sidebar",title:"Expand sidebar","data-testid":"sidebar-expand",style:{width:24,height:24,display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",background:"transparent",border:"1px solid var(--border)",cursor:"pointer"},children:i.jsx(ko,{size:14})})]}):i.jsxs(i.Fragment,{children:[i.jsxs(I,{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:[i.jsxs("div",{"data-testid":"sidebar-version",children:["◉ online · v",void 0]}),i.jsxs("div",{"data-testid":"sidebar-build-sha",style:{fontFamily:"var(--font-mono)"},title:"build dev",children:["build ","dev"]})]}),i.jsx("button",{type:"button",onClick:()=>{d(g=>{const p=!g;return typeof window<"u"&&window.localStorage.setItem(pt,p?"1":"0"),p})},"aria-label":"Collapse sidebar",title:"Collapse sidebar","data-testid":"sidebar-collapse",style:{width:28,height:28,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",background:"transparent",border:"1px solid var(--border)"},children:i.jsx(wo,{size:14})})]})}),!l&&r]})}function Wi({section:e,collapsed:t,onItemSelect:r,isItemActive:n}){const o=`bizar:sidebar:section:collapsed:${e.id}`,s=typeof window<"u"&&window.localStorage.getItem(o)==="1",[a,c]=u.useState(!s),l=()=>{c(d=>{const h=!d;return typeof window<"u"&&window.localStorage.setItem(o,h?"0":"1"),h})};return i.jsxs(je,{gap:1,"data-sidebar-section":e.id,children:[!t&&i.jsxs("div",{role:"presentation",style:Ti,children:[i.jsx("span",{style:Ii,children:e.label}),i.jsx("button",{type:"button",onClick:l,"aria-expanded":a,"aria-controls":`sidebar-section-${e.id}`,"data-section-toggle":e.id,"data-testid":`sidebar-section-toggle-${e.id}`,style:Di,children:i.jsx("span",{"aria-hidden":"true","data-testid":`sidebar-section-chevron-${e.id}`,style:Ni(a),children:"▸"})})]}),a&&i.jsx("div",{id:`sidebar-section-${e.id}`,role:"group","aria-label":e.label,children:e.items.map(d=>i.jsx(Fi,{item:d,collapsed:t,active:n(d.id),onSelect:r},d.id))})]})}function Fi({item:e,collapsed:t,active:r,onSelect:n}){const o=e.icon;return i.jsxs("button",{type:"button",onClick:()=>n==null?void 0:n(e.id),"aria-current":r?"page":void 0,"aria-label":e.label,title:t?e.label:void 0,"data-sidebar-item":e.id,"data-nav-item":e.id,className:q("v8-sidebar-item",r&&"is-active"),style:{display:"flex",alignItems:"center",gap:"var(--space-2)",padding:t?"var(--space-2)":"var(--space-2) var(--space-3)",borderRadius:"var(--radius-sm)",fontSize:"var(--fs-13)",color:r?"var(--fg)":"var(--fg-muted)",background:r?"var(--sidebar-hover)":"transparent",fontWeight:r?500:400,justifyContent:t?"center":"flex-start",minHeight:32,boxShadow:r?"inset 2px 0 0 0 var(--sidebar-accent)":"none",border:"none",cursor:"pointer",textAlign:"left",transition:"background var(--motion-fast) var(--ease-out)"},children:[i.jsx(o,{size:16,"aria-hidden":"true"}),!t&&i.jsxs(i.Fragment,{children:[i.jsx("span",{style:{flex:1,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.label}),e.live&&i.jsx(I,{"aria-hidden":"true",style:{width:6,height:6,borderRadius:"var(--radius-pill)",background:"var(--success)"}}),e.count!==void 0&&i.jsx(I,{style:{fontSize:"var(--fs-12)",color:"var(--fg-subtle)",fontVariantNumeric:"tabular-nums"},children:e.count})]})]})}const Bi=u.forwardRef(function({topbar:t,sidebar:r,mobileMenuOpen:n,onMobileMenuClose:o,children:s},a){return i.jsxs(I,{className:"v8-app-shell",style:{display:"flex",flexDirection:"column",height:"100vh",background:"var(--bg)",color:"var(--fg)"},children:[t??i.jsx(In,{}),i.jsxs(I,{className:"v8-app-shell-body",style:{display:"flex",flex:1,minHeight:0},children:[i.jsx(I,{className:"v8-desktop-sidebar",style:{flexShrink:0},children:r??i.jsx(xt,{})}),i.jsx(ur,{open:n,onOpenChange:c=>{c||o==null||o()},children:i.jsxs(fr,{children:[i.jsx(pr,{className:"v8-mobile-sidebar-overlay",style:{position:"fixed",inset:0,background:"oklch(0 0 0 / 0.4)",zIndex:"var(--z-modal)"}}),i.jsx(hr,{className:"v8-mobile-sidebar","aria-label":"Navigation",style:{position:"fixed",top:0,left:0,bottom:0,width:"var(--sidebar-w)",zIndex:"calc(var(--z-modal) + 1)"},children:r??i.jsx(xt,{})})]})}),i.jsx(I,{as:"main",ref:a,id:"main",tabIndex:-1,className:"v8-sidebar-inset",role:"main",style:{flex:1,minWidth:0,overflow:"auto",background:"var(--bg)",outline:"none"},children:i.jsx(I,{className:"v8-sidebar-inset-inner",style:{maxWidth:1440,margin:"0 auto",padding:"var(--space-6) var(--space-6)",width:"100%"},children:s})})]})]})}),Hi="modulepreload",Gi=function(e){return"/"+e},ar={},O=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(r.map(l=>{if(l=Gi(l),l in ar)return;ar[l]=!0;const d=l.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${h}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":Hi,d||(f.as="script"),f.crossOrigin="",f.href=l,c&&f.setAttribute("nonce",c),document.head.appendChild(f),d)return new Promise((m,g)=>{f.addEventListener("load",m),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return o.then(a=>{for(const c of a||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},ir=u.lazy(()=>O(()=>import("./OverviewView-B6L_wa4M.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>({default:e.OverviewView}))),qi=u.lazy(()=>O(()=>import("./TasksView-G-s_pwwr.js"),__vite__mapDeps([11,1,6,12,13,14,15,16,17,2,3,18,19,20,21,22,23,24,25,26,9,8,5,27,28,4,29,7,30,31,32,33,34])).then(e=>({default:e.TasksView}))),Ki=u.lazy(()=>O(()=>import("./GoalsView-C3QG5p7T.js"),__vite__mapDeps([35,1,20,29,6,32,15,28,21,19,18,17,36,30,14,4,37,25,26,9,8,38,39,22])).then(e=>({default:e.GoalsView}))),Ui=u.lazy(()=>O(()=>import("./AgentsView-DD6bCIbA.js"),__vite__mapDeps([40,1,20,6,39,16,32,41,28,22,4,42,43,44,45,46,29,5,37,25,26,9,8,38,21,27,47,14])).then(e=>({default:e.AgentsView}))),Yi=u.lazy(()=>O(()=>import("./ActivityView-BC0QQ_j9.js"),__vite__mapDeps([48,1,6,39,7,4,37,25,26,9,8,38,23,17,24,18,49,31,10,50])).then(e=>({default:e.ActivityView}))),Xi=u.lazy(()=>O(()=>import("./MemoryView-Cr-obIQY.js"),__vite__mapDeps([51,1,6,52,27,29,28,22,53,14,54])).then(e=>({default:e.MemoryView}))),ht=u.lazy(()=>O(()=>import("./LibrariesView-DH2E2uNb.js"),__vite__mapDeps([55,1,6,20,12,13,14,15,16,17,2,3,18,19,21,22,23,24,25,26,9,8,5,27,28,4,29,7,32,56,33,34,37,38])).then(e=>({default:e.LibrariesView}))),Zi=u.lazy(()=>O(()=>import("./SettingsView-BvOGcgMS.js"),__vite__mapDeps([57,1,20,23,17,24,18,21,22,33,58,54,46,14,30])).then(e=>({default:e.SettingsView}))),Ji=u.lazy(()=>O(()=>import("./SchedulesView-yMaG3Dtd.js"),__vite__mapDeps([59,1,20,6,4,27,37,25,26,9,8,38,23,17,22,28,21,14,50,42,44,30])).then(e=>({default:e.SchedulesView}))),Qi=u.lazy(()=>O(()=>import("./BackgroundJobsView-w8OZtXyI.js"),__vite__mapDeps([60,1,6,4,27,37,25,26,9,8,38,43,42,46,30])).then(e=>({default:e.BackgroundJobsView}))),ec=u.lazy(()=>O(()=>import("./DoctorView-Dm94WI2z.js"),__vite__mapDeps([61,1,6,4,27,37,25,26,9,8,38,44])).then(e=>({default:e.DoctorView}))),tc=u.lazy(()=>O(()=>import("./UsageView-M01G6bZQ.js"),__vite__mapDeps([62,1,20,6,4,37,25,26,9,8,38,3,41,50])).then(e=>({default:e.UsageView}))),rc=u.lazy(()=>O(()=>import("./BackupView-u_O3j0TG.js"),__vite__mapDeps([63,1,6,39,4,21,27,28,14,46,30])).then(e=>({default:e.BackupView}))),nc=u.lazy(()=>O(()=>import("./NotificationsView-CIqtY6D0.js"),__vite__mapDeps([64,1,6,4,27,44,65,30])).then(e=>({default:e.NotificationsView}))),oc=u.lazy(()=>O(()=>import("./DiagnosticsView-D5Wy9xlJ.js"),__vite__mapDeps([66,1,20,6,4,44,52])).then(e=>({default:e.DiagnosticsView}))),sc=u.lazy(()=>O(()=>import("./EvalView-2cbWVBUA.js"),__vite__mapDeps([67,1,6,4,27,42,44,15,14,30])).then(e=>({default:e.EvalView}))),ac=u.lazy(()=>O(()=>import("./ChatView-BTjb3mIh.js"),__vite__mapDeps([68,1,6,4,22,27,34,21,28,44,45])).then(e=>({default:e.ChatView}))),ic=u.lazy(()=>O(()=>import("./ProjectsView-DgxWiqHb.js"),__vite__mapDeps([69,1,6,39,4,21,28,27,38,30])).then(e=>({default:e.ProjectsView}))),cc=u.lazy(()=>O(()=>import("./ClaudeSessionsView-BoZS5ldi.js"),__vite__mapDeps([70,1,6,4,21,28,27,37,25,26,9,8,38,34,45,14,71,30])).then(e=>({default:e.ClaudeSessionsView}))),lc=u.lazy(()=>O(()=>import("./HistoryView-Bum2TMMw.js"),__vite__mapDeps([72,1,6,4,27,37,25,26,9,8,38])).then(e=>({default:e.HistoryView}))),dc=u.lazy(()=>O(()=>import("./AdminView-CLTNKFL4.js"),__vite__mapDeps([73,1,6,4,20,30,54,74,53,75,44])).then(e=>({default:e.AdminView}))),uc=u.lazy(()=>O(()=>import("./AuthView-BZ-bPIOM.js"),__vite__mapDeps([76,1,6,4,21,75,46])).then(e=>({default:e.AuthView}))),fc=u.lazy(()=>O(()=>import("./EnvVarsView-BhcIuJ6V.js"),__vite__mapDeps([77,1,6,39,4,21,28,27,53,38,14,71,30])).then(e=>({default:e.EnvVarsView}))),pc=u.lazy(()=>O(()=>import("./ConfigView-DfTJk1uL.js"),__vite__mapDeps([78,1,6,4,21,27,58,38,79,14,71,30])).then(e=>({default:e.ConfigView}))),hc=u.lazy(()=>O(()=>import("./DialogsView-HVyfrXpq.js"),__vite__mapDeps([80,1,6,39,4,27,37,25,26,9,8,38,30])).then(e=>({default:e.DialogsView}))),gc=u.lazy(()=>O(()=>import("./ProvidersView-BOqN9omv.js"),__vite__mapDeps([81,1,6,39,4,27,38,14,46,71,74,56,30])).then(e=>({default:e.ProvidersView}))),mc=u.lazy(()=>O(()=>import("./ModsView-B6OR-a4B.js"),__vite__mapDeps([82,1,6,39,4,21,28,27,38,14,56,74,65,30,53,83])).then(e=>({default:e.ModsView}))),vc=u.lazy(()=>O(()=>import("./UpdateView-BKx3u9X8.js"),__vite__mapDeps([84,1,6,4,27,38,53,8,26])).then(e=>({default:e.UpdateView}))),yc=u.lazy(()=>O(()=>import("./ArtifactsView-BVU5lfo7.js"),__vite__mapDeps([85,1,6,4,21,22,28,27,9,36,38,14,30])).then(e=>({default:e.ArtifactsView}))),bc=u.lazy(()=>O(()=>import("./LightRAGView-BFCcj7Tl.js"),__vite__mapDeps([86,1,6,4,21,27,37,25,26,9,8,38,79,49])).then(e=>({default:e.LightRAGView}))),xc=u.lazy(()=>O(()=>import("./VoiceView-rWE8vziD.js"),__vite__mapDeps([87,1,6,4,28,27,38,83,30])).then(e=>({default:e.VoiceView}))),wc=u.lazy(()=>O(()=>import("./ClipboardView-Cb6XgYZI.js"),__vite__mapDeps([88,1,6,4,21,22,28,27,38,14,36,30])).then(e=>({default:e.ClipboardView}))),kc=u.lazy(()=>O(()=>import("./ObsidianView-Nahah8QC.js"),__vite__mapDeps([89,1,6,4,21,27,38,65,52,30])).then(e=>({default:e.ObsidianView}))),Sc=u.lazy(()=>O(()=>import("./MiscView-CDUQpYuV.js"),__vite__mapDeps([90,1,6,4,21,47,38,56,74,52])).then(e=>({default:e.MiscView})));function jc(e){return u.useMemo(()=>{switch(e){case"overview":return i.jsx(ir,{});case"tasks":return i.jsx(qi,{});case"goals":return i.jsx(Ki,{});case"agents":return i.jsx(Ui,{});case"activity":return i.jsx(Yi,{});case"memory":return i.jsx(Xi,{});case"skills":return i.jsx(ht,{kind:"skills"});case"mcps":return i.jsx(ht,{kind:"mcps"});case"hooks":return i.jsx(ht,{kind:"hooks"});case"settings":return i.jsx(Zi,{});case"schedules":return i.jsx(Ji,{});case"background":return i.jsx(Qi,{});case"doctor":return i.jsx(ec,{});case"usage":return i.jsx(tc,{});case"backup":return i.jsx(rc,{});case"notifications":return i.jsx(nc,{});case"diagnostics":return i.jsx(oc,{});case"eval":return i.jsx(sc,{});case"chat":return i.jsx(ac,{});case"projects-list":return i.jsx(ic,{});case"claude-sessions":return i.jsx(cc,{});case"history":return i.jsx(lc,{});case"admin":return i.jsx(dc,{});case"auth":return i.jsx(uc,{});case"env-vars":return i.jsx(fc,{});case"config":return i.jsx(pc,{});case"dialogs":return i.jsx(hc,{});case"providers":return i.jsx(gc,{});case"mods":return i.jsx(mc,{});case"update":return i.jsx(vc,{});case"artifacts":return i.jsx(yc,{});case"lightrag":return i.jsx(bc,{});case"voice":return i.jsx(xc,{});case"clipboard":return i.jsx(wc,{});case"obsidian":return i.jsx(kc,{});case"misc":return i.jsx(Sc,{});default:return i.jsx(ir,{})}},[e])}const Ac=({children:e,...t})=>i.jsx(ur,{...t,children:e}),Cc={sm:"420px",md:"560px",lg:"800px",full:"100%"},Rc=u.forwardRef(function(t,r){const{className:n,size:o="md",title:s,description:a,hideClose:c,children:l,...d}=t;return i.jsxs(fr,{children:[i.jsx(pr,{className:"v8-dialog-overlay",style:{position:"fixed",inset:0,background:"oklch(0 0 0 / 0.4)",backdropFilter:"none",zIndex:"var(--z-modal)",animation:"v8-dialog-overlay-in var(--motion-base) var(--ease-out)"}}),i.jsxs(hr,{ref:r,className:q("v8-dialog-content",n),style:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:Cc[o],maxWidth:"calc(100vw - 32px)",maxHeight:"calc(100vh - 64px)",background:"var(--surface-popover)",border:"1px solid var(--border)",borderRadius:"var(--radius-lg)",boxShadow:"var(--shadow-4)",padding:"var(--space-6)",overflow:"auto",zIndex:"calc(var(--z-modal) + 1)",animation:"v8-dialog-content-in var(--motion-base) var(--ease-out)"},...d,children:[i.jsx(ro,{style:{fontSize:"var(--fs-18)",fontWeight:600,marginBottom:a!==void 0?"var(--space-1)":"var(--space-4)"},children:s}),a!==void 0&&i.jsx(no,{style:{fontSize:"var(--fs-13)",color:"var(--fg-muted)",marginBottom:"var(--space-4)"},children:a}),l,c!==!0&&i.jsx(oo,{"aria-label":"Close",style:{position:"absolute",top:12,right:12,width:28,height:28,display:"inline-flex",alignItems:"center",justifyContent:"center",background:"transparent",border:0,borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",cursor:"pointer"},children:i.jsx(Oo,{size:16,"aria-hidden":"true"})})]})]})});function Ec(e){const{query:t,onQueryChange:r,placeholder:n="Type a command or search…",hideIcon:o,emptyMessage:s="No results found.",children:a,className:c}=e;return i.jsxs(xe,{className:q("v8-command",c),label:"Command palette",shouldFilter:!0,loop:!0,children:[i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-2)",padding:"var(--space-3) var(--space-4)",borderBottom:"1px solid var(--border)"},children:[o!==!0&&i.jsx(et,{size:14,"aria-hidden":"true",style:{color:"var(--fg-muted)"}}),i.jsx(xe.Input,{value:t,onValueChange:r,placeholder:n,style:{flex:1,border:0,outline:0,background:"transparent",fontFamily:"inherit",fontSize:"var(--fs-14)",color:"var(--fg)"}})]}),i.jsxs(xe.List,{style:{maxHeight:"min(60vh, 480px)",overflow:"auto",padding:"var(--space-2)"},children:[i.jsx(xe.Empty,{style:{padding:"var(--space-6)",textAlign:"center",color:"var(--fg-muted)",fontSize:"var(--fs-13)"},children:s}),a]}),i.jsx("style",{children:`
|
|
268
|
-
[cmdk-item][data-selected='true'] {
|
|
269
|
-
background: var(--surface-2);
|
|
270
|
-
}
|
|
271
|
-
[cmdk-item][data-disabled='true'] {
|
|
272
|
-
color: var(--fg-subtle);
|
|
273
|
-
}
|
|
274
|
-
`})]})}function ve({heading:e,children:t}){return i.jsxs(xe.Group,{style:{padding:"var(--space-1) 0"},heading:typeof e=="string"?e:void 0,children:[e!==void 0&&i.jsx("div",{style:{padding:"var(--space-2) var(--space-3) var(--space-1)",fontSize:"var(--fs-12)",fontWeight:600,color:"var(--fg-subtle)",textTransform:"uppercase",letterSpacing:"var(--tracking-wide)"},children:e}),t]})}function ye({value:e,children:t,shortcut:r,disabled:n,onSelect:o}){return i.jsxs(xe.Item,{value:e,disabled:n,onSelect:o,style:{display:"flex",alignItems:"center",gap:"var(--space-2)",height:32,padding:"0 var(--space-3)",borderRadius:"var(--radius-sm)",fontSize:"var(--fs-13)",color:"var(--fg)",cursor:n===!0?"not-allowed":"pointer",userSelect:"none"},children:[i.jsx("span",{style:{flex:1,minWidth:0},children:t}),r!==void 0&&i.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:r})]})}function Pc(){const[e,t]=u.useState(!1);return u.useEffect(()=>{const r=n=>{(n.metaKey||n.ctrlKey)&&(n.key==="k"||n.key==="K")?(n.preventDefault(),t(s=>!s)):n.key==="Escape"&&t(!1)};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[]),[e,t]}const _c=u.forwardRef(function(t,r){const{children:n,inverted:o,className:s,style:a,...c}=t;return i.jsx("kbd",{ref:r,className:q("v8-kbd",o&&"is-inverted",s),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"1.4em",height:"1.4em",padding:"0 6px",fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",fontWeight:500,color:o===!0?"var(--bg)":"var(--fg-muted)",background:o===!0?"var(--fg)":"var(--surface-1)",border:"1px solid var(--border)",borderBottomWidth:2,borderRadius:"var(--radius-sm)",...a},...c,children:n})}),Mc=[{id:"overview",label:"Go to Overview"},{id:"tasks",label:"Go to Tasks"},{id:"goals",label:"Go to Goals"},{id:"agents",label:"Go to Agents"},{id:"activity",label:"Go to Activity"},{id:"memory",label:"Go to Memory"},{id:"skills",label:"Go to Skills"},{id:"mcps",label:"Go to MCPs"},{id:"hooks",label:"Go to Hooks"},{id:"settings",label:"Go to Settings",shortcut:"⌘,"}],Oc=[{id:"__theme",label:"Toggle theme"},{id:"__density",label:"Toggle density"}],zc=[{id:"section:general",label:"Settings · General"},{id:"section:theme",label:"Settings · Theme"},{id:"section:density",label:"Settings · Density"},{id:"section:density-rules",label:"Settings · Density rules"},{id:"section:palette",label:"Settings · Command palette"},{id:"section:keyboard",label:"Settings · Keyboard"},{id:"section:notifications",label:"Settings · Notifications"},{id:"section:storage",label:"Settings · Storage"},{id:"section:plugins",label:"Settings · Plugins"},{id:"section:mcps",label:"Settings · MCP servers"},{id:"section:skills",label:"Settings · Skills"},{id:"section:hooks",label:"Settings · Hooks"},{id:"section:activity",label:"Settings · Activity"},{id:"section:memory",label:"Settings · Memory"},{id:"section:privacy",label:"Settings · Privacy"},{id:"section:advanced",label:"Settings · Advanced"}],Lc=[{id:"spawn:coder",label:"Spawn · Coder agent"},{id:"spawn:researcher",label:"Spawn · Researcher agent"},{id:"spawn:planner",label:"Spawn · Planner agent"},{id:"spawn:reviewer",label:"Spawn · Reviewer agent"}],Vc=[{id:"task:new",label:"New task…"},{id:"tasks:open",label:"Go to tasks board"}];function Tc(e,t){return r=>{if(r.startsWith("section:")){const n=r.slice(8);e("settings"),requestAnimationFrame(()=>{var o;(o=document.getElementById(n))==null||o.scrollIntoView({behavior:"smooth",block:"start"})}),t(!1);return}e(r),t(!1)}}function Ic(e){return/^(bizar-(e2e|real-env|admin)|bh-(cold-boot|walk-proj))/.test(e.id)||e.name!=null&&e.name===e.id}async function Dc(e,t,r){try{const n=["coder","researcher","planner","reviewer"].includes(e),c=await re(n?"/api/spawn/agent":"/api/agents",{method:"POST",body:n?{agent:e,prompt:"Spawned via command palette",worktree:r}:{kind:e,prompt:"Spawned via command palette"}});c.error||c.message&&!c.ok?t==null||t({kind:"error",text:c.error||c.message||"spawn failed"}):t==null||t({kind:"success",text:`Spawned ${e} agent`})}catch(n){t==null||t({kind:"error",text:n instanceof Error?n.message:String(n)})}}async function Nc(e,t){try{await re(`/api/projects/${encodeURIComponent(e)}/activate`,{method:"POST"}),t==null||t({kind:"success",text:`Switched to ${e}`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}async function $c(e,t){try{await re("/api/tasks/submit",{method:"POST",body:{title:e,priority:"medium"}}),t==null||t({kind:"success",text:`Dispatched task "${e.slice(0,30)}"`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}function Wc(e){const{open:t,onOpenChange:r,onNavigate:n,onToast:o}=e,s=Tc(n,r),[a,c]=u.useState([]),[l,d]=u.useState(void 0);u.useEffect(()=>{if(!t)return;let p=!1;return(async()=>{var y;try{const v=await re("/api/projects");!p&&v.projects&&c(v.projects),!p&&((y=v.active)!=null&&y.cwd)&&d(v.active.cwd)}catch{}})(),()=>{p=!0}},[t]);const h=p=>{const y=p.slice(6);r(!1),Dc(y,o,l)},f=p=>{const y=p.slice(8);r(!1),Nc(y,o)},m=()=>{const p=window.prompt("New task title")||"";p.trim()&&(r(!1),$c(p,o))},g=a.filter(p=>!Ic(p)).map(p=>({id:`project:${p.id}`,label:`Switch to ${p.name||p.id}`}));return i.jsx(Ac,{open:t,onOpenChange:r,children:i.jsx(Rc,{title:"Command palette",size:"md",children:i.jsxs(Ec,{placeholder:"Type a command, page, or setting…",children:[i.jsx(ve,{heading:"Navigation",children:Mc.map(p=>i.jsxs(ye,{value:p.label,onSelect:()=>s(p.id),children:[i.jsx("span",{children:p.label}),p.shortcut!==void 0&&i.jsx(_c,{children:p.shortcut})]},p.id))}),i.jsx(ve,{heading:"Actions",children:Oc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>s(p.id),children:i.jsx("span",{children:p.label})},p.id))}),i.jsx(ve,{heading:"Agents",children:Lc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>h(p.id),children:i.jsx("span",{children:p.label})},p.id))}),i.jsx(ve,{heading:"Tasks",children:Vc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>p.id==="task:new"?m():s("tasks"),children:i.jsx("span",{children:p.label})},p.id))}),g.length>0&&i.jsx(ve,{heading:"Projects",children:g.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>f(p.id),children:i.jsx("span",{children:p.label})},p.id))}),i.jsx(ve,{heading:"Settings",children:zc.map(p=>i.jsx(ye,{value:p.label,onSelect:()=>s(p.id),children:i.jsx("span",{children:p.label})},p.id))})]})})})}function be({width:e="100%",height:t=16,radius:r="sm",className:n,style:o,...s}){const a=r==="sm"?"var(--radius-sm)":r==="pill"?"var(--radius-pill)":"var(--radius)";return i.jsx("div",{className:q("v8-skeleton",n),style:{display:"inline-block",width:typeof e=="number"?`${e}px`:e,height:typeof t=="number"?`${t}px`:t,background:"linear-gradient(90deg, var(--surface-1) 0%, var(--surface-2) 50%, var(--surface-1) 100%)",backgroundSize:"200% 100%",borderRadius:a,animation:"v8-skeleton-pulse 1.4s ease-in-out infinite",...o},"aria-hidden":"true",...s})}function Kc({lines:e=3,lastLineWidth:t="60%"}){return i.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"var(--space-2)"},"aria-hidden":"true",children:Array.from({length:e},(r,n)=>i.jsx(be,{width:n===e-1?t:"100%",height:12},n))})}function Fc(){return i.jsx(I,{role:"status","aria-busy":"true","aria-live":"polite",style:{padding:"var(--space-5) var(--space-6)"},children:i.jsxs(je,{gap:5,children:[i.jsx(be,{height:32,width:"40%"}),i.jsx(be,{height:16,width:"65%"}),i.jsxs(je,{gap:2,children:[i.jsx(be,{height:14,width:"100%"}),i.jsx(be,{height:14,width:"92%"}),i.jsx(be,{height:14,width:"78%"})]})]})})}function _(e){switch(e){case"overview":return Be;case"tasks":return Fr;case"goals":return Hr;case"agents":return kr;case"activity":return br;case"memory":return Rr;case"skills":return Mr;case"mcps":return zr;case"hooks":return Be;case"settings":return Nr;case"schedules":return yo;case"background":return vo;case"chat":return Vr;case"projects-list":return _r;case"claude-sessions":return Lr;case"history":return Or;case"admin":return Kr;case"auth":return $r;case"env-vars":return qr;case"config":return Dr;case"dialogs":return Tr;case"providers":return Wr;case"mods":return Sr;case"update":return Ar;case"artifacts":return Be;case"lightrag":return Er;case"voice":return Ir;case"clipboard":return Cr;case"obsidian":return wr;case"misc":return et;case"doctor":return Br;case"usage":return jr;case"backup":return xr;case"notifications":return wt;case"diagnostics":return Gr;case"eval":return Pr;default:return Be}}function Bc(){const[e,t]=u.useState("overview"),[r,n]=u.useState(!1),o=Ln(),s=Vn(),[a,c]=Pc(),l=u.useRef(null);u.useEffect(()=>{var x;(x=l.current)==null||x.focus({preventScroll:!0})},[e]),u.useEffect(()=>{const x=window.location.hash;if(x.startsWith("#/")){const k=x.slice(2);k&&t(k)}},[]),u.useEffect(()=>{const x=()=>{const k=window.location.hash;if(k.startsWith("#/")){const M=k.slice(2);M&&t(M)}else t("overview")};return window.addEventListener("popstate",x),()=>window.removeEventListener("popstate",x)},[]),u.useEffect(()=>{window.history.pushState(null,"","#/"+e)},[e]);const d=ie("/api/tasks"),h=ie("/api/goals"),f=ie("/api/agents"),m=ie("/api/cc-agents"),g=ie("/api/skills?kind=skills"),p=ie("/api/skills?kind=mcps"),y=ie("/api/skills?kind=hooks"),[v,b]=u.useState(0);u.useEffect(()=>{const x=()=>b(k=>k+1);return window.addEventListener("focus",x),()=>{window.removeEventListener("focus",x)}},[]),Ke("tasks:change",()=>b(x=>x+1)),Ke("goals:change",()=>b(x=>x+1)),Ke("agents:change",()=>b(x=>x+1)),u.useEffect(()=>{const x=k=>{const M=k.detail;!M||typeof M.id!="string"||t(M.id)};return window.addEventListener("bizar:navigate",x),()=>window.removeEventListener("bizar:navigate",x)},[]);const w=u.useMemo(()=>{var V,N,B,L,F,C,D,G,K,fe,Ie,De,Ne,$e,We;const k=(((V=d.data)==null?void 0:V.tasks)||[]).length||((N=d.data)==null?void 0:N.count)||0,M=(((B=h.data)==null?void 0:B.goals)||[]).length||((L=h.data)==null?void 0:L.count)||0,W=((F=f.data)==null?void 0:F.agents)||[],z=((C=m.data)==null?void 0:C.agents)||[],H=W.filter(Ee=>Ee.status==="busy"||Ee.status==="working").length,P=W.length+z.length;return{tasksTotal:k,goals:M,agentsRunning:`${H+z.length}/${P||0}`,skills:((D=g.data)==null?void 0:D.count)??((K=(G=g.data)==null?void 0:G.skills)==null?void 0:K.length),mcps:((fe=p.data)==null?void 0:fe.count)??((De=(Ie=p.data)==null?void 0:Ie.skills)==null?void 0:De.length),hooks:((Ne=y.data)==null?void 0:Ne.count)??((We=($e=y.data)==null?void 0:$e.skills)==null?void 0:We.length)}},[d.data,h.data,f.data,m.data,g.data,p.data,y.data,v]),A=[{id:"workspace",label:"Workspace",items:[{id:"overview",label:"Overview",icon:_("overview")},{id:"tasks",label:"Tasks",icon:_("tasks"),count:w.tasksTotal},{id:"goals",label:"Goals",icon:_("goals"),count:w.goals},{id:"chat",label:"Chat",icon:_("chat"),live:!0},{id:"projects-list",label:"Projects",icon:_("projects-list")},{id:"claude-sessions",label:"Claude sessions",icon:_("claude-sessions")}]},{id:"operations",label:"Operations",items:[{id:"agents",label:"Agents",icon:_("agents"),count:w.agentsRunning},{id:"activity",label:"Activity",icon:_("activity"),live:!0},{id:"memory",label:"Memory",icon:_("memory")},{id:"schedules",label:"Schedules",icon:_("schedules")},{id:"background",label:"Background",icon:_("background")}]},{id:"libraries",label:"Libraries",items:[{id:"skills",label:"Skills",icon:_("skills"),count:w.skills??0},{id:"mcps",label:"MCPs",icon:_("mcps"),count:w.mcps??0},{id:"hooks",label:"Hooks",icon:_("hooks"),count:w.hooks??0}]},{id:"system",label:"System",items:[{id:"history",label:"History",icon:_("history")},{id:"admin",label:"Admin",icon:_("admin")},{id:"auth",label:"Auth",icon:_("auth")},{id:"env-vars",label:"Env vars",icon:_("env-vars")},{id:"config",label:"Config",icon:_("config")},{id:"dialogs",label:"Dialogs",icon:_("dialogs")},{id:"providers",label:"Providers",icon:_("providers")},{id:"mods",label:"Mods",icon:_("mods")},{id:"update",label:"Update",icon:_("update")},{id:"artifacts",label:"Artifacts",icon:_("artifacts")},{id:"lightrag",label:"LightRAG",icon:_("lightrag")},{id:"voice",label:"Voice",icon:_("voice")},{id:"clipboard",label:"Clipboard",icon:_("clipboard")},{id:"obsidian",label:"Obsidian",icon:_("obsidian")},{id:"misc",label:"Misc",icon:_("misc")},{id:"doctor",label:"Doctor",icon:_("doctor")},{id:"usage",label:"Usage",icon:_("usage")},{id:"backup",label:"Backups",icon:_("backup")},{id:"notifications",label:"Notifications",icon:_("notifications")},{id:"diagnostics",label:"Diagnostics",icon:_("diagnostics")},{id:"eval",label:"Eval",icon:_("eval")},{id:"settings",label:"Settings",icon:_("settings")}]}],S=x=>{if(x==="__theme"){const k=o.mode==="dark"?"light":"dark";o.setMode(k);return}if(x==="__density"){const k=s.density==="comfortable"?"compact":"comfortable";s.setDensity(k);return}t(x)},E=jc(e);return i.jsxs(Bi,{ref:l,topbar:i.jsx(In,{leading:i.jsx("button",{type:"button","aria-label":"Open navigation menu","data-testid":"mobile-menu-toggle",onClick:()=>n(!0),style:{display:"none",alignItems:"center",justifyContent:"center",width:32,height:32,background:"transparent",border:"1px solid var(--border)",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",cursor:"pointer"},className:"mobile-menu-toggle",children:i.jsx(Ao,{size:16,"aria-hidden":"true"})}),center:i.jsxs(he,{align:"center",gap:2,children:[i.jsxs(Je,{variant:"ghost",size:"sm",onClick:()=>c(!0),"aria-label":"Open command palette","data-testid":"palette-trigger",style:{display:"inline-flex",alignItems:"center",gap:"var(--space-2)",padding:"6px var(--space-3)",background:"var(--surface-1)",border:"1px solid var(--border)",borderRadius:"var(--radius)",color:"var(--fg-muted)",fontSize:"var(--fs-13)",width:360,maxWidth:"100%",justifyContent:"space-between"},children:[i.jsx("span",{children:"Type a command, page, or setting…"}),i.jsx(I,{as:"kbd",style:{fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"⌘K"})]}),i.jsx(Je,{variant:"ghost",size:"icon","aria-label":"Keyboard shortcuts","data-testid":"shortcuts-help",title:"Keyboard shortcuts",onClick:()=>{const x=["⌘K — Command palette","⌘/ — Toggle sidebar","⌘, — Settings","⌘. — Dismiss notification"].join(`
|
|
275
|
-
`);window.alert(`Keyboard Shortcuts
|
|
276
|
-
|
|
277
|
-
`+x)},children:"?"})]})}),sidebar:i.jsx(xt,{sections:A,defaultSections:!1,activeId:e,onItemSelect:x=>{S(x),n(!1)}}),mobileMenuOpen:r,onMobileMenuClose:()=>n(!1),children:[i.jsx(u.Suspense,{fallback:i.jsx(Fc,{}),children:E}),i.jsx(Wc,{open:a,onOpenChange:c,onNavigate:S})]})}const Dn=document.getElementById("root");if(Dn===null)throw new Error("v8 mount target #root not found in DOM.");const Hc=gr(Dn);Hc.render(i.jsx(u.StrictMode,{children:i.jsx(co,{children:i.jsx(fo,{children:i.jsx(Bc,{})})})}));export{Kc as $,br as A,Je as B,xo as C,Er as D,Fr as E,zt as F,$r as G,ui as H,he as I,Br as J,jo as K,Be as L,Tr as M,jr as N,Pr as O,Vr as P,Or as Q,La as R,je as S,Hr as T,Dr as U,qr as V,Kr as W,Oo as X,Sr as Y,Ar as Z,Eo as _,Ke as a,Ir as a0,Cr as a1,wr as a2,_r as a3,Si as b,kr as c,j as d,xr as e,et as f,q as g,be as h,re as i,Rr as j,Nr as k,bo as l,Ra as m,kn as n,Ta as o,hn as p,Va as q,wo as r,ko as s,Ln as t,ie as u,Vn as v,Wr as w,Gr as x,wt as y,zr as z};
|