@xopcai/xopc 0.0.111 → 0.0.113
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/dist/browser-ext/icons/icon-128.png +0 -0
- package/dist/browser-ext/icons/icon-16.png +0 -0
- package/dist/browser-ext/icons/icon-32.png +0 -0
- package/dist/browser-ext/icons/icon-48.png +0 -0
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/feishu/src/outbound/media-load.js +1 -1
- package/dist/extensions/feishu/src/workflow-progress.js +1 -1
- package/dist/extensions/telegram/src/adapters/streaming-adapter.js +1 -1
- package/dist/extensions/telegram/src/inbound-processor.js +1 -1
- package/dist/extensions/telegram/src/plugin.js +1 -1
- package/dist/extensions/telegram/src/routing-integration.js +2 -2
- package/dist/extensions/telegram/src/update-offset-store.js +1 -1
- package/dist/extensions/telegram/src/workflow-progress.js +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +1 -1
- package/dist/extensions/weixin/src/cdn/upload.js +1 -1
- package/dist/extensions/weixin/src/delivery-to.d.ts +3 -3
- package/dist/extensions/weixin/src/delivery-to.js.map +1 -1
- package/dist/extensions/weixin/src/media/data-url.js +1 -1
- package/dist/extensions/weixin/src/messaging/debug-mode.js +1 -1
- package/dist/extensions/weixin/src/messaging/inbound.js +1 -1
- package/dist/extensions/weixin/src/messaging/process-message.js +1 -1
- package/dist/extensions/weixin/src/plugin.js +1 -1
- package/dist/extensions/weixin/src/storage/sync-buf.js +1 -1
- package/dist/extensions/weixin/src/workflow-progress.js +1 -1
- package/dist/gateway/static/root/apple-touch-icon.png +0 -0
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-zlx9l5Yp.js → agent-avatar-dicebear-CBlklyNr.js} +1 -1
- package/dist/gateway/static/root/assets/agent-browser-settings-page-rGbKc2Hh.js +6 -0
- package/dist/gateway/static/root/assets/{agent-defaults-tabbed-page-Bz7JWjRM.js → agent-defaults-tabbed-page-CtwVbjOA.js} +1 -1
- package/dist/gateway/static/root/assets/agents-CCBmGcwc.js +71 -0
- package/dist/gateway/static/root/assets/{app-management-settings-panel-DaQwdeCq.js → app-management-settings-panel-28E_WfMe.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-D2zv6r3P.js → appearance-settings-Do1z0XgJ.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-BIppe_jj.js → apps-page-xwCsJS15.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-DEmu8eH7.js → archive-plugin-BAFlsov_.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-B98lJoN5.js → attachment-load-V3qGPC3x.js} +1 -1
- package/dist/gateway/static/root/assets/{binary-plugins-CL9QKmyo.js → binary-plugins-DT8NvA6W.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-BOAhMAhT.js → block-editor-CdLMEcHd.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-settings-Br8iRnXp.js → channels-settings-C044DcYk.js} +1 -1
- package/dist/gateway/static/root/assets/{config-api-0o1WYdz2.js → config-api-Bf5mjpu7.js} +1 -1
- package/dist/gateway/static/root/assets/config-reload-event-Bjh2zoKp.js +1 -0
- package/dist/gateway/static/root/assets/connectors-settings-8VEWUOTj.js +2 -0
- package/dist/gateway/static/root/assets/cron-api--pAB_rps.js +1 -0
- package/dist/gateway/static/root/assets/cron-page-DqmNGNOy.js +3 -0
- package/dist/gateway/static/root/assets/dreaming-settings-6UZE1FSK.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-Cjx6pZVz.js → extension-debug-page-BGhE7msg.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-BSPNL90V.js → extension-page-CvpI45WG.js} +1 -1
- package/dist/gateway/static/root/assets/extension-settings-page-DAmR5FUe.js +1 -0
- package/dist/gateway/static/root/assets/{fetch-Bs7in_4F.js → fetch-NZmjSXLl.js} +1 -1
- package/dist/gateway/static/root/assets/format-cron-label-BsotZDO5.js +2 -0
- package/dist/gateway/static/root/assets/{format-interval-label-CftJ5uXu.js → format-interval-label-qhth3BMV.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-api-Clfck-hW.js → gateway-config-api-CaXBt-9R.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-settings-DphpbLBc.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-BkjVJc38.js → gateway-startup-retry-Be1omjh3.js} +1 -1
- package/dist/gateway/static/root/assets/{goal-detail-page-kqJue0sE.js → goal-detail-page-bv0VRDaf.js} +1 -1
- package/dist/gateway/static/root/assets/goals-page-1Ywnt4Cb.js +2 -0
- package/dist/gateway/static/root/assets/{goals-settings-CJnzNSDo.js → goals-settings-ceEBjnfc.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-config-api-Cp7CPuIn.js → heartbeat-config-api-BzO6G4fD.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-settings-ifSI1Wbh.js → heartbeat-settings-DCST9-du.js} +1 -1
- package/dist/gateway/static/root/assets/index-Cxm6xsps.js +122 -0
- package/dist/gateway/static/root/assets/index-b_R4tKqt.css +1 -0
- package/dist/gateway/static/root/assets/interval-presets-DJmshV8n.js +1 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings--MI1rYl7.js → keyboard-shortcuts-settings-9AUUlQ5Q.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-BwrVNlyW.js → logs-page-B_wrxhee.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-split-B_oc9lJe.js → markdown-split-CYYELqAr.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-DLPvB5H3.js → media-plugins-BEcMR2M8.js} +1 -1
- package/dist/gateway/static/root/assets/messages-CkT-lcgP.js +3 -0
- package/dist/gateway/static/root/assets/models-hub-panel-D0JDSbNu.js +2 -0
- package/dist/gateway/static/root/assets/note-detail-page-DpFV-EO6.js +2 -0
- package/dist/gateway/static/root/assets/{note-image-lightbox-rSqAgOi9.js → note-image-lightbox-DNAoPcmm.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-C9ACGEty.js → notes-page-CdkjTch8.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-open-alternatives-Bw_N2oZi.js → preview-open-alternatives-BPLz0AIv.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-BhcWIKuM.js → remote-access-hub-DSYVAi96.js} +1 -1
- package/dist/gateway/static/root/assets/{save-bar-controls-CNP2jmw0.js → save-bar-controls-CrWwWRVK.js} +1 -1
- package/dist/gateway/static/root/assets/schedule-field-CF2sadvN.js +1 -0
- package/dist/gateway/static/root/assets/{schema-form-CDPzua9q.js → schema-form-Di5cKjYE.js} +1 -1
- package/dist/gateway/static/root/assets/{sessions-page-DzkpSDZr.js → sessions-page-CenkcVjF.js} +1 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-D9sva86V.js +1 -0
- package/dist/gateway/static/root/assets/{settings-collapsible-section-C9bff85B.js → settings-collapsible-section-Chh282jW.js} +1 -1
- package/dist/gateway/static/root/assets/settings-form-section-Dq-83cQd.js +1 -0
- package/dist/gateway/static/root/assets/{settings-page-DWK4Zo7s.js → settings-page-DL35U0x0.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-Ctwbp9Er.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-DnutoY_S.js → share-preview-page-0FXYnSUA.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-6oRgJMpn.js → shares-settings-DIM3JNsr.js} +1 -1
- package/dist/gateway/static/root/assets/skill-reload-api-DAlNaNzL.js +1 -0
- package/dist/gateway/static/root/assets/skills-page-CLrHVzAt.js +2 -0
- package/dist/gateway/static/root/assets/{system-settings-panel-qP1JDtDd.js → system-settings-panel-W1pTcojB.js} +1 -1
- package/dist/gateway/static/root/assets/use-agent-defaults-form-BVRvkK7m.js +1 -0
- package/dist/gateway/static/root/assets/{use-channel-catalog-C4mg1hjD.js → use-channel-catalog-CgJibfMM.js} +1 -1
- package/dist/gateway/static/root/assets/{use-settings-tab-guard-F6C0mpJt.js → use-settings-tab-guard-Bw_qkRQE.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-api-key-field-BnDDb6qO.js → voice-api-key-field-vYAO71Gn.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-player-store-B2EwIhtY.js → voice-player-store-C7lziaAx.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-page.utils-CRB7WX9l.js → workflow-page.utils-sgHjOXOm.js} +1 -1
- package/dist/gateway/static/root/assets/{workflows-page-2Fptr0je.js → workflows-page-DYyOTmFx.js} +1 -1
- package/dist/gateway/static/root/favicon-16x16.png +0 -0
- package/dist/gateway/static/root/favicon-32x32.png +0 -0
- package/dist/gateway/static/root/favicon-icon.svg +1 -0
- package/dist/gateway/static/root/favicon.ico +0 -0
- package/dist/gateway/static/root/favicon.png +0 -0
- package/dist/gateway/static/root/favicon.svg +24 -15
- package/dist/gateway/static/root/index.html +11 -10
- package/dist/gateway/static/root/logo-dark.svg +23 -15
- package/dist/gateway/static/root/logo.svg +23 -16
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.d.ts +28 -2
- package/dist/src/agent/agent-manager.js +82 -11
- package/dist/src/agent/agent-manager.js.map +1 -1
- package/dist/src/agent/agent-scope.js +1 -1
- package/dist/src/agent/bootstrap/load-bootstrap-files.js +1 -1
- package/dist/src/agent/context/workspace-seed.js +2 -2
- package/dist/src/agent/context/workspace-state.js +1 -1
- package/dist/src/agent/context/workspace.js +1 -1
- package/dist/src/agent/goals/goal-locale.js +2 -2
- package/dist/src/agent/goals/persistent-goal-service.js +1 -1
- package/dist/src/agent/goals/post-turn.js +3 -3
- package/dist/src/agent/image/load-image-media.js +2 -2
- package/dist/src/agent/ipc/inbox.js +3 -3
- package/dist/src/agent/ipc/socket.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-materialize.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +1 -1
- package/dist/src/agent/mcp/mcp-transport-config.js +1 -1
- package/dist/src/agent/mcp/mcp-transport.js +1 -1
- package/dist/src/agent/memory/builtin-memory-store.js +1 -1
- package/dist/src/agent/memory/dreaming/deep-promotion.js +1 -1
- package/dist/src/agent/memory/dreaming/events.js +1 -1
- package/dist/src/agent/memory/dreaming/last-run.js +1 -1
- package/dist/src/agent/memory/dreaming/light-sweep.js +1 -1
- package/dist/src/agent/memory/dreaming/preview.js +1 -1
- package/dist/src/agent/memory/dreaming/rem-patterns.js +1 -1
- package/dist/src/agent/memory/dreaming/short-term-store.js +1 -1
- package/dist/src/agent/memory/dreaming/utils.js +1 -1
- package/dist/src/agent/memory/memory-flush.js +1 -1
- package/dist/src/agent/memory/plugin-discovery.js +1 -1
- package/dist/src/agent/messaging/command-handler.d.ts +3 -0
- package/dist/src/agent/messaging/command-handler.js +5 -0
- package/dist/src/agent/messaging/command-handler.js.map +1 -1
- package/dist/src/agent/models/manager.js +1 -1
- package/dist/src/agent/prompt/memory/index.js +1 -1
- package/dist/src/agent/prompt/service-prompt-builder.js +2 -2
- package/dist/src/agent/reply/post-compaction-context.js +1 -1
- package/dist/src/agent/reply/workspace-boundary-read.js +1 -1
- package/dist/src/agent/sandbox/path-policy.js +2 -2
- package/dist/src/agent/service/process-direct-streaming.js +9 -4
- package/dist/src/agent/service/process-direct-streaming.js.map +1 -1
- package/dist/src/agent/service/reconcile-dreaming-cron.js +8 -5
- package/dist/src/agent/service/reconcile-dreaming-cron.js.map +1 -1
- package/dist/src/agent/service.d.ts +2 -1
- package/dist/src/agent/service.js +10 -5
- package/dist/src/agent/service.js.map +1 -1
- package/dist/src/agent/service.types.d.ts +4 -0
- package/dist/src/agent/session/session-config-service.d.ts +8 -0
- package/dist/src/agent/session/session-config-service.js +20 -0
- package/dist/src/agent/session/session-config-service.js.map +1 -1
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/config.js +2 -2
- package/dist/src/agent/skills/filesystem-watcher.d.ts +19 -0
- package/dist/src/agent/skills/filesystem-watcher.js +182 -0
- package/dist/src/agent/skills/filesystem-watcher.js.map +1 -0
- package/dist/src/agent/skills/hub-hash.js +2 -2
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/skills/hub-pull.js +30 -36
- package/dist/src/agent/skills/hub-pull.js.map +1 -1
- package/dist/src/agent/skills/index.js +82 -38
- package/dist/src/agent/skills/index.js.map +1 -1
- package/dist/src/agent/skills/installer.js +2 -2
- package/dist/src/agent/skills/managed-store.d.ts +19 -0
- package/dist/src/agent/skills/managed-store.js +97 -38
- package/dist/src/agent/skills/managed-store.js.map +1 -1
- package/dist/src/agent/skills/skill-manage-ops.js +1 -1
- package/dist/src/agent/skills/skill-manager.d.ts +16 -6
- package/dist/src/agent/skills/skill-manager.js +79 -24
- package/dist/src/agent/skills/skill-manager.js.map +1 -1
- package/dist/src/agent/skills/skill-view-path.js +1 -1
- package/dist/src/agent/skills/test-framework.js +1 -1
- package/dist/src/agent/skills/types.d.ts +11 -0
- package/dist/src/agent/skills/watcher.js +1 -1
- package/dist/src/agent/starter-agents.js +1 -1
- package/dist/src/agent/tools/cronjob-tool.d.ts +6 -3
- package/dist/src/agent/tools/cronjob-tool.js +58 -23
- package/dist/src/agent/tools/cronjob-tool.js.map +1 -1
- package/dist/src/agent/tools/dreaming-tool.js +1 -1
- package/dist/src/agent/tools/factory.js +1 -1
- package/dist/src/agent/tools/find.js +1 -1
- package/dist/src/agent/tools/grep.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +1 -1
- package/dist/src/agent/tools/skill-manage-tool.js +1 -1
- package/dist/src/agent/tools/workflow-tool.js +1 -1
- package/dist/src/agent/workflow/catalog.js +1 -1
- package/dist/src/agent/workspace-runtime/registry.d.ts +5 -0
- package/dist/src/agent/workspace-runtime/registry.js +7 -0
- package/dist/src/agent/workspace-runtime/registry.js.map +1 -1
- package/dist/src/ai-assist/text-assist.d.ts +42 -0
- package/dist/src/ai-assist/text-assist.js +252 -0
- package/dist/src/ai-assist/text-assist.js.map +1 -0
- package/dist/src/auth/credentials.js +2 -2
- package/dist/src/auth/profiles/store.js +2 -2
- package/dist/src/auth/sync-provider-auth.js +1 -1
- package/dist/src/browser/cache-dir-policy.js +1 -1
- package/dist/src/browser/cdp-local-launcher.js +2 -2
- package/dist/src/browser/providers/browser-ext-install.js +4 -4
- package/dist/src/browser/providers/cloakbrowser.js +5 -5
- package/dist/src/browser/providers/playwright-doctor.js +1 -1
- package/dist/src/browser/stealth.js +1 -1
- package/dist/src/channels/outbound/persist-store.js +1 -1
- package/dist/src/channels/pairing/allow-from-file.js +1 -1
- package/dist/src/channels/pairing/pairing-store.js +2 -2
- package/dist/src/channels/plugins/types.adapters.d.ts +2 -2
- package/dist/src/chat-commands/agent-edit.js +2 -2
- package/dist/src/chat-commands/builtins/config.js +3 -3
- package/dist/src/chat-commands/builtins/system.js +11 -4
- package/dist/src/chat-commands/builtins/system.js.map +1 -1
- package/dist/src/chat-commands/context.d.ts +3 -0
- package/dist/src/chat-commands/context.js +7 -0
- package/dist/src/chat-commands/context.js.map +1 -1
- package/dist/src/chat-commands/types.d.ts +2 -0
- package/dist/src/cli/commands/config.js +1 -1
- package/dist/src/cli/commands/cron.js +55 -16
- package/dist/src/cli/commands/cron.js.map +1 -1
- package/dist/src/cli/commands/doctor/checks/config-health.js +1 -1
- package/dist/src/cli/commands/doctor/checks/cron-health.js +2 -83
- package/dist/src/cli/commands/doctor/checks/cron-health.js.map +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +1 -1
- package/dist/src/cli/commands/doctor/checks/state-integrity.js +1 -1
- package/dist/src/cli/commands/doctor/checks/workspace-status.js +1 -1
- package/dist/src/cli/commands/extension-create.js +1 -1
- package/dist/src/cli/commands/extension-dev.js +2 -2
- package/dist/src/cli/commands/extension-marketplace.js +2 -2
- package/dist/src/cli/commands/extension-pack.js +2 -2
- package/dist/src/cli/commands/extension.js +3 -3
- package/dist/src/cli/commands/gateway/logs.js +1 -1
- package/dist/src/cli/commands/image.js +1 -1
- package/dist/src/cli/commands/init.js +2 -2
- package/dist/src/cli/commands/models.js +1 -1
- package/dist/src/cli/commands/skills-test.js +1 -1
- package/dist/src/cli/templates.js +1 -1
- package/dist/src/cli/utils/gateway-client.js +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +2 -2
- package/dist/src/config/agent-profile.js +1 -1
- package/dist/src/config/agent-typed-models.js +1 -1
- package/dist/src/config/gateway-bind.js +1 -1
- package/dist/src/config/index.js +7 -7
- package/dist/src/config/loader.js +4 -4
- package/dist/src/config/models-json.js +2 -2
- package/dist/src/config/paths-state.js +1 -1
- package/dist/src/config/paths.js +1 -1
- package/dist/src/config/profile.js +1 -1
- package/dist/src/config/reload.js +1 -1
- package/dist/src/config/schema.d.ts +0 -2
- package/dist/src/config/schema.js +0 -3
- package/dist/src/config/schema.js.map +1 -1
- package/dist/src/config/web-patch.d.ts +0 -1
- package/dist/src/config/web-patch.js +0 -2
- package/dist/src/config/web-patch.js.map +1 -1
- package/dist/src/config/workspace-path.js +1 -1
- package/dist/src/cron/executor.js +102 -71
- package/dist/src/cron/executor.js.map +1 -1
- package/dist/src/cron/index.d.ts +1 -1
- package/dist/src/cron/index.js +3 -3
- package/dist/src/cron/run-log-store.d.ts +1 -0
- package/dist/src/cron/run-log-store.js +4 -2
- package/dist/src/cron/run-log-store.js.map +1 -1
- package/dist/src/cron/schedule.d.ts +10 -0
- package/dist/src/cron/schedule.js +85 -0
- package/dist/src/cron/schedule.js.map +1 -0
- package/dist/src/cron/service.d.ts +34 -77
- package/dist/src/cron/service.js +327 -264
- package/dist/src/cron/service.js.map +1 -1
- package/dist/src/cron/types.d.ts +80 -50
- package/dist/src/cron/validation.d.ts +358 -90
- package/dist/src/cron/validation.js +152 -132
- package/dist/src/cron/validation.js.map +1 -1
- package/dist/src/cron/workflow-run-completion.js +1 -1
- package/dist/src/daemon/constants.js +1 -1
- package/dist/src/daemon/install-plan.js +2 -2
- package/dist/src/daemon/launchd.js +2 -2
- package/dist/src/daemon/schtasks.js +2 -2
- package/dist/src/daemon/systemd.js +2 -2
- package/dist/src/extensions/bundle-mcp.js +1 -1
- package/dist/src/extensions/discover-extensions.js +2 -2
- package/dist/src/extensions/health.js +1 -1
- package/dist/src/extensions/install.js +2 -2
- package/dist/src/extensions/loader.js +2 -2
- package/dist/src/extensions/lockfile.js +3 -3
- package/dist/src/extensions/security.js +1 -1
- package/dist/src/extensions/update.js +2 -2
- package/dist/src/gateway/agents-admin.js +2 -2
- package/dist/src/gateway/chat-stream/mapper.d.ts +1 -0
- package/dist/src/gateway/chat-stream/mapper.js +6 -2
- package/dist/src/gateway/chat-stream/mapper.js.map +1 -1
- package/dist/src/gateway/chat-stream/protocol.d.ts +2 -0
- package/dist/src/gateway/file-path-classifier.js +2 -2
- package/dist/src/gateway/hono/lib/config-payload.d.ts +0 -1
- package/dist/src/gateway/hono/lib/config-payload.js +1 -1
- package/dist/src/gateway/hono/lib/extension-store.js +2 -2
- package/dist/src/gateway/hono/lib/static-ui.js +2 -2
- package/dist/src/gateway/hono/oauth-async.js +1 -1
- package/dist/src/gateway/hono/routes/agents.js +1 -1
- package/dist/src/gateway/hono/routes/ai-assist.d.ts +3 -0
- package/dist/src/gateway/hono/routes/ai-assist.js +66 -0
- package/dist/src/gateway/hono/routes/ai-assist.js.map +1 -0
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/commands-skills.js +7 -0
- package/dist/src/gateway/hono/routes/commands-skills.js.map +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +1 -1
- package/dist/src/gateway/hono/routes/cron.js +24 -5
- package/dist/src/gateway/hono/routes/cron.js.map +1 -1
- package/dist/src/gateway/hono/routes/dreaming.js +1 -1
- package/dist/src/gateway/hono/routes/home.js +5 -3
- package/dist/src/gateway/hono/routes/home.js.map +1 -1
- package/dist/src/gateway/hono/routes/host-fs.js +2 -2
- package/dist/src/gateway/hono/routes/lazy-bundles.js +8 -0
- package/dist/src/gateway/hono/routes/lazy-bundles.js.map +1 -1
- package/dist/src/gateway/hono/routes/models.js +1 -1
- package/dist/src/gateway/hono/routes/shares.js +1 -1
- package/dist/src/gateway/hono/routes/workflows.js +2 -2
- package/dist/src/gateway/hono/routes/workspace.js +2 -2
- package/dist/src/gateway/lock.js +3 -3
- package/dist/src/gateway/ports.js +1 -1
- package/dist/src/gateway/service/agent-runner.js +2 -2
- package/dist/src/gateway/service/config-coordinator.js +1 -1
- package/dist/src/gateway/service/marketplace-service.d.ts +22 -10
- package/dist/src/gateway/service/marketplace-service.js +46 -5
- package/dist/src/gateway/service/marketplace-service.js.map +1 -1
- package/dist/src/gateway/service.js +11 -5
- package/dist/src/gateway/service.js.map +1 -1
- package/dist/src/gateway/workspace-fs-file-list.js +1 -1
- package/dist/src/goals/goal-notifications.js +1 -1
- package/dist/src/goals/goal-workflow-judge.js +3 -3
- package/dist/src/i18n/goals-bundle.js +1 -1
- package/dist/src/i18n/index.js +1 -1
- package/dist/src/i18n/share-tool-bundle.js +2 -2
- package/dist/src/infra/brew.js +1 -1
- package/dist/src/infra/package-json.js +1 -1
- package/dist/src/infra/package-update-steps.js +1 -1
- package/dist/src/infra/path-env.js +2 -2
- package/dist/src/infra/restart.js +1 -1
- package/dist/src/infra/stable-node-path.js +1 -1
- package/dist/src/infra/update-check.js +1 -1
- package/dist/src/infra/update-global.js +1 -1
- package/dist/src/infra/update-lock.js +2 -2
- package/dist/src/infra/update-restart.js +1 -1
- package/dist/src/infra/update-runner.js +1 -1
- package/dist/src/infra/update-startup.js +1 -1
- package/dist/src/infra/write-file-atomic.js +2 -2
- package/dist/src/media/store.js +1 -1
- package/dist/src/notes/agent-context.js +1 -1
- package/dist/src/notes/service.js +1 -1
- package/dist/src/notes/store.js +2 -2
- package/dist/src/project-trust/trust-store.js +2 -2
- package/dist/src/providers/auth-runtime/auth-profile-store.js +1 -1
- package/dist/src/providers/index.js +1 -1
- package/dist/src/providers/model-registry.js +4 -4
- package/dist/src/session/init-session-turn.js +2 -2
- package/dist/src/session/resolve-session.js +3 -3
- package/dist/src/session/session-title.js +2 -2
- package/dist/src/session/store-reader.d.ts +5 -0
- package/dist/src/session/store-reader.js +1 -0
- package/dist/src/session/store.js +1 -1
- package/dist/src/share/share-auto.js +2 -2
- package/dist/src/share/share-store.js +3 -3
- package/dist/src/share/share-thumbnail.js +2 -2
- package/dist/src/share/share-zip.js +1 -1
- package/dist/src/share/site-share-store.js +3 -3
- package/dist/src/share/site-static-serve.js +1 -1
- package/dist/src/storage/sqlite/connection.js +1 -1
- package/dist/src/storage/sqlite/cron-job-repository.d.ts +6 -0
- package/dist/src/storage/sqlite/cron-job-repository.js +70 -0
- package/dist/src/storage/sqlite/cron-job-repository.js.map +1 -0
- package/dist/src/storage/sqlite/cron-run-repository.js +0 -1
- package/dist/src/storage/sqlite/cron-run-repository.js.map +1 -1
- package/dist/src/storage/sqlite/index.d.ts +1 -0
- package/dist/src/storage/sqlite/index.js +2 -1
- package/dist/src/storage/sqlite/memory-index-repository.js +2 -2
- package/dist/src/storage/sqlite/migrations/009_cron_jobs.sql +24 -0
- package/dist/src/storage/sqlite/migrations/discover.js +1 -1
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +4 -4
- package/dist/src/storage/sqlite/migrations/runner.js.map +1 -1
- package/dist/src/storage/sqlite/migrations/runner.ts +1 -1
- package/dist/src/storage/sqlite/schema.js +2 -2
- package/dist/src/storage/sqlite/schema.sql +25 -0
- package/dist/src/tui/clipboard-image.js +3 -3
- package/dist/src/tui/extension-host/load-extensions.js +1 -1
- package/dist/src/tui/theme-manager.js +1 -1
- package/dist/src/tui/tui-command-formatters.js +4 -4
- package/dist/src/tui/tui-commands.js +2 -2
- package/dist/src/tui/tui-keybindings-file.js +1 -1
- package/dist/src/tui/tui-scoped-models.js +2 -2
- package/dist/src/tui/tui-settings.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +1 -1
- package/dist/src/tui/tui.js +6 -6
- package/dist/src/tunnel/frpc-binary.js +4 -4
- package/dist/src/tunnel/frpc-config.js +1 -1
- package/dist/src/tunnel/frpc-extract.js +1 -1
- package/dist/src/tunnel/tunnel-state.js +1 -1
- package/dist/src/utils/logger/audit.js +1 -1
- package/dist/src/utils/logger/log-store.js +1 -1
- package/dist/src/utils/logger/rotation.js +1 -1
- package/dist/src/utils/logger/streams.js +1 -1
- package/dist/src/voice/tts/audio.js +1 -1
- package/dist/src/voice/tts/providers/edge-speech.js +2 -2
- package/dist/src/workflows/draft/workflow-draft-service.js +1 -1
- package/dist/src/workflows/engine/projector.js +23 -14
- package/dist/src/workflows/engine/projector.js.map +1 -1
- package/dist/src/workflows/engine/workflow-engine.d.ts +1 -0
- package/dist/src/workflows/engine/workflow-engine.js +36 -0
- package/dist/src/workflows/engine/workflow-engine.js.map +1 -1
- package/dist/src/workflows/index.js +1 -1
- package/dist/src/workflows/service/workflow-run-service.js +2 -2
- package/dist/src/workflows/service/workflow-session-bridge.js +2 -2
- package/dist/src/workflows/store/event-store.js +1 -1
- package/dist/src/workflows/store/run-store.js +1 -1
- package/package.json +2 -3
- package/dist/gateway/static/root/assets/agent-browser-settings-page-B-0zGjt8.js +0 -6
- package/dist/gateway/static/root/assets/agents-DwDnJlXT.js +0 -71
- package/dist/gateway/static/root/assets/connectors-settings-DDvHo9in.js +0 -2
- package/dist/gateway/static/root/assets/cron-api-Dj_UZKST.js +0 -1
- package/dist/gateway/static/root/assets/cron-page-Dv7GII9G.js +0 -1
- package/dist/gateway/static/root/assets/cron-schedule-picker-DH10KgD6.js +0 -1
- package/dist/gateway/static/root/assets/dreaming-settings-L2rgZDQl.js +0 -1
- package/dist/gateway/static/root/assets/extension-settings-page-m_UQYkVc.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-CS177xni.js +0 -1
- package/dist/gateway/static/root/assets/goals-page-C0FujUB5.js +0 -2
- package/dist/gateway/static/root/assets/index-COkF54xv.js +0 -121
- package/dist/gateway/static/root/assets/index-DIaSNGEO.css +0 -1
- package/dist/gateway/static/root/assets/interval-presets-B29Ss_2y.js +0 -2
- package/dist/gateway/static/root/assets/messages-Csef1aW7.js +0 -3
- package/dist/gateway/static/root/assets/models-hub-panel-DHGiTIvf.js +0 -2
- package/dist/gateway/static/root/assets/note-detail-page-BM7zlDiT.js +0 -2
- package/dist/gateway/static/root/assets/schedule-field-BPAWui3P.js +0 -1
- package/dist/gateway/static/root/assets/schedule-summary-B-hdSRdR.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-BYS-rpzn.js +0 -1
- package/dist/gateway/static/root/assets/settings-form-section-BsrK7TBF.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-DJiksNu4.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-CU9i0nJV.js +0 -1
- package/dist/gateway/static/root/assets/skills-page-ERbdWENm.js +0 -2
- package/dist/gateway/static/root/assets/use-agent-defaults-form-D3FGVLZb.js +0 -1
- package/dist/gateway/static/root/favicon-16.png +0 -0
- package/dist/gateway/static/root/favicon-32.png +0 -0
- package/dist/src/cron/persistence.d.ts +0 -62
- package/dist/src/cron/persistence.js +0 -188
- package/dist/src/cron/persistence.js.map +0 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/settings-page-DL35U0x0.js","assets/rolldown-runtime-aKtaBQYM.js","assets/vendor-react-BOUWij0V.js","assets/locale-store-DjbfSsfA.js","assets/messages-CkT-lcgP.js","assets/sessions-page-CenkcVjF.js","assets/cn-JdwAhgNB.js","assets/vendor-swr-BIWyz7Rc.js","assets/settings-form-section-Dq-83cQd.js","assets/fetch-NZmjSXLl.js","assets/logs-page-B_wrxhee.js","assets/cron-page-DqmNGNOy.js","assets/dist-By6Rh2ee.js","assets/dist-CkobR7mk.js","assets/Combination-BzaXOLd9.js","assets/dist-DokQNVMQ.js","assets/markdown-editor-AssmZFx4.js","assets/preload-helper-zJ_50EbN.js","assets/vendor-codemirror-CNP1wPe7.js","assets/code-editor-dZTY2dRW.js","assets/cron-api--pAB_rps.js","assets/format-cron-label-BsotZDO5.js","assets/cron-dreaming-jobs-nCMWCf0p.js","assets/interval-presets-DJmshV8n.js","assets/format-interval-label-qhth3BMV.js","assets/heartbeat-config-api-BzO6G4fD.js","assets/settings-advanced-gate-D9sva86V.js","assets/workflow-page.utils-sgHjOXOm.js","assets/toast-z0toXu32.js","assets/theme-store-CD2wtgZV.js","assets/middleware-Pd0e8Igk.js","assets/skills-page-CLrHVzAt.js","assets/config-reload-event-Bjh2zoKp.js","assets/skill-reload-api-DAlNaNzL.js","assets/goals-page-1Ywnt4Cb.js","assets/goal-detail-page-bv0VRDaf.js","assets/notes-page-CdkjTch8.js","assets/note-time-hm6JO_Wi.js","assets/voice-player-store-C7lziaAx.js","assets/note-detail-page-DpFV-EO6.js","assets/note-image-lightbox-DNAoPcmm.js","assets/workflows-page-DYyOTmFx.js","assets/agents-CCBmGcwc.js","assets/agent-avatar-dicebear-CBlklyNr.js","assets/agent-defaults-tabbed-page-CtwVbjOA.js","assets/config-api-Bf5mjpu7.js","assets/use-agent-defaults-form-BVRvkK7m.js","assets/use-settings-tab-guard-Bw_qkRQE.js","assets/agent-browser-settings-page-rGbKc2Hh.js","assets/gateway-config-api-CaXBt-9R.js","assets/channels-settings-C044DcYk.js","assets/browser-BLJWD7WI.js","assets/schema-form-Di5cKjYE.js","assets/use-channel-catalog-CgJibfMM.js","assets/apps-page-xwCsJS15.js","assets/extension-page-CvpI45WG.js","assets/extension-settings-page-DAmR5FUe.js","assets/voice-api-key-field-vYAO71Gn.js","assets/extension-debug-page-BGhE7msg.js","assets/share-preview-page-0FXYnSUA.js","assets/setup-status-panel-Ctwbp9Er.js","assets/connectors-settings-8VEWUOTj.js","assets/appearance-settings-Do1z0XgJ.js","assets/keyboard-shortcuts-settings-9AUUlQ5Q.js","assets/system-settings-panel-W1pTcojB.js","assets/app-management-settings-panel-28E_WfMe.js","assets/models-hub-panel-D0JDSbNu.js","assets/save-bar-controls-CrWwWRVK.js","assets/settings-collapsible-section-Chh282jW.js","assets/gateway-settings-DphpbLBc.js","assets/heartbeat-settings-DCST9-du.js","assets/schedule-field-CF2sadvN.js","assets/remote-access-hub-DSYVAi96.js","assets/shares-settings-DIM3JNsr.js","assets/dreaming-settings-6UZE1FSK.js","assets/goals-settings-ceEBjnfc.js","assets/mermaid-render-BbqDc_LQ.js","assets/markdown-split-CYYELqAr.js","assets/html-workspace-editor-CQLWDiwE.js","assets/binary-plugins-DT8NvA6W.js","assets/use-blob-object-url-D4BFuzZB.js","assets/preview-open-alternatives-BPLz0AIv.js","assets/media-plugins-BEcMR2M8.js","assets/archive-plugin-BAFlsov_.js","assets/jszip.min-DT31yWkU.js","assets/attachment-process-heavy-RnGYy9bC.js","assets/excel-worksheet-utils-EyvwNT4X.js","assets/attachment-load-V3qGPC3x.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{i as e,n as t,t as n}from"./rolldown-runtime-aKtaBQYM.js";import{a as r,i,n as a,r as o,t as s}from"./vendor-react-BOUWij0V.js";import{t as c}from"./preload-helper-zJ_50EbN.js";import{t as l}from"./createLucideIcon-DPHK1VkS.js";import{t as u}from"./cn-JdwAhgNB.js";import{n as d,t as f}from"./dist-DokQNVMQ.js";import{n as p,t as m}from"./messages-CkT-lcgP.js";import{o as h,r as g,s as _,t as v}from"./locale-store-DjbfSsfA.js";import{t as y}from"./middleware-Pd0e8Igk.js";import{i as b,n as x,r as S,t as C}from"./theme-store-CD2wtgZV.js";import{c as w,i as T,n as E,r as D,s as O,t as k}from"./fetch-NZmjSXLl.js";import{n as A,r as j}from"./toast-z0toXu32.js";import{_ as M,a as N,c as P,f as F,g as I,h as L,i as R,l as z,m as B,n as V,o as H,r as U,t as W,u as G,v as K}from"./Combination-BzaXOLd9.js";import{a as ee,i as te,n as ne,r as q,t as re}from"./dist-CkobR7mk.js";import{i as ie,n as ae,o as J,t as oe}from"./vendor-swr-BIWyz7Rc.js";import{n as se,t as ce}from"./config-reload-event-Bjh2zoKp.js";import{t as le}from"./gateway-startup-retry-Be1omjh3.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var Y=e(r(),1),ue=e=>{throw TypeError(e)},de=(e,t,n)=>t.has(e)||ue(`Cannot `+n),fe=(e,t,n)=>(de(e,t,`read from private field`),n?n.call(e):t.get(e)),pe=(e,t,n)=>t.has(e)?ue(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),me=(e,t,n,r)=>(de(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),he=`popstate`;function ge(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function _e(e={}){function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=Ce(e.location.hash.substring(1));return!n.startsWith(`/`)&&!n.startsWith(`.`)&&(n=`/`+n),xe(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:Se(t))}function r(e,t){ve(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}return we(t,n,r,e)}function X(e,t){if(e===!1||e==null)throw Error(t)}function ve(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function ye(){return Math.random().toString(36).substring(2,10)}function be(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function xe(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?Ce(t):t,state:n,key:t&&t.key||r||ye(),mask:i}}function Se({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function Ce(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function we(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=ge(e)?e:xe(h.location,e,t);n&&n(r,e),l=u()+1;let d=be(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=ge(e)?e:xe(h.location,e,t);n&&n(r,e),l=u();let i=be(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return Te(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(he,d),c=e,()=>{i.removeEventListener(he,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function Te(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),X(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:Se(t);return i=i.replace(/ $/,`%20`),!n&&i.startsWith(`//`)&&(i=r+i),new URL(i,r)}var Ee,De=class{constructor(e){if(pe(this,Ee,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(fe(this,Ee).has(e))return fe(this,Ee).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw Error(`No value found for context`)}set(e,t){fe(this,Ee).set(e,t)}};Ee=new WeakMap;var Oe=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`children`]);function ke(e){return Oe.has(e)}var Ae=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`middleware`,`children`]);function je(e){return Ae.has(e)}function Me(e){return e.index===!0}function Ne(e,t,n=[],r={},i=!1){return e.map((e,a)=>{let o=[...n,String(a)],s=typeof e.id==`string`?e.id:o.join(`-`);if(X(e.index!==!0||!e.children,`Cannot specify children on an index route`),X(i||!r[s],`Found a route id collision on id "${s}". Route id's must be globally unique within Data Router usages`),Me(e)){let n={...e,id:s};return r[s]=Pe(n,t(n)),n}else{let n={...e,id:s,children:void 0};return r[s]=Pe(n,t(n)),e.children&&(n.children=Ne(e.children,t,o,r,i)),n}})}function Pe(e,t){return Object.assign(e,{...t,...typeof t.lazy==`object`&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function Fe(e,t,n=`/`){return Ie(e,t,n,!1)}function Ie(e,t,n,r,i){let a=tt((typeof t==`string`?Ce(t):t).pathname||`/`,n);if(a==null)return null;let o=i??Re(e),s=null,c=et(a);for(let e=0;s==null&&e<o.length;++e)s=Ze(o[e],c,r);return s}function Le(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function Re(e){let t=ze(e);return Ve(t),t}function ze(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;X(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=ft([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(X(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),ze(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:Ye(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of Be(e.path))a(e,t,!0,n)}),t}function Be(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=Be(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function Ve(e){e.sort((e,t)=>e.score===t.score?Xe(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var He=/^:[\w-]+$/,Ue=3,We=2,Ge=1,Ke=10,qe=-2,Je=e=>e===`*`;function Ye(e,t){let n=e.split(`/`),r=n.length;return n.some(Je)&&(r+=qe),t&&(r+=We),n.filter(e=>!Je(e)).reduce((e,t)=>e+(He.test(t)?Ue:t===``?Ge:Ke),r)}function Xe(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Ze(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=Qe({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=Qe({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:ft([a,u.pathname]),pathnameBase:mt(ft([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=ft([a,u.pathnameBase]))}return o}function Qe(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=$e(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function $e(e,t=!1,n=!0){ve(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function et(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return ve(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function tt(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function nt({basename:e,pathname:t}){return t===`/`?e:ft([e,t])}var rt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,it=e=>rt.test(e);function at(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?Ce(e):e,a;return n?(n=dt(n),a=n.startsWith(`/`)?ot(n.substring(1),`/`):ot(n,t)):a=t,{pathname:a,search:ht(r),hash:gt(i)}}function ot(e,t){let n=pt(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function st(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ct(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function lt(e){let t=ct(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function ut(e,t,n,r=!1){let i;typeof e==`string`?i=Ce(e):(i={...e},X(!i.pathname||!i.pathname.includes(`?`),st(`?`,`pathname`,`search`,i)),X(!i.pathname||!i.pathname.includes(`#`),st(`#`,`pathname`,`hash`,i)),X(!i.search||!i.search.includes(`#`),st(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=at(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var dt=e=>e.replace(/\/\/+/g,`/`),ft=e=>dt(e.join(`/`)),pt=e=>e.replace(/\/+$/,``),mt=e=>pt(e).replace(/^\/*/,`/`),ht=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,gt=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,_t=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function vt(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function yt(e){return ft(e.map(e=>e.route.path).filter(Boolean))||`/`}var bt=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function xt(e,t){let n=e;if(typeof n!=`string`||!rt.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(bt)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=tt(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{ve(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var St=Symbol(`Uninstrumented`);function Ct(e,t){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(e=>e({id:t.id,index:t.index,path:t.path,instrument(e){let t=Object.keys(n);for(let r of t)e[r]&&n[r].push(e[r])}}));let r={};if(typeof t.lazy==`function`&&n.lazy.length>0){let e=Tt(n.lazy,t.lazy,()=>void 0);e&&(r.lazy=e)}if(typeof t.lazy==`object`){let e=t.lazy;[`middleware`,`loader`,`action`].forEach(t=>{let i=e[t],a=n[`lazy.${t}`];if(typeof i==`function`&&a.length>0){let e=Tt(a,i,()=>void 0);e&&(r.lazy=Object.assign(r.lazy||{},{[t]:e}))}})}return[`loader`,`action`].forEach(e=>{let i=t[e];if(typeof i==`function`&&n[e].length>0){let t=i[St]??i,a=Tt(n[e],t,(...e)=>Dt(e[0]));a&&(e===`loader`&&t.hydrate===!0&&(a.hydrate=!0),a[St]=t,r[e]=a)}}),t.middleware&&t.middleware.length>0&&n.middleware.length>0&&(r.middleware=t.middleware.map(e=>{let t=e[St]??e,r=Tt(n.middleware,t,(...e)=>Dt(e[0]));return r?(r[St]=t,r):e})),r}function wt(e,t){let n={navigate:[],fetch:[]};if(t.forEach(e=>e({instrument(e){let t=Object.keys(e);for(let r of t)e[r]&&n[r].push(e[r])}})),n.navigate.length>0){let t=e.navigate[St]??e.navigate,r=Tt(n.navigate,t,(...t)=>{let[n,r]=t;return{to:typeof n==`number`||typeof n==`string`?n:n?Se(n):`.`,...Ot(e,r??{})}});r&&(r[St]=t,e.navigate=r)}if(n.fetch.length>0){let t=e.fetch[St]??e.fetch,r=Tt(n.fetch,t,(...t)=>{let[n,,r,i]=t;return{href:r??`.`,fetcherKey:n,...Ot(e,i??{})}});r&&(r[St]=t,e.fetch=r)}return e}function Tt(e,t,n){return e.length===0?null:async(...r)=>{let i=await Et(e,n(...r),()=>t(...r),e.length-1);if(i.type===`error`)throw i.value;return i.value}}async function Et(e,t,n,r){let i=e[r],a;if(i){let o,s=async()=>(o?console.error(`You cannot call instrumented handlers more than once`):o=Et(e,t,n,r-1),a=await o,X(a,`Expected a result`),a.type===`error`&&a.value instanceof Error?{status:`error`,error:a.value}:{status:`success`,error:void 0});try{await i(s,t)}catch(e){console.error(`An instrumentation function threw an error:`,e)}o||await s(),await o}else try{a={type:`success`,value:await n()}}catch(e){a={type:`error`,value:e}}return a||{type:`error`,value:Error(`No result assigned in instrumentation chain.`)}}function Dt(e){let{request:t,context:n,params:r,pattern:i}=e;return{request:kt(t),params:{...r},pattern:i,context:eee(n)}}function Ot(e,t){return{currentUrl:Se(e.state.location),...`formMethod`in t?{formMethod:t.formMethod}:{},...`formEncType`in t?{formEncType:t.formEncType}:{},...`formData`in t?{formData:t.formData}:{},...`body`in t?{body:t.body}:{}}}function kt(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function eee(e){if(jt(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var At=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function jt(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===At}var Mt=[`POST`,`PUT`,`PATCH`,`DELETE`],Nt=new Set(Mt),Pt=[`GET`,...Mt],Ft=new Set(Pt),It=new Set([301,302,303,307,308]),Lt=new Set([307,308]),Rt={state:`idle`,location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},tee={state:`idle`,data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},zt={state:`unblocked`,proceed:void 0,reset:void 0,location:void 0},Bt=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Vt=`remix-router-transitions`,Ht=Symbol(`ResetLoaderData`),Ut,Wt,Gt,Kt,qt=class{constructor(e){pe(this,Ut),pe(this,Wt),pe(this,Gt),pe(this,Kt),me(this,Ut,e),me(this,Wt,Re(e))}get stableRoutes(){return fe(this,Ut)}get activeRoutes(){return fe(this,Gt)??fe(this,Ut)}get branches(){return fe(this,Kt)??fe(this,Wt)}get hasHMRRoutes(){return fe(this,Gt)!=null}setRoutes(e){me(this,Ut,e),me(this,Wt,Re(e))}setHmrRoutes(e){me(this,Gt,e),me(this,Kt,Re(e))}commitHmrRoutes(){fe(this,Gt)&&(me(this,Ut,fe(this,Gt)),me(this,Wt,fe(this,Kt)),me(this,Gt,void 0),me(this,Kt,void 0))}};Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap,Kt=new WeakMap;function Jt(e){let t=e.window?e.window:typeof window<`u`?window:void 0,n=t!==void 0&&t.document!==void 0&&t.document.createElement!==void 0;X(e.routes.length>0,`You must provide a non-empty routes array to createRouter`);let r=e.hydrationRouteProperties||[],i=e.mapRouteProperties||Bt,a=i;if(e.instrumentations){let t=e.instrumentations;a=e=>({...i(e),...Ct(t.map(e=>e.route).filter(Boolean),e)})}let o={},s=new qt(Ne(e.routes,a,void 0,o)),c=e.basename||`/`;c.startsWith(`/`)||(c=`/${c}`);let l=e.dataStrategy||ree,u={...e.future},d=null,f=new Set,p=null,m=null,h=null,g=null,_=e.hydrationData!=null,v=Ie(s.activeRoutes,e.history.location,c,!1,s.branches),y=!1,b=null,x,S;if(v==null&&!e.patchRoutesOnNavigation){let t=Nn(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Mn(s.activeRoutes);x=!0,S=!x,v=n,b={[r.id]:t}}else if(v&&!e.hydrationData&&He(v,s.activeRoutes,e.history.location.pathname).active&&(v=null),!v){x=!1,S=!x,v=[];let t=He(null,s.activeRoutes,e.history.location.pathname);t.active&&t.matches&&(y=!0,v=t.matches)}else if(v.some(e=>e.route.lazy))x=!1,S=!x;else if(!v.some(e=>Qt(e.route)))x=!0,S=!x;else{let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null,r=v;if(n){let e=v.findIndex(e=>n[e.route.id]!==void 0);r=r.slice(0,e+1)}S=!1,x=!0,r.forEach(e=>{let r=$t(e.route,t,n);S||=r.renderFallback,x&&=!r.shouldLoad})}let C,w={historyAction:e.history.action,location:e.history.location,matches:v,initialized:x,renderFallback:S,navigation:Rt,restoreScrollPosition:e.hydrationData==null?null:!1,preventScrollReset:!1,revalidation:`idle`,loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},T=`POP`,E=null,D=!1,O,k=!1,A=new Map,j=null,M=!1,N=!1,P=new Set,F=new Map,I=0,L=-1,R=new Map,z=new Set,B=new Map,V=new Map,H=new Set,U=new Map,W,G=null;function K(){if(d=e.history.listen(({action:t,location:n,delta:r})=>{if(W){W(),W=void 0;return}ve(U.size===0||r!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=Pe({currentLocation:w.location,nextLocation:n,historyAction:t});if(i&&r!=null){let t=new Promise(e=>{W=e});e.history.go(r*-1),Me(i,{state:`blocked`,location:n,proceed(){Me(i,{state:`proceeding`,proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(r))},reset(){let e=new Map(w.blockers);e.set(i,zt),ne({blockers:e})}}),E?.resolve(),E=null;return}return ae(t,n)}),n){rr(t,A);let e=()=>ir(t,A);t.addEventListener(`pagehide`,e),j=()=>t.removeEventListener(`pagehide`,e)}return w.initialized||ae(`POP`,w.location,{initialHydration:!0}),C}function ee(){d&&d(),j&&j(),f.clear(),O&&O.abort(),w.fetchers.forEach((e,t)=>be(w.fetchers,t)),w.blockers.forEach((e,t)=>je(t))}function te(e){if(f.add(e),p){let{newErrors:t}=p;p=null,e(w,{deletedFetchers:[],newErrors:t,viewTransitionOpts:void 0,flushSync:!1})}return()=>f.delete(e)}function ne(e,t={}){e.matches&&=e.matches.map(e=>{let t=o[e.route.id],n=e.route;return n.element!==t.element||n.errorElement!==t.errorElement||n.hydrateFallbackElement!==t.hydrateFallbackElement?{...e,route:t}:e}),w={...w,...e};let n=[],r=[];w.fetchers.forEach((e,t)=>{e.state===`idle`&&(H.has(t)?n.push(t):r.push(t))}),H.forEach(e=>{!w.fetchers.has(e)&&!F.has(e)&&n.push(e)}),f.size===0&&(p={newErrors:e.errors??null}),[...f].forEach(r=>r(w,{deletedFetchers:n,newErrors:e.errors??null,viewTransitionOpts:t.viewTransitionOpts,flushSync:t.flushSync===!0})),n.forEach(e=>be(w.fetchers,e)),r.forEach(e=>w.fetchers.delete(e))}function q(t,n,{flushSync:r}={}){let i=w.actionData!=null&&w.navigation.formMethod!=null&&Jn(w.navigation.formMethod)&&w.navigation.state===`loading`&&t.state?._isRedirect!==!0,a;a=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:i?w.actionData:null;let o=n.loaderData?kn(w.loaderData,n.loaderData,n.matches||[],n.errors):w.loaderData,c=w.blockers;c.size>0&&(c=new Map(c),c.forEach((e,t)=>c.set(t,zt)));let l=M?!1:Ve(t,n.matches||w.matches),u=D===!0||w.navigation.formMethod!=null&&Jn(w.navigation.formMethod)&&t.state?._isRedirect!==!0;s.commitHmrRoutes(),M||T===`POP`||(T===`PUSH`?e.history.push(t,t.state):T===`REPLACE`&&e.history.replace(t,t.state));let d;if(T===`POP`){let e=A.get(w.location.pathname);e&&e.has(t.pathname)?d={currentLocation:w.location,nextLocation:t}:A.has(t.pathname)&&(d={currentLocation:t,nextLocation:w.location})}else if(k){let e=A.get(w.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),A.set(w.location.pathname,e)),d={currentLocation:w.location,nextLocation:t}}ne({...n,actionData:a,loaderData:o,historyAction:T,location:t,initialized:!0,renderFallback:!1,navigation:Rt,revalidation:`idle`,restoreScrollPosition:l,preventScrollReset:u,blockers:c},{viewTransitionOpts:d,flushSync:r===!0}),T=`POP`,D=!1,k=!1,M=!1,N=!1,E?.resolve(),E=null,G?.resolve(),G=null}async function re(t,n){if(E?.resolve(),E=null,typeof t==`number`){E||=ar();let n=E.promise;return e.history.go(t),n}let{path:r,submission:i,error:a}=Xt(!1,Yt(w.location,w.matches,c,t,n?.fromRouteId,n?.relative),n),o;n?.mask&&(o={pathname:``,search:``,hash:``,...typeof n.mask==`string`?Ce(n.mask):{...w.location.mask,...n.mask}});let s=w.location,l=xe(s,r,n&&n.state,void 0,o);l={...l,...e.history.encodeLocation(l)};let u=n&&n.replace!=null?n.replace:void 0,d=`PUSH`;u===!0?d=`REPLACE`:u===!1||i!=null&&Jn(i.formMethod)&&i.formAction===w.location.pathname+w.location.search&&(d=`REPLACE`);let f=n&&`preventScrollReset`in n?n.preventScrollReset===!0:void 0,p=(n&&n.flushSync)===!0,m=Pe({currentLocation:s,nextLocation:l,historyAction:d});if(m){Me(m,{state:`blocked`,location:l,proceed(){Me(m,{state:`proceeding`,proceed:void 0,reset:void 0,location:l}),re(t,n)},reset(){let e=new Map(w.blockers);e.set(m,zt),ne({blockers:e})}});return}await ae(d,l,{submission:i,pendingError:a,preventScrollReset:f,replace:n&&n.replace,enableViewTransition:n&&n.viewTransition,flushSync:p,callSiteDefaultShouldRevalidate:n&&n.defaultShouldRevalidate})}function ie(){G||=ar(),me(),ne({revalidation:`loading`});let e=G.promise;return w.navigation.state===`submitting`?e:w.navigation.state===`idle`?(ae(w.historyAction,w.location,{startUninterruptedRevalidation:!0}),e):(ae(T||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:k===!0}),e)}async function ae(t,n,r){O&&O.abort(),O=null,T=t,M=(r&&r.startUninterruptedRevalidation)===!0,Be(w.location,w.matches),D=(r&&r.preventScrollReset)===!0,k=(r&&r.enableViewTransition)===!0;let i=s.activeRoutes,a=r?.initialHydration&&w.matches&&w.matches.length>0&&!y?w.matches:Ie(i,n,c,!1,s.branches),o=(r&&r.flushSync)===!0;if(a&&w.initialized&&!N&&In(w.location,n)&&!(r&&r.submission&&Jn(r.submission.formMethod))){q(n,{matches:a},{flushSync:o});return}let l=He(a,i,n.pathname);if(l.active&&l.matches&&(a=l.matches),!a){let{error:e,notFoundMatches:t,route:r}=Fe(n.pathname);q(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:o});return}let u=r&&r.overrideNavigation?{...r.overrideNavigation,matches:a,historyAction:t}:void 0;O=new AbortController;let d=Cn(e.history,n,O.signal,r&&r.submission),f=e.getContext?await e.getContext():new De,p;if(r&&r.pendingError)p=[jn(a).route.id,{type:`error`,error:r.pendingError}];else if(r&&r.submission&&Jn(r.submission.formMethod)){let i=await J(d,n,r.submission,a,t,f,l.active,r&&r.initialHydration===!0,{replace:r.replace,flushSync:o});if(i.shortCircuited)return;if(i.pendingActionResult){let[e,t]=i.pendingActionResult;if(Vn(t)&&vt(t.error)&&t.error.status===404){O=null,q(n,{matches:i.matches,loaderData:{},errors:{[e]:t.error}});return}}a=i.matches||a,p=i.pendingActionResult,u=Qn(n,a,t,r.submission),o=!1,l.active=!1,d=Cn(e.history,d.url,d.signal)}let{shortCircuited:m,matches:h,loaderData:g,errors:_,workingFetchers:v}=await oe(d,n,a,t,f,l.active,u,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&r.initialHydration===!0,o,p,r&&r.callSiteDefaultShouldRevalidate);m||(O=null,q(n,{matches:h||a,...An(p),loaderData:g,errors:_,...v?{fetchers:v}:{}}))}async function J(t,n,i,l,u,d,f,p,m={}){if(me(),ne({navigation:$n(n,l,u,i)},{flushSync:m.flushSync===!0}),f){let e=await Ue(l,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){if(e.partialMatches.length===0){let{matches:t,route:n}=Mn(s.activeRoutes);return{matches:t,pendingActionResult:[n.id,{type:`error`,error:e.error}]}}let t=jn(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:`error`,error:e.error}]}}else if(e.matches)l=e.matches;else{let{notFoundMatches:e,error:t,route:r}=Fe(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:`error`,error:t}]}}}let h,g=Xn(l,n);if(!g.route.action&&!g.route.lazy)h={type:`error`,error:Nn(405,{method:t.method,pathname:n.pathname,routeId:g.route.id})};else{let e=await fe(t,n,hn(a,o,t,n,l,g,p?[]:r,d),d,null);if(h=e[g.route.id],!h){for(let t of l)if(e[t.route.id]){h=e[t.route.id];break}}if(t.signal.aborted)return{shortCircuited:!0}}if(Hn(h)){let n;return n=m&&m.replace!=null?m.replace:Sn(h.response.headers.get(`Location`),new URL(t.url),c,e.history)===w.location.pathname+w.location.search,await de(t,h,!0,{submission:i,replace:n}),{shortCircuited:!0}}if(Vn(h)){let e=jn(l,g.route.id);return(m&&m.replace)!==!0&&(T=`PUSH`),{matches:l,pendingActionResult:[e.route.id,h,g.route.id]}}return{matches:l,pendingActionResult:[g.route.id,h]}}async function oe(t,n,i,l,u,d,f,p,m,h,g,_,v,y){let b=f||Qn(n,i,l,p),x=p||m||Zn(b),S=!M&&!g;if(d){if(S){let e=se(v);ne({navigation:b,...e===void 0?{}:{actionData:e}},{flushSync:_})}let e=await Ue(i,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){if(e.partialMatches.length===0){let{matches:t,route:n}=Mn(s.activeRoutes);return{matches:t,loaderData:{},errors:{[n.id]:e.error}}}let t=jn(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}else if(e.matches)i=e.matches;else{let{error:e,notFoundMatches:t,route:r}=Fe(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let C=s.activeRoutes,{dsMatches:T,revalidatingFetchers:E}=Zt(t,u,a,o,e.history,w,i,x,n,g?[]:r,g===!0,N,P,H,B,z,C,c,e.patchRoutesOnNavigation!=null,s.branches,v,y);if(L=++I,!e.dataStrategy&&!T.some(e=>e.shouldLoad)&&!T.some(e=>e.route.middleware&&e.route.middleware.length>0)&&E.length===0){let e=new Map(w.fetchers),t=Oe(e);return q(n,{matches:i,loaderData:{},errors:v&&Vn(v[1])?{[v[0]]:v[1].error}:null,...An(v),...t?{fetchers:e}:{}},{flushSync:_}),{shortCircuited:!0}}if(S){let e={};if(!d){e.navigation=b;let t=se(v);t!==void 0&&(e.actionData=t)}E.length>0&&(e.fetchers=ce(E)),ne(e,{flushSync:_})}E.forEach(e=>{we(e.key),e.controller&&F.set(e.key,e.controller)});let D=()=>E.forEach(e=>we(e.key));O&&O.signal.addEventListener(`abort`,D);let{loaderResults:k,fetcherResults:A}=await pe(T,E,t,n,u);if(t.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener(`abort`,D),E.forEach(e=>F.delete(e.key));let j=Pn(k);if(j)return await de(t,j.result,!0,{replace:h}),{shortCircuited:!0};if(j=Pn(A),j)return z.add(j.key),await de(t,j.result,!0,{replace:h}),{shortCircuited:!0};let R=new Map(w.fetchers),{loaderData:V,errors:U}=On(w,i,k,v,E,A,R);g&&w.errors&&(U={...w.errors,...U});let W=Oe(R),G=ke(L,R),K=W||G||E.length>0;return{matches:i,loaderData:V,errors:U,...K?{workingFetchers:R}:{}}}function se(e){if(e&&!Vn(e[1]))return{[e[0]]:e[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function ce(e){let t=new Map(w.fetchers);return e.forEach(e=>{let n=t.get(e.key),r=er(void 0,n?n.data:void 0);t.set(e.key,r)}),t}async function le(t,n,r,i){we(t);let a=(i&&i.flushSync)===!0,o=s.activeRoutes,l=Yt(w.location,w.matches,c,r,n,i?.relative),u=Ie(o,l,c,!1,s.branches),d=He(u,o,l);if(d.active&&d.matches&&(u=d.matches),!u){ge(t,n,Nn(404,{pathname:l}),{flushSync:a});return}let{path:f,submission:p,error:m}=Xt(!0,l,i);if(m){ge(t,n,m,{flushSync:a});return}let h=e.getContext?await e.getContext():new De,g=(i&&i.preventScrollReset)===!0;if(p&&Jn(p.formMethod)){await Y(t,n,f,u,h,d.active,a,g,p,i&&i.defaultShouldRevalidate);return}B.set(t,{routeId:n,path:f}),await ue(t,n,f,u,h,d.active,a,g,p)}async function Y(t,n,i,l,u,d,f,p,m,h){me(),B.delete(t),he(t,tr(m,w.fetchers.get(t)),{flushSync:f});let g=new AbortController,_=Cn(e.history,i,g.signal,m);if(d){let e=await Ue(l,new URL(_.url).pathname,_.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){ge(t,n,e.error,{flushSync:f});return}else if(e.matches)l=e.matches;else{ge(t,n,Nn(404,{pathname:i}),{flushSync:f});return}}let v=Xn(l,i);if(!v.route.action&&!v.route.lazy){ge(t,n,Nn(405,{method:m.formMethod,pathname:i,routeId:n}),{flushSync:f});return}F.set(t,g);let y=I,b=hn(a,o,_,i,l,v,r,u),x=await fe(_,i,b,u,t),S=x[v.route.id];if(!S){for(let e of b)if(x[e.route.id]){S=x[e.route.id];break}}if(_.signal.aborted){F.get(t)===g&&F.delete(t);return}if(H.has(t)){if(Hn(S)||Vn(S)){he(t,nr(void 0));return}}else{if(Hn(S))if(F.delete(t),L>y){he(t,nr(void 0));return}else return z.add(t),he(t,er(m)),de(_,S,!1,{fetcherSubmission:m,preventScrollReset:p});if(Vn(S)){ge(t,n,S.error);return}}let C=w.navigation.location||w.location,E=Cn(e.history,C,g.signal),D=s.activeRoutes,k=w.navigation.state===`idle`?w.matches:Ie(D,w.navigation.location,c,!1,s.branches);X(k,`Didn't find any matches after fetcher action`);let A=++I;R.set(t,A);let{dsMatches:j,revalidatingFetchers:M}=Zt(E,u,a,o,e.history,w,k,m,C,r,!1,N,P,H,B,z,D,c,e.patchRoutesOnNavigation!=null,s.branches,[v.route.id,S],h),V=er(m,S.data),U=new Map(w.fetchers);U.set(t,V),M.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=U.get(t),r=er(void 0,n?n.data:void 0);U.set(t,r),we(t),e.controller&&F.set(t,e.controller)}),ne({fetchers:U});let W=()=>M.forEach(e=>we(e.key));g.signal.addEventListener(`abort`,W);let{loaderResults:G,fetcherResults:K}=await pe(j,M,E,C,u);if(g.signal.aborted)return;g.signal.removeEventListener(`abort`,W),R.delete(t),F.delete(t),M.forEach(e=>F.delete(e.key));let ee=w.fetchers.has(t),te=e=>{if(!ee)return e;let n=new Map(e.fetchers);return n.set(t,nr(S.data)),{...e,fetchers:n}},re=Pn(G);if(re)return w=te(w),de(E,re.result,!1,{preventScrollReset:p});if(re=Pn(K),re)return z.add(re.key),w=te(w),de(E,re.result,!1,{preventScrollReset:p});let ie=new Map(w.fetchers);ee&&ie.set(t,nr(S.data));let{loaderData:ae,errors:J}=On(w,k,G,void 0,M,K,ie);ke(A,ie),w.navigation.state===`loading`&&A>L?(X(T,`Expected pending action`),O&&O.abort(),q(w.navigation.location,{matches:k,loaderData:ae,errors:J,fetchers:ie})):(ne({errors:J,loaderData:kn(w.loaderData,ae,k,J),fetchers:ie}),N=!1)}async function ue(t,n,i,s,c,l,u,d,f){let p=w.fetchers.get(t);he(t,er(f,p?p.data:void 0),{flushSync:u});let m=new AbortController,h=Cn(e.history,i,m.signal);if(l){let e=await Ue(s,new URL(h.url).pathname,h.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){ge(t,n,e.error,{flushSync:u});return}else if(e.matches)s=e.matches;else{ge(t,n,Nn(404,{pathname:i}),{flushSync:u});return}}let g=Xn(s,i);F.set(t,m);let _=I,v=await fe(h,i,hn(a,o,h,i,s,g,r,c),c,t),y=v[g.route.id];if(!y){for(let e of s)if(v[e.route.id]){y=v[e.route.id];break}}if(F.get(t)===m&&F.delete(t),!h.signal.aborted){if(H.has(t)){he(t,nr(void 0));return}if(Hn(y))if(L>_){he(t,nr(void 0));return}else{z.add(t),await de(h,y,!1,{preventScrollReset:d});return}if(Vn(y)){ge(t,n,y.error);return}he(t,nr(y.data))}}async function de(r,i,a,{submission:o,fetcherSubmission:s,preventScrollReset:l,replace:u}={}){a||(E?.resolve(),E=null),i.response.headers.has(`X-Remix-Revalidate`)&&(N=!0);let d=i.response.headers.get(`Location`);X(d,`Expected a Location header on the redirect Response`),d=Sn(d,new URL(r.url),c,e.history);let f=xe(w.location,d,{_isRedirect:!0});if(n){let e=!1;if(i.response.headers.has(`X-Remix-Reload-Document`))e=!0;else if(it(d)){let n=Te(t,d,!0);e=n.origin!==t.location.origin||tt(n.pathname,c)==null}if(e){u?t.location.replace(d):t.location.assign(d);return}}O=null;let p=u===!0||i.response.headers.has(`X-Remix-Replace`)?`REPLACE`:`PUSH`,{formMethod:m,formAction:h,formEncType:g}=w.navigation;!o&&!s&&m&&h&&g&&(o=Zn(w.navigation));let _=o||s;Lt.has(i.response.status)&&_&&Jn(_.formMethod)?await ae(p,f,{submission:{..._,formAction:d},preventScrollReset:l||D,enableViewTransition:a?k:void 0}):await ae(p,f,{overrideNavigation:Qn(f,[],p,o),fetcherSubmission:s,preventScrollReset:l||D,enableViewTransition:a?k:void 0})}async function fe(e,t,n,r,i){let a,o={};try{a=await gn(l,e,t,n,i,r,!1)}catch(e){return n.filter(e=>e.shouldLoad).forEach(t=>{o[t.route.id]={type:`error`,error:e}}),o}if(e.signal.aborted)return o;if(!Jn(e.method))for(let e of n){if(a[e.route.id]?.type===`error`)break;!a.hasOwnProperty(e.route.id)&&!w.loaderData.hasOwnProperty(e.route.id)&&(!w.errors||!w.errors.hasOwnProperty(e.route.id))&&e.shouldCallHandler()&&(a[e.route.id]={type:`error`,result:Error(`No result returned from dataStrategy for route ${e.route.id}`)})}for(let[t,r]of Object.entries(a))if(Bn(r)){let i=r.result;o[t]={type:`redirect`,response:bn(i,e,t,n,c)}}else o[t]=await yn(r);return o}async function pe(e,t,n,r,i){let a=fe(n,r,e,i,null),o=Promise.all(t.map(async e=>{if(e.matches&&e.match&&e.request&&e.controller){let t=(await fe(e.request,e.path,e.matches,i,e.key))[e.match.route.id];return{[e.key]:t}}else return Promise.resolve({[e.key]:{type:`error`,error:Nn(404,{pathname:e.path})}})}));return{loaderResults:await a,fetcherResults:(await o).reduce((e,t)=>Object.assign(e,t),{})}}function me(){N=!0,B.forEach((e,t)=>{F.has(t)&&P.add(t),we(t)})}function he(e,t,n={}){let r=new Map(w.fetchers);r.set(e,t),ne({fetchers:r},{flushSync:(n&&n.flushSync)===!0})}function ge(e,t,n,r={}){let i=jn(w.matches,t),a=new Map(w.fetchers);be(a,e),ne({errors:{[i.route.id]:n},fetchers:a},{flushSync:(r&&r.flushSync)===!0})}function _e(e){return V.set(e,(V.get(e)||0)+1),H.has(e)&&H.delete(e),w.fetchers.get(e)||tee}function ye(e,t){we(e,t?.reason),he(e,nr(null))}function be(e,t){let n=w.fetchers.get(t);F.has(t)&&!(n&&n.state===`loading`&&R.has(t))&&we(t),B.delete(t),R.delete(t),z.delete(t),H.delete(t),P.delete(t),e.delete(t)}function Se(e){let t=(V.get(e)||0)-1;t<=0?(V.delete(e),H.add(e)):V.set(e,t),ne({fetchers:new Map(w.fetchers)})}function we(e,t){let n=F.get(e);n&&(n.abort(t),F.delete(e))}function Ee(e,t){for(let n of e){let e=t.get(n);X(e,`Expected fetcher: ${n}`);let r=nr(e.data);t.set(n,r)}}function Oe(e){let t=[],n=!1;for(let r of z){let i=e.get(r);X(i,`Expected fetcher: ${r}`),i.state===`loading`&&(z.delete(r),t.push(r),n=!0)}return Ee(t,e),n}function ke(e,t){let n=[];for(let[r,i]of R)if(i<e){let e=t.get(r);X(e,`Expected fetcher: ${r}`),e.state===`loading`&&(we(r),R.delete(r),n.push(r))}return Ee(n,t),n.length>0}function Ae(e,t){let n=w.blockers.get(e)||zt;return U.get(e)!==t&&U.set(e,t),n}function je(e){w.blockers.delete(e),U.delete(e)}function Me(e,t){let n=w.blockers.get(e)||zt;X(n.state===`unblocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`proceeding`||n.state===`blocked`&&t.state===`unblocked`||n.state===`proceeding`&&t.state===`unblocked`,`Invalid blocker state transition: ${n.state} -> ${t.state}`);let r=new Map(w.blockers);r.set(e,t),ne({blockers:r})}function Pe({currentLocation:e,nextLocation:t,historyAction:n}){if(U.size===0)return;U.size>1&&ve(!1,`A router only supports one blocker at a time`);let r=Array.from(U.entries()),[i,a]=r[r.length-1],o=w.blockers.get(i);if(!(o&&o.state===`proceeding`)&&a({currentLocation:e,nextLocation:t,historyAction:n}))return i}function Fe(e){let t=Nn(404,{pathname:e}),n=s.activeRoutes,{matches:r,route:i}=Mn(n);return{notFoundMatches:r,route:i,error:t}}function Re(e,t,n){if(m=e,g=t,h=n||null,!_&&w.navigation===Rt){_=!0;let e=Ve(w.location,w.matches);e!=null&&ne({restoreScrollPosition:e})}return()=>{m=null,g=null,h=null}}function ze(e,t){return h&&h(e,t.map(e=>Le(e,w.loaderData)))||e.key}function Be(e,t){if(m&&g){let n=ze(e,t);m[n]=g()}}function Ve(e,t){if(m){let n=ze(e,t),r=m[n];if(typeof r==`number`)return r}return null}function He(t,n,r){if(e.patchRoutesOnNavigation){let e=s.branches;if(!t)return{active:!0,matches:Ie(n,r,c,!0,e)||[]};if(Object.keys(t[0].params).length>0)return{active:!0,matches:Ie(n,r,c,!0,e)}}return{active:!1,matches:null}}async function Ue(t,n,r,i){if(!e.patchRoutesOnNavigation)return{type:`success`,matches:t};let l=t;for(;;){let t=o;try{await e.patchRoutesOnNavigation({signal:r,path:n,matches:l,fetcherKey:i,patch:(e,n)=>{r.aborted||rn(e,n,s,t,a,!1)}})}catch(e){return{type:`error`,error:e,partialMatches:l}}if(r.aborted)return{type:`aborted`};let u=s.branches,d=Ie(s.activeRoutes,n,c,!1,u),f=null;if(d&&(Object.keys(d[0].params).length===0||(f=Ie(s.activeRoutes,n,c,!0,u),!(f&&l.length<f.length&&We(l,f.slice(0,l.length))))))return{type:`success`,matches:d};if(f||=Ie(s.activeRoutes,n,c,!0,u),!f||We(l,f))return{type:`success`,matches:null};l=f}}function We(e,t){return e.length===t.length&&e.every((e,n)=>e.route.id===t[n].route.id)}function Ge(e){o={},s.setHmrRoutes(Ne(e,a,void 0,o))}function Ke(e,t,n=!1){rn(e,t,s,o,a,n),s.hasHMRRoutes||ne({})}return C={get basename(){return c},get future(){return u},get state(){return w},get routes(){return s.stableRoutes},get branches(){return s.branches},get manifest(){return o},get window(){return t},initialize:K,subscribe:te,enableScrollRestoration:Re,navigate:re,fetch:le,revalidate:ie,createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:_e,resetFetcher:ye,deleteFetcher:Se,dispose:ee,getBlocker:Ae,deleteBlocker:je,patchRoutes:Ke,_internalFetchControllers:F,_internalSetRoutes:Ge,_internalSetStateDoNotUseOrYouWillBreakYourApp(e){ne(e)}},e.instrumentations&&(C=wt(C,e.instrumentations.map(e=>e.router).filter(Boolean))),C}function nee(e){return e!=null&&(`formData`in e&&e.formData!=null||`body`in e&&e.body!==void 0)}function Yt(e,t,n,r,i,a){let o,s;if(i){o=[];for(let e of t)if(o.push(e),e.route.id===i){s=e;break}}else o=t,s=t[t.length-1];let c=ut(r||`.`,lt(o),tt(e.pathname,n)||e.pathname,a===`path`);if(r??(c.search=e.search,c.hash=e.hash),(r==null||r===``||r===`.`)&&s){let e=Yn(c.search);if(s.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,`?index&`):`?index`;else if(!s.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll(`index`);e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();c.search=n?`?${n}`:``}}return n!==`/`&&(c.pathname=nt({basename:n,pathname:c.pathname})),Se(c)}function Xt(e,t,n){if(!n||!nee(n))return{path:t};if(n.formMethod&&!qn(n.formMethod))return{path:t,error:Nn(405,{method:n.formMethod})};let r=()=>({path:t,error:Nn(400,{type:`invalid-body`})}),i=(n.formMethod||`get`).toUpperCase(),a=Fn(t);if(n.body!==void 0){if(n.formEncType===`text/plain`){if(!Jn(i))return r();let e=typeof n.body==`string`?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,[t,n])=>`${e}${t}=${n}
|
|
3
|
+
`,``):String(n.body);return{path:t,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if(n.formEncType===`application/json`){if(!Jn(i))return r();try{let e=typeof n.body==`string`?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch{return r()}}}X(typeof FormData==`function`,`FormData is not available in this environment`);let o,s;if(n.formData)o=Tn(n.formData),s=n.formData;else if(n.body instanceof FormData)o=Tn(n.body),s=n.body;else if(n.body instanceof URLSearchParams)o=n.body,s=En(o);else if(n.body==null)o=new URLSearchParams,s=new FormData;else try{o=new URLSearchParams(n.body),s=En(o)}catch{return r()}let c={formMethod:i,formAction:a,formEncType:n&&n.formEncType||`application/x-www-form-urlencoded`,formData:s,json:void 0,text:void 0};if(Jn(c.formMethod))return{path:t,submission:c};let l=Ce(t);return e&&l.search&&Yn(l.search)&&o.append(`index`,``),l.search=`?${o}`,{path:Se(l),submission:c}}function Zt(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x){let S=b?Vn(b[1])?b[1].error:b[1].data:void 0,C=i.createURL(a.location),w=i.createURL(c),T;if(u&&a.errors){let e=Object.keys(a.errors)[0];T=o.findIndex(t=>t.route.id===e)}else if(b&&Vn(b[1])){let e=b[0];T=o.findIndex(t=>t.route.id===e)-1}let E=b?b[1].statusCode:void 0,D=E&&E>=400,O={currentUrl:C,currentParams:a.matches[0]?.params||{},nextUrl:w,nextParams:o[0].params,...s,actionResult:S,actionStatus:E},k=yt(o),A=o.map((i,o)=>{let{route:s}=i,f=null;if(T!=null&&o>T)f=!1;else if(s.lazy)f=!0;else if(!Qt(s))f=!1;else if(u){let{shouldLoad:e}=$t(s,a.loaderData,a.errors);f=e}else en(a.loaderData,a.matches[o],i)&&(f=!0);if(f!==null)return mn(n,r,e,c,k,i,l,t,f);let p=!1;typeof x==`boolean`?p=x:D?p=!1:d||C.pathname+C.search===w.pathname+w.search?p=!0:C.search===w.search?tn(a.matches[o],i)&&(p=!0):p=!0;let m={...O,defaultShouldRevalidate:p};return mn(n,r,e,c,k,i,l,t,nn(i,m),m,x)}),j=[];return m.forEach((e,s)=>{if(u||!o.some(t=>t.route.id===e.routeId)||p.has(s))return;let c=a.fetchers.get(s),m=c&&c.state!==`idle`&&c.data===void 0,b=Ie(g,e.path,_??`/`,!1,y);if(!b){if(v&&m)return;j.push({key:s,routeId:e.routeId,path:e.path,matches:null,match:null,request:null,controller:null});return}if(h.has(s))return;let S=Xn(b,e.path),C=new AbortController,w=Cn(i,e.path,C.signal),T=null;if(f.has(s))f.delete(s),T=hn(n,r,w,e.path,b,S,l,t);else if(m)d&&(T=hn(n,r,w,e.path,b,S,l,t));else{let i;i=typeof x==`boolean`?x:D?!1:d;let a={...O,defaultShouldRevalidate:i};nn(S,a)&&(T=hn(n,r,w,e.path,b,S,l,t,a))}T&&j.push({key:s,routeId:e.routeId,path:e.path,matches:T,match:S,request:w,controller:C})}),{dsMatches:A,revalidatingFetchers:j}}function Qt(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function $t(e,t,n){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Qt(e))return{shouldLoad:!1,renderFallback:!1};let r=t!=null&&e.id in t,i=n!=null&&n[e.id]!==void 0;if(!r&&i)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader==`function`&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!r};let a=!r&&!i;return{shouldLoad:a,renderFallback:a}}function en(e,t,n){let r=!t||n.route.id!==t.route.id,i=!e.hasOwnProperty(n.route.id);return r||i}function tn(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith(`*`)&&e.params[`*`]!==t.params[`*`]}function nn(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n==`boolean`)return n}return t.defaultShouldRevalidate}function rn(e,t,n,r,i,a){let o;if(e){let t=r[e];X(t,`No route found to patch children into: routeId = ${e}`),t.children||=[],o=t.children}else o=n.activeRoutes;let s=[],c=[];if(t.forEach(e=>{let t=o.find(t=>an(e,t));t?c.push({existingRoute:t,newRoute:e}):s.push(e)}),s.length>0){let t=Ne(s,i,[e||`_`,`patch`,String(o?.length||`0`)],r);o.push(...t)}if(a&&c.length>0)for(let e=0;e<c.length;e++){let{existingRoute:t,newRoute:n}=c[e],r=t,[a]=Ne([n],i,[],{},!0);Object.assign(r,{element:a.element?a.element:r.element,errorElement:a.errorElement?a.errorElement:r.errorElement,hydrateFallbackElement:a.hydrateFallbackElement?a.hydrateFallbackElement:r.hydrateFallbackElement})}n.hasHMRRoutes||n.setRoutes([...n.activeRoutes])}function an(e,t){return`id`in e&&`id`in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children?.every((e,n)=>t.children?.some(t=>an(e,t)))??!1:!1}var on=new WeakMap,sn=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let i=n[t.id];if(X(i,`No route found in manifest`),!i.lazy||typeof i.lazy!=`object`)return;let a=i.lazy[e];if(!a)return;let o=on.get(i);o||(o={},on.set(i,o));let s=o[e];if(s)return s;let c=(async()=>{let t=ke(e),n=i[e]!==void 0&&e!==`hasErrorBoundary`;if(t)ve(!t,`Route property `+e+` is not a supported lazy route property. This property will be ignored.`),o[e]=Promise.resolve();else if(n)ve(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let t=await a();t!=null&&(Object.assign(i,{[e]:t}),Object.assign(i,r(i)))}typeof i.lazy==`object`&&(i.lazy[e]=void 0,Object.values(i.lazy).every(e=>e===void 0)&&(i.lazy=void 0))})();return o[e]=c,c},cn=new WeakMap;function ln(e,t,n,r,i){let a=n[e.id];if(X(a,`No route found in manifest`),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy==`function`){let t=cn.get(a);if(t)return{lazyRoutePromise:t,lazyHandlerPromise:t};let n=(async()=>{X(typeof e.lazy==`function`,`No lazy route function found`);let t=await e.lazy(),n={};for(let e in t){let r=t[e];if(r===void 0)continue;let i=je(e),o=a[e]!==void 0&&e!==`hasErrorBoundary`;i?ve(!i,`Route property `+e+` is not a supported property to be returned from a lazy route function. This property will be ignored.`):o?ve(!o,`Route "${a.id}" has a static property "${e}" defined but its lazy function is also returning a value for this property. The lazy route property "${e}" will be ignored.`):n[e]=r}Object.assign(a,n),Object.assign(a,{...r(a),lazy:void 0})})();return cn.set(a,n),n.catch(()=>{}),{lazyRoutePromise:n,lazyHandlerPromise:n}}let o=Object.keys(e.lazy),s=[],c;for(let a of o){if(i&&i.includes(a))continue;let o=sn({key:a,route:e,manifest:n,mapRouteProperties:r});o&&(s.push(o),a===t&&(c=o))}let l=s.length>0?Promise.all(s).then(()=>{}):void 0;return l?.catch(()=>{}),c?.catch(()=>{}),{lazyRoutePromise:l,lazyHandlerPromise:c}}async function un(e){let t=e.matches.filter(e=>e.shouldLoad),n={};return(await Promise.all(t.map(e=>e.resolve()))).forEach((e,r)=>{n[t[r].route.id]=e}),n}async function ree(e){return e.matches.some(e=>e.route.middleware)?dn(e,()=>un(e)):un(e)}function dn(e,t){return iee(e,t,e=>{if(Kn(e))throw e;return e},Rn,n);function n(t,n,r){if(r)return Promise.resolve(Object.assign(r.value,{[n]:{type:`error`,result:t}}));{let{matches:r}=e,i=jn(r,r[Math.min(Math.max(r.findIndex(e=>e.route.id===n),0),Math.max(r.findIndex(e=>e.shouldCallHandler()),0))].route.id).route.id;return Promise.resolve({[i]:{type:`error`,result:t}})}}}async function iee(e,t,n,r,i){let{matches:a,...o}=e;return await fn(o,a.flatMap(e=>e.route.middleware?e.route.middleware.map(t=>[e.route.id,t]):[]),t,n,r,i)}async function fn(e,t,n,r,i,a,o=0){let{request:s}=e;if(s.signal.aborted)throw s.signal.reason??Error(`Request aborted: ${s.method} ${s.url}`);let c=t[o];if(!c)return await n();let[l,u]=c,d,f=async()=>{if(d)throw Error("You may only call `next()` once per middleware");try{return d={value:await fn(e,t,n,r,i,a,o+1)},d.value}catch(e){return d={value:await a(e,l,d)},d.value}};try{let t=await u(e,f),n=t==null?void 0:r(t);return i(n)?n:d?n??d.value:(d={value:await f()},d.value)}catch(e){return await a(e,l,d)}}function pn(e,t,n,r,i){let a=sn({key:`middleware`,route:r.route,manifest:t,mapRouteProperties:e}),o=ln(r.route,Jn(n.method)?`action`:`loader`,t,e,i);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function mn(e,t,n,r,i,a,o,s,c,l=null,u){let d=!1,f=pn(e,t,n,a,o);return{...a,_lazyPromises:f,shouldLoad:c,shouldRevalidateArgs:l,shouldCallHandler(e){return d=!0,l?typeof u==`boolean`?nn(a,{...l,defaultShouldRevalidate:u}):typeof e==`boolean`?nn(a,{...l,defaultShouldRevalidate:e}):nn(a,l):c},resolve(e){let{lazy:t,loader:o,middleware:l}=a.route,u=d||c||e&&!Jn(n.method)&&(t||o),p=l&&l.length>0&&!o&&!t;return u&&(Jn(n.method)||!p)?_n({request:n,path:r,pattern:i,match:a,lazyHandlerPromise:f?.handler,lazyRoutePromise:f?.route,handlerOverride:e,scopedContext:s}):Promise.resolve({type:`data`,result:void 0})}}}function hn(e,t,n,r,i,a,o,s,c=null){return i.map(l=>l.route.id===a.route.id?mn(e,t,n,r,yt(i),l,o,s,!0,c):{...l,shouldLoad:!1,shouldRevalidateArgs:c,shouldCallHandler:()=>!1,_lazyPromises:pn(e,t,n,l,o),resolve:()=>Promise.resolve({type:`data`,result:void 0})})}async function gn(e,t,n,r,i,a,o){r.some(e=>e._lazyPromises?.middleware)&&await Promise.all(r.map(e=>e._lazyPromises?.middleware));let s={request:t,url:wn(t,n),pattern:yt(r),params:r[0].params,context:a,matches:r},c=o?()=>{throw Error("You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response. You can enable middleware via the `respond` API in `query`/`queryRoute`")}:e=>{let t=s;return dn(t,()=>e({...t,fetcherKey:i,runClientMiddleware:()=>{throw Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))},l=await e({...s,fetcherKey:i,runClientMiddleware:c});try{await Promise.all(r.flatMap(e=>[e._lazyPromises?.handler,e._lazyPromises?.route]))}catch{}return l}async function _n({request:e,path:t,pattern:n,match:r,lazyHandlerPromise:i,lazyRoutePromise:a,handlerOverride:o,scopedContext:s}){let c,l,u=Jn(e.method),d=u?`action`:`loader`,f=i=>{let a,c=new Promise((e,t)=>a=t);l=()=>a(),e.signal.addEventListener(`abort`,l);let u=a=>typeof i==`function`?i({request:e,url:wn(e,t),pattern:n,params:r.params,context:s},...a===void 0?[]:[a]):Promise.reject(Error(`You cannot call the handler for a route which defines a boolean "${d}" [routeId: ${r.route.id}]`)),f=(async()=>{try{return{type:`data`,result:await(o?o(e=>u(e)):u())}}catch(e){return{type:`error`,result:e}}})();return Promise.race([f,c])};try{let t=u?r.route.action:r.route.loader;if(i||a)if(t){let e,[n]=await Promise.all([f(t).catch(t=>{e=t}),i,a]);if(e!==void 0)throw e;c=n}else{await i;let t=u?r.route.action:r.route.loader;if(t)[c]=await Promise.all([f(t),a]);else if(d===`action`){let t=new URL(e.url),n=t.pathname+t.search;throw Nn(405,{method:e.method,pathname:n,routeId:r.route.id})}else return{type:`data`,result:void 0}}else if(t)c=await f(t);else{let t=new URL(e.url);throw Nn(404,{pathname:t.pathname+t.search})}}catch(e){return{type:`error`,result:e}}finally{l&&e.signal.removeEventListener(`abort`,l)}return c}async function vn(e){let t=e.headers.get(`Content-Type`);return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function yn(e){let{result:t,type:n}=e;if(Wn(t)){let e;try{e=await vn(t)}catch(e){return{type:`error`,error:e}}return n===`error`?{type:`error`,error:new _t(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:`data`,data:e,statusCode:t.status,headers:t.headers}}return n===`error`?Un(t)?t.data instanceof Error?{type:`error`,error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`error`,error:Ln(t),statusCode:vt(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`error`,error:t,statusCode:vt(t)?t.status:void 0}:Un(t)?{type:`data`,data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`data`,data:t}}function bn(e,t,n,r,i){let a=e.headers.get(`Location`);if(X(a,`Redirects returned/thrown from loaders/actions must have a Location header`),!it(a)){let o=r.slice(0,r.findIndex(e=>e.route.id===n)+1);a=Yt(new URL(t.url),o,i,a),e.headers.set(`Location`,a)}return e}var xn=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function Sn(e,t,n,r){if(it(e)){let r=e,i=r.startsWith(`//`)?new URL(t.protocol+r):new URL(r);if(xn.includes(i.protocol))throw Error(`Invalid redirect location`);let a=tt(i.pathname,n)!=null;if(i.origin===t.origin&&a)return dt(i.pathname)+i.search+i.hash}try{let t=r.createURL(e);if(xn.includes(t.protocol))throw Error(`Invalid redirect location`)}catch{}return e}function Cn(e,t,n,r){let i=e.createURL(Fn(t)).toString(),a={signal:n};if(r&&Jn(r.formMethod)){let{formMethod:e,formEncType:t}=r;a.method=e.toUpperCase(),t===`application/json`?(a.headers=new Headers({"Content-Type":t}),a.body=JSON.stringify(r.json)):t===`text/plain`?a.body=r.text:t===`application/x-www-form-urlencoded`&&r.formData?a.body=Tn(r.formData):a.body=r.formData}return new Request(i,a)}function wn(e,t){let n=new URL(e.url),r=typeof t==`string`?Ce(t):t;if(n.pathname=r.pathname||`/`,r.search){let e=new URLSearchParams(r.search),t=e.getAll(`index`);e.delete(`index`);for(let n of t.filter(Boolean))e.append(`index`,n);n.search=e.size?`?${e.toString()}`:``}else n.search=``;return n.hash=r.hash||``,n}function Tn(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r==`string`?r:r.name);return t}function En(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Dn(e,t,n,r=!1,i=!1){let a={},o=null,s,c=!1,l={},u=n&&Vn(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let d=n.route.id,f=t[d];if(X(!Hn(f),`Cannot handle redirect results in processLoaderData`),Vn(f)){let t=f.error;if(u!==void 0&&(t=u,u=void 0),o||={},i)o[d]=t;else{let n=jn(e,d);o[n.route.id]??(o[n.route.id]=t)}r||(a[d]=Ht),c||(c=!0,s=vt(f.error)?f.error.status:500),f.headers&&(l[d]=f.headers)}else a[d]=f.data,f.statusCode&&f.statusCode!==200&&!c&&(s=f.statusCode),f.headers&&(l[d]=f.headers)}),u!==void 0&&n&&(o={[n[0]]:u},n[2]&&(a[n[2]]=void 0)),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:l}}function On(e,t,n,r,i,a,o){let{loaderData:s,errors:c}=Dn(t,n,r);return i.filter(e=>!e.matches||e.matches.some(e=>e.shouldLoad)).forEach(t=>{let{key:n,match:r,controller:i}=t;if(i&&i.signal.aborted)return;let s=a[n];if(X(s,`Did not find corresponding fetcher result`),Vn(s)){let t=jn(e.matches,r?.route.id);c&&c[t.route.id]||(c={...c,[t.route.id]:s.error}),o.delete(n)}else if(Hn(s))X(!1,`Unhandled fetcher revalidation redirect`);else{let e=nr(s.data);o.set(n,e)}}),{loaderData:s,errors:c}}function kn(e,t,n,r){let i=Object.entries(t).filter(([,e])=>e!==Ht).reduce((e,[t,n])=>(e[t]=n,e),{});for(let a of n){let n=a.route.id;if(!t.hasOwnProperty(n)&&e.hasOwnProperty(n)&&a.route.loader&&(i[n]=e[n]),r&&r.hasOwnProperty(n))break}return i}function An(e){return e?Vn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function jn(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>e.route.hasErrorBoundary===!0)||e[0]}function Mn(e){let t=e.length===1?e[0]:e.find(e=>e.index||!e.path||e.path===`/`)||{id:`__shim-error-route__`};return{matches:[{params:{},pathname:``,pathnameBase:``,route:t}],route:t}}function Nn(e,{pathname:t,routeId:n,method:r,type:i,message:a}={}){let o=`Unknown Server Error`,s=`Unknown @remix-run/router error`;return e===400?(o=`Bad Request`,r&&t&&n?s=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:i===`invalid-body`&&(s=`Unable to encode submission body`)):e===403?(o=`Forbidden`,s=`Route "${n}" does not match URL "${t}"`):e===404?(o=`Not Found`,s=`No route matches URL "${t}"`):e===405&&(o=`Method Not Allowed`,r&&t&&n?s=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(s=`Invalid request method "${r.toUpperCase()}"`)),new _t(e||500,o,Error(s),!0)}function Pn(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(Hn(r))return{key:n,result:r}}}function Fn(e){return Se({...typeof e==`string`?Ce(e):e,hash:``})}function In(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===``?t.hash!==``:e.hash===t.hash?!0:t.hash!==``}function Ln(e){return new _t(e.init?.status??500,e.init?.statusText??`Internal Server Error`,e.data)}function Rn(e){return typeof e==`object`&&!!e&&Object.entries(e).every(([e,t])=>typeof e==`string`&&zn(t))}function zn(e){return typeof e==`object`&&!!e&&`type`in e&&`result`in e&&(e.type===`data`||e.type===`error`)}function Bn(e){return Wn(e.result)&&It.has(e.result.status)}function Vn(e){return e.type===`error`}function Hn(e){return(e&&e.type)===`redirect`}function Un(e){return typeof e==`object`&&!!e&&`type`in e&&`data`in e&&`init`in e&&e.type===`DataWithResponseInit`}function Wn(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.headers==`object`&&e.body!==void 0}function Gn(e){return It.has(e)}function Kn(e){return Wn(e)&&Gn(e.status)&&e.headers.has(`Location`)}function qn(e){return Ft.has(e.toUpperCase())}function Jn(e){return Nt.has(e.toUpperCase())}function Yn(e){return new URLSearchParams(e).getAll(`index`).some(e=>e===``)}function Xn(e,t){let n=typeof t==`string`?Ce(t).search:t.search;if(e[e.length-1].route.index&&Yn(n||``))return e[e.length-1];let r=ct(e);return r[r.length-1]}function Zn(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function Qn(e,t,n,r){return r?{state:`loading`,location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:`loading`,location:e,matches:t,historyAction:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function $n(e,t,n,r){return{state:`submitting`,location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function er(e,t){return e?{state:`loading`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:`loading`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function tr(e,t){return{state:`submitting`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function nr(e){return{state:`idle`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function rr(e,t){try{let n=e.sessionStorage.getItem(Vt);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch{}}function ir(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(Vt,JSON.stringify(n))}catch(e){ve(!1,`Failed to save applied view transitions in sessionStorage (${e}).`)}}}function ar(){let e,t,n=new Promise((r,i)=>{e=async e=>{r(e);try{await n}catch{}},t=async e=>{i(e);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var or=Y.createContext(null);or.displayName=`DataRouter`;var sr=Y.createContext(null);sr.displayName=`DataRouterState`;var cr=Y.createContext(!1);function lr(){return Y.useContext(cr)}var ur=Y.createContext({isTransitioning:!1});ur.displayName=`ViewTransition`;var dr=Y.createContext(new Map);dr.displayName=`Fetchers`;var fr=Y.createContext(null);fr.displayName=`Await`;var pr=Y.createContext(null);pr.displayName=`Navigation`;var mr=Y.createContext(null);mr.displayName=`Location`;var hr=Y.createContext({outlet:null,matches:[],isDataRoute:!1});hr.displayName=`Route`;var gr=Y.createContext(null);gr.displayName=`RouteError`;var _r=`REACT_ROUTER_ERROR`,vr=`REDIRECT`,yr=`ROUTE_ERROR_RESPONSE`;function br(e){if(e.startsWith(`${_r}:${vr}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function xr(e){if(e.startsWith(`${_r}:${yr}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new _t(t.status,t.statusText,t.data)}catch{}}function Sr(e,{relative:t}={}){X(Cr(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=Y.useContext(pr),{hash:i,pathname:a,search:o}=Mr(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:ft([n,a])),r.createHref({pathname:s,search:o,hash:i})}function Cr(){return Y.useContext(mr)!=null}function wr(){return X(Cr(),`useLocation() may be used only in the context of a <Router> component.`),Y.useContext(mr).location}var Tr=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Er(e){Y.useContext(pr).static||Y.useLayoutEffect(e)}function Dr(){let{isDataRoute:e}=Y.useContext(hr);return e?Xr():Or()}function Or(){X(Cr(),`useNavigate() may be used only in the context of a <Router> component.`);let e=Y.useContext(or),{basename:t,navigator:n}=Y.useContext(pr),{matches:r}=Y.useContext(hr),{pathname:i}=wr(),a=JSON.stringify(lt(r)),o=Y.useRef(!1);return Er(()=>{o.current=!0}),Y.useCallback((r,s={})=>{if(ve(o.current,Tr),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=ut(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:ft([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var kr=Y.createContext(null);function Ar(e){let t=Y.useContext(hr).outlet;return Y.useMemo(()=>t&&Y.createElement(kr.Provider,{value:e},t),[t,e])}function jr(){let{matches:e}=Y.useContext(hr);return e[e.length-1]?.params??{}}function Mr(e,{relative:t}={}){let{matches:n}=Y.useContext(hr),{pathname:r}=wr(),i=JSON.stringify(lt(n));return Y.useMemo(()=>ut(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Nr(e,t,n){X(Cr(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=Y.useContext(pr),{matches:i}=Y.useContext(hr),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;Qr(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
4
|
+
|
|
5
|
+
Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=wr(),d;if(t){let e=typeof t==`string`?Ce(t):t;X(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):Fe(e,{pathname:p});ve(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),ve(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=Br(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:ft([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:ft([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?Y.createElement(mr.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function Pr(){let e=Yr(),t=vt(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=Y.createElement(Y.Fragment,null,Y.createElement(`p`,null,`💿 Hey developer 👋`),Y.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,Y.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,Y.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),Y.createElement(Y.Fragment,null,Y.createElement(`h2`,null,`Unexpected Application Error!`),Y.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?Y.createElement(`pre`,{style:i},n):null,o)}var Fr=Y.createElement(Pr,null),Ir=class extends Y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=xr(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:Y.createElement(hr.Provider,{value:this.props.routeContext},Y.createElement(gr.Provider,{value:e,children:this.props.component}));return this.context?Y.createElement(Rr,{error:e},t):t}};Ir.contextType=cr;var Lr=new WeakMap;function Rr({children:e,error:t}){let{basename:n}=Y.useContext(pr);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=br(t.digest);if(e){let r=Lr.get(t);if(r)throw r;let i=xt(e.location,n);if(bt&&!Lr.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Lr.set(t,n),n}return Y.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function zr({routeContext:e,match:t,children:n}){let r=Y.useContext(or);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),Y.createElement(hr.Provider,{value:e},n)}function Br(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);X(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:yt(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||Fr,o&&(s<0&&c===0?(Qr(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?Y.createElement(n.route.Component,null):n.route.element?n.route.element:e,Y.createElement(zr,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?Y.createElement(Ir,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function Vr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Hr(e){let t=Y.useContext(or);return X(t,Vr(e)),t}function Ur(e){let t=Y.useContext(sr);return X(t,Vr(e)),t}function Wr(e){let t=Y.useContext(hr);return X(t,Vr(e)),t}function Gr(e){let t=Wr(e),n=t.matches[t.matches.length-1];return X(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Kr(){return Gr(`useRouteId`)}function qr(){let e=Ur(`useNavigation`);return Y.useMemo(()=>{let{matches:t,historyAction:n,...r}=e.navigation;return r},[e.navigation])}function Jr(){let{matches:e,loaderData:t}=Ur(`useMatches`);return Y.useMemo(()=>e.map(e=>Le(e,t)),[e,t])}function Yr(){let e=Y.useContext(gr),t=Ur(`useRouteError`),n=Gr(`useRouteError`);return e===void 0?t.errors?.[n]:e}function Xr(){let{router:e}=Hr(`useNavigate`),t=Gr(`useNavigate`),n=Y.useRef(!1);return Er(()=>{n.current=!0}),Y.useCallback(async(r,i={})=>{ve(n.current,Tr),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Zr={};function Qr(e,t,n){!t&&!Zr[e]&&(Zr[e]=!0,ve(!1,n))}var $r={};function ei(e,t){!e&&!$r[t]&&($r[t]=!0,console.warn(t))}var ti=Y.useOptimistic,ni=()=>void 0;function ri(e){return ti?ti(e):[e,ni]}function ii(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&ve(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:Y.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&ve(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:Y.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&ve(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:Y.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var ai=[`HydrateFallback`,`hydrateFallbackElement`],oi=class{constructor(){this.status=`pending`,this.promise=new Promise((e,t)=>{this.resolve=t=>{this.status===`pending`&&(this.status=`resolved`,e(t))},this.reject=e=>{this.status===`pending`&&(this.status=`rejected`,t(e))}})}};function si({router:e,flushSync:t,onError:n,useTransitions:r}){r=lr()||r;let[i,a]=Y.useState(e.state),[o,s]=ri(i),[c,l]=Y.useState(),[u,d]=Y.useState({isTransitioning:!1}),[f,p]=Y.useState(),[m,h]=Y.useState(),[g,_]=Y.useState(),v=Y.useRef(new Map),y=Y.useCallback((i,{deletedFetchers:o,newErrors:c,flushSync:u,viewTransitionOpts:g})=>{c&&n&&Object.values(c).forEach(e=>n(e,{location:i.location,params:i.matches[0]?.params??{},pattern:yt(i.matches)})),i.fetchers.forEach((e,t)=>{e.data!==void 0&&v.current.set(t,e.data)}),o.forEach(e=>v.current.delete(e)),ei(u===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let y=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition==`function`;if(ei(g==null||y,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!g||!y){t&&u?t(()=>a(i)):r===!1?a(i):Y.startTransition(()=>{r===!0&&s(e=>ci(e,i)),a(i)});return}if(t&&u){t(()=>{m&&(f?.resolve(),m.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:g.currentLocation,nextLocation:g.nextLocation})});let n=e.window.document.startViewTransition(()=>{t(()=>a(i))});n.finished.finally(()=>{t(()=>{p(void 0),h(void 0),l(void 0),d({isTransitioning:!1})})}),t(()=>h(n));return}m?(f?.resolve(),m.skipTransition(),_({state:i,currentLocation:g.currentLocation,nextLocation:g.nextLocation})):(l(i),d({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}))},[e.window,t,m,f,r,s,n]);Y.useLayoutEffect(()=>e.subscribe(y),[e,y]),Y.useEffect(()=>{u.isTransitioning&&!u.flushSync&&p(new oi)},[u]),Y.useEffect(()=>{if(f&&c&&e.window){let t=c,n=f.promise,i=e.window.document.startViewTransition(async()=>{r===!1?a(t):Y.startTransition(()=>{r===!0&&s(e=>ci(e,t)),a(t)}),await n});i.finished.finally(()=>{p(void 0),h(void 0),l(void 0),d({isTransitioning:!1})}),h(i)}},[c,f,e.window,r,s]),Y.useEffect(()=>{f&&c&&o.location.key===c.location.key&&f.resolve()},[f,m,o.location,c]),Y.useEffect(()=>{!u.isTransitioning&&g&&(l(g.state),d({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),_(void 0))},[u.isTransitioning,g]);let b=Y.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:t=>e.navigate(t),push:(t,n,r)=>e.navigate(t,{state:n,preventScrollReset:r?.preventScrollReset}),replace:(t,n,r)=>e.navigate(t,{replace:!0,state:n,preventScrollReset:r?.preventScrollReset})}),[e]),x=e.basename||`/`,S=Y.useMemo(()=>({router:e,navigator:b,static:!1,basename:x,onError:n}),[e,b,x,n]);return Y.createElement(Y.Fragment,null,Y.createElement(or.Provider,{value:S},Y.createElement(sr.Provider,{value:o},Y.createElement(dr.Provider,{value:v.current},Y.createElement(ur.Provider,{value:u},Y.createElement(pi,{basename:x,location:o.location,navigationType:o.historyAction,navigator:b,useTransitions:r},Y.createElement(li,{routes:e.routes,manifest:e.manifest,future:e.future,state:o,isStatic:!1,onError:n})))))),null)}function ci(e,t){return{...e,navigation:t.navigation.state===`idle`?e.navigation:t.navigation,revalidation:t.revalidation===`idle`?e.revalidation:t.revalidation,actionData:t.navigation.state===`submitting`?e.actionData:t.actionData,fetchers:t.fetchers}}var li=Y.memo(ui);function ui({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return Nr(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function di({to:e,replace:t,state:n,relative:r}){X(Cr(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i}=Y.useContext(pr);ve(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:a}=Y.useContext(hr),{pathname:o}=wr(),s=Dr(),c=ut(e,lt(a),o,r===`path`),l=JSON.stringify(c);return Y.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function fi(e){return Ar(e.context)}function pi({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){X(!Cr(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=Y.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=Ce(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=Y.useMemo(()=>{let e=tt(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return ve(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:Y.createElement(pr.Provider,{value:c},Y.createElement(mr.Provider,{children:t,value:h}))}Y.Component;var mi=`get`,hi=`application/x-www-form-urlencoded`;function gi(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function _i(e){return gi(e)&&e.tagName.toLowerCase()===`button`}function vi(e){return gi(e)&&e.tagName.toLowerCase()===`form`}function yi(e){return gi(e)&&e.tagName.toLowerCase()===`input`}function bi(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xi(e,t){return e.button===0&&(!t||t===`_self`)&&!bi(e)}function Si(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Ci(e,t){let n=Si(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var wi=null;function Ti(){if(wi===null)try{new FormData(document.createElement(`form`),0),wi=!1}catch{wi=!0}return wi}var Ei=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Di(e){return e!=null&&!Ei.has(e)?(ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${hi}"`),null):e}function Oi(e,t){let n,r,i,a,o;if(vi(e)){let o=e.getAttribute(`action`);r=o?tt(o,t):null,n=e.getAttribute(`method`)||mi,i=Di(e.getAttribute(`enctype`))||hi,a=new FormData(e)}else if(_i(e)||yi(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?tt(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||mi,i=Di(e.getAttribute(`formenctype`))||Di(o.getAttribute(`enctype`))||hi,a=new FormData(o,e),!Ti()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(gi(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=mi,r=null,i=hi,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var ki={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},Ai=/[&><\u2028\u2029]/g;function ji(e){return e.replace(Ai,e=>ki[e])}function Mi(e,t){if(e===!1||e==null)throw Error(t)}function Ni(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&tt(i.pathname,t)===`/`?i.pathname=`${pt(t)}/_root.${r}`:i.pathname=`${pt(i.pathname)}.${r}`,i}async function Pi(e,t){if(e.id in t)return t[e.id];try{let n=await c(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Fi(e){return e!=null&&typeof e.page==`string`}function Ii(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function Li(e,t,n){return cee((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Pi(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Ii).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Ri(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function aee(e,t,{includeHydrateFallback:n}={}){return oee(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function oee(e){return[...new Set(e)]}function see(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function cee(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!Fi(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(see(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function zi(){let e=Y.useContext(or);return Mi(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function lee(){let e=Y.useContext(sr);return Mi(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var Bi=Y.createContext(void 0);Bi.displayName=`FrameworkContext`;function Vi(){let e=Y.useContext(Bi);return Mi(e,`You must render this element inside a <HydratedRouter> element`),e}function uee(e,t){let n=Y.useContext(Bi),[r,i]=Y.useState(!1),[a,o]=Y.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=Y.useRef(null);Y.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),Y.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:Hi(s,p),onBlur:Hi(c,m),onMouseEnter:Hi(l,p),onMouseLeave:Hi(u,m),onTouchStart:Hi(d,p)}]:[a,f,{}]:[!1,f,{}]}function Hi(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function dee({page:e,...t}){let n=lr(),{router:r}=zi(),i=Y.useMemo(()=>Fe(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?Y.createElement(pee,{page:e,matches:i,...t}):Y.createElement(mee,{page:e,matches:i,...t}):null}function fee(e){let{manifest:t,routeModules:n}=Vi(),[r,i]=Y.useState([]);return Y.useEffect(()=>{let r=!1;return Li(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function pee({page:e,matches:t,...n}){let r=wr(),{future:i}=Vi(),{basename:a}=zi(),o=Y.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Ni(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return Y.createElement(Y.Fragment,null,o.map(e=>Y.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function mee({page:e,matches:t,...n}){let r=wr(),{future:i,manifest:a,routeModules:o}=Vi(),{basename:s}=zi(),{loaderData:c,matches:l}=lee(),u=Y.useMemo(()=>Ri(e,t,l,a,r,`data`),[e,t,l,a,r]),d=Y.useMemo(()=>Ri(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=Y.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=Ni(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=Y.useMemo(()=>aee(d,a),[d,a]),m=fee(d);return Y.createElement(Y.Fragment,null,f.map(e=>Y.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>Y.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>Y.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function hee(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}Y.Component;var gee=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{gee&&(window.__reactRouterVersion=`7.16.0`)}catch{}function _ee(e,t){return Jt({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:_e({window:t?.window}),hydrationData:t?.hydrationData||vee(),routes:e,mapRouteProperties:ii,hydrationRouteProperties:ai,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,instrumentations:t?.instrumentations}).initialize()}function vee(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:yee(e.errors)}),e}function yee(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&r.__type===`RouteErrorResponse`)n[e]=new _t(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type===`Error`){if(r.__subType){let t=window[r.__subType];if(typeof t==`function`)try{let i=new t(r.message);i.stack=``,n[e]=i}catch{}}if(n[e]==null){let t=Error(r.message);t.stack=``,n[e]=t}}else n[e]=r;return n}function Ui({basename:e,children:t,history:n,useTransitions:r}){let[i,a]=Y.useState({action:n.action,location:n.location}),o=Y.useCallback(e=>{r===!1?a(e):Y.startTransition(()=>a(e))},[r]);return Y.useLayoutEffect(()=>n.listen(o),[n,o]),Y.createElement(pi,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,useTransitions:r})}Ui.displayName=`unstable_HistoryRouter`;var Wi=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gi=Y.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=Y.useContext(pr),v=typeof l==`string`&&Wi.test(l),y=xt(l,h);l=y.to;let b=Sr(l,{relative:r}),x=wr(),S=null;if(o){let e=ut(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:ft([h,e.pathname])),S=g.createHref(e)}let[C,w,T]=uee(n,p),E=Qi(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function D(t){e&&e(t),t.defaultPrevented||E(t)}let O=!(y.isExternal||i),k=Y.createElement(`a`,{...p,...T,href:(O?S:void 0)||y.absoluteURL||b,onClick:O?D:e,ref:hee(m,w),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?Y.createElement(Y.Fragment,null,k,Y.createElement(dee,{page:b})):k});Gi.displayName=`Link`;var Ki=Y.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=Mr(a,{relative:c.relative}),d=wr(),f=Y.useContext(sr),{navigator:p,basename:m}=Y.useContext(pr),h=f!=null&&la(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=tt(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,w;w=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let T=typeof i==`function`?i(S):i;return Y.createElement(Gi,{...c,"aria-current":C,className:w,ref:l,style:T,to:a,viewTransition:o},typeof s==`function`?s(S):s)});Ki.displayName=`NavLink`;var qi=Y.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=mi,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=Y.useContext(pr),g=na(),_=ra(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&Wi.test(s);return Y.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?Y.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});qi.displayName=`Form`;function Ji({getKey:e,storageKey:t,...n}){let r=Y.useContext(Bi),{basename:i}=Y.useContext(pr),a=wr(),o=Jr();sa({getKey:e,storageKey:t});let s=Y.useMemo(()=>{if(!r||!e)return null;let t=oa(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return Y.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${ji(JSON.stringify(t||ia))}, ${ji(JSON.stringify(s))})`}})}Ji.displayName=`ScrollRestoration`;function Yi(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Xi(e){let t=Y.useContext(or);return X(t,Yi(e)),t}function Zi(e){let t=Y.useContext(sr);return X(t,Yi(e)),t}function Qi(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=Dr(),d=wr(),f=Mr(e,{relative:o});return Y.useCallback(p=>{if(xi(p,t)){p.preventDefault();let t=n===void 0?Se(d)===Se(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?Y.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function $i(e){ve(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=Y.useRef(Si(e)),n=Y.useRef(!1),r=wr(),i=Y.useMemo(()=>Ci(r.search,n.current?null:t.current),[r.search]),a=Dr();return[i,Y.useCallback((e,t)=>{let r=Si(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var ea=0,ta=()=>`__${String(++ea)}__`;function na(){let{router:e}=Xi(`useSubmit`),{basename:t}=Y.useContext(pr),n=Kr(),r=e.fetch,i=e.navigate;return Y.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Oi(e,t);a.navigate===!1?await r(a.fetcherKey||ta(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function ra(e,{relative:t}={}){let{basename:n}=Y.useContext(pr),r=Y.useContext(hr);X(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...Mr(e||`.`,{relative:t})},o=wr();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:ft([n,a.pathname])),Se(a)}var ia=`react-router-scroll-positions`,aa={};function oa(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:tt(e.pathname,n)||e.pathname},t)),i??=e.key,i}function sa({getKey:e,storageKey:t}={}){let{router:n}=Xi(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=Zi(`useScrollRestoration`),{basename:a}=Y.useContext(pr),o=wr(),s=Jr(),c=qr();Y.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),ca(Y.useCallback(()=>{if(c.state===`idle`){let t=oa(o,s,a,e);aa[t]=window.scrollY}try{sessionStorage.setItem(t||ia,JSON.stringify(aa))}catch(e){ve(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(Y.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||ia);e&&(aa=JSON.parse(e))}catch{}},[t]),Y.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(aa,()=>window.scrollY,e?(t,n)=>oa(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),Y.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{ve(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function ca(e,t){let{capture:n}=t||{};Y.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function la(e,{relative:t}={}){let n=Y.useContext(ur);X(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Xi(`useViewTransitionState`),i=Mr(e,{relative:t});if(!n.isTransitioning)return!1;let a=tt(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=tt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Qe(i.pathname,o)!=null||Qe(i.pathname,a)!=null}var ua=e(i(),1);function da(e){return Y.createElement(si,{flushSync:ua.flushSync,...e})}var fa=l(`a-arrow-down`,[[`path`,{d:`m14 12 4 4 4-4`,key:`buelq4`}],[`path`,{d:`M18 16V7`,key:`ty0viw`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),pa=l(`a-arrow-up`,[[`path`,{d:`m14 11 4-4 4 4`,key:`1pu57t`}],[`path`,{d:`M18 16V7`,key:`ty0viw`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),ma=l(`a-large-small`,[[`path`,{d:`m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16`,key:`xik6mr`}],[`path`,{d:`M15.697 14h5.606`,key:`1stdlc`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),ha=l(`accessibility`,[[`circle`,{cx:`16`,cy:`4`,r:`1`,key:`1grugj`}],[`path`,{d:`m18 19 1-7-6 1`,key:`r0i19z`}],[`path`,{d:`m5 8 3-3 5.5 3-2.36 3.5`,key:`9ptxx2`}],[`path`,{d:`M4.24 14.5a5 5 0 0 0 6.88 6`,key:`10kmtu`}],[`path`,{d:`M13.76 17.5a5 5 0 0 0-6.88-6`,key:`2qq6rc`}]]),ga=l(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),_a=l(`air-vent`,[[`path`,{d:`M18 17.5a2.5 2.5 0 1 1-4 2.03V12`,key:`yd12zl`}],[`path`,{d:`M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`,key:`larmp2`}],[`path`,{d:`M6 8h12`,key:`6g4wlu`}],[`path`,{d:`M6.6 15.572A2 2 0 1 0 10 17v-5`,key:`1x1kqn`}]]),va=l(`airplay`,[[`path`,{d:`M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1`,key:`ns4c3b`}],[`path`,{d:`m12 15 5 6H7Z`,key:`14qnn2`}]]),ya=l(`alarm-clock-check`,[[`circle`,{cx:`12`,cy:`13`,r:`8`,key:`3y4lt7`}],[`path`,{d:`M5 3 2 6`,key:`18tl5t`}],[`path`,{d:`m22 6-3-3`,key:`1opdir`}],[`path`,{d:`M6.38 18.7 4 21`,key:`17xu3x`}],[`path`,{d:`M17.64 18.67 20 21`,key:`kv2oe2`}],[`path`,{d:`m9 13 2 2 4-4`,key:`6343dt`}]]),ba=l(`alarm-clock-minus`,[[`circle`,{cx:`12`,cy:`13`,r:`8`,key:`3y4lt7`}],[`path`,{d:`M5 3 2 6`,key:`18tl5t`}],[`path`,{d:`m22 6-3-3`,key:`1opdir`}],[`path`,{d:`M6.38 18.7 4 21`,key:`17xu3x`}],[`path`,{d:`M17.64 18.67 20 21`,key:`kv2oe2`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}]]),xa=l(`alarm-clock-off`,[[`path`,{d:`M6.87 6.87a8 8 0 1 0 11.26 11.26`,key:`3on8tj`}],[`path`,{d:`M19.9 14.25a8 8 0 0 0-9.15-9.15`,key:`15ghsc`}],[`path`,{d:`m22 6-3-3`,key:`1opdir`}],[`path`,{d:`M6.26 18.67 4 21`,key:`yzmioq`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M4 4 2 6`,key:`1ycko6`}]]),Sa=l(`alarm-clock-plus`,[[`circle`,{cx:`12`,cy:`13`,r:`8`,key:`3y4lt7`}],[`path`,{d:`M5 3 2 6`,key:`18tl5t`}],[`path`,{d:`m22 6-3-3`,key:`1opdir`}],[`path`,{d:`M6.38 18.7 4 21`,key:`17xu3x`}],[`path`,{d:`M17.64 18.67 20 21`,key:`kv2oe2`}],[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}]]),Ca=l(`alarm-smoke`,[[`path`,{d:`M11 21c0-2.5 2-2.5 2-5`,key:`1sicvv`}],[`path`,{d:`M16 21c0-2.5 2-2.5 2-5`,key:`1o3eny`}],[`path`,{d:`m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8`,key:`1bvca4`}],[`path`,{d:`M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z`,key:`x3qr1j`}],[`path`,{d:`M6 21c0-2.5 2-2.5 2-5`,key:`i3w1gp`}]]),wa=l(`alarm-clock`,[[`circle`,{cx:`12`,cy:`13`,r:`8`,key:`3y4lt7`}],[`path`,{d:`M12 9v4l2 2`,key:`1c63tq`}],[`path`,{d:`M5 3 2 6`,key:`18tl5t`}],[`path`,{d:`m22 6-3-3`,key:`1opdir`}],[`path`,{d:`M6.38 18.7 4 21`,key:`17xu3x`}],[`path`,{d:`M17.64 18.67 20 21`,key:`kv2oe2`}]]),Ta=l(`album`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`polyline`,{points:`11 3 11 11 14 8 17 11 17 3`,key:`1wcwz3`}]]),Ea=l(`align-center-horizontal`,[[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4`,key:`11f1s0`}],[`path`,{d:`M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4`,key:`t14dx9`}],[`path`,{d:`M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1`,key:`1w07xs`}],[`path`,{d:`M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1`,key:`1apec2`}]]),Da=l(`align-center-vertical`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4`,key:`14d6g8`}],[`path`,{d:`M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4`,key:`1e2lrw`}],[`path`,{d:`M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1`,key:`1fkdwx`}],[`path`,{d:`M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1`,key:`1euafb`}]]),Oa=l(`align-end-horizontal`,[[`rect`,{width:`6`,height:`16`,x:`4`,y:`2`,rx:`2`,key:`z5wdxg`}],[`rect`,{width:`6`,height:`9`,x:`14`,y:`9`,rx:`2`,key:`um7a8w`}],[`path`,{d:`M22 22H2`,key:`19qnx5`}]]),ka=l(`align-end-vertical`,[[`rect`,{width:`16`,height:`6`,x:`2`,y:`4`,rx:`2`,key:`10wcwx`}],[`rect`,{width:`9`,height:`6`,x:`9`,y:`14`,rx:`2`,key:`4p5bwg`}],[`path`,{d:`M22 22V2`,key:`12ipfv`}]]),Aa=l(`align-horizontal-distribute-center`,[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`,key:`1wwnby`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`,key:`1fe6j6`}],[`path`,{d:`M17 22v-5`,key:`4b6g73`}],[`path`,{d:`M17 7V2`,key:`hnrr36`}],[`path`,{d:`M7 22v-3`,key:`1r4jpn`}],[`path`,{d:`M7 5V2`,key:`liy1u9`}]]),ja=l(`align-horizontal-distribute-end`,[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`,key:`1wwnby`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`,key:`1fe6j6`}],[`path`,{d:`M10 2v20`,key:`uyc634`}],[`path`,{d:`M20 2v20`,key:`1tx262`}]]),Ma=l(`align-horizontal-distribute-start`,[[`rect`,{width:`6`,height:`14`,x:`4`,y:`5`,rx:`2`,key:`1wwnby`}],[`rect`,{width:`6`,height:`10`,x:`14`,y:`7`,rx:`2`,key:`1fe6j6`}],[`path`,{d:`M4 2v20`,key:`gtpd5x`}],[`path`,{d:`M14 2v20`,key:`tg6bpw`}]]),Na=l(`align-horizontal-justify-center`,[[`rect`,{width:`6`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`dy24zr`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`7`,rx:`2`,key:`13zkjt`}],[`path`,{d:`M12 2v20`,key:`t6zp3m`}]]),Pa=l(`align-horizontal-justify-end`,[[`rect`,{width:`6`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`dy24zr`}],[`rect`,{width:`6`,height:`10`,x:`12`,y:`7`,rx:`2`,key:`1ht384`}],[`path`,{d:`M22 2v20`,key:`40qfg1`}]]),Fa=l(`align-horizontal-justify-start`,[[`rect`,{width:`6`,height:`14`,x:`6`,y:`5`,rx:`2`,key:`hsirpf`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`7`,rx:`2`,key:`13zkjt`}],[`path`,{d:`M2 2v20`,key:`1ivd8o`}]]),Ia=l(`align-horizontal-space-around`,[[`rect`,{width:`6`,height:`10`,x:`9`,y:`7`,rx:`2`,key:`yn7j0q`}],[`path`,{d:`M4 22V2`,key:`tsjzd3`}],[`path`,{d:`M20 22V2`,key:`1bnhr8`}]]),La=l(`align-horizontal-space-between`,[[`rect`,{width:`6`,height:`14`,x:`3`,y:`5`,rx:`2`,key:`j77dae`}],[`rect`,{width:`6`,height:`10`,x:`15`,y:`7`,rx:`2`,key:`bq30hj`}],[`path`,{d:`M3 2v20`,key:`1d2pfg`}],[`path`,{d:`M21 2v20`,key:`p059bm`}]]),Ra=l(`align-start-horizontal`,[[`rect`,{width:`6`,height:`16`,x:`4`,y:`6`,rx:`2`,key:`1n4dg1`}],[`rect`,{width:`6`,height:`9`,x:`14`,y:`6`,rx:`2`,key:`17khns`}],[`path`,{d:`M22 2H2`,key:`fhrpnj`}]]),za=l(`align-start-vertical`,[[`rect`,{width:`9`,height:`6`,x:`6`,y:`14`,rx:`2`,key:`lpm2y7`}],[`rect`,{width:`16`,height:`6`,x:`6`,y:`4`,rx:`2`,key:`rdj6ps`}],[`path`,{d:`M2 2v20`,key:`1ivd8o`}]]),Ba=l(`align-vertical-distribute-center`,[[`path`,{d:`M22 17h-3`,key:`1lwga1`}],[`path`,{d:`M22 7h-5`,key:`o2endc`}],[`path`,{d:`M5 17H2`,key:`1gx9xc`}],[`path`,{d:`M7 7H2`,key:`6bq26l`}],[`rect`,{x:`5`,y:`14`,width:`14`,height:`6`,rx:`2`,key:`1qrzuf`}],[`rect`,{x:`7`,y:`4`,width:`10`,height:`6`,rx:`2`,key:`we8e9z`}]]),Va=l(`align-vertical-distribute-end`,[[`rect`,{width:`14`,height:`6`,x:`5`,y:`14`,rx:`2`,key:`jmoj9s`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`4`,rx:`2`,key:`aza5on`}],[`path`,{d:`M2 20h20`,key:`owomy5`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]),Ha=l(`align-vertical-distribute-start`,[[`rect`,{width:`14`,height:`6`,x:`5`,y:`14`,rx:`2`,key:`jmoj9s`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`4`,rx:`2`,key:`aza5on`}],[`path`,{d:`M2 14h20`,key:`myj16y`}],[`path`,{d:`M2 4h20`,key:`mda7wb`}]]),Ua=l(`align-vertical-justify-center`,[[`rect`,{width:`14`,height:`6`,x:`5`,y:`16`,rx:`2`,key:`1i8z2d`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`2`,rx:`2`,key:`ypihtt`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),Wa=l(`align-vertical-justify-end`,[[`rect`,{width:`14`,height:`6`,x:`5`,y:`12`,rx:`2`,key:`4l4tp2`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`2`,rx:`2`,key:`ypihtt`}],[`path`,{d:`M2 22h20`,key:`272qi7`}]]),Ga=l(`align-vertical-justify-start`,[[`rect`,{width:`14`,height:`6`,x:`5`,y:`16`,rx:`2`,key:`1i8z2d`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`6`,rx:`2`,key:`13squh`}],[`path`,{d:`M2 2h20`,key:`1ennik`}]]),Ka=l(`align-vertical-space-around`,[[`rect`,{width:`10`,height:`6`,x:`7`,y:`9`,rx:`2`,key:`b1zbii`}],[`path`,{d:`M22 20H2`,key:`1p1f7z`}],[`path`,{d:`M22 4H2`,key:`1b7qnq`}]]),qa=l(`align-vertical-space-between`,[[`rect`,{width:`14`,height:`6`,x:`5`,y:`15`,rx:`2`,key:`1w91an`}],[`rect`,{width:`10`,height:`6`,x:`7`,y:`3`,rx:`2`,key:`17wqzy`}],[`path`,{d:`M2 21h20`,key:`1nyx9w`}],[`path`,{d:`M2 3h20`,key:`91anmk`}]]),Ja=l(`ambulance`,[[`path`,{d:`M10 10H6`,key:`1bsnug`}],[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`,key:`wrbu53`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14`,key:`lrkjwd`}],[`path`,{d:`M8 8v4`,key:`1fwk8c`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`circle`,{cx:`17`,cy:`18`,r:`2`,key:`332jqn`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}]]),Ya=l(`ampersand`,[[`path`,{d:`M16 12h3`,key:`4uvgyw`}],[`path`,{d:`M17.5 12a8 8 0 0 1-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13`,key:`nfoe1t`}]]),Xa=l(`amphora`,[[`path`,{d:`M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8`,key:`1h8rid`}],[`path`,{d:`M10 5H8a2 2 0 0 0 0 4h.68`,key:`3ezsi6`}],[`path`,{d:`M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8`,key:`yt6q09`}],[`path`,{d:`M14 5h2a2 2 0 0 1 0 4h-.68`,key:`8f95yk`}],[`path`,{d:`M18 22H6`,key:`mg6kv4`}],[`path`,{d:`M9 2h6`,key:`1jrp98`}]]),Za=l(`anchor`,[[`path`,{d:`M12 6v16`,key:`nqf5sj`}],[`path`,{d:`m19 13 2-1a9 9 0 0 1-18 0l2 1`,key:`y7qv08`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}]]),Qa=l(`ampersands`,[[`path`,{d:`M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5`,key:`12lh1k`}],[`path`,{d:`M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5`,key:`173c68`}]]),$a=l(`angry`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 16s-1.5-2-4-2-4 2-4 2`,key:`epbg0q`}],[`path`,{d:`M7.5 8 10 9`,key:`olxxln`}],[`path`,{d:`m14 9 2.5-1`,key:`1j6cij`}],[`path`,{d:`M9 10h.01`,key:`qbtxuw`}],[`path`,{d:`M15 10h.01`,key:`1qmjsl`}]]),eo=l(`annoyed`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 15h8`,key:`45n4r`}],[`path`,{d:`M8 9h2`,key:`1g203m`}],[`path`,{d:`M14 9h2`,key:`116p9w`}]]),to=l(`anvil`,[[`path`,{d:`M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4`,key:`1hjpb6`}],[`path`,{d:`M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z`,key:`1qn45f`}],[`path`,{d:`M9 12v5`,key:`3anwtq`}],[`path`,{d:`M15 12v5`,key:`5xh3zn`}],[`path`,{d:`M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1`,key:`1fi4x8`}]]),no=l(`antenna`,[[`path`,{d:`M2 12 7 2`,key:`117k30`}],[`path`,{d:`m7 12 5-10`,key:`1tvx22`}],[`path`,{d:`m12 12 5-10`,key:`ev1o1a`}],[`path`,{d:`m17 12 5-10`,key:`1e4ti3`}],[`path`,{d:`M4.5 7h15`,key:`vlsxkz`}],[`path`,{d:`M12 16v6`,key:`c8a4gj`}]]),ro=l(`aperture`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m14.31 8 5.74 9.94`,key:`1y6ab4`}],[`path`,{d:`M9.69 8h11.48`,key:`1wxppr`}],[`path`,{d:`m7.38 12 5.74-9.94`,key:`1grp0k`}],[`path`,{d:`M9.69 16 3.95 6.06`,key:`libnyf`}],[`path`,{d:`M14.31 16H2.83`,key:`x5fava`}],[`path`,{d:`m16.62 12-5.74 9.94`,key:`1vwawt`}]]),io=l(`app-window-mac`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M14 8h.01`,key:`1primd`}]]),ao=l(`app-window`,[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]),oo=l(`apple`,[[`path`,{d:`M12 6.528V3a1 1 0 0 1 1-1h0`,key:`11qiee`}],[`path`,{d:`M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21`,key:`110c12`}]]),so=l(`archive-restore`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h2`,key:`tvwodi`}],[`path`,{d:`M20 8v11a2 2 0 0 1-2 2h-2`,key:`1gkqxj`}],[`path`,{d:`m9 15 3-3 3 3`,key:`1pd0qc`}],[`path`,{d:`M12 12v9`,key:`192myk`}]]),co=l(`archive-x`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`m9.5 17 5-5`,key:`nakeu6`}],[`path`,{d:`m9.5 12 5 5`,key:`1hccrj`}]]),lo=l(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),uo=l(`armchair`,[[`path`,{d:`M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3`,key:`irtipd`}],[`path`,{d:`M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z`,key:`1qyhux`}],[`path`,{d:`M5 18v2`,key:`ppbyun`}],[`path`,{d:`M19 18v2`,key:`gy7782`}]]),fo=l(`arrow-big-down-dash`,[[`path`,{d:`M14 8a1 1 0 0 1 1 1v2a1 1 0 0 0 1 1h3.293a.707.707 0 0 1 .5 1.207l-6.939 6.939a1.207 1.207 0 0 1-1.708 0l-6.94-6.94a.707.707 0 0 1 .5-1.206H8a1 1 0 0 0 1-1V9a1 1 0 0 1 1-1z`,key:`1b91ra`}],[`path`,{d:`M9 4h6`,key:`10am2s`}]]),po=l(`arrow-big-down`,[[`path`,{d:`M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 0 1 1h3.293a.707.707 0 0 1 .5 1.207l-7.086 7.086a1 1 0 0 1-1.414 0l-7.086-7.086a.707.707 0 0 1 .5-1.207H8a1 1 0 0 0 1-1z`,key:`1o3tkq`}]]),mo=l(`arrow-big-left-dash`,[[`path`,{d:`M13 9a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707l6.94 6.94a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1z`,key:`17jy80`}],[`path`,{d:`M20 9v6`,key:`14roy0`}]]),ho=l(`arrow-big-left`,[[`path`,{d:`M10.793 19.793a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-6a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707z`,key:`qbhtmx`}]]),go=l(`arrow-big-right-dash`,[[`path`,{d:`M11 9a1 1 0 0 0 1-1V4.707a.707.707 0 0 1 1.207-.5l6.94 6.94a1.207 1.207 0 0 1 0 1.707l-6.94 6.94a.707.707 0 0 1-1.207-.5V16a1 1 0 0 0-1-1H9a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z`,key:`9idyso`}],[`path`,{d:`M4 9v6`,key:`bns7oa`}]]),_o=l(`arrow-big-right`,[[`path`,{d:`M13.207 19.793a.707.707 0 0 1-1.207-.5V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1V4.707a.707.707 0 0 1 1.207-.5l6.94 6.94a1.207 1.207 0 0 1 0 1.707z`,key:`zee3eo`}]]),vo=l(`arrow-big-up-dash`,[[`path`,{d:`M14 16a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-6.939-6.939a1.207 1.207 0 0 0-1.708 0l-6.94 6.94a.707.707 0 0 0 .5 1.206H8a1 1 0 0 1 1 1v2a1 1 0 0 0 1 1z`,key:`q57loy`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),yo=l(`arrow-big-up`,[[`path`,{d:`M9 19a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-6a1 1 0 0 1 1-1h3.293a.707.707 0 0 0 .5-1.207l-7.086-7.086a1 1 0 0 0-1.414 0l-7.086 7.086a.707.707 0 0 0 .5 1.207H8a1 1 0 0 1 1 1z`,key:`106j91`}]]),bo=l(`arrow-down-0-1`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`rect`,{x:`15`,y:`4`,width:`4`,height:`6`,ry:`2`,key:`1bwicg`}],[`path`,{d:`M17 20v-6h-2`,key:`1qp1so`}],[`path`,{d:`M15 20h4`,key:`1j968p`}]]),xo=l(`arrow-down-1-0`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`path`,{d:`M17 10V4h-2`,key:`zcsr5x`}],[`path`,{d:`M15 10h4`,key:`id2lce`}],[`rect`,{x:`15`,y:`14`,width:`4`,height:`6`,ry:`2`,key:`33xykx`}]]),So=l(`arrow-down-from-line`,[[`path`,{d:`M19 3H5`,key:`1236rx`}],[`path`,{d:`M12 21V7`,key:`gj6g52`}],[`path`,{d:`m6 15 6 6 6-6`,key:`h15q88`}]]),Co=l(`arrow-down-a-z`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`path`,{d:`M20 8h-5`,key:`1vsyxs`}],[`path`,{d:`M15 10V6.5a2.5 2.5 0 0 1 5 0V10`,key:`ag13bf`}],[`path`,{d:`M15 14h5l-5 6h5`,key:`ur5jdg`}]]),wo=l(`arrow-down-left`,[[`path`,{d:`M17 7 7 17`,key:`15tmo1`}],[`path`,{d:`M17 17H7V7`,key:`1org7z`}]]),To=l(`arrow-down-narrow-wide`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`path`,{d:`M11 4h4`,key:`6d7r33`}],[`path`,{d:`M11 8h7`,key:`djye34`}],[`path`,{d:`M11 12h10`,key:`1438ji`}]]),Eo=l(`arrow-down-right`,[[`path`,{d:`m7 7 10 10`,key:`1fmybs`}],[`path`,{d:`M17 7v10H7`,key:`6fjiku`}]]),Do=l(`arrow-down-to-dot`,[[`path`,{d:`M12 2v14`,key:`jyx4ut`}],[`path`,{d:`m19 9-7 7-7-7`,key:`1oe3oy`}],[`circle`,{cx:`12`,cy:`21`,r:`1`,key:`o0uj5v`}]]),Oo=l(`arrow-down-to-line`,[[`path`,{d:`M12 17V3`,key:`1cwfxf`}],[`path`,{d:`m6 11 6 6 6-6`,key:`12ii2o`}],[`path`,{d:`M19 21H5`,key:`150jfl`}]]),ko=l(`arrow-down-up`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`path`,{d:`m21 8-4-4-4 4`,key:`1c9v7m`}],[`path`,{d:`M17 4v16`,key:`7dpous`}]]),Ao=l(`arrow-down-wide-narrow`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`path`,{d:`M11 4h10`,key:`1w87gc`}],[`path`,{d:`M11 8h7`,key:`djye34`}],[`path`,{d:`M11 12h4`,key:`q8tih4`}]]),jo=l(`arrow-down-z-a`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`path`,{d:`M15 4h5l-5 6h5`,key:`8asdl1`}],[`path`,{d:`M15 20v-3.5a2.5 2.5 0 0 1 5 0V20`,key:`r6l5cz`}],[`path`,{d:`M20 18h-5`,key:`18j1r2`}]]),Mo=l(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),No=l(`arrow-left-from-line`,[[`path`,{d:`m9 6-6 6 6 6`,key:`7v63n9`}],[`path`,{d:`M3 12h14`,key:`13k4hi`}],[`path`,{d:`M21 19V5`,key:`b4bplr`}]]),Po=l(`arrow-left-right`,[[`path`,{d:`M8 3 4 7l4 4`,key:`9rb6wj`}],[`path`,{d:`M4 7h16`,key:`6tx8e3`}],[`path`,{d:`m16 21 4-4-4-4`,key:`siv7j2`}],[`path`,{d:`M20 17H4`,key:`h6l3hr`}]]),Fo=l(`arrow-left-to-line`,[[`path`,{d:`M3 19V5`,key:`rwsyhb`}],[`path`,{d:`m13 6-6 6 6 6`,key:`1yhaz7`}],[`path`,{d:`M7 12h14`,key:`uoisry`}]]),Io=l(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),Lo=l(`arrow-right-from-line`,[[`path`,{d:`M3 5v14`,key:`1nt18q`}],[`path`,{d:`M21 12H7`,key:`13ipq5`}],[`path`,{d:`m15 18 6-6-6-6`,key:`6tx3qv`}]]),Ro=l(`arrow-right-left`,[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),zo=l(`arrow-right-to-line`,[[`path`,{d:`M17 12H3`,key:`8awo09`}],[`path`,{d:`m11 18 6-6-6-6`,key:`8c2y43`}],[`path`,{d:`M21 5v14`,key:`nzette`}]]),Bo=l(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Vo=l(`arrow-up-0-1`,[[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`rect`,{x:`15`,y:`4`,width:`4`,height:`6`,ry:`2`,key:`1bwicg`}],[`path`,{d:`M17 20v-6h-2`,key:`1qp1so`}],[`path`,{d:`M15 20h4`,key:`1j968p`}]]),Ho=l(`arrow-up-1-0`,[[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`path`,{d:`M17 10V4h-2`,key:`zcsr5x`}],[`path`,{d:`M15 10h4`,key:`id2lce`}],[`rect`,{x:`15`,y:`14`,width:`4`,height:`6`,ry:`2`,key:`33xykx`}]]),Uo=l(`arrow-up-a-z`,[[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`path`,{d:`M20 8h-5`,key:`1vsyxs`}],[`path`,{d:`M15 10V6.5a2.5 2.5 0 0 1 5 0V10`,key:`ag13bf`}],[`path`,{d:`M15 14h5l-5 6h5`,key:`ur5jdg`}]]),Wo=l(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),Go=l(`arrow-up-from-dot`,[[`path`,{d:`m5 9 7-7 7 7`,key:`1hw5ic`}],[`path`,{d:`M12 16V2`,key:`ywoabb`}],[`circle`,{cx:`12`,cy:`21`,r:`1`,key:`o0uj5v`}]]),Ko=l(`arrow-up-from-line`,[[`path`,{d:`m18 9-6-6-6 6`,key:`kcunyi`}],[`path`,{d:`M12 3v14`,key:`7cf3v8`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),qo=l(`arrow-up-left`,[[`path`,{d:`M7 17V7h10`,key:`11bw93`}],[`path`,{d:`M17 17 7 7`,key:`2786uv`}]]),Jo=l(`arrow-up-narrow-wide`,[[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`path`,{d:`M11 12h4`,key:`q8tih4`}],[`path`,{d:`M11 16h7`,key:`uosisv`}],[`path`,{d:`M11 20h10`,key:`jvxblo`}]]),Yo=l(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]),Xo=l(`arrow-up-to-line`,[[`path`,{d:`M5 3h14`,key:`7usisc`}],[`path`,{d:`m18 13-6-6-6 6`,key:`1kf1n9`}],[`path`,{d:`M12 7v14`,key:`1akyts`}]]),Zo=l(`arrow-up-wide-narrow`,[[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 16h7`,key:`uosisv`}],[`path`,{d:`M11 20h4`,key:`1krc32`}]]),Qo=l(`arrow-up-z-a`,[[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}],[`path`,{d:`M15 4h5l-5 6h5`,key:`8asdl1`}],[`path`,{d:`M15 20v-3.5a2.5 2.5 0 0 1 5 0V20`,key:`r6l5cz`}],[`path`,{d:`M20 18h-5`,key:`18j1r2`}]]),$o=l(`arrow-up`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),es=l(`arrows-up-from-line`,[[`path`,{d:`m4 6 3-3 3 3`,key:`9aidw8`}],[`path`,{d:`M7 17V3`,key:`19qxw1`}],[`path`,{d:`m14 6 3-3 3 3`,key:`6iy689`}],[`path`,{d:`M17 17V3`,key:`o0fmgi`}],[`path`,{d:`M4 21h16`,key:`1h09gz`}]]),ts=l(`asterisk`,[[`path`,{d:`M12 6v12`,key:`1vza4d`}],[`path`,{d:`M17.196 9 6.804 15`,key:`1ah31z`}],[`path`,{d:`m6.804 9 10.392 6`,key:`1b6pxd`}]]),ns=l(`astroid`,[[`path`,{d:`M12.983 21.186a1 1 0 0 1-1.966 0 10 10 0 0 0-8.203-8.203 1 1 0 0 1 0-1.966 10 10 0 0 0 8.203-8.203 1 1 0 0 1 1.966 0 10 10 0 0 0 8.203 8.203 1 1 0 0 1 0 1.966 10 10 0 0 0-8.203 8.203`,key:`1tipus`}]]),rs=l(`at-sign`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8`,key:`7n84p3`}]]),is=l(`atom`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`path`,{d:`M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z`,key:`1l2ple`}],[`path`,{d:`M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z`,key:`1wam0m`}]]),as=l(`audio-lines`,[[`path`,{d:`M2 10v3`,key:`1fnikh`}],[`path`,{d:`M6 6v11`,key:`11sgs0`}],[`path`,{d:`M10 3v18`,key:`yhl04a`}],[`path`,{d:`M14 8v7`,key:`3a1oy3`}],[`path`,{d:`M18 5v13`,key:`123xd1`}],[`path`,{d:`M22 10v3`,key:`154ddg`}]]),os=l(`audio-waveform`,[[`path`,{d:`M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2`,key:`57tc96`}]]),ss=l(`award`,[[`path`,{d:`m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526`,key:`1yiouv`}],[`circle`,{cx:`12`,cy:`8`,r:`6`,key:`1vp47v`}]]),cs=l(`axe`,[[`path`,{d:`m14 12-8.381 8.38a1 1 0 0 1-3.001-3L11 9`,key:`5z9253`}],[`path`,{d:`M15 15.5a.5.5 0 0 0 .5.5A6.5 6.5 0 0 0 22 9.5a.5.5 0 0 0-.5-.5h-1.672a2 2 0 0 1-1.414-.586l-5.062-5.062a1.205 1.205 0 0 0-1.704 0L9.352 5.648a1.205 1.205 0 0 0 0 1.704l5.062 5.062A2 2 0 0 1 15 13.828z`,key:`19zklq`}]]),ls=l(`axis-3d`,[[`path`,{d:`M13.5 10.5 15 9`,key:`1nsxvm`}],[`path`,{d:`M4 4v15a1 1 0 0 0 1 1h15`,key:`1w6lkd`}],[`path`,{d:`M4.293 19.707 6 18`,key:`3g1p8c`}],[`path`,{d:`m9 15 1.5-1.5`,key:`1xfbes`}]]),us=l(`badge-alert`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),ds=l(`backpack`,[[`path`,{d:`M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z`,key:`1ol0lm`}],[`path`,{d:`M8 10h8`,key:`c7uz4u`}],[`path`,{d:`M8 18h8`,key:`1no2b1`}],[`path`,{d:`M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6`,key:`1fr6do`}],[`path`,{d:`M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2`,key:`donm21`}]]),fs=l(`badge-cent`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M12 7v10`,key:`jspqdw`}],[`path`,{d:`M15.4 10a4 4 0 1 0 0 4`,key:`2eqtx8`}]]),ps=l(`baby`,[[`path`,{d:`M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5`,key:`1u7htd`}],[`path`,{d:`M15 12h.01`,key:`1k8ypt`}],[`path`,{d:`M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1`,key:`11xh7x`}],[`path`,{d:`M9 12h.01`,key:`157uk2`}]]),ms=l(`badge-check`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),hs=l(`badge-dollar-sign`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]),gs=l(`badge-euro`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M7 12h5`,key:`gblrwe`}],[`path`,{d:`M15 9.4a4 4 0 1 0 0 5.2`,key:`1makmb`}]]),_s=l(`badge-indian-rupee`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M8 8h8`,key:`1bis0t`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`m13 17-5-1h1a4 4 0 0 0 0-8`,key:`nu2bwa`}]]),vs=l(`badge-info`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`12`,key:`1y1yb1`}],[`line`,{x1:`12`,x2:`12.01`,y1:`8`,y2:`8`,key:`110wyk`}]]),ys=l(`badge-japanese-yen`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m9 8 3 3v7`,key:`17yadx`}],[`path`,{d:`m12 11 3-3`,key:`p4cfq1`}],[`path`,{d:`M9 12h6`,key:`1c52cq`}],[`path`,{d:`M9 16h6`,key:`8wimt3`}]]),bs=l(`badge-minus`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),xs=l(`badge-percent`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`path`,{d:`M15 15h.01`,key:`lqbp3k`}]]),Ss=l(`badge-pound-sterling`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M8 12h4`,key:`qz6y1c`}],[`path`,{d:`M10 16V9.5a2.5 2.5 0 0 1 5 0`,key:`3mlbjk`}],[`path`,{d:`M8 16h7`,key:`sbedsn`}]]),Cs=l(`badge-plus`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`16`,key:`10p56q`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),ws=l(`badge-question-mark`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`line`,{x1:`12`,x2:`12.01`,y1:`17`,y2:`17`,key:`io3f8k`}]]),Ts=l(`badge-russian-ruble`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M9 16h5`,key:`1syiyw`}],[`path`,{d:`M9 12h5a2 2 0 1 0 0-4h-3v9`,key:`1ge9c1`}]]),Es=l(`badge-turkish-lira`,[[`path`,{d:`M11 7v10a5 5 0 0 0 5-5`,key:`1ja3ih`}],[`path`,{d:`m15 8-6 3`,key:`4x0uwz`}],[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76`,key:`18242g`}]]),Ds=l(`badge-swiss-franc`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`M11 17V8h4`,key:`1bfq6y`}],[`path`,{d:`M11 12h3`,key:`2eqnfz`}],[`path`,{d:`M9 16h4`,key:`1skf3a`}]]),Os=l(`badge-x`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`,key:`f7djnv`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`,key:`1shsy8`}]]),ks=l(`badge`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}]]),As=l(`balloon`,[[`path`,{d:`M12 16v1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v1`,key:`2nz4b`}],[`path`,{d:`M12 6a2 2 0 0 1 2 2`,key:`7y7d82`}],[`path`,{d:`M18 8c0 4-3.5 8-6 8s-6-4-6-8a6 6 0 0 1 12 0`,key:`vqb5s3`}]]),js=l(`baggage-claim`,[[`path`,{d:`M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2`,key:`4irg2o`}],[`path`,{d:`M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10`,key:`14fcyx`}],[`rect`,{width:`13`,height:`8`,x:`8`,y:`6`,rx:`1`,key:`o6oiis`}],[`circle`,{cx:`18`,cy:`20`,r:`2`,key:`t9985n`}],[`circle`,{cx:`9`,cy:`20`,r:`2`,key:`e5v82j`}]]),Ms=l(`bandage`,[[`path`,{d:`M10 10.01h.01`,key:`1e9xi7`}],[`path`,{d:`M10 14.01h.01`,key:`ac23bv`}],[`path`,{d:`M14 10.01h.01`,key:`2wfrvf`}],[`path`,{d:`M14 14.01h.01`,key:`8tw8yn`}],[`path`,{d:`M18 6v12`,key:`1bcixs`}],[`path`,{d:`M6 6v12`,key:`vkc79e`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`12`,rx:`2`,key:`1wpnh2`}]]),Ns=l(`ban`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M4.929 4.929 19.07 19.071`,key:`196cmz`}]]),Ps=l(`banknote-arrow-down`,[[`path`,{d:`M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`,key:`x6cv4u`}],[`path`,{d:`m16 19 3 3 3-3`,key:`1ibux0`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M6 12h.01`,key:`c2rlol`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Fs=l(`banknote-arrow-up`,[[`path`,{d:`M12 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`,key:`x6cv4u`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}],[`path`,{d:`M19 22v-6`,key:`qhmiwi`}],[`path`,{d:`m22 19-3-3-3 3`,key:`rn6bg2`}],[`path`,{d:`M6 12h.01`,key:`c2rlol`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Is=l(`banana`,[[`path`,{d:`M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5`,key:`1cscit`}],[`path`,{d:`M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z`,key:`1y1nbv`}]]),Ls=l(`banknote-x`,[[`path`,{d:`M13 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5`,key:`16nib6`}],[`path`,{d:`m17 17 5 5`,key:`p7ous7`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}],[`path`,{d:`m22 17-5 5`,key:`gqnmv0`}],[`path`,{d:`M6 12h.01`,key:`c2rlol`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Rs=l(`banknote`,[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`,key:`9lu3g6`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M6 12h.01M18 12h.01`,key:`113zkx`}]]),zs=l(`barcode`,[[`path`,{d:`M3 5v14`,key:`1nt18q`}],[`path`,{d:`M8 5v14`,key:`1ybrkv`}],[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`M17 5v14`,key:`ycjyhj`}],[`path`,{d:`M21 5v14`,key:`nzette`}]]),Bs=l(`baseline`,[[`path`,{d:`M4 20h16`,key:`14thso`}],[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),Vs=l(`barrel`,[[`path`,{d:`M10 3a41 41 0 0 0 0 18`,key:`1qcnzb`}],[`path`,{d:`M14 3a41 41 0 0 1 0 18`,key:`547vd4`}],[`path`,{d:`M17 3a2 2 0 0 1 1.68.92 15.25 15.25 0 0 1 0 16.16A2 2 0 0 1 17 21H7a2 2 0 0 1-1.68-.92 15.25 15.25 0 0 1 0-16.16A2 2 0 0 1 7 3z`,key:`1wepyy`}],[`path`,{d:`M3.84 17h16.32`,key:`1wh981`}],[`path`,{d:`M3.84 7h16.32`,key:`19jf4x`}]]),Hs=l(`bath`,[[`path`,{d:`M10 4 8 6`,key:`1rru8s`}],[`path`,{d:`M17 19v2`,key:`ts1sot`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`M7 19v2`,key:`12npes`}],[`path`,{d:`M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5`,key:`14ym8i`}]]),Us=l(`battery-charging`,[[`path`,{d:`m11 7-3 5h4l-3 5`,key:`b4a64w`}],[`path`,{d:`M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935`,key:`lre1cr`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936`,key:`13q5k0`}]]),Ws=l(`battery-medium`,[[`path`,{d:`M10 14v-4`,key:`suye4c`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 14v-4`,key:`14a6bd`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),Gs=l(`battery-full`,[[`path`,{d:`M10 10v4`,key:`1mb2ec`}],[`path`,{d:`M14 10v4`,key:`1nt88p`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 10v4`,key:`1n77qd`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),Ks=l(`battery-low`,[[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 14v-4`,key:`14a6bd`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),qs=l(`battery-plus`,[[`path`,{d:`M10 9v6`,key:`17i7lo`}],[`path`,{d:`M12.543 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.605`,key:`o09yah`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M7 12h6`,key:`iekk3h`}],[`path`,{d:`M7.606 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.606`,key:`xyqvf1`}]]),Js=l(`battery`,[[`path`,{d:`M 22 14 L 22 10`,key:`nqc4tb`}],[`rect`,{x:`2`,y:`6`,width:`16`,height:`12`,rx:`2`,key:`13zb55`}]]),Ys=l(`battery-warning`,[[`path`,{d:`M10 17h.01`,key:`nbq80n`}],[`path`,{d:`M10 7v6`,key:`nne03l`}],[`path`,{d:`M14 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2`,key:`1m83kb`}],[`path`,{d:`M22 14v-4`,key:`14q9d5`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`,key:`h8lgfh`}]]),Xs=l(`beaker`,[[`path`,{d:`M4.5 3h15`,key:`c7n0jr`}],[`path`,{d:`M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3`,key:`m1uhx7`}],[`path`,{d:`M6 14h12`,key:`4cwo0f`}]]),Zs=l(`bean-off`,[[`path`,{d:`M9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22a13.96 13.96 0 0 0 9.9-4.1`,key:`bq3udt`}],[`path`,{d:`M10.75 5.093A6 6 0 0 1 22 8c0 2.411-.61 4.68-1.683 6.66`,key:`17ccse`}],[`path`,{d:`M5.341 10.62a4 4 0 0 0 6.487 1.208M10.62 5.341a4.015 4.015 0 0 1 2.039 2.04`,key:`18zqgq`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),Qs=l(`bean`,[[`path`,{d:`M10.165 6.598C9.954 7.478 9.64 8.36 9 9c-.64.64-1.521.954-2.402 1.165A6 6 0 0 0 8 22c7.732 0 14-6.268 14-14a6 6 0 0 0-11.835-1.402Z`,key:`1tvzk7`}],[`path`,{d:`M5.341 10.62a4 4 0 1 0 5.279-5.28`,key:`2cyri2`}]]),$s=l(`bed-double`,[[`path`,{d:`M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8`,key:`1k78r4`}],[`path`,{d:`M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4`,key:`fb3tl2`}],[`path`,{d:`M12 4v6`,key:`1dcgq2`}],[`path`,{d:`M2 18h20`,key:`ajqnye`}]]),ec=l(`bed`,[[`path`,{d:`M2 4v16`,key:`vw9hq8`}],[`path`,{d:`M2 8h18a2 2 0 0 1 2 2v10`,key:`1dgv2r`}],[`path`,{d:`M2 17h20`,key:`18nfp3`}],[`path`,{d:`M6 8v9`,key:`1yriud`}]]),tc=l(`bed-single`,[[`path`,{d:`M3 20v-8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8`,key:`1wm6mi`}],[`path`,{d:`M5 10V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v4`,key:`4k93s5`}],[`path`,{d:`M3 18h18`,key:`1h113x`}]]),nc=l(`beef-off`,[[`path`,{d:`M11.771 6.109a2.5 2.5 0 0 1 3.12 3.12`,key:`3w1grc`}],[`path`,{d:`M17.852 12.185a6.5 6.5 0 0 0-9.035-9.04`,key:`1xgl7b`}],[`path`,{d:`M18.013 18.013C15.029 20.349 10.831 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5`,key:`3m3yc0`}],[`path`,{d:`m18.5 6 2.19 4.5a6.48 6.48 0 0 1-.139 4.393`,key:`1rvkn7`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M6.355 6.37a7 7 0 0 0-.075.23c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c3.356 0 6.993-1.267 9.85-3.151`,key:`54713r`}]]),rc=l(`beef`,[[`path`,{d:`M16.4 13.7A6.5 6.5 0 1 0 6.28 6.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3`,key:`cisjcv`}],[`path`,{d:`m18.5 6 2.19 4.5a6.48 6.48 0 0 1-2.29 7.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5`,key:`5byaag`}],[`circle`,{cx:`12.5`,cy:`8.5`,r:`2.5`,key:`9738u8`}]]),ic=l(`beer-off`,[[`path`,{d:`M13 13v5`,key:`igwfh0`}],[`path`,{d:`M17 11.47V8`,key:`16yw0g`}],[`path`,{d:`M17 11h1a3 3 0 0 1 2.745 4.211`,key:`1xbt65`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-3`,key:`c55o3e`}],[`path`,{d:`M7.536 7.535C6.766 7.649 6.154 8 5.5 8a2.5 2.5 0 0 1-1.768-4.268`,key:`1ydug7`}],[`path`,{d:`M8.727 3.204C9.306 2.767 9.885 2 11 2c1.56 0 2 1.5 3 1.5s1.72-.5 2.5-.5a1 1 0 1 1 0 5c-.78 0-1.5-.5-2.5-.5a3.149 3.149 0 0 0-.842.12`,key:`q81o7q`}],[`path`,{d:`M9 14.6V18`,key:`20ek98`}]]),ac=l(`beer`,[[`path`,{d:`M17 11h1a3 3 0 0 1 0 6h-1`,key:`1yp76v`}],[`path`,{d:`M9 12v6`,key:`1u1cab`}],[`path`,{d:`M13 12v6`,key:`1sugkk`}],[`path`,{d:`M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z`,key:`1510fo`}],[`path`,{d:`M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`,key:`19jb7n`}]]),oc=l(`bell-check`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`m15 8 2 2 4-4`,key:`sbrgsm`}],[`path`,{d:`M16.8607 4.4824A6 6 0 0 0 6 8C6 12.499 4.589 13.956 3.262 15.326`,key:`qcog4a`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17H20A1 1 0 0 0 20.74 15.327C20.209 14.779 19.665 14.218 19.203 13.454`,key:`mxnnoh`}]]),sc=l(`bell-dot`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M11.68 2.009A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673c-.824-.85-1.678-1.731-2.21-3.348`,key:`xaq59h`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]),cc=l(`bell-electric`,[[`path`,{d:`M18.518 17.347A7 7 0 0 1 14 19`,key:`1emhpo`}],[`path`,{d:`M18.8 4A11 11 0 0 1 20 9`,key:`127b67`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`circle`,{cx:`20`,cy:`16`,r:`2`,key:`1v9bxh`}],[`circle`,{cx:`9`,cy:`9`,r:`7`,key:`p2h5vp`}],[`rect`,{x:`4`,y:`16`,width:`10`,height:`6`,rx:`2`,key:`bfnviv`}]]),lc=l(`bell-minus`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M15 8h6`,key:`8ybuxh`}],[`path`,{d:`M16.243 3.757A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673A9.4 9.4 0 0 1 18.667 12`,key:`bdwj86`}]]),uc=l(`bell-off`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742`,key:`178tsu`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05`,key:`1hqiys`}]]),dc=l(`bell-plus`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M15 8h6`,key:`8ybuxh`}],[`path`,{d:`M18 5v6`,key:`g5ayrv`}],[`path`,{d:`M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-5.332`,key:`1abcvy`}]]),fc=l(`bell-ring`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M22 8c0-2.3-.8-4.3-2-6`,key:`5bb3ad`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}],[`path`,{d:`M4 2C2.8 3.7 2 5.7 2 8`,key:`tap9e0`}]]),pc=l(`bell`,[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}]]),mc=l(`between-horizontal-end`,[[`rect`,{width:`13`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`11xb64`}],[`path`,{d:`m22 15-3-3 3-3`,key:`26chmm`}],[`rect`,{width:`13`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`k6ky7n`}]]),hc=l(`between-vertical-end`,[[`rect`,{width:`7`,height:`13`,x:`3`,y:`3`,rx:`1`,key:`1fdu0f`}],[`path`,{d:`m9 22 3-3 3 3`,key:`17z65a`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`3`,rx:`1`,key:`1squn4`}]]),gc=l(`between-vertical-start`,[[`rect`,{width:`7`,height:`13`,x:`3`,y:`8`,rx:`1`,key:`1fjrkv`}],[`path`,{d:`m15 2-3 3-3-3`,key:`1uh6eb`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`8`,rx:`1`,key:`w3fjg8`}]]),_c=l(`between-horizontal-start`,[[`rect`,{width:`13`,height:`7`,x:`8`,y:`3`,rx:`1`,key:`pkso9a`}],[`path`,{d:`m2 9 3 3-3 3`,key:`1agib5`}],[`rect`,{width:`13`,height:`7`,x:`8`,y:`14`,rx:`1`,key:`1q5fc1`}]]),vc=l(`biceps-flexed`,[[`path`,{d:`M12.409 13.017A5 5 0 0 1 22 15c0 3.866-4 7-9 7-4.077 0-8.153-.82-10.371-2.462-.426-.316-.631-.832-.62-1.362C2.118 12.723 2.627 2 10 2a3 3 0 0 1 3 3 2 2 0 0 1-2 2c-1.105 0-1.64-.444-2-1`,key:`1pmlyh`}],[`path`,{d:`M15 14a5 5 0 0 0-7.584 2`,key:`5rb254`}],[`path`,{d:`M9.964 6.825C8.019 7.977 9.5 13 8 15`,key:`kbvsx9`}]]),yc=l(`binary`,[[`rect`,{x:`14`,y:`14`,width:`4`,height:`6`,rx:`2`,key:`p02svl`}],[`rect`,{x:`6`,y:`4`,width:`4`,height:`6`,rx:`2`,key:`xm4xkj`}],[`path`,{d:`M6 20h4`,key:`1i6q5t`}],[`path`,{d:`M14 10h4`,key:`ru81e7`}],[`path`,{d:`M6 14h2v6`,key:`16z9wg`}],[`path`,{d:`M14 4h2v6`,key:`1idq9u`}]]),bc=l(`bike`,[[`circle`,{cx:`18.5`,cy:`17.5`,r:`3.5`,key:`15x4ox`}],[`circle`,{cx:`5.5`,cy:`17.5`,r:`3.5`,key:`1noe27`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`path`,{d:`M12 17.5V14l-3-3 4-3 2 3h2`,key:`1npguv`}]]),xc=l(`binoculars`,[[`path`,{d:`M10 10h4`,key:`tcdvrf`}],[`path`,{d:`M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3`,key:`3apit1`}],[`path`,{d:`M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z`,key:`rhpgnw`}],[`path`,{d:`M 22 16 L 2 16`,key:`14lkq7`}],[`path`,{d:`M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z`,key:`104b3k`}],[`path`,{d:`M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3`,key:`14fczp`}]]),Sc=l(`biohazard`,[[`circle`,{cx:`12`,cy:`11.9`,r:`2`,key:`e8h31w`}],[`path`,{d:`M6.7 3.4c-.9 2.5 0 5.2 2.2 6.7C6.5 9 3.7 9.6 2 11.6`,key:`17bolr`}],[`path`,{d:`m8.9 10.1 1.4.8`,key:`15ezny`}],[`path`,{d:`M17.3 3.4c.9 2.5 0 5.2-2.2 6.7 2.4-1.2 5.2-.6 6.9 1.5`,key:`wtwa5u`}],[`path`,{d:`m15.1 10.1-1.4.8`,key:`1r0b28`}],[`path`,{d:`M16.7 20.8c-2.6-.4-4.6-2.6-4.7-5.3-.2 2.6-2.1 4.8-4.7 5.2`,key:`m7qszh`}],[`path`,{d:`M12 13.9v1.6`,key:`zfyyim`}],[`path`,{d:`M13.5 5.4c-1-.2-2-.2-3 0`,key:`1bi9q0`}],[`path`,{d:`M17 16.4c.7-.7 1.2-1.6 1.5-2.5`,key:`1rhjqw`}],[`path`,{d:`M5.5 13.9c.3.9.8 1.8 1.5 2.5`,key:`8gsud3`}]]),Cc=l(`bird`,[[`path`,{d:`M16 7h.01`,key:`1kdx03`}],[`path`,{d:`M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20`,key:`oj1oa8`}],[`path`,{d:`m20 7 2 .5-2 .5`,key:`12nv4d`}],[`path`,{d:`M10 18v3`,key:`1yea0a`}],[`path`,{d:`M14 17.75V21`,key:`1pymcb`}],[`path`,{d:`M7 18a6 6 0 0 0 3.84-10.61`,key:`1npnn0`}]]),wc=l(`birdhouse`,[[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m17 18 1.956-11.468`,key:`l5n2ro`}],[`path`,{d:`m3 8 7.82-5.615a2 2 0 0 1 2.36 0L21 8`,key:`1sy6n7`}],[`path`,{d:`M4 18h16`,key:`19g7jn`}],[`path`,{d:`M7 18 5.044 6.532`,key:`1uqdf2`}],[`circle`,{cx:`12`,cy:`10`,r:`2`,key:`1yojzk`}]]),Tc=l(`bitcoin`,[[`path`,{d:`M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727`,key:`yr8idg`}]]),Ec=l(`blend`,[[`circle`,{cx:`9`,cy:`9`,r:`7`,key:`p2h5vp`}],[`circle`,{cx:`15`,cy:`15`,r:`7`,key:`19ennj`}]]),Dc=l(`blender`,[[`path`,{d:`M8 14a2 2 0 0 0-1.963 1.615l-1.018 5.193A1 1 0 0 0 6 22h12a1 1 0 0 0 .981-1.192l-1.018-5.193A2 2 0 0 0 16 14z`,key:`11zxmj`}],[`path`,{d:`m17 2-1 12`,key:`nxm2fw`}],[`path`,{d:`M8.006 14 7 2`,key:`13bxiv`}],[`path`,{d:`M7.565 8.787A5 5 0 0 0 12 8a5 5 0 0 1 4.56-.75`,key:`1s61ad`}],[`path`,{d:`M19 2H5a2 2 0 0 0-2 2v5a2 2 0 0 0 .688 1.5`,key:`gel3rg`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]),Oc=l(`blinds`,[[`path`,{d:`M3 3h18`,key:`o7r712`}],[`path`,{d:`M20 7H8`,key:`gd2fo2`}],[`path`,{d:`M20 11H8`,key:`1ynp89`}],[`path`,{d:`M10 19h10`,key:`19hjk5`}],[`path`,{d:`M8 15h12`,key:`1yqzne`}],[`path`,{d:`M4 3v14`,key:`fggqzn`}],[`circle`,{cx:`4`,cy:`19`,r:`2`,key:`p3m9r0`}]]),kc=l(`blocks`,[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]),Ac=l(`bluetooth-connected`,[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`,key:`1q5490`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`12`,key:`1rsjjs`}],[`line`,{x1:`3`,x2:`6`,y1:`12`,y2:`12`,key:`11yl8c`}]]),jc=l(`bluetooth-off`,[[`path`,{d:`m17 17-5 5V12l-5 5`,key:`v5aci6`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M14.5 9.5 17 7l-5-5v4.5`,key:`1kddfz`}]]),Mc=l(`bluetooth-searching`,[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`,key:`1q5490`}],[`path`,{d:`M20.83 14.83a4 4 0 0 0 0-5.66`,key:`k8tn1j`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}]]),Nc=l(`bluetooth`,[[`path`,{d:`m7 7 10 10-5 5V2l5 5L7 17`,key:`1q5490`}]]),Pc=l(`bold`,[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`,key:`mg9rjx`}]]),Fc=l(`bolt`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}]]),Ic=l(`bomb`,[[`circle`,{cx:`11`,cy:`13`,r:`9`,key:`hd149`}],[`path`,{d:`M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95`,key:`jp4j1b`}],[`path`,{d:`m22 2-1.5 1.5`,key:`ay92ug`}]]),Lc=l(`book-a`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`m8 13 4-7 4 7`,key:`4rari8`}],[`path`,{d:`M9.1 11h5.7`,key:`1gkovt`}]]),Rc=l(`book-alert`,[[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M12 6v3`,key:`1m4b9j`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}]]),zc=l(`book-audio`,[[`path`,{d:`M12 6v7`,key:`1f6ttz`}],[`path`,{d:`M16 8v3`,key:`gejaml`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`M8 8v3`,key:`1qzp49`}]]),Bc=l(`bone`,[[`path`,{d:`M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z`,key:`w610uw`}]]),Vc=l(`book-copy`,[[`path`,{d:`M5 7a2 2 0 0 0-2 2v11`,key:`1yhqjt`}],[`path`,{d:`M5.803 18H5a2 2 0 0 0 0 4h9.5a.5.5 0 0 0 .5-.5V21`,key:`edzzo5`}],[`path`,{d:`M9 15V4a2 2 0 0 1 2-2h9.5a.5.5 0 0 1 .5.5v14a.5.5 0 0 1-.5.5H11a2 2 0 0 1 0-4h10`,key:`1nwzrg`}]]),Hc=l(`book-check`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`m9 9.5 2 2 4-4`,key:`1dth82`}]]),Uc=l(`book-dashed`,[[`path`,{d:`M12 17h1.5`,key:`1gkc67`}],[`path`,{d:`M12 22h1.5`,key:`1my7sn`}],[`path`,{d:`M12 2h1.5`,key:`19tvb7`}],[`path`,{d:`M17.5 22H19a1 1 0 0 0 1-1`,key:`10akbh`}],[`path`,{d:`M17.5 2H19a1 1 0 0 1 1 1v1.5`,key:`1vrfjs`}],[`path`,{d:`M20 14v3h-2.5`,key:`1naeju`}],[`path`,{d:`M20 8.5V10`,key:`1ctpfu`}],[`path`,{d:`M4 10V8.5`,key:`1o3zg5`}],[`path`,{d:`M4 19.5V14`,key:`ob81pf`}],[`path`,{d:`M4 4.5A2.5 2.5 0 0 1 6.5 2H8`,key:`s8vcyb`}],[`path`,{d:`M8 22H6.5a1 1 0 0 1 0-5H8`,key:`1cu73q`}]]),Wc=l(`book-down`,[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`m9 10 3 3 3-3`,key:`zt5b4y`}]]),Gc=l(`book-heart`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`M8.62 9.8A2.25 2.25 0 1 1 12 6.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`,key:`9v40y5`}]]),Kc=l(`book-headphones`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`M8 12v-2a4 4 0 0 1 8 0v2`,key:`1vsqkj`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}]]),qc=l(`book-image`,[[`path`,{d:`m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17`,key:`q6ojf0`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`circle`,{cx:`10`,cy:`8`,r:`2`,key:`2qkj4p`}]]),Jc=l(`book-key`,[[`path`,{d:`M13 2H6.5A2.5 2.5 0 0 0 4 4.5v15`,key:`4azifu`}],[`path`,{d:`M17 2v6`,key:`qgmh37`}],[`path`,{d:`M17 4h2`,key:`13vrzo`}],[`path`,{d:`M20 15.2V21a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`192hzx`}],[`circle`,{cx:`17`,cy:`10`,r:`2`,key:`y0i25j`}]]),Yc=l(`book-lock`,[[`path`,{d:`M18 6V4a2 2 0 1 0-4 0v2`,key:`1aquzs`}],[`path`,{d:`M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`1rkj32`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10`,key:`18wgow`}],[`rect`,{x:`12`,y:`6`,width:`8`,height:`5`,rx:`1`,key:`73l30o`}]]),Xc=l(`book-marked`,[[`path`,{d:`M10 2v8l3-3 3 3V2`,key:`sqw3rj`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}]]),Zc=l(`book-minus`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}]]),Qc=l(`book-open-check`,[[`path`,{d:`M12 21V7`,key:`gj6g52`}],[`path`,{d:`m16 12 2 2 4-4`,key:`mdajum`}],[`path`,{d:`M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3`,key:`8arnkb`}]]),$c=l(`book-open-text`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M16 12h2`,key:`7q9ll5`}],[`path`,{d:`M16 8h2`,key:`msurwy`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}],[`path`,{d:`M6 12h2`,key:`32wvfc`}],[`path`,{d:`M6 8h2`,key:`30oboj`}]]),el=l(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),tl=l(`book-plus`,[[`path`,{d:`M12 7v6`,key:`lw1j43`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}]]),nl=l(`book-search`,[[`path`,{d:`M11 22H5.5a1 1 0 0 1 0-5h4.501`,key:`mcbepb`}],[`path`,{d:`m21 22-1.879-1.878`,key:`12q7x1`}],[`path`,{d:`M3 19.5v-15A2.5 2.5 0 0 1 5.5 2H18a1 1 0 0 1 1 1v8`,key:`olfd5n`}],[`circle`,{cx:`17`,cy:`18`,r:`3`,key:`82mm0e`}]]),rl=l(`book-text`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`M8 11h8`,key:`vwpz6n`}],[`path`,{d:`M8 7h6`,key:`1f0q6e`}]]),il=l(`book-type`,[[`path`,{d:`M10 13h4`,key:`ytezjc`}],[`path`,{d:`M12 6v7`,key:`1f6ttz`}],[`path`,{d:`M16 8V6H8v2`,key:`x8j6u4`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}]]),al=l(`book-up-2`,[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M18 2h1a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`161d7n`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2`,key:`1lorq7`}],[`path`,{d:`m9 10 3-3 3 3`,key:`11gsxs`}],[`path`,{d:`m9 5 3-3 3 3`,key:`l8vdw6`}]]),ol=l(`book-up`,[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`m9 10 3-3 3 3`,key:`11gsxs`}]]),sl=l(`book-user`,[[`path`,{d:`M15 13a3 3 0 1 0-6 0`,key:`10j68g`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`circle`,{cx:`12`,cy:`8`,r:`2`,key:`1822b1`}]]),cl=l(`book-x`,[[`path`,{d:`m14.5 7-5 5`,key:`dy991v`}],[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}],[`path`,{d:`m9.5 7 5 5`,key:`s45iea`}]]),ll=l(`book`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}]]),ul=l(`bookmark-check`,[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}],[`path`,{d:`m9 10 2 2 4-4`,key:`1gnqz4`}]]),dl=l(`bookmark-minus`,[[`path`,{d:`M15 10H9`,key:`o6yqo3`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}]]),fl=l(`bookmark-off`,[[`path`,{d:`M19 19v1a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5`,key:`nigmce`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.656 3H17a2 2 0 0 1 2 2v8.344`,key:`hlvsa`}]]),pl=l(`bookmark-plus`,[[`path`,{d:`M12 7v6`,key:`lw1j43`}],[`path`,{d:`M15 10H9`,key:`o6yqo3`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}]]),ml=l(`bookmark-x`,[[`path`,{d:`m14.5 7.5-5 5`,key:`3lb6iw`}],[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}],[`path`,{d:`m9.5 7.5 5 5`,key:`ko136h`}]]),hl=l(`bookmark`,[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}]]),gl=l(`boom-box`,[[`path`,{d:`M4 9V5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4`,key:`vvzvr1`}],[`path`,{d:`M8 8v1`,key:`xcqmfk`}],[`path`,{d:`M12 8v1`,key:`1rj8u4`}],[`path`,{d:`M16 8v1`,key:`1q12zr`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`9`,rx:`2`,key:`igpb89`}],[`circle`,{cx:`8`,cy:`15`,r:`2`,key:`fa4a8s`}],[`circle`,{cx:`16`,cy:`15`,r:`2`,key:`14c3ya`}]]),_l=l(`bot-message-square`,[[`path`,{d:`M12 6V2H8`,key:`1155em`}],[`path`,{d:`M15 11v2`,key:`i11awn`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 16a2 2 0 0 1-2 2H8.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 4 20.286V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z`,key:`11gyqh`}],[`path`,{d:`M9 11v2`,key:`1ueba0`}]]),vl=l(`bot-off`,[[`path`,{d:`M13.67 8H18a2 2 0 0 1 2 2v4.33`,key:`7az073`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M22 22 2 2`,key:`1r8tn9`}],[`path`,{d:`M8 8H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 1.414-.586`,key:`s09a7a`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}],[`path`,{d:`M9.67 4H12v2.33`,key:`110xot`}]]),yl=l(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),bl=l(`bottle-wine`,[[`path`,{d:`M10 3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a6 6 0 0 0 1.2 3.6l.6.8A6 6 0 0 1 17 13v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a6 6 0 0 1 1.2-3.6l.6-.8A6 6 0 0 0 10 5z`,key:`blqgoc`}],[`path`,{d:`M17 13h-4a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h4`,key:`43jbee`}]]),xl=l(`bow-arrow`,[[`path`,{d:`M17 3h4v4`,key:`19p9u1`}],[`path`,{d:`M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17`,key:`12t3w9`}],[`path`,{d:`M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05`,key:`ogng5l`}],[`path`,{d:`M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z`,key:`8v3fy2`}],[`path`,{d:`M9.707 14.293 21 3`,key:`ydm3bn`}]]),Sl=l(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Cl=l(`boxes`,[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]),wl=l(`braces`,[[`path`,{d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1`,key:`ezmyqa`}],[`path`,{d:`M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`,key:`e1hn23`}]]),Tl=l(`brackets`,[[`path`,{d:`M16 3h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-3`,key:`1kt8lf`}],[`path`,{d:`M8 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h3`,key:`gduv9`}]]),El=l(`brain-circuit`,[[`path`,{d:`M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z`,key:`l5xja`}],[`path`,{d:`M9 13a4.5 4.5 0 0 0 3-4`,key:`10igwf`}],[`path`,{d:`M6.003 5.125A3 3 0 0 0 6.401 6.5`,key:`105sqy`}],[`path`,{d:`M3.477 10.896a4 4 0 0 1 .585-.396`,key:`ql3yin`}],[`path`,{d:`M6 18a4 4 0 0 1-1.967-.516`,key:`2e4loj`}],[`path`,{d:`M12 13h4`,key:`1ku699`}],[`path`,{d:`M12 18h6a2 2 0 0 1 2 2v1`,key:`105ag5`}],[`path`,{d:`M12 8h8`,key:`1lhi5i`}],[`path`,{d:`M16 8V5a2 2 0 0 1 2-2`,key:`u6izg6`}],[`circle`,{cx:`16`,cy:`13`,r:`.5`,key:`ry7gng`}],[`circle`,{cx:`18`,cy:`3`,r:`.5`,key:`1aiba7`}],[`circle`,{cx:`20`,cy:`21`,r:`.5`,key:`yhc1fs`}],[`circle`,{cx:`20`,cy:`8`,r:`.5`,key:`1e43v0`}]]),Dl=l(`brain-cog`,[[`path`,{d:`m10.852 14.772-.383.923`,key:`11vil6`}],[`path`,{d:`m10.852 9.228-.383-.923`,key:`1fjppe`}],[`path`,{d:`m13.148 14.772.382.924`,key:`je3va1`}],[`path`,{d:`m13.531 8.305-.383.923`,key:`18epck`}],[`path`,{d:`m14.772 10.852.923-.383`,key:`k9m8cz`}],[`path`,{d:`m14.772 13.148.923.383`,key:`1xvhww`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 0 0-5.63-1.446 3 3 0 0 0-.368 1.571 4 4 0 0 0-2.525 5.771`,key:`jcbbz1`}],[`path`,{d:`M17.998 5.125a4 4 0 0 1 2.525 5.771`,key:`1kkn7e`}],[`path`,{d:`M19.505 10.294a4 4 0 0 1-1.5 7.706`,key:`18bmuc`}],[`path`,{d:`M4.032 17.483A4 4 0 0 0 11.464 20c.18-.311.892-.311 1.072 0a4 4 0 0 0 7.432-2.516`,key:`uozx0d`}],[`path`,{d:`M4.5 10.291A4 4 0 0 0 6 18`,key:`whdemb`}],[`path`,{d:`M6.002 5.125a3 3 0 0 0 .4 1.375`,key:`1kqy2g`}],[`path`,{d:`m9.228 10.852-.923-.383`,key:`1wtb30`}],[`path`,{d:`m9.228 13.148-.923.383`,key:`1a830x`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Ol=l(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),kl=l(`brick-wall-fire`,[[`path`,{d:`M16 3v2.107`,key:`gq8xun`}],[`path`,{d:`M17 9c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 22 17a5 5 0 0 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C13 11.5 16 9 17 9`,key:`1l2pih`}],[`path`,{d:`M21 8.274V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.938`,key:`jrnqjp`}],[`path`,{d:`M3 15h5.253`,key:`xqg7rb`}],[`path`,{d:`M3 9h8.228`,key:`1ppb70`}],[`path`,{d:`M8 15v6`,key:`1stoo3`}],[`path`,{d:`M8 3v6`,key:`vlvjmk`}]]),Al=l(`brick-wall-shield`,[[`path`,{d:`M12 9v1.258`,key:`iwpddn`}],[`path`,{d:`M16 3v5.46`,key:`d7ew98`}],[`path`,{d:`M21 9.118V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h5.75`,key:`137t5x`}],[`path`,{d:`M22 17.5c0 2.499-1.75 3.749-3.83 4.474a.5.5 0 0 1-.335-.005c-2.085-.72-3.835-1.97-3.835-4.47V14a.5.5 0 0 1 .5-.499c1 0 2.25-.6 3.12-1.36a.6.6 0 0 1 .76-.001c.875.765 2.12 1.36 3.12 1.36a.5.5 0 0 1 .5.5z`,key:`16j3tf`}],[`path`,{d:`M3 15h7`,key:`1qldh6`}],[`path`,{d:`M3 9h12.142`,key:`1yjd6m`}],[`path`,{d:`M8 15v6`,key:`1stoo3`}],[`path`,{d:`M8 3v6`,key:`vlvjmk`}]]),jl=l(`brick-wall`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 9v6`,key:`199k2o`}],[`path`,{d:`M16 15v6`,key:`8rj2es`}],[`path`,{d:`M16 3v6`,key:`1j6rpj`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 15v6`,key:`1stoo3`}],[`path`,{d:`M8 3v6`,key:`vlvjmk`}]]),Ml=l(`briefcase-business`,[[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`,key:`1ksdt3`}],[`path`,{d:`M22 13a18.15 18.15 0 0 1-20 0`,key:`12hx5q`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`,key:`i6l2r4`}]]),Nl=l(`briefcase-medical`,[[`path`,{d:`M12 11v4`,key:`a6ujw6`}],[`path`,{d:`M14 13h-4`,key:`1pl8zg`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`,key:`1ksdt3`}],[`path`,{d:`M18 6v14`,key:`1mu4gy`}],[`path`,{d:`M6 6v14`,key:`1s15cj`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`,key:`i6l2r4`}]]),Pl=l(`briefcase-conveyor-belt`,[[`path`,{d:`M10 20v2`,key:`1n8e1g`}],[`path`,{d:`M14 20v2`,key:`1lq872`}],[`path`,{d:`M18 20v2`,key:`10uadw`}],[`path`,{d:`M21 20H3`,key:`kdqkdp`}],[`path`,{d:`M6 20v2`,key:`a9bc87`}],[`path`,{d:`M8 16V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v12`,key:`17n9tx`}],[`rect`,{x:`4`,y:`6`,width:`16`,height:`10`,rx:`2`,key:`1097i5`}]]),Fl=l(`briefcase`,[[`path`,{d:`M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`,key:`jecpp`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`,key:`i6l2r4`}]]),Il=l(`bring-to-front`,[[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`2`,key:`yj20xf`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2`,key:`1ltk23`}],[`path`,{d:`M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2`,key:`1q24h9`}]]),Ll=l(`broccoli`,[[`path`,{d:`M10 13a3 3 0 0 1-2.121-5.121`,key:`1oqad0`}],[`path`,{d:`M15.606 14.204c-3.5 1.5-5.899 4.503-8.899 7.503A1 1 0 0 1 6 22c-2 0-4-2-4-4a1 1 0 0 1 .293-.707c1.911-1.911 3.823-3.578 5.347-5.441`,key:`c93qjr`}],[`path`,{d:`M16.573 14.737A4 4 0 0 1 14 11`,key:`1ymr17`}],[`path`,{d:`M7.14 10.907a4 4 0 1 1 2.756-7.43A4 4 0 0 1 16.7 4.48a2 2 0 0 1 2.82 2.82 4 4 0 0 1 1.002 6.805A4 4 0 1 1 13 16`,key:`1kbgad`}]]),Rl=l(`brush`,[[`path`,{d:`m11 10 3 3`,key:`fzmg1i`}],[`path`,{d:`M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z`,key:`p4q2r7`}],[`path`,{d:`M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031`,key:`wy6l02`}]]),zl=l(`brush-cleaning`,[[`path`,{d:`m16 22-1-4`,key:`1ow2iv`}],[`path`,{d:`M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1`,key:`11gii7`}],[`path`,{d:`M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z`,key:`bju7h4`}],[`path`,{d:`m8 22 1-4`,key:`s3unb`}]]),Bl=l(`bubbles`,[[`path`,{d:`M7.001 15.085A1.5 1.5 0 0 1 9 16.5`,key:`y44lvh`}],[`circle`,{cx:`18.5`,cy:`8.5`,r:`3.5`,key:`1wadoa`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`5.5`,key:`6mdt3g`}],[`circle`,{cx:`7.5`,cy:`4.5`,r:`2.5`,key:`637s54`}]]),Vl=l(`bug-play`,[[`path`,{d:`M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97`,key:`1gnv52`}],[`path`,{d:`M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`,key:`1weqy9`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),Hl=l(`bug-off`,[[`path`,{d:`M12 20v-8`,key:`i3yub9`}],[`path`,{d:`M12.656 7H14a4 4 0 0 1 4 4v1.344`,key:`vvueyn`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M17.123 17.123A6 6 0 0 1 6 14v-3a4 4 0 0 1 1.72-3.287`,key:`1cu21y`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-3.344`,key:`qb08am`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9.712 4.06A3 3 0 0 1 15 6v1.13`,key:`1bvup6`}]]),Ul=l(`bug`,[[`path`,{d:`M12 20v-9`,key:`1qisl0`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`,key:`uouzyp`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`,key:`1b0z45`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-4`,key:`1jl80f`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),Wl=l(`building-2`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]]),Gl=l(`building`,[[`path`,{d:`M12 10h.01`,key:`1nrarc`}],[`path`,{d:`M12 14h.01`,key:`1etili`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`path`,{d:`M16 10h.01`,key:`1m94wz`}],[`path`,{d:`M16 14h.01`,key:`1gbofw`}],[`path`,{d:`M16 6h.01`,key:`1x0f13`}],[`path`,{d:`M8 10h.01`,key:`19clt8`}],[`path`,{d:`M8 14h.01`,key:`6423bh`}],[`path`,{d:`M8 6h.01`,key:`1dz90k`}],[`path`,{d:`M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3`,key:`cabbwy`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`,key:`1uxh74`}]]),Kl=l(`bus-front`,[[`path`,{d:`M4 6 2 7`,key:`1mqr15`}],[`path`,{d:`M10 6h4`,key:`1itunk`}],[`path`,{d:`m22 7-2-1`,key:`1umjhc`}],[`rect`,{width:`16`,height:`16`,x:`4`,y:`3`,rx:`2`,key:`1wxw4b`}],[`path`,{d:`M4 11h16`,key:`mpoxn0`}],[`path`,{d:`M8 15h.01`,key:`a7atzg`}],[`path`,{d:`M16 15h.01`,key:`rnfrdf`}],[`path`,{d:`M6 19v2`,key:`1loha6`}],[`path`,{d:`M18 21v-2`,key:`sqyl04`}]]),ql=l(`bus`,[[`path`,{d:`M8 6v6`,key:`18i7km`}],[`path`,{d:`M15 6v6`,key:`1sg6z9`}],[`path`,{d:`M2 12h19.6`,key:`de5uta`}],[`path`,{d:`M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3`,key:`1wwztk`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}],[`path`,{d:`M9 18h5`,key:`lrx6i`}],[`circle`,{cx:`16`,cy:`18`,r:`2`,key:`1v4tcr`}]]),Jl=l(`cake-slice`,[[`path`,{d:`M16 13H3`,key:`1wpj08`}],[`path`,{d:`M16 17H3`,key:`3lvfcd`}],[`path`,{d:`m7.2 7.9-3.388 2.5A2 2 0 0 0 3 12.01V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-8.654c0-2-2.44-6.026-6.44-8.026a1 1 0 0 0-1.082.057L10.4 5.6`,key:`1gmhf7`}],[`circle`,{cx:`9`,cy:`7`,r:`2`,key:`1305pl`}]]),Yl=l(`cable-car`,[[`path`,{d:`M10 3h.01`,key:`lbucoy`}],[`path`,{d:`M14 2h.01`,key:`1k8aa1`}],[`path`,{d:`m2 9 20-5`,key:`1kz0j5`}],[`path`,{d:`M12 12V6.5`,key:`1vbrij`}],[`rect`,{width:`16`,height:`10`,x:`4`,y:`12`,rx:`3`,key:`if91er`}],[`path`,{d:`M9 12v5`,key:`3anwtq`}],[`path`,{d:`M15 12v5`,key:`5xh3zn`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),Xl=l(`cable`,[[`path`,{d:`M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z`,key:`trhst0`}],[`path`,{d:`M17 21v-2`,key:`ds4u3f`}],[`path`,{d:`M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10`,key:`1mo9zo`}],[`path`,{d:`M21 21v-2`,key:`eo0ou`}],[`path`,{d:`M3 5V3`,key:`1k5hjh`}],[`path`,{d:`M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z`,key:`1dd30t`}],[`path`,{d:`M7 5V3`,key:`1t1388`}]]),Zl=l(`cake`,[[`path`,{d:`M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8`,key:`1w3rig`}],[`path`,{d:`M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1`,key:`n2jgmb`}],[`path`,{d:`M2 21h20`,key:`1nyx9w`}],[`path`,{d:`M7 8v3`,key:`1qtyvj`}],[`path`,{d:`M12 8v3`,key:`hwp4zt`}],[`path`,{d:`M17 8v3`,key:`1i6e5u`}],[`path`,{d:`M7 4h.01`,key:`1bh4kh`}],[`path`,{d:`M12 4h.01`,key:`1ujb9j`}],[`path`,{d:`M17 4h.01`,key:`1upcoc`}]]),Ql=l(`calculator`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`line`,{x1:`8`,x2:`16`,y1:`6`,y2:`6`,key:`x4nwl0`}],[`line`,{x1:`16`,x2:`16`,y1:`14`,y2:`18`,key:`wjye3r`}],[`path`,{d:`M16 10h.01`,key:`1m94wz`}],[`path`,{d:`M12 10h.01`,key:`1nrarc`}],[`path`,{d:`M8 10h.01`,key:`19clt8`}],[`path`,{d:`M12 14h.01`,key:`1etili`}],[`path`,{d:`M8 14h.01`,key:`6423bh`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M8 18h.01`,key:`lrp35t`}]]),$l=l(`calendar-1`,[[`path`,{d:`M11 14h1v4`,key:`fy54vd`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`,key:`12vinp`}]]),eu=l(`calendar-arrow-down`,[[`path`,{d:`m14 18 4 4 4-4`,key:`1waygx`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M18 14v8`,key:`irew45`}],[`path`,{d:`M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343`,key:`bse4f3`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}]]),tu=l(`calendar-arrow-up`,[[`path`,{d:`m14 18 4-4 4 4`,key:`ftkppy`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M18 22v-8`,key:`su0gjh`}],[`path`,{d:`M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9`,key:`1exg90`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}]]),nu=l(`calendar-check-2`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8`,key:`bce9hv`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`m16 20 2 2 4-4`,key:`13tcca`}]]),ru=l(`calendar-check`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`m9 16 2 2 4-4`,key:`19s6y9`}]]),iu=l(`calendar-cog`,[[`path`,{d:`m15.228 16.852-.923-.383`,key:`npixar`}],[`path`,{d:`m15.228 19.148-.923.383`,key:`51cr3n`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`m16.47 14.305.382.923`,key:`obybxd`}],[`path`,{d:`m16.852 20.772-.383.924`,key:`dpfhf9`}],[`path`,{d:`m19.148 15.228.383-.923`,key:`1reyyz`}],[`path`,{d:`m19.53 21.696-.382-.924`,key:`1goivc`}],[`path`,{d:`m20.772 16.852.924-.383`,key:`htqkph`}],[`path`,{d:`m20.772 19.148.924.383`,key:`9w9pjp`}],[`path`,{d:`M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`,key:`1pvbig`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),au=l(`calendar-clock`,[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5`,key:`1osxxc`}],[`path`,{d:`M3 10h5`,key:`r794hk`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]),ou=l(`calendar-days`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 14h.01`,key:`6423bh`}],[`path`,{d:`M12 14h.01`,key:`1etili`}],[`path`,{d:`M16 14h.01`,key:`1gbofw`}],[`path`,{d:`M8 18h.01`,key:`lrp35t`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M16 18h.01`,key:`kzsmim`}]]),su=l(`calendar-fold`,[[`path`,{d:`M3 20a2 2 0 0 0 2 2h10a2.4 2.4 0 0 0 1.706-.706l3.588-3.588A2.4 2.4 0 0 0 21 16V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z`,key:`r586nh`}],[`path`,{d:`M15 22v-5a1 1 0 0 1 1-1h5`,key:`xl3app`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),cu=l(`calendar-heart`,[[`path`,{d:`M12.127 22H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.125`,key:`vxdnp4`}],[`path`,{d:`M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`,key:`15cy7q`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}]]),lu=l(`calendar-minus-2`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M10 16h4`,key:`17e571`}]]),uu=l(`calendar-minus`,[[`path`,{d:`M16 19h6`,key:`xwg31i`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 15V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5`,key:`1scpom`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}]]),du=l(`calendar-off`,[[`path`,{d:`M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18`,key:`16swn3`}],[`path`,{d:`M21 15.5V6a2 2 0 0 0-2-2H9.5`,key:`yhw86o`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M3 10h7`,key:`1wap6i`}],[`path`,{d:`M21 10h-5.5`,key:`quycpq`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),fu=l(`calendar-plus-2`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M10 16h4`,key:`17e571`}],[`path`,{d:`M12 14v4`,key:`1thi36`}]]),pu=l(`calendar-plus`,[[`path`,{d:`M16 19h6`,key:`xwg31i`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M21 12.598V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5`,key:`1glfrc`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}]]),mu=l(`calendar-range`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M17 14h-6`,key:`bkmgh3`}],[`path`,{d:`M13 18H7`,key:`bb0bb7`}],[`path`,{d:`M7 14h.01`,key:`1qa3f1`}],[`path`,{d:`M17 18h.01`,key:`1bdyru`}]]),hu=l(`calendar-search`,[[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 11.75V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.25`,key:`1jrsq6`}],[`path`,{d:`m22 22-1.875-1.875`,key:`13zax7`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),gu=l(`calendar-sync`,[[`path`,{d:`M11 10v4h4`,key:`172dkj`}],[`path`,{d:`m11 14 1.535-1.605a5 5 0 0 1 8 1.5`,key:`vu0qm5`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`m21 18-1.535 1.605a5 5 0 0 1-8-1.5`,key:`1qgeyt`}],[`path`,{d:`M21 22v-4h-4`,key:`hrummi`}],[`path`,{d:`M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3`,key:`mctw84`}],[`path`,{d:`M3 10h4`,key:`1el30a`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}]]),_u=l(`calendar-x-2`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8`,key:`3spt84`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`m17 22 5-5`,key:`1k6ppv`}],[`path`,{d:`m17 17 5 5`,key:`p7ous7`}]]),vu=l(`calendar-x`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`m14 14-4 4`,key:`rymu2i`}],[`path`,{d:`m10 14 4 4`,key:`3sz06r`}]]),yu=l(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),bu=l(`calendars`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M15.726 21.01A2 2 0 0 1 14 22H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`,key:`j6srht`}],[`path`,{d:`M18 2v2`,key:`1kh14s`}],[`path`,{d:`M2 13h2`,key:`13gyu8`}],[`path`,{d:`M8 8h14`,key:`12jxz2`}],[`rect`,{x:`8`,y:`3`,width:`14`,height:`14`,rx:`2`,key:`nsru6w`}]]),xu=l(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),Su=l(`camera-off`,[[`path`,{d:`M14.564 14.558a3 3 0 1 1-4.122-4.121`,key:`1rnrzw`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 .819-.175`,key:`1x3arw`}],[`path`,{d:`M9.695 4.024A2 2 0 0 1 10.004 4h3.993a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v7.344`,key:`1i84u0`}]]),Cu=l(`candy-off`,[[`path`,{d:`M10 10v7.9`,key:`m8g9tt`}],[`path`,{d:`M11.802 6.145a5 5 0 0 1 6.053 6.053`,key:`dn87i3`}],[`path`,{d:`M14 6.1v2.243`,key:`1kzysn`}],[`path`,{d:`m15.5 15.571-.964.964a5 5 0 0 1-7.071 0 5 5 0 0 1 0-7.07l.964-.965`,key:`3sxy18`}],[`path`,{d:`M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4`,key:`gpb6xx`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4`,key:`qexcha`}]]),wu=l(`candy-cane`,[[`path`,{d:`m10.8 5 2.111 4.223`,key:`11kb8w`}],[`path`,{d:`M17.75 7 15 2.1`,key:`12x7e8`}],[`path`,{d:`m4.874 14.647 2.12 4.24`,key:`ccpt4b`}],[`path`,{d:`M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2z`,key:`u5e8z4`}],[`path`,{d:`m7.906 9.712 2.005 4.411`,key:`1k0qph`}]]),Tu=l(`candy`,[[`path`,{d:`M10 7v10.9`,key:`1gynux`}],[`path`,{d:`M14 6.1V17`,key:`116kdf`}],[`path`,{d:`M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4`,key:`gpb6xx`}],[`path`,{d:`M16.536 7.465a5 5 0 0 0-7.072 0l-2 2a5 5 0 0 0 0 7.07 5 5 0 0 0 7.072 0l2-2a5 5 0 0 0 0-7.07`,key:`1tsln4`}],[`path`,{d:`M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4`,key:`qexcha`}]]),Eu=l(`cannabis-off`,[[`path`,{d:`M12 22v-4c1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5`,key:`1bqfb7`}],[`path`,{d:`M13.988 8.327C13.902 6.054 13.365 3.82 12 2a9.3 9.3 0 0 0-1.445 2.9`,key:`1p520n`}],[`path`,{d:`M17.375 11.725C18.882 10.53 21 7.841 21 6c-2.324 0-5.08 1.296-6.662 2.684`,key:`q2itvb`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M21.024 15.378A15 15 0 0 0 22 15c-.426-1.279-2.67-2.557-4.25-2.907`,key:`j9amvs`}],[`path`,{d:`M6.995 6.992C5.714 6.4 4.29 6 3 6c0 2 2.5 5 4 6-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3`,key:`8gmd5g`}]]),Du=l(`cannabis`,[[`path`,{d:`M12 22v-4`,key:`1utk9m`}],[`path`,{d:`M7 12c-1.5 0-4.5 1.5-5 3 3.5 1.5 6 1 6 1-1.5 1.5-2 3.5-2 5 2.5 0 4.5-1.5 6-3 1.5 1.5 3.5 3 6 3 0-1.5-.5-3.5-2-5 0 0 2.5.5 6-1-.5-1.5-3.5-3-5-3 1.5-1 4-4 4-6-2.5 0-5.5 1.5-7 3 0-2.5-.5-5-2-7-1.5 2-2 4.5-2 7-1.5-1.5-4.5-3-7-3 0 2 2.5 5 4 6`,key:`1mezod`}]]),Ou=l(`captions-off`,[[`path`,{d:`M10.5 5H19a2 2 0 0 1 2 2v8.5`,key:`jqtk4d`}],[`path`,{d:`M17 11h-.5`,key:`1961ue`}],[`path`,{d:`M19 19H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2`,key:`1keqsi`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M7 11h4`,key:`1o1z6v`}],[`path`,{d:`M7 15h2.5`,key:`1ina1g`}]]),ku=l(`captions`,[[`rect`,{width:`18`,height:`14`,x:`3`,y:`5`,rx:`2`,ry:`2`,key:`12ruh7`}],[`path`,{d:`M7 15h4M15 15h2M7 11h2M13 11h4`,key:`1ueiar`}]]),Au=l(`car-front`,[[`path`,{d:`m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8`,key:`1imjwt`}],[`path`,{d:`M7 14h.01`,key:`1qa3f1`}],[`path`,{d:`M17 14h.01`,key:`7oqj8z`}],[`rect`,{width:`18`,height:`8`,x:`3`,y:`10`,rx:`2`,key:`a7itu8`}],[`path`,{d:`M5 18v2`,key:`ppbyun`}],[`path`,{d:`M19 18v2`,key:`gy7782`}]]),ju=l(`car-taxi-front`,[[`path`,{d:`M10 2h4`,key:`n1abiw`}],[`path`,{d:`m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8`,key:`1imjwt`}],[`path`,{d:`M7 14h.01`,key:`1qa3f1`}],[`path`,{d:`M17 14h.01`,key:`7oqj8z`}],[`rect`,{width:`18`,height:`8`,x:`3`,y:`10`,rx:`2`,key:`a7itu8`}],[`path`,{d:`M5 18v2`,key:`ppbyun`}],[`path`,{d:`M19 18v2`,key:`gy7782`}]]),Mu=l(`car`,[[`path`,{d:`M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2`,key:`5owen`}],[`circle`,{cx:`7`,cy:`17`,r:`2`,key:`u2ysq9`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}],[`circle`,{cx:`17`,cy:`17`,r:`2`,key:`axvx0g`}]]),Nu=l(`caravan`,[[`path`,{d:`M18 19V9a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v8a2 2 0 0 0 2 2h2`,key:`19jm3t`}],[`path`,{d:`M2 9h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2`,key:`13hakp`}],[`path`,{d:`M22 17v1a1 1 0 0 1-1 1H10v-9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9`,key:`1crci8`}],[`circle`,{cx:`8`,cy:`19`,r:`2`,key:`t8fc5s`}]]),Pu=l(`card-sim`,[[`path`,{d:`M12 14v4`,key:`1thi36`}],[`path`,{d:`M14.172 2a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 20 7.828V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z`,key:`1o66bk`}],[`path`,{d:`M8 14h8`,key:`1fgep2`}],[`rect`,{x:`8`,y:`10`,width:`8`,height:`8`,rx:`1`,key:`1aonk6`}]]),Fu=l(`carrot`,[[`path`,{d:`M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46`,key:`rfqxbe`}],[`path`,{d:`M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z`,key:`6b25w4`}],[`path`,{d:`M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z`,key:`fn65lo`}]]),Iu=l(`case-lower`,[[`path`,{d:`M10 9v7`,key:`ylp826`}],[`path`,{d:`M14 6v10`,key:`1jy4vg`}],[`circle`,{cx:`17.5`,cy:`12.5`,r:`3.5`,key:`1a9481`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`3.5`,key:`2jlv1r`}]]),Lu=l(`case-sensitive`,[[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M22 9v7`,key:`pvm9v3`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}],[`circle`,{cx:`18.5`,cy:`12.5`,r:`3.5`,key:`z97x68`}]]),Ru=l(`case-upper`,[[`path`,{d:`M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5`,key:`nxs35`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),zu=l(`cassette-tape`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`circle`,{cx:`8`,cy:`10`,r:`2`,key:`1xl4ub`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`circle`,{cx:`16`,cy:`10`,r:`2`,key:`r14t7q`}],[`path`,{d:`m6 20 .7-2.9A1.4 1.4 0 0 1 8.1 16h7.8a1.4 1.4 0 0 1 1.4 1l.7 3`,key:`l01ucn`}]]),Bu=l(`cast`,[[`path`,{d:`M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6`,key:`3zrzxg`}],[`path`,{d:`M2 12a9 9 0 0 1 8 8`,key:`g6cvee`}],[`path`,{d:`M2 16a5 5 0 0 1 4 4`,key:`1y1dii`}],[`line`,{x1:`2`,x2:`2.01`,y1:`20`,y2:`20`,key:`xu2jvo`}]]),Vu=l(`castle`,[[`path`,{d:`M10 5V3`,key:`1y54qe`}],[`path`,{d:`M14 5V3`,key:`m6isi`}],[`path`,{d:`M15 21v-3a3 3 0 0 0-6 0v3`,key:`lbp5hj`}],[`path`,{d:`M18 3v8`,key:`2ollhf`}],[`path`,{d:`M18 5H6`,key:`98imr9`}],[`path`,{d:`M22 11H2`,key:`1lmjae`}],[`path`,{d:`M22 9v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9`,key:`1rly83`}],[`path`,{d:`M6 3v8`,key:`csox7g`}]]),Hu=l(`cat`,[[`path`,{d:`M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z`,key:`x6xyqk`}],[`path`,{d:`M8 14v.5`,key:`1nzgdb`}],[`path`,{d:`M16 14v.5`,key:`1lajdz`}],[`path`,{d:`M11.25 16.25h1.5L12 17l-.75-.75Z`,key:`12kq1m`}]]),Uu=l(`cctv`,[[`path`,{d:`M16.75 12h3.632a1 1 0 0 1 .894 1.447l-2.034 4.069a1 1 0 0 1-1.708.134l-2.124-2.97`,key:`ir91b5`}],[`path`,{d:`M17.106 9.053a1 1 0 0 1 .447 1.341l-3.106 6.211a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3z`,key:`jlp8i1`}],[`path`,{d:`M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15`,key:`19bib8`}],[`path`,{d:`M2 21v-4`,key:`l40lih`}],[`path`,{d:`M7 9h.01`,key:`19b3jx`}]]),Wu=l(`chart-area`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z`,key:`q0gr47`}]]),Gu=l(`cctv-off`,[[`path`,{d:`m12.309 6.652 4.797 2.401a1 1 0 0 1 .447 1.341l-.501 1.001.605.605h2.725a1 1 0 0 1 .894 1.447l-.724 1.448`,key:`e75roo`}],[`path`,{d:`m15.166 15.166-.719 1.439a1 1 0 0 1-1.342.447L3.61 12.3a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.9 2.9 0 0 1 .873-1.037`,key:`1h9o5r`}],[`path`,{d:`M2 19h3.76a2 2 0 0 0 1.8-1.1l1.441-2.902`,key:`1askrb`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M2 21v-4`,key:`l40lih`}],[`path`,{d:`M7 9h.01`,key:`19b3jx`}]]),Ku=l(`chart-bar-big`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`rect`,{x:`7`,y:`13`,width:`9`,height:`4`,rx:`1`,key:`1iip1u`}],[`rect`,{x:`7`,y:`5`,width:`12`,height:`4`,rx:`1`,key:`1anskk`}]]),qu=l(`chart-bar-decreasing`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M7 11h8`,key:`1feolt`}],[`path`,{d:`M7 16h3`,key:`ur6vzw`}],[`path`,{d:`M7 6h12`,key:`sz5b0d`}]]),Ju=l(`chart-bar-increasing`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M7 11h8`,key:`1feolt`}],[`path`,{d:`M7 16h12`,key:`wsnu98`}],[`path`,{d:`M7 6h3`,key:`w9rmul`}]]),Yu=l(`chart-bar`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M7 16h8`,key:`srdodz`}],[`path`,{d:`M7 11h12`,key:`127s9w`}],[`path`,{d:`M7 6h3`,key:`w9rmul`}]]),Xu=l(`chart-bar-stacked`,[[`path`,{d:`M11 13v4`,key:`vyy2rb`}],[`path`,{d:`M15 5v4`,key:`1gx88a`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`rect`,{x:`7`,y:`13`,width:`9`,height:`4`,rx:`1`,key:`1iip1u`}],[`rect`,{x:`7`,y:`5`,width:`12`,height:`4`,rx:`1`,key:`1anskk`}]]),Zu=l(`chart-candlestick`,[[`path`,{d:`M9 5v4`,key:`14uxtq`}],[`rect`,{width:`4`,height:`6`,x:`7`,y:`9`,rx:`1`,key:`f4fvz0`}],[`path`,{d:`M9 15v2`,key:`r5rk32`}],[`path`,{d:`M17 3v2`,key:`1l2re6`}],[`rect`,{width:`4`,height:`8`,x:`15`,y:`5`,rx:`1`,key:`z38je5`}],[`path`,{d:`M17 13v3`,key:`5l0wba`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}]]),Qu=l(`chart-column-big`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`rect`,{x:`15`,y:`5`,width:`4`,height:`12`,rx:`1`,key:`q8uenq`}],[`rect`,{x:`7`,y:`8`,width:`4`,height:`9`,rx:`1`,key:`sr5ea`}]]),$u=l(`chart-column-decreasing`,[[`path`,{d:`M13 17V9`,key:`1fwyjl`}],[`path`,{d:`M18 17v-3`,key:`1sqioe`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M8 17V5`,key:`1wzmnc`}]]),ed=l(`chart-column-increasing`,[[`path`,{d:`M13 17V9`,key:`1fwyjl`}],[`path`,{d:`M18 17V5`,key:`sfb6ij`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),td=l(`chart-column-stacked`,[[`path`,{d:`M11 13H7`,key:`t0o9gq`}],[`path`,{d:`M19 9h-4`,key:`rera1j`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`rect`,{x:`15`,y:`5`,width:`4`,height:`12`,rx:`1`,key:`q8uenq`}],[`rect`,{x:`7`,y:`8`,width:`4`,height:`9`,rx:`1`,key:`sr5ea`}]]),nd=l(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),rd=l(`chart-gantt`,[[`path`,{d:`M10 6h8`,key:`zvc2xc`}],[`path`,{d:`M12 16h6`,key:`yi5mkt`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M8 11h7`,key:`wz2hg0`}]]),id=l(`chart-line`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`m19 9-5 5-4-4-3 3`,key:`2osh9i`}]]),ad=l(`chart-network`,[[`path`,{d:`m13.11 7.664 1.78 2.672`,key:`go2gg9`}],[`path`,{d:`m14.162 12.788-3.324 1.424`,key:`11x848`}],[`path`,{d:`m20 4-6.06 1.515`,key:`1wxxh7`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`circle`,{cx:`12`,cy:`6`,r:`2`,key:`1jj5th`}],[`circle`,{cx:`16`,cy:`12`,r:`2`,key:`4ma0v8`}],[`circle`,{cx:`9`,cy:`15`,r:`2`,key:`lf2ghp`}]]),od=l(`chart-no-axes-column-decreasing`,[[`path`,{d:`M5 21V3`,key:`clc1r8`}],[`path`,{d:`M12 21V9`,key:`uvy0l4`}],[`path`,{d:`M19 21v-6`,key:`tkawy9`}]]),sd=l(`chart-no-axes-column-increasing`,[[`path`,{d:`M5 21v-6`,key:`1hz6c0`}],[`path`,{d:`M12 21V9`,key:`uvy0l4`}],[`path`,{d:`M19 21V3`,key:`11j9sm`}]]),cd=l(`chart-no-axes-column`,[[`path`,{d:`M5 21v-6`,key:`1hz6c0`}],[`path`,{d:`M12 21V3`,key:`1lcnhd`}],[`path`,{d:`M19 21V9`,key:`unv183`}]]),ld=l(`chart-no-axes-combined`,[[`path`,{d:`M12 16v5`,key:`zza2cw`}],[`path`,{d:`M16 14.639V21`,key:`1s85h0`}],[`path`,{d:`M20 10.656V21`,key:`q45596`}],[`path`,{d:`m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15`,key:`1fw8x9`}],[`path`,{d:`M4 18.463V21`,key:`1otddq`}],[`path`,{d:`M8 14.656V21`,key:`1t2idw`}]]),ud=l(`chart-no-axes-gantt`,[[`path`,{d:`M6 5h12`,key:`fvfigv`}],[`path`,{d:`M4 12h10`,key:`oujl3d`}],[`path`,{d:`M12 19h8`,key:`baeox8`}]]),dd=l(`chart-pie`,[[`path`,{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`,key:`pzmjnu`}],[`path`,{d:`M21.21 15.89A10 10 0 1 1 8 2.83`,key:`k2fpak`}]]),fd=l(`chart-scatter`,[[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}],[`circle`,{cx:`18.5`,cy:`5.5`,r:`.5`,fill:`currentColor`,key:`lysivs`}],[`circle`,{cx:`11.5`,cy:`11.5`,r:`.5`,fill:`currentColor`,key:`byv1b8`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`.5`,fill:`currentColor`,key:`nkw3mc`}],[`circle`,{cx:`17.5`,cy:`14.5`,r:`.5`,fill:`currentColor`,key:`1gjh6j`}],[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}]]),pd=l(`chart-spline`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7`,key:`lw07rv`}]]),md=l(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),hd=l(`check-line`,[[`path`,{d:`M20 4L9 15`,key:`1qkx8z`}],[`path`,{d:`M21 19L3 19`,key:`100sma`}],[`path`,{d:`M9 15L4 10`,key:`9zxff7`}]]),gd=l(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),_d=l(`chef-hat`,[[`path`,{d:`M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z`,key:`1qvrer`}],[`path`,{d:`M6 17h12`,key:`1jwigz`}]]),vd=l(`cherry`,[[`path`,{d:`M2 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z`,key:`cvxqlc`}],[`path`,{d:`M12 17a5 5 0 0 0 10 0c0-2.76-2.5-5-5-3-2.5-2-5 .24-5 3Z`,key:`1ostrc`}],[`path`,{d:`M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12`,key:`hqx58h`}],[`path`,{d:`M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z`,key:`eykp1o`}]]),yd=l(`chess-bishop`,[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`,key:`b89hwq`}],[`path`,{d:`M15 18c1.5-.615 3-2.461 3-4.923C18 8.769 14.5 4.462 12 2 9.5 4.462 6 8.77 6 13.077 6 15.539 7.5 17.385 9 18`,key:`8jdkhx`}],[`path`,{d:`m16 7-2.5 2.5`,key:`1jq90w`}],[`path`,{d:`M9 2h6`,key:`1jrp98`}]]),bd=l(`chess-king`,[[`path`,{d:`M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z`,key:`mqzwx6`}],[`path`,{d:`m6.7 18-1-1C4.35 15.682 3 14.09 3 12a5 5 0 0 1 4.95-5c1.584 0 2.7.455 4.05 1.818C13.35 7.455 14.466 7 16.05 7A5 5 0 0 1 21 12c0 2.082-1.359 3.673-2.7 5l-1 1`,key:`1gdt1g`}],[`path`,{d:`M10 4h4`,key:`1xpv9s`}],[`path`,{d:`M12 2v6.818`,key:`b17a49`}]]),xd=l(`chess-knight`,[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`,key:`b89hwq`}],[`path`,{d:`M16.5 18c1-2 2.5-5 2.5-9a7 7 0 0 0-7-7H6.635a1 1 0 0 0-.768 1.64L7 5l-2.32 5.802a2 2 0 0 0 .95 2.526l2.87 1.456`,key:`axbnlq`}],[`path`,{d:`m15 5 1.425-1.425`,key:`15xz8w`}],[`path`,{d:`m17 8 1.53-1.53`,key:`15zhqh`}],[`path`,{d:`M9.713 12.185 7 18`,key:`1ocm0l`}]]),Sd=l(`chess-pawn`,[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`,key:`b89hwq`}],[`path`,{d:`m14.5 10 1.5 8`,key:`cim3qy`}],[`path`,{d:`M7 10h10`,key:`1101jm`}],[`path`,{d:`m8 18 1.5-8`,key:`ja3yjd`}],[`circle`,{cx:`12`,cy:`6`,r:`4`,key:`1frrej`}]]),Cd=l(`chess-queen`,[[`path`,{d:`M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z`,key:`mqzwx6`}],[`path`,{d:`m12.474 5.943 1.567 5.34a1 1 0 0 0 1.75.328l2.616-3.402`,key:`1js4gl`}],[`path`,{d:`m20 9-3 9`,key:`r75r3f`}],[`path`,{d:`m5.594 8.209 2.615 3.403a1 1 0 0 0 1.75-.329l1.567-5.34`,key:`1joj19`}],[`path`,{d:`M7 18 4 9`,key:`1mfzj8`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}],[`circle`,{cx:`20`,cy:`7`,r:`2`,key:`9w7p1x`}],[`circle`,{cx:`4`,cy:`7`,r:`2`,key:`1d9wy8`}]]),wd=l(`chess-rook`,[[`path`,{d:`M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z`,key:`b89hwq`}],[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M14 2v2`,key:`6buw04`}],[`path`,{d:`m17 18-1-9`,key:`10nd7q`}],[`path`,{d:`M6 2v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2`,key:`uxf4yx`}],[`path`,{d:`M6 4h12`,key:`1x2ag7`}],[`path`,{d:`m7 18 1-9`,key:`1si9vq`}]]),Td=l(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Ed=l(`chevron-first`,[[`path`,{d:`m17 18-6-6 6-6`,key:`1yerx2`}],[`path`,{d:`M7 6v12`,key:`1p53r6`}]]),Dd=l(`chevron-last`,[[`path`,{d:`m7 18 6-6-6-6`,key:`lwmzdw`}],[`path`,{d:`M17 6v12`,key:`1o0aio`}]]),Od=l(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),kd=l(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Ad=l(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),jd=l(`chevrons-down-up`,[[`path`,{d:`m7 20 5-5 5 5`,key:`13a0gw`}],[`path`,{d:`m7 4 5 5 5-5`,key:`1kwcof`}]]),Md=l(`chevrons-down`,[[`path`,{d:`m7 6 5 5 5-5`,key:`1lc07p`}],[`path`,{d:`m7 13 5 5 5-5`,key:`1d48rs`}]]),Nd=l(`chevrons-left-right`,[[`path`,{d:`m9 7-5 5 5 5`,key:`j5w590`}],[`path`,{d:`m15 7 5 5-5 5`,key:`1bl6da`}]]),Pd=l(`chevrons-left-right-ellipsis`,[[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`m17 7 5 5-5 5`,key:`1xlxn0`}],[`path`,{d:`m7 7-5 5 5 5`,key:`19njba`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}]]),Fd=l(`chevrons-left`,[[`path`,{d:`m11 17-5-5 5-5`,key:`13zhaf`}],[`path`,{d:`m18 17-5-5 5-5`,key:`h8a8et`}]]),Id=l(`chevrons-right-left`,[[`path`,{d:`m20 17-5-5 5-5`,key:`30x0n2`}],[`path`,{d:`m4 17 5-5-5-5`,key:`16spf4`}]]),Ld=l(`chevrons-right`,[[`path`,{d:`m6 17 5-5-5-5`,key:`xnjwq`}],[`path`,{d:`m13 17 5-5-5-5`,key:`17xmmf`}]]),Rd=l(`chevrons-up-down`,[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]),zd=l(`chevrons-up`,[[`path`,{d:`m17 11-5-5-5 5`,key:`e8nh98`}],[`path`,{d:`m17 18-5-5-5 5`,key:`2avn1x`}]]),Bd=l(`church`,[[`path`,{d:`M10 9h4`,key:`u4k05v`}],[`path`,{d:`M12 7v5`,key:`ma6bk`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9`,key:`flvdwo`}],[`path`,{d:`M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14`,key:`a5i0n2`}]]),Vd=l(`cigarette-off`,[[`path`,{d:`M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13`,key:`1gdiyg`}],[`path`,{d:`M18 8c0-2.5-2-2.5-2-5`,key:`1il607`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866`,key:`166zjj`}],[`path`,{d:`M22 8c0-2.5-2-2.5-2-5`,key:`1gah44`}],[`path`,{d:`M7 12v4`,key:`jqww69`}]]),Hd=l(`cigarette`,[[`path`,{d:`M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14`,key:`1mb5g1`}],[`path`,{d:`M18 8c0-2.5-2-2.5-2-5`,key:`1il607`}],[`path`,{d:`M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`,key:`1yl5r7`}],[`path`,{d:`M22 8c0-2.5-2-2.5-2-5`,key:`1gah44`}],[`path`,{d:`M7 12v4`,key:`jqww69`}]]),Ud=l(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Wd=l(`circle-arrow-down`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 8v8`,key:`napkw2`}],[`path`,{d:`m8 12 4 4 4-4`,key:`k98ssh`}]]),Gd=l(`circle-arrow-left`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m12 8-4 4 4 4`,key:`15vm53`}],[`path`,{d:`M16 12H8`,key:`1fr5h0`}]]),Kd=l(`circle-arrow-out-down-left`,[[`path`,{d:`M2 12a10 10 0 1 1 10 10`,key:`1yn6ov`}],[`path`,{d:`m2 22 10-10`,key:`28ilpk`}],[`path`,{d:`M8 22H2v-6`,key:`sulq54`}]]),qd=l(`circle-arrow-out-down-right`,[[`path`,{d:`M12 22a10 10 0 1 1 10-10`,key:`130bv5`}],[`path`,{d:`M22 22 12 12`,key:`131aw7`}],[`path`,{d:`M22 16v6h-6`,key:`1gvm70`}]]),Jd=l(`circle-arrow-out-up-left`,[[`path`,{d:`M2 8V2h6`,key:`hiwtdz`}],[`path`,{d:`m2 2 10 10`,key:`1oh8rs`}],[`path`,{d:`M12 2A10 10 0 1 1 2 12`,key:`rrk4fa`}]]),Yd=l(`circle-arrow-out-up-right`,[[`path`,{d:`M22 12A10 10 0 1 1 12 2`,key:`1fm58d`}],[`path`,{d:`M22 2 12 12`,key:`yg2myt`}],[`path`,{d:`M16 2h6v6`,key:`zan5cs`}]]),Xd=l(`circle-arrow-right`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m12 16 4-4-4-4`,key:`1i9zcv`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),Zd=l(`circle-arrow-up`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 12-4-4-4 4`,key:`177agl`}],[`path`,{d:`M12 16V8`,key:`1sbj14`}]]),Qd=l(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),$d=l(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),ef=l(`circle-chevron-left`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m14 16-4-4 4-4`,key:`ojs7w8`}]]),tf=l(`circle-chevron-down`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 10-4 4-4-4`,key:`894hmk`}]]),nf=l(`circle-chevron-right`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m10 8 4 4-4 4`,key:`1wy4r4`}]]),rf=l(`circle-chevron-up`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m8 14 4-4 4 4`,key:`fy2ptz`}]]),af=l(`circle-dashed`,[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`,key:`5ilxe3`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`,key:`11zvb9`}],[`path`,{d:`M17.609 3.721a10 10 0 0 1 2.69 2.7`,key:`1iw5b2`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`,key:`c0bmvh`}],[`path`,{d:`M20.279 17.609a10 10 0 0 1-2.7 2.69`,key:`1ruxm7`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`,key:`qkgqxc`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`,key:`1mcia2`}],[`path`,{d:`M6.391 20.279a10 10 0 0 1-2.69-2.7`,key:`1fvljs`}]]),of=l(`circle-divide`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`16`,key:`aqc6ln`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`8`,key:`1mkcni`}]]),sf=l(`circle-dollar-sign`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]),cf=l(`circle-dot-dashed`,[[`path`,{d:`M10.1 2.18a9.93 9.93 0 0 1 3.8 0`,key:`1qdqn0`}],[`path`,{d:`M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7`,key:`1bq7p6`}],[`path`,{d:`M21.82 10.1a9.93 9.93 0 0 1 0 3.8`,key:`1rlaqf`}],[`path`,{d:`M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69`,key:`1xk03u`}],[`path`,{d:`M13.9 21.82a9.94 9.94 0 0 1-3.8 0`,key:`l7re25`}],[`path`,{d:`M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7`,key:`1v18p6`}],[`path`,{d:`M2.18 13.9a9.93 9.93 0 0 1 0-3.8`,key:`xdo6bj`}],[`path`,{d:`M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69`,key:`1jjmaz`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]),lf=l(`circle-dot`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]),uf=l(`circle-ellipsis`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M17 12h.01`,key:`1m0b6t`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M7 12h.01`,key:`eqddd0`}]]),df=l(`circle-equal`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M7 10h10`,key:`1101jm`}],[`path`,{d:`M7 14h10`,key:`1mhdw3`}]]),ff=l(`circle-fading-arrow-up`,[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`,key:`175t95`}],[`path`,{d:`m16 12-4-4-4 4`,key:`177agl`}],[`path`,{d:`M12 16V8`,key:`1sbj14`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`,key:`1vce0s`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`,key:`o3fkw4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`,key:`1szpfk`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`,key:`9yhvd4`}]]),pf=l(`circle-fading-plus`,[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`,key:`175t95`}],[`path`,{d:`M12 8v8`,key:`napkw2`}],[`path`,{d:`M16 12H8`,key:`1fr5h0`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`,key:`1vce0s`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`,key:`o3fkw4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`,key:`1szpfk`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`,key:`9yhvd4`}]]),mf=l(`circle-gauge`,[[`path`,{d:`M15.6 2.7a10 10 0 1 0 5.7 5.7`,key:`1e0p6d`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M13.4 10.6 19 5`,key:`1kr7tw`}]]),hf=l(`circle-minus`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),gf=l(`circle-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`,key:`1pfsoa`}],[`path`,{d:`M19.08 19.08A10 10 0 1 1 4.92 4.92`,key:`1ablyi`}]]),_f=l(`circle-parking-off`,[[`path`,{d:`M12.656 7H13a3 3 0 0 1 2.984 3.307`,key:`1sjx87`}],[`path`,{d:`M13 13H9`,key:`e2beee`}],[`path`,{d:`M19.071 19.071A1 1 0 0 1 4.93 4.93`,key:`1kb595`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.357 2.687a10 10 0 0 1 12.956 12.956`,key:`5bsfdx`}],[`path`,{d:`M9 17V9`,key:`ojradj`}]]),vf=l(`circle-parking`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9 17V7h4a3 3 0 0 1 0 6H9`,key:`1dfk2c`}]]),yf=l(`circle-pause`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]]),bf=l(`circle-pile`,[[`circle`,{cx:`12`,cy:`19`,r:`2`,key:`13j0tp`}],[`circle`,{cx:`12`,cy:`5`,r:`2`,key:`f1ur92`}],[`circle`,{cx:`16`,cy:`12`,r:`2`,key:`4ma0v8`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}],[`circle`,{cx:`4`,cy:`19`,r:`2`,key:`p3m9r0`}],[`circle`,{cx:`8`,cy:`12`,r:`2`,key:`1nvbw3`}]]),xf=l(`circle-percent`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`path`,{d:`M15 15h.01`,key:`lqbp3k`}]]),Sf=l(`circle-play`,[[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`,key:`kmsa83`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Cf=l(`circle-plus`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M12 8v8`,key:`napkw2`}]]),wf=l(`circle-pound-sterling`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M10 16V9.5a1 1 0 0 1 5 0`,key:`1i1are`}],[`path`,{d:`M8 12h4`,key:`qz6y1c`}],[`path`,{d:`M8 16h7`,key:`sbedsn`}]]),Tf=l(`circle-power`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`,key:`1pek45`}]]),Ef=l(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Df=l(`circle-slash-2`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M22 2 2 22`,key:`y4kqgn`}]]),Of=l(`circle-slash`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]),kf=l(`circle-small`,[[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}]]),Af=l(`circle-star`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M11.051 7.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.867l-1.156-1.152a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`,key:`285bvi`}]]),jf=l(`circle-stop`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`,key:`1ssd4o`}]]),Mf=l(`circle-user-round`,[[`path`,{d:`M17.925 20.056a6 6 0 0 0-11.851.001`,key:`z69sun`}],[`circle`,{cx:`12`,cy:`11`,r:`4`,key:`1gt34v`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Nf=l(`circle-user`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662`,key:`154egf`}]]),Pf=l(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Ff=l(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),If=l(`circuit-board`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M11 9h4a2 2 0 0 0 2-2V3`,key:`1ve2rv`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`M7 21v-4a2 2 0 0 1 2-2h4`,key:`1fwkro`}],[`circle`,{cx:`15`,cy:`15`,r:`2`,key:`3i40o0`}]]),Lf=l(`citrus`,[[`path`,{d:`M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z`,key:`4ite01`}],[`path`,{d:`M19.65 15.66A8 8 0 0 1 8.35 4.34`,key:`1gxipu`}],[`path`,{d:`m14 10-5.5 5.5`,key:`92pfem`}],[`path`,{d:`M14 17.85V10H6.15`,key:`xqmtsk`}]]),Rf=l(`clapperboard`,[[`path`,{d:`m12.296 3.464 3.02 3.956`,key:`qash78`}],[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z`,key:`1h7j8b`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`4lm6w1`}],[`path`,{d:`m6.18 5.276 3.1 3.899`,key:`zjj9t3`}]]),zf=l(`clipboard-check`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`m9 14 2 2 4-4`,key:`df797q`}]]),Bf=l(`clipboard-clock`,[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v.832`,key:`1ujtp2`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2`,key:`qvpao1`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,key:`ublpy`}]]),Vf=l(`clipboard-copy`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2`,key:`4jdomd`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v4`,key:`3hqy98`}],[`path`,{d:`M21 14H11`,key:`1bme5i`}],[`path`,{d:`m15 10-4 4 4 4`,key:`5dvupr`}]]),Hf=l(`clipboard-list`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),Uf=l(`clipboard-minus`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M9 14h6`,key:`159ibu`}]]),Wf=l(`clipboard-paste`,[[`path`,{d:`M11 14h10`,key:`1w8e9d`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v1.344`,key:`1e62lh`}],[`path`,{d:`m17 18 4-4-4-4`,key:`z2g111`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113`,key:`bjbb7m`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,key:`ublpy`}]]),Gf=l(`clipboard-pen-line`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,key:`1oijnt`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5`,key:`1but9f`}],[`path`,{d:`M16 4h2a2 2 0 0 1 1.73 1`,key:`1p8n7l`}],[`path`,{d:`M8 18h1`,key:`13wk12`}],[`path`,{d:`M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`2t3380`}]]),Kf=l(`clipboard-pen`,[[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v2`,key:`j91f56`}],[`path`,{d:`M21.34 15.664a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`16fuwn`}],[`path`,{d:`M8 22H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`120tdm`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,key:`ublpy`}]]),qf=l(`clipboard-plus`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M9 14h6`,key:`159ibu`}],[`path`,{d:`M12 17v-6`,key:`1y8rbf`}]]),Jf=l(`clipboard-type`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M9 12v-1h6v1`,key:`iehl6m`}],[`path`,{d:`M11 17h2`,key:`12w5me`}],[`path`,{d:`M12 11v6`,key:`1bwqyc`}]]),Yf=l(`clipboard-x`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`m15 11-6 6`,key:`1toa9n`}],[`path`,{d:`m9 11 6 6`,key:`wlibny`}]]),Xf=l(`clipboard`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}]]),Zf=l(`clock-1`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l2-4`,key:`miptyd`}]]),Qf=l(`clock-10`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l-4-2`,key:`cedpoo`}]]),$f=l(`clock-11`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l-2-4`,key:`ns39ag`}]]),ep=l(`clock-12`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6`,key:`1ipuwl`}]]),tp=l(`clock-2`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4-2`,key:`1r2kuh`}]]),np=l(`clock-3`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6h4`,key:`135r8i`}]]),rp=l(`clock-4`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),ip=l(`clock-5`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l2 4`,key:`1287s9`}]]),ap=l(`clock-6`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v10`,key:`wf7rdh`}]]),op=l(`clock-7`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l-2 4`,key:`1095bu`}]]),sp=l(`clock-8`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l-4 2`,key:`imc3wl`}]]),cp=l(`clock-9`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6H8`,key:`u39vzm`}]]),lp=l(`clock-alert`,[[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}],[`path`,{d:`M20 12v5`,key:`12wsvk`}],[`path`,{d:`M20 21h.01`,key:`1p6o6n`}],[`path`,{d:`M21.25 8.2A10 10 0 1 0 16 21.16`,key:`17fp9f`}]]),up=l(`clock-arrow-down`,[[`path`,{d:`M12 6v6l2 1`,key:`19cm8n`}],[`path`,{d:`M12.337 21.994a10 10 0 1 1 9.588-8.767`,key:`28moa`}],[`path`,{d:`m14 18 4 4 4-4`,key:`1waygx`}],[`path`,{d:`M18 14v8`,key:`irew45`}]]),dp=l(`clock-arrow-up`,[[`path`,{d:`M12 6v6l1.56.78`,key:`14ed3g`}],[`path`,{d:`M13.227 21.925a10 10 0 1 1 8.767-9.588`,key:`jwkls1`}],[`path`,{d:`m14 18 4-4 4 4`,key:`ftkppy`}],[`path`,{d:`M18 22v-8`,key:`su0gjh`}]]),fp=l(`clock-check`,[[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}],[`path`,{d:`M22 12a10 10 0 1 0-11 9.95`,key:`17dhok`}],[`path`,{d:`m22 16-5.5 5.5L14 19`,key:`1eibut`}]]),pp=l(`clock-fading`,[[`path`,{d:`M12 2a10 10 0 0 1 7.38 16.75`,key:`175t95`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}],[`path`,{d:`M2.5 8.875a10 10 0 0 0-.5 3`,key:`1vce0s`}],[`path`,{d:`M2.83 16a10 10 0 0 0 2.43 3.4`,key:`o3fkw4`}],[`path`,{d:`M4.636 5.235a10 10 0 0 1 .891-.857`,key:`1szpfk`}],[`path`,{d:`M8.644 21.42a10 10 0 0 0 7.631-.38`,key:`9yhvd4`}]]),mp=l(`clock-plus`,[[`path`,{d:`M12 6v6l3.644 1.822`,key:`1jmett`}],[`path`,{d:`M16 19h6`,key:`xwg31i`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M21.92 13.267a10 10 0 1 0-8.653 8.653`,key:`1u0osk`}]]),hp=l(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),gp=l(`closed-caption`,[[`path`,{d:`M10 9.17a3 3 0 1 0 0 5.66`,key:`h9wayk`}],[`path`,{d:`M17 9.17a3 3 0 1 0 0 5.66`,key:`1v6zke`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`,key:`qneu4z`}]]),_p=l(`cloud-alert`,[[`path`,{d:`M12 12v4`,key:`tww15h`}],[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.128 16.949A7 7 0 1 1 15.71 8h1.79a1 1 0 0 1 0 9h-1.642`,key:`1namsd`}]]),vp=l(`cloud-backup`,[[`path`,{d:`M21 15.251A4.5 4.5 0 0 0 17.5 8h-1.79A7 7 0 1 0 3 13.607`,key:`xpoh9y`}],[`path`,{d:`M7 11v4h4`,key:`q9yh32`}],[`path`,{d:`M8 19a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5 4.82 4.82 0 0 0-3.41 1.41L7 15`,key:`1xm8iu`}]]),yp=l(`cloud-check`,[[`path`,{d:`m17 15-5.5 5.5L9 18`,key:`15q87x`}],[`path`,{d:`M5.516 16.07A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 3.501 7.327`,key:`1xtj56`}]]),bp=l(`cloud-cog`,[[`path`,{d:`m10.852 19.772-.383.924`,key:`r7sl7d`}],[`path`,{d:`m13.148 14.228.383-.923`,key:`1d5zpm`}],[`path`,{d:`M13.148 19.772a3 3 0 1 0-2.296-5.544l-.383-.923`,key:`1ydik7`}],[`path`,{d:`m13.53 20.696-.382-.924a3 3 0 1 1-2.296-5.544`,key:`1m1vsf`}],[`path`,{d:`m14.772 15.852.923-.383`,key:`660p6e`}],[`path`,{d:`m14.772 18.148.923.383`,key:`hrcpis`}],[`path`,{d:`M4.2 15.1a7 7 0 1 1 9.93-9.858A7 7 0 0 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.2`,key:`j2q98n`}],[`path`,{d:`m9.228 15.852-.923-.383`,key:`1p9ong`}],[`path`,{d:`m9.228 18.148-.923.383`,key:`6558rz`}]]),xp=l(`cloud-download`,[[`path`,{d:`M12 13v8l-4-4`,key:`1f5nwf`}],[`path`,{d:`m12 21 4-4`,key:`1lfcce`}],[`path`,{d:`M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284`,key:`ui1hmy`}]]),Sp=l(`cloud-drizzle`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M8 19v1`,key:`1dk2by`}],[`path`,{d:`M8 14v1`,key:`84yxot`}],[`path`,{d:`M16 19v1`,key:`v220m7`}],[`path`,{d:`M16 14v1`,key:`g12gj6`}],[`path`,{d:`M12 21v1`,key:`q8vafk`}],[`path`,{d:`M12 16v1`,key:`1mx6rx`}]]),Cp=l(`cloud-fog`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M16 17H7`,key:`pygtm1`}],[`path`,{d:`M17 21H9`,key:`1u2q02`}]]),wp=l(`cloud-hail`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M16 14v2`,key:`a1is7l`}],[`path`,{d:`M8 14v2`,key:`1e9m6t`}],[`path`,{d:`M16 20h.01`,key:`xwek51`}],[`path`,{d:`M8 20h.01`,key:`1vjney`}],[`path`,{d:`M12 16v2`,key:`z66u1j`}],[`path`,{d:`M12 22h.01`,key:`1urd7a`}]]),Tp=l(`cloud-lightning`,[[`path`,{d:`M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973`,key:`1cez44`}],[`path`,{d:`m13 12-3 5h4l-3 5`,key:`1t22er`}]]),Ep=l(`cloud-moon-rain`,[[`path`,{d:`M11 20v2`,key:`174qtz`}],[`path`,{d:`M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36`,key:`zwnc1e`}],[`path`,{d:`M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24`,key:`1qmrp3`}],[`path`,{d:`M7 19v2`,key:`12npes`}]]),Dp=l(`cloud-moon`,[[`path`,{d:`M13 16a3 3 0 0 1 0 6H7a5 5 0 1 1 4.9-6z`,key:`ie2ih4`}],[`path`,{d:`M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36`,key:`zwnc1e`}]]),Op=l(`cloud-off`,[[`path`,{d:`M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057`,key:`1uxyv8`}],[`path`,{d:`M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78`,key:`99tcn7`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),kp=l(`cloud-rain-wind`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`m9.2 22 3-7`,key:`sb5f6j`}],[`path`,{d:`m9 13-3 7`,key:`500co5`}],[`path`,{d:`m17 13-3 7`,key:`8t2fiy`}]]),Ap=l(`cloud-rain`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M16 14v6`,key:`1j4efv`}],[`path`,{d:`M8 14v6`,key:`17c4r9`}],[`path`,{d:`M12 16v6`,key:`c8a4gj`}]]),jp=l(`cloud-snow`,[[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`M8 15h.01`,key:`a7atzg`}],[`path`,{d:`M8 19h.01`,key:`puxtts`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M12 21h.01`,key:`h35vbk`}],[`path`,{d:`M16 15h.01`,key:`rnfrdf`}],[`path`,{d:`M16 19h.01`,key:`1vcnzz`}]]),Mp=l(`cloud-sun-rain`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`,key:`dpwdj0`}],[`path`,{d:`M3 20a5 5 0 1 1 8.9-4H13a3 3 0 0 1 2 5.24`,key:`1qmrp3`}],[`path`,{d:`M11 20v2`,key:`174qtz`}],[`path`,{d:`M7 19v2`,key:`12npes`}]]),Np=l(`cloud-sync`,[[`path`,{d:`m17 18-1.535 1.605a5 5 0 0 1-8-1.5`,key:`adpv5j`}],[`path`,{d:`M17 22v-4h-4`,key:`ex1ofj`}],[`path`,{d:`M20.996 15.251A4.5 4.5 0 0 0 17.495 8h-1.79a7 7 0 1 0-12.709 5.607`,key:`ziqt14`}],[`path`,{d:`M7 10v4h4`,key:`1j6gx1`}],[`path`,{d:`m7 14 1.535-1.605a5 5 0 0 1 8 1.5`,key:`19q5h7`}]]),Pp=l(`cloud-sun`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`,key:`dpwdj0`}],[`path`,{d:`M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z`,key:`s09mg5`}]]),Fp=l(`cloud-upload`,[[`path`,{d:`M12 13v8`,key:`1l5pq0`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`m8 17 4-4 4 4`,key:`1quai1`}]]),Ip=l(`cloud`,[[`path`,{d:`M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z`,key:`p7xjir`}]]),Lp=l(`cloudy`,[[`path`,{d:`M17.5 12a1 1 0 1 1 0 9H9.006a7 7 0 1 1 6.702-9z`,key:`44yre2`}],[`path`,{d:`M21.832 9A3 3 0 0 0 19 7h-2.207a5.5 5.5 0 0 0-10.72.61`,key:`leugyv`}]]),Rp=l(`clover`,[[`path`,{d:`M16.17 7.83 2 22`,key:`t58vo8`}],[`path`,{d:`M4.02 12a2.827 2.827 0 1 1 3.81-4.17A2.827 2.827 0 1 1 12 4.02a2.827 2.827 0 1 1 4.17 3.81A2.827 2.827 0 1 1 19.98 12a2.827 2.827 0 1 1-3.81 4.17A2.827 2.827 0 1 1 12 19.98a2.827 2.827 0 1 1-4.17-3.81A1 1 0 1 1 4 12`,key:`17k36q`}],[`path`,{d:`m7.83 7.83 8.34 8.34`,key:`1d7sxk`}]]),zp=l(`club`,[[`path`,{d:`M17.28 9.05a5.5 5.5 0 1 0-10.56 0A5.5 5.5 0 1 0 12 17.66a5.5 5.5 0 1 0 5.28-8.6Z`,key:`27yuqz`}],[`path`,{d:`M12 17.66L12 22`,key:`ogfahf`}]]),Bp=l(`code-xml`,[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]]),Vp=l(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Hp=l(`coffee`,[[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M14 2v2`,key:`6buw04`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`,key:`pwadti`}],[`path`,{d:`M6 2v2`,key:`colzsn`}]]),Up=l(`cog`,[[`path`,{d:`M11 10.27 7 3.34`,key:`16pf9h`}],[`path`,{d:`m11 13.73-4 6.93`,key:`794ttg`}],[`path`,{d:`M12 22v-2`,key:`1osdcq`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M14 12h8`,key:`4f43i9`}],[`path`,{d:`m17 20.66-1-1.73`,key:`eq3orb`}],[`path`,{d:`m17 3.34-1 1.73`,key:`2wel8s`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`m20.66 17-1.73-1`,key:`sg0v6f`}],[`path`,{d:`m20.66 7-1.73 1`,key:`1ow05n`}],[`path`,{d:`m3.34 17 1.73-1`,key:`nuk764`}],[`path`,{d:`m3.34 7 1.73 1`,key:`1ulond`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`circle`,{cx:`12`,cy:`12`,r:`8`,key:`46899m`}]]),bee=l(`coins`,[[`path`,{d:`M13.744 17.736a6 6 0 1 1-7.48-7.48`,key:`bq4yh3`}],[`path`,{d:`M15 6h1v4`,key:`11y1tn`}],[`path`,{d:`m6.134 14.768.866-.5 2 3.464`,key:`17snzx`}],[`circle`,{cx:`16`,cy:`8`,r:`6`,key:`14bfc9`}]]),Wp=l(`columns-2`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]]),Gp=l(`columns-3-cog`,[[`path`,{d:`M10.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.5`,key:`1g2yzs`}],[`path`,{d:`m14.3 19.6 1-.4`,key:`11sv9r`}],[`path`,{d:`M15 3v7.5`,key:`7lm50a`}],[`path`,{d:`m15.2 16.9-.9-.3`,key:`1t7mvx`}],[`path`,{d:`m16.6 21.7.3-.9`,key:`1j67ps`}],[`path`,{d:`m16.8 15.3-.4-1`,key:`1ei7r6`}],[`path`,{d:`m19.1 15.2.3-.9`,key:`18r7jp`}],[`path`,{d:`m19.6 21.7-.4-1`,key:`z2vh2`}],[`path`,{d:`m20.7 16.8 1-.4`,key:`19m87a`}],[`path`,{d:`m21.7 19.4-.9-.3`,key:`1qgwi9`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),Kp=l(`columns-3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]),qp=l(`columns-4`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7.5 3v18`,key:`w0wo6v`}],[`path`,{d:`M12 3v18`,key:`108xh3`}],[`path`,{d:`M16.5 3v18`,key:`10tjh1`}]]),Jp=l(`combine`,[[`path`,{d:`M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`,key:`1l7d7l`}],[`path`,{d:`M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`,key:`9955pe`}],[`path`,{d:`m7 15 3 3`,key:`4hkfgk`}],[`path`,{d:`m7 21 3-3H5a2 2 0 0 1-2-2v-2`,key:`1xljwe`}],[`rect`,{x:`14`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1cdgtw`}],[`rect`,{x:`3`,y:`3`,width:`7`,height:`7`,rx:`1`,key:`zi3rio`}]]),Yp=l(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),Xp=l(`compass`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z`,key:`9ktpf1`}]]),Zp=l(`component`,[[`path`,{d:`M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z`,key:`1uwlt4`}],[`path`,{d:`M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z`,key:`10291m`}],[`path`,{d:`M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z`,key:`1tqoq1`}],[`path`,{d:`M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z`,key:`1x6lto`}]]),Qp=l(`computer`,[[`rect`,{width:`14`,height:`8`,x:`5`,y:`2`,rx:`2`,key:`wc9tft`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6 18h2`,key:`rwmk9e`}],[`path`,{d:`M12 18h6`,key:`aqd8w3`}]]),$p=l(`concierge-bell`,[[`path`,{d:`M3 20a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1Z`,key:`1pvr1r`}],[`path`,{d:`M20 16a8 8 0 1 0-16 0`,key:`1pa543`}],[`path`,{d:`M12 4v4`,key:`1bq03y`}],[`path`,{d:`M10 4h4`,key:`1xpv9s`}]]),em=l(`cone`,[[`path`,{d:`m20.9 18.55-8-15.98a1 1 0 0 0-1.8 0l-8 15.98`,key:`53pte7`}],[`ellipse`,{cx:`12`,cy:`19`,rx:`9`,ry:`3`,key:`1ji25f`}]]),tm=l(`construction`,[[`rect`,{x:`2`,y:`6`,width:`20`,height:`8`,rx:`1`,key:`1estib`}],[`path`,{d:`M17 14v7`,key:`7m2elx`}],[`path`,{d:`M7 14v7`,key:`1cm7wv`}],[`path`,{d:`M17 3v3`,key:`1v4jwn`}],[`path`,{d:`M7 3v3`,key:`7o6guu`}],[`path`,{d:`M10 14 2.3 6.3`,key:`1023jk`}],[`path`,{d:`m14 6 7.7 7.7`,key:`1s8pl2`}],[`path`,{d:`m8 6 8 8`,key:`hl96qh`}]]),nm=l(`contact-round`,[[`path`,{d:`M16 2v2`,key:`scm5qe`}],[`path`,{d:`M17.915 22a6 6 0 0 0-12 0`,key:`suqz9p`}],[`path`,{d:`M8 2v2`,key:`pbkmx`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`,key:`12vinp`}]]),rm=l(`contact`,[[`path`,{d:`M16 2v2`,key:`scm5qe`}],[`path`,{d:`M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2`,key:`1waht3`}],[`path`,{d:`M8 2v2`,key:`pbkmx`}],[`circle`,{cx:`12`,cy:`11`,r:`3`,key:`itu57m`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`,key:`12vinp`}]]),im=l(`container`,[[`path`,{d:`M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z`,key:`1t2lqe`}],[`path`,{d:`M10 21.9V14L2.1 9.1`,key:`o7czzq`}],[`path`,{d:`m10 14 11.9-6.9`,key:`zm5e20`}],[`path`,{d:`M14 19.8v-8.1`,key:`159ecu`}],[`path`,{d:`M18 17.5V9.4`,key:`11uown`}]]),am=l(`contrast`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 18a6 6 0 0 0 0-12v12z`,key:`j4l70d`}]]),om=l(`cookie`,[[`path`,{d:`M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5`,key:`laymnq`}],[`path`,{d:`M8.5 8.5v.01`,key:`ue8clq`}],[`path`,{d:`M16 15.5v.01`,key:`14dtrp`}],[`path`,{d:`M12 12v.01`,key:`u5ubse`}],[`path`,{d:`M11 17v.01`,key:`1hyl5a`}],[`path`,{d:`M7 14v.01`,key:`uct60s`}]]),sm=l(`cooking-pot`,[[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`M20 12v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`,key:`u0tga0`}],[`path`,{d:`m4 8 16-4`,key:`16g0ng`}],[`path`,{d:`m8.86 6.78-.45-1.81a2 2 0 0 1 1.45-2.43l1.94-.48a2 2 0 0 1 2.43 1.46l.45 1.8`,key:`12cejc`}]]),cm=l(`copy-check`,[[`path`,{d:`m12 15 2 2 4-4`,key:`2c609p`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),lm=l(`copy-minus`,[[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`,key:`1nscbv`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),um=l(`copy-plus`,[[`line`,{x1:`15`,x2:`15`,y1:`12`,y2:`18`,key:`1p7wdc`}],[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`,key:`1nscbv`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),dm=l(`copy-x`,[[`line`,{x1:`12`,x2:`18`,y1:`12`,y2:`18`,key:`1rg63v`}],[`line`,{x1:`12`,x2:`18`,y1:`18`,y2:`12`,key:`ebkxgr`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),fm=l(`copy-slash`,[[`line`,{x1:`12`,x2:`18`,y1:`18`,y2:`12`,key:`ebkxgr`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),pm=l(`copyleft`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.17 14.83a4 4 0 1 0 0-5.66`,key:`1sveal`}]]),mm=l(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),hm=l(`copyright`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M14.83 14.83a4 4 0 1 1 0-5.66`,key:`1i56pz`}]]),gm=l(`corner-down-left`,[[`path`,{d:`M20 4v7a4 4 0 0 1-4 4H4`,key:`6o5b7l`}],[`path`,{d:`m9 10-5 5 5 5`,key:`1kshq7`}]]),_m=l(`corner-down-right`,[[`path`,{d:`m15 10 5 5-5 5`,key:`qqa56n`}],[`path`,{d:`M4 4v7a4 4 0 0 0 4 4h12`,key:`z08zvw`}]]),vm=l(`corner-left-down`,[[`path`,{d:`m14 15-5 5-5-5`,key:`1eia93`}],[`path`,{d:`M20 4h-7a4 4 0 0 0-4 4v12`,key:`nbpdq2`}]]),ym=l(`corner-left-up`,[[`path`,{d:`M14 9 9 4 4 9`,key:`1af5af`}],[`path`,{d:`M20 20h-7a4 4 0 0 1-4-4V4`,key:`1blwi3`}]]),bm=l(`corner-right-down`,[[`path`,{d:`m10 15 5 5 5-5`,key:`1hpjnr`}],[`path`,{d:`M4 4h7a4 4 0 0 1 4 4v12`,key:`wcbgct`}]]),xm=l(`corner-right-up`,[[`path`,{d:`m10 9 5-5 5 5`,key:`9ctzwi`}],[`path`,{d:`M4 20h7a4 4 0 0 0 4-4V4`,key:`1plgdj`}]]),Sm=l(`corner-up-left`,[[`path`,{d:`M20 20v-7a4 4 0 0 0-4-4H4`,key:`1nkjon`}],[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}]]),Cm=l(`corner-up-right`,[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M4 20v-7a4 4 0 0 1 4-4h12`,key:`1lu4f8`}]]),wm=l(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),Tm=l(`creative-commons`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1`,key:`1ss3eq`}],[`path`,{d:`M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1`,key:`1od56t`}]]),Em=l(`credit-card`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`ynyp8z`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`,key:`1b3vmo`}]]),Dm=l(`croissant`,[[`path`,{d:`M10.2 18H4.774a1.5 1.5 0 0 1-1.352-.97 11 11 0 0 1 .132-6.487`,key:`14kkz9`}],[`path`,{d:`M18 10.2V4.774a1.5 1.5 0 0 0-.97-1.352 11 11 0 0 0-6.486.132`,key:`1g7v07`}],[`path`,{d:`M18 5a4 3 0 0 1 4 3 2 2 0 0 1-2 2 10 10 0 0 0-5.139 1.42`,key:`ratg6b`}],[`path`,{d:`M5 18a3 4 0 0 0 3 4 2 2 0 0 0 2-2 10 10 0 0 1 1.42-5.14`,key:`4454f0`}],[`path`,{d:`M8.709 2.554a10 10 0 0 0-6.155 6.155 1.5 1.5 0 0 0 .676 1.626l9.807 5.42a2 2 0 0 0 2.718-2.718l-5.42-9.807a1.5 1.5 0 0 0-1.626-.676`,key:`qmemie`}]]),Om=l(`crop`,[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`,key:`ron5a4`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`,key:`7s9ehn`}]]),km=l(`cross`,[[`path`,{d:`M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z`,key:`1xbrqy`}]]),Am=l(`crosshair`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]),jm=l(`crown`,[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`,key:`1vdc57`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),Mm=l(`cuboid`,[[`path`,{d:`M10 22v-8`,key:`1f8443`}],[`path`,{d:`M2.336 8.89 10 14l11.715-7.029`,key:`1qnufy`}],[`path`,{d:`M22 14a2 2 0 0 1-.971 1.715l-10 6a2 2 0 0 1-2.138-.05l-6-4A2 2 0 0 1 2 16v-6a2 2 0 0 1 .971-1.715l10-6a2 2 0 0 1 2.138.05l6 4A2 2 0 0 1 22 8z`,key:`670npk`}]]),Nm=l(`cup-soda`,[[`path`,{d:`m6 8 1.75 12.28a2 2 0 0 0 2 1.72h4.54a2 2 0 0 0 2-1.72L18 8`,key:`8166m8`}],[`path`,{d:`M5 8h14`,key:`pcz4l3`}],[`path`,{d:`M7 15a6.47 6.47 0 0 1 5 0 6.47 6.47 0 0 0 5 0`,key:`yjz344`}],[`path`,{d:`m12 8 1-6h2`,key:`3ybfa4`}]]),Pm=l(`currency`,[[`circle`,{cx:`12`,cy:`12`,r:`8`,key:`46899m`}],[`line`,{x1:`3`,x2:`6`,y1:`3`,y2:`6`,key:`1jkytn`}],[`line`,{x1:`21`,x2:`18`,y1:`3`,y2:`6`,key:`14zfjt`}],[`line`,{x1:`3`,x2:`6`,y1:`21`,y2:`18`,key:`iusuec`}],[`line`,{x1:`21`,x2:`18`,y1:`21`,y2:`18`,key:`yj2dd7`}]]),Fm=l(`cylinder`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5v14a9 3 0 0 0 18 0V5`,key:`aqi0yr`}]]),Im=l(`dam`,[[`path`,{d:`M11 11.31c1.17.56 1.54 1.69 3.5 1.69 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`157kva`}],[`path`,{d:`M11.75 18c.35.5 1.45 1 2.75 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`d7q6m6`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1L10 4a1 1 0 0 0-1-1z`,key:`pr6s65`}]]),Lm=l(`database-backup`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 12a9 3 0 0 0 5 2.69`,key:`1ui2ym`}],[`path`,{d:`M21 9.3V5`,key:`6k6cib`}],[`path`,{d:`M3 5v14a9 3 0 0 0 6.47 2.88`,key:`i62tjy`}],[`path`,{d:`M12 12v4h4`,key:`1bxaet`}],[`path`,{d:`M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16`,key:`1f4ei9`}]]),Rm=l(`database-search`,[[`path`,{d:`M21 11.693V5`,key:`175m1t`}],[`path`,{d:`m22 22-1.875-1.875`,key:`13zax7`}],[`path`,{d:`M3 12a9 3 0 0 0 8.697 2.998`,key:`151u9p`}],[`path`,{d:`M3 5v14a9 3 0 0 0 9.28 2.999`,key:`q2rs2p`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}]]),zm=l(`database-zap`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 15 21.84`,key:`14ibmq`}],[`path`,{d:`M21 5V8`,key:`1marbg`}],[`path`,{d:`M21 12L18 17H22L19 22`,key:`zafso`}],[`path`,{d:`M3 12A9 3 0 0 0 14.59 14.87`,key:`1y4wr8`}]]),Bm=l(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),Vm=l(`decimals-arrow-left`,[[`path`,{d:`m13 21-3-3 3-3`,key:`s3o1nf`}],[`path`,{d:`M20 18H10`,key:`14r3mt`}],[`path`,{d:`M3 11h.01`,key:`1eifu7`}],[`rect`,{x:`6`,y:`3`,width:`5`,height:`8`,rx:`2.5`,key:`v9paqo`}]]),Hm=l(`decimals-arrow-right`,[[`path`,{d:`M10 18h10`,key:`1y5s8o`}],[`path`,{d:`m17 21 3-3-3-3`,key:`1ammt0`}],[`path`,{d:`M3 11h.01`,key:`1eifu7`}],[`rect`,{x:`15`,y:`3`,width:`5`,height:`8`,rx:`2.5`,key:`76md6a`}],[`rect`,{x:`6`,y:`3`,width:`5`,height:`8`,rx:`2.5`,key:`v9paqo`}]]),Um=l(`delete`,[[`path`,{d:`M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z`,key:`1yo7s0`}],[`path`,{d:`m12 9 6 6`,key:`anjzzh`}],[`path`,{d:`m18 9-6 6`,key:`1fp51s`}]]),Wm=l(`dessert`,[[`path`,{d:`M10.162 3.167A10 10 0 0 0 2 13a2 2 0 0 0 4 0v-1a2 2 0 0 1 4 0v4a2 2 0 0 0 4 0v-4a2 2 0 0 1 4 0v1a2 2 0 0 0 4-.006 10 10 0 0 0-8.161-9.826`,key:`xi88qy`}],[`path`,{d:`M20.804 14.869a9 9 0 0 1-17.608 0`,key:`1r28rg`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}]]),Gm=l(`diameter`,[[`circle`,{cx:`19`,cy:`19`,r:`2`,key:`17f5cg`}],[`circle`,{cx:`5`,cy:`5`,r:`2`,key:`1gwv83`}],[`path`,{d:`M6.48 3.66a10 10 0 0 1 13.86 13.86`,key:`xr8kdq`}],[`path`,{d:`m6.41 6.41 11.18 11.18`,key:`uhpjw7`}],[`path`,{d:`M3.66 6.48a10 10 0 0 0 13.86 13.86`,key:`cldpwv`}]]),Km=l(`diamond-minus`,[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`,key:`1ey20j`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),qm=l(`diamond-percent`,[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z`,key:`1tpxz2`}],[`path`,{d:`M9.2 9.2h.01`,key:`1b7bvt`}],[`path`,{d:`m14.5 9.5-5 5`,key:`17q4r4`}],[`path`,{d:`M14.7 14.8h.01`,key:`17nsh4`}]]),Jm=l(`diamond-plus`,[[`path`,{d:`M12 8v8`,key:`napkw2`}],[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`,key:`1ey20j`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),Ym=l(`diamond`,[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z`,key:`1f1r0c`}]]),Xm=l(`dice-1`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}]]),Zm=l(`dice-2`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M15 9h.01`,key:`x1ddxp`}],[`path`,{d:`M9 15h.01`,key:`fzyn71`}]]),Qm=l(`dice-3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M16 8h.01`,key:`cr5u4v`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),$m=l(`dice-4`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M16 8h.01`,key:`cr5u4v`}],[`path`,{d:`M8 8h.01`,key:`1e4136`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}],[`path`,{d:`M16 16h.01`,key:`1f9h7w`}]]),eh=l(`dice-5`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M16 8h.01`,key:`cr5u4v`}],[`path`,{d:`M8 8h.01`,key:`1e4136`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}],[`path`,{d:`M16 16h.01`,key:`1f9h7w`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}]]),th=l(`dice-6`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M16 8h.01`,key:`cr5u4v`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M16 16h.01`,key:`1f9h7w`}],[`path`,{d:`M8 8h.01`,key:`1e4136`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),nh=l(`dices`,[[`rect`,{width:`12`,height:`12`,x:`2`,y:`10`,rx:`2`,ry:`2`,key:`6agr2n`}],[`path`,{d:`m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6`,key:`1o487t`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`M10 14h.01`,key:`ssrbsk`}],[`path`,{d:`M15 6h.01`,key:`cblpky`}],[`path`,{d:`M18 9h.01`,key:`2061c0`}]]),rh=l(`diff`,[[`path`,{d:`M12 3v14`,key:`7cf3v8`}],[`path`,{d:`M5 10h14`,key:`elsbfy`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),ih=l(`disc-2`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}]]),ah=l(`disc-3`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M6 12c0-1.7.7-3.2 1.8-4.2`,key:`oqkarx`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M18 12c0 1.7-.7 3.2-1.8 4.2`,key:`1eah9h`}]]),oh=l(`disc-album`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`circle`,{cx:`12`,cy:`12`,r:`5`,key:`nd82uf`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}]]),sh=l(`disc`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),ch=l(`divide`,[[`circle`,{cx:`12`,cy:`6`,r:`1`,key:`1bh7o1`}],[`line`,{x1:`5`,x2:`19`,y1:`12`,y2:`12`,key:`13b5wn`}],[`circle`,{cx:`12`,cy:`18`,r:`1`,key:`lqb9t5`}]]),lh=l(`dna`,[[`path`,{d:`m10 16 1.5 1.5`,key:`11lckj`}],[`path`,{d:`m14 8-1.5-1.5`,key:`1ohn8i`}],[`path`,{d:`M15 2c-1.798 1.998-2.518 3.995-2.807 5.993`,key:`80uv8i`}],[`path`,{d:`m16.5 10.5 1 1`,key:`696xn5`}],[`path`,{d:`m17 6-2.891-2.891`,key:`xu6p2f`}],[`path`,{d:`M2 15c6.667-6 13.333 0 20-6`,key:`1pyr53`}],[`path`,{d:`m20 9 .891.891`,key:`3xwk7g`}],[`path`,{d:`M3.109 14.109 4 15`,key:`q76aoh`}],[`path`,{d:`m6.5 12.5 1 1`,key:`cs35ky`}],[`path`,{d:`m7 18 2.891 2.891`,key:`1sisit`}],[`path`,{d:`M9 22c1.798-1.998 2.518-3.995 2.807-5.993`,key:`q3hbxp`}]]),uh=l(`dog`,[[`path`,{d:`M11.25 16.25h1.5L12 17z`,key:`w7jh35`}],[`path`,{d:`M16 14v.5`,key:`1lajdz`}],[`path`,{d:`M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309`,key:`u7s9ue`}],[`path`,{d:`M8 14v.5`,key:`1nzgdb`}],[`path`,{d:`M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5`,key:`v8hric`}]]),dh=l(`dna-off`,[[`path`,{d:`M15 2c-1.35 1.5-2.092 3-2.5 4.5L14 8`,key:`1bivrr`}],[`path`,{d:`m17 6-2.891-2.891`,key:`xu6p2f`}],[`path`,{d:`M2 15c3.333-3 6.667-3 10-3`,key:`nxix30`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`m20 9 .891.891`,key:`3xwk7g`}],[`path`,{d:`M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1`,key:`18cutr`}],[`path`,{d:`M3.109 14.109 4 15`,key:`q76aoh`}],[`path`,{d:`m6.5 12.5 1 1`,key:`cs35ky`}],[`path`,{d:`m7 18 2.891 2.891`,key:`1sisit`}],[`path`,{d:`M9 22c1.35-1.5 2.092-3 2.5-4.5L10 16`,key:`rlvei3`}]]),fh=l(`dock`,[[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`M6 16h12`,key:`u522kt`}]]),ph=l(`dollar-sign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),mh=l(`donut`,[[`path`,{d:`M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3`,key:`19sr3x`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),hh=l(`door-closed-locked`,[[`path`,{d:`M10 12h.01`,key:`1kxr2c`}],[`path`,{d:`M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`,key:`1bnhmg`}],[`path`,{d:`M2 20h8`,key:`10ntw1`}],[`path`,{d:`M20 17v-2a2 2 0 1 0-4 0v2`,key:`pwaxnr`}],[`rect`,{x:`14`,y:`17`,width:`8`,height:`5`,rx:`1`,key:`15pjcy`}]]),gh=l(`door-closed`,[[`path`,{d:`M10 12h.01`,key:`1kxr2c`}],[`path`,{d:`M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14`,key:`36qu9e`}],[`path`,{d:`M2 20h20`,key:`owomy5`}]]),_h=l(`door-open`,[[`path`,{d:`M11 20H2`,key:`nlcfvz`}],[`path`,{d:`M11 4.562v16.157a1 1 0 0 0 1.242.97L19 20V5.562a2 2 0 0 0-1.515-1.94l-4-1A2 2 0 0 0 11 4.561z`,key:`au4z13`}],[`path`,{d:`M11 4H8a2 2 0 0 0-2 2v14`,key:`74r1mk`}],[`path`,{d:`M14 12h.01`,key:`1jfl7z`}],[`path`,{d:`M22 20h-3`,key:`vhrsz`}]]),vh=l(`dot`,[[`circle`,{cx:`12.1`,cy:`12.1`,r:`1`,key:`18d7e5`}]]),yh=l(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),bh=l(`drafting-compass`,[[`path`,{d:`m12.99 6.74 1.93 3.44`,key:`iwagvd`}],[`path`,{d:`M19.136 12a10 10 0 0 1-14.271 0`,key:`ppmlo4`}],[`path`,{d:`m21 21-2.16-3.84`,key:`vylbct`}],[`path`,{d:`m3 21 8.02-14.26`,key:`1ssaw4`}],[`circle`,{cx:`12`,cy:`5`,r:`2`,key:`f1ur92`}]]),xh=l(`drama`,[[`path`,{d:`M10 11h.01`,key:`d2at3l`}],[`path`,{d:`M14 6h.01`,key:`k028ub`}],[`path`,{d:`M18 6h.01`,key:`1v4wsw`}],[`path`,{d:`M6.5 13.1h.01`,key:`1748ia`}],[`path`,{d:`M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3`,key:`172yzv`}],[`path`,{d:`M17.4 9.9c-.8.8-2 .8-2.8 0`,key:`1obv0w`}],[`path`,{d:`M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7`,key:`rqjl8i`}],[`path`,{d:`M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4`,key:`1mr6wy`}]]),Sh=l(`drill`,[[`path`,{d:`M10 18a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a3 3 0 0 1-3-3 1 1 0 0 1 1-1z`,key:`ioqxb1`}],[`path`,{d:`M13 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1l-.81 3.242a1 1 0 0 1-.97.758H8`,key:`1rs59n`}],[`path`,{d:`M14 4h3a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3`,key:`105ega`}],[`path`,{d:`M18 6h4`,key:`66u95g`}],[`path`,{d:`m5 10-2 8`,key:`xt2lic`}],[`path`,{d:`m7 18 2-8`,key:`1bzku2`}]]),Ch=l(`drone`,[[`path`,{d:`M10 10 7 7`,key:`zp14k7`}],[`path`,{d:`m10 14-3 3`,key:`1jrpxk`}],[`path`,{d:`m14 10 3-3`,key:`7tigam`}],[`path`,{d:`m14 14 3 3`,key:`vm23p3`}],[`path`,{d:`M14.205 4.139a4 4 0 1 1 5.439 5.863`,key:`1tm5p2`}],[`path`,{d:`M19.637 14a4 4 0 1 1-5.432 5.868`,key:`16egi2`}],[`path`,{d:`M4.367 10a4 4 0 1 1 5.438-5.862`,key:`1wta6a`}],[`path`,{d:`M9.795 19.862a4 4 0 1 1-5.429-5.873`,key:`q39hpv`}],[`rect`,{x:`10`,y:`8`,width:`4`,height:`8`,rx:`1`,key:`phrjt1`}]]),wh=l(`droplet-off`,[[`path`,{d:`M18.715 13.186C18.29 11.858 17.384 10.607 16 9.5c-2-1.6-3.5-4-4-6.5a10.7 10.7 0 0 1-.884 2.586`,key:`8suz2t`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.795 8.797A11 11 0 0 1 8 9.5C6 11.1 5 13 5 15a7 7 0 0 0 13.222 3.208`,key:`19dw9m`}]]),Th=l(`droplet`,[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`,key:`c7niix`}]]),Eh=l(`droplets`,[[`path`,{d:`M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z`,key:`1ptgy4`}],[`path`,{d:`M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97`,key:`1sl1rz`}]]),Dh=l(`drum`,[[`path`,{d:`m2 2 8 8`,key:`1v6059`}],[`path`,{d:`m22 2-8 8`,key:`173r8a`}],[`ellipse`,{cx:`12`,cy:`9`,rx:`10`,ry:`5`,key:`liohsx`}],[`path`,{d:`M7 13.4v7.9`,key:`1yi6u9`}],[`path`,{d:`M12 14v8`,key:`1tn2tj`}],[`path`,{d:`M17 13.4v7.9`,key:`eqz2v3`}],[`path`,{d:`M2 9v8a10 5 0 0 0 20 0V9`,key:`1750ul`}]]),Oh=l(`drumstick`,[[`path`,{d:`M15.4 15.63a7.875 6 135 1 1 6.23-6.23 4.5 3.43 135 0 0-6.23 6.23`,key:`1dtqwm`}],[`path`,{d:`m8.29 12.71-2.6 2.6a2.5 2.5 0 1 0-1.65 4.65A2.5 2.5 0 1 0 8.7 18.3l2.59-2.59`,key:`1oq1fw`}]]),kh=l(`dumbbell`,[[`path`,{d:`M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z`,key:`9m4mmf`}],[`path`,{d:`m2.5 21.5 1.4-1.4`,key:`17g3f0`}],[`path`,{d:`m20.1 3.9 1.4-1.4`,key:`1qn309`}],[`path`,{d:`M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z`,key:`1t2c92`}],[`path`,{d:`m9.6 14.4 4.8-4.8`,key:`6umqxw`}]]),Ah=l(`ear-off`,[[`path`,{d:`M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46`,key:`1qngmn`}],[`path`,{d:`M6 8.5c0-.75.13-1.47.36-2.14`,key:`b06bma`}],[`path`,{d:`M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76`,key:`g10hsz`}],[`path`,{d:`M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18`,key:`ygzou7`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),jh=l(`ear`,[[`path`,{d:`M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0`,key:`1dfaln`}],[`path`,{d:`M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4`,key:`1qnva7`}]]),Mh=l(`earth-lock`,[[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3`,key:`w732o8`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`,key:`f02343`}],[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`,key:`1djwo0`}],[`path`,{d:`M12 2a10 10 0 1 0 9.54 13`,key:`zjsr6q`}],[`path`,{d:`M20 6V4a2 2 0 1 0-4 0v2`,key:`1of5e8`}],[`rect`,{width:`8`,height:`5`,x:`14`,y:`6`,rx:`1`,key:`1fmf51`}]]),Nh=l(`earth`,[[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`,key:`1djwo0`}],[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17`,key:`1tzkfa`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`,key:`14pb5j`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Ph=l(`eclipse`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a7 7 0 1 0 10 10`,key:`1yuj32`}]]),Fh=l(`egg-fried`,[[`circle`,{cx:`11.5`,cy:`12.5`,r:`3.5`,key:`1cl1mi`}],[`path`,{d:`M3 8c0-3.5 2.5-6 6.5-6 5 0 4.83 3 7.5 5s5 2 5 6c0 4.5-2.5 6.5-7 6.5-2.5 0-2.5 2.5-6 2.5s-7-2-7-5.5c0-3 1.5-3 1.5-5C3.5 10 3 9 3 8Z`,key:`165ef9`}]]),Ih=l(`egg`,[[`path`,{d:`M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12`,key:`1le142`}]]),Lh=l(`egg-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20 14.347V14c0-6-4-12-8-12-1.078 0-2.157.436-3.157 1.19`,key:`13g2jy`}],[`path`,{d:`M6.206 6.21C4.871 8.4 4 11.2 4 14a8 8 0 0 0 14.568 4.568`,key:`1581id`}]]),Rh=l(`ellipse`,[[`ellipse`,{cx:`12`,cy:`12`,rx:`10`,ry:`6`,key:`swdkt4`}]]),zh=l(`ellipsis-vertical`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}]]),Bh=l(`ellipsis`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]]),Vh=l(`equal-approximately`,[[`path`,{d:`M5 15a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0`,key:`yrdkhy`}],[`path`,{d:`M5 9a6.5 6.5 0 0 1 7 0 6.5 6.5 0 0 0 7 0`,key:`gzkvyz`}]]),Hh=l(`equal-not`,[[`line`,{x1:`5`,x2:`19`,y1:`9`,y2:`9`,key:`1nwqeh`}],[`line`,{x1:`5`,x2:`19`,y1:`15`,y2:`15`,key:`g8yjpy`}],[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`,key:`1x9vlm`}]]),Uh=l(`equal`,[[`line`,{x1:`5`,x2:`19`,y1:`9`,y2:`9`,key:`1nwqeh`}],[`line`,{x1:`5`,x2:`19`,y1:`15`,y2:`15`,key:`g8yjpy`}]]),Wh=l(`eraser`,[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]]),Gh=l(`ethernet-port`,[[`path`,{d:`m15 20 3-3h2a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2l3 3z`,key:`rbahqx`}],[`path`,{d:`M6 8v1`,key:`1636ez`}],[`path`,{d:`M10 8v1`,key:`1talb4`}],[`path`,{d:`M14 8v1`,key:`1rsfgr`}],[`path`,{d:`M18 8v1`,key:`gnkwox`}]]),Kh=l(`euro`,[[`path`,{d:`M4 10h12`,key:`1y6xl8`}],[`path`,{d:`M4 14h9`,key:`1loblj`}],[`path`,{d:`M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2`,key:`1j6lzo`}]]),qh=l(`ev-charger`,[[`path`,{d:`M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5`,key:`1wtuz0`}],[`path`,{d:`M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16`,key:`e09ifn`}],[`path`,{d:`M2 21h13`,key:`1x0fut`}],[`path`,{d:`M3 7h11`,key:`19efrr`}],[`path`,{d:`m9 11-2 3h3l-2 3`,key:`lmzxi1`}]]),Jh=l(`expand`,[[`path`,{d:`m15 15 6 6`,key:`1s409w`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}],[`path`,{d:`M3 16v5h5`,key:`1t08am`}],[`path`,{d:`m3 21 6-6`,key:`wwnumi`}],[`path`,{d:`M3 8V3h5`,key:`1ln10m`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}]]),Yh=l(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),Xh=l(`eye-closed`,[[`path`,{d:`m15 18-.722-3.25`,key:`1j64jw`}],[`path`,{d:`M2 8a10.645 10.645 0 0 0 20 0`,key:`1e7gxb`}],[`path`,{d:`m20 15-1.726-2.05`,key:`1cnuld`}],[`path`,{d:`m4 15 1.726-2.05`,key:`1dsqqd`}],[`path`,{d:`m9 18 .722-3.25`,key:`ypw2yx`}]]),Zh=l(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),Qh=l(`factory`,[[`path`,{d:`M12 16h.01`,key:`1drbdi`}],[`path`,{d:`M16 16h.01`,key:`1f9h7w`}],[`path`,{d:`M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z`,key:`1iv0i2`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),$h=l(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),eg=l(`fan`,[[`path`,{d:`M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z`,key:`484a7f`}],[`path`,{d:`M12 12v.01`,key:`u5ubse`}]]),tg=l(`fast-forward`,[[`path`,{d:`M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z`,key:`b19h5q`}],[`path`,{d:`M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z`,key:`h7h5ge`}]]),ng=l(`feather`,[[`path`,{d:`M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z`,key:`18jl4k`}],[`path`,{d:`M16 8 2 22`,key:`vp34q`}],[`path`,{d:`M17.5 15H9`,key:`1oz8nu`}]]),rg=l(`fence`,[[`path`,{d:`M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`,key:`1n2rgs`}],[`path`,{d:`M6 8h4`,key:`utf9t1`}],[`path`,{d:`M6 18h4`,key:`12yh4b`}],[`path`,{d:`m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`,key:`3ha7mj`}],[`path`,{d:`M14 8h4`,key:`1r8wg2`}],[`path`,{d:`M14 18h4`,key:`1t3kbu`}],[`path`,{d:`m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z`,key:`dfd4e2`}]]),ig=l(`ferris-wheel`,[[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m6.8 15-3.5 2`,key:`hjy98k`}],[`path`,{d:`m20.7 7-3.5 2`,key:`f08gto`}],[`path`,{d:`M6.8 9 3.3 7`,key:`1aevh4`}],[`path`,{d:`m20.7 17-3.5-2`,key:`1liqo3`}],[`path`,{d:`m9 22 3-8 3 8`,key:`wees03`}],[`path`,{d:`M8 22h8`,key:`rmew8v`}],[`path`,{d:`M18 18.7a9 9 0 1 0-12 0`,key:`dhzg4g`}]]),ag=l(`file-archive`,[[`path`,{d:`M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5`,key:`4pqfef`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 12v-1`,key:`1ej8lb`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`path`,{d:`M8 7V6`,key:`1nbb54`}],[`circle`,{cx:`8`,cy:`20`,r:`2`,key:`ckkr5m`}]]),og=l(`file-axis-3d`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m8 18 4-4`,key:`12zab0`}],[`path`,{d:`M8 10v8h8`,key:`tlaukw`}]]),sg=l(`file-badge`,[[`path`,{d:`M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.3`,key:`cvl1xm`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88`,key:`1ff7gj`}],[`circle`,{cx:`6`,cy:`14`,r:`3`,key:`a1xfv6`}]]),cg=l(`file-braces-corner`,[[`path`,{d:`M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6`,key:`14cnrg`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1`,key:`sr0ebq`}],[`path`,{d:`M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1`,key:`w793db`}]]),lg=l(`file-box`,[[`path`,{d:`M14.5 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.8`,key:`1kchwa`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M11.7 14.2 7 17l-4.7-2.8`,key:`1yk8tc`}],[`path`,{d:`M3 13.1a2 2 0 0 0-.999 1.76v3.24a2 2 0 0 0 .969 1.78L6 21.7a2 2 0 0 0 2.03.01L11 19.9a2 2 0 0 0 1-1.76V14.9a2 2 0 0 0-.97-1.78L8 11.3a2 2 0 0 0-2.03-.01z`,key:`19flxy`}],[`path`,{d:`M7 17v5`,key:`1yj1jh`}]]),ug=l(`file-braces`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1`,key:`1oajmo`}],[`path`,{d:`M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1`,key:`mpwhp6`}]]),dg=l(`file-chart-column-increasing`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`path`,{d:`M12 18v-4`,key:`q1q25u`}],[`path`,{d:`M16 18v-6`,key:`15y0np`}]]),fg=l(`file-chart-column`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 18v-1`,key:`zg0ygc`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}],[`path`,{d:`M16 18v-3`,key:`j5jt4h`}]]),pg=l(`file-chart-line`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m16 13-3.5 3.5-2-2L8 17`,key:`zz7yod`}]]),mg=l(`file-chart-pie`,[[`path`,{d:`M15.941 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.512`,key:`13hoie`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M4.017 11.512a6 6 0 1 0 8.466 8.475`,key:`s6vs5t`}],[`path`,{d:`M9 16a1 1 0 0 1-1-1v-4c0-.552.45-1.008.995-.917a6 6 0 0 1 4.922 4.922c.091.544-.365.995-.917.995z`,key:`1dl6s6`}]]),hg=l(`file-check-corner`,[[`path`,{d:`M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6`,key:`g5mvt7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m14 20 2 2 4-4`,key:`15kota`}]]),gg=l(`file-check`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m9 15 2 2 4-4`,key:`1grp1n`}]]),_g=l(`file-clock`,[[`path`,{d:`M16 22h2a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v2.85`,key:`ryk6xj`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 14v2.2l1.6 1`,key:`6m4bie`}],[`circle`,{cx:`8`,cy:`16`,r:`6`,key:`10v15b`}]]),vg=l(`file-code-corner`,[[`path`,{d:`M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35`,key:`1wthlu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m5 16-3 3 3 3`,key:`331omg`}],[`path`,{d:`m9 22 3-3-3-3`,key:`lsp7cz`}]]),yg=l(`file-cog`,[[`path`,{d:`M15 8a1 1 0 0 1-1-1V2a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8z`,key:`1ckgky`}],[`path`,{d:`M20 8v12a2 2 0 0 1-2 2h-4.182`,key:`1726p0`}],[`path`,{d:`m3.305 19.53.923-.382`,key:`ao1pio`}],[`path`,{d:`M4 10.592V4a2 2 0 0 1 2-2h8`,key:`1foop0`}],[`path`,{d:`m4.228 16.852-.924-.383`,key:`1fv9zy`}],[`path`,{d:`m5.852 15.228-.383-.923`,key:`1a9hc2`}],[`path`,{d:`m5.852 20.772-.383.924`,key:`1sh9ke`}],[`path`,{d:`m8.148 15.228.383-.923`,key:`4yu6lf`}],[`path`,{d:`m8.53 21.696-.382-.924`,key:`18b0s9`}],[`path`,{d:`m9.773 16.852.922-.383`,key:`ti6xop`}],[`path`,{d:`m9.773 19.148.922.383`,key:`rws47d`}],[`circle`,{cx:`7`,cy:`18`,r:`3`,key:`lvkj7j`}]]),bg=l(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),xg=l(`file-digit`,[[`path`,{d:`M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2`,key:`jrl274`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 16h2v6`,key:`1bxocy`}],[`path`,{d:`M10 22h4`,key:`ceow96`}],[`rect`,{x:`2`,y:`16`,width:`4`,height:`6`,rx:`2`,key:`r45zd0`}]]),Sg=l(`file-diff`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}],[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}]]),Cg=l(`file-down`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}],[`path`,{d:`m9 15 3 3 3-3`,key:`1npd3o`}]]),wg=l(`file-exclamation-point`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Tg=l(`file-heart`,[[`path`,{d:`M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v7`,key:`oagw2b`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M3.62 18.8A2.25 2.25 0 1 1 7 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a1 1 0 0 1-1.507 0z`,key:`rg3psg`}]]),Eg=l(`file-headphone`,[[`path`,{d:`M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343`,key:`1vfytu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0`,key:`1etmh7`}]]),Dg=l(`file-image`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`10`,cy:`12`,r:`2`,key:`737tya`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`,key:`wt3hpn`}]]),Og=l(`file-input`,[[`path`,{d:`M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1`,key:`1q9hii`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M2 15h10`,key:`jfw4w8`}],[`path`,{d:`m9 18 3-3-3-3`,key:`112psh`}]]),kg=l(`file-lock`,[[`path`,{d:`M4 9.8V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3`,key:`1432pc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M9 17v-2a2 2 0 0 0-4 0v2`,key:`168m41`}],[`rect`,{width:`8`,height:`5`,x:`3`,y:`17`,rx:`1`,key:`o8vfew`}]]),Ag=l(`file-key`,[[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M4 12v6`,key:`bg1pfk`}],[`path`,{d:`M4 14h2`,key:`1sf9f8`}],[`path`,{d:`M9.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v4`,key:`d56i0q`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),jg=l(`file-minus-corner`,[[`path`,{d:`M20 14V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12`,key:`l9p8hp`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]),Mg=l(`file-minus`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M9 15h6`,key:`cctwl0`}]]),Ng=l(`file-music`,[[`path`,{d:`M11.65 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v10.35`,key:`5ad7z2`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 20v-7l3 1.474`,key:`1ggyb9`}],[`circle`,{cx:`6`,cy:`20`,r:`2`,key:`j7wjp0`}]]),Pg=l(`file-output`,[[`path`,{d:`M4.226 20.925A2 2 0 0 0 6 22h12a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.127`,key:`wfxp4w`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m5 11-3 3`,key:`1dgrs4`}],[`path`,{d:`m5 17-3-3h10`,key:`1mvvaf`}]]),Fg=l(`file-pen-line`,[[`path`,{d:`M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z`,key:`ukzhwg`}],[`path`,{d:`M14.487 7.858A1 1 0 0 1 14 7V2`,key:`1klhew`}],[`path`,{d:`M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516`,key:`rxaxab`}],[`path`,{d:`M8 18h1`,key:`13wk12`}]]),Ig=l(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),Lg=l(`file-play`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z`,key:`1tzo1f`}]]),Rg=l(`file-plus-corner`,[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]]),zg=l(`file-plus`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M9 15h6`,key:`cctwl0`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}]]),Bg=l(`file-question-mark`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`,key:`mhlwft`}]]),Vg=l(`file-scan`,[[`path`,{d:`M20 10V8a2.4 2.4 0 0 0-.706-1.704l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.35`,key:`1cdjst`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M16 14a2 2 0 0 0-2 2`,key:`ceaadl`}],[`path`,{d:`M16 22a2 2 0 0 1-2-2`,key:`1wqh5n`}],[`path`,{d:`M20 14a2 2 0 0 1 2 2`,key:`1ny6zw`}],[`path`,{d:`M20 22a2 2 0 0 0 2-2`,key:`1l9q4k`}]]),Hg=l(`file-search-corner`,[[`path`,{d:`M11.1 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.589 3.588A2.4 2.4 0 0 1 20 8v3.25`,key:`uh4ikj`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m21 22-2.88-2.88`,key:`9dd25w`}],[`circle`,{cx:`16`,cy:`17`,r:`3`,key:`11br10`}]]),Ug=l(`file-search`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`11.5`,cy:`14.5`,r:`2.5`,key:`1bq0ko`}],[`path`,{d:`M13.3 16.3 15 18`,key:`2quom7`}]]),Wg=l(`file-signal`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 15h.01`,key:`a7atzg`}],[`path`,{d:`M11.5 13.5a2.5 2.5 0 0 1 0 3`,key:`1fccat`}],[`path`,{d:`M15 12a5 5 0 0 1 0 6`,key:`ps46cm`}]]),Gg=l(`file-sliders`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M10 11v2`,key:`1s651w`}],[`path`,{d:`M8 17h8`,key:`wh5c61`}],[`path`,{d:`M14 16v2`,key:`12fp5e`}]]),Kg=l(`file-spreadsheet`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]),qg=l(`file-stack`,[[`path`,{d:`M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1`,key:`likhh7`}],[`path`,{d:`M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1`,key:`17ky3x`}],[`path`,{d:`M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z`,key:`1hyeo0`}]]),Jg=l(`file-symlink`,[[`path`,{d:`M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`,key:`huwfnr`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m10 18 3-3-3-3`,key:`18f6ys`}]]),Yg=l(`file-terminal`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m8 16 2-2-2-2`,key:`10vzyd`}],[`path`,{d:`M12 18h4`,key:`1wd2n7`}]]),Xg=l(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),Zg=l(`file-type-corner`,[[`path`,{d:`M12 22h6a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6`,key:`15usau`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M3 16v-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5V16`,key:`s1gz5`}],[`path`,{d:`M6 22h2`,key:`194x9m`}],[`path`,{d:`M7 14v8`,key:`11ixej`}]]),Qg=l(`file-type`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M11 18h2`,key:`12mj7e`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5`,key:`qbrxap`}]]),$g=l(`file-up`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]),e_=l(`file-user`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M16 22a4 4 0 0 0-8 0`,key:`7a83pg`}],[`circle`,{cx:`12`,cy:`15`,r:`3`,key:`g36mzq`}]]),t_=l(`file-video-camera`,[[`path`,{d:`M4 12V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2`,key:`jrl274`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m10 17.843 3.033-1.755a.64.64 0 0 1 .967.56v4.704a.65.65 0 0 1-.967.56L10 20.157`,key:`17aeo9`}],[`rect`,{width:`7`,height:`6`,x:`3`,y:`16`,rx:`1`,key:`s27ndx`}]]),n_=l(`file-volume`,[[`path`,{d:`M4 11.55V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-1.95`,key:`44gpjv`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 15a5 5 0 0 1 0 6`,key:`oxg87a`}],[`path`,{d:`M8 14.502a.5.5 0 0 0-.826-.381l-1.893 1.631a1 1 0 0 1-.651.243H3.5a.5.5 0 0 0-.5.501v3.006a.5.5 0 0 0 .5.501h1.129a1 1 0 0 1 .652.243l1.893 1.633a.5.5 0 0 0 .826-.38z`,key:`8rtoi1`}]]),r_=l(`file-x-corner`,[[`path`,{d:`M11 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`,key:`1jo35a`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m15 17 5 5`,key:`36xl1x`}],[`path`,{d:`m20 17-5 5`,key:`vdz27y`}]]),i_=l(`file-x`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m14.5 12.5-5 5`,key:`b62r18`}],[`path`,{d:`m9.5 12.5 5 5`,key:`1rk7el`}]]),a_=l(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),o_=l(`files`,[[`path`,{d:`M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`,key:`14sh0y`}],[`path`,{d:`M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z`,key:`1970lx`}],[`path`,{d:`M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1`,key:`l4dndm`}]]),s_=l(`fingerprint-pattern`,[[`path`,{d:`M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4`,key:`1nerag`}],[`path`,{d:`M14 13.12c0 2.38 0 6.38-1 8.88`,key:`o46ks0`}],[`path`,{d:`M17.29 21.02c.12-.6.43-2.3.5-3.02`,key:`ptglia`}],[`path`,{d:`M2 12a10 10 0 0 1 18-6`,key:`ydlgp0`}],[`path`,{d:`M2 16h.01`,key:`1gqxmh`}],[`path`,{d:`M21.8 16c.2-2 .131-5.354 0-6`,key:`drycrb`}],[`path`,{d:`M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2`,key:`1tidbn`}],[`path`,{d:`M8.65 22c.21-.66.45-1.32.57-2`,key:`13wd9y`}],[`path`,{d:`M9 6.8a6 6 0 0 1 9 5.2v2`,key:`1fr1j5`}]]),c_=l(`film`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M3 7.5h4`,key:`zfgn84`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 16.5h4`,key:`1230mu`}],[`path`,{d:`M17 3v18`,key:`in4fa5`}],[`path`,{d:`M17 7.5h4`,key:`myr1c1`}],[`path`,{d:`M17 16.5h4`,key:`go4c1d`}]]),l_=l(`fire-extinguisher`,[[`path`,{d:`M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5`,key:`sqyvz`}],[`path`,{d:`M9 18h8`,key:`i7pszb`}],[`path`,{d:`M18 3h-3`,key:`7idoqj`}],[`path`,{d:`M11 3a6 6 0 0 0-6 6v11`,key:`1v5je3`}],[`path`,{d:`M5 13h4`,key:`svpcxo`}],[`path`,{d:`M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z`,key:`vsjego`}]]),u_=l(`fish-off`,[[`path`,{d:`M18 12.47v.03m0-.5v.47m-.475 5.056A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38m3.444-2.088A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058`,key:`1j1hse`}],[`path`,{d:`M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33m7.48-4.372A9.77 9.77 0 0 1 16 6.07m0 11.86a9.77 9.77 0 0 1-1.728-3.618`,key:`1q46z8`}],[`path`,{d:`m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20`,key:`1407gh`}]]),d_=l(`fish-symbol`,[[`path`,{d:`M2 16s9-15 20-4C11 23 2 8 2 8`,key:`h4oh4o`}]]),f_=l(`fish`,[[`path`,{d:`M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z`,key:`15baut`}],[`path`,{d:`M18 12v.5`,key:`18hhni`}],[`path`,{d:`M16 17.93a9.77 9.77 0 0 1 0-11.86`,key:`16dt7o`}],[`path`,{d:`M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33`,key:`l9di03`}],[`path`,{d:`M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4`,key:`1kjonw`}],[`path`,{d:`m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98`,key:`1zlm23`}]]),p_=l(`fishing-hook`,[[`path`,{d:`m17.586 11.414-5.93 5.93a1 1 0 0 1-8-8l3.137-3.137a.707.707 0 0 1 1.207.5V10`,key:`157y8s`}],[`path`,{d:`M20.414 8.586 22 7`,key:`5g2s34`}],[`circle`,{cx:`19`,cy:`10`,r:`2`,key:`7363ft`}]]),m_=l(`fishing-rod`,[[`path`,{d:`M4 11h1`,key:`13eipc`}],[`path`,{d:`M8 15a2 2 0 0 1-4 0V3a1 1 0 0 1 1-1h.5C14 2 20 9 20 18v4`,key:`1hs3im`}],[`circle`,{cx:`18`,cy:`18`,r:`2`,key:`1emm8v`}]]),h_=l(`flag-off`,[[`path`,{d:`M16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`,key:`1q158e`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M4 22V4`,key:`1plyxx`}],[`path`,{d:`M7.656 2H8c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10.347`,key:`xj1b71`}]]),g_=l(`flag-triangle-left`,[[`path`,{d:`M18 22V2.8a.8.8 0 0 0-1.17-.71L5.45 7.78a.8.8 0 0 0 0 1.44L18 15.5`,key:`rbbtmw`}]]),__=l(`flag-triangle-right`,[[`path`,{d:`M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5`,key:`kfjsu0`}]]),v_=l(`flag`,[[`path`,{d:`M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`,key:`1jaruq`}]]),y_=l(`flame-kindling`,[[`path`,{d:`M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z`,key:`1ir223`}],[`path`,{d:`m5 22 14-4`,key:`1brv4h`}],[`path`,{d:`m5 18 14 4`,key:`lgyyje`}]]),b_=l(`flashlight-off`,[[`path`,{d:`M11.652 6H18`,key:`voqkpr`}],[`path`,{d:`M12 13v1`,key:`176q98`}],[`path`,{d:`M16 16v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V6`,key:`dzyf92`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M7.649 2H17a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8a4 4 0 0 0-.55 1.007`,key:`1hvcfn`}]]),x_=l(`flame`,[[`path`,{d:`M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4`,key:`1slcih`}]]),S_=l(`flashlight`,[[`path`,{d:`M12 13v1`,key:`176q98`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v4a3 3 0 0 1-.6 1.8l-.6.8A4 4 0 0 0 16 12v8a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-8a4 4 0 0 0-.8-2.4l-.6-.8A3 3 0 0 1 6 7V3a1 1 0 0 1 1-1z`,key:`17vh7j`}],[`path`,{d:`M6 6h12`,key:`n6hhss`}]]),C_=l(`flask-conical-off`,[[`path`,{d:`M10 2v2.343`,key:`15t272`}],[`path`,{d:`M14 2v6.343`,key:`sxr80q`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20 20a2 2 0 0 1-2 2H6a2 2 0 0 1-1.755-2.96l5.227-9.563`,key:`k0duyd`}],[`path`,{d:`M6.453 15H15`,key:`1f0z33`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),w_=l(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),T_=l(`flask-round`,[[`path`,{d:`M10 2v6.292a7 7 0 1 0 4 0V2`,key:`1s42pc`}],[`path`,{d:`M5 15h14`,key:`m0yey3`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),E_=l(`flip-horizontal-2`,[[`path`,{d:`m3 7 5 5-5 5V7`,key:`couhi7`}],[`path`,{d:`m21 7-5 5 5 5V7`,key:`6ouia7`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 14v2`,key:`8jcxud`}],[`path`,{d:`M12 8v2`,key:`1woqiv`}],[`path`,{d:`M12 2v2`,key:`tus03m`}]]),D_=l(`flip-vertical-2`,[[`path`,{d:`m17 3-5 5-5-5h10`,key:`1ftt6x`}],[`path`,{d:`m17 21-5-5-5 5h10`,key:`1m0wmu`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}]]),O_=l(`flower-2`,[[`path`,{d:`M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1`,key:`3pnvol`}],[`circle`,{cx:`12`,cy:`8`,r:`2`,key:`1822b1`}],[`path`,{d:`M12 10v12`,key:`6ubwww`}],[`path`,{d:`M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z`,key:`9hd38g`}],[`path`,{d:`M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z`,key:`ufn41s`}]]),k_=l(`flower`,[[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5`,key:`14wa3c`}],[`path`,{d:`M12 7.5V9`,key:`1oy5b0`}],[`path`,{d:`M7.5 12H9`,key:`eltsq1`}],[`path`,{d:`M16.5 12H15`,key:`vk5kw4`}],[`path`,{d:`M12 16.5V15`,key:`k7eayi`}],[`path`,{d:`m8 8 1.88 1.88`,key:`nxy4qf`}],[`path`,{d:`M14.12 9.88 16 8`,key:`1lst6k`}],[`path`,{d:`m8 16 1.88-1.88`,key:`h2eex1`}],[`path`,{d:`M14.12 14.12 16 16`,key:`uqkrx3`}]]),A_=l(`focus`,[[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}]]),j_=l(`fold-horizontal`,[[`path`,{d:`M2 12h6`,key:`1wqiqv`}],[`path`,{d:`M22 12h-6`,key:`1eg9hc`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 8v2`,key:`1woqiv`}],[`path`,{d:`M12 14v2`,key:`8jcxud`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m19 9-3 3 3 3`,key:`12ol22`}],[`path`,{d:`m5 15 3-3-3-3`,key:`1kdhjc`}]]),M_=l(`fold-vertical`,[[`path`,{d:`M12 22v-6`,key:`6o8u61`}],[`path`,{d:`M12 8V2`,key:`1wkif3`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}],[`path`,{d:`m15 19-3-3-3 3`,key:`e37ymu`}],[`path`,{d:`m15 5-3 3-3-3`,key:`19d6lf`}]]),N_=l(`folder-archive`,[[`circle`,{cx:`15`,cy:`19`,r:`2`,key:`u2pros`}],[`path`,{d:`M20.9 19.8A2 2 0 0 0 22 18V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h5.1`,key:`1jj40k`}],[`path`,{d:`M15 11v-1`,key:`cntcp`}],[`path`,{d:`M15 17v-2`,key:`1279jj`}]]),P_=l(`folder-bookmark`,[[`path`,{d:`M12 6v8l3-3 3 3V6`,key:`11pvqx`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`,key:`1u1bxd`}]]),F_=l(`folder-check`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`m9 13 2 2 4-4`,key:`6343dt`}]]),I_=l(`folder-clock`,[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2`,key:`1urifu`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]),L_=l(`folder-closed`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]),R_=l(`folder-code`,[[`path`,{d:`M10 10.5 8 13l2 2.5`,key:`m4t9c1`}],[`path`,{d:`m14 10.5 2 2.5-2 2.5`,key:`14w2eb`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`,key:`1u1bxd`}]]),z_=l(`folder-dot`,[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`,key:`1fr9dc`}],[`circle`,{cx:`12`,cy:`13`,r:`1`,key:`49l61u`}]]),B_=l(`folder-cog`,[[`path`,{d:`M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3`,key:`128dxu`}],[`path`,{d:`m14.305 19.53.923-.382`,key:`3m78fa`}],[`path`,{d:`m15.228 16.852-.923-.383`,key:`npixar`}],[`path`,{d:`m16.852 15.228-.383-.923`,key:`5xggr7`}],[`path`,{d:`m16.852 20.772-.383.924`,key:`dpfhf9`}],[`path`,{d:`m19.148 15.228.383-.923`,key:`1reyyz`}],[`path`,{d:`m19.53 21.696-.382-.924`,key:`1goivc`}],[`path`,{d:`m20.772 16.852.924-.383`,key:`htqkph`}],[`path`,{d:`m20.772 19.148.924.383`,key:`9w9pjp`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),V_=l(`folder-git-2`,[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`,key:`sz5oeg`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]),H_=l(`folder-down`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`m15 13-3 3-3-3`,key:`6j2sf0`}]]),U_=l(`folder-git`,[[`circle`,{cx:`12`,cy:`13`,r:`2`,key:`1c1ljs`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M14 13h3`,key:`1dgedf`}],[`path`,{d:`M7 13h3`,key:`1pygq7`}]]),W_=l(`folder-input`,[[`path`,{d:`M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1`,key:`fm4g5t`}],[`path`,{d:`M2 13h10`,key:`pgb2dq`}],[`path`,{d:`m9 16 3-3-3-3`,key:`6m91ic`}]]),G_=l(`folder-heart`,[[`path`,{d:`M10.638 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v3.417`,key:`10r6g4`}],[`path`,{d:`M14.62 18.8A2.25 2.25 0 1 1 18 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`,key:`15cy7q`}]]),K_=l(`folder-key`,[[`path`,{d:`M13 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1.36`,key:`1shsnm`}],[`path`,{d:`M19 12v6`,key:`kflna4`}],[`path`,{d:`M19 14h2`,key:`wp2qbk`}],[`circle`,{cx:`19`,cy:`20`,r:`2`,key:`1jfyz6`}]]),q_=l(`folder-kanban`,[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`,key:`1fr9dc`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M12 10v2`,key:`hh53o1`}],[`path`,{d:`M16 10v6`,key:`1d6xys`}]]),J_=l(`folder-lock`,[[`rect`,{width:`8`,height:`5`,x:`14`,y:`17`,rx:`1`,key:`19aais`}],[`path`,{d:`M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5`,key:`1w6v7t`}],[`path`,{d:`M20 17v-2a2 2 0 1 0-4 0v2`,key:`pwaxnr`}]]),Y_=l(`folder-minus`,[[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),X_=l(`folder-open-dot`,[[`path`,{d:`m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2`,key:`1nmvlm`}],[`circle`,{cx:`14`,cy:`15`,r:`1`,key:`1gm4qj`}]]),Z_=l(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]),Q_=l(`folder-pen`,[[`path`,{d:`M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5`,key:`a8xqs0`}],[`path`,{d:`M11.378 13.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`1saktj`}]]),$_=l(`folder-output`,[[`path`,{d:`M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5`,key:`1yk7aj`}],[`path`,{d:`M2 13h10`,key:`pgb2dq`}],[`path`,{d:`m5 10-3 3 3 3`,key:`1r8ie0`}]]),ev=l(`folder-root`,[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`,key:`1fr9dc`}],[`circle`,{cx:`12`,cy:`13`,r:`2`,key:`1c1ljs`}],[`path`,{d:`M12 15v5`,key:`11xva1`}]]),tv=l(`folder-plus`,[[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),nv=l(`folder-search-2`,[[`circle`,{cx:`11.5`,cy:`12.5`,r:`2.5`,key:`1ea5ju`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M13.3 14.3 15 16`,key:`1y4v1n`}]]),rv=l(`folder-search`,[[`path`,{d:`M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1`,key:`1bw5m7`}],[`path`,{d:`m21 21-1.9-1.9`,key:`1g2n9r`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}]]),iv=l(`folder-symlink`,[[`path`,{d:`M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7`,key:`y8kt7d`}],[`path`,{d:`m8 16 3-3-3-3`,key:`rlqrt1`}]]),av=l(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),ov=l(`folder-sync`,[[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5`,key:`1dkoa9`}],[`path`,{d:`M12 10v4h4`,key:`1czhmt`}],[`path`,{d:`m12 14 1.535-1.605a5 5 0 0 1 8 1.5`,key:`lvuxfi`}],[`path`,{d:`M22 22v-4h-4`,key:`1ewp4q`}],[`path`,{d:`m22 18-1.535 1.605a5 5 0 0 1-8-1.5`,key:`14ync0`}]]),xee=l(`folder-up`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`m9 13 3-3 3 3`,key:`1pxg3c`}]]),sv=l(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),See=l(`folder-x`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`m9.5 10.5 5 5`,key:`ra9qjz`}],[`path`,{d:`m14.5 10.5-5 5`,key:`l2rkpq`}]]),Cee=l(`folders`,[[`path`,{d:`M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z`,key:`a4852j`}],[`path`,{d:`M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1`,key:`yxbcw3`}]]),wee=l(`footprints`,[[`path`,{d:`M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z`,key:`1dudjm`}],[`path`,{d:`M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z`,key:`l2t8xc`}],[`path`,{d:`M16 17h4`,key:`1dejxt`}],[`path`,{d:`M4 13h4`,key:`1bwh8b`}]]),Tee=l(`form`,[[`path`,{d:`M4 14h6`,key:`77gv2w`}],[`path`,{d:`M4 2h10`,key:`a2b314`}],[`rect`,{x:`4`,y:`18`,width:`16`,height:`4`,rx:`1`,key:`sybzq6`}],[`rect`,{x:`4`,y:`6`,width:`16`,height:`4`,rx:`1`,key:`1osc9e`}]]),Eee=l(`forklift`,[[`path`,{d:`M12 12H5a2 2 0 0 0-2 2v5`,key:`7zsz91`}],[`path`,{d:`M15 19h7`,key:`1askl3`}],[`path`,{d:`M16 19V2`,key:`1gf9nk`}],[`path`,{d:`M6 12V7a2 2 0 0 1 2-2h2.172a2 2 0 0 1 1.414.586l3.828 3.828A2 2 0 0 1 16 10.828`,key:`enx9tf`}],[`path`,{d:`M7 19h4`,key:`fumhkk`}],[`circle`,{cx:`13`,cy:`19`,r:`2`,key:`wjnkru`}],[`circle`,{cx:`5`,cy:`19`,r:`2`,key:`v8kfzx`}]]),Dee=l(`forward`,[[`path`,{d:`m15 17 5-5-5-5`,key:`nf172w`}],[`path`,{d:`M4 18v-2a4 4 0 0 1 4-4h12`,key:`jmiej9`}]]),Oee=l(`frame`,[[`line`,{x1:`22`,x2:`2`,y1:`6`,y2:`6`,key:`15w7dq`}],[`line`,{x1:`22`,x2:`2`,y1:`18`,y2:`18`,key:`1ip48p`}],[`line`,{x1:`6`,x2:`6`,y1:`2`,y2:`22`,key:`a2lnyx`}],[`line`,{x1:`18`,x2:`18`,y1:`2`,y2:`22`,key:`8vb6jd`}]]),kee=l(`frown`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 16s-1.5-2-4-2-4 2-4 2`,key:`epbg0q`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}]]),Aee=l(`fuel`,[[`path`,{d:`M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 4 0v-6.998a2 2 0 0 0-.59-1.42L18 5`,key:`1wtuz0`}],[`path`,{d:`M14 21V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v16`,key:`e09ifn`}],[`path`,{d:`M2 21h13`,key:`1x0fut`}],[`path`,{d:`M3 9h11`,key:`1p7c0w`}]]),jee=l(`fullscreen`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`rect`,{width:`10`,height:`8`,x:`7`,y:`8`,rx:`1`,key:`vys8me`}]]),Mee=l(`funnel-plus`,[[`path`,{d:`M13.354 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l1.218-1.348`,key:`8mvsmf`}],[`path`,{d:`M16 6h6`,key:`1dogtp`}],[`path`,{d:`M19 3v6`,key:`1ytpjt`}]]),Nee=l(`funnel-x`,[[`path`,{d:`M12.531 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14v6a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341l.427-.473`,key:`ol2ft2`}],[`path`,{d:`m16.5 3.5 5 5`,key:`15e6fa`}],[`path`,{d:`m21.5 3.5-5 5`,key:`m0lwru`}]]),cv=l(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),Pee=l(`gallery-horizontal-end`,[[`path`,{d:`M2 7v10`,key:`a2pl2d`}],[`path`,{d:`M6 5v14`,key:`1kq3d7`}],[`rect`,{width:`12`,height:`18`,x:`10`,y:`3`,rx:`2`,key:`13i7bc`}]]),Fee=l(`gallery-horizontal`,[[`path`,{d:`M2 3v18`,key:`pzttux`}],[`rect`,{width:`12`,height:`18`,x:`6`,y:`3`,rx:`2`,key:`btr8bg`}],[`path`,{d:`M22 3v18`,key:`6jf3v`}]]),Iee=l(`gallery-thumbnails`,[[`rect`,{width:`18`,height:`14`,x:`3`,y:`3`,rx:`2`,key:`74y24f`}],[`path`,{d:`M4 21h1`,key:`16zlid`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}],[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`M19 21h1`,key:`edywat`}]]),Lee=l(`gallery-vertical-end`,[[`path`,{d:`M7 2h10`,key:`nczekb`}],[`path`,{d:`M5 6h14`,key:`u2x4p`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`10`,rx:`2`,key:`l0tzu3`}]]),Ree=l(`gallery-vertical`,[[`path`,{d:`M3 2h18`,key:`15qxfx`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`6`,rx:`2`,key:`1439r6`}],[`path`,{d:`M3 22h18`,key:`8prr45`}]]),zee=l(`gamepad-2`,[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]),Bee=l(`gamepad-directional`,[[`path`,{d:`M11.146 15.854a1.207 1.207 0 0 1 1.708 0l1.56 1.56A2 2 0 0 1 15 18.828V21a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-2.172a2 2 0 0 1 .586-1.414z`,key:`1re2og`}],[`path`,{d:`M18.828 15a2 2 0 0 1-1.414-.586l-1.56-1.56a1.207 1.207 0 0 1 0-1.708l1.56-1.56A2 2 0 0 1 18.828 9H21a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1z`,key:`1pchrj`}],[`path`,{d:`M6.586 14.414A2 2 0 0 1 5.172 15H3a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2.172a2 2 0 0 1 1.414.586l1.56 1.56a1.207 1.207 0 0 1 0 1.708z`,key:`16mt4c`}],[`path`,{d:`M9 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2.172a2 2 0 0 1-.586 1.414l-1.56 1.56a1.207 1.207 0 0 1-1.708 0l-1.56-1.56A2 2 0 0 1 9 5.172z`,key:`19ox6c`}]]),Vee=l(`gamepad`,[[`line`,{x1:`6`,x2:`10`,y1:`12`,y2:`12`,key:`161bw2`}],[`line`,{x1:`8`,x2:`8`,y1:`10`,y2:`14`,key:`1i6ji0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`13`,y2:`13`,key:`dqpgro`}],[`line`,{x1:`18`,x2:`18.01`,y1:`11`,y2:`11`,key:`meh2c`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`,key:`9lu3g6`}]]),lv=l(`gauge`,[[`path`,{d:`m12 14 4-4`,key:`9kzdfg`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`,key:`19p75a`}]]),Hee=l(`gavel`,[[`path`,{d:`m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381`,key:`pgg06f`}],[`path`,{d:`m16 16 6-6`,key:`vzrcl6`}],[`path`,{d:`m21.5 10.5-8-8`,key:`a17d9x`}],[`path`,{d:`m8 8 6-6`,key:`18bi4p`}],[`path`,{d:`m8.5 7.5 8 8`,key:`1oyaui`}]]),Uee=l(`gem`,[[`path`,{d:`M10.5 3 8 9l4 13 4-13-2.5-6`,key:`b3dvk1`}],[`path`,{d:`M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z`,key:`7w4byz`}],[`path`,{d:`M2 9h20`,key:`16fsjt`}]]),Wee=l(`georgian-lari`,[[`path`,{d:`M11.5 21a7.5 7.5 0 1 1 7.35-9`,key:`1gyj8k`}],[`path`,{d:`M13 12V3`,key:`18om2a`}],[`path`,{d:`M4 21h16`,key:`1h09gz`}],[`path`,{d:`M9 12V3`,key:`geutu0`}]]),Gee=l(`ghost`,[[`path`,{d:`M9 10h.01`,key:`qbtxuw`}],[`path`,{d:`M15 10h.01`,key:`1qmjsl`}],[`path`,{d:`M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z`,key:`uwwb07`}]]),Kee=l(`gift`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`,key:`1sqzm4`}],[`path`,{d:`M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5`,key:`kc0143`}],[`rect`,{x:`3`,y:`7`,width:`18`,height:`4`,rx:`1`,key:`1hberx`}]]),qee=l(`git-branch-minus`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),Jee=l(`git-branch-plus`,[[`path`,{d:`M6 3v12`,key:`qpgusn`}],[`path`,{d:`M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`,key:`1d02ji`}],[`path`,{d:`M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z`,key:`chk6ph`}],[`path`,{d:`M15 6a9 9 0 0 0-9 9`,key:`or332x`}],[`path`,{d:`M18 15v6`,key:`9wciyi`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}]]),uv=l(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),Yee=l(`git-commit-horizontal`,[[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`line`,{x1:`3`,x2:`9`,y1:`12`,y2:`12`,key:`1dyftd`}],[`line`,{x1:`15`,x2:`21`,y1:`12`,y2:`12`,key:`oup4p8`}]]),Xee=l(`git-commit-vertical`,[[`path`,{d:`M12 3v6`,key:`1holv5`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`M12 15v6`,key:`a9ows0`}]]),Zee=l(`git-compare-arrows`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`,key:`1yj91y`}],[`path`,{d:`m15 9-3-3 3-3`,key:`1lwv8l`}],[`circle`,{cx:`19`,cy:`18`,r:`3`,key:`1qljk2`}],[`path`,{d:`M12 18H7a2 2 0 0 1-2-2V9`,key:`16sdep`}],[`path`,{d:`m9 15 3 3-3 3`,key:`1m3kbl`}]]),Qee=l(`git-compare`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`,key:`1yeb86`}],[`path`,{d:`M11 18H8a2 2 0 0 1-2-2V9`,key:`19pyzm`}]]),$ee=l(`git-fork`,[[`circle`,{cx:`12`,cy:`18`,r:`3`,key:`1mpf1b`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`path`,{d:`M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9`,key:`1uq4wg`}],[`path`,{d:`M12 12v3`,key:`158kv8`}]]),ete=l(`git-graph`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M5 9v6`,key:`158jrl`}],[`circle`,{cx:`5`,cy:`18`,r:`3`,key:`104gr9`}],[`path`,{d:`M12 3v18`,key:`108xh3`}],[`circle`,{cx:`19`,cy:`6`,r:`3`,key:`108a5v`}],[`path`,{d:`M16 15.7A9 9 0 0 0 19 9`,key:`1e3vqb`}]]),tte=l(`git-merge-conflict`,[[`path`,{d:`M12 6h4a2 2 0 0 1 2 2v7`,key:`18ej7s`}],[`path`,{d:`M6 12v9`,key:`9e33v1`}],[`path`,{d:`M9 3 3 9`,key:`ahyygn`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),nte=l(`git-merge`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`,key:`7kw0sc`}]]),rte=l(`git-pull-request-arrow`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M5 9v12`,key:`ih889a`}],[`circle`,{cx:`19`,cy:`18`,r:`3`,key:`1qljk2`}],[`path`,{d:`m15 9-3-3 3-3`,key:`1lwv8l`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v7`,key:`1yj91y`}]]),ite=l(`git-pull-request-create-arrow`,[[`circle`,{cx:`5`,cy:`6`,r:`3`,key:`1qnov2`}],[`path`,{d:`M5 9v12`,key:`ih889a`}],[`path`,{d:`m15 9-3-3 3-3`,key:`1lwv8l`}],[`path`,{d:`M12 6h5a2 2 0 0 1 2 2v3`,key:`1rbwk6`}],[`path`,{d:`M19 15v6`,key:`10aioa`}],[`path`,{d:`M22 18h-6`,key:`1d5gi5`}]]),ate=l(`git-pull-request-closed`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 9v12`,key:`1sc30k`}],[`path`,{d:`m21 3-6 6`,key:`16nqsk`}],[`path`,{d:`m21 9-6-6`,key:`9j17rh`}],[`path`,{d:`M18 11.5V15`,key:`65xf6f`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),ote=l(`git-pull-request-create`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 9v12`,key:`1sc30k`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v3`,key:`1jb6z3`}],[`path`,{d:`M18 15v6`,key:`9wciyi`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}]]),ste=l(`git-pull-request-draft`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M18 6V5`,key:`1oao2s`}],[`path`,{d:`M18 11v-1`,key:`11c8tz`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`,key:`rroup`}]]),cte=l(`git-pull-request`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`,key:`1yeb86`}],[`line`,{x1:`6`,x2:`6`,y1:`9`,y2:`21`,key:`rroup`}]]),lte=l(`glasses`,[[`circle`,{cx:`6`,cy:`15`,r:`4`,key:`vux9w4`}],[`circle`,{cx:`18`,cy:`15`,r:`4`,key:`18o8ve`}],[`path`,{d:`M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2`,key:`1ag4bs`}],[`path`,{d:`M2.5 13 5 7c.7-1.3 1.4-2 3-2`,key:`1hm1gs`}],[`path`,{d:`M21.5 13 19 7c-.7-1.3-1.5-2-3-2`,key:`1r31ai`}]]),ute=l(`glass-water`,[[`path`,{d:`M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z`,key:`p55z4y`}],[`path`,{d:`M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0`,key:`mjntcy`}]]),dte=l(`globe-check`,[[`path`,{d:`m15 6 2 2 4-4`,key:`levio8`}],[`path`,{d:`M2 12h20A10 10 0 1 1 12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 4-10`,key:`46evmv`}]]),fte=l(`globe-lock`,[[`path`,{d:`M15.686 15A14.5 14.5 0 0 1 12 22a14.5 14.5 0 0 1 0-20 10 10 0 1 0 9.542 13`,key:`qkt0x6`}],[`path`,{d:`M2 12h8.5`,key:`ovaggd`}],[`path`,{d:`M20 6V4a2 2 0 1 0-4 0v2`,key:`1of5e8`}],[`rect`,{width:`8`,height:`5`,x:`14`,y:`6`,rx:`1`,key:`1fmf51`}]]),pte=l(`globe-off`,[[`path`,{d:`M10.114 4.462A14.5 14.5 0 0 1 12 2a10 10 0 0 1 9.313 13.643`,key:`1jq2r7`}],[`path`,{d:`M15.557 15.556A14.5 14.5 0 0 1 12 22 10 10 0 0 1 4.929 4.929`,key:`1ohfya`}],[`path`,{d:`M15.892 10.234A14.5 14.5 0 0 0 12 2a10 10 0 0 0-3.643.687`,key:`1fyh9w`}],[`path`,{d:`M17.656 12H22`,key:`1ttse4`}],[`path`,{d:`M19.071 19.071A10 10 0 0 1 12 22 14.5 14.5 0 0 1 8.44 8.45`,key:`rmtjzo`}],[`path`,{d:`M2 12h10`,key:`19562f`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),dv=l(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),mte=l(`globe-x`,[[`path`,{d:`m16 3 5 5`,key:`1husv6`}],[`path`,{d:`M2 12h20A10 10 0 1 1 12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 4-10`,key:`46evmv`}],[`path`,{d:`m21 3-5 5`,key:`1g5oa7`}]]),hte=l(`goal`,[[`path`,{d:`M12 13V2l8 4-8 4`,key:`5wlwwj`}],[`path`,{d:`M20.561 10.222a9 9 0 1 1-12.55-5.29`,key:`1c0wjv`}],[`path`,{d:`M8.002 9.997a5 5 0 1 0 8.9 2.02`,key:`gb1g7m`}]]),gte=l(`graduation-cap`,[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`,key:`j76jl0`}],[`path`,{d:`M22 10v6`,key:`1lu8f3`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`,key:`1r8lef`}]]),_te=l(`gpu`,[[`path`,{d:`M2 17h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H2`,key:`hpo31w`}],[`path`,{d:`M2 21V3`,key:`1bzk4w`}],[`path`,{d:`M7 17v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3`,key:`5hbqbf`}],[`circle`,{cx:`16`,cy:`11`,r:`2`,key:`qt15rb`}],[`circle`,{cx:`8`,cy:`11`,r:`2`,key:`ssideg`}]]),vte=l(`grape`,[[`path`,{d:`M22 5V2l-5.89 5.89`,key:`1eenpo`}],[`circle`,{cx:`16.6`,cy:`15.89`,r:`3`,key:`xjtalx`}],[`circle`,{cx:`8.11`,cy:`7.4`,r:`3`,key:`u2fv6i`}],[`circle`,{cx:`12.35`,cy:`11.65`,r:`3`,key:`i6i8g7`}],[`circle`,{cx:`13.91`,cy:`5.85`,r:`3`,key:`6ye0dv`}],[`circle`,{cx:`18.15`,cy:`10.09`,r:`3`,key:`snx9no`}],[`circle`,{cx:`6.56`,cy:`13.2`,r:`3`,key:`17x4xg`}],[`circle`,{cx:`10.8`,cy:`17.44`,r:`3`,key:`1hogw9`}],[`circle`,{cx:`5`,cy:`19`,r:`3`,key:`1sn6vo`}]]),yte=l(`grid-2x2-check`,[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`,key:`11za1p`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}]]),bte=l(`grid-2x2-plus`,[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`,key:`11za1p`}],[`path`,{d:`M16 19h6`,key:`xwg31i`}],[`path`,{d:`M19 22v-6`,key:`qhmiwi`}]]),xte=l(`grid-2x2-x`,[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`,key:`11za1p`}],[`path`,{d:`m16 16 5 5`,key:`8tpb07`}],[`path`,{d:`m16 21 5-5`,key:`193jll`}]]),Ste=l(`grid-2x2`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),Cte=l(`grid-3x2`,[[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),wte=l(`grid-3x3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]),Tte=l(`grip-horizontal`,[[`circle`,{cx:`12`,cy:`9`,r:`1`,key:`124mty`}],[`circle`,{cx:`19`,cy:`9`,r:`1`,key:`1ruzo2`}],[`circle`,{cx:`5`,cy:`9`,r:`1`,key:`1a8b28`}],[`circle`,{cx:`12`,cy:`15`,r:`1`,key:`1e56xg`}],[`circle`,{cx:`19`,cy:`15`,r:`1`,key:`1a92ep`}],[`circle`,{cx:`5`,cy:`15`,r:`1`,key:`5r1jwy`}]]),Ete=l(`grip`,[[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`19`,cy:`5`,r:`1`,key:`w8mnmm`}],[`circle`,{cx:`5`,cy:`5`,r:`1`,key:`lttvr7`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}],[`circle`,{cx:`19`,cy:`19`,r:`1`,key:`shf9b7`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]]),fv=l(`grip-vertical`,[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]),Dte=l(`ham`,[[`path`,{d:`M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856`,key:`1k1t7q`}],[`path`,{d:`M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288`,key:`153t1g`}],[`path`,{d:`M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025`,key:`gzrt0n`}],[`path`,{d:`m8.5 16.5-1-1`,key:`otr954`}]]),Ote=l(`group`,[[`path`,{d:`M3 7V5c0-1.1.9-2 2-2h2`,key:`adw53z`}],[`path`,{d:`M17 3h2c1.1 0 2 .9 2 2v2`,key:`an4l38`}],[`path`,{d:`M21 17v2c0 1.1-.9 2-2 2h-2`,key:`144t0e`}],[`path`,{d:`M7 21H5c-1.1 0-2-.9-2-2v-2`,key:`rtnfgi`}],[`rect`,{width:`7`,height:`5`,x:`7`,y:`7`,rx:`1`,key:`1eyiv7`}],[`rect`,{width:`7`,height:`5`,x:`10`,y:`12`,rx:`1`,key:`1qlmkx`}]]),kte=l(`hamburger`,[[`path`,{d:`M12 16H4a2 2 0 1 1 0-4h16a2 2 0 1 1 0 4h-4.25`,key:`5dloqd`}],[`path`,{d:`M5 12a2 2 0 0 1-2-2 9 7 0 0 1 18 0 2 2 0 0 1-2 2`,key:`1vl3my`}],[`path`,{d:`M5 16a2 2 0 0 0-2 2 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 2 2 0 0 0-2-2q0 0 0 0`,key:`1us75o`}],[`path`,{d:`m6.67 12 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2`,key:`qqzweh`}]]),Ate=l(`guitar`,[[`path`,{d:`m11.9 12.1 4.514-4.514`,key:`109xqo`}],[`path`,{d:`M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z`,key:`txyc8t`}],[`path`,{d:`m6 16 2 2`,key:`16qmzd`}],[`path`,{d:`M8.23 9.85A3 3 0 0 1 11 8a5 5 0 0 1 5 5 3 3 0 0 1-1.85 2.77l-.92.38A2 2 0 0 0 12 18a4 4 0 0 1-4 4 6 6 0 0 1-6-6 4 4 0 0 1 4-4 2 2 0 0 0 1.85-1.23z`,key:`1de1vg`}]]),jte=l(`hammer`,[[`path`,{d:`m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9`,key:`1hayfq`}],[`path`,{d:`m18 15 4-4`,key:`16gjal`}],[`path`,{d:`m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5`,key:`15ts47`}]]),Mte=l(`hand-coins`,[[`path`,{d:`M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17`,key:`geh8rc`}],[`path`,{d:`m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`,key:`1fto5m`}],[`path`,{d:`m2 16 6 6`,key:`1pfhp9`}],[`circle`,{cx:`16`,cy:`9`,r:`2.9`,key:`1n0dlu`}],[`circle`,{cx:`6`,cy:`5`,r:`3`,key:`151irh`}]]),Nte=l(`hand-fist`,[[`path`,{d:`M12.035 17.012a3 3 0 0 0-3-3l-.311-.002a.72.72 0 0 1-.505-1.229l1.195-1.195A2 2 0 0 1 10.828 11H12a2 2 0 0 0 0-4H9.243a3 3 0 0 0-2.122.879l-2.707 2.707A4.83 4.83 0 0 0 3 14a8 8 0 0 0 8 8h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v2a2 2 0 1 0 4 0`,key:`1ff7rl`}],[`path`,{d:`M13.888 9.662A2 2 0 0 0 17 8V5A2 2 0 1 0 13 5`,key:`1xmd21`}],[`path`,{d:`M9 5A2 2 0 1 0 5 5V10`,key:`f3wfjw`}],[`path`,{d:`M9 7V4A2 2 0 1 1 13 4V7.268`,key:`eaoucv`}]]),Pte=l(`hand-grab`,[[`path`,{d:`M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4`,key:`edstyy`}],[`path`,{d:`M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`,key:`19wdwo`}],[`path`,{d:`M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5`,key:`1lugqo`}],[`path`,{d:`M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1hbeus`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0`,key:`1etffm`}]]),Fte=l(`hand-heart`,[[`path`,{d:`M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16`,key:`1v1a37`}],[`path`,{d:`m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95`,key:`fhfbnt`}],[`path`,{d:`m2 15 6 6`,key:`10dquu`}],[`path`,{d:`m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91`,key:`1x6kdw`}]]),Ite=l(`hand-helping`,[[`path`,{d:`M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14`,key:`1j4xps`}],[`path`,{d:`m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`,key:`uospg8`}],[`path`,{d:`m2 13 6 6`,key:`16e5sb`}]]),Lte=l(`hand-metal`,[[`path`,{d:`M18 12.5V10a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4`,key:`wc6myp`}],[`path`,{d:`M14 11V9a2 2 0 1 0-4 0v2`,key:`94qvcw`}],[`path`,{d:`M10 10.5V5a2 2 0 1 0-4 0v9`,key:`m1ah89`}],[`path`,{d:`m7 15-1.76-1.76a2 2 0 0 0-2.83 2.82l3.6 3.6C7.5 21.14 9.2 22 12 22h2a8 8 0 0 0 8-8V7a2 2 0 1 0-4 0v5`,key:`t1skq1`}]]),Rte=l(`hand-platter`,[[`path`,{d:`M12 3V2`,key:`ar7q03`}],[`path`,{d:`m15.4 17.4 3.2-2.8a2 2 0 1 1 2.8 2.9l-3.6 3.3c-.7.8-1.7 1.2-2.8 1.2h-4c-1.1 0-2.1-.4-2.8-1.2l-1.302-1.464A1 1 0 0 0 6.151 19H5`,key:`n2g93r`}],[`path`,{d:`M2 14h12a2 2 0 0 1 0 4h-2`,key:`1o2jem`}],[`path`,{d:`M4 10h16`,key:`img6z1`}],[`path`,{d:`M5 10a7 7 0 0 1 14 0`,key:`1ega1o`}],[`path`,{d:`M5 14v6a1 1 0 0 1-1 1H2`,key:`1hescx`}]]),zte=l(`hand`,[[`path`,{d:`M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1fvzgz`}],[`path`,{d:`M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`,key:`1kc0my`}],[`path`,{d:`M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8`,key:`10h0bg`}],[`path`,{d:`M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`,key:`1s1gnw`}]]),Bte=l(`handbag`,[[`path`,{d:`M2.048 18.566A2 2 0 0 0 4 21h16a2 2 0 0 0 1.952-2.434l-2-9A2 2 0 0 0 18 8H6a2 2 0 0 0-1.952 1.566z`,key:`1qbui5`}],[`path`,{d:`M8 11V6a4 4 0 0 1 8 0v5`,key:`tcht90`}]]),Vte=l(`hard-drive-download`,[[`path`,{d:`M12 2v8`,key:`1q4o3n`}],[`path`,{d:`m16 6-4 4-4-4`,key:`6wukr`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`M10 18h.01`,key:`h775k`}]]),Hte=l(`handshake`,[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`,key:`efffak`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`,key:`9pr0kb`}],[`path`,{d:`m21 3 1 11h-2`,key:`1tisrp`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`,key:`1uvwmv`}],[`path`,{d:`M3 4h8`,key:`1ep09j`}]]),Ute=l(`hard-drive-upload`,[[`path`,{d:`m16 6-4-4-4 4`,key:`13yo43`}],[`path`,{d:`M12 2v8`,key:`1q4o3n`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`M10 18h.01`,key:`h775k`}]]),Wte=l(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),Gte=l(`hard-hat`,[[`path`,{d:`M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5`,key:`1p9q5i`}],[`path`,{d:`M14 6a6 6 0 0 1 6 6v3`,key:`1hnv84`}],[`path`,{d:`M4 15v-3a6 6 0 0 1 6-6`,key:`9ciidu`}],[`rect`,{x:`2`,y:`15`,width:`20`,height:`4`,rx:`1`,key:`g3x8cw`}]]),pv=l(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),Kte=l(`hat-glasses`,[[`path`,{d:`M14 18a2 2 0 0 0-4 0`,key:`1v8fkw`}],[`path`,{d:`m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11`,key:`1fkr7p`}],[`path`,{d:`M2 11h20`,key:`3eubbj`}],[`circle`,{cx:`17`,cy:`18`,r:`3`,key:`82mm0e`}],[`circle`,{cx:`7`,cy:`18`,r:`3`,key:`lvkj7j`}]]),qte=l(`haze`,[[`path`,{d:`m5.2 6.2 1.4 1.4`,key:`17imol`}],[`path`,{d:`M2 13h2`,key:`13gyu8`}],[`path`,{d:`M20 13h2`,key:`16rner`}],[`path`,{d:`m17.4 7.6 1.4-1.4`,key:`t4xlah`}],[`path`,{d:`M22 17H2`,key:`1gtaj3`}],[`path`,{d:`M22 21H2`,key:`1gy6en`}],[`path`,{d:`M16 13a4 4 0 0 0-8 0`,key:`1dyczq`}],[`path`,{d:`M12 5V2.5`,key:`1vytko`}]]),Jte=l(`hd`,[[`path`,{d:`M10 12H6`,key:`15f2ro`}],[`path`,{d:`M10 15V9`,key:`1lckn7`}],[`path`,{d:`M14 14.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z`,key:`b3f847`}],[`path`,{d:`M6 15V9`,key:`12stmj`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`,key:`qneu4z`}]]),Yte=l(`hdmi-port`,[[`path`,{d:`M22 9a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h1l2 2h12l2-2h1a1 1 0 0 0 1-1Z`,key:`2128wb`}],[`path`,{d:`M7.5 12h9`,key:`1t0ckc`}]]),mv=l(`heading-1`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`m17 12 3-2v8`,key:`1hhhft`}]]),hv=l(`heading-2`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`,key:`9jr5yi`}]]),Xte=l(`heading-4`,[[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17 10v3a1 1 0 0 0 1 1h3`,key:`tj5zdr`}],[`path`,{d:`M21 10v8`,key:`1kdml4`}],[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}]]),gv=l(`heading-3`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`,key:`68ncm8`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`,key:`1ejuhz`}]]),Zte=l(`heading-5`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17 13v-3h4`,key:`1nvgqp`}],[`path`,{d:`M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17`,key:`2nebdn`}]]),Qte=l(`heading-6`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`circle`,{cx:`19`,cy:`16`,r:`2`,key:`15mx69`}],[`path`,{d:`M20 10c-2 2-3 3.5-3 6`,key:`f35dl0`}]]),$te=l(`heading`,[[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}],[`path`,{d:`M18 20V4`,key:`o2hl4u`}]]),ene=l(`headphone-off`,[[`path`,{d:`M21 14h-1.343`,key:`1jdnxi`}],[`path`,{d:`M9.128 3.47A9 9 0 0 1 21 12v3.343`,key:`6kipu2`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20.414 20.414A2 2 0 0 1 19 21h-1a2 2 0 0 1-2-2v-3`,key:`9x50f4`}],[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 2.636-6.364`,key:`1bkxnm`}]]),tne=l(`headphones`,[[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3`,key:`1xhozi`}]]),nne=l(`headset`,[[`path`,{d:`M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z`,key:`12oyoe`}],[`path`,{d:`M21 16v2a4 4 0 0 1-4 4h-5`,key:`1x7m43`}]]),rne=l(`heart-crack`,[[`path`,{d:`M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15`,key:`idzbju`}],[`path`,{d:`M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z`,key:`1su70f`}]]),ine=l(`heart-handshake`,[[`path`,{d:`M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762`,key:`17lmqv`}]]),ane=l(`heart-minus`,[[`path`,{d:`m14.876 18.99-1.368 1.323a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.244 1.572`,key:`15yztm`}],[`path`,{d:`M15 15h6`,key:`1u4692`}]]),one=l(`heart-off`,[[`path`,{d:`M10.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655`,key:`1inpfl`}],[`path`,{d:`m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761`,key:`vbc6x7`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),sne=l(`heart-plus`,[[`path`,{d:`m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49`,key:`wg5jx`}],[`path`,{d:`M15 15h6`,key:`1u4692`}],[`path`,{d:`M18 12v6`,key:`1houu1`}]]),cne=l(`heart-x`,[[`path`,{d:`m15.5 12.5 5 5`,key:`15wbfr`}],[`path`,{d:`m20.5 12.5-5 5`,key:`o012pn`}],[`path`,{d:`M21.955 8.774a5.5 5.5 0 0 0-9.546-2.95.6.6 0 0 1-.818 0A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.508 5.332a2 2 0 0 0 2.57.352`,key:`c1obtn`}]]),lne=l(`heart-pulse`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}],[`path`,{d:`M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27`,key:`auskq0`}]]),_v=l(`heart`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]),une=l(`heater`,[[`path`,{d:`M11 8c2-3-2-3 0-6`,key:`1ldv5m`}],[`path`,{d:`M15.5 8c2-3-2-3 0-6`,key:`1otqoz`}],[`path`,{d:`M6 10h.01`,key:`1lbq93`}],[`path`,{d:`M6 14h.01`,key:`zudwn7`}],[`path`,{d:`M10 16v-4`,key:`1c25yv`}],[`path`,{d:`M14 16v-4`,key:`1dkbt8`}],[`path`,{d:`M18 16v-4`,key:`1yg9me`}],[`path`,{d:`M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3`,key:`1ubg90`}],[`path`,{d:`M5 20v2`,key:`1abpe8`}],[`path`,{d:`M19 20v2`,key:`kqn6ft`}]]),vv=l(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]),dne=l(`highlighter`,[[`path`,{d:`m9 11-6 6v3h9l3-3`,key:`1a3l36`}],[`path`,{d:`m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4`,key:`14a9rk`}]]),fne=l(`helicopter`,[[`path`,{d:`M11 17v4`,key:`14wq8k`}],[`path`,{d:`M14 3v8a2 2 0 0 0 2 2h5.865`,key:`12oo5h`}],[`path`,{d:`M17 17v4`,key:`hdt4hh`}],[`path`,{d:`M18 17a4 4 0 0 0 4-4 8 6 0 0 0-8-6 6 5 0 0 0-6 5v3a2 2 0 0 0 2 2z`,key:`yynif`}],[`path`,{d:`M2 10v5`,key:`sa5akn`}],[`path`,{d:`M6 3h16`,key:`27qw71`}],[`path`,{d:`M7 21h14`,key:`1ugz0u`}],[`path`,{d:`M8 13H2`,key:`1thz1o`}]]),yv=l(`history`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]]),pne=l(`hop-off`,[[`path`,{d:`M10.82 16.12c1.69.6 3.91.79 5.18.85.28.01.53-.09.7-.27`,key:`qyzcap`}],[`path`,{d:`M11.14 20.57c.52.24 2.44 1.12 4.08 1.37.46.06.86-.25.9-.71.12-1.52-.3-3.43-.5-4.28`,key:`y078lb`}],[`path`,{d:`M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .7-.26`,key:`1utre3`}],[`path`,{d:`M17.99 5.52a20.83 20.83 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-1.17.1-2.5.02-3.9-.25`,key:`17o9hm`}],[`path`,{d:`M20.57 11.14c.24.52 1.12 2.44 1.37 4.08.04.3-.08.59-.31.75`,key:`1d1n4p`}],[`path`,{d:`M4.93 4.93a10 10 0 0 0-.67 13.4c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.85.85 0 0 0 .48-.24`,key:`9uv3tt`}],[`path`,{d:`M5.52 17.99c1.05.95 2.91 2.42 4.5 3.15a.8.8 0 0 0 1.13-.68c.2-2.34-.33-5.3-1.57-8.28`,key:`1292wz`}],[`path`,{d:`M8.35 2.68a10 10 0 0 1 9.98 1.58c.43.35.4.96-.12 1.17-1.5.6-4.3.98-6.07 1.05`,key:`7ozu9p`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),mne=l(`hop`,[[`path`,{d:`M10.82 16.12c1.69.6 3.91.79 5.18.85.55.03 1-.42.97-.97-.06-1.27-.26-3.5-.85-5.18`,key:`18lxf1`}],[`path`,{d:`M11.5 6.5c1.64 0 5-.38 6.71-1.07.52-.2.55-.82.12-1.17A10 10 0 0 0 4.26 18.33c.35.43.96.4 1.17-.12.69-1.71 1.07-5.07 1.07-6.71 1.34.45 3.1.9 4.88.62a.88.88 0 0 0 .73-.74c.3-2.14-.15-3.5-.61-4.88`,key:`vtfxrw`}],[`path`,{d:`M15.62 16.95c.2.85.62 2.76.5 4.28a.77.77 0 0 1-.9.7 16.64 16.64 0 0 1-4.08-1.36`,key:`13hl71`}],[`path`,{d:`M16.13 21.05c1.65.63 3.68.84 4.87.91a.9.9 0 0 0 .96-.96 17.68 17.68 0 0 0-.9-4.87`,key:`1sl8oj`}],[`path`,{d:`M16.94 15.62c.86.2 2.77.62 4.29.5a.77.77 0 0 0 .7-.9 16.64 16.64 0 0 0-1.36-4.08`,key:`19c6kt`}],[`path`,{d:`M17.99 5.52a20.82 20.82 0 0 1 3.15 4.5.8.8 0 0 1-.68 1.13c-2.33.2-5.3-.32-8.27-1.57`,key:`85ghs3`}],[`path`,{d:`M4.93 4.93 3 3a.7.7 0 0 1 0-1`,key:`x087yj`}],[`path`,{d:`M9.58 12.18c1.24 2.98 1.77 5.95 1.57 8.28a.8.8 0 0 1-1.13.68 20.82 20.82 0 0 1-4.5-3.15`,key:`11xdqo`}]]),hne=l(`hospital`,[[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M14 9h-4`,key:`1w2s2s`}],[`path`,{d:`M18 11h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2`,key:`1tthqt`}],[`path`,{d:`M18 21V5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16`,key:`dw4p4i`}]]),gne=l(`hotel`,[[`path`,{d:`M10 22v-6.57`,key:`1wmca3`}],[`path`,{d:`M12 11h.01`,key:`z322tv`}],[`path`,{d:`M12 7h.01`,key:`1ivr5q`}],[`path`,{d:`M14 15.43V22`,key:`1q2vjd`}],[`path`,{d:`M15 16a5 5 0 0 0-6 0`,key:`o9wqvi`}],[`path`,{d:`M16 11h.01`,key:`xkw8gn`}],[`path`,{d:`M16 7h.01`,key:`1kdx03`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 7h.01`,key:`1vti4s`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`,key:`1uxh74`}]]),_ne=l(`hourglass`,[[`path`,{d:`M5 22h14`,key:`ehvnwv`}],[`path`,{d:`M5 2h14`,key:`pdyrp9`}],[`path`,{d:`M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22`,key:`1d314k`}],[`path`,{d:`M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2`,key:`1vvvr6`}]]),vne=l(`house-heart`,[[`path`,{d:`M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z`,key:`n9s7kx`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),yne=l(`house-plug`,[[`path`,{d:`M10 12V8.964`,key:`1vll13`}],[`path`,{d:`M14 12V8.964`,key:`1x3qvg`}],[`path`,{d:`M15 12a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2a1 1 0 0 1 1-1z`,key:`ppykja`}],[`path`,{d:`M8.5 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2`,key:`365xoy`}]]),bne=l(`house-plus`,[[`path`,{d:`M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35`,key:`8ek5ge`}],[`path`,{d:`M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8`,key:`1rbg29`}],[`path`,{d:`M15 18h6`,key:`3b3c90`}],[`path`,{d:`M18 15v6`,key:`9wciyi`}]]),xne=l(`house-wifi`,[[`path`,{d:`M9.5 13.866a4 4 0 0 1 5 .01`,key:`1wy54i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}],[`path`,{d:`M7 10.754a8 8 0 0 1 10 0`,key:`exoy2g`}]]),Sne=l(`ice-cream-bowl`,[[`path`,{d:`M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0`,key:`1uxfcu`}],[`path`,{d:`M12.14 11a3.5 3.5 0 1 1 6.71 0`,key:`4k3m1s`}],[`path`,{d:`M15.5 6.5a3.5 3.5 0 1 0-7 0`,key:`zmuahr`}]]),Cne=l(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),wne=l(`ice-cream-cone`,[[`path`,{d:`m7 11 4.08 10.35a1 1 0 0 0 1.84 0L17 11`,key:`1v6356`}],[`path`,{d:`M17 7A5 5 0 0 0 7 7`,key:`151p3v`}],[`path`,{d:`M17 7a2 2 0 0 1 0 4H7a2 2 0 0 1 0-4`,key:`1sdaij`}]]),Tne=l(`id-card-lanyard`,[[`path`,{d:`M13.5 8h-3`,key:`xvov4w`}],[`path`,{d:`m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3`,key:`16uttc`}],[`path`,{d:`M16.899 22A5 5 0 0 0 7.1 22`,key:`1d0ppr`}],[`path`,{d:`m9 2 3 6`,key:`1o7bd9`}],[`circle`,{cx:`12`,cy:`15`,r:`3`,key:`g36mzq`}]]),Ene=l(`id-card`,[[`path`,{d:`M16 10h2`,key:`8sgtl7`}],[`path`,{d:`M16 14h2`,key:`epxaof`}],[`path`,{d:`M6.17 15a3 3 0 0 1 5.66 0`,key:`n6f512`}],[`circle`,{cx:`9`,cy:`11`,r:`2`,key:`yxgjnd`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`,key:`qneu4z`}]]),Dne=l(`image-minus`,[[`path`,{d:`M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7`,key:`m87ecr`}],[`line`,{x1:`16`,x2:`22`,y1:`5`,y2:`5`,key:`ez7e4s`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),bv=l(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]),One=l(`image-down`,[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`,key:`9csbqa`}],[`path`,{d:`m14 19 3 3v-5.5`,key:`9ldu5r`}],[`path`,{d:`m17 22 3-3`,key:`1nkfve`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),kne=l(`image-play`,[[`path`,{d:`M15 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`,key:`nrt1m3`}],[`path`,{d:`M21 12.17V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`,key:`99hgts`}],[`path`,{d:`m6 21 5-5`,key:`1wyjai`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),xv=l(`image-plus`,[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),Ane=l(`image-up`,[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`,key:`9csbqa`}],[`path`,{d:`m14 19.5 3-3 3 3`,key:`9vmjn0`}],[`path`,{d:`M17 22v-5.5`,key:`1aa6fl`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),jne=l(`image-upscale`,[[`path`,{d:`M16 3h5v5`,key:`1806ms`}],[`path`,{d:`M17 21h2a2 2 0 0 0 2-2`,key:`130fy9`}],[`path`,{d:`M21 12v3`,key:`1wzk3p`}],[`path`,{d:`m21 3-5 5`,key:`1g5oa7`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2`,key:`kk3yz1`}],[`path`,{d:`m5 21 4.144-4.144a1.21 1.21 0 0 1 1.712 0L13 19`,key:`fyekpt`}],[`path`,{d:`M9 3h3`,key:`d52fa`}],[`rect`,{x:`3`,y:`11`,width:`10`,height:`10`,rx:`1`,key:`1wpmix`}]]),Sv=l(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),Mne=l(`images`,[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`,key:`9kzy35`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`,key:`1t0f0t`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`,key:`1obus6`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`,key:`1gvhby`}]]),Nne=l(`import`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m8 11 4 4 4-4`,key:`1dohi6`}],[`path`,{d:`M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4`,key:`1ywtjm`}]]),Pne=l(`inbox`,[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]),Fne=l(`indian-rupee`,[[`path`,{d:`M6 3h12`,key:`ggurg9`}],[`path`,{d:`M6 8h12`,key:`6g4wlu`}],[`path`,{d:`m6 13 8.5 8`,key:`u1kupk`}],[`path`,{d:`M6 13h3`,key:`wdp6ag`}],[`path`,{d:`M9 13c6.667 0 6.667-10 0-10`,key:`1nkvk2`}]]),Ine=l(`infinity`,[[`path`,{d:`M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8`,key:`18ogeb`}]]),Cv=l(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),Lne=l(`inspection-panel`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 7h.01`,key:`7u93v4`}],[`path`,{d:`M17 7h.01`,key:`14a9sn`}],[`path`,{d:`M7 17h.01`,key:`19xn7k`}],[`path`,{d:`M17 17h.01`,key:`1sd3ek`}]]),wv=l(`italic`,[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`,key:`15jd3p`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`,key:`bu0au3`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`,key:`uljnxc`}]]),Rne=l(`iteration-ccw`,[[`path`,{d:`m16 14 4 4-4 4`,key:`hkso8o`}],[`path`,{d:`M20 10a8 8 0 1 0-8 8h8`,key:`1bik7b`}]]),zne=l(`iteration-cw`,[[`path`,{d:`M4 10a8 8 0 1 1 8 8H4`,key:`svv66n`}],[`path`,{d:`m8 22-4-4 4-4`,key:`6g7gki`}]]),Bne=l(`japanese-yen`,[[`path`,{d:`M12 9.5V21m0-11.5L6 3m6 6.5L18 3`,key:`2ej80x`}],[`path`,{d:`M6 15h12`,key:`1hwgt5`}],[`path`,{d:`M6 11h12`,key:`wf4gp6`}]]),Vne=l(`joystick`,[[`path`,{d:`M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z`,key:`jg2n2t`}],[`path`,{d:`M6 15v-2`,key:`gd6mvg`}],[`path`,{d:`M12 15V9`,key:`8c7uyn`}],[`circle`,{cx:`12`,cy:`6`,r:`3`,key:`1gm2ql`}]]),Hne=l(`kanban`,[[`path`,{d:`M5 3v14`,key:`9nsxs2`}],[`path`,{d:`M12 3v8`,key:`1h2ygw`}],[`path`,{d:`M19 3v18`,key:`1sk56x`}]]),Tv=l(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),Une=l(`key-square`,[[`path`,{d:`M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z`,key:`165ttr`}],[`path`,{d:`m14 7 3 3`,key:`1r5n42`}],[`path`,{d:`m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814`,key:`1ubxi2`}]]),Wne=l(`key`,[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`,key:`g0fldk`}],[`path`,{d:`m21 2-9.6 9.6`,key:`1j0ho8`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`,key:`yqb3hr`}]]),Gne=l(`keyboard-music`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`M6 8h4`,key:`utf9t1`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`M6 12v4`,key:`dy92yo`}],[`path`,{d:`M10 12v4`,key:`1fxnav`}],[`path`,{d:`M14 12v4`,key:`1hft58`}],[`path`,{d:`M18 12v4`,key:`tjjnbz`}]]),Kne=l(`kayak`,[[`path`,{d:`M18 17a1 1 0 0 0-1 1v1a2 2 0 1 0 2-2z`,key:`skzb1g`}],[`path`,{d:`M20.97 3.61a.45.45 0 0 0-.58-.58C10.2 6.6 6.6 10.2 3.03 20.39a.45.45 0 0 0 .58.58C13.8 17.4 17.4 13.8 20.97 3.61`,key:`cv9jm7`}],[`path`,{d:`m6.707 6.707 10.586 10.586`,key:`d2l993`}],[`path`,{d:`M7 5a2 2 0 1 0-2 2h1a1 1 0 0 0 1-1z`,key:`i0et4n`}]]),qne=l(`keyboard-off`,[[`path`,{d:`M 20 4 A2 2 0 0 1 22 6`,key:`1g1fkt`}],[`path`,{d:`M 22 6 L 22 16.41`,key:`1qjg3w`}],[`path`,{d:`M 7 16 L 16 16`,key:`n0yqwb`}],[`path`,{d:`M 9.69 4 L 20 4`,key:`kbpcgx`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2`,key:`s23sx2`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}]]),Jne=l(`lamp-ceiling`,[[`path`,{d:`M12 2v5`,key:`nd4vlx`}],[`path`,{d:`M14.829 15.998a3 3 0 1 1-5.658 0`,key:`1pybiy`}],[`path`,{d:`M20.92 14.606A1 1 0 0 1 20 16H4a1 1 0 0 1-.92-1.394l3-7A1 1 0 0 1 7 7h10a1 1 0 0 1 .92.606z`,key:`ma1wor`}]]),Ev=l(`keyboard`,[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]),Yne=l(`lamp-desk`,[[`path`,{d:`M10.293 2.293a1 1 0 0 1 1.414 0l2.5 2.5 5.994 1.227a1 1 0 0 1 .506 1.687l-7 7a1 1 0 0 1-1.687-.506l-1.227-5.994-2.5-2.5a1 1 0 0 1 0-1.414z`,key:`sb8slu`}],[`path`,{d:`m14.207 4.793-3.414 3.414`,key:`m2x3oj`}],[`path`,{d:`M3 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z`,key:`8b3myj`}],[`path`,{d:`m9.086 6.5-4.793 4.793a1 1 0 0 0-.18 1.17L7 18`,key:`43s6cu`}]]),Xne=l(`lamp-wall-down`,[[`path`,{d:`M19.929 18.629A1 1 0 0 1 19 20H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 13h6a1 1 0 0 1 .928.629z`,key:`u4w2d7`}],[`path`,{d:`M6 3a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z`,key:`15356w`}],[`path`,{d:`M8 6h4a2 2 0 0 1 2 2v5`,key:`1m6m7x`}]]),Zne=l(`lamp-floor`,[[`path`,{d:`M12 10v12`,key:`6ubwww`}],[`path`,{d:`M17.929 7.629A1 1 0 0 1 17 9H7a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 9 2h6a1 1 0 0 1 .928.629z`,key:`1o95gh`}],[`path`,{d:`M9 22h6`,key:`1rlq3v`}]]),Qne=l(`lamp-wall-up`,[[`path`,{d:`M19.929 9.629A1 1 0 0 1 19 11H9a1 1 0 0 1-.928-1.371l2-5A1 1 0 0 1 11 4h6a1 1 0 0 1 .928.629z`,key:`1uvrbf`}],[`path`,{d:`M6 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z`,key:`154r2a`}],[`path`,{d:`M8 18h4a2 2 0 0 0 2-2v-5`,key:`z9mbu0`}]]),$ne=l(`lamp`,[[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`M4.077 10.615A1 1 0 0 0 5 12h14a1 1 0 0 0 .923-1.385l-3.077-7.384A2 2 0 0 0 15 2H9a2 2 0 0 0-1.846 1.23Z`,key:`1l7kg2`}],[`path`,{d:`M8 20a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1z`,key:`1mmzpi`}]]),ere=l(`land-plot`,[[`path`,{d:`m12 8 6-3-6-3v10`,key:`mvpnpy`}],[`path`,{d:`m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12`,key:`ek95tt`}],[`path`,{d:`m6.49 12.85 11.02 6.3`,key:`1kt42w`}],[`path`,{d:`M17.51 12.85 6.5 19.15`,key:`v55bdg`}]]),tre=l(`landmark`,[[`path`,{d:`M10 18v-7`,key:`wt116b`}],[`path`,{d:`M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z`,key:`yxxwt6`}],[`path`,{d:`M14 18v-7`,key:`vav6t3`}],[`path`,{d:`M18 18v-7`,key:`aexdmj`}],[`path`,{d:`M3 22h18`,key:`8prr45`}],[`path`,{d:`M6 18v-7`,key:`1ivflk`}]]),nre=l(`languages`,[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]),rre=l(`laptop-minimal-check`,[[`path`,{d:`M2 20h20`,key:`owomy5`}],[`path`,{d:`m9 10 2 2 4-4`,key:`1gnqz4`}],[`rect`,{x:`3`,y:`4`,width:`18`,height:`12`,rx:`2`,key:`8ur36m`}]]),Dv=l(`laptop`,[[`path`,{d:`M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z`,key:`1pdavp`}],[`path`,{d:`M20.054 15.987H3.946`,key:`14rxg9`}]]),Ov=l(`laptop-minimal`,[[`rect`,{width:`18`,height:`12`,x:`3`,y:`4`,rx:`2`,ry:`2`,key:`1qhy41`}],[`line`,{x1:`2`,x2:`22`,y1:`20`,y2:`20`,key:`ni3hll`}]]),kv=l(`lasso-select`,[[`path`,{d:`M7 22a5 5 0 0 1-2-4`,key:`umushi`}],[`path`,{d:`M7 16.93c.96.43 1.96.74 2.99.91`,key:`ybbtv3`}],[`path`,{d:`M3.34 14A6.8 6.8 0 0 1 2 10c0-4.42 4.48-8 10-8s10 3.58 10 8a7.19 7.19 0 0 1-.33 2`,key:`gt5e1w`}],[`path`,{d:`M5 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z`,key:`bq3ynw`}],[`path`,{d:`M14.33 22h-.09a.35.35 0 0 1-.24-.32v-10a.34.34 0 0 1 .33-.34c.08 0 .15.03.21.08l7.34 6a.33.33 0 0 1-.21.59h-4.49l-2.57 3.85a.35.35 0 0 1-.28.14z`,key:`72q637`}]]),Av=l(`lasso`,[[`path`,{d:`M3.704 14.467a10 8 0 1 1 3.115 2.375`,key:`wxgc5m`}],[`path`,{d:`M7 22a5 5 0 0 1-2-3.994`,key:`1xp6a4`}],[`circle`,{cx:`5`,cy:`16`,r:`2`,key:`18csp3`}]]),jv=l(`laugh`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z`,key:`b2q4dd`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}]]),Mv=l(`layers-2`,[[`path`,{d:`M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`,key:`15q6uc`}],[`path`,{d:`m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845`,key:`byia6g`}]]),Nv=l(`layers-plus`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.831z`,key:`zzgyd3`}],[`path`,{d:`M16 17h6`,key:`1ook5g`}],[`path`,{d:`M19 14v6`,key:`1ckrd5`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 .825.178`,key:`1ia9y3`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l2.116-.962`,key:`jksky3`}]]),Pv=l(`layers-minus`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.832z`,key:`tq134k`}],[`path`,{d:`M16 17h6`,key:`1ook5g`}],[`path`,{d:`M2.003 11.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18`,key:`8mjqed`}],[`path`,{d:`M2.003 16.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l2.11-.96`,key:`7vwz41`}],[`path`,{d:`M22.018 12.004a1 1 0 0 1-.598.916l-.177.08`,key:`bm5b9y`}]]),Fv=l(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),Iv=l(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),Lv=l(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),Rv=l(`layout-panel-left`,[[`rect`,{width:`7`,height:`18`,x:`3`,y:`3`,rx:`1`,key:`2obqm`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}]]),zv=l(`layout-list`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`path`,{d:`M14 4h7`,key:`3xa0d5`}],[`path`,{d:`M14 9h7`,key:`1icrd9`}],[`path`,{d:`M14 15h7`,key:`1mj8o2`}],[`path`,{d:`M14 20h7`,key:`11slyb`}]]),Bv=l(`layout-panel-top`,[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}]]),Vv=l(`layout-template`,[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]),Hv=l(`leaf`,[[`path`,{d:`M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z`,key:`nnexq3`}],[`path`,{d:`M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12`,key:`mt58a7`}]]),Uv=l(`leafy-green`,[[`path`,{d:`M2 22c1.25-.987 2.27-1.975 3.9-2.2a5.56 5.56 0 0 1 3.8 1.5 4 4 0 0 0 6.187-2.353 3.5 3.5 0 0 0 3.69-5.116A3.5 3.5 0 0 0 20.95 8 3.5 3.5 0 1 0 16 3.05a3.5 3.5 0 0 0-5.831 1.373 3.5 3.5 0 0 0-5.116 3.69 4 4 0 0 0-2.348 6.155C3.499 15.42 4.409 16.712 4.2 18.1 3.926 19.743 3.014 20.732 2 22`,key:`1134nt`}],[`path`,{d:`M2 22 17 7`,key:`1q7jp2`}]]),Wv=l(`lectern`,[[`path`,{d:`M16 12h3a2 2 0 0 0 1.902-1.38l1.056-3.333A1 1 0 0 0 21 6H3a1 1 0 0 0-.958 1.287l1.056 3.334A2 2 0 0 0 5 12h3`,key:`13jjxg`}],[`path`,{d:`M18 6V3a1 1 0 0 0-1-1h-3`,key:`1550fe`}],[`rect`,{width:`8`,height:`12`,x:`8`,y:`10`,rx:`1`,key:`qmu8b6`}]]),Gv=l(`lens-concave`,[[`path`,{d:`M7 2a1 1 0 0 0-.8 1.6 14 14 0 0 1 0 16.8A1 1 0 0 0 7 22h10a1 1 0 0 0 .8-1.6 14 14 0 0 1 0-16.8A1 1 0 0 0 17 2z`,key:`109j23`}]]),Kv=l(`lens-convex`,[[`path`,{d:`M13.433 2a1 1 0 0 1 .824.448 18 18 0 0 1 0 19.104 1 1 0 0 1-.824.448h-2.866a1 1 0 0 1-.824-.448 18 18 0 0 1 0-19.104A1 1 0 0 1 10.567 2z`,key:`cq67go`}]]),qv=l(`library`,[[`path`,{d:`m16 6 4 14`,key:`ji33uf`}],[`path`,{d:`M12 6v14`,key:`1n7gus`}],[`path`,{d:`M8 8v12`,key:`1gg7y9`}],[`path`,{d:`M4 4v16`,key:`6qkkli`}]]),Jv=l(`life-buoy`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m4.93 4.93 4.24 4.24`,key:`1ymg45`}],[`path`,{d:`m14.83 9.17 4.24-4.24`,key:`1cb5xl`}],[`path`,{d:`m14.83 14.83 4.24 4.24`,key:`q42g0n`}],[`path`,{d:`m9.17 14.83-4.24 4.24`,key:`bqpfvv`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}]]),Yv=l(`library-big`,[[`rect`,{width:`8`,height:`18`,x:`3`,y:`3`,rx:`1`,key:`oynpb5`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z`,key:`1qboyk`}]]),Xv=l(`ligature`,[[`path`,{d:`M14 12h2v8`,key:`c1fccl`}],[`path`,{d:`M14 20h4`,key:`lzx1xo`}],[`path`,{d:`M6 12h4`,key:`a4o3ry`}],[`path`,{d:`M6 20h4`,key:`1i6q5t`}],[`path`,{d:`M8 20V8a4 4 0 0 1 7.464-2`,key:`wk9t6r`}]]),Zv=l(`lightbulb-off`,[[`path`,{d:`M16.8 11.2c.8-.9 1.2-2 1.2-3.2a6 6 0 0 0-9.3-5`,key:`1fkcox`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M6.3 6.3a4.67 4.67 0 0 0 1.2 5.2c.7.7 1.3 1.5 1.5 2.5`,key:`10m8kw`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),Qv=l(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),$v=l(`line-squiggle`,[[`path`,{d:`M7 3.5c5-2 7 2.5 3 4C1.5 10 2 15 5 16c5 2 9-10 14-7s.5 13.5-4 12c-5-2.5.5-11 6-2`,key:`1lrphd`}]]),ey=l(`line-dot-right-horizontal`,[[`path`,{d:`M 3 12 L 15 12`,key:`ymhu98`}],[`circle`,{cx:`18`,cy:`12`,r:`3`,key:`1kchzo`}]]),ty=l(`line-style`,[[`path`,{d:`M11 5h2`,key:`1s6z07`}],[`path`,{d:`M15 12h6`,key:`upa0zy`}],[`path`,{d:`M19 5h2`,key:`fjylsg`}],[`path`,{d:`M3 12h6`,key:`ra68u1`}],[`path`,{d:`M3 19h18`,key:`awlh7x`}],[`path`,{d:`M3 5h2`,key:`1qgu90`}]]),ny=l(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),ry=l(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),iy=l(`list-check`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M16 12H3`,key:`1a2rj7`}],[`path`,{d:`M11 19H3`,key:`zflm78`}],[`path`,{d:`m15 18 2 2 4-4`,key:`1szwhi`}]]),ay=l(`list-checks`,[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]),oy=l(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),sy=l(`list-chevrons-up-down`,[[`path`,{d:`M3 5h8`,key:`18g2rq`}],[`path`,{d:`M3 12h8`,key:`1xfjp6`}],[`path`,{d:`M3 19h8`,key:`fpbke4`}],[`path`,{d:`m15 8 3-3 3 3`,key:`bc4io6`}],[`path`,{d:`m15 16 3 3 3-3`,key:`9wmg1l`}]]),cy=l(`list-chevrons-down-up`,[[`path`,{d:`M3 5h8`,key:`18g2rq`}],[`path`,{d:`M3 12h8`,key:`1xfjp6`}],[`path`,{d:`M3 19h8`,key:`fpbke4`}],[`path`,{d:`m15 5 3 3 3-3`,key:`1t4thf`}],[`path`,{d:`m15 19 3-3 3 3`,key:`y4ckd2`}]]),ly=l(`list-collapse`,[[`path`,{d:`M10 5h11`,key:`1hkqpe`}],[`path`,{d:`M10 12h11`,key:`6m4ad9`}],[`path`,{d:`M10 19h11`,key:`14g2nv`}],[`path`,{d:`m3 10 3-3-3-3`,key:`i7pm08`}],[`path`,{d:`m3 20 3-3-3-3`,key:`20gx1n`}]]),uy=l(`list-end`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M16 12H3`,key:`1a2rj7`}],[`path`,{d:`M9 19H3`,key:`s61nz1`}],[`path`,{d:`m16 16-3 3 3 3`,key:`117b85`}],[`path`,{d:`M21 5v12a2 2 0 0 1-2 2h-6`,key:`hey24a`}]]),dy=l(`list-filter-plus`,[[`path`,{d:`M12 5H2`,key:`1o22fu`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M9 19h6`,key:`456am0`}],[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 8V2`,key:`1wcffq`}]]),fy=l(`list-filter`,[[`path`,{d:`M2 5h20`,key:`1fs1ex`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M9 19h6`,key:`456am0`}]]),py=l(`list-indent-decrease`,[[`path`,{d:`M21 5H11`,key:`us1j55`}],[`path`,{d:`M21 12H11`,key:`wd7e0v`}],[`path`,{d:`M21 19H11`,key:`saa85w`}],[`path`,{d:`m7 8-4 4 4 4`,key:`o5hrat`}]]),my=l(`list-indent-increase`,[[`path`,{d:`M21 5H11`,key:`us1j55`}],[`path`,{d:`M21 12H11`,key:`wd7e0v`}],[`path`,{d:`M21 19H11`,key:`saa85w`}],[`path`,{d:`m3 8 4 4-4 4`,key:`1a3j6y`}]]),hy=l(`list-minus`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`M21 12h-6`,key:`bt1uis`}]]),gy=l(`list-music`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M11 19H3`,key:`zflm78`}],[`path`,{d:`M21 16V5`,key:`yxg4q8`}],[`circle`,{cx:`18`,cy:`16`,r:`3`,key:`1hluhg`}]]),_y=l(`list-ordered`,[[`path`,{d:`M11 5h10`,key:`1cz7ny`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 19h10`,key:`11t30w`}],[`path`,{d:`M4 4h1v5`,key:`10yrso`}],[`path`,{d:`M4 9h2`,key:`r1h2o0`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`,key:`xtkcd5`}]]),vy=l(`list-plus`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`M18 9v6`,key:`1twb98`}],[`path`,{d:`M21 12h-6`,key:`bt1uis`}]]),yy=l(`list-restart`,[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M7 12H3`,key:`13ou7f`}],[`path`,{d:`M7 19H3`,key:`wbqt3n`}],[`path`,{d:`M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14`,key:`qth677`}],[`path`,{d:`M11 10v4h4`,key:`172dkj`}]]),by=l(`list-start`,[[`path`,{d:`M3 5h6`,key:`1ltk0q`}],[`path`,{d:`M3 12h13`,key:`ppymz1`}],[`path`,{d:`M3 19h13`,key:`bpdczq`}],[`path`,{d:`m16 8-3-3 3-3`,key:`1pjpp6`}],[`path`,{d:`M21 19V7a2 2 0 0 0-2-2h-6`,key:`4zzq67`}]]),xy=l(`list-todo`,[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`rect`,{x:`3`,y:`4`,width:`6`,height:`6`,rx:`1`,key:`cif1o7`}]]),Sy=l(`list-tree`,[[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`,key:`1npucw`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`,key:`x1gjn2`}]]),Cy=l(`list-video`,[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M10 12H3`,key:`1ulcyk`}],[`path`,{d:`M10 19H3`,key:`108z41`}],[`path`,{d:`M15 12.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z`,key:`ms4nik`}]]),wy=l(`list-x`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`m15.5 9.5 5 5`,key:`ytk86i`}],[`path`,{d:`m20.5 9.5-5 5`,key:`17o44f`}]]),Ty=l(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),Ey=l(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Dy=l(`loader-pinwheel`,[[`path`,{d:`M22 12a1 1 0 0 1-10 0 1 1 0 0 0-10 0`,key:`1lzz15`}],[`path`,{d:`M7 20.7a1 1 0 1 1 5-8.7 1 1 0 1 0 5-8.6`,key:`1gnrpi`}],[`path`,{d:`M7 3.3a1 1 0 1 1 5 8.6 1 1 0 1 0 5 8.6`,key:`u9yy5q`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Oy=l(`loader`,[[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m16.2 7.8 2.9-2.9`,key:`r700ao`}],[`path`,{d:`M18 12h4`,key:`wj9ykh`}],[`path`,{d:`m16.2 16.2 2.9 2.9`,key:`1bxg5t`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m4.9 19.1 2.9-2.9`,key:`bwix9q`}],[`path`,{d:`M2 12h4`,key:`j09sii`}],[`path`,{d:`m4.9 4.9 2.9 2.9`,key:`giyufr`}]]),ky=l(`locate-fixed`,[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`,key:`bvdh0s`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`,key:`1tbv5k`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`,key:`11lu5j`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}],[`circle`,{cx:`12`,cy:`12`,r:`7`,key:`fim9np`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Ay=l(`locate-off`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M12 2v3`,key:`qbqxhf`}],[`path`,{d:`M18.89 13.24a7 7 0 0 0-8.13-8.13`,key:`1v9jrh`}],[`path`,{d:`M19 12h3`,key:`osuazr`}],[`path`,{d:`M2 12h3`,key:`1wrr53`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M7.05 7.05a7 7 0 0 0 9.9 9.9`,key:`rc5l2e`}]]),jy=l(`lock-keyhole-open`,[[`circle`,{cx:`12`,cy:`16`,r:`1`,key:`1au0dj`}],[`rect`,{width:`18`,height:`12`,x:`3`,y:`10`,rx:`2`,key:`l0tzu3`}],[`path`,{d:`M7 10V7a5 5 0 0 1 9.33-2.5`,key:`car5b7`}]]),My=l(`locate`,[[`line`,{x1:`2`,x2:`5`,y1:`12`,y2:`12`,key:`bvdh0s`}],[`line`,{x1:`19`,x2:`22`,y1:`12`,y2:`12`,key:`1tbv5k`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`5`,key:`11lu5j`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}],[`circle`,{cx:`12`,cy:`12`,r:`7`,key:`fim9np`}]]),Ny=l(`lock-keyhole`,[[`circle`,{cx:`12`,cy:`16`,r:`1`,key:`1au0dj`}],[`rect`,{x:`3`,y:`10`,width:`18`,height:`12`,rx:`2`,key:`6s8ecr`}],[`path`,{d:`M7 10V7a5 5 0 0 1 10 0v3`,key:`1pqi11`}]]),Py=l(`lock-open`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`,key:`1mm8w8`}]]),Fy=l(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),Iy=l(`log-in`,[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]),Ly=l(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),Ry=l(`logs`,[[`path`,{d:`M3 5h1`,key:`1mv5vm`}],[`path`,{d:`M3 12h1`,key:`lp3yf2`}],[`path`,{d:`M3 19h1`,key:`w6f3n9`}],[`path`,{d:`M8 5h1`,key:`1nxr5w`}],[`path`,{d:`M8 12h1`,key:`1con00`}],[`path`,{d:`M8 19h1`,key:`k7p10e`}],[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}]]),zy=l(`lollipop`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}],[`path`,{d:`M11 11a2 2 0 0 0 4 0 4 4 0 0 0-8 0 6 6 0 0 0 12 0`,key:`107gwy`}]]),By=l(`luggage`,[[`path`,{d:`M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2`,key:`1m57jg`}],[`path`,{d:`M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14`,key:`1l99gc`}],[`path`,{d:`M10 20h4`,key:`ni2waw`}],[`circle`,{cx:`16`,cy:`20`,r:`2`,key:`1vifvg`}],[`circle`,{cx:`8`,cy:`20`,r:`2`,key:`ckkr5m`}]]),Vy=l(`magnet`,[[`path`,{d:`m12 15 4 4`,key:`lnac28`}],[`path`,{d:`M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z`,key:`nlhkjb`}],[`path`,{d:`m5 8 4 4`,key:`j6kj7e`}]]),Hy=l(`mail-check`,[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`12jkf8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}]]),Uy=l(`mail-minus`,[[`path`,{d:`M22 15V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`fuxbkv`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M16 19h6`,key:`xwg31i`}]]),Wy=l(`mail-open`,[[`path`,{d:`M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z`,key:`1jhwl8`}],[`path`,{d:`m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10`,key:`1qfld7`}]]),Gy=l(`mail-plus`,[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`12jkf8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M16 19h6`,key:`xwg31i`}]]),Ky=l(`mail-question-mark`,[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`,key:`e61zoh`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M18 15.28c.2-.4.5-.8.9-1a2.1 2.1 0 0 1 2.6.4c.3.4.5.8.5 1.3 0 1.3-2 2-2 2`,key:`7z9rxb`}],[`path`,{d:`M20 22v.01`,key:`12bgn6`}]]),qy=l(`mail-search`,[[`path`,{d:`M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5`,key:`w80f2v`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z`,key:`8lzu5m`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`path`,{d:`m22 22-1.5-1.5`,key:`1x83k4`}]]),Jy=l(`mail-warning`,[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`,key:`e61zoh`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M20 14v4`,key:`1hm744`}],[`path`,{d:`M20 22v.01`,key:`12bgn6`}]]),Yy=l(`mail-x`,[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9`,key:`1j9vog`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`m17 17 4 4`,key:`1b3523`}],[`path`,{d:`m21 17-4 4`,key:`uinynz`}]]),Xy=l(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),Zy=l(`mailbox`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z`,key:`1lbycx`}],[`polyline`,{points:`15,9 18,9 18,11`,key:`1pm9c0`}],[`path`,{d:`M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2`,key:`15i455`}],[`line`,{x1:`6`,x2:`7`,y1:`10`,y2:`10`,key:`1e2scm`}]]),Qy=l(`map-minus`,[[`path`,{d:`m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V14`,key:`40pylx`}],[`path`,{d:`M15 5.764V14`,key:`1bab71`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}],[`path`,{d:`M9 3.236v15`,key:`1uimfh`}]]),$y=l(`mails`,[[`path`,{d:`M17 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 1-1.732`,key:`1vyzll`}],[`path`,{d:`m22 5.5-6.419 4.179a2 2 0 0 1-2.162 0L7 5.5`,key:`k7ramc`}],[`rect`,{x:`7`,y:`3`,width:`15`,height:`12`,rx:`2`,key:`17196g`}]]),eb=l(`map-pin-check-inside`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`path`,{d:`m9 10 2 2 4-4`,key:`1gnqz4`}]]),tb=l(`map-pin-check`,[[`path`,{d:`M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32.197 32.197 0 0 0 .813-.728`,key:`1dq61d`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`m16 18 2 2 4-4`,key:`1mkfmb`}]]),nb=l(`map-pin-house`,[[`path`,{d:`M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z`,key:`1p1rcz`}],[`path`,{d:`M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2`,key:`mcbcs9`}],[`path`,{d:`M18 22v-3`,key:`1t1ugv`}],[`circle`,{cx:`10`,cy:`10`,r:`3`,key:`1ns7v1`}]]),rb=l(`map-pin-minus-inside`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}]]),ib=l(`map-pin-minus`,[[`path`,{d:`M18.977 14C19.6 12.701 20 11.343 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738`,key:`11uxia`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M16 18h6`,key:`987eiv`}]]),ab=l(`map-pin-off`,[[`path`,{d:`M12.75 7.09a3 3 0 0 1 2.16 2.16`,key:`1d4wjd`}],[`path`,{d:`M17.072 17.072c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568`,key:`12yil7`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533`,key:`lhrkcz`}],[`path`,{d:`M9.13 9.13a3 3 0 0 0 3.74 3.74`,key:`13wojd`}]]),ob=l(`map-pin-pen`,[[`path`,{d:`M17.97 9.304A8 8 0 0 0 2 10c0 4.69 4.887 9.562 7.022 11.468`,key:`1fahp3`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`1817ys`}],[`circle`,{cx:`10`,cy:`10`,r:`3`,key:`1ns7v1`}]]),sb=l(`map-pin-plus-inside`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`path`,{d:`M12 7v6`,key:`lw1j43`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}]]),cb=l(`map-pin-plus`,[[`path`,{d:`M19.914 11.105A7.298 7.298 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 32 32 0 0 0 .824-.738`,key:`fcdtly`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M16 18h6`,key:`987eiv`}],[`path`,{d:`M19 15v6`,key:`10aioa`}]]),lb=l(`map-pin-search`,[[`path`,{d:`M 12.248 21.969 a 1 1 0 0 1 -0.849 -0.17 C 9.539 20.193 4 14.993 4 10 a 8 8 0 0 1 16 0 C 20 10.42 19.961 10.841 19.888 11.262`,key:`1jho5b`}],[`path`,{d:`m22 22-1.88-1.88`,key:`1bgjp0`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),ub=l(`map-pin-x`,[[`path`,{d:`M19.752 11.901A7.78 7.78 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0 19 19 0 0 0 .09-.077`,key:`y0ewhp`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`m21.5 15.5-5 5`,key:`11iqnx`}],[`path`,{d:`m21.5 20.5-5-5`,key:`1bylgx`}]]),db=l(`map-pin-x-inside`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`path`,{d:`m14.5 7.5-5 5`,key:`3lb6iw`}],[`path`,{d:`m9.5 7.5 5 5`,key:`ko136h`}]]),fb=l(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),pb=l(`map-pinned`,[[`path`,{d:`M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0`,key:`11u0oz`}],[`circle`,{cx:`12`,cy:`8`,r:`2`,key:`1822b1`}],[`path`,{d:`M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712`,key:`q8zwxj`}]]),mb=l(`map-plus`,[[`path`,{d:`m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12`,key:`svfegj`}],[`path`,{d:`M15 5.764V12`,key:`1ocw4k`}],[`path`,{d:`M18 15v6`,key:`9wciyi`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}],[`path`,{d:`M9 3.236v15`,key:`1uimfh`}]]),hb=l(`map`,[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`,key:`169xi5`}],[`path`,{d:`M15 5.764v15`,key:`1pn4in`}],[`path`,{d:`M9 3.236v15`,key:`1uimfh`}]]),gb=l(`mars-stroke`,[[`path`,{d:`m14 6 4 4`,key:`1q72g9`}],[`path`,{d:`M17 3h4v4`,key:`19p9u1`}],[`path`,{d:`m21 3-7.75 7.75`,key:`1cjbfd`}],[`circle`,{cx:`9`,cy:`15`,r:`6`,key:`bx5svt`}]]),_b=l(`mars`,[[`path`,{d:`M16 3h5v5`,key:`1806ms`}],[`path`,{d:`m21 3-6.75 6.75`,key:`pv0uzu`}],[`circle`,{cx:`10`,cy:`14`,r:`6`,key:`1qwbdc`}]]),vb=l(`martini`,[[`path`,{d:`M12 12 4.207 4.207A.707.707 0 0 1 4.707 3h14.586a.707.707 0 0 1 .5 1.207z`,key:`vxdekd`}],[`path`,{d:`M12 12v10`,key:`1nesaz`}],[`path`,{d:`M7 22h10`,key:`10w4w3`}]]),yb=l(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),bb=l(`maximize`,[[`path`,{d:`M8 3H5a2 2 0 0 0-2 2v3`,key:`1dcmit`}],[`path`,{d:`M21 8V5a2 2 0 0 0-2-2h-3`,key:`1e4gt3`}],[`path`,{d:`M3 16v3a2 2 0 0 0 2 2h3`,key:`wsl5sc`}],[`path`,{d:`M16 21h3a2 2 0 0 0 2-2v-3`,key:`18trek`}]]),xb=l(`medal`,[[`path`,{d:`M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15`,key:`143lza`}],[`path`,{d:`M11 12 5.12 2.2`,key:`qhuxz6`}],[`path`,{d:`m13 12 5.88-9.8`,key:`hbye0f`}],[`path`,{d:`M8 7h8`,key:`i86dvs`}],[`circle`,{cx:`12`,cy:`17`,r:`5`,key:`qbz8iq`}],[`path`,{d:`M12 18v-2h-.5`,key:`fawc4q`}]]),Sb=l(`megaphone-off`,[[`path`,{d:`M11.636 6A13 13 0 0 0 19.4 3.2 1 1 0 0 1 21 4v11.344`,key:`bycexp`}],[`path`,{d:`M14.378 14.357A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1`,key:`1t17s6`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 8v6`,key:`aieo6v`}]]),Cb=l(`megaphone`,[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`q8bfy3`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 6v8`,key:`15ugcq`}]]),wb=l(`meh`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`8`,x2:`16`,y1:`15`,y2:`15`,key:`1xb1d9`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}]]),Tb=l(`memory-stick`,[[`path`,{d:`M12 12v-2`,key:`fwoke6`}],[`path`,{d:`M12 18v-2`,key:`qj6yno`}],[`path`,{d:`M16 12v-2`,key:`heuere`}],[`path`,{d:`M16 18v-2`,key:`s1ct0w`}],[`path`,{d:`M2 11h1.5`,key:`15p63e`}],[`path`,{d:`M20 18v-2`,key:`12ehxp`}],[`path`,{d:`M20.5 11H22`,key:`khsy7a`}],[`path`,{d:`M4 18v-2`,key:`1c3oqr`}],[`path`,{d:`M8 12v-2`,key:`1mwtfd`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`,key:`1qcswk`}]]),Eb=l(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Db=l(`merge`,[[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}],[`path`,{d:`M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22`,key:`1hyw0i`}],[`path`,{d:`m20 22-5-5`,key:`1m27yz`}]]),Ob=l(`message-circle-check`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),kb=l(`message-circle-code`,[[`path`,{d:`m10 9-3 3 3 3`,key:`1oro0q`}],[`path`,{d:`m14 15 3-3-3-3`,key:`bz13h7`}],[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]),Ab=l(`message-circle-dashed`,[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`,key:`5ilxe3`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`,key:`11zvb9`}],[`path`,{d:`M17.609 3.72a10 10 0 0 1 2.69 2.7`,key:`jiglxs`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`,key:`c0bmvh`}],[`path`,{d:`M20.28 17.61a10 10 0 0 1-2.7 2.69`,key:`elg7ff`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`,key:`qkgqxc`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`,key:`1mcia2`}],[`path`,{d:`m6.163 21.117-2.906.85a1 1 0 0 1-1.236-1.169l.965-2.98`,key:`1qsu07`}]]),jb=l(`message-circle-heart`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 5.004 2.224 3 3 0 0 1-.832 2.083l-3.447 3.62a1 1 0 0 1-1.45-.001z`,key:`hoo97p`}]]),Mb=l(`message-circle-more`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}]]),Nb=l(`message-circle-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M4.93 4.929a10 10 0 0 0-1.938 11.412 2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 0 0 11.302-1.989`,key:`7il5tn`}],[`path`,{d:`M8.35 2.69A10 10 0 0 1 21.3 15.65`,key:`1pfsoa`}]]),Pb=l(`message-circle-plus`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M12 8v8`,key:`napkw2`}]]),Fb=l(`message-circle-question-mark`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Ib=l(`message-circle-reply`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`m10 15-3-3 3-3`,key:`1pgupc`}],[`path`,{d:`M7 12h8a2 2 0 0 1 2 2v1`,key:`89sh1g`}]]),Lb=l(`message-circle-warning`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),Rb=l(`message-circle-x`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),zb=l(`message-circle`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]),Bb=l(`message-square-check`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`m0kn7k`}],[`path`,{d:`m9 11 2 2 4-4`,key:`kz4plv`}]]),Vb=l(`message-square-code`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`m10 8-3 3 3 3`,key:`fp6dz7`}],[`path`,{d:`m14 14 3-3-3-3`,key:`1yrceu`}]]),Hb=l(`message-square-dashed`,[[`path`,{d:`M14 3h2`,key:`1d12a5`}],[`path`,{d:`M16 19h-2`,key:`1agirb`}],[`path`,{d:`M2 12v-2`,key:`1ey295`}],[`path`,{d:`M2 16v5.286a.71.71 0 0 0 1.212.502l1.149-1.149`,key:`120k8q`}],[`path`,{d:`M20 19a2 2 0 0 0 2-2v-1`,key:`ior8tn`}],[`path`,{d:`M22 10v2`,key:`rmlecy`}],[`path`,{d:`M22 6V5a2 2 0 0 0-2-2`,key:`sp3k6r`}],[`path`,{d:`M4 3a2 2 0 0 0-2 2v1`,key:`11zt7s`}],[`path`,{d:`M8 19h2`,key:`jnunrx`}],[`path`,{d:`M8 3h2`,key:`ysbsee`}]]),Ub=l(`message-square-diff`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M10 15h4`,key:`192ueg`}],[`path`,{d:`M10 9h4`,key:`u4k05v`}],[`path`,{d:`M12 7v4`,key:`xawao1`}]]),Wb=l(`message-square-dot`,[[`path`,{d:`M12.7 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4.7`,key:`wjb7ig`}],[`circle`,{cx:`19`,cy:`6`,r:`3`,key:`108a5v`}]]),Gb=l(`message-square-heart`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M7.5 9.5c0 .687.265 1.383.697 1.844l3.009 3.264a1.14 1.14 0 0 0 .407.314 1 1 0 0 0 .783-.004 1.14 1.14 0 0 0 .398-.31l3.008-3.264A2.77 2.77 0 0 0 16.5 9.5 2.5 2.5 0 0 0 12 8a2.5 2.5 0 0 0-4.5 1.5`,key:`1faxuh`}]]),Kb=l(`message-square-lock`,[[`path`,{d:`M22 8.5V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H10`,key:`fu6chl`}],[`path`,{d:`M20 15v-2a2 2 0 0 0-4 0v2`,key:`vl8a78`}],[`rect`,{x:`14`,y:`15`,width:`8`,height:`5`,rx:`1`,key:`37aafw`}]]),qb=l(`message-square-more`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 11h.01`,key:`z322tv`}],[`path`,{d:`M16 11h.01`,key:`xkw8gn`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}]]),Jb=l(`message-square-plus`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 8v6`,key:`1ib9pf`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}]]),Yb=l(`message-square-quote`,[[`path`,{d:`M14 14a2 2 0 0 0 2-2V8h-2`,key:`1r06pg`}],[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M8 14a2 2 0 0 0 2-2V8H8`,key:`1jzu5j`}]]),Xb=l(`message-square-off`,[[`path`,{d:`M19 19H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 1.184-1.826`,key:`1wyg69`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v11.344`,key:`mhl4k6`}]]),Zb=l(`message-square-reply`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`m10 8-3 3 3 3`,key:`fp6dz7`}],[`path`,{d:`M17 14v-1a2 2 0 0 0-2-2H7`,key:`1tkjnz`}]]),Qb=l(`message-square-share`,[[`path`,{d:`M12 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4`,key:`11da1y`}],[`path`,{d:`M16 3h6v6`,key:`1bx56c`}],[`path`,{d:`m16 9 6-6`,key:`m4dnic`}]]),$b=l(`message-square-text`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M7 11h10`,key:`1twpyw`}],[`path`,{d:`M7 15h6`,key:`d9of3u`}],[`path`,{d:`M7 7h8`,key:`af5zfr`}]]),ex=l(`message-square-warning`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 15h.01`,key:`q59x07`}],[`path`,{d:`M12 7v4`,key:`xawao1`}]]),tx=l(`message-square-x`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`m14.5 8.5-5 5`,key:`19tnj2`}],[`path`,{d:`m9.5 8.5 5 5`,key:`1oa8ql`}]]),nx=l(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),rx=l(`messages-square`,[[`path`,{d:`M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z`,key:`1n2ejm`}],[`path`,{d:`M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1`,key:`1qfcsi`}]]),ix=l(`metronome`,[[`path`,{d:`M12 11.4V9.1`,key:`audfby`}],[`path`,{d:`m12 17 6.59-6.59`,key:`c0sb7j`}],[`path`,{d:`m15.05 5.7-.218-.691a3 3 0 0 0-5.663 0L4.418 19.695A1 1 0 0 0 5.37 21h13.253a1 1 0 0 0 .951-1.31L18.45 16.2`,key:`1pkfrk`}],[`circle`,{cx:`20`,cy:`9`,r:`2`,key:`1udoqf`}]]),ax=l(`mic-off`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]),ox=l(`mic-vocal`,[[`path`,{d:`m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12`,key:`80a601`}],[`path`,{d:`M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5`,key:`j0ngtp`}],[`circle`,{cx:`16`,cy:`7`,r:`5`,key:`d08jfb`}]]),sx=l(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),cx=l(`microchip`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 17h4`,key:`pvmtpo`}],[`path`,{d:`M10 7h4`,key:`1vgcok`}],[`path`,{d:`M18 12h2`,key:`quuxs7`}],[`path`,{d:`M18 18h2`,key:`4scel`}],[`path`,{d:`M18 6h2`,key:`1ptzki`}],[`path`,{d:`M4 12h2`,key:`1ltxp0`}],[`path`,{d:`M4 18h2`,key:`1xrofg`}],[`path`,{d:`M4 6h2`,key:`1cx33n`}],[`rect`,{x:`6`,y:`2`,width:`12`,height:`20`,rx:`2`,key:`749fme`}]]),lx=l(`microscope`,[[`path`,{d:`M6 18h8`,key:`1borvv`}],[`path`,{d:`M3 22h18`,key:`8prr45`}],[`path`,{d:`M14 22a7 7 0 1 0 0-14h-1`,key:`1jwaiy`}],[`path`,{d:`M9 14h2`,key:`197e7h`}],[`path`,{d:`M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z`,key:`1bmzmy`}],[`path`,{d:`M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`,key:`1drr47`}]]),ux=l(`milestone`,[[`path`,{d:`M12 13v8`,key:`1l5pq0`}],[`path`,{d:`M12 3v3`,key:`1n5kay`}],[`path`,{d:`M18.172 6a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z`,key:`8gz4t4`}]]),dx=l(`microwave`,[[`rect`,{width:`20`,height:`15`,x:`2`,y:`4`,rx:`2`,key:`2no95f`}],[`rect`,{width:`8`,height:`7`,x:`6`,y:`8`,rx:`1`,key:`zh9wx`}],[`path`,{d:`M18 8v7`,key:`o5zi4n`}],[`path`,{d:`M6 19v2`,key:`1loha6`}],[`path`,{d:`M18 19v2`,key:`1dawf0`}]]),fx=l(`milk-off`,[[`path`,{d:`M8 2h8`,key:`1ssgc1`}],[`path`,{d:`M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3`,key:`y0ejgx`}],[`path`,{d:`M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435`,key:`iaxqsy`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),px=l(`milk`,[[`path`,{d:`M8 2h8`,key:`1ssgc1`}],[`path`,{d:`M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2`,key:`qtp12x`}],[`path`,{d:`M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0`,key:`ygeh44`}]]),mx=l(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]),hx=l(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),gx=l(`minimize`,[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`,key:`hohbtr`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`,key:`5jw1f3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`,key:`198tvr`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`,key:`ph8mxp`}]]),_x=l(`mirror-rectangular`,[[`path`,{d:`M11 6 8 9`,key:`7zt14w`}],[`path`,{d:`m16 7-8 8`,key:`tkgtvu`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`,key:`1uxh74`}]]),vx=l(`mirror-round`,[[`path`,{d:`M10 6.6 8.6 8`,key:`itrr7k`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`M15 7.5 9.5 13`,key:`1vyrsv`}],[`path`,{d:`M7 22h10`,key:`10w4w3`}],[`circle`,{cx:`12`,cy:`10`,r:`8`,key:`1gshiw`}]]),yx=l(`monitor-cloud`,[[`path`,{d:`M11 13a3 3 0 1 1 2.83-4H14a2 2 0 0 1 0 4z`,key:`1da4q6`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]),bx=l(`monitor-check`,[[`path`,{d:`m9 10 2 2 4-4`,key:`1gnqz4`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]),xx=l(`monitor-cog`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`m14.305 7.53.923-.382`,key:`1mlnsw`}],[`path`,{d:`m15.228 4.852-.923-.383`,key:`82mpwg`}],[`path`,{d:`m16.852 3.228-.383-.924`,key:`ln4sir`}],[`path`,{d:`m16.852 8.772-.383.923`,key:`1dejw0`}],[`path`,{d:`m19.148 3.228.383-.924`,key:`192kgf`}],[`path`,{d:`m19.53 9.696-.382-.924`,key:`fiavlr`}],[`path`,{d:`m20.772 4.852.924-.383`,key:`1j8mgp`}],[`path`,{d:`m20.772 7.148.924.383`,key:`zix9be`}],[`path`,{d:`M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7`,key:`1tnzv8`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}]]),Sx=l(`monitor-dot`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M22 12.307V15a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8.693`,key:`1dx6ho`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`circle`,{cx:`19`,cy:`6`,r:`3`,key:`108a5v`}]]),Cx=l(`monitor-down`,[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`m15 10-3 3-3-3`,key:`lzhmyn`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]),wx=l(`monitor-off`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826`,key:`cv7jms`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042`,key:`z8ni2w`}]]),Tx=l(`monitor-pause`,[[`path`,{d:`M10 13V7`,key:`1u13u9`}],[`path`,{d:`M14 13V7`,key:`1vj9om`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]),Ex=l(`monitor-play`,[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`,key:`vbtd3f`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]),Dx=l(`monitor-smartphone`,[[`path`,{d:`M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8`,key:`10dyio`}],[`path`,{d:`M10 19v-3.96 3.15`,key:`1irgej`}],[`path`,{d:`M7 19h5`,key:`qswx4l`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`12`,rx:`2`,key:`1egngj`}]]),Ox=l(`monitor-stop`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}],[`rect`,{x:`9`,y:`7`,width:`6`,height:`6`,rx:`1`,key:`5m2oou`}]]),kx=l(`monitor-speaker`,[[`path`,{d:`M5.5 20H8`,key:`1k40s5`}],[`path`,{d:`M17 9h.01`,key:`1j24nn`}],[`rect`,{width:`10`,height:`16`,x:`12`,y:`4`,rx:`2`,key:`ixliua`}],[`path`,{d:`M8 6H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4`,key:`1mp6e1`}],[`circle`,{cx:`17`,cy:`15`,r:`1`,key:`tqvash`}]]),Ax=l(`monitor-up`,[[`path`,{d:`m9 10 3-3 3 3`,key:`11gsxs`}],[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]),jx=l(`monitor-x`,[[`path`,{d:`m14.5 12.5-5-5`,key:`1jahn5`}],[`path`,{d:`m9.5 12.5 5-5`,key:`1k2t7b`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]),Mx=l(`moon-star`,[[`path`,{d:`M18 5h4`,key:`1lhgn2`}],[`path`,{d:`M20 3v4`,key:`1olli1`}],[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),Nx=l(`monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),Px=l(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),Fx=l(`motorbike`,[[`path`,{d:`m18 14-1-3`,key:`bdajw9`}],[`path`,{d:`m3 9 6 2a2 2 0 0 1 2-2h2a2 2 0 0 1 1.99 1.81`,key:`f5fotj`}],[`path`,{d:`M8 17h3a1 1 0 0 0 1-1 6 6 0 0 1 6-6 1 1 0 0 0 1-1v-.75A5 5 0 0 0 17 5`,key:`3i90e2`}],[`circle`,{cx:`19`,cy:`17`,r:`3`,key:`1otbdv`}],[`circle`,{cx:`5`,cy:`17`,r:`3`,key:`1d8p0c`}]]),Ix=l(`mountain-snow`,[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`,key:`otkl63`}],[`path`,{d:`M4.14 15.08c2.62-1.57 5.24-1.43 7.86.42 2.74 1.94 5.49 2 8.23.19`,key:`1pvmmp`}]]),Lx=l(`mountain`,[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`,key:`otkl63`}]]),Rx=l(`mouse-left`,[[`path`,{d:`M12 7.318V10`,key:`17s7lh`}],[`path`,{d:`M5 10v5a7 7 0 0 0 14 0V9c0-3.527-2.608-6.515-6-7`,key:`imk5ea`}],[`circle`,{cx:`7`,cy:`4`,r:`2`,key:`ra7k3`}]]),zx=l(`mouse-pointer-2-off`,[[`path`,{d:`m15.55 8.45 5.138 2.087a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063L8.45 15.551`,key:`1qoshx`}],[`path`,{d:`M22 2 2 22`,key:`y4kqgn`}],[`path`,{d:`m6.816 11.528-2.779-6.84a.495.495 0 0 1 .651-.651l6.84 2.779`,key:`mymuvk`}]]),Bx=l(`mouse-pointer-2`,[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`,key:`edeuup`}]]),Vx=l(`mouse-off`,[[`path`,{d:`M12 6v.343`,key:`1gyhex`}],[`path`,{d:`M18.218 18.218A7 7 0 0 1 5 15V9a7 7 0 0 1 .782-3.218`,key:`ukzz01`}],[`path`,{d:`M19 13.343V9A7 7 0 0 0 8.56 2.902`,key:`104jy9`}],[`path`,{d:`M22 22 2 2`,key:`1r8tn9`}]]),Hx=l(`mouse-pointer-ban`,[[`path`,{d:`M2.034 2.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.944L8.204 7.545a1 1 0 0 0-.66.66l-1.066 3.443a.5.5 0 0 1-.944.033z`,key:`11pp1i`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}],[`path`,{d:`m11.8 11.8 8.4 8.4`,key:`oogvdj`}]]),Ux=l(`mouse-pointer-click`,[[`path`,{d:`M14 4.1 12 6`,key:`ita8i4`}],[`path`,{d:`m5.1 8-2.9-.8`,key:`1go3kf`}],[`path`,{d:`m6 12-1.9 2`,key:`mnht97`}],[`path`,{d:`M7.2 2.2 8 5.1`,key:`1cfko1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`,key:`s0h3yz`}]]),Wx=l(`mouse-pointer`,[[`path`,{d:`M12.586 12.586 19 19`,key:`ea5xo7`}],[`path`,{d:`M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z`,key:`277e5u`}]]),Gx=l(`mouse-right`,[[`path`,{d:`M12 7.318V10`,key:`17s7lh`}],[`path`,{d:`M19 10v5a7 7 0 0 1-14 0V9c0-3.527 2.608-6.515 6-7`,key:`2es5nn`}],[`circle`,{cx:`17`,cy:`4`,r:`2`,key:`y5j2s2`}]]),Kx=l(`mouse`,[[`rect`,{x:`5`,y:`2`,width:`14`,height:`20`,rx:`7`,key:`11ol66`}],[`path`,{d:`M12 6v4`,key:`16clxf`}]]),qx=l(`move-diagonal-2`,[[`path`,{d:`M19 13v6h-6`,key:`1hxl6d`}],[`path`,{d:`M5 11V5h6`,key:`12e2xe`}],[`path`,{d:`m5 5 14 14`,key:`11anup`}]]),Jx=l(`move-3d`,[[`path`,{d:`M5 3v16h16`,key:`1mqmf9`}],[`path`,{d:`m5 19 6-6`,key:`jh6hbb`}],[`path`,{d:`m2 6 3-3 3 3`,key:`tkyvxa`}],[`path`,{d:`m18 16 3 3-3 3`,key:`1d4glt`}]]),Yx=l(`move-diagonal`,[[`path`,{d:`M11 19H5v-6`,key:`8awifj`}],[`path`,{d:`M13 5h6v6`,key:`7voy1q`}],[`path`,{d:`M19 5 5 19`,key:`wwaj1z`}]]),Xx=l(`move-down-left`,[[`path`,{d:`M11 19H5V13`,key:`1akmht`}],[`path`,{d:`M19 5L5 19`,key:`72u4yj`}]]),Zx=l(`move-down-right`,[[`path`,{d:`M19 13V19H13`,key:`10vkzq`}],[`path`,{d:`M5 5L19 19`,key:`5zm2fv`}]]),Qx=l(`move-down`,[[`path`,{d:`M8 18L12 22L16 18`,key:`cskvfv`}],[`path`,{d:`M12 2V22`,key:`r89rzk`}]]),$x=l(`move-left`,[[`path`,{d:`M6 8L2 12L6 16`,key:`kyvwex`}],[`path`,{d:`M2 12H22`,key:`1m8cig`}]]),eS=l(`move-horizontal`,[[`path`,{d:`m18 8 4 4-4 4`,key:`1ak13k`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}]]),tS=l(`move-right`,[[`path`,{d:`M18 8L22 12L18 16`,key:`1r0oui`}],[`path`,{d:`M2 12H22`,key:`1m8cig`}]]),nS=l(`move-up-left`,[[`path`,{d:`M5 11V5H11`,key:`3q78g9`}],[`path`,{d:`M5 5L19 19`,key:`5zm2fv`}]]),rS=l(`move-up-right`,[[`path`,{d:`M13 5H19V11`,key:`1n1gyv`}],[`path`,{d:`M19 5L5 19`,key:`72u4yj`}]]),iS=l(`move-up`,[[`path`,{d:`M8 6L12 2L16 6`,key:`1yvkyx`}],[`path`,{d:`M12 2V22`,key:`r89rzk`}]]),aS=l(`move-vertical`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`m8 18 4 4 4-4`,key:`bh5tu3`}],[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}]]),oS=l(`move`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`m15 19-3 3-3-3`,key:`11eu04`}],[`path`,{d:`m19 9 3 3-3 3`,key:`1mg7y2`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`m5 9-3 3 3 3`,key:`j64kie`}],[`path`,{d:`m9 5 3-3 3 3`,key:`l8vdw6`}]]),sS=l(`music-2`,[[`circle`,{cx:`8`,cy:`18`,r:`4`,key:`1fc0mg`}],[`path`,{d:`M12 18V2l7 4`,key:`g04rme`}]]),cS=l(`music-3`,[[`circle`,{cx:`12`,cy:`18`,r:`4`,key:`m3r9ws`}],[`path`,{d:`M16 18V2`,key:`40x2m5`}]]),lS=l(`music-4`,[[`path`,{d:`M9 18V5l12-2v13`,key:`1jmyc2`}],[`path`,{d:`m9 9 12-2`,key:`1e64n2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`circle`,{cx:`18`,cy:`16`,r:`3`,key:`1hluhg`}]]),uS=l(`music`,[[`path`,{d:`M9 18V5l12-2v13`,key:`1jmyc2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`circle`,{cx:`18`,cy:`16`,r:`3`,key:`1hluhg`}]]),dS=l(`navigation-2`,[[`polygon`,{points:`12 2 19 21 12 17 5 21 12 2`,key:`x8c0qg`}]]),fS=l(`navigation-off`,[[`path`,{d:`M8.43 8.43 3 11l8 2 2 8 2.57-5.43`,key:`1vdtb7`}],[`path`,{d:`M17.39 11.73 22 2l-9.73 4.61`,key:`tya3r6`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),pS=l(`navigation-2-off`,[[`path`,{d:`M9.31 9.31 5 21l7-4 7 4-1.17-3.17`,key:`qoq2o2`}],[`path`,{d:`M14.53 8.88 12 2l-1.17 3.17`,key:`k3sjzy`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),mS=l(`navigation`,[[`polygon`,{points:`3 11 22 2 13 21 11 13 3 11`,key:`1ltx0t`}]]),hS=l(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),gS=l(`newspaper`,[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]),_S=l(`nfc`,[[`path`,{d:`M6 8.32a7.43 7.43 0 0 1 0 7.36`,key:`9iaqei`}],[`path`,{d:`M9.46 6.21a11.76 11.76 0 0 1 0 11.58`,key:`1yha7l`}],[`path`,{d:`M12.91 4.1a15.91 15.91 0 0 1 .01 15.8`,key:`4iu2gk`}],[`path`,{d:`M16.37 2a20.16 20.16 0 0 1 0 20`,key:`sap9u2`}]]),vS=l(`non-binary`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`m8.5 4 7 4`,key:`m1xjk3`}],[`path`,{d:`m8.5 8 7-4`,key:`t0m5j6`}],[`circle`,{cx:`12`,cy:`17`,r:`5`,key:`qbz8iq`}]]),yS=l(`notebook-pen`,[[`path`,{d:`M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4`,key:`re6nr2`}],[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`path`,{d:`M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`pqwjuv`}]]),bS=l(`notebook-tabs`,[[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M15 2v20`,key:`dcj49h`}],[`path`,{d:`M15 7h5`,key:`1xj5lc`}],[`path`,{d:`M15 12h5`,key:`w5shd9`}],[`path`,{d:`M15 17h5`,key:`1qaofu`}]]),xS=l(`notebook-text`,[[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M9.5 8h5`,key:`11mslq`}],[`path`,{d:`M9.5 12H16`,key:`ktog6x`}],[`path`,{d:`M9.5 16H14`,key:`p1seyn`}]]),SS=l(`notebook`,[[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M16 2v20`,key:`rotuqe`}]]),CS=l(`notepad-text-dashed`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v2`,key:`j91f56`}],[`path`,{d:`M20 12v2`,key:`w8o0tu`}],[`path`,{d:`M20 18v2a2 2 0 0 1-2 2h-1`,key:`1c9ggx`}],[`path`,{d:`M13 22h-2`,key:`191ugt`}],[`path`,{d:`M7 22H6a2 2 0 0 1-2-2v-2`,key:`1rt9px`}],[`path`,{d:`M4 14v-2`,key:`1v0sqh`}],[`path`,{d:`M4 8V6a2 2 0 0 1 2-2h2`,key:`1mwabg`}],[`path`,{d:`M8 10h6`,key:`3oa6kw`}],[`path`,{d:`M8 14h8`,key:`1fgep2`}],[`path`,{d:`M8 18h5`,key:`17enja`}]]),wS=l(`notepad-text`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`16`,height:`18`,x:`4`,y:`4`,rx:`2`,key:`1u9h20`}],[`path`,{d:`M8 10h6`,key:`3oa6kw`}],[`path`,{d:`M8 14h8`,key:`1fgep2`}],[`path`,{d:`M8 18h5`,key:`17enja`}]]),TS=l(`nut-off`,[[`path`,{d:`M12 4V2`,key:`1k5q1u`}],[`path`,{d:`M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939`,key:`1xcvy9`}],[`path`,{d:`M19 10v3.343`,key:`163tfc`}],[`path`,{d:`M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192`,key:`17914v`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),ES=l(`nut`,[[`path`,{d:`M12 4V2`,key:`1k5q1u`}],[`path`,{d:`M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4`,key:`1tgyif`}],[`path`,{d:`M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z`,key:`tnsqj`}]]),DS=l(`octagon-alert`,[[`path`,{d:`M12 16h.01`,key:`1drbdi`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z`,key:`1fd625`}]]),OS=l(`octagon-minus`,[[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),kS=l(`octagon-pause`,[[`path`,{d:`M10 15V9`,key:`1lckn7`}],[`path`,{d:`M14 15V9`,key:`1muqhk`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}]]),AS=l(`octagon-x`,[[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),jS=l(`octagon`,[[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}]]),MS=l(`omega`,[[`path`,{d:`M3 20h4.5a.5.5 0 0 0 .5-.5v-.282a.52.52 0 0 0-.247-.437 8 8 0 1 1 8.494-.001.52.52 0 0 0-.247.438v.282a.5.5 0 0 0 .5.5H21`,key:`1x94xo`}]]),NS=l(`option`,[[`path`,{d:`M3 3h6l6 18h6`,key:`ph9rgk`}],[`path`,{d:`M14 3h7`,key:`16f0ms`}]]),PS=l(`orbit`,[[`path`,{d:`M20.341 6.484A10 10 0 0 1 10.266 21.85`,key:`1enhxb`}],[`path`,{d:`M3.659 17.516A10 10 0 0 1 13.74 2.152`,key:`1crzgf`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`circle`,{cx:`19`,cy:`5`,r:`2`,key:`mhkx31`}],[`circle`,{cx:`5`,cy:`19`,r:`2`,key:`v8kfzx`}]]),FS=l(`package-2`,[[`path`,{d:`M12 3v6`,key:`1holv5`}],[`path`,{d:`M16.76 3a2 2 0 0 1 1.8 1.1l2.23 4.479a2 2 0 0 1 .21.891V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9.472a2 2 0 0 1 .211-.894L5.45 4.1A2 2 0 0 1 7.24 3z`,key:`187q7i`}],[`path`,{d:`M3.054 9.013h17.893`,key:`grwhos`}]]),IS=l(`origami`,[[`path`,{d:`M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025`,key:`1bx4vc`}],[`path`,{d:`m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009`,key:`1h3km6`}],[`path`,{d:`m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027`,key:`1hj4wg`}]]),LS=l(`package-check`,[[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`path`,{d:`m16 17 2 2 4-4`,key:`uh5qu3`}],[`path`,{d:`M21 11.127V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.32-.753`,key:`kpkbpo`}],[`path`,{d:`M3.29 7 12 12l8.71-5`,key:`19ckod`}],[`path`,{d:`m7.5 4.27 8.997 5.148`,key:`9yrvtv`}]]),RS=l(`package-minus`,[[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`path`,{d:`M16 17h6`,key:`1ook5g`}],[`path`,{d:`M21 13V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955`,key:`zu9avd`}],[`path`,{d:`M3.29 7 12 12l8.71-5`,key:`19ckod`}],[`path`,{d:`m7.5 4.27 8.997 5.148`,key:`9yrvtv`}]]),zS=l(`package-open`,[[`path`,{d:`M12 22v-9`,key:`x3hkom`}],[`path`,{d:`M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z`,key:`2ntwy6`}],[`path`,{d:`M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13`,key:`1pmm1c`}],[`path`,{d:`M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z`,key:`12ttoo`}]]),BS=l(`package-plus`,[[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`path`,{d:`M16 17h6`,key:`1ook5g`}],[`path`,{d:`M19 14v6`,key:`1ckrd5`}],[`path`,{d:`M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955`,key:`28k6lz`}],[`path`,{d:`M3.29 7 12 12l8.71-5`,key:`19ckod`}],[`path`,{d:`m7.5 4.27 8.997 5.148`,key:`9yrvtv`}]]),VS=l(`package-x`,[[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`path`,{d:`m16.5 14.5 5 5`,key:`ozpm51`}],[`path`,{d:`m16.5 19.5 5-5`,key:`syf6b9`}],[`path`,{d:`M21 10.5V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.13-.074`,key:`isw6gs`}],[`path`,{d:`M3.29 7 12 12l8.71-5`,key:`19ckod`}],[`path`,{d:`m7.5 4.27 8.997 5.148`,key:`9yrvtv`}]]),HS=l(`package-search`,[[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`path`,{d:`M20.27 18.27 22 20`,key:`er2am`}],[`path`,{d:`M21 10.498V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.98-.559`,key:`tok1h1`}],[`path`,{d:`M3.29 7 12 12l8.71-5`,key:`19ckod`}],[`path`,{d:`m7.5 4.27 8.997 5.148`,key:`9yrvtv`}],[`circle`,{cx:`18.5`,cy:`16.5`,r:`2.5`,key:`ke13xx`}]]),US=l(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),WS=l(`paintbrush-vertical`,[[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M14 2v4`,key:`qmzblu`}],[`path`,{d:`M17 2a1 1 0 0 1 1 1v9H6V3a1 1 0 0 1 1-1z`,key:`ycvu00`}],[`path`,{d:`M6 12a1 1 0 0 0-1 1v1a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v2.9a2 2 0 1 0 4 0V17a1 1 0 0 1 1-1h2a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1`,key:`iw4wnp`}]]),GS=l(`paint-bucket`,[[`path`,{d:`M11 7 6 2`,key:`1jwth8`}],[`path`,{d:`M18.992 12H2.041`,key:`xw1gg`}],[`path`,{d:`M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595`,key:`1nkol4`}],[`path`,{d:`m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33`,key:`1nk1rd`}]]),KS=l(`paint-roller`,[[`rect`,{width:`16`,height:`6`,x:`2`,y:`2`,rx:`2`,key:`jcyz7m`}],[`path`,{d:`M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2`,key:`1b9h7c`}],[`rect`,{width:`4`,height:`6`,x:`8`,y:`16`,rx:`1`,key:`d6e7yl`}]]),qS=l(`paintbrush`,[[`path`,{d:`m14.622 17.897-10.68-2.913`,key:`vj2p1u`}],[`path`,{d:`M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z`,key:`18tc5c`}],[`path`,{d:`M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15`,key:`ytzfxy`}]]),JS=l(`palette`,[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]),YS=l(`panda`,[[`path`,{d:`M11.25 17.25h1.5L12 18z`,key:`1wmwwj`}],[`path`,{d:`m15 12 2 2`,key:`k60wz4`}],[`path`,{d:`M18 6.5a.5.5 0 0 0-.5-.5`,key:`1ch4h4`}],[`path`,{d:`M20.69 9.67a4.5 4.5 0 1 0-7.04-5.5 8.35 8.35 0 0 0-3.3 0 4.5 4.5 0 1 0-7.04 5.5C2.49 11.2 2 12.88 2 14.5 2 19.47 6.48 22 12 22s10-2.53 10-7.5c0-1.62-.48-3.3-1.3-4.83`,key:`1c660l`}],[`path`,{d:`M6 6.5a.495.495 0 0 1 .5-.5`,key:`eviuep`}],[`path`,{d:`m9 12-2 2`,key:`326nkw`}]]),XS=l(`panel-bottom-close`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`m15 8-3 3-3-3`,key:`1oxy1z`}]]),ZS=l(`panel-bottom-dashed`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M14 15h1`,key:`171nev`}],[`path`,{d:`M19 15h2`,key:`1vnucp`}],[`path`,{d:`M3 15h2`,key:`8bym0q`}],[`path`,{d:`M9 15h1`,key:`1tg3ks`}]]),QS=l(`panel-bottom-open`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`m9 10 3-3 3 3`,key:`11gsxs`}]]),$S=l(`panel-bottom`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]),eC=l(`panel-left-close`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]]),tC=l(`panel-left-dashed`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 14v1`,key:`askpd8`}],[`path`,{d:`M9 19v2`,key:`16tejx`}],[`path`,{d:`M9 3v2`,key:`1noubl`}],[`path`,{d:`M9 9v1`,key:`19ebxg`}]]),nC=l(`panel-left-open`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]]),rC=l(`panel-left-right-dashed`,[[`path`,{d:`M15 10V9`,key:`4dkmfx`}],[`path`,{d:`M15 15v-1`,key:`6a4afx`}],[`path`,{d:`M15 21v-2`,key:`1qshmc`}],[`path`,{d:`M15 5V3`,key:`1fk0mb`}],[`path`,{d:`M9 10V9`,key:`1lazqi`}],[`path`,{d:`M9 15v-1`,key:`9lx740`}],[`path`,{d:`M9 21v-2`,key:`1fwk0n`}],[`path`,{d:`M9 5V3`,key:`2q8zi6`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),iC=l(`panel-right-close`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m8 9 3 3-3 3`,key:`12hl5m`}]]),aC=l(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),oC=l(`panel-right-dashed`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 14v1`,key:`ilsfch`}],[`path`,{d:`M15 19v2`,key:`1fst2f`}],[`path`,{d:`M15 3v2`,key:`z204g4`}],[`path`,{d:`M15 9v1`,key:`z2a8b1`}]]),sC=l(`panel-right-open`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m10 15-3-3 3-3`,key:`1pgupc`}]]),cC=l(`panel-right`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]),lC=l(`panel-top-close`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`m9 16 3-3 3 3`,key:`1idcnm`}]]),uC=l(`panel-top-bottom-dashed`,[[`path`,{d:`M14 15h1`,key:`171nev`}],[`path`,{d:`M14 9h1`,key:`l0svgy`}],[`path`,{d:`M19 15h2`,key:`1vnucp`}],[`path`,{d:`M19 9h2`,key:`te2zfg`}],[`path`,{d:`M3 15h2`,key:`8bym0q`}],[`path`,{d:`M3 9h2`,key:`1h4ldw`}],[`path`,{d:`M9 15h1`,key:`1tg3ks`}],[`path`,{d:`M9 9h1`,key:`15jzuz`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),dC=l(`panel-top-dashed`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M14 9h1`,key:`l0svgy`}],[`path`,{d:`M19 9h2`,key:`te2zfg`}],[`path`,{d:`M3 9h2`,key:`1h4ldw`}],[`path`,{d:`M9 9h1`,key:`15jzuz`}]]),fC=l(`panel-top-open`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`m15 14-3 3-3-3`,key:`g215vf`}]]),pC=l(`panel-top`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]),mC=l(`panels-left-bottom`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M9 15h12`,key:`5ijen5`}]]),hC=l(`panels-right-bottom`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 15h12`,key:`1wkqb3`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]),gC=l(`panels-top-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M9 21V9`,key:`1oto5p`}]]),_C=l(`paperclip`,[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]),vC=l(`parasol`,[[`path`,{d:`M12.5 11.134 18.196 21`,key:`gf58kt`}],[`path`,{d:`M20.425 5.299a10 10 0 0 0-16.941 9.78c.183.563.843.774 1.355.478L20.16 6.711c.512-.296.66-.973.264-1.413`,key:`znqfe4`}],[`path`,{d:`M21 21H3`,key:`oafrgs`}]]),yC=l(`parking-meter`,[[`path`,{d:`M11 15h2`,key:`199qp6`}],[`path`,{d:`M12 12v3`,key:`158kv8`}],[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z`,key:`1jofit`}],[`path`,{d:`M9 9a3 3 0 1 1 6 0`,key:`jdoeu8`}]]),bC=l(`parentheses`,[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`,key:`uto9ud`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`,key:`4w2vsq`}]]),xC=l(`party-popper`,[[`path`,{d:`M5.8 11.3 2 22l10.7-3.79`,key:`gwxi1d`}],[`path`,{d:`M4 3h.01`,key:`1vcuye`}],[`path`,{d:`M22 8h.01`,key:`1mrtc2`}],[`path`,{d:`M15 2h.01`,key:`1cjtqr`}],[`path`,{d:`M22 20h.01`,key:`1mrys2`}],[`path`,{d:`m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10`,key:`hbicv8`}],[`path`,{d:`m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17`,key:`1i94pl`}],[`path`,{d:`m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7`,key:`1cofks`}],[`path`,{d:`M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z`,key:`4kbmks`}]]),SC=l(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),CC=l(`paw-print`,[[`circle`,{cx:`11`,cy:`4`,r:`2`,key:`vol9p0`}],[`circle`,{cx:`18`,cy:`8`,r:`2`,key:`17gozi`}],[`circle`,{cx:`20`,cy:`16`,r:`2`,key:`1v9bxh`}],[`path`,{d:`M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z`,key:`1ydw1z`}]]),wC=l(`pc-case`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,key:`1uq1d7`}],[`path`,{d:`M15 14h.01`,key:`1kp3bh`}],[`path`,{d:`M9 6h6`,key:`dgm16u`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}]]),TC=l(`pen-line`,[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),EC=l(`pen-tool`,[[`path`,{d:`M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z`,key:`nt11vn`}],[`path`,{d:`m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18`,key:`15qc1e`}],[`path`,{d:`m2.3 2.3 7.286 7.286`,key:`1wuzzi`}],[`circle`,{cx:`11`,cy:`11`,r:`2`,key:`xmgehs`}]]),DC=l(`pen-off`,[[`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`,key:`bjo8r8`}],[`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`,key:`16h5ne`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),OC=l(`pen`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),kC=l(`pencil-line`,[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),AC=l(`pencil-off`,[[`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`,key:`bjo8r8`}],[`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`,key:`16h5ne`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),jC=l(`pencil-ruler`,[[`path`,{d:`M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13`,key:`orapub`}],[`path`,{d:`m8 6 2-2`,key:`115y1s`}],[`path`,{d:`m18 16 2-2`,key:`ee94s4`}],[`path`,{d:`m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17`,key:`cfq27r`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),MC=l(`pentagon`,[[`path`,{d:`M10.83 2.38a2 2 0 0 1 2.34 0l8 5.74a2 2 0 0 1 .73 2.25l-3.04 9.26a2 2 0 0 1-1.9 1.37H7.04a2 2 0 0 1-1.9-1.37L2.1 10.37a2 2 0 0 1 .73-2.25z`,key:`2hea0t`}]]),NC=l(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),PC=l(`percent`,[[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`,key:`1x9vlm`}],[`circle`,{cx:`6.5`,cy:`6.5`,r:`2.5`,key:`4mh3h7`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`2.5`,key:`1mdrzq`}]]),FC=l(`person-standing`,[[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`path`,{d:`m9 20 3-6 3 6`,key:`se2kox`}],[`path`,{d:`m6 8 6 2 6-2`,key:`4o3us4`}],[`path`,{d:`M12 10v4`,key:`1kjpxc`}]]),IC=l(`philippine-peso`,[[`path`,{d:`M20 11H4`,key:`6ut86h`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`M7 21V4a1 1 0 0 1 1-1h4a1 1 0 0 1 0 12H7`,key:`1ana5r`}]]),LC=l(`phone-call`,[[`path`,{d:`M13 2a9 9 0 0 1 9 9`,key:`1itnx2`}],[`path`,{d:`M13 6a5 5 0 0 1 5 5`,key:`11nki7`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),RC=l(`phone-forwarded`,[[`path`,{d:`M14 6h8`,key:`yd68k4`}],[`path`,{d:`m18 2 4 4-4 4`,key:`pucp1d`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),zC=l(`phone-incoming`,[[`path`,{d:`M16 2v6h6`,key:`1mfrl5`}],[`path`,{d:`m22 2-6 6`,key:`6f0sa0`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),BC=l(`phone-missed`,[[`path`,{d:`m16 2 6 6`,key:`1gw87d`}],[`path`,{d:`m22 2-6 6`,key:`6f0sa0`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),VC=l(`phone-off`,[[`path`,{d:`M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272`,key:`1wngk7`}],[`path`,{d:`M22 2 2 22`,key:`y4kqgn`}],[`path`,{d:`M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473`,key:`10hv5p`}]]),HC=l(`phone-outgoing`,[[`path`,{d:`m16 8 6-6`,key:`oawc05`}],[`path`,{d:`M22 8V2h-6`,key:`oqy2zc`}],[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),UC=l(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),WC=l(`pi`,[[`line`,{x1:`9`,x2:`9`,y1:`4`,y2:`20`,key:`ovs5a5`}],[`path`,{d:`M4 7c0-1.7 1.3-3 3-3h13`,key:`10pag4`}],[`path`,{d:`M18 20c-1.7 0-3-1.3-3-3V4`,key:`1gaosr`}]]),GC=l(`piano`,[[`path`,{d:`M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8`,key:`lag0yf`}],[`path`,{d:`M2 14h20`,key:`myj16y`}],[`path`,{d:`M6 14v4`,key:`9ng0ue`}],[`path`,{d:`M10 14v4`,key:`1v8uk5`}],[`path`,{d:`M14 14v4`,key:`1tqops`}],[`path`,{d:`M18 14v4`,key:`18uqwm`}]]),KC=l(`pickaxe`,[[`path`,{d:`m14 13-8.381 8.38a1 1 0 0 1-3.001-3L11 9.999`,key:`1lw9ds`}],[`path`,{d:`M15.973 4.027A13 13 0 0 0 5.902 2.373c-1.398.342-1.092 2.158.277 2.601a19.9 19.9 0 0 1 5.822 3.024`,key:`ffj4ej`}],[`path`,{d:`M16.001 11.999a19.9 19.9 0 0 1 3.024 5.824c.444 1.369 2.26 1.676 2.603.278A13 13 0 0 0 20 8.069`,key:`8tj4zw`}],[`path`,{d:`M18.352 3.352a1.205 1.205 0 0 0-1.704 0l-5.296 5.296a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l5.296-5.296a1.205 1.205 0 0 0 0-1.704z`,key:`hh6h97`}]]),qC=l(`picture-in-picture-2`,[[`path`,{d:`M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4`,key:`daa4of`}],[`rect`,{width:`10`,height:`7`,x:`12`,y:`13`,rx:`2`,key:`1nb8gs`}]]),JC=l(`picture-in-picture`,[[`path`,{d:`M2 10h6V4`,key:`zwrco`}],[`path`,{d:`m2 4 6 6`,key:`ug085t`}],[`path`,{d:`M21 10V7a2 2 0 0 0-2-2h-7`,key:`git5jr`}],[`path`,{d:`M3 14v2a2 2 0 0 0 2 2h3`,key:`1f7fh3`}],[`rect`,{x:`12`,y:`14`,width:`10`,height:`7`,rx:`1`,key:`1wjs3o`}]]),YC=l(`piggy-bank`,[[`path`,{d:`M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z`,key:`1piglc`}],[`path`,{d:`M16 10h.01`,key:`1m94wz`}],[`path`,{d:`M2 8v1a2 2 0 0 0 2 2h1`,key:`1env43`}]]),XC=l(`pilcrow-left`,[[`path`,{d:`M14 3v11`,key:`mlfb7b`}],[`path`,{d:`M14 9h-3a3 3 0 0 1 0-6h9`,key:`1ulc19`}],[`path`,{d:`M18 3v11`,key:`1phi0r`}],[`path`,{d:`M22 18H2l4-4`,key:`yt65j9`}],[`path`,{d:`m6 22-4-4`,key:`6jgyf5`}]]),ZC=l(`pilcrow-right`,[[`path`,{d:`M10 3v11`,key:`o3l5kj`}],[`path`,{d:`M10 9H7a1 1 0 0 1 0-6h8`,key:`1wb1nc`}],[`path`,{d:`M14 3v11`,key:`mlfb7b`}],[`path`,{d:`m18 14 4 4H2`,key:`4r8io1`}],[`path`,{d:`m22 18-4 4`,key:`1hjjrd`}]]),QC=l(`pilcrow`,[[`path`,{d:`M13 4v16`,key:`8vvj80`}],[`path`,{d:`M17 4v16`,key:`7dpous`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`,key:`sh4n9v`}]]),$C=l(`pill-bottle`,[[`path`,{d:`M18 11h-4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h4`,key:`17ldeb`}],[`path`,{d:`M6 7v13a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7`,key:`nc37y6`}],[`rect`,{width:`16`,height:`5`,x:`4`,y:`2`,rx:`1`,key:`3jeezo`}]]),ew=l(`pill`,[[`path`,{d:`m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z`,key:`wa1lgi`}],[`path`,{d:`m8.5 8.5 7 7`,key:`rvfmvr`}]]),tw=l(`pin`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]),nw=l(`pizza`,[[`path`,{d:`m12 14-1 1`,key:`11onhr`}],[`path`,{d:`m13.75 18.25-1.25 1.42`,key:`1yisr3`}],[`path`,{d:`M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12`,key:`1qtqk6`}],[`path`,{d:`M18.8 9.3a1 1 0 0 0 2.1 7.7`,key:`fbbbr2`}],[`path`,{d:`M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z`,key:`1hyfdd`}]]),rw=l(`pin-off`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`,key:`znwnzq`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`,key:`c9qhm2`}]]),iw=l(`pipette`,[[`path`,{d:`m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12`,key:`1y3wsu`}],[`path`,{d:`m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z`,key:`110lr1`}],[`path`,{d:`m2 22 .414-.414`,key:`jhxm08`}]]),aw=l(`plane-landing`,[[`path`,{d:`M2 22h20`,key:`272qi7`}],[`path`,{d:`M3.77 10.77 2 9l2-4.5 1.1.55c.55.28.9.84.9 1.45s.35 1.17.9 1.45L8 8.5l3-6 1.05.53a2 2 0 0 1 1.09 1.52l.72 5.4a2 2 0 0 0 1.09 1.52l4.4 2.2c.42.22.78.55 1.01.96l.6 1.03c.49.88-.06 1.98-1.06 2.1l-1.18.15c-.47.06-.95-.02-1.37-.24L4.29 11.15a2 2 0 0 1-.52-.38Z`,key:`1ma21e`}]]),ow=l(`plane-takeoff`,[[`path`,{d:`M2 22h20`,key:`272qi7`}],[`path`,{d:`M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z`,key:`fkigj9`}]]),sw=l(`plane`,[[`path`,{d:`M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z`,key:`1v9wt8`}]]),cw=l(`plug-zap`,[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m18 3-4 4h6l-4 4`,key:`16psg9`}]]),lw=l(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),uw=l(`plug-2`,[[`path`,{d:`M9 2v6`,key:`17ngun`}],[`path`,{d:`M15 2v6`,key:`s7yy2p`}],[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M5 8h14`,key:`pcz4l3`}],[`path`,{d:`M6 11V8h12v3a6 6 0 1 1-12 0Z`,key:`wtfw2c`}]]),dw=l(`plug`,[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]),fw=l(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),pw=l(`pocket-knife`,[[`path`,{d:`M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2`,key:`19w3oe`}],[`path`,{d:`M18 6h.01`,key:`1v4wsw`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z`,key:`6fykxj`}],[`path`,{d:`M18 11.66V22a4 4 0 0 0 4-4V6`,key:`1utzek`}]]),mw=l(`podcast`,[[`path`,{d:`M13 17a1 1 0 1 0-2 0l.5 4.5a0.5 0.5 0 0 0 1 0z`,fill:`currentColor`,key:`x1mxqr`}],[`path`,{d:`M16.85 18.58a9 9 0 1 0-9.7 0`,key:`d71mpg`}],[`path`,{d:`M8 14a5 5 0 1 1 8 0`,key:`fc81rn`}],[`circle`,{cx:`12`,cy:`11`,r:`1`,fill:`currentColor`,key:`vqiwd`}]]),hw=l(`pointer-off`,[[`path`,{d:`M10 4.5V4a2 2 0 0 0-2.41-1.957`,key:`jsi14n`}],[`path`,{d:`M13.9 8.4a2 2 0 0 0-1.26-1.295`,key:`hirc7f`}],[`path`,{d:`M21.7 16.2A8 8 0 0 0 22 14v-3a2 2 0 1 0-4 0v-1a2 2 0 0 0-3.63-1.158`,key:`1jxb2e`}],[`path`,{d:`m7 15-1.8-1.8a2 2 0 0 0-2.79 2.86L6 19.7a7.74 7.74 0 0 0 6 2.3h2a8 8 0 0 0 5.657-2.343`,key:`10r7hm`}],[`path`,{d:`M6 6v8`,key:`tv5xkp`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),gw=l(`pointer`,[[`path`,{d:`M22 14a8 8 0 0 1-8 8`,key:`56vcr3`}],[`path`,{d:`M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1agjmk`}],[`path`,{d:`M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1`,key:`wdbh2u`}],[`path`,{d:`M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10`,key:`1ibuk9`}],[`path`,{d:`M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`,key:`g6ys72`}]]),_w=l(`popcorn`,[[`path`,{d:`M18 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4`,key:`10td1f`}],[`path`,{d:`M10 22 9 8`,key:`yjptiv`}],[`path`,{d:`m14 22 1-14`,key:`8jwc8b`}],[`path`,{d:`M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z`,key:`1qo33t`}]]),vw=l(`popsicle`,[[`path`,{d:`M18.6 14.4c.8-.8.8-2 0-2.8l-8.1-8.1a4.95 4.95 0 1 0-7.1 7.1l8.1 8.1c.9.7 2.1.7 2.9-.1Z`,key:`1o68ps`}],[`path`,{d:`m22 22-5.5-5.5`,key:`17o70y`}]]),yw=l(`pound-sterling`,[[`path`,{d:`M18 7c0-5.333-8-5.333-8 0`,key:`1prm2n`}],[`path`,{d:`M10 7v14`,key:`18tmcs`}],[`path`,{d:`M6 21h12`,key:`4dkmi1`}],[`path`,{d:`M6 13h10`,key:`ybwr4a`}]]),bw=l(`power-off`,[[`path`,{d:`M18.36 6.64A9 9 0 0 1 20.77 15`,key:`dxknvb`}],[`path`,{d:`M6.16 6.16a9 9 0 1 0 12.68 12.68`,key:`1x7qb5`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),xw=l(`presentation`,[[`path`,{d:`M2 3h20`,key:`91anmk`}],[`path`,{d:`M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3`,key:`2k9sn8`}],[`path`,{d:`m7 21 5-5 5 5`,key:`bip4we`}]]),Sw=l(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),Cw=l(`printer-check`,[[`path`,{d:`M13.5 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v.5`,key:`qeb09x`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v2`,key:`1md90i`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`,key:`1itne7`}]]),ww=l(`printer-x`,[[`path`,{d:`M12.531 22H7a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6.377`,key:`1w39xo`}],[`path`,{d:`m16.5 16.5 5 5`,key:`zc9lw7`}],[`path`,{d:`m16.5 21.5 5-5`,key:`1fr29m`}],[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.5`,key:`18he39`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`,key:`1itne7`}]]),Tw=l(`projector`,[[`path`,{d:`M5 7 3 5`,key:`1yys58`}],[`path`,{d:`M9 6V3`,key:`1ptz9u`}],[`path`,{d:`m13 7 2-2`,key:`1w3vmq`}],[`circle`,{cx:`9`,cy:`13`,r:`3`,key:`1mma13`}],[`path`,{d:`M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17`,key:`2frwzc`}],[`path`,{d:`M16 16h2`,key:`dnq2od`}]]),Ew=l(`printer`,[[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`,key:`143wyd`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`,key:`1itne7`}],[`rect`,{x:`6`,y:`14`,width:`12`,height:`8`,rx:`1`,key:`1ue0tg`}]]),Dw=l(`proportions`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`M12 9v11`,key:`1fnkrn`}],[`path`,{d:`M2 9h13a2 2 0 0 1 2 2v9`,key:`11z3ex`}]]),Ow=l(`puzzle`,[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]),kw=l(`pyramid`,[[`path`,{d:`M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z`,key:`aenxs0`}],[`path`,{d:`M12 2v20`,key:`t6zp3m`}]]),Aw=l(`qr-code`,[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]]),jw=l(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]),Mw=l(`rabbit`,[[`path`,{d:`M13 16a3 3 0 0 1 2.24 5`,key:`1epib5`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}],[`path`,{d:`M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3`,key:`ue9ozu`}],[`path`,{d:`M20 8.54V4a2 2 0 1 0-4 0v3`,key:`49iql8`}],[`path`,{d:`M7.612 12.524a3 3 0 1 0-1.6 4.3`,key:`1e33i0`}]]),Nw=l(`radar`,[[`path`,{d:`M19.07 4.93A10 10 0 0 0 6.99 3.34`,key:`z3du51`}],[`path`,{d:`M4 6h.01`,key:`oypzma`}],[`path`,{d:`M2.29 9.62A10 10 0 1 0 21.31 8.35`,key:`qzzz0`}],[`path`,{d:`M16.24 7.76A6 6 0 1 0 8.23 16.67`,key:`1yjesh`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M17.99 11.66A6 6 0 0 1 15.77 16.67`,key:`1u2y91`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`m13.41 10.59 5.66-5.66`,key:`mhq4k0`}]]),Pw=l(`radiation`,[[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 15.4641a4 4 0 0 1-4 0L7.52786 19.74597 A 1 1 0 0 0 7.99303 21.16211 10 10 0 0 0 16.00697 21.16211 1 1 0 0 0 16.47214 19.74597z`,key:`1y4lzb`}],[`path`,{d:`M16 12a4 4 0 0 0-2-3.464l2.472-4.282a1 1 0 0 1 1.46-.305 10 10 0 0 1 4.006 6.94A1 1 0 0 1 21 12z`,key:`163ggk`}],[`path`,{d:`M8 12a4 4 0 0 1 2-3.464L7.528 4.254a1 1 0 0 0-1.46-.305 10 10 0 0 0-4.006 6.94A1 1 0 0 0 3 12z`,key:`1l9i0b`}]]),Fw=l(`radical`,[[`path`,{d:`M3 12h3.28a1 1 0 0 1 .948.684l2.298 7.934a.5.5 0 0 0 .96-.044L13.82 4.771A1 1 0 0 1 14.792 4H21`,key:`1mqj8i`}]]),Iw=l(`radio-off`,[[`path`,{d:`M13.414 13.414a2 2 0 1 1-2.828-2.828`,key:`srl686`}],[`path`,{d:`M16.247 7.761a6 6 0 0 1 1.744 4.572`,key:`1h86sp`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 2.234 10.72`,key:`1n13k4`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}]]),Lw=l(`radio-receiver`,[[`path`,{d:`M5 16v2`,key:`g5qcv5`}],[`path`,{d:`M19 16v2`,key:`1gbaio`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`8`,rx:`2`,key:`vjsjur`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}]]),Rw=l(`radio-tower`,[[`path`,{d:`M4.9 16.1C1 12.2 1 5.8 4.9 1.9`,key:`s0qx1y`}],[`path`,{d:`M7.8 4.7a6.14 6.14 0 0 0-.8 7.5`,key:`1idnkw`}],[`circle`,{cx:`12`,cy:`9`,r:`2`,key:`1092wv`}],[`path`,{d:`M16.2 4.8c2 2 2.26 5.11.8 7.47`,key:`ojru2q`}],[`path`,{d:`M19.1 1.9a9.96 9.96 0 0 1 0 14.1`,key:`rhi7fg`}],[`path`,{d:`M9.5 18h5`,key:`mfy3pd`}],[`path`,{d:`m8 22 4-11 4 11`,key:`25yftu`}]]),zw=l(`radio`,[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`,key:`1fwjs5`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`,key:`ehdyv1`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Bw=l(`radius`,[[`path`,{d:`M20.34 17.52a10 10 0 1 0-2.82 2.82`,key:`fydyku`}],[`circle`,{cx:`19`,cy:`19`,r:`2`,key:`17f5cg`}],[`path`,{d:`m13.41 13.41 4.18 4.18`,key:`1gqbwc`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Vw=l(`rainbow`,[[`path`,{d:`M22 17a10 10 0 0 0-20 0`,key:`ozegv`}],[`path`,{d:`M6 17a6 6 0 0 1 12 0`,key:`5giftw`}],[`path`,{d:`M10 17a2 2 0 0 1 4 0`,key:`gnsikk`}]]),Hw=l(`rat`,[[`path`,{d:`M13 22H4a2 2 0 0 1 0-4h12`,key:`bt3f23`}],[`path`,{d:`M13.236 18a3 3 0 0 0-2.2-5`,key:`1tbvmo`}],[`path`,{d:`M16 9h.01`,key:`1bdo4e`}],[`path`,{d:`M16.82 3.94a3 3 0 1 1 3.237 4.868l1.815 2.587a1.5 1.5 0 0 1-1.5 2.1l-2.872-.453a3 3 0 0 0-3.5 3`,key:`9ch7kn`}],[`path`,{d:`M17 4.988a3 3 0 1 0-5.2 2.052A7 7 0 0 0 4 14.015 4 4 0 0 0 8 18`,key:`3s7e9i`}]]),Uw=l(`ratio`,[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`,key:`1oxtiu`}],[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`,key:`9lu3g6`}]]),Ww=l(`receipt-euro`,[[`path`,{d:`M15.828 14.829a4 4 0 0 1-5.656 0 4 4 0 0 1 0-5.657 4 4 0 0 1 5.656 0`,key:`16zdw4`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}],[`path`,{d:`M8 12h5`,key:`1g6qi8`}]]),Gw=l(`receipt-cent`,[[`path`,{d:`M12 7v10`,key:`jspqdw`}],[`path`,{d:`M14.828 14.829a4 4 0 0 1-5.656 0 4 4 0 0 1 0-5.657 4 4 0 0 1 5.656 0`,key:`qvqont`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}]]),Kw=l(`receipt-indian-rupee`,[[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}],[`path`,{d:`M8 11h8`,key:`vwpz6n`}],[`path`,{d:`M8 7h8`,key:`i86dvs`}],[`path`,{d:`M9 7a4 4 0 0 1 0 8H8l3 2`,key:`1xaco0`}]]),qw=l(`receipt-japanese-yen`,[[`path`,{d:`m12 10 3-3`,key:`1mc12w`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}],[`path`,{d:`M9 15h6`,key:`cctwl0`}],[`path`,{d:`m9 7 3 3v7`,key:`1x0cue`}]]),Jw=l(`receipt-pound-sterling`,[[`path`,{d:`M10 17V9.5a1 1 0 0 1 5 0`,key:`td22vl`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}],[`path`,{d:`M8 13h5`,key:`1k9z8w`}],[`path`,{d:`M8 17h7`,key:`8mjdqu`}]]),Yw=l(`receipt-russian-ruble`,[[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}],[`path`,{d:`M8 11h5a2 2 0 0 0 0-4h-3v10`,key:`agnv0r`}],[`path`,{d:`M8 15h5`,key:`vxg57a`}]]),Xw=l(`receipt-swiss-franc`,[[`path`,{d:`M10 11h4`,key:`1i0mka`}],[`path`,{d:`M10 17V7h5`,key:`k7jq18`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}],[`path`,{d:`M8 15h5`,key:`vxg57a`}]]),Zw=l(`receipt-text`,[[`path`,{d:`M13 16H8`,key:`wsln4y`}],[`path`,{d:`M14 8H8`,key:`1l3xfs`}],[`path`,{d:`M16 12H8`,key:`1fr5h0`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}]]),Qw=l(`receipt-turkish-lira`,[[`path`,{d:`M10 7v10a5 5 0 0 0 5-5`,key:`1blmz7`}],[`path`,{d:`m14 8-6 3`,key:`2tb98i`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}]]),$w=l(`receipt`,[[`path`,{d:`M12 17V7`,key:`pyj7ub`}],[`path`,{d:`M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8`,key:`1elt7d`}],[`path`,{d:`M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z`,key:`ycz6yz`}]]),eT=l(`rectangle-circle`,[[`path`,{d:`M14 4v16H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z`,key:`1m5n7q`}],[`circle`,{cx:`14`,cy:`12`,r:`8`,key:`1pag6k`}]]),tT=l(`rectangle-ellipsis`,[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`,key:`9lu3g6`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M17 12h.01`,key:`1m0b6t`}],[`path`,{d:`M7 12h.01`,key:`eqddd0`}]]),nT=l(`rectangle-goggles`,[[`path`,{d:`M20 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-4a2 2 0 0 1-1.6-.8l-1.6-2.13a1 1 0 0 0-1.6 0L9.6 17.2A2 2 0 0 1 8 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`d5y1f`}]]),rT=l(`rectangle-horizontal`,[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`,key:`9lu3g6`}]]),iT=l(`rectangle-vertical`,[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`,key:`1oxtiu`}]]),aT=l(`recycle`,[[`path`,{d:`M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5`,key:`x6z5xu`}],[`path`,{d:`M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12`,key:`1x4zh5`}],[`path`,{d:`m14 16-3 3 3 3`,key:`f6jyew`}],[`path`,{d:`M8.293 13.596 7.196 9.5 3.1 10.598`,key:`wf1obh`}],[`path`,{d:`m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843`,key:`9tzpgr`}],[`path`,{d:`m13.378 9.633 4.096 1.098 1.097-4.096`,key:`1oe83g`}]]),oT=l(`redo-2`,[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]),sT=l(`redo-dot`,[[`circle`,{cx:`12`,cy:`17`,r:`1`,key:`1ixnty`}],[`path`,{d:`M21 7v6h-6`,key:`3ptur4`}],[`path`,{d:`M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7`,key:`1kgawr`}]]),cT=l(`redo`,[[`path`,{d:`M21 7v6h-6`,key:`3ptur4`}],[`path`,{d:`M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7`,key:`1kgawr`}]]),lT=l(`refresh-ccw-dot`,[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`14sxne`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`,key:`1hlbsb`}],[`path`,{d:`M16 16h5v5`,key:`ccwih5`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]),uT=l(`refresh-ccw`,[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`14sxne`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`,key:`1hlbsb`}],[`path`,{d:`M16 16h5v5`,key:`ccwih5`}]]),dT=l(`refresh-cw-off`,[[`path`,{d:`M21 8L18.74 5.74A9.75 9.75 0 0 0 12 3C11 3 10.03 3.16 9.13 3.47`,key:`1krf6h`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}],[`path`,{d:`M3 12C3 9.51 4 7.26 5.64 5.64`,key:`ruvoct`}],[`path`,{d:`m3 16 2.26 2.26A9.75 9.75 0 0 0 12 21c2.49 0 4.74-1 6.36-2.64`,key:`19q130`}],[`path`,{d:`M21 12c0 1-.16 1.97-.47 2.87`,key:`4w8emr`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M22 22 2 2`,key:`1r8tn9`}]]),fT=l(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),pT=l(`regex`,[[`path`,{d:`M17 3v10`,key:`15fgeh`}],[`path`,{d:`m12.67 5.5 8.66 5`,key:`1gpheq`}],[`path`,{d:`m12.67 10.5 8.66-5`,key:`1dkfa6`}],[`path`,{d:`M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z`,key:`swwfx4`}]]),mT=l(`remove-formatting`,[[`path`,{d:`M4 7V4h16v3`,key:`9msm58`}],[`path`,{d:`M5 20h6`,key:`1h6pxn`}],[`path`,{d:`M13 4 8 20`,key:`kqq6aj`}],[`path`,{d:`m15 15 5 5`,key:`me55sn`}],[`path`,{d:`m20 15-5 5`,key:`11p7ol`}]]),hT=l(`refrigerator`,[[`path`,{d:`M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z`,key:`fpq118`}],[`path`,{d:`M5 10h14`,key:`elsbfy`}],[`path`,{d:`M15 7v6`,key:`1nx30x`}]]),gT=l(`repeat-1`,[[`path`,{d:`m17 2 4 4-4 4`,key:`nntrym`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`,key:`84bu3i`}],[`path`,{d:`m7 22-4-4 4-4`,key:`1wqhfi`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`,key:`1rx37r`}],[`path`,{d:`M11 10h1v4`,key:`70cz1p`}]]),_T=l(`repeat-2`,[[`path`,{d:`m2 9 3-3 3 3`,key:`1ltn5i`}],[`path`,{d:`M13 18H7a2 2 0 0 1-2-2V6`,key:`1r6tfw`}],[`path`,{d:`m22 15-3 3-3-3`,key:`4rnwn2`}],[`path`,{d:`M11 6h6a2 2 0 0 1 2 2v10`,key:`2f72bc`}]]),vT=l(`repeat-off`,[[`path`,{d:`M11.656 6H21l-4-4`,key:`w9pozh`}],[`path`,{d:`M17.898 17.898A4 4 0 0 1 17 18H3l4-4`,key:`156mfe`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M21 13v1a4 4 0 0 1-.171 1.159`,key:`2p1713`}],[`path`,{d:`m21 6-4 4`,key:`p7opkf`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 3.102-3.898`,key:`8cius9`}],[`path`,{d:`m7 22-4-4`,key:`1kl3a3`}]]),yT=l(`repeat`,[[`path`,{d:`m17 2 4 4-4 4`,key:`nntrym`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`,key:`84bu3i`}],[`path`,{d:`m7 22-4-4 4-4`,key:`1wqhfi`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`,key:`1rx37r`}]]),bT=l(`replace-all`,[[`path`,{d:`M14 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`,key:`zg1ipl`}],[`path`,{d:`M14 4a1 1 0 0 1 1-1`,key:`dhj8ez`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`,key:`1mnyi5`}],[`path`,{d:`M19 14a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1`,key:`txt6k4`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`,key:`sfs9ap`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`,key:`mp6qeo`}],[`path`,{d:`m3 7 3 3 3-3`,key:`x25e72`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`,key:`15xut4`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}]]),xT=l(`reply-all`,[[`path`,{d:`m12 17-5-5 5-5`,key:`1s3y5u`}],[`path`,{d:`M22 18v-2a4 4 0 0 0-4-4H7`,key:`1fcyog`}],[`path`,{d:`m7 17-5-5 5-5`,key:`1ed8i2`}]]),ST=l(`reply`,[[`path`,{d:`M20 18v-2a4 4 0 0 0-4-4H4`,key:`5vmcpk`}],[`path`,{d:`m9 17-5-5 5-5`,key:`nvlc11`}]]),CT=l(`replace`,[[`path`,{d:`M14 4a1 1 0 0 1 1-1`,key:`dhj8ez`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`,key:`1mnyi5`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`,key:`sfs9ap`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`,key:`mp6qeo`}],[`path`,{d:`m3 7 3 3 3-3`,key:`x25e72`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`,key:`15xut4`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}]]),wT=l(`rewind`,[[`path`,{d:`M12 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 12 18z`,key:`2a1g8i`}],[`path`,{d:`M22 6a2 2 0 0 0-3.414-1.414l-6 6a2 2 0 0 0 0 2.828l6 6A2 2 0 0 0 22 18z`,key:`rg3s36`}]]),TT=l(`ribbon`,[[`path`,{d:`M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22`,key:`1rnhq3`}],[`path`,{d:`m12 18 2.57-3.5`,key:`116vt7`}],[`path`,{d:`M6.243 9.016a7 7 0 0 1 11.507-.009`,key:`10dq0b`}],[`path`,{d:`M9.35 14.53 12 11.22`,key:`tdsyp2`}],[`path`,{d:`M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z`,key:`nmifey`}]]),ET=l(`road`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M12 5V3`,key:`vd5es`}],[`path`,{d:`M12 9v3`,key:`qyerrc`}],[`path`,{d:`M2.077 18.449A2 2 0 0 0 4 21h16a2 2 0 0 0 1.924-2.55l-4-14A2 2 0 0 0 16 3H8a2 2 0 0 0-1.924 1.45z`,key:`1cuxct`}]]),DT=l(`rocket`,[[`path`,{d:`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`,key:`qeys4`}],[`path`,{d:`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09`,key:`u4xsad`}],[`path`,{d:`M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z`,key:`676m9`}],[`path`,{d:`M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05`,key:`92ym6u`}]]),OT=l(`rocking-chair`,[[`path`,{d:`m15 13 3.708 7.416`,key:`1edxn9`}],[`path`,{d:`M3 19a15 15 0 0 0 18 0`,key:`d0d1c4`}],[`path`,{d:`m3 2 3.21 9.633A2 2 0 0 0 8.109 13H18`,key:`tpa4et`}],[`path`,{d:`m9 13-3.708 7.416`,key:`1oplxx`}]]),kT=l(`roller-coaster`,[[`path`,{d:`M6 19V5`,key:`1r845m`}],[`path`,{d:`M10 19V6.8`,key:`9j2tfs`}],[`path`,{d:`M14 19v-7.8`,key:`10s8qv`}],[`path`,{d:`M18 5v4`,key:`1tajlv`}],[`path`,{d:`M18 19v-6`,key:`ielfq3`}],[`path`,{d:`M22 19V9`,key:`158nzp`}],[`path`,{d:`M2 19V9a4 4 0 0 1 4-4c2 0 4 1.33 6 4s4 4 6 4a4 4 0 1 0-3-6.65`,key:`1930oh`}]]),AT=l(`rotate-3d`,[[`path`,{d:`m15.194 13.707 3.814 1.86-1.86 3.814`,key:`16shm9`}],[`path`,{d:`M16.47214 7.52786 A 5 10 0 1 0 13 21.79796`,key:`1245p8`}],[`path`,{d:`M21.79796 11 A 10 5 0 1 0 19 15.57071`,key:`1i40ks`}]]),jT=l(`rotate-ccw-key`,[[`path`,{d:`M12 7v6`,key:`lw1j43`}],[`path`,{d:`M12 9h2`,key:`1lpap9`}],[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.74 9.74 0 0 0-6.74 2.74L3 8`,key:`g2jlw`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`circle`,{cx:`12`,cy:`15`,r:`2`,key:`1vpstw`}]]),MT=l(`rose`,[[`path`,{d:`M17 10h-1a4 4 0 1 1 4-4v.534`,key:`7qf5zm`}],[`path`,{d:`M17 6h1a4 4 0 0 1 1.42 7.74l-2.29.87a6 6 0 0 1-5.339-10.68l2.069-1.31`,key:`1et29u`}],[`path`,{d:`M4.5 17c2.8-.5 4.4 0 5.5.8s1.8 2.2 2.3 3.7c-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2`,key:`kiv2lz`}],[`path`,{d:`M9.77 12C4 15 2 22 2 22`,key:`h28rw0`}],[`circle`,{cx:`17`,cy:`8`,r:`2`,key:`1330xn`}]]),NT=l(`rotate-ccw-square`,[[`path`,{d:`M20 9V7a2 2 0 0 0-2-2h-6`,key:`19z8uc`}],[`path`,{d:`m15 2-3 3 3 3`,key:`177bxs`}],[`path`,{d:`M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2`,key:`d36hnl`}]]),PT=l(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),FT=l(`rotate-cw-square`,[[`path`,{d:`M12 5H6a2 2 0 0 0-2 2v3`,key:`l96uqu`}],[`path`,{d:`m9 8 3-3-3-3`,key:`1gzgc3`}],[`path`,{d:`M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2`,key:`1w2k5h`}]]),IT=l(`route-off`,[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5c.4 0 .9-.1 1.3-.2`,key:`1effex`}],[`path`,{d:`M5.2 5.2A3.5 3.53 0 0 0 6.5 12H12`,key:`k9y2ds`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M21 15.3a3.5 3.5 0 0 0-3.3-3.3`,key:`11nlu2`}],[`path`,{d:`M15 5h-4.3`,key:`6537je`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]),LT=l(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),RT=l(`router`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6.01 18H6`,key:`19vcac`}],[`path`,{d:`M10.01 18H10`,key:`uamcmx`}],[`path`,{d:`M15 10v4`,key:`qjz1xs`}],[`path`,{d:`M17.84 7.17a4 4 0 0 0-5.66 0`,key:`1rif40`}],[`path`,{d:`M20.66 4.34a8 8 0 0 0-11.31 0`,key:`6a5xfq`}]]),zT=l(`route`,[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`,key:`1d8sl`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]),BT=l(`rows-2`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}]]),VT=l(`rows-3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]]),HT=l(`rows-4`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 7.5H3`,key:`1hm9pq`}],[`path`,{d:`M21 12H3`,key:`2avoz0`}],[`path`,{d:`M21 16.5H3`,key:`n7jzkj`}]]),UT=l(`rss`,[[`path`,{d:`M4 11a9 9 0 0 1 9 9`,key:`pv89mb`}],[`path`,{d:`M4 4a16 16 0 0 1 16 16`,key:`k0647b`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]]),WT=l(`ruler`,[[`path`,{d:`M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z`,key:`icamh8`}],[`path`,{d:`m14.5 12.5 2-2`,key:`inckbg`}],[`path`,{d:`m11.5 9.5 2-2`,key:`fmmyf7`}],[`path`,{d:`m8.5 6.5 2-2`,key:`vc6u1g`}],[`path`,{d:`m17.5 15.5 2-2`,key:`wo5hmg`}]]),GT=l(`ruler-dimension-line`,[[`path`,{d:`M10 15v-3`,key:`1pjskw`}],[`path`,{d:`M14 15v-3`,key:`1o1mqj`}],[`path`,{d:`M18 15v-3`,key:`cws6he`}],[`path`,{d:`M2 8V4`,key:`3jv1jz`}],[`path`,{d:`M22 6H2`,key:`1iqbfk`}],[`path`,{d:`M22 8V4`,key:`16f4ou`}],[`path`,{d:`M6 15v-3`,key:`1ij1qe`}],[`rect`,{x:`2`,y:`12`,width:`20`,height:`8`,rx:`2`,key:`1tqiko`}]]),KT=l(`russian-ruble`,[[`path`,{d:`M6 11h8a4 4 0 0 0 0-8H9v18`,key:`18ai8t`}],[`path`,{d:`M6 15h8`,key:`1y8f6l`}]]),qT=l(`sailboat`,[[`path`,{d:`M10 2v15`,key:`1qf71f`}],[`path`,{d:`M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z`,key:`1pxcvx`}],[`path`,{d:`M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z`,key:`5oog16`}]]),JT=l(`sandwich`,[[`path`,{d:`m2.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777`,key:`f1wd0e`}],[`path`,{d:`M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25`,key:`1pfu07`}],[`path`,{d:`M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9`,key:`1oq9qw`}],[`path`,{d:`m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2`,key:`1fnwu5`}],[`rect`,{width:`20`,height:`4`,x:`2`,y:`11`,rx:`1`,key:`itshg`}]]),YT=l(`salad`,[[`path`,{d:`M7 21h10`,key:`1b0cd5`}],[`path`,{d:`M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z`,key:`4rw317`}],[`path`,{d:`M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1`,key:`10xrj0`}],[`path`,{d:`m13 12 4-4`,key:`1hckqy`}],[`path`,{d:`M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2`,key:`1p4srx`}]]),XT=l(`satellite-dish`,[[`path`,{d:`M4 10a7.31 7.31 0 0 0 10 10Z`,key:`1fzpp3`}],[`path`,{d:`m9 15 3-3`,key:`88sc13`}],[`path`,{d:`M17 13a6 6 0 0 0-6-6`,key:`15cc6u`}],[`path`,{d:`M21 13A10 10 0 0 0 11 3`,key:`11nf8s`}]]),ZT=l(`satellite`,[[`path`,{d:`m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5`,key:`dzhfyz`}],[`path`,{d:`M16.5 7.5 19 5`,key:`1ltcjm`}],[`path`,{d:`m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5`,key:`nfoymv`}],[`path`,{d:`M9 21a6 6 0 0 0-6-6`,key:`1iajcf`}],[`path`,{d:`M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z`,key:`nv9zqy`}]]),QT=l(`save-all`,[[`path`,{d:`M10 2v3a1 1 0 0 0 1 1h5`,key:`1xspal`}],[`path`,{d:`M18 18v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6`,key:`1ra60u`}],[`path`,{d:`M18 22H4a2 2 0 0 1-2-2V6`,key:`pblm9e`}],[`path`,{d:`M8 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9.172a2 2 0 0 1 1.414.586l2.828 2.828A2 2 0 0 1 22 6.828V16a2 2 0 0 1-2.01 2z`,key:`1yve0x`}]]),$T=l(`saudi-riyal`,[[`path`,{d:`m20 19.5-5.5 1.2`,key:`1aenhr`}],[`path`,{d:`M14.5 4v11.22a1 1 0 0 0 1.242.97L20 15.2`,key:`2rtezt`}],[`path`,{d:`m2.978 19.351 5.549-1.363A2 2 0 0 0 10 16V2`,key:`1kbm92`}],[`path`,{d:`M20 10 4 13.5`,key:`8nums9`}]]),eE=l(`save-off`,[[`path`,{d:`M13 13H8a1 1 0 0 0-1 1v7`,key:`h8g396`}],[`path`,{d:`M14 8h1`,key:`1lfen6`}],[`path`,{d:`M17 21v-4`,key:`1yknxs`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20.41 20.41A2 2 0 0 1 19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 .59-1.41`,key:`1t4vdl`}],[`path`,{d:`M29.5 11.5s5 5 4 5`,key:`zzn4i6`}],[`path`,{d:`M9 3h6.2a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V15`,key:`24cby9`}]]),tE=l(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),nE=l(`scale`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`path`,{d:`m19 8 3 8a5 5 0 0 1-6 0zV7`,key:`zcdpyk`}],[`path`,{d:`M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1`,key:`1yorad`}],[`path`,{d:`m5 8 3 8a5 5 0 0 1-6 0zV7`,key:`eua70x`}],[`path`,{d:`M7 21h10`,key:`1b0cd5`}]]),rE=l(`scale-3d`,[[`path`,{d:`M5 7v11a1 1 0 0 0 1 1h11`,key:`13dt1j`}],[`path`,{d:`M5.293 18.707 11 13`,key:`ezgbsx`}],[`circle`,{cx:`19`,cy:`19`,r:`2`,key:`17f5cg`}],[`circle`,{cx:`5`,cy:`5`,r:`2`,key:`1gwv83`}]]),iE=l(`scan-barcode`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`path`,{d:`M8 7v10`,key:`23sfjj`}],[`path`,{d:`M12 7v10`,key:`jspqdw`}],[`path`,{d:`M17 7v10`,key:`578dap`}]]),aE=l(`scaling`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M14 15H9v-5`,key:`pi4jk9`}],[`path`,{d:`M16 3h5v5`,key:`1806ms`}],[`path`,{d:`M21 3 9 15`,key:`15kdhq`}]]),oE=l(`scan-eye`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`,key:`11ak4c`}]]),sE=l(`scan-face`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`,key:`1y1vjs`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`path`,{d:`M15 9h.01`,key:`x1ddxp`}]]),cE=l(`scan-heart`,[[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`path`,{d:`M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 4.172 4.306l-3.447 3.62a1 1 0 0 1-1.449 0z`,key:`1ak1ef`}]]),lE=l(`scan-line`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`path`,{d:`M7 12h10`,key:`b7w52i`}]]),uE=l(`scan-search`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`m16 16-1.9-1.9`,key:`1dq9hf`}]]),dE=l(`scan-qr-code`,[[`path`,{d:`M17 12v4a1 1 0 0 1-1 1h-4`,key:`uk4fdo`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M17 8V7`,key:`q2g9wo`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M7 17h.01`,key:`19xn7k`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`rect`,{x:`7`,y:`7`,width:`5`,height:`5`,rx:`1`,key:`m9kyts`}]]),fE=l(`scan-text`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`path`,{d:`M7 8h8`,key:`1jbsf9`}],[`path`,{d:`M7 12h10`,key:`b7w52i`}],[`path`,{d:`M7 16h6`,key:`1vyc9m`}]]),pE=l(`scan`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}]]),mE=l(`scissors-line-dashed`,[[`path`,{d:`M5.42 9.42 8 12`,key:`12pkuq`}],[`circle`,{cx:`4`,cy:`8`,r:`2`,key:`107mxr`}],[`path`,{d:`m14 6-8.58 8.58`,key:`gvzu5l`}],[`circle`,{cx:`4`,cy:`16`,r:`2`,key:`1ehqvc`}],[`path`,{d:`M10.8 14.8 14 18`,key:`ax7m9r`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}]]),hE=l(`school`,[[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M18 4.933V21`,key:`tjwmp4`}],[`path`,{d:`m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6`,key:`zywc2d`}],[`path`,{d:`m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11`,key:`1d4ql0`}],[`path`,{d:`M6 4.933V21`,key:`1ufz1j`}],[`circle`,{cx:`12`,cy:`9`,r:`2`,key:`1092wv`}]]),gE=l(`scissors`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M8.12 8.12 12 12`,key:`1alkpv`}],[`path`,{d:`M20 4 8.12 15.88`,key:`xgtan2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`path`,{d:`M14.8 14.8 20 20`,key:`ptml3r`}]]),_E=l(`scooter`,[[`path`,{d:`M21 4h-3.5l2 11.05`,key:`1gktiw`}],[`path`,{d:`M6.95 17h5.142c.523 0 .95-.406 1.063-.916a6.5 6.5 0 0 1 5.345-5.009`,key:`1bq3u3`}],[`circle`,{cx:`19.5`,cy:`17.5`,r:`2.5`,key:`e4zhv9`}],[`circle`,{cx:`4.5`,cy:`17.5`,r:`2.5`,key:`50vk4p`}]]),vE=l(`screen-share-off`,[[`path`,{d:`M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3`,key:`i8wdob`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`m22 3-5 5`,key:`12jva0`}],[`path`,{d:`m17 3 5 5`,key:`k36vhe`}]]),yE=l(`screen-share`,[[`path`,{d:`M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3`,key:`i8wdob`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`m17 8 5-5`,key:`fqif7o`}],[`path`,{d:`M17 3h5v5`,key:`1o3tu8`}]]),bE=l(`scroll-text`,[[`path`,{d:`M15 12h-5`,key:`r7krc0`}],[`path`,{d:`M15 8h-5`,key:`1khuty`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`,key:`zz82l3`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`,key:`1ph1d7`}]]),xE=l(`scroll`,[[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`,key:`zz82l3`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`,key:`1ph1d7`}]]),SE=l(`search-alert`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}],[`path`,{d:`M11 7v4`,key:`m2edmq`}],[`path`,{d:`M11 15h.01`,key:`k85uqc`}]]),CE=l(`search-check`,[[`path`,{d:`m8 11 2 2 4-4`,key:`1sed1v`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),wE=l(`search-code`,[[`path`,{d:`m13 13.5 2-2.5-2-2.5`,key:`1rvxrh`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}],[`path`,{d:`M9 8.5 7 11l2 2.5`,key:`6ffwbx`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),TE=l(`search-slash`,[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),EE=l(`search-x`,[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),DE=l(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),OE=l(`section`,[[`path`,{d:`M16 5a4 3 0 0 0-8 0c0 4 8 3 8 7a4 3 0 0 1-8 0`,key:`vqan6v`}],[`path`,{d:`M8 19a4 3 0 0 0 8 0c0-4-8-3-8-7a4 3 0 0 1 8 0`,key:`wdjd8o`}]]),kE=l(`send-horizontal`,[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`,key:`117uat`}],[`path`,{d:`M6 12h16`,key:`s4cdu5`}]]),AE=l(`send-to-back`,[[`rect`,{x:`14`,y:`14`,width:`8`,height:`8`,rx:`2`,key:`1b0bso`}],[`rect`,{x:`2`,y:`2`,width:`8`,height:`8`,rx:`2`,key:`1x09vl`}],[`path`,{d:`M7 14v1a2 2 0 0 0 2 2h1`,key:`pao6x6`}],[`path`,{d:`M14 7h1a2 2 0 0 1 2 2v1`,key:`19tdru`}]]),jE=l(`separator-horizontal`,[[`path`,{d:`m16 16-4 4-4-4`,key:`3dv8je`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`m8 8 4-4 4 4`,key:`2bscm2`}]]),ME=l(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),NE=l(`separator-vertical`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`path`,{d:`m16 16 4-4-4-4`,key:`1js579`}],[`path`,{d:`m8 8-4 4 4 4`,key:`1whems`}]]),PE=l(`server-crash`,[[`path`,{d:`M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2`,key:`4b9dqc`}],[`path`,{d:`M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2`,key:`22nnkd`}],[`path`,{d:`M6 6h.01`,key:`1utrut`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`m13 6-4 6h6l-4 6`,key:`14hqih`}]]),FE=l(`server-cog`,[[`path`,{d:`m10.852 14.772-.383.923`,key:`11vil6`}],[`path`,{d:`M13.148 14.772a3 3 0 1 0-2.296-5.544l-.383-.923`,key:`1v3clb`}],[`path`,{d:`m13.148 9.228.383-.923`,key:`t2zzyc`}],[`path`,{d:`m13.53 15.696-.382-.924a3 3 0 1 1-2.296-5.544`,key:`1bxfiv`}],[`path`,{d:`m14.772 10.852.923-.383`,key:`k9m8cz`}],[`path`,{d:`m14.772 13.148.923.383`,key:`1xvhww`}],[`path`,{d:`M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5`,key:`tn8das`}],[`path`,{d:`M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5`,key:`1g2pve`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`M6 6h.01`,key:`1utrut`}],[`path`,{d:`m9.228 10.852-.923-.383`,key:`1wtb30`}],[`path`,{d:`m9.228 13.148-.923.383`,key:`1a830x`}]]),IE=l(`server-off`,[[`path`,{d:`M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5`,key:`bt2siv`}],[`path`,{d:`M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z`,key:`1hjrv1`}],[`path`,{d:`M22 17v-1a2 2 0 0 0-2-2h-1`,key:`1iynyr`}],[`path`,{d:`M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z`,key:`161ggg`}],[`path`,{d:`M6 18h.01`,key:`uhywen`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),LE=l(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]),RE=l(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),zE=l(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),BE=l(`shapes`,[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]),VE=l(`share-2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),HE=l(`sheet`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`line`,{x1:`3`,x2:`21`,y1:`9`,y2:`9`,key:`1vqk6q`}],[`line`,{x1:`3`,x2:`21`,y1:`15`,y2:`15`,key:`o2sbyz`}],[`line`,{x1:`9`,x2:`9`,y1:`9`,y2:`21`,key:`1ib60c`}],[`line`,{x1:`15`,x2:`15`,y1:`9`,y2:`21`,key:`1n26ft`}]]),UE=l(`share`,[[`path`,{d:`M12 2v13`,key:`1km8f5`}],[`path`,{d:`m16 6-4-4-4 4`,key:`13yo43`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`,key:`1b2hhj`}]]),WE=l(`shell`,[[`path`,{d:`M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44`,key:`1cn552`}]]),GE=l(`shelving-unit`,[[`path`,{d:`M12 12V9a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`,key:`wiz68x`}],[`path`,{d:`M16 20v-3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3`,key:`1b59c4`}],[`path`,{d:`M20 22V2`,key:`1bnhr8`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 20h16`,key:`14thso`}],[`path`,{d:`M4 2v20`,key:`gtpd5x`}],[`path`,{d:`M4 4h16`,key:`1bkgr1`}]]),KE=l(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),qE=l(`shield-ban`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m4.243 5.21 14.39 12.472`,key:`1c9a7c`}]]),JE=l(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),YE=l(`shield-cog-corner`,[[`path`,{d:`M11 22c-3.806-1.45-7-3.966-7-9V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v4`,key:`hf1sz5`}],[`path`,{d:`M14.923 16.547 14 16.164`,key:`41f878`}],[`path`,{d:`m14.923 18.843-.923.383`,key:`82rvv5`}],[`path`,{d:`M16.547 14.923 16.164 14`,key:`1r7ypn`}],[`path`,{d:`m16.547 20.467-.383.924`,key:`au4kyj`}],[`path`,{d:`m18.843 14.923.383-.923`,key:`1cbrwq`}],[`path`,{d:`m19.225 21.391-.382-.924`,key:`1u2bh9`}],[`path`,{d:`m20.467 16.547.923-.383`,key:`cprboc`}],[`path`,{d:`m20.467 18.843.923.383`,key:`inm8l2`}],[`circle`,{cx:`17.695`,cy:`17.695`,r:`3`,key:`1i1rmh`}]]),XE=l(`shield-ellipsis`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}]]),ZE=l(`shield-cog`,[[`path`,{d:`m10.929 14.467-.383.924`,key:`hdyevy`}],[`path`,{d:`M10.929 8.923 10.546 8`,key:`1nr44d`}],[`path`,{d:`M13.225 8.923 13.608 8`,key:`aewley`}],[`path`,{d:`m13.607 15.391-.382-.924`,key:`m37gf1`}],[`path`,{d:`m14.849 10.547.923-.383`,key:`1d3c4q`}],[`path`,{d:`m14.849 12.843.923.383`,key:`lmvhy3`}],[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9.305 10.547-.923-.383`,key:`1d13ox`}],[`path`,{d:`m9.305 12.843-.923.383`,key:`7wxwh5`}],[`circle`,{cx:`12.077`,cy:`11.695`,r:`3`,key:`fse9k8`}]]),QE=l(`shield-half`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 22V2`,key:`zs6s6o`}]]),$E=l(`shield-off`,[[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71`,key:`1jlk70`}],[`path`,{d:`M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264`,key:`18rp1v`}]]),eD=l(`shield-minus`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M9 12h6`,key:`1c52cq`}]]),tD=l(`shield-plus`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M9 12h6`,key:`1c52cq`}],[`path`,{d:`M12 9v6`,key:`199k2o`}]]),nD=l(`shield-question-mark`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`,key:`mhlwft`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),rD=l(`shield-user`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M6.376 18.91a6 6 0 0 1 11.249.003`,key:`hnjrf2`}],[`circle`,{cx:`12`,cy:`11`,r:`4`,key:`1gt34v`}]]),iD=l(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),aD=l(`ship-wheel`,[[`circle`,{cx:`12`,cy:`12`,r:`8`,key:`46899m`}],[`path`,{d:`M12 2v7.5`,key:`1e5rl5`}],[`path`,{d:`m19 5-5.23 5.23`,key:`1ezxxf`}],[`path`,{d:`M22 12h-7.5`,key:`le1719`}],[`path`,{d:`m19 19-5.23-5.23`,key:`p3fmgn`}],[`path`,{d:`M12 14.5V22`,key:`dgcmos`}],[`path`,{d:`M10.23 13.77 5 19`,key:`qwopd4`}],[`path`,{d:`M9.5 12H2`,key:`r7bup8`}],[`path`,{d:`M10.23 10.23 5 5`,key:`k2y7lj`}],[`circle`,{cx:`12`,cy:`12`,r:`2.5`,key:`ix0uyj`}]]),oD=l(`shield-x`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m14.5 9.5-5 5`,key:`17q4r4`}],[`path`,{d:`m9.5 9.5 5 5`,key:`18nt4w`}]]),sD=l(`ship`,[[`path`,{d:`M12 10.189V14`,key:`1p8cqu`}],[`path`,{d:`M12 2v3`,key:`qbqxhf`}],[`path`,{d:`M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6`,key:`qpkstq`}],[`path`,{d:`M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76`,key:`7tigtc`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`1924j5`}]]),cD=l(`shirt`,[[`path`,{d:`M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z`,key:`1wgbhj`}]]),lD=l(`shopping-bag`,[[`path`,{d:`M16 10a4 4 0 0 1-8 0`,key:`1ltviw`}],[`path`,{d:`M3.103 6.034h17.794`,key:`awc11p`}],[`path`,{d:`M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z`,key:`o988cm`}]]),uD=l(`shopping-basket`,[[`path`,{d:`m15 11-1 9`,key:`5wnq3a`}],[`path`,{d:`m19 11-4-7`,key:`cnml18`}],[`path`,{d:`M2 11h20`,key:`3eubbj`}],[`path`,{d:`m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4`,key:`yiazzp`}],[`path`,{d:`M4.5 15.5h15`,key:`13mye1`}],[`path`,{d:`m5 11 4-7`,key:`116ra9`}],[`path`,{d:`m9 11 1 9`,key:`1ojof7`}]]),dD=l(`shopping-cart`,[[`circle`,{cx:`8`,cy:`21`,r:`1`,key:`jimo8o`}],[`circle`,{cx:`19`,cy:`21`,r:`1`,key:`13723u`}],[`path`,{d:`M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12`,key:`9zh506`}]]),fD=l(`shovel`,[[`path`,{d:`M21.56 4.56a1.5 1.5 0 0 1 0 2.122l-.47.47a3 3 0 0 1-4.212-.03 3 3 0 0 1 0-4.243l.44-.44a1.5 1.5 0 0 1 2.121 0z`,key:`1gcedi`}],[`path`,{d:`M3 22a1 1 0 0 1-1-1v-3.586a1 1 0 0 1 .293-.707l3.355-3.355a1.205 1.205 0 0 1 1.704 0l3.296 3.296a1.205 1.205 0 0 1 0 1.704l-3.355 3.355a1 1 0 0 1-.707.293z`,key:`pg9kv3`}],[`path`,{d:`m9 15 7.879-7.878`,key:`1o1zgh`}]]),pD=l(`shower-head`,[[`path`,{d:`m4 4 2.5 2.5`,key:`uv2vmf`}],[`path`,{d:`M13.5 6.5a4.95 4.95 0 0 0-7 7`,key:`frdkwv`}],[`path`,{d:`M15 5 5 15`,key:`1ag8rq`}],[`path`,{d:`M14 17v.01`,key:`eokfpp`}],[`path`,{d:`M10 16v.01`,key:`14uyyl`}],[`path`,{d:`M13 13v.01`,key:`1v1k97`}],[`path`,{d:`M16 10v.01`,key:`5169yg`}],[`path`,{d:`M11 20v.01`,key:`cj92p8`}],[`path`,{d:`M17 14v.01`,key:`11cswd`}],[`path`,{d:`M20 11v.01`,key:`19e0od`}]]),mD=l(`shredder`,[[`path`,{d:`M4 13V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`,key:`1eob4r`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 22v-5`,key:`sfixh4`}],[`path`,{d:`M14 19v-2`,key:`pdve8j`}],[`path`,{d:`M18 20v-3`,key:`uox2gk`}],[`path`,{d:`M2 13h20`,key:`5evz65`}],[`path`,{d:`M6 20v-3`,key:`c6pdcb`}]]),hD=l(`shrimp`,[[`path`,{d:`M11 12h.01`,key:`1lr4k6`}],[`path`,{d:`M13 22c.5-.5 1.12-1 2.5-1-1.38 0-2-.5-2.5-1`,key:`fatpdi`}],[`path`,{d:`M14 2a3.28 3.28 0 0 1-3.227 1.798l-6.17-.561A2.387 2.387 0 1 0 4.387 8H15.5a1 1 0 0 1 0 13 1 1 0 0 0 0-5H12a7 7 0 0 1-7-7V8`,key:`kehrqe`}],[`path`,{d:`M14 8a8.5 8.5 0 0 1 0 8`,key:`1imjx2`}],[`path`,{d:`M16 16c2 0 4.5-4 4-6`,key:`z0nejz`}]]),gD=l(`shrink`,[[`path`,{d:`m15 15 6 6m-6-6v4.8m0-4.8h4.8`,key:`17vawe`}],[`path`,{d:`M9 19.8V15m0 0H4.2M9 15l-6 6`,key:`chjx8e`}],[`path`,{d:`M15 4.2V9m0 0h4.8M15 9l6-6`,key:`lav6yq`}],[`path`,{d:`M9 4.2V9m0 0H4.2M9 9 3 3`,key:`1pxi2q`}]]),_D=l(`shuffle`,[[`path`,{d:`m18 14 4 4-4 4`,key:`10pe0f`}],[`path`,{d:`m18 2 4 4-4 4`,key:`pucp1d`}],[`path`,{d:`M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22`,key:`1ailkh`}],[`path`,{d:`M2 6h1.972a4 4 0 0 1 3.6 2.2`,key:`km57vx`}],[`path`,{d:`M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45`,key:`os18l9`}]]),vD=l(`shrub`,[[`path`,{d:`M12 22v-5.172a2 2 0 0 0-.586-1.414L9.5 13.5`,key:`1p17fm`}],[`path`,{d:`M14.5 14.5 12 17`,key:`dy5w4y`}],[`path`,{d:`M17 8.8A6 6 0 0 1 13.8 20H10A6.5 6.5 0 0 1 7 8a5 5 0 0 1 10 0z`,key:`6z7b3o`}]]),yD=l(`sigma`,[[`path`,{d:`M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2`,key:`wuwx1p`}]]),bD=l(`signal-low`,[[`path`,{d:`M2 20h.01`,key:`4haj6o`}],[`path`,{d:`M7 20v-4`,key:`j294jx`}]]),xD=l(`signal-high`,[[`path`,{d:`M2 20h.01`,key:`4haj6o`}],[`path`,{d:`M7 20v-4`,key:`j294jx`}],[`path`,{d:`M12 20v-8`,key:`i3yub9`}],[`path`,{d:`M17 20V8`,key:`1tkaf5`}]]),SD=l(`signal-medium`,[[`path`,{d:`M2 20h.01`,key:`4haj6o`}],[`path`,{d:`M7 20v-4`,key:`j294jx`}],[`path`,{d:`M12 20v-8`,key:`i3yub9`}]]),CD=l(`signal-zero`,[[`path`,{d:`M2 20h.01`,key:`4haj6o`}]]),wD=l(`signpost-big`,[[`path`,{d:`M10 9H4L2 7l2-2h6`,key:`1hq7x2`}],[`path`,{d:`M14 5h6l2 2-2 2h-6`,key:`bv62ej`}],[`path`,{d:`M10 22V4a2 2 0 1 1 4 0v18`,key:`eqpcf2`}],[`path`,{d:`M8 22h8`,key:`rmew8v`}]]),TD=l(`signature`,[[`path`,{d:`m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284`,key:`y32ogt`}],[`path`,{d:`M3 21h18`,key:`itz85i`}]]),ED=l(`signal`,[[`path`,{d:`M2 20h.01`,key:`4haj6o`}],[`path`,{d:`M7 20v-4`,key:`j294jx`}],[`path`,{d:`M12 20v-8`,key:`i3yub9`}],[`path`,{d:`M17 20V8`,key:`1tkaf5`}],[`path`,{d:`M22 4v16`,key:`sih9yq`}]]),DD=l(`siren`,[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`,key:`pcx96s`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`,key:`1b4s83`}],[`path`,{d:`M21 12h1`,key:`jtio3y`}],[`path`,{d:`M18.5 4.5 18 5`,key:`g5sp9y`}],[`path`,{d:`M2 12h1`,key:`1uaihz`}],[`path`,{d:`M12 2v1`,key:`11qlp1`}],[`path`,{d:`m4.929 4.929.707.707`,key:`1i51kw`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}]]),OD=l(`signpost`,[[`path`,{d:`M12 13v8`,key:`1l5pq0`}],[`path`,{d:`M12 3v3`,key:`1n5kay`}],[`path`,{d:`M2.354 10.354a1.207 1.207 0 0 1 0-1.708l2.06-2.06A2 2 0 0 1 5.828 6h12.344a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H5.828a2 2 0 0 1-1.414-.586z`,key:`1tm261`}]]),kD=l(`skip-back`,[[`path`,{d:`M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`,key:`15892j`}],[`path`,{d:`M3 20V4`,key:`1ptbpl`}]]),AD=l(`skip-forward`,[[`path`,{d:`M21 4v16`,key:`7j8fe9`}],[`path`,{d:`M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`,key:`zs4d6`}]]),jD=l(`skull`,[[`path`,{d:`m12.5 17-.5-1-.5 1h1z`,key:`3me087`}],[`path`,{d:`M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z`,key:`1o5pge`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}]]),MD=l(`slash`,[[`path`,{d:`M22 2 2 22`,key:`y4kqgn`}]]),ND=l(`slice`,[[`path`,{d:`M11 16.586V19a1 1 0 0 1-1 1H2L18.37 3.63a1 1 0 1 1 3 3l-9.663 9.663a1 1 0 0 1-1.414 0L8 14`,key:`1sllp5`}]]),PD=l(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),FD=l(`sliders-vertical`,[[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M12 21v-9`,key:`17s77i`}],[`path`,{d:`M12 8V3`,key:`13r4qs`}],[`path`,{d:`M17 16h4`,key:`h1uq16`}],[`path`,{d:`M19 12V3`,key:`o1uvq1`}],[`path`,{d:`M19 21v-5`,key:`qua636`}],[`path`,{d:`M3 14h4`,key:`bcjad9`}],[`path`,{d:`M5 10V3`,key:`cb8scm`}],[`path`,{d:`M5 21v-7`,key:`1w1uti`}]]),ID=l(`smartphone-charging`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12.667 8 10 12h4l-2.667 4`,key:`h9lk2d`}]]),LD=l(`smartphone-nfc`,[[`rect`,{width:`7`,height:`12`,x:`2`,y:`6`,rx:`1`,key:`5nje8w`}],[`path`,{d:`M13 8.32a7.43 7.43 0 0 1 0 7.36`,key:`1g306n`}],[`path`,{d:`M16.46 6.21a11.76 11.76 0 0 1 0 11.58`,key:`uqvjvo`}],[`path`,{d:`M19.91 4.1a15.91 15.91 0 0 1 .01 15.8`,key:`ujntz3`}]]),RD=l(`smartphone`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]),zD=l(`smile-plus`,[[`path`,{d:`M22 11v1a10 10 0 1 1-9-10`,key:`ew0xw9`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`,key:`1y1vjs`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}],[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}]]),BD=l(`smile`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`,key:`1y1vjs`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}]]),VD=l(`snail`,[[`path`,{d:`M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0`,key:`hneq2s`}],[`circle`,{cx:`10`,cy:`13`,r:`8`,key:`194lz3`}],[`path`,{d:`M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6`,key:`ixqyt7`}],[`path`,{d:`M18 3 19.1 5.2`,key:`9tjm43`}],[`path`,{d:`M22 3 20.9 5.2`,key:`j3odrs`}]]),HD=l(`snowflake`,[[`path`,{d:`m10 20-1.25-2.5L6 18`,key:`18frcb`}],[`path`,{d:`M10 4 8.75 6.5 6 6`,key:`7mghy3`}],[`path`,{d:`m14 20 1.25-2.5L18 18`,key:`1chtki`}],[`path`,{d:`m14 4 1.25 2.5L18 6`,key:`1b4wsy`}],[`path`,{d:`m17 21-3-6h-4`,key:`15hhxa`}],[`path`,{d:`m17 3-3 6 1.5 3`,key:`11697g`}],[`path`,{d:`M2 12h6.5L10 9`,key:`kv9z4n`}],[`path`,{d:`m20 10-1.5 2 1.5 2`,key:`1swlpi`}],[`path`,{d:`M22 12h-6.5L14 15`,key:`1mxi28`}],[`path`,{d:`m4 10 1.5 2L4 14`,key:`k9enpj`}],[`path`,{d:`m7 21 3-6-1.5-3`,key:`j8hb9u`}],[`path`,{d:`m7 3 3 6h4`,key:`1otusx`}]]),UD=l(`sofa`,[[`path`,{d:`M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3`,key:`1dgpiv`}],[`path`,{d:`M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z`,key:`xacw8m`}],[`path`,{d:`M4 18v2`,key:`jwo5n2`}],[`path`,{d:`M20 18v2`,key:`1ar1qi`}],[`path`,{d:`M12 4v9`,key:`oqhhn3`}]]),WD=l(`soap-dispenser-droplet`,[[`path`,{d:`M10.5 2v4`,key:`1xt6in`}],[`path`,{d:`M14 2H7a2 2 0 0 0-2 2`,key:`e6xig3`}],[`path`,{d:`M19.29 14.76A6.67 6.67 0 0 1 17 11a6.6 6.6 0 0 1-2.29 3.76c-1.15.92-1.71 2.04-1.71 3.19 0 2.22 1.8 4.05 4 4.05s4-1.83 4-4.05c0-1.16-.57-2.26-1.71-3.19`,key:`adq7uc`}],[`path`,{d:`M9.607 21H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h7V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3`,key:`t9hm96`}]]),GD=l(`solar-panel`,[[`path`,{d:`M11 2h2`,key:`isr7bz`}],[`path`,{d:`m14.28 14-4.56 8`,key:`4anwcf`}],[`path`,{d:`m21 22-1.558-4H4.558`,key:`enk13h`}],[`path`,{d:`M3 10v2`,key:`w8mti9`}],[`path`,{d:`M6.245 15.04A2 2 0 0 1 8 14h12a1 1 0 0 1 .864 1.505l-3.11 5.457A2 2 0 0 1 16 22H4a1 1 0 0 1-.863-1.506z`,key:`pouggg`}],[`path`,{d:`M7 2a4 4 0 0 1-4 4`,key:`78s8of`}],[`path`,{d:`m8.66 7.66 1.41 1.41`,key:`1vaqj8`}]]),KD=l(`soup`,[[`path`,{d:`M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z`,key:`4rw317`}],[`path`,{d:`M7 21h10`,key:`1b0cd5`}],[`path`,{d:`M19.5 12 22 6`,key:`shfsr5`}],[`path`,{d:`M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62`,key:`rpc6vp`}],[`path`,{d:`M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62`,key:`1lf63m`}],[`path`,{d:`M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62`,key:`97tijn`}]]),qD=l(`space`,[[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`,key:`lt2kga`}]]),JD=l(`spade`,[[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`M2 14.499a5.5 5.5 0 0 0 9.591 3.675.6.6 0 0 1 .818.001A5.5 5.5 0 0 0 22 14.5c0-2.29-1.5-4-3-5.5l-5.492-5.312a2 2 0 0 0-3-.02L5 8.999c-1.5 1.5-3 3.2-3 5.5`,key:`1aw2pz`}]]),YD=l(`sparkle`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}]]),XD=l(`speaker`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`circle`,{cx:`12`,cy:`14`,r:`4`,key:`1jruaj`}],[`path`,{d:`M12 14h.01`,key:`1etili`}]]),ZD=l(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),QD=l(`speech`,[[`path`,{d:`M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20`,key:`11atix`}],[`path`,{d:`M19.8 17.8a7.5 7.5 0 0 0 .003-10.603`,key:`yol142`}],[`path`,{d:`M17 15a3.5 3.5 0 0 0-.025-4.975`,key:`ssbmkc`}]]),$D=l(`spell-check-2`,[[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M4 21c1.1 0 1.1-1 2.3-1s1.1 1 2.3 1c1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1 1.1 0 1.1 1 2.3 1 1.1 0 1.1-1 2.3-1`,key:`8mdmtu`}]]),eO=l(`spell-check`,[[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`m16 20 2 2 4-4`,key:`13tcca`}]]),tO=l(`spline-pointer`,[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`,key:`xwnzip`}],[`path`,{d:`M5 17A12 12 0 0 1 17 5`,key:`1okkup`}],[`circle`,{cx:`19`,cy:`5`,r:`2`,key:`mhkx31`}],[`circle`,{cx:`5`,cy:`19`,r:`2`,key:`v8kfzx`}]]),nO=l(`split`,[[`path`,{d:`M16 3h5v5`,key:`1806ms`}],[`path`,{d:`M8 3H3v5`,key:`15dfkv`}],[`path`,{d:`M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3`,key:`1qrqzj`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}]]),rO=l(`spline`,[[`circle`,{cx:`19`,cy:`5`,r:`2`,key:`mhkx31`}],[`circle`,{cx:`5`,cy:`19`,r:`2`,key:`v8kfzx`}],[`path`,{d:`M5 17A12 12 0 0 1 17 5`,key:`1okkup`}]]),iO=l(`spool`,[[`path`,{d:`M17 13.44 4.442 17.082A2 2 0 0 0 4.982 21H19a2 2 0 0 0 .558-3.921l-1.115-.32A2 2 0 0 1 17 14.837V7.66`,key:`13vns8`}],[`path`,{d:`m7 10.56 12.558-3.642A2 2 0 0 0 19.018 3H5a2 2 0 0 0-.558 3.921l1.115.32A2 2 0 0 1 7 9.163v7.178`,key:`s8x3u0`}]]),aO=l(`sport-shoe`,[[`path`,{d:`m15 10.42 4.8-5.07`,key:`10at9d`}],[`path`,{d:`M19 18h3`,key:`nnkd4d`}],[`path`,{d:`M9.5 22 21.414 9.415A2 2 0 0 0 21.2 6.4l-5.61-4.208A1 1 0 0 0 14 3v2a2 2 0 0 1-1.394 1.906L8.677 8.053A1 1 0 0 0 8 9c-.155 6.393-2.082 9-4 9a2 2 0 0 0 0 4h14`,key:`v410ed`}]]),oO=l(`spotlight`,[[`path`,{d:`M15.295 19.562 16 22`,key:`31jsb7`}],[`path`,{d:`m17 16 3.758 2.098`,key:`121ar7`}],[`path`,{d:`m19 12.5 3.026-.598`,key:`19ukd3`}],[`path`,{d:`M7.61 6.3a3 3 0 0 0-3.92 1.3l-1.38 2.79a3 3 0 0 0 1.3 3.91l6.89 3.597a1 1 0 0 0 1.342-.447l3.106-6.211a1 1 0 0 0-.447-1.341z`,key:`lwb9l9`}],[`path`,{d:`M8 9V2`,key:`1xa0v7`}]]),sO=l(`spray-can`,[[`path`,{d:`M3 3h.01`,key:`159qn6`}],[`path`,{d:`M7 5h.01`,key:`1hq22a`}],[`path`,{d:`M11 7h.01`,key:`1osv80`}],[`path`,{d:`M3 7h.01`,key:`1xzrh3`}],[`path`,{d:`M7 9h.01`,key:`19b3jx`}],[`path`,{d:`M3 11h.01`,key:`1eifu7`}],[`rect`,{width:`4`,height:`4`,x:`15`,y:`5`,key:`mri9e4`}],[`path`,{d:`m19 9 2 2v10c0 .6-.4 1-1 1h-6c-.6 0-1-.4-1-1V11l2-2`,key:`aib6hk`}],[`path`,{d:`m13 14 8-2`,key:`1d7bmk`}],[`path`,{d:`m13 19 8-2`,key:`1y2vml`}]]),cO=l(`square-activity`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M17 12h-2l-2 5-2-10-2 5H7`,key:`15hlnc`}]]),lO=l(`sprout`,[[`path`,{d:`M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3`,key:`139s4v`}],[`path`,{d:`M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4`,key:`1dlkgp`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),uO=l(`square-arrow-down-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m16 8-8 8`,key:`166keh`}],[`path`,{d:`M16 16H8V8`,key:`1w2ppm`}]]),dO=l(`square-arrow-down-right`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m8 8 8 8`,key:`1imecy`}],[`path`,{d:`M16 8v8H8`,key:`1lbpgo`}]]),fO=l(`square-arrow-down`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 8v8`,key:`napkw2`}],[`path`,{d:`m8 12 4 4 4-4`,key:`k98ssh`}]]),pO=l(`square-arrow-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m12 8-4 4 4 4`,key:`15vm53`}],[`path`,{d:`M16 12H8`,key:`1fr5h0`}]]),mO=l(`square-arrow-out-down-left`,[[`path`,{d:`M13 21h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6`,key:`14qz4y`}],[`path`,{d:`m3 21 9-9`,key:`1jfql5`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),hO=l(`square-arrow-out-down-right`,[[`path`,{d:`M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`,key:`14rsvq`}],[`path`,{d:`m21 21-9-9`,key:`1et2py`}],[`path`,{d:`M21 15v6h-6`,key:`1jko0i`}]]),gO=l(`square-arrow-out-up-left`,[[`path`,{d:`M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6`,key:`14mv1t`}],[`path`,{d:`m3 3 9 9`,key:`rks13r`}],[`path`,{d:`M3 9V3h6`,key:`ira0h2`}]]),_O=l(`square-arrow-out-up-right`,[[`path`,{d:`M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6`,key:`y09zxi`}],[`path`,{d:`m21 3-9 9`,key:`mpx6sq`}],[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}]]),vO=l(`square-arrow-right-enter`,[[`path`,{d:`m10 16 4-4-4-4`,key:`w9835o`}],[`path`,{d:`M3 12h11`,key:`pmja8f`}],[`path`,{d:`M3 8V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3`,key:`1bqs5q`}]]),yO=l(`square-arrow-right-exit`,[[`path`,{d:`M10 12h11`,key:`6m4ad9`}],[`path`,{d:`m17 16 4-4-4-4`,key:`iin4zf`}],[`path`,{d:`M21 6.344V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.344`,key:`1ojbhp`}]]),bO=l(`square-arrow-up-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 16V8h8`,key:`19xb1h`}],[`path`,{d:`M16 16 8 8`,key:`1qdy8n`}]]),xO=l(`square-arrow-right`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`m12 16 4-4-4-4`,key:`1i9zcv`}]]),SO=l(`square-arrow-up-right`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 8h8v8`,key:`b65dnt`}],[`path`,{d:`m8 16 8-8`,key:`13b9ih`}]]),CO=l(`square-asterisk`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 8v8`,key:`napkw2`}],[`path`,{d:`m8.5 14 7-4`,key:`12hpby`}],[`path`,{d:`m8.5 10 7 4`,key:`wwy2dy`}]]),wO=l(`square-arrow-up`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m16 12-4-4-4 4`,key:`177agl`}],[`path`,{d:`M12 16V8`,key:`1sbj14`}]]),TO=l(`square-bottom-dashed-scissors`,[[`line`,{x1:`5`,y1:`3`,x2:`19`,y2:`3`,key:`x74652`}],[`line`,{x1:`3`,y1:`5`,x2:`3`,y2:`19`,key:`31ivqu`}],[`line`,{x1:`21`,y1:`5`,x2:`21`,y2:`19`,key:`1am4cd`}],[`line`,{x1:`9`,y1:`21`,x2:`10`,y2:`21`,key:`sb02er`}],[`line`,{x1:`14`,y1:`21`,x2:`15`,y2:`21`,key:`1bvb1m`}],[`path`,{d:`M 3 5 A2 2 0 0 1 5 3`,key:`dbypyf`}],[`path`,{d:`M 19 3 A2 2 0 0 1 21 5`,key:`y6haui`}],[`path`,{d:`M 5 21 A2 2 0 0 1 3 19`,key:`kb75wq`}],[`path`,{d:`M 21 19 A2 2 0 0 1 19 21`,key:`1p3zbf`}],[`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`,key:`cn5opk`}],[`line`,{x1:`9.56066`,y1:`9.56066`,x2:`12`,y2:`12`,key:`mksg6j`}],[`line`,{x1:`17`,y1:`17`,x2:`14.82`,y2:`14.82`,key:`1lwi1d`}],[`circle`,{cx:`8.5`,cy:`15.5`,r:`1.5`,key:`12hfy1`}],[`line`,{x1:`9.56066`,y1:`14.43934`,x2:`17`,y2:`7`,key:`4jyfgs`}]]),EO=l(`square-centerline-dashed-horizontal`,[[`path`,{d:`M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3`,key:`1i73f7`}],[`path`,{d:`M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3`,key:`saxlbk`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 14v2`,key:`8jcxud`}],[`path`,{d:`M12 8v2`,key:`1woqiv`}],[`path`,{d:`M12 2v2`,key:`tus03m`}]]),DO=l(`square-chart-gantt`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 8h7`,key:`kbo1nt`}],[`path`,{d:`M8 12h6`,key:`ikassy`}],[`path`,{d:`M11 16h5`,key:`oq65wt`}]]),OO=l(`square-centerline-dashed-vertical`,[[`path`,{d:`M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3`,key:`14bfxa`}],[`path`,{d:`M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3`,key:`14rx03`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}]]),kO=l(`square-check-big`,[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),AO=l(`square-check`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),jO=l(`square-chevron-down`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m16 10-4 4-4-4`,key:`894hmk`}]]),MO=l(`square-chevron-right`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m10 8 4 4-4 4`,key:`1wy4r4`}]]),NO=l(`square-chevron-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m14 16-4-4 4-4`,key:`ojs7w8`}]]),PO=l(`square-chevron-up`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m8 14 4-4 4 4`,key:`fy2ptz`}]]),FO=l(`square-code`,[[`path`,{d:`m10 9-3 3 3 3`,key:`1oro0q`}],[`path`,{d:`m14 15 3-3-3-3`,key:`bz13h7`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),IO=l(`square-dashed-bottom-code`,[[`path`,{d:`M10 9.5 8 12l2 2.5`,key:`3mjy60`}],[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`m14 9.5 2 2.5-2 2.5`,key:`1bir2l`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2`,key:`as5y1o`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}]]),LO=l(`square-dashed-bottom`,[[`path`,{d:`M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2`,key:`as5y1o`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}],[`path`,{d:`M14 21h1`,key:`v9vybs`}]]),RO=l(`square-dashed-kanban`,[[`path`,{d:`M8 7v7`,key:`1x2jlm`}],[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M16 7v9`,key:`1hp2iy`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`,key:`y57alp`}],[`path`,{d:`M9 3h1`,key:`1yesri`}],[`path`,{d:`M14 3h1`,key:`1ec4yj`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`,key:`18rm91`}],[`path`,{d:`M21 9v1`,key:`mxsmne`}],[`path`,{d:`M21 14v1`,key:`169vum`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`,key:`1j7049`}],[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`,key:`sbafld`}],[`path`,{d:`M3 14v1`,key:`vnatye`}],[`path`,{d:`M3 9v1`,key:`1r0deq`}]]),zO=l(`square-dashed-mouse-pointer`,[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`,key:`xwnzip`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`,key:`y57alp`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`,key:`18rm91`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`,key:`sbafld`}],[`path`,{d:`M9 3h1`,key:`1yesri`}],[`path`,{d:`M9 21h2`,key:`1qve2z`}],[`path`,{d:`M14 3h1`,key:`1ec4yj`}],[`path`,{d:`M3 9v1`,key:`1r0deq`}],[`path`,{d:`M21 9v2`,key:`p14lih`}],[`path`,{d:`M3 14v1`,key:`vnatye`}]]),BO=l(`square-dashed-text`,[[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`M14 3h1`,key:`1ec4yj`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`,key:`18rm91`}],[`path`,{d:`M21 14v1`,key:`169vum`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`,key:`1j7049`}],[`path`,{d:`M21 9v1`,key:`mxsmne`}],[`path`,{d:`M3 14v1`,key:`vnatye`}],[`path`,{d:`M3 9v1`,key:`1r0deq`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`,key:`sbafld`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2`,key:`y57alp`}],[`path`,{d:`M7 12h10`,key:`b7w52i`}],[`path`,{d:`M7 16h6`,key:`1vyc9m`}],[`path`,{d:`M7 8h8`,key:`1jbsf9`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}],[`path`,{d:`M9 3h1`,key:`1yesri`}]]),VO=l(`square-dashed-top-solid`,[[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`M21 14v1`,key:`169vum`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`,key:`1j7049`}],[`path`,{d:`M21 9v1`,key:`mxsmne`}],[`path`,{d:`M3 14v1`,key:`vnatye`}],[`path`,{d:`M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2`,key:`89voep`}],[`path`,{d:`M3 9v1`,key:`1r0deq`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`,key:`sbafld`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}]]),HO=l(`square-divide`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}],[`line`,{x1:`12`,x2:`12`,y1:`16`,y2:`16`,key:`aqc6ln`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`8`,key:`1mkcni`}]]),UO=l(`square-dot`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]),WO=l(`square-dashed`,[[`path`,{d:`M5 3a2 2 0 0 0-2 2`,key:`y57alp`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`,key:`18rm91`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`,key:`1j7049`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`,key:`sbafld`}],[`path`,{d:`M9 3h1`,key:`1yesri`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}],[`path`,{d:`M14 3h1`,key:`1ec4yj`}],[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`M3 9v1`,key:`1r0deq`}],[`path`,{d:`M21 9v1`,key:`mxsmne`}],[`path`,{d:`M3 14v1`,key:`vnatye`}],[`path`,{d:`M21 14v1`,key:`169vum`}]]),GO=l(`square-equal`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 10h10`,key:`1101jm`}],[`path`,{d:`M7 14h10`,key:`1mhdw3`}]]),KO=l(`square-function`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3`,key:`m1af9g`}],[`path`,{d:`M9 11.2h5.7`,key:`3zgcl2`}]]),qO=l(`square-kanban`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 7v7`,key:`1x2jlm`}],[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M16 7v9`,key:`1hp2iy`}]]),JO=l(`square-library`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 7v10`,key:`d5nglc`}],[`path`,{d:`M11 7v10`,key:`pptsnr`}],[`path`,{d:`m15 7 2 10`,key:`1m7qm5`}]]),YO=l(`square-m`,[[`path`,{d:`M8 16V8.5a.5.5 0 0 1 .9-.3l2.7 3.599a.5.5 0 0 0 .8 0l2.7-3.6a.5.5 0 0 1 .9.3V16`,key:`1ywlsj`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),XO=l(`square-menu`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 8h10`,key:`1jw688`}],[`path`,{d:`M7 12h10`,key:`b7w52i`}],[`path`,{d:`M7 16h10`,key:`wp8him`}]]),ZO=l(`square-minus`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),QO=l(`square-mouse-pointer`,[[`path`,{d:`M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z`,key:`xwnzip`}],[`path`,{d:`M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6`,key:`14rsvq`}]]),$O=l(`square-parking-off`,[[`path`,{d:`M3.6 3.6A2 2 0 0 1 5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-.59 1.41`,key:`9l1ft6`}],[`path`,{d:`M3 8.7V19a2 2 0 0 0 2 2h10.3`,key:`17knke`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M13 13a3 3 0 1 0 0-6H9v2`,key:`uoagbd`}],[`path`,{d:`M9 17v-2.3`,key:`1jxgo2`}]]),ek=l(`square-pause`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]]),tk=l(`square-parking`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 17V7h4a3 3 0 0 1 0 6H9`,key:`1dfk2c`}]]),nk=l(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),rk=l(`square-percent`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`path`,{d:`M15 15h.01`,key:`lqbp3k`}]]),ik=l(`square-pi`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 7h10`,key:`udp07y`}],[`path`,{d:`M10 7v10`,key:`i1d9ee`}],[`path`,{d:`M16 17a2 2 0 0 1-2-2V7`,key:`ftwdc7`}]]),ak=l(`square-pilcrow`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 12H9.5a2.5 2.5 0 0 1 0-5H17`,key:`1l9586`}],[`path`,{d:`M12 7v10`,key:`jspqdw`}],[`path`,{d:`M16 7v10`,key:`lavkr4`}]]),ok=l(`square-plus`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`path`,{d:`M12 8v8`,key:`napkw2`}]]),sk=l(`square-play`,[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`,key:`kmsa83`}]]),ck=l(`square-power`,[[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`,key:`1pek45`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),lk=l(`square-radical`,[[`path`,{d:`M7 12h2l2 5 2-10h4`,key:`1fxv6h`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),uk=l(`square-round-corner`,[[`path`,{d:`M21 11a8 8 0 0 0-8-8`,key:`1lxwo5`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1dv2y5`}]]),dk=l(`square-scissors`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`,key:`cn5opk`}],[`line`,{x1:`9.56066`,y1:`9.56066`,x2:`12`,y2:`12`,key:`mksg6j`}],[`line`,{x1:`17`,y1:`17`,x2:`14.82`,y2:`14.82`,key:`1lwi1d`}],[`circle`,{cx:`8.5`,cy:`15.5`,r:`1.5`,key:`12hfy1`}],[`line`,{x1:`9.56066`,y1:`14.43934`,x2:`17`,y2:`7`,key:`4jyfgs`}]]),fk=l(`square-sigma`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M16 8.9V7H8l4 5-4 5h8v-1.9`,key:`9nih0i`}]]),pk=l(`square-slash`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]),mk=l(`square-split-horizontal`,[[`path`,{d:`M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3`,key:`lubmu8`}],[`path`,{d:`M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3`,key:`1ag34g`}],[`line`,{x1:`12`,x2:`12`,y1:`4`,y2:`20`,key:`1tx1rr`}]]),hk=l(`square-split-vertical`,[[`path`,{d:`M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3`,key:`1pi83i`}],[`path`,{d:`M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3`,key:`ido5k7`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}]]),gk=l(`square-square`,[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),_k=l(`square-stack`,[[`path`,{d:`M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2`,key:`4i38lg`}],[`path`,{d:`M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2`,key:`mlte4a`}],[`rect`,{width:`8`,height:`8`,x:`14`,y:`14`,rx:`2`,key:`1fa9i4`}]]),vk=l(`square-star`,[[`path`,{d:`M11.035 7.69a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`,key:`13edca`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),yk=l(`square-stop`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`rect`,{x:`9`,y:`9`,width:`6`,height:`6`,rx:`1`,key:`1ssd4o`}]]),bk=l(`square-terminal`,[[`path`,{d:`m7 11 2-2-2-2`,key:`1lz0vl`}],[`path`,{d:`M11 13h4`,key:`1p7l4v`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}]]),xk=l(`square-user-round`,[[`path`,{d:`M18 21a6 6 0 0 0-12 0`,key:`kaz2du`}],[`circle`,{cx:`12`,cy:`11`,r:`4`,key:`1gt34v`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Sk=l(`square-x`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Ck=l(`square-user`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M7 21v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2`,key:`1m6ac2`}]]),wk=l(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Tk=l(`squares-exclude`,[[`path`,{d:`M16 12v2a2 2 0 0 1-2 2H9a1 1 0 0 0-1 1v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h0`,key:`1mcohs`}],[`path`,{d:`M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 1-1 1h-5a2 2 0 0 0-2 2v2`,key:`1r1efp`}]]),Ek=l(`squares-intersect`,[[`path`,{d:`M10 22a2 2 0 0 1-2-2`,key:`i7yj1i`}],[`path`,{d:`M14 2a2 2 0 0 1 2 2`,key:`170a0m`}],[`path`,{d:`M16 22h-2`,key:`18d249`}],[`path`,{d:`M2 10V8`,key:`7yj4fe`}],[`path`,{d:`M2 4a2 2 0 0 1 2-2`,key:`ddgnws`}],[`path`,{d:`M20 8a2 2 0 0 1 2 2`,key:`1770vt`}],[`path`,{d:`M22 14v2`,key:`iot8ja`}],[`path`,{d:`M22 20a2 2 0 0 1-2 2`,key:`qj8q6g`}],[`path`,{d:`M4 16a2 2 0 0 1-2-2`,key:`1dnafg`}],[`path`,{d:`M8 10a2 2 0 0 1 2-2h5a1 1 0 0 1 1 1v5a2 2 0 0 1-2 2H9a1 1 0 0 1-1-1z`,key:`ci6f0b`}],[`path`,{d:`M8 2h2`,key:`1gmkwm`}]]),Dk=l(`squares-subtract`,[[`path`,{d:`M10 22a2 2 0 0 1-2-2`,key:`i7yj1i`}],[`path`,{d:`M16 22h-2`,key:`18d249`}],[`path`,{d:`M16 4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-5a2 2 0 0 1 2-2h5a1 1 0 0 0 1-1z`,key:`1njgbb`}],[`path`,{d:`M20 8a2 2 0 0 1 2 2`,key:`1770vt`}],[`path`,{d:`M22 14v2`,key:`iot8ja`}],[`path`,{d:`M22 20a2 2 0 0 1-2 2`,key:`qj8q6g`}]]),Ok=l(`squares-unite`,[[`path`,{d:`M4 16a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v3a1 1 0 0 0 1 1h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-3a1 1 0 0 0-1-1z`,key:`17jnth`}]]),kk=l(`squircle-dashed`,[[`path`,{d:`M13.77 3.043a34 34 0 0 0-3.54 0`,key:`1oaobr`}],[`path`,{d:`M13.771 20.956a33 33 0 0 1-3.541.001`,key:`95iq0j`}],[`path`,{d:`M20.18 17.74c-.51 1.15-1.29 1.93-2.439 2.44`,key:`1u6qty`}],[`path`,{d:`M20.18 6.259c-.51-1.148-1.291-1.929-2.44-2.438`,key:`1ew6g6`}],[`path`,{d:`M20.957 10.23a33 33 0 0 1 0 3.54`,key:`1l9npr`}],[`path`,{d:`M3.043 10.23a34 34 0 0 0 .001 3.541`,key:`1it6jm`}],[`path`,{d:`M6.26 20.179c-1.15-.508-1.93-1.29-2.44-2.438`,key:`14uchd`}],[`path`,{d:`M6.26 3.82c-1.149.51-1.93 1.291-2.44 2.44`,key:`8k4agb`}]]),Ak=l(`squircle`,[[`path`,{d:`M12 3c7.2 0 9 1.8 9 9s-1.8 9-9 9-9-1.8-9-9 1.8-9 9-9`,key:`garfkc`}]]),jk=l(`squirrel`,[[`path`,{d:`M15.236 22a3 3 0 0 0-2.2-5`,key:`21bitc`}],[`path`,{d:`M16 20a3 3 0 0 1 3-3h1a2 2 0 0 0 2-2v-2a4 4 0 0 0-4-4V4`,key:`oh0fg0`}],[`path`,{d:`M18 13h.01`,key:`9veqaj`}],[`path`,{d:`M18 6a4 4 0 0 0-4 4 7 7 0 0 0-7 7c0-5 4-5 4-10.5a4.5 4.5 0 1 0-9 0 2.5 2.5 0 0 0 5 0C7 10 3 11 3 17c0 2.8 2.2 5 5 5h10`,key:`980v8a`}]]),Mk=l(`star-half`,[[`path`,{d:`M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2`,key:`2ksp49`}]]),Nk=l(`stamp`,[[`path`,{d:`M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-6 0c0 2 1 2 1 3.5V13`,key:`i9gjdv`}],[`path`,{d:`M20 15.5a2.5 2.5 0 0 0-2.5-2.5h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1z`,key:`1vzg3v`}],[`path`,{d:`M5 22h14`,key:`ehvnwv`}]]),Pk=l(`star-off`,[[`path`,{d:`m10.344 4.688 1.181-2.393a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.237 3.152`,key:`19ctli`}],[`path`,{d:`m17.945 17.945.43 2.505a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a8 8 0 0 0 .4-.099`,key:`ptqqvy`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),Fk=l(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),Ik=l(`step-forward`,[[`path`,{d:`M10.029 4.285A2 2 0 0 0 7 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`,key:`1ystz2`}],[`path`,{d:`M3 4v16`,key:`1ph11n`}]]),Lk=l(`step-back`,[[`path`,{d:`M13.971 4.285A2 2 0 0 1 17 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z`,key:`19qhus`}],[`path`,{d:`M21 20V4`,key:`cb8qj8`}]]),Rk=l(`stethoscope`,[[`path`,{d:`M11 2v2`,key:`1539x4`}],[`path`,{d:`M5 2v2`,key:`1yf1q8`}],[`path`,{d:`M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1`,key:`rb5t3r`}],[`path`,{d:`M8 15a6 6 0 0 0 12 0v-3`,key:`x18d4x`}],[`circle`,{cx:`20`,cy:`10`,r:`2`,key:`ts1r5v`}]]),zk=l(`sticker`,[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`,key:`1dfntj`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M10 16s.8 1 2 1c1.3 0 2-1 2-1`,key:`1vvgv3`}]]),Bk=l(`sticky-note-check`,[[`path`,{d:`m15 19 2 2 4-4`,key:`1wqv71`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}],[`path`,{d:`M21 13V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6.5`,key:`1onoss`}]]),Vk=l(`sticky-note-minus`,[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}],[`path`,{d:`M21 14V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.35`,key:`g18rj4`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}]]),Hk=l(`sticky-note-off`,[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M3.586 3.586A2 2 0 0 0 3 5v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.414-.586`,key:`12nghy`}],[`path`,{d:`M8.656 3H15a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 21 9v6.344`,key:`134c6x`}]]),Uk=l(`sticky-note-plus`,[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}],[`path`,{d:`M18 15v6`,key:`9wciyi`}],[`path`,{d:`M21 12.356V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.355`,key:`12ish9`}],[`path`,{d:`M21 18h-6`,key:`139f0c`}]]),Wk=l(`sticky-note`,[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`,key:`1dfntj`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}]]),Gk=l(`sticky-note-x`,[[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}],[`path`,{d:`m16 16 5 5`,key:`8tpb07`}],[`path`,{d:`M21 12V9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7`,key:`156tez`}],[`path`,{d:`m21 16-5 5`,key:`kplof2`}]]),Kk=l(`stone`,[[`path`,{d:`M11.264 2.205A4 4 0 0 0 6.42 4.211l-4 8a4 4 0 0 0 1.359 5.117l6 4a4 4 0 0 0 4.438 0l6-4a4 4 0 0 0 1.576-4.592l-2-6a4 4 0 0 0-2.53-2.53z`,key:`1si4ox`}],[`path`,{d:`M11.99 22 14 12l7.822 3.184`,key:`1u8to0`}],[`path`,{d:`M14 12 8.47 2.302`,key:`guo3d5`}]]),qk=l(`sticky-notes`,[[`path`,{d:`M10 8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 16 14v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z`,key:`19nc0g`}],[`path`,{d:`M10 8v5a1 1 0 0 0 1 1h5`,key:`m3law1`}],[`path`,{d:`M8 4a2 2 0 0 1 2-2h6a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 22 8v6a2 2 0 0 1-2 2`,key:`1iu1qd`}],[`path`,{d:`M16 2v5a1 1 0 0 0 1 1h5`,key:`af171p`}]]),Jk=l(`store`,[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`,key:`slp6dd`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`,key:`o0xfot`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`,key:`wn3emo`}]]),Yk=l(`stretch-horizontal`,[[`rect`,{width:`20`,height:`6`,x:`2`,y:`4`,rx:`2`,key:`qdearl`}],[`rect`,{width:`20`,height:`6`,x:`2`,y:`14`,rx:`2`,key:`1xrn6j`}]]),Xk=l(`stretch-vertical`,[[`rect`,{width:`6`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`19qu7m`}],[`rect`,{width:`6`,height:`20`,x:`14`,y:`2`,rx:`2`,key:`24v0nk`}]]),Zk=l(`strikethrough`,[[`path`,{d:`M16 4H9a3 3 0 0 0-2.83 4`,key:`43sutm`}],[`path`,{d:`M14 12a4 4 0 0 1 0 8H6`,key:`nlfj13`}],[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}]]),Qk=l(`subscript`,[[`path`,{d:`m4 5 8 8`,key:`1eunvl`}],[`path`,{d:`m12 5-8 8`,key:`1ah0jp`}],[`path`,{d:`M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07`,key:`e8ta8j`}]]),$k=l(`sun-dim`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 4h.01`,key:`1ujb9j`}],[`path`,{d:`M20 12h.01`,key:`1ykeid`}],[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M4 12h.01`,key:`158zrr`}],[`path`,{d:`M17.657 6.343h.01`,key:`31pqzk`}],[`path`,{d:`M17.657 17.657h.01`,key:`jehnf4`}],[`path`,{d:`M6.343 17.657h.01`,key:`gdk6ow`}],[`path`,{d:`M6.343 6.343h.01`,key:`1uurf0`}]]),eA=l(`sun-medium`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 3v1`,key:`1asbbs`}],[`path`,{d:`M12 20v1`,key:`1wcdkc`}],[`path`,{d:`M3 12h1`,key:`lp3yf2`}],[`path`,{d:`M20 12h1`,key:`1vloll`}],[`path`,{d:`m18.364 5.636-.707.707`,key:`1hakh0`}],[`path`,{d:`m6.343 17.657-.707.707`,key:`18m9nf`}],[`path`,{d:`m5.636 5.636.707.707`,key:`1xv1c5`}],[`path`,{d:`m17.657 17.657.707.707`,key:`vl76zb`}]]),tA=l(`sun-moon`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715`,key:`xlf6rm`}],[`path`,{d:`M16 12a4 4 0 0 0-4-4`,key:`6vsxu`}],[`path`,{d:`m19 5-1.256 1.256`,key:`1yg6a6`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}]]),nA=l(`sun-snow`,[[`path`,{d:`M10 21v-1`,key:`1u8rkd`}],[`path`,{d:`M10 4V3`,key:`pkzwkn`}],[`path`,{d:`M10 9a3 3 0 0 0 0 6`,key:`gv75dk`}],[`path`,{d:`m14 20 1.25-2.5L18 18`,key:`1chtki`}],[`path`,{d:`m14 4 1.25 2.5L18 6`,key:`1b4wsy`}],[`path`,{d:`m17 21-3-6 1.5-3H22`,key:`o5qa3v`}],[`path`,{d:`m17 3-3 6 1.5 3`,key:`11697g`}],[`path`,{d:`M2 12h1`,key:`1uaihz`}],[`path`,{d:`m20 10-1.5 2 1.5 2`,key:`1swlpi`}],[`path`,{d:`m3.64 18.36.7-.7`,key:`105rm9`}],[`path`,{d:`m4.34 6.34-.7-.7`,key:`d3unjp`}]]),rA=l(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),iA=l(`sunrise`,[[`path`,{d:`M12 2v8`,key:`1q4o3n`}],[`path`,{d:`m4.93 10.93 1.41 1.41`,key:`2a7f42`}],[`path`,{d:`M2 18h2`,key:`j10viu`}],[`path`,{d:`M20 18h2`,key:`wocana`}],[`path`,{d:`m19.07 10.93-1.41 1.41`,key:`15zs5n`}],[`path`,{d:`M22 22H2`,key:`19qnx5`}],[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`,key:`1lzouq`}]]),aA=l(`sunset`,[[`path`,{d:`M12 10V2`,key:`16sf7g`}],[`path`,{d:`m4.93 10.93 1.41 1.41`,key:`2a7f42`}],[`path`,{d:`M2 18h2`,key:`j10viu`}],[`path`,{d:`M20 18h2`,key:`wocana`}],[`path`,{d:`m19.07 10.93-1.41 1.41`,key:`15zs5n`}],[`path`,{d:`M22 22H2`,key:`19qnx5`}],[`path`,{d:`m16 6-4 4-4-4`,key:`6wukr`}],[`path`,{d:`M16 18a4 4 0 0 0-8 0`,key:`1lzouq`}]]),oA=l(`superscript`,[[`path`,{d:`m4 19 8-8`,key:`hr47gm`}],[`path`,{d:`m12 19-8-8`,key:`1dhhmo`}],[`path`,{d:`M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06`,key:`1dfcux`}]]),sA=l(`swatch-book`,[[`path`,{d:`M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z`,key:`1ldrpk`}],[`path`,{d:`M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7`,key:`11i5po`}],[`path`,{d:`M 7 17h.01`,key:`1euzgo`}],[`path`,{d:`m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8`,key:`o2gii7`}]]),cA=l(`swiss-franc`,[[`path`,{d:`M10 21V3h8`,key:`br2l0g`}],[`path`,{d:`M6 16h9`,key:`2py0wn`}],[`path`,{d:`M10 9.5h7`,key:`13dmhz`}]]),lA=l(`switch-camera`,[[`path`,{d:`M11 19H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5`,key:`mtk2lu`}],[`path`,{d:`M13 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5`,key:`120jsl`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`m18 22-3-3 3-3`,key:`kgdoj7`}],[`path`,{d:`m6 2 3 3-3 3`,key:`1fnbkv`}]]),uA=l(`swords`,[[`polyline`,{points:`14.5 17.5 3 6 3 3 6 3 17.5 14.5`,key:`1hfsw2`}],[`line`,{x1:`13`,x2:`19`,y1:`19`,y2:`13`,key:`1vrmhu`}],[`line`,{x1:`16`,x2:`20`,y1:`16`,y2:`20`,key:`1bron3`}],[`line`,{x1:`19`,x2:`21`,y1:`21`,y2:`19`,key:`13pww6`}],[`polyline`,{points:`14.5 6.5 18 3 21 3 21 6 17.5 9.5`,key:`hbey2j`}],[`line`,{x1:`5`,x2:`9`,y1:`14`,y2:`18`,key:`1hf58s`}],[`line`,{x1:`7`,x2:`4`,y1:`17`,y2:`20`,key:`pidxm4`}],[`line`,{x1:`3`,x2:`5`,y1:`19`,y2:`21`,key:`1pehsh`}]]),dA=l(`sword`,[[`path`,{d:`m11 19-6-6`,key:`s7kpr`}],[`path`,{d:`m5 21-2-2`,key:`1kw20b`}],[`path`,{d:`m8 16-4 4`,key:`1oqv8h`}],[`path`,{d:`M9.5 17.5 21 6V3h-3L6.5 14.5`,key:`pkxemp`}]]),fA=l(`syringe`,[[`path`,{d:`m18 2 4 4`,key:`22kx64`}],[`path`,{d:`m17 7 3-3`,key:`1w1zoj`}],[`path`,{d:`M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5`,key:`1exhtz`}],[`path`,{d:`m9 11 4 4`,key:`rovt3i`}],[`path`,{d:`m5 19-3 3`,key:`59f2uf`}],[`path`,{d:`m14 4 6 6`,key:`yqp9t2`}]]),pA=l(`table-2`,[[`path`,{d:`M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18`,key:`gugj83`}]]),mA=l(`table-cells-merge`,[[`path`,{d:`M12 21v-6`,key:`lihzve`}],[`path`,{d:`M12 9V3`,key:`da5inc`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),hA=l(`table-cells-split`,[[`path`,{d:`M12 15V9`,key:`8c7uyn`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),gA=l(`table-columns-split`,[[`path`,{d:`M14 14v2`,key:`w2a1xv`}],[`path`,{d:`M14 20v2`,key:`1lq872`}],[`path`,{d:`M14 2v2`,key:`6buw04`}],[`path`,{d:`M14 8v2`,key:`i67w9a`}],[`path`,{d:`M2 15h8`,key:`82wtch`}],[`path`,{d:`M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2`,key:`up0l64`}],[`path`,{d:`M2 9h8`,key:`yelfik`}],[`path`,{d:`M22 15h-4`,key:`1es58f`}],[`path`,{d:`M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2`,key:`pdjoqf`}],[`path`,{d:`M22 9h-4`,key:`1luja7`}],[`path`,{d:`M5 3v18`,key:`14hmio`}]]),_A=l(`table-of-contents`,[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M16 12H3`,key:`1a2rj7`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`M21 5h.01`,key:`wa75ra`}],[`path`,{d:`M21 12h.01`,key:`msek7k`}],[`path`,{d:`M21 19h.01`,key:`qvbq2j`}]]),vA=l(`table-properties`,[[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]]),yA=l(`table-rows-split`,[[`path`,{d:`M14 10h2`,key:`1lstlu`}],[`path`,{d:`M15 22v-8`,key:`1fwwgm`}],[`path`,{d:`M15 2v4`,key:`1044rn`}],[`path`,{d:`M2 10h2`,key:`1r8dkt`}],[`path`,{d:`M20 10h2`,key:`1ug425`}],[`path`,{d:`M3 19h18`,key:`awlh7x`}],[`path`,{d:`M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6`,key:`ibqhof`}],[`path`,{d:`M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2`,key:`1uenja`}],[`path`,{d:`M8 10h2`,key:`66od0`}],[`path`,{d:`M9 22v-8`,key:`fmnu31`}],[`path`,{d:`M9 2v4`,key:`j1yeou`}]]),bA=l(`table`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]),xA=l(`tablet-smartphone`,[[`rect`,{width:`10`,height:`14`,x:`3`,y:`8`,rx:`2`,key:`1vrsiq`}],[`path`,{d:`M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4`,key:`1j4zmg`}],[`path`,{d:`M8 18h.01`,key:`lrp35t`}]]),SA=l(`tablet`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`,key:`76otgf`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`,key:`1dp563`}]]),CA=l(`tablets`,[[`circle`,{cx:`7`,cy:`7`,r:`5`,key:`x29byf`}],[`circle`,{cx:`17`,cy:`17`,r:`5`,key:`1op1d2`}],[`path`,{d:`M12 17h10`,key:`ls21zv`}],[`path`,{d:`m3.46 10.54 7.08-7.08`,key:`1rehiu`}]]),wA=l(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),TA=l(`tags`,[[`path`,{d:`M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z`,key:`16rjxf`}],[`path`,{d:`M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193`,key:`178nd4`}],[`circle`,{cx:`10.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`12ikhr`}]]),EA=l(`tally-1`,[[`path`,{d:`M4 4v16`,key:`6qkkli`}]]),DA=l(`tally-2`,[[`path`,{d:`M4 4v16`,key:`6qkkli`}],[`path`,{d:`M9 4v16`,key:`81ygyz`}]]),OA=l(`tally-3`,[[`path`,{d:`M4 4v16`,key:`6qkkli`}],[`path`,{d:`M9 4v16`,key:`81ygyz`}],[`path`,{d:`M14 4v16`,key:`12vmem`}]]),kA=l(`tally-4`,[[`path`,{d:`M4 4v16`,key:`6qkkli`}],[`path`,{d:`M9 4v16`,key:`81ygyz`}],[`path`,{d:`M14 4v16`,key:`12vmem`}],[`path`,{d:`M19 4v16`,key:`8ij5ei`}]]),AA=l(`tally-5`,[[`path`,{d:`M4 4v16`,key:`6qkkli`}],[`path`,{d:`M9 4v16`,key:`81ygyz`}],[`path`,{d:`M14 4v16`,key:`12vmem`}],[`path`,{d:`M19 4v16`,key:`8ij5ei`}],[`path`,{d:`M22 6 2 18`,key:`h9moai`}]]),jA=l(`tangent`,[[`circle`,{cx:`17`,cy:`4`,r:`2`,key:`y5j2s2`}],[`path`,{d:`M15.59 5.41 5.41 15.59`,key:`l0vprr`}],[`circle`,{cx:`4`,cy:`17`,r:`2`,key:`9p4efm`}],[`path`,{d:`M12 22s-4-9-1.5-11.5S22 12 22 12`,key:`1twk4o`}]]),MA=l(`target`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),NA=l(`telescope`,[[`path`,{d:`m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44`,key:`k4qptu`}],[`path`,{d:`m13.56 11.747 4.332-.924`,key:`19l80z`}],[`path`,{d:`m16 21-3.105-6.21`,key:`7oh9d`}],[`path`,{d:`M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z`,key:`m7xp4m`}],[`path`,{d:`m6.158 8.633 1.114 4.456`,key:`74o979`}],[`path`,{d:`m8 21 3.105-6.21`,key:`1fvxut`}],[`circle`,{cx:`12`,cy:`13`,r:`2`,key:`1c1ljs`}]]),PA=l(`tent-tree`,[[`circle`,{cx:`4`,cy:`4`,r:`2`,key:`bt5ra8`}],[`path`,{d:`m14 5 3-3 3 3`,key:`1sorif`}],[`path`,{d:`m14 10 3-3 3 3`,key:`1jyi9h`}],[`path`,{d:`M17 14V2`,key:`8ymqnk`}],[`path`,{d:`M17 14H7l-5 8h20Z`,key:`13ar7p`}],[`path`,{d:`M8 14v8`,key:`1ghmqk`}],[`path`,{d:`m9 14 5 8`,key:`13pgi6`}]]),FA=l(`tent`,[[`path`,{d:`M3.5 21 14 3`,key:`1szst5`}],[`path`,{d:`M20.5 21 10 3`,key:`1310c3`}],[`path`,{d:`M15.5 21 12 15l-3.5 6`,key:`1ddtfw`}],[`path`,{d:`M2 21h20`,key:`1nyx9w`}]]),IA=l(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),LA=l(`test-tube-diagonal`,[[`path`,{d:`M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3`,key:`1ub6xw`}],[`path`,{d:`m16 2 6 6`,key:`1gw87d`}],[`path`,{d:`M12 16H4`,key:`1cjfip`}]]),RA=l(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),zA=l(`text-align-center`,[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M17 12H7`,key:`16if0g`}],[`path`,{d:`M19 19H5`,key:`vjpgq2`}]]),BA=l(`test-tubes`,[[`path`,{d:`M9 2v17.5A2.5 2.5 0 0 1 6.5 22A2.5 2.5 0 0 1 4 19.5V2`,key:`1hjrqt`}],[`path`,{d:`M20 2v17.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5V2`,key:`16lc8n`}],[`path`,{d:`M3 2h7`,key:`7s29d5`}],[`path`,{d:`M14 2h7`,key:`7sicin`}],[`path`,{d:`M9 16H4`,key:`1bfye3`}],[`path`,{d:`M20 16h-5`,key:`ddnjpe`}]]),VA=l(`text-align-end`,[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M21 19H7`,key:`4cu937`}]]),HA=l(`text-align-justify`,[[`path`,{d:`M3 5h18`,key:`1u36vt`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 19h18`,key:`awlh7x`}]]),UA=l(`text-cursor-input`,[[`path`,{d:`M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6`,key:`1528k5`}],[`path`,{d:`M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7`,key:`13ksps`}],[`path`,{d:`M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1`,key:`1n9rhb`}],[`path`,{d:`M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1`,key:`1mj8rg`}],[`path`,{d:`M9 6v12`,key:`velyjx`}]]),WA=l(`text-align-start`,[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M17 19H3`,key:`z6ezky`}]]),GA=l(`text-cursor`,[[`path`,{d:`M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1`,key:`uvaxm9`}],[`path`,{d:`M7 22h1a4 4 0 0 0 4-4`,key:`1l7xii`}],[`path`,{d:`M7 2h1a4 4 0 0 1 4 4`,key:`1vrvvh`}]]),KA=l(`text-initial`,[[`path`,{d:`M15 5h6`,key:`1pr8yx`}],[`path`,{d:`M15 12h6`,key:`upa0zy`}],[`path`,{d:`M3 19h18`,key:`awlh7x`}],[`path`,{d:`m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12`,key:`6lvno8`}],[`path`,{d:`M3.92 10h6.16`,key:`1tl8ex`}]]),qA=l(`text-quote`,[[`path`,{d:`M17 5H3`,key:`1cn7zz`}],[`path`,{d:`M21 12H8`,key:`scolzb`}],[`path`,{d:`M21 19H8`,key:`13qgcb`}],[`path`,{d:`M3 12v7`,key:`1ri8j3`}]]),JA=l(`text-search`,[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M10 12H3`,key:`1ulcyk`}],[`path`,{d:`M10 19H3`,key:`108z41`}],[`circle`,{cx:`17`,cy:`15`,r:`3`,key:`1upz2a`}],[`path`,{d:`m21 19-1.9-1.9`,key:`dwi7p8`}]]),YA=l(`text-wrap`,[[`path`,{d:`m16 16-3 3 3 3`,key:`117b85`}],[`path`,{d:`M3 12h14.5a1 1 0 0 1 0 7H13`,key:`18xa6z`}],[`path`,{d:`M3 19h6`,key:`1ygdsz`}],[`path`,{d:`M3 5h18`,key:`1u36vt`}]]),XA=l(`theater`,[[`path`,{d:`M2 10s3-3 3-8`,key:`3xiif0`}],[`path`,{d:`M22 10s-3-3-3-8`,key:`ioaa5q`}],[`path`,{d:`M10 2c0 4.4-3.6 8-8 8`,key:`16fkpi`}],[`path`,{d:`M14 2c0 4.4 3.6 8 8 8`,key:`b9eulq`}],[`path`,{d:`M2 10s2 2 2 5`,key:`1au1lb`}],[`path`,{d:`M22 10s-2 2-2 5`,key:`qi2y5e`}],[`path`,{d:`M8 15h8`,key:`45n4r`}],[`path`,{d:`M2 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1`,key:`1vsc2m`}],[`path`,{d:`M14 22v-1a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1`,key:`hrha4u`}]]),ZA=l(`thermometer-snowflake`,[[`path`,{d:`m10 20-1.25-2.5L6 18`,key:`18frcb`}],[`path`,{d:`M10 4 8.75 6.5 6 6`,key:`7mghy3`}],[`path`,{d:`M10.585 15H10`,key:`4nqulp`}],[`path`,{d:`M2 12h6.5L10 9`,key:`kv9z4n`}],[`path`,{d:`M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z`,key:`yu0u2z`}],[`path`,{d:`m4 10 1.5 2L4 14`,key:`k9enpj`}],[`path`,{d:`m7 21 3-6-1.5-3`,key:`j8hb9u`}],[`path`,{d:`m7 3 3 6h2`,key:`1bbqgq`}]]),QA=l(`thermometer-sun`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 8a4 4 0 0 0-1.645 7.647`,key:`wz5p04`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 14.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z`,key:`yu0u2z`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}]]),$A=l(`thermometer`,[[`path`,{d:`M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z`,key:`17jzev`}]]),ej=l(`thumbs-down`,[[`path`,{d:`M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z`,key:`m61m77`}],[`path`,{d:`M17 14V2`,key:`8ymqnk`}]]),tj=l(`thumbs-up`,[[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`,key:`emmmcr`}],[`path`,{d:`M7 10v12`,key:`1qc93n`}]]),nj=l(`ticket-check`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),rj=l(`ticket-minus`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`M9 12h6`,key:`1c52cq`}]]),ij=l(`ticket-percent`,[[`path`,{d:`M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`1l48ns`}],[`path`,{d:`M9 9h.01`,key:`1q5me6`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M15 15h.01`,key:`lqbp3k`}]]),aj=l(`ticket-plus`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`M9 12h6`,key:`1c52cq`}],[`path`,{d:`M12 9v6`,key:`199k2o`}]]),oj=l(`ticket-slash`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`m9.5 14.5 5-5`,key:`qviqfa`}]]),sj=l(`ticket-x`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`m9.5 14.5 5-5`,key:`qviqfa`}],[`path`,{d:`m9.5 9.5 5 5`,key:`18nt4w`}]]),cj=l(`ticket`,[[`path`,{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`qn84l0`}],[`path`,{d:`M13 5v2`,key:`dyzc3o`}],[`path`,{d:`M13 17v2`,key:`1ont0d`}],[`path`,{d:`M13 11v2`,key:`1wjjxi`}]]),lj=l(`tickets-plane`,[[`path`,{d:`M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12`,key:`16muxl`}],[`path`,{d:`m12 13.5 3.794.506`,key:`6v5z87`}],[`path`,{d:`m3.173 8.18 11-5a2 2 0 0 1 2.647.993L18.56 8`,key:`15hfpj`}],[`path`,{d:`M6 10V8`,key:`1y41hn`}],[`path`,{d:`M6 14v1`,key:`cao2tf`}],[`path`,{d:`M6 19v2`,key:`1loha6`}],[`rect`,{x:`2`,y:`8`,width:`20`,height:`13`,rx:`2`,key:`p3bz5l`}]]),uj=l(`tickets`,[[`path`,{d:`m3.173 8.18 11-5a2 2 0 0 1 2.647.993L18.56 8`,key:`15hfpj`}],[`path`,{d:`M6 10V8`,key:`1y41hn`}],[`path`,{d:`M6 14v1`,key:`cao2tf`}],[`path`,{d:`M6 19v2`,key:`1loha6`}],[`rect`,{x:`2`,y:`8`,width:`20`,height:`13`,rx:`2`,key:`p3bz5l`}]]),dj=l(`timeline`,[[`path`,{d:`M4 12h.01`,key:`158zrr`}],[`path`,{d:`M4 16h.01`,key:`jrnfb7`}],[`path`,{d:`M4 20h.01`,key:`orx0iu`}],[`path`,{d:`M4 4h.01`,key:`cieki8`}],[`path`,{d:`M4 8h.01`,key:`43g258`}],[`path`,{d:`M9.414 13.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 12z`,key:`1pvxkf`}],[`path`,{d:`M9.414 21.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 20z`,key:`1k13gh`}],[`path`,{d:`M9.414 5.414A2 2 0 0 0 10.828 6H19a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 4z`,key:`12x0hd`}]]),fj=l(`timer-off`,[[`path`,{d:`M10 2h4`,key:`n1abiw`}],[`path`,{d:`M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7`,key:`10he05`}],[`path`,{d:`M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2`,key:`15f7sh`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M12 12v-2`,key:`fwoke6`}]]),pj=l(`timer-reset`,[[`path`,{d:`M10 2h4`,key:`n1abiw`}],[`path`,{d:`M12 14v-4`,key:`1evpnu`}],[`path`,{d:`M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6`,key:`1ts96g`}],[`path`,{d:`M9 17H4v5`,key:`8t5av`}]]),mj=l(`timer`,[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`,key:`14vaq8`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`,key:`17fdiu`}],[`circle`,{cx:`12`,cy:`14`,r:`8`,key:`1e1u0o`}]]),hj=l(`toggle-left`,[[`circle`,{cx:`9`,cy:`12`,r:`3`,key:`u3jwor`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]),gj=l(`toggle-right`,[[`circle`,{cx:`15`,cy:`12`,r:`3`,key:`1afu0r`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]),_j=l(`toilet`,[[`path`,{d:`M7 12h13a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18`,key:`kc4kqr`}],[`path`,{d:`M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8`,key:`1tqs57`}]]),vj=l(`tool-case`,[[`path`,{d:`M10 15h4`,key:`192ueg`}],[`path`,{d:`m14.817 10.995-.971-1.45 1.034-1.232a2 2 0 0 0-2.025-3.238l-1.82.364L9.91 3.885a2 2 0 0 0-3.625.748L6.141 6.55l-1.725.426a2 2 0 0 0-.19 3.756l.657.27`,key:`xbnumr`}],[`path`,{d:`m18.822 10.995 2.26-5.38a1 1 0 0 0-.557-1.318L16.954 2.9a1 1 0 0 0-1.281.533l-.924 2.122`,key:`eaw7gc`}],[`path`,{d:`M4 12.006A1 1 0 0 1 4.994 11H19a1 1 0 0 1 1 1v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z`,key:`1vaooh`}]]),yj=l(`toolbox`,[[`path`,{d:`M16 12v4`,key:`vf1vip`}],[`path`,{d:`M16 6a2 2 0 0 1 1.414.586l4 4A2 2 0 0 1 22 12v7a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 .586-1.414l4-4A2 2 0 0 1 8 6z`,key:`1h1rvn`}],[`path`,{d:`M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2`,key:`1ksdt3`}],[`path`,{d:`M2 14h20`,key:`myj16y`}],[`path`,{d:`M8 12v4`,key:`1w4uao`}]]),bj=l(`tornado`,[[`path`,{d:`M21 4H3`,key:`1hwok0`}],[`path`,{d:`M18 8H6`,key:`41n648`}],[`path`,{d:`M19 12H9`,key:`1g4lpz`}],[`path`,{d:`M16 16h-6`,key:`1j5d54`}],[`path`,{d:`M11 20H9`,key:`39obr8`}]]),xj=l(`torus`,[[`ellipse`,{cx:`12`,cy:`11`,rx:`3`,ry:`2`,key:`1b2qxu`}],[`ellipse`,{cx:`12`,cy:`12.5`,rx:`10`,ry:`8.5`,key:`h8emeu`}]]),Sj=l(`touchpad-off`,[[`path`,{d:`M12 20v-6`,key:`1rm09r`}],[`path`,{d:`M19.656 14H22`,key:`170xzr`}],[`path`,{d:`M2 14h12`,key:`d8icqz`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2`,key:`s23sx2`}],[`path`,{d:`M9.656 4H20a2 2 0 0 1 2 2v10.344`,key:`ovjcvl`}]]),Cj=l(`touchpad`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`M2 14h20`,key:`myj16y`}],[`path`,{d:`M12 20v-6`,key:`1rm09r`}]]),wj=l(`towel-rack`,[[`path`,{d:`M22 7h-2`,key:`1okbx2`}],[`path`,{d:`M6.5 3h11A2.5 2.5 0 0 1 20 5.5V20a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1V5.5a1 1 0 0 0-5 0V17a1 1 0 0 0 1 1h4`,key:`kc32tg`}],[`path`,{d:`M9 7H2`,key:`ahf7b7`}]]),Tj=l(`tower-control`,[[`path`,{d:`M18.2 12.27 20 6H4l1.8 6.27a1 1 0 0 0 .95.73h10.5a1 1 0 0 0 .96-.73Z`,key:`1pledb`}],[`path`,{d:`M8 13v9`,key:`hmv0ci`}],[`path`,{d:`M16 22v-9`,key:`ylnf1u`}],[`path`,{d:`m9 6 1 7`,key:`dpdgam`}],[`path`,{d:`m15 6-1 7`,key:`ls7zgu`}],[`path`,{d:`M12 6V2`,key:`1pj48d`}],[`path`,{d:`M13 2h-2`,key:`mj6ths`}]]),Ej=l(`toy-brick`,[[`rect`,{width:`18`,height:`12`,x:`3`,y:`8`,rx:`1`,key:`158fvp`}],[`path`,{d:`M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3`,key:`s0042v`}],[`path`,{d:`M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3`,key:`9wmeh2`}]]),Dj=l(`tractor`,[[`path`,{d:`m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20`,key:`she1j9`}],[`path`,{d:`M16 18h-5`,key:`bq60fd`}],[`path`,{d:`M18 5a1 1 0 0 0-1 1v5.573`,key:`1kv8ia`}],[`path`,{d:`M3 4h8.129a1 1 0 0 1 .99.863L13 11.246`,key:`1q1ert`}],[`path`,{d:`M4 11V4`,key:`9ft8pt`}],[`path`,{d:`M7 15h.01`,key:`k5ht0j`}],[`path`,{d:`M8 10.1V4`,key:`1jgyzo`}],[`circle`,{cx:`18`,cy:`18`,r:`2`,key:`1emm8v`}],[`circle`,{cx:`7`,cy:`15`,r:`5`,key:`ddtuc`}]]),Oj=l(`traffic-cone`,[[`path`,{d:`M16.05 10.966a5 2.5 0 0 1-8.1 0`,key:`m5jpwb`}],[`path`,{d:`m16.923 14.049 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04`,key:`rbg3g8`}],[`path`,{d:`M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z`,key:`vap8c8`}],[`path`,{d:`M9.194 6.57a5 2.5 0 0 0 5.61 0`,key:`15hn5c`}]]),kj=l(`train-front-tunnel`,[[`path`,{d:`M2 22V12a10 10 0 1 1 20 0v10`,key:`o0fyp0`}],[`path`,{d:`M15 6.8v1.4a3 2.8 0 1 1-6 0V6.8`,key:`m8q3n9`}],[`path`,{d:`M10 15h.01`,key:`44in9x`}],[`path`,{d:`M14 15h.01`,key:`5mohn5`}],[`path`,{d:`M10 19a4 4 0 0 1-4-4v-3a6 6 0 1 1 12 0v3a4 4 0 0 1-4 4Z`,key:`hckbmu`}],[`path`,{d:`m9 19-2 3`,key:`iij7hm`}],[`path`,{d:`m15 19 2 3`,key:`npx8sa`}]]),Aj=l(`train-front`,[[`path`,{d:`M8 3.1V7a4 4 0 0 0 8 0V3.1`,key:`1v71zp`}],[`path`,{d:`m9 15-1-1`,key:`1yrq24`}],[`path`,{d:`m15 15 1-1`,key:`1t0d6s`}],[`path`,{d:`M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z`,key:`1p0hjs`}],[`path`,{d:`m8 19-2 3`,key:`13i0xs`}],[`path`,{d:`m16 19 2 3`,key:`xo31yx`}]]),jj=l(`train-track`,[[`path`,{d:`M2 17 17 2`,key:`18b09t`}],[`path`,{d:`m2 14 8 8`,key:`1gv9hu`}],[`path`,{d:`m5 11 8 8`,key:`189pqp`}],[`path`,{d:`m8 8 8 8`,key:`1imecy`}],[`path`,{d:`m11 5 8 8`,key:`ummqn6`}],[`path`,{d:`m14 2 8 8`,key:`1vk7dn`}],[`path`,{d:`M7 22 22 7`,key:`15mb1i`}]]),Mj=l(`tram-front`,[[`rect`,{width:`16`,height:`16`,x:`4`,y:`3`,rx:`2`,key:`1wxw4b`}],[`path`,{d:`M4 11h16`,key:`mpoxn0`}],[`path`,{d:`M12 3v8`,key:`1h2ygw`}],[`path`,{d:`m8 19-2 3`,key:`13i0xs`}],[`path`,{d:`m18 22-2-3`,key:`1p0ohu`}],[`path`,{d:`M8 15h.01`,key:`a7atzg`}],[`path`,{d:`M16 15h.01`,key:`rnfrdf`}]]),Nj=l(`transgender`,[[`path`,{d:`M12 16v6`,key:`c8a4gj`}],[`path`,{d:`M14 20h-4`,key:`m8m19d`}],[`path`,{d:`M18 2h4v4`,key:`1341mj`}],[`path`,{d:`m2 2 7.17 7.17`,key:`13q8l2`}],[`path`,{d:`M2 5.355V2h3.357`,key:`18136r`}],[`path`,{d:`m22 2-7.17 7.17`,key:`1epvy4`}],[`path`,{d:`M8 5 5 8`,key:`mgbjhz`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}]]),Pj=l(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),Fj=l(`trash`,[[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),Ij=l(`tree-deciduous`,[[`path`,{d:`M8 19a4 4 0 0 1-2.24-7.32A3.5 3.5 0 0 1 9 6.03V6a3 3 0 1 1 6 0v.04a3.5 3.5 0 0 1 3.24 5.65A4 4 0 0 1 16 19Z`,key:`oadzkq`}],[`path`,{d:`M12 19v3`,key:`npa21l`}]]),Lj=l(`tree-palm`,[[`path`,{d:`M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4`,key:`foxbe7`}],[`path`,{d:`M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3`,key:`18arnh`}],[`path`,{d:`M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35`,key:`ywahnh`}],[`path`,{d:`M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14`,key:`ft0feo`}]]),Rj=l(`tree-pine`,[[`path`,{d:`m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z`,key:`cpyugq`}],[`path`,{d:`M12 22v-3`,key:`kmzjlo`}]]),zj=l(`trending-down`,[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]),Bj=l(`trees`,[[`path`,{d:`M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z`,key:`1l6gj6`}],[`path`,{d:`M7 16v6`,key:`1a82de`}],[`path`,{d:`M13 19v3`,key:`13sx9i`}],[`path`,{d:`M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5`,key:`1sj9kv`}]]),Vj=l(`trending-up-down`,[[`path`,{d:`M14.828 14.828 21 21`,key:`ar5fw7`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`m21 3-9 9-4-4-6 6`,key:`1h02xo`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}]]),Hj=l(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),Uj=l(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Wj=l(`triangle-dashed`,[[`path`,{d:`M10.17 4.193a2 2 0 0 1 3.666.013`,key:`pltmmw`}],[`path`,{d:`M14 21h2`,key:`v4qezv`}],[`path`,{d:`m15.874 7.743 1 1.732`,key:`10m0iw`}],[`path`,{d:`m18.849 12.952 1 1.732`,key:`zadnam`}],[`path`,{d:`M21.824 18.18a2 2 0 0 1-1.835 2.824`,key:`fvwuk4`}],[`path`,{d:`M4.024 21a2 2 0 0 1-1.839-2.839`,key:`1e1kah`}],[`path`,{d:`m5.136 12.952-1 1.732`,key:`1u4ldi`}],[`path`,{d:`M8 21h2`,key:`i9zjee`}],[`path`,{d:`m8.102 7.743-1 1.732`,key:`1zzo4u`}]]),Gj=l(`triangle-right`,[[`path`,{d:`M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z`,key:`183wce`}]]),Kj=l(`triangle`,[[`path`,{d:`M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z`,key:`14u9p9`}]]),qj=l(`trophy`,[[`path`,{d:`M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978`,key:`1n3hpd`}],[`path`,{d:`M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978`,key:`rfe1zi`}],[`path`,{d:`M18 9h1.5a1 1 0 0 0 0-5H18`,key:`7xy6bh`}],[`path`,{d:`M4 22h16`,key:`57wxv0`}],[`path`,{d:`M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z`,key:`1mhfuq`}],[`path`,{d:`M6 9H4.5a1 1 0 0 1 0-5H6`,key:`tex48p`}]]),Jj=l(`truck-electric`,[[`path`,{d:`M14 19V7a2 2 0 0 0-2-2H9`,key:`15peso`}],[`path`,{d:`M15 19H9`,key:`18q6dt`}],[`path`,{d:`M19 19h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62L18.3 9.38a1 1 0 0 0-.78-.38H14`,key:`1dkp3j`}],[`path`,{d:`M2 13v5a1 1 0 0 0 1 1h2`,key:`pkmmzz`}],[`path`,{d:`M4 3 2.15 5.15a.495.495 0 0 0 .35.86h2.15a.47.47 0 0 1 .35.86L3 9.02`,key:`1n26pd`}],[`circle`,{cx:`17`,cy:`19`,r:`2`,key:`1nxcgd`}],[`circle`,{cx:`7`,cy:`19`,r:`2`,key:`gzo7y7`}]]),Yj=l(`truck`,[[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`,key:`wrbu53`}],[`path`,{d:`M15 18H9`,key:`1lyqi6`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14`,key:`lysw3i`}],[`circle`,{cx:`17`,cy:`18`,r:`2`,key:`332jqn`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}]]),Xj=l(`turkish-lira`,[[`path`,{d:`M15 4 5 9`,key:`14bkc9`}],[`path`,{d:`m15 8.5-10 5`,key:`1grtsx`}],[`path`,{d:`M18 12a9 9 0 0 1-9 9V3`,key:`1sst7f`}]]),Zj=l(`turntable`,[[`path`,{d:`M10 12.01h.01`,key:`7rp0yl`}],[`path`,{d:`M18 8v4a8 8 0 0 1-1.07 4`,key:`1st48v`}],[`circle`,{cx:`10`,cy:`12`,r:`4`,key:`19levz`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),Qj=l(`turtle`,[[`path`,{d:`m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z`,key:`1lbbv7`}],[`path`,{d:`M4.82 7.9 8 10`,key:`m9wose`}],[`path`,{d:`M15.18 7.9 12 10`,key:`p8dp2u`}],[`path`,{d:`M16.93 10H20a2 2 0 0 1 0 4H2`,key:`12nsm7`}]]),$j=l(`tv-minimal-play`,[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`,key:`vbtd3f`}],[`path`,{d:`M7 21h10`,key:`1b0cd5`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}]]),eM=l(`tv-minimal`,[[`path`,{d:`M7 21h10`,key:`1b0cd5`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}]]),tM=l(`tv`,[[`path`,{d:`m17 2-5 5-5-5`,key:`16satq`}],[`rect`,{width:`20`,height:`15`,x:`2`,y:`7`,rx:`2`,key:`1e6viu`}]]),nM=l(`type-outline`,[[`path`,{d:`M14 16.5a.5.5 0 0 0 .5.5h.5a2 2 0 0 1 0 4H9a2 2 0 0 1 0-4h.5a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8a2 2 0 0 1-4 0V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3a2 2 0 0 1-4 0v-.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z`,key:`1reda3`}]]),rM=l(`type`,[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),iM=l(`umbrella-off`,[[`path`,{d:`M12 13v7a2 2 0 0 0 4 0`,key:`rpgb42`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M18.656 13h2.336a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-12.07-7.51`,key:`yawknk`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M5.961 5.957a10.28 10.28 0 0 0-3.922 5.769A1 1 0 0 0 3 13h10`,key:`5sfalc`}]]),aM=l(`umbrella`,[[`path`,{d:`M12 13v7a2 2 0 0 0 4 0`,key:`rpgb42`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M20.992 13a1 1 0 0 0 .97-1.274 10.284 10.284 0 0 0-19.923 0A1 1 0 0 0 3 13z`,key:`124nyo`}]]),oM=l(`underline`,[[`path`,{d:`M6 4v6a6 6 0 0 0 12 0V4`,key:`9kb039`}],[`line`,{x1:`4`,x2:`20`,y1:`20`,y2:`20`,key:`nun2al`}]]),sM=l(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),cM=l(`undo-dot`,[[`path`,{d:`M21 17a9 9 0 0 0-15-6.7L3 13`,key:`8mp6z9`}],[`path`,{d:`M3 7v6h6`,key:`1v2h90`}],[`circle`,{cx:`12`,cy:`17`,r:`1`,key:`1ixnty`}]]),lM=l(`unfold-horizontal`,[[`path`,{d:`M16 12h6`,key:`15xry1`}],[`path`,{d:`M8 12H2`,key:`1jqql6`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 8v2`,key:`1woqiv`}],[`path`,{d:`M12 14v2`,key:`8jcxud`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m19 15 3-3-3-3`,key:`wjy7rq`}],[`path`,{d:`m5 9-3 3 3 3`,key:`j64kie`}]]),uM=l(`unfold-vertical`,[[`path`,{d:`M12 22v-6`,key:`6o8u61`}],[`path`,{d:`M12 8V2`,key:`1wkif3`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}],[`path`,{d:`m15 19-3 3-3-3`,key:`11eu04`}],[`path`,{d:`m15 5-3-3-3 3`,key:`itvq4r`}]]),dM=l(`undo`,[[`path`,{d:`M3 7v6h6`,key:`1v2h90`}],[`path`,{d:`M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13`,key:`1r6uu6`}]]),fM=l(`ungroup`,[[`rect`,{width:`8`,height:`6`,x:`5`,y:`4`,rx:`1`,key:`nzclkv`}],[`rect`,{width:`8`,height:`6`,x:`11`,y:`14`,rx:`1`,key:`4tytwb`}]]),pM=l(`university`,[[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M18 12h.01`,key:`yjnet6`}],[`path`,{d:`M18 16h.01`,key:`plv8zi`}],[`path`,{d:`M22 7a1 1 0 0 0-1-1h-2a2 2 0 0 1-1.143-.359L13.143 2.36a2 2 0 0 0-2.286-.001L6.143 5.64A2 2 0 0 1 5 6H3a1 1 0 0 0-1 1v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2z`,key:`1ogmi3`}],[`path`,{d:`M6 12h.01`,key:`c2rlol`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}],[`circle`,{cx:`12`,cy:`10`,r:`2`,key:`1yojzk`}]]),mM=l(`unlink-2`,[[`path`,{d:`M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2`,key:`1re2ne`}]]),hM=l(`unlink`,[[`path`,{d:`m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71`,key:`yqzxt4`}],[`path`,{d:`m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71`,key:`4qinb0`}],[`line`,{x1:`8`,x2:`8`,y1:`2`,y2:`5`,key:`1041cp`}],[`line`,{x1:`2`,x2:`5`,y1:`8`,y2:`8`,key:`14m1p5`}],[`line`,{x1:`16`,x2:`16`,y1:`19`,y2:`22`,key:`rzdirn`}],[`line`,{x1:`19`,x2:`22`,y1:`16`,y2:`16`,key:`ox905f`}]]),gM=l(`unplug`,[[`path`,{d:`m19 5 3-3`,key:`yk6iyv`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z`,key:`1snsnr`}]]),_M=l(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),vM=l(`usb`,[[`circle`,{cx:`10`,cy:`7`,r:`1`,key:`dypaad`}],[`circle`,{cx:`4`,cy:`20`,r:`1`,key:`22iqad`}],[`path`,{d:`M4.7 19.3 19 5`,key:`1enqfc`}],[`path`,{d:`m21 3-3 1 2 2Z`,key:`d3ov82`}],[`path`,{d:`M9.26 7.68 5 12l2 5`,key:`1esawj`}],[`path`,{d:`m10 14 5 2 3.5-3.5`,key:`v8oal5`}],[`path`,{d:`m18 12 1-1 1 1-1 1Z`,key:`1bh22v`}]]),yM=l(`user-check`,[[`path`,{d:`m16 11 2 2 4-4`,key:`9rsbq5`}],[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),bM=l(`user-cog`,[[`path`,{d:`M10 15H6a4 4 0 0 0-4 4v2`,key:`1nfge6`}],[`path`,{d:`m14.305 16.53.923-.382`,key:`1itpsq`}],[`path`,{d:`m15.228 13.852-.923-.383`,key:`eplpkm`}],[`path`,{d:`m16.852 12.228-.383-.923`,key:`13v3q0`}],[`path`,{d:`m16.852 17.772-.383.924`,key:`1i8mnm`}],[`path`,{d:`m19.148 12.228.383-.923`,key:`1q8j1v`}],[`path`,{d:`m19.53 18.696-.382-.924`,key:`vk1qj3`}],[`path`,{d:`m20.772 13.852.924-.383`,key:`n880s0`}],[`path`,{d:`m20.772 16.148.924.383`,key:`1g6xey`}],[`circle`,{cx:`18`,cy:`15`,r:`3`,key:`gjjjvw`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),xM=l(`user-minus`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`,key:`1shjgl`}]]),SM=l(`user-key`,[[`path`,{d:`M20 11v6`,key:`d77pzp`}],[`path`,{d:`M20 13h2`,key:`16rner`}],[`path`,{d:`M3 21v-2a4 4 0 0 1 4-4h6a4 4 0 0 1 2.072.578`,key:`1yxgtw`}],[`circle`,{cx:`10`,cy:`7`,r:`4`,key:`e45bow`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]),CM=l(`user-lock`,[[`path`,{d:`M19 16v-2a2 2 0 0 0-4 0v2`,key:`17sujf`}],[`path`,{d:`M9.5 15H7a4 4 0 0 0-4 4v2`,key:`9it25y`}],[`circle`,{cx:`10`,cy:`7`,r:`4`,key:`e45bow`}],[`rect`,{x:`13`,y:`16`,width:`8`,height:`5`,rx:`.899`,key:`ur80nz`}]]),wM=l(`user-pen`,[[`path`,{d:`M11.5 15H7a4 4 0 0 0-4 4v2`,key:`15lzij`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`1817ys`}],[`circle`,{cx:`10`,cy:`7`,r:`4`,key:`e45bow`}]]),TM=l(`user-round-check`,[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`,key:`bjp14o`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}]]),EM=l(`user-plus`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`,key:`1bvyxn`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`,key:`1shjgl`}]]),DM=l(`user-round-key`,[[`path`,{d:`M19 11v6`,key:`rcqigv`}],[`path`,{d:`M19 13h2`,key:`1gch44`}],[`path`,{d:`M2 21a8 8 0 0 1 12.868-6.349`,key:`1lryzn`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`circle`,{cx:`19`,cy:`19`,r:`2`,key:`17f5cg`}]]),OM=l(`user-round-cog`,[[`path`,{d:`m14.305 19.53.923-.382`,key:`3m78fa`}],[`path`,{d:`m15.228 16.852-.923-.383`,key:`npixar`}],[`path`,{d:`m16.852 15.228-.383-.923`,key:`5xggr7`}],[`path`,{d:`m16.852 20.772-.383.924`,key:`dpfhf9`}],[`path`,{d:`m19.148 15.228.383-.923`,key:`1reyyz`}],[`path`,{d:`m19.53 21.696-.382-.924`,key:`1goivc`}],[`path`,{d:`M2 21a8 8 0 0 1 10.434-7.62`,key:`1yezr2`}],[`path`,{d:`m20.772 16.852.924-.383`,key:`htqkph`}],[`path`,{d:`m20.772 19.148.924.383`,key:`9w9pjp`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),kM=l(`user-round-minus`,[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`,key:`bjp14o`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M22 19h-6`,key:`vcuq98`}]]),AM=l(`user-round-pen`,[[`path`,{d:`M2 21a8 8 0 0 1 10.821-7.487`,key:`1c8h7z`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`1817ys`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}]]),jM=l(`user-round-search`,[[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M2 21a8 8 0 0 1 10.434-7.62`,key:`1yezr2`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`path`,{d:`m22 22-1.9-1.9`,key:`1e5ubv`}]]),MM=l(`user-round-x`,[[`path`,{d:`M2 21a8 8 0 0 1 11.873-7`,key:`74fkxq`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`m17 17 5 5`,key:`p7ous7`}],[`path`,{d:`m22 17-5 5`,key:`gqnmv0`}]]),NM=l(`user-round-plus`,[[`path`,{d:`M2 21a8 8 0 0 1 13.292-6`,key:`bjp14o`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M22 19h-6`,key:`vcuq98`}]]),PM=l(`user-round`,[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]]),FM=l(`user-search`,[[`circle`,{cx:`10`,cy:`7`,r:`4`,key:`e45bow`}],[`path`,{d:`M10.3 15H7a4 4 0 0 0-4 4v2`,key:`3bnktk`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`path`,{d:`m21 21-1.9-1.9`,key:`1g2n9r`}]]),IM=l(`user-star`,[[`path`,{d:`M16.051 12.616a1 1 0 0 1 1.909.024l.737 1.452a1 1 0 0 0 .737.535l1.634.256a1 1 0 0 1 .588 1.806l-1.172 1.168a1 1 0 0 0-.282.866l.259 1.613a1 1 0 0 1-1.541 1.134l-1.465-.75a1 1 0 0 0-.912 0l-1.465.75a1 1 0 0 1-1.539-1.133l.258-1.613a1 1 0 0 0-.282-.866l-1.156-1.153a1 1 0 0 1 .572-1.822l1.633-.256a1 1 0 0 0 .737-.535z`,key:`1m8t9f`}],[`path`,{d:`M8 15H7a4 4 0 0 0-4 4v2`,key:`l9tmp8`}],[`circle`,{cx:`10`,cy:`7`,r:`4`,key:`e45bow`}]]),LM=l(`user-x`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`17`,x2:`22`,y1:`8`,y2:`13`,key:`3nzzx3`}],[`line`,{x1:`22`,x2:`17`,y1:`8`,y2:`13`,key:`1swrse`}]]),RM=l(`users-round`,[[`path`,{d:`M18 21a8 8 0 0 0-16 0`,key:`3ypg7q`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`,key:`10s06x`}]]),zM=l(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),BM=l(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),VM=l(`utensils-crossed`,[[`path`,{d:`m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8`,key:`n7qcjb`}],[`path`,{d:`M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7`,key:`d0u48b`}],[`path`,{d:`m2.1 21.8 6.4-6.3`,key:`yn04lh`}],[`path`,{d:`m19 5-7 7`,key:`194lzd`}]]),HM=l(`utensils`,[[`path`,{d:`M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2`,key:`cjf0a3`}],[`path`,{d:`M7 2v20`,key:`1473qp`}],[`path`,{d:`M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7`,key:`j28e5`}]]),UM=l(`utility-pole`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`M2 5h20`,key:`1fs1ex`}],[`path`,{d:`M3 3v2`,key:`9imdir`}],[`path`,{d:`M7 3v2`,key:`n0os7`}],[`path`,{d:`M17 3v2`,key:`1l2re6`}],[`path`,{d:`M21 3v2`,key:`1duuac`}],[`path`,{d:`m19 5-7 7-7-7`,key:`133zxf`}]]),WM=l(`van`,[[`path`,{d:`M13 6v5a1 1 0 0 0 1 1h6.102a1 1 0 0 1 .712.298l.898.91a1 1 0 0 1 .288.702V17a1 1 0 0 1-1 1h-3`,key:`k3s650`}],[`path`,{d:`M5 18H3a1 1 0 0 1-1-1V8a2 2 0 0 1 2-2h12c1.1 0 2.1.8 2.4 1.8l1.176 4.2`,key:`fnd93u`}],[`path`,{d:`M9 18h5`,key:`lrx6i`}],[`circle`,{cx:`16`,cy:`18`,r:`2`,key:`1v4tcr`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}]]),GM=l(`variable`,[[`path`,{d:`M8 21s-4-3-4-9 4-9 4-9`,key:`uto9ud`}],[`path`,{d:`M16 3s4 3 4 9-4 9-4 9`,key:`4w2vsq`}],[`line`,{x1:`15`,x2:`9`,y1:`9`,y2:`15`,key:`f7djnv`}],[`line`,{x1:`9`,x2:`15`,y1:`9`,y2:`15`,key:`1shsy8`}]]),KM=l(`vault`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}],[`path`,{d:`m7.9 7.9 2.7 2.7`,key:`hpeyl3`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}],[`path`,{d:`m13.4 10.6 2.7-2.7`,key:`264c1n`}],[`circle`,{cx:`7.5`,cy:`16.5`,r:`.5`,fill:`currentColor`,key:`nkw3mc`}],[`path`,{d:`m7.9 16.1 2.7-2.7`,key:`p81g5e`}],[`circle`,{cx:`16.5`,cy:`16.5`,r:`.5`,fill:`currentColor`,key:`fubopw`}],[`path`,{d:`m13.4 13.4 2.7 2.7`,key:`abhel3`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),qM=l(`vector-square`,[[`path`,{d:`M19.5 7a24 24 0 0 1 0 10`,key:`8n60xe`}],[`path`,{d:`M4.5 7a24 24 0 0 0 0 10`,key:`2lmadr`}],[`path`,{d:`M7 19.5a24 24 0 0 0 10 0`,key:`1q94o2`}],[`path`,{d:`M7 4.5a24 24 0 0 1 10 0`,key:`2z8ypa`}],[`rect`,{x:`17`,y:`17`,width:`5`,height:`5`,rx:`1`,key:`1ac74s`}],[`rect`,{x:`17`,y:`2`,width:`5`,height:`5`,rx:`1`,key:`1e7h5j`}],[`rect`,{x:`2`,y:`17`,width:`5`,height:`5`,rx:`1`,key:`1t4eah`}],[`rect`,{x:`2`,y:`2`,width:`5`,height:`5`,rx:`1`,key:`940dhs`}]]),JM=l(`vegan`,[[`path`,{d:`M16 8q6 0 6-6-6 0-6 6`,key:`qsyyc4`}],[`path`,{d:`M17.41 3.59a10 10 0 1 0 3 3`,key:`41m9h7`}],[`path`,{d:`M2 2a26.6 26.6 0 0 1 10 20c.9-6.82 1.5-9.5 4-14`,key:`qiv7li`}]]),YM=l(`venetian-mask`,[[`path`,{d:`M18 11c-1.5 0-2.5.5-3 2`,key:`1fod00`}],[`path`,{d:`M4 6a2 2 0 0 0-2 2v4a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3a8 8 0 0 0-5 2 8 8 0 0 0-5-2z`,key:`d70hit`}],[`path`,{d:`M6 11c1.5 0 2.5.5 3 2`,key:`136fht`}]]),XM=l(`venus-and-mars`,[[`path`,{d:`M10 20h4`,key:`ni2waw`}],[`path`,{d:`M12 16v6`,key:`c8a4gj`}],[`path`,{d:`M17 2h4v4`,key:`vhe59`}],[`path`,{d:`m21 2-5.46 5.46`,key:`19kypf`}],[`circle`,{cx:`12`,cy:`11`,r:`5`,key:`16gxyc`}]]),ZM=l(`venus`,[[`path`,{d:`M12 15v7`,key:`t2xh3l`}],[`path`,{d:`M9 19h6`,key:`456am0`}],[`circle`,{cx:`12`,cy:`9`,r:`6`,key:`1nw4tq`}]]),QM=l(`vibrate`,[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`,key:`sv1b1`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`,key:`101i4y`}],[`rect`,{width:`8`,height:`14`,x:`8`,y:`5`,rx:`1`,key:`1oyrl4`}]]),$M=l(`vibrate-off`,[[`path`,{d:`m2 8 2 2-2 2 2 2-2 2`,key:`sv1b1`}],[`path`,{d:`m22 8-2 2 2 2-2 2 2 2`,key:`101i4y`}],[`path`,{d:`M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2`,key:`1hbad5`}],[`path`,{d:`M16 10.34V6c0-.55-.45-1-1-1h-4.34`,key:`1x5tf0`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),eN=l(`video-off`,[[`path`,{d:`M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196`,key:`w8jjjt`}],[`path`,{d:`M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2`,key:`1xawa7`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),tN=l(`video`,[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]),nN=l(`view`,[[`path`,{d:`M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2`,key:`mrq65r`}],[`path`,{d:`M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2`,key:`be3xqs`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`,key:`11ak4c`}]]),rN=l(`videotape`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`circle`,{cx:`8`,cy:`14`,r:`2`,key:`1k2qr5`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}],[`circle`,{cx:`16`,cy:`14`,r:`2`,key:`14k7lr`}]]),iN=l(`volleyball`,[[`path`,{d:`M11 7a16 16 20 0 1 10.98 4.362`,key:`1mmfx7`}],[`path`,{d:`M12 12a13 13 0 0 1-8.66 5`,key:`14sm5y`}],[`path`,{d:`M16.83 13.634a16 16 0 0 1-9.267 7.328`,key:`j0eyj5`}],[`path`,{d:`M20.66 17A13 13 0 0 0 12 12a13 13 0 0 1 0-10`,key:`qaetsw`}],[`path`,{d:`M8.17 15.366a16 16 0 0 1-1.713-11.69`,key:`17ewdd`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),aN=l(`voicemail`,[[`circle`,{cx:`6`,cy:`12`,r:`4`,key:`1ehtga`}],[`circle`,{cx:`18`,cy:`12`,r:`4`,key:`4vafl8`}],[`line`,{x1:`6`,x2:`18`,y1:`16`,y2:`16`,key:`pmt8us`}]]),oN=l(`volume-1`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}]]),sN=l(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),cN=l(`volume-off`,[[`path`,{d:`M16 9a5 5 0 0 1 .95 2.293`,key:`1fgyg8`}],[`path`,{d:`M19.364 5.636a9 9 0 0 1 1.889 9.96`,key:`l3zxae`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11`,key:`1gbwow`}],[`path`,{d:`M9.828 4.172A.686.686 0 0 1 11 4.657v.686`,key:`s2je0y`}]]),lN=l(`volume-x`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`,key:`1ewh16`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`,key:`5ykzw1`}]]),uN=l(`volume`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}]]),dN=l(`vote`,[[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}],[`path`,{d:`M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z`,key:`1ezoue`}],[`path`,{d:`M22 19H2`,key:`nuriw5`}]]),fN=l(`wallet-cards`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2`,key:`4125el`}],[`path`,{d:`M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21`,key:`1dpki6`}]]),pN=l(`wallet-minimal`,[[`path`,{d:`M17 14h.01`,key:`7oqj8z`}],[`path`,{d:`M7 7h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14`,key:`u1rqew`}]]),mN=l(`wallet`,[[`path`,{d:`M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`,key:`18etb6`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4`,key:`xoc0q4`}]]),hN=l(`wallpaper`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`m9 17 6.1-6.1a2 2 0 0 1 2.81.01L22 15`,key:`1sl52q`}],[`circle`,{cx:`8`,cy:`9`,r:`2`,key:`gjzl9d`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]),gN=l(`wand`,[[`path`,{d:`M15 4V2`,key:`z1p9b7`}],[`path`,{d:`M15 16v-2`,key:`px0unx`}],[`path`,{d:`M8 9h2`,key:`1g203m`}],[`path`,{d:`M20 9h2`,key:`19tzq7`}],[`path`,{d:`M17.8 11.8 19 13`,key:`yihg8r`}],[`path`,{d:`M15 9h.01`,key:`x1ddxp`}],[`path`,{d:`M17.8 6.2 19 5`,key:`fd4us0`}],[`path`,{d:`m3 21 9-9`,key:`1jfql5`}],[`path`,{d:`M12.2 6.2 11 5`,key:`i3da3b`}]]),_N=l(`wand-sparkles`,[[`path`,{d:`m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72`,key:`ul74o6`}],[`path`,{d:`m14 7 3 3`,key:`1r5n42`}],[`path`,{d:`M5 6v4`,key:`ilb8ba`}],[`path`,{d:`M19 14v4`,key:`blhpug`}],[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M7 8H3`,key:`zfb6yr`}],[`path`,{d:`M21 16h-4`,key:`1cnmox`}],[`path`,{d:`M11 3H9`,key:`1obp7u`}]]),vN=l(`warehouse`,[[`path`,{d:`M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11`,key:`pb2vm6`}],[`path`,{d:`M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z`,key:`doq5xv`}],[`path`,{d:`M6 13h12`,key:`yf64js`}],[`path`,{d:`M6 17h12`,key:`1jwigz`}]]),yN=l(`washing-machine`,[[`path`,{d:`M3 6h3`,key:`155dbl`}],[`path`,{d:`M17 6h.01`,key:`e2y6kg`}],[`rect`,{width:`18`,height:`20`,x:`3`,y:`2`,rx:`2`,key:`od3kk9`}],[`circle`,{cx:`12`,cy:`13`,r:`5`,key:`nlbqau`}],[`path`,{d:`M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5`,key:`17lach`}]]),bN=l(`watch`,[[`path`,{d:`M12 10v2.2l1.6 1`,key:`n3r21l`}],[`path`,{d:`m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05`,key:`18k57s`}],[`path`,{d:`m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05`,key:`16ny36`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}]]),xN=l(`waves-arrow-down`,[[`path`,{d:`M12 10L12 2`,key:`jvb0aw`}],[`path`,{d:`M16 6L12 10L8 6`,key:`9j6vje`}],[`path`,{d:`M2 15C2.6 15.5 3.2 16 4.5 16C7 16 7 14 9.5 14C12.1 14 11.9 16 14.5 16C17 16 17 14 19.5 14C20.8 14 21.4 14.5 22 15`,key:`s2zepw`}],[`path`,{d:`M2 21C2.6 21.5 3.2 22 4.5 22C7 22 7 20 9.5 20C12.1 20 11.9 22 14.5 22C17 22 17 20 19.5 20C20.8 20 21.4 20.5 22 21`,key:`u68omc`}]]),SN=l(`waves-arrow-up`,[[`path`,{d:`M12 2v8`,key:`1q4o3n`}],[`path`,{d:`M2 15c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`1p9f19`}],[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`vbxynw`}],[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}]]),CN=l(`waves-horizontal`,[[`path`,{d:`M2 12q2.5 2 5 0t5 0 5 0 5 0`,key:`8ddzzs`}],[`path`,{d:`M2 19q2.5 2 5 0t5 0 5 0 5 0`,key:`1wj4st`}],[`path`,{d:`M2 5q2.5 2 5 0t5 0 5 0 5 0`,key:`69x50u`}]]),wN=l(`waves-ladder`,[[`path`,{d:`M19 5a2 2 0 0 0-2 2v11`,key:`s41o68`}],[`path`,{d:`M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`rd2r6e`}],[`path`,{d:`M7 13h10`,key:`1rwob1`}],[`path`,{d:`M7 9h10`,key:`12czzb`}],[`path`,{d:`M9 5a2 2 0 0 0-2 2v11`,key:`x0q4gh`}]]),TN=l(`waves-vertical`,[[`path`,{d:`M12 2q2 2.5 0 5t0 5 0 5 0 5`,key:`13jdbg`}],[`path`,{d:`M19 2q2 2.5 0 5t0 5 0 5 0 5`,key:`1ozhzu`}],[`path`,{d:`M5 2q2 2.5 0 5t0 5 0 5 0 5`,key:`1bi6v5`}]]),EN=l(`waypoints`,[[`path`,{d:`m10.586 5.414-5.172 5.172`,key:`4mc350`}],[`path`,{d:`m18.586 13.414-5.172 5.172`,key:`8c96vv`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`circle`,{cx:`12`,cy:`20`,r:`2`,key:`144qzu`}],[`circle`,{cx:`12`,cy:`4`,r:`2`,key:`muu5ef`}],[`circle`,{cx:`20`,cy:`12`,r:`2`,key:`1xzzfp`}],[`circle`,{cx:`4`,cy:`12`,r:`2`,key:`1hvhnz`}]]),DN=l(`webcam`,[[`circle`,{cx:`12`,cy:`10`,r:`8`,key:`1gshiw`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M7 22h10`,key:`10w4w3`}],[`path`,{d:`M12 22v-4`,key:`1utk9m`}]]),ON=l(`webhook-off`,[[`path`,{d:`M17 17h-5c-1.09-.02-1.94.92-2.5 1.9A3 3 0 1 1 2.57 15`,key:`1tvl6x`}],[`path`,{d:`M9 3.4a4 4 0 0 1 6.52.66`,key:`q04jfq`}],[`path`,{d:`m6 17 3.1-5.8a2.5 2.5 0 0 0 .057-2.05`,key:`azowf0`}],[`path`,{d:`M20.3 20.3a4 4 0 0 1-2.3.7`,key:`5joiws`}],[`path`,{d:`M18.6 13a4 4 0 0 1 3.357 3.414`,key:`cangb8`}],[`path`,{d:`m12 6 .6 1`,key:`tpjl1n`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),kN=l(`webhook`,[[`path`,{d:`M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2`,key:`q3hayz`}],[`path`,{d:`m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06`,key:`1go1hn`}],[`path`,{d:`m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8`,key:`qlwsc0`}]]),AN=l(`weight-tilde`,[[`path`,{d:`M6.5 8a2 2 0 0 0-1.906 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8z`,key:`1wl739`}],[`path`,{d:`M7.999 15a2.5 2.5 0 0 1 4 0 2.5 2.5 0 0 0 4 0`,key:`1egezo`}],[`circle`,{cx:`12`,cy:`5`,r:`3`,key:`rqqgnr`}]]),jN=l(`weight`,[[`circle`,{cx:`12`,cy:`5`,r:`3`,key:`rqqgnr`}],[`path`,{d:`M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z`,key:`56o5sh`}]]),MN=l(`wheat-off`,[[`path`,{d:`m2 22 10-10`,key:`28ilpk`}],[`path`,{d:`m16 8-1.17 1.17`,key:`1qqm82`}],[`path`,{d:`M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`,key:`1rdhi6`}],[`path`,{d:`m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97`,key:`4wz8re`}],[`path`,{d:`M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62`,key:`rves66`}],[`path`,{d:`M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z`,key:`19rau1`}],[`path`,{d:`M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`,key:`tc8ph9`}],[`path`,{d:`m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98`,key:`ak46r`}],[`path`,{d:`M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28`,key:`1tw520`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),NN=l(`wheat`,[[`path`,{d:`M2 22 16 8`,key:`60hf96`}],[`path`,{d:`M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`,key:`1rdhi6`}],[`path`,{d:`M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`,key:`1sdzmb`}],[`path`,{d:`M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z`,key:`eoatbi`}],[`path`,{d:`M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z`,key:`19rau1`}],[`path`,{d:`M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`,key:`tc8ph9`}],[`path`,{d:`M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`,key:`2m8kc5`}],[`path`,{d:`M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z`,key:`vex3ng`}]]),PN=l(`wifi-cog`,[[`path`,{d:`m14.305 19.53.923-.382`,key:`3m78fa`}],[`path`,{d:`m15.228 16.852-.923-.383`,key:`npixar`}],[`path`,{d:`m16.852 15.228-.383-.923`,key:`5xggr7`}],[`path`,{d:`m16.852 20.772-.383.924`,key:`dpfhf9`}],[`path`,{d:`m19.148 15.228.383-.923`,key:`1reyyz`}],[`path`,{d:`m19.53 21.696-.382-.924`,key:`1goivc`}],[`path`,{d:`M2 7.82a15 15 0 0 1 20 0`,key:`1ovjuk`}],[`path`,{d:`m20.772 16.852.924-.383`,key:`htqkph`}],[`path`,{d:`m20.772 19.148.924.383`,key:`9w9pjp`}],[`path`,{d:`M5 11.858a10 10 0 0 1 11.5-1.785`,key:`3sn16i`}],[`path`,{d:`M8.5 15.429a5 5 0 0 1 2.413-1.31`,key:`1pxovh`}],[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}]]),FN=l(`whole-word`,[[`circle`,{cx:`7`,cy:`12`,r:`3`,key:`12clwm`}],[`path`,{d:`M10 9v6`,key:`17i7lo`}],[`circle`,{cx:`17`,cy:`12`,r:`3`,key:`gl7c2s`}],[`path`,{d:`M14 7v8`,key:`dl84cr`}],[`path`,{d:`M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1`,key:`lt2kga`}]]),IN=l(`wifi-high`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),LN=l(`wifi-low`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),RN=l(`wifi-off`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}],[`path`,{d:`M5 12.859a10 10 0 0 1 5.17-2.69`,key:`1dl1wf`}],[`path`,{d:`M19 12.859a10 10 0 0 0-2.007-1.523`,key:`4k23kn`}],[`path`,{d:`M2 8.82a15 15 0 0 1 4.177-2.643`,key:`1grhjp`}],[`path`,{d:`M22 8.82a15 15 0 0 0-11.288-3.764`,key:`z3jwby`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),zN=l(`wifi-pen`,[[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`1817ys`}],[`path`,{d:`M5 12.859a10 10 0 0 1 10.5-2.222`,key:`rpb7oy`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 3-1.406`,key:`r8bmzl`}]]),BN=l(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),VN=l(`wifi-sync`,[[`path`,{d:`M11.965 10.105v4L13.5 12.5a5 5 0 0 1 8 1.5`,key:`1immaq`}],[`path`,{d:`M11.965 14.105h4`,key:`uejny8`}],[`path`,{d:`M17.965 18.105h4L20.43 19.71a5 5 0 0 1-8-1.5`,key:`1i3a7e`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M21.965 22.105v-4`,key:`1ku6vx`}],[`path`,{d:`M5 12.86a10 10 0 0 1 3-2.032`,key:`pemdtu`}],[`path`,{d:`M8.5 16.429h.01`,key:`2bm739`}]]),HN=l(`wifi-zero`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}]]),UN=l(`wind-arrow-down`,[[`path`,{d:`M10 2v8`,key:`d4bbey`}],[`path`,{d:`M12.8 21.6A2 2 0 1 0 14 18H2`,key:`19kp1d`}],[`path`,{d:`M17.5 10a2.5 2.5 0 1 1 2 4H2`,key:`19kpjc`}],[`path`,{d:`m6 6 4 4 4-4`,key:`k13n16`}]]),WN=l(`wind`,[[`path`,{d:`M12.8 19.6A2 2 0 1 0 14 16H2`,key:`148xed`}],[`path`,{d:`M17.5 8a2.5 2.5 0 1 1 2 4H2`,key:`1u4tom`}],[`path`,{d:`M9.8 4.4A2 2 0 1 1 11 8H2`,key:`75valh`}]]),GN=l(`wine-off`,[[`path`,{d:`M8 22h8`,key:`rmew8v`}],[`path`,{d:`M7 10h3m7 0h-1.343`,key:`v48bem`}],[`path`,{d:`M12 15v7`,key:`t2xh3l`}],[`path`,{d:`M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198`,key:`1ymjlu`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),KN=l(`wine`,[[`path`,{d:`M8 22h8`,key:`rmew8v`}],[`path`,{d:`M7 10h10`,key:`1101jm`}],[`path`,{d:`M12 15v7`,key:`t2xh3l`}],[`path`,{d:`M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z`,key:`10ffi3`}]]),qN=l(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),JN=l(`worm`,[[`path`,{d:`m19 12-1.5 3`,key:`9bcu4o`}],[`path`,{d:`M19.63 18.81 22 20`,key:`121v98`}],[`path`,{d:`M6.47 8.23a1.68 1.68 0 0 1 2.44 1.93l-.64 2.08a6.76 6.76 0 0 0 10.16 7.67l.42-.27a1 1 0 1 0-2.73-4.21l-.42.27a1.76 1.76 0 0 1-2.63-1.99l.64-2.08A6.66 6.66 0 0 0 3.94 3.9l-.7.4a1 1 0 1 0 2.55 4.34z`,key:`1tij6q`}]]),YN=l(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),XN=l(`x-line-top`,[[`path`,{d:`M18 4H6`,key:`1hsngl`}],[`path`,{d:`M18 8 6 20`,key:`xspwia`}],[`path`,{d:`m6 8 12 12`,key:`qb1veh`}]]),ZN=l(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),QN=l(`zap-off`,[[`path`,{d:`M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317`,key:`193nxd`}],[`path`,{d:`M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773`,key:`27a7lr`}],[`path`,{d:`M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643`,key:`1e0qe9`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),$N=l(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),eP=l(`zodiac-aquarius`,[[`path`,{d:`m2 10 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.096-.001l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 10`,key:`1o8iok`}],[`path`,{d:`m2 18.002 2.456-3.684a.7.7 0 0 1 1.106-.013l2.39 3.413a.7.7 0 0 0 1.097 0l2.402-3.432a.7.7 0 0 1 1.098 0l2.402 3.432a.7.7 0 0 0 1.098 0l2.389-3.413a.7.7 0 0 1 1.106.013L22 18.002`,key:`112qy7`}]]),tP=l(`zodiac-cancer`,[[`path`,{d:`M21 14.5A9 6.5 0 0 1 5.5 19`,key:`1xj2o6`}],[`path`,{d:`M3 9.5A9 6.5 0 0 1 18.5 5`,key:`1gln3t`}],[`circle`,{cx:`17.5`,cy:`14.5`,r:`3.5`,key:`1ccu1t`}],[`circle`,{cx:`6.5`,cy:`9.5`,r:`3.5`,key:`x5tc2d`}]]),nP=l(`zodiac-aries`,[[`path`,{d:`M12 7.5a4.5 4.5 0 1 1 5 4.5`,key:`k987hv`}],[`path`,{d:`M7 12a4.5 4.5 0 1 1 5-4.5V21`,key:`mjup0w`}]]),rP=l(`zodiac-gemini`,[[`path`,{d:`M16 4.525v14.948`,key:`bgoxo0`}],[`path`,{d:`M20 3A17 17 0 0 1 4 3`,key:`1djemw`}],[`path`,{d:`M4 21a17 17 0 0 1 16 0`,key:`onoyo7`}],[`path`,{d:`M8 4.525v14.948`,key:`u5iyof`}]]),iP=l(`zodiac-capricorn`,[[`path`,{d:`M11 21a3 3 0 0 0 3-3V6.5a1 1 0 0 0-7 0`,key:`1kkncs`}],[`path`,{d:`M7 19V6a3 3 0 0 0-3-3h0`,key:`1jg5y1`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}]]),aP=l(`zodiac-leo`,[[`path`,{d:`M10 16c0-4-3-4.5-3-8a5 5 0 0 1 10 0c0 3.466-3 6.196-3 10a3 3 0 0 0 6 0`,key:`1qj6nb`}],[`circle`,{cx:`7`,cy:`16`,r:`3`,key:`yyv3zl`}]]),oP=l(`zodiac-ophiuchus`,[[`path`,{d:`M3 10A6.06 6.06 0 0 1 12 10 A6.06 6.06 0 0 0 21 10`,key:`13lfmc`}],[`path`,{d:`M6 3v12a6 6 0 0 0 12 0V3`,key:`1jnivp`}]]),sP=l(`zodiac-libra`,[[`path`,{d:`M3 16h6.857c.162-.012.19-.323.038-.38a6 6 0 1 1 4.212 0c-.153.057-.125.368.038.38H21`,key:`1novf0`}],[`path`,{d:`M3 20h18`,key:`1l19wn`}]]),cP=l(`zodiac-pisces`,[[`path`,{d:`M19 21a15 15 0 0 1 0-18`,key:`br2vug`}],[`path`,{d:`M20 12H4`,key:`1mtusc`}],[`path`,{d:`M5 3a15 15 0 0 1 0 18`,key:`1w7hae`}]]),lP=l(`zodiac-sagittarius`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M21 3 3 21`,key:`1011np`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),uP=l(`zodiac-scorpio`,[[`path`,{d:`M10 19V5.5a1 1 0 0 1 5 0V17a2 2 0 0 0 2 2h5l-3-3`,key:`1w8g0z`}],[`path`,{d:`m22 19-3 3`,key:`1ix4wq`}],[`path`,{d:`M5 19V5.5a1 1 0 0 1 5 0`,key:`1d4oa3`}],[`path`,{d:`M5 5.5A2.5 2.5 0 0 0 2.5 3`,key:`gp646f`}]]),dP=l(`zodiac-taurus`,[[`circle`,{cx:`12`,cy:`15`,r:`6`,key:`lhqcmb`}],[`path`,{d:`M18 3A6 6 0 0 1 6 3`,key:`1p399e`}]]),fP=l(`zodiac-virgo`,[[`path`,{d:`M11 5.5a1 1 0 0 1 5 0V16a5 5 0 0 0 5 5`,key:`1szkuh`}],[`path`,{d:`M16 11.5a1 1 0 0 1 5 0V16a5 5 0 0 1-5 5`,key:`pyq0k2`}],[`path`,{d:`M6 19V6a3 3 0 0 0-3-3h0`,key:`pvee4g`}],[`path`,{d:`M6 5.5a1 1 0 0 1 5 0V19`,key:`vncctg`}]]),pP=l(`zoom-in`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),mP=l(`zoom-out`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),hP=t({AArrowDown:()=>fa,AArrowUp:()=>pa,ALargeSmall:()=>ma,Accessibility:()=>ha,Activity:()=>ga,AirVent:()=>_a,Airplay:()=>va,AlarmClock:()=>wa,AlarmClockCheck:()=>ya,AlarmClockMinus:()=>ba,AlarmClockOff:()=>xa,AlarmClockPlus:()=>Sa,AlarmSmoke:()=>Ca,Album:()=>Ta,AlignCenterHorizontal:()=>Ea,AlignCenterVertical:()=>Da,AlignEndHorizontal:()=>Oa,AlignEndVertical:()=>ka,AlignHorizontalDistributeCenter:()=>Aa,AlignHorizontalDistributeEnd:()=>ja,AlignHorizontalDistributeStart:()=>Ma,AlignHorizontalJustifyCenter:()=>Na,AlignHorizontalJustifyEnd:()=>Pa,AlignHorizontalJustifyStart:()=>Fa,AlignHorizontalSpaceAround:()=>Ia,AlignHorizontalSpaceBetween:()=>La,AlignStartHorizontal:()=>Ra,AlignStartVertical:()=>za,AlignVerticalDistributeCenter:()=>Ba,AlignVerticalDistributeEnd:()=>Va,AlignVerticalDistributeStart:()=>Ha,AlignVerticalJustifyCenter:()=>Ua,AlignVerticalJustifyEnd:()=>Wa,AlignVerticalJustifyStart:()=>Ga,AlignVerticalSpaceAround:()=>Ka,AlignVerticalSpaceBetween:()=>qa,Ambulance:()=>Ja,Ampersand:()=>Ya,Ampersands:()=>Qa,Amphora:()=>Xa,Anchor:()=>Za,Angry:()=>$a,Annoyed:()=>eo,Antenna:()=>no,Anvil:()=>to,Aperture:()=>ro,AppWindow:()=>ao,AppWindowMac:()=>io,Apple:()=>oo,Archive:()=>lo,ArchiveRestore:()=>so,ArchiveX:()=>co,Armchair:()=>uo,ArrowBigDown:()=>po,ArrowBigDownDash:()=>fo,ArrowBigLeft:()=>ho,ArrowBigLeftDash:()=>mo,ArrowBigRight:()=>_o,ArrowBigRightDash:()=>go,ArrowBigUp:()=>yo,ArrowBigUpDash:()=>vo,ArrowDown:()=>Mo,ArrowDown01:()=>bo,ArrowDown10:()=>xo,ArrowDownAZ:()=>Co,ArrowDownFromLine:()=>So,ArrowDownLeft:()=>wo,ArrowDownNarrowWide:()=>To,ArrowDownRight:()=>Eo,ArrowDownToDot:()=>Do,ArrowDownToLine:()=>Oo,ArrowDownUp:()=>ko,ArrowDownWideNarrow:()=>Ao,ArrowDownZA:()=>jo,ArrowLeft:()=>Io,ArrowLeftFromLine:()=>No,ArrowLeftRight:()=>Po,ArrowLeftToLine:()=>Fo,ArrowRight:()=>Bo,ArrowRightFromLine:()=>Lo,ArrowRightLeft:()=>Ro,ArrowRightToLine:()=>zo,ArrowUp:()=>$o,ArrowUp01:()=>Vo,ArrowUp10:()=>Ho,ArrowUpAZ:()=>Uo,ArrowUpDown:()=>Wo,ArrowUpFromDot:()=>Go,ArrowUpFromLine:()=>Ko,ArrowUpLeft:()=>qo,ArrowUpNarrowWide:()=>Jo,ArrowUpRight:()=>Yo,ArrowUpToLine:()=>Xo,ArrowUpWideNarrow:()=>Zo,ArrowUpZA:()=>Qo,ArrowsUpFromLine:()=>es,Asterisk:()=>ts,Astroid:()=>ns,AtSign:()=>rs,Atom:()=>is,AudioLines:()=>as,AudioWaveform:()=>os,Award:()=>ss,Axe:()=>cs,Axis3d:()=>ls,Baby:()=>ps,Backpack:()=>ds,Badge:()=>ks,BadgeAlert:()=>us,BadgeCent:()=>fs,BadgeCheck:()=>ms,BadgeDollarSign:()=>hs,BadgeEuro:()=>gs,BadgeIndianRupee:()=>_s,BadgeInfo:()=>vs,BadgeJapaneseYen:()=>ys,BadgeMinus:()=>bs,BadgePercent:()=>xs,BadgePlus:()=>Cs,BadgePoundSterling:()=>Ss,BadgeQuestionMark:()=>ws,BadgeRussianRuble:()=>Ts,BadgeSwissFranc:()=>Ds,BadgeTurkishLira:()=>Es,BadgeX:()=>Os,BaggageClaim:()=>js,Balloon:()=>As,Ban:()=>Ns,Banana:()=>Is,Bandage:()=>Ms,Banknote:()=>Rs,BanknoteArrowDown:()=>Ps,BanknoteArrowUp:()=>Fs,BanknoteX:()=>Ls,Barcode:()=>zs,Barrel:()=>Vs,Baseline:()=>Bs,Bath:()=>Hs,Battery:()=>Js,BatteryCharging:()=>Us,BatteryFull:()=>Gs,BatteryLow:()=>Ks,BatteryMedium:()=>Ws,BatteryPlus:()=>qs,BatteryWarning:()=>Ys,Beaker:()=>Xs,Bean:()=>Qs,BeanOff:()=>Zs,Bed:()=>ec,BedDouble:()=>$s,BedSingle:()=>tc,Beef:()=>rc,BeefOff:()=>nc,Beer:()=>ac,BeerOff:()=>ic,Bell:()=>pc,BellCheck:()=>oc,BellDot:()=>sc,BellElectric:()=>cc,BellMinus:()=>lc,BellOff:()=>uc,BellPlus:()=>dc,BellRing:()=>fc,BetweenHorizontalEnd:()=>mc,BetweenHorizontalStart:()=>_c,BetweenVerticalEnd:()=>hc,BetweenVerticalStart:()=>gc,BicepsFlexed:()=>vc,Bike:()=>bc,Binary:()=>yc,Binoculars:()=>xc,Biohazard:()=>Sc,Bird:()=>Cc,Birdhouse:()=>wc,Bitcoin:()=>Tc,Blend:()=>Ec,Blender:()=>Dc,Blinds:()=>Oc,Blocks:()=>kc,Bluetooth:()=>Nc,BluetoothConnected:()=>Ac,BluetoothOff:()=>jc,BluetoothSearching:()=>Mc,Bold:()=>Pc,Bolt:()=>Fc,Bomb:()=>Ic,Bone:()=>Bc,Book:()=>ll,BookA:()=>Lc,BookAlert:()=>Rc,BookAudio:()=>zc,BookCheck:()=>Hc,BookCopy:()=>Vc,BookDashed:()=>Uc,BookDown:()=>Wc,BookHeadphones:()=>Kc,BookHeart:()=>Gc,BookImage:()=>qc,BookKey:()=>Jc,BookLock:()=>Yc,BookMarked:()=>Xc,BookMinus:()=>Zc,BookOpen:()=>el,BookOpenCheck:()=>Qc,BookOpenText:()=>$c,BookPlus:()=>tl,BookSearch:()=>nl,BookText:()=>rl,BookType:()=>il,BookUp:()=>ol,BookUp2:()=>al,BookUser:()=>sl,BookX:()=>cl,Bookmark:()=>hl,BookmarkCheck:()=>ul,BookmarkMinus:()=>dl,BookmarkOff:()=>fl,BookmarkPlus:()=>pl,BookmarkX:()=>ml,BoomBox:()=>gl,Bot:()=>yl,BotMessageSquare:()=>_l,BotOff:()=>vl,BottleWine:()=>bl,BowArrow:()=>xl,Box:()=>Sl,Boxes:()=>Cl,Braces:()=>wl,Brackets:()=>Tl,Brain:()=>Ol,BrainCircuit:()=>El,BrainCog:()=>Dl,BrickWall:()=>jl,BrickWallFire:()=>kl,BrickWallShield:()=>Al,Briefcase:()=>Fl,BriefcaseBusiness:()=>Ml,BriefcaseConveyorBelt:()=>Pl,BriefcaseMedical:()=>Nl,BringToFront:()=>Il,Broccoli:()=>Ll,Brush:()=>Rl,BrushCleaning:()=>zl,Bubbles:()=>Bl,Bug:()=>Ul,BugOff:()=>Hl,BugPlay:()=>Vl,Building:()=>Gl,Building2:()=>Wl,Bus:()=>ql,BusFront:()=>Kl,Cable:()=>Xl,CableCar:()=>Yl,Cake:()=>Zl,CakeSlice:()=>Jl,Calculator:()=>Ql,Calendar:()=>yu,Calendar1:()=>$l,CalendarArrowDown:()=>eu,CalendarArrowUp:()=>tu,CalendarCheck:()=>ru,CalendarCheck2:()=>nu,CalendarClock:()=>au,CalendarCog:()=>iu,CalendarDays:()=>ou,CalendarFold:()=>su,CalendarHeart:()=>cu,CalendarMinus:()=>uu,CalendarMinus2:()=>lu,CalendarOff:()=>du,CalendarPlus:()=>pu,CalendarPlus2:()=>fu,CalendarRange:()=>mu,CalendarSearch:()=>hu,CalendarSync:()=>gu,CalendarX:()=>vu,CalendarX2:()=>_u,Calendars:()=>bu,Camera:()=>xu,CameraOff:()=>Su,Candy:()=>Tu,CandyCane:()=>wu,CandyOff:()=>Cu,Cannabis:()=>Du,CannabisOff:()=>Eu,Captions:()=>ku,CaptionsOff:()=>Ou,Car:()=>Mu,CarFront:()=>Au,CarTaxiFront:()=>ju,Caravan:()=>Nu,CardSim:()=>Pu,Carrot:()=>Fu,CaseLower:()=>Iu,CaseSensitive:()=>Lu,CaseUpper:()=>Ru,CassetteTape:()=>zu,Cast:()=>Bu,Castle:()=>Vu,Cat:()=>Hu,Cctv:()=>Uu,CctvOff:()=>Gu,ChartArea:()=>Wu,ChartBar:()=>Yu,ChartBarBig:()=>Ku,ChartBarDecreasing:()=>qu,ChartBarIncreasing:()=>Ju,ChartBarStacked:()=>Xu,ChartCandlestick:()=>Zu,ChartColumn:()=>nd,ChartColumnBig:()=>Qu,ChartColumnDecreasing:()=>$u,ChartColumnIncreasing:()=>ed,ChartColumnStacked:()=>td,ChartGantt:()=>rd,ChartLine:()=>id,ChartNetwork:()=>ad,ChartNoAxesColumn:()=>cd,ChartNoAxesColumnDecreasing:()=>od,ChartNoAxesColumnIncreasing:()=>sd,ChartNoAxesCombined:()=>ld,ChartNoAxesGantt:()=>ud,ChartPie:()=>dd,ChartScatter:()=>fd,ChartSpline:()=>pd,Check:()=>gd,CheckCheck:()=>md,CheckLine:()=>hd,ChefHat:()=>_d,Cherry:()=>vd,ChessBishop:()=>yd,ChessKing:()=>bd,ChessKnight:()=>xd,ChessPawn:()=>Sd,ChessQueen:()=>Cd,ChessRook:()=>wd,ChevronDown:()=>Td,ChevronFirst:()=>Ed,ChevronLast:()=>Dd,ChevronLeft:()=>Od,ChevronRight:()=>kd,ChevronUp:()=>Ad,ChevronsDown:()=>Md,ChevronsDownUp:()=>jd,ChevronsLeft:()=>Fd,ChevronsLeftRight:()=>Nd,ChevronsLeftRightEllipsis:()=>Pd,ChevronsRight:()=>Ld,ChevronsRightLeft:()=>Id,ChevronsUp:()=>zd,ChevronsUpDown:()=>Rd,Church:()=>Bd,Cigarette:()=>Hd,CigaretteOff:()=>Vd,Circle:()=>Ff,CircleAlert:()=>Ud,CircleArrowDown:()=>Wd,CircleArrowLeft:()=>Gd,CircleArrowOutDownLeft:()=>Kd,CircleArrowOutDownRight:()=>qd,CircleArrowOutUpLeft:()=>Jd,CircleArrowOutUpRight:()=>Yd,CircleArrowRight:()=>Xd,CircleArrowUp:()=>Zd,CircleCheck:()=>$d,CircleCheckBig:()=>Qd,CircleChevronDown:()=>tf,CircleChevronLeft:()=>ef,CircleChevronRight:()=>nf,CircleChevronUp:()=>rf,CircleDashed:()=>af,CircleDivide:()=>of,CircleDollarSign:()=>sf,CircleDot:()=>lf,CircleDotDashed:()=>cf,CircleEllipsis:()=>uf,CircleEqual:()=>df,CircleFadingArrowUp:()=>ff,CircleFadingPlus:()=>pf,CircleGauge:()=>mf,CircleMinus:()=>hf,CircleOff:()=>gf,CircleParking:()=>vf,CircleParkingOff:()=>_f,CirclePause:()=>yf,CirclePercent:()=>xf,CirclePile:()=>bf,CirclePlay:()=>Sf,CirclePlus:()=>Cf,CirclePoundSterling:()=>wf,CirclePower:()=>Tf,CircleQuestionMark:()=>Ef,CircleSlash:()=>Of,CircleSlash2:()=>Df,CircleSmall:()=>kf,CircleStar:()=>Af,CircleStop:()=>jf,CircleUser:()=>Nf,CircleUserRound:()=>Mf,CircleX:()=>Pf,CircuitBoard:()=>If,Citrus:()=>Lf,Clapperboard:()=>Rf,Clipboard:()=>Xf,ClipboardCheck:()=>zf,ClipboardClock:()=>Bf,ClipboardCopy:()=>Vf,ClipboardList:()=>Hf,ClipboardMinus:()=>Uf,ClipboardPaste:()=>Wf,ClipboardPen:()=>Kf,ClipboardPenLine:()=>Gf,ClipboardPlus:()=>qf,ClipboardType:()=>Jf,ClipboardX:()=>Yf,Clock:()=>hp,Clock1:()=>Zf,Clock10:()=>Qf,Clock11:()=>$f,Clock12:()=>ep,Clock2:()=>tp,Clock3:()=>np,Clock4:()=>rp,Clock5:()=>ip,Clock6:()=>ap,Clock7:()=>op,Clock8:()=>sp,Clock9:()=>cp,ClockAlert:()=>lp,ClockArrowDown:()=>up,ClockArrowUp:()=>dp,ClockCheck:()=>fp,ClockFading:()=>pp,ClockPlus:()=>mp,ClosedCaption:()=>gp,Cloud:()=>Ip,CloudAlert:()=>_p,CloudBackup:()=>vp,CloudCheck:()=>yp,CloudCog:()=>bp,CloudDownload:()=>xp,CloudDrizzle:()=>Sp,CloudFog:()=>Cp,CloudHail:()=>wp,CloudLightning:()=>Tp,CloudMoon:()=>Dp,CloudMoonRain:()=>Ep,CloudOff:()=>Op,CloudRain:()=>Ap,CloudRainWind:()=>kp,CloudSnow:()=>jp,CloudSun:()=>Pp,CloudSunRain:()=>Mp,CloudSync:()=>Np,CloudUpload:()=>Fp,Cloudy:()=>Lp,Clover:()=>Rp,Club:()=>zp,Code:()=>Vp,CodeXml:()=>Bp,Coffee:()=>Hp,Cog:()=>Up,Coins:()=>bee,Columns2:()=>Wp,Columns3:()=>Kp,Columns3Cog:()=>Gp,Columns4:()=>qp,Combine:()=>Jp,Command:()=>Yp,Compass:()=>Xp,Component:()=>Zp,Computer:()=>Qp,ConciergeBell:()=>$p,Cone:()=>em,Construction:()=>tm,Contact:()=>rm,ContactRound:()=>nm,Container:()=>im,Contrast:()=>am,Cookie:()=>om,CookingPot:()=>sm,Copy:()=>mm,CopyCheck:()=>cm,CopyMinus:()=>lm,CopyPlus:()=>um,CopySlash:()=>fm,CopyX:()=>dm,Copyleft:()=>pm,Copyright:()=>hm,CornerDownLeft:()=>gm,CornerDownRight:()=>_m,CornerLeftDown:()=>vm,CornerLeftUp:()=>ym,CornerRightDown:()=>bm,CornerRightUp:()=>xm,CornerUpLeft:()=>Sm,CornerUpRight:()=>Cm,Cpu:()=>wm,CreativeCommons:()=>Tm,CreditCard:()=>Em,Croissant:()=>Dm,Crop:()=>Om,Cross:()=>km,Crosshair:()=>Am,Crown:()=>jm,Cuboid:()=>Mm,CupSoda:()=>Nm,Currency:()=>Pm,Cylinder:()=>Fm,Dam:()=>Im,Database:()=>Bm,DatabaseBackup:()=>Lm,DatabaseSearch:()=>Rm,DatabaseZap:()=>zm,DecimalsArrowLeft:()=>Vm,DecimalsArrowRight:()=>Hm,Delete:()=>Um,Dessert:()=>Wm,Diameter:()=>Gm,Diamond:()=>Ym,DiamondMinus:()=>Km,DiamondPercent:()=>qm,DiamondPlus:()=>Jm,Dice1:()=>Xm,Dice2:()=>Zm,Dice3:()=>Qm,Dice4:()=>$m,Dice5:()=>eh,Dice6:()=>th,Dices:()=>nh,Diff:()=>rh,Disc:()=>sh,Disc2:()=>ih,Disc3:()=>ah,DiscAlbum:()=>oh,Divide:()=>ch,Dna:()=>lh,DnaOff:()=>dh,Dock:()=>fh,Dog:()=>uh,DollarSign:()=>ph,Donut:()=>mh,DoorClosed:()=>gh,DoorClosedLocked:()=>hh,DoorOpen:()=>_h,Dot:()=>vh,Download:()=>yh,DraftingCompass:()=>bh,Drama:()=>xh,Drill:()=>Sh,Drone:()=>Ch,Droplet:()=>Th,DropletOff:()=>wh,Droplets:()=>Eh,Drum:()=>Dh,Drumstick:()=>Oh,Dumbbell:()=>kh,Ear:()=>jh,EarOff:()=>Ah,Earth:()=>Nh,EarthLock:()=>Mh,Eclipse:()=>Ph,Egg:()=>Ih,EggFried:()=>Fh,EggOff:()=>Lh,Ellipse:()=>Rh,Ellipsis:()=>Bh,EllipsisVertical:()=>zh,Equal:()=>Uh,EqualApproximately:()=>Vh,EqualNot:()=>Hh,Eraser:()=>Wh,EthernetPort:()=>Gh,Euro:()=>Kh,EvCharger:()=>qh,Expand:()=>Jh,ExternalLink:()=>Yh,Eye:()=>$h,EyeClosed:()=>Xh,EyeOff:()=>Zh,Factory:()=>Qh,Fan:()=>eg,FastForward:()=>tg,Feather:()=>ng,Fence:()=>rg,FerrisWheel:()=>ig,File:()=>a_,FileArchive:()=>ag,FileAxis3d:()=>og,FileBadge:()=>sg,FileBox:()=>lg,FileBraces:()=>ug,FileBracesCorner:()=>cg,FileChartColumn:()=>fg,FileChartColumnIncreasing:()=>dg,FileChartLine:()=>pg,FileChartPie:()=>mg,FileCheck:()=>gg,FileCheckCorner:()=>hg,FileClock:()=>_g,FileCode:()=>bg,FileCodeCorner:()=>vg,FileCog:()=>yg,FileDiff:()=>Sg,FileDigit:()=>xg,FileDown:()=>Cg,FileExclamationPoint:()=>wg,FileHeadphone:()=>Eg,FileHeart:()=>Tg,FileImage:()=>Dg,FileInput:()=>Og,FileKey:()=>Ag,FileLock:()=>kg,FileMinus:()=>Mg,FileMinusCorner:()=>jg,FileMusic:()=>Ng,FileOutput:()=>Pg,FilePen:()=>Ig,FilePenLine:()=>Fg,FilePlay:()=>Lg,FilePlus:()=>zg,FilePlusCorner:()=>Rg,FileQuestionMark:()=>Bg,FileScan:()=>Vg,FileSearch:()=>Ug,FileSearchCorner:()=>Hg,FileSignal:()=>Wg,FileSliders:()=>Gg,FileSpreadsheet:()=>Kg,FileStack:()=>qg,FileSymlink:()=>Jg,FileTerminal:()=>Yg,FileText:()=>Xg,FileType:()=>Qg,FileTypeCorner:()=>Zg,FileUp:()=>$g,FileUser:()=>e_,FileVideoCamera:()=>t_,FileVolume:()=>n_,FileX:()=>i_,FileXCorner:()=>r_,Files:()=>o_,Film:()=>c_,FingerprintPattern:()=>s_,FireExtinguisher:()=>l_,Fish:()=>f_,FishOff:()=>u_,FishSymbol:()=>d_,FishingHook:()=>p_,FishingRod:()=>m_,Flag:()=>v_,FlagOff:()=>h_,FlagTriangleLeft:()=>g_,FlagTriangleRight:()=>__,Flame:()=>x_,FlameKindling:()=>y_,Flashlight:()=>S_,FlashlightOff:()=>b_,FlaskConical:()=>w_,FlaskConicalOff:()=>C_,FlaskRound:()=>T_,FlipHorizontal2:()=>E_,FlipVertical2:()=>D_,Flower:()=>k_,Flower2:()=>O_,Focus:()=>A_,FoldHorizontal:()=>j_,FoldVertical:()=>M_,Folder:()=>sv,FolderArchive:()=>N_,FolderBookmark:()=>P_,FolderCheck:()=>F_,FolderClock:()=>I_,FolderClosed:()=>L_,FolderCode:()=>R_,FolderCog:()=>B_,FolderDot:()=>z_,FolderDown:()=>H_,FolderGit:()=>U_,FolderGit2:()=>V_,FolderHeart:()=>G_,FolderInput:()=>W_,FolderKanban:()=>q_,FolderKey:()=>K_,FolderLock:()=>J_,FolderMinus:()=>Y_,FolderOpen:()=>Z_,FolderOpenDot:()=>X_,FolderOutput:()=>$_,FolderPen:()=>Q_,FolderPlus:()=>tv,FolderRoot:()=>ev,FolderSearch:()=>rv,FolderSearch2:()=>nv,FolderSymlink:()=>iv,FolderSync:()=>ov,FolderTree:()=>av,FolderUp:()=>xee,FolderX:()=>See,Folders:()=>Cee,Footprints:()=>wee,Forklift:()=>Eee,Form:()=>Tee,Forward:()=>Dee,Frame:()=>Oee,Frown:()=>kee,Fuel:()=>Aee,Fullscreen:()=>jee,Funnel:()=>cv,FunnelPlus:()=>Mee,FunnelX:()=>Nee,GalleryHorizontal:()=>Fee,GalleryHorizontalEnd:()=>Pee,GalleryThumbnails:()=>Iee,GalleryVertical:()=>Ree,GalleryVerticalEnd:()=>Lee,Gamepad:()=>Vee,Gamepad2:()=>zee,GamepadDirectional:()=>Bee,Gauge:()=>lv,Gavel:()=>Hee,Gem:()=>Uee,GeorgianLari:()=>Wee,Ghost:()=>Gee,Gift:()=>Kee,GitBranch:()=>uv,GitBranchMinus:()=>qee,GitBranchPlus:()=>Jee,GitCommitHorizontal:()=>Yee,GitCommitVertical:()=>Xee,GitCompare:()=>Qee,GitCompareArrows:()=>Zee,GitFork:()=>$ee,GitGraph:()=>ete,GitMerge:()=>nte,GitMergeConflict:()=>tte,GitPullRequest:()=>cte,GitPullRequestArrow:()=>rte,GitPullRequestClosed:()=>ate,GitPullRequestCreate:()=>ote,GitPullRequestCreateArrow:()=>ite,GitPullRequestDraft:()=>ste,GlassWater:()=>ute,Glasses:()=>lte,Globe:()=>dv,GlobeCheck:()=>dte,GlobeLock:()=>fte,GlobeOff:()=>pte,GlobeX:()=>mte,Goal:()=>hte,Gpu:()=>_te,GraduationCap:()=>gte,Grape:()=>vte,Grid2x2:()=>Ste,Grid2x2Check:()=>yte,Grid2x2Plus:()=>bte,Grid2x2X:()=>xte,Grid3x2:()=>Cte,Grid3x3:()=>wte,Grip:()=>Ete,GripHorizontal:()=>Tte,GripVertical:()=>fv,Group:()=>Ote,Guitar:()=>Ate,Ham:()=>Dte,Hamburger:()=>kte,Hammer:()=>jte,Hand:()=>zte,HandCoins:()=>Mte,HandFist:()=>Nte,HandGrab:()=>Pte,HandHeart:()=>Fte,HandHelping:()=>Ite,HandMetal:()=>Lte,HandPlatter:()=>Rte,Handbag:()=>Bte,Handshake:()=>Hte,HardDrive:()=>Wte,HardDriveDownload:()=>Vte,HardDriveUpload:()=>Ute,HardHat:()=>Gte,Hash:()=>pv,HatGlasses:()=>Kte,Haze:()=>qte,Hd:()=>Jte,HdmiPort:()=>Yte,Heading:()=>$te,Heading1:()=>mv,Heading2:()=>hv,Heading3:()=>gv,Heading4:()=>Xte,Heading5:()=>Zte,Heading6:()=>Qte,HeadphoneOff:()=>ene,Headphones:()=>tne,Headset:()=>nne,Heart:()=>_v,HeartCrack:()=>rne,HeartHandshake:()=>ine,HeartMinus:()=>ane,HeartOff:()=>one,HeartPlus:()=>sne,HeartPulse:()=>lne,HeartX:()=>cne,Heater:()=>une,Helicopter:()=>fne,Hexagon:()=>vv,Highlighter:()=>dne,History:()=>yv,Hop:()=>mne,HopOff:()=>pne,Hospital:()=>hne,Hotel:()=>gne,Hourglass:()=>_ne,House:()=>Cne,HouseHeart:()=>vne,HousePlug:()=>yne,HousePlus:()=>bne,HouseWifi:()=>xne,IceCreamBowl:()=>Sne,IceCreamCone:()=>wne,IdCard:()=>Ene,IdCardLanyard:()=>Tne,Image:()=>Sv,ImageDown:()=>One,ImageMinus:()=>Dne,ImageOff:()=>bv,ImagePlay:()=>kne,ImagePlus:()=>xv,ImageUp:()=>Ane,ImageUpscale:()=>jne,Images:()=>Mne,Import:()=>Nne,Inbox:()=>Pne,IndianRupee:()=>Fne,Infinity:()=>Ine,Info:()=>Cv,InspectionPanel:()=>Lne,Italic:()=>wv,IterationCcw:()=>Rne,IterationCw:()=>zne,JapaneseYen:()=>Bne,Joystick:()=>Vne,Kanban:()=>Hne,Kayak:()=>Kne,Key:()=>Wne,KeyRound:()=>Tv,KeySquare:()=>Une,Keyboard:()=>Ev,KeyboardMusic:()=>Gne,KeyboardOff:()=>qne,Lamp:()=>$ne,LampCeiling:()=>Jne,LampDesk:()=>Yne,LampFloor:()=>Zne,LampWallDown:()=>Xne,LampWallUp:()=>Qne,LandPlot:()=>ere,Landmark:()=>tre,Languages:()=>nre,Laptop:()=>Dv,LaptopMinimal:()=>Ov,LaptopMinimalCheck:()=>rre,Lasso:()=>Av,LassoSelect:()=>kv,Laugh:()=>jv,Layers:()=>Fv,Layers2:()=>Mv,LayersMinus:()=>Pv,LayersPlus:()=>Nv,LayoutDashboard:()=>Iv,LayoutGrid:()=>Lv,LayoutList:()=>zv,LayoutPanelLeft:()=>Rv,LayoutPanelTop:()=>Bv,LayoutTemplate:()=>Vv,Leaf:()=>Hv,LeafyGreen:()=>Uv,Lectern:()=>Wv,LensConcave:()=>Gv,LensConvex:()=>Kv,Library:()=>qv,LibraryBig:()=>Yv,LifeBuoy:()=>Jv,Ligature:()=>Xv,Lightbulb:()=>Qv,LightbulbOff:()=>Zv,LineDotRightHorizontal:()=>ey,LineSquiggle:()=>$v,LineStyle:()=>ty,Link:()=>oy,Link2:()=>ry,Link2Off:()=>ny,List:()=>Ty,ListCheck:()=>iy,ListChecks:()=>ay,ListChevronsDownUp:()=>cy,ListChevronsUpDown:()=>sy,ListCollapse:()=>ly,ListEnd:()=>uy,ListFilter:()=>fy,ListFilterPlus:()=>dy,ListIndentDecrease:()=>py,ListIndentIncrease:()=>my,ListMinus:()=>hy,ListMusic:()=>gy,ListOrdered:()=>_y,ListPlus:()=>vy,ListRestart:()=>yy,ListStart:()=>by,ListTodo:()=>xy,ListTree:()=>Sy,ListVideo:()=>Cy,ListX:()=>wy,Loader:()=>Oy,LoaderCircle:()=>Ey,LoaderPinwheel:()=>Dy,Locate:()=>My,LocateFixed:()=>ky,LocateOff:()=>Ay,Lock:()=>Fy,LockKeyhole:()=>Ny,LockKeyholeOpen:()=>jy,LockOpen:()=>Py,LogIn:()=>Iy,LogOut:()=>Ly,Logs:()=>Ry,Lollipop:()=>zy,Luggage:()=>By,Magnet:()=>Vy,Mail:()=>Xy,MailCheck:()=>Hy,MailMinus:()=>Uy,MailOpen:()=>Wy,MailPlus:()=>Gy,MailQuestionMark:()=>Ky,MailSearch:()=>qy,MailWarning:()=>Jy,MailX:()=>Yy,Mailbox:()=>Zy,Mails:()=>$y,Map:()=>hb,MapMinus:()=>Qy,MapPin:()=>fb,MapPinCheck:()=>tb,MapPinCheckInside:()=>eb,MapPinHouse:()=>nb,MapPinMinus:()=>ib,MapPinMinusInside:()=>rb,MapPinOff:()=>ab,MapPinPen:()=>ob,MapPinPlus:()=>cb,MapPinPlusInside:()=>sb,MapPinSearch:()=>lb,MapPinX:()=>ub,MapPinXInside:()=>db,MapPinned:()=>pb,MapPlus:()=>mb,Mars:()=>_b,MarsStroke:()=>gb,Martini:()=>vb,Maximize:()=>bb,Maximize2:()=>yb,Medal:()=>xb,Megaphone:()=>Cb,MegaphoneOff:()=>Sb,Meh:()=>wb,MemoryStick:()=>Tb,Menu:()=>Eb,Merge:()=>Db,MessageCircle:()=>zb,MessageCircleCheck:()=>Ob,MessageCircleCode:()=>kb,MessageCircleDashed:()=>Ab,MessageCircleHeart:()=>jb,MessageCircleMore:()=>Mb,MessageCircleOff:()=>Nb,MessageCirclePlus:()=>Pb,MessageCircleQuestionMark:()=>Fb,MessageCircleReply:()=>Ib,MessageCircleWarning:()=>Lb,MessageCircleX:()=>Rb,MessageSquare:()=>nx,MessageSquareCheck:()=>Bb,MessageSquareCode:()=>Vb,MessageSquareDashed:()=>Hb,MessageSquareDiff:()=>Ub,MessageSquareDot:()=>Wb,MessageSquareHeart:()=>Gb,MessageSquareLock:()=>Kb,MessageSquareMore:()=>qb,MessageSquareOff:()=>Xb,MessageSquarePlus:()=>Jb,MessageSquareQuote:()=>Yb,MessageSquareReply:()=>Zb,MessageSquareShare:()=>Qb,MessageSquareText:()=>$b,MessageSquareWarning:()=>ex,MessageSquareX:()=>tx,MessagesSquare:()=>rx,Metronome:()=>ix,Mic:()=>sx,MicOff:()=>ax,MicVocal:()=>ox,Microchip:()=>cx,Microscope:()=>lx,Microwave:()=>dx,Milestone:()=>ux,Milk:()=>px,MilkOff:()=>fx,Minimize:()=>gx,Minimize2:()=>mx,Minus:()=>hx,MirrorRectangular:()=>_x,MirrorRound:()=>vx,Monitor:()=>Nx,MonitorCheck:()=>bx,MonitorCloud:()=>yx,MonitorCog:()=>xx,MonitorDot:()=>Sx,MonitorDown:()=>Cx,MonitorOff:()=>wx,MonitorPause:()=>Tx,MonitorPlay:()=>Ex,MonitorSmartphone:()=>Dx,MonitorSpeaker:()=>kx,MonitorStop:()=>Ox,MonitorUp:()=>Ax,MonitorX:()=>jx,Moon:()=>Px,MoonStar:()=>Mx,Motorbike:()=>Fx,Mountain:()=>Lx,MountainSnow:()=>Ix,Mouse:()=>Kx,MouseLeft:()=>Rx,MouseOff:()=>Vx,MousePointer:()=>Wx,MousePointer2:()=>Bx,MousePointer2Off:()=>zx,MousePointerBan:()=>Hx,MousePointerClick:()=>Ux,MouseRight:()=>Gx,Move:()=>oS,Move3d:()=>Jx,MoveDiagonal:()=>Yx,MoveDiagonal2:()=>qx,MoveDown:()=>Qx,MoveDownLeft:()=>Xx,MoveDownRight:()=>Zx,MoveHorizontal:()=>eS,MoveLeft:()=>$x,MoveRight:()=>tS,MoveUp:()=>iS,MoveUpLeft:()=>nS,MoveUpRight:()=>rS,MoveVertical:()=>aS,Music:()=>uS,Music2:()=>sS,Music3:()=>cS,Music4:()=>lS,Navigation:()=>mS,Navigation2:()=>dS,Navigation2Off:()=>pS,NavigationOff:()=>fS,Network:()=>hS,Newspaper:()=>gS,Nfc:()=>_S,NonBinary:()=>vS,Notebook:()=>SS,NotebookPen:()=>yS,NotebookTabs:()=>bS,NotebookText:()=>xS,NotepadText:()=>wS,NotepadTextDashed:()=>CS,Nut:()=>ES,NutOff:()=>TS,Octagon:()=>jS,OctagonAlert:()=>DS,OctagonMinus:()=>OS,OctagonPause:()=>kS,OctagonX:()=>AS,Omega:()=>MS,Option:()=>NS,Orbit:()=>PS,Origami:()=>IS,Package:()=>US,Package2:()=>FS,PackageCheck:()=>LS,PackageMinus:()=>RS,PackageOpen:()=>zS,PackagePlus:()=>BS,PackageSearch:()=>HS,PackageX:()=>VS,PaintBucket:()=>GS,PaintRoller:()=>KS,Paintbrush:()=>qS,PaintbrushVertical:()=>WS,Palette:()=>JS,Panda:()=>YS,PanelBottom:()=>$S,PanelBottomClose:()=>XS,PanelBottomDashed:()=>ZS,PanelBottomOpen:()=>QS,PanelLeft:()=>aC,PanelLeftClose:()=>eC,PanelLeftDashed:()=>tC,PanelLeftOpen:()=>nC,PanelLeftRightDashed:()=>rC,PanelRight:()=>cC,PanelRightClose:()=>iC,PanelRightDashed:()=>oC,PanelRightOpen:()=>sC,PanelTop:()=>pC,PanelTopBottomDashed:()=>uC,PanelTopClose:()=>lC,PanelTopDashed:()=>dC,PanelTopOpen:()=>fC,PanelsLeftBottom:()=>mC,PanelsRightBottom:()=>hC,PanelsTopLeft:()=>gC,Paperclip:()=>_C,Parasol:()=>vC,Parentheses:()=>bC,ParkingMeter:()=>yC,PartyPopper:()=>xC,Pause:()=>SC,PawPrint:()=>CC,PcCase:()=>wC,Pen:()=>OC,PenLine:()=>TC,PenOff:()=>DC,PenTool:()=>EC,Pencil:()=>NC,PencilLine:()=>kC,PencilOff:()=>AC,PencilRuler:()=>jC,Pentagon:()=>MC,Percent:()=>PC,PersonStanding:()=>FC,PhilippinePeso:()=>IC,Phone:()=>UC,PhoneCall:()=>LC,PhoneForwarded:()=>RC,PhoneIncoming:()=>zC,PhoneMissed:()=>BC,PhoneOff:()=>VC,PhoneOutgoing:()=>HC,Pi:()=>WC,Piano:()=>GC,Pickaxe:()=>KC,PictureInPicture:()=>JC,PictureInPicture2:()=>qC,PiggyBank:()=>YC,Pilcrow:()=>QC,PilcrowLeft:()=>XC,PilcrowRight:()=>ZC,Pill:()=>ew,PillBottle:()=>$C,Pin:()=>tw,PinOff:()=>rw,Pipette:()=>iw,Pizza:()=>nw,Plane:()=>sw,PlaneLanding:()=>aw,PlaneTakeoff:()=>ow,Play:()=>lw,Plug:()=>dw,Plug2:()=>uw,PlugZap:()=>cw,Plus:()=>fw,PocketKnife:()=>pw,Podcast:()=>mw,Pointer:()=>gw,PointerOff:()=>hw,Popcorn:()=>_w,Popsicle:()=>vw,PoundSterling:()=>yw,Power:()=>Sw,PowerOff:()=>bw,Presentation:()=>xw,Printer:()=>Ew,PrinterCheck:()=>Cw,PrinterX:()=>ww,Projector:()=>Tw,Proportions:()=>Dw,Puzzle:()=>Ow,Pyramid:()=>kw,QrCode:()=>Aw,Quote:()=>jw,Rabbit:()=>Mw,Radar:()=>Nw,Radiation:()=>Pw,Radical:()=>Fw,Radio:()=>zw,RadioOff:()=>Iw,RadioReceiver:()=>Lw,RadioTower:()=>Rw,Radius:()=>Bw,Rainbow:()=>Vw,Rat:()=>Hw,Ratio:()=>Uw,Receipt:()=>$w,ReceiptCent:()=>Gw,ReceiptEuro:()=>Ww,ReceiptIndianRupee:()=>Kw,ReceiptJapaneseYen:()=>qw,ReceiptPoundSterling:()=>Jw,ReceiptRussianRuble:()=>Yw,ReceiptSwissFranc:()=>Xw,ReceiptText:()=>Zw,ReceiptTurkishLira:()=>Qw,RectangleCircle:()=>eT,RectangleEllipsis:()=>tT,RectangleGoggles:()=>nT,RectangleHorizontal:()=>rT,RectangleVertical:()=>iT,Recycle:()=>aT,Redo:()=>cT,Redo2:()=>oT,RedoDot:()=>sT,RefreshCcw:()=>uT,RefreshCcwDot:()=>lT,RefreshCw:()=>fT,RefreshCwOff:()=>dT,Refrigerator:()=>hT,Regex:()=>pT,RemoveFormatting:()=>mT,Repeat:()=>yT,Repeat1:()=>gT,Repeat2:()=>_T,RepeatOff:()=>vT,Replace:()=>CT,ReplaceAll:()=>bT,Reply:()=>ST,ReplyAll:()=>xT,Rewind:()=>wT,Ribbon:()=>TT,Road:()=>ET,Rocket:()=>DT,RockingChair:()=>OT,RollerCoaster:()=>kT,Rose:()=>MT,Rotate3d:()=>AT,RotateCcw:()=>PT,RotateCcwKey:()=>jT,RotateCcwSquare:()=>NT,RotateCw:()=>LT,RotateCwSquare:()=>FT,Route:()=>zT,RouteOff:()=>IT,Router:()=>RT,Rows2:()=>BT,Rows3:()=>VT,Rows4:()=>HT,Rss:()=>UT,Ruler:()=>WT,RulerDimensionLine:()=>GT,RussianRuble:()=>KT,Sailboat:()=>qT,Salad:()=>YT,Sandwich:()=>JT,Satellite:()=>ZT,SatelliteDish:()=>XT,SaudiRiyal:()=>$T,Save:()=>tE,SaveAll:()=>QT,SaveOff:()=>eE,Scale:()=>nE,Scale3d:()=>rE,Scaling:()=>aE,Scan:()=>pE,ScanBarcode:()=>iE,ScanEye:()=>oE,ScanFace:()=>sE,ScanHeart:()=>cE,ScanLine:()=>lE,ScanQrCode:()=>dE,ScanSearch:()=>uE,ScanText:()=>fE,School:()=>hE,Scissors:()=>gE,ScissorsLineDashed:()=>mE,Scooter:()=>_E,ScreenShare:()=>yE,ScreenShareOff:()=>vE,Scroll:()=>xE,ScrollText:()=>bE,Search:()=>DE,SearchAlert:()=>SE,SearchCheck:()=>CE,SearchCode:()=>wE,SearchSlash:()=>TE,SearchX:()=>EE,Section:()=>OE,Send:()=>ME,SendHorizontal:()=>kE,SendToBack:()=>AE,SeparatorHorizontal:()=>jE,SeparatorVertical:()=>NE,Server:()=>LE,ServerCog:()=>FE,ServerCrash:()=>PE,ServerOff:()=>IE,Settings:()=>zE,Settings2:()=>RE,Shapes:()=>BE,Share:()=>UE,Share2:()=>VE,Sheet:()=>HE,Shell:()=>WE,ShelvingUnit:()=>GE,Shield:()=>iD,ShieldAlert:()=>KE,ShieldBan:()=>qE,ShieldCheck:()=>JE,ShieldCog:()=>ZE,ShieldCogCorner:()=>YE,ShieldEllipsis:()=>XE,ShieldHalf:()=>QE,ShieldMinus:()=>eD,ShieldOff:()=>$E,ShieldPlus:()=>tD,ShieldQuestionMark:()=>nD,ShieldUser:()=>rD,ShieldX:()=>oD,Ship:()=>sD,ShipWheel:()=>aD,Shirt:()=>cD,ShoppingBag:()=>lD,ShoppingBasket:()=>uD,ShoppingCart:()=>dD,Shovel:()=>fD,ShowerHead:()=>pD,Shredder:()=>mD,Shrimp:()=>hD,Shrink:()=>gD,Shrub:()=>vD,Shuffle:()=>_D,Sigma:()=>yD,Signal:()=>ED,SignalHigh:()=>xD,SignalLow:()=>bD,SignalMedium:()=>SD,SignalZero:()=>CD,Signature:()=>TD,Signpost:()=>OD,SignpostBig:()=>wD,Siren:()=>DD,SkipBack:()=>kD,SkipForward:()=>AD,Skull:()=>jD,Slash:()=>MD,Slice:()=>ND,SlidersHorizontal:()=>PD,SlidersVertical:()=>FD,Smartphone:()=>RD,SmartphoneCharging:()=>ID,SmartphoneNfc:()=>LD,Smile:()=>BD,SmilePlus:()=>zD,Snail:()=>VD,Snowflake:()=>HD,SoapDispenserDroplet:()=>WD,Sofa:()=>UD,SolarPanel:()=>GD,Soup:()=>KD,Space:()=>qD,Spade:()=>JD,Sparkle:()=>YD,Sparkles:()=>ZD,Speaker:()=>XD,Speech:()=>QD,SpellCheck:()=>eO,SpellCheck2:()=>$D,Spline:()=>rO,SplinePointer:()=>tO,Split:()=>nO,Spool:()=>iO,SportShoe:()=>aO,Spotlight:()=>oO,SprayCan:()=>sO,Sprout:()=>lO,Square:()=>wk,SquareActivity:()=>cO,SquareArrowDown:()=>fO,SquareArrowDownLeft:()=>uO,SquareArrowDownRight:()=>dO,SquareArrowLeft:()=>pO,SquareArrowOutDownLeft:()=>mO,SquareArrowOutDownRight:()=>hO,SquareArrowOutUpLeft:()=>gO,SquareArrowOutUpRight:()=>_O,SquareArrowRight:()=>xO,SquareArrowRightEnter:()=>vO,SquareArrowRightExit:()=>yO,SquareArrowUp:()=>wO,SquareArrowUpLeft:()=>bO,SquareArrowUpRight:()=>SO,SquareAsterisk:()=>CO,SquareBottomDashedScissors:()=>TO,SquareCenterlineDashedHorizontal:()=>EO,SquareCenterlineDashedVertical:()=>OO,SquareChartGantt:()=>DO,SquareCheck:()=>AO,SquareCheckBig:()=>kO,SquareChevronDown:()=>jO,SquareChevronLeft:()=>NO,SquareChevronRight:()=>MO,SquareChevronUp:()=>PO,SquareCode:()=>FO,SquareDashed:()=>WO,SquareDashedBottom:()=>LO,SquareDashedBottomCode:()=>IO,SquareDashedKanban:()=>RO,SquareDashedMousePointer:()=>zO,SquareDashedText:()=>BO,SquareDashedTopSolid:()=>VO,SquareDivide:()=>HO,SquareDot:()=>UO,SquareEqual:()=>GO,SquareFunction:()=>KO,SquareKanban:()=>qO,SquareLibrary:()=>JO,SquareM:()=>YO,SquareMenu:()=>XO,SquareMinus:()=>ZO,SquareMousePointer:()=>QO,SquareParking:()=>tk,SquareParkingOff:()=>$O,SquarePause:()=>ek,SquarePen:()=>nk,SquarePercent:()=>rk,SquarePi:()=>ik,SquarePilcrow:()=>ak,SquarePlay:()=>sk,SquarePlus:()=>ok,SquarePower:()=>ck,SquareRadical:()=>lk,SquareRoundCorner:()=>uk,SquareScissors:()=>dk,SquareSigma:()=>fk,SquareSlash:()=>pk,SquareSplitHorizontal:()=>mk,SquareSplitVertical:()=>hk,SquareSquare:()=>gk,SquareStack:()=>_k,SquareStar:()=>vk,SquareStop:()=>yk,SquareTerminal:()=>bk,SquareUser:()=>Ck,SquareUserRound:()=>xk,SquareX:()=>Sk,SquaresExclude:()=>Tk,SquaresIntersect:()=>Ek,SquaresSubtract:()=>Dk,SquaresUnite:()=>Ok,Squircle:()=>Ak,SquircleDashed:()=>kk,Squirrel:()=>jk,Stamp:()=>Nk,Star:()=>Fk,StarHalf:()=>Mk,StarOff:()=>Pk,StepBack:()=>Lk,StepForward:()=>Ik,Stethoscope:()=>Rk,Sticker:()=>zk,StickyNote:()=>Wk,StickyNoteCheck:()=>Bk,StickyNoteMinus:()=>Vk,StickyNoteOff:()=>Hk,StickyNotePlus:()=>Uk,StickyNoteX:()=>Gk,StickyNotes:()=>qk,Stone:()=>Kk,Store:()=>Jk,StretchHorizontal:()=>Yk,StretchVertical:()=>Xk,Strikethrough:()=>Zk,Subscript:()=>Qk,Sun:()=>rA,SunDim:()=>$k,SunMedium:()=>eA,SunMoon:()=>tA,SunSnow:()=>nA,Sunrise:()=>iA,Sunset:()=>aA,Superscript:()=>oA,SwatchBook:()=>sA,SwissFranc:()=>cA,SwitchCamera:()=>lA,Sword:()=>dA,Swords:()=>uA,Syringe:()=>fA,Table:()=>bA,Table2:()=>pA,TableCellsMerge:()=>mA,TableCellsSplit:()=>hA,TableColumnsSplit:()=>gA,TableOfContents:()=>_A,TableProperties:()=>vA,TableRowsSplit:()=>yA,Tablet:()=>SA,TabletSmartphone:()=>xA,Tablets:()=>CA,Tag:()=>wA,Tags:()=>TA,Tally1:()=>EA,Tally2:()=>DA,Tally3:()=>OA,Tally4:()=>kA,Tally5:()=>AA,Tangent:()=>jA,Target:()=>MA,Telescope:()=>NA,Tent:()=>FA,TentTree:()=>PA,Terminal:()=>IA,TestTube:()=>RA,TestTubeDiagonal:()=>LA,TestTubes:()=>BA,TextAlignCenter:()=>zA,TextAlignEnd:()=>VA,TextAlignJustify:()=>HA,TextAlignStart:()=>WA,TextCursor:()=>GA,TextCursorInput:()=>UA,TextInitial:()=>KA,TextQuote:()=>qA,TextSearch:()=>JA,TextWrap:()=>YA,Theater:()=>XA,Thermometer:()=>$A,ThermometerSnowflake:()=>ZA,ThermometerSun:()=>QA,ThumbsDown:()=>ej,ThumbsUp:()=>tj,Ticket:()=>cj,TicketCheck:()=>nj,TicketMinus:()=>rj,TicketPercent:()=>ij,TicketPlus:()=>aj,TicketSlash:()=>oj,TicketX:()=>sj,Tickets:()=>uj,TicketsPlane:()=>lj,Timeline:()=>dj,Timer:()=>mj,TimerOff:()=>fj,TimerReset:()=>pj,ToggleLeft:()=>hj,ToggleRight:()=>gj,Toilet:()=>_j,ToolCase:()=>vj,Toolbox:()=>yj,Tornado:()=>bj,Torus:()=>xj,Touchpad:()=>Cj,TouchpadOff:()=>Sj,TowelRack:()=>wj,TowerControl:()=>Tj,ToyBrick:()=>Ej,Tractor:()=>Dj,TrafficCone:()=>Oj,TrainFront:()=>Aj,TrainFrontTunnel:()=>kj,TrainTrack:()=>jj,TramFront:()=>Mj,Transgender:()=>Nj,Trash:()=>Fj,Trash2:()=>Pj,TreeDeciduous:()=>Ij,TreePalm:()=>Lj,TreePine:()=>Rj,Trees:()=>Bj,TrendingDown:()=>zj,TrendingUp:()=>Hj,TrendingUpDown:()=>Vj,Triangle:()=>Kj,TriangleAlert:()=>Uj,TriangleDashed:()=>Wj,TriangleRight:()=>Gj,Trophy:()=>qj,Truck:()=>Yj,TruckElectric:()=>Jj,TurkishLira:()=>Xj,Turntable:()=>Zj,Turtle:()=>Qj,Tv:()=>tM,TvMinimal:()=>eM,TvMinimalPlay:()=>$j,Type:()=>rM,TypeOutline:()=>nM,Umbrella:()=>aM,UmbrellaOff:()=>iM,Underline:()=>oM,Undo:()=>dM,Undo2:()=>sM,UndoDot:()=>cM,UnfoldHorizontal:()=>lM,UnfoldVertical:()=>uM,Ungroup:()=>fM,University:()=>pM,Unlink:()=>hM,Unlink2:()=>mM,Unplug:()=>gM,Upload:()=>_M,Usb:()=>vM,User:()=>zM,UserCheck:()=>yM,UserCog:()=>bM,UserKey:()=>SM,UserLock:()=>CM,UserMinus:()=>xM,UserPen:()=>wM,UserPlus:()=>EM,UserRound:()=>PM,UserRoundCheck:()=>TM,UserRoundCog:()=>OM,UserRoundKey:()=>DM,UserRoundMinus:()=>kM,UserRoundPen:()=>AM,UserRoundPlus:()=>NM,UserRoundSearch:()=>jM,UserRoundX:()=>MM,UserSearch:()=>FM,UserStar:()=>IM,UserX:()=>LM,Users:()=>BM,UsersRound:()=>RM,Utensils:()=>HM,UtensilsCrossed:()=>VM,UtilityPole:()=>UM,Van:()=>WM,Variable:()=>GM,Vault:()=>KM,VectorSquare:()=>qM,Vegan:()=>JM,VenetianMask:()=>YM,Venus:()=>ZM,VenusAndMars:()=>XM,Vibrate:()=>QM,VibrateOff:()=>$M,Video:()=>tN,VideoOff:()=>eN,Videotape:()=>rN,View:()=>nN,Voicemail:()=>aN,Volleyball:()=>iN,Volume:()=>uN,Volume1:()=>oN,Volume2:()=>sN,VolumeOff:()=>cN,VolumeX:()=>lN,Vote:()=>dN,Wallet:()=>mN,WalletCards:()=>fN,WalletMinimal:()=>pN,Wallpaper:()=>hN,Wand:()=>gN,WandSparkles:()=>_N,Warehouse:()=>vN,WashingMachine:()=>yN,Watch:()=>bN,WavesArrowDown:()=>xN,WavesArrowUp:()=>SN,WavesHorizontal:()=>CN,WavesLadder:()=>wN,WavesVertical:()=>TN,Waypoints:()=>EN,Webcam:()=>DN,Webhook:()=>kN,WebhookOff:()=>ON,Weight:()=>jN,WeightTilde:()=>AN,Wheat:()=>NN,WheatOff:()=>MN,WholeWord:()=>FN,Wifi:()=>BN,WifiCog:()=>PN,WifiHigh:()=>IN,WifiLow:()=>LN,WifiOff:()=>RN,WifiPen:()=>zN,WifiSync:()=>VN,WifiZero:()=>HN,Wind:()=>WN,WindArrowDown:()=>UN,Wine:()=>KN,WineOff:()=>GN,Workflow:()=>qN,Worm:()=>JN,Wrench:()=>YN,X:()=>ZN,XLineTop:()=>XN,Zap:()=>$N,ZapOff:()=>QN,ZodiacAquarius:()=>eP,ZodiacAries:()=>nP,ZodiacCancer:()=>tP,ZodiacCapricorn:()=>iP,ZodiacGemini:()=>rP,ZodiacLeo:()=>aP,ZodiacLibra:()=>sP,ZodiacOphiuchus:()=>oP,ZodiacPisces:()=>cP,ZodiacSagittarius:()=>lP,ZodiacScorpio:()=>uP,ZodiacTaurus:()=>dP,ZodiacVirgo:()=>fP,ZoomIn:()=>pP,ZoomOut:()=>mP}),gP=o(),Z=a(),Q=s(),_P=`M 61.000 50.000 L 61.159 50.548 L 61.629 51.145 L 62.381 51.837 L 63.374 52.660 L 64.550 53.645 L 65.843 54.806 L 67.178 56.146 L 68.478 57.654 L 69.667 59.302 L 70.676 61.051 L 71.443 62.853 L 71.921 64.647 L 72.075 66.372 L 71.888 67.963 L 71.359 69.359 L 70.506 70.506 L 69.359 71.359 L 67.963 71.888 L 66.372 72.075 L 64.647 71.921 L 62.853 71.443 L 61.051 70.676 L 59.302 69.667 L 57.654 68.478 L 56.146 67.178 L 54.806 65.843 L 53.645 64.550 L 52.660 63.374 L 51.837 62.381 L 51.145 61.629 L 50.548 61.159 L 50.000 61.000 L 49.452 61.159 L 48.855 61.629 L 48.163 62.381 L 47.340 63.374 L 46.355 64.550 L 45.194 65.843 L 43.854 67.178 L 42.346 68.478 L 40.698 69.667 L 38.949 70.676 L 37.147 71.443 L 35.353 71.921 L 33.628 72.075 L 32.037 71.888 L 30.641 71.359 L 29.494 70.506 L 28.641 69.359 L 28.112 67.963 L 27.925 66.372 L 28.079 64.647 L 28.557 62.853 L 29.324 61.051 L 30.333 59.302 L 31.522 57.654 L 32.822 56.146 L 34.157 54.806 L 35.450 53.645 L 36.626 52.660 L 37.619 51.837 L 38.371 51.145 L 38.841 50.548 L 39.000 50.000 L 38.841 49.452 L 38.371 48.855 L 37.619 48.163 L 36.626 47.340 L 35.450 46.355 L 34.157 45.194 L 32.822 43.854 L 31.522 42.346 L 30.333 40.698 L 29.324 38.949 L 28.557 37.147 L 28.079 35.353 L 27.925 33.628 L 28.112 32.037 L 28.641 30.641 L 29.494 29.494 L 30.641 28.641 L 32.037 28.112 L 33.628 27.925 L 35.353 28.079 L 37.147 28.557 L 38.949 29.324 L 40.698 30.333 L 42.346 31.522 L 43.854 32.822 L 45.194 34.157 L 46.355 35.450 L 47.340 36.626 L 48.163 37.619 L 48.855 38.371 L 49.452 38.841 L 50.000 39.000 L 50.548 38.841 L 51.145 38.371 L 51.837 37.619 L 52.660 36.626 L 53.645 35.450 L 54.806 34.157 L 56.146 32.822 L 57.654 31.522 L 59.302 30.333 L 61.051 29.324 L 62.853 28.557 L 64.647 28.079 L 66.372 27.925 L 67.963 28.112 L 69.359 28.641 L 70.506 29.494 L 71.359 30.641 L 71.888 32.037 L 72.075 33.628 L 71.921 35.353 L 71.443 37.147 L 70.676 38.949 L 69.667 40.698 L 68.478 42.346 L 67.178 43.854 L 65.843 45.194 L 64.550 46.355 L 63.374 47.340 L 62.381 48.163 L 61.629 48.855 L 61.159 49.452 L 61.000 50.000 Z`,vP=[`M 29.375 23.602 A 33.5 33.5 0 0 1 70.625 23.602`,`M 76.398 29.375 A 33.5 33.5 0 0 1 76.398 70.625`,`M 70.625 76.398 A 33.5 33.5 0 0 1 29.375 76.398`,`M 23.602 70.625 A 33.5 33.5 0 0 1 23.602 29.375`,`M 35.011 29.370 A 25.5 25.5 0 0 1 64.989 29.370`,`M 70.630 35.011 A 25.5 25.5 0 0 1 70.630 64.989`,`M 64.989 70.630 A 25.5 25.5 0 0 1 35.011 70.630`,`M 29.370 64.989 A 25.5 25.5 0 0 1 29.370 35.011`];function yP(e){let t=(0,Z.c)(8),{alt:n,className:r,"aria-hidden":i}=e,a=n?.trim()?n:void 0,o=i??(a?void 0:!0),s;t[0]===r?s=t[1]:(s=u(`shrink-0`,r),t[0]=r,t[1]=s);let c,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsx)(`g`,{className:`[stroke:var(--color-accent)]`,strokeWidth:3.2,strokeLinecap:`round`,children:vP.map(bP)}),l=(0,Q.jsx)(`path`,{className:`[fill:var(--color-fg)] [fill-opacity:0.82]`,d:_P}),t[2]=c,t[3]=l):(c=t[2],l=t[3]);let d;return t[4]!==o||t[5]!==a||t[6]!==s?(d=(0,Q.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 100 100`,className:s,fill:`none`,role:`img`,"aria-hidden":o,"aria-label":a,children:[c,l]}),t[4]=o,t[5]=a,t[6]=s,t[7]=d):d=t[7],d}function bP(e){return(0,Q.jsx)(`path`,{d:e},e)}var xP=Symbol.for(`react.lazy`),SP=Y.use;function CP(e){return typeof e==`object`&&!!e&&`then`in e}function wP(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===xP&&`_payload`in e&&CP(e._payload)}function TP(e){let t=DP(e),n=Y.forwardRef((e,n)=>{let{children:r,...i}=e;wP(r)&&typeof SP==`function`&&(r=SP(r._payload));let a=Y.Children.toArray(r),o=a.find(kP);if(o){let e=o.props.children,r=a.map(t=>t===o?Y.Children.count(e)>1?Y.Children.only(null):Y.isValidElement(e)?e.props.children:null:t);return(0,Q.jsx)(t,{...i,ref:n,children:Y.isValidElement(e)?Y.cloneElement(e,void 0,r):null})}return(0,Q.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var EP=TP(`Slot`);function DP(e){let t=Y.forwardRef((e,t)=>{let{children:n,...r}=e;if(wP(n)&&typeof SP==`function`&&(n=SP(n._payload)),Y.isValidElement(n)){let e=jP(n),i=AP(r,n.props);return n.type!==Y.Fragment&&(i.ref=t?f(t,e):e),Y.cloneElement(n,i)}return Y.Children.count(n)>1?Y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var OP=Symbol(`radix.slottable`);function kP(e){return Y.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===OP}function AP(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function jP(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var MP={primary:`bg-accent text-white shadow-surface hover:bg-accent-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,secondary:`bg-surface-panel text-fg border border-edge shadow-surface hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel dark:border-edge`,ghost:`text-fg-muted hover:bg-surface-hover hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`,segmented:``};function NP(e){let t=(0,Z.c)(16),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:n,variant:a,asChild:o,type:s,ref:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`secondary`:a,l=o===void 0?!1:o,d=s===void 0?`button`:s,f=l?EP:`button`,p=l?void 0:d,m=MP[c],h;t[7]!==n||t[8]!==m?(h=u(`inline-flex items-center justify-center gap-2 rounded-xl px-3 py-2 text-sm font-medium`,`transition-colors duration-150 ease-out transition-transform`,`active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100`,`disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,m,n),t[7]=n,t[8]=m,t[9]=h):h=t[9];let g;return t[10]!==f||t[11]!==r||t[12]!==i||t[13]!==p||t[14]!==h?(g=(0,Q.jsx)(f,{ref:i,type:p,className:h,...r}),t[10]=f,t[11]=r,t[12]=i,t[13]=p,t[14]=h,t[15]=g):g=t[15],g}var PP=`w-full max-w-md sm:max-w-lg`,FP=`ui-select`,IP=`focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:shadow-none focus-visible:border-edge data-[state=open]:border-edge`,LP=`focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:shadow-none focus-visible:border-edge`,RP=`focus:outline-none focus-visible:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-none focus:border-edge-strong focus-visible:border-edge-strong`,zP=`focus:outline-none focus-visible:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-none`,BP=`inline-flex w-fit max-w-full min-w-[10rem] max-w-lg justify-between`,$={transition:`transition-colors duration-150 ease-out`,press:`transition-transform duration-150 ease-out active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100`,pressCard:`transition-transform duration-150 ease-out active:scale-[0.98] motion-reduce:transition-none motion-reduce:active:scale-100`,focusRingPanel:`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`,focusRingBase:`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,disabled:`disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none`},VP=`rounded-lg p-2 text-fg-muted transition-colors transition-transform duration-150 ease-out hover:bg-surface-hover hover:text-fg active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`;function HP(e){return e===`***`||e===`••••••••••••`||/^•+$/.test(e)}function UP(e){return e>0?`•`.repeat(e):``}function WP(e){if(typeof document>`u`)return!1;try{let t=t=>{t.clipboardData&&(t.clipboardData.setData(`text/plain`,e),t.preventDefault())};document.addEventListener(`copy`,t);let n=document.execCommand(`copy`);if(document.removeEventListener(`copy`,t),n)return!0}catch{}try{let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`aria-hidden`,`true`),t.style.position=`fixed`,t.style.top=`0`,t.style.left=`0`,t.style.width=`1px`,t.style.height=`1px`,t.style.opacity=`0`,t.style.pointerEvents=`none`,document.body.appendChild(t),t.focus({preventScroll:!0}),t.select(),t.setSelectionRange(0,e.length);let n=document.execCommand(`copy`);return t.remove(),n}catch{return!1}}async function GP(e){if(!e)return!1;if(WP(e))return!0;if(typeof navigator<`u`&&window.isSecureContext&&navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{}try{let t=typeof window<`u`?window.electronAPI?.clipboard?.writeText:void 0;if(t&&await t(e))return!0}catch{}return!1}function KP(e){e&&(e.focus({preventScroll:!0}),e.select(),typeof e.setSelectionRange==`function`&&e.setSelectionRange(0,e.value.length))}async function qP(){try{let e=typeof window<`u`?window.electronAPI?.clipboard?.readText:void 0;if(e)return await e()}catch{}try{if(typeof navigator<`u`&&navigator.clipboard?.readText)return await navigator.clipboard.readText()}catch{return null}return null}var JP={showKey:!1,revealed:void 0,revealLoading:!1,revealErr:null,copied:!1};function YP(e,t){switch(t.type){case`reset-reveal`:return{...e,showKey:!1,revealed:void 0,revealErr:null};case`toggle-show`:return{...e,showKey:!e.showKey};case`reveal-start`:return{...e,revealLoading:!0,revealErr:null};case`reveal-success`:return{...e,revealed:t.value,revealLoading:!1,showKey:!0,revealErr:null};case`reveal-error`:return{...e,revealed:null,revealLoading:!1,revealErr:t.message};case`copied`:return{...e,copied:!0};case`clear-copied`:return{...e,copied:!1};case`invalidate-reveal`:return{...e,revealed:void 0,showKey:!1}}}function XP(e){let{value:t,reveal:n,loadFailedLabel:r=`Failed to load secret`,baselineValue:i}=e,[a,o]=(0,Y.useReducer)(YP,JP),s=HP(t),c=!!(i?.trim()&&t===i&&!s),l=(0,Y.useRef)(n);l.current=n;let u=(0,Y.useRef)({masked:s,value:t,unchangedConcealed:c});(!s&&!c&&(u.current.masked||u.current.unchangedConcealed)||u.current.value!==t&&!c)&&o({type:`reset-reveal`}),u.current={masked:s,value:t,unchangedConcealed:c};let d=c&&!a.showKey?UP(t.length):s&&a.showKey&&typeof a.revealed==`string`?a.revealed:t,f=c&&!a.showKey?`password`:c&&a.showKey?`text`:s?a.showKey&&typeof a.revealed==`string`?`text`:`password`:a.showKey?`text`:`password`,p=c&&!a.showKey,m=c&&t.trim()||!s&&t.trim()&&!HP(t)?t.trim():typeof a.revealed==`string`&&a.revealed.length>0?a.revealed:``,h=m.length>0,g=(0,Y.useCallback)(async()=>{m&&await GP(m)&&(o({type:`copied`}),window.setTimeout(()=>o({type:`clear-copied`}),2e3))},[m]),_=(0,Y.useCallback)(async()=>{if(c||!s){o({type:`toggle-show`});return}if(a.revealed!==void 0){o({type:`toggle-show`});return}if(!l.current){o({type:`toggle-show`});return}o({type:`reveal-start`});try{o({type:`reveal-success`,value:await l.current()})}catch(e){o({type:`reveal-error`,message:e instanceof Error?e.message:r})}},[r,s,c,a.revealed]),v=(0,Y.useCallback)((e,t)=>{p||(s&&typeof a.revealed==`string`&&a.showKey&&e!==a.revealed&&o({type:`invalidate-reveal`}),t(e))},[s,p,a.revealed,a.showKey]),y=a.revealLoading||!s&&!c&&!t.trim()||s&&!n&&a.revealed===void 0;return{masked:s,unchangedConcealed:c,showKey:a.showKey,revealed:a.revealed,revealLoading:a.revealLoading,revealErr:a.revealErr,copied:a.copied,inputValue:d,inputType:f,readOnly:p,copyEnabled:h,copySecret:g,toggleEye:_,onInputChange:v,eyeDisabled:y}}var ZP=u(`w-full rounded-lg border border-edge bg-surface-panel py-2 pl-3 pr-20 font-mono text-sm text-fg`,`placeholder:text-fg-subtle`,RP,`dark:border-edge`);function QP(e){let t=(0,Z.c)(66),{id:n,value:r,onChange:i,placeholder:a,disabled:o,readOnly:s,className:c,inputClassName:l,labels:d,reveal:f,loadFailedLabel:p,maskedHelp:m,notInConfigFile:h,baselineValue:g,autoComplete:_,onKeyDown:v,inputRef:y}=e,b=o===void 0?!1:o,x=s===void 0?!1:s,S=_===void 0?`off`:_,C;t[0]!==g||t[1]!==p||t[2]!==f||t[3]!==r?(C={value:r,reveal:f,loadFailedLabel:p,baselineValue:g},t[0]=g,t[1]=p,t[2]=f,t[3]=r,t[4]=C):C=t[4];let{masked:w,showKey:T,revealed:E,revealLoading:D,revealErr:O,copied:k,inputValue:A,inputType:j,readOnly:M,copyEnabled:N,copySecret:P,toggleEye:F,onInputChange:I,eyeDisabled:L}=XP(C),R=x||M,z;t[5]===c?z=t[6]:(z=u(`flex flex-col gap-1.5`,c),t[5]=c,t[6]=z);let B;t[7]!==w||t[8]!==m?(B=w&&m?(0,Q.jsx)(`p`,{className:`text-xs text-fg-subtle`,children:m}):null,t[7]=w,t[8]=m,t[9]=B):B=t[9];let V=w?void 0:a,H;t[10]!==i||t[11]!==I?(H=i?e=>I(e.target.value,i):void 0,t[10]=i,t[11]=I,t[12]=H):H=t[12];let U;t[13]===l?U=t[14]:(U=u(ZP,l),t[13]=l,t[14]=U);let W;t[15]!==S||t[16]!==b||t[17]!==n||t[18]!==y||t[19]!==j||t[20]!==A||t[21]!==v||t[22]!==R||t[23]!==V||t[24]!==H||t[25]!==U?(W=(0,Q.jsx)(`input`,{ref:y,id:n,type:j,autoComplete:S,spellCheck:!1,disabled:b,readOnly:R,value:A,placeholder:V,onChange:H,onKeyDown:v,className:U}),t[15]=S,t[16]=b,t[17]=n,t[18]=y,t[19]=j,t[20]=A,t[21]=v,t[22]=R,t[23]=V,t[24]=H,t[25]=U,t[26]=W):W=t[26];let G;t[27]!==k||t[28]!==N||t[29]!==P||t[30]!==b||t[31]!==d.copied||t[32]!==d.copy?(G=N?(0,Q.jsx)(`button`,{type:`button`,className:u(`rounded p-1.5 text-fg-subtle hover:bg-surface-hover hover:text-fg`,$.transition,$.press,$.focusRingPanel),title:k?d.copied:d.copy,"aria-label":k?d.copied:d.copy,disabled:b,onClick:()=>void P(),children:k?(0,Q.jsx)($d,{className:`size-3.5`}):(0,Q.jsx)(mm,{className:`size-3.5`})}):null,t[27]=k,t[28]=N,t[29]=P,t[30]=b,t[31]=d.copied,t[32]=d.copy,t[33]=G):G=t[33];let K;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(K=u(`rounded p-1.5 text-fg-subtle hover:bg-surface-hover hover:text-fg disabled:opacity-40`,$.transition,$.press,$.focusRingPanel),t[34]=K):K=t[34];let ee=T?d.hide:d.show,te=T?d.hide:d.show,ne=b||L,q;t[35]===F?q=t[36]:(q=()=>void F(),t[35]=F,t[36]=q);let re;t[37]!==D||t[38]!==T?(re=D?(0,Q.jsx)(Ey,{className:`size-3.5 animate-spin`,"aria-hidden":!0}):T?(0,Q.jsx)(Zh,{className:`size-3.5`,"aria-hidden":!0}):(0,Q.jsx)($h,{className:`size-3.5`,"aria-hidden":!0}),t[37]=D,t[38]=T,t[39]=re):re=t[39];let ie;t[40]!==ee||t[41]!==te||t[42]!==ne||t[43]!==q||t[44]!==re?(ie=(0,Q.jsx)(`button`,{type:`button`,className:K,title:ee,"aria-label":te,disabled:ne,onClick:q,children:re}),t[40]=ee,t[41]=te,t[42]=ne,t[43]=q,t[44]=re,t[45]=ie):ie=t[45];let ae;t[46]!==G||t[47]!==ie?(ae=(0,Q.jsxs)(`div`,{className:`absolute right-1 top-1/2 flex -translate-y-1/2 gap-0.5`,children:[G,ie]}),t[46]=G,t[47]=ie,t[48]=ae):ae=t[48];let J;t[49]!==W||t[50]!==ae?(J=(0,Q.jsxs)(`div`,{className:`relative min-w-0`,children:[W,ae]}),t[49]=W,t[50]=ae,t[51]=J):J=t[51];let oe;t[52]!==w||t[53]!==h||t[54]!==O||t[55]!==E||t[56]!==T?(oe=w&&T&&E===null&&!O&&h?(0,Q.jsx)(`p`,{className:`text-xs text-amber-700 dark:text-amber-400/90`,children:h}):null,t[52]=w,t[53]=h,t[54]=O,t[55]=E,t[56]=T,t[57]=oe):oe=t[57];let se;t[58]===O?se=t[59]:(se=O?(0,Q.jsx)(`p`,{className:`text-xs text-red-600 dark:text-red-400`,children:O}):null,t[58]=O,t[59]=se);let ce;return t[60]!==J||t[61]!==oe||t[62]!==se||t[63]!==z||t[64]!==B?(ce=(0,Q.jsxs)(`div`,{className:z,children:[B,J,oe,se]}),t[60]=J,t[61]=oe,t[62]=se,t[63]=z,t[64]=B,t[65]=ce):ce=t[65],ce}var $P={show:`Show`,hide:`Hide`,copy:`Copy`,copied:`Copied`};function eF(e){return{show:e.show,hide:e.hide,copy:e.copy,copied:e.copied}}function tF(e){return eF(e)}function nF(e){return{show:e.show,hide:e.hide,copy:`Copy`,copied:`Copied`}}function rF(e){let t=(0,Z.c)(25),{baseUrl:n,onSubmit:r,footerLeft:i,className:a,tokenInputRef:o}=e,s=v(iF),c=m(s).token,[l,d]=(0,Y.useState)(``),[f,p]=(0,Y.useState)(``),h;t[0]!==s||t[1]!==r||t[2]!==l?(h=function(){let e=l.trim();if(!e){p(s===`zh`?`请输入 Token`:`Please enter a token`);return}r(e),d(``),p(``)},t[0]=s,t[1]=r,t[2]=l,t[3]=h):h=t[3];let g=h,_;t[4]===a?_=t[5]:(_=u(`flex flex-col gap-3`,a),t[4]=a,t[5]=_);let y;t[6]===g?y=t[7]:(y=e=>{e.preventDefault(),g()},t[6]=g,t[7]=y);let b;t[8]===n?b=t[9]:(b=(0,Q.jsx)(`input`,{readOnly:!0,tabIndex:-1,className:`rounded-md border border-edge bg-surface-hover px-3 py-2 text-sm text-fg-muted`,value:n}),t[8]=n,t[9]=b);let x=QP,S;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>{d(e),p(``)},t[10]=S):S=t[10];let C=c.placeholder,w=nF(c),T;t[11]!==x||t[12]!==c.placeholder||t[13]!==S||t[14]!==w||t[15]!==o||t[16]!==l?(T=(0,Q.jsx)(x,{inputRef:o,value:l,onChange:S,placeholder:C,labels:w}),t[11]=x,t[12]=c.placeholder,t[13]=S,t[14]=w,t[15]=o,t[16]=l,t[17]=T):T=t[17];let E;t[18]===f?E=t[19]:(E=f?(0,Q.jsx)(`p`,{className:`text-xs text-danger`,children:f}):null,t[18]=f,t[19]=E);let D;t[20]===c.save?D=t[21]:(D=(0,Q.jsx)(NP,{type:`submit`,variant:`primary`,children:c.save}),t[20]=c.save,t[21]=D);let O;return t[22]!==i||t[23]!==D?(O=(0,Q.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[i,D]}),t[22]=i,t[23]=D,t[24]=O):O=t[24],(0,Q.jsxs)(`form`,{className:_,onSubmit:y,children:[(0,Q.jsxs)(`label`,{className:`flex flex-col gap-1.5`,children:[(0,Q.jsx)(`span`,{className:`text-xs font-medium text-fg-muted`,children:c.gatewayUrl}),b]}),(0,Q.jsxs)(`label`,{className:`flex flex-col gap-1.5`,children:[(0,Q.jsx)(`span`,{className:`text-xs font-medium text-fg-muted`,children:c.tokenLabel}),T,E]}),O]})}function iF(e){return e.language}var aF=[`compact`,`default`,`large`];function oF(e){document.documentElement.dataset.fontScale=e}function sF(){try{let e=localStorage.getItem(`xopc-web-font-scale`),t=`default`;if(e){let n=JSON.parse(e).state?.preference;n&&aF.includes(n)&&(t=n)}oF(t)}catch{oF(`default`)}}var cF=_(y(e=>({preference:`default`,setPreference:t=>{oF(t),e({preference:t})}}),{name:`xopc-web-font-scale`}));function lF(){oF(cF.getState().preference)}var uF=[`language`,`theme`,`font`];function dF(e){let t=(0,Z.c)(56),{variant:n,sections:r}=e,i=r===void 0?uF:r,a=v(_F),o=v(gF),s=b(hF),c=b(mF),l=cF(pF),d=cF(fF),f;t[0]===a?f=t[1]:(f=m(a),t[0]=a,t[1]=f);let p=f.appearanceSettings,h=n===`page`?`w-full max-w-[min(100%,12rem)] shrink-0 sm:ml-auto sm:w-auto sm:max-w-[11rem]`:n===`toolbar`?`w-auto min-w-[6.5rem] max-w-[10rem] shrink-0 sm:min-w-[7.5rem]`:`w-full`,g;t[2]===h?g=t[3]:(g=u(FP,h),t[2]=h,t[3]=g);let _=g,y=n===`page`?`flex flex-col gap-2 border-b border-edge-subtle py-3.5 last:border-b-0 sm:flex-row sm:items-center sm:justify-between sm:gap-6 sm:py-4`:`flex flex-col gap-1.5`,x;t[4]===i?x=t[5]:(x=e=>i.includes(e),t[4]=i,t[5]=x);let S=x;if(n===`toolbar`){let e;t[6]!==p||t[7]!==a||t[8]!==_||t[9]!==o||t[10]!==S?(e=S(`language`)?(0,Q.jsxs)(`select`,{className:_,value:a,"aria-label":p.languageTitle,onChange:e=>o(e.target.value),children:[(0,Q.jsx)(`option`,{value:`en`,children:p.langOptionEn}),(0,Q.jsx)(`option`,{value:`zh`,children:p.langOptionZh})]}):null,t[6]=p,t[7]=a,t[8]=_,t[9]=o,t[10]=S,t[11]=e):e=t[11];let n;t[12]!==p||t[13]!==_||t[14]!==c||t[15]!==S||t[16]!==s?(n=S(`theme`)?(0,Q.jsxs)(`select`,{className:_,value:s,"aria-label":p.themeTitle,onChange:e=>c(e.target.value),children:[(0,Q.jsx)(`option`,{value:`light`,children:p.themeOptionLight}),(0,Q.jsx)(`option`,{value:`dark`,children:p.themeOptionDark}),(0,Q.jsx)(`option`,{value:`system`,children:p.themeOptionSystem})]}):null,t[12]=p,t[13]=_,t[14]=c,t[15]=S,t[16]=s,t[17]=n):n=t[17];let r;t[18]!==p||t[19]!==l||t[20]!==_||t[21]!==d||t[22]!==S?(r=S(`font`)?(0,Q.jsxs)(`select`,{className:_,value:l,"aria-label":p.fontScaleTitle,onChange:e=>d(e.target.value),children:[(0,Q.jsx)(`option`,{value:`compact`,children:p.fontScaleCompact}),(0,Q.jsx)(`option`,{value:`default`,children:p.fontScaleDefault}),(0,Q.jsx)(`option`,{value:`large`,children:p.fontScaleLarge})]}):null,t[18]=p,t[19]=l,t[20]=_,t[21]=d,t[22]=S,t[23]=r):r=t[23];let i;return t[24]!==e||t[25]!==n||t[26]!==r?(i=(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:[e,n,r]}),t[24]=e,t[25]=n,t[26]=r,t[27]=i):i=t[27],i}let C=n===`sidebar`&&`flex flex-col gap-4`,w;t[28]===C?w=t[29]:(w=u(C),t[28]=C,t[29]=w);let T;t[30]!==p||t[31]!==a||t[32]!==y||t[33]!==_||t[34]!==o||t[35]!==S?(T=S(`language`)?(0,Q.jsxs)(`div`,{className:y,children:[(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`text-sm font-semibold text-fg`,children:p.languageTitle}),(0,Q.jsx)(`p`,{className:`mt-0.5 text-xs text-fg-muted`,children:p.languageDescription})]}),(0,Q.jsxs)(`select`,{className:_,value:a,"aria-label":p.languageTitle,onChange:e=>o(e.target.value),children:[(0,Q.jsx)(`option`,{value:`en`,children:p.langOptionEn}),(0,Q.jsx)(`option`,{value:`zh`,children:p.langOptionZh})]})]}):null,t[30]=p,t[31]=a,t[32]=y,t[33]=_,t[34]=o,t[35]=S,t[36]=T):T=t[36];let E;t[37]!==p||t[38]!==y||t[39]!==_||t[40]!==c||t[41]!==S||t[42]!==s?(E=S(`theme`)?(0,Q.jsxs)(`div`,{className:y,children:[(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`text-sm font-semibold text-fg`,children:p.themeTitle}),(0,Q.jsx)(`p`,{className:`mt-0.5 text-xs text-fg-muted`,children:p.themeDescription})]}),(0,Q.jsxs)(`select`,{className:_,value:s,"aria-label":p.themeTitle,onChange:e=>c(e.target.value),children:[(0,Q.jsx)(`option`,{value:`light`,children:p.themeOptionLight}),(0,Q.jsx)(`option`,{value:`dark`,children:p.themeOptionDark}),(0,Q.jsx)(`option`,{value:`system`,children:p.themeOptionSystem})]})]}):null,t[37]=p,t[38]=y,t[39]=_,t[40]=c,t[41]=S,t[42]=s,t[43]=E):E=t[43];let D;t[44]!==p||t[45]!==l||t[46]!==y||t[47]!==_||t[48]!==d||t[49]!==S?(D=S(`font`)?(0,Q.jsxs)(`div`,{className:y,children:[(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`text-sm font-semibold text-fg`,children:p.fontScaleTitle}),(0,Q.jsx)(`p`,{className:`mt-0.5 text-xs text-fg-muted`,children:p.fontScaleDescription})]}),(0,Q.jsxs)(`select`,{className:_,value:l,"aria-label":p.fontScaleTitle,onChange:e=>d(e.target.value),children:[(0,Q.jsx)(`option`,{value:`compact`,children:p.fontScaleCompact}),(0,Q.jsx)(`option`,{value:`default`,children:p.fontScaleDefault}),(0,Q.jsx)(`option`,{value:`large`,children:p.fontScaleLarge})]})]}):null,t[44]=p,t[45]=l,t[46]=y,t[47]=_,t[48]=d,t[49]=S,t[50]=D):D=t[50];let O;return t[51]!==D||t[52]!==w||t[53]!==T||t[54]!==E?(O=(0,Q.jsxs)(`div`,{className:w,children:[T,E,D]}),t[51]=D,t[52]=w,t[53]=T,t[54]=E,t[55]=O):O=t[55],O}function fF(e){return e.setPreference}function pF(e){return e.preference}function mF(e){return e.setPreference}function hF(e){return e.preference}function gF(e){return e.setLanguage}function _F(e){return e.language}var vF={settingsOverview:`overview`,settingsAppearance:`appearance`,settingsKeyboardShortcuts:`keyboard-shortcuts`,settingsSystem:`system`,settingsAppManagement:`app-management`,settingsAgentDefaults:`agent-defaults`,settingsAgentBrowser:`agent-browser`,settingsConnectors:`connectors`,settingsAgents:`agents`,settingsCredentials:`credentials`,settingsProviders:`credentials`,settingsModels:`credentials`,settingsImageModels:`credentials`,settingsChannels:`channels`,settingsVoice:`credentials`,settingsGateway:`gateway`,settingsHeartbeat:`heartbeat`,settingsTunnel:`remote-access`,settingsShares:`shares`,settingsSearch:`credentials`,settingsDreams:`dreams`,settingsGoals:`goals`,skills:`skills`,goals:`goals`,channels:`channels`};function yF(e){return vF[e]??null}var bF=new Set([`settingsSystem`,`settingsAppManagement`]),xF={id:`system`,tabs:[`settingsSystem`,`settingsAppManagement`]},SF=[{id:`general`,tabs:[`settingsOverview`,`settingsAppearance`,`settingsKeyboardShortcuts`]},{id:`credentials`,tabs:[`settingsCredentials`]},{id:`agent`,tabs:[`settingsAgentDefaults`,`settingsAgentBrowser`,`settingsConnectors`]},{id:`connection`,tabs:[`settingsGateway`,`settingsTunnel`,`settingsShares`]},{id:`automation`,tabs:[`settingsHeartbeat`,`settingsGoals`,`settingsDreams`]},{id:`diagnostics`,tabs:[`sessions`,`logs`]}],CF=`https://xopcai.github.io/xopc`;function wF(e){return e===`zh`?`${CF}/zh/`:`${CF}/`}function TF(e,t){let n=t.replace(/^\/+/,``).replace(/\.md$/,``);return e===`zh`?`${CF}/zh/${n}`:`${CF}/${n}`}function EF(e,t){let n=TF(e,`remote-access`);return t?`${n}#${t}`:n}function DF(e){return`${TF(e,`tools`)}#browser-optional`}function OF(e){if(e===`chat`)return`/chat`;if(e===`agents`||e===`settingsAgents`)return`/agents`;if(e===`cron`)return`/cron`;if(e===`goals`)return`/goals`;if(e===`settingsGoals`)return`/settings/goals`;if(e===`settingsKeyboardShortcuts`)return`/settings/keyboard-shortcuts`;if(e===`skills`)return`/skills`;if(e===`channels`||e===`settingsChannels`)return`/channels`;if(e===`settingsAgentDefaults`||e===`settingsAgentChat`)return`/settings/agent-defaults`;if(e===`settingsAgentGeneration`)return`/settings/agent-defaults?tab=generation`;if(e===`settingsAgentWorkspace`)return`/settings/agent-defaults?tab=workspace`;if(e===`settingsAgentBrowser`)return`/settings/agent-browser`;if(e===`settingsConnectors`)return`/settings/connectors`;if(e===`settingsAgentRuntime`)return`/settings/agent-defaults?tab=runtime`;if(e===`settingsAgentContext`)return`/settings/agent-defaults?tab=context`;if(e===`settingsAgentMemory`)return`/settings/agent-defaults?tab=memory`;if(e===`settingsAgentTools`)return`/settings/agent-defaults?tab=tools`;if(e===`settingsAgentSkills`)return`/settings/agent-defaults?tab=skills`;if(e===`settingsAgentSystemPrompt`)return`/settings/agent-defaults?tab=system-prompt`;if(e===`settingsProviders`)return`/settings/credentials?tab=providers`;if(e===`settingsModels`)return`/settings/credentials?tab=catalog`;if(e===`settingsImageModels`)return`/settings/credentials?tab=image-models`;if(e===`settingsVoice`)return`/settings/credentials?tab=voice`;if(e===`settingsSearch`)return`/settings/credentials?tab=search`;let t=yF(e);return t?`/settings/${t}`:e===`sessions`||e===`logs`?`/settings/${e}`:`/${e}`}function kF(){let e=(0,Z.c)(55),t=w(NF),n=w(MF),r=w(jF),i=v(AF),a;e[0]===i?a=e[1]:(a=m(i),e[0]=i,e[1]=a);let o=a,s=o.gatewayLanding,c=o.appearanceSettings.pageTitle,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(dF,{variant:`toolbar`,sections:[`language`,`theme`]}),e[2]=l):l=e[2];let u;e[3]===c?u=e[4]:(u=(0,Q.jsx)(`div`,{className:`absolute top-3 right-3 z-10 sm:top-4 sm:right-4`,role:`group`,"aria-label":c,children:l}),e[3]=c,e[4]=u);let d;e[5]===o.appBrand?d=e[6]:(d=(0,Q.jsx)(yP,{className:`size-14 shrink-0`,alt:o.appBrand}),e[5]=o.appBrand,e[6]=d);let f;e[7]===s.headline?f=e[8]:(f=(0,Q.jsx)(`h1`,{className:`text-lg font-semibold tracking-tight text-fg sm:text-xl`,children:s.headline}),e[7]=s.headline,e[8]=f);let p;e[9]===s.subline?p=e[10]:(p=(0,Q.jsx)(`p`,{className:`max-w-md text-sm leading-relaxed text-fg-muted`,children:s.subline}),e[9]=s.subline,e[10]=p);let h;e[11]!==d||e[12]!==f||e[13]!==p?(h=(0,Q.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,children:[d,f,p]}),e[11]=d,e[12]=f,e[13]=p,e[14]=h):h=e[14];let g;e[15]!==s.sessionExpired||e[16]!==n?(g=n?(0,Q.jsx)(`div`,{className:`mt-5 rounded-lg border border-danger/30 bg-danger/10 px-3 py-2.5 text-sm text-fg`,role:`status`,children:s.sessionExpired}):null,e[15]=s.sessionExpired,e[16]=n,e[17]=g):g=e[17];let _;e[18]===s.stepOnboard?_=e[19]:(_=(0,Q.jsx)(`li`,{children:s.stepOnboard}),e[18]=s.stepOnboard,e[19]=_);let y;e[20]===s.stepPaste?y=e[21]:(y=(0,Q.jsx)(`li`,{children:s.stepPaste}),e[20]=s.stepPaste,e[21]=y);let b;e[22]===s.stepUrlHint?b=e[23]:(b=(0,Q.jsx)(`li`,{children:s.stepUrlHint}),e[22]=s.stepUrlHint,e[23]=b);let x;e[24]!==b||e[25]!==_||e[26]!==y?(x=(0,Q.jsxs)(`ol`,{className:`mt-6 list-decimal space-y-2 pl-5 text-sm leading-relaxed text-fg-muted`,children:[_,y,b]}),e[24]=b,e[25]=_,e[26]=y,e[27]=x):x=e[27];let S;e[28]!==t||e[29]!==r?(S=(0,Q.jsx)(rF,{baseUrl:t,onSubmit:r,className:`mt-6 border-t border-edge-subtle pt-6`}),e[28]=t,e[29]=r,e[30]=S):S=e[30];let C;e[31]===i?C=e[32]:(C=wF(i),e[31]=i,e[32]=C);let T;e[33]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,Q.jsx)(Yh,{className:`size-3.5 opacity-80`,"aria-hidden":!0}),e[33]=T):T=e[33];let E;e[34]!==o.sidebar.helpDocs||e[35]!==C?(E=(0,Q.jsxs)(`a`,{href:C,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-1 text-accent hover:underline`,children:[o.sidebar.helpDocs,T]}),e[34]=o.sidebar.helpDocs,e[35]=C,e[36]=E):E=e[36];let D;e[37]===i?D=e[38]:(D=TF(i,`gateway`),e[37]=i,e[38]=D);let O;e[39]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Q.jsx)(Yh,{className:`size-3.5 opacity-80`,"aria-hidden":!0}),e[39]=O):O=e[39];let k;e[40]!==s.docsGatewayLink||e[41]!==D?(k=(0,Q.jsxs)(`a`,{href:D,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-1 text-accent hover:underline`,children:[s.docsGatewayLink,O]}),e[40]=s.docsGatewayLink,e[41]=D,e[42]=k):k=e[42];let A;e[43]!==E||e[44]!==k?(A=(0,Q.jsxs)(`div`,{className:`mt-6 flex flex-wrap items-center justify-center gap-x-4 gap-y-2 text-sm`,children:[E,k]}),e[43]=E,e[44]=k,e[45]=A):A=e[45];let j;e[46]!==x||e[47]!==S||e[48]!==A||e[49]!==h||e[50]!==g?(j=(0,Q.jsx)(`div`,{className:`flex flex-1 flex-col items-center justify-center px-4 py-10 sm:px-6`,children:(0,Q.jsxs)(`div`,{className:`w-full max-w-lg rounded-xl border border-edge bg-surface-panel p-6 shadow-popover sm:p-8`,children:[h,g,x,S,A]})}),e[46]=x,e[47]=S,e[48]=A,e[49]=h,e[50]=g,e[51]=j):j=e[51];let M;return e[52]!==u||e[53]!==j?(M=(0,Q.jsxs)(`div`,{className:`relative flex min-h-full flex-1 flex-col bg-surface-base`,children:[u,j]}),e[52]=u,e[53]=j,e[54]=M):M=e[54],M}function AF(e){return e.language}function jF(e){return e.setGatewayToken}function MF(e){return e.tokenExpired}function NF(e){return e.baseUrl}var PF=`--toast-top-inset`,FF=8,IF=`0.75rem`;function LF(e){let t=(0,Z.c)(4),{children:n}=e,r=(0,Y.useRef)(null),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=()=>{let e=r.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect().height;t>0?document.documentElement.style.setProperty(PF,`${Math.ceil(t+FF)}px`):document.documentElement.style.removeProperty(PF)};t();let n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect(),document.documentElement.style.removeProperty(PF)}},a=[],t[0]=i,t[1]=a):(i=t[0],a=t[1]),(0,Y.useEffect)(i,a);let o;return t[2]===n?o=t[3]:(o=(0,Q.jsx)(`div`,{ref:r,className:`shrink-0`,children:n}),t[2]=n,t[3]=o),o}var RF={success:{Icon:$d,stripe:`border-l-success`,icon:`text-success`},error:{Icon:Ud,stripe:`border-l-danger`,icon:`text-danger`},warning:{Icon:Uj,stripe:`border-l-warning`,icon:`text-warning`},info:{Icon:Cv,stripe:`border-l-accent`,icon:`text-accent-fg`}};function zF(e){if(!e||typeof e.title!=`string`)return null;let t=e.title.trim();return t?{type:e.type??`info`,title:t,message:typeof e.message==`string`?e.message:void 0,duration:e.duration}:null}function BF(e){let t=(0,Z.c)(26),{toast:n,dismissLabel:r,onDismiss:i}=e,{Icon:a,stripe:o,icon:s}=RF[n.type??`info`],c;t[0]===o?c=t[1]:(c=u(`toast-enter pointer-events-auto flex w-full max-w-md items-start gap-3 rounded-xl border border-edge border-l-[3px] bg-surface-panel px-3.5 py-3 text-sm shadow-popover`,o),t[0]=o,t[1]=c);let l;t[2]===s?l=t[3]:(l=u(`mt-0.5 size-4 shrink-0`,s),t[2]=s,t[3]=l);let d;t[4]!==a||t[5]!==l?(d=(0,Q.jsx)(a,{className:l,"aria-hidden":!0}),t[4]=a,t[5]=l,t[6]=d):d=t[6];let f;t[7]===n.title?f=t[8]:(f=(0,Q.jsx)(`div`,{className:`font-medium text-fg`,children:n.title}),t[7]=n.title,t[8]=f);let p;t[9]===n.message?p=t[10]:(p=n.message?(0,Q.jsx)(`div`,{className:`mt-0.5 text-fg-muted`,children:n.message}):null,t[9]=n.message,t[10]=p);let m;t[11]!==f||t[12]!==p?(m=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[f,p]}),t[11]=f,t[12]=p,t[13]=m):m=t[13];let h;t[14]!==i||t[15]!==n.id?(h=()=>i(n.id),t[14]=i,t[15]=n.id,t[16]=h):h=t[16];let g;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Q.jsx)(ZN,{className:`size-4`,"aria-hidden":!0}),t[17]=g):g=t[17];let _;t[18]!==r||t[19]!==h?(_=(0,Q.jsx)(`button`,{type:`button`,className:`shrink-0 rounded-md p-1 text-fg-subtle transition-colors hover:bg-surface-hover hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,"aria-label":r,onClick:h,children:g}),t[18]=r,t[19]=h,t[20]=_):_=t[20];let v;return t[21]!==c||t[22]!==d||t[23]!==m||t[24]!==_?(v=(0,Q.jsxs)(`div`,{className:c,role:`status`,"aria-live":`polite`,children:[d,m,_]}),t[21]=c,t[22]=d,t[23]=m,t[24]=_,t[25]=v):v=t[25],v}function VF(){let e=(0,Z.c)(16),t=v(UF)===`zh`?`关闭`:`Dismiss`,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=[],e[0]=n):n=e[0];let[r,i]=(0,Y.useState)(n),a=(0,Y.useRef)(0),o;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=new Map,e[1]=o):o=e[1];let s=(0,Y.useRef)(o),c;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>{let t=s.current.get(e);t!=null&&(window.clearTimeout(t),s.current.delete(e))},e[2]=c):c=e[2];let l=c,u;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(u=e=>{l(e),i(t=>t.filter(t=>t.id!==e))},e[3]=u):u=e[3];let d=u,f;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(f=(e,t)=>{l(e);let n=window.setTimeout(()=>d(e),t);s.current.set(e,n)},e[4]=f):f=e[4];let p=f,m;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(m=e=>{for(let[t,n]of s.current)e.has(t)||(window.clearTimeout(n),s.current.delete(t))},e[5]=m):m=e[5];let h=m,g,_;if(e[6]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>{let e=e=>{let t=zF(e.detail);if(!t)return;let n=a.current+=1;i(e=>{let r=[{...t,id:n},...e].slice(0,3);return h(new Set(r.map(HF))),r});let r=t.duration===0?0:t.duration??5e3;r>0&&p(n,r)};return window.addEventListener(A,e),()=>{window.removeEventListener(A,e);for(let e of s.current.values())window.clearTimeout(e);s.current.clear()}},_=[h,p],e[6]=g,e[7]=_):(g=e[6],_=e[7]),(0,Y.useEffect)(g,_),r.length===0)return null;let y;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(y={top:`max(var(--toast-top-inset, ${IF}), env(safe-area-inset-top, 0px))`},e[8]=y):y=e[8];let b;if(e[9]!==t||e[10]!==r){let n;e[12]===t?n=e[13]:(n=e=>(0,Q.jsx)(BF,{toast:e,dismissLabel:t,onDismiss:d},e.id),e[12]=t,e[13]=n),b=r.map(n),e[9]=t,e[10]=r,e[11]=b}else b=e[11];let x;return e[14]===b?x=e[15]:(x=(0,Q.jsx)(`div`,{className:`pointer-events-none fixed inset-x-0 z-[100] flex justify-center px-4`,style:y,children:(0,Q.jsx)(`div`,{className:`flex w-full max-w-md flex-col gap-2`,children:b})}),e[14]=b,e[15]=x),x}function HF(e){return e.id}function UF(e){return e.language}var WF=`[-webkit-app-region:drag]`,GF=`[-webkit-app-region:no-drag]`,KF=`h-14 shrink-0 items-center ${WF}`,qF=(0,Y.memo)(function(e){let t=(0,Z.c)(8),{className:n}=e,r=v(JF),i;t[0]===r?i=t[1]:(i=m(r),t[0]=r,t[1]=i);let a=i,o;t[2]===n?o=t[3]:(o=u(`size-8 shrink-0 rounded-xl p-0`,GF,n),t[2]=n,t[3]=o);let s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(DE,{className:`size-4`,strokeWidth:1.5,"aria-hidden":!0}),t[4]=s):s=t[4];let c;return t[5]!==a.titleBarCommandPalette||t[6]!==o?(c=(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:o,title:a.titleBarCommandPalette,"aria-label":a.titleBarCommandPalette,onClick:YF,children:s}),t[5]=a.titleBarCommandPalette,t[6]=o,t[7]=c):c=t[7],c});function JF(e){return e.language}function YF(){return window.dispatchEvent(new CustomEvent(`open-command-palette`))}var XF=(0,Y.memo)(function(e){let t=(0,Z.c)(8),{className:n}=e,r=v(ZF),i;t[0]===r?i=t[1]:(i=m(r),t[0]=r,t[1]=i);let a=i.notes,o;t[2]===n?o=t[3]:(o=u(`size-8 shrink-0 rounded-xl p-0`,GF,n),t[2]=n,t[3]=o);let s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(Wk,{className:`size-4`,strokeWidth:1.5,"aria-hidden":!0}),t[4]=s):s=t[4];let c;return t[5]!==a.quickCapturePlaceholder||t[6]!==o?(c=(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:o,title:a.quickCapturePlaceholder,"aria-label":a.quickCapturePlaceholder,onClick:QF,children:s}),t[5]=a.quickCapturePlaceholder,t[6]=o,t[7]=c):c=t[7],c});function ZF(e){return e.language}function QF(){return window.dispatchEvent(new CustomEvent(`open-quick-capture`))}var $F=`xopc-web-sidebar-collapsed`,eI=`xopc-web-sidebar-expanded-width-px`;function tI(){try{return globalThis.localStorage?.getItem($F)===`1`}catch{return!1}}function nI(e){try{globalThis.localStorage?.setItem($F,e?`1`:`0`)}catch{}}function rI(e){return Math.min(480,Math.max(248,Math.round(e)))}function iI(){try{let e=globalThis.localStorage?.getItem(eI);if(e==null)return rI(256);let t=Number.parseInt(e,10);return rI(Number.isFinite(t)?t:256)}catch{return rI(256)}}function aI(e){try{globalThis.localStorage?.setItem(eI,String(e))}catch{}}var oI=_((e,t)=>({collapsed:tI(),setCollapsed:t=>{e({collapsed:t}),queueMicrotask(()=>nI(t))},toggleCollapsed:()=>{t().setCollapsed(!t().collapsed)},expandedWidthPx:iI(),setExpandedWidthPx:t=>{let n=rI(t);e({expandedWidthPx:n}),queueMicrotask(()=>aI(n))}})),sI=(0,Y.memo)(function(e){let t=(0,Z.c)(15),{variant:n,className:r}=e,i=n===void 0?`sidebar`:n,a=v(cI),o;t[0]===a?o=t[1]:(o=m(a),t[0]=a,t[1]=o);let s=o,c=oI(lI),l=oI(uI),d=i===`sidebar`?`hidden md:inline-flex`:`inline-flex`,f;t[2]!==r||t[3]!==d?(f=u(`size-8 shrink-0 rounded-xl p-0`,d,GF,r),t[2]=r,t[3]=d,t[4]=f):f=t[4];let p=!c,h=c?s.sidebarExpand:s.sidebarCollapse,g;t[5]===l?g=t[6]:(g=()=>l(),t[5]=l,t[6]=g);let _;t[7]===c?_=t[8]:(_=c?(0,Q.jsx)(cC,{className:`size-4`,strokeWidth:1.5,"aria-hidden":!0}):(0,Q.jsx)(aC,{className:`size-4`,strokeWidth:1.5,"aria-hidden":!0}),t[7]=c,t[8]=_);let y;return t[9]!==f||t[10]!==p||t[11]!==h||t[12]!==g||t[13]!==_?(y=(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:f,"aria-expanded":p,"aria-controls":`app-sidebar`,"aria-label":h,onClick:g,children:_}),t[9]=f,t[10]=p,t[11]=h,t[12]=g,t[13]=_,t[14]=y):y=t[14],y});function cI(e){return e.language}function lI(e){return e.collapsed}function uI(e){return e.toggleCollapsed}function dI(){return typeof window<`u`&&!!window.electronAPI}function fI(){return typeof window<`u`&&typeof window.electronAPI?.cron?.setDisplaySleepPrevented==`function`}var pI=`pl-[88px]`;function mI(){return dI()&&window.electronAPI?.platform===`darwin`}function hI(){return mI()?pI:``}function gI(e){return mI()&&e?`md:pl-[200px]`:``}var _I=(0,Y.memo)(function(){let e=(0,Z.c)(11),t=v(vI),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n,{pathname:i}=wr(),a=oI(yI);if(!mI()||!a||i.startsWith(`/settings`))return null;let o,s,c,l,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=u(`pointer-events-none fixed left-[88px] top-0 z-[70] hidden h-14 items-center md:flex`),s=u(`pointer-events-auto flex items-center gap-0.5`,GF),c=(0,Q.jsx)(sI,{className:`inline-flex`}),l=(0,Q.jsx)(XF,{className:`inline-flex`}),d=(0,Q.jsx)(qF,{className:`inline-flex`}),e[2]=o,e[3]=s,e[4]=c,e[5]=l,e[6]=d):(o=e[2],s=e[3],c=e[4],l=e[5],d=e[6]);let f;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(f=u(`inline-flex size-8 shrink-0 items-center justify-center rounded-xl text-fg transition-colors hover:bg-surface-hover`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`,GF),e[7]=f):f=e[7];let p;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsx)(fw,{className:`size-4 shrink-0 text-accent-fg`,strokeWidth:2,"aria-hidden":!0}),e[8]=p):p=e[8];let h;return e[9]===r.sidebar.newTask?h=e[10]:(h=(0,Q.jsx)(`div`,{className:o,children:(0,Q.jsxs)(`div`,{className:s,children:[c,l,d,(0,Q.jsx)(Gi,{to:`/chat/new`,className:f,title:r.sidebar.newTask,children:p})]})}),e[9]=r.sidebar.newTask,e[10]=h),h});function vI(e){return e.language}function yI(e){return e.collapsed}var bI=(0,Y.memo)(function(e){let t=(0,Z.c)(7),{className:n}=e,{pathname:r}=wr(),i=oI(xI);if(r.startsWith(`/settings`)||!i||mI())return null;let a;t[0]===n?a=t[1]:(a=u(`hidden shrink-0 items-center gap-0.5 md:flex`,n),t[0]=n,t[1]=a);let o,s,c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Q.jsx)(sI,{variant:`main`}),s=(0,Q.jsx)(XF,{}),c=(0,Q.jsx)(qF,{}),t[2]=o,t[3]=s,t[4]=c):(o=t[2],s=t[3],c=t[4]);let l;return t[5]===a?l=t[6]:(l=(0,Q.jsxs)(`div`,{className:a,children:[o,s,c]}),t[5]=a,t[6]=l),l});function xI(e){return e.collapsed}var SI=_(e=>({mobileNavOpen:!1,setMobileNavOpen:t=>e({mobileNavOpen:t}),toggleMobileNav:()=>e(e=>({mobileNavOpen:!e.mobileNavOpen}))})),CI=(0,Y.memo)(function(){let e=(0,Z.c)(12),t=v(wI),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n,i=SI(TI),a=SI(EI),o=i&&`hidden`,s;e[2]===o?s=e[3]:(s=u(`size-8 shrink-0 rounded-xl p-0 md:hidden`,GF,o),e[2]=o,e[3]=s);let c;e[4]===a?c=e[5]:(c=()=>a(!0),e[4]=a,e[5]=c);let l;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(Eb,{className:`size-4`,strokeWidth:1.5,"aria-hidden":!0}),e[6]=l):l=e[6];let d;return e[7]!==r.openMenu||e[8]!==i||e[9]!==s||e[10]!==c?(d=(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:s,"aria-expanded":i,"aria-controls":`app-sidebar`,"aria-label":r.openMenu,title:r.openMenu,onClick:c,children:l}),e[7]=r.openMenu,e[8]=i,e[9]=s,e[10]=c,e[11]=d):d=e[11],d});function wI(e){return e.language}function TI(e){return e.mobileNavOpen}function EI(e){return e.setMobileNavOpen}var DI={startExtra:null,main:null,end:null},OI=_(e=>({...DI,setPageHeader:t=>e(t),clearPageHeader:()=>e(DI)})),kI=(0,Y.memo)(function(){let e=(0,Z.c)(23),{pathname:t}=wr(),n=OI(AI),r=OI(jI),i=OI(MI),a;e[0]===t?a=e[1]:(a=t.startsWith(`/settings`),e[0]=t,e[1]=a);let o=!a,s=oI(NI),c;e[2]===s?c=e[3]:(c=u(`flex shrink-0 items-center gap-3 bg-surface-panel`,KF,`px-3 sm:gap-4 sm:px-5 xl:px-6`,gI(s)),e[2]=s,e[3]=c);let l,d,f;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(_I,{}),d=u(`flex min-w-0 shrink-0 items-center gap-2.5`,GF),f=(0,Q.jsx)(bI,{}),e[4]=l,e[5]=d,e[6]=f):(l=e[4],d=e[5],f=e[6]);let p;e[7]===o?p=e[8]:(p=o?(0,Q.jsx)(CI,{}):null,e[7]=o,e[8]=p);let m;e[9]!==n||e[10]!==p?(m=(0,Q.jsxs)(`div`,{className:d,children:[f,p,n]}),e[9]=n,e[10]=p,e[11]=m):m=e[11];let h;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=u(`w-fit max-w-full`,GF),e[12]=h):h=e[12];let g;e[13]===r?g=e[14]:(g=(0,Q.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col justify-center overflow-hidden`,children:(0,Q.jsx)(`div`,{className:h,children:r})}),e[13]=r,e[14]=g);let _;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=u(`flex min-w-0 shrink-0 items-center justify-end gap-2`,GF),e[15]=_):_=e[15];let v;e[16]===i?v=e[17]:(v=(0,Q.jsx)(`div`,{className:_,children:i}),e[16]=i,e[17]=v);let y;return e[18]!==c||e[19]!==v||e[20]!==m||e[21]!==g?(y=(0,Q.jsxs)(`header`,{className:c,children:[l,m,g,v]}),e[18]=c,e[19]=v,e[20]=m,e[21]=g,e[22]=y):y=e[22],y});function AI(e){return e.startExtra}function jI(e){return e.main}function MI(e){return e.end}function NI(e){return e.collapsed}var PI=t({Anchor:()=>cL,Arrow:()=>pL,Close:()=>fL,Content:()=>dL,Popover:()=>VI,PopoverAnchor:()=>UI,PopoverArrow:()=>aL,PopoverClose:()=>rL,PopoverContent:()=>ZI,PopoverPortal:()=>YI,PopoverTrigger:()=>GI,Portal:()=>uL,Root:()=>sL,Trigger:()=>lL,createPopoverScope:()=>LI}),FI=`Popover`,[II,LI]=M(FI,[ee]),RI=ee(),[zI,BI]=II(FI),VI=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=RI(t),c=Y.useRef(null),[l,u]=Y.useState(!1),[d,f]=U({prop:r,defaultProp:i??!1,onChange:a,caller:FI});return(0,Q.jsx)(te,{...s,children:(0,Q.jsx)(zI,{scope:t,contentId:H(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:Y.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:l,onCustomAnchorAdd:Y.useCallback(()=>u(!0),[]),onCustomAnchorRemove:Y.useCallback(()=>u(!1),[]),modal:o,children:n})})};VI.displayName=FI;var HI=`PopoverAnchor`,UI=Y.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=BI(HI,n),a=RI(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return Y.useEffect(()=>(o(),()=>s()),[o,s]),(0,Q.jsx)(re,{...a,...r,ref:t})});UI.displayName=HI;var WI=`PopoverTrigger`,GI=Y.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=BI(WI,n),a=RI(n),o=d(t,i.triggerRef),s=(0,Q.jsx)(F.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":oL(i.open),...r,ref:o,onClick:K(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,Q.jsx)(re,{asChild:!0,...a,children:s})});GI.displayName=WI;var KI=`PopoverPortal`,[qI,JI]=II(KI,{forceMount:void 0}),YI=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=BI(KI,t);return(0,Q.jsx)(qI,{scope:t,forceMount:n,children:(0,Q.jsx)(R,{present:n||a.open,children:(0,Q.jsx)(N,{asChild:!0,container:i,children:r})})})};YI.displayName=KI;var XI=`PopoverContent`,ZI=Y.forwardRef((e,t)=>{let n=JI(XI,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=BI(XI,e.__scopePopover);return(0,Q.jsx)(R,{present:r||a.open,children:a.modal?(0,Q.jsx)($I,{...i,ref:t}):(0,Q.jsx)(eL,{...i,ref:t})})});ZI.displayName=XI;var QI=B(`PopoverContent.RemoveScroll`),$I=Y.forwardRef((e,t)=>{let n=BI(XI,e.__scopePopover),r=Y.useRef(null),i=d(t,r),a=Y.useRef(!1);return Y.useEffect(()=>{let e=r.current;if(e)return V(e)},[]),(0,Q.jsx)(W,{as:QI,allowPinchZoom:!0,children:(0,Q.jsx)(tL,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:K(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:K(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;a.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:K(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),eL=Y.forwardRef((e,t)=>{let n=BI(XI,e.__scopePopover),r=Y.useRef(!1),i=Y.useRef(!1);return(0,Q.jsx)(tL,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),tL=Y.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=BI(XI,n),p=RI(n);return z(),(0,Q.jsx)(P,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,Q.jsx)(G,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:(0,Q.jsx)(q,{"data-state":oL(f.open),role:`dialog`,id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),nL=`PopoverClose`,rL=Y.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=BI(nL,n);return(0,Q.jsx)(F.button,{type:`button`,...r,ref:t,onClick:K(e.onClick,()=>i.onOpenChange(!1))})});rL.displayName=nL;var iL=`PopoverArrow`,aL=Y.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=RI(n);return(0,Q.jsx)(ne,{...i,...r,ref:t})});aL.displayName=iL;function oL(e){return e?`open`:`closed`}var sL=VI,cL=UI,lL=GI,uL=YI,dL=ZI,fL=rL,pL=aL,mL=`Dialog`,[hL,ire]=M(mL),[gL,_L]=hL(mL),vL=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=Y.useRef(null),c=Y.useRef(null),[l,u]=U({prop:r,defaultProp:i??!1,onChange:a,caller:mL});return(0,Q.jsx)(gL,{scope:t,triggerRef:s,contentRef:c,contentId:H(),titleId:H(),descriptionId:H(),open:l,onOpenChange:u,onOpenToggle:Y.useCallback(()=>u(e=>!e),[u]),modal:o,children:n})};vL.displayName=mL;var yL=`DialogTrigger`,bL=Y.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=_L(yL,n),a=d(t,i.triggerRef);return(0,Q.jsx)(F.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":BL(i.open),...r,ref:a,onClick:K(e.onClick,i.onOpenToggle)})});bL.displayName=yL;var xL=`DialogPortal`,[SL,CL]=hL(xL,{forceMount:void 0}),wL=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=_L(xL,t);return(0,Q.jsx)(SL,{scope:t,forceMount:n,children:Y.Children.map(r,e=>(0,Q.jsx)(R,{present:n||a.open,children:(0,Q.jsx)(N,{asChild:!0,container:i,children:e})}))})};wL.displayName=xL;var TL=`DialogOverlay`,EL=Y.forwardRef((e,t)=>{let n=CL(TL,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=_L(TL,e.__scopeDialog);return a.modal?(0,Q.jsx)(R,{present:r||a.open,children:(0,Q.jsx)(OL,{...i,ref:t})}):null});EL.displayName=TL;var DL=B(`DialogOverlay.RemoveScroll`),OL=Y.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=_L(TL,n);return(0,Q.jsx)(W,{as:DL,allowPinchZoom:!0,shards:[i.contentRef],children:(0,Q.jsx)(F.div,{"data-state":BL(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),kL=`DialogContent`,AL=Y.forwardRef((e,t)=>{let n=CL(kL,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=_L(kL,e.__scopeDialog);return(0,Q.jsx)(R,{present:r||a.open,children:a.modal?(0,Q.jsx)(jL,{...i,ref:t}):(0,Q.jsx)(ML,{...i,ref:t})})});AL.displayName=kL;var jL=Y.forwardRef((e,t)=>{let n=_L(kL,e.__scopeDialog),r=Y.useRef(null),i=d(t,n.contentRef,r);return Y.useEffect(()=>{let e=r.current;if(e)return V(e)},[]),(0,Q.jsx)(NL,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:K(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:K(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:K(e.onFocusOutside,e=>e.preventDefault())})}),ML=Y.forwardRef((e,t)=>{let n=_L(kL,e.__scopeDialog),r=Y.useRef(!1),i=Y.useRef(!1);return(0,Q.jsx)(NL,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),NL=Y.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=_L(kL,n),c=Y.useRef(null),l=d(t,c);return z(),(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(P,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,Q.jsx)(G,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":BL(s.open),...o,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(UL,{titleId:s.titleId}),(0,Q.jsx)(GL,{contentRef:c,descriptionId:s.descriptionId})]})]})}),PL=`DialogTitle`,FL=Y.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=_L(PL,n);return(0,Q.jsx)(F.h2,{id:i.titleId,...r,ref:t})});FL.displayName=PL;var IL=`DialogDescription`,LL=Y.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=_L(IL,n);return(0,Q.jsx)(F.p,{id:i.descriptionId,...r,ref:t})});LL.displayName=IL;var RL=`DialogClose`,zL=Y.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=_L(RL,n);return(0,Q.jsx)(F.button,{type:`button`,...r,ref:t,onClick:K(e.onClick,()=>i.onOpenChange(!1))})});zL.displayName=RL;function BL(e){return e?`open`:`closed`}var VL=`DialogTitleWarning`,[are,HL]=I(VL,{contentName:kL,titleName:PL,docsSlug:`dialog`}),UL=({titleId:e})=>{let t=HL(VL),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
6
|
+
|
|
7
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
8
|
+
|
|
9
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return Y.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},WL=`DialogDescriptionWarning`,GL=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${HL(WL).contentName}}.`;return Y.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},KL=vL,qL=wL,JL=EL,YL=AL,XL=FL,ZL=LL,QL=zL,$L=`
|
|
10
|
+
|
|
11
|
+
`,eR=/\r\n/g,tR=`xopc.npmPendingRestart`,nR=typeof window<`u`&&window.electronAPI?.updater!==void 0;function rR(){return null}function iR(e){if(!(!e||typeof window>`u`))try{let t=sessionStorage.getItem(tR);if(!t)return;let n=JSON.parse(t),r=typeof n.installedVersion==`string`?n.installedVersion.trim():``;r&&r===e&&sessionStorage.removeItem(tR)}catch{}}function aR(e){return iR(e.currentVersion),e}function oR(){let[e,t]=(0,Y.useState)(null),[n,r]=(0,Y.useState)(!1),[i,a]=(0,Y.useState)(()=>rR()),[o,s]=(0,Y.useState)(nR?{state:`idle`}:rR()),c=(0,Y.useRef)(null),l=nR||i!==null;(0,Y.useEffect)(()=>{if(l)return;cR().then(e=>t(aR(e))).catch(()=>{});let e=e=>{let n=e.detail;if(n===null)t(e=>e&&aR({...e,updateAvailable:!1,latestVersion:null,channel:null}));else if(n&&typeof n==`object`){let e=n;t(aR({currentVersion:e.currentVersion??``,updateAvailable:!0,latestVersion:e.latestVersion??null,channel:e.channel??null}))}};return window.addEventListener(`update-available`,e),()=>window.removeEventListener(`update-available`,e)},[l]),(0,Y.useEffect)(()=>{if(!nR)return;let e=window.electronAPI.updater;return e.getStatus().then(e=>s(e)),e.onStatusChanged(e=>s(e))},[]),(0,Y.useEffect)(()=>{},[]),(0,Y.useEffect)(()=>()=>{c.current!==null&&(window.clearTimeout(c.current),c.current=null)},[]);let u=(0,Y.useCallback)(async()=>{if(l)return!1;try{let e=await k(T(`/api/update/check`),{method:`POST`});if(!e.ok)return!1;let n=await e.json();return n.payload?(t(aR(n.payload)),!0):!1}catch{return!1}},[l]),d=(0,Y.useCallback)(async()=>{if(l)return{ok:!1,error:`not-applicable`,message:`npm update is not used in the desktop app.`,status:400};r(!0);try{let e=await k(T(`/api/update/run/stream`),{method:`POST`,headers:{Accept:`text/event-stream`}});if(!e.ok||!e.body){let t=await e.text().catch(()=>``),n=`HTTP ${e.status}`;try{let e=JSON.parse(t);typeof e.message==`string`&&(n=e.message)}catch{t&&(n=t.slice(0,500))}return{ok:!1,error:e.status===409?`busy`:`unknown`,message:n,status:e.status}}let t=await lR(e.body);if(t.ok&&t.result){let e=t.result;if(e&&typeof e==`object`&&e.status===`ok`&&typeof e.installedVersion==`string`){try{sessionStorage.setItem(tR,JSON.stringify({installedVersion:e.installedVersion}))}catch{}window.dispatchEvent(new CustomEvent(`xopc:npm-update-installed`,{detail:{version:e.installedVersion}}))}else e&&typeof e==`object`&&e.status===`up-to-date`&&typeof e.latestVersion==`string`&&window.dispatchEvent(new CustomEvent(`xopc:npm-update-installed`,{detail:{version:e.latestVersion}}))}return t}catch(e){return{ok:!1,error:`network`,message:e instanceof Error?e.message:String(e),status:0}}finally{r(!1)}},[l]),f=(0,Y.useCallback)(()=>{if(nR){window.electronAPI.updater.check();return}},[i]),p=(0,Y.useCallback)(()=>{nR&&window.electronAPI.updater.quitAndInstall()},[]);return{npm:e,electron:nR?o:i??o,isElectron:l,checkNow:u,runNpmUpdate:d,npmUpdateRunning:n,electronCheck:f,electronQuitAndInstall:p}}var sR=null;async function cR(){return sR||(sR=(async()=>{let e=await k(T(`/api/update/status`));if(!e.ok)throw Error(`HTTP ${e.status}`);return(await e.json()).payload})().finally(()=>{sR=null}),sR)}async function lR(e){let t=e.getReader(),n=new TextDecoder,r=``,i=null,a=e=>{try{let t=JSON.parse(e);typeof t.line==`string`&&window.dispatchEvent(new CustomEvent(`xopc:npm-update-progress`,{detail:{line:t.line,source:t.source===`stderr`?`stderr`:`stdout`}}))}catch{}},o=e=>{let t=``,n=``;for(let r of e.split(`
|
|
12
|
+
`)){let e=r.replace(/\r$/,``);e.startsWith(`event:`)?t=e.slice(6).trim():e.startsWith(`data:`)&&(n+=e.slice(5).trimStart())}if(n){if(t===`progress`){a(n);return}if(t===`result`)try{let e=JSON.parse(n);i=e.ok?{ok:!0,result:e.result??null}:{ok:!1,error:String(e.error??`unknown`),message:String(e.message??`Update failed`),status:e.error===`busy`?409:400,result:e.result??null}}catch{i={ok:!1,error:`parse`,message:`Invalid update stream`,status:0}}}};try{let e=async()=>{if(i!==null)return i;let{done:a,value:s}=await t.read();if(a)return i;r+=n.decode(s,{stream:!0}),r=r.replace(eR,`
|
|
13
|
+
`);let c=r.split($L);r=c.pop()??``;for(let e of c)e.length&&o(e);return e()},a=await e();if(a)return a}finally{t.releaseLock()}return i??{ok:!1,error:`no-result`,message:`Update stream ended without a result`,status:0}}var uR=`xopc.updateReminder.dismissed`,dR=typeof window<`u`&&window.electronAPI?.updater!==void 0,fR=`xopc:electron-update-recheck`;function pR(){if(typeof window>`u`)return{};try{let e=localStorage.getItem(uR);if(!e)return{};let t=JSON.parse(e);return t&&typeof t==`object`?t:{}}catch{return{}}}var mR=160;function hR(e){let t=e.trim();return t.length<=mR?t:`${t.slice(0,mR-1)}…`}function gR(){let{npm:e,electron:t,isElectron:n,electronQuitAndInstall:r,runNpmUpdate:i,npmUpdateRunning:a}=oR(),[o,s]=(0,Y.useState)(pR),[c,l]=(0,Y.useState)({downloading:!1,electronError:!1}),[u,d]=(0,Y.useState)(()=>{if(typeof window>`u`||dR)return null;try{let e=sessionStorage.getItem(tR);if(!e)return null;let t=JSON.parse(e);return(typeof t.installedVersion==`string`?t.installedVersion.trim():``)||null}catch{return null}}),f=(0,Y.useRef)(t?.state);f.current!==t?.state&&(f.current=t?.state,t?.state!==`downloading`&&c.downloading&&l(e=>({...e,downloading:!1})),t?.state!==`error`&&c.electronError&&l(e=>({...e,electronError:!1})));let p=(0,Y.useRef)(null);if(u&&e?.currentVersion===u&&p.current!==u){p.current=u;try{sessionStorage.removeItem(tR)}catch{}d(null)}(0,Y.useEffect)(()=>{if(n)return;let e=()=>{try{let e=sessionStorage.getItem(tR);if(!e){d(null);return}let t=JSON.parse(e);d((typeof t.installedVersion==`string`?t.installedVersion.trim():``)||null)}catch{d(null)}};return e(),window.addEventListener(`xopc:npm-update-installed`,e),()=>window.removeEventListener(`xopc:npm-update-installed`,e)},[n]),(0,Y.useEffect)(()=>{let e=()=>{l(e=>({...e,downloading:!1})),s(e=>{let t={...e};delete t.electronReady;try{localStorage.setItem(uR,JSON.stringify(t))}catch{}return t})};return window.addEventListener(fR,e),()=>window.removeEventListener(fR,e)},[]),(0,Y.useEffect)(()=>{let e=e=>{let t=e.detail?.version?.trim();t&&s(e=>{let n={...e,npm:t};try{localStorage.setItem(uR,JSON.stringify(n))}catch{}return n})};return window.addEventListener(`xopc:npm-update-installed`,e),()=>window.removeEventListener(`xopc:npm-update-installed`,e)},[]);let m=(0,Y.useMemo)(()=>n&&t?.state===`downloaded`&&t.version?o.electronReady===t.version?{kind:`none`}:{kind:`electron-ready`,version:t.version}:n&&t?.state===`downloading`&&!c.downloading?{kind:`electron-downloading`,percent:Math.round(t.percent??0)}:n&&t?.state===`error`&&t.message&&!c.electronError?{kind:`electron-error`,message:hR(t.message)}:!n&&u&&e&&e.currentVersion!==u?{kind:`npm-restart-required`,version:u}:!n&&e?.updateAvailable&&e.latestVersion?o.npm===e.latestVersion?{kind:`none`}:{kind:`npm`,version:e.latestVersion,channel:e.channel}:{kind:`none`},[o.npm,o.electronReady,t,c.downloading,c.electronError,n,e,u]);return{show:m,dismiss:(0,Y.useCallback)(()=>{if(m.kind===`electron-downloading`){l(e=>({...e,downloading:!0}));return}if(m.kind===`electron-error`){l(e=>({...e,electronError:!0}));return}if(m.kind===`npm-restart-required`){try{sessionStorage.removeItem(tR)}catch{}d(null);return}if(m.kind===`none`)return;let e={...o};m.kind===`npm`?e.npm=m.version:m.kind===`electron-ready`&&(e.electronReady=m.version);try{localStorage.setItem(uR,JSON.stringify(e))}catch{}s(e)},[o,m]),electronQuitAndInstall:r,runNpmUpdate:i,npmUpdateRunning:a}}var _R={version:`0.0.113`,commit:`5f375dff2e9f61839a9e168504cbc046e0987656`,buildTimeIso:`2026-06-24T16:00:53.279Z`};function vR(){return function(e,t){switch(t.type){case`start`:return e.loading?e:{...e,loading:!0,error:null};case`success`:return{data:t.data,loading:!1,error:null};case`error`:return{data:t.data,loading:!1,error:t.error};case`patch`:return{...e,data:t.updater(e.data)}}}}function yR(e,t,n){let{enabled:r=!0,initial:i,errorData:a}=n,[o,s]=(0,Y.useReducer)(vR(),void 0,()=>({data:i,loading:!1,error:null})),c=(0,Y.useRef)(e);c.current=e;let l=(0,Y.useRef)(a);l.current=a;let u=(0,Y.useRef)(i);u.current=i,(0,Y.useEffect)(()=>{if(!r)return;let e=!1;return s({type:`start`}),c.current().then(t=>{e||s({type:`success`,data:t})}).catch(t=>{if(e)return;let n=l.current;s({type:`error`,data:typeof n==`function`?n(t):n===void 0?u.current:n,error:t})}),()=>{e=!0}},[r,...t]);let d=(0,Y.useCallback)(e=>{s({type:`patch`,updater:typeof e==`function`?e:()=>e})},[]);return{...o,setData:d}}var bR=`https://github.com/xopcai/xopc`,xR=new Intl.DateTimeFormat(`zh-CN`,{year:`numeric`,month:`numeric`,day:`numeric`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hour12:!1}),SR=new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`numeric`,day:`numeric`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hour12:!1});function CR(e,t){let n=new Date(e);if(Number.isNaN(n.getTime()))return e;try{return(t===`zh`?xR:SR).format(n)}catch{return n.toISOString()}}function wR({open:e,onOpenChange:t}){let n=v(e=>e.language),r=m(n),i=r.aboutDialog,a=r.updatePanel,{isElectron:o,electron:s,electronCheck:c,checkNow:l,npm:d,runNpmUpdate:f,npmUpdateRunning:p}=oR(),[h,g]=(0,Y.useState)(!1),[_,y]=(0,Y.useState)(!1),[b,x]=(0,Y.useState)(!1),{data:S}=yR(async()=>{let e=await E(T(`/health`));return typeof e.version==`string`?e.version:null},[e],{enabled:e,initial:null,errorData:null}),C=(0,Y.useCallback)(e=>{e||(g(!1),y(!1),x(!1)),t(e)},[t]),w=(0,Y.useCallback)(async()=>{let e=m(n).updatePanel,t=await f();if(t.ok){j({type:`success`,title:e.updateSuccess,message:e.updateSuccessDetail});return}j({type:`error`,title:t.error===`git-checkout`?e.updateErrorGit:t.error===`busy`?e.updateErrorBusy:e.updateErrorFailed,message:t.message})},[f,n]),D=_R.commit,O=n===`zh`?`zh-CN`:`en-US`,k=CR(_R.buildTimeIso,O),A=new Date().getFullYear(),M=i.copyright.replace(`{year}`,String(A));return(0,Q.jsx)(KL,{open:e,onOpenChange:C,children:(0,Q.jsxs)(qL,{children:[(0,Q.jsx)(JL,{className:`xopc-dialog-overlay fixed inset-0 z-[200] bg-scrim`}),(0,Q.jsxs)(YL,{className:u(`xopc-dialog-content fixed left-1/2 top-1/2 z-[201] w-[min(100%-2rem,26rem)] -translate-x-1/2 -translate-y-1/2`,`rounded-2xl border border-edge bg-surface-panel shadow-popover dark:border-edge`),onOpenAutoFocus:e=>e.preventDefault(),children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 px-4 pt-3`,"aria-hidden":!0,children:[(0,Q.jsx)(`span`,{className:`size-3 rounded-full bg-[#ff5f57]`}),(0,Q.jsx)(`span`,{className:`size-3 rounded-full bg-[#febc2e]`}),(0,Q.jsx)(`span`,{className:`size-3 rounded-full bg-[#28c840]`})]}),(0,Q.jsxs)(`div`,{className:`px-6 pb-2 pt-1`,children:[(0,Q.jsx)(`div`,{className:`flex justify-end`,children:(0,Q.jsx)(QL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:`rounded-lg p-1.5 text-fg-muted hover:bg-surface-hover hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40`,"aria-label":i.close,children:(0,Q.jsx)(ZN,{className:`size-4`,strokeWidth:2})})})}),(0,Q.jsxs)(`div`,{className:`-mt-2 flex flex-col items-center text-center`,children:[(0,Q.jsx)(yP,{className:`size-[4.5rem]`,alt:r.appBrand}),(0,Q.jsx)(XL,{className:`mt-3 text-xl font-semibold tracking-tight text-fg`,children:r.appBrand}),(0,Q.jsx)(ZL,{className:`sr-only`,children:i.windowTitle})]}),(0,Q.jsxs)(`div`,{className:`mt-6 space-y-3 text-sm`,children:[(0,Q.jsxs)(`div`,{className:`grid grid-cols-[5.5rem_1fr] items-center gap-x-3 gap-y-1`,children:[(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:i.versionLabel}),(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center justify-end gap-2 sm:justify-start`,children:[(0,Q.jsx)(`span`,{className:`font-mono text-[13px] text-fg tabular-nums`,children:_R.version}),(0,Q.jsx)(`button`,{type:`button`,className:u(`shrink-0 rounded-md border border-edge bg-surface-base px-2 py-0.5 text-[11px] font-medium text-fg-muted`,`transition-colors hover:bg-surface-hover hover:text-fg`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40`),onClick:()=>{o?(window.dispatchEvent(new CustomEvent(fR)),g(!0),c()):(g(!0),x(!1),y(!0),(async()=>{let e=await l();y(!1),e||x(!0)})())},disabled:o&&[`checking`,`available`,`downloading`,`downloaded`].includes(s?.state??``)||!o&&(_||p),children:o&&s?.state===`checking`||!o&&_?(0,Q.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,Q.jsx)(Ey,{className:`size-3 animate-spin`}),i.checkUpdatesChecking]}):i.checkUpdates})]})]}),o&&h&&(0,Q.jsx)(TR,{state:s?.state,version:s?.version,percent:s?.percent,d:i}),!o&&h&&(0,Q.jsx)(ER,{checking:_,checkFailed:b,npm:d,npmUpdateRunning:p,onUpgrade:w,d:i,tp:a}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-[5.5rem_1fr] gap-x-3 gap-y-1`,children:[(0,Q.jsx)(`span`,{className:`pt-0.5 text-fg-muted`,children:i.commitLabel}),(0,Q.jsx)(`span`,{className:`break-all font-mono text-[11px] leading-snug text-fg`,children:D})]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-[5.5rem_1fr] items-baseline gap-x-3 gap-y-1`,children:[(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:i.buildDateLabel}),(0,Q.jsx)(`span`,{className:`text-right text-[13px] text-fg sm:text-left`,children:k})]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-[5.5rem_1fr] items-baseline gap-x-3 gap-y-1`,children:[(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:i.gatewayVersionLabel}),(0,Q.jsx)(`span`,{className:`text-right font-mono text-[13px] text-fg sm:text-left`,children:S??i.gatewayUnavailable})]}),(0,Q.jsx)(`p`,{className:`pt-0.5 text-[11px] text-fg-subtle`,children:i.consoleBuildHint})]}),(0,Q.jsxs)(`div`,{className:`mt-6 border-t border-edge-subtle pt-4 text-center text-[11px] leading-relaxed text-fg-muted`,children:[(0,Q.jsx)(`p`,{children:(0,Q.jsx)(`a`,{className:`text-accent-fg underline decoration-accent-fg/40 underline-offset-2 hover:decoration-accent-fg`,href:bR,target:`_blank`,rel:`noopener noreferrer`,children:i.repositoryLink})}),(0,Q.jsx)(`p`,{className:`mt-2`,children:M})]})]})]})]})})}function TR(e){let t=(0,Z.c)(29),{state:n,version:r,percent:i,d:a}=e;if(!n||n===`idle`)return null;if(n===`checking`){let e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ey,{className:`size-3.5 animate-spin`}),t[0]=e):e=t[0];let n;return t[1]===a.checkUpdatesChecking?n=t[2]:(n=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-fg-muted`,children:[e,(0,Q.jsx)(`span`,{children:a.checkUpdatesChecking})]}),t[1]=a.checkUpdatesChecking,t[2]=n),n}if(n===`not-available`){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Qd,{className:`size-3.5`}),t[3]=e):e=t[3];let n;return t[4]===a.checkUpdatesUpToDate?n=t[5]:(n=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-green-600 dark:text-green-400`,children:[e,(0,Q.jsx)(`span`,{children:a.checkUpdatesUpToDate})]}),t[4]=a.checkUpdatesUpToDate,t[5]=n),n}if(n===`available`){let e;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(fT,{className:`size-3.5`}),t[6]=e):e=t[6];let n;t[7]!==a.checkUpdatesAvailable||t[8]!==r?(n=a.checkUpdatesAvailable.replace(`{version}`,r??`?`),t[7]=a.checkUpdatesAvailable,t[8]=r,t[9]=n):n=t[9];let i;return t[10]===n?i=t[11]:(i=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-accent-fg`,children:[e,(0,Q.jsx)(`span`,{children:n})]}),t[10]=n,t[11]=i),i}if(n===`downloading`){let e;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(yh,{className:`size-3.5 motion-safe:animate-[bounce_1s_ease-out_infinite]`}),t[12]=e):e=t[12];let n=a.checkUpdatesDownloading,r;if(t[13]!==a.checkUpdatesDownloading||t[14]!==i){let e;t[16]===i?e=t[17]:(e=Math.round(i??0),t[16]=i,t[17]=e),r=n.replace(`{percent}`,String(e)),t[13]=a.checkUpdatesDownloading,t[14]=i,t[15]=r}else r=t[15];let o;return t[18]===r?o=t[19]:(o=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-fg-muted`,children:[e,(0,Q.jsx)(`span`,{children:r})]}),t[18]=r,t[19]=o),o}if(n===`downloaded`){let e;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(yh,{className:`size-3.5`}),t[20]=e):e=t[20];let n;t[21]!==a.checkUpdatesDownloaded||t[22]!==r?(n=a.checkUpdatesDownloaded.replace(`{version}`,r??`?`),t[21]=a.checkUpdatesDownloaded,t[22]=r,t[23]=n):n=t[23];let i;return t[24]===n?i=t[25]:(i=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] font-semibold text-accent-fg`,children:[e,(0,Q.jsx)(`span`,{children:n})]}),t[24]=n,t[25]=i),i}if(n===`error`){let e;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ud,{className:`size-3.5`}),t[26]=e):e=t[26];let n;return t[27]===a.checkUpdatesError?n=t[28]:(n=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-red-500 dark:text-red-400`,children:[e,(0,Q.jsx)(`span`,{children:a.checkUpdatesError})]}),t[27]=a.checkUpdatesError,t[28]=n),n}return null}function ER(e){let t=(0,Z.c)(25),{checking:n,checkFailed:r,npm:i,npmUpdateRunning:a,onUpgrade:o,d:s,tp:c}=e;if(n){let e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ey,{className:`size-3.5 animate-spin`}),t[0]=e):e=t[0];let n;return t[1]===s.checkUpdatesChecking?n=t[2]:(n=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-fg-muted`,children:[e,(0,Q.jsx)(`span`,{children:s.checkUpdatesChecking})]}),t[1]=s.checkUpdatesChecking,t[2]=n),n}if(r){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ud,{className:`size-3.5`}),t[3]=e):e=t[3];let n;return t[4]===s.checkUpdatesError?n=t[5]:(n=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-red-500 dark:text-red-400`,children:[e,(0,Q.jsx)(`span`,{children:s.checkUpdatesError})]}),t[4]=s.checkUpdatesError,t[5]=n),n}if(a){let e;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ey,{className:`size-3.5 animate-spin`}),t[6]=e):e=t[6];let n;return t[7]===c.updateRunning?n=t[8]:(n=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-fg-muted`,children:[e,(0,Q.jsx)(`span`,{children:c.updateRunning})]}),t[7]=c.updateRunning,t[8]=n),n}if(i?.updateAvailable&&i.latestVersion){let e;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(fT,{className:`mt-0.5 size-3.5 shrink-0`}),t[9]=e):e=t[9];let n;t[10]!==i.latestVersion||t[11]!==c.reminderNpm?(n=c.reminderNpm.replace(`{{version}}`,i.latestVersion),t[10]=i.latestVersion,t[11]=c.reminderNpm,t[12]=n):n=t[12];let r;t[13]===n?r=t[14]:(r=(0,Q.jsxs)(`p`,{className:`flex items-start gap-2 text-[12px] text-accent-fg`,children:[e,(0,Q.jsx)(`span`,{children:n})]}),t[13]=n,t[14]=r);let a;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(a=u(`w-full rounded-lg bg-accent px-3 py-1.5 text-center text-xs font-medium text-white`,`hover:bg-accent/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40`,`disabled:pointer-events-none disabled:opacity-50`),t[15]=a):a=t[15];let s;t[16]!==o||t[17]!==c.updateNow?(s=(0,Q.jsx)(`button`,{type:`button`,onClick:o,className:a,children:c.updateNow}),t[16]=o,t[17]=c.updateNow,t[18]=s):s=t[18];let l;return t[19]!==r||t[20]!==s?(l=(0,Q.jsxs)(`div`,{className:`space-y-2`,children:[r,s]}),t[19]=r,t[20]=s,t[21]=l):l=t[21],l}let l;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(Qd,{className:`size-3.5`}),t[22]=l):l=t[22];let d;return t[23]===s.checkUpdatesUpToDate?d=t[24]:(d=(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 text-[12px] text-green-600 dark:text-green-400`,children:[l,(0,Q.jsx)(`span`,{children:s.checkUpdatesUpToDate})]}),t[23]=s.checkUpdatesUpToDate,t[24]=d),d}var DR=u(`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-sm font-medium leading-5 text-fg`,`transition-colors duration-150 ease-out`,`hover:bg-surface-hover`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`),OR=u(`rounded-xl border border-edge bg-surface-panel p-1 shadow-popover`,`dark:border-edge`);function kR(e){let t=(0,Z.c)(14),{selected:n,label:r,onSelect:i}=e,a=n&&`bg-accent-soft text-accent-fg hover:bg-accent-soft`,o;t[0]===a?o=t[1]:(o=u(`flex w-full items-center justify-between gap-1.5 rounded-lg px-2.5 py-1.5 text-left text-sm font-medium leading-5 text-fg`,`transition-colors duration-150 ease-out hover:bg-surface-hover`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`,a),t[0]=a,t[1]=o);let s;t[2]===r?s=t[3]:(s=(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:r}),t[2]=r,t[3]=s);let c=n?`opacity-100`:`opacity-0`,l;t[4]===c?l=t[5]:(l=u(`size-4 shrink-0`,c),t[4]=c,t[5]=l);let d;t[6]===l?d=t[7]:(d=(0,Q.jsx)(gd,{className:l,strokeWidth:2,"aria-hidden":!0}),t[6]=l,t[7]=d);let f;return t[8]!==i||t[9]!==n||t[10]!==o||t[11]!==s||t[12]!==d?(f=(0,Q.jsxs)(`button`,{type:`button`,"aria-pressed":n,className:o,onClick:i,children:[s,d]}),t[8]=i,t[9]=n,t[10]=o,t[11]=s,t[12]=d,t[13]=f):f=t[13],f}function AR(e){let t=(0,Z.c)(190),{onOpenFullSettings:n,onAboutClick:r}=e,[i,a]=(0,Y.useState)(null),o=v(IR),s=v(FR),c=b(PR),l=b(NR),d=cF(MR),f=cF(jR),p;t[0]===o?p=t[1]:(p=m(o),t[0]=o,t[1]=p);let h=p,g=h.appearanceSettings,_=o===`zh`?g.langOptionZh:g.langOptionEn,y=c===`light`?g.themeOptionLight:c===`dark`?g.themeOptionDark:g.themeOptionSystem,x=d===`compact`?g.fontScaleCompact:d===`large`?g.fontScaleLarge:g.fontScaleDefault,S;t[2]===i?S=t[3]:(S=e=>u(`absolute left-full top-0 z-[60] min-w-[8.75rem] max-w-[min(calc(100vw-2rem),12rem)]`,`ml-2 sm:ml-2.5`,i===e?`block`:`hidden`),t[2]=i,t[3]=S);let C=S,w;t[4]===i?w=t[5]:(w=e=>u(`absolute left-full top-0 z-[55] h-full w-8 sm:w-9`,i===e?`pointer-events-auto`:`pointer-events-none`),t[4]=i,t[5]=w);let T=w,E;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>a(null),t[6]=E):E=t[6];let D;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(D=()=>a(`lang`),t[7]=D):D=t[7];let O=i===`lang`&&`bg-surface-hover`,k;t[8]===O?k=t[9]:(k=u(DR,O),t[8]=O,t[9]=k);let A=i===`lang`,j;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,Q.jsx)(dv,{className:`size-4 shrink-0 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}),t[10]=j):j=t[10];let M;t[11]===g.languageTitle?M=t[12]:(M=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-left`,children:g.languageTitle}),t[11]=g.languageTitle,t[12]=M);let N;t[13]===_?N=t[14]:(N=(0,Q.jsx)(`span`,{className:`max-w-20 truncate text-xs font-medium text-fg-muted`,children:_}),t[13]=_,t[14]=N);let P;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,Q.jsx)(kd,{className:`size-4 shrink-0 text-fg-subtle`,strokeWidth:2,"aria-hidden":!0}),t[15]=P):P=t[15];let F;t[16]!==M||t[17]!==N||t[18]!==k||t[19]!==A?(F=(0,Q.jsxs)(`button`,{type:`button`,className:k,"aria-haspopup":`menu`,"aria-expanded":A,children:[j,M,N,P]}),t[16]=M,t[17]=N,t[18]=k,t[19]=A,t[20]=F):F=t[20];let I;t[21]===T?I=t[22]:(I=T(`lang`),t[21]=T,t[22]=I);let L;t[23]===I?L=t[24]:(L=(0,Q.jsx)(`div`,{className:I,"aria-hidden":!0}),t[23]=I,t[24]=L);let R;t[25]===C?R=t[26]:(R=C(`lang`),t[25]=C,t[26]=R);let z=o===`en`,B;t[27]===s?B=t[28]:(B=()=>s(`en`),t[27]=s,t[28]=B);let V;t[29]!==g.langOptionEn||t[30]!==z||t[31]!==B?(V=(0,Q.jsx)(kR,{selected:z,label:g.langOptionEn,onSelect:B}),t[29]=g.langOptionEn,t[30]=z,t[31]=B,t[32]=V):V=t[32];let H=o===`zh`,U;t[33]===s?U=t[34]:(U=()=>s(`zh`),t[33]=s,t[34]=U);let W;t[35]!==g.langOptionZh||t[36]!==H||t[37]!==U?(W=(0,Q.jsx)(kR,{selected:H,label:g.langOptionZh,onSelect:U}),t[35]=g.langOptionZh,t[36]=H,t[37]=U,t[38]=W):W=t[38];let G;t[39]!==V||t[40]!==W?(G=(0,Q.jsxs)(`div`,{className:OR,children:[V,W]}),t[39]=V,t[40]=W,t[41]=G):G=t[41];let K;t[42]!==g.languageTitle||t[43]!==R||t[44]!==G?(K=(0,Q.jsx)(`div`,{className:R,role:`menu`,"aria-label":g.languageTitle,children:G}),t[42]=g.languageTitle,t[43]=R,t[44]=G,t[45]=K):K=t[45];let ee;t[46]!==F||t[47]!==L||t[48]!==K?(ee=(0,Q.jsxs)(`div`,{className:`relative`,onMouseEnter:D,children:[F,L,K]}),t[46]=F,t[47]=L,t[48]=K,t[49]=ee):ee=t[49];let te;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(te=()=>a(`theme`),t[50]=te):te=t[50];let ne=i===`theme`&&`bg-surface-hover`,q;t[51]===ne?q=t[52]:(q=u(DR,ne),t[51]=ne,t[52]=q);let re=i===`theme`,ie;t[53]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,Q.jsx)(JS,{className:`size-4 shrink-0 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}),t[53]=ie):ie=t[53];let ae;t[54]===g.themeTitle?ae=t[55]:(ae=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-left`,children:g.themeTitle}),t[54]=g.themeTitle,t[55]=ae);let J;t[56]===y?J=t[57]:(J=(0,Q.jsx)(`span`,{className:`max-w-20 truncate text-xs font-medium text-fg-muted`,children:y}),t[56]=y,t[57]=J);let oe;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,Q.jsx)(kd,{className:`size-4 shrink-0 text-fg-subtle`,strokeWidth:2,"aria-hidden":!0}),t[58]=oe):oe=t[58];let se;t[59]!==q||t[60]!==re||t[61]!==ae||t[62]!==J?(se=(0,Q.jsxs)(`button`,{type:`button`,className:q,"aria-haspopup":`menu`,"aria-expanded":re,children:[ie,ae,J,oe]}),t[59]=q,t[60]=re,t[61]=ae,t[62]=J,t[63]=se):se=t[63];let ce;t[64]===T?ce=t[65]:(ce=T(`theme`),t[64]=T,t[65]=ce);let le;t[66]===ce?le=t[67]:(le=(0,Q.jsx)(`div`,{className:ce,"aria-hidden":!0}),t[66]=ce,t[67]=le);let ue;t[68]===C?ue=t[69]:(ue=C(`theme`),t[68]=C,t[69]=ue);let de=c===`light`,fe;t[70]===l?fe=t[71]:(fe=()=>l(`light`),t[70]=l,t[71]=fe);let pe;t[72]!==g.themeOptionLight||t[73]!==de||t[74]!==fe?(pe=(0,Q.jsx)(kR,{selected:de,label:g.themeOptionLight,onSelect:fe}),t[72]=g.themeOptionLight,t[73]=de,t[74]=fe,t[75]=pe):pe=t[75];let me=c===`dark`,he;t[76]===l?he=t[77]:(he=()=>l(`dark`),t[76]=l,t[77]=he);let ge;t[78]!==g.themeOptionDark||t[79]!==me||t[80]!==he?(ge=(0,Q.jsx)(kR,{selected:me,label:g.themeOptionDark,onSelect:he}),t[78]=g.themeOptionDark,t[79]=me,t[80]=he,t[81]=ge):ge=t[81];let _e=c===`system`,X;t[82]===l?X=t[83]:(X=()=>l(`system`),t[82]=l,t[83]=X);let ve;t[84]!==g.themeOptionSystem||t[85]!==_e||t[86]!==X?(ve=(0,Q.jsx)(kR,{selected:_e,label:g.themeOptionSystem,onSelect:X}),t[84]=g.themeOptionSystem,t[85]=_e,t[86]=X,t[87]=ve):ve=t[87];let ye;t[88]!==pe||t[89]!==ge||t[90]!==ve?(ye=(0,Q.jsxs)(`div`,{className:OR,children:[pe,ge,ve]}),t[88]=pe,t[89]=ge,t[90]=ve,t[91]=ye):ye=t[91];let be;t[92]!==g.themeTitle||t[93]!==ue||t[94]!==ye?(be=(0,Q.jsx)(`div`,{className:ue,role:`menu`,"aria-label":g.themeTitle,children:ye}),t[92]=g.themeTitle,t[93]=ue,t[94]=ye,t[95]=be):be=t[95];let xe;t[96]!==se||t[97]!==le||t[98]!==be?(xe=(0,Q.jsxs)(`div`,{className:`relative`,onMouseEnter:te,children:[se,le,be]}),t[96]=se,t[97]=le,t[98]=be,t[99]=xe):xe=t[99];let Se;t[100]===Symbol.for(`react.memo_cache_sentinel`)?(Se=()=>a(`font`),t[100]=Se):Se=t[100];let Ce=i===`font`&&`bg-surface-hover`,we;t[101]===Ce?we=t[102]:(we=u(DR,Ce),t[101]=Ce,t[102]=we);let Te=i===`font`,Ee;t[103]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,Q.jsx)(rM,{className:`size-4 shrink-0 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}),t[103]=Ee):Ee=t[103];let De;t[104]===g.fontScaleTitle?De=t[105]:(De=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-left`,children:g.fontScaleTitle}),t[104]=g.fontScaleTitle,t[105]=De);let Oe;t[106]===x?Oe=t[107]:(Oe=(0,Q.jsx)(`span`,{className:`max-w-20 truncate text-xs font-medium text-fg-muted`,children:x}),t[106]=x,t[107]=Oe);let ke;t[108]===Symbol.for(`react.memo_cache_sentinel`)?(ke=(0,Q.jsx)(kd,{className:`size-4 shrink-0 text-fg-subtle`,strokeWidth:2,"aria-hidden":!0}),t[108]=ke):ke=t[108];let Ae;t[109]!==we||t[110]!==Te||t[111]!==De||t[112]!==Oe?(Ae=(0,Q.jsxs)(`button`,{type:`button`,className:we,"aria-haspopup":`menu`,"aria-expanded":Te,children:[Ee,De,Oe,ke]}),t[109]=we,t[110]=Te,t[111]=De,t[112]=Oe,t[113]=Ae):Ae=t[113];let je;t[114]===T?je=t[115]:(je=T(`font`),t[114]=T,t[115]=je);let Me;t[116]===je?Me=t[117]:(Me=(0,Q.jsx)(`div`,{className:je,"aria-hidden":!0}),t[116]=je,t[117]=Me);let Ne;t[118]===C?Ne=t[119]:(Ne=C(`font`),t[118]=C,t[119]=Ne);let Pe=d===`compact`,Fe;t[120]===f?Fe=t[121]:(Fe=()=>f(`compact`),t[120]=f,t[121]=Fe);let Ie;t[122]!==g.fontScaleCompact||t[123]!==Pe||t[124]!==Fe?(Ie=(0,Q.jsx)(kR,{selected:Pe,label:g.fontScaleCompact,onSelect:Fe}),t[122]=g.fontScaleCompact,t[123]=Pe,t[124]=Fe,t[125]=Ie):Ie=t[125];let Le=d==="default",Re;t[126]===f?Re=t[127]:(Re=()=>f(`default`),t[126]=f,t[127]=Re);let ze;t[128]!==g.fontScaleDefault||t[129]!==Le||t[130]!==Re?(ze=(0,Q.jsx)(kR,{selected:Le,label:g.fontScaleDefault,onSelect:Re}),t[128]=g.fontScaleDefault,t[129]=Le,t[130]=Re,t[131]=ze):ze=t[131];let Be=d===`large`,Ve;t[132]===f?Ve=t[133]:(Ve=()=>f(`large`),t[132]=f,t[133]=Ve);let He;t[134]!==g.fontScaleLarge||t[135]!==Be||t[136]!==Ve?(He=(0,Q.jsx)(kR,{selected:Be,label:g.fontScaleLarge,onSelect:Ve}),t[134]=g.fontScaleLarge,t[135]=Be,t[136]=Ve,t[137]=He):He=t[137];let Ue;t[138]!==Ie||t[139]!==ze||t[140]!==He?(Ue=(0,Q.jsxs)(`div`,{className:OR,children:[Ie,ze,He]}),t[138]=Ie,t[139]=ze,t[140]=He,t[141]=Ue):Ue=t[141];let We;t[142]!==g.fontScaleTitle||t[143]!==Ne||t[144]!==Ue?(We=(0,Q.jsx)(`div`,{className:Ne,role:`menu`,"aria-label":g.fontScaleTitle,children:Ue}),t[142]=g.fontScaleTitle,t[143]=Ne,t[144]=Ue,t[145]=We):We=t[145];let Ge;t[146]!==Ae||t[147]!==Me||t[148]!==We?(Ge=(0,Q.jsxs)(`div`,{className:`relative`,onMouseEnter:Se,children:[Ae,Me,We]}),t[146]=Ae,t[147]=Me,t[148]=We,t[149]=Ge):Ge=t[149];let Ke;t[150]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=(0,Q.jsx)(`div`,{className:`my-2 h-px bg-edge-subtle`,role:`separator`}),t[150]=Ke):Ke=t[150];let qe;t[151]===r?qe=t[152]:(qe=()=>r?.(),t[151]=r,t[152]=qe);let Je,Ye,Xe;t[153]===Symbol.for(`react.memo_cache_sentinel`)?(Je=()=>a(null),Ye=()=>a(null),Xe=(0,Q.jsx)(Cv,{className:`size-4 shrink-0 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}),t[153]=Je,t[154]=Ye,t[155]=Xe):(Je=t[153],Ye=t[154],Xe=t[155]);let Ze;t[156]===g.aboutApp?Ze=t[157]:(Ze=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-left`,children:g.aboutApp}),t[156]=g.aboutApp,t[157]=Ze);let Qe;t[158]!==qe||t[159]!==Ze?(Qe=(0,Q.jsxs)(`button`,{type:`button`,className:DR,onClick:qe,onMouseEnter:Je,onFocus:Ye,children:[Xe,Ze]}),t[158]=qe,t[159]=Ze,t[160]=Qe):Qe=t[160];let $e;t[161]===o?$e=t[162]:($e=wF(o),t[161]=o,t[162]=$e);let et,tt,nt;t[163]===Symbol.for(`react.memo_cache_sentinel`)?(et=()=>a(null),tt=()=>a(null),nt=(0,Q.jsx)(el,{className:`size-4 shrink-0 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}),t[163]=et,t[164]=tt,t[165]=nt):(et=t[163],tt=t[164],nt=t[165]);let rt;t[166]===h.sidebar.helpDocs?rt=t[167]:(rt=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-left`,children:h.sidebar.helpDocs}),t[166]=h.sidebar.helpDocs,t[167]=rt);let it;t[168]===Symbol.for(`react.memo_cache_sentinel`)?(it=(0,Q.jsx)(Yh,{className:`size-3.5 shrink-0 text-fg-subtle`,strokeWidth:2,"aria-hidden":!0}),t[168]=it):it=t[168];let at;t[169]!==$e||t[170]!==rt?(at=(0,Q.jsxs)(`a`,{href:$e,target:`_blank`,rel:`noopener noreferrer`,className:DR,onMouseEnter:et,onFocus:tt,children:[nt,rt,it]}),t[169]=$e,t[170]=rt,t[171]=at):at=t[171];let ot,st,ct;t[172]===Symbol.for(`react.memo_cache_sentinel`)?(ot=u(DR,`text-accent-fg hover:bg-accent-soft hover:text-accent-fg`),st=()=>a(null),ct=()=>a(null),t[172]=ot,t[173]=st,t[174]=ct):(ot=t[172],st=t[173],ct=t[174]);let lt;t[175]===n?lt=t[176]:(lt=()=>n?.(),t[175]=n,t[176]=lt);let ut;t[177]===Symbol.for(`react.memo_cache_sentinel`)?(ut=(0,Q.jsx)(zE,{className:`size-4 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),t[177]=ut):ut=t[177];let dt;t[178]===g.openFullPreferences?dt=t[179]:(dt=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1`,children:g.openFullPreferences}),t[178]=g.openFullPreferences,t[179]=dt);let ft;t[180]!==lt||t[181]!==dt?(ft=(0,Q.jsxs)(Gi,{to:`/settings/overview`,className:ot,onMouseEnter:st,onFocus:ct,onClick:lt,children:[ut,dt]}),t[180]=lt,t[181]=dt,t[182]=ft):ft=t[182];let pt;return t[183]!==ee||t[184]!==xe||t[185]!==Ge||t[186]!==Qe||t[187]!==at||t[188]!==ft?(pt=(0,Q.jsxs)(`div`,{className:`w-[min(calc(100vw-2rem),13rem)] shrink-0 py-0.5`,onMouseLeave:E,children:[ee,xe,Ge,Ke,Qe,at,ft]}),t[183]=ee,t[184]=xe,t[185]=Ge,t[186]=Qe,t[187]=at,t[188]=ft,t[189]=pt):pt=t[189],pt}function jR(e){return e.setPreference}function MR(e){return e.preference}function NR(e){return e.setPreference}function PR(e){return e.preference}function FR(e){return e.setLanguage}function IR(e){return e.language}function LR({collapsed:e=!1,onNavigate:t}){let n=m(v(e=>e.language)),r=n.appearanceSettings,[i,a]=(0,Y.useState)(!1),[o,s]=(0,Y.useState)(!1);return(0,Y.useEffect)(()=>{c(()=>import(`./settings-page-DL35U0x0.js`),__vite__mapDeps([0,1,2,3,4])),c(()=>import(`./sessions-page-CenkcVjF.js`),__vite__mapDeps([5,1,6,7,2,3,8,4,9])),c(()=>import(`./logs-page-B_wrxhee.js`),__vite__mapDeps([10,1,6,2,3,4,9])),c(()=>import(`./cron-page-DqmNGNOy.js`),__vite__mapDeps([11,1,12,13,14,15,2,6,7,3,16,17,18,19,20,21,9,4,22,23,24,25,26,8,27,28,29,30])),c(()=>import(`./skills-page-CLrHVzAt.js`),__vite__mapDeps([31,1,17,12,13,14,15,2,6,3,32,33,9,4]))},[]),(0,Q.jsxs)(`div`,{className:u(`flex shrink-0 flex-col`,e&&`mt-auto`,e?`items-center px-1 py-2`:`p-3`),children:[(0,Q.jsxs)(sL,{open:i,onOpenChange:a,children:[e?(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:u(`flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-full outline-none ring-offset-surface-base transition-transform`,`hover:opacity-95 active:scale-95`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2`,i&&`ring-2 ring-accent`,`motion-reduce:opacity-100 motion-reduce:active:scale-100`),"aria-expanded":i,"aria-haspopup":`dialog`,title:n.sidebar.appMenuAria,"aria-label":n.sidebar.appMenuAria,children:(0,Q.jsx)(yP,{className:`size-full rounded-full`,alt:n.appBrand})})}):(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsxs)(`button`,{type:`button`,className:u(`flex w-full min-w-0 items-center gap-2 rounded-xl p-1 text-left outline-none transition-colors duration-150 ease-out`,`hover:bg-surface-active/70`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,i&&`bg-surface-active/70`),"aria-expanded":i,"aria-haspopup":`dialog`,title:n.sidebar.appMenuAria,"aria-label":n.sidebar.appMenuAria,children:[(0,Q.jsx)(`span`,{className:`size-8 shrink-0 overflow-hidden rounded-full`,"aria-hidden":!0,children:(0,Q.jsx)(yP,{className:`size-full rounded-full`,alt:``,"aria-hidden":!0})}),(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`truncate text-sm font-semibold leading-tight text-fg`,children:n.appBrand}),(0,Q.jsx)(`div`,{className:`truncate text-xs text-fg-muted`,children:r.quickMenuHint})]}),(0,Q.jsx)(`span`,{className:u(`flex size-9 shrink-0 items-center justify-center rounded-xl text-fg-muted transition-colors`,i&&`bg-accent-soft text-accent-fg`),"aria-hidden":!0,children:(0,Q.jsx)(zE,{className:`size-[18px]`,strokeWidth:1.5})})]})}),(0,Q.jsx)(uL,{children:(0,Q.jsx)(dL,{className:u(`z-50 w-max max-w-[min(calc(100vw-1rem),28rem)] overflow-visible`,`rounded-xl border border-edge bg-surface-panel p-2 shadow-popover dark:border-edge`),side:`top`,align:e?`center`:`start`,sideOffset:8,collisionPadding:12,onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),children:(0,Q.jsx)(AR,{onOpenFullSettings:()=>{a(!1),t?.()},onAboutClick:()=>{s(!0),a(!1)}})})})]}),(0,Q.jsx)(wR,{open:o,onOpenChange:s})]})}var RR=`xopc-web-sidebar-nav-order`;function zR(){try{let e=globalThis.localStorage?.getItem(RR);if(!e)return[];let t=JSON.parse(e);return Array.isArray(t)?t.filter(e=>typeof e==`string`):[]}catch{return[]}}function BR(e){try{globalThis.localStorage?.setItem(RR,JSON.stringify(e))}catch{}}function VR(e,t,n,r,i){if(t===n)return e;let a=e.filter(e=>e!==t),o=a.indexOf(n),s=o===-1?a.length:r===`before`?o:o+1;return UR([...a.slice(0,s),t,...a.slice(s)],i)}function HR(e,t,n){return UR([...e.filter(e=>e!==t),t],n)}function UR(e,t){let n=new Set(e),r=[];for(let e of t)n.has(e)||r.push(e);return r.length===0?e:[...e,...r]}var WR=_((e,t)=>({order:zR(),move:(n,r,i)=>{let a=VR(t().order,n,r,i,new Set(t().order));a!==t().order&&(e({order:a}),queueMicrotask(()=>BR(a)))},moveToEnd:n=>{let r=HR(t().order,n,new Set(t().order));r!==t().order&&(e({order:r}),queueMicrotask(()=>BR(r)))},setOrder:t=>{e({order:t}),queueMicrotask(()=>BR(t))}})),GR=()=>c(()=>import(`./sessions-page-CenkcVjF.js`),__vite__mapDeps([5,1,6,7,2,3,8,4,9])),KR=()=>c(()=>import(`./cron-page-DqmNGNOy.js`),__vite__mapDeps([11,1,12,13,14,15,2,6,7,3,16,17,18,19,20,21,9,4,22,23,24,25,26,8,27,28,29,30])),qR=()=>c(()=>import(`./goals-page-1Ywnt4Cb.js`),__vite__mapDeps([34,1,6,2,3,4,9])),JR=()=>c(()=>import(`./goal-detail-page-bv0VRDaf.js`),__vite__mapDeps([35,1,6,2,3,4,9])),YR=()=>c(()=>import(`./notes-page-CdkjTch8.js`),__vite__mapDeps([36,1,12,13,14,15,2,6,7,3,37,38,4,9,28])),XR=()=>c(()=>import(`./note-detail-page-DpFV-EO6.js`),__vite__mapDeps([39,1,17,6,7,2,3,40,37,4,28,29,30])),ZR=()=>c(()=>import(`./workflows-page-DYyOTmFx.js`),__vite__mapDeps([41,1,6,7,2,3,27,4,9])),QR=()=>c(()=>import(`./skills-page-CLrHVzAt.js`),__vite__mapDeps([31,1,17,12,13,14,15,2,6,3,32,33,9,4])),$R=()=>c(()=>import(`./logs-page-B_wrxhee.js`),__vite__mapDeps([10,1,6,2,3,4,9])),ez=()=>c(()=>import(`./settings-page-DL35U0x0.js`),__vite__mapDeps([0,1,2,3,4])),tz=()=>c(()=>import(`./agents-CCBmGcwc.js`),__vite__mapDeps([42,1,43,6,7,2,3,16,17,18,19,20,21,9,4,22,44,45,46,26,8,47,48,49,28,29,30])),nz=()=>c(()=>import(`./channels-settings-C044DcYk.js`),__vite__mapDeps([50,1,6,7,2,51,3,52,53,9,4])),rz=()=>c(()=>import(`./apps-page-xwCsJS15.js`),__vite__mapDeps([54,1,6,7,2,3,4,9])),iz=()=>c(()=>import(`./extension-page-CvpI45WG.js`),__vite__mapDeps([55,1,2])),az=()=>c(()=>import(`./extension-settings-page-DAmR5FUe.js`),__vite__mapDeps([56,1,6,7,2,3,52,57,9,4,28])),oz=()=>c(()=>import(`./extension-debug-page-BGhE7msg.js`),__vite__mapDeps([58,1,2,3,4])),sz=()=>c(()=>import(`./share-preview-page-0FXYnSUA.js`),__vite__mapDeps([59,1,17,2,3,9,4])),cz=()=>c(()=>import(`./setup-status-panel-Ctwbp9Er.js`),__vite__mapDeps([60,1,6,7,2,3,8,4,9])),lz=()=>c(()=>import(`./agent-defaults-tabbed-page-CtwVbjOA.js`),__vite__mapDeps([44,1,6,2,3,45,9,4,46,26,8,47])),uz=()=>c(()=>import(`./agent-browser-settings-page-rGbKc2Hh.js`),__vite__mapDeps([48,1,6,2,3,45,9,4,46,49,26,8,47,28])),dz=()=>c(()=>import(`./connectors-settings-8VEWUOTj.js`),__vite__mapDeps([61,1,6,2,3,8,4,9,28])),fz=()=>c(()=>import(`./appearance-settings-Do1z0XgJ.js`),__vite__mapDeps([62,6,2,1,3,26,4,29,30])),pz=()=>c(()=>import(`./keyboard-shortcuts-settings-9AUUlQ5Q.js`),__vite__mapDeps([63,6,2,1,3,4])),mz=()=>c(()=>import(`./system-settings-panel-W1pTcojB.js`),__vite__mapDeps([64,1,6,2,3,8,4])),hz=()=>c(()=>import(`./app-management-settings-panel-28E_WfMe.js`),__vite__mapDeps([65,1,6,2,3,8,4])),gz=()=>c(()=>import(`./models-hub-panel-D0JDSbNu.js`),__vite__mapDeps([66,1,6,7,2,3,45,9,4,57,67,26,68,8,28])),_z=()=>c(()=>import(`./gateway-settings-DphpbLBc.js`),__vite__mapDeps([69,1,6,7,2,3,49,9,4,26,8,47,28])),vz=()=>c(()=>import(`./heartbeat-settings-DCST9-du.js`),__vite__mapDeps([70,1,6,7,2,3,20,21,9,4,71,23,25,67])),yz=()=>c(()=>import(`./remote-access-hub-DSYVAi96.js`),__vite__mapDeps([72,1,6,7,2,51,3,68,26,8,4,9])),bz=()=>c(()=>import(`./shares-settings-DIM3JNsr.js`),__vite__mapDeps([73,1,6,7,2,3,8,4,9])),xz=()=>c(()=>import(`./dreaming-settings-6UZE1FSK.js`),__vite__mapDeps([74,1,6,21,7,2,3,24,23,71,8,4,9])),Sz=()=>c(()=>import(`./goals-settings-ceEBjnfc.js`),__vite__mapDeps([75,1,6,7,2,3,53,9,4,67,8])),Cz=new Set;function wz(e){Cz.has(e)||(Cz.add(e),e().catch(()=>{Cz.delete(e)}))}function Tz(e){let[t]=e.split(/[?#]/,1);return t||`/`}function Ez(e){wz(ez);let t=e.slice(10);if(t===`overview`)return wz(cz);if(t===`agent-defaults`)return wz(lz);if(t===`agent-browser`)return wz(uz);if(t===`connectors`)return wz(dz);if(t===`appearance`)return wz(fz);if(t===`keyboard-shortcuts`)return wz(pz);if(t===`system`)return wz(mz);if(t===`app-management`)return wz(hz);if(t===`credentials`)return wz(gz);if(t===`gateway`)return wz(_z);if(t===`heartbeat`)return wz(vz);if(t===`tunnel`||t===`remote-access`)return wz(yz);if(t===`shares`)return wz(bz);if(t===`dreams`)return wz(xz);if(t===`goals`)return wz(Sz)}function Dz(e){if(!e.startsWith(`/`))return;let t=Tz(e);if(t===`/skills`)return wz(QR);if(t===`/cron`)return wz(KR);if(t===`/goals`)return wz(qR);if(t.startsWith(`/goals/`))return wz(JR);if(t===`/notes`)return wz(YR);if(t.startsWith(`/notes/`))return wz(XR);if(t===`/workflows`)return wz(ZR);if(t===`/channels`||t.startsWith(`/channels/`))return wz(nz);if(t===`/agents`||t.startsWith(`/agents/`))return wz(tz);if(t===`/apps`)return wz(rz);if(t.startsWith(`/apps/`))return wz(iz);if(t.startsWith(`/share/`))return wz(sz);if(t===`/settings/sessions`)return wz(GR);if(t===`/settings/logs`)return wz($R);if(t===`/settings/apps`)return wz(rz);if(t===`/settings/extensions/debug`)return wz(oz);if(t.startsWith(`/settings/ext/`))return wz(az);if(t.startsWith(`/settings/`))return Ez(t)}var Oz=null,kz=_((e,t)=>({variables:{},loaded:!1,updateContext:t=>e(e=>({variables:{...e.variables,...t}})),setContext:t=>e({variables:t,loaded:!0}),fetchContext:async()=>Oz||(Oz=(async()=>{let e=await E(T(`/api/context`));t().setContext(e)})().finally(()=>{Oz=null}),Oz)})),Az=function(e){return e[e.PermissionDenied=4001]=`PermissionDenied`,e[e.InvalidRequest=4002]=`InvalidRequest`,e[e.MethodNotFound=4003]=`MethodNotFound`,e[e.InternalError=4004]=`InternalError`,e[e.Timeout=4005]=`Timeout`,e[e.ExtensionNotFound=4006]=`ExtensionNotFound`,e[e.RateLimited=4007]=`RateLimited`,e}({}),jz=[`--color-surface-base`,`--color-surface-panel`,`--color-surface-hover`,`--color-fg`,`--color-fg-muted`,`--color-fg-subtle`,`--color-accent`,`--color-accent-hover`,`--color-accent-soft`,`--color-edge`,`--color-edge-subtle`,`--color-danger`,`--color-success`,`--color-warning`,`--radius-sm`,`--radius-lg`,`--radius-xl`];function Mz(e){let t=getComputedStyle(document.documentElement),n={};for(let e of jz){let r=t.getPropertyValue(e).trim();r&&(n[e]=r)}return{mode:e,tokens:n,fontFamily:t.getPropertyValue(`font-family`).trim(),fontFamilyMono:t.getPropertyValue(`--font-mono`).trim()}}var Nz={"agent.sendMessage":`agent.send`,"session.list":`session.read`,"session.navigate":`session.read`,"config.get":`config.read`,"config.set":`config.write`,"storage.get":`storage`,"storage.set":`storage`,"storage.remove":`storage`,"storage.keys":`storage`,"ui.notification":`notification`,"ui.navigate":`theme`,"theme.get":`theme`},Pz=class{iframes=new Map;byContentWindow=new WeakMap;handlers=new Map;extensionPermissions=new Map;eventSubscribers=new Map;agentStreamSubscriptions=new Map;boundListener=e=>{this.onWindowMessage(e)};constructor(){window.addEventListener(`message`,this.boundListener)}dispose(){window.removeEventListener(`message`,this.boundListener),this.iframes.clear(),this.handlers.clear(),this.extensionPermissions.clear(),this.eventSubscribers.clear(),this.agentStreamSubscriptions.clear()}registerIframe(e,t,n){let r=this.iframes.get(e);r&&r!==t&&r.contentWindow&&this.byContentWindow.delete(r.contentWindow),this.iframes.set(e,t),this.extensionPermissions.set(e,new Set(n)),this.rememberIframeWindow(e,t)}unregisterIframe(e){let t=this.iframes.get(e);t?.contentWindow&&this.byContentWindow.delete(t.contentWindow),this.iframes.delete(e),this.extensionPermissions.delete(e),this.agentStreamSubscriptions.delete(e)}rememberIframeWindow(e,t){let n=t.contentWindow;n&&this.byContentWindow.set(n,{extensionId:e,iframe:t})}subscribeAgentStream(e,t){let n=this.agentStreamSubscriptions.get(e);n||(n=new Set,this.agentStreamSubscriptions.set(e,n)),n.add(t)}unsubscribeAgentStream(e,t){this.agentStreamSubscriptions.get(e)?.delete(t)}forwardAgentStreamEvent(e,t){for(let[n,r]of this.agentStreamSubscriptions)r.has(e)&&this.sendEvent(n,`agent.stream.${e}`,t)}broadcastExtensionEvent(e,t,n){let r=t.startsWith(`ext.`)?t:`ext.${t}`;for(let[t]of this.iframes)t!==e&&this.sendEvent(t,r,n)}handleExtensionEvent(e,t,n){if(t.startsWith(`ext.`)){let r=t.slice(4);this.broadcastExtensionEvent(e,r,n);return}if(t===`agent.subscribe`||t===`agent.unsubscribe`){if(!(this.extensionPermissions.get(e)??new Set).has(`agent.subscribe`))return;let{sessionKey:r}=n??{};if(typeof r!=`string`||!r.trim())return;let i=r.trim();t===`agent.subscribe`?this.subscribeAgentStream(e,i):this.unsubscribeAgentStream(e,i)}}registerMethod(e,t){this.handlers.set(e,t)}subscribeExtensionEvents(e,t){let n=this.eventSubscribers.get(e);return n||(n=new Set,this.eventSubscribers.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&this.eventSubscribers.delete(e)}}sendInit(e,t,n){let r=this.iframes.get(e);if(!r?.contentWindow)return;this.rememberIframeWindow(e,r);let i=[...this.extensionPermissions.get(e)??[]];r.contentWindow.postMessage({source:`xopc-host`,type:`init`,extensionId:e,permissions:i,theme:t,locale:n},`*`)}sendEvent(e,t,n){let r=this.iframes.get(e);r?.contentWindow&&r.contentWindow.postMessage({source:`xopc-host`,type:`event`,event:t,data:n},`*`)}broadcastEvent(e,t){for(let[,n]of this.iframes)n.contentWindow?.postMessage({source:`xopc-host`,type:`event`,event:e,data:t},`*`)}postResponse(e,t,n,r,i){let a=e.contentWindow??(t?.source instanceof Window?t.source:null),o={source:`xopc-host`,type:`response`,requestId:n,result:r,error:i};a&&a.postMessage(o,`*`)}isTrustedExtensionSource(e,t){if(t.source===null)return!0;let n=e.contentWindow;if(t.source===n)return!0;if(n&&typeof Window<`u`&&t.source instanceof Window)try{return t.source.frameElement===e}catch{}return!1}async onWindowMessage(e){let t=e.data;if(!t||t.source!==`xopc-extension`)return;let n,r=t.extensionId;if(e.source instanceof Window){let t=this.byContentWindow.get(e.source);t&&(n=t.iframe,r=t.extensionId)}if(n||(n=this.iframes.get(t.extensionId),r=t.extensionId),!n||!(e.source instanceof Window&&this.byContentWindow.has(e.source))&&!this.isTrustedExtensionSource(n,e))return;if(t.type===`event`){this.handleExtensionEvent(r,t.event,t.data);let e=this.eventSubscribers.get(r);if(e){let n={event:t.event,data:t.data};for(let t of e)try{t(n)}catch{}}return}if(t.type!==`request`)return;let{requestId:i,method:a,params:o}=t,s=this.handlers.get(a);if(!s){this.postResponse(n,e,i,void 0,{code:Az.MethodNotFound,message:`Unknown method: ${a}`});return}let c=Nz[a],l=this.extensionPermissions.get(r)??new Set;if(c&&!l.has(c)){this.postResponse(n,e,i,void 0,{code:Az.PermissionDenied,message:`Missing permission: ${c}`});return}try{let t=await s(r,o);this.postResponse(n,e,i,t)}catch(t){let r=t instanceof Error?t.message:String(t);this.postResponse(n,e,i,void 0,{code:Az.InternalError,message:r})}}};function Fz(e){e.registerMethod(`theme.get`,async()=>Mz(b.getState().resolved)),e.registerMethod(`ui.navigate`,async(e,t)=>{let n=t&&typeof t==`object`&&t&&`path`in t?String(t.path??``):``;n&&window.dispatchEvent(new CustomEvent(`extension-navigate`,{detail:{path:n}}))}),e.registerMethod(`ui.notification`,async(e,t)=>{if(!t||typeof t!=`object`)return;let n=t,r=typeof n.title==`string`?n.title.trim():``;r&&j({type:n.type===`success`||n.type===`warning`||n.type===`error`||n.type===`info`?n.type:`info`,title:r,message:typeof n.message==`string`?n.message:void 0,duration:typeof n.duration==`number`?n.duration:void 0})}),e.registerMethod(`session.navigate`,async(e,t)=>{let n=t&&typeof t==`object`&&t&&`sessionKey`in t?String(t.sessionKey??``):``;n&&window.dispatchEvent(new CustomEvent(`navigate-to-chat`,{detail:{sessionKey:n},bubbles:!0}))}),e.registerMethod(`session.list`,async()=>{let e=await k(T(`/api/sessions`));if(!e.ok)throw Error(`Failed to list sessions: ${e.status}`);return((await e.json()).items??[]).map(e=>({sessionKey:e.key,title:e.name,lastMessageAt:e.updatedAt??e.lastAccessedAt,messageCount:e.messageCount}))}),e.registerMethod(`agent.sendMessage`,async(e,t)=>{let{message:n,sessionKey:r,newSession:i}=t,a=await k(T(`/api/agent`),{method:`POST`,headers:{Accept:`application/json`},body:JSON.stringify({message:n,channel:`webchat`,sessionKey:i?void 0:r,newSession:!!i})});if(!a.ok)throw Error(`Agent request failed: ${a.status}`);let o=await a.json();return{sessionKey:o.payload?.sessionKey??o.payload?.key??o.sessionKey??r??``}}),e.registerMethod(`config.get`,async e=>{let t=await k(T(`/api/extensions/${encodeURIComponent(e)}/config`));if(!t.ok)throw Error(`Failed to get config: ${t.status}`);return t.json()}),e.registerMethod(`config.set`,async(e,t)=>{let n=t&&typeof t==`object`&&t&&!Array.isArray(t)?t:{},r=await k(T(`/api/extensions/${encodeURIComponent(e)}/config`),{method:`PATCH`,body:JSON.stringify(n)});if(!r.ok)throw Error(`Failed to set config: ${r.status}`)}),e.registerMethod(`storage.get`,async(e,t)=>{let n=t&&typeof t==`object`&&t&&`key`in t?String(t.key??``):``,r=await k(T(`/api/extensions/${encodeURIComponent(e)}/storage/${encodeURIComponent(n)}`));if(r.status!==404){if(!r.ok)throw Error(`Failed to get storage key: ${r.status}`);return(await r.json()).value}}),e.registerMethod(`storage.set`,async(e,t)=>{let n=t,r=n&&typeof n.key==`string`?n.key:``,i=await k(T(`/api/extensions/${encodeURIComponent(e)}/storage/${encodeURIComponent(r)}`),{method:`PUT`,body:JSON.stringify({value:n?.value})});if(!i.ok)throw Error(`Failed to set storage key: ${i.status}`)}),e.registerMethod(`storage.remove`,async(e,t)=>{let n=t&&typeof t==`object`&&t&&`key`in t?String(t.key??``):``,r=await k(T(`/api/extensions/${encodeURIComponent(e)}/storage/${encodeURIComponent(n)}`),{method:`DELETE`});if(r.status!==404&&!r.ok)throw Error(`Failed to remove storage key: ${r.status}`)}),e.registerMethod(`storage.keys`,async e=>{let t=await k(T(`/api/extensions/${encodeURIComponent(e)}/storage`));if(!t.ok)throw Error(`Failed to list storage keys: ${t.status}`);return(await t.json()).keys??[]})}function Iz(e){return e.active||e.activationEligible===!0}function Lz(e){let t=e.ui?.contributions;return t?Array.isArray(t.pages)&&t.pages.length>0||Array.isArray(t.settingsPanels)&&t.settingsPanels.length>0||Array.isArray(t.chatWidgets)&&t.chatWidgets.length>0||Array.isArray(t.sidebarPanels)&&t.sidebarPanels.length>0:!1}function Rz(e){return e.source===`bundled`&&e.hasUi===!0&&Lz(e)}function zz(e){return e.kind===`image-generation`||e.kind===`media-provider`}function Bz(e){return Iz(e)?e.hasConfigSchema||zz(e)?!0:e.hasUi?Lz(e):!1:!1}function Vz(e){return Bz(e)||Rz(e)}var Hz=(0,Y.createContext)(null);function Uz({children:e}){let t=(0,Y.useRef)(null);if(!t.current){let e=new Pz;Fz(e),t.current=e}let n=t.current,r=w(e=>!!e.token),{data:i,isLoading:a}=ie(r?`gateway-extensions-list`:null,()=>E(T(`/api/extensions`)),{revalidateOnFocus:!1}),o=i?.extensions??[],s=b(e=>e.resolved);(0,Y.useEffect)(()=>{r&&kz.getState().fetchContext()},[r]),(0,Y.useEffect)(()=>{let e=e=>{let t=e.detail;t&&typeof t==`object`&&!Array.isArray(t)&&kz.getState().updateContext(t)},t=()=>{kz.getState().fetchContext()};return window.addEventListener(`context-update`,e),window.addEventListener(`config-reload`,t),window.addEventListener(`registry-updated`,t),()=>{window.removeEventListener(`context-update`,e),window.removeEventListener(`config-reload`,t),window.removeEventListener(`registry-updated`,t)}},[]);let c=(0,Y.useCallback)(e=>{let t=e.detail;t?.sessionKey&&n.forwardAgentStreamEvent(t.sessionKey,t.event??t)},[n]),l=(0,Y.useRef)(c);l.current=c,(0,Y.useEffect)(()=>{let e=e=>{l.current(e)};return window.addEventListener(`agent-stream-event`,e),()=>{window.removeEventListener(`agent-stream-event`,e)}},[]),(0,Y.useEffect)(()=>{let e=Mz(s);n.broadcastEvent(`theme.changed`,e)},[s,n]);let u=(0,Y.useRef)(n);u.current=n,(0,Y.useEffect)(()=>()=>{u.current.dispose(),t.current=null},[]);let d=(0,Y.useMemo)(()=>({router:n,extensions:o,loading:a}),[n,o,a]);return(0,Q.jsx)(Hz.Provider,{value:d,children:e})}function Wz(){let e=(0,Y.useContext)(Hz);if(!e)throw Error(`useExtensionRouter must be used within ExtensionProvider`);return e.router}function Gz(){let e=(0,Y.useContext)(Hz);if(!e)throw Error(`useExtensions must be used within ExtensionProvider`);return e.extensions}function Kz(){let e=(0,Z.c)(2),t=Gz(),n;return e[0]===t?n=e[1]:(n=t.filter(Bz),e[0]=t,e[1]=n),n}function qz(){let e=(0,Y.useContext)(Hz);if(!e)throw Error(`useExtensionsLoading must be used within ExtensionProvider`);return e.loading}function Jz(e,t){return t.path.startsWith(`/apps/`)?t.path:`/apps/${e}/${t.id.startsWith(`${e}.`)?t.id.slice(e.length+1):t.id}`}function Yz(e){return hP[e.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``)]}var Xz=[{id:`builtin:agents`,to:`/agents`,Icon:BM},{id:`builtin:goals`,to:`/goals`,Icon:ay},{id:`builtin:skills`,to:`/skills`,Icon:Fv},{id:`builtin:cron`,to:`/cron`,Icon:hp},{id:`builtin:channels`,to:`/channels`,Icon:dw},{id:`builtin:notes`,to:`/notes`,Icon:Wk},{id:`builtin:workflows`,to:`/workflows`,Icon:uv}];function Zz(e,t){let n=new Map;for(let t of e)n.set(t.id,t);let r=[],i=new Set;for(let e of t){let t=n.get(e);!t||i.has(e)||(r.push(t),i.add(e))}for(let t of e)i.has(t.id)||(r.push(t),i.add(t.id));return r.length<=4?{visible:r,overflow:[],hasOverflow:!1}:{visible:r.slice(0,4),overflow:r.slice(4),hasOverflow:!0}}var Qz=`text/plain`,$z=`xopc-nav:`;function eB(e){return`${$z}${e}`}function tB(e){return e.startsWith($z)?e.slice(9):null}function nB(e){let t=e.currentTarget.getBoundingClientRect();return e.clientY<t.top+t.height/2?`before`:`after`}function rB({isActive:e},t,n,r){return u(`group relative flex w-full items-center text-sm font-medium leading-6 transition-colors duration-200 ease-out`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,t?`justify-center rounded-xl p-2.5`:`gap-2 rounded-lg px-3 py-2 text-left`,e?`bg-accent-soft text-accent-fg`:`text-fg-muted hover:bg-surface-hover hover:text-fg`,n&&`opacity-40`,r===`before`&&`shadow-[inset_0_2px_0_0_var(--color-accent)]`,r===`after`&&`shadow-[inset_0_-2px_0_0_var(--color-accent)]`)}function iB({isActive:e},t,n){return u(`group relative flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm font-medium leading-5 transition-colors`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,e?`bg-accent-soft text-accent-fg`:`text-fg-muted hover:bg-surface-hover hover:text-fg`,t&&`opacity-40`,n===`before`&&`shadow-[inset_0_2px_0_0_var(--color-accent)]`,n===`after`&&`shadow-[inset_0_-2px_0_0_var(--color-accent)]`)}function aB(e){let t=(0,Z.c)(11),{item:n,collapsed:r}=e,{Icon:i,letter:a}=n;if(i){let e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=u(`size-4`,`shrink-0 opacity-90`),t[0]=e):e=t[0];let n;return t[1]===i?n=t[2]:(n=(0,Q.jsx)(i,{className:e,strokeWidth:1.75,"aria-hidden":!0}),t[1]=i,t[2]=n),n}let o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=u(`size-4`,`flex shrink-0 items-center justify-center text-[10px] font-bold opacity-70`),t[3]=o):o=t[3];let s;t[4]!==n.label||t[5]!==a?(s=a??n.label.charAt(0),t[4]=n.label,t[5]=a,t[6]=s):s=t[6];let c;t[7]===s?c=t[8]:(c=s.toUpperCase(),t[7]=s,t[8]=c);let l;return t[9]===c?l=t[10]:(l=(0,Q.jsx)(`span`,{className:o,"aria-hidden":!0,children:c}),t[9]=c,t[10]=l),l}function oB(e){let t=[];for(let n of e){if(n.activationEligible===!1)continue;let e=n.ui?.contributions?.pages;if(e)for(let r of e){if(!r.showInNav)continue;let e=r.navIcon?Yz(r.navIcon):void 0;t.push({id:`ext:${n.id}:${r.id}`,kind:`extension`,label:r.title,to:Jz(n.id,r),Icon:e,letter:r.title.charAt(0),title:r.title})}}return t}function sB(e){let t=(0,Z.c)(52),{collapsed:n,onNavigate:r}=e,i=n===void 0?!1:n,a=v(pB),o;t[0]===a?o=t[1]:(o=m(a),t[0]=a,t[1]=o);let s=o,c=Kz(),l=WR(fB),d=WR(dB),f=WR(uB),[p,h]=(0,Y.useState)(null),[g,_]=(0,Y.useState)(null),[y,b]=(0,Y.useState)(!1),[x,S]=(0,Y.useState)(!1),C;if(t[2]!==s.nav||t[3]!==c){let e;t[5]===s.nav?e=t[6]:(e=e=>{let t=e.id.slice(8);return{id:e.id,kind:`builtin`,label:s.nav[t],to:e.to,Icon:e.Icon}},t[5]=s.nav,t[6]=e);let n=Xz.map(e),r=oB(c);C=[...n,...r],t[2]=s.nav,t[3]=c,t[4]=C}else C=t[4];let w=C,T;t[7]!==w||t[8]!==l?(T=Zz(w,l),t[7]=w,t[8]=l,t[9]=T):T=t[9];let E=T,D;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>t=>{t.dataTransfer.setData(Qz,eB(e)),t.dataTransfer.effectAllowed=`move`,h(e)},t[10]=D):D=t[10];let O=D,k;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(k=()=>{h(null),_(null),b(!1)},t[11]=k):k=t[11];let A=k,j;t[12]!==p||t[13]!==g?(j=e=>t=>{if(!p)return;t.preventDefault(),t.dataTransfer.dropEffect=`move`;let n=nB(t);g?.id===e&&g.position===n||_({id:e,position:n})},t[12]=p,t[13]=g,t[14]=j):j=t[14];let M=j,N;t[15]===d?N=t[16]:(N=e=>t=>{t.preventDefault();let n=tB(t.dataTransfer.getData(Qz));if(!n||n===e){A();return}d(n,e,nB(t)),A()},t[15]=d,t[16]=N);let P=N,F;t[17]===p?F=t[18]:(F=e=>{p&&(e.preventDefault(),e.dataTransfer.dropEffect=`move`,b(!0))},t[17]=p,t[18]=F);let I=F,L;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(L=()=>b(!1),t[19]=L):L=t[19];let R=L,z;t[20]===f?z=t[21]:(z=e=>{e.preventDefault();let t=tB(e.dataTransfer.getData(Qz));t&&f(t),A()},t[20]=f,t[21]=z);let B=z,V=lB,H;t[22]!==i||t[23]!==p||t[24]!==g||t[25]!==r||t[26]!==M||t[27]!==P?(H=function(e){let t=p===e.id,n=g?.id===e.id?g.position:null;return(0,Q.jsxs)(Ki,{to:e.to,draggable:!0,onDragStart:O(e.id),onDragEnd:A,onDragOver:M(e.id),onDrop:P(e.id),className:e=>rB(e,i,t,n),title:e.title??e.label,onMouseEnter:()=>V(e.to),onFocus:()=>V(e.to),onClick:()=>r?.(),children:[(0,Q.jsx)(aB,{item:e,collapsed:i}),i?null:(0,Q.jsx)(`span`,{className:`truncate`,children:e.label})]},e.id)},t[22]=i,t[23]=p,t[24]=g,t[25]=r,t[26]=M,t[27]=P,t[28]=H):H=t[28];let U=H,W;t[29]!==i||t[30]!==p||t[31]!==g||t[32]!==s.sidebar.moreApps||t[33]!==s.sidebar.moreAppsAria||t[34]!==y||t[35]!==I||t[36]!==B||t[37]!==r||t[38]!==M||t[39]!==P||t[40]!==x||t[41]!==E.overflow?(W=function(){return(0,Q.jsxs)(sL,{open:x,onOpenChange:S,children:[(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsxs)(`button`,{type:`button`,onDragOver:I,onDragLeave:R,onDrop:B,className:u(`flex w-full items-center text-sm font-medium leading-6 transition-colors duration-200 ease-out`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,i?`justify-center rounded-xl p-2.5`:`gap-2 rounded-lg px-3 py-2 text-left`,x?`bg-surface-hover text-fg`:`text-fg-muted hover:bg-surface-hover hover:text-fg`,y&&`ring-2 ring-accent ring-offset-2 ring-offset-surface-base`),"aria-label":s.sidebar.moreAppsAria,title:s.sidebar.moreApps,children:[(0,Q.jsx)(Bh,{className:`size-4 shrink-0 opacity-90`,strokeWidth:1.75,"aria-hidden":!0}),i?null:(0,Q.jsx)(`span`,{className:`truncate`,children:s.sidebar.moreApps})]})}),(0,Q.jsx)(uL,{children:(0,Q.jsx)(dL,{side:`right`,align:`start`,sideOffset:8,collisionPadding:8,className:u(`z-50 min-w-[14rem] max-w-[20rem] rounded-lg border border-edge bg-surface-panel p-1 shadow-md`),onOpenAutoFocus:cB,children:(0,Q.jsx)(`ul`,{className:`flex flex-col gap-0.5`,role:`list`,"aria-label":s.sidebar.moreAppsAria,children:E.overflow.map(e=>{let t=p===e.id,n=g?.id===e.id?g.position:null;return(0,Q.jsx)(`li`,{className:`contents`,children:(0,Q.jsxs)(Ki,{to:e.to,draggable:!0,onDragStart:O(e.id),onDragEnd:A,onDragOver:M(e.id),onDrop:P(e.id),className:e=>iB(e,t,n),title:e.title??e.label,onMouseEnter:()=>V(e.to),onFocus:()=>V(e.to),onClick:()=>{S(!1),r?.()},children:[(0,Q.jsx)(aB,{item:e}),(0,Q.jsx)(`span`,{className:`truncate`,children:e.label})]})},e.id)})})})})]})},t[29]=i,t[30]=p,t[31]=g,t[32]=s.sidebar.moreApps,t[33]=s.sidebar.moreAppsAria,t[34]=y,t[35]=I,t[36]=B,t[37]=r,t[38]=M,t[39]=P,t[40]=x,t[41]=E.overflow,t[42]=W):W=t[42];let G=W,K;t[43]!==E.visible||t[44]!==U?(K=E.visible.map(U),t[43]=E.visible,t[44]=U,t[45]=K):K=t[45];let ee;t[46]!==E.hasOverflow||t[47]!==G?(ee=E.hasOverflow?G():null,t[46]=E.hasOverflow,t[47]=G,t[48]=ee):ee=t[48];let te;return t[49]!==K||t[50]!==ee?(te=(0,Q.jsxs)(Q.Fragment,{children:[K,ee]}),t[49]=K,t[50]=ee,t[51]=te):te=t[51],te}function cB(e){return e.preventDefault()}function lB(e){Dz(e)}function uB(e){return e.moveToEnd}function dB(e){return e.move}function fB(e){return e.order}function pB(e){return e.language}var mB={feishu:`/channel-icons/feishu.svg`,lark:`/channel-icons/lark.svg`,telegram:`/channel-icons/telegram.svg`,wechat:`/channel-icons/wechat.svg`,weixin:`/channel-icons/weixin.svg`};function hB(e){let t=(0,Z.c)(9),{sourceChannel:n,className:r}=e,i=mB[n.toLowerCase()];if(i){let e;t[0]===r?e=t[1]:(e=u(`shrink-0`,r),t[0]=r,t[1]=e);let n;return t[2]!==i||t[3]!==e?(n=(0,Q.jsx)(`img`,{src:i,alt:``,draggable:!1,className:e,"aria-hidden":!0}),t[2]=i,t[3]=e,t[4]=n):n=t[4],n}let a;t[5]===r?a=t[6]:(a=u(`shrink-0`,r),t[5]=r,t[6]=a);let o;return t[7]===a?o=t[8]:(o=(0,Q.jsx)(pv,{className:a,strokeWidth:1.75,"aria-hidden":!0}),t[7]=a,t[8]=o),o}var gB=`inline-flex items-center gap-px rounded-pill border border-edge bg-surface-hover p-1 dark:border-edge`,_B=`inline-flex shrink-0 items-center justify-center rounded-pill text-xs font-medium leading-none transition-[color,background-color,box-shadow] duration-150 ease-out text-fg-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel active:scale-100`,vB=`bg-surface-panel shadow-sm dark:bg-surface-panel dark:shadow-sm dark:ring-1 dark:ring-edge-strong/40`,yB=1;function bB(e,t){let n=0,r=0,i=e;for(;i&&i!==t;)n+=i.offsetLeft,r+=i.offsetTop,i=i.offsetParent;return i===t?{x:n,y:r}:null}var xB=`pointer-events-none absolute left-0 top-0 z-[1] rounded-pill bg-surface-panel shadow-sm will-change-transform [backface-visibility:hidden] dark:bg-surface-panel dark:shadow-sm dark:ring-1 dark:ring-edge-strong/40`,SB=`relative z-[2] box-border flex h-6 min-h-0 min-w-0 flex-1 cursor-pointer items-center justify-center gap-1 rounded-pill border-0 bg-transparent px-2 py-0 text-center text-xs font-medium leading-none outline-none transition-[color,background-color,box-shadow] duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel active:scale-100 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`;function CB({value:e,onChange:t,options:n,"aria-label":r,className:i,buttonClassName:a}){let o=(0,Y.useRef)(null),s=(0,Y.useRef)([]),[c,l]=(0,Y.useState)({x:0,y:0,w:0,h:0}),[d,f]=(0,Y.useState)(!1),[p,m]=(0,Y.useState)(!1),h=(0,Y.useCallback)(()=>{let t=o.current;if(!t)return;let r=n.findIndex(t=>t.value===e);if(r<0)return;let i=s.current[r];if(!i)return;let a=yB,c=t.getBoundingClientRect(),u=i.getBoundingClientRect(),d=bB(i,t),p,m;if(d)p=d.x,m=d.y;else{let e=getComputedStyle(t),n=parseFloat(e.borderLeftWidth)||0,r=parseFloat(e.borderTopWidth)||0;p=u.left-c.left-n,m=u.top-c.top-r}l({x:p+a,y:m+a,w:Math.max(0,u.width-a*2),h:Math.max(0,u.height-a*2)}),f(!0)},[n,e]),g=(0,Y.useRef)(h);return g.current=h,(0,Y.useLayoutEffect)(()=>{let e=requestAnimationFrame(()=>h());return()=>cancelAnimationFrame(e)},[h]),(0,Y.useEffect)(()=>{let e=requestAnimationFrame(()=>{requestAnimationFrame(()=>m(!0))});return()=>cancelAnimationFrame(e)},[]),(0,Y.useEffect)(()=>{let e=o.current;if(!e)return;let t=()=>{requestAnimationFrame(()=>g.current())},n=new ResizeObserver(t);return n.observe(e),window.addEventListener(`resize`,t),()=>{n.disconnect(),window.removeEventListener(`resize`,t)}},[]),(0,Q.jsxs)(`div`,{ref:o,className:u(gB,`relative isolate flex w-full max-w-full flex-row items-center`,i),role:`group`,"aria-label":r,children:[(0,Q.jsx)(`div`,{"aria-hidden":!0,className:u(xB,`motion-reduce:!transition-none motion-reduce:!duration-0`,p&&`transition-[transform,width,height] duration-300 [transition-timing-function:cubic-bezier(0.32,0.72,0,1)]`),style:{width:c.w,height:c.h,transform:`translate3d(${c.x}px, ${c.y}px, 0)`,opacity:d&&c.w>0?1:0}}),n.map((n,r)=>{let i=n.icon,o=e===n.value;return(0,Q.jsxs)(`button`,{ref:e=>{s.current[r]=e},type:`button`,"aria-pressed":o,title:n.title??n.label,onClick:()=>t(n.value),className:u(SB,o?`text-fg`:`text-fg-subtle`,a),children:[i?(0,Q.jsx)(i,{className:`block size-3 shrink-0 opacity-80`,strokeWidth:1.75,"aria-hidden":!0}):null,(0,Q.jsx)(`span`,{className:`min-w-0 shrink truncate leading-none`,children:n.label})]},n.value)})]})}function wB(){return T(`/api/config`)}var TB=null;async function EB(){return TB||(TB=E(wB()).finally(()=>{TB=null}),TB)}function DB(e){let t=(0,Z.c)(6),n;t[0]===e?n=t[1]:(n=e?wB():null,t[0]=e,t[1]=n);let r=n,i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i={revalidateOnFocus:!1},t[2]=i):i=t[2];let a=ie(r,EB,i),o,s;return t[3]===e?(o=t[4],s=t[5]):(o=()=>{if(!e)return;let t=wB(),n=e=>{se(e.detail)||J(t)};return window.addEventListener(`config-reload`,n),()=>window.removeEventListener(`config-reload`,n)},s=[e],t[3]=e,t[4]=o,t[5]=s),(0,Y.useEffect)(o,s),a}function OB(){return J(wB())}var kB=null;async function AB(){return kB||(kB=jB().finally(()=>{kB=null}),kB)}async function jB(){let e=await k(T(`/api/agents`));if(e.ok){let t=await e.json();if(t.ok&&t.payload?.defaultId&&Array.isArray(t.payload.agents)){let e=t.payload.defaultId.trim().toLowerCase(),n=t.payload.agents.filter(e=>!!(e&&typeof e.id==`string`&&e.id.trim())).map(e=>({id:e.id.trim().toLowerCase(),name:typeof e.name==`string`&&e.name.trim()?e.name.trim():void 0,description:typeof e.description==`string`&&e.description.trim()?e.description.trim():void 0,...typeof e.avatar==`string`&&e.avatar.trim()?{avatar:e.avatar.trim()}:{}}));if(n.length>0)return{defaultId:e,items:n}}}let t=(await EB()).payload?.config?.agents,n=(t?.defaultId??`main`).trim().toLowerCase(),r=(Array.isArray(t?.list)?t.list:[]).filter(e=>!!(e&&typeof e.id==`string`&&e.id.trim())).map(e=>({id:e.id.trim().toLowerCase()}));return r.length===0?{defaultId:n,items:[{id:n}]}:{defaultId:n,items:r}}function MB(e){return typeof e==`object`&&!!e&&`role`in e}function NB(e){if(!e||typeof e!=`object`)return!1;let t=e.type;return t===`tool_use`||t===`tool_call`||t===`toolCall`}function PB(e){return typeof e==`object`&&!!e}function FB(e){return typeof e.id==`string`&&e.id.length>0?e.id:crypto.randomUUID()}function IB(e){if(typeof e!=`string`)return e;try{return JSON.parse(e)}catch{return e}}function LB(e){return IB(e.args??e.arguments??e.input??e.function?.arguments)??{}}function RB(e){if(typeof e==`string`){let t=Date.parse(e);return Number.isNaN(t)?Date.now():t}return Date.now()}var zB=3e5;function BB(e,t){let n=new URLSearchParams({uri:e.trim()});return t?.trim()&&n.set(`sessionKey`,t.trim()),`/api/media/read?${n.toString()}`}function VB(e){if(typeof e.content==`string`&&e.content.length>0)return e.content;if(typeof e.data==`string`&&e.data.length>0)return e.data}var HB=[`.txt`,`.md`,`.json`,`.xml`,`.html`,`.css`,`.js`,`.ts`,`.jsx`,`.tsx`,`.yml`,`.yaml`];function UB(e){let t=e.mimeType?.toLowerCase()??``;if(t.startsWith(`text/`)||t===`application/json`||t===`application/xml`||t===`application/javascript`||t===`application/typescript`)return!0;let n=e.name?.toLowerCase()??``;return HB.some(e=>n.endsWith(e))}function WB(e){if(e.extractedText!=null&&e.extractedText!==``)return e.extractedText;if(!UB(e))return;let t=VB(e);if(t)try{let e=qB(t);return new TextDecoder(`utf-8`,{fatal:!1}).decode(new Uint8Array(e))}catch{return}}function GB(e,t){let n=t.trim();if(n.startsWith(`data:`))return n;let r=n.replace(/\s/g,``);return`data:${e&&typeof e==`string`&&e.includes(`/`)?e:`application/octet-stream`};base64,${r}`}function KB(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e<t.length;e+=r){let i=t.subarray(e,e+r);n+=String.fromCharCode(...i)}return btoa(n)}function qB(e){if(e==null||e===``)throw Error(`Missing file data`);let t=e;if(e.startsWith(`data:`)){let n=e.match(/base64,(.+)/);n&&(t=n[1])}let n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r.buffer}function JB(e){let t=[`B`,`KB`,`MB`,`GB`],n=0,r=e;for(;r>=1024&&n<t.length-1;)r/=1024,n++;return`${r.toFixed(1)} ${t[n]}`}function YB(e){let t=e.toLowerCase();for(let[e,n]of[[`.pdf`,`application/pdf`],[`.docx`,`application/vnd.openxmlformats-officedocument.wordprocessingml.document`],[`.pptx`,`application/vnd.openxmlformats-officedocument.presentationml.presentation`],[`.xlsx`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`],[`.xls`,`application/vnd.ms-excel`],[`.png`,`image/png`],[`.jpg`,`image/jpeg`],[`.jpeg`,`image/jpeg`],[`.gif`,`image/gif`],[`.webp`,`image/webp`],[`.bmp`,`image/bmp`],[`.svg`,`image/svg+xml`],[`.svgz`,`image/svg+xml`],[`.ico`,`image/x-icon`],[`.tif`,`image/tiff`],[`.tiff`,`image/tiff`],[`.avif`,`image/avif`],[`.jxl`,`image/jxl`]])if(t.endsWith(e))return n}function XB(e,t){return(t?.startsWith(`text/`)??!1)||HB.some(t=>e.toLowerCase().endsWith(t))}function ZB(e){if(Array.isArray(e))return e.map(e=>QB(e))}function QB(e){if(!e||typeof e!=`object`)return{name:`file`,mimeType:`application/octet-stream`};let t=e,n=$B(t.uri),r=eV(t.name),i=tV(t.mimeType,r),a=typeof t.type==`string`?t.type:void 0,o=a===`photo`||a===`image`||i.startsWith(`image/`)?`image`:a===`voice`||a===`audio`||i.startsWith(`audio/`)?`voice`:a;return{id:typeof t.id==`string`?t.id:void 0,name:r,mimeType:i,type:o,size:typeof t.size==`number`?t.size:void 0,uri:n,bucket:typeof t.bucket==`string`?t.bucket:void 0,path:typeof t.path==`string`?t.path:void 0}}function $B(e){return typeof e==`string`&&e.trim().startsWith(`media://`)?e.trim():void 0}function eV(e){return typeof e==`string`&&e.trim().length>0?e.trim():`file`}function tV(e,t){if(typeof e==`string`&&e.trim().length>0){let t=e.trim();if(t.toLowerCase().split(`;`)[0]?.trim()!==`application/octet-stream`)return t}return YB(t)??`application/octet-stream`}function nV(e){let t=e.uri?.trim();return t?`uri:${t}`:e.id?`id:${e.id}`:`name:${e.name??`file`}|${e.mimeType??``}`}function rV(e){if(!e?.length)return;let t=[],n=new Set;for(let r of e){let e=nV(r);n.has(e)||(n.add(e),t.push(r))}return t.length?t:void 0}var iV=`[Startup context loaded by runtime]`,aV=`...[additional startup memory truncated]...`,oV=`END_QUOTED_NOTES`;function sV(e){if(!e.includes(iV))return e;let t=e.replace(/^\uFEFF/,``);if(!t.startsWith(iV))return e;let n=-1,r=t.lastIndexOf(oV);if(r>=0)n=r+16;else{let e=t.indexOf(aV);e>=0&&(n=e+43)}if(n<0){let n=t.slice(35),r=n.indexOf(`
|
|
14
|
+
|
|
15
|
+
`);return r>=0?n.slice(r+2).replace(/^\s+/,``):e}return t.slice(n).replace(/^\s+/,``)}function cV(e){if(typeof e!=`string`||!e.includes(`## Skill:`))return e;let t=e.match(/## Skill:\s*([^\s\r\n]+)/);if(!t)return e;let n=t[1]??``;if(!n)return e;let r=[...e.matchAll(/\*\*Arguments\*\*:\s*([^\r\n]+)/g)],i=r.length>0?(r[r.length-1]?.[1]??``).trim():``;return i?`/skill:${n} ${i}`:`/skill:${n}`}function lV(e){return e.includes(`<file path=`)?e.replace(/<file\s+path="[^"]*">\r?\n[\s\S]*?<\/file>(?:\r?\n)*/g,``).replace(/\n{3,}/g,`
|
|
16
|
+
|
|
17
|
+
`).trim():e}function uV(e){return!e.includes(`[media attached:`)&&!e.includes(`xopc-media-uri:`)?e:e.replace(/\s*\[media attached:[^\]]+\]\s*\r?\nxopc-media-uri:[^\r\n]+\r?\n\s*xopc-media-path:[^\r\n]+(?:\r?\n\s*Use the read_media tool[^\r\n]*)?/g,``).replace(/\s*\[media attached:[^\]]+\]\s*/g,` `).replace(/\s*xopc-media-uri:[^\r\n]+/g,``).replace(/\s*xopc-media-path:[^\r\n]+/g,``).replace(/\s*Use the read_media tool[^\r\n]*/g,``).replace(/\n{3,}/g,`
|
|
18
|
+
|
|
19
|
+
`).trim()}function dV(e){let t=sV(e);return t=lV(t),t=uV(t),cV(t)}function fV(e){if(e.type!==`thinking`)return``;let t=e;return typeof t.text==`string`?t.text:typeof t.thinking==`string`?t.thinking:``}function pV(e,t){let n=e.map(e=>({...e})),r=new Map;for(let e=0;e<n.length;e++){let t=n[e];t.type===`tool_use`&&r.set(t.id,e)}for(let e of t){if(e.type===`tool_use`&&r.has(e.id)){let t=r.get(e.id);n[t]={...e};continue}if(e.type===`thinking`&&n.length>0){let t=n[n.length-1];if(t.type===`thinking`&&fV(t)===fV(e))continue}e.type===`tool_use`&&r.set(e.id,n.length),n.push({...e})}return n}function mV(e){if(e.length<2)return e;let t=[];for(let n of e){if(n.role!==`assistant`){t.push(n);continue}let e=t[t.length-1];e?.role===`assistant`?(e.content=pV(e.content,n.content),n.timestamp!=null&&(e.timestamp=n.timestamp),n.usage&&(e.usage=n.usage),n.attachments?.length&&(e.attachments=rV([...e.attachments??[],...n.attachments]))):t.push({...n,content:[...n.content]})}return t}function hV(e){let t=[];for(let n of e){if(!MB(n))continue;let e=n,r=String(e.role??``);if(r!==`system`){if(r===`toolResult`||r===`tool`){xV(t,e);continue}if(r===`user`){t.push(vV(e));continue}if(r===`assistant`){t.push(yV(e));continue}}}return mV(t)}function gV(e){return e.filter(e=>e.type===`text`).map(e=>({...e,text:dV(e.text)})).filter(e=>!!e.text?.trim())}function _V(e){return rV([...ZB(e.media)??[],...ZB(e.attachments)??[]])}function vV(e){let t=e.content;return{role:`user`,content:typeof t==`string`?(()=>{let e=dV(t);return e.trim()?[{type:`text`,text:e}]:[]})():gV(TV(t)),attachments:_V(e),timestamp:typeof e.timestamp==`number`?e.timestamp:RB(e.timestamp),usage:e.usage}}function yV(e){return{role:`assistant`,content:bV(e),attachments:_V(e),timestamp:typeof e.timestamp==`number`?e.timestamp:RB(e.timestamp),usage:e.usage}}function bV(e){let t=TV(e.content),n=e.tool_calls;if(Array.isArray(n))for(let e of n){if(!e?.id||t.some(t=>t.type===`tool_use`&&t.id===e.id))continue;let n=e.function?.arguments;if(typeof n==`string`)try{n=JSON.parse(n)}catch{}t.push({type:`tool_use`,id:e.id,name:e.function?.name||`tool`,input:n,status:`running`})}let r=e.toolCalls;if(Array.isArray(r))for(let e of r){let n=e.id??crypto.randomUUID();t.some(e=>e.type===`tool_use`&&e.id===n)||t.push({type:`tool_use`,id:n,name:e.name||`tool`,input:e.args,status:`running`})}return t}function xV(e,t){let n=SV(e);if(!n)return;let r=String(t.tool_call_id??t.toolCallId??``),i=CV(t.content),a=!!t.isError,o=r?n.content.find(e=>e.type===`tool_use`&&e.id===r):void 0;if(o){o.status=a?`error`:`done`,o.result=i;return}let s=n.content.filter(e=>e.type===`tool_use`&&e.status===`running`);s.length===1&&(s[0].status=a?`error`:`done`,s[0].result=i)}function SV(e){for(let t=e.length-1;t>=0;t--)if(e[t].role===`assistant`)return e[t];return null}function CV(e){return typeof e==`string`?e:Array.isArray(e)?e.filter(e=>PB(e)&&e.type===`text`).map(e=>String(e.text??``)).join(`
|
|
20
|
+
`):String(e??``)}function wV(e){let t=e.source?.data;if(typeof t==`string`&&t.length>0)return{type:`image`,source:{data:t}};let n=e.data;if(typeof n!=`string`||n.length===0)return null;let r=n.trim();return r.startsWith(`data:`)?{type:`image`,source:{data:r}}:{type:`image`,source:{data:`data:${typeof e.mimeType==`string`&&e.mimeType.includes(`/`)?e.mimeType:`image/png`};base64,${r.replace(/\s/g,``)}`}}}function TV(e){if(e==null)return[];if(typeof e==`string`)return e.trim()?[{type:`text`,text:e}]:[];if(!Array.isArray(e))return[{type:`text`,text:String(e)}];let t=[];for(let n of e){if(!PB(n))continue;let e=n.type;if(e===`text`&&typeof n.text==`string`)t.push({type:`text`,text:n.text});else if(e===`thinking`){let e=typeof n.thinking==`string`?n.thinking:typeof n.text==`string`?n.text:``;t.push({type:`thinking`,text:e,streaming:!1})}else if(e===`image`){let e=wV(n);e&&t.push(e)}else if(e===`tool_use`||e===`tool_call`){if(!NB(n))continue;let e=FB(n),r=String(n.name??n.function?.name??`tool`),i=n.input??n.function?.arguments;t.push({type:`tool_use`,id:e,name:r,input:i,status:`done`,result:typeof n.result==`string`?n.result:void 0})}else if(e===`toolCall`){if(!NB(n))continue;let e=FB(n),r=String(n.name??n.function?.name??`tool`);t.push({type:`tool_use`,id:e,name:r,input:LB(n),status:`done`,result:typeof n.result==`string`?n.result:void 0})}}return t}var EV=/^No API key found for (\S+)/i;function DV(e){try{let t=JSON.parse(e);return typeof t.kind!=`string`||typeof t.message!=`string`?null:{kind:t.kind,code:typeof t.code==`string`?t.code:t.kind,provider:typeof t.provider==`string`?t.provider:void 0,modelRef:typeof t.modelRef==`string`?t.modelRef:void 0,deepLink:typeof t.deepLink==`string`?t.deepLink:void 0,message:t.message}}catch{return null}}function OV(){return{kind:`send_failed`,code:`send_failed`,message:`Send failed`}}function kV(e){let t=e.trim();if(!t)return null;if(t.startsWith(`{`)){let e=DV(t);if(e)return e}let n=EV.exec(t);return n?{kind:`provider_setup_required`,code:`provider_setup_required`,provider:n[1].replace(/[.,]$/,``),deepLink:`/settings/credentials`,message:t}:t===`Assistant turn failed`||t.startsWith(`Error: `)?{kind:`unknown`,code:`unknown`,message:t.startsWith(`Error: `)?t.slice(7):t}:{kind:`unknown`,code:`unknown`,message:t}}function AV(e){return e.kind!==`provider_setup_required`||!e.provider?null:{kind:`provider_setup_required`,provider:e.provider,deepLink:`/settings/credentials`,message:e.message}}function jV(e){return e.replace(/^\[\d{4}-\d{2}-\d{2} \d{2}:\d{2}[^\]]*\]\s+/,``)}function MV(e){return(e??[]).filter(e=>e.type===`text`&&!!e.text).map(e=>dV(jV(e.text))).join(`
|
|
21
|
+
|
|
22
|
+
`).trim()}function NV(e,t){let n=e[t];if(!n||n.role!==`user`)return!1;for(let n=t+1;n<e.length;n++)if(e[n].role===`user`)return!1;return!0}function PV(e){if(e?.length)return e.map(e=>{let t=e.data??e.content;return{id:e.id,type:e.type??(e.mimeType?.startsWith(`image/`)?`image`:`document`),mimeType:e.mimeType,...t?{data:t}:{},name:e.name,size:e.size,...e.uri?{uri:e.uri}:{},...e.bucket?{bucket:e.bucket}:{},...e.path?{path:e.path}:{},durationSeconds:e.durationSeconds}})}function FV(e){return e===`user`}function IV(e,t){if(t<0||t>=e.length)return null;let n=e[t];if(!n||!FV(n.role))return null;let r=0;for(let n=0;n<=t;n++){let t=e[n];t&&FV(t.role)&&(r+=1)}return r-1}function LV(e,t){let n=1;for(let r=t+1;r<e.length;r++){let t=e[r];if(t&&FV(t.role))break;n+=1}return n}function RV(e){let t=typeof e.timestamp==`number`&&Number.isFinite(e.timestamp)?e.timestamp:Date.now();if(Array.isArray(e.content)||typeof e.content==`string`){let[n]=hV([{role:`user`,content:e.content,media:e.media,timestamp:t}]);return n??null}let n=typeof e.text==`string`?dV(e.text.trim()):``,r=ZB(e.media);return!n&&!r?.length?null:{role:`user`,content:n?[{type:`text`,text:n}]:[],attachments:r,timestamp:t}}var zV=12e4;function BV(e,t){if(!FV(e.role)||!FV(t.role))return!1;let n=MV(e.content).trim(),r=MV(t.content).trim();if(n&&r&&(n===r||r.startsWith(n)))return!0;let i=e.attachments?.length??0,a=t.attachments?.length??0;return i>0&&a>0&&Math.abs((t.timestamp??0)-(e.timestamp??0))<=zV}function VV(e,t){return!FV(e.role)||!FV(t.role)?!1:e.timestamp===t.timestamp?!0:MV(e.content)===MV(t.content)}var HV=32*1024*1024,UV=`xopc-pending-agent-run-changed`;function WV(e){typeof window>`u`||window.dispatchEvent(new CustomEvent(UV,{detail:{chatId:e}}))}function GV(e){return`xopc:pendingRun:${e}`}function KV(e){try{let t=globalThis.sessionStorage?.getItem(GV(e));if(!t)return!1;let n=JSON.parse(t);return typeof n.runId==`string`&&n.runId.trim().length>0}catch{return!1}}function qV(e,t){let n=t.trim();if(n)try{sessionStorage.setItem(GV(e),JSON.stringify({runId:n})),WV(e)}catch{}}var JV=class{_abort;_sseChatId=``;_trackedRunId;get isSending(){return!!this._abort}get activeChatId(){return this._sseChatId}isStreamingFor(e){return!!this._abort&&this._sseChatId===e}async send(e,t,n,r,i){this._trackedRunId=void 0,this._abort=new AbortController,this._sseChatId=t;let a=n&&n.length>10?n.slice(0,10):n,o=Date.now(),s=await k(T(`/api/agent`),{method:`POST`,headers:{Accept:`text/event-stream`},body:JSON.stringify({message:e,channel:`webchat`,chatId:t,attachments:a,thinking:r,clientCreatedAtMs:o}),signal:this._abort.signal});if(!s.ok){let e=await s.json().catch(()=>({}));throw Error(D(s.status,s.statusText,e.error?.message))}if(await new Promise(e=>requestAnimationFrame(()=>e())),(s.headers.get(`Content-Type`)||``).includes(`text/event-stream`)&&s.body){let e=this._wrapTerminalCallbacks(i);await this._consumeSSE(s.body,e.wrapped),!e.sawTerminal&&!this._abort?.signal.aborted&&e.onMissingTerminal()}else{let e=await s.json();e.ok&&e.payload?.content&&(i?.onToken(e.payload.content),i?.onResult())}this._clearPendingRun(),this._abort=void 0}abort(){this._notifyServerAbort(),this._abort?.abort(),this._abort=void 0}_notifyServerAbort(){if(this._sseChatId)try{let e=sessionStorage.getItem(GV(this._sseChatId));if(!e)return;let t=JSON.parse(e);if(typeof t.runId!=`string`||!t.runId)return;k(T(`/api/agent/abort`),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({runId:t.runId})}).catch(()=>{})}catch{}}async resume(e,t,n){this._trackedRunId=void 0,this._abort=new AbortController,this._sseChatId=t;let r=await k(T(`/api/agent/resume`),{method:`POST`,headers:{Accept:`text/event-stream`},body:JSON.stringify({runId:e,chatId:t}),signal:this._abort.signal});if(!r.ok){this._clearPendingRun(),this._abort=void 0;return}if((r.headers.get(`Content-Type`)||``).includes(`text/event-stream`)&&r.body){let e=this._wrapTerminalCallbacks(n);await this._consumeSSE(r.body,e.wrapped),!e.sawTerminal&&!this._abort?.signal.aborted&&e.onMissingTerminal()}this._clearPendingRun(),this._abort=void 0}_wrapTerminalCallbacks(e){if(!e)return{wrapped:void 0,sawTerminal:!1,onMissingTerminal:()=>{}};let t=!1,n=()=>{t=!0};return{get sawTerminal(){return t},wrapped:{...e,onResult:()=>{t||(n(),e.onResult())},onError:r=>{t||(n(),e.onError(r))}},onMissingTerminal:()=>{t||(n(),e.onResult())}}}_clearPendingRun(){let e=this._sseChatId;if(e)try{let t=GV(e),n=sessionStorage.getItem(t);if(n){let e=JSON.parse(n),t=typeof e?.runId==`string`?e.runId:``;if(this._trackedRunId&&t&&t!==this._trackedRunId)return}sessionStorage.removeItem(t),WV(e)}catch{}this._trackedRunId=void 0}async _consumeSSE(e,t){let n=e.pipeThrough(new TextDecoderStream).getReader(),r=``,i=``,a=``,o=async()=>{let{done:e,value:s}=await n.read();if(e){a&&this._dispatchSSE(i||`message`,a,t);return}r+=s;let c=r.split(`
|
|
23
|
+
`);r=c.pop()??``;for(let e of c){let n=e.replace(/\r$/,``);if(n.startsWith(`event:`))a=``,i=n.slice(6).trim();else if(n.startsWith(`data:`)){let e=n.startsWith(`data: `)?n.slice(6):n.slice(5);a+=(a?`
|
|
24
|
+
`:``)+e}else n===``&&a&&(this._dispatchSSE(i||`message`,a,t),i=``,a=``)}await o()};try{await o()}finally{n.releaseLock()}}_dispatchSSE(e,t,n){let r;try{r=JSON.parse(t)}catch{e===`run_end`&&n?.onResult();return}let i=r.payload&&typeof r.payload==`object`?r.payload:{};switch(e){case`run_start`:typeof r.runId==`string`&&this._sseChatId&&(this._trackedRunId=r.runId,qV(this._sseChatId,r.runId)),n?.onStreamStart();break;case`user_message`:{let e=RV(i.message);e&&n?.onUserMessage?.(e);break}case`user_transcript`:{let e=RV({text:i.text,media:i.media,timestamp:r.timestamp});e&&n?.onUserMessage?.(e);break}case`assistant_message_start`:n?.onStreamStart();break;case`assistant_delta`:typeof i.delta==`string`&&i.delta&&n?.onToken(i.delta);break;case`thinking_delta`:typeof i.delta==`string`&&i.delta&&n?.onThinking(i.delta,!0);break;case`thinking_end`:case`assistant_message_end`:n?.onThinkingEnd();break;case`tool_start`:{let e=String(i.toolName||`unknown`),t=typeof i.toolCallId==`string`?i.toolCallId:void 0;if(e===`clarify`)break;n?.onToolStart(e,i.args,t);break}case`tool_update`:{let e=typeof i.toolName==`string`&&i.toolName?i.toolName:`unknown`,t=typeof i.toolCallId==`string`?i.toolCallId:void 0;i.details!==void 0&&n?.onToolUpdate?.(e,t,i.details),typeof i.textDelta==`string`&&i.textDelta&&n?.onToolUpdate?.(e,t,{textDelta:i.textDelta});break}case`tool_end`:n?.onToolEnd(typeof i.toolName==`string`&&i.toolName?i.toolName:`unknown`,i.status===`error`||i.status===`cancelled`,YV(i.result));break;case`progress`:n?.onProgress({stage:String(i.stage||`thinking`),message:String(i.message||``),detail:i.detail,toolName:i.toolName,timestamp:Date.now()});break;case`compaction`:n?.onCompaction?.({status:i.status||`started`,tokensBefore:typeof i.tokensBefore==`number`?i.tokensBefore:void 0,tokensAfter:typeof i.tokensAfter==`number`?i.tokensAfter:void 0,summary:typeof i.summary==`string`?i.summary:void 0});break;case`tts_audio`:n?.onTtsAudio?.({uri:String(i.uri||``),mimeType:String(i.mimeType||`audio/mpeg`),name:String(i.name||`voice.mp3`),attachTo:i.attachTo===`last_assistant`?`last_assistant`:void 0,messageId:typeof i.messageId==`string`?i.messageId:void 0});break;case`clarify_request`:{let e=typeof i.requestId==`string`?i.requestId.trim():``,t=typeof i.question==`string`?i.question.trim():``;if(e&&t&&n?.onClarifyRequest){let r=Array.isArray(i.choices)?i.choices.filter(e=>typeof e==`string`&&e.trim().length>0):void 0,a=typeof i.default==`string`&&i.default.trim()?i.default.trim():void 0;n.onClarifyRequest({requestId:e,question:t,choices:r&&r.length>=2?r:void 0,default:a})}break}case`workflow_run_started`:{let e=i.workflowRun;if(e?.ok===!0){let t=typeof e.runId==`string`?e.runId:``,r=typeof e.sessionKey==`string`?e.sessionKey:``,i=typeof e.definitionId==`string`?e.definitionId:``,a=typeof e.parentSessionKey==`string`?e.parentSessionKey:void 0;t&&r&&i&&n?.onWorkflowRunStarted?.({runId:t,sessionKey:r,definitionId:i,parentSessionKey:a})}break}case`run_end`:n?.onResult();break;case`error`:n?.onError(String(i.message||JSON.stringify(OV())));break}}};function YV(e){if(typeof e==`string`||e==null)return e;try{return JSON.stringify(e)}catch{return String(e)}}async function XV(e){let t=String(e??``).trim();if(!t)return{active:!1};let n=await k(T(`/api/sessions/${encodeURIComponent(t)}/run`));if(!n.ok)return{active:!1};let r=(await n.json()).payload;return!r?.active||typeof r.runId!=`string`||!r.runId.trim()?{active:!1}:{active:!0,runId:r.runId.trim()}}async function ZV(e){let t=String(e??``).trim();if(!t)return null;try{let e=await XV(t);if(e.active&&e.runId)return qV(t,e.runId),e.runId}catch{}if(!KV(t))return null;try{let e=sessionStorage.getItem(GV(t));if(!e)return null;let n=JSON.parse(e);return(typeof n.runId==`string`?n.runId.trim():``)||null}catch{return null}}function QV(e){let t=new URLSearchParams;if(!e)return``;e.status&&t.set(`status`,e.status),e.search&&t.set(`search`,e.search),e.channel&&t.set(`channel`,e.channel),e.limit!=null&&t.set(`limit`,String(e.limit)),e.offset!=null&&t.set(`offset`,String(e.offset));let n=t.toString();return n?`?${n}`:``}function $V(e){return e?JSON.stringify({status:e.status,search:e.search,channel:e.channel,limit:e.limit,offset:e.offset}):`default`}var eH=new Map;async function tH(e){let t=$V(e),n=eH.get(t);if(n)return n;let r=T(`/api/sessions${QV(e)}`),i=(async()=>{let e=await le(r);if(!e.ok){let t=await e.json().catch(()=>({})),n=typeof t.error==`string`?t.error:t.error?.message;throw Error(n??`HTTP ${e.status}`)}return await e.json()})().finally(()=>{eH.delete(t)});return eH.set(t,i),i}async function nH(){return E(T(`/api/sessions/stats`))}async function rH(e,t){let n=[];t?.includeTranscript&&n.push(`transcript`),t?.includeTranscriptRows&&n.push(`transcriptRows`);let r=n.length?`?include=${n.join(`,`)}`:``,i=await E(T(`/api/sessions/${encodeURIComponent(e)}${r}`));if(!i.session)throw Error(`Session not found`);return i.session}async function iH(e){await E(T(`/api/sessions/${encodeURIComponent(e)}`),{method:`DELETE`})}async function aH(e,t){return E(T(`/api/sessions/${encodeURIComponent(e)}/rename`),{method:`POST`,body:JSON.stringify({name:t})})}async function oH(e){await E(T(`/api/sessions/${encodeURIComponent(e)}/archive`),{method:`POST`})}async function sH(e){await E(T(`/api/sessions/${encodeURIComponent(e)}/unarchive`),{method:`POST`})}async function cH(e){await E(T(`/api/sessions/${encodeURIComponent(e)}/pin`),{method:`POST`})}async function lH(e){await E(T(`/api/sessions/${encodeURIComponent(e)}/unpin`),{method:`POST`})}async function uH(e){return(await E(T(`/api/sessions/${encodeURIComponent(e)}/export?format=json`))).content}var dH=/^[a-z0-9][a-z0-9_-]{0,63}$/i,fH=/[^a-z0-9_-]+/g;function pH(e){let t=(e??``).trim();if(!t)return`main`;let n=t.toLowerCase();return dH.test(t)?n:n.replace(fH,`-`).replace(/^-+|-+$/g,``).slice(0,64)||`main`}function mH(){return`chat_${Date.now()}_${Math.random().toString(36).slice(2,8)}`}function hH(e,t){return`agent:${pH(e)}:webchat:default:direct:${t.trim().toLowerCase()}`}var gH=3e4,_H=null;function vH(e){_H={sessions:[...e],fetchedAt:Date.now()}}function yH(e){let t=e.key.trim();if(!t)return;let n=new Date().toISOString();_H={sessions:[{...e,key:t,messageCount:e.messageCount??0,updatedAt:e.updatedAt??n},...(_H?.sessions??[]).filter(e=>e.key.trim()!==t)],fetchedAt:Date.now()}}function bH(){return _H?Date.now()-_H.fetchedAt>gH?(_H=null,null):_H.sessions:null}function xH(e){return e.startsWith(`gateway:`)||e.includes(`:gateway:`)||e.includes(`:webchat:`)||e.includes(`:ui:`)}var SH=`webchat,gateway`,CH=new Map,wH=new Map,TH=class{async loadSessions(){let e=[],t=0;for(let n=0;n<100;n++){let n=await tH({channel:SH,limit:100,offset:t});for(let t of n.items)xH(t.key)&&e.push({key:t.key,name:t.name,updatedAt:t.updatedAt,messageCount:t.messageCount});if(!n.hasMore)break;t+=100}let n=e.sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime());return vH(n),n}async loadSessionAgentConfig(e){let t=CH.get(e);if(t)return t;let n=(async()=>{let t=await k(T(`/api/sessions/${encodeURIComponent(e)}/agent-config`));if(!t.ok)throw Error(`HTTP ${t.status}`);let n=await t.json();return{thinkingLevel:n.payload?.thinkingLevel??`medium`,model:typeof n.payload?.model==`string`?n.payload.model:``,reasoningLevel:n.payload?.reasoningLevel??`stream`,effectiveWorkspacePath:typeof n.payload?.effectiveWorkspacePath==`string`?n.payload.effectiveWorkspacePath:``,workingDirectoryLocked:!!n.payload?.workingDirectoryLocked}})().finally(()=>{CH.delete(e)});return CH.set(e,n),n}async patchSessionAgentConfig(e,t){let n=await k(T(`/api/sessions/${encodeURIComponent(e)}/agent-config`),{method:`PATCH`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)});if(!n.ok){let e=await n.json().catch(()=>({}));throw Error(e.error??`HTTP ${n.status}`)}}fetchSessionActiveRun(e){return XV(e)}async loadSession(e,t=0,n){let r=`${e}\0${t}\0${n??``}`,i=wH.get(r);if(i)return i;let a=(async()=>{let r=new URLSearchParams({limit:`50`});n?r.set(`before`,n):r.set(`offset`,String(t));let i=await le(T(`/api/sessions/${encodeURIComponent(e)}/history?${r.toString()}`));if(!i.ok)throw Error(`HTTP ${i.status}: ${i.statusText}`);let a=await i.json(),o=a.session?.messages||[],s=hV(o),c=typeof a.session?.name==`string`&&a.session.name.trim()?a.session.name.trim():void 0;return{messages:s,hasMore:a.pagination?.hasMore??o.length>=50,name:c,nextBeforeCursor:a.pagination?.nextBeforeCursor}})().finally(()=>{wH.delete(r)});return wH.set(r,a),a}async createSession(e){let t={channel:`webchat`},n=e?.agentId?.trim();n&&(t.agentId=n.toLowerCase()),e?.chatId?.trim()&&(t.chat_id=e.chatId.trim());let r=await k(T(`/api/sessions`),{method:`POST`,body:JSON.stringify(t)});if(!r.ok)throw Error(`HTTP ${r.status}`);return(await r.json()).session}registerSessionWithChatId(e,t){return this.createSession({agentId:e,chatId:t})}openOptimisticNewSession(e){let t=pH(e),n=mH();return{sessionKey:hH(t,n),register:this.registerSessionWithChatId(t,n)}}async fetchSessionName(e){let t=await le(T(`/api/sessions/${encodeURIComponent(e)}?offset=0&limit=1`));if(!t.ok)return;let n=(await t.json()).session?.name;return typeof n==`string`&&n.trim()?n.trim():void 0}updateUrl(e){let t=`#/chat/${encodeURIComponent(e)}`;if(location.hash!==t){let e=window.history.state,n=e&&typeof e==`object`&&!Array.isArray(e)?{...e}:e;history.replaceState(n,``,t)}}parseSessionFromHash(){let e=location.hash.slice(1),t=e.match(/^\/chat\/(.+)$/)||e.match(/^chat\/(.+)$/),n=t?decodeURIComponent(t[1]):null;return n&&n!==`new`?n:null}async deleteMessages(e,t){let n=await k(T(`/api/sessions/${encodeURIComponent(e)}/messages`),{method:`DELETE`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)});if(!n.ok){let e=await n.json().catch(()=>({}));throw Error(e.error??`HTTP ${n.status}`)}}};function EH(e,t){let n=e=>FV(e.role),r=e.filter(n).length;if(t.filter(n).length<=r)return e;let i=t.filter(n).slice(r);return i.length===0?e:mV([...e,...i])}var DH=`medium`,OH=`stream`;function kH(){return{name:null,model:``,thinkingLevel:DH,reasoningLevel:OH,modelSupportsThinking:!1}}var AH=`xopc.webchat.agentId`;function jH(){if(globalThis.localStorage===void 0)return null;try{return globalThis.localStorage.getItem(`xopc.webchat.agentId`)?.trim().toLowerCase()||null}catch{return null}}var MH=class e{static instance;sender=new JV;activeStreamSessionKey=null;activeResumeRunId=null;userAborted=!1;static get(){return e.instance||=new e,e.instance}clearActiveStreamSessionKey(e){e&&this.activeStreamSessionKey!==e||(this.activeStreamSessionKey=null)}resetRunTracking(){this.activeStreamSessionKey=null,this.activeResumeRunId=null}abort(){this.sender.abort()}isStreamingFor(e){return this.sender.isStreamingFor(e)}get isSending(){return this.sender.isSending}}.get(),NH={get current(){return MH.activeStreamSessionKey},set current(e){MH.activeStreamSessionKey=e}};function PH(e){if(e.type!==`thinking`)return``;let t=e;return(typeof t.text==`string`&&t.text.length>0?t.text:typeof t.thinking==`string`?t.thinking:``).trim()}function FH(e){if(e.role!==`assistant`)return!1;for(let t of e.content)if(t.type===`text`&&(t.text||``).trim().length>0||t.type===`thinking`&&PH(t).length>0||t.type===`tool_use`)return!0;return!1}function IH(e,t){return e&&e.role===`assistant`?{...e,content:[...e.content]}:{role:`assistant`,content:[],timestamp:t}}function LH(e){return{...e,content:e.content.map(e=>({...e})),attachments:e.attachments?e.attachments.map(e=>({...e})):void 0}}function RH(e,t){if(!t)return e;if(!e)return t;if(e.endsWith(t))return e;let n=Math.min(e.length,t.length,512);for(let r=n;r>0;r--)if(e.slice(-r)===t.slice(0,r))return e+t.slice(r);return e+t}function zH(e){let t=e[e.length-1];t?.type===`thinking`&&t.streaming&&(t.streaming=!1)}function BH(e){let t=e[e.length-1];t?.type===`thinking`&&t.streaming||e.push({type:`thinking`,text:``,streaming:!0})}function VH(e,t,n){let r=e[e.length-1];if(r?.type===`thinking`){n?r.text=RH(r.text||``,t):r.text=t,r.streaming=!0;return}e.push({type:`thinking`,text:t,streaming:!0})}function HH(e){zH(e);for(let t of e)t.type===`thinking`&&typeof t.text==`string`&&(t.text=t.text.trim())}function UH(e){for(let t of e)t.type===`tool_use`&&t.status===`running`&&(t.status=`done`)}function WH(e,t){return e.trim().toLowerCase()===t.trim().toLowerCase()}function GH(e,t){zH(e);let n=e[e.length-1];if(n?.type===`text`){n.text=RH(n.text||``,t);return}e.push({type:`text`,text:t})}function KH(e,t,n,r){zH(e);let i={type:`tool_use`,id:crypto.randomUUID(),toolCallId:r,name:t,input:n,status:`running`};e.push(i)}function qH(e,t,n,r){for(let i=e.length-1;i>=0;i--){let a=e[i];if(a.type===`tool_use`&&a.status===`running`&&WH(a.name,t)){a.status=n?`error`:`done`,a.result=r;return}}}function JH(e,t,n,r){for(let i=e.length-1;i>=0;i--){let a=e[i];if(a.type===`tool_use`&&a.status===`running`){if(n&&a.toolCallId===n){a.details=r;return}if(!n&&WH(a.name,t)){a.details=r;return}}}}var YH={streamingMsg:null,progress:null,sending:!1,streaming:!1};function XH(e){return e.map(e=>LH(e))}function ZH(e){let t=e.uri?.trim();return t?`uri:${t}`:e.id?`id:${e.id}`:`name:${e.name??`file`}|${e.mimeType??``}`}function QH(e,t){let n=[...e??[]],r=ZH(t);return n.some(e=>ZH(e)===r)||n.push({...t}),n}function $H(e){return{name:e.name,model:e.model,thinkingLevel:e.thinkingLevel,reasoningLevel:e.reasoningLevel,modelSupportsThinking:e.modelSupportsThinking,messages:XH(e.messages),hasMore:e.hasMore,streamingMsg:e.streamingMsg?LH(e.streamingMsg):null,progress:e.progress,sending:e.sending,streaming:e.streaming}}function eU(e){return String(e??``).trim()}function tU(e){return e?{name:e.name,model:e.model,thinkingLevel:e.thinkingLevel,reasoningLevel:e.reasoningLevel,modelSupportsThinking:e.modelSupportsThinking}:kH()}var nU=_((e,t)=>({focusedSessionKey:null,initLoading:!0,loadingMore:!1,shellError:null,sessions:{},setFocusedSessionKey:t=>e({focusedSessionKey:t}),setInitLoading:t=>e({initLoading:t}),setLoadingMore:t=>e({loadingMore:t}),setShellError:t=>e({shellError:t}),patchSessionMeta:(t,n)=>{let r=eU(t);r&&e(e=>{let t=e.sessions[r]??{...kH(),messages:[],hasMore:!1,...YH};return{sessions:{...e.sessions,[r]:{...t,...n}}}})},initSessionSnapshot:(t,n)=>{let r=eU(t);r&&e(e=>({sessions:{...e.sessions,[r]:$H(n)}}))},setCommittedSnapshot:(t,n)=>{let r=eU(t);r&&e(e=>{let t=e.sessions[r],i=n.hasMore,a=XH(n.messages),o=tU(t);return n.name!==void 0&&(o.name=n.name),t?rU(t)?{sessions:{...e.sessions,[r]:{...t,...o,hasMore:i}}}:{sessions:{...e.sessions,[r]:{...t,...o,messages:a,hasMore:i,...YH}}}:{sessions:{...e.sessions,[r]:{...o,messages:a,hasMore:i,...YH}}}})},updateSessionMessages:(t,n)=>{let r=eU(t);r&&e(e=>{let t=e.sessions[r];return t?{sessions:{...e.sessions,[r]:{...t,messages:XH(n(t.messages))}}}:e})},finalizeStreamingTurn:(t,n)=>{let r=eU(t);r&&e(e=>{let t=e.sessions[r],i=tU(t),a=t?.hasMore??!1;return{sessions:{...e.sessions,[r]:{...i,messages:XH(n),hasMore:a,...YH}}}})},clearStreamingState:t=>{let n=eU(t);n&&e(e=>{let t=e.sessions[n];return t?{sessions:{...e.sessions,[n]:{...t,...YH}}}:e})},clearSession:t=>{let n=eU(t);n&&e(e=>{if(!(n in e.sessions))return e;let{[n]:t,...r}=e.sessions;return{sessions:r}})},getSessionSnapshot:e=>{let n=eU(e);if(!n)return;let r=t().sessions[n];return r?$H(r):void 0},seedSessionIfEmpty:(e,n,r,i,a=!1)=>{let o=eU(e);!o||t().sessions[o]||t().initSessionSnapshot(o,{...kH(),messages:n,hasMore:a,streamingMsg:null,progress:null,sending:r,streaming:i})},setSessionFlags:(t,n)=>{let r=eU(t);r&&e(e=>{let t=e.sessions[r];return t?{sessions:{...e.sessions,[r]:{...t,...n.sending===void 0?{}:{sending:n.sending},...n.streaming===void 0?{}:{streaming:n.streaming}}}}:e})},setSessionProgress:(t,n)=>{let r=eU(t);r&&e(e=>{let t=e.sessions[r];return t?{sessions:{...e.sessions,[r]:{...t,progress:n}}}:e})},mutateSessionStreaming:(t,n,r=Date.now())=>{let i=eU(t);i&&e(e=>{let t=e.sessions[i];if(!t)return e;let a=IH(t.streamingMsg,r);return n(a),{sessions:{...e.sessions,[i]:{...t,streamingMsg:LH(a),streaming:!0}}}})},appendAttachmentToCurrentAssistant:(t,n,r)=>{let i=eU(t);i&&e(e=>{let t=e.sessions[i];if(!t)return e;if(t.streamingMsg?.role===`assistant`){let r=LH(t.streamingMsg);return r.attachments=QH(r.attachments,n),{sessions:{...e.sessions,[i]:{...t,streamingMsg:r}}}}let r=XH(t.messages);for(let a=r.length-1;a>=0;a--){let o=r[a];if(o?.role===`assistant`)return r[a]={...o,attachments:QH(o.attachments,n)},{sessions:{...e.sessions,[i]:{...t,messages:r}}}}return e})},applyHydratedTail:(t,n,r)=>{let i=eU(t);i&&e(e=>{let t=e.sessions[i];return t?{sessions:{...e.sessions,[i]:{...t,messages:XH(n),streamingMsg:r?LH(r):null,streaming:!0,sending:!0}}}:e})},appendUserMessageIfMissing:(t,n)=>{let r=eU(t);!r||!FV(n.role)||e(e=>{let t=e.sessions[r],i=tU(t);if(!t)return{sessions:{...e.sessions,[r]:{...i,messages:XH([n]),hasMore:!1,...YH}}};let a=t.messages[t.messages.length-1];return a&&BV(a,n)?{sessions:{...e.sessions,[r]:{...t,messages:XH(mV([...t.messages.slice(0,-1),n]))}}}:t.messages.some(e=>VV(e,n))?e:{sessions:{...e.sessions,[r]:{...t,messages:XH(mV([...t.messages,n]))}}}})},mergeCommittedFromServer:(t,n,r)=>{let i=eU(t);i&&e(e=>{let t=e.sessions[i],a=tU(t),o=r??t?.hasMore??!1;if(!t||!rU(t))return{sessions:{...e.sessions,[i]:{...a,messages:XH(n),hasMore:o,...YH}}};let s=EH(t.messages,n);return s===t.messages&&o===t.hasMore?e:{sessions:{...e.sessions,[i]:{...t,messages:XH(s),hasMore:o}}}})},prependHistoryMessages:(t,n,r)=>{let i=eU(t);i&&e(e=>{let t=e.sessions[i],a=tU(t);if(!t)return{sessions:{...e.sessions,[i]:{...a,messages:XH(n),hasMore:r,...YH}}};let o=new Set(t.messages.map(e=>e.timestamp)),s=mV([...n.filter(e=>!o.has(e.timestamp)),...t.messages]);return{sessions:{...e.sessions,[i]:{...t,messages:XH(s),hasMore:r}}}})}}));function rU(e){return e?e.streaming||e.sending||!!e.streamingMsg:!1}function iU(e){return nU.getState().getSessionSnapshot(e)}function aU(e){return nU.getState().sessions[eU(e)]?.messages??[]}function oU(e){let t=eU(e);if(!t)return!1;let n=nU.getState().sessions[t];return rU(n)||MH.isStreamingFor(t)?!0:KV(t)}function sU(e){let t=nU(t=>rU(t.sessions[e])),[n,r]=(0,Y.useState)(()=>oU(e)),i=(0,Y.useRef)(e);return i.current!==e&&(i.current=e,r(oU(e))),(0,Y.useEffect)(()=>{r(oU(e))},[e,t]),(0,Y.useEffect)(()=>{let t=t=>{t.detail?.chatId===e&&r(oU(e))};return window.addEventListener(UV,t),()=>window.removeEventListener(UV,t)},[e]),t||n}var cU=new Map,lU=`xopc-agent-avatar-updated`;function uU(e){let t=(cU.get(e)??0)+1;return cU.set(e,t),typeof window<`u`&&window.dispatchEvent(new CustomEvent(lU,{detail:{agentId:e}})),t}function dU(e){return cU.get(e)??0}var fU=`xopc:custom`,pU=`xopc:dicebear:`,mU=[`adventurer`,`bottts`,`lorelei`,`thumbs`,`fun-emoji`],hU=[...mU,`pixel-art`],gU=[`Avery`,`Blake`,`Casey`,`Drew`,`Eden`],_U=[`Fern`,`Gray`,`Harper`,`Indigo`,`Jules`,`Kai`,`Lane`,`Morgan`,`Noel`,`Oakley`,`Parker`,`Quinn`,`Reese`,`Sage`,`Tatum`];function vU(e){return mU.includes(e)}function yU(e){return hU.includes(e)}function bU(e,t){return`${pU}${e}:${t}`}function xU(e){if(!e.startsWith(pU))return null;let t=e.slice(14),n=t.indexOf(`:`);if(n<=0)return null;let r=t.slice(0,n),i=t.slice(n+1);return!yU(r)||!i.trim()?null:{styleId:r,seed:i}}function SU(e){let t=0;for(let n=0;n<e.length;n+=1)t=t*31+e.charCodeAt(n)>>>0;return t}function CU(e,t=128){let n=SU(e)%360,r=(e.trim().charAt(0)||`A`).toUpperCase(),i=`<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" viewBox="0 0 ${t} ${t}"><rect width="100%" height="100%" rx="${t/2}" fill="hsl(${n} 58% 42%)"/><text x="50%" y="54%" text-anchor="middle" dominant-baseline="middle" font-family="Inter, system-ui, sans-serif" font-size="${Math.round(t*.42)}" font-weight="700" fill="white">${r}</text></svg>`;return`data:image/svg+xml,${encodeURIComponent(i)}`}function wU(e,t,n,r,i){let a=t?.trim()??``,o=CU(e,r);if(!a)return{kind:`dicebear`,styleId:`adventurer`,seed:e,fallbackSrc:o};if(a===`xopc:custom`){let t=T(`/api/agents/${encodeURIComponent(e)}/avatar`),r=new URLSearchParams;n&&r.set(`token`,n),i>0&&r.set(`v`,String(i));let a=r.toString();return{kind:`sync`,src:a?`${t}?${a}`:t}}if(/^https?:\/\//i.test(a))return{kind:`sync`,src:a};let s=xU(a);return s?{kind:`dicebear`,styleId:s.styleId,seed:s.seed,fallbackSrc:o}:{kind:`dicebear`,styleId:`adventurer`,seed:e,fallbackSrc:o}}function TU(e){let t=w(e=>e.token),n=e.token===void 0?t:e.token,{agentId:r,avatar:i,size:a=44}=e,[,o]=(0,Y.useState)(0);(0,Y.useEffect)(()=>{let e=e=>{e.detail?.agentId===r&&o(e=>e+1)};return window.addEventListener(lU,e),()=>window.removeEventListener(lU,e)},[r]);let s=dU(r),l=(0,Y.useMemo)(()=>wU(r,i,n,a,s),[r,i,n,a,s]),d=l.kind===`sync`?l.src:l.fallbackSrc,[f,p]=(0,Y.useState)(d);return(0,Y.useEffect)(()=>{p(d)},[d]),(0,Y.useEffect)(()=>{if(l.kind!==`dicebear`)return;let e=!1;return c(async()=>{let{dicebearToDataUri:e}=await import(`./agent-avatar-dicebear-CBlklyNr.js`).then(e=>e.t);return{dicebearToDataUri:e}},__vite__mapDeps([43,1])).then(({dicebearToDataUri:t})=>{e||p(t(l.styleId,l.seed,a))}),()=>{e=!0}},[l,a]),(0,Q.jsx)(`img`,{src:f,alt:``,width:a,height:a,className:u(`rounded-full object-cover bg-surface-hover`,e.className),draggable:!1,onError:()=>{p(CU(r,a))}})}function EU(e){let t=(e??``).trim().toLowerCase();if(!t)return null;let n=t.split(`:`).filter(Boolean);if(n.length<3||n[0]!==`agent`)return null;let r=n[1],i=n.slice(2).join(`:`);return!r||!i?null:{agentId:r,rest:i}}function DU(e){let t=e.toLowerCase().lastIndexOf(`:thread:`);return t===-1?{baseSessionKey:e}:{baseSessionKey:e.slice(0,t),threadId:e.slice(t+8)}}function OU(e){let t=(e??``).trim();if(!t)return null;let{baseSessionKey:n,threadId:r}=DU(t),i=EU(n);if(!i)return null;let a=i.rest;if(a===`main`)return{agentId:i.agentId,source:`cli`,accountId:`default`,peerKind:`direct`,peerId:`main`,threadId:r};let o=a.split(`:`).filter(Boolean);return o.length>=4&&o[2]===`direct`?{agentId:i.agentId,source:o[0],accountId:o[1],peerKind:`direct`,peerId:o.slice(3).join(`:`),threadId:r}:o.length>=3&&o[1]===`direct`?{agentId:i.agentId,source:o[0],accountId:`default`,peerKind:`direct`,peerId:o.slice(2).join(`:`),threadId:r}:o.length>=2&&o[0]===`direct`?{agentId:i.agentId,source:`cli`,accountId:`default`,peerKind:`direct`,peerId:o.slice(1).join(`:`),threadId:r}:o.length>=3&&(o[1]===`group`||o[1]===`channel`)?{agentId:i.agentId,source:o[0],accountId:`default`,peerKind:o[1],peerId:o.slice(2).join(`:`),threadId:r}:{agentId:i.agentId,source:`cli`,accountId:`default`,peerKind:`direct`,peerId:a,threadId:r}}function kU(e){return OU(e)?.agentId?.trim().toLowerCase()||null}function AU(e,t){return e.routing?.agentId?.trim().toLowerCase()||kU(e.key)||t.trim().toLowerCase()||`main`}function jU(e,t){return t.find(t=>t.id===e)?.avatar}var MU=20;function NU(e){return/:direct:([^/]+)$/i.exec(e.trim())?.[1]?.toLowerCase()??``}function PU(e,t){let n=new Date().toISOString();return{key:e,name:t?.name?.trim()||void 0,status:`active`,tags:[],createdAt:n,updatedAt:n,lastAccessedAt:n,messageCount:t?.messageCount??0,estimatedTokens:0,compactedCount:0,sourceChannel:`webchat`,sourceChatId:NU(e),customData:{}}}function FU(e,t,n){let r=t.trim(),i=n.trim();!r||!i||e(e=>{if(!e?.length||!e[0]?.items)return e;let t=!1,n=!1,a=e.map(e=>{let a=e.items.map(e=>e.key.trim()!==r||(t=!0,e.name?.trim()===i)?e:(n=!0,{...e,name:i,updatedAt:new Date().toISOString()}));return n?{...e,items:a}:e});if(t)return n?a:e;let o=new Date().toISOString(),s={...PU(r,{name:i}),updatedAt:o,lastAccessedAt:o},c=a[0],l=c.items.slice(0,Math.max(0,MU-1));return a[0]={...c,items:[s,...l]},a},{revalidate:!1})}function IU(e,t,n,r){j({type:e,title:n?t.replace(/\{\{(\w+)\}\}/g,(e,t)=>String(n[t]??``)):t,duration:r?.duration??4e3})}var LU=20,RU=[`pinned`,`today`,`yesterday`,`last7days`,`thisMonth`,`older`];function zU(e){if(e.status===`pinned`)return`pinned`;let t=new Date(e.updatedAt),n=new Date,r=new Date(n.getFullYear(),n.getMonth(),n.getDate()),i=new Date(r.getTime()-864e5),a=new Date(r.getTime()-6*864e5);return t>=r?`today`:t>=i?`yesterday`:t>=a?`last7days`:t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()?`thisMonth`:`older`}var BU={pinned:`timelinePinned`,today:`timelineToday`,yesterday:`timelineYesterday`,last7days:`timelineLast7Days`,thisMonth:`timelineThisMonth`,older:`timelineOlder`};function VU(e,t){return e.name?.trim()||t}function HU(e){let t=/^\/chat\/([^/]+)$/.exec(e);if(!t)return;let n=decodeURIComponent(t[1]);if(n!==`new`)return n}function UU(e,t){return e.replace(/\{\{(\w+)\}\}/g,(e,n)=>String(t[n]??``))}function WU(e){return u(`group flex w-full min-w-0 items-center gap-0.5 rounded-xl pl-1.5 pr-1 text-left text-sm font-medium leading-5 transition-colors duration-200 ease-out`,`focus-within:outline-none`,e?`bg-surface-active text-fg`:`text-fg-muted hover:bg-surface-hover hover:text-fg`)}var GU=(0,Y.memo)(function(e){let t=(0,Z.c)(84),{session:n,isActive:r,showSourceChannelIcon:i,onNavigate:a,mutate:o,onRequestRename:s,onRequestDelete:c,sb:l,sess:d,clipboard:f,defaultUnnamedTitle:p,sessionAgentId:m,sessionAgentAvatar:h}=e,[g,_]=(0,Y.useState)(!1),v=sU(n.key),y;t[0]!==p||t[1]!==n?(y=VU(n,p),t[0]=p,t[1]=n,t[2]=y):y=t[2];let b=y,x=n.status===`pinned`,S;t[3]!==x||t[4]!==o||t[5]!==n.key?(S=async()=>{try{x?await lH(n.key):await cH(n.key),_(!1),o()}catch{}},t[3]=x,t[4]=o,t[5]=n.key,t[6]=S):S=t[6];let C=S,w;t[7]!==f||t[8]!==l.taskChatIdCopied||t[9]!==n.key?(w=async()=>{let e=await GP(n.key);if(_(!1),e){IU(`success`,l.taskChatIdCopied,void 0,{duration:2e3});return}IU(`warning`,f.copyFailed,void 0,{duration:4e3})},t[7]=f,t[8]=l.taskChatIdCopied,t[9]=n.key,t[10]=w):w=t[10];let T=w,E;t[11]===r?E=t[12]:(E=WU(r),t[11]=r,t[12]=E);let D=`/chat/${encodeURIComponent(n.key)}`,O;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(O=u(`min-w-0 flex-1 rounded-xl py-1 outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,`flex min-w-0 items-center gap-2`),t[13]=O):O=t[13];let k;t[14]===a?k=t[15]:(k=()=>a?.(),t[14]=a,t[15]=k);let A;t[16]!==h||t[17]!==m?(A=(0,Q.jsx)(TU,{agentId:m,avatar:h,size:24,className:`size-6 shrink-0 ring-1 ring-edge/60 dark:ring-edge`}),t[16]=h,t[17]=m,t[18]=A):A=t[18];let j;t[19]!==v||t[20]!==l.taskSessionAgentRunning?(j=v?(0,Q.jsxs)(`span`,{className:`pointer-events-none absolute -bottom-0.5 -right-0.5 flex size-2.5 items-center justify-center`,title:l.taskSessionAgentRunning,"aria-label":l.taskSessionAgentRunning,children:[(0,Q.jsx)(`span`,{className:`absolute size-full animate-ping rounded-full bg-accent/70`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`relative size-2 rounded-full bg-accent shadow-sm ring-2 ring-surface-panel dark:ring-surface-base`,"aria-hidden":!0})]}):null,t[19]=v,t[20]=l.taskSessionAgentRunning,t[21]=j):j=t[21];let M;t[22]!==A||t[23]!==j?(M=(0,Q.jsxs)(`span`,{className:`relative shrink-0`,children:[A,j]}),t[22]=A,t[23]=j,t[24]=M):M=t[24];let N;t[25]!==r||t[26]!==n.sourceChannel||t[27]!==i||t[28]!==b?(N=i?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{className:u(`flex size-4 shrink-0 items-center justify-center`,r?`text-fg-muted`:`text-fg-subtle`),title:n.sourceChannel,children:(0,Q.jsx)(hB,{sourceChannel:n.sourceChannel,className:`size-3.5`})}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:b})]}):(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:b}),t[25]=r,t[26]=n.sourceChannel,t[27]=i,t[28]=b,t[29]=N):N=t[29];let P;t[30]!==M||t[31]!==N||t[32]!==D||t[33]!==k||t[34]!==b?(P=(0,Q.jsxs)(Gi,{to:D,className:O,title:b,onClick:k,children:[M,N]}),t[30]=M,t[31]=N,t[32]=D,t[33]=k,t[34]=b,t[35]=P):P=t[35];let F=g&&`opacity-100`,I;t[36]===F?I=t[37]:(I=u(`relative z-10 flex size-8 shrink-0 items-center justify-center rounded-lg text-fg-muted transition-opacity`,`opacity-0 group-hover:opacity-100 focus:opacity-100`,F,`hover:bg-surface-hover hover:text-fg`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`),t[36]=F,t[37]=I);let L;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,Q.jsx)(Bh,{className:`size-4`,strokeWidth:2,"aria-hidden":!0}),t[38]=L):L=t[38];let R;t[39]!==g||t[40]!==l.taskSessionMenuAria||t[41]!==I?(R=(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:I,"aria-label":l.taskSessionMenuAria,title:l.taskSessionMenuAria,"aria-expanded":g,children:L})}),t[39]=g,t[40]=l.taskSessionMenuAria,t[41]=I,t[42]=R):R=t[42];let z;t[43]!==s||t[44]!==n.key?(z=()=>{_(!1),s(n.key)},t[43]=s,t[44]=n.key,t[45]=z):z=t[45];let B;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,Q.jsx)(NC,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),t[46]=B):B=t[46];let V;t[47]!==l.taskRename||t[48]!==z?(V=(0,Q.jsxs)(`button`,{type:`button`,className:`flex w-full items-center gap-1.5 rounded-md px-2 py-1.5 text-left text-xs font-medium leading-snug text-fg transition-colors hover:bg-surface-hover`,onClick:z,children:[B,l.taskRename]}),t[47]=l.taskRename,t[48]=z,t[49]=V):V=t[49];let H;t[50]===C?H=t[51]:(H=()=>void C(),t[50]=C,t[51]=H);let U;t[52]===x?U=t[53]:(U=x?(0,Q.jsx)(rw,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(tw,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),t[52]=x,t[53]=U);let W=x?d.unpin:d.pin,G;t[54]!==H||t[55]!==U||t[56]!==W?(G=(0,Q.jsxs)(`button`,{type:`button`,className:`flex w-full items-center gap-1.5 rounded-md px-2 py-1.5 text-left text-xs font-medium leading-snug text-fg transition-colors hover:bg-surface-hover`,onClick:H,children:[U,W]}),t[54]=H,t[55]=U,t[56]=W,t[57]=G):G=t[57];let K;t[58]===T?K=t[59]:(K=()=>void T(),t[58]=T,t[59]=K);let ee;t[60]===Symbol.for(`react.memo_cache_sentinel`)?(ee=(0,Q.jsx)(Vf,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),t[60]=ee):ee=t[60];let te;t[61]!==l.taskCopyChatId||t[62]!==K?(te=(0,Q.jsxs)(`button`,{type:`button`,className:`flex w-full items-center gap-1.5 rounded-md px-2 py-1.5 text-left text-xs font-medium leading-snug text-fg transition-colors hover:bg-surface-hover`,onClick:K,children:[ee,l.taskCopyChatId]}),t[61]=l.taskCopyChatId,t[62]=K,t[63]=te):te=t[63];let ne;t[64]!==c||t[65]!==n.key?(ne=()=>{_(!1),c(n.key)},t[64]=c,t[65]=n.key,t[66]=ne):ne=t[66];let q;t[67]===Symbol.for(`react.memo_cache_sentinel`)?(q=(0,Q.jsx)(Pj,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),t[67]=q):q=t[67];let re;t[68]!==l.taskDeleteTask||t[69]!==ne?(re=(0,Q.jsxs)(`button`,{type:`button`,className:`flex w-full items-center gap-1.5 rounded-md px-2 py-1.5 text-left text-xs font-medium leading-snug text-red-600 transition-colors hover:bg-surface-hover dark:text-red-400`,onClick:ne,children:[q,l.taskDeleteTask]}),t[68]=l.taskDeleteTask,t[69]=ne,t[70]=re):re=t[70];let ie;t[71]!==V||t[72]!==G||t[73]!==te||t[74]!==re?(ie=(0,Q.jsx)(uL,{children:(0,Q.jsxs)(dL,{className:`z-50 w-[9.25rem] rounded-lg border border-edge bg-surface-panel p-1 shadow-elevated dark:border-edge`,side:`bottom`,align:`end`,sideOffset:4,collisionPadding:12,onCloseAutoFocus:eW,children:[V,G,te,re]})}),t[71]=V,t[72]=G,t[73]=te,t[74]=re,t[75]=ie):ie=t[75];let ae;t[76]!==g||t[77]!==R||t[78]!==ie?(ae=(0,Q.jsxs)(sL,{open:g,onOpenChange:_,children:[R,ie]}),t[76]=g,t[77]=R,t[78]=ie,t[79]=ae):ae=t[79];let J;return t[80]!==P||t[81]!==ae||t[82]!==E?(J=(0,Q.jsxs)(`div`,{className:E,children:[P,ae]}),t[80]=P,t[81]=ae,t[82]=E,t[83]=J):J=t[83],J});function KU(e){let t=(0,Z.c)(104),{onNavigate:n}=e,r=m(v($U)),i=r.sidebar,a=r.sessions,o=w(QU),s=w(ZU),c;t[0]===o?c=t[1]:(c=o?[`gateway-chat-agents`,o]:null,t[0]=o,t[1]=c);let l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l={revalidateOnFocus:!1},t[2]=l):l=t[2];let{data:d,mutate:f}=ie(c,AB,l),p=d?.defaultId??`main`,h;t[3]===d?.items?h=t[4]:(h=d?.items??[],t[3]=d?.items,t[4]=h);let g=h,_,y;t[5]===f?(_=t[6],y=t[7]):(_=()=>{let e=()=>void f();return window.addEventListener(`config-reload`,e),()=>window.removeEventListener(`config-reload`,e)},y=[f],t[5]=f,t[6]=_,t[7]=y),(0,Y.useEffect)(_,y);let{pathname:b}=wr(),x=Dr(),[S,C]=(0,Y.useState)(null),[T,E]=(0,Y.useState)(``),[D,O]=(0,Y.useState)(null),k=(0,Y.useRef)(null),[A,j]=(0,Y.useState)(`web`),M;t[8]!==A||t[9]!==o?(M=(e,t)=>!o||t&&!t.hasMore?null:[`sidebar-tasks`,o,A,e],t[8]=A,t[9]=o,t[10]=M):M=t[10];let N;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(N={revalidateOnFocus:!1},t[11]=N):N=t[11];let{data:P,size:F,setSize:I,isValidating:L,mutate:R}=oe(M,YU,N),z;t[12]===I?z=t[13]:(z=()=>{I(1)},t[12]=I,t[13]=z);let B;t[14]!==A||t[15]!==I?(B=[A,I],t[14]=A,t[15]=I,t[16]=B):B=t[16],(0,Y.useEffect)(z,B);let V;if(t[17]!==P){let e=P??[];V=[];let n=new Set;for(let t of e)for(let e of t.items)n.has(e.key)||(n.add(e.key),V.push(e));t[17]=P,t[18]=V}else V=t[18];let H=V,U;if(t[19]!==H){U={pinned:[],today:[],yesterday:[],last7days:[],thisMonth:[],older:[]};for(let e of H)U[zU(e)].push(e);t[19]=H,t[20]=U}else U=t[20];let W=U,G=!!(P&&F>P.length),K=P?.[P.length-1],ee=K?.hasMore??!1,te=!!(o&&!P&&L),ne;t[21]!==ee||t[22]!==G||t[23]!==I?(ne=e=>{let t=e.currentTarget;if(!ee||G)return;let{scrollTop:n,scrollHeight:r,clientHeight:i}=t;r-n-i>100||I(JU)},t[21]=ee,t[22]=G,t[23]=I,t[24]=ne):ne=t[24];let q=ne,re;t[25]!==P?.length||t[26]!==R||t[27]!==o?(re=()=>{if(!o)return;let e=()=>{R()},t=e=>{let t=e.detail;if(!t?.key){R();return}if(typeof t.name==`string`&&t.name.trim()){P?.length?FU(R,t.key,t.name):R();return}R()};return window.addEventListener(`session-updated`,t),window.addEventListener(`session-created`,e),()=>{window.removeEventListener(`session-updated`,t),window.removeEventListener(`session-created`,e)}},t[25]=P?.length,t[26]=R,t[27]=o,t[28]=re):re=t[28];let ae=P?.length,J;t[29]!==R||t[30]!==ae||t[31]!==o?(J=[o,R,ae],t[29]=R,t[30]=ae,t[31]=o,t[32]=J):J=t[32],(0,Y.useEffect)(re,J);let se;t[33]!==P?.length||t[34]!==H.length||t[35]!==K?.hasMore||t[36]!==G||t[37]!==A||t[38]!==I||t[39]!==o?(se=()=>{!o||!P?.length||G||H.length>0||K?.hasMore&&A===`web`&&I(qU)},t[33]=P?.length,t[34]=H.length,t[35]=K?.hasMore,t[36]=G,t[37]=A,t[38]=I,t[39]=o,t[40]=se):se=t[40];let ce=K?.hasMore,le;t[41]!==P||t[42]!==H.length||t[43]!==G||t[44]!==A||t[45]!==I||t[46]!==ce||t[47]!==o?(le=[o,P,H.length,G,ce,I,A],t[41]=P,t[42]=H.length,t[43]=G,t[44]=A,t[45]=I,t[46]=ce,t[47]=o,t[48]=le):le=t[48],(0,Y.useEffect)(se,le);let ue;t[49]===b?ue=t[50]:(ue=HU(b),t[49]=b,t[50]=ue);let de=ue,fe,pe;t[51]!==de||t[52]!==R||t[53]!==A||t[54]!==o?(fe=()=>{if(!(!o||!de||A!==`web`)){if(k.current===null){k.current=de;return}k.current!==de&&(k.current=de,R())}},pe=[o,de,A,R],t[51]=de,t[52]=R,t[53]=A,t[54]=o,t[55]=fe,t[56]=pe):(fe=t[55],pe=t[56]),(0,Y.useEffect)(fe,pe);let me;t[57]===H?me=t[58]:(me=e=>{let t=H.find(t=>t.key===e);C(e),E(t?.name?.trim()??``)},t[57]=H,t[58]=me);let he=me,ge;t[59]!==R||t[60]!==T||t[61]!==S?(ge=async()=>{if(!S)return;let e=T.trim();if(e)try{await aH(S,e),C(null),R()}catch{}},t[59]=R,t[60]=T,t[61]=S,t[62]=ge):ge=t[62];let _e=ge,X;t[63]!==de||t[64]!==R||t[65]!==x?(X=async e=>{try{await iH(e),de===e&&x(`/chat/new`),R()}catch{}},t[63]=de,t[64]=R,t[65]=x,t[66]=X):X=t[66];let ve=X,ye=S?H.find(e=>e.key===S):void 0;if(!o){let e;return t[67]!==n||t[68]!==s?(e=()=>{s(),n?.()},t[67]=n,t[68]=s,t[69]=e):e=t[69],(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:(0,Q.jsx)(`div`,{className:`flex flex-col gap-1.5 px-4 pt-2`,children:(0,Q.jsxs)(`div`,{className:`rounded-xl bg-surface-panel p-3`,children:[(0,Q.jsx)(`p`,{className:`text-xs leading-relaxed text-fg-muted`,children:i.taskListNeedToken}),(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,className:`mt-3 h-8 w-full text-xs font-medium`,onClick:e,children:i.taskListAddToken})]})})})}let be;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(be=u(`app-sidebar-nav-scroll min-h-0 flex-1 overflow-y-auto overscroll-y-contain`,`pb-2`),t[70]=be):be=t[70];let xe;t[71]===G?xe=t[72]:(xe=G?(0,Q.jsx)(`div`,{className:`flex justify-center py-2`,"aria-busy":!0,children:(0,Q.jsx)(Ey,{className:`size-4 animate-spin text-fg-subtle`,strokeWidth:1.75,"aria-hidden":!0})}):null,t[71]=G,t[72]=xe);let Se;t[73]===Symbol.for(`react.memo_cache_sentinel`)?(Se=e=>!e&&C(null),t[73]=Se):Se=t[73];let Ce;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=(0,Q.jsx)(JL,{className:`xopc-dialog-overlay fixed inset-0 z-[60] bg-scrim`}),t[74]=Ce):Ce=t[74];let we,Te;t[75]===Symbol.for(`react.memo_cache_sentinel`)?(we=e=>E(e.target.value),Te=u(`mt-1.5 w-full rounded-lg border border-edge bg-surface-base px-3 py-2 text-sm text-fg`,LP,`dark:border-edge`),t[75]=we,t[76]=Te):(we=t[75],Te=t[76]);let Ee;t[77]===_e?Ee=t[78]:(Ee=e=>{e.key===`Enter`&&(e.preventDefault(),_e())},t[77]=_e,t[78]=Ee);let De;t[79]===Symbol.for(`react.memo_cache_sentinel`)?(De=()=>C(null),t[79]=De):De=t[79];let Oe;t[80]===_e?Oe=t[81]:(Oe=()=>void _e(),t[80]=_e,t[81]=Oe);let ke;t[82]===T?ke=t[83]:(ke=T.trim(),t[82]=T,t[83]=ke);let Ae;t[84]===O?Ae=t[85]:(Ae=e=>!e&&O(null),t[84]=O,t[85]=Ae);let je;t[86]===Symbol.for(`react.memo_cache_sentinel`)?(je=(0,Q.jsx)(JL,{className:`xopc-dialog-overlay fixed inset-0 z-[60] bg-scrim`}),t[86]=je):je=t[86];let Me=D?UU(a.deleteSessionMessage,{name:H.find(e=>e.key===D)?.name?.trim()||r.chat.newSession}):``,Ne;t[87]===Me?Ne=t[88]:(Ne=(0,Q.jsx)(`p`,{className:`mt-2 text-sm text-fg-muted`,children:Me}),t[87]=Me,t[88]=Ne);let Pe;t[89]===O?Pe=t[90]:(Pe=()=>O(null),t[89]=O,t[90]=Pe);let Fe;t[91]!==a.cancel||t[92]!==Pe?(Fe=(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,onClick:Pe,children:a.cancel}),t[91]=a.cancel,t[92]=Pe,t[93]=Fe):Fe=t[93];let Ie;t[94]!==D||t[95]!==ve||t[96]!==O?(Ie=()=>{D&&ve(D),O(null)},t[94]=D,t[95]=ve,t[96]=O,t[97]=Ie):Ie=t[97];let Le;t[98]!==a.delete||t[99]!==Ie?(Le=(0,Q.jsx)(NP,{type:`button`,variant:`primary`,className:`bg-red-600 hover:bg-red-700`,onClick:Ie,children:a.delete}),t[98]=a.delete,t[99]=Ie,t[100]=Le):Le=t[100];let Re;return t[101]!==Fe||t[102]!==Le?(Re=(0,Q.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[Fe,Le]}),t[101]=Fe,t[102]=Le,t[103]=Re):Re=t[103],(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[(0,Q.jsxs)(`div`,{className:be,onScroll:q,children:[(0,Q.jsx)(`div`,{className:`sticky top-0 z-[1] bg-surface-base px-4 pb-1 pt-2`,children:(0,Q.jsx)(`div`,{className:`mt-2`,children:(0,Q.jsx)(CB,{value:A,onChange:j,"aria-label":i.sessionChannelFilterAria,options:[{value:`web`,label:i.sessionTasksTab,icon:kO},{value:`channels`,label:i.sessionChannelsTab,icon:zb}]})})}),te?(0,Q.jsx)(`div`,{className:`flex justify-center py-6`,children:(0,Q.jsx)(Ey,{className:`size-5 animate-spin text-fg-subtle`,strokeWidth:1.75,"aria-hidden":!0})}):H.length>0?(0,Q.jsx)(`div`,{className:`flex flex-col gap-0.5 px-4`,children:RU.map(e=>{let t=W[e];return t.length===0?null:(0,Q.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[(0,Q.jsx)(`div`,{className:`sticky top-0 z-[1] bg-surface-base pb-0.5 pt-2.5`,children:(0,Q.jsx)(`span`,{className:`pl-2 text-[11px] font-medium uppercase tracking-wide text-fg-subtle`,children:i[BU[e]]})}),t.map(e=>{let t=AU(e,p);return(0,Q.jsx)(GU,{session:e,isActive:de===e.key,showSourceChannelIcon:A===`channels`,onNavigate:n,mutate:R,onRequestRename:he,onRequestDelete:O,sb:i,sess:a,clipboard:r.clipboard,defaultUnnamedTitle:r.chat.newSession,sessionAgentId:t,sessionAgentAvatar:jU(t,g)},e.key)})]},e)})}):(0,Q.jsx)(`div`,{className:`px-4 pb-2`,children:(0,Q.jsx)(`p`,{className:`rounded-xl bg-surface-panel p-3 text-xs leading-relaxed text-fg-muted`,children:i.taskListEmpty})}),xe]}),(0,Q.jsx)(KL,{open:S!==null,onOpenChange:Se,children:(0,Q.jsxs)(qL,{children:[Ce,(0,Q.jsxs)(YL,{className:`xopc-dialog-content fixed left-1/2 top-1/2 z-[60] w-[min(100%-2rem,24rem)] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-edge bg-surface-panel p-4 shadow-popover dark:border-edge`,children:[(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:i.taskRenameTitle}),(0,Q.jsx)(`label`,{className:`mt-3 block text-xs font-medium text-fg-subtle`,htmlFor:`sidebar-rename-input`,children:i.taskRenamePlaceholder}),(0,Q.jsx)(`input`,{id:`sidebar-rename-input`,type:`text`,value:T,onChange:we,className:Te,placeholder:ye?VU(ye,r.chat.newSession):``,onKeyDown:Ee}),(0,Q.jsxs)(`div`,{className:`mt-4 flex justify-end gap-2`,children:[(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,onClick:De,children:i.taskRenameCancel}),(0,Q.jsx)(NP,{type:`button`,variant:`primary`,onClick:Oe,disabled:!ke,children:i.taskRenameSave})]})]})]})}),(0,Q.jsx)(KL,{open:D!==null,onOpenChange:Ae,children:(0,Q.jsxs)(qL,{children:[je,(0,Q.jsxs)(YL,{className:`xopc-dialog-content fixed left-1/2 top-1/2 z-[60] w-[min(100%-2rem,24rem)] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-edge bg-surface-panel p-4 shadow-popover dark:border-edge`,children:[(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:a.deleteSessionTitle}),Ne,Re]})]})})]})}function qU(e){return e+1}function JU(e){return e+1}async function YU(e){let[,,t,n]=e,r=n*LU;if(t===`web`){let e=await tH({channel:SH,limit:LU,offset:r});return{items:e.items.filter(XU),hasMore:e.hasMore}}let i=await tH({channel:`telegram,weixin,feishu,lark`,limit:LU,offset:r});return{items:i.items,hasMore:i.hasMore}}function XU(e){return xH(e.key)}function ZU(e){return e.openTokenDialog}function QU(e){return e.token}function $U(e){return e.language}function eW(e){return e.preventDefault()}function tW(e){let t=(0,Z.c)(32),{onNavigate:n,collapsed:r}=e,i=r===void 0?!1:r,a=v(nW),o;t[0]===a?o=t[1]:(o=m(a),t[0]=a,t[1]=o);let s=o,c=i?`px-1.5 pt-2`:`px-4 pt-4`,l;t[2]===c?l=t[3]:(l=u(`shrink-0`,c),t[2]=c,t[3]=l);let d;t[4]!==i||t[5]!==s||t[6]!==n?(d=i?null:(0,Q.jsxs)(Gi,{to:`/chat/new`,className:u(`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-sm font-medium leading-5 transition-colors duration-200 ease-out`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,`bg-surface-panel text-fg hover:bg-surface-hover`),title:s.sidebar.newTask,onClick:()=>n?.(),children:[(0,Q.jsx)(fw,{className:`size-4 shrink-0 text-accent-fg`,strokeWidth:2,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`truncate`,children:s.sidebar.newTask})]}),t[4]=i,t[5]=s,t[6]=n,t[7]=d):d=t[7];let f;t[8]!==i||t[9]!==n?(f=(0,Q.jsx)(sB,{collapsed:i,onNavigate:n}),t[8]=i,t[9]=n,t[10]=f):f=t[10];let p;t[11]!==d||t[12]!==f?(p=(0,Q.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[d,f]}),t[11]=d,t[12]=f,t[13]=p):p=t[13];let h;t[14]!==l||t[15]!==p?(h=(0,Q.jsx)(`nav`,{className:l,"aria-label":`Main`,children:p}),t[14]=l,t[15]=p,t[16]=h):h=t[16];let g=i&&`hidden`,_;t[17]===g?_=t[18]:(_=u(`flex min-h-0 flex-1 flex-col overflow-hidden`,g),t[17]=g,t[18]=_);let y=i?!0:void 0,b;t[19]===n?b=t[20]:(b=(0,Q.jsx)(KU,{onNavigate:n}),t[19]=n,t[20]=b);let x;t[21]!==_||t[22]!==y||t[23]!==b?(x=(0,Q.jsx)(`div`,{className:_,"aria-hidden":y,children:b}),t[21]=_,t[22]=y,t[23]=b,t[24]=x):x=t[24];let S;t[25]!==i||t[26]!==n?(S=(0,Q.jsx)(LR,{collapsed:i,onNavigate:n}),t[25]=i,t[26]=n,t[27]=S):S=t[27];let C;return t[28]!==x||t[29]!==S||t[30]!==h?(C=(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[h,x,S]}),t[28]=x,t[29]=S,t[30]=h,t[31]=C):C=t[31],C}function nW(e){return e.language}var rW=`(min-width: 768px)`,iW=(0,Y.memo)(function(){let e=(0,Z.c)(54),t=v(aW),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n,i=oI(oW),a=oI(sW),o=oI(cW),s=SI(lW),c=SI(uW),[l,d]=(0,Y.useState)(!1),f;e[2]!==o||e[3]!==i?(f=e=>{if(i)return;e.preventDefault();let t=e.currentTarget;t.setPointerCapture(e.pointerId),d(!0);let n=e.clientX,r=oI.getState().expandedWidthPx,a=e.pointerId,s=e=>{o(r+(e.clientX-n))},c=()=>{try{t.releasePointerCapture(a)}catch{}d(!1),window.removeEventListener(`pointermove`,s),window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c)};window.addEventListener(`pointermove`,s),window.addEventListener(`pointerup`,c),window.addEventListener(`pointercancel`,c)},e[2]=o,e[3]=i,e[4]=f):f=e[4];let p=f,h,g;e[5]===c?(h=e[6],g=e[7]):(h=()=>{let e=e=>{e.key===`Escape`&&c(!1)};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},g=[c],e[5]=c,e[6]=h,e[7]=g),(0,Y.useEffect)(h,g);let _,y;e[8]===c?(_=e[9],y=e[10]):(_=()=>{let e=window.matchMedia(rW),t=()=>{e.matches&&c(!1)};return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},y=[c],e[8]=c,e[9]=_,e[10]=y),(0,Y.useEffect)(_,y);let b,x;e[11]===s?(b=e[12],x=e[13]):(b=()=>{if(!s||!window.matchMedia(`(max-width: 767px)`).matches)return;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}},x=[s],e[11]=s,e[12]=b,e[13]=x),(0,Y.useEffect)(b,x);let S;e[14]!==r||e[15]!==s||e[16]!==c?(S=s?(0,Q.jsx)(`button`,{type:`button`,className:`fixed inset-0 z-40 bg-scrim md:hidden`,"aria-label":r.closeMenu,onClick:()=>c(!1)}):null,e[14]=r,e[15]=s,e[16]=c,e[17]=S):S=e[17];let C=l&&`sidebar-width-resizing`,w=s?`max-md:translate-x-0`:`max-md:-translate-x-full`,T=i?`md:w-0 md:min-w-0 md:max-w-0 md:overflow-hidden md:border-0`:`app-sidebar-expanded-width`,E;e[18]!==w||e[19]!==T||e[20]!==C?(E=u(`app-sidebar-push flex min-h-0 shrink-0 flex-col overflow-hidden bg-surface-base`,C,`max-md:fixed max-md:left-0 max-md:top-0 max-md:z-50 max-md:h-[100dvh] max-md:w-[min(16rem,85vw)]`,`max-md:transition-transform max-md:duration-200 max-md:ease-out`,`motion-reduce:max-md:transition-none`,w,`md:relative md:h-full md:translate-x-0`,T),e[18]=w,e[19]=T,e[20]=C,e[21]=E):E=e[21];let D=i&&!s?!0:void 0,O;e[22]!==a||e[23]!==i?(O=i?void 0:{"--sidebar-expanded-px":`${a}px`},e[22]=a,e[23]=i,e[24]=O):O=e[24];let k;e[25]===i?k=e[26]:(k=u(`flex bg-surface-base`,KF,hI(),i?`justify-center gap-1 px-1.5 max-md:flex`:u(`justify-start gap-1.5`,mI()?`pr-4`:`px-4`),i&&`md:hidden`),e[25]=i,e[26]=k);let A;e[27]!==r||e[28]!==s||e[29]!==c?(A=s?(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:u(`size-8 shrink-0 rounded-xl p-0 md:hidden`,GF),"aria-label":r.closeMenu,title:r.closeMenu,onClick:()=>c(!1),children:(0,Q.jsx)(ZN,{className:`size-4`,strokeWidth:1.5,"aria-hidden":!0})}):null,e[27]=r,e[28]=s,e[29]=c,e[30]=A):A=e[30];let j;e[31]===i?j=e[32]:(j=i?null:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(sI,{variant:`sidebar`}),(0,Q.jsx)(XF,{className:`inline-flex`}),(0,Q.jsx)(qF,{className:`inline-flex`})]}),e[31]=i,e[32]=j);let M;e[33]!==k||e[34]!==A||e[35]!==j?(M=(0,Q.jsxs)(`div`,{className:k,children:[A,j]}),e[33]=k,e[34]=A,e[35]=j,e[36]=M):M=e[36];let N;e[37]===c?N=e[38]:(N=(0,Q.jsx)(tW,{collapsed:!1,onNavigate:()=>c(!1)}),e[37]=c,e[38]=N);let P;e[39]!==r||e[40]!==p||e[41]!==i||e[42]!==l?(P=i?null:(0,Q.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":r.sidebar.resizeHandleAria,onPointerDown:p,className:u(`pointer-events-auto absolute right-0 top-0 z-10 hidden h-full w-2 shrink-0 cursor-col-resize md:block`,`before:content-[''] before:pointer-events-none before:absolute before:left-1/2 before:top-0 before:z-0 before:h-full before:w-px before:-translate-x-1/2`,`before:bg-transparent before:transition-[background-color] before:duration-150`,`hover:bg-surface-hover/20 hover:before:bg-edge/65 dark:hover:before:bg-edge/75`,l&&`bg-surface-hover/30 before:!bg-edge/80 dark:before:!bg-edge/85`,`transition-[background-color] duration-150`,`touch-none select-none`,GF)}),e[39]=r,e[40]=p,e[41]=i,e[42]=l,e[43]=P):P=e[43];let F;e[44]!==E||e[45]!==D||e[46]!==O||e[47]!==M||e[48]!==N||e[49]!==P?(F=(0,Q.jsxs)(`aside`,{id:`app-sidebar`,className:E,"aria-hidden":D,style:O,children:[M,N,P]}),e[44]=E,e[45]=D,e[46]=O,e[47]=M,e[48]=N,e[49]=P,e[50]=F):F=e[50];let I;return e[51]!==F||e[52]!==S?(I=(0,Q.jsxs)(Q.Fragment,{children:[S,F]}),e[51]=F,e[52]=S,e[53]=I):I=e[53],I});function aW(e){return e.language}function oW(e){return e.collapsed}function sW(e){return e.expandedWidthPx}function cW(e){return e.setExpandedWidthPx}function lW(e){return e.mobileNavOpen}function uW(e){return e.setMobileNavOpen}function dW(e){let t=e.toLowerCase();return t.endsWith(`.md`)?`text-green-600 dark:text-green-400`:t.endsWith(`.json`)?`text-yellow-600 dark:text-yellow-400`:t.endsWith(`.ts`)||t.endsWith(`.js`)?`text-blue-600 dark:text-blue-400`:`text-fg-muted`}function fW(e){let t=(0,Z.c)(39),{entry:n,labels:r,onAction:i}=e,[a,o]=(0,Y.useState)(!1),s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=[],t[0]=s):s=t[0];let[c,l]=(0,Y.useState)(s),d;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>o(!1),t[1]=d):d=t[1];let f=d,p,m;t[2]!==n.absolutePath||t[3]!==n.isDirectory||t[4]!==a?(p=()=>{if(!a||n.isDirectory||!n.absolutePath||!dI()||!window.electronAPI?.shell?.getOpenWithAppsForPath){l([]);return}let e=!1;return window.electronAPI.shell.getOpenWithAppsForPath(n.absolutePath).then(t=>{e||l(t.recommended.map(vW))}).catch(()=>{e||l([])}),()=>{e=!0}},m=[n.absolutePath,n.isDirectory,a],t[2]=n.absolutePath,t[3]=n.isDirectory,t[4]=a,t[5]=p,t[6]=m):(p=t[5],m=t[6]),(0,Y.useEffect)(p,m);let h,g,_,v;if(t[7]!==n||t[8]!==r.copyPath||t[9]!==r.download||t[10]!==r.openDefault||t[11]!==r.openWith||t[12]!==r.preview||t[13]!==r.recommendedApps||t[14]!==r.revealInFolder||t[15]!==r.share||t[16]!==a||t[17]!==i||t[18]!==c){let e=n.absolutePath&&!n.isDirectory?c.map(_W):[],s=n.absolutePath?[...n.isDirectory||!r.openDefault?[]:[{action:`openDefault`,label:r.openDefault}],...n.isDirectory||!r.openWith?[]:[{action:`openWith`,label:r.openWith}],...r.revealInFolder?[{action:`revealInFolder`,label:r.revealInFolder}]:[]]:[],l=n.isDirectory?[...s,{action:`share`,label:r.share},{action:`copyPath`,label:r.copyPath}]:[...s,{action:`preview`,label:r.preview},{action:`download`,label:r.download},{action:`share`,label:r.share},{action:`copyPath`,label:r.copyPath}];t[23]===a?v=t[24]:(v=a?(0,Q.jsx)(`button`,{type:`button`,className:`fixed inset-0 z-40 cursor-default bg-transparent`,"aria-hidden":!0,tabIndex:-1,onPointerDown:e=>{e.preventDefault(),f()}}):null,t[23]=a,t[24]=v),h=`relative shrink-0`;let d=a&&`opacity-100`,p;t[25]===d?p=t[26]:(p=u(`rounded-md p-1 text-fg-muted opacity-0 transition-opacity hover:bg-surface-hover hover:text-fg`,`group-hover:opacity-100`,d),t[25]=d,t[26]=p);let m,y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(m=e=>{e.stopPropagation(),o(hW)},y=(0,Q.jsx)(Bh,{className:`size-3.5`,"aria-hidden":!0}),t[27]=m,t[28]=y):(m=t[27],y=t[28]),t[29]!==a||t[30]!==p?(g=(0,Q.jsx)(`button`,{type:`button`,className:p,"aria-haspopup":`menu`,"aria-expanded":a,"aria-label":`More`,onPointerDown:gW,onClick:m,children:y}),t[29]=a,t[30]=p,t[31]=g):g=t[31],_=a?(0,Q.jsxs)(`div`,{role:`menu`,className:`absolute right-0 top-full z-50 mt-0.5 min-w-[9rem] rounded-md border border-edge bg-surface-panel py-1 shadow-popover`,onPointerDown:mW,children:[s.slice(0,r.openDefault&&!n.isDirectory?1:0).map(e=>{let{action:t,label:r,appPath:a}=e;return(0,Q.jsx)(`button`,{type:`button`,role:`menuitem`,className:`block w-full px-3 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,title:a,onClick:()=>{i(t,n,a),f()},children:(0,Q.jsx)(`span`,{className:`block truncate`,children:r})},a?`${t}:${a}`:t)}),r.recommendedApps&&e.length>0?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`p`,{className:`border-t border-edge-subtle px-3 pb-1 pt-2 text-[11px] font-medium uppercase tracking-normal text-fg-subtle dark:border-edge`,children:r.recommendedApps}),e.map(e=>{let{action:t,label:r,appPath:a}=e;return(0,Q.jsx)(`button`,{type:`button`,role:`menuitem`,className:`block w-full min-w-0 px-3 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,title:a,onClick:()=>{i(t,n,a),f()},children:(0,Q.jsx)(`span`,{className:`block truncate`,children:r})},`${t}:${a}`)})]}):null,l.filter(pW).map(e=>{let{action:t,label:r,appPath:a}=e;return(0,Q.jsx)(`button`,{type:`button`,role:`menuitem`,className:`block w-full px-3 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,title:a,onClick:()=>{i(t,n,a),f()},children:(0,Q.jsx)(`span`,{className:`block truncate`,children:r})},a?`${t}:${a}`:t)})]}):null,t[7]=n,t[8]=r.copyPath,t[9]=r.download,t[10]=r.openDefault,t[11]=r.openWith,t[12]=r.preview,t[13]=r.recommendedApps,t[14]=r.revealInFolder,t[15]=r.share,t[16]=a,t[17]=i,t[18]=c,t[19]=h,t[20]=g,t[21]=_,t[22]=v}else h=t[19],g=t[20],_=t[21],v=t[22];let y;t[32]!==h||t[33]!==g||t[34]!==_?(y=(0,Q.jsxs)(`div`,{className:h,children:[g,_]}),t[32]=h,t[33]=g,t[34]=_,t[35]=y):y=t[35];let b;return t[36]!==v||t[37]!==y?(b=(0,Q.jsxs)(Q.Fragment,{children:[v,y]}),t[36]=v,t[37]=y,t[38]=b):b=t[38],b}function pW(e){return e.action!==`openDefault`}function mW(e){return e.stopPropagation()}function hW(e){return!e}function gW(e){return e.stopPropagation()}function _W(e){return{action:`openWithApp`,label:e.name,appPath:e.path}}function vW(e){return{name:e.name,path:e.path}}function yW(e){let t=(0,Z.c)(68),{entry:n,depth:r,selectedPath:i,onSelect:a,onExpandDir:o,onAction:s,actionLabels:c}=e,[l,d]=(0,Y.useState)(!1),f=i===n.path;if(n.isDirectory){let e=f&&`bg-accent-soft text-accent-fg`,p;t[0]===e?p=t[1]:(p=u(`flex min-w-0 flex-1 items-center gap-1 rounded-md py-1 pr-2 text-left text-sm`,`hover:bg-surface-hover`,e),t[0]=e,t[1]=p);let m=8+r*12,h;t[2]===m?h=t[3]:(h={paddingLeft:m},t[2]=m,t[3]=h);let g;t[4]!==n.path||t[5]!==o||t[6]!==a||t[7]!==l?(g=()=>{let e=!l;d(e),e&&o?.(n.path),a(n.path,!0)},t[4]=n.path,t[5]=o,t[6]=a,t[7]=l,t[8]=g):g=t[8];let _=l&&`rotate-90`,v;t[9]===_?v=t[10]:(v=u(`size-3.5 shrink-0 transition-transform`,_),t[9]=_,t[10]=v);let y;t[11]===v?y=t[12]:(y=(0,Q.jsx)(kd,{className:v,"aria-hidden":!0}),t[11]=v,t[12]=y);let b;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Q.jsx)(sv,{className:`size-3.5 shrink-0 text-fg-muted`,"aria-hidden":!0}),t[13]=b):b=t[13];let x;t[14]===n.name?x=t[15]:(x=(0,Q.jsx)(`span`,{className:`truncate`,children:n.name}),t[14]=n.name,t[15]=x);let S;t[16]!==l||t[17]!==x||t[18]!==p||t[19]!==h||t[20]!==g||t[21]!==y?(S=(0,Q.jsxs)(`button`,{type:`button`,"aria-expanded":l,className:p,style:h,onClick:g,children:[y,b,x]}),t[16]=l,t[17]=x,t[18]=p,t[19]=h,t[20]=g,t[21]=y,t[22]=S):S=t[22];let C;t[23]!==c||t[24]!==n||t[25]!==s?(C=s&&c?(0,Q.jsx)(fW,{entry:n,labels:c,onAction:s}):null,t[23]=c,t[24]=n,t[25]=s,t[26]=C):C=t[26];let w;t[27]!==S||t[28]!==C?(w=(0,Q.jsxs)(`div`,{className:`group flex w-full items-stretch gap-0.5`,children:[S,C]}),t[27]=S,t[28]=C,t[29]=w):w=t[29];let T;t[30]!==c||t[31]!==r||t[32]!==n.children||t[33]!==s||t[34]!==o||t[35]!==a||t[36]!==l||t[37]!==i?(T=l&&n.children?.length?(0,Q.jsx)(`div`,{children:n.children.map(e=>(0,Q.jsx)(yW,{entry:e,depth:r+1,selectedPath:i,onSelect:a,onExpandDir:o,onAction:s,actionLabels:c},e.path))}):null,t[30]=c,t[31]=r,t[32]=n.children,t[33]=s,t[34]=o,t[35]=a,t[36]=l,t[37]=i,t[38]=T):T=t[38];let E;return t[39]!==w||t[40]!==T?(E=(0,Q.jsxs)(`div`,{className:`select-none`,children:[w,T]}),t[39]=w,t[40]=T,t[41]=E):E=t[41],E}let p=f&&`bg-accent-soft text-accent-fg`,m;t[42]===p?m=t[43]:(m=u(`flex min-w-0 flex-1 items-center gap-1.5 rounded-md py-1 pr-2 text-left text-sm`,`hover:bg-surface-hover`,p),t[42]=p,t[43]=m);let h=8+r*12,g;t[44]===h?g=t[45]:(g={paddingLeft:h},t[44]=h,t[45]=g);let _;t[46]!==n.path||t[47]!==a?(_=()=>a(n.path,!1),t[46]=n.path,t[47]=a,t[48]=_):_=t[48];let v;t[49]===n.name?v=t[50]:(v=u(`size-3.5 shrink-0`,dW(n.name)),t[49]=n.name,t[50]=v);let y;t[51]===v?y=t[52]:(y=(0,Q.jsx)(Xg,{className:v,"aria-hidden":!0}),t[51]=v,t[52]=y);let b;t[53]===n.name?b=t[54]:(b=(0,Q.jsx)(`span`,{className:`truncate`,children:n.name}),t[53]=n.name,t[54]=b);let x;t[55]!==m||t[56]!==g||t[57]!==_||t[58]!==y||t[59]!==b?(x=(0,Q.jsxs)(`button`,{type:`button`,className:m,style:g,onClick:_,children:[y,b]}),t[55]=m,t[56]=g,t[57]=_,t[58]=y,t[59]=b,t[60]=x):x=t[60];let S;t[61]!==c||t[62]!==n||t[63]!==s?(S=s&&c?(0,Q.jsx)(fW,{entry:n,labels:c,onAction:s}):null,t[61]=c,t[62]=n,t[63]=s,t[64]=S):S=t[64];let C;return t[65]!==S||t[66]!==x?(C=(0,Q.jsxs)(`div`,{className:`group flex w-full items-stretch gap-0.5`,children:[x,S]}),t[65]=S,t[66]=x,t[67]=C):C=t[67],C}function bW(e){let t=(0,Z.c)(20),{tree:n,selectedPath:r,onSelectFile:i,onSelectEntry:a,onExpandDir:o,onAction:s,actionLabels:c,emptyHint:l}=e,u;t[0]!==a||t[1]!==i?(u=(e,t)=>{a?.(e,t),t||i(e)},t[0]=a,t[1]=i,t[2]=u):u=t[2];let d=u;if(!n.length){let e;return t[3]===l?e=t[4]:(e=(0,Q.jsx)(`p`,{className:`text-fg-muted px-3 py-2 text-xs`,children:l}),t[3]=l,t[4]=e),e}let f;if(t[5]!==c||t[6]!==d||t[7]!==s||t[8]!==o||t[9]!==r||t[10]!==n){let e;t[12]!==c||t[13]!==d||t[14]!==s||t[15]!==o||t[16]!==r?(e=e=>(0,Q.jsx)(yW,{entry:e,depth:0,selectedPath:r,onSelect:d,onExpandDir:o,onAction:s,actionLabels:c},e.path),t[12]=c,t[13]=d,t[14]=s,t[15]=o,t[16]=r,t[17]=e):e=t[17],f=n.map(e),t[5]=c,t[6]=d,t[7]=s,t[8]=o,t[9]=r,t[10]=n,t[11]=f}else f=t[11];let p;return t[18]===f?p=t[19]:(p=(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto py-2`,children:f}),t[18]=f,t[19]=p),p}function xW(e,t){let n=new URLSearchParams;e&&n.set(`dir`,e);let r=t?.sessionKey?.trim();if(r)n.set(`sessionKey`,r);else{let e=t?.agentId?.trim();e&&n.set(`agentId`,e)}let i=n.toString();return i?`?${i}`:``}async function SW(e=``,t){return(await E(T(`/api/workspace/editor/list${xW(e,t)}`))).payload.entries}async function CW(e,t){let n=new URLSearchParams({path:e}),r=t?.sessionKey?.trim();if(r)n.set(`sessionKey`,r);else{let e=t?.agentId?.trim();e&&n.set(`agentId`,e)}return(await E(T(`/api/workspace/editor/read?${n.toString()}`))).payload}async function wW(e,t){let n=new URLSearchParams({path:e}),r=t?.sessionKey?.trim();if(r)n.set(`sessionKey`,r);else{let e=t?.agentId?.trim();e&&n.set(`agentId`,e)}let i=await k(T(`/api/workspace/editor/resolve-reference?${n.toString()}`));if(!i.ok)return null;let a=await i.json();return a.ok&&a.payload?a.payload:null}async function TW(e,t,n){let r=new URLSearchParams,i=n?.sessionKey?.trim();if(i)r.set(`sessionKey`,i);else{let e=n?.agentId?.trim();e&&r.set(`agentId`,e)}let a=r.toString(),o=await k(T(`/api/workspace/file-ref/${encodeURIComponent(e)}/resolve-action${a?`?${a}`:``}`),{method:`POST`,body:JSON.stringify({action:t})});if(!o.ok)return null;let s=await o.json();return!s.ok||typeof s.payload?.absolutePath!=`string`?null:{absolutePath:s.payload.absolutePath,isDirectory:!!s.payload.isDirectory}}async function EW(e,t){let n=new URLSearchParams({path:e}),r=t?.sessionKey?.trim();if(r)n.set(`sessionKey`,r);else{let e=t?.agentId?.trim();e&&n.set(`agentId`,e)}let i=await k(T(`/api/workspace/editor/raw?${n.toString()}`),{headers:{Accept:`*/*`}});if(!i.ok){let e=(await i.json().catch(()=>({}))).error?.message??`HTTP ${i.status}`;throw Error(e)}return i.blob()}async function DW(e,t){let n=new URLSearchParams,r=t?.sessionKey?.trim();if(r)n.set(`sessionKey`,r);else{let e=t?.agentId?.trim();e&&n.set(`agentId`,e)}let i=n.toString(),a=await k(T(`/api/workspace/import-file-ref/${encodeURIComponent(e)}${i?`?${i}`:``}`),{method:`POST`,body:JSON.stringify({destination:t?.destination,onConflict:t?.onConflict??`rename`})}),o;try{o=await a.json()}catch{return{ok:!1,error:{code:`UNKNOWN`,message:`HTTP ${a.status}`}}}let s=o;return s.ok&&s.payload?{ok:!0,payload:s.payload}:{ok:!1,error:{code:s.error?.code??`UNKNOWN`,message:s.error?.message??`HTTP ${a.status}`}}}async function OW(e,t,n){let r=n?.sessionKey?.trim();return(await E(T(`/api/workspace/editor/write${r?`?sessionKey=${encodeURIComponent(r)}`:n?.agentId?.trim()?`?agentId=${encodeURIComponent(n.agentId.trim())}`:``}`),{method:`PUT`,body:JSON.stringify({path:e,content:t})})).payload}function kW(e,t){let n=new Blob([t],{type:`text/plain;charset=utf-8`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)}function AW(e,t,n){let r=new Blob([t],{type:n}),i=URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=e,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(i)}var jW=5*1024*1024,MW=32*1024*1024,NW=new Set(`.ts,.tsx,.js,.jsx,.mjs,.cjs,.css,.scss,.json,.jsonc,.yml,.yaml,.xml,.py,.go,.rs,.java,.c,.cpp,.h,.hpp,.sh,.bash,.zsh,.sql,.toml,.ini`.split(`,`)),PW=new Set([`.txt`,`.log`,`.csv`,`.tsv`,`.env`,`.gitignore`]),FW=new Set([`.png`,`.jpg`,`.jpeg`,`.gif`,`.webp`,`.bmp`,`.ico`,`.svg`,`.svgz`,`.tif`,`.tiff`,`.avif`,`.heic`,`.heif`,`.jxl`]),IW=new Set([`.mp3`,`.wav`,`.ogg`,`.oga`,`.aac`,`.m4a`,`.flac`,`.opus`,`.weba`]),LW=new Set([`.mp4`,`.webm`,`.mov`,`.m4v`,`.ogv`]),RW=new Set([`.zip`]),zW=new Map([[`.pdf`,`application/pdf`],[`.docx`,`application/vnd.openxmlformats-officedocument.wordprocessingml.document`],[`.pptx`,`application/vnd.openxmlformats-officedocument.presentationml.presentation`],[`.xlsx`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`],[`.xls`,`application/vnd.ms-excel`],[`.md`,`text/markdown`],[`.markdown`,`text/markdown`],[`.html`,`text/html`],[`.htm`,`text/html`],[`.json`,`application/json`],[`.txt`,`text/plain`],[`.csv`,`text/csv`],[`.tsv`,`text/tab-separated-values`],[`.png`,`image/png`],[`.jpg`,`image/jpeg`],[`.jpeg`,`image/jpeg`],[`.gif`,`image/gif`],[`.webp`,`image/webp`],[`.svg`,`image/svg+xml`],[`.svgz`,`image/svg+xml`],[`.mp3`,`audio/mpeg`],[`.wav`,`audio/wav`],[`.ogg`,`audio/ogg`],[`.mp4`,`video/mp4`],[`.webm`,`video/webm`],[`.mov`,`video/quicktime`],[`.zip`,`application/zip`]]);function BW(e){let t=e.lastIndexOf(`.`);return t<=0||t===e.length-1?``:e.slice(t).toLowerCase()}function VW(e){let t=e.replace(/\\/g,`/`).split(`/`);return t[t.length-1]||e}function HW(e,t){let n=t?.split(`;`)[0]?.trim().toLowerCase();return n&&n!==`application/octet-stream`?n:zW.get(BW(e))??n??`application/octet-stream`}function UW(e,t){let n=BW(e),r=HW(e,t);return r===`text/markdown`||n===`.md`||n===`.markdown`?`markdown`:r===`text/html`||n===`.html`||n===`.htm`?`html`:r===`application/pdf`||n===`.pdf`?`pdf`:r===`application/vnd.openxmlformats-officedocument.wordprocessingml.document`||n===`.docx`?`docx`:r===`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`||r===`application/vnd.ms-excel`||n===`.xlsx`||n===`.xls`?`spreadsheet`:r===`application/vnd.openxmlformats-officedocument.presentationml.presentation`||n===`.pptx`?`pptx`:r.startsWith(`image/`)||FW.has(n)?`image`:r.startsWith(`audio/`)||IW.has(n)?`audio`:r.startsWith(`video/`)||LW.has(n)?`video`:r===`application/zip`||RW.has(n)?`archive`:NW.has(n)?`code`:r.startsWith(`text/`)||PW.has(n)||r===`application/json`?`text`:`unsupported`}function WW(e){switch(e){case`text`:case`markdown`:case`code`:case`html`:return`text`;case`unsupported`:return`metadata`;default:return`binary`}}async function GW(e){let{uri:t,sessionKey:n}=e;try{let e=await k(T(BB(t,n)));return e.ok?{ok:!0,blob:await e.blob()}:{ok:!1,reason:`http`,status:e.status}}catch(e){return{ok:!1,reason:`network`,message:e instanceof Error?e.message:String(e)}}}async function KW(e){let t=await GW(e);return t.ok?{ok:!0,buffer:await t.blob.arrayBuffer()}:t}function qW(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function JW(e){if(Array.isArray(e))return e}function YW(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function XW(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZW(e,t){return JW(e)||YW(e,t)||QW(e,t)||XW()}function QW(e,t){if(e){if(typeof e==`string`)return qW(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qW(e,t):void 0}}var $W=Object.entries,eG=Object.setPrototypeOf,tG=Object.isFrozen,nG=Object.getPrototypeOf,rG=Object.getOwnPropertyDescriptor,iG=Object.freeze,aG=Object.seal,oG=Object.create,sG=typeof Reflect<`u`&&Reflect,cG=sG.apply,lG=sG.construct;iG||=function(e){return e},aG||=function(e){return e},cG||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},lG||=function(e){return new e(...[...arguments].slice(1))};var uG=AG(Array.prototype.forEach),dG=AG(Array.prototype.lastIndexOf),fG=AG(Array.prototype.pop),pG=AG(Array.prototype.push),mG=AG(Array.prototype.splice),hG=Array.isArray,gG=AG(String.prototype.toLowerCase),_G=AG(String.prototype.toString),vG=AG(String.prototype.match),yG=AG(String.prototype.replace),bG=AG(String.prototype.indexOf),xG=AG(String.prototype.trim),SG=AG(Number.prototype.toString),CG=AG(Boolean.prototype.toString),wG=typeof BigInt>`u`?null:AG(BigInt.prototype.toString),TG=typeof Symbol>`u`?null:AG(Symbol.prototype.toString),EG=AG(Object.prototype.hasOwnProperty),DG=AG(Object.prototype.toString),OG=AG(RegExp.prototype.test),kG=jG(TypeError);function AG(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return cG(e,t,n)}}function jG(e){return function(){return lG(e,[...arguments])}}function MG(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:gG;if(eG&&eG(e,null),!hG(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(tG(t)||(t[r]=e),i=e)}e[i]=!0}return e}function NG(e){for(let t=0;t<e.length;t++)EG(e,t)||(e[t]=null);return e}function PG(e){let t=oG(null);for(let r of $W(e)){var n=ZW(r,2);let i=n[0],a=n[1];EG(e,i)&&(hG(a)?t[i]=NG(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=PG(a):t[i]=a)}return t}function FG(e){switch(typeof e){case`string`:return e;case`number`:return SG(e);case`boolean`:return CG(e);case`bigint`:return wG?wG(e):`0`;case`symbol`:return TG?TG(e):`Symbol()`;case`undefined`:return DG(e);case`function`:case`object`:{if(e===null)return DG(e);let t=e,n=IG(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:DG(e)}return DG(e)}default:return DG(e)}}function IG(e,t){for(;e!==null;){let n=rG(e,t);if(n){if(n.get)return AG(n.get);if(typeof n.value==`function`)return AG(n.value)}e=nG(e)}function n(){return null}return n}function LG(e){try{return OG(e,``),!0}catch{return!1}}var RG=iG(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),zG=iG(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),BG=iG([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),VG=iG([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),HG=iG(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),UG=iG([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),WG=iG([`#text`]),GG=iG(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),KG=iG(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),qG=iG(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),JG=iG([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),YG=aG(/{{[\w\W]*|^[\w\W]*}}/g),XG=aG(/<%[\w\W]*|^[\w\W]*%>/g),ZG=aG(/\${[\w\W]*/g),QG=aG(/^data-[\-\w.\u00B7-\uFFFF]+$/),$G=aG(/^aria-[\-\w]+$/),eK=aG(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tK=aG(/^(?:\w+script|data):/i),nK=aG(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rK=aG(/^html$/i),iK=aG(/^[a-z][.\w]*(-[.\w]+)+$/i),aK={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},oK=function(){return typeof window>`u`?null:window},sK=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},cK=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function lK(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oK(),t=e=>lK(e);if(t.version=`3.4.7`,t.removed=[],!e||!e.document||e.document.nodeType!==aK.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=IG(d,`cloneNode`),p=IG(d,`remove`),m=IG(d,`nextSibling`),h=IG(d,`childNodes`),g=IG(d,`parentNode`),_=IG(d,`shadowRoot`),v=IG(d,`attributes`),y=o&&o.prototype?IG(o.prototype,`nodeType`):null,b=o&&o.prototype?IG(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,S=``,C=n,w=C.implementation,T=C.createNodeIterator,E=C.createDocumentFragment,D=C.getElementsByTagName,O=r.importNode,k=cK();t.isSupported=typeof $W==`function`&&typeof g==`function`&&w&&w.createHTMLDocument!==void 0;let A=YG,j=XG,M=ZG,N=QG,P=$G,F=tK,I=nK,L=iK,R=eK,z=null,B=MG({},[...RG,...zG,...BG,...HG,...WG]),V=null,H=MG({},[...GG,...KG,...qG,...JG]),U=Object.seal(oG(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,G=null,K=Object.seal(oG(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ee=!0,te=!0,ne=!1,q=!0,re=!1,ie=!0,ae=!1,J=!1,oe=!1,se=!1,ce=!1,le=!1,Y=!0,ue=!1,de=`user-content-`,fe=!0,pe=!1,me={},he=null,ge=MG({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),_e=null,X=MG({},[`audio`,`video`,`img`,`source`,`image`,`track`]),ve=null,ye=MG({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),be=`http://www.w3.org/1998/Math/MathML`,xe=`http://www.w3.org/2000/svg`,Se=`http://www.w3.org/1999/xhtml`,Ce=Se,we=!1,Te=null,Ee=MG({},[be,xe,Se],_G),De=MG({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Oe=MG({},[`annotation-xml`]),ke=MG({},[`title`,`style`,`font`,`a`,`script`]),Ae=null,je=[`application/xhtml+xml`,`text/html`],Me=null,Ne=null,Pe=n.createElement(`form`),Fe=function(e){return e instanceof RegExp||e instanceof Function},Ie=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ne&&Ne===e)return;(!e||typeof e!=`object`)&&(e={}),e=PG(e),Ae=je.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,Me=Ae===`application/xhtml+xml`?_G:gG,z=EG(e,`ALLOWED_TAGS`)&&hG(e.ALLOWED_TAGS)?MG({},e.ALLOWED_TAGS,Me):B,V=EG(e,`ALLOWED_ATTR`)&&hG(e.ALLOWED_ATTR)?MG({},e.ALLOWED_ATTR,Me):H,Te=EG(e,`ALLOWED_NAMESPACES`)&&hG(e.ALLOWED_NAMESPACES)?MG({},e.ALLOWED_NAMESPACES,_G):Ee,ve=EG(e,`ADD_URI_SAFE_ATTR`)&&hG(e.ADD_URI_SAFE_ATTR)?MG(PG(ye),e.ADD_URI_SAFE_ATTR,Me):ye,_e=EG(e,`ADD_DATA_URI_TAGS`)&&hG(e.ADD_DATA_URI_TAGS)?MG(PG(X),e.ADD_DATA_URI_TAGS,Me):X,he=EG(e,`FORBID_CONTENTS`)&&hG(e.FORBID_CONTENTS)?MG({},e.FORBID_CONTENTS,Me):ge,W=EG(e,`FORBID_TAGS`)&&hG(e.FORBID_TAGS)?MG({},e.FORBID_TAGS,Me):PG({}),G=EG(e,`FORBID_ATTR`)&&hG(e.FORBID_ATTR)?MG({},e.FORBID_ATTR,Me):PG({}),me=EG(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?PG(e.USE_PROFILES):e.USE_PROFILES:!1,ee=e.ALLOW_ARIA_ATTR!==!1,te=e.ALLOW_DATA_ATTR!==!1,ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,q=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,re=e.SAFE_FOR_TEMPLATES||!1,ie=e.SAFE_FOR_XML!==!1,ae=e.WHOLE_DOCUMENT||!1,se=e.RETURN_DOM||!1,ce=e.RETURN_DOM_FRAGMENT||!1,le=e.RETURN_TRUSTED_TYPE||!1,oe=e.FORCE_BODY||!1,Y=e.SANITIZE_DOM!==!1,ue=e.SANITIZE_NAMED_PROPS||!1,fe=e.KEEP_CONTENT!==!1,pe=e.IN_PLACE||!1,R=LG(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:eK,Ce=typeof e.NAMESPACE==`string`?e.NAMESPACE:Se,De=EG(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?PG(e.MATHML_TEXT_INTEGRATION_POINTS):MG({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Oe=EG(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?PG(e.HTML_INTEGRATION_POINTS):MG({},[`annotation-xml`]);let t=EG(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?PG(e.CUSTOM_ELEMENT_HANDLING):oG(null);if(U=oG(null),EG(t,`tagNameCheck`)&&Fe(t.tagNameCheck)&&(U.tagNameCheck=t.tagNameCheck),EG(t,`attributeNameCheck`)&&Fe(t.attributeNameCheck)&&(U.attributeNameCheck=t.attributeNameCheck),EG(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(U.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),re&&(te=!1),ce&&(se=!0),me&&(z=MG({},WG),V=oG(null),me.html===!0&&(MG(z,RG),MG(V,GG)),me.svg===!0&&(MG(z,zG),MG(V,KG),MG(V,JG)),me.svgFilters===!0&&(MG(z,BG),MG(V,KG),MG(V,JG)),me.mathMl===!0&&(MG(z,HG),MG(V,qG),MG(V,JG))),K.tagCheck=null,K.attributeCheck=null,EG(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?K.tagCheck=e.ADD_TAGS:hG(e.ADD_TAGS)&&(z===B&&(z=PG(z)),MG(z,e.ADD_TAGS,Me))),EG(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?K.attributeCheck=e.ADD_ATTR:hG(e.ADD_ATTR)&&(V===H&&(V=PG(V)),MG(V,e.ADD_ATTR,Me))),EG(e,`ADD_URI_SAFE_ATTR`)&&hG(e.ADD_URI_SAFE_ATTR)&&MG(ve,e.ADD_URI_SAFE_ATTR,Me),EG(e,`FORBID_CONTENTS`)&&hG(e.FORBID_CONTENTS)&&(he===ge&&(he=PG(he)),MG(he,e.FORBID_CONTENTS,Me)),EG(e,`ADD_FORBID_CONTENTS`)&&hG(e.ADD_FORBID_CONTENTS)&&(he===ge&&(he=PG(he)),MG(he,e.ADD_FORBID_CONTENTS,Me)),fe&&(z[`#text`]=!0),ae&&MG(z,[`html`,`head`,`body`]),z.table&&(MG(z,[`tbody`]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw kG(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw kG(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);x=e.TRUSTED_TYPES_POLICY,S=x.createHTML(``)}else x===void 0&&(x=sK(u,i)),x!==null&&typeof S==`string`&&(S=x.createHTML(``));(k.uponSanitizeElement.length>0||k.uponSanitizeAttribute.length>0)&&z===B&&(z=PG(z)),k.uponSanitizeAttribute.length>0&&V===H&&(V=PG(V)),iG&&iG(e),Ne=e},Le=MG({},[...zG,...BG,...VG]),Re=MG({},[...HG,...UG]),ze=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:Ce,tagName:`template`});let n=gG(e.tagName),r=gG(t.tagName);return Te[e.namespaceURI]?e.namespaceURI===xe?t.namespaceURI===Se?n===`svg`:t.namespaceURI===be?n===`svg`&&(r===`annotation-xml`||De[r]):!!Le[n]:e.namespaceURI===be?t.namespaceURI===Se?n===`math`:t.namespaceURI===xe?n===`math`&&Oe[r]:!!Re[n]:e.namespaceURI===Se?t.namespaceURI===xe&&!Oe[r]||t.namespaceURI===be&&!De[r]?!1:!Re[n]&&(ke[n]||!Le[n]):!!(Ae===`application/xhtml+xml`&&Te[e.namespaceURI]):!1},Be=function(e){pG(t.removed,{element:e});try{g(e).removeChild(e)}catch{p(e)}},Ve=function(e,n){try{pG(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{pG(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(se||ce)try{Be(n)}catch{}else try{n.setAttribute(e,``)}catch{}},He=function(e){let t=null,r=null;if(oe)e=`<remove></remove>`+e;else{let t=vG(e,/^[\r\n\t ]+/);r=t&&t[0]}Ae===`application/xhtml+xml`&&Ce===Se&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=x?x.createHTML(e):e;if(Ce===Se)try{t=new l().parseFromString(i,Ae)}catch{}if(!t||!t.documentElement){t=w.createDocument(Ce,`template`,null);try{t.documentElement.innerHTML=we?S:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ce===Se?D.call(t,ae?`html`:`body`)[0]:ae?t.documentElement:a},Ue=function(e){return T.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},We=function(e){e.normalize();let t=T.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;){let e=n.data;uG([A,j,M],t=>{e=yG(e,t,` `)}),n.data=e,n=t.nextNode()}},Ge=function(e){let t=b?b(e):null;return typeof t!=`string`||Me(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},Ke=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===aK.documentFragment}catch{return!1}},qe=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function Je(e,n,r){uG(e,e=>{e.call(t,n,r,Ne)})}let Ye=function(e){let n=null;if(Je(k.beforeSanitizeElements,e,null),Ge(e))return Be(e),!0;let r=Me(e.nodeName);if(Je(k.uponSanitizeElement,e,{tagName:r,allowedTags:z}),ie&&e.hasChildNodes()&&!qe(e.firstElementChild)&&OG(/<[/\w!]/g,e.innerHTML)&&OG(/<[/\w!]/g,e.textContent)||ie&&e.namespaceURI===Se&&r===`style`&&qe(e.firstElementChild)||e.nodeType===aK.progressingInstruction||ie&&e.nodeType===aK.comment&&OG(/<[/\w]/g,e.data))return Be(e),!0;if(W[r]||!(K.tagCheck instanceof Function&&K.tagCheck(r))&&!z[r]){if(!W[r]&&Qe(r)&&(U.tagNameCheck instanceof RegExp&&OG(U.tagNameCheck,r)||U.tagNameCheck instanceof Function&&U.tagNameCheck(r)))return!1;if(fe&&!he[r]){let t=g(e),n=h(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=f(n[i],!0);t.insertBefore(r,m(e))}}}return Be(e),!0}return(y?y(e):e.nodeType)===aK.element&&!ze(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&OG(/<\/no(script|embed|frames)/i,e.innerHTML)?(Be(e),!0):(re&&e.nodeType===aK.text&&(n=e.textContent,uG([A,j,M],e=>{n=yG(n,e,` `)}),e.textContent!==n&&(pG(t.removed,{element:e.cloneNode()}),e.textContent=n)),Je(k.afterSanitizeElements,e,null),!1)},Xe=function(e,t,r){if(G[t]||Y&&(t===`id`||t===`name`)&&(r in n||r in Pe))return!1;let i=V[t]||K.attributeCheck instanceof Function&&K.attributeCheck(t,e);if(!(te&&!G[t]&&OG(N,t))&&!(ee&&OG(P,t))){if(!i||G[t]){if(!(Qe(e)&&(U.tagNameCheck instanceof RegExp&&OG(U.tagNameCheck,e)||U.tagNameCheck instanceof Function&&U.tagNameCheck(e))&&(U.attributeNameCheck instanceof RegExp&&OG(U.attributeNameCheck,t)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(t,e))||t===`is`&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&OG(U.tagNameCheck,r)||U.tagNameCheck instanceof Function&&U.tagNameCheck(r))))return!1}else if(!ve[t]&&!OG(R,yG(r,I,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&bG(r,`data:`)===0&&_e[e])&&!(ne&&!OG(F,yG(r,I,``)))&&r)return!1}return!0},Ze=MG({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Qe=function(e){return!Ze[gG(e)]&&OG(L,e)},$e=function(e){Je(k.beforeSanitizeAttributes,e,null);let n=e.attributes;if(!n||Ge(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0},i=n.length;for(;i--;){let a=n[i],o=a.name,s=a.namespaceURI,c=a.value,l=Me(o),d=c,f=o===`value`?d:xG(d);if(r.attrName=l,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,Je(k.uponSanitizeAttribute,e,r),f=r.attrValue,ue&&(l===`id`||l===`name`)&&bG(f,de)!==0&&(Ve(o,e),f=de+f),ie&&OG(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){Ve(o,e);continue}if(l===`attributename`&&vG(f,`href`)){Ve(o,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ve(o,e);continue}if(!q&&OG(/\/>/i,f)){Ve(o,e);continue}re&&uG([A,j,M],e=>{f=yG(f,e,` `)});let p=Me(e.nodeName);if(!Xe(p,l,f)){Ve(o,e);continue}if(x&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!s)switch(u.getAttributeType(p,l)){case`TrustedHTML`:f=x.createHTML(f);break;case`TrustedScriptURL`:f=x.createScriptURL(f);break}if(f!==d)try{s?e.setAttributeNS(s,o,f):e.setAttribute(o,f),Ge(e)?Be(e):fG(t.removed)}catch{Ve(o,e)}}Je(k.afterSanitizeAttributes,e,null)},et=function(e){let t=null,n=Ue(e);for(Je(k.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Je(k.uponSanitizeShadowNode,t,null),Ye(t),$e(t),Ke(t.content)&&et(t.content),(y?y(t):t.nodeType)===aK.element){let e=_?_(t):t.shadowRoot;Ke(e)&&(tt(e),et(e))}Je(k.afterSanitizeShadowDOM,e,null)},tt=function(e){let t=y?y(e):e.nodeType;if(t===aK.element){let t=_?_(e):e.shadowRoot;Ke(t)&&(tt(t),et(t))}let n=h?h(e):e.childNodes;if(!n)return;let r=[];uG(n,e=>{pG(r,e)});for(let e of r)tt(e);if(t===aK.element){let t=b?b(e):null;if(typeof t==`string`&&Me(t)===`template`){let t=e.content;Ke(t)&&tt(t)}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(we=!e,we&&(e=`<!-->`),typeof e!=`string`&&!qe(e)&&(e=FG(e),typeof e!=`string`))throw kG(`dirty is not a string, aborting`);if(!t.isSupported)return e;if(J||Ie(n),t.removed=[],typeof e==`string`&&(pe=!1),pe){let t=b?b(e):e.nodeName;if(typeof t==`string`){let e=Me(t);if(!z[e]||W[e])throw kG(`root node is forbidden and cannot be sanitized in-place`)}if(Ge(e))throw kG(`root node is clobbered and cannot be sanitized in-place`);tt(e)}else if(qe(e))i=He(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===aK.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),tt(a);else{if(!se&&!re&&!ae&&e.indexOf(`<`)===-1)return x&&le?x.createHTML(e):e;if(i=He(e),!i)return se?null:le?S:``}i&&oe&&Be(i.firstChild);let c=Ue(pe?e:i);for(;o=c.nextNode();)Ye(o),$e(o),Ke(o.content)&&et(o.content);if(pe)return re&&We(e),e;if(se){if(re&&We(i),ce)for(s=E.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(V.shadowroot||V.shadowrootmode)&&(s=O.call(r,s,!0)),s}let l=ae?i.outerHTML:i.innerHTML;return ae&&z[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&OG(rK,i.ownerDocument.doctype.name)&&(l=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
26
|
+
`+l),re&&uG([A,j,M],e=>{l=yG(l,e,` `)}),x&&le?x.createHTML(l):l},t.setConfig=function(){Ie(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),J=!0},t.clearConfig=function(){Ne=null,J=!1},t.isValidAttribute=function(e,t,n){return Ne||Ie({}),Xe(Me(e),Me(t),n)},t.addHook=function(e,t){typeof t==`function`&&pG(k[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=dG(k[e],t);return n===-1?void 0:mG(k[e],n,1)[0]}return fG(k[e])},t.removeHooks=function(e){k[e]=[]},t.removeAllHooks=function(){k=cK()},t}var uK=lK();function dK(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var fK=dK();function pK(e){fK=e}var mK={exec:()=>null};function hK(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function gK(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(vK.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var _K=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),vK={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:hK(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:hK(e=>RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:hK(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:hK(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:hK(e=>RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,`i`)),blockquoteBeginRegex:hK(e=>RegExp(`^ {0,${e}}>`))},yK=/^(?:[ \t]*(?:\n|$))+/,bK=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,xK=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,SK=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,CK=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,wK=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,TK=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,EK=gK(TK).replace(/bull/g,wK).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),DK=gK(TK).replace(/bull/g,wK).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),OK=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,kK=/^[^\n]+/,AK=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,jK=gK(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,AK).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),MK=gK(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,wK).getRegex(),NK=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,PK=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,FK=gK(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,PK).replace(`tag`,NK).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),IK=gK(OK).replace(`hr`,SK).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,NK).getRegex(),LK={blockquote:gK(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,IK).getRegex(),code:bK,def:jK,fences:xK,heading:CK,hr:SK,html:FK,lheading:EK,list:MK,newline:yK,paragraph:IK,table:mK,text:kK},RK=gK(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,SK).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,NK).getRegex(),zK={...LK,lheading:DK,table:RK,paragraph:gK(OK).replace(`hr`,SK).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,RK).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,NK).getRegex()},BK={...LK,html:gK(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,PK).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:mK,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:gK(OK).replace(`hr`,SK).replace(`heading`,` *#{1,6} *[^
|
|
27
|
+
]`).replace(`lheading`,EK).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},VK=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,HK=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,UK=/^( {2,}|\\)\n(?!\s*$)/,WK=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,GK=/[\p{P}\p{S}]/u,KK=/[\s\p{P}\p{S}]/u,qK=/[^\s\p{P}\p{S}]/u,JK=gK(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,KK).getRegex(),YK=/(?!~)[\p{P}\p{S}]/u,XK=/(?!~)[\s\p{P}\p{S}]/u,ZK=/(?:[^\s\p{P}\p{S}]|~)/u,QK=gK(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,_K?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),$K=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,eq=gK($K,`u`).replace(/punct/g,GK).getRegex(),tq=gK($K,`u`).replace(/punct/g,YK).getRegex(),nq=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,rq=gK(nq,`gu`).replace(/notPunctSpace/g,qK).replace(/punctSpace/g,KK).replace(/punct/g,GK).getRegex(),iq=gK(nq,`gu`).replace(/notPunctSpace/g,ZK).replace(/punctSpace/g,XK).replace(/punct/g,YK).getRegex(),aq=gK(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,qK).replace(/punctSpace/g,KK).replace(/punct/g,GK).getRegex(),oq=gK(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,GK).getRegex(),sq=gK(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,qK).replace(/punctSpace/g,KK).replace(/punct/g,GK).getRegex(),cq=gK(/\\(punct)/,`gu`).replace(/punct/g,GK).getRegex(),lq=gK(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),uq=gK(PK).replace(`(?:-->|$)`,`-->`).getRegex(),dq=gK(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,uq).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),fq=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,pq=gK(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace(`label`,fq).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mq=gK(/^!?\[(label)\]\[(ref)\]/).replace(`label`,fq).replace(`ref`,AK).getRegex(),hq=gK(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,AK).getRegex(),gq=gK(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,mq).replace(`nolink`,hq).getRegex(),_q=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,vq={_backpedal:mK,anyPunctuation:cq,autolink:lq,blockSkip:QK,br:UK,code:HK,del:mK,delLDelim:mK,delRDelim:mK,emStrongLDelim:eq,emStrongRDelimAst:rq,emStrongRDelimUnd:aq,escape:VK,link:pq,nolink:hq,punctuation:JK,reflink:mq,reflinkSearch:gq,tag:dq,text:WK,url:mK},yq={...vq,link:gK(/^!?\[(label)\]\((.*?)\)/).replace(`label`,fq).getRegex(),reflink:gK(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,fq).getRegex()},bq={...vq,emStrongRDelimAst:iq,emStrongLDelim:tq,delLDelim:oq,delRDelim:sq,url:gK(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,_q).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:gK(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,_q).getRegex()},xq={...bq,br:gK(UK).replace(`{2,}`,`*`).getRegex(),text:gK(bq.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},Sq={normal:LK,gfm:zK,pedantic:BK},Cq={normal:vq,gfm:bq,breaks:xq,pedantic:yq},wq={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},Tq=e=>wq[e];function Eq(e,t){if(t){if(vK.escapeTest.test(e))return e.replace(vK.escapeReplace,Tq)}else if(vK.escapeTestNoEncode.test(e))return e.replace(vK.escapeReplaceNoEncode,Tq);return e}function Dq(e){try{e=encodeURI(e).replace(vK.percentDecode,`%`)}catch{return null}return e}function Oq(e,t){let n=e.replace(vK.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(vK.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``);for(;r<n.length;r++)n[r]=n[r].trim().replace(vK.slashPipe,`|`);return n}function kq(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function Aq(e){let t=e.split(`
|
|
28
|
+
`),n=t.length-1;for(;n>=0&&vK.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
|
|
29
|
+
`)}function jq(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Mq(e,t=0){let n=t,r=``;for(let t of e)if(t===` `){let e=4-n%4;r+=` `.repeat(e),n+=e}else r+=t,n++;return r}function Nq(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function Pq(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
30
|
+
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
31
|
+
`)}var Fq=class{options;rules;lexer;constructor(e){this.options=e||fK}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:Aq(t[0]);return{type:`code`,raw:e,codeBlockStyle:`indented`,text:e.replace(this.rules.other.codeRemoveIndent,``)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=Pq(e,t[3]||``,this.rules);return{type:`code`,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,`$1`):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=kq(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:kq(t[0],`
|
|
32
|
+
`),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:kq(t[0],`
|
|
33
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=kq(t[0],`
|
|
34
|
+
`).split(`
|
|
35
|
+
`),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
|
|
36
|
+
`),c=s.replace(this.rules.other.blockquoteSetextReplace,`
|
|
37
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}
|
|
38
|
+
${s}`:s,r=r?`${r}
|
|
39
|
+
${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,e.length===0)break;let u=i.at(-1);if(u?.type===`code`)break;if(u?.type===`blockquote`){let t=u,a=t.raw+`
|
|
40
|
+
`+e.join(`
|
|
41
|
+
`),o=this.blockquote(a);i[i.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}else if(u?.type===`list`){let t=u,a=t.raw+`
|
|
42
|
+
`+e.join(`
|
|
43
|
+
`),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
|
|
44
|
+
`);continue}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:`list`,raw:``,ordered:r,start:r?+n.slice(0,-1):``,loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:`[*+-]`);let a=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,r=``,s=``;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=Mq(t[2].split(`
|
|
45
|
+
`,1)[0],t[1].length),l=e.split(`
|
|
46
|
+
`,1)[0],u=!c.trim(),d=0;if(this.options.pedantic?(d=2,s=c.trimStart()):u?d=t[1].length+1:(d=c.search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=c.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(l)&&(r+=l+`
|
|
47
|
+
`,e=e.substring(l.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d),f=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(`
|
|
48
|
+
`,1)[0],m;if(l=p,this.options.pedantic?(l=l.replace(this.rules.other.listReplaceNesting,` `),m=l):m=l.replace(this.rules.other.tabCharGlobal,` `),i.test(l)||a.test(l)||o.test(l)||f.test(l)||t.test(l)||n.test(l))break;if(m.search(this.rules.other.nonSpaceChar)>=d||!l.trim())s+=`
|
|
49
|
+
`+m.slice(d);else{if(u||c.replace(this.rules.other.tabCharGlobal,` `).search(this.rules.other.nonSpaceChar)>=4||i.test(c)||a.test(c)||n.test(c))break;s+=`
|
|
50
|
+
`+l}u=!l.trim(),r+=p+`
|
|
51
|
+
`,e=e.substring(p.length+1),c=m.slice(d)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),i.items.push({type:`list_item`,raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(s),loose:!1,text:s,tokens:[]}),i.raw+=r}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let e of i.items){this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]);let t=e.tokens[0];if(e.task&&(t?.type===`text`||t?.type===`paragraph`)){e.text=e.text.replace(this.rules.other.listReplaceTask,``),t.raw=t.raw.replace(this.rules.other.listReplaceTask,``),t.text=t.text.replace(this.rules.other.listReplaceTask,``);for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,``);break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:`checkbox`,raw:n[0]+` `,checked:n[0]!==`[ ]`};e.checked=t.checked,i.loose?e.tokens[0]&&[`paragraph`,`text`].includes(e.tokens[0].type)&&`tokens`in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:`paragraph`,raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&=!1;if(!i.loose){let t=e.tokens.filter(e=>e.type===`space`);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(i.loose)for(let e of i.items){e.loose=!0;for(let t of e.tokens)t.type===`text`&&(t.type=`paragraph`)}return i}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=Aq(t[0]);return{type:`html`,block:!0,raw:e,pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal,` `),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:kq(t[0],`
|
|
52
|
+
`),href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=Oq(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,``).split(`|`),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,``).split(`
|
|
53
|
+
`):[],a={type:`table`,raw:kq(t[0],`
|
|
54
|
+
`),header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(Oq(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:`heading`,raw:kq(t[0],`
|
|
55
|
+
`),depth:t[2].charAt(0)===`=`?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
|
|
56
|
+
`?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:`text`,raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=kq(e.slice(0,-1),`\\`);if((e.length-t.length)%2==0)return}else{let e=jq(t[2],`()`);if(e===-2)return;if(e>-1){let n=(t[0].indexOf(`!`)===0?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=``}}let n=t[2],r=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):``;return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),Nq(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,`$1`),title:r&&r.replace(this.rules.inline.anyPunctuation,`$1`)},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal,` `).toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:`text`,raw:e,text:e}}return Nq(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=0,c=r[0][0]===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);(r=c.exec(t))!==null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(a=[...i].length,r[3]||r[4]){o+=a;continue}else if((r[5]||r[6])&&n%3&&!((n+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);let t=[...r[0]][0].length,c=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=c.slice(1,-1);return{type:`em`,raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}let l=c.slice(2,-2);return{type:`strong`,raw:c,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:`br`,raw:t[0]}}del(e,t,n=``){let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=this.rules.inline.delRDelim;for(s.lastIndex=0,t=t.slice(-1*e.length+n);(r=s.exec(t))!==null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(a=[...i].length,a!==n))continue;if(r[3]||r[4]){o+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o);let t=[...r[0]][0].length,s=e.slice(0,n+r.index+t+a),c=s.slice(n,-n);return{type:`del`,raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:t[0],escaped:e}}}},Iq=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||fK,this.options.tokenizer=this.options.tokenizer||new Fq,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:vK,block:Sq.normal,inline:Cq.normal};this.options.pedantic?(t.block=Sq.pedantic,t.inline=Cq.pedantic):this.options.gfm&&(t.block=Sq.gfm,this.options.breaks?t.inline=Cq.breaks:t.inline=Cq.gfm),this.tokenizer.rules=t}static get rules(){return{block:Sq,inline:Cq}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(vK.carriageReturn,`
|
|
57
|
+
`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(vK.tabCharGlobal,` `).replace(vK.spaceLine,``));let r=1/0;for(;e;){if(e.length<r)r=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}let i;if(this.options.extensions?.block?.some(n=>(i=n.call({lexer:this},e,t))?(e=e.substring(i.raw.length),t.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let n=t.at(-1);i.raw.length===1&&n!==void 0?n.raw+=`
|
|
58
|
+
`:t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
59
|
+
`)?``:`
|
|
60
|
+
`)+i.raw,n.text+=`
|
|
61
|
+
`+i.text,this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
62
|
+
`)?``:`
|
|
63
|
+
`)+i.raw,n.text+=`
|
|
64
|
+
`+i.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},t.push(i));continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),t.push(i);continue}let a=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){let r=t.at(-1);n&&r?.type===`paragraph`?(r.raw+=(r.raw.endsWith(`
|
|
65
|
+
`)?``:`
|
|
66
|
+
`)+i.raw,r.text+=`
|
|
67
|
+
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(i),n=a.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
68
|
+
`)?``:`
|
|
69
|
+
`)+i.raw,n.text+=`
|
|
70
|
+
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){this.tokenizer.lexer=this;let n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!==null;)e.includes(r[0].slice(r[0].lastIndexOf(`[`)+1,-1))&&(n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!==null;)n=n.slice(0,r.index)+`++`+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!==null;)i=r[2]?r[2].length:0,n=n.slice(0,r.index+i)+`[`+`a`.repeat(r[0].length-i-2)+`]`+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,o=``,s=1/0;for(;e;){if(e.length<s)s=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}a||(o=``),a=!1;let r;if(this.options.extensions?.inline?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);r.type===`text`&&n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,o)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e,n,o)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),r.raw.slice(-1)!==`_`&&(o=r.raw.slice(-1)),a=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return t}infiniteLoopError(e){let t=`Infinite loop on byte: `+e;if(this.options.silent)console.error(t);else throw Error(t)}},Lq=class{options;parser;constructor(e){this.options=e||fK}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(vK.notSpaceStart)?.[0],i=e.replace(vK.endingNewline,``)+`
|
|
71
|
+
`;return r?`<pre><code class="language-`+Eq(r)+`">`+(n?i:Eq(i,!0))+`</code></pre>
|
|
72
|
+
`:`<pre><code>`+(n?i:Eq(i,!0))+`</code></pre>
|
|
73
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
74
|
+
${this.parser.parse(e)}</blockquote>
|
|
75
|
+
`}html({text:e}){return e}def(e){return``}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
76
|
+
`}hr(e){return`<hr>
|
|
77
|
+
`}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
|
|
78
|
+
`+r+`</`+i+`>
|
|
79
|
+
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
80
|
+
`}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox"> `}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
81
|
+
`}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
|
|
82
|
+
<thead>
|
|
83
|
+
`+t+`</thead>
|
|
84
|
+
`+r+`</table>
|
|
85
|
+
`}tablerow({text:e}){return`<tr>
|
|
86
|
+
${e}</tr>
|
|
87
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
88
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Eq(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=Dq(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+Eq(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=Dq(e);if(i===null)return Eq(n);e=i;let a=`<img src="${e}" alt="${Eq(n)}"`;return t&&(a+=` title="${Eq(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:Eq(e.text)}},Rq=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}checkbox({raw:e}){return e}},zq=class e{options;renderer;textRenderer;constructor(e){this.options=e||fK,this.options.renderer=this.options.renderer||new Lq,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Rq}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n||``;continue}}let i=r;switch(i.type){case`space`:t+=this.renderer.space(i);break;case`hr`:t+=this.renderer.hr(i);break;case`heading`:t+=this.renderer.heading(i);break;case`code`:t+=this.renderer.code(i);break;case`table`:t+=this.renderer.table(i);break;case`blockquote`:t+=this.renderer.blockquote(i);break;case`list`:t+=this.renderer.list(i);break;case`checkbox`:t+=this.renderer.checkbox(i);break;case`html`:t+=this.renderer.html(i);break;case`def`:t+=this.renderer.def(i);break;case`paragraph`:t+=this.renderer.paragraph(i);break;case`text`:t+=this.renderer.text(i);break;default:{let e=`Token with "`+i.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`checkbox`:n+=t.checkbox(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},Bq=class{options;block;constructor(e){this.options=e||fK}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?Iq.lex:Iq.lexInline}provideParser(e=this.block){return e?zq.parse:zq.parseInline}},Vq=new class{defaults=dK();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=zq;Renderer=Lq;TextRenderer=Rq;Lexer=Iq;Tokenizer=Fq;Hooks=Bq;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new Lq(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new Fq(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Bq;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];Bq.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async&&Bq.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:t[r]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Iq.lex(e,t??this.defaults)}parser(e,t){return zq.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?Iq.lex:Iq.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?zq.parse:zq.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?Iq.lex:Iq.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?zq.parse:zq.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
89
|
+
Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+Eq(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Hq(e,t){return Vq.parse(e,t)}Hq.options=Hq.setOptions=function(e){return Vq.setOptions(e),Hq.defaults=Vq.defaults,pK(Hq.defaults),Hq},Hq.getDefaults=dK,Hq.defaults=fK,Hq.use=function(...e){return Vq.use(...e),Hq.defaults=Vq.defaults,pK(Hq.defaults),Hq},Hq.walkTokens=function(e,t){return Vq.walkTokens(e,t)},Hq.parseInline=Vq.parseInline,Hq.Parser=zq,Hq.parser=zq.parse,Hq.Renderer=Lq,Hq.TextRenderer=Rq,Hq.Lexer=Iq,Hq.lexer=Iq.lex,Hq.Tokenizer=Fq,Hq.Hooks=Bq,Hq.parse=Hq,Hq.options,Hq.setOptions,Hq.use,Hq.walkTokens,Hq.parseInline,zq.parse,Iq.lex;function Uq(e){if(typeof e==`function`&&(e={highlight:e}),!e||typeof e.highlight!=`function`)throw Error(`Must provide highlight function`);return typeof e.langPrefix!=`string`&&(e.langPrefix=`language-`),typeof e.emptyLangClass!=`string`&&(e.emptyLangClass=``),{async:!!e.async,walkTokens(t){if(t.type!==`code`)return;let n=Wq(t.lang);if(e.async)return Promise.resolve(e.highlight(t.text,n,t.lang||``)).then(Gq(t));let r=e.highlight(t.text,n,t.lang||``);if(r instanceof Promise)throw Error(`markedHighlight is not set to async but the highlight function is async. Set the async option to true on markedHighlight to await the async highlight function.`);Gq(t)(r)},useNewRenderer:!0,renderer:{code(t,n,r){typeof t==`object`&&(r=t.escaped,n=t.lang,t=t.text);let i=Wq(n),a=i?e.langPrefix+Qq(i):e.emptyLangClass,o=a?` class="${a}"`:``;return t=t.replace(/\n$/,``),`<pre><code${o}>${r?t:Qq(t,!0)}\n</code></pre>`}}}}function Wq(e){return(e||``).match(/\S*/)[0]}function Gq(e){return t=>{typeof t==`string`&&t!==e.text&&(e.escaped=!0,e.text=t)}}var Kq=/[&<>"']/,qq=new RegExp(Kq.source,`g`),Jq=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Yq=new RegExp(Jq.source,`g`),Xq={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},Zq=e=>Xq[e];function Qq(e,t){if(t){if(Kq.test(e))return e.replace(qq,Zq)}else if(Jq.test(e))return e.replace(Yq,Zq);return e}var $q=e(n(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=S.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var w=/\b\B/,T=`[a-zA-Z]\\w*`,E=`[a-zA-Z_]\\w*`,D=`\\b\\d+(\\.\\d+)?`,O=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,k=`\\b(0b[01]+)`,A=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,j=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},M={begin:`\\\\[\\s\\S]`,relevance:0},N={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[M]},P={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[M]},F={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},L=I(`//`,`$`),R=I(`/\\*`,`\\*/`),z=I(`#`,`$`),B=Object.freeze({__proto__:null,APOS_STRING_MODE:N,BACKSLASH_ESCAPE:M,BINARY_NUMBER_MODE:{scope:`number`,begin:k,relevance:0},BINARY_NUMBER_RE:k,COMMENT:I,C_BLOCK_COMMENT_MODE:R,C_LINE_COMMENT_MODE:L,C_NUMBER_MODE:{scope:`number`,begin:O,relevance:0},C_NUMBER_RE:O,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:z,IDENT_RE:T,MATCH_NOTHING_RE:w,METHOD_GUARD:{begin:`\\.\\s*[a-zA-Z_]\\w*`,relevance:0},NUMBER_MODE:{scope:`number`,begin:D,relevance:0},NUMBER_RE:D,PHRASAL_WORDS_MODE:F,QUOTE_STRING_MODE:P,REGEXP_MODE:{scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[M,{begin:/\[/,end:/\]/,relevance:0,contains:[M]}]},RE_STARTERS_RE:A,SHEBANG:j,TITLE_MODE:{scope:`title`,begin:T,relevance:0},UNDERSCORE_IDENT_RE:E,UNDERSCORE_TITLE_MODE:{scope:`title`,begin:E,relevance:0}});function V(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function H(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function U(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=V,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function W(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function G(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function K(e,t){e.relevance===void 0&&(e.relevance=1)}var ee=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},te=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],ne=`keyword`;function q(e,t,n=ne){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,q(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,re(n[0],n[1])]})}}function re(e,t){return t?Number(t):+!ie(e)}function ie(e){return te.includes(e.toLowerCase())}var ae={},J=e=>{console.error(e)},oe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},se=(e,t)=>{ae[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ae[`${e}/${t}`]=!0)},ce=Error();function le(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Y(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw J(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),ce;if(typeof e.beginScope!=`object`||e.beginScope===null)throw J(`beginScope must be object`),ce;le(e,e.begin,{key:`beginScope`}),e.begin=C(e.begin,{joinWith:``})}}function ue(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw J(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),ce;if(typeof e.endScope!=`object`||e.endScope===null)throw J(`endScope must be object`),ce;le(e,e.end,{key:`endScope`}),e.end=C(e.end,{joinWith:``})}}function de(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function fe(e){de(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Y(e),ue(e)}function pe(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[H,G,fe,ee].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[U,W,K].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=q(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return he(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function me(e){return e?e.endsWithParent||me(e.starts):!1}function he(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:me(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var ge=`11.11.1`,_e=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},X=i,ve=a,ye=Symbol(`nomatch`),be=7,xe=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=N(n[1]);return t||(oe(s.replace(`{}`,n[1])),oe(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||N(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(se(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),se(`10.7.0`,`Please use highlight(code, options) instead.
|
|
90
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};z(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,z(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!A.keywords){M.addText(P);return}let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(P),n=``;for(;t;){n+=P.substring(e,t.index);let r=D.case_insensitive?t[0].toLowerCase():t[0],i=u(A,r);if(i){let[e,a]=i;if(M.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=be&&(F+=a),e.startsWith(`_`))n+=t[0];else{let n=D.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(P)}n+=P.substring(e),M.addText(n)}function f(){if(P===``)return;let e=null;if(typeof A.subLanguage==`string`){if(!t[A.subLanguage]){M.addText(P);return}e=v(A.subLanguage,P,!0,j[A.subLanguage]),j[A.subLanguage]=e._top}else e=S(P,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(F+=e.relevance),M.__addSublanguage(e._emitter,e.language)}function p(){A.subLanguage==null?d():f(),P=``}function m(e,t){e!==``&&(M.startScope(t),M.addText(e),M.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=D.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(P=i,d(),P=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&M.openNode(D.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(P,D.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),P=``):e.beginScope._multi&&(h(e.beginScope,t),P=``)),A=Object.create(e,{parent:{value:A}}),A}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return A.matcher.regexIndex===0?(P+=e[0],1):(R=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?P+=t:(n.excludeBegin&&(P+=t),p(),!n.returnBegin&&!n.excludeBegin&&(P=t)),g(n,e),n.returnBegin?0:t.length}function C(e){let t=e[0],r=n.substring(e.index),i=_(A,e,r);if(!i)return ye;let a=A;A.endScope&&A.endScope._wrap?(p(),m(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),h(A.endScope,e)):a.skip?P+=t:(a.returnEnd||a.excludeEnd||(P+=t),p(),a.excludeEnd&&(P=t));do A.scope&&M.closeNode(),!A.skip&&!A.subLanguage&&(F+=A.relevance),A=A.parent;while(A!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function w(){let e=[];for(let t=A;t!==D;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>M.openNode(e))}let T={};function E(t,r){let a=r&&r[0];if(P+=t,a==null)return p(),0;if(T.type===`begin`&&r.type===`end`&&T.index===r.index&&a===``){if(P+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=T.rule,t}return 1}if(T=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(A.scope||`<unnamed>`)+`"`);throw e.mode=A,e}else if(r.type===`end`){let e=C(r);if(e!==ye)return e}if(r.type===`illegal`&&a===``)return P+=`
|
|
91
|
+
`,1;if(L>1e5&&L>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return P+=a,a.length}let D=N(e);if(!D)throw J(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let O=pe(D),k=``,A=a||O,j={},M=new l.__emitter(l);w();let P=``,F=0,I=0,L=0,R=!1;try{if(D.__emitTokens)D.__emitTokens(n,M);else{for(A.matcher.considerAll();;){L++,R?R=!1:A.matcher.considerAll(),A.matcher.lastIndex=I;let e=A.matcher.exec(n);if(!e)break;let t=E(n.substring(I,e.index),e);I=e.index+t}E(n.substring(I))}return M.finalize(),k=M.toHTML(),{language:e,value:k,relevance:F,illegal:!1,_emitter:M,_top:A}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:X(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:I,context:n.slice(I-100,I+100),mode:t.mode,resultSoFar:k},_emitter:M};if(o)return{language:e,value:X(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:A};throw t}}function b(e){let t={value:X(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function S(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(N).filter(F).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function C(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function w(e){let t=null,n=d(e);if(u(n))return;if(z(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new _e(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):S(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,C(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),z(`after:highlightElement`,{el:e,result:i,text:r})}function T(e){l=ve(l,e)}let E=()=>{k(),se(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function D(){k(),se(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let O=!1;function k(){function e(){k()}if(document.readyState===`loading`){O||window.addEventListener(`DOMContentLoaded`,e,!1),O=!0;return}document.querySelectorAll(l.cssSelector).forEach(w)}function A(n,r){let i=null;try{i=r(e)}catch(e){if(J(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)J(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&P(i.aliases,{languageName:n})}function j(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function M(){return Object.keys(t)}function N(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function P(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function F(e){let t=N(e);return t&&!t.disableAutodetect}function I(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function L(e){I(e),a.push(e)}function R(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function z(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function V(e){return se(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),se(`10.7.0`,`Please use highlightElement now.`),w(e)}Object.assign(e,{highlight:p,highlightAuto:S,highlightAll:k,highlightElement:w,highlightBlock:V,configure:T,initHighlighting:E,initHighlightingOnLoad:D,registerLanguage:A,unregisterLanguage:j,listLanguages:M,getLanguage:N,registerAliases:P,autoDetection:F,inherit:ve,addPlugin:L,removePlugin:R}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=ge,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in B)typeof B[e]==`object`&&n(B[e]);return Object.assign(e,B),e},Se=xe({});Se.newInstance=()=>xe({}),t.exports=Se,Se.HighlightJS=Se,Se.default=Se}))()).default;function eJ(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}var tJ=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),nJ=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),rJ=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),iJ=[...nJ,...rJ],aJ=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),oJ=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),sJ=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),cJ=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function lJ(e){let t=e.regex,n=tJ(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+oJ.join(`|`)+`)`},{begin:`:(:)?(`+sJ.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+cJ.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:aJ.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+iJ.join(`|`)+`)\\b`}]}}var uJ=`[A-Za-z$_][0-9A-Za-z$_]*`,dJ=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),fJ=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],pJ=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),mJ=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],hJ=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],gJ=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],_J=[].concat(hJ,pJ,mJ);function vJ(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=uJ,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:uJ,keyword:dJ,literal:fJ,built_in:_J,"variable.language":gJ},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:`[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...pJ,...mJ]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function D(e){return t.concat(`(?!`,e.join(`|`),`)`)}let O={match:t.concat(/\b/,D([...hJ,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},k={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},A={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},j=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,M={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(j)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},M,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:j,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},T,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},k,{match:`\\$[A-Za-z$_][0-9A-Za-z$_]*`,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},O,E,S,A,{match:/\$[(.]/}]}}function yJ(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}function bJ(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function xJ(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}var SJ=`[A-Za-z$_][0-9A-Za-z$_]*`,CJ=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),wJ=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],TJ=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),EJ=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],DJ=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],OJ=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],kJ=[].concat(DJ,TJ,EJ);function AJ(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=SJ,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:SJ,keyword:CJ,literal:wJ,built_in:kJ,"variable.language":OJ},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:`[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...TJ,...EJ]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function D(e){return t.concat(`(?!`,e.join(`|`),`)`)}let O={match:t.concat(/\b/,D([...DJ,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},k={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},A={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},j=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,M={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(j)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},M,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:j,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},T,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},k,{match:`\\$[A-Za-z$_][0-9A-Za-z$_]*`,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},O,E,S,A,{match:/\$[(.]/}]}}function jJ(e){let t=e.regex,n=AJ(e),r=SJ,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:SJ,keyword:CJ.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:wJ,built_in:kJ.concat(i),"variable.language":OJ},l={className:`meta`,begin:`@[A-Za-z$_][0-9A-Za-z$_]*`},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function MJ(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}$q.registerLanguage(`bash`,eJ),$q.registerLanguage(`css`,lJ),$q.registerLanguage(`html`,MJ),$q.registerLanguage(`javascript`,vJ),$q.registerLanguage(`json`,yJ),$q.registerLanguage(`markdown`,bJ),$q.registerLanguage(`md`,bJ),$q.registerLanguage(`plaintext`,xJ),$q.registerLanguage(`typescript`,jJ),$q.registerLanguage(`xml`,MJ),$q.registerAliases([`js`,`jsx`],{languageName:`javascript`}),$q.registerAliases([`ts`,`tsx`],{languageName:`typescript`}),$q.registerAliases([`sh`,`shell`,`zsh`],{languageName:`bash`}),Hq.use(Uq({emptyLangClass:`hljs`,langPrefix:`hljs language-`,highlight(e,t){let n=(t??``).trim()||`plaintext`,r=$q.getLanguage(n)?n:`plaintext`;return $q.highlight(e,{language:r}).value}}));var NJ={gfm:!0,breaks:!1,async:!1};function PJ(e,t){return Hq.parse(e,{...NJ,...t,async:!1})}var FJ=`png|jpe?g|gif|webp|bmp|svg|pdf|docx?|xlsx?|pptx?|txt|md|json|html?|css|mjs?|cjs|js|ts|tsx|jsx|yaml|yml|toml|xml`,IJ=new RegExp(String.raw`((?:\.\/)?(?:[A-Za-z0-9_.-]+\/)+[A-Za-z0-9_.-]+\.(?:${FJ})(?::\d+|#L\d+)?)`,`gi`),LJ=new RegExp(String.raw`(\/(?:Users|usr|var|opt|tmp|home|root|System|private|dev|media|mnt|Volumes|data)\/[^\s"'<>()|*?\n]+?\.(?:${FJ})(?::\d+|#L\d+)?)`,`gi`),RJ=new RegExp(String.raw`([A-Za-z]:[\\/][^"'<>()\n|*?=]+?\.(?:${FJ})(?::\d+|#L\d+)?)`,`gi`);function zJ(e){try{let t=new URL(e);return t.protocol!==`xopc:`||t.hostname!==`settings`?null:`/settings${t.pathname===`/`?``:t.pathname}${t.search}${t.hash}`}catch{return null}}function BJ(e){try{let t=new URL(e);return t.protocol!==`xopc:`||t.hostname!==`workspace`||t.pathname!==`/file`||!t.searchParams.get(`path`)?.trim()?null:`/xopc/workspace/file${t.search}${t.hash}`}catch{return null}}function VJ(e){return e.replace(/xopc:\/\/(?:settings|workspace\/file)[^\s)<>"']*/gi,e=>zJ(e)??BJ(e)??e)}function HJ(e){let t=e.trim();if(!t)return null;if(t.startsWith(`xopc://workspace/file`)||t.startsWith(`/xopc/workspace/file`))try{let e=t.startsWith(`/xopc/`)?new URL(t,`https://xopc.local`):new URL(t),n=e.searchParams.get(`path`)?.trim()??``;if(!n)return null;t=n;let r=Number(e.searchParams.get(`line`)??``);return UJ(t,Number.isFinite(r)&&r>0?Math.floor(r):void 0)}catch{return null}return WJ(t)||(/^[a-z][a-z0-9+.-]*:/i.test(t)||t.startsWith(`/`)||t.startsWith(`\\`)||t.includes(`..`)?null:UJ(t))}function UJ(e,t){let n=e.trim().replace(/\\/g,`/`);if(!n||n.includes(`..`))return null;let r=t,i=n.match(/#L(\d+)$/i);if(i?.[1])r=Number(i[1]),n=n.slice(0,-i[0].length);else{let e=n.match(/:(\d+)$/);e?.[1]&&(r=Number(e[1]),n=n.slice(0,-e[0].length))}return n=n.replace(/^\.\//,``),!n||n.startsWith(`/`)||/^[A-Za-z]:/.test(n)||!new RegExp(String.raw`\.(?:${FJ})$`,`i`).test(n)?null:{path:n,line:Number.isFinite(r)&&r&&r>0?Math.floor(r):void 0,kind:`workspace-relative`}}function WJ(e){let t=e.trim().replace(/\\/g,`/`);if(!t||/^[A-Za-z]:\/{2,}/.test(t)||!(t.startsWith(`/`)||/^[A-Za-z]:\//.test(t)))return null;let n,r=t.match(/#L(\d+)$/i);if(r?.[1])n=Number(r[1]),t=t.slice(0,-r[0].length);else{let e=t.match(/:(\d+)$/);e?.[1]&&(n=Number(e[1]),t=t.slice(0,-e[0].length))}return new RegExp(String.raw`\.(?:${FJ})$`,`i`).test(t)?{path:t,line:Number.isFinite(n)&&n&&n>0?Math.floor(n):void 0,kind:`absolute`}:null}function GJ(e){let t=[],n=[LJ,RJ,IJ];for(let r of n){r.lastIndex=0;let n;for(;(n=r.exec(e))!==null;){let r=n[1];if(!r)continue;let i=n.index,a=i+r.length,o=e[i-1]??``;if(o===`:`||o===`@`)continue;let s=HJ(r);s&&(s.kind===`workspace-relative`&&o===`/`||t.push({raw:r,start:i,end:a,target:s}))}}t.sort((e,t)=>e.start-t.start||t.end-e.end);let r=[],i=-1;for(let e of t)e.start<i||(r.push(e),i=e.end);return r}function KJ(e){let t=e.parentElement;return t?!!t.closest(`a, code, pre, kbd, samp, textarea, script, style, [data-xopc-inline-file]`):!0}function qJ(e){let t=e.ownerDocument,n=t.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){return!(e instanceof Text)||KJ(e)?NodeFilter.FILTER_REJECT:GJ(e.data).length>0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r=[],i;for(;i=n.nextNode();)r.push(i);for(let e of r){let n=e.data,r=GJ(n);if(r.length===0)continue;let i=t.createDocumentFragment(),a=0;for(let e of r){e.start>a&&i.appendChild(t.createTextNode(n.slice(a,e.start)));let r=t.createElement(`a`);r.href=`#`,r.className=`markdown-file-link`,r.dataset.xopcFilePath=e.target.path,r.dataset.xopcFileKind=e.target.kind,e.target.line&&(r.dataset.xopcLine=String(e.target.line)),r.textContent=e.raw,i.appendChild(r),a=e.end}a!==0&&(a<n.length&&i.appendChild(t.createTextNode(n.slice(a))),e.parentNode?.replaceChild(i,e))}}var JJ=!1;function YJ(){JJ||typeof window>`u`||(JJ=!0,uK.addHook(`afterSanitizeAttributes`,e=>{if(e.tagName!==`A`||!e.hasAttribute(`href`))return;let t=e.getAttribute(`href`)??``;try{let n=new URL(t,window.location.href);if(n.protocol!==`http:`&&n.protocol!==`https:`||n.origin===window.location.origin)return;e.setAttribute(`target`,`_blank`),e.setAttribute(`rel`,`noopener noreferrer`)}catch{}}))}YJ();var XJ=`<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`,ZJ=`<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>`;function QJ(e){return e.querySelector(`code`)?.textContent??e.textContent??``}function $J(e){let t=e.querySelector(`code`);if(!t?.className)return`plaintext`;for(let e of t.className.split(/\s+/))if(e.startsWith(`language-`))return e.slice(9).trim()||`plaintext`;return`plaintext`}function eY(e,t){let n=document.createDocumentFragment(),r=document.createElement(`span`);r.className=`markdown-code-copy-inner`,r.innerHTML=e===`idle`?XJ:ZJ;let i=document.createElement(`span`);return i.className=`markdown-code-copy-label`,i.textContent=e===`idle`?t.copy:t.copied,n.appendChild(r),n.appendChild(i),n}function tY(e){e.querySelectorAll(`[data-md-code-block]`).forEach(e=>{let t=e.querySelector(`:scope > pre`),n=e.parentNode;t&&n&&(n.insertBefore(t,e),e.remove())})}function nY(e,t){let n=e.querySelectorAll(`.markdown-body pre`),r=[];for(let e of n){if(e.closest(`[data-md-code-block]`)||e.closest(`[data-mermaid-fallback]`))continue;let n=e.parentNode;if(!n)continue;let i=document.createElement(`div`);i.className=`markdown-code-block`,i.setAttribute(`data-md-code-block`,``);let a=document.createElement(`div`);a.className=`markdown-code-block-header`;let o=document.createElement(`span`);o.className=`markdown-code-block-lang`,o.textContent=$J(e);let s=document.createElement(`button`);s.type=`button`,s.className=`markdown-code-copy-btn`,s.dataset.mdCodeCopy=``,s.title=t.copy,s.setAttribute(`aria-label`,t.copy),s.replaceChildren(eY(`idle`,t));let c=n=>{n.preventDefault(),n.stopPropagation(),GP(QJ(e)).then(e=>{!e||!s.isConnected||(s.replaceChildren(eY(`copied`,t)),s.title=t.copied,s.setAttribute(`aria-label`,t.copied),window.setTimeout(()=>{s.isConnected&&(s.replaceChildren(eY(`idle`,t)),s.title=t.copy,s.setAttribute(`aria-label`,t.copy))},2e3))})};s.addEventListener(`click`,c),a.appendChild(o),a.appendChild(s),i.appendChild(a),n.insertBefore(i,e),i.appendChild(e),r.push(()=>{s.removeEventListener(`click`,c);let t=e.parentElement;t?.matches(`[data-md-code-block]`)&&t.parentNode&&(t.parentNode.insertBefore(e,t),t.remove())})}return()=>{for(let e of r)e()}}function rY(e){return Array.from(e.querySelectorAll(`pre code.language-mermaid, pre code.hljs.language-mermaid`))}function iY({content:e,compact:t=!1,breaks:n=!1,className:r,codeCopy:i=!0,onWorkspaceFileOpen:a}){let o=v(e=>e.language),s=(0,Y.useMemo)(()=>{let e=m(o).chat;return{copy:e.codeBlockCopy,copied:e.messageCopied}},[o]),l=(0,Y.useMemo)(()=>{if(!e.trim())return``;let t=PJ(VJ(e),n?{breaks:!0}:void 0);return uK.sanitize(t,{USE_PROFILES:{html:!0,svg:!0},ADD_ATTR:`viewBox.xmlns.d.fill.stroke.transform.stroke-width.stroke-linecap.stroke-linejoin.stroke-dasharray.x.y.width.height.rx.ry.cx.cy.r.x1.y1.x2.y2.offset.stop-color.stop-opacity.points.text-anchor.dominant-baseline.font-size.font-family.font-weight.font-style.class.id.style.markerWidth.markerHeight.refX.refY.orient.markerUnits.text-decoration.opacity.clip-path.mask.filter.preserveAspectRatio.xmlns:xlink.xlink:href.xml:space`.split(`.`)})},[e,n]),u=(0,Y.useRef)(null);return(0,Y.useLayoutEffect)(()=>{let e=u.current;if(e&&(tY(e),a&&qJ(e),!(!i||!l)))return nY(e,s)},[i,l,s,a]),(0,Y.useLayoutEffect)(()=>{let e=u.current;if(!e||!l)return;let t=rY(e);if(t.length===0)return;let n=!1;return c(async()=>{let{renderMermaidBlock:e}=await import(`./mermaid-render-BbqDc_LQ.js`);return{renderMermaidBlock:e}},__vite__mapDeps([76,1])).then(({renderMermaidBlock:e})=>{if(!n)for(let n of t){if(!n.isConnected)continue;let t=n.closest(`pre`);if(!t)continue;let r=t.closest(`[data-md-code-block]`)??t,i=e(n.textContent??``),a=document.createElement(`template`);a.innerHTML=i.html.trim();let o=a.content.firstElementChild;o&&r.replaceWith(o)}}),()=>{n=!0}},[l]),(0,Y.useLayoutEffect)(()=>{let e=u.current;if(!e)return;let t=t=>{let n=(t.target instanceof Element?t.target:null)?.closest(`a[href]`);if(!n||!e.contains(n))return;let r=n.dataset.xopcFilePath;if(r&&a){t.preventDefault();let e=Number(n.dataset.xopcLine??``);a({path:r,line:Number.isFinite(e)&&e>0?Math.floor(e):void 0,kind:n.dataset.xopcFileKind===`absolute`?`absolute`:`workspace-relative`});return}let i=n.getAttribute(`href`)??``,o=a?HJ(i):null;if(o&&a){t.preventDefault(),a(o);return}i.startsWith(`/settings/`)&&(t.preventDefault(),window.location.hash=`#${i}`)};return e.addEventListener(`click`,t),()=>e.removeEventListener(`click`,t)},[a]),(0,Q.jsx)(`div`,{ref:u,children:(0,Q.jsx)(`div`,{className:[`markdown-body`,t?`markdown-compact`:``,r??``].filter(Boolean).join(` `),dangerouslySetInnerHTML:{__html:l}})})}var aY=(0,Y.memo)(iY);aY.displayName=`MarkdownView`;var oY=()=>c(()=>import(`./markdown-split-CYYELqAr.js`),__vite__mapDeps([77,1,2,16,17,18,19])),sY=()=>c(()=>import(`./html-workspace-editor-CQLWDiwE.js`),__vite__mapDeps([78,1,18,2,19])),cY=(0,Y.lazy)(()=>oY().then(e=>({default:e.MarkdownSplit}))),lY=(0,Y.lazy)(()=>sY().then(e=>({default:e.HtmlWorkspaceEditor})));function uY(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsxs)(`div`,{className:`flex h-full min-h-0 flex-col px-4 py-3`,"aria-busy":!0,children:[(0,Q.jsx)(`div`,{className:`h-4 w-11/12 animate-pulse rounded bg-surface-hover`}),(0,Q.jsx)(`div`,{className:`mt-3 h-4 w-9/12 animate-pulse rounded bg-surface-hover`}),(0,Q.jsx)(`div`,{className:`mt-3 h-4 w-10/12 animate-pulse rounded bg-surface-hover`})]}),e[0]=t):t=e[0],t}function dY(e){let t=e.lastIndexOf(`.`);return t>0?e.slice(t).toLowerCase():``}function fY(e){return{".ts":`typescript`,".tsx":`tsx`,".js":`javascript`,".jsx":`jsx`,".json":`json`,".css":`css`,".yml":`yaml`,".yaml":`yaml`,".py":`python`,".go":`go`,".rs":`rust`,".sh":`bash`}[dY(e)]??`plaintext`}function pY(e){let t=(0,Z.c)(12),{text:n,targetLine:r}=e,i=(0,Y.useRef)(null),a;if(t[0]!==n){let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=/\r\n|\n|\r/,t[2]=e):e=t[2],a=n.split(e),t[0]=n,t[1]=a}else a=t[1];let o=a,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=()=>{i.current?.scrollIntoView({block:`center`})},t[3]=s):s=t[3];let c;t[4]!==r||t[5]!==n?(c=[r,n],t[4]=r,t[5]=n,t[6]=c):c=t[6],(0,Y.useEffect)(s,c);let l;t[7]!==o||t[8]!==r?(l=o.map((e,t)=>{let n=t+1,a=n===r;return(0,Q.jsxs)(`div`,{ref:a?i:void 0,className:a?`flex bg-accent-soft/60 text-fg`:`flex`,"data-line":n,children:[(0,Q.jsx)(`span`,{className:`w-12 shrink-0 select-none pr-3 text-right text-fg-subtle`,children:n}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 whitespace-pre-wrap break-words`,children:e||` `})]},n)}),t[7]=o,t[8]=r,t[9]=l):l=t[9];let u;return t[10]===l?u=t[11]:(u=(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto px-4 py-3`,children:(0,Q.jsx)(`div`,{className:`min-w-max font-mono text-xs leading-relaxed text-fg`,children:l})}),t[10]=l,t[11]=u),u}function mY(e,t){let n=e.textContent??``,r=e.descriptor.context===`workspace`,i=e.workspaceEditing;return t===`markdown`?r&&i?.markdownEditMode?(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-hidden`,children:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(uY,{}),children:(0,Q.jsx)(cY,{initialContent:n,onSave:e=>void i?.onSaveMarkdown?.(e),isDark:(i?.isDark??e.resolvedTheme===`dark`)===!0},e.descriptor.id)})}):(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto px-4 py-3`,children:(0,Q.jsx)(aY,{content:n})}):t===`html`?r&&i?.htmlCodeMode?(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-hidden`,children:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(uY,{}),children:(0,Q.jsx)(lY,{initialContent:n,onChange:e=>i?.onHtmlChange?.(e),isDark:(i?.isDark??e.resolvedTheme===`dark`)===!0},e.descriptor.id)})}):(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden px-2 pb-2 pt-1 sm:px-4`,children:(0,Q.jsx)(`iframe`,{title:e.descriptor.fileName,className:`min-h-0 w-full flex-1 rounded-lg border border-edge-subtle bg-white dark:border-edge dark:bg-[#1e1e1e]`,srcDoc:n,sandbox:`allow-scripts allow-popups allow-popups-to-escape-sandbox allow-downloads allow-forms allow-modals`})}):e.targetLine&&e.targetLine>0?(0,Q.jsx)(pY,{text:n,targetLine:e.targetLine}):t===`code`?(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto px-4 py-3`,children:(0,Q.jsx)(aY,{content:`\`\`\`${fY(e.descriptor.fileName)}\n${n}\n\`\`\``})}):(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto px-4 py-3`,children:(0,Q.jsx)(`pre`,{className:`whitespace-pre-wrap break-words font-mono text-xs text-fg`,children:n})})}var hY={id:`text`,readMode:`text`,capabilities:[`download`],render:e=>mY(e,`text`)},gY={id:`markdown`,readMode:`text`,capabilities:[`download`,`edit`],render:e=>mY(e,`markdown`)},_Y={id:`code`,readMode:`text`,capabilities:[`download`],render:e=>mY(e,`code`)},vY={id:`html`,readMode:`text`,capabilities:[`download`,`edit`],render:e=>mY(e,`html`)};function yY(){return(0,Q.jsx)(`div`,{className:`px-4 py-6 text-sm text-fg-muted`,children:`Loading preview...`})}function bY(e,t,n,r=`binary`){let i=(0,Y.lazy)(n);return{id:e,readMode:r,capabilities:t,render:e=>(0,Q.jsx)(Y.Suspense,{fallback:yY(),children:(0,Q.jsx)(i,{...e})})}}var xY={text:hY,markdown:gY,code:_Y,html:vY,image:bY(`image`,[`download`,`zoom`,`rotate`],()=>c(()=>import(`./binary-plugins-DT8NvA6W.js`).then(e=>({default:e.InteractiveImagePreview})),__vite__mapDeps([79,1,17,2,80,81,6,4]))),pdf:bY(`pdf`,[`download`,`zoom`,`rotate`,`pageNavigation`,`print`],()=>c(()=>import(`./binary-plugins-DT8NvA6W.js`).then(e=>({default:e.PdfPreviewPluginView})),__vite__mapDeps([79,1,17,2,80,81,6,4]))),docx:bY(`docx`,[`download`],()=>c(()=>import(`./binary-plugins-DT8NvA6W.js`).then(e=>({default:e.DocxPreviewPluginView})),__vite__mapDeps([79,1,17,2,80,81,6,4]))),spreadsheet:bY(`spreadsheet`,[`download`],()=>c(()=>import(`./binary-plugins-DT8NvA6W.js`).then(e=>({default:e.SpreadsheetPreviewPluginView})),__vite__mapDeps([79,1,17,2,80,81,6,4]))),pptx:bY(`pptx`,[`download`],()=>c(()=>import(`./binary-plugins-DT8NvA6W.js`).then(e=>({default:e.PptxPreviewPluginView})),__vite__mapDeps([79,1,17,2,80,81,6,4]))),audio:bY(`audio`,[`download`],()=>c(()=>import(`./media-plugins-BEcMR2M8.js`).then(e=>({default:e.AudioPreviewPluginView})),__vite__mapDeps([82,1,2,80,81,6,4]))),video:bY(`video`,[`download`],()=>c(()=>import(`./media-plugins-BEcMR2M8.js`).then(e=>({default:e.VideoPreviewPluginView})),__vite__mapDeps([82,1,2,80,81,6,4]))),archive:bY(`archive`,[`download`],()=>c(()=>import(`./archive-plugin-BAFlsov_.js`).then(e=>({default:e.ArchivePreviewPluginView})),__vite__mapDeps([83,1,84,2,81,6,4]))),unsupported:bY(`unsupported`,[`download`],()=>c(()=>import(`./media-plugins-BEcMR2M8.js`).then(e=>({default:e.UnsupportedPreviewPluginView})),__vite__mapDeps([82,1,2,80,81,6,4])),`metadata`)};function SY(e){return xY[e]??xY.unsupported}function CY(e){let t=(0,Z.c)(81),{plugin:n,actions:r,controls:i,onZoomIn:a,onZoomOut:o,onZoomReset:s,onRotate:c,onSearchChange:l}=e,[u,d]=(0,Y.useState)(!1),f;t[0]===n.capabilities?f=t[1]:(f=n.capabilities.includes(`zoom`),t[0]=n.capabilities,t[1]=f);let p=f,m;t[2]===n.capabilities?m=t[3]:(m=n.capabilities.includes(`search`),t[2]=n.capabilities,t[3]=m);let h=m,g;t[4]===n.capabilities?g=t[5]:(g=n.capabilities.includes(`rotate`),t[4]=n.capabilities,t[5]=g);let _=g,v;t[6]!==i||t[7]!==n.capabilities?(v=n.capabilities.includes(`pageNavigation`)&&i.pageCount!=null&&i.pageCount>1,t[6]=i,t[7]=n.capabilities,t[8]=v):v=t[8];let y=v;if(!(p||h||_||y||r.canDownload))return null;let b;if(t[9]!==r||t[10]!==y||t[11]!==_||t[12]!==h||t[13]!==p||t[14]!==i||t[15]!==c||t[16]!==l||t[17]!==a||t[18]!==o||t[19]!==s){if(b=[],y){let e=i.page<=1,n;t[21]===i?n=t[22]:(n=()=>i.setPage(Math.max(1,i.page-1)),t[21]=i,t[22]=n);let r;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Q.jsx)(Lk,{className:`size-3.5`}),t[23]=r):r=t[23];let a;t[24]!==e||t[25]!==n?(a=(0,Q.jsx)(EY,{label:`Previous page`,disabled:e,onClick:n,children:r}),t[24]=e,t[25]=n,t[26]=a):a=t[26];let o;t[27]!==i.page||t[28]!==i.pageCount?(o=(0,Q.jsxs)(`span`,{className:`min-w-16 px-1 text-center text-xs text-fg-muted`,children:[i.page,` / `,i.pageCount]}),t[27]=i.page,t[28]=i.pageCount,t[29]=o):o=t[29];let s=i.page>=(i.pageCount??1),c;t[30]===i?c=t[31]:(c=()=>i.setPage(Math.min(i.pageCount??i.page,i.page+1)),t[30]=i,t[31]=c);let l;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(Ik,{className:`size-3.5`}),t[32]=l):l=t[32];let u;t[33]!==s||t[34]!==c?(u=(0,Q.jsx)(EY,{label:`Next page`,disabled:s,onClick:c,children:l}),t[33]=s,t[34]=c,t[35]=u):u=t[35];let d;t[36]!==u||t[37]!==a||t[38]!==o?(d=(0,Q.jsxs)(`div`,{className:`flex items-center gap-1 rounded-md border border-edge-subtle bg-surface-base p-0.5 dark:border-edge`,children:[a,o,u]},`page`),t[36]=u,t[37]=a,t[38]=o,t[39]=d):d=t[39],b.push(d)}if(p){let e;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(hx,{className:`size-3.5`}),t[40]=e):e=t[40];let n;t[41]===o?n=t[42]:(n=(0,Q.jsx)(EY,{label:`Zoom out`,onClick:o,children:e}),t[41]=o,t[42]=n);let r;t[43]===i.zoom?r=t[44]:(r=Math.round(i.zoom*100),t[43]=i.zoom,t[44]=r);let c;t[45]!==s||t[46]!==r?(c=(0,Q.jsxs)(`button`,{type:`button`,className:`min-w-14 rounded px-1.5 py-1 text-xs text-fg-muted hover:bg-surface-hover hover:text-fg`,onClick:s,title:`Reset zoom`,children:[r,`%`]}),t[45]=s,t[46]=r,t[47]=c):c=t[47];let l;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(fw,{className:`size-3.5`}),t[48]=l):l=t[48];let u;t[49]===a?u=t[50]:(u=(0,Q.jsx)(EY,{label:`Zoom in`,onClick:a,children:l}),t[49]=a,t[50]=u);let d;t[51]!==u||t[52]!==n||t[53]!==c?(d=(0,Q.jsxs)(`div`,{className:`flex items-center gap-1 rounded-md border border-edge-subtle bg-surface-base p-0.5 dark:border-edge`,children:[n,c,u]},`zoom`),t[51]=u,t[52]=n,t[53]=c,t[54]=d):d=t[54],b.push(d)}if(_){let e;t[55]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(LT,{className:`size-3.5`}),t[55]=e):e=t[55];let n;t[56]===c?n=t[57]:(n=(0,Q.jsx)(EY,{label:`Rotate`,onClick:c,children:e}),t[56]=c,t[57]=n),b.push(n)}if(h){let e;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(DE,{className:`size-3.5`,"aria-hidden":!0}),t[58]=e):e=t[58];let n;t[59]===l?n=t[60]:(n=e=>l(e.target.value),t[59]=l,t[60]=n);let r;t[61]!==i.searchQuery||t[62]!==n?(r=(0,Q.jsxs)(`label`,{className:`flex min-w-40 items-center gap-1 rounded-md border border-edge-subtle bg-surface-base px-2 py-1 text-xs text-fg-muted dark:border-edge`,children:[e,(0,Q.jsx)(`input`,{className:`min-w-0 flex-1 bg-transparent text-fg outline-none placeholder:text-fg-subtle`,value:i.searchQuery,onChange:n,placeholder:`Search`})]},`search`),t[61]=i.searchQuery,t[62]=n,t[63]=r):r=t[63],b.push(r)}if(r.canDownload){let e;t[64]===r?e=t[65]:(e=()=>void r.onDownload(),t[64]=r,t[65]=e);let n;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Q.jsx)(yh,{className:`size-3.5`}),t[66]=n):n=t[66];let i;t[67]===e?i=t[68]:(i=(0,Q.jsx)(EY,{label:`Download`,onClick:e,children:n},`download`),t[67]=e,t[68]=i),b.push(i)}t[9]=r,t[10]=y,t[11]=_,t[12]=h,t[13]=p,t[14]=i,t[15]=c,t[16]=l,t[17]=a,t[18]=o,t[19]=s,t[20]=b}else b=t[20];let x=b.length>4,S;t[69]!==x||t[70]!==b?(S=x?b.slice(0,3):b,t[69]=x,t[70]=b,t[71]=S):S=t[71];let C=S,w;t[72]!==x||t[73]!==b?(w=x?b.slice(3):[],t[72]=x,t[73]=b,t[74]=w):w=t[74];let T=w,E;t[75]!==u||t[76]!==T?(E=T.length>0?(0,Q.jsxs)(Q.Fragment,{children:[u?(0,Q.jsx)(`button`,{type:`button`,className:`fixed inset-0 z-40 cursor-default bg-transparent`,"aria-hidden":!0,tabIndex:-1,onPointerDown:e=>{e.preventDefault(),d(!1)}}):null,(0,Q.jsx)(EY,{label:`More actions`,onClick:()=>d(TY),children:(0,Q.jsx)(Bh,{className:`size-3.5`})}),u?(0,Q.jsx)(`div`,{role:`menu`,className:`absolute right-0 top-full z-50 mt-1 flex min-w-52 flex-col gap-1 rounded-md border border-edge bg-surface-panel p-1 shadow-popover`,children:T.map(wY)}):null]}):null,t[75]=u,t[76]=T,t[77]=E):E=t[77];let D;return t[78]!==E||t[79]!==C?(D=(0,Q.jsxs)(`div`,{className:`relative flex shrink-0 items-center gap-1`,children:[C,E]}),t[78]=E,t[79]=C,t[80]=D):D=t[80],D}function wY(e,t){return(0,Q.jsx)(`div`,{className:`flex min-w-0 items-center justify-end`,children:e},t)}function TY(e){return!e}function EY(e){let t=(0,Z.c)(6),{label:n,disabled:r,onClick:i,children:a}=e,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg disabled:opacity-40`),t[0]=o):o=t[0];let s;return t[1]!==a||t[2]!==r||t[3]!==n||t[4]!==i?(s=(0,Q.jsx)(`button`,{type:`button`,className:o,title:n,"aria-label":n,disabled:r,onClick:i,children:a}),t[1]=a,t[2]=r,t[3]=n,t[4]=i,t[5]=s):s=t[5],s}function DY(e){let t=(0,Z.c)(22),n;t[0]===e.type?n=t[1]:(n=SY(e.type),t[0]=e.type,t[1]=n);let r=n,[i,a]=(0,Y.useState)(1),[o,s]=(0,Y.useState)(0),[c,l]=(0,Y.useState)(1),[u,d]=(0,Y.useState)(null),[f,p]=(0,Y.useState)(``),m;t[2]===u?m=t[3]:(m=e=>{l(Math.max(1,Math.min(u??e,Math.floor(e))))},t[2]=u,t[3]=m);let h=m,g;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>{a(1),s(0),l(1),d(null),p(``)},t[4]=g):g=t[4];let _;t[5]!==e.id||t[6]!==e.type?(_=[e.id,e.type],t[5]=e.id,t[6]=e.type,t[7]=_):_=t[7],(0,Y.useEffect)(g,_);let v;t[8]!==c||t[9]!==u||t[10]!==o||t[11]!==f||t[12]!==h||t[13]!==i?(v={zoom:i,rotation:o,page:c,pageCount:u,searchQuery:f,setPageCount:d,setPage:h},t[8]=c,t[9]=u,t[10]=o,t[11]=f,t[12]=h,t[13]=i,t[14]=v):v=t[14];let y=v,b,x,S,C;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(b=()=>a(AY),x=()=>a(kY),S=()=>{a(1),s(0)},C=()=>s(OY),t[15]=b,t[16]=x,t[17]=S,t[18]=C):(b=t[15],x=t[16],S=t[17],C=t[18]);let w;return t[19]!==y||t[20]!==r?(w={plugin:r,controls:y,onZoomIn:b,onZoomOut:x,onZoomReset:S,onRotate:C,onSearchChange:p},t[19]=y,t[20]=r,t[21]=w):w=t[21],w}function OY(e){return(e+90)%360}function kY(e){return Math.max(.25,Number((e-.15).toFixed(2)))}function AY(e){return Math.min(4,Number((e+.15).toFixed(2)))}function jY(e){let t=(0,Z.c)(9),{controller:n,actions:r}=e,i;return t[0]!==r||t[1]!==n.controls||t[2]!==n.onRotate||t[3]!==n.onSearchChange||t[4]!==n.onZoomIn||t[5]!==n.onZoomOut||t[6]!==n.onZoomReset||t[7]!==n.plugin?(i=(0,Q.jsx)(CY,{plugin:n.plugin,actions:r,controls:n.controls,onZoomIn:n.onZoomIn,onZoomOut:n.onZoomOut,onZoomReset:n.onZoomReset,onRotate:n.onRotate,onSearchChange:n.onSearchChange}),t[0]=r,t[1]=n.controls,t[2]=n.onRotate,t[3]=n.onSearchChange,t[4]=n.onZoomIn,t[5]=n.onZoomOut,t[6]=n.onZoomReset,t[7]=n.plugin,t[8]=i):i=t[8],i}function MY(e){let t=(0,Z.c)(24),n;t[0]===e.language?n=t[1]:(n=m(e.language),t[0]=e.language,t[1]=n);let r=n,i=DY(e.descriptor),a=e.controller??i,o;t[2]!==a||t[3]!==e.actions?(o=(0,Q.jsx)(jY,{controller:a,actions:e.actions}),t[2]=a,t[3]=e.actions,t[4]=o):o=t[4];let s=o;if(e.loading){let e;return t[5]===r.chat.loading?e=t[6]:(e=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center px-4 py-6 text-sm text-fg-muted`,children:r.chat.loading}),t[5]=r.chat.loading,t[6]=e),e}if(e.loadError){let n=(e.descriptor.context===`workspace`?r.workspace.loadError:r.chat.attachmentPreviewLoadError)+`: `+e.loadError,i;return t[7]===n?i=t[8]:(i=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-4`,children:(0,Q.jsx)(`p`,{className:`text-sm text-red-600 dark:text-red-400`,children:n})}),t[7]=n,t[8]=i),i}if(e.descriptor.context===`attachment`&&e.showExtractedText&&e.descriptor.type!==`image`){let n=e.extractedText||r.chat.attachmentPreviewNoText,i;return t[9]===n?i=t[10]:(i=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-2 overflow-hidden`,children:(0,Q.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto rounded-lg border border-edge-subtle bg-surface-hover/40 p-4 dark:border-edge`,children:(0,Q.jsx)(`pre`,{className:`whitespace-pre-wrap break-words font-mono text-xs leading-relaxed text-fg-muted`,children:n})})}),t[9]=n,t[10]=i),i}let c;t[11]!==e.renderToolbar||t[12]!==s?(c=e.renderToolbar?e.renderToolbar(s):s,t[11]=e.renderToolbar,t[12]=s,t[13]=c):c=t[13];let l=`${e.descriptor.id}:${a.plugin.id}`,u;t[14]!==a.controls||t[15]!==e?(u={...e,controls:a.controls},t[14]=a.controls,t[15]=e,t[16]=u):u=t[16];let d;t[17]!==a.plugin.render||t[18]!==l||t[19]!==u?(d=(0,Q.jsx)(NY,{pluginRender:a.plugin.render,props:u},l),t[17]=a.plugin.render,t[18]=l,t[19]=u,t[20]=d):d=t[20];let f;return t[21]!==c||t[22]!==d?(f=(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:[c,d]}),t[21]=c,t[22]=d,t[23]=f):f=t[23],f}function NY(e){let t=(0,Z.c)(5),{pluginRender:n,props:r}=e,i;t[0]!==n||t[1]!==r?(i=n(r),t[0]=n,t[1]=r,t[2]=i):i=t[2];let a;return t[3]===i?a=t[4]:(a=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:i}),t[3]=i,t[4]=a),a}function PY(e){return e.id?String(e.id):`${e.name}:${e.uri??``}`}function FY(){return{id:`__empty__`,context:`attachment`,fileName:``,mimeType:`application/octet-stream`,type:`unsupported`,source:{kind:`inline`}}}function IY(e){let t=(0,Z.c)(63),{open:n,attachment:r,authToken:i,sessionKey:a,language:o}=e,[s,c]=(0,Y.useState)(null),[l,u]=(0,Y.useState)(!1),[d,f]=(0,Y.useState)(!1),p;t[0]!==r||t[1]!==n?(p=n&&r?PY(r):null,t[0]=r,t[1]=n,t[2]=p):p=t[2];let h=p,g=(0,Y.useRef)(h);h!==g.current&&(g.current=h,c(n&&r?r:null),u(!1),f(!1));let _=s,v;bb0:{if(!_){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=FY(),t[3]=e):e=t[3],v=e;break bb0}let e=_.name??`attachment`,n,r;t[4]!==e||t[5]!==_.mimeType?(n=HW(e,_.mimeType),r=UW(e,n),t[4]=e,t[5]=_.mimeType,t[6]=n,t[7]=r):(n=t[6],r=t[7]);let i=r,o=_.id?String(_.id):`${e}:${_.uri??``}`,s;t[8]!==_.uri||t[9]!==a?(s=_.uri?{kind:`media-uri`,uri:_.uri,sessionKey:a}:{kind:`inline`},t[8]=_.uri,t[9]=a,t[10]=s):s=t[10];let c;t[11]!==e||t[12]!==n||t[13]!==_.size||t[14]!==o||t[15]!==s||t[16]!==i?(c={id:o,context:`attachment`,fileName:e,mimeType:n,size:_.size,type:i,source:s},t[11]=e,t[12]=n,t[13]=_.size,t[14]=o,t[15]=s,t[16]=i,t[17]=c):c=t[17],v=c}let y=v,b;t[18]===_?b=t[19]:(b=_?VB(_):void 0,t[18]=_,t[19]=b);let x=b,S=_?.uri,C;t[20]===y.type?C=t[21]:(C=WW(y.type),t[20]=y.type,t[21]=C);let w=C,T=!!(n&&S&&!x&&i&&w===`binary`),E;t[22]!==o||t[23]!==S||t[24]!==a?(E=async()=>{let e=m(o).chat,t=await KW({uri:S,sessionKey:a});if(!t.ok)throw t.reason===`http`?Error(`${e.attachmentPreviewLoadError} (HTTP ${t.status})`):Error(t.message);return t.buffer},t[22]=o,t[23]=S,t[24]=a,t[25]=E):E=t[25];let D;t[26]!==i||t[27]!==x||t[28]!==o||t[29]!==S||t[30]!==n||t[31]!==w||t[32]!==a?(D=[n,S,i,o,x,a,w],t[26]=i,t[27]=x,t[28]=o,t[29]=S,t[30]=n,t[31]=w,t[32]=a,t[33]=D):D=t[33];let O;t[34]===T?O=t[35]:(O={enabled:T,initial:null,errorData:null},t[34]=T,t[35]=O);let k=yR(E,D,O),A;bb1:{if(w!==`binary`){A=null;break bb1}if(x)try{let e;t[36]===x?e=t[37]:(e=qB(x),t[36]=x,t[37]=e),A=e;break bb1}catch{A=null;break bb1}if(T&&k.loading){A=null;break bb1}A=k.data??null}let j=A,M;t[38]===_?M=t[39]:(M=_?WB(_)??``:``,t[38]=_,t[39]=M);let N=M,P;t[40]!==N||t[41]!==o||t[42]!==w?(P=w===`text`?N||m(o).chat.attachmentPreviewNoText:null,t[40]=N,t[41]=o,t[42]=w,t[43]=P):P=t[43];let F=P,I=!!_?.extractedText,L=y.type===`pptx`&&N.length>3e5,R;t[44]!==i||t[45]!==x||t[46]!==o||t[47]!==S||t[48]!==n||t[49]!==w?(R=n&&S&&!x&&!i&&w===`binary`?m(o).chat.attachmentPreviewMissingAuth:null,t[44]=i,t[45]=x,t[46]=o,t[47]=S,t[48]=n,t[49]=w,t[50]=R):R=t[50];let z=R,B=k.error?k.error instanceof Error?k.error.message:String(k.error):null,V=d?null:z??B,H=T?k.loading:!1,U;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(U=()=>f(!0),t[51]=U):U=t[51];let W=N||null,G;return t[52]!==j||t[53]!==y||t[54]!==L||t[55]!==I||t[56]!==V||t[57]!==_||t[58]!==l||t[59]!==H||t[60]!==W||t[61]!==F?(G={preview:_,descriptor:y,fileType:y.type,fileName:y.fileName,loading:H,loadError:V,clearLoadError:U,textContent:F,binaryBuffer:j,hasExtractedText:I,extractedText:W,extractedTextTruncated:L,showExtractedText:l,setShowExtractedText:u},t[52]=j,t[53]=y,t[54]=L,t[55]=I,t[56]=V,t[57]=_,t[58]=l,t[59]=H,t[60]=W,t[61]=F,t[62]=G):G=t[62],G}function LY(e,t,n,r){var i=this,a=(0,Y.useRef)(null),o=(0,Y.useRef)(0),s=(0,Y.useRef)(0),c=(0,Y.useRef)(null),l=(0,Y.useRef)([]),u=(0,Y.useRef)(),d=(0,Y.useRef)(),f=(0,Y.useRef)(e),p=(0,Y.useRef)(!0),m=(0,Y.useRef)(),h=(0,Y.useRef)();f.current=e;var g=typeof window<`u`,_=!t&&t!==0&&g;if(typeof e!=`function`)throw TypeError(`Expected a function`);t=+t||0;var v=!!(n||={}).leading,y=!(`trailing`in n)||!!n.trailing,b=!!n.flushOnExit&&y,x=`maxWait`in n,S=`debounceOnServer`in n&&!!n.debounceOnServer,C=x?Math.max(+n.maxWait||0,t):null,w=(0,Y.useMemo)(function(){var e=function(e){var t=l.current,n=u.current;return l.current=u.current=null,o.current=e,s.current=s.current||e,d.current=f.current.apply(n,t)},n=function(e,t){_&&cancelAnimationFrame(c.current),c.current=_?requestAnimationFrame(e):setTimeout(e,t)},w=function(e){if(!p.current)return!1;var n=e-a.current;return!a.current||n>=t||n<0||x&&e-o.current>=C},T=function(t){return c.current=null,y&&l.current?e(t):(l.current=u.current=null,d.current)},E=function e(){var r=Date.now();if(v&&s.current===o.current&&D(),w(r))return T(r);if(p.current){var i=t-(r-a.current);n(e,x?Math.min(i,C-(r-o.current)):i)}},D=function(){r&&r({})},O=function(){if(g||S){var r,s=Date.now(),f=w(s);if(l.current=[].slice.call(arguments),u.current=i,a.current=s,b&&!m.current&&(m.current=function(){globalThis.document?.visibilityState===`hidden`&&h.current.flush()},(r=globalThis.document)==null||r.addEventListener==null||r.addEventListener(`visibilitychange`,m.current)),f){if(!c.current&&p.current)return o.current=a.current,n(E,t),v?e(a.current):d.current;if(x)return n(E,t),e(a.current)}return c.current||n(E,t),d.current}};return O.cancel=function(){var e=c.current;e&&(_?cancelAnimationFrame(c.current):clearTimeout(c.current)),o.current=0,l.current=a.current=u.current=c.current=null,e&&r&&r({})},O.isPending=function(){return!!c.current},O.flush=function(){return c.current?T(Date.now()):d.current},O},[v,x,t,C,y,b,_,g,S,r]);return h.current=w,(0,Y.useEffect)(function(){return p.current=!0,function(){var e;b&&h.current.flush(),m.current&&=((e=globalThis.document)==null||e.removeEventListener==null||e.removeEventListener(`visibilitychange`,m.current),null),p.current=!1}},[b]),w}function RY(e,t){return e===t}function zY(e,t,n){var r=n&&n.equalityFn||RY,i=(0,Y.useRef)(e),a=(0,Y.useState)({})[1],o=LY((0,Y.useCallback)(function(e){i.current=e,a({})},[a]),t,n,a),s=(0,Y.useRef)(e);return r(s.current,e)||(o(e),s.current=e),[i.current,o]}function BY(e){let t=(0,Z.c)(8),{sessionKey:n,agentId:r}=e,i;bb0:{let e;t[0]===n?e=t[1]:(e=n?.trim(),t[0]=n,t[1]=e);let a=e;if(a){let e;t[2]===a?e=t[3]:(e={sessionKey:a},t[2]=a,t[3]=e),i=e;break bb0}let o;t[4]===r?o=t[5]:(o=r?.trim(),t[4]=r,t[5]=o);let s=o,c;t[6]===s?c=t[7]:(c=s?{agentId:s}:void 0,t[6]=s,t[7]=c),i=c}return i}function VY(e){return{descriptor:e,textContent:null,binaryBuffer:null,hostAbsolutePath:null,mtimeMs:null,loadError:null,loading:!1,pptxText:null,pptxTruncated:!1,pptxError:null}}function HY(e,t){switch(t.type){case`clear`:return VY(t.descriptor);case`loadStart`:return{...VY(t.descriptor),loading:!0};case`loadSuccess`:return{...e,descriptor:t.payload.descriptor,textContent:t.payload.textContent??null,binaryBuffer:t.payload.binaryBuffer??null,hostAbsolutePath:t.payload.hostAbsolutePath??null,mtimeMs:t.payload.mtimeMs??null,loadError:null,loading:!1};case`loadError`:return{...VY(t.descriptor),loadError:t.error};case`patchMtime`:return{...e,mtimeMs:t.mtimeMs};case`patchText`:return{...e,textContent:t.text};case`pptxClear`:return{...e,pptxText:null,pptxTruncated:!1,pptxError:null};case`pptxSuccess`:return{...e,pptxText:t.text,pptxTruncated:t.truncated,pptxError:null};case`pptxError`:return{...e,pptxText:null,pptxTruncated:!1,pptxError:t.error}}}function UY(e,t){switch(t.type){case`reset`:return{markdownEditMode:!1,htmlCodeMode:!1,saveStatus:`idle`};case`markdown`:return{...e,markdownEditMode:typeof t.value==`function`?t.value(e.markdownEditMode):t.value};case`html`:return{...e,htmlCodeMode:typeof t.value==`function`?t.value(e.htmlCodeMode):t.value};case`saveStatus`:return{...e,saveStatus:t.value}}}function WY({filePath:e,sessionKey:t,agentId:n}){let r=BY({sessionKey:t,agentId:n}),i=(0,Y.useMemo)(()=>{let r=e?VW(e):``,i=HW(r,YB(r)),a=e?UW(r,i):`unsupported`;return{id:e||`__empty__`,context:`workspace`,fileName:r,mimeType:i,type:a,source:{kind:`workspace`,path:e||``,sessionKey:t,agentId:n}}},[n,e,t]),[a,o]=(0,Y.useReducer)(HY,i,VY),[s,l]=(0,Y.useReducer)(UY,{markdownEditMode:!1,htmlCodeMode:!1,saveStatus:`idle`}),[u,d]=(0,Y.useState)([]),[f,p]=(0,Y.useState)([]),m=(0,Y.useRef)(void 0),h=(0,Y.useRef)(e);h.current!==e&&(h.current=e,l({type:`reset`})),(0,Y.useEffect)(()=>{if(!e){o({type:`clear`,descriptor:i});return}let t=!1;o({type:`loadStart`,descriptor:i});let n=WW(i.type),a=e=>{t||o({type:`loadError`,descriptor:i,error:e instanceof Error?e.message:String(e)})};return n===`metadata`?(wW(e,r).then(e=>{t||o({type:`loadSuccess`,payload:{descriptor:i,hostAbsolutePath:e?.absolutePath??null,mtimeMs:typeof e?.mtimeMs==`number`?e.mtimeMs:null}})}).catch(a),()=>{t=!0}):(n===`text`?CW(e,r).then(({content:e,mtimeMs:n,absolutePath:r})=>{t||o({type:`loadSuccess`,payload:{descriptor:i,textContent:e,hostAbsolutePath:r??null,mtimeMs:typeof n==`number`?n:null}})}).catch(a):Promise.all([EW(e,r),wW(e,r).catch(()=>null)]).then(async([e,n])=>{let r=await e.arrayBuffer();t||o({type:`loadSuccess`,payload:{descriptor:i,binaryBuffer:r,hostAbsolutePath:n?.absolutePath??null,mtimeMs:typeof n?.mtimeMs==`number`?n.mtimeMs:null}})}).catch(a),()=>{t=!0})},[i,e,r]),(0,Y.useEffect)(()=>{if(!a.binaryBuffer||a.descriptor.type!==`pptx`){o({type:`pptxClear`});return}let e=!1;return o({type:`pptxClear`}),c(()=>import(`./attachment-process-heavy-RnGYy9bC.js`).then(e=>e.processPptx(a.binaryBuffer,a.descriptor.fileName)),__vite__mapDeps([85,1,17,86])).then(({extractedText:t})=>{if(e)return;let n=t.length>zB;o({type:`pptxSuccess`,text:n?t.slice(0,zB):t,truncated:n})}).catch(t=>{e||o({type:`pptxError`,error:t instanceof Error?t.message:String(t)})}),()=>{e=!0}},[a.binaryBuffer,a.descriptor.fileName,a.descriptor.type]);let g=(0,Y.useCallback)(async t=>{if(e){m.current!==void 0&&clearTimeout(m.current),l({type:`saveStatus`,value:`saving`});try{let{mtimeMs:r}=await OW(e,t,n?.trim()?{agentId:n.trim()}:void 0);typeof r==`number`&&o({type:`patchMtime`,mtimeMs:r}),l({type:`saveStatus`,value:`saved`}),m.current=setTimeout(()=>l({type:`saveStatus`,value:`idle`}),2e3)}catch{l({type:`saveStatus`,value:`idle`})}}},[n,e]),_=LY(e=>void g(e),500),v=(0,Y.useCallback)(e=>{o({type:`patchText`,text:e}),_(e)},[_]),y=(0,Y.useCallback)(async()=>{if(!e)return;let t=VW(e);if(a.binaryBuffer){AW(t,a.binaryBuffer,a.descriptor.mimeType||`application/octet-stream`);return}if(a.textContent!=null){kW(t,a.textContent);return}let n=await EW(e,r);AW(t,await n.arrayBuffer(),a.descriptor.mimeType||n.type||`application/octet-stream`)},[e,a.binaryBuffer,a.descriptor.mimeType,a.textContent,r]),b=!a.loading&&!!e,x=dI()&&!!a.hostAbsolutePath&&!!window.electronAPI?.shell?.openPath,S=dI()&&!!a.hostAbsolutePath&&!!window.electronAPI?.shell?.chooseAppAndOpenPath,C=(0,Y.useCallback)(async()=>{let e=a.hostAbsolutePath;if(!dI()||!e||!window.electronAPI?.shell){p([]),d([]);return}try{if(window.electronAPI.shell.getOpenWithAppsForPath){let t=await window.electronAPI.shell.getOpenWithAppsForPath(e);p(t.recommended.map(e=>({name:e.name,path:e.path}))),d(t.recent.map(e=>({name:e.name,path:e.path,lastUsedAt:e.lastUsedAt})))}}catch{p([]),d([])}},[a.hostAbsolutePath]);(0,Y.useEffect)(()=>{C()},[C]);let w=(0,Y.useCallback)(async()=>{let e=a.hostAbsolutePath;e&&window.electronAPI?.shell?.openPath&&await window.electronAPI.shell.openPath(e)},[a.hostAbsolutePath]),T=(0,Y.useCallback)(async()=>{let e=a.hostAbsolutePath;!e||!window.electronAPI?.shell?.chooseAppAndOpenPath||(await window.electronAPI.shell.chooseAppAndOpenPath(e)).ok&&C()},[a.hostAbsolutePath,C]),E=(0,Y.useCallback)(async e=>{let t=a.hostAbsolutePath;!t||!e||!window.electronAPI?.shell?.openPathWithApp||(await window.electronAPI.shell.openPathWithApp(t,e)).ok&&C()},[a.hostAbsolutePath,C]),D=dI()&&!!a.hostAbsolutePath&&!!window.electronAPI?.shell?.showItemInFolder,O=(0,Y.useCallback)(async()=>{let e=a.hostAbsolutePath;e&&window.electronAPI?.shell?.showItemInFolder&&await window.electronAPI.shell.showItemInFolder(e)},[a.hostAbsolutePath]);return{...a,extractedText:a.descriptor.type===`pptx`?a.pptxText:null,extractedTextTruncated:a.pptxTruncated,markdownEditMode:s.markdownEditMode,setMarkdownEditMode:e=>l({type:`markdown`,value:e}),htmlCodeMode:s.htmlCodeMode,setHtmlCodeMode:e=>l({type:`html`,value:e}),saveStatus:s.saveStatus,onSaveMarkdown:g,onHtmlChange:v,onDownload:y,canDownload:b,canOpenWithSystemApp:x,onOpenWithSystemApp:w,canChooseOpenWithApp:S,onChooseOpenWithApp:T,recommendedOpenWithApps:f,recentOpenWithApps:u,onOpenWithRecentApp:E,canRevealInFolder:D,onRevealInFolder:O}}var GY=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),KY=`VisuallyHidden`,qY=Y.forwardRef((e,t)=>(0,Q.jsx)(F.span,{...e,ref:t,style:{...GY,...e.style}}));qY.displayName=KY;var JY=qY,[YY,ore]=M(`Tooltip`,[ee]),XY=ee(),ZY=`TooltipProvider`,QY=700,$Y=`tooltip.open`,[eX,tX]=YY(ZY),nX=e=>{let{__scopeTooltip:t,delayDuration:n=QY,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=Y.useRef(!0),s=Y.useRef(!1),c=Y.useRef(0);return Y.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,Q.jsx)(eX,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:Y.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:Y.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:Y.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:a})};nX.displayName=ZY;var rX=`Tooltip`,[iX,aX]=YY(rX),oX=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,c=tX(rX,e.__scopeTooltip),l=XY(t),[u,d]=Y.useState(null),f=H(),p=Y.useRef(0),m=o??c.disableHoverableContent,h=s??c.delayDuration,g=Y.useRef(!1),[_,v]=U({prop:r,defaultProp:i??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent($Y))):c.onClose(),a?.(e)},caller:rX}),y=Y.useMemo(()=>_?g.current?`delayed-open`:`instant-open`:`closed`,[_]),b=Y.useCallback(()=>{window.clearTimeout(p.current),p.current=0,g.current=!1,v(!0)},[v]),x=Y.useCallback(()=>{window.clearTimeout(p.current),p.current=0,v(!1)},[v]),S=Y.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{g.current=!0,v(!0),p.current=0},h)},[h,v]);return Y.useEffect(()=>()=>{p.current&&=(window.clearTimeout(p.current),0)},[]),(0,Q.jsx)(te,{...l,children:(0,Q.jsx)(iX,{scope:t,contentId:f,open:_,stateAttribute:y,trigger:u,onTriggerChange:d,onTriggerEnter:Y.useCallback(()=>{c.isOpenDelayedRef.current?S():b()},[c.isOpenDelayedRef,S,b]),onTriggerLeave:Y.useCallback(()=>{m?x():(window.clearTimeout(p.current),p.current=0)},[x,m]),onOpen:b,onClose:x,disableHoverableContent:m,children:n})})};oX.displayName=rX;var sX=`TooltipTrigger`,cX=Y.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=aX(sX,n),a=tX(sX,n),o=XY(n),s=d(t,Y.useRef(null),i.onTriggerChange),c=Y.useRef(!1),l=Y.useRef(!1),u=Y.useCallback(()=>c.current=!1,[]);return Y.useEffect(()=>()=>document.removeEventListener(`pointerup`,u),[u]),(0,Q.jsx)(re,{asChild:!0,...o,children:(0,Q.jsx)(F.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:s,onPointerMove:K(e.onPointerMove,e=>{e.pointerType!==`touch`&&!l.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),l.current=!0)}),onPointerLeave:K(e.onPointerLeave,()=>{i.onTriggerLeave(),l.current=!1}),onPointerDown:K(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener(`pointerup`,u,{once:!0})}),onFocus:K(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:K(e.onBlur,i.onClose),onClick:K(e.onClick,i.onClose)})})});cX.displayName=sX;var lX=`TooltipPortal`,[uX,dX]=YY(lX,{forceMount:void 0}),fX=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=aX(lX,t);return(0,Q.jsx)(uX,{scope:t,forceMount:n,children:(0,Q.jsx)(R,{present:n||a.open,children:(0,Q.jsx)(N,{asChild:!0,container:i,children:r})})})};fX.displayName=lX;var pX=`TooltipContent`,mX=Y.forwardRef((e,t)=>{let n=dX(pX,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=aX(pX,e.__scopeTooltip);return(0,Q.jsx)(R,{present:r||o.open,children:o.disableHoverableContent?(0,Q.jsx)(yX,{side:i,...a,ref:t}):(0,Q.jsx)(hX,{side:i,...a,ref:t})})}),hX=Y.forwardRef((e,t)=>{let n=aX(pX,e.__scopeTooltip),r=tX(pX,e.__scopeTooltip),i=Y.useRef(null),a=d(t,i),[o,s]=Y.useState(null),{trigger:c,onClose:l}=n,u=i.current,{onPointerInTransitChange:f}=r,p=Y.useCallback(()=>{s(null),f(!1)},[f]),m=Y.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=CX(r,SX(r,n.getBoundingClientRect())),a=wX(t.getBoundingClientRect());s(EX([...i,...a])),f(!0)},[f]);return Y.useEffect(()=>()=>p(),[p]),Y.useEffect(()=>{if(c&&u){let e=e=>m(e,u),t=e=>m(e,c);return c.addEventListener(`pointerleave`,e),u.addEventListener(`pointerleave`,t),()=>{c.removeEventListener(`pointerleave`,e),u.removeEventListener(`pointerleave`,t)}}},[c,u,m,p]),Y.useEffect(()=>{if(o){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||u?.contains(t),i=!TX(n,o);r?p():i&&(p(),l())};return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[c,u,o,l,p]),(0,Q.jsx)(yX,{...e,ref:a})}),[gX,_X]=YY(rX,{isInside:!1}),vX=L(`TooltipContent`),yX=Y.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,c=aX(pX,n),l=XY(n),{onClose:u}=c;return Y.useEffect(()=>(document.addEventListener($Y,u),()=>document.removeEventListener($Y,u)),[u]),Y.useEffect(()=>{if(c.trigger){let e=e=>{e.target?.contains(c.trigger)&&u()};return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[c.trigger,u]),(0,Q.jsx)(G,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:u,children:(0,Q.jsxs)(q,{"data-state":c.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,Q.jsx)(vX,{children:r}),(0,Q.jsx)(gX,{scope:n,isInside:!0,children:(0,Q.jsx)(JY,{id:c.contentId,role:`tooltip`,children:i||r})})]})})});mX.displayName=pX;var bX=`TooltipArrow`,xX=Y.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=XY(n);return _X(bX,n).isInside?null:(0,Q.jsx)(ne,{...i,...r,ref:t})});xX.displayName=bX;function SX(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function CX(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function wX(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function TX(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function EX(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),DX(t)}function DX(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var OX=nX,kX=oX,AX=cX,jX=fX,MX=mX,NX=xX,PX=`!z-[10000] max-w-[min(28rem,90vw)] rounded-md border border-edge bg-surface-panel px-2.5 py-2 text-left text-xs leading-snug text-fg shadow-lg`,FX=`block w-full min-w-0 truncate rounded border border-transparent bg-surface-hover px-2 py-1.5 font-mono text-xs text-fg focus:border-accent focus:outline-none focus:ring-1 focus:ring-accent`,IX=`inline-flex w-[5.25rem] shrink-0 items-center justify-center gap-1 px-2 py-1 text-xs`;function LX(e){let t=(0,Z.c)(38),{label:n,text:r,compact:i,labels:a,monospace:o}=e,s=o===void 0?!0:o,c=(0,Y.useRef)(null),[l,d]=(0,Y.useState)(!1),[f,p]=(0,Y.useState)(!1),m;t[0]===r?m=t[1]:(m=async()=>{if(p(!1),await GP(r)){d(!0),window.setTimeout(()=>d(!1),2e3);return}KP(c.current),p(!0),window.setTimeout(()=>p(!1),2500)},t[0]=r,t[1]=m);let h=m,g=i&&`gap-0.5`,_;t[2]===g?_=t[3]:(_=u(`flex min-w-0 flex-col gap-1`,g),t[2]=g,t[3]=_);let v;t[4]===n?v=t[5]:(v=n?(0,Q.jsx)(`span`,{className:`text-xs font-medium text-fg-muted`,children:n}):null,t[4]=n,t[5]=v);let y=n??a.copy,b=!s&&`font-sans`,x;t[6]===b?x=t[7]:(x=u(FX,b),t[6]=b,t[7]=x);let S;t[8]!==y||t[9]!==x||t[10]!==r?(S=(0,Q.jsx)(AX,{asChild:!0,children:(0,Q.jsx)(`input`,{ref:c,readOnly:!0,type:`text`,value:r,"aria-label":y,className:x,onFocus:RX})}),t[8]=y,t[9]=x,t[10]=r,t[11]=S):S=t[11];let C;t[12]===r?C=t[13]:(C=(0,Q.jsx)(jX,{children:(0,Q.jsx)(MX,{side:`top`,sideOffset:6,collisionPadding:12,className:PX,children:(0,Q.jsx)(`span`,{className:`break-all`,children:r})})}),t[12]=r,t[13]=C);let w;t[14]!==C||t[15]!==S?(w=(0,Q.jsx)(`div`,{className:`min-w-0 overflow-hidden`,children:(0,Q.jsxs)(kX,{children:[S,C]})}),t[14]=C,t[15]=S,t[16]=w):w=t[16];let T;t[17]===h?T=t[18]:(T=()=>void h(),t[17]=h,t[18]=T);let E;t[19]===l?E=t[20]:(E=l?(0,Q.jsx)(gd,{className:`size-3.5 shrink-0`}):(0,Q.jsx)(mm,{className:`size-3.5 shrink-0`}),t[19]=l,t[20]=E);let D=l?a.copied:a.copy,O;t[21]===D?O=t[22]:(O=(0,Q.jsx)(`span`,{className:`truncate`,children:D}),t[21]=D,t[22]=O);let k;t[23]!==T||t[24]!==E||t[25]!==O?(k=(0,Q.jsxs)(NP,{type:`button`,variant:`secondary`,className:IX,onClick:T,children:[E,O]}),t[23]=T,t[24]=E,t[25]=O,t[26]=k):k=t[26];let A;t[27]!==w||t[28]!==k?(A=(0,Q.jsxs)(`div`,{className:`grid grid-cols-[minmax(0,1fr)_5.25rem] items-center gap-2`,children:[w,k]}),t[27]=w,t[28]=k,t[29]=A):A=t[29];let j;t[30]!==f||t[31]!==a.copyFailed?(j=f?(0,Q.jsx)(`p`,{className:`text-xs text-red-600 dark:text-red-400`,children:a.copyFailed}):null,t[30]=f,t[31]=a.copyFailed,t[32]=j):j=t[32];let M;return t[33]!==A||t[34]!==j||t[35]!==_||t[36]!==v?(M=(0,Q.jsx)(OX,{delayDuration:300,children:(0,Q.jsxs)(`div`,{className:_,children:[v,A,j]})}),t[33]=A,t[34]=j,t[35]=_,t[36]=v,t[37]=M):M=t[37],M}function RX(e){return e.currentTarget.select()}function zX(e){let t=(0,Z.c)(12),{rows:n,compact:r,labels:i}=e,a=r&&`gap-1.5`,o;t[0]===a?o=t[1]:(o=u(`flex min-w-0 flex-col gap-2`,a),t[0]=a,t[1]=o);let s;if(t[2]!==r||t[3]!==i||t[4]!==n){let e;t[6]!==r||t[7]!==i?(e=e=>(0,Q.jsx)(LX,{label:e.label,text:e.text,compact:r,labels:i},e.key),t[6]=r,t[7]=i,t[8]=e):e=t[8],s=n.map(e),t[2]=r,t[3]=i,t[4]=n,t[5]=s}else s=t[5];let c;return t[9]!==o||t[10]!==s?(c=(0,Q.jsx)(`div`,{className:o,children:s}),t[9]=o,t[10]=s,t[11]=c):c=t[11],c}var BX=new Intl.DateTimeFormat(`zh-CN`,{dateStyle:`medium`,timeStyle:`short`}),VX=new Intl.DateTimeFormat(`en`,{dateStyle:`medium`,timeStyle:`short`});function HX(e,t,n,r){if(n===`public`){let n=[{key:`public`,label:r.publicUrlLabel,url:e}];return t&&n.push({key:`lan`,label:r.lanUrlLabel,url:t}),n}return n===`lan`?[{key:`lan`,label:r.lanUrlLabel,url:e}]:[{key:`local`,label:r.localUrlLabel,url:e}]}function UX(e){let t=(0,Z.c)(17),{shareUrl:n,lanUrl:r,reachability:i,compact:a}=e,o=v(GX),s;t[0]===o?s=t[1]:(s=m(o),t[0]=o,t[1]=s);let c=s.sharesSettings,l=r??null,u;t[2]!==i||t[3]!==n||t[4]!==c||t[5]!==l?(u=HX(n,l,i,c),t[2]=i,t[3]=n,t[4]=c,t[5]=l,t[6]=u):u=t[6];let d=u,f;t[7]!==c.copied||t[8]!==c.copy||t[9]!==c.copyFailed?(f={copy:c.copy,copied:c.copied,copyFailed:c.copyFailed},t[7]=c.copied,t[8]=c.copy,t[9]=c.copyFailed,t[10]=f):f=t[10];let p=f,h;t[11]===d?h=t[12]:(h=d.map(WX),t[11]=d,t[12]=h);let g;return t[13]!==a||t[14]!==p||t[15]!==h?(g=(0,Q.jsx)(zX,{rows:h,compact:a,labels:p}),t[13]=a,t[14]=p,t[15]=h,t[16]=g):g=t[16],g}function WX(e){return{key:e.key,label:e.label,text:e.url}}function GX(e){return e.language}function KX(e,t){return(t===`zh`?BX:VX).format(new Date(e))}function qX(e){let t=(0,Z.c)(23),{reachability:n,reachabilityHint:r}=e,i=v(JX),a;t[0]===i?a=t[1]:(a=m(i),t[0]=i,t[1]=a);let o=a.sharesSettings;if(n===`public`){let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(dv,{className:`size-3`}),t[2]=e):e=t[2];let n;return t[3]===o.reachPublic?n=t[4]:(n=(0,Q.jsxs)(`span`,{className:`flex items-center gap-1 text-xs text-emerald-600 dark:text-emerald-400`,children:[e,o.reachPublic]}),t[3]=o.reachPublic,t[4]=n),n}if(n===`lan`){let e;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(BN,{className:`size-3`}),t[5]=e):e=t[5];let n;t[6]===r?n=t[7]:(n=r?(0,Q.jsxs)(`span`,{className:`text-fg-muted`,children:[` — `,r]}):null,t[6]=r,t[7]=n);let i;return t[8]!==o.reachLan||t[9]!==n?(i=(0,Q.jsxs)(`span`,{className:`flex items-center gap-1 text-xs text-amber-600 dark:text-amber-400`,children:[e,o.reachLan,n]}),t[8]=o.reachLan,t[9]=n,t[10]=i):i=t[10],i}let s;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(RN,{className:`size-3`}),t[11]=s):s=t[11];let c;t[12]===o.reachLocal?c=t[13]:(c=(0,Q.jsxs)(`span`,{className:`flex items-center gap-1 text-xs text-fg-subtle`,children:[s,o.reachLocal]}),t[12]=o.reachLocal,t[13]=c);let l=r??o.reachLocalHint,u;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Q.jsx)(Yh,{className:`size-3`}),t[14]=u):u=t[14];let d;t[15]===o.openTunnel?d=t[16]:(d=(0,Q.jsxs)(Gi,{to:`/settings/remote-access?tab=public`,className:`inline-flex items-center gap-0.5 text-accent hover:underline`,children:[o.openTunnel,u]}),t[15]=o.openTunnel,t[16]=d);let f;t[17]!==l||t[18]!==d?(f=(0,Q.jsxs)(`span`,{className:`flex items-center gap-1 text-xs text-fg-muted`,children:[l,` `,d]}),t[17]=l,t[18]=d,t[19]=f):f=t[19];let p;return t[20]!==c||t[21]!==f?(p=(0,Q.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,f]}),t[20]=c,t[21]=f,t[22]=p):p=t[22],p}function JX(e){return e.language}function YX(e){let t=(0,Z.c)(24),{result:n}=e,r=v(XX),i;t[0]===r?i=t[1]:(i=m(r),t[0]=r,t[1]=i);let a=i.sharesSettings,o;t[2]===n.fileName?o=t[3]:(o=(0,Q.jsx)(`p`,{className:`text-sm font-medium text-fg`,children:n.fileName}),t[2]=n.fileName,t[3]=o);let s=a.expiresLabel,c;t[4]!==r||t[5]!==n.expiresAt?(c=KX(n.expiresAt,r),t[4]=r,t[5]=n.expiresAt,t[6]=c):c=t[6];let l;t[7]!==a.expiresLabel||t[8]!==c?(l=(0,Q.jsxs)(`p`,{className:`mt-0.5 text-xs text-fg-muted`,children:[s,`: `,c]}),t[7]=a.expiresLabel,t[8]=c,t[9]=l):l=t[9];let u;t[10]!==o||t[11]!==l?(u=(0,Q.jsxs)(`div`,{children:[o,l]}),t[10]=o,t[11]=l,t[12]=u):u=t[12];let d;t[13]!==n.lanUrl||t[14]!==n.reachability||t[15]!==n.shareUrl?(d=(0,Q.jsx)(UX,{shareUrl:n.shareUrl,lanUrl:n.lanUrl,reachability:n.reachability}),t[13]=n.lanUrl,t[14]=n.reachability,t[15]=n.shareUrl,t[16]=d):d=t[16];let f;t[17]!==n.reachability||t[18]!==n.reachabilityHint?(f=(0,Q.jsx)(qX,{reachability:n.reachability,reachabilityHint:n.reachabilityHint}),t[17]=n.reachability,t[18]=n.reachabilityHint,t[19]=f):f=t[19];let p;return t[20]!==u||t[21]!==d||t[22]!==f?(p=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-3`,children:[u,d,f]}),t[20]=u,t[21]=d,t[22]=f,t[23]=p):p=t[23],p}function XX(e){return e.language}function ZX(e){let t=(0,Z.c)(26),{open:n,onOpenChange:r,loading:i,error:a,result:o}=e,s=v(QX),c;t[0]===s?c=t[1]:(c=m(s),t[0]=s,t[1]=c);let l=c.sharesSettings,d;t[2]===s?d=t[3]:(d=m(s),t[2]=s,t[3]=d);let f=d,p;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsx)(JL,{className:`fixed inset-0 z-[70] bg-scrim backdrop-blur-[2px]`}),t[4]=p):p=t[4];let h;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=u(`fixed left-1/2 top-1/2 z-[71] w-[min(28rem,calc(100vw-2rem))] -translate-x-1/2 -translate-y-1/2`,`overflow-hidden rounded-lg border border-edge bg-surface-panel p-4 shadow-popover outline-none`),t[5]=h):h=t[5];let g;t[6]===l.shareCreated?g=t[7]:(g=(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:l.shareCreated}),t[6]=l.shareCreated,t[7]=g);let _;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(ZN,{className:`size-4`}),t[8]=_):_=t[8];let y;t[9]===l.cancel?y=t[10]:(y=(0,Q.jsx)(QL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-8 shrink-0 items-center justify-center rounded-md text-fg-muted hover:bg-surface-hover hover:text-fg`,"aria-label":l.cancel,children:_})}),t[9]=l.cancel,t[10]=y);let b;t[11]!==g||t[12]!==y?(b=(0,Q.jsxs)(`div`,{className:`mb-3 flex items-start justify-between gap-2`,children:[g,y]}),t[11]=g,t[12]=y,t[13]=b):b=t[13];let x;t[14]!==a||t[15]!==i||t[16]!==f||t[17]!==o?(x=i?(0,Q.jsxs)(`p`,{className:`flex items-center gap-2 py-4 text-sm text-fg-muted`,children:[(0,Q.jsx)(Ey,{className:`size-4 animate-spin`}),f.workspace.sharing]}):a?(0,Q.jsx)(`p`,{className:`py-2 text-sm text-red-600 dark:text-red-400`,children:a}):o?(0,Q.jsx)(YX,{result:o}):null,t[14]=a,t[15]=i,t[16]=f,t[17]=o,t[18]=x):x=t[18];let S;t[19]!==b||t[20]!==x?(S=(0,Q.jsxs)(qL,{children:[p,(0,Q.jsxs)(YL,{className:h,children:[b,x]})]}),t[19]=b,t[20]=x,t[21]=S):S=t[21];let C;return t[22]!==r||t[23]!==n||t[24]!==S?(C=(0,Q.jsx)(KL,{open:n,onOpenChange:r,children:S}),t[22]=r,t[23]=n,t[24]=S,t[25]=C):C=t[25],C}function QX(e){return e.language}async function $X(){return E(T(`/api/shares`))}async function eZ(e){return E(T(`/api/shares`),{method:`POST`,body:JSON.stringify(e)})}async function tZ(e){return E(T(`/api/shares/${e}`),{method:`DELETE`})}async function nZ(){return E(T(`/api/shares`),{method:`DELETE`,body:JSON.stringify({expired:!0})})}async function rZ(e,t){return E(T(`/api/shares/${e}`),{method:`PATCH`,body:JSON.stringify({extendTtlMs:t})})}function iZ(){let[e,t]=(0,Y.useState)(!1),[n,r]=(0,Y.useState)(!1),[i,a]=(0,Y.useState)(null),[o,s]=(0,Y.useState)(null),c=(0,Y.useCallback)(async e=>{t(!0),r(!0),a(null),s(null);try{let t=await eZ(e);return a(t.payload),t.payload}catch(e){return s(e instanceof Error?e.message:String(e)),null}finally{r(!1)}},[]),l=(0,Y.useCallback)(()=>{a(null),s(null),r(!1)},[]);return{dialogOpen:e,loading:n,result:i,error:o,createShareLink:c,handleOpenChange:(0,Y.useCallback)(e=>{t(e),e||l()},[l])}}function aZ(e){return e.map(e=>({name:e.name,path:e.path,absolutePath:e.absolutePath,isDirectory:e.isDirectory,children:e.isDirectory?[]:void 0}))}function oZ(e,t,n){return e.map(e=>e.path===t?{...e,children:n}:e.isDirectory&&e.children?.length?{...e,children:oZ(e.children,t,n)}:e)}function sZ(e,t){let[n,r]=(0,Y.useState)([]),[i,a]=(0,Y.useState)(!1),[o,s]=(0,Y.useState)(null),c=(0,Y.useRef)(new Set),l=e.trim(),u=t?.trim()??``,d=u,f=u?``:l,p=(0,Y.useMemo)(()=>{if(d)return{sessionKey:d};if(f)return{agentId:f}},[d,f]);return{tree:n,loading:i,error:o,loadRoot:(0,Y.useCallback)(async()=>{a(!0),s(null),c.current.clear();try{r(aZ(await SW(``,p))),c.current.add(``)}catch(e){s(e instanceof Error?e.message:String(e))}finally{a(!1)}},[p]),loadChildren:(0,Y.useCallback)(async e=>{if(!c.current.has(e)){c.current.add(e);try{let t=aZ(await SW(e,p));r(n=>oZ(n,e,t))}catch{c.current.delete(e)}}},[p]),reset:(0,Y.useCallback)(()=>{r([]),s(null),c.current.clear()},[])}}var cZ=_(e=>({agentId:``,setAgentId:t=>e({agentId:t})})),lZ=`xopc-web-workspace-panel-open`,uZ=`xopc-web-workspace-panel-width-px`;function dZ(){try{return globalThis.localStorage?.getItem(lZ)===`1`}catch{return!1}}function fZ(e){try{globalThis.localStorage?.setItem(lZ,e?`1`:`0`)}catch{}}function pZ(e){return Math.min(520,Math.max(200,Math.round(e)))}function mZ(){try{let e=globalThis.localStorage?.getItem(uZ);if(e==null)return 320;let t=Number.parseInt(e,10);return Number.isFinite(t)?pZ(t):320}catch{return 320}}function hZ(e){try{globalThis.localStorage?.setItem(uZ,String(e))}catch{}}var gZ=_((e,t)=>({open:dZ(),setOpen:t=>{e({open:t}),queueMicrotask(()=>fZ(t))},toggleOpen:()=>{t().setOpen(!t().open)},widthPx:mZ(),setWidthPx:t=>{let n=pZ(t);e({widthPx:n}),queueMicrotask(()=>hZ(n))}})),_Z=_(e=>({path:null,line:null,setPath:(t,n)=>e({path:t,line:t&&typeof n==`number`&&Number.isFinite(n)&&n>0?Math.floor(n):null})})),vZ=(0,Y.memo)(function(){let e=m(v(e=>e.language)),{pathname:t}=wr(),{sessionKey:n}=jr(),r=t.startsWith(`/chat`)&&n?decodeURIComponent(n):null,i=gZ(e=>e.open),a=gZ(e=>e.setOpen),o=gZ(e=>e.widthPx),s=gZ(e=>e.setWidthPx),[c,l]=(0,Y.useState)(!1),d=_Z(e=>e.path),f=_Z(e=>e.setPath),p=cZ(e=>e.agentId),{tree:h,loading:g,error:_,loadRoot:y,loadChildren:b,reset:x}=sZ(p,r),S=r??p,C=r==null?p.trim()?{agentId:p.trim()}:void 0:{sessionKey:r},{dialogOpen:w,loading:T,result:E,error:D,createShareLink:O,handleOpenChange:k}=iZ(),A=(0,Y.useCallback)(e=>{if(!i)return;e.preventDefault();let t=e.currentTarget;t.setPointerCapture(e.pointerId),l(!0);let n=e.clientX,r=gZ.getState().widthPx,a=e.pointerId,o=e=>{s(r+(n-e.clientX))},c=()=>{try{t.releasePointerCapture(a)}catch{}l(!1),window.removeEventListener(`pointermove`,o),window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c)};window.addEventListener(`pointermove`,o),window.addEventListener(`pointerup`,c),window.addEventListener(`pointercancel`,c)},[i,s]);(0,Y.useEffect)(()=>{t.startsWith(`/chat`)||a(!1)},[t,a]),(0,Y.useEffect)(()=>{if(!i){x(),f(null);return}f(null),y()},[i,S,y,x,f]),(0,Y.useEffect)(()=>{if(!i)return;let e=e=>{e.key===`Escape`&&(_Z.getState().path||a(!1))};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)},[i,a]),(0,Y.useEffect)(()=>{if(!i||!window.matchMedia(`(max-width: 767px)`).matches)return;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}},[i]);let j=(0,Y.useCallback)(e=>{b(e)},[b]),M=(0,Y.useCallback)(async(t,n,r)=>{switch(t){case`preview`:if(n.isDirectory)return;f(n.path);break;case`download`:if(n.isDirectory)return;try{let e=VW(n.path);if(WW(UW(e))!==`text`)AW(e,await(await EW(n.path,C)).arrayBuffer(),YB(e)??`application/octet-stream`);else{let{content:t}=await CW(n.path,C);kW(e,t)}}catch{}break;case`copyPath`:try{await GP(n.absolutePath??n.path)&&IU(`success`,e.workspace.pathCopied,void 0,{duration:2500})}catch{}break;case`openDefault`:if(!n.absolutePath||!window.electronAPI?.shell?.openPath)return;await window.electronAPI.shell.openPath(n.absolutePath);break;case`openWith`:if(!n.absolutePath||!window.electronAPI?.shell?.chooseAppAndOpenPath)return;await window.electronAPI.shell.chooseAppAndOpenPath(n.absolutePath);break;case`openWithApp`:if(!n.absolutePath||!r||!window.electronAPI?.shell?.openPathWithApp)return;await window.electronAPI.shell.openPathWithApp(n.absolutePath,r);break;case`revealInFolder`:if(!n.absolutePath||!window.electronAPI?.shell?.showItemInFolder)return;await window.electronAPI.shell.showItemInFolder(n.absolutePath);break;case`share`:await O({path:n.path,...n.isDirectory?{kind:`directory`,directoryMode:`browse`}:{},...C});break;default:break}},[O,e.workspace.pathCopied,f,C]);return(0,Q.jsxs)(Q.Fragment,{children:[i?(0,Q.jsx)(`button`,{type:`button`,className:`fixed inset-0 z-40 bg-scrim md:hidden`,"aria-label":e.closeMenu,onClick:()=>a(!1)}):null,(0,Q.jsx)(`aside`,{id:`app-workspace-panel`,"aria-label":e.workspace.title,"aria-hidden":!i,className:u(`flex min-h-0 flex-col overflow-hidden bg-surface-base`,`max-md:fixed max-md:right-0 max-md:top-0 max-md:z-50 max-md:h-[100dvh] max-md:shadow-popover`,`max-md:transition-transform max-md:duration-200 max-md:ease-out`,`motion-reduce:max-md:transition-none`,`max-md:w-[min(20rem,92vw)]`,i?`max-md:translate-x-0`:`max-md:pointer-events-none max-md:translate-x-full`,`md:relative md:h-full md:translate-x-0`,`motion-reduce:md:transition-none`,!i&&`md:pointer-events-none md:w-0 md:min-w-0 md:max-w-0 md:overflow-hidden`,i&&`app-workspace-panel-expanded-width md:shrink-0`,i&&c&&`workspace-panel-rail-resizing`),style:i?{"--workspace-panel-px":`${o}px`}:void 0,children:i?(0,Q.jsxs)(`div`,{className:u(`relative flex h-full min-h-0 w-full min-w-0 flex-col overflow-x-hidden overflow-y-hidden bg-surface-base`),children:[(0,Q.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":e.workspace.resizeHandleAria,onPointerDown:A,className:u(`pointer-events-auto absolute left-0 top-0 z-20 hidden h-full w-2 cursor-col-resize md:block`,`before:content-[''] before:pointer-events-none before:absolute before:left-1/2 before:top-0 before:z-0 before:h-full before:w-px before:-translate-x-1/2`,`before:bg-transparent before:transition-[background-color] before:duration-150`,`hover:bg-surface-hover/20 hover:before:bg-edge/65 dark:hover:before:bg-edge/75`,c&&`bg-surface-hover/30 before:!bg-edge/80 dark:before:!bg-edge/85`,`transition-[background-color] duration-150`,`touch-none select-none`,GF)}),(0,Q.jsxs)(`div`,{className:`flex h-11 shrink-0 items-center gap-2 border-b border-edge px-4 dark:border-edge`,children:[(0,Q.jsx)(Z_,{className:`size-4 shrink-0 text-fg-muted`,"aria-hidden":!0}),(0,Q.jsx)(`h2`,{className:`min-w-0 flex-1 truncate text-base font-semibold leading-tight tracking-tight text-fg`,children:e.workspace.title}),(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg disabled:opacity-50`,title:e.cron.refresh,"aria-label":e.cron.refresh,disabled:g,onClick:()=>void y(),children:(0,Q.jsx)(fT,{className:u(`size-4`,g&&`animate-spin`),"aria-hidden":!0})}),(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:`size-9 shrink-0 rounded-md p-0`,"aria-label":e.workspace.close,title:e.workspace.close,onClick:()=>a(!1),children:(0,Q.jsx)(ZN,{className:`size-4`,strokeWidth:1.75})})]}),_?(0,Q.jsxs)(`p`,{className:`shrink-0 px-4 py-2 text-xs text-red-600 dark:text-red-400`,children:[e.workspace.loadError,`: `,_]}):null,(0,Q.jsx)(bW,{tree:h,selectedPath:d,onSelectFile:e=>f(e),onExpandDir:j,onAction:M,actionLabels:{preview:e.workspace.preview,download:e.workspace.download,copyPath:e.workspace.copyPath,share:e.workspace.shareLink,...dI()?{openDefault:e.workspace.openSystemApp,openWith:e.workspace.chooseApp,revealInFolder:e.workspace.revealInFolder,recommendedApps:e.workspace.recommendedApps}:{}},emptyHint:e.workspace.emptyDir})]}):null}),(0,Q.jsx)(ZX,{open:w,onOpenChange:k,loading:T,error:D,result:E})]})}),yZ=`(max-width: 1199px)`,bZ=`z-[58]`,xZ=`z-[75]`,SZ=`z-[76]`,CZ=`z-[74]`,wZ=`z-[77]`;function TZ(){let e=(0,Z.c)(28),t=(0,Y.useRef)(null),n=w(MZ),r=w(jZ),i=w(AZ),a=w(kZ),o=w(OZ),s=w(DZ),c=v(EZ),l;e[0]===c?l=e[1]:(l=m(c),e[0]=c,e[1]=l);let d=l.token,f=!!s&&!i,p;e[2]!==f||e[3]!==o?(p=e=>{!e&&!f||e||o()},e[2]=f,e[3]=o,e[4]=p):p=e[4];let h;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,Q.jsx)(JL,{className:u(`fixed inset-0 bg-scrim backdrop-blur-[2px]`,xZ)}),e[5]=h):h=e[5];let g,_;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(g=u(`fixed left-1/2 top-1/2 w-[min(100%-2rem,28rem)] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-edge bg-surface-panel p-4 shadow-popover`,SZ,`dark:border-edge`),_=e=>{e.preventDefault(),t.current?.focus()},e[6]=g,e[7]=_):(g=e[6],_=e[7]);let y;e[8]===d.title?y=e[9]:(y=(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:d.title}),e[8]=d.title,e[9]=y);let b;e[10]===d.description?b=e[11]:(b=(0,Q.jsx)(ZL,{className:`mt-1 text-sm text-fg-muted`,children:d.description}),e[10]=d.description,e[11]=b);let x;e[12]!==f||e[13]!==o||e[14]!==c?(x=f?(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,onClick:()=>o(),children:c===`zh`?`取消`:`Cancel`}):void 0,e[12]=f,e[13]=o,e[14]=c,e[15]=x):x=e[15];let S;e[16]!==r||e[17]!==a||e[18]!==x?(S=(0,Q.jsx)(rF,{className:`mt-4`,baseUrl:r,tokenInputRef:t,onSubmit:a,footerLeft:x}),e[16]=r,e[17]=a,e[18]=x,e[19]=S):S=e[19];let C;e[20]!==y||e[21]!==b||e[22]!==S?(C=(0,Q.jsxs)(qL,{children:[h,(0,Q.jsxs)(YL,{className:g,onOpenAutoFocus:_,children:[y,b,S]})]}),e[20]=y,e[21]=b,e[22]=S,e[23]=C):C=e[23];let T;return e[24]!==n||e[25]!==p||e[26]!==C?(T=(0,Q.jsx)(KL,{open:n,onOpenChange:p,children:C}),e[24]=n,e[25]=p,e[26]=C,e[27]=T):T=e[27],T}function EZ(e){return e.language}function DZ(e){return e.token}function OZ(e){return e.closeTokenDialog}function kZ(e){return e.setGatewayToken}function AZ(e){return e.tokenExpired}function jZ(e){return e.baseUrl}function MZ(e){return e.tokenDialogOpen}var NZ=`xopc:shell-prefs-changed`,PZ={notifyEnabled:!0,notifySoundEnabled:!0};function FZ(){return PZ}function IZ(){typeof window>`u`||window.dispatchEvent(new CustomEvent(NZ))}async function LZ(){if(!dI()||!window.electronAPI?.system)return PZ;try{let e=await window.electronAPI.system.getBehavior();PZ={notifyEnabled:e.notifyEnabled,notifySoundEnabled:e.notifySoundEnabled}}catch{}return PZ}function RZ(){try{let e=new AudioContext,t=e.createOscillator(),n=e.createGain();t.type=`sine`,t.frequency.value=880,n.gain.value=.07,t.connect(n),n.connect(e.destination),t.start(),t.stop(e.currentTime+.15),e.close()}catch{}}function zZ(e){if(typeof Notification>`u`)return!1;let t=FZ();if(!t.notifyEnabled&&!e.force||Notification.permission!==`granted`)return!1;let n=e.title.trim();if(!n||!e.force&&!e.urgent&&!document.hidden)return!1;try{let r=new Notification(n,{body:e.body?.trim()||void 0,tag:e.tag,silent:!t.notifySoundEnabled});return r.onclick=()=>{window.focus(),r.close()},t.notifySoundEnabled&&RZ(),!0}catch{return!1}}async function BZ(e,t){if(typeof Notification>`u`)return`unsupported`;if(dI()&&window.electronAPI?.system?.requestNotifications){let n=await window.electronAPI.system.requestNotifications();if(n.status!==`granted`)return n.outcome===`opened-settings`||n.status===`denied`?`denied`:`default`;if(Notification.permission==="default"){let e=await Notification.requestPermission();if(e!==`granted`)return e===`denied`?`denied`:`default`}else if(Notification.permission===`denied`)return`denied`;return PZ={...PZ,notifyEnabled:!0},zZ({title:e,body:t,tag:`xopc-notify-test`,force:!0}),`enabled`}let n=Notification.permission;return n==="default"&&(n=await Notification.requestPermission()),n===`denied`?`denied`:n===`granted`?(PZ={...PZ,notifyEnabled:!0},zZ({title:e,body:t,tag:`xopc-notify-test`,force:!0}),`enabled`):`default`}function VZ(){let e=(0,Z.c)(4),t=v(GZ),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=[],e[0]=n):n=e[0],(0,Y.useEffect)(UZ,n);let r,i;return e[1]===t?(r=e[2],i=e[3]):(r=()=>{if(!dI())return;let e=m(t).systemSettings.desktopNotify,n=HZ,r=t=>{let n=t.detail,r=n?.event;if(!r||r.type!==`error`)return;let i=typeof r.content==`string`?r.content.trim():``;zZ({title:e.agentErrorTitle,body:i||e.agentErrorBody,tag:`xopc-agent-error-${n?.sessionKey??`unknown`}`,urgent:!0})};return window.addEventListener(A,n),window.addEventListener(`agent-stream-event`,r),()=>{window.removeEventListener(A,n),window.removeEventListener(`agent-stream-event`,r)}},i=[t],e[1]=t,e[2]=r,e[3]=i),(0,Y.useEffect)(r,i),null}function HZ(e){let t=e.detail,n=typeof t?.title==`string`?t.title.trim():``;if(!n)return;let r=typeof t?.message==`string`?t.message.trim():void 0,i=t?.type===`error`||t?.type===`warning`;zZ({title:n,body:r,tag:`xopc-toast-${t?.type??`info`}`,urgent:i})}function UZ(){if(!dI())return;LZ();let e=WZ;return window.addEventListener(NZ,e),()=>window.removeEventListener(NZ,e)}function WZ(){LZ()}function GZ(e){return e.language}function KZ(){let e=(0,Z.c)(16),t=v(qZ),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n.electron,[i,a]=(0,Y.useState)(null),o,s;if(e[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=()=>{if(!dI())return;let e=window.electronAPI?.gateway;if(e?.onExited)return e.onExited(e=>a(e))},s=[],e[2]=o,e[3]=s):(o=e[2],s=e[3]),(0,Y.useEffect)(o,s),!i)return null;let c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=u(`shrink-0 border-b border-danger/35 bg-danger/10 px-4 py-3 text-sm text-fg shadow-surface`),e[4]=c):c=e[4];let l;e[5]===r.gatewayExitTitle?l=e[6]:(l=(0,Q.jsx)(`p`,{className:`font-semibold`,children:r.gatewayExitTitle}),e[5]=r.gatewayExitTitle,e[6]=l);let d;e[7]===r.gatewayExitBody?d=e[8]:(d=(0,Q.jsx)(`p`,{className:`mt-1 text-fg-muted`,children:r.gatewayExitBody}),e[7]=r.gatewayExitBody,e[8]=d);let f=i.code??`—`,p=i.signal??`—`,h;e[9]!==f||e[10]!==p?(h=(0,Q.jsxs)(`p`,{className:`mt-2 font-mono text-xs text-fg-muted`,children:[`exit `,f,` · signal `,p]}),e[9]=f,e[10]=p,e[11]=h):h=e[11];let g;return e[12]!==l||e[13]!==d||e[14]!==h?(g=(0,Q.jsxs)(`div`,{className:c,role:`alert`,children:[l,d,h]}),e[12]=l,e[13]=d,e[14]=h,e[15]=g):g=e[15],g}function qZ(e){return e.language}function JZ(){let e=(0,Z.c)(3),t=Dr(),n,r;return e[0]===t?(n=e[1],r=e[2]):(n=()=>{if(!dI())return;let e=window.electronAPI;if(!e?.menu)return;let n=e.menu.onNavigate(e=>{t(e)}),r=e.menu.onTogglePalette(YZ);return()=>{n(),r()}},r=[t],e[0]=t,e[1]=n,e[2]=r),(0,Y.useEffect)(n,r),null}function YZ(){window.dispatchEvent(new CustomEvent(`toggle-command-palette`))}var XZ=1500,ZZ=9e4;function QZ(){let e=(0,Z.c)(16),t=v(tQ),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n.updatePanel,[i,a]=(0,Y.useState)(!1),[o,s]=(0,Y.useState)(!1),c=(0,Y.useRef)(0),l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{let e=c.current+=1;a(!0),s(!1),(async()=>{await new Promise(eQ);let t=Date.now()+ZZ;for(;e===c.current&&Date.now()<t;){try{if((await fetch(T(`/api/health`),{signal:AbortSignal.timeout(3e3)})).ok){window.location.reload();return}}catch{}await new Promise($Z)}e===c.current&&s(!0)})()},e[2]=l):l=e[2];let d=l,f,p;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{let e=()=>d();return window.addEventListener(`gateway-restart-initiated`,e),()=>{c.current+=1,window.removeEventListener(`gateway-restart-initiated`,e)}},p=[d],e[3]=f,e[4]=p):(f=e[3],p=e[4]),(0,Y.useEffect)(f,p);let h;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=()=>{d()},e[5]=h):h=e[5];let g=h;if(!i)return null;let _=o?`border-red-500/20 bg-red-500/10 text-red-800 dark:text-red-200`:`border-amber-500/25 bg-amber-500/10 text-amber-900 dark:text-amber-100`,y;e[6]===_?y=e[7]:(y=u(`flex min-h-10 w-full items-center justify-center gap-2 border-b px-4 py-2 text-sm`,_),e[6]=_,e[7]=y);let b;e[8]!==r.restartPollRetry||e[9]!==r.restartPollTimeout||e[10]!==r.restartPolling||e[11]!==o?(b=o?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{children:r.restartPollTimeout}),(0,Q.jsx)(`button`,{type:`button`,onClick:g,className:`ml-2 rounded bg-accent px-2 py-0.5 text-xs font-medium text-white hover:bg-accent/90`,children:r.restartPollRetry})]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Ey,{className:`size-4 animate-spin`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:r.restartPolling})]}),e[8]=r.restartPollRetry,e[9]=r.restartPollTimeout,e[10]=r.restartPolling,e[11]=o,e[12]=b):b=e[12];let x;return e[13]!==y||e[14]!==b?(x=(0,Q.jsx)(`div`,{className:y,children:b}),e[13]=y,e[14]=b,e[15]=x):x=e[15],x}function $Z(e){return setTimeout(e,XZ)}function eQ(e){return setTimeout(e,2e3)}function tQ(e){return e.language}async function nQ(){return E(T(`/api/tunnel/pair/context`))}async function rQ(){return E(T(`/api/tunnel/pair/enable-lan`),{method:`POST`,body:JSON.stringify({})})}async function iQ(){return E(T(`/api/tunnel/status`))}async function aQ(){await E(T(`/api/tunnel/consent`),{method:`POST`,body:JSON.stringify({})})}async function oQ(){return E(T(`/api/tunnel/start`),{method:`POST`,body:JSON.stringify({})})}async function sQ(e){return E(T(`/api/tunnel/stop`),{method:`POST`,body:JSON.stringify({release:e?.release===!0})})}async function cQ(){return E(T(`/api/tunnel/qr`))}async function lQ(){return E(T(`/api/tunnel/pair`),{method:`POST`,body:JSON.stringify({})})}async function uQ(){let e=(await E(T(`/api/tunnel/reveal-registration-secret`),{method:`POST`,body:JSON.stringify({})})).payload;if(!e)throw Error(`Missing reveal payload`);return{registrationSecret:e.registrationSecret??null,source:e.source===`config`?`config`:`none`}}async function dQ(e){await E(T(`/api/config`),{method:`PATCH`,body:JSON.stringify({tunnel:e})})}async function fQ(){if(dI()&&window.electronAPI?.gateway?.restart){let e=await window.electronAPI.gateway.restart();return e.ok&&e.token&&w.getState().setGatewayToken(e.token),e}let e=await E(T(`/api/gateway/restart`),{method:`POST`,body:JSON.stringify({})});return e.ok===!1?{ok:!1,message:e.message??e.error??`Gateway restart failed`}:{ok:!0}}async function pQ(e,t={}){let n=t.timeoutMs??9e4,r=t.intervalMs??500,i=Date.now()+n,a=async()=>{if(Date.now()>=i)return!1;try{if((await fetch(T(`/api/tunnel/pair/context`),{headers:{Authorization:`Bearer ${e}`}})).ok)return!0}catch{}return await new Promise(e=>setTimeout(e,r)),a()};return a()}async function mQ(e={}){let t=e.timeoutMs??9e4,n=e.intervalMs??500,r=Date.now()+t,i=async()=>{if(Date.now()>=r)return null;try{let e=await nQ();if(e.pairingReady)return e}catch{}return await new Promise(e=>setTimeout(e,n)),i()};return i()}function hQ({reminder:e,compact:t}){let n=v(e=>e.language),r=m(n).updatePanel,{show:i,dismiss:a,electronQuitAndInstall:o,runNpmUpdate:s,npmUpdateRunning:c}=e,[l,d]=(0,Y.useState)(!1),f=(0,Y.useCallback)(async()=>{let e=m(n).updatePanel;d(!0);try{let t=await fQ();if(t.ok){window.dispatchEvent(new Event(`gateway-restart-initiated`));return}j({type:`error`,title:e.updateErrorFailed,message:t.message??`Gateway restart failed`})}catch(t){j({type:`error`,title:e.updateErrorFailed,message:t instanceof Error?t.message:String(t)})}finally{d(!1)}},[n]),p=(0,Y.useCallback)(async()=>{let e=m(n).updatePanel,t=await s();if(t.ok){j({type:`success`,title:e.updateSuccess,message:e.updateSuccessDetail});return}j({type:`error`,title:t.error===`git-checkout`?e.updateErrorGit:t.error===`busy`?e.updateErrorBusy:e.updateErrorFailed,message:t.message})},[s,n]);if(i.kind===`none`)return null;let h=`absolute right-2 top-1/2 z-[1] flex -translate-y-1/2 items-center gap-1 sm:right-3`;return i.kind===`electron-ready`?(0,Q.jsxs)(`div`,{className:u(`relative flex min-h-10 w-full min-w-0 items-center justify-center border-b border-accent/20 bg-accent/10 px-10 py-2 text-sm sm:px-12`,t&&`text-xs`),children:[(0,Q.jsxs)(`div`,{className:`flex max-w-[min(100%,48rem)] items-center justify-center gap-2 text-center`,children:[(0,Q.jsx)(yh,{className:`size-4 shrink-0 text-accent`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0`,children:r.reminderElectronReady.replace(`{{version}}`,i.version)})]}),(0,Q.jsxs)(`div`,{className:h,children:[(0,Q.jsxs)(`button`,{type:`button`,onClick:o,className:`rounded bg-accent px-2.5 py-1 text-xs font-medium text-white hover:bg-accent/90`,children:[(0,Q.jsx)(fT,{className:`mr-1 inline size-3`}),r.restartToUpdate]}),(0,Q.jsx)(`button`,{type:`button`,onClick:a,className:`rounded p-1 text-fg-muted hover:text-fg`,"aria-label":r.dismissAria,title:r.dismissHint,children:(0,Q.jsx)(ZN,{className:`size-4`})})]})]}):i.kind===`electron-error`?(0,Q.jsxs)(`div`,{className:u(`relative flex min-h-10 w-full min-w-0 items-center justify-center border-b border-red-500/20 bg-red-500/10 px-10 py-2 text-sm text-fg sm:px-12`,t&&`text-xs`),children:[(0,Q.jsxs)(`div`,{className:`flex max-w-[min(100%,52rem)] items-center justify-center gap-2 text-center`,children:[(0,Q.jsx)(Ud,{className:`size-4 shrink-0 text-red-500 dark:text-red-400`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 break-words`,children:r.reminderElectronUpdateError.replace(`{{detail}}`,i.message)})]}),(0,Q.jsx)(`button`,{type:`button`,onClick:a,className:h,"aria-label":r.dismissAria,title:r.dismissHint,children:(0,Q.jsx)(ZN,{className:`size-4`})})]}):i.kind===`electron-downloading`?(0,Q.jsxs)(`div`,{className:u(`relative flex min-h-10 w-full min-w-0 flex-col items-center justify-center gap-2 border-b border-edge bg-surface-secondary px-10 py-2 text-sm text-fg-muted sm:flex-row sm:gap-4 sm:px-12`,t&&`text-xs`),children:[(0,Q.jsxs)(`div`,{className:`flex max-w-full items-center justify-center gap-2 text-center`,children:[(0,Q.jsx)(yh,{className:`size-4 shrink-0 animate-pulse`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:r.reminderDownloading.replace(`{{percent}}`,String(i.percent))})]}),(0,Q.jsx)(`div`,{className:`h-1.5 w-full max-w-xs rounded-full bg-surface-tertiary sm:max-w-[12rem]`,children:(0,Q.jsx)(`div`,{className:`h-full rounded-full bg-accent transition-all`,style:{width:`${i.percent}%`}})}),(0,Q.jsx)(`button`,{type:`button`,onClick:a,className:u(h,`sm:right-2`),"aria-label":r.dismissAria,children:(0,Q.jsx)(ZN,{className:`size-4`})})]}):i.kind===`npm-restart-required`?(0,Q.jsxs)(`div`,{className:u(`relative flex min-h-10 w-full min-w-0 items-center justify-center border-b border-amber-500/25 bg-amber-500/10 py-2 text-sm`,t&&`text-xs`),children:[(0,Q.jsxs)(`div`,{className:`mx-auto flex max-w-[min(100%,52rem)] flex-wrap items-center justify-center gap-x-2 gap-y-1 px-10 pr-14 text-center sm:px-12 sm:pr-16`,children:[(0,Q.jsx)(`span`,{children:r.restartRequired.replace(`{{version}}`,i.version)}),(0,Q.jsxs)(`button`,{type:`button`,onClick:f,disabled:l,className:`inline-flex shrink-0 items-center gap-1 rounded bg-accent px-2.5 py-1 text-xs font-medium text-white hover:bg-accent/90 disabled:cursor-not-allowed disabled:opacity-60`,children:[l?(0,Q.jsx)(Ey,{className:`size-3 shrink-0 animate-spin`,"aria-hidden":!0}):(0,Q.jsx)(fT,{className:`size-3 shrink-0`,"aria-hidden":!0}),r.restartGateway]})]}),(0,Q.jsx)(`button`,{type:`button`,onClick:a,className:h,"aria-label":r.dismissAria,title:r.dismissHint,children:(0,Q.jsx)(ZN,{className:`size-4`})})]}):i.kind===`npm`?(0,Q.jsxs)(`div`,{className:u(`relative flex min-h-10 w-full min-w-0 items-center justify-center border-b border-accent/20 bg-accent/10 py-2 text-sm`,t&&`text-xs`),children:[(0,Q.jsxs)(`div`,{className:u(`mx-auto flex max-w-[min(100%,52rem)] flex-wrap items-center justify-center gap-x-2 gap-y-1 px-10 pr-14 text-center sm:px-12 sm:pr-16`),children:[(0,Q.jsxs)(`span`,{children:[r.reminderNpm.replace(`{{version}}`,i.version),i.channel&&i.channel!==`latest`?` (${i.channel})`:``]}),(0,Q.jsxs)(`button`,{type:`button`,onClick:p,disabled:c,className:`inline-flex shrink-0 items-center gap-1 rounded bg-accent px-2.5 py-1 text-xs font-medium text-white hover:bg-accent/90 disabled:cursor-not-allowed disabled:opacity-60`,children:[c?(0,Q.jsx)(Ey,{className:`size-3 shrink-0 animate-spin`,"aria-hidden":!0}):(0,Q.jsx)(fT,{className:`size-3 shrink-0`,"aria-hidden":!0}),c?r.updateRunning:r.updateNow]})]}),(0,Q.jsx)(`button`,{type:`button`,onClick:a,className:h,"aria-label":r.dismissAria,title:r.dismissHint,children:(0,Q.jsx)(ZN,{className:`size-4`})})]}):null}function gQ(e,t,n){let r=m(e),i=r.commandPalette.actions,a=r.commandPalette.groups.actions;return[{kind:`action`,id:`action:cron:create`,title:i.createCron,subtitle:i.createCronSubtitle,groupLabel:a,keywords:[`cron`,`schedule`,`job`,`timer`],run:()=>{n(),t(`/cron?action=create`)}},{kind:`action`,id:`action:cron:manage`,title:i.manageCron,subtitle:i.manageCronSubtitle,groupLabel:a,keywords:[`cron`,`schedule`,`tasks`],run:()=>{n(),t(`/cron`)}},{kind:`action`,id:`action:skills:manage`,title:i.manageSkills,subtitle:i.manageSkillsSubtitle,groupLabel:a,keywords:[`skills`,`skill`,`catalog`],run:()=>{n(),t(`/skills`)}},{kind:`action`,id:`action:skills:reload`,title:i.reloadSkills,subtitle:i.reloadSkillsSubtitle,groupLabel:a,keywords:[`skills`,`reload`,`refresh`],run:()=>{n(),c(async()=>{let{reloadSkills:e}=await import(`./skill-reload-api-DAlNaNzL.js`).then(e=>e.n);return{reloadSkills:e}},__vite__mapDeps([33,1,9,3,2,4])).then(({reloadSkills:e})=>e())}}]}function _Q(e){return m(e).commandPalette.groups}function vQ(e){let t=_Q(e);return{[t.navigate]:0,[t.quickSettings]:1,[t.extensions]:2,[t.sessions]:3,[t.files]:4,[t.commands]:5,[t.skills]:6,[t.actions]:7}}function yQ(e){let t=_Q(e);return{[t.navigate]:12,[t.quickSettings]:12,[t.actions]:8,[t.extensions]:8,[t.sessions]:8,[t.files]:10,[t.commands]:6,[t.skills]:6}}function bQ(e,t){return vQ(e)[t]??10}function xQ(e){return e.trim().toLowerCase()}function SQ(e,t){let n=xQ(e),r=xQ(t);if(!r)return 0;if(!n)return null;if(n===r)return 0;if(n.startsWith(r))return 1;let i=n.indexOf(r);return i>=0?2+Math.min(i,50)/100:null}function CQ(e,t){let n=t.trim();if(!n)return 0;let r=[{text:e.title,weight:1},{text:e.subtitle??``,weight:1.75}];for(let t of e.keywords??[])r.push({text:t,weight:1.25});let i=null;for(let e of r){let t=SQ(e.text,n);if(t===null)continue;let r=t*e.weight;i=i===null?r:Math.min(i,r)}if(i===null)return null;let a=e.kind===`route`?-.15:e.kind===`file`?-.1:e.kind===`session`?-.05:e.kind===`setting`||e.kind===`action`?-.02:0;return Math.max(0,i+a)}function wQ(e){return e.toSorted((e,t)=>e.rank===t.rank?e.groupLabel===t.groupLabel?e.title.localeCompare(t.title):e.groupLabel.localeCompare(t.groupLabel):e.rank-t.rank)}var TQ=new Set([`settingsTunnel`,`settingsShares`,`settingsHeartbeat`,`settingsGoals`,`settingsDreams`,`logs`]),EQ=[`/settings/remote-access`,`/settings/tunnel`,`/settings/shares`,`/settings/heartbeat`,`/settings/goals`,`/settings/dreams`,`/settings/logs`,`/settings/apps`,`/settings/extensions/debug`,`/settings/ext/`];function DQ(e,t){return t===`advanced`?!0:!TQ.has(e)}function OQ(e,t){return t===`advanced`?!0:!EQ.some(t=>e===t||e.startsWith(t))}var kQ=`/channels`;function AQ(e){return`${kQ}/${encodeURIComponent(e.trim().toLowerCase())}`}function jQ(e){return e?.trim().toLowerCase()||null}var MQ=_(y(e=>({mode:`simple`,setMode:t=>e({mode:t}),setShowAdvanced:t=>e({mode:t?`advanced`:`simple`})}),{name:`xopc-web-settings-mode`}));function NQ(){return MQ(PQ)}function PQ(e){return e.mode===`advanced`}var FQ=[`settingsAgentChat`,`settingsAgentGeneration`,`settingsAgentWorkspace`,`settingsAgentBrowser`,`settingsConnectors`,`settingsAgentRuntime`,`settingsAgentContext`,`settingsAgentMemory`,`settingsAgentTools`,`settingsAgentSkills`,`settingsAgentSystemPrompt`],IQ={settingsAgentChat:[`model`,`fallback`,`role`,`strategy`],settingsAgentGeneration:[`temperature`,`sampling`,`thinking`,`reasoning`],settingsAgentWorkspace:[`workspace`,`directory`,`folder`,`attachments`],settingsAgentBrowser:[`browser`,`playwright`,`automation`],settingsConnectors:[`connector`,`mcp`,`integration`,`tools`],settingsAgentRuntime:[`limits`,`turn`,`timeout`,`tool`,`iterations`],settingsAgentContext:[`context`,`compaction`,`pruning`,`tokens`],settingsAgentMemory:[`memory`,`review`,`session`,`search`],settingsAgentTools:[`tools`,`web`,`extract`,`code`],settingsAgentSkills:[`skills`,`allowlist`,`marketplace`],settingsAgentSystemPrompt:[`system`,`prompt`,`instructions`]};function LQ(e,t){let n=m(e).commandPalette.routes.agentDefaultsSubtitle;return FQ.filter(e=>DQ(e,t)).map(t=>({id:`route:settings:agent:${t}`,title:p(e,t),subtitle:n,path:OF(t),keywords:[`agent`,`defaults`,`config`,...IQ[t]??[]]}))}function RQ(e,t){return e.filter(e=>OQ(e.path.split(`?`)[0]??e.path,t))}function zQ(e){let t=m(e),n=t.commandPalette.routes,r=t.channelsSettings,i=MQ.getState().mode;return RQ([{id:`route:chat`,title:t.nav.chat,subtitle:n.chatSubtitle,path:`/chat`,keywords:[`chat`,`new`,`compose`,`assistant`]},{id:`route:agents`,title:t.nav.agents,subtitle:n.agentsSubtitle,path:`/agents`,keywords:[`agent`,`persona`,`switch`]},{id:`route:apps`,title:t.nav.apps,subtitle:n.appsSubtitle,path:`/apps`,keywords:[`extension`,`plugin`,`addon`]},{id:`route:sessions`,title:t.nav.sessions,subtitle:n.sessionsSubtitle,path:`/settings/sessions`,keywords:[`history`,`archive`,`pin`]},{id:`route:logs`,title:t.nav.logs,subtitle:n.logsSubtitle,path:`/settings/logs`,keywords:[`debug`,`errors`]},{id:`route:skills`,title:t.nav.skills,subtitle:n.skillsSubtitle,path:`/skills`,keywords:[`tools`,`catalog`]},{id:`route:channels`,title:t.nav.channels,subtitle:n.channelsSubtitle,path:`/channels`,keywords:[`telegram`,`weixin`,`feishu`,`channel`]},{id:`route:channels:telegram`,title:`Telegram`,subtitle:n.channelsSubtitle,path:AQ(`telegram`),keywords:[`telegram`,`bot`,`channel`,`pairing`]},{id:`route:channels:weixin`,title:`Weixin`,subtitle:n.channelsSubtitle,path:AQ(`weixin`),keywords:[`weixin`,`wechat`,`channel`,`qr`]},{id:`route:channels:feishu`,title:`Feishu/Lark`,subtitle:n.channelsSubtitle,path:AQ(`feishu`),keywords:[`feishu`,`lark`,`channel`]},{id:`route:channels:telegram:pairing`,title:`Telegram — ${r.hubPairingButton}`,subtitle:n.channelsSubtitle,path:AQ(`telegram`),keywords:[`telegram`,`pairing`,`approve`,`dm`]},{id:`route:cron`,title:t.nav.cron,subtitle:n.cronSubtitle,path:`/cron`,keywords:[`schedule`,`jobs`,`tasks`,`history`,`scheduler`,`timezone`,`concurrency`,`cron`,`automation`]},{id:`route:settings:goals`,title:t.nav.settingsGoals,subtitle:n.goalsSettingsSubtitle,path:`/settings/goals`,keywords:[`goal`,`checklist`,`judge`,`/goal`,`automation`]},{id:`route:settings:dreams`,title:t.nav.settingsDreams,subtitle:n.dreamsSettingsSubtitle,path:`/settings/dreams`,keywords:[`dream`,`memory`,`consolidation`,`automation`]},{id:`route:settings`,title:t.nav.settings,subtitle:n.settingsSubtitle,path:`/settings/overview`,keywords:[`config`,`status`,`providers`,`models`,`agents`,`search`,`preferences`]},{id:`route:settings:credentials`,title:t.nav.settingsCredentials,subtitle:n.credentialsSubtitle,path:`/settings/credentials`,keywords:[`api`,`key`,`credentials`,`oauth`,`token`,`models`,`providers`]},{id:`route:settings:providers`,title:t.nav.settingsProviders,subtitle:n.providersSubtitle,path:`/settings/credentials?tab=providers`,keywords:[`api`,`key`,`openai`,`anthropic`,`google`]},{id:`route:settings:models`,title:t.nav.settingsModels,subtitle:n.modelsSubtitle,path:`/settings/credentials?tab=catalog`,keywords:[`gpt`,`claude`,`gemini`,`llm`]},{id:`route:settings:image-models`,title:t.nav.settingsImageModels,subtitle:n.imageModelsSubtitle,path:`/settings/credentials?tab=image-models`,keywords:[`image`,`vision`,`generate`,`picture`]},{id:`route:settings:voice`,title:t.nav.settingsVoice,subtitle:n.voiceSubtitle,path:`/settings/credentials?tab=voice`,keywords:[`tts`,`stt`,`speech`,`microphone`]},{id:`route:settings:search`,title:t.nav.settingsSearch,subtitle:n.searchSubtitle,path:`/settings/credentials?tab=search`,keywords:[`search`,`web`,`tavily`,`serper`,`brave`]},{id:`route:settings:gateway`,title:t.nav.settingsGateway,subtitle:n.gatewaySubtitle,path:`/settings/gateway`,keywords:[`server`,`port`,`auth`,`token`]},...LQ(e,i)],i)}function BQ(e){b.getState().setPreference(e)}function VQ(e){v.getState().setLanguage(e)}function HQ(e,t){let n=m(e),r=n.commandPalette.quickSettings,i=n.commandPalette.groups.quickSettings;return[{kind:`setting`,id:`setting:model`,title:r.switchModel,subtitle:r.switchModelSubtitle,groupLabel:i,keywords:[`model`,`gpt`,`claude`,`gemini`,`llm`],run:()=>t.openModelPalette()},{kind:`setting`,id:`setting:agent`,title:r.switchAgent,subtitle:r.switchAgentSubtitle,groupLabel:i,keywords:[`agent`,`persona`,`bot`],run:()=>t.openAgentPalette()},{kind:`setting`,id:`setting:theme:light`,title:r.themeLight,subtitle:r.appearanceSubtitle,groupLabel:i,keywords:[`theme`,`light`,`appearance`],run:()=>{BQ(`light`),t.closePalette()}},{kind:`setting`,id:`setting:theme:dark`,title:r.themeDark,subtitle:r.appearanceSubtitle,groupLabel:i,keywords:[`theme`,`dark`,`night`],run:()=>{BQ(`dark`),t.closePalette()}},{kind:`setting`,id:`setting:theme:system`,title:r.themeSystem,subtitle:r.appearanceSubtitle,groupLabel:i,keywords:[`theme`,`system`,`auto`],run:()=>{BQ(`system`),t.closePalette()}},{kind:`setting`,id:`setting:lang:en`,title:r.languageEn,subtitle:r.languageSubtitle,groupLabel:i,keywords:[`english`,`language`,`locale`],run:()=>{VQ(`en`),t.closePalette()}},{kind:`setting`,id:`setting:lang:zh`,title:r.languageZh,subtitle:r.languageSubtitle,groupLabel:i,keywords:[`chinese`,`中文`,`language`],run:()=>{VQ(`zh`),t.closePalette()}}]}function UQ(e){let t=e===`zh`;return[{id:`field:gateway:port`,title:t?`网关端口`:`Gateway Port`,subtitle:t?`设置 HTTP 网关监听端口`:`HTTP gateway listen port`,path:`/settings/gateway`,keywords:[`port`,`listen`,`http`,`server`,`端口`]},{id:`field:gateway:host`,title:t?`网关绑定地址`:`Gateway Host`,subtitle:t?`设置绑定的网络接口`:`Network interface to bind`,path:`/settings/gateway`,keywords:[`host`,`bind`,`interface`,`localhost`,`地址`]},{id:`field:gateway:auth`,title:t?`网关认证令牌`:`Gateway Auth Token`,subtitle:t?`访问网关所需的 Bearer token`:`Bearer token for gateway access`,path:`/settings/gateway`,keywords:[`auth`,`token`,`bearer`,`password`,`security`,`认证`,`令牌`]},{id:`field:agent:model`,title:t?`默认模型`:`Default Model`,subtitle:t?`对话使用的 LLM 模型`:`LLM model for conversations`,path:`/settings/agent-defaults`,keywords:[`model`,`llm`,`gpt`,`claude`,`gemini`,`模型`]},{id:`field:agent:temperature`,title:t?`温度 (Temperature)`:`Temperature`,subtitle:t?`控制回复的随机性`:`Controls response randomness`,path:`/settings/agent-defaults?tab=generation`,keywords:[`temperature`,`sampling`,`randomness`,`creative`,`温度`,`随机`]},{id:`field:agent:maxTokens`,title:t?`最大输出 Tokens`:`Max Output Tokens`,subtitle:t?`单次回复的最大 token 数`:`Maximum tokens per response`,path:`/settings/agent-defaults?tab=generation`,keywords:[`max`,`tokens`,`output`,`length`,`limit`,`最大`]},{id:`field:agent:workspace`,title:t?`工作目录`:`Workspace Directory`,subtitle:t?`代理的默认工作目录`:`Default working directory for the agent`,path:`/settings/agent-defaults?tab=workspace`,keywords:[`workspace`,`directory`,`folder`,`path`,`cwd`,`工作目录`]},{id:`field:agent:browser`,title:t?`浏览器自动化`:`Browser automation`,subtitle:t?`启用 browser_use 工具`:`Enable browser_use tools`,path:`/settings/agent-browser`,keywords:[`browser`,`browser_use`,`automation`,`浏览器`]},{id:`field:agent:browser-extension`,title:t?`Chrome 扩展连接`:`Chrome extension bridge`,subtitle:t?`安装扩展并启动 WebSocket 桥接`:`Install extension and start the bridge`,path:`/settings/agent-browser?tab=extension`,keywords:[`extension`,`chrome`,`bridge`,`websocket`,`扩展`,`桥接`]},{id:`field:agent:browser-playwright`,title:t?`安装 Playwright Chromium`:`Install Playwright Chromium`,subtitle:t?`本地 Playwright 后端就绪检查`:`Local Playwright backend setup`,path:`/settings/agent-browser?tab=local`,keywords:[`playwright`,`chromium`,`install`,`local`,`安装`]},{id:`field:agent:browser-cloak`,title:t?`CloakBrowser 配置`:`CloakBrowser settings`,subtitle:t?`反指纹浏览器下载与高级选项`:`Stealth browser download and fingerprint options`,path:`/settings/agent-browser?tab=cloakbrowser`,keywords:[`cloak`,`cloakbrowser`,`fingerprint`,`stealth`,`反指纹`]},{id:`field:agent:browser-headless`,title:t?`浏览器无头模式`:`Browser headless mode`,subtitle:t?`隐藏浏览器窗口`:`Run without a visible window`,path:`/settings/agent-browser?focus=runtime`,keywords:[`headless`,`window`,`visible`,`无头`]},{id:`field:agent:browser-private-urls`,title:t?`允许内网 URL`:`Allow private URLs`,subtitle:t?`浏览器导航安全限制`:`Browser navigation security policy`,path:`/settings/agent-browser?focus=security`,keywords:[`private`,`internal`,`localhost`,`security`,`内网`,`安全`]},{id:`field:agent:turnLimit`,title:t?`轮次限制`:`Turn Limit`,subtitle:t?`单次会话最大对话轮次`:`Maximum turns per session run`,path:`/settings/agent-defaults?tab=runtime`,keywords:[`turn`,`limit`,`iterations`,`max`,`轮次`,`限制`]},{id:`field:agent:timeout`,title:t?`超时时间`:`Timeout`,subtitle:t?`单次工具调用的超时`:`Tool execution timeout`,path:`/settings/agent-defaults?tab=runtime`,keywords:[`timeout`,`duration`,`seconds`,`超时`]},{id:`field:agent:compaction`,title:t?`上下文压缩`:`Context Compaction`,subtitle:t?`长对话自动压缩策略`:`Auto-compact strategy for long conversations`,path:`/settings/agent-defaults?tab=context`,keywords:[`compaction`,`context`,`pruning`,`tokens`,`window`,`压缩`,`上下文`]},{id:`field:agent:memory`,title:t?`记忆设置`:`Memory Settings`,subtitle:t?`会话记忆与回顾配置`:`Session memory and review configuration`,path:`/settings/agent-defaults?tab=memory`,keywords:[`memory`,`review`,`session`,`recall`,`记忆`]},{id:`field:agent:systemPrompt`,title:t?`系统提示词`:`System Prompt`,subtitle:t?`自定义系统指令`:`Custom system instructions`,path:`/settings/agent-defaults?tab=system-prompt`,keywords:[`system`,`prompt`,`instructions`,`persona`,`系统提示词`,`指令`]},{id:`field:voice:sttProvider`,title:t?`STT 语音识别提供商`:`STT Provider`,subtitle:t?`语音转文字服务商`:`Speech-to-text service provider`,path:`/settings/credentials?tab=voice`,keywords:[`stt`,`speech`,`recognition`,`whisper`,`deepgram`,`语音识别`]},{id:`field:voice:ttsProvider`,title:t?`TTS 语音合成提供商`:`TTS Provider`,subtitle:t?`文字转语音服务商`:`Text-to-speech service provider`,path:`/settings/credentials?tab=voice`,keywords:[`tts`,`speech`,`synthesis`,`voice`,`elevenlabs`,`语音合成`]},{id:`field:search:engine`,title:t?`搜索引擎`:`Web Search Engine`,subtitle:t?`联网搜索使用的引擎`:`Engine for web search tool`,path:`/settings/credentials?tab=search`,keywords:[`search`,`engine`,`tavily`,`serper`,`brave`,`bing`,`搜索引擎`]},{id:`field:cron:enabled`,title:t?`定时任务开关`:`Cron Enabled`,subtitle:t?`启用/禁用定时调度器`:`Enable or disable the scheduler`,path:`/cron?tab=settings`,keywords:[`cron`,`enabled`,`scheduler`,`timer`,`定时`,`调度`]},{id:`field:cron:timezone`,title:t?`定时任务时区`:`Cron Timezone`,subtitle:t?`调度器使用的时区`:`Timezone for the scheduler`,path:`/cron?tab=settings`,keywords:[`timezone`,`tz`,`utc`,`cron`,`时区`]},{id:`field:channels:telegram`,title:`Telegram Bot Token`,subtitle:t?`配置 Telegram 频道连接`:`Configure Telegram channel connection`,path:`/settings/channels`,keywords:[`telegram`,`bot`,`token`,`channel`,`频道`]},{id:`field:channels:dmPolicy`,title:t?`私聊接入策略`:`DM Access Policy`,subtitle:t?`Telegram 私聊白名单/配对策略`:`Telegram DM allowlist/pairing policy`,path:`/settings/channels`,keywords:[`dm`,`policy`,`pairing`,`allowlist`,`access`,`私聊`,`策略`]},{id:`field:mcp:servers`,title:t?`MCP 服务器配置`:`MCP Servers`,subtitle:t?`外部 MCP 工具服务器列表`:`External MCP tool server registry`,path:`/settings/connectors`,keywords:[`mcp`,`server`,`tools`,`external`,`stdio`,`服务器`,`connector`]},{id:`field:heartbeat:interval`,title:t?`心跳间隔`:`Heartbeat Interval`,subtitle:t?`网关存活检测频率`:`Gateway keep-alive check frequency`,path:`/settings/heartbeat`,keywords:[`heartbeat`,`interval`,`keepalive`,`alive`,`心跳`]},{id:`field:tunnel:enabled`,title:t?`公网隧道`:`Public Tunnel`,subtitle:t?`FRP 远程访问隧道开关`:`FRP remote access tunnel toggle`,path:`/settings/remote-access`,keywords:[`tunnel`,`frp`,`remote`,`public`,`ngrok`,`隧道`,`远程`]}]}function WQ(e,t,n,r){return UQ(e).map(e=>({kind:`setting`,id:e.id,title:e.title,subtitle:e.subtitle,groupLabel:r,keywords:e.keywords,run:()=>{n(),t(e.path)}}))}async function GQ(e){let t=await e.json().catch(()=>({}));if(typeof t.error==`string`)return t.error;if(t.error&&typeof t.error==`object`&&`message`in t.error){let e=t.error.message;if(typeof e==`string`)return e}return`HTTP ${e.status}`}async function KQ(){let e=await k(T(`/api/skills`),{cache:`no-store`});if(!e.ok)throw Error(await GQ(e));let t=await e.json();if(!t.payload)throw Error(`Invalid response`);return t.payload}var qQ=`[a-zA-Z0-9](?:[a-zA-Z0-9._-]{0,62})`,JQ=RegExp(`\\/skill:(${qQ})`,`g`);function YQ(){return new RegExp(JQ.source,`g`)}var XQ=RegExp(`(\\/skill:${qQ})$`),ZQ=RegExp(`(\\/skill:${qQ})([ \\t\\f\\v]*)$`),QQ=RegExp(`^${qQ}$`);function $Q(e){return QQ.test(e.trim())}var e$=RegExp(`^\\/skill:(${qQ})`),t$=[],n$=new Map;function r$(e){let t=new Set;for(let n of e??[]){n?.name&&t.add(n.name);for(let e of n.aliases??[])typeof e==`string`&&e.length>0&&t.add(e)}t$=Array.from(t).toSorted((e,t)=>t.length-e.length).map(e=>({key:e})),n$.clear()}function i$(e,t){if(t>=e.length)return!0;let n=e[t];return!/[a-zA-Z0-9_-]/.test(n)}function a$(e,t){return!(e[t]!==`/`||t>0&&!/\s/.test(e[t-1]))}function o$(e,t){if(!a$(e,t)||t$.length===0)return null;let n=e.slice(t);if(n.startsWith(`/skill:`))return null;for(let{key:e}of t$){let t=`/${e}`;if(n.startsWith(t)&&i$(n,t.length))return{len:t.length,matchedKey:e}}return null}function s$(e){let t=[],n=0;for(;n<e.length;){if(e[n]!==`/`){n+=1;continue}let r=e.slice(n).match(e$);if(r?.[0]){n+=r[0].length;continue}let i=o$(e,n);i?(t.push({start:n,end:n+i.len}),n+=i.len):n+=1}return t}function c$(e){for(let t=e.length-1;t>=0;--t){if(e[t]!==`/`||e.startsWith(`/skill:`,t))continue;let n=o$(e,t);if(n&&t+n.len===e.length)return!0}return!1}function l$(e){if(!e.startsWith(`/`)||t$.length===0||e.startsWith(`/skill:`))return!1;let t=o$(e,0);return t?e.length===t.len||!/[a-zA-Z0-9_-]/.test(e[t.len]):!1}function u$(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function d$(e){let t=n$.get(e);return t||(t=RegExp(`(${u$(e)})([ \\t\\f\\v]*)$`),n$.set(e,t)),t}function f$(e){for(let{key:t}of t$){let n=`/${t}`;if(!e.endsWith(n))continue;let r=e.length-n.length;if(o$(e,r))return{tokenStart:r}}return null}function p$(e){for(let{key:t}of t$){let n=`/${t}`,r=e.match(d$(n));if(!r)continue;let i=e.length-r[0].length;if(o$(e,i))return{tokenStart:i}}return null}async function m$(e){let t=await e.json().catch(()=>({}));if(typeof t.error==`string`)return t.error;if(t.error&&typeof t.error==`object`&&`message`in t.error){let e=t.error.message;if(typeof e==`string`)return e}return`HTTP ${e.status}`}async function h$(){let e=await k(T(`/api/commands`));if(!e.ok)throw Error(await m$(e));return(await e.json()).payload?.commands??[]}var g$=6e4,_$=null,v$=0,y$=null,b$=null,x$=0,S$=null,C$=0,w$=new Map,T$=new Map,E$=0;async function D$(e=!1){return!e&&_$&&Date.now()<v$?(r$(_$),_$):y$||(y$=h$().then(e=>(_$=e,v$=Date.now()+g$,r$(e),e)).catch(e=>{throw r$([]),e}).finally(()=>{y$=null}),y$)}async function O$(e,t=!1){let n=e?.trim()||`main`,r=Date.now(),i=w$.get(n);if(!t&&i&&r<i.expiry)return i.payload;let a=T$.get(n);if(a)return a;let o=E$,s=k(T(`/api/chat/skills?agentId=${encodeURIComponent(n)}`)).then(async e=>{if(!e.ok)throw Error(await m$(e));let t=await e.json();if(!t.payload||!Array.isArray(t.payload.skills))throw Error(`Invalid /api/chat/skills response`);return o===E$&&w$.set(n,{payload:t.payload,expiry:Date.now()+g$}),t.payload}).finally(()=>{T$.delete(n)});return T$.set(n,s),s}async function k$(e,t){let n=e?.trim()||`main`,r=await O$(n,!0),i=new Set(r.effectiveAllowlist??r.agentAllowlist??[]);i.add(t);let a=await k(T(`/api/agents/${encodeURIComponent(n)}`),{method:`PATCH`,headers:{"Content-Type":`application/json`},body:JSON.stringify({skills:[...i].sort((e,t)=>e.localeCompare(t))})});if(!a.ok)throw Error(await m$(a));A$(n)}function A$(e){if(E$+=1,e){w$.delete(e),T$.delete(e);return}w$.clear(),T$.clear()}function j$(e){A$(e),e||(C$+=1,b$=null,x$=0,S$=null)}async function M$(e=!1){if(!e&&b$&&Date.now()<x$)return b$;if(S$)return S$;let t=C$;return S$=KQ().then(e=>(t===C$&&(b$=e,x$=Date.now()+g$),e)).finally(()=>{S$=null}),S$}var N$=`fill-chat-composer`;function P$(e){window.dispatchEvent(new CustomEvent(N$,{detail:{text:e}}))}function F$(e){return e.acceptsArgs?`/${e.name} `:`/${e.name}`}var I$=3e4,L$=null;function R$(e){return e.trim()}function z$(e){return e.map(e=>({name:e.name,relativePath:e.path,isDirectory:e.isDirectory}))}async function B$(e,t){let n=t.sessionKey?.trim(),r=t.agentId?.trim(),i=t.limit??15,a=e.trim(),o=new URLSearchParams;if(o.set(`q`,a),o.set(`limit`,String(i)),n?o.set(`sessionKey`,n):r&&o.set(`agentId`,r),n&&a.length===0){let e=R$(n),t=Date.now();if(L$&&L$.key===e&&t-L$.at<I$)return L$.items}let s=z$((await E(T(`/api/workspace/editor/files/search?${o.toString()}`))).payload.entries??[]);return n&&a.length===0&&(L$={key:R$(n),at:Date.now(),items:s}),s}async function V$(e,t){return SW(e,{sessionKey:t.sessionKey,agentId:t.agentId})}function H$(e){let t=typeof e.profileDir==`string`?e.profileDir.trim():``,n=e.typedModels?.defaults??[],r=e.typedModels?.entry,i=e.typedModels?.effective??n;return{...e,profileDir:t,...typeof e.avatar==`string`&&e.avatar.trim()?{avatar:e.avatar.trim()}:{},skills:e.skills??{defaults:[]},tools:e.tools??{defaultsDisable:[],entryDisable:[],effectiveDisable:[]},typedModels:{defaults:n,...r===void 0?{}:{entry:r},effective:i}}}async function U$(){let e=(await E(T(`/api/agents`))).payload;if(!e?.defaultId||!Array.isArray(e.agents))throw Error(`Invalid /api/agents response`);let t=Array.isArray(e.builtinToolIds)?e.builtinToolIds:[];return{defaultId:e.defaultId,agents:e.agents.map(H$),builtinToolIds:t}}async function W$(e){let t=await E(T(`/api/agents`),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(e)}),n=typeof t.payload?.agentId==`string`?t.payload.agentId.trim():``,r=t.payload?.agents;if(!n||!r?.defaultId||!Array.isArray(r.agents))throw Error(`Invalid create agent response`);return{createdAgentId:n,defaultId:r.defaultId,agents:r.agents.map(H$),builtinToolIds:Array.isArray(r.builtinToolIds)?r.builtinToolIds:[]}}async function G$(e,t){let n=(await E(T(`/api/agents/${encodeURIComponent(e)}`),{method:`PATCH`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)})).payload;if(!n?.defaultId||!Array.isArray(n.agents))throw Error(`Invalid update agent response`);return{defaultId:n.defaultId,agents:n.agents.map(H$),builtinToolIds:Array.isArray(n.builtinToolIds)?n.builtinToolIds:[]}}async function K$(e,t){let n=(await E(T(`/api/agents/${encodeURIComponent(e)}${t?`?purge=true`:``}`),{method:`DELETE`})).payload?.agents;if(!n?.defaultId||!Array.isArray(n.agents))throw Error(`Invalid delete agent response`);return{defaultId:n.defaultId,agents:n.agents.map(H$),builtinToolIds:Array.isArray(n.builtinToolIds)?n.builtinToolIds:[]}}function q$(e){if(!e||typeof e!=`object`||!(`bindings`in e))return[];let t=e.bindings;return Array.isArray(t)?t:[]}async function J$(e){await E(T(`/api/config`),{method:`PATCH`,headers:{"Content-Type":`application/json`},body:JSON.stringify({bindings:e})}),OB()}async function Y$(){let e=(await E(T(`/api/skills`))).payload?.catalog;return Array.isArray(e)?e:[]}async function X$(e){let t=(await E(T(`/api/agents/${encodeURIComponent(e)}/files`))).payload,n=typeof t?.profileDir==`string`?t.profileDir.trim():``;if(!t?.files||!n)throw Error(`Invalid files list response`);return{agentId:t.agentId,profileDir:n,files:t.files}}async function Z$(e,t){let n=(await E(T(`/api/agents/${encodeURIComponent(e)}/files/${encodeURIComponent(t)}`))).payload?.content;if(typeof n!=`string`)throw Error(`Invalid file content response`);return n}async function Q$(e,t,n){await E(T(`/api/agents/${encodeURIComponent(e)}/files/${encodeURIComponent(t)}`),{method:`PUT`,headers:{"Content-Type":`application/json`},body:JSON.stringify({content:n})})}function $$(e){let t=e.type.toLowerCase();return t===`image/png`||t===`image/jpeg`||t===`image/jpg`||t===`image/webp`?t===`image/jpg`?`image/jpeg`:t:null}function e1(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{let e=String(r.result??``),n=e.indexOf(`,`);t(n>=0?e.slice(n+1):``)},r.onerror=()=>n(r.error??Error(`read failed`)),r.readAsDataURL(e)})}async function t1(e,t){let n=$$(t);if(!n)throw Error(`unsupported_image_type`);if(t.size===0||t.size>512*1024)throw Error(`avatar_too_large`);let r=await e1(t);if(!r)throw Error(`empty_file`);await E(T(`/api/agents/${encodeURIComponent(e)}/avatar`),{method:`PUT`,headers:{"Content-Type":`application/json`},body:JSON.stringify({base64:r,mimeType:n})})}async function n1(e){await E(T(`/api/agents/${encodeURIComponent(e)}/avatar`),{method:`DELETE`})}var r1=`main`;function i1(e,t){return e.name?.trim()||(e.id.trim().toLowerCase()===r1?t.defaultMainAgentName:e.id)}function a1(e,t){return e.description?.trim()||(e.id.trim().toLowerCase()===r1?t.defaultMainAgentDescription:``)}var o1=500,s1=null,c1;function l1(e){c1=e,s1!==null&&clearTimeout(s1),s1=setTimeout(()=>{s1=null;let e=c1;c1=void 0,window.dispatchEvent(new CustomEvent(`config-reload`,{detail:e}))},o1)}function u1(){let{pathname:e}=wr(),{sessionKey:t}=jr();if(!e.startsWith(`/chat`)||!t)return;let n=decodeURIComponent(t);return n&&n!==`new`?n:void 0}function d1(e){return{agents:{defaults:{models:{chat:{primary:e}}}}}}function f1(e){switch(e.kind){case`extension`:return(0,Q.jsx)(Ow,{className:`size-3.5 shrink-0 text-fg-subtle`,"aria-hidden":!0});case`route`:return(0,Q.jsx)(Z_,{className:`size-3.5 shrink-0 text-fg-subtle`,"aria-hidden":!0});case`session`:return(0,Q.jsx)(Z_,{className:`size-3.5 shrink-0 text-fg-subtle`,"aria-hidden":!0});case`file`:return(0,Q.jsx)(a_,{className:`size-3.5 shrink-0 text-fg-subtle`,"aria-hidden":!0});case`command`:return(0,Q.jsx)(IA,{className:`size-3.5 shrink-0 text-fg-subtle`,"aria-hidden":!0});case`skill`:return(0,Q.jsx)(ZD,{className:`size-3.5 shrink-0 text-accent-fg`,"aria-hidden":!0});case`setting`:return(0,Q.jsx)(zE,{className:`size-3.5 shrink-0 text-fg-subtle`,"aria-hidden":!0});case`action`:return(0,Q.jsx)($N,{className:`size-3.5 shrink-0 text-accent-fg`,"aria-hidden":!0});default:return null}}function p1(e,t,n,r){if(r(),t.startsWith(`/chat`)){P$(e);return}let i=e.match(/^\/skill:(\S+)\s*$/),a=e.match(/^\/(\S+)\s*$/);i?n(`/chat/new?skill=${encodeURIComponent(i[1])}`):a?n(`/chat/new?slash=${encodeURIComponent(a[1])}`):(n(`/chat/new`),requestAnimationFrame(()=>{requestAnimationFrame(()=>{P$(e)})}))}function m1(e){let t=[];for(let n of e.uiExtensions){let r=n.ui?.contributions?.commands;if(Array.isArray(r))for(let i of r)!i||typeof i.id!=`string`||typeof i.title!=`string`||t.push({kind:`extension`,id:`ext:${n.id}:${i.id}`,title:i.title,subtitle:n.name,groupLabel:e.extensionsGroupLabel,keywords:[n.id,n.name,i.id],run:()=>{e.close(),i.opensPanel!==void 0&&i.opensPanel!==``?e.navigate(`/apps/${encodeURIComponent(n.id)}`):window.dispatchEvent(new CustomEvent(`extension-command`,{detail:{extensionId:n.id,commandId:i.id}}))}})}return t}function h1(e,t){switch(t.type){case`setQuery`:return{...e,query:t.value};case`setSelectedIndex`:{let n=typeof t.value==`function`?t.value(e.selectedIndex):t.value;return{...e,selectedIndex:n}}case`setLayer`:return{...e,paletteLayer:t.layer,query:``,selectedIndex:0};case`resetMain`:return{query:``,selectedIndex:0,paletteLayer:`main`}}}var g1={query:``,selectedIndex:0,paletteLayer:`main`};async function _1(){let e=await E(T(`/api/registry`)),t=[];for(let n of e.payload?.providers??[])for(let e of n.models??[])e.available!==!1&&t.push({id:e.ref,title:e.name||e.ref,subtitle:e.ref});return t.sort((e,t)=>e.title.localeCompare(t.title)),t}async function v1(e){let t=await U$(),n=m(e).agentsSettings;return t.agents.map(e=>({id:e.id,title:i1(e,n),subtitle:e.id}))}function y1({onClose:e}){let t=(0,Y.useRef)(null),n=(0,Y.useRef)(null),r=Dr(),{pathname:i}=wr(),a=v(e=>e.language),o=Kz(),s=u1(),c=cZ(e=>e.agentId),l=_Z(e=>e.setPath),[u,d]=(0,Y.useReducer)(h1,g1),[f,p]=(0,Y.useState)(0),{query:h,selectedIndex:g,paletteLayer:_}=u,y=(0,Y.useMemo)(()=>zQ(a),[a]),[b]=zY(h,120);(0,Y.useEffect)(()=>{let e=e=>{let t=e.detail;t&&typeof t==`object`&&`section`in t&&t.section===`skills`&&p(e=>e+1)};return window.addEventListener(`config-reload`,e),()=>window.removeEventListener(`config-reload`,e)},[]);let x=(0,Y.useCallback)(()=>{d({type:`setLayer`,layer:`models`})},[]),S=(0,Y.useCallback)(()=>{d({type:`setLayer`,layer:`agents`})},[]),C=yR(async()=>_===`models`?_1():_===`agents`?v1(a):[],[_,a],{enabled:_===`models`||_===`agents`,initial:[],errorData:[]}),w=yR(async()=>{let t=b.trim(),n=e,u=m(a).commandPalette.groups,d=y.map(e=>({kind:`route`,id:e.id,title:e.title,subtitle:e.subtitle,groupLabel:u.navigate,keywords:[...e.keywords??[],e.path],run:()=>{n(),r(e.path)}})),f=HQ(a,{closePalette:n,openModelPalette:x,openAgentPalette:S}),p=gQ(a,r,n),h=m1({query:t,close:n,navigate:r,uiExtensions:o,extensionsGroupLabel:u.extensions}),[g,_,v,C]=await Promise.all([D$(),M$(),tH({search:t||void 0,limit:8,offset:0}).catch(()=>({items:[]})),(async()=>{let e=s?.trim(),n=c.trim();return!e&&!n?[]:await B$(t,{sessionKey:e||void 0,agentId:e?void 0:n||void 0,limit:10}).catch(()=>[])})()]),w=g.map(e=>({kind:`command`,id:`cmd:${e.id}`,title:`/${e.name}`,subtitle:e.description,groupLabel:u.commands,keywords:[e.id,...e.aliases??[],e.category??``],run:()=>{p1(F$(e),i,r,n)}})),T=_.catalog.flatMap(e=>!e.enabled||e.disableModelInvocation?[]:[{kind:`skill`,id:`skill:${e.name}`,title:`/skill:${e.name}`,subtitle:e.description,groupLabel:u.skills,keywords:[e.source??``,`skill`],run:()=>{p1(`/skill:${e.name} `,i,r,n)}}]),E=(v.items??[]).map(e=>({kind:`session`,id:`session:${e.key}`,title:e.name?.trim()||e.key,subtitle:e.key,groupLabel:u.sessions,keywords:[e.key,...e.tags??[],e.sourceChannel??``],run:()=>{n(),r(`/chat/${encodeURIComponent(e.key)}`)}})),D=C.flatMap(e=>e.isDirectory?[]:[{kind:`file`,id:`file:${e.relativePath}`,title:e.name,subtitle:e.relativePath,groupLabel:u.files,keywords:[e.relativePath],run:()=>{n();let t=e.relativePath.replace(/\\/g,`/`).replace(/^\/+/,``),a=()=>l(t);if(i.startsWith(`/chat`)){a();return}r(`/chat`),window.setTimeout(()=>a(),0)}}]),O=WQ(a,r,n,u.navigate),k=[...d,...f,...p,...h,...O,...E,...D,...w,...T],A=[];for(let e of k){let n=CQ(e,t);n!==null&&A.push({...e,rank:n})}let j=yQ(a),M=wQ(A),N=[],P={};for(let e of M){let t=(P[e.groupLabel]??0)+1;if(!(t>(j[e.groupLabel]??6))&&(P[e.groupLabel]=t,N.push(e),N.length>=36))break}return N.sort((e,t)=>bQ(a,e.groupLabel)-bQ(a,t.groupLabel)||e.rank-t.rank||e.title.localeCompare(t.title)),N},[b,y,o,r,s,c,i,l,a,x,S,e,f],{enabled:_===`main`,initial:[],errorData:[]}),D=w.data,O=w.loading,k=w.error,A=(0,Y.useMemo)(()=>{let e=h.trim().toLowerCase(),t=C.data;return e?t.filter(t=>t.title.toLowerCase().includes(e)||t.id.toLowerCase().includes(e)||(t.subtitle?.toLowerCase().includes(e)??!1)):t},[C.data,h]),j=`${_}|${h}|${String(A.length)}|${String(D.length)}`,M=(0,Y.useRef)(j);if(M.current!==j){M.current=j;let e=_===`main`?Math.max(0,D.length-1):Math.max(0,A.length);g>e&&d({type:`setSelectedIndex`,value:e})}(0,Y.useEffect)(()=>{let e=window.setTimeout(()=>t.current?.focus(),50);return()=>window.clearTimeout(e)},[]);let N=(0,Y.useEffectEvent)(t=>{if(t.key===`Escape`){if(t.preventDefault(),_!==`main`){d({type:`resetMain`});return}e();return}let n=_===`main`?Math.max(0,D.length-1):Math.max(0,A.length);if(t.key===`ArrowDown`){t.preventDefault(),d({type:`setSelectedIndex`,value:e=>Math.min(e+1,n)});return}if(t.key===`ArrowUp`){t.preventDefault(),d({type:`setSelectedIndex`,value:e=>Math.max(0,e-1)});return}if(t.key===`Enter`){if(t.preventDefault(),_===`models`){if(g===0){d({type:`resetMain`});return}let t=A[g-1];if(!t)return;(async()=>{await E(T(`/api/config`),{method:`PATCH`,headers:{"Content-Type":`application/json`},body:JSON.stringify(d1(t.id))}),OB(),l1(),e(),d({type:`resetMain`})})();return}if(_===`agents`){if(g===0){d({type:`resetMain`});return}let t=A[g-1];if(!t)return;window.dispatchEvent(new CustomEvent(`xopc-set-chat-agent`,{detail:{agentId:t.id}})),e(),d({type:`resetMain`});return}let n=D[g];n&&n.run()}});(0,Y.useEffect)(()=>{let e=e=>{N(e)};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)},[]),(0,Y.useLayoutEffect)(()=>{let e=n.current;e&&e.querySelector(`[data-global-palette-index="${String(g)}"]`)?.scrollIntoView({block:`nearest`,inline:`nearest`})},[g,D,_,A.length]);let P=a===`zh`?`返回`:`Back`;if(_===`models`||_===`agents`){let r=A,i=C.loading;return(0,Q.jsx)(`div`,{className:`fixed inset-0 z-[120] flex items-start justify-center bg-black/40 p-4 pt-[min(18vh,7rem)]`,role:`dialog`,"aria-modal":`true`,"aria-label":a===`zh`?`选择模型或智能体`:`Model or agent picker`,onMouseDown:t=>{t.target===t.currentTarget&&e()},children:(0,Q.jsxs)(`div`,{className:`flex w-full max-w-2xl flex-col overflow-hidden rounded-xl border border-edge bg-surface-panel shadow-elevated`,children:[(0,Q.jsx)(`input`,{ref:t,type:`search`,value:h,onChange:e=>d({type:`setQuery`,value:e.target.value}),placeholder:_===`models`?a===`zh`?`搜索模型…`:`Search models…`:a===`zh`?`搜索智能体…`:`Search agents…`,className:`border-b border-edge bg-transparent px-4 py-3 text-sm text-fg outline-none placeholder:text-fg-muted`,autoComplete:`off`,autoCorrect:`off`}),(0,Q.jsxs)(`ul`,{ref:n,className:`max-h-[min(60vh,26rem)] overflow-y-auto p-2 text-sm [scrollbar-gutter:stable]`,role:`listbox`,children:[(0,Q.jsx)(`li`,{children:(0,Q.jsxs)(`button`,{type:`button`,"data-global-palette-index":0,className:[`flex w-full items-start gap-2 rounded-lg px-3 py-2 text-left text-fg-muted`,g===0?`bg-surface-hover`:`hover:bg-surface-muted`].join(` `),onMouseEnter:()=>d({type:`setSelectedIndex`,value:0}),onClick:()=>d({type:`resetMain`}),children:[`← `,P]})}),i?(0,Q.jsx)(`li`,{className:`rounded-lg px-3 py-6 text-center text-fg-muted`,children:a===`zh`?`加载中…`:`Loading…`}):r.length===0?(0,Q.jsx)(`li`,{className:`rounded-lg px-3 py-6 text-center text-fg-muted`,children:a===`zh`?`无结果`:`No results`}):r.map((t,n)=>{let r=n+1;return(0,Q.jsx)(`li`,{children:(0,Q.jsx)(`button`,{type:`button`,"data-global-palette-index":r,className:[`flex w-full items-start gap-2 rounded-lg px-3 py-2 text-left`,g===r?`bg-surface-hover text-fg`:`text-fg hover:bg-surface-muted`].join(` `),onMouseEnter:()=>d({type:`setSelectedIndex`,value:r}),onClick:()=>{_===`models`?(async()=>{await E(T(`/api/config`),{method:`PATCH`,headers:{"Content-Type":`application/json`},body:JSON.stringify(d1(t.id))}),OB(),l1(),e(),d({type:`resetMain`})})():(window.dispatchEvent(new CustomEvent(`xopc-set-chat-agent`,{detail:{agentId:t.id}})),e(),d({type:`resetMain`}))},children:(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`min-w-0 truncate font-medium`,children:t.title}),t.subtitle?(0,Q.jsx)(`div`,{className:`mt-0.5 line-clamp-2 text-xs text-fg-muted`,children:t.subtitle}):null]})})},t.id)})]})]})})}let F=``;return(0,Q.jsx)(`div`,{className:`fixed inset-0 z-[120] flex items-start justify-center bg-black/40 p-4 pt-[min(18vh,7rem)]`,role:`dialog`,"aria-modal":`true`,"aria-label":`Global search`,onMouseDown:t=>{t.target===t.currentTarget&&e()},children:(0,Q.jsxs)(`div`,{className:`flex w-full max-w-2xl flex-col overflow-hidden rounded-xl border border-edge bg-surface-panel shadow-elevated`,children:[(0,Q.jsx)(`input`,{ref:t,type:`search`,value:h,onChange:e=>d({type:`setQuery`,value:e.target.value}),placeholder:a===`zh`?`搜索…(会话 / 文件 / 设置 / 命令)`:`Search… (sessions, files, settings, commands)`,className:`border-b border-edge bg-transparent px-4 py-3 text-sm text-fg outline-none placeholder:text-fg-muted`,autoComplete:`off`,autoCorrect:`off`}),(0,Q.jsx)(`ul`,{ref:n,className:`max-h-[min(60vh,26rem)] overflow-y-auto p-2 text-sm [scrollbar-gutter:stable]`,role:`listbox`,"aria-activedescendant":D[g]?`global-hit-${D[g].id}`:void 0,children:D.length===0?(0,Q.jsx)(`li`,{className:`rounded-lg px-3 py-6 text-center text-fg-muted`,children:O?a===`zh`?`搜索中…`:`Searching…`:k?k instanceof Error?k.message:String(k):a===`zh`?`无结果`:`No results`}):D.map((e,t)=>{let n=e.groupLabel===F?``:e.groupLabel;return F=e.groupLabel,(0,Q.jsxs)(`li`,{children:[n?(0,Q.jsx)(`div`,{className:`px-3 pb-1 pt-2 text-[10px] font-semibold uppercase tracking-wide text-fg-muted`,children:n}):null,(0,Q.jsxs)(`button`,{id:`global-hit-${e.id}`,"data-global-palette-index":t,type:`button`,className:[`flex w-full items-start gap-2 rounded-lg px-3 py-2 text-left`,t===g?`bg-surface-hover text-fg`:`text-fg hover:bg-surface-muted`].join(` `),onMouseEnter:()=>d({type:`setSelectedIndex`,value:t}),onClick:()=>e.run(),children:[(0,Q.jsx)(`span`,{className:`mt-0.5`,children:f1(e)}),(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`min-w-0 truncate font-medium`,children:e.title}),e.subtitle?(0,Q.jsx)(`div`,{className:`mt-0.5 line-clamp-2 text-xs text-fg-muted`,children:e.subtitle}):null]})]})]},e.id)})})]})})}function b1(){let e=(0,Z.c)(7),[t,n]=(0,Y.useState)(!1),r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>{let e=e=>{(e.metaKey||e.ctrlKey)&&e.key===`k`&&(e.preventDefault(),n(S1))};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,Y.useEffect)(r,i);let a,o;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>{let e=()=>n(!0);return window.addEventListener(`open-command-palette`,e),()=>window.removeEventListener(`open-command-palette`,e)},o=[],e[2]=a,e[3]=o):(a=e[2],o=e[3]),(0,Y.useEffect)(a,o);let s,c;if(e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=()=>{let e=()=>n(x1);return window.addEventListener(`toggle-command-palette`,e),()=>window.removeEventListener(`toggle-command-palette`,e)},c=[],e[4]=s,e[5]=c):(s=e[4],c=e[5]),(0,Y.useEffect)(s,c),!t)return null;let l;return e[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(y1,{onClose:()=>n(!1)}),e[6]=l):l=e[6],l}function x1(e){return!e}function S1(e){return!e}var C1=`meta+.`,w1=_(y(e=>({shortcut:C1,setShortcut:t=>e({shortcut:t})}),{name:`xopc-quick-capture-shortcut`})),T1={cmd:`meta`,command:`meta`,ctrl:`control`,ctl:`control`,opt:`alt`,option:`alt`};function E1(e){let t=e.toLowerCase().trim();return T1[t]??t}function D1(e,t){let n=t.split(`+`).map(E1),r=new Set(n.filter(e=>[`meta`,`control`,`alt`,`shift`].includes(e))),i=n.find(e=>!r.has(e));return!i||r.has(`meta`)!==e.metaKey||r.has(`control`)!==e.ctrlKey||r.has(`alt`)!==e.altKey||r.has(`shift`)!==e.shiftKey?!1:e.key.toLowerCase()===i||e.code.toLowerCase()===i}var O1=`xopc-attachment`,k1=/^xopc-attachment:\/\/notes\/([^/]+)\/([^/?#]+)$/i;function A1(e,t){return`${O1}://notes/${encodeURIComponent(e)}/${encodeURIComponent(t)}`}function j1(e,t){let n=e.trim();if(!n)return null;let r=n.split(`?`)[0].match(k1);if(!r)return null;let i=decodeURIComponent(r[1]),a=decodeURIComponent(r[2]);return t&&i!==t?null:{noteId:i,attachmentId:a}}function M1(e,t){return`/api/notes/${encodeURIComponent(e)}/media/${encodeURIComponent(t)}`}function N1(e,t){return A1(e,t)}function P1(e){if(e<60)return`Voice · ${e}s`;let t=Math.floor(e/60),n=e%60;return`Voice · ${t}:${String(n).padStart(2,`0`)}`}async function F1(e){let t=await e.json().catch(()=>({}));return typeof t.error==`string`?t.error:`HTTP ${e.status}`}async function I1(e,t){let n=w.getState().token,r=new Headers;n&&r.set(`Authorization`,`Bearer ${n}`);let i=await fetch(e,{method:`POST`,headers:r,body:t});if(i.status===401&&w.getState().onUnauthorized(),!i.ok)throw Error(await F1(i));return i.json()}var L1=new Map,R1=``;function z1(e,t,n){return`${n}:${e}:${t}`}function B1(){let e=w.getState().token??``;if(e!==R1){for(let e of L1.values())e.objectUrl&&URL.revokeObjectURL(e.objectUrl);L1.clear(),R1=e}}async function V1(e,t){B1();let n=z1(e,t,w.getState().token??``),r=L1.get(n);return r||(r={blob:(async()=>{let n=await k(T(M1(e,t)));if(n.status===401&&w.getState().onUnauthorized(),!n.ok)throw Error(`HTTP ${n.status}`);return n.blob()})(),objectUrl:null,refCount:0},L1.set(n,r)),r.blob}async function H1(e,t){B1();let n=z1(e,t,w.getState().token??``),r=L1.get(n);if(r||(r={blob:V1(e,t),objectUrl:null,refCount:0},L1.set(n,r)),!r.objectUrl){let e=await r.blob;r.objectUrl=URL.createObjectURL(e)}return r.refCount+=1,r.objectUrl}function U1(e,t){B1();let n=z1(e,t,w.getState().token??``),r=L1.get(n);r&&(r.refCount=Math.max(0,r.refCount-1),r.refCount===0&&r.objectUrl&&(URL.revokeObjectURL(r.objectUrl),r.objectUrl=null,L1.delete(n)))}function W1(e){let t=(0,Z.c)(39),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({src:s,expectedNoteId:r,alt:c,className:n,onClick:i,onLoadFailed:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0?``:c,d;t[8]!==r||t[9]!==s?(d=j1(s,r),t[8]=r,t[9]=s,t[10]=d):d=t[10];let f=d,[p,m]=(0,Y.useState)(f?null:s),[h,g]=(0,Y.useState)(!1),_,v;if(t[11]!==a||t[12]!==f||t[13]!==s?(_=()=>{if(g(!1),!f){m(s);return}let e=!1;return m(null),H1(f.noteId,f.attachmentId).then(t=>{e||m(t)}).catch(()=>{e||(g(!0),a?.())}),()=>{e=!0,U1(f.noteId,f.attachmentId)}},v=[s,f,a],t[11]=a,t[12]=f,t[13]=s,t[14]=_,t[15]=v):(_=t[14],v=t[15]),(0,Y.useEffect)(_,v),h){let e;t[16]===n?e=t[17]:(e=u(`flex items-center justify-center bg-surface-hover text-fg-muted`,n),t[16]=n,t[17]=e);let r=!l,i;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(bv,{className:`h-5 w-5`}),t[18]=i):i=t[18];let a;return t[19]!==e||t[20]!==r?(a=(0,Q.jsx)(`div`,{className:e,"aria-hidden":r,children:i}),t[19]=e,t[20]=r,t[21]=a):a=t[21],a}if(!p){let e;t[22]===n?e=t[23]:(e=u(`animate-pulse bg-surface-hover`,n),t[22]=n,t[23]=e);let r=!l,i;return t[24]!==e||t[25]!==r?(i=(0,Q.jsx)(`div`,{className:e,"aria-hidden":r}),t[24]=e,t[25]=r,t[26]=i):i=t[26],i}let y;t[27]!==p||t[28]!==i?(y=i?()=>i(p):void 0,t[27]=p,t[28]=i,t[29]=y):y=t[29];let b;t[30]===a?b=t[31]:(b=()=>{g(!0),a?.()},t[30]=a,t[31]=b);let x;return t[32]!==l||t[33]!==n||t[34]!==p||t[35]!==o||t[36]!==y||t[37]!==b?(x=(0,Q.jsx)(`img`,{...o,src:p,alt:l,className:n,onClick:y,onError:b}),t[32]=l,t[33]=n,t[34]=p,t[35]=o,t[36]=y,t[37]=b,t[38]=x):x=t[38],x}function G1(e){return e.replace(/xopc-attachment:\/\/notes\/([^/]+)\/([^)\s]+)/gi,`/api/notes/$1/media/$2`)}function K1(e,t){let n=[];return e.querySelectorAll(`.markdown-body img`).forEach(e=>{let r=j1(e.getAttribute(`src`)??``,t);if(!r)return;let i=!1;H1(r.noteId,r.attachmentId).then(t=>{i||(e.src=t)}).catch(()=>{e.classList.add(`note-media-load-failed`)}),n.push(()=>{i=!0,U1(r.noteId,r.attachmentId)})}),e.querySelectorAll(`.markdown-body a`).forEach(e=>{let r=j1(e.getAttribute(`href`)??``,t);if(!r)return;let i=document.createElement(`audio`);i.controls=!0,i.className=`note-media-audio mt-2 w-full max-w-md`,e.replaceWith(i);let a=!1;H1(r.noteId,r.attachmentId).then(e=>{a||(i.src=e)}).catch(()=>{i.remove()}),n.push(()=>{a=!0,U1(r.noteId,r.attachmentId)})}),()=>{for(let e of n)e()}}function q1(e){let t=(0,Z.c)(14),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({content:n,noteId:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=(0,Y.useRef)(null),o;t[4]===r?o=t[5]:(o=()=>{let e=a.current;if(e)return K1(e,r)},t[4]=r,t[5]=o);let s;t[6]!==n||t[7]!==r?(s=[n,r],t[6]=n,t[7]=r,t[8]=s):s=t[8],(0,Y.useLayoutEffect)(o,s);let c;t[9]===n?c=t[10]:(c=G1(n),t[9]=n,t[10]=c);let l;return t[11]!==i||t[12]!==c?(l=(0,Q.jsx)(`div`,{ref:a,children:(0,Q.jsx)(aY,{content:c,...i})}),t[11]=i,t[12]=c,t[13]=l):l=t[13],l}async function J1(e={}){let t=new URLSearchParams;e.status&&t.set(`status`,e.status),e.kind&&t.set(`kind`,e.kind),e.tag&&t.set(`tag`,e.tag),e.pinned!==void 0&&t.set(`pinned`,String(e.pinned)),e.search&&t.set(`search`,e.search),e.limit&&t.set(`limit`,String(e.limit)),e.offset&&t.set(`offset`,String(e.offset)),e.sortBy&&t.set(`sortBy`,e.sortBy),e.sortOrder&&t.set(`sortOrder`,e.sortOrder);let n=t.toString();return E(T(`/api/notes${n?`?${n}`:``}`))}async function Y1(e,t=`web`){return(await E(T(`/api/notes/quick-capture`),{method:`POST`,body:JSON.stringify({text:e,channel:t})})).note}async function X1(e){let t=await k(T(`/api/notes/${encodeURIComponent(e)}`));if(t.status===404)return null;let n=await t.json();if(!t.ok)throw Error(n.error||`HTTP ${t.status}`);return n.note??null}async function Z1(e,t){return(await E(T(`/api/notes/${encodeURIComponent(e)}`),{method:`PATCH`,body:JSON.stringify(t)})).note}async function Q1(e){await E(T(`/api/notes/${encodeURIComponent(e)}`),{method:`DELETE`})}async function $1(e){return E(T(`/api/notes/${encodeURIComponent(e)}/catalyze`),{method:`POST`})}async function e0(e,t){return(await E(T(`/api/notes/${encodeURIComponent(e)}/catalysis-feedback`),{method:`POST`,body:JSON.stringify({feedback:t})})).note}async function t0(e,t={}){return E(T(`/api/notes/${encodeURIComponent(e)}/chat`),{method:`POST`,body:JSON.stringify(t.forceNew?{forceNew:!0}:{})})}async function n0(e){return(await E(T(`/api/notes/${encodeURIComponent(e)}/threads`))).items}async function r0(e){return E(T(`/api/notes/${encodeURIComponent(e)}/context-status`))}async function i0(e){return E(T(`/api/notes/${encodeURIComponent(e)}/context-rebuild`),{method:`POST`})}async function a0(e,t,n){return(await E(T(`/api/notes/${encodeURIComponent(e)}/append`),{method:`POST`,body:JSON.stringify({content:t,heading:n})})).note}async function o0(e,t={}){return(await E(T(`/api/notes/task`),{method:`POST`,body:JSON.stringify({title:e,channel:`web`,priority:t.priority,sourceSessionKey:t.sourceSessionKey||void 0,sourceNoteId:t.sourceNoteId||void 0})})).note}async function s0(e,t){let n=new FormData;return n.append(`file`,t),(await I1(T(`/api/notes/${encodeURIComponent(e)}/media`),n)).attachment}async function c0(e,t){let n=new FormData;return n.append(`file`,e),t?.markdown&&n.append(`markdown`,t.markdown),n.append(`channel`,t?.channel??`web`),t?.kind&&n.append(`kind`,t.kind),t?.duration!==void 0&&n.append(`duration`,String(t.duration)),(await I1(T(`/api/notes`),n)).note}async function l0(e,t=`web`){let n=await c0(e,{channel:t}),r=n.attachments?.find(e=>e.type===`image`)??n.attachments?.[0];if(!r)return n;let i=`})`;return n.markdown!==i&&(n=await Z1(n.id,{markdown:i})),n}async function u0(e,t,n=`web`){let r=await c0(e,{channel:n,kind:`voice`,duration:t}),i=r.attachments?.find(e=>e.type===`audio`)??r.attachments?.[0];if(!i)return r;let a=`[${P1(t)}](${N1(r.id,i.id)})`;return r.markdown!==a&&(r=await Z1(r.id,{markdown:a,kind:`voice`})),r}async function d0(e){return(await E(T(`/api/notes/${encodeURIComponent(e)}/history`))).entries}async function f0(e,t){return(await E(T(`/api/notes/${encodeURIComponent(e)}/history/${t}`))).snapshot}async function p0(e,t){return(await E(T(`/api/notes/${encodeURIComponent(e)}/history/restore`),{method:`POST`,body:JSON.stringify({timestamp:t})})).note}function m0(e){let t=(0,Z.c)(50),{onClose:n}=e,r=Dr(),i=v(h0),a;t[0]===i?a=t[1]:(a=m(i),t[0]=i,t[1]=a);let o=a.notes,[s,c]=(0,Y.useState)(``),[l,u]=(0,Y.useState)(!1),d=(0,Y.useRef)(null),f,p;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{let e=window.setTimeout(()=>d.current?.focus(),50);return()=>window.clearTimeout(e)},p=[],t[2]=f,t[3]=p):(f=t[2],p=t[3]),(0,Y.useEffect)(f,p);let h;t[4]!==r||t[5]!==n||t[6]!==l||t[7]!==s?(h=async e=>{let t=s.trim();if(!(!t||l)){u(!0);try{let i=await Y1(t,`web`);n(),e&&r(`/notes/${i.id}`)}catch{u(!1)}}},t[4]=r,t[5]=n,t[6]=l,t[7]=s,t[8]=h):h=t[8];let g=h,_;t[9]!==g||t[10]!==n?(_=e=>{if(e.key===`Escape`){e.preventDefault(),n();return}if(e.key===`Enter`&&!e.shiftKey){e.preventDefault(),g(!0);return}e.key===`Enter`&&e.shiftKey&&(e.preventDefault(),g(!1))},t[9]=g,t[10]=n,t[11]=_):_=t[11];let y=_,b;t[12]===n?b=t[13]:(b=e=>{e.target===e.currentTarget&&n()},t[12]=n,t[13]=b);let x;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Q.jsx)(Wk,{className:`h-4 w-4 text-accent`}),t[14]=x):x=t[14];let S;t[15]===o.quickCapturePlaceholder?S=t[16]:(S=(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 border-b border-edge px-4 py-3`,children:[x,(0,Q.jsx)(`span`,{className:`text-sm font-medium text-fg`,children:o.quickCapturePlaceholder})]}),t[15]=o.quickCapturePlaceholder,t[16]=S);let C;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(C=e=>c(e.target.value),t[17]=C):C=t[17];let w;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(w={fieldSizing:`content`,minHeight:`6rem`,maxHeight:`40vh`},t[18]=w):w=t[18];let T;t[19]!==y||t[20]!==o.quickCapturePlaceholder||t[21]!==l||t[22]!==s?(T=(0,Q.jsx)(`textarea`,{ref:d,value:s,onChange:C,onKeyDown:y,placeholder:o.quickCapturePlaceholder,disabled:l,rows:4,className:`resize-none border-none bg-transparent px-4 py-3 text-sm leading-relaxed text-fg placeholder:text-fg-muted focus:outline-none disabled:opacity-60`,style:w}),t[19]=y,t[20]=o.quickCapturePlaceholder,t[21]=l,t[22]=s,t[23]=T):T=t[23];let E;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,Q.jsx)(`kbd`,{className:`rounded bg-surface-hover px-1 py-0.5 font-mono text-[10px]`,children:`Enter`}),t[24]=E):E=t[24];let D;t[25]===o.quickCaptureHintEnter?D=t[26]:(D=(0,Q.jsxs)(`span`,{children:[E,` `,o.quickCaptureHintEnter]}),t[25]=o.quickCaptureHintEnter,t[26]=D);let O;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Q.jsx)(`kbd`,{className:`rounded bg-surface-hover px-1 py-0.5 font-mono text-[10px]`,children:`Shift+Enter`}),t[27]=O):O=t[27];let k;t[28]===o.quickCaptureHintShift?k=t[29]:(k=(0,Q.jsxs)(`span`,{children:[O,` `,o.quickCaptureHintShift]}),t[28]=o.quickCaptureHintShift,t[29]=k);let A;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,Q.jsx)(`kbd`,{className:`rounded bg-surface-hover px-1 py-0.5 font-mono text-[10px]`,children:`Esc`}),t[30]=A):A=t[30];let j;t[31]===o.quickCaptureHintEsc?j=t[32]:(j=(0,Q.jsxs)(`span`,{children:[A,` `,o.quickCaptureHintEsc]}),t[31]=o.quickCaptureHintEsc,t[32]=j);let M;t[33]!==D||t[34]!==k||t[35]!==j?(M=(0,Q.jsxs)(`div`,{className:`flex flex-wrap gap-3 text-[11px] text-fg-muted`,children:[D,k,j]}),t[33]=D,t[34]=k,t[35]=j,t[36]=M):M=t[36];let N;t[37]===l?N=t[38]:(N=l&&(0,Q.jsx)(`div`,{className:`h-4 w-4 animate-spin rounded-full border-2 border-accent border-t-transparent`}),t[37]=l,t[38]=N);let P;t[39]!==M||t[40]!==N?(P=(0,Q.jsxs)(`div`,{className:`flex items-center justify-between border-t border-edge-subtle px-4 py-2`,children:[M,N]}),t[39]=M,t[40]=N,t[41]=P):P=t[41];let F;t[42]!==T||t[43]!==P||t[44]!==S?(F=(0,Q.jsxs)(`div`,{className:`flex w-full max-w-lg flex-col overflow-hidden rounded-xl border border-edge bg-surface-panel shadow-elevated`,children:[S,T,P]}),t[42]=T,t[43]=P,t[44]=S,t[45]=F):F=t[45];let I;return t[46]!==o.quickCapturePlaceholder||t[47]!==F||t[48]!==b?(I=(0,Q.jsx)(`div`,{className:`fixed inset-0 z-[120] flex items-start justify-center bg-black/40 p-4 pt-[min(18vh,7rem)]`,role:`dialog`,"aria-modal":`true`,"aria-label":o.quickCapturePlaceholder,onMouseDown:b,children:F}),t[46]=o.quickCapturePlaceholder,t[47]=F,t[48]=b,t[49]=I):I=t[49],I}function h0(e){return e.language}function g0(){let e=(0,Z.c)(8),[t,n]=(0,Y.useState)(!1),r=w(y0),i=w1(v0),a,o;e[0]!==i||e[1]!==r?(a=()=>{let e=e=>{D1(e,i)&&(e.preventDefault(),r&&n(_0))};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)},o=[i,r],e[0]=i,e[1]=r,e[2]=a,e[3]=o):(a=e[2],o=e[3]),(0,Y.useEffect)(a,o);let s,c;if(e[4]===r?(s=e[5],c=e[6]):(s=()=>{let e=()=>{r&&n(!0)};return window.addEventListener(`open-quick-capture`,e),()=>window.removeEventListener(`open-quick-capture`,e)},c=[r],e[4]=r,e[5]=s,e[6]=c),(0,Y.useEffect)(s,c),!t)return null;let l;return e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(m0,{onClose:()=>n(!1)}),e[7]=l):l=e[7],l}function _0(e){return!e}function v0(e){return e.shortcut}function y0(e){return e.token}var b0=class{_config;_callbacks;_eventSource;_shouldReconnect=!0;_reconnectCount=0;constructor(e,t){this._config=e,this._callbacks=t}get maxReconnectAttempts(){return this._config.maxReconnectAttempts??10}get autoReconnect(){return this._config.autoReconnect??!0}connect(){if(this._eventSource)return;let e=new URL(T(`/api/events`));this._config.token&&e.searchParams.set(`token`,this._config.token),this._eventSource=new EventSource(e.toString()),this._eventSource.onopen=()=>{this._reconnectCount=0},this._eventSource.addEventListener(`connected`,()=>{this._callbacks.onConnected()});for(let e of[`agent.stream`,`config.reload`,`channels.status`,`message.sent`,`session.updated`,`session.transcript_updated`,`session.created`,`dreaming.phase.start`,`dreaming.phase.end`])this._eventSource.addEventListener(e,t=>{this._callbacks.onEvent(e,t.data)});this._eventSource.onerror=()=>{this._eventSource?.readyState===EventSource.CLOSED?this._handlePermanentDisconnect():this._callbacks.onReconnecting()}}_handlePermanentDisconnect(){this._callbacks.onDisconnected(),!(!this._shouldReconnect||!this.autoReconnect)&&(this._reconnectCount++,this._reconnectCount>this.maxReconnectAttempts&&this._callbacks.onError(`Connection failed after max retries`))}disconnect(){this._shouldReconnect=!1,this._eventSource?.close(),this._eventSource=void 0}reconnect(){this._shouldReconnect=!0,this._reconnectCount=0,this.disconnect(),this._shouldReconnect=!0,setTimeout(()=>this.connect(),100)}};function x0(e,t){if(e!==`goal.queue.updated`||!t||typeof t!=`object`)return;let n=t.item;if(!(!n||typeof n.status!=`string`)){if(n.status===`failed`){j({type:`error`,title:`Goal run failed`,message:n.error||n.goalId,duration:0});return}if(n.status===`retry_waiting`){j({type:`warning`,title:`Goal run retry scheduled`,message:n.error||n.goalId});return}if(n.status===`succeeded`){j({type:`success`,title:`Goal run finished`,message:n.goalId});return}n.status===`skipped`&&j({type:`info`,title:`Goal run skipped`,message:n.error||n.goalId})}}function S0(e,t){let n=t;try{n=JSON.parse(t)}catch{}if(e===`config.reload`){l1(n);return}x0(e,n);let r=e.replace(/[._]/g,`-`);window.dispatchEvent(new CustomEvent(r,{detail:n}));let i=e.replace(/\./g,`-`);if(i!==r&&window.dispatchEvent(new CustomEvent(i,{detail:n})),e===`agent.stream`&&n&&typeof n==`object`&&n){let e=n;typeof e.sessionKey==`string`&&e.sessionKey.length>0&&window.dispatchEvent(new CustomEvent(`agent-stream-event`,{detail:{sessionKey:e.sessionKey,event:e.event===void 0?e:e.event}}))}}var C0=null;function w0(e){C0=e}function T0(){C0?.reconnect()}var E0=_(()=>({connectionState:`idle`,error:null,reconnectAttempt:0}));function D0(e){E0.setState(e)}function O0(e){let t=new b0({token:e,autoReconnect:!0,maxReconnectAttempts:10},{onConnected:()=>{D0({connectionState:`connected`,error:null,reconnectAttempt:0})},onReconnecting:()=>{D0({connectionState:`reconnecting`})},onDisconnected:()=>{D0({connectionState:`disconnected`})},onError:e=>{D0({connectionState:`error`,error:e})},onEvent:(e,t)=>{S0(e,t)}});return w0(t),D0({connectionState:`connecting`,error:null}),t.connect(),()=>{t.disconnect(),w0(null),D0({connectionState:`disconnected`,error:null})}}function k0(){w0(null),D0({connectionState:`disconnected`,error:null,reconnectAttempt:0})}function A0(){let e=(0,Z.c)(3),t=w(j0),n,r;e[0]===t?(n=e[1],r=e[2]):(n=()=>{if(!t){k0();return}return O0(t)},r=[t],e[0]=t,e[1]=n,e[2]=r),(0,Y.useEffect)(n,r)}function j0(e){return e.token}function M0(){let e=(0,Z.c)(1);A0();let t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[0]=t):t=e[0],(0,Y.useEffect)(N0,t),null}function N0(){let e=P0;return window.addEventListener(`config-reload`,e),()=>window.removeEventListener(`config-reload`,e)}function P0(e){let t=ce(e.detail);t===`skills`?j$():t===`agents`&&A$()}var F0=new Set([`light`,`deep`,`rem`]),I0=3e3;function L0(){let e=(0,Z.c)(11),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={status:`idle`},e[0]=t):t=e[0];let[n,r]=(0,Y.useState)(t),i=(0,Y.useRef)(0),a=(0,Y.useRef)(null),o;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=()=>{a.current&&=(clearTimeout(a.current),null)},e[1]=o):o=e[1];let s=o,c;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>{s(),i.current=Date.now(),r({status:`running`,phase:e})},e[2]=c):c=e[2];let l=c,u;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(u=e=>{s(),r({status:`fading-out`,phase:e}),a.current=setTimeout(()=>{r({status:`idle`})},1500)},e[3]=u):u=e[3];let d=u,f;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{s(),r(R0),a.current=setTimeout(()=>{r({status:`idle`})},800)},e[4]=f):f=e[4];let p=f,m,h;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(m=()=>{let e=e=>{let t=e.detail,n=typeof t==`object`&&t&&typeof t.phase==`string`?t.phase:typeof t==`string`?t:null;n&&F0.has(n)&&l(n)},t=e=>{let t=e.detail,n=typeof t==`object`&&t&&typeof t.phase==`string`?t.phase:null;if(!n||!F0.has(n))return;let r=Date.now()-i.current,o=Math.max(0,I0-r);s(),a.current=setTimeout(()=>{d(n)},o)};return window.addEventListener(`dreaming-phase-start`,e),window.addEventListener(`dreaming-phase-end`,t),()=>{window.removeEventListener(`dreaming-phase-start`,e),window.removeEventListener(`dreaming-phase-end`,t),s()}},h=[l,d,s],e[5]=m,e[6]=h):(m=e[5],h=e[6]),(0,Y.useEffect)(m,h);let g,_;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>s,_=[s],e[7]=g,e[8]=_):(g=e[7],_=e[8]),(0,Y.useEffect)(g,_);let v;return e[9]===n?v=e[10]:(v={state:n,triggerPhase:l,dismiss:p},e[9]=n,e[10]=v),v}function R0(e){return e.status===`idle`?e:{status:`fading-out`,phase:e.phase}}var z0={light:`💤 Light Sleep — scanning memories…`,deep:`🌙 Deep Sleep — promoting memories…`,rem:`🌈 REM Sleep — discovering patterns…`};function B0(){return typeof window<`u`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function V0(){let e=(0,Y.useRef)(null),t=(0,Y.useRef)(null),n=(0,Y.useRef)(null),r=(0,Y.useRef)(null),{state:i,dismiss:a}=L0(),o=(0,Y.useCallback)(async()=>{if(t.current)return t.current;if(n.current)return n.current;let i=e.current;return i?(n.current=c(async()=>{let{DreamingScene:e}=await import(`./dreaming-scene-BHMRVEUS.js`);return{DreamingScene:e}},[]).then(({DreamingScene:e})=>{if(!i.isConnected)return null;let n=new e(i);t.current=n;let a=r.current;return a&&n.resize(a.clientWidth,a.clientHeight),n}).finally(()=>{n.current=null}),n.current):null},[]);(0,Y.useEffect)(()=>()=>{t.current?.dispose(),t.current=null},[]),(0,Y.useEffect)(()=>{let e=()=>{let e=r.current;!e||!t.current||t.current.resize(e.clientWidth,e.clientHeight)};return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),(0,Y.useEffect)(()=>{if(i.status===`running`){if(B0())return;let e=!1;return o().then(t=>{e||!t||t.startPhase(i.phase)}),()=>{e=!0}}else i.status===`fading-out`&&t.current?.fadeOut()},[o,i]),(0,Y.useEffect)(()=>{let e=r.current;!e||!t.current||t.current.resize(e.clientWidth,e.clientHeight)},[]);let s=i.status!==`idle`,l=i.status===`idle`?null:i.phase,d=i.status===`fading-out`,f=(0,Y.useCallback)(()=>{a()},[a]);return!s&&!d?(0,Q.jsx)(`div`,{ref:r,className:`pointer-events-none fixed inset-0 z-[90] opacity-0`,"aria-hidden":!0,children:(0,Q.jsx)(`canvas`,{ref:e,className:`size-full`})}):(0,Q.jsxs)(`div`,{ref:r,className:u(`fixed inset-0 z-[90] bg-[#1c1c1e]/70 transition-opacity`,d?`dreaming-overlay-exit pointer-events-none`:`dreaming-overlay-enter`),role:`status`,"aria-live":`polite`,"aria-label":l?z0[l]:void 0,children:[(0,Q.jsx)(`canvas`,{ref:e,className:`pointer-events-none size-full`}),(0,Q.jsxs)(`div`,{className:`pointer-events-auto absolute bottom-6 left-1/2 flex -translate-x-1/2 items-center gap-3`,children:[l?(0,Q.jsxs)(`div`,{className:u(`flex items-center gap-2 rounded-full border px-4 py-2 text-sm font-medium shadow-elevated backdrop-blur-sm`,`dreaming-pill-enter`,l===`light`&&`border-emerald-400/30 bg-emerald-950/60 text-emerald-300`,l===`deep`&&`border-indigo-400/30 bg-indigo-950/60 text-indigo-300`,l===`rem`&&`border-purple-400/30 bg-purple-950/60 text-purple-300`),children:[(0,Q.jsx)(`span`,{className:`dreaming-pulse-dot`}),(0,Q.jsx)(`span`,{children:z0[l]})]}):null,(0,Q.jsx)(`button`,{type:`button`,onClick:f,className:`rounded-full border border-edge-subtle bg-surface-panel/80 px-3 py-1.5 text-xs text-fg-muted shadow-elevated backdrop-blur-sm transition-colors hover:bg-surface-hover hover:text-fg`,"aria-label":`Dismiss dreaming animation`,children:`✕`})]})]})}function H0(e){let t=e;return e.fullscreenElement??t.webkitFullscreenElement??t.msFullscreenElement??null}async function U0(e){let t=e;try{if(typeof e.requestFullscreen==`function`){await e.requestFullscreen();return}}catch{}if(typeof t.webkitRequestFullscreen==`function`){await Promise.resolve(t.webkitRequestFullscreen());return}if(typeof t.msRequestFullscreen==`function`){await Promise.resolve(t.msRequestFullscreen());return}throw Error(`fullscreen_unavailable`)}async function W0(e){let t=e;if(typeof e.exitFullscreen==`function`){await e.exitFullscreen();return}if(typeof t.webkitExitFullscreen==`function`){await Promise.resolve(t.webkitExitFullscreen());return}typeof t.msExitFullscreen==`function`&&await Promise.resolve(t.msExitFullscreen())}function G0(){return typeof window<`u`&&typeof window.electronAPI?.fullscreen?.enter==`function`}function K0(){let e=(0,Z.c)(11),t=(0,Y.useRef)(null),[n,r]=(0,Y.useState)(!1),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=G0(),e[0]=i):i=e[0];let a=i,o;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=()=>{let e=t.current,n=H0(document);r(!!(e&&n===e))},e[1]=o):o=e[1];let s=o,c,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{if(a)return;let e=()=>s();return document.addEventListener(`fullscreenchange`,e),document.addEventListener(`webkitfullscreenchange`,e),()=>{document.removeEventListener(`fullscreenchange`,e),document.removeEventListener(`webkitfullscreenchange`,e)}},l=[s,a],e[2]=c,e[3]=l):(c=e[2],l=e[3]),(0,Y.useEffect)(c,l);let u,d;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>{if(!a)return;let e=window.electronAPI.fullscreen,t=e.onChange(e=>r(e));return e.isFullscreen().then(r),t},d=[a],e[4]=u,e[5]=d):(u=e[4],d=e[5]),(0,Y.useEffect)(u,d);let f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=async()=>{if(a){await window.electronAPI.fullscreen.enter();return}let e=t.current;if(e&&H0(document)!==e)try{await U0(e)}catch{}},e[6]=f):f=e[6];let p=f,m;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(m=async()=>{if(a){await window.electronAPI.fullscreen.exit();return}if(H0(document)===t.current)try{await W0(document)}catch{}},e[7]=m):m=e[7];let h=m,g;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(g=async()=>{if(a){await window.electronAPI.fullscreen.toggle();return}H0(document)===t.current?await h():await p()},e[8]=g):g=e[8];let _=g,v;return e[9]===n?v=e[10]:(v={rootRef:t,active:n,enter:p,exit:h,toggle:_},e[9]=n,e[10]=v),v}var q0=new Intl.DateTimeFormat(`zh-CN`,{dateStyle:`medium`,timeStyle:`short`}),J0=new Intl.DateTimeFormat(`en`,{dateStyle:`medium`,timeStyle:`short`});function Y0(e,t){return(t===`zh`?q0:J0).format(new Date(e))}function X0(e){let t=(0,Z.c)(155),{filePath:n,onClose:r,targetLine:i,sessionKey:a,agentId:o}=e,s=v(n2),c;t[0]===s?c=t[1]:(c=m(s),t[0]=s,t[1]=c);let l=c,d=b(t2),f;t[2]!==o||t[3]!==n||t[4]!==a?(f={filePath:n,sessionKey:a,agentId:o},t[2]=o,t[3]=n,t[4]=a,t[5]=f):f=t[5];let p=WY(f),h=DY(p.descriptor),{rootRef:g,active:_,enter:y,exit:x}=K0(),{dialogOpen:S,loading:C,result:w,error:T,createShareLink:E,handleOpenChange:D}=iZ(),[O,k]=(0,Y.useState)(!1),[A,j]=(0,Y.useState)(!1),M;t[6]===n?M=t[7]:(M=n?BW(n):``,t[6]=n,t[7]=M);let N=M,P;t[8]===n?P=t[9]:(P=n?VW(n):``,t[8]=n,t[9]=P);let F=P,I=N===`.md`,L=N===`.html`||N===`.htm`,R;t[10]!==n||t[11]!==l.clipboard.copyFailed||t[12]!==l.workspace.pathCopied?(R=async()=>{if(n){if(await GP(n)){k(!0),window.setTimeout(()=>k(!1),2e3),IU(`success`,l.workspace.pathCopied,void 0,{duration:2e3});return}IU(`warning`,l.clipboard.copyFailed,void 0,{duration:4e3})}},t[10]=n,t[11]=l.clipboard.copyFailed,t[12]=l.workspace.pathCopied,t[13]=R):R=t[13];let z=R,B;t[14]!==o||t[15]!==E||t[16]!==n||t[17]!==a?(B=()=>{n&&E({path:n,...a==null?o?.trim()?{agentId:o.trim()}:{}:{sessionKey:a}})},t[14]=o,t[15]=E,t[16]=n,t[17]=a,t[18]=B):B=t[18];let V=B,H=!!(n&&!p.loading&&!p.loadError),U;t[19]===p?U=t[20]:(U=()=>void p.onDownload(),t[19]=p,t[20]=U);let W;t[21]===p?W=t[22]:(W=()=>void p.onOpenWithSystemApp(),t[21]=p,t[22]=W);let G;t[23]===p?G=t[24]:(G=()=>void p.onChooseOpenWithApp(),t[23]=p,t[24]=G);let K;t[25]!==p.canChooseOpenWithApp||t[26]!==p.canDownload||t[27]!==p.canOpenWithSystemApp||t[28]!==U||t[29]!==W||t[30]!==G?(K={onDownload:U,canDownload:p.canDownload,onOpenWithSystemApp:W,canOpenWithSystemApp:p.canOpenWithSystemApp,onChooseOpenWithApp:G,canChooseOpenWithApp:p.canChooseOpenWithApp},t[25]=p.canChooseOpenWithApp,t[26]=p.canDownload,t[27]=p.canOpenWithSystemApp,t[28]=U,t[29]=W,t[30]=G,t[31]=K):K=t[31];let ee=K,te;t[32]!==x||t[33]!==r?(te=()=>{x(),r()},t[32]=x,t[33]=r,t[34]=te):te=t[34];let ne=te;if(!n)return null;let q;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(q=u(`flex shrink-0 items-start gap-2 border-b border-edge px-4 py-2 dark:border-edge`,GF),t[35]=q):q=t[35];let re;t[36]===F?re=t[37]:(re=(0,Q.jsx)(`h2`,{className:`truncate text-base font-semibold leading-tight tracking-tight text-fg`,title:F,children:F}),t[36]=F,t[37]=re);let ie;t[38]!==s||t[39]!==l.workspace.lastModified||t[40]!==p.loading||t[41]!==p.mtimeMs||t[42]!==i?(ie=!p.loading&&p.mtimeMs!=null?(0,Q.jsxs)(`p`,{suppressHydrationWarning:!0,className:`mt-0.5 truncate text-xs leading-tight text-fg-muted`,title:new Date(p.mtimeMs).toISOString(),children:[l.workspace.lastModified,`: `,Y0(p.mtimeMs,s),i?` · Line ${i}`:``]}):null,t[38]=s,t[39]=l.workspace.lastModified,t[40]=p.loading,t[41]=p.mtimeMs,t[42]=i,t[43]=ie):ie=t[43];let ae;t[44]!==re||t[45]!==ie?(ae=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[re,ie]}),t[44]=re,t[45]=ie,t[46]=ae):ae=t[46];let J;t[47]===p.loading?J=t[48]:(J=p.loading?(0,Q.jsx)(Ey,{className:`size-4 animate-spin text-fg-muted`,"aria-hidden":!0}):null,t[47]=p.loading,t[48]=J);let oe;t[49]!==L||t[50]!==I||t[51]!==l.workspace.saved||t[52]!==l.workspace.saving||t[53]!==p.htmlCodeMode||t[54]!==p.saveStatus?(oe=(I||L&&p.htmlCodeMode)&&p.saveStatus!==`idle`?(0,Q.jsx)(`span`,{className:`shrink-0 text-xs leading-tight text-fg-muted`,children:p.saveStatus===`saving`?l.workspace.saving:l.workspace.saved}):null,t[49]=L,t[50]=I,t[51]=l.workspace.saved,t[52]=l.workspace.saving,t[53]=p.htmlCodeMode,t[54]=p.saveStatus,t[55]=oe):oe=t[55];let se;t[56]!==ee||t[57]!==h?(se=(0,Q.jsx)(jY,{controller:h,actions:ee}),t[56]=ee,t[57]=h,t[58]=se):se=t[58];let ce;t[59]!==L||t[60]!==I||t[61]!==l.workspace.edit||t[62]!==l.workspace.preview||t[63]!==l.workspace.viewing||t[64]!==p?(ce=I?(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,title:p.markdownEditMode?l.workspace.viewing:l.workspace.edit,"aria-label":p.markdownEditMode?l.workspace.viewing:l.workspace.edit,onClick:()=>p.setMarkdownEditMode(e2),children:p.markdownEditMode?(0,Q.jsx)($h,{className:`size-4`}):(0,Q.jsx)(NC,{className:`size-4`})}):L?(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,title:p.htmlCodeMode?l.workspace.preview:l.workspace.edit,"aria-label":p.htmlCodeMode?l.workspace.preview:l.workspace.edit,onClick:()=>p.setHtmlCodeMode($0),children:p.htmlCodeMode?(0,Q.jsx)($h,{className:`size-4`}):(0,Q.jsx)(NC,{className:`size-4`})}):null,t[59]=L,t[60]=I,t[61]=l.workspace.edit,t[62]=l.workspace.preview,t[63]=l.workspace.viewing,t[64]=p,t[65]=ce):ce=t[65];let le;t[66]!==_||t[67]!==H||t[68]!==y||t[69]!==x||t[70]!==l.chat?(le=H?(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel),title:_?l.chat.attachmentPreviewExitFullscreen:l.chat.attachmentPreviewFullscreen,"aria-label":_?l.chat.attachmentPreviewExitFullscreen:l.chat.attachmentPreviewFullscreen,onClick:()=>void(_?x():y()),children:_?(0,Q.jsx)(mx,{className:`size-4`,strokeWidth:1.75}):(0,Q.jsx)(yb,{className:`size-4`,strokeWidth:1.75})}):null,t[66]=_,t[67]=H,t[68]=y,t[69]=x,t[70]=l.chat,t[71]=le):le=t[71];let ue;t[72]!==l.workspace.openSystemApp||t[73]!==p?(ue=p.canOpenWithSystemApp?(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel),title:l.workspace.openSystemApp,"aria-label":l.workspace.openSystemApp,onClick:()=>void p.onOpenWithSystemApp(),children:(0,Q.jsx)(Yh,{className:`size-4`})}):null,t[72]=l.workspace.openSystemApp,t[73]=p,t[74]=ue):ue=t[74];let de;t[75]!==l.workspace.chooseApp||t[76]!==l.workspace.openWith||t[77]!==l.workspace.recentApps||t[78]!==l.workspace.recommendedApps||t[79]!==A||t[80]!==p?(de=p.canChooseOpenWithApp||p.recommendedOpenWithApps.length>0||p.recentOpenWithApps.length>0?(0,Q.jsxs)(`div`,{className:`relative shrink-0`,children:[A?(0,Q.jsx)(`button`,{type:`button`,className:`fixed inset-0 z-40 cursor-default bg-transparent`,"aria-hidden":!0,tabIndex:-1,onPointerDown:e=>{e.preventDefault(),j(!1)}}):null,(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel),title:l.workspace.openWith,"aria-label":l.workspace.openWith,"aria-haspopup":`menu`,"aria-expanded":A,onClick:()=>j(Q0),children:(0,Q.jsx)(Bh,{className:`size-4`})}),A?(0,Q.jsxs)(`div`,{role:`menu`,className:`absolute right-0 top-full z-50 mt-1 min-w-[13rem] rounded-md border border-edge bg-surface-panel py-1 shadow-popover`,children:[p.canChooseOpenWithApp?(0,Q.jsx)(`button`,{type:`button`,role:`menuitem`,className:`block w-full px-3 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,onClick:()=>{j(!1),p.onChooseOpenWithApp()},children:l.workspace.chooseApp}):null,p.recommendedOpenWithApps.length>0?(0,Q.jsxs)(`div`,{className:`border-t border-edge-subtle py-1 dark:border-edge`,children:[(0,Q.jsx)(`p`,{className:`px-3 pb-1 pt-0.5 text-[11px] font-medium uppercase tracking-normal text-fg-subtle`,children:l.workspace.recommendedApps}),p.recommendedOpenWithApps.map(e=>(0,Q.jsx)(`button`,{type:`button`,role:`menuitem`,className:`block w-full min-w-0 px-3 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,title:e.path,onClick:()=>{j(!1),p.onOpenWithRecentApp(e.path)},children:(0,Q.jsx)(`span`,{className:`block truncate`,children:e.name})},e.path))]}):null,p.recentOpenWithApps.length>0?(0,Q.jsxs)(`div`,{className:`border-t border-edge-subtle py-1 dark:border-edge`,children:[(0,Q.jsx)(`p`,{className:`px-3 pb-1 pt-0.5 text-[11px] font-medium uppercase tracking-normal text-fg-subtle`,children:l.workspace.recentApps}),p.recentOpenWithApps.map(e=>(0,Q.jsx)(`button`,{type:`button`,role:`menuitem`,className:`block w-full min-w-0 px-3 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,title:e.path,onClick:()=>{j(!1),p.onOpenWithRecentApp(e.path)},children:(0,Q.jsx)(`span`,{className:`block truncate`,children:e.name})},e.path))]}):null]}):null]}):null,t[75]=l.workspace.chooseApp,t[76]=l.workspace.openWith,t[77]=l.workspace.recentApps,t[78]=l.workspace.recommendedApps,t[79]=A,t[80]=p,t[81]=de):de=t[81];let fe;t[82]===Symbol.for(`react.memo_cache_sentinel`)?(fe=u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel),t[82]=fe):fe=t[82];let pe;t[83]===z?pe=t[84]:(pe=()=>void z(),t[83]=z,t[84]=pe);let me;t[85]===O?me=t[86]:(me=O?(0,Q.jsx)(gd,{className:`size-4`}):(0,Q.jsx)(mm,{className:`size-4`}),t[85]=O,t[86]=me);let he;t[87]!==l.workspace.copyPath||t[88]!==pe||t[89]!==me?(he=(0,Q.jsx)(`button`,{type:`button`,className:fe,title:l.workspace.copyPath,"aria-label":l.workspace.copyPath,onClick:pe,children:me}),t[87]=l.workspace.copyPath,t[88]=pe,t[89]=me,t[90]=he):he=t[90];let ge;t[91]!==l.workspace.revealInFolder||t[92]!==p?(ge=p.canRevealInFolder?(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel),title:l.workspace.revealInFolder,"aria-label":l.workspace.revealInFolder,onClick:()=>void p.onRevealInFolder(),children:(0,Q.jsx)(Z_,{className:`size-4`})}):null,t[91]=l.workspace.revealInFolder,t[92]=p,t[93]=ge):ge=t[93];let _e;t[94]===C?_e=t[95]:(_e=C?(0,Q.jsx)(Ey,{className:`size-4 animate-spin`}):(0,Q.jsx)(ry,{className:`size-4`}),t[94]=C,t[95]=_e);let X;t[96]!==V||t[97]!==C||t[98]!==l.workspace.shareLink||t[99]!==_e?(X=(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg disabled:opacity-50`,title:l.workspace.shareLink,"aria-label":l.workspace.shareLink,onClick:V,disabled:C,children:_e}),t[96]=V,t[97]=C,t[98]=l.workspace.shareLink,t[99]=_e,t[100]=X):X=t[100];let ve;t[101]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,Q.jsx)(ZN,{className:`size-4`,strokeWidth:1.75}),t[101]=ve):ve=t[101];let ye;t[102]!==ne||t[103]!==l.workspace.close?(ye=(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,title:l.workspace.close,"aria-label":l.workspace.close,onClick:ne,children:ve}),t[102]=ne,t[103]=l.workspace.close,t[104]=ye):ye=t[104];let be;t[105]!==J||t[106]!==oe||t[107]!==se||t[108]!==ce||t[109]!==le||t[110]!==ue||t[111]!==de||t[112]!==he||t[113]!==ge||t[114]!==X||t[115]!==ye?(be=(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 pt-0.5`,children:[J,oe,se,ce,le,ue,de,he,ge,X,ye]}),t[105]=J,t[106]=oe,t[107]=se,t[108]=ce,t[109]=le,t[110]=ue,t[111]=de,t[112]=he,t[113]=ge,t[114]=X,t[115]=ye,t[116]=be):be=t[116];let xe;t[117]!==ae||t[118]!==be?(xe=(0,Q.jsxs)(`div`,{className:q,children:[ae,be]}),t[117]=ae,t[118]=be,t[119]=xe):xe=t[119];let Se=d===`dark`,Ce;t[120]!==p.htmlCodeMode||t[121]!==p.markdownEditMode||t[122]!==p.onHtmlChange||t[123]!==p.onSaveMarkdown||t[124]!==Se?(Ce={markdownEditMode:p.markdownEditMode,onSaveMarkdown:p.onSaveMarkdown,htmlCodeMode:p.htmlCodeMode,onHtmlChange:p.onHtmlChange,isDark:Se},t[120]=p.htmlCodeMode,t[121]=p.markdownEditMode,t[122]=p.onHtmlChange,t[123]=p.onSaveMarkdown,t[124]=Se,t[125]=Ce):Ce=t[125];let we;t[126]!==s||t[127]!==ee||t[128]!==h||t[129]!==d||t[130]!==p.binaryBuffer||t[131]!==p.descriptor||t[132]!==p.extractedText||t[133]!==p.extractedTextTruncated||t[134]!==p.hostAbsolutePath||t[135]!==p.loadError||t[136]!==p.loading||t[137]!==p.mtimeMs||t[138]!==p.textContent||t[139]!==Ce||t[140]!==i?(we=(0,Q.jsx)(MY,{language:s,resolvedTheme:d,descriptor:p.descriptor,loading:p.loading,loadError:p.loadError,textContent:p.textContent,binaryBuffer:p.binaryBuffer,hostAbsolutePath:p.hostAbsolutePath,mtimeMs:p.mtimeMs,targetLine:i,extractedText:p.extractedText,extractedTextTruncated:p.extractedTextTruncated,workspaceEditing:Ce,actions:ee,controller:h,renderToolbar:Z0}),t[126]=s,t[127]=ee,t[128]=h,t[129]=d,t[130]=p.binaryBuffer,t[131]=p.descriptor,t[132]=p.extractedText,t[133]=p.extractedTextTruncated,t[134]=p.hostAbsolutePath,t[135]=p.loadError,t[136]=p.loading,t[137]=p.mtimeMs,t[138]=p.textContent,t[139]=Ce,t[140]=i,t[141]=we):we=t[141];let Te;t[142]!==g||t[143]!==xe||t[144]!==we?(Te=(0,Q.jsxs)(`div`,{ref:g,className:`flex h-full min-h-0 flex-col bg-surface-panel`,children:[xe,we]}),t[142]=g,t[143]=xe,t[144]=we,t[145]=Te):Te=t[145];let Ee;t[146]!==S||t[147]!==T||t[148]!==D||t[149]!==C||t[150]!==w?(Ee=(0,Q.jsx)(ZX,{open:S,onOpenChange:D,loading:C,error:T,result:w}),t[146]=S,t[147]=T,t[148]=D,t[149]=C,t[150]=w,t[151]=Ee):Ee=t[151];let De;return t[152]!==Te||t[153]!==Ee?(De=(0,Q.jsxs)(Q.Fragment,{children:[Te,Ee]}),t[152]=Te,t[153]=Ee,t[154]=De):De=t[154],De}function Z0(){return null}function Q0(e){return!e}function $0(e){return!e}function e2(e){return!e}function t2(e){return e.resolved}function n2(e){return e.language}var r2=(0,Y.memo)(function(){let e=(0,Z.c)(21),{pathname:t}=wr(),{sessionKey:n}=jr(),r;e[0]!==t||e[1]!==n?(r=t.startsWith(`/chat`)&&n?decodeURIComponent(n):void 0,e[0]=t,e[1]=n,e[2]=r):r=e[2];let i=r,a=_Z(i2),o=_Z(a2),s=_Z(o2),c=cZ(s2),l,u;e[3]!==t||e[4]!==s?(l=()=>{t.startsWith(`/chat`)||s(null)},u=[t,s],e[3]=t,e[4]=s,e[5]=l,e[6]=u):(l=e[5],u=e[6]),(0,Y.useEffect)(l,u);let d,f;if(e[7]!==a||e[8]!==s?(d=()=>{if(!a)return;let e=e=>{e.key===`Escape`&&(s(null),e.stopPropagation())};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)},f=[a,s],e[7]=a,e[8]=s,e[9]=d,e[10]=f):(d=e[9],f=e[10]),(0,Y.useEffect)(d,f),!a)return null;let p;e[11]===c?p=e[12]:(p=c.trim()||void 0,e[11]=c,e[12]=p);let m;e[13]===s?m=e[14]:(m=()=>s(null),e[13]=s,e[14]=m);let h;return e[15]!==i||e[16]!==o||e[17]!==a||e[18]!==p||e[19]!==m?(h=(0,Q.jsx)(`div`,{role:`region`,"aria-label":`File preview`,className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden border border-edge bg-surface-panel dark:border-edge`,children:(0,Q.jsx)(X0,{filePath:a,targetLine:o,sessionKey:i,agentId:p,onClose:m})}),e[15]=i,e[16]=o,e[17]=a,e[18]=p,e[19]=m,e[20]=h):h=e[20],h});function i2(e){return e.path}function a2(e){return e.line}function o2(e){return e.setPath}function s2(e){return e.agentId}async function c2(){let e=await le(T(`/api/models`));if(!e.ok)throw Error(`Models: HTTP ${e.status}`);return(await e.json()).payload?.models??[]}var l2=null,u2=0,d2=null,f2=6e4,p2=`gateway-configured-models`;async function m2(){l2=null,u2=0;let{mutate:e}=await c(async()=>{let{mutate:e}=await import(`./vendor-swr-BIWyz7Rc.js`).then(e=>e.r);return{mutate:e}},__vite__mapDeps([7,1,2]));await e(p2)}async function h2(e=!1){if(!e&&l2&&Date.now()<u2)return l2;if(e){let e=await c2();return l2=e,u2=Date.now()+f2,e}return d2||(d2=c2().then(e=>(l2=e,u2=Date.now()+f2,e)).finally(()=>{d2=null}),d2)}function g2(e){let t=(0,Z.c)(9),{models:n,selectedId:r,onSelectedChange:i}=e;if(n.length===0)return null;let a;if(t[0]!==n||t[1]!==i||t[2]!==r){let e;t[4]!==i||t[5]!==r?(e=e=>{let t=r===e.id;return(0,Q.jsxs)(`label`,{className:u(`flex cursor-pointer items-start gap-3 rounded-xl border border-edge px-3 py-2.5 transition-colors`,t?`border-accent bg-accent-soft`:`hover:bg-surface-hover`),children:[(0,Q.jsx)(`input`,{type:`radio`,name:`onboarding-model`,className:`mt-1`,checked:t,onChange:()=>i(e.id),"aria-label":e.name||e.id}),(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Q.jsxs)(`span`,{className:`flex items-center gap-2 text-sm font-medium text-fg`,children:[(0,Q.jsx)(`span`,{children:e.name||e.id}),e.recommended?(0,Q.jsx)(`span`,{className:`rounded-full bg-accent-soft px-1.5 py-0.5 text-[10px] font-semibold text-accent-fg`,children:`Recommended`}):null]}),(0,Q.jsx)(`span`,{className:`block text-xs text-fg-muted`,children:e.id})]})]},e.id)},t[4]=i,t[5]=r,t[6]=e):e=t[6],a=n.slice().sort(_2).map(e),t[0]=n,t[1]=i,t[2]=r,t[3]=a}else a=t[3];let o;return t[7]===a?o=t[8]:(o=(0,Q.jsx)(`div`,{className:`flex max-h-[min(50vh,22rem)] flex-col gap-2 overflow-y-auto pr-1`,role:`radiogroup`,children:a}),t[7]=a,t[8]=o),o}function _2(e,t){return e.recommended===t.recommended?(e.name||e.id).localeCompare(t.name||t.id,void 0,{sensitivity:`base`}):e.recommended?-1:1}function v2(e){let t=(0,Z.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=u(`shrink-0`,r),t[4]=r,t[5]=a);let o;return t[6]!==n||t[7]!==i||t[8]!==a?(o=(0,Q.jsx)(`svg`,{viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,className:a,...i,children:n}),t[6]=n,t[7]=i,t[8]=a,t[9]=o):o=t[9],o}function y2(e){let t=(0,Z.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(`path`,{fill:`#5786FE`,d:`M23.748 4.651c-.254-.124-.364.113-.512.233-.051.04-.094.09-.137.137-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.155-.708-.311-.955-.65-.172-.24-.219-.509-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.094.172.187.129.323-.082.28-.18.553-.266.833-.055.179-.137.218-.328.14a5.5 5.5 0 0 1-1.737-1.179c-.857-.828-1.631-1.743-2.597-2.46a12 12 0 0 0-.689-.47c-.985-.957.13-1.743.387-1.836.27-.098.094-.433-.778-.428-.872.003-1.67.295-2.687.685a3 3 0 0 1-.465.136 9.6 9.6 0 0 0-2.883-.101c-1.885.21-3.39 1.1-4.497 2.622C.082 8.776-.231 10.854.152 13.02c.403 2.284 1.568 4.175 3.36 5.653 1.857 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.132-.284 4.994-1.86.47.234.962.328 1.78.398.629.058 1.235-.031 1.705-.129.735-.155.684-.836.418-.961-2.155-1.004-1.682-.595-2.112-.926 1.095-1.295 2.768-3.598 3.284-6.733.05-.346.115-.834.108-1.114-.004-.171.035-.238.23-.257a4.2 4.2 0 0 0 1.545-.475c1.397-.763 1.96-2.016 2.093-3.517.02-.23-.004-.467-.247-.588M11.58 18.168c-2.088-1.642-3.101-2.183-3.52-2.16-.39.024-.32.472-.234.763.09.288.207.487.371.74.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.168-1.361-.801-2.5-1.86-3.301-3.306-.775-1.393-1.225-2.888-1.299-4.482-.02-.385.094-.522.477-.592a4.7 4.7 0 0 1 1.53-.038c2.131.311 3.946 1.264 5.467 2.774.868.86 1.525 1.887 2.202 2.89.72 1.066 1.494 2.082 2.48 2.915.348.291.626.513.892.677-.802.09-2.14.109-3.055-.615zm1.001-6.44a.306.306 0 0 1 .415-.287.3.3 0 0 1 .113.074.3.3 0 0 1 .086.214c0 .17-.136.307-.308.307a.303.303 0 0 1-.306-.307m3.11 1.596c-.2.081-.4.151-.591.16a1.25 1.25 0 0 1-.798-.254c-.274-.23-.47-.358-.551-.758a1.7 1.7 0 0 1 .015-.588c.07-.327-.007-.537-.238-.727-.188-.156-.426-.199-.689-.199a.6.6 0 0 1-.254-.078.253.253 0 0 1-.114-.358 1 1 0 0 1 .192-.21c.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.392.451.462.576.685.915.176.264.336.536.446.848.066.194-.02.353-.25.45`}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Q.jsx)(v2,{className:n,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function b2(e){let t=(0,Z.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(`path`,{fill:`#E73562`,d:`M11.43 3.92a.86.86 0 1 0-1.718 0v14.236a1.999 1.999 0 0 1-3.997 0V9.022a.86.86 0 1 0-1.718 0v3.87a1.999 1.999 0 0 1-3.997 0V11.49a.57.57 0 0 1 1.139 0v1.404a.86.86 0 0 0 1.719 0V9.022a1.999 1.999 0 0 1 3.997 0v9.134a.86.86 0 0 0 1.719 0V3.92a1.998 1.998 0 1 1 3.996 0v11.788a.57.57 0 1 1-1.139 0zm10.572 3.105a2 2 0 0 0-1.999 1.997v7.63a.86.86 0 0 1-1.718 0V3.923a1.999 1.999 0 0 0-3.997 0v16.16a.86.86 0 0 1-1.719 0V18.08a.57.57 0 1 0-1.138 0v2a1.998 1.998 0 0 0 3.996 0V3.92a.86.86 0 0 1 1.719 0v12.73a1.999 1.999 0 0 0 3.996 0V9.023a.86.86 0 1 1 1.72 0v6.686a.57.57 0 0 0 1.138 0V9.022a2 2 0 0 0-1.998-1.997`}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Q.jsx)(v2,{className:n,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function x2(e){let t=(0,Z.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(`path`,{fill:`currentColor`,d:`m1.053 16.91 9.538 2.55a21 20.981 0 0 0 .06 2.031l5.956 1.592a12 11.99 0 0 1-15.554-6.172m-1.02-5.79 11.352 3.035a21 20.981 0 0 0-.469 2.01l10.817 2.89a12 11.99 0 0 1-1.845 2.004L.658 15.918a12 11.99 0 0 1-.625-4.796m1.593-5.146L13.573 9.17a21 20.981 0 0 0-1.01 1.874l11.297 3.02a21 20.981 0 0 1-.67 2.362l-11.55-3.087L.125 10.26a12 11.99 0 0 1 1.499-4.285ZM6.067 1.58l11.285 3.016a21 20.981 0 0 0-1.688 1.719l7.824 2.091a21 20.981 0 0 1 .513 2.664L2.107 5.218a12 11.99 0 0 1 3.96-3.638M21.68 4.866 7.222 1.003A12 11.99 0 0 1 21.68 4.866`}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Q.jsx)(v2,{className:n,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function S2(e){let t=(0,Z.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(`path`,{fill:`currentColor`,d:`M22.28 9.82a5.98 5.98 0 0 0-.516-4.91 6.04 6.04 0 0 0-6.51-2.9A6.06 6.06 0 0 0 4.98 4.18a5.98 5.98 0 0 0-3.99 2.9 6.04 6.04 0 0 0 .743 7.09 5.98 5.98 0 0 0 .511 4.91 6.05 6.05 0 0 0 6.51 2.9A5.98 5.98 0 0 0 13.26 24a6.05 6.05 0 0 0 5.77-4.20 5.98 5.98 0 0 0 3.99-2.9 6.05 6.05 0 0 0-.748-7.07zm-9.02 12.60a4.47 4.47 0 0 1-2.87-1.04l.142-.08 4.77-2.75a.795.79 0 0 0 .393-.681v-6.73l2.02 1.16a.071.07 0 0 1 .038.05v5.58a4.50 4.50 0 0 1-4.49 4.49zm-9.66-4.12a4.47 4.47 0 0 1-.535-3.01l.142.08 4.78 2.75a.771.77 0 0 0 .781 0l5.84-3.36v2.33a.08.08 0 0 1-.033.06L9.74 19.95a4.49 4.49 0 0 1-6.14-1.64zM2.34 7.89a4.48 4.48 0 0 1 2.36-1.97V11.6a.766.76 0 0 0 .388.67l5.81 3.35-2.02 1.16a.076.07 0 0 1-.071 0l-4.83-2.78A4.50 4.50 0 0 1 2.34 7.87zm16.59 3.85L13.10 8.36 15.11 7.2a.076.07 0 0 1 .071 0l4.83 2.79a4.49 4.49 0 0 1-.677 8.10v-5.67a.79.79 0 0 0-.407-.667zm2.01-3.02-.142-.085-4.77-2.78a.776.77 0 0 0-.785 0L9.40 9.23V6.89a.066.06 0 0 1 .028-.062l4.83-2.78a4.49 4.49 0 0 1 6.68 4.66zM8.30 12.86l-2.02-1.16a.08.08 0 0 1-.038-.057V6.07a4.49 4.49 0 0 1 7.37-3.45l-.142.08L8.70 5.45a.795.79 0 0 0-.393.68zm1.09-2.36 2.60-1.5 2.60 1.5v2.99l-2.59 1.5-2.60-1.5Z`}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Q.jsx)(v2,{className:n,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function C2(e){let t=(0,Z.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(`path`,{fill:`#D4A27F`,d:`M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z`}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Q.jsx)(v2,{className:n,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function w2(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i,a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsx)(`defs`,{children:(0,Q.jsxs)(`linearGradient`,{id:`gemini-grad`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,Q.jsx)(`stop`,{offset:`0%`,stopColor:`#4285F4`}),(0,Q.jsx)(`stop`,{offset:`50%`,stopColor:`#9B72CB`}),(0,Q.jsx)(`stop`,{offset:`100%`,stopColor:`#D96570`})]})}),a=(0,Q.jsx)(`path`,{fill:`url(#gemini-grad)`,d:`M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81`}),t[3]=i,t[4]=a):(i=t[3],a=t[4]);let o;return t[5]!==n||t[6]!==r?(o=(0,Q.jsxs)(v2,{className:n,...r,children:[i,a]}),t[5]=n,t[6]=r,t[7]=o):o=t[7],o}function T2(e){let t=(0,Z.c)(20),{providerId:n,className:r}=e,i;t[0]===r?i=t[1]:(i={className:r,"aria-hidden":!0},t[0]=r,t[1]=i);let a=i;switch(n){case`deepseek`:{let e;return t[2]===a?e=t[3]:(e=(0,Q.jsx)(y2,{...a}),t[2]=a,t[3]=e),e}case`minimax`:{let e;return t[4]===a?e=t[5]:(e=(0,Q.jsx)(b2,{...a}),t[4]=a,t[5]=e),e}case`kimi-coding`:{let e;return t[6]===a?e=t[7]:(e=(0,Q.jsx)(x2,{...a}),t[6]=a,t[7]=e),e}case`moonshotai`:case`moonshotai-cn`:{let e;return t[8]===a?e=t[9]:(e=(0,Q.jsx)(x2,{...a}),t[8]=a,t[9]=e),e}case`openai`:{let e;return t[10]===a?e=t[11]:(e=(0,Q.jsx)(S2,{...a}),t[10]=a,t[11]=e),e}case`anthropic`:{let e;return t[12]===a?e=t[13]:(e=(0,Q.jsx)(C2,{...a}),t[12]=a,t[13]=e),e}case`google`:{let e;return t[14]===a?e=t[15]:(e=(0,Q.jsx)(w2,{...a}),t[14]=a,t[15]=e),e}default:{let e;t[16]===r?e=t[17]:(e=u(`flex items-center justify-center text-2xl`,r),t[16]=r,t[17]=e);let n;return t[18]===e?n=t[19]:(n=(0,Q.jsx)(`span`,{className:e,children:`🤖`}),t[18]=e,t[19]=n),n}}}var E2=`models-json-config`;async function D2(){await Promise.all([OB(),J(T(`/api/providers/meta`)),J(E2),m2()])}function O2(e){return HP(e)}async function k2(){return(await E(T(`/api/providers/meta`))).payload?.providers??[]}function A2(e){if(!e||typeof e!=`object`||!(`providers`in e))return{};let t=e.providers;if(!t||typeof t!=`object`||Array.isArray(t))return{};let n={};for(let[e,r]of Object.entries(t))typeof r==`string`&&(n[e]=r);return n}function j2(e,t,n){let r=new Set(n.map(e=>e.provider));return e.map(e=>({...e,configured:e.configured||r.has(e.id),apiKey:t[e.id]??(e.activeKeySource===`extension`?``:e.configured||r.has(e.id)?`••••••••••••`:``)}))}async function M2(e){await E(T(`/api/config`),{method:`PATCH`,body:JSON.stringify({providers:e})}),await D2()}async function N2(e){await E(T(`/api/providers/${encodeURIComponent(e)}/key`),{method:`DELETE`}),await D2()}async function P2(e){let t=await E(T(`/api/providers/${encodeURIComponent(e)}/reveal-api-key`),{method:`POST`,headers:{"Content-Type":`application/json`},body:`{}`});if(!t.ok||!t.payload)throw Error(t.error?.message??`Reveal failed`);return t.payload}var F2=[{id:`openai`,name:`OpenAI`,category:`common`,supportsOAuth:!1,supportsApiKey:!0,configured:!1,onboardingFeatured:!0},{id:`anthropic`,name:`Anthropic`,category:`common`,supportsOAuth:!0,supportsApiKey:!0,configured:!1,onboardingFeatured:!0},{id:`xai`,name:`xAI`,category:`specialty`,supportsOAuth:!1,supportsApiKey:!0,configured:!1,onboardingFeatured:!0},{id:`google`,name:`Google AI`,category:`common`,supportsOAuth:!1,supportsApiKey:!0,configured:!1,onboardingFeatured:!0},{id:`openrouter`,name:`OpenRouter`,category:`specialty`,supportsOAuth:!1,supportsApiKey:!0,configured:!1,onboardingFeatured:!0},{id:`deepseek`,name:`DeepSeek`,category:`common`,supportsOAuth:!1,supportsApiKey:!0,configured:!1,onboardingFeatured:!0}],I2=new Map(F2.map((e,t)=>[e.id,t]));function L2(e){let t=e.recommendedModels?.map(e=>e.name||e.id).filter(Boolean).slice(0,2);return t?.length?t.join(`, `):e.hint}function R2(e){let t=(0,Z.c)(14),{onSelect:n}=e,r=v(V2),i;t[0]===r?i=t[1]:(i=m(r),t[0]=r,t[1]=i);let a=i.onboarding.providerRecommended,o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o={revalidateOnFocus:!1},t[2]=o):o=t[2];let{data:s}=ie(`onboarding-provider-meta`,k2,o),c,l;if(t[3]!==s||t[4]!==n||t[5]!==a){let e=(s?.filter(B2)??F2).slice().sort(z2);c=`grid grid-cols-2 gap-2 sm:grid-cols-3`;let r;t[8]!==n||t[9]!==a?(r=(e,t)=>{let r=L2(e),i=t===0;return(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>n(e.id),className:u(`relative flex min-h-32 flex-col items-center gap-1.5 rounded-xl border border-edge p-4 text-center transition-colors`,`hover:border-accent hover:bg-accent-soft`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,i&&`border-accent/50 bg-accent-soft/30`),children:[i&&(0,Q.jsx)(`span`,{className:`absolute -top-2 right-2 rounded-full bg-accent px-2 py-0.5 text-[10px] font-semibold text-white`,children:a}),(0,Q.jsx)(T2,{providerId:e.id,className:`size-8`}),(0,Q.jsx)(`span`,{className:`text-sm font-medium text-fg`,children:e.name}),r?(0,Q.jsx)(`span`,{className:`line-clamp-2 text-xs text-fg-muted`,children:r}):null]},e.id)},t[8]=n,t[9]=a,t[10]=r):r=t[10],l=e.map(r),t[3]=s,t[4]=n,t[5]=a,t[6]=c,t[7]=l}else c=t[6],l=t[7];let d;return t[11]!==c||t[12]!==l?(d=(0,Q.jsx)(`div`,{className:c,children:l}),t[11]=c,t[12]=l,t[13]=d):d=t[13],d}function z2(e,t){return(I2.get(e.id)??999)-(I2.get(t.id)??999)}function B2(e){return e.onboardingFeatured}function V2(e){return e.language}function H2(e,t){return e===`single`?t.getApiKey:e===`intl`?t.getApiKeyIntl:t.getApiKeyCn}var U2={openai:{apiKeyUrl:`https://platform.openai.com/api-keys`,pricingUrl:`https://openai.com/pricing`,docsUrl:`https://platform.openai.com/docs`,description:`The most widely used LLM provider. Powers ChatGPT.`,descriptionZh:`最广泛使用的 LLM 服务商,ChatGPT 背后的技术。`,bestFor:[`general`,`coding`,`vision`],freeTier:!1,freeTierNote:`Pay-as-you-go; new accounts may receive trial credits.`,aliases:[`chatgpt`,`gpt`,`gpt-4`,`gpt4`,`gpt-4o`,`gpt4o`],envVars:[`OPENAI_API_KEY`]},anthropic:{apiKeyUrl:`https://console.anthropic.com/settings/keys`,pricingUrl:`https://www.anthropic.com/pricing`,docsUrl:`https://docs.anthropic.com`,description:`Anthropic model access. Available models are loaded from the gateway catalog.`,descriptionZh:`Anthropic 模型服务。可用模型由网关目录动态加载。`,bestFor:[`long context`,`coding`,`reasoning`],freeTier:!1,aliases:[`claude`,`claude 3`,`claude sonnet`,`claude opus`,`claude haiku`],envVars:[`ANTHROPIC_OAUTH_TOKEN`,`ANTHROPIC_API_KEY`]},google:{apiKeyUrl:`https://aistudio.google.com/app/apikey`,pricingUrl:`https://ai.google.dev/pricing`,docsUrl:`https://ai.google.dev/docs`,description:`Google AI model access. Available models are loaded from the gateway catalog.`,descriptionZh:`Google AI 模型服务。可用模型由网关目录动态加载。`,bestFor:[`multimodal`,`long context`,`general`],freeTier:!0,freeTierNote:`Free tier available via Google AI Studio.`,aliases:[`gemini`,`google gemini`,`bard`,`google ai`],envVars:[`GEMINI_API_KEY`,`GOOGLE_API_KEY`]},"google-vertex":{apiKeyUrl:`https://console.cloud.google.com/apis/credentials`,pricingUrl:`https://cloud.google.com/vertex-ai/pricing`,docsUrl:`https://cloud.google.com/vertex-ai/docs`,description:`Google Vertex AI — enterprise-grade model hosting on GCP.`,descriptionZh:`Google Vertex AI,企业级 GCP 托管模型服务。`,bestFor:[`enterprise`,`multimodal`,`compliance`],freeTier:!1,aliases:[`vertex`,`vertex ai`,`gcp`,`google cloud`],envVars:[`GOOGLE_CLOUD_API_KEY`,`GOOGLE_CLOUD_PROJECT`,`GOOGLE_CLOUD_LOCATION`]},"google-gemini-cli":{apiKeyUrl:`https://aistudio.google.com/app/apikey`,pricingUrl:`https://ai.google.dev/pricing`,docsUrl:`https://ai.google.dev/docs`,description:`Gemini via CLI token — for users authenticated with the Gemini CLI tool.`,descriptionZh:`通过 Gemini CLI 令牌访问 Gemini,适合已安装 CLI 工具的用户。`,bestFor:[`general`,`multimodal`],freeTier:!0,freeTierNote:`Uses your existing Gemini CLI authentication.`,aliases:[`gemini cli`,`gemini-cli`],envVars:[`GEMINI_CLI_TOKEN`,`GOOGLE_TOKEN`]},"google-antigravity":{apiKeyUrl:`https://console.cloud.google.com/apis/credentials`,pricingUrl:`https://cloud.google.com/pricing`,docsUrl:`https://cloud.google.com/docs`,description:`Google Antigravity — internal/experimental Google AI endpoint.`,descriptionZh:`Google Antigravity,Google 内部/实验性 AI 端点。`,bestFor:[`experimental`],freeTier:!1,aliases:[`antigravity`,`google antigravity`],envVars:[`ANTIGRAVITY_API_KEY`]},groq:{apiKeyUrl:`https://console.groq.com/keys`,pricingUrl:`https://groq.com/pricing/`,docsUrl:`https://console.groq.com/docs`,description:`Extremely fast inference — ideal for latency-sensitive applications.`,descriptionZh:`推理速度极快,适合对延迟敏感的场景。`,bestFor:[`speed`,`cheap`],freeTier:!0,freeTierNote:`Generous free tier with rate limits.`,aliases:[`groq`,`llama on groq`,`mixtral on groq`],envVars:[`GROQ_API_KEY`]},deepseek:{apiKeyUrl:`https://platform.deepseek.com/api_keys`,pricingUrl:`https://api-docs.deepseek.com/quick_start/pricing/`,docsUrl:`https://platform.deepseek.com/api-docs/`,description:`DeepSeek model access through an OpenAI-compatible API.`,descriptionZh:`通过 OpenAI 兼容 API 访问 DeepSeek 模型。`,bestFor:[`reasoning`,`cheap`,`coding`],freeTier:!0,freeTierNote:`Free credits may be available for new accounts.`,aliases:[`deepseek`,`deep seek`,`deepseek v4`,`deepseek-v4`,`r1`],envVars:[`DEEPSEEK_API_KEY`]},xai:{apiKeyUrl:`https://console.x.ai/`,pricingUrl:`https://x.ai/api`,docsUrl:`https://docs.x.ai/`,description:`xAI model access. Available models are loaded from the gateway catalog.`,descriptionZh:`xAI 模型服务。可用模型由网关目录动态加载。`,bestFor:[`reasoning`,`real-time`],freeTier:!1,aliases:[`grok`,`xai`,`x.ai`],envVars:[`XAI_API_KEY`]},cerebras:{apiKeyUrl:`https://cloud.cerebras.ai/platform/`,pricingUrl:`https://cloud.cerebras.ai/platform/`,docsUrl:`https://inference-docs.cerebras.ai/`,description:`Ultra-fast inference on custom AI chips. Fastest Llama inference available.`,descriptionZh:`基于专用 AI 芯片的超快推理,Llama 推理速度业界最快。`,bestFor:[`speed`],freeTier:!0,freeTierNote:`Free tier available.`,aliases:[`cerebras`],envVars:[`CEREBRAS_API_KEY`]},mistral:{apiKeyUrl:`https://console.mistral.ai/api-keys/`,pricingUrl:`https://mistral.ai/technology/#pricing`,docsUrl:`https://docs.mistral.ai/`,description:`European open-weight models. Good balance of quality and cost.`,descriptionZh:`欧洲开源模型,质量与成本平衡好。`,bestFor:[`general`,`cheap`,`coding`],freeTier:!1,aliases:[`mistral`,`mixtral`,`codestral`],envVars:[`MISTRAL_API_KEY`]},openrouter:{apiKeyUrl:`https://openrouter.ai/keys`,pricingUrl:`https://openrouter.ai/models`,docsUrl:`https://openrouter.ai/docs`,description:`API gateway to 100+ models from many providers with a single key.`,descriptionZh:`统一 API 网关,一个 Key 访问 100+ 模型。`,bestFor:[`general`,`flexibility`],freeTier:!0,freeTierNote:`Some models are free; pay-per-use for others.`,aliases:[`openrouter`,`open router`],envVars:[`OPENROUTER_API_KEY`]},"azure-openai-responses":{apiKeyUrl:`https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI`,pricingUrl:`https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/`,docsUrl:`https://learn.microsoft.com/en-us/azure/ai-services/openai/`,description:`OpenAI models hosted on Azure. Enterprise SLA and data residency.`,descriptionZh:`Azure 托管的 OpenAI 模型,企业级 SLA 和数据合规。`,bestFor:[`enterprise`,`compliance`,`coding`],freeTier:!1,aliases:[`azure`,`azure openai`,`aoai`],envVars:[`AZURE_OPENAI_API_KEY`,`AZURE_OPENAI_BASE_URL`]},"amazon-bedrock":{apiKeyUrl:`https://console.aws.amazon.com/iam/home#/security_credentials`,pricingUrl:`https://aws.amazon.com/bedrock/pricing/`,docsUrl:`https://docs.aws.amazon.com/bedrock/`,description:`AWS Bedrock hosted model access with enterprise controls.`,descriptionZh:`AWS Bedrock 托管模型服务,提供企业级控制能力。`,bestFor:[`enterprise`,`compliance`],freeTier:!1,aliases:[`bedrock`,`aws`,`amazon`],envVars:[`AWS_ACCESS_KEY_ID`,`AWS_SECRET_ACCESS_KEY`,`AWS_REGION`]},minimax:{apiKeyUrl:`https://platform.minimax.io/user-center/basic-information/interface-key`,pricingUrl:`https://platform.minimax.io/docs/guides/models-intro`,docsUrl:`https://platform.minimax.io/docs/guides/quickstart-preparation`,description:`MiniMax — Chinese multimodal model with strong text and audio capabilities.`,descriptionZh:`MiniMax,国产多模态模型,文本和音频能力强。`,bestFor:[`multimodal`,`chinese`],freeTier:!0,freeTierNote:`注册赠送免费额度。`,aliases:[`minimax`,`mini max`,`abab`],envVars:[`MINIMAX_API_KEY`]},"minimax-cn":{apiKeyUrl:`https://platform.minimaxi.com/user-center/basic-information/interface-key`,pricingUrl:`https://platform.minimaxi.com/document/Price`,docsUrl:`https://platform.minimaxi.com/document/Announcement`,description:`MiniMax (China endpoint) — domestic access for Chinese users.`,descriptionZh:`MiniMax 国内端点,国内用户直连访问。`,bestFor:[`multimodal`,`chinese`],freeTier:!0,freeTierNote:`注册赠送免费额度。`,aliases:[`minimax cn`,`minimax china`,`abab`],envVars:[`MINIMAX_CN_API_KEY`,`MINIMAX_API_KEY`]},"kimi-coding":{apiKeyUrl:`https://platform.kimi.com/console/api-keys`,pricingUrl:`https://platform.kimi.com/docs/pricing/chat`,docsUrl:`https://platform.kimi.com/docs`,description:`Kimi Coding — Moonshot model optimized for code generation tasks.`,descriptionZh:`Kimi Coding,Moonshot 专为代码生成优化的模型。`,bestFor:[`coding`,`chinese`],freeTier:!0,freeTierNote:`注册赠送免费额度。`,aliases:[`kimi coding`,`moonshot coding`,`kimi code`],envVars:[`KIMI_API_KEY`,`MOONSHOT_API_KEY`]},moonshotai:{apiKeyUrl:`https://platform.moonshot.ai/console/api-keys`,pricingUrl:`https://platform.moonshot.ai/docs/pricing`,docsUrl:`https://platform.moonshot.ai/docs`,description:`Moonshot Kimi — international API (api.moonshot.ai).`,descriptionZh:`月之暗面 Kimi 国际版 API(api.moonshot.ai)。`,bestFor:[`coding`,`chinese`,`long context`],freeTier:!0,aliases:[`moonshot`,`kimi`,`moonshot ai`],envVars:[`MOONSHOT_API_KEY`]},"moonshotai-cn":{apiKeyUrl:`https://platform.moonshot.cn/console/api-keys`,pricingUrl:`https://platform.moonshot.cn/docs/pricing/chat`,docsUrl:`https://platform.moonshot.cn/docs`,description:`Moonshot Kimi — China region endpoint.`,descriptionZh:`月之暗面 Kimi 中国区域端点。`,bestFor:[`coding`,`chinese`,`long context`],freeTier:!0,aliases:[`moonshot cn`,`kimi cn`],envVars:[`MOONSHOT_API_KEY`]},fal:{apiKeyUrl:`https://fal.ai/dashboard/keys`,pricingUrl:`https://fal.ai/pricing`,docsUrl:`https://fal.ai/docs`,description:`fal — serverless image and media generation APIs.`,descriptionZh:`fal:无服务器图像与媒体生成 API。`,bestFor:[`image`,`video`],freeTier:!0,aliases:[`fal ai`,`fal.ai`],envVars:[`FAL_KEY`,`FAL_API_KEY`]},fireworks:{apiKeyUrl:`https://fireworks.ai/account/api-keys`,pricingUrl:`https://fireworks.ai/pricing`,docsUrl:`https://docs.fireworks.ai`,description:`Fireworks AI — fast inference for open and proprietary models.`,descriptionZh:`Fireworks AI,多种开源与商业模型的高速推理服务。`,bestFor:[`speed`,`coding`,`open weights`],freeTier:!0,aliases:[`fireworks ai`,`fireworks`],envVars:[`FIREWORKS_API_KEY`]},together:{apiKeyUrl:`https://api.together.xyz/settings/api-keys`,pricingUrl:`https://www.together.ai/pricing`,docsUrl:`https://docs.together.ai`,description:`Together AI — hosted Llama, Qwen, DeepSeek, and more.`,descriptionZh:`Together AI,托管 Llama、Qwen、DeepSeek 等模型。`,bestFor:[`open source`,`flexibility`],freeTier:!0,aliases:[`together ai`,`together.xyz`],envVars:[`TOGETHER_API_KEY`]},"cloudflare-workers-ai":{apiKeyUrl:`https://dash.cloudflare.com/?to=/:account/ai/workers-ai`,pricingUrl:`https://developers.cloudflare.com/workers-ai/platform/pricing/`,docsUrl:`https://developers.cloudflare.com/workers-ai/`,description:`Cloudflare Workers AI — models at the edge via Cloudflare API.`,descriptionZh:`Cloudflare Workers AI,通过 Cloudflare API 在边缘运行模型。`,bestFor:[`edge`,`latency`],freeTier:!0,aliases:[`workers ai`,`cf workers ai`],envVars:[`CLOUDFLARE_API_KEY`]},"cloudflare-ai-gateway":{apiKeyUrl:`https://dash.cloudflare.com/?to=/:account/ai/ai-gateway`,pricingUrl:`https://developers.cloudflare.com/ai-gateway/pricing/`,docsUrl:`https://developers.cloudflare.com/ai-gateway/`,description:`Cloudflare AI Gateway — unified OpenAI/Anthropic-compatible routing.`,descriptionZh:`Cloudflare AI Gateway,统一 OpenAI/Anthropic 兼容路由。`,bestFor:[`routing`,`observability`,`enterprise`],freeTier:!0,aliases:[`cf ai gateway`,`cloudflare gateway`],envVars:[`CLOUDFLARE_API_KEY`]},xiaomi:{apiKeyUrl:`https://platform.xiaomimimo.com/#/console/api-keys`,pricingUrl:`https://mimo.mi.com/`,docsUrl:`https://platform.xiaomimimo.com/`,description:`Xiaomi MiMo — API billing (Anthropic-compatible). Keys from the MiMo open platform; endpoint api.xiaomimimo.com.`,descriptionZh:`小米 MiMo 按量计费线路(Anthropic 兼容),在开放平台创建密钥;接口域名为 api.xiaomimimo.com。`,bestFor:[`general`,`coding`],freeTier:!1,aliases:[`xiaomi`,`mimo`,`小米`,`xiaomimimo`],envVars:[`XIAOMI_API_KEY`]},"xiaomi-token-plan-cn":{apiKeyUrl:`https://platform.xiaomimimo.com/#/console/api-keys`,pricingUrl:`https://mimo.mi.com/`,docsUrl:`https://platform.xiaomimimo.com/`,description:`Xiaomi MiMo Token Plan — China region (token-plan-cn.xiaomimimo.com).`,descriptionZh:`小米 MiMo Token 套餐 · 中国区(token-plan-cn.xiaomimimo.com)。`,bestFor:[`general`,`coding`],freeTier:!1,aliases:[`xiaomi token cn`,`mimo token cn`],envVars:[`XIAOMI_TOKEN_PLAN_CN_API_KEY`]},"xiaomi-token-plan-ams":{apiKeyUrl:`https://platform.xiaomimimo.com/#/console/api-keys`,pricingUrl:`https://mimo.mi.com/`,docsUrl:`https://platform.xiaomimimo.com/`,description:`Xiaomi MiMo Token Plan — Amsterdam region (token-plan-ams.xiaomimimo.com).`,descriptionZh:`小米 MiMo Token 套餐 · 阿姆斯特丹(token-plan-ams.xiaomimimo.com)。`,bestFor:[`general`,`coding`],freeTier:!1,aliases:[`xiaomi token ams`,`mimo token ams`],envVars:[`XIAOMI_TOKEN_PLAN_AMS_API_KEY`]},"xiaomi-token-plan-sgp":{apiKeyUrl:`https://platform.xiaomimimo.com/#/console/api-keys`,pricingUrl:`https://mimo.mi.com/`,docsUrl:`https://platform.xiaomimimo.com/`,description:`Xiaomi MiMo Token Plan — Singapore region (token-plan-sgp.xiaomimimo.com).`,descriptionZh:`小米 MiMo Token 套餐 · 新加坡(token-plan-sgp.xiaomimimo.com)。`,bestFor:[`general`,`coding`],freeTier:!1,aliases:[`xiaomi token sgp`,`mimo token sgp`],envVars:[`XIAOMI_TOKEN_PLAN_SGP_API_KEY`]},huggingface:{apiKeyUrl:`https://huggingface.co/settings/tokens`,pricingUrl:`https://huggingface.co/pricing`,docsUrl:`https://huggingface.co/docs/api-inference/`,description:`Access thousands of open-source models via Hugging Face Inference API.`,descriptionZh:`通过 Hugging Face 访问数千个开源模型。`,bestFor:[`open source`,`flexibility`],freeTier:!0,freeTierNote:`Free tier with rate limits.`,aliases:[`huggingface`,`hugging face`,`hf`],envVars:[`HF_TOKEN`,`HUGGINGFACE_TOKEN`]},opencode:{apiKeyUrl:`https://opencode.ai/auth`,pricingUrl:`https://opencode.ai/docs`,docsUrl:`https://opencode.ai/docs/providers/`,description:`OpenCode — AI coding assistant provider.`,descriptionZh:`OpenCode,AI 代码助手服务商。`,bestFor:[`coding`],freeTier:!1,aliases:[`opencode`,`open code`],envVars:[`OPENCODE_API_KEY`]},"opencode-go":{apiKeyUrl:`https://opencode.ai/auth`,pricingUrl:`https://opencode.ai/docs`,docsUrl:`https://opencode.ai/docs/providers/`,description:`OpenCode Go — AI coding assistant provider (Go variant).`,descriptionZh:`OpenCode Go,AI 代码助手服务商(Go 版本)。`,bestFor:[`coding`],freeTier:!1,aliases:[`opencode go`,`opencode-go`],envVars:[`OPENCODE_API_KEY`]},zai:{apiKeyUrl:`https://z.ai/manage-apikey/apikey-list`,pricingUrl:`https://z.ai/manage-apikey/billing`,docsUrl:`https://docs.z.ai/guides/overview/quick-start`,description:`01.AI Yi models — strong multilingual capabilities.`,descriptionZh:`零一万物 Yi 系列模型,多语言能力强。`,bestFor:[`general`,`chinese`],freeTier:!1,aliases:[`yi`,`01.ai`,`zero one`,`零一万物`],envVars:[`ZAI_API_KEY`]},dashscope:{apiKeyUrl:`https://modelstudio.console.alibabacloud.com/`,apiKeyUrlCn:`https://dashscope.console.aliyun.com/apiKey`,pricingUrl:`https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-thousand-questions-metering-and-billing`,docsUrl:`https://help.aliyun.com/zh/dashscope/`,description:"Alibaba DashScope — image generation, speech, and STT HTTP APIs (service id `dashscope`, not a pi-ai LLM provider).",descriptionZh:`阿里 DashScope:文生图、语音等 HTTP API(服务 id 为 dashscope,非 pi-ai 内置 LLM)。`,bestFor:[`image`,`speech`,`chinese`],freeTier:!0,aliases:[`dash scope`,`alibaba dashscope`],envVars:[`DASHSCOPE_API_KEY`]},"vercel-ai-gateway":{apiKeyUrl:`https://vercel.com/account/tokens`,pricingUrl:`https://vercel.com/pricing`,docsUrl:`https://vercel.com/docs/ai/ai-gateway`,description:`Vercel AI Gateway — route requests to multiple LLM providers via Vercel.`,descriptionZh:`Vercel AI Gateway,通过 Vercel 路由请求到多个 LLM 服务商。`,bestFor:[`flexibility`,`enterprise`],freeTier:!1,aliases:[`vercel gateway`,`vercel ai gateway`],envVars:[`AI_GATEWAY_API_KEY`,`VERCEL_AI_GATEWAY_API_KEY`]},"github-copilot":{apiKeyUrl:`https://github.com/settings/tokens`,pricingUrl:`https://github.com/features/copilot#pricing`,docsUrl:`https://docs.github.com/en/copilot`,description:`GitHub Copilot — use your GitHub token to access Copilot models.`,descriptionZh:`使用 GitHub 令牌访问 Copilot 模型。`,bestFor:[`coding`],freeTier:!0,freeTierNote:`Free for verified students and open-source maintainers.`,aliases:[`github copilot`,`copilot`,`github`],envVars:[`COPILOT_GITHUB_TOKEN`,`GH_TOKEN`,`GITHUB_TOKEN`,`GITHUB_COPILOT_TOKEN`]}};function W2(e,t){let n=U2[e];if(!n)return[];let r=n.apiKeyUrl,i=n.apiKeyUrlCn;return r&&i?t===`zh`?[{href:i,kind:`cn`},{href:r,kind:`intl`}]:[{href:r,kind:`intl`},{href:i,kind:`cn`}]:r?[{href:r,kind:`single`}]:i?[{href:i,kind:`single`}]:[]}var G2={step:`provider`,selectedProvider:null,apiKey:``,busy:!1,error:null,models:[],selectedModelId:null,modelsLoading:!1};function K2(e,t){switch(t.type){case`patch`:return{...e,...t.patch};case`reset-models`:return{...e,models:[],selectedModelId:null}}}function q2({onComplete:e,onDismiss:t}){let n=v(e=>e.language),r=m(n).onboarding,[i,a]=(0,Y.useReducer)(K2,G2),{step:o,selectedProvider:s,apiKey:c,busy:l,error:u,models:d,selectedModelId:f,modelsLoading:p}=i,h=(0,Y.useMemo)(()=>r.stepOf.replace(`{{current}}`,String(o===`provider`?1:o===`apiKey`?2:3)).replace(`{{total}}`,`3`),[r.stepOf,o]),g=(0,Y.useCallback)(async e=>{a({type:`patch`,patch:{modelsLoading:!0,error:null}});try{let t=(await h2(!0)).filter(t=>t.provider===e).sort((e,t)=>e.recommended===t.recommended?(e.name||e.id).localeCompare(t.name||t.id,void 0,{sensitivity:`base`}):e.recommended?-1:1);a({type:`patch`,patch:{models:t,selectedModelId:t[0]?.id??null}})}catch(e){a({type:`patch`,patch:{error:e instanceof Error?e.message:String(e),models:[],selectedModelId:null}})}finally{a({type:`patch`,patch:{modelsLoading:!1}})}},[]),_=async()=>{if(!(!s||!c.trim())){a({type:`patch`,patch:{busy:!0,error:null}});try{await M2({[s]:c.trim()}),await g(s),a({type:`patch`,patch:{step:`model`}})}catch(e){a({type:`patch`,patch:{error:e instanceof Error?e.message:String(e)}})}finally{a({type:`patch`,patch:{busy:!1}})}}},y=async()=>{if(!s||!f)return;let t=d.find(e=>e.id===f)?.id??f;a({type:`patch`,patch:{busy:!0,error:null}});try{await E(T(`/api/config`),{method:`PATCH`,body:JSON.stringify({agents:{defaults:{models:{chat:{primary:t}}}}})}),OB(),m2(),l1(),await e()}catch(e){a({type:`patch`,patch:{error:e instanceof Error?e.message:String(e)}})}finally{a({type:`patch`,patch:{busy:!1}})}};return(0,Q.jsxs)(`div`,{className:`w-full max-w-xl rounded-2xl border border-edge bg-surface-panel p-6 shadow-elevated`,children:[(0,Q.jsxs)(`div`,{className:`text-center`,children:[(0,Q.jsx)(`div`,{className:`text-3xl`,"aria-hidden":!0,children:`🤖`}),(0,Q.jsx)(`h2`,{className:`mt-3 text-lg font-semibold tracking-tight text-fg`,children:r.title}),(0,Q.jsx)(`p`,{className:`mt-1 text-sm text-fg-muted`,children:r.subtitle}),(0,Q.jsx)(`p`,{className:`mt-2 text-xs font-medium uppercase tracking-wide text-fg-muted`,children:h})]}),(0,Q.jsxs)(`div`,{className:`mt-6`,children:[o===`provider`?(0,Q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h3`,{className:`text-base font-medium text-fg`,children:r.step1Title}),(0,Q.jsx)(`p`,{className:`mt-1 text-sm text-fg-muted`,children:r.step1Subtitle})]}),(0,Q.jsx)(R2,{onSelect:e=>{a({type:`patch`,patch:{selectedProvider:e,step:`apiKey`,apiKey:``,error:null}})}}),(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3 pt-2`,children:[(0,Q.jsx)(Gi,{to:`/settings/credentials`,className:`text-xs font-medium text-accent-fg hover:underline`,children:n===`zh`?`高级设置…`:`More settings…`}),(0,Q.jsx)(`button`,{type:`button`,className:`text-xs font-medium text-fg-muted hover:text-fg hover:underline`,onClick:t,children:r.skipSetup})]})]}):null,o===`apiKey`?(0,Q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`h3`,{className:`text-base font-medium text-fg`,children:[r.step2Title,s?` (${s})`:``]}),(0,Q.jsx)(`p`,{className:`mt-1 text-sm text-fg-muted`,children:r.step2Subtitle})]}),s&&(()=>{let e=U2[s],t=e?.apiKeyUrl,r=e?.apiKeyUrlCn;return t?(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 rounded-xl border border-edge-subtle bg-surface-base px-3.5 py-2.5`,children:[(0,Q.jsx)(`span`,{className:`text-xs text-fg-muted`,children:n===`zh`?`获取 API Key:`:`Get your API Key:`}),(0,Q.jsxs)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-1 text-xs font-medium text-accent-fg hover:underline`,children:[r?n===`zh`?`国际版`:`International`:n===`zh`?`前往获取`:`Get API Key`,(0,Q.jsx)(Yh,{className:`size-3`})]}),r&&(0,Q.jsxs)(`a`,{href:r,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-1 text-xs font-medium text-accent-fg hover:underline`,children:[n===`zh`?`中国版`:`China`,(0,Q.jsx)(Yh,{className:`size-3`})]})]}):null})(),(0,Q.jsxs)(`label`,{className:`block text-sm font-medium text-fg`,children:[(0,Q.jsx)(`span`,{className:`sr-only`,children:r.step2Placeholder}),(0,Q.jsx)(QP,{className:`mt-1`,value:c,onChange:e=>a({type:`patch`,patch:{apiKey:e}}),placeholder:r.step2Placeholder,labels:eF(m(n).providersSettings),inputClassName:`rounded-xl py-2.5 ring-accent focus:border-accent focus:ring-2 focus:ring-accent/30`})]}),(0,Q.jsx)(`p`,{className:`text-xs text-fg-muted`,children:r.step2SecurityNote}),u?(0,Q.jsx)(`p`,{className:`text-sm text-red-600 dark:text-red-400`,children:u}):null,(0,Q.jsxs)(`div`,{className:`flex flex-wrap justify-between gap-2`,children:[(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,disabled:l,onClick:()=>a({type:`patch`,patch:{step:`provider`}}),children:r.back}),(0,Q.jsx)(NP,{type:`button`,className:`bg-accent text-white hover:bg-accent/90`,disabled:l||!c.trim(),onClick:()=>void _(),children:r.continue})]})]}):null,o===`model`?(0,Q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h3`,{className:`text-base font-medium text-fg`,children:r.step3Title}),(0,Q.jsx)(`p`,{className:`mt-1 text-sm text-fg-muted`,children:r.step3Subtitle})]}),p?(0,Q.jsx)(`p`,{className:`text-sm text-fg-muted`,children:n===`zh`?`加载模型…`:`Loading models…`}):u&&d.length===0?(0,Q.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-red-600 dark:text-red-400`,children:u}),(0,Q.jsx)(`button`,{type:`button`,className:`text-left text-sm font-medium text-accent-fg hover:underline`,onClick:()=>s&&void g(s),children:n===`zh`?`重试`:`Retry`})]}):(0,Q.jsx)(g2,{models:d,selectedId:f,onSelectedChange:e=>a({type:`patch`,patch:{selectedModelId:e}})}),u&&d.length>0?(0,Q.jsx)(`p`,{className:`text-sm text-red-600 dark:text-red-400`,children:u}):null,(0,Q.jsxs)(`div`,{className:`flex flex-wrap justify-between gap-2`,children:[(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,disabled:l,onClick:()=>a({type:`patch`,patch:{step:`apiKey`}}),children:r.back}),(0,Q.jsx)(NP,{type:`button`,className:`bg-accent text-white hover:bg-accent/90`,disabled:l||!f||p,onClick:()=>void y(),children:r.startChatting})]})]}):null]})]})}function J2(e){if(!e||typeof e!=`object`)return!0;let t=e,n=t.providers,r=Object.values(n&&typeof n==`object`&&!Array.isArray(n)?n:{}).some(e=>typeof e==`string`&&HP(e)),i=t.agents,a=``;if(i&&typeof i==`object`&&!Array.isArray(i)){let e=i.defaults;if(e&&typeof e==`object`&&!Array.isArray(e)){let t=e.model;typeof t==`string`&&(a=t)}}let o=a.trim().length>0;return!r||!o}function Y2(e){let{enabled:t,ready:n,configError:r,modelsError:i,config:a,modelsData:o}=e;if(!t||!n||r||i)return!1;let s=J2(a),c=!Array.isArray(o)||o.length===0;return s||c}var X2=`xopc-onboarding-model-setup-dismissed`;function Z2(e){let t=(0,Z.c)(21),[n,r]=(0,Y.useState)(Q2),{data:i,error:a,isLoading:o,mutate:s}=DB(e),c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c={revalidateOnFocus:!1},t[0]=c):c=t[0];let{data:l,isLoading:u,error:d,mutate:f}=ie(e?p2:null,h2,c),p=!e||!o&&!u,m=i?.payload?.config,h;t[1]!==a||t[2]!==e||t[3]!==l||t[4]!==d||t[5]!==p||t[6]!==m?(h=Y2({enabled:e,ready:p,configError:a,modelsError:d,config:m,modelsData:l}),t[1]=a,t[2]=e,t[3]=l,t[4]=d,t[5]=p,t[6]=m,t[7]=h):h=t[7];let g=h,_;t[8]!==s||t[9]!==f?(_=async()=>{await Promise.all([s(),f()])},t[8]=s,t[9]=f,t[10]=_):_=t[10];let v=_,y,b;t[11]!==e||t[12]!==f?(y=()=>{if(!e)return;let t=()=>{f()};return window.addEventListener(`config-reload`,t),()=>window.removeEventListener(`config-reload`,t)},b=[e,f],t[11]=e,t[12]=f,t[13]=y,t[14]=b):(y=t[13],b=t[14]),(0,Y.useEffect)(y,b);let x;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(x=()=>{try{localStorage.setItem(X2,`1`)}catch{}r(!0)},t[15]=x):x=t[15];let S=x,C;return t[16]!==n||t[17]!==g||t[18]!==p||t[19]!==v?(C={needsSetup:g,ready:p,refresh:v,guideDismissed:n,dismissPermanently:S},t[16]=n,t[17]=g,t[18]=p,t[19]=v,t[20]=C):C=t[20],C}function Q2(){return typeof localStorage<`u`&&localStorage.getItem(`xopc-onboarding-model-setup-dismissed`)===`1`}function $2(){let e=(0,Z.c)(21),t=w(i4),n=v(r4),r;e[0]===n?r=e[1]:(r=m(n),e[0]=n,e[1]=r);let i=r,a=Dr(),o=Z2(!!t),s=!!t&&o.ready&&o.needsSetup&&!o.guideDismissed,c;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsx)(JL,{className:`fixed inset-0 z-[55] bg-scrim backdrop-blur-[2px]`}),e[2]=c):c=e[2];let l;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(l=u(`fixed left-1/2 top-1/2 z-[56] max-h-[min(100dvh-2rem,44rem)] w-[min(100%-2rem,36rem)] -translate-x-1/2 -translate-y-1/2 overflow-y-auto`,`rounded-xl p-2 outline-none sm:p-3`),e[3]=l):l=e[3];let d;e[4]===i.onboarding.title?d=e[5]:(d=(0,Q.jsx)(XL,{className:`sr-only`,children:i.onboarding.title}),e[4]=i.onboarding.title,e[5]=d);let f;e[6]===i.onboarding.subtitle?f=e[7]:(f=(0,Q.jsx)(ZL,{className:`sr-only`,children:i.onboarding.subtitle}),e[6]=i.onboarding.subtitle,e[7]=f);let p;e[8]!==o||e[9]!==a?(p=async()=>{await o.refresh(),a(`/chat`)},e[8]=o,e[9]=a,e[10]=p):p=e[10];let h;e[11]!==o.dismissPermanently||e[12]!==p?(h=(0,Q.jsx)(q2,{onComplete:p,onDismiss:o.dismissPermanently}),e[11]=o.dismissPermanently,e[12]=p,e[13]=h):h=e[13];let g;e[14]!==d||e[15]!==f||e[16]!==h?(g=(0,Q.jsxs)(qL,{children:[c,(0,Q.jsxs)(YL,{className:l,onPointerDownOutside:n4,onEscapeKeyDown:t4,onOpenAutoFocus:e4,children:[d,f,h]})]}),e[14]=d,e[15]=f,e[16]=h,e[17]=g):g=e[17];let _;return e[18]!==s||e[19]!==g?(_=(0,Q.jsx)(KL,{open:s,children:g}),e[18]=s,e[19]=g,e[20]=_):_=e[20],_}function e4(e){return e.preventDefault()}function t4(e){return e.preventDefault()}function n4(e){return e.preventDefault()}function r4(e){return e.language}function i4(e){return e.token}function a4(){let e=(0,Z.c)(3),t=Dr(),n,r;return e[0]===t?(n=e[1],r=e[2]):(n=()=>{let e=e=>{let n=e.detail;n?.sessionKey&&t(`/chat/${encodeURIComponent(n.sessionKey)}`)};return window.addEventListener(`navigate-to-chat`,e),()=>window.removeEventListener(`navigate-to-chat`,e)},r=[t],e[0]=t,e[1]=n,e[2]=r),(0,Y.useEffect)(n,r),null}function o4(){let e=(0,Z.c)(3),t=Dr(),n,r;return e[0]===t?(n=e[1],r=e[2]):(n=()=>{let e=e=>{let n=e.detail,r=typeof n?.path==`string`?n.path.trim():``;r&&t(r.startsWith(`/`)?r:`/${r}`)};return window.addEventListener(`extension-navigate`,e),()=>window.removeEventListener(`extension-navigate`,e)},r=[t],e[0]=t,e[1]=n,e[2]=r),(0,Y.useEffect)(n,r),null}function s4(){let e=(0,Z.c)(46),t=w(u4),{pathname:n}=wr(),r;e[0]===n?r=e[1]:(r=n.startsWith(`/settings`),e[0]=n,e[1]=r);let i=r,a=v(l4),o=gR(),s=_Z(c4);if(!t){let t;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsxs)(`div`,{className:`flex h-full min-h-0 w-full flex-1 flex-col overflow-hidden bg-surface-base`,children:[(0,Q.jsx)(JZ,{}),(0,Q.jsx)(kF,{})]}),e[2]=t):t=e[2],t}let c;e[3]===n?c=e[4]:(c=n.split(`/`)[1]??`root`,e[3]=n,e[4]=c);let l=c,d=l===`chat`||l===`notes`,f=a===`zh`?`跳到主要内容`:`Skip to main content`,p;e[5]===f?p=e[6]:(p=(0,Q.jsx)(`a`,{href:`#app-main-content`,className:`sr-only z-[80] rounded-lg bg-surface-panel px-3 py-2 text-sm text-fg shadow-elevated focus:not-sr-only focus:absolute focus:left-4 focus:top-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,children:f}),e[5]=f,e[6]=p);let m,h,g,_,y,b,x,S,C,T,E;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Q.jsx)(M0,{}),x=(0,Q.jsx)(V0,{}),S=(0,Q.jsx)(VZ,{}),C=(0,Q.jsx)(JZ,{}),T=(0,Q.jsx)(a4,{}),E=(0,Q.jsx)(o4,{}),m=(0,Q.jsx)(b1,{}),h=(0,Q.jsx)(g0,{}),g=(0,Q.jsx)(VF,{}),_=(0,Q.jsx)(TZ,{}),y=(0,Q.jsx)($2,{}),e[7]=m,e[8]=h,e[9]=g,e[10]=_,e[11]=y,e[12]=b,e[13]=x,e[14]=S,e[15]=C,e[16]=T,e[17]=E):(m=e[7],h=e[8],g=e[9],_=e[10],y=e[11],b=e[12],x=e[13],S=e[14],C=e[15],T=e[16],E=e[17]);let D;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,Q.jsx)(KZ,{}),e[18]=D):D=e[18];let O;e[19]===o?O=e[20]:(O=(0,Q.jsx)(hQ,{reminder:o}),e[19]=o,e[20]=O);let k;e[21]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,Q.jsx)(QZ,{}),e[21]=k):k=e[21];let A;e[22]===O?A=e[23]:(A=(0,Q.jsxs)(LF,{children:[D,O,k]}),e[22]=O,e[23]=A);let j;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,Q.jsx)(iW,{}),e[24]=j):j=e[24];let M;e[25]!==i||e[26]!==s?(M=!i&&!s?(0,Q.jsx)(kI,{}):null,e[25]=i,e[26]=s,e[27]=M):M=e[27];let N;e[28]!==s||e[29]!==l||e[30]!==d?(N=(0,Q.jsx)(`main`,{id:`app-main-content`,className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:s==null?(0,Q.jsx)(`div`,{className:u(`page-enter flex min-h-0 min-w-0 flex-1 flex-col overflow-x-hidden`,l===`settings`?`page-enter--gentle overflow-hidden`:d?`overflow-hidden`:`overflow-y-auto overscroll-contain [scrollbar-gutter:stable_both-edges]`),children:(0,Q.jsx)(fi,{})},l):(0,Q.jsx)(r2,{})}),e[28]=s,e[29]=l,e[30]=d,e[31]=N):N=e[31];let P;e[32]!==M||e[33]!==N?(P=(0,Q.jsxs)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden`,children:[M,N]}),e[32]=M,e[33]=N,e[34]=P):P=e[34];let F;e[35]===i?F=e[36]:(F=i?null:(0,Q.jsx)(vZ,{}),e[35]=i,e[36]=F);let I;e[37]!==P||e[38]!==F?(I=(0,Q.jsxs)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-row overflow-hidden`,children:[j,(0,Q.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 min-w-0 flex-col overflow-hidden bg-surface-panel`,children:(0,Q.jsxs)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-row overflow-hidden`,children:[P,F]})})]}),e[37]=P,e[38]=F,e[39]=I):I=e[39];let L;e[40]!==A||e[41]!==I?(L=(0,Q.jsxs)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden`,children:[A,I]}),e[40]=A,e[41]=I,e[42]=L):L=e[42];let R;return e[43]!==L||e[44]!==p?(R=(0,Q.jsxs)(`div`,{className:`flex h-full min-h-0 w-full flex-1 flex-col overflow-hidden bg-surface-base`,children:[p,b,x,S,C,T,E,m,h,g,_,y,L]}),e[43]=L,e[44]=p,e[45]=R):R=e[45],R}function c4(e){return e.path}function l4(e){return e.language}function u4(e){return e.token}var d4=(0,Y.memo)(function(e){let t=(0,Z.c)(19),{className:n}=e,r=v(f4),i;t[0]===r?i=t[1]:(i=m(r),t[0]=r,t[1]=i);let a=i.settingsMode,o=MQ(p4),s=MQ(m4),c;t[2]===n?c=t[3]:(c=u(`shrink-0 border-t border-edge-subtle/80 px-4 py-3`,n),t[2]=n,t[3]=c);let l;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(PD,{className:`mt-0.5 size-4 shrink-0 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}),t[4]=l):l=t[4];let d;t[5]===a.toggleLabel?d=t[6]:(d=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-sm font-medium text-fg`,children:a.toggleLabel}),t[5]=a.toggleLabel,t[6]=d);let f;t[7]===s?f=t[8]:(f=e=>s(e.target.checked),t[7]=s,t[8]=f);let p;t[9]!==a.toggleAria||t[10]!==o||t[11]!==f?(p=(0,Q.jsx)(`input`,{type:`checkbox`,className:`ui-checkbox mt-0.5 shrink-0`,checked:o,onChange:f,"aria-label":a.toggleAria}),t[9]=a.toggleAria,t[10]=o,t[11]=f,t[12]=p):p=t[12];let h;t[13]!==d||t[14]!==p?(h=(0,Q.jsxs)(`label`,{className:`flex cursor-pointer items-start gap-3 rounded-xl bg-surface-hover/35 px-3 py-2.5 transition-colors hover:bg-surface-hover/55 dark:bg-surface-hover/20 dark:hover:bg-surface-hover/35`,children:[l,d,p]}),t[13]=d,t[14]=p,t[15]=h):h=t[15];let g;return t[16]!==c||t[17]!==h?(g=(0,Q.jsx)(`div`,{className:c,children:h}),t[16]=c,t[17]=h,t[18]=g):g=t[18],g});function f4(e){return e.language}function p4(e){return e.mode===`advanced`}function m4(e){return e.setShowAdvanced}var h4={chat:nx,sessions:Z_,cron:hp,skills:Fv,goals:MA,channels:dw,agents:BM,logs:Xg,settingsOverview:ga,settingsCredentials:Tv,settingsAgentDefaults:PD,settingsAppearance:JS,settingsKeyboardShortcuts:Ev,settingsSystem:iD,settingsAppManagement:US,settingsAgentChat:wm,settingsAgentWorkspace:sv,settingsAgentBrowser:dv,settingsConnectors:dw,settingsAgentGeneration:PD,settingsAgentRuntime:mj,settingsAgentContext:Mv,settingsAgentMemory:Ol,settingsAgentTools:YN,settingsAgentSkills:el,settingsAgentSystemPrompt:bE,settingsAgents:BM,settingsProviders:Ip,settingsModels:wm,settingsImageModels:Sv,settingsChannels:dw,settingsVoice:sx,settingsGateway:dv,settingsHeartbeat:_v,settingsTunnel:zw,settingsSearch:DE,settingsShares:VE,settingsDreams:Px,settingsGoals:MA};function g4(e){let t=(0,Z.c)(3),{tab:n,className:r}=e,i=h4[n],a;return t[0]!==i||t[1]!==r?(a=(0,Q.jsx)(i,{className:r,strokeWidth:1.75,"aria-hidden":!0}),t[0]=i,t[1]=r,t[2]=a):a=t[2],a}function _4(e){let t=(0,Z.c)(42),{navLinkClassName:n,showAdvanced:r}=e,i=r===void 0?!0:r,a=v(v4),o;t[0]===a?o=t[1]:(o=m(a),t[0]=a,t[1]=o);let s=o,c=Kz(),l,u,d,f,p,h;if(t[2]!==s||t[3]!==n||t[4]!==i||t[5]!==c){h=Symbol.for(`react.early_return_sentinel`);bb0:{let e=y4(c);if(!i){h=null;break bb0}t[12]===s.settingsNavGroups.extensions?p=t[13]:(p=(0,Q.jsx)(`p`,{className:`px-4 pb-1 pt-2 text-[11px] font-semibold uppercase tracking-wider text-fg-muted`,children:s.settingsNavGroups.extensions}),t[12]=s.settingsNavGroups.extensions,t[13]=p),l=`flex flex-col gap-0.5`;let r;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Q.jsx)(Lv,{className:`size-5 shrink-0 opacity-90`,strokeWidth:1.75,"aria-hidden":!0}),t[14]=r):r=t[14];let a;t[15]===s.nav.apps?a=t[16]:(a=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:s.nav.apps}),t[15]=s.nav.apps,t[16]=a),t[17]!==n||t[18]!==a?(u=(0,Q.jsxs)(Ki,{to:`/settings/apps`,className:n,children:[r,a]}),t[17]=n,t[18]=a,t[19]=u):u=t[19];let o;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Q.jsx)(Ul,{className:`size-5 shrink-0 opacity-90`,strokeWidth:1.75,"aria-hidden":!0}),t[20]=o):o=t[20];let m;t[21]===s.extensionDebug.nav?m=t[22]:(m=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:s.extensionDebug.nav}),t[21]=s.extensionDebug.nav,t[22]=m),t[23]!==n||t[24]!==m?(d=(0,Q.jsxs)(Ki,{to:`/settings/extensions/debug`,className:n,children:[o,m]}),t[23]=n,t[24]=m,t[25]=d):d=t[25];let g;t[26]===n?g=t[27]:(g=e=>{let{extension:t,panel:r}=e;return(0,Q.jsxs)(Ki,{to:`/settings/ext/${t.id}/${r.id}`,className:n,children:[(0,Q.jsx)(Ow,{className:`size-5 shrink-0 opacity-90`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:r.title})]},`${t.id}:${r.id}`)},t[26]=n,t[27]=g),f=e.map(g)}t[2]=s,t[3]=n,t[4]=i,t[5]=c,t[6]=l,t[7]=u,t[8]=d,t[9]=f,t[10]=p,t[11]=h}else l=t[6],u=t[7],d=t[8],f=t[9],p=t[10],h=t[11];if(h!==Symbol.for(`react.early_return_sentinel`))return h;let g;if(t[28]!==n||t[29]!==c){let e;t[31]===n?e=t[32]:(e=e=>(0,Q.jsxs)(Ki,{to:`/settings/ext/${e.id}`,className:n,children:[(0,Q.jsx)(Ow,{className:`size-5 shrink-0 opacity-90`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.name})]},`${e.id}:config`),t[31]=n,t[32]=e),g=b4(c).map(e),t[28]=n,t[29]=c,t[30]=g}else g=t[30];let _;t[33]!==l||t[34]!==u||t[35]!==d||t[36]!==f||t[37]!==g?(_=(0,Q.jsxs)(`div`,{className:l,children:[u,d,f,g]}),t[33]=l,t[34]=u,t[35]=d,t[36]=f,t[37]=g,t[38]=_):_=t[38];let y;return t[39]!==_||t[40]!==p?(y=(0,Q.jsxs)(`div`,{children:[p,_]}),t[39]=_,t[40]=p,t[41]=y):y=t[41],y}function v4(e){return e.language}function y4(e){let t=[];for(let n of e){let e=n.ui?.contributions?.settingsPanels;if(e)for(let r of e)t.push({extension:n,panel:r})}return t.sort((e,t)=>{let n=e.panel.order??999,r=t.panel.order??999;return n===r?e.panel.title.localeCompare(t.panel.title):n-r}),t}function b4(e){return e.filter(e=>(!!e.hasConfigSchema||zz(e))&&!(Array.isArray(e.ui?.contributions?.settingsPanels)&&e.ui.contributions.settingsPanels.length>0))}var x4=[`model-strategy`,`generation`,`workspace`,`runtime`,`context`,`memory`,`tools`,`skills`,`system-prompt`];function S4(e){let t=(e??``).trim();return x4.includes(t)?t:`model-strategy`}var C4={settingsAgentDefaults:`model-strategy`,settingsAgentChat:`model-strategy`,settingsAgentGeneration:`generation`,settingsAgentWorkspace:`workspace`,settingsAgentRuntime:`runtime`,settingsAgentContext:`context`,settingsAgentMemory:`memory`,settingsAgentTools:`tools`,settingsAgentSkills:`skills`,settingsAgentSystemPrompt:`system-prompt`};function w4(e){return e in C4}function T4(e,t){if(!w4(e))return!1;let n=C4[e];return!n||!t.pathname.replace(/\/+$/,``).endsWith(`/settings/agent-defaults`)?!1:S4(new URLSearchParams(t.search).get(`tab`))===n}function E4(e,t){let n=globalThis.matchMedia(e);return n.addEventListener(`change`,t),()=>n.removeEventListener(`change`,t)}function D4(e){return globalThis.matchMedia(e).matches}function O4(e,t){let n=(0,Z.c)(5),r=t===void 0?!1:t,i,a;n[0]===e?(i=n[1],a=n[2]):(i=t=>E4(e,t),a=()=>D4(e),n[0]=e,n[1]=i,n[2]=a);let o;return n[3]===r?o=n[4]:(o=()=>r,n[3]=r,n[4]=o),(0,Y.useSyncExternalStore)(i,a,o)}var k4=`settingsBackPath`;function A4(e){if(!e||typeof e!=`object`)return`/chat`;let t=e[k4];if(typeof t!=`string`)return`/chat`;let n=t.trim();return!n.startsWith(`/`)||n.startsWith(`//`)?`/chat`:n}var j4=`xopc-web-settings-rail-width-px`;function M4(e){return Math.min(360,Math.max(192,Math.round(e)))}function N4(){try{let e=globalThis.localStorage?.getItem(j4);if(e==null)return M4(228);let t=Number.parseInt(e,10);return M4(Number.isFinite(t)?t:228)}catch{return M4(228)}}function P4(e){try{globalThis.localStorage?.setItem(j4,String(e))}catch{}}var F4=_(e=>({widthPx:N4(),setWidthPx:t=>{let n=M4(t);e({widthPx:n}),queueMicrotask(()=>P4(n))}}));function I4({isActive:e}){return u(`flex w-full shrink-0 items-center gap-2.5 rounded-xl px-4 py-2 text-sm font-medium leading-6 transition-colors duration-200 ease-out`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,e?`bg-accent-soft text-accent-fg`:`text-fg-muted hover:bg-surface-hover hover:text-fg`)}var L4=u(`inline-flex max-w-full items-center gap-2 rounded-xl px-3 py-2 text-sm font-medium transition-colors duration-200 ease-out`,`text-fg-muted hover:bg-surface-hover hover:text-fg`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`,`sm:px-4`),R4=u(`inline-flex size-10 shrink-0 items-center justify-center rounded-xl text-fg-muted transition-colors duration-200 ease-out`,`hover:bg-surface-hover hover:text-fg`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`,GF);function z4(e,t){return e.tabs.filter(e=>DQ(e,t)?!bF.has(e)||dI():!1)}function B4(e){let t=(0,Z.c)(26),{group:n,groupIndex:r,language:i,location:a,settingsMode:o}=e,s;t[0]===i?s=t[1]:(s=m(i),t[0]=i,t[1]=s);let c=s,l,d,f,h;if(t[2]!==n||t[3]!==r||t[4]!==i||t[5]!==a||t[6]!==c||t[7]!==o){h=Symbol.for(`react.early_return_sentinel`);bb0:{let e=z4(n,o);if(e.length===0){h=null;break bb0}let s=r===0&&`pt-0`,m;t[12]===s?m=t[13]:(m=u(`px-4 pb-1 pt-2 text-[11px] font-semibold uppercase tracking-wider text-fg-muted`,s),t[12]=s,t[13]=m);let g=c.settingsNavGroups[n.id];t[14]!==m||t[15]!==g?(f=(0,Q.jsx)(`p`,{className:m,children:g}),t[14]=m,t[15]=g,t[16]=f):f=t[16],l=`flex flex-col gap-0.5`;let _;t[17]!==i||t[18]!==a?(_=e=>(0,Q.jsxs)(Ki,{to:OF(e),state:a.state,onMouseEnter:()=>Dz(OF(e)),onFocus:()=>Dz(OF(e)),className:t=>{let{isActive:n}=t;return I4({isActive:w4(e)?T4(e,a):n})},children:[(0,Q.jsx)(g4,{tab:e,className:`size-5 shrink-0 opacity-90`}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:p(i,e)})]},e),t[17]=i,t[18]=a,t[19]=_):_=t[19],d=e.map(_)}t[2]=n,t[3]=r,t[4]=i,t[5]=a,t[6]=c,t[7]=o,t[8]=l,t[9]=d,t[10]=f,t[11]=h}else l=t[8],d=t[9],f=t[10],h=t[11];if(h!==Symbol.for(`react.early_return_sentinel`))return h;let g;t[20]!==l||t[21]!==d?(g=(0,Q.jsx)(`div`,{className:l,children:d}),t[20]=l,t[21]=d,t[22]=g):g=t[22];let _;return t[23]!==f||t[24]!==g?(_=(0,Q.jsxs)(`div`,{children:[f,g]}),t[23]=f,t[24]=g,t[25]=_):_=t[25],_}var V4=(0,Y.memo)(function(){let e=(0,Z.c)(98),t=v(H4),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n,i=wr(),a=MQ(U4),o=F4(W4),s=F4(G4),[c,l]=(0,Y.useState)(!1),[d,f]=(0,Y.useState)(!1),h=O4(yZ),g=h&&mI()?hI():``,_;e[2]===s?_=e[3]:(_=e=>{e.preventDefault();let t=e.currentTarget;t.setPointerCapture(e.pointerId),l(!0);let n=e.clientX,r=F4.getState().widthPx,i=e.pointerId,a=e=>{s(r+(e.clientX-n))},o=()=>{try{t.releasePointerCapture(i)}catch{}l(!1),window.removeEventListener(`pointermove`,a),window.removeEventListener(`pointerup`,o),window.removeEventListener(`pointercancel`,o)};window.addEventListener(`pointermove`,a),window.addEventListener(`pointerup`,o),window.addEventListener(`pointercancel`,o)},e[2]=s,e[3]=_);let y=_,b;e[4]===i.state?b=e[5]:(b=A4(i.state),e[4]=i.state,e[5]=b);let x=b,S=r.sidebar.backToApp,C;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(C=u(L4,GF),e[6]=C):C=e[6];let w;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Q.jsx)(Io,{className:`size-4 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),e[7]=w):w=e[7];let T;e[8]===S?T=e[9]:(T=(0,Q.jsx)(`span`,{children:S}),e[8]=S,e[9]=T);let E;e[10]!==S||e[11]!==x||e[12]!==T?(E=(0,Q.jsxs)(Gi,{to:x,replace:!1,className:C,title:S,children:[w,T]}),e[10]=S,e[11]=x,e[12]=T,e[13]=E):E=e[13];let D=E,O;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(O=[...SF,...dI()?[xF]:[]],e[14]=O):O=e[14];let k=O,A;e[15]!==i||e[16]!==a?(A=k.flatMap(e=>z4(e,a)).find(e=>w4(e)?T4(e,i):i.pathname===OF(e)),e[15]=i,e[16]=a,e[17]=A):A=e[17];let j=A,M;e[18]!==i.pathname||e[19]!==a?(M=OQ(i.pathname,a),e[18]=i.pathname,e[19]=a,e[20]=M):M=e[20];let N=!M,P;e[21]!==j||e[22]!==t||e[23]!==r.nav.settings?(P=j?p(t,j):r.nav.settings,e[21]=j,e[22]=t,e[23]=r.nav.settings,e[24]=P):P=e[24];let F=P,I;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(I=()=>{f(!1)},e[25]=I):I=e[25];let L;e[26]!==i.pathname||e[27]!==i.search?(L=[i.pathname,i.search],e[26]=i.pathname,e[27]=i.search,e[28]=L):L=e[28],(0,Y.useEffect)(I,L);let R=r.nav.settings,z;e[29]!==t||e[30]!==i||e[31]!==a?(z=k.map((e,n)=>(0,Q.jsx)(B4,{group:e,groupIndex:n,language:t,location:i,settingsMode:a},e.id)),e[29]=t,e[30]=i,e[31]=a,e[32]=z):z=e[32];let B=a===`advanced`,V;e[33]===B?V=e[34]:(V=(0,Q.jsx)(_4,{navLinkClassName:I4,showAdvanced:B}),e[33]=B,e[34]=V);let H;e[35]!==z||e[36]!==V?(H=(0,Q.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[z,V]}),e[35]=z,e[36]=V,e[37]=H):H=e[37];let U;e[38]!==r.nav.settings||e[39]!==H?(U=(0,Q.jsx)(`nav`,{className:`min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-4 pb-4 pt-2`,"aria-label":R,children:H}),e[38]=r.nav.settings,e[39]=H,e[40]=U):U=e[40];let W;e[41]===Symbol.for(`react.memo_cache_sentinel`)?(W=(0,Q.jsx)(d4,{}),e[41]=W):W=e[41];let G;e[42]===U?G=e[43]:(G=(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[U,W]}),e[42]=U,e[43]=G);let K=G,ee;e[44]===Symbol.for(`react.memo_cache_sentinel`)?(ee=u(`flex shrink-0 items-center gap-2 border-b border-edge-subtle bg-surface-panel px-3 py-2 md:hidden`,WF),e[44]=ee):ee=e[44];let te;e[45]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,Q.jsx)(Io,{className:`size-5`,strokeWidth:1.75,"aria-hidden":!0}),e[45]=te):te=e[45];let ne;e[46]!==S||e[47]!==x?(ne=(0,Q.jsx)(Gi,{to:x,className:R4,title:S,"aria-label":S,children:te}),e[46]=S,e[47]=x,e[48]=ne):ne=e[48];let q;e[49]===r.nav.settings?q=e[50]:(q=(0,Q.jsx)(`p`,{className:`text-[11px] font-medium uppercase tracking-wider text-fg-subtle`,children:r.nav.settings}),e[49]=r.nav.settings,e[50]=q);let re;e[51]===F?re=e[52]:(re=(0,Q.jsx)(`h1`,{className:`truncate text-base font-semibold tracking-tight text-fg`,children:F}),e[51]=F,e[52]=re);let ie;e[53]!==q||e[54]!==re?(ie=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[q,re]}),e[53]=q,e[54]=re,e[55]=ie):ie=e[55];let ae;e[56]===Symbol.for(`react.memo_cache_sentinel`)?(ae=()=>f(!0),e[56]=ae):ae=e[56];let J;e[57]===Symbol.for(`react.memo_cache_sentinel`)?(J=(0,Q.jsx)(Eb,{className:`size-5`,strokeWidth:1.75,"aria-hidden":!0}),e[57]=J):J=e[57];let oe;e[58]!==r.nav.settings||e[59]!==d?(oe=(0,Q.jsx)(`button`,{type:`button`,className:R4,onClick:ae,"aria-label":r.nav.settings,"aria-expanded":d,children:J}),e[58]=r.nav.settings,e[59]=d,e[60]=oe):oe=e[60];let se;e[61]!==ne||e[62]!==ie||e[63]!==oe?(se=(0,Q.jsxs)(`div`,{className:ee,children:[ne,ie,oe]}),e[61]=ne,e[62]=ie,e[63]=oe,e[64]=se):se=e[64];let ce;e[65]!==D||e[66]!==r.nav.settings||e[67]!==d||e[68]!==K?(ce=d?(0,Q.jsxs)(`div`,{className:`fixed inset-0 z-60 md:hidden`,role:`presentation`,children:[(0,Q.jsx)(`button`,{type:`button`,className:`absolute inset-0 bg-scrim/45 backdrop-blur-[1px]`,onClick:()=>f(!1),"aria-label":r.nav.settings}),(0,Q.jsxs)(`aside`,{className:`absolute inset-y-0 left-0 flex w-[min(20rem,calc(100vw-3rem))] flex-col bg-surface-base shadow-float`,children:[(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between gap-2 px-4 pb-2 pt-4`,children:[D,(0,Q.jsx)(`button`,{type:`button`,className:R4,onClick:()=>f(!1),"aria-label":r.nav.settings,children:(0,Q.jsx)(ZN,{className:`size-5`,strokeWidth:1.75,"aria-hidden":!0})})]}),K]})]}):null,e[65]=D,e[66]=r.nav.settings,e[67]=d,e[68]=K,e[69]=ce):ce=e[69];let le=c&&`settings-page-rail-resizing`,ue;e[70]===le?ue=e[71]:(ue=u(`relative hidden shrink-0 flex-col bg-surface-base md:flex`,`md:h-full md:min-h-0 md:shrink-0 md:overflow-hidden`,`settings-page-rail`,le),e[70]=le,e[71]=ue);let de=`${o}px`,fe;e[72]===de?fe=e[73]:(fe={"--settings-rail-px":de},e[72]=de,e[73]=fe);let pe=fe,me;e[74]===h?me=e[75]:(me=h&&mI()?`pr-4`:`px-4`,e[74]=h,e[75]=me);let he=u(`flex shrink-0 items-center justify-start pb-2 pt-4`,WF,g,me),ge;e[76]!==D||e[77]!==he?(ge=(0,Q.jsx)(`div`,{className:he,children:D}),e[76]=D,e[77]=he,e[78]=ge):ge=e[78];let _e=r.sidebar.resizeHandleAria,X=c&&`bg-surface-hover/30 before:bg-edge/80! dark:before:bg-edge/85!`,ve;e[79]===X?ve=e[80]:(ve=u(`pointer-events-auto absolute right-0 top-0 z-10 hidden h-full w-2 shrink-0 cursor-col-resize md:block`,`before:content-[''] before:pointer-events-none before:absolute before:left-1/2 before:top-0 before:z-0 before:h-full before:w-px before:-translate-x-1/2`,`before:bg-transparent before:transition-[background-color] before:duration-150`,`hover:bg-surface-hover/20 hover:before:bg-edge/65 dark:hover:before:bg-edge/75`,X,`transition-[background-color] duration-150`,`touch-none select-none`,GF),e[79]=X,e[80]=ve);let ye;e[81]!==r.sidebar.resizeHandleAria||e[82]!==y||e[83]!==ve?(ye=(0,Q.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":_e,onPointerDown:y,className:ve}),e[81]=r.sidebar.resizeHandleAria,e[82]=y,e[83]=ve,e[84]=ye):ye=e[84];let be;e[85]!==K||e[86]!==ue||e[87]!==pe||e[88]!==ge||e[89]!==ye?(be=(0,Q.jsxs)(`div`,{className:ue,style:pe,children:[ge,K,ye]}),e[85]=K,e[86]=ue,e[87]=pe,e[88]=ge,e[89]=ye,e[90]=be):be=e[90];let xe;e[91]===N?xe=e[92]:(xe=(0,Q.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain bg-surface-panel scrollbar-gutter-both`,children:N?(0,Q.jsx)(di,{to:`/settings/overview`,replace:!0}):(0,Q.jsx)(fi,{})}),e[91]=N,e[92]=xe);let Se;return e[93]!==se||e[94]!==ce||e[95]!==be||e[96]!==xe?(Se=(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden md:flex-row`,children:[se,ce,be,xe]}),e[93]=se,e[94]=ce,e[95]=be,e[96]=xe,e[97]=Se):Se=e[97],Se});function H4(e){return e.language}function U4(e){return e.mode}function W4(e){return e.widthPx}function G4(e){return e.setWidthPx}var K4=(0,Y.createContext)(`default`);function q4(e,t){return e===`modal`||t===`modal`?`modal`:e===`page`||t===`page`?`page`:`default`}function J4(e){let t=(0,Z.c)(6),{layer:n,children:r}=e,i=(0,Y.useContext)(K4),a;t[0]!==n||t[1]!==i?(a=q4(i,n),t[0]=n,t[1]=i,t[2]=a):a=t[2];let o;return t[3]!==r||t[4]!==a?(o=(0,Q.jsx)(K4.Provider,{value:a,children:r}),t[3]=r,t[4]=a,t[5]=o):o=t[5],o}function Y4(){return(0,Y.useContext)(K4)}var X4=(0,Y.memo)(function(e){let t=(0,Z.c)(26),{children:n}=e,r=Dr(),i=wr(),a=v(Z4),o;t[0]===a?o=t[1]:(o=m(a),t[0]=a,t[1]=o);let s=o,c;t[2]===i.state?c=t[3]:(c=A4(i.state),t[2]=i.state,t[3]=c);let l=c,d=O4(yZ),f,p;t[4]!==l||t[5]!==r?(f=()=>{let e=e=>{e.key===`Escape`&&(e.stopPropagation(),r(l))};return window.addEventListener(`keydown`,e,!0),()=>window.removeEventListener(`keydown`,e,!0)},p=[r,l],t[4]=l,t[5]=r,t[6]=f,t[7]=p):(f=t[6],p=t[7]),(0,Y.useEffect)(f,p);let h;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(h=[],t[8]=h):h=t[8],(0,Y.useEffect)(Q4,h);let g;t[9]!==l||t[10]!==r?(g=(0,Q.jsx)(`div`,{role:`presentation`,className:`absolute inset-0 z-40 bg-scrim/55 backdrop-blur-[2px] dark:bg-black/50`,onClick:()=>r(l)}),t[9]=l,t[10]=r,t[11]=g):g=t[11];let _=g,y;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(y=u(`relative z-50 flex min-h-0 flex-1 flex-col overflow-hidden bg-surface-panel`,`max-md:shadow-elevated`,`md:m-3 md:max-h-[calc(100dvh-1.5rem)] md:rounded-2xl md:border md:border-edge md:shadow-elevated`,`settings-sheet-enter`),t[12]=y):y=t[12];let b;t[13]===n?b=t[14]:(b=(0,Q.jsx)(J4,{layer:`page`,children:n}),t[13]=n,t[14]=b);let x;t[15]!==s.nav.settings||t[16]!==b?(x=(0,Q.jsx)(`div`,{className:y,role:`dialog`,"aria-modal":`true`,"aria-label":s.nav.settings,children:b}),t[15]=s.nav.settings,t[16]=b,t[17]=x):x=t[17];let S=x,C;t[18]!==S||t[19]!==_?(C=(0,Q.jsxs)(Q.Fragment,{children:[_,S]}),t[18]=S,t[19]=_,t[20]=C):C=t[20];let w=C;if(d){let e;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(e=u(`fixed inset-0 flex min-h-0 flex-col bg-surface-base`,bZ),t[21]=e):e=t[21];let n;return t[22]===w?n=t[23]:(n=(0,ua.createPortal)((0,Q.jsx)(`div`,{className:e,children:w}),document.body),t[22]=w,t[23]=n),n}let T;return t[24]===w?T=t[25]:(T=(0,Q.jsx)(`div`,{className:`relative flex min-h-0 min-h-[100dvh] flex-1 flex-col md:min-h-0`,children:w}),t[24]=w,t[25]=T),T});function Z4(e){return e.language}function Q4(){let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}}var $4=`image/*,application/pdf,.docx,.pptx,.xlsx,.xls,.txt,.md,.json,.xml,.html,.css,.js,.ts,.jsx,.tsx,.yml,.yaml,.zip`,e3=$4.split(`,`).flatMap(e=>{let t=e.trim();return t?[t]:[]});function t3(e){return`${e.name}\0${e.size}`}function n3(e){let t=(e.type||``).toLowerCase(),n=e.name.toLowerCase();for(let e of e3){let r=e.toLowerCase();if(r.endsWith(`/*`)){let e=r.slice(0,-1);if(t.startsWith(e))return!0}else if(e.startsWith(`.`)){if(n.endsWith(e.toLowerCase()))return!0}else if(t===r)return!0}return!1}function r3(e){if(!e)return[];let t=new Set,n=[],r=e=>{if(!e||e.size===0)return;let r=t3(e);t.has(r)||(t.add(r),n.push(e))},{files:i}=e;if(i?.length)for(let e=0;e<i.length;e++)r(i.item(e));for(let t of Array.from(e.items??[]))t.kind===`file`&&r(t.getAsFile());return n}var i3=String.raw`a-zA-Z0-9_./\-\p{L}\p{N}`,a3=`[${i3}]+`,o3=String.raw`(?:[^"\\]|\\.)*`,s3=String.raw`((?:[^"\\]|\\.)*)`,c3=RegExp(`^[${i3}]+$`,`u`);function l3(e){return e.replace(/\\(.)/g,(e,t)=>t)}var u3=RegExp(`@file:(?:"${s3}"|(${a3}))`,`gu`),d3=RegExp(`(@file:(?:"${o3}"|${a3}))$`,`u`),f3=RegExp(`(@file:(?:"${o3}"|${a3}))([ \\t\\f\\v]*)$`,`u`),p3=`(?:"${o3}"|${a3})`;function m3(e){let t=e.lastIndexOf(`@file:`);return t===-1?!1:RegExp(`^@file:${p3}$`,`u`).test(e.slice(t))}function h3(e){let t=e[2];if(t!=null&&t!==``)return t;let n=e[1];return n==null?``:l3(n)}function g3(e){return c3.test(e)?e:`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`}function _3(){return new RegExp(u3.source,`gu`)}var v3=RegExp(`^@file:(?:"${s3}"|(${a3}))`,`u`),y3=``,b3=``,x3=RegExp(`^\\/skill:(${qQ})`);function S3(e){return!!e.dataset.skill}function C3(e){return!!e.dataset.file}function w3(e){return e.dataset.slashCommand!=null&&e.dataset.slashCommand!==``}function T3(e){let t=e.replace(/\/$/,``);return`@${t.split(`/`).pop()??t}`}function E3(e){let t=``;for(let n of e)if(n){if(t.length>0){let e=t[t.length-1],r=n[0];if(!/\s/.test(e)&&!/\s/.test(r)){let e=m3(t)||/\/skill:\S+$/.test(t)||c$(t),r=n.startsWith(`@file:`)||n.startsWith(`/skill:`)||l$(n);(e||r)&&(t+=` `)}}t+=n}return t}function D3(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;let t=e.tagName;return t===`DIV`||t===`P`||t===`PRE`||t===`BLOCKQUOTE`}function O3(e,t){if(e.nodeType===Node.TEXT_NODE)t.push((e.textContent??``).replaceAll(y3,``));else if(e.nodeType===Node.ELEMENT_NODE){let n=e;if(S3(n)){let e=n.dataset.skill??``;e&&t.push(`/skill:${e}`)}else if(C3(n)){let e=n.dataset.file??``;e&&t.push(`@file:${g3(e)}`)}else if(w3(n)){let e=n.dataset.slashCommand??``;e&&t.push(`/${e}`)}else n.tagName===`BR`?t.push(`
|
|
92
|
+
`):k3(n,t)}}function k3(e,t){let n=Array.from(e.childNodes);for(let e=0;e<n.length;e++){let r=n[e],i=n[e+1];O3(r,t),i!=null&&(D3(r)||D3(i))&&t.push(`
|
|
93
|
+
`)}}function A3(e,t){k3(e,t)}function j3(e){let t=[];return A3(e,t),E3(t).replaceAll(b3,``)}function M3(e){let t=window.getSelection();if(!t)return;let n=document.createRange(),r=e.firstChild;r&&r.nodeType===Node.TEXT_NODE?(n.setStart(r,0),n.collapse(!0)):(n.setStart(e,0),n.collapse(!0)),t.removeAllRanges(),t.addRange(n)}function N3(e){let t=j3(e);return t.length>0||e.childNodes.length===0?t:(G3(e,``),M3(e),``)}function P3(e){let t=new Set,n=YQ(),r;for(;(r=n.exec(e))!==null;){let e=r[1];e&&t.add(e)}return t}function F3(e){let t=window.getSelection();if(!t||t.rangeCount===0)return j3(e).length;let n=t.getRangeAt(0),r=document.createTextNode(b3);try{n.insertNode(r)}catch{return j3(e).length}let i=[];A3(e,i);let a=E3(i);r.parentNode?.removeChild(r);let o=a.indexOf(b3);return o>=0?o:a.replaceAll(b3,``).length}function I3(e,t){let n=document.createElement(`span`);n.contentEditable=`false`,n.dataset.skill=t,n.className=`chat-skill-pill`,n.textContent=`/${t}`,e.appendChild(n),e.appendChild(document.createTextNode(y3))}function L3(e,t){let n=document.createElement(`span`);n.contentEditable=`false`,n.dataset.file=t,n.className=`chat-file-pill`,n.textContent=T3(t),e.appendChild(n),e.appendChild(document.createTextNode(y3))}function R3(e,t){let n=document.createElement(`span`);n.contentEditable=`false`,n.dataset.slashCommand=t,n.className=`chat-command-pill`,n.textContent=`/${t}`,e.appendChild(n),e.appendChild(document.createTextNode(y3))}function z3(e){let t=[],n=n=>{let r,i=new RegExp(n.source,n.flags);for(;(r=i.exec(e))!==null;)t.push({start:r.index,end:r.index+r[0].length})};n(YQ()),n(_3());for(let n of s$(e))t.push(n);return t.sort((e,t)=>e.start-t.start),t}function B3(e,t){for(let{start:n,end:r}of z3(e))if(t>n&&t<=r)return{wire:e.slice(0,n)+e.slice(r),caret:n};return null}function V3(e,t){if(t<=0)return null;let n=e.slice(0,t),r=r=>{let i=n.match(r);if(i?.[1]){let r=i[1],a=n.length-r.length;return{wire:e.slice(0,a)+e.slice(t),caret:a}}return null},i=[XQ,d3];for(let e of i){let t=r(e);if(t)return t}let a=f$(n);if(a){let n=a.tokenStart;return{wire:e.slice(0,n)+e.slice(t),caret:n}}if(t===e.length){let r=[ZQ,f3];for(let i of r){let r=n.match(i);if(r?.[1]){let i=r[0],a=n.length-i.length;return{wire:e.slice(0,a)+e.slice(t),caret:a}}}let i=p$(n);if(i){let n=i.tokenStart;return{wire:e.slice(0,n)+e.slice(t),caret:n}}}return null}function H3(e){let t=window.getSelection();if(!t||t.rangeCount===0||!t.isCollapsed)return!1;let n=t.getRangeAt(0),r=j3(e),i=F3(e);i===0&&r.length>0&&n.startContainer===e&&n.startOffset===e.childNodes.length&&(i=r.length);let a=B3(r,i);return a||=V3(r,i),a?(G3(e,a.wire,a.caret),e.dispatchEvent(new InputEvent(`input`,{bubbles:!0})),!0):!1}function U3(e,t){let n=e.slice(t);return x3.test(n)||v3.test(n)?!0:o$(e,t)!=null}function W3(e,t,n){let r=t.slice(n),i=[],a=r.match(x3);a?.[0]&&i.push({len:a[0].length,apply:()=>I3(e,a[1]??``)});let o=r.match(v3);o?.[0]&&i.push({len:o[0].length,apply:()=>L3(e,h3(o))});let s=o$(t,n);if(s&&i.push({len:s.len,apply:()=>R3(e,s.matchedKey)}),i.length===0){let r=n+1;for(;r<t.length&&!U3(t,r);)r+=1;let i=t.slice(n,r);return i&&e.appendChild(document.createTextNode(i)),r}return i.sort((e,t)=>t.len-e.len),i[0].apply(),n+i[0].len}function G3(e,t,n){e.replaceChildren();let r=t;if(n!==void 0){let e=Math.max(0,Math.min(n,t.length));r=t.slice(0,e)+b3+t.slice(e)}let i=0;for(;i<r.length;)i=W3(e,r,i);if(n===void 0)return;let a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),o;for(;o=a.nextNode();){let e=o.textContent??``,t=-1;for(let n=0;n<e.length;n++)if(e[n]===b3){t=n;break}if(t>=0){let n=o;n.textContent=e.slice(0,t)+e.slice(t+1);let r=window.getSelection(),i=document.createRange();i.setStart(n,t),i.collapse(!0),r?.removeAllRanges(),r?.addRange(i);return}}}function K3(e,t){for(let n of e)if(n.isActive()&&n.handleKey(t))return!0;return!1}function q3(e,t){e.classList.toggle(`composer-input-empty`,t.length===0)}function J3(e){let{disabled:t,autoFocusKey:n,welcomeDraftSeed:r,onExternalTextReplace:i,shouldSyncSelectionRef:a}=e,[o,s]=(0,Y.useState)(``),[c,l]=(0,Y.useState)(0),[u,d]=(0,Y.useState)(!1),f=(0,Y.useRef)(null),p=(0,Y.useRef)(o),m=(0,Y.useRef)(c),h=(0,Y.useRef)(0),g=(0,Y.useRef)(!0),_=(0,Y.useRef)(null);p.current=o,m.current=c;let v=(0,Y.useCallback)(()=>{let e=f.current;e&&(e.style.height=`auto`,e.style.height=`${Math.min(e.scrollHeight,128)}px`)},[]),y=(0,Y.useCallback)(e=>{let t=e?.nextText??``,n=e?.caretOffset??t.length;s(t),p.current=t,l(n),requestAnimationFrame(()=>{let r=f.current;r&&(G3(r,t,n),q3(r,t),e?.focus&&r.focus({preventScroll:!0})),v()})},[v]);(0,Y.useEffect)(()=>{v()},[o,v]);let b=(0,Y.useRef)(r?.id??0);return r&&r.id!==b.current&&(b.current=r.id,h.current=r.id,i?.(),y({nextText:r.text,focus:!0})),(0,Y.useLayoutEffect)(()=>{if(t){g.current=!0;return}let e=n??null,r=g.current,i=e!=null&&e!==_.current;if(!r&&!i)return;g.current=!1,e!=null&&(_.current=e);let a=requestAnimationFrame(()=>{typeof globalThis.matchMedia==`function`&&globalThis.matchMedia(`(hover: hover) and (pointer: fine)`).matches&&f.current?.focus({preventScroll:!0})});return()=>cancelAnimationFrame(a)},[t,n]),(0,Y.useEffect)(()=>{let e=f.current;if(!e)return;let t=!1,n=null,r=!1,i=-1,o=()=>{if(n=null,r=!1,document.activeElement!==e)return;let t=F3(e);m.current=t,t!==i&&(i=t,a.current&&l(t))},s=()=>{t&&(r||(r=!0,n=requestAnimationFrame(o)))},c=()=>{t||(t=!0,document.addEventListener(`selectionchange`,s),s())},u=()=>{t&&(t=!1,document.removeEventListener(`selectionchange`,s),n!=null&&cancelAnimationFrame(n),n=null,r=!1)},d=()=>c(),p=()=>u();return e.addEventListener(`focus`,d),e.addEventListener(`blur`,p),document.activeElement===e&&c(),()=>{e.removeEventListener(`focus`,d),e.removeEventListener(`blur`,p),u()}},[a]),(0,Y.useEffect)(()=>{let e=e=>{let t=e.detail;typeof t?.text!=`string`||t.text.length===0||(i?.(),y({nextText:t.text,focus:!0}))};return window.addEventListener(N$,e),()=>window.removeEventListener(N$,e)},[i,y]),{value:o,cursor:c,isComposing:u,setIsComposing:d,editorRef:f,valueRef:p,setValue:s,setCursor:l,adjustHeight:v,resetEditor:y,onWireInput:(0,Y.useCallback)((e,t)=>{p.current=e,s(e),l(t)},[])}}var Y3=(0,Y.memo)(function(e){let t=(0,Z.c)(26),{editorRef:n,disabled:r,placeholder:i,onWireInput:a,adjustHeight:o,processFiles:s,setIsComposing:c,kbdRef:l,chatMessages:d}=e,f=(0,Y.useRef)(!1),p=!r,m;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(m=u(`composer-input box-border m-0 max-h-32 min-h-10 w-full overflow-y-auto border-0 bg-transparent px-0 py-2 text-[0.9375rem] leading-6 text-fg focus:outline-none focus:ring-0 disabled:opacity-50`,`composer-input-empty`),t[0]=m):m=t[0];let h;t[1]!==o||t[2]!==a?(h=e=>{let t=e.currentTarget,n=f.current?j3(t):N3(t);q3(t,n),a(n,F3(t)),o()},t[1]=o,t[2]=a,t[3]=h):h=t[3];let g;t[4]===c?g=t[5]:(g=()=>{f.current=!0,c(!0)},t[4]=c,t[5]=g);let _;t[6]!==o||t[7]!==n||t[8]!==a||t[9]!==c?(_=()=>{f.current=!1,c(!1),queueMicrotask(()=>{let e=n.current;if(!e||f.current)return;let t=N3(e);q3(e,t),a(t,F3(e)),o()})},t[6]=o,t[7]=n,t[8]=a,t[9]=c,t[10]=_):_=t[10];let v;t[11]!==d||t[12]!==s?(v=async e=>{let t=e.clipboardData,n=r3(t??null),r=n.filter(n3);if(r.length>0){e.preventDefault(),await s(r);return}if(n.length>0){e.preventDefault(),IU(`warning`,d.clipboardFileTypeUnsupported);return}let i=t?.getData(`text/plain`);i&&(e.preventDefault(),document.execCommand(`insertText`,!1,i))},t[11]=d,t[12]=s,t[13]=v):v=t[13];let y;t[14]!==n||t[15]!==l?(y=e=>{let t=l.current;if(e.key===`Backspace`&&!t.isComposing&&n.current&&H3(n.current)){e.preventDefault();return}if(K3(t.adapters,e))return;if(!t.isComposing&&(e.key===`ArrowUp`||e.key===`ArrowDown`)){let n=e.key===`ArrowUp`?`up`:`down`;if(t.tryInputHistoryArrow?.(n)){e.preventDefault(),t.adjustHeight();return}}if(e.key===`Escape`&&!t.isComposing&&t.editingFollowUpId){e.preventDefault(),t.onCancelEditFollowUp?.();return}if(e.key===`Enter`&&e.shiftKey&&!t.isComposing){e.preventDefault(),document.execCommand(`insertText`,!1,`
|
|
94
|
+
`);return}let r=typeof KeyboardEvent<`u`&&e.nativeEvent instanceof KeyboardEvent&&e.nativeEvent.isComposing;if(e.key===`Enter`&&!e.shiftKey&&!t.isComposing&&!r){e.preventDefault();let n=!!(t.valueRef.current.trim()||t.attachmentsLen>0);if(t.runBusy||t.pendingFollowUpsCount>0){if((e.metaKey||e.ctrlKey)&&n){t.interruptDraft?.();return}if(!e.metaKey&&!e.ctrlKey&&!e.altKey&&n){t.flushSteeringDraft?.();return}return}n&&t.send()}},t[14]=n,t[15]=l,t[16]=y):y=t[16];let b;return t[17]!==n||t[18]!==i||t[19]!==p||t[20]!==h||t[21]!==g||t[22]!==_||t[23]!==v||t[24]!==y?(b=(0,Q.jsx)(`div`,{ref:n,role:`textbox`,"aria-multiline":`true`,"aria-label":i,contentEditable:p,suppressContentEditableWarning:!0,spellCheck:!0,className:m,"data-placeholder":i,onInput:h,onCompositionStart:g,onCompositionEnd:_,onPaste:v,onKeyDown:y}),t[17]=n,t[18]=i,t[19]=p,t[20]=h,t[21]=g,t[22]=_,t[23]=v,t[24]=y,t[25]=b):b=t[25],b}),X3=(0,Y.memo)(function(e){let t=(0,Z.c)(55),{items:n,disabled:r,editingFollowUpId:i,onEditInComposer:a,onRemove:o,onMove:s,onReorder:c,onSteer:l,steeringBusyId:d}=e,f=v(Z3),p;t[0]===f?p=t[1]:(p=m(f),t[0]=f,t[1]=p);let h=p,g=Q3,_;t[2]===c?_=t[3]:(_=e=>t=>{t.preventDefault();let n=t.dataTransfer.getData(`text/plain`);if(!n.startsWith(`xopc-followup:`))return;let r=Number.parseInt(n.slice(14),10);Number.isNaN(r)||r===e||c(r,e)},t[2]=c,t[3]=_);let y=_;if(n.length===0)return null;let b=h.chat.followUpQueueAria,x;t[4]===h.chat.followUpQueueHeading?x=t[5]:(x=(0,Q.jsx)(`span`,{className:`text-[0.65rem] font-medium uppercase tracking-wide text-fg-muted`,children:h.chat.followUpQueueHeading}),t[4]=h.chat.followUpQueueHeading,t[5]=x);let S;t[6]===n.length?S=t[7]:(S=(0,Q.jsxs)(`span`,{className:`tabular-nums text-[0.65rem] text-fg-muted`,children:[n.length,`/`,10]}),t[6]=n.length,t[7]=S);let C;t[8]!==x||t[9]!==S?(C=(0,Q.jsxs)(`div`,{className:`flex items-center justify-between gap-2 px-1 pb-0.5`,children:[x,S]}),t[8]=x,t[9]=S,t[10]=C):C=t[10];let w;if(t[11]!==r||t[12]!==i||t[13]!==n||t[14]!==h.chat.followUpQueueAttachmentOnly||t[15]!==h.chat.followUpQueueClickToEdit||t[16]!==h.chat.followUpQueueDrag||t[17]!==h.chat.followUpQueueEmptyPreview||t[18]!==h.chat.followUpQueueMoveDown||t[19]!==h.chat.followUpQueueMoveUp||t[20]!==h.chat.followUpQueueRemove||t[21]!==h.chat.followUpQueueSteerNow||t[22]!==y||t[23]!==a||t[24]!==s||t[25]!==o||t[26]!==l||t[27]!==d){let e;t[29]!==r||t[30]!==i||t[31]!==n.length||t[32]!==h.chat.followUpQueueAttachmentOnly||t[33]!==h.chat.followUpQueueClickToEdit||t[34]!==h.chat.followUpQueueDrag||t[35]!==h.chat.followUpQueueEmptyPreview||t[36]!==h.chat.followUpQueueMoveDown||t[37]!==h.chat.followUpQueueMoveUp||t[38]!==h.chat.followUpQueueRemove||t[39]!==h.chat.followUpQueueSteerNow||t[40]!==y||t[41]!==a||t[42]!==s||t[43]!==o||t[44]!==l||t[45]!==d?(e=(e,t)=>{let c=!e.attachments?.length&&e.text.trim().length>0,f=d===e.id,p=e.text.trim();return!p&&e.attachments?.length&&(p=e.attachments[0]?.name?.trim()||h.chat.followUpQueueAttachmentOnly),p||=h.chat.followUpQueueEmptyPreview,(0,Q.jsxs)(`div`,{role:`listitem`,onDragOver:g,onDrop:r?void 0:y(t),className:u(`flex h-7 items-center gap-1 rounded border px-1`,i===e.id?`border-accent/50 bg-accent-soft/20 dark:border-accent/50 dark:bg-accent-soft/10`:`border-edge-subtle/80 bg-surface-hover/25 dark:border-edge-subtle/90 dark:bg-surface-hover/15`),children:[(0,Q.jsx)(`div`,{draggable:!r,onDragStart:e=>{e.dataTransfer.setData(`text/plain`,`xopc-followup:${t}`),e.dataTransfer.effectAllowed=`move`},className:u(`flex shrink-0 cursor-grab items-center active:cursor-grabbing`,r&&`cursor-not-allowed opacity-40`),title:h.chat.followUpQueueDrag,children:(0,Q.jsx)(fv,{className:`size-3.5 text-fg-muted`,"aria-hidden":!0})}),(0,Q.jsx)(`button`,{type:`button`,disabled:r,title:h.chat.followUpQueueClickToEdit,"aria-label":h.chat.followUpQueueClickToEdit,className:u(`h-6 min-w-0 flex-1 truncate rounded px-1.5 text-left text-[0.75rem] leading-none text-fg hover:bg-surface-panel/60 dark:hover:bg-surface-panel/40`,$.press,$.focusRingPanel,`disabled:pointer-events-none disabled:opacity-50`),onClick:()=>a(e.id),children:e.attachments?.length?(0,Q.jsxs)(`span`,{className:`inline-flex max-w-full items-center gap-1`,children:[(0,Q.jsx)(a_,{className:`size-3 shrink-0 text-fg-muted`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`truncate`,children:p})]}):(0,Q.jsx)(`span`,{className:`block truncate`,children:p})}),(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-px`,children:[(0,Q.jsx)(`button`,{type:`button`,disabled:r||t===0,className:u(`inline-flex size-6 items-center justify-center rounded text-fg-muted hover:bg-surface-hover hover:text-fg`,$.press,$.focusRingPanel,`disabled:pointer-events-none disabled:opacity-25`),title:h.chat.followUpQueueMoveUp,"aria-label":h.chat.followUpQueueMoveUp,onClick:t=>{t.stopPropagation(),s(e.id,`up`)},children:(0,Q.jsx)(Ad,{className:`size-3.5`,"aria-hidden":!0})}),(0,Q.jsx)(`button`,{type:`button`,disabled:r||t>=n.length-1,className:u(`inline-flex size-6 items-center justify-center rounded text-fg-muted hover:bg-surface-hover hover:text-fg`,$.press,$.focusRingPanel,`disabled:pointer-events-none disabled:opacity-25`),title:h.chat.followUpQueueMoveDown,"aria-label":h.chat.followUpQueueMoveDown,onClick:t=>{t.stopPropagation(),s(e.id,`down`)},children:(0,Q.jsx)(Td,{className:`size-3.5`,"aria-hidden":!0})}),(0,Q.jsx)(`button`,{type:`button`,disabled:r||!c||f,className:u(`inline-flex size-6 items-center justify-center rounded text-accent-fg hover:bg-accent-soft/80`,$.press,$.focusRingPanel,`disabled:pointer-events-none disabled:opacity-35`),title:h.chat.followUpQueueSteerNow,"aria-label":h.chat.followUpQueueSteerNow,onClick:t=>{t.stopPropagation(),l(e.id)},children:(0,Q.jsx)(ZD,{className:u(`size-3.5`,f&&`animate-pulse`),"aria-hidden":!0})}),(0,Q.jsx)(`button`,{type:`button`,disabled:r,className:u(`inline-flex size-6 items-center justify-center rounded text-fg-muted hover:bg-red-500/15 hover:text-red-600 dark:hover:text-red-400`,$.press,$.focusRingPanel),title:h.chat.followUpQueueRemove,"aria-label":h.chat.followUpQueueRemove,onClick:t=>{t.stopPropagation(),o(e.id)},children:(0,Q.jsx)(ZN,{className:`size-3.5`,"aria-hidden":!0})})]})]},e.id)},t[29]=r,t[30]=i,t[31]=n.length,t[32]=h.chat.followUpQueueAttachmentOnly,t[33]=h.chat.followUpQueueClickToEdit,t[34]=h.chat.followUpQueueDrag,t[35]=h.chat.followUpQueueEmptyPreview,t[36]=h.chat.followUpQueueMoveDown,t[37]=h.chat.followUpQueueMoveUp,t[38]=h.chat.followUpQueueRemove,t[39]=h.chat.followUpQueueSteerNow,t[40]=y,t[41]=a,t[42]=s,t[43]=o,t[44]=l,t[45]=d,t[46]=e):e=t[46],w=n.map(e),t[11]=r,t[12]=i,t[13]=n,t[14]=h.chat.followUpQueueAttachmentOnly,t[15]=h.chat.followUpQueueClickToEdit,t[16]=h.chat.followUpQueueDrag,t[17]=h.chat.followUpQueueEmptyPreview,t[18]=h.chat.followUpQueueMoveDown,t[19]=h.chat.followUpQueueMoveUp,t[20]=h.chat.followUpQueueRemove,t[21]=h.chat.followUpQueueSteerNow,t[22]=y,t[23]=a,t[24]=s,t[25]=o,t[26]=l,t[27]=d,t[28]=w}else w=t[28];let T;t[47]!==n||t[48]!==h.chat.followUpQueueAttachmentsNote?(T=n.some($3)?(0,Q.jsx)(`p`,{className:`px-1 pt-0.5 text-[0.65rem] leading-tight text-fg-muted`,children:h.chat.followUpQueueAttachmentsNote}):null,t[47]=n,t[48]=h.chat.followUpQueueAttachmentsNote,t[49]=T):T=t[49];let E;return t[50]!==h.chat.followUpQueueAria||t[51]!==C||t[52]!==w||t[53]!==T?(E=(0,Q.jsxs)(`div`,{className:`space-y-0.5 px-2 py-1.5`,role:`list`,"aria-label":b,children:[C,w,T]}),t[50]=h.chat.followUpQueueAria,t[51]=C,t[52]=w,t[53]=T,t[54]=E):E=t[54],E});function Z3(e){return e.language}function Q3(e){e.preventDefault(),e.dataTransfer.dropEffect=`move`}function $3(e){return e.attachments?.length}function e6(e){let t=(0,Z.c)(10),{attachments:n,topPadded:r,onRemove:i}=e;if(n.length===0)return null;let a=r?`pt-2`:`pt-3`,o;t[0]===a?o=t[1]:(o=u(`flex flex-wrap gap-2 border-b border-edge-subtle/90 bg-surface-hover/20 px-4 pb-2 dark:border-edge-subtle`,a),t[0]=a,t[1]=o);let s;if(t[2]!==n||t[3]!==i){let e;t[5]===i?e=t[6]:(e=(e,t)=>(0,Q.jsxs)(`div`,{className:`flex max-w-[200px] items-center gap-1.5 rounded-lg bg-surface-hover px-2 py-1 text-xs dark:bg-surface-hover/80`,children:[e.mimeType?.startsWith(`image/`)&&e.content?(0,Q.jsx)(`img`,{src:`data:${e.mimeType};base64,${e.content}`,alt:``,className:`size-6 rounded object-cover`}):e.type===`voice`||e.mimeType?.startsWith(`audio/`)?(0,Q.jsx)(sx,{className:`size-3.5 shrink-0 text-accent-fg`,"aria-hidden":!0}):(0,Q.jsx)(a_,{className:`size-3.5 shrink-0 text-fg-muted`}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.name}),(0,Q.jsx)(`span`,{className:`text-fg-disabled`,children:JB(e.size)}),(0,Q.jsx)(`button`,{type:`button`,className:`text-fg-muted hover:text-fg`,onClick:()=>i(t),children:`×`})]},e.id??`${e.name}-${e.size}-${e.mimeType}-${e.content?.slice(0,16)??``}`),t[5]=i,t[6]=e),s=n.map(e),t[2]=n,t[3]=i,t[4]=s}else s=t[4];let c;return t[7]!==o||t[8]!==s?(c=(0,Q.jsx)(`div`,{className:o,children:s}),t[7]=o,t[8]=s,t[9]=c):c=t[9],c}var t6=4;function n6(e){return!Number.isFinite(e)||e<=0?0:Math.ceil(e/t6)}function r6(e){return e.inputTokens!=null||e.outputTokens!=null?(e.inputTokens??0)+(e.outputTokens??0):e.totalTokens==null?null:e.totalTokens}function i6(e){let t=0;for(let n of e.content)n.type===`text`||n.type===`thinking`?t+=n.text.length:n.type===`tool_use`&&(t+=JSON.stringify(n.input??``).length,n.result!=null&&(t+=typeof n.result==`string`?n.result.length:JSON.stringify(n.result).length));if(e.attachments?.length)for(let n of e.attachments)t+=(n.extractedText?.length??0)+(n.name?.length??0);return n6(t)}function a6(e,t=0){for(let n=e.length-1;n>=0;n--){let r=e[n];if(r.role!==`assistant`||!r.usage)continue;let i=r6(r.usage);if(i==null||i<=0)continue;let a=0;for(let t=n+1;t<e.length;t++)a+=i6(e[t]);return i+a+n6(t)}let n=0;for(let t of e)n+=i6(t);return n+n6(t)}function o6(e,t){return e.replace(/\{\{(\w+)\}\}/g,(e,n)=>String(t[n]??``))}var s6=7,c6=2.25,l6=2*Math.PI*s6;function u6(e){if(!Number.isFinite(e)||e<0)return`0`;if(e>=1e6){let t=e/1e6;return`${t>=10?Math.round(t):t.toFixed(1)}M`.replace(/\.0M$/,`M`)}if(e>=1e4)return`${Math.round(e/1e3)}k`;if(e>=1e3){let t=e/1e3;return`${t>=10?Math.round(t):t.toFixed(1)}k`.replace(/\.0k$/,`k`)}return String(Math.round(e))}function d6(e,t){if(!Number.isFinite(e)||!Number.isFinite(t)||t<=0)return`0`;let n=Math.min(100,Math.max(0,100*e/t));return n>=10||n===0?String(Math.round(n)):n.toFixed(1).replace(/\.0$/,``)}var f6=(0,Y.memo)(function(e){let t=(0,Z.c)(35),{sessionModel:n,messages:r,draftChars:i,chat:a,disabled:o}=e,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s={revalidateOnFocus:!1},t[0]=s):s=t[0];let{data:c}=ie(p2,h2,s),l;t[1]===c?l=t[2]:(l=c===void 0?[]:c,t[1]=c,t[2]=l);let d=l,f;t[3]!==d||t[4]!==n?(f=d.find(e=>e.id===n)?.contextWindow,t[3]=d,t[4]=n,t[5]=f):f=t[5];let p=f,m=a6(r,i),h=(p!=null&&p>0?Math.min(1,Math.max(0,m/p)):0)*l6,g;bb0:{if(p!=null&&p>0){let e;t[6]!==a.contextWindowAriaSummary||t[7]!==p||t[8]!==m?(e=o6(a.contextWindowAriaSummary,{used:u6(m),limit:u6(p)}),t[6]=a.contextWindowAriaSummary,t[7]=p,t[8]=m,t[9]=e):e=t[9],g=e;break bb0}let e;t[10]!==a.contextWindowAriaSummaryNoLimit||t[11]!==m?(e=o6(a.contextWindowAriaSummaryNoLimit,{used:u6(m)}),t[10]=a.contextWindowAriaSummaryNoLimit,t[11]=m,t[12]=e):e=t[12],g=e}let _=g,v;bb1:{if(p!=null&&p>0){let e;t[13]!==a.contextWindowHoverShort||t[14]!==p||t[15]!==m?(e=o6(a.contextWindowHoverShort,{percent:d6(m,p)}),t[13]=a.contextWindowHoverShort,t[14]=p,t[15]=m,t[16]=e):e=t[16],v=e;break bb1}let e;t[17]!==a.contextWindowHoverNoLimit||t[18]!==m?(e=o6(a.contextWindowHoverNoLimit,{used:u6(m)}),t[17]=a.contextWindowHoverNoLimit,t[18]=m,t[19]=e):e=t[19],v=e}let y=v,b=o||void 0,x=o&&`cursor-default opacity-40`,S;t[20]===x?S=t[21]:(S=u(`inline-flex size-7 shrink-0 items-center justify-center rounded-md text-fg-subtle`,`hover:bg-surface-hover hover:text-fg-muted`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40`,x),t[20]=x,t[21]=S);let C;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,Q.jsx)(`circle`,{cx:`9`,cy:`9`,r:s6,fill:`none`,stroke:`currentColor`,className:`text-fg-subtle opacity-[0.35]`,strokeWidth:c6}),t[22]=C):C=t[22];let w=`${h} ${l6}`,T;t[23]===w?T=t[24]:(T=(0,Q.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 18 18`,className:`shrink-0`,"aria-hidden":!0,children:[C,(0,Q.jsx)(`circle`,{cx:`9`,cy:`9`,r:s6,fill:`none`,stroke:`currentColor`,className:`text-fg-muted`,strokeWidth:c6,strokeLinecap:`round`,strokeDasharray:w,transform:`rotate(-90 9 9)`})]}),t[23]=w,t[24]=T);let E;t[25]!==_||t[26]!==T||t[27]!==b||t[28]!==S?(E=(0,Q.jsx)(AX,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,"aria-disabled":b,"aria-label":_,className:S,children:T})}),t[25]=_,t[26]=T,t[27]=b,t[28]=S,t[29]=E):E=t[29];let D;t[30]===y?D=t[31]:(D=(0,Q.jsx)(jX,{children:(0,Q.jsx)(MX,{side:`top`,sideOffset:6,collisionPadding:12,className:`!z-[10000] whitespace-nowrap rounded-lg border border-edge bg-surface-panel px-2 py-1 text-xs font-medium text-fg shadow-md`,children:y})}),t[30]=y,t[31]=D);let O;return t[32]!==E||t[33]!==D?(O=(0,Q.jsx)(OX,{delayDuration:280,children:(0,Q.jsxs)(kX,{children:[E,D]})}),t[32]=E,t[33]=D,t[34]=O):O=t[34],O});function p6(e){switch(e){case`modal`:return wZ;case`page`:return CZ;default:return`z-50`}}function m6(e){return`${e.id} ${e.name} ${e.provider}`.toLowerCase()}function h6(e,t){let n=t.trim().toLowerCase();if(!n)return e;let r=n.split(/\s+/).filter(Boolean);return e.filter(e=>{let t=m6(e);return r.every(e=>t.includes(e))})}function g6(e,t,n){if(t!==`vision`)return e;let r=e.filter(e=>e.vision===!0);if(!n||r.some(e=>e.id===n))return r;let i=e.find(e=>e.id===n);if(i)return[i,...r];let a=n.indexOf(`/`),o=a>=0?n.slice(0,a):``;return[{id:n,name:(a>=0?n.slice(a+1):n)||n,provider:o||`—`,vision:!1},...r]}function _6(e){let t=(0,Z.c)(84),{value:n,disabled:r,placeholder:i,searchPlaceholder:a,noMatches:o,capabilitiesFilter:s,outOfFilterNote:c,registryEmptyHint:l,compact:d,showProviderInTrigger:f,contentSide:p,contentAlign:h,className:g,popoverContentClassName:_,showProviderSettingsFooter:y,onChange:b}=e,x=f===void 0?!0:f,S=p===void 0?`bottom`:p,C=h===void 0?`end`:h,w=Dr(),T=v(y6),E;t[0]===T?E=t[1]:(E=m(T),t[0]=T,t[1]=E);let D=E.chat,[O,k]=(0,Y.useState)(!1),[A,j]=(0,Y.useState)(``),M=p6(Y4()),N;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(N={revalidateOnFocus:!1},t[2]=N):N=t[2];let{data:P,isLoading:F,error:I}=ie(p2,h2,N),L;t[3]===P?L=t[4]:(L=P===void 0?[]:P,t[3]=P,t[4]=L);let R=L,z;t[5]===n?z=t[6]:(z=n.trim(),t[5]=n,t[6]=z);let B=z,V;t[7]!==s||t[8]!==R||t[9]!==B?(V=g6(R,s,B),t[7]=s,t[8]=R,t[9]=B,t[10]=V):V=t[10];let H=V,U;t[11]!==H||t[12]!==A?(U=h6(H,A),t[11]=H,t[12]=A,t[13]=U):U=t[13];let W=U,G;t[14]!==R||t[15]!==H||t[16]!==n?(G=R.find(e=>e.id===n)??H.find(e=>e.id===n),t[14]=R,t[15]=H,t[16]=n,t[17]=G):G=t[17];let K=G,ee=K?x?`${K.name} (${K.provider})`:K.name:n||i,te=!I&&s===`vision`&&H.length===0,ne=PI,q=r||F,re=K?`${K.name} (${K.provider})`:i,ae=d&&`py-1.5 text-[13px]`,J;t[18]!==g||t[19]!==ae?(J=u(BP,`items-center gap-2 rounded-lg border border-edge-subtle bg-surface-panel px-3 py-2 text-left text-sm font-normal text-fg`,$.transition,`hover:border-edge hover:bg-surface-hover/45`,IP,`disabled:cursor-not-allowed disabled:opacity-50`,`dark:border-edge-subtle dark:hover:bg-surface-hover/55`,ae,g),t[18]=g,t[19]=ae,t[20]=J):J=t[20];let oe=F?`…`:ee,se;t[21]===oe?se=t[22]:(se=(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:oe}),t[21]=oe,t[22]=se);let ce;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,Q.jsx)(Rd,{className:`size-4 shrink-0 text-fg-subtle opacity-70`,"aria-hidden":!0}),t[23]=ce):ce=t[23];let le;t[24]!==q||t[25]!==re||t[26]!==J||t[27]!==se?(le=(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsxs)(`button`,{type:`button`,disabled:q,title:re,className:J,children:[se,ce]})}),t[24]=q,t[25]=re,t[26]=J,t[27]=se,t[28]=le):le=t[28];let ue=PI,de=PI,fe=u(M,`w-[min(22rem,calc(100vw-2rem))] rounded-xl border border-edge-subtle bg-surface-panel p-1 shadow-elevated dark:border-edge-subtle`,_),pe;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(pe=u(`mb-1 w-full rounded-lg border border-edge-subtle bg-surface-base px-2.5 py-1.5 text-sm text-fg placeholder:text-fg-disabled dark:bg-surface-hover/40`,LP),t[29]=pe):pe=t[29];let me;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(me=e=>j(e.target.value),t[30]=me):me=t[30];let he;t[31]!==A||t[32]!==a?(he=(0,Q.jsx)(`input`,{type:`search`,className:pe,placeholder:a,value:A,onChange:me}),t[31]=A,t[32]=a,t[33]=he):he=t[33];let ge;t[34]===I?ge=t[35]:(ge=I?(0,Q.jsx)(`div`,{className:`p-2 text-xs text-red-600 dark:text-red-400`,children:I instanceof Error?I.message:`Failed to load models`}):null,t[34]=I,t[35]=ge);let _e;t[36]!==I||t[37]!==o||t[38]!==l||t[39]!==te?(_e=!I&&te?(0,Q.jsx)(`div`,{className:`px-2 py-3 text-center text-xs text-fg-muted`,children:l??o}):null,t[36]=I,t[37]=o,t[38]=l,t[39]=te,t[40]=_e):_e=t[40];let X;t[41]!==I||t[42]!==W.length||t[43]!==o||t[44]!==te?(X=!I&&!te&&W.length===0?(0,Q.jsx)(`div`,{className:`px-2 py-3 text-center text-xs text-fg-muted`,children:o}):null,t[41]=I,t[42]=W.length,t[43]=o,t[44]=te,t[45]=X):X=t[45];let ve;if(t[46]!==s||t[47]!==W||t[48]!==b||t[49]!==c||t[50]!==n||t[51]!==B){let e;t[53]!==s||t[54]!==b||t[55]!==c||t[56]!==n||t[57]!==B?(e=e=>{let t=!!c&&s===`vision`&&e.vision!==!0&&e.id===B;return(0,Q.jsxs)(`button`,{type:`button`,className:u(`flex w-full flex-col gap-0.5 rounded-md px-2 py-1.5 text-left text-sm text-fg hover:bg-surface-hover`,e.id===n&&`bg-surface-hover/90 font-medium dark:bg-surface-hover/70`),onClick:()=>{b(e.id),k(!1),j(``)},children:[(0,Q.jsxs)(`span`,{className:`flex w-full min-w-0 items-center gap-2`,children:[(0,Q.jsx)(gd,{className:u(`size-4 shrink-0`,e.id!==n&&`invisible`),"aria-hidden":!0}),(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1 truncate`,children:[(0,Q.jsx)(`span`,{className:`font-medium`,children:e.name}),` `,(0,Q.jsxs)(`span`,{className:`text-fg-muted`,children:[`(`,e.provider,`)`]})]})]}),t?(0,Q.jsx)(`span`,{className:`pl-6 text-[11px] leading-snug text-amber-700 dark:text-amber-300`,children:c}):null]},e.id)},t[53]=s,t[54]=b,t[55]=c,t[56]=n,t[57]=B,t[58]=e):e=t[58],ve=W.map(e),t[46]=s,t[47]=W,t[48]=b,t[49]=c,t[50]=n,t[51]=B,t[52]=ve}else ve=t[52];let ye;t[59]!==ge||t[60]!==_e||t[61]!==X||t[62]!==ve?(ye=(0,Q.jsxs)(`div`,{className:`max-h-60 overflow-auto`,children:[ge,_e,X,ve]}),t[59]=ge,t[60]=_e,t[61]=X,t[62]=ve,t[63]=ye):ye=t[63];let be;t[64]!==D||t[65]!==w||t[66]!==y?(be=y?(0,Q.jsx)(`div`,{className:`mt-1 border-t border-edge-subtle pt-1`,children:(0,Q.jsxs)(`button`,{type:`button`,className:u(`flex w-full items-center gap-2 rounded-md p-2 text-left text-sm font-medium text-accent`,$.transition,`hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40`),onClick:()=>{w(`/settings/credentials`),k(!1),j(``)},children:[(0,Q.jsx)(RE,{className:`size-4 shrink-0 opacity-90`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0`,children:D.modelProviderSettingsLink})]})}):null,t[64]=D,t[65]=w,t[66]=y,t[67]=be):be=t[67];let xe;t[68]!==C||t[69]!==S||t[70]!==de.Content||t[71]!==fe||t[72]!==he||t[73]!==ye||t[74]!==be?(xe=(0,Q.jsxs)(de.Content,{className:fe,side:S,sideOffset:4,align:C,onOpenAutoFocus:v6,children:[he,ye,be]}),t[68]=C,t[69]=S,t[70]=de.Content,t[71]=fe,t[72]=he,t[73]=ye,t[74]=be,t[75]=xe):xe=t[75];let Se;t[76]!==ue.Portal||t[77]!==xe?(Se=(0,Q.jsx)(ue.Portal,{children:xe}),t[76]=ue.Portal,t[77]=xe,t[78]=Se):Se=t[78];let Ce;return t[79]!==O||t[80]!==ne.Root||t[81]!==le||t[82]!==Se?(Ce=(0,Q.jsxs)(ne.Root,{open:O,onOpenChange:k,children:[le,Se]}),t[79]=O,t[80]=ne.Root,t[81]=le,t[82]=Se,t[83]=Ce):Ce=t[83],Ce}function v6(e){return e.preventDefault()}function y6(e){return e.language}var b6=`xopc.recentWorkspaceDirs.v1`,x6=10;function S6(){try{let e=localStorage.getItem(b6);if(!e)return[];let t=JSON.parse(e);return Array.isArray(t)?t.filter(e=>typeof e==`string`&&e.trim().length>0):[]}catch{return[]}}function C6(e){let t=e.trim();if(t)try{let e=[t,...S6().filter(e=>e!==t)].slice(0,x6);localStorage.setItem(b6,JSON.stringify(e))}catch{}}function w6(e){let t=e.trim().replace(/[/\\]+$/,``);if(!t)return e;let n=t.split(/[/\\]/);return n[n.length-1]||t}function T6(e){let t=(0,Z.c)(27),{value:n,onPick:r,disabled:i,placeholder:a,title:o,className:s,maxWidthClass:c,compact:l,"aria-label":d}=e,f=c===void 0?`max-w-[min(12rem,40vw)]`:c,p=l===void 0?!1:l,m,h;t[0]!==a||t[1]!==n?(h=n.trim(),m=h?w6(h):a??``,t[0]=a,t[1]=n,t[2]=m,t[3]=h):(m=t[2],h=t[3]);let g=m,_=o??(h||void 0),v=d??o??g,y=p?`inline-flex size-9 shrink-0 items-center justify-center rounded-lg p-0`:`inline-flex min-h-8 min-w-0 shrink-0 items-center gap-1 rounded-lg px-2 py-1 text-xs`,b=!p&&f,x=i&&`cursor-not-allowed opacity-60`,S;t[4]!==s||t[5]!==y||t[6]!==b||t[7]!==x?(S=u(y,`border border-edge-subtle/80 bg-surface-hover/40 dark:border-edge-subtle`,$.transition,$.focusRingPanel,`cursor-pointer hover:bg-surface-hover/70 dark:hover:bg-surface-hover/50`,b,x,s),t[4]=s,t[5]=y,t[6]=b,t[7]=x,t[8]=S):S=t[8];let C;t[9]!==i||t[10]!==r?(C=e=>{e.stopPropagation(),i||r()},t[9]=i,t[10]=r,t[11]=C):C=t[11];let w=p?`size-4`:`size-3.5`,T;t[12]===w?T=t[13]:(T=u(`shrink-0 text-fg-muted`,w),t[12]=w,t[13]=T);let E;t[14]===T?E=t[15]:(E=(0,Q.jsx)(W_,{className:T,"aria-hidden":!0}),t[14]=T,t[15]=E);let D;t[16]!==p||t[17]!==g?(D=p?null:(0,Q.jsx)(`span`,{className:`min-w-0 truncate text-left font-medium text-fg`,children:g}),t[16]=p,t[17]=g,t[18]=D):D=t[18];let O;return t[19]!==i||t[20]!==C||t[21]!==E||t[22]!==D||t[23]!==_||t[24]!==v||t[25]!==S?(O=(0,Q.jsxs)(`button`,{type:`button`,disabled:i,title:_,"aria-label":v,className:S,onClick:C,children:[E,D]}),t[19]=i,t[20]=C,t[21]=E,t[22]=D,t[23]=_,t[24]=v,t[25]=S,t[26]=O):O=t[26],O}async function E6(e){let t=typeof window<`u`?window.electronAPI?.file?.openDirectory:void 0;if(!t)return null;let n=e?.trim();return n?t({defaultPath:n}):t()}function D6(e={}){let{initialPath:t,onPicked:n,trackRecent:r=!0}=e,[i,a]=(0,Y.useState)(!1),[o,s]=(0,Y.useState)(!1),c=typeof window<`u`&&!!window.electronAPI?.file?.openDirectory,l=(0,Y.useCallback)(async e=>{let t=e.trim();t&&(r&&C6(t),await n?.(t))},[n,r]);return{hasNativePicker:c,modalOpen:i,setModalOpen:a,pick:(0,Y.useCallback)(()=>{if(c){(async()=>{s(!0);try{let e=await E6(t);e&&await l(e)}finally{s(!1)}})();return}a(!0)},[l,c,t]),confirmPick:l,picking:o}}function O6(){return function(e,t){switch(t.type){case`reset`:return{form:null,baseline:null};case`sync`:{let e=structuredClone(t.value);return{form:e,baseline:structuredClone(e)}}case`patch`:return{...e,form:e.form?{...e.form,...t.patch}:null};case`discard`:return e.baseline?{form:structuredClone(e.baseline),baseline:e.baseline}:e;case`saved`:{let e=structuredClone(t.value);return{form:e,baseline:structuredClone(e)}}case`set-form`:return e.form?{...e,form:t.updater(e.form)}:e}}}function k6(e,t){return{...e,...t.patch}}function A6(e){let{enabled:t,parsed:n,dirty:r,trackedParsedRef:i,dispatch:a,onResetDirty:o}=e;if(!t){i.current!==null&&(i.current=null,a({type:`reset`}),o?.());return}n!==null&&!r&&i.current!==n&&(i.current=n,a({type:`sync`,value:n}))}async function j6(e){let t=new URLSearchParams;e!=null&&e!==``&&t.set(`path`,e);let n=t.toString();return(await E(T(`/api/host/fs/list${n?`?${n}`:``}`))).payload}async function M6(){return(await E(T(`/api/host/fs/meta`))).payload}function N6(){return u(`w-full rounded-lg border border-edge bg-surface-panel px-3 py-2 font-mono text-sm text-fg`,`placeholder:text-fg-subtle`,RP,`dark:border-edge`)}function P6(e){return/^[A-Za-z]:\\?$/.test(e.replace(/\\$/,`\\`))}function F6(e){return!e||e.currentPath===``?!1:e.parentPath===null?e.currentPath===`/`?!1:!!P6(e.currentPath):!0}var I6={metaHostname:null,listState:null,listLoading:!1,listError:null,manualPath:``};function L6({open:e,onOpenChange:t,initialAbsolutePath:n,onConfirm:r,wd:i}){let a=(0,Y.useId)(),[o,s]=(0,Y.useReducer)(k6,I6),{metaHostname:c,listState:l,listLoading:d,listError:f,manualPath:p}=o,m=(0,Y.useCallback)(async e=>{s({type:`patch`,patch:{listLoading:!0,listError:null}});try{s({type:`patch`,patch:{listState:await j6(e)}})}catch(e){s({type:`patch`,patch:{listError:e instanceof Error?e.message:String(e),listState:null}})}finally{s({type:`patch`,patch:{listLoading:!1}})}},[]);(0,Y.useEffect)(()=>{if(!e)return;let t=!1;return(async()=>{try{let e=await M6();t||s({type:`patch`,patch:{metaHostname:e.hostname}})}catch{t||s({type:`patch`,patch:{metaHostname:null}})}})(),()=>{t=!0}},[e]),(0,Y.useEffect)(()=>{if(!e)return;let t=n?.trim()??``;s({type:`patch`,patch:{manualPath:t}});let r=!1;return(async()=>{s({type:`patch`,patch:{listLoading:!0,listError:null}});try{if(t)try{let e=await j6(t);r||s({type:`patch`,patch:{listState:e}})}catch{let e=await j6();r||s({type:`patch`,patch:{listState:e}})}else{let e=await j6();r||s({type:`patch`,patch:{listState:e}})}}catch(e){let t=e instanceof Error?e.message:String(e);r||s({type:`patch`,patch:{listError:t,listState:null}})}finally{r||s({type:`patch`,patch:{listLoading:!1}})}})(),()=>{r=!0}},[e,n]);let h=e=>{e.isDirectory&&m(e.absolutePath)},g=()=>{if(!l)return;let{parentPath:e,currentPath:t}=l;if(e!==null){m(e);return}t===`/`||t===``||P6(t)&&m(void 0)},_=l?.currentPath===``?i.pickerDrives:l?.currentPath??``,v=!!l&&l.currentPath!==``&&!d&&!f,y=async()=>{if(!(!l||l.currentPath===``))try{await r(l.currentPath),t(!1)}catch{}},b=async()=>{let e=p.trim();if(e)try{await r(e),t(!1)}catch{}},x=d&&l;return(0,Q.jsx)(KL,{open:e,onOpenChange:t,children:(0,Q.jsxs)(qL,{children:[(0,Q.jsx)(JL,{className:`fixed inset-0 z-[80] bg-scrim backdrop-blur-[2px]`}),(0,Q.jsxs)(YL,{className:u(`fixed left-1/2 top-1/2 z-[81] flex max-h-[min(90vh,32rem)] w-[min(100%-2rem,28rem)] -translate-x-1/2 -translate-y-1/2 flex-col rounded-xl border border-edge bg-surface-panel p-4 shadow-popover`,`dark:border-edge`),onOpenAutoFocus:e=>e.preventDefault(),children:[(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:i.pathModalTitle}),(0,Q.jsx)(ZL,{className:`mt-1 text-sm leading-relaxed text-fg-muted`,children:i.pathModalDescription}),c?(0,Q.jsx)(`p`,{className:`mt-2 text-xs text-fg-muted`,children:i.pickerHostHint.replace(`{{hostname}}`,c)}):null,(0,Q.jsxs)(`div`,{className:`mt-3 flex min-h-0 flex-1 flex-col gap-2`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Q.jsxs)(NP,{type:`button`,variant:`secondary`,className:`shrink-0 gap-1 px-2 py-1.5 text-xs`,disabled:d||!F6(l)||!!f,onClick:()=>g(),title:i.pickerUp,children:[(0,Q.jsx)(Ad,{className:`size-4`,"aria-hidden":!0}),i.pickerUp]}),(0,Q.jsx)(`div`,{className:`min-w-0 flex-1 truncate rounded-md border border-edge-subtle/80 bg-surface-hover/30 px-2 py-1.5 font-mono text-xs text-fg`,title:_,children:d&&!l?i.pickerLoading:_||`—`})]}),(0,Q.jsxs)(`div`,{className:u(`relative min-h-[12rem] overflow-y-auto rounded-lg border border-edge-subtle/80 bg-surface-hover/20 p-1 dark:border-edge-subtle`,$.focusRingPanel),role:`listbox`,"aria-label":i.pathModalTitle,children:[x?(0,Q.jsx)(`div`,{className:`absolute inset-0 z-[1] flex items-center justify-center rounded-lg bg-surface-panel/60`,"aria-hidden":!0,children:(0,Q.jsx)(Ey,{className:`size-6 animate-spin text-fg-muted`})}):null,d&&!l?(0,Q.jsxs)(`div`,{className:`flex items-center justify-center gap-2 py-12 text-sm text-fg-muted`,children:[(0,Q.jsx)(Ey,{className:`size-4 animate-spin`,"aria-hidden":!0}),i.pickerLoading]}):null,f?(0,Q.jsx)(`p`,{className:`px-2 py-8 text-center text-sm text-fg-muted`,children:i.pickerListError}):null,!d&&l&&!f&&l.entries.length===0?(0,Q.jsx)(`p`,{className:`px-2 py-8 text-center text-sm text-fg-muted`,children:i.pickerEmptyFolder}):null,l?.entries.map(e=>(0,Q.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":!1,disabled:!e.isDirectory,className:u(`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm`,e.isDirectory?`cursor-pointer text-fg hover:bg-surface-hover`:`cursor-default text-fg-muted opacity-60`),onClick:()=>h(e),children:[(0,Q.jsx)(W_,{className:`size-4 shrink-0 text-fg-muted`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:e.name})]},e.absolutePath))]}),(0,Q.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Q.jsx)(`label`,{htmlFor:a,className:`text-xs text-fg-muted`,children:i.pickerManualPath}),(0,Q.jsx)(`input`,{id:a,type:`text`,value:p,onChange:e=>s({type:`patch`,patch:{manualPath:e.target.value}}),placeholder:i.pathInputPlaceholder,className:N6(),autoComplete:`off`,spellCheck:!1,onKeyDown:e=>{e.key===`Enter`&&p.trim()&&(e.preventDefault(),b())}})]})]}),(0,Q.jsxs)(`div`,{className:`mt-4 flex flex-wrap items-center justify-end gap-2 border-t border-edge-subtle/60 pt-3`,children:[(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,onClick:()=>t(!1),children:i.pathModalCancel}),(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,disabled:!p.trim(),onClick:()=>void b(),children:i.pickerApplyManual}),(0,Q.jsx)(NP,{type:`button`,disabled:!v,onClick:()=>void y(),children:i.pickerUseThisFolder})]})]})]})})}var R6=(0,Y.memo)(function({sessionKey:e,disabled:t,canSelectWorkingDirectory:n,sessionMgr:r}){let i=m(v(e=>e.language)).chat.workingDirectory,a=gZ(e=>e.toggleOpen),[o,s]=(0,Y.useState)(``),[c,l]=(0,Y.useState)(!1),[d,f]=(0,Y.useState)(!1),[p,h]=(0,Y.useState)(null),g=(0,Y.useCallback)(async()=>{if(!e){s(``);return}l(!0);try{s((await r.loadSessionAgentConfig(e)).effectiveWorkspacePath)}catch{s(``)}finally{l(!1)}},[e,r]);(0,Y.useEffect)(()=>{g()},[g]);let _=D6({initialPath:o,onPicked:(0,Y.useCallback)(async t=>{if(!(!e?.trim()||!t.trim()))try{await r.patchSessionAgentConfig(e,{workingDirectory:t.trim()}),await g()}catch(e){throw h(e instanceof Error?e.message:String(e)),f(!0),e}},[e,r,g])}),y=(0,Y.useCallback)(()=>{j({type:`info`,title:i.lockedTapTitle,message:i.lockedTapBody,duration:6500})},[i.lockedTapBody,i.lockedTapTitle]);if(!e)return null;let b=o.trim(),x=!!b,S=x?w6(b):i.notSet,C=u(`inline-flex min-h-8 max-w-[min(12rem,40vw)] min-w-0 shrink-0 items-center gap-1 rounded-lg px-2 py-1 text-xs`,`border border-edge-subtle/80 bg-surface-hover/40 dark:border-edge-subtle`,$.transition,$.focusRingPanel),w=e=>{let{hasPath:t,fullPath:n,canSelect:r}=e,a;return a=!r&&t?i.tooltipOpenProjectFiles:r?t?i.chooseFolder:i.selectWorkingDirectory:i.selectionOnlyAtNewChat,(0,Q.jsxs)(`div`,{className:`max-w-[min(22rem,90vw)] space-y-1.5`,children:[(0,Q.jsx)(`p`,{className:`font-semibold text-fg`,children:i.tooltipAgentWorkspace}),t?(0,Q.jsx)(`p`,{className:`break-words font-mono text-[11px] leading-snug text-fg-muted`,children:n}):(0,Q.jsx)(`p`,{className:`text-[11px] text-fg-muted`,children:i.notSet}),(0,Q.jsx)(`p`,{className:`text-[11px] leading-snug text-fg-subtle`,children:a})]})},T=(e,t)=>(0,Q.jsxs)(kX,{delayDuration:350,children:[(0,Q.jsx)(AX,{asChild:!0,children:t}),(0,Q.jsx)(jX,{children:(0,Q.jsx)(MX,{side:`top`,sideOffset:6,collisionPadding:12,className:`!z-[10000] max-w-[min(22rem,90vw)] rounded-md border border-edge bg-surface-panel px-2.5 py-2 text-left text-xs leading-snug text-fg shadow-lg`,children:e})})]}),E=()=>T(w({hasPath:!1,fullPath:``,canSelect:!1}),(0,Q.jsxs)(`button`,{type:`button`,className:u(C,`cursor-pointer text-left text-fg-muted hover:bg-surface-hover/70 dark:hover:bg-surface-hover/50`),"aria-label":`${i.notSet}. ${i.selectionOnlyAtNewChat}`,onClick:e=>{e.stopPropagation(),y()},children:[(0,Q.jsx)(W_,{className:`size-3.5 shrink-0 text-fg-muted`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 truncate text-left font-medium text-fg`,children:S})]})),D=()=>T(w({hasPath:!0,fullPath:b,canSelect:!1}),(0,Q.jsxs)(`button`,{type:`button`,disabled:t||c||!x,className:u(C,x&&`cursor-pointer hover:bg-surface-hover/70 dark:hover:bg-surface-hover/50`,(t||c||!x)&&`cursor-not-allowed opacity-60`),"aria-label":`${i.tooltipAgentWorkspace}: ${b}`,onClick:e=>{e.stopPropagation(),x&&!t&&!c&&a()},children:[(0,Q.jsx)(W_,{className:`size-3.5 shrink-0 text-fg-muted`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 truncate text-left font-medium text-fg`,children:S})]}));if(!n)return x?(0,Q.jsx)(OX,{delayDuration:350,children:(0,Q.jsx)(`div`,{className:`inline-flex items-center`,children:D()})}):(0,Q.jsx)(OX,{delayDuration:350,children:(0,Q.jsx)(`div`,{className:`inline-flex items-center`,children:E()})});let O=x&&!t&&!c?`${i.tooltipAgentWorkspace}: ${b}. ${i.chooseFolder}`:x?`${i.tooltipAgentWorkspace}: ${b}`:i.selectWorkingDirectory;return(0,Q.jsx)(OX,{delayDuration:350,children:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`div`,{className:`inline-flex items-center`,children:T(w({hasPath:x,fullPath:b,canSelect:!0}),(0,Q.jsx)(T6,{value:b,onPick:_.pick,disabled:t||c||_.picking,placeholder:i.notSet,"aria-label":O,className:u((t||c||_.picking)&&`cursor-not-allowed opacity-60`)}))}),_.hasNativePicker?null:(0,Q.jsx)(L6,{open:_.modalOpen,onOpenChange:_.setModalOpen,initialAbsolutePath:b||void 0,onConfirm:_.confirmPick,wd:i}),(0,Q.jsx)(KL,{open:d,onOpenChange:e=>{f(e),e||h(null)},children:(0,Q.jsxs)(qL,{children:[(0,Q.jsx)(JL,{className:`fixed inset-0 z-[80] bg-scrim backdrop-blur-[2px]`}),(0,Q.jsxs)(YL,{className:u(`fixed left-1/2 top-1/2 z-[81] w-[min(100%-2rem,26rem)] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-edge bg-surface-panel p-4 shadow-popover`,`dark:border-edge`),onOpenAutoFocus:e=>e.preventDefault(),children:[(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:i.applyErrorTitle}),p?(0,Q.jsx)(ZL,{className:`mt-2 whitespace-pre-wrap text-sm leading-relaxed text-fg-muted`,children:p}):null,(0,Q.jsx)(`div`,{className:`mt-4 flex items-center justify-end border-t border-edge-subtle/60 pt-3`,children:(0,Q.jsx)(NP,{type:`button`,onClick:()=>f(!1),children:i.applyErrorClose})})]})]})})]})})});function z6(e,t){let n=e.finishedAt??e.startedAt??e.at,r=e.verdict;return{...e,at:n,turnsUsed:t?.turnsUsed??e.turnsUsed??0,maxTurns:t?.maxTurns??e.maxTurns??0,statusAfter:t?.status??e.statusAfter??`active`,willContinue:r===`continue`||r===`decompose`}}function B6(e){if(!e)return null;let t=e.latestRun?z6(e.latestRun,e):void 0;return{...e,checklist:e.checklist??[],latestRun:t,lastTurnAt:e.updatedAt??e.lastTurnAt??e.createdAt,lastVerdict:t?.verdict??e.lastVerdict,lastReason:t?.reason??e.lastReason??e.blockedReason}}async function V6(e,t){return{ok:!0,goal:B6((await E(T(`/api/goals/current?${new URLSearchParams({sessionKey:e}).toString()}`))).goal)}}async function H6(e,t,n){return{ok:!0,goal:B6((await E(T(`/api/goals`),{method:`POST`,body:JSON.stringify({sessionKey:e,title:t,...n?.uiLocale?{uiLocale:n.uiLocale}:{}})})).goal)}}async function U6(e){let t=new URLSearchParams;return t.set(`status`,e?.status??`active,paused,blocked,needs_input`),t.set(`limit`,String(e?.limit??50)),e?.sessionKey&&t.set(`sessionKey`,e.sessionKey),{ok:!0,goals:(await E(T(`/api/goals?${t.toString()}`))).goals.map(e=>B6(e)).filter(e=>e!=null)}}async function W6(e,t,n){let r=(await V6(e,n)).goal;return r?{ok:!0,goal:B6((await E(T(t===`pause`?`/api/goals/${encodeURIComponent(r.id)}/pause`:t===`clear`?`/api/goals/${encodeURIComponent(r.id)}/archive`:t===`detach`?`/api/goals/${encodeURIComponent(r.id)}/detach`:`/api/goals/${encodeURIComponent(r.id)}/continue`),{method:`POST`,body:JSON.stringify({sessionKey:e,...n?.uiLocale?{uiLocale:n.uiLocale}:{}})})).goal)}:{ok:!0,goal:null}}async function G6(e,t){return{ok:!0,goal:B6((await E(T(`/api/goals/${encodeURIComponent(t)}/attach`),{method:`POST`,body:JSON.stringify({sessionKey:e})})).goal)}}async function K6(e){return{ok:!0,goal:B6((await E(T(`/api/goals/${encodeURIComponent(e)}/detach`),{method:`POST`,body:JSON.stringify({})})).goal)}}async function q6(e,t,n){let r=(await V6(e,n)).goal;if(!r)return{ok:!0,goal:null};if(t.op===`reset`)return await Promise.all(r.checklist.map(e=>T(`/api/goals/${encodeURIComponent(r.id)}/checklist/${encodeURIComponent(e.id)}`)).map(e=>E(e,{method:`DELETE`}))),V6(e,n);if(t.op===`add`)return{ok:!0,goal:B6((await E(T(`/api/goals/${encodeURIComponent(r.id)}/checklist`),{method:`POST`,body:JSON.stringify({text:t.text})})).goal)};let i=r.checklist[t.index-1];return i?t.op===`remove`?{ok:!0,goal:B6((await E(T(`/api/goals/${encodeURIComponent(r.id)}/checklist/${encodeURIComponent(i.id)}`),{method:`DELETE`})).goal)}:{ok:!0,goal:B6((await E(T(`/api/goals/${encodeURIComponent(r.id)}/checklist/${encodeURIComponent(i.id)}`),{method:`PATCH`,body:JSON.stringify({status:t.status})})).goal)}:{ok:!0,goal:r}}async function J6(e,t){let n=(await V6(e)).goal;if(!n)return{ok:!0,runs:[]};let r=new URLSearchParams;t?.limit!=null&&Number.isFinite(t.limit)&&r.set(`limit`,String(Math.min(500,Math.max(1,Math.floor(t.limit)))));let i=r.toString()?`?${r.toString()}`:``;return{ok:!0,runs:(await E(T(`/api/goals/${encodeURIComponent(n.id)}/runs${i}`))).runs.map(e=>z6(e,n))}}async function Y6(){return(await E(T(`/api/workflows/definitions`))).definitions??[]}async function X6(e,t){return E(T(`/api/workflows/definitions/validate`),{method:`POST`,body:JSON.stringify({name:e,script:t})})}async function Z6(e){return(await E(T(`/api/workflows/definitions/draft`),{method:`POST`,body:JSON.stringify(e)})).draft}async function Q6(e,t){return(await E(T(`/api/workflows/definitions`),{method:`POST`,body:JSON.stringify({name:e,script:t})})).definition}async function $6(e){await E(T(`/api/workflows/definitions/${encodeURIComponent(e)}`),{method:`DELETE`})}function e8(e,t){let n=t?.ownerAgentId?.trim();n&&e.set(`agentId`,n)}async function t8(e,t){let n=e?.trim(),r=new URLSearchParams;return n&&r.set(`definitionId`,n),e8(r,t),(await E(T(`/api/workflows/stats${r.size>0?`?${r.toString()}`:``}`))).stats}async function n8(e=50,t){let n=new URLSearchParams({limit:String(e)});e8(n,t);let r=t?.goalId?.trim();return r&&n.set(`goalId`,r),(await E(T(`/api/workflows/runs?${n.toString()}`))).runs??[]}async function r8(e,t){let n=new URLSearchParams;e8(n,t);let r=n.size>0?`?${n.toString()}`:``;return(await E(T(`/api/workflows/runs/${encodeURIComponent(e)}${r}`))).view}async function i8(e,t){let n=new URLSearchParams;e8(n,t);let r=n.size>0?`?${n.toString()}`:``;return(await E(T(`/api/workflows/runs/${encodeURIComponent(e)}/comparison${r}`))).comparison}async function a8(e,t,n){let r=new URLSearchParams;e8(r,n);let i=r.size>0?`?${r.toString()}`:``,a=await k(T(`/api/workflows/runs/${encodeURIComponent(e)}/artifacts/${encodeURIComponent(t)}${i}`),{headers:{Accept:`*/*`}});if(!a.ok){let e=await a.json().catch(()=>({})),t=typeof e.error==`string`?e.error:e.error?.message;throw Error(D(a.status,a.statusText,t))}return a.blob()}async function o8(e,t,n){let r=new URLSearchParams,i=n?.ownerAgentId?.trim();i&&r.set(`ownerAgentId`,i);let a=r.size>0?`?${r.toString()}`:``,o=await E(T(`/api/workflows/runs/${encodeURIComponent(e)}/agents/${encodeURIComponent(String(t))}/session${a}`));return{...o,messages:hV(o.messages??[])}}async function s8(e){return E(T(`/api/workflows/runs`),{method:`POST`,body:JSON.stringify(e)})}async function c8(e,t=50){let n=new URLSearchParams({limit:String(t)});return(await E(T(`/api/goals/${encodeURIComponent(e)}/workflow-runs?${n.toString()}`))).runs??[]}async function l8(e){let t=await E(T(`/api/goals/${encodeURIComponent(e.goalId)}/workflows/run`),{method:`POST`,body:JSON.stringify({definitionId:e.definitionId,goal:e.goal,input:e.input,concurrency:e.concurrency,maxSubagents:e.maxSubagents})});return{runId:t.runId,sessionKey:t.sessionKey}}async function u8(e,t){let n=new URLSearchParams;e8(n,t);let r=n.size>0?`?${n.toString()}`:``;await E(T(`/api/workflows/runs/${encodeURIComponent(e)}/cancel${r}`),{method:`POST`})}async function d8(e,t){let n=new URLSearchParams;e8(n,t);let r=n.size>0?`?${n.toString()}`:``;return E(T(`/api/workflows/runs/${encodeURIComponent(e)}/retry${r}`),{method:`POST`})}async function f8(e,t,n){let r=new URLSearchParams;e8(r,n);let i=r.size>0?`?${r.toString()}`:``;return E(T(`/api/workflows/runs/${encodeURIComponent(e)}/replay${i}`),{method:`POST`,body:JSON.stringify({scope:t})})}var p8=`min-w-0 rounded-md border border-edge bg-surface-muted px-2.5 py-1.5 text-xs text-fg placeholder:text-fg-muted focus-visible:border-accent focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent`;function m8(e){return`${e.status===`blocked`||e.status===`needs_input`?`${e.status}: `:``}${e.title}`}function h8({sessionKey:e,disabled:t,onDone:n}){let[r,i]=(0,Y.useState)(null),[a,o]=(0,Y.useState)([]),[s,c]=(0,Y.useState)([]),[l,d]=(0,Y.useState)(``),[f,p]=(0,Y.useState)(``),[m,h]=(0,Y.useState)(``),[g,_]=(0,Y.useState)(null),[v,y]=(0,Y.useState)(null),b=(0,Y.useCallback)(async()=>{if(e){y(null);try{let[t,n]=await Promise.all([V6(e),U6({limit:100})]);i(t.goal),o(n.goals),p(e=>e||n.goals.find(e=>e.id!==t.goal?.id)?.id||``)}catch(e){y(e instanceof Error?e.message:`Failed to load goals`)}}},[e]);(0,Y.useEffect)(()=>{let e=!1;return Y6().then(t=>{e||(c(t),h(e=>e||t[0]?.id||``))}).catch(t=>{e||y(t instanceof Error?t.message:`Failed to load workflows`)}),()=>{e=!0}},[]),(0,Y.useEffect)(()=>{b()},[b]);let x=(0,Y.useMemo)(()=>a.filter(e=>e.id!==r?.id),[a,r?.id]),S=(0,Y.useCallback)(()=>{e&&window.dispatchEvent(new CustomEvent(`session-updated`,{detail:{key:e}}))},[e]),C=async()=>{if(!e)return;let t=l.trim();if(t){_(`start`),y(null);try{i((await H6(e,t)).goal),d(``),S(),j({type:`success`,title:`Goal started`,message:t}),n?.()}catch(e){y(e instanceof Error?e.message:`Failed to start goal`)}finally{_(null)}}},w=async()=>{if(!(!e||!f)){_(`attach`),y(null);try{let t=await G6(e,f);i(t.goal),S(),j({type:`success`,title:`Goal attached`,message:t.goal?.title}),n?.()}catch(e){y(e instanceof Error?e.message:`Failed to attach goal`)}finally{_(null)}}},T=async()=>{if(r){_(`detach`),y(null);try{await K6(r.id),i(null),S(),j({type:`info`,title:`Goal detached`}),n?.()}catch(e){y(e instanceof Error?e.message:`Failed to detach goal`)}finally{_(null)}}},E=async()=>{if(!(!r||!m)){_(`workflow`),y(null);try{let e=await l8({goalId:r.id,definitionId:m,goal:r.nextAction||r.title});S(),j({type:`success`,title:`Workflow started`,message:r.title}),window.dispatchEvent(new CustomEvent(`navigate-to-chat`,{detail:{sessionKey:e.sessionKey}})),n?.()}catch(e){y(e instanceof Error?e.message:`Failed to start workflow`)}finally{_(null)}}},D=t||!e||g!=null;return(0,Q.jsxs)(`div`,{className:`grid w-72 gap-2 px-1 py-1 text-xs`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 px-1.5 text-fg`,children:[(0,Q.jsx)(MA,{className:`size-4 text-accent-fg`,"aria-hidden":!0}),(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`font-medium`,children:`Goal`}),(0,Q.jsx)(`div`,{className:`truncate text-fg-muted`,children:r?m8(r):`No goal attached`})]})]}),(0,Q.jsxs)(`div`,{className:`grid gap-1.5 rounded-md border border-edge/70 bg-surface-muted/30 p-2`,children:[(0,Q.jsx)(`div`,{className:`font-medium text-fg-muted`,children:`Start goal`}),(0,Q.jsxs)(`div`,{className:`flex gap-1.5`,children:[(0,Q.jsx)(`input`,{value:l,onChange:e=>d(e.target.value),className:u(p8,`flex-1`),placeholder:`Goal title`,disabled:D}),(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-8 shrink-0 items-center justify-center rounded-md bg-accent text-white disabled:opacity-50`,disabled:D||!l.trim(),title:`Start goal`,"aria-label":`Start goal`,onClick:()=>void C(),children:(0,Q.jsx)(fw,{className:`size-4`,"aria-hidden":!0})})]})]}),(0,Q.jsxs)(`div`,{className:`grid gap-1.5 rounded-md border border-edge/70 bg-surface-muted/30 p-2`,children:[(0,Q.jsx)(`div`,{className:`font-medium text-fg-muted`,children:r?`Switch goal`:`Attach goal`}),(0,Q.jsxs)(`div`,{className:`flex gap-1.5`,children:[(0,Q.jsxs)(`select`,{value:f,onChange:e=>p(e.target.value),className:u(p8,`flex-1`),disabled:D||x.length===0,children:[x.length===0?(0,Q.jsx)(`option`,{value:``,children:`No open goals`}):null,x.map(e=>(0,Q.jsx)(`option`,{value:e.id,children:m8(e)},e.id))]}),(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-8 shrink-0 items-center justify-center rounded-md border border-edge text-fg hover:bg-surface-hover disabled:opacity-50`,disabled:D||!f,title:r?`Switch goal`:`Attach goal`,"aria-label":r?`Switch goal`:`Attach goal`,onClick:()=>void w(),children:(0,Q.jsx)(ry,{className:`size-4`,"aria-hidden":!0})})]})]}),(0,Q.jsxs)(`button`,{type:`button`,className:`inline-flex h-8 items-center gap-2 rounded-md px-2 text-left text-fg hover:bg-surface-hover disabled:opacity-50`,disabled:D||!r,onClick:()=>void T(),children:[(0,Q.jsx)(hM,{className:`size-4 text-fg-subtle`,"aria-hidden":!0}),`Detach current goal`]}),(0,Q.jsxs)(`div`,{className:`grid gap-1.5 rounded-md border border-edge/70 bg-surface-muted/30 p-2`,children:[(0,Q.jsx)(`div`,{className:`font-medium text-fg-muted`,children:`Run workflow`}),(0,Q.jsxs)(`div`,{className:`flex gap-1.5`,children:[(0,Q.jsxs)(`select`,{value:m,onChange:e=>h(e.target.value),className:u(p8,`flex-1`),disabled:D||!r||s.length===0,children:[s.length===0?(0,Q.jsx)(`option`,{value:``,children:`No workflows`}):null,s.map(e=>(0,Q.jsx)(`option`,{value:e.id,children:e.title||e.name},e.id))]}),(0,Q.jsx)(`button`,{type:`button`,className:`inline-flex size-8 shrink-0 items-center justify-center rounded-md border border-edge text-fg hover:bg-surface-hover disabled:opacity-50`,disabled:D||!r||!m,title:`Run workflow`,"aria-label":`Run workflow`,onClick:()=>void E(),children:(0,Q.jsx)(MA,{className:`size-4`,"aria-hidden":!0})})]})]}),v?(0,Q.jsx)(`div`,{className:`rounded-md border border-destructive/40 bg-destructive/10 px-2 py-1.5 text-destructive`,children:v}):null]})}function g8(e){return e===`off`?Ns:ZD}var _8=(0,Y.memo)(function(e){let t=(0,Z.c)(93),{sessionKey:n,sessionManager:r,disabled:i,sending:a,streaming:o,canSelectWorkingDirectory:s,runBusy:c,chat:l,hasDraft:d,showSteeringInterrupt:f,attachmentCount:p,maxAttachments:m,onPickFiles:h,thinkingLevel:g,showThinkingSelector:_,onThinkingChange:v,voiceActive:y,onStartVoiceInput:b,onSend:x,onAbort:S,onInterrupt:C,sessionModel:w,showModelSelector:T,onModelChange:E,modelDisabled:D,contextUsageMessages:O,composerDraftChars:k}=e,[A,j]=(0,Y.useState)(!1),M=g,N;t[0]===M?N=t[1]:(N=g8(M),t[0]=M,t[1]=N);let P=N,F=p>=m,I;t[2]!==p||t[3]!==F||t[4]!==l.attachFile||t[5]!==l.maxAttachmentsReached||t[6]!==m?(I=F?o6(l.maxAttachmentsReached,{max:m}):`${l.attachFile} (${p}/${m})`,t[2]=p,t[3]=F,t[4]=l.attachFile,t[5]=l.maxAttachmentsReached,t[6]=m,t[7]=I):I=t[7];let L=I,R;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(R=u(`flex flex-wrap items-center gap-2 border-t border-edge-subtle/90 px-4 py-2.5 dark:border-edge-subtle`),t[8]=R):R=t[8];let z=i||c,B;t[9]!==s||t[10]!==n||t[11]!==r||t[12]!==z?(B=(0,Q.jsx)(R6,{sessionKey:n,sessionMgr:r,canSelectWorkingDirectory:s,disabled:z}),t[9]=s,t[10]=n,t[11]=r,t[12]=z,t[13]=B):B=t[13];let V;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(V=u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg bg-surface-hover/70 text-fg-subtle hover:bg-surface-hover hover:text-fg dark:bg-surface-hover/50`,$.transition,$.press,$.focusRingPanel),t[14]=V):V=t[14];let H;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,Q.jsx)(fw,{className:`size-4`}),t[15]=H):H=t[15];let U;t[16]!==l.moreActions||t[17]!==A?(U=(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:V,title:l.moreActions,"aria-label":l.moreActions,"aria-expanded":A,children:H})}),t[16]=l.moreActions,t[17]=A,t[18]=U):U=t[18];let W;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(W=u(`z-50 min-w-[12rem] rounded-xl border border-edge bg-surface-panel p-1.5 shadow-popover dark:border-edge`),t[19]=W):W=t[19];let G=i||c,K;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(K=()=>j(!1),t[20]=K):K=t[20];let ee;t[21]!==n||t[22]!==G?(ee=(0,Q.jsx)(h8,{sessionKey:n,disabled:G,onDone:K}),t[21]=n,t[22]=G,t[23]=ee):ee=t[23];let te;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,Q.jsx)(`div`,{className:`my-1 h-px bg-edge-subtle`}),t[24]=te):te=t[24];let ne;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(ne=u(`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-sm text-fg`,`hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,`disabled:cursor-not-allowed disabled:opacity-50`),t[25]=ne):ne=t[25];let q=F||i||c,re;t[26]===h?re=t[27]:(re=()=>{h(),j(!1)},t[26]=h,t[27]=re);let ie;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,Q.jsx)(a_,{className:`size-4 shrink-0 text-fg-subtle`,"aria-hidden":!0}),t[28]=ie):ie=t[28];let ae;t[29]===l.attachFile?ae=t[30]:(ae=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:l.attachFile}),t[29]=l.attachFile,t[30]=ae);let J;t[31]!==p||t[32]!==m?(J=(0,Q.jsxs)(`span`,{className:`shrink-0 text-xs text-fg-subtle`,children:[p,`/`,m]}),t[31]=p,t[32]=m,t[33]=J):J=t[33];let oe;t[34]!==L||t[35]!==q||t[36]!==re||t[37]!==ae||t[38]!==J?(oe=(0,Q.jsxs)(`button`,{type:`button`,className:ne,disabled:q,title:L,onClick:re,children:[ie,ae,J]}),t[34]=L,t[35]=q,t[36]=re,t[37]=ae,t[38]=J,t[39]=oe):oe=t[39];let se;t[40]!==P||t[41]!==i||t[42]!==l.thinkingLevelLabel||t[43]!==l.thinkingLevels||t[44]!==v||t[45]!==a||t[46]!==_||t[47]!==o||t[48]!==g?(se=_?(0,Q.jsxs)(`label`,{className:u(`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-sm text-fg`,`hover:bg-surface-hover`),title:`${l.thinkingLevelLabel}: ${l.thinkingLevels[g]??g}`,children:[(0,Q.jsx)(P,{className:`size-4 shrink-0 text-accent-fg`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`shrink-0 text-fg-muted`,children:l.thinkingLevelLabel}),(0,Q.jsx)(`select`,{className:`min-w-0 flex-1 cursor-pointer appearance-none rounded-md bg-surface-hover/80 px-2 py-0.5 text-sm font-medium text-fg focus:outline-none focus-visible:ring-2 focus-visible:ring-accent`,value:g,disabled:i||a&&!o,onChange:e=>v(e.target.value),children:Object.keys(l.thinkingLevels).map(e=>(0,Q.jsx)(`option`,{value:e,children:l.thinkingLevels[e]},e))})]}):null,t[40]=P,t[41]=i,t[42]=l.thinkingLevelLabel,t[43]=l.thinkingLevels,t[44]=v,t[45]=a,t[46]=_,t[47]=o,t[48]=g,t[49]=se):se=t[49];let ce;t[50]!==ee||t[51]!==oe||t[52]!==se?(ce=(0,Q.jsx)(uL,{children:(0,Q.jsx)(dL,{className:W,side:`top`,align:`start`,sideOffset:8,collisionPadding:12,onOpenAutoFocus:v8,children:(0,Q.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[ee,te,oe,se]})})}),t[50]=ee,t[51]=oe,t[52]=se,t[53]=ce):ce=t[53];let le;t[54]!==A||t[55]!==ce||t[56]!==U?(le=(0,Q.jsxs)(sL,{open:A,onOpenChange:j,children:[U,ce]}),t[54]=A,t[55]=ce,t[56]=U,t[57]=le):le=t[57];let ue;t[58]!==k||t[59]!==O||t[60]!==l||t[61]!==D||t[62]!==E||t[63]!==w||t[64]!==T?(ue=T?(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[(0,Q.jsx)(`div`,{className:`min-w-0 w-fit max-w-[min(20rem,calc(100vw-10rem))] shrink-0`,children:(0,Q.jsx)(_6,{value:w,disabled:D,placeholder:l.modelPlaceholder,searchPlaceholder:l.modelSearchPlaceholder,noMatches:l.modelNoMatches,compact:!0,showProviderInTrigger:!1,contentSide:`top`,contentAlign:`end`,showProviderSettingsFooter:!0,onChange:E})}),(0,Q.jsx)(f6,{sessionModel:w,messages:O,draftChars:k,chat:l,disabled:D})]}):null,t[58]=k,t[59]=O,t[60]=l,t[61]=D,t[62]=E,t[63]=w,t[64]=T,t[65]=ue):ue=t[65];let de;t[66]!==i||t[67]!==l.voiceInput||t[68]!==b||t[69]!==y?(de=y?null:(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg border border-transparent text-fg-subtle hover:bg-surface-hover hover:text-fg`,$.transition,$.press,$.focusRingPanel,`disabled:cursor-not-allowed disabled:opacity-50`),disabled:i,title:l.voiceInput,"aria-label":l.voiceInput,onClick:()=>void b(),children:(0,Q.jsx)(sx,{className:`size-4 stroke-[1.75]`})}),t[66]=i,t[67]=l.voiceInput,t[68]=b,t[69]=y,t[70]=de):de=t[70];let fe;t[71]!==i||t[72]!==d||t[73]!==l.abort||t[74]!==l.sendMessage||t[75]!==l.steeringInterruptSend||t[76]!==S||t[77]!==C||t[78]!==x||t[79]!==c||t[80]!==f||t[81]!==y?(fe=c?(0,Q.jsxs)(Q.Fragment,{children:[f&&C?(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg border border-transparent text-accent-fg hover:bg-accent-soft dark:hover:bg-accent-soft`,$.transition,$.press,$.focusRingPanel),title:l.steeringInterruptSend,"aria-label":l.steeringInterruptSend,onClick:()=>void C(),children:(0,Q.jsx)(ME,{className:`size-4 stroke-[1.75]`})}):null,(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg bg-surface-hover/70 text-fg-muted hover:bg-surface-hover hover:text-fg dark:bg-surface-hover/50`,$.transition,$.press,$.focusRingPanel),title:l.abort,"aria-label":l.abort,onClick:S,children:(0,Q.jsx)(wk,{className:`size-4 stroke-[1.75]`})})]}):(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg border transition-colors duration-150 ease-out`,$.press,$.focusRingPanel,d?`border-transparent text-accent-fg hover:bg-accent-soft dark:text-accent-fg dark:hover:bg-accent-soft`:`border-transparent text-fg-disabled`),disabled:i||y||!d,title:l.sendMessage,"aria-label":l.sendMessage,onClick:x,children:(0,Q.jsx)(ME,{className:`size-4 stroke-[1.75]`})}),t[71]=i,t[72]=d,t[73]=l.abort,t[74]=l.sendMessage,t[75]=l.steeringInterruptSend,t[76]=S,t[77]=C,t[78]=x,t[79]=c,t[80]=f,t[81]=y,t[82]=fe):fe=t[82];let pe;t[83]!==de||t[84]!==fe?(pe=(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[de,fe]}),t[83]=de,t[84]=fe,t[85]=pe):pe=t[85];let me;t[86]!==ue||t[87]!==pe?(me=(0,Q.jsxs)(`div`,{className:`ml-auto flex min-w-0 items-center gap-2`,children:[ue,pe]}),t[86]=ue,t[87]=pe,t[88]=me):me=t[88];let he;return t[89]!==le||t[90]!==me||t[91]!==B?(he=(0,Q.jsxs)(`div`,{className:R,children:[B,le,me]}),t[89]=le,t[90]=me,t[91]=B,t[92]=he):he=t[92],he});function v8(e){return e.preventDefault()}function y8(e){return e.map(e=>({type:e.type===`voice`?`voice`:(e.mimeType??``).startsWith(`image/`)?`image`:`document`,mimeType:e.mimeType??`application/octet-stream`,content:e.data??``,name:e.name??`file`,size:e.size??0,uri:e.uri,...typeof e.durationSeconds==`number`&&Number.isFinite(e.durationSeconds)&&e.durationSeconds>0?{durationSeconds:e.durationSeconds}:{}}))}var b8=100,x8=400,S8=900;function C8(e,t){switch(t.type){case`reset`:return{box:null,hoverPreview:null};case`set-box`:return{...e,box:t.box};case`set-hover`:return{...e,hoverPreview:t.hoverPreview}}}function w8(e,t){let n=t.trim().toLowerCase();if(!n)return[];let r=e.toLowerCase(),i=[],a=0;for(let e=0;e<r.length&&a<n.length;e++)r[e]===n[a]&&(i.push([e,e+1]),a++);return i}function T8(e){let t=(0,Z.c)(8),{name:n,query:r}=e,i;t[0]!==n||t[1]!==r?(i=w8(n,r),t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i;if(a.length===0){let e;return t[3]===n?e=t[4]:(e=(0,Q.jsx)(`span`,{className:`font-medium text-fg`,children:n}),t[3]=n,t[4]=e),e}let o;if(t[5]!==n||t[6]!==a){let e=[],r=0;a.forEach(t=>{let[i,a]=t;i>r&&e.push((0,Q.jsx)(`span`,{className:`font-medium text-fg`,children:n.slice(r,i)},`pre-${i}`)),e.push((0,Q.jsx)(`span`,{className:`font-semibold text-accent-fg`,children:n.slice(i,a)},`hl-${i}-${a}`)),r=a}),r<n.length&&e.push((0,Q.jsx)(`span`,{className:`font-medium text-fg`,children:n.slice(r)},`tail`)),o=(0,Q.jsx)(Q.Fragment,{children:e}),t[5]=n,t[6]=a,t[7]=o}else o=t[7];return o}var E8=(0,Y.memo)(function(e){let t=(0,Z.c)(39),{open:n,anchorRef:r,items:i,selectedIndex:a,loading:o,query:s,noResults:c,sessionKey:l,recentLabel:d,ariaLabel:f,onSelectItem:p,shiftHint:m}=e,h;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(h={box:null,hoverPreview:null},t[0]=h):h=t[0];let[g,_]=(0,Y.useReducer)(C8,h),v=g.box,y=g.hoverPreview,b=(0,Y.useRef)(null),x=(0,Y.useRef)(0),S;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(S=()=>{b.current&&=(clearTimeout(b.current),null)},t[1]=S):S=t[1];let C=S,w;t[2]===l?w=t[3]:(w=(e,t,n)=>{C(),x.current+=1;let r=x.current,i=e.relativePath;if(!l?.trim()||e.isDirectory||e.isBrowseUp||!i){_({type:`set-hover`,hoverPreview:null});return}b.current=setTimeout(()=>{b.current=null,r===x.current&&CW(i,{sessionKey:l}).then(e=>{let{content:i}=e,a=i.length>S8?`${i.slice(0,S8)}…`:i;r===x.current&&_({type:`set-hover`,hoverPreview:{text:a,x:t,y:n}})}).catch(()=>{r===x.current&&_({type:`set-hover`,hoverPreview:null})})},420)},t[2]=l,t[3]=w);let T=w,E,D;if(t[4]!==r||t[5]!==n?(E=()=>{if(!n){_({type:`reset`}),C(),x.current+=1;return}let e=()=>{let e=r.current;if(!e)return;let t=e.getBoundingClientRect();_({type:`set-box`,box:{left:t.left,top:t.top,width:t.width}})};e();let t=r.current,i=t&&typeof ResizeObserver<`u`?new ResizeObserver(()=>{e()}):null;return t&&i&&i.observe(t),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{t&&i&&i.disconnect(),window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},D=[n,r],t[4]=r,t[5]=n,t[6]=E,t[7]=D):(E=t[6],D=t[7]),(0,Y.useLayoutEffect)(E,D),!n||typeof document>`u`||v===null)return null;let O=i.length,k=Math.min(v.width,x8),A;t[8]!==v.left||t[9]!==v.top||t[10]!==k?(A={position:`fixed`,left:v.left,top:v.top,width:k,transform:`translateY(calc(-100% - 8px))`,zIndex:b8},t[8]=v.left,t[9]=v.top,t[10]=k,t[11]=A):A=t[11];let j=a>=0&&a<O?`at-mention-${a}`:void 0,M;t[12]!==o||t[13]!==O?(M=o&&O===0?(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 px-3 py-2.5 text-sm text-fg-muted`,children:[(0,Q.jsx)(Ey,{className:`size-4 shrink-0 animate-spin`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:`…`})]}):null,t[12]=o,t[13]=O,t[14]=M):M=t[14];let N;t[15]!==i||t[16]!==o||t[17]!==c||t[18]!==p||t[19]!==s||t[20]!==d||t[21]!==T||t[22]!==a||t[23]!==O?(N=!o&&O===0?(0,Q.jsx)(`div`,{className:`px-3 py-2 text-sm text-fg-muted`,children:c}):(0,Q.jsx)(Q.Fragment,{children:i.map((e,t)=>(0,Q.jsxs)(`div`,{id:`at-mention-${t}`,role:`option`,"aria-selected":a===t,tabIndex:-1,className:u(`flex cursor-pointer items-start gap-2 px-3 py-2 text-left text-sm`,a===t?`bg-surface-hover text-fg`:`text-fg-subtle hover:bg-surface-hover/80`,e.isRecent&&`border-l-2 border-l-accent/60`),onPointerDown:t=>{t.pointerType===`mouse`&&t.button!==0||(t.preventDefault(),p(e,{shiftKey:t.shiftKey}))},onPointerEnter:t=>T(e,t.clientX,t.clientY),onPointerLeave:()=>{C(),x.current+=1,_({type:`set-hover`,hoverPreview:null})},children:[(0,Q.jsx)(`span`,{className:`mt-0.5 shrink-0`,children:e.isBrowseUp?(0,Q.jsx)(sv,{className:`size-3.5 text-fg-muted`,"aria-hidden":!0}):e.isDirectory?(0,Q.jsx)(sv,{className:`size-3.5 text-amber-600 dark:text-amber-400`,"aria-hidden":!0}):(0,Q.jsx)(Xg,{className:u(`size-3.5`,dW(e.name)),"aria-hidden":!0})}),(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 truncate`,children:[(0,Q.jsx)(`span`,{className:`truncate`,children:(0,Q.jsx)(T8,{name:e.name,query:s})}),e.isRecent?(0,Q.jsx)(`span`,{className:`shrink-0 rounded bg-accent-soft px-1 py-0 text-[0.65rem] text-accent-fg`,children:d}):null]}),(0,Q.jsx)(`div`,{className:`mt-0.5 truncate text-xs text-fg-muted`,children:e.relativePath||`—`})]})]},`${e.relativePath}-${e.name}`))}),t[15]=i,t[16]=o,t[17]=c,t[18]=p,t[19]=s,t[20]=d,t[21]=T,t[22]=a,t[23]=O,t[24]=N):N=t[24];let P;t[25]!==f||t[26]!==j||t[27]!==M||t[28]!==N?(P=(0,Q.jsxs)(`div`,{className:`max-h-[min(26rem,54vh)] overflow-y-auto`,role:`listbox`,"aria-label":f,"aria-activedescendant":j,children:[M,N]}),t[25]=f,t[26]=j,t[27]=M,t[28]=N,t[29]=P):P=t[29];let F;t[30]===m?F=t[31]:(F=m?(0,Q.jsx)(`div`,{className:`border-t border-edge-subtle px-3 py-1.5 text-[0.65rem] text-fg-muted`,children:m}):null,t[30]=m,t[31]=F);let I;t[32]===y?I=t[33]:(I=y?(0,Q.jsx)(`div`,{className:`pointer-events-none fixed z-[200] max-h-48 max-w-sm overflow-auto rounded-md border border-edge bg-surface-panel p-2 font-mono text-[0.7rem] text-fg shadow-lg`,style:{left:Math.min(y.x+12,window.innerWidth-320),top:Math.min(y.y+12,window.innerHeight-200)},children:y.text}):null,t[32]=y,t[33]=I);let L;return t[34]!==P||t[35]!==F||t[36]!==I||t[37]!==A?(L=(0,ua.createPortal)((0,Q.jsxs)(`div`,{className:`pointer-events-auto max-h-[min(28rem,60vh)] min-h-[2.5rem] overflow-hidden rounded-lg border border-edge bg-surface-panel shadow-lg dark:bg-surface-panel/95`,style:A,role:`presentation`,children:[P,F,I]}),document.body),t[34]=P,t[35]=F,t[36]=I,t[37]=A,t[38]=L):L=t[38],L}),D8=new Set([`abort`,`stop`,`cancel`]);function O8(e){if(e.kind!==`command`)return!1;if(D8.has(e.name.toLowerCase()))return!0;for(let t of e.aliases??[])if(D8.has(t.toLowerCase()))return!0;return!1}function k8(e,t,n,r){return e.slice(0,t)+r+e.slice(n)}var A8={skill:(e,t)=>{let n=t.slashRange;if(!n)return;if(e.availability?.status&&e.availability.status!==`available`){t.callbacks.onUnavailableSkill?.(e);return}let r=`/skill:${e.name} `,i=k8(t.editor.valueRef.current,n.start,n.end,r),a=n.start+r.length;t.editor.resetEditor({nextText:i,caretOffset:a,focus:!0})},command:(e,t)=>{let n=t.slashRange;if(!n||n.start!==0)return;if(e.acceptsArgs===!0){let r=`/${e.name} `,i=k8(t.editor.valueRef.current,n.start,n.end,r),a=n.start+r.length;t.editor.resetEditor({nextText:i,caretOffset:a,focus:!0});return}let r=`/${e.name}`;if(t.runBusy||t.pendingFollowUpsCount>0){if(O8(e)){if(!t.callbacks.onAbort)return;t.callbacks.onAbort();let e=t.editor.valueRef.current,r=e.slice(0,n.start)+e.slice(n.end);t.editor.resetEditor({nextText:r,caretOffset:n.start});return}if(!t.callbacks.onAddPendingFollowUp||t.pendingFollowUpsCount>=t.maxPendingFollowUps)return;t.callbacks.onAddPendingFollowUp(r,void 0),t.callbacks.onUserTextCommitted?.(r),t.attachments.clearAttachments(),t.editor.resetEditor();return}t.callbacks.onSend(r,void 0,t.thinkingLevel),t.callbacks.onUserTextCommitted?.(r),t.attachments.clearAttachments(),t.editor.resetEditor()},agent:(e,t)=>{let n=t.slashRange;if(!n||n.start!==0||!t.callbacks.onChatAgentChange)return;let r=t.editor.valueRef.current,i=r.slice(0,n.start)+r.slice(n.end);t.editor.resetEditor({nextText:i,caretOffset:n.start}),t.attachments.clearAttachments(),t.callbacks.onChatAgentChange(e.name)}};function j8(e,t){let n=A8[e.kind];n&&n(e,t)}var M8={new:10,help:11,list:12,clear:13,switch:14,models:15,usage:16,skills:17,settings:18,start:19,think:20,reasoning:21,verbose:22,status:23,tts:24},N8=new Set([`abort`,`archive`]);function P8(e){if(e.kind===`command`){let t=e.name.toLowerCase();if(M8[t]!==void 0)return 0;if(N8.has(t))return 2}return 1}function F8(e,t){let n=P8(e),r=P8(t);if(n!==r)return n-r;if(n===0){let n=M8[e.name.toLowerCase()]??999,r=M8[t.name.toLowerCase()]??999;if(n!==r)return n-r}let i=e.name.localeCompare(t.name);return i===0?e.id.localeCompare(t.id):i}var I8=RegExp(`^@file:${p3}`,`u`);function L8(e){if(e.kind!==`command`)return!1;if(D8.has(e.name.toLowerCase()))return!0;for(let t of e.aliases??[])if(D8.has(t.toLowerCase()))return!0;return!1}function R8(e,t){return e.kind!==`command`||e.acceptsArgs===!0||L8(e)||!(t.runBusy||t.pendingFollowUpsCount>0)?!1:t.pendingFollowUpsCount>=t.maxPendingFollowUps}function z8(e,t){return e.kind!==`command`||e.acceptsArgs===!0||L8(e)||!(t.runBusy||t.pendingFollowUpsCount>0)?!1:t.pendingFollowUpsCount<t.maxPendingFollowUps}function B8(e,t){let n=0;for(;n<e.length;){let r=e.indexOf(`@file:`,n);if(r===-1)return null;let i=e.slice(r).match(I8);if(!i){n=r+1;continue}let a=r+i[0].length;if(t>=r&&t<a)return{start:r,end:a};n=a}return null}var V8=20,H8=3;function U8(e){return e.includes(`/`)||/^[A-Za-z]:/u.test(e)?!0:/^(Users|home|var|tmp|etc|opt|private|Volumes|System|Applications|Library|usr|dev|bin|sbin|proc|sys)(\/|$)/iu.test(e)}function W8(e,t){if(t===0)return!1;let n=e[t-1];if(n===void 0||n===`.`||n===`:`||n===`/`)return!0;let r=e.slice(0,t);return/[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/u.test(r)}function G8(e,t){let n=e.length,r=Math.min(Math.max(t,0),n);if(r<1&&e===`/`&&(r=1),r<1)return null;let i=e.slice(0,r).match(/\/[^\s]*$/);if(!i||i.index===void 0||B8(e,i.index))return null;let a=i.index;if(W8(e,a))return null;let o=i[0],s=o.slice(1);return U8(s)||o.startsWith(`/skill:`)?null:{start:i.index,end:r,query:s}}function K8(e,t){let n=t.trim().toLowerCase();if(!n)return 0;let r=e.name.toLowerCase();if(r===n)return 0;for(let t of e.aliases??[])if(t.toLowerCase()===n)return 1;if(r.startsWith(n))return 2;for(let t of e.aliases??[])if(t.toLowerCase().startsWith(n))return 3;if(r.includes(n))return 4;for(let t of e.aliases??[])if(t.toLowerCase().includes(n))return 5;return(e.description??``).toLowerCase().includes(n)?100:(e.category??``).toLowerCase().includes(n)?101:e.kind===`skill`&&(e.source??``).toLowerCase().includes(n)?102:null}function q8(e,t){return t===0?0:Math.min(e,t-1)}function J8(e,t,n){let r=(0,Z.c)(57),[i,a]=(0,Y.useState)(0),[o,s]=(0,Y.useState)(0),[c,l]=(0,Y.useState)(!1),[u,d]=(0,Y.useState)(!1),[f,p]=(0,Y.useState)(!1),m=v(yre);n?.isComposing;let h;r[0]!==t||r[1]!==n?.isComposing||r[2]!==e?(h=n?.isComposing?null:G8(e,t),r[0]=t,r[1]=n?.isComposing,r[2]=e,r[3]=h):h=r[3];let g=h,_=!!(g&&!n?.suppress),y,b;r[4]===Symbol.for(`react.memo_cache_sentinel`)?(y=()=>{let e=e=>{let t=e.detail;t&&typeof t==`object`&&`section`in t&&(t.section===`skills`||t.section===`agents`)&&s(vre)};return window.addEventListener(`config-reload`,e),()=>window.removeEventListener(`config-reload`,e)},b=[],r[4]=y,r[5]=b):(y=r[4],b=r[5]),(0,Y.useEffect)(y,b),!_&&(c||u||f)&&(l(!1),d(!1),p(!1));let x;r[6]===n?.currentAgentId?x=r[7]:(x=async()=>{let[e,t,r]=await Promise.all([D$(),O$(n?.currentAgentId),AB().catch(_re)]),i=e.map(gre),a=t.skills.map(hre),o=r&&r.items.length>1?r.items.map(mre):[];return[...a,...i,...o]},r[6]=n?.currentAgentId,r[7]=x);let S=n?.currentAgentId,C;r[8]!==m||r[9]!==o||r[10]!==S?(C=[m,S,o],r[8]=m,r[9]=o,r[10]=S,r[11]=C):C=r[11];let w;r[12]===Symbol.for(`react.memo_cache_sentinel`)?(w=[],r[12]=w):w=r[12];let T;r[13]===Symbol.for(`react.memo_cache_sentinel`)?(T=[],r[13]=T):T=r[13];let E;r[14]===_?E=r[15]:(E={enabled:_,initial:w,errorData:T},r[14]=_,r[15]=E);let D=yR(x,C,E),O=D.data,k=D.error==null?null:D.error instanceof Error?D.error.message:String(D.error),A=g?.query??``,j=g!==null&&g.start===0,M=j,N;r[16]===A?N=r[17]:(N=A.trim(),r[16]=A,r[17]=N);let P=N===``,F=_&&P&&c,I=_&&P&&u,L=_&&P&&f,R;r[18]===Symbol.for(`react.memo_cache_sentinel`)?(R=()=>{l(!0)},r[18]=R):R=r[18];let z=R,B;r[19]===Symbol.for(`react.memo_cache_sentinel`)?(B=()=>{d(!0)},r[19]=B):B=r[19];let V=B,H;r[20]===Symbol.for(`react.memo_cache_sentinel`)?(H=()=>{p(!0)},r[20]=H):H=r[20];let U=H,W;if(r[21]!==M||r[22]!==O||r[23]!==j||r[24]!==L||r[25]!==I||r[26]!==F||r[27]!==P||r[28]!==A||r[29]!==e){bb0:{let t=P3(e),n=[];for(let e of O){if(e.kind===`command`&&!j||e.kind===`agent`&&!M||e.kind===`skill`&&t.has(e.name)||e.kind===`skill`&&P&&e.availability?.status!==`available`)continue;let r=K8(e,A);r!==null&&n.push({item:e,rank:r})}if(P){let e=pre,t=n.filter(fre).sort(e).map(dre),r=n.filter(ure).sort(e).map(lre),i=n.filter(cre).sort(e).map(sre),a=F?t:t.slice(0,H8),o=I?r:r.slice(0,H8),s=L?i:i.slice(0,H8),c=F?0:Math.max(0,t.length-H8),l=I?0:Math.max(0,r.length-H8),u=L?0:Math.max(0,i.length-H8);W={items:[...a,...o,...s],skillRowCount:a.length,commandRowCount:o.length,groupedHasSkills:t.length>0,groupedHasCommands:r.length>0,groupedHasAgents:i.length>0,groupedSkillsMoreCount:c,groupedCommandsMoreCount:l,groupedAgentsMoreCount:u};break bb0}n.sort(X8);let i;r[31]===n?i=r[32]:(i={items:n.slice(0,V8).map(Y8),skillRowCount:0,commandRowCount:0,groupedHasSkills:!1,groupedHasCommands:!1,groupedHasAgents:!1,groupedSkillsMoreCount:0,groupedCommandsMoreCount:0,groupedAgentsMoreCount:0},r[31]=n,r[32]=i),W=i}r[21]=M,r[22]=O,r[23]=j,r[24]=L,r[25]=I,r[26]=F,r[27]=P,r[28]=A,r[29]=e,r[30]=W}else W=r[30];let{items:G,skillRowCount:K,commandRowCount:ee,groupedHasSkills:te,groupedHasCommands:ne,groupedHasAgents:q,groupedSkillsMoreCount:re,groupedCommandsMoreCount:ie,groupedAgentsMoreCount:ae}=W,J=g?A:``,oe=(0,Y.useRef)(J);oe.current!==J&&(oe.current=J,i!==0&&a(0));let se;r[33]!==G.length||r[34]!==i?(se=q8(i,G.length),r[33]=G.length,r[34]=i,r[35]=se):se=r[35];let ce=se,le;r[36]===G.length?le=r[37]:(le=e=>{G.length!==0&&a(t=>e===`down`?(t+1)%G.length:(t-1+G.length)%G.length)},r[36]=G.length,r[37]=le);let ue=le,de;return r[38]!==M||r[39]!==ee||r[40]!==j||r[41]!==P||r[42]!==ae||r[43]!==ie||r[44]!==q||r[45]!==ne||r[46]!==te||r[47]!==re||r[48]!==G||r[49]!==k||r[50]!==ue||r[51]!==_||r[52]!==A||r[53]!==ce||r[54]!==K||r[55]!==g?(de={open:_,slashRange:g,commandsAllowed:j,agentsAllowed:M,grouped:P,skillRowCount:K,commandRowCount:ee,groupedHasSkills:te,groupedHasCommands:ne,groupedHasAgents:q,groupedSkillsMoreCount:re,groupedCommandsMoreCount:ie,groupedAgentsMoreCount:ae,items:G,selectedIndex:ce,query:A,loadError:k,onNavigate:ue,setSelectedIndex:a,expandGroupedSkills:z,expandGroupedCommands:V,expandGroupedAgents:U},r[38]=M,r[39]=ee,r[40]=j,r[41]=P,r[42]=ae,r[43]=ie,r[44]=q,r[45]=ne,r[46]=te,r[47]=re,r[48]=G,r[49]=k,r[50]=ue,r[51]=_,r[52]=A,r[53]=ce,r[54]=K,r[55]=g,r[56]=de):de=r[56],de}function Y8(e){return e.item}function X8(e,t){let n=e.item.kind===`skill`&&e.item.availability?.status!==`available`;if(n!==(t.item.kind===`skill`&&t.item.availability?.status!==`available`))return n?1:-1;if(e.rank!==t.rank)return e.rank-t.rank;let r=F8(e.item,t.item);return r===0?0:r}function sre(e){return e.item}function cre(e){return e.item.kind===`agent`}function lre(e){return e.item}function ure(e){return e.item.kind===`command`}function dre(e){return e.item}function fre(e){return e.item.kind===`skill`}function pre(e,t){let n=F8(e.item,t.item);return n===0?e.item.id.localeCompare(t.item.id):n}function mre(e){return{kind:`agent`,id:`agent:${e.id}`,name:e.id,description:e.description??``,category:`agent`,...e.avatar?{avatar:e.avatar}:{},...e.name?{aliases:[e.name]}:{}}}function hre(e){return{kind:`skill`,id:`skill:${e.name}`,name:e.name,description:e.description,category:`skill`,source:e.source,availability:{status:e.availableForCurrentAgent?`available`:e.unavailableReason??`agent-denied`,reason:e.unavailableReason??void 0}}}function gre(e){return{kind:`command`,id:`cmd:${e.id}`,name:e.name,description:e.description,category:e.category,aliases:e.aliases,acceptsArgs:e.acceptsArgs}}function _re(){return null}function vre(e){return e+1}function yre(e){return e.language}var bre=100,xre=280;function Z8(e,t){let n=t.trim().toLowerCase();if(!n)return e;let r=e.toLowerCase().indexOf(n);if(r>=0)return(0,Q.jsxs)(Q.Fragment,{children:[e.slice(0,r),(0,Q.jsx)(`span`,{className:`text-accent-fg`,children:e.slice(r,r+n.length)}),e.slice(r+n.length)]});let i=[],a=0,o=0;for(let t of e){let e=n[a],r=`${String(o)}-${t}`;e!==void 0&&t.toLowerCase()===e?(i.push((0,Q.jsx)(`span`,{className:`text-accent-fg`,children:t},r)),a+=1):i.push((0,Q.jsx)(Y.Fragment,{children:t},r)),o+=1}return(0,Q.jsx)(Q.Fragment,{children:i})}function Sre(e,t){let n=t.trim().toLowerCase();if(!n)return e;let r=e.toLowerCase().indexOf(n);return r<0?e:(0,Q.jsxs)(Q.Fragment,{children:[e.slice(0,r),(0,Q.jsx)(`span`,{className:`text-accent-fg`,children:e.slice(r,r+n.length)}),e.slice(r+n.length)]})}var Cre=(0,Y.memo)(function(e){let t=(0,Z.c)(45),{open:n,anchorRef:r,items:i,selectedIndex:a,noResults:o,grouped:s,skillRowCount:c,commandRowCount:l,query:d,skillsLabel:f,commandsLabel:p,agentsLabel:m,groupedHasSkills:h,groupedHasCommands:g,groupedHasAgents:_,groupedSkillsShowMoreLabel:v,groupedCommandsShowMoreLabel:y,groupedAgentsShowMoreLabel:b,currentAgentId:x,currentBadgeLabel:S,runBusy:C,pendingFollowUpsCount:w,maxPendingFollowUps:T,queueBadgeLabel:E,queueFullBadgeLabel:D,queueFullTooltip:O,skillUnavailableLabel:k,skillAgentDeniedLabel:A,onExpandSkills:j,onExpandCommands:M,onExpandAgents:N,onSelectItem:P,panelRef:F}=e,[I,L]=(0,Y.useState)(null),R,z;if(t[0]!==r||t[1]!==n?(R=()=>{if(!n){L(null);return}let e=()=>{let e=r.current;if(!e)return;let t=e.getBoundingClientRect();L({left:t.left,top:t.top,width:t.width})};e();let t=r.current,i=t&&typeof ResizeObserver<`u`?new ResizeObserver(()=>{e()}):null;return t&&i&&i.observe(t),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{t&&i&&i.disconnect(),window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},z=[n,r],t[0]=r,t[1]=n,t[2]=R,t[3]=z):(R=t[2],z=t[3]),(0,Y.useLayoutEffect)(R,z),!n||typeof document>`u`||I===null)return null;let B=i.length,V=Math.min(I.width,xre),H;if(t[4]!==m||t[5]!==l||t[6]!==p||t[7]!==x||t[8]!==S||t[9]!==s||t[10]!==b||t[11]!==y||t[12]!==_||t[13]!==g||t[14]!==h||t[15]!==v||t[16]!==i||t[17]!==T||t[18]!==o||t[19]!==N||t[20]!==M||t[21]!==j||t[22]!==P||t[23]!==w||t[24]!==d||t[25]!==E||t[26]!==D||t[27]!==O||t[28]!==C||t[29]!==a||t[30]!==A||t[31]!==c||t[32]!==k||t[33]!==f||t[34]!==B){let e=d.trim(),n=!s&&e.length>0,r={runBusy:C,pendingFollowUpsCount:w,maxPendingFollowUps:T},F=(t,i)=>{let o=t.kind===`skill`,s=t.kind===`agent`,c=s?(0,Q.jsx)(TU,{agentId:t.name,avatar:t.avatar,size:18,className:`size-[18px] shrink-0`}):o?(0,Q.jsx)(ZD,{className:`size-3 shrink-0 text-accent-fg`,"aria-hidden":!0}):(0,Q.jsx)($N,{className:`size-3 shrink-0 text-amber-600 dark:text-amber-400`,"aria-hidden":!0}),l=s?n?(0,Q.jsx)(Q.Fragment,{children:Z8(t.name,e)}):(0,Q.jsx)(`span`,{className:`text-fg`,children:t.name}):n?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{className:`text-fg`,children:`/`}),Z8(t.name,e)]}):(0,Q.jsxs)(`span`,{className:`text-fg`,children:[`/`,t.name]}),u=s&&x!=null&&x.length>0&&t.name===x,d=o&&t.availability?.status!==`available`,f=z8(t,r),p=R8(t,r),m=null;return u?m=(0,Q.jsx)(`span`,{className:`ml-1 shrink-0 rounded bg-accent-soft px-1 py-px text-[0.6rem] font-medium leading-none text-accent-fg`,"aria-label":S,children:S}):d?m=(0,Q.jsx)(`span`,{className:`ml-1 shrink-0 rounded bg-surface-hover px-1 py-px text-[0.6rem] font-medium leading-none text-fg-muted`,"aria-label":t.availability?.reason??`unavailable`,children:t.availability?.status===`agent-denied`?A:k}):p?m=(0,Q.jsx)(`span`,{className:`ml-1 shrink-0 rounded bg-red-100 px-1 py-px text-[0.6rem] font-medium leading-none text-red-700 dark:bg-red-900/40 dark:text-red-300`,"aria-label":D,children:D}):f&&(m=(0,Q.jsx)(`span`,{className:`ml-1 shrink-0 rounded bg-surface-hover px-1 py-px text-[0.6rem] font-medium leading-none text-fg-muted`,"aria-label":E,children:E})),(0,Q.jsx)(wre,{item:t,icon:c,selected:a===i,id:`palette-${i}`,nameLine:l,descriptionLine:t.description?n?Sre(t.description,e):t.description:null,dimCategoryBadge:n,trailingBadge:m,disabled:p,disabledTooltip:p?O:void 0,onSelect:()=>P(t)})};H=B===0?(0,Q.jsx)(`div`,{className:`p-2.5 text-xs leading-normal text-fg-muted`,children:o}):s?(0,Q.jsxs)(Q.Fragment,{children:[h?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`div`,{className:`mb-1.5 px-2.5 pt-2.5 text-[0.6rem] font-medium uppercase leading-none tracking-wide text-fg-muted`,"aria-hidden":!0,children:f}),i.slice(0,c).map((e,t)=>(0,Q.jsx)(Y.Fragment,{children:F(e,t)},e.id)),v?(0,Q.jsx)(`button`,{type:`button`,className:`w-full px-2.5 py-1 text-left text-[11px] leading-tight text-fg-muted transition hover:bg-surface-hover/80 hover:text-fg`,onClick:e=>{e.preventDefault(),j()},children:v}):null]}):null,g?(0,Q.jsxs)(`div`,{className:u(h&&`mt-1 border-t border-edge-subtle`),children:[(0,Q.jsx)(`div`,{className:`mb-1.5 px-2.5 pt-2.5 text-[0.6rem] font-medium uppercase leading-none tracking-wide text-fg-muted`,"aria-hidden":!0,children:p}),i.slice(c,c+l).map((e,t)=>(0,Q.jsx)(Y.Fragment,{children:F(e,c+t)},e.id)),y?(0,Q.jsx)(`button`,{type:`button`,className:`w-full px-2.5 py-1 text-left text-[11px] leading-tight text-fg-muted transition hover:bg-surface-hover/80 hover:text-fg`,onClick:e=>{e.preventDefault(),M()},children:y}):null]}):null,_?(0,Q.jsxs)(`div`,{className:u((h||g)&&`mt-1 border-t border-edge-subtle`),children:[(0,Q.jsx)(`div`,{className:`mb-1.5 px-2.5 pt-2.5 text-[0.6rem] font-medium uppercase leading-none tracking-wide text-fg-muted`,"aria-hidden":!0,children:m}),i.slice(c+l).map((e,t)=>(0,Q.jsx)(Y.Fragment,{children:F(e,c+l+t)},e.id)),b?(0,Q.jsx)(`button`,{type:`button`,className:`w-full px-2.5 py-1 text-left text-[11px] leading-tight text-fg-muted transition hover:bg-surface-hover/80 hover:text-fg`,onClick:e=>{e.preventDefault(),N()},children:b}):null]}):null]}):i.map((e,t)=>(0,Q.jsx)(Y.Fragment,{children:F(e,t)},e.id)),t[4]=m,t[5]=l,t[6]=p,t[7]=x,t[8]=S,t[9]=s,t[10]=b,t[11]=y,t[12]=_,t[13]=g,t[14]=h,t[15]=v,t[16]=i,t[17]=T,t[18]=o,t[19]=N,t[20]=M,t[21]=j,t[22]=P,t[23]=w,t[24]=d,t[25]=E,t[26]=D,t[27]=O,t[28]=C,t[29]=a,t[30]=A,t[31]=c,t[32]=k,t[33]=f,t[34]=B,t[35]=H}else H=t[35];let U=H,W;t[36]!==I.left||t[37]!==I.top||t[38]!==V?(W={position:`fixed`,left:I.left,top:I.top,width:V,transform:`translateY(calc(-100% - 8px))`,zIndex:bre},t[36]=I.left,t[37]=I.top,t[38]=V,t[39]=W):W=t[39];let G=a>=0&&a<B?`palette-${a}`:void 0,K;return t[40]!==U||t[41]!==F||t[42]!==W||t[43]!==G?(K=(0,ua.createPortal)((0,Q.jsx)(OX,{delayDuration:0,skipDelayDuration:0,disableHoverableContent:!1,children:(0,Q.jsx)(`div`,{ref:F,className:`pointer-events-auto max-h-[min(24rem,55vh)] min-h-8 overflow-y-auto rounded-md border border-edge bg-surface-panel text-xs leading-4 shadow-lg dark:bg-surface-panel/95`,style:W,role:`listbox`,"aria-label":`Commands`,"aria-activedescendant":G,children:U})}),document.body),t[40]=U,t[41]=F,t[42]=W,t[43]=G,t[44]=K):K=t[44],K}),wre=(0,Y.memo)(function(e){let t=(0,Z.c)(39),{item:n,icon:r,selected:i,id:a,nameLine:o,descriptionLine:s,dimCategoryBadge:c,trailingBadge:l,disabled:d,disabledTooltip:f,onSelect:p}=e,m=n.description??``,h;t[0]===m?h=t[1]:(h=m.trim(),t[0]=m,t[1]=h);let g=h,_=g.length>0&&s!=null,v=g.length>0,y=n.description??``,b=n.category&&n.kind!==`skill`&&!c&&!(n.kind===`agent`&&l),x;t[2]===o?x=t[3]:(x=(0,Q.jsx)(`span`,{className:`min-w-0 max-w-[min(12rem,46%)] shrink-0 truncate font-semibold text-fg`,children:o}),t[2]=o,t[3]=x);let S;t[4]!==n.category||t[5]!==b?(S=b?(0,Q.jsx)(`span`,{className:`shrink-0 rounded bg-surface-hover px-1 py-px text-[0.6rem] font-normal leading-none text-fg-muted`,children:n.category}):null,t[4]=n.category,t[5]=b,t[6]=S):S=t[6];let C;t[7]!==s||t[8]!==_?(C=_?(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[11px] font-normal leading-tight text-fg-muted`,children:s}):null,t[7]=s,t[8]=_,t[9]=C):C=t[9];let w;t[10]!==x||t[11]!==S||t[12]!==C?(w=(0,Q.jsxs)(`span`,{className:`flex min-w-0 flex-1 items-baseline gap-1`,children:[x,S,C]}),t[10]=x,t[11]=S,t[12]=C,t[13]=w):w=t[13];let T=w,E=d?`cursor-not-allowed opacity-50 text-fg-muted`:i?`cursor-pointer bg-surface-hover text-fg`:`cursor-pointer text-fg-subtle hover:bg-surface-hover/80`,D;t[14]===E?D=t[15]:(D=u(`flex w-full min-w-0 items-center gap-1.5 px-2.5 py-1 text-left text-xs leading-4`,E),t[14]=E,t[15]=D);let O=D,k;t[16]!==d||t[17]!==p?(k=e=>{d||e.pointerType===`mouse`&&e.button!==0||(e.preventDefault(),p())},t[16]=d,t[17]=p,t[18]=k):k=t[18];let A=k,j;t[19]===r?j=t[20]:(j=(0,Q.jsx)(`span`,{className:`shrink-0 [&_svg]:align-middle`,children:r}),t[19]=r,t[20]=j);let M;t[21]!==j||t[22]!==T||t[23]!==l?(M=(0,Q.jsxs)(Q.Fragment,{children:[j,T,l]}),t[21]=j,t[22]=T,t[23]=l,t[24]=M):M=t[24];let N=M,P=d&&f?f:v?y:null,F=d||void 0,I;t[25]!==a||t[26]!==A||t[27]!==O||t[28]!==N||t[29]!==i||t[30]!==F?(I=(0,Q.jsx)(`div`,{id:a,role:`option`,"aria-selected":i,"aria-disabled":F,tabIndex:-1,className:O,onPointerDown:A,children:N}),t[25]=a,t[26]=A,t[27]=O,t[28]=N,t[29]=i,t[30]=F,t[31]=I):I=t[31];let L=I;if(P!==null){let e;t[32]===L?e=t[33]:(e=(0,Q.jsx)(AX,{asChild:!0,children:L}),t[32]=L,t[33]=e);let n;t[34]===P?n=t[35]:(n=(0,Q.jsx)(jX,{children:(0,Q.jsx)(MX,{side:`right`,align:`start`,sideOffset:8,collisionPadding:12,className:`!z-[10000] max-h-[min(12rem,40vh)] max-w-sm overflow-y-auto rounded-md border border-edge bg-surface-panel px-2 py-1.5 text-left text-[11px] leading-snug text-fg shadow-lg select-text [max-width:min(20rem,90vw)]`,"data-slash-palette-tooltip":``,children:(0,Q.jsx)(`span`,{className:`whitespace-pre-wrap break-words`,children:P})})}),t[34]=P,t[35]=n);let r;return t[36]!==e||t[37]!==n?(r=(0,Q.jsxs)(kX,{delayDuration:0,children:[e,n]}),t[36]=e,t[37]=n,t[38]=r):r=t[38],r}return L}),Q8=20,Tre=200,$8=`xopc.composer.inputHistory.v2`,Ere=`xopc.composer.inputHistory:`;function e5(){try{return globalThis.localStorage===void 0?null:globalThis.localStorage}catch{return null}}function t5(){return{version:2,sessions:{}}}function n5(e){return Array.isArray(e)?e.filter(e=>typeof e==`string`&&e.trim().length>0).slice(0,Q8):[]}function Dre(e){if(!e)return t5();try{let t=JSON.parse(e);if(!t||typeof t!=`object`||Array.isArray(t))return t5();let n=t.sessions;if(!n||typeof n!=`object`||Array.isArray(n))return t5();let r={};for(let[e,t]of Object.entries(n)){let n=e.trim();if(!n||!t||typeof t!=`object`||Array.isArray(t))continue;let i=n5(t.items);if(i.length===0)continue;let a=t.updatedAt;r[n]={updatedAt:typeof a==`number`&&Number.isFinite(a)?a:0,items:i}}return{version:2,sessions:r}}catch{return t5()}}function r5(e){let t=Dre(e.getItem($8)),n=[];for(let r=0;r<e.length;r++){let i=e.key(r);if(!i?.startsWith(Ere))continue;let a=i.slice(27).trim();if(a){n.push(i);try{let n=n5(JSON.parse(e.getItem(i)??`null`));if(n.length===0||t.sessions[a])continue;t.sessions[a]={updatedAt:0,items:n}}catch{}}}return{store:t,legacyKeys:n}}function Ore(e){let t=[];for(let[n,r]of Object.entries(e.sessions)){let e=n5(r.items);e.length!==0&&t.push([n,{updatedAt:Number.isFinite(r.updatedAt)?r.updatedAt:0,items:e}])}return{version:2,sessions:Object.fromEntries(t.sort((e,t)=>t[1].updatedAt-e[1].updatedAt).slice(0,Tre))}}function kre(e){let t=Math.max(0,...Object.values(e.sessions).map(e=>e.updatedAt));return Math.max(Date.now(),t+1)}function i5(e,t,n=[]){e.setItem($8,JSON.stringify(Ore(t)));for(let t of n)e.removeItem(t)}function Are(e){let t=e?.trim(),n=e5();if(!t||!n)return[];try{let{store:e,legacyKeys:r}=r5(n);return r.length>0&&i5(n,e,r),e.sessions[t]?.items.slice(0,Q8)??[]}catch{return[]}}function jre(e,t){let n=e?.trim(),r=t.trim(),i=e5();if(!(!n||!r||!i))try{let{store:e,legacyKeys:t}=r5(i),a=e.sessions[n]?.items??[],o=kre(e),s=[r,...a].slice(0,Q8);e.sessions[n]={updatedAt:o,items:a[0]===r?a:s},i5(i,e,t)}catch{}}function Mre(e){let t=(0,Z.c)(17),{sessionKey:n,editorRef:r,valueRef:i,resetEditor:a,onWireInput:o}=e,s=(0,Y.useRef)(null),c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{s.current=null},t[0]=c):c=t[0];let l=c,u;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>{l()},t[1]=u):u=t[1];let d;t[2]===n?d=t[3]:(d=[n,l],t[2]=n,t[3]=d),(0,Y.useEffect)(u,d);let f;t[4]===n?f=t[5]:(f=e=>{jre(n,e),l()},t[4]=n,t[5]=f);let p=f,m;t[6]===o?m=t[7]:(m=(e,t)=>{s.current=null,o(e,t)},t[6]=o,t[7]=m);let h=m,g;t[8]!==r||t[9]!==a||t[10]!==n||t[11]!==i?(g=e=>{let t=n?.trim();if(!t)return!1;let o=Are(t);if(o.length===0)return!1;let c=s.current,l=r.current,u=l?F3(l):0,d=i.current;if(e===`up`){if(c==null){if(u!==0)return!1;s.current={index:0,stash:d};let e=o[0];return e?(a({nextText:e,caretOffset:e.length,focus:!0}),!0):!1}if(c.index>=o.length-1)return!0;c.index+=1;let e=o[c.index];return e?(a({nextText:e,caretOffset:e.length,focus:!0}),!0):!1}if(c==null)return!1;if(--c.index,c.index<0){let e=c.stash;return s.current=null,a({nextText:e,caretOffset:e.length,focus:!0}),!0}let f=o[c.index];return f?(a({nextText:f,caretOffset:f.length,focus:!0}),!0):!1},t[8]=r,t[9]=a,t[10]=n,t[11]=i,t[12]=g):g=t[12];let _=g,v;return t[13]!==p||t[14]!==h||t[15]!==_?(v={onUserTextCommitted:p,onWireInputClearWalk:h,tryInputHistoryArrow:_},t[13]=p,t[14]=h,t[15]=_,t[16]=v):v=t[16],v}function a5(e){if(e.voiceActive)return e.cancelVoiceInput(),null;let t=e.getTextValue();return!t.trim()&&e.getAttachmentCount()===0?null:{text:t,attachments:e.wireAttachmentsPayload()}}function Nre(e){let{chat:t,runBusy:n,voiceActive:r,cancelVoiceInput:i,editingFollowUpId:a,getTextValue:o,getAttachmentCount:s,wireAttachmentsPayload:c,getThinkingLevel:l,onSend:u,onAddPendingFollowUp:d,onSteeringInterrupt:f,onCommitEditFollowUp:p,onPendingFollowUpRemove:m,pendingFollowUpsCount:h,resetEditor:g,clearAttachments:_,clearEditFollowUpRef:v,onUserTextCommitted:y}=e,b={getTextValue:o,getAttachmentCount:s,wireAttachmentsPayload:c};return{send:(0,Y.useCallback)(()=>{if(n)return;let e=a5({voiceActive:r,cancelVoiceInput:i,...b});e&&(u(e.text,e.attachments.length>0?e.attachments:void 0,l()),y?.(e.text),g(),_())},[n,r,i,u,l,y,g,_,o,s,c]),flushSteeringDraft:(0,Y.useCallback)(async()=>{if(!n&&h===0)return;let e=a5({voiceActive:r,cancelVoiceInput:i,...b});if(e){if(a){p(a,e.text,e.attachments.length>0?e.attachments:void 0,l()),y?.(e.text),v(),g(),_();return}if(d){if(h>=10){IU(`warning`,t.followUpQueueMaxReached,{max:10});return}await d(e.text,e.attachments.length>0?e.attachments:void 0),y?.(e.text),g(),_()}}},[n,r,i,a,h,d,p,l,t.followUpQueueMaxReached,v,y,g,_,o,s,c]),interruptDraft:(0,Y.useCallback)(()=>{if(!n||!f)return;let e=a5({voiceActive:r,cancelVoiceInput:i,...b});e&&(f(e.text,e.attachments.length>0?e.attachments:void 0),y?.(e.text),a&&(v(),m(a)),g(),_())},[n,r,i,a,m,f,y,v,g,_,o,s,c])}}function Pre(e){let{chat:t}=e,[n,r]=(0,Y.useState)([]),[i,a]=(0,Y.useState)(!1),o=(0,Y.useRef)(null),s=(0,Y.useRef)(n);s.current=n;let l=(0,Y.useCallback)(()=>{r([])},[]),u=(0,Y.useCallback)(e=>{r(t=>t.filter((t,n)=>n!==e))},[]),d=(0,Y.useCallback)(()=>s.current.map(e=>({type:e.type===`voice`?`voice`:e.type||`file`,mimeType:e.mimeType,data:e.content,name:e.name,size:e.size,...e.uri?{uri:e.uri}:{},...typeof e.durationSeconds==`number`&&Number.isFinite(e.durationSeconds)&&e.durationSeconds>0?{durationSeconds:e.durationSeconds}:{}})),[]);return{attachments:n,setAttachments:r,attachmentsRef:s,isDragging:i,setIsDragging:a,fileInputRef:o,processFiles:(0,Y.useCallback)(async e=>{if(e.length===0)return;let n=10-s.current.length;if(n<=0){IU(`warning`,t.maxAttachmentsReached,{max:10});return}let i=e.slice(0,n);e.length>i.length&&IU(`warning`,t.maxAttachmentsTruncated,{max:10,dropped:e.length-i.length});let{loadAttachment:a}=await c(async()=>{let{loadAttachment:e}=await import(`./attachment-load-V3qGPC3x.js`);return{loadAttachment:e}},__vite__mapDeps([87,17])),o=(await Promise.all(i.map(async e=>{if(e.size>33554432)return IU(`warning`,t.attachmentFileTooLarge,{name:e.name,maxSize:JB(HV)}),null;try{return await a(e,e.name)}catch{return IU(`error`,t.attachmentLoadFailed,{name:e.name}),null}}))).filter(e=>e!==null);r(e=>[...e,...o])},[t.attachmentFileTooLarge,t.attachmentLoadFailed,t.maxAttachmentsReached,t.maxAttachmentsTruncated]),removeAttachment:u,clearAttachments:l,wireAttachmentsPayload:d}}function Fre(e){let t=(0,Z.c)(6),{active:n,anchors:r,ignoreSelector:i,onDismiss:a}=e,o,s;t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==a?(o=()=>{if(!n)return;let e=e=>{let t=e.target;if(t instanceof Node){for(let e of r){let n=e.current;if(n&&n.contains(t))return}i&&t instanceof Element&&t.closest(i)||a()}};return document.addEventListener(`pointerdown`,e,!0),()=>document.removeEventListener(`pointerdown`,e,!0)},s=[n,r,i,a],t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s):(o=t[4],s=t[5]),(0,Y.useEffect)(o,s)}var o5=20,Ire=`xopc.atMention.recent:`;function s5(e){return`${Ire}${e.trim()}`}function c5(e){let t=e?.trim();if(!t||typeof localStorage>`u`)return[];try{let e=localStorage.getItem(s5(t));if(!e)return[];let n=JSON.parse(e);return Array.isArray(n)?n.filter(e=>typeof e==`string`&&e.length>0).slice(0,o5):[]}catch{return[]}}function Lre(e,t){let n=e?.trim(),r=t.trim();if(!(!n||!r||typeof localStorage>`u`))try{let e=[r,...c5(n).filter(e=>e!==r)].slice(0,o5);localStorage.setItem(s5(n),JSON.stringify(e))}catch{}}var Rre=150,zre=15;function l5(e,t){let n=e.length,r=Math.min(Math.max(t,0),n);if(r<1)return null;let i=e.slice(0,r),a=i.match(/@([^\s]*)$/);if(!a||a.index===void 0)return null;let o=a.index;if(o>0&&/[a-zA-Z0-9_]/.test(e[o-1]))return null;let s=i.slice(o);return/^@(file|doc|url|symbol):/.test(s)?null:{start:o,end:r,query:a[1]??``}}function Bre(e){let t=e.trim();return t.length>0&&t.endsWith(`/`)&&!/^https?:\/\//i.test(t)}function u5(e){return e.replace(/\/+$/,``).trim()}function Vre(e){let t=e.replace(/\/+$/,``);if(!t)return``;let n=t.lastIndexOf(`/`);return n<=0?``:t.slice(0,n)}function Hre(e,t){return t===0?0:Math.min(e,t-1)}function Ure(e,t,n){let[r,i]=(0,Y.useState)(0),a=(0,Y.useMemo)(()=>n.precomputedAtRange===void 0?n.isComposing||n.slashPaletteOpen?null:l5(e,t):n.isComposing||n.slashPaletteOpen?null:n.precomputedAtRange,[e,t,n.slashPaletteOpen,n.isComposing,n.precomputedAtRange]),o=a!==null,[s]=zY(o?a?.query??``:``,Rre),c=o?s:``,l=n.sessionKey?.trim()??``,u=yR(async()=>{if(!l)return[];if(Bre(c)){let e=u5(c),t=(await V$(e,{sessionKey:l})).map(e=>({name:e.name,relativePath:e.path,isDirectory:e.isDirectory}));return e?[{name:`..`,relativePath:``,isDirectory:!0,isBrowseUp:!0},...t]:t}let e=await B$(c,{sessionKey:l,limit:zre}),t=c5(l),n=[],r=new Set(e.map(e=>e.relativePath));for(let e of t){if(r.has(e))continue;r.add(e);let t=e.replace(/\/$/,``).split(`/`).pop()??e;if(n.push({name:t,relativePath:e,isDirectory:e.endsWith(`/`),isRecent:!0}),n.length>=5)break}return[...n,...e]},[c,l],{enabled:o&&!!l,initial:[],errorData:[]}),d=o?u.data:[],f=o?u.loading:!1,p=o&&u.error!=null?u.error instanceof Error?u.error.message:String(u.error):null,m=a?.start,h=a?.end,g=`${m??``}:${h??``}:${c}`,_=(0,Y.useRef)(g);_.current!==g&&(_.current=g,r!==0&&i(0));let v=Hre(r,d.length),y=(0,Y.useCallback)(e=>{d.length!==0&&i(t=>e===`down`?(t+1)%d.length:(t-1+d.length)%d.length)},[d.length]);return{open:o,atRange:a,items:d,selectedIndex:v,query:a?.query??``,loading:f,error:p,onNavigate:y,setSelectedIndex:i}}function Wre(e){let{sessionKey:t,editorValue:n,editorCursor:r,isComposing:i,runBusy:a,thinkingLevel:o,editorRef:s,valueRef:c,resetEditor:l,clearAttachments:u,onSend:d,onUserTextCommitted:f,onChatAgentChange:p,currentAgentId:m,onUnavailableSkill:h,onAddPendingFollowUp:g,onAbort:_,pendingFollowUpsCount:v,maxPendingFollowUps:y,commandPalettePanelRef:b}=e,x=(0,Y.useMemo)(()=>l5(n,r),[n,r]),S=J8(n,r,{suppress:x!=null,isComposing:i,currentAgentId:m}),C=Ure(n,r,{sessionKey:t,slashPaletteOpen:S.open,isComposing:i,precomputedAtRange:x}),w=S.open||C.open||x!=null,T=(0,Y.useCallback)(()=>({slashRange:S.slashRange,runBusy:a,pendingFollowUpsCount:v,maxPendingFollowUps:y,thinkingLevel:o,editor:{valueRef:c,resetEditor:l},attachments:{clearAttachments:u},callbacks:{onSend:d,onUserTextCommitted:f,onChatAgentChange:p,onAddPendingFollowUp:g,onAbort:_,onUnavailableSkill:h}}),[S.slashRange,a,v,y,o,c,l,u,d,f,p,g,_,h]),E=(0,Y.useCallback)(e=>{j8(e,T())},[T]),D=(0,Y.useCallback)((e,n)=>{let r=C.atRange;if(!r)return;if(e.isBrowseUp){let e=Vre(u5(r.query)),t=`@${e?`${e}/`:``}`;l({nextText:k8(c.current,r.start,r.end,t),caretOffset:r.start+t.length,focus:!0});return}let i=e.isDirectory&&!e.relativePath.endsWith(`/`)?`${e.relativePath}/`:e.relativePath,a=`@file:${g3(i)}`;t&&!e.isDirectory&&Lre(t,i.replace(/\/$/,``));let o=a+(n?.stayOpen?` @`:` `);l({nextText:k8(c.current,r.start,r.end,o),caretOffset:r.start+o.length,focus:!0})},[C.atRange,t,c,l]),O=(0,Y.useRef)(S.slashRange);O.current=S.slashRange;let k=c,A=(0,Y.useCallback)(()=>{let e=O.current;if(!e)return;let t=k.current;l({nextText:t.slice(0,e.start)+t.slice(e.end),caretOffset:e.start})},[l,k]),j=(0,Y.useMemo)(()=>[s,b],[s,b]);Fre({active:S.open,anchors:j,ignoreSelector:`[data-slash-palette-tooltip]`,onDismiss:A});let M=(0,Y.useRef)(C);M.current=C;let N=(0,Y.useRef)(S);N.current=S;let P=(0,Y.useRef)(i);P.current=i;let F=(0,Y.useRef)(E);F.current=E;let I=(0,Y.useRef)(D);I.current=D;let L=(0,Y.useRef)({runBusy:a,pendingFollowUpsCount:v,maxPendingFollowUps:y});L.current={runBusy:a,pendingFollowUpsCount:v,maxPendingFollowUps:y};let R=(0,Y.useMemo)(()=>({name:`at-mention`,isActive:()=>{let e=M.current;return e.open&&e.atRange!=null&&!P.current},handleKey:e=>{let t=M.current;if(!t.atRange)return!1;if(e.key===`Escape`){e.preventDefault();let n=t.atRange,r=k.current;return l({nextText:k8(r,n.start,n.end,``),caretOffset:n.start,focus:!0}),!0}if(t.items.length===0)return!1;if(e.key===`ArrowDown`)return e.preventDefault(),t.onNavigate(`down`),!0;if(e.key===`ArrowUp`)return e.preventDefault(),t.onNavigate(`up`),!0;if(e.key===`Enter`||e.key===`Tab`){e.preventDefault();let n=t.items[t.selectedIndex];return n&&I.current(n,{stayOpen:e.shiftKey}),!0}return!1}}),[l,k]),z=(0,Y.useMemo)(()=>({name:`slash-palette`,isActive:()=>N.current.open&&!P.current,handleKey:e=>{let t=N.current;if(t.items.length>0){if(e.key===`ArrowDown`)return e.preventDefault(),t.onNavigate(`down`),!0;if(e.key===`ArrowUp`)return e.preventDefault(),t.onNavigate(`up`),!0;if((e.key===`Enter`||e.key===`Tab`)&&!e.shiftKey){e.preventDefault();let n=t.items[t.selectedIndex];return!n||R8(n,L.current)||F.current(n),!0}}if(e.key===`Escape`){e.preventDefault();let n=t.slashRange;if(n){let e=k.current;l({nextText:k8(e,n.start,n.end,``),caretOffset:n.start,focus:!0})}return!0}return!1}}),[l,k]);return{palette:S,atPicker:C,shouldSyncSelection:w,adapters:(0,Y.useMemo)(()=>[R,z],[R,z]),applyPalette:E,applyAtMention:D}}function Gre(e,t){let n=t.trim();if(!n)return e;let r=e.trim();return r?`${r} ${n}`:n}var d5=u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.press,$.focusRingPanel,`disabled:cursor-not-allowed disabled:opacity-50`),Kre=(0,Y.memo)(function(e){let t=(0,Z.c)(30),{phase:n,elapsedLabel:r,disabled:i,chat:a,onCancel:o,onConfirm:s}=e,c=n===`transcribing`,l=a.voiceInput,d=!c&&`animate-pulse`,f;t[0]===d?f=t[1]:(f=u(`size-2 shrink-0 rounded-full bg-red-500`,d),t[0]=d,t[1]=f);let p;t[2]===f?p=t[3]:(p=(0,Q.jsx)(`span`,{className:f,"aria-hidden":!0}),t[2]=f,t[3]=p);let m=c?a.voiceTranscribing:a.voiceRecordingStatus,h;t[4]===m?h=t[5]:(h=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-sm text-fg-muted`,children:m}),t[4]=m,t[5]=h);let g=c?``:r,_;t[6]===g?_=t[7]:(_=(0,Q.jsx)(`span`,{className:`shrink-0 tabular-nums text-sm text-fg-subtle`,"aria-live":`polite`,children:g}),t[6]=g,t[7]=_);let v=i||c,y;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Q.jsx)(ZN,{className:`size-4`}),t[8]=y):y=t[8];let b;t[9]!==a.voiceInputCancel||t[10]!==o||t[11]!==v?(b=(0,Q.jsx)(`button`,{type:`button`,className:d5,disabled:v,title:a.voiceInputCancel,"aria-label":a.voiceInputCancel,onClick:o,children:y}),t[9]=a.voiceInputCancel,t[10]=o,t[11]=v,t[12]=b):b=t[12];let x;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(x=u(d5,`text-fg`),t[13]=x):x=t[13];let S=i||c,C;t[14]===c?C=t[15]:(C=c?(0,Q.jsx)(Ey,{className:`size-4 animate-spin`,"aria-hidden":!0}):(0,Q.jsx)(gd,{className:`size-4`}),t[14]=c,t[15]=C);let w;t[16]!==a.voiceInputConfirm||t[17]!==s||t[18]!==S||t[19]!==C?(w=(0,Q.jsx)(`button`,{type:`button`,className:x,disabled:S,title:a.voiceInputConfirm,"aria-label":a.voiceInputConfirm,onClick:s,children:C}),t[16]=a.voiceInputConfirm,t[17]=s,t[18]=S,t[19]=C,t[20]=w):w=t[20];let T;t[21]!==b||t[22]!==w?(T=(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[b,w]}),t[21]=b,t[22]=w,t[23]=T):T=t[23];let E;return t[24]!==a.voiceInput||t[25]!==T||t[26]!==p||t[27]!==h||t[28]!==_?(E=(0,Q.jsxs)(`div`,{className:`flex min-h-10 w-full items-center gap-2 py-2`,role:`region`,"aria-label":l,children:[p,h,_,T]}),t[24]=a.voiceInput,t[25]=T,t[26]=p,t[27]=h,t[28]=_,t[29]=E):E=t[29],E});async function qre(e){return KB(await e.arrayBuffer())}async function Jre(e,t){let n=await qre(e),r=await E(T(`/api/voice/transcribe`),{method:`POST`,body:JSON.stringify({audio:n,mimeType:t})});if(!r.payload)throw Error(`Missing transcription payload`);return r.payload}var f5=null;async function Yre(){if(f5!==null)return f5;try{f5=(await E(T(`/api/status`))).voice?.sttAvailable===!0}catch{f5=!1}return f5}function Xre(e){if(!Number.isFinite(e)||e<0)return`0:00`;let t=Math.floor(e%60);return`${Math.floor(e/60)}:${t.toString().padStart(2,`0`)}`}function Zre(e){let{disabled:t,chat:n,onTranscript:r}=e,[i,a]=(0,Y.useState)(`idle`),[o,s]=(0,Y.useState)(0),c=(0,Y.useRef)(null),l=(0,Y.useRef)([]),u=(0,Y.useRef)(null),d=(0,Y.useRef)(``),f=(0,Y.useRef)(!1),p=(0,Y.useRef)(!1),m=(0,Y.useRef)(null),h=(0,Y.useRef)(null),g=(0,Y.useRef)(r);g.current=r;let _=(0,Y.useCallback)(()=>{h.current!=null&&(clearInterval(h.current),h.current=null)},[]),v=(0,Y.useCallback)(()=>{u.current?.getTracks().forEach(e=>e.stop()),u.current=null},[]),y=(0,Y.useCallback)(()=>{_(),v(),c.current=null,l.current=[],m.current=null,p.current=!1,f.current=!1,s(0),a(`idle`)},[_,v]),b=(0,Y.useCallback)(()=>{let e=c.current;e&&e.state!==`inactive`?e.stop():y(),c.current=null},[y]),x=(0,Y.useCallback)(()=>{f.current=!0,p.current=!1,b()},[b]),S=(0,Y.useCallback)(async(e,t)=>{a(`transcribing`);let r=new Blob(e,{type:t||`audio/webm`});if(r.size<32){IU(`warning`,n.voiceTranscribeEmpty),y();return}try{let e=await Jre(r,r.type||t||`audio/webm`),i=(e.refined??e.raw).trim();if(!i){IU(`warning`,n.voiceTranscribeEmpty),y();return}g.current(i),y()}catch(e){let t=e instanceof Error?e.message:String(e);t.includes(`STT is not configured`)||t.includes(`503`)?IU(`error`,n.voiceSttNotConfigured):IU(`error`,n.voiceTranscribeFailed),y()}},[y,n.voiceSttNotConfigured,n.voiceTranscribeEmpty,n.voiceTranscribeFailed]),C=(0,Y.useCallback)(()=>{_(),h.current=setInterval(()=>{let e=m.current;typeof e==`number`&&s(Math.max(0,(performance.now()-e)/1e3))},200)},[_]),w=(0,Y.useCallback)(async()=>{if(!(t||i!==`idle`)){if(!await Yre()){IU(`error`,n.voiceSttNotConfigured);return}f.current=!1,p.current=!1;try{let e=await navigator.mediaDevices.getUserMedia({audio:!0});u.current=e;let t=MediaRecorder.isTypeSupported(`audio/webm;codecs=opus`)?`audio/webm;codecs=opus`:MediaRecorder.isTypeSupported(`audio/webm`)?`audio/webm`:``;d.current=t;let n=t?new MediaRecorder(e,{mimeType:t}):new MediaRecorder(e);l.current=[],n.ondataavailable=e=>{e.data.size>0&&l.current.push(e.data)},n.onstop=()=>{(async()=>{try{let e=l.current;l.current=[];let t=d.current||n.mimeType;if(f.current){y();return}if(p.current){p.current=!1,await S(e,t);return}y()}finally{v()}})()},c.current=n,m.current=performance.now(),s(0),n.start(250),a(`recording`),C()}catch{y(),IU(`error`,n.voiceMicDenied)}}},[t,y,n.voiceMicDenied,n.voiceSttNotConfigured,i,S,C,v]),T=(0,Y.useCallback)(()=>{i===`recording`&&(p.current=!0,f.current=!1,a(`transcribing`),_(),b())},[i,b,_]);return(0,Y.useEffect)(()=>()=>{f.current=!0,p.current=!1,b()},[b]),{phase:i,voiceActive:i!==`idle`,elapsedLabel:Xre(o),startVoiceInput:w,cancelVoiceInput:x,confirmVoiceInput:T}}var Qre=(0,Y.memo)(function({disabled:e,sending:t,streaming:n,sessionKey:r,sessionManager:i,canSelectWorkingDirectory:a,thinkingLevel:o,showThinkingSelector:s,onThinkingChange:c,onSend:l,onAbort:d,onAddPendingFollowUp:f,onSteeringInterrupt:p,pendingFollowUps:h,editingFollowUpId:g,onBeginEditFollowUp:_,onCancelEditFollowUp:y,onCommitEditFollowUp:b,onPendingFollowUpRemove:x,onPendingFollowUpMove:S,onPendingFollowUpReorder:C,onPendingFollowUpSteer:w,steeringFollowUpId:T,welcomeDraftSeed:E,sessionModel:D,showModelSelector:O,onModelChange:k,modelDisabled:A,contextUsageMessages:j,onChatAgentChange:M,currentAgentId:N}){let P=m(v(e=>e.language));(0,Y.useEffect)(()=>{D$()},[]);let F=(0,Y.useRef)(!1),I=(0,Y.useRef)(null),L=(0,Y.useRef)(null),R=(0,Y.useRef)(null),z=(0,Y.useRef)(!1),B=(0,Y.useRef)(l),V=(0,Y.useRef)(o);B.current=l,V.current=o;let H=Pre({chat:P.chat}),U=(0,Y.useCallback)(()=>{H.clearAttachments()},[H.clearAttachments]),W=(0,Y.useCallback)(e=>{let t=e.availability?.status===`agent-denied`?P.chat.commandPalette.skillAgentDeniedReason:P.chat.commandPalette.skillDisabledReason,n=o6(P.chat.commandPalette.skillUnavailableMessage,{name:e.name,agent:N||`main`,reason:t});if(e.availability?.status===`agent-denied`&&window.confirm(`${n}\n\n${P.chat.commandPalette.skillAddToAllowlistConfirm}`)){k$(N,e.name).catch(e=>{window.alert(e instanceof Error?e.message:String(e))});return}window.alert(n)},[N,P.chat.commandPalette]),G=J3({disabled:e,autoFocusKey:r,welcomeDraftSeed:E,onExternalTextReplace:U,shouldSyncSelectionRef:F}),{onUserTextCommitted:K,onWireInputClearWalk:ee,tryInputHistoryArrow:te}=Mre({sessionKey:r,editorRef:G.editorRef,valueRef:G.valueRef,resetEditor:G.resetEditor,onWireInput:G.onWireInput}),ne=t||n;z.current=ne;let q=Wre({sessionKey:r,editorValue:G.value,editorCursor:G.cursor,isComposing:G.isComposing,runBusy:ne,thinkingLevel:o,editorRef:G.editorRef,valueRef:G.valueRef,resetEditor:G.resetEditor,clearAttachments:H.clearAttachments,onSend:l,onUserTextCommitted:K,onChatAgentChange:M,currentAgentId:N,onUnavailableSkill:W,onAddPendingFollowUp:f,onAbort:d,pendingFollowUpsCount:h.length,maxPendingFollowUps:10,commandPalettePanelRef:I});F.current=q.shouldSyncSelection;let re=(0,Y.useMemo)(()=>G.value.length,[G.value]),ie=Zre({disabled:e,chat:P.chat,onTranscript:e=>{let t=G.valueRef.current,n=Gre(t,e);G.resetEditor({nextText:n,caretOffset:n.length,focus:!0})}}),ae=(0,Y.useCallback)(()=>{R.current=null},[]),J=Nre({chat:P.chat,runBusy:ne,voiceActive:ie.voiceActive,cancelVoiceInput:ie.cancelVoiceInput,editingFollowUpId:g,getTextValue:()=>G.valueRef.current,getAttachmentCount:()=>H.attachmentsRef.current.length,wireAttachmentsPayload:H.wireAttachmentsPayload,getThinkingLevel:()=>V.current,onSend:l,onAddPendingFollowUp:f,onSteeringInterrupt:p,onCommitEditFollowUp:b,onPendingFollowUpRemove:x,pendingFollowUpsCount:h.length,resetEditor:()=>{G.resetEditor()},clearAttachments:H.clearAttachments,clearEditFollowUpRef:ae,onUserTextCommitted:K});(0,Y.useLayoutEffect)(()=>{if(!g){R.current&&=(H.clearAttachments(),G.resetEditor(),null);return}if(g===R.current)return;let e=h.find(e=>e.id===g);if(!e){y();return}R.current=g,e.thinkingLevel!=null&&s&&c(e.thinkingLevel),H.setAttachments(y8(e.attachments??[])),G.resetEditor({nextText:e.text,focus:!0})},[H.clearAttachments,H.setAttachments,G.resetEditor,g,y,c,h,s]);let oe=(0,Y.useCallback)(e=>{_(e)},[_]),se=(0,Y.useRef)({});se.current={adapters:q.adapters,send:J.send,runBusy:ne,pendingFollowUpsCount:h.length,flushSteeringDraft:J.flushSteeringDraft,interruptDraft:J.interruptDraft,editingFollowUpId:g,onCancelEditFollowUp:y,attachmentsLen:H.attachments.length,isComposing:G.isComposing,valueRef:G.valueRef,adjustHeight:G.adjustHeight,editorRef:G.editorRef,tryInputHistoryArrow:te};let ce=ne,le=!!G.value.trim()||H.attachments.length>0,ue=le&&!!p;return(0,Q.jsxs)(`div`,{className:u(`relative flex min-h-0 w-full flex-col overflow-hidden rounded-xl bg-surface-panel shadow-surface ring-1 ring-inset ring-edge dark:bg-surface-panel/60 dark:shadow-none`,H.isDragging&&`ring-2 ring-accent ring-inset`),onDragOver:e=>{e.dataTransfer?.types.includes(`Files`)&&(e.preventDefault(),H.setIsDragging(!0))},onDragLeave:e=>{e.relatedTarget===null&&H.setIsDragging(!1)},onDrop:async e=>{e.preventDefault(),H.setIsDragging(!1);let t=e.dataTransfer?.files;t?.length&&await H.processFiles(Array.from(t))},children:[H.isDragging?(0,Q.jsx)(`div`,{className:`pointer-events-none absolute inset-0 z-10 flex items-center justify-center rounded-xl bg-accent-soft/80 text-sm font-medium text-accent-fg backdrop-blur-[1px]`,children:P.chat.dropFiles}):null,h.length>0?(0,Q.jsx)(`div`,{className:`max-h-[min(30vh,11rem)] shrink-0 overflow-y-auto overflow-x-hidden border-b border-edge-subtle/80 [scrollbar-gutter:stable] dark:border-edge-subtle/70`,children:(0,Q.jsx)(X3,{items:h,disabled:e,editingFollowUpId:g,onEditInComposer:oe,onRemove:x,onMove:S,onReorder:C,onSteer:w,steeringBusyId:T})}):null,(0,Q.jsx)(e6,{attachments:H.attachments,topPadded:h.length>0,onRemove:H.removeAttachment}),(0,Q.jsxs)(`div`,{className:`flex min-h-0 shrink-0 flex-col`,children:[(0,Q.jsx)(`input`,{ref:L,type:`file`,multiple:!0,accept:$4,className:`hidden`,onChange:async e=>{let t=e.target.files;t&&await H.processFiles(Array.from(t)),e.target.value=``}}),(0,Q.jsxs)(`div`,{className:u(`relative px-4 pb-0 pt-1`,H.attachments.length>0&&`pt-2`),children:[(0,Q.jsx)(E8,{open:q.atPicker.open,anchorRef:G.editorRef,items:q.atPicker.items,selectedIndex:q.atPicker.selectedIndex,loading:q.atPicker.loading,query:q.atPicker.query,noResults:q.atPicker.error??P.chat.atMention.noResults,sessionKey:r,recentLabel:P.chat.atMention.recentBadge,ariaLabel:P.chat.atMention.placeholder,shiftHint:P.chat.atMention.shiftHint,onSelectItem:(e,t)=>q.applyAtMention(e,{stayOpen:t?.shiftKey===!0})}),(0,Q.jsx)(Cre,{open:q.palette.open,anchorRef:G.editorRef,panelRef:I,items:q.palette.loadError?[]:q.palette.items,selectedIndex:q.palette.selectedIndex,noResults:q.palette.loadError??P.chat.commandPalette.noResults,grouped:q.palette.loadError?!1:q.palette.grouped,skillRowCount:q.palette.loadError?0:q.palette.skillRowCount,commandRowCount:q.palette.loadError?0:q.palette.commandRowCount,query:q.palette.query,skillsLabel:P.chat.commandPalette.skillsSection,commandsLabel:P.chat.commandPalette.commandsSection,agentsLabel:P.chat.commandPalette.agentsSection,groupedHasSkills:q.palette.loadError?!1:q.palette.groupedHasSkills,groupedHasCommands:q.palette.loadError?!1:q.palette.groupedHasCommands,groupedHasAgents:q.palette.loadError?!1:q.palette.groupedHasAgents,groupedSkillsShowMoreLabel:q.palette.loadError||!q.palette.grouped?null:q.palette.groupedSkillsMoreCount>0?o6(P.chat.commandPalette.showGroupedMore,{count:q.palette.groupedSkillsMoreCount}):null,groupedCommandsShowMoreLabel:q.palette.loadError||!q.palette.grouped?null:q.palette.groupedCommandsMoreCount>0?o6(P.chat.commandPalette.showGroupedMore,{count:q.palette.groupedCommandsMoreCount}):null,groupedAgentsShowMoreLabel:q.palette.loadError||!q.palette.grouped?null:q.palette.groupedAgentsMoreCount>0?o6(P.chat.commandPalette.showGroupedMore,{count:q.palette.groupedAgentsMoreCount}):null,onExpandSkills:q.palette.expandGroupedSkills,onExpandCommands:q.palette.expandGroupedCommands,onExpandAgents:q.palette.expandGroupedAgents,currentAgentId:N,currentBadgeLabel:P.chat.commandPalette.currentBadge,runBusy:ne,pendingFollowUpsCount:h.length,maxPendingFollowUps:10,queueBadgeLabel:P.chat.commandPalette.queueBadge,queueFullBadgeLabel:P.chat.commandPalette.queueFullBadge,queueFullTooltip:P.chat.commandPalette.queueFullTooltip,skillUnavailableLabel:P.chat.commandPalette.skillUnavailableBadge,skillAgentDeniedLabel:P.chat.commandPalette.skillAgentDeniedBadge,onSelectItem:q.applyPalette}),ie.voiceActive?(0,Q.jsx)(Kre,{phase:ie.phase,elapsedLabel:ie.elapsedLabel,disabled:e,chat:P.chat,onCancel:ie.cancelVoiceInput,onConfirm:ie.confirmVoiceInput}):(0,Q.jsx)(Y3,{editorRef:G.editorRef,disabled:e,placeholder:ce?g?P.chat.inputPlaceholderSteeringEdit:P.chat.inputPlaceholderSteering:P.chat.inputPlaceholder,onWireInput:ee,adjustHeight:G.adjustHeight,processFiles:H.processFiles,setIsComposing:G.setIsComposing,kbdRef:se,chatMessages:P.chat})]}),(0,Q.jsx)(_8,{sessionKey:r,sessionManager:i,disabled:e,sending:t,streaming:n,canSelectWorkingDirectory:a,runBusy:ce,chat:P.chat,hasDraft:le,showSteeringInterrupt:ue,attachmentCount:H.attachments.length,maxAttachments:10,onPickFiles:()=>L.current?.click(),thinkingLevel:o,showThinkingSelector:s,onThinkingChange:c,voiceActive:ie.voiceActive,onStartVoiceInput:ie.startVoiceInput,onSend:J.send,onAbort:d,onInterrupt:J.interruptDraft,sessionModel:D,showModelSelector:O,onModelChange:k,modelDisabled:A,contextUsageMessages:j,composerDraftChars:re})]})]})});function $re(e,t){let n=e.createdAt;if(!Number.isFinite(n)||n<=0)return 0;let r=typeof e.lastTurnAt==`number`&&Number.isFinite(e.lastTurnAt)?e.lastTurnAt:0,i=e.status===`done`&&r>=n?r:t;return Math.max(0,i-n)}function eie(e,t){let n=Math.max(0,Math.floor(e/1e3));if(n<60)return t===`zh`?`${n}秒`:`${n}s`;let r=Math.floor(n/60),i=n%60;if(r<60)return t===`zh`?`${r}分${String(i).padStart(2,`0`)}秒`:`${r}m ${i}s`;let a=Math.floor(r/60),o=r%60;return t===`zh`?`${a}小时${o}分`:`${a}h ${o}m`}function tie(e){let t=(0,Z.c)(51),{goal:n,canEditChecklist:r,mutationBusy:i,t:a,onAction:o,onChecklist:s}=e,c=i||n.status!==`active`,l;t[0]===o?l=t[1]:(l=()=>void o(`pause`),t[0]=o,t[1]=l);let d;t[2]!==a.pause||t[3]!==c||t[4]!==l?(d=(0,Q.jsx)(NP,{type:`button`,variant:`primary`,className:`h-8 px-3 text-xs`,disabled:c,onClick:l,children:a.pause}),t[2]=a.pause,t[3]=c,t[4]=l,t[5]=d):d=t[5];let f=i||n.status!==`paused`&&n.status!==`done`,p;t[6]===o?p=t[7]:(p=()=>void o(`resume`),t[6]=o,t[7]=p);let m;t[8]!==a.resume||t[9]!==f||t[10]!==p?(m=(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,className:`h-8 px-3 text-xs`,disabled:f,onClick:p,children:a.resume}),t[8]=a.resume,t[9]=f,t[10]=p,t[11]=m):m=t[11];let h;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=u(`flex h-8 cursor-pointer list-none items-center rounded-md border border-edge bg-surface-panel px-2.5 text-xs text-fg-muted`,`marker:hidden [&::-webkit-details-marker]:hidden`,`hover:bg-surface-hover hover:text-fg`),t[12]=h):h=t[12];let g;t[13]!==a.moreActions||t[14]!==a.moreHint?(g=(0,Q.jsx)(`summary`,{className:h,title:a.moreHint,children:a.moreActions}),t[13]=a.moreActions,t[14]=a.moreHint,t[15]=g):g=t[15];let _;t[16]===o?_=t[17]:(_=()=>void o(`restart`),t[16]=o,t[17]=_);let v;t[18]!==i||t[19]!==a.restart||t[20]!==_?(v=(0,Q.jsx)(`button`,{type:`button`,className:`block w-full px-3 py-1.5 text-left text-xs text-fg hover:bg-surface-hover`,disabled:i,onClick:_,children:a.restart}),t[18]=i,t[19]=a.restart,t[20]=_,t[21]=v):v=t[21];let y=i||!r,b;t[22]===s?b=t[23]:(b=()=>void s({op:`reset`}),t[22]=s,t[23]=b);let x;t[24]!==a.resetChecklist||t[25]!==y||t[26]!==b?(x=(0,Q.jsx)(`button`,{type:`button`,className:`block w-full px-3 py-1.5 text-left text-xs text-fg hover:bg-surface-hover`,disabled:y,onClick:b,children:a.resetChecklist}),t[24]=a.resetChecklist,t[25]=y,t[26]=b,t[27]=x):x=t[27];let S;t[28]===o?S=t[29]:(S=()=>void o(`clear`),t[28]=o,t[29]=S);let C;t[30]!==i||t[31]!==a.clear||t[32]!==S?(C=(0,Q.jsx)(`button`,{type:`button`,className:`block w-full px-3 py-1.5 text-left text-xs text-destructive hover:bg-surface-hover`,disabled:i,onClick:S,children:a.clear}),t[30]=i,t[31]=a.clear,t[32]=S,t[33]=C):C=t[33];let w;t[34]===o?w=t[35]:(w=()=>void o(`detach`),t[34]=o,t[35]=w);let T;t[36]!==i||t[37]!==w?(T=(0,Q.jsx)(`button`,{type:`button`,className:`block w-full px-3 py-1.5 text-left text-xs text-fg hover:bg-surface-hover`,disabled:i,onClick:w,children:`Detach`}),t[36]=i,t[37]=w,t[38]=T):T=t[38];let E;t[39]!==v||t[40]!==x||t[41]!==C||t[42]!==T?(E=(0,Q.jsxs)(`div`,{className:`absolute right-0 z-30 mt-1 min-w-[11rem] rounded-md border border-edge bg-surface-panel py-1 shadow-surface`,children:[v,x,C,T]}),t[39]=v,t[40]=x,t[41]=C,t[42]=T,t[43]=E):E=t[43];let D;t[44]!==E||t[45]!==g?(D=(0,Q.jsxs)(`details`,{className:`group relative`,children:[g,E]}),t[44]=E,t[45]=g,t[46]=D):D=t[46];let O;return t[47]!==D||t[48]!==d||t[49]!==m?(O=(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[d,m,D]}),t[47]=D,t[48]=d,t[49]=m,t[50]=O):O=t[50],O}function nie(e){return e!==null&&e.status!==`archived`}function p5(e){let t=e.checklist??[];return{total:t.length,done:t.filter(e=>e.status===`completed`||e.status===`impossible`).length}}function rie(e){let t=Math.max(0,e.maxTurns),n=Math.max(0,e.turnsUsed);return{used:n,total:t,percent:t>0?Math.min(100,100*n/t):0}}function iie(e){let{done:t,total:n}=p5(e);return{done:t,total:n,percent:n>0?Math.min(100,100*t/n):0}}function aie(e,t){return t?`agent_running`:e.status===`paused`||e.status===`blocked`||e.status===`needs_input`?`paused`:e.status===`done`?`done`:e.lastVerdict?`judge_recently_completed`:`idle`}function m5(e,t){let n=t;return e===`agent_running`?n.phaseAgentRunning??t.agentRunning:e===`paused`?n.phasePaused??t.statusPaused:e===`done`?n.phaseDone??t.statusDone:e===`judge_recently_completed`?n.phaseJudged??t.lastVerdict:n.missionHeading??t.heading}function oie(e,t){return e.status===`active`?t.statusActive:e.status===`paused`||e.status===`blocked`||e.status===`needs_input`?t.statusPaused:e.status===`done`?t.statusDone:e.status}function h5(e,t){return e===`done`?t.verdictDone:e===`continue`?t.verdictContinue:e===`decompose`?t.verdictDecompose:e===`blocked`||e===`needs_input`?t.statusPaused:e??``}function g5(e,t){return e?h5(e,t):``}function _5(e,t){return e===`active`?t.statusActive:e===`paused`?t.statusPaused:e===`done`?t.statusDone:e}function v5(e){return`xopc:goalBannerCollapsed:${e}`}function sie(e){return e.status===`completed`?`✓`:e.status===`impossible`?`!`:`○`}function cie(e){let t={pending:[],completed:[],impossible:[]};return e.forEach((e,n)=>{t[e.status].push({...e,index1Based:n+1})}),t}function lie(e){let t=(0,Z.c)(30),{goal:n,canEdit:r,mutationBusy:i,t:a,onMutate:o}=e,[s,c]=(0,Y.useState)(``),l,d,f;if(t[0]!==r||t[1]!==n.checklist||t[2]!==i||t[3]!==o||t[4]!==a){let e=n.checklist??[],s=cie(e),c=a,u;t[8]!==r||t[9]!==c||t[10]!==i||t[11]!==o||t[12]!==a.markBlocked||t[13]!==a.markDone||t[14]!==a.removeItem?(u=(e,t)=>t.length===0?null:(0,Q.jsxs)(`section`,{className:`space-y-1`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center justify-between text-[10px] font-medium uppercase tracking-wide text-fg-muted`,children:[(0,Q.jsx)(`span`,{children:e}),(0,Q.jsx)(`span`,{children:t.length})]}),(0,Q.jsx)(`ul`,{className:`space-y-1.5`,children:t.map(e=>(0,Q.jsx)(`li`,{className:`rounded-md border border-transparent px-1.5 py-1 hover:border-edge/60 hover:bg-surface-panel/70`,children:(0,Q.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,Q.jsx)(`span`,{className:`mt-0.5 w-4 shrink-0 text-center text-fg-muted`,title:e.status,children:sie(e)}),(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`p`,{className:`break-words text-fg`,children:e.text}),(0,Q.jsxs)(`div`,{className:`mt-1 flex flex-wrap items-center gap-1.5 text-[10px] text-fg-muted`,children:[(0,Q.jsx)(`span`,{className:`rounded-full bg-surface-panel px-1.5 py-0.5`,children:e.addedBy===`user`?c.userAdded??`User`:c.judgeGenerated??`Judge`}),e.evidenceSummary?(0,Q.jsxs)(`span`,{className:`min-w-0 break-words`,children:[c.evidenceLabel??`Evidence`,`: `,e.evidenceSummary]}):null]})]}),r&&e.status===`pending`?(0,Q.jsxs)(`span`,{className:`flex shrink-0 flex-wrap justify-end gap-0.5`,children:[(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:`h-7 px-1.5 text-[11px] text-accent`,disabled:i,onClick:()=>void o({op:`mark`,index:e.index1Based,status:`completed`}),children:a.markDone}),(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:`h-7 px-1.5 text-[11px] text-fg-muted`,disabled:i,onClick:()=>void o({op:`mark`,index:e.index1Based,status:`impossible`}),children:a.markBlocked}),(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:`h-7 px-1.5 text-[11px] text-destructive`,disabled:i,onClick:()=>void o({op:`remove`,index:e.index1Based}),children:a.removeItem})]}):null]})},`${e.index1Based}-${e.text.slice(0,24)}`))})]}),t[8]=r,t[9]=c,t[10]=i,t[11]=o,t[12]=a.markBlocked,t[13]=a.markDone,t[14]=a.removeItem,t[15]=u):u=t[15];let p=u;l=`rounded-xl bg-surface-muted/70 px-2.5 py-2 dark:bg-surface-muted/40`,t[16]===a.checklistHeading?d=t[17]:(d=(0,Q.jsx)(`p`,{className:`mb-1.5 text-[11px] font-medium uppercase tracking-wide text-fg-muted`,children:a.checklistHeading}),t[16]=a.checklistHeading,t[17]=d),f=e.length===0?(0,Q.jsx)(`p`,{className:`text-xs text-fg-muted`,children:a.checklistEmpty}):(0,Q.jsxs)(`div`,{className:`max-h-48 space-y-2 overflow-y-auto pr-0.5 text-xs`,children:[p(c.pendingGroup??`Pending`,s.pending),p(c.completedGroup??`Completed`,s.completed),p(c.impossibleGroup??`Blocked`,s.impossible)]}),t[0]=r,t[1]=n.checklist,t[2]=i,t[3]=o,t[4]=a,t[5]=l,t[6]=d,t[7]=f}else l=t[5],d=t[6],f=t[7];let p;t[18]!==r||t[19]!==i||t[20]!==s||t[21]!==o||t[22]!==a.addCriterion||t[23]!==a.addCriterionPlaceholder?(p=r?(0,Q.jsxs)(`div`,{className:`mt-2 flex gap-1.5`,children:[(0,Q.jsx)(`input`,{type:`text`,value:s,onChange:e=>c(e.target.value),placeholder:a.addCriterionPlaceholder,className:u(`min-w-0 flex-1 rounded-md border border-edge bg-surface-muted px-2 py-1.5 text-xs text-fg`,`placeholder:text-fg-muted focus-visible:border-accent focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent`),onKeyDown:e=>{e.key===`Enter`&&s.trim()&&(e.preventDefault(),Promise.resolve(o({op:`add`,text:s.trim()})).then(()=>c(``)))}}),(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,className:`h-8 shrink-0 px-2.5 text-xs`,disabled:i||!s.trim(),onClick:()=>void Promise.resolve(o({op:`add`,text:s.trim()})).then(()=>c(``)),children:a.addCriterion})]}):null,t[18]=r,t[19]=i,t[20]=s,t[21]=o,t[22]=a.addCriterion,t[23]=a.addCriterionPlaceholder,t[24]=p):p=t[24];let m;return t[25]!==l||t[26]!==d||t[27]!==f||t[28]!==p?(m=(0,Q.jsxs)(`div`,{className:l,children:[d,f,p]}),t[25]=l,t[26]=d,t[27]=f,t[28]=p,t[29]=m):m=t[29],m}function uie(e){let t=(0,Z.c)(23),{goal:n,agentBusy:r,pillTitle:i,phase:a,statusShort:o,turnsShort:s,clLine:c,t:l,onExpand:d}=e,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=u(`pointer-events-none absolute z-30`,`right-[max(0.75rem,env(safe-area-inset-right,0px))] top-[max(0.5rem,env(safe-area-inset-top,0px))]`,`sm:right-[max(1.25rem,env(safe-area-inset-right,0px))] xl:right-[max(1.5rem,env(safe-area-inset-right,0px))]`),t[0]=f):f=t[0];let p;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(p=u(`pointer-events-auto flex h-11 min-w-11 max-w-[min(calc(100vw-1.5rem),16rem)] items-center gap-1.5 rounded-full border border-edge/60 bg-surface-panel/95 px-2.5 py-1 text-left shadow-elevated backdrop-blur-sm`,`transition-colors hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`),t[1]=p):p=t[1];let m=`${i}${c?` · ${c}`:``}${n.lastVerdict?`\n${l.lastVerdict}: ${n.lastVerdict}`:``}${n.lastReason?`\n${l.lastReason}: ${n.lastReason}`:``}\n${n.title}`,h=l.expandAria,g;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Q.jsx)(MA,{className:`size-4 text-accent`,"aria-hidden":!0}),t[2]=g):g=t[2];let _;t[3]!==r||t[4]!==n.status?(_=(0,Q.jsxs)(`span`,{className:`relative flex size-8 shrink-0 items-center justify-center rounded-full bg-surface-muted`,children:[g,r?(0,Q.jsx)(`span`,{className:`absolute -right-0.5 -top-0.5 flex size-2.5 rounded-full border-2 border-surface-panel bg-accent motion-safe:animate-pulse`}):(0,Q.jsx)(`span`,{className:u(`absolute -right-0.5 -top-0.5 size-2.5 rounded-full border-2 border-surface-panel`,n.status===`active`&&`bg-accent`,n.status===`paused`&&`bg-fg-muted`,n.status===`done`&&`bg-fg-muted`)})]}),t[3]=r,t[4]=n.status,t[5]=_):_=t[5];let v;t[6]!==a||t[7]!==l?(v=m5(a,l),t[6]=a,t[7]=l,t[8]=v):v=t[8];let y;t[9]!==o||t[10]!==v?(y=(0,Q.jsxs)(`span`,{className:`block truncate text-[10px] font-medium leading-tight text-fg`,children:[v,` · `,o]}),t[9]=o,t[10]=v,t[11]=y):y=t[11];let b=c?`${s} · ${c}`:s,x;t[12]===b?x=t[13]:(x=(0,Q.jsx)(`span`,{className:`block truncate text-[10px] leading-tight text-fg-muted`,children:b}),t[12]=b,t[13]=x);let S;t[14]!==x||t[15]!==y?(S=(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1 pr-0.5`,children:[y,x]}),t[14]=x,t[15]=y,t[16]=S):S=t[16];let C;return t[17]!==d||t[18]!==l.expandAria||t[19]!==S||t[20]!==m||t[21]!==_?(C=(0,Q.jsx)(`div`,{className:`relative h-0 shrink-0 overflow-visible`,children:(0,Q.jsx)(`div`,{className:f,children:(0,Q.jsxs)(`button`,{type:`button`,className:p,title:m,"aria-label":h,onClick:d,children:[_,S]})})}),t[17]=d,t[18]=l.expandAria,t[19]=S,t[20]=m,t[21]=_,t[22]=C):C=t[22],C}function die(e){let t=(0,Z.c)(35),{goal:n,t:r}=e,[i,a]=(0,Y.useState)(!1);if(!(n.lastVerdict||n.lastReason||n.blockedReason))return null;let o=r,s;t[0]!==n.lastVerdict||t[1]!==r?(s=n.lastVerdict?h5(n.lastVerdict,r):``,t[0]=n.lastVerdict,t[1]=r,t[2]=s):s=t[2];let c=s,l=n.blockedReason||n.lastReason,u;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>a(fie),t[3]=u):u=t[3];let d;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(`span`,{className:`mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full bg-surface-panel text-accent`,children:(0,Q.jsx)(nE,{className:`size-3.5`,"aria-hidden":!0})}),t[4]=d):d=t[4];let f=o.lastJudgementTitle??r.detailsToggle,p;t[5]===f?p=t[6]:(p=(0,Q.jsx)(`span`,{className:`font-medium`,children:f}),t[5]=f,t[6]=p);let m;t[7]===c?m=t[8]:(m=c?(0,Q.jsx)(`span`,{className:`rounded-full border border-edge px-1.5 py-0.5 text-[10px] text-fg-muted`,children:c}):null,t[7]=c,t[8]=m);let h;t[9]!==p||t[10]!==m?(h=(0,Q.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5 text-fg`,children:[p,m]}),t[9]=p,t[10]=m,t[11]=h):h=t[11];let g;t[12]===l?g=t[13]:(g=l?(0,Q.jsx)(`span`,{className:`mt-0.5 line-clamp-2 block text-fg-muted`,children:l}):null,t[12]=l,t[13]=g);let _;t[14]!==h||t[15]!==g?(_=(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[h,g]}),t[14]=h,t[15]=g,t[16]=_):_=t[16];let v=i?o.hideDetails??r.detailsToggle:o.showDetails??r.detailsToggle,y;t[17]===v?y=t[18]:(y=(0,Q.jsx)(`span`,{className:`shrink-0 text-[10px] text-fg-muted`,children:v}),t[17]=v,t[18]=y);let b;t[19]!==y||t[20]!==_?(b=(0,Q.jsxs)(`button`,{type:`button`,className:`flex w-full min-w-0 items-start gap-2 text-left`,onClick:u,children:[d,_,y]}),t[19]=y,t[20]=_,t[21]=b):b=t[21];let x;t[22]!==o.judgeModel||t[23]!==o.pausedReason||t[24]!==n.blockedReason||t[25]!==n.judgeModelRef||t[26]!==n.lastReason||t[27]!==n.lastVerdict||t[28]!==i||t[29]!==r||t[30]!==c?(x=i?(0,Q.jsxs)(`div`,{className:`mt-2 space-y-1.5 rounded-lg border border-edge/70 bg-surface-panel px-2 py-1.5 text-fg-muted`,children:[n.lastVerdict?(0,Q.jsxs)(`p`,{children:[(0,Q.jsxs)(`span`,{className:`font-medium text-fg`,children:[r.lastVerdict,`:`]}),` `,c]}):null,n.lastReason?(0,Q.jsxs)(`p`,{className:`whitespace-pre-wrap break-words`,children:[(0,Q.jsxs)(`span`,{className:`font-medium text-fg`,children:[r.lastReason,`:`]}),` `,n.lastReason]}):null,n.blockedReason?(0,Q.jsxs)(`p`,{className:`whitespace-pre-wrap break-words`,children:[(0,Q.jsxs)(`span`,{className:`font-medium text-fg`,children:[o.pausedReason??r.statusPaused,`:`]}),` `,n.blockedReason]}):null,n.judgeModelRef?(0,Q.jsxs)(`p`,{className:`break-words`,children:[(0,Q.jsxs)(`span`,{className:`font-medium text-fg`,children:[o.judgeModel??`Judge model`,`:`]}),` `,n.judgeModelRef]}):null]}):null,t[22]=o.judgeModel,t[23]=o.pausedReason,t[24]=n.blockedReason,t[25]=n.judgeModelRef,t[26]=n.lastReason,t[27]=n.lastVerdict,t[28]=i,t[29]=r,t[30]=c,t[31]=x):x=t[31];let S;return t[32]!==b||t[33]!==x?(S=(0,Q.jsxs)(`section`,{className:`rounded-xl border border-edge/70 bg-surface-muted/45 px-2.5 py-2 text-xs dark:bg-surface-muted/25`,children:[b,x]}),t[32]=b,t[33]=x,t[34]=S):S=t[34],S}function fie(e){return!e}function pie(e){let t=(0,Z.c)(3),{goal:n,t:r}=e,i;return t[0]!==n||t[1]!==r?(i=(0,Q.jsx)(die,{goal:n,t:r}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}var mie=new Intl.DateTimeFormat(`zh-CN`,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`}),hie=new Intl.DateTimeFormat(`en-US`,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`});function gie(e,t){let n=typeof e==`string`?new Date(e):e;return(t===`zh`?mie:hie).format(n)}function _ie(e){let t=(0,Z.c)(25),{sessionKey:n,goal:r,language:i,t:a}=e,o;t[0]===n?o=t[1]:(o=async()=>(await J6(n,{limit:1})).runs,t[0]=n,t[1]=o);let s;t[2]!==r.lastTurnAt||t[3]!==r.lastVerdict||t[4]!==r.turnsUsed||t[5]!==n?(s=[n,r.turnsUsed,r.lastTurnAt,r.lastVerdict],t[2]=r.lastTurnAt,t[3]=r.lastVerdict,t[4]=r.turnsUsed,t[5]=n,t[6]=s):s=t[6];let c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=[],t[7]=c):c=t[7];let l;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(l={initial:c,errorData:[]},t[8]=l):l=t[8];let{data:u,loading:d}=yR(o,s,l),f=u[0];if(!f&&!d)return null;let p=a,m=p.latestRunTitle??a.runHistory,h;t[9]===m?h=t[10]:(h=(0,Q.jsx)(`span`,{className:`font-medium uppercase tracking-wide`,children:m}),t[9]=m,t[10]=h);let g;t[11]!==i||t[12]!==f?(g=f?(0,Q.jsx)(`time`,{suppressHydrationWarning:!0,dateTime:new Date(f.at).toISOString(),children:gie(f.at,i)}):null,t[11]=i,t[12]=f,t[13]=g):g=t[13];let _;t[14]!==h||t[15]!==g?(_=(0,Q.jsxs)(`div`,{className:`mb-1 flex flex-wrap items-center justify-between gap-2 text-[10px] text-fg-muted`,children:[h,g]}),t[14]=h,t[15]=g,t[16]=_):_=t[16];let v;t[17]!==p.nextStepContinue||t[18]!==p.nextStepStop||t[19]!==f||t[20]!==a?(v=f?(0,Q.jsxs)(`div`,{className:`grid gap-1.5 sm:grid-cols-[auto_1fr_auto] sm:items-start`,children:[(0,Q.jsx)(`div`,{className:`rounded-full border border-edge bg-surface-muted px-2 py-0.5 text-[10px] text-fg-muted`,children:a.runHistoryTurns.replace(`{{used}}`,String(f.turnsUsed)).replace(`{{max}}`,String(f.maxTurns))}),(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1.5 text-fg`,children:[(0,Q.jsx)(`span`,{children:g5(f.verdict,a)}),(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:`·`}),(0,Q.jsx)(`span`,{children:_5(f.statusAfter,a)}),f.checklistProgress?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:`·`}),(0,Q.jsx)(`span`,{children:a.checklistProgress.replace(`{{done}}`,String(f.checklistProgress.done)).replace(`{{total}}`,String(f.checklistProgress.total))})]}):null]}),f.reason?(0,Q.jsx)(`p`,{className:`mt-1 line-clamp-2 break-words text-fg-muted`,children:f.reason}):null]}),(0,Q.jsx)(`div`,{className:`text-[10px] text-accent sm:text-right`,children:f.willContinue?p.nextStepContinue??a.runHistoryContinue:p.nextStepStop??a.runHistoryStop})]}):(0,Q.jsx)(`p`,{className:`text-fg-muted`,children:a.runHistoryLoading}),t[17]=p.nextStepContinue,t[18]=p.nextStepStop,t[19]=f,t[20]=a,t[21]=v):v=t[21];let y;return t[22]!==_||t[23]!==v?(y=(0,Q.jsxs)(`section`,{className:`rounded-xl border border-edge/70 bg-surface-panel px-2.5 py-2 text-xs`,children:[_,v]}),t[22]=_,t[23]=v,t[24]=y):y=t[24],y}function vie(e){let t=(0,Z.c)(49),{goal:n,phase:r,statusShort:i,turnsShort:a,clLine:o,elapsedStr:s,t:c,onCollapse:l}=e,d;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(ay,{className:`size-3.5 shrink-0 text-accent`,"aria-hidden":!0}),t[0]=d):d=t[0];let f;t[1]!==r||t[2]!==c?(f=m5(r,c),t[1]=r,t[2]=c,t[3]=f):f=t[3];let p;t[4]===f?p=t[5]:(p=(0,Q.jsx)(`span`,{className:`font-medium text-fg`,children:f}),t[4]=f,t[5]=p);let m=n.status===`active`&&`border-accent/40 text-accent`,h=n.status===`paused`&&`border-edge text-fg-muted`,g=n.status===`done`&&`border-edge text-fg-muted`,_;t[6]!==m||t[7]!==h||t[8]!==g?(_=u(`rounded-full border px-1.5 py-0.5`,m,h,g),t[6]=m,t[7]=h,t[8]=g,t[9]=_):_=t[9];let v;t[10]!==i||t[11]!==_?(v=(0,Q.jsx)(`span`,{className:_,children:i}),t[10]=i,t[11]=_,t[12]=v):v=t[12];let y;t[13]!==n.maxTurns||t[14]!==n.turnsUsed||t[15]!==c.turns?(y=c.turns.replace(`{{used}}`,String(n.turnsUsed)).replace(`{{max}}`,String(n.maxTurns)),t[13]=n.maxTurns,t[14]=n.turnsUsed,t[15]=c.turns,t[16]=y):y=t[16];let b;t[17]===y?b=t[18]:(b=(0,Q.jsx)(`span`,{children:y}),t[17]=y,t[18]=b);let x;t[19]===o?x=t[20]:(x=o?(0,Q.jsx)(`span`,{className:`rounded-full bg-surface-panel px-1.5 py-0.5 text-fg`,children:o}):null,t[19]=o,t[20]=x);let S;t[21]===s?S=t[22]:(S=(0,Q.jsx)(`span`,{className:`text-fg`,children:s}),t[21]=s,t[22]=S);let C;t[23]!==c.elapsedLabel||t[24]!==S?(C=(0,Q.jsxs)(`span`,{className:`text-fg-muted`,children:[c.elapsedLabel,`: `,S]}),t[23]=c.elapsedLabel,t[24]=S,t[25]=C):C=t[25];let w;t[26]!==b||t[27]!==x||t[28]!==C||t[29]!==p||t[30]!==v?(w=(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 text-xs text-fg-muted`,children:[d,p,v,b,x,C]}),t[26]=b,t[27]=x,t[28]=C,t[29]=p,t[30]=v,t[31]=w):w=t[31];let T;t[32]===n.title?T=t[33]:(T=(0,Q.jsx)(`p`,{className:`mt-1 line-clamp-2 text-sm leading-snug text-fg`,title:n.title,children:n.title}),t[32]=n.title,t[33]=T);let E;t[34]!==w||t[35]!==T?(E=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[w,T]}),t[34]=w,t[35]=T,t[36]=E):E=t[36];let D;t[37]===a?D=t[38]:(D=(0,Q.jsx)(`span`,{className:`hidden rounded-full bg-surface-muted px-2 py-1 text-[10px] text-fg-muted sm:inline-flex`,children:a}),t[37]=a,t[38]=D);let O;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Q.jsx)(Ad,{className:`size-4`,"aria-hidden":!0}),t[39]=O):O=t[39];let k;t[40]!==l||t[41]!==c.collapseAria?(k=(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,className:`size-8 shrink-0 rounded-full p-0 text-fg-muted hover:text-fg`,"aria-label":c.collapseAria,onClick:l,children:O}),t[40]=l,t[41]=c.collapseAria,t[42]=k):k=t[42];let A;t[43]!==D||t[44]!==k?(A=(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[D,k]}),t[43]=D,t[44]=k,t[45]=A):A=t[45];let j;return t[46]!==E||t[47]!==A?(j=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-start justify-between gap-2`,children:[E,A]}),t[46]=E,t[47]=A,t[48]=j):j=t[48],j}function yie(e){let t=(0,Z.c)(20),{goal:n,t:r}=e,i;t[0]===n?i=t[1]:(i=rie(n),t[0]=n,t[1]=i);let a=i,o;t[2]===n?o=t[3]:(o=iie(n),t[2]=n,t[3]=o);let s=o,c=r.heading,l=n.status===`done`?`bg-accent`:`bg-accent/75`,d;t[4]===l?d=t[5]:(d=u(`h-full rounded-full transition-[width] duration-300`,l),t[4]=l,t[5]=d);let f=`${a.percent}%`,p;t[6]===f?p=t[7]:(p={width:f},t[6]=f,t[7]=p);let m;t[8]!==d||t[9]!==p?(m=(0,Q.jsx)(`div`,{className:`h-1.5 overflow-hidden rounded-full bg-surface-elevated`,children:(0,Q.jsx)(`div`,{className:d,style:p})}),t[8]=d,t[9]=p,t[10]=m):m=t[10];let h;t[11]!==s.done||t[12]!==s.percent||t[13]!==s.total||t[14]!==r.checklistProgress?(h=s.total>0?(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 text-[10px] text-fg-muted`,children:[(0,Q.jsx)(`span`,{className:`shrink-0`,children:r.checklistProgress.replace(`{{done}}`,String(s.done)).replace(`{{total}}`,String(s.total))}),(0,Q.jsx)(`div`,{className:`h-1 min-w-10 flex-1 overflow-hidden rounded-full bg-surface-muted`,children:(0,Q.jsx)(`div`,{className:`h-full rounded-full bg-fg-muted/55 transition-[width] duration-300`,style:{width:`${s.percent}%`}})})]}):null,t[11]=s.done,t[12]=s.percent,t[13]=s.total,t[14]=r.checklistProgress,t[15]=h):h=t[15];let g;return t[16]!==r.heading||t[17]!==m||t[18]!==h?(g=(0,Q.jsxs)(`div`,{className:`space-y-1.5`,"aria-label":c,children:[m,h]}),t[16]=r.heading,t[17]=m,t[18]=h,t[19]=g):g=t[19],g}var bie=new Intl.DateTimeFormat(`zh-CN`,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`}),xie=new Intl.DateTimeFormat(`en-US`,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`});function Sie(e,t){let n=typeof e==`string`?new Date(e):e;return(t===`zh`?bie:xie).format(n)}function Cie(e){let t=(0,Z.c)(25),{sessionKey:n,goal:r,language:i,t:a}=e,[o,s]=(0,Y.useState)(!1),c;t[0]===n?c=t[1]:(c=async()=>(await J6(n,{limit:40})).runs,t[0]=n,t[1]=c);let l;t[2]!==r.lastTurnAt||t[3]!==r.lastVerdict||t[4]!==r.turnsUsed||t[5]!==o||t[6]!==n?(l=[o,n,r.turnsUsed,r.lastTurnAt,r.lastVerdict],t[2]=r.lastTurnAt,t[3]=r.lastVerdict,t[4]=r.turnsUsed,t[5]=o,t[6]=n,t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=[],t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=[],t[9]=d):d=t[9];let f;t[10]===o?f=t[11]:(f={enabled:o,initial:u,errorData:d},t[10]=o,t[11]=f);let{data:p,loading:m,error:h}=yR(c,l,f),g=h==null?null:h instanceof Error?h.message:a.runHistoryLoadFailed,_;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>s(wie),t[12]=_):_=t[12];let v;t[13]===a.runHistory?v=t[14]:(v=(0,Q.jsx)(`button`,{type:`button`,className:`text-xs text-fg-muted underline-offset-2 hover:underline`,onClick:_,children:a.runHistory}),t[13]=a.runHistory,t[14]=v);let y;t[15]!==i||t[16]!==p||t[17]!==g||t[18]!==m||t[19]!==o||t[20]!==a?(y=o?(0,Q.jsxs)(`div`,{className:`mt-1 max-h-52 space-y-2 overflow-y-auto rounded-md border border-edge bg-surface-panel p-2 text-xs text-fg-muted`,children:[m?(0,Q.jsx)(`p`,{className:`text-fg-muted`,children:a.runHistoryLoading}):null,g?(0,Q.jsx)(`p`,{className:`text-destructive`,children:g}):null,!m&&!g&&p.length===0?(0,Q.jsx)(`p`,{className:`text-fg-muted`,children:a.runHistoryEmpty}):null,!m&&p.length>0?(0,Q.jsx)(`ul`,{className:`space-y-2`,children:p.map(e=>(0,Q.jsxs)(`li`,{className:`rounded-md border border-edge/80 bg-surface-muted/40 px-2 py-1.5 dark:bg-surface-muted/25`,children:[(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-x-2 gap-y-0.5 text-[10px] text-fg-muted`,children:[(0,Q.jsx)(`time`,{suppressHydrationWarning:!0,dateTime:new Date(e.at).toISOString(),children:Sie(e.at,i)}),(0,Q.jsx)(`span`,{children:a.runHistoryTurns.replace(`{{used}}`,String(e.turnsUsed)).replace(`{{max}}`,String(e.maxTurns))})]}),(0,Q.jsxs)(`div`,{className:`mt-0.5 flex flex-wrap gap-x-2 gap-y-0.5 text-[11px] text-fg`,children:[(0,Q.jsx)(`span`,{children:g5(e.verdict,a)}),(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:`·`}),(0,Q.jsx)(`span`,{children:_5(e.statusAfter,a)}),(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:`·`}),(0,Q.jsx)(`span`,{children:e.willContinue?a.runHistoryContinue:a.runHistoryStop}),e.checklistProgress?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{className:`text-fg-muted`,children:`·`}),(0,Q.jsx)(`span`,{children:a.checklistProgress.replace(`{{done}}`,String(e.checklistProgress.done)).replace(`{{total}}`,String(e.checklistProgress.total))})]}):null]}),e.reason?(0,Q.jsxs)(`p`,{className:`mt-1 whitespace-pre-wrap break-words text-fg-muted`,children:[(0,Q.jsxs)(`span`,{className:`font-medium text-fg`,children:[a.lastReason,`:`]}),` `,e.reason]}):null,e.assistantPreview?(0,Q.jsx)(`p`,{className:`mt-1 line-clamp-3 break-words text-[10px] leading-snug text-fg-muted`,children:e.assistantPreview}):null]},e.id))}):null]}):null,t[15]=i,t[16]=p,t[17]=g,t[18]=m,t[19]=o,t[20]=a,t[21]=y):y=t[21];let b;return t[22]!==v||t[23]!==y?(b=(0,Q.jsxs)(`div`,{children:[v,y]}),t[22]=v,t[23]=y,t[24]=b):b=t[24],b}function wie(e){return!e}function Tie(e,t){switch(t.type){case`start`:return{busy:!0,error:null};case`error`:return{busy:!1,error:t.error};case`done`:return{busy:!1,error:null}}}function Eie(e){try{return sessionStorage.getItem(v5(e))===`1`}catch{return!1}}function Die(e){let t=(0,Z.c)(3),{onTick:n}=e,r,i;return t[0]===n?(r=t[1],i=t[2]):(r=()=>{let e=window.setInterval(n,1e3);return()=>clearInterval(e)},i=[n],t[0]=n,t[1]=r,t[2]=i),(0,Y.useEffect)(r,i),null}function Oie({sessionKey:e,streaming:t,sending:n}){let r=v(e=>e.language),i=m(r).chat.goal,[a,o]=(0,Y.useState)(()=>Eie(e)),[s,c]=(0,Y.useReducer)(Tie,{busy:!1,error:null}),[l,u]=(0,Y.useState)(()=>Date.now()),d=(0,Y.useRef)(t||n),f=(0,Y.useRef)(null),p=(0,Y.useRef)(!1),h=t||n;d.current&&!h&&(p.current=!0),d.current=h;let g=(0,Y.useCallback)(t=>{o(t);try{t?sessionStorage.setItem(v5(e),`1`):sessionStorage.removeItem(v5(e))}catch{}},[e]),{data:_,loading:y,error:b,setData:x}=yR(async()=>(await V6(e,{uiLocale:r})).goal,[e,r],{initial:null,errorData:null}),S=(0,Y.useCallback)(async()=>{try{x((await V6(e,{uiLocale:r})).goal)}catch(e){c({type:`error`,error:e instanceof Error?e.message:i.loadFailed})}},[e,r,x,i.loadFailed]),C=(0,Y.useEffectEvent)(()=>{S()});(0,Y.useEffect)(()=>{if(!_){f.current=null;return}let e=f.current;if(f.current={goalId:_.id,status:_.status},!(!e||e.goalId!==_.id||e.status===_.status)){if(_.status===`done`){j({type:`success`,title:`Goal completed`,message:_.title,duration:0});return}if(_.status===`blocked`){j({type:`warning`,title:`Goal blocked`,message:_.blockedReason||_.title,duration:0});return}_.status===`needs_input`&&j({type:`warning`,title:`Goal needs input`,message:_.blockedReason||_.title,duration:0})}},[_?.id,_?.status,_?.updatedAt,_?.title,_?.blockedReason]),(0,Y.useEffect)(()=>{let t=t=>{t.detail?.key===e&&C()};return window.addEventListener(`session-updated`,t),()=>window.removeEventListener(`session-updated`,t)},[e]),(0,Y.useLayoutEffect)(()=>{p.current&&(p.current=!1,C())});let w=(0,Y.useCallback)(()=>{u(Date.now())},[]),T=async t=>{c({type:`start`});try{await W6(e,t,{uiLocale:r}),await S(),c({type:`done`})}catch(e){c({type:`error`,error:e instanceof Error?e.message:i.loadFailed})}},E=async t=>{c({type:`start`});try{await q6(e,t,{uiLocale:r}),await S(),c({type:`done`})}catch(e){c({type:`error`,error:e instanceof Error?e.message:i.loadFailed})}},D=!y||b!=null||_!=null,O=s.error??(b==null?null:b instanceof Error?b.message:i.loadFailed);if(!D||!nie(_))return null;let k=_,A=t||n,M=`${k.turnsUsed}/${k.maxTurns}`,N=oie(k,i),{total:P,done:F}=p5(k),I=P>0?i.checklistProgress.replace(`{{done}}`,String(F)).replace(`{{total}}`,String(P)):``,L=eie($re(k,l),r),R=aie(k,A),z=i.pillTitle.replace(`{{status}}`,N).replace(`{{turns}}`,M),B=!a&&k.status!==`done`&&k.status!==`archived`;if(a)return(0,Q.jsx)(uie,{goal:k,agentBusy:A,pillTitle:z,phase:R,statusShort:N,turnsShort:M,clLine:I,t:i,onExpand:()=>g(!1)});let V=k.status===`active`||k.status===`paused`;return(0,Q.jsxs)(`div`,{className:`shrink-0 w-full px-3 pt-1.5 sm:px-5 sm:pt-2 xl:px-6`,children:[B?(0,Q.jsx)(Die,{onTick:w}):null,(0,Q.jsxs)(`div`,{className:`mx-auto flex w-full max-w-[var(--max-width-chat)] flex-col gap-2.5 rounded-2xl bg-surface-panel px-3 py-2.5 shadow-elevated sm:px-4 sm:py-3`,children:[(0,Q.jsx)(vie,{goal:k,phase:R,statusShort:N,turnsShort:M,clLine:I,elapsedStr:L,t:i,onCollapse:()=>g(!0)}),(0,Q.jsx)(yie,{goal:k,t:i}),(0,Q.jsx)(lie,{goal:k,canEdit:V,mutationBusy:s.busy,t:i,onMutate:E}),(0,Q.jsx)(tie,{goal:k,canEditChecklist:V,mutationBusy:s.busy,t:i,onAction:T,onChecklist:E}),(0,Q.jsx)(pie,{goal:k,t:i}),(0,Q.jsx)(_ie,{sessionKey:e,goal:k,language:r,t:i}),(0,Q.jsx)(Cie,{sessionKey:e,goal:k,language:r,t:i}),O?(0,Q.jsx)(`p`,{className:`text-xs text-destructive`,children:O}):null]})]})}function kie(e){let t=(0,Z.c)(2),n;return t[0]===e?n=t[1]:(n=(0,Q.jsx)(Oie,{...e},e.sessionKey),t[0]=e,t[1]=n),n}function Aie(e,t){let n=i1(e,t),r=a1(e,t);return`${e.id} ${n} ${r}`.toLowerCase()}function jie(e,t,n){let r=t.trim().toLowerCase();if(!r)return e;let i=r.split(/\s+/).filter(Boolean);return e.filter(e=>{let t=Aie(e,n);return i.every(e=>t.includes(e))})}function Mie(e){let t=(0,Z.c)(56),{items:n,value:r,disabled:i,placeholder:a,searchPlaceholder:o,noMatches:s,compact:c,contentSide:l,contentAlign:d,className:f,onChange:p}=e,h=l===void 0?`bottom`:l,g=d===void 0?`end`:d,_=v(Pie),y;t[0]===_?y=t[1]:(y=m(_),t[0]=_,t[1]=y);let b=y.agentsSettings,[x,S]=(0,Y.useState)(!1),[C,w]=(0,Y.useState)(``),T;t[2]!==b||t[3]!==n||t[4]!==C?(T=jie(n,C,b),t[2]=b,t[3]=n,t[4]=C,t[5]=T):T=t[5];let E=T,D,O,k;if(t[6]!==b||t[7]!==n||t[8]!==a||t[9]!==r){let e;t[13]===r?e=t[14]:(e=e=>e.id===r,t[13]=r,t[14]=e),O=n.find(e),D=O?i1(O,b):r||a,k=O?[i1(O,b),a1(O,b)].filter(Boolean).join(` — `):void 0,t[6]=b,t[7]=n,t[8]=a,t[9]=r,t[10]=D,t[11]=O,t[12]=k}else D=t[10],O=t[11],k=t[12];let A=k??a,j=c&&`min-w-0 max-w-[min(calc(15ch+3rem),calc(100vw-8rem))] py-1.5 text-[13px]`,M;t[15]!==f||t[16]!==j?(M=u(BP,`items-center gap-2 rounded-lg border border-edge-subtle bg-surface-panel px-2.5 py-2 text-left text-sm font-normal text-fg`,$.transition,`hover:border-edge hover:bg-surface-hover/45`,LP,IP,`disabled:cursor-not-allowed disabled:opacity-50`,`dark:border-edge-subtle dark:hover:bg-surface-hover/55`,j,f),t[15]=f,t[16]=j,t[17]=M):M=t[17];let N;t[18]!==O?.avatar||t[19]!==r?(N=r?(0,Q.jsx)(TU,{agentId:r,avatar:O?.avatar,size:28,className:`shrink-0`}):null,t[18]=O?.avatar,t[19]=r,t[20]=N):N=t[20];let P=c?`max-w-[15ch] shrink`:`flex-1`,F;t[21]===P?F=t[22]:(F=u(`min-w-0 truncate text-left`,P),t[21]=P,t[22]=F);let I;t[23]!==D||t[24]!==F?(I=(0,Q.jsx)(`span`,{className:F,children:D}),t[23]=D,t[24]=F,t[25]=I):I=t[25];let L;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,Q.jsx)(Rd,{className:`size-4 shrink-0 text-fg-subtle opacity-70`,"aria-hidden":!0}),t[26]=L):L=t[26];let R;t[27]!==i||t[28]!==I||t[29]!==A||t[30]!==M||t[31]!==N?(R=(0,Q.jsx)(lL,{asChild:!0,children:(0,Q.jsxs)(`button`,{type:`button`,disabled:i,title:A,className:M,children:[N,I,L]})}),t[27]=i,t[28]=I,t[29]=A,t[30]=M,t[31]=N,t[32]=R):R=t[32];let z;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(z=u(`z-50 w-[var(--radix-popover-trigger-width)] min-w-[12rem] max-h-[min(20rem,calc(100vh-6rem))] overflow-hidden rounded-lg border border-edge bg-surface-panel shadow-md`,$),t[33]=z):z=t[33];let B;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(B=e=>w(e.target.value),t[34]=B):B=t[34];let V;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(V=u(`w-full rounded-md border border-edge bg-surface-elevated px-2.5 py-1.5 text-sm text-fg placeholder:text-fg-muted`,LP),t[35]=V):V=t[35];let H;t[36]!==C||t[37]!==o?(H=(0,Q.jsx)(`div`,{className:`border-b border-edge p-2`,children:(0,Q.jsx)(`input`,{type:`search`,value:C,onChange:B,placeholder:o,className:V,"aria-label":o})}),t[36]=C,t[37]=o,t[38]=H):H=t[38];let U;t[39]!==b||t[40]!==E||t[41]!==s||t[42]!==p||t[43]!==r?(U=E.length===0?(0,Q.jsx)(`li`,{className:`p-2 text-sm text-fg-muted`,children:s}):E.map(e=>{let t=e.id===r,n=i1(e,b),i=a1(e,b),a=i.length>0?i:void 0;return(0,Q.jsx)(`li`,{role:`option`,"aria-selected":t,children:(0,Q.jsxs)(`button`,{type:`button`,className:u(`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm text-fg`,t?`bg-surface-hover`:`hover:bg-surface-hover`),onClick:()=>{p(e.id),S(!1),w(``)},children:[(0,Q.jsx)(gd,{className:u(`size-4 shrink-0`,t?`opacity-100`:`opacity-0`),"aria-hidden":!0}),(0,Q.jsx)(TU,{agentId:e.id,avatar:e.avatar,size:32,className:`shrink-0`}),(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`span`,{className:`block truncate font-medium leading-tight`,title:n,children:n}),i?(0,Q.jsx)(`span`,{className:`mt-0.5 block truncate text-xs leading-tight text-fg-muted`,title:a,children:i}):null]})]})},e.id)}),t[39]=b,t[40]=E,t[41]=s,t[42]=p,t[43]=r,t[44]=U):U=t[44];let W;t[45]===U?W=t[46]:(W=(0,Q.jsx)(`ul`,{className:`max-h-[min(16rem,calc(100vh-10rem))] overflow-y-auto p-1`,role:`listbox`,children:U}),t[45]=U,t[46]=W);let G;t[47]!==g||t[48]!==h||t[49]!==H||t[50]!==W?(G=(0,Q.jsx)(uL,{children:(0,Q.jsxs)(dL,{side:h,align:g,sideOffset:4,collisionPadding:8,className:z,onOpenAutoFocus:Nie,children:[H,W]})}),t[47]=g,t[48]=h,t[49]=H,t[50]=W,t[51]=G):G=t[51];let K;return t[52]!==x||t[53]!==R||t[54]!==G?(K=(0,Q.jsxs)(sL,{open:x,onOpenChange:S,children:[R,G]}),t[52]=x,t[53]=R,t[54]=G,t[55]=K):K=t[55],K}function Nie(e){return e.preventDefault()}function Pie(e){return e.language}var Fie=`(max-width: 767px)`,Iie=(0,Y.memo)(function(e){let t=(0,Z.c)(24),{chatHeadline:n,chatAgents:r,showChatAgentSelector:i,chatAgentId:a,onChatAgentChange:o,chatAgentDisabled:s}=e,c=v(Lie),l;t[0]===c?l=t[1]:(l=m(c),t[0]=c,t[1]=l);let d=l,f=oI(Rie),p=gZ(zie),h=gZ(Bie),g=SI(Vie),_=OI(Hie),y=OI(Uie),b=O4(Fie),x;t[2]!==b||t[3]!==g||t[4]!==f?(x=b?!g:f&&!mI(),t[2]=b,t[3]=g,t[4]=f,t[5]=x):x=t[5];let S=x,C,w;return t[6]!==s||t[7]!==a||t[8]!==r||t[9]!==n||t[10]!==y||t[11]!==d.chat.agentNoMatches||t[12]!==d.chat.agentPlaceholder||t[13]!==d.chat.agentSearchPlaceholder||t[14]!==d.sidebar.newTask||t[15]!==d.workspace.openFiles||t[16]!==o||t[17]!==_||t[18]!==i||t[19]!==S||t[20]!==h||t[21]!==p?(C=()=>(_({startExtra:S?(0,Q.jsx)(Gi,{to:`/chat/new`,className:u(`inline-flex size-8 shrink-0 items-center justify-center rounded-lg bg-surface-panel text-sm font-medium leading-none text-fg transition-colors hover:bg-surface-hover`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`,GF),title:d.sidebar.newTask,children:(0,Q.jsx)(fw,{className:`size-4 shrink-0 text-accent-fg`,strokeWidth:2,"aria-hidden":!0})}):null,main:(0,Q.jsx)(`div`,{className:`w-full min-w-0 max-w-(--max-width-chat) px-3 sm:px-5 xl:px-6`,children:(0,Q.jsx)(`h1`,{className:u(`min-w-0 truncate text-base font-semibold tracking-tight text-fg`,S?`text-left md:text-center`:`text-left`),title:n,children:n})}),end:(0,Q.jsxs)(`div`,{className:u(`flex min-w-0 max-w-[min(32rem,calc(100vw-8rem))] shrink-0 items-center justify-end gap-2`,GF),children:[i?(0,Q.jsx)(`div`,{className:`min-w-0 w-fit shrink-0`,children:(0,Q.jsx)(Mie,{items:r,value:a,disabled:s,placeholder:d.chat.agentPlaceholder,searchPlaceholder:d.chat.agentSearchPlaceholder,noMatches:d.chat.agentNoMatches,compact:!0,contentSide:`bottom`,contentAlign:`end`,onChange:o})}):null,(0,Q.jsx)(`button`,{type:`button`,className:u(`rounded-md p-2 text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,p&&`bg-surface-hover text-fg`),title:d.workspace.openFiles,"aria-label":d.workspace.openFiles,"aria-pressed":p,onClick:h,children:(0,Q.jsx)(Z_,{className:`size-4`})})]})}),()=>y()),w=[n,r,i,a,o,s,S,d.chat.agentPlaceholder,d.chat.agentSearchPlaceholder,d.chat.agentNoMatches,d.sidebar.newTask,d.workspace.openFiles,p,h,_,y],t[6]=s,t[7]=a,t[8]=r,t[9]=n,t[10]=y,t[11]=d.chat.agentNoMatches,t[12]=d.chat.agentPlaceholder,t[13]=d.chat.agentSearchPlaceholder,t[14]=d.sidebar.newTask,t[15]=d.workspace.openFiles,t[16]=o,t[17]=_,t[18]=i,t[19]=S,t[20]=h,t[21]=p,t[22]=C,t[23]=w):(C=t[22],w=t[23]),(0,Y.useLayoutEffect)(C,w),null});function Lie(e){return e.language}function Rie(e){return e.collapsed}function zie(e){return e.open}function Bie(e){return e.toggleOpen}function Vie(e){return e.mobileNavOpen}function Hie(e){return e.setPageHeader}function Uie(e){return e.clearPageHeader}var Wie=(0,Y.memo)(function(){let e=(0,Z.c)(13),t=v(Gie),n;e[0]===t?n=e[1]:(n=m(t),e[0]=t,e[1]=n);let r=n,i=E0(Kie),a=E0(qie);if(i===`idle`)return null;if(i===`error`&&a){let t;e[2]===a?t=e[3]:(t=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:a}),e[2]=a,e[3]=t);let n;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=u(`shrink-0 rounded-xl border border-red-200 bg-white px-2.5 py-1 text-xs font-medium text-red-700`,`hover:bg-red-50 dark:border-red-800 dark:bg-red-950/40 dark:text-red-300 dark:hover:bg-red-950/70`,$.transition,$.press,$.focusRingPanel),e[4]=n):n=e[4];let i;e[5]===r.connection.reconnect?i=e[6]:(i=(0,Q.jsx)(`button`,{type:`button`,className:n,onClick:Jie,children:r.connection.reconnect}),e[5]=r.connection.reconnect,e[6]=i);let o;return e[7]!==t||e[8]!==i?(o=(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 border-b border-red-100 bg-red-50 px-4 py-2 text-sm text-red-600 dark:border-red-900/40 dark:bg-red-950/50 dark:text-red-400`,children:[t,i]}),e[7]=t,e[8]=i,e[9]=o):o=e[9],o}if(i===`connecting`||i===`reconnecting`){let t;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`span`,{className:`inline-block size-3 animate-spin rounded-full border-2 border-amber-500 border-t-transparent`,"aria-hidden":!0}),e[10]=t):t=e[10];let n=i===`reconnecting`?r.connection.reconnecting:r.connection.connecting,a;return e[11]===n?a=e[12]:(a=(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 border-b border-amber-100 bg-amber-50 px-4 py-2 text-sm text-amber-800 dark:border-amber-900/40 dark:bg-amber-950/50 dark:text-amber-200`,children:[t,(0,Q.jsx)(`span`,{children:n})]}),e[11]=n,e[12]=a),a}return null});function Gie(e){return e.language}function Kie(e){return e.connectionState}function qie(e){return e.error}function Jie(){return T0()}var Yie={folder:Z_,content:Wk,documents:dg,globe:dv};function Xie(e){let t=(0,Z.c)(2),{name:n}=e,r=Yie[n]??Z_,i;return t[0]===r?i=t[1]:(i=(0,Q.jsx)(r,{className:`size-[1.125rem] text-accent-fg sm:size-5`,strokeWidth:1.75,"aria-hidden":!0}),t[0]=r,t[1]=i),i}var Zie=(0,Y.memo)(function(e){let t=(0,Z.c)(28),{chat:n,onPickPrompt:r}=e,i=n.welcomeSpotlight,a=(0,Y.useId)(),[o,s]=(0,Y.useState)(null),c;t[0]!==i?.categories||t[1]!==o?(c=i?.categories.find(e=>e.id===o),t[0]=i?.categories,t[1]=o,t[2]=c):c=t[2];let l=c;if(!i)return null;let d;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(yP,{className:`size-12 shrink-0 sm:size-14`,"aria-hidden":!0}),t[3]=d):d=t[3];let f;t[4]===i.headline?f=t[5]:(f=(0,Q.jsx)(`h1`,{className:`text-balance text-lg font-semibold tracking-tight text-fg sm:text-xl`,children:i.headline}),t[4]=i.headline,t[5]=f);let p;t[6]===i.tagline?p=t[7]:(p=(0,Q.jsx)(`p`,{className:`max-w-md text-pretty text-sm leading-snug text-fg-muted sm:text-[0.9375rem]`,children:i.tagline}),t[6]=i.tagline,t[7]=p);let m;t[8]!==f||t[9]!==p?(m=(0,Q.jsxs)(`div`,{className:`flex flex-col items-center gap-1.5 px-1 pt-8 text-center sm:gap-2 sm:pt-10`,children:[d,f,p]}),t[8]=f,t[9]=p,t[10]=m):m=t[10];let h;if(t[11]!==a||t[12]!==i.categories||t[13]!==o){let e;t[15]!==a||t[16]!==o?(e=e=>{let t=o===e.id;return(0,Q.jsxs)(`button`,{type:`button`,"aria-expanded":t,"aria-controls":t?a:void 0,onClick:()=>s(t=>t===e.id?null:e.id),className:u(`flex flex-row items-start gap-2.5 rounded-xl border bg-surface-panel p-2.5 text-left shadow-surface sm:flex-col sm:gap-2`,$.transition,$.press,$.focusRingPanel,t?`border-accent ring-1 ring-accent/25`:`border-edge hover:border-edge-strong hover:bg-surface-hover/40 dark:hover:bg-surface-hover/30`),children:[(0,Q.jsx)(`div`,{className:`flex size-9 shrink-0 items-center justify-center rounded-lg bg-accent-soft sm:size-10`,children:(0,Q.jsx)(Xie,{name:e.icon})}),(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`div`,{className:`text-sm font-medium leading-snug text-fg sm:text-[0.9375rem]`,children:e.title}),(0,Q.jsx)(`div`,{className:`mt-0.5 text-xs leading-snug text-fg-muted sm:text-sm`,children:e.description})]})]},e.id)},t[15]=a,t[16]=o,t[17]=e):e=t[17],h=i.categories.map(e),t[11]=a,t[12]=i.categories,t[13]=o,t[14]=h}else h=t[14];let g;t[18]===h?g=t[19]:(g=(0,Q.jsx)(`div`,{className:`mt-10 grid w-full grid-cols-1 gap-2 sm:mt-12 sm:grid-cols-2 sm:gap-2.5 lg:grid-cols-4`,children:h}),t[18]=h,t[19]=g);let _;t[20]!==r||t[21]!==a||t[22]!==l?(_=l&&l.scenarios.length>0?(0,Q.jsx)(`div`,{id:a,role:`region`,"aria-label":l.title,className:`flex flex-col gap-1.5 rounded-xl border border-edge bg-surface-base/80 p-2.5 dark:bg-surface-hover/20`,children:(0,Q.jsx)(`ul`,{className:`flex flex-col gap-1`,children:l.scenarios.map(e=>(0,Q.jsx)(`li`,{children:(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>r(e.prompt),className:u(`flex w-full gap-2 rounded-lg border border-transparent px-2 py-1.5 text-left text-sm leading-snug text-fg`,$.transition,$.press,$.focusRingPanel,`hover:border-edge hover:bg-surface-panel dark:hover:bg-surface-panel/40`),children:[(0,Q.jsx)(zb,{className:`mt-0.5 size-4 shrink-0 text-accent-fg`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 text-pretty`,children:e.prompt})]})},e.prompt))})}):null,t[20]=r,t[21]=a,t[22]=l,t[23]=_):_=t[23];let v;return t[24]!==m||t[25]!==g||t[26]!==_?(v=(0,Q.jsxs)(`div`,{className:`flex flex-col gap-3.5 pb-2 sm:gap-4 sm:pb-3`,children:[m,g,_]}),t[24]=m,t[25]=g,t[26]=_,t[27]=v):v=t[27],v});function Qie(e){let t=[];for(let n of e.content??[])(n.type===`thinking`||n.type===`tool_use`)&&t.push(n);return t.length>0?t:[]}function $ie(e,t){switch(e){case`pdf`:return t.attachmentPreviewPdf;case`docx`:return t.attachmentPreviewDocument;case`pptx`:return t.attachmentPreviewPresentation;case`spreadsheet`:return t.attachmentPreviewSpreadsheet;default:return``}}function y5({open:e,attachment:t,authToken:n,sessionKey:r,onClose:i}){let a=v(e=>e.language),o=m(a).chat,s=IY({open:e,attachment:t,authToken:n,sessionKey:r,language:a}),c=DY(s.descriptor),{rootRef:l,active:d,enter:f,exit:p}=K0(),{preview:h,fileType:g,hasExtractedText:_,showExtractedText:y}=s,b=g!==`image`&&g!==`text`&&g!==`pptx`&&_,x=!!(h&&!s.loading&&!s.loadError),S=()=>{p(),i()},C=()=>{if(!h)return;let e=h.mimeType||`application/octet-stream`,t=null;if(s.binaryBuffer)t=new Blob([s.binaryBuffer],{type:e});else{let n=VB(h);if(!n)return;try{let r=atob(n.replace(/\s/g,``)),i=new Uint8Array(r.length);for(let e=0;e<r.length;e++)i[e]=r.charCodeAt(e);t=new Blob([i],{type:e})}catch{return}}let n=URL.createObjectURL(t),r=document.createElement(`a`);r.href=n,r.download=h.name??`download`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)},w=!!(s.binaryBuffer||VB(h??{})),T={onDownload:C,canDownload:w},E=u(`min-h-0 min-w-0 flex-1 cursor-pointer border-0 p-0`,`bg-surface-base transition-colors`,`hover:bg-surface-hover/90 dark:bg-black/60 dark:hover:bg-black/70`,$.focusRingBase);return(0,Q.jsx)(KL,{open:e,onOpenChange:e=>!e&&S(),children:(0,Q.jsx)(qL,{children:(0,Q.jsxs)(YL,{className:u(`xopc-dialog-content-fullscreen fixed inset-0 z-[81] flex h-[100dvh] w-full flex-row overflow-hidden`,`border-0 bg-transparent p-0 shadow-none outline-none`),children:[(0,Q.jsx)(`button`,{type:`button`,className:E,onClick:S,"aria-label":o.attachmentPreviewClose}),(0,Q.jsxs)(`div`,{ref:l,className:u(`flex h-full min-h-0 w-[min(100%,var(--max-width-app-main))] shrink-0 flex-col overflow-hidden`,`bg-surface-panel sm:border-x sm:border-edge dark:sm:border-edge`,`shadow-float dark:shadow-elevated`),children:[(0,Q.jsxs)(`div`,{className:u(`flex shrink-0 items-start gap-2 border-b border-edge px-4 py-2 dark:border-edge`,GF),children:[(0,Q.jsx)(XL,{className:`min-w-0 flex-1 truncate text-sm font-semibold text-fg`,children:h?.name??``}),(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[b?(0,Q.jsxs)(`div`,{className:`mr-2 flex rounded-lg border border-edge p-0.5 dark:border-edge`,role:`group`,"aria-label":o.attachmentPreviewText,children:[(0,Q.jsx)(`button`,{type:`button`,className:`rounded-md px-2.5 py-1 text-xs font-medium ${y?`text-fg-muted hover:text-fg`:`bg-surface-hover text-fg`}`,onClick:()=>{s.setShowExtractedText(!1),s.clearLoadError()},children:$ie(g,o)}),(0,Q.jsx)(`button`,{type:`button`,className:`rounded-md px-2.5 py-1 text-xs font-medium ${y?`bg-surface-hover text-fg`:`text-fg-muted hover:text-fg`}`,onClick:()=>{s.setShowExtractedText(!0),s.clearLoadError()},children:o.attachmentPreviewText})]}):null,h?(0,Q.jsx)(jY,{controller:c,actions:T}):null,x?(0,Q.jsx)(`button`,{type:`button`,className:`rounded-md p-2 text-fg-muted hover:bg-surface-hover hover:text-fg`,title:d?o.attachmentPreviewExitFullscreen:o.attachmentPreviewFullscreen,"aria-label":d?o.attachmentPreviewExitFullscreen:o.attachmentPreviewFullscreen,onClick:()=>void(d?p():f()),children:d?(0,Q.jsx)(mx,{className:`size-4`}):(0,Q.jsx)(yb,{className:`size-4`})}):null,(0,Q.jsx)(QL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:`rounded-md p-2 text-fg-muted hover:bg-surface-hover hover:text-fg`,title:o.attachmentPreviewClose,"aria-label":o.attachmentPreviewClose,children:(0,Q.jsx)(ZN,{className:`size-4`})})})]})]}),(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden px-4 pb-4 pt-2 sm:px-8`,children:h?(0,Q.jsx)(MY,{language:a,descriptor:s.descriptor,loading:s.loading,loadError:s.loadError,textContent:s.textContent,binaryBuffer:s.binaryBuffer,showExtractedText:s.showExtractedText,extractedText:s.extractedText,extractedTextTruncated:s.extractedTextTruncated,actions:{onDownload:C,canDownload:w},controller:c,renderToolbar:()=>null}):null})]}),(0,Q.jsx)(`button`,{type:`button`,className:E,onClick:S,"aria-label":o.attachmentPreviewClose})]})})})}function eae(e,t){let n=t?.split(`;`)[0]?.trim();return!n?.startsWith(`image/`)||e.type===n?e:new Blob([e],{type:n})}function tae(e,t){let n=(0,Z.c)(22),r;n[0]!==e.mimeType||n[1]!==e.type?(r=e.type===`image`||e.mimeType?.startsWith(`image/`)===!0,n[0]=e.mimeType,n[1]=e.type,n[2]=r):r=n[2];let i=r,a;n[3]!==e||n[4]!==i?(a=i?VB(e):void 0,n[3]=e,n[4]=i,n[5]=a):a=n[5];let o=a,s;bb0:{if(!o){s=void 0;break bb0}let t=e.mimeType?.startsWith(`image/`)?e.mimeType:`image/png`,r;n[6]!==o||n[7]!==t?(r=GB(t,o),n[6]=o,n[7]=t,n[8]=r):r=n[8],s=r}let c=s,[l,u]=(0,Y.useState)(),d;n[9]!==e.mimeType||n[10]!==e.uri||n[11]!==c||n[12]!==i||n[13]!==t.authToken||n[14]!==t.sessionKey?(d=()=>{if(c||!e.uri||!i){u(void 0);return}if(!String(t.authToken??``).trim()){u(void 0);return}let n,r=!1;return(async()=>{let i=await GW({uri:e.uri,sessionKey:t.sessionKey});if(!i.ok||r)return;let a=URL.createObjectURL(eae(i.blob,e.mimeType));n=a,u(a)})(),()=>{r=!0,n&&URL.revokeObjectURL(n)}},n[9]=e.mimeType,n[10]=e.uri,n[11]=c,n[12]=i,n[13]=t.authToken,n[14]=t.sessionKey,n[15]=d):d=n[15];let f;return n[16]!==e.uri||n[17]!==c||n[18]!==i||n[19]!==t.authToken||n[20]!==t.sessionKey?(f=[c,e.uri,i,t.authToken,t.sessionKey],n[16]=e.uri,n[17]=c,n[18]=i,n[19]=t.authToken,n[20]=t.sessionKey,n[21]=f):f=n[21],(0,Y.useEffect)(d,f),c??l??``}function b5(e){let t=(0,Z.c)(43),{attachment:n,authToken:r,sessionKey:i,showDelete:a,onDelete:o,imageSize:s,compact:c,gridCellFill:l,className:d,overflowLabel:f,onOpen:p}=e,h=a===void 0?!1:a,g=s===void 0?`thumbnail`:s,_=c===void 0?!1:c,y=v(nae),b;t[0]===y?b=t[1]:(b=m(y),t[0]=y,t[1]=b);let x=b,S=(0,Y.useId)(),C;t[2]!==n.mimeType||t[3]!==n.type?(C=n.mimeType?.startsWith(`image/`)||n.type===`image`,t[2]=n.mimeType,t[3]=n.type,t[4]=C):C=t[4];let w=C,T;t[5]!==r||t[6]!==i?(T={authToken:r,sessionKey:i},t[5]=r,t[6]=i,t[7]=T):T=t[7];let E=tae(n,T),D=w&&!!E,O;t[8]===n?O=t[9]:(O=!!n.uri&&!VB(n),t[8]=n,t[9]=O);let k=O,A;t[10]!==r||t[11]!==k?(A=k&&!String(r??``).trim(),t[10]=r,t[11]=k,t[12]=A):A=t[12];let j=A,M=n.mimeType===`application/pdf`,N;t[13]!==n.mimeType||t[14]!==n.name?(N=n.mimeType?.includes(`spreadsheetml`)||n.name?.toLowerCase().endsWith(`.xlsx`)||n.name?.toLowerCase().endsWith(`.xls`),t[13]=n.mimeType,t[14]=n.name,t[15]=N):N=t[15];let P=N,F=n.name??`file`,I=j?`${F} — ${x.chat.attachmentPreviewMissingAuth}`:F,L=x.chat.attachmentPreviewMissingAuth,R=g===`single`?_?`max-h-28 w-full max-w-[9rem] object-contain`:`max-h-36 w-full max-w-44 object-contain`:g===`grid-cell`?`size-full object-cover`:`max-h-16 w-full object-cover`,z=g===`single`?_?`max-w-[9rem]`:`max-w-44`:g===`grid-cell`?`min-h-0 w-full`:`max-w-[10rem]`,B=g===`grid-cell`?`relative block aspect-square w-full min-w-0 overflow-hidden rounded-md border border-edge dark:border-edge`:`block w-full overflow-hidden rounded-md border border-edge dark:border-edge`,V=g===`grid-cell`?`w-full min-h-0`:`inline-block`,H;t[16]!==d||t[17]!==V?(H=u(`group relative min-w-0`,V,d),t[16]=d,t[17]=V,t[18]=H):H=t[18];let U;t[19]!==n||t[20]!==F||t[21]!==B||t[22]!==R||t[23]!==z||t[24]!==P||t[25]!==M||t[26]!==I||t[27]!==S||t[28]!==L||t[29]!==p||t[30]!==f||t[31]!==D||t[32]!==j||t[33]!==E?(U=D?(0,Q.jsxs)(`div`,{className:z,children:[(0,Q.jsxs)(`div`,{className:`relative size-full min-h-0`,children:[(0,Q.jsxs)(`button`,{type:`button`,className:u(B,$.transition,$.press,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`),onClick:()=>p(n),title:I,"aria-label":I,"aria-describedby":j?S:void 0,children:[(0,Q.jsx)(`img`,{src:E,alt:F,className:R}),f?(0,Q.jsx)(`span`,{className:`absolute inset-0 flex items-center justify-center bg-black/55 text-lg font-semibold text-white`,children:f}):null]}),M?(0,Q.jsx)(`div`,{className:`pointer-events-none absolute bottom-1 right-1 rounded bg-black/60 px-1.5 py-0.5 text-[10px] font-semibold text-white`,"aria-hidden":!0,children:`PDF`}):null]}),j?(0,Q.jsx)(`p`,{id:S,className:`mt-1 line-clamp-2 text-[10px] leading-snug text-amber-600 dark:text-amber-500`,children:L}):null]}):(0,Q.jsx)(`div`,{className:`max-w-[14rem]`,children:(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>p(n),title:I,"aria-label":I,"aria-describedby":j?S:void 0,className:u(`flex w-full min-w-0 gap-2 rounded-md border border-edge bg-surface-hover px-2 py-1.5 text-left text-xs text-fg-muted hover:bg-surface-active dark:border-edge`,j?`items-start`:`items-center`,$.transition,$.press,$.focusRingPanel),children:[P?(0,Q.jsx)(Kg,{className:`size-8 shrink-0 text-fg-subtle`,"aria-hidden":!0}):(0,Q.jsx)(Xg,{className:`size-8 shrink-0 text-fg-subtle`,"aria-hidden":!0}),(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,Q.jsx)(`span`,{className:`block truncate text-fg`,children:F}),j?(0,Q.jsx)(`span`,{id:S,className:`mt-0.5 line-clamp-2 block text-[10px] font-normal leading-snug text-amber-600 dark:text-amber-500`,children:L}):null]})]})}),t[19]=n,t[20]=F,t[21]=B,t[22]=R,t[23]=z,t[24]=P,t[25]=M,t[26]=I,t[27]=S,t[28]=L,t[29]=p,t[30]=f,t[31]=D,t[32]=j,t[33]=E,t[34]=U):U=t[34];let W;t[35]!==x.chat.attachmentPreviewRemove||t[36]!==o||t[37]!==h?(W=h?(0,Q.jsx)(`button`,{type:`button`,className:u(`absolute -right-1 -top-1 flex size-5 items-center justify-center rounded-full border border-edge bg-surface-panel text-fg-muted shadow-surface hover:text-fg dark:border-edge`,$.transition,$.press,$.focusRingPanel),onClick:e=>{e.stopPropagation(),o?.()},title:x.chat.attachmentPreviewRemove,"aria-label":x.chat.attachmentPreviewRemove,children:(0,Q.jsx)(ZN,{className:`size-3`})}):null,t[35]=x.chat.attachmentPreviewRemove,t[36]=o,t[37]=h,t[38]=W):W=t[38];let G;return t[39]!==H||t[40]!==U||t[41]!==W?(G=(0,Q.jsxs)(`div`,{className:H,children:[U,W]}),t[39]=H,t[40]=U,t[41]=W,t[42]=G):G=t[42],G}function nae(e){return e.language}function rae(e){return typeof e==`number`&&Number.isFinite(e)&&e>0&&e!==1/0}function x5(e){if(!Number.isFinite(e)||e<0)return`0:00`;let t=Math.floor(e%60);return`${Math.floor(e/60)}:${t.toString().padStart(2,`0`)}`}function iae(e){return e.type===`voice`||e.type===`audio`||e.mimeType?.startsWith(`audio/`)===!0}function aae({att:e,align:t=`start`,variant:n=`default`,sessionKey:r}){let i=m(v(e=>e.language)),a=(0,Y.useRef)(null),[o,s]=(0,Y.useState)(),[c,l]=(0,Y.useState)(!1),d=(0,Y.useMemo)(()=>{let t=e.durationSeconds;return typeof t==`number`&&Number.isFinite(t)&&t>0?t:0},[e.durationSeconds]),[f,p]=(0,Y.useState)(d),h=(0,Y.useRef)(d);h.current!==d&&(h.current=d,p(d));let[g,_]=(0,Y.useState)(0),y=(0,Y.useCallback)(()=>{let e=a.current;if(!e)return;let t=e.duration;rae(t)&&p(t)},[]),b=`${e.uri??``}:${e.content?.length??0}:${e.mimeType??``}`,x=(0,Y.useRef)(b);x.current!==b&&(x.current=b,_(0),l(!1)),(0,Y.useEffect)(()=>{let t,n=!1;return(async()=>{let i=e.content??e.data;if(i){s(`data:${e.mimeType?.includes(`/`)?e.mimeType:`audio/mpeg`};base64,${i.replace(/\s/g,``)}`);return}if(e.uri)try{let i=await k(T(BB(e.uri,r)));if(!i.ok||n)return;let a=await i.blob(),o=URL.createObjectURL(a);t=o,s(o)}catch{}})(),()=>{n=!0,t&&URL.revokeObjectURL(t)}},[e,r]);let S=(0,Y.useCallback)(()=>{let e=a.current;!e||!o||(c?e.pause():e.play().catch(()=>{}))},[c,o]);if(!iae(e))return null;let C=f>0?Math.min(100,Number.isFinite(f)?g/f*100:0):0,w=typeof f==`number`&&f>0&&Number.isFinite(f),E=!!(o&&!w),D=o?(0,Q.jsxs)(`span`,{className:`tabular-nums tracking-tight text-fg-muted`,"aria-live":`polite`,children:[(0,Q.jsx)(`span`,{children:x5(g)}),(0,Q.jsx)(`span`,{className:`mx-0.5 text-fg-subtle`,children:`/`}),w?(0,Q.jsx)(`span`,{children:x5(f)}):(0,Q.jsx)(`span`,{className:`text-fg-subtle`,title:i.chat.voiceAwaitingMeta,children:`—`})]}):(0,Q.jsx)(`span`,{className:`tabular-nums tracking-tight text-fg-subtle`,children:`— / —`}),O=o?(0,Q.jsx)(`audio`,{ref:a,src:o,preload:`metadata`,className:`hidden`,onLoadedMetadata:y,onLoadedData:y,onDurationChange:y,onTimeUpdate:e=>_(e.currentTarget.currentTime),onPlay:()=>l(!0),onPause:()=>l(!1),onEnded:()=>{l(!1),_(0)}}):(0,Q.jsx)(`span`,{className:`sr-only`,children:i.chat.voiceLoading}),A=(0,Q.jsx)(`button`,{type:`button`,onClick:S,disabled:!o,className:u(`flex size-8 shrink-0 items-center justify-center rounded-full border text-accent-fg`,`border-edge-subtle bg-surface-panel transition-colors`,`hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,`motion-safe:active:scale-[0.97]`,`dark:bg-surface-panel/90 dark:border-edge`,n===`compact`&&u(`border-white/55 bg-white/92 shadow-[inset_0_1px_0_rgb(255_255_255/0.65)]`,`dark:border-white/14 dark:bg-surface-hover/98 dark:shadow-none`),!o&&`opacity-50`),"aria-label":c?i.chat.voicePause:i.chat.voicePlay,title:c?i.chat.voicePause:i.chat.voicePlay,children:c?(0,Q.jsx)(SC,{className:`size-[14px]`,strokeWidth:2}):(0,Q.jsx)(lw,{className:`size-[14px] ml-px`,strokeWidth:2})}),j=u(`relative h-0.5 min-h-[2px] w-full overflow-hidden rounded-full bg-edge-subtle dark:bg-edge/65`,n===`compact`&&`bg-white/45 dark:bg-white/14`),M=u(`inline-flex min-w-0 items-center rounded-full border`,n===`compact`?`max-w-[min(220px,88vw)] gap-2 px-2 py-1.5 backdrop-blur-[2px]`:`min-w-[min(160px,80vw)] max-w-[17rem] gap-2 px-2 py-1.5`,n===`compact`?`border-white/58 bg-white/86 shadow-none dark:border-white/13 dark:bg-black/[0.22] dark:backdrop-blur-sm`:`border-edge-subtle bg-surface-panel/[0.96] shadow-surface dark:border-edge dark:bg-surface-panel/92`),N=`${i.chat.voiceAriaRegion}${e.name?` · ${e.name}`:``}`;return(0,Q.jsx)(`div`,{className:u(`flex min-w-0`,t===`end`&&`justify-end`,t===`center`&&`justify-center`),children:(0,Q.jsxs)(`div`,{role:`group`,"aria-label":N,className:M,children:[A,(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col justify-center gap-1 py-px`,children:[n==="default"?(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5 text-[11px] leading-snug tracking-tight text-fg-muted`,children:[(0,Q.jsx)(sx,{className:`size-3 shrink-0 opacity-90 text-fg-subtle`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`truncate font-normal`,children:i.chat.voiceMessage})]}):(0,Q.jsx)(`span`,{className:`sr-only`,children:i.chat.voiceMessage}),(0,Q.jsx)(`div`,{className:j,"aria-hidden":!0,children:o?E?(0,Q.jsx)(`span`,{className:u(`absolute inset-y-0 left-[18%] w-[42%] max-w-[4.5rem] rounded-full bg-accent/45 motion-safe:animate-pulse`)}):(0,Q.jsx)(`div`,{className:u(`h-full rounded-full bg-accent motion-safe:transition-[width] motion-safe:duration-150 motion-safe:ease-linear`),style:{width:`${C}%`}}):null}),(0,Q.jsx)(`div`,{className:u(`flex justify-end text-[10px] leading-snug tracking-tight text-fg-muted`),children:D})]}),O]})})}function S5(e){return e.type===`voice`||e.type===`audio`||e.mimeType?.startsWith(`audio/`)===!0}var C5=9;function oae(e,t){let n=t?`max-w-[11rem]`:`max-w-52`,r=`gap-1`;return e===1?{container:`grid grid-cols-1 ${n} ${r}`,tileSize:`single`}:e===2?{container:`grid grid-cols-2 ${n} ${r}`,tileSize:`grid-cell`}:e===3?{container:`grid grid-cols-3 ${n} ${r}`,tileSize:`grid-cell`}:e===4?{container:`grid grid-cols-2 ${n} ${r}`,tileSize:`grid-cell`}:e<=C5?{container:`grid grid-cols-3 ${n} ${r}`,tileSize:`grid-cell`}:{container:`grid grid-cols-3 ${n} ${r}`,tileSize:`grid-cell`,overflowCount:e-(C5-1)}}function w5(e){let t=(0,Z.c)(23),{attachments:n,authToken:r,sessionKey:i,layout:a,centerUserVoiceRow:o}=e,s=a===void 0?`assistant`:a,c=o===void 0?!1:o,[l,d]=(0,Y.useState)(!1),[f,p]=(0,Y.useState)(null);if(!n?.length)return null;let m,h,g,_;if(t[0]!==n||t[1]!==r||t[2]!==c||t[3]!==s||t[4]!==i){let e=n.filter(cae),a=n.filter(S5),o=n.filter(sae);m=`flex flex-col gap-2`,h=e.length>0?(()=>{let t=oae(e.length,s===`user`),n=t.overflowCount==null?e:e.slice(0,C5-1);return(0,Q.jsxs)(`div`,{className:u(`w-full min-w-0`,t.container),children:[n.map((e,n)=>(0,Q.jsx)(b5,{attachment:e,authToken:r,sessionKey:i,imageSize:t.tileSize,compact:s===`user`,onOpen:e=>{p(e),d(!0)}},e.id??`${e.name}-${n}`)),t.overflowCount==null?null:(0,Q.jsx)(b5,{attachment:e[C5-1],authToken:r,sessionKey:i,imageSize:`grid-cell`,compact:s===`user`,gridCellFill:`square`,overflowLabel:`+${t.overflowCount}`,onOpen:e=>{p(e),d(!0)}},e[C5-1]?.id??`overflow-${C5-1}`)]})})():null,g=a.length>0?(0,Q.jsx)(`div`,{className:u(`flex flex-col gap-2`,s===`user`&&(c?`items-center`:`items-end`)),children:a.map((e,t)=>(0,Q.jsx)(aae,{att:e,sessionKey:i,align:s===`user`?c?`center`:`end`:`start`,variant:s===`user`?`compact`:`default`},e.id??`${e.name}-${t}`))}):null,_=o.length>0?(0,Q.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:o.map((e,t)=>(0,Q.jsx)(b5,{attachment:e,authToken:r,sessionKey:i,onOpen:e=>{p(e),d(!0)}},e.id??`${e.name}-${t}`))}):null,t[0]=n,t[1]=r,t[2]=c,t[3]=s,t[4]=i,t[5]=m,t[6]=h,t[7]=g,t[8]=_}else m=t[5],h=t[6],g=t[7],_=t[8];let v;t[9]!==m||t[10]!==h||t[11]!==g||t[12]!==_?(v=(0,Q.jsxs)(`div`,{className:m,children:[h,g,_]}),t[9]=m,t[10]=h,t[11]=g,t[12]=_,t[13]=v):v=t[13];let y;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(y=()=>{d(!1),p(null)},t[14]=y):y=t[14];let b;t[15]!==f||t[16]!==r||t[17]!==l||t[18]!==i?(b=(0,Q.jsx)(y5,{open:l,attachment:f,authToken:r,sessionKey:i,onClose:y}),t[15]=f,t[16]=r,t[17]=l,t[18]=i,t[19]=b):b=t[19];let x;return t[20]!==v||t[21]!==b?(x=(0,Q.jsxs)(Q.Fragment,{children:[v,b]}),t[20]=v,t[21]=b,t[22]=x):x=t[22],x}function sae(e){return e.type!==`image`&&!e.mimeType?.startsWith(`image/`)&&!S5(e)}function cae(e){return e.type===`image`||e.mimeType?.startsWith(`image/`)}function lae(e){let t=[];for(let n of e)if(!(!n.name.toLowerCase().includes(`search`)||n.result==null))try{let e=typeof n.result==`string`?JSON.parse(n.result):n.result,r=Array.isArray(e)?e:e?.results??[];for(let e of r)e.url&&t.push({url:e.url,title:e.title??e.url,snippet:e.snippet})}catch{}return t}function uae(e){let t=(0,Z.c)(16),{blocks:n}=e,r=v(pae),i,a,o,s,c;if(t[0]!==n||t[1]!==r){c=Symbol.for(`react.early_return_sentinel`);bb0:{let e=m(r),l=lae(n.filter(fae));if(l.length===0){c=null;break bb0}o=`mt-6`;let u=e.chat.searchSourcesHeading.replace(`{{count}}`,String(l.length));t[7]===u?s=t[8]:(s=(0,Q.jsx)(`p`,{className:`mb-3 text-xs font-medium text-fg-muted`,children:u}),t[7]=u,t[8]=s),i=`space-y-3`,a=l.map(dae)}t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c}else i=t[2],a=t[3],o=t[4],s=t[5],c=t[6];if(c!==Symbol.for(`react.early_return_sentinel`))return c;let l;t[9]!==i||t[10]!==a?(l=(0,Q.jsx)(`ol`,{className:i,children:a}),t[9]=i,t[10]=a,t[11]=l):l=t[11];let u;return t[12]!==o||t[13]!==s||t[14]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[12]=o,t[13]=s,t[14]=l,t[15]=u):u=t[15],u}function dae(e,t){let n=(()=>{try{return new URL(e.url).hostname}catch{return``}})(),r=n?`https://www.google.com/s2/favicons?domain=${n}&sz=16`:void 0;return(0,Q.jsxs)(`li`,{className:`flex min-w-0 gap-2.5`,children:[(0,Q.jsxs)(`span`,{className:`mt-0.5 shrink-0 text-xs text-fg-disabled`,children:[t+1,`.`]}),(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-start gap-1.5`,children:[r?(0,Q.jsx)(`img`,{src:r,alt:``,className:`mt-0.5 size-3.5 shrink-0 rounded-sm`,"aria-hidden":!0}):null,(0,Q.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:`min-w-0 flex-1 break-words text-xs font-medium text-accent-fg [overflow-wrap:anywhere] hover:underline`,children:e.title})]}),e.snippet?(0,Q.jsx)(`p`,{className:`mt-0.5 line-clamp-4 text-xs break-words text-fg-muted [overflow-wrap:anywhere]`,children:e.snippet}):null]})]},e.url)}function fae(e){return e.type===`tool_use`}function pae(e){return e.language}var mae=String.raw`png|jpe?g|gif|webp|bmp|svg|pdf|docx?|xlsx?|pptx?|txt|md|json|html?|css|mjs?|cjs|js|ts|mp3|wav|ogg|m4a|mp4|mov|webm`;function T5(){return`(?:${mae})`}var hae=RegExp(`(/[^\\s"'"<>|*?\\n]+?\\.(?:${T5()}))`,`gi`),gae=RegExp(`([A-Za-z]:[\\\\/][^"'\`<>*?\\n|=]+?\\.(?:${T5()}))`,`gi`),_ae={png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,gif:`image/gif`,webp:`image/webp`,bmp:`image/bmp`,svg:`image/svg+xml`,pdf:`application/pdf`,doc:`application/msword`,docx:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`,xls:`application/vnd.ms-excel`,xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,ppt:`application/vnd.ms-powerpoint`,pptx:`application/vnd.openxmlformats-officedocument.presentationml.presentation`,txt:`text/plain`,md:`text/markdown`,json:`application/json`,html:`text/html`,htm:`text/html`,css:`text/css`,mjs:`text/javascript`,cjs:`text/javascript`,js:`text/javascript`,ts:`text/typescript`,mp3:`audio/mpeg`,wav:`audio/wav`,ogg:`audio/ogg`,m4a:`audio/mp4`,mp4:`video/mp4`,mov:`video/quicktime`,webm:`video/webm`};function E5(e){let t=e.lastIndexOf(`.`);return t<0?`application/octet-stream`:_ae[e.slice(t+1).toLowerCase()]??`application/octet-stream`}function D5(e){return e.startsWith(`image/`)}function O5(e){let t=e.trim();if(t.length<4||t.startsWith(`//`)&&!t.startsWith(`//Users`)||t.startsWith(`http:`)||t.startsWith(`https:`)||t.startsWith(`data:`)||t.startsWith(`file://`))return!1;if(t.startsWith(`/`))return/^\/(?:Users|usr|var|opt|tmp|home|root|System|private|dev|media|mnt|Volumes|data)(?:\/|[\s]|$)/i.test(t);if(/^[A-Za-z]:[\\/]/.test(t)){let e=t.replace(/\\/g,`/`);return!/^[A-Za-z]:\/{2,}/.test(e)}return!!t.startsWith(`\\\\`)}function k5(e){let t=e.replace(/\\/g,`/`).split(`/`).filter(Boolean);return t[t.length-1]||e}function A5(e){let t=e.trim();return t.includes(`
|
|
95
|
+
`)||t.includes(`\r`)?t:t.replace(/^(?:File written|File edited)\s*:\s*/i,``).replace(/^Saved\s*:\s*/i,``).trim()}function j5(e){let t=e.trim();if(t.includes(`
|
|
96
|
+
`)||t.includes(`\r`))return t;let n=t.match(/^[fd?] (.+)$/);return n?n[1].trim():t}function M5(e,t,n,r,i){let a=e.trim();if(!a||!O5(a)||!/\.(png|jpe?g|gif|webp|bmp|svg|pdf|docx?|xlsx?|pptx?|txt|md|json|html?|css|mjs?|cjs|js|ts|mp3|wav|ogg|m4a|mp4|mov|webm)$/i.test(a))return;let o=k5(a);t.push({absolutePath:a,fileName:o,mimeType:E5(o),startIndex:r,endIndex:i})}var vae=new Set([`SOUL.md`,`IDENTITY.md`,`USER.md`,`TOOLS.md`,`AGENTS.md`,`HEARTBEAT.md`,`MEMORY.md`].map(e=>e.toLowerCase()));function yae(e){let t=k5(e.replace(/\\/g,`/`));return!t||t===`.`||t===`..`?!1:vae.has(t.toLowerCase())}function bae(e){let t=e.trim();return t.includes(`
|
|
97
|
+
`)||t.includes(`\r`)?!1:/^[fd?] .+$/i.test(t)}function N5(e){let t=e.trim().replace(/\\/g,`/`);return t.length<4||t.includes(`..`)||t.startsWith(`/`)||/^[A-Za-z]:/i.test(t)||t.startsWith(`\\\\`)||/^[a-z][a-z0-9+.-]*:/i.test(t)||yae(t)?!1:/\.(png|jpe?g|gif|webp|bmp|svg|pdf|docx?|xlsx?|pptx?|txt|md|json|html?|css|mjs?|cjs|js|ts|mp3|wav|ogg|m4a|mp4|mov|webm)$/i.test(t)}function P5(e,t,n){let r=j5(A5(e)).trim().replace(/\\/g,`/`);if(!N5(r))return;let i=k5(r);t.push({absolutePath:`rel:${r}`,fileName:i,mimeType:E5(i),workspaceRelativePath:r,startIndex:0,endIndex:0})}function F5(e,t,n){if(typeof e==`string`){if(bae(e)){let r=j5(A5(e)).trim().replace(/\\/g,`/`);if(O5(r)&&/\.[a-z0-9]+$/i.test(r)){let i=n.indexOf(e);i>=0?M5(r,t,n,i,i+e.length):M5(r,t,n,0,0)}return}let r=j5(A5(e)).trim().replace(/\\/g,`/`);if(O5(r)&&/\.[a-z0-9]+$/i.test(r)){let i=n.indexOf(e);i>=0?M5(r,t,n,i,i+e.length):M5(r,t,n,0,0);return}let i=t.length;if(I5(r,t),t.length>i)return;N5(r)&&P5(e,t,n);return}if(Array.isArray(e)){for(let r of e)F5(r,t,n);return}if(e&&typeof e==`object`){let r=e,i=r.workspaceRelativePaths,a=Array.isArray(i)&&i.length>0&&i.every(e=>typeof e==`string`);if(a)for(let e of i)P5(e,t,n);for(let[e,i]of Object.entries(r))a&&e===`paths`||F5(i,t,n)}}function I5(e,t){for(let n of[hae,gae]){n.lastIndex=0;let r;for(;(r=n.exec(e))!==null;){let n=r[1];if(n){let i=r.indices?.[1]?.[0]??r.index??0;M5(n,t,e,i,i+n.length)}}}}function xae(){return`(?:[A-Za-z0-9_.-]+\\/)*[A-Za-z0-9_.-]+\\.(?:${T5()})`}function Sae(e){let t=`(${xae()})`,n=[RegExp(`\\*\\*${t}\\*\\*`,`gi`),RegExp("`"+t+"`",`gi`),RegExp(`\\]\\(${t}\\)`,`gi`)],r=[];for(let t of n){t.lastIndex=0;let n;for(;(n=t.exec(e))!==null;){let t=n[1]?.trim().replace(/^<|>$/g,``);if(t)try{P5(decodeURIComponent(t),r,e)}catch{P5(t,r,e)}}}let i=new Set;return r.reduce((e,t)=>{let n=t.workspaceRelativePath??t.absolutePath;return i.has(n)?e:(i.add(n),e.push({...t,origin:`assistant-markdown`}),e)},[])}function L5(e,t){let n=e.trim().replace(/\\/g,`/`),r=t.trim().replace(/\\/g,`/`).replace(/^\/+/,``);return!r||n.length<r.length?!1:n===r||n.endsWith(`/${r}`)}function Cae(e){let t=e.map(e=>e.workspaceRelativePath).filter(e=>!!e);return t.length===0?e:e.filter(e=>e.workspaceRelativePath||!O5(e.absolutePath)?!0:!t.some(t=>L5(e.absolutePath,t)))}function R5(e){let t=[];if(!e?.trim())return[];try{F5(JSON.parse(e),t,e)}catch{}t.some(e=>e.workspaceRelativePath)||I5(e,t);let n=Cae(t),r=new Set;return n.reduce((e,t)=>{let n=t.absolutePath;return r.has(n)?e:(r.add(n),e.push({...t,origin:`tool-result`}),e)},[])}function wae({workspaceRel:e,sessionKey:t,onOpen:n,className:r}){let[i,a]=(0,Y.useState)(null);return(0,Y.useEffect)(()=>{let n=null,r=!1;return(async()=>{try{let i=await EW(e,{sessionKey:t?.trim()||void 0});if(r)return;let o=URL.createObjectURL(i);n=o,a(o)}catch{r||a(null)}})(),()=>{r=!0,n&&URL.revokeObjectURL(n)}},[e,t]),i?(0,Q.jsxs)(`button`,{type:`button`,onClick:n,className:u(`group relative size-20 overflow-hidden rounded-lg border border-edge-subtle text-left`,$.press,$.focusRingPanel,`hover:border-accent`,r),title:e,"aria-label":e,children:[(0,Q.jsx)(`img`,{src:i,className:`size-full object-cover`,alt:``}),(0,Q.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center bg-black/0 transition-colors group-hover:bg-black/25`,children:(0,Q.jsx)($h,{className:`size-4 text-white opacity-0 transition-opacity group-hover:opacity-100`,strokeWidth:1.75})})]}):null}function z5(e){let t=(0,Z.c)(10),{icon:n,label:r,copiedLabel:i,onClick:a,copied:o}=e,s=i??r,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c=u(`inline-flex items-center gap-1 rounded-md px-1.5 py-0.5 text-[11px] text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel,$.press),t[0]=c):c=t[0];let l;t[1]!==o||t[2]!==n?(l=o?(0,Q.jsx)(gd,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}):n,t[1]=o,t[2]=n,t[3]=l):l=t[3];let d=o?s:r,f;t[4]===d?f=t[5]:(f=(0,Q.jsx)(`span`,{children:d}),t[4]=d,t[5]=f);let p;return t[6]!==a||t[7]!==l||t[8]!==f?(p=(0,Q.jsxs)(`button`,{type:`button`,onClick:a,className:c,children:[l,f]}),t[6]=a,t[7]=l,t[8]=f,t[9]=p):p=t[9],p}function Tae(e){return e===`external`||e===`agent-profile`||e===`session-artifact`}function Eae(e,t){return e?t.locationKind[e]??t.externalBadge:t.externalBadge}function Dae(e){let t=(0,Z.c)(71),{path:n,refInfo:r,sessionKey:i,onImported:a}=e,o=Dr(),s=m(v(Oae)).chat,c=s.fileReference,l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=dI()&&!!window.electronAPI?.shell,t[0]=l):l=t[0];let d=l,f=r.absolutePath??n.absolutePath,[p,h]=(0,Y.useState)(!1),g;t[1]!==d||t[2]!==r.fileRefId||t[3]!==i?(g=async e=>{if(!r.fileRefId||!d)return;let t=await TW(r.fileRefId,e,{sessionKey:i?.trim()||void 0});t&&(e===`openExternal`?await window.electronAPI?.shell?.openPath(t.absolutePath):await window.electronAPI?.shell?.showItemInFolder(t.absolutePath))},t[1]=d,t[2]=r.fileRefId,t[3]=i,t[4]=g):g=t[4];let _=g,y;t[5]===f?y=t[6]:(y=()=>{GP(f).then(e=>{e&&(h(!0),window.setTimeout(()=>h(!1),2e3))})},t[5]=f,t[6]=y);let b=y,[x,S]=(0,Y.useState)(!1),C;t[7]!==r.capabilities||t[8]!==r.fileRefId?(C=r.capabilities.includes(`importToWorkspace`)&&!!r.fileRefId,t[7]=r.capabilities,t[8]=r.fileRefId,t[9]=C):C=t[9];let w=C,T=`imports/${n.fileName||r.displayName}`,E=r.scope===`missing`,D=r.scope===`invalid`,O=Tae(r.scope)&&r.exists,k=E?c.missingDescription:D?c.invalidDescription:O?d?c.offWorkspaceBaseDescription:c.browserOffWorkspaceDescription:d?c.externalDescription:c.browserExternalDescription,A=O||r.scope===`external`||r.scope===`agent-profile`?Eae(r.locationKind,c):null,j=E||D?`border-warning/30 bg-warning/5 text-fg-muted`:`border-edge-subtle bg-surface-panel text-fg`,M;t[10]===j?M=t[11]:(M=u(`flex max-w-xl min-w-0 flex-col gap-1 rounded-lg border px-2.5 py-2 text-xs`,j),t[10]=j,t[11]=M);let N;t[12]!==D||t[13]!==E?(N=E||D?(0,Q.jsx)(Ud,{className:`size-3.5 shrink-0 text-warning`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(a_,{className:`size-3.5 shrink-0 text-accent`,strokeWidth:1.75,"aria-hidden":!0}),t[12]=D,t[13]=E,t[14]=N):N=t[14];let P=n.fileName||r.displayName,F;t[15]===P?F=t[16]:(F=(0,Q.jsx)(`span`,{className:`min-w-0 truncate font-medium`,children:P}),t[15]=P,t[16]=F);let I;t[17]===A?I=t[18]:(I=A?(0,Q.jsx)(`span`,{className:`shrink-0 rounded bg-surface-muted px-1.5 py-0.5 text-[10px] text-fg-muted`,children:A}):null,t[17]=A,t[18]=I);let L;t[19]!==I||t[20]!==N||t[21]!==F?(L=(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[N,F,I]}),t[19]=I,t[20]=N,t[21]=F,t[22]=L):L=t[22];let R;t[23]===k?R=t[24]:(R=(0,Q.jsx)(`p`,{className:`line-clamp-2 text-[11px] leading-snug text-fg-muted`,children:k}),t[23]=k,t[24]=R);let z;t[25]!==c||t[26]!==o||t[27]!==r.manageRoute?(z=r.manageRoute?(0,Q.jsx)(z5,{icon:(0,Q.jsx)(RE,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),label:c.openInSettings,onClick:()=>o(r.manageRoute)}):null,t[25]=c,t[26]=o,t[27]=r.manageRoute,t[28]=z):z=t[28];let B;t[29]!==d||t[30]!==c||t[31]!==_||t[32]!==r.capabilities?(B=d&&r.capabilities.includes(`openExternal`)?(0,Q.jsx)(z5,{icon:(0,Q.jsx)(Yh,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),label:c.openExternal,onClick:()=>void _(`openExternal`)}):null,t[29]=d,t[30]=c,t[31]=_,t[32]=r.capabilities,t[33]=B):B=t[33];let V;t[34]!==d||t[35]!==c||t[36]!==_||t[37]!==r.capabilities?(V=d&&r.capabilities.includes(`revealInFolder`)?(0,Q.jsx)(z5,{icon:(0,Q.jsx)(Z_,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),label:c.revealInFolder,onClick:()=>void _(`revealInFolder`)}):null,t[34]=d,t[35]=c,t[36]=_,t[37]=r.capabilities,t[38]=V):V=t[38];let H;t[39]!==s||t[40]!==b||t[41]!==c||t[42]!==p||t[43]!==r.capabilities?(H=r.capabilities.includes(`copyPath`)?(0,Q.jsx)(z5,{icon:(0,Q.jsx)(mm,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),label:c.copyPath,copiedLabel:s.messageCopied,copied:p,onClick:b}):null,t[39]=s,t[40]=b,t[41]=c,t[42]=p,t[43]=r.capabilities,t[44]=H):H=t[44];let U;t[45]!==w||t[46]!==c||t[47]!==S?(U=w?(0,Q.jsx)(z5,{icon:(0,Q.jsx)(Oo,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),label:c.importToWorkspace,onClick:()=>S(!0)}):null,t[45]=w,t[46]=c,t[47]=S,t[48]=U):U=t[48];let W;t[49]!==z||t[50]!==B||t[51]!==V||t[52]!==H||t[53]!==U?(W=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-1 pt-0.5`,children:[z,B,V,H,U]}),t[49]=z,t[50]=B,t[51]=V,t[52]=H,t[53]=U,t[54]=W):W=t[54];let G;t[55]!==w||t[56]!==T||t[57]!==f||t[58]!==x||t[59]!==a||t[60]!==r.fileRefId||t[61]!==i||t[62]!==S?(G=w&&x?(0,Q.jsx)(kae,{open:!0,onOpenChange:S,fileRefId:r.fileRefId,sessionKey:i,sourceLabel:f,defaultDestination:T,onImported:e=>{S(!1),a(e)}},`${r.fileRefId}:${T}`):null,t[55]=w,t[56]=T,t[57]=f,t[58]=x,t[59]=a,t[60]=r.fileRefId,t[61]=i,t[62]=S,t[63]=G):G=t[63];let K;return t[64]!==f||t[65]!==L||t[66]!==R||t[67]!==W||t[68]!==G||t[69]!==M?(K=(0,Q.jsxs)(`div`,{className:M,title:f,children:[L,R,W,G]}),t[64]=f,t[65]=L,t[66]=R,t[67]=W,t[68]=G,t[69]=M,t[70]=K):K=t[70],K}function Oae(e){return e.language}function kae(e){let t=(0,Z.c)(68),{open:n,onOpenChange:r,fileRefId:i,sessionKey:a,sourceLabel:o,defaultDestination:s,onImported:c}=e,l=v(jae),d;t[0]===l?d=t[1]:(d=m(l),t[0]=l,t[1]=d);let f=d.chat.fileReference,p=f.importErrors,[h,g]=(0,Y.useState)(s),[_,y]=(0,Y.useState)(!1),[b,x]=(0,Y.useState)(null),S;t[2]!==h||t[3]!==p||t[4]!==i||t[5]!==c||t[6]!==a?(S=async()=>{y(!0),x(null);let e=await DW(i,{sessionKey:a?.trim()||void 0,destination:h.trim()||void 0,onConflict:`rename`});if(e.ok){c(e.payload);return}y(!1);let t=p;x(t[e.error.code]??t.UNKNOWN??e.error.message)},t[2]=h,t[3]=p,t[4]=i,t[5]=c,t[6]=a,t[7]=S):S=t[7];let C=S,w;t[8]!==_||t[9]!==r?(w=e=>{_||r(e)},t[8]=_,t[9]=r,t[10]=w):w=t[10];let T;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,Q.jsx)(JL,{className:u(`xopc-dialog-overlay fixed inset-0 bg-scrim backdrop-blur-[1px]`,xZ)}),t[11]=T):T=t[11];let E;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(E=u(`fixed left-1/2 top-1/2 w-[min(100%-2rem,28rem)] -translate-x-1/2 -translate-y-1/2`,SZ,`rounded-2xl border border-edge bg-surface-panel p-6 shadow-popover outline-none dark:border-edge`),t[12]=E):E=t[12];let D;t[13]===f.importDialogTitle?D=t[14]:(D=(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:f.importDialogTitle}),t[13]=f.importDialogTitle,t[14]=D);let O;t[15]===f.importDialogSourceLabel?O=t[16]:(O=(0,Q.jsx)(`div`,{className:`text-[11px] uppercase tracking-wide text-fg-disabled`,children:f.importDialogSourceLabel}),t[15]=f.importDialogSourceLabel,t[16]=O);let k;t[17]===o?k=t[18]:(k=(0,Q.jsx)(`div`,{className:`mt-0.5 break-all font-mono text-xs text-fg-muted`,children:o}),t[17]=o,t[18]=k);let A;t[19]!==O||t[20]!==k?(A=(0,Q.jsxs)(`div`,{children:[O,k]}),t[19]=O,t[20]=k,t[21]=A):A=t[21];let j;t[22]===f.importDialogDestinationLabel?j=t[23]:(j=(0,Q.jsx)(`span`,{className:`text-[11px] uppercase tracking-wide text-fg-disabled`,children:f.importDialogDestinationLabel}),t[22]=f.importDialogDestinationLabel,t[23]=j);let M;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(M=e=>g(e.target.value),t[24]=M):M=t[24];let N=f.importDialogDestinationLabel,P;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(P=u(`mt-1 w-full rounded-md border border-edge bg-surface px-2 py-1.5 font-mono text-xs text-fg outline-none`,`focus:border-accent focus:ring-1 focus:ring-accent disabled:opacity-60`),t[25]=P):P=t[25];let F;t[26]!==_||t[27]!==h||t[28]!==f.importDialogDestinationLabel?(F=(0,Q.jsx)(`input`,{type:`text`,value:h,onChange:M,disabled:_,"aria-label":N,className:P,spellCheck:!1,autoCapitalize:`off`,autoCorrect:`off`}),t[26]=_,t[27]=h,t[28]=f.importDialogDestinationLabel,t[29]=F):F=t[29];let I;t[30]!==j||t[31]!==F?(I=(0,Q.jsxs)(`label`,{className:`block`,children:[j,F]}),t[30]=j,t[31]=F,t[32]=I):I=t[32];let L;t[33]===b?L=t[34]:(L=b?(0,Q.jsx)(`div`,{className:`rounded-md border border-danger/30 bg-danger/5 px-2 py-1.5 text-xs text-danger`,children:b}):null,t[33]=b,t[34]=L);let R;t[35]!==I||t[36]!==L||t[37]!==A?(R=(0,Q.jsxs)(`div`,{className:`mt-3 space-y-3 text-sm`,children:[A,I,L]}),t[35]=I,t[36]=L,t[37]=A,t[38]=R):R=t[38];let z;t[39]===r?z=t[40]:(z=()=>r(!1),t[39]=r,t[40]=z);let B;t[41]!==_||t[42]!==f.importDialogCancel||t[43]!==z?(B=(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,onClick:z,disabled:_,children:f.importDialogCancel}),t[41]=_,t[42]=f.importDialogCancel,t[43]=z,t[44]=B):B=t[44];let V;t[45]===C?V=t[46]:(V=()=>void C(),t[45]=C,t[46]=V);let H;t[47]!==_||t[48]!==h?(H=_||!h.trim(),t[47]=_,t[48]=h,t[49]=H):H=t[49];let U;t[50]===_?U=t[51]:(U=_?(0,Q.jsx)(Ey,{className:`size-3.5 animate-spin`,"aria-hidden":!0}):null,t[50]=_,t[51]=U);let W=_?f.importInProgress:f.importDialogConfirm,G;t[52]!==V||t[53]!==H||t[54]!==U||t[55]!==W?(G=(0,Q.jsxs)(NP,{type:`button`,variant:`secondary`,onClick:V,disabled:H,className:`inline-flex items-center gap-1.5`,children:[U,W]}),t[52]=V,t[53]=H,t[54]=U,t[55]=W,t[56]=G):G=t[56];let K;t[57]!==B||t[58]!==G?(K=(0,Q.jsxs)(`div`,{className:`mt-6 flex justify-end gap-2`,children:[B,G]}),t[57]=B,t[58]=G,t[59]=K):K=t[59];let ee;t[60]!==R||t[61]!==K||t[62]!==D?(ee=(0,Q.jsxs)(qL,{children:[T,(0,Q.jsxs)(YL,{className:E,onOpenAutoFocus:Aae,children:[D,R,K]})]}),t[60]=R,t[61]=K,t[62]=D,t[63]=ee):ee=t[63];let te;return t[64]!==n||t[65]!==ee||t[66]!==w?(te=(0,Q.jsx)(KL,{open:n,onOpenChange:w,children:ee}),t[64]=n,t[65]=ee,t[66]=w,t[67]=te):te=t[67],te}function Aae(e){return e.preventDefault()}function jae(e){return e.language}function B5(e){let t=(0,Z.c)(29),{paths:n,sessionKey:r}=e,i=_Z(Lae),a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a={},t[0]=a):a=t[0];let[o,s]=(0,Y.useState)(a),c;t[1]===n?c=t[2]:(c=n.map(Iae).join(`
|
|
98
|
+
`),t[1]=n,t[2]=c);let l=c,d;t[3]===r?d=t[4]:(d=r?.trim()||void 0,t[3]=r,t[4]=d);let f=d,p;t[5]!==n||t[6]!==f?(p=async()=>{let e={};return await Promise.all(n.map(async t=>{let n=O5(t.absolutePath),r;if(t.workspaceRelativePath){if(r=await wW(t.workspaceRelativePath,{sessionKey:f}),r&&(r.scope===`missing`||r.scope===`invalid`)&&n){let e=await wW(t.absolutePath,{sessionKey:f});e&&e.scope!==`missing`&&e.scope!==`invalid`&&(r=e)}}else r=await wW(t.absolutePath,{sessionKey:f});e[t.absolutePath]=r})),e},t[5]=n,t[6]=f,t[7]=p):p=t[7];let m;t[8]!==l||t[9]!==f?(m=[l,f],t[8]=l,t[9]=f,t[10]=m):m=t[10];let h=n.length>0,g;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(g={},t[11]=g):g=t[11];let _;t[12]===h?_=t[13]:(_={enabled:h,initial:null,errorData:g},t[12]=h,t[13]=_);let v=yR(p,m,_);if(n.length===0||v.data===null)return null;let y=v.data,b,x,S,C,w;if(t[14]!==n||t[15]!==o||t[16]!==v.data||t[17]!==r||t[18]!==i){w=Symbol.for(`react.early_return_sentinel`);bb0:{let e={...y,...o},t=n.flatMap(t=>{let n=e[t.absolutePath]??null;return!n||t.origin===`assistant-markdown`&&(n.scope===`missing`||n.scope===`invalid`)?[]:[{...t,refInfo:n}]});if(t.length===0){w=null;break bb0}let a=t.filter(Fae),c=a.filter(Pae),l=a.filter(Nae),d=t.filter(Mae);b=`mt-1.5 min-w-0 space-y-1.5`,x=c.length>0?(0,Q.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:c.map(e=>{let t=e.refInfo.workspaceRelativePath;return(0,Q.jsx)(wae,{workspaceRel:t,sessionKey:r,onOpen:()=>i(t)},e.absolutePath)})}):null,S=l.length>0?(0,Q.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:l.map(e=>{let t=e.refInfo.workspaceRelativePath;return(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>i(t),className:u(`inline-flex max-w-full items-center gap-1.5 rounded-md bg-accent-soft/40 px-2 py-1 text-left text-xs text-accent-fg`,`max-w-xs transition-colors hover:bg-accent-soft/60`,$.focusRingPanel,$.press),title:e.absolutePath,children:[(0,Q.jsx)(a_,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:e.fileName}),(0,Q.jsx)($h,{className:`size-3 shrink-0 opacity-60`,strokeWidth:1.75,"aria-hidden":!0})]},e.absolutePath)})}):null,C=d.length>0?(0,Q.jsx)(`div`,{className:`flex flex-col gap-1.5`,children:d.map(t=>(0,Q.jsx)(Dae,{path:t,refInfo:t.refInfo,sessionKey:r,onImported:n=>{s(r=>({...r,[t.absolutePath]:{...e[t.absolutePath],fileRefId:n.newFileRefId,scope:`workspace`,locationKind:void 0,manageRoute:void 0,exists:!0,isDirectory:!1,absolutePath:n.absolutePath,workspaceRelativePath:n.workspaceRelativePath,capabilities:[`preview`,`edit`,`openExternal`,`revealInFolder`,`copyPath`],mtimeMs:n.mtimeMs,errorCode:void 0}})),i(n.workspaceRelativePath)}},t.absolutePath))}):null}t[14]=n,t[15]=o,t[16]=v.data,t[17]=r,t[18]=i,t[19]=b,t[20]=x,t[21]=S,t[22]=C,t[23]=w}else b=t[19],x=t[20],S=t[21],C=t[22],w=t[23];if(w!==Symbol.for(`react.early_return_sentinel`))return w;let T;return t[24]!==b||t[25]!==x||t[26]!==S||t[27]!==C?(T=(0,Q.jsxs)(`div`,{className:b,children:[x,S,C]}),t[24]=b,t[25]=x,t[26]=S,t[27]=C,t[28]=T):T=t[28],T}function Mae(e){return e.refInfo.scope!==`workspace`}function Nae(e){return!D5(e.mimeType)}function Pae(e){return D5(e.mimeType)}function Fae(e){return e.refInfo.scope===`workspace`&&!!e.refInfo.workspaceRelativePath}function Iae(e){return`${e.absolutePath}\0${e.workspaceRelativePath??``}`}function Lae(e){return e.setPath}var V5=new Set([`write_file`,`edit_file`,`image_generate`]);function Rae(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function H5(e){return(e??``).replace(/\\/g,`/`).replace(/^\/+/,``).trim()}function zae(e,t){let n=H5(e.workspaceRelativePath),r=H5(t.workspaceRelativePath),i=e.absolutePath,a=t.absolutePath;return n&&r?n===r:n&&O5(a)?L5(a,n):r&&O5(i)?L5(i,r):O5(i)&&O5(a)?i.replace(/\\/g,`/`).trim()===a.replace(/\\/g,`/`).trim():i===a}function Bae(e,t){let n=O5(e.absolutePath)?e.absolutePath:O5(t.absolutePath)?t.absolutePath:e.absolutePath;return{...e,absolutePath:n,workspaceRelativePath:e.workspaceRelativePath??t.workspaceRelativePath,fileName:e.fileName||t.fileName,mimeType:e.mimeType||t.mimeType}}function U5(e){let t=[],n=H5(e.workspaceRelativePath);n&&t.push(`rel:${n}`);let r=e.absolutePath?.replace(/\\/g,`/`).trim();return O5(r)&&t.push(`abs:${r}`),t}function Vae(e){let t=new Map;return e.forEach((e,n)=>{for(let r of U5(e))t.set(r,n)}),t}function Hae(e,t,n){for(let e of U5(n)){let n=t.get(e);if(n!==void 0)return n}for(let t=0;t<e.length;t++)if(zae(e[t],n))return t;return-1}function W5(e,t){let n=Vae(e);for(let r of t){let t=Hae(e,n,r);if(t>=0){e[t]=Bae(e[t],r);for(let r of U5(e[t]))n.set(r,t);continue}let i=e.length;e.push(r);for(let e of U5(r))n.set(e,i)}}function Uae(e){return!(e.type===`voice`||e.type===`audio`||e.type===`image`||e.mimeType?.startsWith(`image/`)||e.mimeType?.startsWith(`audio/`))}function Wae(e,t){if(!e?.length||!t.length)return e;let n=e.filter(e=>Uae(e)?!Gae(e,t):!0);return n.length===e.length?e:n.length?n:void 0}function G5(e){let t=e.replace(/\\/g,`/`).split(`/`).filter(Boolean);return(t[t.length-1]??e).trim().toLowerCase()}function Gae(e,t){if(e.uri?.startsWith(`media://`))return!1;let n=H5(void 0),r=(e.name??``).trim().toLowerCase();for(let e of t){let t=H5(e.workspaceRelativePath);if(t&&n&&n===t||t&&!n&&r&&G5(t)===r||O5(e.absolutePath)&&n&&L5(e.absolutePath,n)||!t&&!n&&r&&O5(e.absolutePath)&&G5(e.absolutePath)===r)return!0}return!1}function Kae(e){if(!e?.length)return[];let t=[];for(let n of e){if(n.type!==`tool_use`)continue;let e=n;if(e.status!==`done`||!V5.has(e.name))continue;let r=Rae(e.result);r.trim()&&W5(t,R5(r))}let n=new Set(t.flatMap(e=>{let t=H5(e.workspaceRelativePath);return t?[t]:[]})),r=new Set;for(let e of t)if(O5(e.absolutePath)){let t=G5(e.absolutePath);t&&r.add(t)}for(let i of e){if(i.type!==`text`)continue;let e=(i.text??``).trim();!e||n.size===0&&r.size===0||W5(t,Sae(e).filter(e=>{let t=H5(e.workspaceRelativePath);if(!t)return!1;if(n.has(t))return!0;if(t.split(`/`).length<2)return!1;let i=G5(t);return i.length>0&&r.has(i)}))}return t}function K5(e,t){let n=e.source?.data?.trim();if(!n)return null;let r=n.match(/^data:([^;]+);base64,([\s\S]+)$/i);if(r?.[1]&&r[2]){let e=r[2].replace(/\s/g,``);return{name:`image-${t+1}`,mimeType:r[1],type:`image`,content:e,data:e}}if(n.startsWith(`data:`))return{name:`image-${t+1}`,mimeType:`image/png`,type:`image`,content:n,data:n};let i=n.replace(/\s/g,``);return{name:`image-${t+1}`,mimeType:`image/png`,type:`image`,content:i,data:i}}function qae(e){if(!e?.length)return[];let t=[];for(let n=0;n<e.length;n+=1){let r=K5(e[n],n);r&&t.push(r)}return t}function Jae(e){let t=[];for(let n of e)n.type===`thinking`||n.type===`tool_use`||(n.type===`text`?t.push(n.text):n.type===`image`&&t.push(`[image]`));return t.join(`
|
|
99
|
+
|
|
100
|
+
`).trim()}function Yae(e){if(!e.trim())return``;let t=Hq.parse(e,{gfm:!0,breaks:!1});return new DOMParser().parseFromString(`<div>${t}</div>`,`text/html`).body.textContent?.trim()??``}function Xae(e){let t=[];for(let n of e)n.type===`thinking`||n.type===`tool_use`||(n.type===`text`?t.push(Yae(n.text)):n.type===`image`&&t.push(`[image]`));return t.join(`
|
|
101
|
+
|
|
102
|
+
`).trim()}function q5(e){return e.toLowerCase().replace(/-/g,`_`).trim()}function Zae(e,t){let n=q5(e);return n===`shell`?t.runCommand:n===`list_dir`||n===`ls`?t.listDirectory:n===`write_file`?t.writeFile:n===`edit_file`?t.editFile:n===`web_fetch`?t.fetchUrl:n===`open_url`?t.openUrl:n===`web_search`||n===`brave_search`||n.includes(`search`)?t.searchedWeb:n===`read_file`||n.includes(`read_file`)||n.includes(`file_read`)?t.readFile:t.unknownTool.replace(`{{name}}`,e.trim()||`tool`)}function Qae(e){if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{try{return JSON.stringify(e,null,2)}catch{return String(e)}}}function J5(e){if(e==null)return null;try{return typeof e==`string`?JSON.parse(e):e}catch{return null}}function $ae(e){let t=J5(e),n=t?.query??t?.q??t?.query_string??t?.search_term??t?.searchQuery;return typeof n==`string`?n:typeof n==`number`?String(n):``}function Y5(e){let t=J5(e),n=t?.path??t?.file_path??t?.filepath??t?.file;return typeof n==`string`?n:``}function X5(e){let t=J5(e),n=t?.url??t?.href??t?.uri??t?.website;return typeof n==`string`?n:``}function Z5(e){let t=J5(e),n=t?.command??t?.cmd??t?.shell??t?.script;return typeof n==`string`?n:``}var Q5=120;function $5(e){if(e==null)return``;let t=J5(e);if(!t)return typeof e==`string`?e.trim():``;let n=[t.command,t.cmd,t.shell,t.script,t.path,t.file_path,t.filepath,t.file,t.url,t.href,t.uri,t.website,t.query,t.q,t.query_string,t.search_term,t.searchQuery];for(let e of n){if(typeof e==`string`&&e.trim()){let t=e.trim();return t.length>Q5?`${t.slice(0,Q5)}…`:t}if(typeof e==`number`&&Number.isFinite(e))return String(e)}return``}function eoe(e){let t=e.trim().toLowerCase();return t===`web_search`||t===`brave_search`}var toe=120,e7=240,noe=3,t7=[`readFile`,`editFile`,`writeFile`,`runCommand`,`search`,`fetchUrl`,`openUrl`,`listDir`,`other`];function n7(e){let t=q5(e);return t===`shell`?`runCommand`:t===`list_dir`||t===`ls`?`listDir`:t===`write_file`?`writeFile`:t===`edit_file`?`editFile`:t===`web_fetch`?`fetchUrl`:t===`open_url`?`openUrl`:eoe(e)||t.includes(`search`)?`search`:t===`read_file`||t.includes(`read_file`)||t.includes(`file_read`)?`readFile`:`other`}function r7(e){let t=new Map;for(let n of e){if(n.type!==`tool_use`)continue;let e=n7(n.name),r=t.get(e)??{total:0,running:0};r.total+=1,n.status===`running`&&(r.running+=1),t.set(e,r)}return t}function i7(e,t,n){return n[t===1?`${e}_one`:`${e}_other`].replace(/\{\{count\}\}/g,String(t))}function roe(e,t){switch(e){case`search`:return t.search;case`readFile`:return t.readFile;case`editFile`:return t.editFile;case`writeFile`:return t.writeFile;case`runCommand`:return t.runCommand;case`listDir`:return t.listDir;case`openUrl`:return t.openUrl;case`fetchUrl`:return t.fetchUrl;case`other`:return t.other}}function ioe(e){let t=[];for(let n of t7)e.has(n)&&t.push(n);return t}function aoe(e,t){return e.length===0?``:e.length===1?e[0]:e.length===2?`${e[0]}${t.joinFinal}${e[1]}`:`${e.slice(0,-1).join(t.join)}${t.joinFinal}${e[e.length-1]}`}function a7(e,t){return e.length>t?`${e.slice(0,t)}…`:e}function ooe(e,t,n,r){let i=e.input,a=``;return a=t===`search`?$ae(i).trim():t===`runCommand`?Z5(i).trim():t===`readFile`||t===`editFile`||t===`writeFile`?Y5(i).trim():t===`fetchUrl`||t===`openUrl`?X5(i).trim():$5(i).trim(),a?a7(`${i7(t,1,n)}${r===`zh`?`:`:`: `}${a7(a,toe)}`,e7):null}function soe(e,t,n,r){let i=r7(e);if(i.size===0)return null;let a=i.size===1?[...i.keys()][0]:null;if(a&&i.get(a).total===1){let n=e.find(e=>e.type===`tool_use`&&n7(e.name)===a);if(n){let e=ooe(n,a,t,r);if(e)return e}}let o=ioe(i),s=o.slice(0,noe),c=o.length-s.length,l=aoe(s.map(e=>i7(e,i.get(e).total,t)),n);return c>0&&(l=`${l}${n.moreSuffix}`),a7(l,e7)}function coe(e,t){let n=r7(e),r=[];for(let e of t7){let t=n.get(e);t&&t.running>0&&r.push(e)}return r.length===1?roe(r[0],t):r.length>1?t.mixed:e.some(e=>e.type===`thinking`&&e.streaming)?t.thinking:n.size>0?t.mixed:null}function o7(e){return e.filter(e=>e.type!==`thinking`||!!e.text?.trim()||!!e.streaming)}function s7(e,t){return(e===1?t.viewSteps_one:t.viewSteps_other).replace(/\{\{count\}\}/g,String(e))}function loe(e,t,n,r,i){return soe(e,t,n,r)??i}function uoe(e,t){return coe(e,t)}function doe(e){return e.startsWith(`@@`)?`hunk`:e.startsWith(`+++`)||e.startsWith(`---`)||e.startsWith(`diff `)||e.startsWith(`index `)?`meta`:e.startsWith(`+`)?`add`:e.startsWith(`-`)?`del`:`context`}function foe(e){let t=e.details?.diff;if(typeof t!=`string`||t.length===0)return null;let n=t.split(`
|
|
103
|
+
`),r=[],i=0,a=0;for(let e of n){let t=doe(e);t===`add`&&!e.startsWith(`+++`)&&i++,t===`del`&&!e.startsWith(`---`)&&a++,r.push({kind:t,text:e})}return{raw:t,lines:r,added:i,removed:a}}function c7(e){return e&&typeof e==`object`&&!Array.isArray(e)?e:null}function l7(e){if(typeof e==`string`)return e;if(!Array.isArray(e))return``;let t=[];for(let n of e){if(!n||typeof n!=`object`)continue;let e=n;e.type===`text`&&typeof e.text==`string`&&t.push(e.text)}return t.join(`
|
|
104
|
+
`)}function u7(e){if(e==null)return{details:null,text:``,isStructured:!1};if(typeof e==`object`&&!Array.isArray(e)){let t=e;return`content`in t||`details`in t?{details:c7(t.details),text:l7(t.content),isStructured:!0}:{details:null,text:``,isStructured:!1}}if(typeof e==`string`){let t=e.trim();if(t.startsWith(`{`))try{let e=c7(JSON.parse(t));if(e&&(`content`in e||`details`in e))return{details:c7(e.details),text:l7(e.content),isStructured:!0}}catch{}return{details:null,text:e,isStructured:!1}}return{details:null,text:String(e),isStructured:!1}}var poe=`inline-flex max-w-full min-w-0 items-center gap-1 rounded-md bg-accent-soft/40 px-1.5 py-0.5 text-[11px] font-medium text-fg-muted [overflow-wrap:anywhere] dark:bg-accent-soft/25`,moe=`inline-flex max-w-full min-w-0 items-center break-words rounded-md bg-surface-hover/60 px-1.5 py-0.5 font-mono text-xs text-fg [overflow-wrap:anywhere] dark:bg-surface-hover/35`,hoe=`max-h-72 w-full min-w-0 max-w-full overflow-y-auto overflow-x-hidden whitespace-pre-wrap break-words rounded-md bg-surface-hover/60 p-2 font-mono text-xs text-fg-muted [overflow-wrap:anywhere] dark:bg-surface-hover/35`,goe=`cursor-pointer select-none text-xs text-fg-subtle underline-offset-2 hover:text-fg-muted group-open:text-fg-muted`;function d7(e){let t=(0,Z.c)(5),{children:n,tone:r}=e,i=r===void 0?`neutral`:r,a=i===`positive`?`bg-emerald-500/15 text-emerald-700 dark:text-emerald-300`:i===`negative`?`bg-red-500/15 text-red-700 dark:text-red-300`:i===`warning`?`bg-amber-500/15 text-amber-700 dark:text-amber-300`:i===`accent`?`bg-accent-soft/70 text-accent-fg dark:bg-accent-soft/50`:``,o;t[0]===a?o=t[1]:(o=u(poe,a),t[0]=a,t[1]=o);let s;return t[2]!==n||t[3]!==o?(s=(0,Q.jsx)(`span`,{className:o,children:n}),t[2]=n,t[3]=o,t[4]=s):s=t[4],s}function f7(e){let t=(0,Z.c)(3),{children:n,title:r}=e,i;return t[0]!==n||t[1]!==r?(i=(0,Q.jsx)(`code`,{className:moe,title:r,children:n}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}var p7=(0,Y.memo)(function(e){let t=(0,Z.c)(11),{text:n,label:r,copiedLabel:i}=e,[a,o]=(0,Y.useState)(!1),s;t[0]===n?s=t[1]:(s=async e=>{e.preventDefault(),e.stopPropagation(),await GP(n)&&(o(!0),window.setTimeout(()=>o(!1),1200))},t[0]=n,t[1]=s);let c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=u(`inline-flex shrink-0 items-center gap-1 rounded-md px-1.5 py-0.5 text-[11px] text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),t[2]=c):c=t[2];let l;t[3]!==a||t[4]!==i||t[5]!==r?(l=a?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(gd,{className:`size-3`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:i})]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(mm,{className:`size-3`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`hidden sm:inline`,children:r})]}),t[3]=a,t[4]=i,t[5]=r,t[6]=l):l=t[6];let d;return t[7]!==r||t[8]!==s||t[9]!==l?(d=(0,Q.jsx)(`button`,{type:`button`,onClick:s,className:c,"aria-label":r,title:r,children:l}),t[7]=r,t[8]=s,t[9]=l,t[10]=d):d=t[10],d});function m7(e){let t=(0,Z.c)(8),{summary:n,children:r,defaultOpen:i}=e,a=i===void 0?!1:i,o;t[0]===n?o=t[1]:(o=(0,Q.jsx)(`summary`,{className:goe,children:n}),t[0]=n,t[1]=o);let s;t[2]===r?s=t[3]:(s=(0,Q.jsx)(`div`,{className:`mt-1.5 min-w-0`,children:r}),t[2]=r,t[3]=s);let c;return t[4]!==a||t[5]!==o||t[6]!==s?(c=(0,Q.jsxs)(`details`,{className:`group min-w-0 text-xs`,open:a,children:[o,s]}),t[4]=a,t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function h7(e){let t=(0,Z.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Q.jsx)(`pre`,{className:hoe,children:n}),t[0]=n,t[1]=r),r}function g7(e,t){return e.replace(/\{\{(\w+)\}\}/g,(e,n)=>{let r=t[n];return r==null?``:String(r)})}function _7(e){return e.details??{}}var v7=/\[(\d+)\/(\d+) lines\]\s*$/;function _oe(e){let t=e.match(v7);if(!t)return null;let n=Number(t[1]),r=Number(t[2]);return!Number.isFinite(n)||!Number.isFinite(r)?null:{shown:n,total:r}}function voe(e){return e.replace(v7,``).trimEnd()}var yoe=(0,Y.memo)(function(e){let t=(0,Z.c)(32),{block:n,labels:r}=e,i;t[0]===n.input?i=t[1]:(i=Y5(n.input),t[0]=n.input,t[1]=i);let a=i,o;t[2]===n.result?o=t[3]:(o=u7(n.result),t[2]=n.result,t[3]=o);let s=o.text,c;t[4]===s?c=t[5]:(c=_oe(s),t[4]=s,t[5]=c);let l=c,u;t[6]===s?u=t[7]:(u=voe(s),t[6]=s,t[7]=u);let d=u,f;bb0:{if(l){f=l.total;break bb0}if(!d){f=0;break bb0}let e;t[8]===d?e=t[9]:(e=d.split(`
|
|
105
|
+
`),t[8]=d,t[9]=e),f=e.length}let p=f,m;if(t[10]!==d){bb1:{if(!d){m=``;break bb1}let e=d.split(`
|
|
106
|
+
`);if(e.length<=12){m=d;break bb1}m=`${e.slice(0,12).join(`
|
|
107
|
+
`)}\n…`}t[10]=d,t[11]=m}else m=t[11];let h=m,g;t[12]===a?g=t[13]:(g=a?(0,Q.jsx)(f7,{title:a,children:a}):null,t[12]=a,t[13]=g);let _;t[14]!==r||t[15]!==l||t[16]!==p?(_=p>0?(0,Q.jsx)(d7,{children:l&&l.shown<l.total?g7(r.linesPartial,{shown:l.shown,total:l.total}):g7(r.linesBadge,{count:p})}):null,t[14]=r,t[15]=l,t[16]=p,t[17]=_):_=t[17];let v;t[18]!==r||t[19]!==a?(v=a?(0,Q.jsx)(p7,{text:a,label:r.copyPath,copiedLabel:r.copied}):null,t[18]=r,t[19]=a,t[20]=v):v=t[20];let y;t[21]!==g||t[22]!==_||t[23]!==v?(y=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1`,children:[g,_,v]}),t[21]=g,t[22]=_,t[23]=v,t[24]=y):y=t[24];let b;t[25]!==d||t[26]!==r||t[27]!==h?(b=d?(0,Q.jsx)(m7,{summary:r.viewContent,children:(0,Q.jsx)(h7,{children:h})}):null,t[25]=d,t[26]=r,t[27]=h,t[28]=b):b=t[28];let x;return t[29]!==y||t[30]!==b?(x=(0,Q.jsxs)(`div`,{className:`space-y-1.5`,children:[y,b]}),t[29]=y,t[30]=b,t[31]=x):x=t[31],x});function boe(e){let t=(0,Z.c)(4),{lines:n}=e,r;t[0]===n?r=t[1]:(r=n.map(xoe),t[0]=n,t[1]=r);let i;return t[2]===r?i=t[3]:(i=(0,Q.jsx)(`pre`,{className:`max-h-80 w-full min-w-0 max-w-full overflow-auto rounded-md bg-surface-hover/60 p-2 font-mono text-xs leading-snug text-fg-muted dark:bg-surface-hover/35`,children:r}),t[2]=r,t[3]=i),i}function xoe(e,t){return(0,Q.jsx)(`div`,{className:u(`whitespace-pre-wrap break-words [overflow-wrap:anywhere]`,e.kind===`add`&&`bg-emerald-500/15 text-emerald-700 dark:text-emerald-300`,e.kind===`del`&&`bg-red-500/15 text-red-700 dark:text-red-300`,e.kind===`hunk`&&`text-fg-subtle`,e.kind===`meta`&&`text-fg-disabled`),children:e.text||`\xA0`},t)}var Soe=(0,Y.memo)(function(e){let t=(0,Z.c)(25),{block:n,labels:r}=e,i;t[0]===n.input?i=t[1]:(i=Y5(n.input),t[0]=n.input,t[1]=i);let a=i,o;t[2]===n.result?o=t[3]:(o=u7(n.result),t[2]=n.result,t[3]=o);let s=o,c;t[4]===s?c=t[5]:(c=foe(s),t[4]=s,t[5]=c);let l=c,u;t[6]===a?u=t[7]:(u=a?(0,Q.jsx)(f7,{title:a,children:a}):null,t[6]=a,t[7]=u);let d;t[8]!==l||t[9]!==r?(d=l?(0,Q.jsx)(d7,{tone:`accent`,children:g7(r.diffStats,{added:l.added,removed:l.removed})}):null,t[8]=l,t[9]=r,t[10]=d):d=t[10];let f;t[11]!==r||t[12]!==a?(f=a?(0,Q.jsx)(p7,{text:a,label:r.copyPath,copiedLabel:r.copied}):null,t[11]=r,t[12]=a,t[13]=f):f=t[13];let p;t[14]!==u||t[15]!==d||t[16]!==f?(p=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1`,children:[u,d,f]}),t[14]=u,t[15]=d,t[16]=f,t[17]=p):p=t[17];let m;t[18]!==l||t[19]!==r||t[20]!==s?(m=l?(0,Q.jsx)(m7,{summary:r.viewDiff,defaultOpen:!0,children:(0,Q.jsx)(boe,{lines:l.lines})}):s.text?(0,Q.jsx)(`p`,{className:`text-xs text-fg-muted [overflow-wrap:anywhere]`,children:s.text}):null,t[18]=l,t[19]=r,t[20]=s,t[21]=m):m=t[21];let h;return t[22]!==p||t[23]!==m?(h=(0,Q.jsxs)(`div`,{className:`space-y-1.5`,children:[p,m]}),t[22]=p,t[23]=m,t[24]=h):h=t[24],h});function Coe(e){return!Number.isFinite(e)||e<0?``:e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}var woe=(0,Y.memo)(function(e){let t=(0,Z.c)(20),{block:n,labels:r}=e,i;t[0]===n.input?i=t[1]:(i=Y5(n.input),t[0]=n.input,t[1]=i);let a=i,o;t[2]===n.result?o=t[3]:(o=u7(n.result),t[2]=n.result,t[3]=o);let s=o,c,l,u;if(t[4]!==r||t[5]!==s||t[6]!==a){let e=_7(s),n=typeof e.size==`number`?e.size:null;c=`flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1`,t[10]===a?l=t[11]:(l=a?(0,Q.jsx)(f7,{title:a,children:a}):null,t[10]=a,t[11]=l),u=n==null?null:(0,Q.jsx)(d7,{children:g7(r.sizeBadge,{size:Coe(n)})}),t[4]=r,t[5]=s,t[6]=a,t[7]=c,t[8]=l,t[9]=u}else c=t[7],l=t[8],u=t[9];let d;t[12]!==r||t[13]!==a?(d=a?(0,Q.jsx)(p7,{text:a,label:r.copyPath,copiedLabel:r.copied}):null,t[12]=r,t[13]=a,t[14]=d):d=t[14];let f;return t[15]!==c||t[16]!==l||t[17]!==u||t[18]!==d?(f=(0,Q.jsxs)(`div`,{className:c,children:[l,u,d]}),t[15]=c,t[16]=l,t[17]=u,t[18]=d,t[19]=f):f=t[19],f}),y7=12;function Toe(e){if(!e)return{preview:``,truncated:!1};let t=e.split(`
|
|
108
|
+
`);return t.length<=y7?{preview:e,truncated:!1}:{preview:`${t.slice(0,y7).join(`
|
|
109
|
+
`)}\n…`,truncated:!0}}var Eoe=(0,Y.memo)(function(e){let t=(0,Z.c)(35),{block:n,labels:r}=e,i;t[0]===n.input?i=t[1]:(i=Z5(n.input),t[0]=n.input,t[1]=i);let a=i,o;t[2]===n.result?o=t[3]:(o=u7(n.result),t[2]=n.result,t[3]=o);let s=o,c,l,u,d,f;if(t[4]!==n.status||t[5]!==r||t[6]!==s){let e=_7(s),i=typeof e.exitCode==`number`?e.exitCode:null,a=!!e.timedOut;f=!!e.truncated,c=n.status===`running`;let o=n.status===`error`;l=s.text;let p;t[12]===l?p=t[13]:(p=Toe(l),t[12]=l,t[13]=p),{preview:u}=p,d=c?(0,Q.jsxs)(d7,{children:[(0,Q.jsx)(Ey,{className:`size-3 animate-spin`,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:r.exitCodeUnknown})]}):a?(0,Q.jsx)(d7,{tone:`warning`,children:r.timedOut}):i===0?(0,Q.jsx)(d7,{tone:`positive`,children:r.exitCodeOk}):i==null?o?(0,Q.jsx)(d7,{tone:`negative`,children:r.exitCodeUnknown}):null:(0,Q.jsx)(d7,{tone:`negative`,children:g7(r.exitCodeNonZero,{code:i})}),t[4]=n.status,t[5]=r,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f}else c=t[7],l=t[8],u=t[9],d=t[10],f=t[11];let p=d,m;t[14]===a?m=t[15]:(m=a?(0,Q.jsxs)(f7,{title:a,children:[(0,Q.jsx)(`span`,{className:`mr-1 text-fg-disabled`,children:`$`}),a]}):null,t[14]=a,t[15]=m);let h;t[16]!==r||t[17]!==f?(h=f?(0,Q.jsx)(d7,{tone:`warning`,children:r.truncatedBadge}):null,t[16]=r,t[17]=f,t[18]=h):h=t[18];let g;t[19]!==a||t[20]!==r?(g=a?(0,Q.jsx)(p7,{text:a,label:r.copyCommand,copiedLabel:r.copied}):null,t[19]=a,t[20]=r,t[21]=g):g=t[21];let _;t[22]!==p||t[23]!==m||t[24]!==h||t[25]!==g?(_=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1`,children:[m,p,h,g]}),t[22]=p,t[23]=m,t[24]=h,t[25]=g,t[26]=_):_=t[26];let v;t[27]!==c||t[28]!==r||t[29]!==l||t[30]!==u?(v=l?(0,Q.jsx)(m7,{summary:r.viewOutput,children:(0,Q.jsx)(h7,{children:u})}):c?null:(0,Q.jsx)(`p`,{className:`text-xs text-fg-disabled`,children:r.noOutput}),t[27]=c,t[28]=r,t[29]=l,t[30]=u,t[31]=v):v=t[31];let y;return t[32]!==_||t[33]!==v?(y=(0,Q.jsxs)(`div`,{className:`space-y-1.5`,children:[_,v]}),t[32]=_,t[33]=v,t[34]=y):y=t[34],y}),Doe=(0,Y.memo)(function(e){let t=(0,Z.c)(27),{block:n,labels:r}=e,i;t[0]===n.input?i=t[1]:(i=X5(n.input),t[0]=n.input,t[1]=i);let a=i,o;t[2]===n.result?o=t[3]:(o=u7(n.result),t[2]=n.result,t[3]=o);let s=o,c,l,u,d,f;if(t[4]!==r||t[5]!==s||t[6]!==a){let e=_7(s),n=typeof e.extractedLength==`number`?e.extractedLength:null,i;if(t[12]!==s.text){bb0:{if(!s.text){i=``;break bb0}let e=s.text.split(`
|
|
110
|
+
`);if(e.length<=12){i=s.text;break bb0}i=`${e.slice(0,12).join(`
|
|
111
|
+
`)}\n…`}t[12]=s.text,t[13]=i}else i=t[13];c=i,f=`space-y-1.5`,l=`flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1`,t[14]===a?u=t[15]:(u=a?(0,Q.jsx)(`a`,{href:a,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex max-w-full min-w-0 items-center break-words rounded-md bg-surface-hover/60 px-1.5 py-0.5 font-mono text-xs text-accent-fg underline-offset-2 hover:underline [overflow-wrap:anywhere] dark:bg-surface-hover/35`,title:a,children:a}):null,t[14]=a,t[15]=u),d=n!=null&&n>0?(0,Q.jsx)(d7,{children:g7(r.linesBadge,{count:n})}):null,t[4]=r,t[5]=s,t[6]=a,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f}else c=t[7],l=t[8],u=t[9],d=t[10],f=t[11];let p;t[16]!==l||t[17]!==u||t[18]!==d?(p=(0,Q.jsxs)(`div`,{className:l,children:[u,d]}),t[16]=l,t[17]=u,t[18]=d,t[19]=p):p=t[19];let m;t[20]!==r||t[21]!==c?(m=c?(0,Q.jsx)(m7,{summary:r.viewContent,children:(0,Q.jsx)(h7,{children:c})}):null,t[20]=r,t[21]=c,t[22]=m):m=t[22];let h;return t[23]!==f||t[24]!==p||t[25]!==m?(h=(0,Q.jsxs)(`div`,{className:f,children:[p,m]}),t[23]=f,t[24]=p,t[25]=m,t[26]=h):h=t[26],h}),b7=_(y(e=>({showRawToolData:!1,setShowRawToolData:t=>e({showRawToolData:t})}),{name:`xopc-web-dev-view`}));function x7(e,t){if(!Number.isFinite(e)||e<=0)return t===`zh`?`不到1秒`:`<1s`;let n=Math.floor(e/1e3);if(n===0)return t===`zh`?`不到1秒`:`<1s`;let r=Math.floor(n/60),i=n%60;return t===`zh`?r===0?`${i}秒`:i===0?`${r}分`:`${r}分${i}秒`:r===0?`${i}s`:i===0?`${r}m`:`${r}m ${i}s`}var Ooe={extension:Ow,local:Ex,cloakbrowser:QE,cdp:IA,cloud:Ip};function koe(e){let t=(0,Z.c)(29),{payload:n}=e,r=Dr(),i=v(Aoe),a;t[0]===i?a=t[1]:(a=m(i),t[0]=i,t[1]=a);let o=a.chat,s=Ooe[n.backend]??dv,c=o.browserSetupRequiredTitle,l=o.browserSetupRequiredReasons[n.reason]??o.browserSetupRequiredReasons.generic,d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=u(`mt-2 flex flex-col gap-2 rounded-xl border border-amber-300/60 bg-amber-50/70 px-3 py-3`,`dark:border-amber-500/30 dark:bg-amber-500/10`),t[2]=d):d=t[2];let f;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(f=u(`flex size-8 shrink-0 items-center justify-center rounded-lg`,`bg-amber-100 text-amber-700 dark:bg-amber-500/20 dark:text-amber-300`),t[3]=f):f=t[3];let p;t[4]===s?p=t[5]:(p=(0,Q.jsx)(`span`,{className:f,"aria-hidden":!0,children:(0,Q.jsx)(s,{className:`size-4`,strokeWidth:1.75})}),t[4]=s,t[5]=p);let h;t[6]===c?h=t[7]:(h=(0,Q.jsx)(`h3`,{className:`text-sm font-semibold text-amber-900 dark:text-amber-100`,children:c}),t[6]=c,t[7]=h);let g;t[8]===l?g=t[9]:(g=(0,Q.jsx)(`p`,{className:`mt-1 text-xs leading-relaxed text-amber-900/85 dark:text-amber-100/80`,children:l}),t[8]=l,t[9]=g);let _;t[10]!==h||t[11]!==g?(_=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[h,g]}),t[10]=h,t[11]=g,t[12]=_):_=t[12];let y;t[13]!==p||t[14]!==_?(y=(0,Q.jsxs)(`div`,{className:`flex items-start gap-3`,children:[p,_]}),t[13]=p,t[14]=_,t[15]=y):y=t[15];let b;t[16]!==r||t[17]!==n.deepLink?(b=()=>r(n.deepLink),t[16]=r,t[17]=n.deepLink,t[18]=b):b=t[18];let x;t[19]!==o.browserSetupRequiredCta||t[20]!==b?(x=(0,Q.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,Q.jsx)(NP,{type:`button`,variant:`primary`,className:`h-8 px-3 py-1.5 text-xs`,onClick:b,children:o.browserSetupRequiredCta})}),t[19]=o.browserSetupRequiredCta,t[20]=b,t[21]=x):x=t[21];let S;t[22]!==o.browserSetupRequiredDetailToggle||t[23]!==n.detail?(S=n.detail?(0,Q.jsxs)(`details`,{className:`group min-w-0 text-xs`,children:[(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-amber-800/80 underline-offset-2 hover:text-amber-900 dark:text-amber-200/80 dark:hover:text-amber-100`,children:o.browserSetupRequiredDetailToggle}),(0,Q.jsx)(`pre`,{className:`mt-2 max-h-40 w-full min-w-0 overflow-y-auto overflow-x-hidden whitespace-pre-wrap break-words rounded-md bg-amber-100/60 p-2 font-mono text-[11px] text-amber-900 dark:bg-amber-500/15 dark:text-amber-100 [overflow-wrap:anywhere]`,children:n.detail})]}):null,t[22]=o.browserSetupRequiredDetailToggle,t[23]=n.detail,t[24]=S):S=t[24];let C;return t[25]!==x||t[26]!==S||t[27]!==y?(C=(0,Q.jsxs)(`section`,{role:`status`,"aria-live":`polite`,className:d,children:[y,x,S]}),t[25]=x,t[26]=S,t[27]=y,t[28]=C):C=t[28],C}function Aoe(e){return e.language}var joe=new Set([`extension`,`local`,`cloakbrowser`,`cdp`,`cloud`]),Moe=new Set([`extension_not_installed`,`extension_bridge_offline`,`extension_not_connected`,`local_chromium_missing`,`cloakbrowser_not_installed`,`cdp_unreachable`,`cloud_api_key_missing`]);function Noe(e){if(!e?.trim())return null;let t;try{t=JSON.parse(e)}catch{return null}if(!t||typeof t!=`object`)return null;let n=t;if(n.kind!==`browser_setup_required`)return null;let r=n.backend,i=n.reason,a=n.deepLink;return typeof r!=`string`||!joe.has(r)||typeof i!=`string`||!Moe.has(i)||typeof a!=`string`||!a.startsWith(`/settings/`)?null:{kind:`browser_setup_required`,backend:r,reason:i,deepLink:a,detail:typeof n.detail==`string`?n.detail:void 0,message:typeof n.message==`string`?n.message:void 0}}var S7=`xopc.extensionUiGrants.v1`;function C7(e){return e.flatMap(e=>{let t=e.trim();return t?[t]:[]}).toSorted().join(`\0`)}function w7(e,t){try{let n=localStorage.getItem(S7);return(n?JSON.parse(n):{})[e]===C7(t)}catch{return!1}}function Poe(e,t){let n=localStorage.getItem(S7),r=(n?JSON.parse(n):{})??{};r[e]=C7(t),localStorage.setItem(S7,JSON.stringify(r))}var Foe={theme:`Read theme (light / dark)`,"agent.send":`Send messages to the assistant`,"agent.subscribe":`Receive live agent stream events for a chat`,"session.read":`List and open chat sessions`,"session.write":`Modify chat sessions`,"config.read":`Read extension configuration`,"config.write":`Write extension configuration`,storage:`Read and write extension storage`,notification:`Show in-app notifications`,clipboard:`Use the clipboard`,"workspace.read":`Read workspace files`,"workspace.write":`Write workspace files`},T7={theme:`读取主题(浅色/深色)`,"agent.send":`向助手发送消息`,"agent.subscribe":`接收会话的实时助手流式事件`,"session.read":`列出并打开聊天会话`,"session.write":`修改聊天会话`,"config.read":`读取扩展配置`,"config.write":`写入扩展配置`,storage:`读写扩展存储`,notification:`显示应用内通知`,clipboard:`使用剪贴板`,"workspace.read":`读取工作区文件`,"workspace.write":`写入工作区文件`};function Ioe(e,t){let n=Foe[e];return t===`zh`&&T7[e]?T7[e]:n??e}function Loe(e){let t=(0,Z.c)(58),{open:n,onOpenChange:r,extensionId:i,extensionName:a,permissions:o,onConfirm:s}=e,c=v(zoe),l,u,d,f,p,h,g,_,y,b,x,S;t[0]!==a||t[1]!==c||t[2]!==r||t[3]!==n?(p=m(c).extensionUi,f=KL,x=n,S=r,d=qL,t[16]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Q.jsx)(JL,{className:`xopc-dialog-overlay fixed inset-0 z-[130] bg-scrim`}),t[16]=b):b=t[16],u=YL,_=`fixed left-1/2 top-1/2 z-[131] w-[min(28rem,calc(100vw-2rem))] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-edge bg-surface-panel p-5 shadow-elevated`,y=Roe,l=XL,h=`text-base font-semibold text-fg`,g=p.permissionTitle.replace(`{{name}}`,a),t[0]=a,t[1]=c,t[2]=r,t[3]=n,t[4]=l,t[5]=u,t[6]=d,t[7]=f,t[8]=p,t[9]=h,t[10]=g,t[11]=_,t[12]=y,t[13]=b,t[14]=x,t[15]=S):(l=t[4],u=t[5],d=t[6],f=t[7],p=t[8],h=t[9],g=t[10],_=t[11],y=t[12],b=t[13],x=t[14],S=t[15]);let C;t[17]!==l||t[18]!==h||t[19]!==g?(C=(0,Q.jsx)(l,{className:h,children:g}),t[17]=l,t[18]=h,t[19]=g,t[20]=C):C=t[20];let w;t[21]===i?w=t[22]:(w=(0,Q.jsxs)(`span`,{className:`font-mono text-xs text-fg-muted`,title:i,children:[`(`,i,`)`]}),t[21]=i,t[22]=w);let T;t[23]!==p.permissionSubtitle||t[24]!==w?(T=(0,Q.jsxs)(`p`,{className:`mt-2 text-sm text-fg-muted`,children:[p.permissionSubtitle,` `,w]}),t[23]=p.permissionSubtitle,t[24]=w,t[25]=T):T=t[25];let E;t[26]!==c||t[27]!==o||t[28]!==p.permissionsNone?(E=o.length===0?(0,Q.jsx)(`p`,{className:`mt-4 text-sm text-fg-muted`,children:p.permissionsNone}):(0,Q.jsx)(`ul`,{className:`mt-4 max-h-48 list-inside list-disc space-y-1 overflow-y-auto text-sm text-fg`,children:o.map(e=>(0,Q.jsx)(`li`,{children:Ioe(e,c)},e))}),t[26]=c,t[27]=o,t[28]=p.permissionsNone,t[29]=E):E=t[29];let D;t[30]===p.deny?D=t[31]:(D=(0,Q.jsx)(QL,{asChild:!0,children:(0,Q.jsx)(`button`,{type:`button`,className:`rounded-lg border border-edge px-3 py-2 text-sm text-fg hover:bg-surface-muted`,children:p.deny})}),t[30]=p.deny,t[31]=D);let O;t[32]!==s||t[33]!==r?(O=()=>{s(),r(!1)},t[32]=s,t[33]=r,t[34]=O):O=t[34];let k;t[35]!==p.allow||t[36]!==O?(k=(0,Q.jsx)(`button`,{type:`button`,className:`rounded-lg bg-accent px-3 py-2 text-sm font-medium text-white hover:opacity-90`,onClick:O,children:p.allow}),t[35]=p.allow,t[36]=O,t[37]=k):k=t[37];let A;t[38]!==D||t[39]!==k?(A=(0,Q.jsxs)(`div`,{className:`mt-6 flex justify-end gap-2`,children:[D,k]}),t[38]=D,t[39]=k,t[40]=A):A=t[40];let j;t[41]!==u||t[42]!==T||t[43]!==E||t[44]!==A||t[45]!==_||t[46]!==y||t[47]!==C?(j=(0,Q.jsxs)(u,{className:_,onOpenAutoFocus:y,children:[C,T,E,A]}),t[41]=u,t[42]=T,t[43]=E,t[44]=A,t[45]=_,t[46]=y,t[47]=C,t[48]=j):j=t[48];let M;t[49]!==d||t[50]!==j||t[51]!==b?(M=(0,Q.jsxs)(d,{children:[b,j]}),t[49]=d,t[50]=j,t[51]=b,t[52]=M):M=t[52];let N;return t[53]!==f||t[54]!==M||t[55]!==x||t[56]!==S?(N=(0,Q.jsx)(f,{open:x,onOpenChange:S,children:M}),t[53]=f,t[54]=M,t[55]=x,t[56]=S,t[57]=N):N=t[57],N}function Roe(e){return e.preventDefault()}function zoe(e){return e.language}var Boe=48,Voe=2e3,Hoe=`allow-scripts allow-forms allow-popups`;function Uoe(e){return e.split(`/`).filter(Boolean).map(e=>encodeURIComponent(e)).join(`/`)}function E7({extensionId:e,extensionName:t,entrypoint:n,permissions:r,title:i,className:a,fixedHeight:o,maxHeight:s=Voe,minHeight:c=Boe,initialData:l}){let u=v(e=>e.language),d=m(u).extensionUi,f=Wz(),p=(0,Y.useRef)(null),h=w(e=>e.token),g=b(e=>e.resolved),_=t?.trim()||e,y=i?.trim()||`Extension ${e}`,x=(0,Y.useMemo)(()=>JSON.stringify(Array.from(r??[]).toSorted()),[r]),S=(0,Y.useMemo)(()=>JSON.parse(x),[x]),C=w7(e,S),[E,D]=(0,Y.useReducer)(k6,{allowed:C,dialogOpen:!C,reloadKey:0,loadError:!1,dynamicHeight:o??Math.min(s,Math.max(c,320))}),{allowed:O,dialogOpen:k,reloadKey:A,loadError:j,dynamicHeight:M}=E,N=(0,Y.useRef)({id:e,k:x});if(N.current.id!==e||N.current.k!==x){N.current={id:e,k:x};let t=w7(e,S);D({type:`patch`,patch:{allowed:t,dialogOpen:!t}})}let P=(0,Y.useCallback)(e=>D({type:`patch`,patch:{dialogOpen:e}}),[]),F=(0,Y.useMemo)(()=>{let t=Uoe(n),r=T(`/api/extensions/${encodeURIComponent(e)}/assets/${t}`);if(!h?.trim())return r;let i=new URL(r);return i.searchParams.set(`token`,h.trim()),i.toString()},[e,n,h]);(0,Y.useLayoutEffect)(()=>{if(!O)return;let t=p.current;if(!t)return;f.registerIframe(e,t,S);let n=f.subscribeExtensionEvents(e,e=>{if(e.event!==`ui.resize`||!e.data||typeof e.data!=`object`||e.data===null)return;let t=Number(e.data.height);Number.isFinite(t)&&o===void 0&&D({type:`patch`,patch:{dynamicHeight:Math.min(s,Math.max(c,t))}})});return()=>{n(),f.unregisterIframe(e)}},[O,e,o,s,c,S,f]),(0,Y.useEffect)(()=>{if(!O)return;let t=Mz(g);f.sendEvent(e,`theme.changed`,t)},[O,e,g,f]);let I=o===void 0?{width:`100%`,height:M,border:`none`}:{width:`100%`,height:o,border:`none`};return O?(0,Q.jsxs)(`div`,{className:`flex flex-1 min-h-0 min-w-0 flex-col`,children:[j?(0,Q.jsxs)(`div`,{className:`mb-2 rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-sm text-fg`,children:[(0,Q.jsx)(`p`,{children:d.loadFailed}),(0,Q.jsx)(`p`,{className:`mt-2 text-xs text-fg-muted`,children:d.loadFailedConnectionHint}),(0,Q.jsx)(`button`,{type:`button`,className:`mt-2 font-medium text-accent underline-offset-2 hover:underline`,onClick:()=>{D({type:`patch`,patch:{loadError:!1,reloadKey:A+1}})},children:d.retryLoad})]}):null,(0,Q.jsx)(`iframe`,{ref:p,className:a,title:y,src:F,style:I,sandbox:Hoe,referrerPolicy:`no-referrer`,onError:()=>D({type:`patch`,patch:{loadError:!0}}),onLoad:()=>{D({type:`patch`,patch:{loadError:!1}}),f.sendInit(e,Mz(b.getState().resolved),u),l!==void 0&&f.sendEvent(e,`widget.data`,l)}},`${e}-${n}-${A}`)]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Loe,{open:k,onOpenChange:P,extensionId:e,extensionName:_,permissions:S,onConfirm:()=>{Poe(e,S),D({type:`patch`,patch:{allowed:!0}})}}),k?null:(0,Q.jsxs)(`div`,{className:a?`${a} rounded-lg border border-edge border-dashed bg-surface-base p-4 text-sm text-fg-muted`:`rounded-lg border border-edge border-dashed bg-surface-base p-4 text-sm text-fg-muted`,children:[(0,Q.jsx)(`p`,{children:d.deniedHint}),(0,Q.jsx)(`button`,{type:`button`,className:`mt-2 text-sm font-medium text-accent underline-offset-2 hover:underline`,onClick:()=>D({type:`patch`,patch:{dialogOpen:!0}}),children:d.reviewPermissions})]})]})}function Woe(e){let t=(0,Z.c)(8),{extensionId:n,extensionName:r,entrypoint:i,title:a,toolResult:o,maxHeight:s,interactive:c,permissions:l}=e,u=s===void 0?400:s,d;return t[0]!==i||t[1]!==n||t[2]!==r||t[3]!==u||t[4]!==l||t[5]!==a||t[6]!==o?(d=(0,Q.jsx)(`div`,{className:`mt-2 w-full min-w-0 overflow-hidden rounded-xl border border-edge bg-surface-base`,children:(0,Q.jsx)(E7,{extensionId:n,extensionName:r,entrypoint:i,permissions:l,title:a,className:`w-full`,minHeight:80,maxHeight:u,initialData:o})}),t[0]=i,t[1]=n,t[2]=r,t[3]=u,t[4]=l,t[5]=a,t[6]=o,t[7]=d):d=t[7],d}function Goe(e){let t=Kz();return(0,Y.useMemo)(()=>{for(let n of t){let t=n.ui?.contributions?.chatWidgets;if(t){for(let r of t)if(r.match.toolName&&r.match.toolName===e)return{...r,extensionId:n.id}}}return null},[t,e])}var Koe=(0,Y.memo)(function(e){let t=(0,Z.c)(2),{active:n}=e;if(n){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ey,{className:`mt-0.5 size-4 shrink-0 animate-spin text-accent-fg`,"aria-hidden":!0}),t[0]=e):e=t[0],e}let r;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Q.jsx)($d,{className:`mt-0.5 size-4 shrink-0 text-emerald-600 dark:text-emerald-400`,"aria-hidden":!0}),t[1]=r):r=t[1],r}),D7=(0,Y.memo)(function({active:e,roundStartRef:t,frozenMs:n,language:r,className:i}){let[,a]=(0,Y.useState)(0);(0,Y.useEffect)(()=>{if(!e)return;let t=window.setInterval(()=>a(e=>e+1),500);return()=>window.clearInterval(t)},[e]);let o=t.current,s=e&&o!=null?Math.max(0,Date.now()-o):0,c=e&&o!=null?x7(s,r):n==null?null:x7(n,r);return c?(0,Q.jsx)(`span`,{className:i,children:c}):null});function qoe({blocks:e,toolLabels:t,stepLabels:n,clusterLabels:r,cardLabels:i,sessionKey:a,isMessageStreaming:o=!1,finalAnswerStarted:s=!1}){let c=v(e=>e.language),l=(0,Y.useMemo)(()=>o7(e),[e]),d=l.length,f=l.some(e=>e.type===`thinking`&&e.streaming||e.type===`tool_use`&&e.status===`running`),p=!!o&&!s,m=(0,Y.useRef)(null),h=(0,Y.useRef)(p),[g,_]=(0,Y.useState)(null),[y,b]=(0,Y.useState)(null);f&&m.current===null&&(m.current=Date.now()),(0,Y.useEffect)(()=>{p&&!h.current?(b(null),_(null)):!p&&h.current&&(m.current!==null&&_(Date.now()-m.current),b(!1)),h.current=p},[p]);let x=y??p,S=(0,Y.useMemo)(()=>f?``:loe(l,r.done,r.join,c,s7(d,n)),[f,l,c,d,n,r]),C=(0,Y.useMemo)(()=>f?uoe(l,r.ing):null,[f,l,r]);if(d===0)return null;let w={thoughts:n.thoughts,thoughtsStreaming:n.thoughtsStreaming,searchedWeb:n.searchedWeb,readFile:n.readFile,stepDetails:n.stepDetails,runCommand:n.runCommand,listDirectory:n.listDirectory,writeFile:n.writeFile,editFile:n.editFile,openUrl:n.openUrl,fetchUrl:n.fetchUrl,unknownTool:n.unknownTool},T=f?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{className:`[overflow-wrap:anywhere]`,children:C??s7(d,n)}),(0,Q.jsx)(D7,{active:f,roundStartRef:m,frozenMs:null,language:c,className:`ml-1.5 tabular-nums text-fg-muted`})]}):(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsx)(`span`,{className:`[overflow-wrap:anywhere]`,children:S})}),E=f?null:(0,Q.jsx)(D7,{active:!1,roundStartRef:m,frozenMs:g,language:c,className:`mt-0.5 tabular-nums text-xs text-fg-muted`});return(0,Q.jsxs)(`div`,{className:`my-1 w-full min-w-0 overflow-hidden rounded-xl bg-surface-hover/50 dark:bg-surface-hover/30`,children:[(0,Q.jsxs)(`button`,{type:`button`,className:u(`grid w-full min-w-0 grid-cols-[auto_minmax(0,1fr)_auto_auto] items-start gap-x-2 rounded-t-xl px-3 py-2 text-left`,$.transition,`hover:bg-surface-hover/80 dark:hover:bg-surface-hover/50`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-panel`),onClick:()=>b(e=>!(e??p)),"aria-expanded":x,children:[(0,Q.jsx)(Koe,{active:f}),(0,Q.jsx)(`div`,{className:`min-w-0`,children:(0,Q.jsx)(`span`,{className:`inline-flex max-w-full flex-wrap items-baseline rounded-md bg-accent-soft/70 px-2 py-0.5 text-xs font-medium text-fg dark:bg-accent-soft/40`,children:T})}),(0,Q.jsx)(`span`,{className:`flex items-start justify-end`,children:E}),(0,Q.jsx)(Td,{className:u(`mt-0.5 size-4 shrink-0 text-fg-muted transition-transform`,x&&`rotate-180`),"aria-hidden":!0})]}),x?(0,Q.jsx)(`div`,{className:`border-t border-edge-subtle/90 px-3 pb-3 pt-2 dark:border-edge-subtle`,children:(0,Q.jsx)(Joe,{blocks:e,toolLabels:t,stepLabels:w,cardLabels:i,sessionKey:a})}):null]})}function Joe(e){let t=(0,Z.c)(23),{blocks:n,toolLabels:r,stepLabels:i,cardLabels:a,className:o,sessionKey:s}=e,c,l,d,f;if(t[0]!==n||t[1]!==a||t[2]!==o||t[3]!==s||t[4]!==i||t[5]!==r){f=Symbol.for(`react.early_return_sentinel`);bb0:{let e=o7(n);if(e.length===0){f=null;break bb0}t[10]===o?d=t[11]:(d=u(`min-w-0 overflow-x-hidden`,o),t[10]=o,t[11]=d),c=`ml-1 min-w-0 space-y-3 border-l border-edge-subtle pl-3 dark:border-edge-subtle`;let p;t[12]!==a||t[13]!==s||t[14]!==i||t[15]!==r?(p=(e,t)=>(0,Q.jsx)(Zoe,{block:e,toolLabels:r,stepLabels:i,cardLabels:a,sessionKey:s},e.type===`tool_use`?e.id:`thinking-${t}`),t[12]=a,t[13]=s,t[14]=i,t[15]=r,t[16]=p):p=t[16],l=e.map(p)}t[0]=n,t[1]=a,t[2]=o,t[3]=s,t[4]=i,t[5]=r,t[6]=c,t[7]=l,t[8]=d,t[9]=f}else c=t[6],l=t[7],d=t[8],f=t[9];if(f!==Symbol.for(`react.early_return_sentinel`))return f;let p;t[17]!==c||t[18]!==l?(p=(0,Q.jsx)(`div`,{className:c,children:l}),t[17]=c,t[18]=l,t[19]=p):p=t[19];let m;return t[20]!==d||t[21]!==p?(m=(0,Q.jsx)(`div`,{className:d,children:p}),t[20]=d,t[21]=p,t[22]=m):m=t[22],m}function Yoe(e){let t=(0,Z.c)(15),{toolName:n,toolResult:r}=e,i=Kz(),a=Goe(n);if(!a||i.length===0)return null;let o;if(t[0]!==i||t[1]!==a.extensionId){let e;t[3]===a.extensionId?e=t[4]:(e=e=>e.id===a.extensionId,t[3]=a.extensionId,t[4]=e),o=i.find(e),t[0]=i,t[1]=a.extensionId,t[2]=o}else o=t[2];let s=o,c=s?.name??a.extensionId,l=a.maxHeight??400,u=a.interactive??!1,d=s?.ui?.permissions,f;return t[5]!==c||t[6]!==l||t[7]!==u||t[8]!==d||t[9]!==r||t[10]!==a.entrypoint||t[11]!==a.extensionId||t[12]!==a.id||t[13]!==a.title?(f=(0,Q.jsx)(Woe,{extensionId:a.extensionId,extensionName:c,widgetId:a.id,entrypoint:a.entrypoint,title:a.title,toolResult:r,maxHeight:l,interactive:u,permissions:d}),t[5]=c,t[6]=l,t[7]=u,t[8]=d,t[9]=r,t[10]=a.entrypoint,t[11]=a.extensionId,t[12]=a.id,t[13]=a.title,t[14]=f):f=t[14],f}var Xoe=new Set([`readFile`,`editFile`,`writeFile`,`runCommand`,`fetchUrl`]);function Zoe(e){let t=(0,Z.c)(97),{block:n,toolLabels:r,stepLabels:i,cardLabels:a,sessionKey:o}=e,s=b7(Qoe),c;bb0:{if(n.type!==`tool_use`){c=``;break bb0}if(n.status===`running`){c=``;break bb0}let e=n.result;if(e==null){c=``;break bb0}if(typeof e==`string`){let n;t[0]===e?n=t[1]:(n=e.trim(),t[0]=e,t[1]=n),c=n;break bb0}try{let n;t[2]===e?n=t[3]:(n=JSON.stringify(e,null,2),t[2]=e,t[3]=n),c=n}catch{c=String(e)}}let l=c,u;bb1:{if(n.type!==`tool_use`||n.status===`running`||n.status===`error`){let e;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e=[],t[4]=e):e=t[4],u=e;break bb1}if(!V5.has(n.name)){let e;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(e=[],t[5]=e):e=t[5],u=e;break bb1}if(!l){let e;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=[],t[6]=e):e=t[6],u=e;break bb1}let e;t[7]===l?e=t[8]:(e=R5(l),t[7]=l,t[8]=e),u=e}let d=u,f;bb2:{if(n.type!==`tool_use`||n.status===`running`){f=null;break bb2}if(n.name!==`browser_use`){f=null;break bb2}let e;t[9]===l?e=t[10]:(e=Noe(l),t[9]=l,t[10]=e),f=e}let p=f;if(n.type===`thinking`){let e=!!n.streaming,r;t[11]===n.text?r=t[12]:(r=n.text?.trim()??``,t[11]=n.text,t[12]=r);let a=r;if(!a&&!e)return null;let o;t[13]===e?o=t[14]:(o=(0,Q.jsx)(`div`,{className:`mt-0.5 shrink-0`,children:e?(0,Q.jsx)(Ey,{className:`size-4 animate-spin text-fg-muted`,"aria-hidden":!0}):(0,Q.jsx)($d,{className:`size-4 text-emerald-600 dark:text-emerald-400`,"aria-hidden":!0})}),t[13]=e,t[14]=o);let s=e?i.thoughtsStreaming:i.thoughts,c;t[15]===s?c=t[16]:(c=(0,Q.jsx)(`span`,{className:`inline-flex max-w-full min-w-0 break-words rounded-md bg-accent-soft/60 px-1.5 py-0.5 text-xs font-medium text-fg [overflow-wrap:anywhere] dark:bg-accent-soft/35`,children:s}),t[15]=s,t[16]=c);let l;t[17]!==e||t[18]!==a?(l=a?(0,Q.jsx)(`p`,{className:`line-clamp-4 whitespace-pre-wrap break-words text-xs leading-relaxed text-fg-muted [overflow-wrap:anywhere]`,children:a}):e?(0,Q.jsx)(`p`,{className:`text-xs text-fg-muted`,children:`…`}):null,t[17]=e,t[18]=a,t[19]=l):l=t[19];let u;t[20]!==c||t[21]!==l?(u=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[c,l]}),t[20]=c,t[21]=l,t[22]=u):u=t[22];let d;return t[23]!==o||t[24]!==u?(d=(0,Q.jsxs)(`div`,{className:`flex min-w-0 gap-2.5`,children:[o,u]}),t[23]=o,t[24]=u,t[25]=d):d=t[25],d}let m=n.status===`running`,h=n.status===`error`,g=l??``;if(g)try{let e;t[26]===g?e=t[27]:(e=JSON.stringify(JSON.parse(g),null,2),t[26]=g,t[27]=e),g=e}catch{}let _,v;t[28]===n.name?(_=t[29],v=t[30]):(_=n7(n.name),v=Xoe.has(_),t[28]=n.name,t[29]=_,t[30]=v);let y=v,b;t[31]!==n.name||t[32]!==i.editFile||t[33]!==i.fetchUrl||t[34]!==i.listDirectory||t[35]!==i.openUrl||t[36]!==i.readFile||t[37]!==i.runCommand||t[38]!==i.searchedWeb||t[39]!==i.unknownTool||t[40]!==i.writeFile?(b=Zae(n.name,{searchedWeb:i.searchedWeb,readFile:i.readFile,runCommand:i.runCommand,listDirectory:i.listDirectory,writeFile:i.writeFile,editFile:i.editFile,openUrl:i.openUrl,fetchUrl:i.fetchUrl,unknownTool:i.unknownTool}),t[31]=n.name,t[32]=i.editFile,t[33]=i.fetchUrl,t[34]=i.listDirectory,t[35]=i.openUrl,t[36]=i.readFile,t[37]=i.runCommand,t[38]=i.searchedWeb,t[39]=i.unknownTool,t[40]=i.writeFile,t[41]=b):b=t[41];let x=b,S;t[42]===n.input?S=t[43]:(S=$5(n.input),t[42]=n.input,t[43]=S);let C=S,w;t[44]===n.input?w=t[45]:(w=n.input===void 0?``:Qae(n.input),t[44]=n.input,t[45]=w);let T=w,E;t[46]!==n||t[47]!==a||t[48]!==y||t[49]!==_?(E=y?_===`readFile`?(0,Q.jsx)(yoe,{block:n,labels:a}):_===`editFile`?(0,Q.jsx)(Soe,{block:n,labels:a}):_===`writeFile`?(0,Q.jsx)(woe,{block:n,labels:a}):_===`runCommand`?(0,Q.jsx)(Eoe,{block:n,labels:a}):_===`fetchUrl`?(0,Q.jsx)(Doe,{block:n,labels:a}):null:null,t[46]=n,t[47]=a,t[48]=y,t[49]=_,t[50]=E):E=t[50];let D=E,O=!m&&(s||!y&&!p),k;t[51]!==h||t[52]!==m?(k=(0,Q.jsx)(`div`,{className:`mt-0.5 shrink-0`,children:m?(0,Q.jsx)(Ey,{className:`size-4 animate-spin text-fg-muted`,"aria-hidden":!0}):h?(0,Q.jsx)(Pf,{className:`size-4 text-red-600 dark:text-red-400`,"aria-hidden":!0}):(0,Q.jsx)($d,{className:`size-4 text-emerald-600 dark:text-emerald-400`,"aria-hidden":!0})}),t[51]=h,t[52]=m,t[53]=k):k=t[53];let A;t[54]===x?A=t[55]:(A=(0,Q.jsx)(`span`,{className:`inline-flex max-w-full min-w-0 break-words rounded-md bg-accent-soft/60 px-1.5 py-0.5 text-xs font-medium text-fg [overflow-wrap:anywhere] dark:bg-accent-soft/35`,children:x}),t[54]=x,t[55]=A);let j;t[56]!==h||t[57]!==m?(j=m?(0,Q.jsx)(`span`,{className:`text-xs text-fg-disabled`,children:`running…`}):h?(0,Q.jsx)(`span`,{className:`text-xs text-red-600 dark:text-red-400`,children:`error`}):null,t[56]=h,t[57]=m,t[58]=j):j=t[58];let M;t[59]!==A||t[60]!==j?(M=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1`,children:[A,j]}),t[59]=A,t[60]=j,t[61]=M):M=t[61];let N;t[62]!==C||t[63]!==y?(N=!y&&C?(0,Q.jsx)(`p`,{className:`min-w-0 rounded-md bg-accent-soft/40 px-1.5 py-1 text-xs break-words text-fg-muted [overflow-wrap:anywhere] dark:bg-accent-soft/25`,children:C}):null,t[62]=C,t[63]=y,t[64]=N):N=t[64];let P;t[65]!==a||t[66]!==y||t[67]!==g||t[68]!==T||t[69]!==O||t[70]!==i.stepDetails||t[71]!==r?(P=O?(0,Q.jsxs)(`details`,{className:`group min-w-0 text-xs`,children:[(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-fg-subtle underline-offset-2 hover:text-fg-muted group-open:text-fg-muted`,children:y?a.rawDetails:i.stepDetails}),(0,Q.jsxs)(`div`,{className:`mt-2 max-h-48 w-full min-w-0 max-w-full overflow-y-auto overflow-x-hidden rounded-md bg-surface-hover/60 p-2 font-mono dark:bg-surface-hover/35`,children:[T?(0,Q.jsxs)(`div`,{className:`mb-2 min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-0.5 text-[10px] uppercase tracking-wide text-fg-disabled`,children:r.input}),(0,Q.jsx)(`pre`,{className:`whitespace-pre-wrap break-words text-fg-muted [overflow-wrap:anywhere]`,children:T})]}):null,(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-0.5 text-[10px] uppercase tracking-wide text-fg-disabled`,children:r.output}),(0,Q.jsx)(`pre`,{className:`whitespace-pre-wrap break-words text-fg-muted [overflow-wrap:anywhere]`,children:g||r.noOutput})]})]})]}):null,t[65]=a,t[66]=y,t[67]=g,t[68]=T,t[69]=O,t[70]=i.stepDetails,t[71]=r,t[72]=P):P=t[72];let F;t[73]!==n.name||t[74]!==n.result||t[75]!==h||t[76]!==m?(F=!m&&!h?(0,Q.jsx)(Yoe,{toolName:n.name,toolResult:n.result}):null,t[73]=n.name,t[74]=n.result,t[75]=h,t[76]=m,t[77]=F):F=t[77];let I;t[78]!==d||t[79]!==h||t[80]!==m||t[81]!==o?(I=!m&&!h&&d.length>0?(0,Q.jsx)(B5,{paths:d,sessionKey:o}):null,t[78]=d,t[79]=h,t[80]=m,t[81]=o,t[82]=I):I=t[82];let L;t[83]!==p||t[84]!==m?(L=!m&&p?(0,Q.jsx)(koe,{payload:p}):null,t[83]=p,t[84]=m,t[85]=L):L=t[85];let R;t[86]!==D||t[87]!==M||t[88]!==N||t[89]!==P||t[90]!==F||t[91]!==I||t[92]!==L?(R=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1.5`,children:[M,D,N,P,F,I,L]}),t[86]=D,t[87]=M,t[88]=N,t[89]=P,t[90]=F,t[91]=I,t[92]=L,t[93]=R):R=t[93];let z;return t[94]!==R||t[95]!==k?(z=(0,Q.jsxs)(`div`,{className:`flex min-w-0 gap-2.5`,children:[k,R]}),t[94]=R,t[95]=k,t[96]=z):z=t[96],z}function Qoe(e){return e.showRawToolData}function $oe(e){let t=[],n=(n,r)=>{let i=new RegExp(n.source,n.flags),a;for(;(a=i.exec(e))!==null;)t.push({start:a.index,end:a.index+a[0].length,seg:r(a)})};n(YQ(),e=>({kind:`skill`,name:e[1]??``})),n(_3(),e=>({kind:`file`,path:h3(e)}));for(let n of s$(e))t.push({start:n.start,end:n.end,seg:{kind:`command`,name:e.slice(n.start+1,n.end)}});t.sort((e,t)=>e.start===t.start?t.end-e.end:e.start-t.start);let r=[],i=0;for(let n of t)n.start<i||(n.start>i&&r.push({kind:`text`,text:e.slice(i,n.start)}),r.push(n.seg),i=n.end);return i<e.length&&r.push({kind:`text`,text:e.slice(i)}),r.length===0&&r.push({kind:`text`,text:e}),r}function ese(e){let t=e.replace(/\/$/,``);return`@${t.split(`/`).pop()??t}`}function tse(e){return e.kind===`text`?`t:${e.text}`:e.kind===`skill`?`s:${e.name}`:e.kind===`file`?`f:${e.path}`:`c:${e.name}`}var nse=(0,Y.memo)(function(e){let t=(0,Z.c)(10),{text:n}=e,r;t[0]===n?r=t[1]:(r=$oe(n),t[0]=n,t[1]=r);let i=r,a;if(t[2]!==i){let e=new Map;a=i.map(t=>{let n=tse(t),r=e.get(n)??0;return e.set(n,r+1),{part:t,key:`${n}#${String(r)}`}}),t[2]=i,t[3]=a}else a=t[3];let o=a;if(!i.some(rse)){let e;return t[4]===n?e=t[5]:(e=(0,Q.jsx)(`div`,{className:`markdown-content min-w-0`,children:(0,Q.jsx)(aY,{content:n,compact:!0,breaks:!0})}),t[4]=n,t[5]=e),e}let s;t[6]===o?s=t[7]:(s=o.map(ise),t[6]=o,t[7]=s);let c;return t[8]===s?c=t[9]:(c=(0,Q.jsx)(`span`,{className:`inline-flex max-w-full flex-wrap items-baseline gap-x-1.5 gap-y-1 [text-align:inherit]`,children:s}),t[8]=s,t[9]=c),c});function rse(e){return e.kind!==`text`}function ise(e){let{part:t,key:n}=e;return t.kind===`skill`?(0,Q.jsxs)(`span`,{className:`chat-skill-pill max-w-full shrink-0`,"data-skill":t.name,children:[`/`,t.name]},n):t.kind===`command`?(0,Q.jsxs)(`span`,{className:`chat-command-pill max-w-full shrink-0`,"data-slash-command":t.name,children:[`/`,t.name]},n):t.kind===`file`?(0,Q.jsx)(`span`,{className:`chat-file-pill max-w-full shrink-0`,"data-file":t.path,children:ese(t.path)},n):t.text?(0,Q.jsx)(`div`,{className:`markdown-content inline-block min-w-0 max-w-full align-baseline text-fg`,children:(0,Q.jsx)(aY,{content:t.text,compact:!0,breaks:!0})},n):null}function O7(e,t){return`${e.timestamp??`n`}-${t}`}var ase=(0,Y.memo)(function(e){let t=(0,Z.c)(14),{messages:n,authToken:r,sessionKey:i,reasoningLevel:a,compact:o}=e,s=a===void 0?`stream`:a,c=o===void 0?!0:o;if(n.length===0)return null;let l=c?`flex w-full min-w-0 flex-col gap-5`:`flex w-full min-w-0 flex-col gap-10`,u;if(t[0]!==r||t[1]!==c||t[2]!==n||t[3]!==s||t[4]!==i){let e;t[6]!==r||t[7]!==c||t[8]!==s||t[9]!==i?(e=(e,t)=>(0,Q.jsx)(g9,{message:e,authToken:r,sessionKey:i,isStreaming:!1,progress:null,reasoningLevel:s,messageIndex:t,deleteRoundDisabled:!0,readonly:!0,density:c?`compact`:`normal`},O7(e,t)),t[6]=r,t[7]=c,t[8]=s,t[9]=i,t[10]=e):e=t[10],u=n.map(e),t[0]=r,t[1]=c,t[2]=n,t[3]=s,t[4]=i,t[5]=u}else u=t[5];let d;return t[11]!==l||t[12]!==u?(d=(0,Q.jsx)(`div`,{className:l,children:u}),t[11]=l,t[12]=u,t[13]=d):d=t[13],d}),ose=`workflow`;function k7(e){return e.name===ose}function A7(e){if(e.result!=null){let t=j7(u7(e.result).details);if(t)return t}return j7(e.details)}function j7(e){if(!e||typeof e!=`object`)return null;let t=e;return typeof t.name!=`string`||!Array.isArray(t.agents)?null:e}function sse(e){return e.status===`running`?`running`:M7(e)||e.status===`error`?`failed`:`completed`}function M7(e){if(e.status===`error`)return!0;let t=F7(e).toLowerCase().trim();return!!(t.startsWith(`workflow failed`)||t.startsWith(`workflow:`)||t.includes(`parse error`)||t.includes(`snake_case`)||t.includes(`workflow aborted`)||t.includes(`timed out`)||N7(e))}function cse(e){let t=A7(e),n=F7(e).trim(),r=N7(e);return{headline:lse(n,r),detailLines:use(n,r,t),snapshot:t,logs:t?.logs??[],failedAgents:t?.agents.filter(e=>e.status===`error`||e.status===`skipped`||!!e.error?.trim())??[]}}function N7(e){if(e.details!=null&&typeof e.details==`object`){let t=e.details.error;if(typeof t==`string`&&t.trim())return t.trim()}if(e.result!=null){let t=u7(e.result).details?.error;if(typeof t==`string`&&t.trim())return t.trim()}return``}function lse(e,t){let n=t||e;if(!n)return`workflow failed`;let r=n.replace(/^workflow failed:\s*/i,``).trim();return r&&r!==n?r:n.length>140?`${n.slice(0,137)}…`:n}function use(e,t,n){let r=[],i=e=>{let t=e.trim();t&&!r.includes(t)&&r.push(t)};e&&i(e),t&&t!==e&&i(t);for(let e of n?.logs??[])i(e);for(let e of n?.agents??[])e.error?.trim()?i(`${e.label}: ${e.error.trim()}`):e.status===`error`?i(`${e.label}: subagent failed`):e.status===`skipped`&&i(`${e.label}: skipped`);return r}function P7(e){let t=F7(e);if(!t)return`runtime_error`;let n=t.toLowerCase();return n.includes(`parse error`)||n.includes(`snake_case`)||n.includes(`first statement`)||n.startsWith(`workflow:`)?`parse_error`:n.includes(`abort`)?`aborted`:n.includes(`timed out`)||n.includes(`timeout`)?`timeout`:`runtime_error`}function F7(e){let t=N7(e);if(t)return t;if(e.result==null)return``;let n=u7(e.result);return n.text?n.text:typeof e.result==`string`?e.result:``}function I7(e){let t=e.agents.map(e=>e.phase).filter(e=>!!e),n=[],r=new Set;for(let i of[e.phases,t,e.currentPhase?[e.currentPhase]:[]])for(let e of i)r.has(e)||(r.add(e),n.push(e));let i=[],a=new Set;for(let t of n){let n=e.agents.filter(e=>e.phase===t);if(!(n.length===0&&e.currentPhase!==t)){for(let e of n)a.add(e.id);i.push(L7(t,n))}}let o=e.agents.filter(e=>!a.has(e.id));return{phases:i,unphased:o.length>0?L7(`unphased`,o):null}}function L7(e,t){let n=0,r=0,i=0,a=0;for(let e of t)e.status===`done`?n++:e.status===`running`?r++:e.status===`error`?i++:e.status===`skipped`&&a++;let o=t.length>0&&n+i+a===t.length;return{title:e,agents:t,done:n,running:r,errored:i,skipped:a,complete:o}}function R7(e){if(!Number.isFinite(e)||e<0)return``;let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let n=Math.floor(t/60),r=t%60;if(n<60)return r?`${n}m ${r}s`:`${n}m`;let i=Math.floor(n/60),a=n%60;return a?`${i}h ${a}m`:`${i}h`}function dse(e,t=Date.now()){return e.durationMs!=null&&Number.isFinite(e.durationMs)?e.durationMs:e.status===`running`&&e.startedAtMs!=null?Math.max(0,t-e.startedAtMs):null}function z7(e,t=Date.now()){let n=dse(e,t);return n==null?``:R7(n)}function fse(e){let t=String(e??``).toLowerCase();return t===`high`||t===`critical`||t===`h`?`high`:t===`med`||t===`medium`||t===`m`?`med`:t===`low`||t===`l`?`low`:`neutral`}function pse(e,t){switch(e.status){case`queued`:return t.statusQueued;case`running`:return t.statusRunning;case`done`:return t.statusDone;case`error`:return t.statusError;case`skipped`:return t.statusSkipped;default:return e.status}}function mse(e){return e===`done`?`bg-emerald-500/10 text-emerald-700 dark:text-emerald-300`:e===`error`?`bg-rose-500/10 text-rose-700 dark:text-rose-300`:e===`running`?`bg-accent-soft text-accent-fg`:`bg-surface-hover text-fg-subtle`}var B7=(0,Y.memo)(function(e){let t=(0,Z.c)(50),{open:n,agent:r,snapshot:i,sessionKey:a,ownerAgentId:o,onClose:s,labels:c}=e,l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=[],t[0]=l):l=t[0];let[d,f]=(0,Y.useState)(l),[p,m]=(0,Y.useState)(null),h=i?.runId,g=r?.id,_=r?.sessionKey,v,y;t[1]!==g||t[2]!==_||t[3]!==n||t[4]!==o||t[5]!==h?(v=()=>{if(!n||!h||g==null||!_){f([]),m(null);return}let e=!1,t=async()=>{try{let t=await o8(h,g,{ownerAgentId:o});if(e)return;f(t.messages),m(null)}catch(t){let n=t;if(e)return;m(n instanceof Error?n.message:String(n))}},r=e=>{let n=e.detail;(n?.key??n?.sessionKey)===_&&t()};return t(),window.addEventListener(`session-transcript-updated`,r),()=>{e=!0,window.removeEventListener(`session-transcript-updated`,r)}},y=[n,h,g,_,o],t[1]=g,t[2]=_,t[3]=n,t[4]=o,t[5]=h,t[6]=v,t[7]=y):(v=t[6],y=t[7]),(0,Y.useEffect)(v,y);let b=d,[,x]=(0,Y.useState)(0),S;t[8]!==r?.status||t[9]!==n||t[10]!==x?(S=()=>{if(!n||r?.status!==`running`)return;let e=window.setInterval(()=>x(hse),1e3);return()=>window.clearInterval(e)},t[8]=r?.status,t[9]=n,t[10]=x,t[11]=S):S=t[11];let C=r?.status,w;t[12]!==n||t[13]!==C?(w=[n,C],t[12]=n,t[13]=C,t[14]=w):w=t[14],(0,Y.useEffect)(S,w);let T,E,D,O,k,A,j,M,N;if(t[15]!==r||t[16]!==_||t[17]!==c||t[18]!==s||t[19]!==n||t[20]!==b||t[21]!==a||t[22]!==p||t[23]!==i){let e=r?z7(r):``,o=r!=null&&r.status===`running`&&b.length===0&&!r.currentStep;D=KL,k=n,t[33]===s?A=t[34]:(A=e=>!e&&s(),t[33]=s,t[34]=A),E=qL,t[35]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Q.jsx)(JL,{className:`xopc-dialog-overlay fixed inset-0 z-70 bg-scrim backdrop-blur-[1px]`}),t[35]=O):O=t[35],T=YL,j=`fixed left-1/2 top-1/2 z-71 flex h-[min(90vh,52rem)] w-[min(100%-2rem,64rem)] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-2xl border border-edge bg-surface-panel shadow-popover outline-none`,M=void 0,N=r?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{className:`flex min-w-0 shrink-0 items-center justify-between gap-3 border-b border-edge px-5 py-4`,children:[(0,Q.jsx)(XL,{className:`min-w-0 flex-1 truncate text-base font-semibold text-fg`,children:r.label}),(0,Q.jsx)(QL,{type:`button`,className:u(`inline-flex size-9 shrink-0 items-center justify-center rounded-md text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),"aria-label":c.close,children:(0,Q.jsx)(ZN,{className:`size-4`})})]}),(0,Q.jsxs)(`div`,{className:`shrink-0 space-y-3 border-b border-edge bg-surface-subtle/30 px-5 py-4`,children:[(0,Q.jsxs)(`div`,{className:`grid gap-2 sm:grid-cols-3`,children:[(0,Q.jsx)(V7,{label:c.statusHeading,children:(0,Q.jsx)(`span`,{className:u(`inline-flex rounded-full px-2 py-0.5 text-xs font-medium`,mse(r.status)),children:pse(r,c)})}),(0,Q.jsx)(V7,{label:c.phaseHeading,children:(0,Q.jsx)(`span`,{className:`truncate text-xs font-medium text-fg-muted`,children:r.phase||`-`})}),(0,Q.jsx)(V7,{label:c.elapsedHeading,children:(0,Q.jsx)(`span`,{className:`truncate text-xs font-medium tabular-nums text-fg-muted`,children:e?c.workedFor(e):`-`})})]}),(0,Q.jsxs)(`section`,{className:`rounded-lg border border-edge-subtle bg-surface-panel p-3`,children:[(0,Q.jsx)(`div`,{className:`text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:c.currentStepHeading}),(0,Q.jsx)(`div`,{className:`mt-1 wrap-break-word text-sm font-medium text-fg`,children:r.currentStep||(r.status===`running`?c.runningPlaceholder:`-`)})]})]}),(0,Q.jsxs)(`div`,{className:`grid min-h-0 flex-1 gap-4 overflow-y-auto px-5 py-4 lg:grid-cols-[minmax(0,1.4fr)_minmax(18rem,0.9fr)]`,children:[(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-2 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:c.executionHeading}),o?(0,Q.jsx)(`div`,{className:`text-xs text-fg-subtle`,children:c.runningPlaceholder}):null,p?(0,Q.jsx)(`div`,{className:`mb-2 rounded-md border border-edge-subtle bg-surface-hover/30 px-2 py-1 text-xs text-fg-subtle`,children:p}):null,b.length>0?(0,Q.jsx)(ase,{messages:b,sessionKey:_??a,reasoningLevel:`stream`,compact:!0}):null]}),(0,Q.jsxs)(`aside`,{className:`min-w-0 space-y-4`,children:[(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:c.promptHeading}),(0,Q.jsx)(`pre`,{className:`mt-2 max-h-[min(38vh,18rem)] min-w-0 overflow-y-auto whitespace-pre-wrap wrap-break-word rounded-md border border-edge-subtle bg-surface-hover/30 p-2 font-mono text-xs text-fg-muted`,children:r.prompt})]}),i&&i.logs.length>0?(0,Q.jsxs)(`section`,{className:`min-w-0 border-t border-edge-subtle pt-4`,children:[(0,Q.jsx)(`div`,{className:`text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:c.logsHeading}),(0,Q.jsx)(`div`,{className:`mt-2 max-h-[min(32vh,14rem)] space-y-0.5 overflow-y-auto font-mono text-xs text-fg-subtle`,children:i.logs.map(gse)})]}):null]})]})]}):null,t[15]=r,t[16]=_,t[17]=c,t[18]=s,t[19]=n,t[20]=b,t[21]=a,t[22]=p,t[23]=i,t[24]=T,t[25]=E,t[26]=D,t[27]=O,t[28]=k,t[29]=A,t[30]=j,t[31]=M,t[32]=N}else T=t[24],E=t[25],D=t[26],O=t[27],k=t[28],A=t[29],j=t[30],M=t[31],N=t[32];let P;t[36]!==T||t[37]!==j||t[38]!==M||t[39]!==N?(P=(0,Q.jsx)(T,{className:j,"aria-describedby":M,children:N}),t[36]=T,t[37]=j,t[38]=M,t[39]=N,t[40]=P):P=t[40];let F;t[41]!==E||t[42]!==O||t[43]!==P?(F=(0,Q.jsxs)(E,{children:[O,P]}),t[41]=E,t[42]=O,t[43]=P,t[44]=F):F=t[44];let I;return t[45]!==D||t[46]!==k||t[47]!==A||t[48]!==F?(I=(0,Q.jsx)(D,{open:k,onOpenChange:A,children:F}),t[45]=D,t[46]=k,t[47]=A,t[48]=F,t[49]=I):I=t[49],I});function V7(e){let t=(0,Z.c)(7),{label:n,children:r}=e,i;t[0]===n?i=t[1]:(i=(0,Q.jsx)(`div`,{className:`text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:n}),t[0]=n,t[1]=i);let a;t[2]===r?a=t[3]:(a=(0,Q.jsx)(`div`,{className:`mt-1 min-w-0`,children:r}),t[2]=r,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=(0,Q.jsxs)(`div`,{className:`rounded-lg border border-edge-subtle bg-surface-panel px-3 py-2`,children:[i,a]}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}function hse(e){return e+1}function gse(e){return(0,Q.jsx)(`div`,{className:`wrap-break-word`,children:e},e)}var _se=(0,Y.memo)(function(e){let t=(0,Z.c)(38),{name:n,description:r,status:i,doneCount:a,totalCount:o,durationText:s,metaText:c,collapsed:l,onToggleCollapsed:d,actions:f,labels:p}=e,m=o>0?`${a}/${o}`:i===`running`?`…`:`0`,h;t[0]!==m||t[1]!==s||t[2]!==p||t[3]!==c||t[4]!==i?(h=c??(i===`running`?p.runningMeta(m,s):i===`completed`?p.completedMeta(m,s):p.failedMeta),t[0]=m,t[1]=s,t[2]=p,t[3]=c,t[4]=i,t[5]=h):h=t[5];let g=h,_=i===`failed`&&`border-rose-300/40`,v;t[6]===_?v=t[7]:(v=u(`flex min-w-0 items-center gap-2 border-b border-edge-subtle px-3 py-2`,_),t[6]=_,t[7]=v);let y;t[8]===i?y=t[9]:(y=(0,Q.jsx)(`span`,{"aria-hidden":!0,className:`shrink-0 text-fg-subtle`,children:i===`running`?(0,Q.jsx)(Ey,{className:`size-4 animate-spin text-accent-fg`}):(0,Q.jsx)(vv,{className:`size-4`})}),t[8]=i,t[9]=y);let b;t[10]===n?b=t[11]:(b=(0,Q.jsx)(`div`,{className:`min-w-0 shrink truncate text-base font-semibold tracking-tight text-fg`,children:n}),t[10]=n,t[11]=b);let x;t[12]===g?x=t[13]:(x=(0,Q.jsx)(`div`,{className:`min-w-0 flex-1 truncate text-xs tabular-nums text-fg-subtle`,children:g}),t[12]=g,t[13]=x);let S;t[14]!==b||t[15]!==x?(S=(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-baseline gap-2`,children:[b,x]}),t[14]=b,t[15]=x,t[16]=S):S=t[16];let C;t[17]===r?C=t[18]:(C=r?(0,Q.jsx)(`div`,{className:`mt-0.5 line-clamp-1 text-xs text-fg-subtle`,children:r}):null,t[17]=r,t[18]=C);let w;t[19]!==S||t[20]!==C?(w=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[S,C]}),t[19]=S,t[20]=C,t[21]=w):w=t[21];let T;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(T=u(`inline-flex size-7 items-center justify-center rounded-md`,`text-fg-muted hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),t[22]=T):T=t[22];let E=l?p.expand:p.collapse,D=l?p.expand:p.collapse,O;t[23]===l?O=t[24]:(O=l?(0,Q.jsx)(Td,{className:`size-4`}):(0,Q.jsx)(Ad,{className:`size-4`}),t[23]=l,t[24]=O);let k;t[25]!==d||t[26]!==E||t[27]!==D||t[28]!==O?(k=(0,Q.jsx)(`button`,{type:`button`,onClick:d,className:T,"aria-label":E,title:D,children:O}),t[25]=d,t[26]=E,t[27]=D,t[28]=O,t[29]=k):k=t[29];let A;t[30]!==f||t[31]!==k?(A=(0,Q.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[f,k]}),t[30]=f,t[31]=k,t[32]=A):A=t[32];let j;return t[33]!==A||t[34]!==v||t[35]!==y||t[36]!==w?(j=(0,Q.jsxs)(`div`,{className:v,children:[y,w,A]}),t[33]=A,t[34]=v,t[35]=y,t[36]=w,t[37]=j):j=t[37],j}),vse={queued:(0,Q.jsx)(af,{className:`size-3.5 shrink-0 text-fg-disabled`,"aria-hidden":!0}),running:(0,Q.jsx)(Ey,{className:`size-3.5 shrink-0 animate-spin text-accent-fg`,"aria-hidden":!0}),done:(0,Q.jsx)($d,{className:`size-3.5 shrink-0 text-emerald-600 dark:text-emerald-400`,"aria-hidden":!0}),error:(0,Q.jsx)(Ud,{className:`size-3.5 shrink-0 text-rose-600 dark:text-rose-400`,"aria-hidden":!0}),skipped:(0,Q.jsx)(Of,{className:`size-3.5 shrink-0 text-fg-disabled`,"aria-hidden":!0})},H7=(0,Y.memo)(function(e){let t=(0,Z.c)(39),{agent:n,labels:r,selected:i,onSelect:a}=e,[,o]=(0,Y.useState)(0),s;t[0]!==n.status||t[1]!==o?(s=()=>{if(n.status!==`running`)return;let e=window.setInterval(()=>o(yse),1e3);return()=>window.clearInterval(e)},t[0]=n.status,t[1]=o,t[2]=s):s=t[2];let c;t[3]!==n.startedAtMs||t[4]!==n.status?(c=[n.status,n.startedAtMs],t[3]=n.startedAtMs,t[4]=n.status,t[5]=c):c=t[5],(0,Y.useEffect)(s,c);let l;t[6]===n.status?l=t[7]:(l=vse[n.status]??(0,Q.jsx)(lf,{className:`size-3.5 shrink-0`,"aria-hidden":!0}),t[6]=n.status,t[7]=l);let d=l,f;t[8]===n?f=t[9]:(f=z7(n),t[8]=n,t[9]=f);let p=f,m=n.status===`queued`?r.queued:n.status===`running`&&!n.currentStep?r.running:n.currentStep,h;t[10]!==n||t[11]!==a?(h=()=>a?.(n),t[10]=n,t[11]=a,t[12]=h):h=t[12];let g=`${r.openDetail}: ${n.label}`,_=i?`true`:void 0,v=i&&`bg-surface-hover/80 ring-1 ring-edge-subtle`,y;t[13]===v?y=t[14]:(y=u(`flex w-full min-w-0 flex-col gap-0.5 rounded-md px-1.5 py-0.5 text-left`,`text-sm leading-6 text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,v,$.transition,$.focusRingPanel),t[13]=v,t[14]=y);let b;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Q.jsx)(kd,{className:`size-3.5 shrink-0 text-fg-disabled`,"aria-hidden":!0}),t[15]=b):b=t[15];let x;t[16]!==n.id||t[17]!==r?(x=r.agentNumber(n.id),t[16]=n.id,t[17]=r,t[18]=x):x=t[18];let S;t[19]===x?S=t[20]:(S=(0,Q.jsx)(`span`,{className:`shrink-0 text-xs tabular-nums text-fg-disabled`,children:x}),t[19]=x,t[20]=S);let C;t[21]===n.label?C=t[22]:(C=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-fg`,children:n.label}),t[21]=n.label,t[22]=C);let w;t[23]===p?w=t[24]:(w=p?(0,Q.jsx)(`span`,{className:`shrink-0 text-[10px] tabular-nums text-fg-disabled`,children:p}):null,t[23]=p,t[24]=w);let T;t[25]!==d||t[26]!==S||t[27]!==C||t[28]!==w?(T=(0,Q.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[b,d,S,C,w]}),t[25]=d,t[26]=S,t[27]=C,t[28]=w,t[29]=T):T=t[29];let E;t[30]===m?E=t[31]:(E=m?(0,Q.jsx)(`span`,{className:`ml-7 truncate text-xs text-fg-subtle`,children:m}):null,t[30]=m,t[31]=E);let D;return t[32]!==T||t[33]!==E||t[34]!==h||t[35]!==g||t[36]!==_||t[37]!==y?(D=(0,Q.jsx)(`div`,{className:`min-w-0`,children:(0,Q.jsxs)(`button`,{type:`button`,onClick:h,"aria-label":g,"aria-current":_,className:y,children:[T,E]})}),t[32]=T,t[33]=E,t[34]=h,t[35]=g,t[36]=_,t[37]=y,t[38]=D):D=t[38],D});function yse(e){return e+1}var bse=(0,Y.memo)(function(e){let t=(0,Z.c)(76),{kind:n,reason:r,detailLines:i,logs:a,failedAgents:o,snapshot:s,scriptPreview:c,selectedAgentId:l,onSelectAgent:d,labels:f,className:p}=e,m=n===`parse_error`?f.titleParse:n===`aborted`?f.titleAbort:n===`timeout`?f.titleTimeout:f.titleRuntime,h;t[0]===r?h=t[1]:(h=r.trim()||`workflow failed`,t[0]=r,t[1]=h);let g=h,_;t[2]===a?_=t[3]:(_=a??[],t[2]=a,t[3]=_);let v=_,y;t[4]===o?y=t[5]:(y=o??[],t[4]=o,t[5]=y);let b=y;s?.agents;let x;t[6]===s?.agents?x=t[7]:(x=s?.agents??[],t[6]=s?.agents,t[7]=x);let S=x,C;if(t[8]!==i||t[9]!==g){C=[];let e=e=>{let t=e.trim();t&&!C.includes(t)&&C.push(t)};e(g);for(let t of i??[])e(t);t[8]=i,t[9]=g,t[10]=C}else C=t[10];let w=C.join(`
|
|
112
|
+
`),T;t[11]!==n||t[12]!==f.recoveryActions?(T=f.recoveryActions[n]??[],t[11]=n,t[12]=f.recoveryActions,t[13]=T):T=t[13];let E=T,D=s?.doneCount??0,O=s?.agentCount??0,k=b.length||s?.errorCount||0,A;t[14]!==w||t[15]!==v||t[16]!==E||t[17]!==c||t[18]!==S?(A=!!w||E.length>0||v.length>0||S.length>0||!!c?.trim(),t[14]=w,t[15]=v,t[16]=E,t[17]=c,t[18]=S,t[19]=A):A=t[19];let j=A,[M,N]=(0,Y.useState)(!1),[P,F]=(0,Y.useState)(!1),[I,L]=(0,Y.useState)(!1),R=!M,z;t[20]!==w||t[21]!==g?(z=async()=>{await GP(w||g)&&(L(!0),window.setTimeout(()=>L(!1),1500))},t[20]=w,t[21]=g,t[22]=z):z=t[22];let B=z,V=xse[n],H;t[23]===m?H=t[24]:(H=(0,Q.jsx)(`span`,{className:`shrink-0 text-sm font-semibold tracking-tight text-fg`,children:m}),t[23]=m,t[24]=H);let U;t[25]===g?U=t[26]:(U=(0,Q.jsx)(`span`,{className:`min-w-0 truncate text-sm text-fg-muted`,children:g}),t[25]=g,t[26]=U);let W;t[27]!==U||t[28]!==H?(W=(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-baseline gap-2`,children:[H,U]}),t[27]=U,t[28]=H,t[29]=W):W=t[29];let G;t[30]!==j||t[31]!==M||t[32]!==f.expandHint?(G=M&&j?(0,Q.jsx)(`div`,{className:`mt-0.5 text-xs text-fg-subtle`,children:f.expandHint}):null,t[30]=j,t[31]=M,t[32]=f.expandHint,t[33]=G):G=t[33];let K;t[34]!==W||t[35]!==G?(K=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[W,G]}),t[34]=W,t[35]=G,t[36]=K):K=t[36];let ee;t[37]===R?ee=t[38]:(ee=(0,Q.jsx)(`span`,{className:`inline-flex size-7 shrink-0 items-center justify-center rounded-md text-fg-muted`,"aria-hidden":!0,children:R?(0,Q.jsx)(Ad,{className:`size-4`}):(0,Q.jsx)(Td,{className:`size-4`})}),t[37]=R,t[38]=ee);let te;t[39]!==K||t[40]!==ee||t[41]!==V?(te=(0,Q.jsxs)(Q.Fragment,{children:[V,K,ee]}),t[39]=K,t[40]=ee,t[41]=V,t[42]=te):te=t[42];let ne=te,q;t[43]===p?q=t[44]:(q=u(`min-w-0 rounded-xl border border-edge bg-surface-panel shadow-surface`,p),t[43]=p,t[44]=q);let re;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(re=()=>N(Sse),t[45]=re):re=t[45];let ie=R?f.collapse:f.expand,ae=R?`rounded-t-xl border-b border-edge-subtle`:`rounded-xl`,J;t[46]===ae?J=t[47]:(J=u(`flex w-full min-w-0 items-center gap-2 px-3 py-2 text-left`,ae,`hover:bg-surface-hover`,$.transition,$.focusRingPanel),t[46]=ae,t[47]=J);let oe;t[48]!==ne||t[49]!==R||t[50]!==ie||t[51]!==J?(oe=(0,Q.jsx)(`button`,{type:`button`,onClick:re,"aria-expanded":R,"aria-label":ie,className:J,children:ne}),t[48]=ne,t[49]=R,t[50]=ie,t[51]=J,t[52]=oe):oe=t[52];let se;t[53]!==j||t[54]!==I||t[55]!==w||t[56]!==D||t[57]!==k||t[58]!==B||t[59]!==R||t[60]!==f||t[61]!==v||t[62]!==d||t[63]!==P||t[64]!==E||t[65]!==c||t[66]!==l||t[67]!==O||t[68]!==g||t[69]!==S?(se=R?(0,Q.jsxs)(`div`,{className:`space-y-3 px-3 py-2.5`,children:[(0,Q.jsxs)(`section`,{className:`min-w-0 rounded-lg bg-surface-hover/35 px-2.5 py-2`,children:[(0,Q.jsxs)(`div`,{className:`mb-1 flex min-w-0 items-center justify-between gap-2`,children:[(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>F(Cse),"aria-expanded":P,className:u(`inline-flex min-w-0 flex-1 items-center gap-1 text-left text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,`hover:text-fg-muted`,$.transition,$.focusRingPanel),children:[(0,Q.jsx)(`span`,{className:`truncate`,children:f.detailsHeading}),P?(0,Q.jsx)(Ad,{className:`size-3`}):(0,Q.jsx)(Td,{className:`size-3`})]}),(0,Q.jsxs)(`button`,{type:`button`,onClick:B,className:u(`inline-flex h-6 shrink-0 items-center gap-1 rounded-md px-1.5 text-xs text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),"aria-label":I?f.copyReasonDone:f.copyReason,title:I?f.copyReasonDone:f.copyReason,children:[I?(0,Q.jsx)(gd,{className:`size-3.5`}):(0,Q.jsx)(mm,{className:`size-3.5`}),(0,Q.jsx)(`span`,{children:I?f.copyReasonDone:f.copyReason})]})]}),P?(0,Q.jsx)(`pre`,{className:`max-h-36 min-w-0 overflow-y-auto whitespace-pre-wrap break-words rounded-md bg-surface-panel/60 p-2 font-sans text-sm leading-6 text-fg-muted`,children:w||g}):(0,Q.jsx)(`div`,{className:`truncate text-sm text-fg-muted`,title:g,children:g})]}),O>0?(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:f.impactHeading}),(0,Q.jsx)(`div`,{className:`text-sm text-fg-muted`,children:f.impactTpl(D,O,k)})]}):null,E.length>0?(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:f.recoveryHeading}),(0,Q.jsx)(`ul`,{className:`space-y-0.5 text-sm text-fg-muted`,children:E.map(wse)})]}):null,S.length>0?(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:f.executedAgentsHeading}),(0,Q.jsx)(`div`,{className:`space-y-0.5`,children:S.map(e=>(0,Q.jsx)(H7,{agent:e,labels:f.phase,selected:l===e.id,onSelect:d},e.id))})]}):null,v.length>0?(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:f.logsHeading}),(0,Q.jsx)(`pre`,{className:`max-h-48 min-w-0 overflow-y-auto whitespace-pre-wrap break-words rounded-md bg-surface-hover/60 p-2 font-mono text-xs text-fg-muted dark:bg-surface-hover/35`,children:v.join(`
|
|
113
|
+
`)})]}):null,c?.trim()?(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:f.scriptHeading}),(0,Q.jsx)(`pre`,{className:`max-h-60 min-w-0 overflow-y-auto whitespace-pre-wrap break-words rounded-md bg-surface-hover/60 p-2 font-mono text-xs text-fg-muted dark:bg-surface-hover/35`,children:c})]}):null,j?null:(0,Q.jsx)(`div`,{className:`text-xs text-fg-disabled`,children:f.noExtraDetails})]}):null,t[53]=j,t[54]=I,t[55]=w,t[56]=D,t[57]=k,t[58]=B,t[59]=R,t[60]=f,t[61]=v,t[62]=d,t[63]=P,t[64]=E,t[65]=c,t[66]=l,t[67]=O,t[68]=g,t[69]=S,t[70]=se):se=t[70];let ce;return t[71]!==q||t[72]!==oe||t[73]!==se||t[74]!==m?(ce=(0,Q.jsxs)(`div`,{className:q,role:`group`,"aria-label":m,children:[oe,se]}),t[71]=q,t[72]=oe,t[73]=se,t[74]=m,t[75]=ce):ce=t[75],ce}),xse={parse_error:(0,Q.jsx)(AS,{className:`size-4 shrink-0 text-rose-600 dark:text-rose-400`,"aria-hidden":!0}),aborted:(0,Q.jsx)(Pf,{className:`size-4 shrink-0 text-fg-muted`,"aria-hidden":!0}),timeout:(0,Q.jsx)(fj,{className:`size-4 shrink-0 text-amber-600 dark:text-amber-400`,"aria-hidden":!0}),runtime_error:(0,Q.jsx)(Uj,{className:`size-4 shrink-0 text-rose-600 dark:text-rose-400`,"aria-hidden":!0})};function Sse(e){return!e}function Cse(e){return!e}function wse(e){return(0,Q.jsxs)(`li`,{className:`flex gap-2`,children:[(0,Q.jsx)(`span`,{className:`text-fg-disabled`,children:`•`}),(0,Q.jsx)(`span`,{className:`min-w-0 break-words`,children:e})]},e)}var U7=(0,Y.memo)(function(e){let t=(0,Z.c)(49),{rollup:n,isCurrent:r,labels:i,selectedAgentId:a,onSelectAgent:o}=e,[s,c]=(0,Y.useState)(r||n.running>0||n.errored>0||n.skipped>0||!n.complete),l,d;t[0]===r?(l=t[1],d=t[2]):(l=()=>{r&&c(!0)},d=[r],t[0]=r,t[1]=l,t[2]=d),(0,Y.useEffect)(l,d);let f=n.agents.length,p;t[3]!==n.complete||t[4]!==n.running?(p=n.running>0?(0,Q.jsx)(Ey,{className:`size-3.5 shrink-0 animate-spin text-accent-fg`,"aria-hidden":!0}):n.complete?(0,Q.jsx)($d,{className:`size-3.5 shrink-0 text-emerald-600 dark:text-emerald-400`,"aria-hidden":!0}):(0,Q.jsx)(Ff,{className:`size-3.5 shrink-0 text-fg-disabled`,"aria-hidden":!0}),t[3]=n.complete,t[4]=n.running,t[5]=p):p=t[5];let m=p,h;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(h=()=>c(Tse),t[6]=h):h=t[6];let g;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(g=u(`flex w-full min-w-0 items-center gap-2 rounded-md px-1 py-1 text-left`,`text-sm font-medium text-fg`,`hover:bg-surface-hover`,$.transition,$.focusRingPanel),t[7]=g):g=t[7];let _=s&&`rotate-90`,v;t[8]===_?v=t[9]:(v=u(`size-3.5 shrink-0 text-fg-subtle transition-transform duration-150`,_),t[8]=_,t[9]=v);let y;t[10]===v?y=t[11]:(y=(0,Q.jsx)(kd,{className:v,"aria-hidden":!0}),t[10]=v,t[11]=y);let b;t[12]===n.title?b=t[13]:(b=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:n.title}),t[12]=n.title,t[13]=b);let x;t[14]!==i||t[15]!==n.done||t[16]!==f?(x=i.countTpl(n.done,f),t[14]=i,t[15]=n.done,t[16]=f,t[17]=x):x=t[17];let S;t[18]===x?S=t[19]:(S=(0,Q.jsx)(`span`,{className:`shrink-0 text-xs tabular-nums text-fg-subtle`,children:x}),t[18]=x,t[19]=S);let C;t[20]!==i||t[21]!==n.running?(C=n.running>0?(0,Q.jsx)(`span`,{className:`text-accent-fg`,children:i.runningTag(n.running)}):null,t[20]=i,t[21]=n.running,t[22]=C):C=t[22];let w;t[23]!==i||t[24]!==n.errored?(w=n.errored>0?(0,Q.jsx)(`span`,{className:`text-rose-600 dark:text-rose-400`,children:i.errorsTag(n.errored)}):null,t[23]=i,t[24]=n.errored,t[25]=w):w=t[25];let T;t[26]!==i||t[27]!==n.skipped?(T=n.skipped>0?(0,Q.jsx)(`span`,{children:i.skippedTag(n.skipped)}):null,t[26]=i,t[27]=n.skipped,t[28]=T):T=t[28];let E;t[29]!==C||t[30]!==w||t[31]!==T?(E=(0,Q.jsxs)(`span`,{className:`flex shrink-0 items-center gap-1 text-xs text-fg-disabled`,children:[C,w,T]}),t[29]=C,t[30]=w,t[31]=T,t[32]=E):E=t[32];let D;t[33]!==s||t[34]!==m||t[35]!==S||t[36]!==E||t[37]!==y||t[38]!==b?(D=(0,Q.jsxs)(`button`,{type:`button`,onClick:h,"aria-expanded":s,className:g,children:[y,m,b,S,E]}),t[33]=s,t[34]=m,t[35]=S,t[36]=E,t[37]=y,t[38]=b,t[39]=D):D=t[39];let O;t[40]!==i||t[41]!==o||t[42]!==s||t[43]!==n.agents||t[44]!==a?(O=s?(0,Q.jsxs)(`div`,{className:`ml-4 mt-0.5 space-y-0.5 border-l border-edge-subtle pl-2`,children:[n.agents.map(e=>(0,Q.jsx)(H7,{agent:e,labels:i,selected:a===e.id,onSelect:o},e.id)),n.agents.length===0?(0,Q.jsx)(`div`,{className:`px-1.5 py-0.5 text-xs text-fg-disabled`,children:`…`}):null]}):null,t[40]=i,t[41]=o,t[42]=s,t[43]=n.agents,t[44]=a,t[45]=O):O=t[45];let k;return t[46]!==D||t[47]!==O?(k=(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[D,O]}),t[46]=D,t[47]=O,t[48]=k):k=t[48],k});function Tse(e){return!e}function W7(e){let t=(0,Z.c)(44),{snapshot:n,labels:r,logsExpanded:i,onToggleLogs:a,selectedAgentId:o,onSelectAgent:s}=e,c;t[0]===n.agents?c=t[1]:(c=n.agents.filter(kse),t[0]=n.agents,t[1]=c);let l=c,u;t[2]===n.agents?u=t[3]:(u=n.agents.filter(Ose),t[2]=n.agents,t[3]=u);let d=u,f;t[4]===n.agents?f=t[5]:(f=n.agents.filter(Dse),t[4]=n.agents,t[5]=f);let p=f,m;t[6]===n.agents?m=t[7]:(m=n.agents.filter(Ese),t[6]=n.agents,t[7]=m);let h=m,g;t[8]!==r.phase||t[9]!==r.runningAgentsHeading||t[10]!==s||t[11]!==l||t[12]!==o?(g=(0,Q.jsx)(G7,{heading:r.runningAgentsHeading,agents:l,labels:r.phase,selectedAgentId:o,onSelectAgent:s}),t[8]=r.phase,t[9]=r.runningAgentsHeading,t[10]=s,t[11]=l,t[12]=o,t[13]=g):g=t[13];let _;t[14]!==d||t[15]!==r.failedAgentsHeading||t[16]!==r.phase||t[17]!==s||t[18]!==o?(_=(0,Q.jsx)(G7,{heading:r.failedAgentsHeading,agents:d,labels:r.phase,selectedAgentId:o,onSelectAgent:s}),t[14]=d,t[15]=r.failedAgentsHeading,t[16]=r.phase,t[17]=s,t[18]=o,t[19]=_):_=t[19];let v;t[20]!==p||t[21]!==r.completedAgentsHeading||t[22]!==r.phase||t[23]!==s||t[24]!==o?(v=(0,Q.jsx)(G7,{heading:r.completedAgentsHeading,agents:p,labels:r.phase,selectedAgentId:o,onSelectAgent:s}),t[20]=p,t[21]=r.completedAgentsHeading,t[22]=r.phase,t[23]=s,t[24]=o,t[25]=v):v=t[25];let y;t[26]!==r.phase||t[27]!==r.queuedAgentsHeading||t[28]!==s||t[29]!==h||t[30]!==o?(y=(0,Q.jsx)(G7,{heading:r.queuedAgentsHeading,agents:h,labels:r.phase,selectedAgentId:o,onSelectAgent:s}),t[26]=r.phase,t[27]=r.queuedAgentsHeading,t[28]=s,t[29]=h,t[30]=o,t[31]=y):y=t[31];let b;t[32]!==r.recentLogsHeading||t[33]!==r.showAllLogs||t[34]!==i||t[35]!==a||t[36]!==n.logs?(b=(0,Q.jsx)(Ase,{recentLogs:n.logs,recentLogsHeading:r.recentLogsHeading,showAllLogsLabel:r.showAllLogs,logsExpanded:i,onToggleLogs:a}),t[32]=r.recentLogsHeading,t[33]=r.showAllLogs,t[34]=i,t[35]=a,t[36]=n.logs,t[37]=b):b=t[37];let x;return t[38]!==g||t[39]!==_||t[40]!==v||t[41]!==y||t[42]!==b?(x=(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[g,_,v,y,b]}),t[38]=g,t[39]=_,t[40]=v,t[41]=y,t[42]=b,t[43]=x):x=t[43],x}function Ese(e){return e.status===`queued`}function Dse(e){return e.status===`done`}function Ose(e){return e.status===`error`||e.status===`skipped`}function kse(e){return e.status===`running`}function G7(e){let t=(0,Z.c)(16),{heading:n,agents:r,labels:i,selectedAgentId:a,onSelectAgent:o}=e;if(r.length===0)return null;let s;t[0]===n?s=t[1]:(s=(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:n}),t[0]=n,t[1]=s);let c;if(t[2]!==r||t[3]!==i||t[4]!==o||t[5]!==a){let e;t[7]!==i||t[8]!==o||t[9]!==a?(e=e=>(0,Q.jsx)(H7,{agent:e,labels:i,selected:a===e.id,onSelect:o},e.id),t[7]=i,t[8]=o,t[9]=a,t[10]=e):e=t[10],c=r.map(e),t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=c}else c=t[6];let l;t[11]===c?l=t[12]:(l=(0,Q.jsx)(`div`,{className:`space-y-0.5`,children:c}),t[11]=c,t[12]=l);let u;return t[13]!==s||t[14]!==l?(u=(0,Q.jsxs)(`section`,{className:`min-w-0`,children:[s,l]}),t[13]=s,t[14]=l,t[15]=u):u=t[15],u}function Ase(e){let t=(0,Z.c)(19),{recentLogs:n,recentLogsHeading:r,showAllLogsLabel:i,logsExpanded:a,onToggleLogs:o}=e,s;t[0]!==a||t[1]!==n?(s=a||n.length<=2?n:n.slice(-2),t[0]=a,t[1]=n,t[2]=s):s=t[2];let c=s;if(n.length===0)return null;let l;t[3]===r?l=t[4]:(l=(0,Q.jsx)(`div`,{className:`text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:r}),t[3]=r,t[4]=l);let u;t[5]!==o||t[6]!==n.length||t[7]!==i?(u=n.length>2?(0,Q.jsx)(`button`,{type:`button`,onClick:o,className:`text-[10px] text-accent-fg hover:underline`,children:i}):null,t[5]=o,t[6]=n.length,t[7]=i,t[8]=u):u=t[8];let d;t[9]!==l||t[10]!==u?(d=(0,Q.jsxs)(`div`,{className:`mb-1 flex items-center justify-between gap-2`,children:[l,u]}),t[9]=l,t[10]=u,t[11]=d):d=t[11];let f;t[12]===c?f=t[13]:(f=c.map(jse),t[12]=c,t[13]=f);let p;t[14]===f?p=t[15]:(p=(0,Q.jsx)(`div`,{className:`space-y-0.5`,children:f}),t[14]=f,t[15]=p);let m;return t[16]!==d||t[17]!==p?(m=(0,Q.jsxs)(`div`,{className:`border-t border-edge-subtle pt-2`,children:[d,p]}),t[16]=d,t[17]=p,t[18]=m):m=t[18],m}function jse(e){return(0,Q.jsx)(`div`,{className:`break-words font-mono text-xs text-fg-subtle`,children:e},e)}function K7(e){let t=(0,Z.c)(29),{rollup:n,currentPhase:r,labels:i,recentLogs:a,recentLogsHeading:o,showAllLogsLabel:s,logsExpanded:c,onToggleLogs:l,selectedAgentId:u,onSelectAgent:d}=e,f;t[0]!==c||t[1]!==a?(f=c||a.length<=2?a:a.slice(-2),t[0]=c,t[1]=a,t[2]=f):f=t[2];let p=f,m;if(t[3]!==r||t[4]!==i||t[5]!==d||t[6]!==n.phases||t[7]!==u){let e;t[9]!==r||t[10]!==i||t[11]!==d||t[12]!==u?(e=e=>(0,Q.jsx)(U7,{rollup:e,isCurrent:e.title===r,labels:i,selectedAgentId:u,onSelectAgent:d},e.title),t[9]=r,t[10]=i,t[11]=d,t[12]=u,t[13]=e):e=t[13],m=n.phases.map(e),t[3]=r,t[4]=i,t[5]=d,t[6]=n.phases,t[7]=u,t[8]=m}else m=t[8];let h;t[14]!==i||t[15]!==d||t[16]!==n.unphased||t[17]!==u?(h=n.unphased?(0,Q.jsx)(U7,{rollup:n.unphased,isCurrent:!1,labels:i,selectedAgentId:u,onSelectAgent:d}):null,t[14]=i,t[15]=d,t[16]=n.unphased,t[17]=u,t[18]=h):h=t[18];let g;t[19]!==l||t[20]!==a.length||t[21]!==o||t[22]!==s||t[23]!==p?(g=a.length>0?(0,Q.jsxs)(`div`,{className:`mt-2 border-t border-edge-subtle pt-2`,children:[(0,Q.jsxs)(`div`,{className:`mb-1 flex items-center justify-between gap-2`,children:[(0,Q.jsx)(`div`,{className:`text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:o}),a.length>2?(0,Q.jsx)(`button`,{type:`button`,onClick:l,className:`text-[10px] text-accent-fg hover:underline`,children:s}):null]}),(0,Q.jsx)(`div`,{className:`space-y-0.5`,children:p.map(Mse)})]}):null,t[19]=l,t[20]=a.length,t[21]=o,t[22]=s,t[23]=p,t[24]=g):g=t[24];let _;return t[25]!==m||t[26]!==h||t[27]!==g?(_=(0,Q.jsxs)(`div`,{className:`space-y-1`,children:[m,h,g]}),t[25]=m,t[26]=h,t[27]=g,t[28]=_):_=t[28],_}function Mse(e){return(0,Q.jsx)(`div`,{className:`break-words font-mono text-xs text-fg-subtle`,children:e},e)}var q7=5,J7=(0,Y.memo)(function(e){let t=(0,Z.c)(69),{result:n,labels:r}=e;if(n==null){let e;return t[0]===r.emptyResult?e=t[1]:(e=(0,Q.jsx)(`div`,{className:`text-sm text-fg-disabled`,children:r.emptyResult}),t[0]=r.emptyResult,t[1]=e),e}if(typeof n!=`object`){let e;return t[2]!==r.rawHeading||t[3]!==n?(e=(0,Q.jsx)(Q7,{value:n,heading:r.rawHeading}),t[2]=r.rawHeading,t[3]=n,t[4]=e):e=t[4],e}let i=n,a;if(t[5]!==r||t[6]!==i.actions||t[7]!==i.checklist||t[8]!==i.conclusion||t[9]!==i.decision||t[10]!==i.executiveSummary||t[11]!==i.findings||t[12]!==i.nextSteps||t[13]!==i.openQuestions||t[14]!==i.recommendations||t[15]!==i.summary||t[16]!==i.topFindings||t[17]!==i.topRisks){if(a=[],typeof i.executiveSummary==`string`&&i.executiveSummary.trim()){let e;t[19]!==r.executiveSummaryHeading||t[20]!==i.executiveSummary?(e=(0,Q.jsx)(Y7,{heading:r.executiveSummaryHeading,text:i.executiveSummary},`exec`),t[19]=r.executiveSummaryHeading,t[20]=i.executiveSummary,t[21]=e):e=t[21],a.push(e)}else if(typeof i.summary==`string`&&i.summary.trim()){let e;t[22]!==r.summaryHeading||t[23]!==i.summary?(e=(0,Q.jsx)(Y7,{heading:r.summaryHeading,text:i.summary},`sum`),t[22]=r.summaryHeading,t[23]=i.summary,t[24]=e):e=t[24],a.push(e)}let e;t[25]!==i.conclusion||t[26]!==i.decision?(e=Ise(i.conclusion,i.decision),t[25]=i.conclusion,t[26]=i.decision,t[27]=e):e=t[27];let n=e;if(n){let e;t[28]!==n||t[29]!==r.conclusionHeading?(e=(0,Q.jsx)(Y7,{heading:r.conclusionHeading,text:n},`conclusion`),t[28]=n,t[29]=r.conclusionHeading,t[30]=e):e=t[30],a.push(e)}let o;t[31]!==i.actions||t[32]!==i.recommendations?(o=e9(i.recommendations)??e9(i.actions),t[31]=i.actions,t[32]=i.recommendations,t[33]=o):o=t[33];let s=o;if(s&&s.length>0){let e;t[34]!==r.moreSuffix||t[35]!==r.recommendationsHeading||t[36]!==s?(e=(0,Q.jsx)(X7,{heading:r.recommendationsHeading,items:s,moreSuffix:r.moreSuffix},`recommendations`),t[34]=r.moreSuffix,t[35]=r.recommendationsHeading,t[36]=s,t[37]=e):e=t[37],a.push(e)}let c;t[38]===i.nextSteps?c=t[39]:(c=e9(i.nextSteps),t[38]=i.nextSteps,t[39]=c);let l=c;if(l&&l.length>0){let e;t[40]!==r.moreSuffix||t[41]!==r.nextStepsHeading||t[42]!==l?(e=(0,Q.jsx)(X7,{heading:r.nextStepsHeading,items:l,moreSuffix:r.moreSuffix},`nextSteps`),t[40]=r.moreSuffix,t[41]=r.nextStepsHeading,t[42]=l,t[43]=e):e=t[43],a.push(e)}let u;t[44]===i.checklist?u=t[45]:(u=e9(i.checklist),t[44]=i.checklist,t[45]=u);let d=u;if(d&&d.length>0){let e;t[46]!==d||t[47]!==r.checklistHeading||t[48]!==r.moreSuffix?(e=(0,Q.jsx)(X7,{heading:r.checklistHeading,items:d,moreSuffix:r.moreSuffix},`checklist`),t[46]=d,t[47]=r.checklistHeading,t[48]=r.moreSuffix,t[49]=e):e=t[49],a.push(e)}let f=$7(i.topFindings)??$7(i.findings);f&&f.length>0&&a.push((0,Q.jsx)(Z7,{items:f,heading:r.topFindingsHeading(f.length),moreSuffix:r.moreSuffix},`findings`));let p=$7(i.topRisks);p&&p.length>0&&a.push((0,Q.jsx)(Z7,{items:p,heading:r.topRisksHeading(p.length),moreSuffix:r.moreSuffix},`risks`));let m=e9(i.openQuestions);if(m&&m.length>0){let e;t[50]===r.openQuestionsHeading?e=t[51]:(e=(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-[10px] font-medium uppercase tracking-wide text-fg-subtle underline-offset-2 hover:text-fg-muted`,children:r.openQuestionsHeading}),t[50]=r.openQuestionsHeading,t[51]=e);let n=(0,Q.jsxs)(`ul`,{className:`mt-1 space-y-0.5 text-sm text-fg-muted`,children:[m.slice(0,q7).map(Lse),m.length>q7?(0,Q.jsx)(`li`,{className:`pl-4 text-xs text-fg-disabled`,children:r.moreSuffix(m.length-q7)}):null]}),i;t[52]!==e||t[53]!==n?(i=(0,Q.jsxs)(`details`,{className:`group min-w-0`,children:[e,n]},`oq`),t[52]=e,t[53]=n,t[54]=i):i=t[54],a.push(i)}t[5]=r,t[6]=i.actions,t[7]=i.checklist,t[8]=i.conclusion,t[9]=i.decision,t[10]=i.executiveSummary,t[11]=i.findings,t[12]=i.nextSteps,t[13]=i.openQuestions,t[14]=i.recommendations,t[15]=i.summary,t[16]=i.topFindings,t[17]=i.topRisks,t[18]=a}else a=t[18];if(a.length===0){let e;return t[55]!==r.rawHeading||t[56]!==n?(e=(0,Q.jsx)(Q7,{value:n,heading:r.rawHeading}),t[55]=r.rawHeading,t[56]=n,t[57]=e):e=t[57],e}let o;t[58]===r.rawHeading?o=t[59]:(o=(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-xs text-fg-subtle underline-offset-2 hover:text-fg-muted`,children:r.rawHeading}),t[58]=r.rawHeading,t[59]=o);let s;t[60]!==r.rawHeading||t[61]!==n?(s=(0,Q.jsx)(Q7,{value:n,heading:r.rawHeading,hideHeading:!0}),t[60]=r.rawHeading,t[61]=n,t[62]=s):s=t[62];let c;t[63]!==o||t[64]!==s?(c=(0,Q.jsxs)(`details`,{className:`group`,children:[o,s]}),t[63]=o,t[64]=s,t[65]=c):c=t[65];let l;return t[66]!==a||t[67]!==c?(l=(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[a,c]}),t[66]=a,t[67]=c,t[68]=l):l=t[68],l});function Y7(e){let t=(0,Z.c)(7),{heading:n,text:r}=e,i;t[0]===n?i=t[1]:(i=(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-[10px] font-medium uppercase tracking-wide text-fg-subtle underline-offset-2 hover:text-fg-muted`,children:n}),t[0]=n,t[1]=i);let a;t[2]===r?a=t[3]:(a=(0,Q.jsx)(`div`,{className:`mt-1 whitespace-pre-wrap break-words text-sm text-fg`,children:r}),t[2]=r,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=(0,Q.jsxs)(`details`,{className:`group min-w-0`,children:[i,a]}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}function X7(e){let t=(0,Z.c)(21),{heading:n,items:r,moreSuffix:i}=e,a,o,s,c,l;t[0]!==n||t[1]!==r?(l=r.slice(0,q7),s=`group min-w-0`,t[7]===n?c=t[8]:(c=(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-[10px] font-medium uppercase tracking-wide text-fg-subtle underline-offset-2 hover:text-fg-muted`,children:n}),t[7]=n,t[8]=c),a=`mt-1 space-y-0.5 text-sm text-fg-muted`,o=l.map(Nse),t[0]=n,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=c,t[6]=l):(a=t[2],o=t[3],s=t[4],c=t[5],l=t[6]);let u;t[9]!==r.length||t[10]!==i||t[11]!==l.length?(u=r.length>l.length?(0,Q.jsx)(`li`,{className:`pl-4 text-xs text-fg-disabled`,children:i(r.length-l.length)}):null,t[9]=r.length,t[10]=i,t[11]=l.length,t[12]=u):u=t[12];let d;t[13]!==a||t[14]!==o||t[15]!==u?(d=(0,Q.jsxs)(`ul`,{className:a,children:[o,u]}),t[13]=a,t[14]=o,t[15]=u,t[16]=d):d=t[16];let f;return t[17]!==s||t[18]!==c||t[19]!==d?(f=(0,Q.jsxs)(`details`,{className:s,children:[c,d]}),t[17]=s,t[18]=c,t[19]=d,t[20]=f):f=t[20],f}function Nse(e){return(0,Q.jsxs)(`li`,{className:`flex gap-2`,children:[(0,Q.jsx)(`span`,{className:`text-fg-disabled`,children:`•`}),(0,Q.jsx)(`span`,{className:`min-w-0 break-words`,children:e})]},e)}function Z7(e){let t=(0,Z.c)(21),{items:n,heading:r,moreSuffix:i}=e,a,o,s,c,l;t[0]!==r||t[1]!==n?(l=n.slice(0,q7),s=`group min-w-0`,t[7]===r?c=t[8]:(c=(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-[10px] font-medium uppercase tracking-wide text-fg-subtle underline-offset-2 hover:text-fg-muted`,children:r}),t[7]=r,t[8]=c),a=`mt-1 space-y-1`,o=l.map(Pse),t[0]=r,t[1]=n,t[2]=a,t[3]=o,t[4]=s,t[5]=c,t[6]=l):(a=t[2],o=t[3],s=t[4],c=t[5],l=t[6]);let u;t[9]!==a||t[10]!==o?(u=(0,Q.jsx)(`ul`,{className:a,children:o}),t[9]=a,t[10]=o,t[11]=u):u=t[11];let d;t[12]!==n.length||t[13]!==i||t[14]!==l.length?(d=n.length>l.length?(0,Q.jsx)(`div`,{className:`mt-1 pl-1 text-xs text-fg-disabled`,children:i(n.length-l.length)}):null,t[12]=n.length,t[13]=i,t[14]=l.length,t[15]=d):d=t[15];let f;return t[16]!==s||t[17]!==c||t[18]!==u||t[19]!==d?(f=(0,Q.jsxs)(`details`,{className:s,children:[c,u,d]}),t[16]=s,t[17]=c,t[18]=u,t[19]=d,t[20]=f):f=t[20],f}function Pse(e){return(0,Q.jsx)(Fse,{item:e},`${e.file??``}:${e.line??``}:${e.title??e.reason??e.fix??``}`)}function Fse(e){let t=(0,Z.c)(21),{item:n}=e,r=fse(n.severity),i=r===`high`?`bg-rose-500/15 text-rose-700 dark:text-rose-300`:r===`med`?`bg-amber-500/15 text-amber-700 dark:text-amber-300`:`bg-surface-hover text-fg-muted`,a=n.file?n.line===void 0?n.file:`${n.file}:${n.line}`:n.source??``,o=n.dimension??n.lens??``,s;t[0]!==n.severity||t[1]!==i?(s=n.severity?(0,Q.jsx)(`span`,{className:u(`mt-0.5 shrink-0 rounded px-1.5 py-px text-[10px] font-medium uppercase`,i),children:String(n.severity).slice(0,4)}):(0,Q.jsx)(`span`,{className:`mt-0.5 shrink-0 text-fg-disabled`,children:`•`}),t[0]=n.severity,t[1]=i,t[2]=s):s=t[2];let c;t[3]===o?c=t[4]:(c=o?(0,Q.jsx)(`span`,{className:`mr-1.5 text-xs text-fg-subtle`,children:o}):null,t[3]=o,t[4]=c);let l=n.title??n.reason??`(no title)`,d;t[5]===l?d=t[6]:(d=(0,Q.jsx)(`span`,{className:`text-fg`,children:l}),t[5]=l,t[6]=d);let f;t[7]!==c||t[8]!==d?(f=(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[c,d]}),t[7]=c,t[8]=d,t[9]=f):f=t[9];let p;t[10]===a?p=t[11]:(p=a?(0,Q.jsx)(`div`,{className:`truncate font-mono text-xs text-fg-subtle`,title:a,children:a}):null,t[10]=a,t[11]=p);let m;t[12]===n.fix?m=t[13]:(m=n.fix?(0,Q.jsxs)(`div`,{className:`mt-0.5 text-xs text-fg-muted`,children:[`↳ `,n.fix]}):null,t[12]=n.fix,t[13]=m);let h;t[14]!==f||t[15]!==p||t[16]!==m?(h=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[f,p,m]}),t[14]=f,t[15]=p,t[16]=m,t[17]=h):h=t[17];let g;return t[18]!==s||t[19]!==h?(g=(0,Q.jsxs)(`li`,{className:`flex min-w-0 items-start gap-2 text-sm`,children:[s,h]}),t[18]=s,t[19]=h,t[20]=g):g=t[20],g}function Q7(e){let t=(0,Z.c)(10),{value:n,heading:r,hideHeading:i}=e,a;try{let e;t[0]===n?e=t[1]:(e=JSON.stringify(n,null,2),t[0]=n,t[1]=e),a=e}catch{a=String(n)}let o;t[2]!==r||t[3]!==i?(o=i?null:(0,Q.jsx)(`div`,{className:`mb-1 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:r}),t[2]=r,t[3]=i,t[4]=o):o=t[4];let s;t[5]===a?s=t[6]:(s=(0,Q.jsx)(`pre`,{className:`max-h-72 min-w-0 overflow-y-auto whitespace-pre-wrap break-words rounded-md bg-surface-hover/60 p-2 font-mono text-xs text-fg-muted dark:bg-surface-hover/35`,children:a}),t[5]=a,t[6]=s);let c;return t[7]!==o||t[8]!==s?(c=(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[o,s]}),t[7]=o,t[8]=s,t[9]=c):c=t[9],c}function $7(e){return Array.isArray(e)&&e.length>0?e:null}function e9(e){if(!Array.isArray(e))return null;let t=e.filter(e=>typeof e==`string`&&e.trim().length>0);return t.length>0?t:null}function Ise(...e){for(let t of e)if(typeof t==`string`&&t.trim())return t;return null}function Lse(e){return(0,Q.jsxs)(`li`,{className:`flex gap-2`,children:[(0,Q.jsx)(`span`,{className:`text-fg-disabled`,children:`•`}),(0,Q.jsx)(`span`,{className:`min-w-0 break-words`,children:e})]},e)}var t9=(0,Y.memo)(function({block:e,startedAt:t,sessionKey:n,onAbort:r,onSendChatMessage:i,labels:a,className:o}){let s=sse(e),c=(0,Y.useMemo)(()=>A7(e),[e]),l=Dr(),d=s===`failed`?P7(e):null,f=s===`failed`?F7(e):``,[p,m]=(0,Y.useState)(!1);(0,Y.useEffect)(()=>{s===`completed`&&m(!0),(s===`running`||s===`failed`)&&m(!1)},[s]);let[h,g]=(0,Y.useState)(!1),[_,v]=(0,Y.useState)(null),[y,b]=(0,Y.useState)(!1),x=(0,Y.useMemo)(()=>_==null||!c?null:c.agents.find(e=>e.id===_)??null,[_,c]),S=(0,Y.useCallback)(e=>{v(e.id)},[]),C=(0,Y.useCallback)(()=>{v(null)},[]),[,w]=(0,Y.useState)(0);(0,Y.useEffect)(()=>{if(s!==`running`)return;let e=window.setInterval(()=>w(e=>e+1),1e3);return()=>window.clearInterval(e)},[s]);let T=(0,Y.useMemo)(()=>s===`running`?t?R7(Date.now()-t):``:c?.durationMs==null?``:R7(c.durationMs),[s,t,c?.durationMs]),[E,D]=(0,Y.useState)(!1),O=(0,Y.useCallback)(async()=>{c&&await GP(typeof c.result==`string`?c.result:zse(c.result))&&(D(!0),window.setTimeout(()=>D(!1),1500))},[c]),[k,A]=(0,Y.useState)(!1),[j,M]=(0,Y.useState)(``),N=(0,Y.useRef)(null);(0,Y.useEffect)(()=>{k&&(j||M(c?.name??``),window.setTimeout(()=>N.current?.focus(),0))},[k,j,c?.name]);let P=(0,Y.useCallback)(()=>{let e=j.trim();!e||!i||(i(`/workflow save ${e}`),A(!1))},[j,i]),F=(0,Y.useCallback)(()=>{let e=c?.name?.trim();e&&l(`/workflows?tab=catalog&def=${encodeURIComponent(e)}`)},[l,c?.name]);if(M7(e)||s===`completed`&&!c){let t=d??P7(e),r=cse(e),i=Rse(e),s=r.snapshot,c=_==null||!s?null:s.agents.find(e=>e.id===_)??null;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(bse,{kind:t,reason:r.headline||f||`workflow failed`,detailLines:r.detailLines,logs:r.logs,failedAgents:r.failedAgents,snapshot:s,scriptPreview:i,selectedAgentId:_,onSelectAgent:S,labels:a.error,className:o}),(0,Q.jsx)(B7,{open:_!=null&&c!=null,agent:c,snapshot:s,sessionKey:n,onClose:C,labels:a.drawer})]})}let I=c?.agentCount??0,L=c?.doneCount??0,R=c?I7(c):{phases:[],unphased:null},z=s===`running`&&c?a.currentProgressTpl(c.currentPhase,c.runningCount,c.doneCount,c.agentCount):void 0,B=(0,Q.jsxs)(Q.Fragment,{children:[s===`running`&&r?(0,Q.jsx)(`button`,{type:`button`,onClick:r,className:u(`inline-flex size-7 items-center justify-center rounded-md text-fg-muted`,`hover:bg-surface-hover hover:text-rose-600 dark:hover:text-rose-400`,$.transition,$.focusRingPanel),"aria-label":a.cancel,title:a.cancel,children:(0,Q.jsx)(jf,{className:`size-4`})}):null,s===`completed`&&c?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`button`,{type:`button`,onClick:O,className:u(`inline-flex size-7 items-center justify-center rounded-md text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),"aria-label":E?a.copyDoneAria:a.copyAria,title:E?a.copyDoneAria:a.copyAria,children:E?(0,Q.jsx)(gd,{className:`size-4 text-emerald-600 dark:text-emerald-400`}):(0,Q.jsx)(mm,{className:`size-4`})}),i?(0,Q.jsx)(`button`,{type:`button`,onClick:()=>A(e=>!e),className:u(`inline-flex size-7 items-center justify-center rounded-md text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),"aria-label":a.saveAria,title:a.saveTitle,children:(0,Q.jsx)(tE,{className:`size-4`})}):null,c?.name?(0,Q.jsx)(`button`,{type:`button`,onClick:F,className:u(`inline-flex size-7 items-center justify-center rounded-md text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),"aria-label":a.openInWorkflowsAria,title:a.openInWorkflowsTitle,children:(0,Q.jsx)(uv,{className:`size-4`})}):null,(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex size-7 items-center justify-center rounded-md text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel,`invisible`),"aria-label":a.moreAria,title:a.moreAria,children:(0,Q.jsx)(Bh,{className:`size-4`})})]}):null]});return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{className:u(`min-w-0 rounded-xl border border-edge bg-surface-panel shadow-surface`,o),role:`group`,"aria-label":c?`Workflow ${c.name}`:`Workflow`,children:[(0,Q.jsx)(_se,{name:c?.name??e.name,description:c?.description,status:s,doneCount:L,totalCount:I,durationText:T,metaText:z,collapsed:p,onToggleCollapsed:()=>m(e=>!e),actions:B,labels:a.header}),k&&s===`completed`?(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 border-b border-edge-subtle px-3 py-2`,children:[(0,Q.jsx)(`input`,{ref:N,type:`text`,value:j,onChange:e=>M(e.target.value),onKeyDown:e=>{e.key===`Enter`?P():e.key===`Escape`&&A(!1)},placeholder:a.savePlaceholder,className:u(`min-w-0 flex-1 rounded-md border border-edge bg-surface-base px-2 py-1 text-sm text-fg`,`placeholder:text-fg-disabled`,$.focusRingPanel)}),(0,Q.jsx)(`button`,{type:`button`,onClick:P,disabled:!j.trim(),className:u(`inline-flex h-7 items-center rounded-md bg-accent px-2.5 text-xs font-medium text-fg-onAccent`,`hover:bg-accent-hover`,$.transition,$.focusRingPanel,$.disabled),children:a.saveSubmit}),(0,Q.jsx)(`button`,{type:`button`,onClick:()=>A(!1),className:u(`inline-flex h-7 items-center rounded-md px-2 text-xs text-fg-muted`,`hover:bg-surface-hover hover:text-fg`,$.transition,$.focusRingPanel),children:a.saveCancel})]}):null,p?null:(0,Q.jsxs)(`div`,{className:`space-y-3 px-3 py-2.5`,children:[s===`completed`&&c?(0,Q.jsx)(J7,{result:c.result,labels:a.result}):null,s===`running`&&c?(0,Q.jsx)(W7,{snapshot:c,labels:a,logsExpanded:y,onToggleLogs:()=>b(e=>!e),selectedAgentId:_,onSelectAgent:S}):null,s===`running`&&!c?(0,Q.jsxs)(`div`,{className:`py-1 text-sm text-fg-subtle`,children:[(0,Q.jsx)(`span`,{className:`inline-block size-2 animate-pulse rounded-full bg-accent align-middle`}),(0,Q.jsx)(`span`,{className:`ml-2 align-middle`,children:a.viewSubagentsHeading})]}):null,s===`completed`&&c&&(R.phases.length>0||R.unphased)?(0,Q.jsxs)(`details`,{className:`group`,open:h,onToggle:e=>g(e.target.open),children:[(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-xs text-fg-subtle underline-offset-2 hover:text-fg-muted`,children:a.viewSubagentsHeading}),(0,Q.jsx)(`div`,{className:`mt-2`,children:(0,Q.jsx)(K7,{rollup:R,currentPhase:void 0,labels:a.phase,recentLogs:[],recentLogsHeading:a.recentLogsHeading,showAllLogsLabel:a.showAllLogs,logsExpanded:!1,onToggleLogs:()=>{},selectedAgentId:_,onSelectAgent:S})})]}):null]})]}),(0,Q.jsx)(B7,{open:_!=null&&x!=null,agent:x,snapshot:c,sessionKey:n,onClose:C,labels:a.drawer})]})});function Rse(e){if(!e.input||typeof e.input!=`object`)return;let t=e.input;if(typeof t.script==`string`&&t.script.trim())return t.script.split(`
|
|
114
|
+
`).slice(0,80).join(`
|
|
115
|
+
`)}function zse(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function n9(e){return e===`zh`?Use():r9()}function Bse(){return r9()}function Vse(){return{close:`Close`,statusQueued:`Queued`,statusRunning:`Running`,statusDone:`Completed`,statusError:`Failed`,statusSkipped:`Skipped`,workedFor:e=>`Worked for ${e}`,statusHeading:`Status`,phaseHeading:`Phase`,elapsedHeading:`Elapsed`,currentStepHeading:`Current step`,executionHeading:`Execution process`,promptHeading:`Prompt`,logsHeading:`Workflow logs`,runningPlaceholder:`Waiting for subagent steps…`}}function Hse(){return{close:`关闭`,statusQueued:`排队中`,statusRunning:`运行中`,statusDone:`已完成`,statusError:`失败`,statusSkipped:`已跳过`,workedFor:e=>`已运行 ${e}`,statusHeading:`状态`,phaseHeading:`阶段`,elapsedHeading:`耗时`,currentStepHeading:`当前步骤`,executionHeading:`执行过程`,promptHeading:`输入`,logsHeading:`工作流日志`,runningPlaceholder:`等待子 agent 步骤…`}}function r9(){return{header:{collapse:`Collapse`,expand:`Expand`,runningMeta:(e,t)=>t?`${e} · ${t}`:`${e}`,completedMeta:(e,t)=>t?`✓ ${e} · ${t}`:`✓ ${e}`,failedMeta:`failed`},phase:{countTpl:(e,t)=>`${e}/${t}`,runningTag:e=>`· ${e} running`,errorsTag:e=>`· ${e} errors`,skippedTag:e=>`· ${e} skipped`,showPrompt:`Show prompt`,hidePrompt:`Hide prompt`,promptHeading:`Prompt`,resultPreviewHeading:`Result`,errorHeading:`Error`,emptyPreview:`(no preview)`,agentNumber:e=>`#${e}`,queued:`Queued`,running:`Running…`,openDetail:`View agent details`},drawer:Vse(),result:{topFindingsHeading:e=>`Top findings (${e})`,topRisksHeading:e=>`Top risks (${e})`,executiveSummaryHeading:`Executive summary`,summaryHeading:`Summary`,openQuestionsHeading:`Open questions`,conclusionHeading:`Conclusion`,recommendationsHeading:`Recommendations`,nextStepsHeading:`Next steps`,checklistHeading:`Checklist`,moreSuffix:e=>`${e} more…`,rawHeading:`View raw result`,emptyResult:`(no result)`},error:{titleParse:`Workflow parse error`,titleAbort:`Workflow aborted`,titleTimeout:`Workflow timed out`,titleRuntime:`Workflow failed`,expand:`Expand details`,collapse:`Collapse details`,expandHint:`Click to see error details`,detailsHeading:`Failure reason`,impactHeading:`Impact`,recoveryHeading:`Recommended actions`,recoveryActions:{parse_error:[`Check the workflow script syntax.`,`Make sure workflow fields use the expected snake_case shape.`],aborted:[`The run was stopped. Start it again if you still need the result.`],timeout:[`Retry the workflow.`,`If it times out again, reduce concurrency or check model/API availability.`],runtime_error:[`Review the failed agent first.`,`Use the completed agent results if they are still relevant.`,`Copy the error details if you want to continue diagnosis.`]},logsHeading:`Technical logs`,failedAgentsHeading:`Agent execution status`,executedAgentsHeading:`Agent execution status`,progressHeading:`Execution process`,scriptHeading:`Submitted script`,noExtraDetails:`No additional details recorded.`,copyReason:`Copy`,copyReasonDone:`Copied`,impactTpl:(e,t,n)=>`${e}/${t} agents completed · ${n} need attention`,phase:{countTpl:(e,t)=>`${e}/${t}`,runningTag:e=>`· ${e} running`,errorsTag:e=>`· ${e} errors`,skippedTag:e=>`· ${e} skipped`,showPrompt:`Show prompt`,hidePrompt:`Hide prompt`,promptHeading:`Prompt`,resultPreviewHeading:`Result`,errorHeading:`Error`,emptyPreview:`(no preview)`,agentNumber:e=>`#${e}`,queued:`Queued`,running:`Running…`,openDetail:`View agent details`}},cancel:`Cancel workflow`,saveAria:`Save workflow…`,saveTitle:`Save this workflow under a name (~/.xopc/workflows/)`,savePlaceholder:`snake_case_name`,saveSubmit:`Save`,saveCancel:`Cancel`,saveDispatched:`Saved`,copyAria:`Copy result`,copyDoneAria:`Copied`,moreAria:`More actions`,openInWorkflowsAria:`Open in Workflows`,openInWorkflowsTitle:`Open this workflow in the Workflows center`,viewSubagentsHeading:`View agents`,runningProgressHeading:`Current progress`,runningAgentsHeading:`Running agents`,completedAgentsHeading:`Completed agents`,queuedAgentsHeading:`Queued agents`,failedAgentsHeading:`Needs attention`,currentProgressTpl:(e,t,n,r)=>`${e?`Phase: ${e}`:`Workflow is running`} · ${t} running · ${n}/${r} completed`,recentLogsHeading:`Recent updates`,showAllLogs:`Show all`}}function Use(){return{header:{collapse:`收起`,expand:`展开`,runningMeta:(e,t)=>t?`${e} · ${t}`:`${e}`,completedMeta:(e,t)=>t?`✓ ${e} · ${t}`:`✓ ${e}`,failedMeta:`失败`},phase:{countTpl:(e,t)=>`${e}/${t}`,runningTag:e=>`· ${e} 运行中`,errorsTag:e=>`· ${e} 失败`,skippedTag:e=>`· ${e} 已跳过`,showPrompt:`查看 prompt`,hidePrompt:`收起 prompt`,promptHeading:`Prompt`,resultPreviewHeading:`结果预览`,errorHeading:`错误`,emptyPreview:`(暂无预览)`,agentNumber:e=>`#${e}`,queued:`排队中`,running:`运行中…`,openDetail:`查看 agent 详情`},drawer:Hse(),result:{topFindingsHeading:e=>`主要发现(${e})`,topRisksHeading:e=>`主要风险(${e})`,executiveSummaryHeading:`摘要`,summaryHeading:`总结`,openQuestionsHeading:`待解决的问题`,conclusionHeading:`结论`,recommendationsHeading:`处理建议`,nextStepsHeading:`建议下一步`,checklistHeading:`检查清单`,moreSuffix:e=>`还有 ${e} 条…`,rawHeading:`查看原始结果`,emptyResult:`(无结果)`},error:{titleParse:`工作流解析失败`,titleAbort:`工作流已中止`,titleTimeout:`工作流超时`,titleRuntime:`工作流执行失败`,expand:`展开详情`,collapse:`收起详情`,expandHint:`点击查看错误详情`,detailsHeading:`失败原因`,impactHeading:`影响范围`,recoveryHeading:`建议处理`,recoveryActions:{parse_error:[`检查工作流脚本语法。`,`确认工作流字段使用预期的 snake_case 格式。`],aborted:[`本次执行已停止。如仍需要结果,可以重新运行。`],timeout:[`重新运行工作流。`,`如果仍然超时,建议降低并发或检查模型/API 可用性。`],runtime_error:[`优先查看失败智能体。`,`已完成智能体的结果仍可按需参考。`,`需要继续诊断时,可以复制错误详情。`]},logsHeading:`技术日志`,failedAgentsHeading:`智能体执行状态`,executedAgentsHeading:`智能体执行状态`,progressHeading:`执行过程`,scriptHeading:`提交的脚本`,noExtraDetails:`没有更多诊断信息。`,copyReason:`复制`,copyReasonDone:`已复制`,impactTpl:(e,t,n)=>`已完成 ${e}/${t} 个智能体 · ${n} 个需要关注`,phase:{countTpl:(e,t)=>`${e}/${t}`,runningTag:e=>`· ${e} 运行中`,errorsTag:e=>`· ${e} 失败`,skippedTag:e=>`· ${e} 已跳过`,showPrompt:`查看 prompt`,hidePrompt:`收起 prompt`,promptHeading:`Prompt`,resultPreviewHeading:`结果预览`,errorHeading:`错误`,emptyPreview:`(暂无预览)`,agentNumber:e=>`#${e}`,queued:`排队中`,running:`运行中…`,openDetail:`查看 agent 详情`}},cancel:`取消工作流`,saveAria:`保存工作流…`,saveTitle:`把这个工作流保存到 ~/.xopc/workflows/`,savePlaceholder:`snake_case 名字`,saveSubmit:`保存`,saveCancel:`取消`,saveDispatched:`已保存`,copyAria:`复制结果`,copyDoneAria:`已复制`,moreAria:`更多操作`,openInWorkflowsAria:`在工作流中心打开`,openInWorkflowsTitle:`在工作流中心查看此工作流`,viewSubagentsHeading:`查看智能体`,runningProgressHeading:`当前进展`,runningAgentsHeading:`正在运行`,completedAgentsHeading:`已完成`,queuedAgentsHeading:`排队中`,failedAgentsHeading:`需要关注`,currentProgressTpl:(e,t,n,r)=>`${e?`正在执行 ${e}`:`工作流正在执行`} · ${t} 个运行中 · 已完成 ${n}/${r}`,recentLogsHeading:`最近更新`,showAllLogs:`显示全部`}}function Wse(e,t){switch(e.code){case`provider_setup_required`:return{title:t.providerSetupRequiredTitle,body:t.providerSetupRequiredBody.replace(`{{provider}}`,e.provider??t.agentRunErrorUnknownProvider),cta:t.providerSetupRequiredCta,deepLink:`/settings/credentials`};case`provider_auth_invalid`:return{title:t.agentRunErrorAuthInvalidTitle,body:t.agentRunErrorAuthInvalidBody.replace(`{{provider}}`,e.provider??t.agentRunErrorUnknownProvider),cta:t.agentRunErrorCtaProviders,deepLink:`/settings/credentials`};case`rate_limit`:return{title:t.agentRunErrorRateLimitTitle,body:t.agentRunErrorRateLimitBody};case`timeout`:return{title:t.agentRunErrorTimeoutTitle,body:t.agentRunErrorTimeoutBody};case`billing`:return{title:t.agentRunErrorBillingTitle,body:t.agentRunErrorBillingBody};case`send_failed`:return{title:t.agentRunErrorSendFailedTitle,body:t.agentRunErrorSendFailedBody};default:return{title:t.agentRunErrorUnknownTitle,body:t.agentRunErrorUnknownBody}}}function Gse(e){let t=(0,Z.c)(4),{code:n}=e;switch(n){case`provider_setup_required`:case`provider_auth_invalid`:{let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Tv,{className:`size-4`,strokeWidth:1.75}),t[0]=e):e=t[0],e}case`rate_limit`:case`timeout`:{let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(hp,{className:`size-4`,strokeWidth:1.75}),t[1]=e):e=t[1],e}case`billing`:{let e;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(mN,{className:`size-4`,strokeWidth:1.75}),t[2]=e):e=t[2],e}default:{let e;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(Ud,{className:`size-4`,strokeWidth:1.75}),t[3]=e):e=t[3],e}}}function Kse(e){return e===`provider_setup_required`||e===`provider_auth_invalid`||e===`rate_limit`||e===`timeout`||e===`billing`?`amber`:`red`}function qse(e){let t=(0,Z.c)(44),{payload:n}=e,r=Dr(),i=v(Jse),a,o;t[0]!==i||t[1]!==n?(a=m(i).chat,o=Wse(n,a),t[0]=i,t[1]=n,t[2]=a,t[3]=o):(a=t[2],o=t[3]);let s=o,c=Kse(n.code),l=c===`amber`?`border-amber-300/60 bg-amber-50/70 dark:border-amber-500/30 dark:bg-amber-500/10`:`border-red-300/60 bg-red-50/70 dark:border-red-500/30 dark:bg-red-500/10`,d=c===`amber`?`bg-amber-100 text-amber-700 dark:bg-amber-500/20 dark:text-amber-300`:`bg-red-100 text-red-700 dark:bg-red-500/20 dark:text-red-300`,f=c===`amber`?`text-amber-900 dark:text-amber-100`:`text-red-900 dark:text-red-100`,p=c===`amber`?`text-amber-900/85 dark:text-amber-100/80`:`text-red-900/85 dark:text-red-100/80`,h=c===`amber`?`text-amber-800/80 hover:text-amber-900 dark:text-amber-200/80 dark:hover:text-amber-100`:`text-red-800/80 hover:text-red-900 dark:text-red-200/80 dark:hover:text-red-100`,g=c===`amber`?`bg-amber-100/60 text-amber-900 dark:bg-amber-500/15 dark:text-amber-100`:`bg-red-100/60 text-red-900 dark:bg-red-500/15 dark:text-red-100`,_=c===`amber`?`bg-amber-600 text-white hover:bg-amber-700 dark:bg-amber-500 dark:text-amber-950 dark:hover:bg-amber-400`:`bg-red-600 text-white hover:bg-red-700 dark:bg-red-500 dark:text-red-950 dark:hover:bg-red-400`,y;t[4]===l?y=t[5]:(y=u(`flex flex-col gap-2 rounded-xl border px-3 py-3`,l),t[4]=l,t[5]=y);let b;t[6]===d?b=t[7]:(b=u(`flex size-8 shrink-0 items-center justify-center rounded-lg`,d),t[6]=d,t[7]=b);let x;t[8]===n.code?x=t[9]:(x=(0,Q.jsx)(Gse,{code:n.code}),t[8]=n.code,t[9]=x);let S;t[10]!==b||t[11]!==x?(S=(0,Q.jsx)(`span`,{className:b,"aria-hidden":!0,children:x}),t[10]=b,t[11]=x,t[12]=S):S=t[12];let C;t[13]===f?C=t[14]:(C=u(`text-sm font-semibold`,f),t[13]=f,t[14]=C);let w;t[15]!==s.title||t[16]!==C?(w=(0,Q.jsx)(`h3`,{className:C,children:s.title}),t[15]=s.title,t[16]=C,t[17]=w):w=t[17];let T;t[18]===p?T=t[19]:(T=u(`mt-1 text-xs leading-relaxed`,p),t[18]=p,t[19]=T);let E;t[20]!==s.body||t[21]!==T?(E=(0,Q.jsx)(`p`,{className:T,children:s.body}),t[20]=s.body,t[21]=T,t[22]=E):E=t[22];let D;t[23]!==w||t[24]!==E?(D=(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[w,E]}),t[23]=w,t[24]=E,t[25]=D):D=t[25];let O;t[26]!==D||t[27]!==S?(O=(0,Q.jsxs)(`div`,{className:`flex items-start gap-3`,children:[S,D]}),t[26]=D,t[27]=S,t[28]=O):O=t[28];let k;t[29]!==s.cta||t[30]!==s.deepLink||t[31]!==_||t[32]!==r?(k=s.cta&&s.deepLink?(0,Q.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-flex h-8 items-center rounded-lg px-3 py-1.5 text-xs font-medium transition-colors`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-amber-500/50`,_),onClick:()=>r(s.deepLink),children:s.cta})}):null,t[29]=s.cta,t[30]=s.deepLink,t[31]=_,t[32]=r,t[33]=k):k=t[33];let A;t[34]!==h||t[35]!==g||t[36]!==a||t[37]!==n.message?(A=n.message?(0,Q.jsxs)(`details`,{className:`group min-w-0 text-xs`,children:[(0,Q.jsx)(`summary`,{className:u(`cursor-pointer select-none underline-offset-2`,h),children:a.agentRunErrorDetailToggle}),(0,Q.jsx)(`pre`,{className:u(`mt-2 max-h-40 w-full min-w-0 overflow-y-auto overflow-x-hidden whitespace-pre-wrap break-words rounded-md p-2 font-mono text-[11px] [overflow-wrap:anywhere]`,g),children:n.message})]}):null,t[34]=h,t[35]=g,t[36]=a,t[37]=n.message,t[38]=A):A=t[38];let j;return t[39]!==O||t[40]!==k||t[41]!==A||t[42]!==y?(j=(0,Q.jsxs)(`section`,{role:`alert`,"aria-live":`polite`,className:y,children:[O,k,A]}),t[39]=O,t[40]=k,t[41]=A,t[42]=y,t[43]=j):j=t[43],j}function Jse(e){return e.language}function Yse(e){let t=(0,Z.c)(8),{errorText:n}=e,r;t[0]===n?r=t[1]:(r=kV(n),t[0]=n,t[1]=r);let i=r;if(!i)return null;let a;t[2]===i?a=t[3]:(a=AV(i),t[2]=i,t[3]=a);let o=a;if(o){let e;return t[4]===o?e=t[5]:(e=(0,Q.jsx)(`div`,{className:`mb-4`,children:(0,Q.jsx)(i9,{payload:o})}),t[4]=o,t[5]=e),e}let s;return t[6]===i?s=t[7]:(s=(0,Q.jsx)(`div`,{className:`mb-4`,children:(0,Q.jsx)(qse,{payload:i})}),t[6]=i,t[7]=s),s}function i9(e){let t=(0,Z.c)(28),{payload:n}=e,r=Dr(),i=v(Xse),a,o;t[0]!==i||t[1]!==n.provider?(a=m(i).chat,o=a.providerSetupRequiredBody.replace(`{{provider}}`,n.provider),t[0]=i,t[1]=n.provider,t[2]=a,t[3]=o):(a=t[2],o=t[3]);let s=o,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=u(`flex flex-col gap-2 rounded-xl border border-amber-300/60 bg-amber-50/70 px-3 py-3`,`dark:border-amber-500/30 dark:bg-amber-500/10`),t[4]=c):c=t[4];let l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=u(`flex size-8 shrink-0 items-center justify-center rounded-lg`,`bg-amber-100 text-amber-700 dark:bg-amber-500/20 dark:text-amber-300`),t[5]=l):l=t[5];let d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(`span`,{className:l,"aria-hidden":!0,children:(0,Q.jsx)(Tv,{className:`size-4`,strokeWidth:1.75})}),t[6]=d):d=t[6];let f;t[7]===a.providerSetupRequiredTitle?f=t[8]:(f=(0,Q.jsx)(`h3`,{className:`text-sm font-semibold text-amber-900 dark:text-amber-100`,children:a.providerSetupRequiredTitle}),t[7]=a.providerSetupRequiredTitle,t[8]=f);let p;t[9]===s?p=t[10]:(p=(0,Q.jsx)(`p`,{className:`mt-1 text-xs leading-relaxed text-amber-900/85 dark:text-amber-100/80`,children:s}),t[9]=s,t[10]=p);let h;t[11]!==f||t[12]!==p?(h=(0,Q.jsxs)(`div`,{className:`flex items-start gap-3`,children:[d,(0,Q.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[f,p]})]}),t[11]=f,t[12]=p,t[13]=h):h=t[13];let g;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(g=u(`inline-flex h-8 items-center rounded-lg px-3 py-1.5 text-xs font-medium`,`bg-amber-600 text-white hover:bg-amber-700`,`dark:bg-amber-500 dark:text-amber-950 dark:hover:bg-amber-400`,`transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-amber-500/50`),t[14]=g):g=t[14];let _;t[15]!==r||t[16]!==n.deepLink?(_=()=>r(n.deepLink),t[15]=r,t[16]=n.deepLink,t[17]=_):_=t[17];let y;t[18]!==a.providerSetupRequiredCta||t[19]!==_?(y=(0,Q.jsx)(`div`,{className:`flex flex-wrap items-center justify-end gap-2`,children:(0,Q.jsx)(`button`,{type:`button`,className:g,onClick:_,children:a.providerSetupRequiredCta})}),t[18]=a.providerSetupRequiredCta,t[19]=_,t[20]=y):y=t[20];let b;t[21]!==a.providerSetupRequiredDetailToggle||t[22]!==n.message?(b=n.message?(0,Q.jsxs)(`details`,{className:`group min-w-0 text-xs`,children:[(0,Q.jsx)(`summary`,{className:`cursor-pointer select-none text-amber-800/80 underline-offset-2 hover:text-amber-900 dark:text-amber-200/80 dark:hover:text-amber-100`,children:a.providerSetupRequiredDetailToggle}),(0,Q.jsx)(`pre`,{className:`mt-2 max-h-40 w-full min-w-0 overflow-y-auto overflow-x-hidden whitespace-pre-wrap break-words rounded-md bg-amber-100/60 p-2 font-mono text-[11px] text-amber-900 dark:bg-amber-500/15 dark:text-amber-100 [overflow-wrap:anywhere]`,children:n.message})]}):null,t[21]=a.providerSetupRequiredDetailToggle,t[22]=n.message,t[23]=b):b=t[23];let x;return t[24]!==y||t[25]!==b||t[26]!==h?(x=(0,Q.jsxs)(`section`,{role:`status`,"aria-live":`polite`,className:c,children:[h,y,b]}),t[24]=y,t[25]=b,t[26]=h,t[27]=x):x=t[27],x}function Xse(e){return e.language}var Zse=/^No API key found for (\S+)/i;function Qse(e){let t=e.trim();if(t.startsWith(`{`))try{let e=JSON.parse(t);return e.kind!==`provider_setup_required`||typeof e.provider!=`string`||!e.provider||typeof e.deepLink!=`string`||!e.deepLink.startsWith(`/settings/`)?null:{kind:`provider_setup_required`,provider:e.provider,deepLink:e.deepLink,message:typeof e.message==`string`?e.message:void 0}}catch{return null}let n=Zse.exec(t);return n?{kind:`provider_setup_required`,provider:n[1].replace(/[.,]$/,``),deepLink:`/settings/credentials`,message:t}:null}function a9(e){let t=e.replace(/\r$/,``),n=``,r=t,i=r.match(/^\s{0,3}/)?.[0]??``;for(n+=i,r=r.slice(i.length);r.startsWith(`>`);){n+=`>`,r=r.slice(1),r.startsWith(` `)&&(n+=` `,r=r.slice(1));let e=r.match(/^\s{0,3}/)?.[0]??``;n+=e,r=r.slice(e.length)}return n}function o9(e){let t=e.replace(/\r$/,``);return t.slice(a9(t).length)}function s9(e){return o9(e).trim().replace(/^\|/,``).replace(/\|$/,``).split(`|`).map(e=>e.trim())}function $se(e){return(o9(e).match(/\|/g)??[]).length}function c9(e){let t=o9(e).trim();return t?t.startsWith(`|`)?s9(e).length>=2:$se(e)>=2:!1}function l9(e){let t=o9(e).trim();return t.includes(`-`)&&/^[\s|:-]+$/.test(t)}function ece(e){let t=o9(e).trim();return t.length>0&&/^[\s|:]+$/.test(t)}function tce(e){return s9(e).filter(e=>e.includes(`-`)).length}function u9(e,t=``){return`${t}| ${Array.from({length:e},()=>`---`).join(` | `)} |`}function nce(e,t){let n=s9(e);for(;n.length<t;)n.push(``);return`${a9(e)}| ${n.slice(0,t).join(` | `)} |`}function rce(e){return(e.match(/^\s*(```|~~~)/gm)??[]).length%2==1}function ice(e){if(!e.includes(`|`)||rce(e))return e;let t=e.split(`
|
|
116
|
+
`),n=t.length-1;for(;n>0&&t[n-1]?.trim();)n--;let r=t.slice(n).findIndex(e=>c9(e));if(r<0)return e;let i=n+r,a=t[i]??``,o=s9(a).length;if(o<2)return e;let s=a9(a),c=i+1,l=t[c];if(l===void 0)return`${e}${e.endsWith(`
|
|
117
|
+
`)?``:`
|
|
118
|
+
`}${u9(o,s)}`;if(!o9(l).trim()){let e=[...t];return e[c]=u9(o,s),e.join(`
|
|
119
|
+
`)}if(l9(l)&&tce(l)<o||ece(l)){let e=[...t];return e[c]=u9(o,s),e.join(`
|
|
120
|
+
`)}if(!l9(l))return e;let u=t.length-1,d=t[u]??``;if(u>c&&c9(d)&&!l9(d)&&!d.trim().endsWith(`|`)){let e=[...t];return e[u]=nce(d,o),e.join(`
|
|
121
|
+
`)}return e}function ace(e){let t=[];for(let n of e){let e=t[t.length-1];if(n.type===`text`&&e?.type===`text`){e.text=`${e.text??``}${n.text??``}`;continue}t.push({...n})}return t}function oce({resolution:e,sessionKey:t,onClose:n}){let r=v(e=>e.language),i=m(r).chat.fileReference,[a,o]=(0,Y.useState)(!1),s=dI()&&!!window.electronAPI?.shell,c=e.target.path,l=e.status===`ready`?e.ref:null,d=l?.displayName??c.split(/[\\/]/).pop()??c,f=l?.absolutePath??c,p=(0,Y.useCallback)(()=>{GP(f).then(e=>{e&&(o(!0),window.setTimeout(()=>o(!1),2e3))})},[f]),h=(0,Y.useCallback)(async e=>{if(!l?.fileRefId||!s)return;let n=await TW(l.fileRefId,e,{sessionKey:t?.trim()||void 0});n&&(e===`openExternal`?await window.electronAPI?.shell?.openPath(n.absolutePath):await window.electronAPI?.shell?.showItemInFolder(n.absolutePath))},[s,l?.fileRefId,t]);return(0,Q.jsxs)(`div`,{className:u(`mt-2 flex max-w-xl min-w-0 flex-col gap-1.5 rounded-lg border px-2.5 py-2 text-xs`,e.status===`ready`&&e.ref.exists&&e.ref.scope!==`missing`?`border-edge-subtle bg-surface-panel`:`border-warning/30 bg-warning/5`),children:[(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[e.status===`loading`?(0,Q.jsx)(Ey,{className:`size-3.5 shrink-0 animate-spin text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}):e.status===`error`||l?.scope===`missing`||l?.scope===`invalid`?(0,Q.jsx)(Ud,{className:`size-3.5 shrink-0 text-warning`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(a_,{className:`size-3.5 shrink-0 text-accent`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`min-w-0 truncate font-medium`,children:d}),(0,Q.jsx)(`button`,{type:`button`,onClick:n,className:u(`ml-auto inline-flex size-5 shrink-0 items-center justify-center rounded text-fg-muted hover:bg-surface-hover hover:text-fg`,$.focusRingPanel),"aria-label":i.closeActions,children:(0,Q.jsx)(ZN,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0})})]}),(0,Q.jsx)(`p`,{className:`line-clamp-2 break-all text-[11px] leading-snug text-fg-muted`,children:e.status===`loading`?i.resolvingDescription:e.status===`error`?e.message:l?.scope===`missing`?i.missingDescription:l?.scope===`invalid`?i.invalidDescription:s?i.externalDescription:i.browserExternalDescription}),(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1 pt-0.5`,children:[s&&l?.capabilities.includes(`openExternal`)?(0,Q.jsxs)(`button`,{type:`button`,className:d9,onClick:()=>void h(`openExternal`),children:[(0,Q.jsx)(Yh,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:i.openExternal})]}):null,s&&l?.capabilities.includes(`revealInFolder`)?(0,Q.jsxs)(`button`,{type:`button`,className:d9,onClick:()=>void h(`revealInFolder`),children:[(0,Q.jsx)(Z_,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:i.revealInFolder})]}):null,(0,Q.jsxs)(`button`,{type:`button`,className:d9,onClick:p,children:[(0,Q.jsx)(mm,{className:`size-3`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:a?m(r).chat.messageCopied:i.copyPath})]})]})]})}var d9=u(`inline-flex items-center gap-1 rounded-md px-1.5 py-0.5 text-[11px] text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg`,$.focusRingPanel,$.press);function sce(e){let t=(0,Z.c)(16),{content:n,compact:r,sessionKey:i}=e,a=_Z(lce),o=v(cce),s;t[0]===o?s=t[1]:(s=m(o),t[0]=o,t[1]=s);let c=s.chat.fileReference,[l,u]=(0,Y.useState)(null),d;t[2]!==c.resolveFailedDescription||t[3]!==i||t[4]!==a?(d=e=>{if(e.kind===`workspace-relative`){a(e.path,e.line),u(null);return}u({status:`loading`,target:e}),wW(e.path,{sessionKey:i?.trim()||void 0}).then(t=>{if(!t){u({status:`error`,target:e,message:c.resolveFailedDescription});return}if(t.scope===`workspace`&&t.workspaceRelativePath){a(t.workspaceRelativePath,e.line),u(null);return}u({status:`ready`,target:e,ref:t})}).catch(t=>{u({status:`error`,target:e,message:t instanceof Error?t.message:String(t)})})},t[2]=c.resolveFailedDescription,t[3]=i,t[4]=a,t[5]=d):d=t[5];let f=d,p;t[6]!==r||t[7]!==n||t[8]!==f?(p=(0,Q.jsx)(aY,{content:n,compact:r,onWorkspaceFileOpen:f}),t[6]=r,t[7]=n,t[8]=f,t[9]=p):p=t[9];let h;t[10]!==l||t[11]!==i?(h=l?(0,Q.jsx)(oce,{resolution:l,sessionKey:i,onClose:()=>u(null)}):null,t[10]=l,t[11]=i,t[12]=h):h=t[12];let g;return t[13]!==p||t[14]!==h?(g=(0,Q.jsxs)(Q.Fragment,{children:[p,h]}),t[13]=p,t[14]=h,t[15]=g):g=t[15],g}function cce(e){return e.language}function lce(e){return e.setPath}function uce(e,t,n,r,i,a,o,s){if(e.type===`text`){if(n)return(0,Q.jsx)(`div`,{className:`min-w-0`,children:(0,Q.jsx)(nse,{text:jV(sV(e.text??``))})},t);let i=Qse(e.text??``);return i?(0,Q.jsx)(`div`,{className:`min-w-0`,children:(0,Q.jsx)(i9,{payload:i})},t):(0,Q.jsx)(`div`,{className:`markdown-content min-w-0`,children:(0,Q.jsx)(sce,{content:r?ice(e.text):e.text,compact:!0,sessionKey:s})},t)}if(e.type===`image`&&e.source?.data){let n=o??0;return a?(0,Q.jsx)(`button`,{type:`button`,className:u(`inline-block max-w-full rounded-lg p-0 text-left`,$.press,$.focusRingPanel,`cursor-pointer`),onClick:()=>a(e,n),title:i,"aria-label":i,children:(0,Q.jsx)(`img`,{src:e.source.data,className:`max-h-48 max-w-64 rounded-lg align-top object-contain`,alt:``})},t):(0,Q.jsx)(`img`,{src:e.source.data,className:`max-h-48 max-w-64 rounded-lg object-contain`,alt:``},t)}return null}function dce(e,t){for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`text`&&(t.text??``).length>0)return!0}return!1}function fce(e,t,n,r,i,a,o,s,c,l,u){let d=t?e:ace(e),f=[],p=u??{},m=p.labels??Bse(),h=0,g=0;for(;h<d.length;){let e=d[h];if(e.type===`tool_use`&&k7(e)){f.push((0,Q.jsx)(t9,{block:e,startedAt:p.getStartedAt?.(e),sessionKey:l,onAbort:p.onAbort,onSendChatMessage:p.onSendChatMessage,labels:m},`workflow-${e.id??h}`)),h++;continue}if(e.type===`thinking`||e.type===`tool_use`){let e=h;for(;h<d.length;){let e=d[h];if(e.type===`thinking`){h++;continue}if(e.type===`tool_use`&&!k7(e)){h++;continue}break}let s=d.slice(e,h);if(s.length>0){let c=!t&&dce(d,h);f.push((0,Q.jsx)(qoe,{blocks:s,toolLabels:r,stepLabels:i,clusterLabels:a,cardLabels:o,sessionKey:l,isMessageStreaming:!t&&n,finalAnswerStarted:c},`steps-${e}`))}}else{let r=e.type===`image`?g++:0,i=uce(e,`block-${h}`,t,n,s,c,e.type===`image`?r:h,l);i&&f.push(i),h++}}return f}function f9(e){let t=(0,Z.c)(28),{open:n,title:r,description:i,confirmLabel:a,cancelLabel:o,destructive:s,onConfirm:c,onCancel:l}=e,d;t[0]===l?d=t[1]:(d=e=>{e||l()},t[0]=l,t[1]=d);let f;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsx)(JL,{className:u(`xopc-dialog-overlay fixed inset-0 bg-scrim backdrop-blur-[1px]`,xZ)}),t[2]=f):f=t[2];let p;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=u(`fixed left-1/2 top-1/2 w-[min(100%-2rem,28rem)] -translate-x-1/2 -translate-y-1/2`,SZ,`rounded-2xl border border-edge bg-surface-panel p-6 shadow-popover outline-none dark:border-edge`),t[3]=p):p=t[3];let m;t[4]===r?m=t[5]:(m=(0,Q.jsx)(XL,{className:`text-base font-semibold text-fg`,children:r}),t[4]=r,t[5]=m);let h;t[6]===i?h=t[7]:(h=(0,Q.jsx)(ZL,{className:`mt-2 max-h-[min(50vh,16rem)] overflow-y-auto text-sm text-fg-muted whitespace-pre-wrap break-all`,children:i}),t[6]=i,t[7]=h);let g;t[8]!==o||t[9]!==l?(g=(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,onClick:l,children:o}),t[8]=o,t[9]=l,t[10]=g):g=t[10];let _=s&&`border-danger/40 bg-danger text-white hover:bg-danger/90 dark:border-danger/40`,v;t[11]===_?v=t[12]:(v=u(_),t[11]=_,t[12]=v);let y;t[13]!==a||t[14]!==c||t[15]!==v?(y=(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,className:v,onClick:c,children:a}),t[13]=a,t[14]=c,t[15]=v,t[16]=y):y=t[16];let b;t[17]!==g||t[18]!==y?(b=(0,Q.jsxs)(`div`,{className:`mt-6 flex justify-end gap-2`,children:[g,y]}),t[17]=g,t[18]=y,t[19]=b):b=t[19];let x;t[20]!==b||t[21]!==m||t[22]!==h?(x=(0,Q.jsxs)(qL,{children:[f,(0,Q.jsxs)(YL,{className:p,children:[m,h,b]})]}),t[20]=b,t[21]=m,t[22]=h,t[23]=x):x=t[23];let S;return t[24]!==n||t[25]!==d||t[26]!==x?(S=(0,Q.jsx)(KL,{open:n,onOpenChange:d,children:x}),t[24]=n,t[25]=d,t[26]=x,t[27]=S):S=t[27],S}function p9(e){return e?new Date(e).toLocaleTimeString([],{hour:`2-digit`,minute:`2-digit`,second:`2-digit`}):``}var m9=u(`inline-flex size-9 shrink-0 items-center justify-center rounded-lg`,`text-fg-muted transition-colors transition-transform duration-150 ease-out`,`hover:bg-surface-hover hover:text-fg active:scale-95`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent`,$.disabled),h9=u(`inline-flex h-8 shrink-0 items-center justify-center gap-1 rounded-md px-2 text-xs text-fg-muted transition-colors`,`hover:bg-surface-hover hover:text-fg active:scale-[0.98]`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent`,$.disabled),g9=(0,Y.memo)(function(e){let t=(0,Z.c)(239),{message:n,authToken:r,sessionKey:i,isStreaming:a,progress:o,reasoningLevel:s,messageIndex:c,onDeleteRound:l,onRetryUserMessageRound:d,userMessageCanRetry:f,deleteRoundDisabled:p,onAbortCurrentTurn:h,onSendUserMessage:g,onSaveAssistantToSourceNote:_,onExtractAssistantTask:y,readonly:b,density:x,suppressAssistantActions:S}=e,C=s===void 0?`stream`:s,w=f===void 0?!1:f,T=p===void 0?!1:p,E=b===void 0?!1:b,D=x===void 0?`normal`:x,O=S===void 0?!1:S,k=v(pce),A;t[0]===k?A=t[1]:(A=m(k),t[0]=k,t[1]=A);let j=A,M=n.role===`user`,N=n.role===`assistant`,P=M?j.chat.you:N?j.chat.assistant:j.chat.tool,F;t[2]!==j.chat.noOutput||t[3]!==j.chat.toolInput||t[4]!==j.chat.toolOutput?(F={input:j.chat.toolInput,output:j.chat.toolOutput,noOutput:j.chat.noOutput},t[2]=j.chat.noOutput,t[3]=j.chat.toolInput,t[4]=j.chat.toolOutput,t[5]=F):F=t[5];let I=F,L;t[6]!==j.chat.stepDetails||t[7]!==j.chat.stepEditFile||t[8]!==j.chat.stepFetchUrl||t[9]!==j.chat.stepListDirectory||t[10]!==j.chat.stepOpenUrl||t[11]!==j.chat.stepReadFile||t[12]!==j.chat.stepRunCommand||t[13]!==j.chat.stepSearchedWeb||t[14]!==j.chat.stepUnknownTool||t[15]!==j.chat.stepWriteFile||t[16]!==j.chat.thoughts||t[17]!==j.chat.thoughtsStreaming||t[18]!==j.chat.viewSteps_one||t[19]!==j.chat.viewSteps_other?(L={thoughts:j.chat.thoughts,thoughtsStreaming:j.chat.thoughtsStreaming,viewSteps_one:j.chat.viewSteps_one,viewSteps_other:j.chat.viewSteps_other,searchedWeb:j.chat.stepSearchedWeb,readFile:j.chat.stepReadFile,stepDetails:j.chat.stepDetails,runCommand:j.chat.stepRunCommand,listDirectory:j.chat.stepListDirectory,writeFile:j.chat.stepWriteFile,editFile:j.chat.stepEditFile,openUrl:j.chat.stepOpenUrl,fetchUrl:j.chat.stepFetchUrl,unknownTool:j.chat.stepUnknownTool},t[6]=j.chat.stepDetails,t[7]=j.chat.stepEditFile,t[8]=j.chat.stepFetchUrl,t[9]=j.chat.stepListDirectory,t[10]=j.chat.stepOpenUrl,t[11]=j.chat.stepReadFile,t[12]=j.chat.stepRunCommand,t[13]=j.chat.stepSearchedWeb,t[14]=j.chat.stepUnknownTool,t[15]=j.chat.stepWriteFile,t[16]=j.chat.thoughts,t[17]=j.chat.thoughtsStreaming,t[18]=j.chat.viewSteps_one,t[19]=j.chat.viewSteps_other,t[20]=L):L=t[20];let R=L,z;t[21]!==j.chat.stepsClusterJoin||t[22]!==j.chat.stepsClusterJoinFinal||t[23]!==j.chat.stepsClusterMoreSuffix?(z={join:j.chat.stepsClusterJoin,joinFinal:j.chat.stepsClusterJoinFinal,moreSuffix:j.chat.stepsClusterMoreSuffix},t[21]=j.chat.stepsClusterJoin,t[22]=j.chat.stepsClusterJoinFinal,t[23]=j.chat.stepsClusterMoreSuffix,t[24]=z):z=t[24];let B;t[25]!==j.chat.stepsClusterDone||t[26]!==j.chat.stepsClusterIng||t[27]!==z?(B={done:j.chat.stepsClusterDone,ing:j.chat.stepsClusterIng,join:z},t[25]=j.chat.stepsClusterDone,t[26]=j.chat.stepsClusterIng,t[27]=z,t[28]=B):B=t[28];let V=B,H=j.chat.toolCard,U=C===`off`,W;bb0:{if(!U){let e;t[29]===n.content?e=t[30]:(e=n.content??[],t[29]=n.content,t[30]=e),W=e;break bb0}let e;t[31]===n.content?e=t[32]:(e=n.content??[],t[31]=n.content,t[32]=e);let r;t[33]===e?r=t[34]:(r=e.filter(mce),t[33]=e,t[34]=r),W=r}let G=W,K;bb1:{if(!M&&!N){K=G;break bb1}let e;t[35]===G?e=t[36]:(e=G??[],t[35]=G,t[36]=e);let n;t[37]===e?n=t[38]:(n=e.filter(hce),t[37]=e,t[38]=n),K=n}let ee=K,te;t[39]!==N||t[40]!==n.content?(te=N?Kae(n.content):[],t[39]=N,t[40]=n.content,t[41]=te):te=t[41];let ne=te,q;t[42]!==N||t[43]!==n.content?(q=N?(n.content??[]).filter(gce):[],t[42]=N,t[43]=n.content,t[44]=q):q=t[44];let re=q,ie;t[45]!==re||t[46]!==N?(ie=N?qae(re):[],t[45]=re,t[46]=N,t[47]=ie):ie=t[47];let ae=ie,J=N&&(ne.length>0||ae.length>0),oe;bb2:{if(N){let e;t[48]!==ne||t[49]!==n.attachments?(e=Wae(n.attachments,ne),t[48]=ne,t[49]=n.attachments,t[50]=e):e=t[50],oe=e;break bb2}oe=n.attachments}let se=oe,ce=U&&o?.stage===`thinking`?null:o,le;t[51]!==n.content||t[52]!==U?(le=U?!1:!!n.content?.some(_ce),t[51]=n.content,t[52]=U,t[53]=le):le=t[53];let ue=le,de=!!n.timestamp||!!ce?.message||a&&!ue,fe=N&&!E&&!a&&!O,pe;t[54]!==fe||t[55]!==n.content?(pe=fe?Jae(n.content??[]):``,t[54]=fe,t[55]=n.content,t[56]=pe):pe=t[56];let me=pe,he;t[57]!==fe||t[58]!==me||t[59]!==n.content?(he=fe&&me?Xae(n.content??[]):``,t[57]=fe,t[58]=me,t[59]=n.content,t[60]=he):he=t[60];let ge=he,_e;bb3:{if(!M){_e=``;break bb3}let e;t[61]===n.content?e=t[62]:(e=MV(n.content),t[61]=n.content,t[62]=e),_e=e}let X=_e,[ve,ye]=(0,Y.useState)(null),[be,xe]=(0,Y.useState)(null),[Se,Ce]=(0,Y.useState)(null),[we,Te]=(0,Y.useState)(!1),[Ee,De]=(0,Y.useState)(null),[Oe,ke]=(0,Y.useState)(!1),[Ae,je]=(0,Y.useState)(!1),Me=(0,Y.useRef)(null),Ne;t[63]===Symbol.for(`react.memo_cache_sentinel`)?(Ne=(e,t)=>{let n=K5(e,t);n&&De(n)},t[63]=Ne):Ne=t[63];let Pe=Ne,Fe;t[64]===ge?Fe=t[65]:(Fe=()=>{ge&&GP(ge).then(e=>{e&&(ye(`plain`),window.setTimeout(()=>ye(vce),2e3))})},t[64]=ge,t[65]=Fe);let Ie=Fe,Le;t[66]===me?Le=t[67]:(Le=()=>{me&&GP(me).then(e=>{e&&(ye(`markdown`),window.setTimeout(()=>ye(yce),2e3))})},t[66]=me,t[67]=Le);let Re=Le,ze;t[68]!==Se||t[69]!==me||t[70]!==_?(ze=()=>{!me||!_||Se||(Ce(`save-note`),Promise.resolve(_(me)).then(()=>{xe(`save-note`),window.setTimeout(()=>xe(bce),2e3)}).finally(()=>Ce(null)))},t[68]=Se,t[69]=me,t[70]=_,t[71]=ze):ze=t[71];let Be=ze,Ve;t[72]!==Se||t[73]!==me||t[74]!==ge||t[75]!==y?(Ve=()=>{!ge&&!me||!y||Se||(Ce(`extract-task`),Promise.resolve(y(ge||me)).then(()=>{xe(`extract-task`),window.setTimeout(()=>xe(xce),2e3)}).finally(()=>Ce(null)))},t[72]=Se,t[73]=me,t[74]=ge,t[75]=y,t[76]=Ve):Ve=t[76];let He=Ve,Ue;t[77]===X?Ue=t[78]:(Ue=()=>{X&&GP(X).then(e=>{e&&(ye(`user`),window.setTimeout(()=>ye(Sce),2e3))})},t[77]=X,t[78]=Ue);let We=Ue,Ge;t[79]!==c||t[80]!==l?(Ge=()=>{c==null||!l||Te(!0)},t[79]=c,t[80]=l,t[81]=Ge):Ge=t[81];let Ke=Ge,qe;t[82]!==c||t[83]!==l?(qe=()=>{c==null||!l||(l(c),Te(!1))},t[82]=c,t[83]=l,t[84]=qe):qe=t[84];let Je=qe,Ye;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(Ye=()=>{Te(!1)},t[85]=Ye):Ye=t[85];let Xe=Ye,Ze;if(t[86]!==n||t[87]!==U){bb4:{let e=Qie(n);if(U){Ze=e.filter(Cce);break bb4}Ze=e}t[86]=n,t[87]=U,t[88]=Ze}else Ze=t[88];let Qe=Ze,$e;t[89]===M?$e=t[90]:($e=()=>{if(!M)return;let e=Me.current;if(!e)return;let t=()=>{let t=window.getComputedStyle(e),n=Number.parseFloat(t.lineHeight),r=Number.parseFloat(t.fontSize)||14,i=Number.isFinite(n)?n:r*1.625;je(e.scrollHeight>i*10+1)};if(t(),typeof ResizeObserver>`u`)return;let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},t[89]=M,t[90]=$e);let et;t[91]!==ee||t[92]!==M||t[93]!==X?(et=[M,ee,X],t[91]=ee,t[92]=M,t[93]=X,t[94]=et):et=t[94],(0,Y.useLayoutEffect)($e,et);let tt;t[95]===Symbol.for(`react.memo_cache_sentinel`)?(tt=()=>{ke(!1)},t[95]=tt):tt=t[95];let nt;t[96]!==M||t[97]!==X?(nt=[M,X],t[96]=M,t[97]=X,t[98]=nt):nt=t[98],(0,Y.useLayoutEffect)(tt,nt);let rt=T||!w,it=D===`compact`&&`text-sm`,at=M?`justify-end`:`justify-start`,ot;t[99]!==it||t[100]!==at?(ot=u(`group/msg flex w-full min-w-0`,it,at),t[99]=it,t[100]=at,t[101]=ot):ot=t[101];let st=E&&`max-w-full`,ct=M?`flex w-full flex-col items-end`:`w-full`,lt;t[102]!==st||t[103]!==ct?(lt=u(`min-w-0 max-w-[min(85%,var(--max-width-chat))]`,st,ct),t[102]=st,t[103]=ct,t[104]=lt):lt=t[104];let ut;t[105]===P?ut=t[106]:(ut=(0,Q.jsx)(`span`,{className:`sr-only`,children:P}),t[105]=P,t[106]=ut);let dt;t[107]!==a||t[108]!==M||t[109]!==j.chat.thinkingLabel||t[110]!==n.timestamp||t[111]!==ce||t[112]!==de||t[113]!==ue?(dt=M&&de?(0,Q.jsxs)(`div`,{className:`mb-2 flex w-full min-w-0 flex-wrap items-center justify-end gap-x-2 gap-y-0.5 text-xs`,children:[n.timestamp?(0,Q.jsx)(`time`,{suppressHydrationWarning:!0,className:`shrink-0 tabular-nums text-fg-disabled`,dateTime:new Date(n.timestamp).toISOString(),children:p9(n.timestamp)}):null,ce?.message?(0,Q.jsx)(`span`,{className:`text-fg-subtle`,title:ce.detail??``,children:ce.message}):null,a&&!ue&&!ce?.message?(0,Q.jsx)(`span`,{className:`text-fg-subtle`,children:j.chat.thinkingLabel}):null]}):null,t[107]=a,t[108]=M,t[109]=j.chat.thinkingLabel,t[110]=n.timestamp,t[111]=ce,t[112]=de,t[113]=ue,t[114]=dt):dt=t[114];let ft;t[115]!==a||t[116]!==M||t[117]!==j.chat.thinkingLabel||t[118]!==n.timestamp||t[119]!==ce||t[120]!==de||t[121]!==ue?(ft=!M&&de?(0,Q.jsxs)(`div`,{className:`mb-2 flex flex-wrap items-baseline gap-x-2 gap-y-0.5 text-xs text-fg-disabled`,children:[n.timestamp?(0,Q.jsx)(`time`,{suppressHydrationWarning:!0,className:`tabular-nums`,dateTime:new Date(n.timestamp).toISOString(),children:p9(n.timestamp)}):null,ce?.message?(0,Q.jsx)(`span`,{className:`text-fg-subtle`,title:ce.detail??``,children:ce.message}):null,a&&!ue&&!ce?.message?(0,Q.jsx)(`span`,{className:`text-fg-subtle`,children:j.chat.thinkingLabel}):null]}):null,t[115]=a,t[116]=M,t[117]=j.chat.thinkingLabel,t[118]=n.timestamp,t[119]=ce,t[120]=de,t[121]=ue,t[122]=ft):ft=t[122];let pt=M?`ltr`:void 0,mt=M&&`w-fit max-w-full rounded-xl border border-edge-subtle/70 bg-surface-hover/90 px-4 py-3 text-left shadow-sm dark:border-edge-subtle dark:bg-surface-hover/50`,ht;t[123]===mt?ht=t[124]:(ht=u(`min-w-0 text-sm leading-relaxed text-fg`,mt),t[123]=mt,t[124]=ht);let gt;t[125]!==H||t[126]!==V||t[127]!==ee||t[128]!==N||t[129]!==a||t[130]!==M||t[131]!==k||t[132]!==j.chat.attachmentPreviewImage||t[133]!==j.chat.userMessageCollapse||t[134]!==j.chat.userMessageExpand||t[135]!==h||t[136]!==g||t[137]!==i||t[138]!==R||t[139]!==I||t[140]!==Ae||t[141]!==Oe?(gt=(ee?.length??0)>0?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`div`,{ref:M?Me:void 0,className:u(`min-w-0`,M&&`flex flex-col gap-2`,M&&!Oe&&`overflow-hidden`),style:M&&!Oe?{maxHeight:`calc(10lh)`}:void 0,children:fce(ee,M,N&&a,I,R,V,H,j.chat.attachmentPreviewImage,Pe,i,{labels:n9(k),onAbort:N&&a?h:void 0,onSendChatMessage:g})}),M&&Ae?(0,Q.jsxs)(`button`,{type:`button`,className:`inline-flex w-fit items-center gap-1 rounded-md px-1.5 py-1 text-xs font-medium text-accent transition-colors hover:bg-accent/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent`,onClick:()=>ke(wce),"aria-expanded":Oe,children:[Oe?(0,Q.jsx)(Ad,{className:`size-3.5`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(Td,{className:`size-3.5`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{children:Oe?j.chat.userMessageCollapse:j.chat.userMessageExpand})]}):null,a?(0,Q.jsx)(`span`,{className:`inline-block h-3 w-0.5 animate-pulse bg-accent align-middle`}):null]}):a?(0,Q.jsx)(`span`,{className:`inline-block h-3 w-0.5 animate-pulse bg-accent`}):null,t[125]=H,t[126]=V,t[127]=ee,t[128]=N,t[129]=a,t[130]=M,t[131]=k,t[132]=j.chat.attachmentPreviewImage,t[133]=j.chat.userMessageCollapse,t[134]=j.chat.userMessageExpand,t[135]=h,t[136]=g,t[137]=i,t[138]=R,t[139]=I,t[140]=Ae,t[141]=Oe,t[142]=gt):gt=t[142];let _t;t[143]!==N||t[144]!==Qe?(_t=N&&Qe.length>0?(0,Q.jsx)(uae,{blocks:Qe}):null,t[143]=N,t[144]=Qe,t[145]=_t):_t=t[145];let vt;t[146]!==ae||t[147]!==ne||t[148]!==r||t[149]!==j.chat.messageArtifactsHeading||t[150]!==i||t[151]!==J?(vt=J?(0,Q.jsxs)(`div`,{className:`rounded-lg border border-edge-subtle/60 bg-surface-elevated/20 px-3 py-2.5`,role:`group`,"aria-label":j.chat.messageArtifactsHeading,children:[(0,Q.jsx)(`div`,{className:`mb-1.5 text-[10px] font-medium uppercase tracking-wide text-fg-subtle`,children:j.chat.messageArtifactsHeading}),(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[ne.length>0?(0,Q.jsx)(B5,{paths:ne,sessionKey:i}):null,ae.length>0?(0,Q.jsx)(w5,{attachments:ae,authToken:r,sessionKey:i,layout:`assistant`}):null]})]}):null,t[146]=ae,t[147]=ne,t[148]=r,t[149]=j.chat.messageArtifactsHeading,t[150]=i,t[151]=J,t[152]=vt):vt=t[152];let yt;t[153]!==se||t[154]!==r||t[155]!==M||t[156]!==i||t[157]!==X?(yt=se?.length?M?(0,Q.jsx)(w5,{attachments:se,authToken:r,sessionKey:i,layout:`user`,centerUserVoiceRow:X.length===0}):(0,Q.jsx)(w5,{attachments:se,authToken:r,sessionKey:i,layout:`assistant`}):null,t[153]=se,t[154]=r,t[155]=M,t[156]=i,t[157]=X,t[158]=yt):yt=t[158];let bt;t[159]!==gt||t[160]!==_t||t[161]!==vt||t[162]!==yt?(bt=(0,Q.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[gt,_t,vt,yt]}),t[159]=gt,t[160]=_t,t[161]=vt,t[162]=yt,t[163]=bt):bt=t[163];let xt;t[164]!==pt||t[165]!==ht||t[166]!==bt?(xt=(0,Q.jsx)(`div`,{dir:pt,className:ht,children:bt}),t[164]=pt,t[165]=ht,t[166]=bt,t[167]=xt):xt=t[167];let St;t[168]!==ve||t[169]!==T||t[170]!==We||t[171]!==a||t[172]!==M||t[173]!==j.chat.messageCopied||t[174]!==j.chat.userMessageActionsWait||t[175]!==j.chat.userMessageCopy||t[176]!==j.chat.userMessageDelete||t[177]!==j.chat.userMessageEdit||t[178]!==j.chat.userMessageRetry||t[179]!==j.chat.userMessageRetryDisabledHint||t[180]!==c||t[181]!==l||t[182]!==d||t[183]!==Ke||t[184]!==E||t[185]!==rt||t[186]!==X||t[187]!==w?(St=M&&!a&&!E?(0,Q.jsx)(`div`,{className:`mt-1.5 flex h-8 w-full min-w-0 shrink-0 justify-end`,children:(0,Q.jsxs)(`div`,{className:u(`flex h-full max-w-full items-center justify-end gap-0.5 sm:gap-2`,`pointer-events-none opacity-0 transition-opacity duration-150 ease-out`,`group-hover/msg:pointer-events-auto group-hover/msg:opacity-100`,`group-focus-within/msg:pointer-events-auto group-focus-within/msg:opacity-100`,`[@media(hover:none)_and_(pointer:coarse)]:pointer-events-auto [@media(hover:none)_and_(pointer:coarse)]:opacity-100`),children:[d&&c!=null?(0,Q.jsxs)(`button`,{type:`button`,className:u(h9,rt&&`opacity-40`),onClick:()=>d(c),disabled:rt,title:T?j.chat.userMessageActionsWait:w?j.chat.userMessageRetry:j.chat.userMessageRetryDisabledHint,"aria-label":j.chat.userMessageRetry,children:[(0,Q.jsx)(fT,{className:`size-3.5 shrink-0`,strokeWidth:1.75,"aria-hidden":!0}),(0,Q.jsx)(`span`,{className:`max-w-[4.5rem] truncate sm:max-w-none`,children:j.chat.userMessageRetry})]}):null,(0,Q.jsx)(`button`,{type:`button`,className:u(h9,`size-8 px-0`),onClick:()=>P$(X),disabled:!X,title:j.chat.userMessageEdit,"aria-label":j.chat.userMessageEdit,children:(0,Q.jsx)(NC,{className:`size-3.5`,strokeWidth:1.75,"aria-hidden":!0})}),(0,Q.jsx)(`button`,{type:`button`,className:u(h9,`size-8 px-0`),onClick:We,disabled:!X,title:ve===`user`?j.chat.messageCopied:j.chat.userMessageCopy,"aria-label":ve===`user`?j.chat.messageCopied:j.chat.userMessageCopy,children:ve===`user`?(0,Q.jsx)(gd,{className:`size-3.5 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(mm,{className:`size-3.5`,strokeWidth:1.75,"aria-hidden":!0})}),l&&c!=null&&!T?(0,Q.jsx)(`button`,{type:`button`,className:u(h9,`size-8 px-0 hover:text-red-500 dark:hover:text-red-400`),onClick:Ke,title:j.chat.userMessageDelete,"aria-label":j.chat.userMessageDelete,children:(0,Q.jsx)(Pj,{className:`size-3.5`,strokeWidth:1.75,"aria-hidden":!0})}):null]})}):null,t[168]=ve,t[169]=T,t[170]=We,t[171]=a,t[172]=M,t[173]=j.chat.messageCopied,t[174]=j.chat.userMessageActionsWait,t[175]=j.chat.userMessageCopy,t[176]=j.chat.userMessageDelete,t[177]=j.chat.userMessageEdit,t[178]=j.chat.userMessageRetry,t[179]=j.chat.userMessageRetryDisabledHint,t[180]=c,t[181]=l,t[182]=d,t[183]=Ke,t[184]=E,t[185]=rt,t[186]=X,t[187]=w,t[188]=St):St=t[188];let Ct;t[189]!==Se||t[190]!==be||t[191]!==fe||t[192]!==ve||t[193]!==me||t[194]!==ge||t[195]!==Re||t[196]!==Ie||t[197]!==He||t[198]!==Be||t[199]!==j.chat.messageCopied||t[200]!==j.chat.messageCopyMarkdown||t[201]!==j.chat.messageCopyPlainText||t[202]!==j.chat.messageExtractTask||t[203]!==j.chat.messageSaveToNote||t[204]!==j.chat.messageSavedToNote||t[205]!==j.chat.messageTaskExtracted||t[206]!==y||t[207]!==_?(Ct=fe&&me?(0,Q.jsxs)(`div`,{className:`mt-2 flex shrink-0 flex-wrap items-center gap-2 overflow-visible`,children:[(0,Q.jsx)(`button`,{type:`button`,className:m9,onClick:Ie,disabled:!ge,title:ve===`plain`?j.chat.messageCopied:j.chat.messageCopyPlainText,"aria-label":ve===`plain`?j.chat.messageCopied:j.chat.messageCopyPlainText,children:ve===`plain`?(0,Q.jsx)(gd,{className:`size-4 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(mm,{className:`size-4`,strokeWidth:1.75,"aria-hidden":!0})}),(0,Q.jsx)(`button`,{type:`button`,className:m9,onClick:Re,title:ve===`markdown`?j.chat.messageCopied:j.chat.messageCopyMarkdown,"aria-label":ve===`markdown`?j.chat.messageCopied:j.chat.messageCopyMarkdown,children:ve===`markdown`?(0,Q.jsx)(gd,{className:`size-4 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(vg,{className:`size-4`,strokeWidth:1.75,"aria-hidden":!0})}),_?(0,Q.jsx)(`button`,{type:`button`,className:m9,onClick:Be,disabled:!me||Se!==null,title:be===`save-note`?j.chat.messageSavedToNote:j.chat.messageSaveToNote,"aria-label":be===`save-note`?j.chat.messageSavedToNote:j.chat.messageSaveToNote,children:be===`save-note`?(0,Q.jsx)(gd,{className:`size-4 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(Xg,{className:`size-4`,strokeWidth:1.75,"aria-hidden":!0})}):null,y?(0,Q.jsx)(`button`,{type:`button`,className:m9,onClick:He,disabled:!ge&&!me||Se!==null,title:be===`extract-task`?j.chat.messageTaskExtracted:j.chat.messageExtractTask,"aria-label":be===`extract-task`?j.chat.messageTaskExtracted:j.chat.messageExtractTask,children:be===`extract-task`?(0,Q.jsx)(gd,{className:`size-4 text-fg-muted`,strokeWidth:1.75,"aria-hidden":!0}):(0,Q.jsx)(xy,{className:`size-4`,strokeWidth:1.75,"aria-hidden":!0})}):null]}):null,t[189]=Se,t[190]=be,t[191]=fe,t[192]=ve,t[193]=me,t[194]=ge,t[195]=Re,t[196]=Ie,t[197]=He,t[198]=Be,t[199]=j.chat.messageCopied,t[200]=j.chat.messageCopyMarkdown,t[201]=j.chat.messageCopyPlainText,t[202]=j.chat.messageExtractTask,t[203]=j.chat.messageSaveToNote,t[204]=j.chat.messageSavedToNote,t[205]=j.chat.messageTaskExtracted,t[206]=y,t[207]=_,t[208]=Ct):Ct=t[208];let wt;t[209]!==lt||t[210]!==ut||t[211]!==dt||t[212]!==ft||t[213]!==xt||t[214]!==St||t[215]!==Ct?(wt=(0,Q.jsxs)(`div`,{className:lt,children:[ut,dt,ft,xt,St,Ct]}),t[209]=lt,t[210]=ut,t[211]=dt,t[212]=ft,t[213]=xt,t[214]=St,t[215]=Ct,t[216]=wt):wt=t[216];let Tt;t[217]!==Je||t[218]!==we||t[219]!==M||t[220]!==j.chat.userMessageDeleteCancel||t[221]!==j.chat.userMessageDeleteConfirm||t[222]!==j.chat.userMessageDeleteConfirmTitle||t[223]!==j.chat.userMessageDeleteOk||t[224]!==c||t[225]!==l||t[226]!==E?(Tt=M&&l&&c!=null&&!E?(0,Q.jsx)(f9,{open:we,title:j.chat.userMessageDeleteConfirmTitle,description:j.chat.userMessageDeleteConfirm,confirmLabel:j.chat.userMessageDeleteOk,cancelLabel:j.chat.userMessageDeleteCancel,destructive:!0,onConfirm:Je,onCancel:Xe}):null,t[217]=Je,t[218]=we,t[219]=M,t[220]=j.chat.userMessageDeleteCancel,t[221]=j.chat.userMessageDeleteConfirm,t[222]=j.chat.userMessageDeleteConfirmTitle,t[223]=j.chat.userMessageDeleteOk,t[224]=c,t[225]=l,t[226]=E,t[227]=Tt):Tt=t[227];let Et=Ee!==null,Dt;t[228]===Symbol.for(`react.memo_cache_sentinel`)?(Dt=()=>De(null),t[228]=Dt):Dt=t[228];let Ot;t[229]!==r||t[230]!==Ee||t[231]!==i||t[232]!==Et?(Ot=(0,Q.jsx)(y5,{open:Et,attachment:Ee,authToken:r,sessionKey:i,onClose:Dt}),t[229]=r,t[230]=Ee,t[231]=i,t[232]=Et,t[233]=Ot):Ot=t[233];let kt;return t[234]!==ot||t[235]!==wt||t[236]!==Tt||t[237]!==Ot?(kt=(0,Q.jsxs)(`article`,{className:ot,children:[wt,Tt,Ot]}),t[234]=ot,t[235]=wt,t[236]=Tt,t[237]=Ot,t[238]=kt):kt=t[238],kt});function pce(e){return e.language}function mce(e){return e.type!==`thinking`}function hce(e){return e.type!==`image`}function gce(e){return e.type===`image`&&!!e.source?.data}function _ce(e){return e.type===`thinking`&&e.streaming}function vce(e){return e===`plain`?null:e}function yce(e){return e===`markdown`?null:e}function bce(e){return e===`save-note`?null:e}function xce(e){return e===`extract-task`?null:e}function Sce(e){return e===`user`?null:e}function Cce(e){return e.type!==`thinking`}function wce(e){return!e}var Tce=(0,Y.memo)(function(e){let t=(0,Z.c)(32),{messages:n,authToken:r,sessionKey:i,streaming:a,progress:o,reasoningLevel:s,registerListContentRef:c,onPickWelcomePrompt:l,welcomeOverlay:u,onDeleteRound:d,onRetryUserMessageRound:f,deleteRoundDisabled:p,onAbortCurrentTurn:h,onSendUserMessage:g,onSaveAssistantToSourceNote:_,onExtractAssistantTask:y}=e,b=v(Ece),x;t[0]===b?x=t[1]:(x=m(b),t[0]=b,t[1]=x);let S=x;if(n.length===0&&!a){if(u){let e;return t[2]===u?e=t[3]:(e=(0,Q.jsx)(`div`,{className:`flex w-full flex-col items-center pb-6 pt-4`,children:u}),t[2]=u,t[3]=e),e}if(l&&S.chat.welcomeSpotlight){let e;return t[4]!==S.chat||t[5]!==l?(e=(0,Q.jsx)(`div`,{className:`pb-1.5`,children:(0,Q.jsx)(Zie,{chat:S.chat,onPickPrompt:l})}),t[4]=S.chat,t[5]=l,t[6]=e):e=t[6],e}let e;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(`div`,{className:`text-4xl`,"aria-hidden":!0,children:`🤖`}),t[7]=e):e=t[7];let n;t[8]===S.chat.welcomeTitle?n=t[9]:(n=(0,Q.jsx)(`div`,{className:`text-xl font-semibold tracking-tight text-fg`,children:S.chat.welcomeTitle}),t[8]=S.chat.welcomeTitle,t[9]=n);let r;t[10]===S.chat.welcomeDescription?r=t[11]:(r=(0,Q.jsx)(`div`,{className:`max-w-sm text-sm leading-relaxed text-fg-muted`,children:S.chat.welcomeDescription}),t[10]=S.chat.welcomeDescription,t[11]=r);let i;return t[12]!==n||t[13]!==r?(i=(0,Q.jsx)(`div`,{className:`flex flex-col gap-10 pb-8`,children:(0,Q.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-3 py-20 text-center`,children:[e,n,r]})}),t[12]=n,t[13]=r,t[14]=i):i=t[14],i}let C;t[15]!==r||t[16]!==p||t[17]!==n||t[18]!==h||t[19]!==d||t[20]!==y||t[21]!==f||t[22]!==_||t[23]!==g||t[24]!==o||t[25]!==s||t[26]!==i||t[27]!==a?(C=n.map((e,t)=>{let c=t===n.length-1,l=!!(a&&c&&e.role===`assistant`);return(0,Q.jsx)(g9,{message:e,authToken:r,sessionKey:i,isStreaming:l,progress:l?o:null,reasoningLevel:s,messageIndex:t,onDeleteRound:d,onRetryUserMessageRound:f,userMessageCanRetry:!!f&&NV(n,t),deleteRoundDisabled:p,onAbortCurrentTurn:h,onSendUserMessage:g,onSaveAssistantToSourceNote:_,onExtractAssistantTask:y,suppressAssistantActions:a},O7(e,t))}),t[15]=r,t[16]=p,t[17]=n,t[18]=h,t[19]=d,t[20]=y,t[21]=f,t[22]=_,t[23]=g,t[24]=o,t[25]=s,t[26]=i,t[27]=a,t[28]=C):C=t[28];let w;return t[29]!==c||t[30]!==C?(w=(0,Q.jsx)(`div`,{ref:c,className:`flex w-full min-w-0 flex-col gap-10 pb-8`,children:C}),t[29]=c,t[30]=C,t[31]=w):w=t[31],w});function Ece(e){return e.language}var Dce=(0,Y.memo)(function(e){let t=(0,Z.c)(7),{visible:n,onClick:r}=e,i=v(Oce),a;t[0]===i?a=t[1]:(a=m(i),t[0]=i,t[1]=a);let o=a;if(!n)return null;let s;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=u(`fixed bottom-[calc(11rem+env(safe-area-inset-bottom,0px))] right-6 z-20 flex size-11 items-center justify-center rounded-full border border-edge bg-surface-panel text-fg-subtle shadow-float`,`hover:bg-surface-hover hover:text-fg dark:border-edge dark:shadow-none md:right-10`,$.transition,$.press,$.focusRingPanel),t[2]=s):s=t[2];let c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsx)(Td,{className:`size-6`,"aria-hidden":!0}),t[3]=c):c=t[3];let l;return t[4]!==o.chat.scrollToBottom||t[5]!==r?(l=(0,Q.jsx)(`button`,{type:`button`,className:s,onClick:r,title:o.chat.scrollToBottom,"aria-label":o.chat.scrollToBottom,children:c}),t[4]=o.chat.scrollToBottom,t[5]=r,t[6]=l):l=t[6],l});function Oce(e){return e.language}function kce(e){return e.scrollHeight-e.scrollTop-e.clientHeight}function Ace(e,t=48){return kce(e)<=t}function jce(e){e.scrollTop=e.scrollHeight}function Mce(e){return e.webkitDirectionInvertedFromDevice===!0?e.deltaY>0:e.deltaY<0}function Nce({hasToken:e,showSessionLoading:t,sessionKey:n,sending:r,chatMessages:i,hasMore:a,loadingMore:o,loadMoreMessages:s}){let c=(0,Y.useRef)(null),l=(0,Y.useRef)(null),u=(0,Y.useRef)(!0),d=(0,Y.useRef)(!1),f=(0,Y.useRef)(null),p=(0,Y.useRef)(null),[m,h]=(0,Y.useState)(!0),g=(0,Y.useRef)(!0),_=(0,Y.useRef)(!1),v=(0,Y.useRef)(0),y=(0,Y.useRef)({first:void 0,len:0,scrollHeight:0}),b=(0,Y.useCallback)(e=>{u.current=e,h(t=>t===e?t:e)},[]),x=(0,Y.useCallback)(e=>{let t=c.current;if(t&&!(!e?.force&&!u.current)){if(e?.force&&b(!0),d.current=!0,e?.smooth){t.scrollTo({top:t.scrollHeight,behavior:`smooth`});return}jce(t)}},[b]),S=(0,Y.useCallback)(()=>{u.current&&(p.current!=null&&cancelAnimationFrame(p.current),p.current=requestAnimationFrame(()=>{p.current=null,x()}))},[x]),C=(0,Y.useCallback)(()=>{b(!1)},[b]),w=(0,Y.useCallback)(e=>{if(l.current===e||(f.current?.disconnect(),f.current=null,l.current=e,!e))return;let t=new ResizeObserver(()=>{S()});t.observe(e),f.current=t},[S]);(0,Y.useEffect)(()=>()=>{f.current?.disconnect(),p.current!=null&&cancelAnimationFrame(p.current)},[]);let T=(0,Y.useCallback)(()=>{let e=c.current;if(!e)return;if(d.current){d.current=!1;return}let t=Ace(e);b(t),e.scrollTop<100&&!t&&a&&!o&&s()},[b,a,o,s]),E=(0,Y.useCallback)((e=!0)=>{x({force:!0,smooth:e})},[x]);(0,Y.useLayoutEffect)(()=>{if(e){if(t){g.current=!0;return}g.current===!0&&(g.current=!1,b(!0),x({force:!0}))}},[t,e,b,x]),(0,Y.useLayoutEffect)(()=>{!e||t||(y.current={first:void 0,len:0,scrollHeight:0},v.current=0,b(!0),x({force:!0}))},[n,e,t,b,x]);let D=e&&r&&!_.current&&!t;return(0,Y.useLayoutEffect)(()=>{_.current=r,D&&(b(!0),x({force:!0}))},[D,r,b,x]),(0,Y.useLayoutEffect)(()=>{if(t)return;let e=i.length,n=v.current;v.current=e,e>n&&u.current&&x()},[i.length,t,x]),(0,Y.useLayoutEffect)(()=>{let e=c.current;if(!e||t)return;let n=y.current,r=i[0],a=i.length,o=e.scrollHeight;a>n.len&&n.len>0&&r!==void 0&&r!==n.first&&n.scrollHeight>0&&(e.scrollTop+=o-n.scrollHeight),y.current={first:r,len:a,scrollHeight:o}},[i,t]),(0,Y.useLayoutEffect)(()=>{if(!e||t)return;let n=c.current;if(!n)return;let r=e=>{Math.abs(e.deltaY)<Math.abs(e.deltaX)||Math.abs(e.deltaY)<.25||Mce(e)&&C()},i=0,a=e=>{e.touches.length===1&&(i=e.touches[0].clientY)},o=e=>{if(e.touches.length!==1)return;let t=e.touches[0].clientY,n=t-i;i=t,n>2&&C()},s=e=>{if(e.button!==0)return;let t=n.offsetWidth-n.clientWidth;if(t<=0)return;let r=n.getBoundingClientRect();e.clientX>=r.right-t&&C()};return n.addEventListener(`wheel`,r,{passive:!0}),n.addEventListener(`pointerdown`,s),n.addEventListener(`touchstart`,a,{passive:!0}),n.addEventListener(`touchmove`,o,{passive:!0}),()=>{n.removeEventListener(`wheel`,r),n.removeEventListener(`pointerdown`,s),n.removeEventListener(`touchstart`,a),n.removeEventListener(`touchmove`,o)}},[e,t,C]),{scrollRef:c,atBottom:m,registerListContentRef:w,scrollToBottom:E,onScroll:T}}function _9(e){let t=String(e??``).trim();return!t||t===`new`?null:t}function Pce(e){let t=String(e.streamSessionKey??``).trim(),n=_9(e.routeSessionKey);return!t||!n?!1:t===n}function Fce(e){let t=_9(e.routeSessionKey);return t?e.cacheSessionKey===t:!1}function Ice(e){let t=String(e.chatId??``).trim();if(!t)return!1;let n=_9(e.routeSessionKey);return n?n===t:!1}function Lce(e,t){return e?`new`:t??null}function Rce(e){return!e.viewSessionKey||e.sessionKey!==e.viewSessionKey?[]:e.streamingMsg?[...e.messages,e.streamingMsg]:e.messages}function zce(e){e()}function v9(e){return e===`on`||e===`stream`||e===`off`?e:`stream`}function Bce(e,t){let n=String(e??``).trim();n&&nU.getState().patchSessionMeta(n,{model:t.model,thinkingLevel:t.thinkingLevel||`medium`,reasoningLevel:v9(t.reasoningLevel??void 0)})}function Vce(e){e.sendingRef.current=!1,e.streamingRef.current=!1}var Hce=`xopc.chat.clarifyPrompt:v1:`;function y9(e){return`${Hce}${encodeURIComponent(e.trim())}`}function b9(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Uce(e){if(!b9(e))return null;let t=e.requestId,n=e.question;if(typeof t!=`string`||!t.trim()||typeof n!=`string`||!n.trim())return null;let r=Array.isArray(e.choices)?e.choices.filter(e=>typeof e==`string`&&e.trim().length>0):void 0,i=typeof e.default==`string`&&e.default.trim()?e.default.trim():void 0;return{requestId:t.trim(),question:n.trim(),choices:r&&r.length>=2?r:void 0,default:i}}function Wce(e){let t=e?.trim();if(!t||typeof localStorage>`u`)return null;try{let e=localStorage.getItem(y9(t));if(!e)return null;let n=JSON.parse(e);return b9(n)?Uce(n.prompt??n):null}catch{return null}}function x9(e,t){let n=e?.trim();if(!(!n||typeof localStorage>`u`))try{localStorage.setItem(y9(n),JSON.stringify({v:1,prompt:t}))}catch{}}function S9(e){let t=e?.trim();if(!(!t||typeof localStorage>`u`))try{localStorage.removeItem(y9(t))}catch{}}var Gce=`xopc.chat.followUpQueue:v2:`;function C9(e){return`${Gce}${encodeURIComponent(e.trim())}`}function w9(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Kce(e){if(!w9(e))return null;let t=e.type;if(typeof t!=`string`||!t.trim())return null;let n={type:t.trim()};return typeof e.mimeType==`string`&&(n.mimeType=e.mimeType),typeof e.name==`string`&&(n.name=e.name),typeof e.size==`number`&&Number.isFinite(e.size)&&(n.size=e.size),typeof e.uri==`string`&&(n.uri=e.uri),typeof e.durationSeconds==`number`&&Number.isFinite(e.durationSeconds)&&(n.durationSeconds=e.durationSeconds),n}function qce(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){if(!w9(n))continue;let e=n.id,r=n.text;if(typeof e!=`string`||!e.trim()||typeof r!=`string`)continue;let i={id:e.trim(),text:r};if(typeof n.thinkingLevel==`string`&&n.thinkingLevel.trim()&&(i.thinkingLevel=n.thinkingLevel.trim()),Array.isArray(n.attachments)){let e=n.attachments.flatMap(e=>{let t=Kce(e);return t?[t]:[]});e.length&&(i.attachments=e)}if(t.push(i),t.length>=50)break}return t}function Jce(e){return{editingId:e.editingId,pending:e.pending.map(e=>({...e,attachments:e.attachments?.map(e=>{let{data:t,...n}=e;return n})}))}}function Yce(e){let t=e?.trim();if(!t||typeof localStorage>`u`)return null;try{let e=localStorage.getItem(C9(t));if(!e)return null;let n=JSON.parse(e);if(!w9(n))return null;let r=qce(n.pending),i=n.editingId===null?null:typeof n.editingId==`string`&&n.editingId.trim()?n.editingId.trim():null;return r.length===0&&i==null?null:{pending:r,editingId:i}}catch{return null}}function T9(e,t){let n=e?.trim();if(!n||typeof localStorage>`u`)return;let r=Jce(t);if(r.pending.length===0&&r.editingId==null){E9(n);return}try{localStorage.setItem(C9(n),JSON.stringify({v:2,...r}))}catch{}}function E9(e){let t=e?.trim();if(!(!t||typeof localStorage>`u`))try{localStorage.removeItem(C9(t))}catch{}}function Xce(e){let{sessionKey:t,decodedKey:n,sessionKeyRef:r,activeStreamSessionKeyRef:i,sendingRef:a,streamingRef:o,modelSupportsThinking:s,thinkingLevel:c,shouldApplyStreamUpdate:l,sendMessageRef:u}=e,[d,f]=(0,Y.useState)(null),[p,m]=(0,Y.useState)(!1),[h,g]=(0,Y.useState)(null),_=(0,Y.useRef)(null),[v,y]=(0,Y.useState)([]),b=(0,Y.useRef)([]),[x,S]=(0,Y.useState)(null),[C,w]=(0,Y.useState)(null),E=(0,Y.useRef)(null),[D,O]=(0,Y.useState)(null),A=(0,Y.useRef)(void 0),j=(0,Y.useRef)(null);_.current=d,b.current=v,E.current=C,(0,Y.useLayoutEffect)(()=>{let e=A.current;e!=null&&e!==n&&(T9(e,{pending:structuredClone(b.current),editingId:E.current}),_.current!=null&&x9(e,_.current),S(null)),A.current=n;let r=j.current;if(r!=null&&r!==t&&(T9(r,{pending:structuredClone(b.current),editingId:E.current}),_.current!=null&&x9(r,_.current)),j.current=t,!t&&!n){(b.current.length>0||E.current!==null||D!==null)&&(b.current=[],y([]),w(null),O(null)),_.current!=null&&(f(null),g(null));return}let i=t&&n&&t===n?t:null;if(i!=null&&i!==D){let e=Yce(i),t=e?structuredClone(e.pending):[];b.current=t,y(t),w(e?.editingId??null),f(Wce(i)),g(null),O(i)}t!=null&&t!==n&&_.current!=null&&(x9(t,_.current),f(null),g(null))},[t,n,D]),(0,Y.useEffect)(()=>{let e=t!=null&&n!=null&&t!==n?t:t??n??null;if(!e)return;let i=window.setTimeout(()=>{r.current===e&&T9(e,{pending:structuredClone(b.current),editingId:E.current})},280);return()=>window.clearTimeout(i)},[t,n,v,C,r]);let M=(0,Y.useCallback)(()=>{g(null),f(null)},[]),N=(0,Y.useCallback)(e=>{let t=String(e??``).trim();t&&(S9(t),r.current===t&&(g(null),f(null)))},[r]),P=(0,Y.useCallback)(()=>{let e=r.current;e&&S9(e),g(null),f(null)},[r]),F=(0,Y.useCallback)(()=>{let e=r.current;e&&E9(e),b.current=[],y([]),w(null),O(e)},[r]),I=(0,Y.useCallback)(()=>{let e=r.current;e&&(E9(e),S9(e)),b.current=[],y([]),g(null),f(null),w(null),O(e)},[r]),L=(0,Y.useCallback)(e=>{N(e)},[N]),R=(0,Y.useCallback)(e=>t=>{x9(e,t),l(e)&&(a.current=!1,o.current=!1,nU.getState().setSessionFlags(e,{sending:!1,streaming:!1}),nU.getState().setSessionProgress(e,null),g(null),f(t))},[l,a,o]),z=(0,Y.useCallback)(async e=>{let t=r.current;if(e!=null&&e!==t)return;let n=t;if(!n)return;let s=b.current;for(;s.length>0&&!s[0].text.trim()&&!s[0].attachments?.length;)s=s.slice(1);if(s.length===0){b.current=[],y([]);return}s.length!==b.current.length&&(b.current=s,y(s));let[c,...l]=s,d=c.text?.trim()??``,f=c.attachments;!d&&!f?.length||i.current===n&&(a.current||o.current)||(E.current===c.id&&w(null),b.current=l,y(l),await u.current(c.text,c.attachments,c.thinkingLevel))},[u,r,i,a,o]),B=(0,Y.useEffectEvent)(e=>{z(e)});return(0,Y.useEffect)(()=>{if(!t||t!==n||d||v.length===0||a.current||o.current)return;let e=v[0];if(!e||!e.text.trim()&&!e.attachments?.length)return;let i=window.setTimeout(()=>{r.current===t&&(a.current||o.current||_.current||B(t))},72);return()=>window.clearTimeout(i)},[t,n,d,v,a,o,r]),{clarifyPrompt:d,clarifySubmitting:p,clarifySubmitError:h,clarifyPromptRef:_,pendingFollowUps:v,pendingFollowUpsRef:b,steeringFollowUpId:x,editingFollowUpId:C,addPendingFollowUp:(0,Y.useCallback)((e,t)=>{let n=e.trim();if(!n&&!t?.length||b.current.length>=10)return;let r=s?c:`off`,i={id:crypto.randomUUID(),text:n||e,attachments:t?.length?t:void 0,thinkingLevel:r};y(e=>{let t=[...e,i];return b.current=t,t})},[s,c]),beginEditFollowUp:(0,Y.useCallback)(e=>{w(e)},[]),cancelEditFollowUp:(0,Y.useCallback)(()=>{w(null)},[]),commitEditFollowUp:(0,Y.useCallback)((e,t,n,r)=>{let i=t.trim(),a=b.current,o=a.findIndex(t=>t.id===e);if(o<0){w(null);return}if(!i&&!n?.length){let t=a.filter(t=>t.id!==e);b.current=t,y(t),w(null);return}let l=[...a],u=s?r??c:`off`;l[o]={...l[o],text:i||t,attachments:n?.length?n:void 0,thinkingLevel:u},b.current=l,y(l),w(null)},[s,c]),removePendingFollowUp:(0,Y.useCallback)(e=>{E.current===e&&w(null),y(t=>{let n=t.filter(t=>t.id!==e);return b.current=n,n})},[]),movePendingFollowUp:(0,Y.useCallback)((e,t)=>{y(n=>{let r=n.findIndex(t=>t.id===e);if(r<0)return n;let i=t===`up`?r-1:r+1;if(i<0||i>=n.length)return n;let a=[...n];return[a[r],a[i]]=[a[i],a[r]],b.current=a,a})},[]),reorderPendingFollowUp:(0,Y.useCallback)((e,t)=>{y(n=>{if(e<0||e>=n.length||t<0||t>=n.length)return n;let r=[...n],[i]=r.splice(e,1);return r.splice(t,0,i),b.current=r,r})},[]),steerPendingFollowUp:(0,Y.useCallback)(async e=>{let t=r.current;if(!t)return;let n=b.current.find(t=>t.id===e);if(!(!n?.text.trim()||n.attachments?.length)){S(e);try{(await k(T(`/api/agent/steer`),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({chatId:t,message:n.text.trim()})})).ok&&(y(t=>{let n=t.filter(t=>t.id!==e);return b.current=n,n}),E.current===e&&w(null))}catch{}finally{S(null)}}},[r]),submitClarifyAnswer:(0,Y.useCallback)(async e=>{let t=_.current;if(t){m(!0),g(null);try{let n=await k(T(`/api/clarify/${encodeURIComponent(t.requestId)}`),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({answer:e})});if(!n.ok){g((await n.json().catch(()=>({}))).error?.message??n.statusText??`Clarify failed`);return}let i=r.current;i&&S9(i),f(null),g(null)}finally{m(!1)}}},[r]),cancelClarifyAnswer:(0,Y.useCallback)(async()=>{let e=_.current;if(e){m(!0),g(null);try{let t=await k(T(`/api/clarify/${encodeURIComponent(e.requestId)}`),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({skip:!0})});if(!t.ok){g((await t.json().catch(()=>({}))).error?.message??t.statusText??`Clarify failed`);return}let n=r.current;n&&S9(n),f(null),g(null)}finally{m(!1)}}},[r]),clearVisibleClarify:M,dismissClarify:P,dismissClarifyForSession:N,clearPendingFollowUps:F,dismissClarifyAndClearPending:I,onClarifyToolEnd:L,makeOnClarifyRequest:R,flushSteeringQueue:z}}function Zce(e){let{navigate:t,sessionKeyRef:n,sessionKey:r,isNewRoute:i,locationState:a}=e,o=w(e=>e.token),{data:s,mutate:c}=ie(o?[`gateway-chat-agents`,o]:null,AB,{revalidateOnFocus:!1});(0,Y.useEffect)(()=>{let e=e=>{se(e.detail)||c()};return window.addEventListener(`config-reload`,e),()=>window.removeEventListener(`config-reload`,e)},[c]);let[l,u]=(0,Y.useState)(()=>jH()),d=(0,Y.useRef)(s??null),f=(0,Y.useRef)(jH());(0,Y.useEffect)(()=>{d.current=s??null},[s]),(0,Y.useEffect)(()=>{f.current=l},[l]),(0,Y.useEffect)(()=>{if(!s)return;let e=new Set(s.items.map(e=>e.id));u(t=>t==null||t===``||!e.has(t)?s.defaultId:t)},[s]);let p=(0,Y.useCallback)(()=>{let e=n.current,t=e?kU(e):null;if(t)return t;let r=d.current,i=(f.current??``).trim().toLowerCase();if(!r)return i||void 0;let a=new Set(r.items.map(e=>e.id));return i&&a.has(i)?i:r.defaultId},[n]),m=(0,Y.useCallback)(e=>{let r=e.trim().toLowerCase();u(r);try{globalThis.localStorage?.setItem(AH,r)}catch{}let i=n.current;(i?kU(i):null)!==r&&t(`/chat/new`,{replace:!1})},[t,n]);return(0,Y.useEffect)(()=>{let e=e=>{let t=e.detail?.agentId;typeof t!=`string`||!t.trim()||m(t)};return window.addEventListener(`xopc-set-chat-agent`,e),()=>window.removeEventListener(`xopc-set-chat-agent`,e)},[m]),(0,Y.useLayoutEffect)(()=>{if(!r)return;let e=kU(r);if(!(!e||f.current===e)){f.current=e,u(e);try{globalThis.localStorage?.setItem(AH,e)}catch{}}},[r]),(0,Y.useLayoutEffect)(()=>{if(!i)return;let e=a,t=typeof e?.agentId==`string`?e.agentId.trim().toLowerCase():``;if(t){f.current=t,u(t);try{globalThis.localStorage?.setItem(AH,t)}catch{}}},[i,a]),{token:o,chatAgentsData:s,resolveAgentIdForPost:p,onChatAgentChange:m,displayAgentId:(0,Y.useMemo)(()=>r&&kU(r)||l||s?.defaultId||`main`,[r,l,s]),showChatAgentSelector:(s?.items.length??0)>1}}function Qce(e){let t=e.startsWith(`?`)?e.slice(1):e;if(!t)return``;let n=new URLSearchParams(t),r=new URLSearchParams,i=n.get(`skill`),a=n.get(`slash`),o=n.get(`draft`);i&&r.set(`skill`,i),a&&r.set(`slash`,a),o&&r.set(`draft`,o);let s=r.toString();return s?`?${s}`:``}var D9=null;function O9(e){D9=String(e??``).trim()||null}function $ce(e){let t=String(e??``).trim();return!t||D9!==t?!1:(D9=null,!0)}function k9(e){e.register.then(t=>{if(e.isActive&&!e.isActive())return;let n=(t.key??``).trim();if(n){if(n!==e.sessionKey){O9(n),e.navigateToSession(n,e.replaceNavigate??!0,e.search),e.onReconciled?.(n,t);return}e.onRegistered?.(e.sessionKey,t)}}).catch(t=>{if(e.isActive&&!e.isActive())return;let n=t instanceof Error?t.message:`Could not register session`;e.onError(n)})}var A9=80;function ele(e){let t=e.trim();(t.startsWith(`"`)&&t.endsWith(`"`)||t.startsWith(`'`)&&t.endsWith(`'`))&&(t=t.slice(1,-1).trim());let n=t.indexOf(`
|
|
122
|
+
`);return n!==-1&&(t=t.slice(0,n).trim()),t.length>A9&&(t=t.slice(0,A9-1).trimEnd()+`…`),t}function tle(e){let t=MV([{type:`text`,text:e}]).split(/\n/)[0]?.trim();if(!t)return null;let n=ele(t);return n.length>0?n:null}function nle(e,t){let n=e.trim(),r=t.trim();!n||!r||window.dispatchEvent(new CustomEvent(`session-updated`,{detail:{key:n,name:r},bubbles:!0}))}function j9(e){let t=e.trim();t&&window.dispatchEvent(new CustomEvent(`session-updated`,{detail:{key:t},bubbles:!0}))}function M9(e,t){let n=e.key?.trim();if(!n||!xH(n)||(e.messageCount??0)!==0)return!1;let r=kU(n);return!(!r||r!==pH(t)||oU(n))}function rle(e,t){let n=pH(t);return e.filter(e=>M9(e,n)).sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime())[0]??null}function ile(e,t){let n=t.trim();return e.find(e=>e.key.trim()===n)}function ale(e,t,n){if(!t?.length)return e;let r=new Map(e.map(e=>[e.key.trim(),e]));for(let e of t){let t=e.key.trim();!t||r.has(t)||M9(e,n)&&r.set(t,e)}return[...r.values()].toSorted((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime())}async function ole(e,t){let n=bH();try{return ale(await e.loadSessions(),n,t)}catch{return n??[]}}async function sle(e){let t=pH(e.agentId),n=e.currentSessionKey?.trim()||null;if(e.forceNew){let{sessionKey:n,register:r}=e.sessionMgr.openOptimisticNewSession(t);return{kind:`create`,sessionKey:n,register:r}}let r=await ole(e.sessionMgr,t);if(n){let e=ile(r,n);if(e&&M9(e,t))return{kind:`noop`,sessionKey:n}}let i=rle(r,t);if(i&&i.key.trim()!==n)return{kind:`reuse`,sessionKey:i.key,session:i};let{sessionKey:a,register:o}=e.sessionMgr.openOptimisticNewSession(t);return{kind:`create`,sessionKey:a,register:o}}var N9=null;function P9(e){if(N9)return N9;let t=(async()=>{let t=e.agentId??void 0,n=await sle({sessionMgr:e.sessionMgr,agentId:t?.trim()||`main`,currentSessionKey:e.currentSessionKey,forceNew:e.forceNew});if(n.kind===`noop`)return e.onOpened(n.sessionKey),(e.routeSessionKey?.trim()||null)!==n.sessionKey&&e.navigateToSession(n.sessionKey,e.replaceNavigate??!1,e.search),n.sessionKey;if(n.kind===`reuse`)return O9(n.sessionKey),e.onOpened(n.sessionKey),e.navigateToSession(n.sessionKey,e.replaceNavigate??!1,e.search),j9(n.sessionKey),n.sessionKey;let{sessionKey:r,register:i}=n;return yH({key:r,messageCount:0,updatedAt:new Date().toISOString()}),O9(r),e.onOpened(r),e.navigateToSession(r,e.replaceNavigate??!1,e.search),j9(r),e.followRegistration?.({sessionKey:r,register:i,replaceNavigate:e.replaceNavigate,search:e.search}),r})().finally(()=>{N9=null});return N9=t,t}var F9={current:null},I9={current:null};function cle(){let e=wr(),{sessionKey:t}=jr(),n=e.pathname.endsWith(`/new`),r=t?decodeURIComponent(t):void 0,i=Lce(n,r),a=_9(i),o=n?null:r??null,s=(0,Y.useRef)(i);return s.current=i,F9.current=o,!n&&r&&(I9.current=r),(0,Y.useLayoutEffect)(()=>{nU.getState().focusedSessionKey!==o&&nU.getState().setFocusedSessionKey(o)},[o]),{isNewRoute:n,decodedKey:r,routedSessionKey:i,viewSessionKey:a,routedFocusedSessionKey:o,routeSessionKeyRef:s,locationSearch:e.search,locationState:e.state}}var lle={get current(){return I9.current}},L9={get current(){return F9.current},set current(e){F9.current=e,nU.getState().setFocusedSessionKey(e)}};function ule(e){let t=(0,Z.c)(15),{token:n,isNewRoute:r,decodedKey:i,locationSearch:a,sessionMgrRef:o,resolveAgentIdForPost:s,navigateToSession:c,loadSessionById:l,tryResumeAgentRun:u,restoreLiveCacheIfNeeded:d,adoptEmptySession:f,applyAgentConfig:p,patchInitUi:m}=e,h=(0,Y.useRef)(0),g,_;t[0]!==f||t[1]!==p||t[2]!==i||t[3]!==r||t[4]!==l||t[5]!==a||t[6]!==c||t[7]!==m||t[8]!==s||t[9]!==d||t[10]!==o||t[11]!==n||t[12]!==u?(g=()=>{if(!n){m({loading:!1});return}let e=h.current+=1,t=!1,g=()=>!t&&e===h.current,_=e=>{g()&&o.current.loadSessionAgentConfig(e).then(t=>{g()&&p(e,t)}).catch(mle)},v=e=>{k9({...e,navigateToSession:c,isActive:g,onError:e=>m({error:e}),onReconciled:(e,t)=>{f(e,t.name??null),_(e)},onRegistered:(e,t)=>{t.name&&nU.getState().patchSessionMeta(e,{name:t.name}),_(e)}})},y=()=>{if(!g())return Promise.resolve();let e=s();return P9({sessionMgr:o.current,agentId:e,currentSessionKey:lle.current,routeSessionKey:null,navigateToSession:c,replaceNavigate:!0,search:Qce(a),onOpened:e=>f(e,null),followRegistration:v}).then(ple)},b=(e,t)=>g()?(d(e),u(e,iU(e)?.messages??t??aU(e))):Promise.resolve();return m({loading:i===void 0&&!r,error:null}),(r?y():i?(e=>g()?$ce(e)?(_(e),b(e,aU(e))):l(e,0).then(t=>{if(g())return b(e,t??aU(e))}):Promise.resolve())(i):g()?o.current.loadSessions().then(e=>{if(!g())return;let t=e.filter(fle)[0]??e[0];if(t)return g()?l(t.key,0).then(e=>{if(!g())return;d(t.key);let n=iU(t.key)?.messages??e??aU(t.key);return o.current.parseSessionFromHash()||c(t.key,!0),u(t.key,n)}):void 0;if(!g())return;let n=s();return P9({sessionMgr:o.current,agentId:n,currentSessionKey:null,routeSessionKey:null,navigateToSession:c,onOpened:e=>f(e,null),followRegistration:v}).then(dle)}):Promise.resolve()).then(()=>{g()&&m({loading:!1})}).catch(e=>{t?g()&&m({loading:!1}):m({error:e instanceof Error?e.message:`Chat init failed`,loading:!1})}),()=>{t=!0}},_=[n,r,i,a,o,s,c,l,u,d,f,p,m],t[0]=f,t[1]=p,t[2]=i,t[3]=r,t[4]=l,t[5]=a,t[6]=c,t[7]=m,t[8]=s,t[9]=d,t[10]=o,t[11]=n,t[12]=u,t[13]=g,t[14]=_):(g=t[13],_=t[14]),(0,Y.useEffect)(g,_)}function dle(){}function fle(e){return(e.messageCount??0)>0}function ple(){}function mle(){}async function hle(e){let t=e.trim();if(!t)return!1;try{return!!(await h2()).find(e=>e.id===t)?.reasoning}catch{return!1}}function gle(e){let{sessionMgrRef:t,routeSessionKeyRef:n,sendingRef:r,streamingRef:i,activeStreamSessionKeyRef:a,loadingSessionRef:o,messagesLenRef:s,thinkingSupportGenRef:c,navigateToSession:l,resolveAgentIdForPost:u,dismissClarifyOnSessionLoad:d,detachForNewConversation:f,sessionKey:p,hasMore:m}=e,h=()=>nU.getState(),g=(0,Y.useRef)(Promise.resolve(void 0)),_=(0,Y.useRef)(null),v=(0,Y.useRef)(0),y=(0,Y.useCallback)(e=>{let t=h().focusedSessionKey;if(!e.trim())return++c.current===c.current&&t&&h().patchSessionMeta(t,{modelSupportsThinking:!1}),Promise.resolve();let n=++c.current;return hle(e).then(e=>{if(n!==c.current)return;let t=h().focusedSessionKey;t&&h().patchSessionMeta(t,{modelSupportsThinking:e})})},[c]),b=(0,Y.useCallback)(async e=>{try{let n=await t.current.loadSessionAgentConfig(e);h().patchSessionMeta(e,{model:n.model,thinkingLevel:n.thinkingLevel||`medium`,reasoningLevel:v9(n.reasoningLevel)}),y(n.model)}catch{}},[t,y]),x=(0,Y.useCallback)(e=>{k9({...e,navigateToSession:l,onError:e=>h().setShellError(e),onReconciled:(e,t)=>{h().setCommittedSnapshot(e,{messages:[],hasMore:!1,name:t.name??null}),b(e)},onRegistered:(e,t)=>{t.name&&h().patchSessionMeta(e,{name:t.name}),b(e)}})},[l,b]),S=(0,Y.useCallback)(()=>{let e=h().focusedSessionKey;if(!e||(h().sessions[e]?.name)?.trim())return;let n=++v.current,r=[700,900,900,1e3,1e3],i=a=>{a>=5||n===v.current&&h().focusedSessionKey===e&&(h().sessions[e]?.name?.trim()||window.setTimeout(()=>{n===v.current&&h().focusedSessionKey===e&&(h().sessions[e]?.name?.trim()||t.current.fetchSessionName(e).then(t=>{if(n===v.current){if(t){h().patchSessionMeta(e,{name:t});return}i(a+1)}}).catch(()=>{i(a+1)}))},r[a]??900))};i(0)},[t]),C=(0,Y.useCallback)(e=>Ice({chatId:e,routeSessionKey:n.current}),[n]),w=(0,Y.useCallback)((e,t)=>{let n=h().getSessionSnapshot(e);n&&(n.streaming||n.sending||n.streamingMsg)?(h().mergeCommittedFromServer(e,t.messages,t.hasMore),t.name!==void 0&&h().patchSessionMeta(e,{name:t.name||null})):h().setCommittedSnapshot(e,{messages:t.messages,hasMore:t.hasMore,name:t.name}),C(e)&&(_.current=t.nextBeforeCursor??null)},[C]),T=(0,Y.useCallback)(async(e,r=0,i)=>{let a=async(e,r,i)=>{let s=r===0&&!i;s&&!KV(e)&&d(),o.current=!0;try{let{messages:n,hasMore:a,name:o,nextBeforeCursor:c}=await t.current.loadSession(e,r,i);if(s){if(h().setCommittedSnapshot(e,{messages:n,hasMore:a,name:o??null}),!C(e))return n;_.current=c??null,h().setShellError(null);try{let r=await t.current.loadSessionAgentConfig(e);if(!C(e))return n;h().patchSessionMeta(e,{model:r.model,thinkingLevel:r.thinkingLevel||`medium`,reasoningLevel:v9(r.reasoningLevel)}),y(r.model)}catch{}return n}if(_.current=c??null,!C(e))return;h().prependHistoryMessages(e,n,a);return}catch{if(r===0&&!i){_.current=null,h().setShellError(`Failed to load session`);let r=_9(n.current);if(r&&r===e)return;let i=await t.current.loadSessions().catch(()=>[]),o=i.filter(e=>(e.messageCount??0)>0)[0]??i[0];if(o)return l(o.key,!0),await a(o.key,0,null);{_.current=null;let e=u();P9({sessionMgr:t.current,agentId:e,currentSessionKey:null,routeSessionKey:null,navigateToSession:l,replaceNavigate:!0,onOpened:e=>{h().setCommittedSnapshot(e,{messages:[],hasMore:!1,name:null})},followRegistration:x})}}return}finally{o.current=!1}},s=g.current,c,f=new Promise(e=>{c=e});g.current=s.then(()=>f),await s;try{return await a(e,r,i)}finally{c()}},[n,C,r,i,a,o,d,l,y,u,t,x]);return{refreshModelThinkingSupport:y,pollSessionNameAfterTurn:S,applyLoadedSessionSnapshot:w,loadSessionById:T,loadMoreMessages:(0,Y.useCallback)(async()=>{let e=h().focusedSessionKey;if(!(!e||h().loadingMore||!m)){h().setLoadingMore(!0);try{await T(e,s.current,_.current)}finally{h().setLoadingMore(!1)}}},[m,T,s]),onSessionModelChange:(0,Y.useCallback)(async e=>{if(p)try{h().setShellError(null),await t.current.patchSessionAgentConfig(p,{model:e}),h().patchSessionMeta(p,{model:e}),y(e)}catch(e){h().setShellError(e instanceof Error?e.message:`Failed to switch model`)}},[p,t,y]),onSessionThinkingLevelChange:(0,Y.useCallback)(async e=>{if(p)try{h().setShellError(null),await t.current.patchSessionAgentConfig(p,{thinkingLevel:e}),h().patchSessionMeta(p,{thinkingLevel:e})}catch(e){h().setShellError(e instanceof Error?e.message:`Failed to update thinking level`)}},[p,t]),createNewSession:(0,Y.useCallback)(async e=>{d(),f(),_.current=null,h().setShellError(null);let n=u();await P9({sessionMgr:t.current,agentId:n,currentSessionKey:p,routeSessionKey:p,forceNew:e?.forceNew,navigateToSession:l,onOpened:e=>{h().setCommittedSnapshot(e,{messages:[],hasMore:!1,name:null})},followRegistration:x})},[d,f,l,u,p,t,x])}}function R9(e){let{chatId:t,shouldApplyStreamUpdate:n,beforeAssistantDelta:r,setStreamingOnStreamStart:i,clearResumeRunIdOnBackgroundTerminal:a,clearResumeRunIdOnVisibleError:o,setError:s,sessionMgrRef:c,applyLoadedSessionSnapshot:l,finalizeMessage:u,fq:d}=e,f=()=>nU.getState(),p=()=>{c.current.loadSession(t,0).then(e=>l(t,e)).catch(()=>{})},m=()=>{f().clearStreamingState(t),MH.clearActiveStreamSessionKey(t),a&&(MH.activeResumeRunId=null),f().setSessionFlags(t,{sending:!1,streaming:!1}),f().setSessionProgress(t,null),d.dismissClarifyForSession(t),p()};return{onUserMessage:e=>{n(t)&&f().appendUserMessageIfMissing(t,e)},onWorkflowRunStarted:()=>{window.dispatchEvent(new CustomEvent(`workflow-run-started-from-chat`,{detail:{sessionKey:t}}))},onStreamStart:()=>{r(),f().mutateSessionStreaming(t,()=>{}),f().setSessionFlags(t,{streaming:!0})},onToken:e=>{r(),f().mutateSessionStreaming(t,t=>{GH(t.content,e)}),n(t)&&f().setSessionFlags(t,{streaming:!0})},onThinking:(e,n)=>{r(),f().mutateSessionStreaming(t,t=>{!n&&e===``?BH(t.content):VH(t.content,e,n)})},onThinkingEnd:()=>{r(),f().mutateSessionStreaming(t,e=>{HH(e.content)})},onToolStart:(e,n,i)=>{r(),f().mutateSessionStreaming(t,t=>{KH(t.content,e,n,i)}),f().setSessionFlags(t,{streaming:!0})},onToolEnd:(e,n,i)=>{e===`clarify`&&d.onClarifyToolEnd(t),r(),f().mutateSessionStreaming(t,t=>{qH(t.content,e,n,i)})},onToolUpdate:(e,n,i)=>{r(),f().mutateSessionStreaming(t,t=>{JH(t.content,e,n,i)})},onProgress:e=>{f().setSessionProgress(t,e)},onTtsAudio:e=>{n(t)&&f().appendAttachmentToCurrentAssistant(t,{name:e.name,mimeType:e.mimeType,type:`voice`,uri:e.uri,size:0},{attachTo:e.attachTo,messageId:e.messageId})},onCompaction:e=>{if(n(t))if(e.status===`started`)f().setSessionProgress(t,{stage:`compaction`,message:`Compacting context…`,timestamp:Date.now()});else if(e.status===`completed`){let n=e.tokensBefore&&e.tokensAfter?` (${Math.round((e.tokensBefore-e.tokensAfter)/1e3)}k tokens freed)`:``;f().setSessionProgress(t,{stage:`compaction`,message:`Context compacted${n}`,timestamp:Date.now()})}else f().setSessionProgress(t,null)},onClarifyRequest:d.makeOnClarifyRequest(t),onResult:()=>{if(!n(t)){m();return}if(MH.userAborted){MH.userAborted=!1;return}u()},onError:e=>{if(!n(t)){m();return}f().clearStreamingState(t),o&&(MH.activeResumeRunId=null),f().setSessionFlags(t,{sending:!1,streaming:!1}),f().setSessionProgress(t,null),s(e),d.dismissClarifyForSession(t)}}}function _le(e){return iU(e)?.streamingMsg??null}function vle(e){let{sessionKey:t,thinkingLevel:n,modelSupportsThinking:r,sessionKeyRef:i,sendingRef:a,streamingRef:o,sessionMgrRef:s,sendMessageRef:c,shouldApplyStreamUpdate:l,fq:u,applyLoadedSessionSnapshot:d,loadSessionById:f,createNewSession:p,pollSessionNameAfterTurn:m}=e,h=(0,Y.useRef)(u.flushSteeringQueue);h.current=u.flushSteeringQueue;let g=()=>nU.getState(),_=e=>g().setShellError(e),v=()=>g().setShellError(null),y=(0,Y.useCallback)(e=>{let t=MH.activeStreamSessionKey??i.current;if(t&&!l(t))return;let n=t?_le(t):null,r=null;if(n){let e=IH(n,Date.now());HH(e.content),UH(e.content),r=LH(e)}if(r&&FH(r)&&t){let e=iU(t)?.messages??aU(t);g().finalizeStreamingTurn(t,mV([...e,r]))}else t&&g().clearStreamingState(t);if(a.current=!1,o.current=!1,MH.resetRunTracking(),u.dismissClarify(),m(),!e?.skipSteeringQueueFlush){let e=t??i.current;e&&window.setTimeout(()=>{h.current(e)},72)}let s=i.current;s&&window.setTimeout(()=>{i.current===s&&(a.current||o.current||u.pendingFollowUpsRef.current.length>0||f(s,0))},400)},[a,o,i,u.dismissClarify,u.pendingFollowUpsRef,m,f,l]),b=(0,Y.useCallback)(async(e,t)=>{if(!l(e)||MH.isStreamingFor(e)||MH.isSending)return;let n=await ZV(e);if(!n||MH.activeResumeRunId===n)return;let r=t??aU(e),i=iU(e)?.hasMore??!1;try{let t=await s.current.loadSession(e,0);g().mergeCommittedFromServer(e,t.messages,t.hasMore),r=t.messages,i=t.hasMore}catch{}MH.userAborted=!1,MH.activeResumeRunId=n,MH.activeStreamSessionKey=e,a.current=!0,o.current=!0,g().seedSessionIfEmpty(e,r,!0,!0,i),g().setSessionFlags(e,{sending:!0,streaming:!0}),g().setSessionProgress(e,null);let c=!1,f=()=>{if(c||!l(e))return;c=!0;let t=aU(e);if(t.length===0)return;let n=t[t.length-1];if(n?.role!==`assistant`)return;let r=LH(n),i=t.slice(0,-1);g().applyHydratedTail(e,i,r)};try{let t=R9({chatId:e,shouldApplyStreamUpdate:l,beforeAssistantDelta:f,setStreamingOnStreamStart:!1,clearResumeRunIdOnBackgroundTerminal:!0,clearResumeRunIdOnVisibleError:!0,setError:_,sessionMgrRef:s,applyLoadedSessionSnapshot:d,finalizeMessage:y,fq:u});await MH.sender.resume(n,e,t)}catch(t){if(t.name!==`AbortError`&&console.error(`[chat] resume failed:`,t),g().clearStreamingState(e),MH.activeResumeRunId=null,!l(e)){MH.clearActiveStreamSessionKey(e);return}a.current=!1,o.current=!1,MH.clearActiveStreamSessionKey(e)}},[a,o,l,s,d,y]),x=(0,Y.useCallback)(async(e,t,s)=>{if(!e.trim()&&!t?.length||!a.current&&!o.current&&!MH.isSending)return;if(e.trim()===`/new`&&!t?.length){await p({forceNew:!0});return}if(!i.current)return;u.dismissClarifyAndClearPending();let l=r?s??n:`off`;MH.userAborted=!0,MH.resetRunTracking(),MH.abort(),a.current=!1,o.current=!1,y({skipSteeringQueueFlush:!0}),queueMicrotask(()=>{c.current(e,t,l)})},[a,o,i,u.dismissClarifyAndClearPending,r,n,y,c,p]);return{finalizeMessage:y,tryResumeAgentRun:b,sendMessage:(0,Y.useCallback)(async(e,i,c)=>{if(!t||!l(t)||!e.trim()&&!i?.length||MH.activeStreamSessionKey===t&&(a.current||o.current))return;let f=e.trim();if(f===`/new`&&!i?.length){await p({forceNew:!0});return}let m=r?c??n:`off`,h=t;MH.userAborted=!1,MH.activeStreamSessionKey=h,a.current=!0,o.current=!1,v(),u.dismissClarify();let b=[...aU(h),{role:`user`,content:e?[{type:`text`,text:e}]:[],attachments:i,timestamp:Date.now()}],x=iU(h);if(g().initSessionSnapshot(h,{...x??{...kH(),hasMore:!1,streamingMsg:null,progress:null,sending:!1,streaming:!1},messages:b,hasMore:x?.hasMore??!1,streamingMsg:null,progress:null,sending:!0,streaming:!1}),!x?.name?.trim()&&f){let e=tle(f);e&&(g().patchSessionMeta(h,{name:e}),nle(h,e))}try{let t=R9({chatId:h,shouldApplyStreamUpdate:l,beforeAssistantDelta:()=>{},setStreamingOnStreamStart:!0,clearResumeRunIdOnBackgroundTerminal:!1,clearResumeRunIdOnVisibleError:!1,setError:_,sessionMgrRef:s,applyLoadedSessionSnapshot:d,finalizeMessage:y,fq:u});await MH.sender.send(e,h,i,m,t)}catch(e){e.name!==`AbortError`&&(g().clearStreamingState(h),_(JSON.stringify(OV())))}finally{a.current=!1,o.current=!1,g().setSessionFlags(h,{sending:!1}),MH.clearActiveStreamSessionKey(h)}},[t,n,r,a,o,l,s,d,y,u.dismissClarify,p]),interruptAndSend:x,abort:(0,Y.useCallback)(()=>{MH.userAborted=!0,MH.resetRunTracking(),u.dismissClarifyAndClearPending(),MH.abort(),a.current=!1,o.current=!1,y({skipSteeringQueueFlush:!0});let e=i.current;e&&window.setTimeout(()=>{f(e,0)},300)},[u.dismissClarifyAndClearPending,a,o,y,i,f]),deleteMessageRound:(0,Y.useCallback)(e=>{let t=i.current;if(!t||a.current||o.current)return;let n=aU(t),r=n[e];if(!r||!FV(r.role))return;let c=IV(n,e);if(c===null)return;let l=LV(n,e),u=[...n];u.splice(e,l),g().updateSessionMessages(t,()=>u),s.current.deleteMessages(t,{userRoundIndex:c}).catch(()=>{f(t,0)})},[i,a,o,s,f]),retryUserMessageRound:(0,Y.useCallback)(e=>{let t=i.current;if(!t||a.current||o.current)return;let n=aU(t),r=n[e];if(!r||!FV(r.role))return;for(let t=e+1;t<n.length;t++){let e=n[t];if(e&&FV(e.role))return}let l=MV(r.content),u=PV(r.attachments);if(!l.trim()&&!u?.length)return;let d=IV(n,e);if(d===null)return;let p=LV(n,e),m=[...n];m.splice(e,p),g().updateSessionMessages(t,()=>m),(async()=>{try{await s.current.deleteMessages(t,{userRoundIndex:d}),await c.current(l,u)}catch{f(t,0)}})()},[i,a,o,s,f,c])}}function yle(e){let t=(0,Z.c)(10),{sessionKey:n,sessionKeyRef:r,sessionMgrRef:i,loadSessionById:a,applyAgentConfig:o}=e,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=[],t[0]=s):s=t[0],(0,Y.useEffect)(xle,s);let c,l;t[1]!==a||t[2]!==n?(c=()=>{let e=e=>{let t=e.detail;!t?.key||t.key!==n||a(n,0)};return window.addEventListener(`session-transcript-updated`,e),()=>window.removeEventListener(`session-transcript-updated`,e)},l=[n,a],t[1]=a,t[2]=n,t[3]=c,t[4]=l):(c=t[3],l=t[4]),(0,Y.useEffect)(c,l);let u,d;t[5]!==o||t[6]!==r||t[7]!==i?(u=()=>{let e=e=>{if(se(e.detail))return;let t=r.current;t&&i.current.loadSessionAgentConfig(t).then(e=>{o(t,e)}).catch(ble)};return window.addEventListener(`config-reload`,e),()=>window.removeEventListener(`config-reload`,e)},d=[r,i,o],t[5]=o,t[6]=r,t[7]=i,t[8]=u,t[9]=d):(u=t[8],d=t[9]),(0,Y.useEffect)(u,d)}function ble(){}function xle(){let e=Sle;return window.addEventListener(`session-updated`,e),()=>window.removeEventListener(`session-updated`,e)}function Sle(e){let t=e.detail;!t?.key||t.name===void 0||nU.getState().patchSessionMeta(t.key,{name:t.name||null})}function Cle(){let e=Dr(),{isNewRoute:t,decodedKey:n,viewSessionKey:r,routedFocusedSessionKey:i,routeSessionKeyRef:a,locationSearch:o,locationState:s}=cle(),c=(0,Y.useRef)(new TH),l=(0,Y.useRef)(!1),u=(0,Y.useRef)(!1),d=(0,Y.useRef)(!1),f=(0,Y.useRef)(0),p=(0,Y.useRef)(!1),m=(0,Y.useRef)(async()=>{}),h=(0,Y.useRef)(0),g=i,_=nU(e=>e.initLoading),v=nU(e=>e.loadingMore),y=nU(e=>e.shellError),b=r,x=nU(e=>b?e.sessions[b]:void 0),S=b?rU(x):!1,C=S?x?.streaming??!1:!1,w=S?x?.sending??!1:!1,T=S?x?.progress??null:null,E=x?.hasMore??!1,D=x?.name??null,O=x?.model??``,k=x?.thinkingLevel??`medium`,A=x?.reasoningLevel??`stream`,j=x?.modelSupportsThinking??!1;(0,Y.useEffect)(()=>{h.current=x?.messages.length??0},[x?.messages.length]),(0,Y.useEffect)(()=>{u.current=w,d.current=C},[w,C]);let{token:M,chatAgentsData:N,resolveAgentIdForPost:P,onChatAgentChange:F,displayAgentId:I,showChatAgentSelector:L}=Zce({navigate:e,sessionKeyRef:L9,sessionKey:g,isNewRoute:t,locationState:s}),R=n!==void 0&&g!==n,z=(0,Y.useMemo)(()=>_&&(g==null||n===void 0),[_,g,n]),B=(0,Y.useCallback)((t,n=!1,r)=>{let i=r??``;e({pathname:`/chat/${encodeURIComponent(t)}`,search:i},{replace:n})},[e]),V=(0,Y.useCallback)(e=>Pce({streamSessionKey:e,routeSessionKey:a.current}),[a]),H=(0,Y.useCallback)(()=>{Vce({sendingRef:u,streamingRef:d})},[]),U=Xce({sessionKey:g,decodedKey:n,sessionKeyRef:L9,activeStreamSessionKeyRef:NH,sendingRef:u,streamingRef:d,modelSupportsThinking:j,thinkingLevel:k,shouldApplyStreamUpdate:V,sendMessageRef:m}),W=(0,Y.useCallback)(()=>{U.clearVisibleClarify(),MH.activeResumeRunId=null,MH.userAborted=!1,zce(H)},[U.clearVisibleClarify,H]),{refreshModelThinkingSupport:G,pollSessionNameAfterTurn:K,applyLoadedSessionSnapshot:ee,loadSessionById:te,loadMoreMessages:ne,onSessionModelChange:q,onSessionThinkingLevelChange:re,createNewSession:ie}=gle({sessionMgrRef:c,routeSessionKeyRef:a,sendingRef:u,streamingRef:d,activeStreamSessionKeyRef:NH,loadingSessionRef:l,messagesLenRef:h,thinkingSupportGenRef:f,navigateToSession:B,resolveAgentIdForPost:P,dismissClarifyOnSessionLoad:U.clearVisibleClarify,detachForNewConversation:W,sessionKey:g,hasMore:E}),ae=(0,Y.useCallback)(e=>{if(!Fce({cacheSessionKey:e,routeSessionKey:a.current}))return!1;let t=iU(e);return!t||!rU(t)&&!KV(e)&&!MH.isStreamingFor(e)?!1:(MH.activeStreamSessionKey=e,u.current=t.sending,d.current=t.streaming,!0)},[a]),{tryResumeAgentRun:J,sendMessage:oe,interruptAndSend:se,abort:ce,deleteMessageRound:le,retryUserMessageRound:ue}=vle({sessionKey:g,thinkingLevel:k,modelSupportsThinking:j,sessionKeyRef:L9,sendingRef:u,streamingRef:d,sessionMgrRef:c,sendMessageRef:m,shouldApplyStreamUpdate:V,fq:U,applyLoadedSessionSnapshot:ee,loadSessionById:te,createNewSession:ie,pollSessionNameAfterTurn:K});(0,Y.useEffect)(()=>{t&&W()},[t,W]);let de=(0,Y.useMemo)(()=>Rce({viewSessionKey:r,sessionKey:b,messages:x?.messages??[],streamingMsg:S?x?.streamingMsg??null:null}),[r,b,x?.messages,x?.streamingMsg,S]),fe=(0,Y.useCallback)((e,t)=>{nU.getState().setCommittedSnapshot(e,{messages:[],hasMore:!1,name:t}),H()},[H]),pe=(0,Y.useCallback)((e,t)=>{Bce(e,t),G(t.model)},[G]),me=(0,Y.useCallback)(e=>{let t=nU.getState();e.loading!==void 0&&t.setInitLoading(e.loading),e.error!==void 0&&t.setShellError(e.error)},[]);return yle({sessionKey:g,sessionKeyRef:L9,sendingRef:u,streamingRef:d,sessionMgrRef:c,loadSessionById:te,applyAgentConfig:pe}),ule({token:M,isNewRoute:t,decodedKey:n,locationSearch:o,sessionMgrRef:c,resolveAgentIdForPost:P,navigateToSession:B,loadSessionById:te,tryResumeAgentRun:J,restoreLiveCacheIfNeeded:ae,adoptEmptySession:fe,applyAgentConfig:pe,patchInitUi:me}),(0,Y.useEffect)(()=>{let e=e=>{let t=e.detail;if(!t?.sessionKey)return;let n=t.event;if(!n||typeof n.type!=`string`)return;let r=t.sessionKey;if(n.type===`user_message`||n.type===`user_transcript`){let e=RV(n);e&&V(r)&&nU.getState().appendUserMessageIfMissing(r,e);return}if(n.type===`tool_update`){let e=typeof n.toolName==`string`?n.toolName:``;if(e!==`workflow`||!V(r)||MH.isStreamingFor(r))return;let t=typeof n.toolCallId==`string`?n.toolCallId:void 0,i=n.details;nU.getState().mutateSessionStreaming(r,n=>{JH(n.content,e,t,i)});return}n.type!==`status`||typeof n.runId!=`string`||!n.runId.trim()||(qV(r,n.runId),V(r)&&(MH.isStreamingFor(r)||queueMicrotask(()=>{V(r)&&(MH.isStreamingFor(r)||J(r,aU(r)))})))};return window.addEventListener(`agent-stream`,e),()=>window.removeEventListener(`agent-stream`,e)},[J,V]),(0,Y.useEffect)(()=>{let e=C||w,t=p.current;if(p.current=e,!t||e)return;let n=L9.current;n&&queueMicrotask(()=>{!n||!V(n)||MH.isStreamingFor(n)||KV(n)&&J(n,aU(n))})},[C,w,J,V]),m.current=oe,{auth:{hasToken:!!M},session:{sessionKey:g,sessionName:D,decodedKey:n,sessionRoutePending:R,showSessionLoading:z,loading:_,sessionModel:O,thinkingLevel:k,onSessionThinkingLevelChange:re,reasoningLevel:A,modelSupportsThinking:j,hasMore:E,loadingMore:v,loadMoreMessages:ne,onSessionModelChange:q,createNewSession:ie,sessionManager:c.current},messages:{items:de},stream:{error:y,streaming:C,sending:w,progress:T,sendMessage:oe,abort:ce,interruptAndSend:se,deleteMessageRound:le,retryUserMessageRound:ue},followUp:{addPendingFollowUp:U.addPendingFollowUp,pendingFollowUps:U.pendingFollowUps,editingFollowUpId:U.editingFollowUpId,beginEditFollowUp:U.beginEditFollowUp,cancelEditFollowUp:U.cancelEditFollowUp,commitEditFollowUp:U.commitEditFollowUp,removePendingFollowUp:U.removePendingFollowUp,movePendingFollowUp:U.movePendingFollowUp,reorderPendingFollowUp:U.reorderPendingFollowUp,steerPendingFollowUp:U.steerPendingFollowUp,steeringFollowUpId:U.steeringFollowUpId},clarify:{clarifyPrompt:U.clarifyPrompt,clarifySubmitting:U.clarifySubmitting,clarifySubmitError:U.clarifySubmitError,submitClarifyAnswer:U.submitClarifyAnswer,cancelClarifyAnswer:U.cancelClarifyAnswer},agents:{chatAgents:N,displayAgentId:I,showChatAgentSelector:L,onChatAgentChange:F}}}var z9=300*1e3,wle=Math.round(z9/6e4);function Tle(e){return`${Math.floor(e/60)}:${(e%60).toString().padStart(2,`0`)}`}function Ele(e){let t=(0,Z.c)(7),{prompt:n,submitting:r,submitError:i,labels:a,onSubmit:o,onCancel:s}=e;if(!n)return null;let c;return t[0]!==a||t[1]!==s||t[2]!==o||t[3]!==n||t[4]!==i||t[5]!==r?(c=(0,Q.jsx)(Dle,{prompt:n,submitting:r,submitError:i,labels:a,onSubmit:o,onCancel:s},n.requestId),t[0]=a,t[1]=s,t[2]=o,t[3]=n,t[4]=i,t[5]=r,t[6]=c):c=t[6],c}function Dle(e){let t=(0,Z.c)(70),{prompt:n,submitting:r,submitError:i,labels:a,onSubmit:o,onCancel:s}=e,[c,l]=(0,Y.useState)(``),[d]=(0,Y.useState)(kle),[f,p]=(0,Y.useState)(0),m=(0,Y.useRef)(null),h,g;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=()=>{let e=window.setInterval(()=>p(Ole),1e3);return()=>window.clearInterval(e)},g=[],t[0]=h,t[1]=g):(h=t[0],g=t[1]),(0,Y.useEffect)(h,g);let _,v;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>{m.current?.focus()},v=[],t[2]=_,t[3]=v):(_=t[2],v=t[3]),(0,Y.useEffect)(_,v);let y;t[4]===o?y=t[5]:(y=e=>{o(e)},t[4]=o,t[5]=y);let b=y,x=Math.max(0,Math.ceil((d-Date.now())/1e3)),S=`clarify-meta-${n.requestId}`,C=i?`clarify-err-${n.requestId}`:void 0,w;t[6]!==s||t[7]!==r?(w=e=>{e.key===`Escape`&&!r&&(e.preventDefault(),e.stopPropagation(),s())},t[6]=s,t[7]=r,t[8]=w):w=t[8];let T=w,E=Array.isArray(n.choices)&&n.choices.length>=2,D;t[9]!==a.clarifyDefaultChoice||t[10]!==n.default?(D=n.default?a.clarifyDefaultChoice.replace(`{{text}}`,n.default):null,t[9]=a.clarifyDefaultChoice,t[10]=n.default,t[11]=D):D=t[11];let O=D,k;t[12]===a.clarifyServerTimeout?k=t[13]:(k=a.clarifyServerTimeout.replace(`{{minutes}}`,String(wle)),t[12]=a.clarifyServerTimeout,t[13]=k);let A=k,j;t[14]!==a.clarifyTimeRemaining||t[15]!==x?(j=a.clarifyTimeRemaining.replace(`{{time}}`,Tle(x)),t[14]=a.clarifyTimeRemaining,t[15]=x,t[16]=j):j=t[16];let M=j,N=a.clarifyRegionAria,P;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(P=u(`mb-4 rounded-lg border border-edge bg-surface-elevated px-4 py-3 text-sm text-fg shadow-sm outline-none`,$.focusRingPanel),t[17]=P):P=t[17];let F;t[18]===a.clarifyResumeHint?F=t[19]:(F=(0,Q.jsx)(`p`,{className:`mb-2 text-xs text-fg-muted`,children:a.clarifyResumeHint}),t[18]=a.clarifyResumeHint,t[19]=F);let I;t[20]===n.question?I=t[21]:(I=(0,Q.jsx)(aY,{content:n.question,compact:!0,className:`mb-3`}),t[20]=n.question,t[21]=I);let L;t[22]===A?L=t[23]:(L=(0,Q.jsx)(`li`,{children:A}),t[22]=A,t[23]=L);let R;t[24]!==a.clarifyDefaultTimeoutNote||t[25]!==n.default?(R=n.default?(0,Q.jsx)(`li`,{children:a.clarifyDefaultTimeoutNote}):null,t[24]=a.clarifyDefaultTimeoutNote,t[25]=n.default,t[26]=R):R=t[26];let z;t[27]===a.clarifySkipNote?z=t[28]:(z=(0,Q.jsx)(`li`,{children:a.clarifySkipNote}),t[27]=a.clarifySkipNote,t[28]=z);let B;t[29]===M?B=t[30]:(B=(0,Q.jsx)(`li`,{children:M}),t[29]=M,t[30]=B);let V;t[31]!==S||t[32]!==L||t[33]!==R||t[34]!==z||t[35]!==B?(V=(0,Q.jsxs)(`ul`,{id:S,className:`mb-3 list-inside list-disc space-y-1 text-xs text-fg-muted`,children:[L,R,z,B]}),t[31]=S,t[32]=L,t[33]=R,t[34]=z,t[35]=B,t[36]=V):V=t[36];let H;t[37]!==C||t[38]!==i?(H=i?(0,Q.jsx)(`div`,{id:C,role:`alert`,className:`mb-3 rounded-md border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-800 dark:border-red-900/50 dark:bg-red-950/40 dark:text-red-200`,children:i}):null,t[37]=C,t[38]=i,t[39]=H):H=t[39];let U;t[40]!==c||t[41]!==O||t[42]!==E||t[43]!==a.clarifyChoicesGroupAria||t[44]!==a.clarifyCustomLabel||t[45]!==a.clarifyPlaceholder||t[46]!==a.clarifySend||t[47]!==a.clarifyUseDefault||t[48]!==o||t[49]!==b||t[50]!==n.choices||t[51]!==n.default||t[52]!==r?(U=E?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`div`,{className:`max-h-[min(40vh,16rem)] overflow-y-auto overflow-x-hidden pr-1 [scrollbar-gutter:stable]`,"aria-label":a.clarifyChoicesGroupAria,children:(0,Q.jsxs)(`div`,{className:`grid grid-cols-1 gap-2 sm:grid-cols-2`,children:[n.choices.map(e=>(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,disabled:r,className:u(`min-h-9 w-full justify-start rounded-lg px-3 py-2 text-left text-sm font-normal shadow-none`,`hover:border-edge`),onClick:()=>b(e),children:e},e)),n.default?(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,disabled:r,className:u(`min-h-9 w-full justify-start rounded-lg border border-dashed border-edge px-3 py-2 text-left text-sm font-normal text-fg-muted`,`hover:border-edge hover:text-fg`),onClick:()=>b(n.default),children:O}):null]})}),(0,Q.jsxs)(`div`,{className:`mt-3 border-t border-edge-subtle pt-3`,children:[(0,Q.jsx)(`p`,{className:`mb-2 text-xs font-medium text-fg-muted`,children:a.clarifyCustomLabel}),(0,Q.jsxs)(`form`,{className:`flex flex-col gap-2 sm:flex-row sm:items-end`,onSubmit:e=>{e.preventDefault();let t=c.trim();t&&o(t)},children:[(0,Q.jsx)(`input`,{type:`text`,value:c,onChange:e=>l(e.target.value),disabled:r,placeholder:a.clarifyPlaceholder,"aria-label":a.clarifyPlaceholder,className:`min-w-0 flex-1 rounded-md border border-edge bg-surface-panel px-3 py-2 text-fg placeholder:text-fg-muted focus:border-accent focus:outline-none focus:ring-1 focus:ring-accent disabled:opacity-50`}),(0,Q.jsx)(NP,{type:`submit`,variant:`primary`,disabled:r||!c.trim(),className:`shrink-0 rounded-lg px-4 py-2 shadow-surface`,children:a.clarifySend})]})]})]}):(0,Q.jsxs)(`form`,{className:`flex flex-col gap-2 sm:flex-row sm:items-end`,onSubmit:e=>{e.preventDefault();let t=c.trim();t&&(o(t),l(``))},children:[(0,Q.jsx)(`input`,{type:`text`,value:c,onChange:e=>l(e.target.value),disabled:r,placeholder:a.clarifyPlaceholder,"aria-label":a.clarifyPlaceholder,className:`min-w-0 flex-1 rounded-md border border-edge bg-surface-panel px-3 py-2 text-fg placeholder:text-fg-muted focus:border-accent focus:outline-none focus:ring-1 focus:ring-accent disabled:opacity-50`}),(0,Q.jsx)(NP,{type:`submit`,variant:`primary`,disabled:r||!c.trim(),className:`shrink-0 rounded-lg px-4 py-2 shadow-surface`,children:a.clarifySend}),n.default?(0,Q.jsx)(NP,{type:`button`,variant:`secondary`,disabled:r,className:`shrink-0 rounded-lg px-3 py-2 text-sm font-normal text-fg-muted shadow-none hover:text-fg`,onClick:()=>b(n.default),children:a.clarifyUseDefault}):null]}),t[40]=c,t[41]=O,t[42]=E,t[43]=a.clarifyChoicesGroupAria,t[44]=a.clarifyCustomLabel,t[45]=a.clarifyPlaceholder,t[46]=a.clarifySend,t[47]=a.clarifyUseDefault,t[48]=o,t[49]=b,t[50]=n.choices,t[51]=n.default,t[52]=r,t[53]=U):U=t[53];let W;t[54]===s?W=t[55]:(W=()=>void s(),t[54]=s,t[55]=W);let G;t[56]!==a.clarifySkip||t[57]!==r||t[58]!==W?(G=(0,Q.jsx)(`div`,{className:`mt-3 flex flex-wrap items-center justify-end gap-2 border-t border-edge-subtle pt-3`,children:(0,Q.jsx)(NP,{type:`button`,variant:`ghost`,disabled:r,className:`text-fg-muted hover:text-fg`,onClick:W,children:a.clarifySkip})}),t[56]=a.clarifySkip,t[57]=r,t[58]=W,t[59]=G):G=t[59];let K;return t[60]!==a.clarifyRegionAria||t[61]!==S||t[62]!==T||t[63]!==F||t[64]!==I||t[65]!==V||t[66]!==H||t[67]!==U||t[68]!==G?(K=(0,Q.jsxs)(`section`,{ref:m,tabIndex:-1,"aria-label":N,"aria-describedby":S,onKeyDown:T,className:P,children:[F,I,V,H,U,G]}),t[60]=a.clarifyRegionAria,t[61]=S,t[62]=T,t[63]=F,t[64]=I,t[65]=V,t[66]=H,t[67]=U,t[68]=G,t[69]=K):K=t[69],K}function Ole(e){return e+1}function kle(){return Date.now()+z9}function Ale(e,t){return e===`running`||e===`queued`?t.runLinkRunning:e===`succeeded`?t.runLinkCompleted:t.runLinkFinished}var jle=(0,Y.memo)(function(e){let t=(0,Z.c)(28),{link:n,className:r}=e,i=m(v(Mle)).workflows,a=Dr(),o;t[0]!==n.definitionId||t[1]!==n.goal?(o=n.goal.trim()||n.definitionId,t[0]=n.definitionId,t[1]=n.goal,t[2]=o):o=t[2];let s=o,c;t[3]!==n.workflowSessionKey||t[4]!==a?(c=()=>a(`/chat/${encodeURIComponent(n.workflowSessionKey)}`),t[3]=n.workflowSessionKey,t[4]=a,t[5]=c):c=t[5];let l;t[6]===r?l=t[7]:(l=u(`flex w-full items-start gap-3 rounded-2xl border border-edge bg-surface-panel px-4 py-3 text-left`,`transition-colors hover:bg-surface-hover/60`,$.focusRingPanel,r),t[6]=r,t[7]=l);let d;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(`span`,{className:`mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-accent-soft text-accent-fg`,children:(0,Q.jsx)(uv,{className:`size-4`,"aria-hidden":!0})}),t[8]=d):d=t[8];let f=Ale(n.status,i),p;t[9]===f?p=t[10]:(p=(0,Q.jsx)(`span`,{className:`block text-xs font-medium uppercase tracking-wide text-fg-subtle`,children:f}),t[9]=f,t[10]=p);let h;t[11]===n.definitionId?h=t[12]:(h=(0,Q.jsx)(`span`,{className:`mt-1 block text-sm font-semibold text-fg`,children:n.definitionId}),t[11]=n.definitionId,t[12]=h);let g;t[13]===s?g=t[14]:(g=(0,Q.jsx)(`span`,{className:`mt-0.5 block truncate text-sm text-fg-muted`,children:s}),t[13]=s,t[14]=g);let _;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(Yo,{className:`size-3.5`,"aria-hidden":!0}),t[15]=_):_=t[15];let y;t[16]===i.runLinkOpenChat?y=t[17]:(y=(0,Q.jsxs)(`span`,{className:`mt-2 inline-flex items-center gap-1 text-xs font-medium text-accent-fg`,children:[i.runLinkOpenChat,_]}),t[16]=i.runLinkOpenChat,t[17]=y);let b;t[18]!==h||t[19]!==g||t[20]!==y||t[21]!==p?(b=(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[p,h,g,y]}),t[18]=h,t[19]=g,t[20]=y,t[21]=p,t[22]=b):b=t[22];let x;return t[23]!==b||t[24]!==c||t[25]!==l||t[26]!==d?(x=(0,Q.jsxs)(`button`,{type:`button`,onClick:c,className:l,children:[d,b]}),t[23]=b,t[24]=c,t[25]=l,t[26]=d,t[27]=x):x=t[27],x});function Mle(e){return e.language}function Nle(e,t){let n=Number.parseInt(e,10);return Number.isFinite(n)?n:t+1}function Ple(e){if(e!=null){if(typeof e==`object`&&e&&`raw`in e){let t=e.raw;return t===void 0?e:t}return e}}function B9(e){let t=new Map(e.phases.map(e=>[e.id,e.title])),n=e.phases.find(e=>e.status===`running`),r=e.agents.map((e,n)=>({id:Nle(e.id,n),label:e.label,phase:e.phaseId?t.get(e.phaseId):void 0,prompt:e.prompt??``,invocation:e.invocation,sessionKey:e.sessionKey,transcriptMessageCount:e.transcriptMessageCount,status:e.status,resultPreview:e.resultPreview,error:e.error,startedAtMs:e.startedAtMs,durationMs:e.startedAtMs!=null&&e.completedAtMs!=null?e.completedAtMs-e.startedAtMs:void 0,currentStep:e.currentStep,steps:e.steps?.map(e=>({id:e.id,kind:e.kind,toolName:e.toolName,label:e.label,detail:e.detail,status:e.status,resultPreview:e.resultPreview,error:e.error,startedAtMs:e.startedAtMs,durationMs:e.startedAtMs!=null&&e.completedAtMs!=null?e.completedAtMs-e.startedAtMs:void 0}))})),{metrics:i}=e.run;return{runId:e.run.id,name:e.run.definitionId,description:e.run.goal||e.run.title,phases:e.phases.map(e=>e.title),currentPhase:n?.title,logs:e.logs.map(e=>e.message),agents:r,agentCount:i.agentCount,runningCount:Math.max(0,i.agentCount-i.doneAgentCount-i.errorAgentCount-i.skippedAgentCount),doneCount:i.doneAgentCount,errorCount:i.errorAgentCount,skippedCount:i.skippedAgentCount,durationMs:i.durationMs,result:Ple(e.run.result)}}new Set([`catalog`,`active`,`history`]);var V9=[`all`,`code-review`,`planning`,`research`,`writing`,`productivity`];new Set(V9),new Set([`all`,`builtin`,`user`]);var Fle=`agent`,Ile=`trigger`,Lle=`start`,Rle=[`code-review`,`planning`,`research`,`writing`,`productivity`],zle={"code-review":[`code-review`,`pr`,`release`],planning:[`planning`,`implementation`,`architecture`,`decision`,`review`],research:[`research`,`investigation`,`debug`,`incident`,`troubleshooting`],writing:[`writing`,`content`,`communication`,`email`,`document`],productivity:[`productivity`,`meeting`,`comparison`,`brainstorm`,`decision-making`]},Ble={research:[{key:`question`,labelKey:`argQuestion`,placeholderKey:`argQuestionPlaceholder`,required:!0,multiline:!0}],multi_perspective_review:[{key:`target`,labelKey:`argTarget`,placeholderKey:`argTargetPlaceholder`,multiline:!0}],pr_review:[{key:`target`,labelKey:`argDiff`,placeholderKey:`argDiffPlaceholder`,multiline:!0}],debug_incident:[{key:`error`,labelKey:`argError`,placeholderKey:`argErrorPlaceholder`,required:!0,multiline:!0},{key:`context`,labelKey:`argContext`,placeholderKey:`argContextPlaceholder`,multiline:!0}],implementation_plan:[{key:`request`,labelKey:`argRequest`,placeholderKey:`argRequestPlaceholder`,required:!0,multiline:!0},{key:`scope`,labelKey:`argScope`,placeholderKey:`argScopePlaceholder`}],release_check:[{key:`target`,labelKey:`argTarget`,placeholderKey:`argReleaseTargetPlaceholder`,multiline:!0}],content_draft:[{key:`topic`,labelKey:`argTopic`,placeholderKey:`argTopicPlaceholder`,required:!0,multiline:!0},{key:`audience`,labelKey:`argAudience`,placeholderKey:`argAudiencePlaceholder`},{key:`format`,labelKey:`argFormat`,placeholderKey:`argFormatPlaceholder`}],decision_compare:[{key:`question`,labelKey:`argDecisionQuestion`,placeholderKey:`argDecisionQuestionPlaceholder`,required:!0,multiline:!0},{key:`options`,labelKey:`argOptions`,placeholderKey:`argOptionsPlaceholder`,multiline:!0},{key:`criteria`,labelKey:`argCriteria`,placeholderKey:`argCriteriaPlaceholder`,multiline:!0}],meeting_prep:[{key:`meeting_topic`,labelKey:`argMeetingTopic`,placeholderKey:`argMeetingTopicPlaceholder`,required:!0,multiline:!0},{key:`attendees`,labelKey:`argAttendees`,placeholderKey:`argAttendeesPlaceholder`},{key:`goal`,labelKey:`argMeetingGoal`,placeholderKey:`argMeetingGoalPlaceholder`,multiline:!0}],weekly_review:[{key:`wins`,labelKey:`argWins`,placeholderKey:`argWinsPlaceholder`,required:!0,multiline:!0},{key:`blockers`,labelKey:`argBlockers`,placeholderKey:`argBlockersPlaceholder`,multiline:!0},{key:`carryover`,labelKey:`argCarryover`,placeholderKey:`argCarryoverPlaceholder`,multiline:!0}],client_proposal:[{key:`client_brief`,labelKey:`argClientBrief`,placeholderKey:`argClientBriefPlaceholder`,required:!0,multiline:!0},{key:`offer`,labelKey:`argOffer`,placeholderKey:`argOfferPlaceholder`,multiline:!0},{key:`budget_hint`,labelKey:`argBudgetHint`,placeholderKey:`argBudgetHintPlaceholder`}],content_repurpose:[{key:`source`,labelKey:`argSource`,placeholderKey:`argSourcePlaceholder`,required:!0,multiline:!0},{key:`platforms`,labelKey:`argPlatforms`,placeholderKey:`argPlatformsPlaceholder`,multiline:!0}],competitor_scan:[{key:`market`,labelKey:`argMarket`,placeholderKey:`argMarketPlaceholder`,required:!0,multiline:!0},{key:`competitors`,labelKey:`argCompetitors`,placeholderKey:`argCompetitorsPlaceholder`,multiline:!0},{key:`focus`,labelKey:`argFocus`,placeholderKey:`argFocusPlaceholder`}],offer_design:[{key:`skills`,labelKey:`argSkills`,placeholderKey:`argSkillsPlaceholder`,required:!0,multiline:!0},{key:`audience`,labelKey:`argOfferAudience`,placeholderKey:`argOfferAudiencePlaceholder`,multiline:!0},{key:`constraints`,labelKey:`argConstraints`,placeholderKey:`argConstraintsPlaceholder`,multiline:!0}],inbox_triage:[{key:`inbox`,labelKey:`argInbox`,placeholderKey:`argInboxPlaceholder`,required:!0,multiline:!0},{key:`priorities`,labelKey:`argPriorities`,placeholderKey:`argPrioritiesPlaceholder`,multiline:!0}]},H9=new Set([`queued`,`running`]);function Vle(e){let t=B9(e),n=e.run.status,r=n===`running`||n===`queued`?`running`:n===`succeeded`?`done`:`error`;return{type:`tool_use`,id:`workflow-run:${e.run.id}`,name:`workflow`,input:{name:e.run.definitionId},status:r,details:t}}var Hle=(0,Y.memo)(function(e){let t=(0,Z.c)(17),{view:n,sessionKey:r,onAbortCurrentTurn:i,onSendUserMessage:a}=e,o=v(Ule),s;t[0]===o?s=t[1]:(s=n9(o),t[0]=o,t[1]=s);let c=s,l;t[2]===n?l=t[3]:(l=Vle(n),t[2]=n,t[3]=l);let u=l,d;t[4]===n.run.status?d=t[5]:(d=H9.has(n.run.status),t[4]=n.run.status,t[5]=d);let f=d,p;t[6]!==f||t[7]!==i||t[8]!==n.run.id?(p=()=>{f&&u8(n.run.id).catch(Wle),i?.()},t[6]=f,t[7]=i,t[8]=n.run.id,t[9]=p):p=t[9];let m=f?p:void 0,h;return t[10]!==u||t[11]!==c||t[12]!==a||t[13]!==r||t[14]!==m||t[15]!==n.run.startedAtMs?(h=(0,Q.jsx)(`div`,{className:`mb-6`,children:(0,Q.jsx)(t9,{block:u,startedAt:n.run.startedAtMs,sessionKey:r,onAbort:m,onSendChatMessage:a,labels:c})}),t[10]=u,t[11]=c,t[12]=a,t[13]=r,t[14]=m,t[15]=n.run.startedAtMs,t[16]=h):h=t[16],h});function Ule(e){return e.language}function Wle(){}function Gle(e){if(!e||typeof e!=`object`)return null;let t=e;if(t.kind!==`context`)return null;let n=t.data&&typeof t.data==`object`&&!Array.isArray(t.data)?t.data:null;if(!n||n.kind!==`workflow-run-link`)return null;let r=typeof n.runId==`string`?n.runId.trim():``,i=typeof n.workflowSessionKey==`string`?n.workflowSessionKey.trim():``,a=typeof n.definitionId==`string`?n.definitionId.trim():``;if(!r||!i||!a)return null;let o=typeof n.goal==`string`?n.goal:``,s=typeof n.status==`string`?n.status:`running`,c=typeof t.id==`string`&&t.id.trim()?t.id.trim():`workflow-run-link:${r}`,l=typeof t.createdAt==`string`?Date.parse(t.createdAt):void 0;return{id:c,runId:r,workflowSessionKey:i,definitionId:a,goal:o,status:s,createdAtMs:Number.isFinite(l)?l:void 0}}function Kle(e){if(!e?.length)return[];let t=new Map;for(let n of e){let e=Gle(n);e&&t.set(e.runId,e)}return[...t.values()].toSorted((e,t)=>(e.createdAtMs??0)-(t.createdAtMs??0))}function qle(e){let t=(0,Z.c)(8),n=w(Jle),r;t[0]===e?r=t[1]:(r=e?.trim()||null,t[0]=e,t[1]=r);let i=r,a;t[2]!==n||t[3]!==i?(a=n&&i?[`session-workflow-run-links`,i,n]:null,t[2]=n,t[3]=i,t[4]=a):a=t[4];let o;t[5]===i?o=t[6]:(o=async()=>Kle((await rH(i,{includeTranscriptRows:!0})).transcriptRows),t[5]=i,t[6]=o);let s;return t[7]===Symbol.for(`react.memo_cache_sentinel`)?(s={revalidateOnFocus:!1},t[7]=s):s=t[7],ie(a,o,s)}function Jle(e){return e.token}function U9(e,t){let n=(0,Z.c)(26),r=w(Xle),i=!!r,a;n[0]===e?a=n[1]:(a=e?.trim()||null,n[0]=e,n[1]=a);let o=a,s;n[2]===t?.ownerAgentId?s=n[3]:(s=t?.ownerAgentId?.trim()||void 0,n[2]=t?.ownerAgentId,n[3]=s);let c=s,l;n[4]!==i||n[5]!==c||n[6]!==r||n[7]!==o?(l=i&&o?[`workflow-run-live`,o,c??``,r]:null,n[4]=i,n[5]=c,n[6]=r,n[7]=o,n[8]=l):l=n[8];let u;n[9]!==c||n[10]!==o?(u=()=>r8(o,{ownerAgentId:c}),n[9]=c,n[10]=o,n[11]=u):u=n[11];let d;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(d={revalidateOnFocus:!1,refreshInterval:Yle},n[12]=d):d=n[12];let f=ie(l,u,d),p;n[13]!==c||n[14]!==f||n[15]!==o?(p=()=>{if(!o)return;let e=e=>{let t=e.detail;if(t?.runId!==o)return;let n=t.view?.run.metadata?.agentId;if(!(c&&n&&n!==c)){if(t.view){f.mutate(t.view,{revalidate:!1});return}f.mutate()}};return window.addEventListener(`workflow-run-updated`,e),()=>window.removeEventListener(`workflow-run-updated`,e)},n[13]=c,n[14]=f,n[15]=o,n[16]=p):p=n[16];let m;n[17]!==c||n[18]!==f.mutate||n[19]!==o?(m=[c,f.mutate,o],n[17]=c,n[18]=f.mutate,n[19]=o,n[20]=m):m=n[20],(0,Y.useEffect)(p,m);let h;return n[21]!==f.data||n[22]!==f.error||n[23]!==f.isLoading||n[24]!==f.mutate?(h={view:f.data,loading:f.isLoading,error:f.error,mutate:f.mutate},n[21]=f.data,n[22]=f.error,n[23]=f.isLoading,n[24]=f.mutate,n[25]=h):h=n[25],h}function Yle(e){return e&&H9.has(e.run.status)?3e3:0}function Xle(e){return e.token}function Zle(e){let t=(0,Z.c)(8),n=w(Qle),r;t[0]===e?r=t[1]:(r=e?.trim()||null,t[0]=e,t[1]=r);let i=r,a;t[2]!==n||t[3]!==i?(a=n&&i?[`workflow-session-meta`,i,n]:null,t[2]=n,t[3]=i,t[4]=a):a=t[4];let o;t[5]===i?o=t[6]:(o=async()=>{let e=await rH(i),t=e.customData?.workflowRunId,n=typeof t==`string`&&t.trim()?t.trim():null,r=typeof e.sessionType==`string`&&e.sessionType.trim()?e.sessionType.trim():null,a=e.customData?.sourceBinding,o=a&&typeof a==`object`?a:null;return{workflowRunId:n,sessionType:r,sourceNoteId:o?.kind===`note`&&typeof o.sourceId==`string`&&o.sourceId.trim()?o.sourceId.trim():null,sourceNoteTitle:null}},t[5]=i,t[6]=o);let s;return t[7]===Symbol.for(`react.memo_cache_sentinel`)?(s={revalidateOnFocus:!1},t[7]=s):s=t[7],ie(a,o,s)}function Qle(e){return e.token}var W9=`/agents`;function G9(e){return`${W9}/${encodeURIComponent(e)}`}function K9(){let e=m(v(e=>e.language)),t=w(e=>e.token),n=Dr(),r=wr(),{pathname:i}=r,[a]=$i(),o=(0,Y.useRef)(null),s=(0,Y.useRef)(0),[c,l]=(0,Y.useState)(null),{auth:d,session:f,messages:p,stream:h,followUp:g,clarify:_,agents:y}=Cle(),b=a.get(`skill`)?.trim()??``,x=a.get(`slash`)?.trim()??``,S=a.get(`draft`)??``,C=f.decodedKey??f.sessionKey,{data:T}=Zle(C),E=T?.workflowRunId??null,{view:D}=U9(E),{data:O=[],mutate:k}=qle(C),A=!!(E&&D&&H9.has(D.run.status));(0,Y.useEffect)(()=>{if(!C)return;let e=e=>{let t=e.detail;(t?.key??t?.sessionKey)===C&&k()};return window.addEventListener(`session-transcript-updated`,e),window.addEventListener(`workflow-run-started-from-chat`,e),()=>{window.removeEventListener(`session-transcript-updated`,e),window.removeEventListener(`workflow-run-started-from-chat`,e)}},[C,k]),(0,Y.useEffect)(()=>{o.current=null},[f.sessionKey]),(0,Y.useEffect)(()=>{if(!d.hasToken||!b&&!x&&!S||f.showSessionLoading||f.sessionRoutePending||!f.sessionKey)return;let e=()=>{let e=new URLSearchParams(a);e.delete(`skill`),e.delete(`slash`),e.delete(`draft`);let t=e.toString();n({pathname:i,search:t?`?${t}`:``},{replace:!0})},t=(t,n)=>{o.current!==n&&(o.current=n,queueMicrotask(()=>{s.current+=1,l({id:s.current,text:t}),e()}))};if(b){if(!$Q(b)){e();return}let n=`${f.sessionKey}:skill:${b}`;t(`/skill:${b} `,n);return}let r=S.trim();if(r){t(r,`${f.sessionKey}:draft:${r}`);return}if(!/^[a-zA-Z][a-zA-Z0-9_-]*$/.test(x)){e();return}let c=`${f.sessionKey}:slash:${x}`;o.current!==c&&queueMicrotask(()=>{(async()=>{try{let e=await D$(),t=x.toLowerCase(),n=e.find(e=>e.name.toLowerCase()===t||Array.isArray(e.aliases)&&e.aliases.some(e=>e.toLowerCase()===t));if(n){if(o.current===c)return;o.current=c,s.current+=1,l({id:s.current,text:F$(n)})}}finally{e()}})()})},[d.hasToken,b,x,S,a,f.showSessionLoading,f.sessionRoutePending,f.sessionKey,n,i]);let{scrollRef:j,atBottom:M,registerListContentRef:N,scrollToBottom:P,onScroll:F}=Nce({hasToken:d.hasToken,showSessionLoading:f.showSessionLoading,sessionKey:f.sessionKey,sending:h.sending,chatMessages:p.items,hasMore:f.hasMore,loadingMore:f.loadingMore,loadMoreMessages:f.loadMoreMessages});(0,Y.useEffect)(()=>{l(null)},[f.sessionKey]);let I=(0,Y.useCallback)(e=>{s.current+=1,l({id:s.current,text:e})},[]),L=(0,Y.useMemo)(()=>!!f.sessionKey&&!f.showSessionLoading&&!f.sessionRoutePending&&p.items.length===0,[f.sessionKey,f.showSessionLoading,f.sessionRoutePending,p.items.length]),R=cZ(e=>e.setAgentId);(0,Y.useEffect)(()=>{if(d.hasToken)return R(y.displayAgentId),()=>R(``)},[d.hasToken,y.displayAgentId,R]);let z=!f.showSessionLoading&&p.items.length===0&&!h.streaming,B=(0,Y.useMemo)(()=>(f.sessionRoutePending&&f.decodedKey?f.decodedKey:f.sessionKey)?f.sessionName?.trim()||e.chat.newSession:e.nav.chat,[f.sessionKey,f.sessionName,f.sessionRoutePending,f.decodedKey,e.nav.chat,e.chat.newSession]),V=T?.sourceNoteId??null,H=T?.sourceNoteTitle||e.chat.sourceNoteFallbackTitle,U=(0,Y.useCallback)(async t=>{V&&await a0(V,t,e.chat.sourceNoteAppendHeading)},[e.chat.sourceNoteAppendHeading,V]),W=(0,Y.useCallback)(async t=>{V&&await o0((t.trim().split(/\n+/)[0]?.replace(/^[-#*>\s]+/,``).trim()||e.chat.sourceNoteTaskFallbackTitle).slice(0,120),{sourceNoteId:V,sourceSessionKey:C})},[C,e.chat.sourceNoteTaskFallbackTitle,V]);return d.hasToken?(0,Q.jsxs)(`div`,{className:`flex h-full min-h-0 flex-1 flex-col overflow-hidden bg-surface-panel`,children:[(0,Q.jsx)(Wie,{}),(0,Q.jsx)(Iie,{chatHeadline:B,chatAgents:y.chatAgents?.items??[],showChatAgentSelector:y.showChatAgentSelector,chatAgentId:y.displayAgentId,onChatAgentChange:y.onChatAgentChange,chatAgentDisabled:f.showSessionLoading||f.sessionRoutePending}),(0,Q.jsxs)(`div`,{className:`relative mx-auto flex min-h-0 w-full max-w-[var(--max-width-chat)] flex-1 flex-col`,children:[r.state?.fromAgentEditor&&y.displayAgentId?(0,Q.jsx)(`div`,{className:`shrink-0 border-b border-edge-subtle bg-surface-panel/80 px-3 py-1.5 sm:px-5 xl:px-6`,children:(0,Q.jsxs)(Gi,{to:G9(y.displayAgentId),className:`inline-flex items-center gap-1 text-xs font-medium text-accent transition-colors hover:text-accent-fg`,children:[(0,Q.jsx)(`span`,{"aria-hidden":!0,children:`←`}),e.agentsSettings.backToEditor]})}):null,V?(0,Q.jsx)(`div`,{className:`shrink-0 border-b border-edge-subtle bg-surface-panel/80 px-3 py-1.5 sm:px-5 xl:px-6`,children:(0,Q.jsxs)(`div`,{className:`flex min-w-0 items-center justify-between gap-3 text-xs text-fg-muted`,children:[(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:e.chat.sourceNoteBanner.replace(`{{title}}`,H)}),(0,Q.jsx)(Gi,{to:`/notes/${encodeURIComponent(V)}`,className:`shrink-0 font-medium text-accent transition-colors hover:text-accent-fg`,children:e.chat.sourceNoteOpen})]})}):null,f.sessionKey&&xH(f.sessionKey)&&!f.showSessionLoading&&!f.sessionRoutePending?(0,Q.jsx)(kie,{sessionKey:f.sessionKey,streaming:h.streaming,sending:h.sending}):null,(0,Q.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col px-3 sm:px-5 xl:px-6`,children:(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[(0,Q.jsx)(`div`,{ref:j,className:u(`chat-messages min-h-0 flex-1 overflow-y-auto overflow-x-hidden [overflow-anchor:none] [scrollbar-gutter:stable_both-edges]`,z?`chat-messages--compact-welcome pt-5 pb-2`:`py-4`),onScroll:F,children:f.showSessionLoading?(0,Q.jsx)(`div`,{className:`flex min-h-[min(40vh,20rem)] flex-col items-center justify-center gap-3 py-12 text-center text-sm text-fg-muted`,children:e.chat.loading}):(0,Q.jsxs)(Q.Fragment,{children:[f.loadingMore?(0,Q.jsx)(`div`,{className:`mb-3 text-center text-xs text-fg-muted`,children:e.chat.loadOlder}):null,h.error?(0,Q.jsx)(Yse,{errorText:h.error}):null,O.length>0?(0,Q.jsx)(`div`,{className:`mb-6 flex flex-col gap-3`,children:O.map(e=>(0,Q.jsx)(jle,{link:e},e.id))}):null,A&&D?(0,Q.jsx)(Hle,{view:D,sessionKey:C,onAbortCurrentTurn:h.abort,onSendUserMessage:e=>{h.streaming||h.sending?g.addPendingFollowUp(e):h.sendMessage(e)}}):null,(0,Q.jsx)(Tce,{messages:p.items,authToken:t??void 0,sessionKey:f.decodedKey??f.sessionKey,streaming:h.streaming,progress:h.progress,reasoningLevel:f.reasoningLevel,registerListContentRef:N,onPickWelcomePrompt:I,onDeleteRound:h.deleteMessageRound,onRetryUserMessageRound:h.retryUserMessageRound,deleteRoundDisabled:h.streaming||h.sending,onAbortCurrentTurn:h.abort,onSendUserMessage:e=>{h.streaming||h.sending?g.addPendingFollowUp(e):h.sendMessage(e)},onSaveAssistantToSourceNote:V?U:void 0,onExtractAssistantTask:V?W:void 0},f.decodedKey??`new`)]})}),(0,Q.jsxs)(`div`,{className:u(`sticky bottom-0 z-10 shrink-0 bg-surface-panel`,z?`py-2.5`:`py-4`),children:[(0,Q.jsx)(Ele,{prompt:_.clarifyPrompt,submitting:_.clarifySubmitting,submitError:_.clarifySubmitError,labels:e.chat,onSubmit:_.submitClarifyAnswer,onCancel:_.cancelClarifyAnswer}),(0,Q.jsx)(Qre,{disabled:f.showSessionLoading||f.sessionRoutePending||!!_.clarifyPrompt,sending:h.sending,streaming:h.streaming,sessionKey:f.sessionKey,sessionManager:f.sessionManager,welcomeDraftSeed:c,canSelectWorkingDirectory:L,thinkingLevel:f.thinkingLevel,showThinkingSelector:f.modelSupportsThinking,onThinkingChange:f.onSessionThinkingLevelChange,onSend:h.sendMessage,onAbort:h.abort,onAddPendingFollowUp:(e,t)=>void g.addPendingFollowUp(e,t),onSteeringInterrupt:(e,t)=>void h.interruptAndSend(e,t),pendingFollowUps:g.pendingFollowUps,editingFollowUpId:g.editingFollowUpId,onBeginEditFollowUp:g.beginEditFollowUp,onCancelEditFollowUp:g.cancelEditFollowUp,onCommitEditFollowUp:(e,t,n,r)=>void g.commitEditFollowUp(e,t,n,r),onPendingFollowUpRemove:g.removePendingFollowUp,onPendingFollowUpMove:g.movePendingFollowUp,onPendingFollowUpReorder:g.reorderPendingFollowUp,onPendingFollowUpSteer:e=>void g.steerPendingFollowUp(e),steeringFollowUpId:g.steeringFollowUpId,sessionModel:f.sessionModel,showModelSelector:!!(f.sessionKey&&!f.sessionRoutePending),onModelChange:f.onSessionModelChange,modelDisabled:f.showSessionLoading||f.sessionRoutePending||h.streaming,contextUsageMessages:p.items,onChatAgentChange:y.showChatAgentSelector?y.onChatAgentChange:void 0,currentAgentId:y.displayAgentId})]})]})})]}),(0,Q.jsx)(Dce,{visible:!f.showSessionLoading&&!M,onClick:()=>P(!0)})]}):(0,Q.jsx)(`div`,{className:`mx-auto w-full max-w-[var(--max-width-chat)] px-3 py-16 text-center text-sm leading-relaxed text-fg-muted sm:px-5`,children:e.chat.needToken})}function $le(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`div`,{className:`flex h-full min-h-0 flex-1 flex-col overflow-hidden`,children:(0,Q.jsx)(fi,{})}),e[0]=t):t=e[0],t}async function eue(e){let t=await k(e);if(!t.ok){let e=await t.json().catch(()=>({})),n=D(t.status,t.statusText,e.error?.message);throw Error(n)}return t.json()}function tue(e){let t=(0,Z.c)(3),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={fetcher:eue,revalidateOnFocus:!1,dedupingInterval:2e3,shouldRetryOnError:!0,errorRetryCount:2},t[0]=r):r=t[0];let i;return t[1]===n?i=t[2]:(i=(0,Q.jsx)(ae,{value:r,children:n}),t[1]=n,t[2]=i),i}var nue=(0,Y.lazy)(()=>GR().then(e=>({default:e.SessionsPage}))),rue=(0,Y.lazy)(()=>KR().then(e=>({default:e.CronPage}))),iue=(0,Y.lazy)(()=>qR().then(e=>({default:e.GoalsPage}))),aue=(0,Y.lazy)(()=>JR().then(e=>({default:e.GoalDetailPage}))),oue=(0,Y.lazy)(()=>YR().then(e=>({default:e.NotesPage}))),sue=(0,Y.lazy)(()=>XR().then(e=>({default:e.NoteDetailPage}))),cue=(0,Y.lazy)(()=>ZR().then(e=>({default:e.WorkflowsPage}))),lue=(0,Y.lazy)(()=>QR().then(e=>({default:e.SkillsPage}))),uue=(0,Y.lazy)(()=>$R().then(e=>({default:e.LogsPage}))),due=(0,Y.lazy)(()=>ez().then(e=>({default:e.SettingsPage}))),q9=(0,Y.lazy)(()=>tz().then(e=>({default:e.AgentsSettingsPanel}))),J9=(0,Y.lazy)(()=>nz().then(e=>({default:e.ChannelsSettingsPanel}))),Y9=(0,Y.lazy)(()=>rz().then(e=>({default:e.AppsPage}))),X9=(0,Y.lazy)(()=>iz().then(e=>({default:e.ExtensionPage}))),Z9=(0,Y.lazy)(()=>az().then(e=>({default:e.ExtensionSettingsPage}))),fue=(0,Y.lazy)(()=>oz().then(e=>({default:e.ExtensionDebugPage}))),pue=(0,Y.lazy)(()=>sz().then(e=>({default:e.SharePreviewPage})));function Q9(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`div`,{className:`flex min-h-[min(40vh,16rem)] flex-1 items-center justify-center text-sm text-fg-muted`,"aria-busy":!0,children:`Loading…`}),e[0]=t):t=e[0],t}function mue(){let e=(0,Z.c)(4),{agentId:t}=jr(),n;e[0]===t?n=e[1]:(n=typeof t==`string`?t.trim():``,e[0]=t,e[1]=n);let r=n,i=r?`/agents/${encodeURIComponent(r)}`:`/agents`,a;return e[2]===i?a=e[3]:(a=(0,Q.jsx)(di,{to:i,replace:!0}),e[2]=i,e[3]=a),a}function hue(){let e=(0,Z.c)(4),{noteId:t}=jr(),n;e[0]===t?n=e[1]:(n=typeof t==`string`?t.trim():``,e[0]=t,e[1]=n);let r=n,i=r?`/notes/${encodeURIComponent(r)}`:`/notes`,a;return e[2]===i?a=e[3]:(a=(0,Q.jsx)(di,{to:i,replace:!0}),e[2]=i,e[3]=a),a}function $9(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col`,"aria-busy":!0,children:(0,Q.jsxs)(`div`,{className:`mx-auto w-full max-w-app-main flex-1 px-4 py-8`,children:[(0,Q.jsx)(`div`,{className:`h-8 w-48 max-w-full animate-pulse rounded-md bg-surface-hover`}),(0,Q.jsx)(`div`,{className:`mt-6 h-36 animate-pulse rounded-xl bg-surface-hover`}),(0,Q.jsx)(`div`,{className:`mt-4 h-24 animate-pulse rounded-xl bg-surface-hover`}),(0,Q.jsx)(`p`,{className:`mt-6 text-sm text-fg-muted`,children:`Loading…`})]})}),e[0]=t):t=e[0],t}var gue=_ee([{path:`/share/:token`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(pue,{})})},{path:`/`,element:(0,Q.jsx)(s4,{}),children:[{index:!0,element:(0,Q.jsx)(di,{to:`/chat`,replace:!0})},{path:`chat`,element:(0,Q.jsx)($le,{}),children:[{index:!0,element:(0,Q.jsx)(K9,{})},{path:`new`,element:(0,Q.jsx)(K9,{})},{path:`:sessionKey`,element:(0,Q.jsx)(K9,{})}]},{path:`sessions`,element:(0,Q.jsx)(di,{to:`/settings/sessions`,replace:!0})},{path:`logs`,element:(0,Q.jsx)(di,{to:`/settings/logs`,replace:!0})},{path:`cron`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(rue,{})})},{path:`goals`,children:[{index:!0,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(iue,{})})},{path:`:goalId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(aue,{})})}]},{path:`note/:noteId`,element:(0,Q.jsx)(hue,{})},{path:`notes`,children:[{index:!0,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(oue,{})})},{path:`:noteId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(sue,{})})}]},{path:`workflows`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(cue,{})})},{path:`skills`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(lue,{})})},{path:`channels`,children:[{index:!0,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(J9,{})})},{path:`:channelId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(J9,{})})}]},{path:`mcp`,element:(0,Q.jsx)(di,{to:`/settings/connectors`,replace:!0})},{path:`agents`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(q9,{})})},{path:`agents/:agentId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(q9,{})})},{path:`apps`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(Y9,{})})},{path:`apps/:extensionId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(X9,{})})},{path:`apps/:extensionId/:pageId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(X9,{})})},{path:`settings`,element:(0,Q.jsx)(X4,{children:(0,Q.jsx)(V4,{})}),children:[{index:!0,element:(0,Q.jsx)(di,{to:`overview`,replace:!0})},{path:`skills`,element:(0,Q.jsx)(di,{to:`/skills`,replace:!0})},{path:`channels`,element:(0,Q.jsx)(di,{to:`/channels`,replace:!0})},{path:`mcp`,element:(0,Q.jsx)(di,{to:`/settings/connectors`,replace:!0})},{path:`cron`,element:(0,Q.jsx)(di,{to:`/cron?tab=settings`,replace:!0})},{path:`sessions`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(nue,{})})},{path:`logs`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)(Q9,{}),children:(0,Q.jsx)(uue,{})})},{path:`apps`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)($9,{}),children:(0,Q.jsx)(Y9,{})})},{path:`agents`,element:(0,Q.jsx)(di,{to:`/agents`,replace:!0})},{path:`agents/:agentId`,element:(0,Q.jsx)(mue,{})},{path:`extensions/debug`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)($9,{}),children:(0,Q.jsx)(fue,{})})},{path:`ext/:extensionId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)($9,{}),children:(0,Q.jsx)(Z9,{})})},{path:`ext/:extensionId/:panelId`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)($9,{}),children:(0,Q.jsx)(Z9,{})})},{path:`:section`,element:(0,Q.jsx)(Y.Suspense,{fallback:(0,Q.jsx)($9,{}),children:(0,Q.jsx)(due,{})})}]}]}]);function _ue(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[0]=t):t=e[0],(0,Y.useEffect)(vue,t),null}function vue(){let e=b.persist.onFinishHydration(bue),t=cF.persist.onFinishHydration(yue),n=x();return()=>{e?.(),t?.(),n()}}function yue(){lF()}function bue(){S()}function xue(){let e=(0,Z.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(_ue,{}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Q.jsx)(tue,{children:(0,Q.jsx)(Uz,{children:(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[t,(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col *:min-h-0 *:flex-1`,children:(0,Q.jsx)(da,{router:gue})})]})})}),e[1]=n):n=e[1],n}document.documentElement.setAttribute(`lang`,h(g())),C(),sF(),O(),(0,gP.createRoot)(document.getElementById(`root`)).render((0,Q.jsx)(Y.StrictMode,{children:(0,Q.jsx)(xue,{})}));export{O2 as $,ay as $a,Fk as $i,bU as $n,Ud as $o,XL as $r,AQ as $t,n8 as A,rw as Aa,$N as Ai,NX as An,Bh as Ao,Vz as Ar,N1 as At,k6 as B,hx as Ba,sM as Bi,MW as Bn,hp as Bo,pz as Br,X$ as Bt,Z6 as C,Aw as Ca,BP as Ci,rZ as Cn,sv as Co,_B as Cr,di as Cs,p0 as Ct,t8 as D,dw as Da,FP as Di,ZX as Dn,ag as Do,Gz as Dr,$i as Ds,W1 as Dt,i8 as E,fw as Ea,IP as Ei,qX as En,Rg as Eo,Jz as Er,jr as Es,q1 as Et,s8 as F,BS as Fa,zM as Fi,AX as Fn,mm as Fo,dz as Fr,i1 as Ft,k4 as G,Iy as Ga,ej as Gi,bW as Gn,Pf as Go,mz as Gr,Q$ as Gt,T6 as H,nx as Ha,Pj as Hi,UW as Hn,Wf as Ho,yz as Hr,Y$ as Ht,X6 as I,LS as Ia,RM as Ii,LY as In,Up as Io,xz as Ir,W$ as It,U2 as J,Ty as Ja,rA as Ji,TU as Jn,Ef as Jo,YL as Jr,KQ as Jt,x4 as K,Py as Ka,IA as Ki,jU as Kn,Nf as Ko,yR as Kr,G$ as Kt,L6 as L,hS as La,EM as Li,zY as Ln,Vp as Lo,_z as Lr,n1 as Lt,d8 as M,NC as Ma,YN as Mi,jX as Mn,yh as Mo,lz as Mr,j1 as Mt,Q6 as N,SC as Na,kN as Ni,OX as Nn,Bm as No,hz as Nr,l1 as Nt,c8 as O,lw as Oa,RP as Oi,UX as On,$h as Oo,qz as Or,H1 as Ot,l8 as P,US as Pa,sN as Pi,kX as Pn,wm as Po,fz as Pr,a1 as Pt,k2 as Q,oy as Qa,Rk as Qi,fU as Qn,Qd as Qo,KL as Qr,kQ as Qt,O6 as R,Px as Ra,_M as Ri,MY as Rn,Bp as Ro,Sz as Rr,K$ as Rt,u8 as S,jw as Sa,zP as Si,eZ as Sn,cv as So,vB as Sr,Gi as Ss,e0 as St,a8 as T,Sw as Ta,PP as Ti,tZ as Tn,Xg as To,hB as Tr,Dr as Ts,s0 as Tt,_6 as U,Jb as Ua,mj as Ui,HW as Un,Vf as Uo,cz as Ur,q$ as Ut,D6 as V,sx as Va,Uj as Vi,jW as Vn,np as Vo,gz as Vr,U$ as Vt,J4 as W,zb as Wa,tj as Wi,WW as Wn,Ff as Wo,bz as Wr,J$ as Wt,H2 as X,_y as Xa,Jk as Xi,gU as Xn,yf as Xo,JL as Xr,MQ as Xt,W2 as Y,xy as Ya,Zk as Yi,_U as Yn,Sf as Yo,ZL as Yr,GQ as Yt,N2 as Z,fy as Za,Wk as Zi,mU as Zn,$d as Zo,qL as Zr,NQ as Zt,W7 as _,tE as _a,GP as _i,xZ as _n,hv as _o,AB as _r,Oo as _s,t0 as _t,Fle as a,PD as aa,dI as ai,rQ as an,Lv as ao,oH as ar,au as as,D2 as at,E7 as b,fT as ba,VP as bi,sZ as bn,uv as bo,DB as br,wa as bs,u0 as bt,Rle as c,KE as ca,DF as ci,iQ as cn,Tv as co,rH as cr,wl as cs,E0 as ct,Ile as d,LE as da,EF as di,uQ as dn,Sv as do,cH as dr,el as ds,X1 as dt,wk as ea,dL as ei,jQ as en,ry as eo,vU as er,Rd as es,j2 as et,B9 as f,ME as fa,dF as fi,oQ as fn,xv as fo,sH as fr,Pc as fs,r0 as ft,K7 as g,lE as ga,QP as gi,SZ as gn,gv as go,XB as gr,Io as gs,J1 as gt,J7 as h,gE as ha,tF as hi,BZ as hn,_v as ho,YB as hr,Bo as hs,n0 as ht,H9 as i,RD as ia,OI as ii,lQ as in,zv as io,xH as ir,gd as is,E2 as it,f8 as j,tw as ja,ZN as ji,MX as jn,zh as jo,uz as jr,A1 as jt,Y6 as k,cw as ka,NP as ki,LX as kn,Yh as ko,zz as kr,U1 as kt,zle as l,zE as la,TF as li,dQ as ln,wv as lo,nH as lr,yl as ls,$1 as lt,n9 as m,bE as ma,eF as mi,IZ as mn,yv as mo,zB as mr,Ns as ms,d0 as mt,G9 as n,kO as na,sL as ni,pQ as nn,qv as no,uU as nr,Od as ns,A2 as nt,Ble as o,iD as oa,fI as oi,nQ as on,Fv as oo,iH as or,Xl as os,p2 as ot,f9 as p,DE as pa,$P as pi,sQ as pn,bv as po,lH as pr,pc as ps,f0 as pt,S4 as q,Ey as qa,MA as qi,AU as qn,jf as qo,QL as qr,t1 as qt,U9 as r,ZD as ra,lL as ri,mQ as rn,Vv as ro,AH as rr,Td as rs,P2 as rt,V9 as s,JE as sa,GF as si,cQ as sn,Mv as so,uH as sr,Ol as ss,h2 as st,W9 as t,nk as ta,uL as ti,fQ as tn,Qv as to,xU as tr,kd as ts,M2 as tt,Lle as u,RE as ua,OF as ui,aQ as un,Cv as uo,tH as ur,hl as us,Q1 as ut,B7 as v,LT as va,qP as vi,CZ as vn,mv as vo,EB as vr,lo as vs,Y1 as vt,$6 as w,Ow as wa,LP as wi,$X as wn,Z_ as wo,gB as wr,wr as ws,Z1 as wt,b7 as x,oT as xa,$ as xi,nZ as xn,lv as xo,CB as xr,ga as xs,i0 as xt,I7 as y,PT as ya,HP as yi,cZ as yn,dv as yo,OB as yr,so as ys,l0 as yt,A6 as z,Ex as za,gM as zi,aY as zn,Ip as zo,vz as zr,Z$ as zt};
|