@techysy/10router 1.0.6 → 1.0.7
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 +6 -6
- package/app/.next-cli-build/build-manifest.json +2 -2
- package/app/.next-cli-build/prerender-manifest.json +1 -1
- package/app/.next-cli-build/required-server-files.json +3 -0
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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-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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- 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/_tree.segment.rsc +1 -1
- 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/_not-found/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
- 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 +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 +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.nft.json +1 -1
- 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/codex-settings/route.js.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- 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.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/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 +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 +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 +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 +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 +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 +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 +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 +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 +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.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/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 +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/codebuddy-cn/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/checkin/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/export/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 +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/iflow/cookie/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/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 +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.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/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/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 +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/json-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/json-models/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]/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/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.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]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/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 +1 -1
- 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 +1 -1
- 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/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
- 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 +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 +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/settings/database/import-usage/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/import-usage/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/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.nft.json +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 +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 +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 +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 +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 +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 +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 +1 -1
- 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]/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 +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 +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 +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/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +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 +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/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 +1 -1
- 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.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.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.nft.json +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/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- 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/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- 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/_tree.segment.rsc +1 -1
- 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 +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +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/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
- 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/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +6 -6
- package/app/.next-cli-build/server/chunks/1377.js +1 -1
- package/app/.next-cli-build/server/chunks/1937.js +1 -1
- package/app/.next-cli-build/server/chunks/2179.js +1 -1
- package/app/.next-cli-build/server/chunks/295.js +1 -1
- package/app/.next-cli-build/server/chunks/318.js +7 -7
- package/app/.next-cli-build/server/chunks/3212.js +1 -1
- package/app/.next-cli-build/server/chunks/3943.js +1 -1
- package/app/.next-cli-build/server/chunks/4037.js +1 -1
- package/app/.next-cli-build/server/chunks/4049.js +1 -0
- package/app/.next-cli-build/server/chunks/412.js +1 -1
- package/app/.next-cli-build/server/chunks/4123.js +1 -1
- package/app/.next-cli-build/server/chunks/4293.js +1 -0
- package/app/.next-cli-build/server/chunks/4985.js +1 -0
- package/app/.next-cli-build/server/chunks/5615.js +1 -1
- package/app/.next-cli-build/server/chunks/5781.js +1 -1
- package/app/.next-cli-build/server/chunks/6306.js +1 -1
- package/app/.next-cli-build/server/chunks/6326.js +1 -1
- package/app/.next-cli-build/server/chunks/6763.js +1 -1
- package/app/.next-cli-build/server/chunks/6922.js +1 -0
- package/app/.next-cli-build/server/chunks/7211.js +1 -1
- package/app/.next-cli-build/server/chunks/7598.js +1 -1
- package/app/.next-cli-build/server/chunks/7828.js +1 -1
- package/app/.next-cli-build/server/chunks/{8038.js → 7913.js} +8 -8
- package/app/.next-cli-build/server/chunks/8363.js +1 -0
- package/app/.next-cli-build/server/chunks/8444.js +1 -1
- package/app/.next-cli-build/server/chunks/8499.js +7 -7
- package/app/.next-cli-build/server/chunks/869.js +1 -1
- package/app/.next-cli-build/server/chunks/8895.js +3 -3
- package/app/.next-cli-build/server/chunks/8910.js +1 -1
- package/app/.next-cli-build/server/chunks/8920.js +1 -1
- package/app/.next-cli-build/server/chunks/9140.js +19 -3
- package/app/.next-cli-build/server/chunks/9463.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +1 -1
- package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/app/.next-cli-build/static/chunks/1321-a54e76efdf16ea12.js +1 -0
- package/app/.next-cli-build/static/chunks/{5116-4618105f24431c4a.js → 3346-0ae97d50d86ac1f7.js} +10 -10
- package/app/.next-cli-build/static/chunks/5497-cd84151680071f1d.js +7 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-272386fb26fd75c3.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-f098adefd36910e1.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-d4b67cdea67b89d0.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-75cd720b6edf6d23.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d3c784cd4a50bef9.js +14 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-c1757ed34595dcdb.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-7b9bde3902dca2bb.js +1 -0
- package/app/package.json +1 -1
- package/app/public/i18n/changelog/en.md +133 -114
- package/app/public/i18n/changelog/zh-CN.md +131 -112
- package/app/public/i18n/changelog/zh-TW.md +133 -114
- package/app/public/i18n/literals/zh-CN.json +1521 -1518
- package/app/public/i18n/literals/zh-TW.json +309 -307
- package/app/server.js +1 -1
- package/app/src/sse/services/backgroundTokenRefresh.js +35 -32
- package/package.json +52 -52
- package/src/cli/i18n/index.js +29 -5
- package/src/cli/tray/icon-mono-black.ico +0 -0
- package/src/cli/tray/icon-mono-white.ico +0 -0
- package/src/cli/tray/icon-template.png +0 -0
- package/src/cli/tray/tray.js +13 -8
- package/src/cli/tray/trayWin.js +39 -2
- package/app/.next-cli-build/server/chunks/1129.js +0 -4
- package/app/.next-cli-build/server/chunks/1332.js +0 -1
- package/app/.next-cli-build/server/chunks/3350.js +0 -1
- package/app/.next-cli-build/server/chunks/4452.js +0 -1
- package/app/.next-cli-build/server/chunks/7914.js +0 -1
- package/app/.next-cli-build/server/chunks/8162.js +0 -6
- package/app/.next-cli-build/server/chunks/9703.js +0 -17
- package/app/.next-cli-build/static/chunks/1321-656ff6a3f06c59ae.js +0 -1
- package/app/.next-cli-build/static/chunks/5497-7b21d4160c9e592e.js +0 -7
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-a217fda9e3b75a4c.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-5db6b536a4ab4991.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-56ceed313e85c919.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-ddb08251c0405731.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-a2431d795923337a.js +0 -14
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-595256b6306fa952.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-568a544f8e220d5b.js +0 -1
- /package/app/.next-cli-build/static/{rPl9WrF0GIBOKSW3yAMMs → aKCEN8jaWm631dVqBrSte}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{rPl9WrF0GIBOKSW3yAMMs → aKCEN8jaWm631dVqBrSte}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=3826,a.ids=[3826],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3493:(a,b,c)=>{"use strict";c.d(b,{default:()=>E});var d=c(48249),e=c(67484),f=c(72738),g=c(42889);let h=[10,20,50,100],i=[{value:"all",label:"All accounts"},{value:"active",label:"Active"},{value:"inactive",label:"Turned off"}],j=[{value:"default",label:"Default quota order"},{value:"remaining-asc",label:"% quota: low to high"},{value:"remaining-desc",label:"% quota: high to low"}];function k(a){return a.name?.trim()||a.email?.trim()||a.displayName?.trim()||null}function l(a,b){let c=b[a.id]?.quotas?.[0];return c&&"number"==typeof c.remaining?c.remaining:1/0}function m(a,b){let c=new Set(b.map(a=>a.id));return Object.fromEntries(Object.entries(a).filter(([a])=>c.has(a)))}async function n(a,b){return await a(b)}function o(a){return a&&"object"==typeof a?String(a.modelKey||a.name||"").trim():""}function p(a,b,c){let d=b?.[a]?.hidden;if(Array.isArray(d))return new Set(d.map(String));if(c&&c!==a){let a=b?.[c]?.hidden;if(Array.isArray(a))return new Set(a.map(String))}return new Set}var q=c(99258);function r({quotas:a=[],compact:b=!1,sortMode:c="default",showSortLabel:f=!1,onHideQuota:g=null}){let[h,i]=(0,e.useState)(1),j=(0,e.useMemo)(()=>a.map((a,b)=>{var c,d,e;return{...a,index:b,remaining:(c=a,c?.remaining!==void 0?Math.max(0,Math.round(c.remaining)):c?.remainingPercentage!==void 0?Math.round(c.remainingPercentage):(d=c?.used,(e=c?.total)&&0!==e?!d||d<0?100:d>=e?0:Math.round((e-d)/e*100):0))}}),[a]),k=(0,e.useMemo)(()=>"remaining-asc"===c?[...j].sort((a,b)=>a.remaining-b.remaining||a.name.localeCompare(b.name)):"remaining-desc"===c?[...j].sort((a,b)=>b.remaining-a.remaining||a.name.localeCompare(b.name)):j,[j,c]),l=Math.max(1,Math.ceil(k.length/10));if(!a||0===a.length)return null;let m=k.slice((h-1)*10,10*h),n=0===k.length?0:(h-1)*10+1,o=Math.min(10*h,k.length),p=b?"py-1 px-1.5":"py-2 px-3",s=b?"text-[11px]":"text-sm",t=b?"text-[11px]":"text-sm",u=b?"text-[10px] leading-tight":"text-xs",v="function"==typeof g;return(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"text-[10px] text-text-muted",children:[k.length," quota",k.length>1?"s":""]}),f&&(0,d.jsx)("div",{className:"rounded-md border border-black/10 bg-black/[0.02] px-2 py-1 text-[10px] text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:"Sorted by account remaining"})]}),(0,d.jsx)("div",{className:"space-y-px",children:m.map(a=>{var c;let e=(c=a.remaining)>70?{text:"text-green-600 dark:text-green-400",bg:"bg-green-500",bgLight:"bg-green-500/10",emoji:"\uD83D\uDFE2"}:c>=30?{text:"text-yellow-600 dark:text-yellow-400",bg:"bg-yellow-500",bgLight:"bg-yellow-500/10",emoji:"\uD83D\uDFE1"}:{text:"text-red-600 dark:text-red-400",bg:"bg-red-500",bgLight:"bg-red-500/10",emoji:"\uD83D\uDD34"},f=function(a){if(!a)return"-";try{let b="string"==typeof a?new Date(a):a,c=new Date,d=b-c;if(d<=0)return"-";let e=Math.ceil(d/6e4);if(e<60)return`${e}m`;let f=Math.floor(e/60),g=e%60;if(f<24)return`${f}h ${g}m`;let h=Math.floor(f/24);return`${h}d ${f%24}h ${g}m`}catch(a){return"-"}}(a.resetAt),h=function(a){if(!a)return null;try{let b=new Date(a),c=new Date,d=new Date(c.getFullYear(),c.getMonth(),c.getDate()),e=new Date(d);e.setDate(e.getDate()+1);let f="";f=b>=d&&b<e?"Today":b>=e&&b<new Date(e.getTime()+864e5)?"Tomorrow":b.toLocaleDateString("en-US",{month:"short",day:"numeric"});let g=b.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});return`${f}, ${g}`}catch{return null}}(a.resetAt),i=!1!==a.recurring?`in ${f}`:`expires in ${f}`;return(0,d.jsxs)("div",{className:`flex items-center gap-2 border-b border-black/5 dark:border-white/5 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors ${p}`,children:[(0,d.jsxs)("div",{className:"flex w-36 min-w-0 items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-[10px] shrink-0",children:e.emoji}),(0,d.jsx)("span",{className:`${s} font-medium text-text-primary truncate`,children:(0,q.Tl)(a.name)})]}),(0,d.jsxs)("div",{className:`min-w-0 flex-1 ${b?"space-y-1":"space-y-1.5"}`,children:[(0,d.jsx)("div",{className:`${b?"h-1":"h-1.5"} rounded-full overflow-hidden border ${e.bgLight} ${0===a.remaining?"border-black/10 dark:border-white/10":"border-transparent"}`,children:(0,d.jsx)("div",{className:`h-full transition-all duration-300 ${e.bg}`,style:{width:`${Math.min(a.remaining,100)}%`}})}),(0,d.jsxs)("div",{className:`flex items-center justify-between gap-1 min-w-0 ${b?"text-[10px]":"text-xs"}`,children:[(0,d.jsxs)("span",{className:"text-text-muted truncate",title:`${a.used.toLocaleString()} / ${a.total>0?a.total.toLocaleString():"∞"}`,children:[a.used.toLocaleString()," / ",a.total>0?a.total.toLocaleString():"∞"]}),(0,d.jsxs)("span",{className:`font-medium ${e.text} shrink-0`,children:[a.remaining,"%"]})]})]}),(0,d.jsx)("div",{className:"min-w-0 shrink",children:"-"!==f||h?b?(0,d.jsx)("div",{className:`${t} text-text-primary font-medium truncate`,title:h||"",children:"-"!==f?i:h}):(0,d.jsxs)("div",{className:"min-w-0 space-y-0.5",children:["-"!==f&&(0,d.jsx)("div",{className:`${t} text-text-primary font-medium truncate`,children:i}),h&&(0,d.jsx)("div",{className:`${u} text-text-muted truncate`,children:h})]}):(0,d.jsx)("div",{className:`${t} text-text-muted italic`,children:"N/A"})}),v&&(0,d.jsx)("button",{type:"button",onClick:()=>g(a),className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-text-muted transition-colors hover:bg-black/5 hover:text-text-primary dark:hover:bg-white/5",title:"Hide this quota row","aria-label":`Hide quota ${a.name}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[15px]",children:"visibility_off"})})]},`${a.name}-${a.index}`)})}),l>1&&(0,d.jsxs)("div",{className:"rounded-md border border-black/10 bg-black/[0.02] px-2 py-1.5 dark:border-white/10 dark:bg-white/[0.03]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 text-[10px] text-text-muted",children:[(0,d.jsxs)("span",{children:["Showing ",n,"-",o," of ",k.length]}),(0,d.jsxs)("span",{children:["Page ",h," / ",l]})]}),(0,d.jsxs)("div",{className:"mt-1.5 flex items-center justify-end gap-1",children:[(0,d.jsx)("button",{type:"button",onClick:()=>i(a=>Math.max(1,a-1)),disabled:1===h,className:"flex h-6 items-center rounded-md border border-black/10 px-2 text-[10px] text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Prev"}),(0,d.jsx)("button",{type:"button",onClick:()=>i(a=>Math.min(l,a+1)),disabled:h===l,className:"flex h-6 items-center rounded-md border border-black/10 px-2 text-[10px] text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Next"})]})]})]})}var s=c(95514),t=c(32971),u=c(17660),v=c(50412),w=c(92592),x=c(50377);let y={"builder-id":"AWS Builder ID",idc:"IAM Identity Center",google:"Google",github:"GitHub",imported:"Imported Token",api_key:"API Key"},z={claude:"claudeAutoPing",codex:"codexAutoPing"},A={claude:"When your 5h quota runs out, auto-sends a request the moment it resets so a new window starts right away.",codex:"Auto-starts the next 5h Codex window after reset by sending a tiny gpt-5.5 request. Consumes a small amount of quota."};function B(a){return a.name?.trim()&&a.email?.trim()&&a.name.trim()!==a.email.trim()?a.email.trim():a.name?.trim()&&a.displayName?.trim()&&a.name.trim()!==a.displayName.trim()?a.displayName.trim():null}function C(a){let b=a.providerSpecificData?.region;if(b)return b;let c=a.providerSpecificData?.profileArn;return("string"==typeof c?c.split(":")[3]:"")||""}function D(a){if(!a)return"N/A";let b=new Date(a);return Number.isFinite(b.getTime())?b.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}):"N/A"}function E(){let{copied:a,copy:b}=(0,x.C)(),[c,E]=(0,e.useState)([]),[F,G]=(0,e.useState)({}),[H,I]=(0,e.useState)({}),[J,K]=(0,e.useState)({}),[L,M]=(0,e.useState)(!0),[N,O]=(0,e.useState)({claude:{},codex:{}}),[P,Q]=(0,e.useState)(null),[R,S]=(0,e.useState)(!1),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(60),[X,Y]=(0,e.useState)(!0),[Z,$]=(0,e.useState)(null),[_,aa]=(0,e.useState)(null),[ab,ac]=(0,e.useState)(null),[ad,ae]=(0,e.useState)(null),[af,ag]=(0,e.useState)(null),[ah,ai]=(0,e.useState)(!1),[aj,ak]=(0,e.useState)(null),[al,am]=(0,e.useState)([]),[an,ao]=(0,e.useState)(()=>"all"),[ap,aq]=(0,e.useState)([]),[ar,as]=(0,e.useState)(()=>"all"),[at,au]=(0,e.useState)("default"),[av,aw]=(0,e.useState)({}),[ax,ay]=(0,e.useState)(!1),[az,aA]=(0,e.useState)(!1),[aB,aC]=(0,e.useState)(!1),[aD,aE]=(0,e.useState)(1),[aF,aG]=(0,e.useState)(20),[aH,aI]=(0,e.useState)(String(20)),[aJ,aK]=(0,e.useState)({page:1,pageSize:20,total:0,totalPages:1}),[aL,aM]=(0,e.useState)({eligibleConnections:0,providerFilteredConnections:0});(0,e.useRef)(null),(0,e.useRef)(null);let aN=(0,e.useRef)(0),aO=(0,e.useCallback)(async(a=aD)=>{try{var b,c;let d=new URLSearchParams({page:String(a),pageSize:String(aF),accountStatus:ar,sort:"priority"});"all"!==an&&d.set("provider",an);let e=await fetch(`/api/providers/client?${d.toString()}`);if(!e.ok)throw Error("Failed to fetch connections");let f=await e.json(),g=f.connections||[],h=(b=f.pagination,b||{page:1,pageSize:aF,total:0,totalPages:1}),i=function(a,b=0){return a||{eligibleConnections:b,providerFilteredConnections:b}}(f.totals,g.length);return E(g),aq(f.providerOptions||[]),aK(h),aM(i),aE((c=f.pagination,c?.page||a)),g}catch(a){return console.error("Error fetching connections:",a),E([]),aq([]),aK({page:1,pageSize:aF,total:0,totalPages:1}),aM({eligibleConnections:0,providerFilteredConnections:0}),[]}},[ar,ax,aD,aF,an]),aP=(0,e.useCallback)(async(a,b,{force:c=!1}={})=>{I(b=>({...b,[a]:!0})),K(b=>({...b,[a]:null}));try{console.log(`[ProviderLimits] Fetching quota for ${b} (${a})`);let d=`/api/usage/${a}${c?"?force=1":""}`,e=await fetch(d);if(!e.ok){let c=(await e.json().catch(()=>({}))).error||e.statusText;if(404===e.status)return void console.warn(`[ProviderLimits] Connection not found for ${b}, skipping`);if(401===e.status){console.warn(`[ProviderLimits] Auth error for ${b}:`,c);let d={quotas:[],message:c};G(b=>({...b,[a]:d}));return}throw Error(`HTTP ${e.status}: ${c}`)}let f=await e.json();console.log(`[ProviderLimits] Got quota for ${b}:`,f);let h={quotas:function(a,b){if(!b||"object"!=typeof b)return[];let c=[];try{switch(a.toLowerCase()){case"github":default:b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"antigravity":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:b.displayName||a,modelKey:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"codex":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,remaining:b.remaining,resetAt:b.resetAt||null})});break;case"kiro":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"qoder":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{("organization"!==a||b&&0!==(Number(b.total)||0))&&c.push({name:"user"===a?"Personal":"organization"===a?"Organization":a,used:b.used||0,total:b.total||0,unit:b.unit,resetAt:b.resetAt||null})});break;case"claude":b.message?c.push({name:"error",used:0,total:0,resetAt:null,message:b.message}):b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"vercel-ai-gateway":case"ollama":case"deepseek":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"codebuddy-cn":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,recurring:!1!==b.recurring})});break;case"grok-cli":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"kimi":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})})}}catch(b){return console.error(`Error parsing quota data for ${a}:`,b),[]}let d=(0,g.KC)(a);if(d.length>0){let a=new Map(d.map((a,b)=>[a.id,b]));c.sort((b,c)=>{let d=b.modelKey||b.name,e=c.modelKey||c.name;return(a.get(d)??999)-(a.get(e)??999)})}return c}(b,f),plan:f.plan||null,message:f.message||null,raw:f};G(b=>({...b,[a]:h}))}catch(c){console.error(`[ProviderLimits] Error fetching quota for ${b} (${a}):`,c),K(b=>({...b,[a]:c.message||"Failed to fetch quota"}))}finally{I(b=>({...b,[a]:!1}))}},[]),aQ=(0,e.useCallback)(async(a,b)=>{await aP(a,b,{force:!0}),Q(new Date)},[aP]),aR=(0,e.useCallback)(async(a,b)=>{if("codex"===b&&!ab){ac(a),K(b=>({...b,[a]:null}));try{let c=await fetch(`/api/usage/${a}/codex-reset-credits`,{method:"POST"}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.message||d.error||d.code||"Failed to reset Codex limit");await aP(a,b),Q(new Date)}catch(b){K(c=>({...c,[a]:b.message||"Failed to reset Codex limit"}))}finally{ac(null)}}},[aP,ab]),aS=(0,e.useCallback)(async a=>{ag({connection:a,loading:!0,error:null,data:null});try{let b=await fetch(`/api/usage/${a.id}/codex-reset-credits`,{cache:"no-store"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||c.message||"Failed to load Codex reset credits");let d=Array.isArray(c.credits)?[...c.credits]:[];d.sort((a,b)=>{let c=a.expiresAt?new Date(a.expiresAt).getTime():1/0,d=b.expiresAt?new Date(b.expiresAt).getTime():1/0;return c-d}),ag({connection:a,loading:!1,error:null,data:{...c,credits:d}})}catch(b){ag({connection:a,loading:!1,error:b.message||"Failed to load Codex reset credits",data:null})}},[]),aT=(0,e.useCallback)(async a=>{if(confirm("Delete this connection?")){$(a);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&(G(b=>{let c={...b};return delete c[a],c}),I(b=>{let c={...b};return delete c[a],c}),K(b=>{let c={...b};return delete c[a],c}),await n(aO,aD))}catch(a){console.error("Error deleting connection:",a)}finally{$(null)}}},[aO,aD]),aU=(0,e.useCallback)(async(a,b)=>{aa(a);try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&(G(a=>({...a})),await n(aO,aD))}catch(a){console.error("Error updating connection status:",a)}finally{aa(null)}},[aO,aD]),aV=(0,e.useCallback)(async a=>{if(!aj?.id)return;let b=aj.id,c=aj.provider;try{(await fetch(`/api/providers/${b}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await aO(),ai(!1),ak(null),w.wb.includes(c)&&await aP(b,c))}catch(a){console.error("Error saving connection:",a)}},[aj,aO,aP]),aW=(0,e.useCallback)(async(a=!1)=>{if(T)return;U(!0),W(60);let b=aN.current+=1,c=Math.round(10);try{let d,e=await aO(aD);I((d={},e.forEach(a=>{d[a.id]=!0}),d)),K(a=>m(a,e)),G(a=>m(a,e)),await Promise.all(e.filter(d=>a||"claude"!==d.provider||b%c==0).map(a=>aP(a.id,a.provider))),Q(new Date)}catch(a){console.error("Error refreshing all providers:",a)}finally{U(!1)}},[T,aO,aP,aD]),aX=(0,e.useCallback)(async(a,b,c)=>{let d=z[b];if(!d)return;let e={...N[b]||{},[a]:c};O({...N,[b]:e});try{let a=await fetch("/api/settings",{cache:"no-store"}),b={...(a.ok?await a.json():{})[d]||{},connections:e};await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[d]:b})})}catch{O(N)}},[N]),aY=(0,e.useCallback)(async(a,b)=>{aw(a);try{if(!(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({quotaVisibility:a})})).ok)throw Error("Failed to update quota visibility")}catch(a){console.error("Error updating quota visibility:",a),aw(b)}},[]),aZ=(0,e.useCallback)((a,b)=>{let c=o(b);if(!a||!c)return;let d=av[a]||{},e=new Set(d.hidden||[]);e.add(c),aY({...av,[a]:{...d,hidden:[...e]}},av)},[av,aY]),a$=(0,e.useCallback)((a,b)=>{let c=o(b);if(!a||!c)return;let d=av[a]||{},e=new Set(d.hidden||[]);e.delete(c),aY({...av,[a]:{...d,hidden:[...e]}},av)},[av,aY]),a_=(0,e.useMemo)(()=>(function(a,b,c,d,e){if("codex"===d&&"default"!==e)return[...a].sort((a,c)=>{let d=l(a,b),f=l(c,b),g="remaining-asc"===e?d-f:f-d;return 0!==g?g:(k(a)||"").localeCompare(k(c)||"")});if(!c){let b=new Map;for(let c of a){let a=c.provider||"";b.has(a)||b.set(a,[]),b.get(a).push(c)}return Array.from(b.values()).flat()}let f=a=>{let c=(b[a.id]?.quotas||[]).map(a=>a.resetAt?new Date(a.resetAt).getTime():1/0).filter(a=>Number.isFinite(a));return c.length>0?Math.min(...c):1/0};return[...a].sort((a,b)=>{let c=f(a)-f(b);return 0!==c?c:(a.provider||"").localeCompare(b.provider||"")||(k(a)||"").localeCompare(k(b)||"")})})(c,F,ax,an,at),[c,F,ax,an,at]),a0=(0,e.useCallback)(()=>{let a={...av},b=!1;for(let c of a_){let d=a[c.id]||{},e=[...function(a){let b=new Set;if(!Array.isArray(a))return b;for(let c of a){let a=o(c);if(!a||!0===c.unlimited)continue;let d=c.total||0;(d<=0||(c.used||0)>=d)&&b.add(a)}return b}(F[c.id]?.quotas||[])],f=d.hidden||[];(e.length!==f.length||e.some((a,b)=>a!==f[b]))&&(a[c.id]={...d,hidden:e},b=!0)}b&&aY(a,av)},[av,aY,a_,F]),a1=(0,e.useCallback)(()=>{let a={...av},b=!1;for(let c of a_)a[c.id]?.hidden?.length&&(a[c.id]={...a[c.id],hidden:[]},b=!0);b&&aY(a,av)},[av,aY,a_]),a2=a=>{let b=F[a.id]?.quotas;if(!b?.length)return!1;let c=b.filter(a=>!0!==a.unlimited);return 0!==c.length&&c.every(a=>{let b=a.total||0;return b<=0||(a.used||0)>=b})},a3=(0,e.useCallback)(async(a,b)=>{if(a.length&&!aB){aC(!0);try{await Promise.all(a.map(a=>fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})}))),await n(aO,aD)}catch(a){console.error("Error bulk toggling connections:",a)}finally{aC(!1)}}},[aB,aO,aD]),a4="all"===an?"All providers":an,a5=aL.eligibleConnections>0,a6=a_.length>0,a7=aL.eligibleConnections?aL.providerFilteredConnections?{icon:"filter_alt_off",title:"No Accounts On This Page",description:"Try moving to another page or refreshing the current filters."}:{icon:"filter_alt_off",title:"No Accounts Match Current Filters",description:"all"===an?"Try changing the account status filter to see more quota trackers.":`No ${"inactive"===ar?"turned off":"active"===ar?"active":"matching"} accounts found for ${an}.`}:{icon:"cloud_off",title:"No Providers Connected",description:"Connect to providers with OAuth to track your API quota limits and usage."},a8=function(a){var b;let{start:c,end:d}=(b=a).total?{start:(b.page-1)*b.pageSize+1,end:Math.min(b.page*b.pageSize,b.total)}:{start:0,end:0};return`Showing ${c}-${d} of ${a.total}`}(aJ),a9=!h.includes(aF),ba=X||a5?X||a6?null:(0,d.jsx)(u.default,{padding:"lg",children:(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:a7.icon}),(0,d.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:a7.title}),(0,d.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:a7.description})]})}):(0,d.jsx)(u.default,{padding:"lg",children:(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:"cloud_off"}),(0,d.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:"No Providers Connected"}),(0,d.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:"Connect to providers with OAuth to track your API quota limits and usage."})]})});return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-end",children:(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aA(a=>!a),className:"flex h-8 items-center justify-between gap-1 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-haspopup":"menu","aria-expanded":az,title:"Filter quota providers",children:[(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:["all"===an?(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"apps"}):(0,d.jsx)(f.A,{src:`/providers/${an}.png`,alt:an,size:18,className:"size-[18px] rounded object-contain",fallbackText:an.slice(0,2).toUpperCase()}),(0,d.jsx)("span",{className:"truncate capitalize hidden lg:inline",children:a4})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"expand_more"})]}),az&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{type:"button",className:"fixed inset-0 z-30 bg-transparent","aria-label":"Close provider filter",onClick:()=>aA(!1)}),(0,d.jsxs)("div",{className:"absolute left-0 z-40 mt-2 w-64 overflow-hidden rounded-2xl border border-black/10 bg-surface/95 p-1.5 shadow-xl shadow-black/10 backdrop-blur dark:border-white/10 dark:bg-surface/95 sm:w-72",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>{"all"!==an&&aE(1),ao("all"),aA(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${"all"===an?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px]",children:"apps"}),(0,d.jsx)("span",{className:"font-medium",children:"All providers"}),"all"===an&&(0,d.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]}),(0,d.jsx)("div",{className:"my-1 h-px bg-black/10 dark:bg-white/10"}),(0,d.jsx)("div",{className:"max-h-72 overflow-y-auto pr-1",children:ap.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>{an!==a&&aE(1),ao(a),aA(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${an===a?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,d.jsx)(f.A,{src:`/providers/${a}.png`,alt:a,size:24,className:"size-6 rounded-md object-contain",fallbackText:a.slice(0,2).toUpperCase()}),(0,d.jsx)("span",{className:"font-medium capitalize",children:a}),an===a&&(0,d.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]},a))})]})]})]}),(0,d.jsx)("select",{value:ar,onChange:a=>{let b=a.target.value;ar!==b&&aE(1),as(b)},className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Filter accounts by status",children:i.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}),"codex"===an&&(0,d.jsx)("select",{value:at,onChange:a=>au(a.target.value),className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Sort Codex quotas by remaining",children:j.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}),(0,d.jsxs)("button",{type:"button",onClick:()=>ay(a=>!a),"aria-pressed":ax,className:`flex h-8 shrink-0 items-center gap-1 rounded-lg border px-2 text-xs transition-colors ${ax?"border-amber-500/40 bg-amber-500/10 text-amber-500":"border-black/10 text-text-primary hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5"}`,title:"Sort accounts by earliest quota reset time",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"hourglass_top"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"Expiring first"})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>{a3(a_.filter(a=>(a.isActive??!0)&&a2(a)).map(a=>a.id),!1)},disabled:aB,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-red-500/30 px-2 text-xs text-red-500 transition-colors hover:bg-red-500/10 disabled:opacity-50",title:"Disable connections with depleted quota on the current page",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"block"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,q.Tl)("Turn off Empty")})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>{a3(a_.filter(a=>!(a.isActive??!0)&&!a2(a)).map(a=>a.id),!0)},disabled:aB,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-emerald-500/30 px-2 text-xs text-emerald-500 transition-colors hover:bg-emerald-500/10 disabled:opacity-50",title:"Enable connections that still have quota on the current page",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"check_circle"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,q.Tl)("Turn on Available")})]}),(0,d.jsxs)("button",{type:"button",onClick:a0,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-blue-500/30 px-2 text-xs text-blue-500 transition-colors hover:bg-blue-500/10",title:"Hide depleted (zero-balance) quota packs across current connections",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"visibility"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,q.Tl)("Only with balance")})]}),(0,d.jsxs)("button",{type:"button",onClick:a1,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5",title:"Show all quota packs across current connections",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"visibility_off"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,q.Tl)("Show all")})]}),(0,d.jsxs)("button",{onClick:()=>M(a=>!a),className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5",title:L?"Disable auto-refresh":"Enable auto-refresh",children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[14px] ${L?"text-primary":"text-text-muted"}`,children:L?"toggle_on":"toggle_off"}),(0,d.jsx)("span",{className:"hidden text-text-primary sm:inline",children:"Auto-refresh"}),L&&(0,d.jsxs)("span",{className:"text-[10px] text-text-muted tabular-nums",children:["(",V,"s)"]})]}),(0,d.jsx)("button",{type:"button",onClick:()=>aW(!0),disabled:T,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5 disabled:opacity-50",title:"Refresh all",children:(0,d.jsx)("span",{className:`material-symbols-outlined text-[14px] ${T?"animate-spin":""}`,children:"refresh"})})]})}),"all"!==ar&&(0,d.jsxs)("div",{className:"flex items-center gap-2 rounded-xl border border-amber-500/20 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] shrink-0",children:"filter_alt"}),(0,d.jsx)("span",{children:(0,q.Tl)("Account filter is active and persists across visits")})]}),ax&&(0,d.jsx)("div",{className:"rounded-xl border border-amber-500/20 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300",children:"Expiring-first currently reorders accounts inside the current page. Cross-page ordering still follows backend pagination."}),ba&&(0,d.jsx)("div",{className:"pt-2",children:ba}),!ba&&(0,d.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:a_.map(c=>{let e,g,h,i=F[c.id],j=H[c.id],l=J[c.id],m=!1===c.isActive,n="codex"===c.provider,q=Number.isFinite(g="number"==typeof(e=i?.raw?.resetCredits?.availableCount)?e:Number(e))?Math.max(0,g):0,v=ab===c.id,w=Z===c.id||_===c.id||v,x=i?.quotas||[],D=function(a,b=[],c={},d){if(!Array.isArray(b)||0===b.length)return[];let e=p(a,c,d);return 0===e.size?b:b.filter(a=>!e.has(o(a)))}(c.id,x,av,c.provider),E=function(a,b=[],c={},d){if(!Array.isArray(b)||0===b.length)return[];let e=p(a,c,d);return 0===e.size?[]:b.filter(a=>e.has(o(a)))}(c.id,x,av,c.provider);return(0,d.jsxs)(u.default,{padding:"none",className:`min-w-0 ${m?"opacity-60":""}`,children:[(0,d.jsx)("div",{className:"px-3 py-2 border-b border-black/10 dark:border-white/10",children:(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,d.jsx)("div",{className:"w-8 h-8 shrink-0 rounded-md flex items-center justify-center overflow-hidden",children:(0,d.jsx)(f.A,{src:`/providers/${c.provider}.png`,alt:c.provider,size:32,className:"object-contain",fallbackText:c.provider?.slice(0,2).toUpperCase()||"PR"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h3",{className:"text-sm font-semibold text-text-primary capitalize truncate",children:c.provider}),k(c)?(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:k(c)}):null,B(c)?(0,d.jsx)("p",{className:"text-[11px] text-text-muted/80 truncate",children:B(c)}):null,"kiro"===c.provider&&(0,d.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-1",children:[(0,d.jsx)("span",{className:"rounded-full bg-brand-500/10 px-2 py-0.5 text-[10px] font-semibold text-brand-600 dark:text-brand-300",children:(h=c.providerSpecificData?.authMethod)&&y[h]?y[h]:"api_key"===c.authType?"API Key":"OAuth"}),C(c)&&(0,d.jsx)("span",{className:"rounded-full bg-blue-500/10 px-2 py-0.5 text-[10px] font-semibold text-blue-600 dark:text-blue-400",children:C(c)}),(0,d.jsx)("span",{className:`rounded-full px-2 py-0.5 text-[10px] font-semibold ${m?"bg-surface-2 text-text-muted":"active"===c.testStatus||"success"===c.testStatus?"bg-green-500/10 text-green-600 dark:text-green-400":"error"===c.testStatus||"expired"===c.testStatus||"unavailable"===c.testStatus?"bg-red-500/10 text-red-600 dark:text-red-400":"bg-surface-2 text-text-muted"}`,children:m?"disabled":c.testStatus||"unknown"}),c.providerSpecificData?.profileArn&&(0,d.jsxs)("button",{type:"button",onClick:()=>b(c.providerSpecificData.profileArn,c.id),title:c.providerSpecificData.profileArn,className:"inline-flex max-w-full items-center gap-1 rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-muted transition-colors hover:text-primary",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:a===c.id?"check":"content_copy"}),(0,d.jsx)("code",{className:"truncate font-mono",children:c.providerSpecificData.profileArn})]})]})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.default,{text:q>0?`Use one Codex reset credit. Available: ${q}`:"No Codex reset credits available",children:(0,d.jsxs)("button",{type:"button",onClick:()=>ae({connection:c,resetCreditCount:q}),disabled:q<=0||j||w,"aria-label":q>0?`Use one Codex reset credit. ${q} available.`:"No Codex reset credits available",className:`flex h-8 min-w-10 items-center justify-center gap-1 rounded-lg border px-2 text-[11px] font-medium tabular-nums transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary/60 disabled:cursor-not-allowed disabled:opacity-60 ${q>0?"border-primary/30 bg-primary/5 text-primary hover:bg-primary/10":"border-black/10 bg-black/[0.02] text-text-muted dark:border-white/10 dark:bg-white/[0.03]"}`,children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[15px] ${v?"animate-spin":""}`,children:v?"progress_activity":"restart_alt"}),(0,d.jsx)("span",{children:q})]})}),(0,d.jsx)(t.default,{text:"View Codex reset credit expiry",children:(0,d.jsx)("button",{type:"button",onClick:()=>aS(c),disabled:j||w,"aria-label":"View Codex reset credit expiry",className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-muted transition-colors hover:bg-black/5 hover:text-primary disabled:cursor-not-allowed disabled:opacity-50 dark:border-white/10 dark:hover:bg-white/5",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[17px]",children:"schedule"})})})]}),z[c.provider]&&"oauth"===c.authType&&(0,d.jsx)(t.default,{text:A[c.provider],children:(0,d.jsx)("button",{type:"button",onClick:()=>aX(c.id,c.provider,N[c.provider]?.[c.id]!==!0),"aria-label":"Toggle auto-ping",className:`flex h-8 w-8 items-center justify-center rounded-lg transition-colors hover:bg-black/5 dark:hover:bg-white/5 ${N[c.provider]?.[c.id]===!0?"text-primary":"text-text-muted"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"bolt"})})}),(0,d.jsx)(t.default,{text:"Refresh quota",children:(0,d.jsx)("button",{type:"button",onClick:()=>aQ(c.id,c.provider),disabled:j||w,"aria-label":"Refresh quota",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-black/5 dark:hover:bg-white/5 transition-colors disabled:opacity-50",children:(0,d.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted ${j?"animate-spin":""}`,children:"refresh"})})}),(0,d.jsx)(t.default,{text:"Edit connection",children:(0,d.jsx)("button",{type:"button",onClick:()=>{ak(c),ai(!0)},disabled:w,"aria-label":"Edit connection",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-black/5 dark:hover:bg-white/5 text-text-muted hover:text-primary transition-colors disabled:opacity-50",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"})})}),(0,d.jsx)(t.default,{text:"Delete connection",children:(0,d.jsx)("button",{type:"button",onClick:()=>aT(c.id),disabled:w,"aria-label":"Delete connection",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-red-500/10 text-red-500 transition-colors disabled:opacity-50",children:(0,d.jsx)("span",{className:`material-symbols-outlined text-[18px] ${Z===c.id?"animate-pulse":""}`,children:"delete"})})}),(0,d.jsx)("div",{className:"inline-flex items-center pl-0.5",title:c.isActive??!0?"Disable connection":"Enable connection",children:(0,d.jsx)(s.default,{size:"sm",checked:c.isActive??!0,disabled:w,onChange:a=>aU(c.id,a)})})]})]})}),(0,d.jsxs)("div",{className:"px-2 py-1.5",children:[j?(0,d.jsx)("div",{className:"text-center py-5 text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[28px] animate-spin",children:"progress_activity"})}):l?(0,d.jsxs)("div",{className:"text-center py-5",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[28px] text-red-500",children:"error"}),(0,d.jsx)("p",{className:"mt-1.5 text-xs text-text-muted",children:l})]}):i?.message?(0,d.jsx)("div",{className:"text-center py-5",children:(0,d.jsx)("p",{className:"text-xs text-text-muted",children:i.message})}):(0,d.jsx)(r,{quotas:D,compact:!0,sortMode:"default",showSortLabel:"codex"===c.provider&&"default"!==at,onHideQuota:a=>aZ(c.id,a)}),E.length>0&&(0,d.jsxs)("div",{className:"mt-2 flex min-w-0 items-center gap-1 border-t border-black/5 pt-2 text-[10px] text-text-muted dark:border-white/5",children:[(0,d.jsx)("span",{className:"material-symbols-outlined shrink-0 text-[14px]",children:"visibility_off"}),(0,d.jsx)("span",{className:"shrink-0",children:"Hidden:"}),(0,d.jsx)("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap pb-2",children:E.map(a=>(0,d.jsx)("button",{type:"button",onClick:()=>a$(c.id,a),className:"shrink-0 rounded-md border border-black/10 px-1.5 py-0.5 transition-colors hover:bg-black/5 hover:text-text-primary dark:border-white/10 dark:hover:bg-white/5",title:"Show this quota row",children:a.name},o(a)))})]})]})]},c.id)})}),(0,d.jsx)("div",{className:"rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 dark:border-white/10 dark:bg-white/[0.03]",children:(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:a8}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsxs)("select",{value:a9?"custom":String(aF),onChange:a=>{let b=a.target.value;if("custom"===b)return;let c=Number.parseInt(b,10);Number.isFinite(c)&&(aE(1),aG(c),aI(String(c)))},className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Accounts per page",children:[h.map(a=>(0,d.jsxs)("option",{value:String(a),children:[a," / page"]},a)),(0,d.jsx)("option",{value:"custom",children:"Custom"})]}),(0,d.jsx)("input",{type:"number",min:"1",max:String(500),inputMode:"numeric",value:aH,onChange:a=>aI(a.target.value),onBlur:()=>{let a=Number.parseInt(aH,10);if(!Number.isFinite(a))return void aI(String(aF));let b=Math.min(500,Math.max(1,a));aE(1),aG(b),aI(String(b))},onKeyDown:a=>{if("Enter"!==a.key)return;let b=Number.parseInt(aH,10);if(!Number.isFinite(b))return void aI(String(aF));let c=Math.min(500,Math.max(1,b));aE(1),aG(c),aI(String(c))},className:"h-8 w-20 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Custom accounts per page",placeholder:"Custom"}),(0,d.jsxs)("span",{className:"text-xs text-text-muted",children:["Page ",aJ.page," / ",aJ.totalPages]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("button",{type:"button",onClick:()=>aE(1),disabled:aJ.page<=1||X||T,className:"flex h-8 items-center rounded-lg border border-black/10 px-3 text-xs text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"First Page"}),(0,d.jsx)("button",{type:"button",onClick:()=>aE(a=>Math.max(1,a-1)),disabled:aJ.page<=1||X||T,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5","aria-label":"Previous accounts page",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"chevron_left"})}),(0,d.jsx)("button",{type:"button",onClick:()=>aE(a=>Math.min(aJ.totalPages,a+1)),disabled:aJ.page>=aJ.totalPages||X||T,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5","aria-label":"Next accounts page",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"chevron_right"})}),(0,d.jsx)("button",{type:"button",onClick:()=>aE(aJ.totalPages),disabled:aJ.page>=aJ.totalPages||X||T,className:"flex h-8 items-center rounded-lg border border-black/10 px-3 text-xs text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Last Page"})]})]})}),(0,d.jsx)(v.uo,{isOpen:!!ad,onClose:()=>{ab||ae(null)},onConfirm:async()=>{let a=ad?.connection;a&&(await aR(a.id,a.provider),ae(null))},title:"Reset Codex limit?",message:`Use 1 Codex reset credit for ${k(ad?.connection||{})||"this account"}. This cannot be undone. Remaining credits: ${ad?.resetCreditCount??0}.`,confirmText:"Reset limit",cancelText:"Cancel",variant:"danger",loading:!!ab}),af&&(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 px-4 backdrop-blur-sm",children:(0,d.jsxs)("div",{className:"w-full max-w-2xl overflow-hidden rounded-2xl border border-black/15 bg-white shadow-2xl ring-1 ring-black/10 dark:border-white/15 dark:bg-neutral-950 dark:ring-white/10",children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-3 border-b border-black/10 bg-black/[0.03] px-4 py-3 dark:border-white/10 dark:bg-white/[0.04]",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h3",{className:"text-base font-semibold text-text-primary",children:"Codex Reset Credit Expiry"}),(0,d.jsx)("p",{className:"mt-0.5 truncate text-xs text-text-muted",children:k(af.connection)||"Codex account"})]}),(0,d.jsx)("button",{type:"button",onClick:()=>ag(null),className:"flex h-8 w-8 items-center justify-center rounded-lg text-text-muted transition-colors hover:bg-black/5 hover:text-text-primary dark:hover:bg-white/5","aria-label":"Close reset credit expiry modal",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]}),(0,d.jsx)("div",{className:"max-h-[70vh] overflow-auto bg-white p-4 dark:bg-neutral-950",children:af.loading?(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 py-10 text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading reset credits..."]}):af.error?(0,d.jsx)("div",{className:"rounded-xl border border-red-500/20 bg-red-500/10 px-3 py-2 text-sm text-red-600 dark:text-red-300",children:af.error}):af.data?.credits?.length?(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:[(0,d.jsxs)("span",{children:[af.data.credits.length," reset credit",1===af.data.credits.length?"":"s"]}),(0,d.jsxs)("span",{children:[af.data.availableCount??0," available"]})]}),(0,d.jsx)("div",{className:"overflow-x-auto rounded-xl border border-black/10 dark:border-white/10",children:(0,d.jsxs)("table",{className:"w-full min-w-[560px] text-left text-sm",children:[(0,d.jsx)("thead",{className:"bg-black/[0.03] text-xs uppercase tracking-wide text-text-muted dark:bg-white/[0.04]",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Status"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Granted At"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Expires At"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Remaining"})]})}),(0,d.jsx)("tbody",{children:af.data.credits.map((a,b)=>(0,d.jsxs)("tr",{className:"border-t border-black/5 dark:border-white/5",children:[(0,d.jsx)("td",{className:"px-3 py-2",children:(0,d.jsx)("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-xs font-medium text-primary",children:a.status||"unknown"})}),(0,d.jsx)("td",{className:"px-3 py-2 text-text-muted",children:D(a.grantedAt)}),(0,d.jsx)("td",{className:"px-3 py-2 text-text-primary",children:D(a.expiresAt)}),(0,d.jsx)("td",{className:"px-3 py-2 font-medium text-text-primary",children:function(a){if(!a)return"N/A";let b=new Date(a).getTime()-Date.now();if(!Number.isFinite(b))return"N/A";if(b<=0)return"Expired";let c=Math.ceil(b/36e5),d=Math.floor(c/24),e=c%24;return d>0?`${d}d ${e}h`:`${e}h`}(a.expiresAt)})]},`${a.status}-${a.expiresAt||b}`))})]})})]}):(0,d.jsx)("div",{className:"rounded-xl border border-black/10 bg-black/[0.02] px-3 py-8 text-center text-sm text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:"No reset credit details returned for this account."})})]})}),(0,d.jsx)(v.wI,{isOpen:ah,connection:aj,proxyPools:al,onSave:aV,onClose:()=>{ai(!1),ak(null)}})]})}},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16440:(a,b,c)=>{Promise.resolve().then(c.bind(c,3493)),Promise.resolve().then(c.bind(c,74812))},16698:a=>{"use strict";a.exports=require("node:async_hooks")},16736:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(5735),e=c(91986),f=c(92082),g=c(57471);function h(){return(0,d.jsx)(e.Suspense,{fallback:(0,d.jsx)(f.CardSkeleton,{}),children:(0,d.jsx)(g.default,{})})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},23064:(a,b,c)=>{Promise.resolve().then(c.bind(c,57471)),Promise.resolve().then(c.bind(c,92082))},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57471:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"F:\\\\Files\\\\GitHub Files\\\\10router\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\usage\\\\components\\\\ProviderLimits\\\\index.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\usage\\components\\ProviderLimits\\index.js","default")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},90063:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["quota",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,16736))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\quota\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"F:\\Files\\GitHub Files\\10router\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/quota/page",pathname:"/dashboard/quota",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,2430,4613,4665,9703,9140,9463,6070,869,7239,6457,4123,1377,412,1564],()=>b(b.s=90063));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=3826,a.ids=[3826],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3493:(a,b,c)=>{"use strict";c.d(b,{default:()=>G});var d=c(48249),e=c(67484),f=c(72738),g=c(42889);let h=[10,20,50,100],i=[{value:"all",label:"All accounts"},{value:"active",label:"Active"},{value:"inactive",label:"Turned off"}],j=[{value:"default",label:"Default quota order"},{value:"remaining-asc",label:"% quota: low to high"},{value:"remaining-desc",label:"% quota: high to low"}];function k(a){return a.name?.trim()||a.email?.trim()||a.displayName?.trim()||null}function l(a,b){let c=b[a.id]?.quotas?.[0];return c&&"number"==typeof c.remaining?c.remaining:1/0}function m(a,b){let c=new Set(b.map(a=>a.id));return Object.fromEntries(Object.entries(a).filter(([a])=>c.has(a)))}async function n(a,b){return await a(b)}function o(a,b){return b&&0!==b?!a||a<0?100:a>=b?0:Math.round((b-a)/b*100):0}function p(a){return a&&"object"==typeof a?String(a.modelKey||a.name||"").trim():""}function q(a,b,c,d=[]){let e=null,f=b?.[a]?.hidden;if(Array.isArray(f))e=f.map(String);else if(c&&c!==a){let a=b?.[c]?.hidden;Array.isArray(a)&&(e=a.map(String))}return e?new Set(Array.isArray(d)&&d.length>0?function(a=[],b=[]){if(!Array.isArray(a)||0===a.length)return[];let c=new Set(b.map(p).filter(Boolean));return[...new Set(a.map(a=>String(a).trim()).filter(a=>c.has(a)))]}(e,d):e):new Set}var r=c(99258);function s(a){let b=/^Bonus Pack (\d+)$/.exec(String(a||"").trim());return b?`${(0,r.Tl)("Bonus Pack")} ${b[1]}`:(0,r.Tl)(a)}function t({quotas:a=[],compact:b=!1,sortMode:c="default",showSortLabel:f=!1,onHideQuota:g=null}){let[h,i]=(0,e.useState)(1),j=(0,e.useMemo)(()=>a.map((a,b)=>({...a,index:b,remaining:a?.remaining!==void 0?Math.max(0,Math.round(a.remaining)):a?.remainingPercentage!==void 0?Math.round(a.remainingPercentage):o(a?.used,a?.total)})),[a]),k=(0,e.useMemo)(()=>"remaining-asc"===c?[...j].sort((a,b)=>a.remaining-b.remaining||a.name.localeCompare(b.name)):"remaining-desc"===c?[...j].sort((a,b)=>b.remaining-a.remaining||a.name.localeCompare(b.name)):j,[j,c]),l=Math.max(1,Math.ceil(k.length/10));if(!a||0===a.length)return null;let m=k.slice((h-1)*10,10*h),n=0===k.length?0:(h-1)*10+1,p=Math.min(10*h,k.length),q=b?"py-1 px-1.5":"py-2 px-3",r=b?"text-[11px]":"text-sm",u=b?"text-[11px]":"text-sm",v=b?"text-[10px] leading-tight":"text-xs",w="function"==typeof g;return(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"text-[10px] text-text-muted",children:[k.length," quota",k.length>1?"s":""]}),f&&(0,d.jsx)("div",{className:"rounded-md border border-black/10 bg-black/[0.02] px-2 py-1 text-[10px] text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:"Sorted by account remaining"})]}),(0,d.jsx)("div",{className:"space-y-px",children:m.map(a=>{var c;let e=(c=a.remaining)>70?{text:"text-green-600 dark:text-green-400",bg:"bg-green-500",bgLight:"bg-green-500/10",emoji:"\uD83D\uDFE2"}:c>=30?{text:"text-yellow-600 dark:text-yellow-400",bg:"bg-yellow-500",bgLight:"bg-yellow-500/10",emoji:"\uD83D\uDFE1"}:{text:"text-red-600 dark:text-red-400",bg:"bg-red-500",bgLight:"bg-red-500/10",emoji:"\uD83D\uDD34"},f=function(a){if(!a)return"-";try{let b="string"==typeof a?new Date(a):a,c=new Date,d=b-c;if(d<=0)return"-";let e=Math.ceil(d/6e4);if(e<60)return`${e}m`;let f=Math.floor(e/60),g=e%60;if(f<24)return`${f}h ${g}m`;let h=Math.floor(f/24);return`${h}d ${f%24}h ${g}m`}catch(a){return"-"}}(a.resetAt),h=function(a){if(!a)return null;try{let b=new Date(a),c=new Date,d=new Date(c.getFullYear(),c.getMonth(),c.getDate()),e=new Date(d);e.setDate(e.getDate()+1);let f="";f=b>=d&&b<e?"Today":b>=e&&b<new Date(e.getTime()+864e5)?"Tomorrow":b.toLocaleDateString("en-US",{month:"short",day:"numeric"});let g=b.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});return`${f}, ${g}`}catch{return null}}(a.resetAt),i=!1!==a.recurring?`in ${f}`:`expires in ${f}`;return(0,d.jsxs)("div",{className:`flex items-center gap-2 border-b border-black/5 dark:border-white/5 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors ${q}`,children:[(0,d.jsxs)("div",{className:"flex w-36 min-w-0 items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-[10px] shrink-0",children:e.emoji}),(0,d.jsx)("span",{className:`${r} font-medium text-text-primary truncate`,children:s(a.name)})]}),(0,d.jsxs)("div",{className:`min-w-0 flex-1 ${b?"space-y-1":"space-y-1.5"}`,children:[(0,d.jsx)("div",{className:`${b?"h-1":"h-1.5"} rounded-full overflow-hidden border ${e.bgLight} ${0===a.remaining?"border-black/10 dark:border-white/10":"border-transparent"}`,children:(0,d.jsx)("div",{className:`h-full transition-all duration-300 ${e.bg}`,style:{width:`${Math.min(a.remaining,100)}%`}})}),(0,d.jsxs)("div",{className:`flex items-center justify-between gap-1 min-w-0 ${b?"text-[10px]":"text-xs"}`,children:[(0,d.jsxs)("span",{className:"text-text-muted truncate",title:`${a.used.toLocaleString()} / ${a.total>0?a.total.toLocaleString():"∞"}`,children:[a.used.toLocaleString()," / ",a.total>0?a.total.toLocaleString():"∞"]}),(0,d.jsxs)("span",{className:`font-medium ${e.text} shrink-0`,children:[a.remaining,"%"]})]})]}),(0,d.jsx)("div",{className:"min-w-0 shrink",children:"-"!==f||h?b?(0,d.jsx)("div",{className:`${u} text-text-primary font-medium truncate`,title:h||"",children:"-"!==f?i:h}):(0,d.jsxs)("div",{className:"min-w-0 space-y-0.5",children:["-"!==f&&(0,d.jsx)("div",{className:`${u} text-text-primary font-medium truncate`,children:i}),h&&(0,d.jsx)("div",{className:`${v} text-text-muted truncate`,children:h})]}):(0,d.jsx)("div",{className:`${u} text-text-muted italic`,children:"N/A"})}),w&&(0,d.jsx)("button",{type:"button",onClick:()=>g(a),className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-text-muted transition-colors hover:bg-black/5 hover:text-text-primary dark:hover:bg-white/5",title:"Hide this quota row","aria-label":`Hide quota ${a.name}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[15px]",children:"visibility_off"})})]},`${a.name}-${a.index}`)})}),l>1&&(0,d.jsxs)("div",{className:"rounded-md border border-black/10 bg-black/[0.02] px-2 py-1.5 dark:border-white/10 dark:bg-white/[0.03]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 text-[10px] text-text-muted",children:[(0,d.jsxs)("span",{children:["Showing ",n,"-",p," of ",k.length]}),(0,d.jsxs)("span",{children:["Page ",h," / ",l]})]}),(0,d.jsxs)("div",{className:"mt-1.5 flex items-center justify-end gap-1",children:[(0,d.jsx)("button",{type:"button",onClick:()=>i(a=>Math.max(1,a-1)),disabled:1===h,className:"flex h-6 items-center rounded-md border border-black/10 px-2 text-[10px] text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Prev"}),(0,d.jsx)("button",{type:"button",onClick:()=>i(a=>Math.min(l,a+1)),disabled:h===l,className:"flex h-6 items-center rounded-md border border-black/10 px-2 text-[10px] text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Next"})]})]})]})}var u=c(95514),v=c(32971),w=c(17660),x=c(50412),y=c(92592),z=c(50377);let A={"builder-id":"AWS Builder ID",idc:"IAM Identity Center",google:"Google",github:"GitHub",imported:"Imported Token",api_key:"API Key"},B={claude:"claudeAutoPing",codex:"codexAutoPing"},C={claude:"When your 5h quota runs out, auto-sends a request the moment it resets so a new window starts right away.",codex:"Auto-starts the next 5h Codex window after reset by sending a tiny gpt-5.5 request. Consumes a small amount of quota."};function D(a){return a.name?.trim()&&a.email?.trim()&&a.name.trim()!==a.email.trim()?a.email.trim():a.name?.trim()&&a.displayName?.trim()&&a.name.trim()!==a.displayName.trim()?a.displayName.trim():null}function E(a){let b=a.providerSpecificData?.region;if(b)return b;let c=a.providerSpecificData?.profileArn;return("string"==typeof c?c.split(":")[3]:"")||""}function F(a){if(!a)return"N/A";let b=new Date(a);return Number.isFinite(b.getTime())?b.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}):"N/A"}function G(){let{copied:a,copy:b}=(0,z.C)(),[c,G]=(0,e.useState)([]),[H,I]=(0,e.useState)({}),[J,K]=(0,e.useState)({}),[L,M]=(0,e.useState)({}),[N,O]=(0,e.useState)(!0),[P,Q]=(0,e.useState)({claude:{},codex:{}}),[R,S]=(0,e.useState)(null),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)(60),[Z,$]=(0,e.useState)(!0),[_,aa]=(0,e.useState)(null),[ab,ac]=(0,e.useState)(null),[ad,ae]=(0,e.useState)(null),[af,ag]=(0,e.useState)(null),[ah,ai]=(0,e.useState)(null),[aj,ak]=(0,e.useState)(!1),[al,am]=(0,e.useState)(null),[an,ao]=(0,e.useState)([]),[ap,aq]=(0,e.useState)(()=>"all"),[ar,as]=(0,e.useState)([]),[at,au]=(0,e.useState)(()=>"all"),[av,aw]=(0,e.useState)("default"),[ax,ay]=(0,e.useState)({}),[az,aA]=(0,e.useState)(!1),[aB,aC]=(0,e.useState)(!1),[aD,aE]=(0,e.useState)(!1),[aF,aG]=(0,e.useState)(1),[aH,aI]=(0,e.useState)(20),[aJ,aK]=(0,e.useState)(String(20)),[aL,aM]=(0,e.useState)({page:1,pageSize:20,total:0,totalPages:1}),[aN,aO]=(0,e.useState)({eligibleConnections:0,providerFilteredConnections:0});(0,e.useRef)(null),(0,e.useRef)(null);let aP=(0,e.useRef)(0),aQ=(0,e.useCallback)(async(a=aF)=>{try{var b,c;let d=new URLSearchParams({page:String(a),pageSize:String(aH),accountStatus:at,sort:"priority"});"all"!==ap&&d.set("provider",ap);let e=await fetch(`/api/providers/client?${d.toString()}`);if(!e.ok)throw Error("Failed to fetch connections");let f=await e.json(),g=f.connections||[],h=(b=f.pagination,b||{page:1,pageSize:aH,total:0,totalPages:1}),i=function(a,b=0){return a||{eligibleConnections:b,providerFilteredConnections:b}}(f.totals,g.length);return G(g),as(f.providerOptions||[]),aM(h),aO(i),aG((c=f.pagination,c?.page||a)),g}catch(a){return console.error("Error fetching connections:",a),G([]),as([]),aM({page:1,pageSize:aH,total:0,totalPages:1}),aO({eligibleConnections:0,providerFilteredConnections:0}),[]}},[at,az,aF,aH,ap]),aR=(0,e.useCallback)(async(a,b,{force:c=!1}={})=>{K(b=>({...b,[a]:!0})),M(b=>({...b,[a]:null}));try{console.log(`[ProviderLimits] Fetching quota for ${b} (${a})`);let d=`/api/usage/${a}${c?"?force=1":""}`,e=await fetch(d);if(!e.ok){let c=(await e.json().catch(()=>({}))).error||e.statusText;if(404===e.status)return void console.warn(`[ProviderLimits] Connection not found for ${b}, skipping`);if(401===e.status){console.warn(`[ProviderLimits] Auth error for ${b}:`,c);let d={quotas:[],message:c};I(b=>({...b,[a]:d}));return}throw Error(`HTTP ${e.status}: ${c}`)}let f=await e.json();console.log(`[ProviderLimits] Got quota for ${b}:`,f);let h={quotas:function(a,b){if(!b||"object"!=typeof b)return[];let c=[];try{switch(a.toLowerCase()){case"github":default:b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"antigravity":if(b.quotas){let a=Object.entries(b.quotas),d=a.filter(([a])=>a.startsWith("gemini-")&&!a.includes("image")),e=a.filter(([a])=>a.startsWith("claude-")),f=a.filter(([a])=>a.includes("image")),g=a.filter(([a])=>!a.startsWith("gemini-")&&!a.startsWith("claude-")&&!a.includes("image"));if(d.length>0){let a=d.reduce((a,b)=>(b[1].remainingPercentage??100)<(a[1].remainingPercentage??100)?b:a)[1];c.push({name:"Gemini (Flash / Pro)",modelKey:"gemini",used:a.used||0,total:a.total||0,resetAt:a.resetAt||null,remainingPercentage:a.remainingPercentage})}if(e.length>0){let a=e.reduce((a,b)=>(b[1].remainingPercentage??100)<(a[1].remainingPercentage??100)?b:a)[1];c.push({name:"Claude (Sonnet / Opus)",modelKey:"claude",used:a.used||0,total:a.total||0,resetAt:a.resetAt||null,remainingPercentage:a.remainingPercentage})}f.forEach(([a,b])=>{c.push({name:b.displayName||a,modelKey:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})}),g.forEach(([a,b])=>{c.push({name:b.displayName||a,modelKey:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})})}break;case"codex":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,remaining:b.remaining,resetAt:b.resetAt||null})});break;case"kiro":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"qoder":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{("organization"!==a||b&&0!==(Number(b.total)||0))&&c.push({name:"user"===a?"Personal":"organization"===a?"Organization":a,used:b.used||0,total:b.total||0,unit:b.unit,resetAt:b.resetAt||null})});break;case"claude":b.message?c.push({name:"error",used:0,total:0,resetAt:null,message:b.message}):b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,remaining:void 0!==b.remaining?b.remaining:Math.max(0,(b.total||100)-(b.used||0)),remainingPercentage:void 0!==b.remainingPercentage?b.remainingPercentage:o(b.used,b.total),resetAt:b.resetAt||null})});break;case"vercel-ai-gateway":case"ollama":case"deepseek":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"codebuddy-cn":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,recurring:!1!==b.recurring})});break;case"grok-cli":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"kimi":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})})}}catch(b){return console.error(`Error parsing quota data for ${a}:`,b),[]}if(a?.toLowerCase()==="claude"){let a={"session (5h)":0,"weekly (7d)":1,"weekly fable (7d)":2,"weekly opus (7d)":3,"weekly sonnet (7d)":4};return c.sort((b,c)=>(a[b.name]??99)-(a[c.name]??99)),c}let d=(0,g.KC)(a);if(d.length>0){let a=new Map(d.map((a,b)=>[a.id,b]));c.sort((b,c)=>{let d=b.modelKey||b.name,e=c.modelKey||c.name;return(a.get(d)??999)-(a.get(e)??999)})}return c}(b,f),plan:f.plan||null,message:f.message||null,raw:f};I(b=>({...b,[a]:h}))}catch(c){console.error(`[ProviderLimits] Error fetching quota for ${b} (${a}):`,c),M(b=>({...b,[a]:c.message||"Failed to fetch quota"}))}finally{K(b=>({...b,[a]:!1}))}},[]),aS=(0,e.useCallback)(async(a,b)=>{await aR(a,b,{force:!0}),S(new Date)},[aR]),aT=(0,e.useCallback)(async(a,b)=>{if("codex"===b&&!ad){ae(a),M(b=>({...b,[a]:null}));try{let c=await fetch(`/api/usage/${a}/codex-reset-credits`,{method:"POST"}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.message||d.error||d.code||"Failed to reset Codex limit");await aR(a,b),S(new Date)}catch(b){M(c=>({...c,[a]:b.message||"Failed to reset Codex limit"}))}finally{ae(null)}}},[aR,ad]),aU=(0,e.useCallback)(async a=>{ai({connection:a,loading:!0,error:null,data:null});try{let b=await fetch(`/api/usage/${a.id}/codex-reset-credits`,{cache:"no-store"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||c.message||"Failed to load Codex reset credits");let d=Array.isArray(c.credits)?[...c.credits]:[];d.sort((a,b)=>{let c=a.expiresAt?new Date(a.expiresAt).getTime():1/0,d=b.expiresAt?new Date(b.expiresAt).getTime():1/0;return c-d}),ai({connection:a,loading:!1,error:null,data:{...c,credits:d}})}catch(b){ai({connection:a,loading:!1,error:b.message||"Failed to load Codex reset credits",data:null})}},[]),aV=(0,e.useCallback)(async a=>{if(confirm("Delete this connection?")){aa(a);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&(I(b=>{let c={...b};return delete c[a],c}),K(b=>{let c={...b};return delete c[a],c}),M(b=>{let c={...b};return delete c[a],c}),await n(aQ,aF))}catch(a){console.error("Error deleting connection:",a)}finally{aa(null)}}},[aQ,aF]),aW=(0,e.useCallback)(async(a,b)=>{ac(a);try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&(I(a=>({...a})),await n(aQ,aF))}catch(a){console.error("Error updating connection status:",a)}finally{ac(null)}},[aQ,aF]),aX=(0,e.useCallback)(async a=>{if(!al?.id)return;let b=al.id,c=al.provider;try{(await fetch(`/api/providers/${b}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await aQ(),ak(!1),am(null),y.wb.includes(c)&&await aR(b,c))}catch(a){console.error("Error saving connection:",a)}},[al,aQ,aR]),aY=(0,e.useCallback)(async(a=!1)=>{if(V)return;W(!0),Y(60);let b=aP.current+=1,c=Math.round(10);try{let d,e=await aQ(aF);K((d={},e.forEach(a=>{d[a.id]=!0}),d)),M(a=>m(a,e)),I(a=>m(a,e)),await Promise.all(e.filter(d=>a||"claude"!==d.provider||b%c==0).map(a=>aR(a.id,a.provider))),S(new Date)}catch(a){console.error("Error refreshing all providers:",a)}finally{W(!1)}},[V,aQ,aR,aF]),aZ=(0,e.useCallback)(async(a,b,c)=>{let d=B[b];if(!d)return;let e={...P[b]||{},[a]:c};Q({...P,[b]:e});try{let a=await fetch("/api/settings",{cache:"no-store"}),b={...(a.ok?await a.json():{})[d]||{},connections:e};await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[d]:b})})}catch{Q(P)}},[P]),a$=(0,e.useCallback)(async(a,b)=>{ay(a);try{if(!(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({quotaVisibility:a})})).ok)throw Error("Failed to update quota visibility")}catch(a){console.error("Error updating quota visibility:",a),ay(b)}},[]),a_=(0,e.useCallback)((a,b,c)=>{let d=p(b);if(!a||!d)return;let e=ax[a]||{},f=new Set(e.hidden||[]);if(f.add(d),"antigravity"===c){if("gemini"===d)for(let a of f)a.startsWith("gemini-")&&!a.includes("image")&&f.delete(a);else if("claude"===d)for(let a of f)a.startsWith("claude-")&&f.delete(a)}a$({...ax,[a]:{...e,hidden:[...f]}},ax)},[ax,a$]),a0=(0,e.useCallback)((a,b,c)=>{let d=p(b);if(!a||!d)return;let e=ax[a]||{},f=new Set(e.hidden||[]);if(f.delete(d),"antigravity"===c){if("gemini"===d)for(let a of f)a.startsWith("gemini-")&&!a.includes("image")&&f.delete(a);else if("claude"===d)for(let a of f)a.startsWith("claude-")&&f.delete(a)}a$({...ax,[a]:{...e,hidden:[...f]}},ax)},[ax,a$]),a1=(0,e.useMemo)(()=>(function(a,b,c,d,e){if("codex"===d&&"default"!==e)return[...a].sort((a,c)=>{let d=l(a,b),f=l(c,b),g="remaining-asc"===e?d-f:f-d;return 0!==g?g:(k(a)||"").localeCompare(k(c)||"")});if(!c){let b=new Map;for(let c of a){let a=c.provider||"";b.has(a)||b.set(a,[]),b.get(a).push(c)}return Array.from(b.values()).flat()}let f=a=>{let c=(b[a.id]?.quotas||[]).map(a=>a.resetAt?new Date(a.resetAt).getTime():1/0).filter(a=>Number.isFinite(a));return c.length>0?Math.min(...c):1/0};return[...a].sort((a,b)=>{let c=f(a)-f(b);return 0!==c?c:(a.provider||"").localeCompare(b.provider||"")||(k(a)||"").localeCompare(k(b)||"")})})(c,H,az,ap,av),[c,H,az,ap,av]),a2=(0,e.useCallback)(()=>{let a={...ax},b=!1;for(let c of a1){let d=a[c.id]||{},e=[...function(a){let b=new Set;if(!Array.isArray(a))return b;for(let c of a){let a=p(c);if(!a||!0===c.unlimited)continue;let d=c.total||0;(d<=0||(c.used||0)>=d)&&b.add(a)}return b}(H[c.id]?.quotas||[])],f=d.hidden||[];(e.length!==f.length||e.some((a,b)=>a!==f[b]))&&(a[c.id]={...d,hidden:e},b=!0)}b&&a$(a,ax)},[ax,a$,a1,H]),a3=(0,e.useCallback)(()=>{let a={...ax},b=!1;for(let c of a1)a[c.id]?.hidden?.length&&(a[c.id]={...a[c.id],hidden:[]},b=!0);b&&a$(a,ax)},[ax,a$,a1]),a4=a=>{let b=H[a.id]?.quotas;if(!b?.length)return!1;let c=b.filter(a=>!0!==a.unlimited);return 0!==c.length&&c.every(a=>{let b=a.total||0;return b<=0||(a.used||0)>=b})},a5=(0,e.useCallback)(async(a,b)=>{if(a.length&&!aD){aE(!0);try{await Promise.all(a.map(a=>fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})}))),await n(aQ,aF)}catch(a){console.error("Error bulk toggling connections:",a)}finally{aE(!1)}}},[aD,aQ,aF]),a6="all"===ap?"All providers":ap,a7=aN.eligibleConnections>0,a8=a1.length>0,a9=aN.eligibleConnections?aN.providerFilteredConnections?{icon:"filter_alt_off",title:"No Accounts On This Page",description:"Try moving to another page or refreshing the current filters."}:{icon:"filter_alt_off",title:"No Accounts Match Current Filters",description:"all"===ap?"Try changing the account status filter to see more quota trackers.":`No ${"inactive"===at?"turned off":"active"===at?"active":"matching"} accounts found for ${ap}.`}:{icon:"cloud_off",title:"No Providers Connected",description:"Connect to providers with OAuth to track your API quota limits and usage."},ba=function(a){var b;let{start:c,end:d}=(b=a).total?{start:(b.page-1)*b.pageSize+1,end:Math.min(b.page*b.pageSize,b.total)}:{start:0,end:0};return`Showing ${c}-${d} of ${a.total}`}(aL),bb=!h.includes(aH),bc=Z||a7?Z||a8?null:(0,d.jsx)(w.default,{padding:"lg",children:(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:a9.icon}),(0,d.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:a9.title}),(0,d.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:a9.description})]})}):(0,d.jsx)(w.default,{padding:"lg",children:(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[64px] text-text-muted opacity-20",children:"cloud_off"}),(0,d.jsx)("h3",{className:"mt-4 text-lg font-semibold text-text-primary",children:"No Providers Connected"}),(0,d.jsx)("p",{className:"mt-2 text-sm text-text-muted max-w-md mx-auto",children:"Connect to providers with OAuth to track your API quota limits and usage."})]})});return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-end",children:(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aC(a=>!a),className:"flex h-8 items-center justify-between gap-1 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-haspopup":"menu","aria-expanded":aB,title:"Filter quota providers",children:[(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:["all"===ap?(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"apps"}):(0,d.jsx)(f.A,{src:`/providers/${ap}.png`,alt:ap,size:18,className:"size-[18px] rounded object-contain",fallbackText:ap.slice(0,2).toUpperCase()}),(0,d.jsx)("span",{className:"truncate capitalize hidden lg:inline",children:a6})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted",children:"expand_more"})]}),aB&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{type:"button",className:"fixed inset-0 z-30 bg-transparent","aria-label":"Close provider filter",onClick:()=>aC(!1)}),(0,d.jsxs)("div",{className:"absolute left-0 z-40 mt-2 w-64 overflow-hidden rounded-2xl border border-black/10 bg-surface/95 p-1.5 shadow-xl shadow-black/10 backdrop-blur dark:border-white/10 dark:bg-surface/95 sm:w-72",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>{"all"!==ap&&aG(1),aq("all"),aC(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${"all"===ap?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px]",children:"apps"}),(0,d.jsx)("span",{className:"font-medium",children:"All providers"}),"all"===ap&&(0,d.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]}),(0,d.jsx)("div",{className:"my-1 h-px bg-black/10 dark:bg-white/10"}),(0,d.jsx)("div",{className:"max-h-72 overflow-y-auto pr-1",children:ar.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>{ap!==a&&aG(1),aq(a),aC(!1)},className:`flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-left text-sm transition-colors ${ap===a?"bg-primary/10 text-primary":"text-text-primary hover:bg-black/5 dark:hover:bg-white/10"}`,children:[(0,d.jsx)(f.A,{src:`/providers/${a}.png`,alt:a,size:24,className:"size-6 rounded-md object-contain",fallbackText:a.slice(0,2).toUpperCase()}),(0,d.jsx)("span",{className:"font-medium capitalize",children:a}),ap===a&&(0,d.jsx)("span",{className:"material-symbols-outlined ml-auto text-[20px]",children:"check"})]},a))})]})]})]}),(0,d.jsx)("select",{value:at,onChange:a=>{let b=a.target.value;at!==b&&aG(1),au(b)},className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Filter accounts by status",children:i.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}),"codex"===ap&&(0,d.jsx)("select",{value:av,onChange:a=>aw(a.target.value),className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Sort Codex quotas by remaining",children:j.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}),(0,d.jsxs)("button",{type:"button",onClick:()=>aA(a=>!a),"aria-pressed":az,className:`flex h-8 shrink-0 items-center gap-1 rounded-lg border px-2 text-xs transition-colors ${az?"border-amber-500/40 bg-amber-500/10 text-amber-500":"border-black/10 text-text-primary hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5"}`,title:"Sort accounts by earliest quota reset time",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"hourglass_top"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"Expiring first"})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>{a5(a1.filter(a=>(a.isActive??!0)&&a4(a)).map(a=>a.id),!1)},disabled:aD,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-red-500/30 px-2 text-xs text-red-500 transition-colors hover:bg-red-500/10 disabled:opacity-50",title:"Disable connections with depleted quota on the current page",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"block"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,r.Tl)("Turn off Empty")})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>{a5(a1.filter(a=>!(a.isActive??!0)&&!a4(a)).map(a=>a.id),!0)},disabled:aD,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-emerald-500/30 px-2 text-xs text-emerald-500 transition-colors hover:bg-emerald-500/10 disabled:opacity-50",title:"Enable connections that still have quota on the current page",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"check_circle"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,r.Tl)("Turn on Available")})]}),(0,d.jsxs)("button",{type:"button",onClick:a2,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-blue-500/30 px-2 text-xs text-blue-500 transition-colors hover:bg-blue-500/10",title:"Hide depleted (zero-balance) quota packs across current connections",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"visibility"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,r.Tl)("Only with balance")})]}),(0,d.jsxs)("button",{type:"button",onClick:a3,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5",title:"Show all quota packs across current connections",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"visibility_off"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:(0,r.Tl)("Show all")})]}),(0,d.jsxs)("button",{onClick:()=>O(a=>!a),className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5",title:N?"Disable auto-refresh":"Enable auto-refresh",children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[14px] ${N?"text-primary":"text-text-muted"}`,children:N?"toggle_on":"toggle_off"}),(0,d.jsx)("span",{className:"hidden text-text-primary sm:inline",children:"Auto-refresh"}),N&&(0,d.jsxs)("span",{className:"text-[10px] text-text-muted tabular-nums",children:["(",X,"s)"]})]}),(0,d.jsx)("button",{type:"button",onClick:()=>aY(!0),disabled:V,className:"flex h-8 shrink-0 items-center gap-1 rounded-lg border border-black/10 px-2 text-xs text-text-primary transition-colors hover:bg-black/5 dark:border-white/10 dark:hover:bg-white/5 disabled:opacity-50",title:"Refresh all",children:(0,d.jsx)("span",{className:`material-symbols-outlined text-[14px] ${V?"animate-spin":""}`,children:"refresh"})})]})}),"all"!==at&&(0,d.jsxs)("div",{className:"flex items-center gap-2 rounded-xl border border-amber-500/20 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] shrink-0",children:"filter_alt"}),(0,d.jsx)("span",{children:(0,r.Tl)("Account filter is active and persists across visits")})]}),az&&(0,d.jsx)("div",{className:"rounded-xl border border-amber-500/20 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300",children:"Expiring-first currently reorders accounts inside the current page. Cross-page ordering still follows backend pagination."}),bc&&(0,d.jsx)("div",{className:"pt-2",children:bc}),!bc&&(0,d.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:a1.map(c=>{let e,g,h,i=H[c.id],j=J[c.id],l=L[c.id],m=!1===c.isActive,n="codex"===c.provider,o=Number.isFinite(g="number"==typeof(e=i?.raw?.resetCredits?.availableCount)?e:Number(e))?Math.max(0,g):0,r=ad===c.id,x=_===c.id||ab===c.id||r,y=i?.quotas||[],z=function(a,b=[],c={},d){if(!Array.isArray(b)||0===b.length)return[];let e=q(a,c,d,b);return 0===e.size?b:b.filter(a=>!e.has(p(a)))}(c.id,y,ax,c.provider),F=function(a,b=[],c={},d){if(!Array.isArray(b)||0===b.length)return[];let e=q(a,c,d,b);return 0===e.size?[]:b.filter(a=>e.has(p(a)))}(c.id,y,ax,c.provider);return(0,d.jsxs)(w.default,{padding:"none",className:`min-w-0 ${m?"opacity-60":""}`,children:[(0,d.jsx)("div",{className:"px-3 py-2 border-b border-black/10 dark:border-white/10",children:(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,d.jsx)("div",{className:"w-8 h-8 shrink-0 rounded-md flex items-center justify-center overflow-hidden",children:(0,d.jsx)(f.A,{src:`/providers/${c.provider}.png`,alt:c.provider,size:32,className:"object-contain",fallbackText:c.provider?.slice(0,2).toUpperCase()||"PR"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h3",{className:"text-sm font-semibold text-text-primary capitalize truncate",children:c.provider}),k(c)?(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:k(c)}):null,D(c)?(0,d.jsx)("p",{className:"text-[11px] text-text-muted/80 truncate",children:D(c)}):null,"kiro"===c.provider&&(0,d.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-1",children:[(0,d.jsx)("span",{className:"rounded-full bg-brand-500/10 px-2 py-0.5 text-[10px] font-semibold text-brand-600 dark:text-brand-300",children:(h=c.providerSpecificData?.authMethod)&&A[h]?A[h]:"api_key"===c.authType?"API Key":"OAuth"}),E(c)&&(0,d.jsx)("span",{className:"rounded-full bg-blue-500/10 px-2 py-0.5 text-[10px] font-semibold text-blue-600 dark:text-blue-400",children:E(c)}),(0,d.jsx)("span",{className:`rounded-full px-2 py-0.5 text-[10px] font-semibold ${m?"bg-surface-2 text-text-muted":"active"===c.testStatus||"success"===c.testStatus?"bg-green-500/10 text-green-600 dark:text-green-400":"error"===c.testStatus||"expired"===c.testStatus||"unavailable"===c.testStatus?"bg-red-500/10 text-red-600 dark:text-red-400":"bg-surface-2 text-text-muted"}`,children:m?"disabled":c.testStatus||"unknown"}),c.providerSpecificData?.profileArn&&(0,d.jsxs)("button",{type:"button",onClick:()=>b(c.providerSpecificData.profileArn,c.id),title:c.providerSpecificData.profileArn,className:"inline-flex max-w-full items-center gap-1 rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-muted transition-colors hover:text-primary",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:a===c.id?"check":"content_copy"}),(0,d.jsx)("code",{className:"truncate font-mono",children:c.providerSpecificData.profileArn})]})]})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(v.default,{text:o>0?`Use one Codex reset credit. Available: ${o}`:"No Codex reset credits available",children:(0,d.jsxs)("button",{type:"button",onClick:()=>ag({connection:c,resetCreditCount:o}),disabled:o<=0||j||x,"aria-label":o>0?`Use one Codex reset credit. ${o} available.`:"No Codex reset credits available",className:`flex h-8 min-w-10 items-center justify-center gap-1 rounded-lg border px-2 text-[11px] font-medium tabular-nums transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary/60 disabled:cursor-not-allowed disabled:opacity-60 ${o>0?"border-primary/30 bg-primary/5 text-primary hover:bg-primary/10":"border-black/10 bg-black/[0.02] text-text-muted dark:border-white/10 dark:bg-white/[0.03]"}`,children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-[15px] ${r?"animate-spin":""}`,children:r?"progress_activity":"restart_alt"}),(0,d.jsx)("span",{children:o})]})}),(0,d.jsx)(v.default,{text:"View Codex reset credit expiry",children:(0,d.jsx)("button",{type:"button",onClick:()=>aU(c),disabled:j||x,"aria-label":"View Codex reset credit expiry",className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-muted transition-colors hover:bg-black/5 hover:text-primary disabled:cursor-not-allowed disabled:opacity-50 dark:border-white/10 dark:hover:bg-white/5",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[17px]",children:"schedule"})})})]}),B[c.provider]&&"oauth"===c.authType&&(0,d.jsx)(v.default,{text:C[c.provider],children:(0,d.jsx)("button",{type:"button",onClick:()=>aZ(c.id,c.provider,P[c.provider]?.[c.id]!==!0),"aria-label":"Toggle auto-ping",className:`flex h-8 w-8 items-center justify-center rounded-lg transition-colors hover:bg-black/5 dark:hover:bg-white/5 ${P[c.provider]?.[c.id]===!0?"text-primary":"text-text-muted"}`,children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"bolt"})})}),(0,d.jsx)(v.default,{text:"Refresh quota",children:(0,d.jsx)("button",{type:"button",onClick:()=>aS(c.id,c.provider),disabled:j||x,"aria-label":"Refresh quota",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-black/5 dark:hover:bg-white/5 transition-colors disabled:opacity-50",children:(0,d.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted ${j?"animate-spin":""}`,children:"refresh"})})}),(0,d.jsx)(v.default,{text:"Edit connection",children:(0,d.jsx)("button",{type:"button",onClick:()=>{am(c),ak(!0)},disabled:x,"aria-label":"Edit connection",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-black/5 dark:hover:bg-white/5 text-text-muted hover:text-primary transition-colors disabled:opacity-50",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"})})}),(0,d.jsx)(v.default,{text:"Delete connection",children:(0,d.jsx)("button",{type:"button",onClick:()=>aV(c.id),disabled:x,"aria-label":"Delete connection",className:"flex h-8 w-8 items-center justify-center rounded-lg hover:bg-red-500/10 text-red-500 transition-colors disabled:opacity-50",children:(0,d.jsx)("span",{className:`material-symbols-outlined text-[18px] ${_===c.id?"animate-pulse":""}`,children:"delete"})})}),(0,d.jsx)("div",{className:"inline-flex items-center pl-0.5",title:c.isActive??!0?"Disable connection":"Enable connection",children:(0,d.jsx)(u.default,{size:"sm",checked:c.isActive??!0,disabled:x,onChange:a=>aW(c.id,a)})})]})]})}),(0,d.jsxs)("div",{className:"px-2 py-1.5",children:[j?(0,d.jsx)("div",{className:"text-center py-5 text-text-muted",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[28px] animate-spin",children:"progress_activity"})}):l?(0,d.jsxs)("div",{className:"text-center py-5",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[28px] text-red-500",children:"error"}),(0,d.jsx)("p",{className:"mt-1.5 text-xs text-text-muted",children:l})]}):i?.message?(0,d.jsx)("div",{className:"text-center py-5",children:(0,d.jsx)("p",{className:"text-xs text-text-muted",children:i.message})}):(0,d.jsx)(t,{quotas:z,compact:!0,sortMode:"default",showSortLabel:"codex"===c.provider&&"default"!==av,onHideQuota:a=>a_(c.id,a,c.provider)}),F.length>0&&(0,d.jsxs)("div",{className:"mt-2 flex min-w-0 items-center gap-1 border-t border-black/5 pt-2 text-[10px] text-text-muted dark:border-white/5",children:[(0,d.jsx)("span",{className:"material-symbols-outlined shrink-0 text-[14px]",children:"visibility_off"}),(0,d.jsx)("span",{className:"shrink-0",children:"Hidden:"}),(0,d.jsx)("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap pb-2",children:F.map(a=>(0,d.jsx)("button",{type:"button",onClick:()=>a0(c.id,a,c.provider),className:"shrink-0 rounded-md border border-black/10 px-1.5 py-0.5 transition-colors hover:bg-black/5 hover:text-text-primary dark:border-white/10 dark:hover:bg-white/5",title:"Show this quota row",children:s(a.name)},p(a)))})]})]})]},c.id)})}),(0,d.jsx)("div",{className:"rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 dark:border-white/10 dark:bg-white/[0.03]",children:(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:ba}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsxs)("select",{value:bb?"custom":String(aH),onChange:a=>{let b=a.target.value;if("custom"===b)return;let c=Number.parseInt(b,10);Number.isFinite(c)&&(aG(1),aI(c),aK(String(c)))},className:"h-8 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Accounts per page",children:[h.map(a=>(0,d.jsxs)("option",{value:String(a),children:[a," / page"]},a)),(0,d.jsx)("option",{value:"custom",children:"Custom"})]}),(0,d.jsx)("input",{type:"number",min:"1",max:String(500),inputMode:"numeric",value:aJ,onChange:a=>aK(a.target.value),onBlur:()=>{let a=Number.parseInt(aJ,10);if(!Number.isFinite(a))return void aK(String(aH));let b=Math.min(500,Math.max(1,a));aG(1),aI(b),aK(String(b))},onKeyDown:a=>{if("Enter"!==a.key)return;let b=Number.parseInt(aJ,10);if(!Number.isFinite(b))return void aK(String(aH));let c=Math.min(500,Math.max(1,b));aG(1),aI(c),aK(String(c))},className:"h-8 w-20 rounded-lg border border-black/10 bg-black/[0.02] px-2 text-xs text-text-primary outline-none transition-colors hover:bg-black/5 dark:border-white/10 dark:bg-white/[0.03] dark:hover:bg-white/10","aria-label":"Custom accounts per page",placeholder:"Custom"}),(0,d.jsxs)("span",{className:"text-xs text-text-muted",children:["Page ",aL.page," / ",aL.totalPages]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("button",{type:"button",onClick:()=>aG(1),disabled:aL.page<=1||Z||V,className:"flex h-8 items-center rounded-lg border border-black/10 px-3 text-xs text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"First Page"}),(0,d.jsx)("button",{type:"button",onClick:()=>aG(a=>Math.max(1,a-1)),disabled:aL.page<=1||Z||V,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5","aria-label":"Previous accounts page",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"chevron_left"})}),(0,d.jsx)("button",{type:"button",onClick:()=>aG(a=>Math.min(aL.totalPages,a+1)),disabled:aL.page>=aL.totalPages||Z||V,className:"flex h-8 w-8 items-center justify-center rounded-lg border border-black/10 text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5","aria-label":"Next accounts page",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"chevron_right"})}),(0,d.jsx)("button",{type:"button",onClick:()=>aG(aL.totalPages),disabled:aL.page>=aL.totalPages||Z||V,className:"flex h-8 items-center rounded-lg border border-black/10 px-3 text-xs text-text-primary transition-colors hover:bg-black/5 disabled:cursor-not-allowed disabled:opacity-40 dark:border-white/10 dark:hover:bg-white/5",children:"Last Page"})]})]})}),(0,d.jsx)(x.uo,{isOpen:!!af,onClose:()=>{ad||ag(null)},onConfirm:async()=>{let a=af?.connection;a&&(await aT(a.id,a.provider),ag(null))},title:"Reset Codex limit?",message:`Use 1 Codex reset credit for ${k(af?.connection||{})||"this account"}. This cannot be undone. Remaining credits: ${af?.resetCreditCount??0}.`,confirmText:"Reset limit",cancelText:"Cancel",variant:"danger",loading:!!ad}),ah&&(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 px-4 backdrop-blur-sm",children:(0,d.jsxs)("div",{className:"w-full max-w-2xl overflow-hidden rounded-2xl border border-black/15 bg-white shadow-2xl ring-1 ring-black/10 dark:border-white/15 dark:bg-neutral-950 dark:ring-white/10",children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-3 border-b border-black/10 bg-black/[0.03] px-4 py-3 dark:border-white/10 dark:bg-white/[0.04]",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h3",{className:"text-base font-semibold text-text-primary",children:"Codex Reset Credit Expiry"}),(0,d.jsx)("p",{className:"mt-0.5 truncate text-xs text-text-muted",children:k(ah.connection)||"Codex account"})]}),(0,d.jsx)("button",{type:"button",onClick:()=>ai(null),className:"flex h-8 w-8 items-center justify-center rounded-lg text-text-muted transition-colors hover:bg-black/5 hover:text-text-primary dark:hover:bg-white/5","aria-label":"Close reset credit expiry modal",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]}),(0,d.jsx)("div",{className:"max-h-[70vh] overflow-auto bg-white p-4 dark:bg-neutral-950",children:ah.loading?(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 py-10 text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading reset credits..."]}):ah.error?(0,d.jsx)("div",{className:"rounded-xl border border-red-500/20 bg-red-500/10 px-3 py-2 text-sm text-red-600 dark:text-red-300",children:ah.error}):ah.data?.credits?.length?(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:[(0,d.jsxs)("span",{children:[ah.data.credits.length," reset credit",1===ah.data.credits.length?"":"s"]}),(0,d.jsxs)("span",{children:[ah.data.availableCount??0," available"]})]}),(0,d.jsx)("div",{className:"overflow-x-auto rounded-xl border border-black/10 dark:border-white/10",children:(0,d.jsxs)("table",{className:"w-full min-w-[560px] text-left text-sm",children:[(0,d.jsx)("thead",{className:"bg-black/[0.03] text-xs uppercase tracking-wide text-text-muted dark:bg-white/[0.04]",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Status"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Granted At"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Expires At"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Remaining"})]})}),(0,d.jsx)("tbody",{children:ah.data.credits.map((a,b)=>(0,d.jsxs)("tr",{className:"border-t border-black/5 dark:border-white/5",children:[(0,d.jsx)("td",{className:"px-3 py-2",children:(0,d.jsx)("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-xs font-medium text-primary",children:a.status||"unknown"})}),(0,d.jsx)("td",{className:"px-3 py-2 text-text-muted",children:F(a.grantedAt)}),(0,d.jsx)("td",{className:"px-3 py-2 text-text-primary",children:F(a.expiresAt)}),(0,d.jsx)("td",{className:"px-3 py-2 font-medium text-text-primary",children:function(a){if(!a)return"N/A";let b=new Date(a).getTime()-Date.now();if(!Number.isFinite(b))return"N/A";if(b<=0)return"Expired";let c=Math.ceil(b/36e5),d=Math.floor(c/24),e=c%24;return d>0?`${d}d ${e}h`:`${e}h`}(a.expiresAt)})]},`${a.status}-${a.expiresAt||b}`))})]})})]}):(0,d.jsx)("div",{className:"rounded-xl border border-black/10 bg-black/[0.02] px-3 py-8 text-center text-sm text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:"No reset credit details returned for this account."})})]})}),(0,d.jsx)(x.wI,{isOpen:aj,connection:al,proxyPools:an,onSave:aX,onClose:()=>{ak(!1),am(null)}})]})}},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16440:(a,b,c)=>{Promise.resolve().then(c.bind(c,3493)),Promise.resolve().then(c.bind(c,74812))},16698:a=>{"use strict";a.exports=require("node:async_hooks")},16736:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(5735),e=c(91986),f=c(92082),g=c(57471);function h(){return(0,d.jsx)(e.Suspense,{fallback:(0,d.jsx)(f.CardSkeleton,{}),children:(0,d.jsx)(g.default,{})})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},23064:(a,b,c)=>{Promise.resolve().then(c.bind(c,57471)),Promise.resolve().then(c.bind(c,92082))},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57471:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"F:\\\\Files\\\\GitHub Files\\\\10router\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\usage\\\\components\\\\ProviderLimits\\\\index.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\usage\\components\\ProviderLimits\\index.js","default")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},90063:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,57529))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["quota",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,16736))),"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\dashboard\\quota\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"F:\\Files\\GitHub Files\\10router\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"F:\\Files\\GitHub Files\\10router\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/quota/page",pathname:"/dashboard/quota",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1260,2430,4613,4665,9140,9463,6070,869,7239,6457,4123,1377,412,1564],()=>b(b.s=90063));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/package.json","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/1129.js","../../../../chunks/1220.js","../../../../chunks/1260.js","../../../../chunks/1332.js","../../../../chunks/1377.js","../../../../chunks/1564.js","../../../../chunks/1636.js","../../../../chunks/1813.js","../../../../chunks/1937.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/2179.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2732.js","../../../../chunks/295.js","../../../../chunks/318.js","../../../../chunks/3212.js","../../../../chunks/3225.js","../../../../chunks/3350.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3943.js","../../../../chunks/3962.js","../../../../chunks/4037.js","../../../../chunks/4055.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4452.js","../../../../chunks/4613.js","../../../../chunks/4665.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5433.js","../../../../chunks/5573.js","../../../../chunks/5612.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6212.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/653.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6877.js","../../../../chunks/698.js","../../../../chunks/7211.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7322.js","../../../../chunks/7598.js","../../../../chunks/7774.js","../../../../chunks/7828.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8038.js","../../../../chunks/8145.js","../../../../chunks/8162.js","../../../../chunks/8292.js","../../../../chunks/8444.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/869.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/9140.js","../../../../chunks/9463.js","../../../../chunks/9528.js","../../../../chunks/9609.js","../../../../chunks/9703.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/index.js","../../../../../../node_modules/wsl-utils/node_modules/powershell-utils/package.json","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1260.js","../../../../chunks/1377.js","../../../../chunks/1564.js","../../../../chunks/1636.js","../../../../chunks/1813.js","../../../../chunks/1937.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/2179.js","../../../../chunks/2391.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2732.js","../../../../chunks/295.js","../../../../chunks/318.js","../../../../chunks/3212.js","../../../../chunks/3225.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/3943.js","../../../../chunks/3962.js","../../../../chunks/4037.js","../../../../chunks/4049.js","../../../../chunks/4055.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4293.js","../../../../chunks/4613.js","../../../../chunks/4665.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4985.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5182.js","../../../../chunks/5217.js","../../../../chunks/5258.js","../../../../chunks/5433.js","../../../../chunks/5573.js","../../../../chunks/5612.js","../../../../chunks/5615.js","../../../../chunks/5640.js","../../../../chunks/5781.js","../../../../chunks/595.js","../../../../chunks/6070.js","../../../../chunks/615.js","../../../../chunks/6212.js","../../../../chunks/6306.js","../../../../chunks/6326.js","../../../../chunks/6457.js","../../../../chunks/653.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6877.js","../../../../chunks/6922.js","../../../../chunks/698.js","../../../../chunks/7211.js","../../../../chunks/7239.js","../../../../chunks/7247.js","../../../../chunks/7322.js","../../../../chunks/7598.js","../../../../chunks/7774.js","../../../../chunks/7828.js","../../../../chunks/7913.js","../../../../chunks/7965.js","../../../../chunks/8145.js","../../../../chunks/8292.js","../../../../chunks/8363.js","../../../../chunks/8444.js","../../../../chunks/8499.js","../../../../chunks/8520.js","../../../../chunks/869.js","../../../../chunks/8838.js","../../../../chunks/8895.js","../../../../chunks/8910.js","../../../../chunks/8920.js","../../../../chunks/9140.js","../../../../chunks/9463.js","../../../../chunks/9528.js","../../../../chunks/9609.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|