@rsalmn/extremerouter 0.8.2 → 0.8.4

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 (1232) hide show
  1. package/README.md +89 -89
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +13 -9
  4. package/app/.next-cli-build/build-manifest.json +4 -4
  5. package/app/.next-cli-build/prerender-manifest.json +3 -3
  6. package/app/.next-cli-build/react-loadable-manifest.json +1 -13
  7. package/app/.next-cli-build/required-server-files.json +23 -23
  8. package/app/.next-cli-build/routes-manifest.json +24 -0
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  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 +3 -3
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +3 -3
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js +2 -2
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/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 +2 -2
  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 +3 -3
  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/page.js +2 -0
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js.nft.json +1 -0
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page_client-reference-manifest.js +1 -0
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  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/providers/[id]/page.js +3 -3
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js +2 -2
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  93. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  94. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  96. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  97. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  105. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  107. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  108. package/app/.next-cli-build/server/app/_not-found.rsc +7 -6
  109. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +7 -6
  110. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  111. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  112. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  114. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +3 -2
  115. package/app/.next-cli-build/server/app/api/alerts/test/route.js +2 -2
  116. package/app/.next-cli-build/server/app/api/alerts/test/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/alerts/test/route_client-reference-manifest.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/auth/reset-password/route_client-reference-manifest.js +1 -1
  136. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  139. package/app/.next-cli-build/server/app/api/breaker/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/breaker/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/breaker/route_client-reference-manifest.js +1 -1
  142. package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cache/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cache/route_client-reference-manifest.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  146. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  170. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  173. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  176. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  179. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  182. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
  184. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  185. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
  187. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  188. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  190. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  191. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  193. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
  196. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +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/combos/route_client-reference-manifest.js +1 -1
  202. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/combos/validate-roles/route_client-reference-manifest.js +1 -1
  205. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js +2 -2
  206. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/dashboard/stream/route_client-reference-manifest.js +1 -1
  208. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/headroom/start/route_client-reference-manifest.js +1 -1
  211. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/headroom/status/route_client-reference-manifest.js +1 -1
  214. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +2 -2
  215. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -1
  217. package/app/.next-cli-build/server/app/api/health/providers/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/health/providers/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/health/providers/route_client-reference-manifest.js +1 -1
  220. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
  223. package/app/.next-cli-build/server/app/api/health/stream/route.js +2 -2
  224. package/app/.next-cli-build/server/app/api/health/stream/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/health/stream/route_client-reference-manifest.js +1 -1
  226. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
  229. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  232. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
  235. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
  238. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  239. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
  241. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  242. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
  244. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
  247. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
  250. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
  253. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
  256. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
  259. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  262. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  265. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
  268. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
  271. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
  274. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/oauth/1min/import/route_client-reference-manifest.js +1 -1
  280. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  283. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route_client-reference-manifest.js +1 -1
  286. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
  289. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  290. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  292. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  295. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
  298. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
  301. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route.js +1 -0
  302. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route.js.nft.json +1 -0
  303. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route_client-reference-manifest.js +1 -0
  304. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route.js +1 -0
  305. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route.js.nft.json +1 -0
  306. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route_client-reference-manifest.js +1 -0
  307. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route.js +1 -0
  308. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route.js.nft.json +1 -0
  309. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route_client-reference-manifest.js +1 -0
  310. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route_client-reference-manifest.js +1 -1
  313. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  316. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  319. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route_client-reference-manifest.js +1 -1
  322. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  325. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  328. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route_client-reference-manifest.js +1 -1
  331. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route_client-reference-manifest.js +1 -1
  334. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +38 -2
  335. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route_client-reference-manifest.js +1 -1
  337. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/oauth/zed/import/route_client-reference-manifest.js +1 -1
  340. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  343. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  346. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  349. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  352. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route_client-reference-manifest.js +1 -1
  355. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route_client-reference-manifest.js +1 -1
  358. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route_client-reference-manifest.js +1 -1
  361. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route_client-reference-manifest.js +1 -1
  364. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  367. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route_client-reference-manifest.js +1 -1
  370. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route_client-reference-manifest.js +1 -1
  373. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route_client-reference-manifest.js +1 -1
  376. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  379. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  382. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
  385. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route_client-reference-manifest.js +1 -1
  388. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route_client-reference-manifest.js +1 -1
  391. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route_client-reference-manifest.js +1 -1
  394. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  397. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
  400. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
  403. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
  406. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  409. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  412. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
  415. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
  418. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  419. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -1
  421. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  422. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -1
  424. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
  427. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  428. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
  430. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  431. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/pxpipe/install/route_client-reference-manifest.js +1 -1
  433. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  434. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/pxpipe/status/route_client-reference-manifest.js +1 -1
  436. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
  439. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
  442. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  443. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  445. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
  448. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  449. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  451. package/app/.next-cli-build/server/app/api/swarm/active/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/swarm/active/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/swarm/active/route_client-reference-manifest.js +1 -1
  454. package/app/.next-cli-build/server/app/api/swarm/stream/route.js +2 -2
  455. package/app/.next-cli-build/server/app/api/swarm/stream/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/api/swarm/stream/route_client-reference-manifest.js +1 -1
  457. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  458. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
  460. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  461. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
  463. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  464. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
  466. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  467. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  468. package/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  469. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  472. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  473. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  474. package/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  475. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  478. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  479. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  480. package/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
  481. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  482. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
  484. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  485. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  486. package/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
  487. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  488. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  489. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
  490. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  491. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  492. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
  493. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  494. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  495. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
  496. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  497. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  498. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
  499. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  500. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  501. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route_client-reference-manifest.js +1 -1
  502. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  503. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  504. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  505. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  506. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  507. package/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  508. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  509. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  510. package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  511. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js +1 -1
  512. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js.nft.json +1 -1
  513. package/app/.next-cli-build/server/app/api/usage/leaderboard/route_client-reference-manifest.js +1 -1
  514. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  515. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  516. package/app/.next-cli-build/server/app/api/usage/logs/route_client-reference-manifest.js +1 -1
  517. package/app/.next-cli-build/server/app/api/usage/meta/route.js +1 -1
  518. package/app/.next-cli-build/server/app/api/usage/meta/route.js.nft.json +1 -1
  519. package/app/.next-cli-build/server/app/api/usage/meta/route_client-reference-manifest.js +1 -1
  520. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  521. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  522. package/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  523. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  524. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  525. package/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  526. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  527. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  528. package/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  529. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js +1 -1
  530. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js.nft.json +1 -1
  531. package/app/.next-cli-build/server/app/api/usage/retry-stats/route_client-reference-manifest.js +1 -1
  532. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  533. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  534. package/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
  535. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  536. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  537. package/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  538. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  539. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  540. package/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  541. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  542. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  543. package/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  544. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  545. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  546. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  547. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  548. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  549. package/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
  550. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  551. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  552. package/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  553. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  554. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  555. package/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  556. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  557. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  558. package/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  559. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  560. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  561. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  562. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  563. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  564. package/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  565. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  566. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  567. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +1 -1
  568. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  569. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  570. package/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
  571. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  572. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  573. package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  574. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  575. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  576. package/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
  577. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  578. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  579. package/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  580. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  581. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  582. package/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
  583. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  584. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  585. package/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
  586. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  587. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  588. package/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
  589. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  590. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  591. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  592. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  593. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  594. package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  595. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  596. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  597. package/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
  598. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  599. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  600. package/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
  601. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  602. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  603. package/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
  604. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  605. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  606. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  607. package/app/.next-cli-build/server/app/callback.html +1 -1
  608. package/app/.next-cli-build/server/app/callback.rsc +8 -7
  609. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +8 -7
  610. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  611. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  612. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +3 -2
  613. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  614. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  615. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  616. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  619. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +8 -7
  620. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +8 -7
  621. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  622. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  623. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +3 -2
  624. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  625. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  626. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  629. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  630. package/app/.next-cli-build/server/app/index.html +1 -1
  631. package/app/.next-cli-build/server/app/index.rsc +7 -6
  632. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  633. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +7 -6
  634. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  635. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  636. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +3 -2
  637. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  638. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  639. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  640. package/app/.next-cli-build/server/app/landing.html +1 -1
  641. package/app/.next-cli-build/server/app/landing.rsc +8 -7
  642. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +8 -7
  643. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  644. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  645. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +3 -2
  646. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  647. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/login/page.js +2 -2
  649. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  650. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  651. package/app/.next-cli-build/server/app/login.html +1 -1
  652. package/app/.next-cli-build/server/app/login.rsc +8 -7
  653. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +8 -7
  654. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  655. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  656. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +3 -2
  657. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  658. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  660. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  661. package/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  662. package/app/.next-cli-build/server/app/page.js +2 -2
  663. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  664. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  665. package/app/.next-cli-build/server/app-paths-manifest.json +13 -9
  666. package/app/.next-cli-build/server/chunks/1241.js +1 -1
  667. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  668. package/app/.next-cli-build/server/chunks/1429.js +1 -0
  669. package/app/.next-cli-build/server/chunks/1719.js +1 -1
  670. package/app/.next-cli-build/server/chunks/212.js +1 -1
  671. package/app/.next-cli-build/server/chunks/2231.js +1 -1
  672. package/app/.next-cli-build/server/chunks/2409.js +1 -0
  673. package/app/.next-cli-build/server/chunks/2701.js +1 -1
  674. package/app/.next-cli-build/server/chunks/2742.js +1 -0
  675. package/app/.next-cli-build/server/chunks/319.js +3 -3
  676. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  677. package/app/.next-cli-build/server/chunks/3735.js +1 -1
  678. package/app/.next-cli-build/server/chunks/4046.js +1 -0
  679. package/app/.next-cli-build/server/chunks/412.js +2 -2
  680. package/app/.next-cli-build/server/chunks/5330.js +70 -68
  681. package/app/.next-cli-build/server/chunks/5612.js +1 -1
  682. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  683. package/app/.next-cli-build/server/chunks/5699.js +1 -1
  684. package/app/.next-cli-build/server/chunks/5852.js +1 -1
  685. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  686. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  687. package/app/.next-cli-build/server/chunks/6306.js +1 -1
  688. package/app/.next-cli-build/server/chunks/{7152.js → 6482.js} +2 -2
  689. package/app/.next-cli-build/server/chunks/6560.js +1 -0
  690. package/app/.next-cli-build/server/chunks/6777.js +1 -1
  691. package/app/.next-cli-build/server/chunks/7187.js +1 -1
  692. package/app/.next-cli-build/server/chunks/7218.js +1 -0
  693. package/app/.next-cli-build/server/chunks/7410.js +1 -0
  694. package/app/.next-cli-build/server/chunks/7566.js +3 -0
  695. package/app/.next-cli-build/server/chunks/7774.js +18 -18
  696. package/app/.next-cli-build/server/chunks/7872.js +1 -1
  697. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  698. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  699. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  700. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  701. package/app/.next-cli-build/server/chunks/8802.js +2 -0
  702. package/app/.next-cli-build/server/chunks/885.js +75 -0
  703. package/app/.next-cli-build/server/chunks/8895.js +6 -6
  704. package/app/.next-cli-build/server/chunks/8955.js +16 -0
  705. package/app/.next-cli-build/server/chunks/9422.js +1 -1
  706. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  707. package/app/.next-cli-build/server/chunks/9703.js +1 -1
  708. package/app/.next-cli-build/server/chunks/9903.js +1 -1
  709. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  710. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  711. package/app/.next-cli-build/server/middleware.js +5 -5
  712. package/app/.next-cli-build/server/next-font-manifest.js +1 -1
  713. package/app/.next-cli-build/server/next-font-manifest.json +1 -1
  714. package/app/.next-cli-build/server/pages/404.html +1 -1
  715. package/app/.next-cli-build/server/pages/500.html +1 -1
  716. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  717. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  718. package/app/.next-cli-build/static/JRaGItQgERhBp83cHyRqE/_buildManifest.js +1 -0
  719. package/app/.next-cli-build/static/chunks/{1321-aa0d45362a7ebc08.js → 1321-a7bfb848c63bdbf7.js} +1 -1
  720. package/app/.next-cli-build/static/chunks/1992-7359483e85c66d42.js +1 -0
  721. package/app/.next-cli-build/static/chunks/5497-6eb58895074fec6d.js +7 -0
  722. package/app/.next-cli-build/static/chunks/705-35d16348285626c8.js +1 -0
  723. package/app/.next-cli-build/static/chunks/8105-49cec265df0de251.js +1 -0
  724. package/app/.next-cli-build/static/chunks/{8720-bbafc2ad7d186ebd.js → 8982-6d1803817450bcd4.js} +2 -2
  725. package/app/.next-cli-build/static/chunks/981-777b2911f938c030.js +3 -0
  726. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/alerts/{page-920869c698a8b3cf.js → page-c263cd784e69e6f1.js} +1 -1
  727. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-75247ad22e97f7cc.js → page-ecd3a85a40e51c66.js} +1 -1
  728. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-3c3074cf3f61df46.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-8b043b8296199edb.js → page-f7cdc992cb310077.js} +1 -1
  730. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-b4a78d784383253c.js +3 -0
  731. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-959b3ee3c662de33.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-5689c88f2746c37a.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/health/{page-ec1dc4e44702257d.js → page-133cf1aa2ce53c87.js} +1 -1
  734. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-b635b8b051acb5a5.js → page-7d472b122fb182f0.js} +10 -10
  735. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-83272baae17d38f1.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-a36b3b632d16f4cb.js → page-f36e5ac11783fd1e.js} +2 -2
  737. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/page-4069e1d40a3c70a6.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-e794909abbc7a09a.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-1d972fd3baee7474.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/overview/page-2dae733c8e1582bf.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-7325c65533e4cf60.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/{page-dc8e49b1fe778d9c.js → page-e7ba910803086460.js} +1 -1
  743. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-0f877a8a2550a1ea.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-2e82495d63f499e9.js → page-6b500acebeff856b.js} +2 -2
  745. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-8965749fb7d0fac3.js → page-bcf9d97ab4dc20d9.js} +1 -1
  746. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-5b11b61863963cad.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-843c810c0818ce1b.js → page-58d8d0fa5523ff95.js} +1 -1
  748. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-c02ccb0fd35970d1.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-97c920b552343488.js → page-a8b151d5ae9004ea.js} +1 -1
  750. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/swarm/page-594a59006196a03a.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-d57c129c03c9cb36.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-a8af04fbd6293d2f.js → page-61d162d7a7f88a11.js} +1 -1
  753. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-bd421513fd2dc28a.js → page-483f01fd35d212f5.js} +1 -1
  754. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-0a63db83d5e05667.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/_global-error/page-158df2528a1edacc.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/_not-found/{page-732ac0fa56005849.js → page-0161671512f52984.js} +1 -1
  757. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-158df2528a1edacc.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-158df2528a1edacc.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-158df2528a1edacc.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-158df2528a1edacc.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-158df2528a1edacc.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-158df2528a1edacc.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-158df2528a1edacc.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-158df2528a1edacc.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/breaker/route-158df2528a1edacc.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/cache/route-158df2528a1edacc.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-158df2528a1edacc.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-158df2528a1edacc.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-158df2528a1edacc.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-158df2528a1edacc.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-158df2528a1edacc.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-158df2528a1edacc.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-158df2528a1edacc.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-158df2528a1edacc.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-158df2528a1edacc.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-158df2528a1edacc.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-158df2528a1edacc.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-158df2528a1edacc.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-158df2528a1edacc.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-158df2528a1edacc.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-158df2528a1edacc.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-158df2528a1edacc.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-158df2528a1edacc.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-158df2528a1edacc.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/combos/route-158df2528a1edacc.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-158df2528a1edacc.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-158df2528a1edacc.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-158df2528a1edacc.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-158df2528a1edacc.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-158df2528a1edacc.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-158df2528a1edacc.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/health/route-158df2528a1edacc.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-158df2528a1edacc.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/init/route-158df2528a1edacc.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-158df2528a1edacc.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/keys/route-158df2528a1edacc.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/locale/route-158df2528a1edacc.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-158df2528a1edacc.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-158df2528a1edacc.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-158df2528a1edacc.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-158df2528a1edacc.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-158df2528a1edacc.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-158df2528a1edacc.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-158df2528a1edacc.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-158df2528a1edacc.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-158df2528a1edacc.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-158df2528a1edacc.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-158df2528a1edacc.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/models/route-158df2528a1edacc.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/models/test/route-158df2528a1edacc.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-158df2528a1edacc.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-158df2528a1edacc.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-158df2528a1edacc.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-158df2528a1edacc.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-158df2528a1edacc.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-158df2528a1edacc.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-158df2528a1edacc.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-158df2528a1edacc.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/auto-import/route-158df2528a1edacc.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/import/route-158df2528a1edacc.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/quota/route-158df2528a1edacc.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-158df2528a1edacc.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-158df2528a1edacc.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-158df2528a1edacc.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-158df2528a1edacc.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-158df2528a1edacc.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-158df2528a1edacc.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-158df2528a1edacc.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-158df2528a1edacc.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-158df2528a1edacc.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-158df2528a1edacc.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/pricing/route-158df2528a1edacc.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-158df2528a1edacc.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-158df2528a1edacc.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-158df2528a1edacc.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-158df2528a1edacc.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-158df2528a1edacc.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-158df2528a1edacc.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-158df2528a1edacc.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-158df2528a1edacc.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-158df2528a1edacc.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-158df2528a1edacc.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-158df2528a1edacc.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-158df2528a1edacc.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-158df2528a1edacc.js +1 -0
  846. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-158df2528a1edacc.js +1 -0
  847. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-158df2528a1edacc.js +1 -0
  848. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-158df2528a1edacc.js +1 -0
  849. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-158df2528a1edacc.js +1 -0
  850. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-158df2528a1edacc.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-158df2528a1edacc.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/api/providers/route-158df2528a1edacc.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-158df2528a1edacc.js +1 -0
  854. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-158df2528a1edacc.js +1 -0
  855. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-158df2528a1edacc.js +1 -0
  856. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-158df2528a1edacc.js +1 -0
  857. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-158df2528a1edacc.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-158df2528a1edacc.js +1 -0
  859. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-158df2528a1edacc.js +1 -0
  860. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-158df2528a1edacc.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-158df2528a1edacc.js +1 -0
  862. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-158df2528a1edacc.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-158df2528a1edacc.js +1 -0
  864. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-158df2528a1edacc.js +1 -0
  865. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-158df2528a1edacc.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-158df2528a1edacc.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/api/settings/route-158df2528a1edacc.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-158df2528a1edacc.js +1 -0
  869. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-158df2528a1edacc.js +1 -0
  870. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-158df2528a1edacc.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/api/tags/route-158df2528a1edacc.js +1 -0
  872. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-158df2528a1edacc.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-158df2528a1edacc.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-158df2528a1edacc.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-158df2528a1edacc.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-158df2528a1edacc.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-158df2528a1edacc.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-158df2528a1edacc.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-158df2528a1edacc.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-158df2528a1edacc.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-158df2528a1edacc.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-158df2528a1edacc.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-158df2528a1edacc.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-158df2528a1edacc.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-158df2528a1edacc.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-158df2528a1edacc.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-158df2528a1edacc.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-158df2528a1edacc.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-158df2528a1edacc.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-158df2528a1edacc.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-158df2528a1edacc.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-158df2528a1edacc.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-158df2528a1edacc.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-158df2528a1edacc.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-158df2528a1edacc.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-158df2528a1edacc.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-158df2528a1edacc.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-158df2528a1edacc.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-158df2528a1edacc.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-158df2528a1edacc.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-158df2528a1edacc.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-158df2528a1edacc.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-158df2528a1edacc.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-158df2528a1edacc.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-158df2528a1edacc.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-158df2528a1edacc.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-158df2528a1edacc.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-158df2528a1edacc.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-158df2528a1edacc.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-158df2528a1edacc.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-158df2528a1edacc.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/v1/route-158df2528a1edacc.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-158df2528a1edacc.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-158df2528a1edacc.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-158df2528a1edacc.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-158df2528a1edacc.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/version/route-158df2528a1edacc.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-158df2528a1edacc.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/version/update/route-158df2528a1edacc.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/callback/{page-4e8ab9d9128acffb.js → page-20e990994d8da6d3.js} +1 -1
  921. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/{page-d4eb2ba84eef2143.js → page-bb9f307074c5c23a.js} +1 -1
  922. package/app/.next-cli-build/static/chunks/app/landing/{page-ade86a48ca5749f4.js → page-468c5cb1d127c02a.js} +1 -1
  923. package/app/.next-cli-build/static/chunks/app/layout-10bff7b57a2a3c2c.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/login/page-32ab5d7c75651107.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-158df2528a1edacc.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/page-158df2528a1edacc.js +1 -0
  927. package/app/.next-cli-build/static/chunks/main-ab3c4d38db15f747.js +5 -0
  928. package/app/.next-cli-build/static/chunks/main-app-f661afc91c813cfe.js +1 -0
  929. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-158df2528a1edacc.js +1 -0
  930. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-158df2528a1edacc.js +1 -0
  931. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-8fecb2690f5e9ae2.js +1 -0
  932. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-158df2528a1edacc.js +1 -0
  933. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-158df2528a1edacc.js +1 -0
  934. package/app/.next-cli-build/static/chunks/webpack-c2bac8d80aa27536.js +1 -0
  935. package/app/.next-cli-build/static/css/d25230f8c6390408.css +1 -0
  936. package/app/custom-server.js +9 -0
  937. package/app/node_modules/nanoid/package.json +1 -1
  938. package/app/package.json +9 -6
  939. package/app/public/i18n/literals/ar.json +195 -195
  940. package/app/public/i18n/literals/bn.json +195 -195
  941. package/app/public/i18n/literals/cs.json +195 -195
  942. package/app/public/i18n/literals/da.json +195 -195
  943. package/app/public/i18n/literals/de.json +195 -195
  944. package/app/public/i18n/literals/el.json +195 -195
  945. package/app/public/i18n/literals/es.json +195 -195
  946. package/app/public/i18n/literals/fi.json +195 -195
  947. package/app/public/i18n/literals/fr.json +195 -195
  948. package/app/public/i18n/literals/he.json +195 -195
  949. package/app/public/i18n/literals/hi.json +195 -195
  950. package/app/public/i18n/literals/hu.json +195 -195
  951. package/app/public/i18n/literals/id.json +195 -195
  952. package/app/public/i18n/literals/it.json +195 -195
  953. package/app/public/i18n/literals/ja.json +195 -195
  954. package/app/public/i18n/literals/ko.json +195 -195
  955. package/app/public/i18n/literals/nl.json +195 -195
  956. package/app/public/i18n/literals/no.json +195 -195
  957. package/app/public/i18n/literals/pl.json +195 -195
  958. package/app/public/i18n/literals/pt-BR.json +195 -195
  959. package/app/public/i18n/literals/pt-PT.json +195 -195
  960. package/app/public/i18n/literals/ro.json +195 -195
  961. package/app/public/i18n/literals/ru.json +195 -195
  962. package/app/public/i18n/literals/sv.json +195 -195
  963. package/app/public/i18n/literals/th.json +195 -195
  964. package/app/public/i18n/literals/tl.json +195 -195
  965. package/app/public/i18n/literals/tr.json +195 -195
  966. package/app/public/i18n/literals/uk.json +195 -195
  967. package/app/public/i18n/literals/ur.json +195 -195
  968. package/app/public/i18n/literals/vi.json +195 -195
  969. package/app/public/i18n/literals/zh-CN.json +773 -773
  970. package/app/public/i18n/literals/zh-TW.json +195 -195
  971. package/app/public/providers/agnes-api.svg +6 -6
  972. package/app/public/providers/agnes-web.svg +6 -6
  973. package/app/public/providers/alibaba-cn.svg +11 -11
  974. package/app/public/providers/alibaba.svg +11 -11
  975. package/app/public/providers/bynara.svg +22 -22
  976. package/app/public/providers/codebuddy-intl.png +0 -0
  977. package/app/public/providers/devin.svg +5 -5
  978. package/app/public/providers/featherless.svg +8 -8
  979. package/app/public/providers/forge.svg +9 -9
  980. package/app/public/providers/freebuff-web.svg +6 -6
  981. package/app/public/providers/hcnsec.svg +10 -10
  982. package/app/public/providers/inferx.svg +8 -0
  983. package/app/public/providers/inxorastudio-web.svg +4 -4
  984. package/app/public/providers/inxorastudio.svg +4 -4
  985. package/app/public/providers/kimi-desktop.svg +9 -0
  986. package/app/public/providers/moonshot.svg +8 -8
  987. package/app/public/providers/novita.svg +6 -0
  988. package/app/public/providers/openvecta.svg +7 -7
  989. package/app/public/providers/perplexity-agent.svg +13 -13
  990. package/app/public/providers/qwen-cloud.svg +1 -1
  991. package/app/public/providers/qwencloud.svg +6 -6
  992. package/app/public/providers/stepfun.svg +53 -53
  993. package/app/public/providers/tokenrouter.svg +15 -15
  994. package/app/public/providers/workbuddy.png +0 -0
  995. package/app/public/providers/wp-studio.svg +11 -11
  996. package/app/public/providers/zed.svg +11 -11
  997. package/app/public/providers/zenmux-free.svg +9 -9
  998. package/app/server.js +1 -1
  999. package/app/src/lib/db/adapters/sqljsAdapter.js +115 -115
  1000. package/app/src/lib/db/migrate.js +286 -286
  1001. package/app/src/lib/network/pickProxyPoolId.js +38 -38
  1002. package/app/src/lib/updater/updater.js +235 -235
  1003. package/app/src/mitm/server.js +2 -2
  1004. package/cli.js +830 -830
  1005. package/package.json +66 -66
  1006. package/src/cli/api/client.js +556 -556
  1007. package/src/cli/menus/cliTools.js +618 -618
  1008. package/src/cli/terminalUI.js +121 -121
  1009. package/src/cli/tray/autostart.js +306 -306
  1010. package/src/cli/tray/tray.js +322 -322
  1011. package/src/cli/tray/tray.ps1 +130 -130
  1012. package/app/.next-cli-build/server/chunks/1051.js +0 -1
  1013. package/app/.next-cli-build/server/chunks/1216.js +0 -3
  1014. package/app/.next-cli-build/server/chunks/2926.js +0 -75
  1015. package/app/.next-cli-build/server/chunks/4502.js +0 -16
  1016. package/app/.next-cli-build/server/chunks/4632.js +0 -1
  1017. package/app/.next-cli-build/server/chunks/541.js +0 -1
  1018. package/app/.next-cli-build/server/chunks/615.js +0 -1
  1019. package/app/.next-cli-build/server/chunks/6316.js +0 -2
  1020. package/app/.next-cli-build/server/chunks/6686.js +0 -1
  1021. package/app/.next-cli-build/server/chunks/9140.js +0 -1
  1022. package/app/.next-cli-build/server/chunks/9630.js +0 -1
  1023. package/app/.next-cli-build/static/S-pbWChrUiCkwFyfx4Su3/_buildManifest.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/1696-bafe4b44a7a0439e.js +0 -3
  1025. package/app/.next-cli-build/static/chunks/1966.b8f83f7ba376c962.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/1992-b492aa3235a8c259.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/3899.3f761f7e3a944e8c.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/5497-b321fb89cc6d6e14.js +0 -7
  1029. package/app/.next-cli-build/static/chunks/705-b7d7b61f41806f0d.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/8105-204edc780a329497.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-cd77e53dbcd46b6c.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-dbf52954681b093c.js +0 -3
  1033. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-a8c4d8c681e19868.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-408845bd809806a6.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-d9958dfec1d2e28e.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-92a0799a23d869b3.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-a67cd1c5f77da355.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/overview/page-262fa6911888d4f1.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-f644da989b8878c3.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-aa26b25a26b5dac8.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-96d3eb0dfde0711b.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-9a44fa1600f3ff42.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/swarm/page-9739651f4f19cec6.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-2f3b8761d7b32ec0.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-9144cc5f6a208199.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/_global-error/page-ab464cb25617d9dd.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-ab464cb25617d9dd.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-ab464cb25617d9dd.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-ab464cb25617d9dd.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-ab464cb25617d9dd.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-ab464cb25617d9dd.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-ab464cb25617d9dd.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-ab464cb25617d9dd.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-ab464cb25617d9dd.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/breaker/route-ab464cb25617d9dd.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/cache/route-ab464cb25617d9dd.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-ab464cb25617d9dd.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-ab464cb25617d9dd.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-ab464cb25617d9dd.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-ab464cb25617d9dd.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-ab464cb25617d9dd.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-ab464cb25617d9dd.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-ab464cb25617d9dd.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-ab464cb25617d9dd.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-ab464cb25617d9dd.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-ab464cb25617d9dd.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-ab464cb25617d9dd.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-ab464cb25617d9dd.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-ab464cb25617d9dd.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-ab464cb25617d9dd.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-ab464cb25617d9dd.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-ab464cb25617d9dd.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-ab464cb25617d9dd.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-ab464cb25617d9dd.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/combos/route-ab464cb25617d9dd.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-ab464cb25617d9dd.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-ab464cb25617d9dd.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-ab464cb25617d9dd.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-ab464cb25617d9dd.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-ab464cb25617d9dd.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-ab464cb25617d9dd.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/health/route-ab464cb25617d9dd.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-ab464cb25617d9dd.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/init/route-ab464cb25617d9dd.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-ab464cb25617d9dd.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/keys/route-ab464cb25617d9dd.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/locale/route-ab464cb25617d9dd.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-ab464cb25617d9dd.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-ab464cb25617d9dd.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-ab464cb25617d9dd.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-ab464cb25617d9dd.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-ab464cb25617d9dd.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-ab464cb25617d9dd.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-ab464cb25617d9dd.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-ab464cb25617d9dd.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-ab464cb25617d9dd.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-ab464cb25617d9dd.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-ab464cb25617d9dd.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/models/route-ab464cb25617d9dd.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/models/test/route-ab464cb25617d9dd.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-ab464cb25617d9dd.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-ab464cb25617d9dd.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-ab464cb25617d9dd.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-ab464cb25617d9dd.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-ab464cb25617d9dd.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-ab464cb25617d9dd.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-ab464cb25617d9dd.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-ab464cb25617d9dd.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-ab464cb25617d9dd.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-ab464cb25617d9dd.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-ab464cb25617d9dd.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-ab464cb25617d9dd.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-ab464cb25617d9dd.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-ab464cb25617d9dd.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-ab464cb25617d9dd.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-ab464cb25617d9dd.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-ab464cb25617d9dd.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-ab464cb25617d9dd.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/pricing/route-ab464cb25617d9dd.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-ab464cb25617d9dd.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-ab464cb25617d9dd.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-ab464cb25617d9dd.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-ab464cb25617d9dd.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-ab464cb25617d9dd.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-ab464cb25617d9dd.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-ab464cb25617d9dd.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-ab464cb25617d9dd.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-ab464cb25617d9dd.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-ab464cb25617d9dd.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-ab464cb25617d9dd.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-ab464cb25617d9dd.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-ab464cb25617d9dd.js +0 -1
  1133. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-ab464cb25617d9dd.js +0 -1
  1134. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-ab464cb25617d9dd.js +0 -1
  1135. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-ab464cb25617d9dd.js +0 -1
  1136. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-ab464cb25617d9dd.js +0 -1
  1137. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-ab464cb25617d9dd.js +0 -1
  1138. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-ab464cb25617d9dd.js +0 -1
  1139. package/app/.next-cli-build/static/chunks/app/api/providers/route-ab464cb25617d9dd.js +0 -1
  1140. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-ab464cb25617d9dd.js +0 -1
  1141. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-ab464cb25617d9dd.js +0 -1
  1142. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-ab464cb25617d9dd.js +0 -1
  1143. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-ab464cb25617d9dd.js +0 -1
  1144. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-ab464cb25617d9dd.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-ab464cb25617d9dd.js +0 -1
  1146. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-ab464cb25617d9dd.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-ab464cb25617d9dd.js +0 -1
  1148. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-ab464cb25617d9dd.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-ab464cb25617d9dd.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-ab464cb25617d9dd.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-ab464cb25617d9dd.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-ab464cb25617d9dd.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-ab464cb25617d9dd.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/settings/route-ab464cb25617d9dd.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-ab464cb25617d9dd.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-ab464cb25617d9dd.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-ab464cb25617d9dd.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/tags/route-ab464cb25617d9dd.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-ab464cb25617d9dd.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-ab464cb25617d9dd.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-ab464cb25617d9dd.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-ab464cb25617d9dd.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-ab464cb25617d9dd.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-ab464cb25617d9dd.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-ab464cb25617d9dd.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-ab464cb25617d9dd.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-ab464cb25617d9dd.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-ab464cb25617d9dd.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-ab464cb25617d9dd.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-ab464cb25617d9dd.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-ab464cb25617d9dd.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-ab464cb25617d9dd.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-ab464cb25617d9dd.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-ab464cb25617d9dd.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-ab464cb25617d9dd.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-ab464cb25617d9dd.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-ab464cb25617d9dd.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-ab464cb25617d9dd.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-ab464cb25617d9dd.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-ab464cb25617d9dd.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-ab464cb25617d9dd.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-ab464cb25617d9dd.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-ab464cb25617d9dd.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-ab464cb25617d9dd.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-ab464cb25617d9dd.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-ab464cb25617d9dd.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-ab464cb25617d9dd.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-ab464cb25617d9dd.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-ab464cb25617d9dd.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-ab464cb25617d9dd.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-ab464cb25617d9dd.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-ab464cb25617d9dd.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-ab464cb25617d9dd.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-ab464cb25617d9dd.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-ab464cb25617d9dd.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-ab464cb25617d9dd.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-ab464cb25617d9dd.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-ab464cb25617d9dd.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/v1/route-ab464cb25617d9dd.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-ab464cb25617d9dd.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-ab464cb25617d9dd.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-ab464cb25617d9dd.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-ab464cb25617d9dd.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/version/route-ab464cb25617d9dd.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-ab464cb25617d9dd.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/version/update/route-ab464cb25617d9dd.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/layout-16b611f4f5717ccd.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/login/page-0831b035aa4c0f17.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-ab464cb25617d9dd.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/page-ab464cb25617d9dd.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/main-28015457a328b97c.js +0 -5
  1212. package/app/.next-cli-build/static/chunks/main-app-705d8c306f358a5f.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-ab464cb25617d9dd.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-ab464cb25617d9dd.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-22e44aa316880902.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-ab464cb25617d9dd.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-ab464cb25617d9dd.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/webpack-a990cabb6976f421.js +0 -1
  1219. package/app/.next-cli-build/static/css/68d66160ca549ddc.css +0 -1
  1220. package/app/cli/.build-home/AppData/Local/npm-cache/_update-notifier-last-checked +0 -0
  1221. package/app/cli/.build-home/AppData/Roaming/extremerouter/.migrated-from +0 -1
  1222. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/backups/schema-3-to-4-0.8.0-20260802-152036/data.sqlite +0 -0
  1223. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/backups/upgrade-0.7.8-to-0.7.9-0.7.9-20260729-181011/data.sqlite +0 -0
  1224. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/backups/upgrade-0.7.9-to-0.8.0-0.8.0-20260729-213634/data.sqlite +0 -0
  1225. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/backups/upgrade-0.8.0-to-0.8.1-0.8.1-20260802-152517/data.sqlite +0 -0
  1226. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/data.sqlite +0 -0
  1227. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/data.sqlite-shm +0 -0
  1228. package/app/cli/.build-home/AppData/Roaming/extremerouter/db/data.sqlite-wal +0 -0
  1229. package/app/cli/.build-home/AppData/Roaming/extremerouter/jwt-secret +0 -1
  1230. package/app/cli/.build-home/AppData/Roaming/extremerouter/machine-id +0 -1
  1231. package/app/cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json +0 -7
  1232. /package/app/.next-cli-build/static/{S-pbWChrUiCkwFyfx4Su3 → JRaGItQgERhBp83cHyRqE}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2825],{17385:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>eA});var r=s(95155),a=s(12115),l=s(73321),n=s(35497),i=s(84588),o=s(92542),c=s(31474);function d({isOpen:e,onClose:t,title:s,children:l,width:n="md",className:i}){let o={sm:"w-[400px]",md:"w-[500px]",lg:"w-[600px]",xl:"w-[800px]",full:"w-full"};return((0,a.useEffect)(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),(0,a.useEffect)(()=>{let s=s=>{"Escape"===s.key&&e&&t()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e,t]),e)?(0,r.jsxs)("div",{className:"fixed inset-0 z-50",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in cursor-pointer",onClick:t,"aria-hidden":"true"}),(0,r.jsxs)("div",{className:(0,c.cn)("absolute right-0 top-0 h-full bg-surface flex flex-col","shadow-[var(--shadow-elev)]","slide-in-right","border-l border-border-subtle",o[n]||o.md,i),children:[(0,r.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-border-subtle flex-shrink-0",children:[(0,r.jsx)("div",{className:"flex items-center gap-3",children:s&&(0,r.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:s})}),(0,r.jsx)("button",{type:"button",onClick:t,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto p-6 custom-scrollbar",children:l})]})]}):null}function m({currentPage:e,pageSize:t,totalItems:s,onPageChange:a,onPageSizeChange:l,className:n}){let i=Math.ceil(s/t),d=s>0?(e-1)*t+1:0,x=Math.min(e*t,s),u=(()=>{let t=[],s=Math.max(1,e-2),r=Math.min(i,s+5-1);r-s+1<5&&(s=Math.max(1,r-5+1));for(let e=s;e<=r;e++)t.push(e);return t})();return(0,r.jsxs)("div",{className:(0,c.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",n),children:[s>0&&(0,r.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,r.jsx)("span",{className:"font-medium text-text-main",children:d})," to"," ",(0,r.jsx)("span",{className:"font-medium text-text-main",children:x})," of"," ",(0,r.jsx)("span",{className:"font-medium text-text-main",children:s})," results"]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[l&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,r.jsx)("select",{value:t,onChange:e=>l(Number(e.target.value)),className:(0,c.cn)("h-9 rounded-lg border border-black/10 dark:border-white/10 bg-surface","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","cursor-pointer"),style:{colorScheme:"auto"},children:[10,20,50].map(e=>(0,r.jsx)("option",{value:e,children:e},e))})]}),i>1&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>a(e-1),disabled:1===e,className:"w-9 px-0",children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),u[0]>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{variant:"ghost",size:"sm",onClick:()=>a(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),u[0]>2&&(0,r.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),u.map(t=>(0,r.jsx)(o.default,{variant:e===t?"primary":"ghost",size:"sm",onClick:()=>a(t),className:(0,c.cn)("w-9 px-0",e===t?"inline-flex":"hidden sm:inline-flex"),children:t},t)),u[u.length-1]<i&&(0,r.jsxs)(r.Fragment,{children:[u[u.length-1]<i-1&&(0,r.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,r.jsx)(o.default,{variant:"ghost",size:"sm",onClick:()=>a(i),className:"w-9 px-0 hidden sm:inline-flex",children:i})]}),(0,r.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>a(e+1),disabled:e===i,className:"w-9 px-0",children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}var x=s(88105);let u=null,p=null;async function h(){if(u&&p)return{providerNameCache:u,providerNodesCache:p};let e=await fetch("/api/provider-nodes"),t=(await e.json()).nodes||[];for(let e of(p={},t))p[e.id]=e.name;return{providerNameCache:u={...x.Q2,...p},providerNodesCache:p}}function f(e,t){if(!e||!t)return e;let s=t[e];if("string"==typeof s)return s;if(s?.name)return s.name;let r=(0,x.zt)(e)||x.Q2[e];return r?.name||e}function g({title:e,children:t,defaultOpen:s=!1,icon:l=null}){let[n,i]=(0,a.useState)(s);return(0,r.jsxs)("div",{className:"border border-border-subtle rounded-lg overflow-hidden",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>i(!n),className:"w-full flex items-center justify-between p-3 bg-surface-2 hover:bg-black/[0.04] dark:hover:bg-white/[0.04] transition-colors",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[l&&(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:l}),(0,r.jsx)("span",{className:"font-semibold text-sm text-text-main",children:e})]}),(0,r.jsx)("span",{className:(0,c.cn)("material-symbols-outlined text-[20px] text-text-muted transition-transform duration-200",n?"rotate-90":""),children:"chevron_right"})]}),n&&(0,r.jsx)("div",{className:"p-4 border-t border-border-subtle",children:t})]})}function j(e){return e?.cached_tokens||e?.cache_read_input_tokens||0}function b(e){return e?.cache_creation_input_tokens||0}function v(e){let t=e?.prompt_tokens||e?.input_tokens||0,s=j(e);return t<s?s:t}function y(){let[e,t]=(0,a.useState)([]),[s,l]=(0,a.useState)({page:1,pageSize:20,totalItems:0,totalPages:0}),[n,x]=(0,a.useState)(!1),[u,p]=(0,a.useState)(null),[y,N]=(0,a.useState)(!1),[w,k]=(0,a.useState)([]),[S,C]=(0,a.useState)(null),[T,R]=(0,a.useState)({provider:"",startDate:"",endDate:""}),q=(0,a.useCallback)(async()=>{try{let e=await fetch("/api/usage/providers"),t=await e.json();k(t.providers||[]);let s=await h();C(s.providerNameCache)}catch(e){console.error("Failed to fetch providers:",e)}},[]),M=(0,a.useCallback)(async()=>{x(!0);try{let e=new URLSearchParams({page:s.page.toString(),pageSize:s.pageSize.toString()});T.provider&&e.append("provider",T.provider),T.startDate&&e.append("startDate",T.startDate),T.endDate&&e.append("endDate",T.endDate);let r=await fetch(`/api/usage/request-details?${e}`),a=await r.json();t(a.details||[]),l(e=>({...e,...a.pagination}))}catch(e){console.error("Failed to fetch request details:",e)}finally{x(!1)}},[s.page,s.pageSize,T]);return(0,a.useEffect)(()=>{q()},[q]),(0,a.useEffect)(()=>{M()},[M]),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,r.jsx)(i.default,{padding:"md",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsx)("label",{htmlFor:"provider-filter",className:"text-sm font-medium text-text-main",children:"Provider"}),(0,r.jsxs)("select",{id:"provider-filter",value:T.provider,onChange:e=>R({...T,provider:e.target.value}),className:(0,c.cn)("h-9 px-3 rounded-lg border border-border bg-surface-2","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","w-full min-w-0 cursor-pointer"),style:{colorScheme:"auto"},children:[(0,r.jsx)("option",{value:"",children:"All Providers"}),w.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsx)("label",{htmlFor:"start-date-filter",className:"text-sm font-medium text-text-main",children:"Start Date"}),(0,r.jsx)("input",{id:"start-date-filter",type:"datetime-local",value:T.startDate,onChange:e=>R({...T,startDate:e.target.value}),className:(0,c.cn)("h-9 px-3 rounded-lg border border-border bg-surface-2","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsx)("label",{htmlFor:"end-date-filter",className:"text-sm font-medium text-text-main",children:"End Date"}),(0,r.jsx)("input",{id:"end-date-filter",type:"datetime-local",value:T.endDate,onChange:e=>R({...T,endDate:e.target.value}),className:(0,c.cn)("h-9 px-3 rounded-lg border border-border bg-surface-2","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2 sm:col-span-2 lg:col-span-1",children:[(0,r.jsx)("span",{className:"hidden text-sm font-medium text-text-main opacity-0 lg:block","aria-hidden":"true",children:"Clear"}),(0,r.jsx)(o.default,{variant:"ghost",onClick:()=>{R({provider:"",startDate:"",endDate:""})},disabled:!T.provider&&!T.startDate&&!T.endDate,className:"w-full",children:"Clear Filters"})]})]})}),(0,r.jsxs)(i.default,{padding:"none",children:[(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full min-w-[880px]",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"border-b border-border-subtle",children:[(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Timestamp"}),(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Model"}),(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Provider"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Input Tokens"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cached"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cache Creation"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Output Tokens"}),(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Latency"}),(0,r.jsx)("th",{className:"text-center p-4 text-sm font-semibold text-text-main",children:"Action"})]})}),(0,r.jsx)("tbody",{children:n?(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,r.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading..."]})})}):0===e.length?(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:"No request details found"})}):e.map((e,t)=>(0,r.jsxs)("tr",{className:"border-b border-border-subtle last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,r.jsx)("td",{className:"whitespace-nowrap p-4 text-sm text-text-main",children:new Date(e.timestamp).toLocaleString()}),(0,r.jsx)("td",{className:"max-w-[260px] truncate p-4 font-mono text-sm text-text-main",children:e.model}),(0,r.jsx)("td",{className:"max-w-[180px] truncate p-4 text-sm text-text-main",children:(0,r.jsx)("span",{className:"font-medium",children:f(e.provider,S)})}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:v(e.tokens).toLocaleString()}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:j(e.tokens)>0?j(e.tokens).toLocaleString():"—"}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:b(e.tokens)>0?b(e.tokens).toLocaleString():"—"}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:e.tokens?.completion_tokens?.toLocaleString()||0}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-muted",children:(0,r.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,r.jsxs)("div",{children:["TTFT: ",(0,r.jsxs)("span",{className:"font-mono",children:[e.latency?.ttft||0,"ms"]})]}),(0,r.jsxs)("div",{children:["Total: ",(0,r.jsxs)("span",{className:"font-mono",children:[e.latency?.total||0,"ms"]})]})]})}),(0,r.jsx)("td",{className:"p-4 text-center",children:(0,r.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>{p(e),N(!0)},children:"Detail"})})]},`${e.id}-${t}`))})]})}),!n&&e.length>0&&(0,r.jsx)("div",{className:"border-t border-border-subtle",children:(0,r.jsx)(m,{currentPage:s.page,pageSize:s.pageSize,totalItems:s.totalItems,onPageChange:e=>{l(t=>({...t,page:e}))},onPageSizeChange:e=>{l(t=>({...t,pageSize:e,page:1}))}})})]}),(0,r.jsx)(d,{isOpen:y,onClose:()=>N(!1),title:"Request Details",width:"lg",children:u&&(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 text-sm sm:grid-cols-2",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"ID:"})," ",(0,r.jsx)("span",{className:"break-all font-mono text-text-main",children:u.id})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Timestamp:"})," ",(0,r.jsx)("span",{className:"text-text-main",children:new Date(u.timestamp).toLocaleString()})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Provider:"})," ",(0,r.jsx)("span",{className:"text-text-main font-medium",children:f(u.provider,S)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Model:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:u.model})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Status:"})," ",(0,r.jsx)("span",{className:(0,c.cn)("font-medium","success"===u.status?"text-green-600":"text-red-600"),children:u.status})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Latency:"})," ",(0,r.jsxs)("span",{className:"text-text-main font-mono",children:["TTFT ",u.latency?.ttft||0,"ms / Total ",u.latency?.total||0,"ms"]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Input Tokens:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:v(u.tokens).toLocaleString()})]}),j(u.tokens)>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Cached Tokens:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:j(u.tokens).toLocaleString()})]}),b(u.tokens)>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Cache Creation:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:b(u.tokens).toLocaleString()})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Output Tokens:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:u.tokens?.completion_tokens?.toLocaleString()||0})]})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)(g,{title:"1. Client Request (Input)",defaultOpen:!0,icon:"input",children:(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:JSON.stringify(u.request,null,2)})}),u.providerRequest&&(0,r.jsx)(g,{title:"2. Provider Request (Translated)",icon:"translate",children:(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:JSON.stringify(u.providerRequest,null,2)})}),u.providerResponse&&(0,r.jsx)(g,{title:"3. Provider Response (Raw)",icon:"data_object",children:(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:"object"==typeof u.providerResponse?JSON.stringify(u.providerResponse,null,2):u.providerResponse})}),(0,r.jsxs)(g,{title:"4. Client Response (Final)",defaultOpen:!0,icon:"output",children:[u.response?.thinking&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsxs)("h4",{className:"font-semibold text-text-main mb-2 flex items-center gap-2 text-xs uppercase tracking-wide opacity-70",children:[(0,r.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"psychology"}),"Thinking Process"]}),(0,r.jsx)("pre",{className:"max-h-[200px] max-w-full overflow-auto rounded-lg border border-amber-200 bg-amber-50 p-3 font-mono text-xs text-amber-900 dark:border-amber-800 dark:bg-amber-950/30 dark:text-amber-100 sm:p-4",children:u.response.thinking})]}),(0,r.jsx)("h4",{className:"font-semibold text-text-main mb-2 text-xs uppercase tracking-wide opacity-70",children:"Content"}),(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:u.response?.content||"[No content]"})]})]})]})})]})}var N=s(14051),w=s.n(N),k=s(81750),S=s(6793);s(53255);var C=s(8247);function T({data:e}){let{label:t,color:s,imageUrl:l,textIcon:n,active:i}=e,[o,c]=(0,a.useState)(!1);return(0,r.jsxs)("div",{className:"flex items-center gap-2.5 px-4 py-2.5 rounded-lg border-2 transition-all duration-300 bg-bg",style:{borderColor:i?s:"var(--color-border)",boxShadow:i?`0 0 16px ${s}40`:"none",minWidth:"150px"},children:[(0,r.jsx)(k.h7,{type:"target",position:S.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"target",position:S.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"target",position:S.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"target",position:S.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)("div",{className:"w-8 h-8 rounded-md flex items-center justify-center shrink-0",style:{backgroundColor:`${s}15`},children:o?(0,r.jsx)("span",{className:"text-sm font-bold",style:{color:s},children:n}):(0,r.jsx)("img",{src:l,alt:t,className:"w-6 h-6 rounded-sm object-contain",onError:()=>c(!0)})}),(0,r.jsx)("span",{className:"text-base font-medium truncate",style:{color:i?s:"var(--color-text)"},children:t}),i&&(0,r.jsxs)("span",{className:"relative flex h-2 w-2 shrink-0",children:[(0,r.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",style:{backgroundColor:s}}),(0,r.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2",style:{backgroundColor:s}})]})]})}function R({data:e}){return(0,r.jsxs)("div",{className:"flex items-center justify-center px-5 py-3 rounded-xl border-2 border-primary bg-primary/5 shadow-md min-w-[130px]",children:[(0,r.jsx)(k.h7,{type:"source",position:S.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"source",position:S.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"source",position:S.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"source",position:S.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)("img",{src:"/favicon.svg",alt:"ExtremeRouter",className:"w-6 h-6 mr-2"}),(0,r.jsx)("span",{className:"text-sm font-bold text-primary",children:"ExtremeRouter"}),e.activeCount>0&&(0,r.jsx)("span",{className:"ml-2 px-1.5 py-0.5 rounded-full bg-primary text-white text-xs font-bold",children:e.activeCount})]})}T.propTypes={data:w().object.isRequired},R.propTypes={data:w().object.isRequired};let q={provider:T,router:R};function M({providers:e=[],activeRequests:t=[],lastProvider:s="",errorProvider:l=""}){let n=(0,a.useMemo)(()=>t.map(e=>e.provider?.toLowerCase()).filter(Boolean).sort().join(","),[t]),i=s?.toLowerCase()||"",o=l?.toLowerCase()||"",c=(0,a.useMemo)(()=>new Set(n?n.split(","):[]),[n]),d=(0,a.useMemo)(()=>new Set(i?[i]:[]),[i]),m=(0,a.useMemo)(()=>new Set(o?[o]:[]),[o]),u=(0,a.useRef)({}),[p,h]=(0,a.useState)(0);(0,a.useEffect)(()=>{let e=u.current,t=Date.now();for(let s of c)e[s]||(e[s]=t);for(let t of Object.keys(e))c.has(t)||delete e[t]},[c]),(0,a.useEffect)(()=>{if(0===c.size)return;let e=setInterval(()=>h(e=>e+1),1e3);return()=>clearInterval(e)},[c]);let f=(0,a.useMemo)(()=>{let e=Date.now(),t=new Set;for(let s of c){let r=u.current[s];(!r||e-r<6e4)&&t.add(s)}return t},[c,p]),{nodes:g,edges:j}=(0,a.useMemo)(()=>(function(e,t,s,r){let a=e.length,l=Math.max(320,204*a/(2*Math.PI)),n=Math.max(200,.55*l);if(0===a)return{nodes:[{id:"router",type:"router",position:{x:0,y:0},data:{activeCount:0},draggable:!1}],edges:[]};let i=[],o=[];return i.push({id:"router",type:"router",position:{x:-60,y:-22},data:{activeCount:t.size},draggable:!1}),e.forEach((e,c)=>{var d,m;let u,p,h=(d=e.provider,x.Q2[d]||{color:"#6b7280",name:d}),f=t.has(e.provider?.toLowerCase()),g=!f&&s.has(e.provider?.toLowerCase()),j=!f&&r.has(e.provider?.toLowerCase()),b=`provider-${e.provider}`,v={label:(h.name!==e.provider?h.name:null)||e.nodeName||e.name||e.provider,color:h.color||"#6b7280",imageUrl:(m=e.provider,(0,C.k)(m)),textIcon:h.textIcon||(e.provider||"?").slice(0,2).toUpperCase(),active:f},y=-Math.PI/2+2*Math.PI*c/a,N=l*Math.cos(y),w=n*Math.sin(y);Math.abs(y+Math.PI/2)<Math.PI/4||Math.abs(y-3*Math.PI/2)<Math.PI/4?(u="top",p="bottom"):Math.abs(y-Math.PI/2)<Math.PI/4?(u="bottom",p="top"):N>0?(u="right",p="left"):(u="left",p="right"),i.push({id:b,type:"provider",position:{x:N-90,y:w-15},data:v,draggable:!1}),o.push({id:`e-${b}`,source:"router",sourceHandle:u,target:b,targetHandle:p,animated:f,style:(h.color,j?{stroke:"#ef4444",strokeWidth:2.5,opacity:.9}:f?{stroke:"#22c55e",strokeWidth:2.5,opacity:.9}:g?{stroke:"#f59e0b",strokeWidth:2,opacity:.7}:{stroke:"var(--color-border)",strokeWidth:1,opacity:.3})})}),{nodes:i,edges:o}})(e,f,d,m),[e,f,i,o]),b=(0,a.useMemo)(()=>e.map(e=>e.provider).sort().join(","),[e]),v=(0,a.useRef)(null),y=(0,a.useRef)(null),N={padding:.2,duration:200},w=(0,a.useCallback)(e=>{v.current=e,setTimeout(()=>e.fitView(N),50)},[]);return(0,a.useEffect)(()=>{let e=y.current;if(!e)return;let t=new ResizeObserver(()=>{v.current&&v.current.fitView(N)});return t.observe(e),()=>t.disconnect()},[]),(0,a.useEffect)(()=>{if(v.current){let e=setTimeout(()=>v.current.fitView(N),50);return()=>clearTimeout(e)}},[g.length]),(0,r.jsx)("div",{ref:y,className:"h-[320px] w-full min-w-0 overflow-hidden rounded-lg bg-surface-2/50 sm:h-[480px]",children:0===e.length?(0,r.jsx)("div",{className:"h-full flex items-center justify-center text-text-muted text-sm",children:"No providers connected"}):(0,r.jsx)(k.Gc,{nodes:g,edges:j,nodeTypes:q,fitView:!0,fitViewOptions:N,minZoom:.1,maxZoom:2,onInit:w,proOptions:{hideAttribution:!0},panOnDrag:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,preventScrolling:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,children:(0,r.jsx)(k.H2,{showInteractive:!1,className:"react-flow-controls-custom"})},b)})}M.propTypes={providers:w().arrayOf(w().shape({id:w().string,provider:w().string,name:w().string})),activeRequests:w().arrayOf(w().shape({provider:w().string,model:w().string,account:w().string})),lastProvider:w().string,errorProvider:w().string};var O=s(21742),$=s(90639),L=s(59656),z=s(97779);let D={primary:"var(--color-primary)",info:"var(--color-info)",success:"var(--color-success)",warning:"var(--color-warning)",danger:"var(--color-danger)",cyan:"var(--color-cyan)"};function P({data:e=[],color:t="primary",height:s=36,className:a=""}){if(!e||0===e.length)return(0,r.jsx)("div",{style:{height:s},className:a,"aria-hidden":!0});let l=e.map((e,t)=>({i:t,v:Number(e)||0})),n=D[t]||D.primary,i=`spark-${t}`,o=function(e){let t=e.replace(/^var\(--(.*)\)$/,"$1");try{return getComputedStyle(document.documentElement).getPropertyValue(`--${t}`).trim()||e}catch{return e}}(n);return(0,r.jsx)("div",{className:a,style:{height:s,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:l,margin:{top:2,right:0,bottom:0,left:0},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:i,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:o,stopOpacity:.35}),(0,r.jsx)("stop",{offset:"100%",stopColor:o,stopOpacity:0})]})}),(0,r.jsx)(L.h,{hide:!0,domain:["dataMin","dataMax"]}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:"v",stroke:o,strokeWidth:1.5,fill:`url(#${i})`,isAnimationActive:!1,dot:!1})]})})})}function E(e){return new Intl.NumberFormat().format(e||0)}function K(e){return`$${(e||0).toFixed(2)}`}function _(e){let t=Number(e||0);return t>=1e3?`${(t/1e3).toFixed(1)}s`:`${Math.round(t)}ms`}P.propTypes={data:w().arrayOf(w().number),color:w().oneOf(["primary","info","success","warning","danger","cyan"]),height:w().number,className:w().string};let I=(e,t)=>(e||[]).map(e=>Number(e?.[t])||0),A={primary:"bg-primary/12 text-primary ring-1 ring-primary/20",info:"bg-info/12 text-info ring-1 ring-info/20",success:"bg-success/12 text-success ring-1 ring-success/20",warning:"bg-warning/12 text-warning ring-1 ring-warning/20",cyan:"bg-cyan/12 text-cyan ring-1 ring-cyan/20"},F={primary:"text-primary",info:"text-info",success:"text-success",warning:"text-warning",cyan:"text-cyan"};function U({icon:e,color:t,label:s,value:a,sublabel:l,spark:n}){return(0,r.jsxs)(i.default,{padding:"sm",className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,r.jsx)("span",{className:`flex size-9 shrink-0 items-center justify-center rounded-brand ${A[t]||A.primary}`,children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:e})}),(0,r.jsx)("span",{className:"truncate text-xs font-medium uppercase tracking-wide text-text-muted",children:s})]}),(0,r.jsx)("div",{className:"flex min-w-0 items-baseline gap-1",children:(0,r.jsx)("span",{className:`truncate text-2xl font-bold tracking-tight ${F[t]||F.primary}`,children:a})}),(0,r.jsx)(P,{data:n,color:t,height:32,className:"-mb-1"}),l&&(0,r.jsx)("span",{className:"truncate text-[11px] text-text-muted",children:l})]})}function W({stats:e}){let t=e?.last10Minutes||[];return(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-2 gap-3 lg:grid-cols-5 lg:gap-4",children:[(0,r.jsx)(U,{icon:"bolt",color:"primary",label:"Total Requests",value:E(e?.totalRequests),spark:I(t,"requests")}),(0,r.jsx)(U,{icon:"input",color:"info",label:"Input Tokens",value:E(e?.totalPromptTokens),spark:I(t,"promptTokens")}),(0,r.jsx)(U,{icon:"output",color:"success",label:"Output Tokens",value:E(e?.totalCompletionTokens),spark:I(t,"completionTokens")}),(0,r.jsx)(U,{icon:"cached",color:"cyan",label:"Cache Saved",value:E(e?.totalCachedTokens),spark:t.length?t.map((s,r)=>r===t.length-1&&Number(e?.totalCachedTokens)||0):[Number(e?.totalCachedTokens)||0]}),(0,r.jsx)(U,{icon:"payments",color:"warning",label:"Est. Cost",value:`~${K(e?.totalCost)}`,sublabel:"Estimated, not actual billing",spark:I(t,"cost")})]})}U.propTypes={icon:w().string.isRequired,color:w().string.isRequired,label:w().string.isRequired,value:w().string.isRequired,sublabel:w().string,spark:w().arrayOf(w().number)},W.propTypes={stats:w().object.isRequired};var Q=s(56061);function G({req:e}){let t=!e.status||"ok"===e.status||"success"===e.status,s=e.model||"unknown",a=e.provider||"—",l=Number(e.promptTokens)||0,n=Number(e.completionTokens)||0;return(0,r.jsxs)("div",{className:"flex shrink-0 flex-col gap-1 rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:`size-1.5 shrink-0 rounded-full ${t?"bg-success":"bg-danger"}`,title:t?"OK":"Error"}),(0,r.jsx)("span",{className:"max-w-[140px] truncate font-mono text-xs font-medium text-text-main",title:s,children:s})]}),(0,r.jsx)("div",{className:"flex items-center gap-1.5 text-[11px] text-text-muted",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",className:"!px-1.5",children:a})}),(0,r.jsxs)("div",{className:"flex items-center gap-2 font-mono text-[11px]",children:[(0,r.jsxs)("span",{className:"text-primary",children:[l.toLocaleString(),"↑"]}),(0,r.jsxs)("span",{className:"text-success",children:[n.toLocaleString(),"↓"]}),(0,r.jsx)("span",{className:"ml-auto whitespace-nowrap text-text-muted",children:function(e){if(!e)return"Never";let t=Math.floor((Date.now()-new Date(e).getTime())/6e4);return t<1?"Just now":t<60?`${t}m ago`:t<1440?`${Math.floor(t/60)}h ago`:new Date(e).toLocaleDateString()}(e.timestamp)})]})]})}function J({stats:e}){!function(e=3e4){let[,t]=(0,a.useState)(0);(0,a.useEffect)(()=>{let s=setInterval(()=>t(e=>e+1),e);return()=>clearInterval(s)},[e])}();let t=e?.activeRequests||[],s=(e?.recentRequests||[]).slice(0,10),l=t.reduce((e,t)=>e+(Number(t.count)||1),0)||t.length;return(0,r.jsxs)(i.default,{padding:"sm",className:"flex min-w-0 flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("span",{className:"relative flex size-2.5",children:[l>0&&(0,r.jsx)("span",{className:"absolute inline-flex size-full animate-ping rounded-full bg-success opacity-60"}),(0,r.jsx)("span",{className:`relative inline-flex size-2.5 rounded-full ${l>0?"bg-success":"bg-text-subtle"}`})]}),(0,r.jsx)("span",{className:"text-sm font-semibold text-text-main",children:l>0?`${l} active`:"No active requests"}),(0,r.jsx)("span",{className:"text-xs text-text-muted",children:"\xb7 recent activity"})]}),0===s.length?(0,r.jsx)("div",{className:"flex items-center justify-center py-3 text-sm text-text-muted",children:"No recent activity"}):(0,r.jsx)("div",{className:"-mx-1 flex gap-2 overflow-x-auto px-1 pb-1",children:s.map((e,t)=>(0,r.jsx)(G,{req:e},`${e.timestamp}-${t}`))})]})}G.propTypes={req:w().shape({status:w().string,model:w().string,provider:w().string,promptTokens:w().number,completionTokens:w().number,timestamp:w().oneOfType([w().string,w().number])}).isRequired},J.propTypes={stats:w().object};let Z={primary:"var(--color-primary)",info:"var(--color-info)",success:"var(--color-success)",warning:"var(--color-warning)",danger:"var(--color-danger)",cyan:"var(--color-cyan)",muted:"var(--color-surface-3)"};function V({segments:e=[],size:t=140,thickness:s=14,centerLabel:a,centerValue:l,className:n=""}){let i=e.reduce((e,t)=>e+(Number(t.value)||0),0),o=(t-s)/2,c=2*Math.PI*o,d=t/2,m=t/2,x=0,u=e.map((e,t)=>{let s=Number(e.value)||0,r=(i>0?s/i:0)*c,a={key:t,color:Z[e.color]||e.color||Z.muted,dash:r,gap:c-r,offset:-x};return x+=r,a});return(0,r.jsxs)("div",{className:`relative inline-flex items-center justify-center ${n}`,style:{width:t,height:t},children:[(0,r.jsxs)("svg",{width:t,height:t,className:"-rotate-90",children:[(0,r.jsx)("circle",{cx:d,cy:m,r:o,fill:"none",stroke:"var(--color-surface-2)",strokeWidth:s}),i>0&&u.map(e=>(0,r.jsx)("circle",{cx:d,cy:m,r:o,fill:"none",stroke:e.color,strokeWidth:s,strokeDasharray:`${e.dash} ${e.gap}`,strokeDashoffset:e.offset,strokeLinecap:"butt",style:{transition:"stroke-dasharray 0.4s ease, stroke-dashoffset 0.4s ease"}},e.key))]}),(void 0!==l||a)&&(0,r.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[void 0!==l&&(0,r.jsx)("span",{className:"text-xl font-bold text-text-main leading-none",children:l}),a&&(0,r.jsx)("span",{className:"mt-0.5 text-[10px] uppercase tracking-wide text-text-muted",children:a})]})]})}V.propTypes={segments:w().arrayOf(w().shape({value:w().number.isRequired,color:w().oneOf(["primary","info","success","warning","danger","cyan","muted"]),label:w().string})),size:w().number,thickness:w().number,centerLabel:w().string,centerValue:w().string,className:w().string};var X=s(99312);let B=new Set(["error","errors","failed","failure","fail","timeout","5xx","4xx"]);function H({stats:e}){let{segments:t,okCount:s,errCount:l,total:n,ratePct:o}=(0,a.useMemo)(()=>{let t=e?.statusCounts||{},s=0,r=0;for(let[e,a]of Object.entries(t)){let t=Number(a)||0;B.has(String(e).toLowerCase())?r+=t:s+=t}let a=s+r;return{segments:[{value:s,color:"success",label:"Success"},{value:r,color:"danger",label:"Error"}],okCount:s,errCount:r,total:a,ratePct:a>0?r/a*100:0}},[e]),c=e?.errorRate,d=null!=c?`${(100*c).toFixed(1)}%`:`${o.toFixed(1)}%`;return(0,r.jsx)(i.default,{title:"Success Rate",icon:"check_circle",className:"flex h-full min-w-0 flex-col",children:0===n?(0,r.jsx)("div",{className:"flex flex-1 items-center justify-center py-6",children:(0,r.jsx)(X.default,{icon:"sentiment_neutral",title:"No requests yet",description:"Request outcomes will appear here once traffic flows through.",className:"border-0 p-0"})}):(0,r.jsxs)("div",{className:"flex flex-col items-center gap-5",children:[(0,r.jsx)(V,{segments:t,size:150,thickness:16,centerValue:d,centerLabel:"error rate"}),(0,r.jsxs)("div",{className:"grid w-full grid-cols-2 gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsx)("span",{className:"size-2.5 rounded-full bg-success"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wide text-text-muted",children:"Success"}),(0,r.jsx)("div",{className:"truncate text-sm font-semibold text-text-main",children:E(s)})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsx)("span",{className:"size-2.5 rounded-full bg-danger"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wide text-text-muted",children:"Errors"}),(0,r.jsx)("div",{className:"truncate text-sm font-semibold text-text-main",children:E(l)})]})]})]})]})})}H.propTypes={stats:w().object};var Y=s(25086),ee=s(28408),et=s(32539),es=s(34430);let er=["var(--color-primary)","var(--color-cyan)","var(--color-info)","var(--color-success)","var(--color-warning)","#f472b6","#34d399","#a78bfa","var(--color-danger)"];function ea({active:e,payload:t,label:s,providerMeta:a}){if(!e||!t||!t.length)return null;let l=[...t].sort((e,t)=>(t.value||0)-(e.value||0)),n=l.reduce((e,t)=>e+(t.value||0),0);return(0,r.jsxs)("div",{className:"rounded-brand border border-border bg-panel p-2.5 text-xs shadow-[var(--shadow-elev)]",children:[(0,r.jsx)("div",{className:"mb-1 font-medium text-text-main",children:s}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[l.map(e=>{let t=a?.[e.dataKey];return(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-text-muted",children:[(0,r.jsx)("span",{className:"size-2 rounded-full",style:{backgroundColor:e.color}}),t?.name||e.dataKey]}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:(e.value||0).toLocaleString()})]},e.dataKey)}),(0,r.jsxs)("div",{className:"mt-1 flex items-center justify-between gap-3 border-t border-border-subtle pt-1 font-medium",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Total"}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:n.toLocaleString()})]})]})]})}function el({data:e=[],providers:t=[],height:s=260}){if(!e||0===e.length||0===t.length)return(0,r.jsx)("div",{className:"flex items-center justify-center text-sm text-text-muted",style:{height:s},children:"No provider breakdown for this period"});let a={};return t.forEach((e,t)=>{a[e.id]={name:e.name||e.id,color:er[t%er.length]}}),(0,r.jsx)("div",{style:{height:s,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:e,margin:{top:8,right:8,bottom:0,left:-16},children:[(0,r.jsx)("defs",{children:t.map((e,t)=>{let s=er[t%er.length],a=`stack-grad-${t}`;return(0,r.jsxs)("linearGradient",{id:a,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:s,stopOpacity:.7}),(0,r.jsx)("stop",{offset:"100%",stopColor:s,stopOpacity:.15})]},a)})}),(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:48,tickFormatter:e=>e>=1e3?`${(e/1e3).toFixed(0)}k`:e}),(0,r.jsx)(es.m,{content:(0,r.jsx)(ea,{providerMeta:a})}),t.map((e,t)=>(0,r.jsx)(z.Gk,{type:"monotone",dataKey:e.id,name:e.name||e.id,stackId:"1",stroke:er[t%er.length],strokeWidth:1.5,fill:`url(#stack-grad-${t})`,isAnimationActive:!1},e.id))]})})})}function en(e,{initial:t=null,deps:s=[]}={}){let[r,l]=(0,a.useState)(t),[n,i]=(0,a.useState)(!0),[o,c]=(0,a.useState)(null),d=(0,a.useRef)(0);return(0,a.useEffect)(()=>{let s,r;return s=++d.current,r=!1,fetch(e).then(async e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return e.json()}).then(e=>{r||d.current!==s||(l(e??t),c(null),i(!1))}).catch(e=>{r||d.current!==s||(l(t),c(e),i(!1))}),()=>{r=!0}},[e,...s]),{data:r,loading:n,error:o}}function ei({period:e}){let{data:t,loading:s}=en(`/api/usage/chart?view=stacked&period=${e}`,{initial:null,deps:[e]}),l=(0,a.useMemo)(()=>Array.isArray(t)?t:[],[t]),n=(0,a.useMemo)(()=>(function(e){if(!e||0===e.length)return[];let t={};for(let s of e)for(let[e,r]of Object.entries(s))"label"!==e&&(t[e]=(t[e]||0)+(Number(r)||0));return Object.keys(t).sort((e,s)=>t[s]-t[e]).map(e=>({id:e,name:x.Q2[e]?.name||e}))})(l),[l]),o=l.length>0&&n.length>0;return(0,r.jsx)(i.default,{title:"Token Share by Provider",subtitle:"Stacked token volume per provider over the selected period",icon:"stacked_bar_chart",children:s?(0,r.jsx)(Y.CardSkeleton,{}):o?(0,r.jsx)(el,{data:l,providers:n,height:280}):(0,r.jsx)("div",{className:"flex items-center justify-center py-6",children:(0,r.jsx)(X.default,{icon:"stacked_bar_chart",title:"No provider breakdown",description:"No token volume recorded for this period yet.",className:"border-0 p-0"})})})}function eo({active:e,payload:t,label:s}){if(!e||!t||!t.length)return null;let a=t[0]?.payload||{};return(0,r.jsxs)("div",{className:"rounded-brand border border-border bg-panel p-2.5 text-xs shadow-[var(--shadow-elev)]",children:[(0,r.jsx)("div",{className:"mb-1 font-medium text-text-main",children:s}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"p95"}),(0,r.jsxs)("span",{className:"font-mono text-text-main",children:[(a.p95Ms||0).toLocaleString()," ms"]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"avg"}),(0,r.jsxs)("span",{className:"font-mono text-text-main",children:[(a.avgMs||0).toLocaleString()," ms"]})]}),a.samples>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4 border-t border-border-subtle pt-1 text-text-subtle",children:[(0,r.jsx)("span",{children:"samples"}),(0,r.jsx)("span",{className:"font-mono",children:a.samples})]})]})]})}function ec({data:e=[],height:t=220}){return e&&0!==e.length?(0,r.jsx)("div",{style:{height:t,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:e,margin:{top:8,right:8,bottom:0,left:-8},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"lat-p95",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"var(--color-cyan)",stopOpacity:.4}),(0,r.jsx)("stop",{offset:"100%",stopColor:"var(--color-cyan)",stopOpacity:0})]}),(0,r.jsxs)("linearGradient",{id:"lat-avg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"var(--color-primary)",stopOpacity:.3}),(0,r.jsx)("stop",{offset:"100%",stopColor:"var(--color-primary)",stopOpacity:0})]})]}),(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:44,tickFormatter:e=>e>=1e3?`${(e/1e3).toFixed(1)}s`:`${e}ms`}),(0,r.jsx)(es.m,{content:(0,r.jsx)(eo,{})}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:"p95Ms",name:"p95",stroke:"var(--color-cyan)",strokeWidth:1.5,fill:"url(#lat-p95)",isAnimationActive:!1}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:"avgMs",name:"avg",stroke:"var(--color-primary)",strokeWidth:1.5,fill:"url(#lat-avg)",isAnimationActive:!1})]})})}):(0,r.jsx)("div",{className:"flex items-center justify-center text-sm text-text-muted",style:{height:t},children:"No latency data for this period"})}function ed({period:e,stats:t}){let{data:s,loading:l}=en(`/api/usage/chart?view=latency&period=${e}`,{initial:null,deps:[e]}),n=(0,a.useMemo)(()=>Array.isArray(s)?s:[],[s]),o=(0,a.useMemo)(()=>{if(t?.latency&&(null!=t.latency.avg||null!=t.latency.p95))return{avg:t.latency.avg,p50:t.latency.p50,p95:t.latency.p95,samples:t.latency.sampleCount};let e=n.length?n[n.length-1]:null;return e?{avg:e.avgMs,p50:null,p95:e.p95Ms,samples:e.samples}:null},[t,n]),c=n.length>0;return(0,r.jsx)(i.default,{title:"Latency (avg vs p95)",subtitle:"Response time distribution over the selected period",icon:"timer",children:l?(0,r.jsx)(Y.CardSkeleton,{}):c?(0,r.jsxs)(r.Fragment,{children:[o&&(0,r.jsxs)("div",{className:"mb-4 grid grid-cols-2 gap-2 sm:grid-cols-4",children:[(0,r.jsx)(em,{label:"Avg",value:null!=o.avg?_(o.avg):"—"}),(0,r.jsx)(em,{label:"p50",value:null!=o.p50?_(o.p50):"—"}),(0,r.jsx)(em,{label:"p95",value:null!=o.p95?_(o.p95):"—",accent:!0}),(0,r.jsx)(em,{label:"Samples",value:null!=o.samples?E(o.samples):"—"})]}),(0,r.jsx)(ec,{data:n,height:240})]}):(0,r.jsx)("div",{className:"flex items-center justify-center py-6",children:(0,r.jsx)(X.default,{icon:"timer",title:"No latency data",description:"Latency samples will appear here once requests complete.",className:"border-0 p-0"})})})}function em({label:e,value:t,accent:s=!1}){return(0,r.jsxs)("div",{className:"rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wide text-text-muted",children:e}),(0,r.jsx)("div",{className:`truncate text-sm font-semibold ${s?"text-cyan":"text-text-main"}`,children:t})]})}el.propTypes={data:w().arrayOf(w().object),providers:w().arrayOf(w().shape({id:w().string,name:w().string})),height:w().number},ei.propTypes={period:w().string},ec.propTypes={data:w().arrayOf(w().object),height:w().number},em.propTypes={label:w().string.isRequired,value:w().string.isRequired,accent:w().bool},ed.propTypes={period:w().string,stats:w().object};var ex=s(28067);let eu=e=>new Intl.NumberFormat().format(e||0),ep=e=>`$${(e||0).toFixed(2)}`;function eh(e){if(!e)return"Never";let t=Math.floor((Date.now()-new Date(e))/6e4);return t<1?"Just now":t<60?`${t}m ago`:t<1440?`${Math.floor(t/60)}h ago`:new Date(e).toLocaleDateString()}function ef({field:e,currentSort:t,currentOrder:s}){return t!==e?(0,r.jsx)("span",{className:"ml-1 opacity-20",children:"↕"}):(0,r.jsx)("span",{className:"ml-1",children:"asc"===s?"↑":"↓"})}function eg({item:e,viewMode:t,isSummary:s=!1}){return"tokens"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.promptTokens?"—":eu(e.promptTokens)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:e.cachedTokens?eu(e.cachedTokens):"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.completionTokens?"—":eu(e.completionTokens)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right font-medium",children:eu(e.totalTokens)})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.inputCost?"—":ep(e.inputCost)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:e.cachedCost?ep(e.cachedCost):"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.outputCost?"—":ep(e.outputCost)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right font-medium text-warning",children:ep(e.totalCost||e.cost)})]})}function ej({title:e,columns:t,groupedData:s,tableType:l,sortBy:n,sortOrder:o,onToggleSort:c,viewMode:d,storageKey:m,renderDetailCells:x,renderSummaryCells:u,emptyMessage:p}){let[h,f]=(0,a.useState)(new Set);(0,a.useEffect)(()=>{try{let e=localStorage.getItem(m);e&&f(new Set(JSON.parse(e)))}catch(e){console.error(`Failed to load ${m}:`,e)}},[m]),(0,a.useEffect)(()=>{try{localStorage.setItem(m,JSON.stringify([...h]))}catch(e){console.error(`Failed to save ${m}:`,e)}},[h,m]);let g=(0,a.useCallback)(e=>{f(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},[]),j=(0,a.useMemo)(()=>"tokens"===d?[{field:"promptTokens",label:"Input Tokens"},{field:"cachedTokens",label:"Cached"},{field:"completionTokens",label:"Output Tokens"},{field:"totalTokens",label:"Total Tokens"}]:[{field:"promptTokens",label:"Input Cost"},{field:"cachedCost",label:"Cached Cost"},{field:"completionTokens",label:"Output Cost"},{field:"cost",label:"Total Cost"}],[d]),b=t.length+j.length;return(0,r.jsxs)(i.default,{className:"overflow-hidden",children:[(0,r.jsx)("div",{className:"p-4 border-b border-border bg-bg-subtle/50",children:(0,r.jsx)("h3",{className:"font-semibold",children:e})}),(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full text-sm text-left",children:[(0,r.jsx)("thead",{className:"bg-bg-subtle/30 text-text-muted uppercase text-xs",children:(0,r.jsxs)("tr",{children:[t.map(e=>(0,r.jsxs)("th",{className:`px-6 py-3 cursor-pointer hover:bg-bg-subtle/50 ${"right"===e.align?"text-right":""}`,onClick:()=>c(l,e.field),children:[e.label," ",(0,r.jsx)(ef,{field:e.field,currentSort:n,currentOrder:o})]},e.field)),j.map(e=>(0,r.jsxs)("th",{className:"px-6 py-3 text-right cursor-pointer hover:bg-bg-subtle/50",onClick:()=>c(l,e.field),children:[e.label," ",(0,r.jsx)(ef,{field:e.field,currentSort:n,currentOrder:o})]},e.field))]})}),(0,r.jsxs)("tbody",{className:"divide-y divide-border",children:[s.map(e=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("tr",{className:"group-summary cursor-pointer hover:bg-bg-subtle/50 transition-colors",onClick:()=>g(e.groupKey),children:[(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted transition-transform ${h.has(e.groupKey)?"rotate-90":""}`,children:"chevron_right"}),(0,r.jsx)("span",{className:`font-medium transition-colors ${e.summary.pending>0?"text-primary":""}`,children:e.groupKey})]})}),u(e),(0,r.jsx)(eg,{item:e.summary,viewMode:d,isSummary:!0})]}),h.has(e.groupKey)&&e.items.map(e=>(0,r.jsxs)("tr",{className:"group-detail hover:bg-bg-subtle/20 transition-colors",children:[x(e),(0,r.jsx)(eg,{item:e,viewMode:d})]},`detail-${e.key}`))]},e.groupKey)),0===s.length&&(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:b,className:"px-6 py-8 text-center text-text-muted",children:p})})]})]})})]})}ef.propTypes={field:w().string.isRequired,currentSort:w().string.isRequired,currentOrder:w().string.isRequired},eg.propTypes={item:w().object.isRequired,viewMode:w().string.isRequired,isSummary:w().bool},ej.propTypes={title:w().string.isRequired,columns:w().arrayOf(w().shape({field:w().string.isRequired,label:w().string.isRequired,align:w().string})).isRequired,groupedData:w().array.isRequired,tableType:w().string.isRequired,sortBy:w().string.isRequired,sortOrder:w().string.isRequired,onToggleSort:w().func.isRequired,viewMode:w().string.isRequired,storageKey:w().string.isRequired,renderDetailCells:w().func.isRequired,renderSummaryCells:w().func.isRequired,emptyMessage:w().string.isRequired};let eb=[{value:"byModel",label:"Model",groupKey:"rawModel",storageKey:"ov-models"},{value:"byAccount",label:"Account",groupKey:"accountName",storageKey:"ov-accounts"},{value:"byApiKey",label:"API Key",groupKey:"keyName",storageKey:"ov-apikeys"},{value:"byEndpoint",label:"Endpoint",groupKey:"endpoint",storageKey:"ov-endpoints"}],ev=[{value:"tokens",label:"Tokens"},{value:"costs",label:"Cost"}],ey={byModel:[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],byAccount:[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"accountName",label:"Account"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],byApiKey:[{field:"keyName",label:"API Key Name"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],byEndpoint:[{field:"endpoint",label:"Endpoint"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}]},eN={byModel:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})},byAccount:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.accountName||(e.connectionId?`Account ${String(e.connectionId).slice(0,8)}…`:"Unknown")}),(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})},byApiKey:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.keyName||"Unknown Key"}),(0,r.jsx)("td",{className:"px-6 py-3",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})},byEndpoint:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-mono text-sm font-medium",children:e.endpoint}),(0,r.jsx)("td",{className:"px-6 py-3",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})}},ew={byModel:"No model usage recorded yet.",byAccount:"No account usage recorded yet.",byApiKey:"No API key usage recorded yet.",byEndpoint:"No endpoint usage recorded yet."};function ek({stats:e}){let[t,s]=(0,a.useState)("byModel"),[l,n]=(0,a.useState)("tokens"),[i,o]=(0,a.useState)("rawModel"),[c,d]=(0,a.useState)("asc"),m=eb.find(e=>e.value===t),x=(0,a.useMemo)(()=>{var s;return e&&m?function(e,t){if(!Array.isArray(e))return[];let s={};for(let r of e){let e=r[t]||`Unknown ${t}`;s[e]||(s[e]={groupKey:e,summary:{requests:0,promptTokens:0,completionTokens:0,cachedTokens:0,totalTokens:0,cost:0,inputCost:0,cachedCost:0,outputCost:0,lastUsed:null},items:[]});let a=s[e].summary;a.requests+=r.requests||0,a.promptTokens+=r.promptTokens||0,a.completionTokens+=r.completionTokens||0,a.cachedTokens+=r.cachedTokens||0,a.totalTokens+=r.totalTokens||0,a.cost+=r.cost||0,a.inputCost+=r.inputCost||0,a.cachedCost+=r.cachedCost||0,a.outputCost+=r.outputCost||0,r.lastUsed&&(!a.lastUsed||new Date(r.lastUsed)>new Date(a.lastUsed))&&(a.lastUsed=r.lastUsed),s[e].items.push(r)}return Object.values(s)}((s=e[t],Object.entries(s||{}).map(([e,t])=>{let s=(t.promptTokens||0)+(t.completionTokens||0),r=t.cost||0,a=t.cachedTokens||0,l=Math.max(0,(t.promptTokens||0)-a),n=s>0?(t.completionTokens||0)*(r/s):0;return{...t,key:e,totalTokens:s,totalCost:r,inputCost:s>0?r/s*l:0,cachedCost:s>0?r/s*a:0,outputCost:n}}).sort((e,t)=>{let s=e[i],r=t[i];return("string"==typeof s&&(s=s.toLowerCase()),"string"==typeof r&&(r=r.toLowerCase()),s<r)?"asc"===c?-1:1:s>r?"asc"===c?1:-1:0})),m.groupKey):[]},[e,t,m,i,c]),u=(0,a.useCallback)((e,t)=>{o(e=>e===t?(d(e=>"asc"===e?"desc":"asc"),e):(d("asc"),t))},[]),p=(0,a.useCallback)(e=>{s(e);let t=eb.find(t=>t.value===e);o(t?.groupKey||"rawModel"),d("asc")},[]),h=eN[t],f=eb.find(e=>e.value===t);return(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsx)(ex.default,{options:eb.map(e=>({value:e.value,label:e.label})),value:t,onChange:p,size:"sm",className:"overflow-x-auto"}),(0,r.jsx)(ex.default,{options:ev,value:l,onChange:n,size:"sm"})]}),(0,r.jsx)("div",{className:"min-w-0",children:(0,r.jsx)(ej,{title:`Usage by ${f?.label||"Dimension"}`,columns:ey[t],groupedData:x,tableType:t,sortBy:i,sortOrder:c,onToggleSort:u,viewMode:l,storageKey:m?.storageKey||"ov-default",renderDetailCells:h.detail,renderSummaryCells:h.summary,emptyMessage:ew[t]})})]})}function eS({period:e="7d"}){let[t,s]=(0,a.useState)(null),[l,i]=(0,a.useState)(!0);if((0,a.useEffect)(()=>{let t=!1;return(async()=>{try{let r=await fetch(`/api/usage/retry-stats?period=${e}`,{cache:"no-store"});if(r.ok){let e=await r.json();t||s(e)}}catch{}t||i(!1)})(),()=>{t=!0}},[e]),l)return(0,r.jsx)(n.Zp,{children:(0,r.jsx)("div",{className:"h-24 animate-pulse rounded bg-sidebar"})});if(!t||0===t.totalRequests)return(0,r.jsx)(n.Zp,{children:(0,r.jsxs)("div",{className:"flex items-center gap-3 py-4",children:[(0,r.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:"replay"}),(0,r.jsx)("span",{className:"text-sm text-text-muted",children:"No retry data for this period."})]})});let o=Math.max(...t.byProvider.map(e=>e.retries),1);return(0,r.jsxs)(n.Zp,{children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-sm font-semibold text-text-main",children:"Retry Activity"}),(0,r.jsx)("span",{className:"text-xs text-text-muted",children:e})]}),(0,r.jsxs)("div",{className:"mb-4 grid grid-cols-3 gap-3",children:[(0,r.jsxs)("div",{className:"rounded-lg bg-surface-2 px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Retried Requests"}),(0,r.jsx)("p",{className:"font-mono text-lg font-bold text-text-main",children:t.retriedRequests})]}),(0,r.jsxs)("div",{className:"rounded-lg bg-surface-2 px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Total Retries"}),(0,r.jsx)("p",{className:"font-mono text-lg font-bold text-text-main",children:t.totalRetries})]}),(0,r.jsxs)("div",{className:"rounded-lg bg-surface-2 px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Retry Rate"}),(0,r.jsxs)("p",{className:`font-mono text-lg font-bold ${t.retryRate>10?"text-warning":"text-success"}`,children:[t.retryRate,"%"]})]})]}),t.byProvider.length>0&&(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Top Providers by Retries"}),t.byProvider.slice(0,5).map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{className:"w-28 truncate text-xs text-text-main",children:e.provider}),(0,r.jsx)("div",{className:"flex-1 overflow-hidden rounded-full bg-surface-2",children:(0,r.jsx)("div",{className:"h-2 rounded-full bg-warning/60 transition-all",style:{width:`${e.retries/o*100}%`}})}),(0,r.jsx)("span",{className:"w-8 text-right font-mono text-xs text-text-muted",children:e.retries})]},e.provider))]})]})}ek.propTypes={stats:w().object,period:w().string};var eC=s(48035),eT=s(46357);function eR({active:e,payload:t,label:s}){if(!e||!t||!t.length)return null;let a=t[0]?.payload||{},l=(a.ok||0)+(a.error||0),n=l>0?(a.error/l*100).toFixed(1):"0.0";return(0,r.jsxs)("div",{className:"rounded-brand border border-border bg-panel p-2.5 text-xs shadow-[var(--shadow-elev)]",children:[(0,r.jsx)("div",{className:"mb-1 font-medium text-text-main",children:s}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-text-muted",children:[(0,r.jsx)("span",{className:"size-2 rounded-full bg-success"})," OK"]}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:(a.ok||0).toLocaleString()})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-text-muted",children:[(0,r.jsx)("span",{className:"size-2 rounded-full bg-danger"})," Error"]}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:(a.error||0).toLocaleString()})]}),(0,r.jsxs)("div",{className:"mt-1 flex items-center justify-between gap-4 border-t border-border-subtle pt-1",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"error rate"}),(0,r.jsxs)("span",{className:"font-mono font-medium text-danger",children:[n,"%"]})]})]})]})}function eq({data:e=[],height:t=180}){return e&&0!==e.length?(0,r.jsx)("div",{style:{height:t,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)(eC.E,{data:e,margin:{top:8,right:8,bottom:0,left:-16},children:[(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:32,allowDecimals:!1}),(0,r.jsx)(es.m,{content:(0,r.jsx)(eR,{}),cursor:{fill:"var(--color-surface-2)",opacity:.5}}),(0,r.jsx)(eT.yP,{dataKey:"ok",stackId:"a",name:"OK",fill:"var(--color-success)",fillOpacity:.6,radius:[0,0,0,0],isAnimationActive:!1}),(0,r.jsx)(eT.yP,{dataKey:"error",stackId:"a",name:"Error",fill:"var(--color-danger)",fillOpacity:.85,radius:[2,2,0,0],isAnimationActive:!1})]})})}):(0,r.jsx)("div",{className:"flex items-center justify-center text-sm text-text-muted",style:{height:t},children:"No request data for this period"})}function eM(e){let t=x.Q2[e];return!t?.serviceKinds||t.serviceKinds.includes("llm")}eq.propTypes={data:w().arrayOf(w().object),height:w().number};let eO=[{value:"tokens",label:"Tokens"},{value:"cost",label:"Cost"},{value:"latency",label:"Latency"},{value:"errors",label:"Errors"}];function e$({data:e,dataKey:t,color:s}){let a=`main-${t}`,l=`var(--color-${s})`;return e&&e.some(e=>(Number(e?.[t])||0)>0)?(0,r.jsx)("div",{style:{height:260,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:e,margin:{top:8,right:8,bottom:0,left:-8},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:a,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:l,stopOpacity:.3}),(0,r.jsx)("stop",{offset:"100%",stopColor:l,stopOpacity:0})]})}),(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:48,tickFormatter:e=>"cost"===t?K(e):e>=1e3?`${(e/1e3).toFixed(0)}k`:String(e)}),(0,r.jsx)(es.m,{contentStyle:{backgroundColor:"var(--color-panel)",border:"1px solid var(--color-border-subtle)",borderRadius:"10px",fontSize:"12px"},formatter:e=>"cost"===t?[K(e),"Cost"]:[E(e),"Tokens"]}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:t,stroke:l,strokeWidth:2,fill:`url(#${a})`,dot:!1,isAnimationActive:!1})]})})}):(0,r.jsx)("div",{className:"flex h-[260px] items-center justify-center text-sm text-text-muted",children:"No data for this period"})}function eL({period:e}){let[t,s]=(0,a.useState)(null),[l,i]=(0,a.useState)(!0),[o,c]=(0,a.useState)([]),[d,m]=(0,a.useState)("tokens"),{data:u,loading:p}=en(`/api/usage/chart?view=${d}&period=${e}`,{initial:null,deps:[d,e]}),h=(0,a.useRef)(!1),f=(0,a.useRef)(0);(0,a.useEffect)(()=>{let e=!1;return Promise.all([fetch("/api/providers").then(e=>e.ok?e.json():null).catch(()=>null),fetch("/api/provider-nodes").then(e=>e.ok?e.json():null).catch(()=>null)]).then(([t,s])=>{if(e)return;let r={};for(let e of s?.nodes||[])r[e.id]=e.name;let a=new Set;c([...(t?.connections||[]).filter(e=>!1!==e.isActive&&eM(e.provider)&&!a.has(e.provider)&&a.add(e.provider)).map(e=>({...e,nodeName:r[e.provider]||null})),...Object.values(x.IS).filter(e=>e.noAuth&&!a.has(e.id)&&eM(e.id)).map(e=>({provider:e.id,name:e.name}))])}).catch(()=>{}),()=>{e=!0}},[]),(0,a.useEffect)(()=>{let t=++f.current,r=!1;return fetch(`/api/usage/stats?period=${e}`).then(e=>e.ok?e.json():null).then(e=>{r||f.current!==t||(e&&(h.current=!0,s(t=>({...t,...e}))),i(!1))}).catch(()=>{r||f.current!==t||i(!1)}),()=>{r=!0}},[e]),(0,a.useEffect)(()=>{let t=new EventSource(`/api/usage/stream?period=${e}`);return t.onmessage=e=>{try{let t=JSON.parse(e.data);s(e=>e?{...e,activeRequests:t.activeRequests??e.activeRequests,recentRequests:t.recentRequests??e.recentRequests,errorProvider:t.errorProvider??e.errorProvider,pending:t.pending??e.pending}:e),h.current&&i(!1)}catch{}},t.onerror=()=>{h.current&&i(!1)},()=>t.close()},[e]);let g=(0,a.useCallback)(()=>{if(p||!u)return(0,r.jsx)(n.Qv,{});if(!u.length)return(0,r.jsx)("div",{className:"flex h-[260px] items-center justify-center",children:(0,r.jsx)(n.pp,{icon:"show_chart",title:"No chart data",description:"No requests recorded for this view in the selected period.",className:"border-0 p-0"})});switch(d){case"tokens":return(0,r.jsx)(e$,{data:u,dataKey:"tokens",color:"primary"});case"cost":return(0,r.jsx)(e$,{data:u,dataKey:"cost",color:"warning"});case"latency":return(0,r.jsx)(ec,{data:u,height:260});case"errors":return(0,r.jsx)(eq,{data:u,height:260});default:return null}},[u,p,d]),j=(0,a.useMemo)(()=>t?.recentRequests?.[0]?.provider||"",[t]);return l&&!t?(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-4",children:[(0,r.jsx)("div",{className:"grid min-w-0 grid-cols-2 gap-3 lg:grid-cols-5 lg:gap-4",children:Array.from({length:5}).map((e,t)=>(0,r.jsx)(n.Qv,{},t))}),(0,r.jsx)(n.Qv,{}),(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 lg:grid-cols-[minmax(0,2fr)_minmax(280px,1fr)]",children:[(0,r.jsx)(n.Qv,{}),(0,r.jsx)(n.Qv,{})]})]}):t?(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-4 lg:gap-6",children:[(0,r.jsx)(W,{stats:t}),(0,r.jsx)(J,{stats:t}),(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 lg:grid-cols-[minmax(0,2fr)_minmax(300px,1fr)] lg:gap-6",children:[(0,r.jsx)(n.Zp,{title:"Usage Trend",icon:"monitoring",action:(0,r.jsx)(n.Iz,{options:eO,value:d,onChange:m,size:"sm"}),children:g()}),(0,r.jsx)(H,{stats:t})]}),(0,r.jsx)(ei,{period:e}),(0,r.jsx)(ed,{period:e,stats:t}),(0,r.jsx)(eS,{period:e}),(0,r.jsx)(ek,{stats:t,period:e}),(0,r.jsx)(n.Zp,{title:"Provider Topology",subtitle:"Live routing state across connected providers",icon:"hub",padding:"none",children:(0,r.jsx)("div",{className:"px-5 pb-5",children:(0,r.jsx)(M,{providers:o,activeRequests:t.activeRequests||[],lastProvider:j,errorProvider:t.errorProvider||""})})})]}):(0,r.jsx)(n.pp,{icon:"cloud_off",title:"Couldn't load usage",description:"We failed to fetch usage statistics. Please try again."})}e$.propTypes={data:w().arrayOf(w().object),dataKey:w().string.isRequired,color:w().string.isRequired},eL.propTypes={period:w().string};let ez=[{value:"all",label:"All",icon:"subject"},{value:"ok",label:"OK",icon:"check_circle"},{value:"errors",label:"Errors",icon:"error"}],eD=new Intl.NumberFormat,eP=e=>eD.format(e||0),eE=e=>`${e.timestamp??""}|${e.model??""}|${e.provider??""}`;function eK(){let[e,t]=(0,a.useState)([]),[s,l]=(0,a.useState)(!1),[i,o]=(0,a.useState)("all"),[d,m]=(0,a.useState)(""),[x,u]=(0,a.useState)(()=>Date.now());(0,a.useEffect)(()=>{let e=new EventSource("/api/usage/stream");return e.onopen=()=>l(!0),e.onerror=()=>l(!1),e.onmessage=e=>{try{let s=JSON.parse(e.data),r=Array.isArray(s.recentRequests)?s.recentRequests:[];if(0===r.length)return;t(e=>{let t=new Set(e.map(eE)),s=r.filter(e=>!t.has(eE(e)));return 0===s.length?e:[...s,...e].sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime()).slice(0,100)})}catch{}},()=>e.close()},[]),(0,a.useEffect)(()=>{let e=setInterval(()=>u(Date.now()),1e3);return()=>clearInterval(e)},[]);let p=(0,a.useMemo)(()=>{let t=d.trim().toLowerCase();return e.filter(e=>{let s,r;return("ok"!==i||!!(!(s=e.status)||"ok"===s))&&("errors"!==i||!!(r=e.status)&&"ok"!==r)&&(!t||!!`${e.model??""} ${e.provider??""}`.toLowerCase().includes(t))&&!0})},[e,i,d]);return(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)(n.Zp,{padding:"sm",children:(0,r.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,r.jsx)("span",{className:(0,c.cn)("size-2 rounded-full",s?"bg-success animate-pulse":"bg-warning")}),(0,r.jsx)("span",{className:(0,c.cn)("font-semibold",s?"text-success":"text-warning"),children:s?"Live":"Reconnecting"}),(0,r.jsxs)("span",{className:"text-xs text-text-muted",children:["\xb7 ",e.length,"/",100," buffered"]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,r.jsx)(n.Iz,{options:ez,value:i,onChange:o,size:"sm"}),(0,r.jsx)(n.pd,{icon:"search",placeholder:"Filter by model or provider",value:d,onChange:e=>m(e.target.value),className:"sm:w-64"})]})]})}),(0,r.jsx)(n.Zp,{padding:"none",className:"overflow-hidden",children:0===p.length?(0,r.jsx)("div",{className:"p-4",children:(0,r.jsx)(n.pp,{icon:0===e.length?"history":"search_off",title:0===e.length?"No requests yet":"No matching requests",description:0===e.length?"Live requests will appear here.":"Try adjusting your filters or search."})}):(0,r.jsxs)("div",{className:"max-h-[600px] overflow-y-auto",children:[(0,r.jsxs)("div",{className:"sticky top-0 z-10 grid grid-cols-[4.5rem_1fr_auto] items-center gap-3 border-b border-border-subtle bg-panel/95 px-4 py-2 text-[11px] font-semibold uppercase tracking-wide text-text-subtle backdrop-blur sm:grid-cols-[4.5rem_1fr_6rem_6rem_5rem_1.25rem]",children:[(0,r.jsx)("span",{children:"When"}),(0,r.jsx)("span",{children:"Model"}),(0,r.jsx)("span",{className:"hidden text-right sm:block",children:"In"}),(0,r.jsx)("span",{className:"hidden text-right sm:block",children:"Out"}),(0,r.jsx)("span",{className:"hidden sm:block",children:"Cache"}),(0,r.jsx)("span",{className:"text-right","aria-hidden":!0})]}),(0,r.jsx)("ul",{role:"list",className:"divide-y divide-border-subtle",children:p.map(e=>{let t,s=!(t=e.status)||"ok"===t,a=(e.cachedTokens??0)>0;return(0,r.jsxs)("li",{className:"fade-in grid grid-cols-[4.5rem_1fr_auto] items-center gap-3 px-4 py-2.5 transition-colors hover:bg-surface-2/70 sm:grid-cols-[4.5rem_1fr_6rem_6rem_5rem_1.25rem]",children:[(0,r.jsx)("span",{className:"truncate font-mono text-xs text-text-muted tabular-nums",title:e.timestamp?new Date(e.timestamp).toLocaleString():void 0,children:function(e,t){if(!e)return"—";let s=new Date(e).getTime();if(Number.isNaN(s))return"—";let r=t-s;return r<1e4?"just now":r<6e4?`${Math.floor(r/1e3)}s ago`:r<36e5?`${Math.floor(r/6e4)}m ago`:r<864e5?`${Math.floor(r/36e5)}h ago`:new Date(s).toLocaleTimeString()}(e.timestamp,x)}),(0,r.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,r.jsx)("span",{className:"truncate text-sm font-medium text-text-main",title:e.model,children:e.model||"—"}),e.provider&&(0,r.jsx)(n.Ex,{variant:"default",size:"sm",className:"hidden shrink-0 sm:inline-flex",children:e.provider})]}),(0,r.jsxs)("span",{className:"hidden text-right font-mono text-xs text-primary tabular-nums sm:block",children:["↑ ",eP(e.promptTokens)]}),(0,r.jsxs)("span",{className:"hidden text-right font-mono text-xs text-success tabular-nums sm:block",children:["↓ ",eP(e.completionTokens)]}),(0,r.jsx)("span",{className:"hidden sm:block",children:a?(0,r.jsx)(n.Ex,{variant:"cyan",size:"sm",children:"cached"}):(0,r.jsx)("span",{className:"text-text-subtle",children:"—"})}),(0,r.jsx)("span",{className:"flex justify-end",children:(0,r.jsx)("span",{className:(0,c.cn)("size-2 rounded-full",s?"bg-success":"bg-danger"),role:"img","aria-label":s?"OK":"Error",title:s?"OK":e.status||"Error"})})]},eE(e))})})]})})]})}let e_=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"},{value:"all",label:"All"}],eI=[{value:"overview",label:"Overview"},{value:"logs",label:"Logs"},{value:"details",label:"Details"}];function eA(){return(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(n.Qv,{}),children:(0,r.jsx)(eF,{})})}function eF(){let e=(0,l.useSearchParams)(),t=(0,l.useRouter)(),[s,i]=(0,a.useState)("today"),o=e.get("tab"),c=o&&["overview","logs","details"].includes(o)?o:"overview";return(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,r.jsx)(n.zY,{title:"Usage",description:"Requests, analytics, latency, and live activity",icon:"bar_chart"}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsx)(n.Iz,{options:eI,value:c,onChange:s=>{if(s===c)return;let r=new URLSearchParams(e);r.set("tab",s),t.push(`/dashboard/usage?${r.toString()}`,{scroll:!1})},className:"w-full sm:w-auto"}),"overview"===c&&(0,r.jsx)(n.Iz,{options:e_,value:s,onChange:i,size:"sm",className:"w-full sm:w-auto"})]}),"overview"===c&&(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(n.Qv,{}),children:(0,r.jsx)(eL,{period:s})}),"logs"===c&&(0,r.jsx)(eK,{}),"details"===c&&(0,r.jsx)(y,{})]})}},86559:(e,t,s)=>{Promise.resolve().then(s.bind(s,17385))}},e=>{e.O(0,[2574,3862,27,1636,8105,1321,705,5497,8441,3794,7358],()=>e(e.s=86559)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2825],{17385:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>eA});var r=s(95155),a=s(12115),l=s(73321),n=s(35497),i=s(84588),o=s(92542),c=s(31474);function d({isOpen:e,onClose:t,title:s,children:l,width:n="md",className:i}){let o={sm:"w-[400px]",md:"w-[500px]",lg:"w-[600px]",xl:"w-[800px]",full:"w-full"};return((0,a.useEffect)(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),(0,a.useEffect)(()=>{let s=s=>{"Escape"===s.key&&e&&t()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e,t]),e)?(0,r.jsxs)("div",{className:"fixed inset-0 z-50",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-[2px] fade-in cursor-pointer",onClick:t,"aria-hidden":"true"}),(0,r.jsxs)("div",{className:(0,c.cn)("absolute right-0 top-0 h-full bg-surface flex flex-col","shadow-[var(--shadow-elev)]","slide-in-right","border-l border-border-subtle",o[n]||o.md,i),children:[(0,r.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-border-subtle flex-shrink-0",children:[(0,r.jsx)("div",{className:"flex items-center gap-3",children:s&&(0,r.jsx)("h2",{className:"text-lg font-semibold text-text-main",children:s})}),(0,r.jsx)("button",{type:"button",onClick:t,className:"p-1.5 rounded-[10px] text-text-muted hover:bg-surface-2 hover:text-text-main transition-colors",children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto p-6 custom-scrollbar",children:l})]})]}):null}function m({currentPage:e,pageSize:t,totalItems:s,onPageChange:a,onPageSizeChange:l,className:n}){let i=Math.ceil(s/t),d=s>0?(e-1)*t+1:0,x=Math.min(e*t,s),u=(()=>{let t=[],s=Math.max(1,e-2),r=Math.min(i,s+5-1);r-s+1<5&&(s=Math.max(1,r-5+1));for(let e=s;e<=r;e++)t.push(e);return t})();return(0,r.jsxs)("div",{className:(0,c.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-4 px-2",n),children:[s>0&&(0,r.jsxs)("div",{className:"text-sm text-text-muted",children:["Showing ",(0,r.jsx)("span",{className:"font-medium text-text-main",children:d})," to"," ",(0,r.jsx)("span",{className:"font-medium text-text-main",children:x})," of"," ",(0,r.jsx)("span",{className:"font-medium text-text-main",children:s})," results"]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:gap-4",children:[l&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-sm text-text-muted",children:"Rows:"}),(0,r.jsx)("select",{value:t,onChange:e=>l(Number(e.target.value)),className:(0,c.cn)("h-9 rounded-lg border border-black/10 dark:border-white/10 bg-surface","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","cursor-pointer"),style:{colorScheme:"auto"},children:[10,20,50].map(e=>(0,r.jsx)("option",{value:e,children:e},e))})]}),i>1&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>a(e-1),disabled:1===e,className:"w-9 px-0",children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_left"})}),u[0]>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{variant:"ghost",size:"sm",onClick:()=>a(1),className:"w-9 px-0 hidden sm:inline-flex",children:"1"}),u[0]>2&&(0,r.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."})]}),u.map(t=>(0,r.jsx)(o.default,{variant:e===t?"primary":"ghost",size:"sm",onClick:()=>a(t),className:(0,c.cn)("w-9 px-0",e===t?"inline-flex":"hidden sm:inline-flex"),children:t},t)),u[u.length-1]<i&&(0,r.jsxs)(r.Fragment,{children:[u[u.length-1]<i-1&&(0,r.jsx)("span",{className:"text-text-muted px-1 hidden sm:inline",children:"..."}),(0,r.jsx)(o.default,{variant:"ghost",size:"sm",onClick:()=>a(i),className:"w-9 px-0 hidden sm:inline-flex",children:i})]}),(0,r.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>a(e+1),disabled:e===i,className:"w-9 px-0",children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"chevron_right"})})]})]})]})}var x=s(88105);let u=null,p=null;async function h(){if(u&&p)return{providerNameCache:u,providerNodesCache:p};let e=await fetch("/api/provider-nodes"),t=(await e.json()).nodes||[];for(let e of(p={},t))p[e.id]=e.name;return{providerNameCache:u={...x.Q2,...p},providerNodesCache:p}}function f(e,t){if(!e||!t)return e;let s=t[e];if("string"==typeof s)return s;if(s?.name)return s.name;let r=(0,x.zt)(e)||x.Q2[e];return r?.name||e}function g({title:e,children:t,defaultOpen:s=!1,icon:l=null}){let[n,i]=(0,a.useState)(s);return(0,r.jsxs)("div",{className:"border border-border-subtle rounded-lg overflow-hidden",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>i(!n),className:"w-full flex items-center justify-between p-3 bg-surface-2 hover:bg-black/[0.04] dark:hover:bg-white/[0.04] transition-colors",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[l&&(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px] text-text-muted",children:l}),(0,r.jsx)("span",{className:"font-semibold text-sm text-text-main",children:e})]}),(0,r.jsx)("span",{className:(0,c.cn)("material-symbols-outlined text-[20px] text-text-muted transition-transform duration-200",n?"rotate-90":""),children:"chevron_right"})]}),n&&(0,r.jsx)("div",{className:"p-4 border-t border-border-subtle",children:t})]})}function j(e){return e?.cached_tokens||e?.cache_read_input_tokens||0}function b(e){return e?.cache_creation_input_tokens||0}function v(e){let t=e?.prompt_tokens||e?.input_tokens||0,s=j(e);return t<s?s:t}function y(){let[e,t]=(0,a.useState)([]),[s,l]=(0,a.useState)({page:1,pageSize:20,totalItems:0,totalPages:0}),[n,x]=(0,a.useState)(!1),[u,p]=(0,a.useState)(null),[y,N]=(0,a.useState)(!1),[w,k]=(0,a.useState)([]),[S,C]=(0,a.useState)(null),[T,R]=(0,a.useState)({provider:"",startDate:"",endDate:""}),q=(0,a.useCallback)(async()=>{try{let e=await fetch("/api/usage/providers"),t=await e.json();k(t.providers||[]);let s=await h();C(s.providerNameCache)}catch(e){console.error("Failed to fetch providers:",e)}},[]),M=(0,a.useCallback)(async()=>{x(!0);try{let e=new URLSearchParams({page:s.page.toString(),pageSize:s.pageSize.toString()});T.provider&&e.append("provider",T.provider),T.startDate&&e.append("startDate",T.startDate),T.endDate&&e.append("endDate",T.endDate);let r=await fetch(`/api/usage/request-details?${e}`),a=await r.json();t(a.details||[]),l(e=>({...e,...a.pagination}))}catch(e){console.error("Failed to fetch request details:",e)}finally{x(!1)}},[s.page,s.pageSize,T]);return(0,a.useEffect)(()=>{q()},[q]),(0,a.useEffect)(()=>{M()},[M]),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,r.jsx)(i.default,{padding:"md",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsx)("label",{htmlFor:"provider-filter",className:"text-sm font-medium text-text-main",children:"Provider"}),(0,r.jsxs)("select",{id:"provider-filter",value:T.provider,onChange:e=>R({...T,provider:e.target.value}),className:(0,c.cn)("h-9 px-3 rounded-lg border border-border bg-surface-2","text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20","w-full min-w-0 cursor-pointer"),style:{colorScheme:"auto"},children:[(0,r.jsx)("option",{value:"",children:"All Providers"}),w.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsx)("label",{htmlFor:"start-date-filter",className:"text-sm font-medium text-text-main",children:"Start Date"}),(0,r.jsx)("input",{id:"start-date-filter",type:"datetime-local",value:T.startDate,onChange:e=>R({...T,startDate:e.target.value}),className:(0,c.cn)("h-9 px-3 rounded-lg border border-border bg-surface-2","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsx)("label",{htmlFor:"end-date-filter",className:"text-sm font-medium text-text-main",children:"End Date"}),(0,r.jsx)("input",{id:"end-date-filter",type:"datetime-local",value:T.endDate,onChange:e=>R({...T,endDate:e.target.value}),className:(0,c.cn)("h-9 px-3 rounded-lg border border-border bg-surface-2","w-full min-w-0 text-sm text-text-main focus:outline-none focus:ring-2 focus:ring-primary/20")})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-2 sm:col-span-2 lg:col-span-1",children:[(0,r.jsx)("span",{className:"hidden text-sm font-medium text-text-main opacity-0 lg:block","aria-hidden":"true",children:"Clear"}),(0,r.jsx)(o.default,{variant:"ghost",onClick:()=>{R({provider:"",startDate:"",endDate:""})},disabled:!T.provider&&!T.startDate&&!T.endDate,className:"w-full",children:"Clear Filters"})]})]})}),(0,r.jsxs)(i.default,{padding:"none",children:[(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full min-w-[880px]",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"border-b border-border-subtle",children:[(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Timestamp"}),(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Model"}),(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Provider"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Input Tokens"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cached"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Cache Creation"}),(0,r.jsx)("th",{className:"text-right p-4 text-sm font-semibold text-text-main",children:"Output Tokens"}),(0,r.jsx)("th",{className:"text-left p-4 text-sm font-semibold text-text-main",children:"Latency"}),(0,r.jsx)("th",{className:"text-center p-4 text-sm font-semibold text-text-main",children:"Action"})]})}),(0,r.jsx)("tbody",{children:n?(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,r.jsx)("span",{className:"material-symbols-outlined animate-spin text-[20px]",children:"progress_activity"}),"Loading..."]})})}):0===e.length?(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:"7",className:"p-8 text-center text-text-muted",children:"No request details found"})}):e.map((e,t)=>(0,r.jsxs)("tr",{className:"border-b border-border-subtle last:border-b-0 hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,r.jsx)("td",{className:"whitespace-nowrap p-4 text-sm text-text-main",children:new Date(e.timestamp).toLocaleString()}),(0,r.jsx)("td",{className:"max-w-[260px] truncate p-4 font-mono text-sm text-text-main",children:e.model}),(0,r.jsx)("td",{className:"max-w-[180px] truncate p-4 text-sm text-text-main",children:(0,r.jsx)("span",{className:"font-medium",children:f(e.provider,S)})}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:v(e.tokens).toLocaleString()}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:j(e.tokens)>0?j(e.tokens).toLocaleString():"—"}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:b(e.tokens)>0?b(e.tokens).toLocaleString():"—"}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-main text-right font-mono",children:e.tokens?.completion_tokens?.toLocaleString()||0}),(0,r.jsx)("td",{className:"p-4 text-sm text-text-muted",children:(0,r.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,r.jsxs)("div",{children:["TTFT: ",(0,r.jsxs)("span",{className:"font-mono",children:[e.latency?.ttft||0,"ms"]})]}),(0,r.jsxs)("div",{children:["Total: ",(0,r.jsxs)("span",{className:"font-mono",children:[e.latency?.total||0,"ms"]})]})]})}),(0,r.jsx)("td",{className:"p-4 text-center",children:(0,r.jsx)(o.default,{variant:"outline",size:"sm",onClick:()=>{p(e),N(!0)},children:"Detail"})})]},`${e.id}-${t}`))})]})}),!n&&e.length>0&&(0,r.jsx)("div",{className:"border-t border-border-subtle",children:(0,r.jsx)(m,{currentPage:s.page,pageSize:s.pageSize,totalItems:s.totalItems,onPageChange:e=>{l(t=>({...t,page:e}))},onPageSizeChange:e=>{l(t=>({...t,pageSize:e,page:1}))}})})]}),(0,r.jsx)(d,{isOpen:y,onClose:()=>N(!1),title:"Request Details",width:"lg",children:u&&(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 text-sm sm:grid-cols-2",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"ID:"})," ",(0,r.jsx)("span",{className:"break-all font-mono text-text-main",children:u.id})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Timestamp:"})," ",(0,r.jsx)("span",{className:"text-text-main",children:new Date(u.timestamp).toLocaleString()})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Provider:"})," ",(0,r.jsx)("span",{className:"text-text-main font-medium",children:f(u.provider,S)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Model:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:u.model})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Status:"})," ",(0,r.jsx)("span",{className:(0,c.cn)("font-medium","success"===u.status?"text-green-600":"text-red-600"),children:u.status})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Latency:"})," ",(0,r.jsxs)("span",{className:"text-text-main font-mono",children:["TTFT ",u.latency?.ttft||0,"ms / Total ",u.latency?.total||0,"ms"]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Input Tokens:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:v(u.tokens).toLocaleString()})]}),j(u.tokens)>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Cached Tokens:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:j(u.tokens).toLocaleString()})]}),b(u.tokens)>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Cache Creation:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:b(u.tokens).toLocaleString()})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Output Tokens:"})," ",(0,r.jsx)("span",{className:"text-text-main font-mono",children:u.tokens?.completion_tokens?.toLocaleString()||0})]})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)(g,{title:"1. Client Request (Input)",defaultOpen:!0,icon:"input",children:(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:JSON.stringify(u.request,null,2)})}),u.providerRequest&&(0,r.jsx)(g,{title:"2. Provider Request (Translated)",icon:"translate",children:(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:JSON.stringify(u.providerRequest,null,2)})}),u.providerResponse&&(0,r.jsx)(g,{title:"3. Provider Response (Raw)",icon:"data_object",children:(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:"object"==typeof u.providerResponse?JSON.stringify(u.providerResponse,null,2):u.providerResponse})}),(0,r.jsxs)(g,{title:"4. Client Response (Final)",defaultOpen:!0,icon:"output",children:[u.response?.thinking&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsxs)("h4",{className:"font-semibold text-text-main mb-2 flex items-center gap-2 text-xs uppercase tracking-wide opacity-70",children:[(0,r.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"psychology"}),"Thinking Process"]}),(0,r.jsx)("pre",{className:"max-h-[200px] max-w-full overflow-auto rounded-lg border border-amber-200 bg-amber-50 p-3 font-mono text-xs text-amber-900 dark:border-amber-800 dark:bg-amber-950/30 dark:text-amber-100 sm:p-4",children:u.response.thinking})]}),(0,r.jsx)("h4",{className:"font-semibold text-text-main mb-2 text-xs uppercase tracking-wide opacity-70",children:"Content"}),(0,r.jsx)("pre",{className:"max-h-[300px] max-w-full overflow-auto rounded-lg border border-black/5 bg-surface-2 p-3 font-mono text-xs text-text-main dark:border-white/5 dark:bg-white/0 sm:p-4",children:u.response?.content||"[No content]"})]})]})]})})]})}var N=s(14051),w=s.n(N),k=s(81750),S=s(6793);s(53255);var C=s(8247);function T({data:e}){let{label:t,color:s,imageUrl:l,textIcon:n,active:i}=e,[o,c]=(0,a.useState)(!1);return(0,r.jsxs)("div",{className:"flex items-center gap-2.5 px-4 py-2.5 rounded-lg border-2 transition-all duration-300 bg-bg",style:{borderColor:i?s:"var(--color-border)",boxShadow:i?`0 0 16px ${s}40`:"none",minWidth:"150px"},children:[(0,r.jsx)(k.h7,{type:"target",position:S.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"target",position:S.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"target",position:S.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"target",position:S.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)("div",{className:"w-8 h-8 rounded-md flex items-center justify-center shrink-0",style:{backgroundColor:`${s}15`},children:o?(0,r.jsx)("span",{className:"text-sm font-bold",style:{color:s},children:n}):(0,r.jsx)("img",{src:l,alt:t,className:"w-6 h-6 rounded-sm object-contain",onError:()=>c(!0)})}),(0,r.jsx)("span",{className:"text-base font-medium truncate",style:{color:i?s:"var(--color-text)"},children:t}),i&&(0,r.jsxs)("span",{className:"relative flex h-2 w-2 shrink-0",children:[(0,r.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",style:{backgroundColor:s}}),(0,r.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2",style:{backgroundColor:s}})]})]})}function R({data:e}){return(0,r.jsxs)("div",{className:"flex items-center justify-center px-5 py-3 rounded-xl border-2 border-primary bg-primary/5 shadow-md min-w-[130px]",children:[(0,r.jsx)(k.h7,{type:"source",position:S.yX.Top,id:"top",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"source",position:S.yX.Bottom,id:"bottom",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"source",position:S.yX.Left,id:"left",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)(k.h7,{type:"source",position:S.yX.Right,id:"right",className:"!bg-transparent !border-0 !w-0 !h-0"}),(0,r.jsx)("img",{src:"/favicon.svg",alt:"ExtremeRouter",className:"w-6 h-6 mr-2"}),(0,r.jsx)("span",{className:"text-sm font-bold text-primary",children:"ExtremeRouter"}),e.activeCount>0&&(0,r.jsx)("span",{className:"ml-2 px-1.5 py-0.5 rounded-full bg-primary text-white text-xs font-bold",children:e.activeCount})]})}T.propTypes={data:w().object.isRequired},R.propTypes={data:w().object.isRequired};let q={provider:T,router:R};function M({providers:e=[],activeRequests:t=[],lastProvider:s="",errorProvider:l=""}){let n=(0,a.useMemo)(()=>t.map(e=>e.provider?.toLowerCase()).filter(Boolean).sort().join(","),[t]),i=s?.toLowerCase()||"",o=l?.toLowerCase()||"",c=(0,a.useMemo)(()=>new Set(n?n.split(","):[]),[n]),d=(0,a.useMemo)(()=>new Set(i?[i]:[]),[i]),m=(0,a.useMemo)(()=>new Set(o?[o]:[]),[o]),u=(0,a.useRef)({}),[p,h]=(0,a.useState)(0);(0,a.useEffect)(()=>{let e=u.current,t=Date.now();for(let s of c)e[s]||(e[s]=t);for(let t of Object.keys(e))c.has(t)||delete e[t]},[c]),(0,a.useEffect)(()=>{if(0===c.size)return;let e=setInterval(()=>h(e=>e+1),1e3);return()=>clearInterval(e)},[c]);let f=(0,a.useMemo)(()=>{let e=Date.now(),t=new Set;for(let s of c){let r=u.current[s];(!r||e-r<6e4)&&t.add(s)}return t},[c,p]),{nodes:g,edges:j}=(0,a.useMemo)(()=>(function(e,t,s,r){let a=e.length,l=Math.max(320,204*a/(2*Math.PI)),n=Math.max(200,.55*l);if(0===a)return{nodes:[{id:"router",type:"router",position:{x:0,y:0},data:{activeCount:0},draggable:!1}],edges:[]};let i=[],o=[];return i.push({id:"router",type:"router",position:{x:-60,y:-22},data:{activeCount:t.size},draggable:!1}),e.forEach((e,c)=>{var d,m;let u,p,h=(d=e.provider,x.Q2[d]||{color:"#6b7280",name:d}),f=t.has(e.provider?.toLowerCase()),g=!f&&s.has(e.provider?.toLowerCase()),j=!f&&r.has(e.provider?.toLowerCase()),b=`provider-${e.provider}`,v={label:(h.name!==e.provider?h.name:null)||e.nodeName||e.name||e.provider,color:h.color||"#6b7280",imageUrl:(m=e.provider,(0,C.k)(m)),textIcon:h.textIcon||(e.provider||"?").slice(0,2).toUpperCase(),active:f},y=-Math.PI/2+2*Math.PI*c/a,N=l*Math.cos(y),w=n*Math.sin(y);Math.abs(y+Math.PI/2)<Math.PI/4||Math.abs(y-3*Math.PI/2)<Math.PI/4?(u="top",p="bottom"):Math.abs(y-Math.PI/2)<Math.PI/4?(u="bottom",p="top"):N>0?(u="right",p="left"):(u="left",p="right"),i.push({id:b,type:"provider",position:{x:N-90,y:w-15},data:v,draggable:!1}),o.push({id:`e-${b}`,source:"router",sourceHandle:u,target:b,targetHandle:p,animated:f,style:(h.color,j?{stroke:"#ef4444",strokeWidth:2.5,opacity:.9}:f?{stroke:"#22c55e",strokeWidth:2.5,opacity:.9}:g?{stroke:"#f59e0b",strokeWidth:2,opacity:.7}:{stroke:"var(--color-border)",strokeWidth:1,opacity:.3})})}),{nodes:i,edges:o}})(e,f,d,m),[e,f,i,o]),b=(0,a.useMemo)(()=>e.map(e=>e.provider).sort().join(","),[e]),v=(0,a.useRef)(null),y=(0,a.useRef)(null),N={padding:.2,duration:200},w=(0,a.useCallback)(e=>{v.current=e,setTimeout(()=>e.fitView(N),50)},[]);return(0,a.useEffect)(()=>{let e=y.current;if(!e)return;let t=new ResizeObserver(()=>{v.current&&v.current.fitView(N)});return t.observe(e),()=>t.disconnect()},[]),(0,a.useEffect)(()=>{if(v.current){let e=setTimeout(()=>v.current.fitView(N),50);return()=>clearTimeout(e)}},[g.length]),(0,r.jsx)("div",{ref:y,className:"h-[320px] w-full min-w-0 overflow-hidden rounded-lg bg-surface-2/50 sm:h-[480px]",children:0===e.length?(0,r.jsx)("div",{className:"h-full flex items-center justify-center text-text-muted text-sm",children:"No providers connected"}):(0,r.jsx)(k.Gc,{nodes:g,edges:j,nodeTypes:q,fitView:!0,fitViewOptions:N,minZoom:.1,maxZoom:2,onInit:w,proOptions:{hideAttribution:!0},panOnDrag:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,preventScrolling:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,children:(0,r.jsx)(k.H2,{showInteractive:!1,className:"react-flow-controls-custom"})},b)})}M.propTypes={providers:w().arrayOf(w().shape({id:w().string,provider:w().string,name:w().string})),activeRequests:w().arrayOf(w().shape({provider:w().string,model:w().string,account:w().string})),lastProvider:w().string,errorProvider:w().string};var O=s(21742),$=s(90639),L=s(59656),z=s(97779);let D={primary:"var(--color-primary)",info:"var(--color-info)",success:"var(--color-success)",warning:"var(--color-warning)",danger:"var(--color-danger)",cyan:"var(--color-cyan)"};function P({data:e=[],color:t="primary",height:s=36,className:a=""}){if(!e||0===e.length)return(0,r.jsx)("div",{style:{height:s},className:a,"aria-hidden":!0});let l=e.map((e,t)=>({i:t,v:Number(e)||0})),n=D[t]||D.primary,i=`spark-${t}`,o=function(e){let t=e.replace(/^var\(--(.*)\)$/,"$1");try{return getComputedStyle(document.documentElement).getPropertyValue(`--${t}`).trim()||e}catch{return e}}(n);return(0,r.jsx)("div",{className:a,style:{height:s,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:l,margin:{top:2,right:0,bottom:0,left:0},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:i,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:o,stopOpacity:.35}),(0,r.jsx)("stop",{offset:"100%",stopColor:o,stopOpacity:0})]})}),(0,r.jsx)(L.h,{hide:!0,domain:["dataMin","dataMax"]}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:"v",stroke:o,strokeWidth:1.5,fill:`url(#${i})`,isAnimationActive:!1,dot:!1})]})})})}function E(e){return new Intl.NumberFormat().format(e||0)}function K(e){return`$${(e||0).toFixed(2)}`}function _(e){let t=Number(e||0);return t>=1e3?`${(t/1e3).toFixed(1)}s`:`${Math.round(t)}ms`}P.propTypes={data:w().arrayOf(w().number),color:w().oneOf(["primary","info","success","warning","danger","cyan"]),height:w().number,className:w().string};let I=(e,t)=>(e||[]).map(e=>Number(e?.[t])||0),A={primary:"bg-primary/12 text-primary ring-1 ring-primary/20",info:"bg-info/12 text-info ring-1 ring-info/20",success:"bg-success/12 text-success ring-1 ring-success/20",warning:"bg-warning/12 text-warning ring-1 ring-warning/20",cyan:"bg-cyan/12 text-cyan ring-1 ring-cyan/20"},F={primary:"text-primary",info:"text-info",success:"text-success",warning:"text-warning",cyan:"text-cyan"};function U({icon:e,color:t,label:s,value:a,sublabel:l,spark:n}){return(0,r.jsxs)(i.default,{padding:"sm",className:"flex min-w-0 flex-col gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,r.jsx)("span",{className:`flex size-9 shrink-0 items-center justify-center rounded-brand ${A[t]||A.primary}`,children:(0,r.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:e})}),(0,r.jsx)("span",{className:"truncate text-xs font-medium uppercase tracking-wide text-text-muted",children:s})]}),(0,r.jsx)("div",{className:"flex min-w-0 items-baseline gap-1",children:(0,r.jsx)("span",{className:`truncate text-2xl font-bold tracking-tight ${F[t]||F.primary}`,children:a})}),(0,r.jsx)(P,{data:n,color:t,height:32,className:"-mb-1"}),l&&(0,r.jsx)("span",{className:"truncate text-[11px] text-text-muted",children:l})]})}function W({stats:e}){let t=e?.last10Minutes||[];return(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-2 gap-3 lg:grid-cols-5 lg:gap-4",children:[(0,r.jsx)(U,{icon:"bolt",color:"primary",label:"Total Requests",value:E(e?.totalRequests),spark:I(t,"requests")}),(0,r.jsx)(U,{icon:"input",color:"info",label:"Input Tokens",value:E(e?.totalPromptTokens),spark:I(t,"promptTokens")}),(0,r.jsx)(U,{icon:"output",color:"success",label:"Output Tokens",value:E(e?.totalCompletionTokens),spark:I(t,"completionTokens")}),(0,r.jsx)(U,{icon:"cached",color:"cyan",label:"Cache Saved",value:E(e?.totalCachedTokens),spark:t.length?t.map((s,r)=>r===t.length-1&&Number(e?.totalCachedTokens)||0):[Number(e?.totalCachedTokens)||0]}),(0,r.jsx)(U,{icon:"payments",color:"warning",label:"Est. Cost",value:`~${K(e?.totalCost)}`,sublabel:"Estimated, not actual billing",spark:I(t,"cost")})]})}U.propTypes={icon:w().string.isRequired,color:w().string.isRequired,label:w().string.isRequired,value:w().string.isRequired,sublabel:w().string,spark:w().arrayOf(w().number)},W.propTypes={stats:w().object.isRequired};var Q=s(56061);function G({req:e}){let t=!e.status||"ok"===e.status||"success"===e.status,s=e.model||"unknown",a=e.provider||"—",l=Number(e.promptTokens)||0,n=Number(e.completionTokens)||0;return(0,r.jsxs)("div",{className:"flex shrink-0 flex-col gap-1 rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:`size-1.5 shrink-0 rounded-full ${t?"bg-success":"bg-danger"}`,title:t?"OK":"Error"}),(0,r.jsx)("span",{className:"max-w-[140px] truncate font-mono text-xs font-medium text-text-main",title:s,children:s})]}),(0,r.jsx)("div",{className:"flex items-center gap-1.5 text-[11px] text-text-muted",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",className:"!px-1.5",children:a})}),(0,r.jsxs)("div",{className:"flex items-center gap-2 font-mono text-[11px]",children:[(0,r.jsxs)("span",{className:"text-primary",children:[l.toLocaleString(),"↑"]}),(0,r.jsxs)("span",{className:"text-success",children:[n.toLocaleString(),"↓"]}),(0,r.jsx)("span",{className:"ml-auto whitespace-nowrap text-text-muted",children:function(e){if(!e)return"Never";let t=Math.floor((Date.now()-new Date(e).getTime())/6e4);return t<1?"Just now":t<60?`${t}m ago`:t<1440?`${Math.floor(t/60)}h ago`:new Date(e).toLocaleDateString()}(e.timestamp)})]})]})}function J({stats:e}){!function(e=3e4){let[,t]=(0,a.useState)(0);(0,a.useEffect)(()=>{let s=setInterval(()=>t(e=>e+1),e);return()=>clearInterval(s)},[e])}();let t=e?.activeRequests||[],s=(e?.recentRequests||[]).slice(0,10),l=t.reduce((e,t)=>e+(Number(t.count)||1),0)||t.length;return(0,r.jsxs)(i.default,{padding:"sm",className:"flex min-w-0 flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("span",{className:"relative flex size-2.5",children:[l>0&&(0,r.jsx)("span",{className:"absolute inline-flex size-full animate-ping rounded-full bg-success opacity-60"}),(0,r.jsx)("span",{className:`relative inline-flex size-2.5 rounded-full ${l>0?"bg-success":"bg-text-subtle"}`})]}),(0,r.jsx)("span",{className:"text-sm font-semibold text-text-main",children:l>0?`${l} active`:"No active requests"}),(0,r.jsx)("span",{className:"text-xs text-text-muted",children:"\xb7 recent activity"})]}),0===s.length?(0,r.jsx)("div",{className:"flex items-center justify-center py-3 text-sm text-text-muted",children:"No recent activity"}):(0,r.jsx)("div",{className:"-mx-1 flex gap-2 overflow-x-auto px-1 pb-1",children:s.map((e,t)=>(0,r.jsx)(G,{req:e},`${e.timestamp}-${t}`))})]})}G.propTypes={req:w().shape({status:w().string,model:w().string,provider:w().string,promptTokens:w().number,completionTokens:w().number,timestamp:w().oneOfType([w().string,w().number])}).isRequired},J.propTypes={stats:w().object};let Z={primary:"var(--color-primary)",info:"var(--color-info)",success:"var(--color-success)",warning:"var(--color-warning)",danger:"var(--color-danger)",cyan:"var(--color-cyan)",muted:"var(--color-surface-3)"};function V({segments:e=[],size:t=140,thickness:s=14,centerLabel:a,centerValue:l,className:n=""}){let i=e.reduce((e,t)=>e+(Number(t.value)||0),0),o=(t-s)/2,c=2*Math.PI*o,d=t/2,m=t/2,x=0,u=e.map((e,t)=>{let s=Number(e.value)||0,r=(i>0?s/i:0)*c,a={key:t,color:Z[e.color]||e.color||Z.muted,dash:r,gap:c-r,offset:-x};return x+=r,a});return(0,r.jsxs)("div",{className:`relative inline-flex items-center justify-center ${n}`,style:{width:t,height:t},children:[(0,r.jsxs)("svg",{width:t,height:t,className:"-rotate-90",children:[(0,r.jsx)("circle",{cx:d,cy:m,r:o,fill:"none",stroke:"var(--color-surface-2)",strokeWidth:s}),i>0&&u.map(e=>(0,r.jsx)("circle",{cx:d,cy:m,r:o,fill:"none",stroke:e.color,strokeWidth:s,strokeDasharray:`${e.dash} ${e.gap}`,strokeDashoffset:e.offset,strokeLinecap:"butt",style:{transition:"stroke-dasharray 0.4s ease, stroke-dashoffset 0.4s ease"}},e.key))]}),(void 0!==l||a)&&(0,r.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[void 0!==l&&(0,r.jsx)("span",{className:"text-xl font-bold text-text-main leading-none",children:l}),a&&(0,r.jsx)("span",{className:"mt-0.5 text-[10px] uppercase tracking-wide text-text-muted",children:a})]})]})}V.propTypes={segments:w().arrayOf(w().shape({value:w().number.isRequired,color:w().oneOf(["primary","info","success","warning","danger","cyan","muted"]),label:w().string})),size:w().number,thickness:w().number,centerLabel:w().string,centerValue:w().string,className:w().string};var X=s(99312);let B=new Set(["error","errors","failed","failure","fail","timeout","5xx","4xx"]);function H({stats:e}){let{segments:t,okCount:s,errCount:l,total:n,ratePct:o}=(0,a.useMemo)(()=>{let t=e?.statusCounts||{},s=0,r=0;for(let[e,a]of Object.entries(t)){let t=Number(a)||0;B.has(String(e).toLowerCase())?r+=t:s+=t}let a=s+r;return{segments:[{value:s,color:"success",label:"Success"},{value:r,color:"danger",label:"Error"}],okCount:s,errCount:r,total:a,ratePct:a>0?r/a*100:0}},[e]),c=e?.errorRate,d=null!=c?`${(100*c).toFixed(1)}%`:`${o.toFixed(1)}%`;return(0,r.jsx)(i.default,{title:"Success Rate",icon:"check_circle",className:"flex h-full min-w-0 flex-col",children:0===n?(0,r.jsx)("div",{className:"flex flex-1 items-center justify-center py-6",children:(0,r.jsx)(X.default,{icon:"sentiment_neutral",title:"No requests yet",description:"Request outcomes will appear here once traffic flows through.",className:"border-0 p-0"})}):(0,r.jsxs)("div",{className:"flex flex-col items-center gap-5",children:[(0,r.jsx)(V,{segments:t,size:150,thickness:16,centerValue:d,centerLabel:"error rate"}),(0,r.jsxs)("div",{className:"grid w-full grid-cols-2 gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsx)("span",{className:"size-2.5 rounded-full bg-success"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wide text-text-muted",children:"Success"}),(0,r.jsx)("div",{className:"truncate text-sm font-semibold text-text-main",children:E(s)})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsx)("span",{className:"size-2.5 rounded-full bg-danger"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wide text-text-muted",children:"Errors"}),(0,r.jsx)("div",{className:"truncate text-sm font-semibold text-text-main",children:E(l)})]})]})]})]})})}H.propTypes={stats:w().object};var Y=s(25086),ee=s(28408),et=s(32539),es=s(34430);let er=["var(--color-primary)","var(--color-cyan)","var(--color-info)","var(--color-success)","var(--color-warning)","#f472b6","#34d399","#a78bfa","var(--color-danger)"];function ea({active:e,payload:t,label:s,providerMeta:a}){if(!e||!t||!t.length)return null;let l=[...t].sort((e,t)=>(t.value||0)-(e.value||0)),n=l.reduce((e,t)=>e+(t.value||0),0);return(0,r.jsxs)("div",{className:"rounded-brand border border-border bg-panel p-2.5 text-xs shadow-[var(--shadow-elev)]",children:[(0,r.jsx)("div",{className:"mb-1 font-medium text-text-main",children:s}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[l.map(e=>{let t=a?.[e.dataKey];return(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-text-muted",children:[(0,r.jsx)("span",{className:"size-2 rounded-full",style:{backgroundColor:e.color}}),t?.name||e.dataKey]}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:(e.value||0).toLocaleString()})]},e.dataKey)}),(0,r.jsxs)("div",{className:"mt-1 flex items-center justify-between gap-3 border-t border-border-subtle pt-1 font-medium",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"Total"}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:n.toLocaleString()})]})]})]})}function el({data:e=[],providers:t=[],height:s=260}){if(!e||0===e.length||0===t.length)return(0,r.jsx)("div",{className:"flex items-center justify-center text-sm text-text-muted",style:{height:s},children:"No provider breakdown for this period"});let a={};return t.forEach((e,t)=>{a[e.id]={name:e.name||e.id,color:er[t%er.length]}}),(0,r.jsx)("div",{style:{height:s,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:e,margin:{top:8,right:8,bottom:0,left:-16},children:[(0,r.jsx)("defs",{children:t.map((e,t)=>{let s=er[t%er.length],a=`stack-grad-${t}`;return(0,r.jsxs)("linearGradient",{id:a,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:s,stopOpacity:.7}),(0,r.jsx)("stop",{offset:"100%",stopColor:s,stopOpacity:.15})]},a)})}),(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:48,tickFormatter:e=>e>=1e3?`${(e/1e3).toFixed(0)}k`:e}),(0,r.jsx)(es.m,{content:(0,r.jsx)(ea,{providerMeta:a})}),t.map((e,t)=>(0,r.jsx)(z.Gk,{type:"monotone",dataKey:e.id,name:e.name||e.id,stackId:"1",stroke:er[t%er.length],strokeWidth:1.5,fill:`url(#stack-grad-${t})`,isAnimationActive:!1},e.id))]})})})}function en(e,{initial:t=null,deps:s=[]}={}){let[r,l]=(0,a.useState)(t),[n,i]=(0,a.useState)(!0),[o,c]=(0,a.useState)(null),d=(0,a.useRef)(0);return(0,a.useEffect)(()=>{let s,r;return s=++d.current,r=!1,fetch(e).then(async e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return e.json()}).then(e=>{r||d.current!==s||(l(e??t),c(null),i(!1))}).catch(e=>{r||d.current!==s||(l(t),c(e),i(!1))}),()=>{r=!0}},[e,...s]),{data:r,loading:n,error:o}}function ei({period:e}){let{data:t,loading:s}=en(`/api/usage/chart?view=stacked&period=${e}`,{initial:null,deps:[e]}),l=(0,a.useMemo)(()=>Array.isArray(t)?t:[],[t]),n=(0,a.useMemo)(()=>(function(e){if(!e||0===e.length)return[];let t={};for(let s of e)for(let[e,r]of Object.entries(s))"label"!==e&&(t[e]=(t[e]||0)+(Number(r)||0));return Object.keys(t).sort((e,s)=>t[s]-t[e]).map(e=>({id:e,name:x.Q2[e]?.name||e}))})(l),[l]),o=l.length>0&&n.length>0;return(0,r.jsx)(i.default,{title:"Token Share by Provider",subtitle:"Stacked token volume per provider over the selected period",icon:"stacked_bar_chart",children:s?(0,r.jsx)(Y.CardSkeleton,{}):o?(0,r.jsx)(el,{data:l,providers:n,height:280}):(0,r.jsx)("div",{className:"flex items-center justify-center py-6",children:(0,r.jsx)(X.default,{icon:"stacked_bar_chart",title:"No provider breakdown",description:"No token volume recorded for this period yet.",className:"border-0 p-0"})})})}function eo({active:e,payload:t,label:s}){if(!e||!t||!t.length)return null;let a=t[0]?.payload||{};return(0,r.jsxs)("div",{className:"rounded-brand border border-border bg-panel p-2.5 text-xs shadow-[var(--shadow-elev)]",children:[(0,r.jsx)("div",{className:"mb-1 font-medium text-text-main",children:s}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"p95"}),(0,r.jsxs)("span",{className:"font-mono text-text-main",children:[(a.p95Ms||0).toLocaleString()," ms"]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"avg"}),(0,r.jsxs)("span",{className:"font-mono text-text-main",children:[(a.avgMs||0).toLocaleString()," ms"]})]}),a.samples>0&&(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4 border-t border-border-subtle pt-1 text-text-subtle",children:[(0,r.jsx)("span",{children:"samples"}),(0,r.jsx)("span",{className:"font-mono",children:a.samples})]})]})]})}function ec({data:e=[],height:t=220}){return e&&0!==e.length?(0,r.jsx)("div",{style:{height:t,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:e,margin:{top:8,right:8,bottom:0,left:-8},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"lat-p95",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"var(--color-cyan)",stopOpacity:.4}),(0,r.jsx)("stop",{offset:"100%",stopColor:"var(--color-cyan)",stopOpacity:0})]}),(0,r.jsxs)("linearGradient",{id:"lat-avg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"var(--color-primary)",stopOpacity:.3}),(0,r.jsx)("stop",{offset:"100%",stopColor:"var(--color-primary)",stopOpacity:0})]})]}),(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:44,tickFormatter:e=>e>=1e3?`${(e/1e3).toFixed(1)}s`:`${e}ms`}),(0,r.jsx)(es.m,{content:(0,r.jsx)(eo,{})}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:"p95Ms",name:"p95",stroke:"var(--color-cyan)",strokeWidth:1.5,fill:"url(#lat-p95)",isAnimationActive:!1}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:"avgMs",name:"avg",stroke:"var(--color-primary)",strokeWidth:1.5,fill:"url(#lat-avg)",isAnimationActive:!1})]})})}):(0,r.jsx)("div",{className:"flex items-center justify-center text-sm text-text-muted",style:{height:t},children:"No latency data for this period"})}function ed({period:e,stats:t}){let{data:s,loading:l}=en(`/api/usage/chart?view=latency&period=${e}`,{initial:null,deps:[e]}),n=(0,a.useMemo)(()=>Array.isArray(s)?s:[],[s]),o=(0,a.useMemo)(()=>{if(t?.latency&&(null!=t.latency.avg||null!=t.latency.p95))return{avg:t.latency.avg,p50:t.latency.p50,p95:t.latency.p95,samples:t.latency.sampleCount};let e=n.length?n[n.length-1]:null;return e?{avg:e.avgMs,p50:null,p95:e.p95Ms,samples:e.samples}:null},[t,n]),c=n.length>0;return(0,r.jsx)(i.default,{title:"Latency (avg vs p95)",subtitle:"Response time distribution over the selected period",icon:"timer",children:l?(0,r.jsx)(Y.CardSkeleton,{}):c?(0,r.jsxs)(r.Fragment,{children:[o&&(0,r.jsxs)("div",{className:"mb-4 grid grid-cols-2 gap-2 sm:grid-cols-4",children:[(0,r.jsx)(em,{label:"Avg",value:null!=o.avg?_(o.avg):"—"}),(0,r.jsx)(em,{label:"p50",value:null!=o.p50?_(o.p50):"—"}),(0,r.jsx)(em,{label:"p95",value:null!=o.p95?_(o.p95):"—",accent:!0}),(0,r.jsx)(em,{label:"Samples",value:null!=o.samples?E(o.samples):"—"})]}),(0,r.jsx)(ec,{data:n,height:240})]}):(0,r.jsx)("div",{className:"flex items-center justify-center py-6",children:(0,r.jsx)(X.default,{icon:"timer",title:"No latency data",description:"Latency samples will appear here once requests complete.",className:"border-0 p-0"})})})}function em({label:e,value:t,accent:s=!1}){return(0,r.jsxs)("div",{className:"rounded-brand border border-border-subtle bg-surface-2 px-3 py-2",children:[(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-wide text-text-muted",children:e}),(0,r.jsx)("div",{className:`truncate text-sm font-semibold ${s?"text-cyan":"text-text-main"}`,children:t})]})}el.propTypes={data:w().arrayOf(w().object),providers:w().arrayOf(w().shape({id:w().string,name:w().string})),height:w().number},ei.propTypes={period:w().string},ec.propTypes={data:w().arrayOf(w().object),height:w().number},em.propTypes={label:w().string.isRequired,value:w().string.isRequired,accent:w().bool},ed.propTypes={period:w().string,stats:w().object};var ex=s(28067);let eu=e=>new Intl.NumberFormat().format(e||0),ep=e=>`$${(e||0).toFixed(2)}`;function eh(e){if(!e)return"Never";let t=Math.floor((Date.now()-new Date(e))/6e4);return t<1?"Just now":t<60?`${t}m ago`:t<1440?`${Math.floor(t/60)}h ago`:new Date(e).toLocaleDateString()}function ef({field:e,currentSort:t,currentOrder:s}){return t!==e?(0,r.jsx)("span",{className:"ml-1 opacity-20",children:"↕"}):(0,r.jsx)("span",{className:"ml-1",children:"asc"===s?"↑":"↓"})}function eg({item:e,viewMode:t,isSummary:s=!1}){return"tokens"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.promptTokens?"—":eu(e.promptTokens)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:e.cachedTokens?eu(e.cachedTokens):"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.completionTokens?"—":eu(e.completionTokens)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right font-medium",children:eu(e.totalTokens)})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.inputCost?"—":ep(e.inputCost)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:e.cachedCost?ep(e.cachedCost):"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right text-text-muted",children:s&&void 0===e.outputCost?"—":ep(e.outputCost)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right font-medium text-warning",children:ep(e.totalCost||e.cost)})]})}function ej({title:e,columns:t,groupedData:s,tableType:l,sortBy:n,sortOrder:o,onToggleSort:c,viewMode:d,storageKey:m,renderDetailCells:x,renderSummaryCells:u,emptyMessage:p}){let[h,f]=(0,a.useState)(new Set);(0,a.useEffect)(()=>{try{let e=localStorage.getItem(m);e&&f(new Set(JSON.parse(e)))}catch(e){console.error(`Failed to load ${m}:`,e)}},[m]),(0,a.useEffect)(()=>{try{localStorage.setItem(m,JSON.stringify([...h]))}catch(e){console.error(`Failed to save ${m}:`,e)}},[h,m]);let g=(0,a.useCallback)(e=>{f(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},[]),j=(0,a.useMemo)(()=>"tokens"===d?[{field:"promptTokens",label:"Input Tokens"},{field:"cachedTokens",label:"Cached"},{field:"completionTokens",label:"Output Tokens"},{field:"totalTokens",label:"Total Tokens"}]:[{field:"promptTokens",label:"Input Cost"},{field:"cachedCost",label:"Cached Cost"},{field:"completionTokens",label:"Output Cost"},{field:"cost",label:"Total Cost"}],[d]),b=t.length+j.length;return(0,r.jsxs)(i.default,{className:"overflow-hidden",children:[(0,r.jsx)("div",{className:"p-4 border-b border-border bg-bg-subtle/50",children:(0,r.jsx)("h3",{className:"font-semibold",children:e})}),(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full text-sm text-left",children:[(0,r.jsx)("thead",{className:"bg-bg-subtle/30 text-text-muted uppercase text-xs",children:(0,r.jsxs)("tr",{children:[t.map(e=>(0,r.jsxs)("th",{className:`px-6 py-3 cursor-pointer hover:bg-bg-subtle/50 ${"right"===e.align?"text-right":""}`,onClick:()=>c(l,e.field),children:[e.label," ",(0,r.jsx)(ef,{field:e.field,currentSort:n,currentOrder:o})]},e.field)),j.map(e=>(0,r.jsxs)("th",{className:"px-6 py-3 text-right cursor-pointer hover:bg-bg-subtle/50",onClick:()=>c(l,e.field),children:[e.label," ",(0,r.jsx)(ef,{field:e.field,currentSort:n,currentOrder:o})]},e.field))]})}),(0,r.jsxs)("tbody",{className:"divide-y divide-border",children:[s.map(e=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("tr",{className:"group-summary cursor-pointer hover:bg-bg-subtle/50 transition-colors",onClick:()=>g(e.groupKey),children:[(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:`material-symbols-outlined text-[18px] text-text-muted transition-transform ${h.has(e.groupKey)?"rotate-90":""}`,children:"chevron_right"}),(0,r.jsx)("span",{className:`font-medium transition-colors ${e.summary.pending>0?"text-primary":""}`,children:e.groupKey})]})}),u(e),(0,r.jsx)(eg,{item:e.summary,viewMode:d,isSummary:!0})]}),h.has(e.groupKey)&&e.items.map(e=>(0,r.jsxs)("tr",{className:"group-detail hover:bg-bg-subtle/20 transition-colors",children:[x(e),(0,r.jsx)(eg,{item:e,viewMode:d})]},`detail-${e.key}`))]},e.groupKey)),0===s.length&&(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:b,className:"px-6 py-8 text-center text-text-muted",children:p})})]})]})})]})}ef.propTypes={field:w().string.isRequired,currentSort:w().string.isRequired,currentOrder:w().string.isRequired},eg.propTypes={item:w().object.isRequired,viewMode:w().string.isRequired,isSummary:w().bool},ej.propTypes={title:w().string.isRequired,columns:w().arrayOf(w().shape({field:w().string.isRequired,label:w().string.isRequired,align:w().string})).isRequired,groupedData:w().array.isRequired,tableType:w().string.isRequired,sortBy:w().string.isRequired,sortOrder:w().string.isRequired,onToggleSort:w().func.isRequired,viewMode:w().string.isRequired,storageKey:w().string.isRequired,renderDetailCells:w().func.isRequired,renderSummaryCells:w().func.isRequired,emptyMessage:w().string.isRequired};let eb=[{value:"byModel",label:"Model",groupKey:"rawModel",storageKey:"ov-models"},{value:"byAccount",label:"Account",groupKey:"accountName",storageKey:"ov-accounts"},{value:"byApiKey",label:"API Key",groupKey:"keyName",storageKey:"ov-apikeys"},{value:"byEndpoint",label:"Endpoint",groupKey:"endpoint",storageKey:"ov-endpoints"}],ev=[{value:"tokens",label:"Tokens"},{value:"costs",label:"Cost"}],ey={byModel:[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],byAccount:[{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"accountName",label:"Account"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],byApiKey:[{field:"keyName",label:"API Key Name"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}],byEndpoint:[{field:"endpoint",label:"Endpoint"},{field:"rawModel",label:"Model"},{field:"provider",label:"Provider"},{field:"requests",label:"Requests",align:"right"},{field:"lastUsed",label:"Last Used",align:"right"}]},eN={byModel:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})},byAccount:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.accountName||(e.connectionId?`Account ${String(e.connectionId).slice(0,8)}…`:"Unknown")}),(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})},byApiKey:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-medium",children:e.keyName||"Unknown Key"}),(0,r.jsx)("td",{className:"px-6 py-3",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})},byEndpoint:{detail:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 font-mono text-sm font-medium",children:e.endpoint}),(0,r.jsx)("td",{className:"px-6 py-3",children:e.rawModel}),(0,r.jsx)("td",{className:"px-6 py-3",children:(0,r.jsx)(Q.default,{variant:"default",size:"sm",children:e.provider})}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.lastUsed)})]}),summary:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-text-muted",children:"—"}),(0,r.jsx)("td",{className:"px-6 py-3 text-right",children:eu(e.summary.requests)}),(0,r.jsx)("td",{className:"px-6 py-3 text-right whitespace-nowrap text-text-muted",children:eh(e.summary.lastUsed)})]})}},ew={byModel:"No model usage recorded yet.",byAccount:"No account usage recorded yet.",byApiKey:"No API key usage recorded yet.",byEndpoint:"No endpoint usage recorded yet."};function ek({stats:e}){let[t,s]=(0,a.useState)("byModel"),[l,n]=(0,a.useState)("tokens"),[i,o]=(0,a.useState)("rawModel"),[c,d]=(0,a.useState)("asc"),m=eb.find(e=>e.value===t),x=(0,a.useMemo)(()=>{var s;return e&&m?function(e,t){if(!Array.isArray(e))return[];let s={};for(let r of e){let e=r[t]||`Unknown ${t}`;s[e]||(s[e]={groupKey:e,summary:{requests:0,promptTokens:0,completionTokens:0,cachedTokens:0,totalTokens:0,cost:0,inputCost:0,cachedCost:0,outputCost:0,lastUsed:null},items:[]});let a=s[e].summary;a.requests+=r.requests||0,a.promptTokens+=r.promptTokens||0,a.completionTokens+=r.completionTokens||0,a.cachedTokens+=r.cachedTokens||0,a.totalTokens+=r.totalTokens||0,a.cost+=r.cost||0,a.inputCost+=r.inputCost||0,a.cachedCost+=r.cachedCost||0,a.outputCost+=r.outputCost||0,r.lastUsed&&(!a.lastUsed||new Date(r.lastUsed)>new Date(a.lastUsed))&&(a.lastUsed=r.lastUsed),s[e].items.push(r)}return Object.values(s)}((s=e[t],Object.entries(s||{}).map(([e,t])=>{let s=(t.promptTokens||0)+(t.completionTokens||0),r=t.cost||0,a=t.cachedTokens||0,l=Math.max(0,(t.promptTokens||0)-a),n=s>0?(t.completionTokens||0)*(r/s):0;return{...t,key:e,totalTokens:s,totalCost:r,inputCost:s>0?r/s*l:0,cachedCost:s>0?r/s*a:0,outputCost:n}}).sort((e,t)=>{let s=e[i],r=t[i];return("string"==typeof s&&(s=s.toLowerCase()),"string"==typeof r&&(r=r.toLowerCase()),s<r)?"asc"===c?-1:1:s>r?"asc"===c?1:-1:0})),m.groupKey):[]},[e,t,m,i,c]),u=(0,a.useCallback)((e,t)=>{o(e=>e===t?(d(e=>"asc"===e?"desc":"asc"),e):(d("asc"),t))},[]),p=(0,a.useCallback)(e=>{s(e);let t=eb.find(t=>t.value===e);o(t?.groupKey||"rawModel"),d("asc")},[]),h=eN[t],f=eb.find(e=>e.value===t);return(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsx)(ex.default,{options:eb.map(e=>({value:e.value,label:e.label})),value:t,onChange:p,size:"sm",className:"overflow-x-auto"}),(0,r.jsx)(ex.default,{options:ev,value:l,onChange:n,size:"sm"})]}),(0,r.jsx)("div",{className:"min-w-0",children:(0,r.jsx)(ej,{title:`Usage by ${f?.label||"Dimension"}`,columns:ey[t],groupedData:x,tableType:t,sortBy:i,sortOrder:c,onToggleSort:u,viewMode:l,storageKey:m?.storageKey||"ov-default",renderDetailCells:h.detail,renderSummaryCells:h.summary,emptyMessage:ew[t]})})]})}function eS({period:e="7d"}){let[t,s]=(0,a.useState)(null),[l,i]=(0,a.useState)(!0);if((0,a.useEffect)(()=>{let t=!1;return(async()=>{try{let r=await fetch(`/api/usage/retry-stats?period=${e}`,{cache:"no-store"});if(r.ok){let e=await r.json();t||s(e)}}catch{}t||i(!1)})(),()=>{t=!0}},[e]),l)return(0,r.jsx)(n.Zp,{children:(0,r.jsx)("div",{className:"h-24 animate-pulse rounded bg-sidebar"})});if(!t||0===t.totalRequests)return(0,r.jsx)(n.Zp,{children:(0,r.jsxs)("div",{className:"flex items-center gap-3 py-4",children:[(0,r.jsx)("span",{className:"material-symbols-outlined text-text-muted",children:"replay"}),(0,r.jsx)("span",{className:"text-sm text-text-muted",children:"No retry data for this period."})]})});let o=Math.max(...t.byProvider.map(e=>e.retries),1);return(0,r.jsxs)(n.Zp,{children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-sm font-semibold text-text-main",children:"Retry Activity"}),(0,r.jsx)("span",{className:"text-xs text-text-muted",children:e})]}),(0,r.jsxs)("div",{className:"mb-4 grid grid-cols-3 gap-3",children:[(0,r.jsxs)("div",{className:"rounded-lg bg-surface-2 px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Retried Requests"}),(0,r.jsx)("p",{className:"font-mono text-lg font-bold text-text-main",children:t.retriedRequests})]}),(0,r.jsxs)("div",{className:"rounded-lg bg-surface-2 px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Total Retries"}),(0,r.jsx)("p",{className:"font-mono text-lg font-bold text-text-main",children:t.totalRetries})]}),(0,r.jsxs)("div",{className:"rounded-lg bg-surface-2 px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Retry Rate"}),(0,r.jsxs)("p",{className:`font-mono text-lg font-bold ${t.retryRate>10?"text-warning":"text-success"}`,children:[t.retryRate,"%"]})]})]}),t.byProvider.length>0&&(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("p",{className:"text-[10px] uppercase tracking-wide text-text-muted",children:"Top Providers by Retries"}),t.byProvider.slice(0,5).map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{className:"w-28 truncate text-xs text-text-main",children:e.provider}),(0,r.jsx)("div",{className:"flex-1 overflow-hidden rounded-full bg-surface-2",children:(0,r.jsx)("div",{className:"h-2 rounded-full bg-warning/60 transition-all",style:{width:`${e.retries/o*100}%`}})}),(0,r.jsx)("span",{className:"w-8 text-right font-mono text-xs text-text-muted",children:e.retries})]},e.provider))]})]})}ek.propTypes={stats:w().object,period:w().string};var eC=s(48035),eT=s(46357);function eR({active:e,payload:t,label:s}){if(!e||!t||!t.length)return null;let a=t[0]?.payload||{},l=(a.ok||0)+(a.error||0),n=l>0?(a.error/l*100).toFixed(1):"0.0";return(0,r.jsxs)("div",{className:"rounded-brand border border-border bg-panel p-2.5 text-xs shadow-[var(--shadow-elev)]",children:[(0,r.jsx)("div",{className:"mb-1 font-medium text-text-main",children:s}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-text-muted",children:[(0,r.jsx)("span",{className:"size-2 rounded-full bg-success"})," OK"]}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:(a.ok||0).toLocaleString()})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-text-muted",children:[(0,r.jsx)("span",{className:"size-2 rounded-full bg-danger"})," Error"]}),(0,r.jsx)("span",{className:"font-mono text-text-main",children:(a.error||0).toLocaleString()})]}),(0,r.jsxs)("div",{className:"mt-1 flex items-center justify-between gap-4 border-t border-border-subtle pt-1",children:[(0,r.jsx)("span",{className:"text-text-muted",children:"error rate"}),(0,r.jsxs)("span",{className:"font-mono font-medium text-danger",children:[n,"%"]})]})]})]})}function eq({data:e=[],height:t=180}){return e&&0!==e.length?(0,r.jsx)("div",{style:{height:t,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)(eC.E,{data:e,margin:{top:8,right:8,bottom:0,left:-16},children:[(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:32,allowDecimals:!1}),(0,r.jsx)(es.m,{content:(0,r.jsx)(eR,{}),cursor:{fill:"var(--color-surface-2)",opacity:.5}}),(0,r.jsx)(eT.yP,{dataKey:"ok",stackId:"a",name:"OK",fill:"var(--color-success)",fillOpacity:.6,radius:[0,0,0,0],isAnimationActive:!1}),(0,r.jsx)(eT.yP,{dataKey:"error",stackId:"a",name:"Error",fill:"var(--color-danger)",fillOpacity:.85,radius:[2,2,0,0],isAnimationActive:!1})]})})}):(0,r.jsx)("div",{className:"flex items-center justify-center text-sm text-text-muted",style:{height:t},children:"No request data for this period"})}function eM(e){let t=x.Q2[e];return!t?.serviceKinds||t.serviceKinds.includes("llm")}eq.propTypes={data:w().arrayOf(w().object),height:w().number};let eO=[{value:"tokens",label:"Tokens"},{value:"cost",label:"Cost"},{value:"latency",label:"Latency"},{value:"errors",label:"Errors"}];function e$({data:e,dataKey:t,color:s}){let a=`main-${t}`,l=`var(--color-${s})`;return e&&e.some(e=>(Number(e?.[t])||0)>0)?(0,r.jsx)("div",{style:{height:260,width:"100%"},children:(0,r.jsx)(O.u,{width:"100%",height:"100%",children:(0,r.jsxs)($.Q,{data:e,margin:{top:8,right:8,bottom:0,left:-8},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:a,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:l,stopOpacity:.3}),(0,r.jsx)("stop",{offset:"100%",stopColor:l,stopOpacity:0})]})}),(0,r.jsx)(ee.d,{strokeDasharray:"3 3",stroke:"var(--color-border)",strokeOpacity:.4,vertical:!1}),(0,r.jsx)(et.W,{dataKey:"label",tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,minTickGap:16}),(0,r.jsx)(L.h,{tick:{fontSize:10,fill:"var(--color-text-muted)"},tickLine:!1,axisLine:!1,width:48,tickFormatter:e=>"cost"===t?K(e):e>=1e3?`${(e/1e3).toFixed(0)}k`:String(e)}),(0,r.jsx)(es.m,{contentStyle:{backgroundColor:"var(--color-panel)",border:"1px solid var(--color-border-subtle)",borderRadius:"10px",fontSize:"12px"},formatter:e=>"cost"===t?[K(e),"Cost"]:[E(e),"Tokens"]}),(0,r.jsx)(z.Gk,{type:"monotone",dataKey:t,stroke:l,strokeWidth:2,fill:`url(#${a})`,dot:!1,isAnimationActive:!1})]})})}):(0,r.jsx)("div",{className:"flex h-[260px] items-center justify-center text-sm text-text-muted",children:"No data for this period"})}function eL({period:e}){let[t,s]=(0,a.useState)(null),[l,i]=(0,a.useState)(!0),[o,c]=(0,a.useState)([]),[d,m]=(0,a.useState)("tokens"),{data:u,loading:p}=en(`/api/usage/chart?view=${d}&period=${e}`,{initial:null,deps:[d,e]}),h=(0,a.useRef)(!1),f=(0,a.useRef)(0);(0,a.useEffect)(()=>{let e=!1;return Promise.all([fetch("/api/providers").then(e=>e.ok?e.json():null).catch(()=>null),fetch("/api/provider-nodes").then(e=>e.ok?e.json():null).catch(()=>null)]).then(([t,s])=>{if(e)return;let r={};for(let e of s?.nodes||[])r[e.id]=e.name;let a=new Set;c([...(t?.connections||[]).filter(e=>!1!==e.isActive&&eM(e.provider)&&!a.has(e.provider)&&a.add(e.provider)).map(e=>({...e,nodeName:r[e.provider]||null})),...Object.values(x.IS).filter(e=>e.noAuth&&!a.has(e.id)&&eM(e.id)).map(e=>({provider:e.id,name:e.name}))])}).catch(()=>{}),()=>{e=!0}},[]),(0,a.useEffect)(()=>{let t=++f.current,r=!1;return fetch(`/api/usage/stats?period=${e}`).then(e=>e.ok?e.json():null).then(e=>{r||f.current!==t||(e&&(h.current=!0,s(t=>({...t,...e}))),i(!1))}).catch(()=>{r||f.current!==t||i(!1)}),()=>{r=!0}},[e]),(0,a.useEffect)(()=>{let t=new EventSource(`/api/usage/stream?period=${e}`);return t.onmessage=e=>{try{let t=JSON.parse(e.data);s(e=>e?{...e,activeRequests:t.activeRequests??e.activeRequests,recentRequests:t.recentRequests??e.recentRequests,errorProvider:t.errorProvider??e.errorProvider,pending:t.pending??e.pending}:e),h.current&&i(!1)}catch{}},t.onerror=()=>{h.current&&i(!1)},()=>t.close()},[e]);let g=(0,a.useCallback)(()=>{if(p||!u)return(0,r.jsx)(n.Qv,{});if(!u.length)return(0,r.jsx)("div",{className:"flex h-[260px] items-center justify-center",children:(0,r.jsx)(n.pp,{icon:"show_chart",title:"No chart data",description:"No requests recorded for this view in the selected period.",className:"border-0 p-0"})});switch(d){case"tokens":return(0,r.jsx)(e$,{data:u,dataKey:"tokens",color:"primary"});case"cost":return(0,r.jsx)(e$,{data:u,dataKey:"cost",color:"warning"});case"latency":return(0,r.jsx)(ec,{data:u,height:260});case"errors":return(0,r.jsx)(eq,{data:u,height:260});default:return null}},[u,p,d]),j=(0,a.useMemo)(()=>t?.recentRequests?.[0]?.provider||"",[t]);return l&&!t?(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-4",children:[(0,r.jsx)("div",{className:"grid min-w-0 grid-cols-2 gap-3 lg:grid-cols-5 lg:gap-4",children:Array.from({length:5}).map((e,t)=>(0,r.jsx)(n.Qv,{},t))}),(0,r.jsx)(n.Qv,{}),(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 lg:grid-cols-[minmax(0,2fr)_minmax(280px,1fr)]",children:[(0,r.jsx)(n.Qv,{}),(0,r.jsx)(n.Qv,{})]})]}):t?(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-4 lg:gap-6",children:[(0,r.jsx)(W,{stats:t}),(0,r.jsx)(J,{stats:t}),(0,r.jsxs)("div",{className:"grid min-w-0 grid-cols-1 gap-4 lg:grid-cols-[minmax(0,2fr)_minmax(300px,1fr)] lg:gap-6",children:[(0,r.jsx)(n.Zp,{title:"Usage Trend",icon:"monitoring",action:(0,r.jsx)(n.Iz,{options:eO,value:d,onChange:m,size:"sm"}),children:g()}),(0,r.jsx)(H,{stats:t})]}),(0,r.jsx)(ei,{period:e}),(0,r.jsx)(ed,{period:e,stats:t}),(0,r.jsx)(eS,{period:e}),(0,r.jsx)(ek,{stats:t,period:e}),(0,r.jsx)(n.Zp,{title:"Provider Topology",subtitle:"Live routing state across connected providers",icon:"hub",padding:"none",children:(0,r.jsx)("div",{className:"px-5 pb-5",children:(0,r.jsx)(M,{providers:o,activeRequests:t.activeRequests||[],lastProvider:j,errorProvider:t.errorProvider||""})})})]}):(0,r.jsx)(n.pp,{icon:"cloud_off",title:"Couldn't load usage",description:"We failed to fetch usage statistics. Please try again."})}e$.propTypes={data:w().arrayOf(w().object),dataKey:w().string.isRequired,color:w().string.isRequired},eL.propTypes={period:w().string};let ez=[{value:"all",label:"All",icon:"subject"},{value:"ok",label:"OK",icon:"check_circle"},{value:"errors",label:"Errors",icon:"error"}],eD=new Intl.NumberFormat,eP=e=>eD.format(e||0),eE=e=>`${e.timestamp??""}|${e.model??""}|${e.provider??""}`;function eK(){let[e,t]=(0,a.useState)([]),[s,l]=(0,a.useState)(!1),[i,o]=(0,a.useState)("all"),[d,m]=(0,a.useState)(""),[x,u]=(0,a.useState)(()=>Date.now());(0,a.useEffect)(()=>{let e=new EventSource("/api/usage/stream");return e.onopen=()=>l(!0),e.onerror=()=>l(!1),e.onmessage=e=>{try{let s=JSON.parse(e.data),r=Array.isArray(s.recentRequests)?s.recentRequests:[];if(0===r.length)return;t(e=>{let t=new Set(e.map(eE)),s=r.filter(e=>!t.has(eE(e)));return 0===s.length?e:[...s,...e].sort((e,t)=>new Date(t.timestamp).getTime()-new Date(e.timestamp).getTime()).slice(0,100)})}catch{}},()=>e.close()},[]),(0,a.useEffect)(()=>{let e=setInterval(()=>u(Date.now()),1e3);return()=>clearInterval(e)},[]);let p=(0,a.useMemo)(()=>{let t=d.trim().toLowerCase();return e.filter(e=>{let s,r;return("ok"!==i||!!(!(s=e.status)||"ok"===s))&&("errors"!==i||!!(r=e.status)&&"ok"!==r)&&(!t||!!`${e.model??""} ${e.provider??""}`.toLowerCase().includes(t))&&!0})},[e,i,d]);return(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)(n.Zp,{padding:"sm",children:(0,r.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,r.jsx)("span",{className:(0,c.cn)("size-2 rounded-full",s?"bg-success animate-pulse":"bg-warning")}),(0,r.jsx)("span",{className:(0,c.cn)("font-semibold",s?"text-success":"text-warning"),children:s?"Live":"Reconnecting"}),(0,r.jsxs)("span",{className:"text-xs text-text-muted",children:["\xb7 ",e.length,"/",100," buffered"]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,r.jsx)(n.Iz,{options:ez,value:i,onChange:o,size:"sm"}),(0,r.jsx)(n.pd,{icon:"search",placeholder:"Filter by model or provider",value:d,onChange:e=>m(e.target.value),className:"sm:w-64"})]})]})}),(0,r.jsx)(n.Zp,{padding:"none",className:"overflow-hidden",children:0===p.length?(0,r.jsx)("div",{className:"p-4",children:(0,r.jsx)(n.pp,{icon:0===e.length?"history":"search_off",title:0===e.length?"No requests yet":"No matching requests",description:0===e.length?"Live requests will appear here.":"Try adjusting your filters or search."})}):(0,r.jsxs)("div",{className:"max-h-[600px] overflow-y-auto",children:[(0,r.jsxs)("div",{className:"sticky top-0 z-10 grid grid-cols-[4.5rem_1fr_auto] items-center gap-3 border-b border-border-subtle bg-panel/95 px-4 py-2 text-[11px] font-semibold uppercase tracking-wide text-text-subtle backdrop-blur sm:grid-cols-[4.5rem_1fr_6rem_6rem_5rem_1.25rem]",children:[(0,r.jsx)("span",{children:"When"}),(0,r.jsx)("span",{children:"Model"}),(0,r.jsx)("span",{className:"hidden text-right sm:block",children:"In"}),(0,r.jsx)("span",{className:"hidden text-right sm:block",children:"Out"}),(0,r.jsx)("span",{className:"hidden sm:block",children:"Cache"}),(0,r.jsx)("span",{className:"text-right","aria-hidden":!0})]}),(0,r.jsx)("ul",{role:"list",className:"divide-y divide-border-subtle",children:p.map(e=>{let t,s=!(t=e.status)||"ok"===t,a=(e.cachedTokens??0)>0;return(0,r.jsxs)("li",{className:"fade-in grid grid-cols-[4.5rem_1fr_auto] items-center gap-3 px-4 py-2.5 transition-colors hover:bg-surface-2/70 sm:grid-cols-[4.5rem_1fr_6rem_6rem_5rem_1.25rem]",children:[(0,r.jsx)("span",{className:"truncate font-mono text-xs text-text-muted tabular-nums",title:e.timestamp?new Date(e.timestamp).toLocaleString():void 0,children:function(e,t){if(!e)return"—";let s=new Date(e).getTime();if(Number.isNaN(s))return"—";let r=t-s;return r<1e4?"just now":r<6e4?`${Math.floor(r/1e3)}s ago`:r<36e5?`${Math.floor(r/6e4)}m ago`:r<864e5?`${Math.floor(r/36e5)}h ago`:new Date(s).toLocaleTimeString()}(e.timestamp,x)}),(0,r.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,r.jsx)("span",{className:"truncate text-sm font-medium text-text-main",title:e.model,children:e.model||"—"}),e.provider&&(0,r.jsx)(n.Ex,{variant:"default",size:"sm",className:"hidden shrink-0 sm:inline-flex",children:e.provider})]}),(0,r.jsxs)("span",{className:"hidden text-right font-mono text-xs text-primary tabular-nums sm:block",children:["↑ ",eP(e.promptTokens)]}),(0,r.jsxs)("span",{className:"hidden text-right font-mono text-xs text-success tabular-nums sm:block",children:["↓ ",eP(e.completionTokens)]}),(0,r.jsx)("span",{className:"hidden sm:block",children:a?(0,r.jsx)(n.Ex,{variant:"cyan",size:"sm",children:"cached"}):(0,r.jsx)("span",{className:"text-text-subtle",children:"—"})}),(0,r.jsx)("span",{className:"flex justify-end",children:(0,r.jsx)("span",{className:(0,c.cn)("size-2 rounded-full",s?"bg-success":"bg-danger"),role:"img","aria-label":s?"OK":"Error",title:s?"OK":e.status||"Error"})})]},eE(e))})})]})})]})}let e_=[{value:"today",label:"Today"},{value:"24h",label:"24h"},{value:"7d",label:"7D"},{value:"30d",label:"30D"},{value:"60d",label:"60D"},{value:"all",label:"All"}],eI=[{value:"overview",label:"Overview"},{value:"logs",label:"Logs"},{value:"details",label:"Details"}];function eA(){return(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(n.Qv,{}),children:(0,r.jsx)(eF,{})})}function eF(){let e=(0,l.useSearchParams)(),t=(0,l.useRouter)(),[s,i]=(0,a.useState)("today"),o=e.get("tab"),c=o&&["overview","logs","details"].includes(o)?o:"overview";return(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-6",children:[(0,r.jsx)(n.zY,{title:"Usage",description:"Requests, analytics, latency, and live activity",icon:"bar_chart"}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsx)(n.Iz,{options:eI,value:c,onChange:s=>{if(s===c)return;let r=new URLSearchParams(e);r.set("tab",s),t.push(`/dashboard/usage?${r.toString()}`,{scroll:!1})},className:"w-full sm:w-auto"}),"overview"===c&&(0,r.jsx)(n.Iz,{options:e_,value:s,onChange:i,size:"sm",className:"w-full sm:w-auto"})]}),"overview"===c&&(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(n.Qv,{}),children:(0,r.jsx)(eL,{period:s})}),"logs"===c&&(0,r.jsx)(eK,{}),"details"===c&&(0,r.jsx)(y,{})]})}},50992:(e,t,s)=>{Promise.resolve().then(s.bind(s,17385))}},e=>{e.O(0,[2574,3862,27,1636,8105,705,1321,5497,8441,3794,7358],()=>e(e.s=50992)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9305],{96888:(e,s,n)=>{Promise.resolve().then(n.bind(n,96748)),Promise.resolve().then(n.bind(n,56319)),Promise.resolve().then(n.bind(n,56061)),Promise.resolve().then(n.bind(n,92542)),Promise.resolve().then(n.bind(n,29366)),Promise.resolve().then(n.bind(n,84588)),Promise.resolve().then(n.bind(n,40197)),Promise.resolve().then(n.bind(n,45455)),Promise.resolve().then(n.bind(n,30815)),Promise.resolve().then(n.bind(n,73579)),Promise.resolve().then(n.bind(n,99312)),Promise.resolve().then(n.bind(n,92173)),Promise.resolve().then(n.bind(n,95088)),Promise.resolve().then(n.bind(n,17729)),Promise.resolve().then(n.bind(n,80752)),Promise.resolve().then(n.bind(n,6587)),Promise.resolve().then(n.bind(n,23936)),Promise.resolve().then(n.bind(n,11910)),Promise.resolve().then(n.bind(n,55807)),Promise.resolve().then(n.bind(n,3544)),Promise.resolve().then(n.bind(n,61500)),Promise.resolve().then(n.bind(n,62899)),Promise.resolve().then(n.bind(n,94230)),Promise.resolve().then(n.bind(n,21931)),Promise.resolve().then(n.bind(n,91450)),Promise.resolve().then(n.bind(n,7648)),Promise.resolve().then(n.bind(n,25086)),Promise.resolve().then(n.bind(n,28815)),Promise.resolve().then(n.bind(n,28058)),Promise.resolve().then(n.bind(n,81127)),Promise.resolve().then(n.bind(n,72908)),Promise.resolve().then(n.bind(n,67968)),Promise.resolve().then(n.bind(n,4823)),Promise.resolve().then(n.bind(n,90882)),Promise.resolve().then(n.bind(n,17969)),Promise.resolve().then(n.bind(n,54960)),Promise.resolve().then(n.bind(n,51825)),Promise.resolve().then(n.bind(n,55288)),Promise.resolve().then(n.bind(n,28067)),Promise.resolve().then(n.bind(n,98)),Promise.resolve().then(n.bind(n,31852)),Promise.resolve().then(n.bind(n,21110)),Promise.resolve().then(n.bind(n,38587)),Promise.resolve().then(n.bind(n,98542)),Promise.resolve().then(n.bind(n,34325)),Promise.resolve().then(n.bind(n,97677)),Promise.resolve().then(n.bind(n,13282)),Promise.resolve().then(n.bind(n,30312))}},e=>{e.O(0,[27,8105,705,1321,5497,8441,3794,7358],()=>e(e.s=96888)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{9541:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(35949),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29099:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(9541)}])},35949:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(37356);function o({status:e,message:t}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:`${e}: ${t}`}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:e}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:t})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=29099)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{9541:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(35949),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19131:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(9541)}])},35949:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(37356);function o({status:e,message:t}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:`${e}: ${t}`}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:e}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:t})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=19131)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,174,204,335,342,387,449,501,516,543,552,626,675,684,747,748,907,931,948,992,997,1045,1067,1077,1088,1091,1110,1118,1200,1288,1337,1382,1451,1512,1566,1666,1674,1697,1704,1726,1750,1860,1898,1907,1910,1946,1949,2121,2198,2248,2284,2296,2536,2772,2785,2797,2845,2919,2922,3025,3038,3079,3351,3397,3472,3549,3562,3568,3673,3858,3883,3888,4010,4061,4245,4286,4422,4444,4612,4648,4656,4674,4761,4831,4896,4993,5018,5107,5170,5177,5211,5226,5297,5466,5616,5637,5685,5745,5747,5845,5922,6091,6107,6121,6268,6319,6463,6478,6479,6517,6529,6580,6594,6740,6743,6819,6919,6988,7131,7158,7231,7241,7302,7311,7429,7445,7473,7508,7520,7751,7758,7824,7851,8026,8095,8167,8207,8246,8255,8264,8375,8453,8489,8573,8648,8658,8736,8791,8814,8835,8870,8889,8948,8974,8975,9027,9033,9036,9056,9069,9088,9141,9199,9321,9461,9678,9709,9792,9865,9925],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);