clawmini 0.0.7 → 0.0.9
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/.changeset/README.md +8 -0
- package/.changeset/config.json +14 -0
- package/.github/workflows/release.yml +49 -0
- package/CHANGELOG.md +36 -0
- package/README.md +5 -4
- package/dist/adapter-discord/index.d.mts.map +1 -1
- package/dist/adapter-discord/index.mjs +465 -282
- package/dist/adapter-discord/index.mjs.map +1 -1
- package/dist/adapter-google-chat/index.mjs +367 -243
- package/dist/adapter-google-chat/index.mjs.map +1 -1
- package/dist/cli/index.mjs +684 -24
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lite.mjs +43 -13
- package/dist/cli/lite.mjs.map +1 -1
- package/dist/cli/{propose-policy.mjs → manage-policies.mjs} +270 -47
- package/dist/cli/manage-policies.mjs.map +1 -0
- package/dist/cli/run-host.d.mts +1 -0
- package/dist/cli/run-host.mjs +3090 -0
- package/dist/cli/run-host.mjs.map +1 -0
- package/dist/config-CPFQIGdG.mjs +57 -0
- package/dist/config-CPFQIGdG.mjs.map +1 -0
- package/dist/config-Dvl-Pov4.mjs +76 -0
- package/dist/config-Dvl-Pov4.mjs.map +1 -0
- package/dist/daemon/index.d.mts.map +1 -1
- package/dist/daemon/index.mjs +970 -332
- package/dist/daemon/index.mjs.map +1 -1
- package/dist/supervisor-actions-CiW56eLi.mjs +843 -0
- package/dist/supervisor-actions-CiW56eLi.mjs.map +1 -0
- package/dist/turn-log-buffer-DRgW53gl.mjs +767 -0
- package/dist/turn-log-buffer-DRgW53gl.mjs.map +1 -0
- package/dist/web/_app/immutable/chunks/{Drm9vgeP.js → 3AZlWB6U.js} +1 -1
- package/dist/web/_app/immutable/chunks/BhRSsUCh.js +2 -0
- package/dist/web/_app/immutable/chunks/BiLeM2i1.js +1 -0
- package/{web/.svelte-kit/output/client/_app/immutable/chunks/CME08kGM.js → dist/web/_app/immutable/chunks/BmBj85Ll.js} +1 -1
- package/dist/web/_app/immutable/chunks/BrERcKAH.js +1 -0
- package/dist/web/_app/immutable/chunks/Bv9252RM.js +1 -0
- package/dist/web/_app/immutable/chunks/CIXNBPKi.js +1 -0
- package/dist/web/_app/immutable/chunks/DISKL3GN.js +2 -0
- package/dist/web/_app/immutable/chunks/{Zeh-C-mx.js → DcpaLzmX.js} +1 -1
- package/dist/web/_app/immutable/chunks/DnQ3vS13.js +1 -0
- package/dist/web/_app/immutable/chunks/KsloHTKS.js +1 -0
- package/{web/.svelte-kit/output/client/_app/immutable/chunks/Ck-be5J2.js → dist/web/_app/immutable/chunks/RsHsUj-8.js} +2 -2
- package/dist/web/_app/immutable/chunks/{G_zz-Gou.js → wpfV79dV.js} +1 -1
- package/dist/web/_app/immutable/entry/app.CIw1Qj0n.js +2 -0
- package/dist/web/_app/immutable/entry/start.Di0-Jhte.js +1 -0
- package/dist/web/_app/immutable/nodes/{0.CYS8iApT.js → 0.DYyUA1au.js} +1 -1
- package/dist/web/_app/immutable/nodes/1.D-3QEMMZ.js +1 -0
- package/dist/web/_app/immutable/nodes/{2.BnwnD1Ki.js → 2.4olHnH7U.js} +1 -1
- package/{web/.svelte-kit/output/client/_app/immutable/nodes/3.Dr0ot9sV.js → dist/web/_app/immutable/nodes/3.4w0bE-m2.js} +3 -3
- package/dist/web/_app/immutable/nodes/4.CZvjhVHt.js +60 -0
- package/dist/web/_app/immutable/nodes/{5.BBGQ_i84.js → 5.DLbPVJY2.js} +1 -1
- package/dist/web/_app/version.json +1 -1
- package/dist/web/index.html +12 -12
- package/dist/workspace-oWmVh5mi.mjs +1001 -0
- package/dist/workspace-oWmVh5mi.mjs.map +1 -0
- package/docs/23_adapter_slash_autocomplete/development_log.md +19 -0
- package/docs/23_adapter_slash_autocomplete/notes.md +18 -0
- package/docs/23_adapter_slash_autocomplete/prd.md +46 -0
- package/docs/23_adapter_slash_autocomplete/questions.md +6 -0
- package/docs/23_adapter_slash_autocomplete/tickets.md +21 -0
- package/docs/24_subagent_job_policy_fixes/development_log.md +22 -0
- package/docs/24_subagent_job_policy_fixes/notes.md +28 -0
- package/docs/24_subagent_job_policy_fixes/prd.md +59 -0
- package/docs/24_subagent_job_policy_fixes/questions.md +3 -0
- package/docs/24_subagent_job_policy_fixes/tickets.md +49 -0
- package/docs/25_e2e_test_improvements/development_log.md +30 -0
- package/docs/25_e2e_test_improvements/notes.md +29 -0
- package/docs/25_e2e_test_improvements/prd.md +43 -0
- package/docs/25_e2e_test_improvements/questions.md +12 -0
- package/docs/25_e2e_test_improvements/tickets-2.md +22 -0
- package/docs/25_e2e_test_improvements/tickets.md +22 -0
- package/docs/25_policy_cwd/development_log.md +30 -0
- package/docs/25_policy_cwd/notes.md +28 -0
- package/docs/25_policy_cwd/prd.md +77 -0
- package/docs/25_policy_cwd/questions.md +6 -0
- package/docs/25_policy_cwd/tickets.md +77 -0
- package/docs/CLI_REFERENCE.md +3 -1
- package/docs/PHILOSOPHY.md +35 -0
- package/docs/adapter-visibility/SPEC.md +461 -0
- package/docs/adapter-visibility/SPEC_v2.md +202 -0
- package/docs/auto-update/SPEC.md +344 -0
- package/docs/backups/SPEC.md +296 -0
- package/docs/backups/clawmini.gitignore +69 -0
- package/docs/guides/assets/clawmini-avatar.png +0 -0
- package/docs/guides/backups.md +332 -0
- package/docs/guides/discord_adapter_setup.md +1 -1
- package/docs/guides/google_chat_adapter_setup.md +81 -0
- package/docs/unified-startup/SPEC.md +203 -0
- package/e2e/_helpers/test-environment.test.ts +49 -0
- package/e2e/_helpers/test-environment.ts +548 -0
- package/e2e/adapters/_google-chat-fixtures.ts +340 -0
- package/{src/cli/e2e → e2e/adapters}/adapter-discord.test.ts +22 -23
- package/e2e/adapters/adapter-google-chat-downtime.test.ts +157 -0
- package/e2e/adapters/adapter-google-chat-inbound.test.ts +697 -0
- package/e2e/adapters/adapter-google-chat-outbound.test.ts +297 -0
- package/e2e/adapters/adapter-google-chat-roundtrip.test.ts +56 -0
- package/e2e/adapters/adapter-google-chat-threads.test.ts +1078 -0
- package/e2e/agents/custom-api-env.test.ts +80 -0
- package/e2e/agents/export-lite-func.test.ts +104 -0
- package/e2e/agents/fallbacks.test.ts +124 -0
- package/e2e/agents/interrupt.test.ts +50 -0
- package/e2e/agents/no-reply-necessary.test.ts +57 -0
- package/e2e/agents/session-timeout-subagents.test.ts +76 -0
- package/e2e/agents/subagent-authorization.test.ts +246 -0
- package/e2e/agents/subagent-env.test.ts +49 -0
- package/e2e/agents/subagent-lifecycle.test.ts +782 -0
- package/e2e/agents/subagents-depth.test.ts +47 -0
- package/e2e/cli/agents.test.ts +176 -0
- package/e2e/cli/auto-update.test.ts +741 -0
- package/e2e/cli/basic.test.ts +44 -0
- package/{src/cli/e2e → e2e/cli}/export-lite.test.ts +16 -12
- package/e2e/cli/init-gitignore.test.ts +86 -0
- package/e2e/cli/init.test.ts +76 -0
- package/e2e/cli/messages.test.ts +363 -0
- package/e2e/cli/serve.test.ts +76 -0
- package/{src/cli/e2e → e2e/cli}/skills.test.ts +11 -10
- package/{src/cli/e2e → e2e/daemon}/daemon.test.ts +57 -195
- package/e2e/jobs/agent-jobs.test.ts +216 -0
- package/e2e/jobs/cron.test.ts +64 -0
- package/e2e/jobs/restart.test.ts +108 -0
- package/e2e/policies/approval-session.test.ts +69 -0
- package/e2e/policies/auto-create-policies-file.test.ts +35 -0
- package/e2e/policies/builtin-manage-policies.test.ts +184 -0
- package/e2e/policies/builtin-run-host.test.ts +180 -0
- package/e2e/policies/environment-policies.test.ts +177 -0
- package/e2e/policies/manage-policies.test.ts +566 -0
- package/e2e/policies/output-size.test.ts +98 -0
- package/e2e/policies/policies-context-cwd.test.ts +160 -0
- package/e2e/policies/relative-script-path.test.ts +60 -0
- package/e2e/policies/requests-show.test.ts +135 -0
- package/e2e/policies/requests.test.ts +208 -0
- package/e2e/policies/slash-policies.test.ts +308 -0
- package/e2e/policies/startup-cleanup.test.ts +48 -0
- package/e2e/routers/session-timeout.test.ts +106 -0
- package/e2e/routers/slash-model.test.ts +152 -0
- package/e2e/routers/slash-new.test.ts +50 -0
- package/e2e/routers/slash-restart-adapter.test.ts +96 -0
- package/e2e/routers/slash-restart.test.ts +114 -0
- package/e2e/routers/slash-shutdown.test.ts +55 -0
- package/e2e/routers/slash-stop.test.ts +232 -0
- package/e2e/routers/slash-upgrade.test.ts +88 -0
- package/{src/cli/e2e → e2e/sandbox}/environments.test.ts +14 -13
- package/eslint.config.js +6 -0
- package/napkin.md +1 -1
- package/package.json +8 -3
- package/src/adapter-discord/commands.test.ts +42 -0
- package/src/adapter-discord/commands.ts +33 -0
- package/src/adapter-discord/config.ts +12 -0
- package/src/adapter-discord/forwarder.test.ts +499 -21
- package/src/adapter-discord/forwarder.ts +343 -124
- package/src/adapter-discord/inbound-cache.test.ts +47 -0
- package/src/adapter-discord/inbound-cache.ts +37 -0
- package/src/adapter-discord/index.test.ts +67 -2
- package/src/adapter-discord/index.ts +84 -216
- package/src/adapter-discord/interactions.test.ts +54 -3
- package/src/adapter-discord/interactions.ts +97 -53
- package/src/adapter-discord/processMessage.ts +239 -0
- package/src/adapter-discord/state.ts +1 -0
- package/src/adapter-google-chat/auth.test.ts +9 -5
- package/src/adapter-google-chat/auth.ts +29 -23
- package/src/adapter-google-chat/cards.ts +7 -2
- package/src/adapter-google-chat/client.test.ts +37 -2
- package/src/adapter-google-chat/client.ts +138 -38
- package/src/adapter-google-chat/config.ts +19 -0
- package/src/adapter-google-chat/forwarder.test.ts +81 -56
- package/src/adapter-google-chat/forwarder.ts +394 -185
- package/src/adapter-google-chat/inbound-cache.test.ts +61 -0
- package/src/adapter-google-chat/inbound-cache.ts +36 -0
- package/src/adapter-google-chat/state.test.ts +1 -0
- package/src/adapter-google-chat/state.ts +9 -1
- package/src/adapter-google-chat/subscriptions.ts +8 -6
- package/src/cli/builtin-policies.ts +44 -0
- package/src/cli/commands/agents.ts +59 -5
- package/src/cli/commands/down.ts +54 -2
- package/src/cli/commands/environments.ts +8 -2
- package/src/cli/commands/init.ts +31 -0
- package/src/cli/commands/logs.ts +116 -0
- package/src/cli/commands/policies.ts +6 -4
- package/src/cli/commands/serve.test.ts +67 -0
- package/src/cli/commands/serve.ts +284 -0
- package/src/cli/commands/up.ts +122 -2
- package/src/cli/commands/web-api/agents.ts +3 -2
- package/src/cli/index.ts +4 -0
- package/src/cli/install-detection.test.ts +72 -0
- package/src/cli/install-detection.ts +48 -0
- package/src/cli/lite.ts +54 -22
- package/src/cli/manage-policies-utils.ts +104 -0
- package/src/cli/manage-policies.ts +291 -0
- package/src/cli/run-host.ts +45 -0
- package/src/cli/supervisor-actions.ts +267 -0
- package/src/cli/supervisor-control.test.ts +129 -0
- package/src/cli/supervisor-control.ts +155 -0
- package/src/cli/supervisor-pid.ts +68 -0
- package/src/cli/supervisor.ts +277 -0
- package/src/daemon/agent/agent-context.ts +11 -11
- package/src/daemon/agent/agent-session.ts +8 -1
- package/src/daemon/agent/chat-logger.test.ts +78 -9
- package/src/daemon/agent/chat-logger.ts +25 -5
- package/src/daemon/agent/turn-registry.test.ts +89 -0
- package/src/daemon/agent/turn-registry.ts +94 -0
- package/src/daemon/agent/types.ts +2 -0
- package/src/daemon/api/agent-policy-endpoints.ts +263 -0
- package/src/daemon/api/agent-router.ts +47 -126
- package/src/daemon/api/index.test.ts +1 -0
- package/src/daemon/api/policy-request.test.ts +7 -5
- package/src/daemon/api/router-utils.ts +6 -5
- package/src/daemon/api/subagent-router.ts +110 -74
- package/src/daemon/api/subagent-utils.test.ts +60 -0
- package/src/daemon/api/subagent-utils.ts +113 -87
- package/src/daemon/api/user-router.ts +34 -8
- package/src/daemon/auth.ts +1 -0
- package/src/daemon/cron.test.ts +62 -4
- package/src/daemon/cron.ts +42 -16
- package/src/daemon/events.ts +65 -0
- package/src/daemon/index.ts +24 -1
- package/src/daemon/message-interruption.test.ts +1 -0
- package/src/daemon/message-jobs.test.ts +1 -0
- package/src/daemon/message.ts +78 -14
- package/src/daemon/observation.test.ts +26 -18
- package/src/daemon/pending-replies.test.ts +112 -0
- package/src/daemon/pending-replies.ts +162 -0
- package/src/daemon/policy-request-service.ts +3 -1
- package/src/daemon/policy-utils.test.ts +66 -1
- package/src/daemon/policy-utils.ts +126 -1
- package/src/daemon/request-store.ts +31 -0
- package/src/daemon/routers/session-timeout.ts +4 -0
- package/src/daemon/routers/slash-model.test.ts +344 -0
- package/src/daemon/routers/slash-model.ts +207 -0
- package/src/daemon/routers/slash-policies.test.ts +38 -32
- package/src/daemon/routers/slash-policies.ts +84 -33
- package/src/daemon/routers/slash-restart.test.ts +69 -0
- package/src/daemon/routers/slash-restart.ts +36 -0
- package/src/daemon/routers/slash-shutdown.test.ts +50 -0
- package/src/daemon/routers/slash-shutdown.ts +28 -0
- package/src/daemon/routers/slash-upgrade.test.ts +116 -0
- package/src/daemon/routers/slash-upgrade.ts +76 -0
- package/src/daemon/routers/types.ts +7 -0
- package/src/daemon/routers.ts +16 -0
- package/src/shared/adapters/blockquote.test.ts +28 -0
- package/src/shared/adapters/blockquote.ts +20 -0
- package/src/shared/adapters/filtering.test.ts +224 -10
- package/src/shared/adapters/filtering.ts +95 -7
- package/src/shared/adapters/inbound-cache.test.ts +48 -0
- package/src/shared/adapters/inbound-cache.ts +54 -0
- package/src/shared/adapters/turn-log-buffer.ts +266 -0
- package/src/shared/adapters/turn-log.test.ts +389 -0
- package/src/shared/adapters/turn-log.ts +357 -0
- package/src/shared/agent-utils.ts +12 -5
- package/src/shared/chats.test.ts +4 -0
- package/src/shared/chats.ts +9 -0
- package/src/shared/config.ts +16 -1
- package/src/shared/lite.ts +76 -2
- package/src/shared/policies.ts +26 -0
- package/src/shared/template-manifest.ts +267 -0
- package/src/shared/utils/shell.ts +61 -0
- package/src/shared/version.ts +34 -0
- package/src/shared/workspace.test.ts +217 -0
- package/src/shared/workspace.ts +626 -48
- package/templates/environments/cladding/allowlist-domain.mjs +125 -0
- package/templates/environments/cladding/env.json +21 -1
- package/templates/environments/cladding/run-with-network.mjs +54 -0
- package/templates/environments/macos-proxy/allowlist-domain.mjs +95 -0
- package/templates/environments/macos-proxy/env.json +8 -1
- package/templates/environments/macos-proxy/proxy.mjs +42 -13
- package/templates/gemini/template.json +5 -0
- package/templates/gemini-claw/template.json +13 -0
- package/templates/skills/clawmini-requests/SKILL.md +69 -10
- package/templates/skills/run-host/SKILL.md +51 -0
- package/templates/skills/skill-creator/SKILL.md +4 -3
- package/templates/skills/skill-creator/scripts/validate.sh +52 -0
- package/tsdown.config.ts +10 -1
- package/vitest.config.ts +2 -2
- package/web/.svelte-kit/ambient.d.ts +292 -176
- package/web/.svelte-kit/generated/server/internal.js +1 -1
- package/web/.svelte-kit/output/client/.vite/manifest.json +127 -137
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{Drm9vgeP.js → 3AZlWB6U.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BhRSsUCh.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BiLeM2i1.js +1 -0
- package/{dist/web/_app/immutable/chunks/CME08kGM.js → web/.svelte-kit/output/client/_app/immutable/chunks/BmBj85Ll.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BrERcKAH.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Bv9252RM.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CIXNBPKi.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DISKL3GN.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{Zeh-C-mx.js → DcpaLzmX.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DnQ3vS13.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/KsloHTKS.js +1 -0
- package/{dist/web/_app/immutable/chunks/Ck-be5J2.js → web/.svelte-kit/output/client/_app/immutable/chunks/RsHsUj-8.js} +2 -2
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{G_zz-Gou.js → wpfV79dV.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/entry/app.CIw1Qj0n.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.Di0-Jhte.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{0.CYS8iApT.js → 0.DYyUA1au.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/1.D-3QEMMZ.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.BnwnD1Ki.js → 2.4olHnH7U.js} +1 -1
- package/{dist/web/_app/immutable/nodes/3.Dr0ot9sV.js → web/.svelte-kit/output/client/_app/immutable/nodes/3.4w0bE-m2.js} +3 -3
- package/web/.svelte-kit/output/client/_app/immutable/nodes/4.CZvjhVHt.js +60 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{5.BBGQ_i84.js → 5.DLbPVJY2.js} +1 -1
- package/web/.svelte-kit/output/client/_app/version.json +1 -1
- package/web/.svelte-kit/output/server/.vite/manifest.json +12 -10
- package/web/.svelte-kit/output/server/chunks/Icon.js +1 -1
- package/web/.svelte-kit/output/server/chunks/client.js +1 -1
- package/web/.svelte-kit/output/server/chunks/exports.js +1 -1
- package/web/.svelte-kit/output/server/chunks/index-server.js +2 -1
- package/web/.svelte-kit/output/server/chunks/internal.js +1 -1
- package/web/.svelte-kit/output/server/chunks/render-context.js +77 -0
- package/web/.svelte-kit/output/server/chunks/root.js +739 -788
- package/web/.svelte-kit/output/server/chunks/shared.js +234 -21
- package/web/.svelte-kit/output/server/index.js +126 -90
- package/web/.svelte-kit/output/server/manifest-full.js +1 -1
- package/web/.svelte-kit/output/server/manifest.js +1 -1
- package/web/.svelte-kit/output/server/nodes/0.js +1 -1
- package/web/.svelte-kit/output/server/nodes/1.js +1 -1
- package/web/.svelte-kit/output/server/nodes/2.js +1 -1
- package/web/.svelte-kit/output/server/nodes/3.js +1 -1
- package/web/.svelte-kit/output/server/nodes/4.js +1 -1
- package/web/.svelte-kit/output/server/nodes/5.js +1 -1
- package/web/.svelte-kit/output/server/remote-entry.js +245 -81
- package/web/.svelte-kit/tsconfig.json +4 -1
- package/dist/cli/propose-policy.mjs.map +0 -1
- package/dist/lite-CBxOT1y5.mjs +0 -241
- package/dist/lite-CBxOT1y5.mjs.map +0 -1
- package/dist/routing-D8rTxtaV.mjs +0 -245
- package/dist/routing-D8rTxtaV.mjs.map +0 -1
- package/dist/web/_app/immutable/chunks/B6YN0Nuq.js +0 -1
- package/dist/web/_app/immutable/chunks/BmRlVmv6.js +0 -1
- package/dist/web/_app/immutable/chunks/CK9JZLaG.js +0 -2
- package/dist/web/_app/immutable/chunks/Ck3rYNON.js +0 -1
- package/dist/web/_app/immutable/chunks/DMtIqaiV.js +0 -2
- package/dist/web/_app/immutable/chunks/DhD271EB.js +0 -1
- package/dist/web/_app/immutable/chunks/DpuLqk8d.js +0 -1
- package/dist/web/_app/immutable/chunks/DsIToJCP.js +0 -1
- package/dist/web/_app/immutable/chunks/bBmtyQMj.js +0 -1
- package/dist/web/_app/immutable/entry/app.CJmSwntr.js +0 -2
- package/dist/web/_app/immutable/entry/start.ZpUrT2ak.js +0 -1
- package/dist/web/_app/immutable/nodes/1.Bli0Hqzn.js +0 -1
- package/dist/web/_app/immutable/nodes/4.oBhvQhcA.js +0 -60
- package/dist/workspace-BJmJBfKi.mjs +0 -456
- package/dist/workspace-BJmJBfKi.mjs.map +0 -1
- package/src/cli/e2e/agents.test.ts +0 -140
- package/src/cli/e2e/basic.test.ts +0 -43
- package/src/cli/e2e/cron.test.ts +0 -132
- package/src/cli/e2e/export-lite-func.test.ts +0 -206
- package/src/cli/e2e/fallbacks.test.ts +0 -175
- package/src/cli/e2e/init.test.ts +0 -77
- package/src/cli/e2e/messages.test.ts +0 -332
- package/src/cli/e2e/propose-policy.test.ts +0 -203
- package/src/cli/e2e/requests.test.ts +0 -180
- package/src/cli/e2e/session-timeout.test.ts +0 -192
- package/src/cli/e2e/slash-new.test.ts +0 -93
- package/src/cli/e2e/subagents.test.ts +0 -106
- package/src/cli/e2e/utils.ts +0 -66
- package/src/cli/propose-policy.ts +0 -91
- package/web/.svelte-kit/output/client/_app/immutable/chunks/B6YN0Nuq.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BmRlVmv6.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CK9JZLaG.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Ck3rYNON.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DMtIqaiV.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DhD271EB.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DpuLqk8d.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DsIToJCP.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/bBmtyQMj.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/entry/app.CJmSwntr.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.ZpUrT2ak.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/1.Bli0Hqzn.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/4.oBhvQhcA.js +0 -60
- package/web/.svelte-kit/output/server/chunks/false.js +0 -4
- /package/dist/cli/{propose-policy.d.mts → manage-policies.d.mts} +0 -0
- /package/{src/cli/e2e → e2e/_helpers}/global-setup.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{be as ye,bo as St,B as U,x as A,y as T,aK as oe,bp as Rt}from"./BmBj85Ll.js";import{o as Je}from"./BiLeM2i1.js";const V=[];function Pe(e,t=ye){let n=null;const r=new Set;function a(o){if(St(e,o)&&(e=o,n)){const l=!V.length;for(const c of r)c[1](),V.push(c,e);if(l){for(let c=0;c<V.length;c+=2)V[c][0](V[c+1]);V.length=0}}}function s(o){a(o(e))}function i(o,l=ye){const c=[o,l];return r.add(c),r.size===1&&(n=t(a,s)||ye),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:i}}class Ie{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Oe{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class $e extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function xt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Lt(e){return e.split("%25").map(decodeURI).join("%25")}function Ut(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function be({href:e}){return e.split("#")[0]}function At(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...d)=>(n(c),i[o](c,...d));t();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function P(){}function Tt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Pt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const It=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&J.delete(qe(e)),It(e,t));const J=new Map;function Ot(e,t){const n=qe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&J.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Pt(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function $t(e,t,n){if(J.size>0){const r=qe(e,n),a=J.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);J.delete(r)}}return window.fetch(t,n)}function qe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Tt(...a)}"]`}return r}const qt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Ct(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Nt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return ke(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return ke(String.fromCharCode(...l.slice(2).split("-").map(v=>parseInt(v,16))));const d=qt.exec(l),[,p,u,f,h]=d;return t.push({name:f,matcher:h,optional:!!p,rest:!!u,chained:u?c===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return ke(l)}).join("")}).join("")}/?$`),params:t}}function jt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Nt(e){return e.slice(1).split("/").filter(jt)}function Dt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const l=t[o];let c=a[o-i];if(l.chained&&l.rest&&i&&(c=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){r[l.name]=c;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&l.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return r}function ke(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Vt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[l,c,d]])=>{const{pattern:p,params:u}=Ct(o),f={id:o,exec:h=>{const v=p.exec(h);if(v)return Dt(v,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...c||[]].map(i),leaf:s(l)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const l=o<0;return l&&(o=~o),[l,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function nt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function We(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_10aquqa?.base??"",Bt=globalThis.__sveltekit_10aquqa?.assets??L??"",Kt="1777685418869",rt="sveltekit:snapshot",at="sveltekit:scroll",ot="sveltekit:states",Ht="sveltekit:pageurl",K="sveltekit:history",Y="sveltekit:navigation",N={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ge=location.origin;function Ce(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Ye={...N,"":N.hover};function st(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function it(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=st(e)}}function xe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||_e(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===ge&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function se(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=st(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Ye[r??"off"],preload_data:Ye[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(s),replace_state:l(i)}}function Xe(e){const t=Pe(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:r,set:a,subscribe:s}}const lt={v:P};function Mt(){const{set:e,subscribe:t}=Pe(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Bt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Kt;return i&&(e(!0),lt.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function _e(e,t,n){return e.origin!==ge||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function _n(e){}const ct=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ct];const Ft=new Set([...ct]);[...Ft];function Gt(e){return e.filter(t=>t!=null)}function je(e){return e instanceof Ie||e instanceof $e?e.status:500}function zt(e){return e instanceof $e?e.text:"Internal Error"}let b,X,Ee;const Jt=Je.toString().includes("$$")||/function \w+\(\) \{\}/.test(Je.toString()),Qe="a:";Jt?(b={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Qe)},X={current:null},Ee={current:!1}):(b=new class{#e=U({});get data(){return A(this.#e)}set data(t){T(this.#e,t)}#t=U(null);get form(){return A(this.#t)}set form(t){T(this.#t,t)}#n=U(null);get error(){return A(this.#n)}set error(t){T(this.#n,t)}#r=U({});get params(){return A(this.#r)}set params(t){T(this.#r,t)}#a=U({id:null});get route(){return A(this.#a)}set route(t){T(this.#a,t)}#o=U({});get state(){return A(this.#o)}set state(t){T(this.#o,t)}#s=U(-1);get status(){return A(this.#s)}set status(t){T(this.#s,t)}#i=U(new URL(Qe));get url(){return A(this.#i)}set url(t){T(this.#i,t)}},X=new class{#e=U(null);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},Ee=new class{#e=U(!1);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},lt.v=()=>Ee.current=!0);function ut(e){Object.assign(b,e)}const Ze={spanContext(){return Wt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Wt={traceId:"",spanId:"",traceFlags:0},Yt=new Set(["icon","shortcut icon","apple-touch-icon"]);let G=null;const j=nt(at)??{},Q=nt(rt)??{},C={url:Xe({}),page:Xe({}),navigating:Pe(null),updated:Mt()};function Ne(e){j[e]=D()}function Xt(e,t){let n=e+1;for(;j[n];)delete j[n],n+=1;for(n=t+1;Q[n];)delete Q[n],n+=1}function Z(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(P)}async function ft(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let De,Le,ie,I,Ue,w;const le=[],ce=[];let R=null;function ee(){R?.fork?.then(e=>e?.discard()),R=null}const ae=new Map,dt=new Set,Qt=new Set,W=new Set;let m={branch:[],error:null,url:null,nav:null},ht=!1,ue=!1,et=!0,te=!1,z=!1,pt=!1,me=!1,Ve,y,x,O;const fe=new Set;let Se;const de=new Map;async function yn(e,t,n){globalThis.__sveltekit_10aquqa&&(globalThis.__sveltekit_10aquqa.query,globalThis.__sveltekit_10aquqa.prerender),document.URL!==location.href&&(location.href=location.href),w=e,await e.hooks.init?.(),De=Vt(e),I=document.documentElement,Ue=t,Le=e.nodes[0],ie=e.nodes[1],Le(),ie(),y=history.state?.[K],x=history.state?.[Y],y||(y=x=Date.now(),history.replaceState({...history.state,[K]:y,[Y]:x},""));const r=j[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await un(Ue,n)):(await H({type:"enter",url:Ce(w.hash?hn(new URL(location.href)):location.href),replace_state:!0}),a()),cn()}async function Zt(e=!0,t=!0){if(await(Se||=Promise.resolve()),!Se)return;Se=null;const n=O={},r=await re(m.url,!0);if(ee(),me&&de.forEach(a=>{a.forEach(({resource:s})=>{s.refresh?.()})}),e){const a=b.state,s=r&&await Me(r);if(!s||n!==O)return;if(s.type==="redirect")return Be(new URL(s.location,m.url).href,{replaceState:!0},1,n);t||(s.props.page.state=a),ut(s.props.page),m={...s.state,nav:m.nav},Ae(),Ve.$set(s.props)}else Ae();await Promise.all([...de.values()].flatMap(a=>[...a.values()].map(({resource:s})=>s))).catch(P)}function Ae(){le.length=0,me=!1}function gt(e){ce.some(t=>t?.snapshot)&&(Q[e]=ce.map(t=>t?.snapshot?.capture()))}function _t(e){Q[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function tt(){Ne(y),We(at,j),gt(x),We(rt,Q)}async function Be(e,t,n,r){let a;t.invalidateAll&&ee(),await H({type:"goto",url:Ce(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(me=!0,a=[],de.forEach((s,i)=>{for(const o of s.keys())a.push(i+"/"+o)})),t.invalidate&&t.invalidate.forEach(bt)}}),t.invalidateAll&&oe().then(oe).then(()=>{de.forEach((s,i)=>{s.forEach(({resource:o},l)=>{a?.includes(i+"/"+l)&&o.refresh?.()})})})}async function en(e){if(e.id!==R?.id){ee();const t={};fe.add(t),R={id:e.id,token:t,promise:Me({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&ee(),n)),fork:null}}return R.promise}async function Re(e){const t=(await re(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function mt(e,t,n){const r={params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)};m={...e.state,nav:r};const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(b,e.props.page),Ve=new w.root({target:t,props:{...e.props,stores:C,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),_t(x),n){const s={from:null,to:{...r,scroll:j[y]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};W.forEach(i=>i(s))}ue=!0}async function he({url:e,params:t,branch:n,errors:r,status:a,error:s,route:i,form:o}){let l="never";if(L&&(e.pathname===L||e.pathname===L+"/"))l="always";else for(const h of n)h?.slash!==void 0&&(l=h.slash);e.pathname=xt(e.pathname,l),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:s,route:i},props:{constructors:Gt(n).map(h=>h.node.component),page:ze(b)}};o!==void 0&&(c.props.form=o);let d={},p=!b,u=0;for(let h=0;h<Math.max(n.length,m.branch.length);h+=1){const v=n[h],_=m.branch[h];v?.data!==_?.data&&(p=!0),v&&(d={...d,...v.data},p&&(c.props[`data_${u}`]=d),u+=1)}return(!m.url||e.href!==m.url.href||m.error!==s||o!==void 0&&o!==b.form||p)&&(c.props.page={error:s,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?d:b.data}),c}async function Ke({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(c.universal?.load){let d=function(...u){for(const f of u){const{href:h}=new URL(f,n);l.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Ze,current:Ze},route:new Proxy(a,{get:(u,f)=>(o&&(l.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&l.params.add(f),u[f])}),data:s?.data??null,url:At(n,()=>{o&&(l.url=!0)},u=>{o&&l.search_params.add(u)},w.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:h,promise:v}=vt(u,f,n);return o&&d(h.href),v},setHeaders:P,depends:d,parent(){return o&&(l.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await c.universal.load.call(null,p)??null}return{node:c,loader:e,server:s,universal:c.universal?.load?{type:"data",data:i,uses:l}:null,data:i??s?.data??null,slash:c.universal?.trailingSlash??s?.slash}}function vt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=ue?$t(r,a.href,t):Ot(r,t);return{resolved:a,promise:s}}function tn(e,t,n,r,a,s){if(me)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==m.params[i])return!0;for(const i of a.dependencies)if(le.some(o=>o(new URL(i))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function nn(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function rn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:ze(b),constructors:[]}}}async function Me({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(R?.id===e)return fe.delete(R.token),R.promise;const{errors:i,layouts:o,leaf:l}=a,c=[...o,l];i.forEach(_=>_?.().catch(P)),c.forEach(_=>_?.[1]().catch(P));const d=m.url?e!==pe(m.url):!1,p=m.route?a.id!==m.route.id:!1,u=nn(m.url,n);let f=!1;const h=c.map(async(_,g)=>{if(!_)return;const k=m.branch[g];return _[1]===k?.loader&&!tn(f,p,d,u,k.universal?.uses,r)?k:(f=!0,Ke({loader:_[1],url:n,params:r,route:a,parent:async()=>{const $={};for(let q=0;q<g;q+=1)Object.assign($,(await h[q])?.data);return $},server_data_node:He(_[0]?{type:"skip"}:null,_[0]?k?.server:void 0)}))});for(const _ of h)_.catch(P);const v=[];for(let _=0;_<c.length;_+=1)if(c[_])try{v.push(await h[_])}catch(g){if(g instanceof Oe)return{type:"redirect",location:g.location};if(fe.has(s))return rn({error:await ne(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let k=je(g),S;if(g instanceof Ie)S=g.body;else{if(await C.updated.check())return await ft(),await Z(n);S=await ne(g,{params:r,url:n,route:{id:a.id}})}const $=await an(_,v,i);return $?he({url:n,params:r,branch:v.slice(0,$.idx).concat($.node),errors:i,status:k,error:S,route:a}):await yt(n,{id:a.id},S,k)}else v.push(void 0);return he({url:n,params:r,branch:v,errors:i,status:200,error:null,route:a,form:t?void 0:null})}async function an(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Fe({status:e,error:t,url:n,route:r}){const a={};let s=null;try{const i=await Ke({loader:Le,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:He(s)}),o={node:await ie(),loader:ie,universal:null,server:null,data:null};return he({url:n,params:a,branch:[i,o],status:e,error:t,errors:[],route:null})}catch(i){if(i instanceof Oe)return Be(new URL(i.location,location.href),{},0);throw i}}async function on(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await w.hooks.reroute({url:new URL(e),fetch:async(s,i)=>vt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);w.hash?s.hash=a:s.pathname=a,a=s}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function re(e,t){if(e&&!_e(e,L,w.hash)){const n=await on(e);if(!n)return;const r=sn(n);for(const a of De){const s=a.exec(r);if(s)return{id:pe(e),invalidating:t,route:a,params:Ut(s),url:e}}}}function sn(e){return Lt(w.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function pe(e){return(w.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function wt({url:e,type:t,intent:n,delta:r,event:a,scroll:s}){let i=!1;const o=Ge(m,n,e,t,s??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return te||dt.forEach(c=>c(l)),i?null:o}async function H({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=P,block:d=P,event:p}){const u=O;O=l;const f=await re(t,!1),h=e==="enter"?Ge(m,f,t,e):wt({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,event:p});if(!h){d(),O===l&&(O=u);return}const v=y,_=x;c(),te=!0,ue&&h.navigation.type!=="enter"&&C.navigating.set(X.current=h.navigation);let g=f&&await Me(f);if(!g){if(_e(t,L,w.hash))return await Z(t,s);g=await yt(t,{id:null},await ne(new $e(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=f?.url||t,O!==l)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await H({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),h.fulfil(void 0);return}g=await Fe({status:500,error:await ne(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await C.updated.check()&&(await ft(),await Z(t,s));if(Ae(),Ne(v),gt(_),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,M={[K]:y+=E,[Y]:x+=E,[ot]:i};(s?history.replaceState:history.pushState).call(history,M,"",t),s||Xt(y,x)}const k=f&&R?.id===f.id?R.fork:null;R?.fork&&!k&&ee(),R=null,g.props.page.state=i;let S;if(ue){const E=(await Promise.all(Array.from(Qt,F=>F(h.navigation)))).filter(F=>typeof F=="function");if(E.length>0){let F=function(){E.forEach(we=>{W.delete(we)})};E.push(F),E.forEach(we=>{W.add(we)})}const M=h.navigation.to;m={...g.state,nav:{params:M.params,route:M.route,url:M.url}},g.props.page&&(g.props.page.url=t);const ve=k&&await k;ve?S=ve.commit():(G=null,Ve.$set(g.props),G&&Object.assign(g.props.page,G),ut(g.props.page),S=Rt?.()),pt=!0}else await mt(g,Ue,!1);const{activeElement:$}=document;await S,await oe(),await oe();let q=null;if(et){const E=n?n.scroll:a?D():null;E?scrollTo(E.x,E.y):(q=t.hash&&document.getElementById(kt(t)))?q.scrollIntoView():scrollTo(0,0)}const Et=document.activeElement!==$&&document.activeElement!==document.body;!r&&!Et&&dn(t,!q),et=!0,g.props.page&&(G&&Object.assign(g.props.page,G),Object.assign(b,g.props.page)),te=!1,e==="popstate"&&_t(x),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=D()),W.forEach(E=>E(h.navigation)),C.navigating.set(X.current=null)}async function yt(e,t,n,r,a){return e.origin===ge&&e.pathname===location.pathname&&!ht?await Fe({status:r,error:n,url:e,route:t}):await Z(e,a)}function ln(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(e),e=setTimeout(()=>{s(l,N.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],N.tap)}I.addEventListener("mousedown",r),I.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(Re(new URL(l.target.href)),a.unobserve(l.target))},{threshold:0});async function s(o,l){const c=it(o,I),d=c===t.element&&c?.href===t.href&&l>=n;if(!c||d)return;const{url:p,external:u,download:f}=xe(c,L,w.hash);if(u||f)return;const h=se(c),v=p&&pe(m.url)===pe(p);if(!(h.reload||v))if(l<=h.preload_data){t={element:c,href:c.href},n=N.tap;const _=await re(p,!1);if(!_)return;en(_)}else l<=h.preload_code&&(t={element:c,href:c.href},n=l,Re(p))}function i(){a.disconnect();for(const o of I.querySelectorAll("a")){const{url:l,external:c,download:d}=xe(o,L,w.hash);if(c||d)continue;const p=se(o);p.reload||(p.preload_code===N.viewport&&a.observe(o),p.preload_code===N.eager&&Re(l))}}W.add(i),i()}function ne(e,t){if(e instanceof Ie)return e.body;const n=je(e),r=zt(e);return w.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function bn(e,t={}){return e=new URL(Ce(e)),e.origin!==ge?Promise.reject(new Error("goto: invalid URL")):Be(e,t,0)}function kn(e){return bt(e),Zt()}function bt(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(n=>n.href===t)}}function cn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(tt(),!te){const r=Ge(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};dt.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&tt()}),navigator.connection?.saveData||ln(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=it(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:s,download:i}=xe(n,L,w.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=se(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[c,d]=(w.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=c===be(location);if(a||o.reload&&(!p||!d)){wt({url:r,type:"link",event:t})?te=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=m.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(z=!0,Ne(y),e(r),!o.replace_state)return;z=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await H({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(_e(i,L,!1))return;const o=t.target,l=se(o);if(l.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(o,r);i.search=new URLSearchParams(c).toString(),H({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Te){if(t.state?.[K]){const n=t.state[K];if(O={},n===y)return;const r=j[n],a=t.state[ot]??{},s=new URL(t.state[Ht]??location.href),i=t.state[Y],o=m.url?be(location)===be(m.url):!1;if(i===x&&(pt||o)){a!==b.state&&(b.state=a),e(s),j[y]=D(),r&&scrollTo(r.x,r.y),y=n;return}const c=n-y;await H({type:"popstate",url:s,popped:{state:a,scroll:r,delta:c},accept:()=>{y=n,x=i},block:()=>{history.go(-c)},nav_token:O,event:t})}else if(!z){const n=new URL(location.href);e(n),w.hash&&location.reload()}}}),addEventListener("hashchange",()=>{z&&(z=!1,history.replaceState({...history.state,[K]:++y,[Y]:x},"",location.href))});for(const t of document.querySelectorAll("link"))Yt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&C.navigating.set(X.current=null)});function e(t){m.url=b.url=t,C.page.set(ze(b)),C.page.notify()}}async function un(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:l}){ht=!0;const c=new URL(location.href);let d;({params:a={},route:s={id:null}}=await re(c,!1)||{}),d=De.find(({id:f})=>f===s.id);let p,u=!0;try{const f=r.map(async(v,_)=>{const g=o[_];return g?.uses&&(g.uses=fn(g.uses)),Ke({loader:w.nodes[v],url:c,params:a,route:s,parent:async()=>{const k={};for(let S=0;S<_;S+=1)Object.assign(k,(await f[S]).data);return k},server_data_node:He(g)})}),h=await Promise.all(f);if(d){const v=d.layouts;for(let _=0;_<v.length;_++)v[_]||h.splice(_,0,void 0)}p=await he({url:c,params:a,branch:h,status:t,error:n,errors:d?.errors,form:l,route:d??null})}catch(f){if(f instanceof Oe){await Z(new URL(f.location,location.href));return}p=await Fe({status:je(f),error:await ne(f,{url:c,params:a,route:s}),url:c,route:s}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),await mt(p,e,u)}function fn(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Te=!1;function dn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=kt(e);if(r&&document.getElementById(r)){const{x:s,y:i}=D();setTimeout(()=>{const o=history.state;Te=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(s,i),Te=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let i=0;i<a.rangeCount;i+=1)s.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===s.length){for(let i=0;i<a.rangeCount;i+=1){const o=s[i],l=a.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}a.removeAllRanges()}})}}}function Ge(e,t,n,r,a=null){let s,i;const o=new Promise((c,d)=>{s=c,i=d});return o.catch(P),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:s,reject:i}}function ze(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function hn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function kt(e){let t;if(w.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{yn as a,bn as g,kn as i,_n as l,b as p,C as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v as a}from"./BmBj85Ll.js";a();
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{D as Me,b as $e,aO as Nr,h as O,i as fe,G as Ir,d as Ee,x as oe,e as vt,ai as yt,g as ir,j as le,k as ie,M as kt,aF as wt,aq as lr,S as $,aP as J,Q as ke,aQ as xt,V as _t,a8 as At,aR as Vr,aE as er,aS as Ct,aT as St,aI as Tt,a3 as cr,aU as zt,a2 as Mt,N as Pr,P as Or,aV as We,ag as Rr,aW as Et,aX as Nt,aC as It,U as Vt,O as Ne,az as Pt,E as Gr,aY as Ot,C as Rt,aM as Gt,F as Lt,av as Lr,aZ as Fr,W as rr,a_ as Ft,a$ as Wt,b0 as tr,b1 as Bt,b2 as jt,b3 as Le,b4 as Dt,b5 as Ut,b6 as qt,b7 as Ht,b8 as Yt,b9 as Kt,ba as Xt,aK as Jt,q as Ie,X as Wr,n as Qt,aJ as Zt,u as dr,bb as fr,bc as $t,bd as ae,a7 as eo,p as Br,f as jr,a as Dr,c as He,be as ur,r as Ye,s as ro,A as to,bf as oo}from"./BmBj85Ll.js";import{b as so,c as Ur,a as ve,f as qr,d as no}from"./BrERcKAH.js";import{B as Hr,p as K,i as ao,b as mr,r as io,l as pr}from"./KsloHTKS.js";import"./CIXNBPKi.js";import{i as lo,b as co,a as fo,d as uo,c as mo,n as po,f as go}from"./BhRSsUCh.js";function bo(e,r){return r}function ho(e,r,t){for(var o=[],n=r.length,s,a=r.length,l=0;l<n;l++){let v=r[l];Or(v,()=>{if(s){if(s.pending.delete(v),s.done.add(v),s.pending.size===0){var f=e.outrogroups;Ke(e,er(s.done)),f.delete(s),f.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var i=o.length===0&&t!==null;if(i){var c=t,d=c.parentNode;It(d),d.append(c),e.items.clear()}Ke(e,r,!i)}else s={pending:new Set(r),done:new Set},(e.outrogroups??=new Set).add(s)}function Ke(e,r,t=!0){var o;if(e.pending.size>0){o=new Set;for(const a of e.pending.values())for(const l of a)o.add(e.items.get(l).e)}for(var n=0;n<r.length;n++){var s=r[n];if(o?.has(s)){s.f|=J;const a=document.createDocumentFragment();Vt(s,a)}else Ne(r[n],t)}}var gr;function vo(e,r,t,o,n,s=null){var a=e,l=new Map,i=(r&Nr)!==0;if(i){var c=e;a=O?fe(Ir(c)):c.appendChild(Me())}O&&Ee();var d=null,v=At(()=>{var A=t();return Vr(A)?A:A==null?[]:er(A)}),f,h=new Map,_=!0;function k(A){(V.effect.f&Mt)===0&&(V.pending.delete(A),V.fallback=d,yo(V,f,a,r,o),d!==null&&(f.length===0?(d.f&J)===0?Pr(d):(d.f^=J,be(d,null,a)):Or(d,()=>{d=null})))}function u(A){V.pending.delete(A)}var y=$e(()=>{f=oe(v);var A=f.length;let T=!1;if(O){var R=vt(a)===yt;R!==(A===0)&&(a=ir(),fe(a),le(!1),T=!0)}for(var w=new Set,x=$,m=_t(),M=0;M<A;M+=1){O&&ie.nodeType===kt&&ie.data===wt&&(a=ie,T=!0,le(!1));var N=f[M],q=o(N,M),B=_?null:l.get(q);B?(B.v&&lr(B.v,N),B.i&&lr(B.i,M),m&&x.unskip_effect(B.e)):(B=ko(l,_?a:gr??=Me(),N,q,M,n,r,t),_||(B.e.f|=J),l.set(q,B)),w.add(q)}if(A===0&&s&&!d&&(_?d=ke(()=>s(a)):(d=ke(()=>s(gr??=Me())),d.f|=J)),A>w.size&&xt(),O&&A>0&&fe(ir()),!_)if(h.set(x,w),m){for(const[de,z]of l)w.has(de)||x.skip_effect(z.e);x.oncommit(k),x.ondiscard(u)}else k(x);T&&le(!0),oe(v)}),V={effect:y,items:l,pending:h,outrogroups:null,fallback:d};_=!1,O&&(a=ie)}function ue(e){for(;e!==null&&(e.f&Et)===0;)e=e.next;return e}function yo(e,r,t,o,n){var s=(o&Nt)!==0,a=r.length,l=e.items,i=ue(e.effect.first),c,d=null,v,f=[],h=[],_,k,u,y;if(s)for(y=0;y<a;y+=1)_=r[y],k=n(_,y),u=l.get(k).e,(u.f&J)===0&&(u.nodes?.a?.measure(),(v??=new Set).add(u));for(y=0;y<a;y+=1){if(_=r[y],k=n(_,y),u=l.get(k).e,e.outrogroups!==null)for(const N of e.outrogroups)N.pending.delete(u),N.done.delete(u);if((u.f&We)!==0&&(Pr(u),s&&(u.nodes?.a?.unfix(),(v??=new Set).delete(u))),(u.f&J)!==0)if(u.f^=J,u===i)be(u,null,t);else{var V=d?d.next:i;u===e.effect.last&&(e.effect.last=u.prev),u.prev&&(u.prev.next=u.next),u.next&&(u.next.prev=u.prev),ee(e,d,u),ee(e,u,V),be(u,V,t),d=u,f=[],h=[],i=ue(d.next);continue}if(u!==i){if(c!==void 0&&c.has(u)){if(f.length<h.length){var A=h[0],T;d=A.prev;var R=f[0],w=f[f.length-1];for(T=0;T<f.length;T+=1)be(f[T],A,t);for(T=0;T<h.length;T+=1)c.delete(h[T]);ee(e,R.prev,w.next),ee(e,d,R),ee(e,w,A),i=A,d=w,y-=1,f=[],h=[]}else c.delete(u),be(u,i,t),ee(e,u.prev,u.next),ee(e,u,d===null?e.effect.first:d.next),ee(e,d,u),d=u;continue}for(f=[],h=[];i!==null&&i!==u;)(c??=new Set).add(i),h.push(i),i=ue(i.next);if(i===null)continue}(u.f&J)===0&&f.push(u),d=u,i=ue(u.next)}if(e.outrogroups!==null){for(const N of e.outrogroups)N.pending.size===0&&(Ke(e,er(N.done)),e.outrogroups?.delete(N));e.outrogroups.size===0&&(e.outrogroups=null)}if(i!==null||c!==void 0){var x=[];if(c!==void 0)for(u of c)(u.f&We)===0&&x.push(u);for(;i!==null;)(i.f&We)===0&&i!==e.fallback&&x.push(i),i=ue(i.next);var m=x.length;if(m>0){var M=(o&Nr)!==0&&a===0?t:null;if(s){for(y=0;y<m;y+=1)x[y].nodes?.a?.measure();for(y=0;y<m;y+=1)x[y].nodes?.a?.fix()}ho(e,x,M)}}s&&Rr(()=>{if(v!==void 0)for(u of v)u.nodes?.a?.apply()})}function ko(e,r,t,o,n,s,a,l){var i=(a&Ct)!==0?(a&St)===0?Tt(t,!1,!1):cr(t):null,c=(a&zt)!==0?cr(n):null;return{v:i,i:c,e:ke(()=>(s(r,i??t,c??n,l),()=>{e.delete(o)}))}}function be(e,r,t){if(e.nodes)for(var o=e.nodes.start,n=e.nodes.end,s=r&&(r.f&J)===0?r.nodes.start:t;o!==null;){var a=Pt(o);if(s.before(o),o===n)return;o=a}}function ee(e,r,t){r===null?e.effect.first=t:r.next=t,t===null?e.effect.last=r:t.prev=r}function wo(e,r,t,o,n){O&&Ee();var s=r.$$slots?.[t],a=!1;s===!0&&(s=r.children,a=!0),s===void 0||s(e,a?()=>o:o)}function br(e,r,...t){var o=new Hr(e);$e(()=>{const n=r()??null;o.ensure(n,n&&(s=>n(s,...t)))},Gr)}function xo(e,r,t,o,n,s){let a=O;O&&Ee();var l=null;O&&ie.nodeType===Ot&&(l=ie,Ee());var i=O?ie:e,c=new Hr(i,!1);$e(()=>{const d=r()||null;var v=Gt;if(d===null){c.ensure(null,null);return}return c.ensure(d,f=>{if(d){if(l=O?l:Rt(d,v),so(l,l),o){O&&lo(d)&&l.append(document.createComment(""));var h=O?Ir(l):l.appendChild(Me());O&&(h===null?le(!1):fe(h)),o(l,h)}Lt.nodes.end=l,f.before(l)}O&&fe(f)}),()=>{}},Gr),Lr(()=>{}),a&&(le(!0),fe(i))}function _o(e,r){var t=void 0,o;Fr(()=>{t!==(t=r())&&(o&&(Ne(o),o=null),t&&(o=ke(()=>{rr(()=>t(e))})))})}function Yr(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=Yr(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Kr(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=Yr(e))&&(o&&(o+=" "),o+=r);return o}function Ao(e){return typeof e=="object"?Kr(e):e??""}const hr=[...`
|
|
2
|
+
\r\f \v\uFEFF`];function Co(e,r,t){var o=e==null?"":""+e;if(t){for(var n of Object.keys(t))if(t[n])o=o?o+" "+n:n;else if(o.length)for(var s=n.length,a=0;(a=o.indexOf(n,a))>=0;){var l=a+s;(a===0||hr.includes(o[a-1]))&&(l===o.length||hr.includes(o[l]))?o=(a===0?"":o.substring(0,a))+o.substring(l+1):a=l}}return o===""?null:o}function vr(e,r=!1){var t=r?" !important;":";",o="";for(var n of Object.keys(e)){var s=e[n];s!=null&&s!==""&&(o+=" "+n+": "+s+t)}return o}function Be(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function So(e,r){if(r){var t="",o,n;if(Array.isArray(r)?(o=r[0],n=r[1]):o=r,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,a=0,l=!1,i=[];o&&i.push(...Object.keys(o).map(Be)),n&&i.push(...Object.keys(n).map(Be));var c=0,d=-1;const k=e.length;for(var v=0;v<k;v++){var f=e[v];if(l?f==="/"&&e[v-1]==="*"&&(l=!1):s?s===f&&(s=!1):f==="/"&&e[v+1]==="*"?l=!0:f==='"'||f==="'"?s=f:f==="("?a++:f===")"&&a--,!l&&s===!1&&a===0){if(f===":"&&d===-1)d=v;else if(f===";"||v===k-1){if(d!==-1){var h=Be(e.substring(c,d).trim());if(!i.includes(h)){f!==";"&&v++;var _=e.substring(c,v).trim();t+=" "+_+";"}}c=v+1,d=-1}}}}return o&&(t+=vr(o)),n&&(t+=vr(n,!0)),t=t.trim(),t===""?null:t}return e==null?null:String(e)}function To(e,r,t,o,n,s){var a=e.__className;if(O||a!==t||a===void 0){var l=Co(t,o,s);(!O||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):r?e.className=l:e.setAttribute("class",l)),e.__className=t}else if(s&&n!==s)for(var i in s){var c=!!s[i];(n==null||c!==!!n[i])&&e.classList.toggle(i,c)}return s}function je(e,r={},t,o){for(var n in t){var s=t[n];r[n]!==s&&(t[n]==null?e.style.removeProperty(n):e.style.setProperty(n,s,o))}}function zo(e,r,t,o){var n=e.__style;if(O||n!==r){var s=So(r,o);(!O||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=r}else o&&(Array.isArray(o)?(je(e,t?.[0],o[0]),je(e,t?.[1],o[1],"important")):je(e,t,o));return o}function Ve(e,r,t=!1){if(e.multiple){if(r==null)return;if(!Vr(r))return Ft();for(var o of e.options)o.selected=r.includes(ye(o));return}for(o of e.options){var n=ye(o);if(Wt(n,r)){o.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function Xr(e){var r=new MutationObserver(()=>{Ve(e,e.__value)});r.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Lr(()=>{r.disconnect()})}function Hs(e,r,t=r){var o=new WeakSet,n=!0;tr(e,"change",s=>{var a=s?"[selected]":":checked",l;if(e.multiple)l=[].map.call(e.querySelectorAll(a),ye);else{var i=e.querySelector(a)??e.querySelector("option:not([disabled])");l=i&&ye(i)}t(l),e.__value=l,$!==null&&o.add($)}),rr(()=>{var s=r();if(e===document.activeElement){var a=$;if(o.has(a))return}if(Ve(e,s,n),n&&s===void 0){var l=e.querySelector(":checked");l!==null&&(s=ye(l),t(s))}e.__value=s,n=!1}),Xr(e)}function ye(e){return"__value"in e?e.__value:e.value}const me=Symbol("class"),pe=Symbol("style"),Jr=Symbol("is custom element"),Qr=Symbol("is html"),Mo=Le?"link":"LINK",Eo=Le?"input":"INPUT",No=Le?"option":"OPTION",Io=Le?"select":"SELECT";function Vo(e){if(O){var r=!1,t=()=>{if(!r){if(r=!0,e.hasAttribute("value")){var o=e.value;Pe(e,"value",null),e.value=o}if(e.hasAttribute("checked")){var n=e.checked;Pe(e,"checked",null),e.checked=n}}};e.__on_r=t,Rr(t),qt()}}function Po(e,r){r?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Pe(e,r,t,o){var n=Zr(e);O&&(n[r]=e.getAttribute(r),r==="src"||r==="srcset"||r==="href"&&e.nodeName===Mo)||n[r]!==(n[r]=t)&&(r==="loading"&&(e[Kt]=t),t==null?e.removeAttribute(r):typeof t!="string"&&$r(e).includes(r)?e[r]=t:e.setAttribute(r,t))}function Oo(e,r,t,o,n=!1,s=!1){if(O&&n&&e.nodeName===Eo){var a=e,l=a.type==="checkbox"?"defaultChecked":"defaultValue";l in t||Vo(a)}var i=Zr(e),c=i[Jr],d=!i[Qr];let v=O&&c;v&&le(!1);var f=r||{},h=e.nodeName===No;for(var _ in r)_ in t||(t[_]=null);t.class?t.class=Ao(t.class):t[me]&&(t.class=null),t[pe]&&(t.style??=null);var k=$r(e);for(const w in t){let x=t[w];if(h&&w==="value"&&x==null){e.value=e.__value="",f[w]=x;continue}if(w==="class"){var u=e.namespaceURI==="http://www.w3.org/1999/xhtml";To(e,u,x,o,r?.[me],t[me]),f[w]=x,f[me]=t[me];continue}if(w==="style"){zo(e,x,r?.[pe],t[pe]),f[w]=x,f[pe]=t[pe];continue}var y=f[w];if(!(x===y&&!(x===void 0&&e.hasAttribute(w)))){f[w]=x;var V=w[0]+w[1];if(V!=="$$")if(V==="on"){const m={},M="$$"+w;let N=w.slice(2);var A=go(N);if(co(N)&&(N=N.slice(0,-7),m.capture=!0),!A&&y){if(x!=null)continue;e.removeEventListener(N,f[M],m),f[M]=null}if(A)fo(N,e,x),uo([N]);else if(x!=null){let q=function(B){f[w].call(this,B)};f[M]=mo(N,e,q,m)}}else if(w==="style")Pe(e,w,x);else if(w==="autofocus")Dt(e,!!x);else if(!c&&(w==="__value"||w==="value"&&x!=null))e.value=e.__value=x;else if(w==="selected"&&h)Po(e,x);else{var T=w;d||(T=po(T));var R=T==="defaultValue"||T==="defaultChecked";if(x==null&&!c&&!R)if(i[w]=null,T==="value"||T==="checked"){let m=e;const M=r===void 0;if(T==="value"){let N=m.defaultValue;m.removeAttribute(T),m.defaultValue=N,m.value=m.__value=M?N:null}else{let N=m.defaultChecked;m.removeAttribute(T),m.defaultChecked=N,m.checked=M?N:!1}}else e.removeAttribute(w);else R||k.includes(T)&&(c||typeof x!="string")?(e[T]=x,T in i&&(i[T]=Ut)):typeof x!="function"&&Pe(e,T,x)}}}return v&&le(!0),f}function Oe(e,r,t=[],o=[],n=[],s,a=!1,l=!1){Bt(n,t,o,i=>{var c=void 0,d={},v=e.nodeName===Io,f=!1;if(Fr(()=>{var _=r(...i.map(oe)),k=Oo(e,c,_,s,a,l);f&&v&&"value"in _&&Ve(e,_.value);for(let y of Object.getOwnPropertySymbols(d))_[y]||Ne(d[y]);for(let y of Object.getOwnPropertySymbols(_)){var u=_[y];y.description===jt&&(!c||u!==c[y])&&(d[y]&&Ne(d[y]),d[y]=ke(()=>_o(e,()=>u))),k[y]=u}c=k}),v){var h=e;rr(()=>{Ve(h,c.value,!0),Xr(h)})}f=!0})}function Zr(e){return e.__attributes??={[Jr]:e.nodeName.includes("-"),[Qr]:e.namespaceURI===Ht}}var yr=new Map;function $r(e){var r=e.getAttribute("is")||e.nodeName,t=yr.get(r);if(t)return t;yr.set(r,t=[]);for(var o,n=e,s=Element.prototype;s!==n;){o=Xt(n);for(var a in o)o[a].set&&t.push(a);n=Yt(n)}return t}function Ys(e,r,t=r){var o=new WeakSet;tr(e,"input",async n=>{var s=n?e.defaultValue:e.value;if(s=De(e)?Ue(s):s,t(s),$!==null&&o.add($),await Jt(),s!==(s=r())){var a=e.selectionStart,l=e.selectionEnd,i=e.value.length;if(e.value=s??"",l!==null){var c=e.value.length;a===l&&l===i&&c>i?(e.selectionStart=c,e.selectionEnd=c):(e.selectionStart=a,e.selectionEnd=Math.min(l,c))}}}),(O&&e.defaultValue!==e.value||Ie(r)==null&&e.value)&&(t(De(e)?Ue(e.value):e.value),$!==null&&o.add($)),Wr(()=>{var n=r();if(e===document.activeElement){var s=$;if(o.has(s))return}De(e)&&n===Ue(e.value)||e.type==="date"&&!n&&!e.value||n!==e.value&&(e.value=n??"")})}function De(e){var r=e.type;return r==="number"||r==="range"}function Ue(e){return e===""?null:+e}function Ks(e,r,t=r){tr(e,"change",()=>{t(e.files)}),O&&e.files&&t(e.files),Wr(()=>{e.files=r()})}function Ro(e=!1){const r=Qt,t=r.l.u;if(!t)return;let o=()=>ae(r.s);if(e){let n=0,s={};const a=eo(()=>{let l=!1;const i=r.s;for(const c in i)i[c]!==s[c]&&(s[c]=i[c],l=!0);return l&&n++,n});o=()=>oe(a)}t.b.length&&Zt(()=>{kr(r,o),fr(t.b)}),dr(()=>{const n=Ie(()=>t.m.map($t));return()=>{for(const s of n)typeof s=="function"&&s()}}),t.a.length&&dr(()=>{kr(r,o),fr(t.a)})}function kr(e,r){if(e.l.s)for(const t of e.l.s)oe(t);r()}const Go=(e,r)=>{const t=new Array(e.length+r.length);for(let o=0;o<e.length;o++)t[o]=e[o];for(let o=0;o<r.length;o++)t[e.length+o]=r[o];return t},Lo=(e,r)=>({classGroupId:e,validator:r}),et=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),Re="-",wr=[],Fo="arbitrary..",Wo=e=>{const r=jo(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Bo(a);const l=a.split(Re),i=l[0]===""&&l.length>1?1:0;return rt(l,i,r)},getConflictingClassGroupIds:(a,l)=>{if(l){const i=o[a],c=t[a];return i?c?Go(c,i):i:c||wr}return t[a]||wr}}},rt=(e,r,t)=>{if(e.length-r===0)return t.classGroupId;const n=e[r],s=t.nextPart.get(n);if(s){const c=rt(e,r+1,s);if(c)return c}const a=t.validators;if(a===null)return;const l=r===0?e.join(Re):e.slice(r).join(Re),i=a.length;for(let c=0;c<i;c++){const d=a[c];if(d.validator(l))return d.classGroupId}},Bo=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t);return o?Fo+o:void 0})(),jo=e=>{const{theme:r,classGroups:t}=e;return Do(t,r)},Do=(e,r)=>{const t=et();for(const o in e){const n=e[o];or(n,t,o,r)}return t},or=(e,r,t,o)=>{const n=e.length;for(let s=0;s<n;s++){const a=e[s];Uo(a,r,t,o)}},Uo=(e,r,t,o)=>{if(typeof e=="string"){qo(e,r,t);return}if(typeof e=="function"){Ho(e,r,t,o);return}Yo(e,r,t,o)},qo=(e,r,t)=>{const o=e===""?r:tt(r,e);o.classGroupId=t},Ho=(e,r,t,o)=>{if(Ko(e)){or(e(o),r,t,o);return}r.validators===null&&(r.validators=[]),r.validators.push(Lo(t,e))},Yo=(e,r,t,o)=>{const n=Object.entries(e),s=n.length;for(let a=0;a<s;a++){const[l,i]=n[a];or(i,tt(r,l),t,o)}},tt=(e,r)=>{let t=e;const o=r.split(Re),n=o.length;for(let s=0;s<n;s++){const a=o[s];let l=t.nextPart.get(a);l||(l=et(),t.nextPart.set(a,l)),t=l}return t},Ko=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Xo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null);const n=(s,a)=>{t[s]=a,r++,r>e&&(r=0,o=t,t=Object.create(null))};return{get(s){let a=t[s];if(a!==void 0)return a;if((a=o[s])!==void 0)return n(s,a),a},set(s,a){s in t?t[s]=a:n(s,a)}}},Xe="!",xr=":",Jo=[],_r=(e,r,t,o,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:n}),Qo=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=n=>{const s=[];let a=0,l=0,i=0,c;const d=n.length;for(let k=0;k<d;k++){const u=n[k];if(a===0&&l===0){if(u===xr){s.push(n.slice(i,k)),i=k+1;continue}if(u==="/"){c=k;continue}}u==="["?a++:u==="]"?a--:u==="("?l++:u===")"&&l--}const v=s.length===0?n:n.slice(i);let f=v,h=!1;v.endsWith(Xe)?(f=v.slice(0,-1),h=!0):v.startsWith(Xe)&&(f=v.slice(1),h=!0);const _=c&&c>i?c-i:void 0;return _r(s,h,f,_)};if(r){const n=r+xr,s=o;o=a=>a.startsWith(n)?s(a.slice(n.length)):_r(Jo,!1,a,void 0,!0)}if(t){const n=o;o=s=>t({className:s,parseClassName:n})}return o},Zo=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((t,o)=>{r.set(t,1e6+o)}),t=>{const o=[];let n=[];for(let s=0;s<t.length;s++){const a=t[s],l=a[0]==="[",i=r.has(a);l||i?(n.length>0&&(n.sort(),o.push(...n),n=[]),o.push(a)):n.push(a)}return n.length>0&&(n.sort(),o.push(...n)),o}},$o=e=>({cache:Xo(e.cacheSize),parseClassName:Qo(e),sortModifiers:Zo(e),...Wo(e)}),es=/\s+/,rs=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:s}=r,a=[],l=e.trim().split(es);let i="";for(let c=l.length-1;c>=0;c-=1){const d=l[c],{isExternal:v,modifiers:f,hasImportantModifier:h,baseClassName:_,maybePostfixModifierPosition:k}=t(d);if(v){i=d+(i.length>0?" "+i:i);continue}let u=!!k,y=o(u?_.substring(0,k):_);if(!y){if(!u){i=d+(i.length>0?" "+i:i);continue}if(y=o(_),!y){i=d+(i.length>0?" "+i:i);continue}u=!1}const V=f.length===0?"":f.length===1?f[0]:s(f).join(":"),A=h?V+Xe:V,T=A+y;if(a.indexOf(T)>-1)continue;a.push(T);const R=n(y,u);for(let w=0;w<R.length;++w){const x=R[w];a.push(A+x)}i=d+(i.length>0?" "+i:i)}return i},ts=(...e)=>{let r=0,t,o,n="";for(;r<e.length;)(t=e[r++])&&(o=ot(t))&&(n&&(n+=" "),n+=o);return n},ot=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ot(e[o]))&&(t&&(t+=" "),t+=r);return t},Je=(e,...r)=>{let t,o,n,s;const a=i=>{const c=r.reduce((d,v)=>v(d),e());return t=$o(c),o=t.cache.get,n=t.cache.set,s=l,l(i)},l=i=>{const c=o(i);if(c)return c;const d=rs(i,t);return n(i,d),d};return s=a,(...i)=>s(ts(...i))},os=[],W=e=>{const r=t=>t[e]||os;return r.isThemeGetter=!0,r},st=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,nt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ss=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ns=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,as=/\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$/,is=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ls=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,re=e=>ss.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),te=e=>!!e&&Number.isInteger(Number(e)),qe=e=>e.endsWith("%")&&S(e.slice(0,-1)),Q=e=>ns.test(e),at=()=>!0,ds=e=>as.test(e)&&!is.test(e),sr=()=>!1,fs=e=>ls.test(e),us=e=>cs.test(e),ms=e=>!p(e)&&!g(e),ps=e=>se(e,ct,sr),p=e=>st.test(e),ne=e=>se(e,dt,ds),Ar=e=>se(e,xs,S),gs=e=>se(e,ut,at),bs=e=>se(e,ft,sr),Cr=e=>se(e,it,sr),hs=e=>se(e,lt,us),Ce=e=>se(e,mt,fs),g=e=>nt.test(e),ge=e=>ce(e,dt),vs=e=>ce(e,ft),Sr=e=>ce(e,it),ys=e=>ce(e,ct),ks=e=>ce(e,lt),Se=e=>ce(e,mt,!0),ws=e=>ce(e,ut,!0),se=(e,r,t)=>{const o=st.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},ce=(e,r,t=!1)=>{const o=nt.exec(e);return o?o[1]?r(o[1]):t:!1},it=e=>e==="position"||e==="percentage",lt=e=>e==="image"||e==="url",ct=e=>e==="length"||e==="size"||e==="bg-size",dt=e=>e==="length",xs=e=>e==="number",ft=e=>e==="family-name",ut=e=>e==="number"||e==="weight",mt=e=>e==="shadow",Qe=()=>{const e=W("color"),r=W("font"),t=W("text"),o=W("font-weight"),n=W("tracking"),s=W("leading"),a=W("breakpoint"),l=W("container"),i=W("spacing"),c=W("radius"),d=W("shadow"),v=W("inset-shadow"),f=W("text-shadow"),h=W("drop-shadow"),_=W("blur"),k=W("perspective"),u=W("aspect"),y=W("ease"),V=W("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...T(),g,p],w=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],m=()=>[g,p,i],M=()=>[re,"full","auto",...m()],N=()=>[te,"none","subgrid",g,p],q=()=>["auto",{span:["full",te,g,p]},te,g,p],B=()=>[te,"auto",g,p],de=()=>["auto","min","max","fr",g,p],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],C=()=>["auto",...m()],I=()=>[re,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],P=()=>[re,"screen","full","dvw","lvw","svw","min","max","fit",...m()],L=()=>[re,"screen","full","lh","dvh","lvh","svh","min","max","fit",...m()],b=()=>[e,g,p],Y=()=>[...T(),Sr,Cr,{position:[g,p]}],D=()=>["no-repeat",{repeat:["","x","y","space","round"]}],H=()=>["auto","cover","contain",ys,ps,{size:[g,p]}],X=()=>[qe,ge,ne],G=()=>["","none","full",c,g,p],F=()=>["",S,ge,ne],we=()=>["solid","dashed","dotted","double"],nr=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>[S,qe,Sr,Cr],ar=()=>["","none",_,g,p],xe=()=>["none",S,g,p],_e=()=>["none",S,g,p],Fe=()=>[S,g,p],Ae=()=>[re,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Q],breakpoint:[Q],color:[at],container:[Q],"drop-shadow":[Q],ease:["in","out","in-out"],font:[ms],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Q],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Q],shadow:[Q],spacing:["px",S],text:[Q],"text-shadow":[Q],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",re,p,g,u]}],container:["container"],columns:[{columns:[S,p,g,l]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{"inset-s":M(),start:M()}],end:[{"inset-e":M(),end:M()}],"inset-bs":[{"inset-bs":M()}],"inset-be":[{"inset-be":M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[te,"auto",g,p]}],basis:[{basis:[re,"full","auto",l,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,re,"auto","initial","none",p]}],grow:[{grow:["",S,g,p]}],shrink:[{shrink:["",S,g,p]}],order:[{order:[te,"first","last","none",g,p]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pbs:[{pbs:m()}],pbe:[{pbe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mbs:[{mbs:C()}],mbe:[{mbe:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],"inline-size":[{inline:["auto",...P()]}],"min-inline-size":[{"min-inline":["auto",...P()]}],"max-inline-size":[{"max-inline":["none",...P()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[l,"screen",...I()]}],"min-w":[{"min-w":[l,"screen","none",...I()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",t,ge,ne]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ws,gs]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",qe,p]}],"font-family":[{font:[vs,bs,r]}],"font-features":[{"font-features":[p]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,g,p]}],"line-clamp":[{"line-clamp":[S,"none",g,Ar]}],leading:[{leading:[s,...m()]}],"list-image":[{"list-image":["none",g,p]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",g,p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:b()}],"text-color":[{text:b()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",g,ne]}],"text-decoration-color":[{decoration:b()}],"underline-offset":[{"underline-offset":[S,"auto",g,p]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g,p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g,p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Y()}],"bg-repeat":[{bg:D()}],"bg-size":[{bg:H()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},te,g,p],radial:["",g,p],conic:[te,g,p]},ks,hs]}],"bg-color":[{bg:b()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:b()}],"gradient-via":[{via:b()}],"gradient-to":[{to:b()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:F()}],"border-w-x":[{"border-x":F()}],"border-w-y":[{"border-y":F()}],"border-w-s":[{"border-s":F()}],"border-w-e":[{"border-e":F()}],"border-w-bs":[{"border-bs":F()}],"border-w-be":[{"border-be":F()}],"border-w-t":[{"border-t":F()}],"border-w-r":[{"border-r":F()}],"border-w-b":[{"border-b":F()}],"border-w-l":[{"border-l":F()}],"divide-x":[{"divide-x":F()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:b()}],"border-color-x":[{"border-x":b()}],"border-color-y":[{"border-y":b()}],"border-color-s":[{"border-s":b()}],"border-color-e":[{"border-e":b()}],"border-color-bs":[{"border-bs":b()}],"border-color-be":[{"border-be":b()}],"border-color-t":[{"border-t":b()}],"border-color-r":[{"border-r":b()}],"border-color-b":[{"border-b":b()}],"border-color-l":[{"border-l":b()}],"divide-color":[{divide:b()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,g,p]}],"outline-w":[{outline:["",S,ge,ne]}],"outline-color":[{outline:b()}],shadow:[{shadow:["","none",d,Se,Ce]}],"shadow-color":[{shadow:b()}],"inset-shadow":[{"inset-shadow":["none",v,Se,Ce]}],"inset-shadow-color":[{"inset-shadow":b()}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:b()}],"ring-offset-w":[{"ring-offset":[S,ne]}],"ring-offset-color":[{"ring-offset":b()}],"inset-ring-w":[{"inset-ring":F()}],"inset-ring-color":[{"inset-ring":b()}],"text-shadow":[{"text-shadow":["none",f,Se,Ce]}],"text-shadow-color":[{"text-shadow":b()}],opacity:[{opacity:[S,g,p]}],"mix-blend":[{"mix-blend":[...nr(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":nr()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":j()}],"mask-image-linear-to-pos":[{"mask-linear-to":j()}],"mask-image-linear-from-color":[{"mask-linear-from":b()}],"mask-image-linear-to-color":[{"mask-linear-to":b()}],"mask-image-t-from-pos":[{"mask-t-from":j()}],"mask-image-t-to-pos":[{"mask-t-to":j()}],"mask-image-t-from-color":[{"mask-t-from":b()}],"mask-image-t-to-color":[{"mask-t-to":b()}],"mask-image-r-from-pos":[{"mask-r-from":j()}],"mask-image-r-to-pos":[{"mask-r-to":j()}],"mask-image-r-from-color":[{"mask-r-from":b()}],"mask-image-r-to-color":[{"mask-r-to":b()}],"mask-image-b-from-pos":[{"mask-b-from":j()}],"mask-image-b-to-pos":[{"mask-b-to":j()}],"mask-image-b-from-color":[{"mask-b-from":b()}],"mask-image-b-to-color":[{"mask-b-to":b()}],"mask-image-l-from-pos":[{"mask-l-from":j()}],"mask-image-l-to-pos":[{"mask-l-to":j()}],"mask-image-l-from-color":[{"mask-l-from":b()}],"mask-image-l-to-color":[{"mask-l-to":b()}],"mask-image-x-from-pos":[{"mask-x-from":j()}],"mask-image-x-to-pos":[{"mask-x-to":j()}],"mask-image-x-from-color":[{"mask-x-from":b()}],"mask-image-x-to-color":[{"mask-x-to":b()}],"mask-image-y-from-pos":[{"mask-y-from":j()}],"mask-image-y-to-pos":[{"mask-y-to":j()}],"mask-image-y-from-color":[{"mask-y-from":b()}],"mask-image-y-to-color":[{"mask-y-to":b()}],"mask-image-radial":[{"mask-radial":[g,p]}],"mask-image-radial-from-pos":[{"mask-radial-from":j()}],"mask-image-radial-to-pos":[{"mask-radial-to":j()}],"mask-image-radial-from-color":[{"mask-radial-from":b()}],"mask-image-radial-to-color":[{"mask-radial-to":b()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":j()}],"mask-image-conic-to-pos":[{"mask-conic-to":j()}],"mask-image-conic-from-color":[{"mask-conic-from":b()}],"mask-image-conic-to-color":[{"mask-conic-to":b()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Y()}],"mask-repeat":[{mask:D()}],"mask-size":[{mask:H()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",g,p]}],filter:[{filter:["","none",g,p]}],blur:[{blur:ar()}],brightness:[{brightness:[S,g,p]}],contrast:[{contrast:[S,g,p]}],"drop-shadow":[{"drop-shadow":["","none",h,Se,Ce]}],"drop-shadow-color":[{"drop-shadow":b()}],grayscale:[{grayscale:["",S,g,p]}],"hue-rotate":[{"hue-rotate":[S,g,p]}],invert:[{invert:["",S,g,p]}],saturate:[{saturate:[S,g,p]}],sepia:[{sepia:["",S,g,p]}],"backdrop-filter":[{"backdrop-filter":["","none",g,p]}],"backdrop-blur":[{"backdrop-blur":ar()}],"backdrop-brightness":[{"backdrop-brightness":[S,g,p]}],"backdrop-contrast":[{"backdrop-contrast":[S,g,p]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,g,p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,g,p]}],"backdrop-invert":[{"backdrop-invert":["",S,g,p]}],"backdrop-opacity":[{"backdrop-opacity":[S,g,p]}],"backdrop-saturate":[{"backdrop-saturate":[S,g,p]}],"backdrop-sepia":[{"backdrop-sepia":["",S,g,p]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",g,p]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",g,p]}],ease:[{ease:["linear","initial",y,g,p]}],delay:[{delay:[S,g,p]}],animate:[{animate:["none",V,g,p]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,g,p]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:_e()}],"scale-x":[{"scale-x":_e()}],"scale-y":[{"scale-y":_e()}],"scale-z":[{"scale-z":_e()}],"scale-3d":["scale-3d"],skew:[{skew:Fe()}],"skew-x":[{"skew-x":Fe()}],"skew-y":[{"skew-y":Fe()}],transform:[{transform:[g,p,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ae()}],"translate-x":[{"translate-x":Ae()}],"translate-y":[{"translate-y":Ae()}],"translate-z":[{"translate-z":Ae()}],"translate-none":["translate-none"],accent:[{accent:b()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:b()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g,p]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mbs":[{"scroll-mbs":m()}],"scroll-mbe":[{"scroll-mbe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pbs":[{"scroll-pbs":m()}],"scroll-pbe":[{"scroll-pbe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g,p]}],fill:[{fill:["none",...b()]}],"stroke-w":[{stroke:[S,ge,ne,Ar]}],stroke:[{stroke:["none",...b()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},_s=(e,{cacheSize:r,prefix:t,experimentalParseClassName:o,extend:n={},override:s={}})=>(he(e,"cacheSize",r),he(e,"prefix",t),he(e,"experimentalParseClassName",o),Te(e.theme,s.theme),Te(e.classGroups,s.classGroups),Te(e.conflictingClassGroups,s.conflictingClassGroups),Te(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),he(e,"orderSensitiveModifiers",s.orderSensitiveModifiers),ze(e.theme,n.theme),ze(e.classGroups,n.classGroups),ze(e.conflictingClassGroups,n.conflictingClassGroups),ze(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),pt(e,n,"orderSensitiveModifiers"),e),he=(e,r,t)=>{t!==void 0&&(e[r]=t)},Te=(e,r)=>{if(r)for(const t in r)he(e,t,r[t])},ze=(e,r)=>{if(r)for(const t in r)pt(e,r,t)},pt=(e,r,t)=>{const o=r[t];o!==void 0&&(e[t]=e[t]?e[t].concat(o):o)},As=(e,...r)=>typeof e=="function"?Je(Qe,e,...r):Je(()=>_s(Qe(),e),...r),gt=Je(Qe);function Tr(...e){return gt(Kr(e))}var Cs=/\s+/g,Ss=e=>typeof e!="string"||!e?e:e.replace(Cs," ").trim(),Ge=(...e)=>{const r=[],t=o=>{if(!o&&o!==0&&o!==0n)return;if(Array.isArray(o)){for(let s=0,a=o.length;s<a;s++)t(o[s]);return}const n=typeof o;if(n==="string"||n==="number"||n==="bigint"){if(n==="number"&&o!==o)return;r.push(String(o))}else if(n==="object"){const s=Object.keys(o);for(let a=0,l=s.length;a<l;a++){const i=s[a];o[i]&&r.push(i)}}};for(let o=0,n=e.length;o<n;o++){const s=e[o];s!=null&&t(s)}return r.length>0?Ss(r.join(" ")):void 0},zr=e=>e===!1?"false":e===!0?"true":e===0?"0":e,U=e=>{if(!e||typeof e!="object")return!0;for(const r in e)return!1;return!0},Ts=(e,r)=>{if(e===r)return!0;if(!e||!r)return!1;const t=Object.keys(e),o=Object.keys(r);if(t.length!==o.length)return!1;for(let n=0;n<t.length;n++){const s=t[n];if(!o.includes(s)||e[s]!==r[s])return!1}return!0},zs=(e,r)=>{for(const t in r)if(Object.prototype.hasOwnProperty.call(r,t)){const o=r[t];t in e?e[t]=Ge(e[t],o):e[t]=o}return e},bt=(e,r)=>{for(let t=0;t<e.length;t++){const o=e[t];Array.isArray(o)?bt(o,r):o&&r.push(o)}},ht=(...e)=>{const r=[];bt(e,r);const t=[];for(let o=0;o<r.length;o++)r[o]&&t.push(r[o]);return t},Ze=(e,r)=>{const t={};for(const o in e){const n=e[o];if(o in r){const s=r[o];Array.isArray(n)||Array.isArray(s)?t[o]=ht(s,n):typeof n=="object"&&typeof s=="object"&&n&&s?t[o]=Ze(n,s):t[o]=s+" "+n}else t[o]=n}for(const o in r)o in e||(t[o]=r[o]);return t},Ms={twMerge:!0,twMergeConfig:{}};function Es(){let e=null,r={},t=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(o){e=o},get cachedTwMergeConfig(){return r},set cachedTwMergeConfig(o){r=o},get didTwMergeConfigChange(){return t},set didTwMergeConfigChange(o){t=o},reset(){e=null,r={},t=!1}}}var Z=Es(),Ns=e=>{const r=(o,n)=>{const{extend:s=null,slots:a={},variants:l={},compoundVariants:i=[],compoundSlots:c=[],defaultVariants:d={}}=o,v={...Ms,...n},f=s?.base?Ge(s.base,o?.base):o?.base,h=s?.variants&&!U(s.variants)?Ze(l,s.variants):l,_=s?.defaultVariants&&!U(s.defaultVariants)?{...s.defaultVariants,...d}:d;!U(v.twMergeConfig)&&!Ts(v.twMergeConfig,Z.cachedTwMergeConfig)&&(Z.didTwMergeConfigChange=!0,Z.cachedTwMergeConfig=v.twMergeConfig);const k=U(s?.slots),u=U(a)?{}:{base:Ge(o?.base,k&&s?.base),...a},y=k?u:zs({...s?.slots},U(u)?{base:o?.base}:u),V=U(s?.compoundVariants)?i:ht(s?.compoundVariants,i),A=R=>{if(U(h)&&U(a)&&k)return e(f,R?.class,R?.className)(v);if(V&&!Array.isArray(V))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof V}`);if(c&&!Array.isArray(c))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof c}`);const w=(z,E=h,C=null,I=null)=>{const P=E[z];if(!P||U(P))return null;const L=I?.[z]??R?.[z];if(L===null)return null;const b=zr(L);if(typeof b=="object")return null;const Y=_?.[z],D=b??zr(Y);return P[D||"false"]},x=()=>{if(!h)return null;const z=Object.keys(h),E=[];for(let C=0;C<z.length;C++){const I=w(z[C],h);I&&E.push(I)}return E},m=(z,E)=>{if(!h||typeof h!="object")return null;const C=[];for(const I in h){const P=w(I,h,z,E),L=z==="base"&&typeof P=="string"?P:P&&P[z];L&&C.push(L)}return C},M={};for(const z in R){const E=R[z];E!==void 0&&(M[z]=E)}const N=(z,E)=>{const C=typeof R?.[z]=="object"?{[z]:R[z]?.initial}:{};return{..._,...M,...C,...E}},q=(z=[],E)=>{const C=[],I=z.length;for(let P=0;P<I;P++){const{class:L,className:b,...Y}=z[P];let D=!0;const H=N(null,E);for(const X in Y){const G=Y[X],F=H[X];if(Array.isArray(G)){if(!G.includes(F)){D=!1;break}}else{if((G==null||G===!1)&&(F==null||F===!1))continue;if(F!==G){D=!1;break}}}D&&(L&&C.push(L),b&&C.push(b))}return C},B=z=>{const E=q(V,z);if(!Array.isArray(E))return E;const C={},I=e;for(let P=0;P<E.length;P++){const L=E[P];if(typeof L=="string")C.base=I(C.base,L)(v);else if(typeof L=="object")for(const b in L)C[b]=I(C[b],L[b])(v)}return C},de=z=>{if(c.length<1)return null;const E={},C=N(null,z);for(let I=0;I<c.length;I++){const{slots:P=[],class:L,className:b,...Y}=c[I];if(!U(Y)){let D=!0;for(const H in Y){const X=C[H],G=Y[H];if(X===void 0||(Array.isArray(G)?!G.includes(X):G!==X)){D=!1;break}}if(!D)continue}for(let D=0;D<P.length;D++){const H=P[D];E[H]||(E[H]=[]),E[H].push([L,b])}}return E};if(!U(a)||!k){const z={};if(typeof y=="object"&&!U(y)){const E=e;for(const C in y)z[C]=I=>{const P=B(I),L=de(I);return E(y[C],m(C,I),P?P[C]:void 0,L?L[C]:void 0,I?.class,I?.className)(v)}}return z}return e(f,x(),q(V),R?.class,R?.className)(v)},T=()=>{if(!(!h||typeof h!="object"))return Object.keys(h)};return A.variantKeys=T(),A.extend=s,A.base=f,A.slots=y,A.variants=h,A.defaultVariants=_,A.compoundSlots=c,A.compoundVariants=V,A};return{tv:r,createTV:o=>(n,s)=>r(n,s?Ze(o,s):o)}},Is=e=>U(e)?gt:As({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),Vs=(e,r)=>{const t=Ge(e);return!t||!(r?.twMerge??!0)?t:((!Z.cachedTwMerge||Z.didTwMergeConfigChange)&&(Z.didTwMergeConfigChange=!1,Z.cachedTwMerge=Is(Z.cachedTwMergeConfig)),Z.cachedTwMerge(t)||void 0)},Ps=(...e)=>r=>Vs(e,r),{tv:Os}=Ns(Ps);const Mr=Os({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs",destructive:"bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 text-white shadow-xs",outline:"bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 border shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});var Rs=qr("<a><!></a>"),Gs=qr("<button><!></button>");function Xs(e,r){Br(r,!0);let t=K(r,"variant",3,"default"),o=K(r,"size",3,"default"),n=K(r,"ref",15,null),s=K(r,"href",3,void 0),a=K(r,"type",3,"button"),l=io(r,["$$slots","$$events","$$legacy","class","variant","size","ref","href","type","disabled","children"]);var i=Ur(),c=jr(i);{var d=f=>{var h=Rs();Oe(h,k=>({"data-slot":"button",class:k,href:r.disabled?void 0:s(),"aria-disabled":r.disabled,role:r.disabled?"link":void 0,tabindex:r.disabled?-1:void 0,...l}),[()=>Tr(Mr({variant:t(),size:o()}),r.class)]);var _=He(h);br(_,()=>r.children??ur),Ye(h),mr(h,k=>n(k),()=>n()),ve(f,h)},v=f=>{var h=Gs();Oe(h,k=>({"data-slot":"button",class:k,type:a(),disabled:r.disabled,...l}),[()=>Tr(Mr({variant:t(),size:o()}),r.class)]);var _=He(h);br(_,()=>r.children??ur),Ye(h),mr(h,k=>n(k),()=>n()),ve(f,h)};ao(c,f=>{s()?f(d):f(v,-1)})}ve(e,i),Dr()}const Ls={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const Fs=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const Er=(...e)=>e.filter((r,t,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===t).join(" ").trim();var Ws=no("<svg><!><!></svg>");function Js(e,r){const t=pr(r,["children","$$slots","$$events","$$legacy"]),o=pr(t,["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"]);Br(r,!1);let n=K(r,"name",8,void 0),s=K(r,"color",8,"currentColor"),a=K(r,"size",8,24),l=K(r,"strokeWidth",8,2),i=K(r,"absoluteStrokeWidth",8,!1),c=K(r,"iconNode",24,()=>[]);Ro();var d=Ws();Oe(d,(h,_,k)=>({...Ls,...h,...o,width:a(),height:a(),stroke:s(),"stroke-width":_,class:k}),[()=>Fs(o)?void 0:{"aria-hidden":"true"},()=>(ae(i()),ae(l()),ae(a()),Ie(()=>i()?Number(l())*24/Number(a()):l())),()=>(ae(Er),ae(n()),ae(t),Ie(()=>Er("lucide-icon","lucide",n()?`lucide-${n()}`:"",t.class)))]);var v=He(d);vo(v,1,c,bo,(h,_)=>{var k=to(()=>oo(oe(_),2));let u=()=>oe(k)[0],y=()=>oe(k)[1];var V=Ur(),A=jr(V);xo(A,u,!0,(T,R)=>{Oe(T,()=>({...y()}))}),ve(h,V)});var f=ro(v);wo(f,r,"default",{}),Ye(d),ve(e,d),Dr()}export{Xs as B,Js as I,Oe as a,Ks as b,Tr as c,Ys as d,vo as e,Pe as f,Hs as g,To as h,bo as i,br as j,Ao as k,Kr as l,xo as m,wo as s,Os as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as v,h as o,d as y,E as f,e as l,g as m,i as p,j as i,H as T,k as g}from"./
|
|
1
|
+
import{b as v,h as o,d as y,E as f,e as l,g as m,i as p,j as i,H as T,k as g}from"./BmBj85Ll.js";import{B as A}from"./KsloHTKS.js";function b(d,_,e){var s;o&&(s=g,y());var r=new A(d);v(()=>{var a=_()??null;if(o){var h=l(s),c=h===T,u=a!==null;if(c!==u){var t=m();p(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},f)}export{b as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as a}from"./BmBj85Ll.js";const t=a({verbosityLevel:"default",markdownEnabled:!0});export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{N as U,O as x,P as C,D as R,Q as D,S as $,h as g,k as N,U as q,V as G,b as Z,d as z,E as Q,e as V,g as W,i as X,j as I,n as H,W as J,X as k,q as B,F as P,Y as ee,Z as O,_ as m,$ as re,a0 as L,x as w,l as se,y as te,a1 as ne,a2 as ie,a3 as ae,a4 as fe,o as ue,a5 as ce,a6 as oe,a7 as le,a8 as de,a9 as A,aa as T,ab as _,ac as Y,ad as pe}from"./BmBj85Ll.js";let b=!1;function he(r){var e=b;try{return b=!1,[r(),b]}finally{b=e}}class _e{anchor;#r=new Map;#s=new Map;#e=new Map;#t=new Set;#n=!0;constructor(e,t=!0){this.anchor=e,this.#n=t}#i=e=>{if(this.#r.has(e)){var t=this.#r.get(e),s=this.#s.get(t);if(s)U(s),this.#t.delete(t);else{var n=this.#e.get(t);n&&(this.#s.set(t,n.effect),this.#e.delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),s=n.effect)}for(const[a,u]of this.#r){if(this.#r.delete(a),a===e)break;const i=this.#e.get(u);i&&(x(i.effect),this.#e.delete(u))}for(const[a,u]of this.#s){if(a===t||this.#t.has(a))continue;const i=()=>{if(Array.from(this.#r.values()).includes(a)){var o=document.createDocumentFragment();q(u,o),o.append(R()),this.#e.set(a,{effect:u,fragment:o})}else x(u);this.#t.delete(a),this.#s.delete(a)};this.#n||!s?(this.#t.add(a),C(u,i,!1)):i()}}};#a=e=>{this.#r.delete(e);const t=Array.from(this.#r.values());for(const[s,n]of this.#e)t.includes(s)||(x(n.effect),this.#e.delete(s))};ensure(e,t){var s=$,n=G();if(t&&!this.#s.has(e)&&!this.#e.has(e))if(n){var a=document.createDocumentFragment(),u=R();a.append(u),this.#e.set(e,{effect:D(()=>t(u)),fragment:a})}else this.#s.set(e,D(()=>t(this.anchor)));if(this.#r.set(s,e),n){for(const[i,f]of this.#s)i===e?s.unskip_effect(f):s.skip_effect(f);for(const[i,f]of this.#e)i===e?s.unskip_effect(f.effect):s.skip_effect(f.effect);s.oncommit(this.#i),s.ondiscard(this.#a)}else g&&(this.anchor=N),this.#i(s)}}function xe(r,e,t=!1){var s;g&&(s=N,z());var n=new _e(r),a=t?Q:0;function u(i,f){if(g){var o=V(s);if(i!==parseInt(o.substring(1))){var l=W();X(l),n.anchor=l,I(!1),n.ensure(i,f),I(!0);return}}n.ensure(i,f)}Z(()=>{var i=!1;e((f,o=0)=>{i=!0,u(o,f)}),i||u(-1,null)},a)}function M(r,e){return r===e||r?.[O]===e}function ge(r={},e,t,s){var n=H.r,a=P;return J(()=>{var u,i;return k(()=>{u=i,i=[],B(()=>{r!==t(...i)&&(e(r,...i),u&&M(t(...u),r)&&e(null,...u))})}),()=>{let f=a;for(;f!==n&&f.parent!==null&&f.parent.fⅇ)f=f.parent;const o=()=>{i&&M(t(...i),r)&&e(null,...i)},l=f.teardown;f.teardown=()=>{o(),l?.()}}}),r}const ve={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function me(r,e,t){return new Proxy({props:r,exclude:e},ve)}const be={get(r,e){if(!r.exclude.includes(e))return w(r.version),e in r.special?r.special[e]():r.props[e]},set(r,e,t){if(!(e in r.special)){var s=P;try{T(r.parent_effect),r.special[e]=Pe({get[e](){return r.props[e]}},e,L)}finally{T(s)}}return r.special[e](t),A(r.version),!0},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},deleteProperty(r,e){return r.exclude.includes(e)||(r.exclude.push(e),A(r.version)),!0},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function Oe(r,e){return new Proxy({props:r,exclude:e,special:{},version:ae(0),parent_effect:P},be)}const we={get(r,e){let t=r.props.length;for(;t--;){let s=r.props[t];if(_(s)&&(s=s()),typeof s=="object"&&s!==null&&e in s)return s[e]}},set(r,e,t){let s=r.props.length;for(;s--;){let n=r.props[s];_(n)&&(n=n());const a=m(n,e);if(a&&a.set)return a.set(t),!0}return!1},getOwnPropertyDescriptor(r,e){let t=r.props.length;for(;t--;){let s=r.props[t];if(_(s)&&(s=s()),typeof s=="object"&&s!==null&&e in s){const n=m(s,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(r,e){if(e===O||e===Y)return!1;for(let t of r.props)if(_(t)&&(t=t()),t!=null&&e in t)return!0;return!1},ownKeys(r){const e=[];for(let t of r.props)if(_(t)&&(t=t()),!!t){for(const s in t)e.includes(s)||e.push(s);for(const s of Object.getOwnPropertySymbols(t))e.includes(s)||e.push(s)}return e}};function ye(...r){return new Proxy({props:r},we)}function Pe(r,e,t,s){var n=!ue||(t&ce)!==0,a=(t&fe)!==0,u=(t&pe)!==0,i=s,f=!0,o=()=>(f&&(f=!1,i=u?B(s):s),i);let l;if(a){var F=O in r||Y in r;l=m(r,e)?.set??(F&&e in r?c=>r[e]=c:void 0)}var p,y=!1;a?[p,y]=he(()=>r[e]):p=r[e],p===void 0&&s!==void 0&&(p=o(),l&&(n&&re(),l(p)));var d;if(n?d=()=>{var c=r[e];return c===void 0?o():(f=!0,c)}:d=()=>{var c=r[e];return c!==void 0&&(i=void 0),c===void 0?i:c},n&&(t&L)===0)return d;if(l){var K=r.$$legacy;return(function(c,v){return arguments.length>0?((!n||!v||K||y)&&l(v?d():c),c):d()})}var S=!1,h=((t&oe)!==0?le:de)(()=>(S=!1,d()));a&&w(h);var j=P;return(function(c,v){if(arguments.length>0){const E=v?w(h):n&&a?se(c):c;return te(h,E),S=!0,i!==void 0&&(i=E),c}return ne&&S||(j.f&ie)!==0?h.v:w(h)})}export{_e as B,ge as b,xe as i,Oe as l,Pe as p,me as r,ye as s};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{p as lt,c as E,a as b,f as L,d as We}from"./
|
|
1
|
+
import{p as lt,c as E,a as b,f as L,d as We}from"./BrERcKAH.js";import{b2 as je,h as ze,d as Ue,bj as Ke,b as Ge,B as x,bk as Yt,a3 as qe,x as d,y as S,af as ot,A as T,l as He,bl as Xe,bg as Zt,bh as Ye,aJ as Ze,u as Ct,q as Ot,aK as Je,p as P,f as w,a as I,c as K,be as N,r as G,bm as Qe,bn as $e,s as ct,bf as tn,w as en}from"./BmBj85Ll.js";import{c as z}from"./DcpaLzmX.js";import{B as nn,p as h,i as V,r as O,s as M,b as de,l as rn}from"./KsloHTKS.js";import{l as kt,j as A,a as j,e as sn,m as on,i as an,c as $,I as un,s as cn}from"./DISKL3GN.js";import{g as ln,o as F,m as dn,u as fn}from"./BhRSsUCh.js";import"./CIXNBPKi.js";function hn(){return Symbol(je)}const pn=Symbol("NaN");function gn(n,t,e){ze&&Ue();var r=new nn(n),s=!Ke();Ge(()=>{var i=t();i!==i&&(i=pn),s&&i!==null&&typeof i=="object"&&(i={}),r.ensure(i,e)})}class vn extends Map{#t=new Map;#e=x(0);#n=x(0);#r=Yt||-1;constructor(t){if(super(),t){for(var[e,r]of t)super.set(e,r);this.#n.v=super.size}}#s(t){return Yt===this.#r?x(t):qe(t)}has(t){var e=this.#t,r=e.get(t);if(r===void 0)if(super.has(t))r=this.#s(0),e.set(t,r);else return d(this.#e),!1;return d(r),!0}forEach(t,e){this.#o(),super.forEach(t,e)}get(t){var e=this.#t,r=e.get(t);if(r===void 0)if(super.has(t))r=this.#s(0),e.set(t,r);else{d(this.#e);return}return d(r),super.get(t)}set(t,e){var r=this.#t,s=r.get(t),i=super.get(t),o=super.set(t,e),a=this.#e;if(s===void 0)s=this.#s(0),r.set(t,s),S(this.#n,super.size),ot(a);else if(i!==e){ot(s);var c=a.reactions===null?null:new Set(a.reactions),u=c===null||!s.reactions?.every(v=>c.has(v));u&&ot(a)}return o}delete(t){var e=this.#t,r=e.get(t),s=super.delete(t);return r!==void 0&&(e.delete(t),S(r,-1)),s&&(S(this.#n,super.size),ot(this.#e)),s}clear(){if(super.size!==0){super.clear();var t=this.#t;S(this.#n,0);for(var e of t.values())S(e,-1);ot(this.#e),t.clear()}}#o(){d(this.#e);var t=this.#t;if(this.#n.v!==t.size){for(var e of super.keys())if(!t.has(e)){var r=this.#s(0);t.set(e,r)}}for([,r]of this.#t)d(r)}keys(){return d(this.#e),super.keys()}values(){return this.#o(),super.values()}entries(){return this.#o(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return d(this.#n),super.size}}function dt(n){return n!==null&&typeof n=="object"}const bn=["string","number","bigint","boolean"];function _t(n){return n==null||bn.includes(typeof n)?!0:Array.isArray(n)?n.every(t=>_t(t)):typeof n=="object"?Object.getPrototypeOf(n)===Object.prototype:!1}const mt=Symbol("box"),fe=Symbol("is-writable");function m(n,t){const e=T(n);return t?{[mt]:!0,[fe]:!0,get current(){return d(e)},set current(r){t(r)}}:{[mt]:!0,get current(){return n()}}}function mn(n){return dt(n)&&mt in n}function yn(n){let t=x(He(n));return{[mt]:!0,[fe]:!0,get current(){return d(t)},set current(e){S(t,e,!0)}}}function he(...n){return function(t){for(const e of n)if(e){if(t.defaultPrevented)return;typeof e=="function"?e.call(this,t):e.current?.call(this,t)}}}var Jt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,wn=/\n/g,Sn=/^\s*/,En=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Tn=/^:\s*/,Cn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,An=/^[;\s]*/,Pn=/^\s+|\s+$/g,In=`
|
|
2
2
|
`,Qt="/",$t="*",Y="",kn="comment",xn="declaration";function Nn(n,t){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];t=t||{};var e=1,r=1;function s(l){var f=l.match(wn);f&&(e+=f.length);var C=l.lastIndexOf(In);r=~C?l.length-C:r+l.length}function i(){var l={line:e,column:r};return function(f){return f.position=new o(l),u(),f}}function o(l){this.start=l,this.end={line:e,column:r},this.source=t.source}o.prototype.content=n;function a(l){var f=new Error(t.source+":"+e+":"+r+": "+l);if(f.reason=l,f.filename=t.source,f.line=e,f.column=r,f.source=n,!t.silent)throw f}function c(l){var f=l.exec(n);if(f){var C=f[0];return s(C),n=n.slice(C.length),f}}function u(){c(Sn)}function v(l){var f;for(l=l||[];f=g();)f!==!1&&l.push(f);return l}function g(){var l=i();if(!(Qt!=n.charAt(0)||$t!=n.charAt(1))){for(var f=2;Y!=n.charAt(f)&&($t!=n.charAt(f)||Qt!=n.charAt(f+1));)++f;if(f+=2,Y===n.charAt(f-1))return a("End of comment missing");var C=n.slice(2,f-2);return r+=2,s(C),n=n.slice(f),r+=2,l({type:kn,comment:C})}}function y(){var l=i(),f=c(En);if(f){if(g(),!c(Tn))return a("property missing ':'");var C=c(Cn),_=l({type:xn,property:te(f[0].replace(Jt,Y)),value:C?te(C[0].replace(Jt,Y)):Y});return c(An),_}}function p(){var l=[];v(l);for(var f;f=y();)f!==!1&&(l.push(f),v(l));return l}return u(),p()}function te(n){return n?n.replace(Pn,Y):Y}function On(n,t){let e=null;if(!n||typeof n!="string")return e;const r=Nn(n),s=typeof t=="function";return r.forEach(i=>{if(i.type!=="declaration")return;const{property:o,value:a}=i;s?t(o,a,i):a&&(e=e||{},e[o]=a)}),e}const _n=/\d/,Dn=["-","_","/","."];function Rn(n=""){if(!_n.test(n))return n!==n.toLowerCase()}function Fn(n){const t=[];let e="",r,s;for(const i of n){const o=Dn.includes(i);if(o===!0){t.push(e),e="",r=void 0;continue}const a=Rn(i);if(s===!1){if(r===!1&&a===!0){t.push(e),e=i,r=a;continue}if(r===!0&&a===!1&&e.length>1){const c=e.at(-1);t.push(e.slice(0,Math.max(0,e.length-1))),e=c+i,r=a;continue}}e+=i,r=a,s=o}return t.push(e),t}function pe(n){return n?Fn(n).map(t=>Ln(t)).join(""):""}function Mn(n){return Bn(pe(n||""))}function Ln(n){return n?n[0].toUpperCase()+n.slice(1):""}function Bn(n){return n?n[0].toLowerCase()+n.slice(1):""}function pt(n){if(!n)return{};const t={};function e(r,s){if(r.startsWith("-moz-")||r.startsWith("-webkit-")||r.startsWith("-ms-")||r.startsWith("-o-")){t[pe(r)]=s;return}if(r.startsWith("--")){t[r]=s;return}t[Mn(r)]=s}return On(n,e),t}function ut(...n){return(...t)=>{for(const e of n)typeof e=="function"&&e(...t)}}function Vn(n,t){const e=RegExp(n,"g");return r=>{if(typeof r!="string")throw new TypeError(`expected an argument of type string, but got ${typeof r}`);return r.match(e)?r.replace(e,t):r}}const Wn=Vn(/[A-Z]/,n=>`-${n.toLowerCase()}`);function jn(n){if(!n||typeof n!="object"||Array.isArray(n))throw new TypeError(`expected an argument of type object, but got ${typeof n}`);return Object.keys(n).map(t=>`${Wn(t)}: ${n[t]};`).join(`
|
|
3
3
|
`)}function zn(n={}){return jn(n).replace(`
|
|
4
4
|
`," ")}const Un=["onabort","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeinput","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncompositionend","oncompositionstart","oncompositionupdate","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onfocusin","onfocusout","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel"],Kn=new Set(Un);function Gn(n){return Kn.has(n)}function W(...n){const t={...n[0]};for(let e=1;e<n.length;e++){const r=n[e];if(r){for(const s of Object.keys(r)){const i=t[s],o=r[s],a=typeof i=="function",c=typeof o=="function";if(a&&Gn(s)){const u=i,v=o;t[s]=he(u,v)}else if(a&&c)t[s]=ut(i,o);else if(s==="class"){const u=_t(i),v=_t(o);u&&v?t[s]=kt(i,o):u?t[s]=kt(i):v&&(t[s]=kt(o))}else if(s==="style"){const u=typeof i=="object",v=typeof o=="object",g=typeof i=="string",y=typeof o=="string";if(u&&v)t[s]={...i,...o};else if(u&&y){const p=pt(o);t[s]={...i,...p}}else if(g&&v){const p=pt(i);t[s]={...p,...o}}else if(g&&y){const p=pt(i),l=pt(o);t[s]={...p,...l}}else u?t[s]=i:v?t[s]=o:g?t[s]=i:y&&(t[s]=o)}else t[s]=o!==void 0?o:i}for(const s of Object.getOwnPropertySymbols(r)){const i=t[s],o=r[s];t[s]=o!==void 0?o:i}}}return typeof t.style=="object"&&(t.style=zn(t.style).replaceAll(`
|
|
5
|
-
`," ")),t.hidden===!1&&(t.hidden=void 0,delete t.hidden),t.disabled===!1&&(t.disabled=void 0,delete t.disabled),t}const Hn=typeof window<"u"?window:void 0;function Xn(n){let t=n.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}class qn{#t;#e;constructor(t={}){const{window:e=Hn,document:r=e?.document}=t;e!==void 0&&(this.#t=r,this.#e=ln(s=>{const i=F(e,"focusin",s),o=F(e,"focusout",s);return()=>{i(),o()}}))}get current(){return this.#e?.(),this.#t?Xn(this.#t):null}}new qn;class ge{#t;#e;constructor(t){this.#t=t,this.#e=Symbol(t)}get key(){return this.#e}exists(){return qe(this.#e)}get(){const t=Zt(this.#e);if(t===void 0)throw new Error(`Context "${this.#t}" not found`);return t}getOr(t){const e=Zt(this.#e);return e===void 0?t:e}set(t){return Ye(this.#e,t)}}function Yn(n,t){switch(n){case"post":Ct(t);break;case"pre":Ze(t);break}}function ve(n,t,e,r={}){const{lazy:s=!1}=r;let i=!s,o=Array.isArray(n)?[]:void 0;Yn(t,()=>{const a=Array.isArray(n)?n.map(u=>u()):n();if(!i){i=!0,o=a;return}const c=Ot(()=>e(a,o));return o=a,c})}function B(n,t,e){ve(n,"post",t,e)}function Zn(n,t,e){ve(n,"pre",t,e)}B.pre=Zn;function tt(n){Ct(()=>()=>{n()})}function Jn(n,t){return setTimeout(t,n)}function Ft(n){Je().then(n)}const Qn=1,$n=9,tr=11;function Dt(n){return dt(n)&&n.nodeType===Qn&&typeof n.nodeName=="string"}function be(n){return dt(n)&&n.nodeType===$n}function er(n){return dt(n)&&n.constructor?.name==="VisualViewport"}function nr(n){return dt(n)&&n.nodeType!==void 0}function me(n){return nr(n)&&n.nodeType===tr&&"host"in n}function rr(n,t){if(!n||!t||!Dt(n)||!Dt(t))return!1;const e=t.getRootNode?.();if(n===t||n.contains(t))return!0;if(e&&me(e)){let r=t;for(;r;){if(n===r)return!0;r=r.parentNode||r.host}}return!1}function sr(n){return be(n)?n:er(n)?n.document:n?.ownerDocument??document}function or(n){return me(n)?or(n.host):be(n)?n.defaultView??window:Dt(n)?n.ownerDocument?.defaultView??window:window}function ir(n){let t=n.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}class ye{element;#t=T(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return d(this.#t)}set root(t){S(this.#t,t)}constructor(t){typeof t=="function"?this.element=m(t):this.element=t}getDocument=()=>sr(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>ir(this.root);isActiveElement=t=>t===this.getActiveElement();getElementById(t){return this.root.getElementById(t)}querySelector=t=>this.root?this.root.querySelector(t):null;querySelectorAll=t=>this.root?this.root.querySelectorAll(t):[];setTimeout=(t,e)=>this.getWindow().setTimeout(t,e);clearTimeout=t=>this.getWindow().clearTimeout(t)}function et(n,t){return{[hn()]:e=>mn(n)?(n.current=e,Ot(()=>t?.(e)),()=>{"isConnected"in e&&e.isConnected||(n.current=null,t?.(null))}):(n(e),Ot(()=>t?.(e)),()=>{"isConnected"in e&&e.isConnected||(n(null),t?.(null))})}}function ar(n){return n?"true":"false"}function yt(n){return n?"":void 0}function ur(n){return n?"open":"closed"}class cr{#t;#e;attrs;constructor(t){this.#t=t.getVariant?t.getVariant():null,this.#e=this.#t?`data-${this.#t}-`:`data-${t.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(t.parts.map(e=>[e,this.getAttr(e)]))}getAttr(t,e){return e?`data-${e}-${t}`:`${this.#e}${t}`}selector(t,e){return`[${this.getAttr(t,e)}]`}}function we(n){const t=new cr(n);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}const Se="Enter",lr="Escape",Ee=" ",Te=typeof document<"u",ee=dr();function dr(){return Te&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ne(n){return n instanceof HTMLElement}function Rs(n){return n instanceof Element}function fr(n){return n instanceof Element||n instanceof SVGElement}function Fs(n){return n.matches(":focus-visible")}function Ms(n){return n!==null}class hr{#t;#e=null;constructor(t){this.#t=t,tt(()=>this.#n())}#n(){this.#e&&(window.cancelAnimationFrame(this.#e),this.#e=null)}run(t){this.#n();const e=this.#t.ref.current;if(e){if(typeof e.getAnimations!="function"){this.#r(t);return}this.#e=window.requestAnimationFrame(()=>{const r=e.getAnimations();if(r.length===0){this.#r(t);return}Promise.allSettled(r.map(s=>s.finished)).then(()=>{this.#r(t)})})}}#r(t){const e=()=>{t()};this.#t.afterTick?Ft(e):e()}}class re{#t;#e;#n;#r=x(!1);constructor(t){this.#t=t,S(this.#r,t.open.current,!0),this.#e=t.enabled??!0,this.#n=new hr({ref:this.#t.ref,afterTick:this.#t.open}),B(()=>this.#t.open.current,e=>{e&&S(this.#r,!0),this.#e&&this.#n.run(()=>{e===this.#t.open.current&&(this.#t.open.current||S(this.#r,!1),this.#t.onComplete?.())})})}get shouldRender(){return d(this.#r)}}function k(){}function ft(n,t){return`bits-${n}`}const pr=we({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),U=new ge("Dialog.Root | AlertDialog.Root");class Mt{static create(t){const e=U.getOr(null);return U.set(new Mt(t,e))}opts;#t=x(null);get triggerNode(){return d(this.#t)}set triggerNode(t){S(this.#t,t,!0)}#e=x(null);get contentNode(){return d(this.#e)}set contentNode(t){S(this.#e,t,!0)}#n=x(null);get overlayNode(){return d(this.#n)}set overlayNode(t){S(this.#n,t,!0)}#r=x(null);get descriptionNode(){return d(this.#r)}set descriptionNode(t){S(this.#r,t,!0)}#s=x(void 0);get contentId(){return d(this.#s)}set contentId(t){S(this.#s,t,!0)}#o=x(void 0);get titleId(){return d(this.#o)}set titleId(t){S(this.#o,t,!0)}#u=x(void 0);get triggerId(){return d(this.#u)}set triggerId(t){S(this.#u,t,!0)}#i=x(void 0);get descriptionId(){return d(this.#i)}set descriptionId(t){S(this.#i,t,!0)}#l=x(null);get cancelNode(){return d(this.#l)}set cancelNode(t){S(this.#l,t,!0)}#c=x(0);get nestedOpenCount(){return d(this.#c)}set nestedOpenCount(t){S(this.#c,t,!0)}depth;parent;contentPresence;overlayPresence;constructor(t,e){this.opts=t,this.parent=e,this.depth=e?e.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new re({ref:m(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new re({ref:m(()=>this.overlayNode),open:this.opts.open,enabled:!0}),B(()=>this.opts.open.current,r=>{this.parent&&(r?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),tt(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=t=>pr.getAttr(t,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#a=T(()=>({"data-state":ur(this.opts.open.current)}));get sharedProps(){return d(this.#a)}set sharedProps(t){S(this.#a,t)}}class Ce{static create(t){return new Ce(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref,r=>{this.root.triggerNode=r,this.root.triggerId=r?.id}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(t){this.opts.disabled.current||t.button>0||this.root.handleOpen()}onkeydown(t){this.opts.disabled.current||(t.key===Ee||t.key===Se)&&(t.preventDefault(),this.root.handleOpen())}#t=T(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":ar(this.root.opts.open.current),"aria-controls":this.root.contentId,[this.root.getBitsAttr("trigger")]:"",onkeydown:this.onkeydown,onclick:this.onclick,disabled:this.opts.disabled.current?!0:void 0,...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Lt{static create(t){return new Lt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(t){this.opts.disabled.current||t.button>0||this.root.handleClose()}onkeydown(t){this.opts.disabled.current||(t.key===Ee||t.key===Se)&&(t.preventDefault(),this.root.handleClose())}#t=T(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Bt{static create(t){return new Bt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.root.titleId=this.opts.id.current,this.attachment=et(this.opts.ref),B.pre(()=>this.opts.id.current,r=>{this.root.titleId=r})}#t=T(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Vt{static create(t){return new Vt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.root.descriptionId=this.opts.id.current,this.attachment=et(this.opts.ref,r=>{this.root.descriptionNode=r}),B.pre(()=>this.opts.id.current,r=>{this.root.descriptionId=r})}#t=T(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Wt{static create(t){return new Wt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref,r=>{this.root.contentNode=r,this.root.contentId=r?.id})}#t=T(()=>({open:this.root.opts.open.current}));get snippetProps(){return d(this.#t)}set snippetProps(t){S(this.#t,t)}#e=T(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":yt(this.root.nestedOpenCount>0),"data-nested":yt(this.root.parent!==null),...this.root.sharedProps,...this.attachment}));get props(){return d(this.#e)}set props(t){S(this.#e,t)}get shouldRender(){return this.root.contentPresence.shouldRender}}class jt{static create(t){return new jt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref,r=>this.root.overlayNode=r)}#t=T(()=>({open:this.root.opts.open.current}));get snippetProps(){return d(this.#t)}set snippetProps(t){S(this.#t,t)}#e=T(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":yt(this.root.nestedOpenCount>0),"data-nested":yt(this.root.parent!==null),...this.root.sharedProps,...this.attachment}));get props(){return d(this.#e)}set props(t){S(this.#e,t)}get shouldRender(){return this.root.overlayPresence.shouldRender}}var gr=L("<div><!></div>");function vr(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=h(t,"level",3,2),o=O(t,["$$slots","$$events","$$legacy","id","ref","child","children","level"]);const a=Bt.create({id:m(()=>r()),level:m(()=>i()),ref:m(()=>s(),p=>s(p))}),c=T(()=>W(o,a.props));var u=E(),v=w(u);{var g=p=>{var l=E(),f=w(l);A(f,()=>t.child,()=>({props:d(c)})),b(p,l)},y=p=>{var l=gr();j(l,()=>({...d(c)}));var f=K(l);A(f,()=>t.children??N),G(l),b(p,l)};V(v,p=>{t.child?p(g):p(y,-1)})}b(n,u),I()}function br(n,t){var e=E(),r=w(e);gn(r,()=>t.children,s=>{var i=E(),o=w(i);A(o,()=>t.children??N),b(s,i)}),b(n,e)}const mr=new ge("BitsConfig");function yr(){const n=new wr(null,{});return mr.getOr(n).opts}class wr{opts;constructor(t,e){const r=Sr(t,e);this.opts={defaultPortalTo:r(s=>s.defaultPortalTo),defaultLocale:r(s=>s.defaultLocale)}}}function Sr(n,t){return e=>m(()=>{const s=e(t)?.current;if(s!==void 0)return s;if(n!==null)return e(n.opts)?.current})}function Er(n,t){return e=>{const r=yr();return m(()=>{const s=e();if(s!==void 0)return s;const i=n(r).current;return i!==void 0?i:t})}}const Tr=Er(n=>n.defaultPortalTo,"body");function Cr(n,t){P(t,!0);const e=Tr(()=>t.to),r=Qe();let s=T(i);function i(){if(!Te||t.disabled)return null;let g=null;return typeof e.current=="string"?g=document.querySelector(e.current):g=e.current,g}let o;function a(){o&&(fn(o),o=null)}B([()=>d(s),()=>t.disabled],([g,y])=>{if(!g||y){a();return}return o=dn(br,{target:g,props:{children:t.children},context:r}),()=>{a()}});var c=E(),u=w(c);{var v=g=>{var y=E(),p=w(y);A(p,()=>t.children??N),b(g,y)};V(u,g=>{t.disabled&&g(v)})}b(n,c),I()}function se(n,t=500){let e=null;const r=(...s)=>{e!==null&&clearTimeout(e),e=setTimeout(()=>{n(...s)},t)};return r.destroy=()=>{e!==null&&(clearTimeout(e),e=null)},r}function Ae(n,t){return n===t||n.contains(t)}function Pe(n){return n?.ownerDocument??document}function Ar(n,t){const{clientX:e,clientY:r}=n,s=t.getBoundingClientRect();return e<s.left||e>s.right||r<s.top||r>s.bottom}var Ie=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Rt=Ie.join(","),ke=typeof Element>"u",Q=ke?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wt=!ke&&Element.prototype.getRootNode?function(n){var t;return n==null||(t=n.getRootNode)===null||t===void 0?void 0:t.call(n)}:function(n){return n?.ownerDocument},St=function(t,e){var r;e===void 0&&(e=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=s===""||s==="true",o=i||e&&t&&(typeof t.closest=="function"?t.closest("[inert]"):St(t.parentNode));return o},Pr=function(t){var e,r=t==null||(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"contenteditable");return r===""||r==="true"},xe=function(t,e,r){if(St(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Rt));return e&&Q.call(t,Rt)&&s.unshift(t),s=s.filter(r),s},Et=function(t,e,r){for(var s=[],i=Array.from(t);i.length;){var o=i.shift();if(!St(o,!1))if(o.tagName==="SLOT"){var a=o.assignedElements(),c=a.length?a:o.children,u=Et(c,!0,r);r.flatten?s.push.apply(s,u):s.push({scopeParent:o,candidates:u})}else{var v=Q.call(o,Rt);v&&r.filter(o)&&(e||!t.includes(o))&&s.push(o);var g=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),y=!St(g,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(o));if(g&&y){var p=Et(g===!0?o.children:g.children,!0,r);r.flatten?s.push.apply(s,p):s.push({scopeParent:o,candidates:p})}else i.unshift.apply(i,o.children)}}return s},Ne=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Oe=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Pr(t))&&!Ne(t)?0:t.tabIndex},Ir=function(t,e){var r=Oe(t);return r<0&&e&&!Ne(t)?0:r},kr=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},_e=function(t){return t.tagName==="INPUT"},xr=function(t){return _e(t)&&t.type==="hidden"},Nr=function(t){var e=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return e},Or=function(t,e){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===e)return t[r]},_r=function(t){if(!t.name)return!0;var e=t.form||wt(t),r=function(a){return e.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=Or(s,t.form);return!i||i===t},Dr=function(t){return _e(t)&&t.type==="radio"},Rr=function(t){return Dr(t)&&!_r(t)},Fr=function(t){var e,r=t&&wt(t),s=(e=r)===null||e===void 0?void 0:e.host,i=!1;if(r&&r!==t){var o,a,c;for(i=!!((o=s)!==null&&o!==void 0&&(a=o.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!i&&s;){var u,v,g;r=wt(s),s=(u=r)===null||u===void 0?void 0:u.host,i=!!((v=s)!==null&&v!==void 0&&(g=v.ownerDocument)!==null&&g!==void 0&&g.contains(s))}}return i},oe=function(t){var e=t.getBoundingClientRect(),r=e.width,s=e.height;return r===0&&s===0},Mr=function(t,e){var r=e.displayCheck,s=e.getShadowRoot;if(r==="full-native"&&"checkVisibility"in t){var i=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!i}if(getComputedStyle(t).visibility==="hidden")return!0;var o=Q.call(t,"details>summary:first-of-type"),a=o?t.parentElement:t;if(Q.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof s=="function"){for(var c=t;t;){var u=t.parentElement,v=wt(t);if(u&&!u.shadowRoot&&s(u)===!0)return oe(t);t.assignedSlot?t=t.assignedSlot:!u&&v!==t.ownerDocument?t=v.host:t=u}t=c}if(Fr(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return oe(t);return!1},Lr=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if(e.tagName==="FIELDSET"&&e.disabled){for(var r=0;r<e.children.length;r++){var s=e.children.item(r);if(s.tagName==="LEGEND")return Q.call(e,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}e=e.parentElement}return!1},Tt=function(t,e){return!(e.disabled||xr(e)||Mr(e,t)||Nr(e)||Lr(e))},ie=function(t,e){return!(Rr(e)||Oe(e)<0||!Tt(t,e))},Br=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},De=function(t){var e=[],r=[];return t.forEach(function(s,i){var o=!!s.scopeParent,a=o?s.scopeParent:s,c=Ir(a,o),u=o?De(s.candidates):a;c===0?o?e.push.apply(e,u):e.push(a):r.push({documentOrder:i,tabIndex:c,item:s,isScope:o,content:u})}),r.sort(kr).reduce(function(s,i){return i.isScope?s.push.apply(s,i.content):s.push(i.content),s},[]).concat(e)},Vr=function(t,e){e=e||{};var r;return e.getShadowRoot?r=Et([t],e.includeContainer,{filter:ie.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:Br}):r=xe(t,e.includeContainer,ie.bind(null,e)),De(r)},Wr=function(t,e){e=e||{};var r;return e.getShadowRoot?r=Et([t],e.includeContainer,{filter:Tt.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):r=xe(t,e.includeContainer,Tt.bind(null,e)),r},jr=Ie.concat("iframe:not([inert]):not([inert] *)").join(","),zr=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Q.call(t,jr)===!1?!1:Tt(e,t)};const Ur="data-context-menu-trigger",Kr="data-context-menu-content";we({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]});globalThis.bitsDismissableLayers??=new Map;class zt{static create(t){return new zt(t)}opts;#t;#e;#n={pointerdown:!1};#r=!1;#s=!1;#o=void 0;#u;#i=k;constructor(t){this.opts=t,this.#e=t.interactOutsideBehavior,this.#t=t.onInteractOutside,this.#u=t.onFocusOutside,Ct(()=>{this.#o=Pe(this.opts.ref.current)});let e=k;const r=()=>{this.#f(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),e()};B([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return Jn(1,()=>{this.opts.ref.current&&(globalThis.bitsDismissableLayers.set(this,this.#e),e(),e=this.#c())}),r}),tt(()=>{this.#f.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),this.#i(),e()})}#l=t=>{t.defaultPrevented||this.opts.ref.current&&Ft(()=>{!this.opts.ref.current||this.#v(t.target)||t.target&&!this.#s&&this.#u.current?.(t)})};#c(){return ut(F(this.#o,"pointerdown",ut(this.#h,this.#g),{capture:!0}),F(this.#o,"pointerdown",ut(this.#p,this.#d)),F(this.#o,"focusin",this.#l))}#a=t=>{let e=t;e.defaultPrevented&&(e=ae(t)),this.#t.current(t)};#d=se(t=>{if(!this.opts.ref.current){this.#i();return}const e=this.opts.isValidEvent.current(t,this.opts.ref.current)||Xr(t,this.opts.ref.current);if(!this.#r||this.#b()||!e){this.#i();return}let r=t;if(r.defaultPrevented&&(r=ae(r)),this.#e.current!=="close"&&this.#e.current!=="defer-otherwise-close"){this.#i();return}t.pointerType==="touch"?(this.#i(),this.#i=F(this.#o,"click",this.#a,{once:!0})):this.#t.current(r)},10);#h=t=>{this.#n[t.type]=!0};#p=t=>{this.#n[t.type]=!1};#g=()=>{this.opts.ref.current&&(this.#r=Hr(this.opts.ref.current))};#v=t=>this.opts.ref.current?Ae(this.opts.ref.current,t):!1;#f=se(()=>{for(const t in this.#n)this.#n[t]=!1;this.#r=!1},20);#b(){return Object.values(this.#n).some(Boolean)}#m=()=>{this.#s=!0};#y=()=>{this.#s=!1};props={onfocuscapture:this.#m,onblurcapture:this.#y}}function Gr(n=[...globalThis.bitsDismissableLayers]){return n.findLast(([t,{current:e}])=>e==="close"||e==="ignore")}function Hr(n){const t=[...globalThis.bitsDismissableLayers],e=Gr(t);if(e)return e[0].opts.ref.current===n;const[r]=t[0];return r.opts.ref.current===n}function Xr(n,t){const e=n.target;if(!fr(e))return!1;const r=!!e.closest(`[${Ur}]`);if("button"in n&&n.button>0&&!r)return!1;if("button"in n&&n.button===0&&r)return!0;const s=!!t.closest(`[${Kr}]`);return r&&s?!1:Pe(e).documentElement.contains(e)&&!Ae(t,e)&&Ar(n,t)}function ae(n){const t=n.currentTarget,e=n.target;let r;n instanceof PointerEvent?r=new PointerEvent(n.type,n):r=new PointerEvent("pointerdown",n);let s=!1;return new Proxy(r,{get:(o,a)=>a==="currentTarget"?t:a==="target"?e:a==="preventDefault"?()=>{s=!0,typeof o.preventDefault=="function"&&o.preventDefault()}:a==="defaultPrevented"?s:a in o?o[a]:n[a]})}function qr(n,t){P(t,!0);let e=h(t,"interactOutsideBehavior",3,"close"),r=h(t,"onInteractOutside",3,k),s=h(t,"onFocusOutside",3,k),i=h(t,"isValidEvent",3,()=>!1);const o=zt.create({id:m(()=>t.id),interactOutsideBehavior:m(()=>e()),onInteractOutside:m(()=>r()),enabled:m(()=>t.enabled),onFocusOutside:m(()=>s()),isValidEvent:m(()=>i()),ref:t.ref});var a=E(),c=w(a);A(c,()=>t.children??N,()=>({props:o.props})),b(n,a),I()}globalThis.bitsEscapeLayers??=new Map;class Ut{static create(t){return new Ut(t)}opts;domContext;constructor(t){this.opts=t,this.domContext=new ye(this.opts.ref);let e=k;B(()=>t.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,t.escapeKeydownBehavior),e=this.#t()),()=>{e(),globalThis.bitsEscapeLayers.delete(this)}))}#t=()=>F(this.domContext.getDocument(),"keydown",this.#e,{passive:!1});#e=t=>{if(t.key!==lr||!Yr(this))return;const e=new KeyboardEvent(t.type,t);t.preventDefault();const r=this.opts.escapeKeydownBehavior.current;r!=="close"&&r!=="defer-otherwise-close"||this.opts.onEscapeKeydown.current(e)}}function Yr(n){const t=[...globalThis.bitsEscapeLayers],e=t.findLast(([s,{current:i}])=>i==="close"||i==="ignore");if(e)return e[0]===n;const[r]=t[0];return r===n}function Zr(n,t){P(t,!0);let e=h(t,"escapeKeydownBehavior",3,"close"),r=h(t,"onEscapeKeydown",3,k);Ut.create({escapeKeydownBehavior:m(()=>e()),onEscapeKeydown:m(()=>r()),enabled:m(()=>t.enabled),ref:t.ref});var s=E(),i=w(s);A(i,()=>t.children??N),b(n,s),I()}class Kt{static instance;#t=yn([]);#e=new WeakMap;#n=new WeakMap;static getInstance(){return this.instance||(this.instance=new Kt),this.instance}register(t){const e=this.getActive();e&&e!==t&&e.pause();const r=document.activeElement;r&&r!==document.body&&this.#n.set(t,r),this.#t.current=this.#t.current.filter(s=>s!==t),this.#t.current.unshift(t)}unregister(t){this.#t.current=this.#t.current.filter(r=>r!==t);const e=this.getActive();e&&e.resume()}getActive(){return this.#t.current[0]}setFocusMemory(t,e){this.#e.set(t,e)}getFocusMemory(t){return this.#e.get(t)}isActiveScope(t){return this.getActive()===t}setPreFocusMemory(t,e){this.#n.set(t,e)}getPreFocusMemory(t){return this.#n.get(t)}clearPreFocusMemory(t){this.#n.delete(t)}}class Gt{#t=!1;#e=null;#n=Kt.getInstance();#r=[];#s;constructor(t){this.#s=t}get paused(){return this.#t}pause(){this.#t=!0}resume(){this.#t=!1}#o(){for(const t of this.#r)t();this.#r=[]}mount(t){this.#e&&this.unmount(),this.#e=t,this.#n.register(this),this.#l(),this.#u()}unmount(){this.#e&&(this.#o(),this.#i(),this.#n.unregister(this),this.#n.clearPreFocusMemory(this),this.#e=null)}#u(){if(!this.#e)return;const t=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});this.#s.onOpenAutoFocus.current(t),t.defaultPrevented||requestAnimationFrame(()=>{if(!this.#e)return;const e=this.#a();e?(e.focus(),this.#n.setFocusMemory(this,e)):this.#e.focus()})}#i(){const t=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if(this.#s.onCloseAutoFocus.current?.(t),!t.defaultPrevented){const e=this.#n.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#l(){if(!this.#e||!this.#s.trap.current)return;const t=this.#e,e=t.ownerDocument,r=o=>{if(this.#t||!this.#n.isActiveScope(this))return;const a=o.target;if(!a)return;if(t.contains(a))this.#n.setFocusMemory(this,a);else{const u=this.#n.getFocusMemory(this);if(u&&t.contains(u)&&zr(u))o.preventDefault(),u.focus();else{const v=this.#a(),g=this.#d()[0];(v||g||t).focus()}}},s=o=>{if(!this.#s.loop||this.#t||o.key!=="Tab"||!this.#n.isActiveScope(this))return;const a=this.#c();if(a.length===0)return;const c=a[0],u=a[a.length-1];!o.shiftKey&&e.activeElement===u?(o.preventDefault(),c.focus()):o.shiftKey&&e.activeElement===c&&(o.preventDefault(),u.focus())};this.#r.push(F(e,"focusin",r,{capture:!0}),F(t,"keydown",s));const i=new MutationObserver(()=>{const o=this.#n.getFocusMemory(this);if(o&&!t.contains(o)){const a=this.#a(),c=this.#d()[0],u=a||c;u?(u.focus(),this.#n.setFocusMemory(this,u)):t.focus()}});i.observe(t,{childList:!0,subtree:!0}),this.#r.push(()=>i.disconnect())}#c(){return this.#e?Vr(this.#e,{includeContainer:!1,getShadowRoot:!0}):[]}#a(){return this.#c()[0]||null}#d(){return this.#e?Wr(this.#e,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let e=null;return B([()=>t.ref.current,()=>t.enabled.current],([r,s])=>{r&&s?(e||(e=new Gt(t)),e.mount(r)):e&&(e.unmount(),e=null)}),tt(()=>{e?.unmount()}),{get props(){return{tabindex:-1}}}}}function Jr(n,t){P(t,!0);let e=h(t,"enabled",3,!1),r=h(t,"trapFocus",3,!1),s=h(t,"loop",3,!1),i=h(t,"onCloseAutoFocus",3,k),o=h(t,"onOpenAutoFocus",3,k);const a=Gt.use({enabled:m(()=>e()),trap:m(()=>r()),loop:s(),onCloseAutoFocus:m(()=>i()),onOpenAutoFocus:m(()=>o()),ref:t.ref});var c=E(),u=w(c);A(u,()=>t.focusScope??N,()=>({props:a.props})),b(n,c),I()}globalThis.bitsTextSelectionLayers??=new Map;class Ht{static create(t){return new Ht(t)}opts;domContext;#t=k;constructor(t){this.opts=t,this.domContext=new ye(t.ref);let e=k;B(()=>this.opts.enabled.current,r=>(r&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),e(),e=this.#e()),()=>{e(),this.#r(),globalThis.bitsTextSelectionLayers.delete(this)}))}#e(){return ut(F(this.domContext.getDocument(),"pointerdown",this.#n),F(this.domContext.getDocument(),"pointerup",he(this.#r,this.opts.onPointerUp.current)))}#n=t=>{const e=this.opts.ref.current,r=t.target;!ne(e)||!ne(r)||!this.opts.enabled.current||!$r(this)||!rr(e,r)||(this.opts.onPointerDown.current(t),!t.defaultPrevented&&(this.#t=Qr(e,this.domContext.getDocument().body)))};#r=()=>{this.#t(),this.#t=k}}const ue=n=>n.style.userSelect||n.style.webkitUserSelect;function Qr(n,t){const e=ue(t),r=ue(n);return gt(t,"none"),gt(n,"text"),()=>{gt(t,e),gt(n,r)}}function gt(n,t){n.style.userSelect=t,n.style.webkitUserSelect=t}function $r(n){const t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;const e=t.at(-1);return e?e[0]===n:!1}function ts(n,t){P(t,!0);let e=h(t,"preventOverflowTextSelection",3,!0),r=h(t,"onPointerDown",3,k),s=h(t,"onPointerUp",3,k);Ht.create({id:m(()=>t.id),onPointerDown:m(()=>r()),onPointerUp:m(()=>s()),enabled:m(()=>t.enabled&&e()),ref:t.ref});var i=E(),o=w(i);A(o,()=>t.children??N),b(n,i),I()}globalThis.bitsIdCounter??={current:0};function es(n="bits"){return globalThis.bitsIdCounter.current++,`${n}-${globalThis.bitsIdCounter.current}`}class ns{#t;#e=0;#n=x();#r;constructor(t){this.#t=t}#s(){this.#e-=1,this.#r&&this.#e<=0&&(this.#r(),S(this.#n,void 0),this.#r=void 0)}get(...t){return this.#e+=1,d(this.#n)===void 0&&(this.#r=$e(()=>{S(this.#n,this.#t(...t),!0)})),Ct(()=>()=>{this.#s()}),d(this.#n)}}const bt=new vn;let vt=x(null),xt=null,it=null,at=!1;const ce=m(()=>{for(const n of bt.values())if(n)return!0;return!1});let Nt=null;const rs=new ns(()=>{function n(){document.body.setAttribute("style",d(vt)??""),document.body.style.removeProperty("--scrollbar-width"),ee&&xt?.(),S(vt,null)}function t(){it!==null&&(window.clearTimeout(it),it=null)}function e(s,i){t(),at=!0,Nt=Date.now();const o=Nt,a=()=>{it=null,Nt===o&&(Re(bt)?at=!1:(at=!1,i()))},c=s===null?24:s;it=window.setTimeout(a,c)}function r(){d(vt)===null&&bt.size===0&&!at&&S(vt,document.body.getAttribute("style"),!0)}return B(()=>ce.current,()=>{if(!ce.current)return;r(),at=!1;const s=getComputedStyle(document.documentElement),i=getComputedStyle(document.body),o=s.scrollbarGutter?.includes("stable")||i.scrollbarGutter?.includes("stable"),a=window.innerWidth-document.documentElement.clientWidth,u={padding:Number.parseInt(i.paddingRight??"0",10)+a,margin:Number.parseInt(i.marginRight??"0",10)};a>0&&!o&&(document.body.style.paddingRight=`${u.padding}px`,document.body.style.marginRight=`${u.margin}px`,document.body.style.setProperty("--scrollbar-width",`${a}px`)),document.body.style.overflow="hidden",ee&&(xt=F(document,"touchmove",v=>{v.target===document.documentElement&&(v.touches.length>1||v.preventDefault())},{passive:!1})),Ft(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})}),tt(()=>()=>{xt?.()}),{get lockMap(){return bt},resetBodyStyle:n,scheduleCleanupIfNoNewLocks:e,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}});class ss{#t=es();#e;#n=()=>null;#r;locked;constructor(t,e=()=>null){this.#e=t,this.#n=e,this.#r=rs.get(),this.#r&&(this.#r.cancelPendingCleanup(),this.#r.ensureInitialStyleCaptured(),this.#r.lockMap.set(this.#t,this.#e??!1),this.locked=m(()=>this.#r.lockMap.get(this.#t)??!1,r=>this.#r.lockMap.set(this.#t,r)),tt(()=>{if(this.#r.lockMap.delete(this.#t),Re(this.#r.lockMap))return;const r=this.#n();this.#r.scheduleCleanupIfNoNewLocks(r,()=>{this.#r.resetBodyStyle()})}))}}function Re(n){for(const[t,e]of n)if(e)return!0;return!1}function le(n,t){P(t,!0);let e=h(t,"preventScroll",3,!0),r=h(t,"restoreScrollDelay",3,null);e()&&new ss(e(),()=>r()),I()}var os=L("<div><!></div>");function is(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"forceMount",3,!1),i=h(t,"ref",15,null),o=O(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=jt.create({id:m(()=>r()),ref:m(()=>i(),y=>i(y))}),c=T(()=>W(o,a.props));var u=E(),v=w(u);{var g=y=>{var p=E(),l=w(p);{var f=_=>{var R=E(),D=w(R);{let H=T(()=>({props:W(d(c)),...a.snippetProps}));A(D,()=>t.child,()=>d(H))}b(_,R)},C=_=>{var R=os();j(R,H=>({...H}),[()=>W(d(c))]);var D=K(R);A(D,()=>t.children??N,()=>a.snippetProps),G(R),b(_,R)};V(l,_=>{t.child?_(f):_(C,-1)})}b(y,p)};V(v,y=>{(a.shouldRender||s())&&y(g)})}b(n,u),I()}var as=L("<div><!></div>");function us(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=O(t,["$$slots","$$events","$$legacy","id","children","child","ref"]);const o=Vt.create({id:m(()=>r()),ref:m(()=>s(),y=>s(y))}),a=T(()=>W(i,o.props));var c=E(),u=w(c);{var v=y=>{var p=E(),l=w(p);A(l,()=>t.child,()=>({props:d(a)})),b(y,p)},g=y=>{var p=as();j(p,()=>({...d(a)}));var l=K(p);A(l,()=>t.children??N),G(p),b(y,p)};V(u,y=>{t.child?y(v):y(g,-1)})}b(n,c),I()}function cs(n,t){P(t,!0);let e=h(t,"open",15,!1),r=h(t,"onOpenChange",3,k),s=h(t,"onOpenChangeComplete",3,k);Mt.create({variant:m(()=>"dialog"),open:m(()=>e(),a=>{e(a),r()(a)}),onOpenChangeComplete:m(()=>s())});var i=E(),o=w(i);A(o,()=>t.children??N),b(n,i),I()}var ls=L("<button><!></button>");function ds(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=h(t,"disabled",3,!1),o=O(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=Lt.create({variant:m(()=>"close"),id:m(()=>r()),ref:m(()=>s(),p=>s(p)),disabled:m(()=>!!i())}),c=T(()=>W(o,a.props));var u=E(),v=w(u);{var g=p=>{var l=E(),f=w(l);A(f,()=>t.child,()=>({props:d(c)})),b(p,l)},y=p=>{var l=ls();j(l,()=>({...d(c)}));var f=K(l);A(f,()=>t.children??N),G(l),b(p,l)};V(v,p=>{t.child?p(g):p(y,-1)})}b(n,u),I()}var fs=L("<!> <!>",1),hs=L("<!> <div><!></div>",1);function ps(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=h(t,"forceMount",3,!1),o=h(t,"onCloseAutoFocus",3,k),a=h(t,"onOpenAutoFocus",3,k),c=h(t,"onEscapeKeydown",3,k),u=h(t,"onInteractOutside",3,k),v=h(t,"trapFocus",3,!0),g=h(t,"preventScroll",3,!0),y=h(t,"restoreScrollDelay",3,null),p=O(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const l=Wt.create({id:m(()=>r()),ref:m(()=>s(),D=>s(D))}),f=T(()=>W(p,l.props));var C=E(),_=w(C);{var R=D=>{Jr(D,{get ref(){return l.opts.ref},loop:!0,get trapFocus(){return v()},get enabled(){return l.root.opts.open.current},get onOpenAutoFocus(){return a()},get onCloseAutoFocus(){return o()},focusScope:(At,Pt)=>{let ht=()=>Pt?.().props;Zr(At,M(()=>d(f),{get enabled(){return l.root.opts.open.current},get ref(){return l.opts.ref},onEscapeKeydown:Z=>{c()(Z),!Z.defaultPrevented&&l.root.handleClose()},children:(Z,Fe)=>{qr(Z,M(()=>d(f),{get ref(){return l.opts.ref},get enabled(){return l.root.opts.open.current},onInteractOutside:X=>{u()(X),!X.defaultPrevented&&l.root.handleClose()},children:(X,Xt)=>{ts(X,M(()=>d(f),{get ref(){return l.opts.ref},get enabled(){return l.root.opts.open.current},children:(Me,Ps)=>{var qt=E(),Le=w(qt);{var Be=J=>{var nt=fs(),rt=w(nt);{var st=q=>{le(q,{get preventScroll(){return g()},get restoreScrollDelay(){return y()}})};V(rt,q=>{l.root.opts.open.current&&q(st)})}var It=ct(rt,2);{let q=T(()=>({props:W(d(f),ht()),...l.snippetProps}));A(It,()=>t.child,()=>d(q))}b(J,nt)},Ve=J=>{var nt=hs(),rt=w(nt);le(rt,{get preventScroll(){return g()}});var st=ct(rt,2);j(st,q=>({...q}),[()=>W(d(f),ht())]);var It=K(st);A(It,()=>t.children??N),G(st),b(J,nt)};V(Le,J=>{t.child?J(Be):J(Ve,-1)})}b(Me,qt)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};V(_,D=>{(l.shouldRender||i())&&D(R)})}b(n,C),I()}const gs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};var vs=We("<svg><!><!></svg>");function bs(n,t){P(t,!0);const e=h(t,"color",3,"currentColor"),r=h(t,"size",3,24),s=h(t,"strokeWidth",3,2),i=h(t,"absoluteStrokeWidth",3,!1),o=h(t,"iconNode",19,()=>[]),a=O(t,["$$slots","$$events","$$legacy","name","color","size","strokeWidth","absoluteStrokeWidth","iconNode","children"]);var c=vs();j(c,g=>({...gs,...a,width:r(),height:r(),stroke:e(),"stroke-width":g,class:["lucide-icon lucide",t.name&&`lucide-${t.name}`,t.class]}),[()=>i()?Number(s())*24/Number(r()):s()]);var u=K(c);sn(u,17,o,an,(g,y)=>{var p=T(()=>tn(d(y),2));let l=()=>d(p)[0],f=()=>d(p)[1];var C=E(),_=w(C);on(_,l,!0,(R,D)=>{j(R,()=>({...f()}))}),b(g,C)});var v=ct(u);A(v,()=>t.children??N),G(c),b(n,c),I()}function ms(n,t){P(t,!0);let e=O(t,["$$slots","$$events","$$legacy"]);const r=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];bs(n,M({name:"x"},()=>e,{get iconNode(){return r},children:(s,i)=>{var o=E(),a=w(o);A(a,()=>t.children??N),b(s,o)},$$slots:{default:!0}})),I()}function Ls(n,t){P(t,!0);let e=h(t,"open",15,!1),r=O(t,["$$slots","$$events","$$legacy","open"]);var s=E(),i=w(s);z(i,()=>cs,(o,a)=>{a(o,M(()=>r,{get open(){return e()},set open(c){e(c)}}))}),b(n,s),I()}function ys(n,t){let e=O(t,["$$slots","$$events","$$legacy"]);var r=E(),s=w(r);z(s,()=>Cr,(i,o)=>{o(i,M(()=>e))}),b(n,r)}function Bs(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class"]);var s=E(),i=w(s);{let o=T(()=>$("text-lg leading-none font-semibold",t.class));z(i,()=>vr,(a,c)=>{c(a,M({"data-slot":"dialog-title",get class(){return d(o)}},()=>r,{get ref(){return e()},set ref(u){e(u)}}))})}b(n,s),I()}var ws=L("<div><!></div>");function Vs(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class","children"]);var s=ws();j(s,o=>({"data-slot":"dialog-footer",class:o,...r}),[()=>$("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t.class)]);var i=K(s);A(i,()=>t.children??N),G(s),de(s,o=>e(o),()=>e()),b(n,s),I()}var Ss=L("<div><!></div>");function Ws(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class","children"]);var s=Ss();j(s,o=>({"data-slot":"dialog-header",class:o,...r}),[()=>$("flex flex-col gap-2 text-center sm:text-start",t.class)]);var i=K(s);A(i,()=>t.children??N),G(s),de(s,o=>e(o),()=>e()),b(n,s),I()}function Es(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class"]);var s=E(),i=w(s);{let o=T(()=>$("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t.class));z(i,()=>is,(a,c)=>{c(a,M({"data-slot":"dialog-overlay",get class(){return d(o)}},()=>r,{get ref(){return e()},set ref(u){e(u)}}))})}b(n,s),I()}var Ts=L('<!> <span class="sr-only">Close</span>',1),Cs=L("<!> <!>",1),As=L("<!> <!>",1);function js(n,t){P(t,!0);let e=h(t,"ref",15,null),r=h(t,"showCloseButton",3,!0),s=O(t,["$$slots","$$events","$$legacy","ref","class","portalProps","children","showCloseButton"]);ys(n,M(()=>t.portalProps,{children:(i,o)=>{var a=As(),c=w(a);z(c,()=>Es,(v,g)=>{g(v,{})});var u=ct(c,2);{let v=T(()=>$("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t.class));z(u,()=>ps,(g,y)=>{y(g,M({"data-slot":"dialog-content",get class(){return d(v)}},()=>s,{get ref(){return e()},set ref(p){e(p)},children:(p,l)=>{var f=Cs(),C=w(f);A(C,()=>t.children??N);var _=ct(C,2);{var R=D=>{var H=E(),At=w(H);z(At,()=>ds,(Pt,ht)=>{ht(Pt,{class:"ring-offset-background focus:ring-ring absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:(Z,Fe)=>{var X=Ts(),Xt=w(X);ms(Xt,{}),en(2),b(Z,X)},$$slots:{default:!0}})}),b(D,H)};V(_,D=>{r()&&D(R)})}b(p,f)},$$slots:{default:!0}}))})}b(i,a)},$$slots:{default:!0}})),I()}function zs(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class"]);var s=E(),i=w(s);{let o=T(()=>$("text-muted-foreground text-sm",t.class));z(i,()=>us,(a,c)=>{c(a,M({"data-slot":"dialog-description",get class(){return d(o)}},()=>r,{get ref(){return e()},set ref(u){e(u)}}))})}b(n,s),I()}function Us(n,t){const e=rn(t,["children","$$slots","$$events","$$legacy"]);const r=[["path",{d:"M12 8V4H8"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}],["path",{d:"M2 14h2"}],["path",{d:"M20 14h2"}],["path",{d:"M15 13v2"}],["path",{d:"M9 13v2"}]];un(n,M({name:"bot"},()=>e,{get iconNode(){return r},children:(s,i)=>{var o=E(),a=w(o);cn(a,t,"default",{}),b(s,o)},$$slots:{default:!0}}))}export{k as A,Us as B,ge as C,js as D,Zr as E,Jr as F,Cr as G,cs as H,bs as I,is as J,ps as K,ds as L,vr as M,us as N,re as P,le as S,ts as T,ms as X,Ws as a,Bs as b,zs as c,Vs as d,Ls as e,Hn as f,ft as g,Ce as h,m as i,et as j,pt as k,Ms as l,W as m,zn as n,or as o,qr as p,sr as q,Rs as r,yn as s,tt as t,es as u,ye as v,B as w,Fs as x,yt as y,we as z};
|
|
5
|
+
`," ")),t.hidden===!1&&(t.hidden=void 0,delete t.hidden),t.disabled===!1&&(t.disabled=void 0,delete t.disabled),t}const qn=typeof window<"u"?window:void 0;function Hn(n){let t=n.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}class Xn{#t;#e;constructor(t={}){const{window:e=qn,document:r=e?.document}=t;e!==void 0&&(this.#t=r,this.#e=ln(s=>{const i=F(e,"focusin",s),o=F(e,"focusout",s);return()=>{i(),o()}}))}get current(){return this.#e?.(),this.#t?Hn(this.#t):null}}new Xn;class ge{#t;#e;constructor(t){this.#t=t,this.#e=Symbol(t)}get key(){return this.#e}exists(){return Xe(this.#e)}get(){const t=Zt(this.#e);if(t===void 0)throw new Error(`Context "${this.#t}" not found`);return t}getOr(t){const e=Zt(this.#e);return e===void 0?t:e}set(t){return Ye(this.#e,t)}}function Yn(n,t){switch(n){case"post":Ct(t);break;case"pre":Ze(t);break}}function ve(n,t,e,r={}){const{lazy:s=!1}=r;let i=!s,o=Array.isArray(n)?[]:void 0;Yn(t,()=>{const a=Array.isArray(n)?n.map(u=>u()):n();if(!i){i=!0,o=a;return}const c=Ot(()=>e(a,o));return o=a,c})}function B(n,t,e){ve(n,"post",t,e)}function Zn(n,t,e){ve(n,"pre",t,e)}B.pre=Zn;function tt(n){Ct(()=>()=>{n()})}function Jn(n,t){return setTimeout(t,n)}function Ft(n){Je().then(n)}const Qn=1,$n=9,tr=11;function Dt(n){return dt(n)&&n.nodeType===Qn&&typeof n.nodeName=="string"}function be(n){return dt(n)&&n.nodeType===$n}function er(n){return dt(n)&&n.constructor?.name==="VisualViewport"}function nr(n){return dt(n)&&n.nodeType!==void 0}function me(n){return nr(n)&&n.nodeType===tr&&"host"in n}function rr(n,t){if(!n||!t||!Dt(n)||!Dt(t))return!1;const e=t.getRootNode?.();if(n===t||n.contains(t))return!0;if(e&&me(e)){let r=t;for(;r;){if(n===r)return!0;r=r.parentNode||r.host}}return!1}function sr(n){return be(n)?n:er(n)?n.document:n?.ownerDocument??document}function or(n){return me(n)?or(n.host):be(n)?n.defaultView??window:Dt(n)?n.ownerDocument?.defaultView??window:window}function ir(n){let t=n.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}class ye{element;#t=T(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return d(this.#t)}set root(t){S(this.#t,t)}constructor(t){typeof t=="function"?this.element=m(t):this.element=t}getDocument=()=>sr(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>ir(this.root);isActiveElement=t=>t===this.getActiveElement();getElementById(t){return this.root.getElementById(t)}querySelector=t=>this.root?this.root.querySelector(t):null;querySelectorAll=t=>this.root?this.root.querySelectorAll(t):[];setTimeout=(t,e)=>this.getWindow().setTimeout(t,e);clearTimeout=t=>this.getWindow().clearTimeout(t)}function et(n,t){return{[hn()]:e=>mn(n)?(n.current=e,Ot(()=>t?.(e)),()=>{"isConnected"in e&&e.isConnected||(n.current=null,t?.(null))}):(n(e),Ot(()=>t?.(e)),()=>{"isConnected"in e&&e.isConnected||(n(null),t?.(null))})}}function ar(n){return n?"true":"false"}function yt(n){return n?"":void 0}function ur(n){return n?"open":"closed"}class cr{#t;#e;attrs;constructor(t){this.#t=t.getVariant?t.getVariant():null,this.#e=this.#t?`data-${this.#t}-`:`data-${t.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(t.parts.map(e=>[e,this.getAttr(e)]))}getAttr(t,e){return e?`data-${e}-${t}`:`${this.#e}${t}`}selector(t,e){return`[${this.getAttr(t,e)}]`}}function we(n){const t=new cr(n);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}const Se="Enter",lr="Escape",Ee=" ",Te=typeof document<"u",ee=dr();function dr(){return Te&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ne(n){return n instanceof HTMLElement}function Rs(n){return n instanceof Element}function fr(n){return n instanceof Element||n instanceof SVGElement}function Fs(n){return n.matches(":focus-visible")}function Ms(n){return n!==null}class hr{#t;#e=null;constructor(t){this.#t=t,tt(()=>this.#n())}#n(){this.#e&&(window.cancelAnimationFrame(this.#e),this.#e=null)}run(t){this.#n();const e=this.#t.ref.current;if(e){if(typeof e.getAnimations!="function"){this.#r(t);return}this.#e=window.requestAnimationFrame(()=>{const r=e.getAnimations();if(r.length===0){this.#r(t);return}Promise.allSettled(r.map(s=>s.finished)).then(()=>{this.#r(t)})})}}#r(t){const e=()=>{t()};this.#t.afterTick?Ft(e):e()}}class re{#t;#e;#n;#r=x(!1);constructor(t){this.#t=t,S(this.#r,t.open.current,!0),this.#e=t.enabled??!0,this.#n=new hr({ref:this.#t.ref,afterTick:this.#t.open}),B(()=>this.#t.open.current,e=>{e&&S(this.#r,!0),this.#e&&this.#n.run(()=>{e===this.#t.open.current&&(this.#t.open.current||S(this.#r,!1),this.#t.onComplete?.())})})}get shouldRender(){return d(this.#r)}}function k(){}function ft(n,t){return`bits-${n}`}const pr=we({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),U=new ge("Dialog.Root | AlertDialog.Root");class Mt{static create(t){const e=U.getOr(null);return U.set(new Mt(t,e))}opts;#t=x(null);get triggerNode(){return d(this.#t)}set triggerNode(t){S(this.#t,t,!0)}#e=x(null);get contentNode(){return d(this.#e)}set contentNode(t){S(this.#e,t,!0)}#n=x(null);get overlayNode(){return d(this.#n)}set overlayNode(t){S(this.#n,t,!0)}#r=x(null);get descriptionNode(){return d(this.#r)}set descriptionNode(t){S(this.#r,t,!0)}#s=x(void 0);get contentId(){return d(this.#s)}set contentId(t){S(this.#s,t,!0)}#o=x(void 0);get titleId(){return d(this.#o)}set titleId(t){S(this.#o,t,!0)}#u=x(void 0);get triggerId(){return d(this.#u)}set triggerId(t){S(this.#u,t,!0)}#i=x(void 0);get descriptionId(){return d(this.#i)}set descriptionId(t){S(this.#i,t,!0)}#l=x(null);get cancelNode(){return d(this.#l)}set cancelNode(t){S(this.#l,t,!0)}#c=x(0);get nestedOpenCount(){return d(this.#c)}set nestedOpenCount(t){S(this.#c,t,!0)}depth;parent;contentPresence;overlayPresence;constructor(t,e){this.opts=t,this.parent=e,this.depth=e?e.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new re({ref:m(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new re({ref:m(()=>this.overlayNode),open:this.opts.open,enabled:!0}),B(()=>this.opts.open.current,r=>{this.parent&&(r?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),tt(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=t=>pr.getAttr(t,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#a=T(()=>({"data-state":ur(this.opts.open.current)}));get sharedProps(){return d(this.#a)}set sharedProps(t){S(this.#a,t)}}class Ce{static create(t){return new Ce(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref,r=>{this.root.triggerNode=r,this.root.triggerId=r?.id}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(t){this.opts.disabled.current||t.button>0||this.root.handleOpen()}onkeydown(t){this.opts.disabled.current||(t.key===Ee||t.key===Se)&&(t.preventDefault(),this.root.handleOpen())}#t=T(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":ar(this.root.opts.open.current),"aria-controls":this.root.contentId,[this.root.getBitsAttr("trigger")]:"",onkeydown:this.onkeydown,onclick:this.onclick,disabled:this.opts.disabled.current?!0:void 0,...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Lt{static create(t){return new Lt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(t){this.opts.disabled.current||t.button>0||this.root.handleClose()}onkeydown(t){this.opts.disabled.current||(t.key===Ee||t.key===Se)&&(t.preventDefault(),this.root.handleClose())}#t=T(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Bt{static create(t){return new Bt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.root.titleId=this.opts.id.current,this.attachment=et(this.opts.ref),B.pre(()=>this.opts.id.current,r=>{this.root.titleId=r})}#t=T(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Vt{static create(t){return new Vt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.root.descriptionId=this.opts.id.current,this.attachment=et(this.opts.ref,r=>{this.root.descriptionNode=r}),B.pre(()=>this.opts.id.current,r=>{this.root.descriptionId=r})}#t=T(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment}));get props(){return d(this.#t)}set props(t){S(this.#t,t)}}class Wt{static create(t){return new Wt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref,r=>{this.root.contentNode=r,this.root.contentId=r?.id})}#t=T(()=>({open:this.root.opts.open.current}));get snippetProps(){return d(this.#t)}set snippetProps(t){S(this.#t,t)}#e=T(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":yt(this.root.nestedOpenCount>0),"data-nested":yt(this.root.parent!==null),...this.root.sharedProps,...this.attachment}));get props(){return d(this.#e)}set props(t){S(this.#e,t)}get shouldRender(){return this.root.contentPresence.shouldRender}}class jt{static create(t){return new jt(t,U.get())}opts;root;attachment;constructor(t,e){this.opts=t,this.root=e,this.attachment=et(this.opts.ref,r=>this.root.overlayNode=r)}#t=T(()=>({open:this.root.opts.open.current}));get snippetProps(){return d(this.#t)}set snippetProps(t){S(this.#t,t)}#e=T(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":yt(this.root.nestedOpenCount>0),"data-nested":yt(this.root.parent!==null),...this.root.sharedProps,...this.attachment}));get props(){return d(this.#e)}set props(t){S(this.#e,t)}get shouldRender(){return this.root.overlayPresence.shouldRender}}var gr=L("<div><!></div>");function vr(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=h(t,"level",3,2),o=O(t,["$$slots","$$events","$$legacy","id","ref","child","children","level"]);const a=Bt.create({id:m(()=>r()),level:m(()=>i()),ref:m(()=>s(),p=>s(p))}),c=T(()=>W(o,a.props));var u=E(),v=w(u);{var g=p=>{var l=E(),f=w(l);A(f,()=>t.child,()=>({props:d(c)})),b(p,l)},y=p=>{var l=gr();j(l,()=>({...d(c)}));var f=K(l);A(f,()=>t.children??N),G(l),b(p,l)};V(v,p=>{t.child?p(g):p(y,-1)})}b(n,u),I()}function br(n,t){var e=E(),r=w(e);gn(r,()=>t.children,s=>{var i=E(),o=w(i);A(o,()=>t.children??N),b(s,i)}),b(n,e)}const mr=new ge("BitsConfig");function yr(){const n=new wr(null,{});return mr.getOr(n).opts}class wr{opts;constructor(t,e){const r=Sr(t,e);this.opts={defaultPortalTo:r(s=>s.defaultPortalTo),defaultLocale:r(s=>s.defaultLocale)}}}function Sr(n,t){return e=>m(()=>{const s=e(t)?.current;if(s!==void 0)return s;if(n!==null)return e(n.opts)?.current})}function Er(n,t){return e=>{const r=yr();return m(()=>{const s=e();if(s!==void 0)return s;const i=n(r).current;return i!==void 0?i:t})}}const Tr=Er(n=>n.defaultPortalTo,"body");function Cr(n,t){P(t,!0);const e=Tr(()=>t.to),r=Qe();let s=T(i);function i(){if(!Te||t.disabled)return null;let g=null;return typeof e.current=="string"?g=document.querySelector(e.current):g=e.current,g}let o;function a(){o&&(fn(o),o=null)}B([()=>d(s),()=>t.disabled],([g,y])=>{if(!g||y){a();return}return o=dn(br,{target:g,props:{children:t.children},context:r}),()=>{a()}});var c=E(),u=w(c);{var v=g=>{var y=E(),p=w(y);A(p,()=>t.children??N),b(g,y)};V(u,g=>{t.disabled&&g(v)})}b(n,c),I()}function se(n,t=500){let e=null;const r=(...s)=>{e!==null&&clearTimeout(e),e=setTimeout(()=>{n(...s)},t)};return r.destroy=()=>{e!==null&&(clearTimeout(e),e=null)},r}function Ae(n,t){return n===t||n.contains(t)}function Pe(n){return n?.ownerDocument??document}function Ar(n,t){const{clientX:e,clientY:r}=n,s=t.getBoundingClientRect();return e<s.left||e>s.right||r<s.top||r>s.bottom}var Ie=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Rt=Ie.join(","),ke=typeof Element>"u",Q=ke?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wt=!ke&&Element.prototype.getRootNode?function(n){var t;return n==null||(t=n.getRootNode)===null||t===void 0?void 0:t.call(n)}:function(n){return n?.ownerDocument},St=function(t,e){var r;e===void 0&&(e=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=s===""||s==="true",o=i||e&&t&&(typeof t.closest=="function"?t.closest("[inert]"):St(t.parentNode));return o},Pr=function(t){var e,r=t==null||(e=t.getAttribute)===null||e===void 0?void 0:e.call(t,"contenteditable");return r===""||r==="true"},xe=function(t,e,r){if(St(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Rt));return e&&Q.call(t,Rt)&&s.unshift(t),s=s.filter(r),s},Et=function(t,e,r){for(var s=[],i=Array.from(t);i.length;){var o=i.shift();if(!St(o,!1))if(o.tagName==="SLOT"){var a=o.assignedElements(),c=a.length?a:o.children,u=Et(c,!0,r);r.flatten?s.push.apply(s,u):s.push({scopeParent:o,candidates:u})}else{var v=Q.call(o,Rt);v&&r.filter(o)&&(e||!t.includes(o))&&s.push(o);var g=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),y=!St(g,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(o));if(g&&y){var p=Et(g===!0?o.children:g.children,!0,r);r.flatten?s.push.apply(s,p):s.push({scopeParent:o,candidates:p})}else i.unshift.apply(i,o.children)}}return s},Ne=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Oe=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Pr(t))&&!Ne(t)?0:t.tabIndex},Ir=function(t,e){var r=Oe(t);return r<0&&e&&!Ne(t)?0:r},kr=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},_e=function(t){return t.tagName==="INPUT"},xr=function(t){return _e(t)&&t.type==="hidden"},Nr=function(t){var e=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return e},Or=function(t,e){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===e)return t[r]},_r=function(t){if(!t.name)return!0;var e=t.form||wt(t),r=function(a){return e.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=Or(s,t.form);return!i||i===t},Dr=function(t){return _e(t)&&t.type==="radio"},Rr=function(t){return Dr(t)&&!_r(t)},Fr=function(t){var e,r=t&&wt(t),s=(e=r)===null||e===void 0?void 0:e.host,i=!1;if(r&&r!==t){var o,a,c;for(i=!!((o=s)!==null&&o!==void 0&&(a=o.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!i&&s;){var u,v,g;r=wt(s),s=(u=r)===null||u===void 0?void 0:u.host,i=!!((v=s)!==null&&v!==void 0&&(g=v.ownerDocument)!==null&&g!==void 0&&g.contains(s))}}return i},oe=function(t){var e=t.getBoundingClientRect(),r=e.width,s=e.height;return r===0&&s===0},Mr=function(t,e){var r=e.displayCheck,s=e.getShadowRoot;if(r==="full-native"&&"checkVisibility"in t){var i=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!i}if(getComputedStyle(t).visibility==="hidden")return!0;var o=Q.call(t,"details>summary:first-of-type"),a=o?t.parentElement:t;if(Q.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof s=="function"){for(var c=t;t;){var u=t.parentElement,v=wt(t);if(u&&!u.shadowRoot&&s(u)===!0)return oe(t);t.assignedSlot?t=t.assignedSlot:!u&&v!==t.ownerDocument?t=v.host:t=u}t=c}if(Fr(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return oe(t);return!1},Lr=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if(e.tagName==="FIELDSET"&&e.disabled){for(var r=0;r<e.children.length;r++){var s=e.children.item(r);if(s.tagName==="LEGEND")return Q.call(e,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}e=e.parentElement}return!1},Tt=function(t,e){return!(e.disabled||xr(e)||Mr(e,t)||Nr(e)||Lr(e))},ie=function(t,e){return!(Rr(e)||Oe(e)<0||!Tt(t,e))},Br=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},De=function(t){var e=[],r=[];return t.forEach(function(s,i){var o=!!s.scopeParent,a=o?s.scopeParent:s,c=Ir(a,o),u=o?De(s.candidates):a;c===0?o?e.push.apply(e,u):e.push(a):r.push({documentOrder:i,tabIndex:c,item:s,isScope:o,content:u})}),r.sort(kr).reduce(function(s,i){return i.isScope?s.push.apply(s,i.content):s.push(i.content),s},[]).concat(e)},Vr=function(t,e){e=e||{};var r;return e.getShadowRoot?r=Et([t],e.includeContainer,{filter:ie.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:Br}):r=xe(t,e.includeContainer,ie.bind(null,e)),De(r)},Wr=function(t,e){e=e||{};var r;return e.getShadowRoot?r=Et([t],e.includeContainer,{filter:Tt.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):r=xe(t,e.includeContainer,Tt.bind(null,e)),r},jr=Ie.concat("iframe:not([inert]):not([inert] *)").join(","),zr=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return Q.call(t,jr)===!1?!1:Tt(e,t)};const Ur="data-context-menu-trigger",Kr="data-context-menu-content";we({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]});globalThis.bitsDismissableLayers??=new Map;class zt{static create(t){return new zt(t)}opts;#t;#e;#n={pointerdown:!1};#r=!1;#s=!1;#o=void 0;#u;#i=k;constructor(t){this.opts=t,this.#e=t.interactOutsideBehavior,this.#t=t.onInteractOutside,this.#u=t.onFocusOutside,Ct(()=>{this.#o=Pe(this.opts.ref.current)});let e=k;const r=()=>{this.#f(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),e()};B([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return Jn(1,()=>{this.opts.ref.current&&(globalThis.bitsDismissableLayers.set(this,this.#e),e(),e=this.#c())}),r}),tt(()=>{this.#f.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),this.#i(),e()})}#l=t=>{t.defaultPrevented||this.opts.ref.current&&Ft(()=>{!this.opts.ref.current||this.#v(t.target)||t.target&&!this.#s&&this.#u.current?.(t)})};#c(){return ut(F(this.#o,"pointerdown",ut(this.#h,this.#g),{capture:!0}),F(this.#o,"pointerdown",ut(this.#p,this.#d)),F(this.#o,"focusin",this.#l))}#a=t=>{let e=t;e.defaultPrevented&&(e=ae(t)),this.#t.current(t)};#d=se(t=>{if(!this.opts.ref.current){this.#i();return}const e=this.opts.isValidEvent.current(t,this.opts.ref.current)||Hr(t,this.opts.ref.current);if(!this.#r||this.#b()||!e){this.#i();return}let r=t;if(r.defaultPrevented&&(r=ae(r)),this.#e.current!=="close"&&this.#e.current!=="defer-otherwise-close"){this.#i();return}t.pointerType==="touch"?(this.#i(),this.#i=F(this.#o,"click",this.#a,{once:!0})):this.#t.current(r)},10);#h=t=>{this.#n[t.type]=!0};#p=t=>{this.#n[t.type]=!1};#g=()=>{this.opts.ref.current&&(this.#r=qr(this.opts.ref.current))};#v=t=>this.opts.ref.current?Ae(this.opts.ref.current,t):!1;#f=se(()=>{for(const t in this.#n)this.#n[t]=!1;this.#r=!1},20);#b(){return Object.values(this.#n).some(Boolean)}#m=()=>{this.#s=!0};#y=()=>{this.#s=!1};props={onfocuscapture:this.#m,onblurcapture:this.#y}}function Gr(n=[...globalThis.bitsDismissableLayers]){return n.findLast(([t,{current:e}])=>e==="close"||e==="ignore")}function qr(n){const t=[...globalThis.bitsDismissableLayers],e=Gr(t);if(e)return e[0].opts.ref.current===n;const[r]=t[0];return r.opts.ref.current===n}function Hr(n,t){const e=n.target;if(!fr(e))return!1;const r=!!e.closest(`[${Ur}]`);if("button"in n&&n.button>0&&!r)return!1;if("button"in n&&n.button===0&&r)return!0;const s=!!t.closest(`[${Kr}]`);return r&&s?!1:Pe(e).documentElement.contains(e)&&!Ae(t,e)&&Ar(n,t)}function ae(n){const t=n.currentTarget,e=n.target;let r;n instanceof PointerEvent?r=new PointerEvent(n.type,n):r=new PointerEvent("pointerdown",n);let s=!1;return new Proxy(r,{get:(o,a)=>a==="currentTarget"?t:a==="target"?e:a==="preventDefault"?()=>{s=!0,typeof o.preventDefault=="function"&&o.preventDefault()}:a==="defaultPrevented"?s:a in o?o[a]:n[a]})}function Xr(n,t){P(t,!0);let e=h(t,"interactOutsideBehavior",3,"close"),r=h(t,"onInteractOutside",3,k),s=h(t,"onFocusOutside",3,k),i=h(t,"isValidEvent",3,()=>!1);const o=zt.create({id:m(()=>t.id),interactOutsideBehavior:m(()=>e()),onInteractOutside:m(()=>r()),enabled:m(()=>t.enabled),onFocusOutside:m(()=>s()),isValidEvent:m(()=>i()),ref:t.ref});var a=E(),c=w(a);A(c,()=>t.children??N,()=>({props:o.props})),b(n,a),I()}globalThis.bitsEscapeLayers??=new Map;class Ut{static create(t){return new Ut(t)}opts;domContext;constructor(t){this.opts=t,this.domContext=new ye(this.opts.ref);let e=k;B(()=>t.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,t.escapeKeydownBehavior),e=this.#t()),()=>{e(),globalThis.bitsEscapeLayers.delete(this)}))}#t=()=>F(this.domContext.getDocument(),"keydown",this.#e,{passive:!1});#e=t=>{if(t.key!==lr||!Yr(this))return;const e=new KeyboardEvent(t.type,t);t.preventDefault();const r=this.opts.escapeKeydownBehavior.current;r!=="close"&&r!=="defer-otherwise-close"||this.opts.onEscapeKeydown.current(e)}}function Yr(n){const t=[...globalThis.bitsEscapeLayers],e=t.findLast(([s,{current:i}])=>i==="close"||i==="ignore");if(e)return e[0]===n;const[r]=t[0];return r===n}function Zr(n,t){P(t,!0);let e=h(t,"escapeKeydownBehavior",3,"close"),r=h(t,"onEscapeKeydown",3,k);Ut.create({escapeKeydownBehavior:m(()=>e()),onEscapeKeydown:m(()=>r()),enabled:m(()=>t.enabled),ref:t.ref});var s=E(),i=w(s);A(i,()=>t.children??N),b(n,s),I()}class Kt{static instance;#t=yn([]);#e=new WeakMap;#n=new WeakMap;static getInstance(){return this.instance||(this.instance=new Kt),this.instance}register(t){const e=this.getActive();e&&e!==t&&e.pause();const r=document.activeElement;r&&r!==document.body&&this.#n.set(t,r),this.#t.current=this.#t.current.filter(s=>s!==t),this.#t.current.unshift(t)}unregister(t){this.#t.current=this.#t.current.filter(r=>r!==t);const e=this.getActive();e&&e.resume()}getActive(){return this.#t.current[0]}setFocusMemory(t,e){this.#e.set(t,e)}getFocusMemory(t){return this.#e.get(t)}isActiveScope(t){return this.getActive()===t}setPreFocusMemory(t,e){this.#n.set(t,e)}getPreFocusMemory(t){return this.#n.get(t)}clearPreFocusMemory(t){this.#n.delete(t)}}class Gt{#t=!1;#e=null;#n=Kt.getInstance();#r=[];#s;constructor(t){this.#s=t}get paused(){return this.#t}pause(){this.#t=!0}resume(){this.#t=!1}#o(){for(const t of this.#r)t();this.#r=[]}mount(t){this.#e&&this.unmount(),this.#e=t,this.#n.register(this),this.#l(),this.#u()}unmount(){this.#e&&(this.#o(),this.#i(),this.#n.unregister(this),this.#n.clearPreFocusMemory(this),this.#e=null)}#u(){if(!this.#e)return;const t=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});this.#s.onOpenAutoFocus.current(t),t.defaultPrevented||requestAnimationFrame(()=>{if(!this.#e)return;const e=this.#a();e?(e.focus(),this.#n.setFocusMemory(this,e)):this.#e.focus()})}#i(){const t=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if(this.#s.onCloseAutoFocus.current?.(t),!t.defaultPrevented){const e=this.#n.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#l(){if(!this.#e||!this.#s.trap.current)return;const t=this.#e,e=t.ownerDocument,r=o=>{if(this.#t||!this.#n.isActiveScope(this))return;const a=o.target;if(!a)return;if(t.contains(a))this.#n.setFocusMemory(this,a);else{const u=this.#n.getFocusMemory(this);if(u&&t.contains(u)&&zr(u))o.preventDefault(),u.focus();else{const v=this.#a(),g=this.#d()[0];(v||g||t).focus()}}},s=o=>{if(!this.#s.loop||this.#t||o.key!=="Tab"||!this.#n.isActiveScope(this))return;const a=this.#c();if(a.length===0)return;const c=a[0],u=a[a.length-1];!o.shiftKey&&e.activeElement===u?(o.preventDefault(),c.focus()):o.shiftKey&&e.activeElement===c&&(o.preventDefault(),u.focus())};this.#r.push(F(e,"focusin",r,{capture:!0}),F(t,"keydown",s));const i=new MutationObserver(()=>{const o=this.#n.getFocusMemory(this);if(o&&!t.contains(o)){const a=this.#a(),c=this.#d()[0],u=a||c;u?(u.focus(),this.#n.setFocusMemory(this,u)):t.focus()}});i.observe(t,{childList:!0,subtree:!0}),this.#r.push(()=>i.disconnect())}#c(){return this.#e?Vr(this.#e,{includeContainer:!1,getShadowRoot:!0}):[]}#a(){return this.#c()[0]||null}#d(){return this.#e?Wr(this.#e,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let e=null;return B([()=>t.ref.current,()=>t.enabled.current],([r,s])=>{r&&s?(e||(e=new Gt(t)),e.mount(r)):e&&(e.unmount(),e=null)}),tt(()=>{e?.unmount()}),{get props(){return{tabindex:-1}}}}}function Jr(n,t){P(t,!0);let e=h(t,"enabled",3,!1),r=h(t,"trapFocus",3,!1),s=h(t,"loop",3,!1),i=h(t,"onCloseAutoFocus",3,k),o=h(t,"onOpenAutoFocus",3,k);const a=Gt.use({enabled:m(()=>e()),trap:m(()=>r()),loop:s(),onCloseAutoFocus:m(()=>i()),onOpenAutoFocus:m(()=>o()),ref:t.ref});var c=E(),u=w(c);A(u,()=>t.focusScope??N,()=>({props:a.props})),b(n,c),I()}globalThis.bitsTextSelectionLayers??=new Map;class qt{static create(t){return new qt(t)}opts;domContext;#t=k;constructor(t){this.opts=t,this.domContext=new ye(t.ref);let e=k;B(()=>this.opts.enabled.current,r=>(r&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),e(),e=this.#e()),()=>{e(),this.#r(),globalThis.bitsTextSelectionLayers.delete(this)}))}#e(){return ut(F(this.domContext.getDocument(),"pointerdown",this.#n),F(this.domContext.getDocument(),"pointerup",he(this.#r,this.opts.onPointerUp.current)))}#n=t=>{const e=this.opts.ref.current,r=t.target;!ne(e)||!ne(r)||!this.opts.enabled.current||!$r(this)||!rr(e,r)||(this.opts.onPointerDown.current(t),!t.defaultPrevented&&(this.#t=Qr(e,this.domContext.getDocument().body)))};#r=()=>{this.#t(),this.#t=k}}const ue=n=>n.style.userSelect||n.style.webkitUserSelect;function Qr(n,t){const e=ue(t),r=ue(n);return gt(t,"none"),gt(n,"text"),()=>{gt(t,e),gt(n,r)}}function gt(n,t){n.style.userSelect=t,n.style.webkitUserSelect=t}function $r(n){const t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;const e=t.at(-1);return e?e[0]===n:!1}function ts(n,t){P(t,!0);let e=h(t,"preventOverflowTextSelection",3,!0),r=h(t,"onPointerDown",3,k),s=h(t,"onPointerUp",3,k);qt.create({id:m(()=>t.id),onPointerDown:m(()=>r()),onPointerUp:m(()=>s()),enabled:m(()=>t.enabled&&e()),ref:t.ref});var i=E(),o=w(i);A(o,()=>t.children??N),b(n,i),I()}globalThis.bitsIdCounter??={current:0};function es(n="bits"){return globalThis.bitsIdCounter.current++,`${n}-${globalThis.bitsIdCounter.current}`}class ns{#t;#e=0;#n=x();#r;constructor(t){this.#t=t}#s(){this.#e-=1,this.#r&&this.#e<=0&&(this.#r(),S(this.#n,void 0),this.#r=void 0)}get(...t){return this.#e+=1,d(this.#n)===void 0&&(this.#r=$e(()=>{S(this.#n,this.#t(...t),!0)})),Ct(()=>()=>{this.#s()}),d(this.#n)}}const bt=new vn;let vt=x(null),xt=null,it=null,at=!1;const ce=m(()=>{for(const n of bt.values())if(n)return!0;return!1});let Nt=null;const rs=new ns(()=>{function n(){document.body.setAttribute("style",d(vt)??""),document.body.style.removeProperty("--scrollbar-width"),ee&&xt?.(),S(vt,null)}function t(){it!==null&&(window.clearTimeout(it),it=null)}function e(s,i){t(),at=!0,Nt=Date.now();const o=Nt,a=()=>{it=null,Nt===o&&(Re(bt)?at=!1:(at=!1,i()))},c=s===null?24:s;it=window.setTimeout(a,c)}function r(){d(vt)===null&&bt.size===0&&!at&&S(vt,document.body.getAttribute("style"),!0)}return B(()=>ce.current,()=>{if(!ce.current)return;r(),at=!1;const s=getComputedStyle(document.documentElement),i=getComputedStyle(document.body),o=s.scrollbarGutter?.includes("stable")||i.scrollbarGutter?.includes("stable"),a=window.innerWidth-document.documentElement.clientWidth,u={padding:Number.parseInt(i.paddingRight??"0",10)+a,margin:Number.parseInt(i.marginRight??"0",10)};a>0&&!o&&(document.body.style.paddingRight=`${u.padding}px`,document.body.style.marginRight=`${u.margin}px`,document.body.style.setProperty("--scrollbar-width",`${a}px`)),document.body.style.overflow="hidden",ee&&(xt=F(document,"touchmove",v=>{v.target===document.documentElement&&(v.touches.length>1||v.preventDefault())},{passive:!1})),Ft(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})}),tt(()=>()=>{xt?.()}),{get lockMap(){return bt},resetBodyStyle:n,scheduleCleanupIfNoNewLocks:e,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}});class ss{#t=es();#e;#n=()=>null;#r;locked;constructor(t,e=()=>null){this.#e=t,this.#n=e,this.#r=rs.get(),this.#r&&(this.#r.cancelPendingCleanup(),this.#r.ensureInitialStyleCaptured(),this.#r.lockMap.set(this.#t,this.#e??!1),this.locked=m(()=>this.#r.lockMap.get(this.#t)??!1,r=>this.#r.lockMap.set(this.#t,r)),tt(()=>{if(this.#r.lockMap.delete(this.#t),Re(this.#r.lockMap))return;const r=this.#n();this.#r.scheduleCleanupIfNoNewLocks(r,()=>{this.#r.resetBodyStyle()})}))}}function Re(n){for(const[t,e]of n)if(e)return!0;return!1}function le(n,t){P(t,!0);let e=h(t,"preventScroll",3,!0),r=h(t,"restoreScrollDelay",3,null);e()&&new ss(e(),()=>r()),I()}var os=L("<div><!></div>");function is(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"forceMount",3,!1),i=h(t,"ref",15,null),o=O(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=jt.create({id:m(()=>r()),ref:m(()=>i(),y=>i(y))}),c=T(()=>W(o,a.props));var u=E(),v=w(u);{var g=y=>{var p=E(),l=w(p);{var f=_=>{var R=E(),D=w(R);{let q=T(()=>({props:W(d(c)),...a.snippetProps}));A(D,()=>t.child,()=>d(q))}b(_,R)},C=_=>{var R=os();j(R,q=>({...q}),[()=>W(d(c))]);var D=K(R);A(D,()=>t.children??N,()=>a.snippetProps),G(R),b(_,R)};V(l,_=>{t.child?_(f):_(C,-1)})}b(y,p)};V(v,y=>{(a.shouldRender||s())&&y(g)})}b(n,u),I()}var as=L("<div><!></div>");function us(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=O(t,["$$slots","$$events","$$legacy","id","children","child","ref"]);const o=Vt.create({id:m(()=>r()),ref:m(()=>s(),y=>s(y))}),a=T(()=>W(i,o.props));var c=E(),u=w(c);{var v=y=>{var p=E(),l=w(p);A(l,()=>t.child,()=>({props:d(a)})),b(y,p)},g=y=>{var p=as();j(p,()=>({...d(a)}));var l=K(p);A(l,()=>t.children??N),G(p),b(y,p)};V(u,y=>{t.child?y(v):y(g,-1)})}b(n,c),I()}function cs(n,t){P(t,!0);let e=h(t,"open",15,!1),r=h(t,"onOpenChange",3,k),s=h(t,"onOpenChangeComplete",3,k);Mt.create({variant:m(()=>"dialog"),open:m(()=>e(),a=>{e(a),r()(a)}),onOpenChangeComplete:m(()=>s())});var i=E(),o=w(i);A(o,()=>t.children??N),b(n,i),I()}var ls=L("<button><!></button>");function ds(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=h(t,"disabled",3,!1),o=O(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=Lt.create({variant:m(()=>"close"),id:m(()=>r()),ref:m(()=>s(),p=>s(p)),disabled:m(()=>!!i())}),c=T(()=>W(o,a.props));var u=E(),v=w(u);{var g=p=>{var l=E(),f=w(l);A(f,()=>t.child,()=>({props:d(c)})),b(p,l)},y=p=>{var l=ls();j(l,()=>({...d(c)}));var f=K(l);A(f,()=>t.children??N),G(l),b(p,l)};V(v,p=>{t.child?p(g):p(y,-1)})}b(n,u),I()}var fs=L("<!> <!>",1),hs=L("<!> <div><!></div>",1);function ps(n,t){const e=lt();P(t,!0);let r=h(t,"id",19,()=>ft(e)),s=h(t,"ref",15,null),i=h(t,"forceMount",3,!1),o=h(t,"onCloseAutoFocus",3,k),a=h(t,"onOpenAutoFocus",3,k),c=h(t,"onEscapeKeydown",3,k),u=h(t,"onInteractOutside",3,k),v=h(t,"trapFocus",3,!0),g=h(t,"preventScroll",3,!0),y=h(t,"restoreScrollDelay",3,null),p=O(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const l=Wt.create({id:m(()=>r()),ref:m(()=>s(),D=>s(D))}),f=T(()=>W(p,l.props));var C=E(),_=w(C);{var R=D=>{Jr(D,{get ref(){return l.opts.ref},loop:!0,get trapFocus(){return v()},get enabled(){return l.root.opts.open.current},get onOpenAutoFocus(){return a()},get onCloseAutoFocus(){return o()},focusScope:(At,Pt)=>{let ht=()=>Pt?.().props;Zr(At,M(()=>d(f),{get enabled(){return l.root.opts.open.current},get ref(){return l.opts.ref},onEscapeKeydown:Z=>{c()(Z),!Z.defaultPrevented&&l.root.handleClose()},children:(Z,Fe)=>{Xr(Z,M(()=>d(f),{get ref(){return l.opts.ref},get enabled(){return l.root.opts.open.current},onInteractOutside:H=>{u()(H),!H.defaultPrevented&&l.root.handleClose()},children:(H,Ht)=>{ts(H,M(()=>d(f),{get ref(){return l.opts.ref},get enabled(){return l.root.opts.open.current},children:(Me,Ps)=>{var Xt=E(),Le=w(Xt);{var Be=J=>{var nt=fs(),rt=w(nt);{var st=X=>{le(X,{get preventScroll(){return g()},get restoreScrollDelay(){return y()}})};V(rt,X=>{l.root.opts.open.current&&X(st)})}var It=ct(rt,2);{let X=T(()=>({props:W(d(f),ht()),...l.snippetProps}));A(It,()=>t.child,()=>d(X))}b(J,nt)},Ve=J=>{var nt=hs(),rt=w(nt);le(rt,{get preventScroll(){return g()}});var st=ct(rt,2);j(st,X=>({...X}),[()=>W(d(f),ht())]);var It=K(st);A(It,()=>t.children??N),G(st),b(J,nt)};V(Le,J=>{t.child?J(Be):J(Ve,-1)})}b(Me,Xt)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};V(_,D=>{(l.shouldRender||i())&&D(R)})}b(n,C),I()}const gs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};var vs=We("<svg><!><!></svg>");function bs(n,t){P(t,!0);const e=h(t,"color",3,"currentColor"),r=h(t,"size",3,24),s=h(t,"strokeWidth",3,2),i=h(t,"absoluteStrokeWidth",3,!1),o=h(t,"iconNode",19,()=>[]),a=O(t,["$$slots","$$events","$$legacy","name","color","size","strokeWidth","absoluteStrokeWidth","iconNode","children"]);var c=vs();j(c,g=>({...gs,...a,width:r(),height:r(),stroke:e(),"stroke-width":g,class:["lucide-icon lucide",t.name&&`lucide-${t.name}`,t.class]}),[()=>i()?Number(s())*24/Number(r()):s()]);var u=K(c);sn(u,17,o,an,(g,y)=>{var p=T(()=>tn(d(y),2));let l=()=>d(p)[0],f=()=>d(p)[1];var C=E(),_=w(C);on(_,l,!0,(R,D)=>{j(R,()=>({...f()}))}),b(g,C)});var v=ct(u);A(v,()=>t.children??N),G(c),b(n,c),I()}function ms(n,t){P(t,!0);let e=O(t,["$$slots","$$events","$$legacy"]);const r=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];bs(n,M({name:"x"},()=>e,{get iconNode(){return r},children:(s,i)=>{var o=E(),a=w(o);A(a,()=>t.children??N),b(s,o)},$$slots:{default:!0}})),I()}function Ls(n,t){P(t,!0);let e=h(t,"open",15,!1),r=O(t,["$$slots","$$events","$$legacy","open"]);var s=E(),i=w(s);z(i,()=>cs,(o,a)=>{a(o,M(()=>r,{get open(){return e()},set open(c){e(c)}}))}),b(n,s),I()}function ys(n,t){let e=O(t,["$$slots","$$events","$$legacy"]);var r=E(),s=w(r);z(s,()=>Cr,(i,o)=>{o(i,M(()=>e))}),b(n,r)}function Bs(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class"]);var s=E(),i=w(s);{let o=T(()=>$("text-lg leading-none font-semibold",t.class));z(i,()=>vr,(a,c)=>{c(a,M({"data-slot":"dialog-title",get class(){return d(o)}},()=>r,{get ref(){return e()},set ref(u){e(u)}}))})}b(n,s),I()}var ws=L("<div><!></div>");function Vs(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class","children"]);var s=ws();j(s,o=>({"data-slot":"dialog-footer",class:o,...r}),[()=>$("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t.class)]);var i=K(s);A(i,()=>t.children??N),G(s),de(s,o=>e(o),()=>e()),b(n,s),I()}var Ss=L("<div><!></div>");function Ws(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class","children"]);var s=Ss();j(s,o=>({"data-slot":"dialog-header",class:o,...r}),[()=>$("flex flex-col gap-2 text-center sm:text-start",t.class)]);var i=K(s);A(i,()=>t.children??N),G(s),de(s,o=>e(o),()=>e()),b(n,s),I()}function Es(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class"]);var s=E(),i=w(s);{let o=T(()=>$("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t.class));z(i,()=>is,(a,c)=>{c(a,M({"data-slot":"dialog-overlay",get class(){return d(o)}},()=>r,{get ref(){return e()},set ref(u){e(u)}}))})}b(n,s),I()}var Ts=L('<!> <span class="sr-only">Close</span>',1),Cs=L("<!> <!>",1),As=L("<!> <!>",1);function js(n,t){P(t,!0);let e=h(t,"ref",15,null),r=h(t,"showCloseButton",3,!0),s=O(t,["$$slots","$$events","$$legacy","ref","class","portalProps","children","showCloseButton"]);ys(n,M(()=>t.portalProps,{children:(i,o)=>{var a=As(),c=w(a);z(c,()=>Es,(v,g)=>{g(v,{})});var u=ct(c,2);{let v=T(()=>$("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t.class));z(u,()=>ps,(g,y)=>{y(g,M({"data-slot":"dialog-content",get class(){return d(v)}},()=>s,{get ref(){return e()},set ref(p){e(p)},children:(p,l)=>{var f=Cs(),C=w(f);A(C,()=>t.children??N);var _=ct(C,2);{var R=D=>{var q=E(),At=w(q);z(At,()=>ds,(Pt,ht)=>{ht(Pt,{class:"ring-offset-background focus:ring-ring absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:(Z,Fe)=>{var H=Ts(),Ht=w(H);ms(Ht,{}),en(2),b(Z,H)},$$slots:{default:!0}})}),b(D,q)};V(_,D=>{r()&&D(R)})}b(p,f)},$$slots:{default:!0}}))})}b(i,a)},$$slots:{default:!0}})),I()}function zs(n,t){P(t,!0);let e=h(t,"ref",15,null),r=O(t,["$$slots","$$events","$$legacy","ref","class"]);var s=E(),i=w(s);{let o=T(()=>$("text-muted-foreground text-sm",t.class));z(i,()=>us,(a,c)=>{c(a,M({"data-slot":"dialog-description",get class(){return d(o)}},()=>r,{get ref(){return e()},set ref(u){e(u)}}))})}b(n,s),I()}function Us(n,t){const e=rn(t,["children","$$slots","$$events","$$legacy"]);const r=[["path",{d:"M12 8V4H8"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}],["path",{d:"M2 14h2"}],["path",{d:"M20 14h2"}],["path",{d:"M15 13v2"}],["path",{d:"M9 13v2"}]];un(n,M({name:"bot"},()=>e,{get iconNode(){return r},children:(s,i)=>{var o=E(),a=w(o);cn(a,t,"default",{}),b(s,o)},$$slots:{default:!0}}))}export{k as A,Us as B,ge as C,js as D,Zr as E,Jr as F,Cr as G,cs as H,bs as I,is as J,ps as K,ds as L,vr as M,us as N,re as P,le as S,ts as T,ms as X,Ws as a,Bs as b,zs as c,Vs as d,Ls as e,qn as f,ft as g,Ce as h,m as i,et as j,pt as k,Ms as l,W as m,zn as n,or as o,Xr as p,sr as q,Rs as r,yn as s,tt as t,es as u,ye as v,B as w,Fs as x,yt as y,we as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e,p as r}from"./
|
|
1
|
+
import{s as e,p as r}from"./Bv9252RM.js";const t={get error(){return r.error},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DYyUA1au.js","../chunks/BrERcKAH.js","../chunks/BmBj85Ll.js","../chunks/BiLeM2i1.js","../chunks/BhRSsUCh.js","../chunks/KsloHTKS.js","../chunks/DISKL3GN.js","../chunks/CIXNBPKi.js","../chunks/DcpaLzmX.js","../chunks/RsHsUj-8.js","../chunks/wpfV79dV.js","../chunks/Bv9252RM.js","../chunks/3AZlWB6U.js","../chunks/DnQ3vS13.js","../assets/0.C-4eziNy.css","../nodes/1.D-3QEMMZ.js","../nodes/2.4olHnH7U.js","../nodes/3.4w0bE-m2.js","../nodes/4.CZvjhVHt.js","../assets/4.Cc_xwLNl.css","../nodes/5.DLbPVJY2.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{y as x,ac as G,x as f,aH as H,ax as J,aI as K,p as W,aJ as Y,u as z,aK as F,f as w,s as Q,a as X,B as k,c as Z,r as $,A as L,t as tt}from"../chunks/BmBj85Ll.js";import{h as et,m as rt,u as st,s as at}from"../chunks/BhRSsUCh.js";import{a as E,c as A,f as V,t as nt}from"../chunks/BrERcKAH.js";import{o as ot}from"../chunks/BiLeM2i1.js";import{p as S,i as j,b as C}from"../chunks/KsloHTKS.js";import{c as I}from"../chunks/DcpaLzmX.js";function ct(o){return class extends it{constructor(t){super({component:o,...t})}}}class it{#e;#t;constructor(t){var a=new Map,i=(r,e)=>{var s=K(e,!1,!1);return a.set(r,s),s};const u=new Proxy({...t.props||{},$$events:{}},{get(r,e){return f(a.get(e)??i(e,Reflect.get(r,e)))},has(r,e){return e===G?!0:(f(a.get(e)??i(e,Reflect.get(r,e))),Reflect.has(r,e))},set(r,e,s){return x(a.get(e)??i(e,s),s),Reflect.set(r,e,s)}});this.#t=(t.hydrate?et:rt)(t.component,{target:t.target,anchor:t.anchor,props:u,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&H(),this.#e=u.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||J(this,r,{get(){return this.#t[r]},set(e){this.#t[r]=e},enumerable:!0});this.#t.$set=r=>{Object.assign(u,r)},this.#t.$destroy=()=>{st(this.#t)}}$set(t){this.#t.$set(t)}$on(t,a){this.#e[t]=this.#e[t]||[];const i=(...u)=>a.call(this,...u);return this.#e[t].push(i),()=>{this.#e[t]=this.#e[t].filter(u=>u!==i)}}$destroy(){this.#t.$destroy()}}const ut="modulepreload",lt=function(o,t){return new URL(o,t).href},D={},b=function(t,a,i){let u=Promise.resolve();if(a&&a.length>0){let O=function(c){return Promise.all(c.map(m=>Promise.resolve(m).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const e=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),R=s?.nonce||s?.getAttribute("nonce");u=O(a.map(c=>{if(c=lt(c,i),c in D)return;D[c]=!0;const m=c.endsWith(".css"),d=m?'[rel="stylesheet"]':"";if(i)for(let h=e.length-1;h>=0;h--){const n=e[h];if(n.href===c&&(!m||n.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const l=document.createElement("link");if(l.rel=m?"stylesheet":ut,m||(l.as="script"),l.crossOrigin="",l.href=c,R&&l.setAttribute("nonce",R),document.head.appendChild(l),m)return new Promise((h,n)=>{l.addEventListener("load",h),l.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(e){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=e,window.dispatchEvent(s),!s.defaultPrevented)throw e}return u.then(e=>{for(const s of e||[])s.status==="rejected"&&r(s.reason);return t().catch(r)})},pt={};var mt=V('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),ft=V("<!> <!>",1);function dt(o,t){W(t,!0);let a=S(t,"components",23,()=>[]),i=S(t,"data_0",3,null),u=S(t,"data_1",3,null);Y(()=>t.stores.page.set(t.page)),z(()=>{t.stores,t.page,t.constructors,a(),t.form,i(),u(),t.stores.page.notify()});let r=k(!1),e=k(!1),s=k(null);ot(()=>{const n=t.stores.page.subscribe(()=>{f(r)&&(x(e,!0),F().then(()=>{x(s,document.title||"untitled page",!0)}))});return x(r,!0),n});const R=L(()=>t.constructors[1]);var O=ft(),c=w(O);{var m=n=>{const _=L(()=>t.constructors[0]);var v=A(),P=w(v);I(P,()=>f(_),(g,y)=>{C(y(g,{get data(){return i()},get form(){return t.form},get params(){return t.page.params},children:(p,_t)=>{var T=A(),N=w(T);I(N,()=>f(R),(q,B)=>{C(B(q,{get data(){return u()},get form(){return t.form},get params(){return t.page.params}}),U=>a()[1]=U,()=>a()?.[1])}),E(p,T)},$$slots:{default:!0}}),p=>a()[0]=p,()=>a()?.[0])}),E(n,v)},d=n=>{const _=L(()=>t.constructors[0]);var v=A(),P=w(v);I(P,()=>f(_),(g,y)=>{C(y(g,{get data(){return i()},get form(){return t.form},get params(){return t.page.params}}),p=>a()[0]=p,()=>a()?.[0])}),E(n,v)};j(c,n=>{t.constructors[1]?n(m):n(d,-1)})}var l=Q(c,2);{var h=n=>{var _=mt(),v=Z(_);{var P=g=>{var y=nt();tt(()=>at(y,f(s))),E(g,y)};j(v,g=>{f(e)&&g(P)})}$(_),E(n,_)};j(l,n=>{f(r)&&n(h)})}E(o,O),X()}const Rt=ct(dt),Ot=[()=>b(()=>import("../nodes/0.DYyUA1au.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),()=>b(()=>import("../nodes/1.D-3QEMMZ.js"),__vite__mapDeps([15,1,2,4,10,11,3]),import.meta.url),()=>b(()=>import("../nodes/2.4olHnH7U.js"),__vite__mapDeps([16,1,2,7]),import.meta.url),()=>b(()=>import("../nodes/3.4w0bE-m2.js"),__vite__mapDeps([17,1,2,4,5,6,7,8,11,3,12,9]),import.meta.url),()=>b(()=>import("../nodes/4.CZvjhVHt.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,11,13,19]),import.meta.url),()=>b(()=>import("../nodes/5.DLbPVJY2.js"),__vite__mapDeps([20,1,2,4,5,6,7,11,3,12]),import.meta.url)],wt=[],xt={"/":[2],"/agents":[3],"/chats/[id]":[4],"/chats/[id]/settings":[5]},M={handleError:(({error:o})=>{console.error(o)}),reroute:(()=>{}),transport:{}},ht=Object.fromEntries(Object.entries(M.transport).map(([o,t])=>[o,t.decode])),kt=Object.fromEntries(Object.entries(M.transport).map(([o,t])=>[o,t.encode])),Lt=!1,At=(o,t)=>ht[o](t);export{At as decode,ht as decoders,xt as dictionary,kt as encoders,Lt as hash,M as hooks,pt as matchers,Ot as nodes,Rt as root,wt as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/Bv9252RM.js";export{o as load_css,r as start};
|