vansrouter 0.91.87 → 0.91.89
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/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +10 -10
- package/app/.next-cli-build/build-manifest.json +3 -3
- package/app/.next-cli-build/prerender-manifest.json +3 -3
- package/app/.next-cli-build/react-loadable-manifest.json +4 -4
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +19 -19
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- 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-fitness/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-fitness/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-fitness/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
- 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/pxpipe/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/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 +1 -1
- 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 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- 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 +1 -1
- 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.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 +2 -2
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- 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 +2 -2
- 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/login/route.js.nft.json +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/oidc/callback/route.js.nft.json +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/test/route.js.nft.json +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/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
- 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/antigravity-mitm/alias/route.js.nft.json +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/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/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/codewhale-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +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/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/cowork-mcp-registry/route.js.nft.json +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-settings/route.js +1 -1
- 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/crush-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +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/devin-settings/route.js.nft.json +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/forge-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +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/jcode-settings/route.js +2 -2
- 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/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/omp-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +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/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/pi-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +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/presets/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +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/headroom/extras/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +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/status/route.js.nft.json +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/health/route.js.nft.json +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/keys/[id]/route.js.nft.json +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/locale/route.js.nft.json +1 -1
- 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]/sse/route.js.nft.json +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/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/inworld/voices/route.js.nft.json +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/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/models/alias/route.js.nft.json +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/catalog-sync/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +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/disabled/route.js.nft.json +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/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/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/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/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/cursor/auto-import/route.js.nft.json +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/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +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/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/auto-import/route.js.nft.json +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-cli-proxy/route.js.nft.json +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-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/zed/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +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/provider-nodes/[id]/route.js.nft.json +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/validate/route.js +2 -2
- 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/providers/[id]/gcp-projects/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/gcp-projects/route.js.nft.json +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]/overrides/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +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]/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-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/bulk/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/bulk/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/circuit-breakers/[name]/reset/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/circuit-breakers/route.js.nft.json +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/kilo/free-models/route.js.nft.json +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/suggested-models/route.js +2 -2
- 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/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/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/proxy-pools/[id]/fitness/clear/route.js.nft.json +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]/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/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/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/fitness/clear-all/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/fitness/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +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/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/pxpipe/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/ready/route.js +1 -1
- package/app/.next-cli-build/server/app/api/ready/route.js.nft.json +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/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/require-login/route.js.nft.json +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/shutdown/route.js.nft.json +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/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/stream/route.js +1 -1
- 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/load/route.js.nft.json +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/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/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/tunnel/disable/route.js.nft.json +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/status/route.js.nft.json +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-disable/route.js.nft.json +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-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/usage/[connectionId]/claude-reset/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +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]/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/chart/route.js.nft.json +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/logs/route.js.nft.json +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/request-details/[id]/route.js.nft.json +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-logs/route.js.nft.json +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/stream/route.js.nft.json +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/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/transcriptions/route.js +7 -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/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/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/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/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/messages/count_tokens/route.js.nft.json +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/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/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/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/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/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/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/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/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +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/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/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/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/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/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/callback/page.js +1 -1
- 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 +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- 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 +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- 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 +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard/proxy-fitness/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard/proxy-fitness.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- 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 +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
- 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 +2 -2
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
- 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 +4 -4
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- 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 +1 -1
- 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 +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
- 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 +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- 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 +5 -5
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
- 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 +4 -4
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- 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.nft.json +1 -1
- package/app/.next-cli-build/server/app/masuk/page.js +1 -1
- 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 +10 -10
- package/app/.next-cli-build/server/chunks/1253.js +1 -1
- package/app/.next-cli-build/server/chunks/1685.js +4 -4
- package/app/.next-cli-build/server/chunks/1693.js +14 -14
- package/app/.next-cli-build/server/chunks/2098.js +1 -1
- package/app/.next-cli-build/server/chunks/224.js +1 -1
- package/app/.next-cli-build/server/chunks/2247.js +1 -1
- package/app/.next-cli-build/server/chunks/228.js +1 -1
- package/app/.next-cli-build/server/chunks/2365.js +1 -1
- package/app/.next-cli-build/server/chunks/2557.js +9 -9
- package/app/.next-cli-build/server/chunks/2741.js +5 -5
- package/app/.next-cli-build/server/chunks/2994.js +1 -1
- package/app/.next-cli-build/server/chunks/3059.js +1 -1
- package/app/.next-cli-build/server/chunks/3129.js +9 -0
- package/app/.next-cli-build/server/chunks/3519.js +1 -1
- package/app/.next-cli-build/server/chunks/{4574.js → 3548.js} +4 -12
- package/app/.next-cli-build/server/chunks/3738.js +1 -1
- package/app/.next-cli-build/server/chunks/3909.js +7 -0
- package/app/.next-cli-build/server/chunks/4105.js +1 -1
- package/app/.next-cli-build/server/chunks/4121.js +1 -1
- package/app/.next-cli-build/server/chunks/4387.js +1 -1
- package/app/.next-cli-build/server/chunks/4784.js +1 -0
- package/app/.next-cli-build/server/chunks/5376.js +1 -1
- package/app/.next-cli-build/server/chunks/5661.js +2 -0
- package/app/.next-cli-build/server/chunks/6127.js +1 -0
- package/app/.next-cli-build/server/chunks/6385.js +1 -1
- package/app/.next-cli-build/server/chunks/6635.js +120 -0
- package/app/.next-cli-build/server/chunks/6723.js +1 -1
- package/app/.next-cli-build/server/chunks/6797.js +1 -0
- package/app/.next-cli-build/server/chunks/7010.js +1 -1
- package/app/.next-cli-build/server/chunks/7074.js +1 -1
- package/app/.next-cli-build/server/chunks/7104.js +1 -1
- package/app/.next-cli-build/server/chunks/7173.js +1 -0
- package/app/.next-cli-build/server/chunks/7601.js +1 -0
- package/app/.next-cli-build/server/chunks/7622.js +1 -0
- package/app/.next-cli-build/server/chunks/77.js +1 -0
- package/app/.next-cli-build/server/chunks/7863.js +1 -1
- package/app/.next-cli-build/server/chunks/7950.js +1 -1
- package/app/.next-cli-build/server/chunks/8413.js +1 -1
- package/app/.next-cli-build/server/chunks/8695.js +1 -0
- package/app/.next-cli-build/server/chunks/9152.js +1 -0
- package/app/.next-cli-build/server/chunks/9462.js +3 -3
- package/app/.next-cli-build/server/chunks/9536.js +1 -1
- package/app/.next-cli-build/server/chunks/9813.js +1 -1
- package/app/.next-cli-build/server/chunks/9974.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 +6 -6
- 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/4385-cbf2781a85164825.js +1 -0
- package/app/.next-cli-build/static/chunks/{5882-1249cbe42852fd96.js → 5882-bb73715e79a1edc7.js} +15 -15
- package/app/.next-cli-build/static/chunks/7811.44f1e90e48ee2405.js +7 -0
- package/app/.next-cli-build/static/chunks/{9131-d37a1bf502688d4e.js → 9131-5c48f6b07c55928d.js} +2 -2
- package/app/.next-cli-build/static/chunks/{8667.b22b7da66acd945f.js → 9752.f8753c75713960c0.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-695c6386c328069c.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-7a18b45a954e3c68.js → page-6fb9dbec413202a9.js} +24 -24
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-a6d3f510934cc6a5.js → page-b15161b2f2dbe57a.js} +4 -4
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-350e9dd8ec551006.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-f3837ee992c42414.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-c7d23dc2ea52f500.js +1 -0
- package/app/.next-cli-build/static/chunks/webpack-a0ce735078312e9a.js +1 -0
- package/app/.next-cli-build/static/css/e277fef3d96cd619.css +1 -0
- package/app/package.json +3 -3
- package/app/public/i18n/literals/fa.json +1 -1
- package/app/public/i18n/literals/id.json +1366 -170
- package/app/public/i18n/literals/km.json +1398 -0
- package/app/public/i18n/literals/pt-BR.json +1 -1
- package/app/public/i18n/literals/th.json +1 -1
- package/app/public/i18n/literals/zh-CN.json +1 -1
- package/app/public/providers/nace.png +0 -0
- package/app/public/providers/sensenova.png +0 -0
- package/app/src/app/(dashboard)/dashboard/cli-tools/components/GenericCliToolCard.js +69 -11
- package/app/src/app/(dashboard)/dashboard/combos/page.js +71 -19
- package/app/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js +1 -1
- package/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/components/SttExampleCard.js +2 -5
- package/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/components/TtsExampleCard.js +94 -11
- package/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/components/exampleShared.js +2 -0
- package/app/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +6 -1
- package/app/src/app/(dashboard)/dashboard/token-saver/TokenSaverClient.js +18 -0
- package/app/src/app/(dashboard)/dashboard/token-saver/TokenSaverSettings.js +37 -0
- package/app/src/app/(dashboard)/dashboard/translator/page.js +9 -2
- package/app/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/QuotaTable.js +4 -2
- package/app/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.js +16 -1
- package/app/src/app/api/cli-tools/pi-settings/route.js +32 -14
- package/app/src/app/api/providers/[id]/test/testUtils.js +40 -1
- package/app/src/app/api/providers/validate/route.js +1 -0
- package/app/src/lib/db/driver.js +27 -0
- package/app/src/lib/db/helpers/nullBytes.js +28 -0
- package/app/src/lib/db/repos/settingsRepo.js +3 -0
- package/app/src/mitm/server.js +24 -24
- package/app/src/shared/constants/monaco.js +7 -0
- package/app/src/shared/constants/ttsProviders.js +16 -0
- package/app/src/shared/utils/bulkAdd.js +3 -0
- package/app/src/shared/utils/modelSearchFilter.js +2 -0
- package/app/src/sse/handlers/chat.js +2 -0
- package/app/src/sse/handlers/imageGeneration.js +12 -0
- package/app/src/sse/handlers/stt.js +31 -4
- package/app/src/sse/handlers/tts.js +9 -2
- package/package.json +1 -1
- package/app/.next-cli-build/server/chunks/1691.js +0 -1
- package/app/.next-cli-build/server/chunks/2445.js +0 -1
- package/app/.next-cli-build/server/chunks/2764.js +0 -1
- package/app/.next-cli-build/server/chunks/3280.js +0 -7
- package/app/.next-cli-build/server/chunks/3398.js +0 -120
- package/app/.next-cli-build/server/chunks/3650.js +0 -1
- package/app/.next-cli-build/server/chunks/3712.js +0 -1
- package/app/.next-cli-build/server/chunks/3750.js +0 -1
- package/app/.next-cli-build/server/chunks/5302.js +0 -1
- package/app/.next-cli-build/server/chunks/634.js +0 -1
- package/app/.next-cli-build/server/chunks/8729.js +0 -2
- package/app/.next-cli-build/server/chunks/9984.js +0 -1
- package/app/.next-cli-build/static/chunks/4385-03007e8e097ad6f8.js +0 -1
- package/app/.next-cli-build/static/chunks/7811.b41ad2c055232420.js +0 -7
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-db17236a5b2183ab.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-85770718a5ce696c.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-700aef5520cd0812.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-7fa12dc3d0d68dca.js +0 -1
- package/app/.next-cli-build/static/chunks/webpack-619acf270537f5d4.js +0 -1
- package/app/.next-cli-build/static/css/918f11e454be0692.css +0 -1
- /package/app/.next-cli-build/static/{-8-NstHfD1iTKOGgb6O6F → LbAvi6x-snQC6rsQ9_c6d}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{-8-NstHfD1iTKOGgb6O6F → LbAvi6x-snQC6rsQ9_c6d}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=228,exports.ids=[228],exports.modules={1219:(a,b,c)=>{c.d(b,{HY:()=>h,Kw:()=>i});let d={"perplexity-agent":"perplexity","gitlab-duo":"gitlab","vercel-ai-gateway":"vercel",perplexing:"perplexity",kilo:"kilocode","kilo-gateway":"kilocode","codebuddy-intl":"codebuddy-cn","alims-intl":"alicode-intl","qoder-cn":"qoder","ollama-search":"ollama","minimax-code":"minimax","minimax-code-global":"minimax"},e=new Set;function f(a){return a&&"string"==typeof a?a.trim().toLowerCase():""}let g=new Set(["devin-cli","vercel","venice","perplexity-agent","morph","novita","agentrouter","grok-cli","clinepass","freebuff","mmf"]);function h(a){let b=function(a){let b=f(a);if(!b||e.has(b))return"";let c=d[b]||b;return e.has(c)?"":c}(a);if(!b)return null;let c=g.has(b)?"png":"webp";return`/providers/${b}.${c}`}function i(a){let b=f(a);b&&e.add(b);let c=d[b];c&&e.add(c)}},5508:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(44690),f=c(93864);function g({currentPage:a,pageSize:b,totalItems:c,onPageChange:h,onPageSizeChange:i,className:j}){let k=Math.ceil(c/b),l=c>0?(a-1)*b+1:0,m=Math.min(a*b,c),n=(()=>{let b=[],c=Math.max(1,a-2),d=Math.min(k,c+5-1);d-c+1<5&&(c=Math.max(1,d-5+1));for(let a=c;a<=d;a++)b.push(a);return b})();return(0,d.jsxs)("div",{className:(0,e.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",j),children:[c>0&&(0,d.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:l})," to"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:m})," of"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:c})," results"]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[i&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,d.jsx)("select",{value:b,onChange:a=>i(Number(a.target.value)),className:(0,e.cn)("h-9 rounded-lg border border-black/10 dark:border-white/10 bg-surface","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","cursor-pointer"),style:{colorScheme:"auto"},children:[10,20,50].map(a=>(0,d.jsx)("option",{value:a,children:a},a))})]}),k>1&&(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(f.A,{variant:"outline",size:"sm",onClick:()=>h(a-1),disabled:1===a,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),n[0]>1&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.A,{variant:"ghost",size:"sm",onClick:()=>h(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),n[0]>2&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),n.map(b=>(0,d.jsx)(f.A,{variant:a===b?"primary":"ghost",size:"sm",onClick:()=>h(b),className:(0,e.cn)("w-9 px-0",a===b?"inline-flex":"hidden sm:inline-flex"),children:b},b)),n[n.length-1]<k&&(0,d.jsxs)(d.Fragment,{children:[n[n.length-1]<k-1&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,d.jsx)(f.A,{variant:"ghost",size:"sm",onClick:()=>h(k),className:"w-9 px-0 hidden sm:inline-flex",children:k})]}),(0,d.jsx)(f.A,{variant:"outline",size:"sm",onClick:()=>h(a+1),disabled:a===k,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}},7989:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(71183),f=c(5894);function g({text:a,children:b,position:c="top",color:h}){let i=(0,e.useRef)(null),[j,k]=(0,e.useState)(null);return(0,d.jsxs)("div",{ref:i,className:"relative inline-flex",onMouseEnter:()=>{let a=i.current?.getBoundingClientRect();if(!a)return;let b=a.left+a.width/2,d=a.top+a.height/2;k({position:"fixed",..."bottom"===c?{top:a.bottom+6,left:b,transform:"translateX(-50%)"}:"left"===c?{right:window.innerWidth-a.left+6,top:d,transform:"translateY(-50%)"}:"right"===c?{left:a.right+6,top:d,transform:"translateY(-50%)"}:{bottom:window.innerHeight-a.top+6,left:b,transform:"translateX(-50%)"}})},onMouseLeave:()=>k(null),children:[b,j&&(0,f.createPortal)((0,d.jsx)("div",{className:`pointer-events-none z-50 w-max max-w-56 rounded px-2 py-1 text-[11px] leading-snug text-white whitespace-normal ${h?"":"bg-gray-900"}`,style:{...j,...h?{backgroundColor:h}:{}},children:a}),document.body)]})}},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})})}},40228:(a,b,c)=>{c.r(b),c.d(b,{AddCustomEmbeddingModal:()=>aF,AuthLayout:()=>aq,Avatar:()=>o,Badge:()=>p.A,Button:()=>e.A,CapacityBadges:()=>an.A,Card:()=>h.A,CardSkeleton:()=>j.CardSkeleton,ChangelogModal:()=>aH,ComboFormModal:()=>av,ConfirmModal:()=>i.u,CursorAuthModal:()=>aA,DashboardLayout:()=>ap,EditConnectionModal:()=>aE,Footer:()=>ad,GitLabAuthModal:()=>aD,Header:()=>$,HeaderMenu:()=>O,IFlowCookieModal:()=>aC,Input:()=>f.A,KiroAuthModal:()=>ax,KiroOAuthWrapper:()=>ay,KiroSocialOAuthModal:()=>az,LanguageSwitcher:()=>R.A,Loading:()=>j.Ay,ManualConfigModal:()=>au,McpMarketplaceModal:()=>aw,Modal:()=>i.A,ModelSelectModal:()=>at,NineRemoteButton:()=>ah,NoAuthProxyCard:()=>aG,OAuthModal:()=>as,PageLoading:()=>j.WL,Pagination:()=>u.A,ProviderInfoCard:()=>aI,RequestLogger:()=>ai,SegmentedControl:()=>al,Select:()=>g.A,Sidebar:()=>J,Skeleton:()=>j.EA,Spinner:()=>j.y$,ThemeProvider:()=>v.ThemeProvider,ThemeToggle:()=>t,Toggle:()=>q.A,Tooltip:()=>am.A,ZedAuthModal:()=>aB});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(5508),v=c(73062),w=c(71183),x=c(84725),y=c.n(x),z=c(68344),A=c(13717),B=c(53207),C=c(87571);let D=(0,d.default)(async()=>{},{loadableGenerated:{modules:["shared/components/Sidebar.js -> ./ChangelogModal"]},ssr:!1}),E=["embedding","image","video","tts","stt"],F="/dashboard/media-providers/web",G=[{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"}],H=[{href:"/dashboard/console-log",label:"Console Log",icon:"terminal"},{href:"/dashboard/translator",label:"Translator",icon:"translate"}],I=[{href:"/dashboard/proxy-pools",label:"Proxy Pools",icon:"lan"},{href:"/dashboard/proxy-fitness",label:"Proxy Fitness",icon:"network_check"},{href:"/dashboard/skills",label:"Skills",icon:"extension"}];function J({onClose:a}){let b=(0,z.usePathname)(),[c,d]=(0,w.useState)(!1),[f,g]=(0,w.useState)(!1),[h,j]=(0,w.useState)(!1),[l,n]=(0,w.useState)(null),[o,p]=(0,w.useState)(!1),[q,r]=(0,w.useState)(!1),[s,t]=(0,w.useState)(0),[u,v]=(0,w.useState)(!1),{copied:x,copy:L}=(0,C.C)(2e3),M=A.h0.installCmdLatest,N=a=>"/dashboard/endpoint"===a?"/dashboard"===b||b.startsWith("/dashboard/endpoint"):b.startsWith(a),O=async()=>{try{await navigator.clipboard.writeText(M)}catch{}L(M);let a=A.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)(y(),{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:A.vQ.name}),(0,k.jsxs)("span",{className:"text-xs text-text-muted",children:["v",A.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]}),(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:()=>L(l.installCommand||M),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:x?"✓ copied!":l.installCommand||M})})]}),(0,k.jsx)("div",{className:"flex items-center mt-0.5",children:(0,k.jsxs)("button",{type:"button",onClick:()=>g(!0),className:"text-[10px] text-green-600/80 hover:text-green-700 dark:text-amber-500/80 dark:hover:text-amber-400 hover:underline flex items-center gap-1 cursor-pointer",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"description"}),"Check new changelog"]})})]})]}),(0,k.jsxs)("nav",{className:"flex-1 px-4 py-2 space-y-0.5 overflow-y-auto custom-scrollbar",children:[G.map(b=>(0,k.jsxs)(y(),{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:[B.rj.filter(a=>E.includes(a.id)).map(c=>(0,k.jsxs)(y(),{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)(y(),{href:F,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-4 py-1 rounded-lg transition-all group",b.startsWith(F)?"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")]}),I.map(b=>(0,k.jsxs)(y(),{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)),H.map(b=>"/dashboard/translator"!==b.href||u?(0,k.jsxs)(y(),{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)("a",{href:"https://9remote.cc",target:"_blank",rel:"noreferrer",onClick:a,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:"9Remote"}),(0,k.jsx)("span",{className:"ml-auto text-[10px] font-semibold px-1 py-0.5 rounded-[3px] bg-orange-500/15 text-orange-400",children:"HOT"})]}),(0,k.jsxs)(y(),{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)(D,{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)(K,{latestVersion:l?.latestVersion,installCmd:M,copied:x,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 K({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 L=c(95988);let M=(0,d.default)(async()=>{},{loadableGenerated:{modules:["shared/components/HeaderMenu.js -> ./ChangelogModal"]},ssr:!1});function N({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 O({onLogout:a}){let[b,c]=(0,w.useState)(!1),[d,e]=(0,w.useState)(!1),[f,g]=(0,w.useState)(!1),[h,j]=(0,w.useState)(!1),{toggleTheme:l,isDark:m}=(0,r.D)(),n=(0,w.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)(N,{icon:"history",label:"Change Log",onClick:()=>{c(!1),e(!0)}}),(0,k.jsx)(N,{icon:m?"light_mode":"dark_mode",label:"Theme",onClick:()=>{l(),c(!1)}}),(0,k.jsx)(N,{icon:"power_settings_new",label:"Shutdown",danger:!0,onClick:()=>{c(!1),g(!0)}}),(0,k.jsx)(N,{icon:"logout",label:"Logout",danger:!0,onClick:()=>{c(!1),a()}})]})]}),(0,k.jsx)(M,{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 P=c(21700),Q=c(98180),R=c(48853);function S(){let[a,b]=(0,w.useState)(!1),c=function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${P.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,P.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:Q.h[c]||"\uD83C\uDF10"})}),(0,k.jsx)(R.A,{hideTrigger:!0,isOpen:a,onClose:()=>b(!1)})]})}var T=c(5894);let U={title:"Support VansRouter",message:"Terima kasih telah mendukung pengembangan VansRouter agar infrastruktur dan fitur baru terus aktif!",channels:[{id:"saweria",label:"Saweria",description:"Dukung via QRIS, GoPay, OVO, DANA, LinkAja, ShopeePay",icon:"volunteer_activism",color:"#FAAE2B",url:"https://saweria.co/vanszs"},{id:"trakteer",label:"Trakteer",description:"Dukung via QRIS / E-Wallet / Bank Transfer",icon:"favorite",color:"#C9283E",url:"https://teer.id/bevan_satriaa"},{id:"kofi",label:"Ko-fi",description:"Support via Card or PayPal",icon:"local_cafe",color:"#13C3FF",url:"https://ko-fi.com/bevansatriaa"}]};function V({isOpen:a,onClose:b}){let[c,d]=(0,w.useState)({data:U,loading:!1,error:""}),e=(0,w.useRef)(null);if((0,w.useRef)(!1),(0,w.useRef)(b),!a||"u"<typeof document)return null;let{data:f,loading:g,error:h}=c;return(0,T.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(1219),Z=c(7272);function $({onMenuClick:a,showMenuButton:b=!0}){let c=(0,z.usePathname)(),[d,e]=(0,w.useState)(""),[f,g]=(0,w.useState)(""),[h,i]=(0,w.useState)(!1),{title:j,description:l,icon:m,breadcrumbs:n}=(0,w.useMemo)(()=>(a=>{if(!a)return{title:"",description:"",breadcrumbs:[]};let b=a.match(/\/media-providers\/([^/]+)\/([^/]+)$/);if(b){let a=b[1],c=b[2],d=B.rj.find(b=>b.id===a),e=B.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:(0,Y.HY)(c)}]}}let c=a.match(/\/media-providers\/([^/]+)$/);if(c){let a=c[1],b=B.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=A.zN[a]||A.fg[a];if(b)return{title:b.name,description:"",breadcrumbs:[{label:"Providers",href:"/dashboard/providers"},{label:b.name,image:(0,Y.HY)(b.id)}]}}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-1.5 sm:gap-2 min-w-0",children:n.map((a,b)=>(0,k.jsxs)("div",{className:`items-center gap-1.5 sm:gap-2 min-w-0 ${b<n.length-1?"hidden sm:flex shrink-0":"flex flex-1"}`,children:[b>0&&(0,k.jsx)("span",{className:"material-symbols-outlined text-text-muted text-base hidden sm:inline",children:"chevron_right"}),a.href?(0,k.jsx)(y(),{href:a.href,className:"text-text-muted hover:text-primary transition-colors truncate",children:a.label}):(0,k.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2 min-w-0",children:[a.image&&(0,k.jsx)(L.A,{src:a.image,alt:a.label,size:28,className:"object-contain rounded max-w-[24px] max-h-[24px] sm:max-w-[28px] sm:max-h-[28px] shrink-0",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,Z.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,Z.Tl)(j)})]}),l&&(0,k.jsx)("p",{className:"hidden lg:block text-sm text-text-muted truncate",children:(0,Z.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:"hidden sm: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 Me :3",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"volunteer_activism"}),(0,k.jsx)("span",{className:"hidden sm:inline",children:"Donate Me :3"})]}),(0,k.jsx)(t,{}),(0,k.jsx)(S,{}),(0,k.jsx)(O,{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 aa=[{label:"Features",href:"#features"},{label:"Pricing",href:"#pricing"},{label:"Changelog",href:"#"}],ab=[{label:"Documentation",href:"#"},{label:"API Reference",href:"#"},{label:"Help Center",href:"#"}],ac=[{label:"About",href:"#"},{label:"Blog",href:"#"},{label:"Contact",href:"#"}];function ad(){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:A.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:aa.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(y(),{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:ab.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(y(),{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:ac.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(y(),{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 ",A.vQ.name," Inc. All rights reserved."]}),(0,k.jsxs)("div",{className:"flex gap-6 text-sm text-text-muted",children:[(0,k.jsx)(y(),{href:"#",className:"hover:text-primary transition-colors",children:"Privacy Policy"}),(0,k.jsx)(y(),{href:"#",className:"hover:text-primary transition-colors",children:"Terms of Service"})]})]})]})})}let ae=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],af=[{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 ag({isOpen:a,onClose:b}){(0,w.useRef)(b);let[c,d]=(0,w.useState)(!1);return a&&c?(0,T.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:ae.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:af.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}function ah(){let[a,b]=(0,w.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)(ag,{isOpen:a,onClose:()=>b(!1)})]})}function ai(){let[a,b]=(0,w.useState)([]),[c,d]=(0,w.useState)(!0),[e,f]=(0,w.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 aj={sm:"h-7 text-xs",md:"h-9 text-sm",lg:"h-11 text-base"},ak=[];function al({options:a=ak,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",aj[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 am=c(7989),an=c(42148),ao=c(32433);function ap({children:a}){let[b,c]=(0,w.useState)(!1),d=(0,z.usePathname)(),e=(0,ao.i)(a=>a.notifications),f=(0,ao.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:`fixed inset-y-0 left-0 z-50 transform transition-transform duration-300 ease-in-out lg:static lg:z-auto lg:flex lg:h-full lg:translate-x-0 ${b?"translate-x-0":"-translate-x-full"}`,children:(0,k.jsx)(J,{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)($,{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 aq({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 ar=a=>(0,d.default)(a,{ssr:!1,loading:()=>null}),as=ar(()=>c.e(88).then(c.bind(c,10088))),at=ar(()=>c.e(3059).then(c.bind(c,23059))),au=ar(()=>c.e(259).then(c.bind(c,80259))),av=ar(()=>Promise.all([c.e(3059),c.e(9404)]).then(c.bind(c,19404))),aw=ar(()=>c.e(3738).then(c.bind(c,73738))),ax=ar(()=>c.e(1248).then(c.bind(c,71248))),ay=ar(()=>Promise.all([c.e(1248),c.e(88),c.e(8941)]).then(c.bind(c,48941))),az=ar(()=>c.e(1945).then(c.bind(c,21945))),aA=ar(()=>c.e(127).then(c.bind(c,20127))),aB=ar(()=>c.e(8446).then(c.bind(c,38446))),aC=ar(()=>c.e(7502).then(c.bind(c,57502))),aD=ar(()=>c.e(2884).then(c.bind(c,92884))),aE=ar(()=>c.e(883).then(c.bind(c,40883))),aF=ar(()=>c.e(2504).then(c.bind(c,52504))),aG=ar(()=>c.e(5867).then(c.bind(c,65867))),aH=ar(()=>c.e(9851).then(c.bind(c,99851))),aI=ar(()=>c.e(3787).then(c.bind(c,13787)))},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))})}},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"},fa:{name:"فارسی",flag:"\uD83C\uDDEE\uD83C\uDDF7"},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)}}},[w,x]=(0,e.useState)(!1);return w?(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)]}):(0,d.jsx)("div",{className:a,children:!k&&(0,d.jsxs)("button",{type:"button",disabled:!0,className:"flex items-center gap-2 px-3 py-2 rounded-lg text-text-muted transition-colors opacity-70",title:"Language",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})]})})}},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={xs:"h-6 px-2.5 text-[11px] rounded-[6px] gap-1.5",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:(0,e.cn)("material-symbols-outlined animate-spin","xs"===c?"text-[14px]":"text-[18px]"),children:"progress_activity"}):i?(0,d.jsx)("span",{className:(0,e.cn)("material-symbols-outlined","xs"===c?"text-[14px]":"text-[18px]"),children:i}):null,a,j&&!l&&(0,d.jsx)("span",{className:(0,e.cn)("material-symbols-outlined","xs"===c?"text-[14px]":"text-[18px]"),children:j})]})}},95988:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(71183),f=c(1219);function g({src:a,providerId:b,alt:c,size:h=32,className:i="",fallbackText:j="?",fallbackColor:k}){let l=b||(a?String(a).match(/^\/providers\/([^/.]+)/i)?.[1]:null),m=l?(0,f.HY)(l):a,[n,o]=(0,e.useState)(!1);return"a6api"===l||"a6api-cli"===l?(0,d.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-full ${i}`.trim(),style:{width:h,height:h,borderRadius:"50%",display:"grid",placeItems:"center",position:"relative",overflow:"hidden",color:"var(--navy, #1F2937)",fontSize:`${Math.max(10,Math.floor(.35*h))}px`,letterSpacing:0,background:"radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .38), transparent 22%), conic-gradient(from 210deg, #3157ff, #16b8a6, #74c86a, #3157ff)",boxShadow:"0 12px 26px #3157ff38",isolation:"isolate"},children:(0,d.jsx)("span",{children:"A6"})}):!m||n?(0,d.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-lg ${i}`.trim(),style:{width:h,height:h,color:k,fontSize:Math.max(10,Math.floor(.38*h))},children:j}):(0,d.jsx)("img",{src:m,alt:c,width:h,height:h,className:i,loading:"lazy",decoding:"async",onError:()=>{l&&(0,f.Kw)(l),o(!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})]})}}};
|
|
1
|
+
"use strict";exports.id=228,exports.ids=[228],exports.modules={1219:(a,b,c)=>{c.d(b,{HY:()=>h,Kw:()=>i});let d={"perplexity-agent":"perplexity","gitlab-duo":"gitlab","vercel-ai-gateway":"vercel",perplexing:"perplexity",kilo:"kilocode","kilo-gateway":"kilocode","codebuddy-intl":"codebuddy-cn","alims-intl":"alicode-intl","qoder-cn":"qoder","ollama-search":"ollama","minimax-code":"minimax","minimax-code-global":"minimax"},e=new Set;function f(a){return a&&"string"==typeof a?a.trim().toLowerCase():""}let g=new Set(["devin-cli","vercel","venice","perplexity-agent","morph","novita","agentrouter","grok-cli","clinepass","freebuff","mmf"]);function h(a){let b=function(a){let b=f(a);if(!b||e.has(b))return"";let c=d[b]||b;return e.has(c)?"":c}(a);if(!b)return null;let c=g.has(b)?"png":"webp";return`/providers/${b}.${c}`}function i(a){let b=f(a);b&&e.add(b);let c=d[b];c&&e.add(c)}},5508:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(44690),f=c(93864);function g({currentPage:a,pageSize:b,totalItems:c,onPageChange:h,onPageSizeChange:i,className:j}){let k=Math.ceil(c/b),l=c>0?(a-1)*b+1:0,m=Math.min(a*b,c),n=(()=>{let b=[],c=Math.max(1,a-2),d=Math.min(k,c+5-1);d-c+1<5&&(c=Math.max(1,d-5+1));for(let a=c;a<=d;a++)b.push(a);return b})();return(0,d.jsxs)("div",{className:(0,e.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",j),children:[c>0&&(0,d.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:l})," to"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:m})," of"," ",(0,d.jsx)("span",{className:"font-medium text-text-main",children:c})," results"]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[i&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,d.jsx)("select",{value:b,onChange:a=>i(Number(a.target.value)),className:(0,e.cn)("h-9 rounded-lg border border-black/10 dark:border-white/10 bg-surface","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","cursor-pointer"),style:{colorScheme:"auto"},children:[10,20,50].map(a=>(0,d.jsx)("option",{value:a,children:a},a))})]}),k>1&&(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(f.A,{variant:"outline",size:"sm",onClick:()=>h(a-1),disabled:1===a,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),n[0]>1&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.A,{variant:"ghost",size:"sm",onClick:()=>h(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),n[0]>2&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),n.map(b=>(0,d.jsx)(f.A,{variant:a===b?"primary":"ghost",size:"sm",onClick:()=>h(b),className:(0,e.cn)("w-9 px-0",a===b?"inline-flex":"hidden sm:inline-flex"),children:b},b)),n[n.length-1]<k&&(0,d.jsxs)(d.Fragment,{children:[n[n.length-1]<k-1&&(0,d.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,d.jsx)(f.A,{variant:"ghost",size:"sm",onClick:()=>h(k),className:"w-9 px-0 hidden sm:inline-flex",children:k})]}),(0,d.jsx)(f.A,{variant:"outline",size:"sm",onClick:()=>h(a+1),disabled:a===k,className:"w-9 px-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}},7989:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(71183),f=c(5894);function g({text:a,children:b,position:c="top",color:h}){let i=(0,e.useRef)(null),[j,k]=(0,e.useState)(null);return(0,d.jsxs)("div",{ref:i,className:"relative inline-flex",onMouseEnter:()=>{let a=i.current?.getBoundingClientRect();if(!a)return;let b=a.left+a.width/2,d=a.top+a.height/2;k({position:"fixed",..."bottom"===c?{top:a.bottom+6,left:b,transform:"translateX(-50%)"}:"left"===c?{right:window.innerWidth-a.left+6,top:d,transform:"translateY(-50%)"}:"right"===c?{left:a.right+6,top:d,transform:"translateY(-50%)"}:{bottom:window.innerHeight-a.top+6,left:b,transform:"translateX(-50%)"}})},onMouseLeave:()=>k(null),children:[b,j&&(0,f.createPortal)((0,d.jsx)("div",{className:`pointer-events-none z-50 w-max max-w-56 rounded px-2 py-1 text-[11px] leading-snug text-white whitespace-normal ${h?"":"bg-gray-900"}`,style:{...j,...h?{backgroundColor:h}:{}},children:a}),document.body)]})}},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})})}},40228:(a,b,c)=>{c.r(b),c.d(b,{AddCustomEmbeddingModal:()=>aF,AuthLayout:()=>aq,Avatar:()=>o,Badge:()=>p.A,Button:()=>e.A,CapacityBadges:()=>an.A,Card:()=>h.A,CardSkeleton:()=>j.CardSkeleton,ChangelogModal:()=>aH,ComboFormModal:()=>av,ConfirmModal:()=>i.u,CursorAuthModal:()=>aA,DashboardLayout:()=>ap,EditConnectionModal:()=>aE,Footer:()=>ad,GitLabAuthModal:()=>aD,Header:()=>$,HeaderMenu:()=>O,IFlowCookieModal:()=>aC,Input:()=>f.A,KiroAuthModal:()=>ax,KiroOAuthWrapper:()=>ay,KiroSocialOAuthModal:()=>az,LanguageSwitcher:()=>R.A,Loading:()=>j.Ay,ManualConfigModal:()=>au,McpMarketplaceModal:()=>aw,Modal:()=>i.A,ModelSelectModal:()=>at,NineRemoteButton:()=>ah,NoAuthProxyCard:()=>aG,OAuthModal:()=>as,PageLoading:()=>j.WL,Pagination:()=>u.A,ProviderInfoCard:()=>aI,RequestLogger:()=>ai,SegmentedControl:()=>al,Select:()=>g.A,Sidebar:()=>J,Skeleton:()=>j.EA,Spinner:()=>j.y$,ThemeProvider:()=>v.ThemeProvider,ThemeToggle:()=>t,Toggle:()=>q.A,Tooltip:()=>am.A,ZedAuthModal:()=>aB});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(38282),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(5508),v=c(73062),w=c(71183),x=c(84725),y=c.n(x),z=c(68344),A=c(13717),B=c(53207),C=c(87571);let D=(0,d.default)(async()=>{},{loadableGenerated:{modules:["shared/components/Sidebar.js -> ./ChangelogModal"]},ssr:!1}),E=["embedding","image","video","tts","stt"],F="/dashboard/media-providers/web",G=[{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"}],H=[{href:"/dashboard/console-log",label:"Console Log",icon:"terminal"},{href:"/dashboard/translator",label:"Translator",icon:"translate"}],I=[{href:"/dashboard/proxy-pools",label:"Proxy Pools",icon:"lan"},{href:"/dashboard/proxy-fitness",label:"Proxy Fitness",icon:"network_check"},{href:"/dashboard/skills",label:"Skills",icon:"extension"}];function J({onClose:a}){let b=(0,z.usePathname)(),[c,d]=(0,w.useState)(!1),[f,g]=(0,w.useState)(!1),[h,j]=(0,w.useState)(!1),[l,n]=(0,w.useState)(null),[o,p]=(0,w.useState)(!1),[q,r]=(0,w.useState)(!1),[s,t]=(0,w.useState)(0),[u,v]=(0,w.useState)(!1),{copied:x,copy:L}=(0,C.C)(2e3),M=A.h0.installCmdLatest,N=a=>"/dashboard/endpoint"===a?"/dashboard"===b||b.startsWith("/dashboard/endpoint"):b.startsWith(a),O=async()=>{try{await navigator.clipboard.writeText(M)}catch{}L(M);let a=A.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)(y(),{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:A.vQ.name}),(0,k.jsxs)("span",{className:"text-xs text-text-muted",children:["v",A.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]}),(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:()=>L(l.installCommand||M),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:x?"✓ copied!":l.installCommand||M})})]}),(0,k.jsx)("div",{className:"flex items-center mt-0.5",children:(0,k.jsxs)("button",{type:"button",onClick:()=>g(!0),className:"text-[10px] text-green-600/80 hover:text-green-700 dark:text-amber-500/80 dark:hover:text-amber-400 hover:underline flex items-center gap-1 cursor-pointer",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"description"}),"Check new changelog"]})})]})]}),(0,k.jsxs)("nav",{className:"flex-1 px-4 py-2 space-y-0.5 overflow-y-auto custom-scrollbar",children:[G.map(b=>(0,k.jsxs)(y(),{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:[B.rj.filter(a=>E.includes(a.id)).map(c=>(0,k.jsxs)(y(),{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)(y(),{href:F,onClick:a,className:(0,m.cn)("flex items-center gap-3 px-4 py-1 rounded-lg transition-all group",b.startsWith(F)?"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")]}),I.map(b=>(0,k.jsxs)(y(),{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)),H.map(b=>"/dashboard/translator"!==b.href||u?(0,k.jsxs)(y(),{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)("a",{href:"https://9remote.cc",target:"_blank",rel:"noreferrer",onClick:a,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:"9Remote"}),(0,k.jsx)("span",{className:"ml-auto text-[10px] font-semibold px-1 py-0.5 rounded-[3px] bg-orange-500/15 text-orange-400",children:"HOT"})]}),(0,k.jsxs)(y(),{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)(D,{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)(K,{latestVersion:l?.latestVersion,installCmd:M,copied:x,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 K({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 L=c(95988);let M=(0,d.default)(async()=>{},{loadableGenerated:{modules:["shared/components/HeaderMenu.js -> ./ChangelogModal"]},ssr:!1});function N({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 O({onLogout:a}){let[b,c]=(0,w.useState)(!1),[d,e]=(0,w.useState)(!1),[f,g]=(0,w.useState)(!1),[h,j]=(0,w.useState)(!1),{toggleTheme:l,isDark:m}=(0,r.D)(),n=(0,w.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)(N,{icon:"history",label:"Change Log",onClick:()=>{c(!1),e(!0)}}),(0,k.jsx)(N,{icon:m?"light_mode":"dark_mode",label:"Theme",onClick:()=>{l(),c(!1)}}),(0,k.jsx)(N,{icon:"power_settings_new",label:"Shutdown",danger:!0,onClick:()=>{c(!1),g(!0)}}),(0,k.jsx)(N,{icon:"logout",label:"Logout",danger:!0,onClick:()=>{c(!1),a()}})]})]}),(0,k.jsx)(M,{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 P=c(21700),Q=c(98180),R=c(48853);function S(){let[a,b]=(0,w.useState)(!1),c=function(){if("u"<typeof document)return"en";let a=document.cookie.split(";").find(a=>a.trim().startsWith(`${P.CL}=`)),b=a?decodeURIComponent(a.split("=")[1]):"en";return(0,P.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:Q.h[c]||"\uD83C\uDF10"})}),(0,k.jsx)(R.A,{hideTrigger:!0,isOpen:a,onClose:()=>b(!1)})]})}var T=c(5894);let U={title:"Support VansRouter",message:"Terima kasih telah mendukung pengembangan VansRouter agar infrastruktur dan fitur baru terus aktif!",channels:[{id:"saweria",label:"Saweria",description:"Dukung via QRIS, GoPay, OVO, DANA, LinkAja, ShopeePay",icon:"volunteer_activism",color:"#FAAE2B",url:"https://saweria.co/vanszs"},{id:"trakteer",label:"Trakteer",description:"Dukung via QRIS / E-Wallet / Bank Transfer",icon:"favorite",color:"#C9283E",url:"https://teer.id/bevan_satriaa"},{id:"kofi",label:"Ko-fi",description:"Support via Card or PayPal",icon:"local_cafe",color:"#13C3FF",url:"https://ko-fi.com/bevansatriaa"}]};function V({isOpen:a,onClose:b}){let[c,d]=(0,w.useState)({data:U,loading:!1,error:""}),e=(0,w.useRef)(null);if((0,w.useRef)(!1),(0,w.useRef)(b),!a||"u"<typeof document)return null;let{data:f,loading:g,error:h}=c;return(0,T.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(1219),Z=c(7272);function $({onMenuClick:a,showMenuButton:b=!0}){let c=(0,z.usePathname)(),[d,e]=(0,w.useState)(""),[f,g]=(0,w.useState)(""),[h,i]=(0,w.useState)(!1),{title:j,description:l,icon:m,breadcrumbs:n}=(0,w.useMemo)(()=>(a=>{if(!a)return{title:"",description:"",breadcrumbs:[]};let b=a.match(/\/media-providers\/([^/]+)\/([^/]+)$/);if(b){let a=b[1],c=b[2],d=B.rj.find(b=>b.id===a),e=B.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:(0,Y.HY)(c)}]}}let c=a.match(/\/media-providers\/([^/]+)$/);if(c){let a=c[1],b=B.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=A.zN[a]||A.fg[a];if(b)return{title:b.name,description:"",breadcrumbs:[{label:"Providers",href:"/dashboard/providers"},{label:b.name,image:(0,Y.HY)(b.id)}]}}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-1.5 sm:gap-2 min-w-0",children:n.map((a,b)=>(0,k.jsxs)("div",{className:`items-center gap-1.5 sm:gap-2 min-w-0 ${b<n.length-1?"hidden sm:flex shrink-0":"flex flex-1"}`,children:[b>0&&(0,k.jsx)("span",{className:"material-symbols-outlined text-text-muted text-base hidden sm:inline",children:"chevron_right"}),a.href?(0,k.jsx)(y(),{href:a.href,className:"text-text-muted hover:text-primary transition-colors truncate",children:a.label}):(0,k.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2 min-w-0",children:[a.image&&(0,k.jsx)(L.A,{src:a.image,alt:a.label,size:28,className:"object-contain rounded max-w-[24px] max-h-[24px] sm:max-w-[28px] sm:max-h-[28px] shrink-0",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,Z.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,Z.Tl)(j)})]}),l&&(0,k.jsx)("p",{className:"hidden lg:block text-sm text-text-muted truncate",children:(0,Z.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:"hidden sm: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 Me :3",children:[(0,k.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"volunteer_activism"}),(0,k.jsx)("span",{className:"hidden sm:inline",children:"Donate Me :3"})]}),(0,k.jsx)(t,{}),(0,k.jsx)(S,{}),(0,k.jsx)(O,{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 aa=[{label:"Features",href:"#features"},{label:"Pricing",href:"#pricing"},{label:"Changelog",href:"#"}],ab=[{label:"Documentation",href:"#"},{label:"API Reference",href:"#"},{label:"Help Center",href:"#"}],ac=[{label:"About",href:"#"},{label:"Blog",href:"#"},{label:"Contact",href:"#"}];function ad(){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:A.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:aa.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(y(),{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:ab.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(y(),{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:ac.map(a=>(0,k.jsx)("li",{children:(0,k.jsx)(y(),{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 ",A.vQ.name," Inc. All rights reserved."]}),(0,k.jsxs)("div",{className:"flex gap-6 text-sm text-text-muted",children:[(0,k.jsx)(y(),{href:"#",className:"hover:text-primary transition-colors",children:"Privacy Policy"}),(0,k.jsx)(y(),{href:"#",className:"hover:text-primary transition-colors",children:"Terms of Service"})]})]})]})})}let ae=[{icon:"terminal",label:"Terminal",desc:"Full shell access"},{icon:"cast",label:"Desktop",desc:"Screen sharing"},{icon:"folder_open",label:"Files",desc:"Browse & edit files"}],af=[{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 ag({isOpen:a,onClose:b}){(0,w.useRef)(b);let[c,d]=(0,w.useState)(!1);return a&&c?(0,T.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:ae.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:af.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}function ah(){let[a,b]=(0,w.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)(ag,{isOpen:a,onClose:()=>b(!1)})]})}function ai(){let[a,b]=(0,w.useState)([]),[c,d]=(0,w.useState)(!0),[e,f]=(0,w.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 aj={sm:"h-7 text-xs",md:"h-9 text-sm",lg:"h-11 text-base"},ak=[];function al({options:a=ak,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",aj[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 am=c(7989),an=c(42148),ao=c(32433);function ap({children:a}){let[b,c]=(0,w.useState)(!1),d=(0,z.usePathname)(),e=(0,ao.i)(a=>a.notifications),f=(0,ao.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:`fixed inset-y-0 left-0 z-50 transform transition-transform duration-300 ease-in-out lg:static lg:z-auto lg:flex lg:h-full lg:translate-x-0 ${b?"translate-x-0":"-translate-x-full"}`,children:(0,k.jsx)(J,{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)($,{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 aq({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 ar=a=>(0,d.default)(a,{ssr:!1,loading:()=>null}),as=ar(()=>c.e(88).then(c.bind(c,10088))),at=ar(()=>c.e(3059).then(c.bind(c,23059))),au=ar(()=>c.e(259).then(c.bind(c,80259))),av=ar(()=>Promise.all([c.e(3059),c.e(9404)]).then(c.bind(c,19404))),aw=ar(()=>c.e(3738).then(c.bind(c,73738))),ax=ar(()=>c.e(1248).then(c.bind(c,71248))),ay=ar(()=>Promise.all([c.e(1248),c.e(88),c.e(8941)]).then(c.bind(c,48941))),az=ar(()=>c.e(1945).then(c.bind(c,21945))),aA=ar(()=>c.e(127).then(c.bind(c,20127))),aB=ar(()=>c.e(8446).then(c.bind(c,38446))),aC=ar(()=>c.e(7502).then(c.bind(c,57502))),aD=ar(()=>c.e(2884).then(c.bind(c,92884))),aE=ar(()=>c.e(883).then(c.bind(c,40883))),aF=ar(()=>c.e(2504).then(c.bind(c,52504))),aG=ar(()=>c.e(5867).then(c.bind(c,65867))),aH=ar(()=>c.e(9851).then(c.bind(c,99851))),aI=ar(()=>c.e(3787).then(c.bind(c,13787)))},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))})}},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"},fa:{name:"فارسی",flag:"\uD83C\uDDEE\uD83C\uDDF7"},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)}}},[w,x]=(0,e.useState)(!1);return w?(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)]}):(0,d.jsx)("div",{className:a,children:!k&&(0,d.jsxs)("button",{type:"button",disabled:!0,className:"flex items-center gap-2 px-3 py-2 rounded-lg text-text-muted transition-colors opacity-70",title:"Language",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})]})})}},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={xs:"h-6 px-2.5 text-[11px] rounded-[6px] gap-1.5",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:(0,e.cn)("material-symbols-outlined animate-spin","xs"===c?"text-[14px]":"text-[18px]"),children:"progress_activity"}):i?(0,d.jsx)("span",{className:(0,e.cn)("material-symbols-outlined","xs"===c?"text-[14px]":"text-[18px]"),children:i}):null,a,j&&!l&&(0,d.jsx)("span",{className:(0,e.cn)("material-symbols-outlined","xs"===c?"text-[14px]":"text-[18px]"),children:j})]})}},95988:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(66238),e=c(71183),f=c(1219);function g({src:a,providerId:b,alt:c,size:h=32,className:i="",fallbackText:j="?",fallbackColor:k}){let l=b||(a?String(a).match(/^\/providers\/([^/.]+)/i)?.[1]:null),m=l?(0,f.HY)(l):a,[n,o]=(0,e.useState)(!1);return"a6api"===l||"a6api-cli"===l?(0,d.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-full ${i}`.trim(),style:{width:h,height:h,borderRadius:"50%",display:"grid",placeItems:"center",position:"relative",overflow:"hidden",color:"var(--navy, #1F2937)",fontSize:`${Math.max(10,Math.floor(.35*h))}px`,letterSpacing:0,background:"radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .38), transparent 22%), conic-gradient(from 210deg, #3157ff, #16b8a6, #74c86a, #3157ff)",boxShadow:"0 12px 26px #3157ff38",isolation:"isolate"},children:(0,d.jsx)("span",{children:"A6"})}):!m||n?(0,d.jsx)("span",{className:`inline-flex items-center justify-center font-bold rounded-lg ${i}`.trim(),style:{width:h,height:h,color:k,fontSize:Math.max(10,Math.floor(.38*h))},children:j}):(0,d.jsx)("img",{src:m,alt:c,width:h,height:h,className:i,loading:"lazy",decoding:"async",onError:()=>{l&&(0,f.Kw)(l),o(!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})]})}}};
|