zevairouter 1.0.44 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/cli/app/.next-cli-build/BUILD_ID +1 -1
- package/cli/app/.next-cli-build/app-path-routes-manifest.json +10 -5
- package/cli/app/.next-cli-build/build-manifest.json +2 -2
- package/cli/app/.next-cli-build/routes-manifest.json +37 -0
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
- package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/autoclaw/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route_client-reference-manifest.js +1 -0
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/callback.html +1 -1
- package/cli/app/.next-cli-build/server/app/callback.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.html +1 -1
- package/cli/app/.next-cli-build/server/app/index.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/landing.html +1 -1
- package/cli/app/.next-cli-build/server/app/landing.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app/login.html +1 -1
- package/cli/app/.next-cli-build/server/app/login.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
- package/cli/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
- package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/cli/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
- package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page.js +2 -2
- package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/app-paths-manifest.json +10 -5
- package/cli/app/.next-cli-build/server/chunks/1531.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/1939.js +3 -3
- package/cli/app/.next-cli-build/server/chunks/2540.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/2650.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/2973.js +34 -0
- package/cli/app/.next-cli-build/server/chunks/3092.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/3110.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/318.js +2 -2
- package/cli/app/.next-cli-build/server/chunks/3407.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/3487.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/3831.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/412.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/415.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/4746.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5000.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5433.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/5949.js +2 -2
- package/cli/app/.next-cli-build/server/chunks/6176.js +6 -0
- package/cli/app/.next-cli-build/server/chunks/6222.js +8 -0
- package/cli/app/.next-cli-build/server/chunks/6652.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/6896.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/7276.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/8157.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/8450.js +1 -1
- package/cli/app/.next-cli-build/server/chunks/{1260.js → 8666.js} +1 -1
- package/cli/app/.next-cli-build/server/chunks/9293.js +1 -0
- package/cli/app/.next-cli-build/server/chunks/9613.js +1 -0
- package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/cli/app/.next-cli-build/server/middleware.js +3 -3
- package/cli/app/.next-cli-build/server/pages/404.html +1 -1
- package/cli/app/.next-cli-build/server/pages/500.html +1 -1
- package/cli/app/.next-cli-build/static/EwQTy282yywbuWzwAwgEx/_buildManifest.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/{1321-a179ec9bacf35359.js → 3702-4ee04434aeebbd01.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/{5497-d5966352b59ffb11.js → 5497-1d4969e5b1f0741e.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/automation/{page-36dfe0b23bf48d41.js → page-cfd2f9b0b6264c23.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-6ce60f0572ead047.js → page-91083e17626a1de4.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-226479ac738b37ff.js → page-307e7a994072d3fe.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-c8d0727b97defe81.js → page-af6c0246d5d96fd4.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-323aadfc160c2878.js → page-a80bc0ef9e6c1e11.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-4ea1e971b8145dc4.js → page-51791daa7ebe6710.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/context/{page-1d6526760807060f.js → page-f654f75ab4d3b2b4.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-6a64fa03d091fe28.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-b9fdd2a9fe053f2f.js → page-e9f89f6f7f2695ac.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-11695d955cd6efe1.js → page-0546fd3c6b301483.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-2c9fb670033217f9.js → page-59911fe6fc9fbfc8.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-353c0a06aa99738e.js → page-2744a3a7ee2b2f3b.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-1be9ecb194cb9f76.js → page-f11795f09a7e359c.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-8912f47631cdced9.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-293112a00ec75481.js → page-1268e6fea9078686.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-41ea0d0c8e98a115.js → page-ce5bb4fbaafe9f76.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-4abf89bfa4f40de4.js → page-0d7a893a9acb3db1.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-349d9c103cfcca46.js → page-a99019c892e1c51d.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-3e0b28bcc4733bda.js → page-b4c7d4b4ec9ecdc8.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-3b1ead2c6cc4a94f.js → page-d10896022aaed6ef.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-5c75e636ebf21297.js → page-c58270853707170e.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-43e7f2ac85929b77.js → page-1fa380d58608995a.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-e9adc48166d1420d.js → page-7d617ed8a6c73a39.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-04b511f4715af499.js → page-a57ed10cad355f8f.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-d9a30786a04fb360.js → layout-d5ac11eba9159f43.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/context/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/health/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/init/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/{layout-8bbe21551973d1d5.js → layout-66d404d6c5a82e5c.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/login/{page-4fec10951b88870c.js → page-b47f2bec3372a1a3.js} +1 -1
- package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/app/page-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-7215ab9980ff74fe.js +1 -0
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-7215ab9980ff74fe.js +1 -0
- package/cli/app/cli/hooks/cloakbrowserRuntime.js +105 -0
- package/cli/app/package.json +3 -1
- package/cli/app/src/lib/oauth/services/bulkImportBrowserEngine.js +51 -1
- package/cli/app/src/mitm/server.js +2 -2
- package/cli/hooks/cloakbrowserRuntime.js +105 -0
- package/cli/package.json +1 -1
- package/package.json +3 -1
- package/src/app/(dashboard)/dashboard/automation/page.js +67 -0
- package/src/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +19 -0
- package/src/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +30 -0
- package/src/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +23 -0
- package/src/app/api/oauth/grok-cli/bulk-import/latest/route.js +24 -0
- package/src/app/api/oauth/grok-cli/bulk-import/route.js +39 -0
- package/src/lib/oauth/services/bulkImportBrowserEngine.js +51 -1
- package/src/lib/oauth/services/grokCliBulkImportManager.js +456 -0
- package/src/lib/oauth/services/grokXaiEmailAutomation.js +343 -0
- package/src/lib/oauth/services/kiroGoogleAutomation.js +4 -0
- package/src/lib/oauth/services/tempmailClient.js +160 -0
- package/src/shared/components/BulkAccountAutomationModal.js +13 -4
- package/cli/app/.next-cli-build/server/chunks/2777.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/4161.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/42.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/5827.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/595.js +0 -1
- package/cli/app/.next-cli-build/server/chunks/7153.js +0 -1
- package/cli/app/.next-cli-build/static/bAJp2tRybHzjTO6gr0kf_/_buildManifest.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-aec3b7aaf412c4b7.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-a643d18e501e18b8.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/context/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/health/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/init/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/autoclaw/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/app/page-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-a2310c1193a3c663.js +0 -1
- package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-a2310c1193a3c663.js +0 -1
- /package/cli/app/.next-cli-build/static/{bAJp2tRybHzjTO6gr0kf_ → EwQTy282yywbuWzwAwgEx}/_ssgManifest.js +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
exports.id=1939,exports.ids=[1939],exports.modules={644:(a,b,c)=>{"use strict";function d(a,b=null){if(null==a)return b;if("string"!=typeof a)return a;try{return JSON.parse(a)}catch{return b}}function e(a){return JSON.stringify(a??null)}c.d(b,{q:()=>d,s:()=>e})},1129:(a,b,c)=>{"use strict";c.r(b),c.d(b,{createProviderNode:()=>k,deleteProviderNode:()=>m,getProviderNodeById:()=>j,getProviderNodes:()=>i,updateProviderNode:()=>l});var d=c(
|
|
1
|
+
exports.id=1939,exports.ids=[1939],exports.modules={644:(a,b,c)=>{"use strict";function d(a,b=null){if(null==a)return b;if("string"!=typeof a)return a;try{return JSON.parse(a)}catch{return b}}function e(a){return JSON.stringify(a??null)}c.d(b,{q:()=>d,s:()=>e})},1129:(a,b,c)=>{"use strict";c.r(b),c.d(b,{createProviderNode:()=>k,deleteProviderNode:()=>m,getProviderNodeById:()=>j,getProviderNodes:()=>i,updateProviderNode:()=>l});var d=c(47293),e=c(36366),f=c(644);function g(a){return a?{...(0,f.q)(a.data,{}),id:a.id,type:a.type,name:a.name,createdAt:a.createdAt,updatedAt:a.updatedAt}:null}function h(a,b){let c=function(a){let{id:b,type:c,name:d,createdAt:e,updatedAt:g,...h}=a;return{id:b,type:c??null,name:d??null,data:(0,f.s)(h),createdAt:e,updatedAt:g}}(b);a.run(`INSERT INTO providerNodes(id, type, name, data, createdAt, updatedAt)
|
|
2
2
|
VALUES(?, ?, ?, ?, ?, ?)
|
|
3
3
|
ON CONFLICT(id) DO UPDATE SET
|
|
4
|
-
type=excluded.type, name=excluded.name, data=excluded.data, updatedAt=excluded.updatedAt`,[c.id,c.type,c.name,c.data,c.createdAt,c.updatedAt])}async function i(a={}){let b=await (0,e.c)(),c=[],d=[];a.type&&(c.push("type = ?"),d.push(a.type));let f=`SELECT * FROM providerNodes${c.length?` WHERE ${c.join(" AND ")}`:""}`;return b.all(f,d).map(g)}async function j(a){return g((await (0,e.c)()).get("SELECT * FROM providerNodes WHERE id = ?",[a]))}async function k(a){let b=await (0,e.c)(),c=new Date().toISOString(),f={id:a.id||(0,d.A)(),type:a.type,name:a.name,prefix:a.prefix,apiType:a.apiType,baseUrl:a.baseUrl,createdAt:c,updatedAt:c};return h(b,f),f}async function l(a,b){let c=await (0,e.c)(),d=null;return c.transaction(()=>{let e=c.get("SELECT * FROM providerNodes WHERE id = ?",[a]);if(!e)return;let f={...g(e),...b,updatedAt:new Date().toISOString()};h(c,f),d=f}),d}async function m(a){let b=await (0,e.c)(),c=null;return b.transaction(()=>{let d=b.get("SELECT * FROM providerNodes WHERE id = ?",[a]);d&&(c=g(d),b.run("DELETE FROM providerNodes WHERE id = ?",[a]))}),c}},5781:(a,b,c)=>{"use strict";c.r(b),c.d(b,{cleanupProviderConnections:()=>r,createProviderConnection:()=>m,deleteProviderConnection:()=>o,deleteProviderConnectionsByProvider:()=>p,getProviderConnectionById:()=>k,getProviderConnections:()=>j,reorderProviderConnections:()=>q,updateProviderConnection:()=>n});var d=c(
|
|
4
|
+
type=excluded.type, name=excluded.name, data=excluded.data, updatedAt=excluded.updatedAt`,[c.id,c.type,c.name,c.data,c.createdAt,c.updatedAt])}async function i(a={}){let b=await (0,e.c)(),c=[],d=[];a.type&&(c.push("type = ?"),d.push(a.type));let f=`SELECT * FROM providerNodes${c.length?` WHERE ${c.join(" AND ")}`:""}`;return b.all(f,d).map(g)}async function j(a){return g((await (0,e.c)()).get("SELECT * FROM providerNodes WHERE id = ?",[a]))}async function k(a){let b=await (0,e.c)(),c=new Date().toISOString(),f={id:a.id||(0,d.A)(),type:a.type,name:a.name,prefix:a.prefix,apiType:a.apiType,baseUrl:a.baseUrl,createdAt:c,updatedAt:c};return h(b,f),f}async function l(a,b){let c=await (0,e.c)(),d=null;return c.transaction(()=>{let e=c.get("SELECT * FROM providerNodes WHERE id = ?",[a]);if(!e)return;let f={...g(e),...b,updatedAt:new Date().toISOString()};h(c,f),d=f}),d}async function m(a){let b=await (0,e.c)(),c=null;return b.transaction(()=>{let d=b.get("SELECT * FROM providerNodes WHERE id = ?",[a]);d&&(c=g(d),b.run("DELETE FROM providerNodes WHERE id = ?",[a]))}),c}},5781:(a,b,c)=>{"use strict";c.r(b),c.d(b,{cleanupProviderConnections:()=>r,createProviderConnection:()=>m,deleteProviderConnection:()=>o,deleteProviderConnectionsByProvider:()=>p,getProviderConnectionById:()=>k,getProviderConnections:()=>j,reorderProviderConnections:()=>q,updateProviderConnection:()=>n});var d=c(47293),e=c(36366),f=c(644);let g=["displayName","email","globalPriority","defaultModel","accessToken","refreshToken","expiresAt","tokenType","scope","projectId","apiKey","testStatus","lastTested","lastError","lastErrorAt","rateLimitedUntil","expiresIn","errorCode","consecutiveUseCount"];function h(a){return a?{...(0,f.q)(a.data,{}),id:a.id,provider:a.provider,authType:a.authType,name:a.name,email:a.email,priority:a.priority,isActive:1===a.isActive||!0===a.isActive,createdAt:a.createdAt,updatedAt:a.updatedAt}:null}function i(a,b){let c=function(a){let{id:b,provider:c,authType:d,name:e,email:g,priority:h,isActive:i,createdAt:j,updatedAt:k,...l}=a;return{id:b,provider:c,authType:d,name:e??null,email:g??null,priority:h??null,isActive:+(!1!==i),data:(0,f.s)(l),createdAt:j,updatedAt:k}}(b);a.run(`INSERT INTO providerConnections(id, provider, authType, name, email, priority, isActive, data, createdAt, updatedAt)
|
|
5
5
|
VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
6
6
|
ON CONFLICT(id) DO UPDATE SET
|
|
7
7
|
provider=excluded.provider, authType=excluded.authType, name=excluded.name,
|
|
8
8
|
email=excluded.email, priority=excluded.priority, isActive=excluded.isActive,
|
|
9
9
|
data=excluded.data, updatedAt=excluded.updatedAt`,[c.id,c.provider,c.authType,c.name,c.email,c.priority,c.isActive,c.data,c.createdAt,c.updatedAt])}async function j(a={}){let b=await (0,e.c)(),c=[],d=[];a.provider&&(c.push("provider = ?"),d.push(a.provider)),void 0!==a.isActive&&(c.push("isActive = ?"),d.push(+!!a.isActive));let f=`SELECT * FROM providerConnections${c.length?` WHERE ${c.join(" AND ")}`:""}`,g=b.all(f,d).map(h);return g.sort((a,b)=>(a.priority||999)-(b.priority||999)),g}async function k(a){return h((await (0,e.c)()).get("SELECT * FROM providerConnections WHERE id = ?",[a]))}function l(a,b){let c=a.all("SELECT * FROM providerConnections WHERE provider = ?",[b]).map(h);c.sort((a,b)=>{let c=(a.priority||0)-(b.priority||0);return 0!==c?c:new Date(b.updatedAt||0)-new Date(a.updatedAt||0)}),c.forEach((b,c)=>{a.run("UPDATE providerConnections SET priority = ? WHERE id = ?",[c+1,b.id])})}async function m(a){let b,c=await (0,e.c)(),f=new Date().toISOString();return c.transaction(()=>{let e=c.all("SELECT * FROM providerConnections WHERE provider = ?",[a.provider]).map(h),j=null;if("oauth"===a.authType&&a.email){let b=a.providerSpecificData?.chatgptAccountId;j=e.find(c=>{if("oauth"!==c.authType||c.email!==a.email)return!1;let d=c.providerSpecificData?.chatgptAccountId;return!b||!d||b===d})}else"apikey"===a.authType&&a.name&&(j=e.find(b=>"apikey"===b.authType&&b.name===a.name));if(j){let d={...j,...a,updatedAt:f};i(c,d),b=d;return}let k=a.name||null;k||"oauth"!==a.authType&&"access_token"!==a.authType||(k=a.email||`Account ${e.length+1}`);let m=a.priority;m||(m=e.reduce((a,b)=>Math.max(a,b.priority||0),0)+1);let n={id:(0,d.A)(),provider:a.provider,authType:a.authType||"oauth",name:k,priority:m,isActive:void 0===a.isActive||a.isActive,createdAt:f,updatedAt:f};for(let b of g)void 0!==a[b]&&null!==a[b]&&(n[b]=a[b]);a.providerSpecificData&&Object.keys(a.providerSpecificData).length>0&&(n.providerSpecificData=a.providerSpecificData),void 0!==a.email&&(n.email=a.email),i(c,n),l(c,a.provider),b=n}),b}async function n(a,b){let c,d=await (0,e.c)();return d.transaction(()=>{let e=d.get("SELECT * FROM providerConnections WHERE id = ?",[a]);if(!e){c=null;return}let f=h(e),g={...f,...b,updatedAt:new Date().toISOString()};i(d,g),void 0!==b.priority&&l(d,f.provider),c=g}),c}async function o(a){let b=await (0,e.c)(),c=!1;return b.transaction(()=>{let d=b.get("SELECT provider FROM providerConnections WHERE id = ?",[a]);d&&(b.run("DELETE FROM providerConnections WHERE id = ?",[a]),l(b,d.provider),c=!0)}),c}async function p(a){let b=await (0,e.c)(),c=b.get("SELECT COUNT(*) AS n FROM providerConnections WHERE provider = ?",[a]);return b.run("DELETE FROM providerConnections WHERE provider = ?",[a]),c?.n||0}async function q(a){let b=await (0,e.c)();b.transaction(()=>l(b,a))}async function r(){let a=await (0,e.c)(),b=["displayName","email","globalPriority","defaultModel","accessToken","refreshToken","expiresAt","tokenType","scope","projectId","apiKey","testStatus","lastTested","lastError","lastErrorAt","rateLimitedUntil","expiresIn","consecutiveUseCount"],c=0;return a.transaction(()=>{for(let d of a.all("SELECT * FROM providerConnections")){let e=h(d),f=!1;for(let a of b)(null===e[a]||void 0===e[a])&&a in e&&(delete e[a],c++,f=!0);e.providerSpecificData&&0===Object.keys(e.providerSpecificData).length&&(delete e.providerSpecificData,c++,f=!0),f&&i(a,e)}}),c}},9460:(a,b,c)=>{"use strict";c.d(b,{L9:()=>r,OM:()=>j,S8:()=>o,fv:()=>l,getMitmAlias:()=>q,o5:()=>k,uL:()=>p,uv:()=>n});var d=c(36366),e=c(644),f=c(22846);let g=(0,f.U)("modelAliases"),h=(0,f.U)("customModels"),i=(0,f.U)("mitmAlias");async function j(){return await g.getAll()}async function k(a,b){await g.set(a,b)}async function l(a){await g.remove(a)}function m(a,b,c){return`${a}|${b}|${c}`}async function n(){return Object.values(await h.getAll())}async function o({providerAlias:a,id:b,type:c="llm",name:f}){let g=m(a,b,c),h=await (0,d.c)(),i=!1;return h.transaction(()=>{if(h.get("SELECT 1 FROM kv WHERE scope = 'customModels' AND key = ?",[g]))return;let d=(0,e.s)({providerAlias:a,id:b,type:c,name:f||b});h.run("INSERT INTO kv(scope, key, value) VALUES('customModels', ?, ?)",[g,d]),i=!0}),i}async function p({providerAlias:a,id:b,type:c="llm"}){await h.remove(m(a,b,c))}async function q(a){return a?await i.get(a)||{}:await i.getAll()}async function r(a,b){await i.set(a,b||{})}},22846:(a,b,c)=>{"use strict";c.d(b,{U:()=>f});var d=c(36366),e=c(644);function f(a){return{async get(b,c=null){let f=(await (0,d.c)()).get("SELECT value FROM kv WHERE scope = ? AND key = ?",[a,b]);return f?(0,e.q)(f.value,c):c},async getAll(){let b=(await (0,d.c)()).all("SELECT key, value FROM kv WHERE scope = ?",[a]),c={};for(let a of b)c[a.key]=(0,e.q)(a.value);return c},async set(b,c){(await (0,d.c)()).run("INSERT INTO kv(scope, key, value) VALUES(?, ?, ?) ON CONFLICT(scope, key) DO UPDATE SET value = excluded.value",[a,b,(0,e.s)(c)])},async setMany(b){let c=await (0,d.c)();c.transaction(()=>{for(let[d,f]of Object.entries(b))c.run("INSERT INTO kv(scope, key, value) VALUES(?, ?, ?) ON CONFLICT(scope, key) DO UPDATE SET value = excluded.value",[a,d,(0,e.s)(f)])})},async remove(b){(await (0,d.c)()).run("DELETE FROM kv WHERE scope = ? AND key = ?",[a,b])},async clear(){(await (0,d.c)()).run("DELETE FROM kv WHERE scope = ?",[a])}}}},26556:(a,b,c)=>{"use strict";c.d(b,{KK:()=>f,LF:()=>h,tV:()=>i});var d=c(36366),e=c(644);async function f(a,b,c){if(!a)return;let f=await (0,d.c)(),g=new Date().toISOString();f.run(`INSERT INTO quotaCache(connectionId, provider, data, fetchedAt) VALUES(?, ?, ?, ?)
|
|
10
|
-
ON CONFLICT(connectionId) DO UPDATE SET provider = excluded.provider, data = excluded.data, fetchedAt = excluded.fetchedAt`,[a,b||"",(0,e.s)(c||{}),g])}function g(a){return a?{connectionId:a.connectionId,provider:a.provider,fetchedAt:a.fetchedAt,usage:(0,e.q)(a.data,{})}:null}async function h(a){return a?g((await (0,d.c)()).get("SELECT connectionId, provider, data, fetchedAt FROM quotaCache WHERE connectionId = ?",[a])):null}async function i(a=null){let b=await (0,d.c)();return(a?b.all("SELECT connectionId, provider, data, fetchedAt FROM quotaCache WHERE provider = ?",[a]):b.all("SELECT connectionId, provider, data, fetchedAt FROM quotaCache")).map(g)}},31763:(a,b,c)=>{"use strict";c.d(b,{KQ:()=>o,AL:()=>n,HG:()=>m,Or:()=>p,Jh:()=>q});var d=c(76760),e=c.n(d),f=c(73024),g=c.n(f),h=c(49120),i=c(48161),j=c.n(i);let k=String.fromCharCode(57,114,111,117,116,101,114),l=".migrated-from-legacy",m=e().join(h.DATA_DIR,"db"),n=e().join(m,"data.sqlite"),o=e().join(m,"backups"),p={main:e().join(h.DATA_DIR,"db.json"),usage:e().join(h.DATA_DIR,"usage.json"),disabled:e().join(h.DATA_DIR,"disabledModels.json"),details:e().join(h.DATA_DIR,"request-details.json")};function q(){for(let a of(!function(a){if(!a)return;let b=e().join(a,l);if(g().existsSync(b)||process.env.DATA_DIR&&process.env.DATA_DIR!==a)return;let c="win32"===process.platform?e().join(process.env.APPDATA||e().join(j().homedir(),"AppData","Roaming"),k):e().join(j().homedir(),`.${k}`);if(g().existsSync(c))try{if(g().existsSync(a)){if(g().readdirSync(a).filter(a=>a!==l).length>0)return void g().writeFileSync(b,new Date().toISOString())}else g().mkdirSync(a,{recursive:!0});g().cpSync(c,a,{recursive:!0,force:!1,errorOnExist:!1}),g().writeFileSync(b,new Date().toISOString()),console.log(`[dataDir] Migrated legacy data from ${c} → ${a}`)}catch(a){console.warn(`[dataDir] Legacy migration skipped: ${a?.message||a}`)}}(h.DATA_DIR),[h.DATA_DIR,m,o]))g().existsSync(a)||g().mkdirSync(a,{recursive:!0})}},36366:(a,b,c)=>{"use strict";c.d(b,{c:()=>k});var d=c(31763);global._dbAdapter||(global._dbAdapter={instance:null,initPromise:null,logged:!1});let e=global._dbAdapter;async function f(){if(!process.versions.bun)return null;try{let{createBunSqliteAdapter:a}=await c.e(4739).then(c.bind(c,24739));return await a(d.AL)}catch(a){return console.warn(`[DB] bun:sqlite unavailable: ${a.message}`),null}}async function g(){if(process.versions.bun)return null;try{let{createBetterSqliteAdapter:a}=await c.e(5258).then(c.bind(c,25258));return a(d.AL)}catch(a){return console.warn(`[DB] better-sqlite3 unavailable: ${a.message}`),null}}async function h(){if(process.versions.bun)return null;let[a,b]=process.versions.node.split(".").map(Number);if(a<22||22===a&&b<5)return null;try{let{createNodeSqliteAdapter:a}=await c.e(8520).then(c.bind(c,88520));return await a(d.AL)}catch(a){return console.warn(`[DB] node:sqlite unavailable: ${a.message}`),null}}async function i(){try{let{createSqlJsAdapter:a}=await c.e(3593).then(c.bind(c,53593));return await a(d.AL)}catch(a){return console.warn(`[DB] sql.js unavailable: ${a.message}`),null}}async function j(){(0,d.Jh)();let a=await f();if(a||(a=await h()),a||(a=await g()),a||(a=await i()),!a)throw Error("[DB] No SQLite driver available (bun/node/better/sql.js all failed)");e.logged||(console.log(`[DB] Driver: ${a.driver} | file: ${d.AL}`),e.logged=!0);let{runMigrationOnce:b}=await c.e(5217).then(c.bind(c,45217));await b(a);let{runStartupMaintenanceOnce:j}=await c.e(4229).then(c.bind(c,14229));return j(a),a}async function k(){return e.instance?e.instance:(e.initPromise||(e.initPromise=j().then(a=>(e.instance=a,a))),e.initPromise)}},42655:(a,b,c)=>{"use strict";c.d(b,{Xx:()=>j,exportSettings:()=>k,getSettings:()=>i});var d=c(36366),e=c(644);let f={cloudEnabled:!1,tunnelEnabled:!1,tunnelUrl:"",tunnelProvider:"cloudflare",tailscaleEnabled:!1,tailscaleUrl:"",stickyRoundRobinLimit:3,providerStrategies:{},comboStrategy:"fallback",comboStickyRoundRobinLimit:1,comboStrategies:{},requireLogin:!0,tunnelDashboardAccess:!0,authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcClientSecret:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC",enableObservability:!0,observabilityMaxRecords:1e3,observabilityBatchSize:20,observabilityFlushIntervalMs:5e3,observabilityMaxJsonSize:5,outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:"",mitmRouterBaseUrl:"http://localhost:1997",dnsToolEnabled:{},rtkEnabled:!0,headroomEnabled:!1,headroomUrl:"http://localhost:8787",headroomCompressUserMessages:!1,headroomCodeAware:!1,headroomKompress:!0,cavemanEnabled:!1,cavemanLevel:"full",ponytailEnabled:!1,ponytailLevel:"full",pxpipeEnabled:!1,pxpipeAutoInstall:!0,pxpipeMinChars:25e3,pxpipeTimeoutMs:15e3,contextInjectionEnabled:!1,fiveSimApiKey:""};async function g(){let a=(await (0,d.c)()).get("SELECT data FROM settings WHERE id = 1");return a?(0,e.q)(a.data,{}):{}}function h(a){let b={...f,...a||{}};for(let[a,c]of Object.entries(f))void 0===b[a]&&("outboundProxyEnabled"===a&&"string"==typeof b.outboundProxyUrl&&b.outboundProxyUrl.trim()?b[a]=!0:b[a]=c);return b}async function i(){return h(await g())}async function j(a){let b,c=await (0,d.c)();return c.transaction(()=>{let d=c.get("SELECT data FROM settings WHERE id = 1");b={...d?(0,e.q)(d.data,{}):{},...a},c.run("INSERT INTO settings(id, data) VALUES(1, ?) ON CONFLICT(id) DO UPDATE SET data = excluded.data",[(0,e.s)(b)])}),h(b)}async function k(){return await g()}},49120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DATA_DIR:()=>m,getDataDir:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="zevai";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}function l(){let a=process.env.DATA_DIR;if(!a)return k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}let m=l()},62674:(a,b,c)=>{"use strict";function d(a,b,c=null){let e=a.get("SELECT value FROM _meta WHERE key = ?",[b]);return e?e.value:c}function e(a,b,c){a.run("INSERT INTO _meta(key, value) VALUES(?, ?) ON CONFLICT(key) DO UPDATE SET value = excluded.value",[b,String(c)])}c.d(b,{dy:()=>d,np:()=>e}),c(36366)},74452:(a,b,c)=>{"use strict";c.r(b),c.d(b,{createApiKey:()=>i,deleteApiKey:()=>k,getApiKeyById:()=>h,getApiKeys:()=>g,updateApiKey:()=>j,validateApiKey:()=>l});var d=c(
|
|
10
|
+
ON CONFLICT(connectionId) DO UPDATE SET provider = excluded.provider, data = excluded.data, fetchedAt = excluded.fetchedAt`,[a,b||"",(0,e.s)(c||{}),g])}function g(a){return a?{connectionId:a.connectionId,provider:a.provider,fetchedAt:a.fetchedAt,usage:(0,e.q)(a.data,{})}:null}async function h(a){return a?g((await (0,d.c)()).get("SELECT connectionId, provider, data, fetchedAt FROM quotaCache WHERE connectionId = ?",[a])):null}async function i(a=null){let b=await (0,d.c)();return(a?b.all("SELECT connectionId, provider, data, fetchedAt FROM quotaCache WHERE provider = ?",[a]):b.all("SELECT connectionId, provider, data, fetchedAt FROM quotaCache")).map(g)}},31763:(a,b,c)=>{"use strict";c.d(b,{KQ:()=>o,AL:()=>n,HG:()=>m,Or:()=>p,Jh:()=>q});var d=c(76760),e=c.n(d),f=c(73024),g=c.n(f),h=c(49120),i=c(48161),j=c.n(i);let k=String.fromCharCode(57,114,111,117,116,101,114),l=".migrated-from-legacy",m=e().join(h.DATA_DIR,"db"),n=e().join(m,"data.sqlite"),o=e().join(m,"backups"),p={main:e().join(h.DATA_DIR,"db.json"),usage:e().join(h.DATA_DIR,"usage.json"),disabled:e().join(h.DATA_DIR,"disabledModels.json"),details:e().join(h.DATA_DIR,"request-details.json")};function q(){for(let a of(!function(a){if(!a)return;let b=e().join(a,l);if(g().existsSync(b)||process.env.DATA_DIR&&process.env.DATA_DIR!==a)return;let c="win32"===process.platform?e().join(process.env.APPDATA||e().join(j().homedir(),"AppData","Roaming"),k):e().join(j().homedir(),`.${k}`);if(g().existsSync(c))try{if(g().existsSync(a)){if(g().readdirSync(a).filter(a=>a!==l).length>0)return void g().writeFileSync(b,new Date().toISOString())}else g().mkdirSync(a,{recursive:!0});g().cpSync(c,a,{recursive:!0,force:!1,errorOnExist:!1}),g().writeFileSync(b,new Date().toISOString()),console.log(`[dataDir] Migrated legacy data from ${c} → ${a}`)}catch(a){console.warn(`[dataDir] Legacy migration skipped: ${a?.message||a}`)}}(h.DATA_DIR),[h.DATA_DIR,m,o]))g().existsSync(a)||g().mkdirSync(a,{recursive:!0})}},36366:(a,b,c)=>{"use strict";c.d(b,{c:()=>k});var d=c(31763);global._dbAdapter||(global._dbAdapter={instance:null,initPromise:null,logged:!1});let e=global._dbAdapter;async function f(){if(!process.versions.bun)return null;try{let{createBunSqliteAdapter:a}=await c.e(4739).then(c.bind(c,24739));return await a(d.AL)}catch(a){return console.warn(`[DB] bun:sqlite unavailable: ${a.message}`),null}}async function g(){if(process.versions.bun)return null;try{let{createBetterSqliteAdapter:a}=await c.e(5258).then(c.bind(c,25258));return a(d.AL)}catch(a){return console.warn(`[DB] better-sqlite3 unavailable: ${a.message}`),null}}async function h(){if(process.versions.bun)return null;let[a,b]=process.versions.node.split(".").map(Number);if(a<22||22===a&&b<5)return null;try{let{createNodeSqliteAdapter:a}=await c.e(8520).then(c.bind(c,88520));return await a(d.AL)}catch(a){return console.warn(`[DB] node:sqlite unavailable: ${a.message}`),null}}async function i(){try{let{createSqlJsAdapter:a}=await c.e(3593).then(c.bind(c,53593));return await a(d.AL)}catch(a){return console.warn(`[DB] sql.js unavailable: ${a.message}`),null}}async function j(){(0,d.Jh)();let a=await f();if(a||(a=await h()),a||(a=await g()),a||(a=await i()),!a)throw Error("[DB] No SQLite driver available (bun/node/better/sql.js all failed)");e.logged||(console.log(`[DB] Driver: ${a.driver} | file: ${d.AL}`),e.logged=!0);let{runMigrationOnce:b}=await c.e(5217).then(c.bind(c,45217));await b(a);let{runStartupMaintenanceOnce:j}=await c.e(4229).then(c.bind(c,14229));return j(a),a}async function k(){return e.instance?e.instance:(e.initPromise||(e.initPromise=j().then(a=>(e.instance=a,a))),e.initPromise)}},42655:(a,b,c)=>{"use strict";c.d(b,{Xx:()=>j,exportSettings:()=>k,getSettings:()=>i});var d=c(36366),e=c(644);let f={cloudEnabled:!1,tunnelEnabled:!1,tunnelUrl:"",tunnelProvider:"cloudflare",tailscaleEnabled:!1,tailscaleUrl:"",stickyRoundRobinLimit:3,providerStrategies:{},comboStrategy:"fallback",comboStickyRoundRobinLimit:1,comboStrategies:{},requireLogin:!0,tunnelDashboardAccess:!0,authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcClientSecret:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC",enableObservability:!0,observabilityMaxRecords:1e3,observabilityBatchSize:20,observabilityFlushIntervalMs:5e3,observabilityMaxJsonSize:5,outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:"",mitmRouterBaseUrl:"http://localhost:1997",dnsToolEnabled:{},rtkEnabled:!0,headroomEnabled:!1,headroomUrl:"http://localhost:8787",headroomCompressUserMessages:!1,headroomCodeAware:!1,headroomKompress:!0,cavemanEnabled:!1,cavemanLevel:"full",ponytailEnabled:!1,ponytailLevel:"full",pxpipeEnabled:!1,pxpipeAutoInstall:!0,pxpipeMinChars:25e3,pxpipeTimeoutMs:15e3,contextInjectionEnabled:!1,fiveSimApiKey:""};async function g(){let a=(await (0,d.c)()).get("SELECT data FROM settings WHERE id = 1");return a?(0,e.q)(a.data,{}):{}}function h(a){let b={...f,...a||{}};for(let[a,c]of Object.entries(f))void 0===b[a]&&("outboundProxyEnabled"===a&&"string"==typeof b.outboundProxyUrl&&b.outboundProxyUrl.trim()?b[a]=!0:b[a]=c);return b}async function i(){return h(await g())}async function j(a){let b,c=await (0,d.c)();return c.transaction(()=>{let d=c.get("SELECT data FROM settings WHERE id = 1");b={...d?(0,e.q)(d.data,{}):{},...a},c.run("INSERT INTO settings(id, data) VALUES(1, ?) ON CONFLICT(id) DO UPDATE SET data = excluded.data",[(0,e.s)(b)])}),h(b)}async function k(){return await g()}},49120:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DATA_DIR:()=>m,getDataDir:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="zevai";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}function l(){let a=process.env.DATA_DIR;if(!a)return k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}let m=l()},62674:(a,b,c)=>{"use strict";function d(a,b,c=null){let e=a.get("SELECT value FROM _meta WHERE key = ?",[b]);return e?e.value:c}function e(a,b,c){a.run("INSERT INTO _meta(key, value) VALUES(?, ?) ON CONFLICT(key) DO UPDATE SET value = excluded.value",[b,String(c)])}c.d(b,{dy:()=>d,np:()=>e}),c(36366)},74452:(a,b,c)=>{"use strict";c.r(b),c.d(b,{createApiKey:()=>i,deleteApiKey:()=>k,getApiKeyById:()=>h,getApiKeys:()=>g,updateApiKey:()=>j,validateApiKey:()=>l});var d=c(47293),e=c(36366);function f(a){return a?{id:a.id,key:a.key,name:a.name,machineId:a.machineId,isActive:1===a.isActive||!0===a.isActive,createdAt:a.createdAt}:null}async function g(){return(await (0,e.c)()).all("SELECT * FROM apiKeys ORDER BY createdAt ASC").map(f)}async function h(a){return f((await (0,e.c)()).get("SELECT * FROM apiKeys WHERE id = ?",[a]))}async function i(a,b){if(!b)throw Error("machineId is required");let f=await (0,e.c)(),{generateApiKeyWithMachine:g}=await c.e(6844).then(c.bind(c,86844)),h=g(b),i={id:(0,d.A)(),name:a,key:h.key,machineId:b,isActive:!0,createdAt:new Date().toISOString()};return f.run("INSERT INTO apiKeys(id, key, name, machineId, isActive, createdAt) VALUES(?, ?, ?, ?, ?, ?)",[i.id,i.key,i.name,i.machineId,1,i.createdAt]),i}async function j(a,b){let c=await (0,e.c)(),d=null;return c.transaction(()=>{let e=c.get("SELECT * FROM apiKeys WHERE id = ?",[a]);if(!e)return;let g={...f(e),...b};c.run("UPDATE apiKeys SET key = ?, name = ?, machineId = ?, isActive = ? WHERE id = ?",[g.key,g.name,g.machineId,+!!g.isActive,a]),d=g}),d}async function k(a){let b=(await (0,e.c)()).run("DELETE FROM apiKeys WHERE id = ?",[a]);return(b?.changes??0)>0}async function l(a){let b=(await (0,e.c)()).get("SELECT isActive FROM apiKeys WHERE key = ?",[a]);return!!b&&(1===b.isActive||!0===b.isActive)}},78335:()=>{},93999:(a,b,c)=>{"use strict";c.d(b,{S8:()=>K.S8,E5:()=>af,bI:()=>g.cleanupProviderConnections,Iq:()=>C.createApiKey,jd:()=>H,QI:()=>y,p3:()=>B,iE:()=>g.createProviderConnection,i0:()=>h.createProviderNode,ZO:()=>n,Lh:()=>C.deleteApiKey,CG:()=>J,NR:()=>A,uL:()=>K.uL,fv:()=>K.fv,fK:()=>g.deleteProviderConnection,op:()=>g.deleteProviderConnectionsByProvider,Pc:()=>h.deleteProviderNode,Yd:()=>p,tm:()=>O,oF:()=>P,zP:()=>as,rg:()=>aa,yg:()=>C.getApiKeyById,PX:()=>C.getApiKeys,j$:()=>ae,L:()=>F,Dj:()=>G,Uv:()=>E,yW:()=>x,uv:()=>K.uv,vF:()=>N,qd:()=>w,c:()=>K.getMitmAlias,OM:()=>K.OM,r4:()=>L.r4,Mc:()=>g.getProviderConnectionById,P:()=>g.getProviderConnections,Qu:()=>h.getProviderNodeById,Fh:()=>h.getProviderNodes,hr:()=>m,ui:()=>l,LF:()=>q.LF,Zx:()=>ag,SL:()=>aq,mt:()=>f.getSettings,BY:()=>ad,K1:()=>at,zY:()=>v,VT:()=>L.VT,yF:()=>L.yF,KK:()=>q.KK,ox:()=>ap,sZ:()=>ab,L9:()=>K.L9,o5:()=>K.o5,_V:()=>W,uw:()=>_,XW:()=>C.updateApiKey,oG:()=>I,dK:()=>z,KJ:()=>L.KJ,rj:()=>g.updateProviderConnection,ho:()=>h.updateProviderNode,Q_:()=>o,Xx:()=>f.Xx,ek:()=>C.validateApiKey});var d=c(36366),e=c(644),f=c(42655),g=c(5781),h=c(1129),i=c(47293);function j(a){return a?{...(0,e.q)(a.data,{}),id:a.id,isActive:1===a.isActive||!0===a.isActive,testStatus:a.testStatus,createdAt:a.createdAt,updatedAt:a.updatedAt}:null}function k(a,b){let c=function(a){let{id:b,isActive:c,testStatus:d,createdAt:f,updatedAt:g,...h}=a;return{id:b,isActive:+(!1!==c),testStatus:d??null,data:(0,e.s)(h),createdAt:f,updatedAt:g}}(b);a.run(`INSERT INTO proxyPools(id, isActive, testStatus, data, createdAt, updatedAt)
|
|
11
11
|
VALUES(?, ?, ?, ?, ?, ?)
|
|
12
12
|
ON CONFLICT(id) DO UPDATE SET
|
|
13
13
|
isActive=excluded.isActive, testStatus=excluded.testStatus,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=2540,exports.ids=[2540],exports.modules={37221:(a,b,c)=>{let d;c.d(b,{RD:()=>p});var e=c(99129),f=c(89419),g=c(19035);function h(a){return(0,g.Gv)(a)}class i{#a;#b=new WeakMap;constructor(a){if(!function(a){return a&&"object"==typeof a&&Array.isArray(a.keys)&&a.keys.every(h)}(a))throw new e.Dm("JSON Web Key Set malformed");this.#a=structuredClone(a)}jwks(){return this.#a}async getKey(a,b){let{alg:c,kid:d}={...a,...b?.header},f=function(a){switch("string"==typeof a&&a.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new e.T0('Unsupported "alg" value for a JSON Web Key Set')}}(c),g=this.#a.keys.filter(a=>{let b=f===a.kty;if(b&&"string"==typeof d&&(b=d===a.kid),b&&("string"==typeof a.alg||"AKP"===f)&&(b=c===a.alg),b&&"string"==typeof a.use&&(b="sig"===a.use),b&&Array.isArray(a.key_ops)&&(b=a.key_ops.includes("verify")),b)switch(c){case"ES256":b="P-256"===a.crv;break;case"ES384":b="P-384"===a.crv;break;case"ES512":b="P-521"===a.crv;break;case"Ed25519":case"EdDSA":b="Ed25519"===a.crv}return b}),{0:h,length:i}=g;if(0===i)throw new e.BT;if(1!==i){let a=new e.$4,b=this.#b;throw a[Symbol.asyncIterator]=async function*(){for(let a of g)try{yield await j(b,a,c)}catch{}},a}return j(this.#b,h,c)}}async function j(a,b,c){let d=a.get(b)||a.set(b,{}).get(b);if(void 0===d[c]){let a=await (0,f.Og)({...b,ext:!0},c);if(a instanceof Uint8Array||"public"!==a.type)throw new e.Dm("JSON Web Key Set members must be public keys");d[c]=a}return d[c]}function k(a){let b=new i(a),c=async(a,c)=>b.getKey(a,c);return Object.defineProperties(c,{jwks:{value:()=>structuredClone(b.jwks()),enumerable:!1,configurable:!1,writable:!1}}),c}("u"<typeof navigator||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))&&(d="jose/v6.2.3");let l=Symbol();async function m(a,b,c,d=fetch){let f=await d(a,{method:"GET",signal:c,redirect:"manual",headers:b}).catch(a=>{if("TimeoutError"===a.name)throw new e.xb;throw a});if(200!==f.status)throw new e.i4("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await f.json()}catch{throw new e.i4("Failed to parse the JSON Web Key Set HTTP response as JSON")}}let n=Symbol();class o{#c;#d;#e;#f;#g;#h;#i;#j;#k;#l;constructor(a,b){if(!(a instanceof URL))throw TypeError("url must be an instance of URL");this.#c=new URL(a.href),this.#d="number"==typeof b?.timeoutDuration?b?.timeoutDuration:5e3,this.#e="number"==typeof b?.cooldownDuration?b?.cooldownDuration:3e4,this.#f="number"==typeof b?.cacheMaxAge?b?.cacheMaxAge:6e5,this.#i=new Headers(b?.headers),d&&!this.#i.has("User-Agent")&&this.#i.set("User-Agent",d),this.#i.has("accept")||(this.#i.set("accept","application/json"),this.#i.append("accept","application/jwk-set+json")),this.#j=b?.[l],b?.[n]!==void 0&&(this.#l=b?.[n],function(a,b){return!("object"!=typeof a||null===a||!("uat"in a)||"number"!=typeof a.uat||Date.now()-a.uat>=b)&&"jwks"in a&&!!(0,g.Gv)(a.jwks)&&!!Array.isArray(a.jwks.keys)&&!!Array.prototype.every.call(a.jwks.keys,g.Gv)}(b?.[n],this.#f)&&(this.#g=this.#l.uat,this.#k=k(this.#l.jwks)))}pendingFetch(){return!!this.#h}coolingDown(){return"number"==typeof this.#g&&Date.now()<this.#g+this.#e}fresh(){return"number"==typeof this.#g&&Date.now()<this.#g+this.#f}jwks(){return this.#k?.jwks()}async getKey(a,b){this.#k&&this.fresh()||await this.reload();try{return await this.#k(a,b)}catch(c){if(c instanceof e.BT&&!1===this.coolingDown())return await this.reload(),this.#k(a,b);throw c}}async reload(){this.#h&&("u">typeof WebSocketPair||"u">typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"u">typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#h=void 0),this.#h||=m(this.#c.href,this.#i,AbortSignal.timeout(this.#d),this.#j).then(a=>{this.#k=k(a),this.#l&&(this.#l.uat=Date.now(),this.#l.jwks=a),this.#g=Date.now(),this.#h=void 0}).catch(a=>{throw this.#h=void 0,a}),await this.#h}}function p(a,b){let c=new o(a,b),d=async(a,b)=>c.getKey(a,b);return Object.defineProperties(d,{coolingDown:{get:()=>c.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>c.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>c.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>c.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>c.jwks(),enumerable:!0,configurable:!1,writable:!1}}),d}},47293:(a,b,c)=>{c.d(b,{A:()=>f});let d=new Uint8Array(16);var e=c(50122);let f=function(a,b,c){return b||a||!crypto.randomUUID?function(a,b,c){let f=(a=a||{}).random??a.rng?.()??crypto.getRandomValues(d);if(f.length<16)throw Error("Random bytes length must be >= 16");if(f[6]=15&f[6]|64,f[8]=63&f[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=f[a];return b}return(0,e.k)(f)}(a,b,c):crypto.randomUUID()}},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},69614:(a,b,c)=>{c.d(b,{V:()=>p});var d=c(88888),e=c(91356),f=c(99129),g=c(73575),h=c(41570),i=c(19035),j=c(24762),k=c(80308),l=c(11980);async function m(a,b,c){if(!(0,i.Gv)(a))throw new f.Ye("Flattened JWS must be an object");if(void 0===a.protected&&void 0===a.header)throw new f.Ye('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==a.protected&&"string"!=typeof a.protected)throw new f.Ye("JWS Protected Header incorrect type");if(void 0===a.payload)throw new f.Ye("JWS Payload missing");if("string"!=typeof a.signature)throw new f.Ye("JWS Signature missing or incorrect type");if(void 0!==a.header&&!(0,i.Gv)(a.header))throw new f.Ye("JWS Unprotected Header incorrect type");let m={};if(a.protected)try{let b=(0,d.D)(a.protected);m=JSON.parse(g.D0.decode(b))}catch{throw new f.Ye("JWS Protected Header is invalid")}if(!(0,i.fz)(m,a.header))throw new f.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let n={...m,...a.header},o=(0,k.n)(f.Ye,new Map([["b64",!0]]),c?.crit,m,n),p=!0;if(o.has("b64")&&"boolean"!=typeof(p=m.b64))throw new f.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:q}=n;if("string"!=typeof q||!q)throw new f.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');let r=c&&function(a,b){if(void 0!==b&&(!Array.isArray(b)||b.some(a=>"string"!=typeof a)))throw TypeError(`"${a}" option must be an array of strings`);if(b)return new Set(b)}("algorithms",c.algorithms);if(r&&!r.has(q))throw new f.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(p){if("string"!=typeof a.payload)throw new f.Ye("JWS Payload must be a string")}else if("string"!=typeof a.payload&&!(a.payload instanceof Uint8Array))throw new f.Ye("JWS Payload must be a string or an Uint8Array instance");let s=!1;"function"==typeof b&&(b=await b(m,a),s=!0),(0,j.y)(q,b,"verify");let t=(0,g.xW)(void 0!==a.protected?(0,g.lF)(a.protected):new Uint8Array,(0,g.lF)("."),"string"==typeof a.payload?p?(0,g.lF)(a.payload):g.Rd.encode(a.payload):a.payload),u=(0,h.h2)(a.signature,"signature",f.Ye),v=await (0,l.l)(b,q);if(!await (0,e.MX)(q,v,u,t))throw new f.h2;let w={payload:p?(0,h.h2)(a.payload,"payload",f.Ye):"string"==typeof a.payload?g.Rd.encode(a.payload):a.payload};return(void 0!==a.protected&&(w.protectedHeader=m),void 0!==a.header&&(w.unprotectedHeader=a.header),s)?{...w,key:v}:w}async function n(a,b,c){if(a instanceof Uint8Array&&(a=g.D0.decode(a)),"string"!=typeof a)throw new f.Ye("Compact JWS must be a string or Uint8Array");let{0:d,1:e,2:h,length:i}=a.split(".");if(3!==i)throw new f.Ye("Invalid Compact JWS");let j=await m({payload:e,protected:d,signature:h},b,c),k={payload:j.payload,protectedHeader:j.protectedHeader};return"function"==typeof b?{...k,key:j.key}:k}var o=c(17347);async function p(a,b,c){let d=await n(a,b,c);if(d.protectedHeader.crit?.includes("b64")&&!1===d.protectedHeader.b64)throw new f.Dp("JWTs MUST NOT use unencoded payload");let e={payload:(0,o.k6)(d.protectedHeader,d.payload,c),protectedHeader:d.protectedHeader};return"function"==typeof b?{...e,key:d.key}:e}},89419:(a,b,c)=>{c.d(b,{Og:()=>o,Lf:()=>n});var d=c(88888),e=c(88360),f=c(99129);let g=(a,b)=>{if(a.byteLength!==b.length)return!1;for(let c=0;c<a.byteLength;c++)if(a[c]!==b[c])return!1;return!0},h=a=>{let b=a.data[a.pos++];if(128&b){let c=127&b,d=0;for(let b=0;b<c;b++)d=d<<8|a.data[a.pos++];return d}return b},i=(a,b,c)=>{if(a.data[a.pos++]!==b)throw Error(c)},j=(a,b)=>{let c=a.data.subarray(a.pos,a.pos+b);return a.pos+=b,c},k=async(a,b,c,d)=>{let e,g,h="spki"===a,i=()=>h?["verify"]:["sign"];switch(c){case"PS256":case"PS384":case"PS512":e={name:"RSA-PSS",hash:`SHA-${c.slice(-3)}`},g=i();break;case"RS256":case"RS384":case"RS512":e={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${c.slice(-3)}`},g=i();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":e={name:"RSA-OAEP",hash:`SHA-${parseInt(c.slice(-3),10)||1}`},g=h?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":e={name:"ECDSA",namedCurve:({ES256:"P-256",ES384:"P-384",ES512:"P-521"})[c]},g=i();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{let a=d.getNamedCurve(b);e="X25519"===a?{name:"X25519"}:{name:"ECDH",namedCurve:a}}catch(a){throw new f.T0("Invalid or unsupported key format")}g=h?[]:["deriveBits"];break;case"Ed25519":case"EdDSA":e={name:"Ed25519"},g=i();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":e={name:c},g=i();break;default:throw new f.T0('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(a,b,e,d?.extractable??!!h,g)};var l=c(88783),m=c(19035);async function n(a,b,c){let d,f,l;if("string"!=typeof a||0!==a.indexOf("-----BEGIN PRIVATE KEY-----"))throw TypeError('"pkcs8" must be PKCS#8 formatted string');return d=/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,f=(0,e.y)(a.replace(d,"")),l=c,b?.startsWith?.("ECDH-ES")&&((l||={}).getNamedCurve=a=>{let b,c={data:a,pos:0};return i(c,48,"Invalid PKCS#8 structure"),h(c),i(c,2,"Expected version field"),b=h(c),c.pos+=b,i(c,48,"Expected algorithm identifier"),h(c),c.pos,(a=>{let b,c=(i(a,6,"Expected algorithm OID"),b=h(a),j(a,b));if(g(c,[43,101,110]))return"X25519";if(!g(c,[42,134,72,206,61,2,1]))throw Error("Unsupported key algorithm");i(a,6,"Expected curve OID");let d=h(a),e=j(a,d);for(let{name:a,oid:b}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(g(e,b))return a;throw Error("Unsupported named curve")})(c)}),k("pkcs8",f,b,l)}async function o(a,b,c){let e;if(!(0,m.Gv)(a))throw TypeError("JWK must be an object");switch(b??=a.alg,e??=c?.extractable??a.ext,a.kty){case"oct":if("string"!=typeof a.k||!a.k)throw TypeError('missing "k" (Key Value) Parameter value');return(0,d.D)(a.k);case"RSA":if("oth"in a&&void 0!==a.oth)throw new f.T0('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return(0,l.x)({...a,alg:b,ext:e});case"AKP":if("string"!=typeof a.alg||!a.alg)throw TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==b&&b!==a.alg)throw TypeError("JWK alg and alg option value mismatch");return(0,l.x)({...a,ext:e});case"EC":case"OKP":return(0,l.x)({...a,alg:b,ext:e});default:throw new f.T0('Unsupported "kty" (Key Type) Parameter value')}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.id=2650,exports.ids=[2650],exports.modules={9315:(a,b,c)=>{a.exports=function(a){function b(a){let c,e,f,g=null;function h(...a){if(!h.enabled)return;let d=Number(new Date);h.diff=d-(c||d),h.prev=c,h.curr=d,c=d,a[0]=b.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");let e=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(c,d)=>{if("%%"===c)return"%";e++;let f=b.formatters[d];if("function"==typeof f){let b=a[e];c=f.call(h,b),a.splice(e,1),e--}return c}),b.formatArgs.call(h,a),(h.log||b.log).apply(h,a)}return h.namespace=a,h.useColors=b.useColors(),h.color=b.selectColor(a),h.extend=d,h.destroy=b.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==g?g:(e!==b.namespaces&&(e=b.namespaces,f=b.enabled(a)),f),set:a=>{g=a}}),"function"==typeof b.init&&b.init(h),h}function d(a,c){let d=b(this.namespace+(void 0===c?":":c)+a);return d.log=this.log,d}function e(a,b){let c=0,d=0,e=-1,f=0;for(;c<a.length;)if(d<b.length&&(b[d]===a[c]||"*"===b[d]))"*"===b[d]?(e=d,f=c):c++,d++;else{if(-1===e)return!1;d=e+1,c=++f}for(;d<b.length&&"*"===b[d];)d++;return d===b.length}return b.debug=b,b.default=b,b.coerce=function(a){return a instanceof Error?a.stack||a.message:a},b.disable=function(){let a=[...b.names,...b.skips.map(a=>"-"+a)].join(",");return b.enable(""),a},b.enable=function(a){for(let c of(b.save(a),b.namespaces=a,b.names=[],b.skips=[],("string"==typeof a?a:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===c[0]?b.skips.push(c.slice(1)):b.names.push(c)},b.enabled=function(a){for(let c of b.skips)if(e(a,c))return!1;for(let c of b.names)if(e(a,c))return!0;return!1},b.humanize=c(20890),b.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(a).forEach(c=>{b[c]=a[c]}),b.names=[],b.skips=[],b.formatters={},b.selectColor=function(a){let c=0;for(let b=0;b<a.length;b++)c=(c<<5)-c+a.charCodeAt(b)|0;return b.colors[Math.abs(c)%b.colors.length]},b.enable(b.load()),b}},20890:a=>{function b(a,b,c,d){return Math.round(a/c)+" "+d+(b>=1.5*c?"s":"")}a.exports=function(a,c){c=c||{};var d,e,f,g,h=typeof a;if("string"===h&&a.length>0){var i=a;if(!((i=String(i)).length>100)){var j=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(j){var k=parseFloat(j[1]);switch((j[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*k;case"weeks":case"week":case"w":return 6048e5*k;case"days":case"day":case"d":return 864e5*k;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*k;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*k;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*k;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return k;default:break}}}return}if("number"===h&&isFinite(a)){return c.long?(e=Math.abs(d=a))>=864e5?b(d,e,864e5,"day"):e>=36e5?b(d,e,36e5,"hour"):e>=6e4?b(d,e,6e4,"minute"):e>=1e3?b(d,e,1e3,"second"):d+" ms":(g=Math.abs(f=a))>=864e5?Math.round(f/864e5)+"d":g>=36e5?Math.round(f/36e5)+"h":g>=6e4?Math.round(f/6e4)+"m":g>=1e3?Math.round(f/1e3)+"s":f+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}},21584:(a,b,c)=>{let d;b.formatArgs=function(b){if(b[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+b[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;b.splice(1,0,c,"color: inherit");let d=0,e=0;b[0].replace(/%[a-zA-Z%]/g,a=>{"%%"!==a&&(d++,"%c"===a&&(e=d))}),b.splice(e,0,c)},b.save=function(a){try{a?b.storage.setItem("debug",a):b.storage.removeItem("debug")}catch(a){}},b.load=function(){let a;try{a=b.storage.getItem("debug")||b.storage.getItem("DEBUG")}catch(a){}return!a&&"u">typeof process&&"env"in process&&(a=process.env.DEBUG),a},b.useColors=function(){let a;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},b.storage=function(){try{return localStorage}catch(a){}}(),d=!1,b.destroy=()=>{d||(d=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},b.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],b.log=console.debug||console.log||(()=>{}),a.exports=c(9315)(b);let{formatters:e}=a.exports;e.j=function(a){try{return JSON.stringify(a)}catch(a){return"[UnexpectedJSONParseError]: "+a.message}}},22650:(a,b,c)=>{"use strict";c.d(b,{SocksProxyAgent:()=>o});var d=c(13092),e=c(91645),f=c(81630),g=c(55591);let h=Symbol("AgentBaseInternalState");class i extends f.Agent{constructor(a){super(a),this[h]={}}isSecureEndpoint(a){if(a){if("boolean"==typeof a.secureEndpoint)return a.secureEndpoint;if("string"==typeof a.protocol)return"https:"===a.protocol}let{stack:b}=Error();return"string"==typeof b&&b.split("\n").some(a=>-1!==a.indexOf("(https.js:")||-1!==a.indexOf("node:https:"))}incrementSockets(a){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[a]||(this.sockets[a]=[]);let b=new e.Socket({writable:!1});return this.sockets[a].push(b),this.totalSocketCount++,b}decrementSockets(a,b){if(!this.sockets[a]||null===b)return;let c=this.sockets[a],d=c.indexOf(b);-1!==d&&(c.splice(d,1),this.totalSocketCount--,0===c.length&&delete this.sockets[a])}getName(a){return this.isSecureEndpoint(a)?g.Agent.prototype.getName.call(this,a):super.getName(a)}createSocket(a,b,c){let d={...b,secureEndpoint:this.isSecureEndpoint(b)},e=this.getName(d),f=this.incrementSockets(e);Promise.resolve().then(()=>this.connect(a,d)).then(g=>{if(this.decrementSockets(e,f),"function"==typeof g.addRequest)try{return g.addRequest(a,d)}catch(a){return c(a)}this[h].currentSocket=g,super.createSocket(a,b,c)},a=>{this.decrementSockets(e,f),c(a)})}createConnection(){let a=this[h].currentSocket;if(this[h].currentSocket=void 0,!a)throw Error("No socket was returned in the `connect()` function");return a}get defaultPort(){return this[h].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(a){this[h]&&(this[h].defaultPort=a)}get protocol(){return this[h].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(a){this[h]&&(this[h].protocol=a)}}var j=c(46140),k=c(14985),l=c(34631),m=c(1932);let n=j("socks-proxy-agent");class o extends i{constructor(a,b){super(b);const c="string"==typeof a?new m.URL(a):a,{proxy:d,lookup:e}=function(a){let b=!1,c=5,d=a.hostname,e=parseInt(a.port,10)||1080;switch(a.protocol.replace(":","")){case"socks4":b=!0,c=4;break;case"socks4a":c=4;break;case"socks5":b=!0,c=5;break;case"socks":case"socks5h":c=5;break;default:throw TypeError(`A "socks" protocol must be specified! Got: ${String(a.protocol)}`)}let f={host:d,port:e,type:c};return a.username&&Object.defineProperty(f,"userId",{value:decodeURIComponent(a.username),enumerable:!1}),null!=a.password&&Object.defineProperty(f,"password",{value:decodeURIComponent(a.password),enumerable:!1}),{lookup:b,proxy:f}}(c);this.shouldLookup=e,this.proxy=d,this.proxyUrl=c.href,this.timeout=b?.timeout??null,this.socketOptions=b?.socketOptions??null}async connect(a,b){let{shouldLookup:c,proxy:f,timeout:g}=this;if(!b.host)throw Error("No `host` defined!");let{host:h}=b,{port:i,lookup:j=k.lookup}=b;c&&(h=await new Promise((a,b)=>{j(h,{},(c,d)=>{c?b(c):a("string"==typeof d?d:d[0].address)})}));let m={proxy:f,destination:{host:h,port:"number"==typeof i?i:parseInt(i,10)},command:"connect",timeout:g??void 0,socket_options:this.socketOptions??void 0},o=b=>{a.destroy(),p.destroy(),b&&b.destroy()};n("Creating socks proxy connection: %o",m);let{socket:p}=await d.SocksClient.createConnection(m);if(n("Successfully created socks proxy connection"),a.emit("proxy",{proxy:this.proxyUrl,socket:p}),null!==g&&(p.setTimeout(g),p.on("timeout",()=>o())),b.secureEndpoint){n("Upgrading socket connection to TLS");let a=l.connect({...function(a,...b){let c,d={};for(c in a)b.includes(c)||(d[c]=a[c]);return d}(void 0===b.servername&&b.host&&!e.isIP(b.host)?{...b,servername:b.host}:b,"host","path","port"),socket:p});return a.once("error",b=>{n("Socket TLS error",b.message),o(a)}),a}return p}}o.protocols=["socks","socks4","socks4a","socks5","socks5h"]},41892:(a,b,c)=>{"use strict";let d,e=c(21820),f=c(83997),g=c(92535),{env:h}=process;function i(a){return 0!==a&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function j(a,b){if(0===d)return 0;if(g("color=16m")||g("color=full")||g("color=truecolor"))return 3;if(g("color=256"))return 2;if(a&&!b&&void 0===d)return 0;let c=d||0;if("dumb"===h.TERM)return c;if("win32"===process.platform){let a=e.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(a=>a in h)||"codeship"===h.CI_NAME?1:c;if("TEAMCITY_VERSION"in h)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION);if("truecolor"===h.COLORTERM)return 3;if("TERM_PROGRAM"in h){let a=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:c}g("no-color")||g("no-colors")||g("color=false")||g("color=never")?d=0:(g("color")||g("colors")||g("color=true")||g("color=always"))&&(d=1),"FORCE_COLOR"in h&&(d="true"===h.FORCE_COLOR?1:"false"===h.FORCE_COLOR?0:0===h.FORCE_COLOR.length?1:Math.min(parseInt(h.FORCE_COLOR,10),3)),a.exports={supportsColor:function(a){return i(j(a,a&&a.isTTY))},stdout:i(j(!0,f.isatty(1))),stderr:i(j(!0,f.isatty(2)))}},46140:(a,b,c)=>{"u"<typeof process||"renderer"===process.type||process.__nwjs?a.exports=c(21584):a.exports=c(89830)},89830:(a,b,c)=>{let d=c(83997),e=c(28354);b.init=function(a){a.inspectOpts={};let c=Object.keys(b.inspectOpts);for(let d=0;d<c.length;d++)a.inspectOpts[c[d]]=b.inspectOpts[c[d]]},b.log=function(...a){return process.stderr.write(e.formatWithOptions(b.inspectOpts,...a)+"\n")},b.formatArgs=function(c){let{namespace:d,useColors:e}=this;if(e){let b=this.color,e="\x1b[3"+(b<8?b:"8;5;"+b),f=` ${e};1m${d} \u001B[0m`;c[0]=f+c[0].split("\n").join("\n"+f),c.push(e+"m+"+a.exports.humanize(this.diff)+"\x1b[0m")}else c[0]=(b.inspectOpts.hideDate?"":new Date().toISOString()+" ")+d+" "+c[0]},b.save=function(a){a?process.env.DEBUG=a:delete process.env.DEBUG},b.load=function(){return process.env.DEBUG},b.useColors=function(){return"colors"in b.inspectOpts?!!b.inspectOpts.colors:d.isatty(process.stderr.fd)},b.destroy=e.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),b.colors=[6,2,3,4,5,1];try{let a=c(41892);a&&(a.stderr||a).level>=2&&(b.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(a){}b.inspectOpts=Object.keys(process.env).filter(a=>/^debug_/i.test(a)).reduce((a,b)=>{let c=b.substring(6).toLowerCase().replace(/_([a-z])/g,(a,b)=>b.toUpperCase()),d=process.env[b];return d=!!/^(yes|on|true|enabled)$/i.test(d)||!/^(no|off|false|disabled)$/i.test(d)&&("null"===d?null:Number(d)),a[c]=d,a},{}),a.exports=c(9315)(b);let{formatters:f}=a.exports;f.o=function(a){return this.inspectOpts.colors=this.useColors,e.inspect(a,this.inspectOpts).split("\n").map(a=>a.trim()).join(" ")},f.O=function(a){return this.inspectOpts.colors=this.useColors,e.inspect(a,this.inspectOpts)}},92535:a=>{"use strict";a.exports=(a,b=process.argv)=>{let c=a.startsWith("-")?"":1===a.length?"-":"--",d=b.indexOf(c+a),e=b.indexOf("--");return -1!==d&&(-1===e||d<e)}}};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";exports.id=2973,exports.ids=[2973,9293],exports.modules={2973:(a,b,c)=>{c.d(b,{patchBrowser:()=>ad,patchContext:()=>ac});var d=c(9293);async function e(a,b,c,e,f,g){let h,i,j,k,l,m,n,o=Math.hypot(e-b,f-c);if(o<1)return;let p=Math.max(g.mouse_min_steps,Math.min(g.mouse_max_steps,Math.round(o/g.mouse_steps_divisor))),q={x:b,y:c},r={x:e,y:f},[s,t]=(h=r.x-q.x,j=Math.hypot(h,i=r.y-q.y),k=-i/(j||1),l=h/(j||1),m=(0,d._9)(-.3,.3)*j,n=(0,d._9)(-.3,.3)*j,[{x:q.x+.25*h+k*m,y:q.y+.25*i+l*m},{x:q.x+.75*h+k*n,y:q.y+.75*i+l*n}]),u=0,v=(0,d.qw)(g.mouse_burst_size);for(let b=0;b<=p;b++){let c=b/p,e=function(a,b,c,d,e){let f=1-e,g=f*f,h=g*f,i=e*e,j=i*e;return{x:h*a.x+3*g*e*b.x+3*f*i*c.x+j*d.x,y:h*a.y+3*g*e*b.y+3*f*i*c.y+j*d.y}}(q,s,t,r,c<.5?4*c*c*c:1-Math.pow(-2*c+2,3)/2),f=Math.sin(Math.PI*c)*g.mouse_wobble_max,h=e.x+(Math.random()-.5)*2*f,i=e.y+(Math.random()-.5)*2*f;await a.move(Math.round(h),Math.round(i)),++u>=v&&b<p&&(await (0,d.yy)((0,d.px)(g.mouse_burst_pause)),u=0)}if(Math.random()<g.mouse_overshoot_chance){let h=(0,d.px)(g.mouse_overshoot_px),i=Math.atan2(f-c,e-b),j=Math.round(e+Math.cos(i)*h),k=Math.round(f+Math.sin(i)*h);await a.move(j,k),await (0,d.yy)((0,d._9)(30,70));let l=Math.round(e+(Math.random()-.5)*4),m=Math.round(f+(Math.random()-.5)*4);await a.move(l,m)}}function f(a,b,c){if(b){let b=(0,d.px)(c.click_input_x_range),e=(0,d._9)(.3,.7);return{x:Math.round(a.x+a.width*b),y:Math.round(a.y+a.height*e)}}let e=(0,d._9)(.35,.65),f=(0,d._9)(.35,.65);return{x:Math.round(a.x+a.width*e),y:Math.round(a.y+a.height*f)}}async function g(a,b,c){let e=b?(0,d.px)(c.click_aim_delay_input):(0,d.px)(c.click_aim_delay_button);await (0,d.yy)(e);let f=b?(0,d.px)(c.click_hold_input):(0,d.px)(c.click_hold_button);await a.down(),await (0,d.yy)(f),await a.up()}async function h(a,b,c,e,f){let g=void 0!==f,h=g?b:(0,d._9)(e.idle_between_duration[0],e.idle_between_duration[1]),i=g?e:c,j=g?f:e,k=Date.now()+1e3*h,l=g?c:b,m=i;for(;Date.now()<k;){let b=(Math.random()-.5)*2*j.idle_drift_px,c=(Math.random()-.5)*2*j.idle_drift_px;l+=b,m+=c,await a.move(Math.round(l),Math.round(m)),await (0,d.yy)((0,d.px)(j.idle_pause_range))}}let i=new Set(["@","#","!","$","%","^","&","*","(",")","_","+","{","}","|",":",'"',"<",">","?","~"]),j={a:"sqwz",b:"vghn",c:"xdfv",d:"sfecx",e:"wrsdf",f:"dgrtcv",g:"fhtyb",h:"gjybn",i:"ujko",j:"hkunm",k:"jloi",l:"kop",m:"njk",n:"bhjm",o:"iklp",p:"ol",q:"wa",r:"edft",s:"awedxz",t:"rfgy",u:"yhji",v:"cfgb",w:"qase",x:"zsdc",y:"tghu",z:"asx",1:"2q",2:"13qw",3:"24we",4:"35er",5:"46rt",6:"57ty",7:"68yu",8:"79ui",9:"80io",0:"9p"},k={"!":"Digit1","@":"Digit2","#":"Digit3",$:"Digit4","%":"Digit5","^":"Digit6","&":"Digit7","*":"Digit8","(":"Digit9",")":"Digit0",_:"Minus","+":"Equal","{":"BracketLeft","}":"BracketRight","|":"Backslash",":":"Semicolon",'"':"Quote","<":"Comma",">":"Period","?":"Slash","~":"Backquote"},l={"!":49,"@":50,"#":51,$:52,"%":53,"^":54,"&":55,"*":56,"(":57,")":48,_:189,"+":187,"{":219,"}":221,"|":220,":":186,'"':222,"<":188,">":190,"?":191,"~":192};async function m(a,b,c,e,f){let g=[...c];for(let c=0;c<g.length;c++){let h=g[c];if(!function(a){let b=a.codePointAt(0);return void 0!==b&&b<128}(h)){await (0,d.yy)((0,d.px)(e.key_hold)),await b.insertText(h),c<g.length-1&&await q(e);continue}if(Math.random()<e.mistype_chance&&/^[a-zA-Z0-9]$/.test(h)){let a=function(a){let b=a.toLowerCase();if(b in j){let c=j[b],d=c[Math.floor(Math.random()*c.length)];return a===a.toUpperCase()&&a!==a.toLowerCase()?d.toUpperCase():d}return a}(h);await n(b,a,e),await (0,d.yy)((0,d.px)(e.mistype_delay_notice)),await b.down("Backspace"),await (0,d.yy)((0,d.px)(e.key_hold)),await b.up("Backspace"),await (0,d.yy)((0,d.px)(e.mistype_delay_correct))}1===h.length&&h>="A"&&h<="Z"?await o(b,h,e):i.has(h)?await p(a,b,h,e,f):await n(b,h,e),c<g.length-1&&await q(e)}}async function n(a,b,c){await a.down(b),await (0,d.yy)((0,d.px)(c.key_hold)),await a.up(b)}async function o(a,b,c){await a.down("Shift"),await (0,d.yy)((0,d.px)(c.shift_down_delay)),await a.down(b),await (0,d.yy)((0,d.px)(c.key_hold)),await a.up(b),await (0,d.yy)((0,d.px)(c.shift_up_delay)),await a.up("Shift")}async function p(a,b,c,e,f){if(f){let a=k[c]||"",g=l[c]||0;await b.down("Shift"),await (0,d.yy)((0,d.px)(e.shift_down_delay)),await f.send("Input.dispatchKeyEvent",{type:"keyDown",modifiers:8,key:c,code:a,windowsVirtualKeyCode:g,text:c,unmodifiedText:c}),await (0,d.yy)((0,d.px)(e.key_hold)),await f.send("Input.dispatchKeyEvent",{type:"keyUp",modifiers:8,key:c,code:a,windowsVirtualKeyCode:g}),await (0,d.yy)((0,d.px)(e.shift_up_delay)),await b.up("Shift")}else await b.down("Shift"),await (0,d.yy)((0,d.px)(e.shift_down_delay)),await b.insertText(c),await a.evaluate(a=>{let b=document.activeElement;b&&(b.dispatchEvent(new KeyboardEvent("keydown",{key:a,bubbles:!0})),b.dispatchEvent(new KeyboardEvent("keyup",{key:a,bubbles:!0})))},c),await (0,d.yy)((0,d.px)(e.shift_up_delay)),await b.up("Shift")}async function q(a){if(Math.random()<a.typing_pause_chance)await (0,d.yy)((0,d.px)(a.typing_pause_range));else{let b=a.typing_delay+(Math.random()-.5)*2*a.typing_delay_spread;await (0,d.yy)(Math.max(10,b))}}function r(a,b,c){let d=a.y,e=a.y+a.height,f=b*c.scroll_target_zone[0],g=b*c.scroll_target_zone[1];return d>=f&&e<=g}async function s(a,b,c){let e=Math.abs(b),f=b>0?1:-1,g=0;for(;g<e;){let b=Math.min((0,d._9)(20,40),e-g);await a.wheel(0,Math.round(b)*f),g+=b,await (0,d.yy)((0,d._9)(8,20))}}async function t(a,b,c,f,g,h){let i=a.viewportSize();if(!i)throw Error("Viewport size not available");let j=await c();if(!j)throw Error("Element not found while scrolling into view");if(r(j,i.height,h))return{box:j,cursorX:f,cursorY:g,didScroll:!1};let k=Math.round(i.width*(0,d._9)(.3,.7)),l=Math.round(i.height*(0,d._9)(.3,.7));await e(b,f,g,k,l,h),f=k,g=l,await (0,d.yy)((0,d.px)(h.scroll_pre_move_delay));let m=i.height*(0,d._9)(h.scroll_target_zone[0],h.scroll_target_zone[1]),n=j.y+j.height/2-m,o=n>0?1:-1,p=Math.abs(n),q=Math.max(3,Math.ceil(p/((h.scroll_delta_base[0]+h.scroll_delta_base[1])/2))),t=(0,d.qw)(h.scroll_accel_steps),u=(0,d.qw)(h.scroll_decel_steps),v=0;for(let a=0;a<q;a++){let e,f;if(a<t?(e=(0,d._9)(80,100),f=(0,d.px)(h.scroll_pause_slow)):a>=q-u?(e=(0,d._9)(60,90),f=(0,d.px)(h.scroll_pause_slow)):(e=(0,d.px)(h.scroll_delta_base),f=(0,d.px)(h.scroll_pause_fast)),e*=1+(Math.random()-.5)*2*h.scroll_delta_variance,e=Math.round(e)*o,await s(b,e,h),v+=Math.abs(e),await (0,d.yy)(f),(a%3==2||a===q-1)&&(j=await c())&&r(j,i.height,h)||v>=1.1*p)break}if(Math.random()<h.scroll_overshoot_chance){let a=Math.round((0,d.px)(h.scroll_overshoot_px))*o;await s(b,a,h),await (0,d.yy)((0,d.px)(h.scroll_settle_delay));let c=(0,d.qw)([1,2]);for(let a=0;a<c;a++){let a=-(Math.round((0,d._9)(40,80))*o);await s(b,a,h),await (0,d.yy)((0,d._9)(100,250))}}if(await (0,d.yy)((0,d.px)(h.scroll_settle_delay)),!(j=await c()))throw Error("Element lost after scrolling into view");return{box:j,cursorX:f,cursorY:g,didScroll:!0}}async function u(a,b,c,d,e,f,g){return t(a,b,()=>v(a,c,g),d,e,f)}async function v(a,b,c=3e4){let d=a.locator(b).first();try{return await d.boundingBox({timeout:Math.max(1,c)})}catch{return null}}class w extends Error{selector;check;constructor(a,b,c){super(`Element ${JSON.stringify(a)} failed ${b} check: ${c}`),this.name="ActionabilityError",this.selector=a,this.check=b}}class x extends w{constructor(a){super(a,"attached","element not found in DOM"),this.name="ElementNotAttachedError"}}class y extends w{constructor(a){super(a,"visible","element is not visible"),this.name="ElementNotVisibleError"}}class z extends w{constructor(a){super(a,"stable","element position is still changing"),this.name="ElementNotStableError"}}class A extends w{constructor(a){super(a,"enabled","element is disabled"),this.name="ElementNotEnabledError"}}class B extends w{constructor(a){super(a,"editable","element is not editable"),this.name="ElementNotEditableError"}}class C extends w{coveringTag;constructor(a,b="unknown"){super(a,"pointer_events",`element is covered by <${b}>`),this.name="ElementNotReceivingEventsError",this.coveringTag=b}}let D=new Set(["attached","visible","enabled","pointer_events"]),E=new Set(["attached","visible","pointer_events"]),F=new Set(["attached","visible","enabled","editable","pointer_events"]),G=new Set(["attached","visible","enabled"]),H=new Set(["attached","visible","enabled","pointer_events"]),I=[100,250,500,1e3];function J(a){let b=Math.min(a,I.length-1);return new Promise(a=>setTimeout(a,I[b]))}async function K(a,b,c,d=3e4,e=!1){if(e)return;let f=Date.now()+d,g=0,h=null;for(;;){let d=Math.max(0,f-Date.now());if(d<=0){if(h)throw h;throw new w(b,"timeout","timeout expired before first check")}try{let e=a.locator(b).first();if(c.has("attached"))try{await e.waitFor({state:"attached",timeout:Math.max(1,Math.min(d,2e3))})}catch{throw new x(b)}if(c.has("visible")&&!await e.isVisible())throw new y(b);if(c.has("enabled")&&!await e.isEnabled())throw new A(b);if(c.has("editable")&&!await e.isEditable())throw new B(b);return}catch(a){if(a instanceof w){if(h=a,Date.now()>=f)throw h;await J(g),g++}else throw a}}}async function L(a,b,c=5e3){let d=Date.now()+c,e=0;for(;;){let c=Math.max(0,d-Date.now());if(c<=0)throw new z(b);let f=a.locator(b).first(),g=await f.boundingBox({timeout:Math.max(1,Math.min(c,1e3))});if(!g)throw new x(b);await new Promise(a=>setTimeout(a,100));let h=await f.boundingBox({timeout:Math.max(1,Math.min(c,1e3))});if(!h)throw new x(b);if(!(Math.abs(g.x-h.x)>1||Math.abs(g.y-h.y)>1||Math.abs(g.width-h.width)>1||Math.abs(g.height-h.height)>1))return;if(Date.now()>=d)throw new z(b);await J(e),e++}}let M=`(expected, data) => {
|
|
2
|
+
const rect = expected.getBoundingClientRect();
|
|
3
|
+
const frameOffsetX = data.box ? data.box.x - rect.x : 0;
|
|
4
|
+
const frameOffsetY = data.box ? data.box.y - rect.y : 0;
|
|
5
|
+
const target = document.elementFromPoint(data.x - frameOffsetX, data.y - frameOffsetY);
|
|
6
|
+
if (!target) return { hit: false, reason: 'no_element_at_point', covering: 'none' };
|
|
7
|
+
let node = target;
|
|
8
|
+
while (node) { if (node === expected) return { hit: true }; node = node.parentNode; }
|
|
9
|
+
if (expected.contains(target)) return { hit: true };
|
|
10
|
+
return { hit: false, reason: 'covered', covering: target.tagName || 'unknown' };
|
|
11
|
+
}`,N=`(expected, data) => {
|
|
12
|
+
const rect = expected.getBoundingClientRect();
|
|
13
|
+
const frameOffsetX = data.box ? data.box.x - rect.x : 0;
|
|
14
|
+
const frameOffsetY = data.box ? data.box.y - rect.y : 0;
|
|
15
|
+
const target = document.elementFromPoint(data.x - frameOffsetX, data.y - frameOffsetY);
|
|
16
|
+
if (!target) return { hit: false, reason: 'no_element_at_point', covering: 'none' };
|
|
17
|
+
let node = target;
|
|
18
|
+
while (node) { if (node === expected) return { hit: true }; node = node.parentNode; }
|
|
19
|
+
if (expected.contains(target)) return { hit: true };
|
|
20
|
+
return { hit: false, reason: 'covered', covering: target.tagName || 'unknown' };
|
|
21
|
+
}`;async function O(a,b,c,d,e,f=5e3){let g=Date.now()+f,h=0;for(;;){let e=null;try{let f=a.locator(b).first(),h=await f.boundingBox({timeout:Math.max(1,Math.min(g-Date.now(),1e3))});e=await f.evaluate(M,{x:c,y:d,box:h})}catch{e=null}if(!e||e.hit)return;let f=e?.covering??"unknown";if(Date.now()>=g)throw new C(b,f);await J(h),h++}}async function P(a,b,c=3e4,d=!1){if(d)return;let e=Date.now()+c,f=0,g=null,h="<ElementHandle>";for(;;){let c=Math.max(0,e-Date.now());if(c<=0){if(g)throw g;throw new w(h,"timeout","timeout expired before first check")}try{if(b.has("visible"))try{await a.waitForElementState("visible",{timeout:Math.max(1,Math.min(c,2e3))})}catch{throw new y(h)}if(b.has("enabled"))try{await a.waitForElementState("enabled",{timeout:Math.max(1,Math.min(c,2e3))})}catch{throw new A(h)}if(b.has("editable"))try{await a.waitForElementState("editable",{timeout:Math.max(1,Math.min(c,2e3))})}catch{throw new B(h)}return}catch(a){if(a instanceof w){if(g=a,Date.now()>=e)throw g;await J(f),f++}else throw a}}}async function Q(a,b,c,d=5e3){let e=Date.now()+d,f=0;for(;;){let d;try{let e=await a.boundingBox();d=await a.evaluate(N,{x:b,y:c,box:e})}catch{d=null}if(!d||d.hit)return;let g=d?.covering??"unknown";if(Date.now()>=e)throw new C("<ElementHandle>",g);await J(f),f++}}let R="darwin"===process.platform?"Meta+a":"Control+a";async function S(a,b){if(a)try{await a.getCdpSession(),(b._impl??b._object??b)._guid}catch{}try{return await b.evaluate(a=>{let b=a.tagName?.toLowerCase();return"input"===b||"textarea"===b||a.getAttribute?.("contenteditable")==="true"})}catch{return!1}}function T(a,b,c,i,j,k,l,n){if(a._humanPatched)return;a._humanPatched=!0;let o=a.click.bind(a),p=a.dblclick.bind(a),q=a.hover.bind(a),r=a.type.bind(a),s=a.fill.bind(a);a.press.bind(a);let u=a.selectOption.bind(a),v=a.check.bind(a),w=a.uncheck.bind(a),x=a.setChecked?.bind(a),y=a.tap.bind(a),z=a.focus.bind(a),A=a.scrollIntoViewIfNeeded?.bind(a),B=a.$.bind(a),C=a.$$.bind(a),I=a.waitForSelector.bind(a);a.$=async a=>{let d=await B(a);return d&&T(d,b,c,i,j,k,l,n),d},a.$$=async a=>{let d=await C(a);for(let a of d)T(a,b,c,i,j,k,l,n);return d},a.waitForSelector=async(a,d)=>{let e=await I(a,d??{});return e&&T(e,b,c,i,j,k,l,n),e};let J=async(d=c)=>{let g=b._ensureCursorInit;g&&await g();try{let{cursorX:c,cursorY:e}=await t(b,j,()=>a.boundingBox(),i.x,i.y,d);i.x=c,i.y=e}catch{}let k=await a.boundingBox();if(!k)return null;let l=await S(n,a),m=f(k,l,d);return d.idle_between_actions&&await h(j,i.x,i.y,d),await e(j,i.x,i.y,m.x,m.y,d),i.x=m.x,i.y=m.y,{box:k,isInp:l}};a.click=async b=>{let e=(0,d.R2)(c,b?.human_config??b),f=b?.force??!1,h=b?.timeout??3e4,k=Date.now()+h,l=()=>Math.max(0,k-Date.now());f||await P(a,D,l(),f);let m=await J(e);if(!m)return o(b);f||await Q(a,i.x,i.y,Math.min(l(),5e3)),await g(j,m.isInp,e)},a.dblclick=async b=>{let e=(0,d.R2)(c,b?.human_config??b),f=b?.force??!1,g=b?.timeout??3e4,h=Date.now()+g,k=()=>Math.max(0,h-Date.now());if(f||await P(a,D,k(),f),!await J(e))return p(b);f||await Q(a,i.x,i.y,Math.min(k(),5e3)),await j.down({clickCount:2}),await (0,d.yy)((0,d._9)(30,60)),await j.up({clickCount:2})},a.hover=async b=>{let e=(0,d.R2)(c,b?.human_config??b),f=b?.force??!1,g=b?.timeout??3e4,h=Date.now()+g;if(f||await P(a,E,Math.max(0,h-Date.now()),f),!await J(e))return q(b)},a.type=async(e,f)=>{let h=(0,d.R2)(c,f?.human_config??f),l=f?.force??!1,o=f?.timeout??3e4,p=Date.now()+o,q=()=>Math.max(0,p-Date.now());l||await P(a,F,q(),l);let s=await J(h);if(!s)return r(e,f);l||await Q(a,i.x,i.y,Math.min(q(),5e3)),await g(j,s.isInp,h),await (0,d.yy)((0,d._9)(100,250));let t=null;try{t=await n?.getCdpSession()}catch{}await m(b,k,e,h,t)},a.fill=async(e,f)=>{let h=(0,d.R2)(c,f?.human_config??f),o=f?.force??!1,p=f?.timeout??3e4,q=Date.now()+p,r=()=>Math.max(0,q-Date.now());o||await P(a,F,r(),o);let t=await J(h);if(!t)return s(e,f);o||await Q(a,i.x,i.y,Math.min(r(),5e3)),await g(j,t.isInp,h),await (0,d.yy)((0,d._9)(100,250)),await l.keyboardPress(R),await (0,d.yy)((0,d._9)(30,80)),await l.keyboardPress("Backspace"),await (0,d.yy)((0,d._9)(50,150));let u=null;try{u=await n?.getCdpSession()}catch{}await m(b,k,e,h,u)},a.press=async(a,b)=>{await (0,d.yy)((0,d._9)(20,60)),await l.keyboardDown(a),await (0,d.yy)((0,d.px)(c.key_hold)),await l.keyboardUp(a)},a.selectOption=async(b,e)=>{let f=e?.force??!1,h=e?.timeout??3e4,i=Date.now()+h;return f||await P(a,G,Math.max(0,i-Date.now()),f),await J()&&(await g(j,!1,c),await (0,d.yy)((0,d._9)(100,300))),u(b,e)},a.check=async b=>{let d=b?.force??!1,e=b?.timeout??3e4,f=Date.now()+e,h=()=>Math.max(0,f-Date.now());d||await P(a,H,h(),d);try{if(await a.isChecked())return}catch{}let k=await J();if(!k)return v(b);d||await Q(a,i.x,i.y,Math.min(h(),5e3)),await g(j,k.isInp,c)},a.uncheck=async b=>{let d=b?.force??!1,e=b?.timeout??3e4,f=Date.now()+e,h=()=>Math.max(0,f-Date.now());d||await P(a,H,h(),d);try{if(!await a.isChecked())return}catch{}let k=await J();if(!k)return w(b);d||await Q(a,i.x,i.y,Math.min(h(),5e3)),await g(j,k.isInp,c)},x&&(a.setChecked=async(b,d)=>{let e=d?.force??!1,f=d?.timeout??3e4,h=Date.now()+f,k=()=>Math.max(0,h-Date.now());e||await P(a,H,k(),e);try{if(await a.isChecked()===b)return}catch{}let l=await J();if(!l)return x(b,d);e||await Q(a,i.x,i.y,Math.min(k(),5e3)),await g(j,l.isInp,c)}),a.tap=async a=>{let b=await J();if(!b)return y(a);await g(j,b.isInp,c)},a.focus=async()=>{await J(),await z()},A&&(a.scrollIntoViewIfNeeded=async e=>{let f=(0,d.R2)(c,e?.human_config??e),g=b._ensureCursorInit;g&&await g();try{let{cursorX:c,cursorY:d}=await t(b,j,()=>a.boundingBox(),i.x,i.y,f);i.x=c,i.y=d}catch{return A(e)}})}let U="darwin"===process.platform?"Meta+a":"Control+a";class V{cdp=null;contextId=null;page;constructor(a){this.page=a}async ensureCdp(){return this.cdp||(this.cdp=await this.page.context().newCDPSession(this.page)),this.cdp}async createWorld(){let a=await this.ensureCdp(),b=(await a.send("Page.getFrameTree")).frameTree.frame.id,c=(await a.send("Page.createIsolatedWorld",{frameId:b,worldName:"",grantUniveralAccess:!0})).executionContextId;return this.contextId=c,c}async evaluate(a){null===this.contextId&&await this.createWorld();for(let b=0;b<2;b++)try{let c=await this.ensureCdp(),d=await c.send("Runtime.evaluate",{expression:a,contextId:this.contextId,returnByValue:!0});if(d.exceptionDetails){if(0===b){await this.createWorld();continue}return}return d.result?.value}catch{if(0===b){this.contextId=null;try{await this.createWorld()}catch{return}continue}break}}invalidate(){this.contextId=null}async getCdpSession(){return this.ensureCdp()}}class W{x=0;y=0;initialized=!1}async function X(a,b,c){if(a)try{let b=JSON.stringify(c);return!!await a.evaluate(`
|
|
22
|
+
(() => {
|
|
23
|
+
const el = document.querySelector(${b});
|
|
24
|
+
if (!el) return false;
|
|
25
|
+
const tag = el.tagName.toLowerCase();
|
|
26
|
+
return tag === 'input' || tag === 'textarea'
|
|
27
|
+
|| el.getAttribute('contenteditable') === 'true';
|
|
28
|
+
})()
|
|
29
|
+
`)}catch{}return b.evaluate(a=>{let b=document.querySelector(a);if(!b)return!1;let c=b.tagName.toLowerCase();return"input"===c||"textarea"===c||"true"===b.getAttribute("contenteditable")},c).catch(()=>!1)}async function Y(a,b,c){if(a)try{let b=JSON.stringify(c);return!!await a.evaluate(`
|
|
30
|
+
(() => {
|
|
31
|
+
const el = document.querySelector(${b});
|
|
32
|
+
return el === document.activeElement;
|
|
33
|
+
})()
|
|
34
|
+
`)}catch{}return b.evaluate(a=>document.querySelector(a)===document.activeElement,c).catch(()=>!1)}function Z(a,b,c){let i={click:a.click.bind(a),dblclick:a.dblclick.bind(a),hover:a.hover.bind(a),type:a.type.bind(a),fill:a.fill.bind(a),check:a.check.bind(a),uncheck:a.uncheck.bind(a),selectOption:a.selectOption.bind(a),press:a.press.bind(a),goto:a.goto.bind(a),isChecked:a.isChecked.bind(a),mouseMove:a.mouse.move.bind(a.mouse),mouseClick:a.mouse.click.bind(a.mouse),mouseDblclick:a.mouse.dblclick.bind(a.mouse),mouseWheel:a.mouse.wheel.bind(a.mouse),mouseDown:a.mouse.down.bind(a.mouse),mouseUp:a.mouse.up.bind(a.mouse),keyboardType:a.keyboard.type.bind(a.keyboard),keyboardDown:a.keyboard.down.bind(a.keyboard),keyboardUp:a.keyboard.up.bind(a.keyboard),keyboardPress:a.keyboard.press.bind(a.keyboard),keyboardInsertText:a.keyboard.insertText.bind(a.keyboard)};a._original=i,a._humanCfg=b;let j=new V(a);a._stealth=j;let k=null,l=async()=>{if(!k)try{k=await j.getCdpSession()}catch{}return k},n={move:i.mouseMove,down:i.mouseDown,up:i.mouseUp,wheel:i.mouseWheel},o={down:i.keyboardDown,up:i.keyboardUp,type:i.keyboardType,insertText:i.keyboardInsertText};async function p(){c.initialized||(c.x=(0,d._9)(b.initial_cursor_x[0],b.initial_cursor_x[1]),c.y=(0,d._9)(b.initial_cursor_y[0],b.initial_cursor_y[1]),await i.mouseMove(c.x,c.y),c.initialized=!0)}let q=async(d,e)=>{let f=await i.goto(d,e);return j.invalidate(),$(a,b,c,n,o,i,j),f},r=async(i,k)=>{await p();let l=(0,d.R2)(b,k?.human_config??k),m=k?.timeout??3e4,o=k?.force??!1,q=k?._skipChecks??!1,r=Date.now()+m,s=()=>Math.max(0,r-Date.now());o||q||await K(a,i,D,s(),o),l.idle_between_actions&&await h(n,c.x,c.y,l);let{box:t,cursorX:v,cursorY:w,didScroll:x}=await u(a,n,i,c.x,c.y,l,s());c.x=v,c.y=w;let y=await X(j,a,i),z=t;!o&&x&&(await L(a,i,s()),z=await a.locator(i).first().boundingBox({timeout:Math.max(1,s())})??t);let A=f(z,y,l);o||await O(a,i,A.x,A.y,j,s()),await e(n,c.x,c.y,A.x,A.y,l),c.x=A.x,c.y=A.y,await g(n,y,l)},s=async(g,i)=>{await p();let k=(0,d.R2)(b,i?.human_config??i),l=i?.timeout??3e4,m=i?.force??!1,o=Date.now()+l,q=()=>Math.max(0,o-Date.now());m||await K(a,g,D,q(),m),k.idle_between_actions&&await h(n,c.x,c.y,k);let{box:r,cursorX:s,cursorY:t,didScroll:v}=await u(a,n,g,c.x,c.y,k,q());c.x=s,c.y=t;let w=await X(j,a,g),x=r;!m&&v&&(await L(a,g,q()),x=await a.locator(g).first().boundingBox({timeout:Math.max(1,q())})??r);let y=f(x,w,k);m||await O(a,g,y.x,y.y,j,q()),await e(n,c.x,c.y,y.x,y.y,k),c.x=y.x,c.y=y.y,await n.down({clickCount:2}),await (0,d.yy)((0,d._9)(30,60)),await n.up({clickCount:2})},t=async(g,i)=>{await p();let k=(0,d.R2)(b,i?.human_config??i),l=i?.timeout??3e4,m=i?.force??!1,o=i?._skipChecks??!1,q=Date.now()+l,r=()=>Math.max(0,q-Date.now());m||o||await K(a,g,E,r(),m),k.idle_between_actions&&await h(n,c.x,c.y,k);let{box:s,cursorX:t,cursorY:v,didScroll:w}=await u(a,n,g,c.x,c.y,k,r());c.x=t,c.y=v;let x=s;!m&&w&&(await L(a,g,r()),x=await a.locator(g).first().boundingBox({timeout:Math.max(1,r())})??s);let y=f(x,!1,k);m||await O(a,g,y.x,y.y,j,r()),await e(n,c.x,c.y,y.x,y.y,k),c.x=y.x,c.y=y.y},v=async(c,e,f)=>{let g=(0,d.R2)(b,f?.human_config??f),h=f?.timeout??3e4,i=f?.force??!1,j=Date.now()+h,k=()=>Math.max(0,j-Date.now());i||await K(a,c,F,k(),i),await (0,d.yy)((0,d.px)(g.field_switch_delay)),await r(c,{_skipChecks:!0,timeout:k(),force:i,human_config:f?.human_config}),await (0,d.yy)((0,d._9)(100,250));let n=await l();await m(a,o,e,g,n)},w=async(c,e,f)=>{let g=(0,d.R2)(b,f?.human_config??f),h=f?.timeout??3e4,j=f?.force??!1,k=Date.now()+h,n=()=>Math.max(0,k-Date.now());j||await K(a,c,F,n(),j),await (0,d.yy)((0,d.px)(g.field_switch_delay)),await r(c,{_skipChecks:!0,timeout:n(),force:j,human_config:f?.human_config}),await (0,d.yy)((0,d._9)(100,250)),await i.keyboardPress(U),await (0,d.yy)((0,d._9)(30,80)),await i.keyboardPress("Backspace"),await (0,d.yy)((0,d._9)(50,150));let p=await l();await m(a,o,e,g,p)},x=async(b,c)=>{let e=c?.timeout??3e4,f=c?.force??!1,g=Date.now()+e,h=()=>Math.max(0,g-Date.now());f||await K(a,b,G,h(),f),await Y(j,a,b)||await r(b,{_skipChecks:!0,timeout:h(),force:f,human_config:c?.human_config}),await (0,d.yy)((0,d._9)(50,150)),await i.keyboardPress(U),await (0,d.yy)((0,d._9)(30,80)),await i.keyboardPress("Backspace")},y=async(e,f)=>{let g=(0,d.R2)(b,f?.human_config??f),j=f?.timeout??3e4,k=f?.force??!1,l=Date.now()+j,m=()=>Math.max(0,l-Date.now());k||await K(a,e,H,m(),k),g.idle_between_actions&&await h(n,c.x,c.y,g),await i.isChecked(e).catch(()=>!1)||await r(e,{_skipChecks:!0,timeout:m(),force:k,human_config:f?.human_config})},z=async(e,f)=>{let g=(0,d.R2)(b,f?.human_config??f),j=f?.timeout??3e4,k=f?.force??!1,l=Date.now()+j,m=()=>Math.max(0,l-Date.now());k||await K(a,e,H,m(),k),g.idle_between_actions&&await h(n,c.x,c.y,g),await i.isChecked(e).catch(()=>!0)&&await r(e,{_skipChecks:!0,timeout:m(),force:k,human_config:f?.human_config})},A=async(b,c,e)=>{let f=e?.timeout??3e4,g=e?.force??!1,h=Date.now()+f,j=()=>Math.max(0,h-Date.now());return g||await K(a,b,G,j(),g),await t(b,{_skipChecks:!0,timeout:j(),force:g,human_config:e?.human_config}),await (0,d.yy)((0,d._9)(100,300)),i.selectOption(b,c,e)},B=async(b,c,e)=>{let f=e?.timeout??3e4,g=e?.force??!1,h=Date.now()+f,k=()=>Math.max(0,h-Date.now());g||await K(a,b,G,k(),g),await Y(j,a,b)||await r(b,{_skipChecks:!0,timeout:k(),force:g,human_config:e?.human_config}),await (0,d.yy)((0,d._9)(50,150)),await i.keyboardPress(c)},C=async(c,e,f)=>{let g=(0,d.R2)(b,f?.human_config??f),h=f?.timeout??3e4,i=f?.force??!1,k=Date.now()+h,n=()=>Math.max(0,k-Date.now());i||await K(a,c,G,n(),i),await Y(j,a,c)||await r(c,{_skipChecks:!0,timeout:n(),force:i,human_config:f?.human_config}),await (0,d.yy)((0,d._9)(100,250));let p=await l();await m(a,o,e,g,p)},I=async(a,b)=>{await r(a,b)};a.goto=q,a.click=r,a.dblclick=s,a.hover=t,a.type=v,a.fill=w,a.check=y,a.uncheck=z,a.selectOption=A,a.press=B,a.pressSequentially=C,a.tap=I,a.clear=x,a.mouse.move=async(a,d,f)=>{await p(),await e(n,c.x,c.y,a,d,b),c.x=a,c.y=d},a.mouse.click=async(a,d,f)=>{await p(),await e(n,c.x,c.y,a,d,b),c.x=a,c.y=d,await g(n,!1,b)},a.keyboard.type=async(c,d)=>{let e=await l();await m(a,o,c,b,e)},a._humanCursor=c,a._humanRaw=n,a._humanRawKb=o,a._humanOriginals=i,a._humanClickFn=r,a._humanHoverFn=t,a._humanClearFn=x,a._humanPressFn=B,a._humanPressSequentiallyFn=C,a._humanTapFn=I,a._ensureCursorInit=p,c.x=(0,d._9)(b.initial_cursor_x[0],b.initial_cursor_x[1]),c.y=(0,d._9)(b.initial_cursor_y[0],b.initial_cursor_y[1]),i.mouseMove(c.x,c.y).then(()=>{c.initialized=!0}).catch(()=>{}),$(a,b,c,n,o,i,j);if("function"==typeof a.$){let d=a.$.bind(a);a.$=async e=>{let f=await d(e);return f&&T(f,a,b,c,n,o,i,j),f}}if("function"==typeof a.$$){let d=a.$$.bind(a);a.$$=async e=>{let f=await d(e);for(let d of f)T(d,a,b,c,n,o,i,j);return f}}if("function"==typeof a.waitForSelector){let d=a.waitForSelector.bind(a);a.waitForSelector=async(e,f)=>{let g=await d(e,f??{});return g&&T(g,a,b,c,n,o,i,j),g}}}function $(a,b,c,i,j,k,l){for(let n of function*(a){try{let b=a.mainFrame();for(let a of(yield b,b.childFrames()))yield a}catch{}}(a))(function(a,b,c,i,j,k,l,n){if(a._humanPatched)return;a._humanPatched=!0;let o=a.click.bind(a),p=a.dblclick.bind(a),q=a.hover.bind(a),r=a.type.bind(a),s=a.fill.bind(a),t=a.check.bind(a),u=a.uncheck.bind(a),v=a.selectOption.bind(a);a.press.bind(a);let w=a.pressSequentially?.bind(a),x=a.tap?.bind(a),y=a.dragAndDrop.bind(a),z=async(b,g,k,l)=>{let m=(0,d.R2)(c,g?.human_config??g);m.idle_between_actions&&await h(j,i.x,i.y,m);let n=_(a,b);"function"==typeof n.scrollIntoViewIfNeeded&&await n.scrollIntoViewIfNeeded({timeout:Math.max(1,l())}).catch(()=>void 0);let o=await n.boundingBox({timeout:Math.max(1,l())}).catch(()=>null);if(!o)return null;let p=k||await aa(a,b),q=f(o,p,m);return await e(j,i.x,i.y,q.x,q.y,m),i.x=q.x,i.y=q.y,{callCfg:m,isInput:p}},A=async(a,b)=>{let c=b?.timeout??3e4,d=Date.now()+c,e=()=>Math.max(0,d-Date.now()),f=await z(a,b,!1,e);if(!f)return o(a,{...b,timeout:Math.max(1,e())});await g(j,f.isInput,f.callCfg)},B=async()=>n.getCdpSession().catch(()=>null),C=async(a,b)=>{let c=b?.timeout??3e4,d=Date.now()+c,e=()=>Math.max(0,d-Date.now());if(!await z(a,b,!1,e))return q(a,{...b,timeout:Math.max(1,e())})};a.click=A,a.dblclick=async(a,b)=>{let c=b?.timeout??3e4,e=Date.now()+c,f=()=>Math.max(0,e-Date.now());if(!await z(a,b,!1,f))return p(a,{...b,timeout:Math.max(1,f())});await j.down({clickCount:2}),await (0,d.yy)((0,d._9)(30,60)),await j.up({clickCount:2})},a.hover=C,a.type=async(a,e,f)=>{let g=(0,d.R2)(c,f?.human_config??f);await (0,d.yy)((0,d.px)(g.field_switch_delay)),await A(a,f),await (0,d.yy)((0,d._9)(100,250));let h=await B();await m(b,k,e,g,h).catch(()=>r(a,e,f))},a.fill=async(a,e,f)=>{let g=(0,d.R2)(c,f?.human_config??f);await (0,d.yy)((0,d.px)(g.field_switch_delay)),await A(a,f),await (0,d.yy)((0,d._9)(100,250)),await l.keyboardPress(U),await (0,d.yy)((0,d._9)(30,80)),await l.keyboardPress("Backspace"),await (0,d.yy)((0,d._9)(50,150));let h=await B();await m(b,k,e,g,h).catch(()=>s(a,e,f))},a.check=async(b,c)=>{let d=_(a,b);if("function"!=typeof d.isChecked)return t(b,c);await d.isChecked()||await A(b,c).catch(()=>t(b,c))},a.uncheck=async(b,c)=>{let d=_(a,b);if("function"!=typeof d.isChecked)return u(b,c);await d.isChecked()&&await A(b,c).catch(()=>u(b,c))},a.selectOption=async(a,b,c)=>(await C(a,c),await (0,d.yy)((0,d._9)(100,300)),v(a,b,c)),a.press=async(b,c,e)=>{await ab(a,b)||await A(b,e),await (0,d.yy)((0,d._9)(50,150)),await l.keyboardPress(c)},a.pressSequentially=async(e,f,g)=>{let h=(0,d.R2)(c,g?.human_config??g);await ab(a,e)||await A(e,g),await (0,d.yy)((0,d._9)(100,250));let i=await B();await m(b,k,f,h,i).catch(()=>w?.(e,f,g))},a.tap=async(a,b)=>{await A(a,b).catch(()=>x?.(a,b))},a.clear=async(b,c)=>{await ab(a,b)||await A(b,c),await (0,d.yy)((0,d._9)(50,150)),await l.keyboardPress(U),await (0,d.yy)((0,d._9)(30,80)),await l.keyboardPress("Backspace")},a.dragAndDrop=async(c,e,f)=>{let g=f?.timeout??3e4,h=Date.now()+g,i=()=>Math.max(1,h-Date.now()),j=await _(a,c).boundingBox({timeout:i()}).catch(()=>null),k=await _(a,e).boundingBox({timeout:i()}).catch(()=>null);if(!j||!k)return y(c,e,{...f,timeout:Math.max(1,i())});{let a=j.x+j.width/2,c=j.y+j.height/2,e=k.x+k.width/2,f=k.y+k.height/2;await b.mouse.move(a,c),await (0,d.yy)((0,d._9)(100,200)),await l.mouseDown(),await (0,d.yy)((0,d._9)(80,150)),await b.mouse.move(e,f),await (0,d.yy)((0,d._9)(80,150)),await l.mouseUp()}}})(n,a,b,c,i,j,k,l),function(a,b,c,d,e,f,g,h){if("function"==typeof a.$){let i=a.$.bind(a);a.$=async a=>{let j=await i(a);return j&&T(j,b,c,d,e,f,g,h),j}}if("function"==typeof a.$$){let i=a.$$.bind(a);a.$$=async a=>{let j=await i(a);for(let a of j)T(a,b,c,d,e,f,g,h);return j}}if("function"==typeof a.waitForSelector){let i=a.waitForSelector.bind(a);a.waitForSelector=async(a,j)=>{let k=await i(a,j??{});return k&&T(k,b,c,d,e,f,g,h),k}}}(n,a,b,c,i,j,k,l)}function _(a,b){let c=a.locator(b);return"function"==typeof c.first?c.first():c}async function aa(a,b){return _(a,b).evaluate(a=>{let b=a.tagName.toLowerCase();return"input"===b||"textarea"===b||"true"===a.getAttribute("contenteditable")}).catch(()=>!1)}async function ab(a,b){return _(a,b).evaluate(a=>a===document.activeElement).catch(()=>!1)}function ac(a,b){let c=new W;for(let d of a.pages())Z(d,b,c);a.on("page",a=>{a._original||Z(a,b,new W)});let d=a.newPage.bind(a);a.newPage=async()=>{let a=await d();return a._original||Z(a,b,new W),a}}function ad(a,b){for(let c of a.contexts())ac(c,b);let c=a.newContext.bind(a);a.newContext=async a=>{let d=await c(a);return ac(d,b),d};let d=a.newPage.bind(a);a.newPage=async a=>{let c=await d(a);if(!c._original){let a=c.context();a._humanPatched||(ac(a,b),a._humanPatched=!0),Z(c,b,new W)}return c}}},9293:(a,b,c)=>{c.d(b,{R2:()=>h,_9:()=>i,px:()=>j,qw:()=>k,resolveConfig:()=>g,yy:()=>l});let d={typing_delay:70,typing_delay_spread:40,typing_pause_chance:.1,typing_pause_range:[400,1e3],shift_down_delay:[30,70],shift_up_delay:[20,50],key_hold:[15,35],field_switch_delay:[800,1500],mistype_chance:.02,mistype_delay_notice:[100,300],mistype_delay_correct:[50,150],mouse_steps_divisor:8,mouse_min_steps:25,mouse_max_steps:80,mouse_wobble_max:1.5,mouse_overshoot_chance:.15,mouse_overshoot_px:[3,6],mouse_burst_size:[3,5],mouse_burst_pause:[8,18],click_aim_delay_input:[60,140],click_aim_delay_button:[80,200],click_hold_input:[40,100],click_hold_button:[60,150],click_input_x_range:[.05,.3],idle_drift_px:3,idle_pause_range:[300,1e3],scroll_delta_base:[80,130],scroll_delta_variance:.2,scroll_pause_fast:[30,80],scroll_pause_slow:[80,200],scroll_accel_steps:[2,3],scroll_decel_steps:[2,3],scroll_overshoot_chance:.1,scroll_overshoot_px:[50,150],scroll_settle_delay:[300,600],scroll_target_zone:[.2,.8],scroll_pre_move_delay:[100,300],initial_cursor_x:[400,700],initial_cursor_y:[45,60],idle_between_actions:!1,idle_between_duration:[.3,.8]},e={...d,typing_delay:100,typing_delay_spread:50,typing_pause_chance:.15,typing_pause_range:[500,1200],shift_down_delay:[40,90],shift_up_delay:[30,70],key_hold:[20,45],field_switch_delay:[1e3,2e3],mistype_chance:.03,mistype_delay_notice:[150,400],mistype_delay_correct:[80,200],mouse_overshoot_chance:.1,mouse_burst_pause:[12,25],click_aim_delay_input:[80,180],click_aim_delay_button:[120,280],click_hold_input:[60,140],click_hold_button:[80,200],scroll_pause_fast:[100,200],scroll_pause_slow:[250,600],scroll_settle_delay:[400,800],scroll_pre_move_delay:[150,400],idle_between_actions:!0,idle_between_duration:[.4,1]},f={default:d,careful:e};function g(a="default",b){let c=f[a];if(!c)throw Error(`Unknown humanize preset "${a}". Valid presets: ${Object.keys(f).join(", ")}`);return b?{...c,...b}:{...c}}function h(a,b){return b?{...a,...b}:a}function i(a,b){return a+Math.random()*(b-a)}function j(a){return i(a[0],a[1])}function k(a){return Math.floor(i(a[0],a[1]+1))}function l(a){return new Promise(b=>setTimeout(b,a))}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=3092,exports.ids=[3092],exports.modules={7768:function(a,b,c){var d=this&&this.__awaiter||function(a,b,c,d){return new(c||(c=Promise))(function(e,f){function g(a){try{i(d.next(a))}catch(a){f(a)}}function h(a){try{i(d.throw(a))}catch(a){f(a)}}function i(a){var b;a.done?e(a.value):((b=a.value)instanceof c?b:new c(function(a){a(b)})).then(g,h)}i((d=d.apply(a,b||[])).next())})};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=b.SocksClient=void 0;let e=c(94735),f=c(91645),g=c(95800),h=c(60485),i=c(42045),j=c(21783),k=c(26174);Object.defineProperty(b,"SocksClientError",{enumerable:!0,get:function(){return k.SocksClientError}});let l=c(64367);class m extends e.EventEmitter{constructor(a){super(),this.options=Object.assign({},a),(0,i.validateSocksClientOptions)(a),this.setState(h.SocksClientState.Created)}static createConnection(a,b){return new Promise((c,d)=>{try{(0,i.validateSocksClientOptions)(a,["connect"])}catch(a){if("function"==typeof b)return b(a),c(a);return d(a)}let e=new m(a);e.connect(a.existing_socket),e.once("established",a=>{e.removeAllListeners(),"function"==typeof b&&b(null,a),c(a)}),e.once("error",a=>{e.removeAllListeners(),"function"==typeof b?(b(a),c(a)):d(a)})})}static createConnectionChain(a,b){return new Promise((c,e)=>d(this,void 0,void 0,function*(){try{(0,i.validateSocksClientChainOptions)(a)}catch(a){if("function"==typeof b)return b(a),c(a);return e(a)}a.randomizeChain&&(0,k.shuffleArray)(a.proxies);try{let d;for(let b=0;b<a.proxies.length;b++){let c=a.proxies[b],e=b===a.proxies.length-1?a.destination:{host:a.proxies[b+1].host||a.proxies[b+1].ipaddress,port:a.proxies[b+1].port},f=yield m.createConnection({command:"connect",proxy:c,destination:e,existing_socket:d});d=d||f.socket}"function"==typeof b&&b(null,{socket:d}),c({socket:d})}catch(a){"function"==typeof b?(b(a),c(a)):e(a)}}))}static createUDPFrame(a){let b=new g.SmartBuffer;return b.writeUInt16BE(0),b.writeUInt8(a.frameNumber||0),f.isIPv4(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv4),b.writeUInt32BE((0,i.ipv4ToInt32)(a.remoteHost.host))):f.isIPv6(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv6),b.writeBuffer((0,i.ipToBuffer)(a.remoteHost.host))):(b.writeUInt8(h.Socks5HostType.Hostname),b.writeUInt8(Buffer.byteLength(a.remoteHost.host)),b.writeString(a.remoteHost.host)),b.writeUInt16BE(a.remoteHost.port),b.writeBuffer(a.data),b.toBuffer()}static parseUDPFrame(a){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c=b.readUInt8(),d=b.readUInt8();return{frameNumber:c,remoteHost:{host:d===h.Socks5HostType.IPv4?(0,i.int32ToIpv4)(b.readUInt32BE()):d===h.Socks5HostType.IPv6?l.Address6.fromByteArray(Array.from(b.readBuffer(16))).canonicalForm():b.readString(b.readUInt8()),port:b.readUInt16BE()},data:b.readBuffer()}}setState(a){this.state!==h.SocksClientState.Error&&(this.state=a)}connect(a){this.onDataReceived=a=>this.onDataReceivedHandler(a),this.onClose=()=>this.onCloseHandler(),this.onError=a=>this.onErrorHandler(a),this.onConnect=()=>this.onConnectHandler();let b=setTimeout(()=>this.onEstablishedTimeout(),this.options.timeout||h.DEFAULT_TIMEOUT);b.unref&&"function"==typeof b.unref&&b.unref(),a?this.socket=a:this.socket=new f.Socket,this.socket.once("close",this.onClose),this.socket.once("error",this.onError),this.socket.once("connect",this.onConnect),this.socket.on("data",this.onDataReceived),this.setState(h.SocksClientState.Connecting),this.receiveBuffer=new j.ReceiveBuffer,a?this.socket.emit("connect"):(this.socket.connect(this.getSocketOptions()),void 0!==this.options.set_tcp_nodelay&&null!==this.options.set_tcp_nodelay&&this.socket.setNoDelay(!!this.options.set_tcp_nodelay)),this.prependOnceListener("established",a=>{setImmediate(()=>{if(this.receiveBuffer.length>0){let b=this.receiveBuffer.get(this.receiveBuffer.length);a.socket.emit("data",b)}a.socket.resume()})})}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.BoundWaitingForConnection&&this.closeSocket(h.ERRORS.ProxyConnectionTimedOut)}onConnectHandler(){this.setState(h.SocksClientState.Connected),4===this.options.proxy.type?this.sendSocks4InitialHandshake():this.sendSocks5InitialHandshake(),this.setState(h.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(a){this.receiveBuffer.append(a),this.processData()}processData(){for(;this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize;)if(this.state===h.SocksClientState.SentInitialHandshake)4===this.options.proxy.type?this.handleSocks4FinalHandshakeResponse():this.handleInitialSocks5HandshakeResponse();else if(this.state===h.SocksClientState.SentAuthentication)this.handleInitialSocks5AuthenticationHandshakeResponse();else if(this.state===h.SocksClientState.SentFinalHandshake)this.handleSocks5FinalHandshakeResponse();else if(this.state===h.SocksClientState.BoundWaitingForConnection)4===this.options.proxy.type?this.handleSocks4IncomingConnectionResponse():this.handleSocks5IncomingConnectionResponse();else{this.closeSocket(h.ERRORS.InternalError);break}}onCloseHandler(){this.closeSocket(h.ERRORS.SocketClosed)}onErrorHandler(a){this.closeSocket(a.message)}removeInternalSocketHandlers(){this.socket.pause(),this.socket.removeListener("data",this.onDataReceived),this.socket.removeListener("close",this.onClose),this.socket.removeListener("error",this.onError),this.socket.removeListener("connect",this.onConnect)}closeSocket(a){this.state!==h.SocksClientState.Error&&(this.setState(h.SocksClientState.Error),this.socket.destroy(),this.removeInternalSocketHandlers(),this.emit("error",new k.SocksClientError(a,this.options)))}sendSocks4InitialHandshake(){let a=this.options.proxy.userId||"",b=new g.SmartBuffer;b.writeUInt8(4),b.writeUInt8(h.SocksCommand[this.options.command]),b.writeUInt16BE(this.options.destination.port),f.isIPv4(this.options.destination.host)?(b.writeBuffer((0,i.ipToBuffer)(this.options.destination.host)),b.writeStringNT(a)):(b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(1),b.writeStringNT(a),b.writeStringNT(this.options.destination.host)),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response,this.socket.write(b.toBuffer())}handleSocks4FinalHandshakeResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[a[1]]})`);else if(h.SocksCommand[this.options.command]===h.SocksCommand.bind){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};"0.0.0.0"===c.host&&(c.host=this.options.proxy.ipaddress),this.setState(h.SocksClientState.BoundWaitingForConnection),this.emit("bound",{remoteHost:c,socket:this.socket})}else this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{socket:this.socket})}handleSocks4IncomingConnectionResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[a[1]]})`);else{let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:c,socket:this.socket})}}sendSocks5InitialHandshake(){let a=new g.SmartBuffer,b=[h.Socks5Auth.NoAuth];for(let c of((this.options.proxy.userId||this.options.proxy.password)&&b.push(h.Socks5Auth.UserPass),void 0!==this.options.proxy.custom_auth_method&&b.push(this.options.proxy.custom_auth_method),a.writeUInt8(5),a.writeUInt8(b.length),b))a.writeUInt8(c);this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){let a=this.receiveBuffer.get(2);5!==a[0]?this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion):a[1]===h.SOCKS5_NO_ACCEPTABLE_AUTH?this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType):a[1]===h.Socks5Auth.NoAuth?(this.socks5ChosenAuthType=h.Socks5Auth.NoAuth,this.sendSocks5CommandRequest()):a[1]===h.Socks5Auth.UserPass?(this.socks5ChosenAuthType=h.Socks5Auth.UserPass,this.sendSocks5UserPassAuthentication()):a[1]===this.options.proxy.custom_auth_method?(this.socks5ChosenAuthType=this.options.proxy.custom_auth_method,this.sendSocks5CustomAuthentication()):this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}sendSocks5UserPassAuthentication(){let a=this.options.proxy.userId||"",b=this.options.proxy.password||"",c=new g.SmartBuffer;c.writeUInt8(1),c.writeUInt8(Buffer.byteLength(a)),c.writeString(a),c.writeUInt8(Buffer.byteLength(b)),c.writeString(b),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse,this.socket.write(c.toBuffer()),this.setState(h.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return d(this,void 0,void 0,function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size,this.socket.write((yield this.options.proxy.custom_auth_request_handler())),this.setState(h.SocksClientState.SentAuthentication)})}handleSocks5CustomAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return yield this.options.proxy.custom_auth_response_handler(a)})}handleSocks5AuthenticationNoAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleSocks5AuthenticationUserPassHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleInitialSocks5AuthenticationHandshakeResponse(){return d(this,void 0,void 0,function*(){this.setState(h.SocksClientState.ReceivedAuthenticationResponse);let a=!1;this.socks5ChosenAuthType===h.Socks5Auth.NoAuth?a=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===h.Socks5Auth.UserPass?a=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===this.options.proxy.custom_auth_method&&(a=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))),a?this.sendSocks5CommandRequest():this.closeSocket(h.ERRORS.Socks5AuthenticationFailed)})}sendSocks5CommandRequest(){let a=new g.SmartBuffer;a.writeUInt8(5),a.writeUInt8(h.SocksCommand[this.options.command]),a.writeUInt8(0),f.isIPv4(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv4),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):f.isIPv6(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv6),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):(a.writeUInt8(h.Socks5HostType.Hostname),a.writeUInt8(this.options.destination.host.length),a.writeString(this.options.destination.host)),a.writeUInt16BE(this.options.destination.port),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.ReceivedFinalResponse),h.SocksCommand[this.options.command]===h.SocksCommand.connect?(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.bind?(this.setState(h.SocksClientState.BoundWaitingForConnection),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.emit("bound",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.associate&&(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket}))}}handleSocks5IncomingConnectionResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}b.SocksClient=m},13092:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(7768),b)},21783:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ReceiveBuffer=void 0;class c{constructor(a=4096){this.buffer=Buffer.allocUnsafe(a),this.offset=0,this.originalSize=a}get length(){return this.offset}append(a){if(!Buffer.isBuffer(a))throw Error("Attempted to append a non-buffer instance to ReceiveBuffer.");if(this.offset+a.length>=this.buffer.length){let b=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+a.length)),b.copy(this.buffer)}return a.copy(this.buffer,this.offset),this.offset+=a.length}peek(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");return this.buffer.slice(0,a)}get(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");let b=Buffer.allocUnsafe(a);return this.buffer.slice(0,a).copy(b),this.buffer.copyWithin(0,a,a+this.offset-a),this.offset-=a,b}}b.ReceiveBuffer=c},25254:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(79428),e={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};function f(a){var b;return"number"==typeof a&&isFinite(a)&&"number"==typeof(b=a)&&isFinite(b)&&Math.floor(b)===b}function g(a,b){if("number"==typeof a){if(!f(a)||a<0)throw Error(b?e.INVALID_OFFSET:e.INVALID_LENGTH)}else throw Error(b?e.INVALID_OFFSET_NON_NUMBER:e.INVALID_LENGTH_NON_NUMBER)}b.ERRORS=e,b.checkEncoding=function(a){if(!d.Buffer.isEncoding(a))throw Error(e.INVALID_ENCODING)},b.isFiniteInteger=f,b.checkLengthValue=function(a){g(a,!1)},b.checkOffsetValue=function(a){g(a,!0)},b.checkTargetOffset=function(a,b){if(a<0||a>b.length)throw Error(e.INVALID_TARGET_OFFSET)},b.bigIntAndBufferInt64Check=function(a){if("u"<typeof BigInt)throw Error("Platform does not support JS BigInt type.");if(void 0===d.Buffer.prototype[a])throw Error(`Platform does not support Buffer.prototype.${a}.`)}},26174:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.shuffleArray=b.SocksClientError=void 0;class c extends Error{constructor(a,b){super(a),this.options=b}}b.SocksClientError=c,b.shuffleArray=function(a){for(let b=a.length-1;b>0;b--){let c=Math.floor(Math.random()*(b+1));[a[b],a[c]]=[a[c],a[b]]}}},28673:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.RE_URL_WITH_PORT=b.RE_URL=b.RE_ZONE_STRING=b.RE_SUBNET_STRING=b.RE_BAD_ADDRESS=b.RE_BAD_CHARACTERS=b.TYPES=b.SCOPES=b.GROUPS=b.BITS=void 0,b.BITS=128,b.GROUPS=8,b.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},b.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2002::/16":"6to4","2001:db8::/32":"Documentation","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"},b.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,b.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,b.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,b.RE_ZONE_STRING=/%.*$/,b.RE_URL=/^\[{0,1}([0-9a-f:]+)\]{0,1}/,b.RE_URL_WITH_PORT=/\[([0-9a-f:]+)\]:([0-9]{1,5})/},28798:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address6=void 0;let g=f(c(75081)),h=f(c(51835)),i=f(c(28673)),j=f(c(75737)),k=c(79440),l=c(29142),m=c(50508),n=c(75081),o=g.isCorrect(i.BITS);function p(a){if(!a)throw Error("Assertion failed.")}function q(a){return(a=a.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function r(a){return parseInt(a,16).toString(16).padStart(4,"0")}function s(a){return 255&a}class t{constructor(a,b){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=g.isInSubnet,this.isCorrect=o,void 0===b?this.groups=i.GROUPS:this.groups=b,this.address=a;const c=i.RE_SUBNET_STRING.exec(a);if(c){if(this.parsedSubnet=c[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>i.BITS)throw new m.AddressError("Invalid subnet mask.");a=a.replace(i.RE_SUBNET_STRING,"")}else if(/\//.test(a))throw new m.AddressError("Invalid subnet mask.");const d=i.RE_ZONE_STRING.exec(a);d&&(this.zone=d[0],a=a.replace(i.RE_ZONE_STRING,"")),this.addressMinusSuffix=a,this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(a){try{return new t(a),!0}catch(a){return!1}}static fromBigInt(a){if(a<0n||a>(1n<<BigInt(i.BITS))-1n)throw new m.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");let b=a.toString(16).padStart(32,"0"),c=[];for(let a=0;a<i.GROUPS;a++)c.push(b.slice(4*a,(a+1)*4));return new t(c.join(":"))}static fromURL(a){let b,c,d=null;if(-1!==a.indexOf("[")&&-1!==a.indexOf("]:")){if(null===(c=i.RE_URL_WITH_PORT.exec(a)))return{error:"failed to parse address with port",address:null,port:null};b=c[1],d=c[2]}else if(-1!==a.indexOf("/")){if(a=a.replace(/^[a-z0-9]+:\/\//,""),null===(c=i.RE_URL.exec(a)))return{error:"failed to parse address from URL",address:null,port:null};b=c[1]}else b=a;return d?((d=parseInt(d,10))<0||d>65536)&&(d=null):d=null,{address:new t(b),port:d}}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new t(b).bigInt(),i.BITS);return new t(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new t(b).bigInt(),d=(BigInt(1)<<BigInt(i.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,i.BITS);return new t(`${a}/${e}`)}static fromWildcard(a){let b;if(a.includes("%")||a.includes("/"))throw new m.AddressError("Wildcard pattern must not include a zone or CIDR suffix");let c=a.split("::");if(c.length>2)throw new m.AddressError("Wildcard pattern cannot contain more than one '::'");if(2===c.length){let a=""===c[0]?[]:c[0].split(":"),d=""===c[1]?[]:c[1].split(":"),e=i.GROUPS-a.length-d.length;if(e<1)throw new m.AddressError("Wildcard pattern with '::' has too many groups");b=[...a,...Array(e).fill("0"),...d]}else b=a.split(":");if(b.length!==i.GROUPS)throw new m.AddressError("Wildcard pattern must have 8 groups");let d=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===d&&(d=a);else if(-1!==d)throw new m.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");let e=-1===d?0:b.length-d,f=b.map(a=>"*"===a?"0":a),g=i.BITS-16*e;return new t(`${f.join(":")}/${g}`)}static fromAddress4(a){let b=new k.Address4(a),c=i.BITS-(h.BITS-b.subnetMask);return new t(`::ffff:${b.correctForm()}/${c}`)}static fromArpa(a){let b=a.replace(/(\.ip6\.arpa)?\.$/,"");if(63!==b.length)throw new m.AddressError("Invalid 'ip6.arpa' form.");let c=b.split(".").reverse();for(let a=7;a>0;a--){let b=4*a;c.splice(b,0,":")}return new t(b=c.join(""))}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(a=this.subnetMask){return this.getBitsBase2(0,a)}possibleSubnets(a=128){let b=i.BITS-this.subnetMask-Math.abs(a-i.BITS);if(b<0)return"0";var c=(BigInt("2")**BigInt(b)).toString(10);let d=/(\d+)(\d{3})/;for(;d.test(c);)c=c.replace(d,"$1,$2");return c}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(i.BITS-this.subnetMask)}`)}startAddress(){return t.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(i.BITS-this.subnetMask)}`)}endAddress(){return t.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(i.BITS-this.subnetMask)}`))}wildcardMask(){return t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(i.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")?i.SCOPES[parseInt(this.getBits(12,16).toString(10),10)]||"Unknown":"Link-local unicast"===a||"Loopback"===a?"Link local":"Unspecified"===a?"Unknown":"Global"}getType(){for(let a=0;a<u.length;a++){let b=u[a];if(this.isInSubnet(b[0]))return b[1]}return"Global unicast"}getBits(a,b){return BigInt(`0b${this.getBitsBase2(a,b)}`)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}getBitsBase16(a,b){let c=b-a;if(c%4!=0)throw Error("Length of bits to retrieve must be divisible by four");return this.getBits(a,b).toString(16).padStart(c/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,i.BITS)}reverseForm(a){a||(a={});let b=Math.floor(this.subnetMask/4),c=this.canonicalForm().replace(/:/g,"").split("").slice(0,b).reverse().join(".");return b>0?a.omitSuffix?c:`${c}.ip6.arpa.`:a.omitSuffix?"":"ip6.arpa."}correctForm(){let a,b=[],c=0,d=[];for(a=0;a<this.parsedAddress.length;a++){let b=parseInt(this.parsedAddress[a],16);0===b&&c++,0!==b&&c>0&&(c>1&&d.push([a-c,a-1]),c=0)}c>1&&d.push([this.parsedAddress.length-c,this.parsedAddress.length-1]);let e=d.map(a=>a[1]-a[0]+1);if(d.length>0){let a=e.indexOf(Math.max(...e));b=function(a,b){let c,d=[],e=[];for(c=0;c<a.length;c++)c<b[0]?d.push(a[c]):c>b[1]&&e.push(a[c]);return d.concat(["compact"]).concat(e)}(this.parsedAddress,d[a])}else b=this.parsedAddress;for(a=0;a<b.length;a++)"compact"!==b[a]&&(b[a]=parseInt(b[a],16).toString(16));let f=b.join(":");return(f=(f=f.replace(/^compact$/,"::")).replace(/(^compact)|(compact$)/,":")).replace(/compact/,"")}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(i.BITS,"0")),this._binaryZeroPad}parse4in6(a){if(-1===a.indexOf("."))return a;let b=a.split(":"),c=b.slice(-1)[0].match(h.RE_ADDRESS);if(c){this.parsedAddress4=c[0],this.address4=new k.Address4(this.parsedAddress4);for(let a=0;a<this.address4.groups;a++)if(/^0[0-9]+/.test(this.address4.parsedAddress[a])){let a=this.address4.parsedAddress.map(q).join("."),c=b.slice(0,-1).map(j.escapeHtml).join(":"),d=b.length>1?":":"";throw new m.AddressError("IPv4 addresses can't have leading zeroes.",`${c}${d}${a}`)}this.v4=!0,b[b.length-1]=this.address4.toGroup6(),a=b.join(":")}return a}parse(a){let b=(a=this.parse4in6(a)).match(i.RE_BAD_CHARACTERS);if(b)throw new m.AddressError(`Bad character${b.length>1?"s":""} detected in address: ${b.join("")}`,a.replace(i.RE_BAD_CHARACTERS,'<span class="parse-error">$1</span>'));let c=a.match(i.RE_BAD_ADDRESS);if(c)throw new m.AddressError(`Address failed regex: ${c.join("")}`,a.replace(i.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));let d=[],e=a.split("::");if(2===e.length){let a=e[0].split(":"),b=e[1].split(":");1===a.length&&""===a[0]&&(a=[]),1===b.length&&""===b[0]&&(b=[]);let c=this.groups-(a.length+b.length);if(!c)throw new m.AddressError("Error parsing groups");this.elidedGroups=c,this.elisionBegin=a.length,this.elisionEnd=a.length+this.elidedGroups,d=d.concat(a);for(let a=0;a<c;a++)d.push("0");d=d.concat(b)}else if(1===e.length)d=a.split(":"),this.elidedGroups=0;else throw new m.AddressError("Too many :: groups found");if((d=d.map(a=>parseInt(a,16).toString(16))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return d}canonicalForm(){return this.parsedAddress.map(r).join(":")}decimal(){return this.parsedAddress.map(a=>parseInt(a,16).toString(10).padStart(5,"0")).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(r).join("")}`)}to4(){let a=this.binaryZeroPad().split("");return k.Address4.fromHex(BigInt(`0b${a.slice(96,128).join("")}`).toString(16).padStart(8,"0"))}to4in6(){let a=this.to4(),b=new t(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),c="";return/:$/.test(b)||(c=":"),b+c+a.address}inspectTeredo(){let a=this.getBitsBase16(0,32),b=(this.getBits(80,96)^BigInt("0xffff")).toString(),c=k.Address4.fromHex(this.getBitsBase16(32,64)),d=this.getBits(96,128),e=k.Address4.fromHex((d^BigInt("0xffffffff")).toString(16).padStart(8,"0")),f=this.getBitsBase2(64,80),g=(0,n.testBit)(f,15),h=(0,n.testBit)(f,14),i=(0,n.testBit)(f,8),j=(0,n.testBit)(f,9),l=BigInt(`0b${f.slice(2,6)+f.slice(8,16)}`).toString(10);return{prefix:`${a.slice(0,4)}:${a.slice(4,8)}`,server4:c.address,client4:e.address,flags:f,coneNat:g,microsoft:{reserved:h,universalLocal:j,groupIndividual:i,nonce:l},udpPort:b}}inspect6to4(){let a=this.getBitsBase16(0,16),b=k.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:a.slice(0,4),gateway:b.address}}to6to4(){return this.is4()?new t(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),":/16"].join(":")):null}static fromAddress4Nat64(a,b="64:ff9b::/96"){let c,d=new k.Address4(a),e=new t(b),f=e.subnetMask;if(32!==f&&40!==f&&48!==f&&56!==f&&64!==f&&96!==f)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");let g=e.binaryZeroPad(),h=d.binaryZeroPad();if(96===f)c=g.slice(0,96)+h;else{let a=64-f;c=g.slice(0,f)+h.slice(0,a)+"00000000"+h.slice(a)+"0".repeat(56-(32-a))}let i=BigInt(`0b${c}`).toString(16).padStart(32,"0"),j=[];for(let a=0;a<8;a++)j.push(i.slice(4*a,(a+1)*4));return new t(j.join(":"))}toAddress4Nat64(a="64:ff9b::/96"){let b,c=new t(a),d=c.subnetMask;if(32!==d&&40!==d&&48!==d&&56!==d&&64!==d&&96!==d)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");if(!this.isInSubnet(c))return null;let e=this.binaryZeroPad();if(96===d)b=e.slice(96,128);else{let a=64-d;b=e.slice(d,d+a)+e.slice(72,72+(32-a))}let f=[];for(let a=0;a<4;a++)f.push(parseInt(b.slice(8*a,(a+1)*8),2).toString());return new k.Address4(f.join("."))}toByteArray(){let a=this.bigInt().toString(16),b="0".repeat(a.length%2),c=`${b}${a}`,d=[];for(let a=0,b=c.length;a<b;a+=2)d.push(parseInt(c.substring(a,a+2),16));return d}toUnsignedByteArray(){return this.toByteArray().map(s)}static fromByteArray(a){return this.fromUnsignedByteArray(a.map(s))}static fromUnsignedByteArray(a){let b=BigInt("256"),c=BigInt("0"),d=BigInt("1");for(let e=a.length-1;e>=0;e--)c+=d*BigInt(a[e].toString(10)),d*=b;return t.fromBigInt(c)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){return"1111111010000000000000000000000000000000000000000000000000000000"===this.getBitsBase2(0,64)}isMulticast(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isInSubnet(z)}isTeredo(){return this.isInSubnet(v)}is6to4(){return this.isInSubnet(w)}isLoopback(){return"Loopback"===this.getType()}isULA(){return this.isInSubnet(x)}isUnspecified(){return"Unspecified"===this.getType()}isDocumentation(){return this.isInSubnet(y)}href(a){return a=void 0===a?"":`:${a}`,`http://[${this.correctForm()}]${a}/`}link(a){a||(a={}),void 0===a.className&&(a.className=""),void 0===a.prefix&&(a.prefix="/#address="),void 0===a.v4&&(a.v4=!1);let b=this.correctForm;a.v4&&(b=this.to4in6);let c=b.call(this),d=j.escapeHtml(`${a.prefix}${c}`),e=j.escapeHtml(c);if(a.className){let b=j.escapeHtml(a.className);return`<a href="${d}" class="${b}">${e}</a>`}return`<a href="${d}">${e}</a>`}group(){if(0===this.elidedGroups)return j.simpleGroup(this.addressMinusSuffix).join(":");p("number"==typeof this.elidedGroups),p("number"==typeof this.elisionBegin);let a=[],[b,c]=this.addressMinusSuffix.split("::");b.length?a.push(...j.simpleGroup(b)):a.push("");let d=["hover-group"];for(let a=this.elisionBegin;a<this.elisionBegin+this.elidedGroups;a++)d.push(`group-${a}`);return a.push(`<span class="${d.join(" ")}"></span>`),c.length?a.push(...j.simpleGroup(c,this.elisionEnd)):a.push(""),this.is4()&&(p(this.address4 instanceof k.Address4),a.pop(),a.push(this.address4.groupForV6())),a.join(":")}regularExpressionString(a=!1){let b=[],c=new t(this.correctForm());if(0===c.elidedGroups)b.push((0,l.simpleRegularExpression)(c.parsedAddress));else if(c.elidedGroups===i.GROUPS)b.push((0,l.possibleElisions)(i.GROUPS));else{let a=c.address.split("::");a[0].length&&b.push((0,l.simpleRegularExpression)(a[0].split(":"))),p("number"==typeof c.elidedGroups),b.push((0,l.possibleElisions)(c.elidedGroups,0!==a[0].length,0!==a[1].length)),a[1].length&&b.push((0,l.simpleRegularExpression)(a[1].split(":"))),b=[b.join(":")]}return a||(b=["(?=^|",l.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...b,")(?=[^\\w\\:]|",l.ADDRESS_BOUNDARY,"|$)"]),b.join("")}regularExpression(a=!1){return RegExp(this.regularExpressionString(a),"i")}}b.Address6=t;let u=Object.keys(i.TYPES).map(a=>[new t(a),i.TYPES[a]]),v=new t("2001::/32"),w=new t("2002::/16"),x=new t("fc00::/7"),y=new t("2001:db8::/32"),z=new t("::ffff:0:0/96")},29142:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.ADDRESS_BOUNDARY=void 0,b.groupPossibilities=h,b.padGroup=i,b.simpleRegularExpression=function(a){let b=[];a.forEach((a,c)=>{0===parseInt(a,16)&&b.push(c)});let c=b.map(b=>a.map((a,c)=>{if(c===b){let b=0===c||c===g.GROUPS-1?":":"";return h([i(a),b])}return i(a)}).join(":"));return c.push(a.map(i).join(":")),h(c)},b.possibleElisions=function(a,b,c){let d=[];b||c||d.push("::"),b&&c&&d.push(""),(c&&!b||!c&&b)&&d.push(":"),d.push(`${b?"":":"}(:0{1,4}){1,${a-1}}`),d.push(`(0{1,4}:){1,${a-1}}${c?"":":"}`),d.push(`(0{1,4}:){${a-1}}0{1,4}`);for(let b=1;b<a-1;b++)for(let c=1;c<a-b;c++)d.push(`(0{1,4}:){${c}}:(0{1,4}:){${a-c-b-1}}0{1,4}`);return h(d)};let g=f(c(28673));function h(a){return`(${a.join("|")})`}function i(a){return a.length<4?`0{0,${4-a.length}}${a}`:a}b.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]"},42045:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ipToBuffer=b.int32ToIpv4=b.ipv4ToInt32=b.validateSocksClientChainOptions=b.validateSocksClientOptions=void 0;let d=c(26174),e=c(60485),f=c(27910),g=c(64367),h=c(91645);function i(a,b){if(void 0!==a.custom_auth_method){if(a.custom_auth_method<e.SOCKS5_CUSTOM_AUTH_START||a.custom_auth_method>e.SOCKS5_CUSTOM_AUTH_END)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthRange,b);if(void 0===a.custom_auth_request_handler||"function"!=typeof a.custom_auth_request_handler||void 0===a.custom_auth_response_size||void 0===a.custom_auth_response_handler||"function"!=typeof a.custom_auth_response_handler)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,b)}}function j(a){return a&&"string"==typeof a.host&&256>Buffer.byteLength(a.host)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535}function k(a){return a&&("string"==typeof a.host||"string"==typeof a.ipaddress)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535&&(4===a.type||5===a.type)}function l(a){return"number"==typeof a&&a>0}b.validateSocksClientOptions=function(a,b=["connect","bind","associate"]){if(!e.SocksCommand[a.command])throw new d.SocksClientError(e.ERRORS.InvalidSocksCommand,a);if(-1===b.indexOf(a.command))throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandForOperation,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!k(a.proxy))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);if(i(a.proxy,a),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a);if(a.existing_socket&&!(a.existing_socket instanceof f.Duplex))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsExistingSocket,a)},b.validateSocksClientChainOptions=function(a){if("connect"!==a.command)throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandChain,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!(a.proxies&&Array.isArray(a.proxies)&&a.proxies.length>=2))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxiesLength,a);if(a.proxies.forEach(b=>{if(!k(b))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);i(b,a)}),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a)},b.ipv4ToInt32=function(a){return new g.Address4(a).toArray().reduce((a,b)=>(a<<8)+b,0)>>>0},b.int32ToIpv4=function(a){return[a>>>24&255,a>>>16&255,a>>>8&255,255&a].join(".")},b.ipToBuffer=function(a){if(h.isIPv4(a)){let b=new g.Address4(a);return Buffer.from(b.toArray())}if(h.isIPv6(a)){let b=new g.Address6(a);return Buffer.from(b.canonicalForm().split(":").map(a=>a.padStart(4,"0")).join(""),"hex")}throw Error("Invalid IP address format")}},50508:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.AddressError=void 0;class c extends Error{constructor(a,b){super(a),this.name="AddressError",this.parseMessage=b}}b.AddressError=c},51835:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.RE_SUBNET_STRING=b.RE_ADDRESS=b.GROUPS=b.BITS=void 0,b.BITS=32,b.GROUPS=4,b.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g,b.RE_SUBNET_STRING=/\/\d{1,2}$/},60485:(a,b)=>{var c,d,e,f,g,h,i,j,k,l,m,n;Object.defineProperty(b,"__esModule",{value:!0}),b.SOCKS5_NO_ACCEPTABLE_AUTH=b.SOCKS5_CUSTOM_AUTH_END=b.SOCKS5_CUSTOM_AUTH_START=b.SOCKS_INCOMING_PACKET_SIZES=b.SocksClientState=b.Socks5Response=b.Socks5HostType=b.Socks5Auth=b.Socks4Response=b.SocksCommand=b.ERRORS=b.DEFAULT_TIMEOUT=void 0,b.DEFAULT_TIMEOUT=3e4,b.ERRORS={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"},b.SOCKS_INCOMING_PACKET_SIZES={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:a=>a+7,Socks4Response:8},(i=c||(b.SocksCommand=c={}))[i.connect=1]="connect",i[i.bind=2]="bind",i[i.associate=3]="associate",(j=d||(b.Socks4Response=d={}))[j.Granted=90]="Granted",j[j.Failed=91]="Failed",j[j.Rejected=92]="Rejected",j[j.RejectedIdent=93]="RejectedIdent",(k=e||(b.Socks5Auth=e={}))[k.NoAuth=0]="NoAuth",k[k.GSSApi=1]="GSSApi",k[k.UserPass=2]="UserPass",b.SOCKS5_CUSTOM_AUTH_START=128,b.SOCKS5_CUSTOM_AUTH_END=254,b.SOCKS5_NO_ACCEPTABLE_AUTH=255,(l=f||(b.Socks5Response=f={}))[l.Granted=0]="Granted",l[l.Failure=1]="Failure",l[l.NotAllowed=2]="NotAllowed",l[l.NetworkUnreachable=3]="NetworkUnreachable",l[l.HostUnreachable=4]="HostUnreachable",l[l.ConnectionRefused=5]="ConnectionRefused",l[l.TTLExpired=6]="TTLExpired",l[l.CommandNotSupported=7]="CommandNotSupported",l[l.AddressNotSupported=8]="AddressNotSupported",(m=g||(b.Socks5HostType=g={}))[m.IPv4=1]="IPv4",m[m.Hostname=3]="Hostname",m[m.IPv6=4]="IPv6",(n=h||(b.SocksClientState=h={}))[n.Created=0]="Created",n[n.Connecting=1]="Connecting",n[n.Connected=2]="Connected",n[n.SentInitialHandshake=3]="SentInitialHandshake",n[n.ReceivedInitialHandshakeResponse=4]="ReceivedInitialHandshakeResponse",n[n.SentAuthentication=5]="SentAuthentication",n[n.ReceivedAuthenticationResponse=6]="ReceivedAuthenticationResponse",n[n.SentFinalHandshake=7]="SentFinalHandshake",n[n.ReceivedFinalResponse=8]="ReceivedFinalResponse",n[n.BoundWaitingForConnection=9]="BoundWaitingForConnection",n[n.Established=10]="Established",n[n.Disconnected=11]="Disconnected",n[n.Error=99]="Error"},64367:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.v6=b.AddressError=b.Address6=b.Address4=void 0;var g=c(79440);Object.defineProperty(b,"Address4",{enumerable:!0,get:function(){return g.Address4}});var h=c(28798);Object.defineProperty(b,"Address6",{enumerable:!0,get:function(){return h.Address6}});var i=c(50508);Object.defineProperty(b,"AddressError",{enumerable:!0,get:function(){return i.AddressError}}),b.v6={helpers:f(c(75737))}},75081:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isInSubnet=function(a){return!(this.subnetMask<a.subnetMask)&&this.mask(a.subnetMask)===a.mask()},b.isCorrect=function(a){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===a&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}},b.prefixLengthFromMask=function(a,b){let c=a.toString(2).padStart(b,"0");if(c.length>b)throw new d.AddressError("Invalid subnet mask.");let e=c.indexOf("0");if(-1===e)return b;if(c.slice(e).includes("1"))throw new d.AddressError("Invalid subnet mask.");return e},b.numberToPaddedHex=e,b.stringToPaddedHex=function(a){return e(parseInt(a,10))},b.testBit=function(a,b){let{length:c}=a;if(b>c)return!1;let d=c-b;return"1"===a.substring(d,d+1)};let d=c(50508);function e(a){return a.toString(16).padStart(2,"0")}},75737:(a,b)=>{function c(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function d(a){return c(a).replace(/(0+)/g,'<span class="zero">$1</span>')}function e(a){return c(a).replace(/^(0+)/,'<span class="zero">$1</span>')}Object.defineProperty(b,"__esModule",{value:!0}),b.escapeHtml=c,b.spanAllZeroes=d,b.spanAll=function(a,b=0){return a.split("").map((a,e)=>`<span class="digit value-${c(a)} position-${e+b}">${d(a)}</span>`).join("")},b.spanLeadingZeroes=function(a){return a.split(":").map(a=>e(a)).join(":")},b.simpleGroup=function(a,b=0){return a.split(":").map((a,c)=>/group-v4/.test(a)?a:`<span class="hover-group group-${c+b}">${e(a)}</span>`)}},79440:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address4=void 0;let g=f(c(75081)),h=f(c(51835)),i=c(50508),j=g.isCorrect(h.BITS);class k{constructor(a){this.groups=h.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=j,this.isInSubnet=g.isInSubnet,this.address=a;const b=h.RE_SUBNET_STRING.exec(a);if(b){if(this.parsedSubnet=b[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,this.subnetMask<0||this.subnetMask>h.BITS)throw new i.AddressError("Invalid subnet mask.");a=a.replace(h.RE_SUBNET_STRING,"")}this.addressMinusSuffix=a,this.parsedAddress=this.parse(a)}static isValid(a){try{return new k(a),!0}catch(a){return!1}}parse(a){let b=a.split(".");if(!a.match(h.RE_ADDRESS))throw new i.AddressError("Invalid IPv4 address.");return b}correctForm(){return this.parsedAddress.map(a=>parseInt(a,10)).join(".")}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new k(b).bigInt(),h.BITS);return new k(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new k(b).bigInt(),d=(BigInt(1)<<BigInt(h.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,h.BITS);return new k(`${a}/${e}`)}static fromWildcard(a){let b=a.split(".");if(b.length!==h.GROUPS)throw new i.AddressError("Wildcard pattern must have 4 octets");let c=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===c&&(c=a);else if(-1!==c)throw new i.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");let d=-1===c?0:b.length-c,e=b.map(a=>"*"===a?"0":a),f=h.BITS-8*d;return new k(`${e.join(".")}/${f}`)}static fromHex(a){let b=a.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(b))throw new i.AddressError("IPv4 hex must be exactly 8 hex digits");let c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k(c.join("."))}static fromInteger(a){if(!Number.isInteger(a)||a<0||a>0xffffffff)throw new i.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromArpa(a){return new k(a.replace(/(\.in-addr\.arpa)?\.$/,"").split(".").reverse().join("."))}toHex(){return this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join(":")}toArray(){return this.parsedAddress.map(a=>parseInt(a,10))}toGroup6(){let a,b=[];for(a=0;a<h.GROUPS;a+=2)b.push(`${g.stringToPaddedHex(this.parsedAddress[a])}${g.stringToPaddedHex(this.parsedAddress[a+1])}`);return b.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(h.BITS-this.subnetMask)}`)}startAddress(){return k.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(h.BITS-this.subnetMask)}`)}endAddress(){return k.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return k.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(h.BITS-this.subnetMask)}`))}wildcardMask(){return k.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(h.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(a){if(a<0n||a>4294967295n)throw new i.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");for(let b=0;b<a.length;b++)if(!Number.isInteger(a[b])||a[b]<0||a[b]>255)throw new i.AddressError("All bytes must be integers between 0 and 255");return this.fromUnsignedByteArray(a)}static fromUnsignedByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");return new k(a.join("."))}mask(a){return void 0===a&&(a=this.subnetMask),this.getBitsBase2(0,a)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}reverseForm(a){a||(a={});let b=this.correctForm().split(".").reverse().join(".");return a.omitSuffix?b:`${b}.in-addr.arpa.`}isMulticast(){return this.isInSubnet(l)}isPrivate(){return m.some(a=>this.isInSubnet(a))}isLoopback(){return this.isInSubnet(n)}isLinkLocal(){return this.isInSubnet(o)}isUnspecified(){return this.isInSubnet(p)}isBroadcast(){return this.isInSubnet(q)}isCGNAT(){return this.isInSubnet(r)}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(h.BITS,"0")),this._binaryZeroPad}groupForV6(){let a=this.parsedAddress;return this.address.replace(h.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${a.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${a.slice(2,4).join(".")}</span>`)}}b.Address4=k;let l=new k("224.0.0.0/4"),m=[new k("10.0.0.0/8"),new k("172.16.0.0/12"),new k("192.168.0.0/16")],n=new k("127.0.0.0/8"),o=new k("169.254.0.0/16"),p=new k("0.0.0.0/32"),q=new k("255.255.255.255/32"),r=new k("100.64.0.0/10")},95800:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(25254);class e{constructor(a){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,e.isSmartBufferOptions(a))if(a.encoding&&(d.checkEncoding(a.encoding),this._encoding=a.encoding),a.size)if(d.isFiniteInteger(a.size)&&a.size>0)this._buff=Buffer.allocUnsafe(a.size);else throw Error(d.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(a.buff)if(Buffer.isBuffer(a.buff))this._buff=a.buff,this.length=a.buff.length;else throw Error(d.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==a)throw Error(d.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(a,b){return new this({size:a,encoding:b})}static fromBuffer(a,b){return new this({buff:a,encoding:b})}static fromOptions(a){return new this(a)}static isSmartBufferOptions(a){return a&&(void 0!==a.encoding||void 0!==a.size||void 0!==a.buff)}readInt8(a){return this._readNumberValue(Buffer.prototype.readInt8,1,a)}readInt16BE(a){return this._readNumberValue(Buffer.prototype.readInt16BE,2,a)}readInt16LE(a){return this._readNumberValue(Buffer.prototype.readInt16LE,2,a)}readInt32BE(a){return this._readNumberValue(Buffer.prototype.readInt32BE,4,a)}readInt32LE(a){return this._readNumberValue(Buffer.prototype.readInt32LE,4,a)}readBigInt64BE(a){return d.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,a)}readBigInt64LE(a){return d.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,a)}writeInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeInt8,1,a,b),this}insertInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeInt8,1,a,b)}writeInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}insertInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}writeInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}insertInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}writeInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}insertInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}writeInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}insertInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}writeBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}insertBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}writeBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}insertBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}readUInt8(a){return this._readNumberValue(Buffer.prototype.readUInt8,1,a)}readUInt16BE(a){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,a)}readUInt16LE(a){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,a)}readUInt32BE(a){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,a)}readUInt32LE(a){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,a)}readBigUInt64BE(a){return d.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,a)}readBigUInt64LE(a){return d.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,a)}writeUInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,a,b)}insertUInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,a,b)}writeUInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}insertUInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}writeUInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}insertUInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}writeUInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}insertUInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}writeUInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}insertUInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}writeBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}insertBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}writeBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}insertBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}readFloatBE(a){return this._readNumberValue(Buffer.prototype.readFloatBE,4,a)}readFloatLE(a){return this._readNumberValue(Buffer.prototype.readFloatLE,4,a)}writeFloatBE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}insertFloatBE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}writeFloatLE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}insertFloatLE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}readDoubleBE(a){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,a)}readDoubleLE(a){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,a)}writeDoubleBE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}insertDoubleBE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}writeDoubleLE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}insertDoubleLE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}readString(a,b){let c;"number"==typeof a?(d.checkLengthValue(a),c=Math.min(a,this.length-this._readOffset)):(b=a,c=this.length-this._readOffset),void 0!==b&&d.checkEncoding(b);let e=this._buff.slice(this._readOffset,this._readOffset+c).toString(b||this._encoding);return this._readOffset+=c,e}insertString(a,b,c){return d.checkOffsetValue(b),this._handleString(a,!0,b,c)}writeString(a,b,c){return this._handleString(a,!1,b,c)}readStringNT(a){void 0!==a&&d.checkEncoding(a);let b=this.length;for(let a=this._readOffset;a<this.length;a++)if(0===this._buff[a]){b=a;break}let c=this._buff.slice(this._readOffset,b);return this._readOffset=b+1,c.toString(a||this._encoding)}insertStringNT(a,b,c){return d.checkOffsetValue(b),this.insertString(a,b,c),this.insertUInt8(0,b+a.length),this}writeStringNT(a,b,c){return this.writeString(a,b,c),this.writeUInt8(0,"number"==typeof b?b+a.length:this.writeOffset),this}readBuffer(a){void 0!==a&&d.checkLengthValue(a);let b="number"==typeof a?a:this.length,c=Math.min(this.length,this._readOffset+b),e=this._buff.slice(this._readOffset,c);return this._readOffset=c,e}insertBuffer(a,b){return d.checkOffsetValue(b),this._handleBuffer(a,!0,b)}writeBuffer(a,b){return this._handleBuffer(a,!1,b)}readBufferNT(){let a=this.length;for(let b=this._readOffset;b<this.length;b++)if(0===this._buff[b]){a=b;break}let b=this._buff.slice(this._readOffset,a);return this._readOffset=a+1,b}insertBufferNT(a,b){return d.checkOffsetValue(b),this.insertBuffer(a,b),this.insertUInt8(0,b+a.length),this}writeBufferNT(a,b){return void 0!==b&&d.checkOffsetValue(b),this.writeBuffer(a,b),this.writeUInt8(0,"number"==typeof b?b+a.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._readOffset=a}get writeOffset(){return this._writeOffset}set writeOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._writeOffset=a}get encoding(){return this._encoding}set encoding(a){d.checkEncoding(a),this._encoding=a}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(a){let b="string"==typeof a?a:this._encoding;return d.checkEncoding(b),this._buff.toString(b,0,this.length)}destroy(){return this.clear(),this}_handleString(a,b,c,e){let f=this._writeOffset,g=this._encoding;"number"==typeof c?f=c:"string"==typeof c&&(d.checkEncoding(c),g=c),"string"==typeof e&&(d.checkEncoding(e),g=e);let h=Buffer.byteLength(a,g);return b?this.ensureInsertable(h,f):this._ensureWriteable(h,f),this._buff.write(a,f,h,g),b?this._writeOffset+=h:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,f+h):this._writeOffset+=h,this}_handleBuffer(a,b,c){let d="number"==typeof c?c:this._writeOffset;return b?this.ensureInsertable(a.length,d):this._ensureWriteable(a.length,d),a.copy(this._buff,d),b?this._writeOffset+=a.length:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,d+a.length):this._writeOffset+=a.length,this}ensureReadable(a,b){let c=this._readOffset;if(void 0!==b&&(d.checkOffsetValue(b),c=b),c<0||c+a>this.length)throw Error(d.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(a,b){d.checkOffsetValue(b),this._ensureCapacity(this.length+a),b<this.length&&this._buff.copy(this._buff,b+a,b,this._buff.length),b+a>this.length?this.length=b+a:this.length+=a}_ensureWriteable(a,b){let c="number"==typeof b?b:this._writeOffset;this._ensureCapacity(c+a),c+a>this.length&&(this.length=c+a)}_ensureCapacity(a){let b=this._buff.length;if(a>b){let c=this._buff,d=3*b/2+1;d<a&&(d=a),this._buff=Buffer.allocUnsafe(d),c.copy(this._buff,0,0,b)}}_readNumberValue(a,b,c){this.ensureReadable(b,c);let d=a.call(this._buff,"number"==typeof c?c:this._readOffset);return void 0===c&&(this._readOffset+=b),d}_insertNumberValue(a,b,c,e){return d.checkOffsetValue(e),this.ensureInsertable(b,e),a.call(this._buff,c,e),this._writeOffset+=b,this}_writeNumberValue(a,b,c,e){if("number"==typeof e){if(e<0)throw Error(d.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);d.checkOffsetValue(e)}let f="number"==typeof e?e:this._writeOffset;return this._ensureWriteable(b,f),a.call(this._buff,c,f),"number"==typeof e?this._writeOffset=Math.max(this._writeOffset,f+b):this._writeOffset+=b,this}}b.SmartBuffer=e}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";exports.id=3110,exports.ids=[3110],exports.modules={3156:(a,b,c)=>{c.d(b,{M:()=>e});var d=c(41004);function e(a){let b=a.max_tokens||d.Uc;return a.tools&&Array.isArray(a.tools)&&a.tools.length>0&&b<d.eo&&(b=d.eo),a.thinking?.budget_tokens&&b<=a.thinking.budget_tokens&&(b=a.thinking.budget_tokens+1024),b}},4845:(a,b,c)=>{c.r(b),c.d(b,{openaiResponsesToOpenAIResponse:()=>n,openaiToOpenAIResponsesResponse:()=>f});var d=c(33110),e=c(14170);function f(a,b){if(!a){var c=b;if(c.completedSent)return[];let a=[],d=(b,d)=>{d.sequence_number=++c.seq,a.push({event:b,data:d})};for(let a in c.msgItemAdded)j(c,d,a);for(let a in i(c,d),c.funcCallIds)k(c,d,a);return l(c,d),a}if(!a.choices?.length)return[];let d=[],e=(a,c)=>{c.sequence_number=++b.seq,d.push({event:a,data:c})},f=a.choices[0],m=f.index||0,n=f.delta||{};if(b.started||(b.started=!0,b.responseId=a.id?`resp_${a.id}`:b.responseId,e("response.created",{type:"response.created",response:{id:b.responseId,object:"response",created_at:b.created,status:"in_progress",background:!1,error:null,output:[]}}),e("response.in_progress",{type:"response.in_progress",response:{id:b.responseId,object:"response",created_at:b.created,status:"in_progress"}})),n.reasoning_content&&(g(b,e,m),h(b,e,n.reasoning_content)),n.content){let a=n.content;if(a.includes("<think>")&&(b.inThinking=!0,a=a.replace("<think>",""),g(b,e,m)),a.includes("</think>")){let c=a.split("</think>"),d=c[0],f=c.slice(1).join("</think>");d&&h(b,e,d),i(b,e),b.inThinking=!1,a=f}if(b.inThinking&&a)return h(b,e,a),d;a&&function(a,b,c,d){if(!a.msgItemAdded[c]){a.msgItemAdded[c]=!0;let d=`msg_${a.responseId}_${c}`;b("response.output_item.added",{type:"response.output_item.added",output_index:c,item:{id:d,type:"message",content:[],role:"assistant"}})}a.msgContentAdded[c]||(a.msgContentAdded[c]=!0,b("response.content_part.added",{type:"response.content_part.added",item_id:`msg_${a.responseId}_${c}`,output_index:c,content_index:0,part:{type:"output_text",annotations:[],logprobs:[],text:""}})),b("response.output_text.delta",{type:"response.output_text.delta",item_id:`msg_${a.responseId}_${c}`,output_index:c,content_index:0,delta:d,logprobs:[]}),a.msgTextBuf[c]||(a.msgTextBuf[c]=""),a.msgTextBuf[c]+=d}(b,e,m,a)}if(n.tool_calls)for(let a of(j(b,e,m),n.tool_calls))!function(a,b,c){let d=c.index??0,e=c.id,f=c.function?.name;if(f&&(a.funcNames[d]=f),!a.funcCallIds[d]&&e&&(a.funcCallIds[d]=e,b("response.output_item.added",{type:"response.output_item.added",output_index:d,item:{id:`fc_${e}`,type:"function_call",arguments:"",call_id:e,name:a.funcNames[d]||""}})),a.funcArgsBuf[d]||(a.funcArgsBuf[d]=""),c.function?.arguments){let f=a.funcCallIds[d]||e;f&&b("response.function_call_arguments.delta",{type:"response.function_call_arguments.delta",item_id:`fc_${f}`,output_index:d,delta:c.function.arguments}),a.funcArgsBuf[d]+=c.function.arguments}}(b,e,a);if(f.finish_reason){for(let a in b.msgItemAdded)j(b,e,a);for(let a in i(b,e),b.funcCallIds)k(b,e,a);l(b,e)}return d}function g(a,b,c){a.reasoningId||(a.reasoningId=`rs_${a.responseId}_${c}`,a.reasoningIndex=c,b("response.output_item.added",{type:"response.output_item.added",output_index:c,item:{id:a.reasoningId,type:"reasoning",summary:[]}}),b("response.reasoning_summary_part.added",{type:"response.reasoning_summary_part.added",item_id:a.reasoningId,output_index:c,summary_index:0,part:{type:"summary_text",text:""}}),a.reasoningPartAdded=!0)}function h(a,b,c){c&&(a.reasoningBuf+=c,b("response.reasoning_summary_text.delta",{type:"response.reasoning_summary_text.delta",item_id:a.reasoningId,output_index:a.reasoningIndex,summary_index:0,delta:c}))}function i(a,b){a.reasoningId&&!a.reasoningDone&&(a.reasoningDone=!0,b("response.reasoning_summary_text.done",{type:"response.reasoning_summary_text.done",item_id:a.reasoningId,output_index:a.reasoningIndex,summary_index:0,text:a.reasoningBuf}),b("response.reasoning_summary_part.done",{type:"response.reasoning_summary_part.done",item_id:a.reasoningId,output_index:a.reasoningIndex,summary_index:0,part:{type:"summary_text",text:a.reasoningBuf}}),b("response.output_item.done",{type:"response.output_item.done",output_index:a.reasoningIndex,item:{id:a.reasoningId,type:"reasoning",summary:[{type:"summary_text",text:a.reasoningBuf}]}}))}function j(a,b,c){if(a.msgItemAdded[c]&&!a.msgItemDone[c]){a.msgItemDone[c]=!0;let d=a.msgTextBuf[c]||"",e=`msg_${a.responseId}_${c}`;b("response.output_text.done",{type:"response.output_text.done",item_id:e,output_index:parseInt(c),content_index:0,text:d,logprobs:[]}),b("response.content_part.done",{type:"response.content_part.done",item_id:e,output_index:parseInt(c),content_index:0,part:{type:"output_text",annotations:[],logprobs:[],text:d}}),b("response.output_item.done",{type:"response.output_item.done",output_index:parseInt(c),item:{id:e,type:"message",content:[{type:"output_text",annotations:[],logprobs:[],text:d}],role:"assistant"}})}}function k(a,b,c){let d=a.funcCallIds[c];if(d&&!a.funcItemDone[c]){let e=a.funcArgsBuf[c]||"{}";b("response.function_call_arguments.done",{type:"response.function_call_arguments.done",item_id:`fc_${d}`,output_index:parseInt(c),arguments:e}),b("response.output_item.done",{type:"response.output_item.done",output_index:parseInt(c),item:{id:`fc_${d}`,type:"function_call",arguments:e,call_id:d,name:a.funcNames[c]||""}}),a.funcItemDone[c]=!0,a.funcArgsDone[c]=!0}}function l(a,b){a.completedSent||(a.completedSent=!0,b("response.completed",{type:"response.completed",response:{id:a.responseId,object:"response",created_at:a.created,status:"completed",background:!1,error:null}}))}function m(a){return a.toolCallIndex>0||a.currentToolCallId?"tool_calls":"stop"}function n(a,b){if(!a){if(b.finishReasonSent||!b.started)return null;let a=m(b);b.finishReasonSent=!0,b.finishReason=a;let c={id:b.chatId||`chatcmpl-${Date.now()}`,object:"chat.completion.chunk",created:b.created||Math.floor(Date.now()/1e3),model:b.model||"unknown",choices:[{index:0,delta:{},finish_reason:a}]};return b.usage&&"object"==typeof b.usage&&(c.usage=b.usage),c}let c=a.type||a.event,d=a.data||a;if(b.started||(b.started=!0,b.chatId=`chatcmpl-${Date.now()}`,b.created=Math.floor(Date.now()/1e3),b.toolCallIndex=0,b.currentToolCallId=null),"response.output_text.delta"===c){let a=d.delta||"";return a?{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{content:a},finish_reason:null}]}:null}if("response.output_text.done"===c)return null;if("response.output_item.added"===c&&(d.item?.type==="function_call"||d.item?.type==="custom_tool_call")){let a=d.item;return b.currentToolCallId=a.call_id||`call_${Date.now()}`,{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{tool_calls:[{index:b.toolCallIndex,id:b.currentToolCallId,type:"function",function:{name:a.name||"",arguments:""}}]},finish_reason:null}]}}if("response.function_call_arguments.delta"===c||"response.custom_tool_call_input.delta"===c){let a=d.delta||"";return a?{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{tool_calls:[{index:b.toolCallIndex,function:{arguments:a}}]},finish_reason:null}]}:null}if("response.output_item.done"===c&&(d.item?.type==="function_call"||d.item?.type==="custom_tool_call"))return b.toolCallIndex++,null;if("response.completed"===c||"response.done"===c){let a=d.response?.usage;if(a&&"object"==typeof a){let c=a.input_tokens||a.prompt_tokens||0,d=a.output_tokens||a.completion_tokens||0,e=a.input_tokens_details?.cached_tokens||a.cache_read_input_tokens||0;b.usage={prompt_tokens:c,completion_tokens:d,total_tokens:c+d},e>0&&(b.usage.prompt_tokens_details={cached_tokens:e})}if(!b.finishReasonSent){let a=m(b);b.finishReasonSent=!0,b.finishReason=a;let c={id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{},finish_reason:a}]};return b.usage&&"object"==typeof b.usage&&(c.usage=b.usage),c}return null}if("error"===c||"response.failed"===c){if(b.finishReasonSent)return null;let a=d.error||d.response?.error;return a?(b.error=a,b.finishReasonSent=!0,{id:b.chatId||`chatcmpl-${Date.now()}`,object:"chat.completion.chunk",created:b.created||Math.floor(Date.now()/1e3),model:b.model||"unknown",choices:[{index:0,delta:{content:`[Error] ${a.message||JSON.stringify(a)}`},finish_reason:"stop"}]}):null}if("response.reasoning_summary_text.delta"===c){let a=d.delta||"";return a?{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{reasoning_content:a},finish_reason:null}]}:null}return null}(0,d.kz)(e.h.OPENAI,e.h.OPENAI_RESPONSES,null,f),(0,d.kz)(e.h.OPENAI_RESPONSES,e.h.OPENAI,null,n)},10010:(a,b,c)=>{c.r(b),c.d(b,{buildKiroPayload:()=>v});var d=c(33110),e=c(14170),f=c(
|
|
1
|
+
"use strict";exports.id=3110,exports.ids=[3110],exports.modules={3156:(a,b,c)=>{c.d(b,{M:()=>e});var d=c(41004);function e(a){let b=a.max_tokens||d.Uc;return a.tools&&Array.isArray(a.tools)&&a.tools.length>0&&b<d.eo&&(b=d.eo),a.thinking?.budget_tokens&&b<=a.thinking.budget_tokens&&(b=a.thinking.budget_tokens+1024),b}},4845:(a,b,c)=>{c.r(b),c.d(b,{openaiResponsesToOpenAIResponse:()=>n,openaiToOpenAIResponsesResponse:()=>f});var d=c(33110),e=c(14170);function f(a,b){if(!a){var c=b;if(c.completedSent)return[];let a=[],d=(b,d)=>{d.sequence_number=++c.seq,a.push({event:b,data:d})};for(let a in c.msgItemAdded)j(c,d,a);for(let a in i(c,d),c.funcCallIds)k(c,d,a);return l(c,d),a}if(!a.choices?.length)return[];let d=[],e=(a,c)=>{c.sequence_number=++b.seq,d.push({event:a,data:c})},f=a.choices[0],m=f.index||0,n=f.delta||{};if(b.started||(b.started=!0,b.responseId=a.id?`resp_${a.id}`:b.responseId,e("response.created",{type:"response.created",response:{id:b.responseId,object:"response",created_at:b.created,status:"in_progress",background:!1,error:null,output:[]}}),e("response.in_progress",{type:"response.in_progress",response:{id:b.responseId,object:"response",created_at:b.created,status:"in_progress"}})),n.reasoning_content&&(g(b,e,m),h(b,e,n.reasoning_content)),n.content){let a=n.content;if(a.includes("<think>")&&(b.inThinking=!0,a=a.replace("<think>",""),g(b,e,m)),a.includes("</think>")){let c=a.split("</think>"),d=c[0],f=c.slice(1).join("</think>");d&&h(b,e,d),i(b,e),b.inThinking=!1,a=f}if(b.inThinking&&a)return h(b,e,a),d;a&&function(a,b,c,d){if(!a.msgItemAdded[c]){a.msgItemAdded[c]=!0;let d=`msg_${a.responseId}_${c}`;b("response.output_item.added",{type:"response.output_item.added",output_index:c,item:{id:d,type:"message",content:[],role:"assistant"}})}a.msgContentAdded[c]||(a.msgContentAdded[c]=!0,b("response.content_part.added",{type:"response.content_part.added",item_id:`msg_${a.responseId}_${c}`,output_index:c,content_index:0,part:{type:"output_text",annotations:[],logprobs:[],text:""}})),b("response.output_text.delta",{type:"response.output_text.delta",item_id:`msg_${a.responseId}_${c}`,output_index:c,content_index:0,delta:d,logprobs:[]}),a.msgTextBuf[c]||(a.msgTextBuf[c]=""),a.msgTextBuf[c]+=d}(b,e,m,a)}if(n.tool_calls)for(let a of(j(b,e,m),n.tool_calls))!function(a,b,c){let d=c.index??0,e=c.id,f=c.function?.name;if(f&&(a.funcNames[d]=f),!a.funcCallIds[d]&&e&&(a.funcCallIds[d]=e,b("response.output_item.added",{type:"response.output_item.added",output_index:d,item:{id:`fc_${e}`,type:"function_call",arguments:"",call_id:e,name:a.funcNames[d]||""}})),a.funcArgsBuf[d]||(a.funcArgsBuf[d]=""),c.function?.arguments){let f=a.funcCallIds[d]||e;f&&b("response.function_call_arguments.delta",{type:"response.function_call_arguments.delta",item_id:`fc_${f}`,output_index:d,delta:c.function.arguments}),a.funcArgsBuf[d]+=c.function.arguments}}(b,e,a);if(f.finish_reason){for(let a in b.msgItemAdded)j(b,e,a);for(let a in i(b,e),b.funcCallIds)k(b,e,a);l(b,e)}return d}function g(a,b,c){a.reasoningId||(a.reasoningId=`rs_${a.responseId}_${c}`,a.reasoningIndex=c,b("response.output_item.added",{type:"response.output_item.added",output_index:c,item:{id:a.reasoningId,type:"reasoning",summary:[]}}),b("response.reasoning_summary_part.added",{type:"response.reasoning_summary_part.added",item_id:a.reasoningId,output_index:c,summary_index:0,part:{type:"summary_text",text:""}}),a.reasoningPartAdded=!0)}function h(a,b,c){c&&(a.reasoningBuf+=c,b("response.reasoning_summary_text.delta",{type:"response.reasoning_summary_text.delta",item_id:a.reasoningId,output_index:a.reasoningIndex,summary_index:0,delta:c}))}function i(a,b){a.reasoningId&&!a.reasoningDone&&(a.reasoningDone=!0,b("response.reasoning_summary_text.done",{type:"response.reasoning_summary_text.done",item_id:a.reasoningId,output_index:a.reasoningIndex,summary_index:0,text:a.reasoningBuf}),b("response.reasoning_summary_part.done",{type:"response.reasoning_summary_part.done",item_id:a.reasoningId,output_index:a.reasoningIndex,summary_index:0,part:{type:"summary_text",text:a.reasoningBuf}}),b("response.output_item.done",{type:"response.output_item.done",output_index:a.reasoningIndex,item:{id:a.reasoningId,type:"reasoning",summary:[{type:"summary_text",text:a.reasoningBuf}]}}))}function j(a,b,c){if(a.msgItemAdded[c]&&!a.msgItemDone[c]){a.msgItemDone[c]=!0;let d=a.msgTextBuf[c]||"",e=`msg_${a.responseId}_${c}`;b("response.output_text.done",{type:"response.output_text.done",item_id:e,output_index:parseInt(c),content_index:0,text:d,logprobs:[]}),b("response.content_part.done",{type:"response.content_part.done",item_id:e,output_index:parseInt(c),content_index:0,part:{type:"output_text",annotations:[],logprobs:[],text:d}}),b("response.output_item.done",{type:"response.output_item.done",output_index:parseInt(c),item:{id:e,type:"message",content:[{type:"output_text",annotations:[],logprobs:[],text:d}],role:"assistant"}})}}function k(a,b,c){let d=a.funcCallIds[c];if(d&&!a.funcItemDone[c]){let e=a.funcArgsBuf[c]||"{}";b("response.function_call_arguments.done",{type:"response.function_call_arguments.done",item_id:`fc_${d}`,output_index:parseInt(c),arguments:e}),b("response.output_item.done",{type:"response.output_item.done",output_index:parseInt(c),item:{id:`fc_${d}`,type:"function_call",arguments:e,call_id:d,name:a.funcNames[c]||""}}),a.funcItemDone[c]=!0,a.funcArgsDone[c]=!0}}function l(a,b){a.completedSent||(a.completedSent=!0,b("response.completed",{type:"response.completed",response:{id:a.responseId,object:"response",created_at:a.created,status:"completed",background:!1,error:null}}))}function m(a){return a.toolCallIndex>0||a.currentToolCallId?"tool_calls":"stop"}function n(a,b){if(!a){if(b.finishReasonSent||!b.started)return null;let a=m(b);b.finishReasonSent=!0,b.finishReason=a;let c={id:b.chatId||`chatcmpl-${Date.now()}`,object:"chat.completion.chunk",created:b.created||Math.floor(Date.now()/1e3),model:b.model||"unknown",choices:[{index:0,delta:{},finish_reason:a}]};return b.usage&&"object"==typeof b.usage&&(c.usage=b.usage),c}let c=a.type||a.event,d=a.data||a;if(b.started||(b.started=!0,b.chatId=`chatcmpl-${Date.now()}`,b.created=Math.floor(Date.now()/1e3),b.toolCallIndex=0,b.currentToolCallId=null),"response.output_text.delta"===c){let a=d.delta||"";return a?{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{content:a},finish_reason:null}]}:null}if("response.output_text.done"===c)return null;if("response.output_item.added"===c&&(d.item?.type==="function_call"||d.item?.type==="custom_tool_call")){let a=d.item;return b.currentToolCallId=a.call_id||`call_${Date.now()}`,{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{tool_calls:[{index:b.toolCallIndex,id:b.currentToolCallId,type:"function",function:{name:a.name||"",arguments:""}}]},finish_reason:null}]}}if("response.function_call_arguments.delta"===c||"response.custom_tool_call_input.delta"===c){let a=d.delta||"";return a?{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{tool_calls:[{index:b.toolCallIndex,function:{arguments:a}}]},finish_reason:null}]}:null}if("response.output_item.done"===c&&(d.item?.type==="function_call"||d.item?.type==="custom_tool_call"))return b.toolCallIndex++,null;if("response.completed"===c||"response.done"===c){let a=d.response?.usage;if(a&&"object"==typeof a){let c=a.input_tokens||a.prompt_tokens||0,d=a.output_tokens||a.completion_tokens||0,e=a.input_tokens_details?.cached_tokens||a.cache_read_input_tokens||0;b.usage={prompt_tokens:c,completion_tokens:d,total_tokens:c+d},e>0&&(b.usage.prompt_tokens_details={cached_tokens:e})}if(!b.finishReasonSent){let a=m(b);b.finishReasonSent=!0,b.finishReason=a;let c={id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{},finish_reason:a}]};return b.usage&&"object"==typeof b.usage&&(c.usage=b.usage),c}return null}if("error"===c||"response.failed"===c){if(b.finishReasonSent)return null;let a=d.error||d.response?.error;return a?(b.error=a,b.finishReasonSent=!0,{id:b.chatId||`chatcmpl-${Date.now()}`,object:"chat.completion.chunk",created:b.created||Math.floor(Date.now()/1e3),model:b.model||"unknown",choices:[{index:0,delta:{content:`[Error] ${a.message||JSON.stringify(a)}`},finish_reason:"stop"}]}):null}if("response.reasoning_summary_text.delta"===c){let a=d.delta||"";return a?{id:b.chatId,object:"chat.completion.chunk",created:b.created,model:b.model||"unknown",choices:[{index:0,delta:{reasoning_content:a},finish_reason:null}]}:null}return null}(0,d.kz)(e.h.OPENAI,e.h.OPENAI_RESPONSES,null,f),(0,d.kz)(e.h.OPENAI_RESPONSES,e.h.OPENAI,null,n)},10010:(a,b,c)=>{c.r(b),c.d(b,{buildKiroPayload:()=>v});var d=c(33110),e=c(14170),f=c(47293);let g="-agentic",h="-thinking",i=new Set(["1","true","yes","on"]),j=new Set(["0","false","no","off"]),k=`
|
|
2
2
|
# CRITICAL: CHUNKED WRITE PROTOCOL (MANDATORY)
|
|
3
3
|
|
|
4
4
|
You MUST follow these rules for ALL file operations. Violation causes server timeouts and task failure.
|