@jheavenknows/bluerouter 5.2.37 → 5.2.39

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.
Files changed (1097) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +16 -14
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +24 -0
  5. package/app/.next-cli-build/routes-manifest.json +12 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ai-power-index/page.js +2 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ai-power-index/page.js.nft.json +1 -0
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ai-power-index/page_client-reference-manifest.js +1 -0
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +3 -3
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/local-ai-report/page.js +3 -3
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/local-ai-report/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js +2 -2
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js +2 -2
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +2 -2
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js +2 -2
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js +2 -2
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  80. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  88. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  90. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  91. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  92. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  93. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  94. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  95. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  96. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  97. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  99. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  104. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/branding/upload/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/branding/upload/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +2 -2
  128. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js +2 -2
  130. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  141. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  143. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cluster/config/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cluster/config/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cluster/peers/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/cluster/peers/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cluster/sync/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cluster/sync/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cluster/test/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cluster/test/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/dashboard/ai-power-index/route.js +22 -0
  171. package/app/.next-cli-build/server/app/api/dashboard/ai-power-index/route.js.nft.json +1 -0
  172. package/app/.next-cli-build/server/app/api/dashboard/ai-power-index/route_client-reference-manifest.js +1 -0
  173. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js +2 -2
  176. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/dashboard/local-ai-report/route.js +2 -2
  184. package/app/.next-cli-build/server/app/api/dashboard/local-ai-report/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js +2 -2
  192. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/keys/route.js +2 -2
  202. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  207. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +2 -2
  211. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +2 -2
  217. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  234. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/pricing/catalog/route.js +2 -2
  268. package/app/.next-cli-build/server/app/api/pricing/catalog/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  303. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  305. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  309. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js +2 -2
  311. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js +2 -2
  315. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/resource-monitor/route.js +3 -3
  319. package/app/.next-cli-build/server/app/api/resource-monitor/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  331. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  370. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/version/restart/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  413. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  414. package/app/.next-cli-build/server/app/callback.html +1 -1
  415. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  416. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  417. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  418. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  419. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  420. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  421. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  422. package/app/.next-cli-build/server/app/dashboard/ai-power-index.html +1 -0
  423. package/app/.next-cli-build/server/app/dashboard/ai-power-index.meta +17 -0
  424. package/app/.next-cli-build/server/app/dashboard/ai-power-index.rsc +25 -0
  425. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/!KGRhc2hib2FyZCk/dashboard/ai-power-index/__PAGE__.segment.rsc +6 -0
  426. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/!KGRhc2hib2FyZCk/dashboard/ai-power-index.segment.rsc +5 -0
  427. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
  428. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/!KGRhc2hib2FyZCk.segment.rsc +6 -0
  429. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/_full.segment.rsc +25 -0
  430. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/_head.segment.rsc +6 -0
  431. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/_index.segment.rsc +10 -0
  432. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/_tree.segment.rsc +4 -0
  433. package/app/.next-cli-build/server/app/dashboard/analytics.html +1 -1
  434. package/app/.next-cli-build/server/app/dashboard/analytics.rsc +7 -7
  435. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics/__PAGE__.segment.rsc +1 -1
  436. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics.segment.rsc +1 -1
  437. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  438. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  439. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_full.segment.rsc +7 -7
  440. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_head.segment.rsc +1 -1
  441. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_index.segment.rsc +6 -6
  442. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_tree.segment.rsc +2 -2
  443. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +8 -8
  445. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +2 -2
  446. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys.segment.rsc +1 -1
  447. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +8 -8
  450. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_head.segment.rsc +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_index.segment.rsc +6 -6
  452. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  455. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  456. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  457. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  458. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  459. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  460. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +6 -6
  462. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  463. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  464. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  465. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  466. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  468. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  469. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  470. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +6 -6
  472. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  473. package/app/.next-cli-build/server/app/dashboard/cluster.html +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/cluster.rsc +7 -7
  475. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster/__PAGE__.segment.rsc +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster.segment.rsc +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  479. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_full.segment.rsc +7 -7
  480. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_head.segment.rsc +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_index.segment.rsc +6 -6
  482. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_tree.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  485. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  486. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  489. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  490. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +6 -6
  492. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +8 -8
  495. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  496. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  499. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  500. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +6 -6
  502. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  503. package/app/.next-cli-build/server/app/dashboard/local-ai-report.html +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/local-ai-report.rsc +7 -7
  505. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/!KGRhc2hib2FyZCk/dashboard/local-ai-report/__PAGE__.segment.rsc +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/!KGRhc2hib2FyZCk/dashboard/local-ai-report.segment.rsc +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  508. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  509. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/_full.segment.rsc +7 -7
  510. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/_head.segment.rsc +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/_index.segment.rsc +6 -6
  512. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/_tree.segment.rsc +2 -2
  513. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  515. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  521. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  522. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +6 -6
  523. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  524. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  526. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  527. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  531. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +6 -6
  533. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  536. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  537. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  538. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  539. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  541. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  542. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +6 -6
  543. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +7 -7
  546. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +1 -1
  547. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +7 -7
  551. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_head.segment.rsc +1 -1
  552. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_index.segment.rsc +6 -6
  553. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +7 -7
  556. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +1 -1
  557. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  560. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +7 -7
  561. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_head.segment.rsc +1 -1
  562. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_index.segment.rsc +6 -6
  563. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +2 -2
  564. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  566. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  567. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  568. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  571. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  572. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  573. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +6 -6
  574. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  575. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  577. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  579. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  581. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  582. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +6 -6
  584. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  585. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  587. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  589. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  590. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  591. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  592. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +6 -6
  594. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  595. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  597. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  598. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  599. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  600. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  601. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  602. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  603. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +6 -6
  604. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  605. package/app/.next-cli-build/server/app/dashboard/resource-monitor.html +1 -1
  606. package/app/.next-cli-build/server/app/dashboard/resource-monitor.rsc +7 -7
  607. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor/__PAGE__.segment.rsc +1 -1
  608. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor.segment.rsc +1 -1
  609. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  610. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  611. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_full.segment.rsc +7 -7
  612. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_head.segment.rsc +1 -1
  613. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_index.segment.rsc +6 -6
  614. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_tree.segment.rsc +2 -2
  615. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  616. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +7 -7
  617. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing.segment.rsc +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings.segment.rsc +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  622. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  623. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  625. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  626. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  628. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  629. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  630. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  631. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  632. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  633. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +6 -6
  635. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  636. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  637. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  638. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  640. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  641. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  642. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  643. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  644. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +6 -6
  645. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  646. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  647. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  648. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  649. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  650. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  651. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  652. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  653. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  654. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +6 -6
  655. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  656. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  657. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  658. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  659. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  660. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  661. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  662. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  663. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  664. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +6 -6
  665. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  666. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  667. package/app/.next-cli-build/server/app/dashboard.rsc +8 -8
  668. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  669. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  670. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  671. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +8 -8
  672. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  673. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +6 -6
  674. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  676. package/app/.next-cli-build/server/app/index.html +1 -1
  677. package/app/.next-cli-build/server/app/index.rsc +6 -6
  678. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  679. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  680. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  681. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  682. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  683. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  684. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  685. package/app/.next-cli-build/server/app/landing.html +1 -1
  686. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  687. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  688. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  689. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  690. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  691. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  692. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  693. package/app/.next-cli-build/server/app/login/page.js +2 -2
  694. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  695. package/app/.next-cli-build/server/app/login.html +1 -1
  696. package/app/.next-cli-build/server/app/login.rsc +7 -7
  697. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  698. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  699. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  700. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  701. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  702. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  703. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  704. package/app/.next-cli-build/server/app/page.js +2 -2
  705. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  706. package/app/.next-cli-build/server/app-paths-manifest.json +16 -14
  707. package/app/.next-cli-build/server/chunks/1340.js +1 -1
  708. package/app/.next-cli-build/server/chunks/1568.js +2 -2
  709. package/app/.next-cli-build/server/chunks/2242.js +2 -2
  710. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  711. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  712. package/app/.next-cli-build/server/chunks/4790.js +2 -2
  713. package/app/.next-cli-build/server/chunks/541.js +3 -3
  714. package/app/.next-cli-build/server/chunks/5810.js +8 -8
  715. package/app/.next-cli-build/server/chunks/6328.js +1 -1
  716. package/app/.next-cli-build/server/chunks/6759.js +1 -1
  717. package/app/.next-cli-build/server/chunks/6811.js +1 -1
  718. package/app/.next-cli-build/server/chunks/6956.js +1 -1
  719. package/app/.next-cli-build/server/chunks/8352.js +1 -1
  720. package/app/.next-cli-build/server/chunks/8491.js +2 -2
  721. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  722. package/app/.next-cli-build/server/pages/404.html +1 -1
  723. package/app/.next-cli-build/server/pages/500.html +1 -1
  724. package/app/.next-cli-build/static/9R1neziug_kHLFnjRop1v/_buildManifest.js +1 -0
  725. package/app/.next-cli-build/static/chunks/{5263-9780641101245b4d.js → 5263-64c4af8153b15018.js} +1 -1
  726. package/app/.next-cli-build/static/chunks/{5497-f4e588197cee6283.js → 5497-0ff6af144721d73f.js} +3 -3
  727. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/ai-power-index/page-8ddfdb9d55016608.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-0f7805ec41f07a6f.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/_global-error/page-9dcfd16008d5f76b.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-9dcfd16008d5f76b.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-9dcfd16008d5f76b.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-9dcfd16008d5f76b.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-9dcfd16008d5f76b.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-9dcfd16008d5f76b.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-9dcfd16008d5f76b.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-9dcfd16008d5f76b.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-9dcfd16008d5f76b.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-9dcfd16008d5f76b.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/branding/route-9dcfd16008d5f76b.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-9dcfd16008d5f76b.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-9dcfd16008d5f76b.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-9dcfd16008d5f76b.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-9dcfd16008d5f76b.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-9dcfd16008d5f76b.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-9dcfd16008d5f76b.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-9dcfd16008d5f76b.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-9dcfd16008d5f76b.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-9dcfd16008d5f76b.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-9dcfd16008d5f76b.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-9dcfd16008d5f76b.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-9dcfd16008d5f76b.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-9dcfd16008d5f76b.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-9dcfd16008d5f76b.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-9dcfd16008d5f76b.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-9dcfd16008d5f76b.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-9dcfd16008d5f76b.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-9dcfd16008d5f76b.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-9dcfd16008d5f76b.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-9dcfd16008d5f76b.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-9dcfd16008d5f76b.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-9dcfd16008d5f76b.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/cluster/config/route-9dcfd16008d5f76b.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/cluster/heartbeat/route-9dcfd16008d5f76b.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/command/route-9dcfd16008d5f76b.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/route-9dcfd16008d5f76b.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/route-9dcfd16008d5f76b.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/cluster/snapshot/route-9dcfd16008d5f76b.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/cluster/sync/route-9dcfd16008d5f76b.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/cluster/test/route-9dcfd16008d5f76b.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-9dcfd16008d5f76b.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/combos/route-9dcfd16008d5f76b.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/dashboard/ai-power-index/route-9dcfd16008d5f76b.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/ai-models/route-9dcfd16008d5f76b.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/analyze/route-9dcfd16008d5f76b.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-9dcfd16008d5f76b.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-9dcfd16008d5f76b.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-9dcfd16008d5f76b.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/dashboard/local-ai-report/route-9dcfd16008d5f76b.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-9dcfd16008d5f76b.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-9dcfd16008d5f76b.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-9dcfd16008d5f76b.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-9dcfd16008d5f76b.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/health/route-9dcfd16008d5f76b.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/init/route-9dcfd16008d5f76b.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-9dcfd16008d5f76b.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-9dcfd16008d5f76b.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-9dcfd16008d5f76b.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/keys/route-9dcfd16008d5f76b.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/locale/route-9dcfd16008d5f76b.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-9dcfd16008d5f76b.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-9dcfd16008d5f76b.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-9dcfd16008d5f76b.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-9dcfd16008d5f76b.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-9dcfd16008d5f76b.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-9dcfd16008d5f76b.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-9dcfd16008d5f76b.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-9dcfd16008d5f76b.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-9dcfd16008d5f76b.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-9dcfd16008d5f76b.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-9dcfd16008d5f76b.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/models/route-9dcfd16008d5f76b.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/models/test/route-9dcfd16008d5f76b.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-9dcfd16008d5f76b.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-9dcfd16008d5f76b.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-9dcfd16008d5f76b.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-9dcfd16008d5f76b.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-9dcfd16008d5f76b.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-9dcfd16008d5f76b.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-9dcfd16008d5f76b.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-9dcfd16008d5f76b.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-9dcfd16008d5f76b.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-9dcfd16008d5f76b.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-9dcfd16008d5f76b.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-9dcfd16008d5f76b.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-9dcfd16008d5f76b.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-9dcfd16008d5f76b.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-9dcfd16008d5f76b.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-9dcfd16008d5f76b.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-9dcfd16008d5f76b.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-9dcfd16008d5f76b.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-9dcfd16008d5f76b.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-9dcfd16008d5f76b.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/pricing/catalog/route-9dcfd16008d5f76b.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-9dcfd16008d5f76b.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/pricing/route-9dcfd16008d5f76b.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-9dcfd16008d5f76b.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-9dcfd16008d5f76b.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-9dcfd16008d5f76b.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-9dcfd16008d5f76b.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-9dcfd16008d5f76b.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-9dcfd16008d5f76b.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-9dcfd16008d5f76b.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-9dcfd16008d5f76b.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-9dcfd16008d5f76b.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-9dcfd16008d5f76b.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/providers/route-9dcfd16008d5f76b.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-9dcfd16008d5f76b.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-9dcfd16008d5f76b.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-9dcfd16008d5f76b.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-9dcfd16008d5f76b.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-9dcfd16008d5f76b.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-9dcfd16008d5f76b.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-9dcfd16008d5f76b.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-9dcfd16008d5f76b.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-9dcfd16008d5f76b.js +1 -0
  846. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-9dcfd16008d5f76b.js +1 -0
  847. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/ai-models/route-9dcfd16008d5f76b.js +1 -0
  848. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/analyze/route-9dcfd16008d5f76b.js +1 -0
  849. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/history/route-9dcfd16008d5f76b.js +1 -0
  850. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-9dcfd16008d5f76b.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-9dcfd16008d5f76b.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-9dcfd16008d5f76b.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-9dcfd16008d5f76b.js +1 -0
  854. package/app/.next-cli-build/static/chunks/app/api/settings/route-9dcfd16008d5f76b.js +1 -0
  855. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-9dcfd16008d5f76b.js +1 -0
  856. package/app/.next-cli-build/static/chunks/app/api/tags/route-9dcfd16008d5f76b.js +1 -0
  857. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-9dcfd16008d5f76b.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-9dcfd16008d5f76b.js +1 -0
  859. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-9dcfd16008d5f76b.js +1 -0
  860. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-9dcfd16008d5f76b.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-9dcfd16008d5f76b.js +1 -0
  862. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-9dcfd16008d5f76b.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-9dcfd16008d5f76b.js +1 -0
  864. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-9dcfd16008d5f76b.js +1 -0
  865. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-9dcfd16008d5f76b.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-9dcfd16008d5f76b.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-9dcfd16008d5f76b.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-9dcfd16008d5f76b.js +1 -0
  869. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-9dcfd16008d5f76b.js +1 -0
  870. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-9dcfd16008d5f76b.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-9dcfd16008d5f76b.js +1 -0
  872. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-9dcfd16008d5f76b.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-9dcfd16008d5f76b.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-9dcfd16008d5f76b.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-9dcfd16008d5f76b.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-9dcfd16008d5f76b.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-9dcfd16008d5f76b.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-9dcfd16008d5f76b.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-9dcfd16008d5f76b.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-9dcfd16008d5f76b.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-9dcfd16008d5f76b.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-9dcfd16008d5f76b.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-9dcfd16008d5f76b.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-9dcfd16008d5f76b.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-9dcfd16008d5f76b.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-9dcfd16008d5f76b.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-9dcfd16008d5f76b.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-9dcfd16008d5f76b.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-9dcfd16008d5f76b.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-9dcfd16008d5f76b.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-9dcfd16008d5f76b.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-9dcfd16008d5f76b.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-9dcfd16008d5f76b.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/v1/route-9dcfd16008d5f76b.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-9dcfd16008d5f76b.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-9dcfd16008d5f76b.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-9dcfd16008d5f76b.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-9dcfd16008d5f76b.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-9dcfd16008d5f76b.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/version/route-9dcfd16008d5f76b.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-9dcfd16008d5f76b.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/version/update/route-9dcfd16008d5f76b.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-9dcfd16008d5f76b.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/page-9dcfd16008d5f76b.js +1 -0
  905. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-9dcfd16008d5f76b.js +1 -0
  906. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-9dcfd16008d5f76b.js +1 -0
  907. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-9dcfd16008d5f76b.js +1 -0
  908. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-9dcfd16008d5f76b.js +1 -0
  909. package/app/.next-cli-build/static/css/cf7ad764cd5f58ee.css +1 -0
  910. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-shm +0 -0
  911. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-wal +0 -0
  912. package/app/package.json +1 -1
  913. package/package.json +1 -1
  914. package/app/.next-cli-build/static/Uol6Dpjj3AwE9eJ62JZe8/_buildManifest.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-87b9417d86a06dcc.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/_global-error/page-984d38fbe7bdf873.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-984d38fbe7bdf873.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-984d38fbe7bdf873.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-984d38fbe7bdf873.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-984d38fbe7bdf873.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-984d38fbe7bdf873.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-984d38fbe7bdf873.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-984d38fbe7bdf873.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-984d38fbe7bdf873.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-984d38fbe7bdf873.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/branding/route-984d38fbe7bdf873.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-984d38fbe7bdf873.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-984d38fbe7bdf873.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-984d38fbe7bdf873.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-984d38fbe7bdf873.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-984d38fbe7bdf873.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-984d38fbe7bdf873.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-984d38fbe7bdf873.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-984d38fbe7bdf873.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-984d38fbe7bdf873.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-984d38fbe7bdf873.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-984d38fbe7bdf873.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-984d38fbe7bdf873.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-984d38fbe7bdf873.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-984d38fbe7bdf873.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-984d38fbe7bdf873.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-984d38fbe7bdf873.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-984d38fbe7bdf873.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-984d38fbe7bdf873.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-984d38fbe7bdf873.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-984d38fbe7bdf873.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-984d38fbe7bdf873.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-984d38fbe7bdf873.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/cluster/config/route-984d38fbe7bdf873.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/cluster/heartbeat/route-984d38fbe7bdf873.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/command/route-984d38fbe7bdf873.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/route-984d38fbe7bdf873.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/route-984d38fbe7bdf873.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/cluster/snapshot/route-984d38fbe7bdf873.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/cluster/sync/route-984d38fbe7bdf873.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/cluster/test/route-984d38fbe7bdf873.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-984d38fbe7bdf873.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/combos/route-984d38fbe7bdf873.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/ai-models/route-984d38fbe7bdf873.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/analyze/route-984d38fbe7bdf873.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-984d38fbe7bdf873.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-984d38fbe7bdf873.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-984d38fbe7bdf873.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/dashboard/local-ai-report/route-984d38fbe7bdf873.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-984d38fbe7bdf873.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-984d38fbe7bdf873.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-984d38fbe7bdf873.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-984d38fbe7bdf873.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/health/route-984d38fbe7bdf873.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/init/route-984d38fbe7bdf873.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-984d38fbe7bdf873.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-984d38fbe7bdf873.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-984d38fbe7bdf873.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/keys/route-984d38fbe7bdf873.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/locale/route-984d38fbe7bdf873.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-984d38fbe7bdf873.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-984d38fbe7bdf873.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-984d38fbe7bdf873.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-984d38fbe7bdf873.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-984d38fbe7bdf873.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-984d38fbe7bdf873.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-984d38fbe7bdf873.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-984d38fbe7bdf873.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-984d38fbe7bdf873.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-984d38fbe7bdf873.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-984d38fbe7bdf873.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/models/route-984d38fbe7bdf873.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/models/test/route-984d38fbe7bdf873.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-984d38fbe7bdf873.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-984d38fbe7bdf873.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-984d38fbe7bdf873.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-984d38fbe7bdf873.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-984d38fbe7bdf873.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-984d38fbe7bdf873.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-984d38fbe7bdf873.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-984d38fbe7bdf873.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-984d38fbe7bdf873.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-984d38fbe7bdf873.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-984d38fbe7bdf873.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-984d38fbe7bdf873.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-984d38fbe7bdf873.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-984d38fbe7bdf873.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-984d38fbe7bdf873.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-984d38fbe7bdf873.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-984d38fbe7bdf873.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-984d38fbe7bdf873.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-984d38fbe7bdf873.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-984d38fbe7bdf873.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/pricing/catalog/route-984d38fbe7bdf873.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-984d38fbe7bdf873.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/pricing/route-984d38fbe7bdf873.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-984d38fbe7bdf873.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-984d38fbe7bdf873.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-984d38fbe7bdf873.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-984d38fbe7bdf873.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-984d38fbe7bdf873.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-984d38fbe7bdf873.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-984d38fbe7bdf873.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-984d38fbe7bdf873.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-984d38fbe7bdf873.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-984d38fbe7bdf873.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/providers/route-984d38fbe7bdf873.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-984d38fbe7bdf873.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-984d38fbe7bdf873.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-984d38fbe7bdf873.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-984d38fbe7bdf873.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-984d38fbe7bdf873.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-984d38fbe7bdf873.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-984d38fbe7bdf873.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-984d38fbe7bdf873.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-984d38fbe7bdf873.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-984d38fbe7bdf873.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/ai-models/route-984d38fbe7bdf873.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/analyze/route-984d38fbe7bdf873.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/history/route-984d38fbe7bdf873.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-984d38fbe7bdf873.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-984d38fbe7bdf873.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-984d38fbe7bdf873.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-984d38fbe7bdf873.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/settings/route-984d38fbe7bdf873.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-984d38fbe7bdf873.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/tags/route-984d38fbe7bdf873.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-984d38fbe7bdf873.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-984d38fbe7bdf873.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-984d38fbe7bdf873.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-984d38fbe7bdf873.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-984d38fbe7bdf873.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-984d38fbe7bdf873.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-984d38fbe7bdf873.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-984d38fbe7bdf873.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-984d38fbe7bdf873.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-984d38fbe7bdf873.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-984d38fbe7bdf873.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-984d38fbe7bdf873.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-984d38fbe7bdf873.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-984d38fbe7bdf873.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-984d38fbe7bdf873.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-984d38fbe7bdf873.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-984d38fbe7bdf873.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-984d38fbe7bdf873.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-984d38fbe7bdf873.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-984d38fbe7bdf873.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-984d38fbe7bdf873.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-984d38fbe7bdf873.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-984d38fbe7bdf873.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-984d38fbe7bdf873.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-984d38fbe7bdf873.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-984d38fbe7bdf873.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-984d38fbe7bdf873.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-984d38fbe7bdf873.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-984d38fbe7bdf873.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-984d38fbe7bdf873.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-984d38fbe7bdf873.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-984d38fbe7bdf873.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-984d38fbe7bdf873.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-984d38fbe7bdf873.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-984d38fbe7bdf873.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-984d38fbe7bdf873.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-984d38fbe7bdf873.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/v1/route-984d38fbe7bdf873.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-984d38fbe7bdf873.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-984d38fbe7bdf873.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-984d38fbe7bdf873.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-984d38fbe7bdf873.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-984d38fbe7bdf873.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/version/route-984d38fbe7bdf873.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-984d38fbe7bdf873.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/version/update/route-984d38fbe7bdf873.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-984d38fbe7bdf873.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/page-984d38fbe7bdf873.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-984d38fbe7bdf873.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-984d38fbe7bdf873.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-984d38fbe7bdf873.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-984d38fbe7bdf873.js +0 -1
  1095. package/app/.next-cli-build/static/css/523ea6b99dc712e8.css +0 -1
  1096. /package/app/.next-cli-build/static/{Uol6Dpjj3AwE9eJ62JZe8 → 9R1neziug_kHLFnjRop1v}/_ssgManifest.js +0 -0
  1097. /package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/{upgrade-5.2.31-to-5.2.32-5.2.32-20260724-125131 → upgrade-5.2.36-to-5.2.37-5.2.37-20260728-174922}/data.sqlite +0 -0
@@ -1,2 +1,2 @@
1
- (()=>{var a={};a.id=3538,a.ids=[3538],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},4984:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g,dynamic:()=>f});var d=c(5735),e=c(73335);let f="force-dynamic";function g(){return(0,d.jsx)(e.default,{})}},8385:(a,b,c)=>{"use strict";c.d(b,{default:()=>k});var d=c(48249),e=c(67484),f=c(50412),g=c(72738);function h(a,b){return b.find(b=>b.id===a)?.name||a}function i(a){return String(a||"").trim().toLowerCase()}function j(a){return Array.isArray(a?.importedModels)?a.importedModels:[]}function k(){let[a,b]=(0,e.useState)(!0),[c,k]=(0,e.useState)(!1),[l,m]=(0,e.useState)(""),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)([]),[v,w]=(0,e.useState)([]),[x,y]=(0,e.useState)(null),[z,A]=(0,e.useState)(null),[B,C]=(0,e.useState)(null),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)(null),[H,I]=(0,e.useState)([]),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)(""),[N,O]=(0,e.useState)([]),[P,Q]=(0,e.useState)(!1),[R,S]=(0,e.useState)(!1),[T,U]=(0,e.useState)({}),[V,W]=(0,e.useState)({}),[X,Y]=(0,e.useState)(""),[Z,$]=(0,e.useState)({}),[_,aa]=(0,e.useState)(""),[ab,ac]=(0,e.useState)(null),[ad,ae]=(0,e.useState)({}),[af,ag]=(0,e.useState)(""),[ah,ai]=(0,e.useState)(""),[aj,ak]=(0,e.useState)({}),[al,am]=(0,e.useState)({}),[an,ao]=(0,e.useState)(""),[ap,aq]=(0,e.useState)(!1),[ar,as]=(0,e.useState)(!0),at=(0,e.useCallback)(async()=>{b(!0),m("");try{let a=await fetch("/api/personal-cloud-providers",{cache:"no-store"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng tải được personal cloud providers");q(b.userId||""),s(!0===b.isAdmin),u(b.providers||[]),w(b.connections||[]),as(!1!==b.globalRtkEnabled),ak(b.routing||{}),am(a=>{let c={...a};for(let[a,d]of Object.entries(b.routing||{}))c[a]={...d};return c}),Y(a=>a||b.userId||"")}catch(a){m(a.message||"Kh\xf4ng tải được personal cloud providers")}finally{b(!1)}},[]),au=(0,e.useCallback)(async()=>{if(r){S(!0);try{let a=await fetch("/api/personal-cloud-providers/permissions",{cache:"no-store"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng tải được quyền OAuth");U(b.permissions||{}),W(b.connectionsByUser||{})}catch(a){m(a.message||"Kh\xf4ng tải được quyền OAuth")}finally{S(!1)}}},[r]),av=(0,e.useMemo)(()=>{let a=i(F?.ownerUser||p);return a?H.filter(b=>i(b.ownerUser||b.createdByUser||p)===a):[]},[H,F,p]),aw=(0,e.useMemo)(()=>{let a=new Map;for(let b of H){let c=String(b.id||"").slice(0,8);a.set(b.id,`${b.name||"API key"}${c?` \xb7 ${c}`:""}`)}return a},[H]),ax=(0,e.useMemo)(()=>Array.from(new Set([...Object.keys(T||{}),...Object.keys(V||{})])).map(a=>{let b=T[a]||{},c=V[a]||{},d=t.filter(a=>b?.[a.id]===!0),e=t.some(a=>(c[a.id]||0)>0);return{userId:a,providerState:b,connectionsByProvider:c,enabledProviders:d,hasAnyConnection:e}}).filter(a=>a.enabledProviders.length>0||a.hasAnyConnection).sort((a,b)=>a.userId.localeCompare(b.userId)),[T,V,t]),ay=async()=>{y(null),o("OAuth account đ\xe3 được th\xeam. Model sẽ được import tự động nếu provider hỗ trợ."),await at()},az=async(a,b)=>{m(""),o("");try{let c=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(a)}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng cập nhật được connection");await at()}catch(a){m(a.message||"Kh\xf4ng cập nhật được connection")}},aA=async a=>{m(""),o(""),E(a.id);try{let b=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(a.id)}/import-models`,{method:"POST"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng import được model");w(b=>b.map(b=>b.id===a.id?{...b,availableModels:c.models||[],importedModels:c.importedModels||[],modelImport:c.modelImport||b.modelImport}:b)),ac(b=>b?.id===a.id?{...b,availableModels:c.models||[],importedModels:c.importedModels||[],modelImport:c.modelImport||b.modelImport}:b);let d=c.modelImport?.source==="provider"?"provider":"catalog fallback";o(`Đ\xe3 cập nhật ${c.models?.length||0} model từ ${d}.`)}catch(a){m(a.message||"Kh\xf4ng import được model")}finally{E("")}};(0,e.useCallback)(async()=>{let a=i(p);if(a){K(!0);try{let b=`&ownerUser=${encodeURIComponent(a)}`,c=await fetch(`/api/keys?pageSize=100&status=active${b}`,{cache:"no-store"}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng tải được API keys");I(Array.isArray(d.keys)?d.keys:[])}catch(a){m(a.message||"Kh\xf4ng tải được API keys")}finally{K(!1)}}},[p]);let aB=async a=>{K(!0);try{let b=i(a?.ownerUser||p),c=b?`&ownerUser=${encodeURIComponent(b)}`:"",d=await fetch(`/api/keys?pageSize=100&status=active${c}`,{cache:"no-store"}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e.error||"Kh\xf4ng tải được API keys");let f=Array.isArray(e.keys)?e.keys:[];I(f);let g=i(e.userId),h=f.find(a=>i(a.ownerUser||a.createdByUser||g)===b);M(a=>a||h?.id||"")}catch(a){m(a.message||"Kh\xf4ng tải được API keys")}finally{K(!1)}},aC=async a=>{let b,c;m(""),o(""),G(a),O((c=(b=j(a)).filter(a=>"llm"===(a.type||"llm")).slice(0,3).map(a=>a.routeModel).filter(Boolean)).length>0?c:b.slice(0,3).map(a=>a.routeModel).filter(Boolean)),M(""),await aB(a)},aD=async()=>{if(!F)return;if(!L)return void m("Chọn API key cần th\xeam model.");let a=Array.from(new Set((Array.isArray(N)?N:[]).map(a=>String(a||"").trim()).filter(Boolean)));if(0===a.length)return void m("Chọn \xedt nhất một model.");Q(!0),m(""),o("");try{let b=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(F.id)}/api-key-models`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyId:L,models:a})}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng th\xeam được model v\xe0o API key");G(null),o(`Đ\xe3 th\xeam ${c.addedModels?.length||a.length} model v\xe0o API key ${c.key?.name||""}.`)}catch(a){m(a.message||"Kh\xf4ng th\xeam được model v\xe0o API key")}finally{Q(!1)}},aE=async()=>{if(B){m(""),o("");try{let a=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(B.id)}`,{method:"DELETE"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng x\xf3a được connection");o(function(a,b="OAuth connection"){let c=a?.revocation||{};return!0===c.upstreamRevoked?`Đ\xe3 revoke token tại provider v\xe0 x\xf3a ${b} khỏi gateway.`:"unsupported"===c.status?`Đ\xe3 x\xf3a token v\xe0 ${b} khỏi gateway. Provider chưa hỗ trợ revoke tự động; h\xe3y thu hồi thủ c\xf4ng trong phần Security/Connected Apps của provider.`:`Đ\xe3 x\xf3a token v\xe0 ${b} khỏi gateway, nhưng kh\xf4ng x\xe1c nhận được revoke tại provider (${c.error||"unknown error"}). H\xe3y thu hồi thủ c\xf4ng trong phần Security/Connected Apps.`}(b.disconnect,B.name||B.id)),C(null),await at()}catch(a){m(a.message||"Kh\xf4ng x\xf3a được connection")}}},aF=async(a,b)=>{if(a?.id&&b?.routeModel){m(""),ag(b.routeModel),ae(a=>({...a,[b.routeModel]:{...a[b.routeModel]||{},loading:!0}}));try{let c=`/api/personal-cloud-providers/${encodeURIComponent(a.id)}/models/${b.routeModel.split("/").map(encodeURIComponent).join("/")}`,d=await fetch(c,{method:"POST"}),e=await d.json().catch(()=>({})),f={ok:e?.ok===!0,status:e?.status||d.status,text:e?.text||"",error:e?.error||(d.ok?"":"Test failed"),latencyMs:e?.latencyMs||0};ae(a=>({...a,[b.routeModel]:f}))}catch(a){ae(c=>({...c,[b.routeModel]:{ok:!1,error:a.message||"Test failed"}}))}finally{ag("")}}},aG=async(a,b)=>{if(a?.id&&b?.routeModel&&window.confirm(`X\xf3a model ${b.routeModel} khỏi connection ${a.name||a.id}?`)){m(""),o(""),ai(b.routeModel);try{let c=`/api/personal-cloud-providers/${encodeURIComponent(a.id)}/models/${b.routeModel.split("/").map(encodeURIComponent).join("/")}`,d=await fetch(c,{method:"DELETE"}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e?.error||"Kh\xf4ng x\xf3a được model");(a=>{if(!a?.connectionId&&!a?.id)return;let b=a.connectionId||a.id;w(c=>c.map(c=>c.id===b?{...c,importedModels:Array.isArray(a.importedModels)?a.importedModels:c.importedModels,availableModels:Array.isArray(a.models)?a.models:Array.isArray(a.availableModels)?a.availableModels:c.availableModels,modelImport:a.modelImport||c.modelImport}:c)),ac(c=>c?.id===b?{...c,importedModels:Array.isArray(a.importedModels)?a.importedModels:c.importedModels,availableModels:Array.isArray(a.models)?a.models:Array.isArray(a.availableModels)?a.availableModels:c.availableModels,modelImport:a.modelImport||c.modelImport}:c)})(e),ae(a=>{let c={...a};return delete c[b.routeModel],c}),o(`Đ\xe3 x\xf3a model ${b.routeModel}.`)}catch(a){m(a.message||"Kh\xf4ng x\xf3a được model")}finally{ai("")}}},aH=(a,b)=>{am(c=>{let d={...c[a]||{},...b};for(let a of Object.keys(d))(""===d[a]||void 0===d[a])&&delete d[a];return{...c,[a]:d}})},aI=async a=>{m(""),o(""),ao(a);try{let b=al[a]||{},c={providerId:a,override:{fallbackStrategy:b.fallbackStrategy||"",stickyRoundRobinLimit:b.stickyRoundRobinLimit,stickyScope:b.stickyScope||"",stickyTtlMinutes:b.stickyTtlMinutes,stickyFallbackToClientIp:b.stickyFallbackToClientIp,stickyRebindOnFailure:b.stickyRebindOnFailure,stickyRebindFailureThreshold:b.stickyRebindFailureThreshold}},d=await fetch("/api/personal-cloud-providers/routing",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e?.error||"Kh\xf4ng lưu được routing");ak(e.routing||{}),o(`Đ\xe3 cập nhật routing cho ${a}.`)}catch(a){m(a.message||"Kh\xf4ng lưu được routing")}finally{ao("")}},aJ=async a=>{m(""),o(""),ao(a);try{let b=await fetch(`/api/personal-cloud-providers/routing?providerId=${encodeURIComponent(a)}`,{method:"DELETE"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c?.error||"Kh\xf4ng reset được routing");ak(c.routing||{}),am(b=>{let c={...b};return delete c[a],c}),o(`Đ\xe3 reset ${a} về ch\xednh s\xe1ch mặc định.`)}catch(a){m(a.message||"Kh\xf4ng reset được routing")}finally{ao("")}},aK=async()=>{let a=i(X);if(!a)return void m("Nhập username/email cần cấp quyền.");k(!0),m(""),o("");try{let b=await fetch("/api/personal-cloud-providers/permissions",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:a,providers:Z})}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng lưu được quyền OAuth");U(c.permissions||{}),W(c.connectionsByUser||{});let d=c.user?.id||a;d!==a&&Y(d),o(`Đ\xe3 lưu quyền OAuth cho ${d}.`),await at()}catch(a){m(a.message||"Kh\xf4ng lưu được quyền OAuth")}finally{k(!1)}},aL=async a=>{let b=i(a);if(b){k(!0),m(""),o("");try{let a=await fetch(`/api/personal-cloud-providers/permissions?userId=${encodeURIComponent(b)}`,{method:"DELETE"}),c=await a.json().catch(()=>({}));if(!a.ok)throw Error(c.error||"Kh\xf4ng thu hồi được quyền OAuth");U(c.permissions||{}),W(c.connectionsByUser||{}),i(X)===b&&Y("");let d=c.disconnectSummary||{},e=Number(d.manualActionRequired)||0;o(`Đ\xe3 x\xf3a ${d.deletedCount||0} OAuth connection của ${b} khỏi gateway; ${d.upstreamRevokedCount||0} token đ\xe3 được revoke tại provider.${e>0?` ${e} connection cần kiểm tra/thu hồi thủ c\xf4ng tại provider.`:""}`),aa(""),await at()}catch(a){m(a.message||"Kh\xf4ng thu hồi được quyền OAuth")}finally{k(!1)}}},aM=x?function(a={}){return{id:a.id,name:a.name||a.id,icon:a.icon||"cloud",color:a.color||"#64748b",website:a.website||"",notice:a.notice||null,deprecationNotice:a.deprecationNotice||"",serviceKinds:a.serviceKinds||["llm"]}}(x):null,aN=r?t:t.filter(a=>a.enabled),aO=j(F),aP=F?.modelImport||{},aQ=j(ab),aR=ax.find(a=>a.userId===i(_)),aS=t.reduce((a,b)=>a+Number(aR?.connectionsByProvider?.[b.id]||0),0);return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)("div",{children:(0,d.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row md:items-start md:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Personal Cloud Providers"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"Kết nối OAuth c\xe1 nh\xe2n cho Claude Code, OpenAI Codex v\xe0 Antigravity. Account c\xe1 nh\xe2n chỉ owner v\xe0 quản trị vi\xean c\xf3 thẩm quyền nh\xecn thấy; chỉ API key của owner được d\xf9ng. Tắt Active chỉ tạm ngưng v\xe0 vẫn giữ token. Delete sẽ thử revoke tại provider rồi x\xf3a token/connection local. Cột RTK cho ph\xe9p override ri\xeang từng account (Lu\xf4n ON / Lu\xf4n OFF) bất kể cấu h\xecnh RTK global ở /dashboard/endpoint đang on hay off — để trống th\xec theo global."})]}),(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface px-4 py-3 text-sm",children:[(0,d.jsx)("div",{className:"text-xs uppercase tracking-wide text-text-muted",children:"Current user"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-text-main",children:p||"—"})]})]})}),l?(0,d.jsx)("div",{className:"rounded-2xl border border-red-500/30 bg-red-500/10 px-4 py-3 text-sm text-red-700 dark:text-red-300",children:l}):null,n?(0,d.jsx)("div",{className:"rounded-2xl border border-green-500/30 bg-green-500/10 px-4 py-3 text-sm text-green-700 dark:text-green-300",children:n}):null,(0,d.jsx)("div",{className:"grid gap-4 lg:grid-cols-3",children:0===t.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted lg:col-span-3",children:"Admin chưa cấp quyền personal OAuth provider n\xe0o cho user n\xe0y."}):t.map(a=>(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"inline-flex size-10 shrink-0 items-center justify-center rounded-xl",style:{backgroundColor:`${a.color||"#64748b"}22`},children:(0,d.jsx)(g.A,{src:`/providers/${a.id}.png`,alt:a.name,size:34,className:"max-h-[34px] max-w-[34px] rounded-lg object-contain",fallbackText:a.id.slice(0,2).toUpperCase(),fallbackColor:a.color||"#64748b"})}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h2",{className:"font-semibold text-text-main",children:a.name}),a.enabled?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Enabled"}):(0,d.jsx)(f.Ex,{variant:"warning",size:"sm",children:"Locked"})]}),(0,d.jsx)("p",{className:"mt-1 text-xs text-text-muted",children:a.enabled?"Được admin cấp quyền, c\xf3 thể add OAuth account c\xe1 nh\xe2n.":"Admin chưa cấp quyền cho user n\xe0y."})]})]}),a.deprecationNotice?(0,d.jsx)("p",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:a.deprecationNotice}):null,(0,d.jsxs)(f.$n,{fullWidth:!0,disabled:!a.enabled,onClick:()=>{a.enabled&&A(a)},icon:"add_link",children:["Add ",a.name," account"]})]},a.id))}),(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 md:flex-row md:items-center md:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"My personal accounts"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"OAuth xong sẽ tự import model nếu provider hỗ trợ. Nếu kh\xf4ng gọi được endpoint model, hệ thống d\xf9ng catalog fallback để user vẫn chọn được model."})]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:at,loading:a,icon:"refresh",children:"Refresh"})]}),a?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:"Đang tải..."}):0===v.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:"Chưa c\xf3 personal OAuth account n\xe0o."}):(0,d.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full divide-y divide-border text-sm",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left text-xs uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Connection"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Provider"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Account"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Models"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Created"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"API key routing"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",title:"Tắt = tạm ngưng sử dụng, token vẫn được giữ",children:"Active (tạm ngưng)"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:["RTK (Token Savings)",(0,d.jsxs)(f.Ex,{variant:ar?"success":"default",size:"sm",className:"normal-case",children:["Global: ",ar?"ON":"OFF"]}),(0,d.jsx)("button",{type:"button",onClick:()=>aq(!0),title:"RTK l\xe0 g\xec? Bấm để xem giải th\xedch",className:"inline-flex size-4 shrink-0 items-center justify-center rounded-full border border-border text-[10px] font-bold normal-case text-text-muted transition-colors hover:border-brand-500 hover:text-brand-600",children:"?"})]})}),(0,d.jsx)("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:v.map(a=>{let b=Array.isArray(a?.availableModels)?a.availableModels:[],c=a.modelImport||{};return(0,d.jsxs)("tr",{className:"align-top hover:bg-surface/50",children:[(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:a.name||a.id}),(0,d.jsx)("div",{className:"mt-1 font-mono text-xs text-text-muted",children:a.id})]}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(g.A,{src:`/providers/${a.provider}.png`,alt:a.provider,size:24,className:"max-h-[24px] max-w-[24px] rounded object-contain",fallbackText:a.provider.slice(0,2).toUpperCase()}),(0,d.jsx)("span",{children:h(a.provider,t)})]})}),(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsx)("div",{className:"break-all text-text-main",children:function(a={}){let b=a.providerSpecificData&&"object"==typeof a.providerSpecificData?a.providerSpecificData:{};return a.email||b.email||b.preferredUsername||a.displayName||b.sub||b.accountId||b.claudeAccountId||b.chatgptAccountId||"—"}(a)}),(0,d.jsxs)("div",{className:"mt-1 break-all text-xs text-text-muted",children:["Owner: ",a.ownerUser||p||"—"]})]}),(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[function(a={}){return"provider"===(a.source||"catalog")?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Imported"}):(0,d.jsx)(f.Ex,{variant:"warning",size:"sm",children:"Catalog"})}(c),(0,d.jsxs)("span",{className:"text-xs text-text-muted",children:[b.length," model(s)"]})]}),c.warning?(0,d.jsx)("div",{className:"mt-1 max-w-[320px] truncate text-xs text-amber-600 dark:text-amber-300",title:c.warning,children:c.warning}):null,b.length>0?(0,d.jsxs)("div",{className:"mt-2 flex max-w-[360px] flex-wrap gap-1",children:[b.slice(0,4).map(a=>(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-0.5 font-mono text-[11px] text-text-muted",children:a.routeModel},a.routeModel)),b.length>4?(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-0.5 text-[11px] text-text-muted",children:["+",b.length-4]}):null]}):null]}),(0,d.jsx)("td",{className:"px-4 py-4 text-xs text-text-muted",children:function(a){if(!a)return"—";try{return new Intl.DateTimeFormat("vi-VN",{dateStyle:"short",timeStyle:"short"}).format(new Date(a))}catch{return a}}(a.createdAt)}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"min-w-[220px] space-y-1",children:[(0,d.jsxs)("select",{value:a.routeApiKeyId||"",onChange:b=>az(a.id,{routeApiKeyId:b.target.value||null}),disabled:J||i(a.ownerUser||p)!==i(p),className:"h-9 w-full rounded-xl border border-border bg-background px-2 text-xs text-text-main outline-none focus:border-brand-500 disabled:opacity-60",children:[(0,d.jsx)("option",{value:"",children:"Shared across my API keys"}),H.filter(b=>i(b.ownerUser||b.createdByUser||p)===i(a.ownerUser||p)).map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))]}),(0,d.jsx)("div",{className:"text-[11px] text-text-muted",children:a.routeApiKeyId?`Only ${aw.get(a.routeApiKeyId)||"selected API key"} can use this account.`:"Unassigned accounts remain shared fallback for your eligible API keys."})]})}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsx)(f.lM,{checked:!1!==a.isActive,onChange:b=>az(a.id,{isActive:b})})}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("select",{value:!0===a.rtkEnabled?"on":!1===a.rtkEnabled?"off":"inherit",onChange:b=>{let c=b.target.value;az(a.id,{rtkEnabled:"inherit"===c?null:"on"===c})},className:"h-9 w-full min-w-[140px] rounded-xl border border-border bg-background px-2 text-xs text-text-main outline-none focus:border-brand-500",children:[(0,d.jsx)("option",{value:"inherit",children:"Theo global"}),(0,d.jsx)("option",{value:"on",children:"Lu\xf4n ON"}),(0,d.jsx)("option",{value:"off",children:"Lu\xf4n OFF"})]})}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",loading:D===a.id,onClick:()=>aA(a),children:"Import models"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",disabled:0===j(a).length,onClick:()=>{m(""),o(""),ac(a),ae({}),ag(""),ai("")},children:"Manage models"}),(0,d.jsx)(f.$n,{variant:"secondary",size:"sm",disabled:0===j(a).length,onClick:()=>aC(a),children:"Add to API key"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{let b;return b=window.prompt("T\xean connection mới",a.name||""),void(b?.trim()&&az(a.id,{name:b.trim()}))},children:"Rename"}),(0,d.jsx)(f.$n,{variant:"danger",size:"sm",onClick:()=>C(a),children:"Revoke & delete"})]})})]},a.id)})})]})})]}),(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Routing strategy"}),(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Khi bạn c\xf3 nhiều personal account cho c\xf9ng provider, đ\xe2y l\xe0 ch\xednh s\xe1ch chọn account cho từng request. Để trống = kế thừa ch\xednh s\xe1ch của admin ở ",(0,d.jsx)("span",{className:"font-mono",children:"/dashboard/providers/<provider>"}),"."]})]}),(0,d.jsx)("div",{className:"grid gap-4 lg:grid-cols-3",children:0===aN.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted lg:col-span-3",children:"Bạn chưa được cấp quyền provider n\xe0o, n\xean chưa cần thiết lập routing."}):aN.map(a=>{let b=al[a.id]||{},c=aj[a.id]||null,e=!c,g=b.fallbackStrategy||"",h="round-robin"===g,i=an===a.id;return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 space-y-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:a.name}),(0,d.jsx)("div",{className:"text-xs text-text-muted",children:e?"Đang kế thừa policy global":`Override active: ${c.fallbackStrategy||"inherit"}`})]}),e?(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:"Inherit"}):(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Override"})]}),(0,d.jsxs)("label",{className:"block text-sm",children:[(0,d.jsx)("span",{className:"mb-1 block font-medium text-text-main",children:"Strategy"}),(0,d.jsxs)("select",{value:g,onChange:b=>aH(a.id,{fallbackStrategy:b.target.value}),className:"h-10 w-full rounded-xl border border-border bg-background px-3 text-sm text-text-main outline-none focus:border-brand-500",disabled:i,children:[(0,d.jsx)("option",{value:"",children:"Inherit (use global)"}),(0,d.jsx)("option",{value:"fill-first",children:"fill-first — chạy hết account 1 mới sang account 2"}),(0,d.jsx)("option",{value:"round-robin",children:"round-robin — lu\xe2n phi\xean theo sticky limit"}),(0,d.jsx)("option",{value:"least-latency",children:"least-latency — chọn account nhanh nhất"}),(0,d.jsx)("option",{value:"p2c",children:"p2c — power-of-two-choices"})]})]}),h?(0,d.jsxs)("div",{className:"space-y-2 rounded-xl border border-border/50 bg-background/50 p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Round-robin sticky params (để trống = d\xf9ng gi\xe1 trị global)"}),(0,d.jsxs)("label",{className:"block text-xs",children:[(0,d.jsx)("span",{className:"mb-1 block text-text-muted",children:"Sticky limit (số request li\xean tiếp trước khi rotate)"}),(0,d.jsx)(f.pd,{type:"number",min:1,value:b.stickyRoundRobinLimit??"",onChange:b=>aH(a.id,{stickyRoundRobinLimit:b.target.value?Number(b.target.value):void 0}),placeholder:"v\xed dụ 3",disabled:i})]}),(0,d.jsxs)("label",{className:"block text-xs",children:[(0,d.jsx)("span",{className:"mb-1 block text-text-muted",children:"Sticky scope"}),(0,d.jsxs)("select",{value:b.stickyScope||"",onChange:b=>aH(a.id,{stickyScope:b.target.value}),className:"h-9 w-full rounded-xl border border-border bg-background px-3 text-xs text-text-main outline-none focus:border-brand-500",disabled:i,children:[(0,d.jsx)("option",{value:"",children:"(inherit)"}),(0,d.jsx)("option",{value:"global",children:"global — rotate cho mọi request"}),(0,d.jsx)("option",{value:"client_ip",children:"client_ip — sticky theo IP"}),(0,d.jsx)("option",{value:"client_session",children:"client_session — sticky theo CLI session"})]})]}),(0,d.jsxs)("label",{className:"block text-xs",children:[(0,d.jsx)("span",{className:"mb-1 block text-text-muted",children:"Sticky TTL (ph\xfat)"}),(0,d.jsx)(f.pd,{type:"number",min:1,value:b.stickyTtlMinutes??"",onChange:b=>aH(a.id,{stickyTtlMinutes:b.target.value?Number(b.target.value):void 0}),placeholder:"v\xed dụ 120",disabled:i})]})]}):null,(0,d.jsxs)("div",{className:"flex flex-wrap gap-2 pt-1",children:[(0,d.jsx)(f.$n,{size:"sm",loading:i,onClick:()=>aI(a.id),children:"Save"}),(0,d.jsx)(f.$n,{size:"sm",variant:"ghost",disabled:i||e,onClick:()=>aJ(a.id),children:"Reset to inherit"})]})]},a.id)})})]}),r?(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Admin: OAuth provider access"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Default l\xe0 kh\xf4ng c\xf3 quyền. Tắt provider chỉ tạm ngưng connection v\xe0 giữ token để c\xf3 thể bật lại. N\xfat Revoke all sẽ thử revoke upstream rồi x\xf3a to\xe0n bộ connection/token local của user."})]}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-[minmax(0,1fr)_auto] md:items-end",children:[(0,d.jsx)(f.pd,{label:"User ID / Email",value:X,onChange:a=>Y(a.target.value),placeholder:"anh-tct hoặc anh-tct@fujinet.net"}),(0,d.jsx)(f.$n,{onClick:aK,loading:c,icon:"save",children:"Save permissions"})]}),(0,d.jsx)("div",{className:"grid gap-3 md:grid-cols-3",children:t.map(a=>(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface p-4",children:(0,d.jsx)(f.lM,{checked:!0===Z[a.id],onChange:b=>$(c=>({...c,[a.id]:b})),label:a.name,description:Z[a.id]?"User được ph\xe9p add account":"User chưa được cấp quyền"})},a.id))}),(0,d.jsxs)("div",{className:"border-t border-border pt-4",children:[(0,d.jsxs)("div",{className:"mb-3 flex flex-col gap-2 md:flex-row md:items-center md:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-semibold text-text-main",children:"Granted OAuth Access"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Danh s\xe1ch user hiện đang được cấp quyền add personal OAuth account."})]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:au,loading:R,icon:"refresh",children:"Refresh list"})]}),R?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted",children:"Đang tải quyền..."}):0===ax.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted",children:"Chưa c\xf3 user n\xe0o được cấp quyền OAuth provider."}):(0,d.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full divide-y divide-border text-sm",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left text-xs uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"User"}),t.map(a=>(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:a.name},a.id)),(0,d.jsx)("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:ax.map(a=>(0,d.jsxs)("tr",{className:"hover:bg-surface/50",children:[(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsx)("div",{className:"break-all font-mono text-text-main",children:a.userId}),i(X)===a.userId?(0,d.jsx)("div",{className:"mt-1 text-xs text-brand-600 dark:text-brand-300",children:"Đang edit ở form ph\xeda tr\xean"}):null]}),t.map(b=>{let c=!0===a.providerState[b.id],e=a.connectionsByProvider?.[b.id]||0,h=e>0;return(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[c?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"ON"}):(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:"OFF"}),h?(0,d.jsxs)("span",{className:"inline-flex items-center gap-0.5",title:`User đ\xe3 add ${e} ${b.name} account${e>1?"s":""}`,children:[(0,d.jsx)(g.A,{src:`/providers/${b.id}.png`,alt:b.name,size:16,className:"max-h-[16px] max-w-[16px] rounded object-contain",fallbackText:b.id.slice(0,2).toUpperCase(),fallbackColor:b.color||"#64748b"}),e>1?(0,d.jsxs)("span",{className:"text-[10px] font-semibold text-text-muted",children:["\xd7",e]}):null]}):null]})},b.id)}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>(a=>{let b=i(a);Y(b);let c=T[b]||{},d={};for(let a of t)d[a.id]=!0===c[a.id];$(d)})(a.userId),children:"Edit"}),(0,d.jsx)(f.$n,{variant:"danger",size:"sm",loading:c&&_===a.userId,onClick:()=>aa(a.userId),children:"Revoke all & delete"})]})})]},a.userId))})]})})]})]}):null,F?(0,d.jsx)(f.aF,{isOpen:!!F,onClose:()=>G(null),title:"Add models to API key",size:"full",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>G(null),disabled:P,children:"Cancel"}),(0,d.jsx)(f.$n,{onClick:aD,loading:P,disabled:!L||0===N.length,children:"Add selected models"})]}),children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 text-sm",children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:F.name||F.id}),(0,d.jsxs)("div",{className:"mt-1 text-text-muted",children:[h(F.provider,t)," \xb7 ",aO.length," imported model(s)"]}),aP.warning?(0,d.jsx)("div",{className:"mt-2 text-xs text-amber-600 dark:text-amber-300",children:aP.warning}):null,0===aO.length?(0,d.jsx)("div",{className:"mt-2 rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:'Chưa import được model n\xe0o từ provider. Bấm "Import models" tr\xean d\xf2ng connection trước khi g\xe1n v\xe0o API key.'}):null]}),(0,d.jsxs)("label",{className:"block text-sm",children:[(0,d.jsx)("span",{className:"mb-1 block font-medium text-text-main",children:"API key"}),(0,d.jsxs)("select",{value:L,onChange:a=>M(a.target.value),className:"h-10 w-full rounded-xl border border-border bg-background px-3 text-sm text-text-main outline-none focus:border-brand-500",disabled:J,children:[(0,d.jsx)("option",{value:"",children:J?"Đang tải API keys...":"Chọn API key"}),av.map(a=>(0,d.jsxs)("option",{value:a.id,children:[a.name," \xb7 ",a.ownerUser||p]},a.id))]})]}),0!==av.length||J?null:(0,d.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-sm text-amber-700 dark:text-amber-300",children:"User n\xe0y chưa c\xf3 API key active để th\xeam model."}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-semibold text-text-main",children:"Models"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Model được lưu v\xe0o allowedModels của API key. Request sẽ route qua personal OAuth account của owner."})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>O(aO.map(a=>a.routeModel).filter(Boolean)),children:"Select all"}),(0,d.jsx)(f.$n,{variant:"ghost",size:"sm",onClick:()=>O([]),children:"Clear"})]})]}),(0,d.jsx)("div",{className:"grid gap-2 md:grid-cols-2",children:aO.map(a=>(0,d.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 rounded-xl border border-border bg-background p-3 hover:bg-surface",children:[(0,d.jsx)("input",{type:"checkbox",className:"mt-1",checked:N.includes(a.routeModel),onChange:()=>{var b;return b=a.routeModel,void O(a=>a.includes(b)?a.filter(a=>a!==b):[...a,b])}}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"block font-medium text-text-main",children:a.name||a.id}),(0,d.jsx)("span",{className:"mt-1 block break-all font-mono text-xs text-text-muted",children:a.routeModel}),a.type&&"llm"!==a.type?(0,d.jsx)("span",{className:"mt-2 inline-flex rounded-full bg-surface px-2 py-0.5 text-[11px] text-text-muted",children:a.type}):null]})]},a.routeModel))})]})}):null,ab?(0,d.jsx)(f.aF,{isOpen:!!ab,onClose:()=>ac(null),title:"Manage imported models",size:"full",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>ac(null),children:"Close"}),(0,d.jsx)(f.$n,{variant:"outline",loading:D===ab.id,onClick:()=>aA(ab),icon:"refresh",children:"Re-import from provider"})]}),children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 text-sm",children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:ab.name||ab.id}),(0,d.jsxs)("div",{className:"mt-1 text-text-muted",children:[h(ab.provider,t)," \xb7 ",aQ.length," imported model(s)"]}),(0,d.jsx)("div",{className:"mt-2 text-xs text-text-muted",children:'Test gửi 1 prompt "Say hello in five words" qua ch\xednh OAuth account của bạn, qua đ\xfang proxy của connection. X\xf3a model sẽ bỏ n\xf3 khỏi list importable; c\xe1c API key đ\xe3 gắn model n\xe0y kh\xf4ng bị thay đổi (request đến model đ\xf3 sẽ do provider ph\xeda tr\xean quyết định chấp nhận hay kh\xf4ng).'})]}),0===aQ.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:'Chưa c\xf3 model n\xe0o được import. Bấm "Re-import from provider".'}):(0,d.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full divide-y divide-border text-sm",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left text-xs uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Model"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Route ID"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Test result"}),(0,d.jsx)("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:aQ.map(a=>{let b=ad[a.routeModel],c=af===a.routeModel,e=ah===a.routeModel;return(0,d.jsxs)("tr",{className:"align-top",children:[(0,d.jsxs)("td",{className:"px-4 py-3",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:a.name||a.id}),a.type&&"llm"!==a.type?(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:a.type}):null]}),(0,d.jsx)("td",{className:"px-4 py-3 font-mono text-xs text-text-muted break-all",children:a.routeModel}),(0,d.jsx)("td",{className:"px-4 py-3 text-xs",children:c?(0,d.jsx)("span",{className:"text-text-muted",children:"Đang test..."}):b?b.ok?(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("div",{className:"text-green-700 dark:text-green-300",children:["OK \xb7 ",b.latencyMs||0,"ms"]}),(0,d.jsx)("div",{className:"break-all text-text-muted",children:(b.text||"").slice(0,200)})]}):(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("div",{className:"text-red-700 dark:text-red-300",children:["FAIL \xb7 status ",b.status||"?"]}),(0,d.jsx)("div",{className:"break-all text-text-muted",children:(b.error||"").slice(0,200)})]}):(0,d.jsx)("span",{className:"text-text-muted",children:"—"})}),(0,d.jsx)("td",{className:"px-4 py-3",children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",loading:c,disabled:e,onClick:()=>aF(ab,a),children:"Say hello"}),(0,d.jsx)(f.$n,{variant:"danger",size:"sm",loading:e,disabled:c,onClick:()=>aG(ab,a),children:"Delete"})]})})]},a.routeModel)})})]})})]})}):null,ap?(0,d.jsx)(f.aF,{isOpen:ap,onClose:()=>aq(!1),title:"RTK (Token Savings) l\xe0 g\xec?",size:"xl",footer:(0,d.jsx)(f.$n,{onClick:()=>aq(!1),children:"Đ\xe3 hiểu"}),children:(0,d.jsxs)("div",{className:"space-y-5 text-sm text-text-main",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 rounded-xl border border-border bg-surface px-3 py-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Global RTK hiện đang:"}),(0,d.jsx)(f.Ex,{variant:ar?"success":"default",size:"sm",children:ar?"ON":"OFF"}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:'— \xe1p dụng cho mọi account chọn "Theo global"'})]}),(0,d.jsx)("p",{className:"text-text-muted",children:"RTK l\xe0 bộ lọc n\xe9n output của tool (Bash, Grep, Glob, Read...) ngay trong request trước khi gửi l\xean model, gi\xfap giảm số token phải gửi m\xe0 kh\xf4ng l\xe0m mất th\xf4ng tin quan trọng — chỉ t\xe1c động tới phần tool output, kh\xf4ng đụng v\xe0o nội dung chat."}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Hoạt động ra sao với CLI tool"}),(0,d.jsx)("p",{className:"text-text-muted",children:"Mỗi khi Claude Code / Codex CLI / OpenCode... gọi tool v\xe0 nhận lại output, RTK tự nhận diện định dạng quen thuộc rồi r\xfat gọn theo đ\xfang cấu tr\xfac của n\xf3:"}),(0,d.jsxs)("ul",{className:"mt-2 list-disc space-y-1 pl-5 text-text-muted",children:[(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"git diff"})," — giữ v\xe0i d\xf2ng context quanh thay đổi, cắt phần hunk qu\xe1 d\xe0i"]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"git status"})," / ",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"git log"})," — gom gọn danh s\xe1ch file thay đổi, danh s\xe1ch commit"]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"grep"})," / ",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"find"})," — giới hạn số match hiển thị mỗi file/thư mục"]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"ls -la"})," / ",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"tree"})," — t\xf3m tắt theo loại file, cắt c\xe2y thư mục qu\xe1 s\xe2u"]}),(0,d.jsx)("li",{children:"Build log (npm/yarn/cargo...) — chỉ giữ d\xf2ng quan trọng (lỗi, kết quả build)"}),(0,d.jsx)("li",{children:"Output d\xe0i chung kh\xf4ng r\xf5 định dạng — fallback dedup d\xf2ng lặp hoặc smart-truncate (giữ đầu + cuối)"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Hiệu quả thực tế"}),(0,d.jsx)("div",{className:"overflow-x-auto rounded-xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full text-xs",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Loại output"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Trước"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Sau"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Tiết kiệm"})]})}),(0,d.jsxs)("tbody",{className:"divide-y divide-border",children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"px-3 py-2 font-mono",children:"git diff"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"7384B"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"3894B"}),(0,d.jsx)("td",{className:"px-3 py-2 text-green-600 dark:text-green-400",children:"47.3%"})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"px-3 py-2 font-mono",children:"grep -n"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"3723B"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"1447B"}),(0,d.jsx)("td",{className:"px-3 py-2 text-green-600 dark:text-green-400",children:"61.1%"})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"px-3 py-2 font-mono",children:"find"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"729B"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"264B"}),(0,d.jsx)("td",{className:"px-3 py-2 text-green-600 dark:text-green-400",children:"63.8%"})]})]})]})})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Khi n\xe0o KH\xd4NG bị n\xe9n"}),(0,d.jsxs)("ul",{className:"list-disc space-y-1 pl-5 text-text-muted",children:[(0,d.jsx)("li",{children:"Chat thường kh\xf4ng gọi tool — kh\xf4ng c\xf3 g\xec để n\xe9n"}),(0,d.jsx)("li",{children:"Output nhỏ hơn 500B — kh\xf4ng đ\xe1ng n\xe9n"}),(0,d.jsxs)("li",{children:["Output b\xe1o lỗi (",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"is_error"}),") — lu\xf4n giữ nguy\xean để debug"]}),(0,d.jsx)("li",{children:"Output lớn hơn 10MB — bỏ qua để tr\xe1nh tốn CPU xử l\xfd"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Global vs từng account"}),(0,d.jsxs)("p",{className:"text-text-muted",children:["Dropdown RTK ở bảng tr\xean cho ph\xe9p override ri\xeang từng account:",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:" Theo global"})," (mặc định, d\xf9ng đ\xfang setting global),",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:" Lu\xf4n ON"})," hoặc",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:" Lu\xf4n OFF"})," — override lu\xf4n thắng global theo cả 2 chiều, n\xean c\xf3 thể để global OFF v\xe0 chỉ bật cho account d\xf9ng CLI tool, hoặc ngược lại."]})]})]})}):null,(0,d.jsx)(f.v9,{isOpen:!!z,provider:z,onAccept:()=>{A(null),z&&y(z)},onCancel:()=>{A(null)}}),aM?(0,d.jsx)(f.LF,{isOpen:!!x,provider:x.id,providerInfo:aM,connectionScope:"personal",onSuccess:ay,onClose:()=>y(null)}):null,B?(0,d.jsx)(f.uo,{isOpen:!!B,onClose:()=>C(null),onConfirm:aE,title:"Revoke and delete personal account",message:`Gateway sẽ thử revoke token của ${B.name||B.id} tại provider, sau đ\xf3 x\xf3a token v\xe0 connection local. ${"claude"===B.provider?"Claude chưa c\xf3 endpoint revoke tự động được c\xf4ng bố; bạn c\xf3 thể cần thu hồi thủ c\xf4ng trong t\xe0i khoản Claude.":"Nếu provider kh\xf4ng x\xe1c nhận revoke, hệ thống sẽ th\xf4ng b\xe1o để bạn thu hồi thủ c\xf4ng."}`,confirmText:"Revoke & delete",cancelText:"Cancel",variant:"danger"}):null,_?(0,d.jsx)(f.aF,{isOpen:!!_,onClose:()=>aa(""),title:"Thu hồi to\xe0n bộ quyền OAuth",size:"lg",busy:c,closeOnOverlay:!c,footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>aa(""),disabled:c,children:"Hủy"}),(0,d.jsx)(f.$n,{variant:"danger",icon:"delete_forever",loading:c,onClick:()=>aL(_),children:"Thu hồi v\xe0 x\xf3a to\xe0n bộ"})]}),children:(0,d.jsxs)("div",{className:"space-y-5",children:[(0,d.jsxs)("div",{className:"flex items-start gap-4 rounded-2xl border border-red-500/30 bg-gradient-to-br from-red-500/15 to-orange-500/5 p-4",children:[(0,d.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-2xl bg-red-500 text-white shadow-lg shadow-red-500/20",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[28px]",children:"warning"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-red-700 dark:text-red-300",children:"H\xe0nh động nguy hiểm, kh\xf4ng thể ho\xe0n t\xe1c"}),(0,d.jsx)("div",{className:"mt-1 break-all text-lg font-semibold text-text-main",children:_}),(0,d.jsxs)("p",{className:"mt-2 text-sm leading-6 text-text-muted",children:["Thu hồi to\xe0n bộ quyền OAuth provider của ",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:_}),"? OAuth account của user n\xe0y sẽ bị ",(0,d.jsx)("span",{className:"font-semibold text-red-600 dark:text-red-300",children:"X\xd3A HẲN"})," khỏi gateway."]})]})]}),(0,d.jsx)("div",{className:"grid gap-3 sm:grid-cols-3",children:[["key_off","Token OAuth","Thử revoke upstream rồi x\xf3a token local"],["deployed_code","Model đ\xe3 import","X\xf3a dữ liệu model của connection"],["vpn_key_off","API key đ\xe3 g\xe1n","Gỡ model tương ứng khỏi API key"]].map(([a,b,c])=>(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-background p-4",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px] text-red-500",children:a}),(0,d.jsx)("div",{className:"mt-2 text-sm font-semibold text-text-main",children:b}),(0,d.jsx)("div",{className:"mt-1 text-xs leading-5 text-text-muted",children:c})]},b))}),(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface/70 p-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Connection t\xecm thấy"}),(0,d.jsx)(f.Ex,{variant:aS>0?"warning":"default",size:"sm",children:aS})]}),aR?(0,d.jsx)("div",{className:"mt-3 flex flex-wrap gap-2",children:t.map(a=>{let b=Number(aR.connectionsByProvider?.[a.id]||0);return b>0?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-border bg-background px-2.5 py-1 text-xs text-text-muted",children:[(0,d.jsx)(g.A,{src:`/providers/${a.id}.png`,alt:a.name,size:16,className:"max-h-[16px] max-w-[16px] rounded object-contain",fallbackText:a.id.slice(0,2).toUpperCase()}),a.name," \xd7",b]},a.id):null})}):null]}),(0,d.jsx)("p",{className:"text-xs leading-5 text-text-muted",children:"Nếu provider kh\xf4ng hỗ trợ revoke tự động hoặc kh\xf4ng phản hồi, gateway vẫn x\xf3a token local v\xe0 sẽ th\xf4ng b\xe1o để quản trị vi\xean thu hồi thủ c\xf4ng trong Security/Connected Apps của provider."})]})}):null]})}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},21820:a=>{"use strict";a.exports=require("os")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34631:a=>{"use strict";a.exports=require("tls")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41204:a=>{"use strict";a.exports=require("string_decoder")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},47165:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>O,handler:()=>Q,routeModule:()=>P});var d=c(7553),e=c(84006),f=c(67798),g=c(34775),h=c(99373),i=c(73461),j=c(1020),k=c(26349),l=c(54365),m=c(16023),n=c(14965),o=c(63747),p=c(24235),q=c(23938),r=c(261),s=c(66758),t=c(77243),u=c(26713),v=c(37527),w=c(22820),x=c(88216),y=c(47929),z=c(79551),A=c(71797),B=c(89125),C=c(86439),D=c(77068),E=c(27269),F=c(37525),G=c(61287),H=c(81494),I=c(70722),J=c(70753),K=c(43954),L=c(17891),M={};for(let a in G)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(M[a]=()=>G[a]);c.d(b,M);let N={children:["",{children:["(dashboard)",{children:["dashboard",{children:["personalcloudprovider",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,4984)),"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\personalcloudprovider\\page.js"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,30508)),"D:\\bluerouter\\src\\app\\(dashboard)\\layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,32059)),"D:\\bluerouter\\src\\app\\layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,O={require:c,loadChunk:()=>Promise.resolve()},P=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(dashboard)/dashboard/personalcloudprovider/page",pathname:"/dashboard/personalcloudprovider",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:N},distDir:".next-cli-build",relativeProjectDir:""});async function Q(a,b,d){var M,R,S,T,U;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),P.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let V=!!(0,h.getRequestMeta)(a,"minimalMode"),W="/(dashboard)/dashboard/personalcloudprovider/page";"/index"===W&&(W="/");let X=await P.prepare(a,b,{srcPage:W,multiZoneDraftMode:!1});if(!X)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Y,query:Z,params:$,pageIsDynamic:_,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,serverActionsManifest:ad,clientReferenceManifest:ae,subresourceIntegrityManifest:af,prerenderManifest:ag,isDraftMode:ah,resolvedPathname:ai,revalidateOnlyGenerated:aj,routerServerContext:ak,nextConfig:al,parsedUrl:am,interceptionRoutePatterns:an,deploymentId:ao,clientAssetToken:ap}=X,aq=(0,r.normalizeAppPath)(W),{isOnDemandRevalidate:ar}=X,as=al.experimental.ppr&&!al.cacheComponents&&(0,K.isInterceptionRouteAppPath)(ai)?null:P.match(ai,ag),at=(null==as?void 0:as.route)??null,au=!!ag.routes[ai],av=a.headers["user-agent"]||"",aw=(0,u.getBotType)(av),ax=(0,q.isHtmlBotRequest)(a),ay=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],az=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[t.RSC_HEADER]),aA=(0,s.getIsPossibleServerAction)(a),aB=(0,m.checkIsAppPPREnabled)(al.experimental.ppr),aC=a.headers[y.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&V&&aB&&aA&&aC&&"string"==typeof aC){let e=parseInt(aC,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(U=al.experimental.serverActions)?void 0:U.bodySizeLimit)??i,k=e+(j!==i?c(95726).parse(j):1048576),l=await (0,E.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&aB&&"1"===a.headers[y.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize),f=await (0,E.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aD=!0===P.isDev||!0===al.experimental.exposeTestingApiInProductionBuild,aE=aD&&("1"===a.headers[t.NEXT_INSTANT_PREFETCH_HEADER]||!(0,n.f)(a.headers[t.RSC_HEADER])&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(t.NEXT_INSTANT_TEST_COOKIE+"=")),aF=(aB||aE)&&((null==(M=ag.routes[aq]??ag.dynamicRoutes[aq])?void 0:M.renderingMode)==="PARTIALLY_STATIC"||aE&&(aD||(null==ak?void 0:ak.experimentalTestProxy)===!0)),aG=aE&&aF,aH=aG&&!0===P.isDev,aI=!1,aJ=aF?(0,h.getRequestMeta)(a,"postponed"):void 0,aK=null==(R=ag.routes[ai])?void 0:R.prefetchDataRoute,aL=aF&&az&&!ay&&!aK;V&&(aL=aL&&!!aJ);let aM=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aN=(!aw||!aF)&&(!av||(0,q.shouldServeStreamingMetadata)(av,al.htmlLimitedBots)),aO=!!((at||au||ag.routes[aq])&&!(aw&&aF)),aP=aF&&!0===al.cacheComponents,aQ=!0===P.isDev||!aO||"string"==typeof aJ||(aP&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aL&&!V:aL),aR=!!aw&&aF,aS=(null==at?void 0:at.remainingPrerenderableParams)??[],aT=(null==at?void 0:at.fallback)===null&&((null==(S=at.fallbackRootParams)?void 0:S.length)??0)>0,aU=null;if(!ah&&aO&&!aQ&&!aA&&!aJ&&!aL){let a=as?"string"==typeof(null==at?void 0:at.fallback)?at.fallback:as.source:null;if(!0===al.experimental.partialFallbacks&&a&&(null==at?void 0:at.fallbackRouteParams)&&!aT){if(aS.length>0){let b,c=(b=new Map(aS.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,L.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==$?void 0:$[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace((0,o.buildDynamicSegmentPlaceholder)(d),f)}).join("/")||"/");aU=c!==a?c:null}}else aU=ai}let aV=aU;!aV&&(P.isDev||aO&&_&&(null==at?void 0:at.fallbackRouteParams)&&!aA)&&(aV=ai),P.isDev||ah||!aO||!az||aL||(0,k.d)(a.headers);let aW={...G,tree:N,handler:Q,routeModule:P,__next_app__:O};ad&&ae&&(0,p.setManifestsSingleton)({page:W,clientReferenceManifest:ae,serverActionsManifest:ad});let aX=a.method||"GET",aY=(0,g.getTracer)(),aZ=aY.getActiveScopeSpan(),a$=!!(null==ak?void 0:ak.isWrappedByNextServer),a_=!0===al.experimental.partialFallbacks&&aS.length>0?(null==at||null==(T=at.fallbackRouteParams)?void 0:T.filter(a=>!aS.some(b=>b.paramName===a.paramName)))??[]:[],a0=async()=>((null==ak?void 0:ak.render404)?await ak.render404(a,b,am,!1):b.end("This page could not be found"),null);try{let k,m=P.getVaryHeader(ai,an);b.setHeader("Vary",m);let n=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return P.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aY.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aX} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aX} ${W}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await P.getIncrementalCache(a,al,ag,V);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:Z,params:$,page:aq,sharedContext:{buildId:Y,deploymentId:ao,clientAssetToken:ap},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aW,Component:(0,j.T)(aW),params:$,routeModule:P,page:W,postponed:f,shouldWaitOnAllReady:aR,serveStreamingMetadata:aN,supportsDynamicResponse:"string"==typeof f||aQ,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,subresourceIntegrityManifest:af,setCacheStatus:null==ak?void 0:ak.setCacheStatus,setIsrStatus:null==ak?void 0:ak.setIsrStatus,setReactDebugChannel:null==ak?void 0:ak.setReactDebugChannel,sendErrorsToBrowser:null==ak?void 0:ak.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),P.relativeProjectDir),isDraftMode:ah,botType:aw,isOnDemandRevalidate:ar,isPossibleServerAction:aA,assetPrefix:al.assetPrefix,nextConfigOutput:al.output,crossOrigin:al.crossOrigin,trailingSlash:al.trailingSlash,images:al.images,previewProps:ag.preview,enableTainting:al.experimental.taint,htmlLimitedBots:al.htmlLimitedBots,reactMaxHeadersLength:al.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:al.cacheLife,basePath:al.basePath,serverActions:al.experimental.serverActions,logServerFunctions:"object"==typeof al.logging&&!!al.logging.serverFunctions,...aG||aH||aI?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aH}:{},cacheComponents:!!al.cacheComponents,experimental:{isRoutePPREnabled:aF,expireTime:al.expireTime,staleTimes:al.experimental.staleTimes,dynamicOnHover:!!al.experimental.dynamicOnHover,optimisticRouting:!!al.experimental.optimisticRouting,inlineCss:!!al.experimental.inlineCss,prefetchInlining:al.experimental.prefetchInlining??!1,authInterrupts:!!al.experimental.authInterrupts,cachedNavigations:!!al.experimental.cachedNavigations,clientTraceMetadata:al.experimental.clientTraceMetadata||[],clientParamParsingOrigins:al.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,D.parseMaxPostponedStateSize)(al.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>P.onRequestError(a,b,d,e,ak),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await n(e,k),{metadata:m}=l,{cacheControl:o,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[y.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aO&&(null==o?void 0:o.revalidate)===0&&!P.isDev&&!aF){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ai}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:o}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===P.isDev,m=c||b.writableEnded;try{var n;let f;if(ar&&aj&&!g&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(at&&(f=(0,w.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(f=w.FallbackMode.PRERENDER),f===w.FallbackMode.PRERENDER&&(0,u.isBot)(av)&&(!aF||ax)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ar=!0),ar&&(f!==w.FallbackMode.NOT_FOUND||g)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),!V&&f!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!m&&!ah&&_&&(l||!au)){if((l||at)&&f===w.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new C.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let b=l&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,f=(l||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,o.getFallbackRouteParams)(aq,P):null;aG&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await P.handleResponse({cacheKey:b,req:a,nextConfig:al,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:V});if(null===g)return null;if(g)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!p||ar||aI||aD||aE||ay||(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(aU,p,aF,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,o.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let s=ar||i||!aJ?void 0:aJ;if(aP&&!V&&p&&(aL||aA)&&!k){let b=await p.get(ai,{kind:v.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===v.CachedRouteKind.APP_PAGE&&(s=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(ai,p,aF,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==s)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let t=!P.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,y=t&&t.length>0?t:null==at?void 0:at.fallbackRouteParams,z=null!=t&&t.length>0,A=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,h.getRequestMeta)(a,"resolvedRouteParamKeys");b&&b.size>0&&(A=at.fallbackRouteParams.filter(a=>!b.has(a.paramName)))}let B=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||z||aG&&!au)&&y?(0,o.createOpaqueFallbackRouteParams)(y):A&&A.length>0&&A.length<((null==at||null==(n=at.fallbackRouteParams)?void 0:n.length)??0)?(0,o.createOpaqueFallbackRouteParams)(A):aI?(0,o.getFallbackRouteParams)(aq,P):null;if((l||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,o.createOpaqueFallbackRouteParams)(y??at.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:s,fallbackRouteParams:B,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}},s=async c=>{var f,g,i,j,k,l;let m,n=await P.handleResponse({cacheKey:aU,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:a,nextConfig:al,prerenderManifest:ag,waitUntil:d.waitUntil,isMinimalMode:V});if(ah&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),P.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!n){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof n.value.postponed;az&&!aA&&ao&&b.setHeader(y.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!o||ay)&&(V||b.setHeader("x-nextjs-cache",ar?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=n;if(aJ)m={revalidate:0,expire:void 0};else if(aL)m={revalidate:0,expire:void 0};else if(!P.isDev)if(ah)m={revalidate:0,expire:void 0};else if(aO){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??al.expireTime}}else m={revalidate:y.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(n.cacheControl=m,"string"==typeof aM&&(null==p?void 0:p.kind)===v.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=p.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];V&&aO&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aM);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let s=aP?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(s){let b=(0,h.getRequestMeta)(a,"initURL")??a.url,c=b?(null==(l=(0,F.parseUrl)(b))?void 0:l.pathname)??b:void 0;if(await s(n,{url:c}))return null}if(p.headers){let a={...p.headers};for(let[c,d]of(V&&aO||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let u=null==(g=p.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&u&&"string"==typeof u&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,u),!p.status||az&&aF||(b.statusCode=p.status),!V&&p.status&&H.RedirectStatusCode[p.status]&&az&&(b.statusCode=200),o&&!aL&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===p.rscData){if(p.html.contentType!==t.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return b.statusCode=404,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl});else throw Object.defineProperty(new I.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:p.html,cacheControl:n.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(p.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let w=p.html;if(aE&&aG){let c=!0===P.isDev?crypto.randomUUID():null;return w.pipeThrough(await (0,A.createInstantTestScriptInsertionTransformStream)(c)),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})}if(!o||V||az)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:n.cacheControl});if(aG||aH)return w.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}});let C=new TransformStream;return w.push(C.readable),q({span:c,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(C.writable)}).catch(a=>{C.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return k=aY.getActiveScopeSpan(),await aY.withPropagatedContext(a.headers,()=>aY.trace(i.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":a.url}},s),void 0,!a$);await s(aZ)}catch(b){throw b instanceof C.NoFallbackError||await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}}},50296:(a,b,c)=>{Promise.resolve().then(c.bind(c,73335))},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},60024:(a,b,c)=>{Promise.resolve().then(c.bind(c,8385))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{"use strict";a.exports=import("pg")},66136:a=>{"use strict";a.exports=require("timers")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},73335:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\personalcloudprovider\\\\PersonalCloudProviderPageClient.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\personalcloudprovider\\PersonalCloudProviderPageClient.js","default")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},79428:a=>{"use strict";a.exports=require("buffer")},79748:a=>{"use strict";a.exports=require("fs/promises")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,319,1361,1568,402,5681,4404,6064,6328,1340],()=>b(b.s=47165));module.exports=c})();
1
+ (()=>{var a={};a.id=3538,a.ids=[3538],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},4984:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g,dynamic:()=>f});var d=c(5735),e=c(73335);let f="force-dynamic";function g(){return(0,d.jsx)(e.default,{})}},8385:(a,b,c)=>{"use strict";c.d(b,{default:()=>k});var d=c(48249),e=c(67484),f=c(50412),g=c(72738);function h(a,b){return b.find(b=>b.id===a)?.name||a}function i(a){return String(a||"").trim().toLowerCase()}function j(a){return Array.isArray(a?.importedModels)?a.importedModels:[]}function k(){let[a,b]=(0,e.useState)(!0),[c,k]=(0,e.useState)(!1),[l,m]=(0,e.useState)(""),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)([]),[v,w]=(0,e.useState)([]),[x,y]=(0,e.useState)(null),[z,A]=(0,e.useState)(null),[B,C]=(0,e.useState)(null),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)(null),[H,I]=(0,e.useState)([]),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)(""),[N,O]=(0,e.useState)([]),[P,Q]=(0,e.useState)(!1),[R,S]=(0,e.useState)(!1),[T,U]=(0,e.useState)({}),[V,W]=(0,e.useState)({}),[X,Y]=(0,e.useState)(""),[Z,$]=(0,e.useState)({}),[_,aa]=(0,e.useState)(""),[ab,ac]=(0,e.useState)(null),[ad,ae]=(0,e.useState)({}),[af,ag]=(0,e.useState)(""),[ah,ai]=(0,e.useState)(""),[aj,ak]=(0,e.useState)({}),[al,am]=(0,e.useState)({}),[an,ao]=(0,e.useState)(""),[ap,aq]=(0,e.useState)(!1),[ar,as]=(0,e.useState)(!0),at=(0,e.useCallback)(async()=>{b(!0),m("");try{let a=await fetch("/api/personal-cloud-providers",{cache:"no-store"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng tải được personal cloud providers");q(b.userId||""),s(!0===b.isAdmin),u(b.providers||[]),w(b.connections||[]),as(!1!==b.globalRtkEnabled),ak(b.routing||{}),am(a=>{let c={...a};for(let[a,d]of Object.entries(b.routing||{}))c[a]={...d};return c}),Y(a=>a||b.userId||"")}catch(a){m(a.message||"Kh\xf4ng tải được personal cloud providers")}finally{b(!1)}},[]),au=(0,e.useCallback)(async()=>{if(r){S(!0);try{let a=await fetch("/api/personal-cloud-providers/permissions",{cache:"no-store"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng tải được quyền OAuth");U(b.permissions||{}),W(b.connectionsByUser||{})}catch(a){m(a.message||"Kh\xf4ng tải được quyền OAuth")}finally{S(!1)}}},[r]),av=(0,e.useMemo)(()=>{let a=i(F?.ownerUser||p);return a?H.filter(b=>i(b.ownerUser||b.createdByUser||p)===a):[]},[H,F,p]),aw=(0,e.useMemo)(()=>{let a=new Map;for(let b of H){let c=String(b.id||"").slice(0,8);a.set(b.id,`${b.name||"API key"}${c?` \xb7 ${c}`:""}`)}return a},[H]),ax=(0,e.useMemo)(()=>Array.from(new Set([...Object.keys(T||{}),...Object.keys(V||{})])).map(a=>{let b=T[a]||{},c=V[a]||{},d=t.filter(a=>b?.[a.id]===!0),e=t.some(a=>(c[a.id]||0)>0);return{userId:a,providerState:b,connectionsByProvider:c,enabledProviders:d,hasAnyConnection:e}}).filter(a=>a.enabledProviders.length>0||a.hasAnyConnection).sort((a,b)=>a.userId.localeCompare(b.userId)),[T,V,t]),ay=async()=>{y(null),o("OAuth account đ\xe3 được th\xeam. Model sẽ được import tự động nếu provider hỗ trợ."),await at()},az=async(a,b)=>{m(""),o("");try{let c=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(a)}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng cập nhật được connection");await at()}catch(a){m(a.message||"Kh\xf4ng cập nhật được connection")}},aA=async a=>{m(""),o(""),E(a.id);try{let b=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(a.id)}/import-models`,{method:"POST"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng import được model");w(b=>b.map(b=>b.id===a.id?{...b,availableModels:c.models||[],importedModels:c.importedModels||[],modelImport:c.modelImport||b.modelImport}:b)),ac(b=>b?.id===a.id?{...b,availableModels:c.models||[],importedModels:c.importedModels||[],modelImport:c.modelImport||b.modelImport}:b);let d=c.modelImport?.source==="provider"?"provider":"catalog fallback";o(`Đ\xe3 cập nhật ${c.models?.length||0} model từ ${d}.`)}catch(a){m(a.message||"Kh\xf4ng import được model")}finally{E("")}};(0,e.useCallback)(async()=>{let a=i(p);if(a){K(!0);try{let b=`&ownerUser=${encodeURIComponent(a)}`,c=await fetch(`/api/keys?pageSize=100&status=active${b}`,{cache:"no-store"}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng tải được API keys");I(Array.isArray(d.keys)?d.keys:[])}catch(a){m(a.message||"Kh\xf4ng tải được API keys")}finally{K(!1)}}},[p]);let aB=async a=>{K(!0);try{let b=i(a?.ownerUser||p),c=b?`&ownerUser=${encodeURIComponent(b)}`:"",d=await fetch(`/api/keys?pageSize=100&status=active${c}`,{cache:"no-store"}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e.error||"Kh\xf4ng tải được API keys");let f=Array.isArray(e.keys)?e.keys:[];I(f);let g=i(e.userId),h=f.find(a=>i(a.ownerUser||a.createdByUser||g)===b);M(a=>a||h?.id||"")}catch(a){m(a.message||"Kh\xf4ng tải được API keys")}finally{K(!1)}},aC=async a=>{let b,c;m(""),o(""),G(a),O((c=(b=j(a)).filter(a=>"llm"===(a.type||"llm")).slice(0,3).map(a=>a.routeModel).filter(Boolean)).length>0?c:b.slice(0,3).map(a=>a.routeModel).filter(Boolean)),M(""),await aB(a)},aD=async()=>{if(!F)return;if(!L)return void m("Chọn API key cần th\xeam model.");let a=Array.from(new Set((Array.isArray(N)?N:[]).map(a=>String(a||"").trim()).filter(Boolean)));if(0===a.length)return void m("Chọn \xedt nhất một model.");Q(!0),m(""),o("");try{let b=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(F.id)}/api-key-models`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyId:L,models:a})}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng th\xeam được model v\xe0o API key");G(null),o(`Đ\xe3 th\xeam ${c.addedModels?.length||a.length} model v\xe0o API key ${c.key?.name||""}.`)}catch(a){m(a.message||"Kh\xf4ng th\xeam được model v\xe0o API key")}finally{Q(!1)}},aE=async()=>{if(B){m(""),o("");try{let a=await fetch(`/api/personal-cloud-providers/${encodeURIComponent(B.id)}`,{method:"DELETE"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng x\xf3a được connection");o(function(a,b="OAuth connection"){let c=a?.revocation||{};return!0===c.upstreamRevoked?`Đ\xe3 revoke token tại provider v\xe0 x\xf3a ${b} khỏi gateway.`:"unsupported"===c.status?`Đ\xe3 x\xf3a token v\xe0 ${b} khỏi gateway. Provider chưa hỗ trợ revoke tự động; h\xe3y thu hồi thủ c\xf4ng trong phần Security/Connected Apps của provider.`:`Đ\xe3 x\xf3a token v\xe0 ${b} khỏi gateway, nhưng kh\xf4ng x\xe1c nhận được revoke tại provider (${c.error||"unknown error"}). H\xe3y thu hồi thủ c\xf4ng trong phần Security/Connected Apps.`}(b.disconnect,B.name||B.id)),C(null),await at()}catch(a){m(a.message||"Kh\xf4ng x\xf3a được connection")}}},aF=async(a,b)=>{if(a?.id&&b?.routeModel){m(""),ag(b.routeModel),ae(a=>({...a,[b.routeModel]:{...a[b.routeModel]||{},loading:!0}}));try{let c=`/api/personal-cloud-providers/${encodeURIComponent(a.id)}/models/${b.routeModel.split("/").map(encodeURIComponent).join("/")}`,d=await fetch(c,{method:"POST"}),e=await d.json().catch(()=>({})),f={ok:e?.ok===!0,status:e?.status||d.status,text:e?.text||"",error:e?.error||(d.ok?"":"Test failed"),latencyMs:e?.latencyMs||0};ae(a=>({...a,[b.routeModel]:f}))}catch(a){ae(c=>({...c,[b.routeModel]:{ok:!1,error:a.message||"Test failed"}}))}finally{ag("")}}},aG=async(a,b)=>{if(a?.id&&b?.routeModel&&window.confirm(`X\xf3a model ${b.routeModel} khỏi connection ${a.name||a.id}?`)){m(""),o(""),ai(b.routeModel);try{let c=`/api/personal-cloud-providers/${encodeURIComponent(a.id)}/models/${b.routeModel.split("/").map(encodeURIComponent).join("/")}`,d=await fetch(c,{method:"DELETE"}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e?.error||"Kh\xf4ng x\xf3a được model");(a=>{if(!a?.connectionId&&!a?.id)return;let b=a.connectionId||a.id;w(c=>c.map(c=>c.id===b?{...c,importedModels:Array.isArray(a.importedModels)?a.importedModels:c.importedModels,availableModels:Array.isArray(a.models)?a.models:Array.isArray(a.availableModels)?a.availableModels:c.availableModels,modelImport:a.modelImport||c.modelImport}:c)),ac(c=>c?.id===b?{...c,importedModels:Array.isArray(a.importedModels)?a.importedModels:c.importedModels,availableModels:Array.isArray(a.models)?a.models:Array.isArray(a.availableModels)?a.availableModels:c.availableModels,modelImport:a.modelImport||c.modelImport}:c)})(e),ae(a=>{let c={...a};return delete c[b.routeModel],c}),o(`Đ\xe3 x\xf3a model ${b.routeModel}.`)}catch(a){m(a.message||"Kh\xf4ng x\xf3a được model")}finally{ai("")}}},aH=(a,b)=>{am(c=>{let d={...c[a]||{},...b};for(let a of Object.keys(d))(""===d[a]||void 0===d[a])&&delete d[a];return{...c,[a]:d}})},aI=async a=>{m(""),o(""),ao(a);try{let b=al[a]||{},c={providerId:a,override:{fallbackStrategy:b.fallbackStrategy||"",stickyRoundRobinLimit:b.stickyRoundRobinLimit,stickyScope:b.stickyScope||"",stickyTtlMinutes:b.stickyTtlMinutes,stickyFallbackToClientIp:b.stickyFallbackToClientIp,stickyRebindOnFailure:b.stickyRebindOnFailure,stickyRebindFailureThreshold:b.stickyRebindFailureThreshold}},d=await fetch("/api/personal-cloud-providers/routing",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}),e=await d.json().catch(()=>({}));if(!d.ok)throw Error(e?.error||"Kh\xf4ng lưu được routing");ak(e.routing||{}),o(`Đ\xe3 cập nhật routing cho ${a}.`)}catch(a){m(a.message||"Kh\xf4ng lưu được routing")}finally{ao("")}},aJ=async a=>{m(""),o(""),ao(a);try{let b=await fetch(`/api/personal-cloud-providers/routing?providerId=${encodeURIComponent(a)}`,{method:"DELETE"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c?.error||"Kh\xf4ng reset được routing");ak(c.routing||{}),am(b=>{let c={...b};return delete c[a],c}),o(`Đ\xe3 reset ${a} về ch\xednh s\xe1ch mặc định.`)}catch(a){m(a.message||"Kh\xf4ng reset được routing")}finally{ao("")}},aK=async()=>{let a=i(X);if(!a)return void m("Nhập username/email cần cấp quyền.");k(!0),m(""),o("");try{let b=await fetch("/api/personal-cloud-providers/permissions",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:a,providers:Z})}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng lưu được quyền OAuth");U(c.permissions||{}),W(c.connectionsByUser||{});let d=c.user?.id||a;d!==a&&Y(d),o(`Đ\xe3 lưu quyền OAuth cho ${d}.`),await at()}catch(a){m(a.message||"Kh\xf4ng lưu được quyền OAuth")}finally{k(!1)}},aL=async a=>{let b=i(a);if(b){k(!0),m(""),o("");try{let a=await fetch(`/api/personal-cloud-providers/permissions?userId=${encodeURIComponent(b)}`,{method:"DELETE"}),c=await a.json().catch(()=>({}));if(!a.ok)throw Error(c.error||"Kh\xf4ng thu hồi được quyền OAuth");U(c.permissions||{}),W(c.connectionsByUser||{}),i(X)===b&&Y("");let d=c.disconnectSummary||{},e=Number(d.manualActionRequired)||0;o(`Đ\xe3 x\xf3a ${d.deletedCount||0} OAuth connection của ${b} khỏi gateway; ${d.upstreamRevokedCount||0} token đ\xe3 được revoke tại provider.${e>0?` ${e} connection cần kiểm tra/thu hồi thủ c\xf4ng tại provider.`:""}`),aa(""),await at()}catch(a){m(a.message||"Kh\xf4ng thu hồi được quyền OAuth")}finally{k(!1)}}},aM=x?function(a={}){return{id:a.id,name:a.name||a.id,icon:a.icon||"cloud",color:a.color||"#64748b",website:a.website||"",notice:a.notice||null,deprecationNotice:a.deprecationNotice||"",serviceKinds:a.serviceKinds||["llm"]}}(x):null,aN=r?t:t.filter(a=>a.enabled),aO=j(F),aP=F?.modelImport||{},aQ=j(ab),aR=ax.find(a=>a.userId===i(_)),aS=t.reduce((a,b)=>a+Number(aR?.connectionsByProvider?.[b.id]||0),0);return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)("div",{children:(0,d.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row md:items-start md:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Personal Cloud Providers"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"Kết nối OAuth c\xe1 nh\xe2n cho Claude Code, OpenAI Codex v\xe0 Antigravity. Account c\xe1 nh\xe2n chỉ owner v\xe0 quản trị vi\xean c\xf3 thẩm quyền nh\xecn thấy; chỉ API key của owner được d\xf9ng. Tắt Active chỉ tạm ngưng v\xe0 vẫn giữ token. Delete sẽ thử revoke tại provider rồi x\xf3a token/connection local. Cột RTK cho ph\xe9p override ri\xeang từng account (Lu\xf4n ON / Lu\xf4n OFF) bất kể cấu h\xecnh RTK global ở /dashboard/endpoint đang on hay off — để trống th\xec theo global."})]}),(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface px-4 py-3 text-sm",children:[(0,d.jsx)("div",{className:"text-xs uppercase tracking-wide text-text-muted",children:"Current user"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-text-main",children:p||"—"})]})]})}),l?(0,d.jsx)("div",{className:"rounded-2xl border border-red-500/30 bg-red-500/10 px-4 py-3 text-sm text-red-700 dark:text-red-300",children:l}):null,n?(0,d.jsx)("div",{className:"rounded-2xl border border-green-500/30 bg-green-500/10 px-4 py-3 text-sm text-green-700 dark:text-green-300",children:n}):null,(0,d.jsx)("div",{className:"grid gap-4 lg:grid-cols-3",children:0===t.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted lg:col-span-3",children:"Admin chưa cấp quyền personal OAuth provider n\xe0o cho user n\xe0y."}):t.map(a=>(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"inline-flex size-10 shrink-0 items-center justify-center rounded-xl",style:{backgroundColor:`${a.color||"#64748b"}22`},children:(0,d.jsx)(g.A,{src:`/providers/${a.id}.png`,alt:a.name,size:34,className:"max-h-[34px] max-w-[34px] rounded-lg object-contain",fallbackText:a.id.slice(0,2).toUpperCase(),fallbackColor:a.color||"#64748b"})}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h2",{className:"font-semibold text-text-main",children:a.name}),a.enabled?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Enabled"}):(0,d.jsx)(f.Ex,{variant:"warning",size:"sm",children:"Locked"})]}),(0,d.jsx)("p",{className:"mt-1 text-xs text-text-muted",children:a.enabled?"Được admin cấp quyền, c\xf3 thể add OAuth account c\xe1 nh\xe2n.":"Admin chưa cấp quyền cho user n\xe0y."})]})]}),a.deprecationNotice?(0,d.jsx)("p",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:a.deprecationNotice}):null,(0,d.jsxs)(f.$n,{fullWidth:!0,disabled:!a.enabled,onClick:()=>{a.enabled&&A(a)},icon:"add_link",children:["Add ",a.name," account"]})]},a.id))}),(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 md:flex-row md:items-center md:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"My personal accounts"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"OAuth xong sẽ tự import model nếu provider hỗ trợ. Nếu kh\xf4ng gọi được endpoint model, hệ thống d\xf9ng catalog fallback để user vẫn chọn được model."})]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:at,loading:a,icon:"refresh",children:"Refresh"})]}),a?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:"Đang tải..."}):0===v.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:"Chưa c\xf3 personal OAuth account n\xe0o."}):(0,d.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full divide-y divide-border text-sm",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left text-xs uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Connection"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Provider"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Account"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Models"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Created"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"API key routing"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",title:"Tắt = tạm ngưng sử dụng, token vẫn được giữ",children:"Active (tạm ngưng)"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:["RTK (Token Savings)",(0,d.jsxs)(f.Ex,{variant:ar?"success":"default",size:"sm",className:"normal-case",children:["Global: ",ar?"ON":"OFF"]}),(0,d.jsx)("button",{type:"button",onClick:()=>aq(!0),title:"RTK l\xe0 g\xec? Bấm để xem giải th\xedch",className:"inline-flex size-4 shrink-0 items-center justify-center rounded-full border border-border text-[10px] font-bold normal-case text-text-muted transition-colors hover:border-brand-500 hover:text-brand-600",children:"?"})]})}),(0,d.jsx)("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:v.map(a=>{let b=Array.isArray(a?.availableModels)?a.availableModels:[],c=a.modelImport||{};return(0,d.jsxs)("tr",{className:"align-top hover:bg-surface/50",children:[(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:a.name||a.id}),(0,d.jsx)("div",{className:"mt-1 font-mono text-xs text-text-muted",children:a.id})]}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(g.A,{src:`/providers/${a.provider}.png`,alt:a.provider,size:24,className:"max-h-[24px] max-w-[24px] rounded object-contain",fallbackText:a.provider.slice(0,2).toUpperCase()}),(0,d.jsx)("span",{children:h(a.provider,t)})]})}),(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsx)("div",{className:"break-all text-text-main",children:function(a={}){let b=a.providerSpecificData&&"object"==typeof a.providerSpecificData?a.providerSpecificData:{};return a.email||b.email||b.preferredUsername||a.displayName||b.sub||b.accountId||b.claudeAccountId||b.chatgptAccountId||"—"}(a)}),(0,d.jsxs)("div",{className:"mt-1 break-all text-xs text-text-muted",children:["Owner: ",a.ownerUser||p||"—"]})]}),(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[function(a={}){return"provider"===(a.source||"catalog")?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Imported"}):(0,d.jsx)(f.Ex,{variant:"warning",size:"sm",children:"Catalog"})}(c),(0,d.jsxs)("span",{className:"text-xs text-text-muted",children:[b.length," model(s)"]})]}),c.warning?(0,d.jsx)("div",{className:"mt-1 max-w-[320px] truncate text-xs text-amber-600 dark:text-amber-300",title:c.warning,children:c.warning}):null,b.length>0?(0,d.jsxs)("div",{className:"mt-2 flex max-w-[360px] flex-wrap gap-1",children:[b.slice(0,4).map(a=>(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-0.5 font-mono text-[11px] text-text-muted",children:a.routeModel},a.routeModel)),b.length>4?(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-0.5 text-[11px] text-text-muted",children:["+",b.length-4]}):null]}):null]}),(0,d.jsx)("td",{className:"px-4 py-4 text-xs text-text-muted",children:function(a){if(!a)return"—";try{return new Intl.DateTimeFormat("vi-VN",{dateStyle:"short",timeStyle:"short"}).format(new Date(a))}catch{return a}}(a.createdAt)}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"min-w-[220px] space-y-1",children:[(0,d.jsxs)("select",{value:a.routeApiKeyId||"",onChange:b=>az(a.id,{routeApiKeyId:b.target.value||null}),disabled:J||i(a.ownerUser||p)!==i(p),className:"h-9 w-full rounded-xl border border-border bg-background px-2 text-xs text-text-main outline-none focus:border-brand-500 disabled:opacity-60",children:[(0,d.jsx)("option",{value:"",children:"Shared across my API keys"}),H.filter(b=>i(b.ownerUser||b.createdByUser||p)===i(a.ownerUser||p)).map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))]}),(0,d.jsx)("div",{className:"text-[11px] text-text-muted",children:a.routeApiKeyId?`Only ${aw.get(a.routeApiKeyId)||"selected API key"} can use this account.`:"Unassigned accounts remain shared fallback for your eligible API keys."})]})}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsx)(f.lM,{checked:!1!==a.isActive,onChange:b=>az(a.id,{isActive:b})})}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("select",{value:!0===a.rtkEnabled?"on":!1===a.rtkEnabled?"off":"inherit",onChange:b=>{let c=b.target.value;az(a.id,{rtkEnabled:"inherit"===c?null:"on"===c})},className:"h-9 w-full min-w-[140px] rounded-xl border border-border bg-background px-2 text-xs text-text-main outline-none focus:border-brand-500",children:[(0,d.jsx)("option",{value:"inherit",children:"Theo global"}),(0,d.jsx)("option",{value:"on",children:"Lu\xf4n ON"}),(0,d.jsx)("option",{value:"off",children:"Lu\xf4n OFF"})]})}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",loading:D===a.id,onClick:()=>aA(a),children:"Import models"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",disabled:0===j(a).length,onClick:()=>{m(""),o(""),ac(a),ae({}),ag(""),ai("")},children:"Manage models"}),(0,d.jsx)(f.$n,{variant:"secondary",size:"sm",disabled:0===j(a).length,onClick:()=>aC(a),children:"Add to API key"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{let b;return b=window.prompt("T\xean connection mới",a.name||""),void(b?.trim()&&az(a.id,{name:b.trim()}))},children:"Rename"}),(0,d.jsx)(f.$n,{variant:"danger",size:"sm",onClick:()=>C(a),children:"Revoke & delete"})]})})]},a.id)})})]})})]}),(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Routing strategy"}),(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Khi bạn c\xf3 nhiều personal account cho c\xf9ng provider, đ\xe2y l\xe0 ch\xednh s\xe1ch chọn account cho từng request. Để trống = kế thừa ch\xednh s\xe1ch của admin ở ",(0,d.jsx)("span",{className:"font-mono",children:"/dashboard/providers/<provider>"}),"."]})]}),(0,d.jsx)("div",{className:"grid gap-4 lg:grid-cols-3",children:0===aN.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted lg:col-span-3",children:"Bạn chưa được cấp quyền provider n\xe0o, n\xean chưa cần thiết lập routing."}):aN.map(a=>{let b=al[a.id]||{},c=aj[a.id]||null,e=!c,g=b.fallbackStrategy||"",h="round-robin"===g,i=an===a.id;return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 space-y-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:a.name}),(0,d.jsx)("div",{className:"text-xs text-text-muted",children:e?"Đang kế thừa policy global":`Override active: ${c.fallbackStrategy||"inherit"}`})]}),e?(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:"Inherit"}):(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Override"})]}),(0,d.jsxs)("label",{className:"block text-sm",children:[(0,d.jsx)("span",{className:"mb-1 block font-medium text-text-main",children:"Strategy"}),(0,d.jsxs)("select",{value:g,onChange:b=>aH(a.id,{fallbackStrategy:b.target.value}),className:"h-10 w-full rounded-xl border border-border bg-background px-3 text-sm text-text-main outline-none focus:border-brand-500",disabled:i,children:[(0,d.jsx)("option",{value:"",children:"Inherit (use global)"}),(0,d.jsx)("option",{value:"fill-first",children:"fill-first — chạy hết account 1 mới sang account 2"}),(0,d.jsx)("option",{value:"round-robin",children:"round-robin — lu\xe2n phi\xean theo sticky limit"}),(0,d.jsx)("option",{value:"least-latency",children:"least-latency — chọn account nhanh nhất"}),(0,d.jsx)("option",{value:"p2c",children:"p2c — power-of-two-choices"})]})]}),h?(0,d.jsxs)("div",{className:"space-y-2 rounded-xl border border-border/50 bg-background/50 p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Round-robin sticky params (để trống = d\xf9ng gi\xe1 trị global)"}),(0,d.jsxs)("label",{className:"block text-xs",children:[(0,d.jsx)("span",{className:"mb-1 block text-text-muted",children:"Sticky limit (số request li\xean tiếp trước khi rotate)"}),(0,d.jsx)(f.pd,{type:"number",min:1,value:b.stickyRoundRobinLimit??"",onChange:b=>aH(a.id,{stickyRoundRobinLimit:b.target.value?Number(b.target.value):void 0}),placeholder:"v\xed dụ 3",disabled:i})]}),(0,d.jsxs)("label",{className:"block text-xs",children:[(0,d.jsx)("span",{className:"mb-1 block text-text-muted",children:"Sticky scope"}),(0,d.jsxs)("select",{value:b.stickyScope||"",onChange:b=>aH(a.id,{stickyScope:b.target.value}),className:"h-9 w-full rounded-xl border border-border bg-background px-3 text-xs text-text-main outline-none focus:border-brand-500",disabled:i,children:[(0,d.jsx)("option",{value:"",children:"(inherit)"}),(0,d.jsx)("option",{value:"global",children:"global — rotate cho mọi request"}),(0,d.jsx)("option",{value:"client_ip",children:"client_ip — sticky theo IP"}),(0,d.jsx)("option",{value:"client_session",children:"client_session — sticky theo CLI session"})]})]}),(0,d.jsxs)("label",{className:"block text-xs",children:[(0,d.jsx)("span",{className:"mb-1 block text-text-muted",children:"Sticky TTL (ph\xfat)"}),(0,d.jsx)(f.pd,{type:"number",min:1,value:b.stickyTtlMinutes??"",onChange:b=>aH(a.id,{stickyTtlMinutes:b.target.value?Number(b.target.value):void 0}),placeholder:"v\xed dụ 120",disabled:i})]})]}):null,(0,d.jsxs)("div",{className:"flex flex-wrap gap-2 pt-1",children:[(0,d.jsx)(f.$n,{size:"sm",loading:i,onClick:()=>aI(a.id),children:"Save"}),(0,d.jsx)(f.$n,{size:"sm",variant:"ghost",disabled:i||e,onClick:()=>aJ(a.id),children:"Reset to inherit"})]})]},a.id)})})]}),r?(0,d.jsxs)(f.Zp,{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:"Admin: OAuth provider access"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Default l\xe0 kh\xf4ng c\xf3 quyền. Tắt provider chỉ tạm ngưng connection v\xe0 giữ token để c\xf3 thể bật lại. N\xfat Revoke all sẽ thử revoke upstream rồi x\xf3a to\xe0n bộ connection/token local của user."})]}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-[minmax(0,1fr)_auto] md:items-end",children:[(0,d.jsx)(f.pd,{label:"User ID / Email",value:X,onChange:a=>Y(a.target.value),placeholder:"anh-tct hoặc anh-tct@fujinet.net"}),(0,d.jsx)(f.$n,{onClick:aK,loading:c,icon:"save",children:"Save permissions"})]}),(0,d.jsx)("div",{className:"grid gap-3 md:grid-cols-3",children:t.map(a=>(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface p-4",children:(0,d.jsx)(f.lM,{checked:!0===Z[a.id],onChange:b=>$(c=>({...c,[a.id]:b})),label:a.name,description:Z[a.id]?"User được ph\xe9p add account":"User chưa được cấp quyền"})},a.id))}),(0,d.jsxs)("div",{className:"border-t border-border pt-4",children:[(0,d.jsxs)("div",{className:"mb-3 flex flex-col gap-2 md:flex-row md:items-center md:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-semibold text-text-main",children:"Granted OAuth Access"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Danh s\xe1ch user hiện đang được cấp quyền add personal OAuth account."})]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:au,loading:R,icon:"refresh",children:"Refresh list"})]}),R?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted",children:"Đang tải quyền..."}):0===ax.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted",children:"Chưa c\xf3 user n\xe0o được cấp quyền OAuth provider."}):(0,d.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full divide-y divide-border text-sm",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left text-xs uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"User"}),t.map(a=>(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:a.name},a.id)),(0,d.jsx)("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:ax.map(a=>(0,d.jsxs)("tr",{className:"hover:bg-surface/50",children:[(0,d.jsxs)("td",{className:"px-4 py-4",children:[(0,d.jsx)("div",{className:"break-all font-mono text-text-main",children:a.userId}),i(X)===a.userId?(0,d.jsx)("div",{className:"mt-1 text-xs text-brand-600 dark:text-brand-300",children:"Đang edit ở form ph\xeda tr\xean"}):null]}),t.map(b=>{let c=!0===a.providerState[b.id],e=a.connectionsByProvider?.[b.id]||0,h=e>0;return(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[c?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"ON"}):(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:"OFF"}),h?(0,d.jsxs)("span",{className:"inline-flex items-center gap-0.5",title:`User đ\xe3 add ${e} ${b.name} account${e>1?"s":""}`,children:[(0,d.jsx)(g.A,{src:`/providers/${b.id}.png`,alt:b.name,size:16,className:"max-h-[16px] max-w-[16px] rounded object-contain",fallbackText:b.id.slice(0,2).toUpperCase(),fallbackColor:b.color||"#64748b"}),e>1?(0,d.jsxs)("span",{className:"text-[10px] font-semibold text-text-muted",children:["\xd7",e]}):null]}):null]})},b.id)}),(0,d.jsx)("td",{className:"px-4 py-4",children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>(a=>{let b=i(a);Y(b);let c=T[b]||{},d={};for(let a of t)d[a.id]=!0===c[a.id];$(d)})(a.userId),children:"Edit"}),(0,d.jsx)(f.$n,{variant:"danger",size:"sm",loading:c&&_===a.userId,onClick:()=>aa(a.userId),children:"Revoke all & delete"})]})})]},a.userId))})]})})]})]}):null,F?(0,d.jsx)(f.aF,{isOpen:!!F,onClose:()=>G(null),title:"Add models to API key",size:"full",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>G(null),disabled:P,children:"Cancel"}),(0,d.jsx)(f.$n,{onClick:aD,loading:P,disabled:!L||0===N.length,children:"Add selected models"})]}),children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 text-sm",children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:F.name||F.id}),(0,d.jsxs)("div",{className:"mt-1 text-text-muted",children:[h(F.provider,t)," \xb7 ",aO.length," imported model(s)"]}),aP.warning?(0,d.jsx)("div",{className:"mt-2 text-xs text-amber-600 dark:text-amber-300",children:aP.warning}):null,0===aO.length?(0,d.jsx)("div",{className:"mt-2 rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:'Chưa import được model n\xe0o từ provider. Bấm "Import models" tr\xean d\xf2ng connection trước khi g\xe1n v\xe0o API key.'}):null]}),(0,d.jsxs)("label",{className:"block text-sm",children:[(0,d.jsx)("span",{className:"mb-1 block font-medium text-text-main",children:"API key"}),(0,d.jsxs)("select",{value:L,onChange:a=>M(a.target.value),className:"h-10 w-full rounded-xl border border-border bg-background px-3 text-sm text-text-main outline-none focus:border-brand-500",disabled:J,children:[(0,d.jsx)("option",{value:"",children:J?"Đang tải API keys...":"Chọn API key"}),av.map(a=>(0,d.jsxs)("option",{value:a.id,children:[a.name," \xb7 ",a.ownerUser||p]},a.id))]})]}),0!==av.length||J?null:(0,d.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-sm text-amber-700 dark:text-amber-300",children:"User n\xe0y chưa c\xf3 API key active để th\xeam model."}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-semibold text-text-main",children:"Models"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Model được lưu v\xe0o allowedModels của API key. Request sẽ route qua personal OAuth account của owner."})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>O(aO.map(a=>a.routeModel).filter(Boolean)),children:"Select all"}),(0,d.jsx)(f.$n,{variant:"ghost",size:"sm",onClick:()=>O([]),children:"Clear"})]})]}),(0,d.jsx)("div",{className:"grid gap-2 md:grid-cols-2",children:aO.map(a=>(0,d.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 rounded-xl border border-border bg-background p-3 hover:bg-surface",children:[(0,d.jsx)("input",{type:"checkbox",className:"mt-1",checked:N.includes(a.routeModel),onChange:()=>{var b;return b=a.routeModel,void O(a=>a.includes(b)?a.filter(a=>a!==b):[...a,b])}}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"block font-medium text-text-main",children:a.name||a.id}),(0,d.jsx)("span",{className:"mt-1 block break-all font-mono text-xs text-text-muted",children:a.routeModel}),a.type&&"llm"!==a.type?(0,d.jsx)("span",{className:"mt-2 inline-flex rounded-full bg-surface px-2 py-0.5 text-[11px] text-text-muted",children:a.type}):null]})]},a.routeModel))})]})}):null,ab?(0,d.jsx)(f.aF,{isOpen:!!ab,onClose:()=>ac(null),title:"Manage imported models",size:"full",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>ac(null),children:"Close"}),(0,d.jsx)(f.$n,{variant:"outline",loading:D===ab.id,onClick:()=>aA(ab),icon:"refresh",children:"Re-import from provider"})]}),children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 text-sm",children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:ab.name||ab.id}),(0,d.jsxs)("div",{className:"mt-1 text-text-muted",children:[h(ab.provider,t)," \xb7 ",aQ.length," imported model(s)"]}),(0,d.jsx)("div",{className:"mt-2 text-xs text-text-muted",children:'Test gửi 1 prompt "Say hello in five words" qua ch\xednh OAuth account của bạn, qua đ\xfang proxy của connection. X\xf3a model sẽ bỏ n\xf3 khỏi list importable; c\xe1c API key đ\xe3 gắn model n\xe0y kh\xf4ng bị thay đổi (request đến model đ\xf3 sẽ do provider ph\xeda tr\xean quyết định chấp nhận hay kh\xf4ng).'})]}),0===aQ.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:'Chưa c\xf3 model n\xe0o được import. Bấm "Re-import from provider".'}):(0,d.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full divide-y divide-border text-sm",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left text-xs uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Model"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Route ID"}),(0,d.jsx)("th",{className:"px-4 py-3 font-medium",children:"Test result"}),(0,d.jsx)("th",{className:"px-4 py-3 text-right font-medium",children:"Actions"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:aQ.map(a=>{let b=ad[a.routeModel],c=af===a.routeModel,e=ah===a.routeModel;return(0,d.jsxs)("tr",{className:"align-top",children:[(0,d.jsxs)("td",{className:"px-4 py-3",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:a.name||a.id}),a.type&&"llm"!==a.type?(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:a.type}):null]}),(0,d.jsx)("td",{className:"px-4 py-3 font-mono text-xs text-text-muted break-all",children:a.routeModel}),(0,d.jsx)("td",{className:"px-4 py-3 text-xs",children:c?(0,d.jsx)("span",{className:"text-text-muted",children:"Đang test..."}):b?b.ok?(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("div",{className:"text-green-700 dark:text-green-300",children:["OK \xb7 ",b.latencyMs||0,"ms"]}),(0,d.jsx)("div",{className:"break-all text-text-muted",children:(b.text||"").slice(0,200)})]}):(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("div",{className:"text-red-700 dark:text-red-300",children:["FAIL \xb7 status ",b.status||"?"]}),(0,d.jsx)("div",{className:"break-all text-text-muted",children:(b.error||"").slice(0,200)})]}):(0,d.jsx)("span",{className:"text-text-muted",children:"—"})}),(0,d.jsx)("td",{className:"px-4 py-3",children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",loading:c,disabled:e,onClick:()=>aF(ab,a),children:"Say hello"}),(0,d.jsx)(f.$n,{variant:"danger",size:"sm",loading:e,disabled:c,onClick:()=>aG(ab,a),children:"Delete"})]})})]},a.routeModel)})})]})})]})}):null,ap?(0,d.jsx)(f.aF,{isOpen:ap,onClose:()=>aq(!1),title:"RTK (Token Savings) l\xe0 g\xec?",size:"xl",footer:(0,d.jsx)(f.$n,{onClick:()=>aq(!1),children:"Đ\xe3 hiểu"}),children:(0,d.jsxs)("div",{className:"space-y-5 text-sm text-text-main",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 rounded-xl border border-border bg-surface px-3 py-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Global RTK hiện đang:"}),(0,d.jsx)(f.Ex,{variant:ar?"success":"default",size:"sm",children:ar?"ON":"OFF"}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:'— \xe1p dụng cho mọi account chọn "Theo global"'})]}),(0,d.jsx)("p",{className:"text-text-muted",children:"RTK l\xe0 bộ lọc n\xe9n output của tool (Bash, Grep, Glob, Read...) ngay trong request trước khi gửi l\xean model, gi\xfap giảm số token phải gửi m\xe0 kh\xf4ng l\xe0m mất th\xf4ng tin quan trọng — chỉ t\xe1c động tới phần tool output, kh\xf4ng đụng v\xe0o nội dung chat."}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Hoạt động ra sao với CLI tool"}),(0,d.jsx)("p",{className:"text-text-muted",children:"Mỗi khi Claude Code / Codex CLI / OpenCode... gọi tool v\xe0 nhận lại output, RTK tự nhận diện định dạng quen thuộc rồi r\xfat gọn theo đ\xfang cấu tr\xfac của n\xf3:"}),(0,d.jsxs)("ul",{className:"mt-2 list-disc space-y-1 pl-5 text-text-muted",children:[(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"git diff"})," — giữ v\xe0i d\xf2ng context quanh thay đổi, cắt phần hunk qu\xe1 d\xe0i"]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"git status"})," / ",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"git log"})," — gom gọn danh s\xe1ch file thay đổi, danh s\xe1ch commit"]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"grep"})," / ",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"find"})," — giới hạn số match hiển thị mỗi file/thư mục"]}),(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"font-mono text-text-main",children:"ls -la"})," / ",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"tree"})," — t\xf3m tắt theo loại file, cắt c\xe2y thư mục qu\xe1 s\xe2u"]}),(0,d.jsx)("li",{children:"Build log (npm/yarn/cargo...) — chỉ giữ d\xf2ng quan trọng (lỗi, kết quả build)"}),(0,d.jsx)("li",{children:"Output d\xe0i chung kh\xf4ng r\xf5 định dạng — fallback dedup d\xf2ng lặp hoặc smart-truncate (giữ đầu + cuối)"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Hiệu quả thực tế"}),(0,d.jsx)("div",{className:"overflow-x-auto rounded-xl border border-border",children:(0,d.jsxs)("table",{className:"min-w-full text-xs",children:[(0,d.jsx)("thead",{className:"bg-surface/80 text-left uppercase tracking-wide text-text-muted",children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Loại output"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Trước"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Sau"}),(0,d.jsx)("th",{className:"px-3 py-2 font-medium",children:"Tiết kiệm"})]})}),(0,d.jsxs)("tbody",{className:"divide-y divide-border",children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"px-3 py-2 font-mono",children:"git diff"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"7384B"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"3894B"}),(0,d.jsx)("td",{className:"px-3 py-2 text-green-600 dark:text-green-400",children:"47.3%"})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"px-3 py-2 font-mono",children:"grep -n"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"3723B"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"1447B"}),(0,d.jsx)("td",{className:"px-3 py-2 text-green-600 dark:text-green-400",children:"61.1%"})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"px-3 py-2 font-mono",children:"find"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"729B"}),(0,d.jsx)("td",{className:"px-3 py-2",children:"264B"}),(0,d.jsx)("td",{className:"px-3 py-2 text-green-600 dark:text-green-400",children:"63.8%"})]})]})]})})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Khi n\xe0o KH\xd4NG bị n\xe9n"}),(0,d.jsxs)("ul",{className:"list-disc space-y-1 pl-5 text-text-muted",children:[(0,d.jsx)("li",{children:"Chat thường kh\xf4ng gọi tool — kh\xf4ng c\xf3 g\xec để n\xe9n"}),(0,d.jsx)("li",{children:"Output nhỏ hơn 500B — kh\xf4ng đ\xe1ng n\xe9n"}),(0,d.jsxs)("li",{children:["Output b\xe1o lỗi (",(0,d.jsx)("span",{className:"font-mono text-text-main",children:"is_error"}),") — lu\xf4n giữ nguy\xean để debug"]}),(0,d.jsx)("li",{children:"Output lớn hơn 10MB — bỏ qua để tr\xe1nh tốn CPU xử l\xfd"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"mb-2 font-semibold text-text-main",children:"Global vs từng account"}),(0,d.jsxs)("p",{className:"text-text-muted",children:["Dropdown RTK ở bảng tr\xean cho ph\xe9p override ri\xeang từng account:",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:" Theo global"})," (mặc định, d\xf9ng đ\xfang setting global),",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:" Lu\xf4n ON"})," hoặc",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:" Lu\xf4n OFF"})," — override lu\xf4n thắng global theo cả 2 chiều, n\xean c\xf3 thể để global OFF v\xe0 chỉ bật cho account d\xf9ng CLI tool, hoặc ngược lại."]})]})]})}):null,(0,d.jsx)(f.v9,{isOpen:!!z,provider:z,onAccept:()=>{A(null),z&&y(z)},onCancel:()=>{A(null)}}),aM?(0,d.jsx)(f.LF,{isOpen:!!x,provider:x.id,providerInfo:aM,connectionScope:"personal",onSuccess:ay,onClose:()=>y(null)}):null,B?(0,d.jsx)(f.uo,{isOpen:!!B,onClose:()=>C(null),onConfirm:aE,title:"Revoke and delete personal account",message:`Gateway sẽ thử revoke token của ${B.name||B.id} tại provider, sau đ\xf3 x\xf3a token v\xe0 connection local. ${"claude"===B.provider?"Claude chưa c\xf3 endpoint revoke tự động được c\xf4ng bố; bạn c\xf3 thể cần thu hồi thủ c\xf4ng trong t\xe0i khoản Claude.":"Nếu provider kh\xf4ng x\xe1c nhận revoke, hệ thống sẽ th\xf4ng b\xe1o để bạn thu hồi thủ c\xf4ng."}`,confirmText:"Revoke & delete",cancelText:"Cancel",variant:"danger"}):null,_?(0,d.jsx)(f.aF,{isOpen:!!_,onClose:()=>aa(""),title:"Thu hồi to\xe0n bộ quyền OAuth",size:"lg",busy:c,closeOnOverlay:!c,footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>aa(""),disabled:c,children:"Hủy"}),(0,d.jsx)(f.$n,{variant:"danger",icon:"delete_forever",loading:c,onClick:()=>aL(_),children:"Thu hồi v\xe0 x\xf3a to\xe0n bộ"})]}),children:(0,d.jsxs)("div",{className:"space-y-5",children:[(0,d.jsxs)("div",{className:"flex items-start gap-4 rounded-2xl border border-red-500/30 bg-gradient-to-br from-red-500/15 to-orange-500/5 p-4",children:[(0,d.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-2xl bg-red-500 text-white shadow-lg shadow-red-500/20",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[28px]",children:"warning"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-red-700 dark:text-red-300",children:"H\xe0nh động nguy hiểm, kh\xf4ng thể ho\xe0n t\xe1c"}),(0,d.jsx)("div",{className:"mt-1 break-all text-lg font-semibold text-text-main",children:_}),(0,d.jsxs)("p",{className:"mt-2 text-sm leading-6 text-text-muted",children:["Thu hồi to\xe0n bộ quyền OAuth provider của ",(0,d.jsx)("span",{className:"font-semibold text-text-main",children:_}),"? OAuth account của user n\xe0y sẽ bị ",(0,d.jsx)("span",{className:"font-semibold text-red-600 dark:text-red-300",children:"X\xd3A HẲN"})," khỏi gateway."]})]})]}),(0,d.jsx)("div",{className:"grid gap-3 sm:grid-cols-3",children:[["key_off","Token OAuth","Thử revoke upstream rồi x\xf3a token local"],["deployed_code","Model đ\xe3 import","X\xf3a dữ liệu model của connection"],["vpn_key_off","API key đ\xe3 g\xe1n","Gỡ model tương ứng khỏi API key"]].map(([a,b,c])=>(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-background p-4",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[22px] text-red-500",children:a}),(0,d.jsx)("div",{className:"mt-2 text-sm font-semibold text-text-main",children:b}),(0,d.jsx)("div",{className:"mt-1 text-xs leading-5 text-text-muted",children:c})]},b))}),(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface/70 p-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Connection t\xecm thấy"}),(0,d.jsx)(f.Ex,{variant:aS>0?"warning":"default",size:"sm",children:aS})]}),aR?(0,d.jsx)("div",{className:"mt-3 flex flex-wrap gap-2",children:t.map(a=>{let b=Number(aR.connectionsByProvider?.[a.id]||0);return b>0?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-border bg-background px-2.5 py-1 text-xs text-text-muted",children:[(0,d.jsx)(g.A,{src:`/providers/${a.id}.png`,alt:a.name,size:16,className:"max-h-[16px] max-w-[16px] rounded object-contain",fallbackText:a.id.slice(0,2).toUpperCase()}),a.name," \xd7",b]},a.id):null})}):null]}),(0,d.jsx)("p",{className:"text-xs leading-5 text-text-muted",children:"Nếu provider kh\xf4ng hỗ trợ revoke tự động hoặc kh\xf4ng phản hồi, gateway vẫn x\xf3a token local v\xe0 sẽ th\xf4ng b\xe1o để quản trị vi\xean thu hồi thủ c\xf4ng trong Security/Connected Apps của provider."})]})}):null]})}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},21820:a=>{"use strict";a.exports=require("os")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34631:a=>{"use strict";a.exports=require("tls")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41204:a=>{"use strict";a.exports=require("string_decoder")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},50296:(a,b,c)=>{Promise.resolve().then(c.bind(c,73335))},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},60024:(a,b,c)=>{Promise.resolve().then(c.bind(c,8385))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{"use strict";a.exports=import("pg")},66136:a=>{"use strict";a.exports=require("timers")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},73335:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\personalcloudprovider\\\\PersonalCloudProviderPageClient.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\personalcloudprovider\\PersonalCloudProviderPageClient.js","default")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},79428:a=>{"use strict";a.exports=require("buffer")},79748:a=>{"use strict";a.exports=require("fs/promises")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81046:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>O,handler:()=>Q,routeModule:()=>P});var d=c(7553),e=c(84006),f=c(67798),g=c(34775),h=c(99373),i=c(73461),j=c(1020),k=c(26349),l=c(54365),m=c(16023),n=c(14965),o=c(63747),p=c(24235),q=c(23938),r=c(261),s=c(66758),t=c(77243),u=c(26713),v=c(37527),w=c(22820),x=c(88216),y=c(47929),z=c(79551),A=c(71797),B=c(89125),C=c(86439),D=c(77068),E=c(27269),F=c(37525),G=c(61287),H=c(81494),I=c(70722),J=c(70753),K=c(43954),L=c(17891),M={};for(let a in G)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(M[a]=()=>G[a]);c.d(b,M);let N={children:["",{children:["(dashboard)",{children:["dashboard",{children:["personalcloudprovider",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,4984)),"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\personalcloudprovider\\page.js"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,30508)),"D:\\bluerouter\\src\\app\\(dashboard)\\layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,32059)),"D:\\bluerouter\\src\\app\\layout.js"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,70440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,O={require:c,loadChunk:()=>Promise.resolve()},P=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(dashboard)/dashboard/personalcloudprovider/page",pathname:"/dashboard/personalcloudprovider",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:N},distDir:".next-cli-build",relativeProjectDir:""});async function Q(a,b,d){var M,R,S,T,U;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),P.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let V=!!(0,h.getRequestMeta)(a,"minimalMode"),W="/(dashboard)/dashboard/personalcloudprovider/page";"/index"===W&&(W="/");let X=await P.prepare(a,b,{srcPage:W,multiZoneDraftMode:!1});if(!X)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Y,query:Z,params:$,pageIsDynamic:_,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,serverActionsManifest:ad,clientReferenceManifest:ae,subresourceIntegrityManifest:af,prerenderManifest:ag,isDraftMode:ah,resolvedPathname:ai,revalidateOnlyGenerated:aj,routerServerContext:ak,nextConfig:al,parsedUrl:am,interceptionRoutePatterns:an,deploymentId:ao,clientAssetToken:ap}=X,aq=(0,r.normalizeAppPath)(W),{isOnDemandRevalidate:ar}=X,as=al.experimental.ppr&&!al.cacheComponents&&(0,K.isInterceptionRouteAppPath)(ai)?null:P.match(ai,ag),at=(null==as?void 0:as.route)??null,au=!!ag.routes[ai],av=a.headers["user-agent"]||"",aw=(0,u.getBotType)(av),ax=(0,q.isHtmlBotRequest)(a),ay=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],az=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[t.RSC_HEADER]),aA=(0,s.getIsPossibleServerAction)(a),aB=(0,m.checkIsAppPPREnabled)(al.experimental.ppr),aC=a.headers[y.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&V&&aB&&aA&&aC&&"string"==typeof aC){let e=parseInt(aC,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(U=al.experimental.serverActions)?void 0:U.bodySizeLimit)??i,k=e+(j!==i?c(95726).parse(j):1048576),l=await (0,E.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&aB&&"1"===a.headers[y.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize),f=await (0,E.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aD=!0===P.isDev||!0===al.experimental.exposeTestingApiInProductionBuild,aE=aD&&("1"===a.headers[t.NEXT_INSTANT_PREFETCH_HEADER]||!(0,n.f)(a.headers[t.RSC_HEADER])&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(t.NEXT_INSTANT_TEST_COOKIE+"=")),aF=(aB||aE)&&((null==(M=ag.routes[aq]??ag.dynamicRoutes[aq])?void 0:M.renderingMode)==="PARTIALLY_STATIC"||aE&&(aD||(null==ak?void 0:ak.experimentalTestProxy)===!0)),aG=aE&&aF,aH=aG&&!0===P.isDev,aI=!1,aJ=aF?(0,h.getRequestMeta)(a,"postponed"):void 0,aK=null==(R=ag.routes[ai])?void 0:R.prefetchDataRoute,aL=aF&&az&&!ay&&!aK;V&&(aL=aL&&!!aJ);let aM=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aN=(!aw||!aF)&&(!av||(0,q.shouldServeStreamingMetadata)(av,al.htmlLimitedBots)),aO=!!((at||au||ag.routes[aq])&&!(aw&&aF)),aP=aF&&!0===al.cacheComponents,aQ=!0===P.isDev||!aO||"string"==typeof aJ||(aP&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aL&&!V:aL),aR=!!aw&&aF,aS=(null==at?void 0:at.remainingPrerenderableParams)??[],aT=(null==at?void 0:at.fallback)===null&&((null==(S=at.fallbackRootParams)?void 0:S.length)??0)>0,aU=null;if(!ah&&aO&&!aQ&&!aA&&!aJ&&!aL){let a=as?"string"==typeof(null==at?void 0:at.fallback)?at.fallback:as.source:null;if(!0===al.experimental.partialFallbacks&&a&&(null==at?void 0:at.fallbackRouteParams)&&!aT){if(aS.length>0){let b,c=(b=new Map(aS.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,L.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==$?void 0:$[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace((0,o.buildDynamicSegmentPlaceholder)(d),f)}).join("/")||"/");aU=c!==a?c:null}}else aU=ai}let aV=aU;!aV&&(P.isDev||aO&&_&&(null==at?void 0:at.fallbackRouteParams)&&!aA)&&(aV=ai),P.isDev||ah||!aO||!az||aL||(0,k.d)(a.headers);let aW={...G,tree:N,handler:Q,routeModule:P,__next_app__:O};ad&&ae&&(0,p.setManifestsSingleton)({page:W,clientReferenceManifest:ae,serverActionsManifest:ad});let aX=a.method||"GET",aY=(0,g.getTracer)(),aZ=aY.getActiveScopeSpan(),a$=!!(null==ak?void 0:ak.isWrappedByNextServer),a_=!0===al.experimental.partialFallbacks&&aS.length>0?(null==at||null==(T=at.fallbackRouteParams)?void 0:T.filter(a=>!aS.some(b=>b.paramName===a.paramName)))??[]:[],a0=async()=>((null==ak?void 0:ak.render404)?await ak.render404(a,b,am,!1):b.end("This page could not be found"),null);try{let k,m=P.getVaryHeader(ai,an);b.setHeader("Vary",m);let n=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return P.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aY.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aX} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aX} ${W}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await P.getIncrementalCache(a,al,ag,V);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:Z,params:$,page:aq,sharedContext:{buildId:Y,deploymentId:ao,clientAssetToken:ap},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aW,Component:(0,j.T)(aW),params:$,routeModule:P,page:W,postponed:f,shouldWaitOnAllReady:aR,serveStreamingMetadata:aN,supportsDynamicResponse:"string"==typeof f||aQ,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,subresourceIntegrityManifest:af,setCacheStatus:null==ak?void 0:ak.setCacheStatus,setIsrStatus:null==ak?void 0:ak.setIsrStatus,setReactDebugChannel:null==ak?void 0:ak.setReactDebugChannel,sendErrorsToBrowser:null==ak?void 0:ak.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),P.relativeProjectDir),isDraftMode:ah,botType:aw,isOnDemandRevalidate:ar,isPossibleServerAction:aA,assetPrefix:al.assetPrefix,nextConfigOutput:al.output,crossOrigin:al.crossOrigin,trailingSlash:al.trailingSlash,images:al.images,previewProps:ag.preview,enableTainting:al.experimental.taint,htmlLimitedBots:al.htmlLimitedBots,reactMaxHeadersLength:al.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:al.cacheLife,basePath:al.basePath,serverActions:al.experimental.serverActions,logServerFunctions:"object"==typeof al.logging&&!!al.logging.serverFunctions,...aG||aH||aI?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aH}:{},cacheComponents:!!al.cacheComponents,experimental:{isRoutePPREnabled:aF,expireTime:al.expireTime,staleTimes:al.experimental.staleTimes,dynamicOnHover:!!al.experimental.dynamicOnHover,optimisticRouting:!!al.experimental.optimisticRouting,inlineCss:!!al.experimental.inlineCss,prefetchInlining:al.experimental.prefetchInlining??!1,authInterrupts:!!al.experimental.authInterrupts,cachedNavigations:!!al.experimental.cachedNavigations,clientTraceMetadata:al.experimental.clientTraceMetadata||[],clientParamParsingOrigins:al.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,D.parseMaxPostponedStateSize)(al.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>P.onRequestError(a,b,d,e,ak),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await n(e,k),{metadata:m}=l,{cacheControl:o,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[y.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aO&&(null==o?void 0:o.revalidate)===0&&!P.isDev&&!aF){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ai}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:o}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===P.isDev,m=c||b.writableEnded;try{var n;let f;if(ar&&aj&&!g&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(at&&(f=(0,w.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(f=w.FallbackMode.PRERENDER),f===w.FallbackMode.PRERENDER&&(0,u.isBot)(av)&&(!aF||ax)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ar=!0),ar&&(f!==w.FallbackMode.NOT_FOUND||g)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),!V&&f!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!m&&!ah&&_&&(l||!au)){if((l||at)&&f===w.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new C.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let b=l&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,f=(l||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,o.getFallbackRouteParams)(aq,P):null;aG&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await P.handleResponse({cacheKey:b,req:a,nextConfig:al,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:V});if(null===g)return null;if(g)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!p||ar||aI||aD||aE||ay||(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(aU,p,aF,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,o.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let s=ar||i||!aJ?void 0:aJ;if(aP&&!V&&p&&(aL||aA)&&!k){let b=await p.get(ai,{kind:v.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===v.CachedRouteKind.APP_PAGE&&(s=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(ai,p,aF,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==s)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let t=!P.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,y=t&&t.length>0?t:null==at?void 0:at.fallbackRouteParams,z=null!=t&&t.length>0,A=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,h.getRequestMeta)(a,"resolvedRouteParamKeys");b&&b.size>0&&(A=at.fallbackRouteParams.filter(a=>!b.has(a.paramName)))}let B=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||z||aG&&!au)&&y?(0,o.createOpaqueFallbackRouteParams)(y):A&&A.length>0&&A.length<((null==at||null==(n=at.fallbackRouteParams)?void 0:n.length)??0)?(0,o.createOpaqueFallbackRouteParams)(A):aI?(0,o.getFallbackRouteParams)(aq,P):null;if((l||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,o.createOpaqueFallbackRouteParams)(y??at.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:s,fallbackRouteParams:B,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}},s=async c=>{var f,g,i,j,k,l;let m,n=await P.handleResponse({cacheKey:aU,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:a,nextConfig:al,prerenderManifest:ag,waitUntil:d.waitUntil,isMinimalMode:V});if(ah&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),P.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!n){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof n.value.postponed;az&&!aA&&ao&&b.setHeader(y.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!o||ay)&&(V||b.setHeader("x-nextjs-cache",ar?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=n;if(aJ)m={revalidate:0,expire:void 0};else if(aL)m={revalidate:0,expire:void 0};else if(!P.isDev)if(ah)m={revalidate:0,expire:void 0};else if(aO){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??al.expireTime}}else m={revalidate:y.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(n.cacheControl=m,"string"==typeof aM&&(null==p?void 0:p.kind)===v.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=p.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];V&&aO&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aM);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let s=aP?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(s){let b=(0,h.getRequestMeta)(a,"initURL")??a.url,c=b?(null==(l=(0,F.parseUrl)(b))?void 0:l.pathname)??b:void 0;if(await s(n,{url:c}))return null}if(p.headers){let a={...p.headers};for(let[c,d]of(V&&aO||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let u=null==(g=p.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&u&&"string"==typeof u&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,u),!p.status||az&&aF||(b.statusCode=p.status),!V&&p.status&&H.RedirectStatusCode[p.status]&&az&&(b.statusCode=200),o&&!aL&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===p.rscData){if(p.html.contentType!==t.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return b.statusCode=404,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl});else throw Object.defineProperty(new I.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:p.html,cacheControl:n.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(p.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let w=p.html;if(aE&&aG){let c=!0===P.isDev?crypto.randomUUID():null;return w.pipeThrough(await (0,A.createInstantTestScriptInsertionTransformStream)(c)),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})}if(!o||V||az)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:n.cacheControl});if(aG||aH)return w.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}});let C=new TransformStream;return w.push(C.readable),q({span:c,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(C.writable)}).catch(a=>{C.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return k=aY.getActiveScopeSpan(),await aY.withPropagatedContext(a.headers,()=>aY.trace(i.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":a.url}},s),void 0,!a$);await s(aZ)}catch(b){throw b instanceof C.NoFallbackError||await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}}},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,319,1361,1568,402,5681,4404,6064,6328,1340],()=>b(b.s=81046));module.exports=c})();