@jheavenknows/bluerouter 2.0.7 → 2.0.8

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 (942) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +3 -2
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/routes-manifest.json +8 -0
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +4 -4
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  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.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +2 -2
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  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.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/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.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  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.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  81. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  86. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  88. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  91. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  92. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  94. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  95. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  96. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  97. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
  99. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/login/route.js +4 -1
  107. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
  119. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +2 -2
  125. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  133. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  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-registry/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +2 -2
  163. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +2 -2
  171. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +2 -2
  173. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -0
  179. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -0
  180. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route_client-reference-manifest.js +1 -0
  181. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/keys/route.js +2 -2
  184. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +5 -5
  190. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  218. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  268. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  270. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  274. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  290. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  312. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  332. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/version/restart/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/version/restart/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  380. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  382. package/app/.next-cli-build/server/app/callback.html +1 -1
  383. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  384. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  385. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  386. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
  387. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  388. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  389. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  390. package/app/.next-cli-build/server/app/dashboard/analytics.html +1 -1
  391. package/app/.next-cli-build/server/app/dashboard/analytics.rsc +4 -4
  392. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics/__PAGE__.segment.rsc +1 -1
  393. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics.segment.rsc +1 -1
  394. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  395. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  396. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_full.segment.rsc +4 -4
  397. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_head.segment.rsc +1 -1
  398. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_index.segment.rsc +3 -3
  399. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_tree.segment.rsc +1 -1
  400. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  401. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +5 -5
  402. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +2 -2
  403. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys.segment.rsc +1 -1
  404. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  405. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  406. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +5 -5
  407. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_head.segment.rsc +1 -1
  408. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_index.segment.rsc +3 -3
  409. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +1 -1
  410. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  411. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
  412. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  413. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  414. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  415. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  416. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  417. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
  419. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  420. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  421. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
  422. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  423. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  424. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  425. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  426. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  427. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  428. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
  429. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  430. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  431. package/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
  432. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  433. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  434. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  435. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  436. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
  437. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  438. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
  439. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  440. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  441. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
  442. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  443. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  445. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  446. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
  447. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
  449. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
  452. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  455. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  457. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  458. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
  460. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  462. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  463. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  464. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  465. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  467. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  468. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  469. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
  470. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  472. package/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
  473. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  475. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  477. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
  478. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
  480. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  482. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +4 -4
  483. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs.segment.rsc +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  487. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +4 -4
  488. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_head.segment.rsc +1 -1
  489. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_index.segment.rsc +3 -3
  490. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +4 -4
  493. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health.segment.rsc +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  497. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +4 -4
  498. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_head.segment.rsc +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_index.segment.rsc +3 -3
  500. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
  503. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  504. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  505. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  509. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
  511. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
  514. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  516. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  518. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
  519. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
  521. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  522. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  523. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  524. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  525. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  526. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  528. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  529. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
  531. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  533. package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
  534. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  535. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  536. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  537. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  539. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
  541. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  542. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  543. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  544. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  546. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  547. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  548. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
  550. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  552. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  553. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  556. package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
  557. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  558. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  560. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  561. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  562. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  563. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
  564. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  567. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  568. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  571. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  572. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  573. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
  574. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  577. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  579. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  581. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  582. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
  584. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  585. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  586. package/app/.next-cli-build/server/app/dashboard.rsc +5 -5
  587. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  589. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  590. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
  591. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  592. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
  593. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  594. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  595. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  596. package/app/.next-cli-build/server/app/index.html +1 -1
  597. package/app/.next-cli-build/server/app/index.rsc +3 -3
  598. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  599. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  600. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  601. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
  602. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  603. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  604. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  605. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  606. package/app/.next-cli-build/server/app/landing.html +1 -1
  607. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  608. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  609. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  610. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
  611. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  612. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  613. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  614. package/app/.next-cli-build/server/app/login/page.js +2 -2
  615. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  616. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  617. package/app/.next-cli-build/server/app/login.html +1 -1
  618. package/app/.next-cli-build/server/app/login.rsc +3 -3
  619. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  620. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  621. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
  622. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  623. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  625. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  626. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  627. package/app/.next-cli-build/server/app/page.js +2 -2
  628. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  629. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  630. package/app/.next-cli-build/server/app-paths-manifest.json +3 -2
  631. package/app/.next-cli-build/server/chunks/12.js +1 -1
  632. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  633. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  634. package/app/.next-cli-build/server/chunks/5087.js +2 -2
  635. package/app/.next-cli-build/server/chunks/7130.js +1 -1
  636. package/app/.next-cli-build/server/chunks/7153.js +1 -1
  637. package/app/.next-cli-build/server/chunks/7795.js +3 -3
  638. package/app/.next-cli-build/server/chunks/7812.js +1 -0
  639. package/app/.next-cli-build/server/chunks/8491.js +2 -2
  640. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  641. package/app/.next-cli-build/server/pages/404.html +1 -1
  642. package/app/.next-cli-build/server/pages/500.html +1 -1
  643. package/app/.next-cli-build/static/chunks/{1321-77da7b116160442a.js → 1321-c0e33c804c586c89.js} +1 -1
  644. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/api-keys/page-f6f053af35bb3a12.js +5 -0
  645. package/app/.next-cli-build/static/chunks/app/_global-error/page-be7396551bf03a70.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-be7396551bf03a70.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-be7396551bf03a70.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-be7396551bf03a70.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-be7396551bf03a70.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-be7396551bf03a70.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-be7396551bf03a70.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-be7396551bf03a70.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-be7396551bf03a70.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-be7396551bf03a70.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-be7396551bf03a70.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-be7396551bf03a70.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-be7396551bf03a70.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-be7396551bf03a70.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-be7396551bf03a70.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-be7396551bf03a70.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-be7396551bf03a70.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-be7396551bf03a70.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-be7396551bf03a70.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-be7396551bf03a70.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-be7396551bf03a70.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-be7396551bf03a70.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-be7396551bf03a70.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-be7396551bf03a70.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-be7396551bf03a70.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-be7396551bf03a70.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-be7396551bf03a70.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-be7396551bf03a70.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-be7396551bf03a70.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-be7396551bf03a70.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/combos/route-be7396551bf03a70.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-be7396551bf03a70.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-be7396551bf03a70.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-be7396551bf03a70.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-be7396551bf03a70.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-be7396551bf03a70.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-be7396551bf03a70.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/health/route-be7396551bf03a70.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/init/route-be7396551bf03a70.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-be7396551bf03a70.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-be7396551bf03a70.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/keys/route-be7396551bf03a70.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/locale/route-be7396551bf03a70.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-be7396551bf03a70.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-be7396551bf03a70.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-be7396551bf03a70.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-be7396551bf03a70.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-be7396551bf03a70.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-be7396551bf03a70.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-be7396551bf03a70.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-be7396551bf03a70.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-be7396551bf03a70.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-be7396551bf03a70.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-be7396551bf03a70.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/models/route-be7396551bf03a70.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/models/test/route-be7396551bf03a70.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-be7396551bf03a70.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-be7396551bf03a70.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-be7396551bf03a70.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-be7396551bf03a70.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-be7396551bf03a70.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-be7396551bf03a70.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-be7396551bf03a70.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-be7396551bf03a70.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-be7396551bf03a70.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-be7396551bf03a70.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/pricing/route-be7396551bf03a70.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-be7396551bf03a70.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-be7396551bf03a70.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-be7396551bf03a70.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-be7396551bf03a70.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-be7396551bf03a70.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-be7396551bf03a70.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-be7396551bf03a70.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-be7396551bf03a70.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-be7396551bf03a70.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-be7396551bf03a70.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/providers/route-be7396551bf03a70.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-be7396551bf03a70.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-be7396551bf03a70.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-be7396551bf03a70.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-be7396551bf03a70.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-be7396551bf03a70.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-be7396551bf03a70.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-be7396551bf03a70.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-be7396551bf03a70.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-be7396551bf03a70.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-be7396551bf03a70.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-be7396551bf03a70.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-be7396551bf03a70.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/settings/route-be7396551bf03a70.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-be7396551bf03a70.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/tags/route-be7396551bf03a70.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-be7396551bf03a70.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-be7396551bf03a70.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-be7396551bf03a70.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-be7396551bf03a70.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-be7396551bf03a70.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-be7396551bf03a70.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-be7396551bf03a70.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-be7396551bf03a70.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-be7396551bf03a70.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-be7396551bf03a70.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-be7396551bf03a70.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-be7396551bf03a70.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-be7396551bf03a70.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-be7396551bf03a70.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-be7396551bf03a70.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-be7396551bf03a70.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-be7396551bf03a70.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-be7396551bf03a70.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-be7396551bf03a70.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-be7396551bf03a70.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-be7396551bf03a70.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-be7396551bf03a70.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-be7396551bf03a70.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-be7396551bf03a70.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-be7396551bf03a70.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-be7396551bf03a70.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-be7396551bf03a70.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-be7396551bf03a70.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-be7396551bf03a70.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-be7396551bf03a70.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-be7396551bf03a70.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-be7396551bf03a70.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-be7396551bf03a70.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-be7396551bf03a70.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-be7396551bf03a70.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-be7396551bf03a70.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-be7396551bf03a70.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/v1/route-be7396551bf03a70.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-be7396551bf03a70.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-be7396551bf03a70.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-be7396551bf03a70.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-be7396551bf03a70.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-be7396551bf03a70.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/version/route-be7396551bf03a70.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-be7396551bf03a70.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/version/update/route-be7396551bf03a70.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-be7396551bf03a70.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/page-be7396551bf03a70.js +1 -0
  786. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-be7396551bf03a70.js +1 -0
  787. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-be7396551bf03a70.js +1 -0
  788. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-be7396551bf03a70.js +1 -0
  789. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-be7396551bf03a70.js +1 -0
  790. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-2.0.7-to-2.0.8-2.0.8-20260610-233557/data.sqlite +0 -0
  791. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-shm +0 -0
  792. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-wal +0 -0
  793. package/app/package.json +1 -1
  794. package/package.json +1 -1
  795. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/api-keys/page-c9ebf7609f2f7b9b.js +0 -5
  796. package/app/.next-cli-build/static/chunks/app/_global-error/page-e49b839587c2aa2b.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-e49b839587c2aa2b.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-e49b839587c2aa2b.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-e49b839587c2aa2b.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-e49b839587c2aa2b.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-e49b839587c2aa2b.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-e49b839587c2aa2b.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-e49b839587c2aa2b.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-e49b839587c2aa2b.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-e49b839587c2aa2b.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-e49b839587c2aa2b.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-e49b839587c2aa2b.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-e49b839587c2aa2b.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-e49b839587c2aa2b.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-e49b839587c2aa2b.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-e49b839587c2aa2b.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-e49b839587c2aa2b.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-e49b839587c2aa2b.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-e49b839587c2aa2b.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-e49b839587c2aa2b.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-e49b839587c2aa2b.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-e49b839587c2aa2b.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-e49b839587c2aa2b.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-e49b839587c2aa2b.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-e49b839587c2aa2b.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-e49b839587c2aa2b.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-e49b839587c2aa2b.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-e49b839587c2aa2b.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-e49b839587c2aa2b.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-e49b839587c2aa2b.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/combos/route-e49b839587c2aa2b.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-e49b839587c2aa2b.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-e49b839587c2aa2b.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-e49b839587c2aa2b.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-e49b839587c2aa2b.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-e49b839587c2aa2b.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-e49b839587c2aa2b.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/health/route-e49b839587c2aa2b.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/init/route-e49b839587c2aa2b.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-e49b839587c2aa2b.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/keys/route-e49b839587c2aa2b.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/locale/route-e49b839587c2aa2b.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-e49b839587c2aa2b.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-e49b839587c2aa2b.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-e49b839587c2aa2b.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-e49b839587c2aa2b.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-e49b839587c2aa2b.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-e49b839587c2aa2b.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-e49b839587c2aa2b.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-e49b839587c2aa2b.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-e49b839587c2aa2b.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-e49b839587c2aa2b.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-e49b839587c2aa2b.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/models/route-e49b839587c2aa2b.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/models/test/route-e49b839587c2aa2b.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-e49b839587c2aa2b.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-e49b839587c2aa2b.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-e49b839587c2aa2b.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-e49b839587c2aa2b.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-e49b839587c2aa2b.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-e49b839587c2aa2b.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-e49b839587c2aa2b.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-e49b839587c2aa2b.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-e49b839587c2aa2b.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-e49b839587c2aa2b.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/pricing/route-e49b839587c2aa2b.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-e49b839587c2aa2b.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-e49b839587c2aa2b.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-e49b839587c2aa2b.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-e49b839587c2aa2b.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-e49b839587c2aa2b.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-e49b839587c2aa2b.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-e49b839587c2aa2b.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-e49b839587c2aa2b.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-e49b839587c2aa2b.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-e49b839587c2aa2b.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/providers/route-e49b839587c2aa2b.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-e49b839587c2aa2b.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-e49b839587c2aa2b.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-e49b839587c2aa2b.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-e49b839587c2aa2b.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-e49b839587c2aa2b.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-e49b839587c2aa2b.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-e49b839587c2aa2b.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-e49b839587c2aa2b.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-e49b839587c2aa2b.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-e49b839587c2aa2b.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-e49b839587c2aa2b.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-e49b839587c2aa2b.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/settings/route-e49b839587c2aa2b.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-e49b839587c2aa2b.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/tags/route-e49b839587c2aa2b.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-e49b839587c2aa2b.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-e49b839587c2aa2b.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-e49b839587c2aa2b.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-e49b839587c2aa2b.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-e49b839587c2aa2b.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-e49b839587c2aa2b.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-e49b839587c2aa2b.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-e49b839587c2aa2b.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-e49b839587c2aa2b.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-e49b839587c2aa2b.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-e49b839587c2aa2b.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-e49b839587c2aa2b.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-e49b839587c2aa2b.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-e49b839587c2aa2b.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-e49b839587c2aa2b.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-e49b839587c2aa2b.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-e49b839587c2aa2b.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-e49b839587c2aa2b.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-e49b839587c2aa2b.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-e49b839587c2aa2b.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-e49b839587c2aa2b.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-e49b839587c2aa2b.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-e49b839587c2aa2b.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-e49b839587c2aa2b.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-e49b839587c2aa2b.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-e49b839587c2aa2b.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-e49b839587c2aa2b.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-e49b839587c2aa2b.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-e49b839587c2aa2b.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-e49b839587c2aa2b.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-e49b839587c2aa2b.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-e49b839587c2aa2b.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-e49b839587c2aa2b.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-e49b839587c2aa2b.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-e49b839587c2aa2b.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-e49b839587c2aa2b.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-e49b839587c2aa2b.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/v1/route-e49b839587c2aa2b.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-e49b839587c2aa2b.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-e49b839587c2aa2b.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-e49b839587c2aa2b.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-e49b839587c2aa2b.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-e49b839587c2aa2b.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/version/route-e49b839587c2aa2b.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-e49b839587c2aa2b.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/version/update/route-e49b839587c2aa2b.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-e49b839587c2aa2b.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/page-e49b839587c2aa2b.js +0 -1
  936. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-e49b839587c2aa2b.js +0 -1
  937. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-e49b839587c2aa2b.js +0 -1
  938. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-e49b839587c2aa2b.js +0 -1
  939. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-e49b839587c2aa2b.js +0 -1
  940. /package/app/.next-cli-build/static/{8ot_phsWQ3OJpuNeK7fPo → mJdvjGHsg6f_AXOgn6aYc}/_buildManifest.js +0 -0
  941. /package/app/.next-cli-build/static/{8ot_phsWQ3OJpuNeK7fPo → mJdvjGHsg6f_AXOgn6aYc}/_ssgManifest.js +0 -0
  942. /package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/{upgrade-1.0.132-to-2.0.3-2.0.3-20260610-214911 → upgrade-2.0.6-to-2.0.7-2.0.7-20260610-230913}/data.sqlite +0 -0
@@ -1,6 +1,6 @@
1
- (()=>{var a={};a.id=7593,a.ids=[7593],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11777:(a,b,c)=>{Promise.resolve().then(c.bind(c,68070))},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")},21820:a=>{"use strict";a.exports=require("os")},24929:(a,b,c)=>{Promise.resolve().then(c.bind(c,86396))},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},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")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68070:(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\\\\api-keys\\\\ApiKeysPageClient.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\\api-keys\\ApiKeysPageClient.js","default")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},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")},77619:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735),e=c(68070);function f(){return(0,d.jsx)(e.default,{})}},80099:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86396:(a,b,c)=>{"use strict";c.d(b,{default:()=>y});var d=c(48249),e=c(67484),f=c(50412),g=c(20151),h=c(50377);let i=Object.freeze({enabled:!0,requestsPerMinute:20,requestsPerHour:0,requestsPerDay:0,promptCharsMax:12e4,forceThinkingOff:!0,allowedIpCidrs:[],expiresAt:""});function j(a){return String(a||"").trim().toLowerCase()}function k(a){return Array.isArray(a)?[...new Set(a.map(a=>String(a||"").trim()).filter(Boolean))]:[]}function l(a,b=0){let c=Number(a);return Number.isFinite(c)?Math.max(0,Math.floor(c)):b}function m(a,b=!0){return null==a||""===a?b:!0===a||"true"===a||1===a||"1"===a}function n(a){return Array.isArray(a)?[...new Set(a.map(a=>String(a||"").trim()).filter(Boolean))]:[]}function o(a){return a&&"object"==typeof a&&!Array.isArray(a)&&Object.keys(a).length>0}function p(a={},b={}){let c={...b},d=a&&"object"==typeof a&&!Array.isArray(a)?a:{};return{enabled:m(d.enabled??c.enabled,!0),requestsPerMinute:l(d.requestsPerMinute??c.requestsPerMinute,0),requestsPerHour:l(d.requestsPerHour??c.requestsPerHour,0),requestsPerDay:l(d.requestsPerDay??c.requestsPerDay,0),promptCharsMax:l(d.promptCharsMax??c.promptCharsMax,0),forceThinkingOff:m(d.forceThinkingOff??c.forceThinkingOff,!0),allowedIpCidrs:n(d.allowedIpCidrs??c.allowedIpCidrs),expiresAt:String(d.expiresAt??c.expiresAt??"").trim()}}function q({limits:a}){if(!o(a))return(0,d.jsx)("div",{className:"mt-2 flex flex-wrap gap-2 text-xs text-text-muted",children:(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"policy: chưa set, kh\xf4ng giới hạn"})});let b=p(a);return(0,d.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2 text-xs text-text-muted",children:[(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:["policy: ",b.enabled?"bật":"tắt"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.requestsPerMinute||"∞"," req/ph\xfat"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.requestsPerHour||"∞"," req/giờ"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.requestsPerDay||"∞"," req/ng\xe0y"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.promptCharsMax||"∞"," chars prompt"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:["thinking: ",b.forceThinkingOff?"force off":"client tự quyết"]}),b.allowedIpCidrs.length>0?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"IP locked"}):null]})}function r({label:a,value:b,onChange:c,hint:e}){return(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:a}),(0,d.jsx)("input",{type:"number",min:"0",value:b,onChange:a=>c(l(a.target.value,0)),className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary"}),e?(0,d.jsx)("span",{className:"mt-1 block text-xs text-text-muted",children:e}):null]})}function s({isOpen:a,keyName:b,policy:c,setPolicy:e,onClose:g,onSave:h,onClear:j,saving:k,clearLabel:l="X\xf3a policy / kh\xf4ng limit"}){let m=p(c,i),o=(a,b)=>e(c=>p({...c,[a]:b},i));return(0,d.jsx)(f.aF,{isOpen:a,onClose:g,title:`Policy API key: ${b||"API Key"}`,size:"xl",children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface/60 p-3 text-sm text-text-muted",children:["Key mới tự c\xf3 ",(0,d.jsx)("b",{children:"default policy"}),". Chỉ admin được sửa policy. C\xe1c gi\xe1 trị 0 nghĩa l\xe0 kh\xf4ng giới hạn theo mục đ\xf3. Policy n\xe0y kh\xf4ng \xe9p max_tokens/output tokens."]}),(0,d.jsxs)("label",{className:"flex items-center justify-between gap-3 rounded-xl border border-border p-3 text-sm",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Bật policy"}),(0,d.jsx)("br",{}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Tắt mục n\xe0y th\xec policy được lưu nhưng kh\xf4ng \xe1p limit."})]}),(0,d.jsx)("input",{type:"checkbox",checked:m.enabled,onChange:a=>o("enabled",a.target.checked)})]}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,d.jsx)(r,{label:"Request / ph\xfat",value:m.requestsPerMinute,onChange:a=>o("requestsPerMinute",a)}),(0,d.jsx)(r,{label:"Request / giờ",value:m.requestsPerHour,onChange:a=>o("requestsPerHour",a),hint:"0 = kh\xf4ng giới hạn"}),(0,d.jsx)(r,{label:"Request / ng\xe0y",value:m.requestsPerDay,onChange:a=>o("requestsPerDay",a),hint:"0 = kh\xf4ng giới hạn"})]}),(0,d.jsx)(r,{label:"Prompt chars tối đa",value:m.promptCharsMax,onChange:a=>o("promptCharsMax",a),hint:"0 = kh\xf4ng giới hạn. Policy kh\xf4ng can thiệp max_tokens/output tokens của client."}),(0,d.jsxs)("label",{className:"flex items-center justify-between gap-3 rounded-xl border border-border p-3 text-sm",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Force Thinking Off"}),(0,d.jsx)("br",{}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Khi bật, gateway \xe9p request c\xf3 chat_template_kwargs.enable_thinking=false v\xe0 reasoning_budget=0."})]}),(0,d.jsx)("input",{type:"checkbox",checked:m.forceThinkingOff,onChange:a=>o("forceThinkingOff",a.target.checked)})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"IP/CIDR được ph\xe9p"}),(0,d.jsx)("textarea",{value:n(m.allowedIpCidrs).join("\n"),onChange:a=>o("allowedIpCidrs",[...new Set(String(a.target.value||"").split(/[\n,]+/).map(a=>a.trim()).filter(Boolean))]),rows:3,className:"w-full rounded-xl border border-border bg-background px-3 py-2 font-mono text-sm text-text-main outline-none focus:border-primary",placeholder:"10.0.0.0/8\n192.168.0.0/16"}),(0,d.jsx)("span",{className:"mt-1 block text-xs text-text-muted",children:"Để trống = mọi IP. Hỗ trợ IPv4 exact hoặc CIDR."})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"Hết hạn l\xfac"}),(0,d.jsx)("input",{value:m.expiresAt,onChange:a=>o("expiresAt",a.target.value),className:"w-full rounded-xl border border-border bg-background px-3 py-2 font-mono text-sm text-text-main outline-none focus:border-primary",placeholder:"2026-12-31T23:59:59+07:00 hoặc để trống"})]}),(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:g,children:"Hủy"}),j?(0,d.jsx)(f.$n,{variant:"outline",onClick:j,disabled:k,children:l}):null,(0,d.jsx)(f.$n,{onClick:()=>h(m),disabled:k,children:k?"Đang lưu...":"Lưu policy"})]})]})})}function t({open:a,keyName:b,models:c,setModels:g,activeProviders:h,modelAliases:i,onClose:j,onSave:l,saving:m}){let[n,o]=(0,e.useState)(!1),p=k(c),q=a=>{let b=a?.value||a?.name||a;g(a=>k(a).filter(a=>a!==b))};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.aF,{isOpen:a,onClose:j,title:`Model access: ${b||"API Key"}`,size:"xl",children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Chọn một hoặc nhiều model m\xe0 API key n\xe0y được ph\xe9p sử dụng. Trang n\xe0y kh\xf4ng cho lưu danh s\xe1ch model rỗng."}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("span",{className:"text-sm font-medium",children:"Model được ph\xe9p d\xf9ng"}),(0,d.jsx)(f.$n,{size:"sm",variant:"outline",onClick:()=>o(!0),children:"Th\xeam model"})]}),0===p.length?(0,d.jsx)("div",{className:"rounded-xl border border-dashed border-border p-4 text-sm text-text-muted",children:"Chưa chọn model n\xe0o. H\xe3y th\xeam \xedt nhất một model trước khi lưu."}):(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:p.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>q(a),className:"rounded-full border border-primary/30 bg-primary/10 px-2 py-1 font-mono text-xs text-primary transition hover:bg-red-500/10 hover:text-red-600",title:"Bấm để gỡ model n\xe0y",children:[a," \xd7"]},a))}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:j,children:"Hủy"}),(0,d.jsx)(f.$n,{onClick:l,disabled:m||0===p.length,children:m?"Đang lưu...":"Lưu danh s\xe1ch model"})]})]})}),(0,d.jsx)(f.rq,{isOpen:n,onClose:()=>o(!1),onSelect:a=>{let b=a?.value||a?.name||a;b&&g(a=>k([...a,b]))},onDeselect:q,activeProviders:h,modelAliases:i,title:"Chọn model được ph\xe9p d\xf9ng",addedModelValues:p,closeOnSelect:!1})]})}function u({active:a}){return a?(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-emerald-500/30 bg-emerald-500/10 px-2 py-1 text-xs font-medium text-emerald-700 dark:text-emerald-300",children:"Đang bật"}):(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-red-500/30 bg-red-500/10 px-2 py-1 text-xs font-medium text-red-700 dark:text-red-300",children:"Đ\xe3 tắt"})}function v({label:a,value:b,hint:c}){return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface/70 p-4",children:[(0,d.jsx)("div",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:a}),(0,d.jsx)("div",{className:"mt-2 text-2xl font-semibold text-text-main",children:b}),c?(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:c}):null]})}function w({pagination:a,pageSize:b,onPageChange:c,onPageSizeChange:e,loading:g}){let h=Number(a?.page||1),i=Number(a?.totalPages||1),j=Number(a?.total||0),k=0===j?0:(h-1)*b+1,l=Math.min(j,h*b);return(0,d.jsxs)("div",{className:"flex flex-col gap-3 border-t border-border px-4 py-3 md:flex-row md:items-center md:justify-between",children:[(0,d.jsxs)("div",{className:"text-sm text-text-muted",children:["Hiển thị ",(0,d.jsx)("b",{children:k}),"–",(0,d.jsx)("b",{children:l})," / ",(0,d.jsx)("b",{children:j})," API keys"]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsxs)("select",{value:b,onChange:a=>e(Number(a.target.value)),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary",disabled:g,children:[(0,d.jsx)("option",{value:25,children:"25 / trang"}),(0,d.jsx)("option",{value:50,children:"50 / trang"}),(0,d.jsx)("option",{value:100,children:"100 / trang"})]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(1),disabled:g||h<=1,children:"Đầu"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(Math.max(1,h-1)),disabled:g||h<=1,children:"Trước"}),(0,d.jsxs)("span",{className:"rounded-xl border border-border bg-surface px-3 py-2 text-sm",children:["Trang ",h,"/",i]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(Math.min(i,h+1)),disabled:g||h>=i,children:"Sau"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(i),disabled:g||h>=i,children:"Cuối"})]})]})}function x({keys:a,visibleKeys:b,copied:c,copy:e,isAdmin:g,onToggleVisible:h,onToggleActive:i,onApiTest:j,onRename:l,onEditModels:m,onEditPolicy:n,onAssignOwner:q,onDelete:r}){return(0,d.jsx)("div",{className:"overflow-hidden rounded-2xl border border-border",children:(0,d.jsx)("div",{className:"overflow-x-auto",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:"whitespace-nowrap px-4 py-3 font-medium",children:"T\xean / Key"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Trạng th\xe1i"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Owner"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Model"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Policy"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Ng\xe0y tạo"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 text-right font-medium",children:"Thao t\xe1c"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:a.map(a=>{var s;let t=b.has(a.id),v=a.ownerUser||a.createdByUser||"chưa g\xe1n",w=k(a.allowedModels),x=o(a.limits),y=p(a.limits||{});return(0,d.jsxs)("tr",{className:"align-top transition hover:bg-surface/50",children:[(0,d.jsxs)("td",{className:"min-w-[280px] px-4 py-4",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:a.name||"API Key"}),(0,d.jsxs)("div",{className:"mt-2 flex max-w-[380px] items-center gap-2 rounded-xl border border-border bg-surface px-3 py-2 font-mono text-xs text-text-main",children:[(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:t?a.key:(s=a.key)?s.length>12?`${s.slice(0,8)}...${s.slice(-4)}`:s:""}),(0,d.jsx)("button",{type:"button",className:"text-primary hover:underline",onClick:()=>h(a.id),children:t?"Ẩn":"Hiện"})]}),a.createdByUser?(0,d.jsxs)("div",{className:"mt-2 text-xs text-text-muted",children:["Tạo bởi: ",a.createdByUser]}):null]}),(0,d.jsx)("td",{className:"whitespace-nowrap px-4 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)(u,{active:!!a.isActive}),(0,d.jsx)(f.lM,{checked:!!a.isActive,onChange:b=>i(a.id,b)})]})}),(0,d.jsx)("td",{className:"min-w-[160px] px-4 py-4",children:(0,d.jsx)("div",{className:"break-all text-sm text-text-main",children:v})}),(0,d.jsx)("td",{className:"min-w-[220px] px-4 py-4",children:w.length>0?(0,d.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[w.slice(0,3).map(a=>(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1 font-mono text-xs",children:a},a)),w.length>3?(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1 text-xs",children:["+",w.length-3]}):null]}):(0,d.jsx)("span",{className:"rounded-full border border-amber-500/30 bg-amber-500/10 px-2 py-1 text-xs text-amber-700 dark:text-amber-300",children:"Legacy full access"})}),(0,d.jsx)("td",{className:"min-w-[220px] px-4 py-4",children:x?(0,d.jsxs)("div",{className:"flex flex-wrap gap-1.5 text-xs",children:[(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:y.enabled?"bật":"tắt"}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[y.requestsPerMinute||"∞","/ph\xfat"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[y.promptCharsMax||"∞"," chars"]}),y.forceThinkingOff?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"thinking off"}):null,y.allowedIpCidrs.length>0?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"IP locked"}):null]}):(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1 text-xs text-text-muted",children:"chưa set"})}),(0,d.jsx)("td",{className:"min-w-[150px] px-4 py-4 text-xs text-text-muted",children:function(a){if(!a)return"kh\xf4ng r\xf5";try{return new Date(a).toLocaleString()}catch{return String(a)}}(a.createdAt)}),(0,d.jsx)("td",{className:"min-w-[260px] 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:()=>e(a.key,a.id),children:c===a.id?"Đ\xe3 copy":"Copy"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>j(a),children:"Test"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>l(a.id,a.name),children:"Đổi t\xean"}),g?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>m(a),children:"Models"}):null,g?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>n(a),children:"Policy"}):null,g?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>q(a.id,v),children:"Owner"}):null,(0,d.jsx)(f.$n,{variant:"danger",size:"sm",onClick:()=>r(a.id),children:"X\xf3a"})]})})]},a.id)})})]})})})}function y(){let a,b,[c,l]=(0,e.useState)([]),[m,n]=(0,e.useState)(!0),[r,u]=(0,e.useState)(""),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(""),[C,D]=(0,e.useState)(""),[E,F]=(0,e.useState)(""),[G,H]=(0,e.useState)(""),[I,J]=(0,e.useState)(new Set),[K,L]=(0,e.useState)(null),[M,N]=(0,e.useState)([]),[O,P]=(0,e.useState)(""),[Q,R]=(0,e.useState)(!1),[S,T]=(0,e.useState)(!1),[U,V]=(0,e.useState)(""),[W,X]=(0,e.useState)(""),[Y,Z]=(0,e.useState)(!1),[$,_]=(0,e.useState)(i),[aa,ab]=(0,e.useState)(i),[ac,ad]=(0,e.useState)(!1),[ae,af]=(0,e.useState)(!1),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)([]),[ak,al]=(0,e.useState)({}),[am,an]=(0,e.useState)(!1),[ao,ap]=(0,e.useState)(!1),[aq,ar]=(0,e.useState)(null),[as,at]=(0,e.useState)([]),[au,av]=(0,e.useState)(!1),[aw,ax]=(0,e.useState)(null),[ay,az]=(0,e.useState)(i),[aA,aB]=(0,e.useState)(!1),[aC,aD]=(0,e.useState)(5),[aE,aF]=(0,e.useState)(0),[aG,aH]=(0,e.useState)(0),[aI,aJ]=(0,e.useState)(""),[aK,aL]=(0,e.useState)(null),[aM,aN]=(0,e.useState)(""),[aO,aP]=(0,e.useState)(""),[aQ,aR]=(0,e.useState)("all"),[aS,aT]=(0,e.useState)(1),[aU,aV]=(0,e.useState)(25),[aW,aX]=(0,e.useState)({page:1,pageSize:25,total:0,totalAll:0,totalPages:1,status:"all",search:""}),{copied:aY,copy:aZ}=(0,h.C)(),{isAdmin:a$,userId:a_}=(0,g.s)(),a0=Number.isFinite(Number(aC))?Number(aC):5,a1=Number.isFinite(Number(aE))?Number(aE):c.length,a2=Number.isFinite(Number(aG))?Number(aG):Number(aW.totalAll||aW.total||0),a3=Number(aW.total||0),a4=!a$&&a1>=a0,a5=aI?`${aI}/v1`:"/v1",a6=aI?`${aI}/v1/chat/completions`:"/v1/chat/completions",a7=(a=k(aK?.allowedModels)[0],b=String(U||"").trim(),a||b||"YOUR_MODEL"),a8=aK?function({endpoint:a,apiKey:b,model:c}){let d=String(a||"/v1/chat/completions").replace(/"/g,""),e=String(b||"YOUR_API_KEY").replace(/"/g,""),f=JSON.stringify({model:String(c||"YOUR_MODEL"),messages:[{role:"user",content:"Say hi.\nReply in one short sentence."}],temperature:.2,stream:!1}).replace(/"/g,'\\"');return`curl.exe -X POST "${d}" ^
1
+ (()=>{var a={};a.id=7593,a.ids=[7593],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11777:(a,b,c)=>{Promise.resolve().then(c.bind(c,68070))},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")},21820:a=>{"use strict";a.exports=require("os")},24929:(a,b,c)=>{Promise.resolve().then(c.bind(c,86396))},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},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")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},46293:a=>{"use strict";a.exports=require("sql.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68070:(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\\\\api-keys\\\\ApiKeysPageClient.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\\api-keys\\ApiKeysPageClient.js","default")},68939:(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:["api-keys",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,77619)),"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\api-keys\\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/api-keys/page",pathname:"/dashboard/api-keys",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/api-keys/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}}},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},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")},77619:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735),e=c(68070);function f(){return(0,d.jsx)(e.default,{})}},80099:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86396:(a,b,c)=>{"use strict";c.d(b,{default:()=>y});var d=c(48249),e=c(67484),f=c(50412),g=c(20151),h=c(50377);let i=Object.freeze({enabled:!0,requestsPerMinute:20,requestsPerHour:0,requestsPerDay:0,promptCharsMax:12e4,forceThinkingOff:!0,allowedIpCidrs:[],expiresAt:""});function j(a){return String(a||"").trim().toLowerCase()}function k(a){return Array.isArray(a)?[...new Set(a.map(a=>String(a||"").trim()).filter(Boolean))]:[]}function l(a,b=0){let c=Number(a);return Number.isFinite(c)?Math.max(0,Math.floor(c)):b}function m(a,b=!0){return null==a||""===a?b:!0===a||"true"===a||1===a||"1"===a}function n(a){return Array.isArray(a)?[...new Set(a.map(a=>String(a||"").trim()).filter(Boolean))]:[]}function o(a){return a&&"object"==typeof a&&!Array.isArray(a)&&Object.keys(a).length>0}function p(a={},b={}){let c={...b},d=a&&"object"==typeof a&&!Array.isArray(a)?a:{};return{enabled:m(d.enabled??c.enabled,!0),requestsPerMinute:l(d.requestsPerMinute??c.requestsPerMinute,0),requestsPerHour:l(d.requestsPerHour??c.requestsPerHour,0),requestsPerDay:l(d.requestsPerDay??c.requestsPerDay,0),promptCharsMax:l(d.promptCharsMax??c.promptCharsMax,0),forceThinkingOff:m(d.forceThinkingOff??c.forceThinkingOff,!0),allowedIpCidrs:n(d.allowedIpCidrs??c.allowedIpCidrs),expiresAt:String(d.expiresAt??c.expiresAt??"").trim()}}function q({limits:a}){if(!o(a))return(0,d.jsx)("div",{className:"mt-2 flex flex-wrap gap-2 text-xs text-text-muted",children:(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"policy: chưa set, kh\xf4ng giới hạn"})});let b=p(a);return(0,d.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2 text-xs text-text-muted",children:[(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:["policy: ",b.enabled?"bật":"tắt"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.requestsPerMinute||"∞"," req/ph\xfat"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.requestsPerHour||"∞"," req/giờ"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.requestsPerDay||"∞"," req/ng\xe0y"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[b.promptCharsMax||"∞"," chars prompt"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:["thinking: ",b.forceThinkingOff?"force off":"client tự quyết"]}),b.allowedIpCidrs.length>0?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"IP locked"}):null]})}function r({label:a,value:b,onChange:c,hint:e}){return(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:a}),(0,d.jsx)("input",{type:"number",min:"0",value:b,onChange:a=>c(l(a.target.value,0)),className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary"}),e?(0,d.jsx)("span",{className:"mt-1 block text-xs text-text-muted",children:e}):null]})}function s({isOpen:a,keyName:b,policy:c,setPolicy:e,onClose:g,onSave:h,onClear:j,saving:k,clearLabel:l="X\xf3a policy / kh\xf4ng limit"}){let m=p(c,i),o=(a,b)=>e(c=>p({...c,[a]:b},i));return(0,d.jsx)(f.aF,{isOpen:a,onClose:g,title:`Policy API key: ${b||"API Key"}`,size:"xl",children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface/60 p-3 text-sm text-text-muted",children:["Key mới tự c\xf3 ",(0,d.jsx)("b",{children:"default policy"}),". Chỉ admin được sửa policy. C\xe1c gi\xe1 trị 0 nghĩa l\xe0 kh\xf4ng giới hạn theo mục đ\xf3. Policy n\xe0y kh\xf4ng \xe9p max_tokens/output tokens."]}),(0,d.jsxs)("label",{className:"flex items-center justify-between gap-3 rounded-xl border border-border p-3 text-sm",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Bật policy"}),(0,d.jsx)("br",{}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Tắt mục n\xe0y th\xec policy được lưu nhưng kh\xf4ng \xe1p limit."})]}),(0,d.jsx)("input",{type:"checkbox",checked:m.enabled,onChange:a=>o("enabled",a.target.checked)})]}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,d.jsx)(r,{label:"Request / ph\xfat",value:m.requestsPerMinute,onChange:a=>o("requestsPerMinute",a)}),(0,d.jsx)(r,{label:"Request / giờ",value:m.requestsPerHour,onChange:a=>o("requestsPerHour",a),hint:"0 = kh\xf4ng giới hạn"}),(0,d.jsx)(r,{label:"Request / ng\xe0y",value:m.requestsPerDay,onChange:a=>o("requestsPerDay",a),hint:"0 = kh\xf4ng giới hạn"})]}),(0,d.jsx)(r,{label:"Prompt chars tối đa",value:m.promptCharsMax,onChange:a=>o("promptCharsMax",a),hint:"0 = kh\xf4ng giới hạn. Policy kh\xf4ng can thiệp max_tokens/output tokens của client."}),(0,d.jsxs)("label",{className:"flex items-center justify-between gap-3 rounded-xl border border-border p-3 text-sm",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Force Thinking Off"}),(0,d.jsx)("br",{}),(0,d.jsx)("span",{className:"text-xs text-text-muted",children:"Khi bật, gateway \xe9p request c\xf3 chat_template_kwargs.enable_thinking=false v\xe0 reasoning_budget=0."})]}),(0,d.jsx)("input",{type:"checkbox",checked:m.forceThinkingOff,onChange:a=>o("forceThinkingOff",a.target.checked)})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"IP/CIDR được ph\xe9p"}),(0,d.jsx)("textarea",{value:n(m.allowedIpCidrs).join("\n"),onChange:a=>o("allowedIpCidrs",[...new Set(String(a.target.value||"").split(/[\n,]+/).map(a=>a.trim()).filter(Boolean))]),rows:3,className:"w-full rounded-xl border border-border bg-background px-3 py-2 font-mono text-sm text-text-main outline-none focus:border-primary",placeholder:"10.0.0.0/8\n192.168.0.0/16"}),(0,d.jsx)("span",{className:"mt-1 block text-xs text-text-muted",children:"Để trống = mọi IP. Hỗ trợ IPv4 exact hoặc CIDR."})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"Hết hạn l\xfac"}),(0,d.jsx)("input",{value:m.expiresAt,onChange:a=>o("expiresAt",a.target.value),className:"w-full rounded-xl border border-border bg-background px-3 py-2 font-mono text-sm text-text-main outline-none focus:border-primary",placeholder:"2026-12-31T23:59:59+07:00 hoặc để trống"})]}),(0,d.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:g,children:"Hủy"}),j?(0,d.jsx)(f.$n,{variant:"outline",onClick:j,disabled:k,children:l}):null,(0,d.jsx)(f.$n,{onClick:()=>h(m),disabled:k,children:k?"Đang lưu...":"Lưu policy"})]})]})})}function t({open:a,keyName:b,models:c,setModels:g,activeProviders:h,modelAliases:i,onClose:j,onSave:l,saving:m}){let[n,o]=(0,e.useState)(!1),p=k(c),q=a=>{let b=a?.value||a?.name||a;g(a=>k(a).filter(a=>a!==b))};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.aF,{isOpen:a,onClose:j,title:`Model access: ${b||"API Key"}`,size:"xl",children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Chọn một hoặc nhiều model m\xe0 API key n\xe0y được ph\xe9p sử dụng. Trang n\xe0y kh\xf4ng cho lưu danh s\xe1ch model rỗng."}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("span",{className:"text-sm font-medium",children:"Model được ph\xe9p d\xf9ng"}),(0,d.jsx)(f.$n,{size:"sm",variant:"outline",onClick:()=>o(!0),children:"Th\xeam model"})]}),0===p.length?(0,d.jsx)("div",{className:"rounded-xl border border-dashed border-border p-4 text-sm text-text-muted",children:"Chưa chọn model n\xe0o. H\xe3y th\xeam \xedt nhất một model trước khi lưu."}):(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:p.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>q(a),className:"rounded-full border border-primary/30 bg-primary/10 px-2 py-1 font-mono text-xs text-primary transition hover:bg-red-500/10 hover:text-red-600",title:"Bấm để gỡ model n\xe0y",children:[a," \xd7"]},a))}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:j,children:"Hủy"}),(0,d.jsx)(f.$n,{onClick:l,disabled:m||0===p.length,children:m?"Đang lưu...":"Lưu danh s\xe1ch model"})]})]})}),(0,d.jsx)(f.rq,{isOpen:n,onClose:()=>o(!1),onSelect:a=>{let b=a?.value||a?.name||a;b&&g(a=>k([...a,b]))},onDeselect:q,activeProviders:h,modelAliases:i,title:"Chọn model được ph\xe9p d\xf9ng",addedModelValues:p,closeOnSelect:!1})]})}function u({active:a}){return a?(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-emerald-500/30 bg-emerald-500/10 px-2 py-1 text-xs font-medium text-emerald-700 dark:text-emerald-300",children:"Đang bật"}):(0,d.jsx)("span",{className:"inline-flex items-center rounded-full border border-red-500/30 bg-red-500/10 px-2 py-1 text-xs font-medium text-red-700 dark:text-red-300",children:"Đ\xe3 tắt"})}function v({label:a,value:b,hint:c}){return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface/70 p-4",children:[(0,d.jsx)("div",{className:"text-xs font-medium uppercase tracking-wide text-text-muted",children:a}),(0,d.jsx)("div",{className:"mt-2 text-2xl font-semibold text-text-main",children:b}),c?(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:c}):null]})}function w({pagination:a,pageSize:b,onPageChange:c,onPageSizeChange:e,loading:g}){let h=Number(a?.page||1),i=Number(a?.totalPages||1),j=Number(a?.total||0),k=0===j?0:(h-1)*b+1,l=Math.min(j,h*b);return(0,d.jsxs)("div",{className:"flex flex-col gap-3 border-t border-border px-4 py-3 md:flex-row md:items-center md:justify-between",children:[(0,d.jsxs)("div",{className:"text-sm text-text-muted",children:["Hiển thị ",(0,d.jsx)("b",{children:k}),"–",(0,d.jsx)("b",{children:l})," / ",(0,d.jsx)("b",{children:j})," API keys"]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsxs)("select",{value:b,onChange:a=>e(Number(a.target.value)),className:"rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary",disabled:g,children:[(0,d.jsx)("option",{value:25,children:"25 / trang"}),(0,d.jsx)("option",{value:50,children:"50 / trang"}),(0,d.jsx)("option",{value:100,children:"100 / trang"})]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(1),disabled:g||h<=1,children:"Đầu"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(Math.max(1,h-1)),disabled:g||h<=1,children:"Trước"}),(0,d.jsxs)("span",{className:"rounded-xl border border-border bg-surface px-3 py-2 text-sm",children:["Trang ",h,"/",i]}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(Math.min(i,h+1)),disabled:g||h>=i,children:"Sau"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>c(i),disabled:g||h>=i,children:"Cuối"})]})]})}function x({keys:a,visibleKeys:b,copied:c,copy:e,isAdmin:g,onToggleVisible:h,onToggleActive:i,onApiTest:j,onRename:l,onRotate:m,onEditModels:n,onEditPolicy:q,onAssignOwner:r,onDelete:s}){return(0,d.jsx)("div",{className:"overflow-hidden rounded-2xl border border-border",children:(0,d.jsx)("div",{className:"overflow-x-auto",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:"whitespace-nowrap px-4 py-3 font-medium",children:"T\xean / Key"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Trạng th\xe1i"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Owner"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Model"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Policy"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 font-medium",children:"Ng\xe0y tạo"}),(0,d.jsx)("th",{className:"whitespace-nowrap px-4 py-3 text-right font-medium",children:"Thao t\xe1c"})]})}),(0,d.jsx)("tbody",{className:"divide-y divide-border bg-background",children:a.map(a=>{var t;let v=b.has(a.id),w=a.ownerUser||a.createdByUser||"chưa g\xe1n",x=k(a.allowedModels),y=o(a.limits),z=p(a.limits||{});return(0,d.jsxs)("tr",{className:"align-top transition hover:bg-surface/50",children:[(0,d.jsxs)("td",{className:"min-w-[280px] px-4 py-4",children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:a.name||"API Key"}),(0,d.jsxs)("div",{className:"mt-2 flex max-w-[380px] items-center gap-2 rounded-xl border border-border bg-surface px-3 py-2 font-mono text-xs text-text-main",children:[(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:v?a.key:(t=a.key)?t.length>12?`${t.slice(0,8)}...${t.slice(-4)}`:t:""}),(0,d.jsx)("button",{type:"button",className:"text-primary hover:underline",onClick:()=>h(a.id),children:v?"Ẩn":"Hiện"})]}),a.createdByUser?(0,d.jsxs)("div",{className:"mt-2 text-xs text-text-muted",children:["Tạo bởi: ",a.createdByUser]}):null]}),(0,d.jsx)("td",{className:"whitespace-nowrap px-4 py-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)(u,{active:!!a.isActive}),(0,d.jsx)(f.lM,{checked:!!a.isActive,onChange:b=>i(a.id,b)})]})}),(0,d.jsx)("td",{className:"min-w-[160px] px-4 py-4",children:(0,d.jsx)("div",{className:"break-all text-sm text-text-main",children:w})}),(0,d.jsx)("td",{className:"min-w-[220px] px-4 py-4",children:x.length>0?(0,d.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[x.slice(0,3).map(a=>(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1 font-mono text-xs",children:a},a)),x.length>3?(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1 text-xs",children:["+",x.length-3]}):null]}):(0,d.jsx)("span",{className:"rounded-full border border-amber-500/30 bg-amber-500/10 px-2 py-1 text-xs text-amber-700 dark:text-amber-300",children:"Legacy full access"})}),(0,d.jsx)("td",{className:"min-w-[220px] px-4 py-4",children:y?(0,d.jsxs)("div",{className:"flex flex-wrap gap-1.5 text-xs",children:[(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:z.enabled?"bật":"tắt"}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[z.requestsPerMinute||"∞","/ph\xfat"]}),(0,d.jsxs)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:[z.promptCharsMax||"∞"," chars"]}),z.forceThinkingOff?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"thinking off"}):null,z.allowedIpCidrs.length>0?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1",children:"IP locked"}):null]}):(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-2 py-1 text-xs text-text-muted",children:"chưa set"})}),(0,d.jsx)("td",{className:"min-w-[150px] px-4 py-4 text-xs text-text-muted",children:function(a){if(!a)return"kh\xf4ng r\xf5";try{return new Date(a).toLocaleString()}catch{return String(a)}}(a.createdAt)}),(0,d.jsx)("td",{className:"min-w-[260px] 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:()=>e(a.key,a.id),children:c===a.id?"Đ\xe3 copy":"Copy"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>j(a),children:"Test"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>l(a.id,a.name),children:"Đổi t\xean"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>m(a),children:"Đổi key"}),g?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>n(a),children:"Models"}):null,g?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>q(a),children:"Policy"}):null,g?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>r(a.id,w),children:"Owner"}):null,(0,d.jsx)(f.$n,{variant:"danger",size:"sm",onClick:()=>s(a.id),children:"X\xf3a"})]})})]},a.id)})})]})})})}function y(){let a,b,[c,l]=(0,e.useState)([]),[m,n]=(0,e.useState)(!0),[r,u]=(0,e.useState)(""),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(""),[C,D]=(0,e.useState)(""),[E,F]=(0,e.useState)(""),[G,H]=(0,e.useState)(""),[I,J]=(0,e.useState)(new Set),[K,L]=(0,e.useState)(null),[M,N]=(0,e.useState)([]),[O,P]=(0,e.useState)(""),[Q,R]=(0,e.useState)(!1),[S,T]=(0,e.useState)(!1),[U,V]=(0,e.useState)(""),[W,X]=(0,e.useState)(""),[Y,Z]=(0,e.useState)(!1),[$,_]=(0,e.useState)(i),[aa,ab]=(0,e.useState)(i),[ac,ad]=(0,e.useState)(!1),[ae,af]=(0,e.useState)(!1),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)([]),[ak,al]=(0,e.useState)({}),[am,an]=(0,e.useState)(!1),[ao,ap]=(0,e.useState)(!1),[aq,ar]=(0,e.useState)(null),[as,at]=(0,e.useState)([]),[au,av]=(0,e.useState)(!1),[aw,ax]=(0,e.useState)(null),[ay,az]=(0,e.useState)(i),[aA,aB]=(0,e.useState)(!1),[aC,aD]=(0,e.useState)(2),[aE,aF]=(0,e.useState)(0),[aG,aH]=(0,e.useState)(0),[aI,aJ]=(0,e.useState)(""),[aK,aL]=(0,e.useState)(null),[aM,aN]=(0,e.useState)(""),[aO,aP]=(0,e.useState)(""),[aQ,aR]=(0,e.useState)("all"),[aS,aT]=(0,e.useState)(1),[aU,aV]=(0,e.useState)(25),[aW,aX]=(0,e.useState)({page:1,pageSize:25,total:0,totalAll:0,totalPages:1,status:"all",search:""}),{copied:aY,copy:aZ}=(0,h.C)(),{isAdmin:a$,userId:a_}=(0,g.s)(),a0=Number.isFinite(Number(aC))?Number(aC):2,a1=Number.isFinite(Number(aE))?Number(aE):c.length,a2=Number.isFinite(Number(aG))?Number(aG):Number(aW.totalAll||aW.total||0),a3=Number(aW.total||0),a4=!a$&&a1>=a0,a5=aI?`${aI}/v1`:"/v1",a6=aI?`${aI}/v1/chat/completions`:"/v1/chat/completions",a7=(a=k(aK?.allowedModels)[0],b=String(U||"").trim(),a||b||"YOUR_MODEL"),a8=aK?function({endpoint:a,apiKey:b,model:c}){let d=String(a||"/v1/chat/completions").replace(/"/g,""),e=String(b||"YOUR_API_KEY").replace(/"/g,""),f=JSON.stringify({model:String(c||"YOUR_MODEL"),messages:[{role:"user",content:"Say hi.\nReply in one short sentence."}],temperature:.2,stream:!1}).replace(/"/g,'\\"');return`curl.exe -X POST "${d}" ^
2
3
  -H "Authorization: Bearer ${e}" ^
3
4
  -H "Content-Type: application/json" ^
4
- -d "${f}"`}({endpoint:a6,apiKey:aK.key,model:a7}):"",a9=(0,e.useMemo)(()=>{let a=new Map;for(let b of M){let c=j(b.username||b.email||b.userPrincipalName||b.sAMAccountName);c&&a.set(c,{id:c,label:`${b.displayName||b.username||c}${b.email?` \xb7 ${b.email}`:""}`})}for(let b of c){let c=j(b.ownerUser||b.createdByUser);c&&!a.has(c)&&a.set(c,{id:c,label:c})}return a_&&!a.has(a_)&&a.set(a_,{id:a_,label:`${a_} (t\xf4i)`}),[...a.values()].sort((a,b)=>a.label.localeCompare(b.label))},[M,c,a_]),ba=W!==U,bb=S||!A.trim()||!U.trim()||a4,bc=!!aO||"all"!==aQ,bd=async()=>{n(!0),u("");try{let a=new URLSearchParams;a.set("page",String(aS)),a.set("pageSize",String(aU)),aO&&a.set("q",aO),"all"!==aQ&&a.set("status",aQ);let b=await fetch(`/api/keys?${a.toString()}`,{cache:"no-store"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng tải được danh s\xe1ch API keys");let d=c.keys||[],e=c.pagination||{page:aS,pageSize:aU,total:d.length,totalAll:d.length,totalPages:1,search:aO,status:aQ};if(0===d.length&&Number(e.total||0)>0&&aS>1)return void aT(Math.max(1,Number(e.totalPages||1)));let f=String(c.apiKeyDefaultModel||"").trim();l(d),aX(e),aH(c.apiKeyTotal??e.totalAll??e.total??d.length);let g=p(c.apiKeyDefaultPolicy||i,i);V(f),X(f),_(g),ab(g),aD(c.apiKeyLimit??5),aF(c.apiKeyCount??e.totalAll??d.length)}catch(a){u(a.message||"Kh\xf4ng tải được danh s\xe1ch API keys")}finally{n(!1)}},be=async()=>{if(!am&&!ao){ap(!0);try{let[a,b]=await Promise.allSettled([fetch("/api/providers",{cache:"no-store"}),fetch("/api/models/alias",{cache:"no-store"})]);if("fulfilled"===a.status&&a.value.ok){let b=await a.value.json().catch(()=>({}));aj(b.connections||[])}if("fulfilled"===b.status&&b.value.ok){let a=await b.value.json().catch(()=>({}));al(a.aliases||{})}an(!0)}catch{}finally{ap(!1)}}},bf=async(a=O)=>{if(a$){R(!0);try{let b=await fetch(`/api/auth/ldap/users?q=${encodeURIComponent(a||"")}`,{cache:"no-store"}),c=await b.json().catch(()=>({}));b.ok&&N(c.users||[])}catch{}finally{R(!1)}}},bg=async()=>{if(a$&&W.trim()){Z(!0),u("");try{let a=await fetch("/api/keys",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyDefaultModel:W.trim()})}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng lưu được default model");let c=String(b.apiKeyDefaultModel||"").trim(),d=p(b.apiKeyDefaultPolicy||i,i);V(c),X(c),_(d),ab(d)}catch(a){u(a.message||"Kh\xf4ng lưu được default model")}finally{Z(!1)}}},bh=async a=>{if(!a$)return;let b=p(a,i);ad(!0),u("");try{let a=await fetch("/api/keys",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyDefaultPolicy:b})}),c=await a.json().catch(()=>({}));if(!a.ok)throw Error(c.error||"Kh\xf4ng lưu được default policy");let d=p(c.apiKeyDefaultPolicy||b,i);_(d),ab(d),af(!1)}catch(a){u(a.message||"Kh\xf4ng lưu được default policy")}finally{ad(!1)}},bi=async()=>{if(A.trim()){if(!U.trim())return void u("Admin cần cấu h\xecnh default model trước khi tạo API key.");if(a4)return void u(`Mỗi user chỉ được tạo tối đa ${a0} API keys.
5
- Vui l\xf2ng x\xf3a bớt key cũ trước khi tạo key mới.`);T(!0),u("");try{let a=a$?j(E||C||a_):void 0,b=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:A.trim(),ownerUser:a})}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng tạo được API key");H(c.key),B(""),F(""),z(!1),aT(1),await bd()}catch(a){u(a.message||"Kh\xf4ng tạo được API key")}finally{T(!1)}}},bj=async(a,b)=>{let c=await fetch(`/api/keys/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),d=await c.json().catch(()=>({}));return c.ok?(await bd(),!0):(u(d.error||"Kh\xf4ng cập nhật được API key"),!1)},bk=async()=>{if(!aq)return;let a=k(as);if(0===a.length)return void u("H\xe3y chọn \xedt nhất một model trước khi lưu quyền truy cập API key.");av(!0),u("");try{await bj(aq.id,{allowedModels:a})&&(ar(null),at([]))}finally{av(!1)}},bl=async a=>{if(aw){aB(!0),u("");try{await bj(aw.id,{limits:p(a)})&&(ax(null),az(i))}finally{aB(!1)}}},bm=async()=>{if(aw){aB(!0),u("");try{await bj(aw.id,{limits:{}})&&(ax(null),az(i))}finally{aB(!1)}}};return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Quản l\xfd API Keys"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:a$?"Bảng quản trị API key c\xf3 t\xecm kiếm, lọc trạng th\xe1i v\xe0 ph\xe2n trang để kh\xf4ng render qu\xe1 nhiều key c\xf9ng l\xfac.":`Bạn c\xf3 thể quản l\xfd API key của t\xe0i khoản m\xecnh. Mỗi user thường được tạo tối đa ${a0} API keys.`})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",onClick:bd,disabled:m,children:m?"Đang tải...":"Refresh"}),(0,d.jsx)(f.$n,{onClick:()=>{z(!0),!C&&a_&&D(a_)},disabled:a4,children:"Tạo API Key"})]})]}),r?(0,d.jsx)("div",{className:"rounded-xl border border-red-500/30 bg-red-500/10 p-3 text-sm text-red-600 whitespace-pre-line",children:r}):null,(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,d.jsx)(v,{label:"Tổng API keys",value:a2,hint:a$?"To\xe0n hệ thống":`${a1}/${a0} key của bạn`}),(0,d.jsx)(v,{label:"Đang hiển thị",value:a3,hint:bc?"Theo bộ lọc hiện tại":"Kh\xf4ng filter"}),(0,d.jsx)(v,{label:"Page size",value:aU,hint:"Chỉ tải số d\xf2ng của trang hiện tại"})]}),a$?null:(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Giới hạn API key theo user"}),(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["T\xe0i khoản của bạn đang c\xf3 ",a1,"/",a0," API keys. Key bị disabled vẫn được t\xednh v\xe0o giới hạn."]})]}),(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-3 py-1 text-sm",children:a4?"Đ\xe3 đạt giới hạn":"C\xf2n c\xf3 thể tạo th\xeam"})]})}),(0,d.jsxs)("div",{className:"grid gap-4 xl:grid-cols-2",children:[(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Default model cho API key mới"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"API key mới sẽ mặc định chỉ được d\xf9ng model n\xe0y. Cần cấu h\xecnh default model trước khi tạo API key."})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[U?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-3 py-1 font-mono text-sm",children:U}):(0,d.jsx)("span",{className:"text-sm text-red-600",children:"Chưa cấu h\xecnh default model"}),a$?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{ah(!0),be()},children:W||"Chọn default model..."}),(0,d.jsx)(f.$n,{size:"sm",onClick:bg,disabled:!ba||Y||!W.trim(),children:Y?"Đang lưu...":"Lưu"})]}):null]}),a$?(0,d.jsx)("p",{className:"text-xs text-text-muted",children:ao?"Đang tải danh s\xe1ch model...":"Danh s\xe1ch model chỉ tải khi mở bộ chọn để trang load nhanh hơn."}):null]})}),(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Default policy cho API key mới"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Policy n\xe0y được tự động g\xe1n cho key mới. Policy ri\xeang từng key vẫn c\xf3 thể override sau khi tạo."})]}),a$?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{ab(p($||i,i)),af(!0)},children:"Chỉnh default policy"}):null]}),(0,d.jsx)(q,{limits:$})]})})]}),(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Th\xf4ng tin API endpoint"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"D\xf9ng API key b\xean dưới để gọi gateway theo chuẩn OpenAI-compatible. Endpoint lấy theo domain hiện tại của dashboard."})]}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a5})]}),(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Chat Completions"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a6})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>aZ(a5,"api-base-url"),children:"api-base-url"===aY?"Đ\xe3 copy Base URL":"Copy Base URL"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>aZ(a6,"api-chat-endpoint"),children:"api-chat-endpoint"===aY?"Đ\xe3 copy Endpoint":"Copy Endpoint"})]})]})}),G?(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("h3",{className:"font-medium",children:"Đ\xe3 tạo API key"}),(0,d.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-sm",children:G}),(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["H\xe3y copy ngay. Key mới mặc định chỉ được d\xf9ng ",U||"default model"," v\xe0 default policy đang cấu h\xecnh trong Dashboard, trừ khi admin chỉnh quyền model/policy."]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.$n,{size:"sm",onClick:()=>aZ(G,"created"),children:"created"===aY?"Đ\xe3 copy":"Copy"}),(0,d.jsx)(f.$n,{size:"sm",variant:"ghost",onClick:()=>H(""),children:"Đ\xf3ng"})]})]})}):null,(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 xl:flex-row xl:items-end xl:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-lg font-semibold text-text-main",children:"Danh s\xe1ch API keys"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"T\xecm theo t\xean key, owner, model, id hoặc một phần API key. Backend chỉ trả về page hiện tại."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,d.jsx)("input",{value:aM,onChange:a=>aN(a.target.value),placeholder:"T\xecm API key, owner, model...",className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary sm:w-80"}),(0,d.jsxs)("select",{value:aQ,onChange:a=>{aR(a.target.value),aT(1)},className:"rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary",children:[(0,d.jsx)("option",{value:"all",children:"Tất cả trạng th\xe1i"}),(0,d.jsx)("option",{value:"active",children:"Chỉ key đang bật"}),(0,d.jsx)("option",{value:"inactive",children:"Chỉ key đ\xe3 tắt"})]}),bc?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{aN(""),aP(""),aR("all"),aT(1)},children:"X\xf3a lọc"}):null]})]}),m?(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 API keys..."}):0===c.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:bc?"Kh\xf4ng t\xecm thấy API key ph\xf9 hợp bộ lọc.":"Chưa c\xf3 API key n\xe0o."}):(0,d.jsx)(x,{keys:c,visibleKeys:I,copied:aY,copy:aZ,isAdmin:a$,onToggleVisible:a=>{J(b=>{let c=new Set(b);return c.has(a)?c.delete(a):c.add(a),c})},onToggleActive:(a,b)=>bj(a,{isActive:b}),onApiTest:aL,onRename:(a,b)=>{let c=prompt("T\xean API key mới",b||"");c?.trim()&&bj(a,{name:c.trim()})},onEditModels:a=>{a$&&(ar(a),at(k(a.allowedModels)),be())},onEditPolicy:a=>{a$&&(ax(a),az(o(a.limits)?p(a.limits):i))},onAssignOwner:(a,b)=>{if(!a$)return;let c=prompt("G\xe1n owner username/email",b||a_||"");null!==c&&bj(a,{ownerUser:j(c)})},onDelete:a=>{L({title:"X\xf3a API Key",message:"Bạn chắc chắn muốn x\xf3a API key n\xe0y? Thao t\xe1c n\xe0y kh\xf4ng thể ho\xe0n t\xe1c.",onConfirm:async()=>{L(null),(await fetch(`/api/keys/${a}`,{method:"DELETE"})).ok&&await bd()}})}}),(0,d.jsx)(w,{pagination:aW,pageSize:aU,onPageChange:aT,onPageSizeChange:a=>{aV(a),aT(1)},loading:m})]})}),(0,d.jsx)(f.aF,{isOpen:y,onClose:()=>z(!1),title:"Tạo API Key",size:"lg",children:(0,d.jsxs)("div",{className:"space-y-4",children:[U.trim()?a4?(0,d.jsxs)("div",{className:"rounded-xl border border-red-500/30 bg-red-500/10 p-3 text-sm text-red-600",children:["Bạn đ\xe3 đạt giới hạn ",a0," API keys. H\xe3y x\xf3a bớt key cũ trước khi tạo key mới."]}):(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Key n\xe0y sẽ được tạo với quyền d\xf9ng default model: ",(0,d.jsx)("b",{children:U})," v\xe0 default policy đang cấu h\xecnh trong Dashboard."]}):(0,d.jsx)("div",{className:"rounded-xl border border-red-500/30 bg-red-500/10 p-3 text-sm text-red-600",children:"Admin cần cấu h\xecnh default model trước khi tạo API key."}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"T\xean API key"}),(0,d.jsx)("input",{value:A,onChange:a=>B(a.target.value),placeholder:"VD: VSCode, LibreChat, team-user",className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary"})]}),a$?(0,d.jsxs)("div",{className:"space-y-3 rounded-xl border border-border p-3",children:[(0,d.jsx)("div",{className:"text-sm font-medium",children:"Owner user"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("input",{value:O,onChange:a=>P(a.target.value),placeholder:"Nhập từ kh\xf3a rồi bấm Tải",className:"min-w-0 flex-1 rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary"}),(0,d.jsx)(f.$n,{variant:"outline",onClick:()=>bf(O),disabled:Q,children:Q?"Đang tải":"Tải LDAP"})]}),(0,d.jsxs)("select",{value:C,onChange:a=>D(a.target.value),className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary",children:[(0,d.jsxs)("option",{value:a_||"",children:["G\xe1n cho t\xf4i (",a_||"local",")"]}),a9.map(a=>(0,d.jsx)("option",{value:a.id,children:a.label},a.id))]}),(0,d.jsx)("input",{value:E,onChange:a=>F(a.target.value),placeholder:"username hoặc email, kh\xf4ng bắt buộc",className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"LDAP kh\xf4ng tự tải khi mở trang để giảm thời gian load. C\xf3 thể nhập owner thủ c\xf4ng hoặc nhập từ kh\xf3a rồi bấm Tải LDAP."})]}):(0,d.jsxs)("p",{className:"rounded-xl border border-border bg-surface p-3 text-sm text-text-muted",children:["Owner: ",a_||"user hiện tại"]}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>z(!1),children:"Hủy"}),(0,d.jsx)(f.$n,{onClick:bi,disabled:bb,children:S?"Đang tạo...":"Tạo"})]})]})}),(0,d.jsx)(f.aF,{isOpen:!!aK,onClose:()=>aL(null),title:"API Test bằng curl Windows",size:"xl",children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Lệnh dưới đ\xe2y gọi thử endpoint Chat Completions bằng API key đang chọn v\xe0 đ\xe3 nh\xfang sẵn Bearer token."}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,d.jsx)("div",{className:"mt-1 text-sm",children:aK?.name||"API Key"})]}),(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Endpoint"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a6})]}),(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Model test"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a7})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"Lệnh curl cho Windows CMD"}),(0,d.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:a8})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"D\xe1n lệnh v\xe0o CMD hoặc Windows Terminal để test nhanh. Nếu domain dashboard chạy sau reverse proxy, endpoint sẽ d\xf9ng đ\xfang domain đang mở tr\xean tr\xecnh duyệt."}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>aL(null),children:"Đ\xf3ng"}),(0,d.jsx)(f.$n,{onClick:()=>aZ(a8,`api-test-curl-${aK?.id||"current"}`),children:aY===`api-test-curl-${aK?.id||"current"}`?"Đ\xe3 copy":"Copy lệnh curl"})]})]})}),(0,d.jsx)(t,{open:!!aq,keyName:aq?.name,models:as,setModels:at,activeProviders:ai,modelAliases:ak,onClose:()=>{ar(null),at([])},onSave:bk,saving:au}),(0,d.jsx)(s,{isOpen:ae,keyName:"Default cho API key mới",policy:aa,setPolicy:ab,onClose:()=>{af(!1),ab($||i)},onSave:bh,saving:ac}),(0,d.jsx)(s,{isOpen:!!aw,keyName:aw?.name,policy:ay,setPolicy:az,onClose:()=>{ax(null),az(i)},onSave:bl,onClear:bm,saving:aA}),(0,d.jsx)(f.rq,{isOpen:ag,onClose:()=>ah(!1),onSelect:a=>{let b=String(a?.value||a?.name||a||"").trim();b&&(X(b),ah(!1))},activeProviders:ai,modelAliases:ak,title:"Chọn default model cho API key",selectedModel:W,addedModelValues:W?[W]:[]}),K?(0,d.jsx)(f.uo,{isOpen:!!K,onClose:()=>L(null),onConfirm:K.onConfirm,title:K.title,message:K.message,confirmText:"X\xf3a",cancelText:"Hủy",variant:"danger"}):null]})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")},97189:(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:["api-keys",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,77619)),"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\api-keys\\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/api-keys/page",pathname:"/dashboard/api-keys",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/api-keys/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}`:""}
6
- 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}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,319,533,3913,5087,5681,4404,6064,7130,6604],()=>b(b.s=97189));module.exports=c})();
5
+ -d "${f}"`}({endpoint:a6,apiKey:aK.key,model:a7}):"",a9=(0,e.useMemo)(()=>{let a=new Map;for(let b of M){let c=j(b.username||b.email||b.userPrincipalName||b.sAMAccountName);c&&a.set(c,{id:c,label:`${b.displayName||b.username||c}${b.email?` \xb7 ${b.email}`:""}`})}for(let b of c){let c=j(b.ownerUser||b.createdByUser);c&&!a.has(c)&&a.set(c,{id:c,label:c})}return a_&&!a.has(a_)&&a.set(a_,{id:a_,label:`${a_} (t\xf4i)`}),[...a.values()].sort((a,b)=>a.label.localeCompare(b.label))},[M,c,a_]),ba=W!==U,bb=S||!A.trim()||!U.trim()||a4,bc=!!aO||"all"!==aQ,bd=async()=>{n(!0),u("");try{let a=new URLSearchParams;a.set("page",String(aS)),a.set("pageSize",String(aU)),aO&&a.set("q",aO),"all"!==aQ&&a.set("status",aQ);let b=await fetch(`/api/keys?${a.toString()}`,{cache:"no-store"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng tải được danh s\xe1ch API keys");let d=c.keys||[],e=c.pagination||{page:aS,pageSize:aU,total:d.length,totalAll:d.length,totalPages:1,search:aO,status:aQ};if(0===d.length&&Number(e.total||0)>0&&aS>1)return void aT(Math.max(1,Number(e.totalPages||1)));let f=String(c.apiKeyDefaultModel||"").trim();l(d),aX(e),aH(c.apiKeyTotal??e.totalAll??e.total??d.length);let g=p(c.apiKeyDefaultPolicy||i,i);V(f),X(f),_(g),ab(g),aD(c.apiKeyLimit??2),aF(c.apiKeyCount??e.totalAll??d.length)}catch(a){u(a.message||"Kh\xf4ng tải được danh s\xe1ch API keys")}finally{n(!1)}},be=async()=>{if(!am&&!ao){ap(!0);try{let[a,b]=await Promise.allSettled([fetch("/api/providers",{cache:"no-store"}),fetch("/api/models/alias",{cache:"no-store"})]);if("fulfilled"===a.status&&a.value.ok){let b=await a.value.json().catch(()=>({}));aj(b.connections||[])}if("fulfilled"===b.status&&b.value.ok){let a=await b.value.json().catch(()=>({}));al(a.aliases||{})}an(!0)}catch{}finally{ap(!1)}}},bf=async(a=O)=>{if(a$){R(!0);try{let b=await fetch(`/api/auth/ldap/users?q=${encodeURIComponent(a||"")}`,{cache:"no-store"}),c=await b.json().catch(()=>({}));b.ok&&N(c.users||[])}catch{}finally{R(!1)}}},bg=async()=>{if(a$&&W.trim()){Z(!0),u("");try{let a=await fetch("/api/keys",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyDefaultModel:W.trim()})}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng lưu được default model");let c=String(b.apiKeyDefaultModel||"").trim(),d=p(b.apiKeyDefaultPolicy||i,i);V(c),X(c),_(d),ab(d)}catch(a){u(a.message||"Kh\xf4ng lưu được default model")}finally{Z(!1)}}},bh=async a=>{if(!a$)return;let b=p(a,i);ad(!0),u("");try{let a=await fetch("/api/keys",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyDefaultPolicy:b})}),c=await a.json().catch(()=>({}));if(!a.ok)throw Error(c.error||"Kh\xf4ng lưu được default policy");let d=p(c.apiKeyDefaultPolicy||b,i);_(d),ab(d),af(!1)}catch(a){u(a.message||"Kh\xf4ng lưu được default policy")}finally{ad(!1)}},bi=async()=>{if(A.trim()){if(!U.trim())return void u("Admin cần cấu h\xecnh default model trước khi tạo API key.");if(a4)return void u(`Mỗi user chỉ được tạo tối đa ${a0} API keys.
6
+ C\xf3 thể d\xf9ng n\xfat Đổi key để xoay sang key mới m\xe0 kh\xf4ng cần x\xf3a/tạo lại.`);T(!0),u("");try{let a=a$?j(E||C||a_):void 0,b=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:A.trim(),ownerUser:a})}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng tạo được API key");H(c.key),B(""),F(""),z(!1),aT(1),await bd()}catch(a){u(a.message||"Kh\xf4ng tạo được API key")}finally{T(!1)}}},bj=async(a,b)=>{let c=await fetch(`/api/keys/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),d=await c.json().catch(()=>({}));return c.ok?(await bd(),!0):(u(d.error||"Kh\xf4ng cập nhật được API key"),!1)},bk=async()=>{if(!aq)return;let a=k(as);if(0===a.length)return void u("H\xe3y chọn \xedt nhất một model trước khi lưu quyền truy cập API key.");av(!0),u("");try{await bj(aq.id,{allowedModels:a})&&(ar(null),at([]))}finally{av(!1)}},bl=async a=>{if(aw){aB(!0),u("");try{await bj(aw.id,{limits:p(a)})&&(ax(null),az(i))}finally{aB(!1)}}},bm=async()=>{if(aw){aB(!0),u("");try{await bj(aw.id,{limits:{}})&&(ax(null),az(i))}finally{aB(!1)}}};return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Quản l\xfd API Keys"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:a$?"Bảng quản trị API key c\xf3 t\xecm kiếm, lọc trạng th\xe1i v\xe0 ph\xe2n trang để kh\xf4ng render qu\xe1 nhiều key c\xf9ng l\xfac.":`Bạn c\xf3 thể quản l\xfd API key của t\xe0i khoản m\xecnh. Mỗi user thường sở hữu tối đa ${a0} API keys. D\xf9ng n\xfat Đổi key để xoay sang key mới m\xe0 kh\xf4ng cần x\xf3a/tạo lại.`})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",onClick:bd,disabled:m,children:m?"Đang tải...":"Refresh"}),(0,d.jsx)(f.$n,{onClick:()=>{z(!0),!C&&a_&&D(a_)},disabled:a4,children:"Tạo API Key"})]})]}),r?(0,d.jsx)("div",{className:"rounded-xl border border-red-500/30 bg-red-500/10 p-3 text-sm text-red-600 whitespace-pre-line",children:r}):null,(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,d.jsx)(v,{label:"Tổng API keys",value:a2,hint:a$?"To\xe0n hệ thống":`${a1}/${a0} key của bạn`}),(0,d.jsx)(v,{label:"Đang hiển thị",value:a3,hint:bc?"Theo bộ lọc hiện tại":"Kh\xf4ng filter"}),(0,d.jsx)(v,{label:"Page size",value:aU,hint:"Chỉ tải số d\xf2ng của trang hiện tại"})]}),a$?null:(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Giới hạn API key theo user"}),(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["T\xe0i khoản của bạn đang c\xf3 ",a1,"/",a0," API keys. Key bị disabled vẫn được t\xednh v\xe0o giới hạn."]})]}),(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-3 py-1 text-sm",children:a4?"Đ\xe3 đạt giới hạn":"C\xf2n c\xf3 thể tạo th\xeam"})]})}),(0,d.jsxs)("div",{className:"grid gap-4 xl:grid-cols-2",children:[(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Default model cho API key mới"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"API key mới sẽ mặc định chỉ được d\xf9ng model n\xe0y. Cần cấu h\xecnh default model trước khi tạo API key."})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[U?(0,d.jsx)("span",{className:"rounded-full border border-border bg-surface px-3 py-1 font-mono text-sm",children:U}):(0,d.jsx)("span",{className:"text-sm text-red-600",children:"Chưa cấu h\xecnh default model"}),a$?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{ah(!0),be()},children:W||"Chọn default model..."}),(0,d.jsx)(f.$n,{size:"sm",onClick:bg,disabled:!ba||Y||!W.trim(),children:Y?"Đang lưu...":"Lưu"})]}):null]}),a$?(0,d.jsx)("p",{className:"text-xs text-text-muted",children:ao?"Đang tải danh s\xe1ch model...":"Danh s\xe1ch model chỉ tải khi mở bộ chọn để trang load nhanh hơn."}):null]})}),(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Default policy cho API key mới"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Policy n\xe0y được tự động g\xe1n cho key mới. Policy ri\xeang từng key vẫn c\xf3 thể override sau khi tạo."})]}),a$?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{ab(p($||i,i)),af(!0)},children:"Chỉnh default policy"}):null]}),(0,d.jsx)(q,{limits:$})]})})]}),(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"font-medium",children:"Th\xf4ng tin API endpoint"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"D\xf9ng API key b\xean dưới để gọi gateway theo chuẩn OpenAI-compatible. Endpoint lấy theo domain hiện tại của dashboard."})]}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a5})]}),(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Chat Completions"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a6})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>aZ(a5,"api-base-url"),children:"api-base-url"===aY?"Đ\xe3 copy Base URL":"Copy Base URL"}),(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>aZ(a6,"api-chat-endpoint"),children:"api-chat-endpoint"===aY?"Đ\xe3 copy Endpoint":"Copy Endpoint"})]})]})}),G?(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("h3",{className:"font-medium",children:"Đ\xe3 tạo API key"}),(0,d.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-sm",children:G}),(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["H\xe3y copy ngay. Key mới mặc định chỉ được d\xf9ng ",U||"default model"," v\xe0 default policy đang cấu h\xecnh trong Dashboard, trừ khi admin chỉnh quyền model/policy."]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.$n,{size:"sm",onClick:()=>aZ(G,"created"),children:"created"===aY?"Đ\xe3 copy":"Copy"}),(0,d.jsx)(f.$n,{size:"sm",variant:"ghost",onClick:()=>H(""),children:"Đ\xf3ng"})]})]})}):null,(0,d.jsx)(f.Zp,{children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 xl:flex-row xl:items-end xl:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-lg font-semibold text-text-main",children:"Danh s\xe1ch API keys"}),(0,d.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"T\xecm theo t\xean key, owner, model, id hoặc một phần API key. Backend chỉ trả về page hiện tại."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,d.jsx)("input",{value:aM,onChange:a=>aN(a.target.value),placeholder:"T\xecm API key, owner, model...",className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary sm:w-80"}),(0,d.jsxs)("select",{value:aQ,onChange:a=>{aR(a.target.value),aT(1)},className:"rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary",children:[(0,d.jsx)("option",{value:"all",children:"Tất cả trạng th\xe1i"}),(0,d.jsx)("option",{value:"active",children:"Chỉ key đang bật"}),(0,d.jsx)("option",{value:"inactive",children:"Chỉ key đ\xe3 tắt"})]}),bc?(0,d.jsx)(f.$n,{variant:"outline",size:"sm",onClick:()=>{aN(""),aP(""),aR("all"),aT(1)},children:"X\xf3a lọc"}):null]})]}),m?(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 API keys..."}):0===c.length?(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:bc?"Kh\xf4ng t\xecm thấy API key ph\xf9 hợp bộ lọc.":"Chưa c\xf3 API key n\xe0o."}):(0,d.jsx)(x,{keys:c,visibleKeys:I,copied:aY,copy:aZ,isAdmin:a$,onToggleVisible:a=>{J(b=>{let c=new Set(b);return c.has(a)?c.delete(a):c.add(a),c})},onToggleActive:(a,b)=>bj(a,{isActive:b}),onApiTest:aL,onRename:(a,b)=>{let c=prompt("T\xean API key mới",b||"");c?.trim()&&bj(a,{name:c.trim()})},onRotate:a=>{a?.id&&L({title:"Đổi API key",message:"Hệ thống sẽ tạo chuỗi API key mới cho record n\xe0y v\xe0 giữ nguy\xean t\xean, owner, model, policy. Key cũ sẽ hết hiệu lực ngay sau khi đổi.",onConfirm:async()=>{L(null),u("");let b=await fetch(`/api/keys/${a.id}/rotate`,{method:"POST"}),c=await b.json().catch(()=>({}));if(!b.ok)return void u(c.error||"Kh\xf4ng đổi được API key");let d=c.rotatedKey||c.key?.key||"";d&&H(d),await bd()}})},onEditModels:a=>{a$&&(ar(a),at(k(a.allowedModels)),be())},onEditPolicy:a=>{a$&&(ax(a),az(o(a.limits)?p(a.limits):i))},onAssignOwner:(a,b)=>{if(!a$)return;let c=prompt("G\xe1n owner username/email",b||a_||"");null!==c&&bj(a,{ownerUser:j(c)})},onDelete:a=>{L({title:"X\xf3a API Key",message:"Bạn chắc chắn muốn x\xf3a API key n\xe0y? Thao t\xe1c n\xe0y kh\xf4ng thể ho\xe0n t\xe1c.",onConfirm:async()=>{L(null),(await fetch(`/api/keys/${a}`,{method:"DELETE"})).ok&&await bd()}})}}),(0,d.jsx)(w,{pagination:aW,pageSize:aU,onPageChange:aT,onPageSizeChange:a=>{aV(a),aT(1)},loading:m})]})}),(0,d.jsx)(f.aF,{isOpen:y,onClose:()=>z(!1),title:"Tạo API Key",size:"lg",children:(0,d.jsxs)("div",{className:"space-y-4",children:[U.trim()?a4?(0,d.jsxs)("div",{className:"rounded-xl border border-red-500/30 bg-red-500/10 p-3 text-sm text-red-600",children:["Bạn đ\xe3 đạt giới hạn ",a0," API keys. H\xe3y x\xf3a bớt key cũ trước khi tạo key mới."]}):(0,d.jsxs)("p",{className:"text-sm text-text-muted",children:["Key n\xe0y sẽ được tạo với quyền d\xf9ng default model: ",(0,d.jsx)("b",{children:U})," v\xe0 default policy đang cấu h\xecnh trong Dashboard."]}):(0,d.jsx)("div",{className:"rounded-xl border border-red-500/30 bg-red-500/10 p-3 text-sm text-red-600",children:"Admin cần cấu h\xecnh default model trước khi tạo API key."}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"T\xean API key"}),(0,d.jsx)("input",{value:A,onChange:a=>B(a.target.value),placeholder:"VD: VSCode, LibreChat, team-user",className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary"})]}),a$?(0,d.jsxs)("div",{className:"space-y-3 rounded-xl border border-border p-3",children:[(0,d.jsx)("div",{className:"text-sm font-medium",children:"Owner user"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("input",{value:O,onChange:a=>P(a.target.value),placeholder:"Nhập từ kh\xf3a rồi bấm Tải",className:"min-w-0 flex-1 rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary"}),(0,d.jsx)(f.$n,{variant:"outline",onClick:()=>bf(O),disabled:Q,children:Q?"Đang tải":"Tải LDAP"})]}),(0,d.jsxs)("select",{value:C,onChange:a=>D(a.target.value),className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm text-text-main outline-none focus:border-primary",children:[(0,d.jsxs)("option",{value:a_||"",children:["G\xe1n cho t\xf4i (",a_||"local",")"]}),a9.map(a=>(0,d.jsx)("option",{value:a.id,children:a.label},a.id))]}),(0,d.jsx)("input",{value:E,onChange:a=>F(a.target.value),placeholder:"username hoặc email, kh\xf4ng bắt buộc",className:"w-full rounded-xl border border-border bg-background px-3 py-2 text-sm outline-none focus:border-primary"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"LDAP kh\xf4ng tự tải khi mở trang để giảm thời gian load. C\xf3 thể nhập owner thủ c\xf4ng hoặc nhập từ kh\xf3a rồi bấm Tải LDAP."})]}):(0,d.jsxs)("p",{className:"rounded-xl border border-border bg-surface p-3 text-sm text-text-muted",children:["Owner: ",a_||"user hiện tại"]}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>z(!1),children:"Hủy"}),(0,d.jsx)(f.$n,{onClick:bi,disabled:bb,children:S?"Đang tạo...":"Tạo"})]})]})}),(0,d.jsx)(f.aF,{isOpen:!!aK,onClose:()=>aL(null),title:"API Test bằng curl Windows",size:"xl",children:(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Lệnh dưới đ\xe2y gọi thử endpoint Chat Completions bằng API key đang chọn v\xe0 đ\xe3 nh\xfang sẵn Bearer token."}),(0,d.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,d.jsx)("div",{className:"mt-1 text-sm",children:aK?.name||"API Key"})]}),(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Endpoint"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a6})]}),(0,d.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:"Model test"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:a7})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"Lệnh curl cho Windows CMD"}),(0,d.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:a8})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"D\xe1n lệnh v\xe0o CMD hoặc Windows Terminal để test nhanh. Nếu domain dashboard chạy sau reverse proxy, endpoint sẽ d\xf9ng đ\xfang domain đang mở tr\xean tr\xecnh duyệt."}),(0,d.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",onClick:()=>aL(null),children:"Đ\xf3ng"}),(0,d.jsx)(f.$n,{onClick:()=>aZ(a8,`api-test-curl-${aK?.id||"current"}`),children:aY===`api-test-curl-${aK?.id||"current"}`?"Đ\xe3 copy":"Copy lệnh curl"})]})]})}),(0,d.jsx)(t,{open:!!aq,keyName:aq?.name,models:as,setModels:at,activeProviders:ai,modelAliases:ak,onClose:()=>{ar(null),at([])},onSave:bk,saving:au}),(0,d.jsx)(s,{isOpen:ae,keyName:"Default cho API key mới",policy:aa,setPolicy:ab,onClose:()=>{af(!1),ab($||i)},onSave:bh,saving:ac}),(0,d.jsx)(s,{isOpen:!!aw,keyName:aw?.name,policy:ay,setPolicy:az,onClose:()=>{ax(null),az(i)},onSave:bl,onClear:bm,saving:aA}),(0,d.jsx)(f.rq,{isOpen:ag,onClose:()=>ah(!1),onSelect:a=>{let b=String(a?.value||a?.name||a||"").trim();b&&(X(b),ah(!1))},activeProviders:ai,modelAliases:ak,title:"Chọn default model cho API key",selectedModel:W,addedModelValues:W?[W]:[]}),K?(0,d.jsx)(f.uo,{isOpen:!!K,onClose:()=>L(null),onConfirm:K.onConfirm,title:K.title,message:K.message,confirmText:"X\xf3a",cancelText:"Hủy",variant:"danger"}):null]})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,319,533,3913,5087,5681,4404,6064,7130,6604],()=>b(b.s=68939));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/12.js","../../../../chunks/1219.js","../../../../chunks/1220.js","../../../../chunks/1336.js","../../../../chunks/1813.js","../../../../chunks/1998.js","../../../../chunks/2409.js","../../../../chunks/241.js","../../../../chunks/2506.js","../../../../chunks/2549.js","../../../../chunks/3104.js","../../../../chunks/3110.js","../../../../chunks/318.js","../../../../chunks/319.js","../../../../chunks/3222.js","../../../../chunks/3593.js","../../../../chunks/3801.js","../../../../chunks/3813.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/4306.js","../../../../chunks/4404.js","../../../../chunks/4632.js","../../../../chunks/4657.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4867.js","../../../../chunks/507.js","../../../../chunks/5087.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/533.js","../../../../chunks/5433.js","../../../../chunks/5573.js","../../../../chunks/5681.js","../../../../chunks/5742.js","../../../../chunks/5852.js","../../../../chunks/5901.js","../../../../chunks/595.js","../../../../chunks/6064.js","../../../../chunks/6103.js","../../../../chunks/6108.js","../../../../chunks/6182.js","../../../../chunks/6252.js","../../../../chunks/6567.js","../../../../chunks/6604.js","../../../../chunks/6663.js","../../../../chunks/6844.js","../../../../chunks/6935.js","../../../../chunks/6936.js","../../../../chunks/698.js","../../../../chunks/7130.js","../../../../chunks/7153.js","../../../../chunks/7250.js","../../../../chunks/7341.js","../../../../chunks/7464.js","../../../../chunks/7774.js","../../../../chunks/7795.js","../../../../chunks/7965.js","../../../../chunks/8062.js","../../../../chunks/8255.js","../../../../chunks/8376.js","../../../../chunks/8469.js","../../../../chunks/8491.js","../../../../chunks/8520.js","../../../../chunks/8590.js","../../../../chunks/8895.js","../../../../chunks/8971.js","../../../../chunks/918.js","../../../../chunks/9489.js","../../../../chunks/9528.js","../../../../chunks/9609.js","../../../../chunks/9753.js","../../../../chunks/978.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/12.js","../../../../chunks/1219.js","../../../../chunks/1220.js","../../../../chunks/1336.js","../../../../chunks/1813.js","../../../../chunks/1998.js","../../../../chunks/2409.js","../../../../chunks/241.js","../../../../chunks/2506.js","../../../../chunks/2549.js","../../../../chunks/3104.js","../../../../chunks/3110.js","../../../../chunks/318.js","../../../../chunks/319.js","../../../../chunks/3222.js","../../../../chunks/3593.js","../../../../chunks/3801.js","../../../../chunks/3813.js","../../../../chunks/3913.js","../../../../chunks/4013.js","../../../../chunks/4306.js","../../../../chunks/4404.js","../../../../chunks/4632.js","../../../../chunks/4657.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4867.js","../../../../chunks/507.js","../../../../chunks/5087.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/533.js","../../../../chunks/5433.js","../../../../chunks/5573.js","../../../../chunks/5681.js","../../../../chunks/5742.js","../../../../chunks/5852.js","../../../../chunks/5901.js","../../../../chunks/595.js","../../../../chunks/6064.js","../../../../chunks/6103.js","../../../../chunks/6108.js","../../../../chunks/6182.js","../../../../chunks/6252.js","../../../../chunks/6567.js","../../../../chunks/6604.js","../../../../chunks/6663.js","../../../../chunks/6844.js","../../../../chunks/6935.js","../../../../chunks/6936.js","../../../../chunks/698.js","../../../../chunks/7130.js","../../../../chunks/7153.js","../../../../chunks/7250.js","../../../../chunks/7341.js","../../../../chunks/7464.js","../../../../chunks/7774.js","../../../../chunks/7795.js","../../../../chunks/7812.js","../../../../chunks/7965.js","../../../../chunks/8062.js","../../../../chunks/8255.js","../../../../chunks/8376.js","../../../../chunks/8469.js","../../../../chunks/8491.js","../../../../chunks/8520.js","../../../../chunks/8590.js","../../../../chunks/8895.js","../../../../chunks/8971.js","../../../../chunks/918.js","../../../../chunks/9489.js","../../../../chunks/9528.js","../../../../chunks/9609.js","../../../../chunks/9753.js","../../../../chunks/978.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}