@jheavenknows/bluerouter 5.2.11 → 5.2.13

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 (1421) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +25 -25
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/required-server-files.json +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js +2 -2
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  93. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  94. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  96. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  97. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  99. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  108. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  109. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  110. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  114. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  115. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  116. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  117. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  118. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  119. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  120. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/branding/upload/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/branding/upload/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  142. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  153. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  169. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  171. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  173. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  175. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  177. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cluster/config/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cluster/config/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/cluster/peers/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/cluster/peers/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/cluster/sync/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/cluster/sync/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/cluster/test/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/cluster/test/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/resource-monitor/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/resource-monitor/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  373. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/version/restart/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  435. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  437. package/app/.next-cli-build/server/app/callback.html +1 -1
  438. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  439. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  440. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  441. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  442. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  443. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  444. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  445. package/app/.next-cli-build/server/app/dashboard/analytics.html +1 -1
  446. package/app/.next-cli-build/server/app/dashboard/analytics.rsc +7 -7
  447. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics/__PAGE__.segment.rsc +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard/analytics.segment.rsc +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/analytics.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  451. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_full.segment.rsc +7 -7
  452. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_head.segment.rsc +1 -1
  453. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_index.segment.rsc +6 -6
  454. package/app/.next-cli-build/server/app/dashboard/analytics.segments/_tree.segment.rsc +2 -2
  455. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +8 -8
  457. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys.segment.rsc +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  460. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  461. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +8 -8
  462. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_head.segment.rsc +1 -1
  463. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_index.segment.rsc +6 -6
  464. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  467. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  469. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  471. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  472. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +6 -6
  474. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  475. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +9 -9
  477. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  478. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  479. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  481. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +9 -9
  482. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  483. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +6 -6
  484. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  485. package/app/.next-cli-build/server/app/dashboard/cluster.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/cluster.rsc +7 -7
  487. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster/__PAGE__.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster.segment.rsc +1 -1
  489. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  490. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  491. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_full.segment.rsc +7 -7
  492. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_head.segment.rsc +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_index.segment.rsc +6 -6
  494. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_tree.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  497. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  498. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  500. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  502. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +6 -6
  504. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +9 -9
  507. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  509. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  511. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +9 -9
  512. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +6 -6
  514. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  516. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  517. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  518. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  522. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  523. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +6 -6
  525. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  528. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  532. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  533. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +6 -6
  535. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  536. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  537. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  538. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  539. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  542. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  543. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  544. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +6 -6
  545. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  546. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  547. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +7 -7
  548. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs.segment.rsc +1 -1
  550. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  552. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +7 -7
  553. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_head.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_index.segment.rsc +6 -6
  555. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +2 -2
  556. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  557. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +7 -7
  558. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health.segment.rsc +1 -1
  560. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  561. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  562. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +7 -7
  563. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_head.segment.rsc +1 -1
  564. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_index.segment.rsc +6 -6
  565. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +2 -2
  566. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  567. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  568. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  569. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  571. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  573. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  574. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +6 -6
  576. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  577. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  578. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  579. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  580. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  581. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  582. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  583. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  584. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  585. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +6 -6
  586. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  587. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  588. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  589. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  590. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  591. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  592. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  593. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  594. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  595. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +6 -6
  596. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  597. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  598. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  599. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  600. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  601. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  602. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  603. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  604. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  605. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +6 -6
  606. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  607. package/app/.next-cli-build/server/app/dashboard/resource-monitor.html +1 -1
  608. package/app/.next-cli-build/server/app/dashboard/resource-monitor.rsc +8 -8
  609. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor/__PAGE__.segment.rsc +2 -2
  610. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor.segment.rsc +1 -1
  611. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  612. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  613. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_full.segment.rsc +8 -8
  614. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_head.segment.rsc +1 -1
  615. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_index.segment.rsc +6 -6
  616. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_tree.segment.rsc +2 -2
  617. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  622. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  623. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  625. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  626. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  630. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  631. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  632. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  633. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  636. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  637. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  638. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +6 -6
  639. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  640. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  641. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  642. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +1 -1
  643. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  644. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  645. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  646. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  647. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +6 -6
  649. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  650. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  651. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  652. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  653. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  654. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  655. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  656. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  657. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  658. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +6 -6
  659. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  660. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  661. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  662. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  663. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  664. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  666. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  667. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  668. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +6 -6
  669. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  670. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  671. package/app/.next-cli-build/server/app/dashboard.rsc +9 -9
  672. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  673. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  674. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +9 -9
  676. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  677. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +6 -6
  678. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  679. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  680. package/app/.next-cli-build/server/app/index.html +1 -1
  681. package/app/.next-cli-build/server/app/index.rsc +6 -6
  682. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  683. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  684. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  685. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  686. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  687. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  688. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  689. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  690. package/app/.next-cli-build/server/app/landing.html +1 -1
  691. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  692. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  693. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  694. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  695. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  696. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  698. package/app/.next-cli-build/server/app/login/page.js +2 -2
  699. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  700. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  701. package/app/.next-cli-build/server/app/login.html +1 -1
  702. package/app/.next-cli-build/server/app/login.rsc +7 -7
  703. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  704. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  705. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  706. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  707. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  708. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  709. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  710. package/app/.next-cli-build/server/app/page.js +1 -1
  711. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  712. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  713. package/app/.next-cli-build/server/app-paths-manifest.json +25 -25
  714. package/app/.next-cli-build/server/chunks/1340.js +2 -2
  715. package/app/.next-cli-build/server/chunks/2242.js +1 -1
  716. package/app/.next-cli-build/server/chunks/2817.js +64 -0
  717. package/app/.next-cli-build/server/chunks/3110.js +1 -1
  718. package/app/.next-cli-build/server/chunks/3433.js +11 -11
  719. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  720. package/app/.next-cli-build/server/chunks/4803.js +1 -1
  721. package/app/.next-cli-build/server/chunks/5852.js +1 -1
  722. package/app/.next-cli-build/server/chunks/6328.js +1 -1
  723. package/app/.next-cli-build/server/chunks/6759.js +1 -1
  724. package/app/.next-cli-build/server/chunks/6811.js +1 -1
  725. package/app/.next-cli-build/server/chunks/7774.js +15 -15
  726. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  727. package/app/.next-cli-build/server/chunks/8352.js +2 -2
  728. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  729. package/app/.next-cli-build/server/chunks/8895.js +1 -1
  730. package/app/.next-cli-build/server/instrumentation.js +1 -1
  731. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  732. package/app/.next-cli-build/server/middleware.js +1 -1
  733. package/app/.next-cli-build/server/pages/404.html +1 -1
  734. package/app/.next-cli-build/server/pages/500.html +1 -1
  735. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  736. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  737. package/app/.next-cli-build/static/chunks/1997-960c0473337bc722.js +1 -0
  738. package/app/.next-cli-build/static/chunks/1a258343-1aa1820b9db68d51.js +1 -0
  739. package/app/.next-cli-build/static/chunks/2691-7c29a97cead1a26c.js +1 -0
  740. package/app/.next-cli-build/static/chunks/{3794-e569667691edc8f7.js → 3794-c66b3d8325973459.js} +1 -1
  741. package/app/.next-cli-build/static/chunks/{5263-9e6a76af7b685083.js → 5263-02b3aab7d0a82872.js} +1 -1
  742. package/app/.next-cli-build/static/chunks/{5497-b1a640f93d1646b8.js → 5497-163c07d6e978b465.js} +2 -2
  743. package/app/.next-cli-build/static/chunks/662-3a3acd0077fba1d2.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/api-keys/{page-e75071168a70742d.js → page-552701487b8d946a.js} +1 -1
  745. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-c63dc82bb5c6b087.js → page-35c53c32b069f7a4.js} +1 -1
  746. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-84a85cfcdedfc8e9.js → page-069ab33599660fab.js} +1 -1
  747. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-efea63bf0515be7a.js → page-5c420761eae9ad7f.js} +1 -1
  748. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-ec751e557f3691ec.js → page-4f14c1a1901e2aeb.js} +1 -1
  749. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-edb2832558687ab5.js → page-be11fb15477e5017.js} +1 -1
  750. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-2495f6cb6b0f9fd9.js → page-e0ca50af0239d830.js} +1 -1
  751. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-73fd9b2815c66d05.js → page-afe65af2e84b3331.js} +1 -1
  752. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-541874bc0ec17116.js → page-b2907da0e7c1a4ce.js} +1 -1
  753. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-2709088bb374a085.js → page-a8c06179db4d4309.js} +1 -1
  754. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-204979bb1c2423c0.js → page-dc247d4d4f359a3e.js} +1 -1
  755. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-7c6ae6771e9552b9.js → page-d5909926224a6594.js} +1 -1
  756. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/{page-2495f6cb6b0f9fd9.js → page-e0ca50af0239d830.js} +1 -1
  757. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovider/{page-6faeef5fad177292.js → page-b6e435631f9a3661.js} +1 -1
  758. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovidermonitor/{page-a30fb2d6d7291183.js → page-b7f2c4e3140a57cb.js} +1 -1
  759. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-14e4896a7b3d03a6.js → page-a2adbf34a91441f3.js} +1 -1
  760. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-c3f6b47041bb5d0a.js → page-929000736d05649c.js} +1 -1
  761. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-bb4f508eecd4f64c.js → page-2fed405569d37da5.js} +1 -1
  762. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-9e476d663892908d.js → page-2191c509228d6d1f.js} +1 -1
  763. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-4165c0c36d3e7f87.js → page-f53c1f24ad2ff0f6.js} +1 -1
  764. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-7bc3c492062ff436.js → page-0d5721abcb35b023.js} +1 -1
  765. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/resource-monitor/page-9d4645f8134e5230.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-568e1a9385ab50a1.js → page-5c0c40c47423a09f.js} +1 -1
  767. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-fea4b7d34519e50e.js → page-acac191986829aa2.js} +1 -1
  768. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-90e37cd58cf9e110.js → page-b19a726c3b016a28.js} +1 -1
  769. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-cf66af70a17a707c.js → layout-25d7e76e157819d6.js} +1 -1
  770. package/app/.next-cli-build/static/chunks/app/login/page-62f5a0e3540ad0ee.js +1 -0
  771. package/app/.next-cli-build/static/chunks/{main-eb1b86e4183e86c5.js → main-52cce31a84751ecc.js} +1 -1
  772. package/app/.next-cli-build/static/css/1e28604dde5af1ca.css +1 -0
  773. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.53-to-5.1.54-5.1.54-20260721-204241/data.sqlite +0 -0
  774. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.53-to-5.1.54-5.1.54-20260721-204242/data.sqlite +0 -0
  775. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.54-to-5.1.55-5.1.55-20260721-212946/data.sqlite +0 -0
  776. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.1.55-to-5.1.56-5.1.56-20260721-214906/data.sqlite +0 -0
  777. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite +0 -0
  778. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-shm +0 -0
  779. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite-wal +0 -0
  780. package/app/cli/.build-home/AppData/Roaming/bluerouter/jwt-secret +1 -1
  781. package/app/cli/.build-home/AppData/Roaming/bluerouter/machine-id +1 -1
  782. package/app/cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json +3 -3
  783. package/app/node_modules/@next/env/package.json +7 -8
  784. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  785. package/app/node_modules/baseline-browser-mapping/package.json +3 -3
  786. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  892. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  893. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  894. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  895. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  896. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  897. package/app/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  898. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  899. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  900. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  901. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  902. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  903. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  904. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  905. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  906. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  907. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  908. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  909. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  910. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  911. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  912. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  913. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  914. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  915. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  916. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  917. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  918. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  919. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  920. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  921. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  922. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  923. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  924. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  925. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  926. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  927. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  928. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  929. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  930. package/app/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  931. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  932. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  933. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  934. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  935. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  936. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  937. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  938. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  939. package/app/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  940. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  941. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  942. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  943. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  944. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  945. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  946. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  947. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  948. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  949. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  950. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  951. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  952. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  953. package/app/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  954. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  955. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  956. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  957. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  958. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  959. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  960. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  961. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  962. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  963. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  964. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  965. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  966. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  967. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  968. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  969. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  970. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  971. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  972. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  973. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  974. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  975. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  976. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  977. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  978. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  979. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  980. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  981. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  982. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  983. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  984. package/app/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  985. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  986. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  987. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  988. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  989. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  990. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  991. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  992. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  993. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  994. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  995. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  996. package/app/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  997. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  998. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  999. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  1000. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  1001. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  1002. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  1003. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  1004. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  1005. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  1006. package/app/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  1007. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  1008. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  1009. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  1010. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  1011. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  1012. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  1013. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  1014. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  1015. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  1016. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  1017. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  1018. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  1019. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  1020. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  1021. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  1022. package/app/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  1023. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  1024. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  1025. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  1026. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  1027. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  1028. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  1029. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  1030. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  1031. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  1032. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  1033. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  1034. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  1035. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  1036. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  1037. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  1038. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  1039. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  1040. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  1041. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  1042. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  1043. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  1044. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  1045. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  1046. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  1047. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  1048. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  1049. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  1050. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  1051. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  1052. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  1053. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  1054. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  1055. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  1056. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  1057. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  1058. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  1059. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  1060. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  1061. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  1062. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  1063. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  1064. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  1065. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  1066. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  1067. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  1068. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  1069. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  1070. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  1071. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  1072. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  1073. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  1074. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  1075. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  1076. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  1077. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  1078. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  1079. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  1080. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  1081. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  1082. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  1083. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  1084. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  1085. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  1086. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  1087. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  1088. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  1089. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  1090. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  1091. package/app/node_modules/caniuse-lite/data/features/ime.js +1 -1
  1092. package/app/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  1093. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  1094. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  1095. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  1096. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  1097. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  1098. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  1099. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  1100. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  1101. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  1102. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  1103. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  1104. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  1105. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  1106. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  1107. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  1108. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  1109. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  1110. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  1111. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  1112. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  1113. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  1114. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  1115. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  1116. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  1117. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  1118. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  1119. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  1120. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  1121. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  1122. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  1123. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  1124. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  1125. package/app/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  1126. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  1127. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  1128. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  1129. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  1130. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  1131. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  1132. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  1133. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  1134. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  1135. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  1136. package/app/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  1137. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  1138. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  1139. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  1140. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  1141. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  1142. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  1143. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  1144. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  1145. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  1146. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  1147. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  1148. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  1149. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  1150. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  1151. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  1152. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  1153. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  1154. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  1155. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  1156. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  1157. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  1158. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  1159. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  1160. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  1161. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  1162. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  1163. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  1164. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  1165. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  1166. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  1167. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  1168. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  1169. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  1170. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  1171. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  1172. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  1173. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  1174. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  1175. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  1176. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  1177. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  1178. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  1179. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  1180. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  1181. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  1182. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  1183. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  1184. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  1185. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  1186. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  1187. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  1188. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  1189. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  1190. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  1191. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  1192. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  1193. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  1194. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  1195. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  1196. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  1197. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  1198. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  1199. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  1200. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  1201. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  1202. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  1203. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  1204. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  1205. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  1206. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  1207. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  1208. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  1209. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  1210. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  1211. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  1212. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  1213. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  1214. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  1215. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  1216. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  1217. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  1218. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  1219. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  1220. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  1221. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  1222. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  1223. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  1224. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  1225. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  1226. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  1227. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  1228. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  1229. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  1230. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  1231. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  1232. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  1233. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  1234. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  1235. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  1236. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  1237. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  1238. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  1239. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  1240. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  1241. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  1242. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  1243. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  1244. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  1245. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  1246. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  1247. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  1248. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  1249. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  1250. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  1251. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  1252. package/app/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  1253. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  1254. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  1255. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  1256. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  1257. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  1258. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  1259. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  1260. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  1261. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  1262. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  1263. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  1264. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  1265. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  1266. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  1267. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  1268. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  1269. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  1270. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  1271. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  1272. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  1273. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  1274. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  1275. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  1276. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  1277. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  1278. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  1279. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  1280. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  1281. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  1282. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  1283. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  1284. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  1285. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  1286. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  1287. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  1288. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  1289. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  1290. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  1291. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  1292. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  1293. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  1294. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  1295. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  1296. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  1297. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  1298. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  1299. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  1300. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  1301. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  1302. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  1303. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  1304. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  1305. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  1306. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  1307. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  1308. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  1309. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  1310. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  1311. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  1312. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  1313. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  1314. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  1315. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  1316. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  1317. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  1318. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  1319. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  1320. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  1321. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  1322. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  1323. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  1324. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  1325. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  1326. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  1327. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  1328. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  1329. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  1330. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  1331. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  1332. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  1333. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  1334. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  1335. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  1336. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  1337. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  1338. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  1339. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  1340. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  1341. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  1342. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  1343. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  1344. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  1345. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  1346. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  1347. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  1348. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  1349. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  1350. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  1351. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  1352. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  1353. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  1354. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1355. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1356. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1357. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1358. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1359. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1360. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1361. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1362. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1363. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1364. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1365. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1366. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1367. package/app/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1368. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1369. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1370. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1371. package/app/node_modules/caniuse-lite/data/versionGroups.js +1 -0
  1372. package/app/node_modules/caniuse-lite/dist/unpacker/feature.js +30 -1
  1373. package/app/node_modules/caniuse-lite/dist/unpacker/versionGroups.js +1 -0
  1374. package/app/node_modules/caniuse-lite/package.json +1 -1
  1375. package/app/node_modules/nanoid/non-secure/index.cjs +0 -10
  1376. package/app/node_modules/nanoid/package.json +1 -1
  1377. package/app/node_modules/next/dist/build/swc/index.js +1 -1
  1378. package/app/node_modules/next/dist/build/webpack-config.js +3 -3
  1379. package/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
  1380. package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  1381. package/app/node_modules/next/dist/server/config.js +1 -1
  1382. package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  1383. package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  1384. package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  1385. package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  1386. package/app/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  1387. package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  1388. package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  1389. package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  1390. package/app/node_modules/next/package.json +10 -252
  1391. package/app/node_modules/pg/lib/client.js +7 -1
  1392. package/app/node_modules/pg/lib/connection-parameters.js +13 -0
  1393. package/app/node_modules/pg/lib/connection.js +43 -22
  1394. package/app/node_modules/pg/lib/defaults.js +3 -0
  1395. package/app/node_modules/pg/lib/query.js +4 -0
  1396. package/app/node_modules/pg/package.json +4 -4
  1397. package/app/node_modules/pg-connection-string/index.js +6 -0
  1398. package/app/node_modules/pg-connection-string/package.json +3 -3
  1399. package/app/node_modules/pg-protocol/dist/buffer-reader.js +1 -1
  1400. package/app/node_modules/pg-protocol/dist/buffer-writer.js +23 -0
  1401. package/app/node_modules/pg-protocol/dist/index.js +2 -2
  1402. package/app/node_modules/pg-protocol/dist/parser.js +1 -1
  1403. package/app/node_modules/pg-protocol/dist/serializer.js +11 -4
  1404. package/app/node_modules/pg-protocol/package.json +2 -2
  1405. package/app/package.json +1 -1
  1406. package/app/server.js +1 -1
  1407. package/package.json +1 -1
  1408. package/app/.next-cli-build/server/chunks/1568.js +0 -64
  1409. package/app/.next-cli-build/static/chunks/1997-ba7340b2133ad171.js +0 -1
  1410. package/app/.next-cli-build/static/chunks/1a258343-bc0b514c079d8898.js +0 -1
  1411. package/app/.next-cli-build/static/chunks/506-e306a6facf8e670d.js +0 -1
  1412. package/app/.next-cli-build/static/chunks/6483-1a0c2466b468d17f.js +0 -1
  1413. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/resource-monitor/page-5f479cc10bd09c16.js +0 -1
  1414. package/app/.next-cli-build/static/chunks/app/login/page-f91aeeb0177c9f49.js +0 -1
  1415. package/app/.next-cli-build/static/css/db6f4427d10c1051.css +0 -1
  1416. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.6-to-5.2.7-5.2.7-20260722-150051/data.sqlite +0 -0
  1417. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.7-to-5.2.8-5.2.8-20260722-150410/data.sqlite +0 -0
  1418. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.8-to-5.2.9-5.2.9-20260722-150713/data.sqlite +0 -0
  1419. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/upgrade-5.2.9-to-5.2.10-5.2.10-20260722-155355/data.sqlite +0 -0
  1420. /package/app/.next-cli-build/static/{gyQrEtsddd06SQySJw72v → uQ7CbWIPwEAZ1NgwRCYUI}/_buildManifest.js +0 -0
  1421. /package/app/.next-cli-build/static/{gyQrEtsddd06SQySJw72v → uQ7CbWIPwEAZ1NgwRCYUI}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[662],{16746:(e,t,n)=>{n.d(t,{b:()=>o});var r=n(12115),a=n(95295),i=n(12425),l=["axis"],o=(0,r.forwardRef)((e,t)=>r.createElement(i.P,{chartName:"LineChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:l,tooltipPayloadSearcher:a.uN,categoricalChartProps:e,ref:t}))},19381:(e,t,n)=>{n.d(t,{s:()=>el});var r=n(12115),a=n(47650),i=n(30125),l=n(29722),o=n(67816);let c=Math.cos,u=Math.sin,s=Math.sqrt,p=Math.PI,f=2*p,d={draw(e,t){let n=s(t/p);e.moveTo(n,0),e.arc(0,0,n,0,f)}},y=s(1/3),m=2*y,h=u(p/10)/u(7*p/10),v=u(f/10)*h,g=-c(f/10)*h,b=s(3),x=s(3)/2,O=1/s(12),P=(O/2+1)*3;var E=n(74592),w=n(85802);s(3),s(3);var j=n(92191),A=n(55359),T=["type","size","sizeType"];function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){var r,a,i;r=e,a=t,i=n[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var D={symbolCircle:d,symbolCross:{draw(e,t){let n=s(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},symbolDiamond:{draw(e,t){let n=s(t/m),r=n*y;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},symbolSquare:{draw(e,t){let n=s(t),r=-n/2;e.rect(r,r,n,n)}},symbolStar:{draw(e,t){let n=s(.8908130915292852*t),r=v*n,a=g*n;e.moveTo(0,-n),e.lineTo(r,a);for(let t=1;t<5;++t){let i=f*t/5,l=c(i),o=u(i);e.lineTo(o*n,-l*n),e.lineTo(l*r-o*a,o*r+l*a)}e.closePath()}},symbolTriangle:{draw(e,t){let n=-s(t/(3*b));e.moveTo(0,2*n),e.lineTo(-b*n,-n),e.lineTo(b*n,-n),e.closePath()}},symbolWye:{draw(e,t){let n=s(t/P),r=n/2,a=n*O,i=n*O+n,l=-r;e.moveTo(r,a),e.lineTo(r,i),e.lineTo(l,i),e.lineTo(-.5*r-x*a,x*r+-.5*a),e.lineTo(-.5*r-x*i,x*r+-.5*i),e.lineTo(-.5*l-x*i,x*l+-.5*i),e.lineTo(-.5*r+x*a,-.5*a-x*r),e.lineTo(-.5*r+x*i,-.5*i-x*r),e.lineTo(-.5*l+x*i,-.5*i-x*l),e.closePath()}}},N=Math.PI/180,M=e=>{var t=e.type,n=void 0===t?"circle":t,a=e.size,i=void 0===a?64:a,o=e.sizeType,c=void 0===o?"area":o,u=k(k({},function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,T)),{},{type:n,size:i,sizeType:c}),s="circle";"string"==typeof n&&(s=n);var p=u.className,f=u.cx,y=u.cy,m=(0,A.a)(u);return(0,j.Et)(f)&&(0,j.Et)(y)&&(0,j.Et)(i)?r.createElement("path",I({},m,{className:(0,l.$)("recharts-symbols",p),transform:"translate(".concat(f,", ").concat(y,")"),d:(()=>{var e,t=(e=s,D["symbol".concat((0,j.Zb)(e))]||d),n=(function(e,t){let n=null,r=(0,w.i)(a);function a(){let a;if(n||(n=a=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),a)return n=null,a+""||null}return e="function"==typeof e?e:(0,E.A)(e||d),t="function"==typeof t?t:(0,E.A)(void 0===t?64:+t),a.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,E.A)(t),a):e},a.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,E.A)(+e),a):t},a.context=function(e){return arguments.length?(n=null==e?null:e,a):n},a})().type(t).size(((e,t,n)=>{if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*N;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.tan(r)**2);case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}})(i,c,s))();if(null!==n)return n})()})):null};M.registerSymbol=(e,t)=>{D["symbol".concat((0,j.Zb)(e))]=t};var z=n(18387),C=n(43527);function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(t){var r,a,i;r=e,a=t,i=n[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var B={align:"center",iconSize:14,inactiveColor:"#ccc",layout:"horizontal",verticalAlign:"middle",labelStyle:{}};function K(e){var t=e.data,n=e.iconType,a=e.inactiveColor,i=32/6,l=32/3,o=t.inactive?a:t.color,c=null!=n?n:t.type;if("none"===c)return null;if("plainline"===c)return r.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:function(e){if("object"==typeof e&&null!==e&&"strokeDasharray"in e)return String(e.strokeDasharray)}(t.payload),x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===c)return r.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(l,"\n A").concat(i,",").concat(i,",0,1,1,").concat(2*l,",").concat(16,"\n H").concat(32,"M").concat(2*l,",").concat(16,"\n A").concat(i,",").concat(i,",0,1,1,").concat(l,",").concat(16),className:"recharts-legend-icon"});if("rect"===c)return r.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(r.isValidElement(t.legendIcon)){var u=W({},t);return delete u.legendIcon,r.cloneElement(t.legendIcon,u)}return r.createElement(M,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:c})}function V(e){var t=e.payload,n=e.iconSize,a=e.layout,i=e.formatter,c=e.inactiveColor,u=e.iconType,s=e.labelStyle,p={x:0,y:0,width:32,height:32},f={display:"horizontal"===a?"inline-block":"block",marginRight:10},d={display:"inline-block",verticalAlign:"middle",marginRight:4};return t.map((t,a)=>{var y=t.formatter||i,m=(0,l.$)({"recharts-legend-item":!0,["legend-item-".concat(a)]:!0,inactive:t.inactive});if("none"===t.type)return null;var h="object"==typeof s?W({},s):{};h.color=t.inactive?c:h.color||t.color;var v=y?y(t.value,t,a):t.value;return r.createElement("li",R({className:m,style:f,key:"legend-item-".concat(a)},(0,z.XC)(e,t,a)),r.createElement(o.u,{width:n,height:n,viewBox:p,style:d,"aria-label":null==t.value?"legend icon":"".concat(t.value," legend icon")},r.createElement(K,{data:t,iconType:u,inactiveColor:c})),r.createElement("span",{className:"recharts-legend-item-text",style:h},v))})}var F=e=>{var t=(0,C.e)(e,B),n=t.payload,a=t.layout,i=t.align;return n&&n.length?r.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===a?i:"left"}},r.createElement(V,R({},t,{payload:n}))):null},q=n(20573),G=n(10365),_=n(33313),$=n(2644),H=n(65372),U=n(51124),Z=n(46574),Q=["contextPayload"];function X(){return(X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach(function(t){var r,a,i;r=e,a=t,i=n[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function et(e){return e.value}function en(e){var t=e.contextPayload,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,Q),a=(0,q.s)(t,e.payloadUniqBy,et),i=ee(ee({},n),{},{payload:a});return r.isValidElement(e.content)?r.cloneElement(e.content,i):"function"==typeof e.content?r.createElement(e.content,i):r.createElement(F,i)}function er(e){var t=e.align,n=e.layout,a=e.verticalAlign,i=e.itemSorter,l=(0,G.j)();return(0,r.useLayoutEffect)(()=>{l((0,U.h1)({align:t,layout:n,verticalAlign:a,itemSorter:i}))},[l,t,n,a,i]),null}function ea(e){var t=e.width,n=e.height,a=(0,G.j)();return(0,r.useLayoutEffect)(()=>{a((0,U.hx)({width:t,height:n}))},[a,t,n]),(0,r.useLayoutEffect)(()=>()=>{a((0,U.hx)({width:0,height:0}))},[a]),null}var ei={align:"center",iconSize:14,inactiveColor:"#ccc",itemSorter:"value",labelStyle:{},layout:"horizontal",verticalAlign:"bottom"},el=r.memo(function(e){var t,n,l,o,c,u,s,p=(0,C.e)(e,ei),f=(0,G.G)(_.g0),d=(0,i.M)(),y=(0,H.Kp)(),m=p.width,h=p.height,v=p.wrapperStyle,g=p.portal,b=function(e){if(Array.isArray(e))return e}(t=(0,$.V)([f]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,a,i,l=[],o=!0,c=!1;try{a=(t=t.call(e)).next,!1;for(;!(o=(n=a.call(t)).done)&&(l.push(n.value),2!==l.length);o=!0);}catch(e){c=!0,r=e}finally{try{if(!o&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw r}}return l}}(t)||function(e){if(e){if("string"==typeof e)return Y(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Y(e,2):void 0}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),x=b[0],O=b[1],P=(0,H.yi)(),E=(0,H.rY)();if(null==P||null==E)return null;var w=P-((null==y?void 0:y.left)||0)-((null==y?void 0:y.right)||0),j=(n=p.layout,"vertical"===n&&null!=h?{height:h}:"horizontal"===n?{width:m||w}:null),A=g?v:ee(ee({position:"absolute",width:(null==j?void 0:j.width)||m||"auto",height:(null==j?void 0:j.height)||h||"auto"},(c=p.layout,u=p.align,s=p.verticalAlign,v&&(void 0!==v.left&&null!==v.left||void 0!==v.right&&null!==v.right)||(l="center"===u&&"vertical"===c?{left:((P||0)-x.width)/2}:"right"===u?{right:y&&y.right||0}:{left:y&&y.left||0}),v&&(void 0!==v.top&&null!==v.top||void 0!==v.bottom&&null!==v.bottom)||(o="middle"===s?{top:((E||0)-x.height)/2}:"bottom"===s?{bottom:y&&y.bottom||0}:{top:y&&y.top||0}),ee(ee({},l),o))),v),T=null!=g?g:d;if(null==T||null==f)return null;var I=r.createElement("div",{className:"recharts-legend-wrapper",style:A,ref:O},r.createElement(er,{layout:p.layout,align:p.align,verticalAlign:p.verticalAlign,itemSorter:p.itemSorter}),!g&&r.createElement(ea,{width:x.width,height:x.height}),r.createElement(en,X({},p,j,{margin:y,chartWidth:P,chartHeight:E,contextPayload:f})));return(0,a.createPortal)(I,T)},Z.P);el.displayName="Legend"},83761:(e,t,n)=>{n.d(t,{N1:()=>ey,lF:()=>ed});var r=n(12115),a=n(29722),i=n(11058),l=n(37214),o=["animationElapsedTime","isAnimating","isEntrance","visibleLength","strokeDasharray","connectNulls"];function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function u(e,t){return"".concat(t,"px ").concat(e,"px")}var s=n(75726),p=n(85545),f=n(48661),d=n(92191),y=n(21966),m=n(39168),h=n(46664),v=n(96561),g=["children"],b=(0,r.createContext)({data:[],xAxisId:"xAxis-0",yAxisId:"yAxis-0",dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0});function x(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,g);return r.createElement(b.Provider,{value:n},t)}var O=n(36793),P=n(65372),E=n(64105),w=n(2842),j=n(57346),A=n(73252),T=(e,t,n,r)=>(0,A.Gx)(e,"xAxis",t,r),I=(e,t,n,r)=>(0,A.CR)(e,"xAxis",t,r),S=(e,t,n,r)=>(0,A.Gx)(e,"yAxis",n,r),k=(e,t,n,r)=>(0,A.CR)(e,"yAxis",n,r),D=(0,w.Mz)([P.fz,T,S,I,k],(e,t,n,r,a)=>(0,m._L)(e,"xAxis")?(0,m.Hj)(t,r,!1):(0,m.Hj)(n,a,!1));function N(e){return"line"===e.type}var M=(0,w.Mz)([A.ld,(e,t,n,r,a)=>a],(e,t)=>e.filter(N).find(e=>e.id===t)),z=(0,w.Mz)([P.fz,T,S,I,k,M,D,j.k$],(e,t,n,r,a,i,l,o)=>{var c,u=o.chartData,s=o.dataStartIndex,p=o.dataEndIndex;if(null!=i&&null!=t&&null!=n&&null!=r&&null!=a&&0!==r.length&&0!==a.length&&null!=l&&("horizontal"===e||"vertical"===e)){var f=i.dataKey,d=i.data;if(null!=(c=null!=d&&d.length>0?d:null==u?void 0:u.slice(s,p+1)))return ed({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:a,dataKey:f,bandSize:l,displayedData:c})}}),C=n(10365),R=n(45970),L=n(89045),W=n(60106),B=n(43527),K=n(57747),V=n(75345),F=n(9629),q=n(23651),G=n(55359),_=n(21454),$=n(59318),H=n(10483),U=n(51531),Z=n(46574),Q=["id"],X=["type","layout","connectNulls","needClip","shape","strokeDasharray"],Y=["activeDot","animateNewValues","animationBegin","animationDuration","animationEasing","connectNulls","dot","hide","isAnimationActive","label","legendType","xAxisId","yAxisId","id"];function J(){return(J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function ee(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach(function(t){var r,a,i;r=e,a=t,i=n[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var er={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",animationInterpolateFn:(e,t)=>{if(null==e)return[];if(1===t)return e.flatMap(e=>"removed"===e.status?[]:[e.next]);var n=function(e){var t=0,n=0;for(var r of e)"matched"===r.status&&null!=r.prev.x&&null!=r.next.x&&(t+=r.next.x-r.prev.x,n++);return n>0?t/n:0}(e),r=[];for(var a of e)if("matched"===a.status)r.push(en(en({},a.next),{},{x:(0,d.GW)(a.prev.x,a.next.x,t),y:(0,d.GW)(a.prev.y,a.next.y,t)}));else if("added"===a.status)if(null!=a.next.x){var i=a.next.x-n;r.push(en(en({},a.next),{},{x:(0,d.GW)(i,a.next.x,t),y:a.next.y}))}else r.push(a.next);else if("removed"===a.status&&null!=a.prev.x){var l=a.prev.x+n;r.push(en(en({},a.prev),{},{x:(0,d.GW)(a.prev.x,l,t),y:a.prev.y}))}return r},animationMatchBy:W.hC,connectNulls:!1,dot:!0,fill:"#fff",hide:!1,isAnimationActive:"auto",label:!1,legendType:"line",shape:function(e){e.animationElapsedTime,e.isAnimating,e.isEntrance;var t=e.visibleLength,n=e.strokeDasharray,a=e.connectNulls,i=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,o);if(null!=t){var s,p,f=i.pathRef,d=function(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}(null!=(p=null==f?void 0:f.current)?p:null);s=n?function(e,t,n){var r=n.length%2!=0?[...n,...n]:n,a=r.reduce((e,t)=>e+t,0);if(!a)return u(t,e);for(var i=Math.floor(e/a),l=e%a,o=[],c=0,s=0;c<r.length;s+=null!=(p=r[c])?p:0,++c){var p,f=r[c];if(null!=f&&s+f>l){o=[...r.slice(0,c),l-s];break}}var d=o.length%2==0?[0,t]:[t];return[...function(e,t){for(var n=[],r=0;r<t;++r)n.push(...e);return n}(r,i),...o,...d].map(e=>"".concat(e,"px")).join(", ")}(t,d,"".concat(n).split(/[,\s]+/gim).map(e=>parseFloat(e))):u(d,t)}else null!=n&&(s=String(n));return r.createElement(l.Ip,c({},i,{connectNulls:null!=a&&a,strokeDasharray:s}))},stroke:"#3182bd",strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:U.I.line,type:"linear"},ea=r.memo(e=>{var t=e.dataKey,n=e.data,a=e.stroke,i=e.strokeWidth,l=e.fill,o=e.name,c=e.hide,u=e.unit,s=e.formatter,p=e.tooltipType,f=e.id,y={dataDefinedOnItem:n,getPosition:d.lQ,settings:{stroke:a,strokeWidth:i,fill:l,dataKey:t,nameKey:void 0,name:(0,m.uM)(o,t),hide:c,type:p,color:a,unit:u,formatter:s,graphicalItemId:f}};return r.createElement(v.r,{tooltipEntrySettings:y})});function ei(e){var t=e.clipPathId,n=e.points,a=e.props,i=a.dot,l=a.dataKey,o=a.needClip;a.id;var c=ee(a,Q),u=(0,q.uZ)(c);return r.createElement(f.n,{points:n,dot:i,className:"recharts-line-dots",dotClassName:"recharts-line-dot",dataKey:l,baseProps:u,needClip:o,clipPathId:t})}function el(e){var t=e.showLabels,n=e.children,a=e.points,i=(0,r.useMemo)(()=>null==a?void 0:a.map(e=>{var t,n,r={x:null!=(t=e.x)?t:0,y:null!=(n=e.y)?n:0,width:0,lowerWidth:0,upperWidth:0,height:0};return en(en({},r),{},{value:e.value,payload:e.payload,viewBox:r,parentViewBox:void 0,fill:void 0})}),[a]);return r.createElement(p.h8,{value:t?i:void 0},n)}function eo(e){var t=e.clipPathId,n=e.pathRef,a=e.points,i=e.props,l=e.animationElapsedTime,o=e.isAnimating,c=e.isEntrance,u=e.visibleLength,s=i.type,p=i.layout,f=i.connectNulls,d=i.needClip,y=i.shape,m=i.strokeDasharray,h=ee(i,X),v=en(en({},(0,G.a)(h)),{},{fill:"none",className:"recharts-line-curve",clipPath:d?"url(#clipPath-".concat(t,")"):void 0,points:a,type:s,layout:p,connectNulls:f,strokeDasharray:null!=m?m:i.strokeDasharray,pathRef:n,animationElapsedTime:l,isAnimating:o,isEntrance:!!i.animateNewValues&&c,visibleLength:u});return r.createElement(r.Fragment,null,(null==a?void 0:a.length)>1&&r.createElement($.y,{option:y,DefaultShape:er.shape,shapeProps:v}),r.createElement(ei,{points:a,clipPathId:t,props:i}))}function ec(e){var t,n,a,i,l=e.clipPathId,o=e.props,c=e.pathRef,u=e.previousPointsRef,f=o.points,d=o.isAnimationActive,y=o.animationBegin,m=o.animationDuration,h=o.animationEasing,v=o.animationMatchBy,g=o.animationInterpolateFn,b=o.layout,x=function(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}(c.current),O=(0,L.I)(o.onAnimationStart,o.onAnimationEnd),P=O.isAnimating,E=O.handleAnimationStart,w=O.handleAnimationEnd,j=(t=(0,r.useRef)(0),n=(0,r.useRef)(0),a=(0,r.useRef)(!1),(i=(0,r.useRef)(f)).current!==f&&(t.current=n.current,i.current=f),(0,r.useCallback)((e,r)=>{if(a.current)return null;var i=Math.min((0,s.L)(t.current+e*r),r);return e>0&&r>0&&(n.current=Math.max(n.current,i),i>=r)?(a.current=!0,null):i},[])),A=(0,r.useCallback)(e=>e>0&&x>0,[x]);return r.createElement(el,{points:f,showLabels:!P},o.children,r.createElement(L.U,{animationInput:f,animationIdPrefix:"recharts-line-",items:f,previousItemsRef:u,isAnimationActive:d,animationBegin:y,animationDuration:m,animationEasing:h,onAnimationStart:E,onAnimationEnd:w,animationInterpolateFn:g,animationMatchBy:v,shouldUpdatePreviousRef:A,layout:b},(e,t,n)=>{var a=P||t<1,i=a?j(t,x):null;return r.createElement(eo,{props:o,points:e,clipPathId:l,pathRef:c,animationElapsedTime:t,isAnimating:a,isEntrance:n,visibleLength:i})}),r.createElement(p.qY,{label:o.label}))}function eu(e){var t=e.clipPathId,n=e.props,a=(0,r.useRef)(null),i=(0,r.useRef)(null);return r.createElement(ec,{props:n,clipPathId:t,previousPointsRef:a,pathRef:i})}var es=(e,t)=>{var n,r;return{x:null!=(n=e.x)?n:void 0,y:null!=(r=e.y)?r:void 0,value:e.value,errorVal:(0,m.kr)(e.payload,t)}};class ep extends r.Component{render(){var e=this.props,t=e.hide,n=e.dot,l=e.points,o=e.className,c=e.xAxisId,u=e.yAxisId,s=e.top,p=e.left,f=e.width,d=e.height,m=e.id,v=e.needClip,g=e.zIndex;if(t)return null;var b=(0,a.$)("recharts-line",o),P=(0,_.x)(n),E=P.r,w=P.strokeWidth,j=(0,y.y$)(n),A=2*E+w,T=v?"url(#clipPath-".concat(j?"":"dots-").concat(m,")"):void 0;return r.createElement(H.g,{zIndex:g},r.createElement(i.W,{className:b},v&&r.createElement("defs",null,r.createElement(O.Q,{clipPathId:m,xAxisId:c,yAxisId:u}),!j&&r.createElement("clipPath",{id:"clipPath-dots-".concat(m)},r.createElement("rect",{x:p-A/2,y:s-A/2,width:f+A,height:d+A}))),r.createElement(x,{xAxisId:c,yAxisId:u,data:l,dataPointFormatter:es,errorBarOffset:0},r.createElement(eu,{props:this.props,clipPathId:m}))),r.createElement(h.W,{activeDot:this.props.activeDot,points:l,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:T}))}}function ef(e){var t=(0,B.e)(e,er),n=t.activeDot,a=t.animateNewValues,i=t.animationBegin,l=t.animationDuration,o=t.animationEasing,c=t.connectNulls,u=t.dot,s=t.hide,p=t.isAnimationActive,f=t.label,d=t.legendType,y=t.xAxisId,m=t.yAxisId,h=t.id,v=ee(t,Y),g=(0,O.l)(y,m).needClip,b=(0,K.oM)(),x=(0,P.WX)(),w=(0,E.r)(),j=(0,C.G)(e=>z(e,y,m,w,h));if("horizontal"!==x&&"vertical"!==x||null==j||null==b)return null;var A=b.height,T=b.width,I=b.x,S=b.y;return r.createElement(ep,J({},v,{id:h,connectNulls:c,dot:u,activeDot:n,animateNewValues:a,animationBegin:i,animationDuration:l,animationEasing:o,isAnimationActive:p,hide:s,label:f,legendType:d,xAxisId:y,yAxisId:m,points:j,layout:x,height:A,width:T,left:I,top:S,needClip:g}))}function ed(e){var t=e.layout,n=e.xAxis,r=e.yAxis,a=e.xAxisTicks,i=e.yAxisTicks,l=e.dataKey,o=e.bandSize;return e.displayedData.map((e,c)=>{var u=(0,m.kr)(e,l);if("horizontal"===t){var s=(0,m.nb)({axis:n,ticks:a,bandSize:o,entry:e,index:c}),p=(0,d.uy)(u)?null:r.scale.map(u);return{x:s,y:null!=p?p:null,value:u,payload:e}}var f=(0,d.uy)(u)?null:n.scale.map(u),y=(0,m.nb)({axis:r,ticks:i,bandSize:o,entry:e,index:c});return null==f||null==y?null:{x:f,y,value:u,payload:e}}).filter(Boolean)}var ey=r.memo(function(e){var t=(0,B.e)(e,er),n=(0,E.r)();return r.createElement(V.x,{id:t.id,type:"line"},e=>{var a,i,l,o;return r.createElement(r.Fragment,null,r.createElement(R.A,{legendPayload:(a=t.dataKey,i=t.name,l=t.stroke,o=t.legendType,[{inactive:t.hide,dataKey:a,type:o,color:l,value:(0,m.uM)(i,a),payload:t}])}),r.createElement(ea,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,formatter:t.formatter,tooltipType:t.tooltipType,id:e}),r.createElement(F.p,{type:"line",id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,hide:t.hide,isPanorama:n}),r.createElement(ef,J({},t,{id:e})))})},Z.P);ey.displayName="Line"}}]);
@@ -20,4 +20,4 @@ wire_api = "responses"
20
20
  [profiles.fast]
21
21
  model = "${s||n||"programmer-fast"}"
22
22
  model_provider = "bluerouter"`}({baseUrl:tk,codingModel:tK.codingModel,fastModel:tK.fastModel}):"",t_=e4?['npm install -g @openai/codex\ncodex --version\nmkdir $env:USERPROFILE\\.codex -Force\n$utf8NoBom = New-Object System.Text.UTF8Encoding $false\n[System.IO.File]::WriteAllText("$env:USERPROFILE\\.codex\\config.toml", @\'',tL,"'@, $utf8NoBom)",`$env:OPENAI_API_KEY = "${e4.key}"`,`setx OPENAI_API_KEY "${e4.key}"`,"cd D:\\path\\to\\your-project\ncodex"].join("\n"):"",tR=e7?x(e7,tw):{codingModel:tw||"YOUR_MODEL",fastModel:tw||"YOUR_MODEL"},tD=e7?function({baseUrl:e,apiKey:t,codingModel:s,fastModel:n}){let r=s||"programmer",a=n||r||"programmer-fast",l=e||"https://models-gateway.example.com/v1";return JSON.stringify({env:{OPENAI_API_KEY:t||"sk-xxxxx"},security:{auth:{selectedType:"openai"}},model:{name:r},modelProviders:{openai:[{id:r,name:r,envKey:"OPENAI_API_KEY",baseUrl:l,generationConfig:{timeout:12e4,maxRetries:2,contextWindowSize:12e4,samplingParams:{temperature:.2}}},{id:a,name:a,envKey:"OPENAI_API_KEY",baseUrl:l,generationConfig:{timeout:6e4,maxRetries:2,reasoning:!1,contextWindowSize:12e4,samplingParams:{temperature:.2,max_tokens:4096}}}]}},null,2)}({baseUrl:tk,apiKey:e7.key,codingModel:tR.codingModel,fastModel:tR.fastModel}):"",tU=e7?['npm install -g @qwen-code/qwen-code\nqwen --version\nmkdir $env:USERPROFILE\\.qwen -Force\n$utf8NoBom = New-Object System.Text.UTF8Encoding $false\n[System.IO.File]::WriteAllText("$env:USERPROFILE\\.qwen\\settings.json", @\'',tD,"'@, $utf8NoBom)",`$env:OPENAI_API_KEY = "${e7.key}"`,`$env:OPENAI_BASE_URL = "${tk}"`,`$env:OPENAI_MODEL = "${tR.codingModel}"`,`setx OPENAI_API_KEY "${e7.key}"`,`setx OPENAI_BASE_URL "${tk}"`,`setx OPENAI_MODEL "${tR.codingModel}"`,"cd D:\\path\\to\\your-project\nqwen"].join("\n"):"",tq=(0,r.useMemo)(()=>{let e=new Map;for(let t of B){let s=o(t.username||t.email||t.userPrincipalName||t.sAMAccountName);s&&e.set(s,{id:s,label:`${t.displayName||t.username||s}${t.email?` \xb7 ${t.email}`:""}`})}for(let t of h){let s=o(t.ownerUser||t.createdByUser);s&&!e.has(s)&&e.set(s,{id:s,label:s})}return tb&&!e.has(tb)&&e.set(tb,{id:tb,label:`${tb} (t\xf4i)`}),[...e.values()].sort((e,t)=>e.label.localeCompare(t.label))},[B,h,tb]),tB=(s=c(Z),m=c(Q),!(s.length===m.length&&s.every((e,t)=>e===m[t]))),tz=J||!$.trim()||0===Q.length||tN,tH=!!tt||"all"!==tn,tG=async()=>{w(!0),A("");try{let e=new URLSearchParams;e.set("page",String(ta)),e.set("pageSize",String(ti)),tt&&e.set("q",tt),"all"!==tn&&e.set("status",tn);let t=await fetch(`/api/keys?${e.toString()}`,{cache:"no-store"}),s=await t.json().catch(()=>({}));if(!t.ok)throw Error(s.error||"Kh\xf4ng tải được danh s\xe1ch API keys");let n=s.keys||[],r=s.pagination||{page:ta,pageSize:ti,total:n.length,totalAll:n.length,totalPages:1,search:tt,status:tn};if(0===n.length&&Number(r.total||0)>0&&ta>1)return void tl(Math.max(1,Number(r.totalPages||1)));let a=c(s.apiKeyDefaultModels||(s.apiKeyDefaultModel?[s.apiKeyDefaultModel]:[]));p(n),tc(r),eV(s.apiKeyTotal??r.totalAll??r.total??n.length);let l=g(s.apiKeyDefaultPolicy||d,d);X(a),ee(a),er(l),el(l),eG(s.apiKeyLimit??5),eY(s.apiKeyCount??r.totalAll??n.length),eq(!0===s.globalCavemanEnabled),ez(s.globalCavemanLevel||"full")}catch(e){A(e.message||"Kh\xf4ng tải được danh s\xe1ch API keys")}finally{w(!1)}};(0,r.useEffect)(()=>{eX(window.location.origin)},[]),(0,r.useEffect)(()=>{let e=setTimeout(()=>{tl(1),ts(e9.trim())},350);return()=>clearTimeout(e)},[e9]),(0,r.useEffect)(()=>{tG()},[ta,ti,tt,tn]),(0,r.useEffect)(()=>{let e=!1,t=async()=>{try{let t=await fetch("/api/keys?page=1&pageSize=1",{cache:"no-store"}),s=await t.json().catch(()=>({}));if(!t.ok||e)return;eq(!0===s.globalCavemanEnabled),ez(s.globalCavemanLevel||"full")}catch{}},s=()=>t(),n=()=>{"visible"===document.visibilityState&&t()};window.addEventListener("focus",s),document.addEventListener("visibilitychange",n);let r=window.setInterval(t,3e4);return()=>{e=!0,window.removeEventListener("focus",s),document.removeEventListener("visibilitychange",n),window.clearInterval(r)}},[]),(0,r.useEffect)(()=>{!T&&tb&&F(tb)},[tb,T]);let tW=async()=>{if(!eg&&!ej){ev(!0);try{let[e,t,s]=await Promise.allSettled([tg?fetch("/api/providers",{cache:"no-store"}):Promise.resolve(null),fetch("/api/personal-cloud-providers",{cache:"no-store"}),fetch("/api/models/alias",{cache:"no-store"})]),n=[],r=[];if("fulfilled"===e.status&&e.value?.ok){let t=await e.value.json().catch(()=>({}));n.push(...t.connections||[])}if("fulfilled"===t.status&&t.value.ok){let e=await t.value.json().catch(()=>({}));r.push(...e.connections||[])}if(eh(tg?[...n,...r]:r),"fulfilled"===s.status&&s.value.ok){let e=await s.value.json().catch(()=>({}));eb(e.aliases||{})}ef(!0)}catch{}finally{ev(!1)}}},tY=async(e=H)=>{if(tg){Y(!0);try{let t=await fetch(`/api/auth/ldap/users?q=${encodeURIComponent(e||"")}`,{cache:"no-store"}),s=await t.json().catch(()=>({}));t.ok&&z(s.users||[])}catch{}finally{Y(!1)}}},tJ=async()=>{if(tg&&0!==Z.length){es(!0),A("");try{let e=await fetch("/api/keys",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyDefaultModels:Z})}),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error||"Kh\xf4ng lưu được default models");let s=c(t.apiKeyDefaultModels||(t.apiKeyDefaultModel?[t.apiKeyDefaultModel]:[])),n=g(t.apiKeyDefaultPolicy||d,d);X(s),ee(s),er(n),el(n)}catch(e){A(e.message||"Kh\xf4ng lưu được default models")}finally{es(!1)}}},tV=async e=>{if(!tg)return;let t=g(e,d);ed(!0),A("");try{let e=await fetch("/api/keys",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKeyDefaultPolicy:t})}),s=await e.json().catch(()=>({}));if(!e.ok)throw Error(s.error||"Kh\xf4ng lưu được default policy");let n=g(s.apiKeyDefaultPolicy||t,d);er(n),el(n),ec(!1)}catch(e){A(e.message||"Kh\xf4ng lưu được default policy")}finally{ed(!1)}},tQ=async()=>{if($.trim()){if(0===Q.length)return void A("Admin cần cấu h\xecnh default models trước khi tạo API key.");if(tN)return void A(`Mỗi user chỉ được tạo tối đa ${tf} API keys.
23
- 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.`);V(!0),A("");try{let e=tg?o(K||T||tb):void 0,t=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:$.trim(),ownerUser:e})}),s=await t.json().catch(()=>({}));if(!t.ok)throw Error(s.error||"Kh\xf4ng tạo được API key");D(s.key),M(""),_(""),I(!1),tl(1),await tG()}catch(e){A(e.message||"Kh\xf4ng tạo được API key")}finally{V(!1)}}},tX=async(e,t)=>{let s=await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),n=await s.json().catch(()=>({}));return s.ok?(await tG(),!0):(A(n.error||"Kh\xf4ng cập nhật được API key"),!1)},tZ=async()=>{if(!ey)return;let e=c(ek);if(0===e.length)return void A("H\xe3y chọn \xedt nhất một model trước khi lưu quyền truy cập API key.");eP(!0),A("");try{await tX(ey.id,{allowedModels:e})&&(eN(null),eC([]))}finally{eP(!1)}},t0=async e=>{if(eO){eM(!0),A("");try{await tX(eO.id,{limits:g(e)})&&(eA(null),eI(d))}finally{eM(!1)}}},t1=async()=>{if(eO){eM(!0),A("");try{await tX(eO.id,{limits:{}})&&(eA(null),eI(d))}finally{eM(!1)}}},t2=async e=>{if(!eT)return!1;eD(!0),A("");try{let t=await fetch(`/api/keys/${eT.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),s=await t.json().catch(()=>({}));if(!t.ok)throw Error(s.error||"Kh\xf4ng lưu được cấu h\xecnh Caveman");return await tG(),eE(null),!0}catch(t){let e=t?.message||"Kh\xf4ng lưu được cấu h\xecnh Caveman";throw A(e),Error(e)}finally{eD(!1)}};return(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Quản l\xfd API Keys"}),(0,n.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:tg?"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 ${tf} 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,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsx)(a.$n,{variant:"outline",onClick:tG,disabled:v,children:v?"Đang tải...":"Refresh"}),(0,n.jsx)(a.$n,{onClick:()=>{I(!0),!T&&tb&&F(tb)},disabled:tN,children:"Tạo API Key"})]})]}),P?(0,n.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:P}):null,(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsx)(k,{label:"Tổng API keys",value:tv,hint:tg?"To\xe0n hệ thống":`${tj}/${tf} key của bạn`}),(0,n.jsx)(k,{label:"Đang hiển thị",value:ty,hint:tH?"Theo bộ lọc hiện tại":"Kh\xf4ng filter"}),(0,n.jsx)(k,{label:"Page size",value:ti,hint:"Chỉ tải số d\xf2ng của trang hiện tại"})]}),tg?null:(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Giới hạn API key theo user"}),(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["T\xe0i khoản của bạn đang c\xf3 ",tj,"/",tf," API keys. Key bị disabled vẫn được t\xednh v\xe0o giới hạn."]})]}),(0,n.jsx)("span",{className:"rounded-full border border-border bg-surface px-3 py-1 text-sm",children:tN?"Đ\xe3 đạt giới hạn":"C\xf2n c\xf3 thể tạo th\xeam"})]})}),(0,n.jsxs)("div",{className:"grid gap-4 xl:grid-cols-2",children:[(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Default models cho API key mới"}),(0,n.jsx)("p",{className:"text-sm text-text-muted",children:"API key mới sẽ mặc định được d\xf9ng c\xe1c model n\xe0y. Cần cấu h\xecnh \xedt nhất một default model trước khi tạo API key."})]}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[Q.length>0?(0,n.jsx)(f,{models:Q,emptyLabel:"Chưa cấu h\xecnh default models"}):(0,n.jsx)("span",{className:"text-sm text-red-600",children:"Chưa cấu h\xecnh default models"}),tg?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>{em(!0),tW()},children:Z.length>0?`Đ\xe3 chọn ${Z.length} model`:"Chọn default models..."}),(0,n.jsx)(a.$n,{size:"sm",onClick:tJ,disabled:!tB||et||0===Z.length,children:et?"Đang lưu...":"Lưu"})]}):null]}),tg?(0,n.jsx)("p",{className:"text-xs text-text-muted",children:ej?"Đ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,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Default policy cho API key mới"}),(0,n.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."})]}),tg?(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>{el(g(en||d,d)),ec(!0)},children:"Chỉnh default policy"}):null]}),(0,n.jsx)(j,{limits:en,showThinking:tg,showOutputLimit:tg})]})})]}),(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Th\xf4ng tin API endpoint"}),(0,n.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,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Chat Completions"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tC})]})]}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>tm(tk,"api-base-url"),children:"api-base-url"===tx?"Đ\xe3 copy Base URL":"Copy Base URL"}),(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>tm(tC,"api-chat-endpoint"),children:"api-chat-endpoint"===tx?"Đ\xe3 copy Endpoint":"Copy Endpoint"})]})]})}),R?(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("h3",{className:"font-medium",children:"Đ\xe3 tạo API key"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-sm",children:R}),(0,n.jsxs)("div",{className:"text-sm text-text-muted",children:["H\xe3y copy ngay. Key mới mặc định được d\xf9ng default models v\xe0 default policy đang cấu h\xecnh trong Dashboard, trừ khi admin chỉnh quyền model/policy.",(0,n.jsx)(f,{models:Q,emptyLabel:"default models"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(a.$n,{size:"sm",onClick:()=>tm(R,"created"),children:"created"===tx?"Đ\xe3 copy":"Copy"}),(0,n.jsx)(a.$n,{size:"sm",variant:"ghost",onClick:()=>D(""),children:"Đ\xf3ng"})]})]})}):null,(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 xl:flex-row xl:items-end xl:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-lg font-semibold text-text-main",children:"Danh s\xe1ch API keys"}),(0,n.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,n.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,n.jsx)("input",{value:e9,onChange:e=>te(e.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,n.jsxs)("select",{value:tn,onChange:e=>{tr(e.target.value),tl(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,n.jsx)("option",{value:"all",children:"Tất cả trạng th\xe1i"}),(0,n.jsx)("option",{value:"active",children:"Chỉ key đang bật"}),(0,n.jsx)("option",{value:"inactive",children:"Chỉ key đ\xe3 tắt"})]}),tH?(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>{te(""),ts(""),tr("all"),tl(1)},children:"X\xf3a lọc"}):null]})]}),v?(0,n.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===h.length?(0,n.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:tH?"Kh\xf4ng t\xecm thấy API key ph\xf9 hợp bộ lọc.":"Chưa c\xf3 API key n\xe0o."}):(0,n.jsx)(L,{keys:h,copied:tx,copy:tm,isAdmin:tg,globalCavemanEnabled:eU,globalCavemanLevel:eB,onToggleActive:(e,t)=>tX(e,{isActive:t}),onApiTest:e0,onClaudeSettings:e2,onOpenCodeSettings:e5,onCodexSettings:e8,onQwenSettings:e6,onRename:(e,t)=>{let s=prompt("T\xean API key mới",t||"");s?.trim()&&tX(e,{name:s.trim()})},onRotate:e=>{e?.id&&q({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()=>{q(null),A("");let t=await fetch(`/api/keys/${e.id}/rotate`,{method:"POST"}),s=await t.json().catch(()=>({}));if(!t.ok)return void A(s.error||"Kh\xf4ng đổi được API key");let n=s.rotatedKey||s.key?.key||"";n&&D(n),await tG()}})},onEditModels:e=>{eN(e),eC(c(e.allowedModels)),tW()},onEditPolicy:e=>{tg&&(eA(e),eI(b(e.limits)?g(e.limits):d))},onEditCaveman:eE,onShowCavemanInfo:eK,onCavemanTest:e_,onAssignOwner:(e,t)=>{if(!tg)return;let s=prompt("G\xe1n owner username/email",t||tb||"");null!==s&&tX(e,{ownerUser:o(s)})},onDelete:e=>{q({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()=>{q(null),(await fetch(`/api/keys/${e}`,{method:"DELETE"})).ok&&await tG()}})}}),(0,n.jsx)(C,{pagination:to,pageSize:ti,onPageChange:tl,onPageSizeChange:e=>{td(e),tl(1)},loading:v})]})}),(0,n.jsx)(a.aF,{isOpen:S,onClose:()=>I(!1),title:"Tạo API Key",size:"lg",children:(0,n.jsxs)("div",{className:"space-y-4",children:[0===Q.length?(0,n.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 models trước khi tạo API key."}):tN?(0,n.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 ",tf," API keys. H\xe3y x\xf3a bớt key cũ trước khi tạo key mới."]}):(0,n.jsxs)("div",{className:"text-sm text-text-muted",children:["Key n\xe0y sẽ được tạo với quyền d\xf9ng default models v\xe0 default policy đang cấu h\xecnh trong Dashboard.",(0,n.jsx)(f,{models:Q})]}),(0,n.jsxs)("label",{className:"block",children:[(0,n.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"T\xean API key"}),(0,n.jsx)("input",{value:$,onChange:e=>M(e.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"})]}),tg?(0,n.jsxs)("div",{className:"space-y-3 rounded-xl border border-border p-3",children:[(0,n.jsx)("div",{className:"text-sm font-medium",children:"Owner user"}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)("input",{value:H,onChange:e=>G(e.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,n.jsx)(a.$n,{variant:"outline",onClick:()=>tY(H),disabled:W,children:W?"Đang tải":"Tải LDAP"})]}),(0,n.jsxs)("select",{value:T,onChange:e=>F(e.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,n.jsxs)("option",{value:tb||"",children:["G\xe1n cho t\xf4i (",tb||"local",")"]}),tq.map(e=>(0,n.jsx)("option",{value:e.id,children:e.label},e.id))]}),(0,n.jsx)("input",{value:K,onChange:e=>_(e.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,n.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,n.jsxs)("p",{className:"rounded-xl border border-border bg-surface p-3 text-sm text-text-muted",children:["Owner: ",tb||"user hiện tại"]}),(0,n.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>I(!1),children:"Hủy"}),(0,n.jsx)(a.$n,{onClick:tQ,disabled:tz,children:J?"Đang tạo...":"Tạo"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!eZ,onClose:()=>e0(null),title:"API Test bằng curl Windows",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.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,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:eZ?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Endpoint"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tC})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model test"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tP})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"Lệnh curl cho Windows CMD"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tS})]}),(0,n.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,n.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e0(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tS,`api-test-curl-${eZ?.id||"current"}`),children:tx===`api-test-curl-${eZ?.id||"current"}`?"Đ\xe3 copy":"Copy lệnh curl"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e1,onClose:()=>e2(null),title:"Claude Code Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy nội dung JSON dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%USERPROFILE%\\.claude\\settings.json"})," để Claude Code gọi qua gateway n\xe0y. Model coding d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tI.codingModel}),"; model fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tI.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e1?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tI.codingModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"settings.json"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:t$})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy Claude Code CLI tr\xean Windows"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tM})]}),(0,n.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:"Lưu \xfd: nếu c\xe0i bằng npm th\xec m\xe1y cần c\xe0i Node.js trước. Chạy Claude Code trong thư mục project, kh\xf4ng chạy trong C:\\WINDOWS\\system32. Nếu d\xf9ng model fast ri\xeang như programmer-fast th\xec API key n\xe0y cũng phải được ph\xe9p d\xf9ng model đ\xf3 trong cột Model."}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e2(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(tM,`claude-code-help-${e1?.id||"current"}`),children:tx===`claude-code-help-${e1?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(t$,`claude-code-settings-${e1?.id||"current"}`),children:tx===`claude-code-settings-${e1?.id||"current"}`?"Đ\xe3 copy settings":"Copy settings.json"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e3,onClose:()=>e5(null),title:"OpenCode Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy JSON dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%APPDATA%\\opencode\\opencode.json"})," hoặc ",(0,n.jsx)("span",{className:"font-mono",children:"opencode.json"})," trong project. Model ch\xednh d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tT.codingModel}),"; explorer/fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tT.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-4",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e3?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model ch\xednh"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tT.codingModel})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model fast"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tT.fastModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"opencode.json"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tE})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy OpenCode tr\xean Windows PowerShell"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tF})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:["Lưu \xfd: API key n\xe0y cần được ph\xe9p gọi cả ",tT.codingModel," v\xe0 ",tT.fastModel,". Nếu OpenCode đang d\xf9ng đường dẫn config kh\xe1c, c\xf3 thể đặt file opencode.json ngay trong thư mục project."]}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e5(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(tF,`opencode-help-${e3?.id||"current"}`),children:tx===`opencode-help-${e3?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tE,`opencode-settings-${e3?.id||"current"}`),children:tx===`opencode-settings-${e3?.id||"current"}`?"Đ\xe3 copy settings":"Copy opencode.json"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e4,onClose:()=>e8(null),title:"Codex Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy TOML dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%USERPROFILE%\\.codex\\config.toml"}),". API key được set bằng biến m\xf4i trường ",(0,n.jsx)("span",{className:"font-mono",children:"OPENAI_API_KEY"}),". Model ch\xednh d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tK.codingModel}),"; profile fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tK.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e4?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tK.codingModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"config.toml"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tL})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy Codex tr\xean Windows PowerShell"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:t_})]}),(0,n.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:"Lưu \xfd: config.toml đặt context window 120000 v\xe0 auto-compact ở 90000 token (75%). Nếu c\xe0i bằng npm th\xec m\xe1y cần c\xe0i Node.js trước. Hướng dẫn đ\xe3 tự tạo config.toml v\xe0 set biến m\xf4i trường cho phi\xean PowerShell hiện tại; setx chỉ lưu lại cho terminal mở sau. Codex d\xf9ng OpenAI-compatible endpoint của BlueRouter."}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e8(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(t_,`codex-help-${e4?.id||"current"}`),children:tx===`codex-help-${e4?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tL,`codex-settings-${e4?.id||"current"}`),children:tx===`codex-settings-${e4?.id||"current"}`?"Đ\xe3 copy settings":"Copy config.toml"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e7,onClose:()=>e6(null),title:"Qwen Code Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy JSON dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%USERPROFILE%\\.qwen\\settings.json"})," để Qwen Code gọi qua OpenAI-compatible endpoint của BlueRouter. Model ch\xednh d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tR.codingModel}),"; model fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tR.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e7?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tR.codingModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"settings.json"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tD})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy Qwen Code tr\xean Windows PowerShell"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tU})]}),(0,n.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:"Lưu \xfd: hướng dẫn đ\xe3 tự tạo settings.json hợp lệ v\xe0 set biến m\xf4i trường cho phi\xean PowerShell hiện tại. setx chỉ lưu lại cho terminal mở sau. Qwen Code hỗ trợ OpenAI-compatible provider n\xean d\xf9ng tốt với BlueRouter."}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e6(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(tU,`qwen-code-help-${e7?.id||"current"}`),children:tx===`qwen-code-help-${e7?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tD,`qwen-code-settings-${e7?.id||"current"}`),children:tx===`qwen-code-settings-${e7?.id||"current"}`?"Đ\xe3 copy settings":"Copy settings.json"})]})]})}),(0,n.jsx)(E,{apiKey:eL,fallbackModels:Q,onClose:()=>e_(null)}),(0,n.jsx)(O,{apiKey:eT,globalEnabled:eU,globalLevel:eB,onClose:()=>eE(null),onSave:t2,saving:eR}),(0,n.jsx)(O,{apiKey:eF,globalEnabled:eU,globalLevel:eB,onClose:()=>eK(null),onSave:()=>{},saving:!1,infoOnly:!0}),(0,n.jsx)(N,{open:!!ey,keyName:ey?.name,models:ek,setModels:eC,activeProviders:eu,modelAliases:ep,onClose:()=>{eN(null),eC([])},onSave:tZ,saving:ew,personalOnly:!tg,extraModels:Q}),(0,n.jsx)(y,{isOpen:eo,keyName:"Default cho API key mới",policy:ea,setPolicy:el,onClose:()=>{ec(!1),el(en||d)},onSave:tV,saving:ei}),(0,n.jsx)(y,{isOpen:!!eO,keyName:eO?.name,policy:eS,setPolicy:eI,onClose:()=>{eA(null),eI(d)},onSave:t0,onClear:t1,saving:e$}),(0,n.jsx)(a.rq,{isOpen:ex,onClose:()=>em(!1),onSelect:e=>{let t=String(e?.value||e?.name||e||"").trim();t&&ee(e=>c([...e,t]))},onDeselect:e=>{let t=String(e?.value||e?.name||e||"").trim();t&&ee(e=>c(e).filter(e=>e!==t))},activeProviders:eu,modelAliases:ep,title:"Chọn default models cho API key",addedModelValues:Z,closeOnSelect:!1}),U?(0,n.jsx)(a.uo,{isOpen:!!U,onClose:()=>q(null),onConfirm:U.onConfirm,title:U.title,message:U.message,confirmText:"X\xf3a",cancelText:"Hủy",variant:"danger"}):null]})}},84223:(e,t,s)=>{Promise.resolve().then(s.bind(s,56484))}},e=>{e.O(0,[2574,3862,506,9959,1997,5564,5263,5497,8441,3794,7358],()=>e(e.s=84223)),_N_E=e.O()}]);
23
+ 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.`);V(!0),A("");try{let e=tg?o(K||T||tb):void 0,t=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:$.trim(),ownerUser:e})}),s=await t.json().catch(()=>({}));if(!t.ok)throw Error(s.error||"Kh\xf4ng tạo được API key");D(s.key),M(""),_(""),I(!1),tl(1),await tG()}catch(e){A(e.message||"Kh\xf4ng tạo được API key")}finally{V(!1)}}},tX=async(e,t)=>{let s=await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),n=await s.json().catch(()=>({}));return s.ok?(await tG(),!0):(A(n.error||"Kh\xf4ng cập nhật được API key"),!1)},tZ=async()=>{if(!ey)return;let e=c(ek);if(0===e.length)return void A("H\xe3y chọn \xedt nhất một model trước khi lưu quyền truy cập API key.");eP(!0),A("");try{await tX(ey.id,{allowedModels:e})&&(eN(null),eC([]))}finally{eP(!1)}},t0=async e=>{if(eO){eM(!0),A("");try{await tX(eO.id,{limits:g(e)})&&(eA(null),eI(d))}finally{eM(!1)}}},t1=async()=>{if(eO){eM(!0),A("");try{await tX(eO.id,{limits:{}})&&(eA(null),eI(d))}finally{eM(!1)}}},t2=async e=>{if(!eT)return!1;eD(!0),A("");try{let t=await fetch(`/api/keys/${eT.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),s=await t.json().catch(()=>({}));if(!t.ok)throw Error(s.error||"Kh\xf4ng lưu được cấu h\xecnh Caveman");return await tG(),eE(null),!0}catch(t){let e=t?.message||"Kh\xf4ng lưu được cấu h\xecnh Caveman";throw A(e),Error(e)}finally{eD(!1)}};return(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold text-text-main",children:"Quản l\xfd API Keys"}),(0,n.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:tg?"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 ${tf} 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,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsx)(a.$n,{variant:"outline",onClick:tG,disabled:v,children:v?"Đang tải...":"Refresh"}),(0,n.jsx)(a.$n,{onClick:()=>{I(!0),!T&&tb&&F(tb)},disabled:tN,children:"Tạo API Key"})]})]}),P?(0,n.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:P}):null,(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsx)(k,{label:"Tổng API keys",value:tv,hint:tg?"To\xe0n hệ thống":`${tj}/${tf} key của bạn`}),(0,n.jsx)(k,{label:"Đang hiển thị",value:ty,hint:tH?"Theo bộ lọc hiện tại":"Kh\xf4ng filter"}),(0,n.jsx)(k,{label:"Page size",value:ti,hint:"Chỉ tải số d\xf2ng của trang hiện tại"})]}),tg?null:(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Giới hạn API key theo user"}),(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["T\xe0i khoản của bạn đang c\xf3 ",tj,"/",tf," API keys. Key bị disabled vẫn được t\xednh v\xe0o giới hạn."]})]}),(0,n.jsx)("span",{className:"rounded-full border border-border bg-surface px-3 py-1 text-sm",children:tN?"Đ\xe3 đạt giới hạn":"C\xf2n c\xf3 thể tạo th\xeam"})]})}),(0,n.jsxs)("div",{className:"grid gap-4 xl:grid-cols-2",children:[(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Default models cho API key mới"}),(0,n.jsx)("p",{className:"text-sm text-text-muted",children:"API key mới sẽ mặc định được d\xf9ng c\xe1c model n\xe0y. Cần cấu h\xecnh \xedt nhất một default model trước khi tạo API key."})]}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[Q.length>0?(0,n.jsx)(f,{models:Q,emptyLabel:"Chưa cấu h\xecnh default models"}):(0,n.jsx)("span",{className:"text-sm text-red-600",children:"Chưa cấu h\xecnh default models"}),tg?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>{em(!0),tW()},children:Z.length>0?`Đ\xe3 chọn ${Z.length} model`:"Chọn default models..."}),(0,n.jsx)(a.$n,{size:"sm",onClick:tJ,disabled:!tB||et||0===Z.length,children:et?"Đang lưu...":"Lưu"})]}):null]}),tg?(0,n.jsx)("p",{className:"text-xs text-text-muted",children:ej?"Đ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,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Default policy cho API key mới"}),(0,n.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."})]}),tg?(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>{el(g(en||d,d)),ec(!0)},children:"Chỉnh default policy"}):null]}),(0,n.jsx)(j,{limits:en,showThinking:tg,showOutputLimit:tg})]})})]}),(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-medium",children:"Th\xf4ng tin API endpoint"}),(0,n.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,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Chat Completions"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tC})]})]}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>tm(tk,"api-base-url"),children:"api-base-url"===tx?"Đ\xe3 copy Base URL":"Copy Base URL"}),(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>tm(tC,"api-chat-endpoint"),children:"api-chat-endpoint"===tx?"Đ\xe3 copy Endpoint":"Copy Endpoint"})]})]})}),R?(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("h3",{className:"font-medium",children:"Đ\xe3 tạo API key"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-sm",children:R}),(0,n.jsxs)("div",{className:"text-sm text-text-muted",children:["H\xe3y copy ngay. Key mới mặc định được d\xf9ng default models v\xe0 default policy đang cấu h\xecnh trong Dashboard, trừ khi admin chỉnh quyền model/policy.",(0,n.jsx)(f,{models:Q,emptyLabel:"default models"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(a.$n,{size:"sm",onClick:()=>tm(R,"created"),children:"created"===tx?"Đ\xe3 copy":"Copy"}),(0,n.jsx)(a.$n,{size:"sm",variant:"ghost",onClick:()=>D(""),children:"Đ\xf3ng"})]})]})}):null,(0,n.jsx)(a.Zp,{children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 xl:flex-row xl:items-end xl:justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-lg font-semibold text-text-main",children:"Danh s\xe1ch API keys"}),(0,n.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,n.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,n.jsx)("input",{value:e9,onChange:e=>te(e.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,n.jsxs)("select",{value:tn,onChange:e=>{tr(e.target.value),tl(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,n.jsx)("option",{value:"all",children:"Tất cả trạng th\xe1i"}),(0,n.jsx)("option",{value:"active",children:"Chỉ key đang bật"}),(0,n.jsx)("option",{value:"inactive",children:"Chỉ key đ\xe3 tắt"})]}),tH?(0,n.jsx)(a.$n,{variant:"outline",size:"sm",onClick:()=>{te(""),ts(""),tr("all"),tl(1)},children:"X\xf3a lọc"}):null]})]}),v?(0,n.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===h.length?(0,n.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-8 text-center text-sm text-text-muted",children:tH?"Kh\xf4ng t\xecm thấy API key ph\xf9 hợp bộ lọc.":"Chưa c\xf3 API key n\xe0o."}):(0,n.jsx)(L,{keys:h,copied:tx,copy:tm,isAdmin:tg,globalCavemanEnabled:eU,globalCavemanLevel:eB,onToggleActive:(e,t)=>tX(e,{isActive:t}),onApiTest:e0,onClaudeSettings:e2,onOpenCodeSettings:e5,onCodexSettings:e8,onQwenSettings:e6,onRename:(e,t)=>{let s=prompt("T\xean API key mới",t||"");s?.trim()&&tX(e,{name:s.trim()})},onRotate:e=>{e?.id&&q({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()=>{q(null),A("");let t=await fetch(`/api/keys/${e.id}/rotate`,{method:"POST"}),s=await t.json().catch(()=>({}));if(!t.ok)return void A(s.error||"Kh\xf4ng đổi được API key");let n=s.rotatedKey||s.key?.key||"";n&&D(n),await tG()}})},onEditModels:e=>{eN(e),eC(c(e.allowedModels)),tW()},onEditPolicy:e=>{tg&&(eA(e),eI(b(e.limits)?g(e.limits):d))},onEditCaveman:eE,onShowCavemanInfo:eK,onCavemanTest:e_,onAssignOwner:(e,t)=>{if(!tg)return;let s=prompt("G\xe1n owner username/email",t||tb||"");null!==s&&tX(e,{ownerUser:o(s)})},onDelete:e=>{q({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()=>{q(null),(await fetch(`/api/keys/${e}`,{method:"DELETE"})).ok&&await tG()}})}}),(0,n.jsx)(C,{pagination:to,pageSize:ti,onPageChange:tl,onPageSizeChange:e=>{td(e),tl(1)},loading:v})]})}),(0,n.jsx)(a.aF,{isOpen:S,onClose:()=>I(!1),title:"Tạo API Key",size:"lg",children:(0,n.jsxs)("div",{className:"space-y-4",children:[0===Q.length?(0,n.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 models trước khi tạo API key."}):tN?(0,n.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 ",tf," API keys. H\xe3y x\xf3a bớt key cũ trước khi tạo key mới."]}):(0,n.jsxs)("div",{className:"text-sm text-text-muted",children:["Key n\xe0y sẽ được tạo với quyền d\xf9ng default models v\xe0 default policy đang cấu h\xecnh trong Dashboard.",(0,n.jsx)(f,{models:Q})]}),(0,n.jsxs)("label",{className:"block",children:[(0,n.jsx)("span",{className:"mb-1 block text-xs font-medium text-text-muted",children:"T\xean API key"}),(0,n.jsx)("input",{value:$,onChange:e=>M(e.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"})]}),tg?(0,n.jsxs)("div",{className:"space-y-3 rounded-xl border border-border p-3",children:[(0,n.jsx)("div",{className:"text-sm font-medium",children:"Owner user"}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)("input",{value:H,onChange:e=>G(e.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,n.jsx)(a.$n,{variant:"outline",onClick:()=>tY(H),disabled:W,children:W?"Đang tải":"Tải LDAP"})]}),(0,n.jsxs)("select",{value:T,onChange:e=>F(e.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,n.jsxs)("option",{value:tb||"",children:["G\xe1n cho t\xf4i (",tb||"local",")"]}),tq.map(e=>(0,n.jsx)("option",{value:e.id,children:e.label},e.id))]}),(0,n.jsx)("input",{value:K,onChange:e=>_(e.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,n.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,n.jsxs)("p",{className:"rounded-xl border border-border bg-surface p-3 text-sm text-text-muted",children:["Owner: ",tb||"user hiện tại"]}),(0,n.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>I(!1),children:"Hủy"}),(0,n.jsx)(a.$n,{onClick:tQ,disabled:tz,children:J?"Đang tạo...":"Tạo"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!eZ,onClose:()=>e0(null),title:"API Test bằng curl Windows",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.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,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:eZ?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Endpoint"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tC})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model test"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tP})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"Lệnh curl cho Windows CMD"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tS})]}),(0,n.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,n.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e0(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tS,`api-test-curl-${eZ?.id||"current"}`),children:tx===`api-test-curl-${eZ?.id||"current"}`?"Đ\xe3 copy":"Copy lệnh curl"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e1,onClose:()=>e2(null),title:"Claude Code Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy nội dung JSON dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%USERPROFILE%\\.claude\\settings.json"})," để Claude Code gọi qua gateway n\xe0y. Model coding d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tI.codingModel}),"; model fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tI.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e1?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tI.codingModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"settings.json"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:t$})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy Claude Code CLI tr\xean Windows"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tM})]}),(0,n.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:"Lưu \xfd: nếu c\xe0i bằng npm th\xec m\xe1y cần c\xe0i Node.js trước. Chạy Claude Code trong thư mục project, kh\xf4ng chạy trong C:\\WINDOWS\\system32. Nếu d\xf9ng model fast ri\xeang như programmer-fast th\xec API key n\xe0y cũng phải được ph\xe9p d\xf9ng model đ\xf3 trong cột Model."}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e2(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(tM,`claude-code-help-${e1?.id||"current"}`),children:tx===`claude-code-help-${e1?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(t$,`claude-code-settings-${e1?.id||"current"}`),children:tx===`claude-code-settings-${e1?.id||"current"}`?"Đ\xe3 copy settings":"Copy settings.json"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e3,onClose:()=>e5(null),title:"OpenCode Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy JSON dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%APPDATA%\\opencode\\opencode.json"})," hoặc ",(0,n.jsx)("span",{className:"font-mono",children:"opencode.json"})," trong project. Model ch\xednh d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tT.codingModel}),"; explorer/fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tT.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-4",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e3?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model ch\xednh"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tT.codingModel})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model fast"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tT.fastModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"opencode.json"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tE})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy OpenCode tr\xean Windows PowerShell"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tF})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:["Lưu \xfd: API key n\xe0y cần được ph\xe9p gọi cả ",tT.codingModel," v\xe0 ",tT.fastModel,". Nếu OpenCode đang d\xf9ng đường dẫn config kh\xe1c, c\xf3 thể đặt file opencode.json ngay trong thư mục project."]}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e5(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(tF,`opencode-help-${e3?.id||"current"}`),children:tx===`opencode-help-${e3?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tE,`opencode-settings-${e3?.id||"current"}`),children:tx===`opencode-settings-${e3?.id||"current"}`?"Đ\xe3 copy settings":"Copy opencode.json"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e4,onClose:()=>e8(null),title:"Codex Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy TOML dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%USERPROFILE%\\.codex\\config.toml"}),". API key được set bằng biến m\xf4i trường ",(0,n.jsx)("span",{className:"font-mono",children:"OPENAI_API_KEY"}),". Model ch\xednh d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tK.codingModel}),"; profile fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tK.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e4?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tK.codingModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"config.toml"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tL})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy Codex tr\xean Windows PowerShell"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:t_})]}),(0,n.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:"Lưu \xfd: config.toml đặt context window 120000 v\xe0 auto-compact ở 90000 token (75%). Nếu c\xe0i bằng npm th\xec m\xe1y cần c\xe0i Node.js trước. Hướng dẫn đ\xe3 tự tạo config.toml v\xe0 set biến m\xf4i trường cho phi\xean PowerShell hiện tại; setx chỉ lưu lại cho terminal mở sau. Codex d\xf9ng OpenAI-compatible endpoint của BlueRouter."}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e8(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(t_,`codex-help-${e4?.id||"current"}`),children:tx===`codex-help-${e4?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tL,`codex-settings-${e4?.id||"current"}`),children:tx===`codex-settings-${e4?.id||"current"}`?"Đ\xe3 copy settings":"Copy config.toml"})]})]})}),(0,n.jsx)(a.aF,{isOpen:!!e7,onClose:()=>e6(null),title:"Qwen Code Settings",size:"xl",children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("p",{className:"text-sm text-text-muted",children:["Copy JSON dưới đ\xe2y v\xe0o file ",(0,n.jsx)("span",{className:"font-mono",children:"%USERPROFILE%\\.qwen\\settings.json"})," để Qwen Code gọi qua OpenAI-compatible endpoint của BlueRouter. Model ch\xednh d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tR.codingModel}),"; model fast d\xf9ng ",(0,n.jsx)("span",{className:"font-mono",children:tR.fastModel}),"."]}),(0,n.jsxs)("div",{className:"grid gap-3 md:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"API Key"}),(0,n.jsx)("div",{className:"mt-1 text-sm",children:e7?.name||"API Key"})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Base URL"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tk})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-surface p-3",children:[(0,n.jsx)("div",{className:"text-xs text-text-muted",children:"Model"}),(0,n.jsx)("div",{className:"mt-1 break-all font-mono text-sm",children:tR.codingModel})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"settings.json"}),(0,n.jsx)("pre",{className:"max-h-[420px] overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tD})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"mb-1 text-xs font-medium text-text-muted",children:"C\xe0i v\xe0 chạy Qwen Code tr\xean Windows PowerShell"}),(0,n.jsx)("pre",{className:"overflow-auto rounded-xl border border-border bg-surface p-3 text-xs",children:tU})]}),(0,n.jsx)("div",{className:"rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs text-amber-700 dark:text-amber-300",children:"Lưu \xfd: hướng dẫn đ\xe3 tự tạo settings.json hợp lệ v\xe0 set biến m\xf4i trường cho phi\xean PowerShell hiện tại. setx chỉ lưu lại cho terminal mở sau. Qwen Code hỗ trợ OpenAI-compatible provider n\xean d\xf9ng tốt với BlueRouter."}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-end gap-2",children:[(0,n.jsx)(a.$n,{variant:"ghost",onClick:()=>e6(null),children:"Đ\xf3ng"}),(0,n.jsx)(a.$n,{variant:"outline",onClick:()=>tm(tU,`qwen-code-help-${e7?.id||"current"}`),children:tx===`qwen-code-help-${e7?.id||"current"}`?"Đ\xe3 copy hướng dẫn":"Copy hướng dẫn"}),(0,n.jsx)(a.$n,{onClick:()=>tm(tD,`qwen-code-settings-${e7?.id||"current"}`),children:tx===`qwen-code-settings-${e7?.id||"current"}`?"Đ\xe3 copy settings":"Copy settings.json"})]})]})}),(0,n.jsx)(E,{apiKey:eL,fallbackModels:Q,onClose:()=>e_(null)}),(0,n.jsx)(O,{apiKey:eT,globalEnabled:eU,globalLevel:eB,onClose:()=>eE(null),onSave:t2,saving:eR}),(0,n.jsx)(O,{apiKey:eF,globalEnabled:eU,globalLevel:eB,onClose:()=>eK(null),onSave:()=>{},saving:!1,infoOnly:!0}),(0,n.jsx)(N,{open:!!ey,keyName:ey?.name,models:ek,setModels:eC,activeProviders:eu,modelAliases:ep,onClose:()=>{eN(null),eC([])},onSave:tZ,saving:ew,personalOnly:!tg,extraModels:Q}),(0,n.jsx)(y,{isOpen:eo,keyName:"Default cho API key mới",policy:ea,setPolicy:el,onClose:()=>{ec(!1),el(en||d)},onSave:tV,saving:ei}),(0,n.jsx)(y,{isOpen:!!eO,keyName:eO?.name,policy:eS,setPolicy:eI,onClose:()=>{eA(null),eI(d)},onSave:t0,onClear:t1,saving:e$}),(0,n.jsx)(a.rq,{isOpen:ex,onClose:()=>em(!1),onSelect:e=>{let t=String(e?.value||e?.name||e||"").trim();t&&ee(e=>c([...e,t]))},onDeselect:e=>{let t=String(e?.value||e?.name||e||"").trim();t&&ee(e=>c(e).filter(e=>e!==t))},activeProviders:eu,modelAliases:ep,title:"Chọn default models cho API key",addedModelValues:Z,closeOnSelect:!1}),U?(0,n.jsx)(a.uo,{isOpen:!!U,onClose:()=>q(null),onConfirm:U.onConfirm,title:U.title,message:U.message,confirmText:"X\xf3a",cancelText:"Hủy",variant:"danger"}):null]})}},84223:(e,t,s)=>{Promise.resolve().then(s.bind(s,56484))}},e=>{e.O(0,[2574,3862,2691,9959,1997,5564,5263,5497,8441,3794,7358],()=>e(e.s=84223)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4465],{35911:(e,t,r)=>{Promise.resolve().then(r.bind(r,88512))},88512:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var s=r(95155),a=r(12115),i=r(35497),l=r(28777),n=r(52679);let o="basic-chat.sessions",d="basic-chat.activeSessionId",c="basic-chat.activeProviderId",m="basic-chat.draft";function u(){return globalThis.crypto?.randomUUID?globalThis.crypto.randomUUID():`chat_${Date.now()}_${Math.random().toString(16).slice(2)}`}function p(e){if("string"==typeof e)return e;if(null==e)return"";if(Array.isArray(e))return e.map(p).filter(Boolean).join(" ");if("object"==typeof e){if("string"==typeof e.message)return e.message;if("string"==typeof e.error)return e.error;try{return JSON.stringify(e)}catch{}}return String(e)}function h(e=""){let t=p(e).replace(/\s+/g," ").trim();return t?t.length>52?`${t.slice(0,52).trimEnd()}…`:t:"New chat"}async function x(e){return await new Promise((t,r)=>{let s=new FileReader;s.onload=()=>t(String(s.result||"")),s.onerror=()=>r(s.error||Error("Failed to read file")),s.readAsDataURL(e)})}function f(e){return e?.name||function(e=""){return String(e).replace(/[-_]/g," ").replace(/\b\w/g,e=>e.toUpperCase()).trim()||"Unknown"}(e?.provider||e?.id||"provider")}function g(){let[e,t]=(0,a.useState)([]),[r,g]=(0,a.useState)(!0),[w,v]=(0,a.useState)(""),[b,N]=(0,a.useState)(()=>{try{let e=function(e,t){try{return JSON.parse(e)}catch{return t}}(globalThis.localStorage.getItem(o),[]);return Array.isArray(e)?e.map(e=>({...e,messages:Array.isArray(e.messages)?e.messages:[]})):[]}catch{return[]}}),[y,j]=(0,a.useState)(()=>globalThis.localStorage.getItem(d)||""),[S,I]=(0,a.useState)(()=>globalThis.localStorage.getItem(c)||""),[A,k]=(0,a.useState)(""),[D,O]=(0,a.useState)(()=>globalThis.localStorage.getItem(m)||""),[$,C]=(0,a.useState)([]),[_,M]=(0,a.useState)(!1),[E,T]=(0,a.useState)(""),[U,R]=(0,a.useState)(""),[z,q]=(0,a.useState)(!1),[P,J]=(0,a.useState)(!1),[B,F]=(0,a.useState)(!1),K=(0,a.useRef)(null),L=(0,a.useRef)(null),W=(0,a.useRef)(!1),H=(0,a.useRef)(null),Y=(0,a.useRef)(null);(0,a.useEffect)(()=>{q(!0)},[]),(0,a.useEffect)(()=>{let e=!1;return async function(){g(!0),v("");try{let r=await fetch("/api/providers",{cache:"no-store"}),s=await r.json().catch(()=>({})),a=Array.isArray(s.connections)?s.connections.filter(e=>e?.isActive!==!1):[];if(0===a.length){e||(t([]),v("No providers connected yet."));return}let i=new Map;for(let e of a){let t=e.provider||e.id,r=f(e),s=(0,n.mq)(t)?"openai-compatible":(0,n.gb)(t)?"anthropic-compatible":t;i.has(t)||i.set(t,{providerId:t,providerName:r,providerType:s,connections:[],models:[]});let a=i.get(t);a.providerName=a.providerName||r,a.providerType=a.providerType||s,a.connections.push(e);let o=(0,l.KC)(t).map(t=>t?.id?{id:`${e.provider}/${t.id}`,requestModel:`${e.provider}/${t.id}`,name:t.name||t.id,providerId:e.provider,providerName:f(e),source:"static"}:null).filter(Boolean);a.models.push(...o)}for(let e of(await Promise.all(a.map(async e=>{try{let t=await fetch(`/api/providers/${e.id}/models`,{cache:"no-store"}),r=await t.json().catch(()=>({}));if(!t.ok)return{connection:e,models:[]};let s=(Array.isArray(r?.models)?r.models:Array.isArray(r?.data)?r.data:Array.isArray(r?.results)?r.results:Array.isArray(r)?r:[]).map(t=>(function(e,t){let r="string"==typeof e?e:e?.id||e?.name||e?.model||"";if(!r)return null;let s="string"==typeof e?e:e?.name||e?.displayName||r,a=r;return((0,n.mq)(t.provider)||(0,n.gb)(t.provider))&&!r.includes("/")&&(a=`${t.provider}/${r}`),{id:a,requestModel:a,name:s,providerId:t.provider,providerName:f(t),source:"live"}})(t,e)).filter(Boolean);return{connection:e,models:s}}catch{return{connection:e,models:[]}}})))){let t=e.connection.provider||e.connection.id,r=i.get(t);r&&r.models.push(...e.models)}let o=Array.from(i.values()).map(e=>({...e,models:(function(e){let t=new Map;for(let r of e)r?.id&&(t.has(r.id)||t.set(r.id,r));return Array.from(t.values())})(e.models).sort((e,t)=>e.name.localeCompare(t.name))})).filter(e=>e.models.length>0).sort((e,t)=>e.providerName.localeCompare(t.providerName));e||(t(o),0===o.length&&v("Providers connected but no models available."))}catch(r){e||(v(p(r?.message)||"Failed to load providers/models."),t([]))}finally{e||g(!1)}}(),()=>{e=!0}},[]),(0,a.useEffect)(()=>{let e=e=>{H.current&&!H.current.contains(e.target)&&J(!1),Y.current&&!Y.current.contains(e.target)&&F(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let G=(0,a.useMemo)(()=>{let t=new Map;for(let r of e)for(let e of r.models)t.set(e.id,{...e,providerId:r.providerId,providerName:r.providerName});return t},[e]),Q=(0,a.useMemo)(()=>e.find(e=>e.providerId===S)||e[0]||null,[e,S]),V=(0,a.useMemo)(()=>{if(A&&G.has(A))return G.get(A);if(y){let e=b.find(e=>e.id===y);if(e?.modelId&&G.has(e.modelId))return G.get(e.modelId)}return Q?.models?.[0]||null},[A,G,Q,b,y]),X=(0,a.useMemo)(()=>b.find(e=>e.id===y)||null,[b,y]),Z=X?.messages||[],ee=(0,a.useMemo)(()=>[...b].sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()),[b]),et=!_&&!!V&&(D.trim().length>0||$.length>0);(0,a.useEffect)(()=>{if(z)try{globalThis.localStorage.setItem(o,JSON.stringify(b)),globalThis.localStorage.setItem(d,y),globalThis.localStorage.setItem(c,S),globalThis.localStorage.setItem(m,D)}catch{}},[z,b,y,S,D]),(0,a.useEffect)(()=>{if(!z||r||W.current||0===e.length)return;let t=e.find(e=>e.providerId===S)||e[0],s=A&&G.has(A)?G.get(A):t.models[0];if(b.length>0){let e=b.find(e=>e.id===y)||b[0],r=e?.modelId&&G.has(e.modelId)?G.get(e.modelId):s;W.current=!0,j(e.id),I(r?.providerId||t.providerId),k(r?.id||s.id);return}let a={id:u(),title:"New chat",providerId:t.providerId,providerName:t.providerName,modelId:s.id,modelName:s.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]};W.current=!0,N([a]),j(a.id),I(t.providerId),k(s.id)},[z,r,e,G,b,y,S,A]);let er=(e,t)=>{N(r=>r.map(r=>r.id===e?t({...r,messages:Array.isArray(r.messages)?r.messages.map(e=>({...e})):[]}):r))},es=e=>e?{id:u(),title:"New chat",providerId:e.providerId,providerName:e.providerName,modelId:e.id,modelName:e.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]}:null,ea=async e=>{let t=Array.from(e.target.files||[]);if(0===t.length)return;let r=t.filter(e=>e.type.startsWith("image/"));if(0===r.length){e.target.value="";return}let s=await Promise.all(r.map(async e=>({id:u(),name:e.name,type:e.type,size:e.size,dataUrl:await x(e)})));C(e=>[...e,...s]),e.target.value=""},ei=async()=>{let e=V||Q?.models?.[0]||null;if(!e)return;let t=D.trim();if(!t&&0===$.length)return;let r=y,s=b.find(e=>e.id===r);if(!s){if(!(s=es(e)))return;r=s.id,N(e=>[s,...e]),j(r)}let a={id:u(),role:"user",content:t,attachments:$.map(e=>({id:e.id,name:e.name,type:e.type,dataUrl:e.dataUrl})),createdAt:new Date().toISOString()},i=u(),l={id:i,role:"assistant",content:"",createdAt:new Date().toISOString(),status:"streaming"},n=[...s.messages||[],a,l];N(s=>s.map(s=>s.id===r?{...s,providerId:e.providerId,providerName:e.providerName,modelId:e.id,modelName:e.name,messages:n,updatedAt:new Date().toISOString(),title:"New chat"===s.title?h(t):s.title}:s)),O(""),C([]),M(!0),T(i),R(""),L.current?.abort(),L.current=new AbortController;let o=n.filter(e=>"assistant"!==e.role||e.id!==i).map(e=>({role:e.role,content:"user"===e.role?function(e){let t=p(e.content).trim(),r=Array.isArray(e.attachments)?e.attachments:[];if(0===r.length)return t;let s=[];for(let e of(t&&s.push({type:"text",text:t}),r))e?.dataUrl&&s.push({type:"image_url",image_url:{url:e.dataUrl}});return s.length>0?s:t}(e):e.content}));try{var d;let s,a=await fetch("/api/dashboard/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/event-stream"},body:JSON.stringify({model:e.requestModel||e.id,messages:o,stream:!0}),signal:L.current.signal});if(!a.ok){let e=await a.json().catch(()=>({}));throw Error(p(e.error||e.message||`Request failed (${a.status})`))}let l=a.body?.getReader();if(!l){let e=await a.json().catch(()=>({})),t=p(e?.choices?.[0]?.message?.content||e?.output_text||e?.error||e?.message||"");er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:t,status:"done"}:e),updatedAt:new Date().toISOString()}));return}let n=new TextDecoder,c="",m="";for(;;){let{value:e,done:t}=await l.read();if(t)break;let s=(c+=n.decode(e,{stream:!0})).split(/\r?\n/);for(let e of(c=s.pop()||"",s)){let t=e.trim();if(!t.startsWith("data:"))continue;let s=t.slice(5).trim();if(s&&"[DONE]"!==s)try{let e=JSON.parse(s),t=function(e){if(!e||"object"!=typeof e)return"";let t=e.choices?.[0];return[(t?.delta||{}).content,t?.message?.content,e.output_text,e.text].map(p).filter(Boolean)[0]||""}(e);if(!t)continue;m+=t,R(m),er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:m,status:"streaming"}:e),updatedAt:new Date().toISOString()}))}catch{}}}er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:m||e.content,status:"done"}:e),updatedAt:new Date().toISOString()})),d=r,s=h(t),er(d,e=>({...e,title:"New chat"===e.title?s:e.title,updatedAt:new Date().toISOString()}))}catch(e){if("AbortError"!==e.name){let t=p(e?.message||e);er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:e.content||`Error: ${t}`,status:"error"}:e),updatedAt:new Date().toISOString()})),v(t||"Failed to send message.")}}finally{M(!1),T(""),R(""),L.current=null}},el=V?`${V.name}`:"Select model",en=V?V.requestModel:"Choose from connected providers";return(0,s.jsx)("div",{className:"relative flex-1 flex flex-col h-full min-h-0 min-w-0 bg-[#212121] text-white overflow-hidden",children:(0,s.jsxs)("div",{className:"relative mx-auto flex flex-1 h-full min-h-0 w-full max-w-4xl flex-col",children:[(0,s.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-3 px-4 py-3 lg:px-6",children:[(0,s.jsxs)("div",{ref:H,className:"relative",children:[(0,s.jsx)("button",{type:"button",onClick:()=>J(e=>!e),className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-left transition hover:bg-white/8",children:(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm font-semibold text-white",children:el}),(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px] text-white/70",children:"expand_more"})]}),(0,s.jsx)("p",{className:"truncate text-xs text-white/55",children:en})]})}),P?(0,s.jsxs)("div",{className:"absolute left-0 top-[calc(100%+10px)] z-30 w-[min(520px,calc(100vw-2rem))] overflow-hidden rounded-[20px] border border-white/10 bg-[#262626] shadow-2xl shadow-black/50",children:[(0,s.jsxs)("div",{className:"border-b border-white/10 px-4 py-3",children:[(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.22em] text-white/45",children:"Models"}),(0,s.jsx)("p",{className:"text-sm text-white/75",children:"Only from connected providers"})]}),(0,s.jsx)("div",{className:"max-h-[60vh] overflow-y-auto p-2 custom-scrollbar",children:e.map(e=>(0,s.jsxs)("div",{className:"mb-2 rounded-[16px] border border-white/10 bg-black/20 p-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-2 py-2",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-white",children:e.providerName}),(0,s.jsx)(i.Ex,{size:"sm",variant:"default",children:e.models.length})]}),(0,s.jsx)("div",{className:"grid gap-2 sm:grid-cols-2",children:e.models.map(e=>{let t=e.id===A;return(0,s.jsx)("button",{type:"button",onClick:()=>(e=>{let t=G.get(e);if(!t)return;let r=b.find(e=>e.id===y);if(r&&r.messages.length>0){let e=es(t);if(!e)return;N(t=>[e,...t]),j(e.id)}else if(r)N(e=>e.map(e=>e.id===r.id?{...e,providerId:t.providerId,providerName:t.providerName,modelId:t.id,modelName:t.name}:e)),j(r.id);else{let e=es(t);if(!e)return;N(t=>[e,...t]),j(e.id)}I(t.providerId),k(t.id),J(!1)})(e.id),className:`rounded-[14px] border px-3 py-3 text-left transition ${t?"border-blue-400/40 bg-blue-500/15":"border-white/10 bg-white/5 hover:bg-white/8"}`,children:(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-white",children:e.name}),(0,s.jsx)("p",{className:"truncate text-[11px] text-white/45",children:e.requestModel})]}),t?(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px] text-blue-300",children:"check_circle"}):null]})},e.id)})})]},e.providerId))})]}):null]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>F(e=>!e),className:"rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-white/80 transition hover:bg-white/8",children:"History"}),(0,s.jsx)(i.$n,{variant:"ghost",size:"sm",icon:"delete",onClick:()=>{if(!y)return;let e=b.filter(e=>e.id!==y),t=e[0]||null;N(e),t?(j(t.id),I(t.providerId),k(t.modelId)):(j(""),I(""),k(""))},disabled:!y||0===b.length,children:"Clear"})]})]}),B?(0,s.jsxs)("div",{ref:Y,className:"absolute right-4 top-[72px] z-20 w-[min(360px,calc(100vw-2rem))] rounded-[20px] border border-white/10 bg-[#262626] p-2 shadow-2xl shadow-black/50 lg:right-6",children:[(0,s.jsx)("div",{className:"px-3 py-2",children:(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.22em] text-white/45",children:"Recent chats"})}),(0,s.jsx)("div",{className:"max-h-[48vh] space-y-2 overflow-y-auto p-1 custom-scrollbar",children:0===ee.length?(0,s.jsx)("div",{className:"rounded-[16px] border border-dashed border-white/10 bg-white/5 p-4 text-sm text-white/55",children:"No conversations yet."}):ee.map(e=>{let t=e.id===y,r=[...e.messages||[]].reverse().find(e=>"user"===e.role)||e.messages?.[0];return(0,s.jsx)("button",{type:"button",onClick:()=>{var t;let r;return t=e.id,void((r=b.find(e=>e.id===t))&&(j(t),I(r.providerId||S),k(r.modelId||A),F(!1)))},className:`w-full rounded-[16px] border px-3 py-3 text-left transition ${t?"border-blue-400/40 bg-blue-500/15":"border-white/10 bg-white/5 hover:bg-white/8"}`,children:(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-white",children:e.title}),(0,s.jsx)("p",{className:"mt-1 truncate text-xs text-white/50",children:p(r?.content)||"Empty chat"})]}),(0,s.jsx)("span",{className:"text-[10px] text-white/40 shrink-0",children:function(e){if(!e)return"Now";let t=new Date(e).getTime();if(Number.isNaN(t))return"Now";let r=Math.max(1,Math.round((Date.now()-t)/6e4));if(r<60)return`${r}m`;let s=Math.round(r/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}(e.updatedAt)})]})},e.id)})})]}):null,w?(0,s.jsx)("div",{className:"mt-4 rounded-[18px] border border-rose-500/20 bg-rose-500/10 px-4 py-3 text-rose-100",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"error"}),(0,s.jsx)("p",{className:"text-sm leading-6",children:w})]})}):null,(0,s.jsxs)("div",{className:"flex flex-1 flex-col min-h-0",children:[(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto py-4 custom-scrollbar",children:[0===Z.length?(0,s.jsx)("div",{className:"flex min-h-[50vh] items-center justify-center px-4 text-center",children:(0,s.jsxs)("div",{className:"max-w-xl space-y-4",children:[(0,s.jsx)("div",{className:"mx-auto flex size-16 items-center justify-center rounded-[20px] border border-white/10 bg-white/5 text-white/80",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[30px]",children:"chat"})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("h2",{className:"text-2xl font-semibold text-white",children:"Start a conversation"}),(0,s.jsx)("p",{className:"text-sm leading-6 text-white/60",children:"Simple chat interface to interact with any AI model from connected providers. Select a model and start chatting!"})]})]})}):null,(0,s.jsx)("div",{className:"mx-auto flex w-full max-w-3xl flex-col gap-4 px-4",children:Z.map(e=>{let t="user"===e.role,r="assistant"===e.role,a=r&&e.id===E&&"streaming"===e.status,i=p(e.content)||(r?U:"");return(0,s.jsx)("div",{className:`flex w-full ${t?"justify-end":"justify-start"} mb-6`,children:(0,s.jsxs)("div",{className:`max-w-[min(88%,42rem)] ${t?"rounded-3xl bg-[#2f2f2f] px-5 py-3.5 text-white":"text-white/90"}`,children:[(0,s.jsx)("div",{className:"mb-1 flex items-center justify-between gap-3",children:(0,s.jsx)("span",{className:"text-xs font-semibold",children:t?"You":V?.name||"Assistant"})}),e.attachments?.length?(0,s.jsx)("div",{className:"mb-3 grid grid-cols-2 gap-2 sm:grid-cols-3 mt-2",children:e.attachments.map(e=>(0,s.jsx)("a",{href:e.dataUrl,target:"_blank",rel:"noreferrer",className:"overflow-hidden rounded-[18px] border border-white/10 bg-black/20",children:(0,s.jsx)("img",{src:e.dataUrl,alt:e.name,className:"h-28 w-full object-cover"})},e.id))}):null,(0,s.jsxs)("div",{className:"whitespace-pre-wrap break-words text-[15px] leading-7",children:[i,r&&a&&!U?(0,s.jsx)("span",{className:"inline-block animate-pulse",children:"▋"}):null]})]})},e.id)})})]}),(0,s.jsxs)("div",{className:"shrink-0 pt-2",children:[$.length>0?(0,s.jsx)("div",{className:"mx-auto mb-3 flex w-full max-w-3xl flex-wrap gap-2 px-4",children:$.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-3 py-2",children:[(0,s.jsx)("span",{className:"text-xs text-white/80 max-w-[12rem] truncate",children:e.name}),(0,s.jsx)("button",{type:"button",onClick:()=>{var t;return t=e.id,void C(e=>e.filter(e=>e.id!==t))},className:"text-white/55 hover:text-white","aria-label":"Remove attachment",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]},e.id))}):null,(0,s.jsx)("div",{className:"mx-auto w-full max-w-3xl px-4 pb-2",children:(0,s.jsxs)("div",{className:"rounded-[26px] bg-[#2f2f2f] px-3 pt-3 pb-2 shadow-[0_0_15px_rgba(0,0,0,0.10)] ring-1 ring-white/5",children:[(0,s.jsx)("textarea",{value:D,onChange:e=>O(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),et&&ei())},placeholder:"Message AI",rows:1,className:"w-full resize-none bg-transparent px-2 text-[15px] leading-6 text-white outline-none placeholder:text-white/40 custom-scrollbar max-h-[25vh] overflow-y-auto"}),(0,s.jsxs)("div",{className:"mt-2 flex items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>K.current?.click(),disabled:!V||r,className:"p-2 text-white/50 hover:text-white transition rounded-full hover:bg-white/5",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"attach_file"})}),(0,s.jsx)("input",{ref:K,type:"file",accept:"image/*",multiple:!0,className:"hidden",onChange:ea}),(0,s.jsx)("span",{className:"text-xs font-medium text-white/30 truncate max-w-[120px]",children:V?V.name:"No model"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[_?(0,s.jsx)("button",{type:"button",onClick:()=>{L.current?.abort()},className:"p-2 text-white bg-white/10 hover:bg-white/20 transition rounded-full h-8 w-8 flex items-center justify-center",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"stop"})}):null,(0,s.jsx)("button",{onClick:ei,disabled:!et,className:`h-8 w-8 rounded-full flex items-center justify-center transition ${et?"bg-white text-black hover:opacity-90":"bg-white/10 text-white/30 cursor-not-allowed"}`,children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"arrow_upward"})})]})]})]})})]}),(0,s.jsx)("p",{className:"mx-auto mt-2 max-w-3xl px-4 pb-4 text-center text-[11px] text-white/30",children:"Model list is filtered from connected providers."})]})]})})}}},e=>{e.O(0,[2574,3862,506,9959,1997,5564,5263,5497,8441,3794,7358],()=>e(e.s=35911)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4465],{35911:(e,t,r)=>{Promise.resolve().then(r.bind(r,88512))},88512:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var s=r(95155),a=r(12115),i=r(35497),l=r(28777),n=r(52679);let o="basic-chat.sessions",d="basic-chat.activeSessionId",c="basic-chat.activeProviderId",m="basic-chat.draft";function u(){return globalThis.crypto?.randomUUID?globalThis.crypto.randomUUID():`chat_${Date.now()}_${Math.random().toString(16).slice(2)}`}function p(e){if("string"==typeof e)return e;if(null==e)return"";if(Array.isArray(e))return e.map(p).filter(Boolean).join(" ");if("object"==typeof e){if("string"==typeof e.message)return e.message;if("string"==typeof e.error)return e.error;try{return JSON.stringify(e)}catch{}}return String(e)}function h(e=""){let t=p(e).replace(/\s+/g," ").trim();return t?t.length>52?`${t.slice(0,52).trimEnd()}…`:t:"New chat"}async function x(e){return await new Promise((t,r)=>{let s=new FileReader;s.onload=()=>t(String(s.result||"")),s.onerror=()=>r(s.error||Error("Failed to read file")),s.readAsDataURL(e)})}function f(e){return e?.name||function(e=""){return String(e).replace(/[-_]/g," ").replace(/\b\w/g,e=>e.toUpperCase()).trim()||"Unknown"}(e?.provider||e?.id||"provider")}function g(){let[e,t]=(0,a.useState)([]),[r,g]=(0,a.useState)(!0),[w,v]=(0,a.useState)(""),[b,N]=(0,a.useState)(()=>{try{let e=function(e,t){try{return JSON.parse(e)}catch{return t}}(globalThis.localStorage.getItem(o),[]);return Array.isArray(e)?e.map(e=>({...e,messages:Array.isArray(e.messages)?e.messages:[]})):[]}catch{return[]}}),[y,j]=(0,a.useState)(()=>globalThis.localStorage.getItem(d)||""),[S,I]=(0,a.useState)(()=>globalThis.localStorage.getItem(c)||""),[A,k]=(0,a.useState)(""),[D,O]=(0,a.useState)(()=>globalThis.localStorage.getItem(m)||""),[$,C]=(0,a.useState)([]),[_,M]=(0,a.useState)(!1),[E,T]=(0,a.useState)(""),[U,R]=(0,a.useState)(""),[z,q]=(0,a.useState)(!1),[P,J]=(0,a.useState)(!1),[B,F]=(0,a.useState)(!1),K=(0,a.useRef)(null),L=(0,a.useRef)(null),W=(0,a.useRef)(!1),H=(0,a.useRef)(null),Y=(0,a.useRef)(null);(0,a.useEffect)(()=>{q(!0)},[]),(0,a.useEffect)(()=>{let e=!1;return async function(){g(!0),v("");try{let r=await fetch("/api/providers",{cache:"no-store"}),s=await r.json().catch(()=>({})),a=Array.isArray(s.connections)?s.connections.filter(e=>e?.isActive!==!1):[];if(0===a.length){e||(t([]),v("No providers connected yet."));return}let i=new Map;for(let e of a){let t=e.provider||e.id,r=f(e),s=(0,n.mq)(t)?"openai-compatible":(0,n.gb)(t)?"anthropic-compatible":t;i.has(t)||i.set(t,{providerId:t,providerName:r,providerType:s,connections:[],models:[]});let a=i.get(t);a.providerName=a.providerName||r,a.providerType=a.providerType||s,a.connections.push(e);let o=(0,l.KC)(t).map(t=>t?.id?{id:`${e.provider}/${t.id}`,requestModel:`${e.provider}/${t.id}`,name:t.name||t.id,providerId:e.provider,providerName:f(e),source:"static"}:null).filter(Boolean);a.models.push(...o)}for(let e of(await Promise.all(a.map(async e=>{try{let t=await fetch(`/api/providers/${e.id}/models`,{cache:"no-store"}),r=await t.json().catch(()=>({}));if(!t.ok)return{connection:e,models:[]};let s=(Array.isArray(r?.models)?r.models:Array.isArray(r?.data)?r.data:Array.isArray(r?.results)?r.results:Array.isArray(r)?r:[]).map(t=>(function(e,t){let r="string"==typeof e?e:e?.id||e?.name||e?.model||"";if(!r)return null;let s="string"==typeof e?e:e?.name||e?.displayName||r,a=r;return((0,n.mq)(t.provider)||(0,n.gb)(t.provider))&&!r.includes("/")&&(a=`${t.provider}/${r}`),{id:a,requestModel:a,name:s,providerId:t.provider,providerName:f(t),source:"live"}})(t,e)).filter(Boolean);return{connection:e,models:s}}catch{return{connection:e,models:[]}}})))){let t=e.connection.provider||e.connection.id,r=i.get(t);r&&r.models.push(...e.models)}let o=Array.from(i.values()).map(e=>({...e,models:(function(e){let t=new Map;for(let r of e)r?.id&&(t.has(r.id)||t.set(r.id,r));return Array.from(t.values())})(e.models).sort((e,t)=>e.name.localeCompare(t.name))})).filter(e=>e.models.length>0).sort((e,t)=>e.providerName.localeCompare(t.providerName));e||(t(o),0===o.length&&v("Providers connected but no models available."))}catch(r){e||(v(p(r?.message)||"Failed to load providers/models."),t([]))}finally{e||g(!1)}}(),()=>{e=!0}},[]),(0,a.useEffect)(()=>{let e=e=>{H.current&&!H.current.contains(e.target)&&J(!1),Y.current&&!Y.current.contains(e.target)&&F(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let G=(0,a.useMemo)(()=>{let t=new Map;for(let r of e)for(let e of r.models)t.set(e.id,{...e,providerId:r.providerId,providerName:r.providerName});return t},[e]),Q=(0,a.useMemo)(()=>e.find(e=>e.providerId===S)||e[0]||null,[e,S]),V=(0,a.useMemo)(()=>{if(A&&G.has(A))return G.get(A);if(y){let e=b.find(e=>e.id===y);if(e?.modelId&&G.has(e.modelId))return G.get(e.modelId)}return Q?.models?.[0]||null},[A,G,Q,b,y]),X=(0,a.useMemo)(()=>b.find(e=>e.id===y)||null,[b,y]),Z=X?.messages||[],ee=(0,a.useMemo)(()=>[...b].sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()),[b]),et=!_&&!!V&&(D.trim().length>0||$.length>0);(0,a.useEffect)(()=>{if(z)try{globalThis.localStorage.setItem(o,JSON.stringify(b)),globalThis.localStorage.setItem(d,y),globalThis.localStorage.setItem(c,S),globalThis.localStorage.setItem(m,D)}catch{}},[z,b,y,S,D]),(0,a.useEffect)(()=>{if(!z||r||W.current||0===e.length)return;let t=e.find(e=>e.providerId===S)||e[0],s=A&&G.has(A)?G.get(A):t.models[0];if(b.length>0){let e=b.find(e=>e.id===y)||b[0],r=e?.modelId&&G.has(e.modelId)?G.get(e.modelId):s;W.current=!0,j(e.id),I(r?.providerId||t.providerId),k(r?.id||s.id);return}let a={id:u(),title:"New chat",providerId:t.providerId,providerName:t.providerName,modelId:s.id,modelName:s.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]};W.current=!0,N([a]),j(a.id),I(t.providerId),k(s.id)},[z,r,e,G,b,y,S,A]);let er=(e,t)=>{N(r=>r.map(r=>r.id===e?t({...r,messages:Array.isArray(r.messages)?r.messages.map(e=>({...e})):[]}):r))},es=e=>e?{id:u(),title:"New chat",providerId:e.providerId,providerName:e.providerName,modelId:e.id,modelName:e.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]}:null,ea=async e=>{let t=Array.from(e.target.files||[]);if(0===t.length)return;let r=t.filter(e=>e.type.startsWith("image/"));if(0===r.length){e.target.value="";return}let s=await Promise.all(r.map(async e=>({id:u(),name:e.name,type:e.type,size:e.size,dataUrl:await x(e)})));C(e=>[...e,...s]),e.target.value=""},ei=async()=>{let e=V||Q?.models?.[0]||null;if(!e)return;let t=D.trim();if(!t&&0===$.length)return;let r=y,s=b.find(e=>e.id===r);if(!s){if(!(s=es(e)))return;r=s.id,N(e=>[s,...e]),j(r)}let a={id:u(),role:"user",content:t,attachments:$.map(e=>({id:e.id,name:e.name,type:e.type,dataUrl:e.dataUrl})),createdAt:new Date().toISOString()},i=u(),l={id:i,role:"assistant",content:"",createdAt:new Date().toISOString(),status:"streaming"},n=[...s.messages||[],a,l];N(s=>s.map(s=>s.id===r?{...s,providerId:e.providerId,providerName:e.providerName,modelId:e.id,modelName:e.name,messages:n,updatedAt:new Date().toISOString(),title:"New chat"===s.title?h(t):s.title}:s)),O(""),C([]),M(!0),T(i),R(""),L.current?.abort(),L.current=new AbortController;let o=n.filter(e=>"assistant"!==e.role||e.id!==i).map(e=>({role:e.role,content:"user"===e.role?function(e){let t=p(e.content).trim(),r=Array.isArray(e.attachments)?e.attachments:[];if(0===r.length)return t;let s=[];for(let e of(t&&s.push({type:"text",text:t}),r))e?.dataUrl&&s.push({type:"image_url",image_url:{url:e.dataUrl}});return s.length>0?s:t}(e):e.content}));try{var d;let s,a=await fetch("/api/dashboard/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/event-stream"},body:JSON.stringify({model:e.requestModel||e.id,messages:o,stream:!0}),signal:L.current.signal});if(!a.ok){let e=await a.json().catch(()=>({}));throw Error(p(e.error||e.message||`Request failed (${a.status})`))}let l=a.body?.getReader();if(!l){let e=await a.json().catch(()=>({})),t=p(e?.choices?.[0]?.message?.content||e?.output_text||e?.error||e?.message||"");er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:t,status:"done"}:e),updatedAt:new Date().toISOString()}));return}let n=new TextDecoder,c="",m="";for(;;){let{value:e,done:t}=await l.read();if(t)break;let s=(c+=n.decode(e,{stream:!0})).split(/\r?\n/);for(let e of(c=s.pop()||"",s)){let t=e.trim();if(!t.startsWith("data:"))continue;let s=t.slice(5).trim();if(s&&"[DONE]"!==s)try{let e=JSON.parse(s),t=function(e){if(!e||"object"!=typeof e)return"";let t=e.choices?.[0];return[(t?.delta||{}).content,t?.message?.content,e.output_text,e.text].map(p).filter(Boolean)[0]||""}(e);if(!t)continue;m+=t,R(m),er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:m,status:"streaming"}:e),updatedAt:new Date().toISOString()}))}catch{}}}er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:m||e.content,status:"done"}:e),updatedAt:new Date().toISOString()})),d=r,s=h(t),er(d,e=>({...e,title:"New chat"===e.title?s:e.title,updatedAt:new Date().toISOString()}))}catch(e){if("AbortError"!==e.name){let t=p(e?.message||e);er(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:e.content||`Error: ${t}`,status:"error"}:e),updatedAt:new Date().toISOString()})),v(t||"Failed to send message.")}}finally{M(!1),T(""),R(""),L.current=null}},el=V?`${V.name}`:"Select model",en=V?V.requestModel:"Choose from connected providers";return(0,s.jsx)("div",{className:"relative flex-1 flex flex-col h-full min-h-0 min-w-0 bg-[#212121] text-white overflow-hidden",children:(0,s.jsxs)("div",{className:"relative mx-auto flex flex-1 h-full min-h-0 w-full max-w-4xl flex-col",children:[(0,s.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-3 px-4 py-3 lg:px-6",children:[(0,s.jsxs)("div",{ref:H,className:"relative",children:[(0,s.jsx)("button",{type:"button",onClick:()=>J(e=>!e),className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-left transition hover:bg-white/8",children:(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm font-semibold text-white",children:el}),(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px] text-white/70",children:"expand_more"})]}),(0,s.jsx)("p",{className:"truncate text-xs text-white/55",children:en})]})}),P?(0,s.jsxs)("div",{className:"absolute left-0 top-[calc(100%+10px)] z-30 w-[min(520px,calc(100vw-2rem))] overflow-hidden rounded-[20px] border border-white/10 bg-[#262626] shadow-2xl shadow-black/50",children:[(0,s.jsxs)("div",{className:"border-b border-white/10 px-4 py-3",children:[(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.22em] text-white/45",children:"Models"}),(0,s.jsx)("p",{className:"text-sm text-white/75",children:"Only from connected providers"})]}),(0,s.jsx)("div",{className:"max-h-[60vh] overflow-y-auto p-2 custom-scrollbar",children:e.map(e=>(0,s.jsxs)("div",{className:"mb-2 rounded-[16px] border border-white/10 bg-black/20 p-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-2 py-2",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-white",children:e.providerName}),(0,s.jsx)(i.Ex,{size:"sm",variant:"default",children:e.models.length})]}),(0,s.jsx)("div",{className:"grid gap-2 sm:grid-cols-2",children:e.models.map(e=>{let t=e.id===A;return(0,s.jsx)("button",{type:"button",onClick:()=>(e=>{let t=G.get(e);if(!t)return;let r=b.find(e=>e.id===y);if(r&&r.messages.length>0){let e=es(t);if(!e)return;N(t=>[e,...t]),j(e.id)}else if(r)N(e=>e.map(e=>e.id===r.id?{...e,providerId:t.providerId,providerName:t.providerName,modelId:t.id,modelName:t.name}:e)),j(r.id);else{let e=es(t);if(!e)return;N(t=>[e,...t]),j(e.id)}I(t.providerId),k(t.id),J(!1)})(e.id),className:`rounded-[14px] border px-3 py-3 text-left transition ${t?"border-blue-400/40 bg-blue-500/15":"border-white/10 bg-white/5 hover:bg-white/8"}`,children:(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-white",children:e.name}),(0,s.jsx)("p",{className:"truncate text-[11px] text-white/45",children:e.requestModel})]}),t?(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px] text-blue-300",children:"check_circle"}):null]})},e.id)})})]},e.providerId))})]}):null]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>F(e=>!e),className:"rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-white/80 transition hover:bg-white/8",children:"History"}),(0,s.jsx)(i.$n,{variant:"ghost",size:"sm",icon:"delete",onClick:()=>{if(!y)return;let e=b.filter(e=>e.id!==y),t=e[0]||null;N(e),t?(j(t.id),I(t.providerId),k(t.modelId)):(j(""),I(""),k(""))},disabled:!y||0===b.length,children:"Clear"})]})]}),B?(0,s.jsxs)("div",{ref:Y,className:"absolute right-4 top-[72px] z-20 w-[min(360px,calc(100vw-2rem))] rounded-[20px] border border-white/10 bg-[#262626] p-2 shadow-2xl shadow-black/50 lg:right-6",children:[(0,s.jsx)("div",{className:"px-3 py-2",children:(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.22em] text-white/45",children:"Recent chats"})}),(0,s.jsx)("div",{className:"max-h-[48vh] space-y-2 overflow-y-auto p-1 custom-scrollbar",children:0===ee.length?(0,s.jsx)("div",{className:"rounded-[16px] border border-dashed border-white/10 bg-white/5 p-4 text-sm text-white/55",children:"No conversations yet."}):ee.map(e=>{let t=e.id===y,r=[...e.messages||[]].reverse().find(e=>"user"===e.role)||e.messages?.[0];return(0,s.jsx)("button",{type:"button",onClick:()=>{var t;let r;return t=e.id,void((r=b.find(e=>e.id===t))&&(j(t),I(r.providerId||S),k(r.modelId||A),F(!1)))},className:`w-full rounded-[16px] border px-3 py-3 text-left transition ${t?"border-blue-400/40 bg-blue-500/15":"border-white/10 bg-white/5 hover:bg-white/8"}`,children:(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-white",children:e.title}),(0,s.jsx)("p",{className:"mt-1 truncate text-xs text-white/50",children:p(r?.content)||"Empty chat"})]}),(0,s.jsx)("span",{className:"text-[10px] text-white/40 shrink-0",children:function(e){if(!e)return"Now";let t=new Date(e).getTime();if(Number.isNaN(t))return"Now";let r=Math.max(1,Math.round((Date.now()-t)/6e4));if(r<60)return`${r}m`;let s=Math.round(r/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}(e.updatedAt)})]})},e.id)})})]}):null,w?(0,s.jsx)("div",{className:"mt-4 rounded-[18px] border border-rose-500/20 bg-rose-500/10 px-4 py-3 text-rose-100",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"error"}),(0,s.jsx)("p",{className:"text-sm leading-6",children:w})]})}):null,(0,s.jsxs)("div",{className:"flex flex-1 flex-col min-h-0",children:[(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto py-4 custom-scrollbar",children:[0===Z.length?(0,s.jsx)("div",{className:"flex min-h-[50vh] items-center justify-center px-4 text-center",children:(0,s.jsxs)("div",{className:"max-w-xl space-y-4",children:[(0,s.jsx)("div",{className:"mx-auto flex size-16 items-center justify-center rounded-[20px] border border-white/10 bg-white/5 text-white/80",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[30px]",children:"chat"})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("h2",{className:"text-2xl font-semibold text-white",children:"Start a conversation"}),(0,s.jsx)("p",{className:"text-sm leading-6 text-white/60",children:"Simple chat interface to interact with any AI model from connected providers. Select a model and start chatting!"})]})]})}):null,(0,s.jsx)("div",{className:"mx-auto flex w-full max-w-3xl flex-col gap-4 px-4",children:Z.map(e=>{let t="user"===e.role,r="assistant"===e.role,a=r&&e.id===E&&"streaming"===e.status,i=p(e.content)||(r?U:"");return(0,s.jsx)("div",{className:`flex w-full ${t?"justify-end":"justify-start"} mb-6`,children:(0,s.jsxs)("div",{className:`max-w-[min(88%,42rem)] ${t?"rounded-3xl bg-[#2f2f2f] px-5 py-3.5 text-white":"text-white/90"}`,children:[(0,s.jsx)("div",{className:"mb-1 flex items-center justify-between gap-3",children:(0,s.jsx)("span",{className:"text-xs font-semibold",children:t?"You":V?.name||"Assistant"})}),e.attachments?.length?(0,s.jsx)("div",{className:"mb-3 grid grid-cols-2 gap-2 sm:grid-cols-3 mt-2",children:e.attachments.map(e=>(0,s.jsx)("a",{href:e.dataUrl,target:"_blank",rel:"noreferrer",className:"overflow-hidden rounded-[18px] border border-white/10 bg-black/20",children:(0,s.jsx)("img",{src:e.dataUrl,alt:e.name,className:"h-28 w-full object-cover"})},e.id))}):null,(0,s.jsxs)("div",{className:"whitespace-pre-wrap break-words text-[15px] leading-7",children:[i,r&&a&&!U?(0,s.jsx)("span",{className:"inline-block animate-pulse",children:"▋"}):null]})]})},e.id)})})]}),(0,s.jsxs)("div",{className:"shrink-0 pt-2",children:[$.length>0?(0,s.jsx)("div",{className:"mx-auto mb-3 flex w-full max-w-3xl flex-wrap gap-2 px-4",children:$.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-3 py-2",children:[(0,s.jsx)("span",{className:"text-xs text-white/80 max-w-[12rem] truncate",children:e.name}),(0,s.jsx)("button",{type:"button",onClick:()=>{var t;return t=e.id,void C(e=>e.filter(e=>e.id!==t))},className:"text-white/55 hover:text-white","aria-label":"Remove attachment",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]},e.id))}):null,(0,s.jsx)("div",{className:"mx-auto w-full max-w-3xl px-4 pb-2",children:(0,s.jsxs)("div",{className:"rounded-[26px] bg-[#2f2f2f] px-3 pt-3 pb-2 shadow-[0_0_15px_rgba(0,0,0,0.10)] ring-1 ring-white/5",children:[(0,s.jsx)("textarea",{value:D,onChange:e=>O(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),et&&ei())},placeholder:"Message AI",rows:1,className:"w-full resize-none bg-transparent px-2 text-[15px] leading-6 text-white outline-none placeholder:text-white/40 custom-scrollbar max-h-[25vh] overflow-y-auto"}),(0,s.jsxs)("div",{className:"mt-2 flex items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>K.current?.click(),disabled:!V||r,className:"p-2 text-white/50 hover:text-white transition rounded-full hover:bg-white/5",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"attach_file"})}),(0,s.jsx)("input",{ref:K,type:"file",accept:"image/*",multiple:!0,className:"hidden",onChange:ea}),(0,s.jsx)("span",{className:"text-xs font-medium text-white/30 truncate max-w-[120px]",children:V?V.name:"No model"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[_?(0,s.jsx)("button",{type:"button",onClick:()=>{L.current?.abort()},className:"p-2 text-white bg-white/10 hover:bg-white/20 transition rounded-full h-8 w-8 flex items-center justify-center",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"stop"})}):null,(0,s.jsx)("button",{onClick:ei,disabled:!et,className:`h-8 w-8 rounded-full flex items-center justify-center transition ${et?"bg-white text-black hover:opacity-90":"bg-white/10 text-white/30 cursor-not-allowed"}`,children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"arrow_upward"})})]})]})]})})]}),(0,s.jsx)("p",{className:"mx-auto mt-2 max-w-3xl px-4 pb-4 text-center text-[11px] text-white/30",children:"Model list is filtered from connected providers."})]})]})})}}},e=>{e.O(0,[2574,3862,2691,9959,1997,5564,5263,5497,8441,3794,7358],()=>e(e.s=35911)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3554],{22843:(e,t,a)=>{Promise.resolve().then(a.bind(a,85309))},85309:(e,t,a)=>{"use strict";a.d(t,{default:()=>v});var s=a(95155),l=a(12115),r=a(98500),i=a.n(r),n=a(35497),c=a(3534),o=a(28777),d=a(61082);let u=a(41463).env.NEXT_PUBLIC_CLOUD_URL;function v({toolId:e,machineId:t}){let a=c.dM[e],[r,x]=(0,l.useState)([]),[h,b]=(0,l.useState)(!0),[p,f]=(0,l.useState)({}),[m,E]=(0,l.useState)(!1),[j,P]=(0,l.useState)(!1),[w,k]=(0,l.useState)(""),[g,N]=(0,l.useState)(!1),[S,_]=(0,l.useState)(""),[A,U]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!0;return(async()=>{try{let[t,a,s,l]=await Promise.all([fetch("/api/providers"),fetch("/api/settings"),fetch("/api/tunnel/status"),fetch("/api/keys")]);if(!e)return;if(t.ok){let e=await t.json();x(e.connections||[])}if(a.ok){let e=await a.json();E(e.cloudEnabled||!1)}if(s.ok){let e=await s.json();P(!!(e.tunnel?.enabled||e.tunnel?.settingsEnabled)),k(e.tunnel?.publicUrl||""),N(!!(e.tailscale?.enabled||e.tailscale?.settingsEnabled)),_(e.tailscale?.tunnelUrl||"")}if(l.ok){let e=await l.json();U(e.keys||[])}}catch(e){console.log("Error loading tool data:",e)}finally{e&&b(!1)}})(),()=>{e=!1}},[]);let y=()=>r.filter(e=>!1!==e.isActive),C=(0,l.useCallback)((e,t,a)=>{f(s=>s[e]?.[t]===a?s:{...s,[e]:{...s[e],[t]:a}})},[]);return(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-4 px-1 sm:px-0",children:[(0,s.jsxs)(i(),{href:"/dashboard/cli-tools",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary w-fit",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"arrow_back"}),"Back to CLI Tools"]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("h1",{className:"text-xl font-semibold text-text-main sm:text-2xl",children:a.name}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:a.description})]}),h?(0,s.jsx)(n.Qv,{}):(()=>{let t,l,r,i=(t=y(),l=[],r=new Set,t.forEach(e=>{let t=o.Xg[e.provider]||e.provider;(0,o.KC)(e.provider).forEach(a=>{let s=`${t}/${a.id}`;r.has(s)||(r.add(s),l.push({value:s,label:`${t}/${a.id}`,provider:e.provider,alias:t,connectionName:e.name,modelId:a.id}))})}),l).length>0,n={tool:a,isExpanded:!0,onToggle:()=>{},baseUrl:j&&w?w:m&&u?u:window.location.origin,apiKeys:A,tunnelEnabled:j,tunnelPublicUrl:w,tailscaleEnabled:g,tailscaleUrl:S};switch(e){case"claude":return(0,s.jsx)(d.Tk,{...n,activeProviders:y(),modelMappings:p[e]||{},onModelMappingChange:(t,a)=>C(e,t,a),hasActiveProviders:i,cloudEnabled:m});case"codex":return(0,s.jsx)(d.Ah,{...n,activeProviders:y(),cloudEnabled:m});case"opencode":return(0,s.jsx)(d.qO,{...n,activeProviders:y(),cloudEnabled:m});case"cowork":return(0,s.jsx)(d.Q6,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m,cloudUrl:u,tunnelEnabled:j,tunnelPublicUrl:w,tailscaleEnabled:g,tailscaleUrl:S});case"droid":return(0,s.jsx)(d.ZM,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"openclaw":return(0,s.jsx)(d.yZ,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"hermes":return(0,s.jsx)(d.RF,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"copilot":return(0,s.jsx)(d.h1,{...n,activeProviders:y(),cloudEnabled:m});case"cline":return(0,s.jsx)(d.aG,{...n,activeProviders:y(),cloudEnabled:m});case"kilo":return(0,s.jsx)(d.c9,{...n,activeProviders:y(),cloudEnabled:m});case"qwen":return(0,s.jsx)(d.aV,{...n,activeProviders:y(),cloudEnabled:m});case"deepseek-tui":return(0,s.jsx)(d.lF,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"jcode":return(0,s.jsx)(d.mW,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});default:return(0,s.jsx)(d.a7,{toolId:e,...n,activeProviders:y(),cloudEnabled:m,tunnelEnabled:j})}})()]})}}},e=>{e.O(0,[2574,3862,506,9959,1997,5772,5564,5263,5497,4525,8441,3794,7358],()=>e(e.s=22843)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3554],{22843:(e,t,a)=>{Promise.resolve().then(a.bind(a,85309))},85309:(e,t,a)=>{"use strict";a.d(t,{default:()=>v});var s=a(95155),l=a(12115),r=a(98500),i=a.n(r),n=a(35497),c=a(3534),o=a(28777),d=a(61082);let u=a(41463).env.NEXT_PUBLIC_CLOUD_URL;function v({toolId:e,machineId:t}){let a=c.dM[e],[r,x]=(0,l.useState)([]),[h,b]=(0,l.useState)(!0),[p,f]=(0,l.useState)({}),[m,E]=(0,l.useState)(!1),[j,P]=(0,l.useState)(!1),[w,k]=(0,l.useState)(""),[g,N]=(0,l.useState)(!1),[S,_]=(0,l.useState)(""),[A,U]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!0;return(async()=>{try{let[t,a,s,l]=await Promise.all([fetch("/api/providers"),fetch("/api/settings"),fetch("/api/tunnel/status"),fetch("/api/keys")]);if(!e)return;if(t.ok){let e=await t.json();x(e.connections||[])}if(a.ok){let e=await a.json();E(e.cloudEnabled||!1)}if(s.ok){let e=await s.json();P(!!(e.tunnel?.enabled||e.tunnel?.settingsEnabled)),k(e.tunnel?.publicUrl||""),N(!!(e.tailscale?.enabled||e.tailscale?.settingsEnabled)),_(e.tailscale?.tunnelUrl||"")}if(l.ok){let e=await l.json();U(e.keys||[])}}catch(e){console.log("Error loading tool data:",e)}finally{e&&b(!1)}})(),()=>{e=!1}},[]);let y=()=>r.filter(e=>!1!==e.isActive),C=(0,l.useCallback)((e,t,a)=>{f(s=>s[e]?.[t]===a?s:{...s,[e]:{...s[e],[t]:a}})},[]);return(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-4 px-1 sm:px-0",children:[(0,s.jsxs)(i(),{href:"/dashboard/cli-tools",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary w-fit",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"arrow_back"}),"Back to CLI Tools"]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("h1",{className:"text-xl font-semibold text-text-main sm:text-2xl",children:a.name}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:a.description})]}),h?(0,s.jsx)(n.Qv,{}):(()=>{let t,l,r,i=(t=y(),l=[],r=new Set,t.forEach(e=>{let t=o.Xg[e.provider]||e.provider;(0,o.KC)(e.provider).forEach(a=>{let s=`${t}/${a.id}`;r.has(s)||(r.add(s),l.push({value:s,label:`${t}/${a.id}`,provider:e.provider,alias:t,connectionName:e.name,modelId:a.id}))})}),l).length>0,n={tool:a,isExpanded:!0,onToggle:()=>{},baseUrl:j&&w?w:m&&u?u:window.location.origin,apiKeys:A,tunnelEnabled:j,tunnelPublicUrl:w,tailscaleEnabled:g,tailscaleUrl:S};switch(e){case"claude":return(0,s.jsx)(d.Tk,{...n,activeProviders:y(),modelMappings:p[e]||{},onModelMappingChange:(t,a)=>C(e,t,a),hasActiveProviders:i,cloudEnabled:m});case"codex":return(0,s.jsx)(d.Ah,{...n,activeProviders:y(),cloudEnabled:m});case"opencode":return(0,s.jsx)(d.qO,{...n,activeProviders:y(),cloudEnabled:m});case"cowork":return(0,s.jsx)(d.Q6,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m,cloudUrl:u,tunnelEnabled:j,tunnelPublicUrl:w,tailscaleEnabled:g,tailscaleUrl:S});case"droid":return(0,s.jsx)(d.ZM,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"openclaw":return(0,s.jsx)(d.yZ,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"hermes":return(0,s.jsx)(d.RF,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"copilot":return(0,s.jsx)(d.h1,{...n,activeProviders:y(),cloudEnabled:m});case"cline":return(0,s.jsx)(d.aG,{...n,activeProviders:y(),cloudEnabled:m});case"kilo":return(0,s.jsx)(d.c9,{...n,activeProviders:y(),cloudEnabled:m});case"qwen":return(0,s.jsx)(d.aV,{...n,activeProviders:y(),cloudEnabled:m});case"deepseek-tui":return(0,s.jsx)(d.lF,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});case"jcode":return(0,s.jsx)(d.mW,{...n,activeProviders:y(),hasActiveProviders:i,cloudEnabled:m});default:return(0,s.jsx)(d.a7,{toolId:e,...n,activeProviders:y(),cloudEnabled:m,tunnelEnabled:j})}})()]})}}},e=>{e.O(0,[2574,3862,2691,9959,1997,5772,5564,5263,5497,4525,8441,3794,7358],()=>e(e.s=22843)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{4987:(e,s,l)=>{Promise.resolve().then(l.bind(l,53501))},53501:(e,s,l)=>{"use strict";l.d(s,{default:()=>m});var t=l(95155),a=l(12115),r=l(35497),i=l(3534),c=l(61082),n=l(98500),o=l.n(n),d=l(5772);function x({toolId:e,tool:s,status:l}){let a=l?l.installed?l.hasBluerouter?{label:"Connected",cls:"bg-green-500/10 text-green-600 dark:text-green-400"}:{label:"Not configured",cls:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"}:{label:"Not installed",cls:"bg-red-500/10 text-red-600 dark:text-red-400"}:{label:"Unknown",cls:"bg-gray-500/10 text-gray-500"};return(0,t.jsx)(o(),{href:`/dashboard/cli-tools/${e}`,className:"block",children:(0,t.jsx)(r.Zp,{padding:"sm",className:"h-full overflow-hidden hover:border-primary/50 transition-colors cursor-pointer",children:(0,t.jsxs)("div",{className:"flex h-full flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:s.image?(0,t.jsx)(d.default,{src:s.image,alt:s.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:e=>{e.target.style.display="none"}}):s.icon?(0,t.jsx)("span",{className:"material-symbols-outlined text-[28px]",style:{color:s.color},children:s.icon}):null}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:"font-medium text-sm truncate",children:s.name}),(0,t.jsx)("span",{className:`inline-block mt-0.5 px-1.5 py-0.5 text-[10px] font-medium rounded-full ${a.cls}`,children:a.label})]}),(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px] shrink-0",children:"chevron_right"})]}),(0,t.jsx)("p",{className:"text-xs text-text-muted line-clamp-2",children:s.description})]})})})}function m({machineId:e}){let[s,l]=(0,a.useState)(!0),[n,o]=(0,a.useState)({});if((0,a.useEffect)(()=>{let e=!0;return(async()=>{try{let s=await fetch("/api/cli-tools/all-statuses");s.ok&&e&&o(await s.json())}catch(e){console.log("Error fetching tool statuses:",e)}finally{e&&l(!1)}})(),()=>{e=!1}},[]),s)return(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:[(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{})]});let d=Object.entries(i.dM),g=Object.entries(i.wn);return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-6 px-1 sm:px-0",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:d.map(([e,s])=>(0,t.jsx)(x,{toolId:e,tool:s,status:n[e]},e))}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,t.jsx)("span",{className:"material-symbols-outlined text-[18px] text-primary",children:"security"}),(0,t.jsx)("h2",{className:"text-sm font-semibold text-text-main",children:"MITM Tools"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:g.map(([e,s])=>(0,t.jsx)(c.gY,{tool:s},e))})]})]})}}},e=>{e.O(0,[2574,3862,506,9959,1997,5772,5564,5263,5497,4525,8441,3794,7358],()=>e(e.s=4987)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{4987:(e,s,l)=>{Promise.resolve().then(l.bind(l,53501))},53501:(e,s,l)=>{"use strict";l.d(s,{default:()=>m});var t=l(95155),a=l(12115),r=l(35497),i=l(3534),c=l(61082),n=l(98500),o=l.n(n),d=l(5772);function x({toolId:e,tool:s,status:l}){let a=l?l.installed?l.hasBluerouter?{label:"Connected",cls:"bg-green-500/10 text-green-600 dark:text-green-400"}:{label:"Not configured",cls:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"}:{label:"Not installed",cls:"bg-red-500/10 text-red-600 dark:text-red-400"}:{label:"Unknown",cls:"bg-gray-500/10 text-gray-500"};return(0,t.jsx)(o(),{href:`/dashboard/cli-tools/${e}`,className:"block",children:(0,t.jsx)(r.Zp,{padding:"sm",className:"h-full overflow-hidden hover:border-primary/50 transition-colors cursor-pointer",children:(0,t.jsxs)("div",{className:"flex h-full flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:s.image?(0,t.jsx)(d.default,{src:s.image,alt:s.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:e=>{e.target.style.display="none"}}):s.icon?(0,t.jsx)("span",{className:"material-symbols-outlined text-[28px]",style:{color:s.color},children:s.icon}):null}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:"font-medium text-sm truncate",children:s.name}),(0,t.jsx)("span",{className:`inline-block mt-0.5 px-1.5 py-0.5 text-[10px] font-medium rounded-full ${a.cls}`,children:a.label})]}),(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px] shrink-0",children:"chevron_right"})]}),(0,t.jsx)("p",{className:"text-xs text-text-muted line-clamp-2",children:s.description})]})})})}function m({machineId:e}){let[s,l]=(0,a.useState)(!0),[n,o]=(0,a.useState)({});if((0,a.useEffect)(()=>{let e=!0;return(async()=>{try{let s=await fetch("/api/cli-tools/all-statuses");s.ok&&e&&o(await s.json())}catch(e){console.log("Error fetching tool statuses:",e)}finally{e&&l(!1)}})(),()=>{e=!1}},[]),s)return(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:[(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{}),(0,t.jsx)(r.Qv,{})]});let d=Object.entries(i.dM),g=Object.entries(i.wn);return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-6 px-1 sm:px-0",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:d.map(([e,s])=>(0,t.jsx)(x,{toolId:e,tool:s,status:n[e]},e))}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,t.jsx)("span",{className:"material-symbols-outlined text-[18px] text-primary",children:"security"}),(0,t.jsx)("h2",{className:"text-sm font-semibold text-text-main",children:"MITM Tools"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:g.map(([e,s])=>(0,t.jsx)(c.gY,{tool:s},e))})]})]})}}},e=>{e.O(0,[2574,3862,2691,9959,1997,5772,5564,5263,5497,4525,8441,3794,7358],()=>e(e.s=4987)),_N_E=e.O()}]);