vansrouter 0.5.12 → 0.7.6
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/README.md +23 -23
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +15 -14
- package/app/.next-cli-build/build-manifest.json +4 -4
- package/app/.next-cli-build/prerender-manifest.json +27 -3
- package/app/.next-cli-build/react-loadable-manifest.json +99 -0
- package/app/.next-cli-build/required-server-files.json +13 -5
- package/app/.next-cli-build/routes-manifest.json +16 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +5 -5
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +6 -6
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +4 -4
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +20 -19
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +20 -19
- package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/api/auth/check/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/check/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +4 -2
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/[id]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +2 -2
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +24 -23
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +23 -22
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +23 -22
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +23 -22
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +23 -22
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.meta +17 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +26 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +7 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +26 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +10 -0
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +26 -25
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/landing/page.js +2 -2
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +24 -23
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login/page.js +2 -2
- package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +24 -23
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +24 -23
- package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +9 -8
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +1 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/masuk/page.js +2 -2
- package/app/.next-cli-build/server/app/masuk/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/masuk/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +15 -14
- package/app/.next-cli-build/server/chunks/1099.js +1 -1
- package/app/.next-cli-build/server/chunks/1248.js +1 -0
- package/app/.next-cli-build/server/chunks/1253.js +1 -1
- package/app/.next-cli-build/server/chunks/127.js +1 -0
- package/app/.next-cli-build/server/chunks/1500.js +1 -1
- package/app/.next-cli-build/server/chunks/1536.js +1 -0
- package/app/.next-cli-build/server/chunks/1613.js +1 -1
- package/app/.next-cli-build/server/chunks/1688.js +1 -1
- package/app/.next-cli-build/server/chunks/2262.js +3 -0
- package/app/.next-cli-build/server/chunks/2365.js +1 -1
- package/app/.next-cli-build/server/chunks/2504.js +1 -0
- package/app/.next-cli-build/server/chunks/2554.js +23 -0
- package/app/.next-cli-build/server/chunks/2557.js +6 -6
- package/app/.next-cli-build/server/chunks/259.js +1 -0
- package/app/.next-cli-build/server/chunks/2884.js +1 -0
- package/app/.next-cli-build/server/chunks/3040.js +2 -2
- package/app/.next-cli-build/server/chunks/3133.js +1 -0
- package/app/.next-cli-build/server/chunks/3176.js +3 -3
- package/app/.next-cli-build/server/chunks/3405.js +1 -1
- package/app/.next-cli-build/server/chunks/3424.js +1 -0
- package/app/.next-cli-build/server/chunks/3652.js +1 -1
- package/app/.next-cli-build/server/chunks/3738.js +1 -0
- package/app/.next-cli-build/server/chunks/3787.js +1 -0
- package/app/.next-cli-build/server/chunks/383.js +1 -1
- package/app/.next-cli-build/server/chunks/4004.js +1 -1
- package/app/.next-cli-build/server/chunks/4029.js +7 -0
- package/app/.next-cli-build/server/chunks/403.js +1 -0
- package/app/.next-cli-build/server/chunks/4105.js +2 -2
- package/app/.next-cli-build/server/chunks/4327.js +1 -1
- package/app/.next-cli-build/server/chunks/4418.js +4 -4
- package/app/.next-cli-build/server/chunks/4486.js +1 -1
- package/app/.next-cli-build/server/chunks/4539.js +1 -1
- package/app/.next-cli-build/server/chunks/4544.js +1 -0
- package/app/.next-cli-build/server/chunks/4574.js +13 -13
- package/app/.next-cli-build/server/chunks/5006.js +2 -2
- package/app/.next-cli-build/server/chunks/5204.js +4 -4
- package/app/.next-cli-build/server/chunks/5290.js +1 -0
- package/app/.next-cli-build/server/chunks/5472.js +11 -0
- package/app/.next-cli-build/server/chunks/5577.js +1 -1
- package/app/.next-cli-build/server/chunks/5598.js +1 -1
- package/app/.next-cli-build/server/chunks/5867.js +1 -0
- package/app/.next-cli-build/server/chunks/6085.js +1 -1
- package/app/.next-cli-build/server/chunks/6120.js +1 -0
- package/app/.next-cli-build/server/chunks/6159.js +1 -0
- package/app/.next-cli-build/server/chunks/6165.js +1 -1
- package/app/.next-cli-build/server/chunks/6333.js +1 -1
- package/app/.next-cli-build/server/chunks/6723.js +1 -1
- package/app/.next-cli-build/server/chunks/6955.js +1 -1
- package/app/.next-cli-build/server/chunks/6975.js +1 -1
- package/app/.next-cli-build/server/chunks/7006.js +1 -1
- package/app/.next-cli-build/server/chunks/715.js +1 -1
- package/app/.next-cli-build/server/chunks/7502.js +1 -0
- package/app/.next-cli-build/server/chunks/7916.js +1 -1
- package/app/.next-cli-build/server/chunks/7938.js +1 -1
- package/app/.next-cli-build/server/chunks/818.js +1 -1
- package/app/.next-cli-build/server/chunks/8524.js +1 -0
- package/app/.next-cli-build/server/chunks/8685.js +1 -1
- package/app/.next-cli-build/server/chunks/8691.js +1 -1
- package/app/.next-cli-build/server/chunks/8711.js +1 -1
- package/app/.next-cli-build/server/chunks/88.js +1 -0
- package/app/.next-cli-build/server/chunks/883.js +1 -0
- package/app/.next-cli-build/server/chunks/8941.js +1 -0
- package/app/.next-cli-build/server/chunks/9614.js +7 -0
- package/app/.next-cli-build/server/chunks/9633.js +10 -2
- package/app/.next-cli-build/server/chunks/9984.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +4 -4
- package/app/.next-cli-build/server/next-font-manifest.js +1 -1
- package/app/.next-cli-build/server/next-font-manifest.json +1 -1
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/app/.next-cli-build/static/chunks/1049.3def0dd7804a4e6e.js +7 -0
- package/app/.next-cli-build/static/chunks/1409.b9b9883529318ba4.js +1 -0
- package/app/.next-cli-build/static/chunks/1567.a91d2debb1187f20.js +1 -0
- package/app/.next-cli-build/static/chunks/2884.39a847a6de39184f.js +1 -0
- package/app/.next-cli-build/static/chunks/3124.46a9db1d92ccc4c2.js +1 -0
- package/app/.next-cli-build/static/chunks/3245.d0758b9d4b1b5e8c.js +1 -0
- package/app/.next-cli-build/static/chunks/3257.24031050423940b5.js +1 -0
- package/app/.next-cli-build/static/chunks/3386.1d120faabbf9d807.js +1 -0
- package/app/.next-cli-build/static/chunks/3657.648ef7012a4a028b.js +1 -0
- package/app/.next-cli-build/static/chunks/{3700-5fd5ab79e1a2d076.js → 3700-507d735bbeafc1f1.js} +3 -3
- package/app/.next-cli-build/static/chunks/406.11a045def1d3b77b.js +1 -0
- package/app/.next-cli-build/static/chunks/4385-7bad7f9144a8bd2d.js +1 -0
- package/app/.next-cli-build/static/chunks/497-e70e37c356d2ad24.js +1 -0
- package/app/.next-cli-build/static/chunks/5316-fff7784e40086b07.js +31 -0
- package/app/.next-cli-build/static/chunks/5560.1044547418430d16.js +1 -0
- package/app/.next-cli-build/static/chunks/5737-b48f5e3f71caff94.js +1 -0
- package/app/.next-cli-build/static/chunks/{1884-b4477b727e9f760d.js → 6000-87aaca633cd687c1.js} +1 -1
- package/app/.next-cli-build/static/chunks/6474.3878f14b16c23d75.js +1 -0
- package/app/.next-cli-build/static/chunks/6909.bd99d4bad9fa33f9.js +1 -0
- package/app/.next-cli-build/static/chunks/7236-5d192cf1373fb7b7.js +1 -0
- package/app/.next-cli-build/static/chunks/9078.7b8723a1eed306a9.js +7 -0
- package/app/.next-cli-build/static/chunks/9131-3c6e59ad900d9f87.js +3 -0
- package/app/.next-cli-build/static/chunks/9146.71dafc04b1c0ad03.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-25f7aa2d037ababf.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-940078f88ad45eab.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-d76282f0fd492509.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-1e2f7ebf38beef11.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-cb3b772ef6881374.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-58a182f8d9939f66.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-33b2a2889f8a6c95.js +59 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-bbef1a0c34a9ee9e.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/page-a10e1f3c70f5ab7f.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-6aa26f4fba64b6d2.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-1d917685f3312fc6.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-b101a596fe25ee31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-7dae224f46195dd1.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-8af6425bd1f2dff0.js +10 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-dfc0a71f960d84d9.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-bb2e059c3f3dc49d.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-ba7f8f70c115bd1b.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-24d2ff6ef38b5076.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-b45041d3d952bc5f.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-ab94afac28af93d9.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-d97075035c70eff5.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-f1d9bf293afc3684.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/{error-e13acf917212088c.js → error-86fe20e969c25afa.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-0e565003b0b585f1.js +1 -0
- package/app/.next-cli-build/static/chunks/app/_not-found/{page-895b0be60b8b4398.js → page-be7cfd009d9fbd4f.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/callback/page-39e20bde55beaa9f.js +1 -0
- package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-dacae19b0574d92a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/error-0c909c404411db68.js +1 -0
- package/app/.next-cli-build/static/chunks/app/{global-error-f79b3222f66a4d7d.js → global-error-003ccabaecca03c8.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/landing/page-29ecb0d5c302e58c.js +1 -0
- package/app/.next-cli-build/static/chunks/app/layout-b163b1ebf7b2b559.js +1 -0
- package/app/.next-cli-build/static/chunks/app/login/page-b3a411e5e3d409d6.js +1 -0
- package/app/.next-cli-build/static/chunks/app/masuk/page-7b5993b71be815c4.js +1 -0
- package/app/.next-cli-build/static/chunks/main-app-e420732cbed7b559.js +1 -0
- package/app/.next-cli-build/static/chunks/webpack-709c19c4ca395e42.js +1 -0
- package/app/.next-cli-build/static/css/1fc10f069b479895.css +1 -0
- package/app/.next-cli-build/static/css/e8723a4485b3f4ec.css +1 -0
- package/app/.next-cli-build/static/hfSdoGhzBHU-MAopyKXHv/_buildManifest.js +1 -0
- package/app/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/app/package.json +7 -4
- package/app/server.js +1 -1
- package/package.json +2 -1
- package/src/cli/terminalUI.js +2 -2
- package/src/cli/tray/autostart.js +3 -3
- package/src/cli/tray/tray.js +4 -4
- package/app/.next-cli-build/server/chunks/1377.js +0 -11
- package/app/.next-cli-build/server/chunks/1798.js +0 -1
- package/app/.next-cli-build/server/chunks/185.js +0 -1
- package/app/.next-cli-build/server/chunks/3080.js +0 -1
- package/app/.next-cli-build/server/chunks/3411.js +0 -1
- package/app/.next-cli-build/server/chunks/381.js +0 -1
- package/app/.next-cli-build/server/chunks/390.js +0 -23
- package/app/.next-cli-build/server/chunks/4309.js +0 -1
- package/app/.next-cli-build/server/chunks/6131.js +0 -7
- package/app/.next-cli-build/server/chunks/7653.js +0 -1
- package/app/.next-cli-build/server/chunks/7940.js +0 -3
- package/app/.next-cli-build/static/VKvJAyxOs8Z4i-NlGV_fQ/_buildManifest.js +0 -1
- package/app/.next-cli-build/static/chunks/2585-8fd88706090c24f0.js +0 -7
- package/app/.next-cli-build/static/chunks/3347-d538c26a837eb5d9.js +0 -3
- package/app/.next-cli-build/static/chunks/3357-6bb78467d17f996d.js +0 -1
- package/app/.next-cli-build/static/chunks/4385-5ccf368da02ccc55.js +0 -1
- package/app/.next-cli-build/static/chunks/5316-cfaf927336e65a00.js +0 -31
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-e35edec4bd8b35f6.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-cc3a7f812ec6e2f6.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-00c86c08353d723d.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-570a07ca0addffec.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-a769b01825700eb9.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-6b0647c8bf2d45ef.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-14290d80e6f28738.js +0 -59
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-8249da575c86c499.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/page-178ec7f3df9fd35c.js +0 -4
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-19ea4b1b2cebd3b1.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-023f092008a4abff.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-9cb50b7d1d7ce028.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-ffe66fe35a77042a.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-5a1fb070ecbcfc1a.js +0 -10
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-5fbcf78a8c259144.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-1f4063d23a30b305.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-c61feb1af4dd493e.js +0 -4
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-563c8f44ac8e9c07.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-025c524015bdc48d.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-5dc6b360373ddeab.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-19c98be58beb7d43.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-b84d19383ba09e68.js +0 -1
- package/app/.next-cli-build/static/chunks/app/callback/page-cf6d6ef09f75eb67.js +0 -1
- package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-fc8c980648436523.js +0 -1
- package/app/.next-cli-build/static/chunks/app/error-b2bc6f017d2fe0ee.js +0 -1
- package/app/.next-cli-build/static/chunks/app/landing/page-285751bf75da17bc.js +0 -1
- package/app/.next-cli-build/static/chunks/app/layout-367acca0c0885646.js +0 -1
- package/app/.next-cli-build/static/chunks/app/login/page-501598f28ab7c5ba.js +0 -1
- package/app/.next-cli-build/static/chunks/app/masuk/page-9369035bb093aaed.js +0 -1
- package/app/.next-cli-build/static/chunks/main-app-85701dd8943d6a76.js +0 -1
- package/app/.next-cli-build/static/chunks/webpack-037b3c82a7f1309c.js +0 -1
- package/app/.next-cli-build/static/css/17ad4163408b1fa3.css +0 -1
- package/app/.next-cli-build/static/css/8f9ac5a7bd3a79e5.css +0 -1
- package/app/.next-cli-build/static/media/material-symbols-outlined.ec1fa111.woff2 +0 -0
- /package/app/.next-cli-build/static/{VKvJAyxOs8Z4i-NlGV_fQ → hfSdoGhzBHU-MAopyKXHv}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=4544,exports.ids=[4544],exports.modules={7989:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(66238);function e({text:a,children:b,position:c="top",color:f}){let g=f?"":"bg-gray-900";return(0,d.jsxs)("div",{className:"relative inline-flex group/tt",children:[b,(0,d.jsx)("div",{className:`pointer-events-none absolute ${{top:"bottom-full left-1/2 -translate-x-1/2 mb-1.5",bottom:"top-full left-1/2 -translate-x-1/2 mt-1.5",left:"right-full top-1/2 -translate-y-1/2 mr-1.5",right:"left-full top-1/2 -translate-y-1/2 ml-1.5"}[c]} z-50 w-max max-w-56 rounded px-2 py-1 text-[11px] leading-snug ${g} text-white opacity-0 group-hover/tt:opacity-100 transition-opacity duration-150 whitespace-normal`,style:f?{backgroundColor:f}:{},children:a})]})}},12613:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(66238),e=c(44690);let f={default:"bg-surface-2 text-text-muted",primary:"bg-brand-500/10 text-brand-600 dark:text-brand-300",success:"bg-green-500/10 text-green-600 dark:text-green-400",warning:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",error:"bg-red-500/10 text-red-600 dark:text-red-400",info:"bg-blue-500/10 text-blue-600 dark:text-blue-400"},g={sm:"px-2 py-0.5 text-[10px]",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1.5 text-sm"};function h({children:a,variant:b="default",size:c="md",dot:i=!1,icon:j,className:k}){return(0,d.jsxs)("span",{className:(0,e.cn)("inline-flex items-center gap-1.5 rounded-full font-semibold",f[b],g[c],k),children:[i&&(0,d.jsx)("span",{className:(0,e.cn)("size-1.5 rounded-full","success"===b&&"bg-green-500","warning"===b&&"bg-yellow-500","error"===b&&"bg-red-500","info"===b&&"bg-blue-500","primary"===b&&"bg-brand-500","default"===b&&"bg-gray-500")}),j&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:j}),a]})}},32433:(a,b,c)=>{c.d(b,{i:()=>f});var d=c(23654);let e=0,f=(0,d.v)((a,b)=>({notifications:[],addNotification:c=>{let d=++e,f={id:d,type:c.type||"info",message:c.message,title:c.title||null,duration:c.duration??5e3,dismissible:c.dismissible??!0,createdAt:Date.now()};return a(a=>({notifications:[...a.notifications,f]})),f.duration>0&&setTimeout(()=>b().removeNotification(d),f.duration),d},removeNotification:b=>{a(a=>({notifications:a.notifications.filter(a=>a.id!==b)}))},clearAll:()=>a({notifications:[]}),success:(a,c)=>b().addNotification({type:"success",message:a,title:c}),error:(a,c)=>b().addNotification({type:"error",message:a,title:c,duration:8e3}),warning:(a,c)=>b().addNotification({type:"warning",message:a,title:c}),info:(a,c)=>b().addNotification({type:"info",message:a,title:c})}))},32698:(a,b,c)=>{c.d(b,{Ay:()=>k,CardSkeleton:()=>j,EA:()=>i,WL:()=>h,y$:()=>g});var d=c(66238),e=c(44690);let f={sm:"size-4",md:"size-6",lg:"size-8",xl:"size-12"};function g({size:a="md",className:b}){return(0,d.jsx)("span",{className:(0,e.cn)("material-symbols-outlined animate-spin text-brand-500",f[a],b),children:"progress_activity"})}function h({message:a="Loading..."}){return(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-bg",children:[(0,d.jsx)(g,{size:"xl"}),(0,d.jsx)("p",{className:"mt-4 text-text-muted",children:a})]})}function i({className:a,...b}){return(0,d.jsx)("div",{className:(0,e.cn)("animate-pulse rounded-[10px] bg-surface-2",a),...b})}function j(){return(0,d.jsxs)("div",{className:"p-6 rounded-[14px] border border-border-subtle bg-surface shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsx)(i,{className:"h-4 w-24"}),(0,d.jsx)(i,{className:"size-10 rounded-[10px]"})]}),(0,d.jsx)(i,{className:"h-8 w-16 mb-2"}),(0,d.jsx)(i,{className:"h-3 w-20"})]})}function k({type:a="spinner",...b}){switch(a){case"page":return(0,d.jsx)(h,{...b});case"skeleton":return(0,d.jsx)(i,{...b});case"card":return(0,d.jsx)(j,{...b});default:return(0,d.jsx)(g,{...b})}}},34455:(a,b,c)=>{c.d(b,{A:()=>j,u:()=>k});var d=c(66238),e=c(71183),f=c(44690),g=c(93864),h=c(7989);let i={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl",full:"max-w-4xl"};function j({isOpen:a,onClose:b,title:c,children:g,footer:k,size:l="md",closeOnOverlay:m=!0,showTrafficLights:n=!0,className:o}){let p=i[l]||i.md;return((0,e.useRef)(b),a)?(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:m?b:void 0,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:(0,f.cn)("relative w-full bg-surface","border border-border-subtle","rounded-[14px] shadow-[var(--shadow-elev)]","fade-in",p,o),children:[(c||n)&&(0,d.jsxs)("div",{className:"flex items-center justify-between p-2 border-b border-border-subtle",children:[(0,d.jsxs)("div",{className:"flex items-center",children:[n&&(0,d.jsxs)("div",{className:"hidden md:flex items-center gap-2 mr-4 ml-2",children:[(0,d.jsx)(h.A,{text:"Close",position:"top",color:"#FF5F56",children:(0,d.jsx)("button",{type:"button",onClick:b,"aria-label":"Close",title:"Close",className:"w-4 h-4 rounded-full bg-[#FF5F56] hover:brightness-90 transition-all cursor-pointer flex items-center justify-center group/dot",children:(0,d.jsx)("span",{className:"text-[9px] font-bold text-white opacity-0 group-hover/dot:opacity-100 transition-opacity leading-none",children:"✕"})})}),(0,d.jsx)("div",{className:"w-4 h-4 rounded-full bg-[#3a3a3a]/20 dark:bg-white/15 cursor-not-allowed"}),(0,d.jsx)("div",{className:"w-4 h-4 rounded-full bg-[#3a3a3a]/20 dark:bg-white/15 cursor-not-allowed"})]}),c&&(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:c})]}),(0,d.jsx)("button",{type:"button",onClick:b,"aria-label":"Close",className:"md:hidden p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsx)("div",{className:"p-6 max-h-[calc(85vh-100px)] overflow-y-auto custom-scrollbar",children:g}),k&&(0,d.jsx)("div",{className:"flex items-center justify-end gap-3 p-6 border-t border-border-subtle",children:k})]})]}):null}function k({isOpen:a,onClose:b,onConfirm:c,title:e="Confirm",message:f,confirmText:h="Confirm",cancelText:i="Cancel",variant:l="danger",loading:m=!1}){return(0,d.jsx)(j,{isOpen:a,onClose:b,title:e,size:"sm",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.A,{variant:"ghost",onClick:b,disabled:m,children:i}),(0,d.jsx)(g.A,{variant:l,onClick:c,loading:m,children:h})]}),children:(0,d.jsx)("p",{className:"text-text-muted",children:f})})}},42148:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(47953),f=c(7989);function g({caps:a,className:b="",colorOverride:c,size:h=16}){if(!a)return null;let i=Object.keys(e.bs).filter(b=>a[b]);return 0===i.length?null:(0,d.jsx)("span",{className:`inline-flex items-center gap-0.5 ${b}`,children:i.map(a=>(0,d.jsx)(f.A,{text:`${e.bs[a].label} — ${e.bs[a].desc}`,children:(0,d.jsx)("span",{className:`material-symbols-outlined leading-none cursor-help ${c||e.bs[a].color}`,style:{fontSize:`${h}px`},children:e.bs[a].icon})},a))})}},44544:(a,b,c)=>{c.r(b),c.d(b,{AddCustomEmbeddingModal:()=>ba,AuthLayout:()=>aY,Avatar:()=>o,Badge:()=>p.A,Button:()=>e.A,CapacityBadges:()=>aV.A,Card:()=>h.A,CardSkeleton:()=>j.CardSkeleton,ChangelogModal:()=>bc,ComboFormModal:()=>a1,ConfirmModal:()=>i.u,CursorAuthModal:()=>a6,DashboardLayout:()=>aX,EditConnectionModal:()=>a9,Footer:()=>ac,GitLabAuthModal:()=>a8,Header:()=>Z,HeaderMenu:()=>Q,IFlowCookieModal:()=>a7,Input:()=>f.A,KiroAuthModal:()=>a3,KiroOAuthWrapper:()=>a4,KiroSocialOAuthModal:()=>a5,LanguageSwitcher:()=>T.A,Loading:()=>j.Ay,ManualConfigModal:()=>a0,McpMarketplaceModal:()=>a2,Modal:()=>i.A,ModelSelectModal:()=>a_,NineRemoteButton:()=>aP,NoAuthProxyCard:()=>bb,OAuthModal:()=>a$,PageLoading:()=>j.WL,ProviderInfoCard:()=>bd,RequestLogger:()=>aQ,SegmentedControl:()=>aT,Select:()=>g.A,Sidebar:()=>L,Skeleton:()=>j.EA,Spinner:()=>j.y$,ThemeProvider:()=>u.ThemeProvider,ThemeToggle:()=>t,Toggle:()=>q.A,Tooltip:()=>aU.A,UsageStats:()=>aO});var d=c(81691),e=c(93864),f=c(75814),g=c(46696),h=c(99842),i=c(34455),j=c(32698),k=c(66238),l=c(15901),m=c(44690);let n={xs:"size-6 text-xs",sm:"size-8 text-sm",md:"size-10 text-base",lg:"size-12 text-lg",xl:"size-16 text-xl"};function o({src:a,alt:b="Avatar",name:c,size:d="md",className:e}){return a?(0,k.jsx)("span",{className:(0,m.cn)("relative inline-block rounded-full overflow-hidden","ring-2 ring-white dark:ring-surface-dark shadow-sm",n[d],e),children:(0,k.jsx)(l.default,{src:a,alt:b,fill:!0,sizes:"48px",className:"object-cover",unoptimized:!0})}):(0,k.jsx)("span",{className:(0,m.cn)("rounded-full flex items-center justify-center font-semibold text-white","ring-2 ring-white dark:ring-surface-dark shadow-sm",n[d],function(a){if(!a)return"bg-primary";let b=["bg-red-500","bg-orange-500","bg-amber-500","bg-yellow-500","bg-lime-500","bg-green-500","bg-emerald-500","bg-teal-500","bg-cyan-500","bg-sky-500","bg-blue-500","bg-indigo-500","bg-violet-500","bg-purple-500","bg-fuchsia-500","bg-pink-500","bg-rose-500"],c=a.charCodeAt(0)%b.length;return b[c]}(c),e),"aria-label":b,children:function(a){if(!a)return"?";let b=a.split(" ");return b.length>=2?`${b[0][0]}${b[1][0]}`.toUpperCase():a.substring(0,2).toUpperCase()}(c)})}var p=c(12613),q=c(57900),r=c(75244);let s={default:(0,m.cn)("flex items-center justify-center size-10 rounded-full","text-text-muted hover:text-text-main","hover:bg-surface-2 transition-colors"),card:(0,m.cn)("flex items-center justify-center size-11 rounded-full","bg-surface/60 hover:bg-surface","border border-border","backdrop-blur-md shadow-sm hover:shadow-[var(--shadow-warm)]","text-text-muted hover:text-brand-500","transition-all group")};function t({className:a,variant:b="default"}){let{isDark:c,toggleTheme:d}=(0,r.D)();return(0,k.jsx)("button",{type:"button",onClick:d,className:(0,m.cn)(s[b],a),"aria-label":`Switch to ${c?"light":"dark"} mode`,title:`Switch to ${c?"light":"dark"} mode`,children:(0,k.jsx)("span",{className:(0,m.cn)("material-symbols-outlined text-[22px]","card"===b&&"transition-transform duration-300 group-hover:rotate-12"),children:c?"light_mode":"dark_mode"})})}var u=c(73062),v=c(71183),w=c(84725),x=c.n(w),y=c(68344),z=c(13717),A=c(53207),B=c(87571),C=c(5894);let D=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],E=[{icon:"qr_code_scanner",text:"Scan QR to connect instantly"},{icon:"wifi_off",text:"No port forwarding needed"},{icon:"devices",text:"Works on any device"}];function F({isOpen:a,onClose:b}){return((0,v.useRef)(b),a)?(0,C.createPortal)((0,k.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:[(0,k.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in",onClick:b,"aria-hidden":"true"}),(0,k.jsxs)("div",{className:"relative w-full max-w-sm rounded-[14px] overflow-hidden shadow-[var(--shadow-elev)] fade-in flex flex-col bg-surface border border-border-subtle",children:[(0,k.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border-subtle",children:[(0,k.jsxs)("div",{className:"flex items-center gap-3",children:[(0,k.jsx)("div",{className:"w-7 h-7 rounded-[8px] flex items-center justify-center bg-primary",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-white text-base",children:"terminal"})}),(0,k.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-primary font-mono",children:"9Remote"})]}),(0,k.jsx)("button",{type:"button",onClick:b,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-base",children:"close"})})]}),(0,k.jsxs)("div",{className:"px-7 py-7 pb-9 flex flex-col gap-6",children:[(0,k.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center mt-2",children:[(0,k.jsx)("div",{className:"w-14 h-14 rounded-[14px] flex items-center justify-center mb-1 bg-primary shadow-[var(--shadow-warm)]",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-white text-[30px]",children:"terminal"})}),(0,k.jsx)("h1",{className:"text-lg font-bold text-text-main tracking-tight",children:"9Remote"}),(0,k.jsx)("p",{className:"text-xs text-text-muted leading-5 max-w-[220px]",children:"Access your terminal, desktop & files from anywhere"})]}),(0,k.jsx)("div",{className:"flex gap-2 w-full",children:D.map(({icon:a,label:b,desc:c})=>(0,k.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1.5 py-4 px-1 rounded-[10px] border border-border-subtle bg-surface-2",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-primary text-[22px]",children:a}),(0,k.jsx)("p",{className:"text-xs font-semibold text-text-main",children:b}),(0,k.jsx)("p",{className:"text-[10px] text-text-muted text-center leading-4",children:c})]},b))}),(0,k.jsx)("div",{className:"flex flex-col gap-3 w-full",children:E.map(({icon:a,text:b})=>(0,k.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,k.jsx)("span",{className:"material-symbols-outlined flex-shrink-0 text-primary text-[16px]",children:a}),(0,k.jsx)("span",{className:"text-xs text-text-muted",children:b})]},a))}),(0,k.jsxs)("button",{type:"button",onClick:()=>window.open("https://9remote.cc","_blank"),className:"w-full py-3 flex items-center justify-center gap-2 text-sm font-semibold text-white rounded-[10px] bg-primary hover:bg-primary-hover shadow-[var(--shadow-warm)] active:scale-[0.98] transition-all",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-base",children:"open_in_new"}),"Get 9Remote"]})]})]})]}),document.body):null}let G=["embedding","image","tts","stt"],H="/dashboard/media-providers/web",I=[{href:"/dashboard/endpoint",label:"Endpoint & Key",icon:"api"},{href:"/dashboard/providers",label:"Providers",icon:"dns"},{href:"/dashboard/combos",label:"Combos",icon:"layers"},{href:"/dashboard/usage",label:"Usage",icon:"bar_chart"},{href:"/dashboard/quota",label:"Quota Tracker",icon:"data_usage"},{href:"/dashboard/token-saver",label:"Token Saver",icon:"savings"},{href:"/dashboard/cli-tools",label:"CLI Tools",icon:"terminal"}],J=[{href:"/dashboard/console-log",label:"Console Log",icon:"terminal"},{href:"/dashboard/translator",label:"Translator",icon:"translate"}],K=[{href:"/dashboard/proxy-pools",label:"Proxy Pools",icon:"lan"},{href:"/dashboard/skills",label:"Skills",icon:"extension"}];function L({onClose:a}){let b=(0,y.usePathname)(),[c,d]=(0,v.useState)(!1),[f,g]=(0,v.useState)(!1),[h,j]=(0,v.useState)(!1),[l,n]=(0,v.useState)(null),[o,p]=(0,v.useState)(!1),[q,r]=(0,v.useState)(!1),[s,t]=(0,v.useState)(0),[u,w]=(0,v.useState)(!1),{copied:C,copy:D}=(0,B.C)(2e3),E=z.h0.installCmdLatest,N=a=>"/dashboard/endpoint"===a?"/dashboard"===b||b.startsWith("/dashboard/endpoint"):b.startsWith(a),O=async()=>{try{await navigator.clipboard.writeText(E)}catch{}D(E);let a=z.h0.shutdownCountdownSec;t(a);let b=setInterval(()=>{t(a-=1),a<=0&&(clearInterval(b),fetch("/api/version/shutdown",{method:"POST"}).catch(()=>{}),j(!0))},1e3)};return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("aside",{className:"flex w-72 flex-col border-r border-border-subtle bg-vibrancy backdrop-blur-xl transition-colors duration-300 min-h-full",children:[(0,k.jsxs)("div",{className:"flex items-center gap-2 px-6 pt-5 pb-2",children:[(0,k.jsx)("div",{className:"w-3 h-3 rounded-full bg-[#FF5F56]"}),(0,k.jsx)("div",{className:"w-3 h-3 rounded-full bg-[#FFBD2E]"}),(0,k.jsx)("div",{className:"w-3 h-3 rounded-full bg-[#27C93F]"})]}),(0,k.jsxs)("div",{className:"px-6 py-4 flex flex-col gap-2",children:[(0,k.jsxs)(x(),{href:"/dashboard",className:"flex items-center gap-3",children:[(0,k.jsx)("div",{className:"flex items-center justify-center size-9 rounded-[10px] bg-gradient-to-br from-brand-500 to-brand-700 shadow-[var(--shadow-warm)]",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-white text-[20px]",children:"hub"})}),(0,k.jsxs)("div",{className:"flex flex-col",children:[(0,k.jsx)("h1",{className:"text-lg font-semibold tracking-tight text-text-main",children:z.vQ.name}),(0,k.jsxs)("span",{className:"text-xs text-text-muted",children:["v",z.vQ.version]})]})]}),l&&(0,k.jsxs)("div",{className:"flex flex-col gap-1.5 rounded p-1 -m-1",children:[(0,k.jsxs)("span",{className:"text-xs font-semibold text-green-600 dark:text-amber-500",children:["↑ New version available: v",l.latestVersion]}),l.githubStatus&&(0,k.jsxs)("span",{className:"text-[10px] text-text-muted",children:["github_ahead"===l.githubStatus&&"vansrouter already has this version — pull to update","github_behind_npm"===l.githubStatus&&"vansrouter repo hasn't been updated to this version yet"]}),l.runtime&&(0,k.jsxs)("span",{className:"text-[10px] text-text-muted",children:["Runtime: ",(0,k.jsx)("span",{className:"font-mono",children:l.runtime}),l.canAutoRestart&&" — auto-restart supported ✓",!l.canAutoRestart&&" — manual restart required"]}),(0,k.jsxs)("div",{className:"flex items-center gap-2",children:[(0,k.jsx)("button",{onClick:()=>p(!0),className:"px-2 py-1 rounded bg-green-600 hover:bg-green-700 dark:bg-amber-500 dark:hover:bg-amber-600 text-white text-[11px] font-semibold transition-colors cursor-pointer",children:l.canAutoRestart?"Update & Restart":"Update now"}),(0,k.jsx)("button",{onClick:()=>D(l.installCommand||E),title:"Copy install command",className:"flex-1 text-left hover:opacity-80 transition-opacity cursor-pointer min-w-0",children:(0,k.jsx)("code",{className:"block text-[10px] text-green-600/80 dark:text-amber-400/70 font-mono truncate",children:C?"✓ copied!":l.installCommand||E})})]})]})]}),(0,k.jsxs)("nav",{className:"flex-1 px-4 py-2 space-y-0.5 overflow-y-auto custom-scrollbar",children:[I.map(b=>(0,k.jsxs)(x(),{href:b.href,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-3 py-1 rounded-lg transition-all group",N(b.href)?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:(0,m.cn)("material-symbols-outlined text-[18px]",N(b.href)?"fill-1":"group-hover:text-primary transition-colors"),children:b.icon}),(0,k.jsx)("span",{className:"text-[13px] font-medium",children:b.label})]},b.href)),(0,k.jsxs)("div",{className:"pt-3 mt-2 space-y-0.5",children:[(0,k.jsx)("p",{className:"px-4 text-xs font-semibold text-text-muted/60 uppercase tracking-wider mb-2",children:"System"}),(0,k.jsxs)("button",{onClick:()=>d(a=>!a),className:(0,m.cn)("w-full flex items-center gap-3 px-3 py-1 rounded-lg transition-all group",b.startsWith("/dashboard/media-providers")?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"perm_media"}),(0,k.jsx)("span",{className:"text-[13px] font-medium flex-1 text-left",children:"Media Providers"}),(0,k.jsx)("span",{className:"material-symbols-outlined text-[14px] transition-transform",style:{transform:c?"rotate(180deg)":"rotate(0deg)"},children:"expand_more"})]}),c&&(0,k.jsxs)("div",{className:"pl-4",children:[A.rj.filter(a=>G.includes(a.id)).map(c=>(0,k.jsxs)(x(),{href:`/dashboard/media-providers/${c.id}`,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-4 py-1 rounded-lg transition-all group",b.startsWith(`/dashboard/media-providers/${c.id}`)?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:c.icon}),(0,k.jsx)("span",{className:"text-sm",children:c.label})]},c.id)),(0,k.jsxs)(x(),{href:H,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-4 py-1 rounded-lg transition-all group",b.startsWith(H)?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"travel_explore"}),(0,k.jsx)("span",{className:"text-sm",children:"Web Fetch & Search"})]},"web")]}),K.map(b=>(0,k.jsxs)(x(),{href:b.href,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-3 py-1 rounded-lg transition-all group",N(b.href)?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:(0,m.cn)("material-symbols-outlined text-[18px]",N(b.href)?"fill-1":"group-hover:text-primary transition-colors"),children:b.icon}),(0,k.jsx)("span",{className:"text-[13px] font-medium",children:b.label})]},b.href)),J.map(b=>"/dashboard/translator"!==b.href||u?(0,k.jsxs)(x(),{href:b.href,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-3 py-1 rounded-lg transition-all group",N(b.href)?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:(0,m.cn)("material-symbols-outlined text-[18px]",N(b.href)?"fill-1":"group-hover:text-primary transition-colors"),children:b.icon}),(0,k.jsx)("span",{className:"text-[13px] font-medium",children:b.label})]},b.href):null),(0,k.jsxs)("button",{onClick:()=>g(!0),className:(0,m.cn)("flex items-center gap-3 px-3 py-1 rounded-lg transition-all group w-full","text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px] group-hover:text-primary transition-colors",children:"computer"}),(0,k.jsx)("span",{className:"text-[13px] font-medium",children:"Remote"})]}),(0,k.jsxs)(x(),{href:"/dashboard/profile",onClick:a,className:(0,m.cn)("flex items-center gap-3 px-3 py-1 rounded-lg transition-all group",N("/dashboard/profile")?"bg-primary/10 text-primary":"text-text-muted hover:bg-surface-2 hover:text-text-main"),children:[(0,k.jsx)("span",{className:(0,m.cn)("material-symbols-outlined text-[18px]",N("/dashboard/profile")?"fill-1":"group-hover:text-primary transition-colors"),children:"settings"}),(0,k.jsx)("span",{className:"text-[13px] font-medium",children:"Settings"})]})]})]})]}),(0,k.jsx)(F,{isOpen:f,onClose:()=>g(!1)}),(0,k.jsx)(i.u,{isOpen:o,onClose:()=>p(!1),onConfirm:()=>{p(!1),r(!0)},title:"Update VansRouter",message:`Show install command for v${l?.latestVersion||""}? You can copy it and shutdown to install manually.`,confirmText:"Show Command",cancelText:"Cancel",variant:"primary"}),(h||q)&&(0,k.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm p-6",children:q?(0,k.jsx)(M,{latestVersion:l?.latestVersion,installCmd:E,copied:C,onCopyAndShutdown:O,onCancel:()=>{r(!1),t(0)},countdown:s,isDisconnected:h}):(0,k.jsxs)("div",{className:"text-center p-8",children:[(0,k.jsx)("div",{className:"flex items-center justify-center size-16 rounded-full bg-red-500/20 text-red-500 mx-auto mb-4",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"power_off"})}),(0,k.jsx)("h2",{className:"text-xl font-semibold text-white mb-2",children:"Server Disconnected"}),(0,k.jsx)("p",{className:"text-text-muted mb-6",children:"The proxy server has been stopped."}),(0,k.jsx)(e.A,{variant:"secondary",onClick:()=>globalThis.location.reload(),children:"Reload Page"})]})})]})}function M({latestVersion:a,installCmd:b,copied:c,onCopyAndShutdown:d,onCancel:f,countdown:g,isDisconnected:h}){let i=g>0;return(0,k.jsxs)("div",{className:"w-full max-w-lg rounded-xl bg-neutral-900/95 border border-white/10 p-6 text-white",children:[(0,k.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,k.jsx)("div",{className:"flex items-center justify-center size-11 rounded-full bg-amber-500/20 text-amber-400",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-[24px]",children:"content_copy"})}),(0,k.jsxs)("div",{children:[(0,k.jsxs)("h2",{className:"text-lg font-semibold",children:["Update VansRouter",a?` to v${a}`:""]}),(0,k.jsx)("p",{className:"text-xs text-white/60",children:h?"Server stopped. Paste the command into a terminal to install.":i?`Command copied. Server will stop in ${g}s...`:"Click the button below to copy the install command and shutdown."})]})]}),(0,k.jsx)("p",{className:"text-sm text-white/80 mb-2",children:"Install command:"}),(0,k.jsx)("div",{className:"w-full px-3 py-2 rounded bg-white/5 mb-4",children:(0,k.jsx)("code",{className:"text-xs font-mono text-amber-400 break-all",children:b})}),(0,k.jsxs)("ol",{className:"text-xs text-white/70 space-y-1 list-decimal list-inside mb-4",children:[(0,k.jsxs)("li",{children:["Click ",(0,k.jsx)("strong",{children:"Copy & Shutdown"})," below."]}),(0,k.jsx)("li",{children:"Paste the command into your terminal and press Enter."}),(0,k.jsxs)("li",{children:["Run ",(0,k.jsx)("code",{className:"px-1 rounded bg-white/10 text-green-400",children:"vansrouter"})," again after install."]})]}),h?(0,k.jsx)(e.A,{variant:"secondary",fullWidth:!0,onClick:()=>globalThis.location.reload(),children:"Reload Page"}):(0,k.jsxs)("div",{className:"flex gap-2",children:[(0,k.jsx)(e.A,{variant:"secondary",onClick:f,disabled:i,children:"Cancel"}),(0,k.jsx)(e.A,{variant:"primary",fullWidth:!0,onClick:d,disabled:i,children:c?"✓ Copied — shutting down...":i?`Shutting down in ${g}s`:"Copy & Shutdown"})]})]})}var N=c(95988),O=c(99851);function P({icon:a,label:b,onClick:c,trailing:d,danger:e}){return(0,k.jsxs)("button",{type:"button",onClick:c,className:`flex items-center gap-3 w-full px-4 py-2.5 text-sm transition-colors ${e?"text-red-500 hover:bg-red-500/10":"text-text-main hover:bg-black/5 dark:hover:bg-white/5"}`,children:[(0,k.jsx)("span",{className:`material-symbols-outlined text-[20px] ${e?"":"text-text-muted"}`,children:a}),(0,k.jsx)("span",{className:"flex-1 text-left",children:b}),d&&(0,k.jsx)("span",{className:"text-base",children:d})]})}function Q({onLogout:a}){let[b,c]=(0,v.useState)(!1),[d,e]=(0,v.useState)(!1),[f,g]=(0,v.useState)(!1),[h,j]=(0,v.useState)(!1),{toggleTheme:l,isDark:m}=(0,r.D)(),n=(0,v.useRef)(null),o=async()=>{j(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}j(!1),g(!1)};return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("div",{className:"relative",ref:n,children:[(0,k.jsx)("button",{type:"button",onClick:()=>c(a=>!a),className:"flex items-center justify-center p-2 rounded-lg text-text-muted hover:text-text-main hover:bg-black/5 dark:hover:bg-white/5 transition-all",title:"Menu",children:(0,k.jsx)("span",{className:"material-symbols-outlined",children:"grid_view"})}),b&&(0,k.jsxs)("div",{className:"absolute right-0 top-full mt-2 w-60 bg-surface border border-black/10 dark:border-white/10 rounded-xl shadow-2xl z-50 animate-in fade-in zoom-in-95 duration-150 overflow-hidden py-1",children:[(0,k.jsx)(P,{icon:"history",label:"Change Log",onClick:()=>{c(!1),e(!0)}}),(0,k.jsx)(P,{icon:m?"light_mode":"dark_mode",label:"Theme",onClick:()=>{l(),c(!1)}}),(0,k.jsx)(P,{icon:"power_settings_new",label:"Shutdown",danger:!0,onClick:()=>{c(!1),g(!0)}}),(0,k.jsx)(P,{icon:"logout",label:"Logout",danger:!0,onClick:()=>{c(!1),a()}})]})]}),(0,k.jsx)(O.default,{isOpen:d,onClose:()=>e(!1)}),(0,k.jsx)(i.u,{isOpen:f,onClose:()=>g(!1),onConfirm:o,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:h})]})}var R=c(21700),S=c(98180),T=c(48853);function U(){let[a,b]=(0,v.useState)(!1),c=function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${R.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,R.QC)(b)}();return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("button",{type:"button",onClick:()=>b(!0),className:"flex items-center justify-center p-2 rounded-lg text-text-muted hover:text-text-main hover:bg-black/5 dark:hover:bg-white/5 transition-all",title:"Language","data-i18n-skip":"true",children:(0,k.jsx)("span",{className:"text-lg leading-none",children:S.h[c]||"\uD83C\uDF10"})}),(0,k.jsx)(T.A,{hideTrigger:!0,isOpen:a,onClose:()=>b(!1)})]})}function V({isOpen:a,onClose:b}){let[c,d]=(0,v.useState)({data:null,loading:!1,error:""}),e=(0,v.useRef)(null);if((0,v.useRef)(!1),(0,v.useRef)(b),!a||"u"<typeof document)return null;let{data:f,loading:g,error:h}=c;return(0,C.createPortal)((0,k.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,k.jsx)("div",{className:"absolute inset-0 bg-black/30 backdrop-blur-sm",onClick:b,"aria-hidden":"true"}),(0,k.jsxs)("div",{ref:e,className:"relative w-full bg-surface border border-black/10 dark:border-white/10 rounded-xl shadow-2xl animate-in fade-in zoom-in-95 duration-200 max-w-3xl flex flex-col max-h-[85vh]",children:[(0,k.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-black/5 dark:border-white/5",children:[(0,k.jsxs)("h2",{className:"text-lg font-semibold text-text-main flex items-center gap-2",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-pink-500",children:"volunteer_activism"}),f?.title||"Support 9Router"]}),(0,k.jsx)("button",{type:"button",onClick:b,className:"p-1.5 rounded-lg text-text-muted hover:bg-black/5 dark:hover:bg-white/5 transition-colors","aria-label":"Close",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,k.jsxs)("div",{className:"p-6 overflow-y-auto flex-1",children:[g&&(0,k.jsxs)("div",{className:"flex items-center justify-center py-10 text-text-muted",children:[(0,k.jsx)("span",{className:"material-symbols-outlined animate-spin mr-2",children:"progress_activity"}),"Loading..."]}),h&&(0,k.jsxs)("div",{className:"text-red-500 py-4",children:["Failed to load donate info: ",h]}),!g&&!h&&f&&(0,k.jsxs)(k.Fragment,{children:[f.message&&(0,k.jsx)("p",{className:"text-text-muted text-sm mb-6 text-center",children:f.message}),(0,k.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:f.channels?.map(a=>(0,k.jsx)(W,{channel:a},a.id))})]})]})]})]}),document.body)}function W({channel:a}){let{label:b,description:c,icon:d,color:e,url:f,qr:g}=a,h=(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center mb-3",style:{backgroundColor:`${e}20`,color:e},children:(0,k.jsx)("span",{className:"material-symbols-outlined text-[26px]",children:d})}),(0,k.jsx)("div",{className:"font-semibold text-text-main mb-1",children:b}),c&&(0,k.jsx)("div",{className:"text-xs text-text-muted mb-3 text-center",children:c}),g&&(0,k.jsx)(l.default,{src:g,alt:`${b} QR`,className:"w-full max-w-[180px] aspect-square object-contain rounded-lg bg-white p-1",width:180,height:180,unoptimized:!0})]});return(0,k.jsxs)("div",{className:"flex flex-col items-center p-4 rounded-xl border border-black/10 dark:border-white/10 bg-surface/50 hover:border-pink-500/40 transition-colors",children:[h,f&&(0,k.jsxs)("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"mt-3 inline-flex items-center gap-1 px-3 py-1.5 rounded-lg text-sm font-medium text-white hover:opacity-90 transition-opacity",style:{backgroundColor:e},children:["Open",(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"open_in_new"})]})]})}var X=c(75883),Y=c(7272);function Z({onMenuClick:a,showMenuButton:b=!0}){let c=(0,y.usePathname)(),[d,e]=(0,v.useState)(""),[f,g]=(0,v.useState)(""),[h,i]=(0,v.useState)(!1),{title:j,description:l,icon:m,breadcrumbs:n}=(0,v.useMemo)(()=>(a=>{if(!a)return{title:"",description:"",breadcrumbs:[]};let b=a.match(/\/media-providers\/([^/]+)\/([^/]+)$/);if(b){let a=b[1],c=b[2],d=A.rj.find(b=>b.id===a),e=A.Q2[c];return{title:e?.name||c,description:"",breadcrumbs:[{label:"Media Providers",href:`/dashboard/media-providers/${a}`},{label:d?.label||a,href:`/dashboard/media-providers/${a}`},{label:e?.name||c,image:`/providers/${c}.png`}]}}let c=a.match(/\/media-providers\/([^/]+)$/);if(c){let a=c[1],b=A.rj.find(b=>b.id===a);return{title:b?.label||a,description:`Manage your ${b?.label||a} providers`,icon:b?.icon||"perm_media",breadcrumbs:[]}}let d=a.match(/\/providers\/([^/]+)$/);if(d){let a=d[1],b=z.zN[a]||z.fg[a];if(b)return{title:b.name,description:"",breadcrumbs:[{label:"Providers",href:"/dashboard/providers"},{label:b.name,image:`/providers/${b.id}.png`}]}}return a.includes("/providers")&&!a.includes("/media-providers")?{title:"Providers",description:"Manage your AI provider connections",icon:"dns",breadcrumbs:[]}:a.includes("/combos")?{title:"Combos",description:"Model combos with fallback",icon:"layers",breadcrumbs:[]}:a.includes("/usage")?{title:"Usage & Analytics",description:"Monitor your API usage, token consumption, and request logs",icon:"bar_chart",breadcrumbs:[]}:a.includes("/auth-files")?{title:"Auth Files",description:"Map provider credentials stored in the local database",icon:"vpn_key",breadcrumbs:[]}:a.includes("/quota")?{title:"Quota Tracker",description:"Track and manage your API quota limits",icon:"data_usage",breadcrumbs:[]}:a.includes("/mitm")?{title:"MITM Proxy",description:"Intercept CLI tool traffic and route through 9Router",icon:"security",breadcrumbs:[]}:a.includes("/token-saver")?{title:"Token Saver",description:"Compress prompts and outputs to save tokens",icon:"savings",breadcrumbs:[]}:a.includes("/cli-tools")?{title:"CLI Tools",description:"Configure CLI tools",icon:"terminal",breadcrumbs:[]}:a.includes("/proxy-pools")?{title:"Proxy Pools",description:"Manage your proxy pool configurations",icon:"lan",breadcrumbs:[]}:a.includes("/skills")?{title:"Agent Skills",description:"Copy a link and paste to your AI to use 9Router — no install needed",icon:"extension",breadcrumbs:[]}:a.includes("/endpoint")?{title:"Endpoint",description:"API endpoint configuration",icon:"api",breadcrumbs:[]}:a.includes("/profile")?{title:"Settings",description:"Manage your preferences",icon:"settings",breadcrumbs:[]}:a.includes("/translator")?{title:"Translator",description:"Debug translation flow between formats",icon:"translate",breadcrumbs:[]}:a.includes("/console-log")?{title:"Console Log",description:"Live server console output",icon:"monitor",breadcrumbs:[]}:"/dashboard"===a?{title:"Endpoint",description:"API endpoint configuration",icon:"api",breadcrumbs:[]}:{title:"",description:"",breadcrumbs:[]}})(c),[c]),o=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&window.location.assign("/login")}catch(a){console.error("Failed to logout:",a)}};return(0,k.jsxs)("header",{className:"shrink-0 flex items-center justify-between gap-3 px-4 lg:px-8 pt-3 pb-2 border-b border-border-subtle bg-surface/60 backdrop-blur-xl lg:bg-transparent lg:backdrop-blur-none z-20",children:[(0,k.jsx)("div",{className:"flex items-center gap-3 lg:hidden shrink-0",children:b&&(0,k.jsx)("button",{onClick:a,className:"text-text-main hover:text-primary transition-colors",children:(0,k.jsx)("span",{className:"material-symbols-outlined",children:"menu"})})}),(0,k.jsx)("div",{className:"flex flex-col min-w-0 flex-1",children:n.length>0?(0,k.jsx)("div",{className:"flex items-center gap-2",children:n.map((a,b)=>(0,k.jsxs)("div",{className:"flex items-center gap-2",children:[b>0&&(0,k.jsx)("span",{className:"material-symbols-outlined text-text-muted text-base",children:"chevron_right"}),a.href?(0,k.jsx)(x(),{href:a.href,className:"text-text-muted hover:text-primary transition-colors",children:a.label}):(0,k.jsxs)("div",{className:"flex items-center gap-2",children:[a.image&&(0,k.jsx)(N.A,{src:a.image,alt:a.label,size:28,className:"object-contain rounded max-w-[28px] max-h-[28px]",fallbackText:a.label.slice(0,2).toUpperCase()}),(0,k.jsx)("h1",{className:"text-base lg:text-2xl font-semibold text-text-main tracking-tight truncate",children:(0,Y.Tl)(a.label)})]})]},`${a.label}-${a.href||"current"}`))}):j?(0,k.jsxs)("div",{children:[(0,k.jsxs)("div",{className:"flex items-center gap-2",children:[m&&(0,k.jsx)("span",{className:"material-symbols-outlined text-primary text-xl lg:text-2xl",children:m}),(0,k.jsx)("h1",{className:"text-base lg:text-2xl font-semibold tracking-tight truncate",children:(0,Y.Tl)(j)})]}),l&&(0,k.jsx)("p",{className:"hidden lg:block text-sm text-text-muted truncate",children:(0,Y.Tl)(l)})]}):null}),(0,k.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[d&&"OIDC"===f&&(0,k.jsxs)("div",{className:"hidden sm:flex items-center max-w-[220px] px-3 py-1.5 rounded-full border border-border bg-surface/70 text-xs text-text-muted truncate",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1.5 text-primary",children:"person"}),(0,k.jsx)("span",{className:"truncate",children:d}),(0,k.jsx)("span",{className:"ml-2 shrink-0 rounded-full bg-primary/10 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-primary",children:"OIDC"})]}),(0,k.jsx)($,{}),(0,k.jsxs)("button",{onClick:()=>i(!0),className:"flex items-center gap-1.5 px-3 h-8 rounded-lg border border-pink-500/30 bg-pink-500/10 text-pink-600 dark:text-pink-400 hover:bg-pink-500/20 transition-colors text-sm font-medium","aria-label":"Donate",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"volunteer_activism"}),(0,k.jsx)("span",{className:"hidden sm:inline",children:"Donate"})]}),(0,k.jsx)(t,{}),(0,k.jsx)(U,{}),(0,k.jsx)(Q,{onLogout:o})]}),(0,k.jsx)(V,{isOpen:h,onClose:()=>i(!1)})]})}function $(){let a=(0,X.C)(a=>a.visible),b=(0,X.C)(a=>a.query),c=(0,X.C)(a=>a.placeholder),d=(0,X.C)(a=>a.setQuery);return a?(0,k.jsxs)("div",{className:"relative w-[160px] sm:w-[220px]",children:[(0,k.jsx)("span",{className:"material-symbols-outlined absolute left-2 top-1/2 -translate-y-1/2 text-text-muted text-[16px] pointer-events-none",children:"search"}),(0,k.jsx)("input",{type:"text",value:b,onChange:a=>d(a.target.value),placeholder:c,className:"w-full h-8 pl-7 pr-7 rounded-lg border border-border bg-surface/60 text-sm focus:outline-none focus:border-primary/50 transition-colors"}),b&&(0,k.jsx)("button",{type:"button",onClick:()=>d(""),className:"absolute right-1 top-1/2 -translate-y-1/2 text-text-muted hover:text-text-main p-0.5 rounded","aria-label":"Clear search",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"close"})})]}):null}let _=[{label:"Features",href:"#features"},{label:"Pricing",href:"#pricing"},{label:"Changelog",href:"#"}],aa=[{label:"Documentation",href:"#"},{label:"API Reference",href:"#"},{label:"Help Center",href:"#"}],ab=[{label:"About",href:"#"},{label:"Blog",href:"#"},{label:"Contact",href:"#"}];function ac(){return(0,k.jsx)("footer",{className:"bg-bg border-t border-border pt-16 pb-12",children:(0,k.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[(0,k.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-10 mb-12",children:[(0,k.jsxs)("div",{className:"col-span-2 lg:col-span-2",children:[(0,k.jsxs)("div",{className:"flex items-center gap-2 mb-6",children:[(0,k.jsx)("div",{className:"size-6 text-primary",children:(0,k.jsx)("svg",{className:"w-full h-full",fill:"currentColor",viewBox:"0 0 48 48",children:(0,k.jsx)("path",{clipRule:"evenodd",d:"M12.08 24L4 19.25L9.96 8.75L18.04 13.5L18.04 4H29.96L29.96 13.5L38.04 8.75L44 19.25L35.92 24L44 28.75L38.04 39.25L29.96 34.5L29.96 44H18.04L18.04 34.5L9.96 39.25L4 28.75L12.08 24Z",fillRule:"evenodd"})})}),(0,k.jsx)("span",{className:"text-xl font-bold text-text-main",children:z.vQ.name})]}),(0,k.jsx)("p",{className:"text-text-muted mb-6 max-w-sm font-light",children:"The unified interface for modern AI infrastructure. Secure, observable, and scalable."}),(0,k.jsxs)("div",{className:"flex gap-4",children:[(0,k.jsx)("button",{type:"button",className:"text-gray-400 hover:text-primary transition-colors","aria-label":"Twitter",children:(0,k.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,k.jsx)("path",{d:"M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z"})})}),(0,k.jsx)("button",{type:"button",className:"text-gray-400 hover:text-primary transition-colors","aria-label":"GitHub",children:(0,k.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,k.jsx)("path",{d:"M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0 1 12 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0 0 22 12.017C22 6.484 17.522 2 12 2z"})})})]})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h4",{className:"font-semibold text-text-main mb-4",children:"Product"}),(0,k.jsx)("ul",{className:"flex flex-col gap-3 text-sm text-text-muted font-light",children:_.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(x(),{href:a.href,className:"hover:text-primary transition-colors",children:a.label})},a.label))})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h4",{className:"font-semibold text-text-main mb-4",children:"Resources"}),(0,k.jsx)("ul",{className:"flex flex-col gap-3 text-sm text-text-muted font-light",children:aa.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(x(),{href:a.href,className:"hover:text-primary transition-colors",children:a.label})},a.label))})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h4",{className:"font-semibold text-text-main mb-4",children:"Company"}),(0,k.jsx)("ul",{className:"flex flex-col gap-3 text-sm text-text-muted font-light",children:ab.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(x(),{href:a.href,className:"hover:text-primary transition-colors",children:a.label})},a.label))})]})]}),(0,k.jsxs)("div",{className:"border-t border-border pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,k.jsxs)("p",{className:"text-sm text-text-muted",children:["\xa9 2025 ",z.vQ.name," Inc. All rights reserved."]}),(0,k.jsxs)("div",{className:"flex gap-6 text-sm text-text-muted",children:[(0,k.jsx)(x(),{href:"#",className:"hover:text-primary transition-colors",children:"Privacy Policy"}),(0,k.jsx)(x(),{href:"#",className:"hover:text-primary transition-colors",children:"Terms of Service"})]})]})]})})}let ad=new Intl.NumberFormat,ae=a=>ad.format(a||0);function af({stats:a}){let b;return(0,k.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-4 sm:gap-4",children:[(0,k.jsxs)(h.A,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,k.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Total Requests"}),(0,k.jsx)("span",{className:"truncate text-2xl font-bold",children:ae(a.totalRequests)})]}),(0,k.jsxs)(h.A,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,k.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Total Input Tokens"}),(0,k.jsx)("span",{className:"truncate text-2xl font-bold text-primary",children:ae(a.totalPromptTokens)})]}),(0,k.jsxs)(h.A,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,k.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Output Tokens"}),(0,k.jsx)("span",{className:"truncate text-2xl font-bold text-success",children:ae(a.totalCompletionTokens)})]}),(0,k.jsxs)(h.A,{className:"flex min-w-0 flex-col gap-1 px-4 py-3",children:[(0,k.jsx)("span",{className:"text-text-muted text-sm uppercase font-semibold",children:"Est. Cost"}),(0,k.jsxs)("span",{className:"truncate text-2xl font-bold text-warning",children:["~",(b=a.totalCost,`$${(b||0).toFixed(2)}`)]}),(0,k.jsx)("span",{className:"text-[10px] text-text-muted",children:"Estimated, not actual billing"})]})]})}let ag=new Intl.NumberFormat,ah=a=>ag.format(a||0),ai=a=>`$${(a||0).toFixed(2)}`;function aj(a){if(!a)return"Never";let b=Math.floor((Date.now()-new Date(a))/6e4);return b<1?"Just now":b<60?`${b}m ago`:b<1440?`${Math.floor(b/60)}h ago`:new Date(a).toLocaleDateString()}function ak({field:a,currentSort:b,currentOrder:c}){return b!==a?(0,k.jsx)("span",{className:"ml-1 opacity-20",children:"↕"}):(0,k.jsx)("span",{className:"ml-1",children:"asc"===c?"↑":"↓"})}function al({item:a,viewMode:b,isSummary:c=!1}){return"tokens"===b?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.promptTokens?"—":ah(a.promptTokens)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.completionTokens?"—":ah(a.completionTokens)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right font-medium",children:ah(a.totalTokens)})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.inputCost?"—":ai(a.inputCost)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:c&&void 0===a.outputCost?"—":ai(a.outputCost)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right font-medium text-warning",children:ai(a.totalCost||a.cost)})]})}function am({title:a,columns:b,groupedData:c,tableType:d,sortBy:e,sortOrder:f,onToggleSort:g,viewMode:i,storageKey:j,renderDetailCells:l,renderSummaryCells:m,emptyMessage:n}){let[o,p]=(0,v.useState)(()=>new Set),q=(0,v.useCallback)(a=>{p(b=>{let c=new Set(b);c.has(a)?c.delete(a):c.add(a);try{localStorage.setItem(j,JSON.stringify([...c]))}catch(a){console.error(`Failed to save ${j}:`,a)}return c})},[j]),r=(0,v.useMemo)(()=>"tokens"===i?[{field:"promptTokens",label:"Input Tokens"},{field:"completionTokens",label:"Output Tokens"},{field:"totalTokens",label:"Total Tokens"}]:[{field:"promptTokens",label:"Input Cost"},{field:"completionTokens",label:"Output Cost"},{field:"cost",label:"Total Cost"}],[i]),s=b.length+r.length;return(0,k.jsxs)(h.A,{className:"overflow-hidden",children:[(0,k.jsx)("div",{className:"p-4 border-b border-border bg-bg-subtle/50",children:(0,k.jsx)("h3",{className:"font-semibold",children:a})}),(0,k.jsx)("div",{className:"overflow-x-auto",children:(0,k.jsxs)("table",{className:"w-full text-sm text-left",children:[(0,k.jsx)("thead",{className:"bg-bg-subtle/30 text-text-muted uppercase text-xs",children:(0,k.jsxs)("tr",{children:[b.map(a=>(0,k.jsxs)("th",{className:`px-6 py-3 cursor-pointer hover:bg-bg-subtle/50 ${"right"===a.align?"text-right":""}`,onClick:()=>g(d,a.field),children:[a.label," ",(0,k.jsx)(ak,{field:a.field,currentSort:e,currentOrder:f})]},a.field)),r.map(a=>(0,k.jsxs)("th",{className:"px-6 py-3 text-right cursor-pointer hover:bg-bg-subtle/50",onClick:()=>g(d,a.field),children:[a.label," ",(0,k.jsx)(ak,{field:a.field,currentSort:e,currentOrder:f})]},a.field))]})}),(0,k.jsxs)("tbody",{className:"divide-y divide-border",children:[c.map(a=>(0,k.jsxs)(v.Fragment,{children:[(0,k.jsxs)("tr",{className:"group-summary cursor-pointer hover:bg-bg-subtle/50 transition-colors",onClick:()=>q(a.groupKey),children:[(0,k.jsx)("td",{className:"px-6 py-3",children:(0,k.jsxs)("div",{className:"flex items-center gap-2",children:[(0,k.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted transition-transform ${o.has(a.groupKey)?"rotate-90":""}`,children:"chevron_right"}),(0,k.jsx)("span",{className:`font-medium transition-colors ${a.summary.pending>0?"text-primary":""}`,children:a.groupKey})]})}),m(a),(0,k.jsx)(al,{item:a.summary,viewMode:i,isSummary:!0})]}),o.has(a.groupKey)&&a.items.map(a=>(0,k.jsxs)("tr",{className:"group-detail hover:bg-bg-subtle/20 transition-colors",children:[l(a),(0,k.jsx)(al,{item:a,viewMode:i})]},`detail-${a.key}`))]},a.groupKey)),0===c.length&&(0,k.jsx)("tr",{children:(0,k.jsx)("td",{colSpan:s,className:"px-6 py-8 text-center text-text-muted",children:n})})]})]})})]})}var an=c(25517),ao=c(69055);c(65718);let ap=[],aq=[],ar={padding:.2,duration:200},as={provider:function({data:a}){let{label:b,color:c,imageUrl:d,textIcon:e,active:f}=a,[g,h]=(0,v.useState)(!1);return(0,k.jsxs)("div",{className:"flex items-center gap-2.5 px-4 py-2.5 rounded-lg border-2 transition-all duration-300 bg-bg",style:{borderColor:f?c:"var(--color-border)",boxShadow:f?`0 0 16px ${c}40`:"none",minWidth:"150px"},children:[(0,k.jsx)(an.h7,{type:"target",position:ao.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(an.h7,{type:"target",position:ao.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(an.h7,{type:"target",position:ao.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(an.h7,{type:"target",position:ao.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)("div",{className:"w-8 h-8 rounded-md flex items-center justify-center shrink-0",style:{backgroundColor:`${c}15`},children:g?(0,k.jsx)("span",{className:"text-sm font-bold",style:{color:c},children:e}):(0,k.jsx)(l.default,{src:d,alt:b,className:"w-6 h-6 rounded-sm object-contain",width:24,height:24,onError:()=>h(!0),unoptimized:!0})}),(0,k.jsx)("span",{className:"text-base font-medium truncate",style:{color:f?c:"var(--color-text)"},children:b}),f&&(0,k.jsxs)("span",{className:"relative flex h-2 w-2 shrink-0",children:[(0,k.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",style:{backgroundColor:c}}),(0,k.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2",style:{backgroundColor:c}})]})]})},router:function({data:a}){return(0,k.jsxs)("div",{className:"flex items-center justify-center px-5 py-3 rounded-xl border-2 border-primary bg-primary/5 shadow-md min-w-[130px]",children:[(0,k.jsx)(an.h7,{type:"source",position:ao.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(an.h7,{type:"source",position:ao.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(an.h7,{type:"source",position:ao.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(an.h7,{type:"source",position:ao.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,k.jsx)(l.default,{src:"/favicon.svg",alt:"VansAI",className:"w-6 h-6 mr-2",width:24,height:24}),(0,k.jsx)("span",{className:"text-sm font-bold text-primary",children:"VansAI"}),a.activeCount>0&&(0,k.jsx)("span",{className:"ml-2 px-1.5 py-0.5 rounded-full bg-primary text-white text-xs font-bold",children:a.activeCount})]})}};function at({providers:a=ap,activeRequests:b=aq,lastProvider:c="",errorProvider:d=""}){let e=(0,v.useMemo)(()=>b.flatMap(a=>{let b=a.provider?.toLowerCase();return b?[b]:[]}).sort().join(","),[b]),f=c?.toLowerCase()||"",g=d?.toLowerCase()||"";(0,v.useMemo)(()=>new Set(e?e.split(","):[]),[e]);let h=(0,v.useMemo)(()=>new Set(f?[f]:[]),[f]),i=(0,v.useMemo)(()=>new Set(g?[g]:[]),[g]),[j,l]=(0,v.useState)({}),[m,n]=(0,v.useState)(new Set),[o,p]=(0,v.useState)(0),{nodes:q,edges:r}=(0,v.useMemo)(()=>(function(a,b,c,d){let e=a.length,f=Math.max(320,204*e/(2*Math.PI)),g=Math.max(200,.55*f);if(0===e)return{nodes:[{id:"router",type:"router",position:{x:0,y:0},data:{activeCount:0},draggable:!1}],edges:[]};let h=[],i=[];return h.push({id:"router",type:"router",position:{x:-60,y:-22},data:{activeCount:b.size},draggable:!1}),a.forEach((a,j)=>{var k,l;let m,n,o=(k=a.provider,A.Q2[k]||{color:"#6b7280",name:k}),p=b.has(a.provider?.toLowerCase()),q=!p&&c.has(a.provider?.toLowerCase()),r=!p&&d.has(a.provider?.toLowerCase()),s=`provider-${a.provider}`,t={label:(o.name!==a.provider?o.name:null)||a.nodeName||a.name||a.provider,color:o.color||"#6b7280",imageUrl:(l=a.provider,`/providers/${l}.png`),textIcon:o.textIcon||(a.provider||"?").slice(0,2).toUpperCase(),active:p},u=-Math.PI/2+2*Math.PI*j/e,v=f*Math.cos(u),w=g*Math.sin(u);Math.abs(u+Math.PI/2)<Math.PI/4||Math.abs(u-3*Math.PI/2)<Math.PI/4?(m="top",n="bottom"):Math.abs(u-Math.PI/2)<Math.PI/4?(m="bottom",n="top"):v>0?(m="right",n="left"):(m="left",n="right"),h.push({id:s,type:"provider",position:{x:v-90,y:w-15},data:t,draggable:!1}),i.push({id:`e-${s}`,source:"router",sourceHandle:m,target:s,targetHandle:n,animated:p,style:(o.color,r?{stroke:"#ef4444",strokeWidth:2.5,opacity:.9}:p?{stroke:"#22c55e",strokeWidth:2.5,opacity:.9}:q?{stroke:"#f59e0b",strokeWidth:2,opacity:.7}:{stroke:"var(--color-border)",strokeWidth:1,opacity:.3})})}),{nodes:h,edges:i}})(a,m,h,i),[a,m,h,i]),s=(0,v.useMemo)(()=>a.map(a=>a.provider).sort().join(","),[a]),t=(0,v.useRef)(null),u=(0,v.useRef)(null),w=(0,v.useCallback)(a=>{t.current=a,setTimeout(()=>a.fitView(ar),50)},[]);return(0,k.jsx)("div",{ref:u,className:"h-[320px] w-full min-w-0 rounded-lg border border-border bg-bg-subtle/30 sm:h-[480px]",children:0===a.length?(0,k.jsx)("div",{className:"h-full flex items-center justify-center text-text-muted text-sm",children:"No providers connected"}):(0,k.jsx)(an.Gc,{nodes:q,edges:r,nodeTypes:as,fitView:!0,fitViewOptions:ar,minZoom:.1,maxZoom:2,onInit:w,proOptions:{hideAttribution:!0},panOnDrag:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,preventScrolling:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,children:(0,k.jsx)(an.H2,{showInteractive:!1,className:"react-flow-controls-custom"})},s)})}let au=(0,d.default)(async()=>{},{loadableGenerated:{modules:["app/(dashboard)/dashboard/usage/components/UsageChart.js -> recharts"]},ssr:!1,loading:()=>(0,k.jsx)("div",{className:"h-[220px] w-full rounded-lg border border-border bg-bg-subtle/30","aria-label":"Loading chart"})}),av=a=>a>=1e6?`${(a/1e6).toFixed(1)}M`:a>=1e3?`${(a/1e3).toFixed(1)}K`:String(a||0),aw=a=>`$${(a||0).toFixed(4)}`;function ax({period:a="7d"}){let[b,c]=(0,v.useState)([]),[d,e]=(0,v.useState)(!0),[f,g]=(0,v.useState)("tokens");(0,v.useRef)(null),(0,v.useCallback)(async()=>{e(!0);try{let b=await fetch(`/api/usage/chart?period=${a}`);if(b.ok){let a=await b.json();c(a)}}catch(a){console.error("Failed to fetch chart data:",a)}finally{e(!1)}},[a]);let i=b.some(a=>a.tokens>0||a.cost>0);return(0,k.jsxs)(h.A,{className:"flex min-w-0 flex-col gap-3 p-3 sm:p-4",children:[(0,k.jsxs)("div",{className:"grid w-full grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:w-auto sm:self-start",children:[(0,k.jsx)("button",{type:"button",onClick:()=>g("tokens"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"tokens"===f?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"}),(0,k.jsx)("button",{type:"button",onClick:()=>g("cost"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"cost"===f?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Cost"})]}),d?(0,k.jsx)("div",{className:"h-48 flex items-center justify-center text-text-muted text-sm",children:"Loading..."}):i?(0,k.jsx)(au,{data:b,viewMode:f,fmtTokens:av,fmtCost:aw}):(0,k.jsx)("div",{className:"h-48 flex items-center justify-center text-text-muted text-sm",children:"No data for this period"})]})}let ay=(0,k.jsx)("div",{className:"grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-4 sm:gap-4",children:Array.from({length:4}).map((a,b)=>(0,k.jsx)("div",{className:"h-24 w-full animate-pulse rounded-lg border border-border bg-bg-subtle/50","aria-hidden":"true"},b))}),az=(0,k.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-2 lg:grid-cols-[minmax(0,2fr)_minmax(280px,1fr)]",children:[(0,k.jsx)("div",{className:"h-[320px] w-full animate-pulse rounded-lg border border-border bg-bg-subtle/50 sm:h-[480px]","aria-hidden":"true"}),(0,k.jsx)("div",{className:"h-[320px] w-full animate-pulse rounded-lg border border-border bg-bg-subtle/50 sm:h-[480px]","aria-hidden":"true"})]}),aA=(0,k.jsx)("div",{className:"h-[220px] w-full animate-pulse rounded-lg border border-border bg-bg-subtle/50","aria-hidden":"true"}),aB=(0,k.jsx)("div",{className:"h-64 w-full animate-pulse rounded-lg border border-border bg-bg-subtle/50","aria-hidden":"true"});function aC({timestamp:a}){let b,[,c]=(0,v.useState)(0);return(0,k.jsx)(k.Fragment,{children:(b=Math.floor((Date.now()-new Date(a))/1e3))<60?`${b}s ago`:b<3600?`${Math.floor(b/60)}m ago`:b<86400?`${Math.floor(b/3600)}h ago`:`${Math.floor(b/86400)}d ago`})}let aD=[];function aE({requests:a=aD}){return(0,k.jsxs)(h.A,{className:"flex min-w-0 flex-col overflow-hidden",padding:"sm",style:{height:480},children:[(0,k.jsx)("div",{className:"px-1 py-2 border-b border-border shrink-0",children:(0,k.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wide",children:"Recent Requests"})}),a.length?(0,k.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,k.jsxs)("table",{className:"w-full min-w-[300px] border-collapse text-xs",children:[(0,k.jsx)("thead",{className:"sticky top-0 bg-bg z-10",children:(0,k.jsxs)("tr",{className:"border-b border-border",children:[(0,k.jsx)("th",{className:"py-1.5 text-left font-semibold text-text-muted w-2",children:(0,k.jsx)("span",{className:"sr-only",children:"Status"})}),(0,k.jsx)("th",{className:"py-1.5 text-left font-semibold text-text-muted",children:"Model"}),(0,k.jsx)("th",{className:"py-1.5 text-right font-semibold text-text-muted whitespace-nowrap",children:"In / Out"}),(0,k.jsx)("th",{className:"py-1.5 text-right font-semibold text-text-muted",children:"When"})]})}),(0,k.jsx)("tbody",{className:"divide-y divide-border/50",children:a.map((a,b)=>{let c=!a.status||"ok"===a.status||"success"===a.status;return(0,k.jsxs)("tr",{className:"hover:bg-bg-subtle transition-colors",children:[(0,k.jsx)("td",{className:"py-1.5",children:(0,k.jsx)("span",{className:`block w-1.5 h-1.5 rounded-full ${c?"bg-success":"bg-error"}`,"aria-label":c?"Success":"Error"})}),(0,k.jsx)("td",{className:"py-1.5 font-mono truncate max-w-[120px]",title:a.model,children:a.model}),(0,k.jsxs)("td",{className:"py-1.5 text-right whitespace-nowrap",children:[(0,k.jsxs)("span",{className:"text-primary",children:[ah(a.promptTokens),"↑"]})," ",(0,k.jsxs)("span",{className:"text-success",children:[ah(a.completionTokens),"↓"]})]}),(0,k.jsx)("td",{className:"py-1.5 text-right text-text-muted whitespace-nowrap",children:(0,k.jsx)(aC,{timestamp:a.timestamp})})]},`${a.timestamp}-${a.model}-${b}`)})})]})}):(0,k.jsx)("div",{className:"flex-1 flex items-center justify-center text-text-muted text-sm",children:"No requests yet."})]})}function aF(a,b={},c,d){return Object.entries(a||{}).map(([a,c])=>{let d=(c.promptTokens||0)+(c.completionTokens||0),e=c.cost||0,f=d>0?(c.promptTokens||0)*(e/d):0,g=d>0?(c.completionTokens||0)*(e/d):0;return{...c,key:a,totalTokens:d,totalCost:e,inputCost:f,outputCost:g,pending:b[a]||0}}).sort((a,b)=>{let e=a[c],f=b[c];return("string"==typeof e&&(e=e.toLowerCase()),"string"==typeof f&&(f=f.toLowerCase()),e<f)?"asc"===d?-1:1:e>f?"asc"===d?1:-1:0})}function aG(a,b){if(!Array.isArray(a))return[];let c={};return a.forEach(a=>{let d=function(a,b){switch(b){case"rawModel":return a.rawModel||"Unknown Model";case"accountName":return a.accountName||`Account ${a.connectionId?.slice(0,8)}...`||"Unknown Account";case"keyName":return a.keyName||"Unknown Key";case"endpoint":return a.endpoint||"Unknown Endpoint";default:return a[b]||"Unknown"}}(a,b);c[d]||(c[d]={groupKey:d,summary:{requests:0,promptTokens:0,completionTokens:0,totalTokens:0,cost:0,inputCost:0,outputCost:0,lastUsed:null,pending:0},items:[]});let e=c[d].summary;e.requests+=a.requests||0,e.promptTokens+=a.promptTokens||0,e.completionTokens+=a.completionTokens||0,e.totalTokens+=a.totalTokens||0,e.cost+=a.cost||0,e.inputCost+=a.inputCost||0,e.outputCost+=a.outputCost||0,e.pending+=a.pending||0,a.lastUsed&&(!e.lastUsed||new Date(a.lastUsed)>new Date(e.lastUsed))&&(e.lastUsed=a.lastUsed),c[d].items.push(a)}),Object.values(c)}let aH=[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],aI=[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"accountName",label:"Account"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],aJ=[{field:"keyName",label:"API Key Name"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],aK=[{field:"endpoint",label:"Endpoint"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],aL=[{value:"model",label:"Usage by Model"},{value:"account",label:"Usage by Account"},{value:"apiKey",label:"Usage by API Key"},{value:"endpoint",label:"Usage by Endpoint"}],aM=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"}];function aN({period:a,setPeriod:b,fetching:c}){return(0,k.jsxs)("div",{className:"flex w-full items-center gap-2 sm:w-auto sm:self-end",children:[(0,k.jsx)("div",{className:"grid flex-1 grid-cols-5 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:flex sm:flex-none",children:aM.map(d=>(0,k.jsx)("button",{type:"button",onClick:()=>b(d.value),disabled:c,className:`rounded-md px-3 py-1 text-sm font-medium transition-colors ${a===d.value?"bg-primary text-white shadow-sm":"text-text-muted hover:bg-bg-hover hover:text-text"}`,children:d.label},d.value))}),c&&(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px] text-text-muted animate-spin",children:"progress_activity"})]})}function aO({period:a,setPeriod:b,hidePeriodSelector:c=!1}={}){let d=(0,y.useRouter)(),e=(0,y.useSearchParams)(),f=e.get("sortBy")||"rawModel",g=e.get("sortOrder")||"asc",[h,i]=(0,v.useState)(null),[j,l]=(0,v.useState)({loading:!0,fetching:!1}),m=j.loading,n=j.fetching,[o,q]=(0,v.useState)("model"),[r,s]=(0,v.useState)("costs"),[t,u]=(0,v.useState)([]),[w,x]=(0,v.useState)("today");(0,v.useRef)(!0),(0,v.useRef)(!1);let z=a??w,A=(0,v.useCallback)((a,b)=>{let c=new URLSearchParams(e.toString());c.get("sortBy")===b?c.set("sortOrder","asc"===c.get("sortOrder")?"desc":"asc"):(c.set("sortBy",b),c.set("sortOrder","asc")),d.replace(`?${c.toString()}`,{scroll:!1})},[e,d]),B=(0,v.useMemo)(()=>{if(!h)return null;switch(o){case"model":{let a=h.pending?.byModel||{};return{columns:aH,groupedData:aG(aF(h.byModel,a,f,g),"rawModel"),storageKey:"usage-stats:expanded-models",emptyMessage:"No usage recorded yet.",renderSummaryCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.summary.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,children:a.rawModel}),(0,k.jsx)("td",{className:"px-6 py-3",children:(0,k.jsx)(p.A,{variant:a.pending>0?"primary":"neutral",size:"sm",children:a.provider})}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.lastUsed)})]})}}case"account":{let a={};return h?.pending?.byAccount&&Object.entries(h.byAccount||{}).forEach(([b,c])=>{let d=h.pending.byAccount[c.connectionId];if(d){let e=c.provider?`${c.rawModel} (${c.provider})`:c.rawModel;a[b]=d[e]||0}}),{columns:aI,groupedData:aG(aF(h.byAccount,a,f,g),"accountName"),storageKey:"usage-stats:expanded-accounts",emptyMessage:"No account-specific usage recorded yet.",renderSummaryCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.summary.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,children:a.accountName||`Account ${a.connectionId?.slice(0,8)}...`}),(0,k.jsx)("td",{className:`px-6 py-3 font-medium transition-colors ${a.pending>0?"text-primary":""}`,children:a.rawModel}),(0,k.jsx)("td",{className:"px-6 py-3",children:(0,k.jsx)(p.A,{variant:a.pending>0?"primary":"neutral",size:"sm",children:a.provider})}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.lastUsed)})]})}}case"apiKey":return{columns:aJ,groupedData:aG(aF(h.byApiKey,{},f,g),"keyName"),storageKey:"usage-stats:expanded-apikeys",emptyMessage:"No API key usage recorded yet.",renderSummaryCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.summary.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 font-medium",children:a.keyName}),(0,k.jsx)("td",{className:"px-6 py-3",children:a.rawModel}),(0,k.jsx)("td",{className:"px-6 py-3",children:(0,k.jsx)(p.A,{variant:"neutral",size:"sm",children:a.provider})}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.lastUsed)})]})};default:return{columns:aK,groupedData:aG(aF(h.byEndpoint,{},f,g),"endpoint"),storageKey:"usage-stats:expanded-endpoints",emptyMessage:"No endpoint usage recorded yet.",renderSummaryCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.summary.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.summary.lastUsed)})]}),renderDetailCells:a=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("td",{className:"px-6 py-3 font-medium font-mono text-sm",children:a.endpoint}),(0,k.jsx)("td",{className:"px-6 py-3",children:a.rawModel}),(0,k.jsx)("td",{className:"px-6 py-3",children:(0,k.jsx)(p.A,{variant:"neutral",size:"sm",children:a.provider})}),(0,k.jsx)("td",{className:"px-6 py-3 text-right",children:ah(a.requests)}),(0,k.jsx)("td",{className:"px-6 py-3 text-right text-text-muted whitespace-nowrap",children:aj(a.lastUsed)})]})}}},[h,o,f,g]);return h||m?(0,k.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[!c&&(0,k.jsx)(aN,{period:z,setPeriod:b??x,fetching:n}),m?ay:(0,k.jsx)(af,{stats:h}),m?az:(0,k.jsxs)("div",{className:"grid min-w-0 grid-cols-1 items-stretch gap-2 lg:grid-cols-[minmax(0,2fr)_minmax(280px,1fr)]",children:[(0,k.jsx)(at,{providers:t,activeRequests:h.activeRequests||[],lastProvider:h.recentRequests?.[0]?.provider||"",errorProvider:h.errorProvider||""}),(0,k.jsx)(aE,{requests:h.recentRequests||[]})]}),m?aA:(0,k.jsx)(ax,{period:z}),(0,k.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,k.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,k.jsx)("select",{value:o,onChange:a=>q(a.target.value),className:"w-full rounded-lg border border-border bg-surface px-3 py-1.5 text-sm font-medium text-text-main focus:outline-none focus:ring-2 focus:ring-primary/50 sm:w-auto",style:{colorScheme:"auto"},children:aL.map(a=>(0,k.jsx)("option",{value:a.value,children:a.label},a.value))}),(0,k.jsxs)("div",{className:"grid grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1 sm:flex",children:[(0,k.jsx)("button",{type:"button",onClick:()=>s("costs"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"costs"===r?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Costs"}),(0,k.jsx)("button",{type:"button",onClick:()=>s("tokens"),className:`px-3 py-1 rounded-md text-sm font-medium transition-colors ${"tokens"===r?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"})]})]}),m?aB:B&&(0,k.jsx)(am,{title:"",columns:B.columns,groupedData:B.groupedData,tableType:o,sortBy:f,sortOrder:g,onToggleSort:A,viewMode:r,storageKey:B.storageKey,renderSummaryCells:B.renderSummaryCells,renderDetailCells:B.renderDetailCells,emptyMessage:B.emptyMessage})]})]}):(0,k.jsx)("div",{className:"text-text-muted",children:"Failed to load usage statistics."})}function aP(){let[a,b]=(0,v.useState)(!1);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("button",{type:"button",onClick:()=>b(!0),className:"relative flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg transition-all text-text-muted hover:text-text-main hover:bg-black/5 dark:hover:bg-white/5",title:"9Remote",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"computer"}),(0,k.jsx)("span",{className:"text-xs font-medium",children:"Remote"})]}),(0,k.jsx)(F,{isOpen:a,onClose:()=>b(!1)})]})}function aQ(){let[a,b]=(0,v.useState)([]),[c,d]=(0,v.useState)(!0),[e,f]=(0,v.useState)(!0);return(0,k.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,k.jsxs)("div",{className:"flex items-center justify-between",children:[(0,k.jsx)("h2",{className:"text-xl font-semibold",children:"Request Logs"}),(0,k.jsx)("div",{className:"flex items-center gap-2",children:(0,k.jsxs)("span",{className:"text-sm font-medium text-text-muted flex items-center gap-2 cursor-pointer",children:[(0,k.jsx)("span",{children:"Auto Refresh (3s)"}),(0,k.jsx)("button",{type:"button",role:"switch","aria-checked":e,"aria-label":"Auto Refresh (3s)",onClick:()=>f(!e),className:`relative inline-flex h-5 w-9 items-center rounded-full transition-colors focus:outline-none ${e?"bg-primary":"bg-bg-subtle border border-border"}`,children:(0,k.jsx)("span",{className:`inline-block h-3 w-3 transform rounded-full bg-white transition-transform ${e?"translate-x-5":"translate-x-1"}`})})]})})]}),(0,k.jsx)(h.A,{className:"overflow-hidden bg-black/5 dark:bg-black/20",children:(0,k.jsx)("div",{className:"p-0 overflow-x-auto max-h-[600px] overflow-y-auto font-mono text-xs",children:c&&0===a.length?(0,k.jsx)("div",{className:"p-8 text-center text-text-muted",children:"Loading logs..."}):0===a.length?(0,k.jsx)("div",{className:"p-8 text-center text-text-muted",children:"No logs recorded yet."}):(0,k.jsxs)("table",{className:"w-full text-left border-collapse whitespace-nowrap",children:[(0,k.jsx)("thead",{className:"sticky top-0 bg-bg-subtle border-b border-border z-10",children:(0,k.jsxs)("tr",{children:[(0,k.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"DateTime"}),(0,k.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Model"}),(0,k.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Provider"}),(0,k.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Account"}),(0,k.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"In"}),(0,k.jsx)("th",{className:"px-3 py-2 border-r border-border",children:"Out"}),(0,k.jsx)("th",{className:"px-3 py-2",children:"Status"})]})}),(0,k.jsx)("tbody",{className:"divide-y divide-border/50",children:a.map((a,b)=>{let c=a.split(" | ");if(c.length<7)return null;let d=c[6],e=d.includes("PENDING"),f=d.includes("FAILED"),g=d.includes("OK");return(0,k.jsxs)("tr",{className:`hover:bg-primary/5 transition-colors ${e?"bg-primary/5":""}`,children:[(0,k.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-text-muted",children:c[0]}),(0,k.jsx)("td",{className:"px-3 py-1.5 border-r border-border font-medium",children:c[1]}),(0,k.jsx)("td",{className:"px-3 py-1.5 border-r border-border",children:(0,k.jsx)("span",{className:"px-1.5 py-0.5 rounded bg-bg-subtle border border-border text-[10px] uppercase font-bold",children:c[2]})}),(0,k.jsx)("td",{className:"px-3 py-1.5 border-r border-border truncate max-w-[150px]",title:c[3],children:c[3]}),(0,k.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-right text-primary",children:c[4]}),(0,k.jsx)("td",{className:"px-3 py-1.5 border-r border-border text-right text-success",children:c[5]}),(0,k.jsx)("td",{className:`px-3 py-1.5 font-bold ${g?"text-success":f?"text-error":"text-primary animate-pulse"}`,children:d})]},`${c[0]}-${c[1]}-${c[3]}`)})})]})})}),(0,k.jsx)("div",{className:"text-[10px] text-text-muted italic",children:"Logs are loaded from the request history database."})]})}let aR={sm:"h-7 text-xs",md:"h-9 text-sm",lg:"h-11 text-base"},aS=[];function aT({options:a=aS,value:b,onChange:c,size:d="md",className:e}){return(0,k.jsx)("div",{className:(0,m.cn)("inline-flex items-center p-1 rounded-[10px] overflow-x-auto","bg-surface-2",e),children:a.map(a=>(0,k.jsxs)("button",{type:"button",onClick:()=>c(a.value),className:(0,m.cn)("shrink-0 px-4 rounded-[8px] font-medium transition-all",aR[d],b===a.value?"bg-surface text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[a.icon&&(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px] mr-1.5",children:a.icon}),a.label]},a.value))})}var aU=c(7989),aV=c(42148),aW=c(32433);function aX({children:a}){let[b,c]=(0,v.useState)(!1),d=(0,y.usePathname)(),e=(0,aW.i)(a=>a.notifications),f=(0,aW.i)(a=>a.removeNotification);return(0,k.jsxs)("div",{className:"flex h-screen w-full overflow-hidden bg-bg",children:[(0,k.jsx)("div",{className:"fixed top-4 right-4 z-[80] flex w-[min(92vw,380px)] flex-col gap-2",children:e.map(a=>{var b;let c="success"===(b=a.type)?{wrapper:"border-green-500/30 bg-green-500/10 text-green-600 dark:text-green-400",icon:"check_circle"}:"error"===b?{wrapper:"border-red-500/30 bg-red-500/10 text-red-600 dark:text-red-400",icon:"error"}:"warning"===b?{wrapper:"border-amber-500/30 bg-amber-500/10 text-amber-600 dark:text-amber-400",icon:"warning"}:{wrapper:"border-blue-500/30 bg-blue-500/10 text-blue-600 dark:text-blue-400",icon:"info"};return(0,k.jsx)("div",{className:`rounded-lg border px-3 py-2 shadow-lg backdrop-blur-sm ${c.wrapper}`,children:(0,k.jsxs)("div",{className:"flex items-start gap-2",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px] leading-5",children:c.icon}),(0,k.jsxs)("div",{className:"min-w-0 flex-1",children:[a.title?(0,k.jsx)("p",{className:"text-xs font-semibold mb-0.5",children:a.title}):null,(0,k.jsx)("p",{className:"text-xs whitespace-pre-wrap break-words",children:a.message})]}),a.dismissible?(0,k.jsx)("button",{type:"button",onClick:()=>f(a.id),className:"text-current/70 hover:text-current","aria-label":"Dismiss notification",children:(0,k.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"close"})}):null]})},a.id)})}),b&&(0,k.jsx)("div",{className:"fixed inset-0 z-40 bg-black/20 lg:hidden",onClick:()=>c(!1),"aria-hidden":"true"}),(0,k.jsx)("div",{className:"hidden lg:flex",children:(0,k.jsx)(L,{})}),(0,k.jsx)("div",{className:`fixed inset-y-0 left-0 z-50 transform lg:hidden transition-transform duration-300 ease-in-out ${b?"translate-x-0":"-translate-x-full"}`,children:(0,k.jsx)(L,{onClose:()=>c(!1)})}),(0,k.jsxs)("main",{className:"flex flex-col flex-1 h-full min-w-0 relative transition-colors duration-300 isolate",children:[(0,k.jsx)("div",{className:"landing-grid absolute inset-0 pointer-events-none -z-10","aria-hidden":"true"}),(0,k.jsx)(Z,{onMenuClick:()=>c(!0)},d),(0,k.jsx)("div",{className:`flex-1 overflow-y-auto custom-scrollbar ${"/dashboard/basic-chat"===d?"":"p-6 lg:p-10"} ${"/dashboard/basic-chat"===d?"flex flex-col overflow-hidden":""}`,children:(0,k.jsx)("div",{className:`${"/dashboard/basic-chat"===d?"flex-1 w-full h-full flex flex-col":"max-w-7xl mx-auto"}`,children:a})})]})]})}function aY({children:a}){return(0,k.jsxs)("div",{className:"min-h-screen flex flex-col relative bg-bg transition-colors duration-500 overflow-x-hidden selection:bg-primary/20 selection:text-primary",children:[(0,k.jsx)("div",{className:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] bg-primary/5 dark:bg-primary/5 rounded-full blur-[100px] pointer-events-none z-0"}),(0,k.jsx)("div",{className:"fixed bottom-0 right-0 w-[600px] h-[600px] bg-orange-200/20 dark:bg-orange-900/10 rounded-full blur-[120px] pointer-events-none z-0 translate-y-1/3 translate-x-1/3"}),(0,k.jsx)("div",{className:"absolute top-6 right-6 z-20",children:(0,k.jsx)(t,{variant:"card"})}),(0,k.jsx)("main",{className:"flex-1 flex flex-col items-center justify-center p-4 sm:p-6 z-10 w-full h-full",children:a})]})}let aZ=a=>(0,d.default)(a,{ssr:!1,loading:()=>null}),a$=aZ(()=>c.e(88).then(c.bind(c,10088))),a_=aZ(()=>Promise.all([c.e(6120),c.e(1536),c.e(9614)]).then(c.bind(c,99614))),a0=aZ(()=>c.e(259).then(c.bind(c,80259))),a1=aZ(()=>Promise.all([c.e(6120),c.e(1536),c.e(4029)]).then(c.bind(c,14029))),a2=aZ(()=>c.e(3738).then(c.bind(c,73738))),a3=aZ(()=>c.e(1248).then(c.bind(c,71248))),a4=aZ(()=>Promise.all([c.e(1248),c.e(8941)]).then(c.bind(c,48941))),a5=aZ(()=>c.e(8524).then(c.bind(c,58524))),a6=aZ(()=>c.e(127).then(c.bind(c,20127))),a7=aZ(()=>c.e(7502).then(c.bind(c,57502))),a8=aZ(()=>c.e(2884).then(c.bind(c,92884))),a9=aZ(()=>c.e(883).then(c.bind(c,40883))),ba=aZ(()=>c.e(2504).then(c.bind(c,52504))),bb=aZ(()=>c.e(5867).then(c.bind(c,65867))),bc=aZ(()=>Promise.resolve().then(c.bind(c,99851))),bd=aZ(()=>c.e(3787).then(c.bind(c,13787)))},44690:(a,b,c)=>{c.d(b,{cn:()=>d});function d(...a){return a.filter(Boolean).join(" ").replace(/\s+/g," ").trim()}},46696:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(44690);let f=[];function g({label:a,options:b=f,value:c,onChange:h,placeholder:i="Select an option",error:j,hint:k,disabled:l=!1,required:m=!1,className:n,selectClassName:o,...p}){return(0,d.jsxs)("div",{className:(0,e.cn)("flex flex-col gap-1.5",n),children:[a&&(0,d.jsxs)("label",{className:"text-sm font-medium text-text-main",children:[a,m&&(0,d.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsxs)("select",{value:c,onChange:h,disabled:l,className:(0,e.cn)("w-full py-2.5 px-3 pr-10 text-sm text-text-main","bg-surface-2 border border-transparent rounded-[10px] appearance-none","focus:outline-none focus:ring-2 focus:ring-brand-500/30 focus:border-brand-500/40","transition-all duration-150 disabled:opacity-50 disabled:cursor-not-allowed","text-[16px] sm:text-sm",j&&"ring-1 ring-red-500 focus:ring-2 focus:ring-red-500/40 border-red-500/40",o),...p,children:[(0,d.jsx)("option",{value:"",disabled:!0,children:i}),b.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))]}),(0,d.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"expand_more"})})]}),j&&(0,d.jsxs)("p",{className:"text-xs text-red-500 flex items-center gap-1",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"error"}),j]}),k&&!j&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:k})]})}},48853:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(66238),e=c(71183),f=c(5894),g=c(21700),h=c(7272);let i=a=>({en:{name:"English",flag:"\uD83C\uDDFA\uD83C\uDDF8"},vi:{name:"Tiếng Việt",flag:"\uD83C\uDDFB\uD83C\uDDF3"},"zh-CN":{name:"简体中文",flag:"\uD83C\uDDE8\uD83C\uDDF3"},"zh-TW":{name:"繁體中文",flag:"\uD83C\uDDF9\uD83C\uDDFC"},ja:{name:"日本語",flag:"\uD83C\uDDEF\uD83C\uDDF5"},"pt-BR":{name:"Portugu\xeas (Brasil)",flag:"\uD83C\uDDE7\uD83C\uDDF7"},"pt-PT":{name:"Portugu\xeas (Portugal)",flag:"\uD83C\uDDF5\uD83C\uDDF9"},ko:{name:"한국어",flag:"\uD83C\uDDF0\uD83C\uDDF7"},es:{name:"Espa\xf1ol",flag:"\uD83C\uDDEA\uD83C\uDDF8"},de:{name:"Deutsch",flag:"\uD83C\uDDE9\uD83C\uDDEA"},fr:{name:"Fran\xe7ais",flag:"\uD83C\uDDEB\uD83C\uDDF7"},he:{name:"עברית",flag:"\uD83C\uDDEE\uD83C\uDDF1"},ar:{name:"العربية",flag:"\uD83C\uDDF8\uD83C\uDDE6"},ru:{name:"Русский",flag:"\uD83C\uDDF7\uD83C\uDDFA"},pl:{name:"Polski",flag:"\uD83C\uDDF5\uD83C\uDDF1"},cs:{name:"Čeština",flag:"\uD83C\uDDE8\uD83C\uDDFF"},nl:{name:"Nederlands",flag:"\uD83C\uDDF3\uD83C\uDDF1"},tr:{name:"T\xfcrk\xe7e",flag:"\uD83C\uDDF9\uD83C\uDDF7"},uk:{name:"Українська",flag:"\uD83C\uDDFA\uD83C\uDDE6"},tl:{name:"Tagalog",flag:"\uD83C\uDDF5\uD83C\uDDED"},id:{name:"Indonesia",flag:"\uD83C\uDDEE\uD83C\uDDE9"},th:{name:"ไทย",flag:"\uD83C\uDDF9\uD83C\uDDED"},hi:{name:"हिन्दी",flag:"\uD83C\uDDEE\uD83C\uDDF3"},bn:{name:"বাংলা",flag:"\uD83C\uDDE7\uD83C\uDDE9"},ur:{name:"اردو",flag:"\uD83C\uDDF5\uD83C\uDDF0"},ro:{name:"Rom\xe2nă",flag:"\uD83C\uDDF7\uD83C\uDDF4"},sv:{name:"Svenska",flag:"\uD83C\uDDF8\uD83C\uDDEA"},it:{name:"Italiano",flag:"\uD83C\uDDEE\uD83C\uDDF9"},el:{name:"Ελληνικά",flag:"\uD83C\uDDEC\uD83C\uDDF7"},hu:{name:"Magyar",flag:"\uD83C\uDDED\uD83C\uDDFA"},fi:{name:"Suomi",flag:"\uD83C\uDDEB\uD83C\uDDEE"},da:{name:"Dansk",flag:"\uD83C\uDDE9\uD83C\uDDF0"},no:{name:"Norsk",flag:"\uD83C\uDDF3\uD83C\uDDF4"}})[a]||{name:a,flag:"\uD83C\uDF10"};function j({className:a="",isOpen:b,onClose:c,hideTrigger:k=!1}){let[l,m]=(0,e.useState)(()=>(function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${g.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,g.QC)(b)})()),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(!1),r=(0,e.useRef)(null),s="boolean"==typeof b,t=s?b:p,u=(0,e.useCallback)(a=>{s?!a&&c&&c(l):q(a)},[s,c,l]);(0,e.useRef)(u);let v=async a=>{if(a!==l&&!n){o(!0),u(!1);try{await fetch("/api/locale",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({locale:a})}),await (0,h.wn)(),m(a)}catch(a){console.error("Failed to set locale:",a)}finally{o(!1)}}};return(0,d.jsxs)("div",{className:a,children:[!k&&(0,d.jsxs)("button",{type:"button",onClick:()=>u(!t),disabled:n,className:"flex items-center gap-2 px-3 py-2 rounded-lg text-text-muted hover:text-text-main hover:bg-surface/60 transition-colors",title:"Language","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"}),(0,d.jsx)("span",{className:"text-sm font-medium",children:i(l).name}),(0,d.jsx)("span",{className:"text-lg",children:i(l).flag})]}),t&&(0,f.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4","data-i18n-skip":"true",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/30 backdrop-blur-sm",onClick:()=>u(!1),"aria-hidden":"true"}),(0,d.jsxs)("div",{ref:r,className:"relative w-full bg-surface border border-black/10 dark:border-white/10 rounded-xl shadow-2xl animate-in fade-in zoom-in-95 duration-200 max-w-2xl flex flex-col max-h-[80vh]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-black/5 dark:border-white/5",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Select Language"}),(0,d.jsx)("button",{type:"button",onClick:()=>u(!1),className:"p-1.5 rounded-lg text-text-muted hover:bg-black/5 dark:hover:bg-white/5 transition-colors","aria-label":"Close",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsx)("div",{className:"p-6 overflow-y-auto flex-1",children:(0,d.jsx)("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(100px,1fr))] gap-2",children:g.YZ.map(a=>{let b=l===a,c=i(a);return(0,d.jsxs)("button",{type:"button",onClick:()=>v(a),disabled:n,className:`flex flex-col items-center justify-start gap-1 px-2 py-3 rounded-lg text-xs font-medium transition-colors w-full ${b?"bg-primary/15 text-primary ring-2 ring-primary":"text-text-main hover:bg-black/5 dark:hover:bg-white/5"} ${n?"opacity-70 cursor-wait":""}`,title:c.name,children:[(0,d.jsx)("span",{className:"text-2xl",children:c.flag}),(0,d.jsx)("span",{className:"text-center leading-tight line-clamp-2 h-8 flex items-center",children:c.name}),b&&(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check"})]},a)})})})]})]}),document.body)]})}},57900:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(44690);let f={sm:{track:"w-8 h-4",thumb:"size-3",translate:"translate-x-4"},md:{track:"w-11 h-6",thumb:"size-5",translate:"translate-x-5"},lg:{track:"w-14 h-7",thumb:"size-6",translate:"translate-x-7"}};function g({checked:a=!1,onChange:b,label:c,description:h,disabled:i=!1,size:j="md",className:k,"aria-label":l,title:m}){return(0,d.jsxs)("div",{className:(0,e.cn)("flex items-center gap-3",i&&"opacity-50 cursor-not-allowed",k),children:[(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,"aria-label":l||c||m||"Toggle",disabled:i,onClick:()=>{!i&&b&&b(!a)},className:(0,e.cn)("relative inline-flex shrink-0 cursor-pointer rounded-full","transition-colors duration-200 ease-in-out","focus:outline-none focus:ring-2 focus:ring-brand-500/30",a?"bg-brand-500":"bg-surface-3",f[j].track,i&&"cursor-not-allowed"),children:(0,d.jsx)("span",{className:(0,e.cn)("pointer-events-none inline-block rounded-full bg-white shadow-sm","transform transition duration-200 ease-in-out",a?f[j].translate:"translate-x-0.5",f[j].thumb,"mt-0.5")})}),(c||h)&&(0,d.jsxs)("div",{className:"flex flex-col",children:[c&&(0,d.jsx)("span",{className:"text-sm font-medium text-text-main",children:c}),h&&(0,d.jsx)("span",{className:"text-xs text-text-muted",children:h})]})]})}},75244:(a,b,c)=>{c.d(b,{D:()=>i});var d=c(71183),e=c(97243);function f(a){return()=>{}}function g(){return!1}function h(){return!1}function i(){let{theme:a,setTheme:b,toggleTheme:c,initTheme:i}=(0,e.A)(),j=(0,d.useSyncExternalStore)(f,g,h);return{theme:a,setTheme:b,toggleTheme:c,isDark:"dark"===a||"system"===a&&j}}},75814:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(66238),e=c(44690);function f({label:a,type:b="text",placeholder:c,value:g,onChange:h,error:i,hint:j,icon:k,disabled:l=!1,required:m=!1,className:n,inputClassName:o,...p}){return(0,d.jsxs)("div",{className:(0,e.cn)("flex flex-col gap-1.5",n),children:[a&&(0,d.jsxs)("label",{className:"text-sm font-medium text-text-main",children:[a,m&&(0,d.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,d.jsxs)("div",{className:"relative",children:[k&&(0,d.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:k})}),(0,d.jsx)("input",{type:b,placeholder:c,value:g,onChange:h,disabled:l,className:(0,e.cn)("w-full py-2.5 px-3 text-sm text-text-main bg-surface-2 rounded-[10px]","border border-transparent placeholder-text-muted/70","focus:outline-none focus:ring-2 focus:ring-brand-500/30 focus:border-brand-500/40","transition-all duration-150 ease-out disabled:opacity-50 disabled:cursor-not-allowed","text-[16px] sm:text-sm",k&&"pl-10",i&&"ring-1 ring-red-500 focus:ring-2 focus:ring-red-500/40 border-red-500/40",o),...p})]}),i&&(0,d.jsxs)("p",{className:"text-xs text-red-500 flex items-center gap-1",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"error"}),i]}),j&&!i&&(0,d.jsx)("p",{className:"text-xs text-text-muted",children:j})]})}},75883:(a,b,c)=>{c.d(b,{C:()=>d});let d=(0,c(23654).v)(a=>({query:"",placeholder:"",visible:!1,setQuery:b=>a({query:b}),register:(b="Search...")=>a({visible:!0,placeholder:b,query:""}),unregister:()=>a({visible:!1,placeholder:"",query:""})}))},87571:(a,b,c)=>{c.d(b,{C:()=>e});var d=c(71183);function e(a=2e3){let[b,c]=(0,d.useState)(null),f=(0,d.useRef)(null);return{copied:b,copy:(0,d.useCallback)((b,d="default")=>{(async()=>{if(navigator?.clipboard?.writeText)await navigator.clipboard.writeText(b);else{let a=document.createElement("textarea");a.value=b,a.style.position="fixed",a.style.opacity="0",document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a)}})(),c(d),f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{c(null)},a)},[a])}}},93864:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(66238),e=c(44690);let f={primary:"bg-brand-500 hover:bg-brand-600 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted",secondary:"bg-surface-2 hover:bg-surface-3 text-text-main border border-border disabled:opacity-50",outline:"border border-border text-text-main hover:bg-surface-2 hover:border-brand-500/40",ghost:"text-text-muted hover:bg-surface-2 hover:text-text-main",danger:"bg-red-500 hover:bg-red-600 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted",success:"bg-green-600 hover:bg-green-700 text-white shadow-sm disabled:bg-surface-3 disabled:text-text-muted"},g={sm:"h-7 px-3 text-xs rounded-[8px]",md:"h-9 px-4 text-sm rounded-[10px]",lg:"h-11 px-6 text-sm rounded-[10px]"};function h({children:a,variant:b="primary",size:c="md",icon:i,iconRight:j,disabled:k=!1,loading:l=!1,fullWidth:m=!1,className:n,...o}){return(0,d.jsxs)("button",{type:"button",className:(0,e.cn)("inline-flex items-center justify-center gap-2 font-semibold transition-all duration-150 ease-out cursor-pointer","active:scale-[0.97] disabled:opacity-50 disabled:cursor-not-allowed disabled:active:scale-100",f[b],g[c],m&&"w-full",n),disabled:k||l,...o,children:[l?(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[18px]",children:"progress_activity"}):i?(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:i}):null,a,j&&!l&&(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:j})]})}},95988:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(71183),f=c(15901);function g({src:a,alt:b,size:c=32,className:h="",fallbackText:i="?",fallbackColor:j}){let[k,l]=(0,e.useState)(!1);return!a||k?(0,d.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-lg ${h}`.trim(),style:{width:c,height:c,color:j,fontSize:Math.max(10,Math.floor(.38*c))},children:i}):(0,d.jsx)(f.default,{src:a,alt:b,width:c,height:c,className:h,onError:()=>l(!0),unoptimized:!0})}},98180:(a,b,c)=>{c.d(b,{h:()=>d});let d={en:"\uD83C\uDDFA\uD83C\uDDF8",vi:"\uD83C\uDDFB\uD83C\uDDF3","zh-CN":"\uD83C\uDDE8\uD83C\uDDF3","zh-TW":"\uD83C\uDDF9\uD83C\uDDFC",ja:"\uD83C\uDDEF\uD83C\uDDF5","pt-BR":"\uD83C\uDDE7\uD83C\uDDF7","pt-PT":"\uD83C\uDDF5\uD83C\uDDF9",ko:"\uD83C\uDDF0\uD83C\uDDF7",es:"\uD83C\uDDEA\uD83C\uDDF8",de:"\uD83C\uDDE9\uD83C\uDDEA",fr:"\uD83C\uDDEB\uD83C\uDDF7",he:"\uD83C\uDDEE\uD83C\uDDF1",ar:"\uD83C\uDDF8\uD83C\uDDE6",ru:"\uD83C\uDDF7\uD83C\uDDFA",pl:"\uD83C\uDDF5\uD83C\uDDF1",cs:"\uD83C\uDDE8\uD83C\uDDFF",nl:"\uD83C\uDDF3\uD83C\uDDF1",tr:"\uD83C\uDDF9\uD83C\uDDF7",uk:"\uD83C\uDDFA\uD83C\uDDE6",tl:"\uD83C\uDDF5\uD83C\uDDED",id:"\uD83C\uDDEE\uD83C\uDDE9",th:"\uD83C\uDDF9\uD83C\uDDED",hi:"\uD83C\uDDEE\uD83C\uDDF3",bn:"\uD83C\uDDE7\uD83C\uDDE9",ur:"\uD83C\uDDF5\uD83C\uDDF0",ro:"\uD83C\uDDF7\uD83C\uDDF4",sv:"\uD83C\uDDF8\uD83C\uDDEA",it:"\uD83C\uDDEE\uD83C\uDDF9",el:"\uD83C\uDDEC\uD83C\uDDF7",hu:"\uD83C\uDDED\uD83C\uDDFA",fi:"\uD83C\uDDEB\uD83C\uDDEE",da:"\uD83C\uDDE9\uD83C\uDDF0",no:"\uD83C\uDDF3\uD83C\uDDF4"}},99842:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(44690);let f={none:"",xs:"p-3",sm:"p-4",md:"p-6",lg:"p-8"};function g({children:a,title:b,subtitle:c,icon:h,action:i,padding:j="md",hover:k=!1,elev:l=!1,className:m,...n}){return(0,d.jsxs)("div",{className:(0,e.cn)("bg-surface border border-border-subtle",l?"rounded-[14px] shadow-[var(--shadow-elev)]":"rounded-[14px] shadow-[var(--shadow-soft)]",k&&"hover:shadow-[var(--shadow-warm)] hover:border-brand-500/30 transition-all cursor-pointer",f[j],m),...n,children:[(b||i)&&(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[h&&(0,d.jsx)("div",{className:"p-2 rounded-[10px] bg-bg text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:h})}),(0,d.jsxs)("div",{children:[b&&(0,d.jsx)("h3",{className:"text-text-main font-semibold",children:b}),c&&(0,d.jsx)("p",{className:"text-sm text-text-muted",children:c})]})]}),i]}),a]})}g.Section=function({children:a,className:b,...c}){return(0,d.jsx)("div",{className:(0,e.cn)("p-4 rounded-[10px]","bg-bg border border-border-subtle",b),...c,children:a})},g.Row=function({children:a,className:b,...c}){return(0,d.jsx)("div",{className:(0,e.cn)("p-3 -mx-3 px-3 transition-colors","border-b border-border-subtle last:border-b-0","hover:bg-surface-2/50",b),...c,children:a})},g.ListItem=function({children:a,actions:b,className:c,...f}){return(0,d.jsxs)("div",{className:(0,e.cn)("group flex items-center justify-between p-3 -mx-3 px-3","border-b border-border-subtle last:border-b-0","hover:bg-surface-2/50 transition-colors",c),...f,children:[(0,d.jsx)("div",{className:"flex-1 min-w-0",children:a}),b&&(0,d.jsx)("div",{className:"flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:b})]})}},99851:(a,b,c)=>{c.r(b),c.d(b,{default:()=>h});var d=c(66238),e=c(71183),f=c(5894),g=c(25141);function h({isOpen:a,onClose:b}){let[c,g]=(0,e.useState)({html:"",loading:!1,error:""}),i=(0,e.useRef)(null);if((0,e.useRef)(!1),(0,e.useRef)(b),!a||"u"<typeof document)return null;let{html:j,loading:k,error:l}=c;return(0,f.createPortal)((0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/30 backdrop-blur-sm",onClick:b,"aria-hidden":"true"}),(0,d.jsxs)("div",{ref:i,className:"relative w-full bg-surface border border-black/10 dark:border-white/10 rounded-xl shadow-2xl animate-in fade-in zoom-in-95 duration-200 max-w-3xl flex flex-col max-h-[85vh]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-black/5 dark:border-white/5",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Change Log"}),(0,d.jsx)("button",{type:"button",onClick:b,className:"p-1.5 rounded-lg text-text-muted hover:bg-black/5 dark:hover:bg-white/5 transition-colors","aria-label":"Close",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,d.jsxs)("div",{className:"p-6 overflow-y-auto flex-1",children:[k&&(0,d.jsxs)("div",{className:"flex items-center justify-center py-10 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin mr-2",children:"progress_activity"}),"Loading..."]}),l&&(0,d.jsxs)("div",{className:"text-red-500 py-4",children:["Failed to load changelog: ",l]}),!k&&!l&&j&&(0,d.jsx)("div",{className:"changelog-body text-text-main",dangerouslySetInnerHTML:{__html:j}})]})]})]}),document.body)}c(13717),g.xI.setOptions({gfm:!0,breaks:!0})}};
|