zevairouter 1.1.83 → 1.1.85
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/CHANGELOG.md +14 -0
- package/cli/app/.next-cli-build/BUILD_ID +1 -1
- package/cli/app/.next-cli-build/app-path-routes-manifest.json +19 -19
- package/cli/app/.next-cli-build/build-manifest.json +2 -2
- package/cli/app/.next-cli-build/prerender-manifest.json +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/dsh-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/dsh-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route.js +3 -3
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/dashboard/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/ready/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/metrics/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/json-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/aistudio/helper/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/aistudio/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/cloudflare-ai/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/cloudflare-ai/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy-cn/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy-cn/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy-intl/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/codebuddy-intl/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/flow/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/flow/login/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/flow/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kiro/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kiro/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kiro/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kiro/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/openrouter/discover-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/openrouter/discover-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/web-login/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/routing/adaptive/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/test-alert/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/routing-stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/music/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/music/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/content/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback.html +1 -1
- package/cli/app/.next-cli-build/server/app/callback.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/skills.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.html +1 -1
- package/cli/app/.next-cli-build/server/app/index.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing.html +1 -1
- package/cli/app/.next-cli-build/server/app/landing.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/login.html +1 -1
- package/cli/app/.next-cli-build/server/app/login.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page.js +1 -1
- package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/provider-icons/[provider]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/skills/[skill]/SKILL.md/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app-paths-manifest.json +19 -19
- package/cli/app/.next-cli-build/server/chunks/1004.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/1047.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/1350.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/1757.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/2231.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/{5728.js → 2307.js} +2 -2
- package/cli/app/.next-cli-build/server/chunks/{1605.js → 2557.js} +1 -1
- package/cli/app/.next-cli-build/server/chunks/2578.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/267.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/2918.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/2957.js +16 -0
- package/cli/app/.next-cli-build/server/chunks/3184.js +616 -0
- package/cli/app/.next-cli-build/server/chunks/{7364.js → 3190.js} +1 -1
- package/cli/app/.next-cli-build/server/chunks/4073.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4549.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4631.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4730.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/4754.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/5024.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5330.js +13 -25
- package/cli/app/.next-cli-build/server/chunks/5580.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/5744.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/{9188.js → 5986.js} +1 -1
- package/cli/app/.next-cli-build/server/chunks/627.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7135.js +2 -2
- package/cli/app/.next-cli-build/server/chunks/7319.js +1022 -830
- package/cli/app/.next-cli-build/server/chunks/7525.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7557.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7573.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7740.js +13 -0
- package/cli/app/.next-cli-build/server/chunks/7793.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/7995.js +3 -3
- package/cli/app/.next-cli-build/server/chunks/{6166.js → 8238.js} +1 -1
- package/cli/app/.next-cli-build/server/chunks/9094.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/9413.js +12 -0
- package/cli/app/.next-cli-build/server/chunks/9548.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/9618.js +1 -1
- package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/pages/404.html +1 -1
- package/cli/app/.next-cli-build/server/pages/500.html +1 -1
- package/cli/app/.next-cli-build/server/preview-props.json +3 -3
- package/cli/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/cli/app/.next-cli-build/static/chunks/5153-ac99c34c9374919f.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/620-22231fb47409f27a.js +1 -0
- package/cli/app/CHANGELOG.md +14 -0
- package/cli/app/package.json +1 -1
- package/cli/package.json +1 -1
- package/package.json +1 -1
- package/cli/app/.next-cli-build/server/chunks/3204.js +0 -12
- package/cli/app/.next-cli-build/server/chunks/4177.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/4294.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/5626.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/5781.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/5819.js +0 -439
- package/cli/app/.next-cli-build/server/chunks/9489.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/9946.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/5153-11d3b7ab985b3fa8.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/620-c79a51db4866ef69.js +0 -1
- /package/cli/app/.next-cli-build/static/{FOGmZhfTF_hGbhAHqAoR7 → 5AsQtmL5kXfUKmrhvVyvT}/_buildManifest.js +0 -0
- /package/cli/app/.next-cli-build/static/{FOGmZhfTF_hGbhAHqAoR7 → 5AsQtmL5kXfUKmrhvVyvT}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13044:(a,b,c)=>{Promise.resolve().then(c.bind(c,32108))},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},23612:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,32059))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"/zevairouter-build/src/app/(dashboard)/dashboard/profile/page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/zevairouter-build/src/app/(dashboard)/layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/zevairouter-build/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32108:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>r});var d=c(48249),e=c(67484),f=c(19099),g=c(50412),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020);c(51126);var m=c(818),n=c(49885),o=c.n(n);function p(a,b){let c=Number(a);return!Number.isFinite(c)||c<=0?String(b):String(Math.max(1,Math.round(c/6e4)))}function q({settings:a,loading:b,onSettingsUpdated:c}){let[f,h]=(0,e.useState)(null),[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(null),[m,n]=(0,e.useState)(!1),[o,r]=(0,e.useState)({type:"",message:""}),[s,t]=(0,e.useState)({}),[u,v]=(0,e.useState)(""),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)({type:"",message:""}),[C,D]=(0,e.useState)(null),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)({type:"",message:""}),I=f??p(a?.responseCacheTtlMs,10),J=i??String(Number(a?.responseCacheMaxEntries)>0?a.responseCacheMaxEntries:500),K={alertWebhookType:s.alertWebhookType??(a?.alertWebhookType||"generic"),alertTelegramChatId:s.alertTelegramChatId??(a?.alertTelegramChatId||""),alertMinIntervalMin:s.alertMinIntervalMin??p(a?.alertMinIntervalMs,5)},L=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/cache/stats",{cache:"no-store"});a.ok&&l(await a.json())}catch{}},[]),M=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/routing/adaptive",{cache:"no-store"});a.ok&&D(await a.json())}catch{}},[]),N=async a=>{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),d=await b.json().catch(()=>({}));if(!b.ok)throw Error(d.error||"Failed to update settings");return c?.(d),d},O=async a=>{n(!0),r({type:"",message:""});try{await N({responseCacheEnabled:a}),r({type:"success",message:a?"Response cache enabled":"Response cache disabled"}),await L()}catch(a){r({type:"error",message:a.message})}finally{n(!1)}},P=async a=>{a.preventDefault();let b=Math.max(1,Number.parseInt(I,10)||10),c=Math.max(10,Number.parseInt(J,10)||500);n(!0),r({type:"",message:""});try{await N({responseCacheTtlMs:6e4*b,responseCacheMaxEntries:c}),h(null),j(null),r({type:"success",message:`Cache limits updated (${b}m TTL, ${c} entries)`}),await L()}catch(a){r({type:"error",message:a.message})}finally{n(!1)}},Q=async()=>{n(!0),r({type:"",message:""});try{if(!(await fetch("/api/cache/stats",{method:"DELETE"})).ok)throw Error("Failed to clear cache");r({type:"success",message:"Response cache cleared"}),await L()}catch(a){r({type:"error",message:a.message})}finally{n(!1)}},R=async a=>{x(!0),B({type:"",message:""});try{await N({alertEnabled:a}),B({type:"success",message:a?"Webhook alerts enabled":"Webhook alerts disabled"})}catch(a){B({type:"error",message:a.message})}finally{x(!1)}},S=async a=>{a.preventDefault();let b=Math.max(1,Number.parseInt(K.alertMinIntervalMin,10)||5);x(!0),B({type:"",message:""});try{let a={alertWebhookType:K.alertWebhookType,alertTelegramChatId:K.alertTelegramChatId.trim(),alertMinIntervalMs:6e4*b};u.trim()&&(a.alertWebhookUrl=u.trim()),await N(a),t({}),v(""),B({type:"success",message:"Alert settings saved"})}catch(a){B({type:"error",message:a.message})}finally{x(!1)}},T=async()=>{x(!0),B({type:"",message:""});try{await N({clearAlertWebhookUrl:!0,alertEnabled:!1}),v(""),B({type:"success",message:"Webhook URL cleared"})}catch(a){B({type:"error",message:a.message})}finally{x(!1)}},U=async()=>{z(!0),B({type:"",message:""});try{let a=await fetch("/api/settings/test-alert",{method:"POST"}),b=await a.json().catch(()=>({}));a.ok&&b.sent?B({type:"success",message:"Test alert sent successfully"}):B({type:"error",message:b.reason||b.error||"Failed to send test alert"})}catch{B({type:"error",message:"Failed to send test alert"})}finally{z(!1)}},V=async(a,b)=>{F(!0),H({type:"",message:""});try{await N({v11Flags:{[a]:b}}),H({type:"success",message:`Updated ${a}`}),await M()}catch(a){H({type:"error",message:a.message})}finally{F(!1)}},W=async(a,b)=>{F(!0),H({type:"",message:""});try{await N({providerStrategies:{[a]:{adaptiveRoute:b}}}),H({type:"success",message:"*"===a?b?"Adaptive routing enabled for all providers":"Wildcard provider adaptive routing disabled":`Adaptive routing ${b?"enabled":"disabled"} for ${a}`}),await M()}catch(a){H({type:"error",message:a.message})}finally{F(!1)}},X=k?`${Math.round(100*(Number(k.hitRate)||0))}%`:"0%",Y=(C?.circuits||[]).filter(a=>"closed"!==a.state),Z=C?.metrics,$=C?.activeProviders||[],_=a?.providerStrategies||{},aa=_["*"]?.adaptiveRoute===!0,ab=$.filter(a=>_[a]?.adaptiveRoute===!0),ac=a?.v11Flags?.adaptiveRoute===!0&&!aa&&0===ab.length;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-emerald-500/10 text-emerald-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"bolt"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Response Cache"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Exact-Match Response Cache"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cache identical deterministic non-streaming chat responses (temperature = 0) in memory."})]}),(0,d.jsx)(g.lM,{checked:a?.responseCacheEnabled===!0,onChange:()=>O(a?.responseCacheEnabled!==!0),disabled:b||m})]}),k&&(0,d.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 pt-2 border-t border-border/50 text-xs sm:text-sm",children:[(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Entries"}),(0,d.jsx)("p",{className:"font-semibold",children:k.entries??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Hits"}),(0,d.jsx)("p",{className:"font-semibold",children:k.hits??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Misses"}),(0,d.jsx)("p",{className:"font-semibold",children:k.misses??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Hit Rate"}),(0,d.jsx)("p",{className:"font-semibold",children:X})]})]}),(0,d.jsxs)("form",{onSubmit:P,className:"flex flex-col gap-3 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"TTL (minutes)"}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"1440",value:I,onChange:a=>h(a.target.value),disabled:b||m})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Max Entries"}),(0,d.jsx)(g.pd,{type:"number",min:"10",max:"10000",value:J,onChange:a=>j(a.target.value),disabled:b||m})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:m,className:"w-full sm:w-auto",children:"Save Cache Limits"}),(0,d.jsx)(g.$n,{type:"button",variant:"secondary",disabled:b||m,onClick:Q,className:"w-full sm:w-auto",children:"Clear Cache"})]})]}),o.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===o.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:o.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"notifications_active"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Webhook Alerts"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Notify Discord, Telegram, or a custom webhook on provider outage, quota exhaustion, or error spikes."})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Webhook Alerts"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:a?.alertWebhookUrlConfigured?"Webhook URL is saved securely (hidden after save).":"No webhook URL configured yet."})]}),(0,d.jsx)(g.lM,{checked:a?.alertEnabled===!0,onChange:()=>R(a?.alertEnabled!==!0),disabled:b||w})]}),(0,d.jsxs)("form",{onSubmit:S,className:"flex flex-col gap-3 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Channel Type"}),(0,d.jsxs)("select",{value:K.alertWebhookType,onChange:a=>t(b=>({...b,alertWebhookType:a.target.value})),disabled:b||w,className:"w-full px-3 py-2 text-sm rounded-lg border border-border bg-bg text-text-main focus:outline-none focus:ring-2 focus:ring-primary/40",children:[(0,d.jsx)("option",{value:"generic",children:"Generic JSON Webhook"}),(0,d.jsx)("option",{value:"discord",children:"Discord Webhook"}),(0,d.jsx)("option",{value:"telegram",children:"Telegram Bot API"})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Throttle Interval (minutes)"}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"1440",value:K.alertMinIntervalMin,onChange:a=>t(b=>({...b,alertMinIntervalMin:a.target.value})),disabled:b||w})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Webhook URL"}),(0,d.jsx)(g.pd,{type:"password",placeholder:a?.alertWebhookUrlConfigured?"Leave blank to keep existing webhook URL":"https://discord.com/api/webhooks/...",value:u,onChange:a=>v(a.target.value),disabled:b||w})]}),"telegram"===K.alertWebhookType&&(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Telegram Chat ID"}),(0,d.jsx)(g.pd,{placeholder:"-1001234567890",value:K.alertTelegramChatId,onChange:a=>t(b=>({...b,alertTelegramChatId:a.target.value})),disabled:b||w})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row flex-wrap gap-2 pt-1",children:[(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:w,className:"w-full sm:w-auto",children:"Save Alert Settings"}),(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:y,disabled:b||w||!a?.alertWebhookUrlConfigured,onClick:U,className:"w-full sm:w-auto",children:"Send Test Alert"}),a?.alertWebhookUrlConfigured&&(0,d.jsx)(g.$n,{type:"button",variant:"outline",disabled:b||w,onClick:T,className:"w-full sm:w-auto",children:"Clear Webhook URL"})]})]}),A.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===A.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:A.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"hub"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Adaptive Routing & Circuit Breakers"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Score accounts by latency and health, and isolate failing circuits automatically."})]})]}),(0,d.jsx)(g.$n,{type:"button",variant:"secondary",size:"sm",onClick:M,disabled:b||E,children:"Refresh"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Shadow Mode"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Compute adaptive rankings and record telemetry without changing account selection."})]}),(0,d.jsx)(g.lM,{checked:a?.v11Flags?.adaptiveShadow===!0,onChange:()=>V("adaptiveShadow",a?.v11Flags?.adaptiveShadow!==!0),disabled:b||E})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Active Adaptive Routing"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use adaptive scoring and circuit-breaker probes for enabled providers."})]}),(0,d.jsx)(g.lM,{checked:a?.v11Flags?.adaptiveRoute===!0,onChange:()=>V("adaptiveRoute",a?.v11Flags?.adaptiveRoute!==!0),disabled:b||E})]}),a?.v11Flags?.adaptiveRoute===!0&&(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-xs sm:text-sm",children:"Apply to All Providers (*)"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Activate adaptive routing globally instead of opting in per provider below."})]}),(0,d.jsx)(g.lM,{checked:aa,onChange:()=>W("*",!aa),disabled:b||E})]}),!aa&&$.length>0&&(0,d.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,d.jsx)("p",{className:"text-xs font-medium text-text-muted",children:"Per-Provider Activation"}),(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:$.map(a=>{let c=_[a]?.adaptiveRoute===!0;return(0,d.jsx)("button",{type:"button",disabled:b||E,onClick:()=>W(a,!c),className:c?"px-2.5 py-1 rounded-md text-xs font-medium bg-cyan-500/15 text-cyan-600 dark:text-cyan-400 border border-cyan-500/40":"px-2.5 py-1 rounded-md text-xs font-medium bg-bg text-text-muted border border-border hover:text-text-main",children:a},a)})})]}),ac&&(0,d.jsx)("p",{className:"text-xs text-amber-600 dark:text-amber-400",children:'Adaptive routing is enabled globally, but no providers are opted in yet. Turn on "Apply to All Providers" or select specific providers above.'})]}),Z&&(0,d.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 pt-2 border-t border-border/50 text-xs sm:text-sm",children:[(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Decisions"}),(0,d.jsx)("p",{className:"font-semibold",children:Z.decisions??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Failovers"}),(0,d.jsx)("p",{className:"font-semibold",children:Z.failovers??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Open Circuits"}),(0,d.jsx)("p",{className:"font-semibold",children:Y.length})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Latency Profiles"}),(0,d.jsx)("p",{className:"font-semibold",children:C?.latencyProfiles?.length??0})]})]}),Y.length>0&&(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col gap-2",children:[(0,d.jsx)("p",{className:"text-xs font-medium text-text-muted uppercase tracking-wide",children:"Active Circuit Breakers"}),(0,d.jsx)("div",{className:"flex flex-col gap-1.5",children:Y.slice(0,8).map((a,b)=>(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 py-1.5 rounded-lg bg-bg border border-border text-xs",children:[(0,d.jsxs)("span",{className:"font-mono truncate",children:[a.scope,": ",a.provider||a.egressId||"global",a.accountId?` (${a.accountId.slice(0,8)})`:""]}),(0,d.jsx)("span",{className:"open"===a.state?"px-2 py-0.5 rounded bg-red-500/15 text-red-500 font-medium":"px-2 py-0.5 rounded bg-amber-500/15 text-amber-500 font-medium",children:a.state})]},`${a.scope}-${a.provider||""}-${a.accountId||""}-${b}`))})]}),G.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===G.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:G.message})]})]})]})}function r(){let a=(0,f.useRouter)(),{theme:b,setTheme:c,isDark:n}=(0,j.D)(),[o,p]=(0,e.useState)("en"),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)({fallbackStrategy:"fill-first"}),[z,A]=(0,e.useState)(!0),[B,C]=(0,e.useState)({current:"",new:"",confirm:""}),[D,E]=(0,e.useState)({type:"",message:""}),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)(!1),[J,K]=(0,e.useState)({type:"",message:""}),[L,M]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[N,O]=(0,e.useState)(""),[P,Q]=(0,e.useState)({type:"",message:""}),[R,S]=(0,e.useState)(!1),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)({type:"",message:""}),[X,Y]=(0,e.useState)("/api/auth/oidc/callback"),[Z,$]=(0,e.useState)(!1),[_,aa]=(0,e.useState)({samlEntryPoint:"",samlIssuer:"urn:zevairouter:sp",samlLoginLabel:"Sign in with SAML SSO",samlAttributeEmail:"email",samlAttributeName:"name"}),[ab,ac]=(0,e.useState)(""),[ad,ae]=(0,e.useState)({type:"",message:""}),[af,ag]=(0,e.useState)(!1),[ah,ai]=(0,e.useState)(!1),[aj,ak]=(0,e.useState)({type:"",message:""}),[al,am]=(0,e.useState)("/api/auth/saml/acs"),[an,ao]=(0,e.useState)("/api/auth/saml/metadata"),[ap,aq]=(0,e.useState)(!1),[ar,as]=(0,e.useState)("oidc"),at=(0,e.useRef)(null),[au,av]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[aw,ax]=(0,e.useState)({type:"",message:""}),[ay,az]=(0,e.useState)(!1),[aA,aB]=(0,e.useState)(!1),aC=async a=>{if(a.preventDefault(),!0===x.outboundProxyEnabled){az(!0),ax({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:au.outboundProxyUrl,outboundNoProxy:au.outboundNoProxy})}),b=await a.json();a.ok?(y(a=>({...a,...b})),ax({type:"success",message:"Proxy settings applied"})):ax({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){ax({type:"error",message:"An error occurred"})}finally{az(!1)}}},aD=async()=>{if(!0!==x.outboundProxyEnabled)return;let a=(au.outboundProxyUrl||"").trim();if(!a)return void ax({type:"error",message:"Please enter a Proxy URL to test"});aB(!0),ax({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?ax({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):ax({type:"error",message:c?.error||"Proxy test failed"})}catch(a){ax({type:"error",message:"An error occurred"})}finally{aB(!1)}},aE=async a=>{az(!0),ax({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(y(a=>({...a,...c})),av(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),ax({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):ax({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){ax({type:"error",message:"An error occurred"})}finally{az(!1)}},aF=async a=>{if(a.preventDefault(),B.new!==B.confirm)return void E({type:"error",message:"Passwords do not match"});G(!0),E({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:B.current,newPassword:B.new})}),b=await a.json();a.ok?(E({type:"success",message:"Password updated successfully"}),C({current:"",new:"",confirm:""})):E({type:"error",message:b.error||"Failed to update password"})}catch(a){E({type:"error",message:"An error occurred"})}finally{G(!1)}},aG=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&y(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},aH=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&y(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},aI=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&y(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},aJ=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&y(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},aK=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&y(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},aL=(a,b)=>{M(c=>({...c,[a]:b}))},aM=async(a=L.authMode||"password")=>{let b=L.oidcIssuerUrl.trim(),c=L.oidcClientId.trim(),d=L.oidcScopes.trim(),e=L.oidcLoginLabel.trim(),f=N.trim();if("password"!==a&&(!b||!c||!f)&&!x.oidcConfigured)return void Q({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});S(!0),Q({type:"",message:""}),W({type:"",message:""});try{let g={authMode:a,oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(y(a=>({...a,...i})),M({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),O(""),Q({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):Q({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){Q({type:"error",message:"An error occurred"})}finally{S(!1)}},aN=async()=>{let a=L.oidcIssuerUrl.trim(),b=L.oidcClientId.trim(),c=L.oidcScopes.trim(),d=N.trim();if(!a||!b)return void W({type:"error",message:"Issuer URL and client ID are required to test the connection."});U(!0),Q({type:"",message:""}),W({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:L.authMode||x.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:L.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void W({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;W({type:"success",message:a})}else W({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){W({type:"error",message:"An error occurred"})}finally{U(!1)}},aO=(a,b)=>{aa(c=>({...c,[a]:b}))},aP=async a=>{if(a)try{let b=await a.text(),c=b.match(/<[^>]*SingleSignOnService[^>]*Binding="[^"]*HTTP-Redirect"[^>]*Location="([^"]+)"/i)||b.match(/<[^>]*SingleSignOnService[^>]*Location="([^"]+)"[^>]*Binding="[^"]*HTTP-Redirect"/i)||b.match(/<[^>]*SingleSignOnService[^>]*Location="([^"]+)"/i),d=b.match(/<[^>]*X509Certificate[^>]*>([\s\S]*?)<\/[^>]*X509Certificate>/i);c&&aO("samlEntryPoint",c[1].trim()),d&&ac(d[1].replace(/\s+/g,"").trim()),ae({type:c||d?"success":"error",message:c||d?"Metadata parsed. Review the entry point and certificate, then save.":"Could not find SSO URL or certificate in the uploaded metadata."})}catch{ae({type:"error",message:"Failed to read the metadata file."})}},aQ=async a=>{if(a)try{ac((await a.text()).trim()),ae({type:"success",message:"Certificate loaded. Save to apply."})}catch{ae({type:"error",message:"Failed to read the certificate file."})}},aR=async a=>{let b=_.samlEntryPoint.trim(),c=ab.trim(),d=a||x.authMode||"password";if("password"!==d&&(!b||!c)&&!x.samlConfigured)return void ae({type:"error",message:"IdP SSO URL and certificate are required to enable SAML."});ag(!0),ae({type:"",message:""}),ak({type:"",message:""});try{let a={authMode:d,ssoType:"saml",samlEntryPoint:b,samlIssuer:_.samlIssuer.trim()||"urn:zevairouter:sp",samlLoginLabel:_.samlLoginLabel.trim()||"Sign in with SAML SSO",samlAttributeEmail:_.samlAttributeEmail.trim()||"email",samlAttributeName:_.samlAttributeName.trim()||"name",samlCert:c},e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),f=await e.json();e.ok?(y(a=>({...a,...f})),as("saml"),ae({type:"success",message:"saml"===d?"SAML login enabled":"both"===d?"Password and SAML login enabled":"SAML settings saved"})):ae({type:"error",message:f.error||"Failed to save SAML settings"})}catch{ae({type:"error",message:"An error occurred"})}finally{ag(!1)}},aS=async()=>{ai(!0),ae({type:"",message:""}),ak({type:"",message:""});try{let a=await fetch("/api/auth/saml/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({samlEntryPoint:_.samlEntryPoint.trim(),samlIssuer:_.samlIssuer.trim()||"urn:zevairouter:sp",samlCert:ab.trim()})}),b=await a.json().catch(()=>({}));a.ok&&b?.ok?ak({type:"success",message:b.message||"SAML configuration looks valid."}):ak({type:"error",message:b.error||"SAML config test failed"})}catch{ak({type:"error",message:"An error occurred"})}finally{ai(!1)}},aT=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&y(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},aU=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();y(b)}catch(a){console.error("Failed to reload settings:",a)}},aV=async()=>{I(!0),K({type:"",message:""});try{let a=await fetch("/api/settings/database");if(!a.ok){let b=await a.json().catch(()=>({}));throw Error(b.error||"Failed to export database")}let b=await a.json(),c=JSON.stringify(b),d=new Blob([c],{type:"application/json"}),e=URL.createObjectURL(d),f=document.createElement("a"),g=new Date().toISOString().replace(/[.:]/g,"-");f.href=e,f.download=`zevairouter-backup-${g}.json`,document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(e);let h=(d.size/1048576).toFixed(2),i=Array.isArray(b?.excludedTables)&&b.excludedTables.length?` (config only — skipped ${b.excludedTables.join(", ")})`:"";K({type:"success",message:`Database backup downloaded (${h} MB)${i}`})}catch(a){K({type:"error",message:a.message||"Failed to export database"})}finally{I(!1)}},aW=async a=>{let b=a.target.files?.[0];if(b){I(!0),K({type:"",message:""});try{let a=await b.text(),c=JSON.parse(a),d=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e.error||"Failed to import database");await aU(),K({type:"success",message:"Database imported successfully"})}catch(a){K({type:"error",message:a.message||"Invalid backup file"})}finally{at.current&&(at.current.value=""),I(!1)}}},aX=!0===x.enableObservability,aY=async()=>{w(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}w(!1),u(!1)},aZ=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(a.push("/login"),a.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>c(a),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",b===a?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===a?"light_mode":"dark"===a?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.zevai/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:aV,loading:H,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>at.current?.click(),disabled:H,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)("input",{ref:at,type:"file",accept:"application/json,.json",className:"hidden",onChange:aW})]}),J.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===J.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:J.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Language"})]}),(0,d.jsxs)("button",{onClick:()=>s(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Display language"}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[o]||"\uD83C\uDF10"})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Security"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Require login"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"When ON, dashboard requires password. When OFF, access without login."})]}),(0,d.jsx)(g.lM,{checked:!0===x.requireLogin,onChange:()=>aK(!x.requireLogin),disabled:z})]}),!0===x.requireLogin&&(0,d.jsxs)("form",{onSubmit:aF,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[x.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:B.current,onChange:a=>C({...B,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:B.new,onChange:a=>C({...B,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:B.confirm,onChange:a=>C({...B,confirm:a.target.value}),required:!0})]})]}),D.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===D.type?"text-red-500":"text-green-500"}`,children:D.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:F,className:"w-full sm:w-auto",children:x.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>$(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"OIDC Dashboard Login"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"oidc"===x.authMode?"OIDC active":"both"===x.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:Z?"expand_less":"expand_more"})]}),Z&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use Authentik or any OIDC provider to sign in to the dashboard. You can enable password-only, OIDC-only, or both for the dashboard; model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"oidc",title:"OIDC only",desc:"Require OIDC for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or OIDC."}].map(a=>{let b=L.authMode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>aL("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:z||R,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/zevairouter/",value:L.oidcIssuerUrl,onChange:a=>aL("oidcIssuerUrl",a.target.value),disabled:z||R})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(g.pd,{placeholder:"zevairouter-dashboard",value:L.oidcClientId,onChange:a=>aL("oidcClientId",a.target.value),disabled:z||R})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:N,onChange:a=>O(a.target.value),disabled:z||R}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(g.pd,{placeholder:"openid profile email",value:L.oidcScopes,onChange:a=>aL("oidcScopes",a.target.value),disabled:z||R})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:L.oidcLoginLabel,onChange:a=>aL("oidcLoginLabel",a.target.value),disabled:z||R})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:X})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:R,onClick:()=>aM(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:T,onClick:aN,className:"w-full sm:w-auto",children:"Test connection"})]}),V.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===V.type?"text-red-500":"text-green-500"}`,children:V.message}),P.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===P.type?"text-red-500":"text-green-500"}`,children:P.message}),"oidc"===x.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"OIDC login is currently active. Password login is disabled until you switch back."}),"both"===x.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"Password and OIDC login are both active."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aq(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-emerald-500/10 text-emerald-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"badge"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"SAML 2.0 SSO"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"saml"===ar&&x.samlConfigured?"saml"===x.authMode?"SAML active":"both"===x.authMode?"Password + SAML active":"SAML configured":"Optional SSO via Okta / Entra ID / OneLogin / ADFS"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:ap?"expand_less":"expand_more"})]}),ap&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use any SAML 2.0 identity provider to sign in to the dashboard. OIDC and SAML are mutually exclusive SSO types; saving here sets the SSO type to SAML. Model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"saml",title:"SAML only",desc:"Require SAML for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or SAML."}].map(a=>{let b=(x.authMode||"password")===a.value&&("password"===a.value||"saml"===ar);return(0,d.jsxs)("button",{type:"button",onClick:()=>aR(a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:z||af,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"IdP SSO URL (Entry Point)"}),(0,d.jsx)(g.pd,{placeholder:"https://idp.example.com/app/xxxx/sso/saml",value:_.samlEntryPoint,onChange:a=>aO("samlEntryPoint",a.target.value),disabled:z||af})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"IdP X.509 Certificate"}),(0,d.jsx)("textarea",{className:"w-full rounded-lg border border-border bg-bg p-2 font-mono text-xs min-h-[96px]",placeholder:"Paste the IdP signing certificate (PEM or base64), or upload below",value:ab,onChange:a=>ac(a.target.value),disabled:z||af}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsxs)("label",{className:"text-xs sm:text-sm text-primary cursor-pointer",children:["Upload IdP metadata XML",(0,d.jsx)("input",{type:"file",accept:".xml,text/xml,application/xml",className:"hidden",onChange:a=>aP(a.target.files?.[0])})]}),(0,d.jsxs)("label",{className:"text-xs sm:text-sm text-primary cursor-pointer",children:["Upload certificate (.pem/.crt)",(0,d.jsx)("input",{type:"file",accept:".pem,.crt,.cer,.txt",className:"hidden",onChange:a=>aQ(a.target.files?.[0])})]})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"SP Entity ID (Issuer)"}),(0,d.jsx)(g.pd,{placeholder:"urn:zevairouter:sp",value:_.samlIssuer,onChange:a=>aO("samlIssuer",a.target.value),disabled:z||af})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Email Attribute"}),(0,d.jsx)(g.pd,{placeholder:"email",value:_.samlAttributeEmail,onChange:a=>aO("samlAttributeEmail",a.target.value),disabled:z||af})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Name Attribute"}),(0,d.jsx)(g.pd,{placeholder:"name",value:_.samlAttributeName,onChange:a=>aO("samlAttributeName",a.target.value),disabled:z||af})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with SAML SSO",value:_.samlLoginLabel,onChange:a=>aO("samlLoginLabel",a.target.value),disabled:z||af})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Register these with your IdP"}),(0,d.jsx)("p",{className:"mt-1",children:"ACS (Reply) URL"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:al}),(0,d.jsx)("p",{className:"mt-2",children:"SP Metadata URL"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:an})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:af,onClick:()=>aR("password"!==x.authMode&&x.authMode?x.authMode:"saml"),className:"w-full sm:w-auto",children:"Save SAML settings"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:ah,onClick:aS,className:"w-full sm:w-auto",children:"Test configuration"})]}),aj.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aj.type?"text-red-500":"text-green-500"}`,children:aj.message}),ad.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ad.type?"text-red-500":"text-green-500"}`,children:ad.message}),"saml"===x.authMode&&"saml"===ar&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"SAML login is currently active. Password login is disabled until you switch back."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through accounts to distribute load"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===x.fallbackStrategy,onChange:()=>aG("round-robin"===x.fallbackStrategy?"fill-first":"round-robin"),disabled:z})]}),"round-robin"===x.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"10",value:x.stickyRoundRobinLimit||3,onChange:a=>aI(a.target.value),disabled:z,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===x.comboStrategy,onChange:()=>aH("round-robin"===x.comboStrategy?"fallback":"round-robin"),disabled:z})]}),"round-robin"===x.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"100",value:x.comboStickyRoundRobinLimit||1,onChange:a=>aJ(a.target.value),disabled:z,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===x.fallbackStrategy?`Currently distributing requests across all available accounts with ${x.stickyRoundRobinLimit||3} calls per account.`:"Currently using accounts in priority order (Fill First).","round-robin"===x.comboStrategy?` Combos rotate after ${x.comboStickyRoundRobinLimit||1} call${1===(x.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Network"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(g.lM,{checked:!0===x.outboundProxyEnabled,onChange:()=>aE(!0!==x.outboundProxyEnabled),disabled:z||ay})]}),!0===x.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:aC,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:au.outboundProxyUrl,onChange:a=>av(b=>({...b,outboundProxyUrl:a.target.value})),disabled:z||ay}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:au.outboundNoProxy,onChange:a=>av(b=>({...b,outboundNoProxy:a.target.value})),disabled:z||ay}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:aA,disabled:z||ay,onClick:aD,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:ay,className:"w-full sm:w-auto",children:"Apply"})]})]}),aw.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aw.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:aw.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Observability"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(g.lM,{checked:aX,onChange:aT,disabled:z})]})]}),(0,d.jsx)(q,{settings:x,loading:z,onSettingsUpdated:a=>y(b=>({...b,...a}))}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>u(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:aZ,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(i.default,{hideTrigger:!0,isOpen:r,onClose:a=>{s(!1),p(a)}}),(0,d.jsx)(h.ConfirmModal,{isOpen:t,onClose:()=>u(!1),onConfirm:aY,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:v})]})}q.propTypes={settings:o().object,loading:o().bool,onSettingsUpdated:o().func}},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},37830:a=>{"use strict";a.exports=require("node:stream/web")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/zevairouter-build/src/app/(dashboard)/dashboard/profile/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/zevairouter-build/src/app/(dashboard)/dashboard/profile/page.js","default")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76660:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,7774,2430,940,2760,5905,4452,4686,4549,7973,24,5024,9548,7404,9188,267,412,2228],()=>b(b.s=23612));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13044:(a,b,c)=>{Promise.resolve().then(c.bind(c,32108))},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},23612:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,32059))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"/zevairouter-build/src/app/(dashboard)/dashboard/profile/page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/zevairouter-build/src/app/(dashboard)/layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/zevairouter-build/src/app/layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32108:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>r});var d=c(48249),e=c(67484),f=c(19099),g=c(50412),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020);c(51126);var m=c(818),n=c(49885),o=c.n(n);function p(a,b){let c=Number(a);return!Number.isFinite(c)||c<=0?String(b):String(Math.max(1,Math.round(c/6e4)))}function q({settings:a,loading:b,onSettingsUpdated:c}){let[f,h]=(0,e.useState)(null),[i,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(null),[m,n]=(0,e.useState)(!1),[o,r]=(0,e.useState)({type:"",message:""}),[s,t]=(0,e.useState)({}),[u,v]=(0,e.useState)(""),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)({type:"",message:""}),[C,D]=(0,e.useState)(null),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)({type:"",message:""}),I=f??p(a?.responseCacheTtlMs,10),J=i??String(Number(a?.responseCacheMaxEntries)>0?a.responseCacheMaxEntries:500),K={alertWebhookType:s.alertWebhookType??(a?.alertWebhookType||"generic"),alertTelegramChatId:s.alertTelegramChatId??(a?.alertTelegramChatId||""),alertMinIntervalMin:s.alertMinIntervalMin??p(a?.alertMinIntervalMs,5)},L=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/cache/stats",{cache:"no-store"});a.ok&&l(await a.json())}catch{}},[]),M=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/routing/adaptive",{cache:"no-store"});a.ok&&D(await a.json())}catch{}},[]),N=async a=>{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),d=await b.json().catch(()=>({}));if(!b.ok)throw Error(d.error||"Failed to update settings");return c?.(d),d},O=async a=>{n(!0),r({type:"",message:""});try{await N({responseCacheEnabled:a}),r({type:"success",message:a?"Response cache enabled":"Response cache disabled"}),await L()}catch(a){r({type:"error",message:a.message})}finally{n(!1)}},P=async a=>{a.preventDefault();let b=Math.max(1,Number.parseInt(I,10)||10),c=Math.max(10,Number.parseInt(J,10)||500);n(!0),r({type:"",message:""});try{await N({responseCacheTtlMs:6e4*b,responseCacheMaxEntries:c}),h(null),j(null),r({type:"success",message:`Cache limits updated (${b}m TTL, ${c} entries)`}),await L()}catch(a){r({type:"error",message:a.message})}finally{n(!1)}},Q=async()=>{n(!0),r({type:"",message:""});try{if(!(await fetch("/api/cache/stats",{method:"DELETE"})).ok)throw Error("Failed to clear cache");r({type:"success",message:"Response cache cleared"}),await L()}catch(a){r({type:"error",message:a.message})}finally{n(!1)}},R=async a=>{x(!0),B({type:"",message:""});try{await N({alertEnabled:a}),B({type:"success",message:a?"Webhook alerts enabled":"Webhook alerts disabled"})}catch(a){B({type:"error",message:a.message})}finally{x(!1)}},S=async a=>{a.preventDefault();let b=Math.max(1,Number.parseInt(K.alertMinIntervalMin,10)||5);x(!0),B({type:"",message:""});try{let a={alertWebhookType:K.alertWebhookType,alertTelegramChatId:K.alertTelegramChatId.trim(),alertMinIntervalMs:6e4*b};u.trim()&&(a.alertWebhookUrl=u.trim()),await N(a),t({}),v(""),B({type:"success",message:"Alert settings saved"})}catch(a){B({type:"error",message:a.message})}finally{x(!1)}},T=async()=>{x(!0),B({type:"",message:""});try{await N({clearAlertWebhookUrl:!0,alertEnabled:!1}),v(""),B({type:"success",message:"Webhook URL cleared"})}catch(a){B({type:"error",message:a.message})}finally{x(!1)}},U=async()=>{z(!0),B({type:"",message:""});try{let a=await fetch("/api/settings/test-alert",{method:"POST"}),b=await a.json().catch(()=>({}));a.ok&&b.sent?B({type:"success",message:"Test alert sent successfully"}):B({type:"error",message:b.reason||b.error||"Failed to send test alert"})}catch{B({type:"error",message:"Failed to send test alert"})}finally{z(!1)}},V=async(a,b)=>{F(!0),H({type:"",message:""});try{await N({v11Flags:{[a]:b}}),H({type:"success",message:`Updated ${a}`}),await M()}catch(a){H({type:"error",message:a.message})}finally{F(!1)}},W=async(a,b)=>{F(!0),H({type:"",message:""});try{await N({providerStrategies:{[a]:{adaptiveRoute:b}}}),H({type:"success",message:"*"===a?b?"Adaptive routing enabled for all providers":"Wildcard provider adaptive routing disabled":`Adaptive routing ${b?"enabled":"disabled"} for ${a}`}),await M()}catch(a){H({type:"error",message:a.message})}finally{F(!1)}},X=k?`${Math.round(100*(Number(k.hitRate)||0))}%`:"0%",Y=(C?.circuits||[]).filter(a=>"closed"!==a.state),Z=C?.metrics,$=C?.activeProviders||[],_=a?.providerStrategies||{},aa=_["*"]?.adaptiveRoute===!0,ab=$.filter(a=>_[a]?.adaptiveRoute===!0),ac=a?.v11Flags?.adaptiveRoute===!0&&!aa&&0===ab.length;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-emerald-500/10 text-emerald-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"bolt"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Response Cache"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Exact-Match Response Cache"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cache identical deterministic non-streaming chat responses (temperature = 0) in memory."})]}),(0,d.jsx)(g.lM,{checked:a?.responseCacheEnabled===!0,onChange:()=>O(a?.responseCacheEnabled!==!0),disabled:b||m})]}),k&&(0,d.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 pt-2 border-t border-border/50 text-xs sm:text-sm",children:[(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Entries"}),(0,d.jsx)("p",{className:"font-semibold",children:k.entries??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Hits"}),(0,d.jsx)("p",{className:"font-semibold",children:k.hits??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Misses"}),(0,d.jsx)("p",{className:"font-semibold",children:k.misses??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Hit Rate"}),(0,d.jsx)("p",{className:"font-semibold",children:X})]})]}),(0,d.jsxs)("form",{onSubmit:P,className:"flex flex-col gap-3 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"TTL (minutes)"}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"1440",value:I,onChange:a=>h(a.target.value),disabled:b||m})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Max Entries"}),(0,d.jsx)(g.pd,{type:"number",min:"10",max:"10000",value:J,onChange:a=>j(a.target.value),disabled:b||m})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:m,className:"w-full sm:w-auto",children:"Save Cache Limits"}),(0,d.jsx)(g.$n,{type:"button",variant:"secondary",disabled:b||m,onClick:Q,className:"w-full sm:w-auto",children:"Clear Cache"})]})]}),o.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===o.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:o.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"notifications_active"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Webhook Alerts"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Notify Discord, Telegram, or a custom webhook on provider outage, quota exhaustion, or error spikes."})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Webhook Alerts"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:a?.alertWebhookUrlConfigured?"Webhook URL is saved securely (hidden after save).":"No webhook URL configured yet."})]}),(0,d.jsx)(g.lM,{checked:a?.alertEnabled===!0,onChange:()=>R(a?.alertEnabled!==!0),disabled:b||w})]}),(0,d.jsxs)("form",{onSubmit:S,className:"flex flex-col gap-3 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Channel Type"}),(0,d.jsxs)("select",{value:K.alertWebhookType,onChange:a=>t(b=>({...b,alertWebhookType:a.target.value})),disabled:b||w,className:"w-full px-3 py-2 text-sm rounded-lg border border-border bg-bg text-text-main focus:outline-none focus:ring-2 focus:ring-primary/40",children:[(0,d.jsx)("option",{value:"generic",children:"Generic JSON Webhook"}),(0,d.jsx)("option",{value:"discord",children:"Discord Webhook"}),(0,d.jsx)("option",{value:"telegram",children:"Telegram Bot API"})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Throttle Interval (minutes)"}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"1440",value:K.alertMinIntervalMin,onChange:a=>t(b=>({...b,alertMinIntervalMin:a.target.value})),disabled:b||w})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Webhook URL"}),(0,d.jsx)(g.pd,{type:"password",placeholder:a?.alertWebhookUrlConfigured?"Leave blank to keep existing webhook URL":"https://discord.com/api/webhooks/...",value:u,onChange:a=>v(a.target.value),disabled:b||w})]}),"telegram"===K.alertWebhookType&&(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Telegram Chat ID"}),(0,d.jsx)(g.pd,{placeholder:"-1001234567890",value:K.alertTelegramChatId,onChange:a=>t(b=>({...b,alertTelegramChatId:a.target.value})),disabled:b||w})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row flex-wrap gap-2 pt-1",children:[(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:w,className:"w-full sm:w-auto",children:"Save Alert Settings"}),(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:y,disabled:b||w||!a?.alertWebhookUrlConfigured,onClick:U,className:"w-full sm:w-auto",children:"Send Test Alert"}),a?.alertWebhookUrlConfigured&&(0,d.jsx)(g.$n,{type:"button",variant:"outline",disabled:b||w,onClick:T,className:"w-full sm:w-auto",children:"Clear Webhook URL"})]})]}),A.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===A.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:A.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"hub"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Adaptive Routing & Circuit Breakers"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Score accounts by latency and health, and isolate failing circuits automatically."})]})]}),(0,d.jsx)(g.$n,{type:"button",variant:"secondary",size:"sm",onClick:M,disabled:b||E,children:"Refresh"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Shadow Mode"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Compute adaptive rankings and record telemetry without changing account selection."})]}),(0,d.jsx)(g.lM,{checked:a?.v11Flags?.adaptiveShadow===!0,onChange:()=>V("adaptiveShadow",a?.v11Flags?.adaptiveShadow!==!0),disabled:b||E})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Active Adaptive Routing"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use adaptive scoring and circuit-breaker probes for enabled providers."})]}),(0,d.jsx)(g.lM,{checked:a?.v11Flags?.adaptiveRoute===!0,onChange:()=>V("adaptiveRoute",a?.v11Flags?.adaptiveRoute!==!0),disabled:b||E})]}),a?.v11Flags?.adaptiveRoute===!0&&(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-xs sm:text-sm",children:"Apply to All Providers (*)"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Activate adaptive routing globally instead of opting in per provider below."})]}),(0,d.jsx)(g.lM,{checked:aa,onChange:()=>W("*",!aa),disabled:b||E})]}),!aa&&$.length>0&&(0,d.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,d.jsx)("p",{className:"text-xs font-medium text-text-muted",children:"Per-Provider Activation"}),(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:$.map(a=>{let c=_[a]?.adaptiveRoute===!0;return(0,d.jsx)("button",{type:"button",disabled:b||E,onClick:()=>W(a,!c),className:c?"px-2.5 py-1 rounded-md text-xs font-medium bg-cyan-500/15 text-cyan-600 dark:text-cyan-400 border border-cyan-500/40":"px-2.5 py-1 rounded-md text-xs font-medium bg-bg text-text-muted border border-border hover:text-text-main",children:a},a)})})]}),ac&&(0,d.jsx)("p",{className:"text-xs text-amber-600 dark:text-amber-400",children:'Adaptive routing is enabled globally, but no providers are opted in yet. Turn on "Apply to All Providers" or select specific providers above.'})]}),Z&&(0,d.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 pt-2 border-t border-border/50 text-xs sm:text-sm",children:[(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Decisions"}),(0,d.jsx)("p",{className:"font-semibold",children:Z.decisions??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Failovers"}),(0,d.jsx)("p",{className:"font-semibold",children:Z.failovers??0})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Open Circuits"}),(0,d.jsx)("p",{className:"font-semibold",children:Y.length})]}),(0,d.jsxs)("div",{className:"p-2 rounded-lg bg-bg border border-border",children:[(0,d.jsx)("p",{className:"text-text-muted",children:"Latency Profiles"}),(0,d.jsx)("p",{className:"font-semibold",children:C?.latencyProfiles?.length??0})]})]}),Y.length>0&&(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col gap-2",children:[(0,d.jsx)("p",{className:"text-xs font-medium text-text-muted uppercase tracking-wide",children:"Active Circuit Breakers"}),(0,d.jsx)("div",{className:"flex flex-col gap-1.5",children:Y.slice(0,8).map((a,b)=>(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 py-1.5 rounded-lg bg-bg border border-border text-xs",children:[(0,d.jsxs)("span",{className:"font-mono truncate",children:[a.scope,": ",a.provider||a.egressId||"global",a.accountId?` (${a.accountId.slice(0,8)})`:""]}),(0,d.jsx)("span",{className:"open"===a.state?"px-2 py-0.5 rounded bg-red-500/15 text-red-500 font-medium":"px-2 py-0.5 rounded bg-amber-500/15 text-amber-500 font-medium",children:a.state})]},`${a.scope}-${a.provider||""}-${a.accountId||""}-${b}`))})]}),G.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===G.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:G.message})]})]})]})}function r(){let a=(0,f.useRouter)(),{theme:b,setTheme:c,isDark:n}=(0,j.D)(),[o,p]=(0,e.useState)("en"),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)({fallbackStrategy:"fill-first"}),[z,A]=(0,e.useState)(!0),[B,C]=(0,e.useState)({current:"",new:"",confirm:""}),[D,E]=(0,e.useState)({type:"",message:""}),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)(!1),[J,K]=(0,e.useState)({type:"",message:""}),[L,M]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[N,O]=(0,e.useState)(""),[P,Q]=(0,e.useState)({type:"",message:""}),[R,S]=(0,e.useState)(!1),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)({type:"",message:""}),[X,Y]=(0,e.useState)("/api/auth/oidc/callback"),[Z,$]=(0,e.useState)(!1),[_,aa]=(0,e.useState)({samlEntryPoint:"",samlIssuer:"urn:zevairouter:sp",samlLoginLabel:"Sign in with SAML SSO",samlAttributeEmail:"email",samlAttributeName:"name"}),[ab,ac]=(0,e.useState)(""),[ad,ae]=(0,e.useState)({type:"",message:""}),[af,ag]=(0,e.useState)(!1),[ah,ai]=(0,e.useState)(!1),[aj,ak]=(0,e.useState)({type:"",message:""}),[al,am]=(0,e.useState)("/api/auth/saml/acs"),[an,ao]=(0,e.useState)("/api/auth/saml/metadata"),[ap,aq]=(0,e.useState)(!1),[ar,as]=(0,e.useState)("oidc"),at=(0,e.useRef)(null),[au,av]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[aw,ax]=(0,e.useState)({type:"",message:""}),[ay,az]=(0,e.useState)(!1),[aA,aB]=(0,e.useState)(!1),aC=async a=>{if(a.preventDefault(),!0===x.outboundProxyEnabled){az(!0),ax({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:au.outboundProxyUrl,outboundNoProxy:au.outboundNoProxy})}),b=await a.json();a.ok?(y(a=>({...a,...b})),ax({type:"success",message:"Proxy settings applied"})):ax({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){ax({type:"error",message:"An error occurred"})}finally{az(!1)}}},aD=async()=>{if(!0!==x.outboundProxyEnabled)return;let a=(au.outboundProxyUrl||"").trim();if(!a)return void ax({type:"error",message:"Please enter a Proxy URL to test"});aB(!0),ax({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?ax({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):ax({type:"error",message:c?.error||"Proxy test failed"})}catch(a){ax({type:"error",message:"An error occurred"})}finally{aB(!1)}},aE=async a=>{az(!0),ax({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(y(a=>({...a,...c})),av(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),ax({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):ax({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){ax({type:"error",message:"An error occurred"})}finally{az(!1)}},aF=async a=>{if(a.preventDefault(),B.new!==B.confirm)return void E({type:"error",message:"Passwords do not match"});G(!0),E({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:B.current,newPassword:B.new})}),b=await a.json();a.ok?(E({type:"success",message:"Password updated successfully"}),C({current:"",new:"",confirm:""})):E({type:"error",message:b.error||"Failed to update password"})}catch(a){E({type:"error",message:"An error occurred"})}finally{G(!1)}},aG=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&y(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},aH=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&y(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},aI=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&y(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},aJ=async a=>{let b=parseInt(a);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&y(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},aK=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&y(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},aL=(a,b)=>{M(c=>({...c,[a]:b}))},aM=async(a=L.authMode||"password")=>{let b=L.oidcIssuerUrl.trim(),c=L.oidcClientId.trim(),d=L.oidcScopes.trim(),e=L.oidcLoginLabel.trim(),f=N.trim();if("password"!==a&&(!b||!c||!f)&&!x.oidcConfigured)return void Q({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});S(!0),Q({type:"",message:""}),W({type:"",message:""});try{let g={authMode:a,oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(y(a=>({...a,...i})),M({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),O(""),Q({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):Q({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){Q({type:"error",message:"An error occurred"})}finally{S(!1)}},aN=async()=>{let a=L.oidcIssuerUrl.trim(),b=L.oidcClientId.trim(),c=L.oidcScopes.trim(),d=N.trim();if(!a||!b)return void W({type:"error",message:"Issuer URL and client ID are required to test the connection."});U(!0),Q({type:"",message:""}),W({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:L.authMode||x.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:L.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void W({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;W({type:"success",message:a})}else W({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){W({type:"error",message:"An error occurred"})}finally{U(!1)}},aO=(a,b)=>{aa(c=>({...c,[a]:b}))},aP=async a=>{if(a)try{let b=await a.text(),c=b.match(/<[^>]*SingleSignOnService[^>]*Binding="[^"]*HTTP-Redirect"[^>]*Location="([^"]+)"/i)||b.match(/<[^>]*SingleSignOnService[^>]*Location="([^"]+)"[^>]*Binding="[^"]*HTTP-Redirect"/i)||b.match(/<[^>]*SingleSignOnService[^>]*Location="([^"]+)"/i),d=b.match(/<[^>]*X509Certificate[^>]*>([\s\S]*?)<\/[^>]*X509Certificate>/i);c&&aO("samlEntryPoint",c[1].trim()),d&&ac(d[1].replace(/\s+/g,"").trim()),ae({type:c||d?"success":"error",message:c||d?"Metadata parsed. Review the entry point and certificate, then save.":"Could not find SSO URL or certificate in the uploaded metadata."})}catch{ae({type:"error",message:"Failed to read the metadata file."})}},aQ=async a=>{if(a)try{ac((await a.text()).trim()),ae({type:"success",message:"Certificate loaded. Save to apply."})}catch{ae({type:"error",message:"Failed to read the certificate file."})}},aR=async a=>{let b=_.samlEntryPoint.trim(),c=ab.trim(),d=a||x.authMode||"password";if("password"!==d&&(!b||!c)&&!x.samlConfigured)return void ae({type:"error",message:"IdP SSO URL and certificate are required to enable SAML."});ag(!0),ae({type:"",message:""}),ak({type:"",message:""});try{let a={authMode:d,ssoType:"saml",samlEntryPoint:b,samlIssuer:_.samlIssuer.trim()||"urn:zevairouter:sp",samlLoginLabel:_.samlLoginLabel.trim()||"Sign in with SAML SSO",samlAttributeEmail:_.samlAttributeEmail.trim()||"email",samlAttributeName:_.samlAttributeName.trim()||"name",samlCert:c},e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),f=await e.json();e.ok?(y(a=>({...a,...f})),as("saml"),ae({type:"success",message:"saml"===d?"SAML login enabled":"both"===d?"Password and SAML login enabled":"SAML settings saved"})):ae({type:"error",message:f.error||"Failed to save SAML settings"})}catch{ae({type:"error",message:"An error occurred"})}finally{ag(!1)}},aS=async()=>{ai(!0),ae({type:"",message:""}),ak({type:"",message:""});try{let a=await fetch("/api/auth/saml/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({samlEntryPoint:_.samlEntryPoint.trim(),samlIssuer:_.samlIssuer.trim()||"urn:zevairouter:sp",samlCert:ab.trim()})}),b=await a.json().catch(()=>({}));a.ok&&b?.ok?ak({type:"success",message:b.message||"SAML configuration looks valid."}):ak({type:"error",message:b.error||"SAML config test failed"})}catch{ak({type:"error",message:"An error occurred"})}finally{ai(!1)}},aT=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&y(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},aU=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();y(b)}catch(a){console.error("Failed to reload settings:",a)}},aV=async()=>{I(!0),K({type:"",message:""});try{let a=await fetch("/api/settings/database");if(!a.ok){let b=await a.json().catch(()=>({}));throw Error(b.error||"Failed to export database")}let b=await a.json(),c=JSON.stringify(b),d=new Blob([c],{type:"application/json"}),e=URL.createObjectURL(d),f=document.createElement("a"),g=new Date().toISOString().replace(/[.:]/g,"-");f.href=e,f.download=`zevairouter-backup-${g}.json`,document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(e);let h=(d.size/1048576).toFixed(2),i=Array.isArray(b?.excludedTables)&&b.excludedTables.length?` (config only — skipped ${b.excludedTables.join(", ")})`:"";K({type:"success",message:`Database backup downloaded (${h} MB)${i}`})}catch(a){K({type:"error",message:a.message||"Failed to export database"})}finally{I(!1)}},aW=async a=>{let b=a.target.files?.[0];if(b){I(!0),K({type:"",message:""});try{let a=await b.text(),c=JSON.parse(a),d=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e.error||"Failed to import database");await aU(),K({type:"success",message:"Database imported successfully"})}catch(a){K({type:"error",message:a.message||"Invalid backup file"})}finally{at.current&&(at.current.value=""),I(!1)}}},aX=!0===x.enableObservability,aY=async()=>{w(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}w(!1),u(!1)},aZ=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(a.push("/login"),a.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>c(a),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",b===a?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===a?"light_mode":"dark"===a?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.zevai/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:aV,loading:H,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>at.current?.click(),disabled:H,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)("input",{ref:at,type:"file",accept:"application/json,.json",className:"hidden",onChange:aW})]}),J.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===J.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:J.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Language"})]}),(0,d.jsxs)("button",{onClick:()=>s(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Display language"}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[o]||"\uD83C\uDF10"})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Security"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Require login"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"When ON, dashboard requires password. When OFF, access without login."})]}),(0,d.jsx)(g.lM,{checked:!0===x.requireLogin,onChange:()=>aK(!x.requireLogin),disabled:z})]}),!0===x.requireLogin&&(0,d.jsxs)("form",{onSubmit:aF,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[x.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:B.current,onChange:a=>C({...B,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:B.new,onChange:a=>C({...B,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:B.confirm,onChange:a=>C({...B,confirm:a.target.value}),required:!0})]})]}),D.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===D.type?"text-red-500":"text-green-500"}`,children:D.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:F,className:"w-full sm:w-auto",children:x.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>$(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"OIDC Dashboard Login"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"oidc"===x.authMode?"OIDC active":"both"===x.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:Z?"expand_less":"expand_more"})]}),Z&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use Authentik or any OIDC provider to sign in to the dashboard. You can enable password-only, OIDC-only, or both for the dashboard; model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"oidc",title:"OIDC only",desc:"Require OIDC for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or OIDC."}].map(a=>{let b=L.authMode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>aL("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:z||R,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/zevairouter/",value:L.oidcIssuerUrl,onChange:a=>aL("oidcIssuerUrl",a.target.value),disabled:z||R})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(g.pd,{placeholder:"zevairouter-dashboard",value:L.oidcClientId,onChange:a=>aL("oidcClientId",a.target.value),disabled:z||R})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:N,onChange:a=>O(a.target.value),disabled:z||R}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(g.pd,{placeholder:"openid profile email",value:L.oidcScopes,onChange:a=>aL("oidcScopes",a.target.value),disabled:z||R})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:L.oidcLoginLabel,onChange:a=>aL("oidcLoginLabel",a.target.value),disabled:z||R})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:X})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:R,onClick:()=>aM(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:T,onClick:aN,className:"w-full sm:w-auto",children:"Test connection"})]}),V.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===V.type?"text-red-500":"text-green-500"}`,children:V.message}),P.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===P.type?"text-red-500":"text-green-500"}`,children:P.message}),"oidc"===x.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"OIDC login is currently active. Password login is disabled until you switch back."}),"both"===x.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"Password and OIDC login are both active."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aq(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-emerald-500/10 text-emerald-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"badge"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"SAML 2.0 SSO"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"saml"===ar&&x.samlConfigured?"saml"===x.authMode?"SAML active":"both"===x.authMode?"Password + SAML active":"SAML configured":"Optional SSO via Okta / Entra ID / OneLogin / ADFS"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:ap?"expand_less":"expand_more"})]}),ap&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use any SAML 2.0 identity provider to sign in to the dashboard. OIDC and SAML are mutually exclusive SSO types; saving here sets the SSO type to SAML. Model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"saml",title:"SAML only",desc:"Require SAML for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or SAML."}].map(a=>{let b=(x.authMode||"password")===a.value&&("password"===a.value||"saml"===ar);return(0,d.jsxs)("button",{type:"button",onClick:()=>aR(a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:z||af,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"IdP SSO URL (Entry Point)"}),(0,d.jsx)(g.pd,{placeholder:"https://idp.example.com/app/xxxx/sso/saml",value:_.samlEntryPoint,onChange:a=>aO("samlEntryPoint",a.target.value),disabled:z||af})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"IdP X.509 Certificate"}),(0,d.jsx)("textarea",{className:"w-full rounded-lg border border-border bg-bg p-2 font-mono text-xs min-h-[96px]",placeholder:"Paste the IdP signing certificate (PEM or base64), or upload below",value:ab,onChange:a=>ac(a.target.value),disabled:z||af}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsxs)("label",{className:"text-xs sm:text-sm text-primary cursor-pointer",children:["Upload IdP metadata XML",(0,d.jsx)("input",{type:"file",accept:".xml,text/xml,application/xml",className:"hidden",onChange:a=>aP(a.target.files?.[0])})]}),(0,d.jsxs)("label",{className:"text-xs sm:text-sm text-primary cursor-pointer",children:["Upload certificate (.pem/.crt)",(0,d.jsx)("input",{type:"file",accept:".pem,.crt,.cer,.txt",className:"hidden",onChange:a=>aQ(a.target.files?.[0])})]})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"SP Entity ID (Issuer)"}),(0,d.jsx)(g.pd,{placeholder:"urn:zevairouter:sp",value:_.samlIssuer,onChange:a=>aO("samlIssuer",a.target.value),disabled:z||af})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Email Attribute"}),(0,d.jsx)(g.pd,{placeholder:"email",value:_.samlAttributeEmail,onChange:a=>aO("samlAttributeEmail",a.target.value),disabled:z||af})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Name Attribute"}),(0,d.jsx)(g.pd,{placeholder:"name",value:_.samlAttributeName,onChange:a=>aO("samlAttributeName",a.target.value),disabled:z||af})]})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with SAML SSO",value:_.samlLoginLabel,onChange:a=>aO("samlLoginLabel",a.target.value),disabled:z||af})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Register these with your IdP"}),(0,d.jsx)("p",{className:"mt-1",children:"ACS (Reply) URL"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:al}),(0,d.jsx)("p",{className:"mt-2",children:"SP Metadata URL"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:an})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:af,onClick:()=>aR("password"!==x.authMode&&x.authMode?x.authMode:"saml"),className:"w-full sm:w-auto",children:"Save SAML settings"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:ah,onClick:aS,className:"w-full sm:w-auto",children:"Test configuration"})]}),aj.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aj.type?"text-red-500":"text-green-500"}`,children:aj.message}),ad.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ad.type?"text-red-500":"text-green-500"}`,children:ad.message}),"saml"===x.authMode&&"saml"===ar&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"SAML login is currently active. Password login is disabled until you switch back."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through accounts to distribute load"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===x.fallbackStrategy,onChange:()=>aG("round-robin"===x.fallbackStrategy?"fill-first":"round-robin"),disabled:z})]}),"round-robin"===x.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"10",value:x.stickyRoundRobinLimit||3,onChange:a=>aI(a.target.value),disabled:z,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===x.comboStrategy,onChange:()=>aH("round-robin"===x.comboStrategy?"fallback":"round-robin"),disabled:z})]}),"round-robin"===x.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"100",value:x.comboStickyRoundRobinLimit||1,onChange:a=>aJ(a.target.value),disabled:z,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===x.fallbackStrategy?`Currently distributing requests across all available accounts with ${x.stickyRoundRobinLimit||3} calls per account.`:"Currently using accounts in priority order (Fill First).","round-robin"===x.comboStrategy?` Combos rotate after ${x.comboStickyRoundRobinLimit||1} call${1===(x.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Network"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(g.lM,{checked:!0===x.outboundProxyEnabled,onChange:()=>aE(!0!==x.outboundProxyEnabled),disabled:z||ay})]}),!0===x.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:aC,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:au.outboundProxyUrl,onChange:a=>av(b=>({...b,outboundProxyUrl:a.target.value})),disabled:z||ay}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:au.outboundNoProxy,onChange:a=>av(b=>({...b,outboundNoProxy:a.target.value})),disabled:z||ay}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:aA,disabled:z||ay,onClick:aD,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:ay,className:"w-full sm:w-auto",children:"Apply"})]})]}),aw.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===aw.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:aw.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Observability"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(g.lM,{checked:aX,onChange:aT,disabled:z})]})]}),(0,d.jsx)(q,{settings:x,loading:z,onSettingsUpdated:a=>y(b=>({...b,...a}))}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>u(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:aZ,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(i.default,{hideTrigger:!0,isOpen:r,onClose:a=>{s(!1),p(a)}}),(0,d.jsx)(h.ConfirmModal,{isOpen:t,onClose:()=>u(!1),onConfirm:aY,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:v})]})}q.propTypes={settings:o().object,loading:o().bool,onSettingsUpdated:o().func}},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},37830:a=>{"use strict";a.exports=require("node:stream/web")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/zevairouter-build/src/app/(dashboard)/dashboard/profile/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/zevairouter-build/src/app/(dashboard)/dashboard/profile/page.js","default")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76660:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,7774,2430,940,2760,5905,4452,4686,4549,7973,24,5024,9548,7404,5986,267,412,2228],()=>b(b.s=23612));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/fast-jwt/index.js","../../../../../../node_modules/next/dist/compiled/fast-jwt/package.json","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1004.js","../../../../chunks/1019.js","../../../../chunks/1257.js","../../../../chunks/1283.js","../../../../chunks/1350.js","../../../../chunks/1509.js","../../../../chunks/1531.js","../../../../chunks/1605.js","../../../../chunks/1757.js","../../../../chunks/1813.js","../../../../chunks/1852.js","../../../../chunks/192.js","../../../../chunks/1998.js","../../../../chunks/2007.js","../../../../chunks/2025.js","../../../../chunks/2060.js","../../../../chunks/2126.js","../../../../chunks/2228.js","../../../../chunks/2231.js","../../../../chunks/2256.js","../../../../chunks/2301.js","../../../../chunks/24.js","../../../../chunks/2409.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2442.js","../../../../chunks/2478.js","../../../../chunks/2578.js","../../../../chunks/2606.js","../../../../chunks/2650.js","../../../../chunks/267.js","../../../../chunks/2693.js","../../../../chunks/2760.js","../../../../chunks/280.js","../../../../chunks/281.js","../../../../chunks/2918.js","../../../../chunks/2970.js","../../../../chunks/2990.js","../../../../chunks/3016.js","../../../../chunks/3092.js","../../../../chunks/3204.js","../../../../chunks/3285.js","../../../../chunks/3294.js","../../../../chunks/3331.js","../../../../chunks/3373.js","../../../../chunks/3487.js","../../../../chunks/3593.js","../../../../chunks/3675.js","../../../../chunks/3721.js","../../../../chunks/3759.js","../../../../chunks/3792.js","../../../../chunks/3815.js","../../../../chunks/3926.js","../../../../chunks/3966.js","../../../../chunks/40.js","../../../../chunks/4013.js","../../../../chunks/4073.js","../../../../chunks/412.js","../../../../chunks/4136.js","../../../../chunks/4177.js","../../../../chunks/421.js","../../../../chunks/4229.js","../../../../chunks/4236.js","../../../../chunks/4253.js","../../../../chunks/4294.js","../../../../chunks/4306.js","../../../../chunks/4322.js","../../../../chunks/437.js","../../../../chunks/4452.js","../../../../chunks/4549.js","../../../../chunks/4631.js","../../../../chunks/4645.js","../../../../chunks/4650.js","../../../../chunks/4686.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4780.js","../../../../chunks/4790.js","../../../../chunks/4803.js","../../../../chunks/4882.js","../../../../chunks/5000.js","../../../../chunks/5019.js","../../../../chunks/5024.js","../../../../chunks/507.js","../../../../chunks/5236.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/5377.js","../../../../chunks/5433.js","../../../../chunks/5434.js","../../../../chunks/5573.js","../../../../chunks/5626.js","../../../../chunks/5728.js","../../../../chunks/5744.js","../../../../chunks/5752.js","../../../../chunks/5754.js","../../../../chunks/5781.js","../../../../chunks/5799.js","../../../../chunks/5819.js","../../../../chunks/5905.js","../../../../chunks/5936.js","../../../../chunks/5949.js","../../../../chunks/6060.js","../../../../chunks/6103.js","../../../../chunks/6140.js","../../../../chunks/6143.js","../../../../chunks/6166.js","../../../../chunks/6182.js","../../../../chunks/6200.js","../../../../chunks/6252.js","../../../../chunks/627.js","../../../../chunks/6396.js","../../../../chunks/6476.js","../../../../chunks/6486.js","../../../../chunks/6492.js","../../../../chunks/6630.js","../../../../chunks/6652.js","../../../../chunks/6689.js","../../../../chunks/6802.js","../../../../chunks/6843.js","../../../../chunks/6844.js","../../../../chunks/6846.js","../../../../chunks/6935.js","../../../../chunks/6936.js","../../../../chunks/6951.js","../../../../chunks/698.js","../../../../chunks/7066.js","../../../../chunks/709.js","../../../../chunks/7135.js","../../../../chunks/7210.js","../../../../chunks/7250.js","../../../../chunks/7319.js","../../../../chunks/7337.js","../../../../chunks/7341.js","../../../../chunks/7364.js","../../../../chunks/7404.js","../../../../chunks/7464.js","../../../../chunks/751.js","../../../../chunks/7525.js","../../../../chunks/7557.js","../../../../chunks/7568.js","../../../../chunks/7573.js","../../../../chunks/7726.js","../../../../chunks/7774.js","../../../../chunks/7833.js","../../../../chunks/7875.js","../../../../chunks/7965.js","../../../../chunks/7973.js","../../../../chunks/7995.js","../../../../chunks/7997.js","../../../../chunks/8028.js","../../../../chunks/8062.js","../../../../chunks/8339.js","../../../../chunks/8421.js","../../../../chunks/8469.js","../../../../chunks/8517.js","../../../../chunks/8520.js","../../../../chunks/8641.js","../../../../chunks/8655.js","../../../../chunks/8725.js","../../../../chunks/8749.js","../../../../chunks/8971.js","../../../../chunks/9094.js","../../../../chunks/9188.js","../../../../chunks/9190.js","../../../../chunks/940.js","../../../../chunks/9415.js","../../../../chunks/9445.js","../../../../chunks/9489.js","../../../../chunks/9539.js","../../../../chunks/9548.js","../../../../chunks/9609.js","../../../../chunks/9613.js","../../../../chunks/9618.js","../../../../chunks/9679.js","../../../../chunks/9718.js","../../../../chunks/9946.js","../../../../chunks/static/media/server.b857786a.js","../../../../webpack-runtime.js","page_client-reference-manifest.js","../../../../../../src/lib/terminal/ptyBridge.py","../../../../../../open-sse/lib/deepseek-pow-worker.mjs","../../../../../../open-sse/lib/deepseek-pow-hash.js","../../../../../../cli/hooks/bunRuntime.js","../../../../../../cli/hooks/cloakbrowserRuntime.js","../../../../../../cli/hooks/postinstall.js","../../../../../../cli/hooks/pruneNativeBinaries.js","../../../../../../cli/hooks/safeGlobalInstall.js","../../../../../../cli/hooks/sqliteRuntime.js","../../../../../../cli/hooks/startupRuntime.js","../../../../../../cli/hooks/streamCommand.js","../../../../../../cli/hooks/trayRuntime.js","../../../../../../node_modules/open/index.d.ts","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/license","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/readme.md","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/sql.js/.devcontainer/devcontainer.json","../../../../../../node_modules/sql.js/.devcontainer/Dockerfile","../../../../../../node_modules/sql.js/.eslintrc.js","../../../../../../node_modules/sql.js/.jsdoc.config.json","../../../../../../node_modules/sql.js/.nojekyll","../../../../../../node_modules/sql.js/AUTHORS","../../../../../../node_modules/sql.js/CONTRIBUTING.md","../../../../../../node_modules/sql.js/dist/sql-asm-debug.js","../../../../../../node_modules/sql.js/dist/sql-asm-memory-growth.js","../../../../../../node_modules/sql.js/dist/sql-asm.js","../../../../../../node_modules/sql.js/dist/sql-wasm-browser-debug.js","../../../../../../node_modules/sql.js/dist/sql-wasm-browser-debug.wasm","../../../../../../node_modules/sql.js/dist/sql-wasm-browser.js","../../../../../../node_modules/sql.js/dist/sql-wasm-browser.wasm","../../../../../../node_modules/sql.js/dist/sql-wasm-debug.js","../../../../../../node_modules/sql.js/dist/sql-wasm-debug.wasm","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm","../../../../../../node_modules/sql.js/dist/worker.sql-asm-debug.js","../../../../../../node_modules/sql.js/dist/worker.sql-asm.js","../../../../../../node_modules/sql.js/dist/worker.sql-wasm-debug.js","../../../../../../node_modules/sql.js/dist/worker.sql-wasm.js","../../../../../../node_modules/sql.js/documentation_index.md","../../../../../../node_modules/sql.js/eslint.config.cjs","../../../../../../node_modules/sql.js/LICENSE","../../../../../../node_modules/sql.js/logo.svg","../../../../../../node_modules/sql.js/README.md"]}
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/fast-jwt/index.js","../../../../../../node_modules/next/dist/compiled/fast-jwt/package.json","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/segment-config/ensure-static.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/app-dir-module.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1004.js","../../../../chunks/1019.js","../../../../chunks/1047.js","../../../../chunks/1257.js","../../../../chunks/1283.js","../../../../chunks/1350.js","../../../../chunks/1509.js","../../../../chunks/1531.js","../../../../chunks/1757.js","../../../../chunks/1813.js","../../../../chunks/1852.js","../../../../chunks/192.js","../../../../chunks/1998.js","../../../../chunks/2007.js","../../../../chunks/2025.js","../../../../chunks/2060.js","../../../../chunks/2126.js","../../../../chunks/2228.js","../../../../chunks/2231.js","../../../../chunks/2256.js","../../../../chunks/2301.js","../../../../chunks/2307.js","../../../../chunks/24.js","../../../../chunks/2409.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2442.js","../../../../chunks/2478.js","../../../../chunks/2557.js","../../../../chunks/2578.js","../../../../chunks/2606.js","../../../../chunks/2650.js","../../../../chunks/267.js","../../../../chunks/2693.js","../../../../chunks/2760.js","../../../../chunks/280.js","../../../../chunks/281.js","../../../../chunks/2918.js","../../../../chunks/2957.js","../../../../chunks/2970.js","../../../../chunks/2990.js","../../../../chunks/3016.js","../../../../chunks/3092.js","../../../../chunks/3184.js","../../../../chunks/3190.js","../../../../chunks/3285.js","../../../../chunks/3294.js","../../../../chunks/3331.js","../../../../chunks/3373.js","../../../../chunks/3487.js","../../../../chunks/3593.js","../../../../chunks/3675.js","../../../../chunks/3721.js","../../../../chunks/3759.js","../../../../chunks/3792.js","../../../../chunks/3815.js","../../../../chunks/3926.js","../../../../chunks/3966.js","../../../../chunks/40.js","../../../../chunks/4013.js","../../../../chunks/4073.js","../../../../chunks/412.js","../../../../chunks/4136.js","../../../../chunks/421.js","../../../../chunks/4229.js","../../../../chunks/4236.js","../../../../chunks/4253.js","../../../../chunks/4306.js","../../../../chunks/4322.js","../../../../chunks/437.js","../../../../chunks/4452.js","../../../../chunks/4549.js","../../../../chunks/4631.js","../../../../chunks/4645.js","../../../../chunks/4650.js","../../../../chunks/4686.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4754.js","../../../../chunks/4780.js","../../../../chunks/4790.js","../../../../chunks/4803.js","../../../../chunks/4882.js","../../../../chunks/5000.js","../../../../chunks/5019.js","../../../../chunks/5024.js","../../../../chunks/507.js","../../../../chunks/5236.js","../../../../chunks/5258.js","../../../../chunks/5330.js","../../../../chunks/5377.js","../../../../chunks/5433.js","../../../../chunks/5434.js","../../../../chunks/5573.js","../../../../chunks/5580.js","../../../../chunks/5744.js","../../../../chunks/5752.js","../../../../chunks/5754.js","../../../../chunks/5799.js","../../../../chunks/5905.js","../../../../chunks/5936.js","../../../../chunks/5949.js","../../../../chunks/5986.js","../../../../chunks/6060.js","../../../../chunks/6103.js","../../../../chunks/6140.js","../../../../chunks/6143.js","../../../../chunks/6182.js","../../../../chunks/6200.js","../../../../chunks/6252.js","../../../../chunks/627.js","../../../../chunks/6396.js","../../../../chunks/6476.js","../../../../chunks/6486.js","../../../../chunks/6492.js","../../../../chunks/6630.js","../../../../chunks/6652.js","../../../../chunks/6689.js","../../../../chunks/6802.js","../../../../chunks/6843.js","../../../../chunks/6844.js","../../../../chunks/6846.js","../../../../chunks/6935.js","../../../../chunks/6936.js","../../../../chunks/6951.js","../../../../chunks/698.js","../../../../chunks/7066.js","../../../../chunks/709.js","../../../../chunks/7135.js","../../../../chunks/7210.js","../../../../chunks/7250.js","../../../../chunks/7319.js","../../../../chunks/7337.js","../../../../chunks/7341.js","../../../../chunks/7404.js","../../../../chunks/7464.js","../../../../chunks/751.js","../../../../chunks/7525.js","../../../../chunks/7557.js","../../../../chunks/7568.js","../../../../chunks/7573.js","../../../../chunks/7726.js","../../../../chunks/7740.js","../../../../chunks/7774.js","../../../../chunks/7793.js","../../../../chunks/7833.js","../../../../chunks/7875.js","../../../../chunks/7965.js","../../../../chunks/7973.js","../../../../chunks/7995.js","../../../../chunks/7997.js","../../../../chunks/8028.js","../../../../chunks/8062.js","../../../../chunks/8238.js","../../../../chunks/8339.js","../../../../chunks/8421.js","../../../../chunks/8469.js","../../../../chunks/8517.js","../../../../chunks/8520.js","../../../../chunks/8641.js","../../../../chunks/8655.js","../../../../chunks/8725.js","../../../../chunks/8749.js","../../../../chunks/8971.js","../../../../chunks/9094.js","../../../../chunks/9190.js","../../../../chunks/940.js","../../../../chunks/9413.js","../../../../chunks/9415.js","../../../../chunks/9445.js","../../../../chunks/9539.js","../../../../chunks/9548.js","../../../../chunks/9609.js","../../../../chunks/9613.js","../../../../chunks/9618.js","../../../../chunks/9679.js","../../../../chunks/9718.js","../../../../chunks/static/media/server.b857786a.js","../../../../webpack-runtime.js","page_client-reference-manifest.js","../../../../../../src/lib/terminal/ptyBridge.py","../../../../../../open-sse/lib/deepseek-pow-worker.mjs","../../../../../../open-sse/lib/deepseek-pow-hash.js","../../../../../../cli/hooks/bunRuntime.js","../../../../../../cli/hooks/cloakbrowserRuntime.js","../../../../../../cli/hooks/postinstall.js","../../../../../../cli/hooks/pruneNativeBinaries.js","../../../../../../cli/hooks/safeGlobalInstall.js","../../../../../../cli/hooks/sqliteRuntime.js","../../../../../../cli/hooks/startupRuntime.js","../../../../../../cli/hooks/streamCommand.js","../../../../../../cli/hooks/trayRuntime.js","../../../../../../node_modules/open/index.d.ts","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/license","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/readme.md","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/sql.js/.devcontainer/devcontainer.json","../../../../../../node_modules/sql.js/.devcontainer/Dockerfile","../../../../../../node_modules/sql.js/.eslintrc.js","../../../../../../node_modules/sql.js/.jsdoc.config.json","../../../../../../node_modules/sql.js/.nojekyll","../../../../../../node_modules/sql.js/AUTHORS","../../../../../../node_modules/sql.js/CONTRIBUTING.md","../../../../../../node_modules/sql.js/dist/sql-asm-debug.js","../../../../../../node_modules/sql.js/dist/sql-asm-memory-growth.js","../../../../../../node_modules/sql.js/dist/sql-asm.js","../../../../../../node_modules/sql.js/dist/sql-wasm-browser-debug.js","../../../../../../node_modules/sql.js/dist/sql-wasm-browser-debug.wasm","../../../../../../node_modules/sql.js/dist/sql-wasm-browser.js","../../../../../../node_modules/sql.js/dist/sql-wasm-browser.wasm","../../../../../../node_modules/sql.js/dist/sql-wasm-debug.js","../../../../../../node_modules/sql.js/dist/sql-wasm-debug.wasm","../../../../../../node_modules/sql.js/dist/sql-wasm.wasm","../../../../../../node_modules/sql.js/dist/worker.sql-asm-debug.js","../../../../../../node_modules/sql.js/dist/worker.sql-asm.js","../../../../../../node_modules/sql.js/dist/worker.sql-wasm-debug.js","../../../../../../node_modules/sql.js/dist/worker.sql-wasm.js","../../../../../../node_modules/sql.js/documentation_index.md","../../../../../../node_modules/sql.js/eslint.config.cjs","../../../../../../node_modules/sql.js/LICENSE","../../../../../../node_modules/sql.js/logo.svg","../../../../../../node_modules/sql.js/README.md"]}
|